diff --git a/samples/angular-media-recorder/README.md b/samples/angular-media-recorder/README.md deleted file mode 100644 index 1951498eb..000000000 --- a/samples/angular-media-recorder/README.md +++ /dev/null @@ -1,64 +0,0 @@ -# Media Recorder - -## Summary - -Sample SharePoint Framework client-side web part illustrating Video Recording using [MediaRecorder Web API](https://developer.mozilla.org/en-US/docs/Web/API/MediaRecorder). - -This is an experimental web part. Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes - -## Browser with MediaRecorder API support -![Sample SharePoint Framework client-side web part illustrating Video Recording using MediaRecorder Web API](./assets/browsersupported.gif) - -## Browser without MediaRecorder API support -![Sample SharePoint Framework client-side web part illustrating Video Recording using MediaRecorder Web API](./assets/browserunsupported.gif) - -## Applies to - -* [SharePoint Framework Developer](https://dev.office.com/sharepoint/docs/spfx/sharepoint-framework-overview) -* [Office 365 developer tenant](https://dev.office.com/sharepoint/docs/spfx/set-up-your-developer-tenant) - -## Solution - -Solution|Author(s) ---------|--------- -angular-media-recorder|Joseph Velliah (SPRIDER, @sprider) - -## Version history - -Version|Date|Comments --------|----|-------- -1.0|September 04, 2017|Initial release - -## Disclaimer -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** - ---- - -## Minimal Path to Awesome - -- clone this repo -- go to the working directory of the webpart folder in the command line run: - - npm and typings install - - npm install @types/microsoft-ajax --save-dev - - npm install @types/sharepoint --save-dev - - npm install @types/angular --save-dev - - gulp serve -- Open the workbench page in a sharepoint site (https://{yoursiteurl}/_layouts/15/workbench.aspx) -- add Media Recorder webpart and edit it - - configure the library name where you would like to save the recording/input file. - - start recording - - allow camera and mic - - stop recording - - replay video - - retry or upload the recorded video - -## Features - -This project illustrates the following concepts: -- Front/Back camera selection -- Video recording using the supported browsers -- File uploading option for the unsupported browsers -- Playback recording -- Upload files to document library - - diff --git a/samples/angular-media-recorder/assets/browsersupported.gif b/samples/angular-media-recorder/assets/browsersupported.gif deleted file mode 100644 index 4d2d9c97d..000000000 Binary files a/samples/angular-media-recorder/assets/browsersupported.gif and /dev/null differ diff --git a/samples/angular-media-recorder/assets/browserunsupported.gif b/samples/angular-media-recorder/assets/browserunsupported.gif deleted file mode 100644 index 1ed374510..000000000 Binary files a/samples/angular-media-recorder/assets/browserunsupported.gif and /dev/null differ diff --git a/samples/angular-media-recorder/config/config.json b/samples/angular-media-recorder/config/config.json deleted file mode 100644 index 7d568326d..000000000 --- a/samples/angular-media-recorder/config/config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "entries": [ - { - "entry": "./lib/webparts/mediaRecorder/MediaRecorderWebPart.js", - "manifest": "./src/webparts/mediaRecorder/MediaRecorderWebPart.manifest.json", - "outputPath": "./dist/media-recorder.bundle.js" - } - ], - "externals": {}, - "localizedResources": { - "mediaRecorderStrings": "webparts/mediaRecorder/loc/{locale}.js" - } -} diff --git a/samples/angular-media-recorder/config/copy-assets.json b/samples/angular-media-recorder/config/copy-assets.json deleted file mode 100644 index 6aca63656..000000000 --- a/samples/angular-media-recorder/config/copy-assets.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "deployCdnPath": "temp/deploy" -} diff --git a/samples/angular-media-recorder/config/deploy-azure-storage.json b/samples/angular-media-recorder/config/deploy-azure-storage.json deleted file mode 100644 index 508521d69..000000000 --- a/samples/angular-media-recorder/config/deploy-azure-storage.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "workingDir": "./temp/deploy/", - "account": "", - "container": "angular-media-recorder", - "accessKey": "" -} \ No newline at end of file diff --git a/samples/angular-media-recorder/config/package-solution.json b/samples/angular-media-recorder/config/package-solution.json deleted file mode 100644 index ee8d91ffa..000000000 --- a/samples/angular-media-recorder/config/package-solution.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "solution": { - "name": "angular-media-recorder", - "id": "ecaddd68-1036-43fb-bdbf-3cce7f764328", - "version": "1.0.0.0" - }, - "paths": { - "zippedPackage": "solution/angular-media-recorder.sppkg" - } -} diff --git a/samples/angular-media-recorder/config/serve.json b/samples/angular-media-recorder/config/serve.json deleted file mode 100644 index 087899637..000000000 --- a/samples/angular-media-recorder/config/serve.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "port": 4321, - "initialPage": "https://localhost:5432/workbench", - "https": true, - "api": { - "port": 5432, - "entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" - } -} diff --git a/samples/angular-media-recorder/config/tslint.json b/samples/angular-media-recorder/config/tslint.json deleted file mode 100644 index 1e8687a2b..000000000 --- a/samples/angular-media-recorder/config/tslint.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - // Display errors as warnings - "displayAsWarning": true, - // The TSLint task may have been configured with several custom lint rules - // before this config file is read (for example lint rules from the tslint-microsoft-contrib - // project). If true, this flag will deactivate any of these rules. - "removeExistingRules": true, - // When true, the TSLint task is configured with some default TSLint "rules.": - "useDefaultConfigAsBase": false, - // Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules - // which are active, other than the list of rules below. - "lintConfig": { - // Opt-in to Lint rules which help to eliminate bugs in JavaScript - "rules": { - "class-name": false, - "export-name": false, - "forin": false, - "label-position": false, - "member-access": true, - "no-arg": false, - "no-console": false, - "no-construct": false, - "no-duplicate-case": true, - "no-duplicate-variable": true, - "no-eval": false, - "no-function-expression": true, - "no-internal-module": true, - "no-shadowed-variable": true, - "no-switch-case-fall-through": true, - "no-unnecessary-semicolons": true, - "no-unused-expression": true, - "no-unused-imports": true, - "no-use-before-declare": true, - "no-with-statement": true, - "semicolon": true, - "trailing-comma": false, - "typedef": false, - "typedef-whitespace": false, - "use-named-parameter": true, - "valid-typeof": true, - "variable-name": false, - "whitespace": false - } - } -} \ No newline at end of file diff --git a/samples/angular-media-recorder/config/write-manifests.json b/samples/angular-media-recorder/config/write-manifests.json deleted file mode 100644 index 0a4bafb06..000000000 --- a/samples/angular-media-recorder/config/write-manifests.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "cdnBasePath": "" -} \ No newline at end of file diff --git a/samples/angular-media-recorder/gulpfile.js b/samples/angular-media-recorder/gulpfile.js deleted file mode 100644 index 7d36ddb1c..000000000 --- a/samples/angular-media-recorder/gulpfile.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -const gulp = require('gulp'); -const build = require('@microsoft/sp-build-web'); - -build.initialize(gulp); diff --git a/samples/angular-media-recorder/package.json b/samples/angular-media-recorder/package.json deleted file mode 100644 index 07dedffe9..000000000 --- a/samples/angular-media-recorder/package.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "angular-media-recorder", - "version": "0.0.1", - "private": true, - "engines": { - "node": ">=0.10.0" - }, - "dependencies": { - "@microsoft/sp-core-library": "~1.1.0", - "@microsoft/sp-webpart-base": "~1.1.1", - "@types/webpack-env": ">=1.12.1 <1.14.0", - "angular": "^1.6.6" - }, - "devDependencies": { - "@microsoft/sp-build-web": "~1.1.0", - "@microsoft/sp-module-interfaces": "~1.1.0", - "@microsoft/sp-webpart-workbench": "~1.1.0", - "@types/angular": "^1.6.32", - "@types/chai": ">=3.4.34 <3.6.0", - "@types/microsoft-ajax": "0.0.33", - "@types/mocha": ">=2.2.33 <2.6.0", - "@types/sharepoint": "^2013.1.7", - "gulp": "~3.9.1" - }, - "scripts": { - "build": "gulp bundle", - "clean": "gulp clean", - "test": "gulp test" - } -} diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/IMediaRecorderWebPartProps.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/IMediaRecorderWebPartProps.ts deleted file mode 100644 index 35903a9e9..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/IMediaRecorderWebPartProps.ts +++ /dev/null @@ -1,3 +0,0 @@ -export interface IMediaRecorderWebPartProps { - listName: string; -} diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorder.module.scss b/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorder.module.scss deleted file mode 100644 index 9193f24b5..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorder.module.scss +++ /dev/null @@ -1,43 +0,0 @@ -.mediaRecorder { - - .container { - max-width: 700px; - background-color: #29ACFF; - color: white; - } - - .mediaRecorderSection { - min-height: 100%; - max-width: 800px; - margin: 0 auto; - padding: 2rem; - display: flex; - flex-direction: column; - justify-content: space-between; - color: white; - } - - .mediaRecorderVideo { - width: 100%; - height: 100%; - } - - .mediaRecorderButton { - display: block; - width: 25%; - margin-left: auto; - margin-right: auto; - height: 3.333em; - margin-top: 1.1em; - background-color: #333; - color: white; - border: none; - font-size: 1rem; - font-weight: bold; - cursor: pointer; - display: flex; - justify-content: center; - align-items: center; - } - -} \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorderWebPart.manifest.json b/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorderWebPart.manifest.json deleted file mode 100644 index 469dbb405..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorderWebPart.manifest.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json", - - "id": "784959fa-e575-4b95-8c4c-cb6116f6aefa", - "alias": "MediaRecorderWebPart", - "componentType": "WebPart", - "version": "*", // The "*" signifies that the version should be taken from the package.json - "manifestVersion": 2, - - /** - * This property should only be set to true if it is certain that the webpart does not - * allow arbitrary scripts to be called - */ - "safeWithCustomScriptDisabled": false, - - "preconfiguredEntries": [{ - "groupId": "784959fa-e575-4b95-8c4c-cb6116f6aefa", - "group": { "default": "Under Development" }, - "title": { "default": "Media Recorder" }, - "description": { "default": "Sample SharePoint Framework client-side web part illustrating Video Recording using MediaRecorder Web API" }, - "officeFabricIconFontName": "Video", - "properties": { - "listName": null - } - }] -} diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorderWebPart.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorderWebPart.ts deleted file mode 100644 index d7d1efb1c..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/MediaRecorderWebPart.ts +++ /dev/null @@ -1,114 +0,0 @@ -import { Version } from '@microsoft/sp-core-library'; -import { - IWebPartContext, - BaseClientSideWebPart, - IPropertyPaneConfiguration, - PropertyPaneTextField -} from '@microsoft/sp-webpart-base'; -import * as strings from 'mediaRecorderStrings'; -import { IMediaRecorderWebPartProps } from './IMediaRecorderWebPartProps'; -import { SPComponentLoader } from '@microsoft/sp-loader'; -import * as angular from 'angular'; -import './app/app-module'; -import Home from './app/Home'; - -export default class MediaRecorderWebPart extends BaseClientSideWebPart { - - private $injector: ng.auto.IInjectorService; - - public constructor(context: IWebPartContext) { - super(); - } - - public render(): void { - if (this.renderedOnce === false) { - this.domElement.innerHTML = Home.templateHtml; - this.componentDidMount(); - } - - this.sendWebPartProperties(); - } - - private componentDidMount(): void { - try { - - if (!window["SP"]) { - SPComponentLoader.loadScript('/_layouts/15/init.js', { - globalExportsName: '$_global_init' - }) - .then((): Promise<{}> => { - return SPComponentLoader.loadScript('/_layouts/15/MicrosoftAjax.js', { - globalExportsName: 'Sys' - }); - }) - .then((): Promise<{}> => { - return SPComponentLoader.loadScript('/_layouts/15/SP.Core.js', { - globalExportsName: 'SP' - }); - }) - .then((): Promise<{}> => { - return SPComponentLoader.loadScript('/_layouts/15/SP.Runtime.js', { - globalExportsName: 'SP' - }); - }) - .then((): Promise<{}> => { - return SPComponentLoader.loadScript('/_layouts/15/SP.js', { - globalExportsName: 'SP' - }); - }) - .then((): void => { - this.$injector = angular.bootstrap(this.domElement, ['mediarecorderapp']); - this.sendWebPartProperties(); - }); - } - else { - this.$injector = angular.bootstrap(this.domElement, ['mediarecorderapp']); - this.sendWebPartProperties(); - } - } - catch (error) { - console.info("Error in componentDidMount():" + error); - } - } - - private sendWebPartProperties(): void { - if (this.$injector) { - this.$injector.get('$rootScope').$broadcast('configurationChanged', { - listName: this.properties.listName, - httpClient: this.context.spHttpClient, - webUrl: this.context.pageContext.web.absoluteUrl - }); - } - } - - protected get dataVersion(): Version { - return Version.parse('1.0'); - } - - protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration { - return { - pages: [ - { - header: { - description: strings.PropertyPaneDescription - }, - groups: [ - { - groupName: strings.BasicGroupName, - groupFields: [ - PropertyPaneTextField('listName', { - label: strings.ListNameFieldLabel - }) - ] - } - ] - } - ] - }; - } - - protected get disableReactivePropertyChanges(): boolean { - return true; - } - -} diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/CustomFileChange.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/app/CustomFileChange.ts deleted file mode 100644 index 8ed7becff..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/CustomFileChange.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { IFile } from "../app/IFile"; - -/*================= -| Custom Directive to read files from input control | -=================*/ - -export class CustomFileChange implements ng.IDirective { - - constructor(private $parse: ng.IParseService) { - - } - - public restrict = "A"; - - public link = (scope: ng.IScope, element: any, attrs: any) => { - - const model = this.$parse(attrs.customFileChange); - const modelSetter = model.assign; - - element.bind("change", (): void => { - scope.$apply((): void => { - const reader = new FileReader(); - - reader.onload = (event: any): void => { - const fileModel: IFile = { - fileName: element[0].files[0].name, - fileAsBuffer: event.target.result - }; - modelSetter(scope, fileModel); - }; - - reader.onerror = (event: any): void => { - console.error(event.target.error); - }; - - reader.readAsArrayBuffer(element[0].files[0]); - - }); - }); - } - - public static factory(): ng.IDirectiveFactory { - const directive = ($parse: ng.IParseService) => new CustomFileChange($parse); - directive.$inject = ['$parse']; - return directive; - } -} \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/DataService.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/app/DataService.ts deleted file mode 100644 index d84242798..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/DataService.ts +++ /dev/null @@ -1,95 +0,0 @@ -/*================= -| Service methods | -=================*/ -export interface IDataService { - uploadFile(arrayBuffer: any, fileName: string, url: any, listName: string): ng.IPromise; - getFileBuffer(file: any): ng.IPromise; - arrayBufferToBase64(buffer: any): any; -} - -export default class DataService implements IDataService { - - public static $inject: string[] = ['$q', '$http', '$log']; - - constructor(private $q: ng.IQService, private $http: ng.IHttpService, private $log: ng.ILogService) - { } - - /*================= - | Upload file to SharePoint | - =================*/ - public uploadFile(arrayBuffer: any, fileName: string, url: any, listName: string): ng.IPromise { - - const deferred: ng.IDeferred = this.$q.defer(); - - try { - var clientContext = new SP.ClientContext(url); - var oWeb = clientContext.get_web(); - var oList = oWeb.get_lists().getByTitle(listName); - var createInfo = new SP.FileCreationInformation(); - createInfo.set_content(arrayBuffer); - createInfo.set_url(fileName); - var uploadedDocument = oList.get_rootFolder().get_files().add(createInfo); - clientContext.load(uploadedDocument, 'ListItemAllFields'); - - clientContext.executeQueryAsync((sender: any, args: SP.ClientRequestSucceededEventArgs): void => { - deferred.resolve(uploadedDocument.get_listItemAllFields().get_id().toString()); - }, (sender: any, args: SP.ClientRequestFailedEventArgs): void => { - deferred.reject('Error Message - ' + args.get_message() + ' . Stack Trace - ' + args.get_stackTrace()); - }); - } - catch (err) { - deferred.reject(err); - } - - return deferred.promise; - } - - /*================= - | File Buffer for the given file | - =================*/ - public getFileBuffer(file: any): ng.IPromise { - - const deferred: ng.IDeferred = this.$q.defer(); - - try { - var reader = new FileReader(); - reader.onloadend = function (e) { - var contents: any = e.target; - deferred.resolve(contents.result); - }; - reader.onerror = function (e) { - var contents: any = e.target; - deferred.reject(contents.error); - }; - reader.readAsArrayBuffer(file); - } - catch (err) { - deferred.reject(err); - } - - return deferred.promise; - - } - - /*================= - | Convert array buffer to Base64 | - =================*/ - public arrayBufferToBase64(buffer: any): any { - - let binary = ''; - - try { - let bytes = new Uint8Array(buffer); - let len = bytes.byteLength; - for (var i = 0; i < len; i++) { - binary += String.fromCharCode(bytes[i]); - } - return binary; - } - catch (err) { - return ''; - } - } -} - - diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/Home.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/app/Home.ts deleted file mode 100644 index 848c31af0..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/Home.ts +++ /dev/null @@ -1,39 +0,0 @@ - -import styles from '../MediaRecorder.module.scss'; - -export default class Home { - public static templateHtml: string = ` -
-
-
-
- {{hctrl.message}} -
-
-
-
- Please configure this webpart -
-
-
-
- Loading... -
-
- - -
-
- - - - - - - -
-
-
-
- `; -} \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/HomeController.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/app/HomeController.ts deleted file mode 100644 index b820d7dc0..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/HomeController.ts +++ /dev/null @@ -1,354 +0,0 @@ -import { IDataService, } from "../app/DataService"; -import { IFile } from "../app/IFile"; -import styles from '../MediaRecorder.module.scss'; - -export default class HomeController { - - /*================= - | WebPart Properties | - =================*/ - private listName: string = null; - private webUrl: string = null; - - /*================= - | Controller Objects | - =================*/ - - public file: IFile; - - private fileBlob: any = null; - private currentStream: any = null; - private recordedBlobs: any = []; - private recordedBlobType: any = null; - - private message: string = null; - private vdRecorderSrc: string = null; - - private isLoading: boolean = true; - private frontCamera: boolean = true; - private mediaRecorderApi: boolean = false; - private configurationNeeded: boolean = true; - private showVideo: boolean = true; - private showStart: boolean = true; - private showStop: boolean = false; - private showUpload: boolean = false; - private showRetry: boolean = false; - private showCameraSelection: boolean = true; - - public static $inject: string[] = ['DataService', '$window', '$rootScope', '$scope']; - - constructor(private dataService: IDataService, private $window: ng.IWindowService, private $rootScope: ng.IRootScopeService, private $scope: ng.IScope) { - const hctrl: HomeController = this; - - /*================= - | Property changed event in rootScope| - =================*/ - $rootScope.$on('configurationChanged', (event: ng.IAngularEvent, args: { listName: string; webUrl: string }): void => { - hctrl.init(args.listName, args.webUrl); - }); - } - - /*================= - | View Initialization | - =================*/ - private init(propListName: string, propWebUrl: string): void { - - const hctrl: HomeController = this; - - hctrl.isLoading = true; - - hctrl.file = null; - hctrl.fileBlob = null; - hctrl.currentStream = null; - hctrl.recordedBlobs = []; - hctrl.recordedBlobType = null; - - hctrl.message = null; - hctrl.vdRecorderSrc = null; - - hctrl.frontCamera = true; - hctrl.mediaRecorderApi = false; - hctrl.configurationNeeded = true; - hctrl.showVideo = true; - hctrl.showStart = true; - hctrl.showStop = false; - hctrl.showUpload = false; - hctrl.showRetry = false; - hctrl.showCameraSelection = true; - - if (propListName != null && propListName.length > 0 && - propWebUrl != null && propWebUrl.length > 0) { - hctrl.listName = propListName; - hctrl.webUrl = propWebUrl; - hctrl.configurationNeeded = false; - } - else { - hctrl.configurationNeeded = true; - hctrl.isLoading = false; - setTimeout(function () { - hctrl.$scope.$apply(); - }, 100); - return; - } - - // show/hide relevant video upload buttons depending on browser capabilities - if ((window as any).MediaRecorder) { - hctrl.mediaRecorderApi = true; - hctrl.isLoading = false; - console.info('This browser does support the MediaRecorder API.'); - } else { - hctrl.mediaRecorderApi = false; - hctrl.isLoading = false; - console.info('This browser does not support the MediaRecorder API.'); - } - - setTimeout(function () { - hctrl.$scope.$apply(); - }, 100); - - } - - /*================= - | Start Video Recording | - =================*/ - private handleVideoRecording(event?: any): void { - - const hctrl: HomeController = this; - - try { - // First get ahold of getUserMedia, if present - // Return if browser does not implement to keep a consistent interface - if (navigator.mediaDevices.getUserMedia === undefined) { - console.info('getUserMedia is not implemented in this browser'); - return; - } - - let videoZoneElement = event.srcElement.parentElement; - let vdRecorder = videoZoneElement.querySelector('video'); - - let constraints = { - audio: true, - video: { - frameRate: { ideal: 10, max: 15 }, - facingMode: (hctrl.frontCamera ? "user" : "environment") - } - }; - - navigator.mediaDevices.getUserMedia(constraints) - .then(function (stream) { - hctrl.vdRecorderSrc = window.URL.createObjectURL(stream); - vdRecorder.src = hctrl.vdRecorderSrc; - let mediaRecorder = new (window as any).MediaRecorder(stream); - hctrl.currentStream = null; - hctrl.recordedBlobs = []; - hctrl.currentStream = stream; - mediaRecorder.start(10); - mediaRecorder.ondataavailable = function (e) { - if (e.data && e.data.size > 0) { - hctrl.recordedBlobs.push(e.data); - } - }; - - }).catch(function (err) { - console.error("The camera recording request failed with error : " + err); - }); - - hctrl.showStart = false; - hctrl.showStop = true; - hctrl.showUpload = false; - hctrl.showCameraSelection = false; - } - catch (err) { - console.error("The camera recording request failed with error : " + err); - } - } - - /*================= - | Stop Video Recording | - =================*/ - private handleVideoStop(event?: any): void { - - const hctrl: HomeController = this; - - try { - hctrl.currentStream.getTracks().forEach(function (track) { - track.stop(); - }); - - hctrl.recordedBlobType = hctrl.recordedBlobs[0].type; - hctrl.fileBlob = new Blob(hctrl.recordedBlobs, { type: hctrl.recordedBlobType }); - - let videoZoneElement = event.srcElement.parentElement; - if (videoZoneElement) { - - let vdRecorder = videoZoneElement.querySelector('video'); - if (vdRecorder) { - - if (vdRecorder) { - vdRecorder.pause(); - vdRecorder.src = ''; - vdRecorder.load(); - } - - if (hctrl.currentStream && hctrl.currentStream.stop) { - hctrl.currentStream.stop(); - } - } - - let videoPlaybackZoneElement = videoZoneElement.querySelector('playback'); - if (videoPlaybackZoneElement) { - let videoPlaybackElement = document.createElement('video'); - videoPlaybackElement.controls = true; - videoPlaybackElement.classList.add(styles.mediaRecorderVideo); - videoPlaybackElement.src = window.URL.createObjectURL(hctrl.fileBlob); - videoPlaybackZoneElement.appendChild(videoPlaybackElement); - videoPlaybackElement.play(); - } - } - } - catch (err) { - console.error("The camera stop request failed with error : " + err); - } - finally { - hctrl.currentStream = null; - hctrl.recordedBlobs = []; - hctrl.recordedBlobType = null; - hctrl.vdRecorderSrc = null; - hctrl.showVideo = false; - hctrl.showStart = false; - hctrl.showStop = false; - hctrl.showUpload = true; - hctrl.showRetry = true; - } - } - - /*================= - | Chnage Camera | - =================*/ - private cameraChange(event?: any): void { - - const hctrl: HomeController = this; - - try { - if (event.srcElement) { - if (event.srcElement.innerText == "Use Front Camera") { - event.srcElement.innerText = "Use Back Camera"; - hctrl.frontCamera = true; - - } else { - event.srcElement.innerText = "Use Front Camera"; - hctrl.frontCamera = false; - } - } - } - catch (err) { - console.error("The camera change request failed with error : " + err); - } - } - - /*================= - | Upload Recording | - =================*/ - private handleVideoUpload(event?: any): void { - - const hctrl: HomeController = this; - - hctrl.showUpload = false; - hctrl.isLoading = true; - - try { - let rand = Math.floor((Math.random() * 10000000)); - let fileName = "video_" + rand + ".webm"; - let contents = hctrl.dataService.arrayBufferToBase64(hctrl.fileBlob); - - hctrl.dataService.uploadFile(contents, fileName, hctrl.webUrl, hctrl.listName).then((itemId: string): void => { - hctrl.message = "File uploaded Id is : " + itemId + " with name " + fileName; - }).catch((err): void => { - console.error("The video upload request failed with error : " + err); - }); - - let videoZoneElement = event.srcElement.parentElement; - - if (videoZoneElement) { - let videoPlaybackZoneElement = videoZoneElement.querySelector('playback'); - - if (videoPlaybackZoneElement) { - let videoPlaybackElement = videoZoneElement.querySelector('video'); - - if (videoPlaybackElement) { - videoPlaybackElement.parentNode.removeChild(videoPlaybackElement); - } - } - } - } - catch (err) { - console.error("The video upload request failed with error : " + err); - } - finally { - hctrl.fileBlob = null; - hctrl.isLoading = false; - } - } - - /*================= - | Upload File | - =================*/ - public handleFileUpload(event?: any): void { - - const hctrl: HomeController = this; - - if (!hctrl.file) { - hctrl.message = 'Select a file to upload.'; - return; - } - - hctrl.isLoading = true; - - let fileName = hctrl.file.fileName; - let fileBuffer = hctrl.file.fileAsBuffer; - - try { - hctrl.dataService.uploadFile(fileBuffer, fileName, hctrl.webUrl, hctrl.listName).then((itemId: string): void => { - hctrl.message = "File uploaded Id is : " + itemId + " with name " + fileName; - }).catch((err): void => { - console.error("The file upload request failed with error : " + err); - }); - } - catch (err) { - console.error("The file upload request failed with error : " + err); - } - finally { - hctrl.isLoading = false; - hctrl.file = null; - } - } - - /*================= - | Retry | - =================*/ - public handleVideoRetry(event?: any): void { - - const hctrl: HomeController = this; - - try { - - let videoZoneElement = event.srcElement.parentElement; - if (videoZoneElement) { - - let videoPlaybackZoneElement = videoZoneElement.querySelector('playback'); - if (videoPlaybackZoneElement) { - - let videoPlaybackElement = videoZoneElement.querySelector('video'); - if (videoPlaybackElement) { - videoPlaybackElement.parentNode.removeChild(videoPlaybackElement); - } - } - } - - hctrl.init(hctrl.listName, hctrl.webUrl); - } - catch (err) { - console.error("The retry request failed with error : " + err); - } - } -} \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/IFile.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/app/IFile.ts deleted file mode 100644 index 209036876..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/IFile.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IFile { - fileName: string; - fileAsBuffer: ArrayBuffer; - } \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/app-module.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/app/app-module.ts deleted file mode 100644 index afbe82016..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/app/app-module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import * as angular from 'angular'; -import HomeController from './HomeController'; -import DataService from './DataService'; -import { CustomFileChange } from '../app/customFileChange'; - -const mediarecorderapp: ng.IModule = angular.module('mediarecorderapp', []); - -mediarecorderapp - .controller('HomeController', HomeController) - .directive("customFileChange", CustomFileChange.factory()) - .service('DataService', DataService); \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/loc/en-us.js b/samples/angular-media-recorder/src/webparts/mediaRecorder/loc/en-us.js deleted file mode 100644 index a66bbb5a6..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/loc/en-us.js +++ /dev/null @@ -1,7 +0,0 @@ -define([], function() { - return { - "PropertyPaneDescription": "Configurations", - "BasicGroupName": "Target", - "ListNameFieldLabel": "Library Name" - } -}); \ No newline at end of file diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/loc/mystrings.d.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/loc/mystrings.d.ts deleted file mode 100644 index d706b55d1..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/loc/mystrings.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -declare interface IMediaRecorderStrings { - PropertyPaneDescription: string; - BasicGroupName: string; - ListNameFieldLabel: string; -} - -declare module 'mediaRecorderStrings' { - const strings: IMediaRecorderStrings; - export = strings; -} diff --git a/samples/angular-media-recorder/src/webparts/mediaRecorder/tests/MediaRecorder.test.ts b/samples/angular-media-recorder/src/webparts/mediaRecorder/tests/MediaRecorder.test.ts deleted file mode 100644 index 3f88548a5..000000000 --- a/samples/angular-media-recorder/src/webparts/mediaRecorder/tests/MediaRecorder.test.ts +++ /dev/null @@ -1,9 +0,0 @@ -/// - -import { assert } from 'chai'; - -describe('MediaRecorderWebPart', () => { - it('should do something', () => { - assert.ok(true); - }); -}); diff --git a/samples/angular-media-recorder/tsconfig.json b/samples/angular-media-recorder/tsconfig.json deleted file mode 100644 index a2c78d22a..000000000 --- a/samples/angular-media-recorder/tsconfig.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "forceConsistentCasingInFileNames": true, - "module": "commonjs", - "jsx": "react", - "declaration": true, - "sourceMap": true, - "experimentalDecorators": true, - "types": [ - "es6-promise", - "es6-collections", - "webpack-env", - "microsoft-ajax", - "sharepoint" - ] - } -} diff --git a/samples/angular-media-recorder/typings/@ms/odsp.d.ts b/samples/angular-media-recorder/typings/@ms/odsp.d.ts deleted file mode 100644 index 5a2404000..000000000 --- a/samples/angular-media-recorder/typings/@ms/odsp.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Type definitions for Microsoft ODSP projects -// Project: ODSP - -/* Global definition for UNIT_TEST builds - Code that is wrapped inside an if(UNIT_TEST) {...} - block will not be included in the final bundle when the - --ship flag is specified */ -declare const UNIT_TEST: boolean; - -/* Global defintion for SPO builds */ -declare const DATACENTER: boolean; \ No newline at end of file diff --git a/samples/angular-media-recorder/typings/tsd.d.ts b/samples/angular-media-recorder/typings/tsd.d.ts deleted file mode 100644 index e7efdd728..000000000 --- a/samples/angular-media-recorder/typings/tsd.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/samples/angular-mostpopularitems/.editorconfig b/samples/angular-mostpopularitems/.editorconfig deleted file mode 100644 index 8ffcdc4ec..000000000 --- a/samples/angular-mostpopularitems/.editorconfig +++ /dev/null @@ -1,25 +0,0 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# editorconfig.org - -root = true - - -[*] - -# change these settings to your own preference -indent_style = space -indent_size = 2 - -# we recommend you to keep these unchanged -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false - -[{package,bower}.json] -indent_style = space -indent_size = 2 \ No newline at end of file diff --git a/samples/angular-mostpopularitems/.gitattributes b/samples/angular-mostpopularitems/.gitattributes deleted file mode 100644 index 212566614..000000000 --- a/samples/angular-mostpopularitems/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto \ No newline at end of file diff --git a/samples/angular-mostpopularitems/.gitignore b/samples/angular-mostpopularitems/.gitignore deleted file mode 100644 index 63c4ae010..000000000 --- a/samples/angular-mostpopularitems/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Dependency directories -node_modules - -# Build generated files -dist -lib -solution -temp -*.spapp - -# Coverage directory used by tools like istanbul -coverage - -# OSX -.DS_Store - -# Visual Studio files -.ntvs_analysis.dat -.vs -bin -obj - -# Resx Generated Code -*.resx.ts - -# Styles Generated Code -*.scss.ts diff --git a/samples/angular-mostpopularitems/.npmignore b/samples/angular-mostpopularitems/.npmignore deleted file mode 100644 index 2c93a9384..000000000 --- a/samples/angular-mostpopularitems/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -# Folders -.vscode -coverage -node_modules -sharepoint -src -temp - -# Files -*.csproj -.git* -.yo-rc.json -gulpfile.js -tsconfig.json diff --git a/samples/angular-mostpopularitems/.vscode/settings.json b/samples/angular-mostpopularitems/.vscode/settings.json deleted file mode 100644 index ab46aaa4f..000000000 --- a/samples/angular-mostpopularitems/.vscode/settings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - // The number of spaces a tab is equal to. - "editor.tabSize": 2, - - // When enabled, will trim trailing whitespace when you save a file. - "files.trimTrailingWhitespace": true, - - // Controls if the editor should automatically close brackets after opening them - "editor.autoClosingBrackets": false, - - // Configure glob patterns for excluding files and folders. - "search.exclude": { - "**/bower_components": true, - "**/node_modules": true, - "coverage": true, - "dist": true, - "lib-amd": true, - "lib": true, - "temp": true - } -} diff --git a/samples/angular-mostpopularitems/.vscode/tasks.json b/samples/angular-mostpopularitems/.vscode/tasks.json deleted file mode 100644 index 5204908d6..000000000 --- a/samples/angular-mostpopularitems/.vscode/tasks.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "0.1.0", - "command": "gulp", - "isShellCommand": true, - "showOutput": "always", - "args": [ - "--no-color" - ], - "tasks": [ - { - "taskName": "bundle", - "isBuildCommand": true, - "problemMatcher": [ - "$tsc" - ] - }, - { - "taskName": "test", - "isTestCommand": true, - "problemMatcher": [ - "$tsc" - ] - }, - { - "taskName": "serve", - "isWatching": true, - "problemMatcher": [ - "$tsc" - ] - } - ] -} diff --git a/samples/angular-mostpopularitems/.yo-rc.json b/samples/angular-mostpopularitems/.yo-rc.json deleted file mode 100644 index 1dd37090e..000000000 --- a/samples/angular-mostpopularitems/.yo-rc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@microsoft/generator-sharepoint": { - "libraryName": "angular-mostpopularitems", - "libraryId": "b6f56625-d2f4-4527-86bb-655d221a586a", - "framework": "none" - } -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/README.md b/samples/angular-mostpopularitems/README.md deleted file mode 100644 index 1cef1d2e6..000000000 --- a/samples/angular-mostpopularitems/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# Most Popular Items WebPart using Angular & ngOfficeUIFabric - -## Summary - -This web part displays the most popular items from a given site and document library URL using the SahrePoint search API. - -![Most Popular Items WebPart built using Angular and ngOfficeUIFabric](./assets/preview.png) - -## Used SharePoint Framework Version -![drop](https://img.shields.io/badge/drop-drop5-red.svg) - -## Applies to - -* [SharePoint Framework Developer Preview](https://github.com/SharePoint/sp-dev-docs/wiki) -* [Office 365 developer tenant](https://github.com/SharePoint/sp-dev-docs/wiki/Setup-SharePoint-Tenant) - -## Solution - -Solution|Author(s) ---------|--------- -angular-mostpopularitems|Joseph Velliah (SPRIDER, @sprider) - -## Version history - -Version|Date|Comments --------|----|-------- -1.0|November 10, 2016|Initial release - -## Disclaimer -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** - ---- - -## Minimal Path to Awesome - -- clone this repo -- in the command line run: - - `npm i` - - `tsd install` - - `gulp serve` - -## Features - -The Most Popular Items web part is a sample client-side web part built on the SharePoint Framework built using Angular and ngOfficeUIFabric. - -This web part illustrates the following concepts on top of the SharePoint Framework: - -- using Angular for building SharePoint Framework client-side web parts -- using ngOfficeUIFabric for styling Angular client-side web parts -- including Angular and ngOfficeUIFabric in the web part bundle -- using a newer version of ngOfficeUIFabric for styling client-side web parts -- using non-reactive web part property pane and custom properties -- using conditional rendering for one-time web part setup -- passing web part configuration to Angular and reacting to configuration changes - - \ No newline at end of file diff --git a/samples/angular-mostpopularitems/angular-mostpopularitems.njsproj b/samples/angular-mostpopularitems/angular-mostpopularitems.njsproj deleted file mode 100644 index 66879f5b8..000000000 --- a/samples/angular-mostpopularitems/angular-mostpopularitems.njsproj +++ /dev/null @@ -1,86 +0,0 @@ - - - - Debug - 2.0 - {b6f56625-d2f4-4527-86bb-655d221a586a} - - ProjectFiles - node_modules\gulp\bin\gulp.js - . - . - {3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD} - true - CommonJS - false - 11.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - serve - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - True - 0 - / - http://localhost:48022/ - False - True - http://localhost:1337 - False - - - - - - - CurrentPage - True - False - False - False - - - - - - - - - False - False - - - - - \ No newline at end of file diff --git a/samples/angular-mostpopularitems/assets/preview.png b/samples/angular-mostpopularitems/assets/preview.png deleted file mode 100644 index a46d3f9a3..000000000 Binary files a/samples/angular-mostpopularitems/assets/preview.png and /dev/null differ diff --git a/samples/angular-mostpopularitems/config/config.json b/samples/angular-mostpopularitems/config/config.json deleted file mode 100644 index cef013ab2..000000000 --- a/samples/angular-mostpopularitems/config/config.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "entries": [ - { - "entry": "./lib/webparts/mostPopularItems/MostPopularItemsWebPart.js", - "manifest": "./src/webparts/mostPopularItems/MostPopularItemsWebPart.manifest.json", - "outputPath": "./dist/most-popular-items.bundle.js" - } - ], - "externals": { - "@microsoft/sp-client-base": "node_modules/@microsoft/sp-client-base/dist/sp-client-base.js", - "@microsoft/sp-client-preview": "node_modules/@microsoft/sp-client-preview/dist/sp-client-preview.js", - "@microsoft/sp-lodash-subset": "node_modules/@microsoft/sp-lodash-subset/dist/sp-lodash-subset.js", - "office-ui-fabric-react": "node_modules/office-ui-fabric-react/dist/office-ui-fabric-react.js", - "react": "node_modules/react/dist/react.min.js", - "react-dom": "node_modules/react-dom/dist/react-dom.min.js", - "react-dom/server": "node_modules/react-dom/dist/react-dom-server.min.js" - }, - "localizedResources": { - "mostPopularItemsStrings": "webparts/mostPopularItems/loc/{locale}.js" - } -} diff --git a/samples/angular-mostpopularitems/config/deploy-azure-storage.json b/samples/angular-mostpopularitems/config/deploy-azure-storage.json deleted file mode 100644 index 8aea5a426..000000000 --- a/samples/angular-mostpopularitems/config/deploy-azure-storage.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "workingDir": "./temp/deploy/", - "account": "", - "container": "angular-mostpopularitems", - "accessKey": "" -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/config/package-solution.json b/samples/angular-mostpopularitems/config/package-solution.json deleted file mode 100644 index 92187b374..000000000 --- a/samples/angular-mostpopularitems/config/package-solution.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "solution": { - "name": "angular-mostpopularitems-client-side-solution", - "id": "b6f56625-d2f4-4527-86bb-655d221a586a", - "version": "1.0.0.0" - }, - "paths": { - "zippedPackage": "solution/angular-mostpopularitems.spapp" - } -} diff --git a/samples/angular-mostpopularitems/config/prepare-deploy.json b/samples/angular-mostpopularitems/config/prepare-deploy.json deleted file mode 100644 index 6aca63656..000000000 --- a/samples/angular-mostpopularitems/config/prepare-deploy.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "deployCdnPath": "temp/deploy" -} diff --git a/samples/angular-mostpopularitems/config/serve.json b/samples/angular-mostpopularitems/config/serve.json deleted file mode 100644 index 087899637..000000000 --- a/samples/angular-mostpopularitems/config/serve.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "port": 4321, - "initialPage": "https://localhost:5432/workbench", - "https": true, - "api": { - "port": 5432, - "entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" - } -} diff --git a/samples/angular-mostpopularitems/config/tslint.json b/samples/angular-mostpopularitems/config/tslint.json deleted file mode 100644 index bf3362c87..000000000 --- a/samples/angular-mostpopularitems/config/tslint.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - // Display errors as warnings - "displayAsWarning": true, - // The TSLint task may have been configured with several custom lint rules - // before this config file is read (for example lint rules from the tslint-microsoft-contrib - // project). If true, this flag will deactivate any of these rules. - "removeExistingRules": true, - // When true, the TSLint task is configured with some default TSLint "rules.": - "useDefaultConfigAsBase": false, - // Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules - // which are active, other than the list of rules below. - "lintConfig": { - // Opt-in to Lint rules which help to eliminate bugs in JavaScript - "rules": { - "class-name": false, - "export-name": false, - "forin": false, - "label-position": false, - "label-undefined": false, - "member-access": true, - "no-arg": false, - "no-console": false, - "no-construct": false, - "no-duplicate-case": true, - "no-duplicate-key": false, - "no-duplicate-variable": true, - "no-eval": false, - "no-function-expression": true, - "no-internal-module": true, - "no-shadowed-variable": true, - "no-switch-case-fall-through": true, - "no-unnecessary-semicolons": true, - "no-unused-expression": true, - "no-unused-imports": true, - "no-unused-variable": true, - "no-unreachable": true, - "no-use-before-declare": true, - "no-with-statement": true, - "semicolon": true, - "trailing-comma": false, - "typedef": false, - "typedef-whitespace": false, - "use-named-parameter": true, - "valid-typeof": true, - "variable-name": false, - "whitespace": false, - "prefer-const": true, - "a11y-role": true - } - } -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/config/write-manifests.json b/samples/angular-mostpopularitems/config/write-manifests.json deleted file mode 100644 index 70744e0d1..000000000 --- a/samples/angular-mostpopularitems/config/write-manifests.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - //"cdnBasePath": "" - "cdnBasePath": "https://o365jv.sharepoint.com/sites/spfx/CDN/Microsoft/SPFX/angular-mostpopularitems" -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/gulpfile.js b/samples/angular-mostpopularitems/gulpfile.js deleted file mode 100644 index 7d36ddb1c..000000000 --- a/samples/angular-mostpopularitems/gulpfile.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -const gulp = require('gulp'); -const build = require('@microsoft/sp-build-web'); - -build.initialize(gulp); diff --git a/samples/angular-mostpopularitems/package.json b/samples/angular-mostpopularitems/package.json deleted file mode 100644 index 4498fc631..000000000 --- a/samples/angular-mostpopularitems/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "angular-mostpopularitems", - "version": "0.0.1", - "private": true, - "engines": { - "node": ">=0.10.0" - }, - "dependencies": { - "@microsoft/sp-client-base": "~0.4.0", - "@microsoft/sp-client-preview": "~0.5.0", - "angular": "^1.5.8", - "ng-office-ui-fabric": "^0.12.9" - }, - "devDependencies": { - "@microsoft/sp-build-web": "~0.7.0", - "@microsoft/sp-module-interfaces": "~0.4.0", - "@microsoft/sp-webpart-workbench": "~0.5.0", - "gulp": "~3.9.1" - }, - "scripts": { - "build": "gulp bundle", - "clean": "gulp nuke", - "test": "gulp test" - } -} diff --git a/samples/angular-mostpopularitems/src/tests.js b/samples/angular-mostpopularitems/src/tests.js deleted file mode 100644 index cb4bb5cf2..000000000 --- a/samples/angular-mostpopularitems/src/tests.js +++ /dev/null @@ -1,5 +0,0 @@ -var context = require.context('.', true, /.+\.test\.js?$/); - -context.keys().forEach(context); - -module.exports = context; diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/IMostPopularItemsWebPartProps.ts b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/IMostPopularItemsWebPartProps.ts deleted file mode 100644 index ed1b2cb50..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/IMostPopularItemsWebPartProps.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IMostPopularItemsWebPartProps { - url: string; - numberOfItems: number; -} diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/LandingTemplate.ts b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/LandingTemplate.ts deleted file mode 100644 index cd390c557..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/LandingTemplate.ts +++ /dev/null @@ -1,31 +0,0 @@ -export default class LandingTemplate { - public static templateHtml: string = ` -
-
- Loading... -
-
-

Please configure this webpart.

-
- - - - - {{PopularItem.ViewsLifeTime}} - - {{PopularItem.Title}} - {{PopularItem.Author}} - {{PopularItem.LastModifiedTime | date : 'shortDate'}} - {{PopularItem.FileExtension}} - - - -
-

No records found.

-
-
-

{{error}}

-
-
- `; -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItems.module.scss b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItems.module.scss deleted file mode 100644 index 4f3799525..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItems.module.scss +++ /dev/null @@ -1,7 +0,0 @@ -.poll { - .container { - max-width: 700px; - margin: 0px auto; - box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1); - } -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItemsWebPart.manifest.json b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItemsWebPart.manifest.json deleted file mode 100644 index 0b6c91302..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItemsWebPart.manifest.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json", - - "id": "bdf201da-ca8d-4d8b-8938-7dbd25899ec1", - "componentType": "WebPart", - "version": "0.0.1", - "manifestVersion": 2, - - "preconfiguredEntries": [{ - "groupId": "bdf201da-ca8d-4d8b-8938-7dbd25899ec1", - "group": { "default": "Under Development" }, - "title": { "default": "Most Popular Items" }, - "description": { "default": "WebPart which shows most popular items from site or document library." }, - "officeFabricIconFontName": "Page", - "properties": { - "url": "https://o365jv.sharepoint.com/sites/spfx/", - "numberOfItems": 5 - } - }] -} diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItemsWebPart.ts b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItemsWebPart.ts deleted file mode 100644 index 052bcdc26..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/MostPopularItemsWebPart.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { - BaseClientSideWebPart, - IPropertyPaneSettings, - IWebPartContext, - PropertyPaneTextField, - PropertyPaneSlider -} from '@microsoft/sp-client-preview'; - -import * as angular from 'angular'; -import 'ng-office-ui-fabric'; -import ModuleLoader from '@microsoft/sp-module-loader'; -import { EnvironmentType } from '@microsoft/sp-client-base'; - -import * as strings from 'mostPopularItemsStrings'; -import { IMostPopularItemsWebPartProps } from './IMostPopularItemsWebPartProps'; -import styles from './MostPopularItems.module.scss'; -import LandingTemplate from './LandingTemplate'; - -export default class MostPopularItemsWebPart extends BaseClientSideWebPart { - - private $injector: ng.auto.IInjectorService; - - public constructor(context: IWebPartContext) { - super(context); - ModuleLoader.loadCss('https://appsforoffice.microsoft.com/fabric/2.6.1/fabric.min.css'); - ModuleLoader.loadCss('https://appsforoffice.microsoft.com/fabric/2.6.1/fabric.components.min.css'); - } - - public render(): void { - if (this.renderedOnce === false) { - this.domElement.innerHTML = LandingTemplate.templateHtml; - require('./app/controller_home.js'); - this.$injector = angular.bootstrap(this.domElement, ['app_MostPopularItems']); - } - - this.$injector.get('$rootScope').$broadcast('configurationChanged', { - url: this.properties.url, - numberOfItems: this.properties.numberOfItems - }); - } - - protected get propertyPaneSettings(): IPropertyPaneSettings { - return { - pages: [ - { - header: { - description: strings.PropertyPaneDescription - }, - groups: [ - { - groupName: strings.BasicGroupName, - groupFields: [ - PropertyPaneTextField('url', { - label: strings.UrlFieldLabel - }), - PropertyPaneSlider('numberOfItems', { - label: strings.NumberOfItemsFieldLabel, - min: 5, - max: 25, - step: 1 - }) - ] - } - ] - } - ] - }; - } - - protected get disableReactivePropertyChanges(): boolean { - return true; - } -} diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/app/controller_home.js b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/app/controller_home.js deleted file mode 100644 index 564039716..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/app/controller_home.js +++ /dev/null @@ -1,108 +0,0 @@ -var AppMostPopularItems = angular.module('app_MostPopularItems', ['officeuifabric.core', 'officeuifabric.components']); - -AppMostPopularItems.controller("controller_home", ["$rootScope", "$scope", "$http", "$location", "$window", - function ($rootScope, $scope, $http, $location, $window) { - - $scope.PopularItems = []; - $scope.isLoading = true; - $scope.url = null; - $scope.numberOfItems = 5; - $scope.needsconfig = true; - $scope.error = ''; - - $rootScope.$on('configurationChanged', function (event, args) { - - $scope.PopularItems = []; - $scope.isLoading = true; - $scope.error = ''; - - if (args.url != null && args.url.length > 0) { - $scope.url = args.url; - $scope.numberOfItems = args.numberOfItems; - - if (_spPageContextInfo.siteAbsoluteUrl == "https://wwww.contoso.com/") { - $scope.loadMockupMessages(); - } - else { - $scope.loadMessages(); - } - $scope.needsconfig = false; - $scope.$apply(); - } - else { - $scope.needsconfig = true; - $scope.$apply(); - } - }); - - $scope.loadMessages = function () { - - var endpointurl = _spPageContextInfo.siteAbsoluteUrl + "/_api/search/query?querytext='path:" + $scope.url + "'&rowlimit=500&sortlist='ViewsLifeTime:descending'"; - - $http({ - method: 'GET', - url: endpointurl, - headers: { "Accept": "application/json;odata=verbose" } - }).success(function (data, status, headers, config) { - var results = data.d.query.PrimaryQueryResult.RelevantResults.Table.Rows.results; - - if (results.length > 0) { - for (var i = 0; i < results.length; i++) { - // Note - result value index are subjected to change based on the environment - var ViewsLifeTime = 0; - var ViewsRecent = 0; - - if (results[i].Cells.results[21].Value) { - ViewsLifeTime = parseInt(results[i].Cells.results[21].Value); - } - - if (results[i].Cells.results[21].Value) { - ViewsRecent = parseInt(results[i].Cells.results[22].Value); - } - - $scope.PopularItems.push({ - Title: results[i].Cells.results[3].Value, - Path: results[i].Cells.results[6].Value, - Author: results[i].Cells.results[4].Value, - Write: results[i].Cells.results[8].Value, - LastModifiedTime: results[i].Cells.results[9].Value, - FileExtension: results[i].Cells.results[18].Value, - ViewsLifeTime: ViewsLifeTime, - ViewsRecent: ViewsRecent - }); - } - } - - $scope.isLoading = false; - - }).error(function (data, status, headers, config) { - $scope.isLoading = false; - $scope.error = 'Unable to load the details.'; - }); - }; - - $scope.loadMockupMessages = function () { - - $scope.PopularItems = [ - { - Title: 'Sample', - Path: 'Sample Status', - Author: 'Joseph Velliah', - Write: '2015-08-12T07:00:00Z', - LastModifiedTime: '2016-08-12T07:00:00Z', - FileExtension: 'aspx', - ViewsLifeTime: 200, - ViewsRecent: 30 - } - ]; - $scope.isLoading = false; - }; - - }]); - - - - - - - diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/loc/en-us.js b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/loc/en-us.js deleted file mode 100644 index 2678d12ee..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/loc/en-us.js +++ /dev/null @@ -1,8 +0,0 @@ -define([], function() { - return { - "PropertyPaneDescription": "Displays the most popular items from the given Site/Document Library", - "BasicGroupName": "Configuration", - "UrlFieldLabel": "Site/Document Library Url", - "NumberOfItemsFieldLabel": "Number of Items to Display" - } -}); \ No newline at end of file diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/loc/mystrings.d.ts b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/loc/mystrings.d.ts deleted file mode 100644 index 6d1b444b3..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/loc/mystrings.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare interface IMostPopularItemsStrings { - PropertyPaneDescription: string; - BasicGroupName: string; - UrlFieldLabel: string; - NumberOfItemsFieldLabel: string; -} - -declare module 'mostPopularItemsStrings' { - const strings: IMostPopularItemsStrings; - export = strings; -} diff --git a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/tests/MostPopularItems.test.ts b/samples/angular-mostpopularitems/src/webparts/mostPopularItems/tests/MostPopularItems.test.ts deleted file mode 100644 index dbbc2a93f..000000000 --- a/samples/angular-mostpopularitems/src/webparts/mostPopularItems/tests/MostPopularItems.test.ts +++ /dev/null @@ -1,7 +0,0 @@ -import * as assert from 'assert'; - -describe('MostPopularItemsWebPart', () => { - it('should do something', () => { - assert.ok(true); - }); -}); diff --git a/samples/angular-mostpopularitems/tsconfig.json b/samples/angular-mostpopularitems/tsconfig.json deleted file mode 100644 index 98c8662a9..000000000 --- a/samples/angular-mostpopularitems/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "module": "commonjs", - "jsx": "react", - "declaration": true, - "sourceMap": true - } -} diff --git a/samples/angular-mostpopularitems/tsd.json b/samples/angular-mostpopularitems/tsd.json deleted file mode 100644 index 860b40f56..000000000 --- a/samples/angular-mostpopularitems/tsd.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": "v4", - "repo": "borisyankov/DefinitelyTyped", - "ref": "master", - "path": "typings", - "bundle": "typings/tsd.d.ts", - "installed": { - "angularjs/angular.d.ts": { - "commit": "e977422734717ae20f8adf4f22adfec680e9ffbd" - }, - "jquery/jquery.d.ts": { - "commit": "e977422734717ae20f8adf4f22adfec680e9ffbd" - } - } -} diff --git a/samples/angular-mostpopularitems/typings/@ms/odsp-webpack.d.ts b/samples/angular-mostpopularitems/typings/@ms/odsp-webpack.d.ts deleted file mode 100644 index f2b3b03df..000000000 --- a/samples/angular-mostpopularitems/typings/@ms/odsp-webpack.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Type definitions for webpack in Microsoft ODSP projects -// Project: ODSP-WEBPACK - -/* - * This definition of webpack require overrides all other definitions of require in our toolchain - * Make sure all other definitions of require are commented out e.g. in node.d.ts - */ -declare var require: { - (path: string): any; - (paths: string[], callback: (...modules: any[]) => void): void; - resolve: (id: string) => string; - ensure: (paths: string[], callback: (require: (path: string) => T) => void, path: string) => void; -}; \ No newline at end of file diff --git a/samples/angular-mostpopularitems/typings/@ms/odsp.d.ts b/samples/angular-mostpopularitems/typings/@ms/odsp.d.ts deleted file mode 100644 index ae3334fe0..000000000 --- a/samples/angular-mostpopularitems/typings/@ms/odsp.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Type definitions for Microsoft ODSP projects -// Project: ODSP - -/// - -/* Global definition for DEBUG builds */ -declare const DEBUG: boolean; - -/* Global definition for UNIT_TEST builds */ -declare const UNIT_TEST: boolean; \ No newline at end of file diff --git a/samples/angular-mostpopularitems/typings/angularjs/angular.d.ts b/samples/angular-mostpopularitems/typings/angularjs/angular.d.ts deleted file mode 100644 index b16438bdc..000000000 --- a/samples/angular-mostpopularitems/typings/angularjs/angular.d.ts +++ /dev/null @@ -1,1963 +0,0 @@ -// Type definitions for Angular JS 1.5 -// Project: http://angularjs.org -// Definitions by: Diego Vilar , Georgii Dolzhykov -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -/// - -declare var angular: angular.IAngularStatic; - -// Support for painless dependency injection -interface Function { - $inject?: string[]; -} - -// Collapse angular into ng -import ng = angular; -// Support AMD require -declare module 'angular' { - export = angular; -} - -/////////////////////////////////////////////////////////////////////////////// -// ng module (angular.js) -/////////////////////////////////////////////////////////////////////////////// -declare namespace angular { - - type Injectable = T | (string | T)[]; - - // not directly implemented, but ensures that constructed class implements $get - interface IServiceProviderClass { - new (...args: any[]): IServiceProvider; - } - - interface IServiceProviderFactory { - (...args: any[]): IServiceProvider; - } - - // All service providers extend this interface - interface IServiceProvider { - $get: any; - } - - interface IAngularBootstrapConfig { - strictDi?: boolean; - } - - /////////////////////////////////////////////////////////////////////////// - // AngularStatic - // see http://docs.angularjs.org/api - /////////////////////////////////////////////////////////////////////////// - interface IAngularStatic { - bind(context: any, fn: Function, ...args: any[]): Function; - - /** - * Use this function to manually start up angular application. - * - * @param element DOM element which is the root of angular application. - * @param modules An array of modules to load into the application. - * Each item in the array should be the name of a predefined module or a (DI annotated) - * function that will be invoked by the injector as a config block. - * @param config an object for defining configuration options for the application. The following keys are supported: - * - `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code. - */ - bootstrap(element: string|Element|JQuery|Document, modules?: (string|Function|any[])[], config?: IAngularBootstrapConfig): auto.IInjectorService; - - /** - * Creates a deep copy of source, which should be an object or an array. - * - * - If no destination is supplied, a copy of the object or array is created. - * - If a destination is provided, all of its elements (for array) or properties (for objects) are deleted and then all elements/properties from the source are copied to it. - * - If source is not an object or array (inc. null and undefined), source is returned. - * - If source is identical to 'destination' an exception will be thrown. - * - * @param source The source that will be used to make a copy. Can be any type, including primitives, null, and undefined. - * @param destination Destination into which the source is copied. If provided, must be of the same type as source. - */ - copy(source: T, destination?: T): T; - - /** - * Wraps a raw DOM element or HTML string as a jQuery element. - * - * If jQuery is available, angular.element is an alias for the jQuery function. If jQuery is not available, angular.element delegates to Angular's built-in subset of jQuery, called "jQuery lite" or "jqLite." - */ - element: JQueryStatic; - equals(value1: any, value2: any): boolean; - extend(destination: any, ...sources: any[]): any; - - /** - * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional. - * - * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method. - * - * @param obj Object to iterate over. - * @param iterator Iterator function. - * @param context Object to become context (this) for the iterator function. - */ - forEach(obj: T[], iterator: (value: T, key: number) => any, context?: any): any; - /** - * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional. - * - * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method. - * - * @param obj Object to iterate over. - * @param iterator Iterator function. - * @param context Object to become context (this) for the iterator function. - */ - forEach(obj: { [index: string]: T; }, iterator: (value: T, key: string) => any, context?: any): any; - /** - * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional. - * - * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method. - * - * @param obj Object to iterate over. - * @param iterator Iterator function. - * @param context Object to become context (this) for the iterator function. - */ - forEach(obj: any, iterator: (value: any, key: any) => any, context?: any): any; - - fromJson(json: string): any; - identity(arg?: T): T; - injector(modules?: any[], strictDi?: boolean): auto.IInjectorService; - isArray(value: any): value is Array; - isDate(value: any): value is Date; - isDefined(value: any): boolean; - isElement(value: any): boolean; - isFunction(value: any): value is Function; - isNumber(value: any): value is number; - isObject(value: any): value is Object; - isObject(value: any): value is T; - isString(value: any): value is string; - isUndefined(value: any): boolean; - lowercase(str: string): string; - - /** - * Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects. If you want to preserve original objects, you can do so by passing an empty object as the target: var object = angular.merge({}, object1, object2). - * - * Unlike extend(), merge() recursively descends into object properties of source objects, performing a deep copy. - * - * @param dst Destination object. - * @param src Source object(s). - */ - merge(dst: any, ...src: any[]): any; - - /** - * The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism. - * - * When passed two or more arguments, a new module is created. If passed only one argument, an existing module (the name passed as the first argument to module) is retrieved. - * - * @param name The name of the module to create or retrieve. - * @param requires The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration. - * @param configFn Optional configuration function for the module. - */ - module( - name: string, - requires?: string[], - configFn?: Function): IModule; - - noop(...args: any[]): void; - reloadWithDebugInfo(): void; - toJson(obj: any, pretty?: boolean | number): string; - uppercase(str: string): string; - version: { - full: string; - major: number; - minor: number; - dot: number; - codeName: string; - }; - - /** - * If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called. - * @param extraModules An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with. - */ - resumeBootstrap?(extraModules?: string[]): ng.auto.IInjectorService; - } - - /////////////////////////////////////////////////////////////////////////// - // Module - // see http://docs.angularjs.org/api/angular.Module - /////////////////////////////////////////////////////////////////////////// - interface IModule { - /** - * Use this method to register a component. - * - * @param name The name of the component. - * @param options A definition object passed into the component. - */ - component(name: string, options: IComponentOptions): IModule; - /** - * Use this method to register work which needs to be performed on module loading. - * - * @param configFn Execute this function on module load. Useful for service configuration. - */ - config(configFn: Function): IModule; - /** - * Use this method to register work which needs to be performed on module loading. - * - * @param inlineAnnotatedFunction Execute this function on module load. Useful for service configuration. - */ - config(inlineAnnotatedFunction: any[]): IModule; - config(object: Object): IModule; - /** - * Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator. - * - * @param name The name of the constant. - * @param value The constant value. - */ - constant(name: string, value: T): IModule; - constant(object: Object): IModule; - /** - * The $controller service is used by Angular to create new controllers. - * - * This provider allows controller registration via the register method. - * - * @param name Controller name, or an object map of controllers where the keys are the names and the values are the constructors. - * @param controllerConstructor Controller constructor fn (optionally decorated with DI annotations in the array notation). - */ - controller(name: string, controllerConstructor: Injectable): IModule; - controller(object: {[name: string]: Injectable}): IModule; - /** - * Register a new directive with the compiler. - * - * @param name Name of the directive in camel-case (i.e. ngBind which will match as ng-bind) - * @param directiveFactory An injectable directive factory function. - */ - directive(name: string, directiveFactory: Injectable): IModule; - directive(object: {[directiveName: string]: Injectable}): IModule; - /** - * Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider. - * - * @param name The name of the instance. - * @param $getFn The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}). - */ - factory(name: string, $getFn: Injectable): IModule; - factory(object: {[name: string]: Injectable}): IModule; - filter(name: string, filterFactoryFunction: Injectable): IModule; - filter(object: {[name: string]: Injectable}): IModule; - provider(name: string, serviceProviderFactory: IServiceProviderFactory): IModule; - provider(name: string, serviceProviderConstructor: IServiceProviderClass): IModule; - provider(name: string, inlineAnnotatedConstructor: any[]): IModule; - provider(name: string, providerObject: IServiceProvider): IModule; - provider(object: Object): IModule; - /** - * Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests. - */ - run(initializationFunction: Injectable): IModule; - /** - * Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is a factory function that returns an instance instantiated by the injector from the service constructor function. - * - * @param name The name of the instance. - * @param serviceConstructor An injectable class (constructor function) that will be instantiated. - */ - service(name: string, serviceConstructor: Injectable): IModule; - service(object: {[name: string]: Injectable}): IModule; - /** - * Register a value service with the $injector, such as a string, a number, an array, an object or a function. This is short for registering a service where its provider's $get property is a factory function that takes no arguments and returns the value service. - - Value services are similar to constant services, except that they cannot be injected into a module configuration function (see config) but they can be overridden by an Angular decorator. - * - * @param name The name of the instance. - * @param value The value. - */ - value(name: string, value: T): IModule; - value(object: Object): IModule; - - /** - * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service. - * @param name The name of the service to decorate - * @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments: $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to. - */ - decorator(name: string, decorator: Injectable): IModule; - - // Properties - name: string; - requires: string[]; - } - - /////////////////////////////////////////////////////////////////////////// - // Attributes - // see http://docs.angularjs.org/api/ng.$compile.directive.Attributes - /////////////////////////////////////////////////////////////////////////// - interface IAttributes { - /** - * this is necessary to be able to access the scoped attributes. it's not very elegant - * because you have to use attrs['foo'] instead of attrs.foo but I don't know of a better way - * this should really be limited to return string but it creates this problem: http://stackoverflow.com/q/17201854/165656 - */ - [name: string]: any; - - /** - * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x- or data-) to its normalized, camelCase form. - * - * Also there is special case for Moz prefix starting with upper case letter. - * - * For further information check out the guide on @see https://docs.angularjs.org/guide/directive#matching-directives - */ - $normalize(name: string): string; - - /** - * Adds the CSS class value specified by the classVal parameter to the - * element. If animations are enabled then an animation will be triggered - * for the class addition. - */ - $addClass(classVal: string): void; - - /** - * Removes the CSS class value specified by the classVal parameter from the - * element. If animations are enabled then an animation will be triggered for - * the class removal. - */ - $removeClass(classVal: string): void; - - /** - * Adds and removes the appropriate CSS class values to the element based on the difference between - * the new and old CSS class values (specified as newClasses and oldClasses). - */ - $updateClass(newClasses: string, oldClasses: string): void; - - /** - * Set DOM element attribute value. - */ - $set(key: string, value: any): void; - - /** - * Observes an interpolated attribute. - * The observer function will be invoked once during the next $digest - * following compilation. The observer is then invoked whenever the - * interpolated value changes. - */ - $observe(name: string, fn: (value?: T) => any): Function; - - /** - * A map of DOM element attribute names to the normalized name. This is needed - * to do reverse lookup from normalized name back to actual name. - */ - $attr: Object; - } - - /** - * form.FormController - type in module ng - * see https://docs.angularjs.org/api/ng/type/form.FormController - */ - interface IFormController { - - /** - * Indexer which should return ng.INgModelController for most properties but cannot because of "All named properties must be assignable to string indexer type" constraint - see https://github.com/Microsoft/TypeScript/issues/272 - */ - [name: string]: any; - - $pristine: boolean; - $dirty: boolean; - $valid: boolean; - $invalid: boolean; - $submitted: boolean; - $error: any; - $name: string; - $pending: any; - $addControl(control: INgModelController | IFormController): void; - $removeControl(control: INgModelController | IFormController): void; - $setValidity(validationErrorKey: string, isValid: boolean, control: INgModelController | IFormController): void; - $setDirty(): void; - $setPristine(): void; - $commitViewValue(): void; - $rollbackViewValue(): void; - $setSubmitted(): void; - $setUntouched(): void; - } - - /////////////////////////////////////////////////////////////////////////// - // NgModelController - // see http://docs.angularjs.org/api/ng.directive:ngModel.NgModelController - /////////////////////////////////////////////////////////////////////////// - interface INgModelController { - $render(): void; - $setValidity(validationErrorKey: string, isValid: boolean): void; - // Documentation states viewValue and modelValue to be a string but other - // types do work and it's common to use them. - $setViewValue(value: any, trigger?: string): void; - $setPristine(): void; - $setDirty(): void; - $validate(): void; - $setTouched(): void; - $setUntouched(): void; - $rollbackViewValue(): void; - $commitViewValue(): void; - $isEmpty(value: any): boolean; - - $viewValue: any; - - $modelValue: any; - - $parsers: IModelParser[]; - $formatters: IModelFormatter[]; - $viewChangeListeners: IModelViewChangeListener[]; - $error: any; - $name: string; - - $touched: boolean; - $untouched: boolean; - - $validators: IModelValidators; - $asyncValidators: IAsyncModelValidators; - - $pending: any; - $pristine: boolean; - $dirty: boolean; - $valid: boolean; - $invalid: boolean; - } - - //Allows tuning how model updates are done. - //https://docs.angularjs.org/api/ng/directive/ngModelOptions - interface INgModelOptions { - updateOn?: string; - debounce?: any; - allowInvalid?: boolean; - getterSetter?: boolean; - timezone?: string; - } - - interface IModelValidators { - /** - * viewValue is any because it can be an object that is called in the view like $viewValue.name:$viewValue.subName - */ - [index: string]: (modelValue: any, viewValue: any) => boolean; - } - - interface IAsyncModelValidators { - [index: string]: (modelValue: any, viewValue: any) => IPromise; - } - - interface IModelParser { - (value: any): any; - } - - interface IModelFormatter { - (value: any): any; - } - - interface IModelViewChangeListener { - (): void; - } - - /** - * $rootScope - $rootScopeProvider - service in module ng - * see https://docs.angularjs.org/api/ng/type/$rootScope.Scope and https://docs.angularjs.org/api/ng/service/$rootScope - */ - interface IRootScopeService { - [index: string]: any; - - $apply(): any; - $apply(exp: string): any; - $apply(exp: (scope: IScope) => any): any; - - $applyAsync(): any; - $applyAsync(exp: string): any; - $applyAsync(exp: (scope: IScope) => any): any; - - /** - * Dispatches an event name downwards to all child scopes (and their children) notifying the registered $rootScope.Scope listeners. - * - * The event life cycle starts at the scope on which $broadcast was called. All listeners listening for name event on this scope get notified. Afterwards, the event propagates to all direct and indirect scopes of the current scope and calls all registered listeners along the way. The event cannot be canceled. - * - * Any exception emitted from the listeners will be passed onto the $exceptionHandler service. - * - * @param name Event name to broadcast. - * @param args Optional one or more arguments which will be passed onto the event listeners. - */ - $broadcast(name: string, ...args: any[]): IAngularEvent; - $destroy(): void; - $digest(): void; - /** - * Dispatches an event name upwards through the scope hierarchy notifying the registered $rootScope.Scope listeners. - * - * The event life cycle starts at the scope on which $emit was called. All listeners listening for name event on this scope get notified. Afterwards, the event traverses upwards toward the root scope and calls all registered listeners along the way. The event will stop propagating if one of the listeners cancels it. - * - * Any exception emitted from the listeners will be passed onto the $exceptionHandler service. - * - * @param name Event name to emit. - * @param args Optional one or more arguments which will be passed onto the event listeners. - */ - $emit(name: string, ...args: any[]): IAngularEvent; - - $eval(): any; - $eval(expression: string, locals?: Object): any; - $eval(expression: (scope: IScope) => any, locals?: Object): any; - - $evalAsync(): void; - $evalAsync(expression: string): void; - $evalAsync(expression: (scope: IScope) => any): void; - - // Defaults to false by the implementation checking strategy - $new(isolate?: boolean, parent?: IScope): IScope; - - /** - * Listens on events of a given type. See $emit for discussion of event life cycle. - * - * The event listener function format is: function(event, args...). - * - * @param name Event name to listen on. - * @param listener Function to call when the event is emitted. - */ - $on(name: string, listener: (event: IAngularEvent, ...args: any[]) => any): () => void; - - $watch(watchExpression: string, listener?: string, objectEquality?: boolean): () => void; - $watch(watchExpression: string, listener?: (newValue: T, oldValue: T, scope: IScope) => any, objectEquality?: boolean): () => void; - $watch(watchExpression: (scope: IScope) => any, listener?: string, objectEquality?: boolean): () => void; - $watch(watchExpression: (scope: IScope) => T, listener?: (newValue: T, oldValue: T, scope: IScope) => any, objectEquality?: boolean): () => void; - - $watchCollection(watchExpression: string, listener: (newValue: T, oldValue: T, scope: IScope) => any): () => void; - $watchCollection(watchExpression: (scope: IScope) => T, listener: (newValue: T, oldValue: T, scope: IScope) => any): () => void; - - $watchGroup(watchExpressions: any[], listener: (newValue: any, oldValue: any, scope: IScope) => any): () => void; - $watchGroup(watchExpressions: { (scope: IScope): any }[], listener: (newValue: any, oldValue: any, scope: IScope) => any): () => void; - - $parent: IScope; - $root: IRootScopeService; - $id: number; - - // Hidden members - $$isolateBindings: any; - $$phase: any; - } - - interface IScope extends IRootScopeService { } - - /** - * $scope for ngRepeat directive. - * see https://docs.angularjs.org/api/ng/directive/ngRepeat - */ - interface IRepeatScope extends IScope { - - /** - * iterator offset of the repeated element (0..length-1). - */ - $index: number; - - /** - * true if the repeated element is first in the iterator. - */ - $first: boolean; - - /** - * true if the repeated element is between the first and last in the iterator. - */ - $middle: boolean; - - /** - * true if the repeated element is last in the iterator. - */ - $last: boolean; - - /** - * true if the iterator position $index is even (otherwise false). - */ - $even: boolean; - - /** - * true if the iterator position $index is odd (otherwise false). - */ - $odd: boolean; - - } - - interface IAngularEvent { - /** - * the scope on which the event was $emit-ed or $broadcast-ed. - */ - targetScope: IScope; - /** - * the scope that is currently handling the event. Once the event propagates through the scope hierarchy, this property is set to null. - */ - currentScope: IScope; - /** - * name of the event. - */ - name: string; - /** - * calling stopPropagation function will cancel further event propagation (available only for events that were $emit-ed). - */ - stopPropagation?(): void; - /** - * calling preventDefault sets defaultPrevented flag to true. - */ - preventDefault(): void; - /** - * true if preventDefault was called. - */ - defaultPrevented: boolean; - } - - /////////////////////////////////////////////////////////////////////////// - // WindowService - // see http://docs.angularjs.org/api/ng.$window - /////////////////////////////////////////////////////////////////////////// - interface IWindowService extends Window { - [key: string]: any; - } - - /////////////////////////////////////////////////////////////////////////// - // TimeoutService - // see http://docs.angularjs.org/api/ng.$timeout - /////////////////////////////////////////////////////////////////////////// - interface ITimeoutService { - (delay?: number, invokeApply?: boolean): IPromise; - (fn: (...args: any[]) => T, delay?: number, invokeApply?: boolean, ...args: any[]): IPromise; - cancel(promise?: IPromise): boolean; - } - - /////////////////////////////////////////////////////////////////////////// - // IntervalService - // see http://docs.angularjs.org/api/ng.$interval - /////////////////////////////////////////////////////////////////////////// - interface IIntervalService { - (func: Function, delay: number, count?: number, invokeApply?: boolean, ...args: any[]): IPromise; - cancel(promise: IPromise): boolean; - } - - /** - * $filter - $filterProvider - service in module ng - * - * Filters are used for formatting data displayed to the user. - * - * see https://docs.angularjs.org/api/ng/service/$filter - */ - interface IFilterService { - (name: 'filter'): IFilterFilter; - (name: 'currency'): IFilterCurrency; - (name: 'number'): IFilterNumber; - (name: 'date'): IFilterDate; - (name: 'json'): IFilterJson; - (name: 'lowercase'): IFilterLowercase; - (name: 'uppercase'): IFilterUppercase; - (name: 'limitTo'): IFilterLimitTo; - (name: 'orderBy'): IFilterOrderBy; - /** - * Usage: - * $filter(name); - * - * @param name Name of the filter function to retrieve - */ - (name: string): T; - } - - interface IFilterFilter { - (array: T[], expression: string | IFilterFilterPatternObject | IFilterFilterPredicateFunc, comparator?: IFilterFilterComparatorFunc|boolean): T[]; - } - - interface IFilterFilterPatternObject { - [name: string]: any; - } - - interface IFilterFilterPredicateFunc { - (value: T, index: number, array: T[]): boolean; - } - - interface IFilterFilterComparatorFunc { - (actual: T, expected: T): boolean; - } - - interface IFilterCurrency { - /** - * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default symbol for current locale is used. - * @param amount Input to filter. - * @param symbol Currency symbol or identifier to be displayed. - * @param fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale - * @return Formatted number - */ - (amount: number, symbol?: string, fractionSize?: number): string; - } - - interface IFilterNumber { - /** - * Formats a number as text. - * @param number Number to format. - * @param fractionSize Number of decimal places to round the number to. If this is not provided then the fraction size is computed from the current locale's number formatting pattern. In the case of the default locale, it will be 3. - * @return Number rounded to decimalPlaces and places a “,” after each third digit. - */ - (value: number|string, fractionSize?: number|string): string; - } - - interface IFilterDate { - /** - * Formats date to a string based on the requested format. - * - * @param date Date to format either as Date object, milliseconds (string or number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is specified in the string input, the time is considered to be in the local timezone. - * @param format Formatting rules (see Description). If not specified, mediumDate is used. - * @param timezone Timezone to be used for formatting. It understands UTC/GMT and the continental US time zone abbreviations, but for general use, use a time zone offset, for example, '+0430' (4 hours, 30 minutes east of the Greenwich meridian) If not specified, the timezone of the browser will be used. - * @return Formatted string or the input if input is not recognized as date/millis. - */ - (date: Date | number | string, format?: string, timezone?: string): string; - } - - interface IFilterJson { - /** - * Allows you to convert a JavaScript object into JSON string. - * @param object Any JavaScript object (including arrays and primitive types) to filter. - * @param spacing The number of spaces to use per indentation, defaults to 2. - * @return JSON string. - */ - (object: any, spacing?: number): string; - } - - interface IFilterLowercase { - /** - * Converts string to lowercase. - */ - (value: string): string; - } - - interface IFilterUppercase { - /** - * Converts string to uppercase. - */ - (value: string): string; - } - - interface IFilterLimitTo { - /** - * Creates a new array containing only a specified number of elements. The elements are taken from either the beginning or the end of the source array, string or number, as specified by the value and sign (positive or negative) of limit. - * @param input Source array to be limited. - * @param limit The length of the returned array. If the limit number is positive, limit number of items from the beginning of the source array/string are copied. If the number is negative, limit number of items from the end of the source array are copied. The limit will be trimmed if it exceeds array.length. If limit is undefined, the input will be returned unchanged. - * @param begin Index at which to begin limitation. As a negative index, begin indicates an offset from the end of input. Defaults to 0. - * @return A new sub-array of length limit or less if input array had less than limit elements. - */ - (input: T[], limit: string|number, begin?: string|number): T[]; - /** - * Creates a new string containing only a specified number of elements. The elements are taken from either the beginning or the end of the source string or number, as specified by the value and sign (positive or negative) of limit. If a number is used as input, it is converted to a string. - * @param input Source string or number to be limited. - * @param limit The length of the returned string. If the limit number is positive, limit number of items from the beginning of the source string are copied. If the number is negative, limit number of items from the end of the source string are copied. The limit will be trimmed if it exceeds input.length. If limit is undefined, the input will be returned unchanged. - * @param begin Index at which to begin limitation. As a negative index, begin indicates an offset from the end of input. Defaults to 0. - * @return A new substring of length limit or less if input had less than limit elements. - */ - (input: string|number, limit: string|number, begin?: string|number): string; - } - - interface IFilterOrderBy { - /** - * Orders a specified array by the expression predicate. It is ordered alphabetically for strings and numerically for numbers. Note: if you notice numbers are not being sorted as expected, make sure they are actually being saved as numbers and not strings. - * @param array The array to sort. - * @param expression A predicate to be used by the comparator to determine the order of elements. - * @param reverse Reverse the order of the array. - * @return Reverse the order of the array. - */ - (array: T[], expression: string|((value: T) => any)|(((value: T) => any)|string)[], reverse?: boolean): T[]; - } - - /** - * $filterProvider - $filter - provider in module ng - * - * Filters are just functions which transform input to an output. However filters need to be Dependency Injected. To achieve this a filter definition consists of a factory function which is annotated with dependencies and is responsible for creating a filter function. - * - * see https://docs.angularjs.org/api/ng/provider/$filterProvider - */ - interface IFilterProvider extends IServiceProvider { - /** - * register(name); - * - * @param name Name of the filter function, or an object map of filters where the keys are the filter names and the values are the filter factories. Note: Filter names must be valid angular Expressions identifiers, such as uppercase or orderBy. Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace your filters, then you can use capitalization (myappSubsectionFilterx) or underscores (myapp_subsection_filterx). - */ - register(name: string | {}): IServiceProvider; - } - - /////////////////////////////////////////////////////////////////////////// - // LocaleService - // see http://docs.angularjs.org/api/ng.$locale - /////////////////////////////////////////////////////////////////////////// - interface ILocaleService { - id: string; - - // These are not documented - // Check angular's i18n files for exemples - NUMBER_FORMATS: ILocaleNumberFormatDescriptor; - DATETIME_FORMATS: ILocaleDateTimeFormatDescriptor; - pluralCat: (num: any) => string; - } - - interface ILocaleNumberFormatDescriptor { - DECIMAL_SEP: string; - GROUP_SEP: string; - PATTERNS: ILocaleNumberPatternDescriptor[]; - CURRENCY_SYM: string; - } - - interface ILocaleNumberPatternDescriptor { - minInt: number; - minFrac: number; - maxFrac: number; - posPre: string; - posSuf: string; - negPre: string; - negSuf: string; - gSize: number; - lgSize: number; - } - - interface ILocaleDateTimeFormatDescriptor { - MONTH: string[]; - SHORTMONTH: string[]; - DAY: string[]; - SHORTDAY: string[]; - AMPMS: string[]; - medium: string; - short: string; - fullDate: string; - longDate: string; - mediumDate: string; - shortDate: string; - mediumTime: string; - shortTime: string; - } - - /////////////////////////////////////////////////////////////////////////// - // LogService - // see http://docs.angularjs.org/api/ng.$log - // see http://docs.angularjs.org/api/ng.$logProvider - /////////////////////////////////////////////////////////////////////////// - interface ILogService { - debug: ILogCall; - error: ILogCall; - info: ILogCall; - log: ILogCall; - warn: ILogCall; - } - - interface ILogProvider extends IServiceProvider { - debugEnabled(): boolean; - debugEnabled(enabled: boolean): ILogProvider; - } - - // We define this as separate interface so we can reopen it later for - // the ngMock module. - interface ILogCall { - (...args: any[]): void; - } - - /////////////////////////////////////////////////////////////////////////// - // ParseService - // see http://docs.angularjs.org/api/ng.$parse - // see http://docs.angularjs.org/api/ng.$parseProvider - /////////////////////////////////////////////////////////////////////////// - interface IParseService { - (expression: string, interceptorFn?: (value: any, scope: IScope, locals: any) => any, expensiveChecks?: boolean): ICompiledExpression; - } - - interface IParseProvider { - logPromiseWarnings(): boolean; - logPromiseWarnings(value: boolean): IParseProvider; - - unwrapPromises(): boolean; - unwrapPromises(value: boolean): IParseProvider; - - /** - * Configure $parse service to add literal values that will be present as literal at expressions. - * - * @param literalName Token for the literal value. The literal name value must be a valid literal name. - * @param literalValue Value for this literal. All literal values must be primitives or `undefined`. - **/ - addLiteral(literalName: string, literalValue: any): void; - - /** - * Allows defining the set of characters that are allowed in Angular expressions. The function identifierStart will get called to know if a given character is a valid character to be the first character for an identifier. The function identifierContinue will get called to know if a given character is a valid character to be a follow-up identifier character. The functions identifierStart and identifierContinue will receive as arguments the single character to be identifier and the character code point. These arguments will be string and numeric. Keep in mind that the string parameter can be two characters long depending on the character representation. It is expected for the function to return true or false, whether that character is allowed or not. - * Since this function will be called extensivelly, keep the implementation of these functions fast, as the performance of these functions have a direct impact on the expressions parsing speed. - * - * @param identifierStart The function that will decide whether the given character is a valid identifier start character. - * @param identifierContinue The function that will decide whether the given character is a valid identifier continue character. - **/ - setIdentifierFns(identifierStart?: (character: string, codePoint: number) => boolean, - identifierContinue?: (character: string, codePoint: number) => boolean): void; - } - - interface ICompiledExpression { - (context: any, locals?: any): any; - - literal: boolean; - constant: boolean; - - // If value is not provided, undefined is gonna be used since the implementation - // does not check the parameter. Let's force a value for consistency. If consumer - // whants to undefine it, pass the undefined value explicitly. - assign(context: any, value: any): any; - } - - /** - * $location - $locationProvider - service in module ng - * see https://docs.angularjs.org/api/ng/service/$location - */ - interface ILocationService { - absUrl(): string; - hash(): string; - hash(newHash: string): ILocationService; - host(): string; - - /** - * Return path of current url - */ - path(): string; - - /** - * Change path when called with parameter and return $location. - * Note: Path should always begin with forward slash (/), this method will add the forward slash if it is missing. - * - * @param path New path - */ - path(path: string): ILocationService; - - port(): number; - protocol(): string; - replace(): ILocationService; - - /** - * Return search part (as object) of current url - */ - search(): any; - - /** - * Change search part when called with parameter and return $location. - * - * @param search When called with a single argument the method acts as a setter, setting the search component of $location to the specified value. - * - * If the argument is a hash object containing an array of values, these values will be encoded as duplicate search parameters in the url. - */ - search(search: any): ILocationService; - - /** - * Change search part when called with parameter and return $location. - * - * @param search New search params - * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign. - */ - search(search: string, paramValue: string|number|string[]|boolean): ILocationService; - - state(): any; - state(state: any): ILocationService; - url(): string; - url(url: string): ILocationService; - } - - interface ILocationProvider extends IServiceProvider { - hashPrefix(): string; - hashPrefix(prefix: string): ILocationProvider; - html5Mode(): boolean; - - // Documentation states that parameter is string, but - // implementation tests it as boolean, which makes more sense - // since this is a toggler - html5Mode(active: boolean): ILocationProvider; - html5Mode(mode: { enabled?: boolean; requireBase?: boolean; rewriteLinks?: boolean; }): ILocationProvider; - } - - /////////////////////////////////////////////////////////////////////////// - // DocumentService - // see http://docs.angularjs.org/api/ng.$document - /////////////////////////////////////////////////////////////////////////// - interface IDocumentService extends JQuery { - // Must return intersection type for index signature compatibility with JQuery - [index: number]: HTMLElement & Document; - } - - /////////////////////////////////////////////////////////////////////////// - // ExceptionHandlerService - // see http://docs.angularjs.org/api/ng.$exceptionHandler - /////////////////////////////////////////////////////////////////////////// - interface IExceptionHandlerService { - (exception: Error, cause?: string): void; - } - - /////////////////////////////////////////////////////////////////////////// - // RootElementService - // see http://docs.angularjs.org/api/ng.$rootElement - /////////////////////////////////////////////////////////////////////////// - interface IRootElementService extends JQuery {} - - interface IQResolveReject { - (): void; - (value: T): void; - } - /** - * $q - service in module ng - * A promise/deferred implementation inspired by Kris Kowal's Q. - * See http://docs.angularjs.org/api/ng/service/$q - */ - interface IQService { - new (resolver: (resolve: IQResolveReject) => any): IPromise; - new (resolver: (resolve: IQResolveReject, reject: IQResolveReject) => any): IPromise; - (resolver: (resolve: IQResolveReject) => any): IPromise; - (resolver: (resolve: IQResolveReject, reject: IQResolveReject) => any): IPromise; - - /** - * Combines multiple promises into a single promise that is resolved when all of the input promises are resolved. - * - * Returns a single promise that will be resolved with an array of values, each value corresponding to the promise at the same index in the promises array. If any of the promises is resolved with a rejection, this resulting promise will be rejected with the same rejection value. - * - * @param promises An array of promises. - */ - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise , T5 | IPromise, T6 | IPromise, T7 | IPromise, T8 | IPromise, T9 | IPromise, T10 | IPromise]): IPromise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise , T5 | IPromise, T6 | IPromise, T7 | IPromise, T8 | IPromise, T9 | IPromise]): IPromise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise , T5 | IPromise, T6 | IPromise, T7 | IPromise, T8 | IPromise]): IPromise<[T1, T2, T3, T4, T5, T6, T7, T8]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise , T5 | IPromise, T6 | IPromise, T7 | IPromise]): IPromise<[T1, T2, T3, T4, T5, T6, T7]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise , T5 | IPromise, T6 | IPromise]): IPromise<[T1, T2, T3, T4, T5, T6]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise , T5 | IPromise]): IPromise<[T1, T2, T3, T4, T5]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise, T4 | IPromise ]): IPromise<[T1, T2, T3, T4]>; - all(values: [T1 | IPromise, T2 | IPromise, T3 | IPromise]): IPromise<[T1, T2, T3]>; - all(values: [T1 | IPromise, T2 | IPromise]): IPromise<[T1, T2]>; - all(promises: IPromise[]): IPromise; - /** - * Combines multiple promises into a single promise that is resolved when all of the input promises are resolved. - * - * Returns a single promise that will be resolved with a hash of values, each value corresponding to the promise at the same key in the promises hash. If any of the promises is resolved with a rejection, this resulting promise will be rejected with the same rejection value. - * - * @param promises A hash of promises. - */ - all(promises: { [id: string]: IPromise; }): IPromise<{ [id: string]: any; }>; - all(promises: { [id: string]: IPromise; }): IPromise; - /** - * Creates a Deferred object which represents a task which will finish in the future. - */ - defer(): IDeferred; - /** - * Creates a promise that is resolved as rejected with the specified reason. This api should be used to forward rejection in a chain of promises. If you are dealing with the last promise in a promise chain, you don't need to worry about it. - * - * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of reject as the throw keyword in JavaScript. This also means that if you "catch" an error via a promise error callback and you want to forward the error to the promise derived from the current promise, you have to "rethrow" the error by returning a rejection constructed via reject. - * - * @param reason Constant, message, exception or an object representing the rejection reason. - */ - reject(reason?: any): IPromise; - /** - * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. - * - * @param value Value or a promise - */ - resolve(value: IPromise|T): IPromise; - /** - * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. - */ - resolve(): IPromise; - /** - * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. - * - * @param value Value or a promise - */ - when(value: IPromise|T): IPromise; - when(value: IPromise|T, successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise; - /** - * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted. - */ - when(): IPromise; - } - - interface IPromise { - /** - * Regardless of when the promise was or will be resolved or rejected, then calls one of the success or error callbacks asynchronously as soon as the result is available. The callbacks are called with a single argument: the result or rejection reason. Additionally, the notify callback may be called zero or more times to provide a progress indication, before the promise is resolved or rejected. - * The successCallBack may return IPromise for when a $q.reject() needs to be returned - * This method returns a new promise which is resolved or rejected via the return value of the successCallback, errorCallback. It also notifies via the return value of the notifyCallback method. The promise can not be resolved or rejected from the notifyCallback method. - */ - then(successCallback: (promiseValue: T) => IPromise|TResult, errorCallback?: (reason: any) => any, notifyCallback?: (state: any) => any): IPromise; - - /** - * Shorthand for promise.then(null, errorCallback) - */ - catch(onRejected: (reason: any) => IPromise|TResult): IPromise; - - /** - * Allows you to observe either the fulfillment or rejection of a promise, but to do so without modifying the final value. This is useful to release resources or do some clean-up that needs to be done whether the promise was rejected or resolved. See the full specification for more information. - * - * Because finally is a reserved word in JavaScript and reserved keywords are not supported as property names by ES3, you'll need to invoke the method like promise['finally'](callback) to make your code IE8 and Android 2.x compatible. - */ - finally(finallyCallback: () => any): IPromise; - } - - interface IDeferred { - resolve(value?: T|IPromise): void; - reject(reason?: any): void; - notify(state?: any): void; - promise: IPromise; - } - - /////////////////////////////////////////////////////////////////////////// - // AnchorScrollService - // see http://docs.angularjs.org/api/ng.$anchorScroll - /////////////////////////////////////////////////////////////////////////// - interface IAnchorScrollService { - (): void; - (hash: string): void; - yOffset: any; - } - - interface IAnchorScrollProvider extends IServiceProvider { - disableAutoScrolling(): void; - } - - /** - * $cacheFactory - service in module ng - * - * Factory that constructs Cache objects and gives access to them. - * - * see https://docs.angularjs.org/api/ng/service/$cacheFactory - */ - interface ICacheFactoryService { - /** - * Factory that constructs Cache objects and gives access to them. - * - * @param cacheId Name or id of the newly created cache. - * @param optionsMap Options object that specifies the cache behavior. Properties: - * - * capacity — turns the cache into LRU cache. - */ - (cacheId: string, optionsMap?: { capacity?: number; }): ICacheObject; - - /** - * Get information about all the caches that have been created. - * @returns key-value map of cacheId to the result of calling cache#info - */ - info(): any; - - /** - * Get access to a cache object by the cacheId used when it was created. - * - * @param cacheId Name or id of a cache to access. - */ - get(cacheId: string): ICacheObject; - } - - /** - * $cacheFactory.Cache - type in module ng - * - * A cache object used to store and retrieve data, primarily used by $http and the script directive to cache templates and other data. - * - * see https://docs.angularjs.org/api/ng/type/$cacheFactory.Cache - */ - interface ICacheObject { - /** - * Retrieve information regarding a particular Cache. - */ - info(): { - /** - * the id of the cache instance - */ - id: string; - - /** - * the number of entries kept in the cache instance - */ - size: number; - - //...: any additional properties from the options object when creating the cache. - }; - - /** - * Inserts a named entry into the Cache object to be retrieved later, and incrementing the size of the cache if the key was not already present in the cache. If behaving like an LRU cache, it will also remove stale entries from the set. - * - * It will not insert undefined values into the cache. - * - * @param key the key under which the cached data is stored. - * @param value the value to store alongside the key. If it is undefined, the key will not be stored. - */ - put(key: string, value?: T): T; - - /** - * Retrieves named data stored in the Cache object. - * - * @param key the key of the data to be retrieved - */ - get(key: string): T; - - /** - * Removes an entry from the Cache object. - * - * @param key the key of the entry to be removed - */ - remove(key: string): void; - - /** - * Clears the cache object of any entries. - */ - removeAll(): void; - - /** - * Destroys the Cache object entirely, removing it from the $cacheFactory set. - */ - destroy(): void; - } - - /////////////////////////////////////////////////////////////////////////// - // CompileService - // see http://docs.angularjs.org/api/ng.$compile - // see http://docs.angularjs.org/api/ng.$compileProvider - /////////////////////////////////////////////////////////////////////////// - interface ICompileService { - (element: string | Element | JQuery, transclude?: ITranscludeFunction, maxPriority?: number): ITemplateLinkingFunction; - } - - interface ICompileProvider extends IServiceProvider { - directive(name: string, directiveFactory: Injectable): ICompileProvider; - directive(object: {[directiveName: string]: Injectable}): ICompileProvider; - - component(name: string, options: IComponentOptions): ICompileProvider; - - aHrefSanitizationWhitelist(): RegExp; - aHrefSanitizationWhitelist(regexp: RegExp): ICompileProvider; - - imgSrcSanitizationWhitelist(): RegExp; - imgSrcSanitizationWhitelist(regexp: RegExp): ICompileProvider; - - debugInfoEnabled(): boolean; - debugInfoEnabled(enabled: boolean): ICompileProvider; - } - - interface ICloneAttachFunction { - // Let's hint but not force cloneAttachFn's signature - (clonedElement?: JQuery, scope?: IScope): any; - } - - // This corresponds to the "publicLinkFn" returned by $compile. - interface ITemplateLinkingFunction { - (scope: IScope, cloneAttachFn?: ICloneAttachFunction): JQuery; - } - - /** - * This corresponds to $transclude passed to controllers and to the transclude function passed to link functions. - * https://docs.angularjs.org/api/ng/service/$compile#-controller- - * http://teropa.info/blog/2015/06/09/transclusion.html - */ - interface ITranscludeFunction { - // If the scope is provided, then the cloneAttachFn must be as well. - (scope: IScope, cloneAttachFn: ICloneAttachFunction, futureParentElement?: JQuery, slotName?: string): JQuery; - // If one argument is provided, then it's assumed to be the cloneAttachFn. - (cloneAttachFn?: ICloneAttachFunction, futureParentElement?: JQuery, slotName?: string): JQuery; - } - - /////////////////////////////////////////////////////////////////////////// - // ControllerService - // see http://docs.angularjs.org/api/ng.$controller - // see http://docs.angularjs.org/api/ng.$controllerProvider - /////////////////////////////////////////////////////////////////////////// - interface IControllerService { - // Although the documentation doesn't state this, locals are optional - (controllerConstructor: new (...args: any[]) => T, locals?: any, later?: boolean, ident?: string): T; - (controllerConstructor: Function, locals?: any, later?: boolean, ident?: string): T; - (controllerName: string, locals?: any, later?: boolean, ident?: string): T; - } - - interface IControllerProvider extends IServiceProvider { - register(name: string, controllerConstructor: Function): void; - register(name: string, dependencyAnnotatedConstructor: any[]): void; - allowGlobals(): void; - } - - /** - * xhrFactory - * Replace or decorate this service to create your own custom XMLHttpRequest objects. - * see https://docs.angularjs.org/api/ng/service/$xhrFactory - */ - interface IXhrFactory { - (method: string, url: string): T; - } - - /** - * HttpService - * see http://docs.angularjs.org/api/ng/service/$http - */ - interface IHttpService { - /** - * Object describing the request to be made and how it should be processed. - */ - (config: IRequestConfig): IHttpPromise; - - /** - * Shortcut method to perform GET request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param config Optional configuration object - */ - get(url: string, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Shortcut method to perform DELETE request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param config Optional configuration object - */ - delete(url: string, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Shortcut method to perform HEAD request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param config Optional configuration object - */ - head(url: string, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Shortcut method to perform JSONP request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param config Optional configuration object - */ - jsonp(url: string, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Shortcut method to perform POST request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param data Request content - * @param config Optional configuration object - */ - post(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Shortcut method to perform PUT request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param data Request content - * @param config Optional configuration object - */ - put(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Shortcut method to perform PATCH request. - * - * @param url Relative or absolute URL specifying the destination of the request - * @param data Request content - * @param config Optional configuration object - */ - patch(url: string, data: any, config?: IRequestShortcutConfig): IHttpPromise; - - /** - * Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations. - */ - defaults: IHttpProviderDefaults; - - /** - * Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes. - */ - pendingRequests: IRequestConfig[]; - } - - /** - * Object describing the request to be made and how it should be processed. - * see http://docs.angularjs.org/api/ng/service/$http#usage - */ - interface IRequestShortcutConfig extends IHttpProviderDefaults { - /** - * {Object.} - * Map of strings or objects which will be turned to ?key1=value1&key2=value2 after the url. If the value is not a string, it will be JSONified. - */ - params?: any; - - /** - * {string|Object} - * Data to be sent as the request message data. - */ - data?: any; - - /** - * Timeout in milliseconds, or promise that should abort the request when resolved. - */ - timeout?: number|IPromise; - - /** - * See [XMLHttpRequest.responseType]https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype - */ - responseType?: string; - } - - /** - * Object describing the request to be made and how it should be processed. - * see http://docs.angularjs.org/api/ng/service/$http#usage - */ - interface IRequestConfig extends IRequestShortcutConfig { - /** - * HTTP method (e.g. 'GET', 'POST', etc) - */ - method: string; - /** - * Absolute or relative URL of the resource that is being requested. - */ - url: string; - /** - * Event listeners to be bound to the XMLHttpRequest object. - * To bind events to the XMLHttpRequest upload object, use uploadEventHandlers. The handler will be called in the context of a $apply block. - */ - eventHandlers?: { [type: string]: EventListenerOrEventListenerObject }; - /** - * Event listeners to be bound to the XMLHttpRequest upload object. - * To bind events to the XMLHttpRequest object, use eventHandlers. The handler will be called in the context of a $apply block. - */ - uploadEventHandlers?: { [type: string]: EventListenerOrEventListenerObject }; - } - - interface IHttpHeadersGetter { - (): { [name: string]: string; }; - (headerName: string): string; - } - - interface IHttpPromiseCallback { - (data: T, status: number, headers: IHttpHeadersGetter, config: IRequestConfig): void; - } - - interface IHttpPromiseCallbackArg { - data?: T; - status?: number; - headers?: IHttpHeadersGetter; - config?: IRequestConfig; - statusText?: string; - } - - interface IHttpPromise extends IPromise> { - /** - * The $http legacy promise methods success and error have been deprecated. Use the standard then method instead. - * If $httpProvider.useLegacyPromiseExtensions is set to false then these methods will throw $http/legacy error. - * @deprecated - */ - success?(callback: IHttpPromiseCallback): IHttpPromise; - /** - * The $http legacy promise methods success and error have been deprecated. Use the standard then method instead. - * If $httpProvider.useLegacyPromiseExtensions is set to false then these methods will throw $http/legacy error. - * @deprecated - */ - error?(callback: IHttpPromiseCallback): IHttpPromise; - } - - // See the jsdoc for transformData() at https://github.com/angular/angular.js/blob/master/src/ng/http.js#L228 - interface IHttpRequestTransformer { - (data: any, headersGetter: IHttpHeadersGetter): any; - } - - // The definition of fields are the same as IHttpPromiseCallbackArg - interface IHttpResponseTransformer { - (data: any, headersGetter: IHttpHeadersGetter, status: number): any; - } - - type HttpHeaderType = {[requestType: string]:string|((config:IRequestConfig) => string)}; - - interface IHttpRequestConfigHeaders { - [requestType: string]: any; - common?: any; - get?: any; - post?: any; - put?: any; - patch?: any; - } - - /** - * Object that controls the defaults for $http provider. Not all fields of IRequestShortcutConfig can be configured - * via defaults and the docs do not say which. The following is based on the inspection of the source code. - * https://docs.angularjs.org/api/ng/service/$http#defaults - * https://docs.angularjs.org/api/ng/service/$http#usage - * https://docs.angularjs.org/api/ng/provider/$httpProvider The properties section - */ - interface IHttpProviderDefaults { - /** - * {boolean|Cache} - * If true, a default $http cache will be used to cache the GET request, otherwise if a cache instance built with $cacheFactory, this cache will be used for caching. - */ - cache?: any; - - /** - * Transform function or an array of such functions. The transform function takes the http request body and - * headers and returns its transformed (typically serialized) version. - * @see {@link https://docs.angularjs.org/api/ng/service/$http#transforming-requests-and-responses} - */ - transformRequest?: IHttpRequestTransformer |IHttpRequestTransformer[]; - - /** - * Transform function or an array of such functions. The transform function takes the http response body and - * headers and returns its transformed (typically deserialized) version. - */ - transformResponse?: IHttpResponseTransformer | IHttpResponseTransformer[]; - - /** - * Map of strings or functions which return strings representing HTTP headers to send to the server. If the - * return value of a function is null, the header will not be sent. - * The key of the map is the request verb in lower case. The "common" key applies to all requests. - * @see {@link https://docs.angularjs.org/api/ng/service/$http#setting-http-headers} - */ - headers?: IHttpRequestConfigHeaders; - - /** Name of HTTP header to populate with the XSRF token. */ - xsrfHeaderName?: string; - - /** Name of cookie containing the XSRF token. */ - xsrfCookieName?: string; - - /** - * whether to to set the withCredentials flag on the XHR object. See [requests with credentials]https://developer.mozilla.org/en/http_access_control#section_5 for more information. - */ - withCredentials?: boolean; - - /** - * A function used to the prepare string representation of request parameters (specified as an object). If - * specified as string, it is interpreted as a function registered with the $injector. Defaults to - * $httpParamSerializer. - */ - paramSerializer?: string | ((obj: any) => string); - } - - interface IHttpInterceptor { - request?: (config: IRequestConfig) => IRequestConfig|IPromise; - requestError?: (rejection: any) => any; - response?: (response: IHttpPromiseCallbackArg) => IPromise>|IHttpPromiseCallbackArg; - responseError?: (rejection: any) => any; - } - - interface IHttpInterceptorFactory { - (...args: any[]): IHttpInterceptor; - } - - interface IHttpProvider extends IServiceProvider { - defaults: IHttpProviderDefaults; - - /** - * Register service factories (names or implementations) for interceptors which are called before and after - * each request. - */ - interceptors: (string | Injectable)[]; - useApplyAsync(): boolean; - useApplyAsync(value: boolean): IHttpProvider; - - /** - * - * @param {boolean=} value If true, `$http` will return a normal promise without the `success` and `error` methods. - * @returns {boolean|Object} If a value is specified, returns the $httpProvider for chaining. - * otherwise, returns the current configured value. - */ - useLegacyPromiseExtensions(value:boolean) : boolean | IHttpProvider; - } - - /////////////////////////////////////////////////////////////////////////// - // HttpBackendService - // see http://docs.angularjs.org/api/ng.$httpBackend - // You should never need to use this service directly. - /////////////////////////////////////////////////////////////////////////// - interface IHttpBackendService { - // XXX Perhaps define callback signature in the future - (method: string, url: string, post?: any, callback?: Function, headers?: any, timeout?: number, withCredentials?: boolean): void; - } - - /////////////////////////////////////////////////////////////////////////// - // InterpolateService - // see http://docs.angularjs.org/api/ng.$interpolate - // see http://docs.angularjs.org/api/ng.$interpolateProvider - /////////////////////////////////////////////////////////////////////////// - interface IInterpolateService { - (text: string, mustHaveExpression?: boolean, trustedContext?: string, allOrNothing?: boolean): IInterpolationFunction; - endSymbol(): string; - startSymbol(): string; - } - - interface IInterpolationFunction { - (context: any): string; - } - - interface IInterpolateProvider extends IServiceProvider { - startSymbol(): string; - startSymbol(value: string): IInterpolateProvider; - endSymbol(): string; - endSymbol(value: string): IInterpolateProvider; - } - - /////////////////////////////////////////////////////////////////////////// - // TemplateCacheService - // see http://docs.angularjs.org/api/ng.$templateCache - /////////////////////////////////////////////////////////////////////////// - interface ITemplateCacheService extends ICacheObject {} - - /////////////////////////////////////////////////////////////////////////// - // SCEService - // see http://docs.angularjs.org/api/ng.$sce - /////////////////////////////////////////////////////////////////////////// - interface ISCEService { - getTrusted(type: string, mayBeTrusted: any): any; - getTrustedCss(value: any): any; - getTrustedHtml(value: any): any; - getTrustedJs(value: any): any; - getTrustedResourceUrl(value: any): any; - getTrustedUrl(value: any): any; - parse(type: string, expression: string): (context: any, locals: any) => any; - parseAsCss(expression: string): (context: any, locals: any) => any; - parseAsHtml(expression: string): (context: any, locals: any) => any; - parseAsJs(expression: string): (context: any, locals: any) => any; - parseAsResourceUrl(expression: string): (context: any, locals: any) => any; - parseAsUrl(expression: string): (context: any, locals: any) => any; - trustAs(type: string, value: any): any; - trustAsHtml(value: any): any; - trustAsJs(value: any): any; - trustAsResourceUrl(value: any): any; - trustAsUrl(value: any): any; - isEnabled(): boolean; - } - - /////////////////////////////////////////////////////////////////////////// - // SCEProvider - // see http://docs.angularjs.org/api/ng.$sceProvider - /////////////////////////////////////////////////////////////////////////// - interface ISCEProvider extends IServiceProvider { - enabled(value: boolean): void; - } - - /////////////////////////////////////////////////////////////////////////// - // SCEDelegateService - // see http://docs.angularjs.org/api/ng.$sceDelegate - /////////////////////////////////////////////////////////////////////////// - interface ISCEDelegateService { - getTrusted(type: string, mayBeTrusted: any): any; - trustAs(type: string, value: any): any; - valueOf(value: any): any; - } - - - /////////////////////////////////////////////////////////////////////////// - // SCEDelegateProvider - // see http://docs.angularjs.org/api/ng.$sceDelegateProvider - /////////////////////////////////////////////////////////////////////////// - interface ISCEDelegateProvider extends IServiceProvider { - resourceUrlBlacklist(blacklist: any[]): void; - resourceUrlWhitelist(whitelist: any[]): void; - resourceUrlBlacklist(): any[]; - resourceUrlWhitelist(): any[]; - } - - /** - * $templateRequest service - * see http://docs.angularjs.org/api/ng/service/$templateRequest - */ - interface ITemplateRequestService { - /** - * Downloads a template using $http and, upon success, stores the - * contents inside of $templateCache. - * - * If the HTTP request fails or the response data of the HTTP request is - * empty then a $compile error will be thrown (unless - * {ignoreRequestError} is set to true). - * - * @param tpl The template URL. - * @param ignoreRequestError Whether or not to ignore the exception - * when the request fails or the template is - * empty. - * - * @return A promise whose value is the template content. - */ - (tpl: string, ignoreRequestError?: boolean): IPromise; - /** - * total amount of pending template requests being downloaded. - * @type {number} - */ - totalPendingRequests: number; - } - - /////////////////////////////////////////////////////////////////////////// - // Component - // see http://angularjs.blogspot.com.br/2015/11/angularjs-15-beta2-and-14-releases.html - // and http://toddmotto.com/exploring-the-angular-1-5-component-method/ - /////////////////////////////////////////////////////////////////////////// - /** - * Component definition object (a simplified directive definition object) - */ - interface IComponentOptions { - /** - * Controller constructor function that should be associated with newly created scope or the name of a registered - * controller if passed as a string. Empty function by default. - * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection) - */ - controller?: string | Injectable; - /** - * An identifier name for a reference to the controller. If present, the controller will be published to its scope under - * the specified name. If not present, this will default to '$ctrl'. - */ - controllerAs?: string; - /** - * html template as a string or a function that returns an html template as a string which should be used as the - * contents of this component. Empty string by default. - * If template is a function, then it is injected with the following locals: - * $element - Current element - * $attrs - Current attributes object for the element - * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection) - */ - template?: string | Injectable<(...args: any[]) => string>; - /** - * Path or function that returns a path to an html template that should be used as the contents of this component. - * If templateUrl is a function, then it is injected with the following locals: - * $element - Current element - * $attrs - Current attributes object for the element - * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection) - */ - templateUrl?: string | Injectable<(...args: any[]) => string>; - /** - * Define DOM attribute binding to component properties. Component properties are always bound to the component - * controller and not to the scope. - */ - bindings?: {[boundProperty: string]: string}; - /** - * Whether transclusion is enabled. Disabled by default. - */ - transclude?: boolean | {[slot: string]: string}; - /** - * Requires the controllers of other directives and binds them to this component's controller. - * The object keys specify the property names under which the required controllers (object values) will be bound. - * Note that the required controllers will not be available during the instantiation of the controller, - * but they are guaranteed to be available just before the $onInit method is executed! - */ - require?: {[controller: string]: string}; - } - - type IControllerConstructor = - (new (...args: any[]) => IController) | - // Instead of classes, plain functions are often used as controller constructors, especially in examples. - ((...args: any[]) => (void | IController)); - - /** - * Directive controllers have a well-defined lifecycle. Each controller can implement "lifecycle hooks". These are methods that - * will be called by Angular at certain points in the life cycle of the directive. - * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks - * https://docs.angularjs.org/guide/component - */ - interface IController { - /** - * Called on each controller after all the controllers on an element have been constructed and had their bindings - * initialized (and before the pre & post linking functions for the directives on this element). This is a good - * place to put initialization code for your controller. - */ - $onInit?(): void; - /** - * Called on each turn of the digest cycle. Provides an opportunity to detect and act on changes. - * Any actions that you wish to take in response to the changes that you detect must be invoked from this hook; - * implementing this has no effect on when `$onChanges` is called. For example, this hook could be useful if you wish - * to perform a deep equality check, or to check a `Dat`e object, changes to which would not be detected by Angular's - * change detector and thus not trigger `$onChanges`. This hook is invoked with no arguments; if detecting changes, - * you must store the previous value(s) for comparison to the current values. - */ - $doCheck?(): void; - /** - * Called whenever one-way bindings are updated. The onChangesObj is a hash whose keys are the names of the bound - * properties that have changed, and the values are an {@link IChangesObject} object of the form - * { currentValue, previousValue, isFirstChange() }. Use this hook to trigger updates within a component such as - * cloning the bound value to prevent accidental mutation of the outer value. - */ - $onChanges?(onChangesObj: IOnChangesObject): void; - /** - * Called on a controller when its containing scope is destroyed. Use this hook for releasing external resources, - * watches and event handlers. - */ - $onDestroy?(): void; - /** - * Called after this controller's element and its children have been linked. Similar to the post-link function this - * hook can be used to set up DOM event handlers and do direct DOM manipulation. Note that child elements that contain - * templateUrl directives will not have been compiled and linked since they are waiting for their template to load - * asynchronously and their own compilation and linking has been suspended until that occurs. This hook can be considered - * analogous to the ngAfterViewInit and ngAfterContentInit hooks in Angular 2. Since the compilation process is rather - * different in Angular 1 there is no direct mapping and care should be taken when upgrading. - */ - $postLink?(): void; - } - - interface IOnChangesObject { - [property: string]: IChangesObject; - } - - interface IChangesObject { - currentValue: T; - previousValue: T; - isFirstChange(): boolean; - } - - /////////////////////////////////////////////////////////////////////////// - // Directive - // see http://docs.angularjs.org/api/ng.$compileProvider#directive - // and http://docs.angularjs.org/guide/directive - /////////////////////////////////////////////////////////////////////////// - - interface IDirectiveFactory { - (...args: any[]): IDirective | IDirectiveLinkFn; - } - - interface IDirectiveLinkFn { - ( - scope: IScope, - instanceElement: JQuery, - instanceAttributes: IAttributes, - controller?: IController | IController[] | {[key: string]: IController}, - transclude?: ITranscludeFunction - ): void; - } - - interface IDirectivePrePost { - pre?: IDirectiveLinkFn; - post?: IDirectiveLinkFn; - } - - interface IDirectiveCompileFn { - ( - templateElement: JQuery, - templateAttributes: IAttributes, - /** - * @deprecated - * Note: The transclude function that is passed to the compile function is deprecated, - * as it e.g. does not know about the right outer scope. Please use the transclude function - * that is passed to the link function instead. - */ - transclude: ITranscludeFunction - ): void | IDirectiveLinkFn | IDirectivePrePost; - } - - interface IDirective { - compile?: IDirectiveCompileFn; - controller?: string | Injectable; - controllerAs?: string; - /** - * Deprecation warning: although bindings for non-ES6 class controllers are currently bound to this before - * the controller constructor is called, this use is now deprecated. Please place initialization code that - * relies upon bindings inside a $onInit method on the controller, instead. - */ - bindToController?: boolean | {[boundProperty: string]: string}; - link?: IDirectiveLinkFn | IDirectivePrePost; - multiElement?: boolean; - priority?: number; - /** - * @deprecated - */ - replace?: boolean; - require?: string | string[] | {[controller: string]: string}; - restrict?: string; - scope?: boolean | {[boundProperty: string]: string}; - template?: string | ((tElement: JQuery, tAttrs: IAttributes) => string); - templateNamespace?: string; - templateUrl?: string | ((tElement: JQuery, tAttrs: IAttributes) => string); - terminal?: boolean; - transclude?: boolean | 'element' | {[slot: string]: string}; - } - - /** - * These interfaces are kept for compatibility with older versions of these type definitions. - * Actually, Angular doesn't create a special subclass of jQuery objects. It extends jQuery.prototype - * like jQuery plugins do, that's why all jQuery objects have these Angular-specific methods, not - * only those returned from angular.element. - * See: http://docs.angularjs.org/api/angular.element - */ - interface IAugmentedJQueryStatic extends JQueryStatic {} - interface IAugmentedJQuery extends JQuery {} - - /** - * Same as IController. Keeping it for compatibility with older versions of these type definitions. - */ - interface IComponentController extends IController {} - - /////////////////////////////////////////////////////////////////////////// - // AUTO module (angular.js) - /////////////////////////////////////////////////////////////////////////// - export module auto { - - /////////////////////////////////////////////////////////////////////// - // InjectorService - // see http://docs.angularjs.org/api/AUTO.$injector - /////////////////////////////////////////////////////////////////////// - interface IInjectorService { - annotate(fn: Function, strictDi?: boolean): string[]; - annotate(inlineAnnotatedFunction: any[]): string[]; - get(name: string, caller?: string): T; - get(name: '$anchorScroll'): IAnchorScrollService - get(name: '$cacheFactory'): ICacheFactoryService - get(name: '$compile'): ICompileService - get(name: '$controller'): IControllerService - get(name: '$document'): IDocumentService - get(name: '$exceptionHandler'): IExceptionHandlerService - get(name: '$filter'): IFilterService - get(name: '$http'): IHttpService - get(name: '$httpBackend'): IHttpBackendService - get(name: '$httpParamSerializer'): IHttpParamSerializer - get(name: '$httpParamSerializerJQLike'): IHttpParamSerializer - get(name: '$interpolate'): IInterpolateService - get(name: '$interval'): IIntervalService - get(name: '$locale'): ILocaleService - get(name: '$location'): ILocationService - get(name: '$log'): ILogService - get(name: '$parse'): IParseService - get(name: '$q'): IQService - get(name: '$rootElement'): IRootElementService - get(name: '$rootScope'): IRootScopeService - get(name: '$sce'): ISCEService - get(name: '$sceDelegate'): ISCEDelegateService - get(name: '$templateCache'): ITemplateCacheService - get(name: '$templateRequest'): ITemplateRequestService - get(name: '$timeout'): ITimeoutService - get(name: '$window'): IWindowService - get(name: '$xhrFactory'): IXhrFactory - has(name: string): boolean; - instantiate(typeConstructor: Function, locals?: any): T; - invoke(inlineAnnotatedFunction: any[]): any; - invoke(func: Function, context?: any, locals?: any): any; - strictDi: boolean; - } - - /////////////////////////////////////////////////////////////////////// - // ProvideService - // see http://docs.angularjs.org/api/AUTO.$provide - /////////////////////////////////////////////////////////////////////// - interface IProvideService { - // Documentation says it returns the registered instance, but actual - // implementation does not return anything. - // constant(name: string, value: any): any; - /** - * Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator. - * - * @param name The name of the constant. - * @param value The constant value. - */ - constant(name: string, value: any): void; - - /** - * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service. - * - * @param name The name of the service to decorate. - * @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments: - * - * $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to. - */ - decorator(name: string, decorator: Function): void; - /** - * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service. - * - * @param name The name of the service to decorate. - * @param inlineAnnotatedFunction This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments: - * - * $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to. - */ - decorator(name: string, inlineAnnotatedFunction: any[]): void; - factory(name: string, serviceFactoryFunction: Function): IServiceProvider; - factory(name: string, inlineAnnotatedFunction: any[]): IServiceProvider; - provider(name: string, provider: IServiceProvider): IServiceProvider; - provider(name: string, serviceProviderConstructor: Function): IServiceProvider; - service(name: string, constructor: Function): IServiceProvider; - service(name: string, inlineAnnotatedFunction: any[]): IServiceProvider; - value(name: string, value: any): IServiceProvider; - } - - } - - /** - * $http params serializer that converts objects to strings - * see https://docs.angularjs.org/api/ng/service/$httpParamSerializer - */ - interface IHttpParamSerializer { - (obj: Object): string; - } -} - -interface JQuery { - // TODO: events, how to define? - //$destroy - - find(element: any): JQuery; - find(obj: JQuery): JQuery; - controller(name?: string): any; - injector(): ng.auto.IInjectorService; - /** It's declared generic for custom scope interfaces */ - scope(): T; - isolateScope(): T; - - inheritedData(key: string, value: any): JQuery; - inheritedData(obj: { [key: string]: any; }): JQuery; - inheritedData(key?: string): any; -} diff --git a/samples/angular-mostpopularitems/typings/assertion-error/assertion-error.d.ts b/samples/angular-mostpopularitems/typings/assertion-error/assertion-error.d.ts deleted file mode 100644 index 08217c9e5..000000000 --- a/samples/angular-mostpopularitems/typings/assertion-error/assertion-error.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Type definitions for assertion-error 1.0.0 -// Project: https://github.com/chaijs/assertion-error -// Definitions by: Bart van der Schoor -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -declare module 'assertion-error' { - class AssertionError implements Error { - constructor(message: string, props?: any, ssf?: Function); - name: string; - message: string; - showDiff: boolean; - stack: string; - } - export = AssertionError; -} diff --git a/samples/angular-mostpopularitems/typings/chai/chai.d.ts b/samples/angular-mostpopularitems/typings/chai/chai.d.ts deleted file mode 100644 index da4d718e1..000000000 --- a/samples/angular-mostpopularitems/typings/chai/chai.d.ts +++ /dev/null @@ -1,388 +0,0 @@ -// Type definitions for chai 3.2.0 -// Project: http://chaijs.com/ -// Definitions by: Jed Mao , -// Bart van der Schoor , -// Andrew Brown , -// Olivier Chevet -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -// - -declare module Chai { - - interface ChaiStatic { - expect: ExpectStatic; - should(): Should; - /** - * Provides a way to extend the internals of Chai - */ - use(fn: (chai: any, utils: any) => void): any; - assert: AssertStatic; - config: Config; - AssertionError: AssertionError; - } - - export interface ExpectStatic extends AssertionStatic { - fail(actual?: any, expected?: any, message?: string, operator?: string): void; - } - - export interface AssertStatic extends Assert { - } - - export interface AssertionStatic { - (target: any, message?: string): Assertion; - } - - interface ShouldAssertion { - equal(value1: any, value2: any, message?: string): void; - Throw: ShouldThrow; - throw: ShouldThrow; - exist(value: any, message?: string): void; - } - - interface Should extends ShouldAssertion { - not: ShouldAssertion; - fail(actual: any, expected: any, message?: string, operator?: string): void; - } - - interface ShouldThrow { - (actual: Function): void; - (actual: Function, expected: string|RegExp, message?: string): void; - (actual: Function, constructor: Error|Function, expected?: string|RegExp, message?: string): void; - } - - interface Assertion extends LanguageChains, NumericComparison, TypeComparison { - not: Assertion; - deep: Deep; - any: KeyFilter; - all: KeyFilter; - a: TypeComparison; - an: TypeComparison; - include: Include; - includes: Include; - contain: Include; - contains: Include; - ok: Assertion; - true: Assertion; - false: Assertion; - null: Assertion; - undefined: Assertion; - NaN: Assertion; - exist: Assertion; - empty: Assertion; - arguments: Assertion; - Arguments: Assertion; - equal: Equal; - equals: Equal; - eq: Equal; - eql: Equal; - eqls: Equal; - property: Property; - ownProperty: OwnProperty; - haveOwnProperty: OwnProperty; - ownPropertyDescriptor: OwnPropertyDescriptor; - haveOwnPropertyDescriptor: OwnPropertyDescriptor; - length: Length; - lengthOf: Length; - match: Match; - matches: Match; - string(string: string, message?: string): Assertion; - keys: Keys; - key(string: string): Assertion; - throw: Throw; - throws: Throw; - Throw: Throw; - respondTo: RespondTo; - respondsTo: RespondTo; - itself: Assertion; - satisfy: Satisfy; - satisfies: Satisfy; - closeTo(expected: number, delta: number, message?: string): Assertion; - members: Members; - increase: PropertyChange; - increases: PropertyChange; - decrease: PropertyChange; - decreases: PropertyChange; - change: PropertyChange; - changes: PropertyChange; - extensible: Assertion; - sealed: Assertion; - frozen: Assertion; - - } - - interface LanguageChains { - to: Assertion; - be: Assertion; - been: Assertion; - is: Assertion; - that: Assertion; - which: Assertion; - and: Assertion; - has: Assertion; - have: Assertion; - with: Assertion; - at: Assertion; - of: Assertion; - same: Assertion; - } - - interface NumericComparison { - above: NumberComparer; - gt: NumberComparer; - greaterThan: NumberComparer; - least: NumberComparer; - gte: NumberComparer; - below: NumberComparer; - lt: NumberComparer; - lessThan: NumberComparer; - most: NumberComparer; - lte: NumberComparer; - within(start: number, finish: number, message?: string): Assertion; - } - - interface NumberComparer { - (value: number, message?: string): Assertion; - } - - interface TypeComparison { - (type: string, message?: string): Assertion; - instanceof: InstanceOf; - instanceOf: InstanceOf; - } - - interface InstanceOf { - (constructor: Object, message?: string): Assertion; - } - - interface Deep { - equal: Equal; - include: Include; - property: Property; - members: Members; - } - - interface KeyFilter { - keys: Keys; - } - - interface Equal { - (value: any, message?: string): Assertion; - } - - interface Property { - (name: string, value?: any, message?: string): Assertion; - } - - interface OwnProperty { - (name: string, message?: string): Assertion; - } - - interface OwnPropertyDescriptor { - (name: string, descriptor: PropertyDescriptor, message?: string): Assertion; - (name: string, message?: string): Assertion; - } - - interface Length extends LanguageChains, NumericComparison { - (length: number, message?: string): Assertion; - } - - interface Include { - (value: Object, message?: string): Assertion; - (value: string, message?: string): Assertion; - (value: number, message?: string): Assertion; - keys: Keys; - members: Members; - any: KeyFilter; - all: KeyFilter; - } - - interface Match { - (regexp: RegExp|string, message?: string): Assertion; - } - - interface Keys { - (...keys: string[]): Assertion; - (keys: any[]): Assertion; - (keys: Object): Assertion; - } - - interface Throw { - (): Assertion; - (expected: string, message?: string): Assertion; - (expected: RegExp, message?: string): Assertion; - (constructor: Error, expected?: string, message?: string): Assertion; - (constructor: Error, expected?: RegExp, message?: string): Assertion; - (constructor: Function, expected?: string, message?: string): Assertion; - (constructor: Function, expected?: RegExp, message?: string): Assertion; - } - - interface RespondTo { - (method: string, message?: string): Assertion; - } - - interface Satisfy { - (matcher: Function, message?: string): Assertion; - } - - interface Members { - (set: any[], message?: string): Assertion; - } - - interface PropertyChange { - (object: Object, prop: string, msg?: string): Assertion; - } - - export interface Assert { - /** - * @param expression Expression to test for truthiness. - * @param message Message to display on error. - */ - (expression: any, message?: string): void; - - fail(actual?: any, expected?: any, msg?: string, operator?: string): void; - - ok(val: any, msg?: string): void; - isOk(val: any, msg?: string): void; - notOk(val: any, msg?: string): void; - isNotOk(val: any, msg?: string): void; - - equal(act: any, exp: any, msg?: string): void; - notEqual(act: any, exp: any, msg?: string): void; - - strictEqual(act: any, exp: any, msg?: string): void; - notStrictEqual(act: any, exp: any, msg?: string): void; - - deepEqual(act: any, exp: any, msg?: string): void; - notDeepEqual(act: any, exp: any, msg?: string): void; - - isTrue(val: any, msg?: string): void; - isFalse(val: any, msg?: string): void; - - isNull(val: any, msg?: string): void; - isNotNull(val: any, msg?: string): void; - - isUndefined(val: any, msg?: string): void; - isDefined(val: any, msg?: string): void; - - isNaN(val: any, msg?: string): void; - isNotNaN(val: any, msg?: string): void; - - isAbove(val: number, abv: number, msg?: string): void; - isBelow(val: number, blw: number, msg?: string): void; - - isFunction(val: any, msg?: string): void; - isNotFunction(val: any, msg?: string): void; - - isObject(val: any, msg?: string): void; - isNotObject(val: any, msg?: string): void; - - isArray(val: any, msg?: string): void; - isNotArray(val: any, msg?: string): void; - - isString(val: any, msg?: string): void; - isNotString(val: any, msg?: string): void; - - isNumber(val: any, msg?: string): void; - isNotNumber(val: any, msg?: string): void; - - isBoolean(val: any, msg?: string): void; - isNotBoolean(val: any, msg?: string): void; - - typeOf(val: any, type: string, msg?: string): void; - notTypeOf(val: any, type: string, msg?: string): void; - - instanceOf(val: any, type: Function, msg?: string): void; - notInstanceOf(val: any, type: Function, msg?: string): void; - - include(exp: string, inc: any, msg?: string): void; - include(exp: any[], inc: any, msg?: string): void; - - notInclude(exp: string, inc: any, msg?: string): void; - notInclude(exp: any[], inc: any, msg?: string): void; - - match(exp: any, re: RegExp, msg?: string): void; - notMatch(exp: any, re: RegExp, msg?: string): void; - - property(obj: Object, prop: string, msg?: string): void; - notProperty(obj: Object, prop: string, msg?: string): void; - deepProperty(obj: Object, prop: string, msg?: string): void; - notDeepProperty(obj: Object, prop: string, msg?: string): void; - - propertyVal(obj: Object, prop: string, val: any, msg?: string): void; - propertyNotVal(obj: Object, prop: string, val: any, msg?: string): void; - - deepPropertyVal(obj: Object, prop: string, val: any, msg?: string): void; - deepPropertyNotVal(obj: Object, prop: string, val: any, msg?: string): void; - - lengthOf(exp: any, len: number, msg?: string): void; - //alias frenzy - throw(fn: Function, msg?: string): void; - throw(fn: Function, regExp: RegExp): void; - throw(fn: Function, errType: Function, msg?: string): void; - throw(fn: Function, errType: Function, regExp: RegExp): void; - - throws(fn: Function, msg?: string): void; - throws(fn: Function, regExp: RegExp): void; - throws(fn: Function, errType: Function, msg?: string): void; - throws(fn: Function, errType: Function, regExp: RegExp): void; - - Throw(fn: Function, msg?: string): void; - Throw(fn: Function, regExp: RegExp): void; - Throw(fn: Function, errType: Function, msg?: string): void; - Throw(fn: Function, errType: Function, regExp: RegExp): void; - - doesNotThrow(fn: Function, msg?: string): void; - doesNotThrow(fn: Function, regExp: RegExp): void; - doesNotThrow(fn: Function, errType: Function, msg?: string): void; - doesNotThrow(fn: Function, errType: Function, regExp: RegExp): void; - - operator(val: any, operator: string, val2: any, msg?: string): void; - closeTo(act: number, exp: number, delta: number, msg?: string): void; - - sameMembers(set1: any[], set2: any[], msg?: string): void; - sameDeepMembers(set1: any[], set2: any[], msg?: string): void; - includeMembers(superset: any[], subset: any[], msg?: string): void; - - ifError(val: any, msg?: string): void; - - isExtensible(obj: {}, msg?: string): void; - extensible(obj: {}, msg?: string): void; - isNotExtensible(obj: {}, msg?: string): void; - notExtensible(obj: {}, msg?: string): void; - - isSealed(obj: {}, msg?: string): void; - sealed(obj: {}, msg?: string): void; - isNotSealed(obj: {}, msg?: string): void; - notSealed(obj: {}, msg?: string): void; - - isFrozen(obj: Object, msg?: string): void; - frozen(obj: Object, msg?: string): void; - isNotFrozen(obj: Object, msg?: string): void; - notFrozen(obj: Object, msg?: string): void; - - - } - - export interface Config { - includeStack: boolean; - } - - export class AssertionError { - constructor(message: string, _props?: any, ssf?: Function); - name: string; - message: string; - showDiff: boolean; - stack: string; - } -} - -declare var chai: Chai.ChaiStatic; - -declare module "chai" { - export = chai; -} - -interface Object { - should: Chai.Assertion; -} diff --git a/samples/angular-mostpopularitems/typings/combokeys/combokeys.d.ts b/samples/angular-mostpopularitems/typings/combokeys/combokeys.d.ts deleted file mode 100644 index f7e1e5b03..000000000 --- a/samples/angular-mostpopularitems/typings/combokeys/combokeys.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -// Type definitions for Combokeys v2.4.6 -// Project: https://github.com/PolicyStat/combokeys -// Definitions by: Ian Clanton-Thuon -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare namespace Combokeys { - interface CombokeysStatic { - new (element: Element): Combokeys; - - /** - * all instances of Combokeys - */ - instances: Combokeys[]; - - /** - * reset all instances - */ - reset(): void; - } - - interface Combokeys { - element: Element; - - /** - * binds an event to Combokeys - * - * can be a single key, a combination of keys separated with +, - * an array of keys, or a sequence of keys separated by spaces - * - * be sure to list the modifier keys first to make sure that the - * correct key ends up getting bound (the last key in the pattern) - * - * @param {keys} key combination or combinations - * @param {callback} callback function - * @param {handler} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - bind(keys: string | string[], callback: () => void, action?: string): void; - - - /** - * binds multiple combinations to the same callback - * - * @param {keys} key combinations - * @param {callback} callback function - * @param {handler} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - bindMultiple(keys: string[], callback: () => void, action?: string): void; - - /** - * unbinds an event to Combokeys - * - * the unbinding sets the callback function of the specified key combo - * to an empty function and deletes the corresponding key in the - * directMap dict. - * - * the keycombo+action has to be exactly the same as - * it was defined in the bind method - * - * @param {keys} key combination or combinations - * @param {action} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - unbind(keys: string | string[], action?: string): void; - - /** - * triggers an event that has already been bound - * - * @param {keys} key combination - * @param {action} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - trigger(keys: string, action?: string): void; - - /** - * resets the library back to its initial state. This is useful - * if you want to clear out the current keyboard shortcuts and bind - * new ones - for example if you switch to another page - * - * @returns void - */ - reset(): void; - - /** - * should we stop this event before firing off callbacks - * - * @param {e} event - * @param {element} bound element - * @return {boolean} - */ - stopCallback(e: Event, element: Element): boolean; - - /** - * detach all listners from the bound element - * - * @return {void} - */ - detach(): void; - } -} - -declare var combokeys: Combokeys.CombokeysStatic; - -declare module "combokeys" { - export = combokeys; -} diff --git a/samples/angular-mostpopularitems/typings/es6-collections/es6-collections.d.ts b/samples/angular-mostpopularitems/typings/es6-collections/es6-collections.d.ts deleted file mode 100644 index bc39df295..000000000 --- a/samples/angular-mostpopularitems/typings/es6-collections/es6-collections.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -// Type definitions for es6-collections v0.5.1 -// Project: https://github.com/WebReflection/es6-collections/ -// Definitions by: Ron Buckton -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/* ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -interface IteratorResult { - done: boolean; - value?: T; -} - -interface Iterator { - next(value?: any): IteratorResult; - return?(value?: any): IteratorResult; - throw?(e?: any): IteratorResult; -} - -interface ForEachable { - forEach(callbackfn: (value: T) => void): void; -} - -interface Map { - clear(): void; - delete(key: K): boolean; - forEach(callbackfn: (value: V, index: K, map: Map) => void, thisArg?: any): void; - get(key: K): V; - has(key: K): boolean; - set(key: K, value?: V): Map; - entries(): Iterator<[K, V]>; - keys(): Iterator; - values(): Iterator; - size: number; -} - -interface MapConstructor { - new (): Map; - new (iterable: ForEachable<[K, V]>): Map; - prototype: Map; -} - -declare var Map: MapConstructor; - -interface Set { - add(value: T): Set; - clear(): void; - delete(value: T): boolean; - forEach(callbackfn: (value: T, index: T, set: Set) => void, thisArg?: any): void; - has(value: T): boolean; - entries(): Iterator<[T, T]>; - keys(): Iterator; - values(): Iterator; - size: number; -} - -interface SetConstructor { - new (): Set; - new (iterable: ForEachable): Set; - prototype: Set; -} - -declare var Set: SetConstructor; - -interface WeakMap { - delete(key: K): boolean; - clear(): void; - get(key: K): V; - has(key: K): boolean; - set(key: K, value?: V): WeakMap; -} - -interface WeakMapConstructor { - new (): WeakMap; - new (iterable: ForEachable<[K, V]>): WeakMap; - prototype: WeakMap; -} - -declare var WeakMap: WeakMapConstructor; - -interface WeakSet { - delete(value: T): boolean; - clear(): void; - add(value: T): WeakSet; - has(value: T): boolean; -} - -interface WeakSetConstructor { - new (): WeakSet; - new (iterable: ForEachable): WeakSet; - prototype: WeakSet; -} - -declare var WeakSet: WeakSetConstructor; - -declare module "es6-collections" { - var Map: MapConstructor; - var Set: SetConstructor; - var WeakMap: WeakMapConstructor; - var WeakSet: WeakSetConstructor; -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/typings/es6-promise/es6-promise.d.ts b/samples/angular-mostpopularitems/typings/es6-promise/es6-promise.d.ts deleted file mode 100644 index a8f8d7845..000000000 --- a/samples/angular-mostpopularitems/typings/es6-promise/es6-promise.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Type definitions for es6-promise -// Project: https://github.com/jakearchibald/ES6-Promise -// Definitions by: François de Campredon , vvakame -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -interface Thenable { - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => U | Thenable): Thenable; - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => void): Thenable; - catch(onRejected?: (error: any) => U | Thenable): Thenable; -} - -declare class Promise implements Thenable { - /** - * If you call resolve in the body of the callback passed to the constructor, - * your promise is fulfilled with result object passed to resolve. - * If you call reject your promise is rejected with the object passed to reject. - * For consistency and debugging (eg stack traces), obj should be an instanceof Error. - * Any errors thrown in the constructor callback will be implicitly passed to reject(). - */ - constructor(callback: (resolve : (value?: R | Thenable) => void, reject: (error?: any) => void) => void); - - /** - * onFulfilled is called when/if "promise" resolves. onRejected is called when/if "promise" rejects. - * Both are optional, if either/both are omitted the next onFulfilled/onRejected in the chain is called. - * Both callbacks have a single parameter , the fulfillment value or rejection reason. - * "then" returns a new promise equivalent to the value you return from onFulfilled/onRejected after being passed through Promise.resolve. - * If an error is thrown in the callback, the returned promise rejects with that error. - * - * @param onFulfilled called when/if "promise" resolves - * @param onRejected called when/if "promise" rejects - */ - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => U | Thenable): Promise; - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => void): Promise; - - /** - * Sugar for promise.then(undefined, onRejected) - * - * @param onRejected called when/if "promise" rejects - */ - catch(onRejected?: (error: any) => U | Thenable): Promise; -} - -declare module Promise { - /** - * Make a new promise from the thenable. - * A thenable is promise-like in as far as it has a "then" method. - */ - function resolve(value?: R | Thenable): Promise; - - /** - * Make a promise that rejects to obj. For consistency and debugging (eg stack traces), obj should be an instanceof Error - */ - function reject(error: any): Promise; - - /** - * Make a promise that fulfills when every item in the array fulfills, and rejects if (and when) any item rejects. - * the array passed to all can be a mixture of promise-like objects and other objects. - * The fulfillment value is an array (in order) of fulfillment values. The rejection value is the first rejection value. - */ - function all(promises: (R | Thenable)[]): Promise; - - /** - * Make a Promise that fulfills when any item fulfills, and rejects if any item rejects. - */ - function race(promises: (R | Thenable)[]): Promise; -} - -declare module 'es6-promise' { - var foo: typeof Promise; // Temp variable to reference Promise in local context - module rsvp { - export var Promise: typeof foo; - } - export = rsvp; -} diff --git a/samples/angular-mostpopularitems/typings/jquery/jquery.d.ts b/samples/angular-mostpopularitems/typings/jquery/jquery.d.ts deleted file mode 100644 index f8af62cab..000000000 --- a/samples/angular-mostpopularitems/typings/jquery/jquery.d.ts +++ /dev/null @@ -1,3249 +0,0 @@ -// Type definitions for jQuery 1.10.x / 2.0.x -// Project: http://jquery.com/ -// Definitions by: Boris Yankov , Christian Hoffmeister , Steve Fenton , Diullei Gomes , Tass Iliopoulos , Jason Swearingen , Sean Hill , Guus Goossens , Kelly Summerlin , Basarat Ali Syed , Nicholas Wolverson , Derek Cicerone , Andrew Gaspar , James Harrison Fisher , Seikichi Kondo , Benjamin Jackman , Poul Sorensen , Josh Strobl , John Reilly , Dick van den Brink -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/* ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - - -/** - * Interface for the AJAX setting that will configure the AJAX request - */ -interface JQueryAjaxSettings { - /** - * The content type sent in the request header that tells the server what kind of response it will accept in return. If the accepts setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. - */ - accepts?: any; - /** - * By default, all requests are sent asynchronously (i.e. this is set to true by default). If you need synchronous requests, set this option to false. Cross-domain requests and dataType: "jsonp" requests do not support synchronous operation. Note that synchronous requests may temporarily lock the browser, disabling any actions while the request is active. As of jQuery 1.8, the use of async: false with jqXHR ($.Deferred) is deprecated; you must use the success/error/complete callback options instead of the corresponding methods of the jqXHR object such as jqXHR.done() or the deprecated jqXHR.success(). - */ - async?: boolean; - /** - * A pre-request callback function that can be used to modify the jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object before it is sent. Use this to set custom headers, etc. The jqXHR and settings objects are passed as arguments. This is an Ajax Event. Returning false in the beforeSend function will cancel the request. As of jQuery 1.5, the beforeSend option will be called regardless of the type of request. - */ - beforeSend? (jqXHR: JQueryXHR, settings: JQueryAjaxSettings): any; - /** - * If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending "_={timestamp}" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET. - */ - cache?: boolean; - /** - * A function to be called when the request finishes (after success and error callbacks are executed). The function gets passed two arguments: The jqXHR (in jQuery 1.4.x, XMLHTTPRequest) object and a string categorizing the status of the request ("success", "notmodified", "error", "timeout", "abort", or "parsererror"). As of jQuery 1.5, the complete setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event. - */ - complete? (jqXHR: JQueryXHR, textStatus: string): any; - /** - * An object of string/regular-expression pairs that determine how jQuery will parse the response, given its content type. (version added: 1.5) - */ - contents?: { [key: string]: any; }; - //According to jQuery.ajax source code, ajax's option actually allows contentType to set to "false" - // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/742 - /** - * When sending data to the server, use this content type. Default is "application/x-www-form-urlencoded; charset=UTF-8", which is fine for most cases. If you explicitly pass in a content-type to $.ajax(), then it is always sent to the server (even if no data is sent). The W3C XMLHttpRequest specification dictates that the charset is always UTF-8; specifying another charset will not force the browser to change the encoding. - */ - contentType?: any; - /** - * This object will be made the context of all Ajax-related callbacks. By default, the context is an object that represents the ajax settings used in the call ($.ajaxSettings merged with the settings passed to $.ajax). - */ - context?: any; - /** - * An object containing dataType-to-dataType converters. Each converter's value is a function that returns the transformed value of the response. (version added: 1.5) - */ - converters?: { [key: string]: any; }; - /** - * If you wish to force a crossDomain request (such as JSONP) on the same domain, set the value of crossDomain to true. This allows, for example, server-side redirection to another domain. (version added: 1.5) - */ - crossDomain?: boolean; - /** - * Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See processData option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the traditional setting (described below). - */ - data?: any; - /** - * A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter. - */ - dataFilter? (data: any, ty: any): any; - /** - * The type of data that you're expecting back from the server. If none is specified, jQuery will try to infer it based on the MIME type of the response (an XML MIME type will yield XML, in 1.4 JSON will yield a JavaScript object, in 1.4 script will execute the script, and anything else will be returned as a string). - */ - dataType?: string; - /** - * A function to be called if the request fails. The function receives three arguments: The jqXHR (in jQuery 1.4.x, XMLHttpRequest) object, a string describing the type of error that occurred and an optional exception object, if one occurred. Possible values for the second argument (besides null) are "timeout", "error", "abort", and "parsererror". When an HTTP error occurs, errorThrown receives the textual portion of the HTTP status, such as "Not Found" or "Internal Server Error." As of jQuery 1.5, the error setting can accept an array of functions. Each function will be called in turn. Note: This handler is not called for cross-domain script and cross-domain JSONP requests. This is an Ajax Event. - */ - error? (jqXHR: JQueryXHR, textStatus: string, errorThrown: string): any; - /** - * Whether to trigger global Ajax event handlers for this request. The default is true. Set to false to prevent the global handlers like ajaxStart or ajaxStop from being triggered. This can be used to control various Ajax Events. - */ - global?: boolean; - /** - * An object of additional header key/value pairs to send along with requests using the XMLHttpRequest transport. The header X-Requested-With: XMLHttpRequest is always added, but its default XMLHttpRequest value can be changed here. Values in the headers setting can also be overwritten from within the beforeSend function. (version added: 1.5) - */ - headers?: { [key: string]: any; }; - /** - * Allow the request to be successful only if the response has changed since the last request. This is done by checking the Last-Modified header. Default value is false, ignoring the header. In jQuery 1.4 this technique also checks the 'etag' specified by the server to catch unmodified data. - */ - ifModified?: boolean; - /** - * Allow the current environment to be recognized as "local," (e.g. the filesystem), even if jQuery does not recognize it as such by default. The following protocols are currently recognized as local: file, *-extension, and widget. If the isLocal setting needs modification, it is recommended to do so once in the $.ajaxSetup() method. (version added: 1.5.1) - */ - isLocal?: boolean; - /** - * Override the callback function name in a jsonp request. This value will be used instead of 'callback' in the 'callback=?' part of the query string in the url. So {jsonp:'onJSONPLoad'} would result in 'onJSONPLoad=?' passed to the server. As of jQuery 1.5, setting the jsonp option to false prevents jQuery from adding the "?callback" string to the URL or attempting to use "=?" for transformation. In this case, you should also explicitly set the jsonpCallback setting. For example, { jsonp: false, jsonpCallback: "callbackName" } - */ - jsonp?: any; - /** - * Specify the callback function name for a JSONP request. This value will be used instead of the random name automatically generated by jQuery. It is preferable to let jQuery generate a unique name as it'll make it easier to manage the requests and provide callbacks and error handling. You may want to specify the callback when you want to enable better browser caching of GET requests. As of jQuery 1.5, you can also use a function for this setting, in which case the value of jsonpCallback is set to the return value of that function. - */ - jsonpCallback?: any; - /** - * The HTTP method to use for the request (e.g. "POST", "GET", "PUT"). (version added: 1.9.0) - */ - method?: string; - /** - * A mime type to override the XHR mime type. (version added: 1.5.1) - */ - mimeType?: string; - /** - * A password to be used with XMLHttpRequest in response to an HTTP access authentication request. - */ - password?: string; - /** - * By default, data passed in to the data option as an object (technically, anything other than a string) will be processed and transformed into a query string, fitting to the default content-type "application/x-www-form-urlencoded". If you want to send a DOMDocument, or other non-processed data, set this option to false. - */ - processData?: boolean; - /** - * Only applies when the "script" transport is used (e.g., cross-domain requests with "jsonp" or "script" dataType and "GET" type). Sets the charset attribute on the script tag used in the request. Used when the character set on the local page is not the same as the one on the remote script. - */ - scriptCharset?: string; - /** - * An object of numeric HTTP codes and functions to be called when the response has the corresponding code. f the request is successful, the status code functions take the same parameters as the success callback; if it results in an error (including 3xx redirect), they take the same parameters as the error callback. (version added: 1.5) - */ - statusCode?: { [key: string]: any; }; - /** - * A function to be called if the request succeeds. The function gets passed three arguments: The data returned from the server, formatted according to the dataType parameter; a string describing the status; and the jqXHR (in jQuery 1.4.x, XMLHttpRequest) object. As of jQuery 1.5, the success setting can accept an array of functions. Each function will be called in turn. This is an Ajax Event. - */ - success? (data: any, textStatus: string, jqXHR: JQueryXHR): any; - /** - * Set a timeout (in milliseconds) for the request. This will override any global timeout set with $.ajaxSetup(). The timeout period starts at the point the $.ajax call is made; if several other requests are in progress and the browser has no connections available, it is possible for a request to time out before it can be sent. In jQuery 1.4.x and below, the XMLHttpRequest object will be in an invalid state if the request times out; accessing any object members may throw an exception. In Firefox 3.0+ only, script and JSONP requests cannot be cancelled by a timeout; the script will run even if it arrives after the timeout period. - */ - timeout?: number; - /** - * Set this to true if you wish to use the traditional style of param serialization. - */ - traditional?: boolean; - /** - * The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers. - */ - type?: string; - /** - * A string containing the URL to which the request is sent. - */ - url?: string; - /** - * A username to be used with XMLHttpRequest in response to an HTTP access authentication request. - */ - username?: string; - /** - * Callback for creating the XMLHttpRequest object. Defaults to the ActiveXObject when available (IE), the XMLHttpRequest otherwise. Override to provide your own implementation for XMLHttpRequest or enhancements to the factory. - */ - xhr?: any; - /** - * An object of fieldName-fieldValue pairs to set on the native XHR object. For example, you can use it to set withCredentials to true for cross-domain requests if needed. In jQuery 1.5, the withCredentials property was not propagated to the native XHR and thus CORS requests requiring it would ignore this flag. For this reason, we recommend using jQuery 1.5.1+ should you require the use of it. (version added: 1.5.1) - */ - xhrFields?: { [key: string]: any; }; -} - -/** - * Interface for the jqXHR object - */ -interface JQueryXHR extends XMLHttpRequest, JQueryPromise { - /** - * The .overrideMimeType() method may be used in the beforeSend() callback function, for example, to modify the response content-type header. As of jQuery 1.5.1, the jqXHR object also contains the overrideMimeType() method (it was available in jQuery 1.4.x, as well, but was temporarily removed in jQuery 1.5). - */ - overrideMimeType(mimeType: string): any; - /** - * Cancel the request. - * - * @param statusText A string passed as the textStatus parameter for the done callback. Default value: "canceled" - */ - abort(statusText?: string): void; - /** - * Incorporates the functionality of the .done() and .fail() methods, allowing (as of jQuery 1.8) the underlying Promise to be manipulated. Refer to deferred.then() for implementation details. - */ - then(doneCallback: (data: any, textStatus: string, jqXHR: JQueryXHR) => R, failCallback?: (jqXHR: JQueryXHR, textStatus: string, errorThrown: any) => void): JQueryPromise; - /** - * Property containing the parsed response if the response Content-Type is json - */ - responseJSON?: any; - /** - * A function to be called if the request fails. - */ - error(xhr: JQueryXHR, textStatus: string, errorThrown: string): void; -} - -/** - * Interface for the JQuery callback - */ -interface JQueryCallback { - /** - * Add a callback or a collection of callbacks to a callback list. - * - * @param callbacks A function, or array of functions, that are to be added to the callback list. - */ - add(callbacks: Function): JQueryCallback; - /** - * Add a callback or a collection of callbacks to a callback list. - * - * @param callbacks A function, or array of functions, that are to be added to the callback list. - */ - add(callbacks: Function[]): JQueryCallback; - - /** - * Disable a callback list from doing anything more. - */ - disable(): JQueryCallback; - - /** - * Determine if the callbacks list has been disabled. - */ - disabled(): boolean; - - /** - * Remove all of the callbacks from a list. - */ - empty(): JQueryCallback; - - /** - * Call all of the callbacks with the given arguments - * - * @param arguments The argument or list of arguments to pass back to the callback list. - */ - fire(...arguments: any[]): JQueryCallback; - - /** - * Determine if the callbacks have already been called at least once. - */ - fired(): boolean; - - /** - * Call all callbacks in a list with the given context and arguments. - * - * @param context A reference to the context in which the callbacks in the list should be fired. - * @param arguments An argument, or array of arguments, to pass to the callbacks in the list. - */ - fireWith(context?: any, args?: any[]): JQueryCallback; - - /** - * Determine whether a supplied callback is in a list - * - * @param callback The callback to search for. - */ - has(callback: Function): boolean; - - /** - * Lock a callback list in its current state. - */ - lock(): JQueryCallback; - - /** - * Determine if the callbacks list has been locked. - */ - locked(): boolean; - - /** - * Remove a callback or a collection of callbacks from a callback list. - * - * @param callbacks A function, or array of functions, that are to be removed from the callback list. - */ - remove(callbacks: Function): JQueryCallback; - /** - * Remove a callback or a collection of callbacks from a callback list. - * - * @param callbacks A function, or array of functions, that are to be removed from the callback list. - */ - remove(callbacks: Function[]): JQueryCallback; -} - -/** - * Allows jQuery Promises to interop with non-jQuery promises - */ -interface JQueryGenericPromise { - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - */ - then(doneFilter: (value?: T, ...values: any[]) => U|JQueryPromise, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise; - - /** - * Add handlers to be called when the Deferred object is resolved, rejected, or still in progress. - * - * @param doneFilter A function that is called when the Deferred is resolved. - * @param failFilter An optional function that is called when the Deferred is rejected. - */ - then(doneFilter: (value?: T, ...values: any[]) => void, failFilter?: (...reasons: any[]) => any, progressFilter?: (...progression: any[]) => any): JQueryPromise; -} - -/** - * Interface for the JQuery promise/deferred callbacks - */ -interface JQueryPromiseCallback { - (value?: T, ...args: any[]): void; -} - -interface JQueryPromiseOperator { - (callback1: JQueryPromiseCallback|JQueryPromiseCallback[], ...callbacksN: Array|JQueryPromiseCallback[]>): JQueryPromise; -} - -/** - * Interface for the JQuery promise, part of callbacks - */ -interface JQueryPromise extends JQueryGenericPromise { - /** - * Determine the current state of a Deferred object. - */ - state(): string; - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - */ - always(alwaysCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...alwaysCallbacksN: Array|JQueryPromiseCallback[]>): JQueryPromise; - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - */ - done(doneCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...doneCallbackN: Array|JQueryPromiseCallback[]>): JQueryPromise; - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - */ - fail(failCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...failCallbacksN: Array|JQueryPromiseCallback[]>): JQueryPromise; - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - */ - progress(progressCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...progressCallbackN: Array|JQueryPromiseCallback[]>): JQueryPromise; - - // Deprecated - given no typings - pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise; - - /** - * Return a Deferred's Promise object. - * - * @param target Object onto which the promise methods have to be attached - */ - promise(target?: any): JQueryPromise; -} - -/** - * Interface for the JQuery deferred, part of callbacks - */ -interface JQueryDeferred extends JQueryGenericPromise { - /** - * Determine the current state of a Deferred object. - */ - state(): string; - /** - * Add handlers to be called when the Deferred object is either resolved or rejected. - * - * @param alwaysCallbacks1 A function, or array of functions, that is called when the Deferred is resolved or rejected. - * @param alwaysCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved or rejected. - */ - always(alwaysCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...alwaysCallbacksN: Array|JQueryPromiseCallback[]>): JQueryDeferred; - /** - * Add handlers to be called when the Deferred object is resolved. - * - * @param doneCallbacks1 A function, or array of functions, that are called when the Deferred is resolved. - * @param doneCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is resolved. - */ - done(doneCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...doneCallbackN: Array|JQueryPromiseCallback[]>): JQueryDeferred; - /** - * Add handlers to be called when the Deferred object is rejected. - * - * @param failCallbacks1 A function, or array of functions, that are called when the Deferred is rejected. - * @param failCallbacks2 Optional additional functions, or arrays of functions, that are called when the Deferred is rejected. - */ - fail(failCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...failCallbacksN: Array|JQueryPromiseCallback[]>): JQueryDeferred; - /** - * Add handlers to be called when the Deferred object generates progress notifications. - * - * @param progressCallbacks A function, or array of functions, to be called when the Deferred generates progress notifications. - */ - progress(progressCallback1?: JQueryPromiseCallback|JQueryPromiseCallback[], ...progressCallbackN: Array|JQueryPromiseCallback[]>): JQueryDeferred; - - /** - * Call the progressCallbacks on a Deferred object with the given args. - * - * @param args Optional arguments that are passed to the progressCallbacks. - */ - notify(value?: any, ...args: any[]): JQueryDeferred; - - /** - * Call the progressCallbacks on a Deferred object with the given context and args. - * - * @param context Context passed to the progressCallbacks as the this object. - * @param args Optional arguments that are passed to the progressCallbacks. - */ - notifyWith(context: any, value?: any[]): JQueryDeferred; - - /** - * Reject a Deferred object and call any failCallbacks with the given args. - * - * @param args Optional arguments that are passed to the failCallbacks. - */ - reject(value?: any, ...args: any[]): JQueryDeferred; - /** - * Reject a Deferred object and call any failCallbacks with the given context and args. - * - * @param context Context passed to the failCallbacks as the this object. - * @param args An optional array of arguments that are passed to the failCallbacks. - */ - rejectWith(context: any, value?: any[]): JQueryDeferred; - - /** - * Resolve a Deferred object and call any doneCallbacks with the given args. - * - * @param value First argument passed to doneCallbacks. - * @param args Optional subsequent arguments that are passed to the doneCallbacks. - */ - resolve(value?: T, ...args: any[]): JQueryDeferred; - - /** - * Resolve a Deferred object and call any doneCallbacks with the given context and args. - * - * @param context Context passed to the doneCallbacks as the this object. - * @param args An optional array of arguments that are passed to the doneCallbacks. - */ - resolveWith(context: any, value?: T[]): JQueryDeferred; - - /** - * Return a Deferred's Promise object. - * - * @param target Object onto which the promise methods have to be attached - */ - promise(target?: any): JQueryPromise; - - // Deprecated - given no typings - pipe(doneFilter?: (x: any) => any, failFilter?: (x: any) => any, progressFilter?: (x: any) => any): JQueryPromise; -} - -/** - * Interface of the JQuery extension of the W3C event object - */ -interface BaseJQueryEventObject extends Event { - currentTarget: Element; - data: any; - delegateTarget: Element; - isDefaultPrevented(): boolean; - isImmediatePropagationStopped(): boolean; - isPropagationStopped(): boolean; - namespace: string; - originalEvent: Event; - preventDefault(): any; - relatedTarget: Element; - result: any; - stopImmediatePropagation(): void; - stopPropagation(): void; - target: Element; - pageX: number; - pageY: number; - which: number; - metaKey: boolean; -} - -interface JQueryInputEventObject extends BaseJQueryEventObject { - altKey: boolean; - ctrlKey: boolean; - metaKey: boolean; - shiftKey: boolean; -} - -interface JQueryMouseEventObject extends JQueryInputEventObject { - button: number; - clientX: number; - clientY: number; - offsetX: number; - offsetY: number; - pageX: number; - pageY: number; - screenX: number; - screenY: number; -} - -interface JQueryKeyEventObject extends JQueryInputEventObject { - char: any; - charCode: number; - key: any; - keyCode: number; -} - -interface JQueryEventObject extends BaseJQueryEventObject, JQueryInputEventObject, JQueryMouseEventObject, JQueryKeyEventObject{ -} - -/* - Collection of properties of the current browser -*/ - -interface JQuerySupport { - ajax?: boolean; - boxModel?: boolean; - changeBubbles?: boolean; - checkClone?: boolean; - checkOn?: boolean; - cors?: boolean; - cssFloat?: boolean; - hrefNormalized?: boolean; - htmlSerialize?: boolean; - leadingWhitespace?: boolean; - noCloneChecked?: boolean; - noCloneEvent?: boolean; - opacity?: boolean; - optDisabled?: boolean; - optSelected?: boolean; - scriptEval? (): boolean; - style?: boolean; - submitBubbles?: boolean; - tbody?: boolean; -} - -interface JQueryParam { - /** - * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. - * - * @param obj An array or object to serialize. - */ - (obj: any): string; - - /** - * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. - * - * @param obj An array or object to serialize. - * @param traditional A Boolean indicating whether to perform a traditional "shallow" serialization. - */ - (obj: any, traditional: boolean): string; -} - -/** - * The interface used to construct jQuery events (with $.Event). It is - * defined separately instead of inline in JQueryStatic to allow - * overriding the construction function with specific strings - * returning specific event objects. - */ -interface JQueryEventConstructor { - (name: string, eventProperties?: any): JQueryEventObject; - new (name: string, eventProperties?: any): JQueryEventObject; -} - -/** - * The interface used to specify coordinates. - */ -interface JQueryCoordinates { - left: number; - top: number; -} - -/** - * Elements in the array returned by serializeArray() - */ -interface JQuerySerializeArrayElement { - name: string; - value: string; -} - -interface JQueryAnimationOptions { - /** - * A string or number determining how long the animation will run. - */ - duration?: any; - /** - * A string indicating which easing function to use for the transition. - */ - easing?: string; - /** - * A function to call once the animation is complete. - */ - complete?: Function; - /** - * A function to be called for each animated property of each animated element. This function provides an opportunity to modify the Tween object to change the value of the property before it is set. - */ - step?: (now: number, tween: any) => any; - /** - * A function to be called after each step of the animation, only once per animated element regardless of the number of animated properties. (version added: 1.8) - */ - progress?: (animation: JQueryPromise, progress: number, remainingMs: number) => any; - /** - * A function to call when the animation begins. (version added: 1.8) - */ - start?: (animation: JQueryPromise) => any; - /** - * A function to be called when the animation completes (its Promise object is resolved). (version added: 1.8) - */ - done?: (animation: JQueryPromise, jumpedToEnd: boolean) => any; - /** - * A function to be called when the animation fails to complete (its Promise object is rejected). (version added: 1.8) - */ - fail?: (animation: JQueryPromise, jumpedToEnd: boolean) => any; - /** - * A function to be called when the animation completes or stops without completing (its Promise object is either resolved or rejected). (version added: 1.8) - */ - always?: (animation: JQueryPromise, jumpedToEnd: boolean) => any; - /** - * A Boolean indicating whether to place the animation in the effects queue. If false, the animation will begin immediately. As of jQuery 1.7, the queue option can also accept a string, in which case the animation is added to the queue represented by that string. When a custom queue name is used the animation does not automatically start; you must call .dequeue("queuename") to start it. - */ - queue?: any; - /** - * A map of one or more of the CSS properties defined by the properties argument and their corresponding easing functions. (version added: 1.4) - */ - specialEasing?: Object; -} - -interface JQueryEasingFunction { - ( percent: number ): number; -} - -interface JQueryEasingFunctions { - [ name: string ]: JQueryEasingFunction; - linear: JQueryEasingFunction; - swing: JQueryEasingFunction; -} - -/** - * Static members of jQuery (those on $ and jQuery themselves) - */ -interface JQueryStatic { - - /** - * Perform an asynchronous HTTP (Ajax) request. - * - * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). - */ - ajax(settings: JQueryAjaxSettings): JQueryXHR; - /** - * Perform an asynchronous HTTP (Ajax) request. - * - * @param url A string containing the URL to which the request is sent. - * @param settings A set of key/value pairs that configure the Ajax request. All settings are optional. A default can be set for any option with $.ajaxSetup(). - */ - ajax(url: string, settings?: JQueryAjaxSettings): JQueryXHR; - - /** - * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). - * - * @param dataTypes An optional string containing one or more space-separated dataTypes - * @param handler A handler to set default values for future Ajax requests. - */ - ajaxPrefilter(dataTypes: string, handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void; - /** - * Handle custom Ajax options or modify existing options before each request is sent and before they are processed by $.ajax(). - * - * @param handler A handler to set default values for future Ajax requests. - */ - ajaxPrefilter(handler: (opts: any, originalOpts: JQueryAjaxSettings, jqXHR: JQueryXHR) => any): void; - - ajaxSettings: JQueryAjaxSettings; - - /** - * Set default values for future Ajax requests. Its use is not recommended. - * - * @param options A set of key/value pairs that configure the default Ajax request. All options are optional. - */ - ajaxSetup(options: JQueryAjaxSettings): void; - - /** - * Load data from the server using a HTTP GET request. - * - * @param url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - */ - get(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR; - /** - * Load data from the server using a HTTP GET request. - * - * @param url A string containing the URL to which the request is sent. - * @param data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html). - */ - get(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR; - /** - * Load data from the server using a HTTP GET request. - * - * @param settings The JQueryAjaxSettings to be used for the request - */ - get(settings : JQueryAjaxSettings): JQueryXHR; - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. - */ - getJSON(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR; - /** - * Load JSON-encoded data from the server using a GET HTTP request. - * - * @param url A string containing the URL to which the request is sent. - * @param data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. - */ - getJSON(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR; - /** - * Load a JavaScript file from the server using a GET HTTP request, then execute it. - * - * @param url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. - */ - getScript(url: string, success?: (script: string, textStatus: string, jqXHR: JQueryXHR) => any): JQueryXHR; - - /** - * Create a serialized representation of an array or object, suitable for use in a URL query string or Ajax request. - */ - param: JQueryParam; - - /** - * Load data from the server using a HTTP POST request. - * - * @param url A string containing the URL to which the request is sent. - * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - */ - post(url: string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR; - /** - * Load data from the server using a HTTP POST request. - * - * @param url A string containing the URL to which the request is sent. - * @param data A plain object or string that is sent to the server with the request. - * @param success A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. - * @param dataType The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). - */ - post(url: string, data?: Object|string, success?: (data: any, textStatus: string, jqXHR: JQueryXHR) => any, dataType?: string): JQueryXHR; - /** - * Load data from the server using a HTTP POST request. - * - * @param settings The JQueryAjaxSettings to be used for the request - */ - post(settings : JQueryAjaxSettings): JQueryXHR; - /** - * A multi-purpose callbacks list object that provides a powerful way to manage callback lists. - * - * @param flags An optional list of space-separated flags that change how the callback list behaves. - */ - Callbacks(flags?: string): JQueryCallback; - - /** - * Holds or releases the execution of jQuery's ready event. - * - * @param hold Indicates whether the ready hold is being requested or released - */ - holdReady(hold: boolean): void; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param selector A string containing a selector expression - * @param context A DOM Element, Document, or jQuery to use as context - */ - (selector: string, context?: Element|JQuery): JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param element A DOM element to wrap in a jQuery object. - */ - (element: Element): JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param elementArray An array containing a set of DOM elements to wrap in a jQuery object. - */ - (elementArray: Element[]): JQuery; - - /** - * Binds a function to be executed when the DOM has finished loading. - * - * @param callback A function to execute after the DOM is ready. - */ - (callback: (jQueryAlias?: JQueryStatic) => any): JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param object A plain object to wrap in a jQuery object. - */ - (object: {}): JQuery; - - /** - * Accepts a string containing a CSS selector which is then used to match a set of elements. - * - * @param object An existing jQuery object to clone. - */ - (object: JQuery): JQuery; - - /** - * Specify a function to execute when the DOM is fully loaded. - */ - (): JQuery; - - /** - * Creates DOM elements on the fly from the provided string of raw HTML. - * - * @param html A string of HTML to create on the fly. Note that this parses HTML, not XML. - * @param ownerDocument A document in which the new elements will be created. - */ - (html: string, ownerDocument?: Document): JQuery; - - /** - * Creates DOM elements on the fly from the provided string of raw HTML. - * - * @param html A string defining a single, standalone, HTML element (e.g.
or
). - * @param attributes An object of attributes, events, and methods to call on the newly-created element. - */ - (html: string, attributes: Object): JQuery; - - /** - * Relinquish jQuery's control of the $ variable. - * - * @param removeAll A Boolean indicating whether to remove all jQuery variables from the global scope (including jQuery itself). - */ - noConflict(removeAll?: boolean): JQueryStatic; - - /** - * Provides a way to execute callback functions based on one or more objects, usually Deferred objects that represent asynchronous events. - * - * @param deferreds One or more Deferred objects, or plain JavaScript objects. - */ - when(...deferreds: Array/* as JQueryDeferred */>): JQueryPromise; - - /** - * Hook directly into jQuery to override how particular CSS properties are retrieved or set, normalize CSS property naming, or create custom properties. - */ - cssHooks: { [key: string]: any; }; - cssNumber: any; - - /** - * Store arbitrary data associated with the specified element. Returns the value that was set. - * - * @param element The DOM element to associate with the data. - * @param key A string naming the piece of data to set. - * @param value The new data value. - */ - data(element: Element, key: string, value: T): T; - /** - * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. - * - * @param element The DOM element to associate with the data. - * @param key A string naming the piece of data to set. - */ - data(element: Element, key: string): any; - /** - * Returns value at named data store for the element, as set by jQuery.data(element, name, value), or the full data store for the element. - * - * @param element The DOM element to associate with the data. - */ - data(element: Element): any; - - /** - * Execute the next function on the queue for the matched element. - * - * @param element A DOM element from which to remove and execute a queued function. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - dequeue(element: Element, queueName?: string): void; - - /** - * Determine whether an element has any jQuery data associated with it. - * - * @param element A DOM element to be checked for data. - */ - hasData(element: Element): boolean; - - /** - * Show the queue of functions to be executed on the matched element. - * - * @param element A DOM element to inspect for an attached queue. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - queue(element: Element, queueName?: string): any[]; - /** - * Manipulate the queue of functions to be executed on the matched element. - * - * @param element A DOM element where the array of queued functions is attached. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param newQueue An array of functions to replace the current queue contents. - */ - queue(element: Element, queueName: string, newQueue: Function[]): JQuery; - /** - * Manipulate the queue of functions to be executed on the matched element. - * - * @param element A DOM element on which to add a queued function. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param callback The new function to add to the queue. - */ - queue(element: Element, queueName: string, callback: Function): JQuery; - - /** - * Remove a previously-stored piece of data. - * - * @param element A DOM element from which to remove data. - * @param name A string naming the piece of data to remove. - */ - removeData(element: Element, name?: string): JQuery; - - /** - * A constructor function that returns a chainable utility object with methods to register multiple callbacks into callback queues, invoke callback queues, and relay the success or failure state of any synchronous or asynchronous function. - * - * @param beforeStart A function that is called just before the constructor returns. - */ - Deferred(beforeStart?: (deferred: JQueryDeferred) => any): JQueryDeferred; - - /** - * Effects - */ - - easing: JQueryEasingFunctions; - - fx: { - tick: () => void; - /** - * The rate (in milliseconds) at which animations fire. - */ - interval: number; - stop: () => void; - speeds: { slow: number; fast: number; }; - /** - * Globally disable all animations. - */ - off: boolean; - step: any; - }; - - /** - * Takes a function and returns a new one that will always have a particular context. - * - * @param fnction The function whose context will be changed. - * @param context The object to which the context (this) of the function should be set. - * @param additionalArguments Any number of arguments to be passed to the function referenced in the function argument. - */ - proxy(fnction: (...args: any[]) => any, context: Object, ...additionalArguments: any[]): any; - /** - * Takes a function and returns a new one that will always have a particular context. - * - * @param context The object to which the context (this) of the function should be set. - * @param name The name of the function whose context will be changed (should be a property of the context object). - * @param additionalArguments Any number of arguments to be passed to the function named in the name argument. - */ - proxy(context: Object, name: string, ...additionalArguments: any[]): any; - - Event: JQueryEventConstructor; - - /** - * Takes a string and throws an exception containing it. - * - * @param message The message to send out. - */ - error(message: any): JQuery; - - expr: any; - fn: any; //TODO: Decide how we want to type this - - isReady: boolean; - - // Properties - support: JQuerySupport; - - /** - * Check to see if a DOM element is a descendant of another DOM element. - * - * @param container The DOM element that may contain the other element. - * @param contained The DOM element that may be contained by (a descendant of) the other element. - */ - contains(container: Element, contained: Element): boolean; - - /** - * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. - * - * @param collection The object or array to iterate over. - * @param callback The function that will be executed on every object. - */ - each( - collection: T[], - callback: (indexInArray: number, valueOfElement: T) => any - ): any; - - /** - * A generic iterator function, which can be used to seamlessly iterate over both objects and arrays. Arrays and array-like objects with a length property (such as a function's arguments object) are iterated by numeric index, from 0 to length-1. Other objects are iterated via their named properties. - * - * @param collection The object or array to iterate over. - * @param callback The function that will be executed on every object. - */ - each( - collection: any, - callback: (indexInArray: any, valueOfElement: any) => any - ): any; - - /** - * Merge the contents of two or more objects together into the first object. - * - * @param target An object that will receive the new properties if additional objects are passed in or that will extend the jQuery namespace if it is the sole argument. - * @param object1 An object containing additional properties to merge in. - * @param objectN Additional objects containing properties to merge in. - */ - extend(target: any, object1?: any, ...objectN: any[]): any; - /** - * Merge the contents of two or more objects together into the first object. - * - * @param deep If true, the merge becomes recursive (aka. deep copy). - * @param target The object to extend. It will receive the new properties. - * @param object1 An object containing additional properties to merge in. - * @param objectN Additional objects containing properties to merge in. - */ - extend(deep: boolean, target: any, object1?: any, ...objectN: any[]): any; - - /** - * Execute some JavaScript code globally. - * - * @param code The JavaScript code to execute. - */ - globalEval(code: string): any; - - /** - * Finds the elements of an array which satisfy a filter function. The original array is not affected. - * - * @param array The array to search through. - * @param func The function to process each item against. The first argument to the function is the item, and the second argument is the index. The function should return a Boolean value. this will be the global window object. - * @param invert If "invert" is false, or not provided, then the function returns an array consisting of all elements for which "callback" returns true. If "invert" is true, then the function returns an array consisting of all elements for which "callback" returns false. - */ - grep(array: T[], func: (elementOfArray?: T, indexInArray?: number) => boolean, invert?: boolean): T[]; - - /** - * Search for a specified value within an array and return its index (or -1 if not found). - * - * @param value The value to search for. - * @param array An array through which to search. - * @param fromIndex he index of the array at which to begin the search. The default is 0, which will search the whole array. - */ - inArray(value: T, array: T[], fromIndex?: number): number; - - /** - * Determine whether the argument is an array. - * - * @param obj Object to test whether or not it is an array. - */ - isArray(obj: any): boolean; - /** - * Check to see if an object is empty (contains no enumerable properties). - * - * @param obj The object that will be checked to see if it's empty. - */ - isEmptyObject(obj: any): boolean; - /** - * Determine if the argument passed is a Javascript function object. - * - * @param obj Object to test whether or not it is a function. - */ - isFunction(obj: any): boolean; - /** - * Determines whether its argument is a number. - * - * @param obj The value to be tested. - */ - isNumeric(value: any): boolean; - /** - * Check to see if an object is a plain object (created using "{}" or "new Object"). - * - * @param obj The object that will be checked to see if it's a plain object. - */ - isPlainObject(obj: any): boolean; - /** - * Determine whether the argument is a window. - * - * @param obj Object to test whether or not it is a window. - */ - isWindow(obj: any): boolean; - /** - * Check to see if a DOM node is within an XML document (or is an XML document). - * - * @param node he DOM node that will be checked to see if it's in an XML document. - */ - isXMLDoc(node: Node): boolean; - - /** - * Convert an array-like object into a true JavaScript array. - * - * @param obj Any object to turn into a native Array. - */ - makeArray(obj: any): any[]; - - /** - * Translate all items in an array or object to new array of items. - * - * @param array The Array to translate. - * @param callback The function to process each item against. The first argument to the function is the array item, the second argument is the index in array The function can return any value. Within the function, this refers to the global (window) object. - */ - map(array: T[], callback: (elementOfArray?: T, indexInArray?: number) => U): U[]; - /** - * Translate all items in an array or object to new array of items. - * - * @param arrayOrObject The Array or Object to translate. - * @param callback The function to process each item against. The first argument to the function is the value; the second argument is the index or key of the array or object property. The function can return any value to add to the array. A returned array will be flattened into the resulting array. Within the function, this refers to the global (window) object. - */ - map(arrayOrObject: any, callback: (value?: any, indexOrKey?: any) => any): any; - - /** - * Merge the contents of two arrays together into the first array. - * - * @param first The first array to merge, the elements of second added. - * @param second The second array to merge into the first, unaltered. - */ - merge(first: T[], second: T[]): T[]; - - /** - * An empty function. - */ - noop(): any; - - /** - * Return a number representing the current time. - */ - now(): number; - - /** - * Takes a well-formed JSON string and returns the resulting JavaScript object. - * - * @param json The JSON string to parse. - */ - parseJSON(json: string): any; - - /** - * Parses a string into an XML document. - * - * @param data a well-formed XML string to be parsed - */ - parseXML(data: string): XMLDocument; - - /** - * Remove the whitespace from the beginning and end of a string. - * - * @param str Remove the whitespace from the beginning and end of a string. - */ - trim(str: string): string; - - /** - * Determine the internal JavaScript [[Class]] of an object. - * - * @param obj Object to get the internal JavaScript [[Class]] of. - */ - type(obj: any): string; - - /** - * Sorts an array of DOM elements, in place, with the duplicates removed. Note that this only works on arrays of DOM elements, not strings or numbers. - * - * @param array The Array of DOM elements. - */ - unique(array: Element[]): Element[]; - - /** - * Parses a string into an array of DOM nodes. - * - * @param data HTML string to be parsed - * @param context DOM element to serve as the context in which the HTML fragment will be created - * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string - */ - parseHTML(data: string, context?: HTMLElement, keepScripts?: boolean): any[]; - - /** - * Parses a string into an array of DOM nodes. - * - * @param data HTML string to be parsed - * @param context DOM element to serve as the context in which the HTML fragment will be created - * @param keepScripts A Boolean indicating whether to include scripts passed in the HTML string - */ - parseHTML(data: string, context?: Document, keepScripts?: boolean): any[]; -} - -/** - * The jQuery instance members - */ -interface JQuery { - /** - * Register a handler to be called when Ajax requests complete. This is an AjaxEvent. - * - * @param handler The function to be invoked. - */ - ajaxComplete(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: any) => any): JQuery; - /** - * Register a handler to be called when Ajax requests complete with an error. This is an Ajax Event. - * - * @param handler The function to be invoked. - */ - ajaxError(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxSettings: JQueryAjaxSettings, thrownError: any) => any): JQuery; - /** - * Attach a function to be executed before an Ajax request is sent. This is an Ajax Event. - * - * @param handler The function to be invoked. - */ - ajaxSend(handler: (event: JQueryEventObject, jqXHR: JQueryXHR, ajaxOptions: JQueryAjaxSettings) => any): JQuery; - /** - * Register a handler to be called when the first Ajax request begins. This is an Ajax Event. - * - * @param handler The function to be invoked. - */ - ajaxStart(handler: () => any): JQuery; - /** - * Register a handler to be called when all Ajax requests have completed. This is an Ajax Event. - * - * @param handler The function to be invoked. - */ - ajaxStop(handler: () => any): JQuery; - /** - * Attach a function to be executed whenever an Ajax request completes successfully. This is an Ajax Event. - * - * @param handler The function to be invoked. - */ - ajaxSuccess(handler: (event: JQueryEventObject, XMLHttpRequest: XMLHttpRequest, ajaxOptions: JQueryAjaxSettings) => any): JQuery; - - /** - * Load data from the server and place the returned HTML into the matched element. - * - * @param url A string containing the URL to which the request is sent. - * @param data A plain object or string that is sent to the server with the request. - * @param complete A callback function that is executed when the request completes. - */ - load(url: string, data?: string|Object, complete?: (responseText: string, textStatus: string, XMLHttpRequest: XMLHttpRequest) => any): JQuery; - - /** - * Encode a set of form elements as a string for submission. - */ - serialize(): string; - /** - * Encode a set of form elements as an array of names and values. - */ - serializeArray(): JQuerySerializeArrayElement[]; - - /** - * Adds the specified class(es) to each of the set of matched elements. - * - * @param className One or more space-separated classes to be added to the class attribute of each matched element. - */ - addClass(className: string): JQuery; - /** - * Adds the specified class(es) to each of the set of matched elements. - * - * @param function A function returning one or more space-separated class names to be added to the existing class name(s). Receives the index position of the element in the set and the existing class name(s) as arguments. Within the function, this refers to the current element in the set. - */ - addClass(func: (index: number, className: string) => string): JQuery; - - /** - * Add the previous set of elements on the stack to the current set, optionally filtered by a selector. - */ - addBack(selector?: string): JQuery; - - /** - * Get the value of an attribute for the first element in the set of matched elements. - * - * @param attributeName The name of the attribute to get. - */ - attr(attributeName: string): string; - /** - * Set one or more attributes for the set of matched elements. - * - * @param attributeName The name of the attribute to set. - * @param value A value to set for the attribute. - */ - attr(attributeName: string, value: string|number): JQuery; - /** - * Set one or more attributes for the set of matched elements. - * - * @param attributeName The name of the attribute to set. - * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old attribute value as arguments. - */ - attr(attributeName: string, func: (index: number, attr: string) => string|number): JQuery; - /** - * Set one or more attributes for the set of matched elements. - * - * @param attributes An object of attribute-value pairs to set. - */ - attr(attributes: Object): JQuery; - - /** - * Determine whether any of the matched elements are assigned the given class. - * - * @param className The class name to search for. - */ - hasClass(className: string): boolean; - - /** - * Get the HTML contents of the first element in the set of matched elements. - */ - html(): string; - /** - * Set the HTML contents of each element in the set of matched elements. - * - * @param htmlString A string of HTML to set as the content of each matched element. - */ - html(htmlString: string): JQuery; - /** - * Set the HTML contents of each element in the set of matched elements. - * - * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set. - */ - html(func: (index: number, oldhtml: string) => string): JQuery; - /** - * Set the HTML contents of each element in the set of matched elements. - * - * @param func A function returning the HTML content to set. Receives the index position of the element in the set and the old HTML value as arguments. jQuery empties the element before calling the function; use the oldhtml argument to reference the previous content. Within the function, this refers to the current element in the set. - */ - - /** - * Get the value of a property for the first element in the set of matched elements. - * - * @param propertyName The name of the property to get. - */ - prop(propertyName: string): any; - /** - * Set one or more properties for the set of matched elements. - * - * @param propertyName The name of the property to set. - * @param value A value to set for the property. - */ - prop(propertyName: string, value: string|number|boolean): JQuery; - /** - * Set one or more properties for the set of matched elements. - * - * @param properties An object of property-value pairs to set. - */ - prop(properties: Object): JQuery; - /** - * Set one or more properties for the set of matched elements. - * - * @param propertyName The name of the property to set. - * @param func A function returning the value to set. Receives the index position of the element in the set and the old property value as arguments. Within the function, the keyword this refers to the current element. - */ - prop(propertyName: string, func: (index: number, oldPropertyValue: any) => any): JQuery; - - /** - * Remove an attribute from each element in the set of matched elements. - * - * @param attributeName An attribute to remove; as of version 1.7, it can be a space-separated list of attributes. - */ - removeAttr(attributeName: string): JQuery; - - /** - * Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - * - * @param className One or more space-separated classes to be removed from the class attribute of each matched element. - */ - removeClass(className?: string): JQuery; - /** - * Remove a single class, multiple classes, or all classes from each element in the set of matched elements. - * - * @param function A function returning one or more space-separated class names to be removed. Receives the index position of the element in the set and the old class value as arguments. - */ - removeClass(func: (index: number, className: string) => string): JQuery; - - /** - * Remove a property for the set of matched elements. - * - * @param propertyName The name of the property to remove. - */ - removeProp(propertyName: string): JQuery; - - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param className One or more class names (separated by spaces) to be toggled for each element in the matched set. - * @param swtch A Boolean (not just truthy/falsy) value to determine whether the class should be added or removed. - */ - toggleClass(className: string, swtch?: boolean): JQuery; - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param swtch A boolean value to determine whether the class should be added or removed. - */ - toggleClass(swtch?: boolean): JQuery; - /** - * Add or remove one or more classes from each element in the set of matched elements, depending on either the class's presence or the value of the switch argument. - * - * @param func A function that returns class names to be toggled in the class attribute of each element in the matched set. Receives the index position of the element in the set, the old class value, and the switch as arguments. - * @param swtch A boolean value to determine whether the class should be added or removed. - */ - toggleClass(func: (index: number, className: string, swtch: boolean) => string, swtch?: boolean): JQuery; - - /** - * Get the current value of the first element in the set of matched elements. - */ - val(): any; - /** - * Set the value of each element in the set of matched elements. - * - * @param value A string of text, an array of strings or number corresponding to the value of each matched element to set as selected/checked. - */ - val(value: string|string[]|number): JQuery; - /** - * Set the value of each element in the set of matched elements. - * - * @param func A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - */ - val(func: (index: number, value: string) => string): JQuery; - - - /** - * Get the value of style properties for the first element in the set of matched elements. - * - * @param propertyName A CSS property. - */ - css(propertyName: string): string; - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param propertyName A CSS property name. - * @param value A value to set for the property. - */ - css(propertyName: string, value: string|number): JQuery; - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param propertyName A CSS property name. - * @param value A function returning the value to set. this is the current element. Receives the index position of the element in the set and the old value as arguments. - */ - css(propertyName: string, value: (index: number, value: string) => string|number): JQuery; - /** - * Set one or more CSS properties for the set of matched elements. - * - * @param properties An object of property-value pairs to set. - */ - css(properties: Object): JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements. - */ - height(): number; - /** - * Set the CSS height of every matched element. - * - * @param value An integer representing the number of pixels, or an integer with an optional unit of measure appended (as a string). - */ - height(value: number|string): JQuery; - /** - * Set the CSS height of every matched element. - * - * @param func A function returning the height to set. Receives the index position of the element in the set and the old height as arguments. Within the function, this refers to the current element in the set. - */ - height(func: (index: number, height: number) => number|string): JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements, including padding but not border. - */ - innerHeight(): number; - - /** - * Sets the inner height on elements in the set of matched elements, including padding but not border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - */ - innerHeight(height: number|string): JQuery; - - /** - * Get the current computed width for the first element in the set of matched elements, including padding but not border. - */ - innerWidth(): number; - - /** - * Sets the inner width on elements in the set of matched elements, including padding but not border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - */ - innerWidth(width: number|string): JQuery; - - /** - * Get the current coordinates of the first element in the set of matched elements, relative to the document. - */ - offset(): JQueryCoordinates; - /** - * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - * - * @param coordinates An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - */ - offset(coordinates: JQueryCoordinates): JQuery; - /** - * An object containing the properties top and left, which are integers indicating the new top and left coordinates for the elements. - * - * @param func A function to return the coordinates to set. Receives the index of the element in the collection as the first argument and the current coordinates as the second argument. The function should return an object with the new top and left properties. - */ - offset(func: (index: number, coords: JQueryCoordinates) => JQueryCoordinates): JQuery; - - /** - * Get the current computed height for the first element in the set of matched elements, including padding, border, and optionally margin. Returns an integer (without "px") representation of the value or null if called on an empty set of elements. - * - * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation. - */ - outerHeight(includeMargin?: boolean): number; - - /** - * Sets the outer height on elements in the set of matched elements, including padding and border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - */ - outerHeight(height: number|string): JQuery; - - /** - * Get the current computed width for the first element in the set of matched elements, including padding and border. - * - * @param includeMargin A Boolean indicating whether to include the element's margin in the calculation. - */ - outerWidth(includeMargin?: boolean): number; - - /** - * Sets the outer width on elements in the set of matched elements, including padding and border. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - */ - outerWidth(width: number|string): JQuery; - - /** - * Get the current coordinates of the first element in the set of matched elements, relative to the offset parent. - */ - position(): JQueryCoordinates; - - /** - * Get the current horizontal position of the scroll bar for the first element in the set of matched elements or set the horizontal position of the scroll bar for every matched element. - */ - scrollLeft(): number; - /** - * Set the current horizontal position of the scroll bar for each of the set of matched elements. - * - * @param value An integer indicating the new position to set the scroll bar to. - */ - scrollLeft(value: number): JQuery; - - /** - * Get the current vertical position of the scroll bar for the first element in the set of matched elements or set the vertical position of the scroll bar for every matched element. - */ - scrollTop(): number; - /** - * Set the current vertical position of the scroll bar for each of the set of matched elements. - * - * @param value An integer indicating the new position to set the scroll bar to. - */ - scrollTop(value: number): JQuery; - - /** - * Get the current computed width for the first element in the set of matched elements. - */ - width(): number; - /** - * Set the CSS width of each element in the set of matched elements. - * - * @param value An integer representing the number of pixels, or an integer along with an optional unit of measure appended (as a string). - */ - width(value: number|string): JQuery; - /** - * Set the CSS width of each element in the set of matched elements. - * - * @param func A function returning the width to set. Receives the index position of the element in the set and the old width as arguments. Within the function, this refers to the current element in the set. - */ - width(func: (index: number, width: number) => number|string): JQuery; - - /** - * Remove from the queue all items that have not yet been run. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - clearQueue(queueName?: string): JQuery; - - /** - * Store arbitrary data associated with the matched elements. - * - * @param key A string naming the piece of data to set. - * @param value The new data value; it can be any Javascript type including Array or Object. - */ - data(key: string, value: any): JQuery; - /** - * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute. - * - * @param key Name of the data stored. - */ - data(key: string): any; - /** - * Store arbitrary data associated with the matched elements. - * - * @param obj An object of key-value pairs of data to update. - */ - data(obj: { [key: string]: any; }): JQuery; - /** - * Return the value at the named data store for the first element in the jQuery collection, as set by data(name, value) or by an HTML5 data-* attribute. - */ - data(): any; - - /** - * Execute the next function on the queue for the matched elements. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - dequeue(queueName?: string): JQuery; - - /** - * Remove a previously-stored piece of data. - * - * @param name A string naming the piece of data to delete or space-separated string naming the pieces of data to delete. - */ - removeData(name: string): JQuery; - /** - * Remove a previously-stored piece of data. - * - * @param list An array of strings naming the pieces of data to delete. - */ - removeData(list: string[]): JQuery; - /** - * Remove all previously-stored piece of data. - */ - removeData(): JQuery; - - /** - * Return a Promise object to observe when all actions of a certain type bound to the collection, queued or not, have finished. - * - * @param type The type of queue that needs to be observed. (default: fx) - * @param target Object onto which the promise methods have to be attached - */ - promise(type?: string, target?: Object): JQueryPromise; - - /** - * Perform a custom animation of a set of CSS properties. - * - * @param properties An object of CSS properties and values that the animation will move toward. - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - animate(properties: Object, duration?: string|number, complete?: Function): JQuery; - /** - * Perform a custom animation of a set of CSS properties. - * - * @param properties An object of CSS properties and values that the animation will move toward. - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. (default: swing) - * @param complete A function to call once the animation is complete. - */ - animate(properties: Object, duration?: string|number, easing?: string, complete?: Function): JQuery; - /** - * Perform a custom animation of a set of CSS properties. - * - * @param properties An object of CSS properties and values that the animation will move toward. - * @param options A map of additional options to pass to the method. - */ - animate(properties: Object, options: JQueryAnimationOptions): JQuery; - - /** - * Set a timer to delay execution of subsequent items in the queue. - * - * @param duration An integer indicating the number of milliseconds to delay execution of the next item in the queue. - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - delay(duration: number, queueName?: string): JQuery; - - /** - * Display the matched elements by fading them to opaque. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - fadeIn(duration?: number|string, complete?: Function): JQuery; - /** - * Display the matched elements by fading them to opaque. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - fadeIn(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Display the matched elements by fading them to opaque. - * - * @param options A map of additional options to pass to the method. - */ - fadeIn(options: JQueryAnimationOptions): JQuery; - - /** - * Hide the matched elements by fading them to transparent. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - fadeOut(duration?: number|string, complete?: Function): JQuery; - /** - * Hide the matched elements by fading them to transparent. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - fadeOut(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Hide the matched elements by fading them to transparent. - * - * @param options A map of additional options to pass to the method. - */ - fadeOut(options: JQueryAnimationOptions): JQuery; - - /** - * Adjust the opacity of the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param opacity A number between 0 and 1 denoting the target opacity. - * @param complete A function to call once the animation is complete. - */ - fadeTo(duration: string|number, opacity: number, complete?: Function): JQuery; - /** - * Adjust the opacity of the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param opacity A number between 0 and 1 denoting the target opacity. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - fadeTo(duration: string|number, opacity: number, easing?: string, complete?: Function): JQuery; - - /** - * Display or hide the matched elements by animating their opacity. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - fadeToggle(duration?: number|string, complete?: Function): JQuery; - /** - * Display or hide the matched elements by animating their opacity. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - fadeToggle(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Display or hide the matched elements by animating their opacity. - * - * @param options A map of additional options to pass to the method. - */ - fadeToggle(options: JQueryAnimationOptions): JQuery; - - /** - * Stop the currently-running animation, remove all queued animations, and complete all animations for the matched elements. - * - * @param queue The name of the queue in which to stop animations. - */ - finish(queue?: string): JQuery; - - /** - * Hide the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - hide(duration?: number|string, complete?: Function): JQuery; - /** - * Hide the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - hide(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Hide the matched elements. - * - * @param options A map of additional options to pass to the method. - */ - hide(options: JQueryAnimationOptions): JQuery; - - /** - * Display the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - show(duration?: number|string, complete?: Function): JQuery; - /** - * Display the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - show(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Display the matched elements. - * - * @param options A map of additional options to pass to the method. - */ - show(options: JQueryAnimationOptions): JQuery; - - /** - * Display the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - slideDown(duration?: number|string, complete?: Function): JQuery; - /** - * Display the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - slideDown(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Display the matched elements with a sliding motion. - * - * @param options A map of additional options to pass to the method. - */ - slideDown(options: JQueryAnimationOptions): JQuery; - - /** - * Display or hide the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - slideToggle(duration?: number|string, complete?: Function): JQuery; - /** - * Display or hide the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - slideToggle(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Display or hide the matched elements with a sliding motion. - * - * @param options A map of additional options to pass to the method. - */ - slideToggle(options: JQueryAnimationOptions): JQuery; - - /** - * Hide the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - slideUp(duration?: number|string, complete?: Function): JQuery; - /** - * Hide the matched elements with a sliding motion. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - slideUp(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Hide the matched elements with a sliding motion. - * - * @param options A map of additional options to pass to the method. - */ - slideUp(options: JQueryAnimationOptions): JQuery; - - /** - * Stop the currently-running animation on the matched elements. - * - * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - */ - stop(clearQueue?: boolean, jumpToEnd?: boolean): JQuery; - /** - * Stop the currently-running animation on the matched elements. - * - * @param queue The name of the queue in which to stop animations. - * @param clearQueue A Boolean indicating whether to remove queued animation as well. Defaults to false. - * @param jumpToEnd A Boolean indicating whether to complete the current animation immediately. Defaults to false. - */ - stop(queue?: string, clearQueue?: boolean, jumpToEnd?: boolean): JQuery; - - /** - * Display or hide the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param complete A function to call once the animation is complete. - */ - toggle(duration?: number|string, complete?: Function): JQuery; - /** - * Display or hide the matched elements. - * - * @param duration A string or number determining how long the animation will run. - * @param easing A string indicating which easing function to use for the transition. - * @param complete A function to call once the animation is complete. - */ - toggle(duration?: number|string, easing?: string, complete?: Function): JQuery; - /** - * Display or hide the matched elements. - * - * @param options A map of additional options to pass to the method. - */ - toggle(options: JQueryAnimationOptions): JQuery; - /** - * Display or hide the matched elements. - * - * @param showOrHide A Boolean indicating whether to show or hide the elements. - */ - toggle(showOrHide: boolean): JQuery; - - /** - * Attach a handler to an event for the elements. - * - * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - bind(eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Attach a handler to an event for the elements. - * - * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param handler A function to execute each time the event is triggered. - */ - bind(eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Attach a handler to an event for the elements. - * - * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param eventData An object containing data that will be passed to the event handler. - * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true. - */ - bind(eventType: string, eventData: any, preventBubble: boolean): JQuery; - /** - * Attach a handler to an event for the elements. - * - * @param eventType A string containing one or more DOM event types, such as "click" or "submit," or custom event names. - * @param preventBubble Setting the third argument to false will attach a function that prevents the default action from occurring and stops the event from bubbling. The default is true. - */ - bind(eventType: string, preventBubble: boolean): JQuery; - /** - * Attach a handler to an event for the elements. - * - * @param events An object containing one or more DOM event types and functions to execute for them. - */ - bind(events: any): JQuery; - - /** - * Trigger the "blur" event on an element - */ - blur(): JQuery; - /** - * Bind an event handler to the "blur" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - blur(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "blur" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - blur(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "change" event on an element. - */ - change(): JQuery; - /** - * Bind an event handler to the "change" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - change(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "change" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - change(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "click" event on an element. - */ - click(): JQuery; - /** - * Bind an event handler to the "click" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - */ - click(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "click" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - click(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "contextmenu" event on an element. - */ - contextmenu(): JQuery; - /** - * Bind an event handler to the "contextmenu" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - contextmenu(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to the "contextmenu" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - contextmenu(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "dblclick" event on an element. - */ - dblclick(): JQuery; - /** - * Bind an event handler to the "dblclick" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - dblclick(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "dblclick" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - dblclick(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - delegate(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any): JQuery; - delegate(selector: any, eventType: string, eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "focus" event on an element. - */ - focus(): JQuery; - /** - * Bind an event handler to the "focus" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - focus(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "focus" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - focus(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "focusin" event on an element. - */ - focusin(): JQuery; - /** - * Bind an event handler to the "focusin" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - focusin(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "focusin" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - focusin(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "focusout" event on an element. - */ - focusout(): JQuery; - /** - * Bind an event handler to the "focusout" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - focusout(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "focusout" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - focusout(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Bind two handlers to the matched elements, to be executed when the mouse pointer enters and leaves the elements. - * - * @param handlerIn A function to execute when the mouse pointer enters the element. - * @param handlerOut A function to execute when the mouse pointer leaves the element. - */ - hover(handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind a single handler to the matched elements, to be executed when the mouse pointer enters or leaves the elements. - * - * @param handlerInOut A function to execute when the mouse pointer enters or leaves the element. - */ - hover(handlerInOut: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "keydown" event on an element. - */ - keydown(): JQuery; - /** - * Bind an event handler to the "keydown" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - keydown(handler: (eventObject: JQueryKeyEventObject) => any): JQuery; - /** - * Bind an event handler to the "keydown" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - keydown(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; - - /** - * Trigger the "keypress" event on an element. - */ - keypress(): JQuery; - /** - * Bind an event handler to the "keypress" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - keypress(handler: (eventObject: JQueryKeyEventObject) => any): JQuery; - /** - * Bind an event handler to the "keypress" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - keypress(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; - - /** - * Trigger the "keyup" event on an element. - */ - keyup(): JQuery; - /** - * Bind an event handler to the "keyup" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - keyup(handler: (eventObject: JQueryKeyEventObject) => any): JQuery; - /** - * Bind an event handler to the "keyup" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - keyup(eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; - - /** - * Bind an event handler to the "load" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - load(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "load" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - load(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "mousedown" event on an element. - */ - mousedown(): JQuery; - /** - * Bind an event handler to the "mousedown" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - mousedown(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to the "mousedown" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mousedown(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "mouseenter" event on an element. - */ - mouseenter(): JQuery; - /** - * Bind an event handler to be fired when the mouse enters an element. - * - * @param handler A function to execute when the event is triggered. - */ - mouseenter(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to be fired when the mouse enters an element. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mouseenter(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "mouseleave" event on an element. - */ - mouseleave(): JQuery; - /** - * Bind an event handler to be fired when the mouse leaves an element. - * - * @param handler A function to execute when the event is triggered. - */ - mouseleave(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to be fired when the mouse leaves an element. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mouseleave(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "mousemove" event on an element. - */ - mousemove(): JQuery; - /** - * Bind an event handler to the "mousemove" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - mousemove(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to the "mousemove" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mousemove(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "mouseout" event on an element. - */ - mouseout(): JQuery; - /** - * Bind an event handler to the "mouseout" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - mouseout(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to the "mouseout" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mouseout(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "mouseover" event on an element. - */ - mouseover(): JQuery; - /** - * Bind an event handler to the "mouseover" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - mouseover(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to the "mouseover" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mouseover(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Trigger the "mouseup" event on an element. - */ - mouseup(): JQuery; - /** - * Bind an event handler to the "mouseup" JavaScript event. - * - * @param handler A function to execute when the event is triggered. - */ - mouseup(handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - /** - * Bind an event handler to the "mouseup" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - mouseup(eventData: Object, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; - - /** - * Remove an event handler. - */ - off(): JQuery; - /** - * Remove an event handler. - * - * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param selector A selector which should match the one originally passed to .on() when attaching event handlers. - * @param handler A handler function previously attached for the event(s), or the special value false. - */ - off(events: string, selector?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Remove an event handler. - * - * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param handler A handler function previously attached for the event(s), or the special value false. Takes handler with extra args that can be attached with on(). - */ - off(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery; - /** - * Remove an event handler. - * - * @param events One or more space-separated event types and optional namespaces, or just namespaces, such as "click", "keydown.myPlugin", or ".myPlugin". - * @param handler A handler function previously attached for the event(s), or the special value false. - */ - off(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Remove an event handler. - * - * @param events An object where the string keys represent one or more space-separated event types and optional namespaces, and the values represent handler functions previously attached for the event(s). - * @param selector A selector which should match the one originally passed to .on() when attaching event handlers. - */ - off(events: { [key: string]: any; }, selector?: string): JQuery; - - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. Rest parameter args is for optional parameters passed to jQuery.trigger(). Note that the actual parameters on the event handler function must be marked as optional (? syntax). - */ - on(events: string, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery; - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param data Data to be passed to the handler in event.data when an event is triggered. - * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - */ - on(events: string, data : any, handler: (eventObject: JQueryEventObject, ...args: any[]) => any): JQuery; - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element. - * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - */ - on(events: string, selector: string, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery; - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element. - * @param data Data to be passed to the handler in event.data when an event is triggered. - * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - */ - on(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject, ...eventData: any[]) => any): JQuery; - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). - * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element. - * @param data Data to be passed to the handler in event.data when an event occurs. - */ - on(events: { [key: string]: any; }, selector?: string, data?: any): JQuery; - /** - * Attach an event handler function for one or more events to the selected elements. - * - * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). - * @param data Data to be passed to the handler in event.data when an event occurs. - */ - on(events: { [key: string]: any; }, data?: any): JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names. - * @param handler A function to execute at the time the event is triggered. - */ - one(events: string, handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param events A string containing one or more JavaScript event types, such as "click" or "submit," or custom event names. - * @param data An object containing data that will be passed to the event handler. - * @param handler A function to execute at the time the event is triggered. - */ - one(events: string, data: Object, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element. - * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - */ - one(events: string, selector: string, handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param events One or more space-separated event types and optional namespaces, such as "click" or "keydown.myPlugin". - * @param selector A selector string to filter the descendants of the selected elements that trigger the event. If the selector is null or omitted, the event is always triggered when it reaches the selected element. - * @param data Data to be passed to the handler in event.data when an event is triggered. - * @param handler A function to execute when the event is triggered. The value false is also allowed as a shorthand for a function that simply does return false. - */ - one(events: string, selector: string, data: any, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). - * @param selector A selector string to filter the descendants of the selected elements that will call the handler. If the selector is null or omitted, the handler is always called when it reaches the selected element. - * @param data Data to be passed to the handler in event.data when an event occurs. - */ - one(events: { [key: string]: any; }, selector?: string, data?: any): JQuery; - - /** - * Attach a handler to an event for the elements. The handler is executed at most once per element per event type. - * - * @param events An object in which the string keys represent one or more space-separated event types and optional namespaces, and the values represent a handler function to be called for the event(s). - * @param data Data to be passed to the handler in event.data when an event occurs. - */ - one(events: { [key: string]: any; }, data?: any): JQuery; - - - /** - * Specify a function to execute when the DOM is fully loaded. - * - * @param handler A function to execute after the DOM is ready. - */ - ready(handler: (jQueryAlias?: JQueryStatic) => any): JQuery; - - /** - * Trigger the "resize" event on an element. - */ - resize(): JQuery; - /** - * Bind an event handler to the "resize" JavaScript event. - * - * @param handler A function to execute each time the event is triggered. - */ - resize(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "resize" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - resize(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "scroll" event on an element. - */ - scroll(): JQuery; - /** - * Bind an event handler to the "scroll" JavaScript event. - * - * @param handler A function to execute each time the event is triggered. - */ - scroll(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "scroll" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - scroll(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "select" event on an element. - */ - select(): JQuery; - /** - * Bind an event handler to the "select" JavaScript event. - * - * @param handler A function to execute each time the event is triggered. - */ - select(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "select" JavaScript event. - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - select(eventData: Object, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Trigger the "submit" event on an element. - */ - submit(): JQuery; - /** - * Bind an event handler to the "submit" JavaScript event - * - * @param handler A function to execute each time the event is triggered. - */ - submit(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "submit" JavaScript event - * - * @param eventData An object containing data that will be passed to the event handler. - * @param handler A function to execute each time the event is triggered. - */ - submit(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param eventType A string containing a JavaScript event type, such as click or submit. - * @param extraParameters Additional parameters to pass along to the event handler. - */ - trigger(eventType: string, extraParameters?: any[]|Object): JQuery; - /** - * Execute all handlers and behaviors attached to the matched elements for the given event type. - * - * @param event A jQuery.Event object. - * @param extraParameters Additional parameters to pass along to the event handler. - */ - trigger(event: JQueryEventObject, extraParameters?: any[]|Object): JQuery; - - /** - * Execute all handlers attached to an element for an event. - * - * @param eventType A string containing a JavaScript event type, such as click or submit. - * @param extraParameters An array of additional parameters to pass along to the event handler. - */ - triggerHandler(eventType: string, ...extraParameters: any[]): Object; - - /** - * Execute all handlers attached to an element for an event. - * - * @param event A jQuery.Event object. - * @param extraParameters An array of additional parameters to pass along to the event handler. - */ - triggerHandler(event: JQueryEventObject, ...extraParameters: any[]): Object; - - /** - * Remove a previously-attached event handler from the elements. - * - * @param eventType A string containing a JavaScript event type, such as click or submit. - * @param handler The function that is to be no longer executed. - */ - unbind(eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Remove a previously-attached event handler from the elements. - * - * @param eventType A string containing a JavaScript event type, such as click or submit. - * @param fls Unbinds the corresponding 'return false' function that was bound using .bind( eventType, false ). - */ - unbind(eventType: string, fls: boolean): JQuery; - /** - * Remove a previously-attached event handler from the elements. - * - * @param evt A JavaScript event object as passed to an event handler. - */ - unbind(evt: any): JQuery; - - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - */ - undelegate(): JQuery; - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param selector A selector which will be used to filter the event results. - * @param eventType A string containing a JavaScript event type, such as "click" or "keydown" - * @param handler A function to execute at the time the event is triggered. - */ - undelegate(selector: string, eventType: string, handler?: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param selector A selector which will be used to filter the event results. - * @param events An object of one or more event types and previously bound functions to unbind from them. - */ - undelegate(selector: string, events: Object): JQuery; - /** - * Remove a handler from the event for all elements which match the current selector, based upon a specific set of root elements. - * - * @param namespace A string containing a namespace to unbind all events from. - */ - undelegate(namespace: string): JQuery; - - /** - * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8) - * - * @param handler A function to execute when the event is triggered. - */ - unload(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "unload" JavaScript event. (DEPRECATED from v1.8) - * - * @param eventData A plain object of data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - unload(eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * The DOM node context originally passed to jQuery(); if none was passed then context will likely be the document. (DEPRECATED from v1.10) - */ - context: Element; - - jquery: string; - - /** - * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8) - * - * @param handler A function to execute when the event is triggered. - */ - error(handler: (eventObject: JQueryEventObject) => any): JQuery; - /** - * Bind an event handler to the "error" JavaScript event. (DEPRECATED from v1.8) - * - * @param eventData A plain object of data that will be passed to the event handler. - * @param handler A function to execute when the event is triggered. - */ - error(eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; - - /** - * Add a collection of DOM elements onto the jQuery stack. - * - * @param elements An array of elements to push onto the stack and make into a new jQuery object. - */ - pushStack(elements: any[]): JQuery; - /** - * Add a collection of DOM elements onto the jQuery stack. - * - * @param elements An array of elements to push onto the stack and make into a new jQuery object. - * @param name The name of a jQuery method that generated the array of elements. - * @param arguments The arguments that were passed in to the jQuery method (for serialization). - */ - pushStack(elements: any[], name: string, arguments: any[]): JQuery; - - /** - * Insert content, specified by the parameter, after each element in the set of matched elements. - * - * param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert after each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert after each element in the set of matched elements. - */ - after(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery; - /** - * Insert content, specified by the parameter, after each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert after each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - */ - after(func: (index: number, html: string) => string|Element|JQuery): JQuery; - - /** - * Insert content, specified by the parameter, to the end of each element in the set of matched elements. - * - * param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the end of each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the end of each element in the set of matched elements. - */ - append(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery; - /** - * Insert content, specified by the parameter, to the end of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the end of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - */ - append(func: (index: number, html: string) => string|Element|JQuery): JQuery; - - /** - * Insert every element in the set of matched elements to the end of the target. - * - * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the end of the element(s) specified by this parameter. - */ - appendTo(target: JQuery|any[]|Element|string): JQuery; - - /** - * Insert content, specified by the parameter, before each element in the set of matched elements. - * - * param content1 HTML string, DOM element, DocumentFragment, array of elements, or jQuery object to insert before each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert before each element in the set of matched elements. - */ - before(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery; - /** - * Insert content, specified by the parameter, before each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert before each element in the set of matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - */ - before(func: (index: number, html: string) => string|Element|JQuery): JQuery; - - /** - * Create a deep copy of the set of matched elements. - * - * param withDataAndEvents A Boolean indicating whether event handlers and data should be copied along with the elements. The default value is false. - * param deepWithDataAndEvents A Boolean indicating whether event handlers and data for all children of the cloned element should be copied. By default its value matches the first argument's value (which defaults to false). - */ - clone(withDataAndEvents?: boolean, deepWithDataAndEvents?: boolean): JQuery; - - /** - * Remove the set of matched elements from the DOM. - * - * param selector A selector expression that filters the set of matched elements to be removed. - */ - detach(selector?: string): JQuery; - - /** - * Remove all child nodes of the set of matched elements from the DOM. - */ - empty(): JQuery; - - /** - * Insert every element in the set of matched elements after the target. - * - * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted after the element(s) specified by this parameter. - */ - insertAfter(target: JQuery|any[]|Element|Text|string): JQuery; - - /** - * Insert every element in the set of matched elements before the target. - * - * param target A selector, element, array of elements, HTML string, or jQuery object; the matched set of elements will be inserted before the element(s) specified by this parameter. - */ - insertBefore(target: JQuery|any[]|Element|Text|string): JQuery; - - /** - * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - * - * param content1 DOM element, DocumentFragment, array of elements, HTML string, or jQuery object to insert at the beginning of each element in the set of matched elements. - * param content2 One or more additional DOM elements, arrays of elements, HTML strings, or jQuery objects to insert at the beginning of each element in the set of matched elements. - */ - prepend(content1: JQuery|any[]|Element|DocumentFragment|Text|string, ...content2: any[]): JQuery; - /** - * Insert content, specified by the parameter, to the beginning of each element in the set of matched elements. - * - * param func A function that returns an HTML string, DOM element(s), or jQuery object to insert at the beginning of each element in the set of matched elements. Receives the index position of the element in the set and the old HTML value of the element as arguments. Within the function, this refers to the current element in the set. - */ - prepend(func: (index: number, html: string) => string|Element|JQuery): JQuery; - - /** - * Insert every element in the set of matched elements to the beginning of the target. - * - * @param target A selector, element, HTML string, array of elements, or jQuery object; the matched set of elements will be inserted at the beginning of the element(s) specified by this parameter. - */ - prependTo(target: JQuery|any[]|Element|string): JQuery; - - /** - * Remove the set of matched elements from the DOM. - * - * @param selector A selector expression that filters the set of matched elements to be removed. - */ - remove(selector?: string): JQuery; - - /** - * Replace each target element with the set of matched elements. - * - * @param target A selector string, jQuery object, DOM element, or array of elements indicating which element(s) to replace. - */ - replaceAll(target: JQuery|any[]|Element|string): JQuery; - - /** - * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. - * - * param newContent The content to insert. May be an HTML string, DOM element, array of DOM elements, or jQuery object. - */ - replaceWith(newContent: JQuery|any[]|Element|Text|string): JQuery; - /** - * Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed. - * - * param func A function that returns content with which to replace the set of matched elements. - */ - replaceWith(func: () => Element|JQuery): JQuery; - - /** - * Get the combined text contents of each element in the set of matched elements, including their descendants. - */ - text(): string; - /** - * Set the content of each element in the set of matched elements to the specified text. - * - * @param text The text to set as the content of each matched element. When Number or Boolean is supplied, it will be converted to a String representation. - */ - text(text: string|number|boolean): JQuery; - /** - * Set the content of each element in the set of matched elements to the specified text. - * - * @param func A function returning the text content to set. Receives the index position of the element in the set and the old text value as arguments. - */ - text(func: (index: number, text: string) => string): JQuery; - - /** - * Retrieve all the elements contained in the jQuery set, as an array. - * @name toArray - */ - toArray(): HTMLElement[]; - - /** - * Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place. - */ - unwrap(): JQuery; - - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - */ - wrap(wrappingElement: JQuery|Element|string): JQuery; - /** - * Wrap an HTML structure around each element in the set of matched elements. - * - * @param func A callback function returning the HTML content or jQuery object to wrap around the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - */ - wrap(func: (index: number) => string|JQuery): JQuery; - - /** - * Wrap an HTML structure around all elements in the set of matched elements. - * - * @param wrappingElement A selector, element, HTML string, or jQuery object specifying the structure to wrap around the matched elements. - */ - wrapAll(wrappingElement: JQuery|Element|string): JQuery; - wrapAll(func: (index: number) => string): JQuery; - - /** - * Wrap an HTML structure around the content of each element in the set of matched elements. - * - * @param wrappingElement An HTML snippet, selector expression, jQuery object, or DOM element specifying the structure to wrap around the content of the matched elements. - */ - wrapInner(wrappingElement: JQuery|Element|string): JQuery; - /** - * Wrap an HTML structure around the content of each element in the set of matched elements. - * - * @param func A callback function which generates a structure to wrap around the content of the matched elements. Receives the index position of the element in the set as an argument. Within the function, this refers to the current element in the set. - */ - wrapInner(func: (index: number) => string): JQuery; - - /** - * Iterate over a jQuery object, executing a function for each matched element. - * - * @param func A function to execute for each matched element. - */ - each(func: (index: number, elem: Element) => any): JQuery; - - /** - * Retrieve one of the elements matched by the jQuery object. - * - * @param index A zero-based integer indicating which element to retrieve. - */ - get(index: number): HTMLElement; - /** - * Retrieve the elements matched by the jQuery object. - * @alias toArray - */ - get(): HTMLElement[]; - - /** - * Search for a given element from among the matched elements. - */ - index(): number; - /** - * Search for a given element from among the matched elements. - * - * @param selector A selector representing a jQuery collection in which to look for an element. - */ - index(selector: string|JQuery|Element): number; - - /** - * The number of elements in the jQuery object. - */ - length: number; - /** - * A selector representing selector passed to jQuery(), if any, when creating the original set. - * version deprecated: 1.7, removed: 1.9 - */ - selector: string; - [index: string]: any; - [index: number]: HTMLElement; - - /** - * Add elements to the set of matched elements. - * - * @param selector A string representing a selector expression to find additional elements to add to the set of matched elements. - * @param context The point in the document at which the selector should begin matching; similar to the context argument of the $(selector, context) method. - */ - add(selector: string, context?: Element): JQuery; - /** - * Add elements to the set of matched elements. - * - * @param elements One or more elements to add to the set of matched elements. - */ - add(...elements: Element[]): JQuery; - /** - * Add elements to the set of matched elements. - * - * @param html An HTML fragment to add to the set of matched elements. - */ - add(html: string): JQuery; - /** - * Add elements to the set of matched elements. - * - * @param obj An existing jQuery object to add to the set of matched elements. - */ - add(obj: JQuery): JQuery; - - /** - * Get the children of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - children(selector?: string): JQuery; - - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param selector A string containing a selector expression to match elements against. - */ - closest(selector: string): JQuery; - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param selector A string containing a selector expression to match elements against. - * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead. - */ - closest(selector: string, context?: Element): JQuery; - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param obj A jQuery object to match elements against. - */ - closest(obj: JQuery): JQuery; - /** - * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree. - * - * @param element An element to match elements against. - */ - closest(element: Element): JQuery; - - /** - * Get an array of all the elements and selectors matched against the current element up through the DOM tree. - * - * @param selectors An array or string containing a selector expression to match elements against (can also be a jQuery object). - * @param context A DOM element within which a matching element may be found. If no context is passed in then the context of the jQuery set will be used instead. - */ - closest(selectors: any, context?: Element): any[]; - - /** - * Get the children of each element in the set of matched elements, including text and comment nodes. - */ - contents(): JQuery; - - /** - * End the most recent filtering operation in the current chain and return the set of matched elements to its previous state. - */ - end(): JQuery; - - /** - * Reduce the set of matched elements to the one at the specified index. - * - * @param index An integer indicating the 0-based position of the element. OR An integer indicating the position of the element, counting backwards from the last element in the set. - * - */ - eq(index: number): JQuery; - - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param selector A string containing a selector expression to match the current set of elements against. - */ - filter(selector: string): JQuery; - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param func A function used as a test for each element in the set. this is the current DOM element. - */ - filter(func: (index: number, element: Element) => any): JQuery; - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param element An element to match the current set of elements against. - */ - filter(element: Element): JQuery; - /** - * Reduce the set of matched elements to those that match the selector or pass the function's test. - * - * @param obj An existing jQuery object to match the current set of elements against. - */ - filter(obj: JQuery): JQuery; - - /** - * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - * - * @param selector A string containing a selector expression to match elements against. - */ - find(selector: string): JQuery; - /** - * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - * - * @param element An element to match elements against. - */ - find(element: Element): JQuery; - /** - * Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element. - * - * @param obj A jQuery object to match elements against. - */ - find(obj: JQuery): JQuery; - - /** - * Reduce the set of matched elements to the first in the set. - */ - first(): JQuery; - - /** - * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. - * - * @param selector A string containing a selector expression to match elements against. - */ - has(selector: string): JQuery; - /** - * Reduce the set of matched elements to those that have a descendant that matches the selector or DOM element. - * - * @param contained A DOM element to match elements against. - */ - has(contained: Element): JQuery; - - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param selector A string containing a selector expression to match elements against. - */ - is(selector: string): boolean; - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param func A function used as a test for the set of elements. It accepts one argument, index, which is the element's index in the jQuery collection.Within the function, this refers to the current DOM element. - */ - is(func: (index: number, element: Element) => boolean): boolean; - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param obj An existing jQuery object to match the current set of elements against. - */ - is(obj: JQuery): boolean; - /** - * Check the current matched set of elements against a selector, element, or jQuery object and return true if at least one of these elements matches the given arguments. - * - * @param elements One or more elements to match the current set of elements against. - */ - is(elements: any): boolean; - - /** - * Reduce the set of matched elements to the final one in the set. - */ - last(): JQuery; - - /** - * Pass each element in the current matched set through a function, producing a new jQuery object containing the return values. - * - * @param callback A function object that will be invoked for each element in the current set. - */ - map(callback: (index: number, domElement: Element) => any): JQuery; - - /** - * Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - next(selector?: string): JQuery; - - /** - * Get all following siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - nextAll(selector?: string): JQuery; - - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param selector A string containing a selector expression to indicate where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - */ - nextUntil(selector?: string, filter?: string): JQuery; - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param element A DOM node or jQuery object indicating where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - */ - nextUntil(element?: Element, filter?: string): JQuery; - /** - * Get all following siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object passed. - * - * @param obj A DOM node or jQuery object indicating where to stop matching following sibling elements. - * @param filter A string containing a selector expression to match elements against. - */ - nextUntil(obj?: JQuery, filter?: string): JQuery; - - /** - * Remove elements from the set of matched elements. - * - * @param selector A string containing a selector expression to match elements against. - */ - not(selector: string): JQuery; - /** - * Remove elements from the set of matched elements. - * - * @param func A function used as a test for each element in the set. this is the current DOM element. - */ - not(func: (index: number, element: Element) => boolean): JQuery; - /** - * Remove elements from the set of matched elements. - * - * @param elements One or more DOM elements to remove from the matched set. - */ - not(elements: Element|Element[]): JQuery; - /** - * Remove elements from the set of matched elements. - * - * @param obj An existing jQuery object to match the current set of elements against. - */ - not(obj: JQuery): JQuery; - - /** - * Get the closest ancestor element that is positioned. - */ - offsetParent(): JQuery; - - /** - * Get the parent of each element in the current set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - parent(selector?: string): JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - parents(selector?: string): JQuery; - - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param selector A string containing a selector expression to indicate where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - */ - parentsUntil(selector?: string, filter?: string): JQuery; - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param element A DOM node or jQuery object indicating where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - */ - parentsUntil(element?: Element, filter?: string): JQuery; - /** - * Get the ancestors of each element in the current set of matched elements, up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param obj A DOM node or jQuery object indicating where to stop matching ancestor elements. - * @param filter A string containing a selector expression to match elements against. - */ - parentsUntil(obj?: JQuery, filter?: string): JQuery; - - /** - * Get the immediately preceding sibling of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - prev(selector?: string): JQuery; - - /** - * Get all preceding siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - prevAll(selector?: string): JQuery; - - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param selector A string containing a selector expression to indicate where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - */ - prevUntil(selector?: string, filter?: string): JQuery; - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param element A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - */ - prevUntil(element?: Element, filter?: string): JQuery; - /** - * Get all preceding siblings of each element up to but not including the element matched by the selector, DOM node, or jQuery object. - * - * @param obj A DOM node or jQuery object indicating where to stop matching preceding sibling elements. - * @param filter A string containing a selector expression to match elements against. - */ - prevUntil(obj?: JQuery, filter?: string): JQuery; - - /** - * Get the siblings of each element in the set of matched elements, optionally filtered by a selector. - * - * @param selector A string containing a selector expression to match elements against. - */ - siblings(selector?: string): JQuery; - - /** - * Reduce the set of matched elements to a subset specified by a range of indices. - * - * @param start An integer indicating the 0-based position at which the elements begin to be selected. If negative, it indicates an offset from the end of the set. - * @param end An integer indicating the 0-based position at which the elements stop being selected. If negative, it indicates an offset from the end of the set. If omitted, the range continues until the end of the set. - */ - slice(start: number, end?: number): JQuery; - - /** - * Show the queue of functions to be executed on the matched elements. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - */ - queue(queueName?: string): any[]; - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param newQueue An array of functions to replace the current queue contents. - */ - queue(newQueue: Function[]): JQuery; - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param callback The new function to add to the queue, with a function to call that will dequeue the next item. - */ - queue(callback: Function): JQuery; - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param newQueue An array of functions to replace the current queue contents. - */ - queue(queueName: string, newQueue: Function[]): JQuery; - /** - * Manipulate the queue of functions to be executed, once for each matched element. - * - * @param queueName A string containing the name of the queue. Defaults to fx, the standard effects queue. - * @param callback The new function to add to the queue, with a function to call that will dequeue the next item. - */ - queue(queueName: string, callback: Function): JQuery; -} -declare module "jquery" { - export = $; -} -declare var jQuery: JQueryStatic; -declare var $: JQueryStatic; diff --git a/samples/angular-mostpopularitems/typings/knockout/knockout.d.ts b/samples/angular-mostpopularitems/typings/knockout/knockout.d.ts deleted file mode 100644 index 267f3174c..000000000 --- a/samples/angular-mostpopularitems/typings/knockout/knockout.d.ts +++ /dev/null @@ -1,631 +0,0 @@ -// Type definitions for Knockout v3.2.0 -// Project: http://knockoutjs.com -// Definitions by: Boris Yankov , Igor Oleinikov , Clément Bourgeois -// Definitions: https://github.com/borisyankov/DefinitelyTyped - - -interface KnockoutSubscribableFunctions { - [key: string]: KnockoutBindingHandler; - - notifySubscribers(valueToWrite?: T, event?: string): void; -} - -interface KnockoutComputedFunctions { - [key: string]: KnockoutBindingHandler; -} - -interface KnockoutObservableFunctions { - [key: string]: KnockoutBindingHandler; - - equalityComparer(a: any, b: any): boolean; -} - -interface KnockoutObservableArrayFunctions { - // General Array functions - indexOf(searchElement: T, fromIndex?: number): number; - slice(start: number, end?: number): T[]; - splice(start: number): T[]; - splice(start: number, deleteCount: number, ...items: T[]): T[]; - pop(): T; - push(...items: T[]): void; - shift(): T; - unshift(...items: T[]): number; - reverse(): KnockoutObservableArray; - sort(): KnockoutObservableArray; - sort(compareFunction: (left: T, right: T) => number): KnockoutObservableArray; - - // Ko specific - [key: string]: KnockoutBindingHandler; - - replace(oldItem: T, newItem: T): void; - - remove(item: T): T[]; - remove(removeFunction: (item: T) => boolean): T[]; - removeAll(items: T[]): T[]; - removeAll(): T[]; - - destroy(item: T): void; - destroy(destroyFunction: (item: T) => boolean): void; - destroyAll(items: T[]): void; - destroyAll(): void; -} - -interface KnockoutSubscribableStatic { - fn: KnockoutSubscribableFunctions; - - new (): KnockoutSubscribable; -} - -interface KnockoutSubscription { - dispose(): void; -} - -interface KnockoutSubscribable extends KnockoutSubscribableFunctions { - subscribe(callback: (newValue: T) => void, target?: any, event?: string): KnockoutSubscription; - subscribe(callback: (newValue: TEvent) => void, target: any, event: string): KnockoutSubscription; - extend(requestedExtenders: { [key: string]: any; }): KnockoutSubscribable; - getSubscriptionsCount(): number; -} - -interface KnockoutComputedStatic { - fn: KnockoutComputedFunctions; - - (): KnockoutComputed; - (func: () => T, context?: any, options?: any): KnockoutComputed; - (def: KnockoutComputedDefine, context?: any): KnockoutComputed; -} - -interface KnockoutComputed extends KnockoutObservable, KnockoutComputedFunctions { - fn: KnockoutComputedFunctions; - - dispose(): void; - isActive(): boolean; - getDependenciesCount(): number; - extend(requestedExtenders: { [key: string]: any; }): KnockoutComputed; -} - -interface KnockoutObservableArrayStatic { - fn: KnockoutObservableArrayFunctions; - - (value?: T[]): KnockoutObservableArray; -} - -interface KnockoutObservableArray extends KnockoutObservable, KnockoutObservableArrayFunctions { - extend(requestedExtenders: { [key: string]: any; }): KnockoutObservableArray; -} - -interface KnockoutObservableStatic { - fn: KnockoutObservableFunctions; - - (value?: T): KnockoutObservable; -} - -interface KnockoutObservable extends KnockoutSubscribable, KnockoutObservableFunctions { - (): T; - (value: T): void; - - peek(): T; - valueHasMutated?:{(): void;}; - valueWillMutate?:{(): void;}; - extend(requestedExtenders: { [key: string]: any; }): KnockoutObservable; -} - -interface KnockoutComputedDefine { - read(): T; - write? (value: T): void; - disposeWhenNodeIsRemoved?: Node; - disposeWhen? (): boolean; - owner?: any; - deferEvaluation?: boolean; - pure?: boolean; -} - -interface KnockoutBindingContext { - $parent: any; - $parents: any[]; - $root: any; - $data: any; - $rawData: any | KnockoutObservable; - $index?: KnockoutObservable; - $parentContext?: KnockoutBindingContext; - $component: any; - $componentTemplateNodes: Node[]; - - extend(properties: any): any; - createChildContext(dataItemOrAccessor: any, dataItemAlias?: any, extendCallback?: Function): any; -} - -interface KnockoutAllBindingsAccessor { - (): any; - get(name: string): any; - has(name: string): boolean; -} - -interface KnockoutBindingHandler { - after?: Array; - init?: (element: any, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext) => void | { controlsDescendantBindings: boolean; }; - update?: (element: any, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext) => void; - options?: any; - preprocess?: (value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string; -} - -interface KnockoutBindingHandlers { - [bindingHandler: string]: KnockoutBindingHandler; - - // Controlling text and appearance - visible: KnockoutBindingHandler; - text: KnockoutBindingHandler; - html: KnockoutBindingHandler; - css: KnockoutBindingHandler; - style: KnockoutBindingHandler; - attr: KnockoutBindingHandler; - - // Control Flow - foreach: KnockoutBindingHandler; - if: KnockoutBindingHandler; - ifnot: KnockoutBindingHandler; - with: KnockoutBindingHandler; - - // Working with form fields - click: KnockoutBindingHandler; - event: KnockoutBindingHandler; - submit: KnockoutBindingHandler; - enable: KnockoutBindingHandler; - disable: KnockoutBindingHandler; - value: KnockoutBindingHandler; - textInput: KnockoutBindingHandler; - hasfocus: KnockoutBindingHandler; - checked: KnockoutBindingHandler; - options: KnockoutBindingHandler; - selectedOptions: KnockoutBindingHandler; - uniqueName: KnockoutBindingHandler; - - // Rendering templates - template: KnockoutBindingHandler; - - // Components (new for v3.2) - component: KnockoutBindingHandler; -} - -interface KnockoutMemoization { - memoize(callback: () => string): string; - unmemoize(memoId: string, callbackParams: any[]): boolean; - unmemoizeDomNodeAndDescendants(domNode: any, extraCallbackParamsArray: any[]): boolean; - parseMemoText(memoText: string): string; -} - -interface KnockoutVirtualElement {} - -interface KnockoutVirtualElements { - allowedBindings: { [bindingName: string]: boolean; }; - emptyNode(node: KnockoutVirtualElement ): void; - firstChild(node: KnockoutVirtualElement ): KnockoutVirtualElement; - insertAfter( container: KnockoutVirtualElement, nodeToInsert: Node, insertAfter: Node ): void; - nextSibling(node: KnockoutVirtualElement): Node; - prepend(node: KnockoutVirtualElement, toInsert: Node ): void; - setDomNodeChildren(node: KnockoutVirtualElement, newChildren: { length: number;[index: number]: Node; } ): void; - childNodes(node: KnockoutVirtualElement ): Node[]; -} - -interface KnockoutExtenders { - throttle(target: any, timeout: number): KnockoutComputed; - notify(target: any, notifyWhen: string): any; - - rateLimit(target: any, timeout: number): any; - rateLimit(target: any, options: { timeout: number; method?: string; }): any; - - trackArrayChanges(target: any): any; -} - -// -// NOTE TO MAINTAINERS AND CONTRIBUTORS : pay attention to only include symbols that are -// publicly exported in the minified version of ko, without that you can give the false -// impression that some functions will be available in production builds. -// -interface KnockoutUtils { - ////////////////////////////////// - // utils.domData.js - ////////////////////////////////// - - domData: { - get (node: Element, key: string): any; - - set (node: Element, key: string, value: any): void; - - getAll(node: Element, createIfNotFound: boolean): any; - - clear(node: Element): boolean; - }; - - ////////////////////////////////// - // utils.domNodeDisposal.js - ////////////////////////////////// - - domNodeDisposal: { - addDisposeCallback(node: Element, callback: Function): void; - - removeDisposeCallback(node: Element, callback: Function): void; - - cleanNode(node: Node): Element; - - removeNode(node: Node): void; - }; - - addOrRemoveItem(array: T[] | KnockoutObservable, value: T, included: T): void; - - arrayFilter(array: T[], predicate: (item: T) => boolean): T[]; - - arrayFirst(array: T[], predicate: (item: T) => boolean, predicateOwner?: any): T; - - arrayForEach(array: T[], action: (item: T, index: number) => void): void; - - arrayGetDistinctValues(array: T[]): T[]; - - arrayIndexOf(array: T[], item: T): number; - - arrayMap(array: T[], mapping: (item: T) => U): U[]; - - arrayPushAll(array: T[] | KnockoutObservableArray, valuesToPush: T[]): T[]; - - arrayRemoveItem(array: any[], itemToRemove: any): void; - - compareArrays(a: T[], b: T[]): Array>; - - extend(target: Object, source: Object): Object; - - fieldsIncludedWithJsonPost: any[]; - - getFormFields(form: any, fieldName: string): any[]; - - objectForEach(obj: any, action: (key: any, value: any) => void): void; - - parseHtmlFragment(html: string): any[]; - - parseJson(jsonString: string): any; - - postJson(urlOrForm: any, data: any, options: any): void; - - peekObservable(value: KnockoutObservable): T; - - range(min: any, max: any): any; - - registerEventHandler(element: any, eventType: any, handler: Function): void; - - setHtml(node: Element, html: () => string): void; - - setHtml(node: Element, html: string): void; - - setTextContent(element: any, textContent: string | KnockoutObservable): void; - - stringifyJson(data: any, replacer?: Function, space?: string): string; - - toggleDomNodeCssClass(node: any, className: string, shouldHaveClass: boolean): void; - - triggerEvent(element: any, eventType: any): void; - - unwrapObservable(value: KnockoutObservable | T): T; - - // NOT PART OF THE MINIFIED API SURFACE (ONLY IN knockout-{version}.debug.js) https://github.com/SteveSanderson/knockout/issues/670 - // forceRefresh(node: any): void; - // ieVersion: number; - // isIe6: boolean; - // isIe7: boolean; - // jQueryHtmlParse(html: string): any[]; - // makeArray(arrayLikeObject: any): any[]; - // moveCleanedNodesToContainerElement(nodes: any[]): HTMLElement; - // replaceDomNodes(nodeToReplaceOrNodeArray: any, newNodesArray: any[]): void; - // setDomNodeChildren(domNode: any, childNodes: any[]): void; - // setElementName(element: any, name: string): void; - // setOptionNodeSelectionState(optionNode: any, isSelected: boolean): void; - // simpleHtmlParse(html: string): any[]; - // stringStartsWith(str: string, startsWith: string): boolean; - // stringTokenize(str: string, delimiter: string): string[]; - // stringTrim(str: string): string; - // tagNameLower(element: any): string; -} - -interface KnockoutArrayChange { - status: string; - value: T; - index: number; - moved?: number; -} - -////////////////////////////////// -// templateSources.js -////////////////////////////////// - -interface KnockoutTemplateSourcesDomElement { - text(): any; - text(value: any): void; - - data(key: string): any; - data(key: string, value: any): any; -} - -interface KnockoutTemplateAnonymous extends KnockoutTemplateSourcesDomElement { - nodes(): any; - nodes(value: any): void; -} - -interface KnockoutTemplateSources { - - domElement: { - prototype: KnockoutTemplateSourcesDomElement - new (element: Element): KnockoutTemplateSourcesDomElement - }; - - anonymousTemplate: { - prototype: KnockoutTemplateAnonymous; - new (element: Element): KnockoutTemplateAnonymous; - }; -} - -////////////////////////////////// -// nativeTemplateEngine.js -////////////////////////////////// - -interface KnockoutNativeTemplateEngine { - - renderTemplateSource(templateSource: Object, bindingContext?: KnockoutBindingContext, options?: Object): any[]; -} - -////////////////////////////////// -// templateEngine.js -////////////////////////////////// - -interface KnockoutTemplateEngine extends KnockoutNativeTemplateEngine { - - createJavaScriptEvaluatorBlock(script: string): string; - - makeTemplateSource(template: any, templateDocument?: Document): any; - - renderTemplate(template: any, bindingContext: KnockoutBindingContext, options: Object, templateDocument: Document): any; - - isTemplateRewritten(template: any, templateDocument: Document): boolean; - - rewriteTemplate(template: any, rewriterCallback: Function, templateDocument: Document): void; -} - -///////////////////////////////// - -interface KnockoutStatic { - utils: KnockoutUtils; - memoization: KnockoutMemoization; - - bindingHandlers: KnockoutBindingHandlers; - getBindingHandler(handler: string): KnockoutBindingHandler; - - virtualElements: KnockoutVirtualElements; - extenders: KnockoutExtenders; - - applyBindings(viewModelOrBindingContext?: any, rootNode?: any): void; - applyBindingsToDescendants(viewModelOrBindingContext: any, rootNode: any): void; - applyBindingAccessorsToNode(node: Node, bindings: (bindingContext: KnockoutBindingContext, node: Node) => {}, bindingContext: KnockoutBindingContext): void; - applyBindingAccessorsToNode(node: Node, bindings: {}, bindingContext: KnockoutBindingContext): void; - applyBindingAccessorsToNode(node: Node, bindings: (bindingContext: KnockoutBindingContext, node: Node) => {}, viewModel: any): void; - applyBindingAccessorsToNode(node: Node, bindings: {}, viewModel: any): void; - applyBindingsToNode(node: Node, bindings: any, viewModelOrBindingContext?: any): any; - - subscribable: KnockoutSubscribableStatic; - observable: KnockoutObservableStatic; - - computed: KnockoutComputedStatic; - pureComputed(evaluatorFunction: () => T, context?: any): KnockoutComputed; - pureComputed(options: KnockoutComputedDefine, context?: any): KnockoutComputed; - - observableArray: KnockoutObservableArrayStatic; - - contextFor(node: any): any; - isSubscribable(instance: any): boolean; - toJSON(viewModel: any, replacer?: Function, space?: any): string; - toJS(viewModel: any): any; - isObservable(instance: any): boolean; - isWriteableObservable(instance: any): boolean; - isComputed(instance: any): boolean; - dataFor(node: any): any; - removeNode(node: Element): void; - cleanNode(node: Element): Element; - renderTemplate(template: Function, viewModel: any, options?: any, target?: any, renderMode?: any): any; - renderTemplate(template: string, viewModel: any, options?: any, target?: any, renderMode?: any): any; - unwrap(value: KnockoutObservable | T): T; - - computedContext: KnockoutComputedContext; - - ////////////////////////////////// - // templateSources.js - ////////////////////////////////// - - templateSources: KnockoutTemplateSources; - - ////////////////////////////////// - // templateEngine.js - ////////////////////////////////// - - templateEngine: { - - prototype: KnockoutTemplateEngine; - - new (): KnockoutTemplateEngine; - }; - - ////////////////////////////////// - // templateRewriting.js - ////////////////////////////////// - - templateRewriting: { - - ensureTemplateIsRewritten(template: Node, templateEngine: KnockoutTemplateEngine, templateDocument: Document): any; - ensureTemplateIsRewritten(template: string, templateEngine: KnockoutTemplateEngine, templateDocument: Document): any; - - memoizeBindingAttributeSyntax(htmlString: string, templateEngine: KnockoutTemplateEngine): any; - - applyMemoizedBindingsToNextSibling(bindings: any, nodeName: string): string; - }; - - ////////////////////////////////// - // nativeTemplateEngine.js - ////////////////////////////////// - - nativeTemplateEngine: { - - prototype: KnockoutNativeTemplateEngine; - - new (): KnockoutNativeTemplateEngine; - - instance: KnockoutNativeTemplateEngine; - }; - - ////////////////////////////////// - // jqueryTmplTemplateEngine.js - ////////////////////////////////// - - jqueryTmplTemplateEngine: { - - prototype: KnockoutTemplateEngine; - - renderTemplateSource(templateSource: Object, bindingContext: KnockoutBindingContext, options: Object): Node[]; - - createJavaScriptEvaluatorBlock(script: string): string; - - addTemplate(templateName: string, templateMarkup: string): void; - }; - - ////////////////////////////////// - // templating.js - ////////////////////////////////// - - setTemplateEngine(templateEngine: KnockoutNativeTemplateEngine): void; - - renderTemplate(template: Function, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: Function, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: Function, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - renderTemplate(template: Function, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - - renderTemplateForEach(template: Function, arrayOrObservableArray: any[], options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - renderTemplateForEach(template: any, arrayOrObservableArray: any[], options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - renderTemplateForEach(template: Function, arrayOrObservableArray: KnockoutObservable, options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - renderTemplateForEach(template: any, arrayOrObservableArray: KnockoutObservable, options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - - expressionRewriting: { - bindingRewriteValidators: any; - parseObjectLiteral: { (objectLiteralString: string): any[] } - }; - - ///////////////////////////////// - - bindingProvider: { - instance: KnockoutBindingProvider; - new (): KnockoutBindingProvider; - } - - ///////////////////////////////// - // selectExtensions.js - ///////////////////////////////// - - selectExtensions: { - - readValue(element: HTMLElement): any; - - writeValue(element: HTMLElement, value: any): void; - }; - - components: KnockoutComponents; -} - -interface KnockoutBindingProvider { - nodeHasBindings(node: Node): boolean; - getBindings(node: Node, bindingContext: KnockoutBindingContext): {}; - getBindingAccessors?(node: Node, bindingContext: KnockoutBindingContext): { [key: string]: string; }; -} - -interface KnockoutComputedContext { - getDependenciesCount(): number; - isInitial: () => boolean; - isSleeping: boolean; -} - -// -// refactored types into a namespace to reduce global pollution -// and used Union Types to simplify overloads (requires TypeScript 1.4) -// -declare module KnockoutComponentTypes { - - interface Config { - viewModel?: ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule; - template: string | Node[]| DocumentFragment | TemplateElement | AMDModule; - synchronous?: boolean; - } - - interface ComponentConfig { - viewModel?: ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule; - template: any; - createViewModel?: any; - } - - interface EmptyConfig { - } - - // common AMD type - interface AMDModule { - require: string; - } - - // viewmodel types - interface ViewModelFunction { - (params?: any): any; - } - - interface ViewModelSharedInstance { - instance: any; - } - - interface ViewModelFactoryFunction { - createViewModel: (params?: any, componentInfo?: ComponentInfo) => any; - } - - interface ComponentInfo { - element: Node; - templateNodes: Node[]; - } - - interface TemplateElement { - element: string | Node; - } - - interface Loader { - getConfig? (componentName: string, callback: (result: ComponentConfig) => void): void; - loadComponent? (componentName: string, config: ComponentConfig, callback: (result: Definition) => void): void; - loadTemplate? (componentName: string, templateConfig: any, callback: (result: Node[]) => void): void; - loadViewModel? (componentName: string, viewModelConfig: any, callback: (result: any) => void): void; - suppressLoaderExceptions?: boolean; - } - - interface Definition { - template: Node[]; - createViewModel? (params: any, options: { element: Node; }): any; - } -} - -interface KnockoutComponents { - // overloads for register method: - register(componentName: string, config: KnockoutComponentTypes.Config | KnockoutComponentTypes.EmptyConfig): void; - - isRegistered(componentName: string): boolean; - unregister(componentName: string): void; - get(componentName: string, callback: (definition: KnockoutComponentTypes.Definition) => void): void; - clearCachedDefinition(componentName: string): void - defaultLoader: KnockoutComponentTypes.Loader; - loaders: KnockoutComponentTypes.Loader[]; - getComponentNameForNode(node: Node): string; -} - -declare var ko: KnockoutStatic; - -declare module "knockout" { - export = ko; -} diff --git a/samples/angular-mostpopularitems/typings/lodash/lodash.d.ts b/samples/angular-mostpopularitems/typings/lodash/lodash.d.ts deleted file mode 100644 index 1e39d223f..000000000 --- a/samples/angular-mostpopularitems/typings/lodash/lodash.d.ts +++ /dev/null @@ -1,20808 +0,0 @@ -// Type definitions for Lo-Dash -// Project: http://lodash.com/ -// Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -/** -### 4.0.0 Changelog (https://github.com/lodash/lodash/wiki/Changelog) - -#### TODO: -removed: -- [x] Removed _.support -- [x] Removed _.findWhere in favor of _.find with iteratee shorthand -- [x] Removed _.where in favor of _.filter with iteratee shorthand -- [x] Removed _.pluck in favor of _.map with iteratee shorthand - -renamed: -- [x] Renamed _.first to _.head -- [x] Renamed _.indexBy to _.keyBy -- [x] Renamed _.invoke to _.invokeMap -- [x] Renamed _.overArgs to _.overArgs -- [x] Renamed _.padLeft & _.padRight to _.padStart & _.padEnd -- [x] Renamed _.pairs to _.toPairs -- [x] Renamed _.rest to _.tail -- [x] Renamed _.restParam to _.rest -- [x] Renamed _.sortByOrder to _.orderBy -- [x] Renamed _.trimLeft & _.trimRight to _.trimStart & _.trimEnd -- [x] Renamed _.trunc to _.truncate - -split: -- [x] Split _.indexOf & _.lastIndexOf into _.sortedIndexOf & _.sortedLastIndexOf -- [x] Split _.max & _.min into _.maxBy & _.minBy -- [x] Split _.omit & _.pick into _.omitBy & _.pickBy -- [x] Split _.sample into _.sampleSize -- [x] Split _.sortedIndex into _.sortedIndexBy -- [x] Split _.sortedLastIndex into _.sortedLastIndexBy -- [x] Split _.uniq into _.sortedUniq, _.sortedUniqBy, & _.uniqBy - -changes: -- [x] Absorbed _.sortByAll into _.sortBy -- [x] Changed the category of _.at to “Object” -- [x] Changed the category of _.bindAll to “Utility” -- [x] Made _.capitalize uppercase the first character & lowercase the rest -- [x] Made _.functions return only own method names - - -added 23 array methods: -- [x] _.concat -- [x] _.differenceBy -- [x] _.differenceWith -- [x] _.flatMap -- [x] _.fromPairs -- [x] _.intersectionBy -- [x] _.intersectionWith -- [x] _.join -- [x] _.pullAll -- [x] _.pullAllBy -- [x] _.reverse -- [x] _.sortedIndexBy -- [x] _.sortedIndexOf -- [x] _.sortedLastIndexBy -- [x] _.sortedLastIndexOf -- [x] _.sortedUniq -- [x] _.sortedUniqBy -- [x] _.unionBy -- [x] _.unionWith -- [x] _.uniqBy -- [x] _.uniqWith -- [x] _.xorBy -- [x] _.xorWith - -added 18 lang methods: -- [x] _.cloneDeepWith -- [x] _.cloneWith -- [x] _.eq -- [x] _.isArrayLike -- [x] _.isArrayLikeObject -- [x] _.isEqualWith -- [x] _.isInteger -- [x] _.isLength -- [x] _.isMatchWith -- [x] _.isNil -- [x] _.isObjectLike -- [x] _.isSafeInteger -- [x] _.isSymbol -- [x] _.toInteger -- [x] _.toLength -- [x] _.toNumber -- [x] _.toSafeInteger -- [x] _.toString - -added 13 object methods: -- [x] _.assignIn -- [x] _.assignInWith -- [x] _.assignWith -- [x] _.functionsIn -- [x] _.hasIn -- [x] _.mergeWith -- [x] _.omitBy -- [x] _.pickBy - - -added 8 string methods: -- [x] _.lowerCase -- [x] _.lowerFirst -- [x] _.upperCase -- [x] _.upperFirst -- [x] _.toLower -- [x] _.toUpper - -added 8 utility methods: -- [x] _.toPath - -added 4 math methods: -- [x] _.maxBy -- [x] _.mean -- [x] _.minBy -- [x] _.sumBy - -added 2 function methods: -- [x] _.flip -- [x] _.unary - -added 2 number methods: -- [x] _.clamp -- [x] _.subtract - -added collection method: -- [x] _.sampleSize - -Added 3 aliases - -- [x] _.first as an alias of _.head - -Removed 17 aliases -- [x] Removed aliase _.all -- [x] Removed aliase _.any -- [x] Removed aliase _.backflow -- [x] Removed aliase _.callback -- [x] Removed aliase _.collect -- [x] Removed aliase _.compose -- [x] Removed aliase _.contains -- [x] Removed aliase _.detect -- [x] Removed aliase _.foldl -- [x] Removed aliase _.foldr -- [x] Removed aliase _.include -- [x] Removed aliase _.inject -- [x] Removed aliase _.methods -- [x] Removed aliase _.object -- [x] Removed aliase _.run -- [x] Removed aliase _.select -- [x] Removed aliase _.unique - -Other changes -- [x] Added support for array buffers to _.isEqual -- [x] Added support for converting iterators to _.toArray -- [x] Added support for deep paths to _.zipObject -- [x] Changed UMD to export to window or self when available regardless of other exports -- [x] Ensured debounce cancel clears args & thisArg references -- [x] Ensured _.add, _.subtract, & _.sum don’t skip NaN values -- [x] Ensured _.clone treats generators like functions -- [x] Ensured _.clone produces clones with the source’s [[Prototype]] -- [x] Ensured _.defaults assigns properties that shadow Object.prototype -- [x] Ensured _.defaultsDeep doesn’t merge a string into an array -- [x] Ensured _.defaultsDeep & _.merge don’t modify sources -- [x] Ensured _.defaultsDeep works with circular references -- [x] Ensured _.keys skips “length” on strict mode arguments objects in Safari 9 -- [x] Ensured _.merge doesn’t convert strings to arrays -- [x] Ensured _.merge merges plain-objects onto non plain-objects -- [x] Ensured _#plant resets iterator data of cloned sequences -- [x] Ensured _.random swaps min & max if min is greater than max -- [x] Ensured _.range preserves the sign of start of -0 -- [x] Ensured _.reduce & _.reduceRight use getIteratee in their array branch -- [x] Fixed rounding issue with the precision param of _.floor - -** LATER ** -Misc: -- [ ] Made _.forEach, _.forIn, _.forOwn, & _.times implicitly end a chain sequence -- [ ] Removed thisArg params from most methods -- [ ] Made “By” methods provide a single param to iteratees -- [ ] Made _.words chainable by default -- [ ] Removed isDeep params from _.clone & _.flatten -- [ ] Removed _.bindAll support for binding all methods when no names are provided -- [ ] Removed func-first param signature from _.before & _.after -- [ ] _.extend as an alias of _.assignIn -- [ ] _.extendWith as an alias of _.assignInWith -- [ ] Added clear method to _.memoize.Cache -- [ ] Added flush method to debounced & throttled functions -- [ ] Added support for ES6 maps, sets, & symbols to _.clone, _.isEqual, & _.toArray -- [ ] Enabled _.flow & _.flowRight to accept an array of functions -- [ ] Ensured “Collection” methods treat functions as objects -- [ ] Ensured _.assign, _.defaults, & _.merge coerce object values to objects -- [ ] Ensured _.bindKey bound functions call object[key] when called with the new operator -- [ ] Ensured _.isFunction returns true for generator functions -- [ ] Ensured _.merge assigns typed arrays directly -- [ ] Made _(...) an iterator & iterable -- [ ] Made _.drop, _.take, & right forms coerce n of undefined to 0 - -Methods: -- [ ] _.concat -- [ ] _.differenceBy -- [ ] _.differenceWith -- [ ] _.flatMap -- [ ] _.fromPairs -- [ ] _.intersectionBy -- [ ] _.intersectionWith -- [ ] _.join -- [ ] _.pullAll -- [ ] _.pullAllBy -- [ ] _.reverse -- [ ] _.sortedLastIndexOf -- [ ] _.unionBy -- [ ] _.unionWith -- [ ] _.uniqWith -- [ ] _.xorBy -- [ ] _.xorWith -- [ ] _.toString - -- [ ] _.invoke -- [ ] _.setWith -- [ ] _.toPairs -- [ ] _.toPairsIn -- [ ] _.unset - -- [ ] _.replace -- [ ] _.split - -- [ ] _.cond -- [ ] _.conforms -- [ ] _.nthArg -- [ ] _.over -- [ ] _.overEvery -- [ ] _.overSome -- [ ] _.rangeRight - -- [ ] _.next -*/ - -declare var _: _.LoDashStatic; - -declare module _ { - interface LoDashStatic { - /** - * Creates a lodash object which wraps the given value to enable intuitive method chaining. - * - * In addition to Lo-Dash methods, wrappers also have the following Array methods: - * concat, join, pop, push, reverse, shift, slice, sort, splice, and unshift - * - * Chaining is supported in custom builds as long as the value method is implicitly or - * explicitly included in the build. - * - * The chainable wrapper functions are: - * after, assign, bind, bindAll, bindKey, chain, chunk, compact, compose, concat, countBy, - * createCallback, curry, debounce, defaults, defer, delay, difference, filter, flatten, - * forEach, forEachRight, forIn, forInRight, forOwn, forOwnRight, functions, groupBy, - * keyBy, initial, intersection, invert, invoke, keys, map, max, memoize, merge, min, - * object, omit, once, pairs, partial, partialRight, pick, pluck, pull, push, range, reject, - * remove, rest, reverse, sample, shuffle, slice, sort, sortBy, splice, tap, throttle, times, - * toArray, transform, union, uniq, unset, unshift, unzip, values, where, without, wrap, and zip - * - * The non-chainable wrapper functions are: - * clone, cloneDeep, contains, escape, every, find, findIndex, findKey, findLast, - * findLastIndex, findLastKey, has, identity, indexOf, isArguments, isArray, isBoolean, - * isDate, isElement, isEmpty, isEqual, isFinite, isFunction, isNaN, isNull, isNumber, - * isObject, isPlainObject, isRegExp, isString, isUndefined, join, lastIndexOf, mixin, - * noConflict, parseInt, pop, random, reduce, reduceRight, result, shift, size, some, - * sortedIndex, runInContext, template, unescape, uniqueId, and value - * - * The wrapper functions first and last return wrapped values when n is provided, otherwise - * they return unwrapped values. - * - * Explicit chaining can be enabled by using the _.chain method. - **/ - (value: number): LoDashImplicitWrapper; - (value: string): LoDashImplicitStringWrapper; - (value: boolean): LoDashImplicitWrapper; - (value: Array): LoDashImplicitNumberArrayWrapper; - (value: Array): LoDashImplicitArrayWrapper; - (value: T): LoDashImplicitObjectWrapper; - (value: any): LoDashImplicitWrapper; - - /** - * The semantic version number. - **/ - VERSION: string; - - /** - * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby - * (ERB). Change the following template settings to use alternative delimiters. - **/ - templateSettings: TemplateSettings; - } - - /** - * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby - * (ERB). Change the following template settings to use alternative delimiters. - **/ - interface TemplateSettings { - /** - * The "escape" delimiter. - **/ - escape?: RegExp; - - /** - * The "evaluate" delimiter. - **/ - evaluate?: RegExp; - - /** - * An object to import into the template as local variables. - **/ - imports?: Dictionary; - - /** - * The "interpolate" delimiter. - **/ - interpolate?: RegExp; - - /** - * Used to reference the data object in the template text. - **/ - variable?: string; - } - - /** - * Creates a cache object to store key/value pairs. - */ - interface MapCache { - /** - * Removes `key` and its value from the cache. - * @param key The key of the value to remove. - * @return Returns `true` if the entry was removed successfully, else `false`. - */ - delete(key: string): boolean; - - /** - * Gets the cached value for `key`. - * @param key The key of the value to get. - * @return Returns the cached value. - */ - get(key: string): any; - - /** - * Checks if a cached value for `key` exists. - * @param key The key of the entry to check. - * @return Returns `true` if an entry for `key` exists, else `false`. - */ - has(key: string): boolean; - - /** - * Sets `value` to `key` of the cache. - * @param key The key of the value to cache. - * @param value The value to cache. - * @return Returns the cache object. - */ - set(key: string, value: any): _.Dictionary; - } - - interface LoDashWrapperBase { } - - interface LoDashImplicitWrapperBase extends LoDashWrapperBase { } - - interface LoDashExplicitWrapperBase extends LoDashWrapperBase { } - - interface LoDashImplicitWrapper extends LoDashImplicitWrapperBase> { } - - interface LoDashExplicitWrapper extends LoDashExplicitWrapperBase> { } - - interface LoDashImplicitStringWrapper extends LoDashImplicitWrapper { } - - interface LoDashExplicitStringWrapper extends LoDashExplicitWrapper { } - - interface LoDashImplicitObjectWrapper extends LoDashImplicitWrapperBase> { } - - interface LoDashExplicitObjectWrapper extends LoDashExplicitWrapperBase> { } - - interface LoDashImplicitArrayWrapper extends LoDashImplicitWrapperBase> { - pop(): T; - push(...items: T[]): LoDashImplicitArrayWrapper; - shift(): T; - sort(compareFn?: (a: T, b: T) => number): LoDashImplicitArrayWrapper; - splice(start: number): LoDashImplicitArrayWrapper; - splice(start: number, deleteCount: number, ...items: any[]): LoDashImplicitArrayWrapper; - unshift(...items: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper extends LoDashExplicitWrapperBase> { } - - interface LoDashImplicitNumberArrayWrapper extends LoDashImplicitArrayWrapper { } - - interface LoDashExplicitNumberArrayWrapper extends LoDashExplicitArrayWrapper { } - - /********* - * Array * - *********/ - - //_.chunk - interface LoDashStatic { - /** - * Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the - * final chunk will be the remaining elements. - * - * @param array The array to process. - * @param size The length of each chunk. - * @return Returns the new array containing chunks. - */ - chunk( - array: List, - size?: number - ): T[][]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashExplicitArrayWrapper; - } - - //_.compact - interface LoDashStatic { - /** - * Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are - * falsey. - * - * @param array The array to compact. - * @return (Array) Returns the new array of filtered values. - */ - compact(array?: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.compact - */ - compact(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.compact - */ - compact(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.compact - */ - compact(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.compact - */ - compact(): LoDashExplicitArrayWrapper; - } - - //_.concat DUMMY - interface LoDashStatic { - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - concat(...values: (T[]|List)[]) : T[]; - } - - //_.difference - interface LoDashStatic { - /** - * Creates an array of unique array values not included in the other provided arrays using SameValueZero for - * equality comparisons. - * - * @param array The array to inspect. - * @param values The arrays of values to exclude. - * @return Returns the new array of filtered values. - */ - difference( - array: T[]|List, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.difference - */ - difference(...values: (T[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.difference - */ - difference(...values: (TValue[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.difference - */ - difference(...values: (T[]|List)[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.difference - */ - difference(...values: (TValue[]|List)[]): LoDashExplicitArrayWrapper; - } - - //_.differenceBy - interface LoDashStatic { - /** - * This method is like _.difference except that it accepts iteratee which is invoked for each element of array - * and values to generate the criterion by which uniqueness is computed. The iteratee is invoked with one - * argument: (value). - * - * @param array The array to inspect. - * @param values The values to exclude. - * @param iteratee The iteratee invoked per element. - * @returns Returns the new array of filtered values. - */ - differenceBy( - array: T[]|List, - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - ...values: any[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashExplicitArrayWrapper; - } - - //_.differenceWith DUMMY - interface LoDashStatic { - /** - * Creates an array of unique `array` values not included in the other - * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.difference([3, 2, 1], [4, 2]); - * // => [3, 1] - */ - differenceWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.drop - interface LoDashStatic { - /** - * Creates a slice of array with n elements dropped from the beginning. - * - * @param array The array to query. - * @param n The number of elements to drop. - * @return Returns the slice of array. - */ - drop(array: T[]|List, n?: number): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashExplicitArrayWrapper; - } - - //_.dropRight - interface LoDashStatic { - /** - * Creates a slice of array with n elements dropped from the end. - * - * @param array The array to query. - * @param n The number of elements to drop. - * @return Returns the slice of array. - */ - dropRight( - array: List, - n?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashExplicitArrayWrapper; - } - - //_.dropRightWhile - interface LoDashStatic { - /** - * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate - * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * match the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - dropRightWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.dropWhile - interface LoDashStatic { - /** - * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate - * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - dropWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.dropWhile - */ - dropWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.dropWhile - */ - dropWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.fill - interface LoDashStatic { - /** - * Fills elements of array with value from start up to, but not including, end. - * - * Note: This method mutates array. - * - * @param array The array to fill. - * @param value The value to fill array with. - * @param start The start position. - * @param end The end position. - * @return Returns array. - */ - fill( - array: any[], - value: T, - start?: number, - end?: number - ): T[]; - - /** - * @see _.fill - */ - fill( - array: List, - value: T, - start?: number, - end?: number - ): List; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashExplicitObjectWrapper>; - } - - //_.findIndex - interface LoDashStatic { - /** - * This method is like _.find except that it returns the index of the first element predicate returns truthy - * for instead of the element itself. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the index of the found element, else -1. - */ - findIndex( - array: List, - predicate?: ListIterator - ): number; - - /** - * @see _.findIndex - */ - findIndex( - array: List, - predicate?: string - ): number; - - /** - * @see _.findIndex - */ - findIndex( - array: List, - predicate?: W - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - //_.findLastIndex - interface LoDashStatic { - /** - * This method is like _.findIndex except that it iterates over elements of collection from right to left. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to search. - * @param predicate The function invoked per iteration. - * @param thisArg The function invoked per iteration. - * @return Returns the index of the found element, else -1. - */ - findLastIndex( - array: List, - predicate?: ListIterator - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - array: List, - predicate?: string - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - array: List, - predicate?: W - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - //_.first - interface LoDashStatic { - /** - * @see _.head - */ - first(array: List): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.head - */ - first(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.head - */ - first(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface RecursiveArray extends Array> {} - interface ListOfRecursiveArraysOrValues extends List> {} - - //_.flatten - interface LoDashStatic { - /** - * Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only - * flattened a single level. - * - * @param array The array to flatten. - * @param isDeep Specify a deep flatten. - * @return Returns the new flattened array. - */ - flatten(array: ListOfRecursiveArraysOrValues, isDeep: boolean): T[]; - - /** - * @see _.flatten - */ - flatten(array: List): T[]; - - /** - * @see _.flatten - */ - flatten(array: ListOfRecursiveArraysOrValues): RecursiveArray; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatten - */ - flatten(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatten - */ - flatten(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashExplicitArrayWrapper; - } - - //_.flattenDeep - interface LoDashStatic { - /** - * Recursively flattens a nested array. - * - * @param array The array to recursively flatten. - * @return Returns the new flattened array. - */ - flattenDeep(array: ListOfRecursiveArraysOrValues): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashExplicitArrayWrapper; - } - - //_.fromPairs DUMMY - interface LoDashStatic { - /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example - * - * _.fromPairs([['fred', 30], ['barney', 40]]); - * // => { 'fred': 30, 'barney': 40 } - */ - fromPairs( - array: any[]|List - ): Dictionary; - } - - //_.fromPairs DUMMY - interface LoDashImplicitArrayWrapper { - /** - * @see _.fromPairs - */ - fromPairs(): LoDashImplicitObjectWrapper; - } - - //_.fromPairs DUMMY - interface LoDashExplicitArrayWrapper { - /** - * @see _.fromPairs - */ - fromPairs(): LoDashExplicitObjectWrapper; - } - - //_.head - interface LoDashStatic { - /** - * Gets the first element of array. - * - * @alias _.first - * - * @param array The array to query. - * @return Returns the first element of array. - */ - head(array: List): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.head - */ - head(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.head - */ - head(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.head - */ - head(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.head - */ - head(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.head - */ - head(): T; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.head - */ - head(): T; - } - - //_.indexOf - interface LoDashStatic { - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the offset - * from the end of `array`. If `array` is sorted providing `true` for `fromIndex` - * performs a faster binary search. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // using `fromIndex` - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - indexOf( - array: List, - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: TValue, - fromIndex?: boolean|number - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: T, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: TValue, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - //_.intersectionBy DUMMY - interface LoDashStatic { - /** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of shared values. - * @example - * - * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); - * // => [2.1] - * - * // using the `_.property` iteratee shorthand - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ - intersectionBy( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.intersectionWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.intersection` except that it accepts `comparator` - * which is invoked to compare elements of `arrays`. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ - intersectionWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.join - interface LoDashStatic { - /** - * Converts all elements in `array` into a string separated by `separator`. - * - * @param array The array to convert. - * @param separator The element separator. - * @returns Returns the joined string. - */ - join( - array: List, - separator?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } - - //_.pullAll DUMMY - interface LoDashStatic { - /** - * This method is like `_.pull` except that it accepts an array of values to remove. - * - * **Note:** Unlike `_.difference`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3, 1, 2, 3]; - * - * _.pull(array, [2, 3]); - * console.log(array); - * // => [1, 1] - */ - pullAll( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.pullAllBy DUMMY - interface LoDashStatic { - /** - * This method is like `_.pullAll` except that it accepts `iteratee` which is - * invoked for each element of `array` and `values` to to generate the criterion - * by which uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * **Note:** Unlike `_.differenceBy`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; - * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] - */ - pullAllBy( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.reverse DUMMY - interface LoDashStatic { - /** - * Reverses `array` so that the first element becomes the last, the second - * element becomes the second to last, and so on. - * - * **Note:** This method mutates `array` and is based on - * [`Array#reverse`](https://mdn.io/Array/reverse). - * - * @memberOf _ - * @category Array - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.reverse(array); - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - reverse( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.sortedIndexOf - interface LoDashStatic { - /** - * This method is like `_.indexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedIndexOf([1, 1, 2, 2], 2); - * // => 2 - */ - sortedIndexOf( - array: List, - value: T - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: T - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: TValue - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: T - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: TValue - ): LoDashExplicitWrapper; - } - - //_.initial - interface LoDashStatic { - /** - * Gets all but the last element of array. - * - * @param array The array to query. - * @return Returns the slice of array. - */ - initial(array: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.initial - */ - initial(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.initial - */ - initial(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.initial - */ - initial(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.initial - */ - initial(): LoDashExplicitArrayWrapper; - } - - //_.intersection - interface LoDashStatic { - /** - * Creates an array of unique values that are included in all of the provided arrays using SameValueZero for - * equality comparisons. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of shared values. - */ - intersection(...arrays: (T[]|List)[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashExplicitArrayWrapper; - } - - //_.last - interface LoDashStatic { - /** - * Gets the last element of array. - * - * @param array The array to query. - * @return Returns the last element of array. - */ - last(array: List): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.last - */ - last(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.last - */ - last(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.last - */ - last(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.last - */ - last(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.last - */ - last(): T; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.last - */ - last(): T; - } - - //_.lastIndexOf - interface LoDashStatic { - /** - * This method is like _.indexOf except that it iterates over elements of array from right to left. - * - * @param array The array to search. - * @param value The value to search for. - * @param fromIndex The index to search from or true to perform a binary search on a sorted array. - * @return Returns the index of the matched value, else -1. - */ - lastIndexOf( - array: List, - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: TResult, - fromIndex?: boolean|number - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: T, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: TResult, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - //_.pull - interface LoDashStatic { - /** - * Removes all provided values from array using SameValueZero for equality comparisons. - * - * Note: Unlike _.without, this method mutates array. - * - * @param array The array to modify. - * @param values The values to remove. - * @return Returns array. - */ - pull( - array: T[], - ...values: T[] - ): T[]; - - /** - * @see _.pull - */ - pull( - array: List, - ...values: T[] - ): List; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.pull - */ - pull(...values: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pull - */ - pull(...values: TValue[]): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.pull - */ - pull(...values: T[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pull - */ - pull(...values: TValue[]): LoDashExplicitObjectWrapper>; - } - - //_.pullAt - interface LoDashStatic { - /** - * Removes elements from array corresponding to the given indexes and returns an array of the removed elements. - * Indexes may be specified as an array of indexes or as individual arguments. - * - * Note: Unlike _.at, this method mutates array. - * - * @param array The array to modify. - * @param indexes The indexes of elements to remove, specified as individual indexes or arrays of indexes. - * @return Returns the new array of removed elements. - */ - pullAt( - array: List, - ...indexes: (number|number[])[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashExplicitArrayWrapper; - } - - //_.remove - interface LoDashStatic { - /** - * Removes all elements from array that predicate returns truthy for and returns an array of the removed - * elements. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * Note: Unlike _.filter, this method mutates array. - * - * @param array The array to modify. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new array of removed elements. - */ - remove( - array: List, - predicate?: ListIterator - ): T[]; - - /** - * @see _.remove - */ - remove( - array: List, - predicate?: string - ): T[]; - - /** - * @see _.remove - */ - remove( - array: List, - predicate?: W - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashExplicitArrayWrapper; - } - - //_.tail - interface LoDashStatic { - /** - * Gets all but the first element of array. - * - * @alias _.tail - * - * @param array The array to query. - * @return Returns the slice of array. - */ - tail(array: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.tail - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.tail - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.tail - */ - tail(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.tail - */ - tail(): LoDashExplicitArrayWrapper; - } - - //_.slice - interface LoDashStatic { - /** - * Creates a slice of array from start up to, but not including, end. - * - * @param array The array to slice. - * @param start The start position. - * @param end The end position. - * @return Returns the slice of array. - */ - slice( - array: T[], - start?: number, - end?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.slice - */ - slice( - start?: number, - end?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.slice - */ - slice( - start?: number, - end?: number - ): LoDashExplicitArrayWrapper; - } - - //_.sortedIndex - interface LoDashStatic { - /** - * Uses a binary search to determine the lowest index at which `value` should - * be inserted into `array` in order to maintain its sort order. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - * - * _.sortedIndex([4, 5], 4); - * // => 0 - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: string - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: string - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - - } - - //_.sortedIndexBy - interface LoDashStatic { - /** - * This method is like `_.sortedIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 }; - * - * _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict)); - * // => 1 - * - * // using the `_.property` iteratee shorthand - * _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); - * // => 0 - */ - sortedIndexBy( - array: List, - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: Object - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: string, - iteratee: (x: string) => TSort - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: Object - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: string, - iteratee: (x: string) => TSort - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => any - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: Object - ): LoDashExplicitWrapper; - } - - //_.sortedLastIndex - interface LoDashStatic { - /** - * This method is like `_.sortedIndex` except that it returns the highest - * index at which `value` should be inserted into `array` in order to - * maintain its sort order. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedLastIndex([4, 5], 4); - * // => 1 - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: string - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: string - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - } - - //_.sortedLastIndexBy - interface LoDashStatic { - /** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * // using the `_.property` iteratee shorthand - * _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); - * // => 1 - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: Object - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: string, - iteratee: (x: string) => TSort - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: Object - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: string, - iteratee: (x: string) => TSort - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => any - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: Object - ): LoDashExplicitWrapper; - } - - //_.sortedLastIndexOf DUMMY - interface LoDashStatic { - /** - * This method is like `_.lastIndexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedLastIndexOf([1, 1, 2, 2], 2); - * // => 3 - */ - sortedLastIndexOf( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.tail - interface LoDashStatic { - /** - * @see _.rest - */ - tail(array: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.rest - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.rest - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.rest - */ - tail(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.rest - */ - tail(): LoDashExplicitArrayWrapper; - } - - //_.take - interface LoDashStatic { - /** - * Creates a slice of array with n elements taken from the beginning. - * - * @param array The array to query. - * @param n The number of elements to take. - * @return Returns the slice of array. - */ - take( - array: List, - n?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashExplicitArrayWrapper; - } - - //_.takeRight - interface LoDashStatic { - /** - * Creates a slice of array with n elements taken from the end. - * - * @param array The array to query. - * @param n The number of elements to take. - * @return Returns the slice of array. - */ - takeRight( - array: List, - n?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashExplicitArrayWrapper; - } - - //_.takeRightWhile - interface LoDashStatic { - /** - * Creates a slice of array with elements taken from the end. Elements are taken until predicate returns - * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - takeRightWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.takeWhile - interface LoDashStatic { - /** - * Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns - * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - takeWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.takeWhile - */ - takeWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.takeWhile - */ - takeWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.union - interface LoDashStatic { - /** - * Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for - * equality comparisons. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of combined values. - */ - union(...arrays: List[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashImplicitArrayWrapper; - - /** - * @see _.union - */ - union(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashExplicitArrayWrapper; - - /** - * @see _.union - */ - union(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - //_.unionBy - interface LoDashStatic { - /** - * This method is like `_.union` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @param arrays The arrays to inspect. - * @param iteratee The iteratee invoked per element. - * @return Returns the new array of combined values. - */ - unionBy( - arrays: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays: T[]|List, - ...iteratee: any[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashExplicitArrayWrapper; - } - - //_.uniq - interface LoDashStatic { - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each element - * is kept. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - uniq( - array: List - ): T[]; - - /** - * @see _.uniq - */ - uniq( - array: List - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - uniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - } - - //_.uniqBy - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // using the `_.property` iteratee shorthand - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - uniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: string - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: Object - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: TWhere - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: Object - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: Object - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.sortedUniq - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ - sortedUniq( - array: List - ): T[]; - - /** - * @see _.sortedUniq - */ - sortedUniq( - array: List - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - sortedUniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - } - - //_.sortedUniqBy - interface LoDashStatic { - /** - * This method is like `_.uniqBy` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.2] - */ - sortedUniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: string - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: Object - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: TWhere - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: Object - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: Object - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.unionWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.union` except that it accepts `comparator` which - * is invoked to compare elements of `arrays`. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.unionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - unionWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.uniqWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it accepts `comparator` which - * is invoked to compare elements of `array`. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.uniqWith(objects, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] - */ - uniqWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.unzip - interface LoDashStatic { - /** - * This method is like _.zip except that it accepts an array of grouped elements and creates an array - * regrouping the elements to their pre-zip configuration. - * - * @param array The array of grouped elements to process. - * @return Returns the new array of regrouped elements. - */ - unzip(array: List>): T[][]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashExplicitArrayWrapper; - } - - //_.unzipWith - interface LoDashStatic { - /** - * This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be - * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, - * group). - * - * @param array The array of grouped elements to process. - * @param iteratee The function to combine regrouped values. - * @param thisArg The this binding of iteratee. - * @return Returns the new array of regrouped elements. - */ - unzipWith( - array: List>, - iteratee?: MemoIterator - ): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.unzipWith - */ - unzipWith( - iteratee?: MemoIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unzipWith - */ - unzipWith( - iteratee?: MemoIterator - ): LoDashImplicitArrayWrapper; - } - - //_.without - interface LoDashStatic { - /** - * Creates an array excluding all provided values using SameValueZero for equality comparisons. - * - * @param array The array to filter. - * @param values The values to exclude. - * @return Returns the new array of filtered values. - */ - without( - array: List, - ...values: T[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashExplicitArrayWrapper; - } - - //_.xor - interface LoDashStatic { - /** - * Creates an array of unique values that is the symmetric difference of the provided arrays. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of values. - */ - xor(...arrays: List[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - //_.xorBy DUMMY - interface LoDashStatic { - /** - * This method is like `_.xor` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of values. - * @example - * - * _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor); - * // => [1.2, 4.3] - * - * // using the `_.property` iteratee shorthand - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - xorBy( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.xorWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.xor` except that it accepts `comparator` which is - * invoked to compare elements of `arrays`. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - xorWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.zip - interface LoDashStatic { - /** - * Creates an array of grouped elements, the first of which contains the first elements of the given arrays, - * the second of which contains the second elements of the given arrays, and so on. - * - * @param arrays The arrays to process. - * @return Returns the new array of grouped elements. - */ - zip(...arrays: List[]): T[][]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashExplicitArrayWrapper; - } - - //_.zipObject - interface LoDashStatic { - /** - * The inverse of _.pairs; this method returns an object composed from arrays of property names and values. - * Provide either a single two dimensional array, e.g. [[key1, value1], [key2, value2]] or two arrays, one of - * property names and one of corresponding values. - * - * @param props The property names. - * @param values The property values. - * @return Returns the new object. - */ - zipObject( - props: List|List>, - values?: List - ): TResult; - - /** - * @see _.zipObject - */ - zipObject( - props: List|List>, - values?: List - ): TResult; - - /** - * @see _.zipObject - */ - zipObject( - props: List|List>, - values?: List - ): _.Dictionary; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper<_.Dictionary>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper<_.Dictionary>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper<_.Dictionary>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper<_.Dictionary>; - } - - //_.zipWith - interface LoDashStatic { - /** - * This method is like _.zip except that it accepts an iteratee to specify how grouped values should be - * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, - * group). - * @param {...Array} [arrays] The arrays to process. - * @param {Function} [iteratee] The function to combine grouped values. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @return Returns the new array of grouped elements. - */ - zipWith(...args: any[]): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.zipWith - */ - zipWith(...args: any[]): LoDashImplicitArrayWrapper; - } - - /********* - * Chain * - *********/ - - //_.chain - interface LoDashStatic { - /** - * Creates a lodash object that wraps value with explicit method chaining enabled. - * - * @param value The value to wrap. - * @return Returns the new lodash wrapper instance. - */ - chain(value: number): LoDashExplicitWrapper; - chain(value: string): LoDashExplicitWrapper; - chain(value: boolean): LoDashExplicitWrapper; - chain(value: T[]): LoDashExplicitArrayWrapper; - chain(value: T): LoDashExplicitObjectWrapper; - chain(value: any): LoDashExplicitWrapper; - } - - interface LoDashImplicitWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.chain - */ - chain(): TWrapper; - } - - //_.tap - interface LoDashStatic { - /** - * This method invokes interceptor and returns value. The interceptor is bound to thisArg and invoked with one - * argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations - * on intermediate results within the chain. - * - * @param value The value to provide to interceptor. - * @param interceptor The function to invoke. - * @parem thisArg The this binding of interceptor. - * @return Returns value. - **/ - tap( - value: T, - interceptor: (value: T) => void - ): T; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.tap - */ - tap( - interceptor: (value: T) => void - ): TWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.tap - */ - tap( - interceptor: (value: T) => void - ): TWrapper; - } - - //_.thru - interface LoDashStatic { - /** - * This method is like _.tap except that it returns the result of interceptor. - * - * @param value The value to provide to interceptor. - * @param interceptor The function to invoke. - * @param thisArg The this binding of interceptor. - * @return Returns the result of interceptor. - */ - thru( - value: T, - interceptor: (value: T) => TResult - ): TResult; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitObjectWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitObjectWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult[] - ): LoDashExplicitArrayWrapper; - } - - //_.prototype.commit - interface LoDashImplicitWrapperBase { - /** - * Executes the chained sequence and returns the wrapped result. - * - * @return Returns the new lodash wrapper instance. - */ - commit(): TWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.commit - */ - commit(): TWrapper; - } - - //_.prototype.concat - interface LoDashImplicitWrapperBase { - /** - * Creates a new array joining a wrapped array with any additional arrays and/or values. - * - * @param items - * @return Returns the new concatenated array. - */ - concat(...items: Array>): LoDashImplicitArrayWrapper; - - /** - * @see _.concat - */ - concat(...items: Array>): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.concat - */ - concat(...items: Array>): LoDashExplicitArrayWrapper; - - /** - * @see _.concat - */ - concat(...items: Array>): LoDashExplicitArrayWrapper; - } - - //_.prototype.plant - interface LoDashImplicitWrapperBase { - /** - * Creates a clone of the chained sequence planting value as the wrapped value. - * @param value The value to plant as the wrapped value. - * @return Returns the new lodash wrapper instance. - */ - plant(value: number): LoDashImplicitWrapper; - - /** - * @see _.plant - */ - plant(value: string): LoDashImplicitStringWrapper; - - /** - * @see _.plant - */ - plant(value: boolean): LoDashImplicitWrapper; - - /** - * @see _.plant - */ - plant(value: number[]): LoDashImplicitNumberArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T[]): LoDashImplicitArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T): LoDashImplicitObjectWrapper; - - /** - * @see _.plant - */ - plant(value: any): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.plant - */ - plant(value: number): LoDashExplicitWrapper; - - /** - * @see _.plant - */ - plant(value: string): LoDashExplicitStringWrapper; - - /** - * @see _.plant - */ - plant(value: boolean): LoDashExplicitWrapper; - - /** - * @see _.plant - */ - plant(value: number[]): LoDashExplicitNumberArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T[]): LoDashExplicitArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T): LoDashExplicitObjectWrapper; - - /** - * @see _.plant - */ - plant(value: any): LoDashExplicitWrapper; - } - - //_.prototype.reverse - interface LoDashImplicitArrayWrapper { - /** - * Reverses the wrapped array so the first element becomes the last, the second element becomes the second to - * last, and so on. - * - * Note: This method mutates the wrapped array. - * - * @return Returns the new reversed lodash wrapper instance. - */ - reverse(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.reverse - */ - reverse(): LoDashExplicitArrayWrapper; - } - - //_.prototype.toJSON - interface LoDashWrapperBase { - /** - * @see _.value - */ - toJSON(): T; - } - - //_.prototype.toString - interface LoDashWrapperBase { - /** - * Produces the result of coercing the unwrapped value to a string. - * - * @return Returns the coerced string value. - */ - toString(): string; - } - - //_.prototype.value - interface LoDashWrapperBase { - /** - * Executes the chained sequence to extract the unwrapped value. - * - * @alias _.toJSON, _.valueOf - * - * @return Returns the resolved unwrapped value. - */ - value(): T; - } - - //_.valueOf - interface LoDashWrapperBase { - /** - * @see _.value - */ - valueOf(): T; - } - - /************** - * Collection * - **************/ - - //_.at - interface LoDashStatic { - /** - * Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be - * specified as individual arguments or as arrays of keys. - * - * @param collection The collection to iterate over. - * @param props The property names or indexes of elements to pick, specified individually or in arrays. - * @return Returns the new array of picked elements. - */ - at( - collection: List|Dictionary, - ...props: (number|string|(number|string)[])[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashExplicitArrayWrapper; - } - - //_.countBy - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The - * iteratee is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - countBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List|Dictionary|NumericDictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List|Dictionary|NumericDictionary, - iteratee?: W - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List|Dictionary|NumericDictionary, - iteratee?: Object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - } - - //_.each - interface LoDashStatic { - /** - * @see _.forEach - */ - each( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEach - */ - each( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEach - */ - each( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEach - */ - each( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEach - */ - each( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEach - */ - each( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEach - */ - each( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.eachRight - interface LoDashStatic { - /** - * @see _.forEachRight - */ - eachRight( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEachRight - */ - eachRight( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEachRight - */ - eachRight( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEachRight - */ - eachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEachRight - */ - eachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.every - interface LoDashStatic { - /** - * Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate - * returns falsey. The predicate is invoked with three arguments: (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @return Returns true if all elements pass the predicate check, else false. - */ - every( - collection: List, - predicate?: ListIterator - ): boolean; - - /** - * @see _.every - */ - every( - collection: Dictionary, - predicate?: DictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - collection: NumericDictionary, - predicate?: NumericDictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - collection: List|Dictionary|NumericDictionary, - predicate?: string|any[] - ): boolean; - - /** - * @see _.every - */ - every( - collection: List|Dictionary|NumericDictionary, - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|NumericDictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): boolean; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - //_.filter - interface LoDashStatic { - /** - * Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The - * predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new filtered array. - */ - filter( - collection: List, - predicate?: ListIterator - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: Dictionary, - predicate?: DictionaryIterator - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: string, - predicate?: StringIterator - ): string[]; - - /** - * @see _.filter - */ - filter( - collection: List|Dictionary, - predicate: string - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: List|Dictionary, - predicate: W - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.filter - */ - filter( - predicate?: StringIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.filter - */ - filter( - predicate?: StringIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashExplicitArrayWrapper; - } - - //_.find - interface LoDashStatic { - /** - * Iterates over elements of collection, returning the first element predicate returns truthy for. - * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the matched element, else undefined. - */ - find( - collection: List, - predicate?: ListIterator - ): T; - - /** - * @see _.find - */ - find( - collection: Dictionary, - predicate?: DictionaryIterator - ): T; - - /** - * @see _.find - */ - find( - collection: List|Dictionary, - predicate?: string - ): T; - - /** - * @see _.find - */ - find( - collection: List|Dictionary, - predicate?: TObject - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.find - */ - find( - predicate?: ListIterator - ): T; - - /** - * @see _.find - */ - find( - predicate?: string - ): T; - - /** - * @see _.find - */ - find( - predicate?: TObject - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.find - */ - find( - predicate?: ListIterator|DictionaryIterator - ): TResult; - - /** - * @see _.find - */ - find( - predicate?: string - ): TResult; - - /** - * @see _.find - */ - find( - predicate?: TObject - ): TResult; - } - - //_.findLast - interface LoDashStatic { - /** - * This method is like _.find except that it iterates over elements of a collection from - * right to left. - * @param collection Searches for a value in this list. - * @param callback The function called per iteration. - * @param thisArg The this binding of callback. - * @return The found element, else undefined. - **/ - findLast( - collection: Array, - callback: ListIterator): T; - - /** - * @see _.find - **/ - findLast( - collection: List, - callback: ListIterator): T; - - /** - * @see _.find - **/ - findLast( - collection: Dictionary, - callback: DictionaryIterator): T; - - /** - * @see _.find - * @param _.pluck style callback - **/ - findLast( - collection: Array, - whereValue: W): T; - - /** - * @see _.find - * @param _.pluck style callback - **/ - findLast( - collection: List, - whereValue: W): T; - - /** - * @see _.find - * @param _.pluck style callback - **/ - findLast( - collection: Dictionary, - whereValue: W): T; - - /** - * @see _.find - * @param _.where style callback - **/ - findLast( - collection: Array, - pluckValue: string): T; - - /** - * @see _.find - * @param _.where style callback - **/ - findLast( - collection: List, - pluckValue: string): T; - - /** - * @see _.find - * @param _.where style callback - **/ - findLast( - collection: Dictionary, - pluckValue: string): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.findLast - */ - findLast( - callback: ListIterator): T; - /** - * @see _.findLast - * @param _.where style callback - */ - findLast( - whereValue: W): T; - - /** - * @see _.findLast - * @param _.where style callback - */ - findLast( - pluckValue: string): T; - } - - //_.flatMap - interface LoDashStatic { - /** - * Creates an array of flattened values by running each element in collection through iteratee - * and concating its result to the other mapped values. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @return Returns the new flattened array. - */ - flatMap( - collection: List, - iteratee?: ListIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: List, - iteratee?: ListIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Dictionary, - iteratee?: DictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Dictionary, - iteratee?: DictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee?: ObjectIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Object, - iteratee?: ObjectIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee: TWhere - ): boolean[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee: Object|string - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee: [string, any] - ): boolean[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: string - ): string[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Object, - iteratee?: Object|string - ): TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: ObjectIterator|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: ObjectIterator|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitArrayWrapper; - } - - //_.forEach - interface LoDashStatic { - /** - * Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg - * and invoked with three arguments: - * (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false. - * - * Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To - * avoid this behavior _.forIn or _.forOwn may be used for object iteration. - * - * @alias _.each - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - */ - forEach( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEach - */ - forEach( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEach - */ - forEach( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEach - */ - forEach( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEach - */ - forEach( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.forEachRight - interface LoDashStatic { - /** - * This method is like _.forEach except that it iterates over elements of collection from right to left. - * - * @alias _.eachRight - * - * @param collection The collection to iterate over. - * @param iteratee The function called per iteration. - * @param thisArg The this binding of callback. - */ - forEachRight( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.groupBy - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is an array of the elements responsible for generating the - * key. The iteratee is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - groupBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: TWhere - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: Object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: Object - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: Object - ): LoDashExplicitObjectWrapper>; - } - - //_.includes - interface LoDashStatic { - /** - * Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative, - * it’s used as the offset from the end of collection. - * - * @param collection The collection to search. - * @param target The value to search for. - * @param fromIndex The index to search from. - * @return True if the target element is found, else false. - */ - includes( - collection: List|Dictionary, - target: T, - fromIndex?: number - ): boolean; - - /** - * @see _.includes - */ - includes( - collection: string, - target: string, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.includes - */ - includes( - target: T, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.includes - */ - includes( - target: TValue, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.includes - */ - includes( - target: string, - fromIndex?: number - ): boolean; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.includes - */ - includes( - target: T, - fromIndex?: number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.includes - */ - includes( - target: TValue, - fromIndex?: number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.includes - */ - includes( - target: string, - fromIndex?: number - ): LoDashExplicitWrapper; - } - - //_.keyBy - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is the last element responsible for generating the key. The - * iteratee function is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - keyBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List|NumericDictionary|Dictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List|NumericDictionary|Dictionary, - iteratee?: W - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List|NumericDictionary|Dictionary, - iteratee?: Object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator|NumericDictionaryIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: Object - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator|NumericDictionaryIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: Object - ): LoDashExplicitObjectWrapper>; - } - - //_.invoke - interface LoDashStatic { - /** - * Invokes the method at path of object. - * @param object The object to query. - * @param path The path of the method to invoke. - * @param args The arguments to invoke the method with. - **/ - invoke( - object: TObject, - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - - /** - * @see _.invoke - **/ - invoke( - object: Dictionary|TValue[], - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - - /** - * @see _.invoke - **/ - invoke( - object: any, - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - //_.invokeMap - interface LoDashStatic { - /** - * Invokes the method named by methodName on each element in the collection returning - * an array of the results of each invoked method. Additional arguments will be provided - * to each invoked method. If methodName is a function it will be invoked for, and this - * bound to, each element in the collection. - * @param collection The collection to iterate over. - * @param methodName The name of the method to invoke. - * @param args Arguments to invoke the method with. - **/ - invokeMap( - collection: TValue[], - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary, - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: {}[], - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary<{}>, - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: TValue[], - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary, - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: {}[], - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary<{}>, - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashImplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashImplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashExplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashExplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashExplicitArrayWrapper; - } - - //_.map - interface LoDashStatic { - /** - * Creates an array of values by running each element in collection through iteratee. The iteratee is bound to - * thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property value - * of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, - * _.reject, and _.some. - * - * The guarded methods are: - * ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max, - * min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range, - * sample, some, sum, uniq, and words - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the new mapped array. - */ - map( - collection: List, - iteratee?: ListIterator - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: Dictionary, - iteratee?: DictionaryIterator - ): TResult[]; - - map( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: List|Dictionary|NumericDictionary, - iteratee?: string - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: List|Dictionary|NumericDictionary, - iteratee?: TObject - ): boolean[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashExplicitArrayWrapper; - } - - //_.partition - interface LoDashStatic { - /** - * Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, - * while the second of which contains elements predicate returns falsey for. - * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback - * returns the property value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback - * returns true for elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns - * true for elements that have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the array of grouped elements. - **/ - partition( - collection: List, - callback: ListIterator): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - callback: DictionaryIterator): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: List, - whereValue: W): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - whereValue: W): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: List, - path: string, - srcValue: any): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - path: string, - srcValue: any): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: List, - pluckValue: string): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - pluckValue: string): T[][]; - } - - interface LoDashImplicitStringWrapper { - /** - * @see _.partition - */ - partition( - callback: ListIterator): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.partition - */ - partition( - callback: ListIterator): LoDashImplicitArrayWrapper; - /** - * @see _.partition - */ - partition( - whereValue: W): LoDashImplicitArrayWrapper; - /** - * @see _.partition - */ - partition( - path: string, - srcValue: any): LoDashImplicitArrayWrapper; - /** - * @see _.partition - */ - partition( - pluckValue: string): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.partition - */ - partition( - callback: ListIterator): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - callback: DictionaryIterator): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - whereValue: W): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - path: string, - srcValue: any): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - pluckValue: string): LoDashImplicitArrayWrapper; - } - - //_.reduce - interface LoDashStatic { - /** - * Reduces a collection to a value which is the accumulated result of running each - * element in the collection through the callback, where each successive callback execution - * consumes the return value of the previous execution. If accumulator is not provided the - * first element of the collection will be used as the initial accumulator value. The callback - * is bound to thisArg and invoked with four arguments; (accumulator, value, index|key, collection). - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param accumulator Initial value of the accumulator. - * @param thisArg The this binding of callback. - * @return Returns the accumulated value. - **/ - reduce( - collection: Array, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: List, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: Dictionary, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: NumericDictionary, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: Array, - callback: MemoIterator): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: List, - callback: MemoIterator): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: Dictionary, - callback: MemoIterator): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: NumericDictionary, - callback: MemoIterator): TResult; - - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator): TResult; - } - - //_.reduceRight - interface LoDashStatic { - /** - * This method is like _.reduce except that it iterates over elements of a collection from - * right to left. - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param accumulator Initial value of the accumulator. - * @param thisArg The this binding of callback. - * @return The accumulated value. - **/ - reduceRight( - collection: Array, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: List, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: Dictionary, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: Array, - callback: MemoIterator): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: List, - callback: MemoIterator): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: Dictionary, - callback: MemoIterator): TResult; - } - - //_.reject - interface LoDashStatic { - /** - * The opposite of _.filter; this method returns the elements of collection that predicate does not return - * truthy for. - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new filtered array. - */ - reject( - collection: List, - predicate?: ListIterator - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: Dictionary, - predicate?: DictionaryIterator - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: string, - predicate?: StringIterator - ): string[]; - - /** - * @see _.reject - */ - reject( - collection: List|Dictionary, - predicate: string - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: List|Dictionary, - predicate: W - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.reject - */ - reject( - predicate?: StringIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.reject - */ - reject( - predicate?: StringIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashExplicitArrayWrapper; - } - - //_.sample - interface LoDashStatic { - /** - * Gets a random element from collection. - * - * @param collection The collection to sample. - * @return Returns the random element. - */ - sample( - collection: List|Dictionary|NumericDictionary - ): T; - - /** - * @see _.sample - */ - sample( - collection: O - ): T; - - /** - * @see _.sample - */ - sample( - collection: Object - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sample - */ - sample(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sample - */ - sample(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sample - */ - sample(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sample - */ - sample(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sample - */ - sample(): TWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sample - */ - sample(): TWrapper; - } - - //_.sampleSize - interface LoDashStatic { - /** - * Gets n random elements at unique keys from collection up to the size of collection. - * - * @param collection The collection to sample. - * @param n The number of elements to sample. - * @return Returns the random elements. - */ - sampleSize( - collection: List|Dictionary|NumericDictionary, - n?: number - ): T[]; - - /** - * @see _.sampleSize - */ - sampleSize( - collection: O, - n?: number - ): T[]; - - /** - * @see _.sampleSize - */ - sampleSize( - collection: Object, - n?: number - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashExplicitArrayWrapper; - } - - //_.shuffle - interface LoDashStatic { - /** - * Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. - * - * @param collection The collection to shuffle. - * @return Returns the new shuffled array. - */ - shuffle(collection: List|Dictionary): T[]; - - /** - * @see _.shuffle - */ - shuffle(collection: string): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashExplicitArrayWrapper; - } - - //_.size - interface LoDashStatic { - /** - * Gets the size of collection by returning its length for array-like values or the number of own enumerable - * properties for objects. - * - * @param collection The collection to inspect. - * @return Returns the size of collection. - */ - size(collection: List|Dictionary): number; - - /** - * @see _.size - */ - size(collection: string): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } - - //_.some - interface LoDashStatic { - /** - * Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate - * returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @return Returns true if any element passes the predicate check, else false. - */ - some( - collection: List, - predicate?: ListIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: Dictionary, - predicate?: DictionaryIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: NumericDictionary, - predicate?: NumericDictionaryIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: Object, - predicate?: ObjectIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: List|Dictionary|NumericDictionary, - predicate?: string|[string, any] - ): boolean; - - - /** - * @see _.some - */ - some( - collection: Object, - predicate?: string|[string, any] - ): boolean; - - /** - * @see _.some - */ - some( - collection: List|Dictionary|NumericDictionary, - predicate?: TObject - ): boolean; - - /** - * @see _.some - */ - some( - collection: List|Dictionary|NumericDictionary, - predicate?: Object - ): boolean; - - /** - * @see _.some - */ - some( - collection: Object, - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|NumericDictionaryIterator - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator|ObjectIterator - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): boolean; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator|ObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - //_.sortBy - interface LoDashStatic { - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection through each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {...(Function|Function[]|Object|Object[]|string|string[])} [iteratees=[_.identity]] - * The iteratees to sort by, specified individually or in arrays. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 42 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, function(o) { return o.user; }); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]] - * - * _.sortBy(users, 'user', function(o) { - * return Math.floor(o.age / 10); - * }); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - */ - sortBy( - collection: List, - iteratee?: ListIterator - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: List|Dictionary, - iteratee: string - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: List|Dictionary, - whereValue: W - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: List|Dictionary - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: (Array|List), - iteratees: (ListIterator|string|Object)[]): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: (Array|List), - ...iteratees: (ListIterator|Object|string)[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(...iteratees: (ListIterator|Object|string)[]): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - **/ - sortBy(iteratees: (ListIterator|string|Object)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashExplicitArrayWrapper; - } - - //_.orderBy - interface LoDashStatic { - /** - * This method is like `_.sortBy` except that it allows specifying the sort - * orders of the iteratees to sort by. If `orders` is unspecified, all values - * are sorted in ascending order. Otherwise, specify an order of "desc" for - * descending or "asc" for ascending sort order of corresponding values. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function[]|Object[]|string[]} [iteratees=[_.identity]] The iteratees to sort by. - * @param {string[]} [orders] The sort orders of `iteratees`. - * @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 34 }, - * { 'user': 'fred', 'age': 42 }, - * { 'user': 'barney', 'age': 36 } - * ]; - * - * // sort by `user` in ascending order and by `age` in descending order - * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - */ - orderBy( - collection: List, - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: List, - iteratees: ListIterator|string|Object|(ListIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: NumericDictionary, - iteratees: NumericDictionaryIterator|string|W|(NumericDictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: NumericDictionary, - iteratees: NumericDictionaryIterator|string|Object|(NumericDictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: Dictionary, - iteratees: DictionaryIterator|string|W|(DictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: Dictionary, - iteratees: DictionaryIterator|string|Object|(DictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|(ListIterator|string)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|Object|(ListIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|W|(NumericDictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|Object|(NumericDictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|W|(DictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|Object|(DictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|(ListIterator|string)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|Object|(ListIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|W|(NumericDictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|Object|(NumericDictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|W|(DictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|Object|(DictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - } - - /******** - * Date * - ********/ - - //_.now - interface LoDashStatic { - /** - * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @return The number of milliseconds. - */ - now(): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.now - */ - now(): number; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.now - */ - now(): LoDashExplicitWrapper; - } - - /************* - * Functions * - *************/ - - //_.after - interface LoDashStatic { - /** - * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times. - * - * @param n The number of calls before func is invoked. - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - after( - n: number, - func: TFunc - ): TFunc; - } - - interface LoDashImplicitWrapper { - /** - * @see _.after - **/ - after(func: TFunc): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.after - **/ - after(func: TFunc): LoDashExplicitObjectWrapper; - } - - //_.ary - interface LoDashStatic { - /** - * Creates a function that accepts up to n arguments ignoring any additional arguments. - * - * @param func The function to cap arguments for. - * @param n The arity cap. - * @returns Returns the new function. - */ - ary( - func: Function, - n?: number - ): TResult; - - ary( - func: T, - n?: number - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.ary - */ - ary(n?: number): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.ary - */ - ary(n?: number): LoDashExplicitObjectWrapper; - } - - //_.before - interface LoDashStatic { - /** - * Creates a function that invokes func, with the this binding and arguments of the created function, while - * it’s called less than n times. Subsequent calls to the created function return the result of the last func - * invocation. - * - * @param n The number of calls at which func is no longer invoked. - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - before( - n: number, - func: TFunc - ): TFunc; - } - - interface LoDashImplicitWrapper { - /** - * @see _.before - **/ - before(func: TFunc): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.before - **/ - before(func: TFunc): LoDashExplicitObjectWrapper; - } - - //_.bind - interface FunctionBind { - placeholder: any; - - ( - func: T, - thisArg: any, - ...partials: any[] - ): TResult; - - ( - func: Function, - thisArg: any, - ...partials: any[] - ): TResult; - } - - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind - * arguments to those provided to the bound function. - * - * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for - * partially applied arguments. - * - * Note: Unlike native Function#bind this method does not set the "length" property of bound functions. - * - * @param func The function to bind. - * @param thisArg The this binding of func. - * @param partials The arguments to be partially applied. - * @return Returns the new bound function. - */ - bind: FunctionBind; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.bind - */ - bind( - thisArg: any, - ...partials: any[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.bind - */ - bind( - thisArg: any, - ...partials: any[] - ): LoDashExplicitObjectWrapper; - } - - //_.bindAll - interface LoDashStatic { - /** - * Binds methods of an object to the object itself, overwriting the existing method. Method names may be - * specified as individual arguments or as arrays of method names. If no method names are provided all - * enumerable function properties, own and inherited, of object are bound. - * - * Note: This method does not set the "length" property of bound functions. - * - * @param object The object to bind and assign the bound methods to. - * @param methodNames The object method names to bind, specified as individual method names or arrays of - * method names. - * @return Returns object. - */ - bindAll( - object: T, - ...methodNames: (string|string[])[] - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.bindAll - */ - bindAll(...methodNames: (string|string[])[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.bindAll - */ - bindAll(...methodNames: (string|string[])[]): LoDashExplicitObjectWrapper; - } - - //_.bindKey - interface FunctionBindKey { - placeholder: any; - - ( - object: T, - key: any, - ...partials: any[] - ): TResult; - - ( - object: Object, - key: any, - ...partials: any[] - ): TResult; - } - - interface LoDashStatic { - /** - * Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments - * to those provided to the bound function. - * - * This method differs from _.bind by allowing bound functions to reference methods that may be redefined - * or don’t yet exist. See Peter Michaux’s article for more details. - * - * The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder - * for partially applied arguments. - * - * @param object The object the method belongs to. - * @param key The key of the method. - * @param partials The arguments to be partially applied. - * @return Returns the new bound function. - */ - bindKey: FunctionBindKey; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.bindKey - */ - bindKey( - key: any, - ...partials: any[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.bindKey - */ - bindKey( - key: any, - ...partials: any[] - ): LoDashExplicitObjectWrapper; - } - - //_.createCallback - interface LoDashStatic { - /** - * Produces a callback bound to an optional thisArg. If func is a property name the created - * callback will return the property value for a given element. If func is an object the created - * callback will return true for elements that contain the equivalent object properties, - * otherwise it will return false. - * @param func The value to convert to a callback. - * @param thisArg The this binding of the created callback. - * @param argCount The number of arguments the callback accepts. - * @return A callback function. - **/ - createCallback( - func: string, - argCount?: number): () => any; - - /** - * @see _.createCallback - **/ - createCallback( - func: Dictionary, - argCount?: number): () => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.createCallback - **/ - createCallback( - argCount?: number): LoDashImplicitObjectWrapper<() => any>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.createCallback - **/ - createCallback( - argCount?: number): LoDashImplicitObjectWrapper<() => any>; - } - - //_.curry - interface LoDashStatic { - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1) => R): - CurriedFunction1; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2) => R): - CurriedFunction2; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3) => R): - CurriedFunction3; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): - CurriedFunction4; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): - CurriedFunction5; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry( - func: Function, - arity?: number): TResult; - } - - interface CurriedFunction1 { - (): CurriedFunction1; - (t1: T1): R; - } - - interface CurriedFunction2 { - (): CurriedFunction2; - (t1: T1): CurriedFunction1; - (t1: T1, t2: T2): R; - } - - interface CurriedFunction3 { - (): CurriedFunction3; - (t1: T1): CurriedFunction2; - (t1: T1, t2: T2): CurriedFunction1; - (t1: T1, t2: T2, t3: T3): R; - } - - interface CurriedFunction4 { - (): CurriedFunction4; - (t1: T1): CurriedFunction3; - (t1: T1, t2: T2): CurriedFunction2; - (t1: T1, t2: T2, t3: T3): CurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4): R; - } - - interface CurriedFunction5 { - (): CurriedFunction5; - (t1: T1): CurriedFunction4; - (t1: T1, t2: T2): CurriedFunction3; - (t1: T1, t2: T2, t3: T3): CurriedFunction2; - (t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.curry - **/ - curry(arity?: number): LoDashImplicitObjectWrapper; - } - - //_.curryRight - interface LoDashStatic { - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1) => R): - CurriedFunction1; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2) => R): - CurriedFunction2; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3) => R): - CurriedFunction3; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): - CurriedFunction4; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): - CurriedFunction5; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight( - func: Function, - arity?: number): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.curryRight - **/ - curryRight(arity?: number): LoDashImplicitObjectWrapper; - } - - //_.debounce - interface DebounceSettings { - /** - * Specify invoking on the leading edge of the timeout. - */ - leading?: boolean; - - /** - * The maximum time func is allowed to be delayed before it’s invoked. - */ - maxWait?: number; - - /** - * Specify invoking on the trailing edge of the timeout. - */ - trailing?: boolean; - } - - interface LoDashStatic { - /** - * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since - * the last time the debounced function was invoked. The debounced function comes with a cancel method to - * cancel delayed invocations. Provide an options object to indicate that func should be invoked on the - * leading and/or trailing edge of the wait timeout. Subsequent calls to the debounced function return the - * result of the last func invocation. - * - * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only - * if the the debounced function is invoked more than once during the wait timeout. - * - * See David Corbacho’s article for details over the differences between _.debounce and _.throttle. - * - * @param func The function to debounce. - * @param wait The number of milliseconds to delay. - * @param options The options object. - * @param options.leading Specify invoking on the leading edge of the timeout. - * @param options.maxWait The maximum time func is allowed to be delayed before it’s invoked. - * @param options.trailing Specify invoking on the trailing edge of the timeout. - * @return Returns the new debounced function. - */ - debounce( - func: T, - wait?: number, - options?: DebounceSettings - ): T & Cancelable; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.debounce - */ - debounce( - wait?: number, - options?: DebounceSettings - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.debounce - */ - debounce( - wait?: number, - options?: DebounceSettings - ): LoDashExplicitObjectWrapper; - } - - //_.defer - interface LoDashStatic { - /** - * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to - * func when it’s invoked. - * - * @param func The function to defer. - * @param args The arguments to invoke the function with. - * @return Returns the timer id. - */ - defer( - func: T, - ...args: any[] - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.defer - */ - defer(...args: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.defer - */ - defer(...args: any[]): LoDashExplicitWrapper; - } - - //_.delay - interface LoDashStatic { - /** - * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. - * - * @param func The function to delay. - * @param wait The number of milliseconds to delay invocation. - * @param args The arguments to invoke the function with. - * @return Returns the timer id. - */ - delay( - func: T, - wait: number, - ...args: any[] - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.delay - */ - delay( - wait: number, - ...args: any[] - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.delay - */ - delay( - wait: number, - ...args: any[] - ): LoDashExplicitWrapper; - } - - interface LoDashStatic { - /** - * Creates a function that invokes `func` with arguments reversed. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ - flip(func: T): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flip - */ - flip(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flip - */ - flip(): LoDashExplicitObjectWrapper; - } - - //_.flow - interface LoDashStatic { - /** - * Creates a function that returns the result of invoking the provided functions with the this binding of the - * created function, where each successive invocation is supplied the return value of the previous. - * - * @param funcs Functions to invoke. - * @return Returns the new function. - */ - flow(...funcs: Function[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flow - */ - flow(...funcs: Function[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flow - */ - flow(...funcs: Function[]): LoDashExplicitObjectWrapper; - } - - //_.flowRight - interface LoDashStatic { - /** - * This method is like _.flow except that it creates a function that invokes the provided functions from right - * to left. - * - * @param funcs Functions to invoke. - * @return Returns the new function. - */ - flowRight(...funcs: Function[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flowRight - */ - flowRight(...funcs: Function[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flowRight - */ - flowRight(...funcs: Function[]): LoDashExplicitObjectWrapper; - } - - - //_.memoize - interface MemoizedFunction extends Function { - cache: MapCache; - } - - interface LoDashStatic { - /** - * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for - * storing the result based on the arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with - * the this binding of the memoized function. - * - * @param func The function to have its output memoized. - * @param resolver The function to resolve the cache key. - * @return Returns the new memoizing function. - */ - memoize: { - (func: T, resolver?: Function): T & MemoizedFunction; - Cache: MapCache; - } - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.memoize - */ - memoize(resolver?: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.memoize - */ - memoize(resolver?: Function): LoDashExplicitObjectWrapper; - } - - //_.overArgs (was _.modArgs) - interface LoDashStatic { - /** - * Creates a function that runs each argument through a corresponding transform function. - * - * @param func The function to wrap. - * @param transforms The functions to transform arguments, specified as individual functions or arrays - * of functions. - * @return Returns the new function. - */ - overArgs( - func: T, - ...transforms: Function[] - ): TResult; - - /** - * @see _.overArgs - */ - overArgs( - func: T, - transforms: Function[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.overArgs - */ - overArgs(...transforms: Function[]): LoDashImplicitObjectWrapper; - - /** - * @see _.overArgs - */ - overArgs(transforms: Function[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.overArgs - */ - overArgs(...transforms: Function[]): LoDashExplicitObjectWrapper; - - /** - * @see _.overArgs - */ - overArgs(transforms: Function[]): LoDashExplicitObjectWrapper; - } - - //_.negate - interface LoDashStatic { - /** - * Creates a function that negates the result of the predicate func. The func predicate is invoked with - * the this binding and arguments of the created function. - * - * @param predicate The predicate to negate. - * @return Returns the new function. - */ - negate(predicate: T): (...args: any[]) => boolean; - - /** - * @see _.negate - */ - negate(predicate: T): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.negate - */ - negate(): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - - /** - * @see _.negate - */ - negate(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.negate - */ - negate(): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - - /** - * @see _.negate - */ - negate(): LoDashExplicitObjectWrapper; - } - - //_.once - interface LoDashStatic { - /** - * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value - * of the first call. The func is invoked with the this binding and arguments of the created function. - * - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - once(func: T): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.once - */ - once(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.once - */ - once(): LoDashExplicitObjectWrapper; - } - - //_.partial - interface LoDashStatic { - /** - * Creates a function that, when called, invokes func with any additional partial arguments - * prepended to those provided to the new function. This method is similar to _.bind except - * it does not alter the this binding. - * @param func The function to partially apply arguments to. - * @param args Arguments to be partially applied. - * @return The new partially applied function. - **/ - partial: Partial; - } - - type PH = LoDashStatic; - - interface Function0 { - (): R; - } - interface Function1 { - (t1: T1): R; - } - interface Function2 { - (t1: T1, t2: T2): R; - } - interface Function3 { - (t1: T1, t2: T2, t3: T3): R; - } - interface Function4 { - (t1: T1, t2: T2, t3: T3, t4: T4): R; - } - - interface Partial { - // arity 0 - (func: Function0): Function0; - // arity 1 - (func: Function1): Function1; - (func: Function1, arg1: T1): Function0; - // arity 2 - (func: Function2): Function2; - (func: Function2, arg1: T1): Function1< T2, R>; - (func: Function2, plc1: PH, arg2: T2): Function1; - (func: Function2, arg1: T1, arg2: T2): Function0< R>; - // arity 3 - (func: Function3): Function3; - (func: Function3, arg1: T1): Function2< T2, T3, R>; - (func: Function3, plc1: PH, arg2: T2): Function2; - (func: Function3, arg1: T1, arg2: T2): Function1< T3, R>; - (func: Function3, plc1: PH, plc2: PH, arg3: T3): Function2; - (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; - (func: Function3, plc1: PH, arg2: T2, arg3: T3): Function1; - (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; - // arity 4 - (func: Function4): Function4; - (func: Function4, arg1: T1): Function3< T2, T3, T4, R>; - (func: Function4, plc1: PH, arg2: T2): Function3; - (func: Function4, arg1: T1, arg2: T2): Function2< T3, T4, R>; - (func: Function4, plc1: PH, plc2: PH, arg3: T3): Function3; - (func: Function4, arg1: T1, plc2: PH, arg3: T3): Function2< T2, T4, R>; - (func: Function4, plc1: PH, arg2: T2, arg3: T3): Function2; - (func: Function4, arg1: T1, arg2: T2, arg3: T3): Function1< T4, R>; - (func: Function4, plc1: PH, plc2: PH, plc3: PH, arg4: T4): Function3; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; - (func: Function4, plc1: PH, arg2: T2, plc3: PH, arg4: T4): Function2; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; - (func: Function4, plc1: PH, plc2: PH, arg3: T3, arg4: T4): Function2; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; - (func: Function4, plc1: PH, arg2: T2, arg3: T3, arg4: T4): Function1; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; - // catch-all - (func: Function, ...args: any[]): Function; - } - - //_.partialRight - interface LoDashStatic { - /** - * This method is like _.partial except that partial arguments are appended to those provided - * to the new function. - * @param func The function to partially apply arguments to. - * @param args Arguments to be partially applied. - * @return The new partially applied function. - **/ - partialRight: PartialRight - } - - interface PartialRight { - // arity 0 - (func: Function0): Function0; - // arity 1 - (func: Function1): Function1; - (func: Function1, arg1: T1): Function0; - // arity 2 - (func: Function2): Function2; - (func: Function2, arg1: T1, plc2: PH): Function1< T2, R>; - (func: Function2, arg2: T2): Function1; - (func: Function2, arg1: T1, arg2: T2): Function0< R>; - // arity 3 - (func: Function3): Function3; - (func: Function3, arg1: T1, plc2: PH, plc3: PH): Function2< T2, T3, R>; - (func: Function3, arg2: T2, plc3: PH): Function2; - (func: Function3, arg1: T1, arg2: T2, plc3: PH): Function1< T3, R>; - (func: Function3, arg3: T3): Function2; - (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; - (func: Function3, arg2: T2, arg3: T3): Function1; - (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; - // arity 4 - (func: Function4): Function4; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, plc4: PH): Function3< T2, T3, T4, R>; - (func: Function4, arg2: T2, plc3: PH, plc4: PH): Function3; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, plc4: PH): Function2< T3, T4, R>; - (func: Function4, arg3: T3, plc4: PH): Function3; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, plc4: PH): Function2< T2, T4, R>; - (func: Function4, arg2: T2, arg3: T3, plc4: PH): Function2; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, plc4: PH): Function1< T4, R>; - (func: Function4, arg4: T4): Function3; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; - (func: Function4, arg2: T2, plc3: PH, arg4: T4): Function2; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; - (func: Function4, arg3: T3, arg4: T4): Function2; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; - (func: Function4, arg2: T2, arg3: T3, arg4: T4): Function1; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; - // catch-all - (func: Function, ...args: any[]): Function; - } - - //_.rearg - interface LoDashStatic { - /** - * Creates a function that invokes func with arguments arranged according to the specified indexes where the - * argument value at the first index is provided as the first argument, the argument value at the second index - * is provided as the second argument, and so on. - * @param func The function to rearrange arguments for. - * @param indexes The arranged argument indexes, specified as individual indexes or arrays of indexes. - * @return Returns the new function. - */ - rearg(func: Function, indexes: number[]): TResult; - - /** - * @see _.rearg - */ - rearg(func: Function, ...indexes: number[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.rearg - */ - rearg(indexes: number[]): LoDashImplicitObjectWrapper; - - /** - * @see _.rearg - */ - rearg(...indexes: number[]): LoDashImplicitObjectWrapper; - } - - //_.rest - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of the created function and arguments from start - * and beyond provided as an array. - * - * Note: This method is based on the rest parameter. - * - * @param func The function to apply a rest parameter to. - * @param start The start position of the rest parameter. - * @return Returns the new function. - */ - rest( - func: Function, - start?: number - ): TResult; - - /** - * @see _.rest - */ - rest( - func: TFunc, - start?: number - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.rest - */ - rest(start?: number): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.rest - */ - rest(start?: number): LoDashExplicitObjectWrapper; - } - - //_.spread - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of the created function and an array of arguments - * much like Function#apply. - * - * Note: This method is based on the spread operator. - * - * @param func The function to spread arguments over. - * @return Returns the new function. - */ - spread(func: F): T; - - /** - * @see _.spread - */ - spread(func: Function): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.spread - */ - spread(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.spread - */ - spread(): LoDashExplicitObjectWrapper; - } - - //_.throttle - interface ThrottleSettings { - /** - * If you'd like to disable the leading-edge call, pass this as false. - */ - leading?: boolean; - - /** - * If you'd like to disable the execution on the trailing-edge, pass false. - */ - trailing?: boolean; - } - - interface LoDashStatic { - /** - * Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled - * function comes with a cancel method to cancel delayed invocations. Provide an options object to indicate - * that func should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent calls to - * the throttled function return the result of the last func call. - * - * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if - * the the throttled function is invoked more than once during the wait timeout. - * - * @param func The function to throttle. - * @param wait The number of milliseconds to throttle invocations to. - * @param options The options object. - * @param options.leading Specify invoking on the leading edge of the timeout. - * @param options.trailing Specify invoking on the trailing edge of the timeout. - * @return Returns the new throttled function. - */ - throttle( - func: T, - wait?: number, - options?: ThrottleSettings - ): T & Cancelable; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.throttle - */ - throttle( - wait?: number, - options?: ThrottleSettings - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.throttle - */ - throttle( - wait?: number, - options?: ThrottleSettings - ): LoDashExplicitObjectWrapper; - } - - //_.unary - interface LoDashStatic { - /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new function. - * @example - * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] - */ - unary(func: T): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unary - */ - unary(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unary - */ - unary(): LoDashExplicitObjectWrapper; - } - - //_.wrap - interface LoDashStatic { - /** - * Creates a function that provides value to the wrapper function as its first argument. Any additional - * arguments provided to the function are appended to those provided to the wrapper function. The wrapper is - * invoked with the this binding of the created function. - * - * @param value The value to wrap. - * @param wrapper The wrapper function. - * @return Returns the new function. - */ - wrap( - value: V, - wrapper: W - ): R; - - /** - * @see _.wrap - */ - wrap( - value: V, - wrapper: Function - ): R; - - /** - * @see _.wrap - */ - wrap( - value: any, - wrapper: Function - ): R; - } - - interface LoDashImplicitWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashImplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashImplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashImplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashExplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashExplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashExplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashExplicitObjectWrapper; - } - - /******** - * Lang * - ********/ - - //_.castArray - interface LoDashStatic { - /** - * Casts value as an array if it’s not one. - * - * @param value The value to inspect. - * @return Returns the cast array. - */ - castArray(value: T): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashExplicitArrayWrapper; - } - - //_.clone - interface LoDashStatic { - /** - * Creates a shallow clone of value. - * - * Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, - * array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, - * and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty - * object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps. - * - * @param value The value to clone. - * @return Returns the cloned value. - */ - clone(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.clone - */ - clone(): T; - } - - interface LoDashImplicitArrayWrapper { - - /** - * @see _.clone - */ - clone(): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.clone - */ - clone(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.clone - */ - clone(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - - /** - * @see _.clone - */ - clone(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.clone - */ - clone(): LoDashExplicitObjectWrapper; - } - - //_.cloneDeep - interface LoDashStatic { - /** - * This method is like _.clone except that it recursively clones value. - * - * @param value The value to recursively clone. - * @return Returns the deep cloned value. - */ - cloneDeep(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): LoDashExplicitObjectWrapper; - } - - //_.cloneDeepWith - interface CloneDeepWithCustomizer { - (value: TValue): TResult; - } - - interface LoDashStatic { - /** - * This method is like _.cloneWith except that it recursively clones value. - * - * @param value The value to recursively clone. - * @param customizer The function to customize cloning. - * @return Returns the deep cloned value. - */ - cloneDeepWith( - value: any, - customizer?: CloneDeepWithCustomizer - ): TResult; - - /** - * @see _.clonDeepeWith - */ - cloneDeepWith( - value: T, - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - //_.cloneWith - interface CloneWithCustomizer { - (value: TValue): TResult; - } - - interface LoDashStatic { - /** - * This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. - * If customizer returns undefined cloning is handled by the method instead. - * - * @param value The value to clone. - * @param customizer The function to customize cloning. - * @return Returns the cloned value. - */ - cloneWith( - value: any, - customizer?: CloneWithCustomizer - ): TResult; - - /** - * @see _.cloneWith - */ - cloneWith( - value: T, - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - //_.eq - interface LoDashStatic { - /** - * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - eq( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEqual - */ - eq( - other: any - ): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEqual - */ - eq( - other: any - ): LoDashExplicitWrapper; - } - - //_.gt - interface LoDashStatic { - /** - * Checks if value is greater than other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is greater than other, else false. - */ - gt( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.gt - */ - gt(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.gt - */ - gt(other: any): LoDashExplicitWrapper; - } - - //_.gte - interface LoDashStatic { - /** - * Checks if value is greater than or equal to other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is greater than or equal to other, else false. - */ - gte( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.gte - */ - gte(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.gte - */ - gte(other: any): LoDashExplicitWrapper; - } - - //_.isArguments - interface LoDashStatic { - /** - * Checks if value is classified as an arguments object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isArguments(value?: any): value is IArguments; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArguments - */ - isArguments(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArguments - */ - isArguments(): LoDashExplicitWrapper; - } - - //_.isArray - interface LoDashStatic { - /** - * Checks if value is classified as an Array object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isArray(value?: any): value is T[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArray - */ - isArray(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArray - */ - isArray(): LoDashExplicitWrapper; - } - - //_.isArrayBuffer - interface LoDashStatic { - /** - * Checks if value is classified as an ArrayBuffer object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isArrayBuffer(value?: any): value is ArrayBuffer; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArrayBuffer - */ - isArrayBuffer(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArrayBuffer - */ - isArrayBuffer(): LoDashExplicitWrapper; - } - - //_.isArrayLike - interface LoDashStatic { - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @type Function - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - isArrayLike(value?: any): value is T[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArrayLike - */ - isArrayLike(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArrayLike - */ - isArrayLike(): LoDashExplicitWrapper; - } - - //_.isArrayLikeObject - interface LoDashStatic { - /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @type Function - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ - isArrayLikeObject(value?: any): value is T[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArrayLikeObject - */ - isArrayLikeObject(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArrayLikeObject - */ - isArrayLikeObject(): LoDashExplicitWrapper; - } - - //_.isBoolean - interface LoDashStatic { - /** - * Checks if value is classified as a boolean primitive or object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isBoolean(value?: any): value is boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isBoolean - */ - isBoolean(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isBoolean - */ - isBoolean(): LoDashExplicitWrapper; - } - - //_.isBuffer - interface LoDashStatic { - /** - * Checks if value is a buffer. - * - * @param value The value to check. - * @return Returns true if value is a buffer, else false. - */ - isBuffer(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isBuffer - */ - isBuffer(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isBuffer - */ - isBuffer(): LoDashExplicitWrapper; - } - - //_.isDate - interface LoDashStatic { - /** - * Checks if value is classified as a Date object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isDate(value?: any): value is Date; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isDate - */ - isDate(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isDate - */ - isDate(): LoDashExplicitWrapper; - } - - //_.isElement - interface LoDashStatic { - /** - * Checks if value is a DOM element. - * - * @param value The value to check. - * @return Returns true if value is a DOM element, else false. - */ - isElement(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isElement - */ - isElement(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isElement - */ - isElement(): LoDashExplicitWrapper; - } - - //_.isEmpty - interface LoDashStatic { - /** - * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or - * jQuery-like collection with a length greater than 0 or an object with own enumerable properties. - * - * @param value The value to inspect. - * @return Returns true if value is empty, else false. - */ - isEmpty(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEmpty - */ - isEmpty(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEmpty - */ - isEmpty(): LoDashExplicitWrapper; - } - - //_.isEqual - interface LoDashStatic { - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are **not** supported. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ - isEqual( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEqual - */ - isEqual( - other: any - ): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEqual - */ - isEqual( - other: any - ): LoDashExplicitWrapper; - } - - // _.isEqualWith - interface IsEqualCustomizer { - (value: any, other: any, indexOrKey?: number|string): boolean; - } - - interface LoDashStatic { - /** - * This method is like `_.isEqual` except that it accepts `customizer` which is - * invoked to compare values. If `customizer` returns `undefined` comparisons are - * handled by the method instead. The `customizer` is invoked with up to seven arguments: - * (objValue, othValue [, index|key, object, other, stack]). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, othValue) { - * if (isGreeting(objValue) && isGreeting(othValue)) { - * return true; - * } - * } - * - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqualWith(array, other, customizer); - * // => true - */ - isEqualWith( - value: any, - other: any, - customizer: IsEqualCustomizer - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEqualWith - */ - isEqualWith( - other: any, - customizer: IsEqualCustomizer - ): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEqualWith - */ - isEqualWith( - other: any, - customizer: IsEqualCustomizer - ): LoDashExplicitWrapper; - } - - //_.isError - interface LoDashStatic { - /** - * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError - * object. - * - * @param value The value to check. - * @return Returns true if value is an error object, else false. - */ - isError(value: any): value is Error; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isError - */ - isError(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isError - */ - isError(): LoDashExplicitWrapper; - } - - //_.isFinite - interface LoDashStatic { - /** - * Checks if value is a finite primitive number. - * - * Note: This method is based on Number.isFinite. - * - * @param value The value to check. - * @return Returns true if value is a finite number, else false. - */ - isFinite(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isFinite - */ - isFinite(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isFinite - */ - isFinite(): LoDashExplicitWrapper; - } - - //_.isFunction - interface LoDashStatic { - /** - * Checks if value is classified as a Function object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isFunction(value?: any): value is Function; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isFunction - */ - isFunction(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isFunction - */ - isFunction(): LoDashExplicitWrapper; - } - - //_.isInteger - interface LoDashStatic { - /** - * Checks if `value` is an integer. - * - * **Note:** This method is based on [`Number.isInteger`](https://mdn.io/Number/isInteger). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an integer, else `false`. - * @example - * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false - * - * _.isInteger('3'); - * // => false - */ - isInteger(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isInteger - */ - isInteger(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isInteger - */ - isInteger(): LoDashExplicitWrapper; - } - - //_.isLength - interface LoDashStatic { - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - isLength(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isLength - */ - isLength(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isLength - */ - isLength(): LoDashExplicitWrapper; - } - - //_.isMap - interface LoDashStatic { - /** - * Checks if value is classified as a Map object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isMap(value?: any): value is Map; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isMap - */ - isMap(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isMap - */ - isMap(): LoDashExplicitWrapper; - } - - //_.isMatch - interface isMatchCustomizer { - (value: any, other: any, indexOrKey?: number|string): boolean; - } - - interface LoDashStatic { - /** - * Performs a deep comparison between `object` and `source` to determine if - * `object` contains equivalent property values. - * - * **Note:** This method supports comparing the same values as `_.isEqual`. - * - * @static - * @memberOf _ - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'user': 'fred', 'age': 40 }; - * - * _.isMatch(object, { 'age': 40 }); - * // => true - * - * _.isMatch(object, { 'age': 36 }); - * // => false - */ - isMatch(object: Object, source: Object): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.isMatch - */ - isMatch(source: Object): boolean; - } - - //_.isMatchWith - interface isMatchWithCustomizer { - (value: any, other: any, indexOrKey?: number|string): boolean; - } - - interface LoDashStatic { - /** - * This method is like `_.isMatch` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined` comparisons - * are handled by the method instead. The `customizer` is invoked with three - * arguments: (objValue, srcValue, index|key, object, source). - * - * @static - * @memberOf _ - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, srcValue) { - * if (isGreeting(objValue) && isGreeting(srcValue)) { - * return true; - * } - * } - * - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatchWith(object, source, customizer); - * // => true - */ - isMatchWith(object: Object, source: Object, customizer: isMatchWithCustomizer): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.isMatchWith - */ - isMatchWith(source: Object, customizer: isMatchWithCustomizer): boolean; - } - - //_.isNaN - interface LoDashStatic { - /** - * Checks if value is NaN. - * - * Note: This method is not the same as isNaN which returns true for undefined and other non-numeric values. - * - * @param value The value to check. - * @return Returns true if value is NaN, else false. - */ - isNaN(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isNaN - */ - isNaN(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isNaN - */ - isNaN(): LoDashExplicitWrapper; - } - - //_.isNative - interface LoDashStatic { - /** - * Checks if value is a native function. - * @param value The value to check. - * - * @retrun Returns true if value is a native function, else false. - */ - isNative(value: any): value is Function; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNative - */ - isNative(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNative - */ - isNative(): LoDashExplicitWrapper; - } - - //_.isNil - interface LoDashStatic { - /** - * Checks if `value` is `null` or `undefined`. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. - * @example - * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true - * - * _.isNil(NaN); - * // => false - */ - isNil(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNil - */ - isNil(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNil - */ - isNil(): LoDashExplicitWrapper; - } - - //_.isNull - interface LoDashStatic { - /** - * Checks if value is null. - * - * @param value The value to check. - * @return Returns true if value is null, else false. - */ - isNull(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNull - */ - isNull(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNull - */ - isNull(): LoDashExplicitWrapper; - } - - //_.isNumber - interface LoDashStatic { - /** - * Checks if value is classified as a Number primitive or object. - * - * Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isNumber(value?: any): value is number; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNumber - */ - isNumber(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNumber - */ - isNumber(): LoDashExplicitWrapper; - } - - //_.isObject - interface LoDashStatic { - /** - * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), - * and new String('')) - * - * @param value The value to check. - * @return Returns true if value is an object, else false. - */ - isObject(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isObject - */ - isObject(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isObject - */ - isObject(): LoDashExplicitWrapper; - } - - //_.isObjectLike - interface LoDashStatic { - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - isObjectLike(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isObjectLike - */ - isObjectLike(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isObjectLike - */ - isObjectLike(): LoDashExplicitWrapper; - } - - //_.isPlainObject - interface LoDashStatic { - /** - * Checks if value is a plain object, that is, an object created by the Object constructor or one with a - * [[Prototype]] of null. - * - * Note: This method assumes objects created by the Object constructor have no inherited enumerable properties. - * - * @param value The value to check. - * @return Returns true if value is a plain object, else false. - */ - isPlainObject(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isPlainObject - */ - isPlainObject(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isPlainObject - */ - isPlainObject(): LoDashExplicitWrapper; - } - - //_.isRegExp - interface LoDashStatic { - /** - * Checks if value is classified as a RegExp object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isRegExp(value?: any): value is RegExp; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isRegExp - */ - isRegExp(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isRegExp - */ - isRegExp(): LoDashExplicitWrapper; - } - - //_.isSafeInteger - interface LoDashStatic { - /** - * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 - * double precision number which isn't the result of a rounded unsafe integer. - * - * **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. - * @example - * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false - * - * _.isSafeInteger(Infinity); - * // => false - * - * _.isSafeInteger('3'); - * // => false - */ - isSafeInteger(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isSafeInteger - */ - isSafeInteger(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isSafeInteger - */ - isSafeInteger(): LoDashExplicitWrapper; - } - - //_.isSet - interface LoDashStatic { - /** - * Checks if value is classified as a Set object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isSet(value?: any): value is Set; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isSet - */ - isSet(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isSet - */ - isSet(): LoDashExplicitWrapper; - } - - //_.isString - interface LoDashStatic { - /** - * Checks if value is classified as a String primitive or object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isString(value?: any): value is string; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isString - */ - isString(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isString - */ - isString(): LoDashExplicitWrapper; - } - - //_.isSymbol - interface LoDashStatic { - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - isSymbol(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isSymbol - */ - isSymbol(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isSymbol - */ - isSymbol(): LoDashExplicitWrapper; - } - - //_.isTypedArray - interface LoDashStatic { - /** - * Checks if value is classified as a typed array. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isTypedArray(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isTypedArray - */ - isTypedArray(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isTypedArray - */ - isTypedArray(): LoDashExplicitWrapper; - } - - //_.isUndefined - interface LoDashStatic { - /** - * Checks if value is undefined. - * - * @param value The value to check. - * @return Returns true if value is undefined, else false. - */ - isUndefined(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isUndefined - */ - isUndefined(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isUndefined - */ - isUndefined(): LoDashExplicitWrapper; - } - - //_.isWeakMap - interface LoDashStatic { - /** - * Checks if value is classified as a WeakMap object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isWeakMap(value?: any): value is WeakMap; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isSet - */ - isWeakMap(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isSet - */ - isWeakMap(): LoDashExplicitWrapper; - } - - //_.isWeakSet - interface LoDashStatic { - /** - * Checks if value is classified as a WeakSet object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isWeakSet(value?: any): value is WeakSet; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isWeakSet - */ - isWeakSet(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isWeakSet - */ - isWeakSet(): LoDashExplicitWrapper; - } - - //_.lt - interface LoDashStatic { - /** - * Checks if value is less than other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is less than other, else false. - */ - lt( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.lt - */ - lt(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.lt - */ - lt(other: any): LoDashExplicitWrapper; - } - - //_.lte - interface LoDashStatic { - /** - * Checks if value is less than or equal to other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is less than or equal to other, else false. - */ - lte( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.lte - */ - lte(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.lte - */ - lte(other: any): LoDashExplicitWrapper; - } - - //_.toArray - interface LoDashStatic { - /** - * Converts value to an array. - * - * @param value The value to convert. - * @return Returns the converted array. - */ - toArray(value: List|Dictionary|NumericDictionary): T[]; - - /** - * @see _.toArray - */ - toArray(value: TValue): TResult[]; - - /** - * @see _.toArray - */ - toArray(value?: any): TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashExplicitArrayWrapper; - } - - //_.toPlainObject - interface LoDashStatic { - /** - * Converts value to a plain object flattening inherited enumerable properties of value to own properties - * of the plain object. - * - * @param value The value to convert. - * @return Returns the converted plain object. - */ - toPlainObject(value?: any): TResult; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toPlainObject - */ - toPlainObject(): LoDashImplicitObjectWrapper; - } - - //_.toInteger - interface LoDashStatic { - /** - * Converts `value` to an integer. - * - * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toInteger(3); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toInteger('3'); - * // => 3 - */ - toInteger(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toInteger - */ - toInteger(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toInteger - */ - toInteger(): LoDashExplicitWrapper; - } - - //_.toLength - interface LoDashStatic { - /** - * Converts `value` to an integer suitable for use as the length of an - * array-like object. - * - * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @return {number} Returns the converted integer. - * @example - * - * _.toLength(3); - * // => 3 - * - * _.toLength(Number.MIN_VALUE); - * // => 0 - * - * _.toLength(Infinity); - * // => 4294967295 - * - * _.toLength('3'); - * // => 3 - */ - toLength(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toLength - */ - toLength(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toLength - */ - toLength(): LoDashExplicitWrapper; - } - - //_.toNumber - interface LoDashStatic { - /** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3); - * // => 3 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3'); - * // => 3 - */ - toNumber(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toNumber - */ - toNumber(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toNumber - */ - toNumber(): LoDashExplicitWrapper; - } - - //_.toSafeInteger - interface LoDashStatic { - /** - * Converts `value` to a safe integer. A safe integer can be compared and - * represented correctly. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toSafeInteger(3); - * // => 3 - * - * _.toSafeInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toSafeInteger(Infinity); - * // => 9007199254740991 - * - * _.toSafeInteger('3'); - * // => 3 - */ - toSafeInteger(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toSafeInteger - */ - toSafeInteger(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toSafeInteger - */ - toSafeInteger(): LoDashExplicitWrapper; - } - - //_.toString DUMMY - interface LoDashStatic { - /** - * Converts `value` to a string if it's not one. An empty string is returned - * for `null` and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to process. - * @returns {string} Returns the string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - toString(value: any): string; - } - - /******** - * Math * - ********/ - - //_.add - interface LoDashStatic { - /** - * Adds two numbers. - * - * @param augend The first number to add. - * @param addend The second number to add. - * @return Returns the sum. - */ - add( - augend: number, - addend: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.add - */ - add(addend: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.add - */ - add(addend: number): LoDashExplicitWrapper; - } - - //_.ceil - interface LoDashStatic { - /** - * Calculates n rounded up to precision. - * - * @param n The number to round up. - * @param precision The precision to round up to. - * @return Returns the rounded up number. - */ - ceil( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.ceil - */ - ceil(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.ceil - */ - ceil(precision?: number): LoDashExplicitWrapper; - } - - //_.floor - interface LoDashStatic { - /** - * Calculates n rounded down to precision. - * - * @param n The number to round down. - * @param precision The precision to round down to. - * @return Returns the rounded down number. - */ - floor( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.floor - */ - floor(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.floor - */ - floor(precision?: number): LoDashExplicitWrapper; - } - - //_.max - interface LoDashStatic { - /** - * Computes the maximum value of `array`. If `array` is empty or falsey - * `undefined` is returned. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {*} Returns the maximum value. - */ - max( - collection: List - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.max - */ - max(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.max - */ - max(): T; - } - - //_.maxBy - interface LoDashStatic { - /** - * This method is like `_.max` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * the value is ranked. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {*} Returns the maximum value. - * @example - * - * var objects = [{ 'n': 1 }, { 'n': 2 }]; - * - * _.maxBy(objects, function(o) { return o.a; }); - * // => { 'n': 2 } - * - * // using the `_.property` iteratee shorthand - * _.maxBy(objects, 'n'); - * // => { 'n': 2 } - */ - maxBy( - collection: List, - iteratee?: ListIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - collection: List|Dictionary, - iteratee?: string - ): T; - - /** - * @see _.maxBy - */ - maxBy( - collection: List|Dictionary, - whereValue?: TObject - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.maxBy - */ - maxBy( - iteratee?: ListIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - iteratee?: string - ): T; - - /** - * @see _.maxBy - */ - maxBy( - whereValue?: TObject - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.maxBy - */ - maxBy( - iteratee?: ListIterator|DictionaryIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - iteratee?: string - ): T; - - /** - * @see _.maxBy - */ - maxBy( - whereValue?: TObject - ): T; - } - - //_.mean - interface LoDashStatic { - /** - * Computes the mean of the values in `array`. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {number} Returns the mean. - * @example - * - * _.mean([4, 2, 8, 6]); - * // => 5 - */ - mean( - collection: List - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.mean - */ - mean(): number; - - /** - * @see _.mean - */ - mean(): number; - } - - //_.min - interface LoDashStatic { - /** - * Computes the minimum value of `array`. If `array` is empty or falsey - * `undefined` is returned. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {*} Returns the minimum value. - */ - min( - collection: List - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.min - */ - min(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.min - */ - min(): T; - } - - //_.minBy - interface LoDashStatic { - /** - * This method is like `_.min` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * the value is ranked. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {*} Returns the minimum value. - * @example - * - * var objects = [{ 'n': 1 }, { 'n': 2 }]; - * - * _.minBy(objects, function(o) { return o.a; }); - * // => { 'n': 1 } - * - * // using the `_.property` iteratee shorthand - * _.minBy(objects, 'n'); - * // => { 'n': 1 } - */ - minBy( - collection: List, - iteratee?: ListIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - collection: List|Dictionary, - iteratee?: string - ): T; - - /** - * @see _.minBy - */ - minBy( - collection: List|Dictionary, - whereValue?: TObject - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.minBy - */ - minBy( - iteratee?: ListIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - iteratee?: string - ): T; - - /** - * @see _.minBy - */ - minBy( - whereValue?: TObject - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.minBy - */ - minBy( - iteratee?: ListIterator|DictionaryIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - iteratee?: string - ): T; - - /** - * @see _.minBy - */ - minBy( - whereValue?: TObject - ): T; - } - - //_.round - interface LoDashStatic { - /** - * Calculates n rounded to precision. - * - * @param n The number to round. - * @param precision The precision to round to. - * @return Returns the rounded number. - */ - round( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.round - */ - round(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.round - */ - round(precision?: number): LoDashExplicitWrapper; - } - - //_.sum - interface LoDashStatic { - /** - * Computes the sum of the values in `array`. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {number} Returns the sum. - * @example - * - * _.sum([4, 2, 8, 6]); - * // => 20 - */ - sum(collection: List): number; - - /** - * @see _.sum - */ - sum(collection: List|Dictionary): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sum - */ - sum(): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sum - **/ - sum(): number; - - /** - * @see _.sum - */ - sum(): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - } - - //_.sumBy - interface LoDashStatic { - /** - * This method is like `_.sum` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the value to be summed. - * The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the sum. - * @example - * - * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }]; - * - * _.sumBy(objects, function(o) { return o.n; }); - * // => 20 - * - * // using the `_.property` iteratee shorthand - * _.sumBy(objects, 'n'); - * // => 20 - */ - sumBy( - collection: List, - iteratee: ListIterator - ): number; - - /** - * @see _.sumBy - **/ - sumBy( - collection: Dictionary, - iteratee: DictionaryIterator - ): number; - - /** - * @see _.sumBy - */ - sumBy( - collection: List|Dictionary, - iteratee: string - ): number; - - /** - * @see _.sumBy - */ - sumBy(collection: List|Dictionary): number; - - /** - * @see _.sumBy - */ - sumBy(collection: List|Dictionary): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sumBy - */ - sumBy( - iteratee: ListIterator - ): number; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): number; - - /** - * @see _.sumBy - */ - sumBy(): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sumBy - **/ - sumBy( - iteratee: ListIterator|DictionaryIterator - ): number; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): number; - - /** - * @see _.sumBy - */ - sumBy(): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sumBy - */ - sumBy( - iteratee: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sumBy - */ - sumBy( - iteratee: ListIterator|DictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(): LoDashExplicitWrapper; - } - - /********** - * Number * - **********/ - - //_.subtract - interface LoDashStatic { - /** - * Subtract two numbers. - * - * @static - * @memberOf _ - * @category Math - * @param {number} minuend The first number in a subtraction. - * @param {number} subtrahend The second number in a subtraction. - * @returns {number} Returns the difference. - * @example - * - * _.subtract(6, 4); - * // => 2 - */ - subtract( - minuend: number, - subtrahend: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.subtract - */ - subtract( - subtrahend: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.subtract - */ - subtract( - subtrahend: number - ): LoDashExplicitWrapper; - } - - //_.clamp - interface LoDashStatic { - /** - * Clamps `number` within the inclusive `lower` and `upper` bounds. - * - * @static - * @memberOf _ - * @category Number - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - * @example - * - * _.clamp(-10, -5, 5); - * // => -5 - * - * _.clamp(10, -5, 5); - * // => 5 - */ - clamp( - number: number, - lower: number, - upper: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.clamp - */ - clamp( - lower: number, - upper: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.clamp - */ - clamp( - lower: number, - upper: number - ): LoDashExplicitWrapper; - } - - //_.inRange - interface LoDashStatic { - /** - * Checks if n is between start and up to but not including, end. If end is not specified it’s set to start - * with start then set to 0. - * - * @param n The number to check. - * @param start The start of the range. - * @param end The end of the range. - * @return Returns true if n is in the range, else false. - */ - inRange( - n: number, - start: number, - end: number - ): boolean; - - - /** - * @see _.inRange - */ - inRange( - n: number, - end: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.inRange - */ - inRange( - start: number, - end: number - ): boolean; - - /** - * @see _.inRange - */ - inRange(end: number): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.inRange - */ - inRange( - start: number, - end: number - ): LoDashExplicitWrapper; - - /** - * @see _.inRange - */ - inRange(end: number): LoDashExplicitWrapper; - } - - //_.random - interface LoDashStatic { - /** - * Produces a random number between min and max (inclusive). If only one argument is provided a number between - * 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point - * number is returned instead of an integer. - * - * @param min The minimum possible value. - * @param max The maximum possible value. - * @param floating Specify returning a floating-point number. - * @return Returns the random number. - */ - random( - min?: number, - max?: number, - floating?: boolean - ): number; - - /** - * @see _.random - */ - random( - min?: number, - floating?: boolean - ): number; - - /** - * @see _.random - */ - random(floating?: boolean): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.random - */ - random( - max?: number, - floating?: boolean - ): number; - - /** - * @see _.random - */ - random(floating?: boolean): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.random - */ - random( - max?: number, - floating?: boolean - ): LoDashExplicitWrapper; - - /** - * @see _.random - */ - random(floating?: boolean): LoDashExplicitWrapper; - } - - /********** - * Object * - **********/ - - //_.assign - interface LoDashStatic { - /** - * Assigns own enumerable properties of source objects to the destination - * object. Source objects are applied from left to right. Subsequent sources - * overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * function Foo() { - * this.c = 3; - * } - * - * function Bar() { - * this.e = 5; - * } - * - * Foo.prototype.d = 4; - * Bar.prototype.f = 6; - * - * _.assign({ 'a': 1 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3, 'e': 5 } - */ - assign( - object: TObject, - source: TSource - ): TResult; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TResult; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TResult; - - /** - * @see assign - */ - assign - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TResult; - - /** - * @see _.assign - */ - assign(object: TObject): TObject; - - /** - * @see _.assign - */ - assign( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assign - */ - assign( - source: TSource - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assign - */ - assign( - source: TSource - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.assignWith - interface AssignCustomizer { - (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}): any; - } - - interface LoDashStatic { - /** - * This method is like `_.assign` except that it accepts `customizer` which - * is invoked to produce the assigned values. If `customizer` returns `undefined` - * assignment is handled by the method instead. The `customizer` is invoked - * with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - assignWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignWith - */ - assignWith - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TResult; - - /** - * @see _.assignWith - */ - assignWith(object: TObject): TObject; - - /** - * @see _.assignWith - */ - assignWith( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assignWith - */ - assignWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(): LoDashImplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assignWith - */ - assignWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(): LoDashExplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.assignIn - interface LoDashStatic { - /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * function Bar() { - * this.d = 4; - * } - * - * Foo.prototype.c = 3; - * Bar.prototype.e = 5; - * - * _.assignIn({ 'a': 1 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 } - */ - assignIn( - object: TObject, - source: TSource - ): TResult; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TResult; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TResult; - - /** - * @see assignIn - */ - assignIn - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TResult; - - /** - * @see _.assignIn - */ - assignIn(object: TObject): TObject; - - /** - * @see _.assignIn - */ - assignIn( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assignIn - */ - assignIn( - source: TSource - ): LoDashImplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(): LoDashImplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assignIn - */ - assignIn( - source: TSource - ): LoDashExplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(): LoDashExplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.assignInWith - interface AssignCustomizer { - (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}): any; - } - - interface LoDashStatic { - /** - * This method is like `_.assignIn` except that it accepts `customizer` which - * is invoked to produce the assigned values. If `customizer` returns `undefined` - * assignment is handled by the method instead. The `customizer` is invoked - * with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @alias extendWith - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - assignInWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignInWith - */ - assignInWith - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TResult; - - /** - * @see _.assignInWith - */ - assignInWith(object: TObject): TObject; - - /** - * @see _.assignInWith - */ - assignInWith( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assignInWith - */ - assignInWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(): LoDashImplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assignInWith - */ - assignInWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(): LoDashExplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.create - interface LoDashStatic { - /** - * Creates an object that inherits from the given prototype object. If a properties object is provided its own - * enumerable properties are assigned to the created object. - * - * @param prototype The object to inherit from. - * @param properties The properties to assign to the object. - * @return Returns the new object. - */ - create( - prototype: T, - properties?: U - ): T & U; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.create - */ - create(properties?: U): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.create - */ - create(properties?: U): LoDashExplicitObjectWrapper; - } - - //_.defaults - interface LoDashStatic { - /** - * Assigns own enumerable properties of source object(s) to the destination object for all destination - * properties that resolve to undefined. Once a property is set, additional values of the same property are - * ignored. - * - * Note: This method mutates object. - * - * @param object The destination object. - * @param sources The source objects. - * @return The destination object. - */ - defaults( - object: Obj, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - source2: S2, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - source2: S2, - source3: S3, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - source2: S2, - source3: S3, - source4: S4, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: {}, - ...sources: {}[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.defaults - */ - defaults( - source1: S1, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - source4: S4, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(...sources: {}[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.defaults - */ - defaults( - source1: S1, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - source4: S4, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(...sources: {}[]): LoDashExplicitObjectWrapper; - } - - //_.defaultsDeep - interface LoDashStatic { - /** - * This method is like _.defaults except that it recursively assigns default properties. - * @param object The destination object. - * @param sources The source objects. - * @return Returns object. - **/ - defaultsDeep( - object: T, - ...sources: any[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.defaultsDeep - **/ - defaultsDeep(...sources: any[]): LoDashImplicitObjectWrapper - } - - //_.extend - interface LoDashStatic { - /** - * @see assign - */ - extend( - object: TObject, - source: TSource, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see assign - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see assign - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see assign - */ - extend - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see _.assign - */ - extend(object: TObject): TObject; - - /** - * @see _.assign - */ - extend( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assign - */ - extend( - source: TSource, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assign - */ - extend( - source: TSource, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.findKey - interface LoDashStatic { - /** - * This method is like _.find except that it returns the key of the first element predicate returns truthy for - * instead of the element itself. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param object The object to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the key of the matched element, else undefined. - */ - findKey( - object: TObject, - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - object: TObject, - predicate?: ObjectIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - object: TObject, - predicate?: string - ): string; - - /** - * @see _.findKey - */ - findKey, TObject>( - object: TObject, - predicate?: TWhere - ): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findKey - */ - findKey( - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - predicate?: ObjectIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - predicate?: string - ): string; - - /** - * @see _.findKey - */ - findKey>( - predicate?: TWhere - ): string; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findKey - */ - findKey( - predicate?: DictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findKey - */ - findKey( - predicate?: ObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findKey - */ - findKey( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findKey - */ - findKey>( - predicate?: TWhere - ): LoDashExplicitWrapper; - } - - //_.findLastKey - interface LoDashStatic { - /** - * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param object The object to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the key of the matched element, else undefined. - */ - findLastKey( - object: TObject, - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - object: TObject, - predicate?: ObjectIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - object: TObject, - predicate?: string - ): string; - - /** - * @see _.findLastKey - */ - findLastKey, TObject>( - object: TObject, - predicate?: TWhere - ): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: ObjectIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: string - ): string; - - /** - * @see _.findLastKey - */ - findLastKey>( - predicate?: TWhere - ): string; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: DictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: ObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findLastKey - */ - findLastKey>( - predicate?: TWhere - ): LoDashExplicitWrapper; - } - - //_.forIn - interface LoDashStatic { - /** - * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The - * iteratee is bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may - * exit iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forIn( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forIn - */ - forIn( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forIn - */ - forIn( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forIn - */ - forIn( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.forInRight - interface LoDashStatic { - /** - * This method is like _.forIn except that it iterates over properties of object in the opposite order. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forInRight( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forInRight - */ - forInRight( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forInRight - */ - forInRight( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forInRight - */ - forInRight( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.forOwn - interface LoDashStatic { - /** - * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is - * bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may exit - * iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forOwn( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forOwn - */ - forOwn( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forOwn - */ - forOwn( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forOwn - */ - forOwn( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.forOwnRight - interface LoDashStatic { - /** - * This method is like _.forOwn except that it iterates over properties of object in the opposite order. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forOwnRight( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forOwnRight - */ - forOwnRight( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forOwnRight - */ - forOwnRight( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forOwnRight - */ - forOwnRight( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.functions - interface LoDashStatic { - /** - * Creates an array of function property names from own enumerable properties - * of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the new array of property names. - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] - */ - functions(object: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.functions - */ - functions(): _.LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.functions - */ - functions(): _.LoDashExplicitArrayWrapper; - } - - //_.functionsIn - interface LoDashStatic { - /** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the new array of property names. - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] - */ - functionsIn(object: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.functionsIn - */ - functionsIn(): _.LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.functionsIn - */ - functionsIn(): _.LoDashExplicitArrayWrapper; - } - - //_.get - interface LoDashStatic { - /** - * Gets the property value at path of object. If the resolved value is undefined the defaultValue is used - * in its place. - * - * @param object The object to query. - * @param path The path of the property to get. - * @param defaultValue The value returned if the resolved value is undefined. - * @return Returns the resolved value. - */ - get( - object: TObject, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - - /** - * @see _.get - */ - get( - object: any, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - //_.has - interface LoDashStatic { - /** - * Checks if `path` is a direct property of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': { 'c': 3 } } }; - * var other = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b.c'); - * // => true - * - * _.has(object, ['a', 'b', 'c']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ - has( - object: T, - path: StringRepresentable|StringRepresentable[] - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.has - */ - has(path: StringRepresentable|StringRepresentable[]): boolean; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.has - */ - has(path: StringRepresentable|StringRepresentable[]): LoDashExplicitWrapper; - } - - //_.hasIn - interface LoDashStatic { - /** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b.c'); - * // => true - * - * _.hasIn(object, ['a', 'b', 'c']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ - hasIn( - object: T, - path: StringRepresentable|StringRepresentable[] - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.hasIn - */ - hasIn(path: StringRepresentable|StringRepresentable[]): boolean; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.hasIn - */ - hasIn(path: StringRepresentable|StringRepresentable[]): LoDashExplicitWrapper; - } - - //_.invert - interface LoDashStatic { - /** - * Creates an object composed of the inverted keys and values of object. If object contains duplicate values, - * subsequent values overwrite property assignments of previous values unless multiValue is true. - * - * @param object The object to invert. - * @param multiValue Allow multiple values per key. - * @return Returns the new inverted object. - */ - invert( - object: T, - multiValue?: boolean - ): TResult; - - /** - * @see _.invert - */ - invert( - object: Object, - multiValue?: boolean - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invert - */ - invert(multiValue?: boolean): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invert - */ - invert(multiValue?: boolean): LoDashExplicitObjectWrapper; - } - - //_.inverBy - interface InvertByIterator { - (value: T): any; - } - - interface LoDashStatic { - /** - * This method is like _.invert except that the inverted object is generated from the results of running each - * element of object through iteratee. The corresponding inverted value of each inverted key is an array of - * keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value). - * - * @param object The object to invert. - * @param interatee The iteratee invoked per element. - * @return Returns the new inverted object. - */ - invertBy( - object: Object, - interatee?: InvertByIterator|string - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: _.Dictionary|_.NumericDictionary, - interatee?: InvertByIterator|string - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: Object, - interatee?: W - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: _.Dictionary, - interatee?: W - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashExplicitObjectWrapper>; - } - - //_.keys - interface LoDashStatic { - /** - * Creates an array of the own enumerable property names of object. - * - * Note: Non-object values are coerced to objects. See the ES spec for more details. - * - * @param object The object to query. - * @return Returns the array of property names. - */ - keys(object?: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.keys - */ - keys(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.keys - */ - keys(): LoDashExplicitArrayWrapper; - } - - //_.keysIn - interface LoDashStatic { - /** - * Creates an array of the own and inherited enumerable property names of object. - * - * Note: Non-object values are coerced to objects. - * - * @param object The object to query. - * @return An array of property names. - */ - keysIn(object?: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.keysIn - */ - keysIn(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.keysIn - */ - keysIn(): LoDashExplicitArrayWrapper; - } - - //_.mapKeys - interface LoDashStatic { - /** - * The opposite of _.mapValues; this method creates an object with the same values as object and keys generated - * by running each own enumerable property of object through iteratee. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the new mapped object. - */ - mapKeys( - object: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: List|Dictionary, - iteratee?: TObject - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: List|Dictionary, - iteratee?: string - ): Dictionary; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - } - - //_.mapValues - interface LoDashStatic { - /** - * Creates an object with the same keys as object and values generated by running each own - * enumerable property of object through iteratee. The iteratee function is bound to thisArg - * and invoked with three arguments: (value, key, object). - * - * If a property name is provided iteratee the created "_.property" style callback returns - * the property value of the given element. - * - * If a value is also provided for thisArg the creted "_.matchesProperty" style callback returns - * true for elements that have a matching property value, else false;. - * - * If an object is provided for iteratee the created "_.matches" style callback returns true - * for elements that have the properties of the given object, else false. - * - * @param {Object} object The object to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked per iteration. - * @param {Object} [thisArg] The `this` binding of `iteratee`. - * @return {Object} Returns the new mapped object. - */ - mapValues(obj: Dictionary, callback: ObjectIterator): Dictionary; - mapValues(obj: Dictionary, where: Dictionary): Dictionary; - mapValues(obj: T, pluck: string): TMapped; - mapValues(obj: T, callback: ObjectIterator): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mapValues - * TValue is the type of the property values of T. - * TResult is the type output by the ObjectIterator function - */ - mapValues(callback: ObjectIterator): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the property specified by pluck. - * T should be a Dictionary> - */ - mapValues(pluck: string): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the properties of each object in the values of T - * T should be a Dictionary> - */ - mapValues(where: Dictionary): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.mapValues - * TValue is the type of the property values of T. - * TResult is the type output by the ObjectIterator function - */ - mapValues(callback: ObjectIterator): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the property specified by pluck. - * T should be a Dictionary> - */ - mapValues(pluck: string): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the properties of each object in the values of T - * T should be a Dictionary> - */ - mapValues(where: Dictionary): LoDashExplicitObjectWrapper; - } - - //_.merge - interface LoDashStatic { - /** - * Recursively merges own and inherited enumerable properties of source - * objects into the destination object, skipping source properties that resolve - * to `undefined`. Array and plain object properties are merged recursively. - * Other objects and value types are overridden by assignment. Source objects - * are applied from left to right. Subsequent sources overwrite property - * assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * var users = { - * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }] - * }; - * - * var ages = { - * 'data': [{ 'age': 36 }, { 'age': 40 }] - * }; - * - * _.merge(users, ages); - * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] } - */ - merge( - object: TObject, - source: TSource - ): TObject & TSource; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TObject & TSource1 & TSource2; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.merge - */ - merge( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.merge - */ - merge( - source: TSource - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - ...otherArgs: any[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.merge - */ - merge( - source: TSource - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - ...otherArgs: any[] - ): LoDashExplicitObjectWrapper; - } - - //_.mergeWith - interface MergeWithCustomizer { - (value: any, srcValue: any, key?: string, object?: Object, source?: Object): any; - } - - interface LoDashStatic { - /** - * This method is like `_.merge` except that it accepts `customizer` which - * is invoked to produce the merged values of the destination and source - * properties. If `customizer` returns `undefined` merging is handled by the - * method instead. The `customizer` is invoked with seven arguments: - * (objValue, srcValue, key, object, source, stack). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} customizer The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * if (_.isArray(objValue)) { - * return objValue.concat(srcValue); - * } - * } - * - * var object = { - * 'fruits': ['apple'], - * 'vegetables': ['beet'] - * }; - * - * var other = { - * 'fruits': ['banana'], - * 'vegetables': ['carrot'] - * }; - * - * _.merge(object, other, customizer); - * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] } - */ - mergeWith( - object: TObject, - source: TSource, - customizer: MergeWithCustomizer - ): TObject & TSource; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.mergeWith - */ - mergeWith( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mergeWith - */ - mergeWith( - source: TSource, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - ...otherArgs: any[] - ): LoDashImplicitObjectWrapper; - } - - //_.omit - interface LoDashStatic { - /** - * The opposite of `_.pick`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that are not omitted. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [props] The property names to omit, specified - * individually or in arrays.. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omit(object, ['a', 'c']); - * // => { 'b': '2' } - */ - - omit( - object: T, - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - - /** - * @see _.omit - */ - omit( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - - /** - * @see _.omit - */ - omit( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashExplicitObjectWrapper; - } - - //_.omitBy - interface LoDashStatic { - /** - * The opposite of `_.pickBy`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that `predicate` - * doesn't return truthy for. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {Function|Object|string} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omitBy(object, _.isNumber); - * // => { 'b': '2' } - */ - omitBy( - object: T, - predicate: ObjectIterator - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.omitBy - */ - omitBy( - predicate: ObjectIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.omitBy - */ - omitBy( - predicate: ObjectIterator - ): LoDashExplicitObjectWrapper; - } - - //_.pick - interface LoDashStatic { - /** - * Creates an object composed of the picked `object` properties. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [props] The property names to pick, specified - * individually or in arrays. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } - */ - pick( - object: T, - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pick - */ - pick( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pick - */ - pick( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashExplicitObjectWrapper; - } - - //_.pickBy - interface LoDashStatic { - /** - * Creates an object composed of the `object` properties `predicate` returns - * truthy for. The predicate is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {Function|Object|string} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pickBy(object, _.isNumber); - * // => { 'a': 1, 'c': 3 } - */ - pickBy( - object: T, - predicate?: ObjectIterator - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pickBy - */ - pickBy( - predicate?: ObjectIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pickBy - */ - pickBy( - predicate?: ObjectIterator - ): LoDashExplicitObjectWrapper; - } - - //_.result - interface LoDashStatic { - /** - * This method is like _.get except that if the resolved value is a function it’s invoked with the this binding - * of its parent object and its result is returned. - * - * @param object The object to query. - * @param path The path of the property to resolve. - * @param defaultValue The value returned if the resolved value is undefined. - * @return Returns the resolved value. - */ - result( - object: TObject, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - - /** - * @see _.result - */ - result( - object: any, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - //_.set - interface LoDashStatic { - /** - * Sets the value at path of object. If a portion of path doesn’t exist it’s created. Arrays are created for - * missing index properties while objects are created for all other missing properties. Use _.setWith to - * customize path creation. - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param value The value to set. - * @return Returns object. - */ - set( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: any - ): TResult; - - /** - * @see _.set - */ - set( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: V - ): TResult; - - /** - * @see _.set - */ - set( - object: O, - path: StringRepresentable|StringRepresentable[], - value: V - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: any - ): LoDashImplicitObjectWrapper; - - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: V - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: any - ): LoDashExplicitObjectWrapper; - - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: V - ): LoDashExplicitObjectWrapper; - } - - //_.setWith - interface SetWithCustomizer { - (nsValue: any, key: string, nsObject: T): any; - } - - interface LoDashStatic { - /** - * This method is like _.set except that it accepts customizer which is invoked to produce the objects of - * path. If customizer returns undefined path creation is handled by the method instead. The customizer is - * invoked with three arguments: (nsValue, key, nsObject). - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param value The value to set. - * @parem customizer The function to customize assigned values. - * @return Returns object. - */ - setWith( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: any, - customizer?: SetWithCustomizer - ): TResult; - - /** - * @see _.setWith - */ - setWith( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): TResult; - - /** - * @see _.setWith - */ - setWith( - object: O, - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: any, - customizer?: SetWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: any, - customizer?: SetWithCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - //_.toPairs - interface LoDashStatic { - /** - * Creates an array of own enumerable key-value pairs for object. - * - * @param object The object to query. - * @return Returns the new array of key-value pairs. - */ - toPairs(object?: T): any[][]; - - toPairs(object?: T): TResult[][]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.toPairs - */ - toPairs(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.toPairs - */ - toPairs(): LoDashExplicitArrayWrapper; - } - - //_.toPairsIn - interface LoDashStatic { - /** - * Creates an array of own and inherited enumerable key-value pairs for object. - * - * @param object The object to query. - * @return Returns the new array of key-value pairs. - */ - toPairsIn(object?: T): any[][]; - - toPairsIn(object?: T): TResult[][]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.toPairsIn - */ - toPairsIn(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.toPairsIn - */ - toPairsIn(): LoDashExplicitArrayWrapper; - } - - //_.transform - interface LoDashStatic { - /** - * An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of - * running each of its own enumerable properties through iteratee, with each invocation potentially mutating - * the accumulator object. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, - * value, key, object). Iteratee functions may exit iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param accumulator The custom accumulator value. - * @param thisArg The this binding of iteratee. - * @return Returns the accumulated value. - */ - transform( - object: T[], - iteratee?: MemoVoidArrayIterator, - accumulator?: TResult[] - ): TResult[]; - - /** - * @see _.transform - */ - transform( - object: T[], - iteratee?: MemoVoidArrayIterator>, - accumulator?: Dictionary - ): Dictionary; - - /** - * @see _.transform - */ - transform( - object: Dictionary, - iteratee?: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): Dictionary; - - /** - * @see _.transform - */ - transform( - object: Dictionary, - iteratee?: MemoVoidDictionaryIterator, - accumulator?: TResult[] - ): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidArrayIterator, - accumulator?: TResult[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidArrayIterator>, - accumulator?: Dictionary - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidDictionaryIterator, - accumulator?: TResult[] - ): LoDashImplicitArrayWrapper; - } - - //_.unset - interface LoDashStatic { - /** - * Removes the property at path of object. - * - * Note: This method mutates object. - * - * @param object The object to modify. - * @param path The path of the property to unset. - * @return Returns true if the property is deleted, else false. - */ - unset( - object: T, - path: StringRepresentable|StringRepresentable[] - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unset - */ - unset(path: StringRepresentable|StringRepresentable[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unset - */ - unset(path: StringRepresentable|StringRepresentable[]): LoDashExplicitWrapper; - } - - //_.update - interface LoDashStatic { - /** - * This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to - * customize path creation. The updater is invoked with one argument: (value). - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param updater The function to produce the updated value. - * @return Returns object. - */ - update( - object: Object, - path: StringRepresentable|StringRepresentable[], - updater: Function - ): TResult; - - /** - * @see _.update - */ - update( - object: Object, - path: StringRepresentable|StringRepresentable[], - updater: U - ): TResult; - - /** - * @see _.update - */ - update( - object: O, - path: StringRepresentable|StringRepresentable[], - updater: Function - ): TResult; - - /** - * @see _.update - */ - update( - object: O, - path: StringRepresentable|StringRepresentable[], - updater: U - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: any - ): LoDashImplicitObjectWrapper; - - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: U - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: any - ): LoDashExplicitObjectWrapper; - - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: U - ): LoDashExplicitObjectWrapper; - } - - //_.values - interface LoDashStatic { - /** - * Creates an array of the own enumerable property values of object. - * - * @param object The object to query. - * @return Returns an array of property values. - */ - values(object?: any): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.values - */ - values(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.values - */ - values(): LoDashExplicitArrayWrapper; - } - - //_.valuesIn - interface LoDashStatic { - /** - * Creates an array of the own and inherited enumerable property values of object. - * - * @param object The object to query. - * @return Returns the array of property values. - */ - valuesIn(object?: any): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.valuesIn - */ - valuesIn(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.valuesIn - */ - valuesIn(): LoDashExplicitArrayWrapper; - } - - /********** - * String * - **********/ - - //_.camelCase - interface LoDashStatic { - /** - * Converts string to camel case. - * - * @param string The string to convert. - * @return Returns the camel cased string. - */ - camelCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.camelCase - */ - camelCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.camelCase - */ - camelCase(): LoDashExplicitWrapper; - } - - //_.capitalize - interface LoDashStatic { - /** - * Converts the first character of string to upper case and the remaining to lower case. - * - * @param string The string to capitalize. - * @return Returns the capitalized string. - */ - capitalize(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.capitalize - */ - capitalize(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.capitalize - */ - capitalize(): LoDashExplicitWrapper; - } - - //_.deburr - interface LoDashStatic { - /** - * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining - * diacritical marks. - * - * @param string The string to deburr. - * @return Returns the deburred string. - */ - deburr(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.deburr - */ - deburr(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.deburr - */ - deburr(): LoDashExplicitWrapper; - } - - //_.endsWith - interface LoDashStatic { - /** - * Checks if string ends with the given target string. - * - * @param string The string to search. - * @param target The string to search for. - * @param position The position to search from. - * @return Returns true if string ends with target, else false. - */ - endsWith( - string?: string, - target?: string, - position?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.endsWith - */ - endsWith( - target?: string, - position?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.endsWith - */ - endsWith( - target?: string, - position?: number - ): LoDashExplicitWrapper; - } - - // _.escape - interface LoDashStatic { - /** - * Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities. - * - * Note: No other characters are escaped. To escape additional characters use a third-party library like he. - * - * hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML - * and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s - * article (under "semi-related fun fact") for more details. - * - * Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59, - * #102, #108, and #133 of the HTML5 Security Cheatsheet for more details. - * - * When working with HTML you should always quote attribute values to reduce XSS vectors. - * - * @param string The string to escape. - * @return Returns the escaped string. - */ - escape(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.escape - */ - escape(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.escape - */ - escape(): LoDashExplicitWrapper; - } - - // _.escapeRegExp - interface LoDashStatic { - /** - * Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]", - * "{", "}", and "|" in string. - * - * @param string The string to escape. - * @return Returns the escaped string. - */ - escapeRegExp(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.escapeRegExp - */ - escapeRegExp(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.escapeRegExp - */ - escapeRegExp(): LoDashExplicitWrapper; - } - - //_.kebabCase - interface LoDashStatic { - /** - * Converts string to kebab case. - * - * @param string The string to convert. - * @return Returns the kebab cased string. - */ - kebabCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.kebabCase - */ - kebabCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.kebabCase - */ - kebabCase(): LoDashExplicitWrapper; - } - - //_.lowerCase - interface LoDashStatic { - /** - * Converts `string`, as space separated words, to lower case. - * - * @param string The string to convert. - * @return Returns the lower cased string. - */ - lowerCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lowerCase - */ - lowerCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lowerCase - */ - lowerCase(): LoDashExplicitWrapper; - } - - //_.lowerFirst - interface LoDashStatic { - /** - * Converts the first character of `string` to lower case. - * - * @param string The string to convert. - * @return Returns the converted string. - */ - lowerFirst(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lowerFirst - */ - lowerFirst(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lowerFirst - */ - lowerFirst(): LoDashExplicitWrapper; - } - - //_.pad - interface LoDashStatic { - /** - * Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if - * they can’t be evenly divided by length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - pad( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pad - */ - pad( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pad - */ - pad( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } - - //_.padEnd - interface LoDashStatic { - /** - * Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed - * length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - padEnd( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.padEnd - */ - padEnd( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.padEnd - */ - padEnd( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } - - //_.padStart - interface LoDashStatic { - /** - * Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed - * length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - padStart( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.padStart - */ - padStart( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.padStart - */ - padStart( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } - - //_.parseInt - interface LoDashStatic { - /** - * Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used - * unless value is a hexadecimal, in which case a radix of 16 is used. - * - * Note: This method aligns with the ES5 implementation of parseInt. - * - * @param string The string to convert. - * @param radix The radix to interpret value by. - * @return Returns the converted integer. - */ - parseInt( - string: string, - radix?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.parseInt - */ - parseInt(radix?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.parseInt - */ - parseInt(radix?: number): LoDashExplicitWrapper; - } - - //_.repeat - interface LoDashStatic { - /** - * Repeats the given string n times. - * - * @param string The string to repeat. - * @param n The number of times to repeat the string. - * @return Returns the repeated string. - */ - repeat( - string?: string, - n?: number - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.repeat - */ - repeat(n?: number): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.repeat - */ - repeat(n?: number): LoDashExplicitWrapper; - } - - //_.replace - interface LoDashStatic { - /** - * Replaces matches for pattern in string with replacement. - * - * Note: This method is based on String#replace. - * - * @param string - * @param pattern - * @param replacement - * @return Returns the modified string. - */ - replace( - string: string, - pattern: RegExp|string, - replacement: Function|string - ): string; - - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): string; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): string; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): LoDashExplicitWrapper; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): LoDashExplicitWrapper; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): LoDashExplicitWrapper; - } - - //_.snakeCase - interface LoDashStatic { - /** - * Converts string to snake case. - * - * @param string The string to convert. - * @return Returns the snake cased string. - */ - snakeCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.snakeCase - */ - snakeCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.snakeCase - */ - snakeCase(): LoDashExplicitWrapper; - } - - //_.split - interface LoDashStatic { - /** - * Splits string by separator. - * - * Note: This method is based on String#split. - * - * @param string - * @param separator - * @param limit - * @return Returns the new array of string segments. - */ - split( - string: string, - separator?: RegExp|string, - limit?: number - ): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.split - */ - split( - separator?: RegExp|string, - limit?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.split - */ - split( - separator?: RegExp|string, - limit?: number - ): LoDashExplicitArrayWrapper; - } - - //_.startCase - interface LoDashStatic { - /** - * Converts string to start case. - * - * @param string The string to convert. - * @return Returns the start cased string. - */ - startCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.startCase - */ - startCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.startCase - */ - startCase(): LoDashExplicitWrapper; - } - - //_.startsWith - interface LoDashStatic { - /** - * Checks if string starts with the given target string. - * - * @param string The string to search. - * @param target The string to search for. - * @param position The position to search from. - * @return Returns true if string starts with target, else false. - */ - startsWith( - string?: string, - target?: string, - position?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.startsWith - */ - startsWith( - target?: string, - position?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.startsWith - */ - startsWith( - target?: string, - position?: number - ): LoDashExplicitWrapper; - } - - //_.template - interface TemplateOptions extends TemplateSettings { - /** - * The sourceURL of the template's compiled source. - */ - sourceURL?: string; - } - - interface TemplateExecutor { - (data?: Object): string; - source: string; - } - - interface LoDashStatic { - /** - * Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, - * HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" - * delimiters. Data properties may be accessed as free variables in the template. If a setting object is - * provided it takes precedence over _.templateSettings values. - * - * Note: In the development build _.template utilizes - * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier - * debugging. - * - * For more information on precompiling templates see - * [lodash's custom builds documentation](https://lodash.com/custom-builds). - * - * For more information on Chrome extension sandboxes see - * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). - * - * @param string The template string. - * @param options The options object. - * @param options.escape The HTML "escape" delimiter. - * @param options.evaluate The "evaluate" delimiter. - * @param options.imports An object to import into the template as free variables. - * @param options.interpolate The "interpolate" delimiter. - * @param options.sourceURL The sourceURL of the template's compiled source. - * @param options.variable The data object variable name. - * @return Returns the compiled template function. - */ - template( - string: string, - options?: TemplateOptions - ): TemplateExecutor; - } - - interface LoDashImplicitWrapper { - /** - * @see _.template - */ - template(options?: TemplateOptions): TemplateExecutor; - } - - interface LoDashExplicitWrapper { - /** - * @see _.template - */ - template(options?: TemplateOptions): LoDashExplicitObjectWrapper; - } - - //_.toLower - interface LoDashStatic { - /** - * Converts `string`, as a whole, to lower case. - * - * @param string The string to convert. - * @return Returns the lower cased string. - */ - toLower(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toLower - */ - toLower(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toLower - */ - toLower(): LoDashExplicitWrapper; - } - - //_.toUpper - interface LoDashStatic { - /** - * Converts `string`, as a whole, to upper case. - * - * @param string The string to convert. - * @return Returns the upper cased string. - */ - toUpper(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toUpper - */ - toUpper(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toUpper - */ - toUpper(): LoDashExplicitWrapper; - } - - //_.trim - interface LoDashStatic { - /** - * Removes leading and trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trim( - string?: string, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trim - */ - trim(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trim - */ - trim(chars?: string): LoDashExplicitWrapper; - } - - //_.trimEnd - interface LoDashStatic { - /** - * Removes trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trimEnd( - string?: string, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trimEnd - */ - trimEnd(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trimEnd - */ - trimEnd(chars?: string): LoDashExplicitWrapper; - } - - //_.trimStart - interface LoDashStatic { - /** - * Removes leading whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trimStart( - string?: string, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trimStart - */ - trimStart(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trimStart - */ - trimStart(chars?: string): LoDashExplicitWrapper; - } - - //_.truncate - interface TruncateOptions { - /** The maximum string length. */ - length?: number; - /** The string to indicate text is omitted. */ - omission?: string; - /** The separator pattern to truncate to. */ - separator?: string|RegExp; - } - - interface LoDashStatic { - /** - * Truncates string if it’s longer than the given maximum string length. The last characters of the truncated - * string are replaced with the omission string which defaults to "…". - * - * @param string The string to truncate. - * @param options The options object or maximum string length. - * @return Returns the truncated string. - */ - truncate( - string?: string, - options?: TruncateOptions - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.truncate - */ - truncate(options?: TruncateOptions): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.truncate - */ - truncate(options?: TruncateOptions): LoDashExplicitWrapper; - } - - //_.unescape - interface LoDashStatic { - /** - * The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and ` - * in string to their corresponding characters. - * - * Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library - * like he. - * - * @param string The string to unescape. - * @return Returns the unescaped string. - */ - unescape(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unescape - */ - unescape(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unescape - */ - unescape(): LoDashExplicitWrapper; - } - - //_.upperCase - interface LoDashStatic { - /** - * Converts `string`, as space separated words, to upper case. - * - * @param string The string to convert. - * @return Returns the upper cased string. - */ - upperCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.upperCase - */ - upperCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.upperCase - */ - upperCase(): LoDashExplicitWrapper; - } - - //_.upperFirst - interface LoDashStatic { - /** - * Converts the first character of `string` to upper case. - * - * @param string The string to convert. - * @return Returns the converted string. - */ - upperFirst(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.upperFirst - */ - upperFirst(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.upperFirst - */ - upperFirst(): LoDashExplicitWrapper; - } - - //_.words - interface LoDashStatic { - /** - * Splits `string` into an array of its words. - * - * @param string The string to inspect. - * @param pattern The pattern to match words. - * @return Returns the words of `string`. - */ - words( - string?: string, - pattern?: string|RegExp - ): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.words - */ - words(pattern?: string|RegExp): string[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.words - */ - words(pattern?: string|RegExp): LoDashExplicitArrayWrapper; - } - - /*********** - * Utility * - ***********/ - - //_.attempt - interface LoDashStatic { - /** - * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments - * are provided to func when it’s invoked. - * - * @param func The function to attempt. - * @return Returns the func result or error object. - */ - attempt(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.attempt - */ - attempt(...args: any[]): TResult|Error; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.attempt - */ - attempt(...args: any[]): LoDashExplicitObjectWrapper; - } - - //_.constant - interface LoDashStatic { - /** - * Creates a function that returns value. - * - * @param value The value to return from the new function. - * @return Returns the new function. - */ - constant(value: T): () => T; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.constant - */ - constant(): LoDashImplicitObjectWrapper<() => TResult>; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.constant - */ - constant(): LoDashExplicitObjectWrapper<() => TResult>; - } - - //_.identity - interface LoDashStatic { - /** - * This method returns the first argument provided to it. - * - * @param value Any value. - * @return Returns value. - */ - identity(value?: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.identity - */ - identity(): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.identity - */ - identity(): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.identity - */ - identity(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.identity - */ - identity(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.identity - */ - identity(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.identity - */ - identity(): LoDashExplicitObjectWrapper; - } - - //_.iteratee - interface LoDashStatic { - /** - * Creates a function that invokes `func` with the arguments of the created - * function. If `func` is a property name the created callback returns the - * property value for a given element. If `func` is an object the created - * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`. - * - * @static - * @memberOf _ - * @category Util - * @param {*} [func=_.identity] The value to convert to a callback. - * @returns {Function} Returns the callback. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // create custom iteratee shorthands - * _.iteratee = _.wrap(_.iteratee, function(callback, func) { - * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func); - * return !p ? callback(func) : function(object) { - * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]); - * }; - * }); - * - * _.filter(users, 'age > 36'); - * // => [{ 'user': 'fred', 'age': 40 }] - */ - iteratee( - func: Function - ): (...args: any[]) => TResult; - - /** - * @see _.iteratee - */ - iteratee( - func: string - ): (object: any) => TResult; - - /** - * @see _.iteratee - */ - iteratee( - func: Object - ): (object: any) => boolean; - - /** - * @see _.iteratee - */ - iteratee(): (value: TResult) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashImplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashImplicitObjectWrapper<(object: any) => boolean>; - - /** - * @see _.iteratee - */ - iteratee(): LoDashImplicitObjectWrapper<(...args: any[]) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashExplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashExplicitObjectWrapper<(object: any) => boolean>; - - /** - * @see _.iteratee - */ - iteratee(): LoDashExplicitObjectWrapper<(...args: any[]) => TResult>; - } - - //_.matches - interface LoDashStatic { - /** - * Creates a function that performs a deep comparison between a given object and source, returning true if the - * given object has equivalent property values, else false. - * - * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and - * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own - * or inherited property value see _.matchesProperty. - * - * @param source The object of property values to match. - * @return Returns the new function. - */ - matches(source: T): (value: any) => boolean; - - /** - * @see _.matches - */ - matches(source: T): (value: V) => boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.matches - */ - matches(): LoDashImplicitObjectWrapper<(value: V) => boolean>; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.matches - */ - matches(): LoDashExplicitObjectWrapper<(value: V) => boolean>; - } - - //_.matchesProperty - interface LoDashStatic { - /** - * Creates a function that compares the property value of path on a given object to value. - * - * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and - * strings. Objects are compared by their own, not inherited, enumerable properties. - * - * @param path The path of the property to get. - * @param srcValue The value to match. - * @return Returns the new function. - */ - matchesProperty( - path: StringRepresentable|StringRepresentable[], - srcValue: T - ): (value: any) => boolean; - - /** - * @see _.matchesProperty - */ - matchesProperty( - path: StringRepresentable|StringRepresentable[], - srcValue: T - ): (value: V) => boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashImplicitObjectWrapper<(value: any) => boolean>; - - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashImplicitObjectWrapper<(value: Value) => boolean>; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashExplicitObjectWrapper<(value: any) => boolean>; - - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashExplicitObjectWrapper<(value: Value) => boolean>; - } - - //_.method - interface LoDashStatic { - /** - * Creates a function that invokes the method at path on a given object. Any additional arguments are provided - * to the invoked method. - * - * @param path The path of the method to invoke. - * @param args The arguments to invoke the method with. - * @return Returns the new function. - */ - method( - path: string|StringRepresentable[], - ...args: any[] - ): (object: TObject) => TResult; - - /** - * @see _.method - */ - method( - path: string|StringRepresentable[], - ...args: any[] - ): (object: any) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: any) => TResult>; - } - - //_.methodOf - interface LoDashStatic { - /** - * The opposite of _.method; this method creates a function that invokes the method at a given path on object. - * Any additional arguments are provided to the invoked method. - * - * @param object The object to query. - * @param args The arguments to invoke the method with. - * @return Returns the new function. - */ - methodOf( - object: TObject, - ...args: any[] - ): (path: StringRepresentable|StringRepresentable[]) => TResult; - - /** - * @see _.methodOf - */ - methodOf( - object: {}, - ...args: any[] - ): (path: StringRepresentable|StringRepresentable[]) => TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.methodOf - */ - methodOf( - ...args: any[] - ): LoDashImplicitObjectWrapper<(path: StringRepresentable|StringRepresentable[]) => TResult>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.methodOf - */ - methodOf( - ...args: any[] - ): LoDashExplicitObjectWrapper<(path: StringRepresentable|StringRepresentable[]) => TResult>; - } - - //_.mixin - interface MixinOptions { - chain?: boolean; - } - - interface LoDashStatic { - /** - * Adds all own enumerable function properties of a source object to the destination object. If object is a - * function then methods are added to its prototype as well. - * - * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying - * the original. - * - * @param object The destination object. - * @param source The object of functions to add. - * @param options The options object. - * @param options.chain Specify whether the functions added are chainable. - * @return Returns object. - */ - mixin( - object: TObject, - source: Dictionary, - options?: MixinOptions - ): TResult; - - /** - * @see _.mixin - */ - mixin( - source: Dictionary, - options?: MixinOptions - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mixin - */ - mixin( - source: Dictionary, - options?: MixinOptions - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mixin - */ - mixin( - options?: MixinOptions - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.mixin - */ - mixin( - source: Dictionary, - options?: MixinOptions - ): LoDashExplicitObjectWrapper; - - /** - * @see _.mixin - */ - mixin( - options?: MixinOptions - ): LoDashExplicitObjectWrapper; - } - - //_.noConflict - interface LoDashStatic { - /** - * Reverts the _ variable to its previous value and returns a reference to the lodash function. - * - * @return Returns the lodash function. - */ - noConflict(): typeof _; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.noConflict - */ - noConflict(): typeof _; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.noConflict - */ - noConflict(): LoDashExplicitObjectWrapper; - } - - //_.noop - interface LoDashStatic { - /** - * A no-operation function that returns undefined regardless of the arguments it receives. - * - * @return undefined - */ - noop(...args: any[]): void; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.noop - */ - noop(...args: any[]): void; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.noop - */ - noop(...args: any[]): _.LoDashExplicitWrapper; - } - - //_.nthArg - interface LoDashStatic { - /** - * Creates a function that returns its nth argument. - * - * @param n The index of the argument to return. - * @return Returns the new function. - */ - nthArg(n?: number): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.nthArg - */ - nthArg(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.nthArg - */ - nthArg(): LoDashExplicitObjectWrapper; - } - - //_.over - interface LoDashStatic { - /** - * Creates a function that invokes iteratees with the arguments provided to the created function and returns - * their results. - * - * @param iteratees The iteratees to invoke. - * @return Returns the new function. - */ - over(...iteratees: (Function|Function[])[]): (...args: any[]) => TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - //_.overEvery - interface LoDashStatic { - /** - * Creates a function that checks if all of the predicates return truthy when invoked with the arguments - * provided to the created function. - * - * @param predicates The predicates to check. - * @return Returns the new function. - */ - overEvery(...predicates: (Function|Function[])[]): (...args: any[]) => boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - //_.overSome - interface LoDashStatic { - /** - * Creates a function that checks if any of the predicates return truthy when invoked with the arguments - * provided to the created function. - * - * @param predicates The predicates to check. - * @return Returns the new function. - */ - overSome(...predicates: (Function|Function[])[]): (...args: any[]) => boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - //_.property - interface LoDashStatic { - /** - * Creates a function that returns the property value at path on a given object. - * - * @param path The path of the property to get. - * @return Returns the new function. - */ - property(path: StringRepresentable|StringRepresentable[]): (obj: TObj) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.property - */ - property(): LoDashImplicitObjectWrapper<(obj: TObj) => TResult>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.property - */ - property(): LoDashImplicitObjectWrapper<(obj: TObj) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.property - */ - property(): LoDashExplicitObjectWrapper<(obj: TObj) => TResult>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.property - */ - property(): LoDashExplicitObjectWrapper<(obj: TObj) => TResult>; - } - - //_.propertyOf - interface LoDashStatic { - /** - * The opposite of _.property; this method creates a function that returns the property value at a given path - * on object. - * - * @param object The object to query. - * @return Returns the new function. - */ - propertyOf(object: T): (path: string|string[]) => any; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.propertyOf - */ - propertyOf(): LoDashImplicitObjectWrapper<(path: string|string[]) => any>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.propertyOf - */ - propertyOf(): LoDashExplicitObjectWrapper<(path: string|string[]) => any>; - } - - //_.range - interface LoDashStatic { - /** - * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. - * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length - * range is created unless a negative step is specified. - * - * @param start The start of the range. - * @param end The end of the range. - * @param step The value to increment or decrement by. - * @return Returns a new range array. - */ - range( - start: number, - end: number, - step?: number - ): number[]; - - /** - * @see _.range - */ - range( - end: number, - step?: number - ): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.range - */ - range( - end?: number, - step?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.range - */ - range( - end?: number, - step?: number - ): LoDashExplicitArrayWrapper; - } - - //_.rangeRight - interface LoDashStatic { - /** - * This method is like `_.range` except that it populates values in - * descending order. - * - * @static - * @memberOf _ - * @category Util - * @param {number} [start=0] The start of the range. - * @param {number} end The end of the range. - * @param {number} [step=1] The value to increment or decrement by. - * @returns {Array} Returns the new array of numbers. - * @example - * - * _.rangeRight(4); - * // => [3, 2, 1, 0] - * - * _.rangeRight(-4); - * // => [-3, -2, -1, 0] - * - * _.rangeRight(1, 5); - * // => [4, 3, 2, 1] - * - * _.rangeRight(0, 20, 5); - * // => [15, 10, 5, 0] - * - * _.rangeRight(0, -4, -1); - * // => [-3, -2, -1, 0] - * - * _.rangeRight(1, 4, 0); - * // => [1, 1, 1] - * - * _.rangeRight(0); - * // => [] - */ - rangeRight( - start: number, - end: number, - step?: number - ): number[]; - - /** - * @see _.rangeRight - */ - rangeRight( - end: number, - step?: number - ): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.rangeRight - */ - rangeRight( - end?: number, - step?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.rangeRight - */ - rangeRight( - end?: number, - step?: number - ): LoDashExplicitArrayWrapper; - } - - //_.runInContext - interface LoDashStatic { - /** - * Create a new pristine lodash function using the given context object. - * - * @param context The context object. - * @return Returns a new lodash function. - */ - runInContext(context?: Object): typeof _; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.runInContext - */ - runInContext(): typeof _; - } - - //_.times - interface LoDashStatic { - /** - * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee - * is invoked with one argument; (index). - * - * @param n The number of times to invoke iteratee. - * @param iteratee The function invoked per iteration. - * @return Returns the array of results. - */ - times( - n: number, - iteratee: (num: number) => TResult - ): TResult[]; - - /** - * @see _.times - */ - times(n: number): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.times - */ - times( - iteratee: (num: number) => TResult - ): TResult[]; - - /** - * @see _.times - */ - times(): number[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.times - */ - times( - iteratee: (num: number) => TResult - ): LoDashExplicitArrayWrapper; - - /** - * @see _.times - */ - times(): LoDashExplicitArrayWrapper; - } - - //_.toPath - interface LoDashStatic { - /** - * Converts `value` to a property path array. - * - * @static - * @memberOf _ - * @category Util - * @param {*} value The value to convert. - * @returns {Array} Returns the new property path array. - * @example - * - * _.toPath('a.b.c'); - * // => ['a', 'b', 'c'] - * - * _.toPath('a[0].b.c'); - * // => ['a', '0', 'b', 'c'] - * - * var path = ['a', 'b', 'c'], - * newPath = _.toPath(path); - * - * console.log(newPath); - * // => ['a', 'b', 'c'] - * - * console.log(path === newPath); - * // => false - */ - toPath(value: any): string[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toPath - */ - toPath(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toPath - */ - toPath(): LoDashExplicitWrapper; - } - - //_.uniqueId - interface LoDashStatic { - /** - * Generates a unique ID. If prefix is provided the ID is appended to it. - * - * @param prefix The value to prefix the ID with. - * @return Returns the unique ID. - */ - uniqueId(prefix?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqueId - */ - uniqueId(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqueId - */ - uniqueId(): LoDashExplicitWrapper; - } - - interface ListIterator { - (value: T, index: number, collection: List): TResult; - } - - interface DictionaryIterator { - (value: T, key?: string, collection?: Dictionary): TResult; - } - - interface NumericDictionaryIterator { - (value: T, key?: number, collection?: Dictionary): TResult; - } - - interface ObjectIterator { - (element: T, key?: string, collection?: any): TResult; - } - - interface StringIterator { - (char: string, index?: number, string?: string): TResult; - } - - interface MemoVoidIterator { - (prev: TResult, curr: T, indexOrKey?: any, list?: T[]): void; - } - interface MemoIterator { - (prev: TResult, curr: T, indexOrKey?: any, list?: T[]): TResult; - } - - interface MemoVoidArrayIterator { - (acc: TResult, curr: T, index?: number, arr?: T[]): void; - } - interface MemoVoidDictionaryIterator { - (acc: TResult, curr: T, key?: string, dict?: Dictionary): void; - } - - //interface Collection {} - - // Common interface between Arrays and jQuery objects - interface List { - [index: number]: T; - length: number; - } - - interface Dictionary { - [index: string]: T; - } - - interface NumericDictionary { - [index: number]: T; - } - - interface StringRepresentable { - toString(): string; - } - - interface Cancelable { - cancel(): void; - } -} - -// Named exports - -declare module "lodash/after" { - const after: typeof _.after; - export = after; -} - - -declare module "lodash/ary" { - const ary: typeof _.ary; - export = ary; -} - - -declare module "lodash/assign" { - const assign: typeof _.assign; - export = assign; -} - - -declare module "lodash/assignIn" { - const assignIn: typeof _.assignIn; - export = assignIn; -} - - -declare module "lodash/assignInWith" { - const assignInWith: typeof _.assignInWith; - export = assignInWith; -} - - -declare module "lodash/assignWith" { - const assignWith: typeof _.assignWith; - export = assignWith; -} - - -declare module "lodash/at" { - const at: typeof _.at; - export = at; -} - - -declare module "lodash/before" { - const before: typeof _.before; - export = before; -} - - -declare module "lodash/bind" { - const bind: typeof _.bind; - export = bind; -} - - -declare module "lodash/bindAll" { - const bindAll: typeof _.bindAll; - export = bindAll; -} - - -declare module "lodash/bindKey" { - const bindKey: typeof _.bindKey; - export = bindKey; -} - - -declare module "lodash/castArray" { - const castArray: typeof _.castArray; - export = castArray; -} - - -declare module "lodash/chain" { - const chain: typeof _.chain; - export = chain; -} - - -declare module "lodash/chunk" { - const chunk: typeof _.chunk; - export = chunk; -} - - -declare module "lodash/compact" { - const compact: typeof _.compact; - export = compact; -} - - -declare module "lodash/concat" { - const concat: typeof _.concat; - export = concat; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/cond" { - const cond: typeof _.cond; - export = cond; -} -*/ - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/conforms" { - const conforms: typeof _.conforms; - export = conforms; -} -*/ - -declare module "lodash/constant" { - const constant: typeof _.constant; - export = constant; -} - - -declare module "lodash/countBy" { - const countBy: typeof _.countBy; - export = countBy; -} - - -declare module "lodash/create" { - const create: typeof _.create; - export = create; -} - - -declare module "lodash/curry" { - const curry: typeof _.curry; - export = curry; -} - - -declare module "lodash/curryRight" { - const curryRight: typeof _.curryRight; - export = curryRight; -} - - -declare module "lodash/debounce" { - const debounce: typeof _.debounce; - export = debounce; -} - - -declare module "lodash/defaults" { - const defaults: typeof _.defaults; - export = defaults; -} - - -declare module "lodash/defaultsDeep" { - const defaultsDeep: typeof _.defaultsDeep; - export = defaultsDeep; -} - - -declare module "lodash/defer" { - const defer: typeof _.defer; - export = defer; -} - - -declare module "lodash/delay" { - const delay: typeof _.delay; - export = delay; -} - - -declare module "lodash/difference" { - const difference: typeof _.difference; - export = difference; -} - - -declare module "lodash/differenceBy" { - const differenceBy: typeof _.differenceBy; - export = differenceBy; -} - - -declare module "lodash/differenceWith" { - const differenceWith: typeof _.differenceWith; - export = differenceWith; -} - - -declare module "lodash/drop" { - const drop: typeof _.drop; - export = drop; -} - - -declare module "lodash/dropRight" { - const dropRight: typeof _.dropRight; - export = dropRight; -} - - -declare module "lodash/dropRightWhile" { - const dropRightWhile: typeof _.dropRightWhile; - export = dropRightWhile; -} - - -declare module "lodash/dropWhile" { - const dropWhile: typeof _.dropWhile; - export = dropWhile; -} - - -declare module "lodash/fill" { - const fill: typeof _.fill; - export = fill; -} - - -declare module "lodash/filter" { - const filter: typeof _.filter; - export = filter; -} - - -declare module "lodash/flatMap" { - const flatMap: typeof _.flatMap; - export = flatMap; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/flatMapDeep" { - const flatMapDeep: typeof _.flatMapDeep; - export = flatMapDeep; -} -*/ -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/flatMapDepth" { - const flatMapDepth: typeof _.flatMapDepth; - export = flatMapDepth; -} -*/ - -declare module "lodash/flatten" { - const flatten: typeof _.flatten; - export = flatten; -} - - -declare module "lodash/flattenDeep" { - const flattenDeep: typeof _.flattenDeep; - export = flattenDeep; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/flattenDepth" { - const flattenDepth: typeof _.flattenDepth; - export = flattenDepth; -} -*/ - -declare module "lodash/flip" { - const flip: typeof _.flip; - export = flip; -} - - -declare module "lodash/flow" { - const flow: typeof _.flow; - export = flow; -} - - -declare module "lodash/flowRight" { - const flowRight: typeof _.flowRight; - export = flowRight; -} - - -declare module "lodash/fromPairs" { - const fromPairs: typeof _.fromPairs; - export = fromPairs; -} - - -declare module "lodash/functions" { - const functions: typeof _.functions; - export = functions; -} - - -declare module "lodash/functionsIn" { - const functionsIn: typeof _.functionsIn; - export = functionsIn; -} - - -declare module "lodash/groupBy" { - const groupBy: typeof _.groupBy; - export = groupBy; -} - - -declare module "lodash/initial" { - const initial: typeof _.initial; - export = initial; -} - - -declare module "lodash/intersection" { - const intersection: typeof _.intersection; - export = intersection; -} - - -declare module "lodash/intersectionBy" { - const intersectionBy: typeof _.intersectionBy; - export = intersectionBy; -} - - -declare module "lodash/intersectionWith" { - const intersectionWith: typeof _.intersectionWith; - export = intersectionWith; -} - - -declare module "lodash/invert" { - const invert: typeof _.invert; - export = invert; -} - - -declare module "lodash/invertBy" { - const invertBy: typeof _.invertBy; - export = invertBy; -} - - -declare module "lodash/invokeMap" { - const invokeMap: typeof _.invokeMap; - export = invokeMap; -} - - -declare module "lodash/iteratee" { - const iteratee: typeof _.iteratee; - export = iteratee; -} - - -declare module "lodash/keyBy" { - const keyBy: typeof _.keyBy; - export = keyBy; -} - - -declare module "lodash/keys" { - const keys: typeof _.keys; - export = keys; -} - - -declare module "lodash/keysIn" { - const keysIn: typeof _.keysIn; - export = keysIn; -} - - -declare module "lodash/map" { - const map: typeof _.map; - export = map; -} - - -declare module "lodash/mapKeys" { - const mapKeys: typeof _.mapKeys; - export = mapKeys; -} - - -declare module "lodash/mapValues" { - const mapValues: typeof _.mapValues; - export = mapValues; -} - - -declare module "lodash/matches" { - const matches: typeof _.matches; - export = matches; -} - - -declare module "lodash/matchesProperty" { - const matchesProperty: typeof _.matchesProperty; - export = matchesProperty; -} - - -declare module "lodash/memoize" { - const memoize: typeof _.memoize; - export = memoize; -} - - -declare module "lodash/merge" { - const merge: typeof _.merge; - export = merge; -} - - -declare module "lodash/mergeWith" { - const mergeWith: typeof _.mergeWith; - export = mergeWith; -} - - -declare module "lodash/method" { - const method: typeof _.method; - export = method; -} - - -declare module "lodash/methodOf" { - const methodOf: typeof _.methodOf; - export = methodOf; -} - - -declare module "lodash/mixin" { - const mixin: typeof _.mixin; - export = mixin; -} - - -declare module "lodash/negate" { - const negate: typeof _.negate; - export = negate; -} - - -declare module "lodash/nthArg" { - const nthArg: typeof _.nthArg; - export = nthArg; -} - - -declare module "lodash/omit" { - const omit: typeof _.omit; - export = omit; -} - - -declare module "lodash/omitBy" { - const omitBy: typeof _.omitBy; - export = omitBy; -} - - -declare module "lodash/once" { - const once: typeof _.once; - export = once; -} - - -declare module "lodash/orderBy" { - const orderBy: typeof _.orderBy; - export = orderBy; -} - - -declare module "lodash/over" { - const over: typeof _.over; - export = over; -} - - -declare module "lodash/overArgs" { - const overArgs: typeof _.overArgs; - export = overArgs; -} - - -declare module "lodash/overEvery" { - const overEvery: typeof _.overEvery; - export = overEvery; -} - - -declare module "lodash/overSome" { - const overSome: typeof _.overSome; - export = overSome; -} - - -declare module "lodash/partial" { - const partial: typeof _.partial; - export = partial; -} - - -declare module "lodash/partialRight" { - const partialRight: typeof _.partialRight; - export = partialRight; -} - - -declare module "lodash/partition" { - const partition: typeof _.partition; - export = partition; -} - - -declare module "lodash/pick" { - const pick: typeof _.pick; - export = pick; -} - - -declare module "lodash/pickBy" { - const pickBy: typeof _.pickBy; - export = pickBy; -} - - -declare module "lodash/property" { - const property: typeof _.property; - export = property; -} - - -declare module "lodash/propertyOf" { - const propertyOf: typeof _.propertyOf; - export = propertyOf; -} - - -declare module "lodash/pull" { - const pull: typeof _.pull; - export = pull; -} - - -declare module "lodash/pullAll" { - const pullAll: typeof _.pullAll; - export = pullAll; -} - - -declare module "lodash/pullAllBy" { - const pullAllBy: typeof _.pullAllBy; - export = pullAllBy; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/pullAllWith" { - const pullAllWith: typeof _.pullAllWith; - export = pullAllWith; -} -*/ - -declare module "lodash/pullAt" { - const pullAt: typeof _.pullAt; - export = pullAt; -} - - -declare module "lodash/range" { - const range: typeof _.range; - export = range; -} - - -declare module "lodash/rangeRight" { - const rangeRight: typeof _.rangeRight; - export = rangeRight; -} - - -declare module "lodash/rearg" { - const rearg: typeof _.rearg; - export = rearg; -} - - -declare module "lodash/reject" { - const reject: typeof _.reject; - export = reject; -} - - -declare module "lodash/remove" { - const remove: typeof _.remove; - export = remove; -} - - -declare module "lodash/rest" { - const rest: typeof _.rest; - export = rest; -} - - -declare module "lodash/reverse" { - const reverse: typeof _.reverse; - export = reverse; -} - - -declare module "lodash/sampleSize" { - const sampleSize: typeof _.sampleSize; - export = sampleSize; -} - - -declare module "lodash/set" { - const set: typeof _.set; - export = set; -} - - -declare module "lodash/setWith" { - const setWith: typeof _.setWith; - export = setWith; -} - - -declare module "lodash/shuffle" { - const shuffle: typeof _.shuffle; - export = shuffle; -} - - -declare module "lodash/slice" { - const slice: typeof _.slice; - export = slice; -} - - -declare module "lodash/sortBy" { - const sortBy: typeof _.sortBy; - export = sortBy; -} - - -declare module "lodash/sortedUniq" { - const sortedUniq: typeof _.sortedUniq; - export = sortedUniq; -} - - -declare module "lodash/sortedUniqBy" { - const sortedUniqBy: typeof _.sortedUniqBy; - export = sortedUniqBy; -} - - -declare module "lodash/split" { - const split: typeof _.split; - export = split; -} - - -declare module "lodash/spread" { - const spread: typeof _.spread; - export = spread; -} - - -declare module "lodash/tail" { - const tail: typeof _.tail; - export = tail; -} - - -declare module "lodash/take" { - const take: typeof _.take; - export = take; -} - - -declare module "lodash/takeRight" { - const takeRight: typeof _.takeRight; - export = takeRight; -} - - -declare module "lodash/takeRightWhile" { - const takeRightWhile: typeof _.takeRightWhile; - export = takeRightWhile; -} - - -declare module "lodash/takeWhile" { - const takeWhile: typeof _.takeWhile; - export = takeWhile; -} - - -declare module "lodash/tap" { - const tap: typeof _.tap; - export = tap; -} - - -declare module "lodash/throttle" { - const throttle: typeof _.throttle; - export = throttle; -} - - -declare module "lodash/thru" { - const thru: typeof _.thru; - export = thru; -} - - -declare module "lodash/toArray" { - const toArray: typeof _.toArray; - export = toArray; -} - - -declare module "lodash/toPairs" { - const toPairs: typeof _.toPairs; - export = toPairs; -} - - -declare module "lodash/toPairsIn" { - const toPairsIn: typeof _.toPairsIn; - export = toPairsIn; -} - - -declare module "lodash/toPath" { - const toPath: typeof _.toPath; - export = toPath; -} - - -declare module "lodash/toPlainObject" { - const toPlainObject: typeof _.toPlainObject; - export = toPlainObject; -} - - -declare module "lodash/transform" { - const transform: typeof _.transform; - export = transform; -} - - -declare module "lodash/unary" { - const unary: typeof _.unary; - export = unary; -} - - -declare module "lodash/union" { - const union: typeof _.union; - export = union; -} - - -declare module "lodash/unionBy" { - const unionBy: typeof _.unionBy; - export = unionBy; -} - - -declare module "lodash/unionWith" { - const unionWith: typeof _.unionWith; - export = unionWith; -} - - -declare module "lodash/uniq" { - const uniq: typeof _.uniq; - export = uniq; -} - - -declare module "lodash/uniqBy" { - const uniqBy: typeof _.uniqBy; - export = uniqBy; -} - - -declare module "lodash/uniqWith" { - const uniqWith: typeof _.uniqWith; - export = uniqWith; -} - - -declare module "lodash/unset" { - const unset: typeof _.unset; - export = unset; -} - - -declare module "lodash/unzip" { - const unzip: typeof _.unzip; - export = unzip; -} - - -declare module "lodash/unzipWith" { - const unzipWith: typeof _.unzipWith; - export = unzipWith; -} - - -declare module "lodash/update" { - const update: typeof _.update; - export = update; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/updateWith" { - const updateWith: typeof _.updateWith; - export = updateWith; -} -*/ - -declare module "lodash/values" { - const values: typeof _.values; - export = values; -} - - -declare module "lodash/valuesIn" { - const valuesIn: typeof _.valuesIn; - export = valuesIn; -} - - -declare module "lodash/without" { - const without: typeof _.without; - export = without; -} - - -declare module "lodash/words" { - const words: typeof _.words; - export = words; -} - - -declare module "lodash/wrap" { - const wrap: typeof _.wrap; - export = wrap; -} - - -declare module "lodash/xor" { - const xor: typeof _.xor; - export = xor; -} - - -declare module "lodash/xorBy" { - const xorBy: typeof _.xorBy; - export = xorBy; -} - - -declare module "lodash/xorWith" { - const xorWith: typeof _.xorWith; - export = xorWith; -} - - -declare module "lodash/zip" { - const zip: typeof _.zip; - export = zip; -} - - -declare module "lodash/zipObject" { - const zipObject: typeof _.zipObject; - export = zipObject; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/zipObjectDeep" { - const zipObjectDeep: typeof _.zipObjectDeep; - export = zipObjectDeep; -} -*/ - - -declare module "lodash/zipWith" { - const zipWith: typeof _.zipWith; - export = zipWith; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/entries" { - const entries: typeof _.entries; - export = entries; -} -*/ -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/entriesIn" { - const entriesIn: typeof _.entriesIn; - export = entriesIn; -} -*/ - - -declare module "lodash/extend" { - const extend: typeof _.extend; - export = extend; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/extendWith" { - const extendWith: typeof _.extendWith; - export = extendWith; -} -*/ - -declare module "lodash/add" { - const add: typeof _.add; - export = add; -} - - -declare module "lodash/attempt" { - const attempt: typeof _.attempt; - export = attempt; -} - - -declare module "lodash/camelCase" { - const camelCase: typeof _.camelCase; - export = camelCase; -} - - -declare module "lodash/capitalize" { - const capitalize: typeof _.capitalize; - export = capitalize; -} - - -declare module "lodash/ceil" { - const ceil: typeof _.ceil; - export = ceil; -} - - -declare module "lodash/clamp" { - const clamp: typeof _.clamp; - export = clamp; -} - - -declare module "lodash/clone" { - const clone: typeof _.clone; - export = clone; -} - - -declare module "lodash/cloneDeep" { - const cloneDeep: typeof _.cloneDeep; - export = cloneDeep; -} - - -declare module "lodash/cloneDeepWith" { - const cloneDeepWith: typeof _.cloneDeepWith; - export = cloneDeepWith; -} - - -declare module "lodash/cloneWith" { - const cloneWith: typeof _.cloneWith; - export = cloneWith; -} - - -declare module "lodash/deburr" { - const deburr: typeof _.deburr; - export = deburr; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/divide" { - const divide: typeof _.divide; - export = divide; -} -*/ - -declare module "lodash/endsWith" { - const endsWith: typeof _.endsWith; - export = endsWith; -} - - -declare module "lodash/eq" { - const eq: typeof _.eq; - export = eq; -} - - -declare module "lodash/escape" { - const escape: typeof _.escape; - export = escape; -} - - -declare module "lodash/escapeRegExp" { - const escapeRegExp: typeof _.escapeRegExp; - export = escapeRegExp; -} - - -declare module "lodash/every" { - const every: typeof _.every; - export = every; -} - - -declare module "lodash/find" { - const find: typeof _.find; - export = find; -} - - -declare module "lodash/findIndex" { - const findIndex: typeof _.findIndex; - export = findIndex; -} - - -declare module "lodash/findKey" { - const findKey: typeof _.findKey; - export = findKey; -} - - -declare module "lodash/findLast" { - const findLast: typeof _.findLast; - export = findLast; -} - - -declare module "lodash/findLastIndex" { - const findLastIndex: typeof _.findLastIndex; - export = findLastIndex; -} - - -declare module "lodash/findLastKey" { - const findLastKey: typeof _.findLastKey; - export = findLastKey; -} - - -declare module "lodash/floor" { - const floor: typeof _.floor; - export = floor; -} - - -declare module "lodash/forEach" { - const forEach: typeof _.forEach; - export = forEach; -} - - -declare module "lodash/forEachRight" { - const forEachRight: typeof _.forEachRight; - export = forEachRight; -} - - -declare module "lodash/forIn" { - const forIn: typeof _.forIn; - export = forIn; -} - - -declare module "lodash/forInRight" { - const forInRight: typeof _.forInRight; - export = forInRight; -} - - -declare module "lodash/forOwn" { - const forOwn: typeof _.forOwn; - export = forOwn; -} - - -declare module "lodash/forOwnRight" { - const forOwnRight: typeof _.forOwnRight; - export = forOwnRight; -} - - -declare module "lodash/get" { - const get: typeof _.get; - export = get; -} - - -declare module "lodash/gt" { - const gt: typeof _.gt; - export = gt; -} - - -declare module "lodash/gte" { - const gte: typeof _.gte; - export = gte; -} - - -declare module "lodash/has" { - const has: typeof _.has; - export = has; -} - - -declare module "lodash/hasIn" { - const hasIn: typeof _.hasIn; - export = hasIn; -} - - -declare module "lodash/head" { - const head: typeof _.head; - export = head; -} - - -declare module "lodash/identity" { - const identity: typeof _.identity; - export = identity; -} - - -declare module "lodash/includes" { - const includes: typeof _.includes; - export = includes; -} - - -declare module "lodash/indexOf" { - const indexOf: typeof _.indexOf; - export = indexOf; -} - - -declare module "lodash/inRange" { - const inRange: typeof _.inRange; - export = inRange; -} - - -declare module "lodash/invoke" { - const invoke: typeof _.invoke; - export = invoke; -} - - -declare module "lodash/isArguments" { - const isArguments: typeof _.isArguments; - export = isArguments; -} - - -declare module "lodash/isArray" { - const isArray: typeof _.isArray; - export = isArray; -} - - -declare module "lodash/isArrayBuffer" { - const isArrayBuffer: typeof _.isArrayBuffer; - export = isArrayBuffer; -} - - -declare module "lodash/isArrayLike" { - const isArrayLike: typeof _.isArrayLike; - export = isArrayLike; -} - - -declare module "lodash/isArrayLikeObject" { - const isArrayLikeObject: typeof _.isArrayLikeObject; - export = isArrayLikeObject; -} - - -declare module "lodash/isBoolean" { - const isBoolean: typeof _.isBoolean; - export = isBoolean; -} - - -declare module "lodash/isBuffer" { - const isBuffer: typeof _.isBuffer; - export = isBuffer; -} - - -declare module "lodash/isDate" { - const isDate: typeof _.isDate; - export = isDate; -} - - -declare module "lodash/isElement" { - const isElement: typeof _.isElement; - export = isElement; -} - - -declare module "lodash/isEmpty" { - const isEmpty: typeof _.isEmpty; - export = isEmpty; -} - - -declare module "lodash/isEqual" { - const isEqual: typeof _.isEqual; - export = isEqual; -} - - -declare module "lodash/isEqualWith" { - const isEqualWith: typeof _.isEqualWith; - export = isEqualWith; -} - - -declare module "lodash/isError" { - const isError: typeof _.isError; - export = isError; -} - - -declare module "lodash/isFinite" { - const isFinite: typeof _.isFinite; - export = isFinite; -} - - -declare module "lodash/isFunction" { - const isFunction: typeof _.isFunction; - export = isFunction; -} - - -declare module "lodash/isInteger" { - const isInteger: typeof _.isInteger; - export = isInteger; -} - - -declare module "lodash/isLength" { - const isLength: typeof _.isLength; - export = isLength; -} - - -declare module "lodash/isMap" { - const isMap: typeof _.isMap; - export = isMap; -} - - -declare module "lodash/isMatch" { - const isMatch: typeof _.isMatch; - export = isMatch; -} - - -declare module "lodash/isMatchWith" { - const isMatchWith: typeof _.isMatchWith; - export = isMatchWith; -} - - -declare module "lodash/isNaN" { - const isNaN: typeof _.isNaN; - export = isNaN; -} - - -declare module "lodash/isNative" { - const isNative: typeof _.isNative; - export = isNative; -} - - -declare module "lodash/isNil" { - const isNil: typeof _.isNil; - export = isNil; -} - - -declare module "lodash/isNull" { - const isNull: typeof _.isNull; - export = isNull; -} - - -declare module "lodash/isNumber" { - const isNumber: typeof _.isNumber; - export = isNumber; -} - - -declare module "lodash/isObject" { - const isObject: typeof _.isObject; - export = isObject; -} - - -declare module "lodash/isObjectLike" { - const isObjectLike: typeof _.isObjectLike; - export = isObjectLike; -} - - -declare module "lodash/isPlainObject" { - const isPlainObject: typeof _.isPlainObject; - export = isPlainObject; -} - - -declare module "lodash/isRegExp" { - const isRegExp: typeof _.isRegExp; - export = isRegExp; -} - - -declare module "lodash/isSafeInteger" { - const isSafeInteger: typeof _.isSafeInteger; - export = isSafeInteger; -} - - -declare module "lodash/isSet" { - const isSet: typeof _.isSet; - export = isSet; -} - - -declare module "lodash/isString" { - const isString: typeof _.isString; - export = isString; -} - - -declare module "lodash/isSymbol" { - const isSymbol: typeof _.isSymbol; - export = isSymbol; -} - - -declare module "lodash/isTypedArray" { - const isTypedArray: typeof _.isTypedArray; - export = isTypedArray; -} - - -declare module "lodash/isUndefined" { - const isUndefined: typeof _.isUndefined; - export = isUndefined; -} - - -declare module "lodash/isWeakMap" { - const isWeakMap: typeof _.isWeakMap; - export = isWeakMap; -} - - -declare module "lodash/isWeakSet" { - const isWeakSet: typeof _.isWeakSet; - export = isWeakSet; -} - - -declare module "lodash/join" { - const join: typeof _.join; - export = join; -} - - -declare module "lodash/kebabCase" { - const kebabCase: typeof _.kebabCase; - export = kebabCase; -} - - -declare module "lodash/last" { - const last: typeof _.last; - export = last; -} - - -declare module "lodash/lastIndexOf" { - const lastIndexOf: typeof _.lastIndexOf; - export = lastIndexOf; -} - - -declare module "lodash/lowerCase" { - const lowerCase: typeof _.lowerCase; - export = lowerCase; -} - - -declare module "lodash/lowerFirst" { - const lowerFirst: typeof _.lowerFirst; - export = lowerFirst; -} - - -declare module "lodash/lt" { - const lt: typeof _.lt; - export = lt; -} - - -declare module "lodash/lte" { - const lte: typeof _.lte; - export = lte; -} - - -declare module "lodash/max" { - const max: typeof _.max; - export = max; -} - - -declare module "lodash/maxBy" { - const maxBy: typeof _.maxBy; - export = maxBy; -} - - -declare module "lodash/mean" { - const mean: typeof _.mean; - export = mean; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/meanBy" { - const meanBy: typeof _.meanBy; - export = meanBy; -} -*/ - -declare module "lodash/min" { - const min: typeof _.min; - export = min; -} - - -declare module "lodash/minBy" { - const minBy: typeof _.minBy; - export = minBy; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/multiply" { - const multiply: typeof _.multiply; - export = multiply; -} -*/ - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/nth" { - const nth: typeof _.nth; - export = nth; -} -*/ - -declare module "lodash/noConflict" { - const noConflict: typeof _.noConflict; - export = noConflict; -} - - -declare module "lodash/noop" { - const noop: typeof _.noop; - export = noop; -} - - -declare module "lodash/now" { - const now: typeof _.now; - export = now; -} - - -declare module "lodash/pad" { - const pad: typeof _.pad; - export = pad; -} - - -declare module "lodash/padEnd" { - const padEnd: typeof _.padEnd; - export = padEnd; -} - - -declare module "lodash/padStart" { - const padStart: typeof _.padStart; - export = padStart; -} - - -declare module "lodash/parseInt" { - const parseInt: typeof _.parseInt; - export = parseInt; -} - - -declare module "lodash/random" { - const random: typeof _.random; - export = random; -} - - -declare module "lodash/reduce" { - const reduce: typeof _.reduce; - export = reduce; -} - - -declare module "lodash/reduceRight" { - const reduceRight: typeof _.reduceRight; - export = reduceRight; -} - - -declare module "lodash/repeat" { - const repeat: typeof _.repeat; - export = repeat; -} - - -declare module "lodash/replace" { - const replace: typeof _.replace; - export = replace; -} - - -declare module "lodash/result" { - const result: typeof _.result; - export = result; -} - - -declare module "lodash/round" { - const round: typeof _.round; - export = round; -} - - -declare module "lodash/runInContext" { - const runInContext: typeof _.runInContext; - export = runInContext; -} - - -declare module "lodash/sample" { - const sample: typeof _.sample; - export = sample; -} - - -declare module "lodash/size" { - const size: typeof _.size; - export = size; -} - - -declare module "lodash/snakeCase" { - const snakeCase: typeof _.snakeCase; - export = snakeCase; -} - - -declare module "lodash/some" { - const some: typeof _.some; - export = some; -} - - -declare module "lodash/sortedIndex" { - const sortedIndex: typeof _.sortedIndex; - export = sortedIndex; -} - - -declare module "lodash/sortedIndexBy" { - const sortedIndexBy: typeof _.sortedIndexBy; - export = sortedIndexBy; -} - - -declare module "lodash/sortedIndexOf" { - const sortedIndexOf: typeof _.sortedIndexOf; - export = sortedIndexOf; -} - - -declare module "lodash/sortedLastIndex" { - const sortedLastIndex: typeof _.sortedLastIndex; - export = sortedLastIndex; -} - - -declare module "lodash/sortedLastIndexBy" { - const sortedLastIndexBy: typeof _.sortedLastIndexBy; - export = sortedLastIndexBy; -} - - -declare module "lodash/sortedLastIndexOf" { - const sortedLastIndexOf: typeof _.sortedLastIndexOf; - export = sortedLastIndexOf; -} - - -declare module "lodash/startCase" { - const startCase: typeof _.startCase; - export = startCase; -} - - -declare module "lodash/startsWith" { - const startsWith: typeof _.startsWith; - export = startsWith; -} - - -declare module "lodash/subtract" { - const subtract: typeof _.subtract; - export = subtract; -} - - -declare module "lodash/sum" { - const sum: typeof _.sum; - export = sum; -} - - -declare module "lodash/sumBy" { - const sumBy: typeof _.sumBy; - export = sumBy; -} - - -declare module "lodash/template" { - const template: typeof _.template; - export = template; -} - - -declare module "lodash/times" { - const times: typeof _.times; - export = times; -} - - -declare module "lodash/toInteger" { - const toInteger: typeof _.toInteger; - export = toInteger; -} - - -declare module "lodash/toLength" { - const toLength: typeof _.toLength; - export = toLength; -} - - -declare module "lodash/toLower" { - const toLower: typeof _.toLower; - export = toLower; -} - - -declare module "lodash/toNumber" { - const toNumber: typeof _.toNumber; - export = toNumber; -} - - -declare module "lodash/toSafeInteger" { - const toSafeInteger: typeof _.toSafeInteger; - export = toSafeInteger; -} - - -declare module "lodash/toString" { - const toString: typeof _.toString; - export = toString; -} - - -declare module "lodash/toUpper" { - const toUpper: typeof _.toUpper; - export = toUpper; -} - - -declare module "lodash/trim" { - const trim: typeof _.trim; - export = trim; -} - - -declare module "lodash/trimEnd" { - const trimEnd: typeof _.trimEnd; - export = trimEnd; -} - - -declare module "lodash/trimStart" { - const trimStart: typeof _.trimStart; - export = trimStart; -} - - -declare module "lodash/truncate" { - const truncate: typeof _.truncate; - export = truncate; -} - - -declare module "lodash/unescape" { - const unescape: typeof _.unescape; - export = unescape; -} - - -declare module "lodash/uniqueId" { - const uniqueId: typeof _.uniqueId; - export = uniqueId; -} - - -declare module "lodash/upperCase" { - const upperCase: typeof _.upperCase; - export = upperCase; -} - - -declare module "lodash/upperFirst" { - const upperFirst: typeof _.upperFirst; - export = upperFirst; -} - - -declare module "lodash/each" { - const each: typeof _.each; - export = each; -} - - -declare module "lodash/eachRight" { - const eachRight: typeof _.eachRight; - export = eachRight; -} - - -declare module "lodash/first" { - const first: typeof _.first; - export = first; -} - -declare module "lodash/fp" { - export = _; -} - -declare module "lodash" { - export = _; -} - -// Backward compatibility with --target es5 -interface Set {} -interface Map {} -interface WeakSet {} -interface WeakMap {} diff --git a/samples/angular-mostpopularitems/typings/mocha/mocha.d.ts b/samples/angular-mostpopularitems/typings/mocha/mocha.d.ts deleted file mode 100644 index 88dc359fc..000000000 --- a/samples/angular-mostpopularitems/typings/mocha/mocha.d.ts +++ /dev/null @@ -1,214 +0,0 @@ -// Type definitions for mocha 2.2.5 -// Project: http://mochajs.org/ -// Definitions by: Kazi Manzur Rashid , otiai10 , jt000 , Vadim Macagon -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -interface MochaSetupOptions { - //milliseconds to wait before considering a test slow - slow?: number; - - // timeout in milliseconds - timeout?: number; - - // ui name "bdd", "tdd", "exports" etc - ui?: string; - - //array of accepted globals - globals?: any[]; - - // reporter instance (function or string), defaults to `mocha.reporters.Spec` - reporter?: any; - - // bail on the first test failure - bail?: boolean; - - // ignore global leaks - ignoreLeaks?: boolean; - - // grep string or regexp to filter tests with - grep?: any; -} - -interface MochaDone { - (error?: Error): void; -} - -declare var mocha: Mocha; -declare var describe: Mocha.IContextDefinition; -declare var xdescribe: Mocha.IContextDefinition; -// alias for `describe` -declare var context: Mocha.IContextDefinition; -// alias for `describe` -declare var suite: Mocha.IContextDefinition; -declare var it: Mocha.ITestDefinition; -declare var xit: Mocha.ITestDefinition; -// alias for `it` -declare var test: Mocha.ITestDefinition; - -declare function before(action: () => void): void; - -declare function before(action: (done: MochaDone) => void): void; - -declare function setup(action: () => void): void; - -declare function setup(action: (done: MochaDone) => void): void; - -declare function after(action: () => void): void; - -declare function after(action: (done: MochaDone) => void): void; - -declare function teardown(action: () => void): void; - -declare function teardown(action: (done: MochaDone) => void): void; - -declare function beforeEach(action: () => void): void; - -declare function beforeEach(action: (done: MochaDone) => void): void; - -declare function suiteSetup(action: () => void): void; - -declare function suiteSetup(action: (done: MochaDone) => void): void; - -declare function afterEach(action: () => void): void; - -declare function afterEach(action: (done: MochaDone) => void): void; - -declare function suiteTeardown(action: () => void): void; - -declare function suiteTeardown(action: (done: MochaDone) => void): void; - -declare class Mocha { - constructor(options?: { - grep?: RegExp; - ui?: string; - reporter?: string; - timeout?: number; - bail?: boolean; - }); - - /** Setup mocha with the given options. */ - setup(options: MochaSetupOptions): Mocha; - bail(value?: boolean): Mocha; - addFile(file: string): Mocha; - /** Sets reporter by name, defaults to "spec". */ - reporter(name: string): Mocha; - /** Sets reporter constructor, defaults to mocha.reporters.Spec. */ - reporter(reporter: (runner: Mocha.IRunner, options: any) => any): Mocha; - ui(value: string): Mocha; - grep(value: string): Mocha; - grep(value: RegExp): Mocha; - invert(): Mocha; - ignoreLeaks(value: boolean): Mocha; - checkLeaks(): Mocha; - /** Enables growl support. */ - growl(): Mocha; - globals(value: string): Mocha; - globals(values: string[]): Mocha; - useColors(value: boolean): Mocha; - useInlineDiffs(value: boolean): Mocha; - timeout(value: number): Mocha; - slow(value: number): Mocha; - enableTimeouts(value: boolean): Mocha; - asyncOnly(value: boolean): Mocha; - noHighlighting(value: boolean): Mocha; - /** Runs tests and invokes `onComplete()` when finished. */ - run(onComplete?: (failures: number) => void): Mocha.IRunner; -} - -// merge the Mocha class declaration with a module -declare module Mocha { - /** Partial interface for Mocha's `Runnable` class. */ - interface IRunnable { - title: string; - fn: Function; - async: boolean; - sync: boolean; - timedOut: boolean; - } - - /** Partial interface for Mocha's `Suite` class. */ - interface ISuite { - parent: ISuite; - title: string; - - fullTitle(): string; - } - - /** Partial interface for Mocha's `Test` class. */ - interface ITest extends IRunnable { - parent: ISuite; - pending: boolean; - - fullTitle(): string; - } - - /** Partial interface for Mocha's `Runner` class. */ - interface IRunner {} - - interface IContextDefinition { - (description: string, spec: () => void): ISuite; - only(description: string, spec: () => void): ISuite; - skip(description: string, spec: () => void): void; - timeout(ms: number): void; - } - - interface ITestDefinition { - (expectation: string, assertion?: () => void): ITest; - (expectation: string, assertion?: (done: MochaDone) => void): ITest; - only(expectation: string, assertion?: () => void): ITest; - only(expectation: string, assertion?: (done: MochaDone) => void): ITest; - skip(expectation: string, assertion?: () => void): void; - skip(expectation: string, assertion?: (done: MochaDone) => void): void; - timeout(ms: number): void; - } - - export module reporters { - export class Base { - stats: { - suites: number; - tests: number; - passes: number; - pending: number; - failures: number; - }; - - constructor(runner: IRunner); - } - - export class Doc extends Base {} - export class Dot extends Base {} - export class HTML extends Base {} - export class HTMLCov extends Base {} - export class JSON extends Base {} - export class JSONCov extends Base {} - export class JSONStream extends Base {} - export class Landing extends Base {} - export class List extends Base {} - export class Markdown extends Base {} - export class Min extends Base {} - export class Nyan extends Base {} - export class Progress extends Base { - /** - * @param options.open String used to indicate the start of the progress bar. - * @param options.complete String used to indicate a complete test on the progress bar. - * @param options.incomplete String used to indicate an incomplete test on the progress bar. - * @param options.close String used to indicate the end of the progress bar. - */ - constructor(runner: IRunner, options?: { - open?: string; - complete?: string; - incomplete?: string; - close?: string; - }); - } - export class Spec extends Base {} - export class TAP extends Base {} - export class XUnit extends Base { - constructor(runner: IRunner, options?: any); - } - } -} - -declare module "mocha" { - export = Mocha; -} diff --git a/samples/angular-mostpopularitems/typings/node/node.d.ts b/samples/angular-mostpopularitems/typings/node/node.d.ts deleted file mode 100644 index 710a133f0..000000000 --- a/samples/angular-mostpopularitems/typings/node/node.d.ts +++ /dev/null @@ -1,2392 +0,0 @@ -// Type definitions for Node.js v4.x -// Project: http://nodejs.org/ -// Definitions by: Microsoft TypeScript , DefinitelyTyped -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/************************************************ -* * -* Node.js v4.x API * -* * -************************************************/ - -interface Error { - stack?: string; -} - - -// compat for TypeScript 1.8 -// if you use with --target es3 or --target es5 and use below definitions, -// use the lib.es6.d.ts that is bundled with TypeScript 1.8. -interface MapConstructor {} -interface WeakMapConstructor {} -interface SetConstructor {} -interface WeakSetConstructor {} - -/************************************************ -* * -* GLOBAL * -* * -************************************************/ -declare var process: NodeJS.Process; -declare var global: NodeJS.Global; - -declare var __filename: string; -declare var __dirname: string; - -declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; -declare function clearTimeout(timeoutId: NodeJS.Timer): void; -declare function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; -declare function clearInterval(intervalId: NodeJS.Timer): void; -declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any; -declare function clearImmediate(immediateId: any): void; - -interface NodeRequireFunction { - (id: string): any; -} - -interface NodeRequire extends NodeRequireFunction { - resolve(id:string): string; - cache: any; - extensions: any; - main: any; -} - -// HACK to use ODSP webpack require function. -// declare var require: NodeRequire; - -interface NodeModule { - exports: any; - require: NodeRequireFunction; - id: string; - filename: string; - loaded: boolean; - parent: any; - children: any[]; -} - -declare var module: NodeModule; - -// Same as module.exports -declare var exports: any; -declare var SlowBuffer: { - new (str: string, encoding?: string): Buffer; - new (size: number): Buffer; - new (size: Uint8Array): Buffer; - new (array: any[]): Buffer; - prototype: Buffer; - isBuffer(obj: any): boolean; - byteLength(string: string, encoding?: string): number; - concat(list: Buffer[], totalLength?: number): Buffer; -}; - - -// Buffer class -type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex"; -interface Buffer extends NodeBuffer {} - -/** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - */ -declare var Buffer: { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - */ - new (str: string, encoding?: string): Buffer; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - */ - new (size: number): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - new (array: Uint8Array): Buffer; - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - */ - new (arrayBuffer: ArrayBuffer): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - new (array: any[]): Buffer; - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - */ - new (buffer: Buffer): Buffer; - prototype: Buffer; - /** - * Allocates a new Buffer using an {array} of octets. - * - * @param array - */ - from(array: any[]): Buffer; - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() - * @param byteOffset - * @param length - */ - from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?:number): Buffer; - /** - * Copies the passed {buffer} data onto a new Buffer instance. - * - * @param buffer - */ - from(buffer: Buffer): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - * - * @param str - */ - from(str: string, encoding?: string): Buffer; - /** - * Returns true if {obj} is a Buffer - * - * @param obj object to test. - */ - isBuffer(obj: any): obj is Buffer; - /** - * Returns true if {encoding} is a valid encoding argument. - * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - * - * @param encoding string to test. - */ - isEncoding(encoding: string): boolean; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - byteLength(string: string, encoding?: string): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - concat(list: Buffer[], totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - compare(buf1: Buffer, buf2: Buffer): number; -}; - -/************************************************ -* * -* GLOBAL INTERFACES * -* * -************************************************/ -declare namespace NodeJS { - export interface ErrnoException extends Error { - errno?: number; - code?: string; - path?: string; - syscall?: string; - stack?: string; - } - - export interface EventEmitter { - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string): Function[]; - emit(event: string, ...args: any[]): boolean; - listenerCount(type: string): number; - } - - export interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string|Buffer; - setEncoding(encoding: string): void; - pause(): void; - resume(): void; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: string): void; - unshift(chunk: Buffer): void; - wrap(oldStream: ReadableStream): ReadableStream; - } - - export interface WritableStream extends EventEmitter { - writable: boolean; - write(buffer: Buffer|string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - } - - export interface ReadWriteStream extends ReadableStream, WritableStream {} - - export interface Events extends EventEmitter { } - - export interface Domain extends Events { - run(fn: Function): void; - add(emitter: Events): void; - remove(emitter: Events): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; - - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - } - - export interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - } - - export interface Process extends EventEmitter { - stdout: WritableStream; - stderr: WritableStream; - stdin: ReadableStream; - argv: string[]; - execArgv: string[]; - execPath: string; - abort(): void; - chdir(directory: string): void; - cwd(): string; - env: any; - exit(code?: number): void; - getgid(): number; - setgid(id: number): void; - setgid(id: string): void; - getuid(): number; - setuid(id: number): void; - setuid(id: string): void; - version: string; - versions: { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - }; - config: { - target_defaults: { - cflags: any[]; - default_configuration: string; - defines: string[]; - include_dirs: string[]; - libraries: string[]; - }; - variables: { - clang: number; - host_arch: string; - node_install_npm: boolean; - node_install_waf: boolean; - node_prefix: string; - node_shared_openssl: boolean; - node_shared_v8: boolean; - node_shared_zlib: boolean; - node_use_dtrace: boolean; - node_use_etw: boolean; - node_use_openssl: boolean; - target_arch: string; - v8_no_strict_aliasing: number; - v8_use_snapshot: boolean; - visibility: string; - }; - }; - kill(pid:number, signal?: string|number): void; - pid: number; - title: string; - arch: string; - platform: string; - memoryUsage(): MemoryUsage; - nextTick(callback: Function): void; - umask(mask?: number): number; - uptime(): number; - hrtime(time?:number[]): number[]; - domain: Domain; - - // Worker - send?(message: any, sendHandle?: any): void; - disconnect(): void; - connected: boolean; - } - - export interface Global { - Array: typeof Array; - ArrayBuffer: typeof ArrayBuffer; - Boolean: typeof Boolean; - Buffer: typeof Buffer; - DataView: typeof DataView; - Date: typeof Date; - Error: typeof Error; - EvalError: typeof EvalError; - Float32Array: typeof Float32Array; - Float64Array: typeof Float64Array; - Function: typeof Function; - GLOBAL: Global; - Infinity: typeof Infinity; - Int16Array: typeof Int16Array; - Int32Array: typeof Int32Array; - Int8Array: typeof Int8Array; - Intl: typeof Intl; - JSON: typeof JSON; - Map: MapConstructor; - Math: typeof Math; - NaN: typeof NaN; - Number: typeof Number; - Object: typeof Object; - Promise: Function; - RangeError: typeof RangeError; - ReferenceError: typeof ReferenceError; - RegExp: typeof RegExp; - Set: SetConstructor; - String: typeof String; - Symbol: Function; - SyntaxError: typeof SyntaxError; - TypeError: typeof TypeError; - URIError: typeof URIError; - Uint16Array: typeof Uint16Array; - Uint32Array: typeof Uint32Array; - Uint8Array: typeof Uint8Array; - Uint8ClampedArray: Function; - WeakMap: WeakMapConstructor; - WeakSet: WeakSetConstructor; - clearImmediate: (immediateId: any) => void; - clearInterval: (intervalId: NodeJS.Timer) => void; - clearTimeout: (timeoutId: NodeJS.Timer) => void; - console: typeof console; - decodeURI: typeof decodeURI; - decodeURIComponent: typeof decodeURIComponent; - encodeURI: typeof encodeURI; - encodeURIComponent: typeof encodeURIComponent; - escape: (str: string) => string; - eval: typeof eval; - global: Global; - isFinite: typeof isFinite; - isNaN: typeof isNaN; - parseFloat: typeof parseFloat; - parseInt: typeof parseInt; - process: Process; - root: Global; - setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any; - setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - undefined: typeof undefined; - unescape: (str: string) => string; - gc: () => void; - v8debug?: any; - } - - export interface Timer { - ref() : void; - unref() : void; - } -} - -/** - * @deprecated - */ -interface NodeBuffer extends Uint8Array { - write(string: string, offset?: number, length?: number, encoding?: string): number; - toString(encoding?: string, start?: number, end?: number): string; - toJSON(): any; - equals(otherBuffer: Buffer): boolean; - compare(otherBuffer: Buffer): number; - copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - slice(start?: number, end?: number): Buffer; - writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readUInt8(offset: number, noAssert?: boolean): number; - readUInt16LE(offset: number, noAssert?: boolean): number; - readUInt16BE(offset: number, noAssert?: boolean): number; - readUInt32LE(offset: number, noAssert?: boolean): number; - readUInt32BE(offset: number, noAssert?: boolean): number; - readInt8(offset: number, noAssert?: boolean): number; - readInt16LE(offset: number, noAssert?: boolean): number; - readInt16BE(offset: number, noAssert?: boolean): number; - readInt32LE(offset: number, noAssert?: boolean): number; - readInt32BE(offset: number, noAssert?: boolean): number; - readFloatLE(offset: number, noAssert?: boolean): number; - readFloatBE(offset: number, noAssert?: boolean): number; - readDoubleLE(offset: number, noAssert?: boolean): number; - readDoubleBE(offset: number, noAssert?: boolean): number; - writeUInt8(value: number, offset: number, noAssert?: boolean): number; - writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeInt8(value: number, offset: number, noAssert?: boolean): number; - writeInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeFloatLE(value: number, offset: number, noAssert?: boolean): number; - writeFloatBE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; - fill(value: any, offset?: number, end?: number): this; - // TODO: encoding param - indexOf(value: string | number | Buffer, byteOffset?: number): number; - // TODO: entries - // TODO: includes - // TODO: keys - // TODO: values -} - -/************************************************ -* * -* MODULES * -* * -************************************************/ -declare module "buffer" { - export var INSPECT_MAX_BYTES: number; - var BuffType: typeof Buffer; - var SlowBuffType: typeof SlowBuffer; - export { BuffType as Buffer, SlowBuffType as SlowBuffer }; -} - -declare module "querystring" { - export interface StringifyOptions { - encodeURIComponent?: Function; - } - - export interface ParseOptions { - maxKeys?: number; - decodeURIComponent?: Function; - } - - export function stringify(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): T; - export function escape(str: string): string; - export function unescape(str: string): string; -} - -declare module "events" { - export class EventEmitter implements NodeJS.EventEmitter { - static EventEmitter: EventEmitter; - static listenerCount(emitter: EventEmitter, event: string): number; // deprecated - static defaultMaxListeners: number; - - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string): Function[]; - emit(event: string, ...args: any[]): boolean; - listenerCount(type: string): number; - } -} - -declare module "http" { - import * as events from "events"; - import * as net from "net"; - import * as stream from "stream"; - - export interface RequestOptions { - protocol?: string; - host?: string; - hostname?: string; - family?: number; - port?: number; - localAddress?: string; - socketPath?: string; - method?: string; - path?: string; - headers?: { [key: string]: any }; - auth?: string; - agent?: Agent|boolean; - } - - export interface Server extends events.EventEmitter, net.Server { - setTimeout(msecs: number, callback: Function): void; - maxHeadersCount: number; - timeout: number; - } - /** - * @deprecated Use IncomingMessage - */ - export interface ServerRequest extends IncomingMessage { - connection: net.Socket; - } - export interface ServerResponse extends events.EventEmitter, stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - writeContinue(): void; - writeHead(statusCode: number, reasonPhrase?: string, headers?: any): void; - writeHead(statusCode: number, headers?: any): void; - statusCode: number; - statusMessage: string; - headersSent: boolean; - setHeader(name: string, value: string | string[]): void; - sendDate: boolean; - getHeader(name: string): string; - removeHeader(name: string): void; - write(chunk: any, encoding?: string): any; - addTrailers(headers: any): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - export interface ClientRequest extends events.EventEmitter, stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - write(chunk: any, encoding?: string): void; - abort(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - - setHeader(name: string, value: string | string[]): void; - getHeader(name: string): string; - removeHeader(name: string): void; - addTrailers(headers: any): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - export interface IncomingMessage extends events.EventEmitter, stream.Readable { - httpVersion: string; - headers: any; - rawHeaders: string[]; - trailers: any; - rawTrailers: any; - setTimeout(msecs: number, callback: Function): NodeJS.Timer; - /** - * Only valid for request obtained from http.Server. - */ - method?: string; - /** - * Only valid for request obtained from http.Server. - */ - url?: string; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusCode?: number; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusMessage?: string; - socket: net.Socket; - } - /** - * @deprecated Use IncomingMessage - */ - export interface ClientResponse extends IncomingMessage { } - - export interface AgentOptions { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number; - } - - export class Agent { - maxSockets: number; - sockets: any; - requests: any; - - constructor(opts?: AgentOptions); - - /** - * Destroy any sockets that are currently in use by the agent. - * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, - * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, - * sockets may hang open for quite a long time before the server terminates them. - */ - destroy(): void; - } - - export var METHODS: string[]; - - export var STATUS_CODES: { - [errorCode: number]: string; - [errorCode: string]: string; - }; - export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server; - export function createClient(port?: number, host?: string): any; - export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; - export var globalAgent: Agent; -} - -declare module "cluster" { - import * as child from "child_process"; - import * as events from "events"; - - export interface ClusterSettings { - exec?: string; - args?: string[]; - silent?: boolean; - } - - export interface Address { - address: string; - port: number; - addressType: string; - } - - export class Worker extends events.EventEmitter { - id: string; - process: child.ChildProcess; - suicide: boolean; - send(message: any, sendHandle?: any): void; - kill(signal?: string): void; - destroy(signal?: string): void; - disconnect(): void; - isConnected(): boolean; - isDead(): boolean; - } - - export var settings: ClusterSettings; - export var isMaster: boolean; - export var isWorker: boolean; - export function setupMaster(settings?: ClusterSettings): void; - export function fork(env?: any): Worker; - export function disconnect(callback?: Function): void; - export var worker: Worker; - export var workers: { - [index: string]: Worker - }; - - // Event emitter - export function addListener(event: string, listener: Function): void; - export function on(event: "disconnect", listener: (worker: Worker) => void): void; - export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): void; - export function on(event: "fork", listener: (worker: Worker) => void): void; - export function on(event: "listening", listener: (worker: Worker, address: any) => void): void; - export function on(event: "message", listener: (worker: Worker, message: any) => void): void; - export function on(event: "online", listener: (worker: Worker) => void): void; - export function on(event: "setup", listener: (settings: any) => void): void; - export function on(event: string, listener: Function): any; - export function once(event: string, listener: Function): void; - export function removeListener(event: string, listener: Function): void; - export function removeAllListeners(event?: string): void; - export function setMaxListeners(n: number): void; - export function listeners(event: string): Function[]; - export function emit(event: string, ...args: any[]): boolean; -} - -declare module "zlib" { - import * as stream from "stream"; - export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; } - - export interface Gzip extends stream.Transform { } - export interface Gunzip extends stream.Transform { } - export interface Deflate extends stream.Transform { } - export interface Inflate extends stream.Transform { } - export interface DeflateRaw extends stream.Transform { } - export interface InflateRaw extends stream.Transform { } - export interface Unzip extends stream.Transform { } - - export function createGzip(options?: ZlibOptions): Gzip; - export function createGunzip(options?: ZlibOptions): Gunzip; - export function createDeflate(options?: ZlibOptions): Deflate; - export function createInflate(options?: ZlibOptions): Inflate; - export function createDeflateRaw(options?: ZlibOptions): DeflateRaw; - export function createInflateRaw(options?: ZlibOptions): InflateRaw; - export function createUnzip(options?: ZlibOptions): Unzip; - - export function deflate(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function deflateSync(buf: Buffer, options?: ZlibOptions): any; - export function deflateRaw(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function deflateRawSync(buf: Buffer, options?: ZlibOptions): any; - export function gzip(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function gzipSync(buf: Buffer, options?: ZlibOptions): any; - export function gunzip(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function gunzipSync(buf: Buffer, options?: ZlibOptions): any; - export function inflate(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function inflateSync(buf: Buffer, options?: ZlibOptions): any; - export function inflateRaw(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function inflateRawSync(buf: Buffer, options?: ZlibOptions): any; - export function unzip(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function unzipSync(buf: Buffer, options?: ZlibOptions): any; - - // Constants - export var Z_NO_FLUSH: number; - export var Z_PARTIAL_FLUSH: number; - export var Z_SYNC_FLUSH: number; - export var Z_FULL_FLUSH: number; - export var Z_FINISH: number; - export var Z_BLOCK: number; - export var Z_TREES: number; - export var Z_OK: number; - export var Z_STREAM_END: number; - export var Z_NEED_DICT: number; - export var Z_ERRNO: number; - export var Z_STREAM_ERROR: number; - export var Z_DATA_ERROR: number; - export var Z_MEM_ERROR: number; - export var Z_BUF_ERROR: number; - export var Z_VERSION_ERROR: number; - export var Z_NO_COMPRESSION: number; - export var Z_BEST_SPEED: number; - export var Z_BEST_COMPRESSION: number; - export var Z_DEFAULT_COMPRESSION: number; - export var Z_FILTERED: number; - export var Z_HUFFMAN_ONLY: number; - export var Z_RLE: number; - export var Z_FIXED: number; - export var Z_DEFAULT_STRATEGY: number; - export var Z_BINARY: number; - export var Z_TEXT: number; - export var Z_ASCII: number; - export var Z_UNKNOWN: number; - export var Z_DEFLATED: number; - export var Z_NULL: number; -} - -declare module "os" { - export interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - - export interface NetworkInterfaceInfo { - address: string; - netmask: string; - family: string; - mac: string; - internal: boolean; - } - - export function tmpdir(): string; - export function homedir(): string; - export function endianness(): string; - export function hostname(): string; - export function type(): string; - export function platform(): string; - export function arch(): string; - export function release(): string; - export function uptime(): number; - export function loadavg(): number[]; - export function totalmem(): number; - export function freemem(): number; - export function cpus(): CpuInfo[]; - export function networkInterfaces(): {[index: string]: NetworkInterfaceInfo[]}; - export var EOL: string; -} - -declare module "https" { - import * as tls from "tls"; - import * as events from "events"; - import * as http from "http"; - - export interface ServerOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - crl?: any; - ciphers?: string; - honorCipherOrder?: boolean; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: any; - SNICallback?: (servername: string) => any; - } - - export interface RequestOptions extends http.RequestOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - } - - export interface Agent extends http.Agent { } - - export interface AgentOptions extends http.AgentOptions { - maxCachedSessions?: number; - } - - export var Agent: { - new (options?: AgentOptions): Agent; - }; - export interface Server extends tls.Server { } - export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; - export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; - export var globalAgent: Agent; -} - -declare module "punycode" { - export function decode(string: string): string; - export function encode(string: string): string; - export function toUnicode(domain: string): string; - export function toASCII(domain: string): string; - export var ucs2: ucs2; - interface ucs2 { - decode(string: string): number[]; - encode(codePoints: number[]): string; - } - export var version: any; -} - -declare module "repl" { - import * as stream from "stream"; - import * as events from "events"; - - export interface ReplOptions { - prompt?: string; - input?: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - terminal?: boolean; - eval?: Function; - useColors?: boolean; - useGlobal?: boolean; - ignoreUndefined?: boolean; - writer?: Function; - } - export function start(options: ReplOptions): events.EventEmitter; -} - -declare module "readline" { - import * as events from "events"; - import * as stream from "stream"; - - export interface Key { - sequence?: string; - name?: string; - ctrl?: boolean; - meta?: boolean; - shift?: boolean; - } - - export interface ReadLine extends events.EventEmitter { - setPrompt(prompt: string): void; - prompt(preserveCursor?: boolean): void; - question(query: string, callback: (answer: string) => void): void; - pause(): ReadLine; - resume(): ReadLine; - close(): void; - write(data: string|Buffer, key?: Key): void; - } - - export interface Completer { - (line: string): CompleterResult; - (line: string, callback: (err: any, result: CompleterResult) => void): any; - } - - export interface CompleterResult { - completions: string[]; - line: string; - } - - export interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - completer?: Completer; - terminal?: boolean; - historySize?: number; - } - - export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine; - export function createInterface(options: ReadLineOptions): ReadLine; - - export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void; - export function moveCursor(stream: NodeJS.WritableStream, dx: number|string, dy: number|string): void; - export function clearLine(stream: NodeJS.WritableStream, dir: number): void; - export function clearScreenDown(stream: NodeJS.WritableStream): void; -} - -declare module "vm" { - export interface Context { } - export interface ScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - cachedData?: Buffer; - produceCachedData?: boolean; - } - export interface RunningScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - } - export class Script { - constructor(code: string, options?: ScriptOptions); - runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any; - runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any; - runInThisContext(options?: RunningScriptOptions): any; - } - export function createContext(sandbox?: Context): Context; - export function isContext(sandbox: Context): boolean; - export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any; - export function runInDebugContext(code: string): any; - export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any; - export function runInThisContext(code: string, options?: RunningScriptOptions): any; -} - -declare module "child_process" { - import * as events from "events"; - import * as stream from "stream"; - - export interface ChildProcess extends events.EventEmitter { - stdin: stream.Writable; - stdout: stream.Readable; - stderr: stream.Readable; - stdio: [stream.Writable, stream.Readable, stream.Readable]; - pid: number; - kill(signal?: string): void; - send(message: any, sendHandle?: any): void; - disconnect(): void; - unref(): void; - } - - export interface SpawnOptions { - cwd?: string; - env?: any; - stdio?: any; - detached?: boolean; - uid?: number; - gid?: number; - shell?: boolean | string; - } - export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess; - - export interface ExecOptions { - cwd?: string; - env?: any; - shell?: string; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - } - export interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - export interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: string; // specify `null`. - } - export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function exec(command: string, options: ExecOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - // usage. child_process.exec("tsc", {encoding: null as string}, (err, stdout, stderr) => {}); - export function exec(command: string, options: ExecOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; - export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - - export interface ExecFileOptions { - cwd?: string; - env?: any; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - } - export interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - export interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: string; // specify `null`. - } - export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function execFile(file: string, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - // usage. child_process.execFile("file.sh", {encoding: null as string}, (err, stdout, stderr) => {}); - export function execFile(file: string, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; - export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - // usage. child_process.execFile("file.sh", ["foo"], {encoding: null as string}, (err, stdout, stderr) => {}); - export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - - export interface ForkOptions { - cwd?: string; - env?: any; - execPath?: string; - execArgv?: string[]; - silent?: boolean; - uid?: number; - gid?: number; - } - export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess; - - export interface SpawnSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - shell?: boolean | string; - } - export interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - export interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding: string; // specify `null`. - } - export interface SpawnSyncReturns { - pid: number; - output: string[]; - stdout: T; - stderr: T; - status: number; - signal: string; - error: Error; - } - export function spawnSync(command: string): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns; - - export interface ExecSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - shell?: string; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - } - export interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - export interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding: string; // specify `null`. - } - export function execSync(command: string): Buffer; - export function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string; - export function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer; - export function execSync(command: string, options?: ExecSyncOptions): Buffer; - - export interface ExecFileSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - } - export interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - export interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding: string; // specify `null`. - } - export function execFileSync(command: string): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string; - export function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithStringEncoding): string; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer; -} - -declare module "url" { - export interface Url { - href?: string; - protocol?: string; - auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; - slashes?: boolean; - hash?: string; - path?: string; - } - - export function parse(urlStr: string, parseQueryString?: boolean , slashesDenoteHost?: boolean ): Url; - export function format(url: Url): string; - export function resolve(from: string, to: string): string; -} - -declare module "dns" { - export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) =>void ): string; - export function lookup(domain: string, callback: (err: Error, address: string, family: number) =>void ): string; - export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolve(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolve4(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolve6(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveMx(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function reverse(ip: string, callback: (err: Error, domains: string[]) =>void ): string[]; -} - -declare module "net" { - import * as stream from "stream"; - - export interface Socket extends stream.Duplex { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - connect(port: number, host?: string, connectionListener?: Function): void; - connect(path: string, connectionListener?: Function): void; - bufferSize: number; - setEncoding(encoding?: string): void; - write(data: any, encoding?: string, callback?: Function): void; - destroy(): void; - pause(): void; - resume(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; - address(): { port: number; family: string; address: string; }; - unref(): void; - ref(): void; - - remoteAddress: string; - remoteFamily: string; - remotePort: number; - localAddress: string; - localPort: number; - bytesRead: number; - bytesWritten: number; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - - export var Socket: { - new (options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }): Socket; - }; - - export interface ListenOptions { - port?: number; - host?: string; - backlog?: number; - path?: string; - exclusive?: boolean; - } - - export interface Server extends Socket { - listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): Server; - listen(port: number, hostname?: string, listeningListener?: Function): Server; - listen(port: number, backlog?: number, listeningListener?: Function): Server; - listen(port: number, listeningListener?: Function): Server; - listen(path: string, backlog?: number, listeningListener?: Function): Server; - listen(path: string, listeningListener?: Function): Server; - listen(handle: any, backlog?: number, listeningListener?: Function): Server; - listen(handle: any, listeningListener?: Function): Server; - listen(options: ListenOptions, listeningListener?: Function): Server; - close(callback?: Function): Server; - address(): { port: number; family: string; address: string; }; - getConnections(cb: (error: Error, count: number) => void): void; - ref(): Server; - unref(): Server; - maxConnections: number; - connections: number; - } - export function createServer(connectionListener?: (socket: Socket) =>void ): Server; - export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) =>void ): Server; - export function connect(options: { port: number, host?: string, localAddress? : string, localPort? : string, family? : number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function connect(port: number, host?: string, connectionListener?: Function): Socket; - export function connect(path: string, connectionListener?: Function): Socket; - export function createConnection(options: { port: number, host?: string, localAddress? : string, localPort? : string, family? : number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; - export function createConnection(path: string, connectionListener?: Function): Socket; - export function isIP(input: string): number; - export function isIPv4(input: string): boolean; - export function isIPv6(input: string): boolean; -} - -declare module "dgram" { - import * as events from "events"; - - interface RemoteInfo { - address: string; - port: number; - size: number; - } - - interface AddressInfo { - address: string; - family: string; - port: number; - } - - export function createSocket(type: string, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - - interface Socket extends events.EventEmitter { - send(buf: Buffer, offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; - bind(port: number, address?: string, callback?: () => void): void; - close(): void; - address(): AddressInfo; - setBroadcast(flag: boolean): void; - setMulticastTTL(ttl: number): void; - setMulticastLoopback(flag: boolean): void; - addMembership(multicastAddress: string, multicastInterface?: string): void; - dropMembership(multicastAddress: string, multicastInterface?: string): void; - } -} - -declare module "fs" { - import * as stream from "stream"; - import * as events from "events"; - - interface Stats { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - dev: number; - ino: number; - mode: number; - nlink: number; - uid: number; - gid: number; - rdev: number; - size: number; - blksize: number; - blocks: number; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - - interface FSWatcher extends events.EventEmitter { - close(): void; - } - - export interface ReadStream extends stream.Readable { - close(): void; - } - export interface WriteStream extends stream.Writable { - close(): void; - bytesWritten: number; - } - - /** - * Asynchronous rename. - * @param oldPath - * @param newPath - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function rename(oldPath: string, newPath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /** - * Synchronous rename - * @param oldPath - * @param newPath - */ - export function renameSync(oldPath: string, newPath: string): void; - export function truncate(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function truncate(path: string, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function truncateSync(path: string, len?: number): void; - export function ftruncate(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function ftruncate(fd: number, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function ftruncateSync(fd: number, len?: number): void; - export function chown(path: string, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chownSync(path: string, uid: number, gid: number): void; - export function fchown(fd: number, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchownSync(fd: number, uid: number, gid: number): void; - export function lchown(path: string, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchownSync(path: string, uid: number, gid: number): void; - export function chmod(path: string, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chmod(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chmodSync(path: string, mode: number): void; - export function chmodSync(path: string, mode: string): void; - export function fchmod(fd: number, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchmod(fd: number, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchmodSync(fd: number, mode: number): void; - export function fchmodSync(fd: number, mode: string): void; - export function lchmod(path: string, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchmod(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchmodSync(path: string, mode: number): void; - export function lchmodSync(path: string, mode: string): void; - export function stat(path: string, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function lstat(path: string, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function fstat(fd: number, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function statSync(path: string): Stats; - export function lstatSync(path: string): Stats; - export function fstatSync(fd: number): Stats; - export function link(srcpath: string, dstpath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function linkSync(srcpath: string, dstpath: string): void; - export function symlink(srcpath: string, dstpath: string, type?: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function symlinkSync(srcpath: string, dstpath: string, type?: string): void; - export function readlink(path: string, callback?: (err: NodeJS.ErrnoException, linkString: string) => any): void; - export function readlinkSync(path: string): string; - export function realpath(path: string, callback?: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; - export function realpath(path: string, cache: {[path: string]: string}, callback: (err: NodeJS.ErrnoException, resolvedPath: string) =>any): void; - export function realpathSync(path: string, cache?: { [path: string]: string }): string; - /* - * Asynchronous unlink - deletes the file specified in {path} - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function unlink(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous unlink - deletes the file specified in {path} - * - * @param path - */ - export function unlinkSync(path: string): void; - /* - * Asynchronous rmdir - removes the directory specified in {path} - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function rmdir(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous rmdir - removes the directory specified in {path} - * - * @param path - */ - export function rmdirSync(path: string): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdir(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdir(path: string, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdir(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdirSync(path: string, mode?: number): void; - /* - * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdirSync(path: string, mode?: string): void; - /* - * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * @param prefix - * @param callback The created folder path is passed as a string to the callback's second parameter. - */ - export function mkdtemp(prefix: string, callback?: (err: NodeJS.ErrnoException, folder: string) => void): void; - /* - * Synchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * @param prefix - * @returns Returns the created folder path. - */ - export function mkdtempSync(prefix: string): string; - export function readdir(path: string, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; - export function readdirSync(path: string): string[]; - export function close(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function closeSync(fd: number): void; - export function open(path: string, flags: string, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void; - export function open(path: string, flags: string, mode: number, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void; - export function open(path: string, flags: string, mode: string, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void; - export function openSync(path: string, flags: string, mode?: number): number; - export function openSync(path: string, flags: string, mode?: string): number; - export function utimes(path: string, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function utimes(path: string, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function utimesSync(path: string, atime: number, mtime: number): void; - export function utimesSync(path: string, atime: Date, mtime: Date): void; - export function futimes(fd: number, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function futimes(fd: number, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function futimesSync(fd: number, atime: number, mtime: number): void; - export function futimesSync(fd: number, atime: Date, mtime: Date): void; - export function fsync(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fsyncSync(fd: number): void; - export function write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; - export function write(fd: number, buffer: Buffer, offset: number, length: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; - export function write(fd: number, data: any, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function write(fd: number, data: any, offset: number, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function write(fd: number, data: any, offset: number, encoding: string, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number; - export function writeSync(fd: number, data: any, position?: number, enconding?: string): number; - export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void; - export function readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number): number; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param encoding - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, options: { encoding: string; flag?: string; }, callback: (err: NodeJS.ErrnoException, data: string) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, options: { flag?: string; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param encoding - */ - export function readFileSync(filename: string, encoding: string): string; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. - */ - export function readFileSync(filename: string, options: { encoding: string; flag?: string; }): string; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. - */ - export function readFileSync(filename: string, options?: { flag?: string; }): Buffer; - export function writeFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; - export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; - export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; - export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; - export function watchFile(filename: string, listener: (curr: Stats, prev: Stats) => void): void; - export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: Stats, prev: Stats) => void): void; - export function unwatchFile(filename: string, listener?: (curr: Stats, prev: Stats) => void): void; - export function watch(filename: string, listener?: (event: string, filename: string) => any): FSWatcher; - export function watch(filename: string, options: { persistent?: boolean; }, listener?: (event: string, filename: string) => any): FSWatcher; - export function exists(path: string, callback?: (exists: boolean) => void): void; - export function existsSync(path: string): boolean; - /** Constant for fs.access(). File is visible to the calling process. */ - export var F_OK: number; - /** Constant for fs.access(). File can be read by the calling process. */ - export var R_OK: number; - /** Constant for fs.access(). File can be written by the calling process. */ - export var W_OK: number; - /** Constant for fs.access(). File can be executed by the calling process. */ - export var X_OK: number; - /** Tests a user's permissions for the file specified by path. */ - export function access(path: string, callback: (err: NodeJS.ErrnoException) => void): void; - export function access(path: string, mode: number, callback: (err: NodeJS.ErrnoException) => void): void; - /** Synchronous version of fs.access. This throws if any accessibility checks fail, and does nothing otherwise. */ - export function accessSync(path: string, mode ?: number): void; - export function createReadStream(path: string, options?: { - flags?: string; - encoding?: string; - fd?: number; - mode?: number; - autoClose?: boolean; - }): ReadStream; - export function createWriteStream(path: string, options?: { - flags?: string; - encoding?: string; - fd?: number; - mode?: number; - }): WriteStream; -} - -declare module "path" { - - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - export interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } - - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param p string path to normalize. - */ - export function normalize(p: string): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths string paths to join. - */ - export function join(...paths: any[]): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths string paths to join. - */ - export function join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} paramter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param pathSegments string paths to join. Non-string arguments are ignored. - */ - export function resolve(...pathSegments: any[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * @param path path to test. - */ - export function isAbsolute(path: string): boolean; - /** - * Solve the relative path from {from} to {to}. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - * - * @param from - * @param to - */ - export function relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param p the path to evaluate. - */ - export function dirname(p: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param p the path to evaluate. - * @param ext optionally, an extension to remove from the result. - */ - export function basename(p: string, ext?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string - * - * @param p the path to evaluate. - */ - export function extname(p: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - export var sep: string; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - export var delimiter: string; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param pathString path to evaluate. - */ - export function parse(pathString: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathString path to evaluate. - */ - export function format(pathObject: ParsedPath): string; - - export module posix { - export function normalize(p: string): string; - export function join(...paths: any[]): string; - export function resolve(...pathSegments: any[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } - - export module win32 { - export function normalize(p: string): string; - export function join(...paths: any[]): string; - export function resolve(...pathSegments: any[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } -} - -declare module "string_decoder" { - export interface NodeStringDecoder { - write(buffer: Buffer): string; - detectIncompleteChar(buffer: Buffer): number; - } - export var StringDecoder: { - new (encoding: string): NodeStringDecoder; - }; -} - -declare module "tls" { - import * as crypto from "crypto"; - import * as net from "net"; - import * as stream from "stream"; - - var CLIENT_RENEG_LIMIT: number; - var CLIENT_RENEG_WINDOW: number; - - export interface TlsOptions { - host?: string; - port?: number; - pfx?: any; //string or buffer - key?: any; //string or buffer - passphrase?: string; - cert?: any; - ca?: any; //string or buffer - crl?: any; //string or string array - ciphers?: string; - honorCipherOrder?: any; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: any; //array or Buffer; - SNICallback?: (servername: string) => any; - } - - export interface ConnectionOptions { - host?: string; - port?: number; - socket?: net.Socket; - pfx?: string | Buffer - key?: string | Buffer - passphrase?: string; - cert?: string | Buffer - ca?: (string | Buffer)[]; - rejectUnauthorized?: boolean; - NPNProtocols?: (string | Buffer)[]; - servername?: string; - } - - export interface Server extends net.Server { - close(): Server; - address(): { port: number; family: string; address: string; }; - addContext(hostName: string, credentials: { - key: string; - cert: string; - ca: string; - }): void; - maxConnections: number; - connections: number; - } - - export interface ClearTextStream extends stream.Duplex { - authorized: boolean; - authorizationError: Error; - getPeerCertificate(): any; - getCipher: { - name: string; - version: string; - }; - address: { - port: number; - family: string; - address: string; - }; - remoteAddress: string; - remotePort: number; - } - - export interface SecurePair { - encrypted: any; - cleartext: any; - } - - export interface SecureContextOptions { - pfx?: string | Buffer; - key?: string | Buffer; - passphrase?: string; - cert?: string | Buffer; - ca?: string | Buffer; - crl?: string | string[] - ciphers?: string; - honorCipherOrder?: boolean; - } - - export interface SecureContext { - context: any; - } - - export function createServer(options: TlsOptions, secureConnectionListener?: (cleartextStream: ClearTextStream) =>void ): Server; - export function connect(options: TlsOptions, secureConnectionListener?: () =>void ): ClearTextStream; - export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () =>void ): ClearTextStream; - export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () =>void ): ClearTextStream; - export function createSecurePair(credentials?: crypto.Credentials, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; - export function createSecureContext(details: SecureContextOptions): SecureContext; -} - -declare module "crypto" { - export interface CredentialDetails { - pfx: string; - key: string; - passphrase: string; - cert: string; - ca: string | string[]; - crl: string | string[]; - ciphers: string; - } - export interface Credentials { context?: any; } - export function createCredentials(details: CredentialDetails): Credentials; - export function createHash(algorithm: string): Hash; - export function createHmac(algorithm: string, key: string): Hmac; - export function createHmac(algorithm: string, key: Buffer): Hmac; - export interface Hash { - update(data: any, input_encoding?: string): Hash; - digest(encoding: 'buffer'): Buffer; - digest(encoding: string): any; - digest(): Buffer; - } - export interface Hmac extends NodeJS.ReadWriteStream { - update(data: any, input_encoding?: string): Hmac; - digest(encoding: 'buffer'): Buffer; - digest(encoding: string): any; - digest(): Buffer; - } - export function createCipher(algorithm: string, password: any): Cipher; - export function createCipheriv(algorithm: string, key: any, iv: any): Cipher; - export interface Cipher extends NodeJS.ReadWriteStream { - update(data: Buffer): Buffer; - update(data: string, input_encoding: "utf8"|"ascii"|"binary"): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: "binary"|"base64"|"hex"): string; - update(data: string, input_encoding: "utf8"|"ascii"|"binary", output_encoding: "binary"|"base64"|"hex"): string; - final(): Buffer; - final(output_encoding: string): string; - setAutoPadding(auto_padding: boolean): void; - getAuthTag(): Buffer; - } - export function createDecipher(algorithm: string, password: any): Decipher; - export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher; - export interface Decipher extends NodeJS.ReadWriteStream { - update(data: Buffer): Buffer; - update(data: string, input_encoding: "binary"|"base64"|"hex"): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: "utf8"|"ascii"|"binary"): string; - update(data: string, input_encoding: "binary"|"base64"|"hex", output_encoding: "utf8"|"ascii"|"binary"): string; - final(): Buffer; - final(output_encoding: string): string; - setAutoPadding(auto_padding: boolean): void; - setAuthTag(tag: Buffer): void; - } - export function createSign(algorithm: string): Signer; - export interface Signer extends NodeJS.WritableStream { - update(data: any): void; - sign(private_key: string, output_format: string): string; - } - export function createVerify(algorith: string): Verify; - export interface Verify extends NodeJS.WritableStream { - update(data: any): void; - verify(object: string, signature: string, signature_format?: string): boolean; - } - export function createDiffieHellman(prime_length: number): DiffieHellman; - export function createDiffieHellman(prime: number, encoding?: string): DiffieHellman; - export interface DiffieHellman { - generateKeys(encoding?: string): string; - computeSecret(other_public_key: string, input_encoding?: string, output_encoding?: string): string; - getPrime(encoding?: string): string; - getGenerator(encoding: string): string; - getPublicKey(encoding?: string): string; - getPrivateKey(encoding?: string): string; - setPublicKey(public_key: string, encoding?: string): void; - setPrivateKey(public_key: string, encoding?: string): void; - } - export function getDiffieHellman(group_name: string): DiffieHellman; - export function pbkdf2(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, callback: (err: Error, derivedKey: Buffer) => any): void; - export function pbkdf2(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => any): void; - export function pbkdf2Sync(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number) : Buffer; - export function pbkdf2Sync(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, digest: string) : Buffer; - export function randomBytes(size: number): Buffer; - export function randomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void; - export function pseudoRandomBytes(size: number): Buffer; - export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void; - export interface RsaPublicKey { - key: string; - padding?: any; - } - export interface RsaPrivateKey { - key: string; - passphrase?: string, - padding?: any; - } - export function publicEncrypt(public_key: string|RsaPublicKey, buffer: Buffer): Buffer - export function privateDecrypt(private_key: string|RsaPrivateKey, buffer: Buffer): Buffer -} - -declare module "stream" { - import * as events from "events"; - - export class Stream extends events.EventEmitter { - pipe(destination: T, options?: { end?: boolean; }): T; - } - - export interface ReadableOptions { - highWaterMark?: number; - encoding?: string; - objectMode?: boolean; - } - - export class Readable extends events.EventEmitter implements NodeJS.ReadableStream { - readable: boolean; - constructor(opts?: ReadableOptions); - _read(size: number): void; - read(size?: number): any; - setEncoding(encoding: string): void; - pause(): void; - resume(): void; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; - } - - export interface WritableOptions { - highWaterMark?: number; - decodeStrings?: boolean; - objectMode?: boolean; - } - - export class Writable extends events.EventEmitter implements NodeJS.WritableStream { - writable: boolean; - constructor(opts?: WritableOptions); - _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean; - } - - // Note: Duplex extends both Readable and Writable. - export class Duplex extends Readable implements NodeJS.ReadWriteStream { - writable: boolean; - constructor(opts?: DuplexOptions); - _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export interface TransformOptions extends ReadableOptions, WritableOptions {} - - // Note: Transform lacks the _read and _write methods of Readable/Writable. - export class Transform extends events.EventEmitter implements NodeJS.ReadWriteStream { - readable: boolean; - writable: boolean; - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: string, callback: Function): void; - _flush(callback: Function): void; - read(size?: number): any; - setEncoding(encoding: string): void; - pause(): void; - resume(): void; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export class PassThrough extends Transform {} -} - -declare module "util" { - export interface InspectOptions { - showHidden?: boolean; - depth?: number; - colors?: boolean; - customInspect?: boolean; - } - - export function format(format: any, ...param: any[]): string; - export function debug(string: string): void; - export function error(...param: any[]): void; - export function puts(...param: any[]): void; - export function print(...param: any[]): void; - export function log(string: string): void; - export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): string; - export function inspect(object: any, options: InspectOptions): string; - export function isArray(object: any): boolean; - export function isRegExp(object: any): boolean; - export function isDate(object: any): boolean; - export function isError(object: any): boolean; - export function inherits(constructor: any, superConstructor: any): void; - export function debuglog(key:string): (msg:string,...param: any[])=>void; -} - -declare module "assert" { - function internal (value: any, message?: string): void; - namespace internal { - export class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; - - constructor(options?: {message?: string; actual?: any; expected?: any; - operator?: string; stackStartFunction?: Function}); - } - - export function fail(actual?: any, expected?: any, message?: string, operator?: string): void; - export function ok(value: any, message?: string): void; - export function equal(actual: any, expected: any, message?: string): void; - export function notEqual(actual: any, expected: any, message?: string): void; - export function deepEqual(actual: any, expected: any, message?: string): void; - export function notDeepEqual(acutal: any, expected: any, message?: string): void; - export function strictEqual(actual: any, expected: any, message?: string): void; - export function notStrictEqual(actual: any, expected: any, message?: string): void; - export function deepStrictEqual(actual: any, expected: any, message?: string): void; - export function notDeepStrictEqual(actual: any, expected: any, message?: string): void; - export var throws: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export var doesNotThrow: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export function ifError(value: any): void; - } - - export = internal; -} - -declare module "tty" { - import * as net from "net"; - - export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { - isRaw: boolean; - setRawMode(mode: boolean): void; - isTTY: boolean; - } - export interface WriteStream extends net.Socket { - columns: number; - rows: number; - isTTY: boolean; - } -} - -declare module "domain" { - import * as events from "events"; - - export class Domain extends events.EventEmitter implements NodeJS.Domain { - run(fn: Function): void; - add(emitter: events.EventEmitter): void; - remove(emitter: events.EventEmitter): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; - } - - export function create(): Domain; -} - -declare module "constants" { - export var E2BIG: number; - export var EACCES: number; - export var EADDRINUSE: number; - export var EADDRNOTAVAIL: number; - export var EAFNOSUPPORT: number; - export var EAGAIN: number; - export var EALREADY: number; - export var EBADF: number; - export var EBADMSG: number; - export var EBUSY: number; - export var ECANCELED: number; - export var ECHILD: number; - export var ECONNABORTED: number; - export var ECONNREFUSED: number; - export var ECONNRESET: number; - export var EDEADLK: number; - export var EDESTADDRREQ: number; - export var EDOM: number; - export var EEXIST: number; - export var EFAULT: number; - export var EFBIG: number; - export var EHOSTUNREACH: number; - export var EIDRM: number; - export var EILSEQ: number; - export var EINPROGRESS: number; - export var EINTR: number; - export var EINVAL: number; - export var EIO: number; - export var EISCONN: number; - export var EISDIR: number; - export var ELOOP: number; - export var EMFILE: number; - export var EMLINK: number; - export var EMSGSIZE: number; - export var ENAMETOOLONG: number; - export var ENETDOWN: number; - export var ENETRESET: number; - export var ENETUNREACH: number; - export var ENFILE: number; - export var ENOBUFS: number; - export var ENODATA: number; - export var ENODEV: number; - export var ENOENT: number; - export var ENOEXEC: number; - export var ENOLCK: number; - export var ENOLINK: number; - export var ENOMEM: number; - export var ENOMSG: number; - export var ENOPROTOOPT: number; - export var ENOSPC: number; - export var ENOSR: number; - export var ENOSTR: number; - export var ENOSYS: number; - export var ENOTCONN: number; - export var ENOTDIR: number; - export var ENOTEMPTY: number; - export var ENOTSOCK: number; - export var ENOTSUP: number; - export var ENOTTY: number; - export var ENXIO: number; - export var EOPNOTSUPP: number; - export var EOVERFLOW: number; - export var EPERM: number; - export var EPIPE: number; - export var EPROTO: number; - export var EPROTONOSUPPORT: number; - export var EPROTOTYPE: number; - export var ERANGE: number; - export var EROFS: number; - export var ESPIPE: number; - export var ESRCH: number; - export var ETIME: number; - export var ETIMEDOUT: number; - export var ETXTBSY: number; - export var EWOULDBLOCK: number; - export var EXDEV: number; - export var WSAEINTR: number; - export var WSAEBADF: number; - export var WSAEACCES: number; - export var WSAEFAULT: number; - export var WSAEINVAL: number; - export var WSAEMFILE: number; - export var WSAEWOULDBLOCK: number; - export var WSAEINPROGRESS: number; - export var WSAEALREADY: number; - export var WSAENOTSOCK: number; - export var WSAEDESTADDRREQ: number; - export var WSAEMSGSIZE: number; - export var WSAEPROTOTYPE: number; - export var WSAENOPROTOOPT: number; - export var WSAEPROTONOSUPPORT: number; - export var WSAESOCKTNOSUPPORT: number; - export var WSAEOPNOTSUPP: number; - export var WSAEPFNOSUPPORT: number; - export var WSAEAFNOSUPPORT: number; - export var WSAEADDRINUSE: number; - export var WSAEADDRNOTAVAIL: number; - export var WSAENETDOWN: number; - export var WSAENETUNREACH: number; - export var WSAENETRESET: number; - export var WSAECONNABORTED: number; - export var WSAECONNRESET: number; - export var WSAENOBUFS: number; - export var WSAEISCONN: number; - export var WSAENOTCONN: number; - export var WSAESHUTDOWN: number; - export var WSAETOOMANYREFS: number; - export var WSAETIMEDOUT: number; - export var WSAECONNREFUSED: number; - export var WSAELOOP: number; - export var WSAENAMETOOLONG: number; - export var WSAEHOSTDOWN: number; - export var WSAEHOSTUNREACH: number; - export var WSAENOTEMPTY: number; - export var WSAEPROCLIM: number; - export var WSAEUSERS: number; - export var WSAEDQUOT: number; - export var WSAESTALE: number; - export var WSAEREMOTE: number; - export var WSASYSNOTREADY: number; - export var WSAVERNOTSUPPORTED: number; - export var WSANOTINITIALISED: number; - export var WSAEDISCON: number; - export var WSAENOMORE: number; - export var WSAECANCELLED: number; - export var WSAEINVALIDPROCTABLE: number; - export var WSAEINVALIDPROVIDER: number; - export var WSAEPROVIDERFAILEDINIT: number; - export var WSASYSCALLFAILURE: number; - export var WSASERVICE_NOT_FOUND: number; - export var WSATYPE_NOT_FOUND: number; - export var WSA_E_NO_MORE: number; - export var WSA_E_CANCELLED: number; - export var WSAEREFUSED: number; - export var SIGHUP: number; - export var SIGINT: number; - export var SIGILL: number; - export var SIGABRT: number; - export var SIGFPE: number; - export var SIGKILL: number; - export var SIGSEGV: number; - export var SIGTERM: number; - export var SIGBREAK: number; - export var SIGWINCH: number; - export var SSL_OP_ALL: number; - export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - export var SSL_OP_CIPHER_SERVER_PREFERENCE: number; - export var SSL_OP_CISCO_ANYCONNECT: number; - export var SSL_OP_COOKIE_EXCHANGE: number; - export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - export var SSL_OP_EPHEMERAL_RSA: number; - export var SSL_OP_LEGACY_SERVER_CONNECT: number; - export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; - export var SSL_OP_MICROSOFT_SESS_ID_BUG: number; - export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number; - export var SSL_OP_NETSCAPE_CA_DN_BUG: number; - export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number; - export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NO_COMPRESSION: number; - export var SSL_OP_NO_QUERY_MTU: number; - export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - export var SSL_OP_NO_SSLv2: number; - export var SSL_OP_NO_SSLv3: number; - export var SSL_OP_NO_TICKET: number; - export var SSL_OP_NO_TLSv1: number; - export var SSL_OP_NO_TLSv1_1: number; - export var SSL_OP_NO_TLSv1_2: number; - export var SSL_OP_PKCS1_CHECK_1: number; - export var SSL_OP_PKCS1_CHECK_2: number; - export var SSL_OP_SINGLE_DH_USE: number; - export var SSL_OP_SINGLE_ECDH_USE: number; - export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; - export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; - export var SSL_OP_TLS_BLOCK_PADDING_BUG: number; - export var SSL_OP_TLS_D5_BUG: number; - export var SSL_OP_TLS_ROLLBACK_BUG: number; - export var ENGINE_METHOD_DSA: number; - export var ENGINE_METHOD_DH: number; - export var ENGINE_METHOD_RAND: number; - export var ENGINE_METHOD_ECDH: number; - export var ENGINE_METHOD_ECDSA: number; - export var ENGINE_METHOD_CIPHERS: number; - export var ENGINE_METHOD_DIGESTS: number; - export var ENGINE_METHOD_STORE: number; - export var ENGINE_METHOD_PKEY_METHS: number; - export var ENGINE_METHOD_PKEY_ASN1_METHS: number; - export var ENGINE_METHOD_ALL: number; - export var ENGINE_METHOD_NONE: number; - export var DH_CHECK_P_NOT_SAFE_PRIME: number; - export var DH_CHECK_P_NOT_PRIME: number; - export var DH_UNABLE_TO_CHECK_GENERATOR: number; - export var DH_NOT_SUITABLE_GENERATOR: number; - export var NPN_ENABLED: number; - export var RSA_PKCS1_PADDING: number; - export var RSA_SSLV23_PADDING: number; - export var RSA_NO_PADDING: number; - export var RSA_PKCS1_OAEP_PADDING: number; - export var RSA_X931_PADDING: number; - export var RSA_PKCS1_PSS_PADDING: number; - export var POINT_CONVERSION_COMPRESSED: number; - export var POINT_CONVERSION_UNCOMPRESSED: number; - export var POINT_CONVERSION_HYBRID: number; - export var O_RDONLY: number; - export var O_WRONLY: number; - export var O_RDWR: number; - export var S_IFMT: number; - export var S_IFREG: number; - export var S_IFDIR: number; - export var S_IFCHR: number; - export var S_IFLNK: number; - export var O_CREAT: number; - export var O_EXCL: number; - export var O_TRUNC: number; - export var O_APPEND: number; - export var F_OK: number; - export var R_OK: number; - export var W_OK: number; - export var X_OK: number; - export var UV_UDP_REUSEADDR: number; -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/typings/react/react-addons-shallow-compare.d.ts b/samples/angular-mostpopularitems/typings/react/react-addons-shallow-compare.d.ts deleted file mode 100644 index 4fb9aa846..000000000 --- a/samples/angular-mostpopularitems/typings/react/react-addons-shallow-compare.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Type definitions for React v0.14 (react-addons-css-transition-group) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// - -declare namespace __React { - namespace __Addons { - export function shallowCompare( - component: __React.Component, - nextProps: P, - nextState: S): boolean; - } -} - -declare module "react-addons-shallow-compare" { - export = __React.__Addons.shallowCompare; -} diff --git a/samples/angular-mostpopularitems/typings/react/react-addons-test-utils.d.ts b/samples/angular-mostpopularitems/typings/react/react-addons-test-utils.d.ts deleted file mode 100644 index 3b77ac4c5..000000000 --- a/samples/angular-mostpopularitems/typings/react/react-addons-test-utils.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -// Type definitions for React v0.14 (react-addons-test-utils) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// - -declare namespace __React { - interface SyntheticEventData { - altKey?: boolean; - button?: number; - buttons?: number; - clientX?: number; - clientY?: number; - changedTouches?: TouchList; - charCode?: boolean; - clipboardData?: DataTransfer; - ctrlKey?: boolean; - deltaMode?: number; - deltaX?: number; - deltaY?: number; - deltaZ?: number; - detail?: number; - getModifierState?(key: string): boolean; - key?: string; - keyCode?: number; - locale?: string; - location?: number; - metaKey?: boolean; - pageX?: number; - pageY?: number; - relatedTarget?: EventTarget; - repeat?: boolean; - screenX?: number; - screenY?: number; - shiftKey?: boolean; - targetTouches?: TouchList; - touches?: TouchList; - view?: AbstractView; - which?: number; - } - - interface EventSimulator { - (element: Element, eventData?: SyntheticEventData): void; - (component: Component, eventData?: SyntheticEventData): void; - } - - interface MockedComponentClass { - new(): any; - } - - class ShallowRenderer { - getRenderOutput>(): E; - getRenderOutput(): ReactElement; - render(element: ReactElement, context?: any): void; - unmount(): void; - } - - namespace __Addons { - namespace TestUtils { - namespace Simulate { - export var blur: EventSimulator; - export var change: EventSimulator; - export var click: EventSimulator; - export var cut: EventSimulator; - export var doubleClick: EventSimulator; - export var drag: EventSimulator; - export var dragEnd: EventSimulator; - export var dragEnter: EventSimulator; - export var dragExit: EventSimulator; - export var dragLeave: EventSimulator; - export var dragOver: EventSimulator; - export var dragStart: EventSimulator; - export var drop: EventSimulator; - export var focus: EventSimulator; - export var input: EventSimulator; - export var keyDown: EventSimulator; - export var keyPress: EventSimulator; - export var keyUp: EventSimulator; - export var mouseDown: EventSimulator; - export var mouseEnter: EventSimulator; - export var mouseLeave: EventSimulator; - export var mouseMove: EventSimulator; - export var mouseOut: EventSimulator; - export var mouseOver: EventSimulator; - export var mouseUp: EventSimulator; - export var paste: EventSimulator; - export var scroll: EventSimulator; - export var submit: EventSimulator; - export var touchCancel: EventSimulator; - export var touchEnd: EventSimulator; - export var touchMove: EventSimulator; - export var touchStart: EventSimulator; - export var wheel: EventSimulator; - } - - export function renderIntoDocument( - element: DOMElement): Element; - export function renderIntoDocument

( - element: ReactElement

): Component; - export function renderIntoDocument>( - element: ReactElement): C; - - export function mockComponent( - mocked: MockedComponentClass, mockTagName?: string): typeof TestUtils; - - export function isElementOfType( - element: ReactElement, type: ReactType): boolean; - export function isDOMComponent(instance: ReactInstance): boolean; - export function isCompositeComponent(instance: ReactInstance): boolean; - export function isCompositeComponentWithType( - instance: ReactInstance, - type: ComponentClass): boolean; - - export function findAllInRenderedTree( - root: Component, - fn: (i: ReactInstance) => boolean): ReactInstance[]; - - export function scryRenderedDOMComponentsWithClass( - root: Component, - className: string): Element[]; - export function findRenderedDOMComponentWithClass( - root: Component, - className: string): Element; - - export function scryRenderedDOMComponentsWithTag( - root: Component, - tagName: string): Element[]; - export function findRenderedDOMComponentWithTag( - root: Component, - tagName: string): Element; - - export function scryRenderedComponentsWithType

( - root: Component, - type: ComponentClass

): Component[]; - export function scryRenderedComponentsWithType>( - root: Component, - type: ComponentClass): C[]; - - export function findRenderedComponentWithType

( - root: Component, - type: ComponentClass

): Component; - export function findRenderedComponentWithType>( - root: Component, - type: ComponentClass): C; - - export function createRenderer(): ShallowRenderer; - } - } -} - -declare module "react-addons-test-utils" { - import TestUtils = __React.__Addons.TestUtils; - export = TestUtils; -} diff --git a/samples/angular-mostpopularitems/typings/react/react-addons-update.d.ts b/samples/angular-mostpopularitems/typings/react/react-addons-update.d.ts deleted file mode 100644 index f1fe4c24f..000000000 --- a/samples/angular-mostpopularitems/typings/react/react-addons-update.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -// Type definitions for React v0.14 (react-addons-update) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// - -declare namespace __React { - interface UpdateSpecCommand { - $set?: any; - $merge?: {}; - $apply?(value: any): any; - } - - interface UpdateSpecPath { - [key: string]: UpdateSpec; - } - - type UpdateSpec = UpdateSpecCommand | UpdateSpecPath; - - interface UpdateArraySpec extends UpdateSpecCommand { - $push?: any[]; - $unshift?: any[]; - $splice?: any[][]; - } - - namespace __Addons { - export function update(value: any[], spec: UpdateArraySpec): any[]; - export function update(value: {}, spec: UpdateSpec): any; - } -} - -declare module "react-addons-update" { - export = __React.__Addons.update; -} diff --git a/samples/angular-mostpopularitems/typings/react/react-dom.d.ts b/samples/angular-mostpopularitems/typings/react/react-dom.d.ts deleted file mode 100644 index 80a0c604e..000000000 --- a/samples/angular-mostpopularitems/typings/react/react-dom.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -// Type definitions for React v0.14 (react-dom) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// - -declare namespace __React { - namespace __DOM { - function findDOMNode(instance: ReactInstance): E; - function findDOMNode(instance: ReactInstance): Element; - - function render

( - element: DOMElement

, - container: Element, - callback?: (element: Element) => any): Element; - function render( - element: ClassicElement

, - container: Element, - callback?: (component: ClassicComponent) => any): ClassicComponent; - function render( - element: ReactElement

, - container: Element, - callback?: (component: Component) => any): Component; - - function unmountComponentAtNode(container: Element): boolean; - - var version: string; - - function unstable_batchedUpdates(callback: (a: A, b: B) => any, a: A, b: B): void; - function unstable_batchedUpdates(callback: (a: A) => any, a: A): void; - function unstable_batchedUpdates(callback: () => any): void; - - function unstable_renderSubtreeIntoContainer

( - parentComponent: Component, - nextElement: DOMElement

, - container: Element, - callback?: (element: Element) => any): Element; - function unstable_renderSubtreeIntoContainer( - parentComponent: Component, - nextElement: ClassicElement

, - container: Element, - callback?: (component: ClassicComponent) => any): ClassicComponent; - function unstable_renderSubtreeIntoContainer( - parentComponent: Component, - nextElement: ReactElement

, - container: Element, - callback?: (component: Component) => any): Component; - } - - namespace __DOMServer { - function renderToString(element: ReactElement): string; - function renderToStaticMarkup(element: ReactElement): string; - var version: string; - } -} - -declare module "react-dom" { - import DOM = __React.__DOM; - export = DOM; -} - -declare module "react-dom/server" { - import DOMServer = __React.__DOMServer; - export = DOMServer; -} diff --git a/samples/angular-mostpopularitems/typings/react/react.d.ts b/samples/angular-mostpopularitems/typings/react/react.d.ts deleted file mode 100644 index 94a763b17..000000000 --- a/samples/angular-mostpopularitems/typings/react/react.d.ts +++ /dev/null @@ -1,2284 +0,0 @@ -// Type definitions for React v0.14 -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -declare namespace __React { - - // - // React Elements - // ---------------------------------------------------------------------- - - type ReactType = string | ComponentClass | StatelessComponent; - - interface ReactElement

> { - type: string | ComponentClass

| StatelessComponent

; - props: P; - key: string | number; - ref: string | ((component: Component | Element) => any); - } - - interface ClassicElement

extends ReactElement

{ - type: ClassicComponentClass

; - ref: string | ((component: ClassicComponent) => any); - } - - interface DOMElement

> extends ReactElement

{ - type: string; - ref: string | ((element: Element) => any); - } - - interface ReactHTMLElement extends DOMElement> { - ref: string | ((element: HTMLElement) => any); - } - - interface ReactSVGElement extends DOMElement { - ref: string | ((element: SVGElement) => any); - } - - // - // Factories - // ---------------------------------------------------------------------- - - interface Factory

{ - (props?: P, ...children: ReactNode[]): ReactElement

; - } - - interface ClassicFactory

extends Factory

{ - (props?: P, ...children: ReactNode[]): ClassicElement

; - } - - interface DOMFactory

> extends Factory

{ - (props?: P, ...children: ReactNode[]): DOMElement

; - } - - type HTMLFactory = DOMFactory>; - type SVGFactory = DOMFactory; - - // - // React Nodes - // http://facebook.github.io/react/docs/glossary.html - // ---------------------------------------------------------------------- - - type ReactText = string | number; - type ReactChild = ReactElement | ReactText; - - // Should be Array but type aliases cannot be recursive - type ReactFragment = {} | Array; - type ReactNode = ReactChild | ReactFragment | boolean; - - // - // Top Level API - // ---------------------------------------------------------------------- - - function createClass(spec: ComponentSpec): ClassicComponentClass

; - - function createFactory

(type: string): DOMFactory

; - function createFactory

(type: ClassicComponentClass

): ClassicFactory

; - function createFactory

(type: ComponentClass

| StatelessComponent

): Factory

; - - function createElement

( - type: string, - props?: P, - ...children: ReactNode[]): DOMElement

; - function createElement

( - type: ClassicComponentClass

, - props?: P, - ...children: ReactNode[]): ClassicElement

; - function createElement

( - type: ComponentClass

| StatelessComponent

, - props?: P, - ...children: ReactNode[]): ReactElement

; - - function cloneElement

( - element: DOMElement

, - props?: P, - ...children: ReactNode[]): DOMElement

; - function cloneElement

( - element: ClassicElement

, - props?: P, - ...children: ReactNode[]): ClassicElement

; - function cloneElement

( - element: ReactElement

, - props?: P, - ...children: ReactNode[]): ReactElement

; - - function isValidElement(object: {}): boolean; - - var DOM: ReactDOM; - var PropTypes: ReactPropTypes; - var Children: ReactChildren; - - // - // Component API - // ---------------------------------------------------------------------- - - type ReactInstance = Component | Element; - - // Base component for plain JS classes - class Component implements ComponentLifecycle { - constructor(props?: P, context?: any); - setState(f: (prevState: S, props: P) => S, callback?: () => any): void; - setState(state: S, callback?: () => any): void; - forceUpdate(callBack?: () => any): void; - render(): JSX.Element; - props: P; - state: S; - context: {}; - refs: { - [key: string]: ReactInstance - }; - } - - interface ClassicComponent extends Component { - replaceState(nextState: S, callback?: () => any): void; - isMounted(): boolean; - getInitialState?(): S; - } - - interface ChildContextProvider { - getChildContext(): CC; - } - - // - // Class Interfaces - // ---------------------------------------------------------------------- - - interface StatelessComponent

{ - (props?: P, context?: any): ReactElement; - propTypes?: ValidationMap

; - contextTypes?: ValidationMap; - defaultProps?: P; - displayName?: string; - } - - interface ComponentClass

{ - new(props?: P, context?: any): Component; - propTypes?: ValidationMap

; - contextTypes?: ValidationMap; - childContextTypes?: ValidationMap; - defaultProps?: P; - } - - interface ClassicComponentClass

extends ComponentClass

{ - new(props?: P, context?: any): ClassicComponent; - getDefaultProps?(): P; - displayName?: string; - } - - // - // Component Specs and Lifecycle - // ---------------------------------------------------------------------- - - interface ComponentLifecycle { - componentWillMount?(): void; - componentDidMount?(): void; - componentWillReceiveProps?(nextProps: P, nextContext: any): void; - shouldComponentUpdate?(nextProps: P, nextState: S, nextContext: any): boolean; - componentWillUpdate?(nextProps: P, nextState: S, nextContext: any): void; - componentDidUpdate?(prevProps: P, prevState: S, prevContext: any): void; - componentWillUnmount?(): void; - } - - interface Mixin extends ComponentLifecycle { - mixins?: Mixin; - statics?: { - [key: string]: any; - }; - - displayName?: string; - propTypes?: ValidationMap; - contextTypes?: ValidationMap; - childContextTypes?: ValidationMap; - - getDefaultProps?(): P; - getInitialState?(): S; - } - - interface ComponentSpec extends Mixin { - render(): ReactElement; - - [propertyName: string]: any; - } - - // - // Event System - // ---------------------------------------------------------------------- - - interface SyntheticEvent { - bubbles: boolean; - cancelable: boolean; - currentTarget: EventTarget; - defaultPrevented: boolean; - eventPhase: number; - isTrusted: boolean; - nativeEvent: Event; - preventDefault(): void; - stopPropagation(): void; - target: EventTarget; - timeStamp: Date; - type: string; - } - - interface ClipboardEvent extends SyntheticEvent { - clipboardData: DataTransfer; - } - - interface CompositionEvent extends SyntheticEvent { - data: string; - } - - interface DragEvent extends MouseEvent { - dataTransfer: DataTransfer; - } - - interface FocusEvent extends SyntheticEvent { - relatedTarget: EventTarget; - } - - interface FormEvent extends SyntheticEvent { - } - - interface KeyboardEvent extends SyntheticEvent { - altKey: boolean; - charCode: number; - ctrlKey: boolean; - getModifierState(key: string): boolean; - key: string; - keyCode: number; - locale: string; - location: number; - metaKey: boolean; - repeat: boolean; - shiftKey: boolean; - which: number; - } - - interface MouseEvent extends SyntheticEvent { - altKey: boolean; - button: number; - buttons: number; - clientX: number; - clientY: number; - ctrlKey: boolean; - getModifierState(key: string): boolean; - metaKey: boolean; - pageX: number; - pageY: number; - relatedTarget: EventTarget; - screenX: number; - screenY: number; - shiftKey: boolean; - } - - interface TouchEvent extends SyntheticEvent { - altKey: boolean; - changedTouches: TouchList; - ctrlKey: boolean; - getModifierState(key: string): boolean; - metaKey: boolean; - shiftKey: boolean; - targetTouches: TouchList; - touches: TouchList; - } - - interface UIEvent extends SyntheticEvent { - detail: number; - view: AbstractView; - } - - interface WheelEvent extends SyntheticEvent { - deltaMode: number; - deltaX: number; - deltaY: number; - deltaZ: number; - } - - // - // Event Handler Types - // ---------------------------------------------------------------------- - - interface EventHandler { - (event: E): void; - } - - type ReactEventHandler = EventHandler; - - type ClipboardEventHandler = EventHandler; - type CompositionEventHandler = EventHandler; - type DragEventHandler = EventHandler; - type FocusEventHandler = EventHandler; - type FormEventHandler = EventHandler; - type KeyboardEventHandler = EventHandler; - type MouseEventHandler = EventHandler; - type TouchEventHandler = EventHandler; - type UIEventHandler = EventHandler; - type WheelEventHandler = EventHandler; - - // - // Props / DOM Attributes - // ---------------------------------------------------------------------- - - interface Props { - children?: ReactNode; - key?: string | number; - ref?: string | ((component: T) => any); - } - - interface HTMLProps extends HTMLAttributes, Props { - } - - interface SVGProps extends SVGAttributes, Props { - } - - interface DOMAttributes { - dangerouslySetInnerHTML?: { - __html: string; - }; - - // Clipboard Events - onCopy?: ClipboardEventHandler; - onCut?: ClipboardEventHandler; - onPaste?: ClipboardEventHandler; - - // Composition Events - onCompositionEnd?: CompositionEventHandler; - onCompositionStart?: CompositionEventHandler; - onCompositionUpdate?: CompositionEventHandler; - - // Focus Events - onFocus?: FocusEventHandler; - onBlur?: FocusEventHandler; - - // Form Events - onChange?: FormEventHandler; - onInput?: FormEventHandler; - onSubmit?: FormEventHandler; - - // Image Events - onLoad?: ReactEventHandler; - onError?: ReactEventHandler; // also a Media Event - - // Keyboard Events - onKeyDown?: KeyboardEventHandler; - onKeyPress?: KeyboardEventHandler; - onKeyUp?: KeyboardEventHandler; - - // Media Events - onAbort?: ReactEventHandler; - onCanPlay?: ReactEventHandler; - onCanPlayThrough?: ReactEventHandler; - onDurationChange?: ReactEventHandler; - onEmptied?: ReactEventHandler; - onEncrypted?: ReactEventHandler; - onEnded?: ReactEventHandler; - onLoadedData?: ReactEventHandler; - onLoadedMetadata?: ReactEventHandler; - onLoadStart?: ReactEventHandler; - onPause?: ReactEventHandler; - onPlay?: ReactEventHandler; - onPlaying?: ReactEventHandler; - onProgress?: ReactEventHandler; - onRateChange?: ReactEventHandler; - onSeeked?: ReactEventHandler; - onSeeking?: ReactEventHandler; - onStalled?: ReactEventHandler; - onSuspend?: ReactEventHandler; - onTimeUpdate?: ReactEventHandler; - onVolumeChange?: ReactEventHandler; - onWaiting?: ReactEventHandler; - - // MouseEvents - onClick?: MouseEventHandler; - onContextMenu?: MouseEventHandler; - onDoubleClick?: MouseEventHandler; - onDrag?: DragEventHandler; - onDragEnd?: DragEventHandler; - onDragEnter?: DragEventHandler; - onDragExit?: DragEventHandler; - onDragLeave?: DragEventHandler; - onDragOver?: DragEventHandler; - onDragStart?: DragEventHandler; - onDrop?: DragEventHandler; - onMouseDown?: MouseEventHandler; - onMouseEnter?: MouseEventHandler; - onMouseLeave?: MouseEventHandler; - onMouseMove?: MouseEventHandler; - onMouseOut?: MouseEventHandler; - onMouseOver?: MouseEventHandler; - onMouseUp?: MouseEventHandler; - - // Selection Events - onSelect?: ReactEventHandler; - - // Touch Events - onTouchCancel?: TouchEventHandler; - onTouchEnd?: TouchEventHandler; - onTouchMove?: TouchEventHandler; - onTouchStart?: TouchEventHandler; - - // UI Events - onScroll?: UIEventHandler; - - // Wheel Events - onWheel?: WheelEventHandler; - } - - // This interface is not complete. Only properties accepting - // unitless numbers are listed here (see CSSProperty.js in React) - interface CSSProperties { - boxFlex?: number; - boxFlexGroup?: number; - columnCount?: number; - flex?: number | string; - flexGrow?: number; - flexShrink?: number; - fontWeight?: number | string; - lineClamp?: number; - lineHeight?: number | string; - opacity?: number; - order?: number; - orphans?: number; - widows?: number; - zIndex?: number; - zoom?: number; - - fontSize?: number | string; - - // SVG-related properties - fillOpacity?: number; - strokeOpacity?: number; - strokeWidth?: number; - - // Remaining properties auto-extracted from http://docs.webplatform.org. - // License: http://docs.webplatform.org/wiki/Template:CC-by-3.0 - /** - * Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis. - */ - alignContent?: any; - - /** - * Sets the default alignment in the cross axis for all of the flex container's items, including anonymous flex items, similarly to how justify-content aligns items along the main axis. - */ - alignItems?: any; - - /** - * Allows the default alignment to be overridden for individual flex items. - */ - alignSelf?: any; - - /** - * This property allows precise alignment of elements, such as graphics, that do not have a baseline-table or lack the desired baseline in their baseline-table. With the alignment-adjust property, the position of the baseline identified by the alignment-baseline can be explicitly determined. It also determines precisely the alignment point for each glyph within a textual element. - */ - alignmentAdjust?: any; - - alignmentBaseline?: any; - - /** - * Defines a length of time to elapse before an animation starts, allowing an animation to begin execution some time after it is applied. - */ - animationDelay?: any; - - /** - * Defines whether an animation should run in reverse on some or all cycles. - */ - animationDirection?: any; - - /** - * Specifies how many times an animation cycle should play. - */ - animationIterationCount?: any; - - /** - * Defines the list of animations that apply to the element. - */ - animationName?: any; - - /** - * Defines whether an animation is running or paused. - */ - animationPlayState?: any; - - /** - * Allows changing the style of any element to platform-based interface elements or vice versa. - */ - appearance?: any; - - /** - * Determines whether or not the “back” side of a transformed element is visible when facing the viewer. - */ - backfaceVisibility?: any; - - /** - * This property describes how the element's background images should blend with each other and the element's background color. - * The value is a list of blend modes that corresponds to each background image. Each element in the list will apply to the corresponding element of background-image. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough. - */ - backgroundBlendMode?: any; - - backgroundColor?: any; - - backgroundComposite?: any; - - /** - * Applies one or more background images to an element. These can be any valid CSS image, including url() paths to image files or CSS gradients. - */ - backgroundImage?: any; - - /** - * Specifies what the background-position property is relative to. - */ - backgroundOrigin?: any; - - /** - * Sets the horizontal position of a background image. - */ - backgroundPositionX?: any; - - /** - * Background-repeat defines if and how background images will be repeated after they have been sized and positioned - */ - backgroundRepeat?: any; - - /** - * Obsolete - spec retired, not implemented. - */ - baselineShift?: any; - - /** - * Non standard. Sets or retrieves the location of the Dynamic HTML (DHTML) behavior. - */ - behavior?: any; - - /** - * Shorthand property that defines the different properties of all four sides of an element's border in a single declaration. It can be used to set border-width, border-style and border-color, or a subset of these. - */ - border?: any; - - /** - * Defines the shape of the border of the bottom-left corner. - */ - borderBottomLeftRadius?: any; - - /** - * Defines the shape of the border of the bottom-right corner. - */ - borderBottomRightRadius?: any; - - /** - * Sets the width of an element's bottom border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderBottomWidth?: any; - - /** - * Border-collapse can be used for collapsing the borders between table cells - */ - borderCollapse?: any; - - /** - * The CSS border-color property sets the color of an element's four borders. This property can have from one to four values, made up of the elementary properties: • border-top-color - * • border-right-color - * • border-bottom-color - * • border-left-color The default color is the currentColor of each of these values. - * If you provide one value, it sets the color for the element. Two values set the horizontal and vertical values, respectively. Providing three values sets the top, vertical, and bottom values, in that order. Four values set all for sides: top, right, bottom, and left, in that order. - */ - borderColor?: any; - - /** - * Specifies different corner clipping effects, such as scoop (inner curves), bevel (straight cuts) or notch (cut-off rectangles). Works along with border-radius to specify the size of each corner effect. - */ - borderCornerShape?: any; - - /** - * The property border-image-source is used to set the image to be used instead of the border style. If this is set to none the border-style is used instead. - */ - borderImageSource?: any; - - /** - * The border-image-width CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge. They represent inward distance from the top, right, bottom, and left edges. - */ - borderImageWidth?: any; - - /** - * Shorthand property that defines the border-width, border-style and border-color of an element's left border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the left border — border-left-width, border-left-style and border-left-color. - */ - borderLeft?: any; - - /** - * The CSS border-left-color property sets the color of an element's left border. This page explains the border-left-color value, but often you will find it more convenient to fix the border's left color as part of a shorthand set, either border-left or border-color. - * Colors can be defined several ways. For more information, see Usage. - */ - borderLeftColor?: any; - - /** - * Sets the style of an element's left border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style. - */ - borderLeftStyle?: any; - - /** - * Sets the width of an element's left border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderLeftWidth?: any; - - /** - * Shorthand property that defines the border-width, border-style and border-color of an element's right border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the right border — border-right-width, border-right-style and border-right-color. - */ - borderRight?: any; - - /** - * Sets the color of an element's right border. This page explains the border-right-color value, but often you will find it more convenient to fix the border's right color as part of a shorthand set, either border-right or border-color. - * Colors can be defined several ways. For more information, see Usage. - */ - borderRightColor?: any; - - /** - * Sets the style of an element's right border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style. - */ - borderRightStyle?: any; - - /** - * Sets the width of an element's right border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderRightWidth?: any; - - /** - * Specifies the distance between the borders of adjacent cells. - */ - borderSpacing?: any; - - /** - * Sets the style of an element's four borders. This property can have from one to four values. With only one value, the value will be applied to all four borders; otherwise, this works as a shorthand property for each of border-top-style, border-right-style, border-bottom-style, border-left-style, where each border style may be assigned a separate value. - */ - borderStyle?: any; - - /** - * Shorthand property that defines the border-width, border-style and border-color of an element's top border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the top border — border-top-width, border-top-style and border-top-color. - */ - borderTop?: any; - - /** - * Sets the color of an element's top border. This page explains the border-top-color value, but often you will find it more convenient to fix the border's top color as part of a shorthand set, either border-top or border-color. - * Colors can be defined several ways. For more information, see Usage. - */ - borderTopColor?: any; - - /** - * Sets the rounding of the top-left corner of the element. - */ - borderTopLeftRadius?: any; - - /** - * Sets the rounding of the top-right corner of the element. - */ - borderTopRightRadius?: any; - - /** - * Sets the style of an element's top border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style. - */ - borderTopStyle?: any; - - /** - * Sets the width of an element's top border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderTopWidth?: any; - - /** - * Sets the width of an element's four borders. This property can have from one to four values. This is a shorthand property for setting values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderWidth?: any; - - /** - * This property specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the bottom edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties). - */ - bottom?: any; - - /** - * Obsolete. - */ - boxAlign?: any; - - /** - * Breaks a box into fragments creating new borders, padding and repeating backgrounds or lets it stay as a continuous box on a page break, column break, or, for inline elements, at a line break. - */ - boxDecorationBreak?: any; - - /** - * Deprecated - */ - boxDirection?: any; - - /** - * Do not use. This property has been replaced by the flex-wrap property. - * Gets or sets a value that specifies the direction to add successive rows or columns when the value of box-lines is set to multiple. - */ - boxLineProgression?: any; - - /** - * Do not use. This property has been replaced by the flex-wrap property. - * Gets or sets a value that specifies whether child elements wrap onto multiple lines or columns based on the space available in the object. - */ - boxLines?: any; - - /** - * Do not use. This property has been replaced by flex-order. - * Specifies the ordinal group that a child element of the object belongs to. This ordinal value identifies the display order (along the axis defined by the box-orient property) for the group. - */ - boxOrdinalGroup?: any; - - /** - * The CSS break-after property allows you to force a break on multi-column layouts. More specifically, it allows you to force a break after an element. It allows you to determine if a break should occur, and what type of break it should be. The break-after CSS property describes how the page, column or region break behaves after the generated box. If there is no generated box, the property is ignored. - */ - breakAfter?: any; - - /** - * Control page/column/region breaks that fall above a block of content - */ - breakBefore?: any; - - /** - * Control page/column/region breaks that fall within a block of content - */ - breakInside?: any; - - /** - * The clear CSS property specifies if an element can be positioned next to or must be positioned below the floating elements that precede it in the markup. - */ - clear?: any; - - /** - * Deprecated; see clip-path. - * Lets you specify the dimensions of an absolutely positioned element that should be visible, and the element is clipped into this shape, and displayed. - */ - clip?: any; - - /** - * Clipping crops an graphic, so that only a portion of the graphic is rendered, or filled. This clip-rule property, when used with the clip-path property, defines which clip rule, or algorithm, to use when filling the different parts of a graphics. - */ - clipRule?: any; - - /** - * The color property sets the color of an element's foreground content (usually text), accepting any standard CSS color from keywords and hex values to RGB(a) and HSL(a). - */ - color?: any; - - /** - * Specifies how to fill columns (balanced or sequential). - */ - columnFill?: any; - - /** - * The column-gap property controls the width of the gap between columns in multi-column elements. - */ - columnGap?: any; - - /** - * Sets the width, style, and color of the rule between columns. - */ - columnRule?: any; - - /** - * Specifies the color of the rule between columns. - */ - columnRuleColor?: any; - - /** - * Specifies the width of the rule between columns. - */ - columnRuleWidth?: any; - - /** - * The column-span CSS property makes it possible for an element to span across all columns when its value is set to all. An element that spans more than one column is called a spanning element. - */ - columnSpan?: any; - - /** - * Specifies the width of columns in multi-column elements. - */ - columnWidth?: any; - - /** - * This property is a shorthand property for setting column-width and/or column-count. - */ - columns?: any; - - /** - * The counter-increment property accepts one or more names of counters (identifiers), each one optionally followed by an integer which specifies the value by which the counter should be incremented (e.g. if the value is 2, the counter increases by 2 each time it is invoked). - */ - counterIncrement?: any; - - /** - * The counter-reset property contains a list of one or more names of counters, each one optionally followed by an integer (otherwise, the integer defaults to 0.) Each time the given element is invoked, the counters specified by the property are set to the given integer. - */ - counterReset?: any; - - /** - * The cue property specifies sound files (known as an "auditory icon") to be played by speech media agents before and after presenting an element's content; if only one file is specified, it is played both before and after. The volume at which the file(s) should be played, relative to the volume of the main element, may also be specified. The icon files may also be set separately with the cue-before and cue-after properties. - */ - cue?: any; - - /** - * The cue-after property specifies a sound file (known as an "auditory icon") to be played by speech media agents after presenting an element's content; the volume at which the file should be played may also be specified. The shorthand property cue sets cue sounds for both before and after the element is presented. - */ - cueAfter?: any; - - /** - * The direction CSS property specifies the text direction/writing direction. The rtl is used for Hebrew or Arabic text, the ltr is for other languages. - */ - direction?: any; - - /** - * This property specifies the type of rendering box used for an element. It is a shorthand property for many other display properties. - */ - display?: any; - - /** - * The ‘fill’ property paints the interior of the given graphical element. The area to be painted consists of any areas inside the outline of the shape. To determine the inside of the shape, all subpaths are considered, and the interior is determined according to the rules associated with the current value of the ‘fill-rule’ property. The zero-width geometric outline of a shape is included in the area to be painted. - */ - fill?: any; - - /** - * The ‘fill-rule’ property indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape. For a simple, non-intersecting path, it is intuitively clear what region lies "inside"; however, for a more complex path, such as a path that intersects itself or where one subpath encloses another, the interpretation of "inside" is not so obvious. - * The ‘fill-rule’ property provides two options for how the inside of a shape is determined: - */ - fillRule?: any; - - /** - * Applies various image processing effects. This property is largely unsupported. See Compatibility section for more information. - */ - filter?: any; - - /** - * Obsolete, do not use. This property has been renamed to align-items. - * Specifies the alignment (perpendicular to the layout axis defined by the flex-direction property) of child elements of the object. - */ - flexAlign?: any; - - /** - * The flex-basis CSS property describes the initial main size of the flex item before any free space is distributed according to the flex factors described in the flex property (flex-grow and flex-shrink). - */ - flexBasis?: any; - - /** - * The flex-direction CSS property describes how flex items are placed in the flex container, by setting the direction of the flex container's main axis. - */ - flexDirection?: any; - - /** - * The flex-flow CSS property defines the flex container's main and cross axis. It is a shorthand property for the flex-direction and flex-wrap properties. - */ - flexFlow?: any; - - /** - * Do not use. This property has been renamed to align-self - * Specifies the alignment (perpendicular to the layout axis defined by flex-direction) of child elements of the object. - */ - flexItemAlign?: any; - - /** - * Do not use. This property has been renamed to align-content. - * Specifies how a flexbox's lines align within the flexbox when there is extra space along the axis that is perpendicular to the axis defined by the flex-direction property. - */ - flexLinePack?: any; - - /** - * Gets or sets a value that specifies the ordinal group that a flexbox element belongs to. This ordinal value identifies the display order for the group. - */ - flexOrder?: any; - - /** - * Elements which have the style float are floated horizontally. These elements can move as far to the left or right of the containing element. All elements after the floating element will flow around it, but elements before the floating element are not impacted. If several floating elements are placed after each other, they will float next to each other as long as there is room. - */ - float?: any; - - /** - * Flows content from a named flow (specified by a corresponding flow-into) through selected elements to form a dynamic chain of layout regions. - */ - flowFrom?: any; - - /** - * The font property is shorthand that allows you to do one of two things: you can either set up six of the most mature font properties in one line, or you can set one of a choice of keywords to adopt a system font setting. - */ - font?: any; - - /** - * The font-family property allows one or more font family names and/or generic family names to be specified for usage on the selected element(s)' text. The browser then goes through the list; for each character in the selection it applies the first font family that has an available glyph for that character. - */ - fontFamily?: any; - - /** - * The font-kerning property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text. This property controls metric kerning - that utilizes adjustment data contained in the font. Optical Kerning is not supported as yet. - */ - fontKerning?: any; - - /** - * The font-size-adjust property adjusts the font-size of the fallback fonts defined with font-family, so that the x-height is the same no matter what font is used. This preserves the readability of the text when fallback happens. - */ - fontSizeAdjust?: any; - - /** - * Allows you to expand or condense the widths for a normal, condensed, or expanded font face. - */ - fontStretch?: any; - - /** - * The font-style property allows normal, italic, or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face. Oblique faces can be simulated by artificially sloping the glyphs of the regular face. - */ - fontStyle?: any; - - /** - * This value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces. - */ - fontSynthesis?: any; - - /** - * The font-variant property enables you to select the small-caps font within a font family. - */ - fontVariant?: any; - - /** - * Fonts can provide alternate glyphs in addition to default glyph for a character. This property provides control over the selection of these alternate glyphs. - */ - fontVariantAlternates?: any; - - /** - * Lays out one or more grid items bound by 4 grid lines. Shorthand for setting grid-column-start, grid-column-end, grid-row-start, and grid-row-end in a single declaration. - */ - gridArea?: any; - - /** - * Controls a grid item's placement in a grid area, particularly grid position and a grid span. Shorthand for setting grid-column-start and grid-column-end in a single declaration. - */ - gridColumn?: any; - - /** - * Controls a grid item's placement in a grid area as well as grid position and a grid span. The grid-column-end property (with grid-row-start, grid-row-end, and grid-column-start) determines a grid item's placement by specifying the grid lines of a grid item's grid area. - */ - gridColumnEnd?: any; - - /** - * Determines a grid item's placement by specifying the starting grid lines of a grid item's grid area . A grid item's placement in a grid area consists of a grid position and a grid span. See also ( grid-row-start, grid-row-end, and grid-column-end) - */ - gridColumnStart?: any; - - /** - * Gets or sets a value that indicates which row an element within a Grid should appear in. Shorthand for setting grid-row-start and grid-row-end in a single declaration. - */ - gridRow?: any; - - /** - * Determines a grid item’s placement by specifying the block-end. A grid item's placement in a grid area consists of a grid position and a grid span. The grid-row-end property (with grid-row-start, grid-column-start, and grid-column-end) determines a grid item's placement by specifying the grid lines of a grid item's grid area. - */ - gridRowEnd?: any; - - /** - * Specifies a row position based upon an integer location, string value, or desired row size. - * css/properties/grid-row is used as short-hand for grid-row-position and grid-row-position - */ - gridRowPosition?: any; - - gridRowSpan?: any; - - /** - * Specifies named grid areas which are not associated with any particular grid item, but can be referenced from the grid-placement properties. The syntax of the grid-template-areas property also provides a visualization of the structure of the grid, making the overall layout of the grid container easier to understand. - */ - gridTemplateAreas?: any; - - /** - * Specifies (with grid-template-rows) the line names and track sizing functions of the grid. Each sizing function can be specified as a length, a percentage of the grid container’s size, a measurement of the contents occupying the column or row, or a fraction of the free space in the grid. - */ - gridTemplateColumns?: any; - - /** - * Specifies (with grid-template-columns) the line names and track sizing functions of the grid. Each sizing function can be specified as a length, a percentage of the grid container’s size, a measurement of the contents occupying the column or row, or a fraction of the free space in the grid. - */ - gridTemplateRows?: any; - - /** - * Sets the height of an element. The content area of the element height does not include the padding, border, and margin of the element. - */ - height?: any; - - /** - * Specifies the minimum number of characters in a hyphenated word - */ - hyphenateLimitChars?: any; - - /** - * Indicates the maximum number of successive hyphenated lines in an element. The ‘no-limit’ value means that there is no limit. - */ - hyphenateLimitLines?: any; - - /** - * Specifies the maximum amount of trailing whitespace (before justification) that may be left in a line before hyphenation is triggered to pull part of a word from the next line back up into the current one. - */ - hyphenateLimitZone?: any; - - /** - * Specifies whether or not words in a sentence can be split by the use of a manual or automatic hyphenation mechanism. - */ - hyphens?: any; - - imeMode?: any; - - layoutGrid?: any; - - layoutGridChar?: any; - - layoutGridLine?: any; - - layoutGridMode?: any; - - layoutGridType?: any; - - /** - * Sets the left edge of an element - */ - left?: any; - - /** - * The letter-spacing CSS property specifies the spacing behavior between text characters. - */ - letterSpacing?: any; - - /** - * Deprecated. Gets or sets line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean. - */ - lineBreak?: any; - - /** - * Shorthand property that sets the list-style-type, list-style-position and list-style-image properties in one declaration. - */ - listStyle?: any; - - /** - * This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker. That also means that if the image is not available, it will show the style specified by list-style-property - */ - listStyleImage?: any; - - /** - * Specifies if the list-item markers should appear inside or outside the content flow. - */ - listStylePosition?: any; - - /** - * Specifies the type of list-item marker in a list. - */ - listStyleType?: any; - - /** - * The margin property is shorthand to allow you to set all four margins of an element at once. Its equivalent longhand properties are margin-top, margin-right, margin-bottom and margin-left. Negative values are also allowed. - */ - margin?: any; - - /** - * margin-bottom sets the bottom margin of an element. - */ - marginBottom?: any; - - /** - * margin-left sets the left margin of an element. - */ - marginLeft?: any; - - /** - * margin-right sets the right margin of an element. - */ - marginRight?: any; - - /** - * margin-top sets the top margin of an element. - */ - marginTop?: any; - - /** - * The marquee-direction determines the initial direction in which the marquee content moves. - */ - marqueeDirection?: any; - - /** - * The 'marquee-style' property determines a marquee's scrolling behavior. - */ - marqueeStyle?: any; - - /** - * This property is shorthand for setting mask-image, mask-mode, mask-repeat, mask-position, mask-clip, mask-origin, mask-composite and mask-size. Omitted values are set to their original properties' initial values. - */ - mask?: any; - - /** - * This property is shorthand for setting mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, and mask-border-repeat. Omitted values are set to their original properties' initial values. - */ - maskBorder?: any; - - /** - * This property specifies how the images for the sides and the middle part of the mask image are scaled and tiled. The first keyword applies to the horizontal sides, the second one applies to the vertical ones. If the second keyword is absent, it is assumed to be the same as the first, similar to the CSS border-image-repeat property. - */ - maskBorderRepeat?: any; - - /** - * This property specifies inward offsets from the top, right, bottom, and left edges of the mask image, dividing it into nine regions: four corners, four edges, and a middle. The middle image part is discarded and treated as fully transparent black unless the fill keyword is present. The four values set the top, right, bottom and left offsets in that order, similar to the CSS border-image-slice property. - */ - maskBorderSlice?: any; - - /** - * Specifies an image to be used as a mask. An image that is empty, fails to download, is non-existent, or cannot be displayed is ignored and does not mask the element. - */ - maskBorderSource?: any; - - /** - * This property sets the width of the mask box image, similar to the CSS border-image-width property. - */ - maskBorderWidth?: any; - - /** - * Determines the mask painting area, which defines the area that is affected by the mask. The painted content of an element may be restricted to this area. - */ - maskClip?: any; - - /** - * For elements rendered as a single box, specifies the mask positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes box-decoration-break operates on to determine the mask positioning area(s). - */ - maskOrigin?: any; - - /** - * This property must not be used. It is no longer included in any standard or standard track specification, nor is it implemented in any browser. It is only used when the text-align-last property is set to size. It controls allowed adjustments of font-size to fit line content. - */ - maxFontSize?: any; - - /** - * Sets the maximum height for an element. It prevents the height of the element to exceed the specified value. If min-height is specified and is greater than max-height, max-height is overridden. - */ - maxHeight?: any; - - /** - * Sets the maximum width for an element. It limits the width property to be larger than the value specified in max-width. - */ - maxWidth?: any; - - /** - * Sets the minimum height for an element. It prevents the height of the element to be smaller than the specified value. The value of min-height overrides both max-height and height. - */ - minHeight?: any; - - /** - * Sets the minimum width of an element. It limits the width property to be not smaller than the value specified in min-width. - */ - minWidth?: any; - - /** - * The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient. - * Outlines differ from borders in the following ways: • Outlines do not take up space, they are drawn above the content. - * • Outlines may be non-rectangular. They are rectangular in Gecko/Firefox. Internet Explorer attempts to place the smallest contiguous outline around all elements or shapes that are indicated to have an outline. Opera draws a non-rectangular shape around a construct. - */ - outline?: any; - - /** - * The outline-color property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. - */ - outlineColor?: any; - - /** - * The outline-offset property offsets the outline and draw it beyond the border edge. - */ - outlineOffset?: any; - - /** - * The overflow property controls how extra content exceeding the bounding box of an element is rendered. It can be used in conjunction with an element that has a fixed width and height, to eliminate text-induced page distortion. - */ - overflow?: any; - - /** - * Specifies the preferred scrolling methods for elements that overflow. - */ - overflowStyle?: any; - - /** - * The overflow-x property is a specific case of the generic overflow property. It controls how extra content exceeding the x-axis of the bounding box of an element is rendered. - */ - overflowX?: any; - - /** - * The padding optional CSS property sets the required padding space on one to four sides of an element. The padding area is the space between an element and its border. Negative values are not allowed but decimal values are permitted. The element size is treated as fixed, and the content of the element shifts toward the center as padding is increased. - * The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left). - */ - padding?: any; - - /** - * The padding-bottom CSS property of an element sets the padding space required on the bottom of an element. The padding area is the space between the content of the element and its border. Contrary to margin-bottom values, negative values of padding-bottom are invalid. - */ - paddingBottom?: any; - - /** - * The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and its border. Contrary to margin-left values, negative values of padding-left are invalid. - */ - paddingLeft?: any; - - /** - * The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Contrary to margin-right values, negative values of padding-right are invalid. - */ - paddingRight?: any; - - /** - * The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid. - */ - paddingTop?: any; - - /** - * The page-break-after property is supported in all major browsers. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation. - */ - pageBreakAfter?: any; - - /** - * The page-break-before property sets the page-breaking behavior before an element. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation. - */ - pageBreakBefore?: any; - - /** - * Sets the page-breaking behavior inside an element. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation. - */ - pageBreakInside?: any; - - /** - * The pause property determines how long a speech media agent should pause before and after presenting an element. It is a shorthand for the pause-before and pause-after properties. - */ - pause?: any; - - /** - * The pause-after property determines how long a speech media agent should pause after presenting an element. It may be replaced by the shorthand property pause, which sets pause time before and after. - */ - pauseAfter?: any; - - /** - * The pause-before property determines how long a speech media agent should pause before presenting an element. It may be replaced by the shorthand property pause, which sets pause time before and after. - */ - pauseBefore?: any; - - /** - * The perspective property defines how far an element is placed from the view on the z-axis, from the screen to the viewer. - * Perspective defines how an object is viewed. In graphic arts, perspective is the representation on a flat surface of what the viewer's eye would see in a 3D space. (See Wikipedia for more information about graphical perspective and for related illustrations.) - * The illusion of perspective on a flat surface, such as a computer screen, is created by projecting points on the flat surface as they would appear if the flat surface were a window through which the viewer was looking at the object. In discussion of virtual environments, this flat surface is called a projection plane. - */ - perspective?: any; - - /** - * The perspective-origin property establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element. - * When used with perspective, perspective-origin changes the appearance of an object, as if a viewer were looking at it from a different origin. An object appears differently if a viewer is looking directly at it versus looking at it from below, above, or from the side. Thus, the perspective-origin is like a vanishing point. - * The default value of perspective-origin is 50% 50%. This displays an object as if the viewer's eye were positioned directly at the center of the screen, both top-to-bottom and left-to-right. A value of 0% 0% changes the object as if the viewer was looking toward the top left angle. A value of 100% 100% changes the appearance as if viewed toward the bottom right angle. - */ - perspectiveOrigin?: any; - - /** - * The pointer-events property allows you to control whether an element can be the target for the pointing device (e.g, mouse, pen) events. - */ - pointerEvents?: any; - - /** - * The position property controls the type of positioning used by an element within its parent elements. The effect of the position property depends on a lot of factors, for example the position property of parent elements. - */ - position?: any; - - /** - * Obsolete: unsupported. - * This property determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its "ink" lines up with the first glyph in the line above and below. - */ - punctuationTrim?: any; - - /** - * Sets the type of quotation marks for embedded quotations. - */ - quotes?: any; - - /** - * Controls whether the last region in a chain displays additional 'overset' content according its default overflow property, or if it displays a fragment of content as if it were flowing into a subsequent region. - */ - regionFragment?: any; - - /** - * The rest-after property determines how long a speech media agent should pause after presenting an element's main content, before presenting that element's exit cue sound. It may be replaced by the shorthand property rest, which sets rest time before and after. - */ - restAfter?: any; - - /** - * The rest-before property determines how long a speech media agent should pause after presenting an intro cue sound for an element, before presenting that element's main content. It may be replaced by the shorthand property rest, which sets rest time before and after. - */ - restBefore?: any; - - /** - * Specifies the position an element in relation to the right side of the containing element. - */ - right?: any; - - rubyAlign?: any; - - rubyPosition?: any; - - /** - * Defines the alpha channel threshold used to extract a shape from an image. Can be thought of as a "minimum opacity" threshold; that is, a value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque. - */ - shapeImageThreshold?: any; - - /** - * A future level of CSS Shapes will define a shape-inside property, which will define a shape to wrap content within the element. See Editor's Draft and CSSWG wiki page on next-level plans - */ - shapeInside?: any; - - /** - * Adds a margin to a shape-outside. In effect, defines a new shape that is the smallest contour around all the points that are the shape-margin distance outward perpendicular to each point on the underlying shape. For points where a perpendicular direction is not defined (e.g., a triangle corner), takes all points on a circle centered at the point and with a radius of the shape-margin distance. This property accepts only non-negative values. - */ - shapeMargin?: any; - - /** - * Declares a shape around which text should be wrapped, with possible modifications from the shape-margin property. The shape defined by shape-outside and shape-margin changes the geometry of a float element's float area. - */ - shapeOutside?: any; - - /** - * The speak property determines whether or not a speech synthesizer will read aloud the contents of an element. - */ - speak?: any; - - /** - * The speak-as property determines how the speech synthesizer interprets the content: words as whole words or as a sequence of letters, numbers as a numerical value or a sequence of digits, punctuation as pauses in speech or named punctuation characters. - */ - speakAs?: any; - - /** - * The tab-size CSS property is used to customise the width of a tab (U+0009) character. - */ - tabSize?: any; - - /** - * The 'table-layout' property controls the algorithm used to lay out the table cells, rows, and columns. - */ - tableLayout?: any; - - /** - * The text-align CSS property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements itself, only their inline content. - */ - textAlign?: any; - - /** - * The text-align-last CSS property describes how the last line of a block element or a line before line break is aligned in its parent block element. - */ - textAlignLast?: any; - - /** - * The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink. - * underline and overline decorations are positioned under the text, line-through over it. - */ - textDecoration?: any; - - /** - * Sets the color of any text decoration, such as underlines, overlines, and strike throughs. - */ - textDecorationColor?: any; - - /** - * Sets what kind of line decorations are added to an element, such as underlines, overlines, etc. - */ - textDecorationLine?: any; - - textDecorationLineThrough?: any; - - textDecorationNone?: any; - - textDecorationOverline?: any; - - /** - * Specifies what parts of an element’s content are skipped over when applying any text decoration. - */ - textDecorationSkip?: any; - - /** - * This property specifies the style of the text decoration line drawn on the specified element. The intended meaning for the values are the same as those of the border-style-properties. - */ - textDecorationStyle?: any; - - textDecorationUnderline?: any; - - /** - * The text-emphasis property will apply special emphasis marks to the elements text. Slightly similar to the text-decoration property only that this property can have affect on the line-height. It also is noted that this is shorthand for text-emphasis-style and for text-emphasis-color. - */ - textEmphasis?: any; - - /** - * The text-emphasis-color property specifies the foreground color of the emphasis marks. - */ - textEmphasisColor?: any; - - /** - * The text-emphasis-style property applies special emphasis marks to an element's text. - */ - textEmphasisStyle?: any; - - /** - * This property helps determine an inline box's block-progression dimension, derived from the text-height and font-size properties for non-replaced elements, the height or the width for replaced elements, and the stacked block-progression dimension for inline-block elements. The block-progression dimension determines the position of the padding, border and margin for the element. - */ - textHeight?: any; - - /** - * Specifies the amount of space horizontally that should be left on the first line of the text of an element. This horizontal spacing is at the beginning of the first line and is in respect to the left edge of the containing block box. - */ - textIndent?: any; - - textJustifyTrim?: any; - - textKashidaSpace?: any; - - /** - * The text-line-through property is a shorthand property for text-line-through-style, text-line-through-color and text-line-through-mode. (Considered obsolete; use text-decoration instead.) - */ - textLineThrough?: any; - - /** - * Specifies the line colors for the line-through text decoration. - * (Considered obsolete; use text-decoration-color instead.) - */ - textLineThroughColor?: any; - - /** - * Sets the mode for the line-through text decoration, determining whether the text decoration affects the space characters or not. - * (Considered obsolete; use text-decoration-skip instead.) - */ - textLineThroughMode?: any; - - /** - * Specifies the line style for line-through text decoration. - * (Considered obsolete; use text-decoration-style instead.) - */ - textLineThroughStyle?: any; - - /** - * Specifies the line width for the line-through text decoration. - */ - textLineThroughWidth?: any; - - /** - * The text-overflow shorthand CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string. It covers the two long-hand properties text-overflow-mode and text-overflow-ellipsis - */ - textOverflow?: any; - - /** - * The text-overline property is the shorthand for the text-overline-style, text-overline-width, text-overline-color, and text-overline-mode properties. - */ - textOverline?: any; - - /** - * Specifies the line color for the overline text decoration. - */ - textOverlineColor?: any; - - /** - * Sets the mode for the overline text decoration, determining whether the text decoration affects the space characters or not. - */ - textOverlineMode?: any; - - /** - * Specifies the line style for overline text decoration. - */ - textOverlineStyle?: any; - - /** - * Specifies the line width for the overline text decoration. - */ - textOverlineWidth?: any; - - /** - * The text-rendering CSS property provides information to the browser about how to optimize when rendering text. Options are: legibility, speed or geometric precision. - */ - textRendering?: any; - - /** - * Obsolete: unsupported. - */ - textScript?: any; - - /** - * The CSS text-shadow property applies one or more drop shadows to the text and of an element. Each shadow is specified as an offset from the text, along with optional color and blur radius values. - */ - textShadow?: any; - - /** - * This property transforms text for styling purposes. (It has no effect on the underlying content.) - */ - textTransform?: any; - - /** - * Unsupported. - * This property will add a underline position value to the element that has an underline defined. - */ - textUnderlinePosition?: any; - - /** - * After review this should be replaced by text-decoration should it not? - * This property will set the underline style for text with a line value for underline, overline, and line-through. - */ - textUnderlineStyle?: any; - - /** - * This property specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the top edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties). - */ - top?: any; - - /** - * Determines whether touch input may trigger default behavior supplied by the user agent, such as panning or zooming. - */ - touchAction?: any; - - /** - * CSS transforms allow elements styled with CSS to be transformed in two-dimensional or three-dimensional space. Using this property, elements can be translated, rotated, scaled, and skewed. The value list may consist of 2D and/or 3D transform values. - */ - transform?: any; - - /** - * This property defines the origin of the transformation axes relative to the element to which the transformation is applied. - */ - transformOrigin?: any; - - /** - * This property allows you to define the relative position of the origin of the transformation grid along the z-axis. - */ - transformOriginZ?: any; - - /** - * This property specifies how nested elements are rendered in 3D space relative to their parent. - */ - transformStyle?: any; - - /** - * The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay. It allows to define the transition between two states of an element. - */ - transition?: any; - - /** - * Defines when the transition will start. A value of ‘0s’ means the transition will execute as soon as the property is changed. Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset. - */ - transitionDelay?: any; - - /** - * The 'transition-duration' property specifies the length of time a transition animation takes to complete. - */ - transitionDuration?: any; - - /** - * The 'transition-property' property specifies the name of the CSS property to which the transition is applied. - */ - transitionProperty?: any; - - /** - * Sets the pace of action within a transition - */ - transitionTimingFunction?: any; - - /** - * The unicode-bidi CSS property specifies the level of embedding with respect to the bidirectional algorithm. - */ - unicodeBidi?: any; - - /** - * unicode-range allows you to set a specific range of characters to be downloaded from a font (embedded using @font-face) and made available for use on the current page. - */ - unicodeRange?: any; - - /** - * This is for all the high level UX stuff. - */ - userFocus?: any; - - /** - * For inputing user content - */ - userInput?: any; - - /** - * The vertical-align property controls how inline elements or text are vertically aligned compared to the baseline. If this property is used on table-cells it controls the vertical alignment of content of the table cell. - */ - verticalAlign?: any; - - /** - * The visibility property specifies whether the boxes generated by an element are rendered. - */ - visibility?: any; - - /** - * The voice-balance property sets the apparent position (in stereo sound) of the synthesized voice for spoken media. - */ - voiceBalance?: any; - - /** - * The voice-duration property allows the author to explicitly set the amount of time it should take a speech synthesizer to read an element's content, for example to allow the speech to be synchronized with other media. With a value of auto (the default) the length of time it takes to read the content is determined by the content itself and the voice-rate property. - */ - voiceDuration?: any; - - /** - * The voice-family property sets the speaker's voice used by a speech media agent to read an element. The speaker may be specified as a named character (to match a voice option in the speech reading software) or as a generic description of the age and gender of the voice. Similar to the font-family property for visual media, a comma-separated list of fallback options may be given in case the speech reader does not recognize the character name or cannot synthesize the requested combination of generic properties. - */ - voiceFamily?: any; - - /** - * The voice-pitch property sets pitch or tone (high or low) for the synthesized speech when reading an element; the pitch may be specified absolutely or relative to the normal pitch for the voice-family used to read the text. - */ - voicePitch?: any; - - /** - * The voice-range property determines how much variation in pitch or tone will be created by the speech synthesize when reading an element. Emphasized text, grammatical structures and punctuation may all be rendered as changes in pitch, this property determines how strong or obvious those changes are; large ranges are associated with enthusiastic or emotional speech, while small ranges are associated with flat or mechanical speech. - */ - voiceRange?: any; - - /** - * The voice-rate property sets the speed at which the voice synthesized by a speech media agent will read content. - */ - voiceRate?: any; - - /** - * The voice-stress property sets the level of vocal emphasis to be used for synthesized speech reading the element. - */ - voiceStress?: any; - - /** - * The voice-volume property sets the volume for spoken content in speech media. It replaces the deprecated volume property. - */ - voiceVolume?: any; - - /** - * The white-space property controls whether and how white space inside the element is collapsed, and whether lines may wrap at unforced "soft wrap" opportunities. - */ - whiteSpace?: any; - - /** - * Obsolete: unsupported. - */ - whiteSpaceTreatment?: any; - - /** - * Specifies the width of the content area of an element. The content area of the element width does not include the padding, border, and margin of the element. - */ - width?: any; - - /** - * The word-break property is often used when there is long generated content that is strung together without and spaces or hyphens to beak apart. A common case of this is when there is a long URL that does not have any hyphens. This case could potentially cause the breaking of the layout as it could extend past the parent element. - */ - wordBreak?: any; - - /** - * The word-spacing CSS property specifies the spacing behavior between "words". - */ - wordSpacing?: any; - - /** - * An alias of css/properties/overflow-wrap, word-wrap defines whether to break words when the content exceeds the boundaries of its container. - */ - wordWrap?: any; - - /** - * Specifies how exclusions affect inline content within block-level elements. Elements lay out their inline content in their content area but wrap around exclusion areas. - */ - wrapFlow?: any; - - /** - * Set the value that is used to offset the inner wrap shape from other shapes. Inline content that intersects a shape with this property will be pushed by this shape's margin. - */ - wrapMargin?: any; - - /** - * Obsolete and unsupported. Do not use. - * This CSS property controls the text when it reaches the end of the block in which it is enclosed. - */ - wrapOption?: any; - - /** - * writing-mode specifies if lines of text are laid out horizontally or vertically, and the direction which lines of text and blocks progress. - */ - writingMode?: any; - - - [propertyName: string]: any; - } - - interface HTMLAttributes extends DOMAttributes { - // React-specific Attributes - defaultChecked?: boolean; - defaultValue?: string | string[]; - - // Standard HTML Attributes - accept?: string; - acceptCharset?: string; - accessKey?: string; - action?: string; - allowFullScreen?: boolean; - allowTransparency?: boolean; - alt?: string; - async?: boolean; - autoComplete?: string; - autoFocus?: boolean; - autoPlay?: boolean; - capture?: boolean; - cellPadding?: number | string; - cellSpacing?: number | string; - charSet?: string; - challenge?: string; - checked?: boolean; - classID?: string; - className?: string; - cols?: number; - colSpan?: number; - content?: string; - contentEditable?: boolean; - contextMenu?: string; - controls?: boolean; - coords?: string; - crossOrigin?: string; - data?: string; - dateTime?: string; - default?: boolean; - defer?: boolean; - dir?: string; - disabled?: boolean; - download?: any; - draggable?: boolean; - encType?: string; - form?: string; - formAction?: string; - formEncType?: string; - formMethod?: string; - formNoValidate?: boolean; - formTarget?: string; - frameBorder?: number | string; - headers?: string; - height?: number | string; - hidden?: boolean; - high?: number; - href?: string; - hrefLang?: string; - htmlFor?: string; - httpEquiv?: string; - icon?: string; - id?: string; - inputMode?: string; - integrity?: string; - is?: string; - keyParams?: string; - keyType?: string; - kind?: string; - label?: string; - lang?: string; - list?: string; - loop?: boolean; - low?: number; - manifest?: string; - marginHeight?: number; - marginWidth?: number; - max?: number | string; - maxLength?: number; - media?: string; - mediaGroup?: string; - method?: string; - min?: number | string; - minLength?: number; - multiple?: boolean; - muted?: boolean; - name?: string; - noValidate?: boolean; - open?: boolean; - optimum?: number; - pattern?: string; - placeholder?: string; - poster?: string; - preload?: string; - radioGroup?: string; - readOnly?: boolean; - rel?: string; - required?: boolean; - role?: string; - rows?: number; - rowSpan?: number; - sandbox?: string; - scope?: string; - scoped?: boolean; - scrolling?: string; - seamless?: boolean; - selected?: boolean; - shape?: string; - size?: number; - sizes?: string; - span?: number; - spellCheck?: boolean; - src?: string; - srcDoc?: string; - srcLang?: string; - srcSet?: string; - start?: number; - step?: number | string; - style?: CSSProperties; - summary?: string; - tabIndex?: number; - target?: string; - title?: string; - type?: string; - useMap?: string; - value?: string | string[]; - width?: number | string; - wmode?: string; - wrap?: string; - - // RDFa Attributes - about?: string; - datatype?: string; - inlist?: any; - prefix?: string; - property?: string; - resource?: string; - typeof?: string; - vocab?: string; - - // Non-standard Attributes - autoCapitalize?: string; - autoCorrect?: string; - autoSave?: string; - color?: string; - itemProp?: string; - itemScope?: boolean; - itemType?: string; - itemID?: string; - itemRef?: string; - results?: number; - security?: string; - unselectable?: boolean; - - // Allows aria- and data- Attributes - [key: string]: any; - } - - interface SVGAttributes extends HTMLAttributes { - clipPath?: string; - cx?: number | string; - cy?: number | string; - d?: string; - dx?: number | string; - dy?: number | string; - fill?: string; - fillOpacity?: number | string; - fontFamily?: string; - fontSize?: number | string; - fx?: number | string; - fy?: number | string; - gradientTransform?: string; - gradientUnits?: string; - markerEnd?: string; - markerMid?: string; - markerStart?: string; - offset?: number | string; - opacity?: number | string; - patternContentUnits?: string; - patternUnits?: string; - points?: string; - preserveAspectRatio?: string; - r?: number | string; - rx?: number | string; - ry?: number | string; - spreadMethod?: string; - stopColor?: string; - stopOpacity?: number | string; - stroke?: string; - strokeDasharray?: string; - strokeLinecap?: string; - strokeMiterlimit?: string; - strokeOpacity?: number | string; - strokeWidth?: number | string; - textAnchor?: string; - transform?: string; - version?: string; - viewBox?: string; - x1?: number | string; - x2?: number | string; - x?: number | string; - xlinkActuate?: string; - xlinkArcrole?: string; - xlinkHref?: string; - xlinkRole?: string; - xlinkShow?: string; - xlinkTitle?: string; - xlinkType?: string; - xmlBase?: string; - xmlLang?: string; - xmlSpace?: string; - y1?: number | string; - y2?: number | string; - y?: number | string; - } - - // - // React.DOM - // ---------------------------------------------------------------------- - - interface ReactDOM { - // HTML - a: HTMLFactory; - abbr: HTMLFactory; - address: HTMLFactory; - area: HTMLFactory; - article: HTMLFactory; - aside: HTMLFactory; - audio: HTMLFactory; - b: HTMLFactory; - base: HTMLFactory; - bdi: HTMLFactory; - bdo: HTMLFactory; - big: HTMLFactory; - blockquote: HTMLFactory; - body: HTMLFactory; - br: HTMLFactory; - button: HTMLFactory; - canvas: HTMLFactory; - caption: HTMLFactory; - cite: HTMLFactory; - code: HTMLFactory; - col: HTMLFactory; - colgroup: HTMLFactory; - data: HTMLFactory; - datalist: HTMLFactory; - dd: HTMLFactory; - del: HTMLFactory; - details: HTMLFactory; - dfn: HTMLFactory; - dialog: HTMLFactory; - div: HTMLFactory; - dl: HTMLFactory; - dt: HTMLFactory; - em: HTMLFactory; - embed: HTMLFactory; - fieldset: HTMLFactory; - figcaption: HTMLFactory; - figure: HTMLFactory; - footer: HTMLFactory; - form: HTMLFactory; - h1: HTMLFactory; - h2: HTMLFactory; - h3: HTMLFactory; - h4: HTMLFactory; - h5: HTMLFactory; - h6: HTMLFactory; - head: HTMLFactory; - header: HTMLFactory; - hgroup: HTMLFactory; - hr: HTMLFactory; - html: HTMLFactory; - i: HTMLFactory; - iframe: HTMLFactory; - img: HTMLFactory; - input: HTMLFactory; - ins: HTMLFactory; - kbd: HTMLFactory; - keygen: HTMLFactory; - label: HTMLFactory; - legend: HTMLFactory; - li: HTMLFactory; - link: HTMLFactory; - main: HTMLFactory; - map: HTMLFactory; - mark: HTMLFactory; - menu: HTMLFactory; - menuitem: HTMLFactory; - meta: HTMLFactory; - meter: HTMLFactory; - nav: HTMLFactory; - noscript: HTMLFactory; - object: HTMLFactory; - ol: HTMLFactory; - optgroup: HTMLFactory; - option: HTMLFactory; - output: HTMLFactory; - p: HTMLFactory; - param: HTMLFactory; - picture: HTMLFactory; - pre: HTMLFactory; - progress: HTMLFactory; - q: HTMLFactory; - rp: HTMLFactory; - rt: HTMLFactory; - ruby: HTMLFactory; - s: HTMLFactory; - samp: HTMLFactory; - script: HTMLFactory; - section: HTMLFactory; - select: HTMLFactory; - small: HTMLFactory; - source: HTMLFactory; - span: HTMLFactory; - strong: HTMLFactory; - style: HTMLFactory; - sub: HTMLFactory; - summary: HTMLFactory; - sup: HTMLFactory; - table: HTMLFactory; - tbody: HTMLFactory; - td: HTMLFactory; - textarea: HTMLFactory; - tfoot: HTMLFactory; - th: HTMLFactory; - thead: HTMLFactory; - time: HTMLFactory; - title: HTMLFactory; - tr: HTMLFactory; - track: HTMLFactory; - u: HTMLFactory; - ul: HTMLFactory; - "var": HTMLFactory; - video: HTMLFactory; - wbr: HTMLFactory; - - // SVG - svg: SVGFactory; - circle: SVGFactory; - defs: SVGFactory; - ellipse: SVGFactory; - g: SVGFactory; - image: SVGFactory; - line: SVGFactory; - linearGradient: SVGFactory; - mask: SVGFactory; - path: SVGFactory; - pattern: SVGFactory; - polygon: SVGFactory; - polyline: SVGFactory; - radialGradient: SVGFactory; - rect: SVGFactory; - stop: SVGFactory; - text: SVGFactory; - tspan: SVGFactory; - } - - // - // React.PropTypes - // ---------------------------------------------------------------------- - - interface Validator { - (object: T, key: string, componentName: string): Error; - } - - interface Requireable extends Validator { - isRequired: Validator; - } - - interface ValidationMap { - [key: string]: Validator; - } - - interface ReactPropTypes { - any: Requireable; - array: Requireable; - bool: Requireable; - func: Requireable; - number: Requireable; - object: Requireable; - string: Requireable; - node: Requireable; - element: Requireable; - instanceOf(expectedClass: {}): Requireable; - oneOf(types: any[]): Requireable; - oneOfType(types: Validator[]): Requireable; - arrayOf(type: Validator): Requireable; - objectOf(type: Validator): Requireable; - shape(type: ValidationMap): Requireable; - } - - // - // React.Children - // ---------------------------------------------------------------------- - - interface ReactChildren { - map(children: ReactNode, fn: (child: ReactChild, index: number) => T): T[]; - forEach(children: ReactNode, fn: (child: ReactChild, index: number) => any): void; - count(children: ReactNode): number; - only(children: ReactNode): ReactElement; - toArray(children: ReactNode): ReactChild[]; - } - - // - // Browser Interfaces - // https://github.com/nikeee/2048-typescript/blob/master/2048/js/touch.d.ts - // ---------------------------------------------------------------------- - - interface AbstractView { - styleMedia: StyleMedia; - document: Document; - } - - interface Touch { - identifier: number; - target: EventTarget; - screenX: number; - screenY: number; - clientX: number; - clientY: number; - pageX: number; - pageY: number; - } - - interface TouchList { - [index: number]: Touch; - length: number; - item(index: number): Touch; - identifiedTouch(identifier: number): Touch; - } -} - -declare module "react" { - export = __React; -} - -declare namespace JSX { - import React = __React; - - interface Element extends React.ReactElement { } - interface ElementClass extends React.Component { - render(): JSX.Element; - } - interface ElementAttributesProperty { props: {}; } - - interface IntrinsicAttributes { - key?: string | number; - } - - interface IntrinsicClassAttributes { - ref?: string | ((classInstance: T) => void); - } - - interface IntrinsicElements { - // HTML - a: React.HTMLProps; - abbr: React.HTMLProps; - address: React.HTMLProps; - area: React.HTMLProps; - article: React.HTMLProps; - aside: React.HTMLProps; - audio: React.HTMLProps; - b: React.HTMLProps; - base: React.HTMLProps; - bdi: React.HTMLProps; - bdo: React.HTMLProps; - big: React.HTMLProps; - blockquote: React.HTMLProps; - body: React.HTMLProps; - br: React.HTMLProps; - button: React.HTMLProps; - canvas: React.HTMLProps; - caption: React.HTMLProps; - cite: React.HTMLProps; - code: React.HTMLProps; - col: React.HTMLProps; - colgroup: React.HTMLProps; - data: React.HTMLProps; - datalist: React.HTMLProps; - dd: React.HTMLProps; - del: React.HTMLProps; - details: React.HTMLProps; - dfn: React.HTMLProps; - dialog: React.HTMLProps; - div: React.HTMLProps; - dl: React.HTMLProps; - dt: React.HTMLProps; - em: React.HTMLProps; - embed: React.HTMLProps; - fieldset: React.HTMLProps; - figcaption: React.HTMLProps; - figure: React.HTMLProps; - footer: React.HTMLProps; - form: React.HTMLProps; - h1: React.HTMLProps; - h2: React.HTMLProps; - h3: React.HTMLProps; - h4: React.HTMLProps; - h5: React.HTMLProps; - h6: React.HTMLProps; - head: React.HTMLProps; - header: React.HTMLProps; - hgroup: React.HTMLProps; - hr: React.HTMLProps; - html: React.HTMLProps; - i: React.HTMLProps; - iframe: React.HTMLProps; - img: React.HTMLProps; - input: React.HTMLProps; - ins: React.HTMLProps; - kbd: React.HTMLProps; - keygen: React.HTMLProps; - label: React.HTMLProps; - legend: React.HTMLProps; - li: React.HTMLProps; - link: React.HTMLProps; - main: React.HTMLProps; - map: React.HTMLProps; - mark: React.HTMLProps; - menu: React.HTMLProps; - menuitem: React.HTMLProps; - meta: React.HTMLProps; - meter: React.HTMLProps; - nav: React.HTMLProps; - noscript: React.HTMLProps; - object: React.HTMLProps; - ol: React.HTMLProps; - optgroup: React.HTMLProps; - option: React.HTMLProps; - output: React.HTMLProps; - p: React.HTMLProps; - param: React.HTMLProps; - picture: React.HTMLProps; - pre: React.HTMLProps; - progress: React.HTMLProps; - q: React.HTMLProps; - rp: React.HTMLProps; - rt: React.HTMLProps; - ruby: React.HTMLProps; - s: React.HTMLProps; - samp: React.HTMLProps; - script: React.HTMLProps; - section: React.HTMLProps; - select: React.HTMLProps; - small: React.HTMLProps; - source: React.HTMLProps; - span: React.HTMLProps; - strong: React.HTMLProps; - style: React.HTMLProps; - sub: React.HTMLProps; - summary: React.HTMLProps; - sup: React.HTMLProps; - table: React.HTMLProps; - tbody: React.HTMLProps; - td: React.HTMLProps; - textarea: React.HTMLProps; - tfoot: React.HTMLProps; - th: React.HTMLProps; - thead: React.HTMLProps; - time: React.HTMLProps; - title: React.HTMLProps; - tr: React.HTMLProps; - track: React.HTMLProps; - u: React.HTMLProps; - ul: React.HTMLProps; - "var": React.HTMLProps; - video: React.HTMLProps; - wbr: React.HTMLProps; - - // SVG - svg: React.SVGProps; - - circle: React.SVGProps; - clipPath: React.SVGProps; - defs: React.SVGProps; - ellipse: React.SVGProps; - g: React.SVGProps; - image: React.SVGProps; - line: React.SVGProps; - linearGradient: React.SVGProps; - mask: React.SVGProps; - path: React.SVGProps; - pattern: React.SVGProps; - polygon: React.SVGProps; - polyline: React.SVGProps; - radialGradient: React.SVGProps; - rect: React.SVGProps; - stop: React.SVGProps; - text: React.SVGProps; - tspan: React.SVGProps; - } -} diff --git a/samples/angular-mostpopularitems/typings/systemjs/systemjs.d.ts b/samples/angular-mostpopularitems/typings/systemjs/systemjs.d.ts deleted file mode 100644 index c63a79158..000000000 --- a/samples/angular-mostpopularitems/typings/systemjs/systemjs.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Type definitions for System.js 0.18.4 -// Project: https://github.com/systemjs/systemjs -// Definitions by: Ludovic HENIN , Nathan Walker -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -interface System { - import(name: string): any; - defined: any; - amdDefine: () => void; - amdRequire: () => void; - baseURL: string; - paths: { [key: string]: string }; - meta: { [key: string]: Object }; - config: any; -} - -declare var System: System; - -declare module "systemjs" { - export = System; -} \ No newline at end of file diff --git a/samples/angular-mostpopularitems/typings/tsd.d.ts b/samples/angular-mostpopularitems/typings/tsd.d.ts deleted file mode 100644 index 7c09cd9ef..000000000 --- a/samples/angular-mostpopularitems/typings/tsd.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// diff --git a/samples/angular-mostpopularitems/typings/whatwg-fetch/whatwg-fetch.d.ts b/samples/angular-mostpopularitems/typings/whatwg-fetch/whatwg-fetch.d.ts deleted file mode 100644 index c803b553a..000000000 --- a/samples/angular-mostpopularitems/typings/whatwg-fetch/whatwg-fetch.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -// Type definitions for fetch API -// Project: https://github.com/github/fetch -// Definitions by: Ryan Graham -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// - -declare class Request extends Body { - constructor(input: string|Request, init?:RequestInit); - method: string; - url: string; - headers: Headers; - context: string|RequestContext; - referrer: string; - mode: string|RequestMode; - credentials: string|RequestCredentials; - cache: string|RequestCache; -} - -interface RequestInit { - method?: string; - headers?: HeaderInit|{ [index: string]: string }; - body?: BodyInit; - mode?: string|RequestMode; - credentials?: string|RequestCredentials; - cache?: string|RequestCache; -} - -declare enum RequestContext { - "audio", "beacon", "cspreport", "download", "embed", "eventsource", "favicon", "fetch", - "font", "form", "frame", "hyperlink", "iframe", "image", "imageset", "import", - "internal", "location", "manifest", "object", "ping", "plugin", "prefetch", "script", - "serviceworker", "sharedworker", "subresource", "style", "track", "video", "worker", - "xmlhttprequest", "xslt" -} -declare enum RequestMode { "same-origin", "no-cors", "cors" } -declare enum RequestCredentials { "omit", "same-origin", "include" } -declare enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" } - -declare class Headers { - append(name: string, value: string): void; - delete(name: string):void; - get(name: string): string; - getAll(name: string): Array; - has(name: string): boolean; - set(name: string, value: string): void; -} - -declare class Body { - bodyUsed: boolean; - arrayBuffer(): Promise; - blob(): Promise; - formData(): Promise; - json(): Promise; - json(): Promise; - text(): Promise; -} -declare class Response extends Body { - constructor(body?: BodyInit, init?: ResponseInit); - error(): Response; - redirect(url: string, status: number): Response; - type: string|ResponseType; - url: string; - status: number; - ok: boolean; - statusText: string; - headers: Headers; - clone(): Response; -} - -declare enum ResponseType { "basic", "cors", "default", "error", "opaque" } - -interface ResponseInit { - status: number; - statusText?: string; - headers?: HeaderInit; -} - -declare type HeaderInit = Headers|Array; -declare type BodyInit = Blob|FormData|string; -declare type RequestInfo = Request|string; - -interface Window { - fetch(url: string|Request, init?: RequestInit): Promise; -} - -declare var fetch: typeof window.fetch; diff --git a/samples/angular-yammer/.editorconfig b/samples/angular-yammer/.editorconfig deleted file mode 100644 index 8ffcdc4ec..000000000 --- a/samples/angular-yammer/.editorconfig +++ /dev/null @@ -1,25 +0,0 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# editorconfig.org - -root = true - - -[*] - -# change these settings to your own preference -indent_style = space -indent_size = 2 - -# we recommend you to keep these unchanged -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false - -[{package,bower}.json] -indent_style = space -indent_size = 2 \ No newline at end of file diff --git a/samples/angular-yammer/.gitattributes b/samples/angular-yammer/.gitattributes deleted file mode 100644 index 212566614..000000000 --- a/samples/angular-yammer/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto \ No newline at end of file diff --git a/samples/angular-yammer/.gitignore b/samples/angular-yammer/.gitignore deleted file mode 100644 index b19bbe123..000000000 --- a/samples/angular-yammer/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Dependency directories -node_modules - -# Build generated files -dist -lib -solution -temp -*.sppkg - -# Coverage directory used by tools like istanbul -coverage - -# OSX -.DS_Store - -# Visual Studio files -.ntvs_analysis.dat -.vs -bin -obj - -# Resx Generated Code -*.resx.ts - -# Styles Generated Code -*.scss.ts diff --git a/samples/angular-yammer/.npmignore b/samples/angular-yammer/.npmignore deleted file mode 100644 index 2c93a9384..000000000 --- a/samples/angular-yammer/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -# Folders -.vscode -coverage -node_modules -sharepoint -src -temp - -# Files -*.csproj -.git* -.yo-rc.json -gulpfile.js -tsconfig.json diff --git a/samples/angular-yammer/.yo-rc.json b/samples/angular-yammer/.yo-rc.json deleted file mode 100644 index 0ba7799e2..000000000 --- a/samples/angular-yammer/.yo-rc.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "@microsoft/generator-sharepoint": { - "libraryName": "angular-yammer", - "framework": "none", - "version": "1.0.0", - "libraryId": "f3f740d2-5a08-4e10-8f7c-b64846dc4f23" - } -} \ No newline at end of file diff --git a/samples/angular-yammer/README.md b/samples/angular-yammer/README.md deleted file mode 100644 index c26985393..000000000 --- a/samples/angular-yammer/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# Yammer Feed WebPart using Angular - -## Summary - -This Web Part displays the feeds from yammer using https://c64.assets-yammer.com/assets/platform_embed.js. - -![Yammer Feed WebPart using Angular](./assets/feed.PNG) -![Yammer Feed WebPart Properties](./assets/properties.PNG) - -## Used SharePoint Framework Version -![drop](https://img.shields.io/badge/version-GA-green.svg) - -## Applies to - -* [SharePoint Framework](https://dev.office.com/sharepoint/docs/spfx/sharepoint-framework-overview) -* [SharePoint Online Tenant](https://dev.office.com/sharepoint/docs/spfx/set-up-your-developer-tenant) - -## Solution - -Solution|Author(s) ---------|--------- -angular-yammer|Joseph Velliah (SPRIDER, @sprider) - -## Version history - -Version|Date|Comments --------|----|-------- -1.0|March 03, 2017|Initial release - -## Disclaimer -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** - ---- - -## Minimal Path to Awesome - -- clone this repo -- in the command line run: - - `npm i` - - `tsd install` - - `gulp serve` - -## Features - -The Yammer Feed is a sample Client-Side Web Part built on the SharePoint Framework using Angular. - -This Web Part illustrates the following concepts on top of the SharePoint Framework: - -- using Angular for building SharePoint Framework Client-Side Web Parts -- including Angular in the Web Part bundle -- using non-reactive Web Part Property Pane and custom Properties -- using conditional rendering for one-time Web Part setup -- passing Web Part configuration to Angular and reacting to configuration changes -- display the yammer feed based on configuration changes - - \ No newline at end of file diff --git a/samples/angular-yammer/assets/feed.PNG b/samples/angular-yammer/assets/feed.PNG deleted file mode 100644 index 6dfc919a4..000000000 Binary files a/samples/angular-yammer/assets/feed.PNG and /dev/null differ diff --git a/samples/angular-yammer/assets/properties.PNG b/samples/angular-yammer/assets/properties.PNG deleted file mode 100644 index 78e86eace..000000000 Binary files a/samples/angular-yammer/assets/properties.PNG and /dev/null differ diff --git a/samples/angular-yammer/config/config.json b/samples/angular-yammer/config/config.json deleted file mode 100644 index d3efa29c3..000000000 --- a/samples/angular-yammer/config/config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "entries": [ - { - "entry": "./lib/webparts/angularYammer/AngularYammerWebPart.js", - "manifest": "./src/webparts/angularYammer/AngularYammerWebPart.manifest.json", - "outputPath": "./dist/angular-yammer.bundle.js" - } - ], - "externals": {}, - "localizedResources": { - "angularYammerStrings": "webparts/angularYammer/loc/{locale}.js" - } -} diff --git a/samples/angular-yammer/config/copy-assets.json b/samples/angular-yammer/config/copy-assets.json deleted file mode 100644 index 6aca63656..000000000 --- a/samples/angular-yammer/config/copy-assets.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "deployCdnPath": "temp/deploy" -} diff --git a/samples/angular-yammer/config/deploy-azure-storage.json b/samples/angular-yammer/config/deploy-azure-storage.json deleted file mode 100644 index 22893ee6a..000000000 --- a/samples/angular-yammer/config/deploy-azure-storage.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "workingDir": "./temp/deploy/", - "account": "", - "container": "angular-yammer", - "accessKey": "" -} \ No newline at end of file diff --git a/samples/angular-yammer/config/package-solution.json b/samples/angular-yammer/config/package-solution.json deleted file mode 100644 index 3910a7804..000000000 --- a/samples/angular-yammer/config/package-solution.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "solution": { - "name": "angular-yammer-client-side-solution", - "id": "f3f740d2-5a08-4e10-8f7c-b64846dc4f23", - "version": "1.0.0.0" - }, - "paths": { - "zippedPackage": "solution/angular-yammer.sppkg" - } -} diff --git a/samples/angular-yammer/config/serve.json b/samples/angular-yammer/config/serve.json deleted file mode 100644 index 087899637..000000000 --- a/samples/angular-yammer/config/serve.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "port": 4321, - "initialPage": "https://localhost:5432/workbench", - "https": true, - "api": { - "port": 5432, - "entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" - } -} diff --git a/samples/angular-yammer/config/tslint.json b/samples/angular-yammer/config/tslint.json deleted file mode 100644 index 3c085daaf..000000000 --- a/samples/angular-yammer/config/tslint.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - // Display errors as warnings - "displayAsWarning": true, - // The TSLint task may have been configured with several custom lint rules - // before this config file is read (for example lint rules from the tslint-microsoft-contrib - // project). If true, this flag will deactivate any of these rules. - "removeExistingRules": true, - // When true, the TSLint task is configured with some default TSLint "rules.": - "useDefaultConfigAsBase": false, - // Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules - // which are active, other than the list of rules below. - "lintConfig": { - // Opt-in to Lint rules which help to eliminate bugs in JavaScript - "rules": { - "class-name": false, - "export-name": false, - "forin": false, - "label-position": false, - "member-access": true, - "no-arg": false, - "no-console": false, - "no-construct": false, - "no-duplicate-case": true, - "no-duplicate-variable": true, - "no-eval": false, - "no-function-expression": true, - "no-internal-module": true, - "no-shadowed-variable": true, - "no-switch-case-fall-through": true, - "no-unnecessary-semicolons": true, - "no-unused-expression": true, - "no-unused-imports": true, - "no-use-before-declare": true, - "no-with-statement": true, - "semicolon": true, - "trailing-comma": false, - "typedef": false, - "typedef-whitespace": false, - "use-named-parameter": true, - "valid-typeof": true, - "variable-name": false, - "whitespace": false, - "prefer-const": true - } - } -} \ No newline at end of file diff --git a/samples/angular-yammer/config/write-manifests.json b/samples/angular-yammer/config/write-manifests.json deleted file mode 100644 index 0a4bafb06..000000000 --- a/samples/angular-yammer/config/write-manifests.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "cdnBasePath": "" -} \ No newline at end of file diff --git a/samples/angular-yammer/gulpfile.js b/samples/angular-yammer/gulpfile.js deleted file mode 100644 index 7d36ddb1c..000000000 --- a/samples/angular-yammer/gulpfile.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -const gulp = require('gulp'); -const build = require('@microsoft/sp-build-web'); - -build.initialize(gulp); diff --git a/samples/angular-yammer/package.json b/samples/angular-yammer/package.json deleted file mode 100644 index a4051d646..000000000 --- a/samples/angular-yammer/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "name": "angular-yammer", - "version": "0.0.1", - "private": true, - "engines": { - "node": ">=0.10.0" - }, - "dependencies": { - "@microsoft/sp-client-base": "~1.0.0", - "@microsoft/sp-core-library": "~1.0.0", - "@microsoft/sp-webpart-base": "~1.0.0", - "@types/webpack-env": ">=1.12.1 <1.14.0", - "angular": "^1.6.2" - }, - "devDependencies": { - "@microsoft/sp-build-web": "~1.0.0", - "@microsoft/sp-module-interfaces": "~1.0.0", - "@microsoft/sp-webpart-workbench": "~1.0.0", - "gulp": "~3.9.1", - "@types/chai": ">=3.4.34 <3.6.0", - "@types/mocha": ">=2.2.33 <2.6.0" - }, - "scripts": { - "build": "gulp bundle", - "clean": "gulp clean", - "test": "gulp test" - } -} diff --git a/samples/angular-yammer/src/webparts/angularYammer/AngularYammer.module.scss b/samples/angular-yammer/src/webparts/angularYammer/AngularYammer.module.scss deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/angular-yammer/src/webparts/angularYammer/AngularYammerWebPart.manifest.json b/samples/angular-yammer/src/webparts/angularYammer/AngularYammerWebPart.manifest.json deleted file mode 100644 index 6d89e1a32..000000000 --- a/samples/angular-yammer/src/webparts/angularYammer/AngularYammerWebPart.manifest.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json", - - "id": "0d6ed52f-59a5-452e-aeb5-856d59a5105e", - "alias": "AngularYammerWebPart", - "componentType": "WebPart", - "version": "0.0.1", - "manifestVersion": 2, - - "preconfiguredEntries": [{ - "groupId": "0d6ed52f-59a5-452e-aeb5-856d59a5105e", - "group": { "default": "Under Development" }, - "title": { "default": "angular-yammer" }, - "description": { "default": "Yammer Feed Add-in" }, - "officeFabricIconFontName": "Page", - "properties": { - "network": "domain.com", - "feedType": "group", - "defaultGroupId": 10869974, - "showOpenGraphPreview": false, - "promptText": "Your thoughts?", - "header": false, - "footer": false - } - }] -} diff --git a/samples/angular-yammer/src/webparts/angularYammer/AngularYammerWebPart.ts b/samples/angular-yammer/src/webparts/angularYammer/AngularYammerWebPart.ts deleted file mode 100644 index 2d65c1ad8..000000000 --- a/samples/angular-yammer/src/webparts/angularYammer/AngularYammerWebPart.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { Version } from '@microsoft/sp-core-library'; -import { - BaseClientSideWebPart, - IPropertyPaneConfiguration, - PropertyPaneTextField, - PropertyPaneToggle, - PropertyPaneSlider, - PropertyPaneDropdown, - IWebPartContext -} from '@microsoft/sp-webpart-base'; -import { escape } from '@microsoft/sp-lodash-subset'; -import { Environment, EnvironmentType } from '@microsoft/sp-core-library'; -import styles from './AngularYammer.module.scss'; -import * as strings from 'angularYammerStrings'; -import { IAngularYammerWebPartProps } from './IAngularYammerWebPartProps'; -import * as angular from 'angular'; - -export default class AngularYammerWebPart extends BaseClientSideWebPart { - - private $injector: angular.auto.IInjectorService; - - public render(): void { - - if (this.renderedOnce === false) { - require('./app/home.controller.js'); - this.domElement.innerHTML = ` -

`; - this.$injector = angular.bootstrap(this.domElement, ['yammerApp']); - } - - this.$injector.get('$rootScope').$broadcast('configurationChanged', { - network : escape(this.properties.network), - feedType : escape(this.properties.feedType), - defaultGroupId: this.properties.defaultGroupId, - showOpenGraphPreview: this.properties.showOpenGraphPreview, - promptText: escape(this.properties.promptText), - header: this.properties.header, - footer: this.properties.footer, - environment: Environment.type, - environmentType: EnvironmentType, - domElement: this.domElement - }); - } - - protected get dataVersion(): Version { - return Version.parse('1.0'); - } - - protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration { - return { - pages: [ - { - header: { - description: strings.PropertyPaneDescription - }, - groups: [ - { - groupName: strings.BasicGroupName, - groupFields: [ - PropertyPaneTextField('network', { - label: strings.NetworkFieldLabel - }), - PropertyPaneTextField('feedtype', { - label: strings.FeedTypeFieldLabel - }), - PropertyPaneTextField('defaultGroupId', { - label: strings.DefaultGroupIdFieldLabel - }), - PropertyPaneToggle('showOpenGraphPreview', { - label: strings.ShowOpenGraphPreviewFieldLabel, - onText: 'On', - offText: 'Off' - }), - PropertyPaneTextField('promptText', { - label: strings.PromptTextFieldLabel - }), - PropertyPaneToggle('header', { - label: strings.HeaderFieldLabel, - onText: 'On', - offText: 'Off' - }), - PropertyPaneToggle('footer', { - label: strings.FooterFieldLabel, - onText: 'On', - offText: 'Off' - }) - ] - } - ] - } - ] - }; - } - - protected get disableReactivePropertyChanges(): boolean { - return true; - } -} diff --git a/samples/angular-yammer/src/webparts/angularYammer/IAngularYammerWebPartProps.ts b/samples/angular-yammer/src/webparts/angularYammer/IAngularYammerWebPartProps.ts deleted file mode 100644 index 2769429c0..000000000 --- a/samples/angular-yammer/src/webparts/angularYammer/IAngularYammerWebPartProps.ts +++ /dev/null @@ -1,9 +0,0 @@ -export interface IAngularYammerWebPartProps { - network: string; - feedType: string; - defaultGroupId: number; - showOpenGraphPreview: boolean; - promptText: string; - header: boolean; - footer: boolean; -} diff --git a/samples/angular-yammer/src/webparts/angularYammer/app/home.controller.js b/samples/angular-yammer/src/webparts/angularYammer/app/home.controller.js deleted file mode 100644 index a8be97149..000000000 --- a/samples/angular-yammer/src/webparts/angularYammer/app/home.controller.js +++ /dev/null @@ -1,69 +0,0 @@ -(function () { - 'use strict'; - - var yammerApp = angular.module('yammerApp', []); - - yammerApp.controller('homeController', ['$rootScope', '$scope', '$http', '$location', '$window', homeController]); - - function homeController($rootScope, $scope, $http, $location, $window) { - - $scope.yamfeedid = 'yamfeed' + generateGuid(); - - function generateGuid() { - - var d = new Date().getTime(); - var uuid = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) { - var r = (d + Math.random() * 16) % 16 | 0; - d = Math.floor(d / 16); - return (c === "x" ? r : (r & 0x3 | 0x8)).toString(16); - }); - - return uuid; - }; - - $rootScope.$on('configurationChanged', function(event, args) { - - $scope.network = args.network; - $scope.feedType = args.feedType; - $scope.defaultGroupId = args.defaultGroupId; - $scope.showOpenGraphPreview = args.showOpenGraphPreview; - $scope.promptText = args.promptText; - $scope.header = args.header; - $scope.footer = args.footer; - $scope.environment = args.environment; - $scope.environmentType = args.environmentType; - - var currentfeedcontainer = args.domElement.querySelector("#"+$scope.yamfeedid); - var feedparentNode = currentfeedcontainer.parentElement; - - if(currentfeedcontainer) - { - currentfeedcontainer.remove(); - feedparentNode.innerHTML += '
'; - } - - $scope.loadFeeds(); - }); - - $scope.loadFeeds = function () { - - var feedOptions = { - container: '#'+$scope.yamfeedid, - network: $scope.network, - feedType: $scope.feedtype, - config: { - defaultGroupId: $scope.defaultgroupid, - showOpenGraphPreview: $scope.showopengraphpreview, - promptText: $scope.prompttext, - header: $scope.header, - footer: $scope.footer - } - }; - - yam.connect.embedFeed(feedOptions); - } - } - -})(); - -!function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="https://s0.assets-yammer.com/assets/",b(0)}([function(a,b,c){c(1),c(2),a.exports=c(3)},function(a,b){"use strict";window.yam=window.yam||{config:function a(b){return Object.keys(b||{}).forEach(function(a){yam._configData[a]=b[a]}),yam._configData},_configData:{}}},function(a,b){"use strict";var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a};!function(){function a(a){window.console&&"function"==typeof console.log&&console.log("[yammer] "+a)}function b(a,b,c){a.addEventListener?a.addEventListener(b,c):a.attachEvent("on"+b,function(b){c.call(a,b)})}function d(a){function b(a,e){Object.keys(a||{}).forEach(function(f){if(Object.prototype.hasOwnProperty.call(a,f)){var g=""===e?f:e+"["+f+"]";"object"===c(a[f])?b(a[f],g):d[g]=a[f]}})}var d={};b(a,"");var e=[];return Object.keys(d||{}).forEach(function(a){Object.prototype.hasOwnProperty.call(d,a)&&e.push(encodeURIComponent(a)+"="+encodeURIComponent(d[a]))}),e.join("&")}function e(a){a=a||{};var b=a.style||j,c=document.createElement("iframe");return c.id=a.id,c.name=a.name||a.id,c.frameBorder="none",c.scrolling="no",Object.keys(b||{}).forEach(function(a){Object.prototype.hasOwnProperty.call(b,a)&&(c.style[a]=b[a])}),c.src="javascript://",c}function f(a){var b=a.objectProperties||{};b.url||(b.url=document.location.href,a.objectProperties=b)}function g(b){var c=b||document.body;return"string"==typeof c&&(c=document.querySelector(c)),c?c:void a("Could not find container to embed in")}function h(a){a=a||{};var c=Date.now().toString(),h=g(a.container);if(h){a.feedType&&"open-graph"===a.feedType&&f(a);var i=e({id:"embed-feed"});i.className="yj-embed-widget yj-embed-feed",h.appendChild(i),b(window,"message",function(a){if(a.origin===yam.config().baseURI){var b=JSON.parse(a.data),d=b.data;d&&"yam.trigger"===d.method&&d.uniqueToken===c&&yam.trigger(d.eventId,d.msg)}}),a.network&&(a.network_permalink=a.network),a.bust=c;var j=d(a),k=yam.config().baseURI+"/embed-feed?"+j;i.src=k}}function i(a){a=a||{};var c=Date.now().toString(),h=g(a.container);if(h){f(a);var i=e({id:"embed-button"+k++});i.style.width=h.clientWidth+"px",i.style.height=h.clientHeight+"px",i.className="yj-embed-widget yj-embed-button",h.appendChild(i),b(window,"message",function(a){if(a.origin===yam.config().baseURI){var b=JSON.parse(a.data),d=b.data;d&&d.uniqueToken===c&&("yam.resize"===d.method?(i.style.width=d.width+"px",i.style.height=d.height+"px"):"yam.trigger"===d.method&&yam.trigger(d.eventId,d.msg))}}),a.bust=c;var j=d(a);i.src=yam.config().baseURI+"/platform_embed/button?"+j}}var j={border:"0px",overflow:"hidden","min-height":"26px",width:"100%",height:"100%"},k=0;if("function"!=typeof yam.on){var l={},m=function a(b,c){var d=l[b];if(d)for(var e=0,f=d.length;e - -import { assert } from 'chai'; - -describe('AngularYammerWebPart', () => { - it('should do something', () => { - assert.ok(true); - }); -}); diff --git a/samples/angular-yammer/tsconfig.json b/samples/angular-yammer/tsconfig.json deleted file mode 100644 index 5fa39c930..000000000 --- a/samples/angular-yammer/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "forceConsistentCasingInFileNames": true, - "module": "commonjs", - "jsx": "react", - "declaration": true, - "sourceMap": true, - "types": [ - "es6-promise", - "es6-collections", - "webpack-env" - ] - } -} diff --git a/samples/angular-yammer/typings/@ms/odsp.d.ts b/samples/angular-yammer/typings/@ms/odsp.d.ts deleted file mode 100644 index 2d2913e53..000000000 --- a/samples/angular-yammer/typings/@ms/odsp.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// Type definitions for Microsoft ODSP projects -// Project: ODSP - -/* Global definition for UNIT_TEST builds - Code that is wrapped inside an if(UNIT_TEST) {...} - block will not be included in the final bundle when the - --ship flag is specified */ -declare const UNIT_TEST: boolean; \ No newline at end of file diff --git a/samples/angular-yammer/typings/tsd.d.ts b/samples/angular-yammer/typings/tsd.d.ts deleted file mode 100644 index e7efdd728..000000000 --- a/samples/angular-yammer/typings/tsd.d.ts +++ /dev/null @@ -1 +0,0 @@ -/// diff --git a/samples/js-bot-framework/README.md b/samples/js-bot-framework/README.md deleted file mode 100644 index 160a08d8c..000000000 --- a/samples/js-bot-framework/README.md +++ /dev/null @@ -1,82 +0,0 @@ -# Basic Site Provisioning using SharePoint Framework client-side web part and Microsoft Bot Framework - -## Summary - -Sample SharePoint Framework client-side web part illustrating Site Provisioning using Microsoft Bot Framework. - -![Sample SharePoint Framework client-side web part illustrating Site Provisioning using Microsoft Bot Framework](./assets/preview.png) - -## Applies to - -* [SharePoint Framework Developer Preview](http://dev.office.com/sharepoint/docs/spfx/sharepoint-framework-overview) -* [Office 365 developer tenant](http://dev.office.com/sharepoint/docs/spfx/set-up-your-developer-tenant) - -## Solution - -Solution|Author(s) ---------|--------- -js-bot-framework|Joseph Velliah (SPRIDER, @sprider) - -## Version history - -Version|Date|Comments --------|----|-------- -1.0|December 13, 2016|Initial release - -## Disclaimer -**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.** - ---- - -## Minimal Path to Awesome - -- clone this repo - -### Register Bot - -- go to https://dev.botframework.com/ and sign in with your Microsoft account -- click on Register a bot link at the top -![botregister-step1](./assets/botregister-step1.png) -- fill all the details like Name, Bot handle, Description and Messaging endpoint -![botregister-step2](./assets/botregister-step2.png) -- generate a new App ID and password by clicking Create Microsoft App ID and password button. Save this value somewhere as we will use in this next step -- accept the terms and click Register -- your bot is now registered -- click edit link under Web Chat channel and notedown the Secret key to configure the client web part -![botregister-step3](./assets/botregister-step3.png) -- you can test your connection here by typing hello message and click Send. Try this step after completing "Publish Bot in Azure Web App" step - -### Publish Bot in Azure Web App - -- in the Azure Management Portal at https://portal.azure.com create a new Web App(example: https://asksprider.azurewebsites.net/) -- download the publishing profile from the web app we just created. This will be used to publish the Bot in Azure using Visual Studio -- Open the web.config file in AskSPRider.sln and update the MicrosoftAppId, MicrosoftAppPassword, O365AdminId and O365AdminPassword - - MicrosoftAppId - App ID generated from Bot Registration Process - - MicrosoftAppPassword - App Secret generated from Bot Registration Process - - O365AdminId - SharePoint Online Admin User Id(example: user@tenant.onmicrosoft.com) - - O365AdminPassword - SharePoint Online Admin Password -- save the web.config file -- right click on the project and publish the bot in Azure using the publishing profile downloaded - -### Configure web part - -- go to the working directory to the webpart folder in the command line run: - - npm i - - tsd install - - gulp serve -- add Ask SP Rider webpart and edit it - - configure bot name and web chat secret key -![preview](./assets/preview.png) - - type hello and proceed with site creation process -- final output -![botregister-step4](./assets/botregister-step4.png) - -## Features - -This project illustrates the following concepts: -- connecting SharePoint Framework client-side web part to a custom bot -- showing how to embed bot within client-side web part -- how to create a sub-site by posting set of questions to the user via bot -- bot form field validations - - \ No newline at end of file diff --git a/samples/js-bot-framework/assets/botregister-step1.png b/samples/js-bot-framework/assets/botregister-step1.png deleted file mode 100644 index 9d13b4c8c..000000000 Binary files a/samples/js-bot-framework/assets/botregister-step1.png and /dev/null differ diff --git a/samples/js-bot-framework/assets/botregister-step2.png b/samples/js-bot-framework/assets/botregister-step2.png deleted file mode 100644 index 9e2761748..000000000 Binary files a/samples/js-bot-framework/assets/botregister-step2.png and /dev/null differ diff --git a/samples/js-bot-framework/assets/botregister-step3.png b/samples/js-bot-framework/assets/botregister-step3.png deleted file mode 100644 index 8e7796b06..000000000 Binary files a/samples/js-bot-framework/assets/botregister-step3.png and /dev/null differ diff --git a/samples/js-bot-framework/assets/botregister-step4.png b/samples/js-bot-framework/assets/botregister-step4.png deleted file mode 100644 index b0d5c608e..000000000 Binary files a/samples/js-bot-framework/assets/botregister-step4.png and /dev/null differ diff --git a/samples/js-bot-framework/assets/preview.png b/samples/js-bot-framework/assets/preview.png deleted file mode 100644 index 1f348f041..000000000 Binary files a/samples/js-bot-framework/assets/preview.png and /dev/null differ diff --git a/samples/js-bot-framework/bot/.vs/AskSPRider/v14/.suo b/samples/js-bot-framework/bot/.vs/AskSPRider/v14/.suo deleted file mode 100644 index b9c8ce5f0..000000000 Binary files a/samples/js-bot-framework/bot/.vs/AskSPRider/v14/.suo and /dev/null differ diff --git a/samples/js-bot-framework/bot/.vs/config/applicationhost.config b/samples/js-bot-framework/bot/.vs/config/applicationhost.config deleted file mode 100644 index bd864f672..000000000 --- a/samples/js-bot-framework/bot/.vs/config/applicationhost.config +++ /dev/null @@ -1,1039 +0,0 @@ - - - - - - - -
-
-
-
-
-
-
-
- - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
- -
-
-
-
-
-
- -
-
-
-
-
- -
-
-
- -
-
- -
-
- -
-
-
- - -
-
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider.sln b/samples/js-bot-framework/bot/AskSPRider.sln deleted file mode 100644 index 2f6dfdc73..000000000 --- a/samples/js-bot-framework/bot/AskSPRider.sln +++ /dev/null @@ -1,31 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AskSPRider", "AskSPRider\AskSPRider.csproj", "{A8BA1066-5695-4D71-ABB4-65E5A5E0C3D4}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A8BA1066-5695-4D71-ABB4-65E5A5E0C3D4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A8BA1066-5695-4D71-ABB4-65E5A5E0C3D4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A8BA1066-5695-4D71-ABB4-65E5A5E0C3D4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A8BA1066-5695-4D71-ABB4-65E5A5E0C3D4}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(TeamFoundationVersionControl) = preSolution - SccNumberOfProjects = 2 - SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} - SccTeamFoundationServer = https://vsojv.visualstudio.com/defaultcollection - SccLocalPath0 = . - SccProjectUniqueName1 = AskSPRider\\AskSPRider.csproj - SccProjectName1 = AskSPRider - SccLocalPath1 = AskSPRider - EndGlobalSection -EndGlobal diff --git a/samples/js-bot-framework/bot/AskSPRider/App_Start/WebApiConfig.cs b/samples/js-bot-framework/bot/AskSPRider/App_Start/WebApiConfig.cs deleted file mode 100644 index 90210214b..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/App_Start/WebApiConfig.cs +++ /dev/null @@ -1,37 +0,0 @@ -using Newtonsoft.Json; -using Newtonsoft.Json.Serialization; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web.Http; - -namespace AskSPRider -{ - public static class WebApiConfig - { - public static void Register(HttpConfiguration config) - { - // Json settings - config.Formatters.JsonFormatter.SerializerSettings.NullValueHandling = NullValueHandling.Ignore; - config.Formatters.JsonFormatter.SerializerSettings.ContractResolver = new CamelCasePropertyNamesContractResolver(); - config.Formatters.JsonFormatter.SerializerSettings.Formatting = Formatting.Indented; - JsonConvert.DefaultSettings = () => new JsonSerializerSettings() - { - ContractResolver = new CamelCasePropertyNamesContractResolver(), - Formatting = Newtonsoft.Json.Formatting.Indented, - NullValueHandling = NullValueHandling.Ignore, - }; - - // Web API configuration and services - - // Web API routes - config.MapHttpAttributeRoutes(); - - config.Routes.MapHttpRoute( - name: "DefaultApi", - routeTemplate: "api/{controller}/{id}", - defaults: new { id = RouteParameter.Optional } - ); - } - } -} diff --git a/samples/js-bot-framework/bot/AskSPRider/AskSPRider.csproj b/samples/js-bot-framework/bot/AskSPRider/AskSPRider.csproj deleted file mode 100644 index 06fb616ac..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/AskSPRider.csproj +++ /dev/null @@ -1,281 +0,0 @@ - - - - - Debug - AnyCPU - - - 2.0 - {A8BA1066-5695-4D71-ABB4-65E5A5E0C3D4} - {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} - Library - Properties - AskSPRider - Bot Application1 - v4.6 - true - - - - - - - - - SAK - SAK - SAK - SAK - - - true - full - false - bin\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\ - TRACE - prompt - 4 - - - - ..\packages\Autofac.3.5.2\lib\net40\Autofac.dll - True - - - ..\packages\Chronic.Signed.0.3.2\lib\net40\Chronic.dll - True - - - ..\packages\Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0\lib\portable-net4+sl5+win+wpa+wp8\Microsoft.Azure.ActiveDirectory.GraphClient.dll - True - - - ..\packages\Microsoft.Azure.KeyVault.Core.1.0.0\lib\net40\Microsoft.Azure.KeyVault.Core.dll - True - - - ..\packages\Microsoft.Bot.Builder.3.0.0\lib\net46\Microsoft.Bot.Builder.dll - True - - - ..\packages\Microsoft.Bot.Builder.3.0.0\lib\net46\Microsoft.Bot.Connector.dll - True - - - - ..\packages\Microsoft.Data.Edm.5.6.4\lib\net40\Microsoft.Data.Edm.dll - True - - - ..\packages\Microsoft.Data.OData.5.6.4\lib\net40\Microsoft.Data.OData.dll - True - - - ..\packages\Microsoft.Data.Services.Client.5.6.4\lib\net40\Microsoft.Data.Services.Client.dll - True - - - - - ..\packages\Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351\lib\net45\Microsoft.IdentityModel.Protocol.Extensions.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.Office.Client.Policy.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.Office.Client.TranslationServices.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.Office.SharePoint.Tools.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.Online.SharePoint.Client.Tenant.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.ProjectServer.Client.dll - True - - - ..\packages\Microsoft.Rest.ClientRuntime.1.8.2\lib\net45\Microsoft.Rest.ClientRuntime.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.DocumentManagement.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.Publishing.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.Runtime.Windows.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.Search.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.Search.Applications.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.Taxonomy.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.UserProfiles.dll - True - - - ..\packages\Microsoft.SharePointOnline.CSOM.16.1.5813.1200\lib\net45\Microsoft.SharePoint.Client.WorkflowServices.dll - True - - - ..\packages\Microsoft.WindowsAzure.ConfigurationManager.3.2.1\lib\net40\Microsoft.WindowsAzure.Configuration.dll - True - - - ..\packages\WindowsAzure.Storage.7.0.0\lib\net40\Microsoft.WindowsAzure.Storage.dll - True - - - ..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll - True - - - ..\packages\SharePointPnPCoreOnline.2.9.1611.0\lib\net45\OfficeDevPnP.Core.dll - True - - - - - - ..\packages\System.IdentityModel.Tokens.Jwt.4.0.2.206221351\lib\net45\System.IdentityModel.Tokens.Jwt.dll - True - - - - - ..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll - True - - - - - ..\packages\System.Spatial.5.6.4\lib\net40\System.Spatial.dll - True - - - - - - - - - - - - ..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll - True - - - ..\packages\Microsoft.AspNet.WebApi.WebHost.5.2.3\lib\net45\System.Web.Http.WebHost.dll - True - - - - - - - - - - - - Designer - - - - - - - - - Global.asax - - - - - - - - - - - - Web.config - - - Web.config - - - - - 10.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - true - - - - - - - - - True - True - 3979 - / - http://localhost:3979/ - False - False - - - False - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/AskSPRider.csproj.user b/samples/js-bot-framework/bot/AskSPRider/AskSPRider.csproj.user deleted file mode 100644 index 7b14695f4..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/AskSPRider.csproj.user +++ /dev/null @@ -1,33 +0,0 @@ - - - - true - ProjectFiles - asksprider - Web Deploy - - - - - - - - CurrentPage - True - False - False - False - - - - - - - - - True - True - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Configuration.cs b/samples/js-bot-framework/bot/AskSPRider/Configuration.cs deleted file mode 100644 index 5c921cc4b..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Configuration.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System.Web.Configuration; - -namespace AskSPRider -{ - public class Configuration - { - public static string strO365AdminId = WebConfigurationManager.AppSettings["O365AdminId"]; - public static string strO365AdminPassword = WebConfigurationManager.AppSettings["O365AdminPassword"]; - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Controllers/MessagesController.cs b/samples/js-bot-framework/bot/AskSPRider/Controllers/MessagesController.cs deleted file mode 100644 index 296f1ddf4..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Controllers/MessagesController.cs +++ /dev/null @@ -1,66 +0,0 @@ -using AskSPRider.Forms; -using Microsoft.Bot.Builder.Dialogs; -using Microsoft.Bot.Builder.FormFlow; -using Microsoft.Bot.Connector; -using System.Net; -using System.Net.Http; -using System.Threading.Tasks; -using System.Web.Http; -using System.Web.Http.Description; - -namespace AskSPRider -{ - [BotAuthentication] - public class MessagesController : ApiController - { - internal static IDialog BuildSiteRequestDialog() - { - return Chain.From(() => FormDialog.FromForm(SiteRequestOrder.BuildForm)); - } - - [ResponseType(typeof(void))] - public virtual async Task Post([FromBody] Activity activity) - { - if (activity.Type == ActivityTypes.Message) - { - await Conversation.SendAsync(activity, BuildSiteRequestDialog); - return new HttpResponseMessage(HttpStatusCode.Accepted); - } - else - { - HandleSystemMessage(activity); - } - var response = Request.CreateResponse(HttpStatusCode.OK); - return response; - } - - private Activity HandleSystemMessage(Activity message) - { - if (message.Type == ActivityTypes.DeleteUserData) - { - // Implement user deletion here - // If we handle user deletion, return a real message - } - else if (message.Type == ActivityTypes.ConversationUpdate) - { - // Handle conversation state changes, like members being added and removed - // Use Activity.MembersAdded and Activity.MembersRemoved and Activity.Action for info - // Not available in all channels - } - else if (message.Type == ActivityTypes.ContactRelationUpdate) - { - // Handle add/remove from contact lists - // Activity.From + Activity.Action represent what happened - } - else if (message.Type == ActivityTypes.Typing) - { - // Handle knowing tha the user is typing - } - else if (message.Type == ActivityTypes.Ping) - { - } - - return null; - } - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Forms/SiteRequestOrder.cs b/samples/js-bot-framework/bot/AskSPRider/Forms/SiteRequestOrder.cs deleted file mode 100644 index 2595e9a28..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Forms/SiteRequestOrder.cs +++ /dev/null @@ -1,118 +0,0 @@ -using System; -using Microsoft.Bot.Builder.Dialogs; -using Microsoft.Bot.Builder.FormFlow; -using System.Threading.Tasks; -using AskSPRider.Models; -using AskSPRider.Helper; -using System.ComponentModel; - -namespace AskSPRider.Forms -{ - public enum SiteTemplateOptions - { - [Description("STS#0")] - Team, - [Description("PROJECTSITE#0")] - Project, - [Description("BLOG#0")] - Blog - }; - - [Serializable] - public class SiteRequestOrder - { - [Prompt("Where(parent site url) you would like to create the sub-site")] - public string ParentSiteUrl; - - [Prompt("What is the sub-site title?")] - public string Title; - - [Optional] - [Prompt("What is the sub-site description?")] - public string Description; - - [Optional] - [Prompt("What is the sub-site URL Name?")] - public string URLName; - - [Describe("site template")] - public SiteTemplateOptions? Template; - - public static IForm BuildForm() - { - - OnCompletionAsyncDelegate wrapUpRequest = async (context, request) => - { - - try - { - SiteRequest siteRquest = new SiteRequest(); - siteRquest.ParentSiteUrl = request.ParentSiteUrl; - siteRquest.Title = request.Title; - siteRquest.Description = request.Description; - siteRquest.URLName = request.URLName; - siteRquest.Template = Common.GetDescription(request.Template); ; - - string wrapUpMessage = Helper.ProcessRequest.createSubSite(siteRquest); - await context.PostAsync(wrapUpMessage); - } - catch (FormCanceledException e) - { - string reply; - if (e.InnerException == null) - { - reply = $"You quit on {e.Last}--maybe you can finish next time!"; - } - else - { - reply = "There is a problem in creating the sub-site at this moment. Please try again later."; - } - await context.PostAsync(reply); - } - }; - - return new FormBuilder() - .Message("Welcome to SPOL Site Request bot!") - .Field(nameof(ParentSiteUrl), validate: ParentSiteValidator) - .Field(nameof(Title)) - .Field(nameof(Description)) - .Field(nameof(URLName), validate: SubSiteValidator) - .Field(nameof(Template)) - .AddRemainingFields() - .Confirm("Do you want to submit your sub-site request - {Title}?") - .Message("Thanks for submitting a new sub-site!") - .OnCompletion(wrapUpRequest) - .Build(); - } - - private static ValidateAsyncDelegate ParentSiteValidator = async (state, response) => - { - var result = new ValidateResult { IsValid = true, Value = response }; - var parentSiteURL = (response as string).Trim(); - - if (!Helper.ProcessRequest.checkSiteStatus(parentSiteURL)) - { - result.Feedback = "Sorry, that is not a parent site."; - result.IsValid = false; - } - - return await Task.FromResult(result); - }; - - private static ValidateAsyncDelegate SubSiteValidator = async (state, response) => - { - var result = new ValidateResult { IsValid = true, Value = response }; - var subSiteURL = state.ParentSiteUrl + "/" + (response as string).Trim(); - - if (Helper.ProcessRequest.checkSiteStatus(subSiteURL)) - { - result.Feedback = "Sorry, A sub-site exist with the same URL Name. Please select a different URL Name."; - result.IsValid = false; - } - - return await Task.FromResult(result); - }; - - - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Global.asax b/samples/js-bot-framework/bot/AskSPRider/Global.asax deleted file mode 100644 index 2435b5189..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Global.asax +++ /dev/null @@ -1 +0,0 @@ -<%@ Application Codebehind="Global.asax.cs" Inherits="AskSPRider.WebApiApplication" Language="C#" %> diff --git a/samples/js-bot-framework/bot/AskSPRider/Global.asax.cs b/samples/js-bot-framework/bot/AskSPRider/Global.asax.cs deleted file mode 100644 index feee82917..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Global.asax.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.Http; -using System.Web.Routing; - -namespace AskSPRider -{ - public class WebApiApplication : System.Web.HttpApplication - { - protected void Application_Start() - { - GlobalConfiguration.Configure(WebApiConfig.Register); - } - } -} diff --git a/samples/js-bot-framework/bot/AskSPRider/Helper/Common.cs b/samples/js-bot-framework/bot/AskSPRider/Helper/Common.cs deleted file mode 100644 index da49ada47..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Helper/Common.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using System.ComponentModel; -using System.Reflection; -using System.Security; - -namespace AskSPRider.Helper -{ - public class Common - { - public static SecureString getSecureString(string inputString) - { - var strSecure = new SecureString(); - - if (!string.IsNullOrEmpty(inputString)) - foreach (char c in inputString.ToCharArray()) strSecure.AppendChar(c); - - return strSecure; - } - - public static string GetDescription(Enum en) - { - Type type = en.GetType(); - - MemberInfo[] memInfo = type.GetMember(en.ToString()); - - if (memInfo != null && memInfo.Length > 0) - { - object[] attrs = memInfo[0].GetCustomAttributes(typeof(DescriptionAttribute), false); - - if (attrs != null && attrs.Length > 0) - { - return ((DescriptionAttribute)attrs[0]).Description; - } - } - - return en.ToString(); - } - } - - -} \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Helper/ProcessRequest.cs b/samples/js-bot-framework/bot/AskSPRider/Helper/ProcessRequest.cs deleted file mode 100644 index e0184008c..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Helper/ProcessRequest.cs +++ /dev/null @@ -1,58 +0,0 @@ -using AskSPRider.Models; -using Microsoft.SharePoint.Client; -using OfficeDevPnP.Core; -using System; - -namespace AskSPRider.Helper -{ - public class ProcessRequest - { - public static string createSubSite(SiteRequest siteRequest) - { - try - { - var o365SecurePassword = Common.getSecureString(Configuration.strO365AdminPassword); - var O365Context = new AuthenticationManager().GetSharePointOnlineAuthenticatedContextTenant(siteRequest.ParentSiteUrl, Configuration.strO365AdminId, o365SecurePassword); - O365Context.Load(O365Context.Web); - O365Context.ExecuteQuery(); - - WebCreationInformation wci = new WebCreationInformation(); - wci.Url = siteRequest.URLName; - wci.Title = siteRequest.Title; - wci.Description = siteRequest.Description; - wci.WebTemplate = siteRequest.Template; - wci.UseSamePermissionsAsParentSite = true; - wci.Language = 1033; - - Web subSite = O365Context.Site.RootWeb.Webs.Add(wci); - O365Context.Load(subSite, w => w.AllProperties, w => w.Title, w => w.Url); - O365Context.ExecuteQuery(); - - return "Sub-Site : "+ subSite.Title + " created successfully. This is your sub-site URL: " + subSite.Url; - } - catch (Exception ex) - { - throw ex; - } - } - public static bool checkSiteStatus(string strO365Siteurl) - { - try - { - var o365SecurePassword = Common.getSecureString(Configuration.strO365AdminPassword); - var O365Context = new AuthenticationManager().GetSharePointOnlineAuthenticatedContextTenant(strO365Siteurl, Configuration.strO365AdminId, o365SecurePassword); - O365Context.Load(O365Context.Web, w => w.Title); - O365Context.ExecuteQuery(); - - if (String.IsNullOrEmpty(O365Context.Web.Title)) - return false; - else - return true; - } - catch (Exception ex) - { - return false; - } - } - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Models/SiteRequest.cs b/samples/js-bot-framework/bot/AskSPRider/Models/SiteRequest.cs deleted file mode 100644 index 2e2ef2ea1..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Models/SiteRequest.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace AskSPRider.Models -{ - public class SiteRequest - { - public string ParentSiteUrl; - - public string Title; - - public string Description; - - public string URLName; - - public string Template; - - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Properties/AssemblyInfo.cs b/samples/js-bot-framework/bot/AskSPRider/Properties/AssemblyInfo.cs deleted file mode 100644 index 2d1978edb..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -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("AskSPRider")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AskSPRider")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible(false)] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("a8ba1066-5695-4d71-abb4-65e5a5e0c3d4")] - -// 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 Revision and Build Numbers -// by using the '*' as shown below: -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/samples/js-bot-framework/bot/AskSPRider/SharePointContext.cs b/samples/js-bot-framework/bot/AskSPRider/SharePointContext.cs deleted file mode 100644 index 87f585f02..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/SharePointContext.cs +++ /dev/null @@ -1,924 +0,0 @@ -using Microsoft.IdentityModel.S2S.Protocols.OAuth2; -using Microsoft.IdentityModel.Tokens; -using Microsoft.SharePoint.Client; -using System; -using System.Net; -using System.Security.Principal; -using System.Web; -using System.Web.Configuration; - -namespace AskSPRider -{ - /// - /// Encapsulates all the information from SharePoint. - /// - public abstract class SharePointContext - { - public const string SPHostUrlKey = "SPHostUrl"; - public const string SPAppWebUrlKey = "SPAppWebUrl"; - public const string SPLanguageKey = "SPLanguage"; - public const string SPClientTagKey = "SPClientTag"; - public const string SPProductNumberKey = "SPProductNumber"; - - protected static readonly TimeSpan AccessTokenLifetimeTolerance = TimeSpan.FromMinutes(5.0); - - private readonly Uri spHostUrl; - private readonly Uri spAppWebUrl; - private readonly string spLanguage; - private readonly string spClientTag; - private readonly string spProductNumber; - - // - protected Tuple userAccessTokenForSPHost; - protected Tuple userAccessTokenForSPAppWeb; - protected Tuple appOnlyAccessTokenForSPHost; - protected Tuple appOnlyAccessTokenForSPAppWeb; - - /// - /// Gets the SharePoint host url from QueryString of the specified HTTP request. - /// - /// The specified HTTP request. - /// The SharePoint host url. Returns null if the HTTP request doesn't contain the SharePoint host url. - public static Uri GetSPHostUrl(HttpRequestBase httpRequest) - { - if (httpRequest == null) - { - throw new ArgumentNullException("httpRequest"); - } - - string spHostUrlString = TokenHelper.EnsureTrailingSlash(httpRequest.QueryString[SPHostUrlKey]); - Uri spHostUrl; - if (Uri.TryCreate(spHostUrlString, UriKind.Absolute, out spHostUrl) && - (spHostUrl.Scheme == Uri.UriSchemeHttp || spHostUrl.Scheme == Uri.UriSchemeHttps)) - { - return spHostUrl; - } - - return null; - } - - /// - /// Gets the SharePoint host url from QueryString of the specified HTTP request. - /// - /// The specified HTTP request. - /// The SharePoint host url. Returns null if the HTTP request doesn't contain the SharePoint host url. - public static Uri GetSPHostUrl(HttpRequest httpRequest) - { - return GetSPHostUrl(new HttpRequestWrapper(httpRequest)); - } - - /// - /// The SharePoint host url. - /// - public Uri SPHostUrl - { - get { return this.spHostUrl; } - } - - /// - /// The SharePoint app web url. - /// - public Uri SPAppWebUrl - { - get { return this.spAppWebUrl; } - } - - /// - /// The SharePoint language. - /// - public string SPLanguage - { - get { return this.spLanguage; } - } - - /// - /// The SharePoint client tag. - /// - public string SPClientTag - { - get { return this.spClientTag; } - } - - /// - /// The SharePoint product number. - /// - public string SPProductNumber - { - get { return this.spProductNumber; } - } - - /// - /// The user access token for the SharePoint host. - /// - public abstract string UserAccessTokenForSPHost - { - get; - } - - /// - /// The user access token for the SharePoint app web. - /// - public abstract string UserAccessTokenForSPAppWeb - { - get; - } - - /// - /// The app only access token for the SharePoint host. - /// - public abstract string AppOnlyAccessTokenForSPHost - { - get; - } - - /// - /// The app only access token for the SharePoint app web. - /// - public abstract string AppOnlyAccessTokenForSPAppWeb - { - get; - } - - /// - /// Constructor. - /// - /// The SharePoint host url. - /// The SharePoint app web url. - /// The SharePoint language. - /// The SharePoint client tag. - /// The SharePoint product number. - protected SharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber) - { - if (spHostUrl == null) - { - throw new ArgumentNullException("spHostUrl"); - } - - if (string.IsNullOrEmpty(spLanguage)) - { - throw new ArgumentNullException("spLanguage"); - } - - if (string.IsNullOrEmpty(spClientTag)) - { - throw new ArgumentNullException("spClientTag"); - } - - if (string.IsNullOrEmpty(spProductNumber)) - { - throw new ArgumentNullException("spProductNumber"); - } - - this.spHostUrl = spHostUrl; - this.spAppWebUrl = spAppWebUrl; - this.spLanguage = spLanguage; - this.spClientTag = spClientTag; - this.spProductNumber = spProductNumber; - } - - /// - /// Creates a user ClientContext for the SharePoint host. - /// - /// A ClientContext instance. - public ClientContext CreateUserClientContextForSPHost() - { - return CreateClientContext(this.SPHostUrl, this.UserAccessTokenForSPHost); - } - - /// - /// Creates a user ClientContext for the SharePoint app web. - /// - /// A ClientContext instance. - public ClientContext CreateUserClientContextForSPAppWeb() - { - return CreateClientContext(this.SPAppWebUrl, this.UserAccessTokenForSPAppWeb); - } - - /// - /// Creates app only ClientContext for the SharePoint host. - /// - /// A ClientContext instance. - public ClientContext CreateAppOnlyClientContextForSPHost() - { - return CreateClientContext(this.SPHostUrl, this.AppOnlyAccessTokenForSPHost); - } - - /// - /// Creates an app only ClientContext for the SharePoint app web. - /// - /// A ClientContext instance. - public ClientContext CreateAppOnlyClientContextForSPAppWeb() - { - return CreateClientContext(this.SPAppWebUrl, this.AppOnlyAccessTokenForSPAppWeb); - } - - /// - /// Gets the database connection string from SharePoint for autohosted app. - /// This method is deprecated because the autohosted option is no longer available. - /// - [ObsoleteAttribute("This method is deprecated because the autohosted option is no longer available.", true)] - public string GetDatabaseConnectionString() - { - throw new NotSupportedException("This method is deprecated because the autohosted option is no longer available."); - } - - /// - /// Determines if the specified access token is valid. - /// It considers an access token as not valid if it is null, or it has expired. - /// - /// The access token to verify. - /// True if the access token is valid. - protected static bool IsAccessTokenValid(Tuple accessToken) - { - return accessToken != null && - !string.IsNullOrEmpty(accessToken.Item1) && - accessToken.Item2 > DateTime.UtcNow; - } - - /// - /// Creates a ClientContext with the specified SharePoint site url and the access token. - /// - /// The site url. - /// The access token. - /// A ClientContext instance. - private static ClientContext CreateClientContext(Uri spSiteUrl, string accessToken) - { - if (spSiteUrl != null && !string.IsNullOrEmpty(accessToken)) - { - return TokenHelper.GetClientContextWithAccessToken(spSiteUrl.AbsoluteUri, accessToken); - } - - return null; - } - } - - /// - /// Redirection status. - /// - public enum RedirectionStatus - { - Ok, - ShouldRedirect, - CanNotRedirect - } - - /// - /// Provides SharePointContext instances. - /// - public abstract class SharePointContextProvider - { - private static SharePointContextProvider current; - - /// - /// The current SharePointContextProvider instance. - /// - public static SharePointContextProvider Current - { - get { return SharePointContextProvider.current; } - } - - /// - /// Initializes the default SharePointContextProvider instance. - /// - static SharePointContextProvider() - { - if (!TokenHelper.IsHighTrustApp()) - { - SharePointContextProvider.current = new SharePointAcsContextProvider(); - } - else - { - SharePointContextProvider.current = new SharePointHighTrustContextProvider(); - } - } - - /// - /// Registers the specified SharePointContextProvider instance as current. - /// It should be called by Application_Start() in Global.asax. - /// - /// The SharePointContextProvider to be set as current. - public static void Register(SharePointContextProvider provider) - { - if (provider == null) - { - throw new ArgumentNullException("provider"); - } - - SharePointContextProvider.current = provider; - } - - /// - /// Checks if it is necessary to redirect to SharePoint for user to authenticate. - /// - /// The HTTP context. - /// The redirect url to SharePoint if the status is ShouldRedirect. Null if the status is Ok or CanNotRedirect. - /// Redirection status. - public static RedirectionStatus CheckRedirectionStatus(HttpContextBase httpContext, out Uri redirectUrl) - { - if (httpContext == null) - { - throw new ArgumentNullException("httpContext"); - } - - redirectUrl = null; - bool contextTokenExpired = false; - - try - { - if (SharePointContextProvider.Current.GetSharePointContext(httpContext) != null) - { - return RedirectionStatus.Ok; - } - } - catch (SecurityTokenExpiredException) - { - contextTokenExpired = true; - } - - const string SPHasRedirectedToSharePointKey = "SPHasRedirectedToSharePoint"; - - if (!string.IsNullOrEmpty(httpContext.Request.QueryString[SPHasRedirectedToSharePointKey]) && !contextTokenExpired) - { - return RedirectionStatus.CanNotRedirect; - } - - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - - if (spHostUrl == null) - { - return RedirectionStatus.CanNotRedirect; - } - - if (StringComparer.OrdinalIgnoreCase.Equals(httpContext.Request.HttpMethod, "POST")) - { - return RedirectionStatus.CanNotRedirect; - } - - Uri requestUrl = httpContext.Request.Url; - - var queryNameValueCollection = HttpUtility.ParseQueryString(requestUrl.Query); - - // Removes the values that are included in {StandardTokens}, as {StandardTokens} will be inserted at the beginning of the query string. - queryNameValueCollection.Remove(SharePointContext.SPHostUrlKey); - queryNameValueCollection.Remove(SharePointContext.SPAppWebUrlKey); - queryNameValueCollection.Remove(SharePointContext.SPLanguageKey); - queryNameValueCollection.Remove(SharePointContext.SPClientTagKey); - queryNameValueCollection.Remove(SharePointContext.SPProductNumberKey); - - // Adds SPHasRedirectedToSharePoint=1. - queryNameValueCollection.Add(SPHasRedirectedToSharePointKey, "1"); - - UriBuilder returnUrlBuilder = new UriBuilder(requestUrl); - returnUrlBuilder.Query = queryNameValueCollection.ToString(); - - // Inserts StandardTokens. - const string StandardTokens = "{StandardTokens}"; - string returnUrlString = returnUrlBuilder.Uri.AbsoluteUri; - returnUrlString = returnUrlString.Insert(returnUrlString.IndexOf("?") + 1, StandardTokens + "&"); - - // Constructs redirect url. - string redirectUrlString = TokenHelper.GetAppContextTokenRequestUrl(spHostUrl.AbsoluteUri, Uri.EscapeDataString(returnUrlString)); - - redirectUrl = new Uri(redirectUrlString, UriKind.Absolute); - - return RedirectionStatus.ShouldRedirect; - } - - /// - /// Checks if it is necessary to redirect to SharePoint for user to authenticate. - /// - /// The HTTP context. - /// The redirect url to SharePoint if the status is ShouldRedirect. Null if the status is Ok or CanNotRedirect. - /// Redirection status. - public static RedirectionStatus CheckRedirectionStatus(HttpContext httpContext, out Uri redirectUrl) - { - return CheckRedirectionStatus(new HttpContextWrapper(httpContext), out redirectUrl); - } - - /// - /// Creates a SharePointContext instance with the specified HTTP request. - /// - /// The HTTP request. - /// The SharePointContext instance. Returns null if errors occur. - public SharePointContext CreateSharePointContext(HttpRequestBase httpRequest) - { - if (httpRequest == null) - { - throw new ArgumentNullException("httpRequest"); - } - - // SPHostUrl - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpRequest); - if (spHostUrl == null) - { - return null; - } - - // SPAppWebUrl - string spAppWebUrlString = TokenHelper.EnsureTrailingSlash(httpRequest.QueryString[SharePointContext.SPAppWebUrlKey]); - Uri spAppWebUrl; - if (!Uri.TryCreate(spAppWebUrlString, UriKind.Absolute, out spAppWebUrl) || - !(spAppWebUrl.Scheme == Uri.UriSchemeHttp || spAppWebUrl.Scheme == Uri.UriSchemeHttps)) - { - spAppWebUrl = null; - } - - // SPLanguage - string spLanguage = httpRequest.QueryString[SharePointContext.SPLanguageKey]; - if (string.IsNullOrEmpty(spLanguage)) - { - return null; - } - - // SPClientTag - string spClientTag = httpRequest.QueryString[SharePointContext.SPClientTagKey]; - if (string.IsNullOrEmpty(spClientTag)) - { - return null; - } - - // SPProductNumber - string spProductNumber = httpRequest.QueryString[SharePointContext.SPProductNumberKey]; - if (string.IsNullOrEmpty(spProductNumber)) - { - return null; - } - - return CreateSharePointContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, httpRequest); - } - - /// - /// Creates a SharePointContext instance with the specified HTTP request. - /// - /// The HTTP request. - /// The SharePointContext instance. Returns null if errors occur. - public SharePointContext CreateSharePointContext(HttpRequest httpRequest) - { - return CreateSharePointContext(new HttpRequestWrapper(httpRequest)); - } - - /// - /// Gets a SharePointContext instance associated with the specified HTTP context. - /// - /// The HTTP context. - /// The SharePointContext instance. Returns null if not found and a new instance can't be created. - public SharePointContext GetSharePointContext(HttpContextBase httpContext) - { - if (httpContext == null) - { - throw new ArgumentNullException("httpContext"); - } - - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - if (spHostUrl == null) - { - return null; - } - - SharePointContext spContext = LoadSharePointContext(httpContext); - - if (spContext == null || !ValidateSharePointContext(spContext, httpContext)) - { - spContext = CreateSharePointContext(httpContext.Request); - - if (spContext != null) - { - SaveSharePointContext(spContext, httpContext); - } - } - - return spContext; - } - - /// - /// Gets a SharePointContext instance associated with the specified HTTP context. - /// - /// The HTTP context. - /// The SharePointContext instance. Returns null if not found and a new instance can't be created. - public SharePointContext GetSharePointContext(HttpContext httpContext) - { - return GetSharePointContext(new HttpContextWrapper(httpContext)); - } - - /// - /// Creates a SharePointContext instance. - /// - /// The SharePoint host url. - /// The SharePoint app web url. - /// The SharePoint language. - /// The SharePoint client tag. - /// The SharePoint product number. - /// The HTTP request. - /// The SharePointContext instance. Returns null if errors occur. - protected abstract SharePointContext CreateSharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, HttpRequestBase httpRequest); - - /// - /// Validates if the given SharePointContext can be used with the specified HTTP context. - /// - /// The SharePointContext. - /// The HTTP context. - /// True if the given SharePointContext can be used with the specified HTTP context. - protected abstract bool ValidateSharePointContext(SharePointContext spContext, HttpContextBase httpContext); - - /// - /// Loads the SharePointContext instance associated with the specified HTTP context. - /// - /// The HTTP context. - /// The SharePointContext instance. Returns null if not found. - protected abstract SharePointContext LoadSharePointContext(HttpContextBase httpContext); - - /// - /// Saves the specified SharePointContext instance associated with the specified HTTP context. - /// null is accepted for clearing the SharePointContext instance associated with the HTTP context. - /// - /// The SharePointContext instance to be saved, or null. - /// The HTTP context. - protected abstract void SaveSharePointContext(SharePointContext spContext, HttpContextBase httpContext); - } - - #region ACS - - /// - /// Encapsulates all the information from SharePoint in ACS mode. - /// - public class SharePointAcsContext : SharePointContext - { - private readonly string contextToken; - private readonly SharePointContextToken contextTokenObj; - - /// - /// The context token. - /// - public string ContextToken - { - get { return this.contextTokenObj.ValidTo > DateTime.UtcNow ? this.contextToken : null; } - } - - /// - /// The context token's "CacheKey" claim. - /// - public string CacheKey - { - get { return this.contextTokenObj.ValidTo > DateTime.UtcNow ? this.contextTokenObj.CacheKey : null; } - } - - /// - /// The context token's "refreshtoken" claim. - /// - public string RefreshToken - { - get { return this.contextTokenObj.ValidTo > DateTime.UtcNow ? this.contextTokenObj.RefreshToken : null; } - } - - public override string UserAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.userAccessTokenForSPHost, - () => TokenHelper.GetAccessToken(this.contextTokenObj, this.SPHostUrl.Authority)); - } - } - - public override string UserAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.userAccessTokenForSPAppWeb, - () => TokenHelper.GetAccessToken(this.contextTokenObj, this.SPAppWebUrl.Authority)); - } - } - - public override string AppOnlyAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPHost, - () => TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, this.SPHostUrl.Authority, TokenHelper.GetRealmFromTargetUrl(this.SPHostUrl))); - } - } - - public override string AppOnlyAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPAppWeb, - () => TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, this.SPAppWebUrl.Authority, TokenHelper.GetRealmFromTargetUrl(this.SPAppWebUrl))); - } - } - - public SharePointAcsContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, string contextToken, SharePointContextToken contextTokenObj) - : base(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber) - { - if (string.IsNullOrEmpty(contextToken)) - { - throw new ArgumentNullException("contextToken"); - } - - if (contextTokenObj == null) - { - throw new ArgumentNullException("contextTokenObj"); - } - - this.contextToken = contextToken; - this.contextTokenObj = contextTokenObj; - } - - /// - /// Ensures the access token is valid and returns it. - /// - /// The access token to verify. - /// The token renewal handler. - /// The access token string. - private static string GetAccessTokenString(ref Tuple accessToken, Func tokenRenewalHandler) - { - RenewAccessTokenIfNeeded(ref accessToken, tokenRenewalHandler); - - return IsAccessTokenValid(accessToken) ? accessToken.Item1 : null; - } - - /// - /// Renews the access token if it is not valid. - /// - /// The access token to renew. - /// The token renewal handler. - private static void RenewAccessTokenIfNeeded(ref Tuple accessToken, Func tokenRenewalHandler) - { - if (IsAccessTokenValid(accessToken)) - { - return; - } - - try - { - OAuth2AccessTokenResponse oAuth2AccessTokenResponse = tokenRenewalHandler(); - - DateTime expiresOn = oAuth2AccessTokenResponse.ExpiresOn; - - if ((expiresOn - oAuth2AccessTokenResponse.NotBefore) > AccessTokenLifetimeTolerance) - { - // Make the access token get renewed a bit earlier than the time when it expires - // so that the calls to SharePoint with it will have enough time to complete successfully. - expiresOn -= AccessTokenLifetimeTolerance; - } - - accessToken = Tuple.Create(oAuth2AccessTokenResponse.AccessToken, expiresOn); - } - catch (WebException) - { - } - } - } - - /// - /// Default provider for SharePointAcsContext. - /// - public class SharePointAcsContextProvider : SharePointContextProvider - { - private const string SPContextKey = "SPContext"; - private const string SPCacheKeyKey = "SPCacheKey"; - - protected override SharePointContext CreateSharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, HttpRequestBase httpRequest) - { - string contextTokenString = TokenHelper.GetContextTokenFromRequest(httpRequest); - if (string.IsNullOrEmpty(contextTokenString)) - { - return null; - } - - SharePointContextToken contextToken = null; - try - { - contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, httpRequest.Url.Authority); - } - catch (WebException) - { - return null; - } - catch (AudienceUriValidationFailedException) - { - return null; - } - - return new SharePointAcsContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, contextTokenString, contextToken); - } - - protected override bool ValidateSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - SharePointAcsContext spAcsContext = spContext as SharePointAcsContext; - - if (spAcsContext != null) - { - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - string contextToken = TokenHelper.GetContextTokenFromRequest(httpContext.Request); - HttpCookie spCacheKeyCookie = httpContext.Request.Cookies[SPCacheKeyKey]; - string spCacheKey = spCacheKeyCookie != null ? spCacheKeyCookie.Value : null; - - return spHostUrl == spAcsContext.SPHostUrl && - !string.IsNullOrEmpty(spAcsContext.CacheKey) && - spCacheKey == spAcsContext.CacheKey && - !string.IsNullOrEmpty(spAcsContext.ContextToken) && - (string.IsNullOrEmpty(contextToken) || contextToken == spAcsContext.ContextToken); - } - - return false; - } - - protected override SharePointContext LoadSharePointContext(HttpContextBase httpContext) - { - return httpContext.Session[SPContextKey] as SharePointAcsContext; - } - - protected override void SaveSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - SharePointAcsContext spAcsContext = spContext as SharePointAcsContext; - - if (spAcsContext != null) - { - HttpCookie spCacheKeyCookie = new HttpCookie(SPCacheKeyKey) - { - Value = spAcsContext.CacheKey, - Secure = true, - HttpOnly = true - }; - - httpContext.Response.AppendCookie(spCacheKeyCookie); - } - - httpContext.Session[SPContextKey] = spAcsContext; - } - } - - #endregion ACS - - #region HighTrust - - /// - /// Encapsulates all the information from SharePoint in HighTrust mode. - /// - public class SharePointHighTrustContext : SharePointContext - { - private readonly WindowsIdentity logonUserIdentity; - - /// - /// The Windows identity for the current user. - /// - public WindowsIdentity LogonUserIdentity - { - get { return this.logonUserIdentity; } - } - - public override string UserAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.userAccessTokenForSPHost, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPHostUrl, this.LogonUserIdentity)); - } - } - - public override string UserAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.userAccessTokenForSPAppWeb, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPAppWebUrl, this.LogonUserIdentity)); - } - } - - public override string AppOnlyAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPHost, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPHostUrl, null)); - } - } - - public override string AppOnlyAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPAppWeb, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPAppWebUrl, null)); - } - } - - public SharePointHighTrustContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, WindowsIdentity logonUserIdentity) - : base(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber) - { - if (logonUserIdentity == null) - { - throw new ArgumentNullException("logonUserIdentity"); - } - - this.logonUserIdentity = logonUserIdentity; - } - - /// - /// Ensures the access token is valid and returns it. - /// - /// The access token to verify. - /// The token renewal handler. - /// The access token string. - private static string GetAccessTokenString(ref Tuple accessToken, Func tokenRenewalHandler) - { - RenewAccessTokenIfNeeded(ref accessToken, tokenRenewalHandler); - - return IsAccessTokenValid(accessToken) ? accessToken.Item1 : null; - } - - /// - /// Renews the access token if it is not valid. - /// - /// The access token to renew. - /// The token renewal handler. - private static void RenewAccessTokenIfNeeded(ref Tuple accessToken, Func tokenRenewalHandler) - { - if (IsAccessTokenValid(accessToken)) - { - return; - } - - DateTime expiresOn = DateTime.UtcNow.Add(TokenHelper.HighTrustAccessTokenLifetime); - - if (TokenHelper.HighTrustAccessTokenLifetime > AccessTokenLifetimeTolerance) - { - // Make the access token get renewed a bit earlier than the time when it expires - // so that the calls to SharePoint with it will have enough time to complete successfully. - expiresOn -= AccessTokenLifetimeTolerance; - } - - accessToken = Tuple.Create(tokenRenewalHandler(), expiresOn); - } - } - - /// - /// Default provider for SharePointHighTrustContext. - /// - public class SharePointHighTrustContextProvider : SharePointContextProvider - { - private const string SPContextKey = "SPContext"; - - protected override SharePointContext CreateSharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, HttpRequestBase httpRequest) - { - WindowsIdentity logonUserIdentity = httpRequest.LogonUserIdentity; - if (logonUserIdentity == null || !logonUserIdentity.IsAuthenticated || logonUserIdentity.IsGuest || logonUserIdentity.User == null) - { - return null; - } - - return new SharePointHighTrustContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, logonUserIdentity); - } - - protected override bool ValidateSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - SharePointHighTrustContext spHighTrustContext = spContext as SharePointHighTrustContext; - - if (spHighTrustContext != null) - { - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - WindowsIdentity logonUserIdentity = httpContext.Request.LogonUserIdentity; - - return spHostUrl == spHighTrustContext.SPHostUrl && - logonUserIdentity != null && - logonUserIdentity.IsAuthenticated && - !logonUserIdentity.IsGuest && - logonUserIdentity.User == spHighTrustContext.LogonUserIdentity.User; - } - - return false; - } - - protected override SharePointContext LoadSharePointContext(HttpContextBase httpContext) - { - return httpContext.Session[SPContextKey] as SharePointHighTrustContext; - } - - protected override void SaveSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - httpContext.Session[SPContextKey] = spContext as SharePointHighTrustContext; - } - } - - #endregion HighTrust -} diff --git a/samples/js-bot-framework/bot/AskSPRider/TokenHelper.cs b/samples/js-bot-framework/bot/AskSPRider/TokenHelper.cs deleted file mode 100644 index f70f2f041..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/TokenHelper.cs +++ /dev/null @@ -1,1223 +0,0 @@ -using Microsoft.IdentityModel; -using Microsoft.IdentityModel.S2S.Protocols.OAuth2; -using Microsoft.IdentityModel.S2S.Tokens; -using Microsoft.SharePoint.Client; -using Microsoft.SharePoint.Client.EventReceivers; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Globalization; -using System.IdentityModel.Selectors; -using System.IdentityModel.Tokens; -using System.IO; -using System.Linq; -using System.Net; -using System.Security.Cryptography.X509Certificates; -using System.Security.Principal; -using System.ServiceModel; -using System.Text; -using System.Web; -using System.Web.Configuration; -using System.Web.Script.Serialization; -using AudienceRestriction = Microsoft.IdentityModel.Tokens.AudienceRestriction; -using AudienceUriValidationFailedException = Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException; -using SecurityTokenHandlerConfiguration = Microsoft.IdentityModel.Tokens.SecurityTokenHandlerConfiguration; -using X509SigningCredentials = Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials; - -namespace AskSPRider -{ - public static class TokenHelper - { - #region public fields - - /// - /// SharePoint principal. - /// - public const string SharePointPrincipal = "00000003-0000-0ff1-ce00-000000000000"; - - /// - /// Lifetime of HighTrust access token, 12 hours. - /// - public static readonly TimeSpan HighTrustAccessTokenLifetime = TimeSpan.FromHours(12.0); - - #endregion public fields - - #region public methods - - /// - /// Retrieves the context token string from the specified request by looking for well-known parameter names in the - /// POSTed form parameters and the querystring. Returns null if no context token is found. - /// - /// HttpRequest in which to look for a context token - /// The context token string - public static string GetContextTokenFromRequest(HttpRequest request) - { - return GetContextTokenFromRequest(new HttpRequestWrapper(request)); - } - - /// - /// Retrieves the context token string from the specified request by looking for well-known parameter names in the - /// POSTed form parameters and the querystring. Returns null if no context token is found. - /// - /// HttpRequest in which to look for a context token - /// The context token string - public static string GetContextTokenFromRequest(HttpRequestBase request) - { - string[] paramNames = { "AppContext", "AppContextToken", "AccessToken", "SPAppToken" }; - foreach (string paramName in paramNames) - { - if (!string.IsNullOrEmpty(request.Form[paramName])) - { - return request.Form[paramName]; - } - if (!string.IsNullOrEmpty(request.QueryString[paramName])) - { - return request.QueryString[paramName]; - } - } - return null; - } - - /// - /// Validate that a specified context token string is intended for this application based on the parameters - /// specified in web.config. Parameters used from web.config used for validation include ClientId, - /// HostedAppHostNameOverride, HostedAppHostName, ClientSecret, and Realm (if it is specified). If HostedAppHostNameOverride is present, - /// it will be used for validation. Otherwise, if the is not - /// null, it is used for validation instead of the web.config's HostedAppHostName. If the token is invalid, an - /// exception is thrown. If the token is valid, TokenHelper's static STS metadata url is updated based on the token contents - /// and a JsonWebSecurityToken based on the context token is returned. - /// - /// The context token to validate - /// The URL authority, consisting of Domain Name System (DNS) host name or IP address and the port number, to use for token audience validation. - /// If null, HostedAppHostName web.config setting is used instead. HostedAppHostNameOverride web.config setting, if present, will be used - /// for validation instead of . - /// A JsonWebSecurityToken based on the context token. - public static SharePointContextToken ReadAndValidateContextToken(string contextTokenString, string appHostName = null) - { - JsonWebSecurityTokenHandler tokenHandler = CreateJsonWebSecurityTokenHandler(); - SecurityToken securityToken = tokenHandler.ReadToken(contextTokenString); - JsonWebSecurityToken jsonToken = securityToken as JsonWebSecurityToken; - SharePointContextToken token = SharePointContextToken.Create(jsonToken); - - string stsAuthority = (new Uri(token.SecurityTokenServiceUri)).Authority; - int firstDot = stsAuthority.IndexOf('.'); - - GlobalEndPointPrefix = stsAuthority.Substring(0, firstDot); - AcsHostUrl = stsAuthority.Substring(firstDot + 1); - - tokenHandler.ValidateToken(jsonToken); - - string[] acceptableAudiences; - if (!String.IsNullOrEmpty(HostedAppHostNameOverride)) - { - acceptableAudiences = HostedAppHostNameOverride.Split(';'); - } - else if (appHostName == null) - { - acceptableAudiences = new[] { HostedAppHostName }; - } - else - { - acceptableAudiences = new[] { appHostName }; - } - - bool validationSuccessful = false; - string realm = Realm ?? token.Realm; - foreach (var audience in acceptableAudiences) - { - string principal = GetFormattedPrincipal(ClientId, audience, realm); - if (StringComparer.OrdinalIgnoreCase.Equals(token.Audience, principal)) - { - validationSuccessful = true; - break; - } - } - - if (!validationSuccessful) - { - throw new AudienceUriValidationFailedException( - String.Format(CultureInfo.CurrentCulture, - "\"{0}\" is not the intended audience \"{1}\"", String.Join(";", acceptableAudiences), token.Audience)); - } - - return token; - } - - /// - /// Retrieves an access token from ACS to call the source of the specified context token at the specified - /// targetHost. The targetHost must be registered for the principal that sent the context token. - /// - /// Context token issued by the intended access token audience - /// Url authority of the target principal - /// An access token with an audience matching the context token's source - public static OAuth2AccessTokenResponse GetAccessToken(SharePointContextToken contextToken, string targetHost) - { - string targetPrincipalName = contextToken.TargetPrincipalName; - - // Extract the refreshToken from the context token - string refreshToken = contextToken.RefreshToken; - - if (String.IsNullOrEmpty(refreshToken)) - { - return null; - } - - string targetRealm = Realm ?? contextToken.Realm; - - return GetAccessToken(refreshToken, - targetPrincipalName, - targetHost, - targetRealm); - } - - /// - /// Uses the specified authorization code to retrieve an access token from ACS to call the specified principal - /// at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - /// null, the "Realm" setting in web.config will be used instead. - /// - /// Authorization code to exchange for access token - /// Name of the target principal to retrieve an access token for - /// Url authority of the target principal - /// Realm to use for the access token's nameid and audience - /// Redirect URI registerd for this app - /// An access token with an audience of the target principal - public static OAuth2AccessTokenResponse GetAccessToken( - string authorizationCode, - string targetPrincipalName, - string targetHost, - string targetRealm, - Uri redirectUri) - { - if (targetRealm == null) - { - targetRealm = Realm; - } - - string resource = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm); - string clientId = GetFormattedPrincipal(ClientId, null, targetRealm); - - // Create request for token. The RedirectUri is null here. This will fail if redirect uri is registered - OAuth2AccessTokenRequest oauth2Request = - OAuth2MessageFactory.CreateAccessTokenRequestWithAuthorizationCode( - clientId, - ClientSecret, - authorizationCode, - redirectUri, - resource); - - // Get token - OAuth2S2SClient client = new OAuth2S2SClient(); - OAuth2AccessTokenResponse oauth2Response; - try - { - oauth2Response = - client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request) as OAuth2AccessTokenResponse; - } - catch (WebException wex) - { - using (StreamReader sr = new StreamReader(wex.Response.GetResponseStream())) - { - string responseText = sr.ReadToEnd(); - throw new WebException(wex.Message + " - " + responseText, wex); - } - } - - return oauth2Response; - } - - /// - /// Uses the specified refresh token to retrieve an access token from ACS to call the specified principal - /// at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - /// null, the "Realm" setting in web.config will be used instead. - /// - /// Refresh token to exchange for access token - /// Name of the target principal to retrieve an access token for - /// Url authority of the target principal - /// Realm to use for the access token's nameid and audience - /// An access token with an audience of the target principal - public static OAuth2AccessTokenResponse GetAccessToken( - string refreshToken, - string targetPrincipalName, - string targetHost, - string targetRealm) - { - if (targetRealm == null) - { - targetRealm = Realm; - } - - string resource = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm); - string clientId = GetFormattedPrincipal(ClientId, null, targetRealm); - - OAuth2AccessTokenRequest oauth2Request = OAuth2MessageFactory.CreateAccessTokenRequestWithRefreshToken(clientId, ClientSecret, refreshToken, resource); - - // Get token - OAuth2S2SClient client = new OAuth2S2SClient(); - OAuth2AccessTokenResponse oauth2Response; - try - { - oauth2Response = - client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request) as OAuth2AccessTokenResponse; - } - catch (WebException wex) - { - using (StreamReader sr = new StreamReader(wex.Response.GetResponseStream())) - { - string responseText = sr.ReadToEnd(); - throw new WebException(wex.Message + " - " + responseText, wex); - } - } - - return oauth2Response; - } - - /// - /// Retrieves an app-only access token from ACS to call the specified principal - /// at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - /// null, the "Realm" setting in web.config will be used instead. - /// - /// Name of the target principal to retrieve an access token for - /// Url authority of the target principal - /// Realm to use for the access token's nameid and audience - /// An access token with an audience of the target principal - public static OAuth2AccessTokenResponse GetAppOnlyAccessToken( - string targetPrincipalName, - string targetHost, - string targetRealm) - { - - if (targetRealm == null) - { - targetRealm = Realm; - } - - string resource = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm); - string clientId = GetFormattedPrincipal(ClientId, HostedAppHostName, targetRealm); - - OAuth2AccessTokenRequest oauth2Request = OAuth2MessageFactory.CreateAccessTokenRequestWithClientCredentials(clientId, ClientSecret, resource); - oauth2Request.Resource = resource; - - // Get token - OAuth2S2SClient client = new OAuth2S2SClient(); - - OAuth2AccessTokenResponse oauth2Response; - try - { - oauth2Response = - client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request) as OAuth2AccessTokenResponse; - } - catch (WebException wex) - { - using (StreamReader sr = new StreamReader(wex.Response.GetResponseStream())) - { - string responseText = sr.ReadToEnd(); - throw new WebException(wex.Message + " - " + responseText, wex); - } - } - - return oauth2Response; - } - - /// - /// Creates a client context based on the properties of a remote event receiver - /// - /// Properties of a remote event receiver - /// A ClientContext ready to call the web where the event originated - public static ClientContext CreateRemoteEventReceiverClientContext(SPRemoteEventProperties properties) - { - Uri sharepointUrl; - if (properties.ListEventProperties != null) - { - sharepointUrl = new Uri(properties.ListEventProperties.WebUrl); - } - else if (properties.ItemEventProperties != null) - { - sharepointUrl = new Uri(properties.ItemEventProperties.WebUrl); - } - else if (properties.WebEventProperties != null) - { - sharepointUrl = new Uri(properties.WebEventProperties.FullUrl); - } - else - { - return null; - } - - if (IsHighTrustApp()) - { - return GetS2SClientContextWithWindowsIdentity(sharepointUrl, null); - } - - return CreateAcsClientContextForUrl(properties, sharepointUrl); - } - - /// - /// Creates a client context based on the properties of an app event - /// - /// Properties of an app event - /// True to target the app web, false to target the host web - /// A ClientContext ready to call the app web or the parent web - public static ClientContext CreateAppEventClientContext(SPRemoteEventProperties properties, bool useAppWeb) - { - if (properties.AppEventProperties == null) - { - return null; - } - - Uri sharepointUrl = useAppWeb ? properties.AppEventProperties.AppWebFullUrl : properties.AppEventProperties.HostWebFullUrl; - if (IsHighTrustApp()) - { - return GetS2SClientContextWithWindowsIdentity(sharepointUrl, null); - } - - return CreateAcsClientContextForUrl(properties, sharepointUrl); - } - - /// - /// Retrieves an access token from ACS using the specified authorization code, and uses that access token to - /// create a client context - /// - /// Url of the target SharePoint site - /// Authorization code to use when retrieving the access token from ACS - /// Redirect URI registerd for this app - /// A ClientContext ready to call targetUrl with a valid access token - public static ClientContext GetClientContextWithAuthorizationCode( - string targetUrl, - string authorizationCode, - Uri redirectUri) - { - return GetClientContextWithAuthorizationCode(targetUrl, SharePointPrincipal, authorizationCode, GetRealmFromTargetUrl(new Uri(targetUrl)), redirectUri); - } - - /// - /// Retrieves an access token from ACS using the specified authorization code, and uses that access token to - /// create a client context - /// - /// Url of the target SharePoint site - /// Name of the target SharePoint principal - /// Authorization code to use when retrieving the access token from ACS - /// Realm to use for the access token's nameid and audience - /// Redirect URI registerd for this app - /// A ClientContext ready to call targetUrl with a valid access token - public static ClientContext GetClientContextWithAuthorizationCode( - string targetUrl, - string targetPrincipalName, - string authorizationCode, - string targetRealm, - Uri redirectUri) - { - Uri targetUri = new Uri(targetUrl); - - string accessToken = - GetAccessToken(authorizationCode, targetPrincipalName, targetUri.Authority, targetRealm, redirectUri).AccessToken; - - return GetClientContextWithAccessToken(targetUrl, accessToken); - } - - /// - /// Uses the specified access token to create a client context - /// - /// Url of the target SharePoint site - /// Access token to be used when calling the specified targetUrl - /// A ClientContext ready to call targetUrl with the specified access token - public static ClientContext GetClientContextWithAccessToken(string targetUrl, string accessToken) - { - ClientContext clientContext = new ClientContext(targetUrl); - - clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous; - clientContext.FormDigestHandlingEnabled = false; - clientContext.ExecutingWebRequest += - delegate(object oSender, WebRequestEventArgs webRequestEventArgs) - { - webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] = - "Bearer " + accessToken; - }; - - return clientContext; - } - - /// - /// Retrieves an access token from ACS using the specified context token, and uses that access token to create - /// a client context - /// - /// Url of the target SharePoint site - /// Context token received from the target SharePoint site - /// Url authority of the hosted app. If this is null, the value in the HostedAppHostName - /// of web.config will be used instead - /// A ClientContext ready to call targetUrl with a valid access token - public static ClientContext GetClientContextWithContextToken( - string targetUrl, - string contextTokenString, - string appHostUrl) - { - SharePointContextToken contextToken = ReadAndValidateContextToken(contextTokenString, appHostUrl); - - Uri targetUri = new Uri(targetUrl); - - string accessToken = GetAccessToken(contextToken, targetUri.Authority).AccessToken; - - return GetClientContextWithAccessToken(targetUrl, accessToken); - } - - /// - /// Returns the SharePoint url to which the app should redirect the browser to request consent and get back - /// an authorization code. - /// - /// Absolute Url of the SharePoint site - /// Space-delimited permissions to request from the SharePoint site in "shorthand" format - /// (e.g. "Web.Read Site.Write") - /// Url of the SharePoint site's OAuth authorization page - public static string GetAuthorizationUrl(string contextUrl, string scope) - { - return string.Format( - "{0}{1}?IsDlg=1&client_id={2}&scope={3}&response_type=code", - EnsureTrailingSlash(contextUrl), - AuthorizationPage, - ClientId, - scope); - } - - /// - /// Returns the SharePoint url to which the app should redirect the browser to request consent and get back - /// an authorization code. - /// - /// Absolute Url of the SharePoint site - /// Space-delimited permissions to request from the SharePoint site in "shorthand" format - /// (e.g. "Web.Read Site.Write") - /// Uri to which SharePoint should redirect the browser to after consent is - /// granted - /// Url of the SharePoint site's OAuth authorization page - public static string GetAuthorizationUrl(string contextUrl, string scope, string redirectUri) - { - return string.Format( - "{0}{1}?IsDlg=1&client_id={2}&scope={3}&response_type=code&redirect_uri={4}", - EnsureTrailingSlash(contextUrl), - AuthorizationPage, - ClientId, - scope, - redirectUri); - } - - /// - /// Returns the SharePoint url to which the app should redirect the browser to request a new context token. - /// - /// Absolute Url of the SharePoint site - /// Uri to which SharePoint should redirect the browser to with a context token - /// Url of the SharePoint site's context token redirect page - public static string GetAppContextTokenRequestUrl(string contextUrl, string redirectUri) - { - return string.Format( - "{0}{1}?client_id={2}&redirect_uri={3}", - EnsureTrailingSlash(contextUrl), - RedirectPage, - ClientId, - redirectUri); - } - - /// - /// Retrieves an S2S access token signed by the application's private certificate on behalf of the specified - /// WindowsIdentity and intended for the SharePoint at the targetApplicationUri. If no Realm is specified in - /// web.config, an auth challenge will be issued to the targetApplicationUri to discover it. - /// - /// Url of the target SharePoint site - /// Windows identity of the user on whose behalf to create the access token - /// An access token with an audience of the target principal - public static string GetS2SAccessTokenWithWindowsIdentity( - Uri targetApplicationUri, - WindowsIdentity identity) - { - string realm = string.IsNullOrEmpty(Realm) ? GetRealmFromTargetUrl(targetApplicationUri) : Realm; - - JsonWebTokenClaim[] claims = identity != null ? GetClaimsWithWindowsIdentity(identity) : null; - - return GetS2SAccessTokenWithClaims(targetApplicationUri.Authority, realm, claims); - } - - /// - /// Retrieves an S2S client context with an access token signed by the application's private certificate on - /// behalf of the specified WindowsIdentity and intended for application at the targetApplicationUri using the - /// targetRealm. If no Realm is specified in web.config, an auth challenge will be issued to the - /// targetApplicationUri to discover it. - /// - /// Url of the target SharePoint site - /// Windows identity of the user on whose behalf to create the access token - /// A ClientContext using an access token with an audience of the target application - public static ClientContext GetS2SClientContextWithWindowsIdentity( - Uri targetApplicationUri, - WindowsIdentity identity) - { - string realm = string.IsNullOrEmpty(Realm) ? GetRealmFromTargetUrl(targetApplicationUri) : Realm; - - JsonWebTokenClaim[] claims = identity != null ? GetClaimsWithWindowsIdentity(identity) : null; - - string accessToken = GetS2SAccessTokenWithClaims(targetApplicationUri.Authority, realm, claims); - - return GetClientContextWithAccessToken(targetApplicationUri.ToString(), accessToken); - } - - /// - /// Get authentication realm from SharePoint - /// - /// Url of the target SharePoint site - /// String representation of the realm GUID - public static string GetRealmFromTargetUrl(Uri targetApplicationUri) - { - WebRequest request = WebRequest.Create(targetApplicationUri + "/_vti_bin/client.svc"); - request.Headers.Add("Authorization: Bearer "); - - try - { - using (request.GetResponse()) - { - } - } - catch (WebException e) - { - if (e.Response == null) - { - return null; - } - - string bearerResponseHeader = e.Response.Headers["WWW-Authenticate"]; - if (string.IsNullOrEmpty(bearerResponseHeader)) - { - return null; - } - - const string bearer = "Bearer realm=\""; - int bearerIndex = bearerResponseHeader.IndexOf(bearer, StringComparison.Ordinal); - if (bearerIndex < 0) - { - return null; - } - - int realmIndex = bearerIndex + bearer.Length; - - if (bearerResponseHeader.Length >= realmIndex + 36) - { - string targetRealm = bearerResponseHeader.Substring(realmIndex, 36); - - Guid realmGuid; - - if (Guid.TryParse(targetRealm, out realmGuid)) - { - return targetRealm; - } - } - } - return null; - } - - /// - /// Determines if this is a high trust app. - /// - /// True if this is a high trust app. - public static bool IsHighTrustApp() - { - return SigningCredentials != null; - } - - /// - /// Ensures that the specified URL ends with '/' if it is not null or empty. - /// - /// The url. - /// The url ending with '/' if it is not null or empty. - public static string EnsureTrailingSlash(string url) - { - if (!string.IsNullOrEmpty(url) && url[url.Length - 1] != '/') - { - return url + "/"; - } - - return url; - } - - #endregion - - #region private fields - - // - // Configuration Constants - // - - private const string AuthorizationPage = "_layouts/15/OAuthAuthorize.aspx"; - private const string RedirectPage = "_layouts/15/AppRedirect.aspx"; - private const string AcsPrincipalName = "00000001-0000-0000-c000-000000000000"; - private const string AcsMetadataEndPointRelativeUrl = "metadata/json/1"; - private const string S2SProtocol = "OAuth2"; - private const string DelegationIssuance = "DelegationIssuance1.0"; - private const string NameIdentifierClaimType = JsonWebTokenConstants.ReservedClaims.NameIdentifier; - private const string TrustedForImpersonationClaimType = "trustedfordelegation"; - private const string ActorTokenClaimType = JsonWebTokenConstants.ReservedClaims.ActorToken; - - // - // Environment Constants - // - - private static string GlobalEndPointPrefix = "accounts"; - private static string AcsHostUrl = "accesscontrol.windows.net"; - - // - // Hosted app configuration - // - private static readonly string ClientId = string.IsNullOrEmpty(WebConfigurationManager.AppSettings.Get("ClientId")) ? WebConfigurationManager.AppSettings.Get("HostedAppName") : WebConfigurationManager.AppSettings.Get("ClientId"); - private static readonly string IssuerId = string.IsNullOrEmpty(WebConfigurationManager.AppSettings.Get("IssuerId")) ? ClientId : WebConfigurationManager.AppSettings.Get("IssuerId"); - private static readonly string HostedAppHostNameOverride = WebConfigurationManager.AppSettings.Get("HostedAppHostNameOverride"); - private static readonly string HostedAppHostName = WebConfigurationManager.AppSettings.Get("HostedAppHostName"); - private static readonly string ClientSecret = string.IsNullOrEmpty(WebConfigurationManager.AppSettings.Get("ClientSecret")) ? WebConfigurationManager.AppSettings.Get("HostedAppSigningKey") : WebConfigurationManager.AppSettings.Get("ClientSecret"); - private static readonly string SecondaryClientSecret = WebConfigurationManager.AppSettings.Get("SecondaryClientSecret"); - private static readonly string Realm = WebConfigurationManager.AppSettings.Get("Realm"); - private static readonly string ServiceNamespace = WebConfigurationManager.AppSettings.Get("Realm"); - - private static readonly string ClientSigningCertificatePath = WebConfigurationManager.AppSettings.Get("ClientSigningCertificatePath"); - private static readonly string ClientSigningCertificatePassword = WebConfigurationManager.AppSettings.Get("ClientSigningCertificatePassword"); - private static readonly X509Certificate2 ClientCertificate = (string.IsNullOrEmpty(ClientSigningCertificatePath) || string.IsNullOrEmpty(ClientSigningCertificatePassword)) ? null : new X509Certificate2(ClientSigningCertificatePath, ClientSigningCertificatePassword); - private static readonly X509SigningCredentials SigningCredentials = (ClientCertificate == null) ? null : new X509SigningCredentials(ClientCertificate, SecurityAlgorithms.RsaSha256Signature, SecurityAlgorithms.Sha256Digest); - - #endregion - - #region private methods - - private static ClientContext CreateAcsClientContextForUrl(SPRemoteEventProperties properties, Uri sharepointUrl) - { - string contextTokenString = properties.ContextToken; - - if (String.IsNullOrEmpty(contextTokenString)) - { - return null; - } - - SharePointContextToken contextToken = ReadAndValidateContextToken(contextTokenString, OperationContext.Current.IncomingMessageHeaders.To.Host); - string accessToken = GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken; - - return GetClientContextWithAccessToken(sharepointUrl.ToString(), accessToken); - } - - private static string GetAcsMetadataEndpointUrl() - { - return Path.Combine(GetAcsGlobalEndpointUrl(), AcsMetadataEndPointRelativeUrl); - } - - private static string GetFormattedPrincipal(string principalName, string hostName, string realm) - { - if (!String.IsNullOrEmpty(hostName)) - { - return String.Format(CultureInfo.InvariantCulture, "{0}/{1}@{2}", principalName, hostName, realm); - } - - return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", principalName, realm); - } - - private static string GetAcsPrincipalName(string realm) - { - return GetFormattedPrincipal(AcsPrincipalName, new Uri(GetAcsGlobalEndpointUrl()).Host, realm); - } - - private static string GetAcsGlobalEndpointUrl() - { - return String.Format(CultureInfo.InvariantCulture, "https://{0}.{1}/", GlobalEndPointPrefix, AcsHostUrl); - } - - private static JsonWebSecurityTokenHandler CreateJsonWebSecurityTokenHandler() - { - JsonWebSecurityTokenHandler handler = new JsonWebSecurityTokenHandler(); - handler.Configuration = new SecurityTokenHandlerConfiguration(); - handler.Configuration.AudienceRestriction = new AudienceRestriction(AudienceUriMode.Never); - handler.Configuration.CertificateValidator = X509CertificateValidator.None; - - List securityKeys = new List(); - securityKeys.Add(Convert.FromBase64String(ClientSecret)); - if (!string.IsNullOrEmpty(SecondaryClientSecret)) - { - securityKeys.Add(Convert.FromBase64String(SecondaryClientSecret)); - } - - List securityTokens = new List(); - securityTokens.Add(new MultipleSymmetricKeySecurityToken(securityKeys)); - - handler.Configuration.IssuerTokenResolver = - SecurityTokenResolver.CreateDefaultSecurityTokenResolver( - new ReadOnlyCollection(securityTokens), - false); - SymmetricKeyIssuerNameRegistry issuerNameRegistry = new SymmetricKeyIssuerNameRegistry(); - foreach (byte[] securitykey in securityKeys) - { - issuerNameRegistry.AddTrustedIssuer(securitykey, GetAcsPrincipalName(ServiceNamespace)); - } - handler.Configuration.IssuerNameRegistry = issuerNameRegistry; - return handler; - } - - private static string GetS2SAccessTokenWithClaims( - string targetApplicationHostName, - string targetRealm, - IEnumerable claims) - { - return IssueToken( - ClientId, - IssuerId, - targetRealm, - SharePointPrincipal, - targetRealm, - targetApplicationHostName, - true, - claims, - claims == null); - } - - private static JsonWebTokenClaim[] GetClaimsWithWindowsIdentity(WindowsIdentity identity) - { - JsonWebTokenClaim[] claims = new JsonWebTokenClaim[] - { - new JsonWebTokenClaim(NameIdentifierClaimType, identity.User.Value.ToLower()), - new JsonWebTokenClaim("nii", "urn:office:idp:activedirectory") - }; - return claims; - } - - private static string IssueToken( - string sourceApplication, - string issuerApplication, - string sourceRealm, - string targetApplication, - string targetRealm, - string targetApplicationHostName, - bool trustedForDelegation, - IEnumerable claims, - bool appOnly = false) - { - if (null == SigningCredentials) - { - throw new InvalidOperationException("SigningCredentials was not initialized"); - } - - #region Actor token - - string issuer = string.IsNullOrEmpty(sourceRealm) ? issuerApplication : string.Format("{0}@{1}", issuerApplication, sourceRealm); - string nameid = string.IsNullOrEmpty(sourceRealm) ? sourceApplication : string.Format("{0}@{1}", sourceApplication, sourceRealm); - string audience = string.Format("{0}/{1}@{2}", targetApplication, targetApplicationHostName, targetRealm); - - List actorClaims = new List(); - actorClaims.Add(new JsonWebTokenClaim(JsonWebTokenConstants.ReservedClaims.NameIdentifier, nameid)); - if (trustedForDelegation && !appOnly) - { - actorClaims.Add(new JsonWebTokenClaim(TrustedForImpersonationClaimType, "true")); - } - - // Create token - JsonWebSecurityToken actorToken = new JsonWebSecurityToken( - issuer: issuer, - audience: audience, - validFrom: DateTime.UtcNow, - validTo: DateTime.UtcNow.Add(HighTrustAccessTokenLifetime), - signingCredentials: SigningCredentials, - claims: actorClaims); - - string actorTokenString = new JsonWebSecurityTokenHandler().WriteTokenAsString(actorToken); - - if (appOnly) - { - // App-only token is the same as actor token for delegated case - return actorTokenString; - } - - #endregion Actor token - - #region Outer token - - List outerClaims = null == claims ? new List() : new List(claims); - outerClaims.Add(new JsonWebTokenClaim(ActorTokenClaimType, actorTokenString)); - - JsonWebSecurityToken jsonToken = new JsonWebSecurityToken( - nameid, // outer token issuer should match actor token nameid - audience, - DateTime.UtcNow, - DateTime.UtcNow.Add(HighTrustAccessTokenLifetime), - outerClaims); - - string accessToken = new JsonWebSecurityTokenHandler().WriteTokenAsString(jsonToken); - - #endregion Outer token - - return accessToken; - } - - #endregion - - #region AcsMetadataParser - - // This class is used to get MetaData document from the global STS endpoint. It contains - // methods to parse the MetaData document and get endpoints and STS certificate. - public static class AcsMetadataParser - { - public static X509Certificate2 GetAcsSigningCert(string realm) - { - JsonMetadataDocument document = GetMetadataDocument(realm); - - if (null != document.keys && document.keys.Count > 0) - { - JsonKey signingKey = document.keys[0]; - - if (null != signingKey && null != signingKey.keyValue) - { - return new X509Certificate2(Encoding.UTF8.GetBytes(signingKey.keyValue.value)); - } - } - - throw new Exception("Metadata document does not contain ACS signing certificate."); - } - - public static string GetDelegationServiceUrl(string realm) - { - JsonMetadataDocument document = GetMetadataDocument(realm); - - JsonEndpoint delegationEndpoint = document.endpoints.SingleOrDefault(e => e.protocol == DelegationIssuance); - - if (null != delegationEndpoint) - { - return delegationEndpoint.location; - } - throw new Exception("Metadata document does not contain Delegation Service endpoint Url"); - } - - private static JsonMetadataDocument GetMetadataDocument(string realm) - { - string acsMetadataEndpointUrlWithRealm = String.Format(CultureInfo.InvariantCulture, "{0}?realm={1}", - GetAcsMetadataEndpointUrl(), - realm); - byte[] acsMetadata; - using (WebClient webClient = new WebClient()) - { - - acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm); - } - string jsonResponseString = Encoding.UTF8.GetString(acsMetadata); - - JavaScriptSerializer serializer = new JavaScriptSerializer(); - JsonMetadataDocument document = serializer.Deserialize(jsonResponseString); - - if (null == document) - { - throw new Exception("No metadata document found at the global endpoint " + acsMetadataEndpointUrlWithRealm); - } - - return document; - } - - public static string GetStsUrl(string realm) - { - JsonMetadataDocument document = GetMetadataDocument(realm); - - JsonEndpoint s2sEndpoint = document.endpoints.SingleOrDefault(e => e.protocol == S2SProtocol); - - if (null != s2sEndpoint) - { - return s2sEndpoint.location; - } - - throw new Exception("Metadata document does not contain STS endpoint url"); - } - - private class JsonMetadataDocument - { - public string serviceName { get; set; } - public List endpoints { get; set; } - public List keys { get; set; } - } - - private class JsonEndpoint - { - public string location { get; set; } - public string protocol { get; set; } - public string usage { get; set; } - } - - private class JsonKeyValue - { - public string type { get; set; } - public string value { get; set; } - } - - private class JsonKey - { - public string usage { get; set; } - public JsonKeyValue keyValue { get; set; } - } - } - - #endregion - } - - /// - /// A JsonWebSecurityToken generated by SharePoint to authenticate to a 3rd party application and allow callbacks using a refresh token - /// - public class SharePointContextToken : JsonWebSecurityToken - { - public static SharePointContextToken Create(JsonWebSecurityToken contextToken) - { - return new SharePointContextToken(contextToken.Issuer, contextToken.Audience, contextToken.ValidFrom, contextToken.ValidTo, contextToken.Claims); - } - - public SharePointContextToken(string issuer, string audience, DateTime validFrom, DateTime validTo, IEnumerable claims) - : base(issuer, audience, validFrom, validTo, claims) - { - } - - public SharePointContextToken(string issuer, string audience, DateTime validFrom, DateTime validTo, IEnumerable claims, SecurityToken issuerToken, JsonWebSecurityToken actorToken) - : base(issuer, audience, validFrom, validTo, claims, issuerToken, actorToken) - { - } - - public SharePointContextToken(string issuer, string audience, DateTime validFrom, DateTime validTo, IEnumerable claims, SigningCredentials signingCredentials) - : base(issuer, audience, validFrom, validTo, claims, signingCredentials) - { - } - - public string NameId - { - get - { - return GetClaimValue(this, "nameid"); - } - } - - /// - /// The principal name portion of the context token's "appctxsender" claim - /// - public string TargetPrincipalName - { - get - { - string appctxsender = GetClaimValue(this, "appctxsender"); - - if (appctxsender == null) - { - return null; - } - - return appctxsender.Split('@')[0]; - } - } - - /// - /// The context token's "refreshtoken" claim - /// - public string RefreshToken - { - get - { - return GetClaimValue(this, "refreshtoken"); - } - } - - /// - /// The context token's "CacheKey" claim - /// - public string CacheKey - { - get - { - string appctx = GetClaimValue(this, "appctx"); - if (appctx == null) - { - return null; - } - - ClientContext ctx = new ClientContext("http://tempuri.org"); - Dictionary dict = (Dictionary)ctx.ParseObjectFromJsonString(appctx); - string cacheKey = (string)dict["CacheKey"]; - - return cacheKey; - } - } - - /// - /// The context token's "SecurityTokenServiceUri" claim - /// - public string SecurityTokenServiceUri - { - get - { - string appctx = GetClaimValue(this, "appctx"); - if (appctx == null) - { - return null; - } - - ClientContext ctx = new ClientContext("http://tempuri.org"); - Dictionary dict = (Dictionary)ctx.ParseObjectFromJsonString(appctx); - string securityTokenServiceUri = (string)dict["SecurityTokenServiceUri"]; - - return securityTokenServiceUri; - } - } - - /// - /// The realm portion of the context token's "audience" claim - /// - public string Realm - { - get - { - string aud = Audience; - if (aud == null) - { - return null; - } - - string tokenRealm = aud.Substring(aud.IndexOf('@') + 1); - - return tokenRealm; - } - } - - private static string GetClaimValue(JsonWebSecurityToken token, string claimType) - { - if (token == null) - { - throw new ArgumentNullException("token"); - } - - foreach (JsonWebTokenClaim claim in token.Claims) - { - if (StringComparer.Ordinal.Equals(claim.ClaimType, claimType)) - { - return claim.Value; - } - } - - return null; - } - - } - - /// - /// Represents a security token which contains multiple security keys that are generated using symmetric algorithms. - /// - public class MultipleSymmetricKeySecurityToken : SecurityToken - { - /// - /// Initializes a new instance of the MultipleSymmetricKeySecurityToken class. - /// - /// An enumeration of Byte arrays that contain the symmetric keys. - public MultipleSymmetricKeySecurityToken(IEnumerable keys) - : this(UniqueId.CreateUniqueId(), keys) - { - } - - /// - /// Initializes a new instance of the MultipleSymmetricKeySecurityToken class. - /// - /// The unique identifier of the security token. - /// An enumeration of Byte arrays that contain the symmetric keys. - public MultipleSymmetricKeySecurityToken(string tokenId, IEnumerable keys) - { - if (keys == null) - { - throw new ArgumentNullException("keys"); - } - - if (String.IsNullOrEmpty(tokenId)) - { - throw new ArgumentException("Value cannot be a null or empty string.", "tokenId"); - } - - foreach (byte[] key in keys) - { - if (key.Length <= 0) - { - throw new ArgumentException("The key length must be greater then zero.", "keys"); - } - } - - id = tokenId; - effectiveTime = DateTime.UtcNow; - securityKeys = CreateSymmetricSecurityKeys(keys); - } - - /// - /// Gets the unique identifier of the security token. - /// - public override string Id - { - get - { - return id; - } - } - - /// - /// Gets the cryptographic keys associated with the security token. - /// - public override ReadOnlyCollection SecurityKeys - { - get - { - return securityKeys.AsReadOnly(); - } - } - - /// - /// Gets the first instant in time at which this security token is valid. - /// - public override DateTime ValidFrom - { - get - { - return effectiveTime; - } - } - - /// - /// Gets the last instant in time at which this security token is valid. - /// - public override DateTime ValidTo - { - get - { - // Never expire - return DateTime.MaxValue; - } - } - - /// - /// Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier. - /// - /// A SecurityKeyIdentifierClause to compare to this instance - /// true if keyIdentifierClause is a SecurityKeyIdentifierClause and it has the same unique identifier as the Id property; otherwise, false. - public override bool MatchesKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause) - { - if (keyIdentifierClause == null) - { - throw new ArgumentNullException("keyIdentifierClause"); - } - - // Since this is a symmetric token and we do not have IDs to distinguish tokens, we just check for the - // presence of a SymmetricIssuerKeyIdentifier. The actual mapping to the issuer takes place later - // when the key is matched to the issuer. - if (keyIdentifierClause is SymmetricIssuerKeyIdentifierClause) - { - return true; - } - return base.MatchesKeyIdentifierClause(keyIdentifierClause); - } - - #region private members - - private List CreateSymmetricSecurityKeys(IEnumerable keys) - { - List symmetricKeys = new List(); - foreach (byte[] key in keys) - { - symmetricKeys.Add(new InMemorySymmetricSecurityKey(key)); - } - return symmetricKeys; - } - - private string id; - private DateTime effectiveTime; - private List securityKeys; - - #endregion - } -} diff --git a/samples/js-bot-framework/bot/AskSPRider/Web.Debug.config b/samples/js-bot-framework/bot/AskSPRider/Web.Debug.config deleted file mode 100644 index 2e302f9f9..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Web.Debug.config +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Web.Release.config b/samples/js-bot-framework/bot/AskSPRider/Web.Release.config deleted file mode 100644 index c35844462..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Web.Release.config +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/Web.config b/samples/js-bot-framework/bot/AskSPRider/Web.config deleted file mode 100644 index 62d9a2c98..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/Web.config +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Autofac.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Autofac.dll deleted file mode 100644 index e4a596a97..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Autofac.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Autofac.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Autofac.xml deleted file mode 100644 index 0b2a8808a..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Autofac.xml +++ /dev/null @@ -1,6923 +0,0 @@ - - - - Autofac - - - - - Service used as a "flag" to indicate a particular component should be - automatically activated on container build. - - - - - Services are the lookup keys used to locate component instances. - - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Implements the operator ==. - - The left operand. - The right operand. - The result of the operator. - - - - Implements the operator !=. - - The left operand. - The right operand. - The result of the operator. - - - - 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 . - - - - - Gets a human-readable description of the service. - - The description. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - if the specified is not - and is an ; otherwise, . - - - - All services of this type are considered "equal." - - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . Always 0 for this type. - - - - All services of this type are considered "equal" and use the same hash code. - - - - - - Gets the service description. - - - Always returns AutoActivate. - - - - - Used with the WithMetadata configuration method to - associate key-value pairs with an . - - Interface with properties whose names correspond to - the property keys. - This feature was suggested by OJ Reeves (@TheColonial). - - - - Set one of the property values. - - The type of the property. - An expression that accesses the property to set. - The property value to set. - - - - 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 choose between multiple constructors with equal length {0} on type '{1}'. Select the constructor explicitly, with the UsingConstructor() configuration method, when the component is registered.. - - - - - 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 {0} ---> {1} (See inner exception for details.). - - - - - Well-known tags used in setting up matching lifetime scopes. - - - - - Tag used in setting up per-request lifetime scope registrations - (e.g., per-HTTP-request or per-API-request). - - - - - Interface providing fluent syntax for chaining module registrations. - - - - - Add a module to the container. - - The module to add. - - The to allow - additional chained module registrations. - - - - - Basic implementation of the - interface allowing registration of modules into a - in a fluent format. - - - - - The into which registrations will be made. - - - - - Initializes a new instance of the class. - - - The into which registrations will be made. - - - Thrown if is . - - - - - Add a module to the container. - - The module to add. - - The to allow - additional chained module registrations. - - - Thrown if is . - - - - - Support the System.Lazy<T, TMetadata> - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - When a dependency of a lazy type is used, the instantiation of the underlying - component will be delayed until the Value property is first accessed. - - - - - Allows registrations to be made on-the-fly when unregistered - services are requested (lazy registrations.) - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - If the source is queried for service s, and it returns a component that implements both s and s', then it - will not be queried again for either s or s'. This means that if the source can return other implementations - of s', it should return these, plus the transitive closure of other components implementing their - additional services, along with the implementation of s. It is not an error to return components - that do not implement . - - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - 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 Lazy<T, TMetadata> Support. - - - - - 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 '{0}' cannot be used as a metadata view. A metadata view must be a concrete class with a parameterless or dictionary constructor.. - - - - - Looks up a localized string similar to Export metadata for '{0}' is missing and no default value was supplied.. - - - - - Provides a value along with metadata describing the value. - - The type of the value. - An interface to which metadata values can be bound. - - - - Create a new instance. - - The value described by the instance. - The metadata describing the value. - - - - The value described by . - - - - - Metadata describing the value. - - - - - Support the - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - - - - - Finds constructors that match a finder function. - - - - - Find suitable constructors from which to select. - - - - - Finds suitable constructors on the target type. - - Type to search for constructors. - Suitable constructors. - - - - Initializes a new instance of the class. - - - Default to selecting all public constructors. - - - - - Initializes a new instance of the class. - - The finder function. - - - - Finds suitable constructors on the target type. - - Type to search for constructors. - Suitable constructors. - - - - Extension methods for configuring the . - - - - - Fluent method for setting the registration configuration on . - - The registration source to configure. - A configuration action that will run on any registration provided by the source. - - The with the registration configuration set. - - - - - Extension methods for registering instances with a container. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The assemblies from which to register modules. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The assemblies from which to register modules. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The assemblies from which to register modules. - The type of the module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The assemblies from which to register modules. - The type of the module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The of the module to add. - The assemblies from which to register modules. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The of the module to add. - The assemblies from which to register modules. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The builder to register the module with. - The module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The module registrar that will make the registration into the container. - The module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The builder to register the module with. - The module to add. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - 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 Module.ThisAssembly is only available in modules that inherit directly from Module.. - - - - - Support the - type automatically whenever type T is registered with the container. - When a dependency of a lazy type is used, the instantiation of the underlying - component will be delayed until the Value property is first accessed. - - - - - Generates context-bound closures that represent factories from - a set of heuristics based on delegate type signatures. - - - - - Create a factory generator. - - The service that will be activated in - order to create the products of the factory. - The delegate to provide as a factory. - The parameter mapping mode to use. - - - - Create a factory generator. - - The component that will be activated in - order to create the products of the factory. - The delegate to provide as a factory. - The parameter mapping mode to use. - - - - Generates a factory delegate that closes over the provided context. - - The context in which the factory will be used. - Parameters provided to the resolve call for the factory itself. - A factory delegate that will work within the context. - - - - Generates a factory delegate that closes over the provided context. - - The context in which the factory will be used. - Parameters provided to the resolve call for the factory itself. - A factory delegate that will work within the context. - - - - Reflection activator data for concrete types. - - - - - Builder for reflection-based activators. - - - - - Specify a reflection activator for the given type. - - Type that will be activated. - - - - Get the implementation type. - - - - - The constructor finder for the registration. - - - - - The constructor selector for the registration. - - - - - The explicitly bound constructor parameters. - - - - - The explicitly bound properties. - - - - - Activator data that can provide an IInstanceActivator instance. - - - - - The instance activator based on the provided data. - - - - - Specify a reflection activator for the given type. - - Type that will be activated. - - - - The instance activator based on the provided data. - - - - - Parameterises the construction of a container by a . - - - - - No options - the default behavior for container building. - - - - - Prevents inclusion of standard modules like support for - relationship types including etc. - - - - - Does not call on components implementing - this interface (useful for module testing.) - - - - - Data structure used to construct registrations. - - The most specific type to which instances of the registration - can be cast. - Activator builder type. - Registration style type. - - - - Configure the component so that instances are never disposed by the container. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that instances that support IDisposable are - disposed by the container (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets a new, unique instance (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets the same, shared instance. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a single ILifetimeScope gets the same, shared instance. Dependent components in - different lifetime scopes will get different instances. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() within - a ILifetimeScope tagged with any of the provided tags value gets the same, shared instance. - Dependent components in lifetime scopes that are children of the tagged scope will - share the parent's instance. If no appropriately tagged scope can be found in the - hierarchy an is thrown. - - Tag applied to matching lifetime scopes. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - Key to associate with the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Service types to expose. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Services to expose. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Preparing event. This event allows manipulating of the parameters - that will be provided to the component. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activating event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activated event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Configure the component so that any properties whose types are registered in the - container will be wired to instances of the appropriate service. - - Set wiring options such as circular dependency wiring support. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - Key by which the data can be located. - The data value. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - The extended properties to associate with the component. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - A type with properties whose names correspond to the - property names to configure. - A registration builder allowing further configuration of the component. - - - - The activator data. - - - - - The registration style. - - - - - The registration data. - - - - - Delegates registration lookups to a specified registry. When write operations are applied, - initialises a new 'writeable' registry. - - - Safe for concurrent access by multiple readers. Write operations are single-threaded. - - - - - Provides component registrations according to the services they provide. - - - - - Attempts to find a default registration for the specified service. - - The service to look up. - The default registration for the service. - True if a registration exists. - - - - Determines whether the specified service is registered. - - The service to test. - True if the service is registered. - - - - Register a component. - - The component registration. - - - - Register a component. - - The component registration. - If true, existing defaults for the services provided by the - component will not be changed. - - - - Selects from the available registrations after ensuring that any - dynamic registration sources that may provide - have been invoked. - - The service for which registrations are sought. - Registrations supporting . - - - - Add a registration source that will provide registrations on-the-fly. - - The source to register. - - - - Enumerate the registered components. - - - - - Fired whenever a component is registered - either explicitly or via a - . - - - - - Gets the registration sources that are used by the registry. - - - - - True if the registry contains its own components; false if it is forwarding - registrations from another external registry. - - This property is used when walking up the scope tree looking for - registrations for a new customised scope. (See issue 336.) - - - - Fired when an is added to the registry. - - - - - Enables contravariant Resolve() for interfaces that have a single contravariant ('in') parameter. - - - interface IHandler<in TCommand> - { - void Handle(TCommand command); - } - - class Command { } - - class DerivedCommand : Command { } - - class CommandHandler : IHandler<Command> { ... } - - var builder = new ContainerBuilder(); - builder.RegisterSource(new ContravariantRegistrationSource()); - builder.RegisterType<CommandHandler>(); - var container = builder.Build(); - // Source enables this line, even though IHandler<Command> is the - // actual registered type. - var handler = container.Resolve<IHandler<DerivedCommand>>(); - handler.Handle(new DerivedCommand()); - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - If the source is queried for service s, and it returns a component that implements both s and s', then it - will not be queried again for either s or s'. This means that if the source can return other implementations - of s', it should return these, plus the transitive closure of other components implementing their - additional services, along with the implementation of s. It is not an error to return components - that do not implement . - - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - Options that can be applied when autowiring properties on a component. (Multiple options can - be specified using bitwise 'or' - e.g. AllowCircularDependencies | PreserveSetValues. - - - - - Default behavior. Circular dependencies are not allowed; existing non-default - property values are overwritten. - - - - - Allows property-property and property-constructor circular dependency wiring. - This flag moves property wiring from the Activating to the Activated event. - - - - - If specified, properties that already have a non-default value will be left - unchanged in the wiring operation. - - - - - Static factory methods to simplify the creation and handling of IRegistrationBuilder{L,A,R}. - - - To create an for a specific type, use: - - var cr = RegistrationBuilder.ForType(t).CreateRegistration(); - - The full builder syntax is supported: - - var cr = RegistrationBuilder.ForType(t).Named("foo").ExternallyOwned().CreateRegistration(); - - - - - - Creates a registration builder for the provided delegate. - - Instance type returned by delegate. - Delegate to register. - A registration builder. - - - - Creates a registration builder for the provided delegate. - - Delegate to register. - Most specific type return value of delegate can be cast to. - A registration builder. - - - - Creates a registration builder for the provided type. - - Implementation type to register. - A registration builder. - - - - Creates a registration builder for the provided type. - - Implementation type to register. - A registration builder. - - - - Create an from a . - (There is no need to call - this method when registering components through a .) - - - When called on the result of one of the methods, - the returned registration will be different from the one the builder itself registers - in the container. - - - - var registration = RegistrationBuilder.ForType<Foo>().CreateRegistration(); - - - - - - The registration builder. - An IComponentRegistration. - - Thrown if is . - - - - - Create an IComponentRegistration from data. - - Id of the registration. - Registration data. - Activator. - Services provided by the registration. - An IComponentRegistration. - - - - Create an IComponentRegistration from data. - - Id of the registration. - Registration data. - Activator. - Services provided by the registration. - Optional; target registration. - An IComponentRegistration. - - Thrown if or is . - - - - - Register a component in the component registry. This helper method is necessary - in order to execute OnRegistered hooks and respect PreserveDefaults. - - Hoping to refactor this out. - - - - Component registry to make registration in. - Registration builder with data for new registration. - - - - 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 '{0}' is not assignable to service '{1}'.. - - - - - Adds registration syntax for less commonly-used features. - - - These features are in this namespace because they will remain accessible to - applications originally written against Autofac 1.4. In Autofac 2, this functionality - is implicitly provided and thus making explicit registrations is rarely necessary. - - - - - Registers a factory delegate. - - Container builder. - Factory type to generate. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers a factory delegate. - - Container builder. - Factory type to generate. - The service that the delegate will return instances of. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, and - this method is generally not required. - - - - Registers a factory delegate. - - The type of the delegate. - Container builder. - The service that the delegate will return instances of. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers a factory delegate. - - The type of the delegate. - Container builder. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by name. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by position. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by type. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Registers the type as a collection. If no services or names are specified, the - default services will be IList<T>, ICollection<T>, and IEnumerable<T> - - The type of the collection elements. - Container builder. - A unique name for the collection that can be passed to MemberOf(). - Registration builder allowing the registration to be configured. - Collections are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers the type as a collection. If no services or names are specified, the - default services will be IList<T>, ICollection<T>, and IEnumerable<T> - - The type of the collection elements. - Container builder. - A unique name for the collection that can be passed to MemberOf(). - Registration builder allowing the registration to be configured. - Collections are provided automatically in Autofac 2, - and this method is generally not required. - - - - Include the element explicitly in a collection configured using RegisterCollection. - - Registration limit type. - Registration style. - Activator data type. - Registration to export. - The collection name, as passed to RegisterCollection. - A registration builder allowing further configuration of the component. - - - - 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 Build() or Update() can only be called once on a ContainerBuilder.. - - - - - Looks up a localized string similar to An error occurred while attempting to automatically activate registration '{0}'. See the inner exception for information on the source of the failure.. - - - - - 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 A delegate registered to create instances of '{0}' returned null.. - - - - - 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 Bound constructor '{0}'.. - - - - - Looks up a localized string similar to The binding cannot be instantiated.. - - - - - Looks up a localized string similar to An exception was thrown while invoking the constructor '{0}' on type '{1}'.. - - - - - Looks up a localized string similar to Cannot resolve parameter '{1}' of constructor '{0}'.. - - - - - Provides parameters that have a default value, set with an optional parameter - declaration in C# or VB. - - - - - Used in order to provide a value to a constructor parameter or property on an instance - being created by the container. - - - Not all parameters can be applied to all sites. - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - Thrown if is . - - - - - 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 container's self-registration of context interfaces should never be activated as it is hard-wired into the LifetimeScope class.. - - - - - Marks a module as container-aware (for the purposes of attaching to diagnostic events.) - - - - - Initialise the module with the container into which it is being registered. - - The container. - - - - Fired when the activation process for a new instance is complete. - - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The paramters provided when resolved. - - - - - The instance that will be used to satisfy the request. - - - - - Fired after the construction of an instance but before that instance - is shared with any other or any members are invoked on it. - - - - - The instance can be replaced if needed, e.g. by an interface proxy. - - The object to use instead of the activated instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The instance that will be used to satisfy the request. - - - - - The parameters supplied to the activator. - - - - - Interface supported by services that carry type information. - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets the type of the service. - - The type of the service. - - - - Identifies a service using a key in addition to its type. - - - - - Initializes a new instance of the class. - - Key of the service. - Type of the service. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to 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 . - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets or sets the key of the service. - - The key of the service. - - - - Gets the type of the service. - - The type of the service. - - - - Gets a human-readable description of the service. - - The description. - - - - Describes when a lifetime scope is beginning. - - - - - Create an instance of the class. - - The lifetime scope that is beginning. - - - - The lifetime scope that is beginning. - - - - - Describes when a lifetime scope is ending. - - - - - Create an instance of the class. - - The lifetime scope that is ending. - - - - The lifetime scope that is ending. - - - - - 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 Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.. - - - - - Fired when an is added to the registry. - - - - - Construct an instance of the class. - - The registry to which the source was added. - The source that was added. - - - - - The registry to which the source was added. - - - - - The source that was added. - - - - - Represents the process of finding a component during a resolve operation. - - - - - The component for which an instance is to be looked up. - - - - - The scope in which the instance will be looked up. - - - - - The parameters provided for new instance creation. - - - - - Raised when the lookup phase of the operation is ending. - - - - - Raised when the completion phase of an instance lookup operation begins. - - - - - Raised when the completion phase of an instance lookup operation ends. - - - - - Raised when the completion phase of an instance lookup operation begins. - - - - - Create an instance of the class. - - The instance lookup that is beginning the completion phase. - - - - The instance lookup operation that is beginning the completion phase. - - - - - Raised when the completion phase of an instance lookup operation ends. - - - - - Create an instance of the class. - - The instance lookup that is ending the completion phase. - - - - The instance lookup operation that is ending the completion phase. - - - - - Fired when an instance is looked up. - - - - - Create an instance of the class. - - The instance lookup that is ending. - True if a new instance was created as part of the operation. - - - - True if a new instance was created as part of the operation. - - - - - The instance lookup operation that is ending. - - - - - Fired when instance lookup is complete. - - - - The instance lookup that is ending. - - - - The instance lookup operation that is beginning. - - - - - Describes the commencement of a new resolve operation. - - - - - Create an instance of the class. - - The resolve operation that is beginning. - - - - The resolve operation that is beginning. - - - - - Wraps a component registration, switching its lifetime. - - - - - Base class for disposable objects. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns true if the current instance has been disposed; otherwise false; - - - - - Describes a logical component within the container. - - - - - Called by the container when an instance is required. - - The context in which the instance will be activated. - Parameters for activation. These may be modified by the event handler. - - - - Called by the container once an instance has been constructed. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Called by the container once an instance has been fully constructed, including - any requested objects that depend on the instance. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - A unique identifier for this component (shared in all sub-contexts.) - This value also appears in Services. - - - - - The activator used to create instances. - - - - - The lifetime associated with the component. - - - - - Whether the component instances are shared or not. - - - - - Whether the instances of the component should be disposed by the container. - - - - - The services provided by the component. - - - - - Additional data associated with the component. - - - - - The component registration upon which this registration is based. - - - - - Fired when a new instance is required. The instance can be - provided in order to skip the regular activator, by setting the Instance property in - the provided event arguments. - - - - - Fired when a new instance is being activated. The instance can be - wrapped or switched at this time by setting the Instance property in - the provided event arguments. - - - - - Fired when the activation process for a new instance is complete. - - - - - 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 Activator = {0}, Services = [{1}], Lifetime = {2}, Sharing = {3}, Ownership = {4}. - - - - - Pulls registrations from another component registry. - Excludes most auto-generated registrations - currently has issues with - collection registrations. - - - - - Create an external registry source that draws components from - . - - Component registry to pull registrations from. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - In this case because the components that are adapted do not come from the same - logical scope, we must return false to avoid duplicating them. - - - - - Switches components with a RootScopeLifetime (singletons) with - decorators exposing MatchingScopeLifetime targeting the specified scope. - - - - - Maps services onto the components that provide them. - - - The component registry provides services directly from components, - and also uses to generate components - on-the-fly or as adapters for other components. A component registry - is normally used through a , and not - directly by application code. - - - - - Protects instance variables from concurrent access. - - - - - External registration sources. - - - - - All registrations. - - - - - Keeps track of the status of registered services. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Attempts to find a default registration for the specified service. - - The service to look up. - The default registration for the service. - True if a registration exists. - - - - Determines whether the specified service is registered. - - The service to test. - True if the service is registered. - - - - Register a component. - - The component registration. - - - - Register a component. - - The component registration. - If true, existing defaults for the services provided by the - component will not be changed. - - - - Selects from the available registrations after ensuring that any - dynamic registration sources that may provide - have been invoked. - - The service for which registrations are sought. - Registrations supporting . - - - - Add a registration source that will provide registrations on-the-fly. - - The source to register. - - - - Enumerate the registered components. - - - - - Fired whenever a component is registered - either explicitly or via a - . - - - - - Gets the registration sources that are used by the registry. - - - - - True if the registry contains its own components; false if it is forwarding - registrations from another external registry. - - This property is used when walking up the scope tree looking for - registrations for a new customised scope. (See issue 336.) - - - - Fired when an is added to the registry. - - - - - Tracks the services known to the registry. - - - - - Used for bookkeeping so that the same source is not queried twice (may be null.) - - - - - Initializes a new instance of the class. - - The tracked service. - - - - The first time a service is requested, initialization (e.g. reading from sources) - happens. This value will then be set to true. Calling many methods on this type before - initialisation is an error. - - - - - The known implementations. - - - - - True if any implementations are known. - - - - - 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 operation is only valid during initialization.. - - - - - Looks up a localized string similar to The operation is not valid until the object is initialized.. - - - - - 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 activation has already been executed.. - - - - - Describes the commencement of a new resolve operation. - - - - - Create an instance of the class. - - The resolve operation that is ending. - If included, the exception causing the operation to end; otherwise, null. - - - - The exception causing the operation to end, or null. - - - - - The resolve operation that is ending. - - - - - 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 Subclasses of Autofac.Service must override Object.Equals(). - - - - - Looks up a localized string similar to Subclasses of Autofac.Service must override Object.GetHashCode(). - - - - - 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 Collection Support (Arrays and Generic Collection Interfaces). - - - - - 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 Lazy<T> Support. - - - - - Describes the basic requirements for generating a lightweight adapter. - - - - - Create an instance of . - - The service that will be adapted from. - The adapter function. - - - - The adapter function. - - - - - The service to be adapted from. - - - - - 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 Lightweight Adapter from {0} to {1}. - - - - - Looks up a localized string similar to The service {0} cannot be both the adapter's from and to parameters - these must differ.. - - - - - Internal implementation of the RegisterCollection/MemberOf-style collection feature. - - - - - Registration style for dynamic registrations. - - - - - Data used to create factory activators. - - - - - Create a new GeneratedFactoryActivatorData - - The type of the factory. - The service used to provide the products of the factory. - - - - Determines how the parameters of the delegate type are passed on - to the generated Resolve() call as Parameter objects. - For Func-based delegates, this defaults to ByType. Otherwise, the - parameters will be mapped by name. - - - - - Activator data that can provide an IInstanceActivator instance. - - - - - Hides standard Object members to make fluent interfaces - easier to read. - Based on blog post by @kzu here: - http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx - - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - The other. - Standard result. - - - - Determines how the parameters of the delegate type are passed on - to the generated Resolve() call as Parameter objects. - - - - - Chooses parameter mapping based on the factory type. - For Func-based factories this is equivalent to ByType, for all - others ByName will be used. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as NamedParameters based on the parameter - names in the delegate type's formal argument list. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as TypedParameters based on the parameter - types in the delegate type's formal argument list. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as PositionalParameters based on the parameter - indices in the delegate type's formal argument list. - - - - - Provides components by lookup operations via an index (key) type. - - The type of the index. - The service provided by the indexed components. - - Retrieving a value given a key: - - IIndex<AccountType, IRenderer> accountRenderers = // ... - var renderer = accountRenderers[AccountType.User]; - - - - - - Get the value associated with if any is available. - - The key to look up. - The retrieved value. - True if a value associated with the key exists. - - - - Get the value associated with . - - The value to retrieve. - The associated value. - - - - - - - - - - - - - Support the - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - - - - - Provides a value along with a dictionary of metadata describing the value. - - The type of the value. - - - - Create a new instance. - - The value described by the instance. - The metadata describing the value. - - - - The value described by . - - - - - Metadata describing the value. - - - - - 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 Meta<T> Support. - - - - - Looks up a localized string similar to Meta<T, TMetadata> Support. - - - - - 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 service '{0}' is not an open generic 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 {0} providing {1}. - - - - - Describes the activator for an open generic decorator. - - - - - Construct an . - - The decorator type. - The open generic service type to decorate. - - - - The open generic service type to decorate. - - - - - 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 service {0} cannot be both the adapter's from and to parameters - these must differ.. - - - - - Looks up a localized string similar to Open Generic Decorator {0} from {1} to {2}. - - - - - 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 {0} is not an open generic type definition.. - - - - - 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 '{0}' does not implement the interface '{1}'.. - - - - - Looks up a localized string similar to The implementation type '{0}' is not an open generic type definition.. - - - - - Looks up a localized string similar to The implementation type '{0}' does not support the interface '{1}'.. - - - - - Looks up a localized string similar to The service '{0}' is not an open generic type definition.. - - - - - Looks up a localized string similar to The service '{1}' is not assignable from implementation type '{0}'.. - - - - - 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 Owned<T> Support. - - - - - Provides registrations on-the-fly for any concrete type not already registered with - the container. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - A predicate that selects types the source will register. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Returns a that represents the current . - - - A that represents the current . - - 2 - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - Gets or sets an expression used to configure generated registrations. - - - A that can be used to modify the behavior - of registrations that are generated by this source. - - - - - 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 "Resolve Anything" Support. - - - - - Activation data for types located by scanning assemblies. - - - - - Create an instance of . - - - - - The filters applied to the types from the scanned assembly. - - - - - Additional actions to be performed on the concrete type registrations. - - - - - Actions to be called once the scanning operation is complete. - - - - - Fired when the activation process for a new instance is complete. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - The instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The paramters provided when resolved. - - - - - The instance that will be used to satisfy the request. - - - - - Fired after the construction of an instance but before that instance - is shared with any other or any members are invoked on it. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - The instance. - - - - The instance can be replaced if needed, e.g. by an interface proxy. - - The object to use instead of the activated instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The instance that will be used to satisfy the request. - - - The instance can be replaced if needed, e.g. by an interface proxy. - - - - - The parameters supplied to the activator. - - - - - Activate instances using a delegate. - - - - - Base class for instance activators. - - - - - Create an instance activator that will return instances compatible - with . - - Most derived type to which instances can be cast. - - - - Gets a string representation of the activator. - - A string describing the activator. - - - - The most specific type that the component instances are known to be castable to. - - - - - Activates component instances. - - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - The most specific type that the component instances are known to be castable to. - - - - - Create a delegate activator. - - The most specific type to which activated instances can be cast. - Activation delegate. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - Provides a pre-constructed instance. - - - - - Provide the specified instance. - - The instance to provide. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Determines whether the activator disposes the instance that it holds. - Necessary because otherwise instances that are never resolved will never be - disposed. - - - - - 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 provided instance has already been used in an activation request. Did you combine a provided instance with non-root/single-instance lifetime/sharing?. - - - - - Supplies values based on the target parameter type. - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - Thrown if or is . - - - - - Binds a constructor to the parameters that will be used when it is invoked. - - - - - Construct a new ConstructorParameterBinding. - - ConstructorInfo to bind. - Available parameters. - Context in which to construct instance. - - - - Invoke the constructor with the parameter bindings. - - The constructed instance. - - - Returns a System.String that represents the current System.Object. - A System.String that represents the current System.Object. - - - - The constructor on the target type. The actual constructor used - might differ, e.g. if using a dynamic proxy. - - - - - True if the binding is valid. - - - - - Describes the constructor parameter binding. - - - - - Selects the best constructor from a set of available constructors. - - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - - - - Selects a constructor based on its signature. - - - - - Match constructors with the provided signature. - - Signature to match. - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - - - - 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 At least one binding must be provided in order to select a constructor.. - - - - - Looks up a localized string similar to The required constructor on type '{0}' with signature '{1}' is unavailable.. - - - - - Looks up a localized string similar to More than one constructor matches the signature '{0}'.. - - - - - Selects the constructor with the most parameters. - - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - A single unambiguous match could not be chosen. - - - - Uses reflection to activate instances of a type. - - - - - Create an activator for the provided type. - - Type to activate. - Constructor finder. - Constructor selector. - Parameters configured explicitly for this instance. - Properties configured explicitly for this instance. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - The constructor finder. - - - - - The constructor selector. - - - - - 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 No constructors on type '{0}' can be found with the constructor finder '{1}'.. - - - - - Looks up a localized string similar to None of the constructors found with '{0}' on type '{1}' can be invoked with the available services and parameters:{2}. - - - - - Base class for parameters that provide a constant value. - - - - - Create a constant parameter that will apply to parameters matching - the supplied predicate. - - - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - The value of the parameter. - - - - - Standard container implementation. - - - - - Creates, wires dependencies and manages lifetime for a set of components. - Most instances of are created - by a . - - - - // See ContainerBuilder for the definition of the builder variable - using (var container = builder.Build()) - { - var program = container.Resolve<Program>(); - program.Run(); - } - - - - Most functionality is provided by extension methods - on the inherited interface. - - - - - - - - - An tracks the instantiation of component instances. - It defines a boundary in which instances are shared and configured. - Disposing an will dispose the components that were - resolved through it. - - - - // See IContainer for definition of the container variable - using (var requestScope = container.BeginLifetimeScope()) - { - // Note that handler is resolved from requestScope, not - // from the container: - - var handler = requestScope.Resolve<IRequestHandler>(); - handler.Handle(request); - - // When requestScope is disposed, all resources used in processing - // the request will be released. - } - - - - All long-running applications should resolve components via an - . Choosing the duration of the lifetime is application- - specific. The standard Autofac WCF and ASP.NET/MVC integrations are already configured - to create and release s as appropriate. For example, the - ASP.NET integration will create and release an per HTTP - request. - Most functionality is provided by extension methods - on the inherited interface. - - - - - - - - - - - The context in which a service can be accessed or a component's - dependencies resolved. Disposal of a context will dispose any owned - components. - - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Associates services with the components that provide them. - - - - - Begin a new nested scope. Component instances created via the new scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new nested scope. Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - - The components registered in the sub-scope will be treated as though they were - registered in the root scope, i.e., SingleInstance() components will live as long - as the root scope. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - - The components registered in the sub-scope will be treated as though they were - registered in the root scope, i.e., SingleInstance() components will live as long - as the root scope. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - The disposer associated with this . - Component instances can be associated with it manually if required. - - Typical usage does not require interaction with this member- it - is used when extending the container. - - - - The tag applied to the . - - Tags allow a level in the lifetime hierarchy to be identified. - In most applications, tags are not necessary. - - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Create a new container. - - - - - Begin a new sub-scope. Instances created via the sub-scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new sub-scope. Instances created via the sub-scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the service object of the specified type. - - An object that specifies the type of service object - to get. - - A service object of type .-or- null if there is - no service object of type . - - - - - The disposer associated with this container. Instances can be associated - with it manually if required. - - - - - Tag applied to the lifetime scope. - - The tag applied to this scope and the contexts generated when - it resolves component dependencies. - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Associates services with the components that provide them. - - - - - Base exception type thrown whenever the dependency resolution process fails. This is a fatal - exception, as Autofac is unable to 'roll back' changes to components that may have already - been made during the operation. For example, 'on activated' handlers may have already been - fired, or 'single instance' components partially constructed. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Gets a message that describes the current exception. - - - The error message that explains the reason for the exception, or an empty string(""). - - - - - Maintains a set of objects to dispose, and disposes them in the reverse order - from which they were added when the Disposer is itself disposed. - - - - - Provided on an object that will dispose of other objects when it is - itself disposed. - - - - - Adds an object to the disposer. When the disposer is - disposed, so will the object be. - - The instance. - - - - Contents all implement IDisposable. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Adds an object to the disposer. When the disposer is - disposed, so will the object be. - - The instance. - - - - Locates the lifetime to which instances of a component should be attached. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - Represents a set of components and related functionality - packaged together. - - - - - Apply the module to the component registry. - - Component registry to apply configuration to. - - - - Determines when instances supporting IDisposable are disposed. - - - - - The lifetime scope does not dispose the instances. - - - - - The instances are disposed when the lifetime scope is disposed. - - - - - Determines whether instances are shared within a lifetime scope. - - - - - Each request for an instance will return a new object. - - - - - Each request for an instance will return the same object. - - - - - Defines a nested structure of lifetimes. - - - - - Try to retrieve an instance based on a GUID key. If the instance - does not exist, invoke to create it. - - Key to look up. - Creation function. - An instance. - - - - The root of the sharing hierarchy. - - - - - The parent of this node of the hierarchy, or null. - - - - - Attaches the instance's lifetime to the current lifetime scope. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - Lifetime scope implementation. - - - - - Protects shared instances from concurrent access. Other members and the base class are threadsafe. - - - - - The tag applied to root scopes when no other tag is specified. - - - - - Create a lifetime scope for the provided components and nested beneath a parent. - - The tag applied to the . - Components used in the scope. - Parent scope. - - - - Create a root lifetime scope for the provided components. - - The tag applied to the . - Components used in the scope. - - - - Create a root lifetime scope for the provided components. - - Components used in the scope. - - - - Begin a new anonymous sub-scope. Instances created via the sub-scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new tagged sub-scope. Instances created via the sub-scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new anonymous sub-scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - IContainer cr = // ... - using (var lifetime = cr.BeginLifetimeScope(builder => { - builder.RegisterType<Foo>(); - builder.RegisterType<Bar>().As<IBar>(); }) - { - var foo = lifetime.Resolve<Foo>(); - } - - - - - Begin a new tagged sub-scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - IContainer cr = // ... - using (var lifetime = cr.BeginLifetimeScope("unitOfWork", builder => { - builder.RegisterType<Foo>(); - builder.RegisterType<Bar>().As<IBar>(); }) - { - var foo = lifetime.Resolve<Foo>(); - } - - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Try to retrieve an instance based on a GUID key. If the instance - does not exist, invoke to create it. - - Key to look up. - Creation function. - An instance. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the service object of the specified type. - - An object that specifies the type of service object - to get. - - A service object of type .-or- null if there is - no service object of type . - - - - - The parent of this node of the hierarchy, or null. - - - - - The root of the sharing hierarchy. - - - - - The disposer associated with this container. Instances can be associated - with it manually if required. - - - - - Tag applied to the lifetime scope. - - The tag applied to this scope and the contexts generated when - it resolves component dependencies. - - - - Associates services with the components that provide them. - - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Attaches the component's lifetime to scopes matching a supplied expression. - - - - - Match scopes by comparing tags for equality. - - The tags applied to matching scopes. - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - 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 No scope with a Tag matching '{0}' is visible from the scope in which the instance was requested. This generally indicates that a component registered as per-HTTP request is being requested by a SingleInstance() component (or a similar scenario.) Under the web integration always request dependencies from the DependencyResolver.Current or ILifetimeScopeProvider.RequestLifetime, never from the container itself.. - - - - - Attaches the component's lifetime to the root scope. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - A property identified by name. When applied to a reflection-based - component, the name will be matched against property names. - - - - - Create a with the specified constant value. - - The name of the property. - The property value. - - - - The name of the property. - - - - - Fired before the activation process to allow parameters to be changed or an alternative - instance to be provided. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - - - - The context in which the activation is occurring. - - - - - The component providing the instance being activated. - - - - - The parameters supplied to the activator. - - - - - A service was requested that cannot be provided by the container. To avoid this exception, either register a component - to provide the required service, check for service registration using IsRegistered(), or use the ResolveOptional() - method to resolve an optional dependency. - - This exception is fatal. See for more information. - - - - Initializes a new instance of the class. - - The service. - - - - Initializes a new instance of the class. - - The service. - The inner 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 The requested service '{0}' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.. - - - - - Information about the ocurrence of a component being registered - with a container. - - - - - Create a new instance with a valid container and component registration. - - The container into which the registration - was made. - The component registration. - - - - The container into which the registration was made. - - - - - The component registration. - - - - - Describes a logical component within the container. - - - - - Create a new component registration. - - Unique identifier for the component. - Activator used to activate instances. - Determines how the component will be associated with its lifetime. - Whether the component is shared within its lifetime scope. - Whether the component instances are disposed at the end of their lifetimes. - Services the component provides. - Data associated with the component. - - - - Create a new component registration. - - Unique identifier for the component. - Activator used to activate instances. - Determines how the component will be associated with its lifetime. - Whether the component is shared within its lifetime scope. - Whether the component instances are disposed at the end of their lifetimes. - Services the component provides. - Data associated with the component. - The component registration upon which this registration is based. - - - - Called by the container when an instance is required. - - The context in which the instance will be activated. - Parameters for activation. - - - - Called by the container once an instance has been constructed. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Called by the container once an instance has been fully constructed, including - any requested objects that depend on the instance. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Describes the component in a human-readable form. - - A description of the component. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - The component registration upon which this registration is based. - If this registration was created directly by the user, returns this. - - - - - A unique identifier for this component (shared in all sub-contexts.) - This value also appears in Services. - - - - - The activator used to create instances. - - - - - The lifetime associated with the component. - - - - - Whether the component instances are shared or not. - - - - - Whether the instances of the component should be disposed by the container. - - - - - The services provided by the component. - - - - - Additional data associated with the component. - - - - - Fired when a new instance is required. The instance can be - provided in order to skip the regular activator, by setting the Instance property in - the provided event arguments. - - - - - Fired when a new instance is being activated. The instance can be - wrapped or switched at this time by setting the Instance property in - the provided event arguments. - - - - - Fired when the activation process for a new instance is complete. - - - - - Catch circular dependencies that are triggered by post-resolve processing (e.g. 'OnActivated') - - - - - 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 Circular component dependency detected: {0}.. - - - - - Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'. - - - - - An is a component context that sequences and monitors the multiple - activations that go into producing a single requested object graph. - - - - - Get or create and share an instance of in the . - - The scope in the hierarchy in which the operation will begin. - The component to resolve. - Parameters for the component. - The component instance. - - - - Raised when the entire operation is complete. - - - - - Raised when an instance is looked up within the operation. - - - - - A is a component context that sequences and monitors the multiple - activations that go into producing a single requested object graph. - - - - - Create an instance of in the provided scope. - - The most nested scope in which to begin the operation. The operation - can move upward to less nested scopes as components with wider sharing scopes are activated - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Execute the complete resolve operation. - - - - - Continue building the object graph by instantiating in the - current . - - The current scope of the operation. - The component to activate. - The parameters for the component. - The resolved instance. - - - - - Associates services with the components that provide them. - - - - - 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 An exception was thrown while executing a resolve operation. See the InnerException for details.. - - - - - Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'. - - - - - Looks up a localized string similar to This resolve operation has already ended. When registering components using lambdas, the IComponentContext 'c' parameter to the lambda cannot be stored. Instead, either resolve IComponentContext again from 'c', or resolve a Func<> based factory to create subsequent components from.. - - - - - Identifies a service according to a type to which it can be assigned. - - - - - Initializes a new instance of the class. - - Type of the service. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to 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 . - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets the type of the service. - - The type of the service. - - - - Gets a human-readable description of the service. - - The description. - - - - A handy unique service identifier type - all instances will be regarded as unequal. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The id. - - - - 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 . - - - - - Provides a programmer-readable description of the identifying feature of the service. - - - - - - Registration source providing implicit collection/list/enumerable support. - - - - This registration source provides enumerable support to allow resolving - the set of all registered services of a given type. - - - What may not be immediately apparent is that it also means any time there - are no items of a particular type registered, it will always return an - empty set rather than or throwing an exception. - This is by design. - - - Consider the [possibly majority] use case where you're resolving a set - of message handlers or event handlers from the container. If there aren't - any handlers, you want an empty set - not or - an exception. It's valid to have no handlers registered. - - - This implicit support means other areas (like MVC support or manual - property injection) must take care to only request enumerable values they - expect to get something back for. In other words, "Don't ask the container - for something you don't expect to resolve." - - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Generates activators for open generic types. - - - - - Represents a dependency that can be released by the dependent component. - - The service provided by the dependency. - - - Autofac automatically provides instances of whenever the - service is registered. - - - It is not necessary for , or the underlying component, to implement . - Disposing of the object is the correct way to handle cleanup of the dependency, - as this will dispose of any other components created indirectly as well. - - - When is resolved, a new is created for the - underlying , and tagged with the service matching , - generally a . This means that shared instances can be tied to this - scope by registering them as InstancePerMatchingLifetimeScope(new TypedService(typeof(T))). - - - - The component D below is disposable and implements IService: - - public class D : IService, IDisposable - { - // ... - } - - The dependent component C can dispose of the D instance whenever required by taking a dependency on - : - - public class C - { - IService _service; - - public C(Owned<IService> service) - { - _service = service; - } - - void DoWork() - { - _service.Value.DoSomething(); - } - - void OnFinished() - { - _service.Dispose(); - } - } - - In general, rather than depending on directly, components will depend on - System.Func<Owned<T>> in order to create and dispose of other components as required. - - - - - Create an instance of . - - The value representing the instance. - An IDisposable interface through which ownership can be released. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - The owned value. - - - - - Generates registrations for services of type whenever the service - T is available. - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - When implemented by a component, an instance of the component will be resolved - and started as soon as the container is built. Autofac will not call the Start() - method when subsequent instances are resolved. If this behavior is required, use - an OnActivated() event handler instead. - - - For equivalent "Stop" functionality, implement . Autofac - will always dispose a component before any of its dependencies (except in the presence - of circular dependencies, in which case the components in the cycle are disposed in - reverse-construction order.) - - - - - Perform once-off startup processing. - - - - - Base class for user-defined modules. Modules can add a set of releated components - to a container () or attach cross-cutting functionality - to other components (. - Modules are given special support in the XML configuration feature - see - http://code.google.com/p/autofac/wiki/StructuringWithModules. - - Provides a user-friendly way to implement - via . - - Defining a module: - - public class DataAccessModule : Module - { - public string ConnectionString { get; set; } - - public override void Load(ContainerBuilder moduleBuilder) - { - moduleBuilder.RegisterGeneric(typeof(MyRepository<>)) - .As(typeof(IRepository<>)) - .InstancePerMatchingLifetimeScope(WebLifetime.Request); - - moduleBuilder.Register(c => new MyDbConnection(ConnectionString)) - .As<IDbConnection>() - .InstancePerMatchingLifetimeScope(WebLifetime.Request); - } - } - - Using the module: - - var builder = new ContainerBuilder(); - builder.RegisterModule(new DataAccessModule { ConnectionString = "..." }); - var container = builder.Build(); - var customers = container.Resolve<IRepository<Customer>>(); - - - - - - Apply the module to the component registry. - - Component registry to apply configuration to. - - - - Override to add registrations to the container. - - - Note that the ContainerBuilder parameter is unique to this module. - - The builder through which components can be - registered. - - - - Override to attach module-specific functionality to a - component registration. - - This method will be called for all existing and future component - registrations - ordering is not important. - The component registry. - The registration to attach functionality to. - - - - Override to perform module-specific processing on a registration source. - - This method will be called for all existing and future sources - - ordering is not important. - The component registry into which the source was added. - The registration source. - - - - The assembly in which the concrete module type is located. To avoid bugs whereby deriving from a module will - change the target assembly, this property can only be used by modules that inherit directly from - . - - - - - Configure the component so that instances are never disposed by the container. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that instances that support IDisposable are - disposed by the container (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets a new, unique instance (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets the same, shared instance. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a single ILifetimeScope gets the same, shared instance. Dependent components in - different lifetime scopes will get different instances. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() within - a ILifetimeScope tagged with any of the provided tags value gets the same, shared instance. - Dependent components in lifetime scopes that are children of the tagged scope will - share the parent's instance. If no appropriately tagged scope can be found in the - hierarchy an is thrown. - - Tag applied to matching lifetime scopes. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - Key to associate with the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Service types to expose. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Services to expose. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Preparing event. This event allows manipulating of the parameters - that will be provided to the component. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activating event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activated event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Configure the component so that any properties whose types are registered in the - container will be wired to instances of the appropriate service. - - Set wiring options such as circular dependency wiring support. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - Key by which the data can be located. - The data value. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - The extended properties to associate with the component. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - A type with properties whose names correspond to the - property names to configure. - A registration builder allowing further configuration of the component. - - - - The activator data. - - - - - The registration style. - - - - - The registration data. - - - - - Data common to all registrations made in the container, both direct (IComponentRegistration) - and dynamic (IRegistrationSource.) - - - - - Construct a RegistrationData instance. - - The default service that will be used if no others - are added. - - - - Add multiple services for the registration, overriding the default. - - The services to add. - If an empty collection is specified, this will still - clear the default service. - - - - Add a service to the registration, overriding the default. - - The service to add. - - - - Copies the contents of another RegistrationData object into this one. - - The data to copy. - When true, the default service - will be changed to that of the other. - - Thrown if is . - - - - - Empties the configured services. - - - - - The services explicitly assigned to the component. - - - - - The instance ownership assigned to the component. - - - - - The lifetime assigned to the component. - - - - - The sharing mode assigned to the component. - - - - - Extended properties assigned to the component. - - - - - Handlers for the Preparing event. - - - - - Handlers for the Activating event. - - - - - Handlers for the Activated event. - - - - - Adds registration syntax to the type. - - - - - Add a component to the container. - - The builder to register the component with. - The component to add. - - - - Add a registration source to the container. - - The builder to register the registration source via. - The registration source to add. - - - - Register an instance as a component. - - The type of the instance. - Container builder. - The instance to register. - Registration builder allowing the registration to be configured. - If no services are explicitly specified for the instance, the - static type will be used as the default service (i.e. *not* instance.GetType()). - - - - Register a component to be created through reflection. - - The type of the component implementation. - Container builder. - Registration builder allowing the registration to be configured. - - - - Register a component to be created through reflection. - - The type of the component implementation. - Container builder. - Registration builder allowing the registration to be configured. - - - - Register a delegate as a component. - - The type of the instance. - Container builder. - The delegate to register. - Registration builder allowing the registration to be configured. - - - - Register a delegate as a component. - - The type of the instance. - Container builder. - The delegate to register. - Registration builder allowing the registration to be configured. - - - - Register an un-parameterised generic type, e.g. Repository<>. - Concrete types will be made as they are requested, e.g. with Resolve<Repository<int>>(). - - Container builder. - The open generic implementation type. - Registration builder allowing the registration to be configured. - - - - Specifies that the component being registered should only be made the default for services - that have not already been registered. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that the components being registered should only be made the default for services - that have not already been registered. - - Registration limit type. - Registration style. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Register the types in an assembly. - - Container builder. - The assemblies from which to register types. - Registration builder allowing the registration to be configured. - - - - Register the types in a list. - - Container builder. - The types to register. - Registration builder allowing the registration to be configured. - - - - Specifies a subset of types to register from a scanned assembly. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - Predicate that returns true for types to register. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly provides its own concrete type as a service. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type provides its own concrete type as a service. - - Registration limit type. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type provides its own concrete type as a service. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specify how a type from a scanned assembly provides metadata. - - Registration limit type. - Registration style. - Activator data type. - Registration to set metadata on. - A function mapping the type to a list of metadata items. - Registration builder allowing the registration to be configured. - - - - Use the properties of an attribute (or interface implemented by an attribute) on the scanned type - to provide metadata values. - - Inherited attributes are supported; however, there must be at most one matching attribute - in the inheritance chain. - The attribute applied to the scanned type. - Registration to set metadata on. - Registration builder allowing the registration to be configured. - - - - Specify how a type from a scanned assembly provides metadata. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Key of the metadata item. - A function retrieving the value of the item from the component type. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a named service. - - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service names. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a named service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service names. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a keyed service. - - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service keys. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a keyed service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service keys. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly is registered as providing all of its - implemented interfaces. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type is registered as providing all of its implemented interfaces. - - Registration limit type. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type is registered as providing all of its implemented interfaces. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Set the policy used to find candidate constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Policy to be used when searching for constructors. - A registration builder allowing further configuration of the component. - - - - Set the policy used to find candidate constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - A function that returns the constructors to select from. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Constructor signature to match. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Registration style. - Activator data type. - Registration to set policy on. - Policy to be used when selecting a constructor. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Expression demonstrating how the constructor is called. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - Name of a constructor parameter on the target type. - Value to supply to the parameter. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The parameter to supply to the constructor. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - A predicate selecting the parameter to set. - - A registration builder allowing further configuration of the component. - - - - Configure explicit values for constructor parameters. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The parameters to supply to the constructor. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a property. - - Registration limit type. - Registration style. - Activator data type. - Registration to set property on. - Name of a property on the target type. - Value to supply to the property. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a property. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The property to supply. - A registration builder allowing further configuration of the component. - - - - Configure explicit values for properties. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The properties to supply. - A registration builder allowing further configuration of the component. - - - - Sets the target of the registration (used for metadata generation.) - - The type of the limit. - The type of the activator data. - Registration style - Registration to set target for. - The target. - - Registration builder allowing the registration to be configured. - - - Thrown if or is . - - - - - Provide a handler to be called when the component is registered. - - Registration limit type. - Registration style. - Activator data type. - Registration add handler to. - The handler. - Registration builder allowing the registration to be configured. - - - - Provide a handler to be called when the component is registred. - - Registration limit type. - Registration style. - Registration add handler to. - The handler. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly is registered if it implements an interface - that closes the provided open generic interface type. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - The open generic interface or base class type for which implementations will be found. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those assignable to the provided - type. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - The type or interface which all classes must be assignable from. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those assignable to the provided - type. - - Registration to filter types from. - The type or interface which all classes must be assignable from. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to exclude the provided type. - - Registration to filter types from. - The concrete type to exclude. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to exclude the provided type, providing specific configuration for - the excluded type. - - Registration to filter types from. - Registration for the excepted type. - The concrete type to exclude. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those in the namespace of the provided type - or one of its sub-namespaces. - - Registration to filter types from. - A type in the target namespace. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those in the provided namespace - or one of its sub-namespaces. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - The namespace from which types will be selected. - Registration builder allowing the registration to be configured. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service , given the context and parameters. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service , given the context. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service . - - - - Decorate all components implementing open generic service . - The and parameters must be different values. - - Container builder. - Service type being decorated. Must be an open generic type. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - The type of the decorator. Must be an open generic type, and accept a parameter - of type , which will be set to the instance being decorated. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - , given the context and parameters. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - , given the context. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - . - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Run a supplied action instead of disposing instances when they're no - longer required. - - Registration limit type. - Activator data type. - Registration style. - Registration to set release action for. - An action to perform instead of disposing the instance. - Registration builder allowing the registration to be configured. - Only one release action can be configured per registration. - - - - Wraps a registration in an implicit and automatically - activates the registration after the container is built. - - Registration to set release action for. - Registration limit type. - Activator data type. - Registration style. - A registration builder allowing further configuration of the component. - - - While you can implement an to perform some logic at - container build time, sometimes you need to just activate a registered component and - that's it. This extension allows you to automatically activate a registration on - container build. No additional logic is executed and the resolved instance is not held - so container disposal will end up disposing of the instance. - - - Depending on how you register the lifetime of the component, you may get an exception - when you build the container - components that are scoped to specific lifetimes (like - ASP.NET components scoped to a request lifetime) will fail to resolve because the - appropriate lifetime is not available. - - - - - - Share one instance of the component within the context of a single - web/HTTP/API request. Only available for integration that supports - per-request dependencies (e.g., MVC, Web API, web forms, etc.). - - Registration limit type. - Registration style. - Activator data type. - The registration to configure. - Additional tags applied for matching lifetime scopes. - A registration builder allowing further configuration of the component. - - Thrown if is . - - - - - 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 instance registration '{0}' can support SingleInstance() sharing only.. - - - - - Looks up a localized string similar to A metadata attribute of type {0} was not found on {1}.. - - - - - Looks up a localized string similar to More than one metadata attribute of type {0} was found on {1}.. - - - - - Looks up a localized string similar to No matching constructor exists on type '{0}'.. - - - - - An activator builder with no parameters. - - - - - Return the provided activator. - - The activator to return. - - - - Gets the activator. - - - - - Registration style for individual components. - - - - - The id used for the registration. - - - - - Handlers to notify of the component registration event. - - - - - By default, new registrations override existing registrations as defaults. - If set to true, new registrations will not change existing defaults. - - - - - The component upon which this registration is based. - - - - - Used to build an from component registrations. - - - - var builder = new ContainerBuilder(); - - builder.RegisterType<Logger>() - .As<ILogger>() - .SingleInstance(); - - builder.Register(c => new MessageHandler(c.Resolve<ILogger>())); - - var container = builder.Build(); - // resolve components from container... - - - Most functionality is accessed - via extension methods in . - - - - - - Register a callback that will be invoked when the container is configured. - - This is primarily for extending the builder syntax. - Callback to execute. - - - - Create a new container with the component registrations that have been made. - - Options that influence the way the container is initialised. - - Build can only be called once per - - this prevents ownership issues for provided instances. - Build enables support for the relationship types that come with Autofac (e.g. - Func, Owned, Meta, Lazy, IEnumerable.) To exclude support for these types, - first create the container, then call Update() on the builder. - - A new container with the configured component registrations. - - - - Configure an existing container with the component registrations - that have been made. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing container to make the registrations in. - - - - Configure an existing container with the component registrations - that have been made and allows additional build options to be specified. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing container to make the registrations in. - Options that influence the way the container is updated. - - - - Configure an existing registry with the component registrations - that have been made. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing registry to make the registrations in. - - - - A parameter identified by name. When applied to a reflection-based - component, will be matched against - the name of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new NamedParameter("amount", 123)); - - - - - - Create a with the specified constant value. - - The name of the parameter. - The parameter value. - - - - The name of the parameter. - - - - - Extension methods that simplify extraction of parameter values from - an where T is . - Each method returns the first matching parameter value, or throws an exception if - none is provided. - - - At configuration time, delegate registrations can retrieve parameter values using - the methods , and : - - builder.Register((c, p) => new FtpClient(p.Named<string>("server"))); - - These parameters can be provided at resolution time: - - container.Resolve<FtpClient>(new NamedParameter("server", "ftp.example.com")); - - Alternatively, the parameters can be provided via a Generated Factory - http://code.google.com/p/autofac/wiki/DelegateFactories. - - - - - Retrieve a named parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The name of the parameter to select. - The value of the selected parameter. - - - - - Retrieve a positional parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The zero-based position of the parameter to select. - The value of the selected parameter. - The position value is the one associated with the parameter when - it was constructed, not its index into the - sequence. - - - - - Retrieve a typed parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The value of the selected parameter. - - - - - A parameter that is identified according to an integer representing its - position in an argument list. When applied to a reflection-based - component, will be matched against - the indices of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new PositionalParameter(0, 123)); - - - - - - Construct a positional parameter with the specified constant value. - - The zero-based position of the parameter. - The parameter value. - - - - The zero-based position of the parameter. - - - - - Adds syntactic convenience methods to the interface. - - - - - Set any properties on that can be - resolved in the context. - - Type of instance. Used only to provide method chaining. - The context from which to resolve the service. - The instance to inject properties into. - . - - - - Set any null-valued properties on that can be - resolved by the container. - - Type of instance. Used only to provide method chaining. - The context from which to resolve the service. - The instance to inject properties into. - . - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The service to retrieve. - The context from which to resolve the service. - The component instance that provides the service. - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Parameters for the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Parameters for the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The key of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - Parameters for the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - Parameters for the service. - - The component instance that provides the service, or null. - - - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The name of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The name of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The key of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The key of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - The resulting component instance providing the service, or null. - The parameters. - - True if a component providing the service is available. - - - - Thrown if is . - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service type to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The service type to resolve. - The context from which to resolve the service. - The resulting component instance providing the service, or default(T). - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The name of the service to resolve. - The type of the service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The key of the service to resolve. - The type of the service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Flexible parameter type allows arbitrary values to be retrieved - from the resolution context. - - - - - Create an instance of the ResolvedParameter class. - - A predicate that determines which parameters on a constructor will be supplied by this instance. - A function that supplies the parameter value given the context. - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - Construct a that will match parameters of type - and resolve for those parameters an implementation - registered with the name . - - The type of the parameter to match. - The name of the matching service to resolve. - A configured instance. - - - - - - Construct a that will match parameters of type - and resolve for those parameters an implementation - registered with the key . - - The type of the parameter to match. - The key of the matching service to resolve. - A configured instance. - - - - A parameter that can supply values to sites that exactly - match a specified type. When applied to a reflection-based - component, will be matched against - the types of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new TypedParameter(typeof(int), 123)); - - - - - - Create a typed parameter with the specified constant value. - - The exact type to match. - The parameter value. - - - - Shortcut for creating - by using the - - type to be used for the parameter - The parameter value. - new typed parameter - - - - The type against which targets are matched. - - - - - Extends with methods that are useful in - building scanning rules for . - - - - - Returns true if this type is in the namespace - or one of its sub-namespaces. - - The type to test. - The namespace to test. - True if this type is in the namespace - or one of its sub-namespaces; otherwise, false. - - - - Returns true if this type is in the same namespace as - or one of its sub-namespaces. - - The type to test. - True if this type is in the same namespace as - or one of its sub-namespaces; otherwise, false. - - - Determines whether the candidate type supports any base or - interface that closes the provided generic type. - - - - - - - Determines whether this type is assignable to . - - The type to test assignability to. - True if this type is assignable to references of type - ; otherwise, False. - - - - 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 '{0}' is not an open generic class or interface type.. - - - - - Extension methods for . - - - - - Safely returns the set of loadable types from an assembly. - - The from which to load types. - - The set of types from the , or the subset - of types that could be loaded if there was any error. - - - Thrown if is . - - - - - Helper methods used throughout the codebase. - - - - - Enforce that an argument is not null. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - - - - - - - - Enforce that sequence does not contain null. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - - The value. - The name. - - - - - Enforces that the provided object is non-null. - - - The value. - - - - - Enforce that an argument is not null or empty. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - The value. - The description. - - - - - Enforce that the argument is a delegate type. - - The type to test. - - - - 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 argument '{0}' cannot be empty.. - - - - - Looks up a localized string similar to The object of type '{0}' cannot be null.. - - - - - Looks up a localized string similar to Type {0} returns void.. - - - - - Looks up a localized string similar to The sequence provided as argument '{0}' cannot contain null elements.. - - - - - Looks up a localized string similar to Type {0} is not a delegate type.. - - - - - Extension methods for reflection-related types. - - - - - Maps from a property-set-value parameter to the declaring property. - - Parameter to the property setter. - The property info on which the setter is specified. - True if the parameter is a property setter. - - - - Get a PropertyInfo object from an expression of the form - x => x.P. - - Type declaring the property. - The type of the property. - Expression mapping an instance of the - declaring type to the property value. - Property info. - - - - Get the MethodInfo for a method called in the - expression. - - Type on which the method is called. - Expression demonstrating how the method appears. - The method info for the called method. - - - - Gets the for the new operation called in the expression. - - The type on which the constructor is called. - Expression demonstrating how the constructor is called. - The for the called constructor. - - - - Retrieves a custom attribute of a specified type that is applied to a specified member, - and optionally inspects the ancestors of that member. - - The type of attribute to search for. - The member to inspect. - true to inspect the ancestors of element; otherwise, false. - A custom attribute that matches , or null if no such attribute is found. - - - - 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 provided expression must be of the form () =>new X(), but the provided expression was {0}.. - - - - - Looks up a localized string similar to The provided expression must be of the form x =>x.M(), but the provided expression was {0}.. - - - - - Looks up a localized string similar to The provided expression must be of the form x =>x.P, but the provided expression was {0}.. - - - - - Adapts an action to the interface. - - - - - Joins the strings into one single string interspersing the elements with the separator (a-la - System.String.Join()). - - The elements. - The separator. - The joined string. - - - - Appends the item to the specified sequence. - - - The sequence. - The trailing item. - - - - - Prepends the item to the specified sequence. - - - The sequence. - The leading item. - - - - Returns the first concrete interface supported by the candidate type that - closes the provided open generic service type. - The type that is being checked for the interface. - The open generic type to locate. - The type of the interface. - - - - Looks for an interface on the candidate type that closes the provided open generic interface type. - - The type that is being checked for the interface. - The open generic service type to locate. - True if a closed implementation was found; otherwise false. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Signal attribute for static analysis that indicates a helper method is - validating arguments for . - - - - - 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 Unable to generate a function to return type '{0}' with input parameter types [{1}]. The input parameter type list has duplicate types. Try registering a custom delegate type instead of using a generic Func relationship.. - - - - - Looks up a localized string similar to Delegate Support (Func<T>and Custom Delegates). - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.dll deleted file mode 100644 index 822e9a3e4..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.dll.config b/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.dll.config deleted file mode 100644 index e337bc580..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.dll.config +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.pdb b/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.pdb deleted file mode 100644 index a6d2ea8a2..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Bot Application1.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Chronic.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Chronic.dll deleted file mode 100644 index 4a3b8358a..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Chronic.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.ActiveDirectory.GraphClient.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.ActiveDirectory.GraphClient.dll deleted file mode 100644 index aa9a29f5d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.ActiveDirectory.GraphClient.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.KeyVault.Core.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.KeyVault.Core.dll deleted file mode 100644 index 58d96294d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.KeyVault.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.KeyVault.Core.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.KeyVault.Core.xml deleted file mode 100644 index 5c150ed91..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Azure.KeyVault.Core.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - Microsoft.Azure.KeyVault.Core - - - - - Interface for Keys - - - - - Decrypts the specified cipher text. - - The cipher text to decrypt - The initialization vector - The authentication data - The algorithm to use - Cancellation token - The plain text - If algorithm is not specified, an implementation should use its default algorithm. - Not all algorithms require, or support, all parameters. - - - - Encrypts the specified plain text. - - The plain text to encrypt - The initialization vector - The authentication data - The algorithm to use - Cancellation token - A Tuple consisting of the cipher text, the authentication tag (if applicable), the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm. - Not all algorithyms require, or support, all parameters. - - - - Encrypts the specified key material. - - The key material to encrypt - The algorithm to use - Cancellation token - A Tuple consisting of the encrypted key and the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm - - - - Decrypts the specified key material. - - The encrypted key material - The algorithm to use - Cancellation token - The decrypted key material - If the algorithm is not specified, an implementation should use its default algorithm - - - - Signs the specified digest. - - The digest to sign - The algorithm to use - Cancellation token - A Tuple consisting of the signature and the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm - - - - Verifies the specified signature value - - The digest - The signature value - The algorithm to use - Cancellation token - A bool indicating whether the signature was successfully verified - - - - The default encryption algorithm for this key - - - - - The default key wrap algorithm for this key - - - - - The default signature algorithm for this key - - - - - The key identifier - - - - - Interface for key resolvers. - - - - - Provides an IKey implementation for the specified key identifier. - - The key identifier to resolve - Cancellation token - The resolved IKey implementation or null - Implementations should check the format of the kid to ensure that it is recognized. Null, rather than - an exception, should be returned for unrecognized key identifiers to enable chaining of key resolvers. - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Builder.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Builder.dll deleted file mode 100644 index eaa537a4d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Builder.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Builder.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Builder.xml deleted file mode 100644 index c159a71f6..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Builder.xml +++ /dev/null @@ -1,4203 +0,0 @@ - - - - Microsoft.Bot.Builder - - - - - Autofac module for Dialog components. - - - - - Caches data for and wraps the data in to be stored in - - - It sets to "*" when it flushes the data to storage. - As a result last write will overwrite the data. - - - - - Factory for IConnectorClient. - - - - - Make the IConnectorClient implementation. - - The IConnectorClient implementation. - - - - Make the implementation. - - The implementation. - - - - The stack of dialogs in the conversational process. - - - - - The dialog frames active on the stack. - - - - - Suspend the current dialog until an external event has been sent to the bot. - - The method to resume when the event has been received. - - - - Call a child dialog and add it to the top of the stack. - - The type of result expected from the child dialog. - The child dialog. - The method to resume when the child dialog has completed. - - - - Call a child dialog, add it to the top of the stack and post the item to the child dialog. - - The type of result expected from the child dialog. - The type of the item posted to child dialog. - The child dialog. - The method to resume when the child dialog has completed. - The item that will be posted to child dialog. - A cancellation token. - A task representing the Forward operation. - - - - Complete the current dialog and return a result to the parent dialog. - - The type of the result dialog. - The value of the result. - - - - Fail the current dialog and return an exception to the parent dialog. - - The error. - - - - Poll the dialog task for any work to be done. - - A cancellation token. - A task representing the poll operation. - - - - Resets the stack. - - - - - Methods to send a message from the user to the bot. - - - - - Post an item (e.g. message or other external event) to the bot. - - The item for the bot. - The cancellation token. - A task that represents the post operation. - - - - Private bot data. - - - - - Private bot data associated with a user (across all channels and conversations). - - - - - Private bot data associated with a conversation. - - - - - Private bot data associated with a user in a conversation. - - - - - Loads the bot data from - - The cancellation token. - - - - Flushes the bot data to - - The cancellation token. - - - - Methods to send a message from the bot to the user. - - - - - Post a message to be sent to the user. - - The message for the user. - The cancellation token. - A task that represents the post operation. - - - - Make a message. - - The new message. - - - Dialog that dispatches based on a regex matching input. - - - A single command. - - - Gets or sets the command ID used for persisting currently running command handler. - Command ID. - - - Gets or sets the regular expression for matching command. - The regular expression. - - - Gets or sets the command handler. - The command handler. - - - - The result handler of the command dialog passed to the child dialogs. - - The type of the result returned by the child dialog. - Dialog context. - The result retured by the child dialog. - - - Define a handler that is fired on a regular expression match of a message. - Type of input to result handler. - Regular expression to match. - Handler to call on match. - Optional result handler to be called if handler is creating a chaild dialog. - A commandDialog. - - - Define the default action if no match. - Type of input to result handler. - Handler to call if no match. - Optional result handler to be called if handler is creating a chaild dialog. - A CommandDialog. - - - - The top level composition root for the SDK. - - - - - Process an incoming message within the conversation. - - - This method: - 1. Instantiates and composes the required components. - 2. Deserializes the dialog state (the dialog stack and each dialog's state) from the . - 3. Resumes the conversation processes where the dialog suspended to wait for a . - 4. Queues s to be sent to the user. - 5. Serializes the updated dialog state in the messages to be sent to the user. - - The factory method is invoked for new conversations only, - because existing conversations have the dialog stack and state serialized in the data. - - The message sent to the bot. - The factory method to make the root dialog. - The cancellation token. - A task that represents the message to send inline back to the user. - - - - Resume a conversation and post the data to the dialog waiting. - - Type of the data. - The id of the bot. - The data sent to bot. - The cancellation token. - A task that represent the message to send back to the user after resumption of the conversation. - - - - A fluent, chainable interface for IDialogs. - - - - - When the antecedent has completed, execute this continuation method to construct the next . - - The type of the antecedent dialog. - The type of the next dialog. - The bot context. - The result of the previous . - A task that represents the next . - - - - Construct a that will make a new copy of another when started. - - The type of the dialog. - The dialog factory method. - The new dialog. - - - - Execute a side-effect after a completes. - - The type of the dialog. - The antecedent . - The callback method. - The antecedent dialog. - - - - Post to the user the result of a . - - The type of the dialog. - The antecedent . - The antecedent dialog. - - - - Post to the chain the message to the bot after the antecedent completes. - - The type of the dialog. - The antecedent . - The dialog representing the message sent to the bot. - - - - Post the message from the user to Chain. - - - The returned can be used as the root dialog for a chain. - - The dialog that dispatches the incoming message from the user to chain. - - - - When the antecedent has completed, execute the continuation to produce the next . - - The type of the antecedent dialog. - The type of the next dialog. - The antecedent . - The continuation to produce the next . - The next . - - - - When the antecedent has completed, project the result into a new . - - The type of the antecedent dialog. - The type of the projected dialog. - The antecedent dialog . - The projection function from to . - The result . - - - - When the antecedent has completed, evaluate the predicate and decide whether to continue. - - The type of the antecedent dialog. - The antecedent dialog . - The predicate to decide whether to continue the chain. - The result from the antecedent or its cancellation, wrapped in a . - - - - When the antecedent where T is completes, unwrap the result into a new . - - The type of the antecedent dialog. - The antecedent dialog where T is . - An . - - - - When the antecedent has completed, execute the next , and use the projection to combine the results. - - The type of the antecedent dialog. - The type of the intermediate dialog. - The type of the projected dialog. - The antecedent dialog . - The factory method to create the next dialog . - The projection function for the combination of the two dialogs. - The result . - - - - Loop the forever. - - The antecedent . - The looping dialog. - - - - Call the voided , ignore the result, then restart the original dialog wait. - - The type of the voided dialog. - The type of the original dialog wait. - The voided dialog. - The dialog that produces the item to satisfy the original wait. - - - - When the antecedent has completed, stop the propagation of an exception of . - - The type returned by the antecedent dialog. - The type of exception to swallow. - The antecedent dialog . - The default value of if there is an exception of type . - - - - When the antecedent has completed, stop the propagation of Exception. - - The type returned by the antecedent dialog. - The antecedent dialog . - The default value of if there is an Exception. - - - - When the antecedent has completed, go through each - and run the " of the first that - the returned value by the antecedent dialog satisfies. - - The type of the antecedent dialog. - The type of the Dialog returned by - The antecedent dialog . - Cases for the switch - The result . - - - - Creates a that returns a value. - - - The type of the value should be serializable. - - Type of the value. - The value to be wrapped. - The that wraps the value. - - - - Fold items from an enumeration of dialogs. - - The type of the dialogs in the enumeration produced by the antecedent dialog. - The antecedent dialog that produces an enumeration of . - The accumulator for the dialog enumeration. - The accumulated result. - - - - Constructs a case. - - The type of incoming value to case. - The type of the object returned by selector. - The condition of the case. - The contextual selector of the case. - - - - - Constructs a case based on a regular expression. - - The type of the object returned by selector. - The regex for condition. - The contextual selector for the case. - The case. - - - - Constructs a case to use as the default. - - The type of incoming value to case. - The type of the object returned by selector. - The contextual selector of the case. - The case. - - - - The exception that is thrown when the where is canceled. - - - - - Construct the exception. - - - - - This is the serialization constructor. - - The serialization info. - The streaming context. - - - - A Dialog that wraps a value of type T. - - - The type of the value should be serializable. - - The result type of the Dialog. - - - - The contextual selector function. - - The type of value passed to selector. - The returned type of the selector. - passed to selector. - The value passed to selector. - The value returned by selector. - - - - The interface for cases evaluated by switch. - - The type of incoming value to case. - The type of the object returned by selector. - - - - The condition field of the case. - - - - - The selector that will be invoked if condition is met. - - - - - The default implementation of . - - - - - Constructs a case. - - The condition of the case. - The contextual selector of the case. - - - - The regex case for switch. - - - The condition will be true if the regex matches the text. - - - - - Constructs a case based on a regular expression. - - The regex for condition. - The contextual selector for the case. - - - - The default case for switch. - - - - - Constructs the default case for switch. - - The contextual selector that will be called in default case. - - - - The root of the exception hierarchy related to prompts. - - - - - Initializes a new instance of the PromptException class with a specified error message. - - The message that describes the error. - - - - The exception representing too many attempts by the user to answer the question asked by the prompt. - - - - - Initializes a new instance of the TooManyAttemptsException class with a specified error message. - - The message that describes the error. - - - - The resumption cookie that can be used to resume a conversation with a user. - - - - - The user Id. - - - - - The user name. - - - - - The channelId. - - - - - The bot Id. - - - - - The service url. - - - - - The IsGroup flag for conversation. - - - - - The Id of the conversation that will be resumed. - - - - - The locale of message. - - - - - Creates an instance of the resumption cookie. - - The user Id. - The bot Id. - The conversation Id. - The channel Id of the conversation. - The service url of the conversation. - The locale of the message. - - - - Creates an instance of resumption cookie form a - - The message. - - - - Creates a message from the resumption cookie. - - The message that can be sent to bot based on the resumption cookie - - - - Deserializes the GZip serialized using . - - The Base64 encoded string. - An instance of - - - - Helper methods. - - - Helper methods. - - - - - Binary serializes using . - - The resumption cookie. - A Base64 encoded string. - - - - Gets the value associated with the specified key. - - The type of the value to get. - The bot data bag. - 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 KeyNotFoundException. - - - - Post a message to be sent to the bot, using previous messages to establish a conversation context. - - - If the locale parameter is not set, locale of the incoming message will be used for reply. - - Communication channel to use. - The message text. - The locale of the text. - The cancellation token. - A task that represents the post operation. - - - - Suspend the current dialog until the user has sent a message to the bot. - - The dialog stack. - The method to resume when the message has been received. - - - - Generates buttons from options and add them to the message. - - - should implement ToString(). - - Type of the options. - The message that the buttons will be added to. - The text in the . - The options that cause generation of buttons. - - - - A property bag of bot data. - - - - - Gets the number of key/value pairs contained in the . - - - - - Gets the value associated with the specified key. - - The type of the value to set. - The key of the value to get. - - When this method returns, contains the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - - true if the contains an element with the specified key; otherwise, false. - - - - Adds the specified key and value to the bot data bag. - - The type of the value to get. - The key of the element to add. - The value of the element to add. The value can be null for reference types. - - - - Removes the specified key from the bot data bag. - - They key of the element to remove - True if removal of the key is successful; otherwise, false - - - - Removes all of the values from data bag. - - - - - Capability for a specific channel - - - - - True if the channel support buttons, false otherwise. - - - - - Channel capability detector. - - - - - Detects channel capabilities. - - - Capabilities of a channel. - - - - - Associate a LUIS intent with a dialog method. - - - - - The LUIS intent name. - - - - - Construct the association between the LUIS intent and a dialog method. - - The LUIS intent name. - - - - The handler for a LUIS intent. - - The dialog context. - The LUIS result. - A task representing the completion of the intent processing. - - - - An exception for invalid intent handlers. - - - - - Matches a LuisResult object with the best scored IntentRecommendation of the LuisResult. - - - - - A dialog specialized to handle intents and entities from LUIS. - - - - Mapping from intent string to the appropriate handler. - - - - Construct the LUIS dialog. - - The LUIS service. - - - - Calculates the best scored from a . - - A result of a LUIS service call. - The best scored , or null if doesn't contain any intents. - - - - Calculates the best scored across some objects. - - Results of multiple LUIS services calls. - A with the best scored and related , - or null if no one of contains any intents. - - - - Enumerate the handlers based on the attributes on the dialog instance. - - The dialog. - An enumeration of handlers. - - - - Allow object instances to serialized to URLs. Base64 can not be stored in URLs due to special characters. - - - We use Bson and Gzip to make it small enough to fit within the maximum character limit of URLs. - http://stackoverflow.com/a/32999062 suggests HttpServerUtility's UrlTokenEncode and UrlTokenDecode - is not standards-compliant, but they seem to do the job. - - - - - Encode an item to be stored in a url. - - The item type. - The item instance. - The encoded token. - - - - Decode an item from a url token. - - The item type. - The item token. - The item instance. - - - - A is a suspendable conversational process that produces a result of type . - - - Dialogs can call child dialogs or send messages to a user. - Dialogs are suspended when waiting for a message from the user to the bot. - Dialogs are resumed when the bot receives a message from the user. - - The result type. - - - - The start of the code that represents the conversational dialog. - - The dialog context. - A task that represents the dialog start. - - - - A is a suspendable conversational process that produces an ignored result. - - - - - Encapsulates a method that represents the code to execute after a result is available. - - - The result is often a message from the user. - - The type of the result. - The dialog context. - The result. - A task that represents the code that will resume after the result is available. - - - - Encapsulate a method that represents the code to start a dialog. - - The dialog context. - A task that represents the start code for a dialog. - - - - The context for the bot. - - - - - The context for the execution of a dialog's conversational process. - - - - - The style of generated prompt - - - - - Generate buttons for choices and let connector generate the right style based on channel capabilities - - - - - Show choices as Text. - - The prompt decides if it should generate the text inline or perline based on number of choices. - - - - Show choices on the same line. - - - - - Show choices with one per line. - - - - - Do not show possible choices in the prompt - - - - - Options for . - - The type of the options. - - - - The prompt. - - - - - What to display on retry. - - - - - The prompt choices. - - - - - What to display when user didn't say a valid response after . - - - - - Maximum number of attempts. - - - - - Styler of the prompt . - - - - - Default retry prompt that is used if is null. - - - - - Default string that is used if is null. - - - - - Constructs the prompt options. - - The prompt. - What to display on retry. - What to display when user didn't say a valid response after . - The prompt choices. - Maximum number of attempts. - The prompt styler. - - - - Styles a prompt - - - - - Style of the prompt . - - - - - . - - The type of the options. - The message. - The prompt. - The options. - The prompt style. - - - - Style a prompt and populate the . - - The message that will contain the prompt. - The prompt. - - - - Style a prompt and populate the message based on . - - The type of the options. - The message that will contain the prompt. - The prompt. - The options. - - should implement . - - - - Dialog factory for simple prompts. - The exception will be thrown if the number of allowed attempts is exceeded. - - - Prompt for a string. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - - - Ask a yes/no question. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - Style of the prompt - - - - Ask a yes/no questions. - - The dialog context. - Resume handler. - The options for the prompt, . - - - Prompt for a long. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - - - Prompt for a double. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - - - Prompt for one of a set of choices. - The context. - Resume handler. - The possible options all of which must be convertible to a string. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - Style of the prompt - - - - Prompt for one of a set of choices. - - should implement - The type of the options. - The dialog context. - Resume handler. - The prompt options. - - - - Prompt for an attachment - - The dialog context. - Resume handler. - The prompt to show to the user. - The optional content types the attachment type should be part of - What to show on retry - The number of times to retry - - - Prompt for a text string. - Normally used through . - - - Constructor for a prompt string dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - - - Prompt for a confirmation. - Normally used through . - - - - The yes, no options for confirmation prompt - - - - Constructor for a prompt confirmation dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - Style of the prompt - - - - Constructor for a prompt confirmation dialog. - - THe prompt options. - - - Prompt for a confirmation. - Normally used through . - - - Constructor for a prompt int64 dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - - - Prompt for a double. - Normally used through . - - - Constructor for a prompt double dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - - - Prompt for a choice from a set of choices. - Normally used through . - - - Constructor for a prompt choice dialog. - Enumerable of the options to choose from. - The prompt. - What to display on retry. - Maximum number of attempts. - Style of the prompt - - - - Constructs a choice dialog. - - The prompt options - - - Prompt for an attachment - Normally used through . - - - Constructor for a prompt attachment dialog. - The prompt. - What to display on retry. - The optional content types the attachment type should be part of. - The content types that is used to filter the attachments. Null implies any content type. - - - - Explicit interface to support the compiling of async/await. - - The type of the contained value. - - - - Get the awaiter for this awaitable item. - - The awaiter. - - - - Autofac module for Fiber components. - - - - - Eagerly enumerate the services keyed with that will not be serialized. - - - Services marked with will not serialize their dependencies either. - - - - - Autofac module for Fiber components. - - - - - Extend with a "tester" method used by . - - - - - Determine whether this surrogate provider handles this type. - - The query type. - The serialization context. - The priority of this provider. - True if this provider handles this type, false otherwise. - - - Fill in field information through reflection. - The resulting information can be overriden through the fluent interface. - The form state. - - - Construct an through reflection. - Path to the field in your form state. - True to ignore annotations. - - - True to ignore annotations. - - - Path to field value in state. - - - A resource localizer. - - - - Confirmation - - Form state. - - - - Construct a confirmation. - - Confirmation prompt expressed using \ref patterns. - Delegate for whether confirmation applies. - Fields that must have values before confirmation can run. - Form that contains confirmation. - - - - Construct a confirmation dynamically. - - Delegate for building confirmation. - Delegate to see if confirmation is active. - Fields that must have values before confirmation can run. - Form that contains confirmation. - - - Define field delegate. - Form state type. - Form state. - Field being dynamically defined. - True if field is defined. - Delegate for dynamically defining a field prompt and recognizer. You can make use of the fluent methods - on to change the characteristics of the field. - - - Base class with declarative implementation of IField. - Underlying form state. - - - Construct field. - Name of field. - Role field plays in form. - - - Set the field description. - Field description. - A . - - - Set the terms associated with the field. - The terms. - A . - - - Adds a description for a value. - The value. - Description of the value. - Image to use for value as button. - A . - - - Adds terms for a value. - The value. - The terms. - A . - - - Removes the description and terms associated with a value. - The value to remove. - A . - - - Removes all values and their associated descriptions and terms. - A . - - - Sets the type of the underlying field state. - The field type. - A . - - - Set whether or not a field is optional. - True if field is optional. - A . - - - Sets whether or not multiple values are allowed. - True if multiple values are allowed. - A . - - - Set whether or not field is nullable. - True if field is nullable. - A . - - - Define a delegate for checking state to see if field applies. - The condition delegate. - A . - - - Define a delegate for dynamically defining field. - The definition delegate. - A . - When you dynamically define a field through this delegate you can use all of the fluent methods - defined on to change the descriptions and terms dynamically. - - - Sets the field prompt. - The prompt. - A . - - - Sets the recognizer for the field. - The recognizer for the field. - A . - - This should only be called when you are dynamically defining a field using a because - recognizers usually require the field and often change if the localization changes. - - - - Replace a template in the field. - The template. - A . - - - Set the field validation. - The validator. - A . - - - Set numeric limits. - The minimum. - The maximum. - A . - - - - Regular expression for validating strings. - - Validation regular expression. - A . - - - Define the fields this field depends on. - A variable-length parameters list containing dependencies. - A . - - - - Dictionary of all fields indexed by name. - - Underlying form state. - - - Mapping from field name to field definition. - - - - Interface that defines basic access to a field. - - The form state that is read or written to. - - - - Get this field value from form state. - - Form state to get field value from. - Current value found in state. - - - - Set this field value in form state. - - Form state to set field value in. - New value. - - - - Test to see if the field value form state has a value. - - Form state to check. - True if value is unknown. - - For value types (numbers, bools, date time) a value is unknown only if the field is nullable and it is null. - For enum based values (both simple and enumerated) they can also be nullable or the 0 enum value if not nullable. - For non value types like string the test is to see if the field is actually null. - - - - - Set this field value in form state to unknown. - - Form state with field value to set to unknown. - - For value types (numbers, bools, date time) the value is set to null if nullable. - For enum types it is set to null if nullable or 0 if not. - For non value types like string set the value to null. - - - - Gets the type of the field. - The type. - - - - Test to see if field is optional which means that an unknown value is legal. - - True if field is optional. - - - - Test to see if field is nullable. - - True if field is nullable. - - - - Limits of numeric values. - - Minimum possible value. - Maximum possible value. - True if limits limit the underlying data type. - - This typically reflects the result of setting limits on the possible values. - - - - Regular expression for validating a string. - - Validation regular expression. - This typically reflects the result of setting . - - - - Returns the other fields this one depends on. - - List of field names this one depends on. - This is mainly useful for fields. - - - - The role the field plays in a form. - - - - - Field is used to get a value to set in the form state. - - This is the kind of field generated by . - - - - Field is used to confirm some settings during the dialog. - - - This is the kind of field generated by . - - - - - Describe the information displayed about a field and its values. - - - Throughout this class Description refers to the name of a field or a value - whereas "terms" tell what people can type to match the field or terms in it. - When generating terms it is a good idea to include anything that might be reasonable - for someone to type. The form dialog itself will help clarify any ambiguity. One - way to do this is to use which ensures that - is called on your base terms. - - - - - Role field plays in a form. - - Role field plays in form. - - - - Decription of the field itself. - - Field description. - - This is the value that will be generated in \ref patterns by {&} or choices. {||}. - - - - - Terms for matching this field. - - List of term regex for matching the field name. - - - - Return the string describing a specific value. - - Value being described. - Description of value. - - - - Return all possible value descriptions in order to support enumeration. - - All possible value descriptions. - - - - Given a value return terms that can be used in a dialog to match the object. - - Value that would result from a match. - Enumeration of regex. - - - - All possible values or null if it is a data type like number. - - All possible values. - - - - Are multiple matches allowed. - - True if more than one value is allowed. - This is true is you have a list of enumerated values. - - - - Allow the default value as an option. - - True if default values are allowed. - - - - Allow user input to match numbers shown with enumerated choices. - - True if numbers are allowed as input. - - - Interface for saving/localizing generated resources. - - - Adds any string resources to form localizer. - - - Loads any string resources from the form localizer. - - - - Direction for next step. - - - As each step in a form completes, the step can determine the next step to take. - Usually this is just to move onto the next active, uncompleted step, but you can - also move back or present a list of choices to the user. - A step is active if returns true on the current state. - A step is ready if it has not already been successfully completed. - - - - - The form is complete and should be called. - - - - - Move to a named step. If there is more than one name, the user will be asked to choose. - - - - - Move to the next step that is and uncompleted. - - - - - Move to the previously executed step. - - - - - Quit the form and return failure to the parent dialog. - - - - - Reset the form to start over. - - - - - Next step to take. - - - - - By default move on to the next active, uncompleted step. - - - - - Move as specified in direction. - - What step to do next. - - - - Ask the user which of the fields to move to next. - - Enumeration of possible next steps. - - - - Direction for next step. - - - - - If this is a named step, one or more named steps to move to. If there are more than one, the user will choose. - - - - - This provides control information about a field. - - Form state that is being completed. - - - - Test to see if field is currently active based on the current state. - - True if field is active. - - One way to control this is to supply a to the - or steps. - - - - - Return a template for building a prompt. - - Kind of template we are looking for. - NULL if no template, otherwise a template annotation. - - - Returns the prompt description. - An describing prompt and recognizer. - If a prompt is dyhamically computed this should be null until is called. - - - - Build the prompt and recognizer for dynamically defined fields. - - True if field is defined. - - This method is called before asking for . - This provides an opportunity to dynamically define the field based on the current - state or external information. The method - identifies fields that this one depends on. All of them will be complete before the field - will be shown to the user, but this method might be called earlier in order to define the field - for things like status and initial matching or validation. - - - - - Validate value to be set on state and return feedback if not valid. - - State before setting value. - Value to be set in field. - Result including feedback and if valid. - - One way to control this is to supply a to the - or steps. - - - - - Return the help description for this field. - - The prompt to use for generating help. - - Help is a mixture of field specific help, what a recognizer understands and available commands. - - - - - Next step to execute. - - Value in response to prompt. - Current form state. - Next step to execute. - - - - Interface for all the information about a specific field. - - Form state interface applies to. - - - - Name of this field. - - Name of this field. - - For a value field this is the path in the form state that leads to the value being filled in. - For a confirm field this is a randomly generated name. - - - - - Form that owns this field - - - - - Interface to track all of the fields in a form. - - - - - - Return a specific field or null if not present. - - Name of field to find. - Field description for name or null. - - - Interface for localizing string resources. - - - - Return the localizer culture. - - Current culture. - - - - Add a key and its translation. - - Key for indexing translation. - Translation for key. - - - - Add a key and a list of translations seperated by semi-colon. - - Key for indexing translation list. - List of translated terms. - - - Adds value from dictionary under object if enumeration and prefix;object otherwise. - The resource prefix. - The dictionary to add. - - - Adds values from dictionary seperated by semi-colons under object if enumeration and prefix;object otherwise. - The resource prefix. - The dictionary to add. - - - Adds patterns from template seperated by semi-colons under prefix;usage. - The resource prefix. - The template dictionary to add. - - - Adds patterns from template seperated by semi-colons under prefix;usage. - The resource prefix. - The template to add. - - - - Translate a key to a translation. - - Key to lookup. - Value to set if present. - True if value is found. - - - - Translate a key to an array of values. - - Key to lookup. - Array value to set if present. - True if value is found. - - - Look up prefix;object from dictionary and replace value from localizer. - The prefix. - Dictionary with existing values. - - - Look up prefix;object from dictionary and replace values from localizer. - The prefix. - Dictionary with existing values. - - - Looks up prefix;usage and replace patterns in template from localizer. - The prefix. - Template dictionary with existing values. - - - - Remove a key from the localizer. - - Key to remove. - - - - Save localizer resources to stream. - - Where to write resources. - - Resource values are all strings. The key and value can have different parts seperated by semi-colons. - Key | Value | Description - ----|-------|------------ - key;VALUE | string | Simple value. - key;LIST | string[;string]* | List of values. - usage;field[;field]*;TEMPLATE | pattern[;pattern]* | List of template patterns. Key includes fields that use template. - - - - - Load the localizer from a stream. - - Dictionary with resources. - Keys found in current localizer that are not in loaded localizer. - Keys found in loaded localizer that were not in current localizer. - New localizer from reader. - - to see resource format. - - - - - Language related utilities. - - - - - Language stop words. - - - - - Language articles. - - - - - Test to see if word is all punctuation or white space. - - Word to check. - True if word is all punctuation or white space. - - - - Test to see if a word is all noise. - - Word to test. - True if word is a number, a or a . - - - - Test to see if a word can be ignored in a resposne. - - Word to test. - True if word is a or a . - - - - Test a word for articles or noise. - - Word to test. - True if word is or . - - - - Test words to see if they are all ignorable in a response. - - - - - - - Regular expression to break a string into words. - - - - - Break input into words. - - String to be broken. - Enumeration of words. - - - - Break a string into words based on _ and case changes. - - Original string. - String with words on case change or _ boundaries. - - - - Make sure all words end with an optional s. - - Words to pluralize. - Enumeration of plural word regex. - - - - Generate regular expressions to match word sequences in original string. - - Original string to be processed. - Maximum phrase length to support. - Array of regular expressions to match subsequences in input. - - This function will call and then will generate sub-phrases up to maxLength. - For example an enumeration of AngusBeefAndGarlicPizza would generate: 'angus?', 'beefs?', 'garlics?', 'pizzas?', 'angus? beefs?', 'garlics? pizzas?' and 'angus beef and garlic pizza'. - You can call it directly, or it is used when generates terms or when is used with a argument. - - - - - Switch 'a' before consonants and 'an' before vowels. - - String to fix. - String with 'a' and 'an' normalized. - - This is not perfect because English is complex, but does a reasonable job. - - - - - Given a list of string values generate a proper English list. - - Value in list. - Separator between all elements except last. - Last element separator. - Value in a proper English list. - - - Normalize a string. - The value to normalize. - The normalization to apply. - A normalized string. - - - - Recognizer for enumerated values. - - - - - Delegate for mapping from a C# value to it's description. - - C# value to get description for. - Description of C# value. - - - - Delegate to return the terms to match on for a C# value. - - C# value to get terms for. - Enumeration of regular expressions to match on for value. - - - - Constructor based on . - - Field with enumerated values. - - - - Abstract class for constructing primitive value recognizers. - - Form state. - - - - Constructor using . - - Field to build recognizer for. - - - - Abstract method for parsing input. - - Input to match. - TermMatch if input is a match. - - - - Return the help template args for current choice and no preference. - - Form state. - Current value of field. - - - - - Field being filled information. - - - - - Recognize a boolean value. - - Form state. - - - - Construct a boolean recognizer for a field. - - Boolean field. - - - - Recognize a string field. - - Form state. - - - - Construct a string recognizer for a field. - - String field. - - - - Recognize a numeric field. - - Form state. - - - - Construct a numeric recognizer for a field. - - Numeric field. - - - - Recognize a double or float field. - - - - - - Construct a double or float recognizer for a field. - - Float or double field. - - - - Recognize a date/time expression. - - Form state. - - Expressions recognized are based the C# Chronic parser for English and - the C# DateTime parser otherwise. - - - - - Construct a date/time recognizer. - - DateTime field. - - - - Abstract base class used by all attributes that use \ref patterns. - - - - - When processing choices {||} in a \ref patterns string, provide a choice for the default value if present. - - - - - Control case when showing choices in {||} references in a \ref patterns string. - - - - - Format string used for presenting each choice when showing {||} choices in a \ref patterns string. - - The choice format is passed two arguments, {0} is the number of the choice and {1} is the field name. - - - - When constructing inline lists of choices using {||} in a \ref patterns string, the string used before the last choice. - - - - - When constructing inline choice lists for {||} in a \ref patterns string controls whether to include parentheses around choices. - - - - - When constructing inline lists using {||} in a \ref patterns string, the string used between all choices except the last. - - - - - How to display choices {||} when processed in a \ref patterns string. - - - - - Control what kind of feedback the user gets after each input. - - - - - Control case when showing {&} field name references in a \ref patterns string. - - - - - When constructing lists using {[]} in a \ref patterns string, the string used before the last value in the list. - - - - - When constructing lists using {[]} in a \ref patterns string, the string used between all values except the last. - - - - - Control case when showing {} value references in a \ref patterns string. - - - - - The pattern to use when generating a string using . - - If multiple patterns were specified, then each call to this function will return a random pattern. - Pattern to use. - - - - All possible templates. - - The possible templates. - - - - Any default values in this template will be overridden by the supplied . - - Default template to use to override default values. - - - - Initialize with multiple patterns that will be chosen from randomly. - - Possible patterns. - - - - Initialize from another template. - - The template to copy from. - - - - Type implements ICollection. - - Type to check. - True if implements ICollection. - - - - Type implements IEnumerable. - - Type to check. - True if implements IEnumerable. - - - - Type implements IList. - - Type to check. - True if implements IList. - - - - Type implements generic ICollection. - - Type to check. - True if implements generic ICollection. - - - - Type implements generic IEnumerable. - - Type to check. - True if implements generic IEnumerable. - - - - Type is integral. - - Type to check. - True if integral. - - - - Type is float or double. - - Type to check. - True if float or double. - - - - Type implements generic IList. - - Type to check. - True if implements generic IList. - - - - Type is nullable. - - Type to check. - True if nullable. - - - - Return the underlying type of generic IEnumerable. - - Type to check. - True if implements generic IEnumerable. - - - - Interface for a prompt and its associated recognizer. - - Form state. - - This interface allows taking a \ref patterns expression and making it into a string with the template parts filled in. - - - - - Description of the prompt and how to generate it. - - Attribute describing how to generate prompt. - - - - Return prompt to send to user. - - Current form state. - Current field being processed. - Optional arguments. - Message to user. - - - - Associated recognizer if any. - - Recognizer for matching user input. - - - - The prompt that is returned by form prompter. - - - - - The text prompt that corresponds to Message.Text. - - - - - The buttons that will be mapped to Message.Attachments. - - - - - Deep clone the FormPrompt. - - A deep cloned instance of FormPrompt. - - - - A Form button that will be mapped to Connector.Action. - - - - - Picture which will appear on the button. - - - - - Message that will be sent to bot when this button is clicked. - - - - - Label of the button. - - - - - URL which will be opened in the browser built-into Client application. - - - - - Clone the FormButton - - A new cloned instance of object. - - - - ToString() override. - - Title of the button. - - - A prompt and recognizer packaged together. - UNderlying form type. - - - - Construct a prompter. - - Annotation describing the \ref patterns and formatting for prompt. - Current form. - Recognizer if any. - Fields name lookup. (Defaults to forms.) - - - Validate pattern by ensuring they refer to real fields. - The form. - Specifies the pattern. - Full pathname of the field. - The number of arguments passed to the pattern. - true if it succeeds, false if it fails. - - - - Enumeration of special kinds of matches. - - - - - Match corresponds to a field, not a specific value in the field. - - - - - Describe a possible match in the user input. - - - - - Construct a match. - - Start of match in input string. - Length of match in input string. - Confidence of match, 0-1.0. - The underlying C# value for the match. - - - - Start of match in input string. - - - - - End of match in input string. - - - - - Length of match in input string. - - - - - Confidence of match, 0-1.0. - - - - - Underlying C# value. - - - - - Check to see if this covers the same span as match. - - TermMatch to compare. - True if both cover the same span. - - - - Check to see if this completely covers match. - - TermMatch to compare. - True if this covers all of match. - - - - Check to see if this overlaps with match in input. - - TermMatch to compare. - True if the matches overlap in the input. - - - - Interface for recognizers that look for matches in user input. - - Underlying form state. - - - Return the arguments to pass to the prompt. - For example a numeric recognizer might pass min and max values. - An array of arguments. - - - - Return all possible values or null if a primitive type. - - All possible values. - - - - Return all possible value descriptions in order to support enumeration. - - All possible value descriptions. - - - - Return the description of a specific value. - - Value to get description of. - Description of the value. - - - - Return valid inputs to describe a particular value. - - Value being checked. - Valid inputs for describing value. - - - - Return the help string describing what are valid inputs to the recognizer. - - Help on what the recognizer accepts. - - - - Return the matches found in the input. - - The input string being matched. - The default value or null if none. - Match records. - - - - Static factory methods for creating form dialogs. - - - - - Create an using the default . - - The form type. - The form options. - The form dialog. - - - - Create an using the parameter. - - The form type. - The delegate to build the form. - The form options. - The form dialog. - - - - Options for form execution. - - - - - No options. - - - - - Prompt when the dialog starts. - - - - - Prompt for fields that already have a value in the initial state when processing form. - - - - - Delegate for building the form. - - The form state type. - An . - This is a delegate so that we can rebuild the form and don't have to serialize - the form definition with every message. - - - - Form dialog to fill in your state. - - The type to fill in. - - This is the root class for managing a FormFlow dialog. It is usually created - through the factory methods - or . - - - - Constructor for creating a FormFlow dialog. - The intial state. - A delegate for building the form. - Options for controlling the form. - Optional entities to process into the form. - The culture to use. - For building forms . - - - - Find the next step to execute. - - What step to execute next. - True if can switch to step. - - - Abstract base class for Form Builders. - Form state class. - - - Build a form by specifying messages, fields and confirmations via reflection or programatically. - Form state class. - - Fields will be defined through reflection over the type and attributes like - , - , - - , - , - and - . - For all of the attributes, resonable defaults will be generated. - - - - - Create a new form builder for building a form using reflection. - - True to ignore any attributes on the form class. - - - Given return a with a template for the message to display. - Form state type. - Form state. - A PromptAttribute describing the message to display. - - - Interface for building a form. - - A form consists of a series of steps that can be one of: - - A message to the user. - A prompt sent to the user where the response is to fill in a form state value. - A confirmation of the current state with the user. - - By default the steps are executed in the order of the , and calls. - If you do not take explicit control, the steps will be executed in the order defined in the - form state with a final confirmation. - This interface allows you to flently build a form by composing together fields, - messages and confirmation. The fluent building blocks provide common patterns - like fields being based on your state class, but you can also build up your - own definition of a form by using Advanced.IField. - If you want to build a form using C# reflection over your state class use FormBuilder. - To declaratively build a form through JSON Schema you can use Json.FormBuilderJson. - - Forms are sensitive to the current thread UI culture. The Microsoft.Bot.Builder strings will localize - to that culture if available. You can also localize the strings generated for your form by calling IForm.SaveResources - or by using the RView tool and adding that resource to your project. For strings in dynamic fields, messages or confirmations you will - need to use the normal C# mechanisms to localize them. Look in the overview documentation for more information. - - Form state. - - - - Build the form based on the methods called on the builder. - - Assembly for localization resources. - Name of resources to use for localization. - The constructed form. - - The default assembly is the one that contains - and the default resourceName if the name of that type. - - - - - The form configuration supplies default templates and settings. - - The current form configuration. - - - - Show a message that does not require a response. - - A \ref patterns string to fill in and send. - Whether or not this step is active. - Fields message depends on. - Modified IFormBuilder. - - - - Show a message with more format control that does not require a response. - - Message to fill in and send. - Whether or not this step is active. - Fields message depends on. - Modified IFormBuilder. - - - Generate a message using a delegate to dynamically build the message. - Delegate for building message. - Whether or not this step is active. - Fields message depends on. - Modified IFormBuilder. - - - - Derfine a field step by supplying your own field definition. - - Field definition to use. - Modified IFormBuilder. - - You can provide your own implementation of or you can - use the class to provide fluent values, - to use reflection or Json.FieldJson to use JSON Schema. - - - - - Define a step for filling in a particular value in the form state. - - Path in the form state to the value being filled in. - Delegate to test form state to see if step is active. - Delegate to validate the field value. - Modified IFormBuilder. - - - - Define a step for filling in a particular value in the form state. - - Path in the form state to the value being filled in. - Simple \ref patterns to describe prompt for field. - Delegate to test form state to see if step is active.n - Delegate to validate the field value. - Modified IFormBuilder. - - - - Define a step for filling in a particular value in the form state. - - Path in the form state to the value being filled in. - Prompt pattern with more formatting control to describe prompt for field. - Delegate to test form state to see if step is active.n - Delegate to validate the field value. - Modified IFormBuilder. - - - - Add all fields not already added to the form. - - Fields not to include. - Modified IFormBuilder. - - This will add all fields defined in your form that have not already been - added if the fields are supported. - - - - - Add a confirmation step. - - Prompt to use for confirmation. - Delegate to test if confirmation applies to the current form state. - What fields this confirmation depends on. - Modified IFormBuilder. - - If prompt is not supplied the \ref patterns element {*} will be used to confirm. - Dependencies will by default be all active steps defined before this confirmation. - - - - - Add a confirmation step. - - Prompt to use for confirmation. - Delegate to test if confirmation applies to the current form state. - What fields this confirmation depends on. - Modified IFormBuilder. - - Dependencies will by default be all active steps defined before this confirmation. - - - - Generate a confirmation using a delegate to dynamically build the message. - Delegate for building message. - Whether or not this step is active. - What fields this confirmation depends on. - Modified IFormBuilder. - - - - Delegate to call when form is completed. - - Delegate to call on completion. - Modified IFormBuilder. - - This should only be used for side effects such as calling your service with - the form state results. In any case the completed form state will be passed - to the parent dialog. - - - - - Test to see if there is already a field with . - - - True if field is already present. - - - - Default values for the form. - - - These defaults can all be overriden when you create a form and before you add steps. - - - - - Construct configuration. - - - - - Default prompt and template format settings. - - - When you specify a or , any format - value you do not specify will come from this default. - - - - - Enumeration of strings for interpreting a user response as setting an optional field to be unspecified. - - - The first string is also used to describe not having a preference for an optional field. - - - - - Enumeration of strings for interpreting a user response as asking for the current value. - - - The first value is also used to describe the option of keeping the current value. - - - - - Enumeration of values for a "yes" response for boolean fields or confirmations. - - - - - Enumeration of values for a "no" response for boolean fields or confirmations. - - - - - String for naming the "navigation" field. - - - - - Default templates to use if not override on the class or field level. - - - - - Definitions of the built-in commands. - - - - - Look up a particular template. - - Desired template. - Matching template. - - - Form definition interface. - Form state. - - - - Fields that make up form. - - - - Save all string resources to binary stream for future localization. - Where to write resources. - - - Localize all string resources from binary stream. - Where to read resources. - [out] Any values in the form, but missing from the stream. - [out] Any values in the stream, but missing from the form. - When you localize all form string resources will be overridden if present in the stream. - Otherwise the value will remain unchanged. - - - - - Abstract base class for FormFlow attributes. - - - - - True if attribute is localizable. - - - Attributes that are used on classes, fields and properties should have this set. - That way those attributes will be in the localization files that are generated. - - - - - Attribute to override the default description of a field, property or enum value. - - - - - Description of the field, property or enum. - - - - - URL of image to use when creating buttons. - - - - - Description for field, property or enum value. - - Description of field, property or enum value. - URL of image to use when generating buttons. - - - - Attribute to override the default terms used to match a field, property or enum value to user input. - - - By default terms are generated by calling the method with a max phrase length of 3 - on the name of the field, property or enum value. Using this attribute you can specify your own regular expressions to match or if you specify the - attribute you can cause to be called on your strings with the - maximum phrase length you specify. - - - - - Regular expressions for matching user input. - - - - - The maximum pharse length to use when calling on your supplied terms. - - - - - Regular expressions or terms used when matching user input. - - - If is specified the supplied alternatives will be passed to to generate regular expressions - with a maximum phrase size of . - - Regular expressions or terms. - - - - Specifies how to show choices generated by {||} in a \ref patterns string. - - - - - Use the default from the . - - - - - Automatically choose how to render choices. - - - - - Automatically generate text and switch between the and styles based on the number of choices. - - - - - Show choices on the same line. - - - - - Show choices with one per line. - - - - Show choices on the same line without surrounding parentheses. - - - - How to normalize the case of words. - - - - - Use the default from the . - - - - - First letter of each word is capitalized - - - - - Normalize words to lower case. - - - - - Normalize words to upper case. - - - - - Don't normalize words. - - - - - Three state boolean value. - - - This is necessary because C# attributes do not support nullable properties. - - - - - Use the default from the . - - - - - Boolean true. - - - - - Boolean false. - - - - - Control how the user gets feedback after each entry. - - - - - Use the default from the . - - - - - Provide feedback using the template only if part of the user input was not understood. - - - - - Provide feedback after every user input. - - - - - Never provide feedback. - - - - - Define the prompt template used when asking about a field. - - - Prompts use \ref Templates to provide control over what goes into a prompt. - - - - - Define a prompt with one or more \ref patterns patterns to choose from randomly. - - Patterns to select from. - - - - Define a prompt based on a . - - Template to use. - - - - All of the built-in templates. - - - A good way to understand these is to look at the default templates defined in - - - - An enum constant representing the none option. - - - - How to ask for a boolean. - - - - - What you can enter when entering a bool. - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - - - - - Clarify an ambiguous choice. - - This template can use {0} to capture the term that was ambiguous. - - - - Default confirmation. - - - - - Show the current choice. - - - This is how the current choice is represented as an option. - If you change this, you should also change - so that what people can type matches what you show. - - - - - How to ask for a . - - - - - What you can enter when entering a . - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - - - This template can use {0} to get the current choice or {1} for no preference if field is optional. - - - - - How to ask for a double. - - - Within this template if numerical limits are specified using , - {0} is the minimum possible value and {1} is the maximum possible value. - - - - - What you can enter when entering a double. - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - If limits are specified through , then {2} will be the minimum possible value - and {3} the maximum possible value. - - - Within this template, {0} is current choice if any, {1} is no preference for optional and {1} and {2} are min/max if specified. - - - - - What you can enter when selecting a single value from a numbered enumeration. - - - Within this template, {0} is the minimum choice. {1} is the maximum choice and {2} is a description of all the possible words. - - - - - What you can enter when selecting multiple values from a numbered enumeration. - - - Within this template, {0} is the minimum choice. {1} is the maximum choice and {2} is a description of all the possible words. - - - - - What you can enter when selecting one value from an enumeration. - - - Within this template, {2} is a list of the possible values. - - - - - What you can enter when selecting mutiple values from an enumeration. - - - Within this template, {2} is a list of the possible values. - - - - - How to ask for one value from an enumeration. - - - - - How to ask for multiple values from an enumeration. - - - - - How to show feedback after user input. - - - Within this template, unmatched input is available through {0}, but it should be wrapped in an optional {?} in \ref patterns in case everything was matched. - - - - - What to display when asked for help. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - What to display when asked for help while clarifying. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - What to display when asked for help while in a confirmation. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - What to display when asked for help while navigating. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - How to ask for an integer. - - - Within this template if numerical limits are specified using , - {0} is the minimum possible value and {1} is the maximum possible value. - - - - - What you can enter while entering an integer. - - - Within this template, {0} is current choice if any, {1} is no preference for optional and {1} and {2} are min/max if specified. - - - - - How to ask for a navigation. - - - - - Help pattern for navigation commands. - - - Within this template, {0} has the list of possible field names. - - - - - Navigation format for one line in navigation choices. - - - - - What you can enter when navigating. - - - Within this template, if numeric choies are allowed {0} is the minimum possible choice - and {1} the maximum possible choice. - - - - - How to show no preference in an optional field. - - - - - Response when an input is not understood. - - - When no input is matched this template is used and gets {0} for what the user entered. - - - - - Format for one entry in status. - - - - - How to ask for a string. - - - - - What to display when asked for help when entering a string. - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - - - - - How to represent a value that has not yet been specified. - - - - - Define a template for generating strings. - - - Templates provide a pattern that uses the template language defined in \ref patterns. See to see a description of all the different kinds of templates. - You can also look at to see all the default templates that are provided. Templates can be overriden at the form, class/struct of field level. - They also support randomly selecting between templates which is a good way to introduce some variation in your responses. - - - - - What kind of template this is. - - - - - Specify a set of templates to randomly choose between for a particular usage. - - How the template will be used. - The set of \ref patterns to randomly choose from. - - - Initialize from another template. - The other template. - - - - Define a field or property as optional. - - - An optional field is one where having no value is an acceptable response. By default every field is considered required and must be filled in to complete the form. - - - - - Mark a field or property as optional. - - - - - Provide limits on the possible values in a numeric field or property. - - - By default the limits are the min and max of the underlying field type. - - - - - Min possible value. - - - - - Max possible value. - - - - - Specify the range of possible values for a number field. - - Min value allowed. - Max value allowed. - - - - Provide a regular expression to validate a string field. - - - If the regular expression is not matched the template will be used for feedback. - - - - - Regular expression for validating the content of a string field. - - Regular expression for validation. - - - - A delegate for testing a form state to see if a particular step is active. - - Form state type. - Form state to test. - True if step is active given the current form state. - - - Encapsulates the result of a - - - Feedback to provide back to the user on the input. - - - True if value is a valid response. - - - - Value to put in the field if result is valid. - - This provides an opportunity for validation to compute the final value. - - - - A delegate for validating a particular response to a prompt. - - Form state type. - Form state to test. - Response value to validate. - Null if value is valid otherwise feedback on what is wrong. - - - - A delegate called when a form is completed. - - Form state type. - Session where form dialog is taking place. - Completed form state. - - This delegate gives an opportunity to take an action on a completed form - such as sending it to your service. It cannot be used to create a new - dialog or return a value to the parent dialog. - - - - - Interface for controlling a FormFlow dialog. - - Form state type. - - is an implementation of this interface. - - Thrown when the user quits while filling in a form, or there is an underlying exception in the code. - - - - The form specification. - - - - - Commands supported in form dialogs. - - - - - Move back to the previous step. - - - - - Ask for help on responding to the current field. - - - - - Quit filling in the current form and return failure to parent dialog. - - - - - Reset the status of the form dialog. - - - - - Provide feedback to the user on the current form state. - - - - - Description of all the information needed for a built-in command. - - - - - Description of the command. - - - - - Regexs for matching the command. - - - - - Help string for the command. - - - - - Construct the description of a built-in command. - - Description of the command. - Terms that match the command. - Help on what the command does. - - - Exception generated when form filling is canceled by user quit or exception. - In the case of user quit or an exception the strongly typed exception - is actually thrown, but this provides simple access to the Last step. - - - Constructor with message and inner exception. - Exception message. - Inner exception. - In the case of quit by the user, the inner exception will be null. - - - The names of completed steps. - - - Name of the step that quit or threw an exception. - - - Exception generated when form filling is canceled by user quit or exception. - Underlying form type. - - - Constructor with message and inner exception. - Exception message. - Inner exception. - In the case of user quit, the inner exception will be null. - - - Gets the partial form when the user quits or there is an exception. - - - - The LUIS model information. - - - - - The LUIS model ID. - - - - - The LUIS subscription key. - - - - - Construct the LUIS model information. - - The LUIS model ID. - The LUIS subscription key. - - - - A mockable interface for the LUIS service. - - - - - Build the query uri for the query text. - - The query text. - The query uri. - - - - Query the LUIS service using this uri. - - The query uri. - The LUIS result. - - - - Standard implementation of ILuisService against actual LUIS service. - - - - - Construct the LUIS service using the model information. - - The LUIS model information. - - - - The base URi for accessing LUIS. - - - - - LUIS extension methods. - - - LUIS extension methods. - - - - - Query the LUIS service using this text. - - LUIS service. - The query text. - The LUIS result. - - - - Try to find an entity within the result. - - The LUIS result. - The entity type. - The found entity. - True if the entity was found, false otherwise. - - - - Luis entity recommendation. Look at https://www.luis.ai/Help for more - information. - - - - - Initializes a new instance of the EntityRecommendation class. - - - - - Initializes a new instance of the EntityRecommendation class. - - - - - Role of the entity. - - - - - Entity extracted by LUIS. - - - - - Type of the entity. - - - - - Start index of the entity in the LUIS query string. - - - - - End index of the entity in the LUIS query string. - - - - - Score assigned by LUIS to detected entity. - - - - - A machine readable dictionary with more information about the - entity Look at builtin.datetime for an example in the - https://www.luis.ai/Help#PreBuiltEntities. - - - - - LUIS intent recommendation. Look at https://www.luis.ai/Help for more - information. - - - - - Initializes a new instance of the IntentRecommendation class. - - - - - Initializes a new instance of the IntentRecommendation class. - - - - - The LUIS intent detected by LUIS service in response to a query. - - - - - The score for the detected intent. - - - - - The action associated with this Luis intent. - - - - - Initializes a new instance of the Action class. - - - - - Initializes a new instance of the Action class. - - - - - True if the Luis action is triggered, false otherwise. - - - - - Name of the action. - - - - - The parameters for the action. - - - - - Initializes a new instance of the ActionParameter class. - - - - - Initializes a new instance of the ActionParameter class. - - - - - Name of the parameter. - - - - - True if the parameter is required, false otherwise. - - - - - Value of extracted entities for this parameter. - - - - - Initializes a new instance of the ActionParameterValue class. - - - - - Initializes a new instance of the ActionParameterValue class. - - - - - Entity extracted by LUIS. - - - - - Type of the entity. - - - - - Score assigned by LUIS to detected entity. - - - - - Initializes a new instance of the LuisResult class. - - - - - Initializes a new instance of the LuisResult class. - - - - - The query sent to LUIS. - - - - - The intents found in the query text. - - - - - The entities found in the query text. - - - - - Validate the object. Throws ValidationException if validation fails. - - - - Extensions for resources. - - - The separator character between elements in a string list. - - - When the is found in a string list, the escaped replacement. - - - Makes a string list. - The elements to combine into a list. - The separator character between elements in a string list. - The escape string for separator characters. - A string. - - - Makes a list from parameters. - The elements to combine into a list. - A string. - - - A string extension method that splits a list. - The str to act on. - The separator character between elements in a string list. - The escape string for separator characters. - A string[]. - - - - 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 Back. - - - - - Looks up a localized string similar to Back: Go back to the previous question.. - - - - - Looks up a localized string similar to backup;go back;back. - - - - - Looks up a localized string similar to Help. - - - - - Looks up a localized string similar to Help: Show the kinds of responses you can enter.. - - - - - Looks up a localized string similar to help;choices;\?. - - - - - Looks up a localized string similar to Quit. - - - - - Looks up a localized string similar to Quit: Quit the form without completing it.. - - - - - Looks up a localized string similar to quit;stop;finish;goodby?;good bye?;bye;ciao;adios;bye-bye;so long;cheers. - - - - - Looks up a localized string similar to Start over. - - - - - Looks up a localized string similar to Reset: Start over filling in the form. (With defaults from your previous entries.). - - - - - Looks up a localized string similar to start over;reset;clear. - - - - - Looks up a localized string similar to Status. - - - - - Looks up a localized string similar to Status: Show your progress in filling in the form so far.. - - - - - Looks up a localized string similar to status;progress;so far;results. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to {0}. {1}. - - - - - Looks up a localized string similar to , or . - - - - - Looks up a localized string similar to , . - - - - - Looks up a localized string similar to , and . - - - - - Looks up a localized string similar to , . - - - - - Looks up a localized string similar to a;an;the. - - - - - Looks up a localized string similar to a;about;above;above;across;after;afterwards;again;against;all;almost;alone;along;already;also;although;always;am;among;amongst;amoungst;amount;an;and;another;any;anyhow;anyone;anything;anyway;anywhere;are;around;as;at;back;be;became;because;become;becomes;becoming;been;before;beforehand;behind;being;below;beside;besides;between;beyond;bill;both;bottom;but;by;call;can;cannot;cant;co;con;could;couldnt;cry;de;describe;detail;do;done;down;due;during;each;eg;eight;either;eleven;else;elsewhere;empty;enough;etc;ev [rest of string was truncated]";. - - - - - Looks up a localized string similar to Current Choice('c');current;c;current choice;no change. - - - - - Looks up a localized string similar to No;n;nope;2. - - - - - Looks up a localized string similar to No Preference;no;none;I don'?t care. - - - - - Looks up a localized string similar to Yes;y;sure;ok;yep;1. - - - - - Looks up a localized string similar to Field Name. - - - - - Looks up a localized string similar to I didn't understand. Say something in reply.. - - - - - Looks up a localized string similar to Would you like a {&}? {||}. - - - - - Looks up a localized string similar to Please enter 'yes' or 'no'{?, {0}}.. - - - - - Looks up a localized string similar to By "{0}" {&} did you mean {||}. - - - - - Looks up a localized string similar to Is this your selection? - {*}. - - - - - Looks up a localized string similar to (current choice: {}). - - - - - Looks up a localized string similar to Please enter a date and time for {&} {||}. - - - - - Looks up a localized string similar to Please enter a date or time expression {?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to Please enter a number {?between {0:F1} and {1:F1}} for {&} {||}. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to Please enter a number{? between {2:F1} and {3:F1}}{?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to You can enter one or more numbers {0}-{1} or words from the descriptions. ({2}). - - - - - Looks up a localized string similar to You can enter in one or more selections from the descriptions. ({2}). - - - - - Looks up a localized string similar to You can enter a number {0}-{1} or words from the descriptions. ({2}). - - - - - Looks up a localized string similar to You can enter in any words from the descriptions. ({2}). - - - - - Looks up a localized string similar to Please select one or more {&} {||}. - - - - - Looks up a localized string similar to Please select a {&} {||}. - - - - - Looks up a localized string similar to For {&} I understood {}. {?"{0}" is not an option.}. - - - - - Looks up a localized string similar to You are filling in the {&} field. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to You are clarifying a {&} value. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to Please answer the question. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to Choose what field to change. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to Please enter a number{? between {0} and {1}} for {&} {||}. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to You can enter a number{? between {2} and {3}}{?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to What do you want to change? {||}. - - - - - Looks up a localized string similar to You can switch to another field by entering its name. ({0}).. - - - - - Looks up a localized string similar to {&}({}). - - - - - Looks up a localized string similar to Choose {?a number from {0}-{1}, or} a field name.. - - - - - Looks up a localized string similar to No Preference. - - - - - Looks up a localized string similar to "{0}" is not a {&} option.. - - - - - Looks up a localized string similar to {&}: {}. - - - - - Looks up a localized string similar to Please enter {&} {||}. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to You can enter anything (use "'s to force string){?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to Unspecified. - - - - - Looks up a localized string similar to too many attempts. - - - - - Looks up a localized string similar to User profile deleted!. - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Connector.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Connector.dll deleted file mode 100644 index e215e323b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Connector.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Connector.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Connector.xml deleted file mode 100644 index 499b0f128..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Bot.Connector.xml +++ /dev/null @@ -1,3100 +0,0 @@ - - - - Microsoft.Bot.Connector - - - - - Client will open given url in the built-in browser. - - - - - Client will post message to bot, so all other participants will see that was posted to the bot and who posted this. - - - - - Client will post message to bot privately, so other participants inside conversation will not see that was posted. - - - - - playback audio container referenced by url - - - - - playback video container referenced by url - - - - - show image referenced by url - - - - - download file referenced by url - - - - - Signin button - - - - - Bot added to user contacts - - - - - Bot removed from user contacts - - - - - add Bearer authorization token for making API calls - - The http client - (default)Setting["microsoftAppId"] - (default)Setting["microsoftAppPassword"] - HttpClient with Bearer Authorization header - - - - User took action on a message (button click) - - - - - Channel specific payload - - - Some channels will provide channel specific data. - - For a message originating in the channel it might provide the original native schema object for the channel. - - For a message coming into the channel it might accept a payload allowing you to create a "native" response for the channel. - - Example: - * Email - The Email Channel will put the original Email metadata into the ChannelData object for outgoing messages, and will accep - on incoming message a Subject property, and a HtmlBody which can contain Html. - - The channel data essentially allows a bot to have access to native functionality on a per channel basis. - - - - - Default- interpret text fields as markdown - - - - - Plain text (do not interpret as anything) - - - - - B, I, S, U, A NOTE: Only supported on Skype for now - - - - - Attachments operations. - - - - - Get the URI of an attachment view - - - default is "original" - uri - - - - Get the given attachmentid view as a stream - - attachmentid - view to get (default:original) - stream of attachment - - - - Initializes a new instance of the Attachments class. - - - Reference to the service client. - - - - - Gets a reference to the ConnectorClient - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - attachment id - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetAttachment - - Get the named view as binary content - - attachment id - - - View id from attachmentInfo - - - Headers that will be added to request. - - - The cancellation token. - - - - - Message from a user -> bot or bot -> User - - - - - Bot added removed to contact list - - - - - This notification is sent when the conversation's properties change, for example the topic name, or when user joins or leaves the group. - - - - - A from is typing - - - - - Delete user data - - - - - Ping message - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - The operations group for this extension method. - - - attachment id - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - The operations group for this extension method. - - - attachment id - - - The cancellation token. - - - - - GetAttachment - - Get the named view as binary content - - The operations group for this extension method. - - - attachment id - - - View id from attachmentInfo - - - - - GetAttachment - - Get the named view as binary content - - The operations group for this extension method. - - - attachment id - - - View id from attachmentInfo - - - The cancellation token. - - - - - Attachments operations. - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - attachment id - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetAttachment - - Get the named view as binary content - - attachment id - - - View id from attachmentInfo - - - The headers that will be added to request. - - - The cancellation token. - - - - - Attachment data - - - - - Initializes a new instance of the AttachmentData class. - - - - - Initializes a new instance of the AttachmentData class. - - - - - content type of the attachmnet - - - - - Name of the attachment - - - - - original content - - - - - Thumbnail - - - - - Metdata for an attachment - - - - - Initializes a new instance of the AttachmentInfo class. - - - - - Initializes a new instance of the AttachmentInfo class. - - - - - Name of the attachment - - - - - ContentType of the attachment - - - - - attachment views - - - - - Attachment View name and size - - - - - Initializes a new instance of the AttachmentView class. - - - - - Initializes a new instance of the AttachmentView class. - - - - - content type of the attachmnet - - - - - Name of the attachment - - - - - - - - - Initializes a new instance of the CardAction class. - - - - - Initializes a new instance of the CardAction class. - - - - - Defines the type of action implemented by this button. Possible - values for this property include: 'openUrl', 'imBack', - 'postBack', 'playAudio', 'playVideo', 'showImage', 'downloadFile'. - - - - - Text description which appear on the button. - - - - - URL Picture which will appear on the button, next to text label. - Media hosted on 3rd party domains will be automatically hosted on - auth protected CDN.Auth protection will be used to ensure that - content - uploaded to Skype CDN will only be accessible by Microsoft Clients - Please refer to Chapter 7 for description of media caching - algorithm. - - - - - Supplementary parameter for action. Content of this property - depends on the ActionType - - - - - - - - - Initializes a new instance of the CardImage class. - - - - - Initializes a new instance of the CardImage class. - - - - - URL Thumbnail image for major content property. - - - - - Image description intended for screen readers - - - - - Action assigned to specific Attachment.E.g.navigate to specific - URL or play/open media content - - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - - - - - Initializes a new instance of the ConversationParameters class. - - - - - Initializes a new instance of the ConversationParameters class. - - - - - The bot address of the bot requesting a conversation - - - - - IsGroup - - - - - Members to add to the conversation - - - - - (Optional) Topic of the conversation (if supported by the channel) - - - - - GeoCoordinates - https://schema.org/GeoCoordinates - - - - - Initializes a new instance of the GeoCoordinates class. - - - - - Initializes a new instance of the GeoCoordinates class. - - - - - Elevation of the location [WGS - 84](https://en.wikipedia.org/wiki/World_Geodetic_System) - - - - - Latitude of the location [WGS - 84](https://en.wikipedia.org/wiki/World_Geodetic_System) - - - - - Longitude of the location [WGS - 84](https://en.wikipedia.org/wiki/World_Geodetic_System) - - - - - The type of the thing - - - - - The name of the thing - - - - - Place - https://schema.org/Place - - - - - Initializes a new instance of the Place class. - - - - - Initializes a new instance of the Place class. - - - - - Address of the place - Can be `string` or JToken of `PostalAddress` (future) - - - - - Geo coordinates of the place - Can be JToken of `GeoCoordinates` or `GeoShape` (future) - - - - - Map to the place - Can be `string` (a URL) or JToken of `Map` (future) - - - - - The type of the thing - - - - - The name of the thing - - - - - - - - - Initializes a new instance of the ResourceResponse class. - - - - - Initializes a new instance of the ResourceResponse class. - - - - - Id of the resource - - - - - - - - - Initializes a new instance of the ThumbnailCard class. - - - - - Initializes a new instance of the ThumbnailCard class. - - - - - Title of the card - - - - - Subtitle of the card - - - - - Text for the card - - - - - Array of i - - - - - Set of actions applicable to the current card - - - - - This action will be activated when user taps on the card itself - - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - The cancellation token. - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - The cancellation token - - - - Send an activity to a conversation - - - The operations group for this extension method. - - - Activity to send - - - - - Send an activity to a conversation - - - The operations group for this extension method. - - - Activity to send - - - The cancellation token. - - - - - Replyto an activity in an existing conversation - - - The operations group for this extension method. - - - Activity to send - - - - - Reply to an activity in an existing conversation - - - The operations group for this extension method. - - - Activity to send - - - The cancellation token. - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a conversation id - which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a direct - message conversation. An example of how to do that would be: - - ``` - var resource = await connector.conversations.CreateConversation(new - ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, new - Activity() ... ) ; - - ``` - - The operations group for this extension method. - - - Parameters to create the conversation from - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a conversation id - which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a direct - message conversation. An example of how to do that would be: - - ``` - var resource = await connector.conversations.CreateConversation(new - ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, new - Activity() ... ) ; - - ``` - - The operations group for this extension method. - - - Parameters to create the conversation from - - - The cancellation token. - - - - - SendToConversation - - This method allows you to send an activity to a conversation regardless of - previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - ReplyToConversation is preferable to SendToConversation() because it - maintains threaded conversations. - - The operations group for this extension method. - - - Activity to send - - - Conversation ID - - - - - SendToConversation - - This method allows you to send an activity to a conversation regardless of - previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - ReplyToConversation is preferable to SendToConversation() because it - maintains threaded conversations. - - The operations group for this extension method. - - - Activity to send - - - Conversation ID - - - The cancellation token. - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to SendToConversation() - because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - The operations group for this extension method. - - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to SendToConversation() - because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - The operations group for this extension method. - - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - The cancellation token. - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - The operations group for this extension method. - - - Conversation ID - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - The operations group for this extension method. - - - Conversation ID - - - The cancellation token. - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning an array - of ChannelAccount[] objects - which are the members of the particular activity in the conversation. - - The operations group for this extension method. - - - Conversation ID - - - Activity ID - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning an array - of ChannelAccount[] objects - which are the members of the particular activity in the conversation. - - The operations group for this extension method. - - - Conversation ID - - - Activity ID - - - The cancellation token. - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a channels - blob storage. - - This is useful because it allows you to store data in a compliant store - when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId which is - suitable for using with the attachments api. - - The operations group for this extension method. - - - Conversation ID - - - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a channels - blob storage. - - This is useful because it allows you to store data in a compliant store - when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId which is - suitable for using with the attachments api. - - The operations group for this extension method. - - - Conversation ID - - - - - The cancellation token. - - - - - Configuration for JWT tokens - - - - - TO BOT FROM CHANNEL: OpenID metadata document for tokens coming from MSA - - - - - TO BOT FROM CHANNEL: Token validation parameters when connecting to a bot - - - - - TO BOT FROM MSA: OpenID metadata document for tokens coming from MSA - - - These settings are used to allow access from the Bot Framework Emulator - - - - - TO BOT FROM MSA: Token validation parameters when connecting to a channel - - - These settings are used to allow access from the Bot Framework Emulator - - - - - Shared of OpenIdConnect configuration managers (one per metadata URL) - - - - - Token validation parameters for this instance - - - - - OpenIdConnect configuration manager for this instances - - - - - Apply the credentials to the HTTP request. - - The HTTP request.Cancellation token. - - - - © 2016 Microsoft - - - - - Create a new instance of the StateClient class - - Base URI for the Connector service - Optional. Your Microsoft app id. If null, this setting is read from settings["MicrosoftAppId"] - Optional. Your Microsoft app password. If null, this setting is read from settings["MicrosoftAppPassword"] - Optional. The delegating handlers to add to the http client pipeline. - - - - Create a new instance of the StateClient class - - Base URI for the Connector service - Credentials for the Connector service - True, if JwtTokenRefresher should be included; False otherwise. - Optional. The delegating handlers to add to the http client pipeline. - - - - Create a new instance of the StateClient class - - This constructor will use http://api.botframework.com as the baseUri - Credentials for the Connector service - True, if JwtTokenRefresher should be included; False otherwise. - Optional. The delegating handlers to add to the http client pipeline. - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client subscription. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The base URI of the service. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The base URI of the service. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes client properties. - - - - - - - - - Initializes a new instance of the HeroCard class. - - - - - Initializes a new instance of the HeroCard class. - - - - - Title of the card - - - - - Subtitle of the card - - - - - Text for the card - - - - - Array of i - - - - - Set of actions applicable to the current card - - - - - This action will be activated when user taps on the card itself - - - - - - - - - Initializes a new instance of the ReceiptCard class. - - - - - Initializes a new instance of the ReceiptCard class. - - - - - Title of the card - - - - - Array of Receipt Items - - - - - Array of Fact Objects Array of key-value pairs. - - - - - This action will be activated when user taps on the card - - - - - Total amount of money paid (or should be paid) - - - - - Total amount of TAX paid(or should be paid) - - - - - Total amount of VAT paid(or should be paid) - - - - - Set of actions applicable to the current card - - - - - A card representing a request to signing - - - - - Initializes a new instance of the SigninCard class. - - - - - Initializes a new instance of the SigninCard class. - - - - - Text for signin request - - - - - Action to use to perform signin - - - - - BotState operations. - - - - - Initializes a new instance of the BotState class. - - - Reference to the service client. - - - - - Gets a reference to the StateClient - - - - - GetUserData - - Get a bots data for the user across all conversations - - channelId - - - id for the user on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - SetUserData - - Update the bot's data for a user - - channelId - - - id for the user on the channel - - - the new botdata - - - Headers that will be added to request. - - - The cancellation token. - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - channelId - - - id for the user on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetConversationData - - get the bots data for all users in a conversation - - the channelId - - - The id for the conversation on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetUserData - - Get a bots data for the user across all conversations - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - - - GetUserData - - Get a bots data for the user across all conversations - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - The cancellation token. - - - - - SetUserData - - Update the bot's data for a user - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - the new botdata - - - - - SetUserData - - Update the bot's data for a user - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - the new botdata - - - The cancellation token. - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - The cancellation token. - - - - - GetConversationData - - get the bots data for all users in a conversation - - The operations group for this extension method. - - - the channelId - - - The id for the conversation on the channel - - - - - GetConversationData - - get the bots data for all users in a conversation - - The operations group for this extension method. - - - the channelId - - - The id for the conversation on the channel - - - The cancellation token. - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - The cancellation token. - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - The cancellation token. - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - The cancellation token. - - - - - BotState operations. - - - - - GetUserData - - Get a bots data for the user across all conversations - - channelId - - - id for the user on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - SetUserData - - Update the bot's data for a user - - channelId - - - id for the user on the channel - - - the new botdata - - - The headers that will be added to request. - - - The cancellation token. - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - channelId - - - id for the user on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetConversationData - - get the bots data for all users in a conversation - - the channelId - - - The id for the conversation on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - The headers that will be added to request. - - - The cancellation token. - - - - - © 2016 Microsoft - - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client - subscription. - - - - - - - - - Initializes a new instance of the BotData class. - - - - - Initializes a new instance of the BotData class. - - - - - - - - - - - - - Get a property from a BotData recorded retrieved using the REST API - - property name to change - property requested or default for type - - - - Set a property on a BotData record retrieved using the REST API - - property name to change - new data - - - - Use credentials from AppSetting "AppId" "AppSecret" - - - - - Create a new instance of the BearerTokenCredentials class - - Bearer token - - - - Apply the credentials to the HTTP request. - - The HTTP request.Cancellation token. - - - - © 2016 Microsoft - - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client subscription. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The base URI of the service. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The base URI of the service. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes client properties. - - - - - Create a new instance of the ConnectorClient class - - Base URI for the Connector service - Optional. Your Microsoft app id. If null, this setting is read from settings["MicrosoftAppId"] - Optional. Your Microsoft app password. If null, this setting is read from settings["MicrosoftAppPassword"] - Optional. The delegating handlers to add to the http client pipeline. - - - - Create a new instance of the ConnectorClient class - - Base URI for the Connector service - Credentials for the Connector service - True, if JwtTokenRefresher should be included; False otherwise. - Optional. The delegating handlers to add to the http client pipeline. - - - - Conversations operations. - - - - - Initializes a new instance of the Conversations class. - - - Reference to the service client. - - - - - Gets a reference to the ConnectorClient - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a conversation id - which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a direct - message conversation. An example of how to do that would be: - - ``` - var resource = await connector.conversations.CreateConversation(new - ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, new - Activity() ... ) ; - - ``` - - Parameters to create the conversation from - - - Headers that will be added to request. - - - The cancellation token. - - - - - SendToConversation - - This method allows you to send an activity to a conversation regardless of - previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - ReplyToConversation is preferable to SendToConversation() because it - maintains threaded conversations. - - Activity to send - - - Conversation ID - - - Headers that will be added to request. - - - The cancellation token. - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to SendToConversation() - because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - Conversation ID - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning an array - of ChannelAccount[] objects - which are the members of the particular activity in the conversation. - - Conversation ID - - - Activity ID - - - Headers that will be added to request. - - - The cancellation token. - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a channels - blob storage. - - This is useful because it allows you to store data in a compliant store - when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId which is - suitable for using with the attachments api. - - Conversation ID - - - - - Headers that will be added to request. - - - The cancellation token. - - - - - © 2016 Microsoft - - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client - subscription. - - - - - Conversations operations. - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is - false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a - conversation id which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a - direct message conversation. An example of how to do that would - be: - - ``` - var resource = await - connector.conversations.CreateConversation(new ConversationParameters(){ - Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, - new Activity() ... ) ; - - ``` - - Parameters to create the conversation from - - - The headers that will be added to request. - - - The cancellation token. - - - - - SendToConversation - - This method allows you to send an activity to a conversation - regardless of previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message - to the end of the conversation according to the timestamp or - semantics of the channel - * ReplyToConversation(conversationId,ActivityId) - models the - semantics of threaded conversations, meaning it has the - information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which - initiates a conversation, or if you don't have a particular - activity you are responding to. - - ReplyToConversation is preferable to SendToConversation() because - it maintains threaded conversations. - - Activity to send - - - Conversation ID - - - The headers that will be added to request. - - - The cancellation token. - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message - to the end of the conversation according to the timestamp or - semantics of the channel - * ReplyToConversation(conversationId,ActivityId) - models the - semantics of threaded conversations, meaning it has the - information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to - SendToConversation() because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which - initiates a conversation, or if you don't have a particular - activity you are responding to. - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - Conversation ID - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning - an array of ChannelAccount[] objects - which are the members of the particular activity in the - conversation. - - Conversation ID - - - Activity ID - - - The headers that will be added to request. - - - The cancellation token. - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a - channels blob storage. - - This is useful because it allows you to store data in a compliant - store when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId - which is suitable for using with the attachments api. - - Conversation ID - - - - - The headers that will be added to request. - - - The cancellation token. - - - - - - - - - Take a message and create a reply message for it with the routing information - set up to correctly route a reply to the source message - - text you want to reply with - language of your reply - message set up to route back to the sender - - - - Get StateClient appropriate for this activity - - - - alternate serviceurl to use for state service - - - - - - Check if the message has content - - Returns true if this message has any content to send - - - - Get mentions - - - - - - Is there a mention of Id in the Text Property - - ChannelAccount.Id - true if this id is mentioned in the text - - - - Is there a mention of Recipient.Id in the Text Property - - true if this id is mentioned in the text - - - - Remove recipient mention text from Text property - - new .Text property value - - - - Replace any mention text for given id from Text property - - id to match - new .Text property value - - - - Get channeldata as typed structure - - type to use - typed object or default(TypeT) - - - - Return the "major" portion of the activity - - normalized major portion of the activity, aka message/... will return "message" - - - - Initializes a new instance of the Activity class. - - - - - Initializes a new instance of the Activity class. - - - - - The type of the activity - [message|contactRelationUpdate|converationUpdate|typing] - - - - - Id for the activity - - - - - Time when message was sent - - - - - Service endpoint - - - - - ChannelId the activity was on - - - - - Sender address - - - - - Conversation - - - - - (Outbound to bot only) Bot's address that received the message - - - - - Format of text fields [plain|markdown] Default:markdown - - - - - AttachmentLayout - hint for how to deal with multiple attachments - Values: [list|carousel] Default:list - - - - - Array of address added - - - - - Array of addresses removed - - - - - Conversations new topic name - - - - - the previous history of the channel was disclosed - - - - - The language code of the Text field - - - - - Content for the message - - - - - Text to display if you can't render cards - - - - - Attachments - - - - - Entities - Collection of Entity which contain metadata about this activity - (each is typed) - - - - - Channel specific payload - - - - - ContactAdded/Removed action - - - - - the original id this message is a response to - - - - - - - - - Initializes a new instance of the APIResponse class. - - - - - Initializes a new instance of the APIResponse class. - - - - - - - - - - - - - Initializes a new instance of the Attachment class. - - - - - Initializes a new instance of the Attachment class. - - - - - mimetype/Contenttype for the file - - - - - Content Url - - - - - Embedded content - - - - - (OPTIONAL) The name of the attachment - - - - - (OPTIONAL) Thumbnail associated with attachment - - - - - Channel account information needed to route a message - - - - - Initializes a new instance of the ChannelAccount class. - - - - - Initializes a new instance of the ChannelAccount class. - - - - - Channel id for the user or bot on this channel (Example: - joe@smith.com, or @joesmith or 123456) - - - - - Display friendly name - - - - - Channel account information for a conversation - - - - - Initializes a new instance of the ConversationAccount class. - - - - - Initializes a new instance of the ConversationAccount class. - - - - - Is this a reference to a group - - - - - Channel id for the user or bot on this channel (Example: - joe@smith.com, or @joesmith or 123456) - - - - - Display friendly name - - - - - Object of schema.org types - - - - - Initializes a new instance of the Entity class. - - - - - Initializes a new instance of the Entity class. - - - - - Entity Type (typically from schema.org types) - - - - - Retrieve internal payload. - - - - - - - Set internal payload. - - - - - - - Set of key-value pairs. Advantage of this section is that key and - value properties will be - rendered with default style information with some delimiter between - them. So there is no need for developer to specify style information. - - - - - Initializes a new instance of the Fact class. - - - - - Initializes a new instance of the Fact class. - - - - - - - - - - - - - - - - - Initializes a new instance of the ReceiptItem class. - - - - - Initializes a new instance of the ReceiptItem class. - - - - - Title of the Card - - - - - Subtitle appears just below Title field, differs from Title in - font styling only - - - - - Text field appears just below subtitle, differs from Subtitle in - font styling only - - - - - Image - - - - - Amount with currency - - - - - Number of items of given kind - - - - - This action will be activated when user taps on the Item bubble. - - - - - - - - - Initializes a new instance of the Entity class. - - - - - basic shared properties for all activities - - - - - Activity type - - - - - Id for the activity - - - - - (PROPOSED) ServiceUrl - - - - - Time when message was sent - - - - - Channel this activity is associated with - - - - - Sender address data - - - - - Conversation Address - - - - - Bot's address - - - - - The From address is typing - - - - - Someone has updated their contact list - - - - - Add|remove - - - - - The Properties of a conversation are different - - - - - Array of address added - - - - - Array of addresses removed - - - - - Conversations new topic name - - - - - Someone has added a message to the conversation - - - - - The language code of the Text field - - - See https://msdn.microsoft.com/en-us/library/hh456380.aspx for a list of valid language codes - - - - - Text for the message - - - - - Text for the message - - - - - Format of text fields [plain|markdown] default:markdown - - - - - AttachmentLayout - hint for how to deal with multiple attachments Values: [list|carousel] default:list - - - - - content attachemnts - - - - - Entities - Collection of objects which contain metadata about this activity - - - - - Channel specific payload - - - Some channels will provide channel specific data. - - For a message originating in the channel it might provide the original native schema object for the channel. - - For a message coming into the channel it might accept a payload allowing you to create a "native" response for the channel. - - Example: - * Email - The Email Channel will put the original Email metadata into the ChannelData object for outgoing messages, and will accep - on incoming message a Subject property, and a HtmlBody which can contain Html. - - The channel data essentially allows a bot to have access to native functionality on a per channel basis. - - - - - the original id this message is a response to - - - - - Get mentions from the Entities field - - - - - - Get channeldata as typed structure - - type to use - typed object or default(TypeT) - - - - Return the "major" portion of the activity - - normalized major portion of the activity, aka message/... will return "message" - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Edm.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Edm.dll deleted file mode 100644 index 7b4d64537..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Edm.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Edm.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Edm.xml deleted file mode 100644 index f17fc72d8..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Edm.xml +++ /dev/null @@ -1,11523 +0,0 @@ - - - - Microsoft.Data.Edm - - - - - Defines a location in a XML file. - - - - - Represents the location of an Edm item. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the line number in the file. - - - - - Gets the position in the line. - - - - - Exception type representing a failure to parse an EDM document. Carries the set of errors along with it. - - - - - Initializes a new instance of the class. - - The errors encountered while parsing. - - - - Prevents a default instance of the class from being created. - - The parse errors. - - - - Constructs an appropriate exception message from the set of parsing errors. - - The parse errors. - The exception message. - - - - Gets the set of errors that were encountered while parsing. - - - - - Specifies what target of an EDMX file. - - - - - The target is Entity Framework. - - - - - The target is OData. - - - - - Contains xml parsing methods for Edm. - - - - - Common base type for a CSDL expression. - - - - - Common base class for CSDL elements. - - - - - Represents a CSDL Collection expression. - - - - - Represents a CSDL enumeration type member. - - - - - Common base class for all named CSDL elements. - - - - - Base class for CSDL elements that have documentation. - - - - - Gets or sets the underlying type value of the member. - Value can be null only during deserialization of the declaring enumeration type. - When the type's deserialization is complete, all its members get their values assigned. - - - - - Represents a CSDL enumeration type. - - - - - Represents a CSDL Path expression. - - - - - Common base type for a CSDL type or value annotation. - - - - - Represents a CSDL Annotations element. - - - - - Represents a CSDL collection type. - - - - - Represents an inline type expression, such as , and - in the context of . - Note that nominal type declarations, such as entity, complex, association and primitive types, are not considered to be type expressions in the context - of - these types are handled in . - - - - - Represents a CSDL constant expression. - - - - - Represents a CSDL property value in an annotation. - - - - - Represents a CSDL Record expression. - - - - - Represents a reference to a CSDL primitive type. - - - - - Represents a CSDL type reference based on a type referenced by name. - - - - - Base type for the two kinds of type reference: and . - - - - - Represents a semantically invalid EDM enumeration type. - - - - - Represents an invalid EDM element. - - - - - Common base interface for all EDM elements. - - - - - Defines an Edm component who is invalid or whose validity is unknown at construction - - - - - Gets an error if one exists with the current object. - - - - - Represents an element that can be targeted by Vocabulary Annotations - - - - - Represents the definition of an EDM type. - - - - - Gets the kind of this type. - - - - - Represents a definition of an EDM enumeration type. - - - - - Represents an EDM type defined in an EDM schema. - - - - - Common base interface for all named children of EDM schemata. - - - - - Common base interface for all named EDM elements. - - - - - Gets the name of this element. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Common base class for all EDM elements. - - - - - Term to which an annotation can bind. - - - - - Gets the kind of a term. - - - - - Represents a definition of an EDM entity type. - - - - - Common base interface for definitions of EDM structured types. - - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the base type of this type. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Common base class for CsdlSemantics classes that have Annotations. - - - - - Interface for all EDM elements that can be located. - - - - - Gets the location of this element. - - - - - Allocates a new list if needed, and adds the item to the list. - - Type of the list. - List to add the item to. - Item being added. - List containing then new item. - - - - Represents an EDM expression. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Represents an EDM type assertion expression. - - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Provides semantics for a Csdl collection expression. - - - - - Represents an EDM multi-value construction expression. - - - - - Gets the declared type of the collection, or null if there is no declared type. - - - - - Gets the constructed element values. - - - - - Provides semantics for a Csdl datetime with offset constant expression. - - - - - Represents an EDM datetime with offset constant expression. - - - - - Represents an EDM datetime with offset value. - - - - - Represents an EDM primitive value. - - - - - Represents an EDM value. - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the definition of this value. - - - - - Provides a CSDL-specific annotations manager. - - - - - Direct-value annotations manager provides services for setting and getting transient annotations on elements. - - - An object representing transient annotations is in one of these states: - 1) Null, if the element has no transient annotations. - 2) An EdmAnnotation, if the element has exactly one annotation. - 3) A list of EdmAnnotation, if the element has more than one annotation. - If the speed of annotation lookup for elements with many annotations becomes a concern, another option - including a dictionary is possible. - - - - - Manages getting and setting direct value annotations on EDM elements. - - - - - Gets annotations associated with an element. - - The annotated element. - The direct value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - The value of the annotation. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Keeps track of transient annotations on elements. - - - - - Used for locking during updates to the annotations dictionary; - - - - - Elements for which normal comparison failed to produce a valid result, arbitrarily ordered to enable stable comparisons. - - - - - Used for locking during updates to the unsorted elements list. - - - - - Initializes a new instance of the class. - - - - - Gets annotations associated with an element. - - The annotated element. - The immediate value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - New annotation to set. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Retrieves the annotations that are directly attached to an element. - - The element in question. - The annotations that are directly attached to an element (outside the control of the manager). - - - - Retrieves the transient annotations for an EDM element. - - The annotated element. - The dictionary for looking up the element's annotations. - The transient annotations for the element, in a form managed by the annotations manager. - This method is static to guarantee that the annotations dictionary is not fetched more than once per lookup operation. - - - - Represents an EDM entity set reference expression. - - - - - Gets the referenced entity set. - - - - - Represents an EDM enumeration member reference expression. - - - - - Gets the referenced enum member. - - - - - Represents an EDM function reference expression. - - - - - Gets the referenced function. - - - - - Provides semantics for a Csdl guid constant expression. - - - - - Represents an EDM guid constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this guid value. - - - - - Provides semantics for a Csdl binary constant expression. - - - - - Represents an EDM binary constant expression. - - - - - Represents an EDM binary value. - - - - - Gets the definition of this binary value. - - - - - Represents an EDM if expression. - - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Represents an EDM type test expression. - - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Represents an EDM labeled expression element. - - - - - Gets the underlying expression. - - - - - Represents a reference to an EDM labeled expression. - - - - - Gets the referenced expression. - - - - - Provides semantics for a CsdlDirectValueAnnotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Provides semantics for a CsdlEnumMember. - - - - - Represents a definition of an EDM enumeration type member. - - - - - Gets the value of this enumeration type member. - - - - - Gets the type that this member belongs to. - - - - - Provides semantics for CsdlEnumType. - - - - - Common base class for the semantics of EDM types. - - - - - Represents a CSDL type annotation. - - - - - Represents a CSDL value annotation. - - - - - Represents a CSDL value term. - - - - - Provides semantics for an out-of-line CSDL Annotations. - - - - - Provides semantics for a Csdl Bool constant expression. - - - - - Represents an EDM boolean constant expression. - - - - - Represents an EDM boolean value. - - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Provides semantics for CsdlCollectionType. - - - - - Represents a definition of an EDM collection type. - - - - - Gets the element type of this collection. - - - - - Provides semantics for . - - - - - Represents a references to a type. - - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Represents references to EDM Collection types. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM datetime constant expression. - - - - - Represents an EDM datetime value. - - - - - Gets the definition of this datetime value. - - - - - Provides semantics for a Csdl Decimal constant expression. - - - - - Represents an EDM decimal constant expression. - - - - - Represents an EDM decimal value. - - - - - Gets the definition of this decimal value. - - - - - Provides semantics for a Csdl Float constant expression. - - - - - Represents an EDM floating constant expression. - - - - - Represents an EDM floating point value. - - - - - Gets the definition of this floating value. - - - - - Provides semantics for a Csdl Int constant expression. - - - - - Represents an EDM integer constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this integer value. - - - - - Provides semantics for CsdlNamedTypeReference. - - - - - Provides semantics for a Csdl null constant expression. - - - - - Represents an EDM null expression. - - - - - Represents an EDM null value. - - - - - Represents an EDM parameter reference expression. - - - - - Gets the referenced parameter. - - - - - Provides semantics for a Csdl Path expression. - - - - - Represents an EDM path expression. - - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E" is { "A.B", "C", "D.E" }. - - - - - Provides semantics for a CsdlPropertyValue used in a record expression. - - - - - Represents an EDM property constructor specified as part of a EDM construction record expression. - - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Provides semantics for a CsdlPropertyValue used in a type annotation. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Represents an EDM property. - - - - - Gets the kind of this property. - - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Provides semantics for a Csdl Record expression. - - - - - Represents an EDM record construction expression. - - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Provides the semantics of a reference to an EDM primitive type. - - - - - Represents references to primitive types. - - - - - This doesn't need the full caching mechanism because the computation is cheap, and the likelyhood of computing a primitive type reference without needing its definition is remote. - - - - - Represents a reference to an EDM spatial type. - - - - - Gets the Spatial Reference Identifier of this spatial type. - - - - - Provides semantics for a Csdl String constant expression. - - - - - Represents an EDM string constant expression. - - - - - Represents an EDM string value. - - - - - Gets the definition of this string value. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM time constant expression. - - - - - Represents an EDM time value. - - - - - Gets the definition of this time value. - - - - - Common base class for CsdlSemanticsTypeAnnotation and CsdlSemanticsValueAnnotation. - - - - - Represents an EDM vocabulary annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Gets the term bound by the annotation. - - - - - Gets the element the annotation applies to. - - - - - Gets the type to use as a binding context for expressions in the annotation. If the target of the annotation - is an entity type, that is the binding context. If the target is an entity set, the binding context is the - element type of the set. - - - - - Provides semantics for a CsdlTypeAnnotation. - - - - - Represents an EDM type annotation. - - - - - Gets the value annotations for the properties of the type. - - - - - Provides semantics for a CsdlValueAnnotation. - - - - - Represents an EDM value annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Provides semantics for a CsdlValueTerm. - - - - - Represents an EDM value term. - - - - - Gets the type of this term. - - - - - Represents a definition of an EDM association type. - - - - - Gets the namespace this association belongs to. - - - - - Gets the first end of the association. - - - - - Gets the second end of the association. - - - - - Gets the referential constraint of the association. - - - - - Represents an end of an EDM association. - - - - - Gets the declaring association of this association end. - - - - - Gets the entity type of this end of the association. - - - - - Gets this end's multiplicity. - - - - - Gets the action to execute on the deletion of this association end. - - - - - Represents an EDM association set. - - - - - Gets the association of this association set. - - - - - Gets the first end of this association set. - - - - - Gets the second end of this association set. - - - - - Represents one of the ends of an EDM association set. - - - - - Gets the association end that describes the role of this association set end. - - - - - Gets the entity set this association set end corresponds to. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that an entity set refers to a type that can be represented in CSDL. - - - - - Validates that a structured type's base type can be represented in CSDL. - - - - - Validates that association names can be represented in CSDL. - - - - - Validates that vocabulary annotations serialized out of line have a serializable target name. - - - - - Validates that vocabulary annotations have a serializable term name. - - - - - Represents whether a vocabulary annotation should be serialized within the element it applies to or in a seperate section of the CSDL. - - - - - The annotation should be serialized within the element being annotated. - - - - - The annotation should be serialized in a seperate section. - - - - - Contains extension methods for interfaces that are useful to serialization. - - - - - Gets the value for the EDMX version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDMX version attribute of the . - - The model the version should be set for. - The version. - - - - Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces. - - Reference to the calling object. - XmlNamespaceManage containing mappings between namespace prefixes and xml namespaces. - - - - Gets the preferred prefix mappings for xml namespaces from an IEdmModel - - Reference to the calling object. - Namespace prefixes that exist on the model. - - - - Sets a value for the DataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the DataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for. - Value of the attribute. - - - - Sets a value for the MaxDataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the MaxDataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for - Value of the attribute. - - - - Sets the location an annotation should be serialized in. - - The annotation the location is being specified for. - Model containing the annotation. - The location the annotation should appear. - - - - Gets the location an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - The location the annotation should be serialized at. - - - - Sets the schema an annotation should appear in. - - The annotation the schema should be set for. - Model containing the annotation. - The schema the annotation belongs in. - - - - Gets the schema an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - Name of the schema the annotation belongs to. - - - - Sets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Gets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Sets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the fully-qualified name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The fully-qualified association name. - - - - Sets the annotations for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Gets the annotations associated with the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Sets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Gets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Sets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set - The navigation property. - The association set name. - - - - Gets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set name. - - - - Sets the annotations for the association set serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the annotations associated with the association serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise. - - The navigation property. - The primary end between the navigation property and its partner. - - - - Sets an annotation indicating whether the value of an enum member should be explicitly serialized. - - Member to set the annotation on. - Model containing the member. - If the value of the enum member should be explicitly serialized - - - - Gets an annotation indicating whether the value of an enum member should be explicitly serialized. - - The member the annotation is on. - Model containing the member. - Whether the member should have its value serialized. - - - - Sets an annotation indicating if the value should be serialized as an element. - - Value to set the annotation on. - Model containing the value. - Value indicating if the value should be serialized as an element. - - - - Gets an annotation indicating if the value should be serialized as an element. - - Value the annotation is on. - Model containing the value. - Value indicating if the string should be serialized as an element. - - - - Sets the serialization alias for a given namespace - - Model that will be serialized. - The namespace to set the alias for. - The alias for that namespace. - - - - Gets the serialization alias for a given namespace. - - Model that will be serialized. - Namespace the alias is needed for. - The alias of the given namespace, or null if one does not exist. - - - - Represents a CSDL function return type. - - - - - Provides EDMX parsing services for EDM models. - - - - - True when either Runtime or DataServices node have been processed. - - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing. - - - - .TryParse does not exist on all platforms, so implementing it here. - - Input string. - Parsed version. - False in case of failure. - - - - All parse functions start with the reader pointing at the start tag of an element, and end after consuming the ending tag for the element. - - The current element name to be parsed. - The parsers for child elements of the current element. - - - - Provides EDMX serialization services for EDM models. - - - - - Outputs an EDMX artifact to the provided XmlWriter. - - Model to be written. - XmlWriter the generated EDMX will be written to. - Target implementation of the EDMX being generated. - Errors that prevented successful serialization, or no errors if serialization was successfull. - A value indicating whether serialization was successful. - - - - Represents references to entity reference types. - - - - - Represents the common base type of EDM functions and function imports. - - - - - Searches for a parameter with the given name, and returns null if no such parameter exists. - - The name of the parameter being found. - The requested parameter or null if no such parameter exists. - - - - Gets the return type of this function. - - - - - Gets the collection of parameters for this function. - - - - - Represents an EDM function import. - - - - - Represents the common elements of all EDM entity container elements. - - - - - Gets the kind of element of this container element. - - - - - Gets the container that contains this element. - - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Represents an EDM entity set reference expression. - - - - - Initializes a new instance of the class. - - Referenced entity set. - - - - Gets the referenced entity set. - - - - - Gets the kind of this expression. - - - - - Represents an EDM path expression. - - - - - Initializes a new instance of the class. - - Path string containing segments seperated by '/'. For example: "A.B/C/D.E/Func1(NS.T,NS.T2)/P1". - - - - Initializes a new instance of the class. - - Path segments. - - - - Initializes a new instance of the class. - - Path segments. - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }. - - - - - Gets the kind of this expression. - - - - - Represents references to row types. - - - - - Represents references to EDM structured types. - - - - - When we see an entity container, we see if it has . - If it does, then we attach it to that schema, otherwise we attached to the first existing schema. - If there are no schemas, we create the one named "Default" and attach container to it. - - The entity container being processed. - - - - Represents a delegate for creating an instance of CLR type based on and . - The delegate can be used to create CLR instances of polymorphic types. - - The for which the needs to be created. - The expected CLR type of the object instance. In case of polymorphic properties and collections this may be a base type. - The converter instance calling this delegate. - The output parameter returning a CLR object instance created for the . - The output parameter returning true if all properties of the created are initialized. - False if properties of the created instance should be initialized using the default logic. - True if the delegate produced a desired . - If delegate returns false, the default logic will be applied to create and populate a CLR object instance. - - - - to CLR value converter. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The delegate customizing conversion of structured values. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The CLR type. - The EDM value to be converted. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The EDM value to be converted. - The CLR type. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Registers the corresponding to the . - All subsequent conversions from this performed by this instance of will return the specified - . Registration is required to support graph consistency and loops during conversion process. - This method should be called inside the delegate if the delegate is calling back into - in order to populate properties of the . - - The EDM value. - The CLR object. - - - - Converts to a CLR byte array value. - - The EDM value to be converted. - Converted byte array. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted string. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted boolean. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted char. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted byte. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted double. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted single. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted decimal. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTime. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted Time. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTimeOffset. - Exception is thrown if is not . - - - - Searches the for a property with the . - Handles the case of multiple properties with the same name (declared via C# "new") by choosing the one on the deepest derived type. - - The clr object type. - The property name. - The property or null. - - - - Used for error messages only. - - The EDM value. - The EDM value interface name. - - - - The class contains method that are called thru reflection to produce values of correct CLR types. - For example if one has an int value and a clr type represnting an enum : int, there is no other way to convert the int - to the enum type object. - - - - - Expression evaluator capable of producing CLR values. - - - - - Expression evaluator. - - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the target type. - - - - Represents a lazily computed value. - - - - - Gets the data stored in this value. - - - - - Represents a value of an EDM property. - - - - - Gets the name of the property this value is associated with. - - - - - Represents an EDM collection value. - - - - - Gets the values stored in this collection. - - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - The CLR type of the value to be returned. - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the targetType. - - - - Gets or sets an instance of that is used to produce CLR values during evaluation. - - - - - Contains IsEquivalentTo() extension methods. - - - - - Returns true if the compared type is semantically equivalent to this type. - Schema types () are compared by their object refs. - - Type being compared. - Type being compared to. - Equivalence of the two types. - - - - Returns true if the compared type reference is semantically equivalent to this type reference. - Schema types () are compared by their object refs. - - Type reference being compared. - Type referenced being compared to. - Equivalence of the two type references. - - - - Returns true if function signatures are semantically equivalent. - Signature includes function name () and its parameter types. - - Reference to the calling object. - Function being compared to. - Equivalence of signatures of the two functions. - - - - Returns true if the compared function parameter is semantically equivalent to this function parameter. - - Reference to the calling object. - Function parameter being compared to. - Equivalence of the two function parameters. - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Gets the element to which the annotation is attached - - - - - Gets the namespace URI of the annotation. - - - - - Gets the local name of this annotation. - - - - - Gets the value of this annotation. - - - - - Remembers the result of evaluating an expensive function so that subsequent - evaluations are faster. Thread-safe. - - Type of the argument to the function. - Type of the function result. - - - - Constructs the memoizer. - - Required. Function whose values are being cached. - Optional. Comparer used to determine if two functions arguments are the same. - - - - Evaluates the wrapped function for the given argument. If the function has already - been evaluated for the given argument, returns cached value. Otherwise, the value - is computed and returned. - - Function argument. - Function result. - - - - Encapsulates a 'deferred' result. The result is constructed with a delegate (must not - be null) and when the user requests a value the delegate is invoked and stored. - - - - - Represents an EDM navigation property info used during construction of navigation properties. - - - - - Clones this object. - - A copy of this object. - - - - Gets or sets the name of this navigation property. - - - - - Gets or sets the entity type that this navigation property belongs to. - - - - - Gets or sets multiplicity of the navigation target. - - - - - Gets or sets the dependent properties of the association this navigation property expresses. - - - - - Gets or sets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets or sets the action to take when an instance of the declaring type is deleted. - - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Creates a new navigation target mapping. - - The navigation property. - The entity set that the navigation propertion targets. - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents an EDM time constant. - - - - - Represents an EDM value. - - - - - Initializes a new instance of the EdmValue class. - - Type of the value. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Initializes a new instance of the class. - - Time value represented by this value. - - - - Initializes a new instance of the class. - - Type of the Time. - Time value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a name binding to more than one item. - - Type of the ambiguous element. - - - - Represents an EDM entity container. - - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Represents an EDM entity set. - - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents an EDM function. - - - - - Gets the defining expression of this function. - - - - - Represents a labeled expression binding to more than one item. - - - - - Gets the kind of this property. - - - - - Gets the type that this property belongs to. - - - - - Represents a name binding to more than one item. - - - - - Represents a name binding to more than one item. - - - - - Represents a reference to a semantically invalid EDM binary type. - - - - - Represents a reference to an EDM binary type. - - - - - Represents a reference to an EDM primitive type. - - - - - Represents a reference to an EDM type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to an EDM binary type. - - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Represents a semantically invalid EDM collection type. - - - - - Represents a semantically invalid EDM complex type definition. - - - - - Represents a semantically invalid EDM named structured type definition. - - - - - Represents a semantically invalid EDM structured type definition. - - - - - Represents a definition of an EDM complex type. - - - - - Represents a reference to an EDM complex type. - - - - - Represents references to EDM complex types. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to a semantically invalid EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - Scale of values with this type. - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Represents a semantically invalid EDM entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a semantically invalid EDM entity reference type. - - - - - Represents a definition of an EDM entity reference type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents a semantically invalid EDM entity set. - - - - - Represents a semantically invalid EDM entity type. - - - - - Represents a reference to an EDM entity type. - - - - - Represents references to entity types. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents a semantically invalid EDM enumeration type member. - - - - - Represents a semantically invalid EDM labeled expression. - - - - - Represents a semantically invalid EDM primitive type definition. - - - - - Represents a definition of an EDM primitive type. - - - - - Gets the primitive kind of this type. - - - - - Represents a reference to a semantically invalid EDM primitive type. - - - - - Gets the kind of this value. - - - - - Represents a semantically invalid EDM property. - - - - - Represents a semantically invalid EDM row type. - - - - - Represents a definition of an EDM row type. - - - - - Represents a reference to a semantically invalid EDM spatial type. - - - - - Represents a reference to an EDM spatial type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Spatial Reference Identifier for the spatial type being created. - - - - Gets the precision of this temporal type. - - - - - Represents a reference to a semantically invalid EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - Denotes if string is encoded using Unicode. - Indicates the collation string to be used by the underlying store. - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Represents a reference to a semantically invalid EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Gets the precision of this temporal type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - - - - Gets the precision of this temporal type. - - - - - Represents an EDM complex type that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity container that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity type that cannot be determined due to a cyclic reference. - - - - - Provides a dictionary that is thread safe by virtue of being immutable. - Any update returns a new dictionary (which, for efficiency, may share some of the state of the old one). - - Key type of the dictionary. - Value type of the dictionary. - - - - Provides a list that is thread safe by virtue of being immutable. - "Mutating" operations return a new list (which, for efficiency, may share some of the state of the old one). - - Element type of the list. - - - - Provides an approximately-balanced binary search tree that is thread safe by virtue of being immutable. - Updates return a new tree (which, for efficiency, may share some state with the old one). - - Key type of the tree. - Value type of the tree. - - - - Initializes a new instance of VersioningTree. - - The key of the tree node. - The value of the tree node. - A tree with all keys less than the key of the tree node. May be null. - A tree with all keys greater than the key of the tree node. May be null. - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the local name of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - Type of the annotation value. - - - - Common base class for all named EDM elements. - - - - - Initializes a new instance of the class. - - Name of the element. - - - - Gets the name of this element. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Value of the annotation - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Defines an object as a location of itself. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the object. - - - - - Collection of extension methods to assert that an expression is of the required type. - - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - The context paths are to be evaluated in. - A value indicating whether the expression must match the asserted type exactly, or simply be compatible. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Contains ToTraceString() extension methods. - - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Represents an EDM enumeration type value. - - - - - Gets the underlying type value of the enumeration type. - - - - - Represents references to EDM enumeration types. - - - - - Represents an EDM value term reference expression. - - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Defines EDM term kinds. - - - - - Represents a term with unknown or error kind. - - - - - Represents a term implementing and . - - - - - Represents a term implementing . - - - - - Represents an EDM structured value. - - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Defines Edm values - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value with an unknown or error kind. - - - - - Defines EDM expression kinds. - - - - - Represents an expression with unknown or error kind. - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing - - - - - Constants for CSDL XML. - - - - - The local name of the annotation that stores EDMX version of a model. - - - - - Version 1.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2007/06/edmx". - - - - - Version 2.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2008/10/edmx". - - - - - Version 3.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2009/11/edmx". - - - - - The current latest version of EDMX. - - - - - Represents a CSDL annotation. - - - - - Represents a CSDL association. - - - - - Represents a CSDL association end. - - - - - Represents a CSDL association set. - - - - - Represents a CSDL association set end. - - - - - Represents a reference to a CSDL Binary type. - - - - - Represents a CSDL complex type. - - - - - Common base class for CSDL entity and complex types. - - - - - Common base class for CSDL entity, complex, and row Types. - - - - - Represents a reference to a CSDL decimal type. - - - - - Represents a CSDL documentation. - - - - - Represents a CSDL entity container. - - - - - Represents a CSDL entity reference type. - - - - - Represents a CSDL Entity Set. - - - - - Represents a CSDL entity type. - - - - - Represents a CSDL type reference based on a type expression. - - - - - Represents a CSDL function. - - - - - Represents a base class for CSDL functions and function imports. - - - - - Represents a CSDL function import. - - - - - Represents a CSDL function parameter. - - - - - Represents a CSDL key. - - - - - Represents a CSDL model. - - - - - Represents a CSDL navigation property. - - - - - Represents a CSDL "on delete" action. - - - - - Represents a CSDL property. - - - - - Represents a CSDL property reference. - - - - - Represents a CSDL referential constraint. - - - - - Represents a CSDL referential constraint role. - - - - - Represents a CSDL row type. - - - - - Represents a CSDL schema. - - - - - Represents a reference to a CSDL String type. - - - - - Represents a reference to a CSDL temporal type. - - - - - Represents a CSDL Using. - - - - - Base class for parsers of XML documents - - - - - CSDL document parser. - - - - - Provides for the loading and conversion of one or more CSDL XML readers into Entity Data Model. - - - - - Provides semantics for a CsdlAssociation. - - - - - Provides semantics for a CsdlAssociationEnd. - - - - - Provides semantics for a CsdlAssociationSet. - - - - - Provides semantics for a CsdlAssociationSetEnd. - - - - - Provides the semantics of a reference to an EDM Binary type. - - - - - Provides semantics for CsdlComplexType. - - - - - Provides semantics for CsdlStructuredType. - - - - - Provides the semantics of a reference to an EDM Decimal type. - - - - - Provides semantics for CsdlDocumentation. - - - - - Represents an EDM documentation. - - - - - Gets a summary of this documentation. - - - - - Gets a long description of this documentation. - - - - - Provides semantics for CsdlEntityContainer. - - - - - Provides semantics for CsdlEntityTypeReference. - - - - - Provides semantics for CsdlEntitySet. - - - - - Provides semantics for CsdlEntityType. - - - - - Provides semantics for a CsdlFunction. - - - - - Provides semantics for a CsdlFunctionParameter. - - - - - Represents a parameter of an EDM function. - - - - - Gets the type of this function parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this function parameter. - - - - - Provides semantics for CsdlMetadataModel. - - - - - Represents an EDM model. - - - - - Semantic representation of an EDM model. - - - This interface, and all interfaces reachable from it, preserve certain invariants: - -- The backing implementation of an element can be loaded or created on demand. - -- No direct element mutation occurs through the interfaces. - - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Initializes a new instance of the class. - - Models to which this model refers. - Annotations manager for the model to use. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for a function with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A group of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the base type. - - - - Adds a schema element to this model. - - The element to register. - - - - Adds a model reference to this model. - - The model to reference. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Searches for an association with the given name in this model and returns null if no such association exists. - - The qualified name of the type being found. - The requested association, or null if no such type exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Gets an error if one exists with the current object. - - - - - Provides semantics for a CsdlNavigationProperty. - - - - - Represents an EDM navigation property. - - - - - Gets the partner of this navigation property. - - - - - Gets the action to execute on the deletion of this end of a bidirectional association. - - - - - Gets whether this navigation property originates at the principal end of an association. - - - - - Gets the dependent properties of this navigation property, returning null if this is the principal end or if there is no referential constraint. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Represents a semantically invalid EDM association end. - - - - - Represents a navigation property synthesized for an association end that does not have a corresponding navigation property. - - - - - Represents a name binding to more than one item. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Initializes a new instance of the class. - - Property that is given a value by the annotation. - Expression producing the value of the annotation. - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM type annotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - - - - Gets the element the annotation applies to. - - - - - Gets the term bound by the annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Gets the value annotations for the properties of the type. - - - - - Represents an EDM value annotation. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Expression producing the value of the annotation. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Expression producing the value of the annotation. - - - - Gets the expression producing the value of the annotation. - - - - - Represents a semantically invalid EDM association. - - - - - Represents a member of an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The type that declares this member. - Name of this enumeration member. - Value of this enumeration member. - - - - Gets the type that this member belongs to. - - - - - Gets the value of this enumeration type member. - - - - - Represents the definition of an Edm enumeration type. - - - - - Represents the definition of an EDM type. - - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets the kind of this type. - - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Adds a new member to this enum type. - - The member to add. - - - - Creates and adds a new member to this enum type. - - Name of the member. - Value of the member. - Created member. - - - - Gets the kind of this type. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this enumeration type. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Represents an EDM enumeration member reference expression. - - - - - Initializes a new instance of the class. - - Referenced enum member. - - - - Gets the referenced enum member. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression reference expression. - - - - - Initializes a new instance of class with non-initialized property. - - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmLabeledExpressionReferenceExpression instance has been constructed. - - Referenced labeled element. - - - - Gets or sets the referenced labeled element. - The referenced labeled element can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM null. - - - - - Singleton instance. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM parameter reference expression. - - - - - Initializes a new instance of the class. - - Referenced parameter - - - - Gets the referenced parameter. - - - - - Gets the kind of this expression. - - - - - Represents information about an EDM function that failed to resolve. - - - - - Represents an EDM enumeration type value. - - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The enumeration type value. - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The underlying type value. - - - - Gets the underlying type value of the enumeration type. - - - - - Gets the kind of this value. - - - - - Represents an EDM binary constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM boolean constant. - - - - - Initializes a new instance of the class. - - Boolean value represented by this value. - - - - Initializes a new instance of the class. - - Type of the boolean. - Boolean value represented by this value. - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime constant. - - - - - Initializes a new instance of the class. - - DateTime value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTime. - DateTime value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime with offset constant. - - - - - Initializes a new instance of the class. - - DateTimeOffset value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTimeOffset. - DateTimeOffset value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM decimal constant. - - - - - Initializes a new instance of the class. - - Decimal value represented by this value. - - - - Initializes a new instance of the class. - - Type of the decimal. - Decimal value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a reference to an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents an EDM value term reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - Qualifier. - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Gets the kind of this expression. - - - - - Represents an EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Declared type of the record. - Property constructors. - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Optional declared type of the record. - Property constructors. - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM property constructor specified as part of a EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property name. - Property value. - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced property. - Referenced property. - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type test expression. - - - - - Initializes a new instance of the class. - - Expression whose type is to be tested. - Type to test. - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Gets the kind of this expression. - - - - - Represents an EDM if expression. - - - - - Initializes a new instance of the class. - - Test expression - Expression to evaluate if evaluates to true. - Expression to evaluate if evaluates to false. - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function reference expression. - - - - - Initializes a new instance of the class. - - Referenced function - - - - Gets the referenced function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression. - - - - - Initializes a new instance of the class. - - Label of the expression. - Underlying expression. - - - - Gets the label. - - - - - Gets the underlying expression. - - - - - Gets the expression kind. - - - - - Represents an EDM multi-value construction expression. - - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Gets the declared type of the collection. - - - - - Gets the constructed element values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type assertion expression. - - - - - Initializes a new instance of the class. - - Expression for which the type is asserted. - Type to assert. - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Gets the kind of this expression. - - - - - Represents an EDM floating point constant. - - - - - Initializes a new instance of the class. - - Floating point value represented by this value. - - - - Initializes a new instance of the class. - - Type of the floating point. - Floating point value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM guid constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM value term. - - - - - Initializes a new instance of class. - The new value term will be of the nullable primitive . - - Namespace of the term. - Name of the term. - Type of the term. - - - - Initializes a new instance of the class. - - Namespace of the term. - Name of the term. - Type of the term. - - - - Gets the namespace of this term. - - - - - Gets the kind of this term. - - - - - Gets the type of this term. - - - - - Gets the schema element kind of this term. - - - - - Represents a definition of an EDM collection type. - - - - - Initializes a new instance of the class. - - The type of the elements in this collection. - - - - Gets the kind of this type. - - - - - Gets the element type of this collection type. - - - - - Represents a reference to an EDM collection type. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents an EDM collection value. - - - - - Initializes a new instance of the class. - - A reference to a collection type that describes this collection value - The collection of values stored in this collection value - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - Provides semantics for a CsdlProperty. - - - - - Provides semantics for a CsdlReferentialConstraint. - - - - - Provides semantics for CsdlRowType. - - - - - Provides semantics for CsdlSchema. - - - - - All of the labeled expressions in a schema are collected into a dictionary so that references to them can be bound. - The elements of the dictionary are Csdl objects and not CsdlSemantics objects because the semantics objects are not created - until and unless necessary. - - A dictionary containing entries for all labeled expressions in the schema. - - - - Gets the labeled element expressions dictionary. - Each value in the dictionary is either a or a list of same. - - - - - Provides the semantics of a reference to an EDM String type. - - - - - Provides the semantics of a reference to an EDM temporal type. - - - - - Contains extension methods for interfaces. - - - - - Gets the value for the EDM version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDM version attribute of the . - - The model the version should be set for. - The version. - - - - Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. - - The model to search. - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and all referenced models and returns null if no such value term exists. - - The model to search. - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist. - - The model to search. - The qualified name of the functions being found. - The requested functions. - - - - Searches for an entity container with the given name in this model and all referenced models and returns null if no such entity container exists. - - The model to search. - The qualified name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets the entity containers belonging to this model. - - Model to search for entity containers. - Entity containers belonging to this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element (or, if the element is a type, to its base types) by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation that exists on the element. Otherwise, null. - - - - Sets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation to set. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value from an annotatable element. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - The requested annotation, if it exists. Otherwise, null. - - Strongly-typed wrappers for unnamed annotations keyed by CLR type. - - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The model containing the annotation. - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - Value of the new annotation. - - - - Gets all schema elements from the model, and models referenced by it. - - Model to search for elements - Schema elements from the model, and models referenced by it. - - - - Finds a list of types that derive from the supplied type directly or indirectly, and across models. - - The model types are being found on. - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Sets an annotation value on an annotatable element. - - Type of the annotation being set. - The model containing the annotation. - The annotated element. - Value of the new annotation. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The model in which to find the annotations. - The set of requested annotations. - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The model in which to set the annotations. - The annotations to set. - - - - Gets the direct value annotations for an element. - - The model containing the annotations. - The annotated element. - The immediate value annotations of the element. - - - - Gets the location of this element. - - Reference to the calling object. - The location of the element. - - - - Gets an annotatable element's vocabulary annotations as seen from a particular model. - - Reference to the calling object. - Model to check for annotations. - Annotations attached to the element by the model or by models referenced by the model. - - - - Gets the full name of the element. - - Reference to the calling object. - The full name of the element. - - - - Returns entity sets belonging to an IEdmEntityContainer. - - Reference to the calling object. - Entity sets belonging to an IEdmEntityContainer. - - - - Returns function imports belonging to an IEdmEntityContainer. - - Reference to the calling object. - Function imports belonging to an IEdmEntityContainer. - - - - Gets the type kind of the type references definition. - - Reference to the calling object. - The type kind of the reference. - - - - Gets the full name of the definition referred to by the type reference. - - Reference to the calling object. - The full name of this references definition. - - - - Gets the definition of this primitive type reference. - - Reference to the calling object. - Definition of this primitive type reference. - - - - Gets the primitive kind of the definition referred to by this type reference. - - Reference to the calling object. - Primitive kind of the definition of this reference. - - - - Gets all properties of the structured type definition and its base types. - - Reference to the calling object. - Properties of this type. - - - - Gets all structural properties declared in the IEdmStructuredTypeDefinition. - - Reference to the calling object. - All structural properties declared in the IEdmStructuredTypeDefinition. - - - - Gets the structural properties declared in this type definition and all base types. - - Reference to the calling object. - The structural properties declared in this type definition and all base types. - - - - Gets the definition of this structured type reference. - - Reference to the calling object. - The definition of this structured type reference. - - - - Returns true if the definition of this reference is abstract. - - Reference to the calling object. - If the definition of this reference is abstract. - - - - Returns true if the definition of this reference is open. - - Reference to the calling object. - If the definition of this reference is open. - - - - Returns the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference. - - Reference to the calling object. - All structural properties declared in the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference and all its base types. - - Reference to the calling object. - All structural properties declared in the definition of this reference and all its base types. - - - - Finds a property from the definition of this reference. - - Reference to the calling object. - Name of the property to find. - The requested property if it exists. Otherwise, null. - - - - Gets the base type of this entity type definition. - - Reference to the calling object. - The base type of this entity type definition. - - - - Gets the navigation properties declared in this entity definition. - - Reference to the calling object. - The navigation properties declared in this entity definition. - - - - Get the navigation properties declared in this entity type and all base types. - - Reference to the calling object. - The navigation properties declared in this entity type and all base types. - - - - Gets the declared key of the most defined entity with a declared key present. - - Reference to the calling object. - Key of this type. - - - - Checks whether the given entity type has the as one of the key properties. - - Given entity type. - Property to be searched for. - true if the type or base types has given property declared as key. false otherwise. - - - - Gets the definition of this entity reference. - - Reference to the calling object. - The definition of this entity reference. - - - - Gets the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets the entity key of the definition of this reference. - - Reference to the calling object. - The entity key of the definition of this reference. - - - - Gets the navigation properties declared in the definition of this reference and its base types. - - Reference to the calling object. - The navigation properties declared in the definition of this reference and its base types. - - - - Gets the navigation properties declared in the definition of this reference. - - Reference to the calling object. - The navigation properties declared in the definition of this reference. - - - - Finds a navigation property declared in the definition of this reference by name. - - Reference to the calling object. - Name of the navigation property to find. - The requested navigation property if it exists. Otherwise, null. - - - - Gets the base type of this references definition. - - Reference to the calling object. - The base type of this references definition. - - - - Gets the definition of this reference typed as an IEdmComplexTypeDefinition. - - Reference to the calling object. - The definition of this reference typed as an IEdmComplexTypeDefinition. - - - - Gets the base type of this reference. - - Reference to the calling object. - The base type of this reference. - - - - Gets the definition of this entity reference type reference. - - Reference to the calling object. - The definition of this entity reference type reference. - - - - Gets the entity type referred to by the definition of this entity reference type reference. - - Reference to the calling object. - The entity type referred to by the definition of this entity reference type reference. - - - - Gets the definition of this collection reference. - - Reference to the calling object. - The definition of this collection reference. - - - - Gets the element type of the definition of this collection reference. - - Reference to the calling object. - The element type of the definition of this collection reference. - - - - Gets the definition of this enumeration reference. - - Reference to the calling object. - The definition of this enumeration reference. - - - - Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. - - Reference to the calling object. - The multiplicity of this end of the relationship. - - - - Gets the entity type targeted by this navigation property. - - Reference to the calling object. - The entity type targeted by this navigation property. - - - - Gets the entity type declaring this navigation property. - - Reference to the calling object. - The entity type that declares this navigation property. - - - - Gets the definition of this row type reference. - - Reference to the calling object. - The definition of this row type reference. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Name of the property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the value term of this value annotation. - - Reference to the calling object. - The value term of this value annotation. - - - - Analyzes .EntitySet expression and returns a static reference if available. - - The function import containing the entity set expression. - The static entity set of the function import. - True if the entity set expression of the contains a static reference to an , otherwise false. - - - - Analyzes .EntitySet expression and returns a relative path to an if available. - The path starts with the and may have optional sequence of and type casts segments. - - The function import containing the entity set expression. - The model containing the function import. - The function import parameter from which the relative entity set path starts. - The optional sequence of navigation properties. - True if the entity set expression of the contains a relative path an , otherwise false. - - - - Finds a property of a record expression. - - The record expression. - Name of the property to find. - The property, if found, otherwise null. - - - - This method is only used for the function import entity set path parsing. - - The type of the segment. - Non-null entity type that may be bad. - - - - Provides CSDL serialization services for EDM models. - - - - - Outputs a CSDL artifact to the provided writer. - - Model to be written. - XmlWriter the generated CSDL will be written to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Outputs a CSDL artifact to the provided writers. - - Model to be written. - A delegate that takes in a schema namespace name and returns an XmlWriter to write the schema to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Provides CSDL parsing services for EDM models. - - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Model to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Models to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Enumerates the kinds of Edm Primitives. - - - - - Represents a primitive type of unknown kind. - - - - - Represents a Binary type. - - - - - Represents a Boolean type. - - - - - Represents a Byte type. - - - - - Represents a DateTime type. - - - - - Represents a DateTimeOffset type. - - - - - Represents a Decimal type. - - - - - Represents a Double type. - - - - - Represents a Guid type. - - - - - Represents a Int16 type. - - - - - Represents a Int32 type. - - - - - Represents a Int64 type. - - - - - Represents a SByte type. - - - - - Represents a Single type. - - - - - Represents a String type. - - - - - Represents a Stream type. - - - - - Represents a Time type. - - - - - Represents an arbitrary Geography type. - - - - - Represents a geography Point type. - - - - - Represents a geography LineString type. - - - - - Represents a geography Polygon type. - - - - - Represents a geography GeographyCollection type. - - - - - Represents a geography MultiPolygon type. - - - - - Represents a geography MultiLineString type. - - - - - Represents a geography MultiPoint type. - - - - - Represents an arbitrary Geometry type. - - - - - Represents a geometry Point type. - - - - - Represents a geometry LineString type. - - - - - Represents a geometry Polygon type. - - - - - Represents a geometry GeometryCollection type. - - - - - Represents a geometry MultiPolygon type. - - - - - Represents a geometry MultiLineString type. - - - - - Represents a geometry MultiPoint type. - - - - - Enumerates the EDM property concurrency modes. - - - - - Denotes a property that should be used for optimistic concurrency checks. - - - - - Denotes a property that should not be used for optimistic concurrency checks. - - - - - Provides a caching mechanism for semantic properties. - - Type of the element that contains the cached property - Type of the cached property - - - - Helper for Cache class. - - - - - Defines EDM container element types. - - - - - Represents an element where the container kind is unknown or in error. - - - - - Represents an element implementing . - - - - - Represents an element implementing . - - - - - Enumerates the modes of parameters of EDM functions. - - - - - Denotes that a parameter with an unknown or error directionality. - - - - - Denotes that a parameter is used for input. - - - - - Denotes that a parameter is used for output. - - - - - Denotes that a parameter is used for input and output. - - - - - Enumerates the multiplicities of EDM navigation properties. - - - - - The Multiplicity of the association end is unknown. - - - - - The Multiplicity of the association end is zero or one. - - - - - The Multiplicity of the association end is one. - - - - - The Multiplicity of the association end is many. - - - - - Enumerates the actions EDM can apply on deletes. - - - - - Take no action on delete. - - - - - On delete also delete items on the other end of the association. - - - - - Defines EDM property types. - - - - - Represents a property implementing . - - - - - Represents a property implementing . - - - - - Represents a property with an unknown or error kind. - - - - - Defines EDM schema element types. - - - - - Represents a schema element with unknown or error kind. - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing - - - - - Defines EDM metatypes. - - - - - Represents a type with an unknown or error kind. - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Interface describing anything that can be depended upon in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can be dependent on a dependency trigger in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can have cached data that might need flushing. - - - - - Represents a definition of an EDM complex type. - - - - - Common base class for definitions of EDM structured types. - - - - - Initializes a new instance of the class. - - Denotes a structured type that cannot be instantiated. - Denotes if the type is open. - Base type of the type - - - - Adds the to this type. - of the must be this type. - - The property being added. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Flag specifying if the property is nullable. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - The default value of this property. - The concurrency mode of this property. - Created structural property. - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Computes the the cached dictionary of properties for this type definition. - - Dictionary of properties keyed by their name. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the base type of this type. - - - - - Gets a dictionary of the properties in this type definition for faster lookup. - - - - - Initializes a new instance of the class. - - The namespace this type belongs to. - The name of this type within its namespace. - - - - Initializes a new instance of the class. - Note: Complex type inheritance is not supported in EDM version 3.0 and above. - - The namespace this type belongs to. - The name of this type within its namespace. - The base type of this complex type. - Denotes whether this complex type is abstract. - - - - Gets the schema element kind of this element. - - - - - Gets the namespace of this element. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the kind of this term. - - - - - Represents an EDM documentation. - - - - - Initializes a new instance of the class. - - Summary of the documentation. - The documentation contents. - - - - Gets summary of this documentation. - - - - - Gets documentation. - - - - - Represents an EDM entity container. - - - - - Initializes a new instance of the class. - - Namespace of the entity container. - Name of the entity container. - - - - Adds an entity container element to this entity container. - - The element to add. - - - - Creates and adds an entity set to this entity container. - - Name of the entity set. - The entity type of the elements in this entity set. - Created entity set. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - Created function import. - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Gets the namespace of this entity container. - - - - - Gets the name of this entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a definition of an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The entity referred to by this entity reference. - - - - Gets the kind of this type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents an EDM entity set. - - - - - Initializes a new instance of the class. - - An containing this entity set. - Name of the entity set. - The entity type of the elements in this entity set. - - - - Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this entity set. - - The navigation property the target is being set for. - The destination entity set of the specified navigation property. - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the kind of element of this container element. - - - - - Gets the container of this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents a definition of an EDM entity type. - - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Creates and adds a unidirectional navigation property to this type. - Default partner property is created, but not added to the navigation target type. - - Information to create the navigation property. - Created navigation property. - - - - Creates and adds a unidirectional navigation property to this type. - Navigation property partner is created, but not added to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates and adds a navigation property to this type and adds its navigation partner to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - The puspose of this method is to make sure that some of the fields are set to valid partner defaults. - For example if .Target is null, it will be set to this entity type. If .TargetMultiplicity - is unknown, it will be set to 0..1, etc. - Whenever this method applies new values to , it will return a copy of it (thus won't modify the original). - If is null, a new info object will be produced. - - Primary navigation property info. - Partner navigation property info. May be null. - Partner info. - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the term kind of the entity type. - - - - - Represents an EDM function. - - - - - Represents a base class for EDM functions and function imports. - - - - - Initializes a new instance of the class. - - The name of the function. - The return type of the function. - - - - Searches for a parameter with the given name in this function and returns null if no such parameter exists. - - The name of the parameter to be found. - The requested parameter, or null if no such parameter exists. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Created parameter. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Mode of the parameter. - Created parameter. - - - - Adds a parameter to this function (as the last parameter). - - The parameter being added. - - - - Gets the return type of this function. - - - - - Gets the parameters of this function. - - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - Defining expression of the function (for example an eSQL expression). - - - - Gets the defining expression of this function. - - - - - Gets the element kind of this function, which is always Function. - - - - - Gets the namespace of this function. - - - - - Represents an EDM function import. - - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - - - - Initializes a new instance of class. - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Gets the kind of this function, which is always FunctionImport. - - - - - Gets the container of this function. - - - - - Represents an EDM function parameter. - - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - Mode of the parameter. - - - - Gets the type of this parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this parameter. - - - - - Represents an EDM model. - - - - - Initializes a new instance of the class. - - - - - Adds a model reference to this model. - - The model to reference. - - - - Adds a schema element to this model. - - Element to be added. - - - - Adds a collection of schema elements to this model. - - Elements to be added. - - - - Adds a vocabulary annotation to this model. - - The annotation to be added. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Represents an EDM navigation property. - - - - - Represents an EDM property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - Type of the property. - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the kind of this property. - - - - - Creates two navigation properties representing an association between two entity types. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates two navigation properties representing an association between two entity types. - - Navigation property name. - Type of the navigation property. - Dependent properties of the navigation source. - A value indicating whether the navigation source logically contains the navigation target. - Action to take upon deletion of an instance of the navigation source. - Navigation partner property name. - Type of the navigation partner property. - Dependent properties of the navigation target. - A value indicating whether the navigation target logically contains the navigation source. - Action to take upon deletion of an instance of the navigation target. - Navigation property. - - - - Gets the kind of this property. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets the dependent properties of the association this navigation property expresses. - - - - - Gets a value indicating whether this navigation property is from the principal end of the association. - - - - - Gets the entity type that this navigation property belongs to. - - - - - Gets the action to take when an instance of the declaring type is deleted. - - - - - Gets the partner of this navigation property. - - - - - Represents an EDM integer constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a value of an EDM property. - - - - - Initializes a new instance of the class with non-initialized property. - This constructor allows setting property once after has been constructed. - - Name of the property for which this provides a value. - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmPropertyValue instance has been constructed. - - Name of the property for which this provides a value. - Value of the property. - - - - Gets the name of the property for which this provides a value. - - - - - Gets or sets the value of the property. - The value can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - The default value of this property. - The concurrency mode of this property. - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Gets the kind of this property. - - - - - Represents a definition of an EDM row type. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this type. - - - - - Represents an EDM string constant. - - - - - Initializes a new instance of the class. - - String value represented by this value. - - - - Initializes a new instance of the class. - - Type of the string. - String value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM structured value. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Child values of this value. - - - - Retrieves the value corresponding to the given property name. Returns null if no such value exists. - - The property that describes the value being found. - The requested value, or null if no such value exists. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Represents an EDM annotation with an immediate native value. - - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - The namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents information about an EDM type definition that failed to resolve. - - - - - Represents a reference to an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The definition referred to by this reference. - Denotes whether the type can be nullable. - - - - Gets the entity reference definition to which this type refers. - - - - - Contains constant values that apply to the EDM model, regardless of source (for CSDL/EDMX specific constants see ). - - - - - The URI of annotations that will be serialized as documentation elements. - - - - - The local name of annotations that will be serialized as documentation elements. - - - - - The URI of annotations that are internal and will not be serialized. - - - - - The local name of the annotation that stores the data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores the max data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores EDM version of a model. - - - - - Version 1.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2006/04/edm". - - - - - Version 1.1 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2007/05/edm". - - - - - Version 1.2 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2008/01/edm". - - - - - Version 2.0 of EDM. Corresponds to CSDL namespaces "http://schemas.microsoft.com/ado/2008/09/edm" and "http://schemas.microsoft.com/ado/2009/08/edm". - - - - - Version 3.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2009/11/edm". - - - - - The current latest version of EDM. - - - - - This is a marker interface for core model elements that do not require validation. - - - - - Provides predefined declarations relevant to EDM semantics. - - - - - The default core EDM model. - - - - - Gets a reference to a non-atomic collection type definition. - - Type of elements in the collection. - A new non-atomic collection type reference. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets primitive type by kind. - - Kind of the primitive type. - Primitive type definition. - - - - Gets the EdmPrimitiveTypeKind by the type name. - - Name of the type to look up. - EdmPrimitiveTypeKind of the type. - - - - Gets a reference to a primitive type of the specified kind. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int16 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int32 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int64 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Boolean primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Byte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the SByte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Guid primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to a datetime primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime type reference. - - - - Gets a reference to a datetime with offset primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime with offset type reference. - - - - Gets a reference to a time primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new time type reference. - - - - Gets a reference to a decimal primitive type definition. - - Precision of values of this type. - Scale of values of this type. - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a decimal primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a single primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a double primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a stream primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new stream type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Precision of values of this type. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if max length is unbounded. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Spatial Reference Identifier for the spatial type being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a string primitive type definition. - - Flag specifying if max length is the maximum allowable value. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the type should support unicode encoding. - String representing how data should be ordered. - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Gets a reference to a binary string type definition. - - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Gets the namespace of this core model. - - - - - Gets the types defined in this core model. - - - - - Gets the vocabulary annotations defined in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Gets the kind of this type. - - - - - Represents a reference to an EDM row type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Provides semantics of the predefined EDM types. - - - - - Returns true if this reference refers to a collection. - - Type reference. - This reference refers to a collection. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to a complex type. - - Type reference. - This reference refers to a complex type. - - - - Returns true if this reference refers to an enumeration type. - - Type reference. - This reference refers to an enumeration type. - - - - Returns true if this reference refers to a row type. - - Type reference. - This reference refers to a row type. - - - - Returns true if this reference refers to a structured type. - - Type reference. - This reference refers to a structured type. - - - - Returns true if this type kind represents a structured type. - - Reference to the calling object. - This kind refers to a structured type. - - - - Returns true if this reference refers to a primitive type. - - Type reference. - This reference refers to a primitive type. - - - - Returns true if this reference refers to a binary type. - - Type reference. - This reference refers to a binary type. - - - - Returns true if this reference refers to a boolean type. - - Type reference. - This reference refers to a boolean type. - - - - Returns true if this reference refers to a temporal type. - - Type reference. - This reference refers to a temporal type. - - - - Returns true if this type kind represents a temporal type. - - Reference to the calling object. - This kind refers to a temporal type. - - - - Returns true if this reference refers to a DateTime type. - - Type reference. - This reference refers to a DateTime type. - - - - Returns true if this reference refers to a time type. - - Type reference. - This reference refers to a time type. - - - - Returns true if this reference refers to a DateTimeOffset type. - - Type reference. - This reference refers to a DateTimeOffset type. - - - - Returns true if this reference refers to a decimal type. - - Type reference. - This reference refers to a decimal type. - - - - Returns true if this reference refers to a floating point type. - - Type reference. - This reference refers to a floating point type. - - - - Returns true if this reference refers to a single type. - - Type reference. - This reference refers to a single type. - - - - Returns true if this reference refers to a double type. - - Type reference. - This reference refers to a double type. - - - - Returns true if this reference refers to a GUID type. - - Type reference. - This reference refers to a GUID type. - - - - Returns true if this reference refers to a signed integral type. - - Type reference. - This reference refers to a signed integral type. - - - - Returns true if this reference refers to an SByte type. - - Type reference. - This reference refers to an SByte type. - - - - Returns true if this reference refers to an Int16 type. - - Type reference. - This reference refers to an Int16 type. - - - - Returns true if this reference refers to an Int32 type. - - Type reference. - This reference refers to an Int32 type. - - - - Returns true if this reference refers to an Int64 type. - - Type reference. - This reference refers to an Int64 type. - - - - Returns true if this reference refers to an integer type. - - Type reference. - This reference refers to an integer type. - - - - Returns true if this primitive type kind represents an integer type. - - Type reference. - This kind refers to an integer type. - - - - Returns true if this reference refers to a byte type. - - Type reference. - This reference refers to a byte type. - - - - Returns true if this reference refers to a string type. - - Type reference. - This reference refers to a string type. - - - - Returns true if this reference refers to a stream type. - - Type reference. - This reference refers to a stream type. - - - - Returns true if this reference refers to a spatial type. - - Type reference. - This reference refers to a spatial type. - - - - Returns true if this definition refers to a spatial type. - - Type reference. - This definition refers to a spatial type. - - - - Returns true if this type kind represents a spatial type. - - Type reference. - This kind refers to a spatial type. - - - - If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference. - - Reference to the calling object. - A valid primitive type reference if the definition of the reference is of a primitive type. Otherwise a bad primitive type reference. - - - - If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference. - - Reference to the calling object. - A valid collection type reference if the definition of the reference is of a collection type. Otherwise a bad collection type reference. - - - - If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference. - - Reference to the calling object. - A valid structured type reference if the definition of the reference is of a structured type. Otherwise a bad structured type reference. - - - - If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference. - - Reference to the calling object. - A valid enumeration type reference if the definition of the reference is of an enumeration type. Otherwise a bad enumeration type reference. - - - - If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference. - - Reference to the calling object. - A valid entity type reference if the definition of the reference is of an entity type. Otherwise a bad entity type reference. - - - - If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference. - - Reference to the calling object. - A valid entity reference type reference if the definition of the reference is of an entity reference type. Otherwise a bad entity reference type reference. - - - - If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference. - - Reference to the calling object. - A valid complex type reference if the definition of the reference is of a complex type. Otherwise a bad complex type reference. - - - - If this reference is of a row type, this will return a valid row type reference to the type definition. Otherwise, it will return a bad row type reference. - - Reference to the calling object. - A valid row type reference if the definition of the reference is of a row type. Otherwise a bad row type reference. - - - - If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference. - - Reference to the calling object. - A valid spatial type reference if the definition of the reference is of a spatial type. Otherwise a bad spatial type reference. - - - - If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference. - - Reference to the calling object. - A valid temporal type reference if the definition of the reference is of a temporal type. Otherwise a bad temporal type reference. - - - - If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference. - - Reference to the calling object. - A valid decimal type reference if the definition of the reference is of a decimal type. Otherwise a bad decimal type reference. - - - - If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference. - - Reference to the calling object. - A valid string type reference if the definition of the reference is of a string type. Otherwise a bad string type reference. - - - - If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference. - - Reference to the calling object. - A valid binary type reference if the definition of the reference is of a binary type. Otherwise a bad binary type reference. - - - - Returns the primitive kind of the definition of this reference. - - Reference to the calling object. - The primitive kind of the definition of this reference. - - - - Returns a reference to this row type definition. - - Reference to the calling object. - Flag specifying if the referenced type should be nullable. - A reference to this row type definition. - - - - Determines if the potential base type is in the inheritance hierarchy of the type being tested. - - Type to be tested for derivation from the other type. - The potential base type of the type being tested. - True if and only if the type inherits from the potential base type. - - - - Determines if a type is equivalent to or derived from another type. - - Type to be tested for equivalence to or derivation from the other type. - Type that is the other type. - True if and only if the thisType is equivalent to or inherits from otherType. - - - - Represents a reportable error in EDM - - - - - Initializes a new instance of the EdmError class. - - The location where the error occurred. - An integer code representing the error. - A human readable message describing the error. - - - - Gets a string representation of the error. - - A string representation of the error. - - - - Gets the location of the error in the file in which it occurred. - - - - - Gets an integer code representing the error. - - - - - Gets a human readable string describing the error. - - - - - Collection of validation methods. - - - - - Validate the and all of its properties using the current version of the model. - If the model has no version, is used. - - The root of the model to be validated. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Version of Edm to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Custom rule set to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - This is a thread-safe cache of object type to interface visitors which is shared between all instances of the validator. - - - - - Context that records errors reported by validation rules. - - - - - Method returns true if the is known to have structural errors associated with it. - - The element to test. - True if the has structural errors associated with it. - - - - Register an error with the validation context. - - Location of the error. - Value representing the error. - Message text discribing the error. - - - - Register an error with the validation context. - - Error to register. - - - - Gets the model being validated. - - - - - Contains IsBad() and Errors() extension methods. - - - - - Returns true if this element contains errors returned by the method. - - Reference to the calling object. - This element is an invalid element. - - - - Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. - The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. - - Reference to the calling object. - Any errors that belong to this element or elements that element contains. - - - - Gets the errors, if any, that belong to this type reference or its definition. - - The type reference. - Any errors that belong to this type reference or its definition. - - - - Built in Edm validation rules. - - - - - Validates that no direct value annotations share the same name and namespace. - - - - - Validates that a name is not empty or whitespace. - - - - - Validates that an element name is not too long according to the CSDL spec. - - - - - Validates that an element name matches the allowed pattern of names according to the CSDL spec. - - - - - Validates that an element namespace is not empty or whitespace. - - - - - Validates that an element namespace is not too long according to the CSDL spec. - - - - - Validates that an element namespace matches the allowed pattern of namespaces according to the CSDL spec. - - - - - Validates that an element namespace is not a reserved system namespace. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - Validates that there are no duplicate names in an entity container. - - - - - Validates that there is no entity set whose entity type has no key. - - - - - Validates that the entity type of an entity set can be found from the model being validated. - - - - - Validates that an entity set can only have a single navigation property targetting it that has Contains set to true. - - - - - Validates that if a navigation property is traversed to another entity set, and then the navigation properties partner is traversed, the destination will be the source entity set. - - - - - Validates an association set's name is correct - - - - - Validates that no navigation property is mapped to two different entity sets. - - - - - Validates that if a navigation property mapping is of recursive containment, the mapping points back to the source entity set. - - - - - Validates that the target of a navigation property mapping is valid for the target type of the property. - - - - - Validates that a type does not have a property with the same name as that type. - - - - - Validates that there are not duplicate properties in a type. - - - - - Validates that the base type of a complex type is complex, and the base type of an entity type is an entity. - - - - - Validates that the base type of a structured type can be found from the model being validated. - - - - - Validates that the declaring type of a property contains that property. - - - - - Open types are supported only in version 1.2 and after version 2.0. - - - - - Open types are supported only on entity types. - - - - - Raises an error if an enum type is found. - - - - - Validates that there are not duplicate enum members in an enum. - - - - - Raises an error if the underlying type of an enum type is not an integer type. - - - - - Raises an error if the type of an enum member doesn't match the underlying type of the enum it belongs to. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that no part of an entity key is nullable. - - - - - Validates that all parts of an entity key are scalar. - - - - - Validates that no part of an entity key is a binary primitive type. - - - - - Validates that a key is not defined if there is already a key in the base type. - - - - - Validates that the entity type has a key. - - - - - Validates that all properties in the key of an entity blong to that entity. - - - - - Validates that the entity type wrapped in this entity reference can be found through the model being validated. - - - - - A type without other errors must not have kind of none. - - - - - A primtive type without other errors must not have kind of none. - - - - - Validates that a complex type is not abstract. - - - - - Validates that a complex type does not inherit. - - - - - Validates that a complex type contains at least one property. - - - - - Validates that a row type does not have a base type. - - - - - Validates that a row type contains at least one property. - - - - - Validates that any property with a complex type is not nullable. - - - - - Validates that the property is of an allowed type. - - - - - Validates that if the concurrency mode of a property is fixed, the type is primitive. - - - - - Validates that only one end of an association has an OnDelete operation. - - - - - Validates that the type of a navigation property corresponds to the other end of the association and the multiplicity of the other end. - - - - - Validates that the dependent properties of a navigation property contain no duplicates. - - - - - Validates multiplicity of the principal end: - 0..1 - if some dependent properties are nullable, - 1 - if some dependent properties are not nullable. - * - not allowed. - - - - - Validates that if the dependent properties are equivalent to the key of the dependent end, the multiplicity of the dependent end cannot be 1 - Validates multiplicity of the dependent end according to the following rules: - 0..1, 1 - if dependent properties represent the dependent end key. - * - if dependent properties don't represent the dependent end key. - - - - - Validates that all dependent properties of a navigation property belong to the dependent entity type. - - - - - Validates that all dependent properties are a subset of the dependent entity types key. - - - - - Validates that the navigation property does not have both a multiplicity of many and an OnDelete operation. - - - - - Validates that is not set prior to V3. - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the target of navigation is 0..1 or Many. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Validates that if an entity does not directly contain itself, it cannot contain itself through a containment loop. - - - - - Validates that each pair of properties between the dependent properties and the principal ends key are of the same type. - - - - - Validates that an association name is valid. - - - - - Validates that an association end name is valid. - - - - - A property without other errors must not have kind of none. - - - - - Raises an error if a function is found. - - - - - Validates that no function parameters are output parameters. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that if a function import specifies an entity or collection of entities as its return type, it must also specify an entity set. - - - - - Validates that the entity set of a function import is defined using a path or an entity set reference expression. - - - - - Validates that the return type of a function import must match the type of the entity set of the function. - - - - - Validates that if a function import is composable, it must have a return type. - - - - - Validates that the type of a function imports parameter is correct. - - - - - Validates that a function import is not sideeffecting. - - - - - Validates that a function import is not composable. - - - - - Validates that a function is not bindable. - - - - - Validates that if a function is composable, it is not also sideeffecting. - - - - - Validates that if a function is bindable, it must have parameters. - - - - - Validates that no function import parameters have mode of none. - - - - - Validates that a function does not have multiple parameters with the same name. - - - - - Validates that a type reference refers to a type that can be found through the model being validated. - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - Validates that the scale is between 0 and the precision of the decimal type. - - - - - Validates that the precision is between 0 and the max precision of the decimal type. - - - - - Validates that the max length of a string is not negative. - - - - - Validates that IsUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the max length of a binary type is not negative. - - - - - Validates that isUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the precision is between 0 and the max precision of the temporal type. - - - - - Validates every schema element in the current model (except for entity containers) is unique across all referenced models. - - - - - Validates every schema element in the current model is unique across all referenced models. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that an immediate value annotation has a name and a namespace. - - - - - Validates that an immediate value annotation that is flagged to be serialized as an element can be serialized safely. - - - - - Validates that the name of a direct value annotation can safely be serialized as XML. - - - - - Vocabulary annotations are not supported before EDM 3.0. - - - - - Validates that a vocabulary annotations target can be found through the model containing the annotation. - - - - - Validates that if a value annotation declares a type, the expression for that annotation has the correct type. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a type annotation implements its term type properly. - - - - - Validates that the value of a property value binding is the correct type. - - - - - Value terms are not supported before EDM 3.0. - - - - - A term without other errors must not have kind of none. - - - - - Validates that an if expression has a boolean condition. - - - - - Validates that all properties of a collection expression are of the correct type. - - - - - Validates that if a value record expression declares a type, the property types are correct. - - - - - Validates the types of a function application are correct. - - - - - Validates that there are no annotations that share the same term and qualifier. - - - - - Validates that if a primitive value declares a type, the value is acceptable for the type. - - - - - A semantic validation rule. - - - - - A validation rule that is valid for a specific type. - - Type that the rule is valid for. - - - - Initializes a new instance of the ValidationRule class. - - Action to perform the validation. - - - - A set of rules to run during validation. - - - - - Initializes a new instance of the ValidationRuleSet class. - - Ruleset whose rules should be contained in this set. - Additional rules to add to the set. - - - - Initializes a new instance of the ValidationRuleSet class. - - Rules to be contained in this ruleset. - - - - Gets the default validation ruleset for the given version. - - The EDM version being validated. - The set of rules to validate that the model conforms to the given version. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - EdmLib validation error codes - - - - - Invalid error code - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - An exception was thrown by the underlying xml reader. - - - - - Encountered an XML node that was never used - - - - - Encountered an XML attribute that was never used - - - - - Encountered an XML element that was never used - - - - - Text was found in a location it was not allowed in - - - - - An empty file was provided to the parser - - - - - An XML element was missing a required attribute - - - - - Invalid Name - - - - - An XML attribute or element representing EDM type is missing. - - - - - Element name is already defined in this context. - - - - - The specified version number is not valid. - - - - - Malformed boolean value. - - - - - The property contains an error. - - - - - The type of this property is invalid for the given context. - - - - - Precision out of range - - - - - Scale out of range - - - - - Name is too long. - - - - - The provided association is invalid - - - - - Navigation property contains errors. - - - - - Entity key is invalid. - - - - - The value of the property must not be null. - - - - - An object with an interface kind property does not implement the interface corresponding to the value of that property. - For example this error will be reported for an object that implements interface with kind property reporting .Entity, - but does not implement interface. - - - - - The value of an interface kind property is not semantically valid. A semantically valid model must not contain elements of kind 'None'. - - - - - An enumeration property must not contain null elements. - - - - - The value of the enum type property is out of range. - - - - - If property P1 is a navigation property and P2 is its parnter, then partner property of P2 must be P1. - - - - - A chain of base types is cyclic. - - - - - Multiplicity value was malformed - - - - - The value for the Action attribute is invalid or not allowed in the current context - - - - - An error occured processing the OnDelete element - - - - - No complex type with that name exists. - - - - - The extent name used in the EntittyContainerType End does not match the name of any of the EntityContainerProperties in the containing EntityContainer - - - - - Function import specifies an entity set expression which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties. - - - - - The target entity set must be able to hold an entity that is valid for the navigation property of a mapping. - - - - - Invalid role value in the relationship constraint - - - - - Invalid Property in relationship constraint - - - - - Type mismatch between ToProperty and FromProperty in the relationship constraint - - - - - Invalid multiplicty of the principal end of a navigation. - - - - - The number of properties in the FromProperty and ToProperty in the relationship constraint must be identical - - - - - Invalid multiplicty of the dependent end of a navigation. - - - - - Open types are supported only in version 1.2 and after version 2.0. Only entity types can be open. - - - - - Vocabulary annotations are not supported before EDM 3.0 - - - - - Same role referred in the ToRole and FromRole of a referential constraint - - - - - Properties that are part of entity key must be of scalar type - - - - - Binary type properties which are part of entity key are currently supported before V2.0 - - - - - End with * multiplicity cannot have operations specified - - - - - EntitySet type has no keys - - - - - ConcurrencyMode value was malformed - - - - - Conurency can't change for any sub types of an EntitySet type. - - - - - In version 1.0 function import can have no return type or return a collection of scalars or a collection of entities. - In all other versions function import can have no return type or return a scalar, a complex type, an entity type or a collection of those. - - - - - Composable function import cannot be side-effecting. - - - - - Function import specifies entity type return but no entity set. - - - - - Function import specifies entity type that does not derive from element type of entity set. - - - - - Function import specifies a binding to an entity set but does not return entities. - - - - - A composable function import must have return type. - - - - - Same Entity Set Taking part in the same role of the relationship set in two different relationship sets - - - - - Entity key refers to the same property twice - - - - - Nullable complex Type not supported in version 1.0 and 2.0. - - - - - No Key defined on Entity Type - - - - - Need not specify system namespace in using - - - - - Invalid qualification specified for type - - - - - The value for an enumeration type member is ouf of range. - - - - - The entity container name has already been assigned to a different entity container. - - - - - Complex types were not allowed to be abstract here. - - - - - Complex types cannot have base types in this version. - - - - - A navigation property without direct containment cannot contain its declaring entity indirectly. - - - - - If a navigation property mapping is of a recursive navigation property, the mapping must point back to the same entity set. - - - - - Name collision makes this name ambiguous. - - - - - Could not find a type with this name. - - - - - Could not find a primitive type with this name. - - - - - This complex type is part of a cycle. - - - - - This Entity Container is bad because some part of its extends hierarchy is part of a cycle. - - - - - This entity type is part of a cycle. - - - - - Could not convert type reference to the requested type. - - - - - This entity set became invalid because the entity that it was of the type of was removed from the model. - - - - - Could not find an EntityContainer with that name. - - - - - Could not find an EntitySet with that name. - - - - - Could not find a property with that name - - - - - Could not find an association end with that name - - - - - Type of the navigation property was invalid because the association of the navigation property was invalid. - - - - - The base type of an entity must also be an entity. - - - - - The base type of a complex type must also be complex. - - - - - Could not find a function with this name. - - - - - Rows cannot have base types. - - - - - The role of an association set end must be an association end belonging to the association type that defines the associaiton set. - - - - - Every property in an entity key must be a property of the entity. - - - - - The principal end of a referential constraint must be one of the ends of the association that defined the referential constraint. - - - - - Dependent properties of a referential constraint must belong to the dependent entity set. - - - - - If a structured type declares a property, that properties declaring type must be the declaring structured type. - - - - - Functions are not supported before version 2.0. - - - - - Value terms are not supported before EDM 3.0 - - - - - Navigation property has a type that is not an entity or collection of entities. - - - - - Underlying type of the enumeration type is bad because the enumeration type is bad. - - - - - The type of the entity set on this association end is inconsistent with the association end. - - - - - Only function parameters with mode of In are allowed in function imports. - - - - - Complex types must contain at least one property. - - - - - Unsupported function import parameter type. - - - - - A row type must contain at least one property. - - - - - A referential constraint cannot have multiple dependent properties with the same name. - - - - - Bindable function import must have at least one parameter. - - - - - Function imports with side-effecting setting are not supported before version 3.0. - - - - - Function imports with composable setting are not supported before version 3.0. - - - - - Function imports with bindable setting are not supported before version 3.0. - - - - - Max length is out of range. - - - - - Binding context for Path expression does not supply an entity type - - - - - Invalid value for SRID - - - - - Invalid value for max length - - - - - Invalid value for long - - - - - Invalid value for integer - - - - - Invalid association set - - - - - Invalid parameter mode - - - - - No entity type with that name exists. - - - - - Value is invalid - - - - - Binary value is invalid. - - - - - Floating point value is invalid. - - - - - DateTime value is invalid. - - - - - DateTimeOffset value is invalid. - - - - - Decimal value is invalid. - - - - - Guid value is invalid. - - - - - The type kind None is not semantically valid. A semantically valid model must not contain elements of type kind None. - - - - - The if expression is invalid because it does not have 3 elements. - - - - - Enums were present in a model with a version below 3.0 - - - - - The type of an enum member value must match the underlying of the parent enum. - - - - - The IsType expression is invalid because it does not have 1 element. - - - - - The type name is not fully qualified and not a primitive. - - - - - The term name is not fully qualified. - - - - - No model was parsed because no XmlReaders were provided. - - - - - Model could not be parsed because one of the XmlReaders was null. - - - - - IsUnbounded cannot be true if MaxLength is non-null. - - - - - ImmediateValueAnnotation is invalid as an element annotation. - - - - - The LabeledElement expression is invalid because it does not have 1 element. - - - - - Could not find a LabeledElement with that name - - - - - Could not find a enum member with that name - - - - - The AssertType expression is invalid because it does not have 1 element. - - - - - Could not find a Parameter with that name - - - - - A navigation property with = true must point to an optional target. - - - - - If a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - - - - - If a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Navigation properties with setting are not supported before version 3.0. - - - - - The annotation target path cannot possibly refer to an annotable element. - - - - - A nullable type is not valid if a non-nullable type is required. - - - - - The expression is a primitive constant, and cannot be valid for an non-primitive type. - - - - - The primitive type is not valid for the requested type. - - - - - Null is not valid in a non nullable expression. - - - - - The expression is not valid for the asserted type. - - - - - A collection expression is not valid for a non-collection type. - - - - - A record expression is not valid for a non-structured type. - - - - - The record expression does not have all of the properties required for the specified type. - - - - - The record expression's type is not open, but the record expression has extra properties. - - - - - Target has multiple annotations with the same term and same qualifier. - - - - - Function application has wrong number of arguments for the function being applied. - - - - - Is it invalid to have multiple using statements with the same alias in a single schema element. - - - - - A model cannot be serialized to CSDL if it has references to types without fully qualified names. - - - - - The model could not be serialized because multiple schemas were produced and only a single output stream was found. - - - - - The Edmx version is not valid. - - - - - The EdmVersion is not valid. - - - - - Nothing was written because no schemas were produced. - - - - - Model has multiple entity containers with the same name. - - - - - The container name of a container element must be the full name of the container entity container. - - - - - A primitive constant expression is not valid for a non-primitive type. - - - - - The value of the integer constant is out of range for the asserted type. - - - - - The length of the string constant is too large for the asserted type. - - - - - The length of the binary constant is too large for the asserted type. - - - - - None is not a valid mode for a function import parameter. - - - - - A type without other errors must not have kind of none. - - - - - A primitive type without other errors must not have kind of none. - - - - - A property without other errors must not have kind of none. - - - - - A term without other errors must not have kind of none. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - A binary value must have content. - - - - - There can only be a single navigation property mapping with containment that targets a particular entity set. - - - - - The navigation properties partner does not point back to the correct type. - - - - - An entity set can only have one navigation property with containment. - - - - - If a navigation property is traversed from an entity set, and then it's partner is traversed from the target of the first mapping, the destination should be the originating entity set. - - - - - There can only be a single mapping from a given EntitySet with a particular navigation property. - - - - - An entity set must have a mapping for all of the navigation properties in its element type. - - - - - Type annotation does not have a property binding for all required properties. - - - - - Type annotation has a property binding for a non-existant property and its type is not open. - - - - - Time value is invalid. - - - - - The primitive type is invalid. - - - - - An Enum type must have an underlying type of integer. - - - - - Could not find a term with this name. - - - - - The principal properties of a referential constraint must match the key of the referential constraint. - - - - - A direct value annotation with the same name and namespace already exists. - - - - - AssociationSetEnd cannot infer an entity set because no set exists of the given type. - - - - - AssociationSetEnd cannot infer an entity set because more than one set exists of the given type. - - - - - Invalid entity set path. - - - - - Invalid enum member path. - - - - - An annotation qualifier must be a simple name. - - - - - Enum type could not be resolved. - - - - - Could not find a target with this name. - - - - - Path cannot be resolved in the given context. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = EntityRes.GetString(EntityRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "Annotations in the 'Documentation' namespace must implement 'IEdmDocumentation', but '{0}' does not." - - - - - A string like "Annotation of type '{0}' cannot be interpreted as '{1}'." - - - - - A string like "Navigation target entity type must be '{0}'." - - - - - A string like "The type '{0}' could not be converted to be a '{1}' type." - - - - - A string like "The value writer cannot write a value of kind '{0}'." - - - - - A string like "Type '{0}' must have a single type annotation with term type '{1}'." - - - - - A string like "Type '{0}' must have a single value annotation with term '{1}'." - - - - - A string like "Element must have a single value annotation with term '{0}'." - - - - - A string like "Expression with kind '{0}' cannot be evaluated." - - - - - A string like "Function '{0}' is not present in the execution environment." - - - - - A string like "Path segment '{0}' has no binding in the execution environment." - - - - - A string like "Value fails to match type '{0}'." - - - - - A string like "The namespace '{0}' is a system namespace and cannot be used by non-system types. Please choose a different namespace." - - - - - A string like "The entity set '{0}' is based on type '{1}' that has no keys defined." - - - - - A string like "An end with the name '{0}' is already defined." - - - - - A string like "The key specified in entity type '{0}' is not valid. Property '{1}' is referenced more than once in the key element." - - - - - A string like "The complex type '{0}' is marked as abstract. Abstract complex types are only supported in version 1.1 EDM models." - - - - - A string like "The complex type '{0}' has a base type specified. Complex type inheritance is only supported in version 1.1 EDM models." - - - - - A string like "The key part '{0}' for type '{1}' is not valid. All parts of the key must be non nullable." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. All properties that are part of the entity key must be of primitive type." - - - - - A string like "The key usage is not valid. '{0}' cannot define keys because one of its base classes '{1}' defines keys." - - - - - A string like "The entity type '{0}' has no key defined. Define the key for this entity type." - - - - - A string like "The navigation property '{0}' is not valid. The role '{1}' is not defined in relationship '{2}'." - - - - - A string like "The navigation property '{0}'is not valid. The from role and to role are the same." - - - - - A string like "The navigation property type could not be determined from the role '{0}'." - - - - - A string like "The navigation property '{0}' cannot have 'OnDelete' specified since its multiplicity is '*'." - - - - - A string like "Each name and plural name in a relationship must be unique. '{0}' is already defined." - - - - - A string like "In relationship '{0}', the principal and dependent role of the referential constraint refers to the same role in the relationship type." - - - - - A string like "The principal navigation property '{0}' has an invalid multiplicity. Valid values for the multiplicity of a principal end are '0..1' or '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are non-nullable, the multiplicity of the principal end must be '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are nullable, the multiplicity of the principal end must be '0..1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties represent the dependent end key, the multiplicity of the dependent end must be '0..1' or '1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties don't represent the dependent end key, the the multiplicity of the dependent end must be '*'." - - - - - A string like "The properties referred by the dependent role '{0}' must be a subset of the key of the entity type '{1}'." - - - - - A string like "The types of all properties in the dependent role of a referential constraint must be the same as the corresponding property types in the principal role. The type of property '{0}' on entity '{1}' does not match the type of property '{2}' on entity '{3}' in the referential constraint '{4}'." - - - - - A string like "There is no property with name '{0}' defined in the type referred to by role '{1}'." - - - - - A string like "The principal end properties in the referential constraint of the association '{0}' do not match the key of the type referred to by role '{1}'." - - - - - A string like "The property '{0}' is of a complex type and is nullable. Nullable complex type properties are not supported in EDM versions 1.0 and 2.0." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a complex, a primitive or an enum type, or a collection of complex, primitive, or enum types." - - - - - A string like "The function import '{0}' cannot be composable and side-effecting at the same time." - - - - - A string like "The bindable function import '{0}' must have at least one parameter." - - - - - A string like "The return type is not valid in function import '{0}'. In version 1.0 a function import can have no return type or return a collection of scalar values or a collection of entities." - - - - - A string like "The return type is not valid in function import '{0}'. The function import can have no return type or return a scalar, a complex type, an entity type or a collection of those." - - - - - A string like "The function import '{0}' returns entities but does not specify an entity set." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot exist in the entity set '{2}' specified for the function import." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot be returned by the entity set path specified for the function import." - - - - - A string like "The function import '{0}' specifies an entity set expression of kind {1} which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set expression which is not valid. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set but does not return entities." - - - - - A string like "The composable function import '{0}' must specify a return type." - - - - - A string like "Each parameter name in a function must be unique. The parameter name '{0}' is already defined." - - - - - A string like "Each member name in an EntityContainer must be unique. A member with name '{0}' is already defined." - - - - - A string like "An element with the name '{0}' is already defined." - - - - - A string like "The member name '{0}' cannot be used in a type with the same name. Member names cannot be the same as their enclosing type." - - - - - A string like "Each property name in a type must be unique. Property name '{0}' is already defined." - - - - - A string like "The key property '{0}' must belong to the entity '{1}'." - - - - - A string like "The dependent property '{0}' must belong to the dependent entity '{1}'." - - - - - A string like "The property '{0}' cannot belong to a type other than its declaring type. " - - - - - A string like "The named type '{0}' could not be found from the model being validated." - - - - - A string like "The named type '{0}' is ambiguous from the model being validated." - - - - - A string like "The type of the navigation property '{0}' is invalid. The navigation target type must be an entity type or a collection of entity type. The navigation target entity type must match the declaring type of the partner property." - - - - - A string like "The target multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and it must have an optional target represented by a collection or a nullable entity type." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and the multiplicity of the navigation source must be zero or one." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is not the same as the target entity type, then the property represents a non-recursive containment and the multiplicity of the navigation source must be exactly one." - - - - - A string like "The mode of the parameter '{0}' in the function '{1}' is invalid. Only input parameters are allowed in functions." - - - - - A string like "The mode of the parameter '{0}' in the function import '{1}' is invalid." - - - - - A string like "The type '{0}' of parameter '{1}' is invalid. A function import parameter must be one of the following types: A simple type or complex type." - - - - - A string like "The complex type '{0}' is invalid. A complex type must contain at least one property." - - - - - A string like "The dependent property '{0}' of navigation property '{1}' is a duplicate." - - - - - A string like "A property with a fixed concurrency mode cannot be of type '{0}'. The property type must be a primitive type." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. Binary types are not allowed in entity keys before version 2.0." - - - - - A string like "The type of the value of enum member '{0}' must match the underlying type of the parent enum." - - - - - A string like "Each member name of an enum type must be unique. Enum member name '{0}' is already defined." - - - - - A string like "Cannot assert the nullable type '{0}' as a non-nullable type." - - - - - A string like "Cannot promote the primitive type '{0}' to the specified primitive type '{1}'." - - - - - A string like "The record expression does not have a constructor for a property named '{0}'." - - - - - A string like "The type of the record expression is not open and does not contain a property named '{0}'." - - - - - A string like "The annotated element '{0}' has multiple annotations with the term '{1}' and the qualifier '{2}'." - - - - - A string like "The function application provides '{0}' arguments, but the function '{1}' expects '{2}' arguments." - - - - - A string like "Each entity container name in a function must be unique. The name '{0}' is already defined." - - - - - A string like "The value of the string constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "The value of the binary constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "A term without other errors must not have kind of none. The kind of term '{0}' is none." - - - - - A string like "A schema element without other errors must not have kind of none. The kind of schema element '{0}' is none." - - - - - A string like "A property without other errors must not have kind of none. The kind of property '{0}' is none." - - - - - A string like "A primitive type without other errors must not have kind of none. The kind of primitive type '{0}' is none." - - - - - A string like "An entity container element without other errors must not have kind of none. The kind of entity container element '{0}' is none." - - - - - A string like "The entity set '{0}' should have only a single mapping for the property '{1}'." - - - - - A string like "The mapping of the entity set '{0}' and navigation property '{1}' is invalid because the navigation property mapping must have a mapping with the navigation property's partner that points back to the originating entity set. " - - - - - A string like "The entity set '{0}' is invalid because it is contained by more than one navigation property." - - - - - A string like "The type annotation is missing a binding for the property '{0}'." - - - - - A string like "They type of the type annotation is not open, and does not contain a property named '{0}'." - - - - - A string like "The underlying type of '{0}' is not valid. The underlying type of an enum type must be an integral type. " - - - - - A string like "The term '{0}' could not be found from the model being validated." - - - - - A string like "The target '{0}' could not be found from the model being validated." - - - - - A string like "An element already has a direct value annotation with the namespace '{0}' and name '{1}'." - - - - - A string like "The association set '{0}' cannot assume an entity set for the role '{2}' because there are no entity sets for the role type '{1}'." - - - - - A string like "The association set '{0}' must specify an entity set for the role '{2}' because there are multiple entity sets for the role type '{1}'." - - - - - A string like "Because the navigation property '{0}' is recursive, the mapping from the entity set '{1}' must point back to itself." - - - - - A string like "The navigation property '{0}' is invalid because it indirectly contains itself." - - - - - A string like "The path cannot be resolved in the given context. The segment '{0}' failed to resolve." - - - - - A string like "The entity set '{1}' is not a valid destination for the navigation property '{0}' because it cannot hold an element of the target entity type." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified name is not allowed: '{0}'." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified namespace name is not allowed: '{0}'." - - - - - A string like "The value of the property '{0}.{1}' must not be null." - - - - - A string like "The property '{0}.{1}' of type '{2}' has value '{3}' that is not a valid enum member." - - - - - A string like "An object with the value '{0}' of the '{1}.{2}' property must implement '{3}' interface." - - - - - A string like "An object implementing '{0}' interface has type definition of kind '{1}'. The type reference interface must match to the kind of the definition." - - - - - A string like "The value '{0}' of the property '{1}.{2}' is not semantically valid. A semantically valid model must not contain elements of kind '{0}'." - - - - - A string like "The value of the enumeration the property '{0}.{1}' contains a null element. Enumeration properties must not contain null elements." - - - - - A string like "The partner of the navigation property '{0}' must not be the same property, and must point back to the navigation property." - - - - - A string like "The chain of base types of type '{0}' is cyclic." - - - - - A string like "The function import '{0}' could not be serialized because its return type cannot be represented inline." - - - - - A string like "A referenced type can not be serialized with an invalid name. The name '{0}' is invalid." - - - - - A string like "The annotation can not be serialized with an invalid target name. The name '{0}' is invalid." - - - - - A string like "{0} does not contain a schema definition, or the XmlReader provided started at the end of the file." - - - - - A string like "Required schema attribute '{0}' is not present on element '{1}'." - - - - - A string like "The current schema element does not support text '{0}'." - - - - - A string like "The attribute '{0}' was not expected in the given context." - - - - - A string like "The schema element '{0}' was not expected in the given context." - - - - - A string like "Unused schema element: '{0}'." - - - - - A string like "Unexpected XML node type: {0}." - - - - - A string like "The element '{0}' was unexpected for the root element. The root element should be {1}." - - - - - A string like "The namespace '{0}' is invalid. The root element is expected to belong to one of the following namespaces: '{1}'." - - - - - A string like "The root element has no namespace. The root element is expected to belong to one of the following namespaces: '{0}'." - - - - - A string like "The alias '{0}' is not a valid simple name." - - - - - A string like "The delete action '{0}' is not valid. Action must be: 'None', 'Cascade', or 'Restrict'." - - - - - A string like "The association '{0}' is not valid. Associations must contain exactly two end elements." - - - - - A string like "The association set '{0}' is not valid. Association sets must contain at most two end elements." - - - - - A string like "The concurrency mode '{0}' is not valid. Concurrency mode must be: 'None', or 'Fixed'." - - - - - A string like "Parameter mode '{0}' is not valid. Parameter mode must be: 'In', 'Out', or 'InOut'." - - - - - A string like "There is no Role with name '{0}' defined in relationship '{1}'." - - - - - A string like "The multiplicity '{0}' is not valid. Multiplicity must be: '*', '0..1', or '1'." - - - - - A string like "The type name '{0}' is invalid. The type name must be that of a primitive type, a fully qualified name or an inline 'Collection' or 'Ref' type." - - - - - A string like "The qualified name '{0}' is invalid. A qualified name must have a valid namespace or alias, and a valid name." - - - - - A string like "'{0}' is not a valid entity set path." - - - - - A string like "'{0}' is not a valid enum member path." - - - - - A string like "The annotation target '{0}' could not be resolved because it cannot refer to an annotatable element." - - - - - A string like "The schema '{0}' contains the alias '{1}' more than once." - - - - - A string like "Unexpected {0} element while parsing Edmx. Edmx is expected to have at most one of 'Runtime' or 'DataServices' elements." - - - - - A string like "Encountered the following errors when parsing the EDMX document: \r\n{0}" - - - - - A string like "The value '{0}' is not a valid boolean. The value must be 'true' or 'false'." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 64 bit integer." - - - - - A string like "The value '{0}' is not a valid floating point value. " - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer or 'Max'." - - - - - A string like "The value '{0}' is not a valid SRID. The value must either be a 32 bit integer or 'Variable'." - - - - - A string like "The value '{0}' is not a valid Guid. " - - - - - A string like "The value '{0}' is not a valid decimal." - - - - - A string like "The value '{0}' is not a valid date time offset value." - - - - - A string like "The value '{0}' is not a valid date time value." - - - - - A string like "The value '{0}' is not a valid time value." - - - - - A string like "The value '{0}' is not a valid binary value. The value must be a hexadecimal string and must not be prefixed by '0x'." - - - - - A string like "Invalid multiplicity: '{0}'" - - - - - A string like "Invalid schema element kind: '{0}'" - - - - - A string like "Invalid type kind: '{0}'" - - - - - A string like "Invalid primitive kind: '{0}'" - - - - - A string like "Invalid container element kind: '{0}'" - - - - - A string like "Invalid edmx target: '{0}'" - - - - - A string like "Invalid function parameter mode: '{0}'" - - - - - A string like "Invalid concurrency mode: '{0}'" - - - - - A string like "Invalid property kind: '{0}'" - - - - - A string like "Invalid term kind: '{0}'" - - - - - A string like "Invalid expression kind: '{0}'" - - - - - A string like "The name '{0}' is ambiguous." - - - - - A string like "The type '{0}' could not be found." - - - - - A string like "The complex type '{0}' could not be found." - - - - - A string like "The entity type '{0}' could not be found." - - - - - A string like "The primitive type '{0}' could not be found." - - - - - A string like "The function '{0}' could not be found." - - - - - A string like "The function '{0}' could not be resolved because more than one function could be used for this application." - - - - - A string like "The function '{0}' could not be resolved because none of the functions with that name take the correct set of parameters." - - - - - A string like "The entity set '{0}' could not be found." - - - - - A string like "The entity container '{0}' could not be found." - - - - - A string like "The enum type '{0}' could not be found." - - - - - A string like "The enum member '{0}' could not be found." - - - - - A string like "The property '{0}' could not be found." - - - - - A string like "The parameter '{0}' could not be found." - - - - - A string like "The labeled element '{0}' could not be found." - - - - - A string like "The entity '{0}' is invalid because its base type is cyclic." - - - - - A string like "The complex type '{0}' is invalid because its base type is cyclic." - - - - - A string like "The entity container '{0}' is invalid because its extends hierarchy is cyclic." - - - - - A string like "The association end '{0}' could not be computed." - - - - - A string like "Conversion of EDM values to a CLR type with type code {0} is not supported." - - - - - A string like "Cannot initialize a property '{0}' on an object of type '{1}'. The property already has a value." - - - - - A string like "An EDM structured value contains multiple values for the property '{0}'. Conversion of an EDM structured value with duplicate property values is not supported." - - - - - A string like "Conversion of an EDM value of the type '{0}' to the CLR type '{1}' is not supported." - - - - - A string like "Conversion of an edm collection value to the CLR type '{0}' is not supported. EDM collection values can be converted to System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> or System.Collections.Generic.ICollection<T>." - - - - - A string like "The type '{0}' of the object returned by the TryCreateObjectInstance delegate is not assignable to the expected type '{1}'." - - - - - A string like "Unexpected primitive type kind." - - - - - A string like "The annotation must have non-null target." - - - - - A string like "An entity type or a collection of an entity type is expected." - - - - - A string like "An element with type 'None' cannot be used in a model." - - - - - A string like "An element with type 'None' cannot be used in an entity container." - - - - - A string like "Value has already been set." - - - - - A string like "Path segments must not contain '/' character." - - - - - A string like "An on delete action can only be specified on one end of an association." - - - - - A string like "The number of properties in the dependent and principal role in a relationship constraint must be exactly identical." - - - - - A string like "The base type kind of a structured type must be the same as its derived type." - - - - - A string like "Row types cannot have a base type." - - - - - A string like "Functions are not supported prior to version 2.0." - - - - - A string like "The 'SideEffecting' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Composable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Bindable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'ContainsTarget' setting of navigation properties is not supported before version 3.0." - - - - - A string like "The row type is invalid. A row must contain at least one property." - - - - - A string like "The scale value can range from 0 through the specified precision value." - - - - - A string like "Precision cannot be negative." - - - - - A string like "The max length facet specifies the maximum length of an instance of the string type. For unicode equal to 'true', the max length can range from 1 to 2^30, or if 'false', 1 to 2^31." - - - - - A string like "Max length can range from 1 to 2^31." - - - - - A string like "Enums are not supported prior to version 3.0." - - - - - A string like "Value terms are not supported prior to version 3.0." - - - - - A string like "Vocabulary annotations are not supported prior to version 3.0." - - - - - A string like "Open types are supported only in version 1.2 and after version 2.0." - - - - - A string like "Only entity types can be open types." - - - - - A string like "The string reference is invalid because if 'IsUnbounded' is true 'MaxLength' must be null." - - - - - A string like "The declared name and namespace of the annotation must match the name and namespace of its xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must have a well-formed xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be IEdmStringValue." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be a string representing an xml element with non-empty name and namespace." - - - - - A string like "Null value cannot have a non-nullable type." - - - - - A string like "The type of the expression is incompatible with the asserted type." - - - - - A string like "A collection expression is incompatible with a non-collection type." - - - - - A string like "A primitive expression is incompatible with a non-primitive type." - - - - - A string like "A record expression is incompatible with a non-structured type." - - - - - A string like "References to EDM stream type are not supported before version 3.0." - - - - - A string like "References to EDM spatial types are not supported before version 3.0." - - - - - A string like "The primitive expression is not compatible with the asserted type." - - - - - A string like "The value of the integer constant is out of range for the asserted type." - - - - - A string like "A type without other errors must not have kind of none." - - - - - A string like "The name is missing or not valid." - - - - - A string like "The namespace name is missing or not valid." - - - - - A string like "Single file provided but model cannot be serialized into single file." - - - - - A string like "Unknown Edm version." - - - - - A string like "Unknown Edmx version." - - - - - A string like "No CSDL is written because no schema elements could be produced. This is likely because the model is empty." - - - - - A string like "The source XmlReader does not contain a schema definition or started at the end of the file." - - - - - A string like "Associations may have at most one constraint. Multiple constraints were specified for this association." - - - - - A string like "An XML attribute or sub-element representing an EDM type is missing." - - - - - A string like "Referential constraints requires one dependent role. Multiple dependent roles were specified for this referential constraint." - - - - - A string like "Referential constraints requires one principal role. Multiple principal roles were specified for this referential constraint." - - - - - A string like "If expression must contain 3 operands, the first being a boolean test, the second being being evaluated if the first is true, and the third being evaluated if the first is false." - - - - - A string like "The IsType expression must contain 1 operand." - - - - - A string like "The AssertType expression must contain 1 operand." - - - - - A string like "The LabeledElement expression must contain 1 operand." - - - - - A string like "A model could not be produced because no XML readers were provided." - - - - - A string like "A model could not be produced because one of the XML readers was null." - - - - - A string like " There was a mismatch in the principal and dependent ends of the referential constraint." - - - - - A string like "The enumeration member value exceeds the range of its data type 'http://www.w3.org/2001/XMLSchema:long'." - - - - - A string like "The EDMX version specified in the 'Version' attribute does not match the version corresponding to the namespace of the 'Edmx' element." - - - - - A string like "The specified value of data service version is invalid." - - - - - A string like "The specified value of max data service version is invalid." - - - - - A string like "The same rule cannot be in the same rule set twice." - - - - - A string like "Conversion of an EDM structured value is supported only to a CLR class." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.OData.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.OData.dll deleted file mode 100644 index 4b5667446..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.OData.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.OData.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.OData.xml deleted file mode 100644 index 30ae9a735..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.OData.xml +++ /dev/null @@ -1,55563 +0,0 @@ - - - - Microsoft.Data.OData - - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance which does not URL-encode the resulting string. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Gets the literal formatter for URL constants which does not URL-encode the string. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Gets the url convention for the given entity container based on its vocabulary annotations. - - The model the entity container belongs to. - The container to get the url convention for. - The url convention of the container. - - - - Gets the url convention for the given user setting and type context. - - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The type context for the entry or feed being written. - The convention to use when generating URLs. - - - - Determines whether or not the annotation indicates the 'KeyAsSegment' url-convention. - - The annotation to check. - True if the annotation indicates the 'KeyAsSegment' url convention; false otherwise. - - - - Determines whether or not the value is 'KeyAsSegment'. - - The value to check. - True if the value is 'KeyAsSegment'.; false otherwise. - - - - Determines whether or not the term is the url-convention term. - - The term to check. - True if the term is the url-convention term.; false otherwise. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that knows how to bind binary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a BinaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Promote the left and right operand types - - the operator kind - the left operand - the right operand - - - - Retrieve SingleValueNode bound with given query token. - - the query token kind - the query token - the corresponding SingleValueNode - - - - Encapsulates the state of metadata binding. - TODO : finish moving fields from MetadataBinder here and see if anything can be removed. - - - - - The configuration used for binding. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Constructs a with the given . - - The configuration used for binding. - - - - The model used for binding. - - - - - The configuration used for binding. - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Internal class for storing all the configuration information about the URI parser. Allows us to flow these values around without passing an actual parser. - - - - - Model to use for metadata binding. - - - - - Absolute URI of the service root. - - - - The conventions to use when parsing URLs. - - - - Initializes a new instance of . - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - Class that knows how to bind CastTokens. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a DottedIdentifierBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a DottedIdentifierToken and it's parent node (if needed). - - Token to bind to metadata. - State of the Binding. - A bound node representing the cast. - - - Use this class to perform late-bound operations on data service entity sets. - This class was copied from the product. - - - MethodInfo for object DataServiceProviderMethods.GetValue(this object value, string propertyName). - - - MethodInfo for IEnumerable<T> DataServiceProviderMethods.GetSequenceValue(this object value, string propertyName). - - - MethodInfo for Convert. - - - MethodInfo for TypeIs. - - - Method info for string comparison - - - Method info for Bool comparison - - - Method info for Bool? comparison - - - Method info for Guid comparison - - - Method info for Guid? comparison - - - Method info for byte array comparison. - - - Method info for byte array comparison. - - - Gets a named value from the specified object. - Object to get value from. - describing the property whose value needs to be fetched. - The requested value. - - - Gets a named value from the specified object as a sequence. - Object to get value from. - describing the property whose value needs to be fetched. - expected result type - The requested value as a sequence; null if not found. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference type to check for. - True if value is-a type; false otherwise. - - - - Compares 2 strings by ordinal, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are equal; false otherwise. - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are not equal; false otherwise. - - - - Helper class for throwing exceptions during URI parsing. - - - - Creates a new "Resource Not Found" exception. - segment identifier information for which resource was not found. - A new exception to indicate the requested resource cannot be found. - - - Creates a new "Resource Not Found" exception. - Plain text error message for this exception. - A new exception to indicate the requested resource cannot be found. - - - Creates a new exception to indicate a syntax error. - A new exception to indicate a syntax error. - - - - Creates a new exception to indicate BadRequest error. - - Plain text error message for this exception. - A new exception to indicate a bad request error. - - - Checks the specific value for syntax validity. - Whether syntax is valid. - This helper method is used to keep syntax check code more terse. - - - Checks the specifid value for syntax validity. - Whether syntax is valid. - segment indentifier for which the resource was null. - This helper method is used to keep syntax check code more terse. - - - - A component for walking an expand tree and determining if the depth or number of items exceed user-specified limits. - - - - - The maximum depth of any expand tree being validated. - - - - - The maximum number of expand items allowed in any expand tree being validated, including leaf and non-leaf nodes. - - - - - The current count when validating a particular tree. - - - - - Initializes a new instance of . - - The maximum depth of an expand tree. - The maximum number of expanded items allowed in a tree. - - - - Validates the given tree against the user-specified limits. - - The expand tree to validate. - - - - Recursively ensures that the maximum count/depth are not exceeded by walking the tree. - - The expand tree to walk and validate. - The current depth of the tree walk. - - - - Component for parsing function parameters in both $filter/$orderby expressions and in paths. - - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for filter/orderby. - - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters for path. - - The function name to use in error messages. - The contents of the parentheses portion of the current path segment. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for path. - - The split parameters from the syntactic parsing step. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The token kind that marks the end of the parameters. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The type representing a parameter. - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The callback to use for individual parameter parsing. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The current expression parameterToken from the lexer. - The parameter value if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The type used to represent a parameter. - The token from the syntactic parsing step. - The configuration for the URI Parser. - The type that the parameter is expected to resolve to. - Callback to create the final parameter from the parsed value. - The parameter if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - A token to represent a raw function parameter value that has not yet been parsed further. - - - - - Base class for all lexical tokens of OData query. - - - - - Base class for all annotatable types in OData library. - - - - The map of annotationsAsArray keyed by type. - - - - Collection of custom instance annotations. - - - - Gets or sets the annotation by type. - The annotation of type T or null if not present. - The type of the annotation. - - - Sets an annotation of type T. - The annotation to set. - The type of the annotation. - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Get the annotation of type . If the annotation is not found, create a new - instance of the annotation and call SetAnnotation on it then return the newly created instance. - - The type of the annotation. - The annotation of type . - - - - Gets the custom instance annotations. - - The custom instance annotations. - - - - Sets the custom instance annotations. - - The new value to set. - - - - Check whether a given (non-null) instance is of the specified type (no sub-type). - - The (non-null) instance to test. - The type to check for. - True if the types match; otherwise false. - - - - Replace an existing annotation of type T or add a new one - if no annotation of type T exists. - - The type of the annotation. - The annotation to set. - - - - Remove the annotation of type T from the set of annotations (if such an annotation exists). - We only allow a single occurence of an annotation of type T. - - The type of the annotation to remove. - - - - Empty list of arguments. - - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Creates a RawFunctionParameterValue - - the raw text of this parameter value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the raw text of the value. - - - - - Gets the kind of this token - - - - - A token to represent a parameter alias in a function call. - - - - - Creates a FunctionParameterAliasToken - - the alias being used for the parameter. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the alias. - - - - - Gets the kind of this token - - - - - A token to represent a parameter to a function call. - - - - - get an empty list of parameters - - - - - The name of the parameter - - - - - The value of this parameter - - - - - Creates a FunctionParameterToken - - the name of this parameter - the syntactically parsed value - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the name of this parameter - - - - - Gets the syntactically parsed value of this token. - - - - - Gets the kind of this token - - - - - Node representing a semantically parsed parameter to a function. - - - - - Base class for all semantic metadata bound nodes. - - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the kind of this node. - - - - - Gets the kind of this node. - - - - - The name of this parameter - - - - - The semantically parsed value of this parameter - - - - - Creates a NamedFunctionParameterNode to represent a semantically parsed parameter to a function. - - the name of this function - the already semantically parsed value of this parameter. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - Gets the name of this parameter - - - - - Gets the semantically parsed value of this parameter. - - - - - Gets the kind of this node - - - - - Gets the kind of this node. - - - - - Settings used by . - - - - - Default recursive call limit for Filter - - - - - Default recursive call limit for OrderBy - - - - - Default tree depth for Select and Expand - - - - - Default limit for the path parser. - - - - - the recursive depth of the Syntactic tree for a filter clause - - - - - the maximum depth of the syntactic tree for an orderby clause - - - - - the maximum number of segments in a path - - - - - the maximum depth of the Syntactic or Semantic tree for a Select or Expand clause - - - - - Flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Whether use the behavior that the WCF DS Server had before integration. - - - - - The maximum depth of the tree that results from parsing $expand. - - - - - The maximum number of instances that can appear in the tree that results from parsing $expand. - - - - - Initializes a new instance of with default values. - - - - Specifies whether the WCF data services server behavior is enabled. - - - - Gets or sets the maximum depth of the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or sets the maximum number of instances that can appear in the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or Sets the maximum recursive depth for a select and expand clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets a flag that indicates Whether use the behavior that the WCF DS Server had before integration. - - - - - Gets or sets a flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Gets or Sets the limit on the maximum depth of the filter tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or sets the maximum recursive depth for an orderby clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets the limit on the maximum number of segments that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - Unlike Filter, OrderBy, and SelectExpand, this Limit is more concrete, and will - limit the segments to exactly the number that is specified... i.e. a limit of - 20 will throw if and only if there are more than 20 segments in the path. - - Throws if the input value is negative. - - - - Bind an entire Uri to Metadata. - - - - - The current state of the binding algorithm. - - - - - pointer to the metadata bind method. - - - - - Create a new ODataUriSemanticBinder to bind an entire uri to Metadata. - - the current state of the binding algorithm - pointer to the metadata bind method. - - - - Binds a . - - The query descriptor token to bind. - The bound query descriptor. - - - - Bind an inline count option - - The inline count option to bind. - the top level path - an InlineCountKind representing this inline count option - - - - Bind a select and expand option. - - A syntax tree containing the select and expand options to bind - the top level path - The configuration to use for binding. - a select expand clause bound to metadata - - - - Bind a top option - - a syntax tree containing the top option to bind - the range variable that iterates over the top level collection - the top level path - a nullable long representing this top option - - - - Bind a skip option - - a syntax tree containing the skip option - the range variable that iterates over the top level collection - the top level path. - a nullable long representing this skip option - - - - Bind an orderby option - - a syntac tree containing the orderby option - the range variable that iterates over the top level collection - the top level path - an OrderByClause representing this orderby option - - - - Bind a filter option - - a syntactic tree containing the filter option - the range variable that iterates over the top level collection. - A filter clause representing this filter option - - - - Helper class to help bind function overloads. - This is shared between path and filter/orderby function resolution. - - - - - Given a list of possible functions and a list of parameter names, choose a single function that exactly matches - the parameter names. If more than one function matches, throw. - - - Binding parameters will be ignored in this method. Only non-binding parameters are matched. - - The list of function imports to search. - The list of non-binding parameter names to match. - Name of the function. Only used for error strings. - A single function import that matches the parameter names exactly. - - - - Try to resolve a function from the given inputs. - - The identifier of the function that we're trying to find - the names of the parameters to search for. - the type of the previous segment - the model to use to look up the function import - The single matching function found. - True if a function was matched, false otherwise. Will throw if the model has illegal function imports. - - - - Add semantic meaning to a Select or Expand token. - - - - - Add semantic meaning to a Select or Expand Token - - the top level entity type. - the top level entity set - the syntactically parsed expand token - the syntactically parsed select token - The configuration to use for parsing. - A select expand clause bound to metadata. - - - - Node to represent a function call that returns a Collection - - - - - Base class for all semantic metadata bound nodes which represent a composable collection of values. - - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - the name of this function - - - - - the list of function imports - - - - - the list of parameters provided to this function - - - - - the individual item type returned by this function - - - - - the collection type returned by this function - - - - - The semantically bound parent of this function. - - - - - Creates a CollectionFunctionCallNode to represent a function call that returns a collection - - The name of this function. - the list of function imports that this node should represent. - the list of already bound parameters to this function - the type of the collection returned by this function. - The parent of this CollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not a primitive or complex type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function. - - - - - Gets the list of function imports represeted by this node - - - - - Gets the list of parameters to this function - - - - - Gets the individual item type returned by this function - - - - - The type of the collection represented by this node. - - - - - Gets the semantically bound parent node of this CollectionFunctionCallNode. - - - - - Gets the kind of this node. - - - - - Translator that determines the entity set of a segment. - - - - - Translator interface for walking the Syntactic Tree. - - Generic type produced by the translator. - - - - Translate a TypeSegment - - the segment to Translate - Defined by the implementer - - - - Translate a NavigationPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate an EntitySetSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a KeySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a PropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a OperationSegment - - the segment to Translate - Defined by the implementer. - - - - Translate an OpenPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a CountSegment - - the segment to Translate - Defined by the implementer. - - - - Visit a NavigationPropertyLinkSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a ValueSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchReferenceSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a MetadataSegment - - the segment to Translate - Defined by the implementer. - - - - Determine the EntitySet of a NavigationPropertyLinkSegment - - The NavigationPropertyLinkSegment to look in. - The IEdmEntitySet of this NavigationPropertyLinkSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a TypeSegment - - The TypeSegment to look in. - The IEdmEntitySet of this TypeSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a NavigationPropertySegment - - The NavigationPropertySegment to look in. - The IEdmEntitySet of this NavigationPropertySegment - Throws if the input segment is null. - - - - Determine the EntitySet of an EntitySetSegment - - The EntitySetSegment to look in. - The IEdmEntitySet of this EntitySetSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a KeySegment - - The KeySegment to look in. - The IEdmEntitySet of this KeySegment - Throws if the input segment is null. - - - - Determine the EntitySet of a PropertySegment - - The PropertySegment to look in. - null, since a property doesn't necessarily have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of an OperationSegment - - The OperationSegment to look in. - The IEdmEntitySet of this OperationSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a CountSegment - - The CountSegment to look in. - null, since $count doesn't have an entitySet - Throws if the input segment is null. - - - - Determine the EntitySet of a OpenPropertySegment - - The OpenPropertySegment to look in. - null, since an OpenProperty doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a ValueSegment - - The ValueSegment to look in. - null, since $value doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchSegment - - The BatchSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchReferenceSegment - - The BatchReferenceSegment to look in. - The IEdmEntitySet of this BatchReferenceSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a MetadataSegment - - The MetadataSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Build a semantic tree for Expand based on an Expand syntactic tree. - - - - - The configuration used for binding. - - - - - The entity set at the current level expand. - - - - - The entity type at the current level expand. - - - - - Constructs a new ExpandBinder. - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Visit an ExpandToken - - the token to visit - a SelectExpand clause based on this ExpandToken - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Build a expand clause for a nested expand. - - A new SelectExpandClause. - - - - Generate an expand item based on an ExpandTermToken - - the expandTerm token to visit - the expand item for this expand term token. - - - - Build a new MetadataBinder to use for expand options. - - The entity set being expanded. - A new MetadataBinder ready to bind a Filter or Orderby clause. - - - - The model used for binding. - - - - - The top level entity type. - - - - - The top level entity set for this level. - - - - - The settings to use when binding. - - - - - The configuration used for binding. - - - - - Build an ExpandBinder based on global settings - - - - - Build an ExpandBinder based on global settings - - The entity type of the top level expand item. - The entity set of the top level expand item. - The configuration to use for binding. - An ExpandBinder strategy based on the global settings - - - - ExpandOption variant of an ExpandBinder, where the default selection item for a given level is based on the select at that level - instead of the top level select clause. If nothing is selected for a given expand in the ExpandOption syntax, then we by default - select all from that item, instead of selecting nothing (and therefore pruning the expand off of the tree). - - - - - Build the ExpandOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Interface for the SelectExpandTermParsing strategy - - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Lexer used to parse an expression. - - - - - are we parsing select. - - - - - the maximum allowable recursive depth. - - - - - The current recursion depth. - - - - - Create a SelectExpandTermParser - - the clause to parse - the maximum recursive depth - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Parses a select or expand term into a query token - - parsed query token - - - - Uses the ExpressionLexer to visit the next ExpressionToken, and delegates parsing of segments, type segments, identifiers, - and the star token to other methods. - - Previously parsed QueryToken, or null if this is the first token. - A parsed QueryToken representing the next part of the expression. - - - - Parses a segment; a expression that is followed by a slash. - - The parent of the segment node. - The lexical token representing the segment. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - The maximum recursive depth. - - - - - Build the ExpandOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token, and all available expand options. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Read a query option from the lexer. - - the query option as a string. - - - - Translator from the old expand syntax tree to the new Expand Option syntax tree - - - - - Normalize an expand syntax tree into the new ExpandOption syntax. - - the tree to normalize - a new tree, in the new ExpandOption syntax - - - - Invert the all of the paths in an expandToken, such that they are now in the same order as they are present in the - base url - - the tree to invert paths on - a new tree with all of its paths inverted - - - - Collapse all redundant terms in an expand tree - - the tree to collapse - A new tree with all redundant terms collapsed. - - - - Expand all the PathTokens in a particular term into their own separate terms. - - the term to expand - a new ExpandTermToken with each PathToken at its own level. - - - - add a new expandTermToken into an exisiting token, adding any additional levels and trees along the way. - - the exisiting (already expanded) token - the new (already expanded) token - the combined token, or, if the two are mutually exclusive, the same tokens - - - - Combine the child nodes of twoExpandTermTokens into one list of tokens - - the existing token to to - the new token containing terms to add - a combined list of the all child nodes of the two tokens. - - - - Add child options to a new dictionary - - the token with child nodes to add to the dictionary - dictionary to add child nodes to - - - - Adds the expand token to the dictionary or combines it with an existing or combines it with another existing token with an equivalent path. - - The combined terms dictionary. - The expanded term to add or combine. - - - - A set of extensions to for parsing literals. - - - - - Returns whether the is a primitive literal type: - Binary, Boolean, DateTime, Decimal, Double, Guid, In64, Integer, Null, Single, or String. - Internal for test use only - - InternalKind of token. - Whether the is a literal type. - - - Reads the next token, checks that it is a literal token type, converts to to a Common Language Runtime value as appropriate, and returns the value. - The expression lexer. - The value represented by the next token. - - - - Parses null literals. - - The expression lexer. - The literal token produced by building the given literal. - - - - Parses typed literals. - - The expression lexer. - Expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses a literal. - Precondition: lexer is at a literal token type: Boolean, DateTime, Decimal, Null, String, Int64, Integer, Double, Single, Guid, Binary. - - The expression lexer. - The literal query token or null if something else was found. - - - - Utilities needed by which are relatively simple and standalone. - - - - Suffix for single literals. - - - Suffix for single literals. - - - Whether the specified token identifier is a numeric literal. - Token to check. - true if it's a numeric literal; false otherwise. - - - - Checks if the is INF or NaN. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether equals to 'INF' - Internal for testing only - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Checks if the is INFf/INFF or NaNf/NaNF. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether EQUALS to 'INFf' or 'INFF'. - Internal for testing only. - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Class responsible for binding a syntactic filter expression into a bound tree of semantic nodes. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - State to use for binding. - - - - - Creates a FilterBinder. - - Method to use to visit the token tree and bind the tokens recursively. - State to use for binding. - - - - Binds the given filter token. - - The filter token to bind. - A FilterNode with the given path linked to it (if provided). - - - - Class that knows how to bind function call tokens. - - - - - Method to use for binding the parent node, if needed. - - - - - The names of functions that we don't bind to BuiltInFunctions - - - - - Constructs a FunctionCallBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Promotes types of arguments to match signature if possible. - - The signature to match the types to. - The types to promote. - - - - Checks that all arguments are SingleValueNodes - - The name of the function the arguments are from. - The arguments to validate. - Returns the types of the arguments provided. - - - - Finds the signature that best matches the arguments - - The name of the function - The types of the arguments - The signatures to match against - Returns the matching signature or throws - - - - Finds all signatures for the given function name. - - The function to get the signatures for. - The signatures which match the supplied function name. - - - - Binds the token to a SingleValueFunctionCallNode - - Token to bind - The current state of the binding algorithm - The resulting SingleValueFunctionCallNode - - - - Try to bind an end path token as a function call. Used for bound functions without parameters - that parse as end path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind an inner path token as a function call. Used for bound functions without parameters - that parse as inner path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind a as a function call. Used for container qualified functions without parameters. - - the dotted identifier token to bind - the semantically bound parent node for this dotted identifier - the current stat of the binding algorithm - a single value function call node representing the function call, if we found one. - true if we found a function for this token, false otherwise. - - - - Bind this function call token as a built in function - - the function call token to bidn - the current state of the binding algorithm - list of semantically bound arguments - A function call node bound to this function. - - - - Try to bind an identifier to a FunctionCallNode - - the identifier to bind - the semantically bound list of arguments. - a semantically bound parent node. - the current state of the binding algorithm - a single value function call node representing this funciton call, if we found one. - true if we found a function for this token. - - - - Determines whether this is a function that we don't bind to a BuiltInFunction - - name of the function - true if this is a function that we don't bind - - - - Build a SingleValueFunctionCallNode for a function that isn't bound to a BuiltInFunction - - original query token for this function - list of already bound query nodes for this function - The current state of the binding algorithm. - A single value function call node bound to this function. - - - - Validate the args list (adding the implicit range variable if necessary), and determine the correct return type for a cast function - - current binding state, used to get the implicit range variable if necessary - list of arguments, could be changed - the return type from this cast function - - - - Validate the arguments (adding the implicit range variable if necessary), and determine the correct return type - for an IsOf function - - the current state of the binding algorithm, used to get the implicit range variable if necessary - current list of args, can be changed - the correct return type for this function. - - - - Validate the arguments to either isof or cast - - the current state of the binding algorithm - flag to indicate which function we're validating - the list of arguments, which could be changed - the return type of the function. - - - - Try to get an IEdmTypeReference for a given type as a string, returns null if none exists - - the model for validation - the type name to find - an IEdmTypeReference for this type string. - - - - Implementation of IFunctionCallParser that allows functions calls and parses arguments with a provided method. - TODO : This implementation is incomplete. - - - - - Interface for a class that can parse an identifier as a function and return a representitive QueryToken. - - - - - Parses an identifier that represents a function. - - the syntactically bound parent of this identifier. - QueryToken representing this function. - - - - Reference to the lexer. - - - - - Reference to the lexer. - - - - - Method used to parse arguments. - - - - - Create a new FunctionCallParser. - - Lexer positioned at a function identifier. - Method to use for parsing individual arguments in the function. - - - - Parses an identifier that represents a function. - - Token for the parent of the function being parsed. - QueryToken representing this function. - - - - Parses argument lists. - - The lexical tokens representing the arguments. - - - - Parses comma-separated arguments. - - - Arguments can either be of the form a=1,b=2,c=3 or 1,2,3. - They cannot be mixed between those two styles. - - The lexical tokens representing the arguments. - - - - Read the list of arguments as a set of positional values - - A list of FunctionParameterTokens representing each argument - - - - Try to read the list of arguments as a set of named values - - the parsed list of arguments - true if the arguments were successfully read. - - - - Reference to the lexer. - - - - - Class that knows how to parse an identifier using an ExpressionLexer that is appropriately positioned. - - - - - Reference to the lexer. - - - - - parameters from the expression parser - - - - - Object to handle the parsing of things that look like function calls. - - - - - Parse an Identifier into the right QueryToken - - parameters passed in to the UriQueryExpressionParser - Object to use to handle parsing function calls. - - - - Parses identifiers. - - the syntactically bound parent of this identifier. - The lexical token representing the expression. - - - - Parses member access. - - Instance being accessed. - The lexical token representing the expression. - - - - Parses * (all member) access at the beginning of a select expression. - - Instance being accessed. - The lexical token representing the expression. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Visitor interface for walking the Path Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an SystemToken - - The SystemToken to visit - A user defined class - - - - Visit an NonSystemToken - - The NonSystemToken to visit - A user defined class - - - - Visitor interface for walking the Path Tree. - - - - - Visit an SystemToken - - The SystemToken to visit - - - - Visit an NonSystemToken - - The NonSystemToken to visit - - - - Visitor interface for walking the Syntactic Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a LiteralToken - - LiteralToken to visit - A ConstantNode bound to this LiteralToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits a EndPathToken - - The EndPathToken to bind - A PropertyAccessNode bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FunctionParameterToken - - The FunctionParameterTokenb to bind - A FunctionParametertoken bound to this UnaryOperatorToken - - - - Class that knows how to bind key values. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - Constructs a KeyBinder object using the given function to bind key values. - - Method to call to bind a value in a key. - - - - Binds key values to a key lookup on a collection. - - Already bound collection node. - The named value tokens to bind. - The bound key lookup. - - - - Binds a key property value. - - The named value to bind. - The type of a single item in a collection to apply the key value to. - The bound key property value node. - - - Provides a class used to represent a key for a resource. - - Internally, every key instance has a collection of values. These values - can be named or positional, depending on how they were specified - if parsed from a URI. - - - - Empty key singleton. - - - Named values. - - - Positional values. - - - Whether or not the key was formatted as a segment. - - - Initializes a new empty instance. - - - Initializes a new instance. - Named values. - Positional values for this instance. - Whether or not the key was formatted as a segment. - - One of namedValues or positionalValues should be non-null, but not both. - - - - Attempts to parse key values from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - - Creates a key instance from the given raw segment text with a single positional value. - - The segment text. - A key instance with the given segment text as its only value. - - - Attempts to parse nullable values (only positional values, no name-value pairs) from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the given values were parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Tries to convert values to the keys of the specified type. - The key properties to use for the conversion. - The converted key-value pairs. - true if all values were converted; false otherwise. - - - - Try to convert a value into an EDM primitive type - - the type to convert to - the value to convert - The converted value, if conversion succeeded. - true if the conversion was successful. - - - Attempts to parse key values from the specified text. - Text to parse (not null). - Set to true if the parser should accept named values - so syntax like Name='value'. If this is false, the parsing will fail on such constructs. - Set to true if the parser should accept null values. - If set to false, the parser will fail on null values. - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Creates a new instance if the specified value is null. - Type of variable. - Current value. - - - Whether the values have a name. - - - Checks whether this key has any values. - - - Returns a dictionary of named values when they AreValuesNamed is true. - - - Returns a list of values when they AreValuesNamed is false. - - - Number of values in the key. - - - - Class that knows how to bind a LambdaToken. - - - - - Method used to bind a parent token. - - - - - Constructs a LambdaBinder. - - Method used to bind a parent token. - - - - Binds a LambdaToken to metadata. - - Token to bind. - Object to hold the state of binding. - A metadata bound any or all node. - - - - Bind the parent of the LambdaToken - - the parent token - the bound parent node - - - - Bind the expression of the LambdaToken - - the expression token - the bound expression node - - - - Class that knows how to bind literal values. - - - - - Binds a literal value to a ConstantNode - - Literal token to bind. - Bound query node. - - - Use this class to parse literals from keys, etags, skiptokens, and filter/orderby expression constants. - - - - Default singleton instance of the literal parser. - - - - - Singleton instance of the literal parser for when keys-as-segments is turned on, which does not wrap the formatted strings in any quotes or type-markers. - - - - - Mapping between primitive CLR types and lightweight parser classes for that type. - - - - - Gets the literal parser for keys, based on whether the keys are formatted as segments. - - Whether or not the keys is formatted as a segment. - The literal parser to use. - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Gets the literal parser to use for ETags. - - - - - Default literal parser which has type-markers and single-quotes. Also supports arbitrary literals being re-encoded in binary form. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Tries to parse the literal by first removing required formatting for the expected type, then converting the resulting string. - - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Simplified literal parser for keys-as-segments which does not expect type-markers, single-quotes, etc. Does not support re-encoding literals as binary. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - If the string starts with '$', removes it. - Also asserts that the 2nd character is also '$', as otherwise the string would be treated as a system segment. - - The text. - The string value with a leading '$' removed, if the string started with one. - - - - Helper class for parsing a specific type of primitive literal. - - - - XML whitespace characters to trim around literals. - - - - The expected prefix for the literal. Null indicates no prefix is expected. - - - - - The expected suffix for the literal. Null indicates that no suffix is expected. - - - - - Whether or not the suffix is required. - - - - - The expected type for this parser. - - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected prefix for the literal. - - - - Initializes a new instance of the class. - - The expected type for this parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - Whether or not conversion was successful. - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - Whether or not the expected formatting was found and succesfully removed. - - - - Determines whether the values for the specified types should be - quoted in URI keys. - - Type to check. - - true if values of require quotes; false otherwise. - - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - - - - Primitive parser which uses a delegate for conversion. - - The expected CLR type when parsing. - - - - The delegate to use for conversion. - - - - - Initializes a new instance of the class. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - The expected prefix for the literal. - - - - Creates a primitive parser which wraps the given delegate and does not expect any extra markup in serialized literal. - - The delegate to use for conversion. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to start with one of the given prefixes. - - The delegate to use for conversion. - The expected prefix for the literal. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - A new primitive parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Parser specific to the Edm.Decimal type. - - - - - Initializes a new instance of the class. - - - - - Special helper to convert a string to a decimal that will allow more than what XmlConvert.ToDecimal supports by default. - - The text to convert. - The converted decimal value. - - - - Parser specific to the Edm.Binary type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - Returns the 4 bits that correspond to the specified character. - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - - - - Parser specific to the Edm.String type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - - Helper methods for metadata binding. - - - - - If the source node is not of the specified type, then we check if type promotion is possible and inject a convert node. - If the source node is the same type as the target type (or if the target type is null), we just return the source node as is. - - The source node to apply the convertion to. - The target primitive type. May be null - this method will do nothing in that case. - The converted query node, or the original source node unchanged. - - - - Retrieves type associated to a segment. - - The node to retrive the type from. - The type of the node, or item type for collections. - - - - Retrieves the type reference associated to a segment. - - The node to retrive the type reference from. - The Type reference of the node (item type reference for collections). - - - - Class to provide methods that wrap EdmLib calls that are normally not allows in ODataLib, but - are OK in the Uri Parser. These are OK to suppress because the Uri Parser - does not need to go through the behavior knob that the ODL reader/writer does. - This should only be used by the Uri Parser. - - - - - Wraps a call to IEdmModel.FindType. - - The model to search. - The qualified name of the type to find within the model. - The requested type, or null if no such type exists. - - - - Wraps call to FindTypeFromModel for a Collection type. - - the model to search - the name to find within the model - a type reference to the collection type, or null if no such type exists. - - - - Wraps a call to IEdmFunctionImport.ReturnType. - - The function import containing the return type. - Gets the return type of this function. - - - - Wraps a call to IEdmEntitySet.ElementType. - - The EntitySet to containing the element type. - The entity type contained in this entity set. - - - - Wraps a call to IEdmFunctionParameter.Type. - - The IEdmFunctionParameter containing the typ[e. - The type of this function parameter. - - - - Check whether the parent and child are properly related types - - the parent type - the child type - Throws if the two types are not related. - - - - Follow an ODataPath from an Expand to get the Final Nav Prop - - the path to follow - the navigation property at the end of that path. - Throws if the last segment in the path is not a nav prop. - - - - Follow an ODataPath from to get the most derived type - - the path to follow - the starting type before beginning to walk the path. - the most derived type in the path. - - - - Is this token a container - - the containerIdentifier of the container to find - which model to search - the container we found, if we found one - true if we find a container, false otherwise - - - - Returns true if this type is an EntityCollection - - The type to check - true if the type is an entity collection - - - - Checks whether all function imports have the same return type - - the list to check - true if the list of function imports all have the same return type - - - - Is this a valid binding type. i.e. is this an entity, entity colleciton, or complex type. - - the binding type - true if this binding type is valid - - - - NonOption variant of an ExpandBinder, where the default selection at each level is based on the top level select - clause. If that top level select is not populated, then we select all from this level, instead of selecting nothing. - - - - - Build the NonOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, apath to a property, - a wildcard, operation name, etc. - - - - - Build the NonOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Class responsible for binding a InnerPathToken into: - 1. SingleNavigationNode - 2. CollectionNavigationNode - 3. SinglePropertyAccessNode (complex) - 4. CollectionPropertyAccessNode (primitive | complex) - 5. KeyLookupNode - 6. SingleValueFunctionCallNode - 7. SingleEntityFunctionCallNode - - TODO The binder does support key lookup on collection navigation properties, however at this time - the synctactic parser does not set things up correctly to allow end-to-end scenarios to work. - - - - Bind method to use for binding a parent node, if needed. - - - - - Constructs a InnerPathTokenBinder. - - Bind method to use for binding a parent node, if needed. - - - - Ensures that the parent node is of entity type, throwing if it is not. - - Parent node to a navigation property. - The given parent node as a SingleEntityNode. - - - - Given a property name, if the associated type reference is strucutred, then this returns - the property of the structured type. Otherwise, it returns null. - - The parent type to be used to find binding options. - The string designated the property name to be bound. - The property associated with string and parent type. - - - - Builds an appropriate navigation query node (collection or single) for the given property and parent node. - - Navigation property. - Parent Node. - Named values (key values) that were included in the node we are binding, if any. - State of binding. - Object to perform binding on any key values that are present. - A new CollectionNavigationNode or SingleNavigationNode to capture the navigation propety access. - - - - Binds a . - This includes more than just navigations - it includes complex property access and primitive collections. - - The segment token to bind. - The state of binding. - The bound node. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Factory class to build IParameterQueryNodes. - - - - - Creates a for an implicit parameter ($it) from an . - - that the range variable is iterating over. - A new . - - - - Creates a ParameterQueryNode for an implicit parameter ($it). - - Element type the parameter represents. - Entity Set. May be null and must be null for non entities. - A new IParameterNode. - - - - Creates a RangeVariableReferenceNode for a given range variable - - Name of the rangeVariable. - A new SingleValueNode (either an Entity or NonEntity RangeVariableReferenceNode. - - - - Creates a ParameterQueryNode for an explicit parameter. - - Name of the parameter. - CollectionNode that the parameter is iterating over. - A new RangeVariable. - - - - Creates an AnyNode or an AllNode from the given - - State of binding. - Parent node to the lambda. - Bound Lambda expression. - The new range variable being added by this lambda node. - Token kind. - A new LambdaNode bound to metadata. - - - - Handler interface for walking the path semantic tree. - - - - - Handle a TypeSegment - - the segment to Handle - - - - Handle a NavigationPropertySegment - - the segment to Handle - - - - Handle an EntitySetSegment - - the segment to Handle - - - - Handle a KeySegment - - the segment to Handle - - - - Handle a PropertySegment - - the segment to Handle - - - - Handle an OperationSegment - - the segment to Handle - - - - Handle an OpenPropertySegment - - the segment to Handle - - - - Handle a CountSegment - - the segment to Handle - - - - Handle a LinksSegment - - the segment to Handle - - - - Handle a ValueSegment - - the segment to Handle - - - - Handle a BatchSegment - - the segment to Handle - - - - Handle a BatchReferenceSegment - - the segment to Handle - - - - Handle a MetadataSegment - - the segment to Handle - - - - Node to represent a function call that returns a collection of entities. - - - - - Base class for all semantically bound nodes which represent a composable collection of values. - - - - - Get the resouce type of a single entity from the collection represented by this node. - - - - - Get the EntitySet that contains this collection. - - - - - the name of this function. - - - - - list of function imports that this node represents. - - - - - list of parameters provided to this function - - - - - the type a single entity returned by this function - - - - - the type of the collection returned by this function - - - - - the set containing the entities returned by this function. - - - - - The semantically bound parent of this EntityCollectionFunctionCallNode. - - - - - Creates an EntityCollecitonFunctionCallNode to represent a function call that returns a collection of entities. - - The name of this function. - the list of function imports that this node represents. - the list of parameters to this function - the type the entity collection returned by this function. The element type must be an entity type. - the set containing entities returned by this function - the semantically bound parent of this EntityCollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not an entity type. - Throws if the input function imports is null - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function - - - - - Gets the list of function imports that this node represents. - - - - - Gets the list of parameters provided to this function. - - - - - Gets the individual item type returned by this function. - - - - - The type of the collection represented by this node. - - - - - Gets the individual entity type returned by this function. - - - - - Gets the entity set contaiing the entities returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Segment translator to determine whether a given is a collection. - - - - - Translate a NavigationPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an EntitySetSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a KeySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a PropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an OpenPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a CountSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a NavigationPropertyLinkSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchReferenceSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a ValueSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a MetadataSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - A segment representing $links or $ref - - - - - The semantic representation of a segment in a path. - - - - Returns the identifier for this segment i.e. string part without the keys. - - - Indicates whether this segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - Creates a new Segment and copies values from another Segment. - - Segment to copy values from. - - - - Creates a new Segment. - - - - - Translate a using an implemntation of. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - - - - Handle a using an implementation of a . - - An implementation of the handler interface. - - - - Check if this segment is equal to another segment. - - the other segment to check - true if the segments are equal. - - - - Copies over all the values of the internal-only properties from one segment to another. - - Ther segment to copy from. - - - - Gets the of this . - - This property can be null. Not all segments have a Type, such as a . - - - Returns the identifier for this segment i.e. string part without the keys. - - - Whether the segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - The navigation property this link or ref acts on. - - - - - Build a segment to represnt $links or $ref on a Nav prop - - The navigaiton property this link or ref acts on - The set of entities linked to by this . This can be null. - Throws if the input navigationProperty is null. - - - - Translate a - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - The other segment to check. - True if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property this link or ref acts on. - - - - - Gets the set of entities linked to by this . - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of or . - - - - - A representation of the path portion of an OData URI which is made up of s. - - - - - The segments that make up this path. - - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Get the segments enumerator - - The segments enumerator - - - - get the segments enumerator - - The segments enumerator. - - - - Walk this path using a translator - - the return type of the translator - a user defined translation path - an enumerable containing user defined objects for each segment - - - - Walk this path using a handler - - the handler that will be applied to each segment - - - - Checks if this path is equal to another path. - - The other path to compare it to - True if the two paths are equal - Throws if the input other is null. - - - - Add a segment to this path. - - the segment to add - Throws if the input newSegment is null. - - - - Gets the first segment in the path. Returns null if the path is empty. - - - - - Get the last segment in the path. Returns null if the path is empty. - - - - - Get the number of segments in this path. - - - - - Create an ODataPath object to represent a path semantically - - The list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Create an ODataPath object based on a single segment - - A list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Gets the navigation property for this expand path. - - the navigation property for this expand path. - - - - Ensure that this expand path contains only valid segment types. - - Throws if this list of segments doesn't match the requirements for a $expand - - - - Extension methods for . These method provide convenince functions. - TODO: Implement this class and it's visitors. These are stubs. - - - The values that these methods compute are not cached. - - - - - Computes the of the resource identified by this . - - Path to compute the type for. - The of the resource, or null if the path does not identify a - resource with a type. - - - - Computes the of the resource identified by this . - - Path to compute the set for. - The of the resource, or null if the path does not identify a - resource that is part of a set. - - - - Computes whether or not the resource identified by this is a collection. - - Path to perform the computation on. - True if the resource if a feed or collection of primitive or complex types. False otherwise. - - - Translates from an IPathSegment into an ODataPath - - - - Binds a collection of to metadata, creating a semantic ODataPath object. - - Collection of path segments. - The configuration to use when binding the path. - A semantic object to describe the path. - - - - Main Public API to parse an ODataURI. - - - - - The parser's configuration. - - - - - Build an ODataUriParser - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - A representing the metadata bound orderby expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parse a filter clause from an instantiated class. - - the filter clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A FilterClause representing the metadata bound filter expression. - - - - Parse an orderby clause from an instance of this class - - the orderby clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - An OrderByClause representing the metadata bound orderby expression. - - - - Parses a into a semantic object. - - - This is designed to parse the Path of a URL. If it is used to parse paths that are contained - within other places, such as $filter expressions, then it may not enforce correct rules. - - The absolute URI which holds the path to parse. - An representing the metadata-bound path expression. - Throws if the serviceRoot member is null, or if the input path is not an absolute uri. - - - - ParseSelectAndExpand from an instantiated class - - the select to parse - the expand to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. This can be null, if so that null will propagate through the resulting SelectExpandClause. - A SelectExpandClause with the semantic representation of select and expand terms - - - - Parse a full Uri into its contingent parts with semantic meaning attached to each part. - See . - - The full uri to parse. - An representing the full uri. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - - - - Parses the full Uri. - - The full uri to parse - An ODataUri representing the full uri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided. - - String representation of the filter expression. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided model. - - String representation of the orderby expression. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parses the and clauses on the given , binding - the text into a metadata-bound list of properties to be selected using the provided model. - - String representation of the select expression from the URI. - String representation of the expand expression from the URI. - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A representing the metadata bound orderby expression. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - Throws if the input inlineCount is not a valid $inlinecount value. - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - The exception that is thrown when path parsing detects an unrecognized or unresolvable token in a path (which servers should treat as a 404). - - - - - Exception type representing exceptions in the OData library. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - - Creates a new instance of the class from the specified and instances. - A containing the information required to serialize the new . - A containing the source of the serialized stream associated with the new . - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - Plain text error message for this exception. - - - - Initializes a new instance of the DataServiceException class. - - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - Creates a new instance of the class from the specified SerializationInfo and StreamingContext instances. - A SerializationInfo containing the information required to serialize the new ODataUnrecognizedPathException. - A StreamingContext containing the source of the serialized stream associated with the new ODataUnrecognizedPathException. - - - - Component for controlling what convention are used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - Gets the internal representation of the user-specified convention. - - - - - Class to handle the binding of orderby tokens. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - Creates an OrderByBinder - - Method to use to visit the token tree and bind the tokens recursively. - - - - Processes the order-by tokens of a entityCollection (if any). - - State to use for binding. - The order-by tokens to bind. - An OrderByClause representing the orderby statements expressed in the tokens. - - - - Processes the specified order-by token. - - State to use for binding. - The next OrderBy node, or null if there is no orderby after this. - The order-by token to bind. - Returns the combined entityCollection including the ordering. - - - - Set of helpers and extensions to make it easier to convert the semantic path parser - to using and the related classes. - - - - - Returns whether the given type is a structural type that is open. - - The type to check. - Whether the type is both structural and open. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - Whether or not the type is an entity or entity collection type. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - The entity type. If the given type was a collection, this will be the element type. - Whether or not the type is an entity or entity collection type. - - - - Gets the target entity set for the given function import. - - The function import. - The source entity set. - The model. - The target entity set of the function import or null if it could not be determined. - - - - Throws an exception if the given type is an open complex type. - - The type to check. - - - - Reverse a Path - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an SystemToken - - The System token to visit - A user defined class - - - - Visit an NonSystemToken - - The System token to visit - A user defined class - - - - any children of the root, will always be null on first call - - - - - Build a PathReverser at the top level (with no child token) - - - - - Build a PathReverser based on a child token. - - the new child of this token - - - - Reverse a NonSystemToken - - the non system token to reverse - the reversed NonSystemToken - - - - Reverse a SystemToken - - the SystemToken to reverse - the reversed SystemToken - - - - Build the next level PathReverser - - the next level token - the next levels child token - the path token from the next level. - - - - Equality comparer for . - - - - - Determines whether the two paths are equivalent. - - The first path to compare. - The second path to compare. - Whether the two paths are equivalent. - - - - Returns a hash code for the given path. - - The path to hash. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Converts the token to a string that is sufficiently unique to be hashed or compared. - - The path token to convert to a string. - A string representing the path. - - - - Visitor interface for walking the Syntactic Tree. - - - - - Visit an SystemToken - - The System token to visit - - - - Visit an NonSystemToken - - The System token to visit - - - - Class that knows how to bind ParameterQueryTokens. - - - - - Binds a parameter token. - - The parameter token to bind. - The state of metadata binding. - The bound query node. - - - - Class that knows how to bind an end path token, which could be several things. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - The function call binder to use to bind this end path to a function if necessary. - - - - - Constructs a EndPathBinder object using the given function to bind parent token. - - Method to bind the EndPathToken's parent, if there is one. - - - - This method generates a for properties of open type - - EndPathToken to bind into an open property node. - Parent node of this open property - Will return a when open types are supported - - - - Generates a bound query node representing an given an already semantically bound parent node. - - The semantically bound source node of this end path token - The that will be bound to this node. Must not be primitive collection - QueryNode bound to this property. - - - - Constructs parent node from binding state - - Current binding state - The parent node. - - - - Binds a an end path token into a PropertyAccessToken, OpenPropertyToken, or FunctionCallToken. - - The property access token to bind. - State of the binding algorithm. - A Query node representing this endpath token, bound to metadata. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Provides values to describe the kind of thing targetted by a - client request. - - - - Nothing specific is being requested. - - - A top-level directory of service capabilities. - - - Entity Resource is requested - it can be a collection or a single value. - - - A single complex value is requested (eg: an Address). - - - A single value is requested (eg: a Picture property). - - - A single value is requested (eg: the raw stream of a Picture). - - - System metadata. - - - A data-service-defined operation that doesn't return anything. - - - The request is a batch request. - - - An open property is requested. - - - An open property value is requested. - - - A stream property value is requested. - - - A single collection of primitive or complex values is requested. - - - - Semantic parser for the path of the request URI. - - - - - regex pattern to match a contentID - - - - - The queue of segments remaining to be parsed. Should be populated and cleared out on each pass through the main path parsing loop. - - - - - The collection of segments that have been parsed so far. - - - - - The parser's current configuration. - - - - - Indicates that the next segment encountered must refer to something in 'metadata-space' and cannot be a key expression. - - - - - Initializes a new instance of . - - The parser's current configuration. - - - - Extracts the segment identifier and, if there are parenthesis in the segment, the expression in the parenthesis. - Will throw if identifier is not found or if the parenthesis expression is malformed. - - Internal only so it can be called from tests. Should not be used outside . - The segment text. - The identifier that was found. - The query portion that was found. Will be null after the call if no query portion was present. - - - Creates an array for the given . - Segments to process. - Segment information describing the given . - - - - Tries to find a single matching function import for the given identifier, parametes, and binding type. - - The identifier from the URI. - The parenthesis expression contianing parameters, if any. - The current binding type or null if there isn't one. - The configuration of the parser. - The parsed parameters from the parenthesis expression. - The single matching function import if one could be determined. - Whether or not a matching function import could be found. - - - Determines a matching target kind from the specified type. - ResourceType of element to get kind for. - An appropriate for the specified . - - - - Checks for single result, otherwise throws. - - indicates whether the current result is single result or not. - current segment identifier. - - - - Tries to get the next segment's text to parse. - - The segment text to parse. - Whether there was a next segment. - - - - Tries to get the next segment's text to parse. Should not be called except by the other overload which does not have the extra parameter. - - Whether the previous segment was an escape marker. - The segment text to parse. - Whether there was a next segment. - - - - Tries to handle the given text as a key if the URL conventions support it and it was not preceeded by an escape segment. - - The text which might be a key. - Whether or not the text was handled as a key. - - - - Throws if the given segment must be a leaf, as a later segment is being created. - - The previous segment which may need to be a leaf. - - - - Try to handle the segment as $count. - - The segment text to handle. - Whether the segment was $count. - - - - Tries to handle the segment as $links. If it is $links, then the rest of the path will be parsed/validated in this call. - - The text of the segment. - Whether the text was $links. - - - - Tries to bind a key from the parenthetical section of a segment. - - The section of the segment inside parentheses, or null if there was none. - - - - Try to handle the segment as $value. - - The segment text. - Whether the segment was $value. - - - - Creates a new segment for an open property. - - previous segment info. - name of the segment. - whether this segment has a query portion or not. - - - - Creates a named stream segment - - previous segment info. - stream property to create the segment for. - - - Creates the first for a request. - The text of the segment. - - - - Tries to parse the segment as a service operation - - The identifier for the segment. - The query portion - Whether or not the identifier referred to a service operation. - - - - Tries to parse a segment as a function or action. - - The previous segment before the operation to be invoked. - The name of the segment - The query portion - Whether or not the identifier referred to an action. - - - - Creates the next segment. - - The text for the next segment. - - - - Tries to bind the identifier as a property. - - The identifier to bind. - The property, if one was found. - Whether a property matching the identifier was found. - - - - Tries to create a type name segment if the given identifier refers to a known type. - - previous segment info. - The current raw segment identifier being interpreted. - Parenthesis expression of this segment. - Whether or not a type segment was created for the identifier. - - - - Creates a property segment - - previous segment info. - property to create the segment for. - query portion for this segment, if specified. - - - - Component for handling key expressions in URIs. - - - - Tries to create a key segment for the given filter if it is non empty. - Segment on which to compose. - Parenthesis expression of segment. - The key segment that was created if the key was non-empty. - Whether the key was non-empty. - - - - Tries to handle the current segment as a key property value. - - The segment text. - The previous segment. - The current url convention for the server. - The key segment that was created if the segment could be interpreted as a key. - Whether or not the segment was interpreted as a key. - - - - Determines whether the segment text is a system-reserved identifier like $'count'. - - The segment text. - - true if the segment text is a system-reserved identifier like $'count'; otherwise, false. - - - - - Parses the key properties based on the segment's target type, then creates a new segment for the key. - - The segment to apply the key to. - The key to apply. - The newly created key segment. - - - - Builds segments from tokens within $select. - - - - - Build a segment from a token. - - the token to bind - The model. - the entity type of the current scope based on type segments. - The segment created from the token. - - - - Build a wildcard selection item - - the token to bind to a wildcard - the model to search for this wildcard - the new wildcard selection item, if we found one - true if we successfully bound to a wildcard, false otherwise - - - - Tries to bind a given token as an Operation. - - Token to bind. - The model. - the current entity type to use as the binding type when looking for operations. - Bound segment if the token was bound to an operation successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Tries to bind a given token as an a declared structural or navigation property. - - Token to bind. - the entity type to search for this property - Bound segment if the token was bound to a declared property successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Build an ISelectExpandTermParser based on settings. - - - - - Build a new ISelectExpandTermParser, either with expand options or without, based on the global settings. - - the select or expand text to parse - pointer to the top level object - A new ISelectExpandTermParser - - - - Build a new ISelectExpandTermParser with default settings - - the clause to parse - A NonOptionSelectExpandTermParser - - - - Polish a combined select expand tree. - - - - - Prune off any unneccessary expands - - the clause to prune - a pruned tree. - - - - Visit a Select property and use it to decorate a SelectExpand Tree - - - - - The model used for binding. - - - - - the maximum recursive depth. - - - - - The expand tree to decorate. - - - - - The entity type for this level of the select - - - - - Build a property visitor to visit the select tree and decorate a SelectExpandClause - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visit a System Token - - the system token to visit - - - - Visit a NonSystemToken - - the non sytem token to visit - - - - process a nonsystemtoken as a path, following any type segments if necessary - - the token to process - - - - The expand tree that we're decorating - - - - - Translate a select tree into the right format to be used with an expand tree. - - - - - Normalize a SelectToken into something that can be used to trim an expand tree. - - The select token to normalize - Normalized SelectToken - - - - Class that represents a selection of all properties and functions on an entity. - - - - - Class that specifies what properties and functions have been specified to be selected for a given entity at the current level of the expand tree. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing an alias to another url in a batch. - - - - - The of the resource that this placeholder represents. - - - - - The entity set from the alias. - - - - - The contentId that this alias referrs to. - - - - - Build a BatchReferenceSegment - - The contentId of this segment is referring to - The of the resource that this placeholder represents. - The resulting entity set - Throws if the input edmType of contentID is null. - Throws if the contentID is not in the right format. - - - - Translate this into something else. - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of the interface. - - An implementation of the Handler interface. - Throws if the input Handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of the resource that this placeholder represents. - - - - - Gets the resulting entity set for this batch reference segment. - - - - - Gets the contentId this alias is referrring to - - - - - A segment representing $batch - - - - - Gets the singleton instance of the batch segment. - - - - - Build a segment to represent $batch. - - - - - Translate a into something else using an implementation of . - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of . - - An implementation of the Handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - The other segment to check. - True if the other segment is equivalent to this one. - Throws if the input other is null - - - - Gets the of this , which is always null. - - - - - Class to represent the selection of all the actions and functions in a specified container. - - - - - An item that has been selected by the query at the current level of the tree. - - - - - The whose actions and functions should be selected. - - - - - Creates an instance of this class with the specified . - - The whose actions and functions should be selected. - Throws if the input container is null. - - - - Gets the whose actions and functions should be selected. - - - - - A segment representing $count in a path - - - - - Return the singleton instance of Count - - - - - Build a segment representing $count - - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - throws if the input other is null. - - - - Gets the of this , which is always Edm.Int32. - - - - - Class that knows how to resolve an IEdmExpression to find its associated EntitySet. - This functionality is needed to determine what a EntitySets a FunctionImport applies to. - - - - - Resolves an IEdmExpression to an IEdmEntitySet. - - Expression to resolve. - The resolved EntitySet. - - - - A segment representing an EntitySet in a path. - - - - - The entity set represented by this segment. - - - - - Type of the entities in the set represented by this segment. - - - - - Build a segment representing an entity set - - The entity set represented by this segment. - Throws if the input entitySet is null. - - - - Translate an into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle an using the an instance of the . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the entity set represented by this segment. - - - - - Gets the of this . - This will always be an for the that this set contains. - - - - - This represents one level of expansion for a particular expansion tree. - - - - - The Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - The entity set for this expansion level. - - - - - The filter expand option for this expandItem. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The orderby expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - the top expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The skip option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The inlinecount option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The select that applies to this level, and any sub expand levels below this one. - - - - - Create an Expand item using a nav prop, its entity set and a SelectExpandClause - - the path to the navigation property for this expand item, including any type segments - the entity set for this ExpandItem - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Create an expand item, using a navigationProperty, its entity set, and any expand options. - - the path to the navigation property for this expand item, including any type segments - the entity set for this expand level. - A filter clause for this expand (can be null) - An Orderby clause for this expand (can be null) - A top clause for this expand (can be null) - A skip clause for this expand (can be null) - An Inlinecount clause for this expand (can be null) - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Gets the Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - Gets the EntitySet for this level. - - - - - The select and expand clause for this expanded navigation. - - - - - The filter clause for this expand item - - - - - Gets the orderby clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the top clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the skip clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the inlinecount clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - A list of all expanded items at the next level down. - - - - - The list of all expanded items at the next level down. - - - - - Constructor - - The list of all expanded items at the next level down. - - - - The list of all expanded items at the next level down. - - - - - A segment representing a key lookup in a path. - - - - - The set of key property names and the values to be used in searching for the given item. - - - - - The type of the item this key returns. - - - - - The entity set that this key is used to search. - - - - - Construct a Segment that represents a key lookup. - - The set of key property names and the values to be used in searching for the given item. - The type of the item this key returns. - The entity set that this key is used to search. - Throws if the input entity set is not related to the input type. - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the set of key property names and the values to be used in searching for the given item. - - - - - Gets the type of the item this key returns - - - - - Gets the entity set that this key is used to search. - - - - - A segment representing $metadata in a path. - - - - - Gets the singleton instance of MetadataSegment - - - - - Build a segment to represent $metadata - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this , which is always null. - - - - - Class that represents a selecting none of the properties or functions at this level, but there are still relevant expansions in this subtree. - - - - - Get the singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing a navigation property - - - - - The navigation property this segment represents. - - - - - Build a segment representing a navigation property. - - The navigation property this segment represents. - The set of the entities targetted by this navigation property. This can be null. - Throws if the input navigationProperty is null. - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Checks if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property represented by this NavigationPropertySegment. - - - - - Gets the set of the entities targetted by this Navigation Property. - This can be null. - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of , , - , , or . - - - - - Create an ODataSelectPath - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Create an ODataPath object based on a single segment - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Ensure that the segments given to us are valid select segments. - - Throws if the list of segments doesn't match the requirements for a path in $select - - - - A segment representing and open property - - - - - The name of this open property. - - - - - Build a segment to represent an open property. - - The name of this open property - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the name of this open property. - - - - - Gets the of this , which is always null. - The type of open properties is unknown at this time. - - - - - Represents a named parameter value for invoking an operation in an OData path. - - - - - Initializes a new instance of . - - The name of the parameter. Cannot be null or empty. - The value of the parameter. - - - - The name of the parameter. - - - - - The parameter value. - - - - - Class to represent the selection of a specific path. - - - - - The selected path. - - - - - Constructs a to indicate that a specific path is selected. - - The selected path. - Throws if the input selectedPath is null. - - - - Gets the selected path. - - - - - Class that represents a partial subset of items on a given type that have been selected at this level of the select expand tree. - - - - - The subset of items that has been selected at this level. - - - - - Creates a with the specified set of . - - The list of items on the that has been selected. - - - - The subset of items that has been selected at this level. - - - - - A segment representing a structural property - - - - - The structural property referred to by this segment - - - - - Build a segment based on a structural property - - The structural property that this segment represents. - Throws if the input property is null. - - - - Translate a using an instance of />. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the structural property that this segment represents. - - - - - Gets the of this . - - - - - Class representing the combined semantic meaning of any select or expand clauses in the uri. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - - Internal flag indicating that this clause was built using the legacy Selection and Expansion classes. In this case, we must - call ComputeFinalSelectedItems() before handing out the object publically. - - - - - The object that describes what properties and functions should be selected from the associated at this level. - - - - - The selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Constructs a from the given parameters. - - The selected properties and operations. This list should include any expanded navigation properties. - Flag indicating if all items have been selected at this level. - - - - Constructs a from the given parameters. - - The object that describes what properties and functions should be selected from the associated . - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - Add a selection item to the current selection. - - the new selection item to add - - - - Switch to an AllSelection at this level and recursively at all levels below this one. - This is non-reversable because once everything is selected, selecting a specific property or other item is redundant. - - - - - Initializes the selection for this clause as ExpansionsOnly if it is not already partial. - - - - - Computes the list of SelectItems that will be publically availible to consumers. - - - - - Gets the selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Gets the object that describes what properties and functions should be selected from the associated . - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Node representing a type segment that casts an entity collection node. - - - - - The entity collection node that we're casting. - - - - - The target type that we're casting our entity collection node to. - - - - - the type of the collection returned by this function - - - - - The EntitySet that our collection comes from. - - - - - Create a CollectionCastNode with the given source node and the given target type. - - Parent that is being cast. - Type to cast to. - Throws if the input source or entityType are null. - - - - Accept a that walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the entity collection node that we're casting. - - - - - Gets the type that we're casting all items in this collection to. - - - - - The type of the collection represented by this node. - - - - - Gets the entity type that we're casting all items in this collection to. - - - - - Gets the EntitySet that our collection comes from. - - - - - Gets the kind of this node. - - - - - Query node representing a collection navigation property. - - - - - The navigation property of the single entity this node represents. - - - - - The resouce type of a single entity item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - The parent node. - - - - - The EntitySet from which the collection of entities comes from. - - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The parent of this collection navigation node. - The collection node. - Throws if the input source or navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The source entity set. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the parent node of this Collection Navigation Node. - - - - - Gets the target multiplicity. - - - - - Gets the Navigation Property that defines this collection Node. - - The navigation property that defines this collection node. - - - - Gets a reference to the resource type a single entity in the collection. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity from the collection. - - - - - Gets the entity set containing this collection. - - - - - Gets the kind of this node. - - - - - The result of parsing a $filter query option. - - - - - The filter expression - this should evaluate to a single boolean value. - - - - - The parameter for the expression which represents a single value from the collection. - - - - - Creates a . - - The filter expression - this should evaluate to a single boolean value. Cannot be null. - The parameter for the expression which represents a single value from the collection. Cannot be null. - Throws if the input expression or rangeVariable is null. - - - - Gets the filter expression - this should evaluate to a single boolean value. - - - - - Gets the parameter for the expression which represents a single value from the collection. - - - - - Gets the type of item returned by this clause. - - - - - Represents the result of parsing the $orderby query option. - - - - - The order-by expression. - - - - - The direction to order. - - - - - The rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Creates an . - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - The order-by expression. Cannot be null. - The direction to order. - The rangeVariable for the expression which represents a single value from the collection we iterate over. - Throws if the input expression or rangeVariable is null. - - - - Gets the next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Gets the order-by expression. - - - - - Gets the direction to order. - - - - - Gets the rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - Gets the type of a single item from the collection returned after ordering. - - - - - A RangeVariable inside an any or all expression that doesn't refer to an entity set - - - - - A RangeVariable, which represents an iterator variable either over a collection, either of entities or not. - Exists outside of the main SemanticAST, but hooked in via a RangeVariableReferenceNode (either Non-Entity or Entity). - - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type of entity referenced by this rangeVariable - - - - - Gets the kind of this rangeVariable. - - - - - The name of the associated any/all parameter (null if none) - - - - - The Entity collection that this rangeVariable node iterates over - - - - - The Entity set of the collection this node iterates over. - - - - - The entity type of each item in the collection that this range variable iterates over. - - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity collection that this rangeVariable node iterates over - Throws if the input name or entityType is null. - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity set of the collection this node iterates over. - Throws if the input name or entityType is null. - - - - Gets the name of the associated any/all parameter (null if none) - - - - - Gets the Entity collection that this rangeVariable node iterates over - - - - - Gets the Entity set of the collection this node iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - Node to represent a range variable in an Any or All clause that referrs to an entity. - - - - - Base class for all semantic metadata bound nodes which represent a single composable entity value. - - - - - Base class for all semantic metadata bound nodes which represent a single composable value. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Gets the EntitySet containing this single entity. - - - - - Gets the type of this single entity. - - - - - The name of the associated range variable (null if none) - - - - - The entity type of the associated range variable. - - - - - The range variable that the node represents. - - - - - The entity set containing the collection that this range variable iterates over. - - - - - Creates an . - - The name of the associated range variable (null if none) - The actual range variable on the bind stack that this refers to - Throws if the input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangevariable (null if none) - - - - - Gets the entity type of the associated range variable. - - - - - Gets the entity type of the associated range variable. - - - - - Gets a reference to the range variable that this node represents. - - - - - Gets the entity set containing the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - A rangeVariable from an Any or All that doesn't refer to an entity set - - - - - The name of the associated rangeVariable - - - - - The collection that this rangeVariable node iterates over, can be null in the case of - single value nodes. - - - - - The type of the value the range variable represents - - - - - Creates a . - - The name of the associated range variable. - The type of the value the range variable represents. - The collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - Throws if the input name is null. - Throws if the input type reference is an entity type. - - - - Gets the name of the associated rangevariable. - - - - - Gets the type of the value the range variable represents. - - - - - Gets the collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - - - - - Gets the kind of this range variable. - - - - - A node that represents a rangeVariable that iterates over a non entity collection. - - - - - The name of the associated rangeVariable - - - - - The type item referred to by this rangeVariable. - - - - - Reference to a rangeVariable on the binding stack. - - - - - Creates a . - - The name of the associated rangeVariable - Reference to a rangeVariable on the binding stack. - Throws if input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type item referred to by this rangeVariable. - - - - - Gets the reference to a rangeVariable on the binding stack. - - - - - Gets the kind of this node. - - - - - Enumeration of the different kinds of RangeVariables. - - - - - A range variable that referrs to entity types. - - - - - A range variable that referrs to non-entity types. - - - - - A segment representing a call to an action, function, or service operation. - - - - - Sentinel type marking that we could not determine the return type for this segment. - - - - - The list of possible FunctionImport overloads for this segment. - - - - - the list of parameters to this operation. - - - - - The containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - The type of item returned by the operation(s), if known. - - - - - Build a segment representing a call to an operation - action, function, or service operation. - - A single function import that this segment will represent. - The containing the entities that this function returns. - Throws if the input operation is null. - - - - Build a segment representing a call to an operation - action, function, or service operation. - - The list of possible FunctionImport overloads for this segment. - The containing the entities that this function returns. - Throws if the input operations is null. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - The list of possible FunctionImport overloads for this segment. - The list of parameters supplied to this segment. - The containing the entities that this function returns. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handle interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Ensures that the entity set and computed return type make sense. - - Throws if the return type computed from the function call is null, or if the return type is not in the same hierarchy as the entity set provided. - - - - Gets the list of possible FunctionImport overloads for this segment. - - - - - Gets the list of parameters for this segment. - - - - - Gets the of this . - - - This value will be null for void service operations. - If there are multiple candidate operations with varying return types, then this property will throw. - - Throws if the type is unknown. - - - - Gets the containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - Node representing a function call which returns a single entity. - - - - - the name of this function - - - - - the list of funcitonImports represented by this node. - - - - - List of arguments provided to the function. - - - - - The return type of this function. - - - - - The EntitySet containing the single entity that this function returns. - - - - - The semantically bound parent of this function. - - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - the list of function imports this node represents. - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - The semantically bound parent of this function. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call - - - - - Gets the list of function imports that this node represents - - - - - Gets the list of arguments provided to the function. - - - - - Gets the return type of this function. - - - - - Gets the EntitySet containing the single entity that this function returns. - - - - - Gets the return type of this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Node representing an access to a collection property value. - - - - - The value containing the property. - - - - - The EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Constructs a new . - - The value containing the property. - The EDM property which is to be accessed. - Throws if the input source or property is null. - Throws if the input property is not a collection of structural properties - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing the property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - Gets the resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of the items in the read-only enumerable. - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Returns the (non-generic) enumerator to iterate through the items. - - The enumerator object to use. - - - - A segment representing a cast on the previous segment to another type. - - - - - The target type of this type segment. - - - - - The set containing the entities that we are casting. - - - - - Build a type segment using the given . - - The target type of this segment, which may be collection type. - The set containing the entities that we are casting. This can be null. - Throws if the input edmType is null. - Throws if the input edmType is not relaed to the type of elements in the input entitySet. - - - - Translate a into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this . - - - - - Gets the set containing the entities that we are casting. - - - - - Singleton sentinal instance of that indicates that $select has not been processed yet. Should never be exposed to the user. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - Represents an aliased parameter in a function call that has not yet been resolved to a specific value. - - - - - Represents the value of a property. - - - - - Indicates whether the given value is a null value. - - true if the value is an ODataNullValue, false otherwise. - - - - Initializes a new instance of . - - The alias provided as the parameter value. - The EDM type of the parameter represented by this alias. - - - - The EDM type of the parameter represented by this alias. - - - - - The alias provided as the parameter value. - - - - - Helper methods for the URI Parser. - - - - - Throws if the type is not related to the type of the given set. - - Type to check. - Second type, which should be related to the first type. - The segment that is checking this. - - - - A segment representing $value - - - - - The of this . - - - - - Build a segment to represnt $value. - - The type of the segment before $value. This may be null, for cases such as open properties. - Throws if the input previousType is a colleciton type. - - - - Translate a into another object using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of this . - - - - - Class to represent a '*' selection item, indicating that all structural properties should be selected. - - - - - Use a Select syntactic tree to populate the correct values for Selection in an already parsed - Expand Semantic Tree. - - - - - Visitor object to walk the select tree - - - - - Constructs a new SelectBinder. - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visits the top level select token - - the select token to visit - A new SelectExpandClause decorated with the information from the selectToken - - - - Visitor interface for walking the Semantic Tree. - - Generic type produced by the visitor. - - - - Visit an AllNode - - the node to visit - Defined by the implementer - - - - Visit an AnyNode - - the node to visit - Defined by the implementer - - - - Visit a BinaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a ConstantNode - - the node to visit - Defined by the implementer - - - - Visit a ConvertNode - - the node to visit - Defined by the implementer - - - - Visit an EntityCollectionCastNode - - the node to visit - Defined by the implementer - - - - Visit an EntityRangeVariableReferenceNode - - the node to visit - Defined by the implementer - - - - Visit a NonEntityRangeVariableNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityCastNode - - the node to visit - Defined by the implementer - - - - Visit a SingleNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a EntityCollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueOpenPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValuePropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a UnaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a NamedFunctionParameterNode. - - The node to visit. - Defined by the implementer - - - - Lexical token representing an expand operation. - - - - - The nav prop path for this ExpandTerm - - - - - the filter option for this expand term - - - - - the order by option for this expand term - - - - - the top option for this expand term - - - - - the skip option for this expand term. - - - - - the inlineCount option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - Create an expand term token using only a property - - the path to the navigation property - - - - Create an expand term using only the property and its subexpand/select - - the path to the navigation property for this expand term - the sub select for this token - the sub expand for this token - - - - Create an expand term token - - the nav prop for this expand term - the filter option for this expand term - the orderby option for this expand term - the top option for this expand term - the skip option for this expand term - the inlineCountOption for this expand term - the select option for this expand term - the expand option for this expand term - - - - Implement the visitor for this Token - - The type to return - A tree visitor that will visit this node. - Determined by the return type of the visitor. - - - - the nav property for this expand term - - - - - The filter option for this expand term. - - - - - the orderby option for this expand term. - - - - - the top option for this expand term. - - - - - the skip option for this expand term. - - - - - the inline count option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - the kind of this expand term. - - - - - Lexical token representing an expand operation. - - - - - The properties according to which to expand in the results. - - - - - Create a ExpandToken given the property-accesses of the expand query. - - The properties according to which to expand the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to expand in the results. - - - - - Lexical token representing a segment in a path. - - - - - - Lexical token representing a segment in a path. - - - - - - the next token in the path - - - - - build this segment token using the next token - - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - internal setter for the next token. - - the next token to set. - - - - Get the NextToken in the path - - - - - The name of the property to access. - - - - - Any named values for this NonSystemToken - - - - - The identifier for this token. - - - - - Build a NonSystemToken - - the identifier of this token - a list of named values for this token - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the list of named values for this token. - - - - - Get the identifier for this token. - - - - - Lexical token representing a segment in a path. - - - - - - The NextToken in the path(can either be the parent or the child depending on whether the tree has - been normalized for expand or not. - TODO: need to revisit this and the rest of the syntactic parser to make it ready for public consumption. - - - - - The name of the property to access. - - - - - Lexical token representing a System token such as $count - - - - - - The identifier for this SystemToken - - - - - Build a new System Token - - the identifier for this token. - the next token in the path - - - - Is this token namespace or container qualified. - - always false, since this is a system token. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the identifier for this token - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LiteralToken - - The LiteralToken to visit - A ConstantNode bound to this LambdaToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits an EndPathToken - - The EndPathToken to bind - A PropertyAccessClause bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FuntionParameterToken - - The FunctionParameterToken to bind - A user defined value - - - - Walk down a chain of type segments, checking that we find the correct type at each level. - - - - - Follow any type segments on the path, stopping at the first segment that isn't a type token. - - the first type segment - the model these types are contained in. - the maximum recursive depth - the top level entity type, will be overwritten with the last entity type in the chain - the first non type token in the path - A path with type segments added to it. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(BinaryOperatorKind), unrecognized kind of binary operator. - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(UnaryOperatorKind), unrecognized kind of unary operator. - - - Unreachable codepath in MetadataBinder.BindServiceOperation, unrecognized kind of service opertion. - - - Unreachable codepath in QueryExpressionTranslator.TranslateBinaryOperator, unrecognized kind of binary operator. - - - Unreachable codepath in UriPrimitiveTypeParser.HexCharToNibble - - - Unreachable codepath in UriQueryExpressionParser.ParseComparison - Was a new binary operator keyword without adding it to the switch in the ParseComparison? - - - Unreachable codepath in UriPrimitiveTypeParser.TryUriStringToPrimitive - Unsupported type was asked to be parsed. - - - Unreachable codepath in QueryNodeUtils.BinaryOperatorResultType, unrecognized kind of binary operator. - - - Unreachable codepath in QueryExpressionTranslator.TranslateUnaryOperator, unrecognized kind of unary operator. - - - Unreachable codepath in BinaryOperator.GetOperator, unrecognized kind of binary operator. - - - Unreachable codepath in ODataUriBuilder.WriteUnary, unrecognized kind of unary operator. - - - Unreachable codepath in ODataUriBuilderUtils.ToText(InlineCountKind), unrecognized kind of inline count. - - - - Query node representing an All query. - - - - - Node representing an Any/All query. - - - - - The collection of rangeVariables in scope for this Any or All. - - - - - The newest range variable added for by this Any or All. - - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - The newest range variable added for by this Any or All. - - - - Gets the collection of rangeVariables in scope for this Any or All. - - - - - Gets the newest range variable added for by this Any or All. - - - - - Gets or Sets the associated boolean expression - - - - - Gets or Sets the parent entity set or navigation property - - - - - Create an AllNode - - The name of the rangeVariables list. - - - - Create an AllNode - - The name of the rangeVariables list. - The new range variable being added by this all node - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the All Query - - - - - Lexical token representing the Any/All Query - - - - - The parent token. - - - - - The parameter which denotes source type. - - - - - The expression component of Any. - - - - - Create a AnyAllQueryToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The parent token. - - - - - The expression. - - - - - The parameter. - - - - - Create a AllToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Query node representing an Any query. - - - - - Create a AnyNode - - The name of the parameter list. - - - - Create a AnyNode - - The name of the parameter list. - The name of the new range variable being added by this AnyNode - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the Any Query - - - - - Create a AnyToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - In-memory annotation class to associate CLR instance types with - (non-primitive) EDM types. - - - - - true if reflection over the instance type is supported; otherwise false. - - - - - The instance type represented by this annotation. - - - - - In-memory annotation class to associate a result kind with a service operation. - - - - - The result kind of the service operation. - - - - - Annotation to hold information for a particular property. - - - - - true if reflection over the property is allowed; otherwise false. - - - - - Use this type to describe the kind of results returned by a service - operation. - - - - - A single direct value which cannot be further composed. - - - - - An enumeration of values which cannot be further composed. - - - - - A queryable object which returns multiple elements. - - - - - A queryable object which returns a single element. - - - - - No result return. - - - - - Lexical token representing a single nonroot segment in the query path. - - - - - The Identifier of the segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - The NextToken segment. - - - - - Create a new StartPathToken given the Identifier and NextToken and namedValues if any - - The Identifier of the segment, the identifier. - The NextToken segment, or null if this is the root segment. - The named values in the key lookup for this segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The Identifier of the segment, the identifier. - - - - - The NextToken segment, or null if this is the root segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - Utility methods used with the OData Query library. - - - - - Checks whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Sets whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Gets the result kind of the . - - The to check. - The containing the annotation. - The result kind of the or null if no result kind annotation exists. - - - - Sets the result kind of the . - - The to check. - The containing the annotation. - The result kind to set. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified ; if no such service operation exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified or null if no such service operation exists. - - - - Returns the instance type for the specified or null if none exists. - - The type reference to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - All primitive type references are guaranteed to have an instance type. - - - - Returns the instance type for the specified or null if none exists. - - The type to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - - - - Sets the instance type for the specified ; if null is specified an existing instance type will be removed. - - The type to get the instance type for. - Model containing annotations. - The instance type for the or null to remove an existing instance type. - - - - Checks whether reflection over the instance type is allowed or not. - - The type reference to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type reference to check. - The model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified ; if no such entity set exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified or null if no such entity set exists. - - - - Method that checks whether a function import is a service operation. - - The containing annotations. - The to check. - true if the represents a service operation; otherwise false. - - A is considered a service operation if it is annotated with an m:HttpMethod attribute. - - - - - Method that checks whether a function import is an action. - - The containing annotations. - The to check. - true if the represents an action; otherwise false. - - A is considered an action if it is side-effecting but not annotated with an m:HttpMethod attribute. - - - - - Class to wrap around BinaryOperatorKind that gives precedent meaning to it. - - - - Wrapper for Add operator kind. - - - Wrapper for And operator kind. - - - Wrapper for Divide operator kind. - - - Wrapper for Equal operator kind. - - - Wrapper for GreaterThanOrEqual operator kind. - - - Wrapper for GreaterThan operator kind. - - - Wrapper for LessThanOrEqual operator kind. - - - Wrapper for LessThan operator kind. - - - Wrapper for Modulo operator kind. - - - Wrapper for Multiply operator kind. - - - Wrapper for NotEqual operator kind. - - - Wrapper for Or operator kind. - - - Wrapper for Subtract operator kind. - - - - The text for this operator. - - - - - The precedence for this operator. - - - - - Whether it needs parentheses against other same operator. - - - - - Create a new BinaryOperator given its text, precedence, - and whether it needs parentheses against other same operator. - - The text for this operator. - The precedence for this operator in relative to other operators. - - Whether it needs parentheses - when nesting with other operators of same precedence. - - - - - Get the BinaryOperator wrapper for the given operatorKind. - - The kind to get wrapper for. - The binary operator for the specified . - - - - Whether it needs parentheses against other same operator. - - - - - The precedence for this operator. - - - - - The text for this operator. - - - - - Lexical token representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Create a new BinaryOperatorToken given the operator, left and right query. - - The operator represented by this node. - The left operand. - The right operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Enumeration of binary operators. - - - - - The logical or operator. - - - - - The logical and operator. - - - - - The eq operator. - - - - - The ne operator. - - - - - The gt operator. - - - - - The ge operator. - - - - - The lt operator. - - - - - The le operator. - - - - - The add operator. - - - - - The sub operator. - - - - - The mul operator. - - - - - The div operator. - - - - - The mod operator. - - - - - Class to handle writing an BinaryOperatorToken. - This class optimizes on reducing parentheses as base on operator precedence. - - - - - The parent ODataUriBuilder that invokes this binary operator builder. - - - - - Create a new BinaryOperatorToken for the given Uri builder to write BinaryOperatorToken. - - The parent builder of this builder. - - - - Write the given binary token as Uri part. - - To write as Uri part. - - - - Determine whether parentheses are needed around the left subtree base on the current operator. - - The current binary node's operator. - The left binary subtree. - True if need parenthese, false if not. - - - - Determine whether parentheses are needed around the right subtree base on the current operator. - - The current binary node's operator. - The right binary subtree. - True if need parentheses, false if not. - - - - Write the given binary token as Uri part. - - Whether parentheses are needed around the written expression. - To write as Uri part. - - - - Class containing definitions of all the built-in functions. - - - - - Dictionary of the name of the built-in function and all the signatures. - - - - - Returns a list of signatures for a function name. - - The name of the function to look for. - The list of signatures available for the function name. - true if the function was found, or false otherwise. - - - Builds a description of a list of function signatures. - Function name. - Function signatures. - A string with ';'-separated list of function signatures. - - - - Creates all of the spatial functions - - Dictionary of functions to add to. - - - - Builds the list of all built-in functions. - - Returns a dictionary of built in functions. - - - - Creates all string functions. - - Dictionary of functions to add to. - - - - Creates all date and time functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for date time functions. - - The array of signatures for a date time functions. - - - - Builds the set of signatures for timespan functions. - - The set of signatures for timespan functions. - - - - Creates all math functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for math functions. - - The array of signatures for math functions. - - - - Node representing a primitive constant value. - - - - - The primitive constant value. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - - - - - Create a ConstantNode - - This node's primitive value. - The literal text for this node's value, formatted according to the OData URI literal formatting rules. - Throws if the input literalText is null. - - - - Create a ConstantNode - - This node's primitive value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the primitive constant value. - - - - - Get or Set the literal text for this node's value, formatted according to the OData URI literal formatting rules. May be null if the text was not provided at construction time. - - - - - Gets the resouce type of the single value this node represents. - - - - - Gets the kind of the query node. - - - - - Node representing a conversion of primitive type to another type. - - - - - The source value to convert. - - - - - The target type that the source will be converted to. - - - - - Constructs a ConvertNode. - - The node to convert. - The type to convert the node to - Throws if the input source or typeReference is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Get the source value to convert. - - - - - Get the type we're converting to. - - - - - Get the kind of this node. - - - - - Query node representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Create a BinaryOperatorNode - - The binary operator type. - The left operand. - The right operand. - Throws if the left or right inputs are null. - Throws if the two operands don't have the same type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the left operand. - - - - - Gets the right operand. - - - - - Gets the resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Possible values of $inlinecount. - - - - - Do not include count in response. - - - - - Include the count of all entries in response. - - - - - Keyword enum values related to the URI query syntax - such as $metadata, $count, $value, etc. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - - Helper methods for with literals. - - - - - Parse the given text as a Geography literal. - - The text to parse. - The Geography object if succeeded, else a ParseErrorException is thrown. - - - - Parse the given text as a Geometry literal. - - The text to parse. - The Geometry object if succeeded, else a ParseErrorException is thrown. - - - - Convert to string the given Geography instance. - - Instance to convert. - Well-known text representation. - - - - Convert to string the given Geometry instance. - - Instance to convert. - Well-known text representation. - - - - The formatter to create/format text to and from spatial. - - - - - URI builder that constructes a from the parsed query tokens. - - - - - The query token to write to Uri. - - - - - The string builder to write the query token to. - - - - - Create a new Uri builder for the given token. - - The token to write out as Uri. - - - - Create a URI for the given queryDescriptor given the base service URI. - - The base service URI. - The query descriptor to create the result URI from. - An absolute URI that base on the baseUri and represent the queryDescriptor. - - - - Get the Uri string representation of the given CLR object literal. - - The object to return as literal. - Uri string represent if is a CLR literal. Throw exception if not. - - - - Write the descriptor token as URI part to this builder. - - To write as URI part. - - - - Append the given text to this builder. - - The text to append. - - - - Write the query token as URI part to this builder. - - To write as URI part. - - - - Write the Uri string representation of the given CLR object literal to the given builder. - - The to write the to. - The object to write as literal. - - - - Build the queryToken as Uri string part. - - The Uri part representing the queryToken. - - - - Write the binary token as URI part to this builder. - - To write as URI part. - - - - Write the function call token as URI part to this builder. - - To write as URI part. - - - - Writes a path to this builder. - - Array of segments. - - - - Write the literal token as URI part to this builder. - - To write as URI part. - - - - Write the orderby tokens as URI part to this builder. - - To write as URI part. - - - - Write the orderby token as URI part to this builder. - - To write as URI part. - - - - Write out a PathSegmentToken - - the pathSegmentToken to write. - - - - Write the property access token as URI part to this builder. - - To write as URI part. - - - - Write the navigation property token as URI part to this builder. - - To write as URI part. - - - - Write the given queryOption as Uri part. - - To write as URI part. - - - - Write ? or & depending on whether it is the start of the whole query or query part. - - True if start of whole query, false if not. - This is set to false after this method is called. - - - - Write the select token as URI part to this builder. - - To write as URI part. - - - - Write the expand token as URI part to this builder. - - To write as URI part. - - - - Write the star token as URI part to this builder. - - To write as URI part. - - - - Write the unary token as URI part to this builder. - - To write as URI part. - - - - Constants and utility methods for the OData URI builder. - - - - - The format for integer ToString output. - - - - - The format for float ToString output. - - - - - The format for byte ToString output. - - - - - The format for double ToString output. - - - - - The format for DateTime ToString output. - - - - - The format for DateTimeOffset ToString output. - - - - - The format for Decimal ToString output. - - - - - The format for Double ToString output. - - - - - Escape a string literal by replacing single ' with ''. - - Text to escape. - A string where all ' is replaced by ''. - - - - Returns the string representation of the inline count kind. - - The inline count kind to convert to string. - The string representation of the . - - - - Throw ODataException on the given QueryTokenKind as not supported for writing to Uri. - - QueryTokenKind that is not supported. - - - - Throw ODataException on the given CLR type as not supported for writing to Uri. - - CLR type that is not supported. - - - Use this class to perform late-bound operations on open properties. - This class was copied from the product. - - - MethodInfo for Add. - - - MethodInfo for AndAlso. - - - MethodInfo for Convert. - - - MethodInfo for Divide. - - - MethodInfo for Equal. - - - MethodInfo for GreaterThan. - - - MethodInfo for GreaterThanOrEqual. - - - MethodInfo for LessThan. - - - MethodInfo for LessThanOrEqual. - - - MethodInfo for Modulo. - - - MethodInfo for Multiply. - - - MethodInfo for Negate. - - - MethodInfo for Not. - - - MethodInfo for NotEqual. - - - MethodInfo for OrElse. - - - MethodInfo for Subtract. - - - MethodInfo for TypeIs. - - - MethodInfo for object OpenTypeMethods.GetValue(this object value, string propertyName). - - - Gets a named value from the specified object. - Object to get value from. - Name of property to get. - The requested value; null if not found. - - - Adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Performs logical and of two expressions. - Left value.Right value. - The result of logical and. - - - Divides two values. - Left value.Right value. - The divided value. - - - Checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Performs logical or of two expressions. - Left value.Right value. - The result of logical or. - - - Subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Negates (arithmetically) the specified value. - Value. - The negated value. - - - Negates (logically) the specified value. - Value. - The negated value. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference to check for. - True if value is-a type; false otherwise. - - - - Concats the given 2 string. - - first string. - second string. - returns a new instance of the concatenated string. - - - - Checks with the parameters are of string type, if no, then they throw. - Otherwise returns true if the target string ends with the given sub string - - target string - sub string - Returns true if the target string ends with the given sub string, otherwise return false. - - - - Returns the index of the given substring in the target string. - - target string - sub string to match - returns the index of the given substring in the target string if present, otherwise returns null. - - - - Returns the length of the given string value. If the value is not of string type, then it throws. - - value whose length needs to be calculated. - length of the string value. - - - - Replaces the given substring with the new string in the target string. - - target string - substring to be replaced. - new string that replaces the sub string. - returns a new string with the substring replaced with new string. - - - - Checks whether the target string starts with the substring. - - target string. - substring - returns true if the target string starts with the given sub string, otherwise returns false. - - - - Returns the substring given the starting index - - target string - starting index for the substring. - the substring given the starting index. - - - - Returns the substring from the target string. - - target string. - starting index for the substring. - length of the substring. - Returns the substring given the starting index and length. - - - - Checks whether the given string is a substring of the target string. - - substring to check for. - target string. - returns true if the target string contains the substring, otherwise returns false. - - - - Returns a copy of the target string converted to lowercase. - - target string - a new string instance with everything in lowercase. - - - - Returns a copy of the target string converted to uppercase. - - target string - a new string instance with everything in uppercase. - - - - Removes all leading and trailing white-space characters from the target string. - - target string. - returns the trimed string. - - - - Returns the year value of the given datetime. - - datetime object. - returns the year value of the given datetime. - - - - Returns the month value of the given datetime. - - datetime object. - returns the month value of the given datetime. - - - - Returns the day value of the given datetime. - - datetime object. - returns the day value of the given datetime. - - - - Returns the hour value of the given datetime. - - datetime object. - returns the hour value of the given datetime. - - - - Returns the minute value of the given datetime. - - datetime object. - returns the minute value of the given datetime. - - - - Returns the second value of the given datetime. - - datetime object. - returns the second value of the given datetime. - - - - Returns the ceiling of the given value - - decimal or double object. - returns the ceiling value for the given double or decimal value. - - - - returns the floor of the given value. - - decimal or double object. - returns the floor value for the given double or decimal value. - - - - Rounds the given value. - - decimal or double object. - returns the round value for the given double or decimal value. - - - Creates an expression that adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Creates a call expression that represents a conditional AND operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that divides two values. - Left value.Right value. - The divided value. - - - Creates an expression that checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Creates an expression that checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Creates an expression that checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Creates an expression that checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Creates an expression that checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Creates an expression that calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Creates an expression that multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Creates a call expression that represents a conditional OR operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Creates an expression that subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Creates an expression that negates (arithmetically) the specified value. - Value expression. - The negated value. - - - Creates an expression that negates (logically) the specified value. - Value expression. - The negated value. - - - - Returns the specified with a - type assignable to System.Object. - - Expression to convert. - - The specified with a type assignable - to System.Object. - - - - - Lexical token representing the parameter for an Any/All query. - - - - - The name of the Any/All parameter. - - - - - Create a new RangeVariableToken - - The name of the visitor for the Any/All query. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the parameter. - - - - - Lexical token representing a query option. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Create a new CustomQueryOptionToken given name and value. - - The name of the query option. - The value of the query option. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Helper methods for working with query tokens. - - - - - Try to parse the given string as a InlineCountKind. - - The string to be parsed. - A InlineCountKind value if successful. Null if not. - - - - Try to parse the given segment name as a KeywordKind. - - The segment name. - A KeywordKind value if successful. Null if not. - - - - Get the Uri name equivalent of the given KeywordKind. - - The KeywordKind to get name for. - A $ keyword that represent the given keyword. - - - - Lexical token representing a select operation. - - - - - The properties according to which to select the results. - - - - - Create a SelectToken given the property-accesses of the select query. - - The properties according to which to select the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to select the results. - - - - - Node representing a function call which returns a single value. - - - - - the name of this function. - - - - - The list of function imports - - - - - List of arguments to this function call. - - - - - The type of value returned by this function. - - - - - The semantically bound parent of this function - - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - List of arguments to this function call. - The type of value returned by this function. - Throws if the input name is null. - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - the list of functions to call - the list of arguments to this function - the type of the value returned by this function. - The semantically bound parent of this function. - Throws if the input functionImports is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call. - - - - - Gets the list of function imports. - - - - - Gets the list of arguments to this function call. - - - - - Gets The type of value returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Class representing a function signature using EDM types. - - - - The argument types for this function signature. - - - - Constructor taking all the argument types. - - The argument types for this function signature. - - - - The argument types for this function signature. - - - - - Class representing a function signature using EDM types. - - - - - The return type of this function signature. - - - - - Constructor taking all the argument types. - - The return type of this function signature. - The argument types for this function signature. - - - - The return type of this function signature. - - - - - Lexical token representing an all-properties access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a new StarToken given the NextToken (if any). - - The NextToken token to access the property on. Pass no if this property has no NextToken. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - the name of this token(inherited from PathToken), which in this case is always "*" - - - - - Helper methods for promoting argument types of operators and function calls. - - - Note that the lists of signatures are for matching primitive types to functions. - Equality (eq and ne) operators are a bit special since they are also defined for - entity and complex types. - - - - Function signatures for logical operators (and, or). - - - Function signatures for the 'not' operator. - - - Function signatures for arithmetic operators (add, sub, mul, div, mod). - - - Function signatures for relational operators (eq, ne, lt, le, gt, ge). - - - Function signatures for the 'negate' operator. - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type reference of left operand. - Type reference of right operand. - True if a valid function signature was found that matches the given types after any necessary promotions are made. - False if there is no binary operators - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type of the operand. - True if the type could be promoted; otherwise false. - - - Finds the best fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The best fitting function; null if none found or ambiguous. - - - Finds the exact fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The exact fitting function; null if no exact match was found. - - - Checks whether the source type is compatible with the target type. - Source type. - Target type. - true if source can be used in place of target; false otherwise. - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - Finds the best methods for the specified arguments given a candidate method enumeration. - The candidate function signatures. - The argument type references to match. - The number of "best match" methods. - - - Checks whether the specified method is applicable given the argument expressions. - The candidate function signature to check. - The argument types to match. - An applicable function signature if all argument types can be promoted; 'null' otherwise. - - - Promotes the specified expression to the given type if necessary. - The actual argument type. - The required type to promote to. - True if the could be promoted; otherwise false. - - - Finds the best applicable methods from the specified array that match the arguments. - The candidate function signatures. - The argument types to match. - Best applicable methods. - - - - Checks whether the type list has better argument matching against the - than the type list. - - Actual arguments types. - First type list to check. - Second type list to check. - - True if has better parameter matching than ; otherwise false. - - - - Checks which conversion is better. - Source type. - First candidate type to convert to. - Second candidate type to convert to. - - Return 1 if s -> t1 is a better conversion than s -> t2 - Return -1 if s -> t2 is a better conversion than s -> t1 - Return 0 if neither conversion is better - - - - - Tries to handle the special eq and ne operators, which have a broader definition than the other binary operators. - We try a few special cases and return true if we used one of them. Otherwise we return false, and - allow the regular function matching code to handle the primitive cases. - - Left type. - Right type. - True if this function was able to handle the promotion of these types, false otherwise. - - - Checks whether the specified type is a signed integral type. - Type reference to check. - true if is a signed integral type; false otherwise. - - - Checks whether the specified type is an unsigned integral type. - Type to check. - true if is an unsigned integral type; false otherwise. - - - Checks if the specified type is a decimal or nullable decimal type. - Type to check. - true if is either decimal or nullable decimal type; false otherwise. - - - Checks if the specified type is either double or single or the nullable variants. - Type to check. - true if is double, single or nullable double or single; false otherwise. - - - Gets a flag for the numeric kind of type. - Type to get numeric kind for. - The of the argument. - - - Numeric type kinds. - - - A type that is not numeric. - - - A type that is a char, single, double or decimal. - - - A type that is a signed integral. - - - A type that is an unsigned integral. - - - - Extension methods to make it easier to work with PropertyInfo objects on a type. - - - - - Gets the property info for the EDM property on the specified type. - - The type to get the property on. - Property instance to get the property info for. - Model containing annotations. - Returns the PropertyInfo object for the specified property. - The method searches this type as well as all its base types for the property. - - - - Annotation stored on a type to hold PropertyInfo objects for its properties. - - - - - Cache of property info objects already created for properties on the type the annotation is on. - - - - - Gets the property info annotation for the specified type or creates a new one if it doesn't exist. - - The type to get the annotation for. - The model containing annotations. - The property info annotation. - - - - Gets the property info for the EDM property declared on this type. - - The structured type to get the property on. - Property instance to get the property info for. - The model containing annotations. - Returns the PropertyInfo object for the specified EDM property. - - - - Node representing an access to a property value. - - - - - The value containing this property. - - - - - The EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Constructs a . - - The value containing this property. - The EDM property which is to be accessed. - Throws if input source or property is null. - Throws if input property is not structural, or is a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Node representing a type segment that casts a single entity parent node. - - - - - The entity that we're casting to a different type. - - - - - The target type that the source is cast to. - - - - - The EntitySet containing the source entity. - - - - - Created a SingleEntityCastNode with the given source node and the given type to cast to. - - Source that is being cast. - Type to cast to. - Throws if the input entityType is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the entity that we're casting to a different type. - - - - - Gets the target type that the source is cast to. - - - - - Gets the target type that the source is cast to. - - - - - Gets the EntitySet containing the source entity.. - - - - - Gets the kind of this query node. - - - - - Lexical token representing a type segment. - - - - - The Identifier of the type segment. - - - - - The parent segment. - - - - - Create a TypeSegmentQueryToken given the Identifier and the parent (if any) - - The Identifier of the type segment, including the namespace. - The parent segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The full name of the type. - - - - - The parent. - - - - - Node representing a unary operator. - - - - - The operand of the unary operator. - - - - - The operator represented by this node. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Creates a UnaryOperatorNode - - the kind of operator this node represents - the operand that this operator modifies - Throws if the input operand is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the operand of the unary operator. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this query node. - - - - - Helper methods for working with query nodes. - - - - - Checks whether a query node is a collection query node representing a collection of entities. - - The to check. - The converted or null if is not an entity collection node. - - - - Checks whether a query node is a collection query node representing a collection. - - The to check. - The converted or null if is not a collection node. - - - - Compute the result type of a binary operator based on the type of its operands and the operator kind. - - The type reference of the operators. - The kind of operator. - The result type reference of the binary operator. - - - Use this class to parse an expression in the OData URI format. - - Literals (non-normative "handy" reference - see spec for correct expression): - Null null - Boolean true | false - Int32 (digit+) - Int64 (digit+)(L|l) - Decimal (digit+ ['.' digit+])(M|m) - Float (digit+ ['.' digit+][e|E [+|-] digit+)(f|F) - Double (digit+ ['.' digit+][e|E [+|-] digit+) - String "'" .* "'" - DateTime datetime"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]"'" - DateTimeOffset datetimeoffset"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]-dd:mm"'" - Time time"'"dd:mm[ss[.fffffff]]"'" - Binary (binary|X)'digit*' - GUID guid'digit*' - - - - - For an identifier, EMD supports chars that match the regex [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}] - IsLetterOrDigit covers Ll, Lu, Lt, Lo, Lm, Nd, this set covers the rest - - - - Text being parsed. - - - Length of text being parsed. - - - flag to indicate whether to delimit on a semicolon. - - - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - Position on text being parsed. - - - Character being processed. - - - Token being processed. - - - Lexer ignores whitespace - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - - Determines if the next token can be processed without error without advancing the token. - - The next ExpressionToken. This value is undefined if error is defined. - Exception generated from trying to process the next token. - True if the next token can be processed, false otherwise. - - - Reads the next token, skipping whitespace as necessary, advancing the Lexer. - The next token. - Throws on error. - - - - Starting from an identifier, reads a sequence of dots and - identifiers, and returns the text for it, with whitespace - stripped. - - do we allow a star in this identifier - The dotted identifier starting at the current identifier. - - - Returns the next token without advancing the lexer. - The next token. - - - - Check whether the current identifier is a function. If so, expand the token text to the function signature - - True if the current identifier is a function call - - - Validates the current token is of the specified kind. - Expected token kind. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - Reads the next token, skipping whitespace as necessary. - Error that occurred while trying to process the next token. - The next token, which may be 'bad' if an error occurs. - - - - Expand the token selection if the next token matches the input token - - the list of token id to match - true if matched - - - Handles lexemes that are formed by an identifier followed by a quoted string. - This method modified the token field as necessary. - - - Advanced to the next character. - - - Parses a token that starts with a digit. - The kind of token recognized. - - - - Parses white spaces - - - - - Parses a complex value - - the starting delimiter - the ending delimiter. - - - - Advance the pointer to the next occurance of the given value, swallowing all characters in between. - - the ending delimiter. - - - Parses an identifier by advancing the current character. - - - Sets the text position. - New text position. - - - Validates the current character is a digit. - - - Token being processed. - - - Text being parsed. - - - Position on text being parsed. - - - - Gets if the current char is whitespace. - - - - - Gets if the current char is digit. - - - - - Is the current char a valid starting char for an identifier. - Valid starting chars for identifier include all that are supported by EDM ([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}]) and '_'. - - - - - Is the current char a valid non-starting char for an identifier. - Valid non-starting chars for identifier include all that are supported - by EDM [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}]. - This list includes '_', which is ConnectorPunctuation (Pc) - - - - This class implements IEqualityComparer for UnicodeCategory - - Using this class rather than EqualityComparer<T>.Default - saves from JIT'ing it in each AppDomain. - - - - - Checks whether two unicode categories are equal - - first unicode category - second unicode category - true if they are equal, false otherwise - - - - Gets a hash code for the specified unicode category - - the input value - The hash code for the given input unicode category, the underlying int - - - Use this class to represent a lexical expression token. - - - Token representing gt keyword - - - Token representing eq keyword - - - Token representing lt keyword - - - InternalKind of token. - - - Token text. - - - Position of token. - - - Provides a string representation of this token. - String representation of this token. - - - Gets the current identifier text. - The current identifier text. - - - Checks that this token has the specified identifier. - Identifier to check. - true if this is an identifier with the specified text. - - - Checks whether this token is a comparison operator. - - - Checks whether this token is an equality operator. - - - Checks whether this token is a valid token for a key value. - - - Checks whether this token is a valid token for a function parameter. - - - Enumeration values for token kinds. - - - Unknown. - - - End of text. - - - '=' - equality character. - - - Identifier. - - - NullLiteral. - - - BooleanLiteral. - - - StringLiteral. - - - IntegerLiteral. - - - Int64 literal. - - - Single literal. - - - DateTime literal. - - - DateTimeOffset literal. - - - Time literal. - - - Decimal literal. - - - Double literal. - - - GUID literal. - - - Binary literal. - - - Geography literal. - - - Geometry literal. - - - Exclamation. - - - OpenParen. - - - CloseParen. - - - Comma. - - - Colon. - - - Minus. - - - Slash. - - - Question. - - - Dot. - - - Star. - - - SemiColon - - - ParameterAlias - - - A Brace BracketedExpression is an expression within brackets or braces. It contains a JSON object or array. - - - - Lexical token representing a function call. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - the source token for this function call - - - - - Create a new FunctionCallToken using the given function name and argument values. - - The name of the function to call. - The argument values for the function. - - - - Create a new FunctionCallToken using the given function name and parameter tokens. - - The name of the function to call. - The arguments for the function. - The syntactically bound parent of this function - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - The syntactically bound parent of this function. - - - - - Node representing a key lookup on a collection. - - - - - The collection that this key is referring to. - - - - - The EntitySet containing the collection this key referrs to. - - - - - The resouce type of the single value the key referrs to. - - - - - List of the properties and their values that we use to look up our return value. - - - - - Constructs a KeyLookupNode. - - The collection that this key is referring to. - List of the properties and their values that we use to look up our return value. - Throws if the input source is null. - - - - Gets the collection that this key is referring to. - - - - - Gets the list of the properties and their values that we use to look up our return value. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the EntitySet that contains the collection this key referrs to. - - - - - Gets the kind for this node. - - - - - Class representing a single key property value in a key lookup. - - - - - Gets or sets the key property. - - - - - Gets or sets the value of the key property. - - - - - Class representing a single named value (name and value pair). - - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Create a new NamedValue lookup given name and value. - - The name of the value. Or null if the name was not used for this value. - The value - a literal. - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Lexical token representing a literal value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - The value of the literal. This is a parsed primitive value. - - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - The original text value of the literal. - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The value of the literal. This is a parsed primitive value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Binder which applies metadata to a lexical QueryToken tree and produces a bound semantic QueryNode tree. - - - - - Encapsulates the state of the metadate binding. - - - - - Constructs a MetadataBinder with the given . - This constructor gets used if you are not calling the top level entry point ParseQuery. - This is an at-your-own-risk constructor, since you must provide valid initial state. - - The initialState to use for binding. - - - - Processes the skip operator (if any) and returns the combined query. - - The skip amount or null if none was specified. - the skip clause - - - - Processes the top operator (if any) and returns the combined query. - - The top amount or null if none was specified. - the top clause - - - - Process the remaining query options (represent the set of custom query options after - service operation parameters and system query options have been removed). - - the current state of the binding algorithm. - pointer to a binder method. - The list of instances after binding. - - - - Visits a in the lexical tree and binds it to metadata producing a semantic . - - The query token on the input. - The bound query node output. - - - - Bind a function parameter token - - The token to bind. - A semantically bound FunctionCallNode - - - - Binds a InnerPathToken. - - Token to bind. - Either a SingleNavigationNode, CollectionNavigationNode, SinglePropertyAccessNode (complex), - or CollectionPropertyAccessNode (primitive or complex) that is the metadata-bound version of the given token. - - - - Binds a parameter token. - - The parameter token to bind. - The bound query node. - - - - Binds a literal token. - - The literal token to bind. - The bound literal token. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Binds a type startPath token. - - The type startPath token to bind. - The bound type startPath token. - - - - Binds a LambdaToken. - - The LambdaToken to bind. - A bound Any or All node. - - - - Binds a property access token. - - The property access token to bind. - The bound property access token. - - - - Binds a function call token. - - The function call token to bind. - The bound function call token. - - - - Encapsulates the state of the metadate binding. - - - - - Delegate for a function that visits a QueryToken and translates it into a bound QueryNode. - TODO : Eventually replace this with a real interface for a visitor. - - QueryToken to visit. - Metadata bound QueryNode. - - - - Enumeration of order by directions. - - - - - Ascending order. - - - - - Descending order. - - - - - Lexical token representing an order by operation. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Create a new OrderByToken given the expression and direction - - The expression according to which to order the results. - The direction of the ordering. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Lexical token representing the last segment in a path. - - - - - The Identifier of the property to access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a EndPathToken given the Identifier and the NextToken (if any) - - The Identifier of the property to access. - The NextToken token to access the property on. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - The Identifier of the property to access. - - - - - The root node of a query. Holds the query itself plus additional metadata about the query. - - - - - The top level path for this Uri. - - - - - Any custom query options for this Uri. - - - - - Any select or expand options in this uri. Can be null. - - - - - Any filter option in this uri. Can be null. - - - - - Any order by option in this uri. Can be null. - - - - - Any skip option in this uri. Can be null. - - - - - Any top option in this uri. Can be null. - - - - - Any inline count option in this uri. Can be null. - - - - - Create a new ODataUri. This contains the semantic meaning of the - entire uri. - - The top level path for this uri. - Any custom query options for this uri. Can be null. - Any $select or $expand option for this uri. Can be null. - Any $filter option for this uri. Can be null. - Any $orderby option for this uri. Can be null - Any $skip option for this uri. Can be null. - Any $top option for this uri. Can be null. - Any $inlinecount option for this uri. Can be null. - - - - Gets the top level path for this uri. - - - - - Gets any custom query options for this uri. - - - - - Gets any $select or $expand option for this uri. - - - - - Gets any $filter option for this uri. - - - - - Gets any $orderby option for this uri. - - - - - Gets any $skip option for this uri. - - - - - Gets any $top option for this uri. - - - - - Get any $inlinecount option for this uri. - - - - - Lexical token representing the entire query. - - - - - The default setting for the max depth. - - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Create a new SyntacticTree given its parts as arguments. - - The path for the query. Must not be null. - The filter for the query. If the property is null, there's no filter for this query. - Enumeration of order by tokens. - The select for the query. If the property is null, there's no select for this query. - The expansions for the query. If the property is null, there are no expandsion for this query. - The number of entities to skip in the result. - The (maximum) number of entities to include in the result. - Type of inlinecount in the response of the query. - The format for the query. - The query options for the query. - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - A new instance of which represents the query specified in the . - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - The maximum depth of any single query part. Security setting to guard against DoS attacks causing stack overflows and such. - A new instance of which represents the query specified in the . - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Public enumeration of kinds of query nodes. A subset of InternalQueryNodeKind - - - - - No query node kind... the default value. - - - - - A constant value. - - - - - A node that represents conversion from one type to another. - - - - - Non-entity node referencing a range variable. - - - - - Node used to represent a binary operator. - - - - - Node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection of entities. - - - - - Placeholder node referencing a rangeVariable on the binding stack that references an entity. - - - - - Node the represents a function call that returns a single entity. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - Internal enumeration of kinds of query nodes. A superset of QueryNodeKind - - - - - none... default value. - - - - - The constant value. - - - - - A node that signifies the promotion of a primitive type. - - - - - Non-entity node referencing a range variable. - - - - - Parameter node used to represent a binary operator. - - - - - Parameter node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection. - - - - - Entity node referencing a range variable. - - - - - SingleEntityFunctionCall node. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - The entity set node. - - - - - The key lookup on a collection. - - - - - Helper methods for working with query options. - - - - - Returns a query option value by its name and removes the query option from the collection. - - The collection of query options. - The name of the query option to get. - The value of the query option or null if no such query option exists. - - - - Node representing an entity set. - TODO : This should be deleted but it is used in many, many tests. - - - - - The entity set this node represents. - - - - - The resouce type of a single entity in the entity set. - - - - - the type of the collection returned by this function - - - - - Creates an - - The entity set this node represents - Throws if the input entitySet is null. - - - - Gets the resouce type of a single entity in the entity set. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity in the entity set. - - - - - Gets the entity set this node represents. - - - - - Gets the kind for this node. - - - - - Parser which consumes the URI format of primitive types and converts it to primitive types. - - - - Whitespace characters to trim around literals. - - - Determines whether the specified character is a valid hexadecimal digit. - Character to check. - true if is a valid hex digit; false otherwise. - - - Converts a string to a primitive value. - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of the WebConvert.TryKeyStringToPrimitive - - - - Try to parse a string value into a non-negative integer. - - The string value to parse. - The non-negative integer value parsed from the . - True if could successfully be parsed into a non-negative integer; otherwise returns false. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - Whether quotes were successfully removed. - Copy of WebConvert.TryRemoveQuotes. - - - - Converts a string to a byte[] value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToByteArray. - - - - Converts a string to a GUID value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToGuid. - - - - Converts a string to a DateTime value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTime. - - - - Converts a string to a DateTimeOffset value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTimeOffset. - - - - Converts a string to a Time value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToTime. - - - - Try to parse the given text to a Geography object. - - Text to parse. - Geography to return. - True if succeeds, false if not. - - - - Try to parse the given text to a Geometry object. - - Text to parse. - Geometry to return. - True if succeeds, false if not. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Checks whether the specified text is a correctly formatted quoted value. - - Text to check. - true if the text is correctly formatted, false otherwise. - Copy of WebConvert.IsKeyValueQuoted. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - The specified with single quotes removed. - Copy of WebConvert.RemoveQuotes. - - - - Returns the 4 bits that correspond to the specified character. - - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - This is a copy of WebConvert.HexCharToNibble. - - - - Enumeration of kinds of query tokens. - - - - - The binary operator. - - - - - The unary operator. - - - - - The literal value. - - - - - The function call. - - - - - The property access. - - - - - The order by operation. - - - - - A query option. - - - - - The Select query. - - - - - The *. - - - - - The Expand query. - - - - - Type segment. - - - - - Any query. - - - - - Non root segment. - - - - - type segment. - - - - - Parameter token. - - - - - All query. - - - - - ExpandTerm Token - - - - - FunctionParameterToken - - - - - FunctionParameterAlias - - - - - RawFunctionParameterValue - - - - - Lexical token representing a unary operator. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Create a new UnaryOperatorToken given the operator and operand - - The operator represented by this node. - The operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Enumeration of binary operators. - - - - - The unary - operator. - - - - - The not operator. - - - - - Constant values related to the URI query syntax. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A filter query option name. - - - An order by query option name. - - - A select query option name. - - - An expand query option name. - - - A skip query option name. - - - A valid value to denote all-properties access. - - - A top query option name. - - - A inline-count query option name. - - - A format query option name. - - - - Parser which consumes the query expression ($filter, $orderby) and produces the lexical object model. - - - - - The maximum number of recursion nesting allowed. - - - - - Set of parsed parameters - - - - - The current recursion depth. - - - - - The lexer being used for the parsing. - - - - - Constructor. - - The maximum depth of each part of the query - a recursion limit. - - - - Parses a literal. - - The lexer to use. - The literal query token or null if something else was found. - - - - Parses the $filter expression. - - The $filter expression string to parse. - The lexical token representing the filter. - - - - Parses the $orderby expression. - - The $orderby expression string to parse. - The enumeraion of lexical tokens representing order by tokens. - - - - Creates a new for the given filter or orderby expression. - - The expression. - The lexer for the expression, which will have already moved to the first token. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Parses typed literals. - - The lexer to use. - Expected type to be parsed. - The EDM type name of the expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses null literals. - - The lexer to use. - The literal token produced by building the given literal. - - - - Parses the expression. - - The lexical token representing the expression. - - - - Parses the or operator. - - The lexical token representing the expression. - - - - Parses the and operator. - - The lexical token representing the expression. - - - - Parses the eq, ne, lt, gt, le, ge operators. - - The lexical token representing the expression. - - - - Parses the add, sub operators. - - The lexical token representing the expression. - - - - Parses the mul, div, mod operators. - - The lexical token representing the expression. - - - - Parses the -, not unary operators. - - The lexical token representing the expression. - - - - Parses the primary expressions. - - The lexical token representing the expression. - - - - Handles the start of primary expressions. - - The lexical token representing the expression. - - - - Parses parenthesized expressions. - - The lexical token representing the expression. - - - - Parses the Any portion of the query - - The parent of the Any node. - The lexical token representing the Any query. - - - - Parses the All portion of the query - - The parent of the All node. - The lexical token representing the All query. - - - - Parses the Any/All portion of the query - - The parent of the Any/All node. - Denotes whether an Any or All is to be parsed. - The lexical token representing the Any/All query. - - - - Parses a segment. - - The parent of the segment node. - The lexical token representing the segment. - - - - Checks that the current token has the specified identifier. - - Identifier to check. - true if the current token is an identifier with the specified text. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - Delegate for a function that parses an expression and translates it into a QueryToken. - - A QueryToken - - - - Parser which consumes the URI path and produces the lexical object model. - - - - - The maximum number of segments allowed. - - - - - Constructor. - - The maximum number of segments for each part of the query. - - - - Parses the and returns a list of strings for each segment. - - The relative URI which holds the query to parse. - a list of strings for each segment in the uri. - - - - Returns list of segments in the specified path (eg: /abc/pqr -> abc, pqr). - - The absolute URI of the request. - The service base URI for the request. - List of unescaped segments. - - - - Class that knows how to bind unary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a UnaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Get the promoted type reference of the operand - - the operand - the operator kind - the type reference of the operand - - - - Retrieve SingleValueNode operand from given token. - - The token - the SingleValueNode operand - - - - Node representing a single navigation property. - - - - - The entity set that this NavigationProperty targets. - - - - - The previous node in the path. - - - - - The navigation property this node represents. - - - - - The type of entity that this NavigationProperty targets. - - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The previous node in the path. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The entity set that this of the previous segment. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the previous node in the path. - - - - - Gets the navigation property this node represents. - - - - - Gets the target multiplicity. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the entity set that this NavigationProperty targets. - - - - - Gets the kind of this query node. - - - - - Uri utility methods. - - - - - Determines whether the Uri instance is a - base of the specified Uri instance. - - - The check is host agnostic. For example, "http://host1.com/Service.svc" is a valid base Uri of "https://host2.org/Service.svc/Bla" - but is not a valid base for "http://host1.com/OtherService.svc/Bla". - - The candidate base URI. - The specified Uri instance to test. - true if the baseUri Uri instance is a base of uri; otherwise false. - - - - Parses query options from a specified URI into a dictionary. - - The uri to get the query options from. - The parsed query options. - This method returns with all the query options. - Note that it is valid to include multiple query options with the same name. - - - - is this selection item a structural or navigation property selection item. - - the selection item to check - true if this selection item is a structural property selection item. - - - Creates a URI suitable for host-agnostic comparison purposes. - URI to compare. - URI suitable for comparison. - - - - Check whether the Uri is the base of the Uri. - - The candidate base Uri. - The Uri to check. - True if the is the base of the Uri. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in the ATOM and Verbose JSON formats. - - - - - Class to validate and resolve the type name to be serialized. - - - - - Validates a type name to ensure that it's not an empty string and resolves it against the provided . - - The model to use. - The type name to validate. - The expected type kind for the given type name. - The type with the given name and kind if a user model was available, otherwise null. - - - - Resolves and validates the Edm type for the given . - - The model to use. - The type inferred from the model or null if the model is not a user model. - The value in question to resolve the type for. - true if the type name belongs to an open property, false otherwise. - A type for the or null if no metadata is available. - - - - Gets the type name from the given . - - The value to get the type name from. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type name for the given . - - - - Resolve a type name against the provided . If not payload type name is specified, - derive the type from the model type (if available). - - The model to use. - The type inferred from the model or null if the model is not a user model. - The type name to be resolved. - The expected type kind of the resolved type. - True if the type name belongs to an open property. - A type for the or null if no type name is specified and no metadata is available. - - - - Validates that the (optional) is the same as the (optional) . - - The (optional) type from the metadata definition (the expected type). - The (optional) type from the value (the actual type). - The type as derived from the and/or . - - - - Determines the type name for the given entry to write to the payload. - - The ODataEntry whose type name is to be written - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name for the given value to write to the payload. - - The value whose type name is to be written. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type resolved from the value. - The serialization type name annotation. - true if the type name belongs to an open property, false otherwise. - Returns the item type name of the collection type if is a collection value and its type name can be determined. - Type name to write to the payload, or null if no type should be written. - - - Atom metadata description for a categories element (app:categories). - - - Gets or sets a value that indicates whether the list of categories is fixed or an open set. - true if the list of categories is fixed; false if the list of categories is an open set. - - - Gets or sets the URI indicating the scheme of the categories without a scheme. - The URI indicating the scheme of the categories without a scheme. - - - Gets or sets the URI of the category document. - The URI of the category document. - - If this property is not null, the properties and must be both null - and the must be either null or empty collection. - - - - Gets or sets the atom category elements inside this categories element. - The atom category elements inside this categories element. - - - - Class responsible for storing and manipulating instance annotation data in ATOM payloads. - - - - - Backing field of the Target property. - - - - - Backing field of the Term property. - - - - - Backing field of the Value property. - - - - - Constructor. - - The target of the annotation. - The term whose value is being expressed through this annotation. - The annotation's value. - - - - Creates a new instance of this class by consuming xml from the given reader. - Creates an Atom-specific instance annotation from the format-independent representation of an annotation. - - The format-independent represetnation of an instance annotation. - The value of the target attribute on the m:annotation element, or null if the attribute should be omitted. - The created AtomInstanceAnnotation. - - - - Creates a new instance of this class by consuming xml from the given input context. - - The input context to use to create the annotation. - The property and value deserializer to use when reading values in the annotation element content. - The populated with the information from the 'm:annotation' XML element, as long as the value is a string. Returns null otherwise. - - Pre-Condition: XmlNodeType.Element - The annotation element to read. - Post-Condition: XmlNodeType.Any - The node after the end of the annotation element, or the same element as in the pre-condition if the annotation was skipped. - - - - - Retrieves the name of the attribute used in attribute value notation to indicate the given primitive type kind. - - The primitive type kind to look up. - The name of the corresponding attribute. - - - - Retrieves the Edm type represented by the given attribute name when using attribute value notation. - - The name of the attribute (must be one of "string", "int", "bool", "decimal", "float") - A nullable reference to the type represented by the attribute name, or null if the given name is not a valid attribute value notation name. - - - - Reads the current element's content as an ODataValue. - - The property and value deserializer to use to read values in ATOM. - The expected type of the annotation, may be null if the term is not defined in the model. - The deserialized value. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Reads an annotation's value from the annotation value notation specified on the current element. - - The expected type reference of the vocabulary term from the metadata. - The type reference indicated by the name of the attribute used in attribute value notation. - For example, if the attribute was called "string", this will be a reference to the string type. - The name of the attribute used by attribute avalue notation. - The value of the attribute used by attribute value notation. - The value of the "m:type" attribute on the annotation element. - true if the annotation element is empty, false otherwise. - The edm model instance. - The message reader settings instance. - The payload version to read. - The primitive value represented on this element via attribute value notation. - - - - The target of this annotation, as specified in the m:annotation/@target attribute. - - - - - The term of this annotation's value, as specified in the m:annotation/@term attribute. - - - - - The value of this annotation. - - - - - True if the annotation is targeting the xml element in which the annotation was found; false if the annotation is targeting a different element. - - - - - Xml writer which wraps another writer and fixes prefixes so that the root element is not prefix-qualified (same for everything else with the same prefix). - - - - - The wrapped writer. - - - - - The root prefix, once the first element of the document has been written. - - - - - Initializes a new instance of . - - The writer to wrap. - - - - Copies everything from the object to the writer. The position of the remains unchanged. - - The to copy from. - true to copy the default attributes; otherwise, false. - is null. - - - - When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. - - The to read from. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - contains invalid characters. - - - - When overridden in a derived class, writes out all the attributes found at the current position in the . - - The XmlReader from which to copy the attributes. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - The reader is not positioned on an element, attribute or XmlDeclaration node. - - - - When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. - - - The matching prefix or null if no matching namespace URI is found in the current scope. - - The namespace URI whose prefix you want to find. - is either null or String.Empty. - - - - When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). - - The name to write. - is not a valid NmToken; or is either null or String.Empty. - - - - When overridden in a derived class, closes this stream and the underlying stream. - - A call is made to write more output after Close has been called or the result of this call is an invalid XML document. - - - - When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The writer is closed or in error state. or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a string. - - String containing the text to write. - is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. - The number of bytes to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a character buffer. - - Character array containing the text to write. The position within the buffer indicating the start of the text to write. - The number of characters to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes text one buffer at a time. - - Character array containing the text to write. The position in the buffer indicating the start of the text to write. - The number of characters to write. - is null. - or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. - The parameter value is not valid. - - - - When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. - - The low surrogate. This must be a value between 0xDC00 and 0xDFFF. - The high surrogate. This must be a value between 0xD800 and 0xDBFF. - An invalid surrogate character pair was passed. - - - - When overridden in a derived class, writes the given text content. - - The text to write. The text string contains an invalid surrogate pair. - - - - When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. - - The namespace prefix of the attribute. The local name of the attribute. - The namespace URI for the attribute. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes the previous call. - - - - - When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. - - The text to place inside the CDATA block. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a comment <!--...--> containing the specified text. - - Text to place inside the comment. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. - - The name of the processing instruction. - The text to include in the processing instruction. - The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. - - - - When overridden in a derived class, writes out an entity reference as &name;. - - The name of the entity reference. - is either null or String.Empty. - - - - When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. - - The Unicode character for which to generate a character entity. - The character is in the surrogate pair character range, 0xd800 - 0xdfff. - - - - When overridden in a derived class, writes out the given white space. - - The string of white space characters. - The string contains non-white space characters. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0". - - This is not the first write method called after the constructor. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. - - If true, it writes "standalone=yes"; if false, it writes "standalone=no". - This is not the first write method called after the constructor. - - - - When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. - - The XML document is invalid. - - - - When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. - - The name of the DOCTYPE. This must be non-empty. - If non-null it also writes public override "pubid" "sysid" where and are replaced with the value of the given arguments. - If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. - If non-null it writes [subset] where subset is replaced with the value of this argument. - This method was called outside the prolog (after the root element). - The value for would result in invalid XML. - - - - When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. - - The namespace prefix of the element. The local name of the element. - The namespace URI to associate with the element. - The writer is closed. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - This results in an invalid XML document. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - - - - When overridden in a derived class, gets the current xml:lang scope. - - - The current xml:lang scope. - - - - - When overridden in a derived class, gets the state of the writer. - - - One of the values. - - - - - When overridden in a derived class, gets an representing the current xml:space scope. - - - An XmlSpace representing the current xml:space scope. - - - - - Gets the object used to create this instance. - - - The object used to create this writer instance. - - - - - Responsible for reading the annotation element in ATOM. - - - - - The input context to use when parsing the annotation element. - - - - Atomized string representation of the URI used for the OData metadata namespace. - - - Atomized name of the decimal attribute of an annotation element. - - - The property and value deserializer used to read values in ATOM. - - - - Creates a new ATOM annotation parser. - - The input context this annotation reader should use to read annotation elements. - The property and value deserializer to use to read the value of an annotation element. - - - - Attempts to read the current element as an annotation element. - - If this method returned true, this is the instance annotation information from the parsed element. - true if the element was an annotation element, false if it wasn't. - - Pre-Condition: XmlNodeType.Element - The element to read. - Post-Condition: XmlNodeType.EndElement - The end tag of the element (if the element was a non-empty annotation element). - XmlNodeType.Element - The same element as the pre-condition if this method returned false, or an empty annotation element. - - - - - OData ATOM deserializer for detecting the payload kind of an ATOM payload. - - - - - OData ATOM deserializer for properties and value types. - - - - - Base class for all OData ATOM deserializers. - - - - - Base class for all OData deserializers. - - - - The input context to use for reading. - - - - Constructor. - - The input context to read from. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message reader settings. - - - - - The OData version of the input. - - - - - true if the input is a response payload; false if it's a request payload. - - - - - The model to use. - - - - The ATOM input context to use for reading. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadStart(). - - - - - Reads till the end of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadEnd(). - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - An absolute URI to report. - - - - Given a string representation of a URI from the payload, this method will return an absolute or relative URI. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - If true, then this method will try to make the URI absolute, or fail otherwise. - An absolute or relative URI to report based on the value of the parameter. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - True if an empty element node should be added to the list. - The node types which should appear at this point. - - - - The XML reader to read the input from. - - - - - The ATOM input context to use for reading. - - - - The empty namespace used for attributes in no namespace. - - - OData attribute which indicates the null value for the element. - - - Element name for the items in a Collection. - - - XML element name to mark type attribute in Atom. - - - The Edm.String type from the core model. - - - The current recursion depth of values read by this deserializer, measured by the number of complex and collection values read so far. - - - - Constructor. - - The ATOM input context to read from. - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type of the property to read. - An representing the read property. - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Determines the kind of value to read based on the payload shape. - - The kind of type of the value to read. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - Post-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - - - - - Reads the 'type' and 'isNull' attributes of a value. - - The value of the 'type' attribute or null if no 'type' attribute exists. - The value of the 'isNull' attribute or null if no 'isNull' attribute exists. - - Pre-Condition: XmlNodeType.Element - The element to read attributes from. - Post-Condition: XmlNodeType.Element - The element to read attributes from. - - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The name of the property whose value is being read, if applicable (used for error reporting). - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Read a null value from the payload. - - The expected type reference (for validation purposes). - true to validate the value against the . - The name of the property whose value is being read, if applicable (used for error reporting). - The null value. - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads undeclared property in an element (primitive type value, or null value of complex type) - - The result ODataProperty. - - - - Reads a property. - - The expected property name to be read from the payload (or null if no expected property name was specified). - The expected type reference of the property value. - Behavior to use when reading null value for the property. - Whether any EPM mappings exist. - The ODataProperty representing the property in question; if null is returned from this method it means that the property is to be ignored. - - Pre-Condition: XmlNodeType.Element - The XML element representing the property to read. - Note that the method does NOT check for the property name neither it resolves the property against metadata. - Post-Condition: Any - The node after the property. - - - - - Read a primitive value from the reader. - - The type of the value to read. - The value read from the payload and converted as appropriate to the target type. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a complex value from the reader. - - The type reference of the value to read (or null if no type is available). - The name of the type specified in the payload. - The serialization type name for the complex value (possibly null). - The duplicate property names checker to use (cached), or null if new one should be created. - Whether any EPM mappings exist. - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.EndElement - the element has been read. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a collection from the reader. - - The type of the collection to read (or null if no type is available). - The name of the collection type specified in the payload. - The serialization type name for the collection value (possibly null). - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Constructor. - - The ATOM input context to read from. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - This method decides the payload kind based on the fully-qualified element name of the top-level Xml element - in the payload for entry, feed, entity reference link, error and service document payload kinds. It performs more checks - for properties and collection payloads as follows: - * If an m:type attribute is found => property - * If an m:null attribute is found => property - Otherwise the shape of the payload decides: - * If we only find d:element child nodes => collection or property - * If we find no child nodes => primitive property - * If we find anything else => complex property - - - - - Detects whether the current element represents a property payload, a collection payload or neither. - - An enumerable of zero, one or two payload kinds depending on whether a property, collection, both or neither were detected. - - - - OData ATOM serializer for collections. - - - - - OData ATOM serializer for properties and values. - - - - - Base class for all OData ATOM serializers. - - - - - Base class for all OData serializers. - - - - - The output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Validates association link before writing. - - The association link to validate. - The entity type of the entry the association link belongs to. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message writer settings. - - - - - The URL resolver. - - - - - The OData version of the output. - - - - - true if the output is a response payload; false if it's a request payload. - - - - - The model to use. - - - - - The ATOM output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - If set to true then this method will fail if the uri specified by is relative - and no base uri is specified. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Start writing an ATOM payload. - - - - - Finish writing an ATOM payload. - - This method MUST NOT be called after writing an in-stream error - as it would fail on unclosed elements (or try to close them). - - - - Writes a top-level error payload. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Write the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - An enumeration value to indicate what default namespace attributes to write. - - - - Writes the count. - - Count value. - True if the namespace declaration for the metadata namespace should be included; otherwise false. - - - - Write the base Uri of the document (if specified) and the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes an Xml element with empty content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - - - - Returns the which is to be used to write the content of the message. - - - - - The ODataAtomOutputContext used by the serializer. - - - - - Flags to describe a set of default namespaces. - - - - No namespaces. - - - OData namespace. - - - OData metadata namespace. - - - ATOM namespace - - - GeoRss namespace. - - - GML namespace. - - - All default namespaces. - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Writes a single property in ATOM format. - - The property to write out. - - - - Writes a collection of instance annotations in ATOM format. - - Instance annotation collection to write. - The tracker to track which instance annotations have been written. - - - - Writes a single instance annotation in ATOM format. - - The instance annotation to write. - - - - Write the given collection of properties. - - The of the entry (or null if not metadata is available). - Collection of cached properties for the entry. - true if we are writing a top level collection instead of an entry. - Action which is called before the properties are written, if there are any property. - Action which is called after the properties are written, if there are any property. - The checker instance for duplicate property names. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-properites we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a primitive value. - - The value to write. - The collection validator instance. - The expected type of the primitive value. - The optional type name annotation provided by the user on the OM for this primitive value. The annotation value will override whatever type name is being written. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - true if we are writing a collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Action called after the copmlex value is written, if it's actually written. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Write the items of a collection in ATOM format. - - The collection value to write. - The type reference of the collection value (or null if not metadata is available). - true if the type name belongs to an open property. - true if we are writing a top-level collection instead of an entry. - - - - Writes the value of a primitive instance annotation. - - The primitive value to write. - The expected type of the annotation from the metadata. - - - - Writes a single property in ATOM format. - - The property to write out. - The owning type for the or null if no metadata is available. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-property we're writing. (can be null) - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - true if the property was actually written, false otherwise. - - - - Writes a property with a complex value in ATOM format. - - The complex value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The type information for the property being written. - true if the type name belongs to an open property. - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a property with a collection value in ATOM format. - - The collection value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if writing a top-level collection payload instead of an entry. - Action which is called before the property is written, if it's going to be written. - The type reference of the collection value (or null if no metadata is available). - true if this property is undeclared and the owning type is open. - - - - Determines if the property with the specified value should be written into content or not. - - The owning type of the property to be checked. - The set of projected properties for the - The name of the property to be checked. - The property value to write. - The EPM source path segment for the property being written. - true if the property should be written into content, or false otherwise - - - - Writes a null property value in Atom format. - - The property type or null if we don't have any. - The name of the property to write out. - true if writing a top-level property payload; otherwise false. - true if we are writing a collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - - - - Writes the property start element. - - Action called before anything else is written (if it's not null). - The name of the property to write. - true if we are writing a collection instead of an entry. - true if writing a top-level property payload; otherwise false. - - - - Writes the property end element. - - - - - Writes the instance annotation start element. - - The the instance annotation to write. - - - - Writes the instance annotation end element. - - - - - Writes the m:type attribute for a property given the name of the type. - - The type name to write. - - - - Write the m:null attribute with a value of 'true' - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - OData ATOM serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The entity reference links to write. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - A flag indicating whether the link is written as top-level element or not; - this controls whether to include namespace declarations etc. - - - - - OData ATOM serializer for entries and feeds. - - - - - The serializer for writing ATOM metadata for entries. - - - - - The serializer for writing ATOM metadata for feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the start element for the m:properties element on the entry. - - - - - Writes the end element for the m:properties element on the entry. - - - - - Writes the type name category element for the entry. - - The type name to write. - The entry metadata if available. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Writes the entry atom:id element. - - The value of the ODataEntry.Id property to write. - - - - Writes the read link element for an entry. - - The read link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit link element for an entry. - - The edit link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit-media link for an entry. - - The media resource representing the MR of the entry to write. - - - - Write the metadata for an OData association link; makes sure any duplicate of the link's values duplicated in metadata are equal. - - The association link for which to write the metadata. - The instance the association link is defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Write the given feed metadata in atom format - - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - Writes the default empty author for a feed. - - - - - Writes the next page link for a feed. - - The feed to write the next page link for. - - - - Writes the delta link for a feed. - - The feed to write the delta link for. - - - - Writes a feed link. - - The feed that contains the link. - Relation attribute of the link. - href attribute of the link. - Function to get the AtomLinkMetadata for the feed link. - - - - Writes a stream property to the ATOM payload - - The stream property to create the payload for. - The instance for which the stream property defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes an operation (an action or a function). - - The association link to write. - - - - Writes the self or edit link. - - Uri object for the link. - The atom link metadata for the link to specify title, type, hreflang and length of the link. - Relationship value. Either "edit" or "self". - - - - OData ATOM serializer for ATOM metadata in an entry - - - - - Base class for all OData ATOM Metadata serializers. - - - - - Constructor. - - The output context to write to. - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes the 'atom:category' element given category metadata. - - The category information to write. - - - - Writes the 'atom:category' element with the specified attributes. - - The prefix to use for the 'category' element. - The value for the 'term' attribute (required). - The value for the 'scheme' attribute (optional). - The value for the 'label' attribute (optional). - - - - Write an empty author element that has the required name element - - - - - Writes the specified start/end tags and the specified person metadata as content - - The person metadata to write. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata attributes of a link in ATOM format - - The value for the 'rel' attribute. - The value for the 'href' attribute. - The value for the 'hreflang' attribute. - The value for the 'title' attribute. - The value for the 'type' attribute. - The value for the 'length' attribute. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The output context to write to. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - OData ATOM serializer for ATOM metadata in a feed - - - - - Constructor. - - The output context to write to. - - - - Write the given feed metadata in atom format - - The metadata to write. - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - The ATOM OData format. - - - - - Representation of an OData format. - - - - The ATOM format instance. - - - The verbose JSON format instance. - - - The JSON Light format instance. - - - The RAW format instance. - - - The batch format instance. - - - The metadata format instance. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - Specifies the ATOM format; we also use this for all Xml based formats (if ATOM can't be used). - The ATOM format. - - - Gets the verbose JSON format. - The verbose JSON format. - - - Specifies the JSON format. - The JSON format. - - - Specifies the RAW format; used for raw values. - The RAW format. - - - Gets the batch format instance. - The batch format instance. - - - Gets the metadata format instance. - The metadata format instance. - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - ATOM format output context. - - - - - Base class for all output contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this output context. - - - The message writer settings to be used for writing. - - - Set to true if this context is writing a response payload. - - - true if the input should be written synchronously; false if it should be written asynchronously. - - - The model to use. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - The type resolver to use. - - - - Constructor. - - The format for this output context. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message writer settings to be used for writing. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being written. - - - - - true if the output should be written synchronously; false if it should be written asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - - The type resolver to use. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The XML writer created for the root of the payload. - - This field is also used to determine if the output context has been disposed already. - In case of customized writers are used, this is always the root writer, never changed. - - - - The XML writer to write to. - In case of customized writers are used, this is the current writer to write to. - - - A stack used to track XML customization writers. - - At the beginning the root writer is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the writer returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomWriter, other writers don't use this. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initializes the ability to use customization writers. - - - This needs to be called before any of the writer customization functionality is used. - - - - - Pushes a writer on the top of the customization stack. - - The writer to push. - - - - Pops a writer from the top of the customization stack. - - The popped writer, the one which was on the top of the stack before the operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - Instance of this class describes a navigation link when it's found in the payload. - - - - The navigation link. - - - The navigation property for the link, is it's available. - - - - Constructor. - - The navigation link. - The navigation property for the link, if it's available. - - - The navigation link. - - - The navigation property for the link, if it's available. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - true if the item type was derived from the collection value; otherwise false. - - - The item type name extracted from the first non-null item. - - - - The primitive type denoted by the item type name or null if the type name is not a valid primitive type name. - - - - The item type kind from the first non-null item. - - - - Constructor. - - The item type name extracted from the collection type name. - - - - Validates a collection item that was read to make sure it is valid (i.e., has the correct - type name and type kind) with respect to the other items in the collection. - - The type name of the item from the payload. - The type kind of the item from the payload. - - - - Computes the expected type kind of an item from the type name read from the payload. - - The type name to compute the type kind from. - The primitive type for the specified type name or null if the type name is not a valid primitve type. - The of the type with the specified . - - - - Validate that the expected and actual type names and type kinds are compatible. - - The actual type name. - The actual type kind. - - - - If specified on a collection, returns the item type name that all items are expected to be compatible with; otherwise null. - - - - - If specified on a collection, returns the item type kind that all items are expected to be compatible with; otherwise EdmTypeKind.None. - - - - - Read-only stream which initially buffers all read data in order to replay it later. - Once no more buffered data exists it reads from the underlying stream directly. - - - - The list of buffered chunks of bytes as requested by callers. - - - - The stream being wrapped. - - - - The read position in the current buffer. - - - - true if the reader is not in buffering mode; otherwise false. - - - - - The current node in the buffer list to read from. - - - - - Constructor - - The underlying stream to wrap. Note that only read operations will be invoked on this stream. - - - - Not supported since the stream only allows reading. - - - - - Reads data from the buffer or the underlying stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Stops the buffering mode and turns the reader into normal read mode where first - the buffered data is re-read before the reads are performed on the underlying stream. - - - - - Stop buffering. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Moves the reader to the next buffer and drops already consumed - data if not in buffering mode. - - - - - Determines if the stream can read - this one can. - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - true if the stream is in buffering mode; otherwise false. - - - - - Interface used for substitutability of the metadata-centric responsibilities of an entry. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry without - needing to know where the metadata originated from. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of the metadata builder which only returns values which were explicitly set (never computing or modifying them). - - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Gets an instance of the metadata builder which never returns anything other than nulls. - - - - - Implementation of the metadata builder which only returns nulls. - - - - - Singleton instance of the null metadata builder. - - - - - Prevents a default instance of the class from being created. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - The entry whose payload metadata is being queried. - - - - - Creates a new no-op metadata builder. - - The entry whose payload metadata is being queried. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - - - - - Gets the ID of the entity. - - - The ID for the entity. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Default implementation of - - - - - Empty array of properties. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - - - - Creates an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - The entity type of the entry. - The metadata context to use. - The selected properties. - A new instance of . - - - - Gets the the CLR value for a primitive property. - - The entry to get the property value. - Name of the property. - The name of the entity type to get the property value. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Gets the CLR value for a primitive property. - - The name of the entity type to get the property value. - The ODataProperty to get the value from. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Validates that the entry has key properties. - - Key properties of the entry. - The entity type name of the entry. - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on serialization info. - - - - - Empty array of navigation properties. - - - - - Empty dictionary of stream properties. - - - - - Empty array of operations. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - - - - Gets the property name value pairs filtered by serialization property kind. - - The entry to get the properties from. - The serialization info property kind. - The entity type name of the entry. - The property name value pairs filtered by serialization property kind. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on the given model. - - - - - The entity type of the entry. - - - - - The metadata context to use. - - - - - The selected properties. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The entity type of the entry. - The metadata context to use. - The selected properties. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type name of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Interface used for substitutability of the metadata-centric responsibilities of . - - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Default implementation of . - - - - - The Edm Model. - - - - - EdmTypeResolver instance to resolve entity set base type. - - - - - Cache of operations that are always bindable to entity types. - - - - - true if we are reading or writing a response payload, false otherwise. - - - - - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - - - - The metadata document Uri. - - - - - The service base Uri. - - - - - Constructs an ODataMetadataContext. - - true if we are writing a response payload, false otherwise. - The Edm model. - The metadata document uri. - This overload should only be used by the writer. - - - - Constructs an ODataMetadataContext. - - true if we are reading a response payload, false otherwise. - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - EdmTypeResolver instance to resolve entity set base type. - The Edm model. - The metadata document Uri. - This overload should only be used by the reader. - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Generates operations which were omitted by the service because they fully match conventions/templates and are always available. - - - - The current entry metadata context. - - - The metadata context of the entry to generate the missing operations for. - - - The list of computed actions. - - - The list of computed functions. - - - - Initializes a new instance of the class. - - The metadata context of the entry to generate the missing operations for. - The current entry metadata context. - - - - Gets the computed missing Actions from the generator. - - The computed missing Actions. - - - - Gets the computed missing Functions from the generator. - - The computed missing Functions. - - - - Returns a hash set of function imports (actions and functions) in the given entry. - - The entry in question. - The edm model to resolve function imports. - The metadata document uri. - The hash set of function imports (actions and functions) in the given entry. - - - - Computes the operations that are missing from the payload but should be added by conventions onto the entry. - - - - - Interface used for substitutability, to answer basic questions regarding the type of the entry or feed. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry or feed without - needing to know where the metadata originated from. - - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Class responsible for logic specific to the JSON Light full metadata level (indicated by "odata=fullmetadata" in the media type). - - - The general rule-of-thumb for full-metadata payloads is that they include all "odata.*" annotations that would be included in minimal metadata mode, - plus any "odata.*" annotations that could be computed client-side if we the client had a model. - - - - - Class responsible for logic that varies based on the JSON Light metadata level. - - - - - Creates the appropriate metadata level based on the media type being written. - - The full media type being written. This media type must have a type/subtype of "application/json" - and should not imply verbose json (by including "odata=verbose" as a parameter). - The metadata document uri from the writer settings. - The edm model. - true if we are writing a response, false otherwise. - The JSON Light metadata level being written. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write will vary based on the metadata level. - If false, the type name writing rules will always match minimal metadata, - regardless of the actual metadata level being written. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - The Edm model. - - - - - The metadata document uri from the writer settings. - - - - - Constructs a new . - - The metadata document uri from the writer settings. - The Edm model. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Returns the metadata document URI which has been validated to be non-null. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON full metadata mode. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON Light. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light minimal metadata level (indicated by "odata=minimalmetadata" in the media type, or lack of an "odata" parameter in a v3 and above request). - - - The general rule-of-thumb for minimal-metadata payloads is that they include all "odata.*" annotations that can't be computed client-side, assuming the client has the server model available - as well as the ability to compute missing payload metadata based on the standard conventions. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - Not used in this implementation of the abstract method. - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON minimal metadata mode, - or the other metadata modes of JSON light when is false. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light no metadata level (indicated by "odata=nometadata" in the media type). - - - The general rule-of-thumb for no-metadata payloads is that they omit any "odata.*" annotations, - except for odata.nextlink and odata.count, since the client would get a inaccurate representation of the data available if they were left out. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON no metadata mode. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Reads payload as untyped object. - - - - - Base class for all OData JsonLight deserializers. - - - - The JsonLight input context to use for reading. - - - Context for entry etadata centric responsibilities. - - - Result of parsing the metadata URI for the payload (or null if none are available). - This field is only available after the ReadPayloadStart was called. - - - - Constructor. - - The JsonLight input context to read from. - - - - Parses the name of a property and returns the property name and annotation name if the property is a property annotation. - - The property name to parse. - The name of the annotated property, or null if the property is not a property annotation. - The annotation name, or null if the property is not a property annotation. - true if the is a property annotation, false otherwise. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The parsed metadata URI. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads and validates a string value from the json reader. - - The name of the annotation being read (used for error reporting). - The string that was read. - - - - Reads and validates a string value from the json reader and processes it as a Uri. - - The name of the annotation being read (used for error reporting). - The Uri that was read. - - - - Reads and validates a string value from the json reader and processes it as a long. - - The name of the annotation being read (used for error reporting). - The long that was read. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - Function callback to handle to resule of parse property. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns true if should be skipped by the reader; false otherwise. - - The custom instance annotation name in question. - Returns true if should be skipped by the reader; false otherwise. - - - - If is under the odata namespace but is not known to ODataLib, move the JSON reader forward to skip the - annotation name and value then return true; return false otherwise. - - - The unknown odata annotation is skipped so that when this version of the reader reads a feed produced by a future version of ODataLib - that contains an odata annotation that is not recognized on this version, we would simply ignore the annotation rather than failing. - Note that when we add new odata annotations that cannot be skipped, we would bump the protocol version. - - The annotation name in question. - Returns true if the annotation name and value is skipped; returns false otherwise. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - The name of the property or instance annotation found. - - PropertyWithValue - a property with value was found. The contains the name of the property. - The reader is positioned on the property value. - PropertyWithoutValue - a property without a value was found. The contains the name of the property. - The reader is positioned on the node after property annotations (so either a property or end of object). - ODataInstanceAnnotation - an odata instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - CustomInstanceAnnotation - a custom instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - MetadataReferenceProperty - a property which is a reference into the metadata was found. - The reader is positioned on the value of the property. - EndOfObject - end of the object scope was reached and no properties are to be reported. The is null. - This can only happen if there's a property annotation which is ignored (for example custom one) at the end of the object. - - - - - Process the current property annotation. - - The name being annotated. Can be a property or an instance annotation. - The annotation targeting the . - The duplicate property names checker. - Callback to read the property annotation value. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The value of the metadata URI annotation (or null if it was not found). - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the odata.metadata annotation. - - The payload kind for which to read the metadata URI. - The duplicate property names checker. - true if the method should fail if the metadata URI annotation is missing, false if that can be ignored. - The value of the metadata URI annotation. - - - - Context for entry metadata centric responsibilities. - - - - - Returns the which is to be used to read the content of the message. - - - - Result of parsing the metadata URI for the payload (or null if none are available). - This property is only available after the ReadPayloadStart was called. - - - - The Json lite input context to use for reading. - - - - - Gets the metadata document Uri from the MetadataUriParseResult. - - - - Possible results of parsing JSON object property. - - - An end of object was reached without any property to be reported. - - - A property with value was found. - - - A property without value was found. - - - A 'odata' instance annotation was found. - - - A custom instance annotation was found. - - - A metadata reference property was found. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads untyped value. - - primitive value or ODataComplexValue orODataCollectionValue. - - - - Reads json object value. - - ODataComplexValue with TypeName=null - - - - Read json array. - - ODataCollectionValue with TypeName=null - - - - The context object to answer basic questions regarding the type of the entry or feed. - - - - - Default Url convention. - - - - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - - Constructs an instance of . - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - Creates an instance of . - - The serialization info from the feed or entry instance. - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - A new instance of . - - - - Validate and return the given value. - - The type of the value to validate. - The value to validate. - The return value. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the serialization info. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The serialization info from the feed or entry instance. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the metadata. - - - - - The Edm model instance to use. - - - - - The entity set of the feed or entry. - - - - - The element type of the entity set of the feed or entry. - - - - - The expected entity type of the feed or entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - The entity set name of the feed or entry. - - - - - true if the entry is an media link entry or if the feed contains media link entries, false otherwise. - - - - - The url convention to use for the entity set. - - - - - Constructs an instance of . - - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Extension methods on the OData object model. - - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Class to provide additional serialization information to the for an . - - - - - The fully qualified type name of the collection to be written. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The fully qualified type name of the collection to be written. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - true if the navigation property navigates to a collection of entities; false otherwise. - - - - - The enum of property kinds. - - - - - Unspecified property kind or if the property is not a key property, an etag property or an open property. - - - - - The property is a key property. - - - - - The property is an etag property - - - - - The property is an open property - - - - - Class to provide additional serialization information to the for an . - - - - - The kind of the property - - - - - Class to provide additional serialization information to the for an . - - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Class to represent a HTTP header value element. - - - - - Internal constructor to create a new instance of . - - The name of the preference. - The value of the preference. - The enumeration of preference parameter key value pairs. - - - - Converts the current to string. - - The string for . - - - - Appends the and to as name=value. - - The string builder to append to. - The name to append. - The value to append. - - - - The name of the preference. - - - - - The value of the preference. - - - - - The enumeration of preference parameter key value pairs. - - - - - Extension methods for http header values. - - - - - Constructs a new instance of . - - - - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - - - Lexer to parse HTTP header values. - - - - - The ',' separator. - - - - - The ';' separator. - - - - - The '=' separator. - - - - - The name of the HTTP header being parsed. - - - - - The value of the HTTP header being parsed. - - - - - The starting index to the next item to be parsed. - - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - The start index of the next item to be parsed. - - - - Constructs a new instance of the HTTP header value item. - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The newly created instance of . - - - - Reads the content of a HTTP header from this instance to a new instance. - - A new instance populated with the content from this instance. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - Reads a from and advances the forward. - - The lexer to read from. - The that was read. - - - - Reads a token or token=(token|quoted-string) from the , convert it to a key value pair and advances the . - - The lexer to read from. - The converted key value pair. - - - - Returns true if we've parsed to the end of the header value, false otherwise. - - Returns true if we've parsed to the end of the header value, false otherwise. - - - - Reads a token or quoted-string value from the header. - - The token or quoted-string value that was read from the header. - - - - Reads a token from the header. - - The token item that was read from the header. - - - - Reads a separator from the header. - - The separator item that was read from the header. - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - The type of the current parsed item. - - - - - The item type enum. - - - - Currently at the start of the header value. - - - The current item is a token. - - - The current item is a quoted-string. - - - The current item is the header element separator ','. - - - The current item is the parameter separator ';'. - - - The current item is the value separator '='. - - - At the end of the header value. - - - - Represents the start of the http header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a token in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the token. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a quoted-string in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the quoted string, unescaped and without quotes. - The original text of the quoted string, escaped and with quotes. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a separator in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the separator. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents the end of the http header value. - - - - - Static instance of the end item. - - - - - Constructs a new instance of . - - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Filter class to determine whether or not to read an annotation. - - - - - Filter that maches all annotation names. - - - - - Filter than maches no annotation names. - - - - - Separator for annotation filter patterns. - - - - - Patterns to match, sorted in the order of higher to lower priorities to match. - - - - - Private constructor to create a filter from comma delimited patterns to match to include or exclude annotations. - - Patters to match to include or exclude annotations. - - - - Create a filter from comma delimited patterns to match to include or exclude annotations. - - Comma delimited patterns to match to include or exclude annotations. - The newly created filter. - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read all annotations. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read no annotation. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter pattern class to determine whether an annotation name matches the pattern. - - - - - The '.' namespace separator. - - - - - The '-' operator to indicate that the annotation should be excluded from read when it matches the pattern. - - - - - The wild card constant. - - - - - String constant for .* - - - - - The "*" pattern that includes all annotations. - - - - - The "-*" pattern that excludes all annotations. - - - - - The pattern to match. - - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - Constructs a pattern instance to determine whether an annotation name matches the pattern. - - The pattern to match. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Compares the priority of current pattern with the priority of . - - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means this pattern has higher priority than . - 0 means this pattern has the same priority as . - 1 means this pattern has lower priority than . - - A pattern to compare with this pattern. - - - - Creates a pattern instance to determine whether an annotation name matches the pattern. - - The pattern for this instance. - The newly created instance. - - - - Sorts the patterns in the array from highest to lowest priorities. - - The source array to sort. When the method returns the items in this array instance will be rearragned. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Compares the priority of with . - - The left hand side pattern to compare. - The right hand side pattern to compare. - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means has higher priority than . - 0 means has same priority as . - 1 means has lower priority than . - - - - - Removes the exclude operator from the given pattern string. - - The input pattern to the method and will return the pattern without the exclude operator if it's found. - Returns true if the exclude operator is found and removed from the input pattern; false otherwise. - - - - Validates the pattern. - - The pattern to validate. - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - The wild card pattern that matches everything. - - - - - Constructs the wild card pattern. - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match any annotation name that starts with this pattern. - - - - - Constructs the starts with pattern. - - The pattern to start with. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match a annotation name that is exactly the same as this pattern. - - - - - Constructs the exact match pattern. - - The exact pattern to match - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Contract for providing implementations of more specific lookups needed for parsing OData URIs that are not efficiently answered - by existing APIs in and its related interfaces. - - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds an entity set given a name that may be container qualified. If no container name is provided, the default container should be used. - - The name which might be container qualified. If no container name is provided, the default container should be used. - The entity set if one was found or null. - - - - Finds a service operation for the given name. - - The name of the service operation to find. May be qualified with an entity container name. - The function import representing a service operation or null if one could not be found with the given name. - - - - Finds a function or action bound to the specific type with the given name. - - The binding type. - The name of the function imports to find. May be qualified with an entity container name. - The parameter names of the non-binding parameters, if provided in the request URI. - The function import that matches the search criteria or null if there was no match. - - - - Represents an instance annotation. - - - - - Constructs a new instance. - - The name of the instance annotation. - The value of the instance annotation. - - - - Validates that the given is a valid instance annotation name. - - Name to validate. - - - - Validates the given is a valid instance annotation value. - - Value to validate. - - - - Instance annotation name. - - - - - Instance annotation value. - - - - - Extension methods to IODataRequestMessage and IODataResponseMessage. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Gets the instance to get or set preferences on the "Prefer" header of the . - - The request message to get or set the "Prefer" header. - Returns the instance to get or set preferences on the "Prefer" header of the . - - - - Gets the instance to get or set preferences on the "Preference-Applied" header of the . - - The response message to get or set the "Preference-Applied" header. - Returns the instance to get or set preferences on the "Preference-Applied" header of the . - - - - Base Configuration settings for OData message readers. - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - The check characters. - - - The enable atom metadata reading. - - - The annotation filter. - - - - Initializes a new instance of the class. - - - - - Copy constructor. - - The instance to copy. - - - - Flag to control whether the reader should check for valid Xml characters or not. - - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - - - Func to evaluate whether an annotation should be read or skipped by the reader. The func should return true if the annotation should - be read and false if the annotation should be skipped. A null value indicates that all annotations should be skipped. - - - - - Base Configuration settings for OData message writers. - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - The check characters. - - - The indent. - - - - Constructor to create default settings for OData writers. - - - - - Copy constructor to create a copy of the settings for OData writers. - - Settings to create a copy from. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Class to set the "Prefer" header on an or - the "Preference-Applied" header on an . - - - - - The return-no-content preference token. - - - - - The return-content preference token. - - - - - The odata-annotations preference-extensions token. - - - - - The Prefer header name. - - - - - The Preference-Applied header name. - - - - - Empty header parameters - - - - - The return-no-content preference. - - - - - The return-content preference. - - - - - The message to set the preference header to and to get the preference header from. - - - - - "Prefer" if message is an IODataRequestMessage; "Preference-Applied" if message is an IODataResponseMessage. - - - - - Dictionary of preferences in the header - - - - - Internal constructor to instantiate an from an . - - The request message to get and set the "Prefer" header. - - - - Internal constructor to instantiate an from an . - - The response message to get and set the "Preference-Applied" header. - - - - Adds quotes around the given text value. - - text to quote. - Returns the quoted text. - - - - Returns true if the given preference exists in the header, false otherwise. - - Preference in question. - Returns true if the given preference exists in the header, false otherwise. - - - - Clears the from the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to clear. - - - - Sets the to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to set. - - If is already on the header, this method does a replace rather than adding another instance of the same preference. - - - - - Gets the from the "Prefer" header from the underlying or - the "Preference-Applied" header from the underlying . - - The preference to get. - Returns a key value pair of the and its value. The Value property of the key value pair may be null since not - all preferences have value. If the is missing from the header, null is returned. - - - - Parses the current preference values to a dictionary of preference and value pairs. - - Returns a dictionary of preference and value pairs; null if the preference header has not been set. - - - - Sets the "Prefer" or the "Preference-Applied" header to the underlying message. - - - - - Property to get and set the "return-content" and "return-no-content" preferences to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - Setting true sets the "return-content" preference and clears the "return-no-content" preference. - Setting false sets the "return-no-content" preference and clears the "return-content" preference. - Setting null clears the "return-content" and "return-no-content" preferences. - Returns true if the "return-content" preference is on the header. Otherwise returns false if the "return-no-content" is on the header. - Returning null indicates that "return-content" and "return-no-content" are not on the header. - - - - - Property to get and set the "odata.include-annotations" preference with the given filter to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - If the "odata-annotations" preference is already on the header, set replaces the existing instance. - Returning null indicates that the "odata.include-annotations" preference is not on the header. - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - - - - Dictionary of preferences in the header. - - - - - Extension methods for ReadOnlyEnumerable and ReadOnlyEnumerableOfT - - - - - true if is the same instance as ReadOnlyEnumerableOfT.Empty(). false otherwise. - - The element type of the enumerable. - The enumerable in question. - Returns true if is the empty ReadOnlyEnumerableOfT. false otherwise. - - - - Casts an IEnumerableOfT to ReadOnlyEnumerableOfT. - - The element type of the enumerable. - The source enumerable. - The name of the collection to report in case there's an error. - The casted ReadOnlyEnumerableOfT. - - - - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - The element type of the enumerable. - The source enumerable in question. - The name of the collection to report in case there's an error. - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - - - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - The element type of the enumerable. - The source enumerable to concat. - The name of the collection to report in case there's an error. - Item to concat to the source enumerable. - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - - - Adds an ODataAction to an entry. - - The entry to add the action. - The action to add. - - - - Adds an ODataFunction to an entry. - - The entry to add the function. - The function to add. - - - - Adds an association link to an entry. - - The entry to add the association link to. - The association link to add. - - - - Implementation of OData entity metadata builder based on OData protocol conventions. - - - - The URI builder to use. - - - The context to answer basic metadata questions about the entry. - - - The metadata context. - - - The list of navigation links that have been processed. - - - The edit link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The read link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The computed ETag. - - - true if the etag value has been computed, false otherwise. - - - The computed ID of this entity instance. - - This is always built from the key properties, and never comes from the entry. - - - - A computed uri that is equivalent to the ID or the edit-link without a type segment. - - - The computed MediaResource for MLEs. - - - The list of computed stream properties. - - - The enumerator for unprocessed navigation links. - - - The missing operation generator for the current entry. - - - - Constructor - - The context to answer basic metadata questions about the entry. - The metadata context. - The uri builder to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Computes the edit link. - - Uri that was computed based on the computed Id and possible type segment. - - - - Computes and sets the field for the computed Id. - - - - - Computes all projected or missing stream properties. - - Non-computed properties from the entity. - The the computed stream properties for the entry. - - - - Lazy evaluated computed entity Id. This is always a computed value and never comes from the entry. - - - - - Lazy evaluated computed entity instance uri. This is always a computed value and never comes from the entry. - - - - - The missig operation generator for the current entry. - - - - - Implementation of OData URI builder based on OData protocol conventions. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - The base URI of the service. This will be used as the base URI for all entity containers. - - - The specific url-convention to use. - - - The specific key-serializer to use based on the convention. - - - - Constructor. - - The base URI of the service. This will be used as the base URI for all entity containers. - The specific url convention to use. - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Validates the base URI parameter to be a non-null absolute URI. - - The base URI parameter to validate. - - - - Appends a segment to the specified base URI. - - The base Uri to append the segment to. - The segment to append. - True if the new segment should be escaped, otherwise False. - New URI with the appended segment and no trailing slash added. - - - - Gets the CLR value of a primitive key property. - - The key property name. - The key property value. - The entity type name we are validating the key value for. - The primitive value of the key property. - - - - Appends the key expression for the given entity to the given - - The builder to append onto. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - - - - Annotation to capture all of the custom instance annotations on an ODataAnnotatable. - - - Currently only , , and supports instance annotations. - Additionally, instance annotations will only be serialized in Json. - - - - - Backing dictionary of instance annotation term name/object pairs. - - - - - Creates a new to hold instance annotations for an . - - - - - Determines whether the contains an element with the specified key. - - - true if the ICollection> contains an element with the key; otherwise, false. - - The key to locate in the . - is null. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Removes all items from the . - - The is read-only. - - - - Adds an element with the provided 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 null. - An element with the same key already exists in the .The is read-only. - - - - Removes the element with the specified key from the . - - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - The key of the element to remove. is null.The is read-only. - - - - Gets the value associated with the specified key. - - - true if the object that implements contains an element with the specified key; otherwise, false. - - The key whose value to get.When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. is null. - - - - Gets an enumerator for this object. - - An enumerator for this object. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - - Gets or sets the element with the specified key. - - - The element with the specified key. - - The key of the element to get or set. - is null. - The property is retrieved and is not found. - The property is set and the is read-only. - - - - Helper class to track if an annotation has been written. - - - - - Maintains the write status for each annotation using its key. - If a key exists in the list then it is considered written. - - - - - Creates a new to hold write status for instance annotations contained in . - - - - - Check if an annotation is already written. - - true if the annotation is written; otherwise false. - The key of the element to check if its written. - - - - Mark an annotation as written. - - true if the annotation was unmarked before; otherwise false. - The key of the element to mark as written. - - - - Well known OData annotation names reserved for OData Lib. - - - - The OData Metadata annotation name. - - - The OData 'null' annotation name. - - - The OData Type annotation name. - - - The OData ID annotation name. - - - The OData etag annotation name. - - - The OData edit link annotation name. - - - The OData read link annotation name. - - - The OData media edit link annotation name. - - - The OData media read link annotation name. - - - The OData media content type annotation name. - - - The OData media etag annotation name. - - - The 'odata.count' annotation name. - - - The 'odata.nextLink' annotation name. - - - The 'odata.navigationLinkUrl' annotation name. - - - The 'odata.bind' annotation name. - - - The 'odata.associationLinkUrl' annotation name. - - - The 'odata.annotationGroup' annotation name. - - - The 'odata.annotationGroupReference' annotation name. - - - The 'odata.error' annotation name. - - - The 'odata.deltaLink' annotation name. - - - - Hash set of known odata annotation names that have special meanings to OData Lib. - - - - - Returns true if the starts with "odata.", false otherwise. - - The name of the annotation in question. - Returns true if the starts with "odata.", false otherwise. - - - - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - The annotation name in question. - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - - - Validates that the is not a reserved OData instance annotation. - - The instance annotation name to check. - - - - Defines an interface for a class that can write OData values in Json Light. - This is used internally for mocking. - - - - - Writes a null value. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - - - - Writes a primitive value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a for checking duplication properties inside complex values. - - A new instance. - - - - JsonWriter this value serializer will use. - - - - - Version of OData being written. - - - - - Model to use for type resolution and verification when writing. - - - - - The message writer settings to use when writing the message payload. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - The character array used for splitting apart the operation parameter type names in a metadata link. Contains ','. - - - - - The set of characters to trim from the parameters of an operation. Contains '(' and ')'. - - - - - Determines if the specified property name is a name of a metadata reference property. - - The name of the property. - true if is a name of a metadata reference property, false otherwise. - - - - Gets the fully qualified function import name from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The first parameter name, if any are present in the given string. - The fully qualified function import name. - - - - Gets the Uri fragment from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The Uri fragment which corresponds to action/function names, etc. - - - - Converts the metadata reference property name to an absolute Uri. - - The metadata document uri. - The metadata reference property name. - The absolute Uri for the metadata reference property name. - - - - Calculates the metadata reference name for the given function import. When there is no overload to the function, this method will - return the container qualified function import name. When there is overload to the function this method will - return FQFN([comma separated parameter type names]) to disambiguate between different overloads. - - The function import in question. - The metadata reference name for the given function import. - - - - Creates an ODataAction or ODataFunction from a function import. - - The metadata document uri. - The metadata reference property name. - The function import to create the ODataOperation for. - true if the created ODataOperation is an ODataAction, false otherwise. - The created ODataAction or ODataFunction. - - - - Responsible for reading annotation groups (both declarations and references) in JSON Light. - - - - - Mapping of all the annotation groups encountered so far, keyed by name. - - - - - Initializes a new . - - The JSON light input context. - - - - Reads the current property node as an annotaion group, if the property name matches. Otherwise, it does not move the reader. - - Fired whenever an OData property annotation is seen. Takes the name of the property annotation and should read and return the annotation's value. - Fired whenever an OData instance annotation is seen. Takes the name of the instance annotation and should read and return the annotation's value. - The annotation group which was read, or null if we did not encounter an annotation group. - - Pre-Condition: JsonNodeType.Property: The property to consider as an annotion group. - Post-Condition: JsonNodeType.Property: If the property is not an annotation group, the reader will not move. - Any: The node after the annotation group property, if one was read. - - - - - Adds the given annotation group to the set of groups which can be retrieved by annotation group references. - - The annotation group to add. - - - - Checks to see that the name of the given annotation group has not yet been set. Throws otherwise. - - The annotation group to check. - - - - Returns whether the given property name indicates this property contains the name of the annotation group. - - The property name to check. - true if the property name is annotation group name property, false otherwise. - - - - Verifies that the name of the given annotation group was set, and throws otherwise. - - The annnotation group to check. - - - - Verifies that the given property name is a valid annotation name, and throws if not. - - The property name to check. - The annotation group which this property would be added to. - - - - Creates an ODataException to throw when a non-annotation property is found inside an annotation group. - - The name of the property found inside an annotation group. - The annotation group it was found in. - An ODataException with an appropriate message, including the annotation group name if one is available. - - - - Reads an annotation group reference and returns the existing annotation group instance with that name. - - The annotation group which was referenced. - This method will throw if no matching annotation group is found. - - - - Reads an annotation group declaration and returns a newly created annotation group instance. - - Function which takes the name of an OData property annotation and reads and returns the value of the annotation. - Function which takes the name of an OData instance annotation and reads and returns the value of the annotation. - The annotation group which was read. - - Pre-Condition: JsonNodeType.StartObject: The property to consider as an annotion group declaration or reference. - Any: Any other node type will throw an exception. - Post-Condition: Any: The node after the annotation group property value. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Validates that a string is either a valid absolute URI, or (if it begins with '#') it is a valid URI fragment. - - The metadata document uri. - The property name to validate. - - - - Validates an operation is valid. - - The metadata document uri. - The operation to validate. - - - - Determines if the specified property name is a name of an open metadata reference property. - - The metadata document uri. - The property name in question. - true if the specified property name is a name of an open metadata reference property; false otherwise. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - - - - JSON Ligth specific state which is created during payload kind detection and reused during standard reading if available. - - - - The parsed metadata URI. - - - - Constructor. - - The parsed metadata URI. - - - The parsed metadata URI. - - - - Interface for a class that can write arbitrary JSON. - Internally we want the interface for mocks. - - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Class responsible for writing a collection of . - - - - - Value serializer, responsible for serializing the annotation values. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructs a that can write a collection of . - - The to use for writing values of instance annotations. - The that is also used internally will be acquired from the this instance. - The oracle to use to determine the type name to write for entries and values. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - The tracker to track if instance annotations are written. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - - - - Writes an instance annotation. - - The instance annotation to write. - - - - JsonWriter instance to use for writing term names. - - - - - OData JsonLight serializer for value types. - - - - - Base class for all OData JsonLight serializers. - - - - - The JsonLight output context to write to. - - - - - Instance annotation writer. - - - - - Set to true when odata.metadata is writen; set to false otherwise. - When value is false, all URIs writen to the payload must be absolute. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the end of the entire JSON payload. - - - - - Writes the metadata URI property and the specified value into the payload. - - The metadata URI to write. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Returns the string representation of the URI - - The uri to process. - Returns the string representation of the URI. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - Instance annotation writer. - - - - - The current recursion depth of values written by this serializer. - - - - - Property serializer. - - - - - Initializes a new instance of the class. - - The property serializer to use when writing complex values. - - - - Initializes a new instance of the class. - - The output context to use. - - - - Writes a null value to the wire. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a new instance of a duplicate property names checker. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - The newly created instance of duplicate property names checker. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Returns the which is to be used to write the content of the message. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The OData version of the output. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The model to use. - - - - - The message writer settings to use when writing the message payload. - - - - - Gets the property serializer. - - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - Responsible for resolving the element type of an entity set with reader (i.e., looser) semantics. - - - - - Class responsible for determining the entity type of an entity set. - - - - - Returns the element type of the given entity set. - - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type. - - The function parameter to get the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - The model to use or null if no model is available. - - - Reader behavior if the caller is a reader, null if no reader behavior is available. - - - The version of the payload being read. - - - Creates a new entity set element type resolver with all the information needed when resolving for reading scenarios. - The model to use or null if no model is available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for read and calls the client type resolver to resolve type when it is specified. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Resolves the given type reference if a client type resolver is available. - - Type reference to resolve. - The resolved type reference. - - - - Resolves the given type if a client type resolver is available. - - Type to resolve. - The resolved type. - - - - Responsible for resolving the element type of an entity set with writer semantics. - - - - - Singleton instance of the resolver. - - - - - Private constructor to ensure all access goes through the singleton Instance. - - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for write. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader and which support true async operations. - - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData collection readers. - - - - Reads the next item from the message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent item that has been read. - The most recent item that has been read. - - This property returns an when in state ODataCollectionReaderState.CollectionStart - or ODataCollectionReaderState.CollectionEnd. It returns either a primitive value, an or 'null' when - in state ODataCollectionReaderState.Value and 'null' in all other states. - - - - The input context to read from. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - The expected item type reference for the items in the collection. - If an expected type is specified the collection has to be homogeneous. - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Should be false since no more nodes can be read from the reader after the collection ends. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The state of the collection element - empty or not-empty. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - The item associated with the replacement state. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The most recent item that has been read. - - - - - The state of the collection element - empty or non-empty. - - - Only used by ATOM. - - - - - The expected item type for the items in the collection. - - - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - - Returns true if we are reading a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - - - - A collection reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - True, if the collection element attached to this scope is empty. False otherwise. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The state of the collection element - empty or not-empty - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The state of the Collection Element - empty or non-empty. - - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Simple structure for storing both a base URI and the select clause for generating metadata links in JSON-Light payloads. - - - - The base uri to the metadata document. - - - The select clause to include when generating metadata links. - - - - Initializes a new instance of . - - The base uri to the metadata document. - - - - Gets the base uri to the metadata document. - - - - - Gets the select clause to include when generating metadata links. - - - - - Represents a null property value. - - - - - Indicates whether the given value is a null value. - - true, since this object always represents a null value. - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader with truly async operations. - - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader. - - - - Base class for OData parameter readers. - - - Creates an to read the collection value when the state is ODataParameterReaderState.Collection. - An to read the collection value when the state is ODataParameterReaderState.Collection. - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - - - Reads the next parameter from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the name of the current parameter that is being read. - The name of the current parameter that is being read. - - - Gets the value of the current parameter that is being read. - The value of the current parameter that is being read. - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - An interface that allows the creator of a reader/writer to listen for status changes of the created reader/writer. - - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - The input context to read from. - - - The function import whose parameters are being read. - - - Stack of reader scopes to keep track of the current context of the reader. - - - Hash set to keep track of all the parameters read from the payload. - - - Tracks the state of the sub-reader. - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - This method creates an to read the collection value when the state is ODataParameterReaderState.Collection. - - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - Returns an to read the collection value when the state is ODataParameterReaderState.Collection. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - Returns the type reference of the parameter in question. - - Name of the parameter in question. - Returns the type reference of the parameter in question. - - - - Creates a new for the specified with the provided - and and pushes it on the stack of scopes. - - The to use for the new scope. - The paramter name to attach with the state in the new scope. - The paramter value to attach with the state in the new scope. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called when the a parameter was completed. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Gets the corresponding create reader method name for the given state. - - State in question. - Returns the name of the method to create the correct reader for the given state. - - - - Verifies that one of CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() can be called. - - The expected state of the reader. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The name of the current parameter that is being read. - - - - - The value of the current parameter that is being read. - - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - The function import whose parameters are being read. - - - - Enum to track the state of the sub-reader. - - - No sub-reader has been created for the current parameter. - - - CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() has been called for the current parameter - and the newly created reader is not in Completed state. - If the sub-reader is in Error state, the ODataParameterReader will enter ODataParameterReaderState.Error. - - - The created sub-reader is in Completed state. - - - - A parameter reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The parameter name attached to this scope. - - - The parameter value attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The parameter name attached to this scope. - The parameter value attached to this scope. - - - - The reader state of this scope. - - - - - The parameter name attached to this scope. - - - - - The parameter value attached to this scope. - - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Represents a primitive property value. - - - - - Creates a new primitive value from the given CLR value. - - The primitive to wrap. - The primitive value should not be an instance of ODataValue. - - - - Gets the underlying CLR object wrapped by this . - - The underlying primitive CLR value. - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader with true async operations. - - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData readers. - - - - Reads the next from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent that has been read. - The most recent that has been read. - - - The input to read the payload from. - - - true if the reader was created for reading a feed; false when it was created for reading an entry. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - The to use for entries in this feed. - Only applies when reading a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - - - Pushes the on the stack of scopes. - - The scope to enter. - - - - Replaces the current scope with the specified . - - The scope to replace the current scope with. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called to transition into the EntryEnd state. - - The scope for the EntryEnd state. - - - - If an entity type name is found in the payload this method is called to apply it to the current scope. - This method should be called even if the type name was not found in which case a null should be passed in. - The method validates that some type will be available as the current entity type after it returns (if we are parsing using metadata). - - The entity type name found in the payload or null if no type was specified in the payload. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Returns the current item as . Must only be called if the item actually is an entry. - - - - - Returns the current item as . Must only be called if the item actually is a feed. - - - - - Returns the current item as . Must only be called if the item actually is a navigation link. - - - - - Returns the current item as . Must only be called if the item actually is an entity reference link. - - - - - Returns the expected entity type for the current scope. - - - - - Returns the entity set for the current scope. - - - - - Returns the current scope. - - - - - Returns the scope of the entity owning the current link. - - - - - A flag indicating whether the reader is at the top level. - - - - - If the current scope is a content of an expanded link, this returns the parent navigation link scope, otherwise null. - - - - - True if we are reading an entry or feed that is the direct content of an expanded link. Otherwise false. - - - - - Set to true if a feed is being read. - - - - - Returns true if we are reading a nested payload, e.g. an entry or a feed within a parameters payload. - - - - - Validator to validate consistency of entries in top-level feeds. - - We only use this for top-level feeds since we support collection validation for - feeds only when metadata is available and in these cases we already validate the - types of the entries in nested feeds. - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The entity set we are going to read entities for. - The expected entity type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - EntityReferenceLink - it's null, no need for types on entity reference links. - In all cases the specified type must be an entity type. - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The entity set we are reading entries from (possibly null). - - - - - The entity type for this scope. Can be either the expected one if the real one - was not found yet, or the one specified in the payload itself (the real one). - - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Simple ODataVersion specific cache. - - The type of the item being cached. - - - - Lazy constructing T for ODataVersion.V1. - - - - - Lazy constructing T for ODataVersion.V2. - - - - - Lazy constructing T for ODataVersion.V3. - - - - - Constructs an instance of the ODataVersionCache. - - The method to call to create a new instance of for a given ODataVersion. - - - - Indexer to get the cached item when given the ODataVersion. - - The ODataVersion to look up. - The cached item. - - - - Class that hanldes writing top level raw values to a stream. - - - - - Writer settings. - - - - - Underlying stream. - - - - - Encoding that the TextWriter should use. - - - - - TextWriter instance for writing values. - - - - - Initializes a new instance of the class. - Initializes the TextWriter. - - The writer settings. - The stream. It should be the same underlying stream the TextWriter uses. - The encoding to use in the text writer. - - - - Disposes the RawValueWriter. It flushes itself and then disposes its inner TextWriter. - - - - - Start writing a raw output. This should only be called once. - - - - - End the writing of a raw output. This should be the last thing called. - - - - - Converts the specified into its raw format and writes it to the output. - The value has to be of primitive type. Only one WriteRawValue call should be made before this object gets disposed. - - The (non-binary) value to write. - We do not accept binary values here; WriteBinaryValue should be used for binary data. - - - - Flushes the RawValueWriter. - The call gets pushed to the TextWriter (if there is one). In production code, this is StreamWriter.Flush, which turns into Stream.Flush. - In the synchronous case the underlying stream is the message stream itself, which will then Flush as well. - In the async case the underlying stream is the async buffered stream, which ignores Flush call. - - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Gets the text writer. - - - - - Class with utility methods to deal with values in ODataLib. - - - - - Converts an object to an ODataValue. If the given object is already an ODataValue (such as an ODataCompleValue, ODataCollectionValue, etc.), the original object will be returned. - - The object to convert to an ODataValue - The given object as an ODataValue. - - - - Converts an ODataValue to the old style of representing values, where null values are null and primitive values are just the direct primitive (no longer wrapped by ODataPrimitiveValue). - All other value types, such as ODataComplexValue and ODataCollectionValue are returned unchanged. - - The value to convert. - The value behind the given ODataValue. - - - - Represents a tree of selected properties based on the $select query option. - - - When reading, it controls the template expansion in JSON Light. - - - - The separator character used to separate property names in a path. - - - The separator character used to separate paths from each other. - - - Singleton which indicates that the nothing is selected. - - - Singleton which indicates that the entire subtree is selected. - - - An empty set of stream properties to return when nothing is selected. - - - An empty set of navigation properties to return when nothing is selected. - - - The type of the current node. - - - The list of selected properties at the current level. - - - A dictionary of property name to child nodes. - - - Indicates that this node had a wildcard selection and all properties at this level should be reported. - - - - Constructor. - - The string representation of the selected property hierarchy using - the same format as in the $select query option. - - - - Prevents a default instance of the class from being created. - - Type of the selection. - - - - Creates a node from the given raw $select query option value. - - The value of the $select query option. - A tree representation of the selected properties specified in the query option. - - - - Recursively combines the left and right nodes. Used when there are type segments present in the select paths which - causes there to be multiple children for the same property/navigation. - - The left node. - The right node. - The combined node. - - - - Gets the selected properties node for the specified navigation property. - - The current entity type. - The name of the navigation property. - The selected properties node for the property with name . - - - - Gets the selected navigation properties for the current node. - - The current entity type. - The set of selected navigation properties. - - - - Gets the selected stream properties for the current node. - - The current entity type. - The selected stream properties. - - - - Determines whether or not the given operation is selected and takes type-segments into account. - - The current entity type. - The operation. - Whether or not the operation name must be container qualified in the $select string. - - true if the operation is selected; otherwise, false. - - - - - Gets an enumerable containing the given type and all of its base/ancestor types. - - The starting entity type. Will be included in the returned enumeration. - An enumerable containing the given type and all of its base/ancestor types. - - - - Creates a new hash set for storing the names of selected properties. - - The initial set of selected properties to store in the hash set. - The hash set. - - - - Creates a new hash set for storing the names of selected properties. - - The hash set. - - - - Gets the possible identifiers that could cause the given operation to be selected. - - The operation. - Whether the operations must be container qualified. - The identifiers to look for in the $select string when determining if this action is selected. - - - - Gets the matching type segments for the given type based on this node's children. - - The entity type to match. - All child nodes which start with a type segment in the given types hierarchy. - - - - Parses the segments of a path in the select clause. - - The segments of the select path. - The index of the segment to parse. - - - - Ensures that a child annotation for the specified segment name already exists; if not creates one. - - The segment name to get the child annotation for. - The existing or newly created child annotation for the . - - - - Determines whether or not the given operation is selected without taking type segments into account. - - The operation. - Whether the operations must be container qualified. - - true if the operation is selected; otherwise, false. - - - - - Enum representing the different special cases of selection. - - - - - Represents the case where no properties are selected. - - - - - Represents the case where an entire subtree is selected. - - - - - The normal case where a partial subtree has been selected. - - - - - Class representing an annotation group in the JSON Light format. - - - - The name of the annotation group. - - - The (instance and property) annotations included in this annotation group. - - - - The name of the annotation group. - - The name has to be unique across the whole JSON Light payload. - - - - The (instance and property) annotations included in this annotation group. - - The keys in the dictionary are the names of the annotations, the values are their values. - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Tries to get a stream property of the specified name. - - The instance of the entity to get the stream property for. - The stream property name to find. - The stream property found. - true if the stream property was found or if the stream property name was null (default stream). - false if the stream property doesn't exist. - - - - Gets the the CLR value for a primitive property. - - The structured value. - Name of the property. - The clr value of the property. - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Class which holds information about navigation link to be reported by the reader. - - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link has a value (is expanded). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - List of entity reference links to be reported to the navigation link. - - - If the navigation link is a singleton this will hold up to 1 item. - If the navigation link is a collection this will hold any number of items. - When the entity reference link is reported it is removed from this list. - - - - - Constructor. - - The navigation link to report. - The navigation property for which the link will be reported. - true if the navigation link is expanded. - - - - Creates a navigation link info for a deferred link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded entry link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded feed link. - - The navigation link to report. - The navigation property for which the link will be reported. - The expanded feed for the navigation link to report. - The navigation link info created. - - - - Creates a navigation link info for a singleton entity reference link. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference link for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a collection of entity reference links. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference links for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a projected navigation link that is missing from the payload. - - The navigation property for which the link will be reported. - The navigation link info created. - - - - Gets the next entity reference link to report and removes it from the internal storage. - - The entity reference link to report or null. - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link is expanded (has a value). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - true if the link info has entity reference link which was not yet reported, false otherwise. - - - - - OData JsonLight deserializer for parameter payloads. - - - - - OData JsonLight deserializer for properties and value types. - - - - A sentinel value indicating a missing property value. - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JsonLight input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - An representing the read property. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - A task which returns an representing the read property. - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Gets and validates the type name annotation for the specified property. - - The duplicate property names checker in use for the entry content. - The name of the property to get the type name for. - The type name for the property or null if no type name was found. - - - - Tries to read an annotation as OData type name annotation. - - The annotation name on which value the reader is positioned on. - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - JsonNodeType.PrimitiveValue - the reader didn't move - JsonNodeType.StartObject - JsonNodeType.StartArray - - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - Reads the value of the odata.type annotation. - - The type name read from the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation, will fail if it's not PrimitiveValue - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - - - - - Reads top-level property payload property annotation value. - - The name of the property annotation. - The value of the annotation read. - - - - Tries to read an annotation as OData type name annotation. - - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.Property - the property that possibly is an odata.type instance annotation - Post-Condition: JsonNodeType.Property - the next property after the annotation or if the reader did not move - JsonNodeType.EndObject - end of the parent object - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - The duplicate property names checker to use. - An representing the read property. - - The method assumes that the ReadPayloadStart has already been called and it will not call ReadPayloadEnd. - - - - - Updates the expected type based on the metadata URI if there is one. - - The expected property type reference provided by the user through public APIs, or null if one was not provided. - The expected type reference updated based on the metadata uri, if there is one. - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartArray - Post-Condition: almost anything - the node after the collection value (after the EndArray) - - - - - Reads a primitive value. - - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The expected type reference of the value, or null if none is available. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: insideJsonObjectValue == false -> none - Fails if the current node is not a JsonNodeType.PrimitiveValue - insideJsonObjectValue == true -> JsonNodeType.Property or JsonNodeType.EndObject - the first property of the value object, - or the second property if first was odata.type, or the end-object. - Post-Condition: almost anything - the node after the primitive value. - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - this is always initialized as necessary, do not clear. - The value of the complex value. - - Pre-Condition: JsonNodeType.Property - the first property of the complex value object, or the second one if the first one was odata.type. - JsonNodeType.EndObject - the end object of the complex value object. - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the payload type name from a JSON object (if it exists). - - The duplicate property names checker to track the detected 'odata.type' annotation (if any). - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The value of the odata.type annotation or null if no such annotation exists. - true if a type name was read from the payload; otherwise false. - - Precondition: StartObject the start of a JSON object - Postcondition: Property the first property of the object if no 'odata.type' annotation exists as first property - or the first property after the 'odata.type' annotation. - EndObject for an empty JSON object or an object with only the 'odata.type' annotation - - - - - Detects whether we are currently reading a complex property or not. This can be determined from metadata (if we have it) - or from the presence of the odata.type instance annotation in the payload. - - The duplicate property names checker in use for the entry content. - The expected type reference of the property to read. - The type name of the complex value if found in the payload; otherwise null. - true if we are reading a complex property; otherwise false. - - This method does not move the reader. - - - - - Tries to read a top-level null value from the JSON reader. - - true if a null value could be read from the JSON reader; otherwise false. - If the method detects the odata.null annotation, it will read it; otherwise the reader does not move. - - - - Make sure that we don't find any other odata.* annotations or properties after reading a payload with the odata.null annotation or the odata.metadata annotation with value ending #Edm.Null - - The duplicate property names checker to use. - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - OData property annotation reader for parameter payloads. - OData property annotations are not supported in parameter payloads. - - - The JSON Light parameter reader. - - - - Constructor. - - The JSON Light parameter reader. - The JsonLight input context to read from. - - - - Reads the next parameter from the parameters payload. - - The duplicate property names checker used to read a parameter payload. - true if a parameter was read from the payload; otherwise false. - - Pre-Condition: Property or EndObject the property node of the parameter to read or the end object node if there are not parameters - Post-Condition: Property or EndObject the node after the property value of a primitive, complex or null collection parameter - Any the start of the value representing a non-null collection parameter (the collection reader will fail if this is not a StartArray node) - - - - - Parser for odata metadata URIs used in JSON Lite. - - - - The start of the select query option (including the '=' character). - - - The model to use when resolving the target of the URI. - - - The result of parsing the metadata URI. - - - - Initializes a new instance of the class. - - The model to use when resolving the target of the URI. - The metadata URI read from the payload. - - - - Creates a metadata URI parser and parses the metadata URI read from the payload. - - The model to use when resolving the target of the URI. - The string value of the odata.metadata annotation read from the payload. - The payload kind we expect the metadata URI to conform to. - The OData version to use for determining the set of built-in functions available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The result from parsing the metadata URI. - - - - Extracts the value of the $select query option from the specified fragment. - - The fragment to extract the $select query option from. - The value of the $select query option or null if none exists. - - - - Parses a metadata URI read from the payload into its parts. - - - - - Applies the model and validates the metadata URI against it. - - The payload kind we expect the metadata URI to conform to. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - - Parses the fragment of a metadata URI. - - The fragment to parse - Reader behavior if the caller is a reader, null if no reader behavior is available. - The OData version to use for determining the set of built-in functions available. - The detected payload kind based on parsing the fragment. - - - - Returns the parse results of the metadata uri if it has a AssociationLink in the uri - - Edm Type Resolver to determine entityset type element. - Number of split parts the metadata fragment is split into. - The actual metadata fragment parts. - The reader behavior. - The odata version. - Returns with an EntityReferenceLink or Links depending on the Uri, sets the parse results with the navigation, and set - - - - Set the EntityLinks Parse results. - - Navigation property to add to the results. - Single element string, used to confirm if this is an error case or not. - Returns ReferenceLink or Collection Link based on the navigation and at element - - - - Parses the fragment of an entity reference link metadata URI. - - Edm Type Resolver used to get the ElementType of the entity set. - Entity Set used as a starting point to find the navigation property - The name of the type declaring the navigation property. - The name of the navigation property. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved navigation property. - - - - Validate the Metadata Uri Fragment is @Element for a $links metadata uri, will throw a $links specific error - - Element selector. - - - - Validate the Metadata Uri Fragment is @Element for a non $links metadata uri, throws if its not correct - - Element selector. - - - - Resolves a navigation property name to an IEdmNavigationProperty. - - Entity Type to look for the navigation property on. - Navigation property name to find. - Returns the navigation property of throws an exception if it cannot be found. - - - - Resolves the entity set. - - The entity set part. - The resolved entity set. - Returns the OData Payload Kind - - - - Resolves an entity set with an optional type cast and updates the parse result. - - The entity set to resolve the type cast against. - The optional type cast. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type of the given entity set. - The resolved entity type. - - - - Resolves a type. - - The type name. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved Edm type. - - - - Interface representing a state of the JSON writer for entry. - - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entry being written. - - - - - The entity type for the entry (if available) - - - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - - - The serialization info for the current entry. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Constants for the JSON Lite format. - - - - The prefix for OData annotation names. - - - The separator of property annotations. - - - The value 'true' for the OData null annotation. - - - The 'value' property name for the Json Light value property. - - - The name of the property returned for a singleton $links query. - - - The name of the property returned for a URL of a workspace collection. - - - The name of the property returned for a name of a workspace collection. - - - The 'name' property name of an annotation group declaration. - - - The name of the $select query option. - - - The '=' character used to separate a query option name from its value. - - - The '&' separator character between query options. - - - The hash sign acting as fragment indicator in a metadata URI. - - - The slash sign used as separator in the fragment of a metadata URI. - - - The @Element token that indicates that the payload is a single item from a set. - - - The '(' used to mark the start of function parameters in the fragment of a metadata URI. - - - The ')' used to mark the end of function parameters in the fragment of a metadata URI. - - - The "," to use as the separator for the function parameters in the fragment of a metadata URI. - - - The token that indicates the payload is a property with null value. - - - - Builder class to construct the metadata pointers for the Json Light format for the various payload kinds. - - - - - Creates a metadata uri builder after validating user input. - - The JSON Light metadata level being written. - if set to true indicates that a response is being written. - The writer settings. - The Edm model instance. - The metadata uri builder to use while writing. - - - - Creates a metadata uri builder for the given base metadata document uri. - DEVNOTE: specifically for unit testing. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - A new metadata uri builder. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which uses a user-provided uri and $select clause. - - - - - The base metadata document uri and $select clause provided by the user. - - - - - The Edm model instance. - - - - - if set to true indicates that a response is being written. - - - - - Initializes a new instance of the class. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the metadata URI type name based on the given property. - - The property. - The type name for the metadata URI. - - - - Gets the entity set name for the metadata Uri. - - The entity set in question. - The model instance. - Returns the entity set name for the metadata Uri. - - - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - The entity set in question. - The eneity type in question. - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - - - - Creates the metadata URI for a type. - - The non-null, absolute metadata document URI. - The fully qualified type name to create the metadata URI for. - Returns the metadata URI for a value based on its type. - - - - Creates the metadata URI for a feed or entry. - - The non-null, absolute metadata document URI. - The Edm model instance. - The context object to answer basic questions regarding the type of the entry or feed. - true if the metadata URI is built for an entry, false if the metadata URI is built for a feed. - true if the metadata URI is for a response payload, false if the metadata URI is for a request payload. - Returns the metadata URI for the feed or entry. - - - - Creates the metadata URI for an entity set. - - The non-null, absolute metadata document URI. - The fully qualified entity set name for which to create the metadata URI. - The fully qualified entity type name of the entries in the result. This has to be an entity type derived - from the result entity set's base type or null to use its base type. - Navigation Property name to create a $link metadata uri to, if not null a $link uri will be created - true to append the '@Element" item selector at the end of the metadata URI; otherwise false. - The metadata URI for the . - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which never actually builds anything. Used for the case where 'nometadata' is explicitly requested in the media type. - - - - - Singleton instance of . - - - - - Prevents a default instance of the class from being created. - - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - The result of parsing an OData metadata URI in JSON Lite. - - - - The metadata URI read from the payload in its unparsed form. - - - The metadata document URI as read from the payload. - - - The fragment portion of the metadata URI. - - - The $select query option. - - - The resolved entity set as specified in the metadata URI. - - - The resolved structured type as specified in the metadata URI. - - - The navigation property as specified in the metadata URI. - - - The detected payload kinds from parsing the metadata URI. - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - Initializes a new instance of the class. - - The metadata URI read from the payload in its unparsed form. - - - - The metadata URI read from the payload in its unparsed form. - - - - - The metadata document URI as read from the payload. - - This is the metadata URI as read from the payload without the fragment. - - - - The fragment portion of the metadata URI. - - - - - The $select query option. - - - - - The resolved entity set as specified in the metadata URI. - - - - - The resolved structured type as specified in the metadata URI. - - - - - The navigation property as specified in the metadata URI. - - - - - The detected payload kinds from parsing the metadata URI. - - - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - - Reader for the JSON Lite format that supports look-ahead and re-ordering of payloads. - - - - - Reader for the JSON format (http://www.json.org) that supports look-ahead. - - - - - Reader for the JSON format. http://www.json.org - - - - - The initial size of the buffer of characters. - - - 4K (page size) divided by the size of a single character 2 and a little less - so that array structures also fit into that page. - The goal is for the entire buffer to fit into one page so that we don't cause - too many L1 cache misses. - - - - - Maximum number of characters to move in the buffer. If the current token size is bigger than this, we will allocate a larger buffer. - - This threshold is copied from the XmlReader implementation. - - - - The text which every date time value starts with. - - - - - The text which every date time value ends with. - - - - - The text reader to read input characters from. - - - - - Stack of scopes. - - - At the begining the Root scope is pushed to the stack and stays there for the entire parsing - (so that we don't have to check for empty stack and also to track the number of root-level values) - Each time a new object or array is started the Object or Array scope is pushed to the stack. - If a property inside an Object is found, the Property scope is pushed to the stack. - The Property is popped once we find the value for the property. - The Object and Array scopes are popped when their end is found. - - - - true if annotations are allowed and thus the reader has to - accept more characters in property names than we do normally; otherwise false. - - - true if the reader should recognize ASP.NET JSON DateTime and DateTimeOffset format "\/Date(...)\/". - false if the reader should not recognize such strings and read them as arbitrary string. - - - - End of input from the reader was already reached. - - This is used to avoid calling Read on the text reader multiple times - even though it already reported the end of input. - - - - Buffer of characters from the input. - - - - - Number of characters available in the input buffer. - - This can have value of 0 to characterBuffer.Length. - - - - Index into the characterBuffer which points to the first character - of the token being currently processed (while in the Read method) - or of the next token to be processed (while in the caller code). - - This can have value from 0 to storedCharacterCount. - - - - The last reported node type. - - - - - The value of the last reported node. - - - - - Cached string builder to be used when constructing string values (needed to resolve escape sequences). - - The string builder instance is cached to avoid excessive allocation when many string values with escape sequences - are found in the payload. - - - - Constructor. - - The text reader to read input characters from. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Determines if a given character is a whitespace character. - - The character to test. - true if the is a whitespace; false otherwise. - Note that the behavior of this method is different from Char.IsWhitespace, since that method - returns true for all characters defined as whitespace by the Unicode spec (which is a lot of characters), - this one on the other hand recognizes just the whitespaces as defined by the JSON spec. - - - - Parses a date time primitive value. - - The string value to parse. - The parsed date time value, or null if the string value doesn't represent a date time value. - - - - Parses a "value", that is an array, object or primitive value. - - The node type to report to the user. - - - - Parses a property name and the colon after it. - - The node type to report to the user. - - - - Parses a primitive string value. - - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses a primitive string value. - - Set to true if the first character in the string was a backslash. This is used when parsing DateTime values - since they must start with an escaped slash character (\/). - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses the null primitive value. - - Always returns null if successful. Otherwise throws. - Assumes that the current token position points to the 'n' character. - - - - Parses the true or false primitive values. - - true of false boolean value if successful. Otherwise throws. - Assumes that the current token position points to the 't' or 'f' character. - - - - Parses the number primitive values. - - Int32 or Double value if successful. Otherwise throws. - Assumes that the current token position points to the first character of the number, so either digit, dot or dash. - - - - Parses a name token. - - The value of the name token. - Name tokens are (for backward compat reasons) either - - string value quoted with double quotes. - - string value quoted with single quotes. - - sequence of letters, digits, underscores and dollar signs (without quoted and in any order). - - - - Called when end of input is reached. - - Always returns false, used for easy readability of the callers. - - - - Creates a new scope of type and pushes the stack. - - The scope type to push. - - - - Pops a scope from the stack. - - - - - Pops a property scope if it's present on the stack. - - - - - Skips all whitespace characters in the input. - - true if a non-whitespace character was found in which case the tokenStartIndex is pointing at that character. - false if there are no non-whitespace characters left in the input. - - - - Ensures that a specified number of characters after the token start is available in the buffer. - - The number of character after the token to make available. - true if at least the required number of characters is available; false if end of input was reached. - - - - Consumes the characters starting at the start of the token - and returns them as a string. - - The number of characters after the token start to consume. - The string value of the consumed token. - - - - Reads more characters from the input. - - true if more characters are available; false if end of input was reached. - This may move characters in the characterBuffer, so after this is called - all indeces to the characterBuffer are invalid except for tokenStartIndex. - - - - The value of the last reported node. - - This is non-null only if the last node was a PrimitiveValue or Property. - If the last node is a PrimitiveValue this property returns the value: - - null if the null token was found. - - boolean if the true or false token was found. - - string if a string token was found. - - DateTime if a string token formatted as DateTime was found. - - Int32 if a number which fits into the Int32 was found. - - Double if a number which doesn't fit into Int32 was found. - If the last node is a Property this property returns a string which is the name of the property. - - - - - The type of the last node read. - - - - - Various scope types for Json writer. - - - - - Root scope - the top-level of the JSON content. - - This scope is only once on the stack and that is at the bottom, always. - It's used to track the fact that only one top-level value is allowed. - - - - Array scope - inside an array. - - This scope is pushed when [ is found and is active before the first and between the elements in the array. - Between the elements it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Object scope - inside the object (but not in a property value). - - This scope is pushed when { is found and is active before the first and between the properties in the object. - Between the properties it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Property scope - after the property name and colon and througout the value. - - This scope is pushed when a property name and colon is found. - The scope remains on the stack while the property value is parsed, but once the property value ends, it's immediately removed - so that it doesn't appear on the stack after the value (ever). - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - Get/Set the number of values found under the current scope. - - - - - Gets the scope type for this scope. - - - - The (possibly empty) list of buffered nodes. - This is a circular linked list where this field points to the first item of the list. - - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - - The maximumum number of recursive internalexception objects to allow when reading in-stream errors. - - - - The name of the property that denotes an in-stream error. - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - - Debug flag to ensure we do not re-enter the instance while reading ahead and trying to parse an in-stream error. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Constructor. - - The text reader to read input characters from. - The name of the property that denotes an in-stream error. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Puts the reader into the state where it buffers read nodes. - - - - - Creates a bookmark at the current position of the reader. - - The bookmark object, it should be treated as a black box by the caller. - - - - Moves the reader to the bookmarked position. - - The bookmark object to move to. - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - A method to detect whether the current property value represents an in-stream error. - - The read from the payload. - true if the current value is an in-stream error value; otherwise false. - - - - Reads the next node from the input. If we have still nodes in the buffer, takes the node - from there. Otherwise reads a new node from the underlying reader and buffers it (depending on the current mode). - - true if a new node was found, or false if end of input was reached. - - If the parsingInStreamError field is false, the method will read ahead for every StartObject node read from the input to check whether the JSON object - represents an in-stream error. If so, it throws an . If false, this check will not happen. - This parsingInStremError field is set to true when trying to parse an in-stream error; in normal operation it is false. - - - - - Called whenever we find a new object value in the payload. - The base class implementation reads ahead and tries to parse it as an in-stream error payload. If it finds one it will throw it. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads the next node from the JSON reader and if a start-object node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Try to read an error structure from the stream. Return null if no error structure can be read. - - An instance that was read from the reader or null if none could be read. - true if an instance that was read; otherwise false. - - - - Try to read the message property value of an error value. - - An instance to set the read message property values on. - true if the message property values could be read; otherwise false. - - - - Try to read an inner error property value. - - An instance that was read from the reader or null if none could be read. - The number of times this method has been called recursively. - true if an instance that was read; otherwise false. - - - - Reads the string value of a property. - - The string value read if the method returns true; otherwise null. - true if a string value (or null) was read as property value of the current property; otherwise false. - - - - Skips over a JSON value (primitive, object or array) while parsing in-stream errors. - Note that the SkipValue extension method can not be used in this case as this method has to - access the base instance's NodeType and call ReadInternal. - - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Removes the head node from the buffer. - - - - - The type of the last node read. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - The value of the last reported node. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Private class used to buffer nodes when reading in buffering mode. - - - - The type of the node read. - - - The value of the node. - - - - Constructor. - - The type of the node read. - The value of the node. - - - - The type of the node read. - - - - - The value of the node. - - - - - The previous node in the list of nodes. - - - - - The next node in the list of nodes. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Buffers and re-orders an object value for later consumption by the JsonLight reader. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads a property name from the JSON reader and determines if it's a regular property, an instance annotation or a property annotation. - - The name of the regular property which the reader is positioned on or which a property annotation belongs to. - The name of the instance or property annotation, or null if the reader is on a regular property. - - - - Reads over a value buffering it. - - - - - A data structure to represent the buffered object with information about its properties, - their order and annotations. - - - - The cache for properties. - The key is the property or instance annotation name, - the value are the buffered properties grouped by property name (incl. annotation properties). - - - The set of data property names. - Data properties are the properties that are neither an instance annotation property nor a property annotation. - - - A list of property names with their annotation name. - This is needed to properly maintain the relative order of annotation properties if no data - property for the annotation property exists in the object. - - - - Constructor. - - - - - Adds a new buffered property to the list of buffered properties for this object. - - The name of the data property (null for instance annotations). - The name of the annotation (null for data properties). - The buffered property to add. - - - - Reorders the buffered properties to conform to the required payload order. - - The required order is: odata.metadata comes first, odata.type comes next, then all odata.* property annotations - and finally, we preserve the relative order of custom annotations and data properties. - - - - Sort the data properties and property annotations stored for a particular property name. - - The list of buffered properties to sort. - The sorted enumerable of buffered properties. - The sort order is for all odata.* property annotations to come before the data property - but otherwise preserve the relative order of custom property annotations with regard to the position of the data property. - - - - Checks whether an annotation name is an odata.* annotation. - - The annotation name to check. - true if the annotation name represents an odata.* annotation; otherwise false. - - - - Checks whether an annotation name is a odata.metadata annotation. - - The annotation name to check. - true if the annotation name represents an odata.metadata annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroup annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroup annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroupReference annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroupReference annotation; otherwise false. - - - - Checks whether an annotation name is a odata.type annotation. - - The annotation name to check. - true if the annotation name represents an odata.type annotation; otherwise false. - - - - Checks whether an annotation name is a odata.id annotation. - - The annotation name to check. - true if the annotation name represents an odata.id annotation; otherwise false. - - - - Checks whether an annotation name is a odata.etag annotation. - - The annotation name to check. - true if the annotation name represents an odata.etag annotation; otherwise false. - - - - Sorts the property names for an object. - - The sorted enumerable of property names. - The sort order is to put odata.metadata first, then odata.type, odata.id, and odata.etag, followed by all other odata.* instance annotations. - For the rest, we preserve the relative order of custom annotations with regard to the data property. - Note that we choose the position of the first property annotation in cases where no data property for a set of - property annotations exists. - - - - The node in the linked list of buffered nodes where this object starts. - - - - - The current buffered property being processed. - - - - - A data structure to represent a buffered property. - - - - - Reorders the buffered property to be positioned after the node. - - The node after which to insert this buffered property. - - - - The annotation name for this buffered property (either instance annotation or property annotation). - - - - - The node in the linked list of buffered nodes that represents the property name of the buffered property. - - - - - The node in the linked list of buffered nodes that represents the end of the property value of the buffered property. - - - - - Interface representing a context necessary for reading JSON operations values. - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - Base class for all JSON output contexts. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The text writer created for the output stream. - - - The JSON writer to write to. - This field is also used to determine if the output context has been disposed already. - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the which is to be used to write the content of the message. - - - - - Helper methods used by the OData reader for the Verbose JSON and JSON Light formats. - - - - - Try and parse spatial type from the json payload. - - The JSON reader to read from. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - Expected edm property type. - true to validate null values; otherwise false. - The recursion depth to start with. - The name of the property whose value is being read, if applicable (used for error reporting). - An instance of the spatial type. - - - - Tries to read a null value from the JSON reader. - - The JSON reader to read from. - The input context with all the settings. - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - true if a null value could be read from the JSON reader; otherwise false. - If the method detects a null value it will read it (position the reader after the null value); - otherwise the reader does not move. - - - - Reads the json object value from the jsonReader - - Json reader to read payload from the wire. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - The recursion depth to start with. - an instance of IDictionary containing the spatial value. - - - - Read the json array from the reader. - - JsonReader instance. - The input context with all the settings. - The recursion depth to start with. - a list of json objects. - - - - Reader for the JSON format that supports look-ahead and deduplicates properties. - - - This reader will buffer the entire object record whenever it finds the start of the object record. - It then goes through all its properties and removes duplicates. - It then reports the object record as if there were no duplicates in it. - If there was a duplicate property it will be reported at the position the first occurence of the property was found - but with the value of the last occurence. - This is to implement WCF DS Server compatibility behavior. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Removes duplicate properties in the current object record. - - - This method assumes that we are buffering and that the current buffered node is a StartObject. - It then goes, buffers the entire object record (and all its children) and removes duplicate properties (using the WCF DS Server algorithm). - It will remove duplicate properties on any objects in the subtree of the top-level object as well (behaves recursively). - The method also checks for in-stream errors and throws if it finds one. - - - - - Private class used to store information necessary to deduplicate properties of a single JSON object record. - - - This class is a dictionary - Key is the name of a property in the object record. - Value is a list of property deduplication records in the order we find the properties in the payload. - - - - - Points to the property record which is currently being constructed. - - - - - Private class used to store information necessary to deduplicate a single JSON property. - - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - - - Constructor. - - The property node to create the record for. - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - Observation: Even if the value itself is an object for which we will do the property deduplication and thus we will shuffle its nodes around, - in that case the last value node will point to the end object node which will not change during the deduplication process. - - - - - Annotation which stores the EDM type information of a value. - - - This annotation will be used on ODataEntry, ODataComplexValue and ODataCollectionValue. - - - - The EDM type of the value this annotation is on. - - - The entity set of the value this annotation is on. Only applies to entity values. - - - - Creates a new instance of the type annotation for an entity value. - - The entity set the entity belongs to (required). - The entity type of the entity value if not the base type of the entity set (optional). - - - - Creates a new instance of the type annotation for a complex value. - - The type of the complex value (required). - - - - Creates a new instance of the type annotation for a collection value. - - The type of the collection value (required). - - - - The EDM type of the value. - - - - - The entity set the value belongs to (only applies to entity values). - - - - - An implementation of an OData collection value. - - - - - The to convert into an . - - - - - Creates a new instance of an . - - The to create the collection value for. - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - An implementation of an OData entry or complex value. - - - - Static, un-typed instance for use in ODataLib. - - - - Creates a new Edm null value with the specified type. - - The type of the null value (if available). - - - - Gets the kind of this value. - - - - - Class with utility methods to deal with EDM values over OData OM instances. - - - - - Converts an into the corresponding . - - The non-null to convert. - The declaring type of the property. - An implementation of the value. - - - - Converts an OData value into the corresponding . - - The value to convert. - The of the value or null if no type reference is available. - An implementation of the . - - - - An implementation of an OData entry or complex value. - - - - Properties of an OData entry or complex value. - - - The type of this structured value. - - - - Creates a new Edm structured value from an OData entry. - - The to create the structured value for. - - - - Creates a new Edm structured value from an OData complex value. - - The to create the structured value for. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Interface representing a state of the JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. May be null. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - OData JsonLight deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - The duplicate property names checker used to keep track of the properties and annotations - in the collection wrapper object. - true if we are reading a nested collection inside a paramter payload; otherwise false. - The expected item type reference or null if none is expected. - The validated actual item type reference (if specified in the payload) or the expected item type reference. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: Any: the start of a nested collection value; if this is not a 'StartArray' node this method will fail. - JsonNodeType.Property: the first property of the collection wrapper object after the metadata URI. - JsonNodeType.EndObject: when the collection wrapper object has no properties (other than the metadata URI). - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level instance annotations. - - true if we are reading a nested collection inside a paramter payload; otherwise false. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: All of the collection payload has been consumed. - - - - - OData collection reader for the JsonLight format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the collection reader logic when in state 'Start'. - - The duplicate property names checker for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - OData JsonLight serializer for collections. - - - - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - - Writes the start of a collection. - - The collection start to write. - The item type of the collection or null if no metadata is available. - - - - Writes the end of a collection. - - - - - ODataCollectionWriter for the JsonLight format. - - - - - Base class for OData collection writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData collection writers. - - - - Start writing a collection. - The representing the collection. - - - Asynchronously start writing a collection. - A task instance that represents the asynchronous write operation. - The representing the collection. - - - Starts writing an entry. - The collection item to write. - - - Asynchronously start writing a collection item. - A task instance that represents the asynchronous write operation. - The collection item to write. - - - Finishes writing a collection. - - - Asynchronously finish writing a collection. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - An interface that allows the implementations of the writers to get notified if an in-stream error is to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - The output context to write to. - - - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - Stack of writer scopes to keep track of the current context of the writer. - - - The expected type of the items in the collection or null if no expected item type exists. - - - Checker to detect duplicate property names on complex collection items. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a collection. - - The representing the collection. - - - - Asynchronously start writing a collection. - - The representing the collection. - A task instance that represents the asynchronous write operation. - - - - Write a collection item. - - The collection item to write. - - - - Asynchronously start writing a collection item. - - The collection item to write. - A task instance that represents the asynchronous write operation. - - - - Finish writing a collection. - - - - - Asynchronously finish writing a collection. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - The representing the collection. - - - - Start writing a collection - implementation of the actual functionality. - - The representing the collection. - - - - Verify that calling WriteItem is valid. - - true if the call is to be synchronous; false otherwise. - - - - Write a collection item - implementation of the actual functionality. - - The collection item to write. - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a collection - implementation of the actual functionality. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Notifies the implementer of the interface of relevant state changes in the writer. - - The new writer state. - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - The item associated with the new state. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - The current state of the writer. - - - - Checker to detect duplicate property names on complex collection items. - - - - The collection validator instance. - - - - - The item type of the collection being written or null if no metadata is available. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer has started writing and is writing the wrapper elements for the - collection items (if any). No or all items have been written. - - - - The writer is in a state where collection items can be written. - - - The writer has completed; nothing can be written anymore. - - - Writer has written an error; nothing can be written anymore. - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - - The output context to write to. - - - - - The JsonLight collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - OData JsonLight deserializer for entity reference links. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - An representing the read entity reference link. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read entity reference link. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read entity reference link. - - - - Reads the entity reference link instance annotations. - - The to read the annotations for. - The duplicate property names checker for the entity reference links scope. - true when parsing the instance annotations before the 'value' property; - false when parsing the instance annotations after the 'value' property. - - Pre-Condition: JsonNodeType.Property The first property in the payload (or the first property after the metadata URI in responses) - JsonNodeType.EndObject The end of the entity reference links object - Post-Condition: JsonNodeType.EndObject When the end of the entity reference links object is reached - Any The first node of the value of the 'url' property (if found) - - - - - Reads the odata.nextlink value of an entity reference links nextlink annotation. - - The entity reference links to read the next link value for; the value of the nextlink will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of an entity reference links count annotation. - - The entity reference links to read the count value for; the value of the count will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Read an entity reference link. - - The duplicate property names checker to check for duplicate properties and - duplicate annotations; this is a separate instance per entity reference link. - true if we are reading a singleton entity reference link at the top level; false if we are reading - an entity reference link as part of a collection of entity reference links. - An instance of which was read. - - Pre-Condition: StartObject when the entity reference link is part of a collection - Property the first property in the entity reference link (for a top-level link) - EndObject the end object node of an entity reference link (for a top-level link) - Post-Condition: EndInput for a top-level object - EndArray for the last link in a collection of links - Any for the first node of the next link in a collection of links - - - - - OData JsonLight serializer for entity reference links. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - true if the entity reference link being written is at the top level of the payload. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes the next link property, which consists of the property name and value. - - The non-null value of the next link to write. - - - - Writes the odata.count property, which consists of the property name and value. - - The value of the count property to write. - - - - OData JsonLight deserializer for entries and feeds. - - - - The annotation group deserializer for reading annotation groups. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of the JSON array for the content of the feed. - - - Pre-Condition: JsonNodeType.StartArray: The start of the feed property array; this method will fail if the node is anything else. - Post-Condition: JsonNodeType.StartObject: The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of the array containing the feed content. - - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.Property if the feed is part of an expanded navigation link and there are more properties in the object - JsonNodeType.EndObject if the feed is a top-level feed or the expanded navigation link is the last property of the payload - - - - - Reads the entry type name annotation (odata.type) - - The state of the reader for entry to read. - - Pre-Condition: JsonNodeType.Property The first property after the odata.metadata in the entry object. - JsonNodeType.EndObject End of the entry object. - Post-Condition: JsonNodeType.Property The property after the odata.type (if there was any), or the property on which the method was called. - JsonNodeType.EndObject End of the entry object. - - This method fills the ODataEntry.TypeName property if the type name is found in the payload. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.Property If we've read a deferred link (this is the property after the deferred link) - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null - - - - - Validates entry metadata. - - The entry state to use. - - - - Reads the feed instance annotations for a top-level feed. - - The to read the instance annotations for. - The duplicate property names checker for the top-level scope. - true when parsing the instance annotations before the feed property; - false when parsing the instance annotations after the feed property. - true if we should scan ahead for the annotations and ignore the actual data properties (used with - the reordering reader); otherwise false. - - - - Reads a value of property annotation on the entry level. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property annotation - - - - - Reads an annotation group if one exists, and updates the given entry with the annotations from the annotation group. - - The state for the entry which should get the annotations. - - - - Reads instance annotation in the entry object. - - The name of the instance annotation found. - true if a non-annotation property has already been encountered. - true if the 'odata.type' annotation has already been encountered, or should have been by now. - The duplicate property names checker for the entry being read. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads instance annotation in the entry object. - - The state of the reader for entry to read. - The name of the instance annotation found. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of the instance annotation. - - The duplicate property names checker instance. - The name of the instance annotation. - Returns the value of the instance annotation. - - - - Reads the value of a feed annotation (count or next link). - - The name of the annotation found. - The feed to read the annotation for; if non-null, the annotation value will be assigned to the feed. - The duplicate property names checker instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the annotation - Post-Condition: JsonNodeType.EndObject The end of the feed object - JsonNodeType.Property The next annotation after the current annotation - - - - - Reads entry property which doesn't have value, just annotations. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.EndObject The end of the entry object. - JsonNodeType.Property The property after the one we're to read. - Post-Condition: JsonNodeType.EndObject This method doesn't move the reader. - JsonNodeType.Property - - - - - Reads any next link annotation immediately after the end of a feed. - - The feed being read. - The information about the expanded link. This must be non-null if we're reading an expanded feed, and must be null if we're reading a top-level feed. - The top-level duplicate property names checker, if we're reading a top-level feed. - - - - Reads the information of a deferred link. - - The state of the reader for entry to read. - The name of the navigation property for which to read the deferred link. - The navigation property for which to read the deferred link. This can be null. - Returns the navigation link info for the deferred navigation link read. - - This method doesn't move the reader. - - - - - Reads expanded entry navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads expanded feed navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads entity reference link for a singleton navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference link. - true if the navigation link is expanded. - The navigation link info for the entity reference link read. - - This method doesn't move the reader. - - - - - Reads entity reference links for a collection navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference links. - true if the navigation link is expanded. - The navigation link info for the entity reference links read. - - This method doesn't move the reader. - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Checks if there is a next link annotation immediately after an expanded feed, and reads and stores it if there is one. - We fail here if we encounter any other property annotation for the expanded navigation (since these should come before the property itself). - - The feed that was just read. - The information for the current expanded navigation link being read. - - - - Applies the all the annotations from the given annotation group to an entry. - - The state for the entry which should get the annotations. - The annotation group to apply. - - - - Sets specified media resource on an entry and hooks up metadata builder. - - The entry state to use. - The media resource to set. - - - - Reads entry property (which is neither instance nor property annotation) which has a value. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Read an entry-level data property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - The type name specified for the property in property annotation, or null if no such type name is available. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: JsonNodeType.PrimitiveValue: propertyWithValue is true and the reader is positioned on the first node of the property value. - JsonNodeType.StartObject: - JsonNodeType.StartArray: - JsonNodeType.Property: propertyWithValue is false and the reader is positioned on the node after the property. - JsonNodeType.EndObject: - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link info instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value from the property annotations. - - The state of the reader for entry to read. - The name of the stream property to read the value for. - The newly created stream reference value. - - - - Reads one operation for the entry being read. - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - true if the operation value is inside an array, i.e. multiple targets for the operation; false otherwise. - - Pre-Condition: JsonNodeType.StartObject: first node of the operation value. - Post-Condition: JsonNodeType.Property: the property after the current operation being read when there is one target for the operation. - JsonNodeType.StartObject: the first node of the next operation value when there are multiple targets for the operation. - JsonNodeType.EndArray: the end-array of the operation values when there are multiple target for the operation. - - - - - Sets the metadata builder for the operation. - - The state of the reader for entry to read. - The operation to set the metadata builder on. - - - - Creates a new instance of ODataAction or ODataFunction for the . - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - A new instance of ODataAction or ODataFunction for the . - - - - Read the metadata reference property value for the entry being read. - - The state of the reader for entry to read. - The name of the metadata reference property being read. - - Pre-Condition: JsonNodeType.Property: first node of the metadata reference property's value. Currently - actions and functions are the only supported metadata reference property, - we will throw if this is not a start object or start array node. - Post-Condition: JsonNodeType.Property: the property after the annotation value - JsonNodeType.EndObject: the end-object of the entry - - - - - Validates that we can read metadata reference property. - - - - - Validates that the value of a JSON property can represent expanded navigation link. - - true if the property is entity set reference property; false for a resource reference property, null if unknown. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData JsonLight serializer for entries and feeds. - - - - - OData JsonLight serializer for properties. - - - - - Serializer to use to write property values. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Test to see if is an open property or not. - - The property in question. - The owning type of the property. - The metadata of the property. - true if the property is an open property; false if it is not, or if openness cannot be determined - - - - Writes a name/value pair for a property. - - The property to write out. - The owning type for the or null if no metadata is available. - true when writing a top-level property; false for nested properties. - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property. - - The name of the property to write. - The stream reference value to be written - - - - Writes the type name on the wire. - - Name of the property. - Type name of the property. - true when writing a top-level property; false for nested properties. - - - - Gets the json light value writer. - - - - A map from annotation group name to annotation group for all annotation groups - encountered so far in this payload. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes an annotation group declaration or annotation group reference if specified for the entry. - - The entry to write the annotation group declaration or reference for. - - - - Writes the metadata properties for an entry which can only occur at the start. - - The entry state for which to write the metadata properties. - - - - Writes the metadata properties for an entry which can occur both at the start or at the end. - - The entry state for which to write the metadata properties. - - This method will only write properties which were not written yet. - - - - - Writes the metadata properties for an entry which can only occur at the end. - - The entry state for which to write the metadata properties. - The duplicate names checker for properties of this entry. - - - - Writes the navigation link metadata. - - The navigation link to write the metadata for. - The checker instance for duplicate property names. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - true when writing the entry's actions; false when writing the entry's functions. - - - - Tries to writes the metadata URI property for an entry into the payload if one is available. - - The context object to answer basic questions regarding the type of the entry. - - - - Tries to writes the metadata URI property for a feed into the payload if one is available. - - The context object to answer basic questions regarding the type of the feed. - - - - Writes an association link property annotation. - - The name of the navigation property for which to write the association link. - The association link URL to write. - - - - Gets the metadata reference fragment from the operation metadata uri. - i.e. if the operation metadata uri is {absolute metadata document uri}#{container-qualified-operation-name}, - this method will return #{container-qualified-operation-name}. - - Operation in question. - The metadata reference fragment from the operation metadata uri. - - - - Returns the target uri string from the given operation. - - Operation in question. - Returns the target uri string from the given operation. - - - - Validates a group of operations with the same Metadata Uri. - - Operations to validate. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Gets the base Uri of the metadata document uri, if it has been set. - - - - - OData JsonLight deserializer for errors. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - A task which returns an representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.Property - The first property of the top level object. - JsonNodeType.EndObject - If there are no properties in the top level object. - any - Will throw if anything else. - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads all the properties in a single JSON object scope, calling for each non-annotation property encountered. - - - An action which takes the name of the current property and processes the property value as necessary. - At the start of this action, the reader is positioned at the property value node. - The action should leave the reader positioned on the node after the property value. - - - - This method should only be used for scopes where we allow (and ignore) annotations in a custom namespace, i.e. scopes which directly correspond to a class in the OM. - - Pre-Condition: JsonNodeType.StartObject - The start of the JSON object being processed. - any - Will throw if not StartObject. - Post-Condition: any - The node after the EndObject node for the JSON object being processed. - - - - - Reads a value of property annotation on an error payload. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code, or throw if ther is something unexpected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the error object - JsonNodeType.Property The next property after the property annotation - - - - - Reads the JSON object which is the value of the "odata.error" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "odata.error" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "odata.error" object's EndNode. - - - - - Reads the JSON object which is the value of the "message" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "message" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "message" object's EndNode. - - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: JsonNodeType.StartObject - The start of the "innererror" object. - any - will throw if not StartObject. - Post-Condition: any - The node after the "innererror" object's EndNode. - - - - - Reads a property value which occurs in the "innererror" object scope. - - The number of parent inner errors for this inner error. - The object to update with the data from this property value. - The name of the property whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "innererror" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "odata.error" object scope. - - The object to update with the data from this property value. - The name of the property whose value is to be read. - DuplicatePropertyNamesChecker to use for extracting property annotations - targetting any custom instance annotations on the error. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "odata.error" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "message" object scope. - - The object to update with the data from this property value. - The name of the propety whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "message" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - The JsonLight OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Implementation of the OData input for JsonLight OData format. - - - - - Base class for all input contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this input context. - - - The message reader settings to be used for reading. - - - The protocol version to use when reading the payload. - - - Set to true if this context is reading a response payload. - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The model to use. - - - The type resolver to use. - - - Set to true if the input was disposed. - - - - Constructor. - - The format for this input context. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - The newly created . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly created . - - - - Create a . - - The batch boundary to use. - The newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Check if the object has been disposed. - - If the object has already been disposed. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Method to use the custom URL resolver to resolve a base URI and a payload URI. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Disposes the input context. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message reader settings to be used for reading. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being read. - - - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The type resolver to use. - - - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS client compatibility API behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - true if the default API behavior should be used; otherwise false. - - - - JSON Light specific state stored during payload kind detection. - - - The text reader created for the input stream. - - The ODataJsonLightInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The content type of the message to read. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - Constructor. - The format for this input context. - The reader to use. - The content type of the message to read. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Verifies that CreateEntryReader or CreateFeedReader can be called. - - The entity set we are going to read entities for. - The expected entity type for the entry/entries to be read. - - - - Verifies that CreateCollectionReader can be called. - - The expected type reference for the items in the collection. - - - - Verifies that ReadEntityReferenceLink can be called. - - The navigation property for which to read the entity reference link. - - - - Verifies that ReadProperty can be called. - - - - - Verifies that DetectPayloadKind can be called. - - - - - Verifies that a user model is available for reading. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Returns the which is to be used to read the content of the message. - - - - - JSON Light specific state stored during payload kind detection. - - - - - JsonLight format output context. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The specific media type being written. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Creates a metadata uri builder for the current output context. - - The metadata uri builder to use when writing. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - OData parameter reader for the Json Light format. - - - - The input to read the payload from. - - - The parameter deserializer to read the parameter input with. - - - The duplicate property names checker to use for the parameter payload. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - ODataParameterWriter for the JsonLight format. - - - - - Base class for OData parameter writers that verifies a proper sequence of write calls on the writer. - - - - Base class for OData collection writers. - - - Start writing a parameter payload. - - - Asynchronously start writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Start writing a value parameter. - The name of the parameter to write. - The value of the parameter to write. - - - Asynchronously start writing a value parameter. - A task instance that represents the asynchronous write operation. - The name of the parameter to write. - The value of the parameter to write. - - - Creates an to write the value of a collection parameter. - The newly created . - The name of the collection parameter to write. - - - Asynchronously creates an to write the value of a collection parameter. - The asynchronously created . - The name of the collection parameter to write. - - - Finish writing a parameter payload. - - - Asynchronously finish writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Asynchronously flushes the write buffer to the underlying stream. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - The function import whose parameters will be written. - - - Stack of writer scopes to keep track of the current context of the writer. - - - Parameter names that have already been written, used to detect duplicate writes on a parameter. - - - Checker to detect duplicate property names on complex parameter values. - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a parameter payload. - - - - - Asynchronously start writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - Start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - - - - Asynchronously start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - A task instance that represents the asynchronous write operation. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The newly created . - - - - Asynchronously creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - A running task for the created writer. - - - - Finish writing a parameter payload. - - - - - Asynchronously finish writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Writes a value parameter (either primitive or complex). - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Finish writing an OData payload. - - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - - - - Start writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the parameter with name can be written and returns the - type reference of the parameter. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling WriteValue is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The value of the parameter to write. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling CreateCollectionWriter is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The expected item type of the items in the collection or null if no item type is available. - - - - Gets the type reference of the parameter in question. Returns null if no function import was specified to the writer. - - The name of the parameter in question. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Write a value parameter - implementation of the actual functionality. - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - If an is specified, then this method ensures that all parameters present in the - function import are written to the payload. - - The binding parameter is optional in the payload. Hence this method will not check for missing binding parameter. - - - - Finish writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the current state is not Error or Completed. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Catch any exception thrown by the function passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The return type of . - The function to execute. - Returns the return value from executing . - - - - Enters the Error scope if we are not already in Error state. - - - - - Verifies that the transition from the current state into new state is valid and enter a new writer scope. - - The writer state to transition into. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Start' scope with a 'Completed' scope. - - Note that this method is never called once the writer is in 'Error' state. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - - - - Verify that the transition from the current state into new state is valid. - - The new writer state to transition into. - - - Checker to detect duplicate property names on complex parameter values. - - - - The current state of the writer. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer is in a state where the next parameter can be written. - The writer enters this state after WriteStart() or after the previous parameter is written. - - - - One of the create writer method has been called and the created sub writer is not in Completed state. - - - The writer has completed; nothing can be written anymore. - - - An error had occured while writing the payload; nothing can be written anymore. - - - - The output context to write to. - - - - - The JsonLight property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - OData JsonLight deserializer for detecting the payload kind of a JsonLight payload. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - OData reader for the JsonLight format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - The scope associated with the top level of this payload. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'Start'. - - The duplicate property names checker to use for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry or - reporting projected navigation links missing in the payload - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of the JSON array for the content of the feed and sets up the reader state correctly. - - The feed to read the contents for. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: The first node of the feed property value; this method will throw if the node is not - JsonNodeType.StartArray - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the end of the current feed. - - - - - Reads the start of an expanded entry (null or non-null). - - The navigation link that is being expanded. - - Pre-Condition: JsonNodeType.StartObject The start of the entry object - JsonNodeType.PrimitiveValue (null) The null entry value - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next, or the null value of the current null entry - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the start of an entry and sets up the reader state correctly - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: JsonNodeType.StartObject If the entry is in a feed - the start of the entry object - JsonNodeType.Property If the entry is a top-level entry and has at least one property - JsonNodeType.EndObject If the entry is a top-level entry and has no properties - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Reads the next item in a navigation link content in a request payload. - - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link info for the navigation link to start. - - - - Replaces the current scope with a new scope with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonLightFeedScope - - - - - Returns current scope cast to JsonLightNavigationLinkScope - - - - - A reader top-level scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type of the top-level entry or entries in the top-level feed. - In all cases the specified type must be an entity type. - - - - The duplicate property names checker for the top level scope represented by the current state. - - - - - A reader entry scope; keeping track of the current reader state and an item associated with this state. - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - Constructor creating a new reader scope. - - The reader state of the new scope that is being created. - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The duplicate property names checker for this entry scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - In all cases the specified type must be an entity type. - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - true if we have started processing missing projected navigation links, false otherwise. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - A reader feed scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - In all cases the specified type must be an entity type. - - - - The selected properties that should be expanded during template evaluation. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The navigation link info attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - The navigation link info for the navigation link to report. - This is only used on a StartNavigationLink scope in responses. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Determines if the specified is an OData annotation property name. - - The property name to test. - true if the property name is an OData annotation property name, false otherwise. - - - - Determines if the specified property name is a name of an annotation property. - - The name of the property. - true if is a name of an annotation property, false otherwise. - - This method returns true both for normal annotation as well as property annotations. - - - - - Validates that the annotation string value is valid. - - The value of the annotation. - The name of the (instance or property) annotation (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JsonLight. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - Object which is in sync with the property type. - - - - OData JsonLight deserializer for service documents. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - A task which returns an representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - The duplicate property names checker to use for the top-level scope. - An representing the read service document. - - Pre-Condition: JsonNodeType.Property The property right after the metadata URI property. - JsonNodeType.EndObject The EndObject of the service document. - Post-Condition: Any The node after the EndObject of the service document. - - - - - Reads a resource collection within a service document. - - The to use for parsing annotations within the resource collection object. - A representing the read resource collection. - - Pre-Condition: JsonNodeType.StartObject: The beginning of the JSON object representing the resource collection. - other: Will throw with an appropriate message on any other node type encountered. - Post-Condition: JsonNodeType.StartObject: The beginning of the next resource collection in the array. - JsonNodeType.EndArray: The end of the array. - other: Any other node type occuring after the end object of the current resource collection. (Would be invalid). - - - - - OData JsonLight serializer for service documents. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JsonLight format. - - The default workspace to write in the service document. - - - - Implementation of the ODataWriter for the JsonLight format. - - - - - Base class for OData writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData writers. - - - - Starts the writing of a feed. - The feed or collection to write. - - - Asynchronously start writing a feed. - A task instance that represents the asynchronous write operation. - The feed or collection to write. - - - Starts the writing of an entry. - The entry or item to write. - - - Asynchronously start writing an entry. - A task instance that represents the asynchronous write operation. - The entry or item to write. - - - Starts the writing of a navigation link. - The navigation link to write. - - - Asynchronously start writing a navigation link. - A task instance that represents the asynchronous write operation. - The navigation link to writer. - - - Finishes the writing of a feed, an entry, or a navigation link. - - - Asynchronously finish writing a feed, entry, or navigation link. - A task instance that represents the asynchronous write operation. - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - A task instance that represents the asynchronous write operation. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - True if the writer was created for writing a feed; false when it was created for writing an entry. - - - Stack of writer scopes to keep track of the current context of the writer. - - - - The to use for entries in this feed. - Only applies when writing a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a feed. - - Feed/collection to write. - - - - Asynchronously start writing a feed. - - Feed/collection to write. - A task instance that represents the asynchronous write operation. - - - - Start writing an entry. - - Entry/item to write. - - - - Asynchronously start writing an entry. - - Entry/item to write. - A task instance that represents the asynchronous write operation. - - - - Start writing a navigation link. - - Navigation link to write. - - - - Asynchronously start writing a navigation link. - - Navigation link to writer. - A task instance that represents the asynchronous write operation. - - - - Finish writing a feed/entry/navigation link. - - - - - Asynchronously finish writing a feed/entry/navigation link. - - A task instance that represents the asynchronous write operation. - - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - A task instance that represents the asynchronous write operation. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Gets the projected properties annotation for the specified scope. - - The scope to get the projected properties annotation for. - The projected properties annotation for . - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing an OData payload. - - - - - Finish writing a feed. - - The feed to write. - - - - Write a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link into a navigation link content. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Gets the serialization info for the given entry. - - The entry to get the serialization info for. - The serialization info for the given entry. - - - - Creates a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created navigation link scope. - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Gets the type of the entry and validates it against the model. - - The entry to get the type for. - The validated entity type. - - - - Validates that the ODataFeed.DeltaLink is null for the given expanded feed. - - The expanded feed in question. - - - - Verifies that calling WriteStart feed is valid. - - true if the call is to be synchronous; false otherwise. - Feed/collection to write. - - - - Start writing a feed - implementation of the actual functionality. - - The feed to write. - - - - Verifies that calling WriteStart entry is valid. - - true if the call is to be synchronous; false otherwise. - Entry/item to write. - - - - Start writing an entry - implementation of the actual functionality. - - Entry/item to write. - - - - Verifies that calling WriteStart navigation link is valid. - - true if the call is to be synchronous; false otherwise. - Navigation link to write. - - - - Start writing a navigation link - implementation of the actual functionality. - - Navigation link to write. - - - - Verify that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a feed/entry/navigation link. - - - - - Marks the navigation currently being written as processed in the parent entity's metadata builder. - This is needed so that at the end of writing the entry we can query for all the unwritten navigation properties - defined on the entity type and write out their metadata in fullmetadata mode. - - The navigation link being written. - - - - Verifies that calling WriteEntityReferenceLink is valid. - - The entity reference link to write. - true if the call is to be synchronous; false otherwise. - - - - Write an entity reference link. - - The entity reference link to write. - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Enters the 'ExceptionThrown' state and then throws an ODataException with the specified error message. - - The error message for the exception. - The OData item to associate with the 'ExceptionThrown' state. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Checks whether we are currently writing a navigation link and switches to NavigationLinkWithContent state if we do. - - - What kind of payload kind is being written as the content of a navigation link. - Only Feed, Entry or EntityRefernceLink are allowed. - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Promotes the current navigation link scope to a navigation link scope with content. - - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Create a new writer scope. - - The writer state of the scope to create. - The item attached to the scope to create. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - The current scope for the writer. - - - - - The current state of the writer. - - - - - true if the writer should not write any input specified and should just skip it. - - - - - A flag indicating whether the writer is at the top level. - - - - - Returns the immediate parent link which is being expanded, or null if no such link exists - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the number of entries seen so far on the current feed scope. - - Can only be accessed on a feed scope. - - - - Checker to detect duplicate property names. - - - - - The entity type of the current entry. - - - - - Returns the parent navigation link scope of an entry in an expanded link (if it exists). - The entry can either be the content of the expanded link directly or nested inside a feed. - - The parent navigation scope of an entry in an expanded link (if it exists). - - - - Validator to validate consistency of collection items (or null if no such validator applies to the current scope). - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - The writer is currently writing an entry. - - - The writer is currently writing a feed. - - - The writer is currently writing a navigation link (possibly an expanded link but we don't know yet). - - This state is used when a navigation link was started but we didn't see any children for it yet. - - - - The writer is currently writing a navigation link with content. - - This state is used when a navigation link with either an entity reference link or expanded feed/entry was written. - - - - The writer has completed; nothing can be written anymore. - - - The writer is in error state; nothing can be written anymore. - - - - Lightweight wrapper for the stack of scopes which exposes a few helper properties for getting parent scopes. - - - - - Use a list to store the scopes instead of a true stack so that parent/grandparent lookups will be fast. - - - - - Initializes a new instance of the class. - - - - - Pushes the specified scope onto the stack. - - The scope. - - - - Pops the current scope off the stack. - - The popped scope. - - - - Peeks at the current scope on the top of the stack. - - The current scope at the top of the stack. - - - - Gets the count of items in the stack. - - - - - Gets the scope below the current scope on top of the stack. - - - - - Gets the scope below the parent of the current scope on top of the stack. - - - - - Gets the scope below the current scope on top of the stack or null if there is only one item on the stack or the stack is empty. - - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - Set to true if the content of the scope should not be written. - This is used when writing navigation links which were not projected on the owning entry. - - - The selected properties for the current scope. - - - The entity set we are going to write entities for. - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of this scope should not be written. - The selected properties of this scope. - - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - The entity set we are going to write entities for. - - - The selected properties for the current scope. - - - - Set to true if the content of this scope should not be written. - - - - - A scope for an feed. - - - - The serialization info for the current feed. - - - The number of entries in this feed seen so far. - - - Maintains the write status for each annotation using its key. - - - The type context to answer basic questions regarding the type info of the entry. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The number of entries in this feed seen so far. - - - - - Tracks the write status of the annotations. - - - - - A scope for an entry. - - - - Checker to detect duplicate property names. - - - The serialization info for the current entry. - - - The value from ODataEntry.TypeName. - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - The type context to answer basic questions regarding the type info of the entry. - - - Maintains the write status for each annotation using its key. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entity type which was derived from the model, i.e. the expected entity type, which may be either the same as entity type or its base type. - For example, if we are writing a feed of Customers and the current entry is of DerivedCustomer, this.EntityTypeFromMetadata would be Customer and this.EntityType would be DerivedCustomer. - - - - - The serialization info for the current entry. - - - - - Checker to detect duplicate property names. - - - - - Tracks the write status of the annotations. - - - - - A scope for a navigation link. - - - - - Constructor to create a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this navigation link scope and sets a new writer state. - - The to set. - The cloned navigation link scope with the specified writer state. - - - - The output context to write to. - - - - - The JsonLight entry and feed serializer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Creates a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created JSON Light navigation link scope. - - - - Writes the odata.count annotation for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.nextLink annotation for a feed if it has not been written yet (and the next link is specified on the feed). - - The feed to write the next link for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.deltaLink annotation for a feed if it has not been written yet (and the delta link is specified on the feed). - - The feed to write the delta link for. - - - - Validates that the ODataFeed.InstanceAnnotations collection is empty for the given expanded feed. - - The expanded feed in question. - - - - Returns the current JsonLightEntryScope. - - - - - Returns the current JsonLightFeedScope. - - - - - A scope for a JSON lite feed. - - - - true if the odata.count was already written, false otherwise. - - - true if the odata.nextLink was already written, false otherwise. - - - true if the odata.deltaLink was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the odata.count annotation was already written, false otherwise. - - - - - true if the odata.nextLink annotation was already written, false otherwise. - - - - - true if the odata.deltaLink annotation was already written, false otherwise. - - - - - A scope for an entry in JSON Light writer. - - - - Bit field of the JSON Light metadata properties written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The metadta property which was written. - - - - Determines if the was already written for this entry scope. - - The metadata property to test for. - true if the was already written for this entry scope; false otherwise. - - - - The entry being written. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Enumeration of JSON Light metadata property flags, used to keep track of which properties were already written. - - - - The odata.editLink property. - - - The odata.readLink property. - - - The odata.mediaEditLink property. - - - The odata.mediaReadLink property. - - - The odata.mediaContentType property. - - - The odata.mediaETag property. - - - - A scope for a JSON Light navigation link. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - Constructor to create a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this JSON Light navigation link scope and sets a new writer state. - - The writer state to set. - The cloned navigation link scope with the specified writer state. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - - Helper methods used by the OData writer for the JsonLight format. - - - - - Writes the odata.type instance annotation with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Writes the odata.type propert annotation for the specified property with the specified type name. - - The JSON writer to write to. - The name of the property for which to write the odata.type annotation. - The type name to write. - - - - Writes the 'value' property name. - - The JSON writer to write to. - - - - Write a JSON property name which represents a property annotation. - - The JSON writer to write to. - The name of the property to annotate. - The name of the annotation to write. - - - - Enumeration describing the various serialization formats for dates in JSON - - - - - Represents a DateTime value in the OData format of \/Date(ticksrepresentingdatetime)\/ - - - - - Represents a DateTime value in the ISO 8601 format of YYYY-MM-DDThh:mm:ss.sTZD eg 1997-07-16T19:20:30.45+01:00 - - - - - Class with the responsibility of resolving media types (MIME types) into formats and payload kinds. - - - - application/atom+xml media type - - - application/xml media type - - - text/xml media type - - - application/json media type - - - application/json;odata=verbose media type - - - - An array that maps stores the supported media types for all . - - - The set of supported media types is ordered (desc) by their precedence/priority with respect to (1) format and (2) media type. - As a result the default media type for a given payloadKind is the first entry in the MediaTypeWithFormat array. - - - - Cache for MediaTypeResolvers for each version. - - - - The version the media type resolver is used with. - - - - - Array of supported media types and formats for each payload kind. - The index into the array matches the order of the ODataPayloadKind enum. - - - - - The set of payload kinds which are supported for the JSON formats. - - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Gets the supported media types and formats for the given payload kind. - - The payload kind to get media types for. - An array of media type / format pairs, sorted by priority. - - - - Checks for an illegal media type that cannot be caught during content negotiation/resolution - since it would match an unsupported media type. - - The parsed media type to check. - true if the media type is illegal (and we should fail); otherwise false. - - - - Clones the default media types. - - The cloned media type table. - - - - Inserts the specified media type before the first occurrence of . - - The media type list to insert into. - The media type to insert. - The format of the media type before which should be inserted. - - - - Configure the media type tables so that Json Light is the first JSON format in the table. - - - This is only used in V3 and beyond. - - - - - Adds the given media type/format for all the payload kinds which support JSON. - - The media type/format pair to add. - - - - Inserts the given media type/format for all the payload kinds which support JSON before the first media type with the given format. - - The media type/format pair to add. - The format of the media type before which should be inserted. - - - - Additional media types per payload kind for the WCF DS client on pre-v3 payloads. - Anything that normally accepts application/atom+xml should also accept application/xml, and vice versa. - - - - - Accesses the default media type resolver. - - - - - A helper class to associate a with a media type. - - - - The media type. - - - - The for this media type. - - - - - A dictionary implementation with special key-matching semantics; it accepts case-insensitive matches - but prefers a case-sensitive one (if present). - - As an implementation choice we did not use a second dictionary to maintain a cache of case-insensitive - keys since we don't want to pay the price of an extra dictionary for cases where the looked up keys - match case sensitively (as per spec, should be the default case). - - - The backing dictionary using case-sensitive key comparison. - - - - Constructor. - - - - - Adds an element with the provided key and value to the dictionary. - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - - - Determines whether the dictionary contains an element with the specified key using case-sensitive comparison. - - The key to locate in the dictionary. - true if the dictionary contains an element with the ; otherwise, false. - This method will only try to match the key using case-sensitive comparison. - - - - Removes the entry with the specified from the headers. - - The key of the item to remove. - true if the item with the specified was removed; otherwise false. - - - - Gets the value associated with the specified key. - - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - true if the dictionary contains an element with the specified key; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Finds in the case sensitive dictionary ignoring the case for comparison. - - The key to find. - The key from the case sensitive dictionary that matched the or null if no match was found. - This method throws if multiple case insensitive matches for the specified exist. - - - - Gets or sets the element with the specified key. - - The key of the element to get or set. - The element with the specified key. - - - - Factory class for the various wrapper streams around the actual message stream. - - - - - Creates a non-disposing stream. - - The inner to wrap. - A stream wrapping the that ignores calls to Dispose. - - - - Creates a stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that - enforces the maximum number of bytes to be read from the stream. - - - - Creates a non-disposing stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that ignores calls to Dispose and - enforces the maximum number of bytes to be read from the stream. - - - - Checks whether the provided stream already ignores calls to Dispose. - - The to check. - true if the ignores calls to Dispose; otherwise false. - - - - Stream wrapper that supports counting the total number of bytes read from the stream and ensures - that they don't exceed a specified maximum (used for security purposes) and ignoring calls - to Dispose if the underlying stream should not be disposed. - - - - The maximum number of bytes to be read from the stream before reporting an error. - - - true to not dispose the inner stream when Dispose is called; otherwise false. - - - Stream that is being wrapped. - - - The total number of bytes read from the stream so far. - - - - Constructs an instance of the byte counting stream wrapper class. - - Stream that is being wrapped. - true if calls to Dispose should be ignored; otherwise false. - The maximum number of bytes to be read from the stream before reporting an error. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Dispose this wrapping stream and the underlying stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Increases the number of total bytes read from the stream. - - The number of bytes read from the stream during the last read operation. - Since we don't own the underlying stream we also have to prepare for streams returning < 0 bytes read. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - true if the wrapping stream ignores calls to Dispose; otherwise false. - - - - OData Verbose JSON deserializer for detecting the payload kind of a JSON payload. - - - - - OData Verbose JSON deserializer for properties and value types. - - - - - Base class for all OData Verbose JSON deserializers. - - - - The JSON input context to use for reading. - - - - Constructor. - - The JSON input context to read from. - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - true if the payload URI needs to be translated into an absolute URI; otherwise false. - An absolute URI to report. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns the which is to be used to read the content of the message. - - - - - The Verbose Json input context to use for reading. - - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JSON input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Reads an entry, complex or collection content in buffering mode until it finds the type name in the __metadata object - or hits the end of the object. If called for a primitive value, returns 'null' (since primitive types cannot have - type names in JSON) - - The type name as read from the __metadata object; null if none was found. - - This method does not move the reader. - Pre-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - Post-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - - - - - Reads a primitive value, complex value or collection. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the type name from the value of a __metadata property. All other properties in the __metadata property value are ignored. - - The type name found, or null if none was found. - - This method can be used in buffering and non-buffering mode. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: JsonNodeType.Property - the next property after the __metadata property value. - JsonNodeType.EndObject - if the __metadata property was the last property in the object. - - - - - Reads a primitive value. - - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: none - Fails if the current node is not a JsonNodeType.PrimitiveValue - Post-Condition: almost anything - the node after the primitive value. - - Made internal only for testability. - - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the collection value (after the EndObject) - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - if null the method should create a new one if necessary. - The value of the complex value. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject or JsonNodeType.PrimitiveValue (with null value) - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - Pre-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - - - - - Determines if the top-level property payload should be read as usual, or without the property wrapper. - - The expected type reference for the property value to read. - true if the property payload should be read without the property wrapper, false if it should be read as usual with the property wrapper. - This method is to support backward compat behavior for WCF DS Server, which can read open property values without property wrapper. - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - The set of detected payload kinds. - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Detects the payload kind(s). - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects whether a JSON payload where the current node is a start array node represents - a feed, a set of entity reference links, a collection or a combination of them. - - true if the array is a top-level array; if it is a property value false. - - This method does not move the reader. - Pre-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - Post-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - - - - - Read the value of the __metadata property and compute the payload kind based on the type name. - - This method checks whether it can determine the type kind from the type name; if we - find a primitive or collection type we set the result to empty since such payloads are not supported. - Otherwise we'll treat the payload as an entry since top-level complex values are not supported either. - Pre-Condition: Any The first node of the __metadata property value - Post-Condition: Property or EndObject This method reads the entire value of the __metadata object and positions - the reader on the next property or on the EndObject node if this is the last property. - - - - - Process the array value of an 'EntitySets' property to determine whether it should be treated as service document payload. - - - This method does not move the Json reader. - Pre-Condition: StartArray The start of the array value of the 'EntitySets' property - Post-Condition: StartArray The start of the array value of the 'EntitySets' property - - - - - Adds the set of specified payload kinds to the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to add. - - - - Removes the set of specified payload kinds from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to remove. - - - - Adds or removes the set of specified payload kinds to/from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The function that implements the 'Add' or 'Remove' action. - The payload kinds to add/remove. - - - Quotas to use for limiting resource consumption when reading or writing OData messages. - - - The maximum number of top level query operations and changesets allowed in a single batch. - - - The maximum number of operations allowed in a single changeset. - - - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - The maximum number of bytes that should be read from the message. - - - The maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy. - - - Gets or sets the maximum number of top level query operations and changesets allowed in a single batch. - The maximum number of top level query operations and changesets allowed in a single batch. - - - Gets or sets the maximum number of operations allowed in a single changeset. - The maximum number of operations allowed in a single changeset. - - - Gets or sets the maximum depth of nesting allowed when reading or writing recursive payloads. - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - Gets or sets the maximum number of bytes that should be read from the message. - The maximum number of bytes that should be read from the message. - - - Gets or sets the maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - The maximum number of entity mapping attributes to be found for an entity type. - - - - Represents the set of information available for payload kind detection. - - This class is used to represent the input to run payload kind detection using - . See the documentation of that method for more - information. - - - The parsed content type as . - - - The encoding specified in the charset parameter of contentType or the default encoding from MediaType. - - - The being used for reading the message. - - - The for the payload. - - - The possible payload kinds based on content type negotiation. - - - Format specific state created during payload kind detection for that format. - - This instance will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - Constructor. - - The parsed content type as . - The encoding from the content type or the default encoding from . - The being used for reading the message. - The for the payload. - The possible payload kinds based on content type negotiation. - - - - The encoding derived from the content type or the default encoding. - - The encoding derived from the content type or the default encoding. - - - - Sets a format specific state created during payload kind detection. - - A format specific state, the value is opaque to the message reader, it only stores the reference. - - The state will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - The being used for reading the message. - - - - - The for the payload. - - - - - The possible payload kinds based on content type negotiation. - - - - - The being used for reading the message. - - - - - The format specific payload kind detection state. - - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Represents the result of running payload kind detection for a specified payload kind and format. - This class is used to represent the result of running payload kind detection using - . See the documentation of that method for more - information. - - - The detected payload kind. - - - The format for the detected payload kind. - - - - Constructor. - - The detected payload kind. - The format for the detected payload kind. - - - Gets the detected payload kind. - The detected payload kind. - - - Gets the format for the detected payload kind. - The format for the detected payload kind. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - - The base type for all entries in the feed. - - - - - Constructor. - - - - - Validates the type of an entry in a top-level feed. - - The type of the entry. - - - - OData ATOM serializer for ATOM metadata in a service document - - - - - Constructor. - - The output context to write to. - - - - Writes the ATOM metadata for a single workspace element. - - The workspace element to get the metadata for and write it. - - - - Writes the ATOM metadata for a single (resource) collection element. - - The collection element to get the metadata for and write it. - - - - OData ATOM serializer for service documents. - - - - - The serializer for service document ATOM metadata. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in ATOM/XML format. - - The default workspace to write in the service document. - - - - Extension methods for the JSON writer. - - - - - Writes the json object value to the . - - The to write to. - Writes the given json object value to the underlying json writer. - Called when the top-level object is started to possibly inject first property into the object. - The OData protocol version to be used for writing payloads. - - - - Writes a primitive value. - - The to write to. - The value to write. - The OData protocol version to be used for writing payloads. - - - - Writes the json array value. - - The to write to. - Writes the json array value to the underlying json writer. - The OData protocol version to be used for writing payloads. - - - - Writes the json value (primitive, IDictionary or IEnumerable) to the underlying json writer. - - The to write to. - value to write. - The OData protocol version to be used for writing payloads. - - - - OData Verbose JSON serializer for collections. - - - - - OData Verbose JSON serializer for properties and value types. - - - - - Base class for all OData Verbose JSON serializers. - - - - - The Verbose JSON output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the start of the entire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Writes the end of the enitire JSON payload. - - - - - Writes the end of the enitire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - When set to true the "d" response wrapper won't be written even in responses - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Converts the specified URI into an absolute URI. - - The uri to process. - An absolute URI which is either the specified if it was absolute, - or it's a combination of the BaseUri and the relative . - The return value is the string representation of the URI. - This method will fail if the specified is relative and there's no base URI available. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The collection validator instance. - The expected type reference of the primitive value. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes the metadata content for a media resource or a named stream - - The stream reference value for which to write the metadata - - - - Writes the etag property with the given string value. - - The name of the ETag, e.g. media_etag or etag - The value of the ETag - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Writes a name/value pair for a property. - - The property to write out. - The of the entry or complex type containing the property (or null if not metadata is available). - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property value. - - The stream reference value to be written - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of a collection. - - - - - Writes the end of a collection. - - - - - OData Verbose JSON serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - true if the 'results' wrapper should be included into the payload; otherwise false. - - - - OData Verbose JSON serializer for entries and feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the __metadata property and its content for an entry - - The entry for which to write the metadata. - Set of projected properties, or null if all properties should be written. - The entity type of the entry to write. - The duplicate property names checker to use. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - The name of the property used for the operations. - true when writing the entry's actions; false when writing the entry's functions. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the metadata content for an association link - - The association link to write. - The checker instance for duplicate property names. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Verbose JSON format output context. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - OData Verbose JSON serializer for service documents. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JSON format. - - The default workspace to write in the service document. - - - - Stream wrapper for the message stream to ignore the Stream.Dispose method so that readers/writers on top of - it can be disposed without affecting it. - - - - - Stream that is being wrapped. - - - - - Constructs an instance of the stream wrapper class. - - Stream that is being wrapped. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - - RAW format output context. - - - - The message output stream. - - - The XmlWriter to write to. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - RAW format output context. Used by RAW values and batch. - - - - The encoding to use for the output. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The output stream to write to (both sync and async cases). - - - Listener to notify when writing in-stream errors. - - - RawValueWriter used to write actual values to the stream. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Closes the text writer. - - - - - Verifies the output context was not yet disposed, fails otherwise. - - - - - Flushes all buffered data to the underlying stream synchronously. - - - - - Flushes all buffered data to the underlying stream asynchronously. - - Task which represents the pending operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes a single value as the message body. - - The value to write. - Once the method returns all the data should be written, the only other call after this will be Dispose on the output context. - - - - Creates a batch writer. - - The boundary string for the batch structure itself. - The newly created batch writer. - - - - The output stream to write the payload to. - - - - - The text writer to use to write text into the payload. - - - InitializeRawValueWriter must be called before this is used. - - Also, within this class we should be using RawValueWriter for everything. Ideally we wouldn't leak the TextWriter out, but - the Batch writer needs it at the moment. - - - - Represents the behavior of readers when reading property with null value. - - - - The default behavior - this means validate the null value against the declared type - and then report the null value. - - - - - This means to not report the value and not validate it against the model. - - - This setting can be used to correctly work with clients that send null values - for uninitialized properties in requests instead of omitting them altogether. - - - - - This means to report the value, but not validate it against the model. - - - - - The verbose JSON OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The $batch OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The metadata OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - Additional information available for the payload kind detection. - An enumerable of zero or one payload kinds depending on whether the metadata payload kind was detected or not. - - - Enumerates the behavior of readers when reading undeclared property. - - - - The default behavior - the reader will fail if it finds a property which is not declared by the model - and the type is not open. - - - - - The reader will skip reading the property if it's not declared by the model and the current type is not open. - - - This flag can only be used when reading responses. - All information about the undeclared property is going to be ignored, so for example ATOM metadata related to that property - will not be reported either. - - - - - The reader will read and report link properties which are not declared by the model. - - - This flag can only be used when reading responses. - If a link property in the payload is defined in the model it will be read as usual. If it is not declared - it will still be read and reported, but it won't be validated against the model. - - Link properties are: - - Navigation links - - Association links - - Stream properties - - - - This type provides constants used in URI query expressions. - - - "$it" keyword for expressions. - - - "add" keyword for expressions. - - - "and" keyword for expressions. - - - "asc" keyword for expressions. - - - "desc" keyword for expressions. - - - "div" keyword for expressions. - - - "mod" keyword for expressions. - - - "mul" keyword for expressions. - - - "not" keyword for expressions. - - - "or" keyword for expressions. - - - "sub" keyword for expressions. - - - '-' constant to represent an negate unary operator. - - - '=' constant to represent an assignment in name=value. - - - ',' constant to represent an value list separator. - - - '/' constant to represent the forward slash used in a query. - - - '(' constant to represent an open parenthesis. - - - ')' constant to represent an closed parenthesis. - - - '?' constant to represent the start of the query part. - - - '&' constant to represent the concatenation of query parts. - - - '\'' constant to represent a single quote as prefix/suffix for literals. - - - "''" constant to represent a single-quote escape character in a string literal. - - - " " constant to represent a space character in a Uri query part. - - - The 'allpages' value for the '$inlinecount' query option - - - The 'none' value for the '$inlinecount' query option - - - "eq" keyword for expressions. - - - "false" keyword for expressions. - - - "gt" keyword for expressions. - - - "ge" keyword for expressions. - - - "lt" keyword for expressions. - - - "le" keyword for expressions. - - - "ne" keyword for expressions. - - - "null" keyword for expressions. - - - "true" keyword for expressions. - - - "cast" function - - - "isof function - - - Spatial length function - - - Spatial intersects function. - - - "INF" literal used to represent infinity. - - - "NaN" literal used to represent not-a-number values. - - - 'datetime' constant prefixed to datetime literals. - - - 'datetimeoffset' constant prefixed to datetimeoffset literals. - - - 'time' constant prefixed to time literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'geography' constant prefixed to geography literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'binary' constant prefixed to binary literals. - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - 'M': Suffix for decimal type's string representation - - - 'datetime' constant prefixed to datetime literals. - - - the filter query option - - - the orderby query option - - - the top query option - - - the skip query option - - - the inlinecount query option - - - the select query option - - - the expand query option - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch writer (via IODataBatchOperationListener) - to properly flush buffered data and move the batch writer's state machine forward. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to an IODataBatchOperationListener instance. - - - - Listener interface to be notified of operation changes. - - - - Constructor. - - Listener interface to be notified of operation changes. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Disposes the object. - - True if called from Dispose; false if called form the finalizer. - - - - Validates that the stream was not already disposed. - - - - The batch stream underlying this operation stream. - - - - Constructor. - - The underlying stream to write the message to. - Listener interface to be notified of operation changes. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The callback to be called when the asynchronous operation completes. - A custom state object to be associated with the asynchronous operation. - An for the asynchronous writing of the buffer to the stream. - - - - Finish the asynchronous write operation. - - The returned from BaginWrite. - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Flush the stream to the underlying batch stream. - - - - - Dispose the operation stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Determines if the stream can read - this one can't - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. Setting of the position is not supported since the stream doesn't support seeking. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch reader (via IODataBatchOperationListener) - to prevent clients to use the batch reader while a content stream is still in use. - - - - - The batch stream underlying this operation stream. - - - - - Constructor. - - The underlying stream to read from. - Listener interface to be notified of operation changes. - - - - Flush the stream; not supported for a read stream. - - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Create a batch operation read stream over the specified batch stream with a given content length. - - The batch stream underlying the operation stream to create. - The batch operation listener. - The content length of the operation stream. - A to read the content of a batch operation from. - - - - Create a batch operation read stream over the specified batch stream using the batch delimiter to detect the end of the stream. - - The batch stream underlying the operation stream to create. - The batch operation listener. - A to read the content of a batch operation from. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can't - - - - - Returns the length of the stream. Not supported by this stream. - - - - - Gets or sets the position in the stream. Not supported by this stream. - - - - - A batch operation stream with the content length specified. - - - - The length of the operation content. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - The total length of the stream. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - A batch operation read stream with no content length so we have to check for the boundary. - - - - true if the stream has been exhausted and no further reads can happen; otherwise false. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Helper methods used by the ODataBatchWriter and ODataBatchReader (and related classes). - - - - - Creates the URI for a batch request operation. - - The uri to process. - The base Uri to use. - An optional custom URL resolver to resolve URLs for writing them into the payload. - An URI to be used in the request line of a batch request operation. It uses the - first and falls back to the defaullt URI building schema if the no URL resolver is specified or the URL resolver - returns null. In the default scheme, the method either returns the specified if it was absolute, - or it's combination with the if it was relative. - - This method will fail if no custom resolution is implemented and the specified is - relative and there's no base URI available. - - - - - Creates a batch operation stream from the specified batch stream. - - The batch stream to create the operation read stream for. - The headers of the current part; based on the header we create different, optimized stream implementations. - The operation listener to be passed to the newly created read stream. - A new instance. - - - - Creates a batch operation write stream over the specified output stream. - - The output stream to create the operation write stream over. - The operation listener to be passed to the newly created write stream. - A new instance. - - - - Grows the specified byte array by the specified amount. - - The byte array to grow. - The number of bytes currently in the buffer. - The number of bytes to be added to the array. - - - - An enumeration representing the result of a scan operation through - the batch reader stream's buffer. - - - - No match with the requested boundary was found (not even a partial one). - - - A partial match with the requested boundary was found. - - - A complete match with the requested boundary was found. - - This is only returned if we could also check whether the boundary is an end - boundary or not; otherwise a partial match is returned. - - - - - This class represents the internal buffer of the . - - - - The size of the look-ahead buffer. - - - Length of the longest supported line terminator character sequence; makes the code easier to read. - - - The length of two '-' characters to make the code easier to read. - - - The byte array storing the actual bytes of the buffer. - - - The current position inside the buffer. - This is the position of the byte that is the next to be read. - - - The number of (not yet consumed) bytes currently in the buffer. - - - - Skip to the specified position in the buffer. - Adjust the current position and the number of bytes in the buffer. - - The position to skip to. - - - - Refills the buffer from the specified stream. - - The stream to refill the buffer from. - The index in the current buffer starting from which the - currently buffered data should be preserved. - true if the underlying stream got exhausted while refilling. - This method will first shift any data that is to be preserved to the beginning - of the buffer and then refill the rest of the buffer from the . - - - - Scans the current buffer for a line end. - - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - - - - Scans the current buffer for the specified boundary. - - The boundary strings to search for; this enumerable is sorted from the inner-most boundary - to the top-most boundary. The boundary strings don't include the leading line terminator or the leading dashes. - Stop if no boundary (or boundary start) is found after this number of bytes. - The start position of the boundary or -1 if not found. - Note that the start position is the first byte of the leading line terminator. - The end position of the boundary or -1 if not found. - Note that the end position is the last byte of the trailing line terminator. - true if the boundary is an end boundary (followed by two dashes); otherwise false. - true if the detected boundary is the parent boundary; otherwise false. - An enumeration value indicating whether the boundary was completely, partially or not found in the buffer. - - - - Scans the current buffer for a boundary start, which is either a line feed or two dashes (since we don't require the leading line feed). - - The index at which to start scanning for the boundary start. - Stop if no boundary start was found after this number of non end-of-line bytes. - The start position of the line end or -1 if not found. - The start position of the boundary delimiter or -1 if not found. - An enumeration value indicating whether the boundary start was completely, partially or not found in the buffer. - - - - Scans the current buffer for a line end. - - The index at which to start scanning for the line terminator. - Stop if no line end (or beginning of line end) was found after this number of non end-of-line bytes. - true if only whitespace data bytes are expected before the end-of-line characters; otherwise false. - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - true if the end of the buffer was reached while scanning for the line end; otherwise false. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - This method only returns if we found the start - of a line terminator at the last character in the buffer. - - - - Check whether the bytes in the buffer at the specified start index match the expected boundary string. - - The start of the line feed preceding the boundary (if present). - The start position of the boundary delimiter. - The boundary string to check for. - If a match is detected, the start of the boundary delimiter, - i.e., either the start of the leading line feed or of the leading dashes. - If a match is detected, the position of the boundary end; otherwise -1. - true if the detected boundary is an end boundary; otherwise false. - An indicating whether a match, a partial match or no match was found. - - - - Try to match the specified boundary string starting at the specified position. - - The boundary string to search for; this does not include - the leading line terminator or the leading dashes. - The index at which to start matching the boundary. - The number of characters to match. - true if the boundary string is used in an end boundary; otherwise false. - true if it was established that the buffer starting at - matches the ; otherwise false. - This method also returns false if the boundary string was completly matched against the - buffer but it could not be determined whether it is used in an end boundary or not. - - - - Shifts all bytes in the buffer after a specified start index to the beginning of the buffer. - - The start index where to start shifting. - - - - The byte array that acts as the actual storage of the buffered data. - - - - - The current position inside the buffer. - - This is the position of the byte that is the next to be read. - - - - The number of (not yet consumed) bytes currently in the buffer. - - - - - Indexer into the byte buffer. - - The position in the buffer to get. - The byte at position in the buffer. - - - - Class used by the to read the various pieces of a batch payload. - - - This stream separates a batch payload into multiple parts by scanning ahead and matching - a boundary string against the current payload. - - - - - The default length for the line buffer byte array used to read lines; expecting lines to normally be less than 2000 bytes. - - - - - The byte array used for reading lines from the stream. We cache the byte array on the stream instance - rather than allocating a new one for each ReadLine call. - - - - The input context to read the content from. - - - The boundary string for the batch structure itself. - - - The buffer used by the batch reader stream to scan for boundary strings. - - - The encoding to use to read from the batch stream. - - - The boundary string for a changeset (or null if not in a changeset part). - - - The encoding for a given changeset. - - - - true if the underlying stream was exhausted during a read operation; we won't try to read from the - underlying stream again once it was exhausted. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - - - - Resets the changeset boundary at the end of the changeset. - - - - - Skips all the data in the stream until a boundary is found. - - true if the boundary that was found is an end boundary; otherwise false. - true if the detected boundary is a parent boundary (i.e., the expected boundary is missing). - true if a boundary was found; otherwise false. - - - - Reads from the batch stream while ensuring that we stop reading at each boundary. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads from the batch stream without checking for a boundary delimiter since we - know the length of the stream. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads the headers of a part. - - true if the start of a changeset part was detected; otherwise false. - - - - Reads the headers of a batch part or an operation. - - A dictionary of header names to header values; never null. - - - - Read and return the next line from the batch stream, skipping all empty lines. - - This method will throw if end-of-input was reached while looking for the next line. - The text of the first non-empty line (not including any terminating newline characters). - - - - Parses a header line and validates that it has the correct format. - - The header line to validate. - The name of the header. - The value of the header. - - - - Reads a line (all bytes until a line feed) from the underlying stream. - - Returns the string that was read from the underyling stream (not including a terminating line feed), or null if the end of input was reached. - - - - Ensure that a batch encoding exists; if not, detect it from the first couple of bytes of the stream. - - - - Detect the encoding based data from the stream. - The encoding discovered from the bytes in the buffer or the fallback encoding. - - We don't have to skip a potential preamble of the encoding since the batch reader - will skip over everything (incl. the potential preamble) until it finds the first - boundary. - - - - - Reads and validates the headers of a batch part. - - true if the headers indicate a changset part; otherwise false. - A dictionary of header names to header values; never null. - - - - Validates the headers that have been read for a part. - - The set of headers to validate. - true if the headers indicate a changset part; otherwise false. - The set of validated headers. - - An operation part is required to have content type 'application/http' and content transfer - encoding 'binary'. A changeset is required to have content type 'multipart/mixed'. - Note that we allow additional headers for batch parts; clients of the library can choose - to be more strict. - - - - - Parse the content type header value to retrieve the boundary and encoding of a changeset. - - The content type to parse. - - - - The boundary string for the batch structure itself. - - - - - The boundary string for the current changeset (only set when reading a changeset - or an operation in a changeset). - - When not reading a changeset (or operation in a changeset) this field is null. - - - - The current boundary string to be used for reading with delimiter. - - This is the changeset boundary when reading a changeset or the batch boundary otherwise. - - - - The current encoding to use when reading from the stream. - - This is the changeset encoding when reading a changeset or the batch encoding otherwise. - - - Enumeration with all the states the batch reader can be in. - - - The state the batch reader is in after having been created. - - - The batch reader detected an operation. - In this state the start boundary, the request/response line - and the operation headers have already been read. - - - The batch reader detected the start of a change set. - In this state the start boundary and the change set - headers have already been read. - - - The batch reader completed reading a change set. - - - The batch reader completed reading the batch payload. - The batch reader cannot be used in this state anymore. - - - The batch reader encountered an error reading the batch payload. - The batch reader cannot be used in this state anymore. - - - - ODataParameterWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Class to represent a null value with or without type information for URI paremeters. - - This class is only intended for use as a sentinal for null values in URI parameters. It cannot be used elsewhere. - - - - String representation of the type of this null value. 'null' indicates that no type information was provided. - - - - - Handles serialization and deserialization for types derived from Geometry. - This file is currently compiled by ODataLib and Astoria server, because it contains - functionality related to both serialization and deserialization, but deserialization - is not yet integrated into Astoria. Once that integration happens this functionality - should be fully contained within ODataLib only. - - - - - Interface used for serialization and deserialization of primitive types. - - - - - Create an instance of a primitive type from the value in an Xml reader. - - The Xml reader to use to read the value. - An instance of the primitive type. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Create a Geometry instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geometry instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - OData ATOM deserializer for ATOM metadata on feeds. - - - - - Base class for all OData ATOM Metadata deserializers. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a person (author/contributor) element. - - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - The person metadata object with the read values. - - Pre-Condition: XmlNodeType.Element (atom:contributor/atom:author) - the atom:author/atom:contributor element to read. - Post-Condition: Any - the node after the atom:author/atom:contributor element which was read. - - - - - Reads the element value as DateTimeOffset value. - - The DateTimeOffset value of the element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is not used in WCF DS client mode. - - - - - Reads the element value as of a date construct as string value. - - The string value of the date construct element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is only used in WCF DS client mode. - - - - - Read the ATOM text construct element. - - The element read represented as ATOM text construct. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the current XML element and returns it as a string. - - The string value read. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - - - - Reads an "atom:title" element and returns an . - - An with the title information. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Determines if we need to read a child element (either for EPM or for ATOM metadata). - - The parent EPM target path segment. - The name of the element/segment to read. - The EPM target path subsegment which describes the element, or null if there's none. - true if the subelement should be read, false otherwise. - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - The empty namespace used for attributes in no namespace. - - - - Constructor. - - The ATOM input context to read from. - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - Reads an element in the ATOM namespace in feed or source content. - - The atom feed metadata object to store metadata details in. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - If the the property InSourceElement is true (i.e., we're reading within source content), then the value - of the atom:id element will be stored in the feed metadata as SourceId, otherwise it will be ignored. - - - - - Reads the atom:link element and returns a new ATOM link metadata object. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads an atom:author element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads an atom:category element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads an atom:contributor element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Reads an atom:generator element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:generator) - the atom:generator element to read. - Post-Condition: Any - the node after the atom:generator element which was read. - - - - - Reads an atom:icon element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:id element in a source element. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:link element into the Links collection of feed metadata (i.e., links that are not special to the OData protocol). - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the atom:link element which was read. - - - - - Reads an atom:logo element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:logo) - the atom:logo element to read. - Post-Condition: Any - the node after the atom:logo element which was read. - - - - - Reads an atom:rights element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:rights) - the atom:rights element to read. - Post-Condition: Any - the node after the atom:rights element which was read. - - - - - Reads an atom:subtitle element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:subtitle) - the atom:subtitle element to read. - Post-Condition: Any - the node after the atom:subtitle element which was read. - - - - - Reads an atom:title element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:title) - the atom:title element to read. - Post-Condition: Any - the node after the atom:title element which was read. - - - - - Reads an atom:updated element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:updated) - the atom:updated element to read. - Post-Condition: Any - the node after the atom:updated element which was read. - - - - - Reads an atom:* element whose value is a URI. - - The which was read. - - - - Fails with the appropriate exception message if the given value is not null. - - The metadata value to ensure is null. - - - - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - - OData parameter reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The property and value deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Checks to see if we are at the end of the parameters payload. - - Returns true if we are at the ending '}' of the parameters payload. - - - - Reads the end '}' of the parameters payload. - - - - - Reads the next parameter from the parameters payload. - - - - - OData ATOM deserializer for ATOM metadata in a service document - - - - Schema namespace for Atom. - - - The name of the 'category' element in a service document. - - - The name of the 'href' attribute in an 'app:categories' element. - - - The name of the 'fixed' attribute in an 'app:categories' element. - - - The name of the 'scheme' attribute in an 'app:categories' or 'atom:category' element. - - - The name of the 'term' attribute in an 'atom:category' element. - - - The name of the 'label' attribute in an 'atom:category' element. - - - The empty namespace - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an atom:title element and adds the new information to . - - The non-null workspace metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Reads an atom:title element and adds the new information to and (if ATOM metadata reading is on) . - - The collection metadata object to augment, or null if metadata reading is not on. - The non-null collection info object being populated. - - Pre-Condition: XmlNodeType.Element - The start of the title element. - Post-Condition: Any - The next node after the title element. - - - - - Reads an app:categories element as well as each atom:category element contained within it, and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:categories element. - Post-Condition: Any - The next node after the app:categories element. - - - - - Reads an "app:accept" element and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:accept element. - Post-Condition: Any - The next node after the app:accept element. - - - - - Reads an "atom:category" element and returns the data as an object. - - An object with its properties filled in according to what was found in the XML. - - Pre-Condition: XmlNodeType.Element - The start of the atom:category element. - Post-Condition: Any - The next node after the atom:category element. - - - - Enumeration of all possible states of an . - - - The reader is at the start; nothing has been read yet. - In this state the Name and Value properties of the returns null. - - - The reader read a primitive or a complex parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns the value read (e.g. a primitive value, an ODataComplexValue or null). - - - The reader is reading a collection parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns null. The CreateCollectionReader() method on the - must be called to get the reader to read the collection value. - - - The reader has thrown an exception; nothing can be read from the reader anymore. - In this state the Name and Value properties of the return null. - - - The reader has completed; nothing can be read anymore. - In this state the Name and Value properties of the return null. - - - - Implementation of the batch-specific URL resolver that resolves cross-referencing URLs properly. - - - - Supports custom resolution of URLs found in the payload. - - This interface can be implemented on messages (see and - ). When a message implementing this interface is - passed to an or , the - message writer/reader will use this interface for custom URL resolution. - On writers this means that whenever a URI is written into the payload the resolution - method on this interface is called to resolve a base URI and a payload URI to the - actual URI to be written to the payload. If the method returns null from a resolution - call the default resolution will be used. - On readers this means that a base URI (either from the payload or the reader settings) and - the URI read from the payload are passed to the method. The result is what is being reported - on the OData OM instances. Again if the resolution method returns null the default resolution - kicks in. - - - - Implements a custom URL resolution scheme. This method returns null if no custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - An instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - The URL resolver from the batch message. - - - A hashset with all content IDs used so far in the batch; this is used for cross-referencing URL resolution. - - - - Constructor. - - The URL resolver from the batch message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Add the content ID to the hashset of valid content IDs. - - The (non-null) content ID to add. - - - - Checks whether a given (non-null) content ID is already in the content ID cache. - - The content ID to check for. - true if the content ID cache already contains a content ID with value ; otherwise false. - - - - Resets the cache of content IDs. This is called at the end of each changeset - since content IDs are only unique within a changeset. - - - - - The URL resolver from the batch message. - - - - Exception type representing exception when Content-Type of a message is not supported. - - - Creates a new instance of the class. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class. - Plain text error message for this exception. - - - Creates a new instance of the class. - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - Creates a new instance of the class from the specified SerializationInfo and StreamingContext instances. - A SerializationInfo containing the information required to serialize the new ODataException. - A StreamingContext containing the source of the serialized stream associated with the new ODataException. - - - - Utility functions for writing values for use in a URL. - - - - - Converts a primitive to a string for use in a Url. - - Value to convert. - OData version to be compliant with. - A string representation of to be added to a Url. - - - - Converts the given string to an ODataComplexValue or ODataCollectionValue and returns it. - Tries in both JSON light and Verbose JSON. - - Does not handle primitive values. - Value to be deserialized. - ODataVersion to be compliant with. - Model to use for verification. - Expected type reference from deserialization. If null, verification will be skipped. - An ODataComplexValue or ODataCollectionValue that results from the deserialization of . - - - - Verifies that the given is or can be coerced to , and coerces it if necessary. - - An EDM primitive value to verify. - Model to verify against. - Expected type reference. - The version to use for reading. - Coerced version of the . - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Converts an to a string for use in a Url. - - Instance to convert. - A string representation of to be added to a Url. - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. Collection requires >= V3. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Write a literal value in JSON Verbose format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Write a literal value in JSON Light format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Coerces the given to the appropriate CLR type based on . - - Primitive value to coerce. - Edm primitive type to check against. - as the corresponding CLR type indicated by , or null if unable to coerce. - - - - URI Utility methods. - - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - A CLR object that the represents. - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - Optional model to perform verification against. - Optional IEdmTypeReference to perform verification against. - Callers must provide a containing this type if it is specified. - A CLR object that the represents. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - No type verification is used. - - Value to be converted. - Version to be compliant with. - A string representation of for use in a Url. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - A string representation of for use in a Url. - - - - Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - ODataFormat to use for structured values such as complex types and collections. - A string representation of for use in a Url. - - - - The RAW OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Semantic node that represents a single-value open property access, which is not bound to an EDM model. - - - - - The value containing this property. - - - - - The name of the open property to be bound outside the EDM model. - - - - - Constructs a . - - The value containing this property. - The name of the open property to be bound outside the EDM model. - Throws if the input source or openPropertyName is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the name of the open property to be bound outside the EDM model. - - - - - Gets the type of the single value this node represents. - - - The value of this property will always be null for open properties. - - - - - Gets the kind of this query node. - - - - Enumeration used to identify text content of syndication item. - - - - Plaintext - - - - - HTML - - - - - XHTML - - - - Enumeration type that is used to identify the syndication item element or attribute in the Open Data Protocol (OData) feed to which an entity property is mapped. - - Potentially the following atom specific elements could also be considered: - * Content? - * Id - * Source? - - - - - User specified a non-syndication property - - - - - author/email - - - - - author/name - - - - - author/uri - - - - - contributor/email - - - - - contributor/name - - - - - contributor/uri - - - - - updated - - - - - published - - - - - rights - - - - - summary - - - - - title - - - - Attribute that specifies a custom mapping between properties of an entity type and elements of an entry in an Open Data Protocol (OData) feed returned by the data service.  - - - - Source property path. - - - - - Target Xml element/attribute. - - - - - If mapping to syndication element, the name of syndication item. - - - - - If mapping to syndication content, the content type of syndication item. - - - - - If mapping to non-syndication element/attribute, the namespace prefix for the - target element/attribute. - - - - - If mapping to non-syndication element/attribute, the namespace for the - target element/attribute. - - - - - The content can optionally be kept in the original location along with the - newly mapping location by setting this option to true, false by default. - - - - Creates a new instance of the . - The name of the property, as string, of the entity type that is mapped to the specified property of the feed item. - A value that represents the element in the feed to which to map the property. This value must be set to None if the is not null. - A value that identifies the format of the content to display in the feed. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Creates an instance of the to map a property to a custom feed element. - The name of the property of the entity type, as string, that is mapped to the specified property in the feed. - The name of the target, as string, in the resulting feed to which the property is mapped. - This parameter, together with , specifies the namespace in which the element exists. - Specifies the namespace URI of the element, as string, specified by the property. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Gets the name of the property of the syndication item that will be mapped to the specified element of the feed. - String value that contains property name. - - - Gets the name of the custom target in the feed to which the property is mapped. - String value with target XML element or attribute. - - - Gets the syndication item in the entry targeted by the mapping. - A value that is the target of the mapping. - - - Gets a string value that, together with , specifies the namespace in which the element exists. - String value that contains the target namespace prefix. - - - Gets a string value that specifies the namespace URI of the element specified by the property. - String that contains the namespace URI. - - - Gets the type of content of the property mapped by . - A string that identifies the type of content in the feed element. - - - Gets a Boolean value that indicates whether a property value should be repeated both in the content section of the feed and in the mapped location. - A value that is true when the property is mapped into both locations in the feed; otherwise, false. - - - - Enumeration for the different kinds of reader and writer behaviors - supported in the OData library. - - - - The default behavior of the OData library. - - - The behavior of the WCF Data Services server. - - - The behavior of the WCF Data Services client. - - - - Class that captures all the information needed to make readers behave - differently when used inside of WCF Data Services or outside. - - - - The default reader behavior for the OData library. - - - The API behavior kind of this behavior. - - - Custom type resolver used by the WCF DS Client. - - This function is used instead of calling the IEdmModel.FindType. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - - true if the server uses a V1 provider; otherwise false. - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - Determines whether operations bound to the given type must be container qualified. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - true if the server uses a V1 provider; otherwise false. - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the reader behavior for the WCF Data Services client. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - The created reader behavior. - - - - Create the reader behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created reader behavior. - - - - Resets the format behavior of the current reader behavior to the default format behavior. - - - - - Get the default reader behavior for the OData library. - - The default reader behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one - of the duplicate property names refers to a named stream property, - an association link or a collection. - - - - - true if the server is using V1 provider; false otherwise. - - - - - Custom type resolver used by the WCF DS Client. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - Determines whether operations bound to the given entity type must be container qualified. - - - - Class that captures all the information needed to make writer behave - differently when used inside of WCF Data Services or outside. - - - - The default writer behavior for the OData library. - - - The API behavior kind of this behavior. - - - true if the server uses a V1 provider; otherwise false. - - - true to allow null values for non-nullable primitive types; otherwise false. - - - - If set to true, allows the writers to write duplicate properties of entries and complex values - (i.e., properties that have the same name). Defaults to 'false'. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - true if the server uses a V1 provider; otherwise false. - - true to allow null values for non-nullable primitive types; otherwise false. - - - If set to true, allows the writers to write duplicate properties of entries - and complex values (i.e., properties that have the same name). - - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the writer behavior for the WCF Data Services client. - - Custom data namespace. - Custom type scheme to use when resolving types. - The created writer behavior. - - - - Create the writer behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created writer behavior. - - - - Resets the format behavior of the current writer behavior to the default format behavior. - - - - - Get the default writer behavior. - - The default writer behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - EPM mappings are defined on entity types but not on complex types. For entity types, the EPM mapping for each of its primitive properties stay the same. - For complex types however, the EPM mappings changes depending on the entity type each complex property is declared on. - For example, if the "Customer" entity type has the properties Address1 and Address2 both of the complex type "Address". If properties in Address1 - are not mapped while properties in Address2 are mapped with KeepInContent=false, when we serialze the Address type in atom format, we keep properties of - Address1 in content while skipping properties of Address2 from the content. Thus the same complex type can get serialized differently for each instance - of the type. - - Astoria has a bug for V1 providers in which it creates and caches EPM information on the complex type itself the first time it serializes - an instance of the complex type. So subsequent writes will serialize the complex type the same way regardless of its EPM mapping. - This creates the following 2 problems: - 1. If a primitive property of a complex type is not part of a EPM mapping or has KeepInContent=true the first time it's serialized, the property will always - be serialized in the content for the remaining lifetime of the service, even for instances where KeepInContent=false. - 2. If a primitive property of a complex type has KeepInContent=false the first time it's serialized, the property will always be missing in the content - for the remaining lifetime of the service, even for instances that do not belong to a EPM mapping or have KeepInContent=true. - Unfortunately we cannot fix issue 1 because it can break existing third party clients. We have to fix issue 2 because it is a data corruption issue. - - The solution is to remember on the first write whether a primitive property of a complex type is serialized in content or not. On subsequent writes - to the same property, we will always keep it in content if the initial write is in content. Otherwise we calculate whether it should be in content - based on ShouldWritePropertyInContent. - - NOTE: this assumes that the complex type in question does not change throughout the lifetime of the service. - - See bug 174185. - - - - - If set to true, the writers will allow writing null values even if the metadata specifies a non-nullable primitive type. - - - - - If set to true, allows the writers to write duplicate properties of entries and complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one of the duplicate property names refers to - a named stream property, an association link or a collection. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - - OData ATOM deserializer for error payloads. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the content of an error element. - - The Xml reader to read the error payload from. - The maximumum number of recursive internalexception elements to allow. - The representing the error. - - This method is used to read top-level errors as well as in-stream errors (from inside the buffering Xml reader). - Pre-Condition: XmlNodeType.Element - The m:error start element. - Post-Condition: XmlNodeType.EndElement - The m:error end-element. - XmlNodeType.Element - The empty m:error start element. - - - - - Reads a top-level error. - - An representing the read error. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the m:error end element or the empty m:error element node. - - - - - Verifies that the specified element was not yet found in a top-level error element. - - - The bit field which stores which elements of an error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Verifies that the specified element was not yet found in an inner error element. - - - The bit field which stores which elements of an inner error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Reads the content of an inner error element. - - The (buffering) Xml reader to read the error payload from. - The number of times this function has been called recursively. - The maximumum number of recursive internalexception elements to allow. - The representing the inner error. - - Pre-Condition: XmlNodeType.Element - the m:innererror or m:internalexception element - Post-Condition: Any - the node after the m:innererror/m:internalexception end element or the node after the empty m:innererror/m:internalexception element node. - - - - - An enumeration of the various kinds of elements in an m:error element. - - - - No duplicates. - - - The 'code' element of the error element. - - - The 'message' element of the error element. - - - The 'innererror' element of the error element. - - - - An enumeration of the various kinds of elements in an internal error element. - - - - No duplicates. - - - The 'message' element of the inner error element. - - - The 'type' element of the inner error element. - - - The 'stacktrace' element of the inner error element. - - - The 'internalexception' element of the inner error element. - - - - Reader for the EPM custom-only. Read the EPM properties from cached values. - - - - - Base class for EPM readers. - - - - The input context currently in use. - - - The reader entry state to use for the entry to which the EPM is applied. - - - - Constructor. - - The reader entry state to use for the entry to which the EPM is applied. - The input context currently in use. - - - - Sets the value read from EPM to a property on an entry. - - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets the value read from EPM to a property on an entry. - - The target list, which is a list of properties (on entry or complex value). - The type of the value on which to set the property (can be entity or complex). - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets a property value for a segment of the EPM source path. - - The EPM info according to which we are mapping the value to properties. - The index in the epmInfo.PropertyValuePath for the source segment for which to set the value. - The structural type of the parent segment. - The list of properties of the parent segment, this method may add to this list. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Creates and adds a new property to the list of properties for an EPM. - - The list of properties to add the property to. - The name of the property to add. - The value of the property to add. - true if the new property should be checked for duplicates against the entry properties; false otherwise. - This should be true if the is the list of properties for the entry, and false in all other cases. - - - The reader entry state to use for the entry to which the EPM is applied. - - - The version of OData protocol to use. - - - The reader settings to use. - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the custom EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Cache for values read during deserialization of custom EPM. - - - - - List of custom EPM values read. - This is a map from EPM info to the value read from the payload. - - - The list order is the order in which the values were read from the payload. - They will be applied to the entry properties in that order (this needs to be maintained). - The key is the EPM info for the mapping according to which the value was read. - The value is the string value read from the content (not converted in any way). - null value means true null value should be used. - If the value was missing from the payload there will be no record of it in this list. - - - - - Constructor. - - - - - Determines if the cache already contains a value for the specified EPM mapping. - - The EPM info for the EPM mapping to look for. - true if the cache already contains a value for this mapping, false otherwise. - - - - Adds a value to cache. - - The EPM info for the mapping according to which the value was read. - The value to cache. - - The method will only store the first value for any given EPM info, since in custom EPM - only the first occurrence of the element/attribute is used, the others are ignored. - - - - - The list of stored custom EPM values (key is the EPM info, value is the string value read for it). - The list is in the order in which the values were read from the payload. - - - - - OData ATOM deserializer for EPM. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an extension element in non-ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element in non-ATOM namespace to read. - Post-Condition: Any - the node after the extension element which was read. - - - - - Reads an element for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the parent element to which the element belongs. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element which was read. - - The method works on any element, it checks if the element should be used for EPM or not. - - - - - Reads an attribute for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the element to which the attribute belongs. - - Pre-Condition: XmlNodeType.Attribute - the attribute to read. - Post-Condition: XmlNodeType.Attribute - the same attribute, the method doesn't move the reader. - - The method works on any attribute, it checks if the attribute should be used for EPM or not. - - - - - OData ATOM deserializer for entity reference links. - - - - OData element name for the 'links' element - - - OData element name for the 'count' element - - - OData element name for the 'next' element - - - OData element name for the 'uri' element - - - - Constructor. - - The ATOM input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a top-level entity reference link. - - An instance representing the read entity reference link. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Verifies that the specified element was not yet found in the entity reference links element. - - The bit field which stores which elements of an inner error were found so far. - The bit mask for the element to check. - The namespace name of the element ot check (used for error reporting). - The name of the element to check (used for error reporting). - - - - Reads all top-level entity reference links and the (optional) inline count and next link elements. - - An instance representing the read entity reference links. - - Pre-Condition: XmlNodeType.Element - The 'd:links' element. - Post-Condtion: any - The node after the 'd:links' end element (or empty 'd:links' element). - - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: XmlNodeType.Element - the 'd:uri' element to read. - Post-Condition: Any - the node after the 'd:uri' element which was read. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No duplicates. - - - The 'm:count' element of the 'links' element. - - - The 'd:next' element of the 'links' element. - - - - Class with utility methods for dealing with OData metadata that are shared with the OData.Query project. - - - - - Checks whether a type reference refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type reference; otherwise false. - - - - Checks whether a type refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type; otherwise false. - - - - Checks whether a type reference refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type reference; otherwise false. - - - - Checks whether a type refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type; otherwise false. - - - - Checks whether a type reference refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type reference; otherwise false. - - - - Checks whether a type refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type; otherwise false. - - - - Checks whether a type reference is considered a value type in OData. - - The to check. - true if the is considered a value type; otherwise false. - - The notion of value type in the OData space is driven by the IDSMP requirements where - Clr types denote the primitive types. - - - - - Checks whether a type reference refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Checks whether a type refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Determines if a is convertibale according to OData rules to the - . - - The type which is to be converted. - The type to which we want to convert. - true if the source type is convertible to the target type; otherwise false. - - - Represents an annotation to hold information for a particular property. - - - Gets the behavior for readers when reading property with null value. - The behavior for readers when reading property with null value. - - - Represents an OData action. - - - - Represents a function or an action. - - - - the metadata builder for this operation. - - - A human-readable description of the or the . - - - true if a title was provided by the user or seen on the wire, false otherwise. - - - A human-readable description of the or the , computed by the metadata builder. - - - The URI to invoke the or the . - - - true if a target was provided by the user or seen on the wire, false otherwise. - - - The URI to invoke the or the , computed by the metadata builder. - - - The cached full name of the operation to use. - - - The binding parameter type name for this operation. - - - - Sets the metadata builder for this operation. - - The metadata builder used to compute values from model annotations. - The metadata document Uri. - - - - Gets the metadata builder for this operation. - - The metadata builder used to compute values. - - - Gets or sets the URI to get metadata for the . - The URI to get metadata for the . - - - Gets or sets a human-readable description of the . - A human-readable description of the . - - - Gets or sets the URI to invoke the . - The URI to invoke the . - - - Represents an OData function. - - - - Implementation of the OData input for metadata documents. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Disposes the input context. - - - - - This methods reads the metadata from the input and returns an - representing the read metadata information. - - An instance representing the read metadata. - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - A method that determines whether a given model is a user model or one of the built-in core models - that can only used for primitive type resolution. - - The model to check. - true if the is a user model; otherwise false. - - - - Checks whether the provided is a supported primitive type. - - The CLR type to check. - true if the is a supported primitive type; otherwise false. - - - - Returns all the entity types in a model. - - The to get the entity types for (must not be null). - An enumerable of all instances in the . - - - - Creates a collection value type for the specified . - - The for the item type. - The created . - - - - Creates a collection type for the specified . - - The for the item type. - The created . - - - - Checks if the type reference is assignable from the type reference. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - Note that this method only checks the type definition for assignability; it does not consider nullability - or any other facets of the type reference. - - - - Checks if the type is assignable from the type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the structured type and the structured type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Checks if the primitive type and the primitive type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Returns the base type of a primitive type. - - The to get the base type for. - The base type of the or null if no base type exists. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Resolves the name of a primitive type. - - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Get the of the item type of the . - - The collection type to get the item type for. - The item type of the . - - - - Returns the IEdmCollectionType implementation with the given IEdmType as element type. - - IEdmType instance which is the element type. - An instance using the as Collection item type. - - - - Returns the IEdmCollectionType implementation with the given IEdmTypeReference as element type. - - IEdmTypeReference instance which is the element type. - An instance using the as Collection item type. - - - - Checks whether a type reference is a Geography type. - - The to check. - true if the is a Geography type; otherwise false. - - - - Checks whether a type reference is a Geometry type. - - The to check. - true if the is a Geometry type; otherwise false. - - - - Returns CollectionValue item type name or null if the provided type name is not a collectionValue. - - CollectionValue type name read from payload. - CollectionValue element type name or null if not a collectionValue. - - - - Gets the name of a function import group. - - The function import group in question. - The name of the function import group. - - - - Gets the full name of a function import group. - - The function import group in question. - The full name of the function import group. - - - - Name of the function import with parameters. - - Function import in question. - Name of the function import with parameters. - - - - Full name of the function import with parameters. - - Function import in question. - Full name of the function import with parameters. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the full name of the definition referred to by the type reference. - - The type reference to get the full name for. - The full name of this . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Gets the full name of the type. - - The type to get the full name for. - The full name of the . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Clones the specified type reference. - - The type reference to clone. - true to make the cloned type reference nullable; false to make it non-nullable. - The cloned instance. - - - - Gets the multiplicity of a navigation property. - - Reference to the calling object. - The multiplicity of the navigation property in question. - This has been added to EdmLib, but EdmLib won't be released for a while. - If you need to use this functionality before we release EdmLib, then use this method. Change your calls - to use the real method whenever we release EdmLib again. - - - - Checks if the is assignable to . - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the primitive type is a geography or geometry type. - - The type to check. - true, if the is a geography or geometry type. - - - - Checks if the primitive type is assignable to primitive type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - The CLR type for the primitive type reference. - - - - Turns a into the corresponding non-nullable . - - The type to convert. - A non-nullable type reference for the . - - - - Determines whether the provided is an open type. - - The type to check. - true if the is an open type; otherwise false. - - - - Determines whether the provided is a stream. - - The type to check. - true if the represents a stream; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Returns the primitive type reference for the given Clr type. - - The Clr type to resolve. - The primitive type reference for the given Clr type. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. - The group with the specified name or null if no such function import exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The group with the specified name or null if no such function import exists. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) - The resolved function import or function import group. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The resolved function import or function import group. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - Whether the returned type should be a nullable variant or not. - The CLR type for the primitive type reference. - - - - Returns Collection item type name or null if the provided type name is not a collection. - - Collection type name. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't berecognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - - - - - Gets the function import parameter types in string. - - Function import in question. - Comma separated function import parameter types enclosed in parantheses. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - Constant values used related to EPM (entity property mapping). - - - - Attribute name for the FC_KeepInContent attribute used for EPM. - - - Attribute name for the FC_ContentKind attribute used for EPM. - - - Attribute name for the FC_SourcePath attribute used for EPM. - - - Attribute name for the FC_TargetPath attribute used for EPM. - - - Attribute name for the target namespace prefix (FC_NsPrefix) attribute used for custom EPM. - - - Attribute name for the target namespace Uri (FC_NsUri) attribute used for custom EPM. - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - String value for the syndication content kind 'text'. - - - String value for the syndication content kind 'HTML'. - - - String value for the syndication content kind 'XHTML'. - - - - Builder class for the name of EPM attributes as serialized in CSDL. - This class keeps track of the number of mappings for a given type/property and appends post fixes to the names as needed. - - - - Separator character for building attribute names. - - - Current index. - The first time the name builder is used the names have no suffix. - The second time (after calling MoveNext once) - the name builder will use suffix '_1', then suffix '_2' and so on. - - - - Suffix for current attribute names. - - - Constructor - - - Move to next attribute name generation. - - - Current keep-in-content attribute name. - - - Current source path attribute name. - - - Current target path attribute name. - - - Current content kind attribute name. - - - Current namespace prefix attribute name. - - - Current namespace Uri attribute name. - - - - Annotation stored on an entity type to hold entity property mapping information. - - - - - A list of the EPM mappings this cache was constructed for. - Used to determine whether the cache is dirty or not. - - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - EDM model. - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - Constructor. - - The EPM mappings to create the cache for. - The EDM model. - The total number of entity property mappings - for the entity type that this cache is created for (on the type itself and all its base types). - - - - Initializes the EPM annotation with EPM information from the specified type. - - Entity type to use the EPM infromation from. - Entity type for this the EPM information is being built. - - - - Checks whether the current cache is dirty with respect to the . - - The EPM mappings to check this cache against. - true if the are not the same as the ones the cache has been created for (or have changed). - - - - Does given property in the attribute exist in the specified type. - - The type to inspect. - Attribute which has PropertyName. - true if property exists in the specified type, false otherwise. - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - All EntityPropertyMapping attributes. - - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - - Represents an enumerable of that new items can be added to. - - - - List of the mappings represented by this enumerable. - - - Creates a new instance of the class. - - - Creates a new instance of the class. - An enumerable of used to initialize the instance. This argument must not be null. - - - Adds the mapping to the list of all mappings represented by this class. - The to add to the enumerable represented by this class. - - - Returns an enumerator for the instances in this enumerable. - An enumerator for the instances in this enumerable. - - - Returns a non-generic enumerator for the instances in this enumerable. - A non-generic enumerator for the instances in this enumerable. - - - - The count of mappings stored in this collection. - - - - - Helper methods used by the OData reader for the Verbose JSON format. - - - - - Compares the against the list of supported feed-level properties and - returns the kind of property. - - The name of the property to check. - The kind of feed-level property of the property with name . - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Checks whether the specified property has already been found before. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - true if the property has not been read before; otherwise false. - - - - Validates that the string property in __metadata is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Verifies that the specified property was not yet found. - - The bit field which stores which metadata properties were found so far. - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in an entity reference links collection is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the count property in an OData-owned object wrapper is valid. - - The value of the property. - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an entity reference link collection were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in __mediaresource is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the property in feed wrapper is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JSON. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - The version of the payload being read. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - true if the conversion should use the V1 provider behavior, false if the default behavior should be used. - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Converts the given datetime value into the allowed target types. - - DateTime value as read by the JsonReader. - Target type to which the datetime value needs to be converted. - Type reference to which the value needs to be converted. - ODataReaderBehavior instance. - Object which is in sync with the target type. - - - - Checks if the given type is a V1 primitive type or not. - - Type instance. - True if the given target type is a V1 primitive type otherwise returns false. - - - - An enumeration of the various kinds of properties on a feed wrapper object. - - - - An unsupported property at the feed level. - - - The inline count property of a feed. - - - The results property of a feed. - - - The next page link property of a feed. - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - An unsupported property at the wrapper level. - - - The inline count property of an entity reference links wrapper. - - - The results property of an entity reference links wrapper. - - - The next page link property of an entity reference links wrapper. - - - - Enumeration of all properties in error payloads, the value of the enum is the bitmask which identifies - a bit per property. - - - We only use a single enumeration for both top-level as well as inner errors. - This means that some bits are never set for top-level (or inner errors). - - - - No property found yet. - - - The "error" of the top-level object. - - - The "code" property. - - - The "message" property of either the error object or the inner error object. - - - The "lang" property of the message object. - - - The "value" property of the message object. - - - The "innererror" or "internalexception" property of the error object or an inner error object. - - - The "type" property of an inner error object. - - - The "stacktrace" property of an inner error object. - - - - Enumeration of all properties in __metadata, the value of the enum is the bitmask which identifies - a bit per property. - - - - No property found yet. - - - The "uri" property. - - - The "type" property. - - - The "etag" property. - - - The "media_src" property. - - - The "edit_media" property. - - - The "content_type" property. - - - The "media_etag" property. - - - The "properties" property. - - - The "id" property. - - - The "actions" property. - - - The "functions" property. - - - - OData reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndArray if the feed is not wrapped in the 'results' wrapper - JsonNodeType.EndObject if the feed is wrapped in the 'results' wrapper - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or wrapped feed inside expanded link) - JsonNodeType.StartArray feed not wrapped with 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) expanded null entry - Post-Condition: JsonNodeType.StartArray: expanded link with a feed that is not wrapped with 'results' wrapper - JsonNodeType.StartObject expanded link with a feed that is warpped with 'results' wrapper - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNoteType.Primitive (null) If an expanded link with null entity instance was found. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of a feed and sets up the reader state correctly. - - true if the feed is inside an expanded link. - - Pre-Condition: The first node of the feed; this method will throw if the node is not - JsonNodeType.StartArray: a feed without 'results' wrapper - JsonNodeType.StartObject: a feed with 'results' wrapper - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the next node in the content of an expanded navigation link which represents a collection and is in a request payload. - - - This method deals with all the special cases in request payload expanded navigation link for collections. - It should be called when the array start of the content of such a link was already read. - It should be called in these cases: - - Start of the navigation link (to report the first content item of it) - - Entity reference link was reported (to report the next item of the navigation link content) - - Feed end was reported, to report the next non-entry item in the navigation link content - - Entry end was reported, to determine if the next entry should be reported, or if the feed should be closed. - - - - - Reads the start of an entry and sets up the reader state correctly - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (deferred link or entry or >=v2 feed wrapper) - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.PrimitiveValue (null) The null value of the navigation link property value to read next (expanded null entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the __metadata property for an entry and resolves its type. - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link to start. - The navigation property for the navigation link to start. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonScope - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Interface representing a state of the Verbose JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that during parsing of the entry represented by this state, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Flag which indicates that during parsing of the entry represented by this scope, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Flag which is only used on a StartFeed scope. - true - if the feed is the special feed reported as content of an expanded navigation link in request. - false - if the feed is any other (regular) feed. - - - - - Flag which is used to remember whether the feed was wrapped in with 'results' wrapper and which indicates - whether to expect (and read) '}' character at the end of the feed. Used on StartFeed scope for top level - feeds and on NavigationLinkStart scope for nested expanded feed. - true - if the feed was wrapped in results wrapper - false - if the feed was not wrapped in results wrapper - - - - - Flag which is only used on a StartNavigationLink scope in requests. - true - we already found some content for the navigation link in question and it was (or is going to be) reported to the caller. - false - we haven't found any content for the navigation link yet. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - Extension methods to make it easier to work with EPM. - - - - - All supported base names for serializable EPM annotations. - - - - - FC_TargetPath to enum mapping. - - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Determines if the has any EPM defined on it (or its base types). - - The model containing the annotations. - The entity type to test for presence of EPM. - true if the has EPM; false otherwise. - - - - Returns the EPM information for an entity type. - - The model containing the annotations. - The entity type to get the EPM information for. - Returns the EPM information for an entity type. If there's no such information, this returns null. - - - - Returns the cached EPM information for an entity type. - - The model containing the annotations. - The entity type to get the cached EPM information for. - Returns the cached EPM information for an entity type. If there's no cached information, this returns null. - - - - Gets all the annotations bindings in order to remove all EPM related annotations from a given . - - The model containing the annotations. - The annotatable to get the EPM annotations for. - A dictionary of local annotation name to annotation binding mappings for all serializable EPM annotations on . - - - - Removes the in-memory EPM annotations from an entity type; potentially also drops an existing EPM cache. - - The containing the annotation. - The to remove the EPM annotation from. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations for. - The EPM cache for the owning entity type. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations on. - All the EPM annotations to be saved. - true if the source path should be saved explicitly; otherwise false. - true if the prefix of the source path should be removed; otherwise false. - - - - Returns the cached keep-in-content annotation for the primitive properties of a complex type. - - The model containing the annotation. - The complex type to get the cached keep-in-content annotation for. - Returns the keep-in-content annotation for a type. If there's no such annotation this returns null. - - - - Maps the enumeration of allowed values to their string representations. - - Value of the given in - the contstructor. - String representing the xml element path in the syndication property. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the entity type belongs to. - The to load the EPM annotations for. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the annotatable belongs to. - The to load the EPM annotations for. - The collection of EPM annotations to add newly loaded annotations to. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - - - - Given a gets the corresponding syndication property. - - Target path in the form of a syndication property name. - - Enumeration value of a or SyndicationItemProperty.CustomProperty - if the does not map to any syndication property name. - - - - - Translates a content kind enumeration value to the corresponding string attribute value for serialization to CSDL. - - The content kind to translate. - A string corresponding to the value. - - - - Translates a syndication item property enumeration value to the corresponding string attribute value for serialization to CSDL. - - The syndication item property to translate. - A string corresponding to the value. - - - - Maps the string to an enumeration value of the enumeration. - - The content kind string to map. - The suffix of the attribute name currently being parsed or validated.Only used in error messages. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The name of the property to parse the EPM annotations for. Only used in error messages. - An value if the could be successfully mapped; otherwise throws. - - - - Parses the serializable EPM annotations of the , groups them by suffix - and translates them into a set of structs. - - The containing the annotations. - The to parse the EPM annotations for. - The name of the type for which the annotations are parsed or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - An enumerable of that represents all the parsed annotations grouped by their suffix. - - - - Validates the annotation values parsed for an EPM mapping. - - The to validate. - The name of the type for which the annotations are validated or that declares the . Only used in error messages. - The property for which the annotations are validated; null if the annotations are for a type. - An instance that represents the mapping created from the . - - - - Removes an existing EPM cache annotation. - - The containing the annotations. - The to remove the EPM cache from. - - - - Checks whether a given OData annotation is an EPM related annotation. - - The instance to check. - true if the annotation is EPM related; otherwise false. - - - - Checks whether a given serializable annotation represents part of an EPM mapping. - - The annotation to check. - The base name of the EPM annotation. - The suffix of the EPM annotation or null if not an EPM annotation. - true if the is an EPM annotation; otherwise false. - - - - Converts the value of the to a string. - - The to convert. - The string representation of the converted annotation value. - - - - Checks that two strings are the same references (and asserts that if they are not they also - don't have the same value). - - The first string to compare. - The second string to compare. - true if the and are the same reference; otherwise false; - - - - Checks whether the has EPM defined for it (either directly - on the type or on one of the base types). - - The containing the annotation. - The to check. - true if the has EPM defined; otherwise false. - - - - Gets the annotation binding with the OData metadata namespace and the specified for the . - - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - An instance that represnets the annotation with the specified name and value. - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel instance containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - true if the cache was modified; otherwise false. - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Private struct to store the values of the serializable EPM annotations during loading. - - - - The string value of the FC_SourcePath attribute (or null if not present). - - - The string value of the FC_TargetPath attribute (or null if not present). - - - The string value of the FC_KeepInContent attribute (or null if not present). - - - The string value of the FC_ContentKind attribute (or null if not present). - - - The string value of the FC_NsUri attribute (or null if not present). - - - The string value of the FC_NsPrefix attribute (or null if not present). - - - The attribute suffix used for the attribute names. - - - - Representation of each node in the EpmSourceTree. - - - - - Name of the property under the parent type. - - This fields is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - StartPath property name - - - - Name of the property under the parent type. - - This property is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionValueItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the tree. - - - - - corresponding to this tree. - - - - - Constructor which creates an empty root. - - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - - Validates the source tree. - - The entity type for which the validation is performed. - - - - Validates the specified segment and all its subsegments. - - The path segment to validate. - The type of the property represented by this segment (null for open properties). - - - - Returns the type of the property on the specified type. - - The type to look for the property on. - The name of the property to look for. - The type of the property specified. - - - - Root of the tree - - - - - Representation of each node in the EpmTargetTree. - - - - - Name of the xml element/attribute. - - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - - Cached attribute name if the segment represents an attribute. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - If this is a non-leaf element, the child elements/attributes collection. - - - - - Parent element of this element/attribute. - - - - - The EPM info object for this target segment, if there's any. - - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the EpmTargetTree. - - - - - Used for creating non-root nodes in the syndication/custom trees. - - Name of xml element/attribute - URI of the namespace for - Namespace prefix to be used for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - - Name of the xml element/attribute. - - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the property should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root node should not be accessed directly - from anywhere so far. - - - - Retruns name of the attribute the property is mapped to. Must not be called if a property is mapped to an element. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - EntityPropertyMappingInfo corresponding to current segement. - - - - - Whether this node corresponds to ResourceType or ClientType property values. - - - - - Does this node correspond to xml attribute. - - - - - Parent node in the tree (always an element if present). - - - - - Sub-nodes of this node. Only exist if current node is an element node. - - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Number of properties that have V2 mapping with KeepInContent false. - - - - - Initializes the sub-trees for syndication and non-syndication content. - - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Validates the target tree. - - This also cleans up the tree if necessary. - - - - Checks if mappings could potentially result in mixed content and dis-allows it. - - StartPath being processed. - A list of ancestor attributes that have content. - Can contain a maximum of one attribute when the method is called, must never contain more than two. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - string with the correct value for the target path - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Minimum protocol version required to serialize this target tree. - - - - - Class with utility methods for reading ATOM metadata. - - - - - Creates a new instance of ATOM entry metadata. - - The newly created ATOM entry metadata. - - - - Creates a new instance of ATOM feed metadata. - - The newly created ATOM feed metadata. - - - - Adds a new author to entry metadata. - - The entry metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to entry metadata. - - The entry metadata to add the contributor to. - The contributor metadata to add. - - - - Adds a new link to entry metadata. - - The entry metadata to add the link to. - The link metadata to add. - - - - Adds a new link to feed metadata. - - The feed metadata to add the link to. - The link metadata to add. - - - - Adds a new category to entry metadata. - - The entry metadata to add the category to. - The category metadata to add. - - - - Adds a new category to feed metadata. - - The feed metadata to add the category to. - The category metadata to add. - - - - Adds a new author to feed metadata. - - The feed metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to feed metadata. - - The feed metadata to add the contributor to. - The author metadata to add. - - - - Reader for the EPM syndication-only. Read the EPM properties from ATOM metadata OM. - - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the syndication EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Reads a leaf segment which maps to a property value. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads a non-leaf segment which has sub segments. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads EPM values from a person construct (author or contributor). - - The target list, this can be either a list of properties (on entry or complex value), - or a list of items (for a collection of primitive types). - The type of the value on which to set the property (can be entity, complex or primitive). - The target segment which points to either author or contributor element. - The person ATOM metadata to read from. - - - - Reads the value of the ATOM text construct and sets it to the EPM. - - The EPM target segment for the value to read. - The text construct to read it from (can be null). - - - - Base class for EPM writers. - - - - The output context currently in use. - - - - Constructor. - - The output context currently in use. - - - - Reads a property value starting on an entry. - - The EPM info which describes the mapping for which to read the property value. - The EPM value cache for the entry to read from. - The type of the entry. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting on a complex value. - - The EPM info which describes the mapping for which to read the property value. - The complex value to start with. - The EPM value cache to use. - The index in the property value path to start with. - The type of the complex value. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting with the specified index to the property value path. - - The EPM info which describes the mapping for which to read the property value. - The enumeration of properties to search for the first property in the property value path. - The index in the property value path to start with. - The type of the entry or complex value the enumeration belongs to. - The EPM value cache to use. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - The version of OData protocol to use. - - - The settings to control the behavior of the writer. - - - - Interface representing a state of the ATOM reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element. - - - - - Flag which indicates whether we have found a content element . - - - - - Flag which indicates whether we have found a category element with the required type name. - - - - - Flag which indicates whether we have found a m:properties element. - - - - - Flag indicating if we have already made a decision about the current entry and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - Interface representing a state of the ATOM reader for feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - The ATOM feed metadata to fill as we read the content of the feed. - - - - - Flag which indicates if a m:count element was found. - - - - - Flag which indicates if a link[@rel='next'] element was found. - - - - - Flag which indicates if a link[@rel='self'] element was found. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - OData ATOM deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start element of a collection. - - true, if the collection element is empty; false otherwise. - An representing the collection-level information. Currently this only contains - the name of the collection. - - Pre-Condition: XmlNodeType.Element - The start element of the collection. - Post-Condition: Any - The next node after the start element node of the collection or the - empty collection element node. - - - - - Reads the end of a collection. - - - Pre-condition: XmlNodeType.EndElement - The end element of the collection. - XmlNodeType.Element - The start element of the collection, if the element is empty. - Post-condition: Any - Next node after the end element of the collection. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: XmlNodeType.Element - The start element node of the item in the collection. - Post-Condition: Any - The next node after the end tag of the item. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the OData namespace - is found or the reader.EOF is reached. - - - - - Possible content types of expanded navigation link in ATOM. - - - - No content found, no m:inline. - - - Empty content found, m:inline without anything in it. Usually represents null entry. - - - Expanded entry found. - - - Expanded feed found. - - - - OData ATOM deserializer for entries and feeds. - - - - Schema namespace for Atom. - - - XML element name to mark entry element in Atom. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - XML element name to mark content element in Atom. - - - XML element name to mark link element in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark feed element in Atom. - - - XML element name to mark id element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - Atom source attribute name for the content of media link entries. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData element name for the 'count' element - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - - The reader used to parse annotation elements. - - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Ensure a media resource is created for the specified entry. - - The reader entry state for the entry being read. - If set to true, this method will validate that marking the entry as MLE - doesn't collide with it already being marked as non-MLE. - - - - Verified that the reader is positioned on the atom:entry start element node. - - - - - Read the start of the entry. - This method verifies that the current element is atom:entry and it reads the ETag from it. - - The entry instance to fill the properties on. - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not element called atom:entry - Post-Condition: XmlNodeType.Element - The atom:entry element - - - - - Reads the content of an entry (child nodes of the atom:entry, not the atom:content element). - - The reader entry state for the entry being read. - A descriptor representing the navigation link detected; - null if no navigation link was found and the end of the entry was reached. - - Pre-Condition: Anything but Attribute - the child node of the atom:entry element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:entry - The end of the atom:entry element if no nav. link was found and the end of the entry was reached. - XmlNodeType.Element atom:link - The start tag of the atom:link element representing a navigation link. - - - - - Read the end of the entry. - - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The atom:entry empty element to read end of. - XmlNodeType.EndElement atom:entry - The end element of atom:entry to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the start of the feed. - This method verifies that the current element is atom:feed. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not called atom:feed (but won't validate that it's an element) - Post-Condition: XmlNodeType.Element - The atom:feed element - - - - - Reads the content of a feed (child nodes of the atom:feed). - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if an entry was found or false if no more entries were found in the feed. - - Pre-Condition: Anything but Attribute - the child node of the atom:feed element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:feed - The end of the atom:feed element if no entry was found and the end of the feed was reached. - XmlNodeType.Element atom:entry - The start tag of the atom:entry element representing an entry in the feed. - - - - - Read the end of the feed. - - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The atom:feed empty element to read end of. - XmlNodeType.EndElement atom:feed - The end element of atom:feed to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the content of the navigation link before any expansion was found. - - - An enumeration value indicating what content was found: - None - no m:inline was found, the link is deferred. The reader is positioned on the atom:link end element. - Empty - empty m:inline was found - usually means null entry. The reader is positioned on empty start m:inline or end element m:inline. - Entry - expanded entry was found. The reader is positioned on the atom:entry element. - Feed - expanded feed was found. The reader is positioned on the atom:feed element. - - - Pre-Condition: Any - a node in the atom:link content. - Post-Condition: XmlNodeType.EndElement atom:link - the end of the navigation link was reached. - XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.Element (empty) m:inline - empty inline was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Determines if the reader is positioned on the m:inline end element or empty m:inline start element. - - true if the reader is on m:inline end element or m:inline empty start element; false otherwise. - - - - Skips everything until an end-element for atom:link is found. - - - This method should only be used to skip the rest of the link content after the ReadNavigationLinkContentBeforeExpansion was called. - Pre-Condition: XmlNodeType.Element atom:entry - start of the expanded entry - XmlNodeType.Element atom:feed - start of the expanded feed - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the content of the navigation link after the expansion was found. - The method returns when the entire atom:link was read. - - - true if the reader is positioned on the empty start tag or end tag of the m:inline element. - false if the reader is inside m:inline (or on the end tag of m:inline). - - - Pre-Condition: Any - child node of the m:inline element (emptyInline == false) - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the end of the navigation link. - - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: Any - The node right after the link element. - - - - - Reads the entry content in buffering mode and looks for the type name (the category element with the right attributes). - - The type name if one of found or null if none was found. - - Pre-Condition: XmlNodeType.Element - the atom:entry element - Post-Condition: XmlNodeType.Element - the atom:entry element on which the reader started. - - - - - Returns an existing stream property value if it already exists in the list of OData properties otherwise creates a new - ODataProperty for the stream property and returns the value of that property. - - The reader entry state for the entry being read. - The name of the stream property to return. - A new or an existing stream property value. - - - - If the is true, then the default behavior should throw. - - This method assumes the reader is positioned on the duplicated element. - Used to determine if duplicate check should throw an exception. - - - - Reads an ATOM element inside the atom:entry from the input. - - The reader entry state for the entry being read. - - If the atom element is representing a navigation link a descriptor for that link is returned, - otherwise null. - - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element if it's not a navigation link. - XmlNodeType.Element atom:link - The start tag of atom:link if it's a navigation link. - - - - - Reads the atom:content element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:content - The atom:content element to read. - Post-Condition: Any - The node after the atom:content element. - - - - - Reads the attributes of the <atom:content> element. - - The content type attribute value (or null if not found). - The content source attribute value (or null if not found). - - - - Reads the atom:id element in the atom:entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:id - The atom:id element to read. - Post-Condition: Any - The node after the atom:id element. - - - - - Reads the atom:link element in atom:entry. - - The reader entry state for the entry being read. - - If the link is a navigation link the method returns a descriptor representing that link, - otherwise the method returns null. - - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if it's not a navigation link. - XmlNodeType.Element atom:link - The atom:link start tag if it's a navigation link. - - - - - Reads the atom:link element with one of the standard relation values in the atom:entry element. - - The reader entry state for the entry being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a navigation link in entry element. - - The reader entry state for the entry being read. - The value of the rel attribute of the link to read, unescaped parsed URI. - The value of the href attribute of the link to read. - A descriptor of a navigation link if a navigation link was found; null otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element - the reader doesn't move - - - - - Reads a stream property edit or read link in an atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true if the link is a stream property read or edit link; otherwise false. - true, if the named stream was read successfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a stream property link in an atom:entry. - - The reader entry state for the entry being read. - The name of the stream property that is being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if we are reading an edit link; otherwise false. - true if the stream property link was read; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an association link in atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true, if the association link was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an m:action or m:function in atom:entry. - - The reader entry state for the entry being read. - true, if the m:action or m:function was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element m:action|m:function - The m:action or m:function element to read. - Post-Condition: Any - The node after the m:action or m:function element if it was read by this method. - XmlNodeType.Element m:action|m:function - The m:action or m:function element to read if it was not read by this method. - - - - - Reads an ATOM element inside the atom:feed from the input. - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if the atom:entry element was found and the reader was not moved; - false otherwise and the reader is positioned on the next node after the ATOM element. - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element which was consumed. - XmlNodeType.Element atom:entry - The start of the atom:entry element (the reader did not move in this case). - - - - - Reads the atom:link element with one of the standard relation values in the atom:feed element. - - The reader feed state for the feed being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if the feed is inside an expanded link. - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads the Atom metadata for the link if metadata is required to be read, skip it otherwise. - - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - Action for adding AtomLinkMetadata to the AtomFeedMetadata - - - - Reads the atom:link element's rel and href attributes. - - The value of the rel attribute or null if no such attribute was found. - The value of the href attribute or null if no such attribute was found. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - The atom:link element to read - the reader doesn't not move. - - - - - Reads the content of navigation link. - - - true if m:inline was found, - false if the end of the atom:link was found. - - - Pre-Condition: Any - a child node of the atom:link element. - Post-Condition: XmlNodeType.Element m:inline - the m:inline was found, the method returns true. - XmlNodeType.EndElement atom:link - the atom:link end element, end of the navigation link, the method returns false. - - - - - Reads content of the m:inline element. - - - Enumeration denoting what was found in the content. - Empty - The end of the m:inline element was found - the reader is positioned on the m:inline end element. - Entry - An expanded entry was found - the reader is positioned on atom:entry element. - Feed - An expanded feed was found - the reader is positioned on atom:feed element. - None - will never be returned. - - - Pre-Condition: Any - child node of the m:inline element. - Post-Condition: XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Verifies that the specified content type of an atom:content element matches the expected value. - - The content type value read from the payload. - The verified media type name (without parameters or charset) of the content type. - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - - OData ATOM deserializer for ATOM metadata on entries. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an element in ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads the atom:link element in the entry content. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link, or null if link info doesn't need to be stored. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: XmlNodeType.Element (atom:link) - the atom:link element which was read. - - - - - Reads the atom:category element in the entry content. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:category element. - - The ATOM category metadata read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:source element in the entry content. - - The information in the source element as . - - Pre-Condition: XmlNodeType.Element (atom:source) - the atom:source element to read. - Post-Condition: Any - the node after the atom:source which was read. - - - - - Reads an author element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads a contributor element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Determines if a person element should be read or skipped. - - true if some elements from the collection in question already exist; false if this is the first one. - true if the collection element should be read; false if it should be skipped. - - - - Determines if we should read an element which is allowed to appear only once in ATOM. - - true if we already found such element before; false if this is the first occurence. - true if the element should be processed; false if the element should be skipped. - The method may throw if multiple occurences of such element occure and they should be treated as an error. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - /// OData ATOM deserializer for service document. - - - - The name of the top-level service document element. - - - The name of the 'workspace' element of a service document. - - - href attribute name in Atom. - - - The name of the 'collection' element of a service document. - - - The name of the 'categories' element of a service document. - - - The name of the 'accept' element of a service document. - - - The Atom Publishing Protocol (APP) namespace. - - - The ATOM namespace. - - - The name of the 'title' element of a service document. - - - The emtpy namespace used for attributes in no namespace. - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: XmlNodeType.Element - The start element of the service document. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a workspace of a service document. - - An representing the workspace of a service document. - - Pre-Condition: Any - the next node after the service element. - Post-Condition: Any - The next node after the workspace element. - - - - - Reads a resource collection element of a workspace of the service document. - - An representing the resource collection in a workspace of a service document. - - Pre-Condition: XmlNodeType.Element - the collection element inside the workspace. - Post-Condition: Any - The next node after the collection element. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the ATOM - publishing namespace is found. - - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Handles serialization and deserialization for types derived from Geography. - - - - - Create a geography instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geography instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Annotation which stores a hashset of property names of a complex type that returned KeepInContent == true - when written the first time. See the comments on ODataWriterBehavior.UseV1ProviderBehavior for more details. - - - - - A hash set with the property names of properties that are kept in the content. - - - - - Constructor. - - Enumeration of property names that are kept in content. - - - - Determines if a property is in a list of properties that are kept in the content. - - The name of the property to lookup. - true if the property is kept in the content; false otherwise. - - - - Atom metadata description for a text construct (plain text, html or xhtml). - - - - Converts a string to an instance. - The instance created for text. - The to convert to an . - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the kind of the text construct (plain text, html, xhtml). - The kind of the text construct. - - - Gets or sets the text content. - The text content. - - - - Enumeration for classifying the different kinds of text content in ATOM metadata. - - - - Plain text. - - - Html text. - - - XHtml text. - - - - XML reader which supports look-ahead. - - - - The "http://www.w3.org/XML/1998/namespace" namespace for the "xml" prefix. - - - The "base" name for the XML base attribute. - - - The 'lang' attribute local name of the xml:lang attribute. - - - XML namespace for data service annotations. - - - XML namespace for data services. This is to provide compatibility with WCF DS client which accepts custom data namespace value. - - - The 'error' local name of the error element. - - - The underlying XML reader this buffering reader is wrapping. - - - The (possibly empty) list of buffered nodes. - This list stores only non-attribute nodes, attributes are stored in a separate list on an element node. - - - - A special buffered node instance which represents the end of input. - We always have just one instance and compare references. - - - - Flag to control if the xml:base attributes should be processed when reading. - - - The maximumum number of recursive internalexception elements to allow when reading in-stream errors. - - - The base URI for the document. - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - A pointer into the linked list of attribute nodes which is only used if the currentBufferedNodeToReport is the attribute value node (not the attribute itself). - In that case it points to the current attribute node. - In all other cases this node is null. - - - - A pointer either into the bufferedNodes list or into the list of attributes on a buffered element node - which points to the node which should be reported to the user. - - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - Flag to control whether in-stream errors should be detected when reading. - - - The stack of XML base URI definitions. - - - The XML base stack state when the buffering started. This is only used when in buffering mode. - - - Constructor - The reader to wrap. - If this reader is wrapping an inner reader of some kind, this parameter should pass the xml:base effective value of the parent. - The base URI for the document. - Flag to control if the xml:base attributes should be processed when reading. - The maximum number of recursive internalexception elements to allow when reading in-stream errors. - XML namespace for data services. - - - - Reads the next node from the input. - - true if another node is available and the reader has moved to it; false if end of input was reached. - - - - Moves the reader to the element which owns the current attribute. - - true if the reader has moved (that is the current node was an attribute); - false if the reader didn't move (the reader was already positioned on an element or other node). - - - - Moves the reader to the first attribute of the current element. - - true if the reader moved to the first attribute; false if there are no attribute for the current node (the reader didn't move). - - - - Moves the reader to the next attribute on the current element. - - true if the reader moved to the next attribute (if the node was an element it moves to the first attribute); - false if the reader didn't move (no attributes for the current node). - - - - Reads the next node from the value of an attribute. - - true if next node was available; false if end of the attribute value was reached. - - - - Closes the reader and the underlying input. - - - - - Returns the value of an attribute based on its index. - - The index of the attribute, starts at 0. - The value of the attribute at index . - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - The value of the attribute with specified and . - - - - Returns the value of an attribute based on its name. - - The name of the attribute. (prefix:localname) - The value of the attribute with specified . - - - - Looks up a namespace URI based on the prefix. - - The prefix to search for. - The namespace URI for the specified . - - - - Moves the reader to the attribute specified by fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - true if the attribute specified by and was found and the reader is positioned on it; - false otherwise. - - - - Moves the reader to the attribute specified by name. - - The name of the attribute (prefix:localname). - true if the attribute specified by was found and the reader is positioned on it; - false otherwise. - - - - Resolves the current entity node. - - - - - Puts the reader into the state where it buffers read nodes. - - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - The actual implementatin of the Read method. Moves the reader to the next node. - - true if the reader should not check for in-stream errors; otherwise false. - true if next node is available and the reader has moved; false if end-of-input was reached. - - - - Reads the next node from the XML reader and if m:error element node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Determines if the specified node is the end of input node. - - The buffered node to test. - true if the node is the special end of input node, false otherwise. - - - - Buffers the current reader state into a node. - - The newly created buffered node. - - - - Returns the current element node (or node which acts like an element, it doesn't have to be of type Element). - - The current element node. - - - - Finds the buffered node for the attribute specified by its index. - - The index of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its local name and namespace URI. - - The local name of the attribute. - The namespace URI of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its qualified name. - - The qualified name of the attribute to find, that is prefix:localName. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - If the reader is positioned on the attribute value node, this moves it to the owning attribute node. - - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. This string must already be atomized against the reader's nametable. - The namespace URI of the attribute. This string must already be atomized against the reader's nametable. - The value of the attribute with specified and . - - Behaves the same as GetAttribute, but it assumes that the parameters are already atomized against our nametable. - This allows the method to be much faster. - - - - - Validates internal state of the reader - debug only. - - - - - Returns the type of the current node. - - - - - Returns true if the reader is positioned on an empty element. - - - - - Returns the local name of the current node. - - - - - Returns the prefix of the current node. - - - - - Returns the namespace URI of the current node. - - - - - Returns the value of the current node. - - - - - Returns the depth of the current node. - - - - - Returns true if the end of input was reached. - - - - - Returns the current state of the reader. - - We need to support ReadState in order for Skip to work without us implementing it again. - - - - Returns the nametable used by the reader. - - - - - Returns the number of attributes on the node. - - - - - Returns the base URI of the node - note that this is not based on the xml:base attribute, just the input streams. - - - - - Returns true if the current node has a value. - - - - - The active XML base URI for the current node. - - - - - The active XML base URI for the parent node (parent element) of the current node. - - - - - Flag to control whether in-stream errors should be detected when reading. - - - - - Class representing one buffered XML node - - - - - The list of attribute nodes, if this node is an element node. - - - - - Constructor. - - The XML reader to get all the interesting values from. The reader - is positioned on the node which the new buffered node should buffer. - - - - Constructor for an attribute value node - - The value of the attribute value node to create. - The parent attribute depth. - The nametable to use. - - - - Constructor for end of input node. - - The atomized instance of an empty string. - - - - Creates a special node which represents the end of input. - - The nametable of the underlying reader. - The newly created node. - - - The type of the buffered node. - - - The namespace URI of the buffered node. - - - The local name of the buffered node. - - - The prefix of the buffered node. - - - The value of the buffered node. - - - The depth of the buffered node. - - - Denotes if the buffered node is an empty element. - - - List of attributes. If the node is not element, this will be null. - - - - Helper class to store XML base URI definition for a specific depth of the reader. - - - - - Constructor. - - The XML base URI for the definition. - The depth of the XML reader for the definition. - - - The base URI for this definition. - - - The depth of the XmlReader on which this XML base is defined. - - - - Atom metadata for stream reference values. - - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - - OData collection reader for ATOM format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type reference for the items in the collection. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the collection element node or the empty collection element node. - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the collection element or the empty collection element node. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the end tag of the item. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: Any - the next node after the end tag of the collection element. - Post-Condtion: XmlNodeType.None - the reader is at the end of the input. - - - - - Implementation of the OData input for ATOM OData format. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - If entry XML customization is used this is the reader for the current entry. - - - A stack used to track XML customization readers. - - At the beginning the base reader is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the reader returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomReader, other readers don't use this. - - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The or producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - Initializes the ability to use customization readers. - - - This needs to be called before any of the reader customization functionality is used. - - - - - Pushes a reader on the top of the customization stack. - - The reader to push. - The xml:base URI to use as the base uri for all of the payload read from that reader. - - - - Pops a reader from the top of the customization stack. - - The popped reader, the one which was on the top of the stack before the operation. - - - - Disposes the input context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - This methods creates and reads a service document from the input and returns - an representing the service document. - - An representing the service document. - - - - Read a top-level error. - - An representing the read error. - - - - Reads top-level entity reference links. - - An representing the read entity reference link. - - - - Reads a top-level entity reference link. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - Helper methods used by the OData reader for the ATOM format. - - - - - Creates an Xml reader over the specified stream with the provided settings. - - The stream to create the XmlReader over. - The encoding to use to read the input. - The OData message reader settings used to control the settings of the Xml reader. - An instance configured with the provided settings. - - - - Parses the value of the m:null attribute and returns a boolean. - - The string value of the m:null attribute. - true if the value denotes that the element should be null; false otherwise. - - - - Creates a new XmlReaderSettings instance using the encoding. - - Configuration settings of the OData reader. - The Xml reader settings to use for this reader. - - - - OData reader for the ATOM format. - - - - The input to read the payload from. - - - The deserializer to use to read input. - - - Stack of entry and feed deserializers, we need to create a new one for each XML customization - so that the strings get atomized again and so that we can return to the original one without reatomizing everything. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading top-level entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the top-level entry (if there were no nav. links. in it). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the top-level entry. - XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry). - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry - The start tag of the first entry element to read. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry (empty) - The empty start tag of the first entry in the feed. - XmlNodeType.EndElement atom:entry - The end tag of the first entry in the feed (if it had no nav. links). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the first entry in the feed. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The empty start tag of atom:feed - XmlNodeType.EndElement atom:feed - The end element of the atom:feed - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: Any - The node right after the top-level atom:feed element - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end element of the atom:entry. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: Any - The node right after the top-level atom:entry element. - XmlNodeType.EndElement atom:feed - The end element of the parent feed for the entry. - XmlNodeType.Element (empty) atom:entry - The empty start tag of the next entry in the parent feed. - XmlNodeType.EndElement atom:entry - The end element of the next entry in the parent feed (if it had no nav. links). - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the next entry in the parent feed. - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - the atom:link element representing the navigation link. - Post-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link of a deferred navigation link. - XmlNodeType.Element atom:entry - the atom:entry element of the expanded entry. - XmlNodeType.Element atom:feed - the atom:feed element of the expanded feed. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: XmlNodeType.EndElement atom:entry - the end element atom:entry of the parent entry if there are no more navigation links. - XmlNodeType.Element atom:link - the atom:link element of the next navigation link of the parent entry. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of an entity reference link. - XmlNodeType.EndElement atom:link - the end element atom:link of the entity reference link. - Post-Condition: Unchanged - the reader doesn't change its position. - - - - - Reads the start of a feed and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:feed. - Post-Condition: XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry) - - - - - Reads the start of an entry and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:entry. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the entry (if there were no nav. links. in it) - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the entry. - - - - - End the entry. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link descriptor for the navigation link to start. - - - - Moves the reader from the start state of a non-expanded navigation link. - - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Replaces the current scope with a new FeedEnd scope and the item of the current scope. - - - - - Returns the current entry state. - - - - - Returns the current feed state. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property have null value, we don't know for sure yet (both are possible), it it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - Bitfield to track the current state of the ATOM scope. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The ATOM feed metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The cache for values read from custom EPM. - - - This is lazily initialized only when it's actually needed. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Sets the bit identified by the if is true, otherwise clears it. - - Indicates if the should be set - Identifies the bit to set in atomScopeState - - - - Returns true if the bit identified by is set, false otherwise. - - Identifies the bit to set in atomScopeState - True if the bit identified by the is set, false otherwise - - - - Flag which indicates that the element representing the current state is empty. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - trye if the EpmCustomReaderValueCache has been initialized; false otherwise. - - - - - true if the AtomEntryMetadata has been initialized; false otherwise. - - - - - The navigation property retrieved from the metadata when reading a navigation link. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element for this entry. - - - - - Flag which indicates whether we have found a content element for this entry. - - - - - Flag which indicates whether we have found a category element for this entry. - - - - - Flag which indicates whether we have found a m:properties element for this entry. - - - - - Flag which indicates whether we have found a m:count elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='next'] elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='self'] elemnent for this feed. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - The feed metadata to fill as we read the content of a feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No state information. - - - Empty element. - - - A read link has been detected for this entry. - - - An edit link has been detected for this entry. - - - An id link has been detected for this entry. - - - A content element has been detected for this entry. - - - A category element which has the required type name has been detected for this entry. - - - A m:properties element has been detected for this entry. - - - A m:count link has been detected for this feed. - - - A link[@rel='next'] link has been detected for this feed. - - - A link[@rel='self'] link has been detected for this feed. - - - An edit-media link has been detected for this entry. - - - A link[@rel='http://docs.oasis-open.org/odata/ns/delta'] has been detected for this entry. - - - - Extension methods for the XML reader. - - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: Any - the node after the element. - - This method is similar to ReadElementContentAsString with one difference: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - - - - Reads the value of the first text, CDATA or significant whitespace node. - - The reader to read from. - The value of the first text, CDATA or significant whitespace node. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - This method is similar to ReadElementContentAsString with two differences: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - It leaves the reader positioned on the EndElement node (or the start node if it was empty). - - - - - Reads from the XML reader skipping insignificant nodes. - - The XML reader to read from. - Do not use MoveToContent since for backward compatibility reasons we skip over nodes reported as Text which have - whitespace only content (even though the XmlReader should report those as Whitespace). - - - - Skips the content of the element and leaves the reader on the end element (or empty start element) - - The reader to read from. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - - - - - Reads from the input until the first element is found. - - The XML reader to read from. - - Pre-Condition: XmlNodeType.None - the reader hasn't been used yet. - Post-Condition: XmlNodeType.Element - the reader is positioned on the root/first element. - Note that the method will fail if the top-level contains any significant node other than the root element - or if no root element is found. - - - - - Reads till the end of the input payload. - - The XML reader to read from. - - Pre-Condition: any - the reader will verify that only insignificant node is present. - Post-Condition: XmlNodeType.None - the reader is at the end of the input. - - - - - Determines if the current node's namespace equals to the specified - - The XML reader to get the current node from. - The namespace URI to compare, this must be a string already atomized in the name table. - true if the current node is in the specified namespace; false otherwise. - - - - Determines if the current node's local name equals to the specified - - The XML reader to get the current node from. - The local name to compare, this must be a string already atomized in the name table. - true if the current node has the specified local name; false otherwise. - - - - Tries to read the current element as an empty element (no or empty content). - - The XML reader to read from. - true if the reader was on an empty element; false otherwise. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - any other - the first child node of the element, in this case the method returns false. - - - - - Reads to the next element encountered in an Xml payload. - - The to read from. - true if the method reached the next element; otherwise false. - - - - Checks whether the specifies string is null or blank. - - Text to check. - true if text is null, empty, or all whitespace characters. - - - - Helper class to verify that no duplicate properties are specified for entries and complex values. - - - - Special value for the property annotations which is used to mark the annotations as processed. - - - true if duplicate properties are allowed; otherwise false. - - See the comment on ODataWriterBehavior.AllowDuplicatePropertyNames or - ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - - - true if we're processing a response; false if it's a request. - - - - A cache of property names to detect duplicate property names. The value stored - for a given property name indicates what should happen if another property with the same name is found. - See the comments on for more details. - - - - - Constructor. - - true if duplicate properties are allowed; otherwise false. - true if we're processing a response; false if it's a request. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The property to be checked. - - - - Checks the for duplicate property names in an entry when the navigation link - has started but we don't know yet if it's expanded or not. - - The navigation link to be checked. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - The association link with the same name if there already was one. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The association link to be checked. - The navigation link with the same name as the association link if there's one. - - - - Clear the internal data structures of the checker so it can be reused. - - - - - Adds an OData annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - The valud of the annotation to add. - - - - Adds a custom annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - - - - Returns OData annotations for the specified property with name . - - The name of the property to return the annotations for. - Enumeration of pairs of OData annotation name and and the annotation value, or null if there are no OData annotations for the property. - - - - Marks the property to note that all its annotations were already processed. - - The property name to mark. - - Properties marked like this will fail if there are more annotations found for them in the payload. - - - - - Returns the names of all properties which have not been marked as processed through . - - A set of property names. - - - - Throw if property is processed already. - - Name of the property. - DuplicationRecord of the property. - - - - Indicates whether a property's annotations have not yet been processed. - - The name of the property to check. - true if the property associated with the given name has unprocessed annotations. - - - - Decides whether a the given supports duplicates (if allowed by the settings). - - The property to check. - true if the supports duplicates (if allowed by the settings); otherwise false. - - - - Determines the effective value for the isCollection flag. - - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - The effective value of the isCollection flag. Note that we can't rely on singleton links which are not expanded since - those can appear even in cases where the actual navigation property is a collection. - We allow singleton deferred links for collection properties in requests, as that is one way of expressing a bind operation. - - - - Sets the properties on a duplication record for a navigation link. - - The duplication record to modify. - The navigation link found for this property. - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - - - - Tries to get an existing duplication record for the specified . - - The property name to look for. - The existing duplication if one was already found. - true if a duplication record already exists, false otherwise. - This method also initializes the cache if it was not initialized yet. - - - - Checks for duplication of a navigation link against an existing duplication record. - - The name of the navigation link. - The existing duplication record. - This only performs checks possible without the knowledge of whether the link was expanded or not. - - - - Gets a duplication record to use for adding property annotation. - - The name of the property to get the duplication record for. - The name of the annotation being added (only for error reporting). - The duplication record to use. This will never be null. - - - - An enumeration to represent the duplication kind of a given property name. - - - This enumeration is used to determine what should happen if two properties with the same name are detected on an entry or complex value. - When the first property is found, the initial value is set based on the kind of property found and the general setting to allow or disallow duplicate properties. - When a second property with the same name is found, the duplication kind can be 'upgraded' (e.g., from association link to navigation property), 'ignored' (e.g. - when finding the association link for an existing navigation property or when duplicate properties are allowed by the settings) or 'fail' - (e.g., when duplicate properties are not allowed). - - - - We don't know enough about the property to determine its duplication kind yet, we've just seen a property annotation for it. - - - Duplicates for this property name are not allowed. - - - This kind indicates that duplicates are allowed (if the settings allow duplicates). - - - A navigation link or association link was reported. - - - - A record of a single property for duplicate property names checking. - - - - - Constructor. - - The duplication kind of the record to create. - - - - The duplication kind of the record to create. - - - - - The navigation link if it was already found for this property. - - - - - The association link if it was already found for this property. - - - - - true if we know for sure that the navigation property with the property name is a collection, - false if we know for sure that the navigation property with the property name is a singleton, - null if we don't know the cardinality of the navigation property for sure (yet). - - - - - Dictionary of OData annotations for the property for which the duplication record is stored. - - - The key of the dictionary is the fully qualified annotation name (i.e. odata.type), - the value is the parsed value of the annotation (this is annotation specific). - - - - - Hashset of custom annotations for the property for which the duplication record is stored. - - - This is just a hashset for now since we don't read custom annotations, we just need to check for duplicates. - - - - - Utility methods serializing the xml error payload - - - - Default language for error messages if not specified. - - This constant is included here since this file is compiled into WCF DS Server as well - so we can't compile in the ODataConstants. - - - - - Extracts error details from an . - - The ODataError instance to extract the error details from. - A data service-defined string which serves as a substatus to the HTTP response code. - A human readable message describing the error. - The language identifier representing the language the error message is in. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write an error message. - - The Xml writer to write to. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - The maximumum number of nested inner errors to allow. - - - - Writes the inner exception information in debug mode. - - The Xml writer to write to. - The inner error to write. - The local name of the element representing the inner error. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - OData JSON deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JSON input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: JsonNodeType.StartArray: for a V1 collection - JsonNodeType.StartObject: for a >=V2 collection - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level properties if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: V1 collection - EndObject V1 collection in response - EndObject wrapped collection with no extra properties after the 'results' property - Property wrapped collection with extra properties after the 'results' property - - - - - OData JSON deserializer for entity reference links. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Reads the properties of an entity reference link. - - The instance to set the read property values on. - The bit field with all the properties already read. - true if the method found the 'results' property; otherwise false. - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: any node - This method will throw if the node type is not a StartObject node - Post-Condition: any node - - - - - OData Verbose JSON deserializer for entries and feeds. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Reads the start of a feed; this includes feed-level properties if the version permits it. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.StartArray: for a feed without 'results' wrapper - JsonNodeType.StartObject: for a feed wrapped with 'results' wrapper - Post-Condition: Any start node The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of a feed; this includes feed-level properties if the version permits them. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.EndArray if the feed is not wrapped - JsonNodeType.EndObject if the feed is wrapped - - - - - Reads the start of an entry (non-null) - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.Property The first property of the entry - JsonNodeType.EndObject The end of the property object - - - - - Reads the entry metadata property. - - The state of the reader for entry to read. - - This method does not move the reader. - Pre-Condition: JsonNodeType.Object The start object of the __metadata property value. - Post-Condition: JsonNodeType.EndObject The end object of the __metadtaa property value. - - - - - Validates entry metadata properties against the model. - - The state of the reader for entry to read. - - This method must be called only after the ReadEntryMetadata was already called. - It should be called always, regardless of whether the __metadata property was found ot not. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - If a navigation link was found this parameter will hold the navigation property for that link, otherwise it's null. - A instance representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or feed with 'results' wrapper inside expanded link) - JsonNodeType.StartArray feed without 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Reads the Url of a non-expanded link and moves the reader forward to the position after the link. - - The navigation link to set the Url on. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the deferred link - Post-Condition: JsonNodeType.Property: the next property after the deferred link - JsonNodeType.EndObject the end of the owning entry if the deferred link is the last property - - - - - Reads the entity reference link and moves the reader forward to the position after the link. - - The entity reference link read from the payload. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the entity reference link - Post-Condition: JsonNodeType.Property: the next property after the entity reference link - JsonNodeType.EndObject: the end of the owning entry if the entity reference link is the last property - JsonNodeType.EndArray: the end of the owning array (if the entity reference link is part of expanded feed) - Any: the next item in the owning array (if the entity reference link is part of expanded feed) - - - - - Analyzes the current navigation property node to determine whether it represents a deferred link. - - true if we already detected a navigation link and now determine its kind; false if we are detecting a deferred navigation link. - true if the current navigation property represents a deferred link; false for an expanded navigation link. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Analyzes the current node to determine whether it represents an entity reference link. - - true if the current node represents an entity reference link; false is it's an entry or something else. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Read a feed-level property (e.g., __count, __next, etc.) and check its version compliance. - This method fails on properties that are not recognized as feed-level properties. - - The instance to fill with the data read. - The name of the property being read. - true if the feed is inside an expanded link. - - Pre-Condition: The reader is on the first node of the feed-level property's value. - Post-Condition: JsonNodeType.Property: the next feed property to read or - JsonNodeType.EndObject: the end of the results wrapper - - - - - Read an entry-level property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value. - - The value of the stream property. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the stream reference (after the EndObject) - - - - - Reads the uri property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'uri' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the id property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'id' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the etag property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_src property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_src' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the edit_media property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'edit_media' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the content_type property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'content_type' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_etag property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the actions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'actions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the functions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'functions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Read the property metadata for the properties of an entry being read. - - The entry state for the current reader. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'properties' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - This method will not validate anything against the model because it will read the type name and thus it can't rely - on knowing the actual type of the entry being read. - - - - - Read the 'actions' or 'functions' metadata for the entry being read. - - The the 'actions' or 'functions' metadata is read for. - When True the 'actions' metadata is being read, otherwise 'functions' metadata is being read. - - Pre-Condition: first node of the 'actions' or 'functions' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the stream reference metadata from the value of the __mediaresource property. - - The value of the stream reference with the metadata properties filled. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: Either a property node or an EndObject node. - - - - - Tries to resolve the payload URI using the custom URI resolver. If the custom resolver fails, it returns the actual URI from the payload. - - the URI to be resolved. - A resolved URI or the URI from the payload, if the custom resolver fails. - - - - Validates that the value of a JSON property can represent navigation link. - - true if the property is entity set reference property; false for a resource reference property. - - - - Determines whether a property of an entry should be skipped during reading. - - true if the current property should be skipped; otherwise false. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData Verbose JSON deserializer for errors. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a top-level error. - - An representing the read error. - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: any - will throw if not StartObject - Post-Condition: JsonNodeType.Property - The next property in the error value - JsonNodeType.EndObject - The end of the error value - - - - - Implementation of the OData input for Verbose JSON OData format. - - - - The text reader created for the input stream. - - The ODataJsonInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The reader to read data from. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - OData JSON deserializer for service documents. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Class representing implementation specific debugging information to help determine the cause of the error. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class with exception object. - The used to create the inner error. - - - Gets or sets the error message. - The error message. - - - Gets or sets the type name of this error, for example, the type name of an exception. - The type name of this error. - - - Gets or sets the stack trace for this error. - The stack trace for this error. - - - Gets or sets the nested implementation specific debugging information. - The nested implementation specific debugging information. - - - - OData representation of a top-level collection. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the name of the collection (ATOM only). - The name of the collection. - - - - Provides additional serialization information to the for this . - - - - - OData collection reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Set to true if collections are expected to have the 'results' wrapper. - Collections are only expected to have a results wrapper if - (a) the protocol version is >= 2 AND - (b) we are reading a response - NOTE: OIPI does not specify a format for >= v2 collections in requests; we thus use the v1 format and consequently do not expect a result wrapper. - - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state, the Item property of the returns null. - - - - The reader has started reading and is reading the start element of the collection wrapper (if any). - No items have been read. - - - In this state, the Item property of the returns - an instance of . - - - - - The reader read an item from the collection. - - In this state, the Item property of the returns the read item (a primitive value, an ODataComplexValue or null). - - - - The reader has finished reading and is reading the end element of the collection wrapper (if any). - All items have been read. - - - In this state, the Item property of the returns the same - instance of as in state CollectionStart. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state, the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state, the Item property of the returns null. - - - - - Exception type representing an in-stream error parsed when reading a payload. - - - - The value containing instance representing the error - read from the payload. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an object. - The instance representing the error read from the payload. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message and an object. - The plain text error message for this exception. - The instance representing the error read from the payload. - - - Creates a new instance of the class with an error message, an inner exception, and an object. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - The instance representing the error read from the payload. - - - Gets the instance representing the error read from the payload. - The instance representing the error read from the payload. - - - - Implement the ISafeSerializationData interface to contain custom exception data in a partially trusted assembly. - Use this interface in post-ORCAS to replace the Exception.GetObjectData method, which is marked with the SecurityCriticalAttribute. - - - - - This method is called when deserialization of the exception is complete. - - The exception object. - - - - Gets or sets the object. - - - - - Implementation of the OData input for RAW OData format (raw value and batch). - - - - Use a buffer size of 4k that is read from the stream at a time. - - - The to read. - - - The encoding to use to read from the batch stream. - - - The input stream to read the data from. - - - The text reader to read non-binary values from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - The to read. - - - - Create a . - - The batch boundary to use. - The newly created . - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Disposes the input context. - - - - - Create a . - - The batch boundary to use. - If the reader should be created for synchronous or asynchronous API. - The newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Read the binary value from the stream. - - A byte array containing all the data read. - - - - Reads the content of a text reader as string and, if is specified and primitive type conversion - is enabled, converts the string to the expected type. - - The expected type of the value being read or null if no type conversion should be performed. - The raw value that was read from the text reader either as string or converted to the provided . - - - - The stream of the raw input context. - - - - - Handles serialization and deserialization for a specified set of primitive types. - - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Set of type converters that implement their own conversion using IPrimitiveTypeConverter. - - - Set of type converters that are known to this instance which convert values based on the ISpatial type. - - - - Create a new instance of the converter. - - Set of type converters to register for the ISpatial based values. - - - - Try to create an object of type from the value in . - - XmlReader to use to read the value. - Expected type of the value in the reader. - Object of type , null if no object could be created. - True if the value was converted to the specified type, otherwise false. - - - - Try to write the XML representation of to the specified - - Object to convert to XML representation. - XmlWriter to use to write the converted value. - True if the value was written, otherwise false. - - - - Try to write the Verbose JSON representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - Type name of the instance. If the type name is null, the type name is not written. - The OData protocol version to be used for writing payloads. - - - - Try to write the JSON Lite representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - The OData protocol version to be used for writing payloads. - - - - Tries to write the value of object instance using a registered primitive type converter. - - Object to write. - Method to use when writing the value, if a registered converter is found for the type. - True if the value was written using a registered primitive type converter, otherwise false. - - - - Get the primitive type converter for the given type. - - Clr type whose primitive type converter needs to be returned. - Converter for the given clr type. - True if a converter was found for the given type, otherwise returns false. - - - PrimitiveConverter instance for use by the Atom and Json readers and writers. - - - - Annotation which stores a list of projected properties for an entry. - - - - The special '*' segment indicating that all properties are selected. - - - - Cached projected properties annotation with no properties projected. - - - - - Cached projected properties annotation with all properties projected. - - - - - A hash set with the projected property names. - - - - Initializes a new instance of the class. - The enumeration of projected property names. - - - - Constructor. - - - - - Determines if a property is in a list of projected properties. - - The name of the property to lookup. - true if the property is projected; false otherwise. - Note that we allow null and empty property names here for the lookup just so that - we don't have to validate before we skip them. If we would not skip them, the writing would fail later on anyway. - - - - Adds the specified property name to the set of projected properties (if it is not already included). - - The name of the property to include in the set of projected properties. - - - - Removes the specified property name from the set of projected properties. - - The name of the property to remove from the set of projected properties. - - - - Projected properties annotation with no properties projected. - - - - - Projected properties annotation with all properties projected. - - - - - The set of projected property names. - - - - - Class with utility methods for reading OData content. - - - - - Creates a new instance to return to the user. - - The newly created entry. - The method populates the Properties property with an empty read only enumeration. - - - Checks for duplicate navigation links and if there already is an association link with the same name - sets the association link URL on the navigation link. - The duplicate property names checker for the current scope. - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - - - Checks that for duplicate association links and if there already is a navigation link with the same name - sets the association link URL on that navigation link. - The duplicate property names checker for the current scope. - The association link to be checked. - - - - Adds an association link to an entry. - - The entry to get or create the association link for. - The navigation property to get or create the association link for. - The association link that we either retrieved or created for the . - - - - Returns true if the specified is set in the . - - The value of the setting to test. - The flag to test. - true if the flas is present, flase otherwise. - - - - Gets the expected property name from the specified property or function import. - - The to get the expected property name for (or null if none is specified). - The expected name of the property to be read from the payload. - - - - Class with utility methods for validating OData content when reading. - - - - - Validates that message reader settings are correct. - - The message reader settings to validate. - true if the settings were specified when reading a response, false when reading a request. - - - - Validates an entity reference link. - - The entity reference link to check. - - - - Validates a stream reference property. - - The stream property to check. - The owning type of the stream property or null if no metadata is available. - The stream property defined by the model. - The message reader settings being used. - - - - Validate a null value. - - The used to read the payload. - The expected type of the null value. - The message reader settings. - true to validate the the null value; false to only check whether the type is supported. - The version used to read the payload. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Validates an to ensure all required information is specified and valid. - - The entry to validate. - - - - Finds a defined property from the model if one is available. - The structured type can be null if no metadata is available. - - The name of the property to find. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - true if the property should be completely ignored and not parsed/reported, in this case the return value is null. - false if the property should be parsed and reported as usual. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that the expected property name matches the property name read from the payload. - - The expected property name. - The property name read from the payload. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The message reader settings being used. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Creates an exception used when primitive type conversion fails. - - The target type reference to which the conversion failed. - Possible inner exception with more information about the failure. - The exception object to throw. - - - - Resolved the payload type name to the type. - - The model to use for the resolution. - The expected type reference, or null if no expected type is available. - The payload type name to resolve. - The default payload type kind, this is used when the resolution is not possible, - but the type name is not empty. (Should be either Complex or Entity). - Reader behavior to use for compatibility. - The version of the payload being read. - This is set to the detected payload type kind, or None if the type was not specified. - The resolved type. This may be null if either no user-specified model is specified, or the type name is not recognized by the model. - The method detects the payload kind even if the model does not recognize the type. It figures out primitive and collection types always, - and uses the for the rest. - - - - Resolves and validates the payload type against the expected type and returns the target type. - - The expected type kind for the value. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The expected type reference, or null if no expected type is available. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - A func to compute the type kind from the payload shape if it could not be determined from the expected type or the payload type. - The target type kind to be used to read the payload. - Potentially non-null instance of an annotation to put on the value reported from the reader. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Resolves the primitive payload type versus the expected type and validates that such combination is allowed. - - The expected type reference, if any. - The kind of the payload type, or None if the detection was not possible. - The resolved payload type, or null if no payload type was specified. - The name of the payload type, or null if no payload type was specified. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The model to use. - The message reader settings to use. - The version of the payload being read. - The target type reference to use for parsing the value. This method never returns null. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type kind, this may be the one from the type itself, or one detected without resolving the type. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Validates that the specified encoding is supported in batch/changeset envelopes (headers, boundaries, preamble, etc.). - - The to check. - - - - Validates whether the specified type reference is supported in the current version. - - The type reference to check. - The version currently used. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - entity set and entity type when reading a feed or entry payload. This method updates - the if the metadata URI specifies more derived information. - - The parse result of the metadata URI from the payload. - The top-level scope representing the reader state. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - navigation property. - - The parse result of the metadata URI from the payload. - The expected navigation property. - This method is used to validate metadata URIs for both singleton entity reference links - and collections of entity reference links. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - collection item type when reading collection payloads. - - The parse result of the metadata URI from the payload. - The expected item type of the collection items. - The actual item type of the collection items. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - The header for the operation, either 'actions' or 'functions'. - - - - Resolves the payload type if there's no expected type. - - The expected type kind for the value. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when the strict validation is disabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when strict validation is enabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Verifies that payload type is defined if the payload type name is present. - - The type name from the payload. - The resolved type from the model. - - - - Verifies that complex type is valid against the expected type. - - The expected type reference. - The payload type. - true if the method should fail if the doesn't match the ; - false if the method should just return in that case. - - The method verifies that the is not a derived complex type of the - and always fails in that case. - - - - - Verifies that in case of collection types, the item type is valid. - - The expected type reference. - The payload type. - - This method verifies that item type is not a derived complex type, we want to explicitly disallow that case for possible future enablement. - - - - - Conditionally creates the annotation to put on the read value in order to retain the type name from the payload. - - The payload type name. - The type reference into which we're going to parse. - The annotation to report to the reader for adding on the read value. - - - - Computes the type kind to be used to read the payload from the expected type, the payload type and - possibly the payload shape. - - The expected type reference used to read the payload value. - true when resolving a type name for an entity value; false for a non-entity value. - The type name read from the payload. - The type kind of the payload value. - The message reader settings. - A func to determine the type kind of the value by analyzing the payload data. - The type kind to be used to read the payload. - - - - Gets the expected type kind based on the given , or EdmTypeKind.None if no specific type should be expected. - - The expected type reference. - The message reader settings. - The expected type kind based on the settings and type reference, or EdmTypeKind.None if no specific type should be expected. - - - - Determines if the expect value type and the current settings mandate us to validate type kinds of payload values. - - The message reader settings. - The expected type reference for the value infered from the model. - The type kind of the payload value. - true if the payload value kind must be verified, false otherwise. - This method deals with the strict versus lax behavior, as well as with the behavior when primitive type conversion is disabled. - - - - Validates that the specified allows null values. - - The expected type for the value, or null if no such type is available. - true to validate the null value; otherwise false. - The model to use to get the data service version. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Create and throw exception that a null value was found when the expected type is non-nullable. - - The expected type for this value. - The name of the property whose value is being read, if applicable. - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Implementation of IEnumerable>T< which is based on a List>T< - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of a single item in the enumeration. - - - - The IEnumerable to wrap. - - - - - The empty instance of ReadOnlyEnumerableOfT. - - - - - Constructor which initializes the enumerable with an empty list storage. - - - - - Constructor. - - The list of values to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Gets the empty instance of ReadOnlyEnumerableOfT. - - Returns the empty instance of ReadOnlyEnumerableOfT. - - - - This internal method adds to the wrapped source list. From the public's perspective, this enumerable is still readonly. - - Item to add to the source list. - - - - Annotation which stores the type name to serialize. - - - This annotation will be recognized on ODataEntry, ODataComplexValue, ODataCollectionValue and ODataPrimitiveValue. - - - - Gets or sets the type name to serialize, for the annotated item. - The type name to serialize, for the annotated item. - - If this property is null, no type name will be written. - If this property is non-null, the property value will be used as the type name written to the payload. - If this annotation is present, it always overrides the type name specified on the annotated item. - If this annotation is not present, the value of the TypeName property on the ODataEntry, ODataComplexValue or ODataCollectionValue - is used as the type name in the payload. - - - - - Uri utility methods. - - - - - Returns the unescaped string representation of the Uri; if the Uri is absolute returns the absolute Uri otherwise the original string. - - The Uri to convert to a string. - For absolute Uris the string representation of the absolute Uri; otherwise the Uri's original string. - - - - Class with utility methods for validating OData content when writing. - - - - - Validates that message writer settings are correct. - - The message writer settings to validate. - True if we are writing a response. - - - - Validates an for not being null. - - The property to validate for not being null. - - - - Validates a property name to ensure all required information is specified. - - The property name to validate.. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Validates an entry in an expanded link to make sure the entity types match. - - The of the entry. - The type of the parent navigation property. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - The version of the OData protocol used for checking. - true if we are writing a response; otherwise false. - - - - Validates that an can be written. - - The operation (an action or a function) to validate. - true if writing a response; otherwise false. - - - - Validates an to ensure all required information is specified and valid on the WriteEnd call. - - The feed to validate. - Flag indicating whether the feed is written as part of a request or a response. - The version of the OData protocol used for checking. - - - - Validates an to ensure all required information is specified and valid on WriteStart call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid on WriteEnd call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid. - - The stream reference to validate. - true if is the default stream for an entity; false if it is a named stream property value. - - - - Validates a named stream property to ensure it's not null and it's name if correct. - - The stream reference property to validate. - Property metadata to validate against. - The version of the OData protocol used for checking. - true when writing a response; otherwise false. - This does NOT validate the value of the stream property, just the property itself. - - - - Validates that the specified is not null. - - The entity reference link to validate. - This should be called only for entity reference links inside the ODataEntityReferenceLinks.Links collection. - - - - Validates an entity reference link instance. - - The entity reference link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The navigation link to validate. - The declaring the navigation property; or null if metadata is not available. - The of the expanded content of this navigation link or null for deferred links. - The type of the navigation property for this navigation link; or null if no was specified. - - - - Validates that the specified navigation link has a Url. - - The navigation link to validate. - - - - Validates that the sepcified navigation link has cardinality, that is it has the IsCollection value set. - - The navigation link to validate. - - - - Validates that the expected property allows null value. - - The expected property type or null if we don't have any. - The name of the property. - The instance controlling the behavior of the writer. - The model to use to get the data service version. - - - - Validates the value of the Id property on an entry. - - The id value for an entry to validate. - - - - Extension methods for the JSON reader. - - - - - Reads the next node from the and verifies that it is a StartObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an StartArray node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndArray node. - - The to read from. - - - - Verifies that the current node is a property node and returns the property name. - - The to read from. - The property name of the current property node. - - - - Reads the next node from the , verifies that it is a Property node and returns the property name. - - The to read from. - The property name of the property node read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node. - - The to read from. - The primitive value read from the reader. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The name of the property for which to read the string; used in error messages only. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type double. - - The to read from. - The double value read from the reader; throws an exception if no double value could be read. - - - - Skips over a JSON value (primitive, object or array). - - The to read from. - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Reads the next node. Use this instead of the direct call to Read since this asserts that there actually is a next node. - - The to read from. - The node type of the node that reader is positioned on after reading. - - - - Determines if the reader is on a value node. - - The reader to inspect. - true if the reader is on PrimitiveValue, StartObject or StartArray node, false otherwise. - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Creates an exception instance that is appropriate for the current library being built. - Allows the code in this class to be shared between ODataLib and the common spatial library. - - String to use for the exception messag. - Exception to be thrown. - - - - Reads the next node from the and verifies that it is of the expected node type. - - The to read from. - The expected of the read node. - - - - Validates that the reader is positioned on the specified node type. - - The to use. - The expected node type. - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state the Item property of the returns null. - - - The start of a feed has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the FeedEnd state is reached. - - - - The end of a feed has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of an entry has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the EntryEnd state is reached. - - - - The end of an entry has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of a navigation link has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the LinkEnd state is reached. - - - - The end of a navigation link has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - An entity reference link was read. - - In this state the Item property of the returns - an which is fully populated. - Note that there's no End state for this item. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state the Item property of the returns null. - - - - - Class for reading OData batch messages; also verifies the proper sequence of read calls on the reader. - - - - - An interface that allows creators of a to listen for status changes - of the operation stream. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - A task representing any async operation that is running in reaction to the - status change (or null if no such action is required). - - - - - This method notifies the implementer of this interface that the content stream of a batch operation has been disposed. - - - - The input context to read the content from. - - - The batch stream used by the batch reader to devide a batch payload into parts. - - - True if the writer was created for synchronous operation; false for asynchronous. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The current state of the batch reader. - - - The current size of the batch message, i.e., how many query operations and changesets have been read. - - - The current size of the active changeset, i.e., how many operations have been read for the changeset. - - - An enumeration tracking the state of the current batch operation. - - - The value of the content ID header of the current part. - - The content ID header of the current part should only be visible to subsequent parts - so we can only add it to the URL resolver once we are done with the current part. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - true if the reader is created for synchronous operation; false for asynchronous. - - - Reads the next part from the batch message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next part from the batch message payload. - A task that when completed indicates whether more items were read. - - - Returns an for reading the content of a batch operation. - A request message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a request message for reading the content of a batch operation. - - - Returns an for reading the content of a batch operation. - A response message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a response message for reading the content of a batch operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the reader; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - Returns the next state of the batch reader after an end boundary has been found. - - The next state of the batch reader. - - - - Reads the next part from the batch message payload. - - true if more information was read; otherwise false. - - - - Asynchronously reads the next part from the batch message payload. - - A task that when completed indicates whether more information was read. - - - - Continues reading from the batch message payload. - - true if more items were read; otherwise false. - - - - Skips all data in the stream until the next part is detected; then reads the part's request/response line and headers. - - The next state of the batch reader after skipping to the next part and reading the part's beginning. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Parses the request line of a batch operation request. - - The request line as a string. - The parsed HTTP method of the request. - The parsed of the request. - - - - Parses the response line of a batch operation response. - - The response line as a string. - The parsed status code from the response line. - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling CreateOperationResponseMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Validates that the batch reader is ready to process a new read or create message request. - - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - - Sets the 'Exception' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state Exception and then rethrow the exception. - - The type of the result returned from the . - The action to execute. - The result of the . - - - Gets the current state of the batch reader. - The current state of the batch reader. - - - - An enumeration to track the state of a batch operation. - - - - No action has been performed on the operation. - - - The batch message for the operation has been created and returned to the caller. - - - The stream of the batch operation message has been requested. - - - The stream of the batch operation message has been disposed. - - - - Configuration settings for OData message readers. - - - - - A instance representing any knobs that control the behavior of the readers - inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class. - The other message reader settings. - - - Sets the atom entry XML customization callback. - The atom entry XML customization callback. - - This method only affects ATOM format payloads. For payloads of other formats this method has no effect. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true to use V1 provider; otherwise, false. - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - Callback to determine whether operations bound to a particular entity type must be qualified with a container name when appearing in a $select clause. - - - - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - - Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. - The base URI. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the model or provided as an expected type. Note that values will still be converted to the type specified in the payload itself. - true if primitive values and report values are not converted; false if all primitive values are converted to the type specified in the model or provided as an expected type. The default value is false. - - - Gets or sets the behavior the reader should use when it finds undeclared property. - The behavior the reader should use when it finds undeclared property. - - This setting has no effect if there's no model specified for the reader. - This setting must be set to Default when reading request payloads. - - Detailed behavior description: - ODataUndeclaredPropertyBehaviorKind.Default - If an undeclared property is found reading fails. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will fail. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - the link will be read and reported as a deferred navigation link. - - __mediaresource value is found - the link will be read and reported as a stream property - - If nothing from the above matches the reading fails. - - Undeclared association links inside __metadata/properties will be read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value - it will be read as navigation/association link - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - Any other property (that is property with a value or property with no annotation mentioned above) will fail. - - ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared property inside m:properties is ignored (not even read). - - Undeclared navigation link, stream property link or association link fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - fail as undeclared deferred nav. link. - - __mediaresource value is found - fail as undeclared stream property. - - All other properties are ignored and not read. - - Undeclared association links inside __metadata/properties fail. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it (deferred or expanded navigation link) - - fail as undeclared navigation property - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - fail as undeclared stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty | ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will be read and the navigation link part will be reported, - the expanded content will be ignored and not read or reported. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties will be ignored and not read. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - read and report a deferred navigation link. - - __mediaresource value is found - read and report stream property. - - All other properties are ignore and not read. - - Undeclared association links inside __metadata/properties are read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value (deferred navigation link) - - it will be read as navigation/association link - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and with value (expanded navigation link) - - it will be read, the navigation and association link will be reported and the content will be ignored. - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - Note that there's one difference between ATOM/JSON Light and Verbose JSON. In ATOM and JSON Light expanded links are treated as both - undeclared link and a value property. The URLs are the link part, the expanded content is the value part. - In Verbose JSON expanded links are treated as a value property as a whole. Since in JSON expanded links don't actually have - the link part (the payload doesn't contain the "href") this is not such a big difference. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets the maximum OData protocol version the reader should accept and understand. - The maximum OData protocol version the reader should accept and understand. - - If the payload to be read has higher DataServiceVersion than the value specified for this property - the reader will fail. - Reader will also not report features which require higher version than specified for this property. - It may either ignore such features in the payload or fail on them. - - - - - false - metadata validation is strict, the input must exactly match against the model. - true - metadata validation is lax, the input doesn't have to match the model in all cases. - This property has effect only if the metadata model is specified. - - - Strict metadata validation: - Primitive values: The wire type must be convertible to the expected type. - Complex values: The wire type must resolve against the model and it must exactly match the expected type. - Entities: The wire type must resolve against the model and it must be assignable to the expected type. - Collections: The wire type must exactly match the expected type. - If no expected type is available we use the payload type. - Lax metadata validation: - Primitive values: If expected type is available, we ignore the wire type. - Complex values: The wire type is used if the model defines it. If the model doesn't define such a type, the expected type is used. - If the wire type is not equal to the expected type, but it's assignable, we fail because we don't support complex type inheritance. - If the wire type if not assignable we use the expected type. - Entities: same as complex values except that if the payload type is assignable we use the payload type. This allows derived entity types. - Collections: If expected type is available, we ignore the wire type, except we fail if the item type is a derived complex type. - If no expected type is available we use the payload type and it must resolve against the model. - If DisablePrimitiveTypeConversion is on, the rules for primitive values don't apply - and the primitive values are always read with the type from the wire. - - - - - The reader behavior that holds all the knobs needed to make the reader - behave differently inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - - Whether or not to report any undeclared link properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Whether or not to ignore any undeclared value properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Reader class used to read all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message reader was created. - - - A flag indicating whether we are reading a request or a response message. - - - The message reader settings to use when reading the message payload. - - - The model. Non-null if we do have metadata available. - - - The to be used for reading the payload. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The resolver to use when determining an entity set's element type. - - - Flag to ensure that only a single read method is called on the message reader. - - - true if Dispose() has been called on this message reader, false otherwise. - - - The input context used to read the message content. - - - The payload kind of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The parsed from the content type header. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The batch boundary string if the payload to be read is a batch request or response. - This is set implicitly when the CreateBatchReader method is called. - - - The media type resolver to use when interpreting the incoming content type. - - - Storage for format specific states from payload kind detection. - - - Creates a new for the given request message. - The request message for which to create the reader. - - - Creates a new for the given request message and message reader settings. - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given request message and message reader settings. - - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the reader. - - - Creates a new for the given response message and message reader settings. - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given response message and message reader settings. - - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Creates an to read a feed. - The created reader. - - - - Creates an to read a feed. - - The expected base type for the entities in the feed. - The created reader. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - The created reader. - - - Asynchronously creates an to read a feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The expected base type for the entities in the feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - A running task for the created reader. - - - Creates an to read an entry. - The created reader. - - - - Creates an to read an entry. - - The expected entity type for the entry to be read. - The created reader. - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The created reader. - - - Asynchronously creates an to read an entry. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The expected entity type for the entry to be read. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - A running task for the created reader. - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - The created collection reader. - - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - The created collection reader. - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection reader. - - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - A running task for the created collection reader. - - - Creates an to read a batch of requests or responses. - The created batch reader. - - - Asynchronously creates an to read a batch of requests or responses. - A running task for the created batch reader. - - - - Creates an to read the parameters for . - - The function import whose parameters are being read. - The created parameter reader. - - - - Asynchronously creates an to read the parameters for . - - The function import whose parameters are being read. - A running task for the created parameter reader. - - - Reads a service document payload. - The service document read. - - - Asynchronously reads a service document payload. - A task representing the asynchronous operation of reading the service document. - - - Reads an as message payload. - The property read from the payload. - - - - Reads an as message payload. - - The expected type reference of the property to read. - The property read from the payload. - - - - Reads an as message payload. - - The metadata of the property to read. - The property read from the payload. - - - Asynchronously reads an as message payload. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The expected type reference of the property to read. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The metadata of the property to read. - A task representing the asynchronous operation of reading the property. - - - Reads an as the message payload. - The read from the message payload. - - - Asynchronously reads an as the message payload. - A task representing the asynchronous operation of reading the error. - - - Reads the result of a $links query (entity reference links) as the message payload. - The entity reference links read as message payload. - - - - Reads the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - The entity reference links read as message payload. - - - Asynchronously reads the result of a $links query as the message payload. - A task representing the asynchronous reading of the entity reference links. - - - - Asynchronously reads the result of a $links query as the message payload. - - The navigation property for which to read the entity reference links. - A task representing the asynchronous reading of the entity reference links. - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - The entity reference link read from the message payload. - - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - The entity reference link read from the message payload. - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - A running task representing the reading of the entity reference link. - - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - A running task representing the reading of the entity reference link. - - - - Reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The read value. - - - - Asynchronously reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - A running task representing the reading of the value. - - - Reads the message body as metadata document. - Returns . - - - implementation to cleanup unmanaged resources of the reader. - - - - Determines the format of the payload being read and returns it. - - The format of the payload being read by this reader. - - The format of the payload is determined when starting to read the message; - if this method is called before reading has started it will throw. - - - - - Processes the content type header of the message to determine the format of the payload, the encoding, and the payload kind. - - All possible kinds of payload to be read with this message reader; must not include ODataPayloadKind.Unsupported. - - - - Gets the content type header of the message and validates that it is present and not empty. - - The content type header of the message. - - - - Verify arguments for creation of an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entities in the feed. - - - - Verify arguments for creation of an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - - - - Verify arguments for creation of an to read a collection of primitive or complex values - (as result of a service operation invocation). - - The expected type for the items in the collection. - - - - Verify arguments for creation of a batch as the message body. - - - - - Verify arguments for creation of an to read the parameters for . - - The function import whose parameters are being read. - - - - Verify arguments for reading of a service document payload. - - - - - Verify arguments for reading of a metadata document payload. - - - - - Verify arguments for reading of an as message payload. - - The metadata of the property to read. - - - - Verify arguments for reading of an as message payload. - - The expected type reference of the property to read. - - - - Verify arguments for reading of an as the message payload. - - - - - Verify arguments for reading of the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - - - - Verify arguments for reading of a singleton result of a $links query (entity reference link) as the message payload. - - - - - Verify arguments for reading of a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The payload kinds allowed for the given expected type. - - - - Verifies that the ODataMessageReader has not been used before; an ODataMessageReader can only be used to - read a single message payload but cannot be reused later. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Method which creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - The read value from the input. - - - - Gets all the supported payload kinds for a given content type across all formats and returns them. - - The set of supported payload kinds for the content type of the message. - true if no or a single payload kind was found for the content type; false if more than one payload kind was found. - - - - Compares two payload kind detection results. - - The first . - The second . - -1 if is considered less than , - 0 if the kinds are considered equal, 1 if is considered greater than . - - - - Get an enumerable of tasks to get the supported payload kinds for all formats. - - All payload kinds for which we found matches in some format based on the content type. - The list of combined detection results after sniffing. - A lazy enumerable of tasks to get the supported payload kinds for all formats. - - - - Method which asynchronously creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - A task which when completed return the read value from the input. - - - - The message reader settings to use when reading the message payload. - - - - - The media type resolver to use when interpreting the incoming content type. - - - - - Enumeration of all JSON node type. - - - - - No node - invalid value. - - - - - Start of JSON object record, the { character. - - - - - End of JSON object record, the } character. - - - - - Start of JSON array, the [ character. - - - - - End of JSON array, the ] character. - - - - - Property, the name of the property (the value will be reported as a separate node or nodes) - - - - - Primitive value, that is either null, true, false, number or string. - - - - - End of input reached. - - - - - Utility methods used with the OData library. - - - - String representation of the version 1.0 of the OData protocol. - - - String representation of the version 2.0 of the OData protocol. - - - String representation of the version 3.0 of the OData protocol. - - - Sets the content-type and data service version headers on the message used by the message writer. - The content-type and data service version headers on the message used by the message writer. - The message writer to set the headers for. - The kind of payload to be written with the message writer. - - This method can be called if it is important to set all the message headers before calling any of the - write methods on the . - If it is sufficient to set the headers when the write methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - - - Returns the format used by the message reader for reading the payload. - The format used by the messageReader for reading the payload. - The to get the read format from. - This method must only be called once reading has started. - This means that a read method has been called on the or that a reader (for entries, feeds, collections, etc.) has been created. - If the method is called prior to that it will throw. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The to process. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The containing the annotations. - The to process. - - - - Checks whether the has a default stream. - - The containing the annotation. - The to check. - true if the entity type has a default stream; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to add a default stream to the entity type; false to remove an existing default stream (if any). - - - - Checks whether the is the default entity container. - - The containing the annotation. - The to check. - true if the is the default container; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to set the as the default container; false to remove an existing default container annotation (if any). - - - - Checks whether the has a MIME type annotation. - - The containing the annotation. - The to check. - The (non-null) value of the MIME type annotation of the or null if no MIME type annotation exists. - - - - Sets the MIME type annotation of the to . - - The containing the annotation. - The to modify. - The MIME type value to set as annotation value; if null, an existing annotation will be removed. - The MIME type annotation is only supported on service operations and primitive properties for serialization purposes. - - - - Checks whether the has an HttpMethod annotation. - - The containing the annotation. - The to check. - The (non-null) value of the HttpMethod annotation of the or null if no such annotation exists. - - - - Sets the HttpMethod annotation of the to . - - The contatining the annotation. - The to modify. - The HttpMethod value to set as annotation value; if null, an existing annotation will be removed. - The HttpMethod annotation is only supported on service operations for serialization purposes. - - - - Gets the value of IsAlwaysBindable annotation on the . - - The containing the annotation. - The to get the annotation from. - The value of the annotation if it exists; false otherwise. - Thrown if the IsAlwaysBindable annotation is set to true for a non-bindable . - - - - Sets the value of IsAlwaysBindable annotation of the to - - The containing the annotation. - The to set the annotation on. - The value of the annotation to set. - Thrown if IsAlwaysBindable is set to true for a non-bindable . - - - - Gets the reader behavior for null property value on the specified property. - - The model containing the annotation. - The property to check. - The behavior to use when reading null value for this property. - - - - Adds a transient annotation to indicate how null values for the specified property should be read. - - The containing the annotations. - The to modify. - The new behavior for reading null values for this property. - - - Displays the OData version to string representation. - The OData version. - The OData version. - - - Displays a string to OData version representation. - The OData version. - The OData version. - - - - Translates the to a func that would evalutate whether the filter would match a given annotation name. - The func would evaluate to true if the matches the annotation name that's passed to the it, and false otherwise. - - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - Returns a func which would evaluate to true if the matches the annotation name that's passed to the it, - and false otherwise. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - Assumes that the entity type and the model have been validated. - - The containing the annotations. - The to process. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true to search the base type hierarchy of the structured type for the annotation; otherwise false. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method will throw. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method wil throw. - - - - Sets the as value of the annotation - on the . - - The model containing the annotation. - The annotatable to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Class which takes an input stream, buffers the entire content asynchronously and exposes it as a stream - which can be read synchronously. - - - - - List of buffers which store the data. - - - - - The input stream to read from. This is used only during the buffering and is set to null once we've buffered everything. - - - - - Points to the buffer currently being processed. - When writing into the buffers this points to the last buffer to which the bytes should be written. - When reading from the buffers this points to the buffer from which we are currently reading. - - - - - Number of bytes read from the current buffer. - - - - - Private constructor. - - The stream to read from. - - - - Flush the stream to the underlying storage. This operation is not supported by this stream. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Given the this method returns a task which will asynchronously - read the entire content of that stream and return a new synchronous stream from which the data can be read. - - The input stream to asynchronously buffer. - A task which returns the buffered stream. - - - - Resets the stream to the begining and prepares it for reading. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Returns enumeration of tasks to run to buffer the entire input stream. - - Enumeration of tasks to run to buffer the input stream. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Adds a new buffer to the list and makes it the current buffer. - - The newly added buffer. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The minimum size to ask for when reading from underlying stream. - - - - - The size of a buffer to allocate - use 64KB to be aligned which makes it likely that the underlying levels - will be able to process the request in one go. - - - - - The byte buffer which stored the data. - - - - - Constructor - creates a new buffer; - - - - - Marks specified count of bytes as written starting at the OffsetToWriteTo. - - The number of bytes to mark as written. - - - - The byte buffer. - - - - - The offset into the buffer to which more data can be written. - - - - - The number of bytes stored in the buffer. - - - - - The number of bytes not yet used in the buffer. - - - - - Generic utility methods. - - - - - Calls IDisposable.Dispose() on the argument if it is not null - and is an IDisposable. - - The instance to dispose. - 'True' if IDisposable.Dispose() was called; 'false' otherwise. - - - - Asynchronously flushes a stream. - - The stream to flush. - Task which represents the pending Flush operation. - - - - Perform a stable sort of the using the specified . - - The type of the items in the array to sort. - The array to sort. - The comparison to use to compare items in the array - Array of KeyValuePairs where the sequence of Values is the sorted representation of . - - - - Stable comparer of a sequence of key/value pairs where each pair - knows its position in the sequence and its value. - - The type of the values in the sequence. - - - - The to compare the values. - - - - - Constructor. - - The to compare the values. - - - - Compares two key/value pairs by first comparing their value. If the values are equal, - the position in the array determines the relative order (and preserves the original relative order). - - First key/value pair. - Second key/value pair. - - A value < 0 if is less than . - The value 0 if is equal to . Note this only happens when comparing the same items when used in StableSort. - A value > 0 if is greater than . - - This method will never return the value 0 since the input sequence is constructed in a way - that all key/value pairs have unique indeces. - - - - Class with utility methods for dealing with OData metadata. - - - - - Returns the annotation in the OData metadata namespace with the specified . - - The containing the annotation. - The to get the annotation from. - The local name of the annotation to find. - The value of the annotation in the OData metadata namespace and with the specified . - true if an annotation with the specified local name was found; otherwise false. - - - - Sets the annotation with the OData metadata namespace and the specified on the . - - The containing the annotations."/> - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Gets all the serializable annotations in the OData metadata namespace on the . - - The containing the annotations."/> - The to get the annotations from. - All annotations in the OData metadata namespace; or null if no annotations are found. - - - - Gets the EDM type of an OData instance from the of the instance (if available). - - The OData instance to get the EDM type for. - The EDM type of the if available in the annotation. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used by writers. - Thus it implements the strict speced behavior. - - The model to use. - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used be readers. - Thus it can be a bit looser. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Custom type resolver to use, if null the model is used directly. - The version to use when resolving the type name. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Calculates the operations that are always bindable to the given type. - - The binding type in question. - The model to search for operations. - The edm type resolver to get the parameter type. - An enumeration of operations that are always bindable to the given type. - - - - Looks up the given term name in the given model, and returns the term's type if a matching term was found. - - The name of the term to lookup, including the namespace. - The model to look in. - The type of the term in the model, or null if no matching term was found. - - - - Gets the nullable type reference for a payload type; if the payload type is null, uses Edm.String. - - The payload type to get the type reference for. - The nullable for the . - - - - Class with utility methods for validating OData content (applicable for readers and writers). - - - - Maximum batch boundary length supported (not includeding leading CRLF or '-'). - - - The set of characters that are invalid in property names. - Keep this array in sync with MetadataProviderUtils.InvalidCharactersInPropertyNames in Astoria. - - - - Validates that an open property value is supported. - - The name of the open property. - The value of the open property. - - - - Validates a type kind for a value type. - - The type kind. - The name of the type (used for error reporting only). - - - - Validates that is a valid type name for a collection and returns its item type name. - - The name of the collection type. - The item type name for the . - - - - Validates that the is assignable to the - and fails if it's not. - - The expected entity type reference, the base type of the entities expected. - The payload entity type reference to validate. - - - - Validates that the represents a collection type. - - The type reference to validate. - The instance representing the collection passed as . - - - - Validates an item of a collection to ensure it is not of collection and stream reference types. - - The collection item. - True if the items in the collection are streamable, false otherwise. - - - - Validates a null collection item against the expected type. - - The expected item type or null if no expected item type exists. - The instance controlling the behavior of the writer. - - - - Validates a stream reference property to ensure it's not null and its name if correct. - - The stream reference property to validate. - Property metadata to validate against. - - - - Validates an to ensure it's not null. - - The association link to ensure it's not null. - - - - Validates the name for an association link. - - The name of the association link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - - - - Increases the given recursion depth, and then verifies that it doesn't exceed the recursion depth limit. - - The current depth of the payload element hierarchy. - The maximum allowed recursion depth. - - - - Validates an to ensure it's not null. - - The operation to ensure it's not null. - Whether is an . - - - - Validates an to ensure its metadata is specified and valid. - - The operation to validate. - - - - Validates an to ensure its target is specified and valid. - - The operation to validate. - - - - Validates that the specified is a valid entry as per the specified type. - - The entry to validate. - Optional entity type to validate the entry against. - Model containing the entity type. - true if the validation of the default MediaResource should be done; false otherwise. - If the is available only entry-level tests are performed, properties and such are not validated. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The expected type for the value. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The primitive type reference for the value - some callers have this already, so we save the lookup here. - The expected type for the value. - - Some callers have the primitive type reference already resolved (from the value type) - so this method is an optimized version to not lookup the primitive type reference again. - - - - - Validates that the expected primitive type matches the actual primitive type. - - The expected type. - The actual type. - - - - Validates a resource collection. - - The resource collection to validate. - - - - Validates a resource collection Url. - - The resource collection url to validate. - - - - Validates that the observed type kind is the expected type kind. - - The actual type kind to compare. - The expected type kind to compare against. - The name of the type to use in the error. - - - - Validates that a boundary delimiter is valid (non-null, less than 70 chars, only valid chars, etc.) - - The boundary delimiter to test. - - - - Null validation of complex properties will be skipped if edm version is less than v3 and data service version exists. - In such cases, the provider decides what should be done if a null value is stored on a non-nullable complex property. - - The model containing the complex property. - True if complex property should be validated for null values. - - - - Validates that a property name is valid in OData. - - The property name to validate. - true if the property name is valid, otherwise false. - - - - Validates a property name to check whether it contains reserved characters. - - The property name to check. - - - - Validates that the total number of entity property mapping attributes on the base entity type and the current - entity type does not exceed the specified security limit. - - The EPM cache of the base entity type or null if no base entity type exists. - The EPM collection of the current entity type. - The maximum number of mappings allowed for an entity type (on the type itself and all its base types). - The total number of entity property mappings for the current entity type. - - - - Class with utility methods for writing OData content. - - - - - Determines if a property should be written or skipped. - - The projected properties annotation to use (can be null). - The name of the property to check. - true if the property should be skipped, false to write the property. - - - - Class with utility methods to work with media types. - - - - An array of all the supported payload kinds. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Given the Accept and the Accept-Charset headers of the request message computes the media type, encoding and - to be used for the response message. - - The message writer settings to use for serializing the response payload. - The kind of payload to be serialized as part of the response message. - The media type resolver to use when interpreting the content type. - The media type to be used in the response message. - The encoding to be used in the response message. - The used when serializing the response. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The batch boundary read from the content type for batch payloads; otherwise null. - The for the . - - - - Gets all payload kinds and their corresponding formats that match the specified content type header. - - The content type header to get the payload kinds for. - The media type resolver to use when interpreting the content type. - The parsed content type as . - The encoding from the content type or the default encoding from . - The list of payload kinds and formats supported for the specified . - - - - Checks whether two media types with subtypes (but without parameters) are equal. - - The first media type and subtype. - The second media type and subtype. - true if the is equal to ; otherwise false. - - - - Checks whether a media type starts with the expected type and subtype. - - The media type to check. - The type and subtype the should start with. - true if the starts with ; otherwise false. - - - - Checks whether the specified media type has a parameter with the expected value. - - The media type to check the parameters for. - The name of the expected parameter. - The value of the expected parameter. - true if the has a parameter called - with value ; otherwise false. - - - - Determines whether the media type has a 'streaming' parameter with the value 'true'. - - The media type to check. - - true if the media type has a 'streaming' parameter with the value 'true'; otherwise, false. - - - - - Checks for wildcard characters in the . - - The to check. - - - - JSONP - instead of writing 'application/json', we write 'text/javascript'. In all other ways we pretend it is JSON - - Original content-type value string. - New content-type value string. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The for the . - - - - Parses the specified content type header into a media type instance. - - The content type header to parse. - The optional charset specified with the content type. - The of the parsed . - - - - Gets the default media type for a given payload kind in a given format. - - A list of supported media types and formats. - The user-specified format in which to write the payload (can be null). - The default format for the specified payload kind - The default media type for the given payload kind and format. - - - - Parses the accepted charsets and matches them against the supported encodings for the given . - - The Accept-Charset header of the request. - The for which to compute the encoding. - The media type used to compute the default encoding for the payload. - true if the default encoding should be returned if no acceptable charset is found; otherwise false. - The encoding to be used for the response. - - - - Matches the supported media types against the list of media types specified in the Accept header or ContentType header of the message. Matching follows the - rules for media type matching as described in RFC 2616. - - The set of media types to be matched against the . - The set of media types the will be matched against. - The best found during the matching process or null if no match was found. - - - - Converts all occurrences of the 'application/json' media type to 'application/json;odata=minimalmetadata'. - This is necessary because for an accept header 'application/json, application/json;odata=verbose' - we want the result to be 'application/json;odata=minimalmetadata' although this is not compliant with the - default conneg rules (where application/json;odata=verbose would win). - - The parsed acceptable media types. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Class representing the result of matching two instances. - - - - The default quality value (in the normalized range from 0 .. 1000). - - - Index of the source type in the list of all source types. - - - Index of the target type in the list of all target types. - - - - Constructor. - - The source to match against the target type. - The target to match against the source type. - Index of the source type in the list of all source types. - Index of the target type in the list of all target types. - - - - Implementation of . - - The to compare against. - - -1 if this instance is a worse match than . - 0 if both matches are the same. - 1 if is a better match than this instance. - - - - Selects a quality value for the specified type. - The text representation of the quality value. - The quality value, in range from 0 through 1000. - See http://tools.ietf.org/html/rfc2616#section-14.1 for further details. - - - - Tries to find a parameter with the specified in the given list of parameters. - Does not include accept extensions (i.e., parameters after the q quality value parameter) - - The list of parameters to search. - The name of the parameter to find. - The parameter value of the parameter with the specified . - True if a parameter with the specified was found; otherwise false. - - - - Returns a flag indicating whether a given media type parameter name is the Http quality value parameter. - - The parameter name to check. - True if the parameter name is for the quality value; otherwise false. - - - - Matches the source type against the media type. - - The source to match against the target type. - The target to match against the source type. - - - - Index of the source type in the list of all source types. - - - - - Index of the target type in the list of all target types. - - - - - Represents the number of non-* matching type name parts or -1 if not matching at all. - - - - - Represents the number of matching parameters or -1 if neither the source type nor the target type have parameters. - - - - The quality value of the target type (or -1 if none is specified). - - - - The number of parameters of the source type that are used for comparison. All accept-parameters are ignored. - - - - - true if this represents a valid match (i.e., the source and target types match/are compatible); otherwise false. - - - Two types are considered compatible if at least one type name part matches (or we are dealing with a wildcard) - and all the parameters in the source type have been matched. - - - - - Represents a collection of entity reference links (the result of a $links query). - Might include an inline count and a next link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the optional inline count of the $links collection. - The optional inline count of the $links collection. - - - Gets or sets the optional next link of the $links collection. - The optional next link of the $links collection. - - - Gets or sets the enumerable of instances representing the links of the referenced entities. - The enumerable of instances. - These links should be usable to retrieve or modify the referenced entities. - - - - Provides additional serialization information to the for this . - - - - - Represents an entity reference link (the result of a $link query). - - - - - Base class for Feed and Entry. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the URI representing the URL of the referenced entity. - The URI representing the URL of the referenced entity. - This URL should be usable to retrieve or modify the referenced entity. - - - - Provides additional serialization information to the for this . - - - - - Interface for synchronous OData request messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Interface for synchronous OData response messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - - Implementation class wrapped by the and - implementations. - - - - - Base class for the internal wrappers around IODataRequestMessageAsync and IODataResponseMessageAsync. - - - - true if the message is being written; false when it is read. - - - true if the stream returned should ignore dispose calls. - - - The maximum size of the message in bytes (or null if no maximum applies). - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - The buffering read stream used for payload kind detection; only non-null inside of payload kind detection. - - - - Constructs a new ODataMessage. - - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value for the header with name . - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - We need this method since the input contexts don't get access to the actual instance of the message given to us by the user - instead they get this class, and thus they can't just cast to get to the interface they want. - - - - Synchronously get the stream backing this message. - - A function that returns the stream backing the message. - true if the message is a request message; false for a response message. - The backing the message. - - - - Asynchronously get the stream backing this message. - - A function that returns a task for the stream backing the message. - true if the message is a request message; false for a response message. - A task that when completed returns the stream backing the message. - - - - Verifies that setting a header is allowed - - - We allow modifying the headers only if we are writing the message and we are not - detecting the payload kind. - - - - - Validates that a given message stream can be used. - - The stream to validate. - true if the message is a request message; false for a response message. - - - - Validates that a given task providing the message stream can be used. - - The task to validate. - true if the message is a request message; false for a response message. - - - - Gets the buffering read stream if one is available; otherwise returns null. - - The currently being used or null if no buffering stream is currently being used. - - - - Returns an enumerable over all the headers for this message. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - Listener interface to be notified of operation changes. - - - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - - - A function to retrieve the content stream for this batch operation message. - - - The set of headers for this operation. - - - - Constructor. Base class constructor to create a message for an operation of a batch request/response. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - true if the request message is being written; false when it is read. - - - - Returns a value of an HTTP header of this operation. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header of this operation. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Indicates that the headers and request/response line have been read or written. - Can be called only once per batch part and headers cannot be modified - anymore after this method was called. - - - - - Verifies that writing of the message has not been completed; this is called from all methods - that are only valid to be called before the message content is written or the message - - - - - Returns an enumerable over all the headers for this message. - - - - - Message representing an operation in a batch response. - - - - - Interface for asynchronous OData response messages. - - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - The result status code of the response message. - - - - Constructor. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or null if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Method to implement a custom URL resolution scheme. This method returns null if not custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation response message that can be used to write the operation content to. - - The output stream underlying the operation message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to write the operation content. - - - - Creates an operation response message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The status code to use for the operation response message. - The headers to use for the operation response message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to read the operation content. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - - Returns the actual operation message which is being wrapped. - - - - - Message representing an operation in a batch request. - - - - - Interface for asynchronous OData request messages. - - - - Asynchronously get the stream backing for this message. - The stream for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - - Constructor. Creates a request message for an operation of a batch request. - - A function to create the content stream. - The HTTP method used for this request message. - The request Url for this request message. - The headers for the this request message. - Listener interface to be notified of operation changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Implements a custom URL resolution scheme. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation request message that can be used to write the operation content to. - - The output stream underlying the operation message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The operation listener. - The (optional) URL resolver for the message to create. - An to write the request content to. - - - - Creates an operation request message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The headers to use for the operation request message. - The operation listener. - The (optional) URL resolver for the message to create. - An to read the request content from. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or Sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Returns the actual operation message which is being wrapped. - - - - - Helper methods used by the ODataBatchWriter. - - - - - Creates a new batch boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created batch boundary as string. - - - - Creates a new changeset boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created changeset boundary as string. - - - - Creates the multipart/mixed content type with the specified boundary (if any). - - The boundary to be used for this operation or null if no boundary should be included. - The multipart/mixed content type with the specified boundary (if any). - - - - Write the start boundary. - - Writer to which the boundary needs to be written. - Boundary string. - true if this is the first start boundary. - - - - Write the end boundary. - - Writer to which the end boundary needs to be written. - Boundary string. - true if there was no start boundary written before this end boundary. - - - - Writes the headers, (optional) Content-ID and the request line - - Writer to write to. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Writes the headers and response line. - - Writer to write to. - - - - Writes the preamble for a change set (e.g., the content-type header). - - Writer to write to. - The boundary string to use for the change set. - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute. - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property. - - - - - Type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource (not including the root segment). - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - Type whose property is to be read. This can be different from defining type when inheritance is involved. - - - - Sets path to the source property. - - The path as an array of source path segments. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object. - - - - - Entity type that has the . - - - - - Entity type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping. - - - - - Writer for the EPM custom-only. Writes the EPM custom mapping properties into XmlWriter. - - - - - Constructor. - - The output context currently in use. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - - - - Writes a namespace declaration attribute for the namespace required by the target segment. - - The writer to write the declaration to. - The target segment to write the declaration for. - The name of the prefix if it was already declared. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - - - - Writes an EPM element target. - - The writer to write to. - The target segment describing the element to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Writes an EPM attribute target. - - The writer to write to. - The target segment describing the attribute to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - The entry EPM value cache to use. - The entity type of the entry being processed. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Writer for the EPM syndication-only. Writes the EPM properties into ATOM metadata OM. - - - - The EPM target tree to use. - - - Atom entry metadata to write to. - - - - Constructor. - - The EPM target tree to use. - The output context currently in use. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - The ATOM metadata OM with the EPM values populated. - - - - Creates a text ATOM value. - - The text value to use. - The content kind of the value. - The Atom text value. - - - - Given an object returns the corresponding DateTimeOffset value through conversions. - - Object containing property value. - The target syndication property for the mapping (used for exception messages). - The current settings to control the behavior of the writer. - DateTimeOffset after conversion. - - - - Given an object returns the corresponding string representation of the value. - - Object containing property value. - The current settings to control the behavior of the writer. - String representation of the property value. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The entry properties value cache to use to access the properties. - The type of the entry. - The ATOM metadata OM with the EPM values populated. - - - - Writes a non-leaf segment which has sub segments. - - The segment being written - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - - - - Writes EPM value to a person construct (author or contributor). - - The target segment which points to either author or contributor element. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The person metadata or null if no person metadata should be written for this mapping. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Atom metadata description for a workspace. - - - - Gets or sets the title of the workspace. - The title of the workspace. - - - - Atom metadata description for a collection (in a workspace). - - - - Gets or sets the title of the collection. - The title of the collection. - - - Gets or sets the accept range of media types for this collection. - The accept range of media types for this collection. - - - Gets or sets the categories for this collection. - The categories for this collection. - - - - Caches values of properties and items enumerations so that we only ever enumerate these once even if they were use in EPM. - - - - - Caches either ComplexValue properties enumeration or Collection items enumeration. - - The key is the complex value, or collection for the property in question. - For complex property, the value is a List of ODataProperty which stores the enumeration ODataComplexValue.Properties cache. - For collection property, the value is a List of object which stores the enumeration ODataCollectionValue.Items cache. - The items are either EpmCollectionItemCache instances in which case the value of the item is cached inside that instance, - or it's any other type in which case the value of the item is that instance. - - - - Creates a new empty cache. - - - - - Returns the properties for the specified complex value. - - The EPM value cache to use (can be null). - The complex value to get the properties for. - If we're writing content of an entry or not. - The properties enumeration for the complex value. - - - - Caches and returns the properties for the specified complex value. - - The complex value to cache the properties for. - The cached properties enumeration for the complex value. - This method assumes that the complex value's properties are not cached yet. - - - - Returns the properties for the specified complex value. - - The complex value to get the properties for. - true if we're writing entry content or false when writing out-of-content EPM. - The properties enumeration for the complex value. - - - - Caches values of properties enumerations on an entry and then EPM values for the rest of property values. - - - - - Caches the ODataEntry.Properties enumeration. - - - - - Creates a new cache. - - The entry for which to create the properties cache. - - - - Returns enumeration of properties (excluding stream properties) for the entry. - - - - - Returns enumeration of stream properties for the entry. - - - - - Helper methods for EPM writers. - - - - - Given a property value returns the text value to be used in EPM. - - The value of the property. - The text representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Gets the for the specified - from the . - - The EPM source path segment for the parent of the property being written. - The name of the property to get the for. - The for the specified or null if none exists. - - - - Gets the for the specified . - - The EPM source path segment to get the from. - The for the specified or null if none exists. - - - - Returns an for a given property provided the parent . - - The parent to get the property segment from. - The name of the property to get the for. - An for a given property provided the parent . - - - - Cache all the properties and collection item enumerations needed for EPM processing. - - The property value cache to cache the EPM related properties in. - The source tree describing all properties taking part in entity property mappings. - - - - Cache the property and collection item enumerations needed in EPM mappings. We do this for syndication and custom - mappings. - - The property value cache to use for caching. - The source path segments to cache. - The values to compute the segments against. - - - - Gets the property value as the requested type. - - The expected type of the property value. - The properties to search. - The name of the property to get the value for. - The property value as or null if no property - with name or with the expected type exists. - true if a property of the expected type was found; otherwise false. - - - - Helper methods used to merge Atom metadata from EPM with those specified through annotations. - - - - - Merges custom and EPM ATOM metadata. - - The custom ATOM metadata, or null if there were no custom ATOM metadata. - The EPM ATOM metadata, or null if there are no EPM mappings to syndication targets. - The instance configuring the writer. - The merged ATOM metadata to write to the output. - The merge means that if one of the sides has null, the other is used, otherwise if both are non-null - we verify that the values are the same, otherwise we throw. - - - - Merges enumerations of person metadata. - - The enumeration of custom person metadata. - The enumeration of EPM person metadata. - The type of syndication mapping, one of AtomLinkMetadata, AtomCategoryMetadata, AtomPersonMetadata, - The merged enumeration. - - - - Merges ATOM text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged ATOM text value. - - - - Merges text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged text value. - - - - Merges date time offset values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the value, used for error reporting. - The merged date time offset value. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Class for writing OData batch messages; also verifies the proper sequence of write calls on the writer. - - - - The output context to write to. - - - The boundary string for the batch structure itself. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The state the writer currently is in. - - - - The boundary string for the current changeset (only set when writing a changeset, - e.g., after WriteStartChangeSet has been called and before WriteEndChangeSet is called). - - When not writing a changeset this field is null. - - - - A flag to indicate whether the batch start boundary has been written or not; important to support writing of empty batches. - - - - - A flags to indicate whether the current changeset start boundary has been written or not. - This is false if a changeset has been started by no changeset boundary was written, and true once the first changeset - boundary for the current changeset has been written. - - - - The request message for the operation that is currently written if it's a request; - or null if no part is written right now or it's a response part. - - - The response message for the operation that is currently written if it's a response; - or null if no part is written right now or it's a request part. - - - - The value of the Content-ID header of the current operation (or null if no Content-ID header exists). - - - Note that the current Content-ID header is not included immediately in the content ID cache - since the current content ID will only be visible to subsequent operations. - - - - The current size of the batch message, i.e., how many query operations and changesets have been written. - - - The current size of the active changeset, i.e., how many request have been written for the changeset. - - - - Constructor. - - The output context to write to. - The boundary string for the batch structure itself. - - - Starts a new batch; can be only called once and as first call. - - - Asynchronously starts a new batch; can be only called once and as first call. - A task instance that represents the asynchronous write operation. - - - Ends a batch; can only be called after WriteStartBatch has been called and if no other active changeset or operation exist. - - - Asynchronously ends a batch; can only be called after WriteStartBatch has been called and if no other active change set or operation exist. - A task instance that represents the asynchronous write operation. - - - Starts a new changeset; can only be called after WriteStartBatch and if no other active operation or changeset exists. - - - Asynchronously starts a new change set; can only be called after WriteStartBatch and if no other active operation or change set exists. - A task instance that represents the asynchronous write operation. - - - Ends an active changeset; this can only be called after WriteStartChangeset and only once for each changeset. - - - Asynchronously ends an active change set; this can only be called after WriteStartChangeset and only once for each change set. - A task instance that represents the asynchronous write operation. - - - Creates an for writing an operation of a batch request. - The message that can be used to write the request operation. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - Creates a message for asynchronously writing an operation of a batch request. - The message that can be used to asynchronously write the request operation. - The HTTP method to be used for this request operation. - The URI to be used for this request operation. - - - Creates a message for writing an operation of a batch response. - The message that can be used to write the response operation. - - - Asynchronously creates an for writing an operation of a batch response. - A task that when completed returns the newly created operation response message. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the operation; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Verifies that calling WriteStartBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new batch - implementation of the actual functionality. - - - - - Verifies that calling WriteEndBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends a batch - implementation of the actual functionality. - - - - - Verifies that calling WriteStartChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new changeset - implementation of the actual functionality. - - - - - Verifies that calling WriteEndChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends an active changeset - implementation of the actual functionality. - - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Creates an for writing an operation of a batch request - implementation of the actual functionality. - - The Http method to be used for this request operation. - The Uri to be used for this request operation. - The message that can be used to write the request operation. - - - - Verifies that calling CreateOperationResponseMessage is valid. - - true if the call is to be synchronous; false otherwise. - - - - Creates an for writing an operation of a batch response - implementation of the actual functionality. - - The message that can be used to write the response operation. - - - - Writes all the pending headers and prepares the writer to write a content of the operation. - - - - - Disposes the batch writer and set the 'OperationStreamRequested' batch writer state; - called after the flush operation(s) have completed. - - - - - Remember a non-null Content-ID header for change set request operations. - If a non-null content ID header is specified for a change set request operation, record it in the URL resolver. - - The Content-ID header value read from the message. - - Note that the content ID of this operation will only - become visible once this operation has been written - and OperationCompleted has been called on the URL resolver. - - - - - Verifies that the writer is in correct state for the Flush operation. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Sets a new writer state; verifies that the transition from the current state into new state is valid. - - The writer state to transition into. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Validates that the batch writer is ready to process a new write request. - - - - - Write any pending headers for the current operation message (if any). - - - A flag to control whether after writing the pending data we report writing the message to be completed or not. - - - - - Writes the start boundary for an operation. This is either the batch or the changeset boundary. - - - - - Sets the 'Error' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - The request message for the operation that is currently written if it's a request; or null if no operation is written right now or it's a response operation. - - - The response message for the operation that is currently written if it's a response; - or null if no operation is written right now or it's a request operation. - - - The message for the operation that is currently written; or null if no operation is written right now. - - - - An enumeration representing the current state of the writer. - - - - The writer is in initial state; nothing has been written yet. - - - WriteStartBatch has been called. - - - WriteStartChangeSet has been called. - - - CreateOperationRequestMessage/CreateOperationResponseMessage has been called. - - - - ODataMessage.GetStreamAsync() has been called on an operation which caused a to be created; - the batch writer is unusable while an operation is being written. - - - - The stream for writing the content of an operation has been disposed. The batch writer can now be used again. - - - WriteEndChangeSet has been called. - - - WriteEndBatch has been called. - - - The writer is in error state; nothing can be written anymore except the error payload. - - - - Class representing a media type definition. - - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - The parameters specified on the media type. - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - - Converts the current to a string representation suitable for use in a content-type header. - - The string representation of media type. - - - - Converts the current to a string representation suitable for use in a content-type header. - - The encoding to use when converting the media type into text. - The string representation of the current media type. - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Returns the full media type in standard type/subtype form, without parameters. - - - Returns the subtype part of the media type. - - - Returns the type part of the media type. - - - media type parameters - - - - ODataCollectionWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The Verbose JSON collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - ODataCollectionWriter for the ATOM format. - - - - The output context to write to. - - - The collection serializer to use for writing. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Enumeration representing the different kinds of payloads ODatLib can write. - - - - Payload kind for a feed. - - - Payload kind for an entry. - - - Payload kind for a property. - - - Payload kind for an entity reference link. - - - Payload kind for entity reference links. - - - Payload kind for a raw value. - - - Payload kind for a binary value. - - - Payload kind for a collection. - - - Payload kind for a service document. - - - Payload kind for a metadata document. - - - Payload kind for an error. - - - Payload kind for a batch. - - - Payload kind for parameters for a service action. - - - Unknown format - - - - Class representing a resource collection in a workspace of a data service. - - - - Gets or sets the URI representing the Unified Resource Locator (URL) to the collection. - The URI representing the Unified Resource Locator (URL) to the collection. - - - Gets or sets the name of the collection; this is the entity set name in JSON and the HREF in Atom. - The name of the collection. - - This property is required when reading and writing the JSON light format, but has no meaning in the Verbose JSON format. - If present in ATOM, it will be used to populate the title element. - - - - - Class representing the a workspace of a data service. - - - - Gets or sets the set of collections in the workspace. - The set of collections in the workspace. - - - - Constant values used in the EDM. - - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - Represents a Time instance as an interval measured in milliseconds from an instance of DateTime. - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - Represents an interval measured in milliseconds. - - - edm stream primitive type name - - - edm geography primitive type name - - - Represents a geography Point type. - - - Represents a geography LineString type. - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - The namespace for Edmx V1. - - - The namespace for Edmx V2. - - - The namespace for Edmx V3. - - - The element name of the top-level <Edmx> metadata envelope. - - - The attribute name used on entity types to indicate that they are MLEs. - - - The attribute name used on service operations and primitive properties to indicate their MIME type. - - - The attribute name used on service operations to indicate their HTTP method. - - - The attribute name used on a service operation to indicate whether all instances of the binding parameter - type can be bound to that service operation. - - - The attribute name used on an entity container to mark it as the default entity container. - - - 'true' literal - - - 'false' literal - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accessed statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - - Single instance per 'T' for comparison. - - - - - Initializes a new ReferenceEqualityComparer instance. - - - - - Determines whether two objects are the same. - - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - - Serves as hashing function for collections. - - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Returns a singleton instance for this comparer type. - - - - - Utility methods for working with CLR types. - - - - Checks whether the specified type is a generic nullable type. - Type to check. - true if is nullable; false otherwise. - - - Gets a non-nullable version of the specified type. - Type to get non-nullable version for. - - if type is a reference type or a - non-nullable type; otherwise, the underlying value type. - - - - - Checks whether the specified can be assigned null. If it is a non-nullable - value type it creates the corresonding nullable type and returns it. - - The type to check. - The if it allows null or the corresponding nullable type. - - - Checks whether the specified can be assigned null. - Type to check. - true if type is a reference type or a Nullable type; false otherwise. - - - - Determines if two CLR types are equivalent. - - First type to compare. - Second type to compare. - true if the types are equivalent (they both represent the same type), or false otherwise. - This method abstracts away the necessity to call Type.IsEquivalentTo method in .NET 4 and higher but - use simple reference equality on platforms which don't have that method (like Silverlight). - - - - Type for Atom Syndication Format (Atom) feed annotationsAsArray. - - - - Gets or sets a collection of authors of a feed. - A collection of authors of a feed. - - - Gets or sets the categories of a feed. - The categories of a feed. - - - Gets or sets a collection of contributors of a feed. - A collection of contributors of a feed. - - - Gets or sets the generator of a feed. - The generator of a feed. - - - Gets or sets the URI of the icon for a feed. - The URI of the icon for a feed. - - - Gets or sets the collection of all Atom link information except for the next page and self links. - The collection of all Atom link information except for the next page and self links. - - - Gets or sets the URI for the feed's logo. - The URI for the feed’s logo. - - - Gets or sets the rights text of a feed. - The rights text of a feed. - - - Gets or sets the self link of the feed. This link should point to the source of the feed. - The self link of the feed. - - - Gets the next page link of the feed. This link should point to the next page of results. - - - Gets or sets the identifier for the feed if used as metadata of an Atom:source element. - The identifier for the feed if used as metadata of an Atom:source element. - - - Gets or sets the subtitle of a feed. - The subtitle of a feed. - - - Gets or sets the title of the feed. - The title of the feed. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - Type for Atom Syndication Format (Atom) entry annotationsAsArray. - - - - - The date/time when the entry was published. - - - - - Date/Time of last update to the source in string format. - - - - Gets or sets a collection of authors of an entry. - A collection of authors of an entry. - - - Gets or sets the ATOM metadata for the category element which stores the type name of the entry. - - - Gets or sets the categories of an entry. - The categories of an entry. - - - Gets or sets a collection of contributors of an entry. - A collection of contributors of an entry. - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - Gets or sets the collection of all Atom link information except for the self/edit links and the navigation property links. - The collection of all Atom link information except for the self/edit links and the navigation property links. - - - Gets or sets the date and time when the entry was published. - The date and time when the entry was published. - - - Gets or sets the rights text of an entry. - The rights text of an entry. - - - Gets or sets the source of an entry and if the entry was copied from a different stream the property contains the feed metadata of the original feed. - The source of an entry. - - - Gets or sets the summary of the entry. - The summary of the entry. - - - Gets or sets the title of the entry. - The title of the entry. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - The date/time when the entry was published. - - - This property is only used in WCF DS client mode (and replaces the 'Published' property then). - - - - - Date/Time of last update to the source in string format. - - - This property is only used in WCF DS client mode (and replaces the 'Updated' property then). - - - - - Atom metadata description for a link. - - - - The IRI value coming from EPM. - We use AtomLinkMetadata class to hold navigation links, association links etc. - They convert Href property to string based on baseURI and whether Href is absolute or not. - Also we do not want to rely on validation done by Uri class, so we are holding EPM values - mapped to link/@href on a separate field. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the URI of the link. - The URI of the link. - - - Gets or sets the link's relation type. - The link’s relation type. - - - Gets or sets the media type of the data returned by the link. - The media type of the data returned by the link. - - - Gets or sets the language tag (for example, en-US) of the resource pointed to by the link. - The language tag of the resource pointed to by the link. - - - Gets or sets a human-readable description of the link. - A human-readable description of the link. - - - Gets or sets a hint at the length of the content returned from the link. - A hint at the length of the content returned from the link. - - - - Atom metadata description for a category. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the string value identifying the category. - The string value identifying the category. - - - Gets or sets the URI that indicates the scheme of the category. - The URI that indicates the scheme of the category. - - - Gets or sets a human-readable label for display in user interfaces. - A human-readable label. - - - - Atom metadata description for a person. - - - - The name of the person. - - - The email of the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - Converts a string to an instance. - The instance created for name. - The name used in the person metadata. - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the name of the person (required). - The name of the person (required). - - - Gets or sets an IRI associated with the person. - An IRI associated with the person. - - - Gets or sets an email address associated with the person. - An email address associated with the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - - Atom metadata description of a content generator. - - - - Gets or sets the human readable name of the generator of the content. - The human readable name of the generator of the content. - - - Gets or sets the (optional) URI describing the generator of the content. - The (optional) URI describing the generator of the content. - - - Gets or sets the (optional) version of the generator. - The (optional) version of the generator. - - - - Helper methods related to the ATOM Format - - - - The length of the media type for ATOM payloads (application/atom+xml). - - - The length of the media type for ATOM payloads when terminated by a ';' (application/atom+xml;). - - - The length of the media type for links referencing a single entry (application/atom+xml;type=entry). - - - The length of the media type for links referencing a collection of entries (application/atom+xml;type=feed). - - - Parameter string for the media type for links referencing a single entry. - - - Parameter string for the media type for links referencing a collection of entries. - - - - Creates the value for the navigation property's link relation attribute. - - The link representing the navigation property for which the relation value is created. - The relation attribute value for the navigation property's link relation. - - - - Creates the value for the navigation property's type attribute. - - The link representing the navigation property for which the type value is created. - The type attribute value for the navigation property. - - - - Creates the value for the navigation property's association link relation attribute. - - The link representing the navigation property's association for which the relation value is created. - The relation attribute value for the navigation property's association link relation. - - - - Creates the value for the stream property's link relation attribute. - - The stream property to create the relation for. - 'true' if the relation is computed for an edit link; otherwise 'false'. - The relation attribute value for the stream property's link relation. - - - - Unescape the attribute value for ATOM link element. - - ATOM link relation attribute value. - - The unescaped relation attribute string if it's a valid URI. - null if relation attribute is not a valid URI. - - - - - Return name following the specified in the . - - ATOM link relation attribute value, unescaped parsed URI string. - Value which the rel attribute should start with. - - The name if the starts with the given . - If the value does not start with the a null value is returned. - - - - - Determines whether the type of a navigation link has one of the expected standard values. - - The navigation link type to check. - true if the navigation link type has a 'type' parameter with the value 'entry'; otherwise false. - true if the navigation link type has a 'type' parameter with the value 'feed'; otherwise false. - true if the navigation link type is the expected application/atom+xml; otherwise false. - - - - Helper methods used by the OData writer to write ATOM metadata. - - - - - Creates a new instance by merging the given - (if any) with the specified , - and (optional) . - - The metadata to merge with the , and (optional) . - The relation to use in the merged metadata. - The href to use in the merged metadata. - The (optional) title to use in the merged metadata. - The (optional) media type to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for , - , , or this method validates that they - are the same as the ones specified in the method arguments. - - - - - Creates a new instance by merging the given - (if any) with the specified and . - - The metadata to merge with the and . - The term to use in the merged metadata. - The scheme to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for or - this method validates that they are the same as the ones specified in the method arguments. - - - - - Helper to convert values to strings compliant to the ATOM format - - - - Used for settings the updated element properly. - - - - Converts a boolean to the corresponding ATOM string representation. - - The boolean value to convert. - The ATOM strings representing boolean literals. - - - - Converts a byte to the corresponding ATOM string representation. - - The byte value to convert. - The ATOM strings representing the byte value. - - - - Converts a decimal to the corresponding ATOM string representation. - - The decimal value to convert. - The ATOM strings representing the decimal value. - - - - Converts the given date/time value to the string appropriate for Atom format - - The date/time value to convert. - The string version of the date/time value in Atom format. - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - ToAtomString is used to write values in atom specific elements like updated, etc. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given timespan value to the string appropriate for Atom format - - The timespan value to convert. - The string version of the timespan value in Atom format. - - - - Converts the given double value to the string appropriate for Atom format - - The double value to convert. - The string version of the double value in Atom format. - - - - Converts the given Int16 value to the string appropriate for Atom format - - The Int16 value to convert. - The string version of the Int16 value in Atom format. - - - - Converts the given Int32 value to the string appropriate for Atom format. - - The Int32 value to convert. - The string version of the Int32 in Atom format. - - - - Converts the given Int64 value to the string appropriate for Atom format. - - The Int64 value to convert. - The string version of the Int64 in Atom format. - - - - Converts the given SByte value to the string appropriate for Atom format. - - The SByte value to convert. - The string version of the SByte in Atom format. - - - - Converts the given byte array value to the string appropriate for Atom format. - - The byte array to convert. - The string version of the byte array in Atom format. - - - - Converts the given Single value to the string appropriate for Atom format. - - The Single value to convert. - The string version of the Single in Atom format. - - - - Converts the given Guid value to the string appropriate for Atom format. - - The Guid value to convert. - The string version of the Guid in Atom format. - - - - Atom specific extension methods. - - - - Determines an extension method to get the for an annotatable entry. - An instance or null if no annotation of that type exists. - The entry instance to get the annotation from. - - - Determines an extension method to get the for an annotatable feed. - An instance or null if no annotation of that type exists. - The feed instance to get the annotation from. - - - Determines an extension method to get the for an annotatable navigation link. - An instance or null if no annotation of that type exists. - The navigation link instance to get the annotation from. - - - Determines an extension method to get the for an annotatable workspace. - An instance or null if no annotation of that type exists. - The workspace to get the annotation from. - - - Determines an extension method to get the for an annotatable (resource) collection. - An instance or null if no annotation of that type exists. - The (resource) collection to get the annotation from. - - - Determines an extension method to get the for an annotatable association link. - An instance or null if no annotation of that type exists. - The association link to get the annotation from. - - - - Write-only stream which buffers all synchronous write operations until FlushAsync is called. - - - - - The stream being wrapped. - - - - - Queue of buffers to write. - - - - - The last buffer in the bufferQueue. This is the buffer we're writing into. - - - - - Constructor - - The underlying async stream to wrap. Note that only asynchronous write operation will be invoked on this stream. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Clears any internal buffers without writing them to the underlying stream. - - - - - Synchronous flush operation. This will flush all buffered bytes to the underlying stream through synchronous writes. - - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Queues a new buffer to the queue of buffers - - - - - Prepares all buffers for flushing and returns the queue of buffers to flush. - - The queue of buffer to flush. - - - - Returns enumeration of tasks to run to flush all pending buffers to the underlying stream. - - The queue of buffers that need to be flushed. - Enumeration of tasks to run to flush all buffers. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Determines if the stream can read - this one cannot - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The size of a buffer to allocate (80 KB is the limit for large object heap, so use 79 to be sure to avoid LOB) - - - - - The byte buffer used to store the data. - - - - - Number of bytes being stored. - - - - - Constructor - creates a new buffer - - - - - Writes data into the buffer. - - The buffer containing the data to write. - The index to start at. - Number of bytes to write. - How many bytes were written. - - - - Writes the buffer to the specified stream. - - The stream to write the data into. - - - - Creates a task which writes the buffer to the specified stream. - - The stream to write the data into. - The task which represent the asynchronous write operation. - - - - Constant values related to the ATOM format. - - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Attribute use to add xml: namespaces specific attributes. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - XML attribute value to indicate the base URI for a document or element. - - - Name of the xml:lang attribute. - - - Name of the xml:space attribute. - - - 'preserve' value for the xml:space attribute. - - - XML namespace for data service annotations. - - - XML namespace prefix for data service annotations. - - - XML namespace for data services. - - - Prefix for data services namespace. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData attribute which indicates the null value for the element. - - - OData element name for the 'count' element - - - OData scheme namespace for data services category scheme in atom:category elements. - - - OData stream property 'mediaresource' Uri segment name used in named stream link relations. - - - OData stream property 'edit-media' Uri segment name used in named stream link relations. - - - OData stream property prefix for named stream 'mediaresource' related link relations. - - - OData stream property prefix for named stream 'edit-media' related link relations. - - - OData navigation properties 'related' Uri segment name used in navigation link relations. - - - OData navigation properties prefix for navigation link relations. - - - OData navigation properties 'relatedlinks' Uri segment name used in association link relations. - - - OData association link prefix for relation attribute. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Name of the error element for Xml error responses. - - - Name of the error code element for Xml error responses. - - - Name of the error message element for Xml error responses. - - - Name of the inner error message element for Xml error responses. - - - Name of the message element in inner errors for Xml error responses. - - - Name of the type element in inner errors for Xml error responses. - - - Name of the stack trace element in inner errors for Xml error responses. - - - Name of the inner error element nested in inner errors for Xml error responses. - - - Element name for the items in a collection. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - XML element name for the wrapper 'links' element around a sequence of Uris in response to a $links request. - - - XML element name for a Uri response to a $links request. - - - XML element name for a next link in a response to a $links request. - - - XML element name for an annotation in an ATOM payload. - - - Attribute name for m:annotation/@target. - - - Attribute name for m:annotation/@term. - - - Attribute name for m:annotation/@string. - - - Attribute name for m:annotation/@bool. - - - Attribute name for m:annotation/@decimal. - - - Attribute name for m:annotation/@int. - - - Attribute name for m:annotation/@float. - - - Schema namespace for Atom. - - - Prefix for the Atom namespace - empty since it is the default namespace. - - - Prefix for the Atom namespace used in cases where we need a non-empty prefix. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark type attribute in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark id element in Atom. - - - XML element name to mark title element in Atom. - - - XML element name to mark the subtitle element in Atom. - - - XML element name to mark the summary element in Atom. - - - XML element name to mark the 'published' element in Atom. - - - XML element name to mark the 'source' element in Atom. - - - XML element name to mark the 'rights' element in Atom. - - - XML element name to mark the 'logo' element in Atom. - - - XML element name to mark the 'author' element in Atom. - - - XML element name to mark the 'author name' element in Atom. - - - XML element name to mark the 'contributor' element in Atom. - - - XML element name to mark the 'generator' element in Atom. - - - XML attribute name of the 'uri' attribute of a 'generator' element in Atom. - - - XML attribute name of the 'version' attribute of a 'generator' element in Atom. - - - XML element name to mark the 'icon' element in Atom. - - - XML element name to mark the 'name' element in an Atom person construct. - - - XML element name to mark the 'uri' element in an Atom person construct. - - - XML element name to mark the 'email' element in an Atom person construct. - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'label' attribute for categories. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for self links. - - - XML element name to mark link element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the type attribute of a link in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - XML attribute name of the hreflang attribute of a link in Atom. - - - XML attribute name of the title attribute of a link in Atom. - - - XML attribute name of the length attribute of a link in Atom. - - - XML element name to mark href attribute element in Atom. - - - Atom source attribute name for the content of media link entries. - - - Atom link relation attribute value for edit-media links. - - - XML attribute value of the link relation attribute for next page links in Atom. - - - XML attribute value of the link relation attribute for delta links in Atom. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom metadata text construct kind: plain text - - - Atom metadata text construct kind: html - - - Atom metadata text construct kind: xhtml - - - Default title for service document workspaces. - - - 'true' literal - - - 'false' literal - - - IANA link relations namespace. - - - The Atom Publishing Protocol (APP) namespace: 'http://www.w3.org/2007/app'. - - - The name of the top-level 'service' element when writing service documents in Xml format. - - - The name of the 'workspace' element when writing service documents in Xml format. - - - The name of the 'collection' element when writing service documents in Xml format. - - - The name of the 'categories' element encountered while reading a service document in XML format. - - - The name of the 'accept' element encountered while reading a service document in XML format. - - - The name of the 'fixed' attribute of an inline categories element in APP. - - - The value 'yes' of the 'fixed' attribute of an inline categories element in APP. - - - The value 'no' of the 'fixed' attribute of an inline categories element in APP. - - - XML namespace for GeoRss format - - - XML namespace prefix for GeoRss format - - - XML namespace for GML format - - - XML namespace prefix for GML format - - - - Helper methods used by the OData writer for the JSON format. - - - - - Write an error message. - - The JSON writer to write the error. - Action to write the instance annotations. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the __metadata property with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Will write the function's name and start the JSONP scope if we are writing a response and the - JSONP function name is not null or empty. - - JsonWriter to write to. - Writer settings. - - - - If we are writing a response and the given Json Padding function name is not null or empty - this function will close the JSONP scope. - - JsonWriter to write to. - Writer settings. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The output context for which to convert the URI. - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Write an error message. - - JSON writer. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - Instance annotations for this error. - Action to write the instance annotations. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Write an inner error property and message. - - The JSON writer to write the error to. - Inner error details. - The property name for the inner error property. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - Class with utility methods to work with HTTP concepts - - - - Reads a Content-Type header and extracts the media type's name (type/subtype) and parameters. - The Content-Type header. - The media type in standard type/subtype form, without parameters. - The (optional) charset parameter of the media type. - The parameters of the media type not including the 'charset' parameter. - - - Builds a Content-Type header which includes media type and encoding information. - Media type to be used. - Encoding to be used in response, possibly null. - The value for the Content-Type header. - - - Returns all media types from the specified (non-blank) . - Non-blank text, as it appears on an HTTP Accepts header. - An enumerable object with key/value pairs of media type descriptions with their (optional) charset parameter values. - - - - Does an ordinal ignore case comparision of the given media type names. - - First media type name. - Second media type name. - returns true if the media type names are the same. - - - - Does an ordinal ignore case comparision of the given MIME type parameter name. - - First parameter name. - Second parameter name. - returns true if the parameter names are the same. - - - Gets the best encoding available for the specified charset request. - - The Accept-Charset header value (eg: "iso-8859-5, unicode-1-1;q=0.8"). - - The media type used to compute the default encoding for the payload. - The encoding to use for UTF-8 charsets; we use the one without the BOM. - The encoding to use if no encoding could be computed from the or . - An Encoding object appropriate to the specifed charset request. - - - - Reads the numeric part of a quality value substring, normalizing it to 0-1000 - rather than the standard 0.000-1.000 ranges. - - Text to read qvalue from. - Index into text where the qvalue starts. - After the method executes, the normalized qvalue. - - For more information, see RFC 2616.3.8. - - - - - Validates that the HTTP method string matches one of the supported HTTP methods. - - The HTTP method string to validate. - - - - Determines whether the given HTTP method is one that is accepted for queries. GET is accepted for queries. - - The HTTP method to check. - True if the given httpMethod is GET. - - - - Gets the string status message for a given Http response status code. - - The status code to get the status message for. - The string status message for the . - - - - Returns the encoding object for the specified charset name. - - The of the charset to get the encoding for. - The encoding object or null if such encoding is not supported. - - - - Reads a token or quoted-string value from the header. - - Name of the header. - Header text. - Parsing index in . - Returns true if the value is a quoted-string, false if the value is a token. - Func to create the appropriate exception to throw from the given error message. - The token or quoted-string value that was read from the header. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - - Enumerates each charset part in the specified Accept-Charset header. - - Non-null and non-empty header value for Accept-Charset. - - A (non-sorted) enumeration of CharsetPart elements, which include - a charset name and a quality (preference) value, normalized to 0-1000. - - - - Reads a media type definition as used in a Content-Type header. - Text to read. - A list of key/value pairs representing the s and their (optional) 'charset' parameters - parsed from the specified - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - The (optional) charset parameter value. - - - Reads the type and subtype specifications for a media type name. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - - Determines whether the specified character is valid in the quoted header values. - - Character to verify. - true if c is a valid in a quoted HTTP header value; false otherwise. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Converts the specified character from the ASCII range to a digit. - - Character to convert. - - The Int32 value for c, or -1 if it is an element separator. - - - - - Verfies whether the specified character is a valid separator in - an HTTP header list of element. - - Character to verify. - true if c is a valid character for separating elements; false otherwise. - - - - "Reads" a literal from the specified string by verifying that - the exact text can be found at the specified position. - - Text within which a literal should be checked. - Index in text where the literal should be found. - Literal to check at the specified position. - true if the end of string is found; false otherwise. - - - - Structure to represent a charset name with a quality value. - - - - Name of the charset. - - - Charset quality (desirability), normalized to 0-1000. - - - - Initializes a new CharsetPart with the specified values. - - Name of charset. - Charset quality (desirability), normalized to 0-1000. - - - - Writer class used to write all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message writer was created. - - - A flag indicating whether we are writing a request or a response message. - - - The message writer settings to use when writing the message payload. - - - The model. Non-null if we do have metadata available. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - Flag to ensure that only a single write method is called on the message writer. - - - True if Dispose() has been called on this message writer, False otherwise. - - - The output context we're using to write the payload. - This is null until the first write operation is called. - - - The payload kind of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The batch boundary string if the payload to be written is a batch request or response. - This is either set via the SetHeadersForPayload method or implicitly when the CreateBatchWriter method is called. - - - Flag to prevent writing more than one error to the payload. - - - The media type resolver to use when interpreting the content type. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - Creates a new for the given request message. - The request message for which to create the writer. - - - Creates a new for the given request message and message writer settings. - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given request message and message writer settings. - - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the writer. - - - Creates a new for the given response message and message writer settings. - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given response message and message writer settings. - - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates an to write a feed. - The created writer. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - Asynchronously creates an to write a feed. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write an entry. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - Asynchronously creates an to write an entry. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - The created collection writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection writer. - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - - - Creates an to write a batch of requests or responses. - The created batch writer. - - - Asynchronously creates an to write a batch of requests or responses. - A running task for the created batch writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - - - Writes a service document with the specified as the message payload. - The default workspace to write in the service document. - - - Asynchronously writes a service document with the specified as the message payload. - A task representing the asynchronous operation of writing the service document. - The default workspace to write in the service document. - - - Writes an as the message payload. - The property to write. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the property. - The property to write - - - Writes an as the message payload. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the error. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Writes the result of a $links query as the message payload. - The entity reference links to write as message payload. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - Asynchronously writes the result of a $links query as the message payload. - A task representing the asynchronous writing of the entity reference links. - The entity reference links to write as message payload. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - - - Writes a singleton result of a $links query as the message payload. - The entity reference link to write as the message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - Asynchronously writes a singleton result of a $links query as the message payload. - A running task representing the writing of the link. - The link result to write as the message payload. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property information for the link being written, or null if none is available. - A running task representing the writing of the link. - - - Writes a single value as the message body. - The value to write. - - - Asynchronously writes a single value as the message body. - A running task representing the writing of the value. - The value to write. - - - Writes the metadata document as the message body. - - - implementation to cleanup unmanaged resources of the writer. - - - - Sets the content-type and data service version headers on the message used by the message writer. - This method can be called if it is important to set all the message headers before calling any of the - write (or writer creation) methods on the . - If it is sufficient to set the headers when the write (or writer creation) methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - The kind of payload to be written with this message writer. - The used for the specified . - - - - If no headers have been set, sets the content-type and data service version headers on the message used by the message writer. - If headers have been set explicitly (via ODataUtils.SetHeaderForPayload) this method verifies that the payload kind used to - create the headers is the same as the one being passed in . - - The kind of payload to be written with this message writer. - - - - Ensures that the version of the OData protocol is set. - - - If a version is specified explicitly on the writer settings, it is used. - Otherwise the method tries to read the version from the message headers. - If there is a version header but the value cannot be parsed, we fail. - If there is no version header, we fall back to the default version. - - - - - Ensures that the OData format is computed and set; if needed, sets the content type - header of the message. - - - This method computes and ensures that a content type exists and computes the - OData format from it. If a content type is explicitly specified through - - or it will be used. If no - content type is specified in either place, the message headers are checked for - a content type header. - If the content type is computed from settings, the content type header is set on the message. - - - - - Verifies that feed writer can be created. - - - - - Verifies that entry writer can be created. - - - - - Verifies that collection writer can be created. - - The item type of the collection being written or null if no metadata is available. - - - - Verifies that batch writer can be created. - - - - - Verifies that parameter writer can be created. - - The function import whose parameters will be written. - - - - Verifies headers for parameter payload. - - - - - Verifies that service document can be written. - - The default workspace to write. - - - - Verifies that property can be written. - - The property to write. - - - - Verifies that top-level error can be written. - - The error to write. - - - - Verifies that in-stream error can be written. - - The error to write. - - - - Verifies that entity reference links can be written. - - The entity reference links to write as message payload. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Verifies headers for entity reference links. - - The entity reference links to write as message payload. - - - - Verifies that entity reference link can be written. - - The link result to write as message payload. - - - - Verifies that value can be written. - - The value to write. - The payload kind to use when writing this value. - - - - Verifies that metadata document can be written. - - - - - Verifies headers for metadata document. - - - - - Verifies that the ODataMessageWriter has not been disposed and has not been used before. An ODataMessageWriter - can only be used to write a single message payload but can't be reused later except for writing an in-stream error. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Verifies that, if a payload kind has been set via SetHeaders, the payload kind that - is being written is the same. - - The payload kind that is attempted to write. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - The result of the write operation. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - The message writer settings to use when writing the message payload. - - - - - The media type resolver to use when interpreting the content type. - - - - - Wrapper class around an IODataResponseMessageAsync to isolate our code from the interface implementation. - - - This class also implements the message interface since it is passed to the payload kind - detection logic on the format implementations and manages the buffering read stream. - - - - The response message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The response message to wrap. - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative number if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The result status code of the response message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Wrapper class around an IODataRequestMessageAsync to isolate our code from the interface implementation. - - - - The request message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The request message to wrap. - true if the request message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Synchronously get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The request Url for this request message. - - - - - The HTTP method used for this request message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Represents an association link. - - - - the metadata builder for this association link. - - - URI representing the Unified Resource Locator (Url) of the link. - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this association link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets the name of the association link. - The name of the associate link. - This is the name of the navigation property to which the association link belongs. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - This URL should point to a resource which can be used to retrieve or modify the association itself - not the URL to traverse the navigation property. - - - - Class representing an error payload. - - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Gets the collection of instance annotations from this instance. - - The collection of instance annotations - - - - Adds an instance annotation from the payload to this instance. - - The name of the instance annotation. - The value of the instance annotation. - - - Gets or sets the error code to be used in payloads. - The error code to be used in payloads. - - - Gets or sets the error message. - The error message. - - - Gets or sets the language for the exception Message. - The language for the exception Message. - - - Gets or sets the implementation specific debugging information to help determine the cause of the error. - The implementation specific debugging information. - - - - Collection of custom instance annotations. - - - - - Utility class to check feature availability in a certain version of OData. - - - - - Check whether the inline count feature is supported in the specified version. - - The version to check. - - - - Check whether CollectionValue properties are supported in the specified version. - - The version to check. - The name of the property which holds the collection. - - - - Check whether CollectionValue is supported in the specified version. - - The version to check. - - - - Check whether the next link feature is supported in the specified version. - - The version to check. - - - - Check whether the delta link feature is supported in the specified version. - - The version to check. - - - - Check whether the named streams feature is supported in the specified version. - - The version to check. - - - - Check whether the association links feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Type Scheme feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Data Namespace feature is supported in the specified version. - - The version to check. - - - - Check whether parameters in the payload are supported in the specified version. - - The version to check. - - - - Check whether the EPM on the specified entity type is supported in the specified version. - - The version to check. - The entity type to check. - The model containing annotations for the entity type. - - - - Check whether the spatial value is supported in the specified version. - - The version to check. - - - - Checks that the version specified on the request or the response is supported by this library. - - The version to check. - The message reader settings specified for the reader. - In internal drops we currently do not support protocol version 3. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in ODataWriterCore.WriteEnd - - - Unreachable codepath in ODataWriterCore.ValidateTransition - - - Unreachable codepath in ODataWriterCore.Scope.Create - - - Unreachable codepath in ODataWriterCore.DuplicatePropertyNamesChecker. - - - Unreachable codepath in ODataWriterCore.ParentNavigationLinkScope. - - - Unreachable codepath in ODataUtils.VersionString - - - Unreachable codepath in ODataUtilsInternal.ToDataServiceVersion - - - Unreachable codepath in ODataUtilsInternal.IsPayloadKindSupported - - - Unreachable codepath in ODataUtils.GetDefaultEncoding - - - Unreachable codepath in ODataUtils.ParseSerializableEpmAnnotations - - - Unreachable codepath in ODataMessageWriter.WriteProperty - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLink - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLinks - - - Unreachable codepath in ODataMessageWriter.WriteError - - - Unreachable codepath in ODataMessageWriter.WriteServiceDocument - - - Unreachable codepath in ODataMessageWriter.WriteMetadataDocument - - - Unreachable codepath in EpmSyndicationWriter.WriteEntryEpm when writing content target. - - - Unreachable codepath in EpmSyndicationWriter.CreateAtomTextConstruct when converting text kind from Syndication enumeration. - - - Unreachable codepath in EpmSyndicationWriter.WritePersonEpm. - - - Unhandled EpmTargetPathSegment.SegmentName in EpmSyndicationWriter.WriteParentSegment. - - - Unreachable codepath in ODataAtomConvert.ToString(AtomTextConstructKind) - - - Unreachable codepath in ODataCollectionWriter.CreateCollectionWriter - - - Unreachable codepath in ODataCollectionWriterCore.ValidateTransition - - - Unreachable codepath in ODataCollectionWriterCore.WriteEnd - - - Unreachable codepath in ODataParameterWriter.CreateParameterWriter - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.WriteEndImplementation - - - Unreachable codepath in ODataPathValidator.ValidateSegment root branch - - - Unreachable codepath in ODataPathValidator.ValidateSegment non-root branch - - - Unreachable codepath in ODataBatchWriter.ValidateTransition - - - Unreachable codepath in ODataBatchWriter.ToText(this HttpMethod). - - - Unreachable codepath in ODataBatchReader.ReadImplementation. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Completed. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Exception. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary because of invalid enum value. - - - Unreachable codepath in ODataBatchReaderStream.SkipToBoundary. - - - Unreachable codepath in ODataBatchReaderStream.ReadLine. - - - Unreachable codepath in ODataBatchReaderStream.ReadWithDelimiter. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ScanForBoundary. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ReadWithLength. - - - Unreachable codepath in JsonReader.Read. - - - Unreachable codepath in ODataReader.CreateReader. - - - Unreachable codepath in ODataReaderCore.ReadImplementation. - - - Unreachable codepath in ODataReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataVerboseJsonEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataVerboseJsonReader.ReadEntryStart. - - - Unreachable codepath in ODataVerboseJsonPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataCollectionReader.CreateReader. - - - Unreachable codepath in ODataCollectionReaderCore.ReadImplementation. - - - Unreachable codepath in ODataCollectionReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataParameterReaderCore.ReadImplementation. - - - Unreachable codepath in ODataParameterReaderCoreAsync.ReadAsynchronously. - - - The value from the parameter reader must be a primitive value, an ODataComplexValue or null - - - Unreachable codepath in ODataAtomReader.ReadAtNavigationLinkStartImplementation. - - - Unreachable codepath in ODataAtomPropertyAndValueDeserializer.ReadNonEntityValue. - - - Unreachable codepath in AtomValueUtils.ConvertStringToPrimitive. - - - Unreachable codepath in EdmCoreModel.PrimitiveType (unsupported type). - - - Unreachable codepath in EpmSyndicationReader.ReadEntryEpm when reading content target. - - - Unreachable codepath in EpmSyndicationReader.ReadParentSegment. - - - Unreachable codepath in EpmSyndicationReader.ReadPersonEpm. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found unexpected type kind. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found EPM for a primitive stream property. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the strict branch, unexpected type kind. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the lax branch, unexpected type kind. - - - Unreachable codepath in EpmExtensionMethods.ToAttributeValue(ODataSyndicationItemProperty) when found unexpected type syndication item property kind. - - - The ODataMetadataFormat.CreateOutputContextAsync was called, but this method is not yet supported. - - - The ODataMetadataFormat.CreateInputContextAsync was called, but this method is not yet supported. - - - An unsupported method or property has been called on the IDictionary implementation of the ODataModelFunctions. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.GetNonEntityValueKind. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataJsonLightReader.ReadEntryStart. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer_ReadTopLevelFeedAnnotations.ReadTopLevelFeedAnnotations. - - - Unreachable codepath in ODataJsonLightReader.ReadFeedEnd. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart.TypeKindFromPayloadFunc. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionEnd. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadSingleEntityReferenceLink. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadEntityReferenceLinksAnnotations. - - - Unreachable codepath in ODataJsonLightParameterDeserializer.ReadNextParameter. - - - Unreachable codepath in ODataJsonLightAnnotationGroupDeserializer.ReadAnnotationGroupDeclaration. - - - Unreachable codepath in EdmTypeWriterResolver.GetReturnType for function import group. - - - Unreachable codepath in the indexer of ODataVersionCache for unknown versions. - - - - Implementation of the ODataWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON entry and feed seriazlizer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the __count property for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - - - - Returns the current VerboseJsonFeedScope. - - - - - A scope for a verbose JSON feed. - - - - true if the __count was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the __count was already written, false otherwise. - - - - - Uri utility methods. - - - - - An absolute Uri to use as the base Uri for escaping a Uri fragment. - - - - - Returns an absolute URI constructed from the specified base URI and a relative URI - - The base URI to use. - The relative URI to use. - The absolute URI as a result of combining the base URI with the relative URI. - - - - A method to ensure that the original string of a relative URI is escaped. - - The relative to escape. - A relative URI instance with guaranteed escaped original string. - - - - Gets the escaped metadata reference property name. - - The metadata reference property name in question. - The Uri escaped metadata reference property name. - - - - OData representation of a Collection. - - - - Gets or sets the type of the collection value. - The type of the collection value. - - - Gets or sets the items in the bag value. - The items in the bag value. - - - - Configuration settings for OData message writers. - - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - fields and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - An instance representing any knobs that control the behavior of the writers - inside and outside of WCF Data Services. - - - - Stores the base uri for the metadata document along with a select clause. - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - Initializes a new instance of the class with default settings. - - - Initializes a new instance of the class with specified settings. - The specified settings. - - - Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. - The acceptable media types used to determine the content type of the message. This is a comma separated list of content types as specified in RFC 2616, Section 14.1. - The acceptable charsets to use to determine the encoding of the message. This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - Calling this method replaces any previously set content-type settings. - - - Sets the format to be used when writing the payload. This will automatically set a compatible content type header. - The format to use for writing the payload. - Calling this method replaces any previously set content-type settings. - - - Sets the customization XML format for Atom entry. - The start of the Atom entry XML customization callback. - The end of the Atom entry XML customization callback. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - This method only applies when writing ATOM format payloads. - When writing payloads in different formats, this method has no effect. - param name="atomStartEntryXmlCustomizationCallback" - If non-null this func will be called when a new (non-null) entry is to be written. - It takes two parameters: - - ODataEntry entry - which is the entry to be written. - - XmlWriter writer - which is the current XmlWriter used by the ODataWriter to write the entry. - It returns XmlWriter: - - null - means there's no need to customize the XML for this entry, and thus the original writer will be used to write the entry. - - non-null XmlWriter - the ODataWriter will use the new returned writer to write the entry. - Once the entry has been written the EndEntryXmlCustomizationCallback will be called and the writer will be passed to it. - Note that the ODataWriter will not dipose or otherwise clear the writer. - The callback must never return the same instance as the writer parameter! - param name="atomEndEntryXmlCustomizationCallback" - If non-null this action will be called when a (non-null) entry has been written. - The action takes three parameters: - - ODataEntry entry - which is the entry which was written. - - XmlWriter entryWriter - the XmlWriter used to write the entry. The action must dispose or otherwise clear this writer. - - XmlWriter parentWriter - the XmlWriter used to write the parent scope of the entry. This is the writer which will be used to write further - payload once this action returns. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - true if the server is configured to leave prefixes off all root elements and anything else in the same namespace, otherwise, false. - - - Enables the WCF data services client behavior. - The start of the entry XML customization callback. - The end of the entry XML customization callback. - The OData namespace. - The type scheme. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - - - - Sets the URI of the metadata document. - The URI of the metadata document. - - - Sets the URI of the metadata document. - The URI of the metadata document. - The select clause. - - - - Determines if there is a JSON padding function defined. - - True if the JsonPCallback property is not null or emtpy. - - - - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - - Gets or sets the OData protocol version to be used for writing payloads. - The OData protocol version to be used for writing payloads. - - - Gets or sets the document base URI which is used as base for all relative URIs. - The document base URI which is used as base for all relative URIs. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets a callback function use to wrap the response from server. - The callback function used to wrap the response from server. - If it has a value and we are writing a JSON response, then we will wrap the entirety of the response in - the provided function name and parenthesis for JSONP. Otherwise this value is ignored. - - - - Gets or sets a value that indicates whether the writer should automatically generate or omit metadata in JSON payloads based on the metadata level. - - - Payload metadata includes the type names of entries and property values as well as any information that may be computed automatically, such as edit links. - If, for example, ODataEntry.EditLink is not specified, then it will be automatically computed and written out in full metadata mode. - If ODataEntry.EditLink is specified, then that value will be considered an "override" of the default computed edit link, and will be written out in full and minimal metadata modes. It will not be written in no metadata mode. - - - - - Gets or sets a value that indicates whether the writer should put key values in their own URI segment when automatically building URIs. - If this value is false, automatically-generated URLs will take the form "../EntitySet('KeyValue')/..". - If this value is true, automatically-generated URLs will take the form "../EntitySet/KeyValue/..". - If this value is not set (null), decision will be made based on the "Com.Microsoft.Data.Services.Conventions.V1.UrlConventions" vocabulary - annotation on the IEdmEntityContainer, if available. The default behavior is to put key values inside parentheses and not a distinct URL segments. - This setting only applies to URLs that are automatically generated by the and does not modify URLs explicitly provided by the user. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - A null or empty accept header means that all content types are acceptable. - For response messages this is usually the 'Accept' header of the request message. - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - A null or empty accept charset header means that all charsets are acceptable. - For response messages this is usually the 'Accept-Charset' header of the request message. - - - - The writer behavior that holds all the knobs needed to make the writer - behave differently inside and outside of WCF Data Services. - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - properties and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - Gets the metadata document URI that has been set on the settings, or null if it has not been set. - - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - Constant values related to media types. - - - - Media type for requesting any media type. - - - 'application' - media type for application types. - - - 'text' - media type for text subtypes. - - - 'multipart' - media type. - - - 'atom+xml' - constant for atom+xml subtypes. - - - 'atomsvc+xml' - constant for atomsvc+xml subtypes. - - - 'xml' - constant for xml subtypes. - - - 'json' - constant for JSON subtypes. - - - 'plain' - constant for text subtypes. - - - 'javascript' - constant for javascript subtypes. - - - 'octet-stream' subtype. - - - 'mixed' subtype. - - - 'http' subtype. - - - Parameter name for 'type' parameters. - - - Parameter value for type 'entry'. - - - Parameter value for type 'feed'. - - - Parameter name for 'odata' parameters. - - - Parameter value for 'verbose' JSON. - - - JSON Light parameter value 'fullmetadata'. - - - JSON Light parameter value 'minimalmetadata'. - - - JSON Light parameter value 'nometadata'. - - - Parameter name for 'streaming' parameter. - - - JSON Light streaming parameter value 'true'. - - - JSON Light streaming parameter value 'false'. - - - Media type for XML bodies. - - - Media type for ATOM payloads. - - - Media type for links referencing a single entry. - - - Media type for links referencing a collection of entries. - - - Media type for JSON payloads. - - - Media type for binary raw content. - - - Media type for batch parts. - - - Media type for Xml bodies (deprecated). - - - Media type for raw content (except binary). - - - Media type for javascript content. - - - Media type for raw content (except binary). - - - The '*' wildcard usable in type names and subtype names. - - - Separator between mediat type and subtype. - - - - Helper methods used by the OData writer for the ATOM format. - - - - - Creates an Xml writer over the specified stream, with the provided settings and encoding. - - The stream to create the XmlWriter over. - The OData message writer settings used to control the settings of the Xml writer. - The encoding used for writing. - An instance configured with the provided settings and encoding. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write the m:etag attribute with the given string value. - - The Xml writer to write to. - The string value of the ETag. - - - - Write the m:null attribute with a value of 'true' - - The Xml writer to write to. - - - - Writes raw markup with the given writer, adding the xml:space="preserve" attribute to the element if the markup has leading or trailing whitespace. - - The to write to. - A string containing the text to write. - - - - Writes a string with the given writer, adding the xml:space="preserve" attribute to the element if the string has leading or trailing whitespace. - - The to write to. - The string to write as element text content. - - - - Creates a new XmlWriterSettings instance using the encoding. - - Configuration settings of the OData writer. - Encoding to use in the writer settings. - The Xml writer settings to use for this writer. - - - - Writes an xml:space="preserve" attribute if the given value starts or ends with whitespace. - - The writer to use for writing out the attribute string. - The value to check for insignificant whitespace. - - - - Utility methods around writing of ATOM values. - - - - The characters that are considered to be whitespace by XmlConvert. - - - - Converts the given value to the ATOM string representation - and uses the writer to write it. - - The writer to write the stringified value. - The value to be written. - - - Converts the specified value to a serializable string in ATOM format, or throws an exception if the value cannot be converted. - Non-null value to convert. - The specified value converted to an ATOM string. - - - - Reads a value of an XML element and converts it to the target primitive value. - - The XML reader to read the value from. - The primitive type reference to convert the value to. - The primitive value read. - This method does not read null values, it only reads the actual element value (not its attributes). - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - - - - Converts a given to a string appropriate for Atom format. - - The text construct kind to convert. - The string version of the text construct format in Atom format. - - - Converts the specified value to a serializable string in ATOM format. - Non-null value to convert. - The specified value converted to an ATOM string. - boolean value indicating conversion successful conversion - - - - Converts a string to a primitive value. - - The string text to convert. - Type to convert the string to. - The value converted to the target type. - This method does not convert null value. - - - - Reimplementation of XmlConvert.ToBoolean that accepts 'True' and 'False' in addition - to 'true' and 'false'. - - The string value read from the Xml reader. - The converted boolean value. - - - - Constant values used by the OData or HTTP protocol or OData library. - - - - - HTTP method name for GET requests. - - - - - HTTP method name for POST requests. - - - - - HTTP method name for PUT requests. - - - - - HTTP method name for DELETE requests. - - - - - HTTP method name for PATCH requests. - - - - - Custom HTTP method name for MERGE requests. - - - - - Name of the HTTP content type header. - - - - - Name of the OData 'DataServiceVersion' HTTP header. - - - - - Name of the HTTP content-ID header. - - - - - Name of the Content-Length HTTP header. - - - - - 'q' - HTTP q-value parameter name. - - - - Http Version in batching requests and response. - - - 'charset' - HTTP parameter name. - - - multi-part keyword in content-type to identify batch separator - - - Name of the HTTP content transfer encoding header. - - - Content-Transfer-Encoding value for batch payloads. - - - The default protocol version to use in ODataLib if none is specified. - - - The template used when computing a batch request boundary. - - - The template used when computing a batch response boundary. - - - The template used when computing a request changeset boundary. - - - The template used when computing a response changeset boundary. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - Weak etags in HTTP must end with ". - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The default maximum allowed recursion depth for recursive payload definitions, such as complex values inside complex values. - - - The default maximum number of bytes that should be read from a message. - - - The default maximum number of top-level operations and changesets per batch payload. - - - The default maximum number of operations per changeset. - - - The default maximum number of entity property mapping attributes for an entity type (on the type itself and all its base types). - - - The maximum recognized OData version by this library. - - - The '/' (forward slash) which is the URI segment separator. - - - The '/' (forward slash) which is the URI segment separator. - - - The '$links' segment name for constructing association links. - - - The '$value' segment name for the default stream value. - - - - Internal utility methods used in the OData library. - - - - - Converts a given to its representation. - - The instance to convert. - The representation of the . - - - - Sets the 'DataServiceVersion' HTTP header on the message based on the protocol version specified in the settings. - - The message to set the data service version header on. - The determining the protocol version to use. - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Checks whether a payload kind is supported in a request or a response. - - The to check. - true if the check is for a request; false for a response. - true if the is valid in a request or response respectively based on . - - - - Concats two enumerables. - - Element type of the enumerable. - Enumerable 1 to concat. - Enumerable 2 to concat. - Returns the combined enumerable. - - - - Gets the selected properties from the given . - - The instance to get the selected properties node from. - The selected properties node instance. - This can be a property on . Having it as an extension method here so we don't have to do the null check at the call site. - - - - OData writer for the ATOM format. - - - - Value for the atom:updated element. - - The writer will use the same default value for the atom:updated element in a given payload. While there is no requirement for this, - it saves us from re-querying the system time and converting it to string every time we write an item. - - - - The output context to write to. - - - The serializer to write payload with. - - - - Constructor creating an OData writer using the ATOM format. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the collection of to the ATOM payload. - - The collection of to write. - Helper class to track if an annotation has been writen. - - - - Writes the collection of for the given to the ATOM payload. - - The feed to write the for. - The current feed scope. - - - - Write the content of the given entry. - - The entry for which to write properties. - The of the entry (or null if not metadata is available). - The cache of properties. - The root of the EPM source tree, if there's an EPM applied. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link start atom:link element including the m:inline element if there's a parent navigation link. - - - - - Writes the navigation link end m:inline and end atom:link elements if there's a parent navigation link. - - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Writes custom extensions and the end element for a navigation link - - - - - Determines if XML customization should be applied to the entry and applies it. - - The entry to apply the customization to. - This method must be called before anything is written for the entry in question. - - - - Ends XML customization for the entry (if one was applied). - - The entry to end the customization for. - This method must be called after all the XML for a given entry is written. - - - - Returns the current AtomEntryScope. - - - - - Returns the current AtomFeedScope. - - - - - Enumeration of ATOM element flags, used to keep track of which elements were already written. - - - - The atom:id element. - - - The atom:link with rel='self'. - - - The atom:link with rel='edit'. - - - - A scope for an feed. - - - - true if the author element was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the author element was already written, false otherwise. - - - - - A scope for an entry in ATOM writer. - - - - Bit field of the ATOM elements written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The ATOM element which was written. - - - - Determines if the was already written for this entry scope. - - The ATOM element to test for. - true if the was already written for this entry scope; false otherwise. - - - - Enumeration representing the OData protocol version. - - - - Version 1.0. - - - Version 2.0. - - - Version 3.0. - - - - Writes text indented as per the indentation level setting - - - - - The indentation string to prepand to each line for each indentation level. - - - - - The underlying writer to write to. - - - - - Set to true if the writer should actually indent or not. - - - - - Number which specifies the level of indentation. Starts with 0 which means no indentation. - - - - - Set to true if indentation should be written before the next string is written. - - - - - Constructor - - The underlying writer to wrap. - Set to true if the writer should actually indent or not. - - - - Increases the level of indentation applied to the output. - - - - - Decreases the level of indentation applied to the output. - - - - - Closes the underlying writer. - - - - - Clears the buffer of the current writer. - - - - - Writes the given string value to the underlying writer. - - String value to be written. - - - - Writes the given char value to the underlying writer. - - Char value to be written. - - - - Writes a new line. - - - - - Closes or disposes the underlying writer. - - - - - Writes the tabs depending on the indent level. - - - - - Returns the Encoding for the given writer. - - - - - Returns the new line character. - - - - - Constants for the JSON format. - - - - - "results" header for Json data array. - - - - - Text used to start a data object wrapper in JSON. - - - - - Data property name of the data object wrapper in JSON. - - - - - "id" header for the id of an Entry. - - - - - "__metadata" header for Json metadata object - - - - - "uri" header for the URI identifying the entry being represented. - - - - - "type" header for the type name of the entity - - - - - "etag" header for the ETag of an entity - - - - - "__mediaresource" property name for the metadata of a stream reference value. - - - - - "media_src" header for the MLE read link - - - - - "content_type" header for the MLE - - - - - "media_etag" header for the MLE - - - - - "edit_media" header for the MLE - - - - - "properties" header for the property metadata - - - - - "associationuri" header for the association link url of a navigation property - - - - - "__count" header for the inline count in a feed - - - - - "__next" header for the next link in a feed - - - - - "__deferred" header for the non-expanded link in an entry - - - - - "uri" header for the navigation link URL - - - - - The name of the property returned for a singleton $links query - - - - "actions" header for entry metadata. - - - "functions" header for entry metadata. - - - "title" header for "actions" and "functions" metadata. - - - "metadata" header for "actions" and "functions" metadata. - - - "target" header for "actions" and "functions" metadata. - - - - "error" header for the error payload - - - - - "code" header for the error code property - - - - - "message" header for the error message property - - - - - "lang" header for the error message language property - - - - - "value" header for the error message value property - - - - - "innererror" header for the inner error property - - - - - "message" header for an inner error (for Astoria compatibility) - - - - - "typename" header for an inner error (for Astoria compatibility) - - - - - "stacktrace" header for an inner error (for Astoria compatibility) - - - - - "internalexception" header for an inner, inner error property (for Astoria compatibility) - - - - - JSON datetime format. - - - - - JSON datetime offset format. - - - - - A plus sign for the date time offset format. - - - - - The fixed property name for the entity sets array in a service document payload. - - - - - The true value literal. - - - - - The false value literal. - - - - - The null value literal. - - - - - Character which starts the object scope. - - - - - Character which ends the object scope. - - - - - Character which starts the array scope. - - - - - Character which ends the array scope. - - - - - "(" Json Padding Function scope open parens. - - - - - ")" Json Padding Function scope close parens. - - - - - The separator between object members. - - - - - The separator between array elements. - - - - - The separator between the name and the value. - - - - - The quote character. - - - - - Writer for the JSON format. http://www.json.org - - - - - Writer to write text into. - - - - - Scope of the json text - object, array. - - - - - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - - Creates a new instance of Json writer. - - Writer to which text needs to be written. - If the output should be indented or not. - The json-based format to use when writing. - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Various scope types for Json writer. - - - - - Array scope. - - - - - Object scope. - - - - - JSON padding function scope. - - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - What to write at the beginning of this scope. - - - - - What to write at teh end of this scope. - - - - - Get/Set the object count for this scope. - - - - - Gets the scope type for this scope. - - - - - Class with utility methods to work with exceptions - - - - Type of OutOfMemoryException. - - - Type of StackOverflowException. - - - Type of ThreadAbortException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - Checks the argument value for null and throws if it is null. - - Type of the argument, used to force usage only for reference types. - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value empty string and throws if it is empty. The value can be null though. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value for null or empty string and throws if it is null or empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being negative and throws if it is negative. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - Type of the collection. It does not matter. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Provides helper method for converting data values to and from the OData JSON format. - - - - - Const tick value for caculating tick values. - - - - - Characters which, if found inside a number, indicate that the number is a double when no other type information is available. - - - - - Map of special characters to strings. - - - - - Write a boolean value. - - The text writer to write the output to. - The boolean value to write. - - - - Write an integer value. - - The text writer to write the output to. - Integer value to be written. - - - - Write a float value. - - The text writer to write the output to. - Float value to be written. - - - - Write a short value. - - The text writer to write the output to. - Short value to be written. - - - - Write a long value. - - The text writer to write the output to. - Long value to be written. - - - - Write a double value. - - The text writer to write the output to. - Double value to be written. - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - Write a Guid value. - - The text writer to write the output to. - Guid value to be written. - - - - Write a decimal value - - The text writer to write the output to. - Decimal value to be written. - - - - Write a DateTime value - - The text writer to write the output to. - DateTime value to be written. - The format to write out the DateTime value in. - - - - Write a DateTimeOffset value. - - The text writer to write the output to. - DateTimeOffset value to be written. - The format to write out the DateTime value in. - - - - Write a TimeSpan value. - - The text writer to write the output to. - TimeSpan value to be written. - - - - Write a byte value. - - The text writer to write the output to. - Byte value to be written. - - - - Write an sbyte value. - - The text writer to write the output to. - SByte value to be written. - - - - Write a string value. - - The text writer to write the output to. - String value to be written. - - - - Returns the string value with special characters escaped. - - The text writer to write the output to. - Input string value. - - - - Converts the number of ticks from the JSON date time format to the one used in .NET DateTime or DateTimeOffset structure. - - The ticks to from the JSON date time format. - The ticks to use in the .NET DateTime of DateTimeOffset structure. - - - - Write the string value with quotes. - - The text writer to write the output to. - String value to be written. - - - - Converts the number of ticks from the .NET DateTime or DateTimeOffset structure to the ticks use in the JSON date time format. - - The ticks from the .NET DateTime of DateTimeOffset structure. - The ticks to use in the JSON date time format. - - - - Converts a given date time to its universal date time equivalent. - - The date time to convert to UTC - universal date time equivalent of the value. - - - - Creates the special character to escaped string map. - - The map of special characters to the corresponding escaped strings. - - - - OData representation of a complex value. - - - - Gets or sets the properties and values of the complex value. - The properties and values of the complex value. - - - Gets or sets the type of the complex value. - The type of the complex value. - - - - Describes a collection of entities. - - - - - URI representing the next page link. - - - - - URI representing the delta link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the number of items in the feed. - The number of items in the feed. - - - Gets or sets the URI that identifies the entity set represented by the feed. - The URI that identifies the entity set represented by the feed. - - - Gets or sets the URI representing the next page link. - The URI representing the next page link. - - - - URI representing the delta link. - - - - - Collection of custom instance annotations. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single link. - - - - the metadata builder for this navigation link. - - - URI representing the Unified Resource Locator (Url) of the link as provided by the user or seen on the wire (never computed). - - - true if the navigation link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - The association link URL for this navigation link as provided by the user or seen on the wire (never computed). - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this navigation link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets a value that indicates whether the navigation link represents a collection or an entry. - true if the navigation link represents a collection; false if the navigation represents an entry. - This property is required to have a value for ATOM payloads and is optional for JSON payloads. - - - Gets or sets the name of the link. - The name of the link. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - - - The association link URL for this navigation link. - - - - Represents a media resource. - - - - the metadata builder for this OData entry. - - - The name of the named stream this value belongs to; null for the default media resource. - - - Edit link for media resource. - - - Edit link for media resource. - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - Read link for media resource. - - - Read link for media resource. - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - Sets the metadata builder for this stream reference value. - - The metadata builder used to compute values from model annotations. - The property name for the named stream; null for the default media resource. - - - - Gets the metadata builder for this stream reference value. - - The metadata builder used to compute links. - - - Gets or sets the edit link for media resource. - The edit link for media resource. - - - Gets or sets the read link for media resource. - The read link for media resource. - - - Gets or sets the content media type. - The content media type. - - - Gets or sets the media resource ETag. - The media resource ETag. - - - - Represents a single property of an entry. - - - - - The value of this property, accessed and set by both and . - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the property name. - The property name. - - - Gets or sets the property value. - The property value. - - - - Property value, represented as an ODataValue. - - - This value is the same as , except that primitive types are wrapped - in an instance of ODataPrimitiveValue, and null values are represented by an instance of ODataNullValue. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single entity. - - - - the metadata builder for this OData entry. - - - The entry ETag, as provided by the user or seen on the wire (never computed). - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - The Entry ID, as provided by the user or seen on the wire (never computed). - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - Link used to edit the entry, as provided by the user or seen on the wire (never computed). - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - A link that can be used to read the entry, as provided by the user or seen on the wire (never computed). - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - The default media resource of the media link entry, as provided by the user or seen on the wire (never computed). - - - The entry properties provided by the user or seen on the wire (never computed). - - - The entry actions provided by the user or seen on the wire (never computed). - - - The entry functions provided by the user or seen on the wire (never computed). - - - - Provides additional serialization information to the for this . - - - - Gets or sets the entry ETag. - The entry ETag. - - - Gets or sets the Entry identifier. - The Entry identifier. - - - Gets or sets the link used to edit the entry. - The link used to edit the entry. - - - Gets or sets a link that can be used to read the entry. - The link that can be used to read the entry. - - - Gets or sets the default media resource of the media link entry. - The default media resource of the media link entry. - - - Gets or sets the association links. - The association links. - - - Gets or sets the entity actions. - The entity actions. - - - Gets or sets the entity functions. - The entity functions. - - - Gets or sets the entry properties. - The entry properties. - - Non-property content goes to annotations. - - - - Gets or sets the type name of the entry. - The type name of the entry. - - - - Collection of custom instance annotations. - - - - - The metadata builder for this OData entry. - - - - - Returns the entry's Id property that has been set directly, and was not computed using the metadata builder. - - - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's EditLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ReadLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ETag property that has been set directly, and was not computed using the metadata builder. - - - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - - Returns the default media resource of the media link entry that has been set directly and was not computed using the metadata builder. - - - Returns the entity properties that has been set directly and was not computed using the metadata builder. - - - Returns the entity actions that has been set directly and was not computed using the metadata builder. - - - Returns the entity functions that has been set directly and was not computed using the metadata builder. - - - - Provides additional serialization information to the for this . - - - - - Class with utility methods for working with and implementing Task based APIs - - - - - Already completed task. - - - - - Returns an already completed task instance with the specified result. - - Type of the result. - The value of the result. - An already completed task with the specified result. - - - - Returns an already completed task instance with the specified error. - - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task instance with the specified error. - - Type of the result. - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task for the specified synchronous operation. - - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over CompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation. - - The type of the result returned by the operation. This MUST NOT be a Task type. - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over GetCompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The type of the task result. - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted and it failed with exception of type TExceptionType. - - The type of the result of the task. - The exception type to catch. - The task to "append" the operation to. - The operation to execute if the faulted with an exception of type TExceptionType. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails and the exception is not of the TExceptionType, - if the exception type matches, the task will return the value returned by the catchBlock. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - Suppresses default exception handling of a Task that would otherwise reraise the exception on the finalizer thread. - The Task to be monitored. - The original Task. - - - Gets the TaskScheduler instance that should be used to schedule tasks. - Factory to get the scheduler for. - The scheduler for the specified factory. - - - Asynchronously iterates through an enumerable of tasks. - The target factory. - The enumerable containing the tasks to be iterated through. - A Task that represents the complete asynchronous operation. - - - - The func used as the continuation (the func in the ContinueWith) for FollowOnSuccess implementations. - - The type of the result of the operation to follow up with. - The task which just finished. - The task completion source to apply the result to. - The func to execute as the follow up action in case of success of the . - - - - The implementation helper for FollowOnSuccess methods which don't allow result type of Task. - - The type of the result of the followup operation, this MUST NOT be a Task type. - The task to follow with operation. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFault methods. - - The type of the result of the task. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFaultAndCatchException methods. - - The type of the result of the task. - The type of the exception to catch. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - Function which gets a task result. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns already completed task instance. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The format '{0}' does not support writing a payload of kind '{1}'." - - - - - A string like "The format '{0}' does not support writing custom instance annotations." - - - - - A string like "The format '{0}' does not support reading a payload of kind '{1}'." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but the metadata document URI or the metadata for the item to be written was not specified for the writer. The metadata document URI and the metadata for the item to be written must be provided to the writer when using relative URI values." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but a base URI was not specified for the writer. A base URI must be set when using relative URI values." - - - - - A string like "The property '{0}' is a stream property, but it is not a property of an ODataEntry instance. In OData, stream properties must be properties of ODataEntry instances." - - - - - A string like "An invalid state transition has been detected in an OData writer. Cannot transition from state '{0}' to state '{1}'." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write a navigation link." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. You must first call ODataWriter.WriteEnd to finish writing a null ODataEntry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write an entry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing further can be written once the writer has completed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing can be written once the writer entered the error state." - - - - - A string like "ODataWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Entry', 'Feed', 'NavigationLink', and 'NavigationLinkWithContent'." - - - - - A string like "Multiple properties with the name '{0}' were detected in an entry or a complex value. In OData, duplicate property names are not allowed." - - - - - A string like "Multiple navigation links with the same name '{0}' for a singleton navigation property were detected on an entry. In OData, a singleton navigation property can have only one navigation link." - - - - - A string like "Multiple annotations with the name '{0}' were detected. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the property with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the instance annotation with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "An annotation with name '{0}' for property '{1}' was detected after the property, or after an annotation for another property. In OData, annotations for a property must be in a single group and must appear before the property they annotate." - - - - - A string like "Cannot convert a value of type '{0}' to the string representation of an Atom primitive value." - - - - - A string like "The value of type '{0}' is not supported and cannot be converted to a JSON representation." - - - - - A string like "The version '{0}' specified by the payload is higher than the maximum protocol version '{1}' specified by the ODataMessageReaderSettings.MaxProtocolVersion property." - - - - - A string like "The property '{0}' is not supported when ODataVersion is greater than '{1}'." - - - - - A string like "Parameters in the payload are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Association links are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The inline count feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The next link feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The delta link feature is only supported in version 3.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "A collection property '{0}' was detected; Collection properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {1}." - - - - - A string like "Collection types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Stream properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The entity property mapping specified on type '{0}' is only supported in version {1} of the OData protocol and higher versions. It is not supported in version {2}." - - - - - A string like "Geography and Geometry types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The '{0}' value for the href of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When an href is specified in metadata, the href values must match." - - - - - A string like "The '{0}' value for the title of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a title is specified in metadata, the titles must match." - - - - - A string like "The '{0}' value for the relation of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a relation is specified in metadata, the relations must match." - - - - - A string like "The '{0}' value for the media type of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. If a media type is specified in metadata, the media types must match." - - - - - A string like "An annotation of type string was expected for the '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' annotation, but an annotation of type '{1}' was found." - - - - - A string like "The '{0}' value for the term of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a term is specified in Atom metadata, the terms must match." - - - - - A string like "The '{0}' value for the scheme of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a scheme is specified in Atom metadata, the schemes must match." - - - - - A string like "The text kind '{1}' specified by the atom metadata property '{0}' conflicts with the text kind '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify text kinds, those text kinds must be equal." - - - - - A string like "The value '{1}' specified by the atom metadata property '{0}' conflicts with the value '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify a value, these values must be equal." - - - - - A string like "The content type '{0}' is not supported when writing raw values." - - - - - A string like "Cannot set message headers for the invalid payload kind '{0}'." - - - - - A string like "The payload kind '{0}' used in the last call to ODataUtils.SetHeadersForPayload is incompatible with the payload being written, which is of kind '{1}'." - - - - - A string like "The stream property '{0}' cannot be written to the payload as a top level property." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with an owning type '{0}' of kind '{1}'. The owning type of a property can only be of kind Complex or Entity." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with a producing function import with return type '{0}'. The producing function import for property payloads must return type which is either a primitive, complex, primitive collection of complex collection type." - - - - - A string like "The navigation property named '{0}' given to ODataMessageWriter.WriteEntityReferenceLinks represents a singleton property. When writing multiple entity reference links, the navigation property must be a collection." - - - - - A string like "A JsonPaddingFunctionName was specified, but the content-type '{0}' is not supported with Json Padding." - - - - - A string like "The type '{0}' specified as the collection's item type is not primitive or complex. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "Cannot create an ODataCollectionWriter for ODataFormat.{0}. Only ODataFormat.PlainXml and ODataFormat.Json are supported." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write the collection or to write nothing at all." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or to write the end of the collection." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or the end of the collection." - - - - - A string like "ODataCollectionWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Start', 'Collection', and 'Item'." - - - - - A string like "A collection with name '{0}' is being written with producing function import name '{1}'. If the producing function import is specified the collection name must be either null or match the name of the function import." - - - - - A string like "The producing function import '{0}' specified for the collection writer returns type '{1}' which is not a collection of primitive or complex values. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "An invalid HTTP method '{0}' was detected for a query operation. Query operations only support the HTTP 'GET' method." - - - - - A string like "An invalid HTTP method '{0}' was detected for a request in a change set. Requests in change sets only support the HTTP methods 'POST', 'PUT', 'DELETE', 'MERGE', and 'PATCH'." - - - - - A string like "The header with name '{0}' was not present in the header collection of the batch operation." - - - - - A string like "Multiple headers with names that match '{0}', when using a case insensitive comparison, have been added. When case-insensitive header names are used, at most one header can be added for each name." - - - - - A string like "The parameter '{0}' has already been written. Duplicate parameter names are not allowed in the parameter payload." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call WriteValue on a parameter that is not of Edm type kinds 'Primitive' or 'Complex'." - - - - - A string like "The value for parameter '{0}' is of type '{1}'. WriteValue can only write null, ODataComplexValue and primitive types that are not Stream type." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call CreateCollectionWriter on a parameter that is not of Edm type kind 'Collection'." - - - - - A string like "The name '{0}' is not a recognized parameter name for function import '{1}'." - - - - - A string like "The parameters {0} of the function import '{1}' could not be found when writing the parameter payload. All parameters present in the function import must be written to the parameter payload." - - - - - A string like "The current batch message contains too many parts. Only batch messages with a maximum number of '{0}' query operations and change sets are allowed." - - - - - A string like "The current change set contains too many operations. Only change sets with a maximum number of '{0}' operations are allowed." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader. When the relative URI is a reference to a content ID, the content ID does not exist in the current change set." - - - - - A string like "The method CreateOperationRequestMessage was called in state '{0}', which is not allowed. CreateOperationRequestMessage can only be called in state 'Operation'." - - - - - A string like "The method CreateOperationResponseMessage was called in state '{0}', which is not allowed. CreateOperationResponseMessage can only be called in state 'Operation'." - - - - - A string like "ODataBatchReader.ReadAsync or ODataBatchReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current batch message contains too many parts. A maximum number of '{0}' query operations and change sets are allowed in a batch message." - - - - - A string like "The current change set contains too many operations. A maximum number of '{0}' operations are allowed in a change set." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The message header '{0}' is invalid. The header value must be of the format '<header name>: <header value>'." - - - - - A string like "The request line '{0}' is invalid. The request line at the start of each operation must be of the format 'HttpMethod RequestUrl HttpVersion'." - - - - - A string like "The response line '{0}' is invalid. The response line at the start of each operation must be of the format 'HttpVersion StatusCode StatusCodeString'." - - - - - A string like "The HTTP version '{0}' used in a batch operation request or response is not valid. The value must be '{1}'." - - - - - A string like " The HTTP status code '{0}' is invalid. An HTTP status code must be an integer value." - - - - - A string like "A missing or invalid '{0}' header was found. The '{0}' header must be specified for each batch operation, and its value must be '{1}'." - - - - - A string like "The '{0}' header value '{1}' is invalid. When this is the start of the change set, the value must be '{2}'; otherwise it must be '{3}'." - - - - - A string like "The content length header '{0}' is not valid. The content length header must be a valid Int32 literal and must be greater than or equal to 0." - - - - - A string like "The header '{0}' was specified multiple times. Each header must appear only once in a batch part." - - - - - A string like "Invalid multi-byte encoding '{0}' detected. Multi-byte encodings other than UTF-8 are only supported for operation payloads. They are not supported in batch or change set parts." - - - - - A string like "Too many white spaces after a boundary delimiter and before the terminating line feed. For security reasons, the total number of characters for a boundary including white spaces must not exceed {0}." - - - - - A string like "The MIME type '{0}' is invalid or unspecified." - - - - - A string like "The MIME type '{0}' requires a '/' character between type and subtype, such as 'text/plain'." - - - - - A string like "The MIME type '{0}' requires a subtype definition." - - - - - A string like "The MIME type is missing a parameter value for a parameter with the name '{0}'." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the escape character '{3}' is not inside a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because it terminates with the escape character '{3}'. In a quoted-string, the escape characters must always be followed by a character." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the closing quote character was not found for the quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the character '{3}' is not allowed in a quoted-string. For more information, see RFC 2616, Sections 3.6 and 2.2." - - - - - A string like "The MIME type '{0}' requires a semi-colon character (';') before a parameter definition." - - - - - A string like "An invalid quality value was detected in the header string '{0}'; quality values must start with '0' or '1' but not with '{1}'." - - - - - A string like "An invalid quality value '{0}' was detected in the header string '{1}'; quality values must be in the range [0, 1]." - - - - - A string like "An error occurred when converting the character '{0}' to an integer." - - - - - A string like "The separator ',' was missing between charset values in the header '{0}'." - - - - - A string like "A separator character was missing between charset values in the header '{0}'." - - - - - A string like "An invalid (empty) charset name found in the header '{0}'." - - - - - A string like "An unexpected end of the q-Value was detected in the header '{0}'." - - - - - A string like "The expected literal '{0}' was not found at position '{1}' in the string '{2}'." - - - - - A string like "The string '{0}' cannot be converted into a supported HTTP method. The only supported HTTP methods are GET, DELETE, PUT, POST, PATCH and MERGE." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a recognized separator. The supported separators are ',', ';', and '='." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token is expected but a quoted-string is found instead." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token or a quoted-string is expected at this position but were not found." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a valid separator after a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the header value should not end with the separator '{3}'." - - - - - A string like "The character set '{0}' is not supported." - - - - - A string like "A supported MIME type could not be found that matches the acceptable MIME types for the request. The supported type(s) '{0}' do not match any of the acceptable MIME types '{1}'." - - - - - A string like "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) '{0}' matches the content type '{1}'." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "The content type '{0}' specifies a batch payload; however, the payload either does not include a batch boundary or includes more than one boundary. In OData, batch payload content types must specify exactly one batch boundary in the '{1}' parameter of the content type." - - - - - A string like "The '{0}' value provided for the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The value '{0}' of the targetNamespaceUri parameter provided to the EntityPropertyMappingAttribute does not have a valid URI format." - - - - - A string like "The PropertyName property value '{1}' set in the EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type." - - - - - A string like "The property '{0}' provided in the middle of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a complex type." - - - - - A string like "More than one EntityPropertyMappingAttribute on type '{0}' have a 'PropertyName' value '{1}'. In OData, an entity property cannot be mapped more than once." - - - - - A string like "The property '{0}' on type '{1}' is not present." - - - - - A string like "The property '{0}' defined on type '{1}' is not present in the instance of the type." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'Edm.Stream'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' does not have a primitive type. Only open primitive properties can be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid because it contains an empty segment." - - - - - A string like "The TargetName property paths '{0}' and '{1}' set in two EntityPropertyMappingAttribute instances are invalid because they would result in mixed content. Mixed content produced by entity property mappings is not supported." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the 'TargetName' property of EntityPropertyMappingAttribute." - - - - - A string like "More than one EntityPropertyMappingAttribute on the type '{0}' have the same 'TargetName' value '{1}'. The conflicting properties are '{2}' and '{3}'. In OData, target names of entity property mappings must be unique on a given type." - - - - - A string like "The property value corresponding to '{0}' property in SyndicationItemProperty could not be converted to the type DateTimeOffset." - - - - - A string like "The collection property '{0}' has no items but is mapped to the author element. Only non-empty collection properties can be mapped to the author element in an entry." - - - - - A string like "The property '{0}' on type '{1}' that is mapped to '{2}' has a 'null' value. Properties that are mapped to attributes cannot be null." - - - - - A string like "'{0}' is not a valid value for 'atom:link/@length' attribute. " - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'link/@rel' is not valid. Properties that are mapped to 'link/@rel' cannot have values that are Atom-defined simple identifiers, such as alternate, related, self, enclosure, via, describedby, service, edit, or edit-media; cannot be an Atom-defined simple identifier following the IANA namespace, such as 'http://www.iana.org/assignments/relation/edit'; and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'category/@scheme' is not valid. Properties that are mapped to 'category/@scheme' must have values that are URIs and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "Expected literal type token but found token '{0}'." - - - - - A string like "The relative URI '{0}' cannot be escaped because it starts with '{1}' and a base URI is not available. Relative URIs without a base URI cannot start with '/', '\\' or '..'." - - - - - A string like "The type '{0}' is not supported when converting to a URI literal." - - - - - A string like "The format '{0}' is not supported when converting to a URI literal. The supported formats are ODataFormat.JsonLight and ODataFormat.VerboseJson." - - - - - A string like "Type verification failed. Expected type '{0}' but received the value '{1}'." - - - - - A string like "Type verification failed. Expected type '{0}' but received non-matching null value with associated type '{1}'." - - - - - A string like "Type verification failed. Expected non-nullable type '{0}' but received a null value." - - - - - A string like "The value of type '{0}' could not be converted to the string representation of a raw primitive value." - - - - - A string like "A default MIME type could not be found for the requested payload in format '{0}'." - - - - - A string like "The value '{0}' of the DataServiceVersion HTTP header is invalid. Only '1.0', '2.0' and '3.0' are supported as values for the DataServiceVersion header." - - - - - A string like "The value returned by the '{0}' property cannot be modified until the end of the owning entry is reported by the reader." - - - - - A string like "A null value was found with the expected type '{0}[Nullable=False]'. The expected type '{0}[Nullable=False]' does not allow null values." - - - - - A string like "A null value was found for the property named '{0}', which has the expected type '{1}[Nullable=False]'. The expected type '{1}[Nullable=False]' does not allow null values." - - - - - A string like "Complex type '{1}' is a subtype of a base type '{0}'. Derived complex types are not supported." - - - - - A string like "Cannot convert a primitive value to the expected type '{0}'. See the inner exception for more details." - - - - - A string like "The base URI '{0}' specified in ODataMessageReaderSettings.BaseUri is invalid; it must be either null or an absolute URI." - - - - - A string like "An undeclared property '{0}' was found on type '{1}', which is marked as open; however, either the ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or the ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting is used. The ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting cannot be used with open types." - - - - - A string like "The metadata URI '{0}' references the entity set with name '{1}'; however, the name of the expected entity set is '{2}' and does not match the entity set referenced in the metadata URI." - - - - - A string like "The metadata URI '{0}' references the entity type with name '{1}'; however, the name of the expected entity type is '{2}' which is not compatible with the entity type with name '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the name of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the declaring type of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected producing function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' which returns a collection with item type '{2}'; however, the item type of the collection returned by the expected producing function import is '{3}'." - - - - - A string like "The metadata URI '{0}' references a property with name '{1}' on type '{2}'; however, a producing function import with name '{3}' was specified." - - - - - A string like "The metadata URI '{0}' references a function import with name '{1}'; however, an expected structural property with name '{2}' on type '{3}' was specified." - - - - - A string like "The collection name '{0}' was read from the payload; however, the name of the expected producing function import is '{1}'." - - - - - A string like "The property or function import name '{0}' was read from the payload; however, the name of the expected property or function import is '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the expected property with the same name is declared on type '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' and type '{2}' on declaring type '{3}'; however, the expected property type is '{4}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' and return type '{2}'; however, the expected return type is '{3}'." - - - - - A string like "The metadata URI '{0}' references the type '{1}'; however the expected type is '{2}'." - - - - - A string like "The metadata URI '{0}' refers to the item type '{1}' which is not assignable to the expected item type '{2}'." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The expected type can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The entity set can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The function import can only be specified if metadata is made available to the reader." - - - - - A string like "The producing function import '{0}' for a collection reader has the return type '{1}'. Only function imports returning collections of primitive or complex values can be specified as the producing function import for a collection reader." - - - - - A string like "The expected type for a collection reader is of kind '{0}'. Only types of Primitive or ComplexType kind can be specified as the expected type for a collection reader." - - - - - A string like "The expected type for a value is of kind '{0}'. Only types of Primitive kind can be specified as the expected type for reading a value." - - - - - A string like "The wildcard '*' was detected in the value '{0}' of the content type header. The value of the content type header cannot contain wildcards." - - - - - A string like "The navigation property '{0}' with singleton cardinality on type '{1}' was specified for reading a collection of entity reference links. A navigation property with collection cardinality has to be provided." - - - - - A string like "The content type '{0}' specifies a batch payload but does not include a batch boundary. In OData, batch payload content types must specify a batch boundary in the '{1}' parameter of the content type." - - - - - A string like "ODataReader.ReadAsync or ODataReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "Calling Read or ReadAsync on an ODataReader instance is not allowed in state '{0}'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed. A 'StartObject' or 'EndArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a feed. A 'StartObject' or 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was expected." - - - - - A string like "Cannot convert a value of type 'Edm.Int32' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Double' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Boolean' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTime' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTimeOffset' to the expected target type '{0}'." - - - - - A string like "Multiple '{0}' properties were found in the value of the '__metadata' property. In OData, the value of the '__metadata' property must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link wrapper object. In OData, an entity reference link wrapper must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an error or inner error object. In OData, an error or inner error must have at most one '{0}' property." - - - - - A string like "The '{0}' property in a feed wrapper has a null value. In OData, the '{0}' property must have a non-null value." - - - - - A string like "The '{0}' property in the value of the '__mediaresource' property has a null value. In OData, the '{0}' property must have a string value." - - - - - A string like "The '{0}' property for a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in the value of the '__metadata' property has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. If the payload contains a relative URI a base URI must be specified on the reader settings." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In OData, entity reference links must be objects." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a 'StartArray' node was expected." - - - - - A string like "Multiple '{0}' properties were found for a stream reference value. In OData, a stream reference value can only contain one '{0}' property." - - - - - A string like "Found a node of type '{1}' when starting to read the property value, however a node of type 'StartObject' was expected. The '{0}' property of an entry metadata must have an object value. " - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartObject' or 'StartArray' node was expected." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' is not an annotation. In OData, JSON Light annotation groups can only contain instance and property annotations." - - - - - A string like "Multiple annotation groups with name '{0}' were found in the payload. In OData, annotation group names must be unique for the entire payload and the same annotation group instance has to be used for its declaration and when referencing it." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}'. The 'Target' property value of these operations must be set to a non-null value." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}' and the same 'Target' property value of '{1}'. When multiple operations have the same 'Metadata' property value, their 'Target' property values must be unique." - - - - - A string like "A property with name '{0}' was found in the error object when reading a top-level error. In OData, a top-level error object must have exactly one property with name 'error'." - - - - - A string like "A property with name '{0}' was found in the message value of a top-level error. In OData, the message value of a top-level error value can only have properties with name 'lang' or 'value'." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected." - - - - - A string like "Multiple '{0}' properties were found in a collection. In OData, a collection can only have one '{0}' property." - - - - - A string like "The 'type' property value '{0}' is not a valid type name. The value of the 'type' property must be a non-empty string." - - - - - A string like "The 'type' property value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "Found a node of type '{0}' when starting to read the property value; however, a node of type 'StartObject' was expected. The '__metadata' property must have an object value." - - - - - A string like "ODataCollectionReader.ReadAsync or ODataCollectionReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current state of the collection reader is '{0}'; however, the expected item type of a collection reader can only be set in state '{1}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state. '{1}' must be called in this state, and the created reader must be in the 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state and '{1}' was called but the created reader is not in the 'Completed' state. The created reader must be in 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "You cannot call the method '{0}' in state '{1}'." - - - - - A string like "The '{0}' method has already been called for the parameter '{1}'. Only one create reader method call is allowed for each entry, feed, or collection parameter." - - - - - A string like "The parameter '{0}' in the request payload is not a valid parameter for the function import '{1}'." - - - - - A string like "Multiple parameters with the name '{0}' were found in the request payload." - - - - - A string like "One or more parameters of the function import '{0}' are missing from the request payload. The missing parameters are: {1}." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. The supported type kinds are Primitive, Complex, Primitive Collection and Complex Collection." - - - - - A string like "When trying to read a null collection parameter value in verbose JSON, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a 'null' value was expected." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a collection with a collection wrapper object. A 'StartObject' node was expected." - - - - - A string like "When trying to read the start of a collection without a collection wrapper object, a node of type '{0}' was read from the JSON reader; however, a 'StartArray' node was expected." - - - - - A string like "The 'Metadata' property on an {0} must be set to a non-null value." - - - - - A string like "The 'Target' property on an {0} must be set to a non-null value." - - - - - A string like "The '{0}' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "The property '{0}' does not exist on type '{1}'. Make sure to only use property names that are defined by the type." - - - - - A string like "A primitive value was specified; however, a value of the non-primitive type '{0}' was expected." - - - - - A string like "Unsupported primitive type. A primitive type could not be determined for an instance of type '{0}'." - - - - - A string like "An incompatible primitive type '{0}[Nullable={1}]' was found for an item that was expected to be of type '{2}[Nullable={3}]'." - - - - - A string like "Type name '{0}' is an invalid collection type name; a collection type name must be in the format 'Collection(<itemTypeName>)'." - - - - - A string like "A type named '{0}' could not be resolved by the model. When a model is available, each type name must resolve to a valid type." - - - - - A string like "Incompatible type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with type '{0}' was found, which is of kind '{1}'. Value can only be of kind 'Primitive', 'Complex' or 'Collection'." - - - - - A string like "The property '{0}' cannot be a stream property because it is not of kind EdmPrimitiveTypeKind.Stream." - - - - - A string like "The ETag value '{0}' is not valid. An ETag value must be a quoted string or 'W/' followed by a quoted string. Refer to HTTP RFC 2616 for details on valid ETag formats." - - - - - A string like "A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as '{0}', but the type specified in the metadata is '{1}'." - - - - - A string like "An open collection property '{0}' was found. In OData, open collection properties are not supported." - - - - - A string like "An open stream property '{0}' was found. In OData, open stream properties are not supported." - - - - - A string like "An invalid collection type kind '{0}' was found. In OData, collection types must be of kind 'Collection'." - - - - - A string like "An entry with type '{0}' was found with a media resource, but this entity type is not a media link entry (MLE). When the type is not an MLE entity, the entry cannot have a media resource." - - - - - A string like "An entry with type '{0}' was found without a media resource, but this entity type is a media link entry (MLE). When the type is an MLE entity, the entry must have a media resource." - - - - - A string like "An entry with type '{0}' was found, but it is not assignable to the expected type '{1}'. The type specified in the entry must be equal to either the expected type or a derived type." - - - - - A string like "A navigation property with name '{0}' was found on type '{1}', however this property was not declared. Open navigation properties are not supported; all navigation properties must be declared in metadata." - - - - - A string like "A property with name '{0}' on type '{1}' has kind '{2}', but it is expected to be of kind 'Navigation'." - - - - - A string like "The boundary delimiter '{0}' is invalid. A boundary delimiter must be non-null, be non-empty, and have a maximum of {1} characters." - - - - - A string like "The maximum recursion depth limit was reached. The depth of nested values in a single property cannot exceed {0}." - - - - - A string like "The depth limit for entries in nested expanded navigation links was reached. The number of nested expanded entries cannot exceed {0}." - - - - - A string like "A null value was found in a collection, but the expected collection item type '{0}' does not allow null values." - - - - - A string like "The property name '{0}' is invalid; property names must not contain any of the reserved characters {1}." - - - - - A string like "The maximum number of entity property mappings allowed on an entity type and all its base types has been exceeded. A total of {0} entity property mappings were found, but a maximum of {1} entity property mappings are allowed." - - - - - A string like "Encountered a property '{0}' that was expected to be a reference to a location in the $metadata document but does not contain a '#' character or is otherwise not a valid metadata reference property. A metadata reference property must contain a '#' and be a valid absolute URI or begin with a '#' and be a valid URI fragment." - - - - - A string like "A top level property with name '{0}' and a producing function import with name '{1}' is being written. If the producing function import is specified the property name must be either null or must match the function import name." - - - - - A string like "A duplicate value '{0}' was detected as the name of a resource collection. Resource collections must have unique names in a given workspace." - - - - - A string like "The base URI '{0}' specified in ODataMessageWriterSettings.BaseUri is invalid; it must either be null or an absolute URI." - - - - - A string like "The type '{0}' of an entry in an expanded link is not compatible with the element type '{1}' of the expanded link. Entries in an expanded link must have entity types that are assignable to the element type of the expanded link." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the actual payload is an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the actual payload is a feed." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the metadata declares it as an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the metadata declares it as feed." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is a feed, but the metadata declares it as an entry." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is an entry, but the metadata declares it as feed." - - - - - A string like "The collection property '{0}' has a null value, which is not allowed. In OData, collection properties cannot have null values." - - - - - A string like "The property '{0}[Nullable=False]' of type '{1}' has a null value, which is not allowed." - - - - - A string like "The stream property '{0}' has a null value, which is not allowed. In OData, stream properties cannot have null values." - - - - - A string like "An action or a function with metadata '{0}' was detected when writing a request; actions and functions are only supported in responses." - - - - - A string like "An association link with name '{0}' could not be written to the request payload. Association links are only supported in responses." - - - - - A string like "An stream property with name '{0}' could not be written to the request payload. Stream properties are only supported in responses." - - - - - A string like "The metadata document URI '{0}' specified in ODataMessageWriterSettings.MetadataDocumentUri is invalid; it must be either null or an absolute URI." - - - - - A string like "The ODataNavigationLink.Url property on an navigation link '{0}' is null. The ODataNavigationLink.Url property must be set to a non-null value that represents the entity or entities the navigation link references." - - - - - A string like "The ODataNavigationLink.IsCollection property on a navigation link '{0}' is null. The ODataNavigationLink.IsCollection property must be specified when writing a link into a request." - - - - - A string like "An XML node of type '{0}' was found in a string value. An element with a string value can only contain Text, CDATA, SignificantWhitespace, Whitespace or Comment nodes." - - - - - A string like "An XML node of type '{0}' was found at the root level. The root level of an OData payload must contain a single XML element and no text nodes." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and value 'true', it must be empty." - - - - - A string like "The metadata document could not be read from the message content.\r\n{0}" - - - - - A string like "The metadata document could not be written as specified.\r\n{0}" - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The required '{0}' attribute is missing on type '{1}'." - - - - - A string like "The required '{0}' attribute is missing on property '{1}' on type '{2}'." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to an AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to an AtomPub element." - - - - - A string like "The value for the annotation with namespace '{0}' and local name '{1}' is of type '{2}'. Only string values are supported." - - - - - A string like "A navigation link '{0}' was found with type 'feed', but its matching navigation property is of kind EntityReference. A navigation link with type 'feed' must match a navigation property of kind EntitySetReference." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. When the payload contains a relative URI, there must be an xml:base in the payload or else a base URI must specified in the reader settings." - - - - - A string like "A child element of the collection was named '{0}'. Each child element representing the value of the collection must be named 'element', and each must belong to the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level collection must have the root element in the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level property payload must have the root element in the '{1}' namespace." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and a value of 'true', it must be empty." - - - - - A string like "The element with name '{0}' is not a valid collection item. The name of the collection item element must be 'element' and it must belong to the '{1}' namespace." - - - - - A string like "The property '{0}' on type '{1}' was found in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element, and it is declared as a navigation property. Navigation properties in ATOM must be represented as {{http://www.w3.org/2005/Atom}}:link elements." - - - - - A string like "Writing null value for the instance annotation '{0}' is not allowed. The instance annotation '{0}' has the expected type '{1}[Nullable=False]'." - - - - - A string like "A node of type '{0}' was found where a node of type 'Element' was expected. An entry must be represented as an XML element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, an entry was expected. An entry must be represented as an {{http://www.w3.org/2005/Atom}}:entry element." - - - - - A string like "The 'type' attribute on element {{http://www.w3.org/2005/Atom}}:content is either missing or has an invalid value '{0}'. Only 'application/xml' and 'application/atom+xml' are supported as the value of the 'type' attribute on the {{http://www.w3.org/2005/Atom}}:content element." - - - - - A string like "An XML node '{0}' was found in the {{http://www.w3.org/2005/Atom}}:content element. The only valid child nodes of the {{http://www.w3.org/2005/Atom}}:content element are insignificant nodes and the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, a feed was expected. A feed must be represented as a {{http://www.w3.org/2005/Atom}}:feed element." - - - - - A string like "An element with name '{0}' in namespace 'http://www.w3.org/2005/Atom' was found inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element. Only 'entry' and 'feed' elements from the 'http://www.w3.org/2005/Atom' namespace, or elements from other namespaces are allowed inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Another expanded '{0}' was found in {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline, but it already contains an expanded feed or entry. Only one expanded feed or expanded entry is allowed in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Multiple edit links were found for the stream property '{0}'. Only one edit link is allowed for a given stream property." - - - - - A string like "Multiple read links were found for the stream property '{0}'. Only one read link is allowed for a given stream property." - - - - - A string like "Multiple content type values were found for the stream property '{0}'. When a stream property is represented as two {{http://www.w3.org/2005/Atom}}:link elements that both have the 'type' attribute, then both values must be the same." - - - - - A string like "Found a stream property '{0}', but there is already another property with the same name on the entity. The stream property name cannot conflict with the name of another property." - - - - - A string like "The 'metadata' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "The 'target' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on an entry. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on a feed. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Duplicate '{{{0}}}:{1}' elements were found. In OData, at most one '{{{0}}}:{1}' element is allowed." - - - - - A string like "The value of the 'type' attribute on the association link for the navigation property '{0}' is invalid. The value of the 'type' attribute on an association link must be 'application/xml'. " - - - - - A string like "Encountered an 'annotation' element with a 'target' attribute value of '{0}' and a term name of '{1}'. When an 'annotation' element occurs as a direct child of an 'entry' or 'feed' element, it must have either no 'target' attribute or a 'target' attribute with a value of '.'." - - - - - A string like "A root element with name '{0}' was found in namespace '{1}'. The root element of a service document must be named 'service' and it must belong to the 'http://www.w3.org/2007/app' namespace." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. With the exception of extension elements, a service document can contain only a single {{http://www.w3.org/2007/app}}:workspace element." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. A workspace element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:collection element." - - - - - A string like "An element with name '{0}' was fond in namespace 'http://www.w3.org/2007/app'. A {{http://www.w3.org/2007/app}}:collection element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:accept or {{http://www.w3.org/2007/app}}:categories element." - - - - - A string like "The type attribute with value '{0}' was fond on an Atom text construct element with local name '{1}'. The type attribute must be missing or else it must have a value 'text', 'html' or 'xhtml'." - - - - - A string like "Multiple '{0}' elements were found inside a '{1}' element. A '{1}' element cannot contain more than one '{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid root element for an error. The root element of an error must be 'error' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' namespace." - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in a top-level error value. In OData, the value of a top-level error value can have no more than one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element" - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in an inner error value. In OData, the value of an inner error value can have at most one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for an entity reference link. The start element of an entity reference link must be 'uri' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for entity reference links. The start element of entity reference links must be 'links' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "Multiple '{{{0}}}:{1}' elements were found in an entity reference links element. In OData, the value of an entity reference links element must have at most one '{{{0}}}:{1}' element." - - - - - A string like "The entity property mapping with source path '{0}' uses an open complex or collection property. Open complex or collection properties cannot be read through entity property mapping." - - - - - A string like "Multiple values were found for the non-collection property '{0}' on type '{1}' that is mapped to '{2}'." - - - - - A string like "A 'fixed' attribute with the value '{0}' was found on a 'categories' element. When the 'fixed' attribute is not missing, it must have a value of either 'yes' or 'no'." - - - - - A string like "Multiple 'title' elements were found inside a '{0}' element. A '{0}' element can only contain a single {{http://www.w3.org/2005/Atom}}:title element." - - - - - A string like "The specified resource collection name '{0}' does not match the specified title '{1}' as set in AtomResourceCollectionMetadata.Title." - - - - - A string like "An invalid item type kind '{0}' was found. Items in a collection can only be of type kind 'Primitive' or 'Complex', but not of type kind '{0}'." - - - - - A string like "An item of type kind '{0}' was found in a collection that otherwise has items of type kind '{1}'. In OData, all items in a collection must have the same type kind." - - - - - A string like "An item with type name '{0}' was found in a collection of items with type name '{1}'. In OData, all items in a collection must have the same type name." - - - - - A string like "An entry of type '{0}' was found in a feed that otherwise has entries of type '{1}'. In OData, all entries in a feed must have a common base type." - - - - - A string like "The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of {0} bytes has been read from the stream; however a maximum of {1} bytes is allowed." - - - - - A string like "The custom type resolver set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior returned 'null' when resolving the type '{0}'. When a custom type resolver is specified, it cannot return null." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "The property '{0}' is not declared on the non-open type '{1}'." - - - - - A string like "Multiple annotations for term '{0}' were found on element '{1}'. Only a single annotation for the term '{0}' can be specified." - - - - - A string like "Multiple annotations for term '{0}' with qualifier '{1}' were found on element '{2}'. Only a single annotation for the term '{0}' with the qualifier '{1}' can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. Only a single annotation for the term '{0}' without any qualifier can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. A single annotation for the term '{0}' with the qualifier '{3}' is expected." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The entity type '{0}' is not compatible with the base type '{1}' of the provided entity set '{2}'. When an entity type is specified for an OData feed or entry reader, it has to be the same or a subtype of the base type of the specified entity set." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON Light, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "The required property '{0}' was not found at the expected position in the payload. Instead, found a property named '{1}'." - - - - - A string like "The annotation '{0}' was targeting the instance annotation '{1}'. Only the '{2}' annotation is allowed to target an instance annotation." - - - - - A string like "The annotation '{0}' is found targeting the instance annotation '{1}'. However the value for the instance annotation '{1}' is not found immediately after. In JSON Light, an annotation targeting an instance annotation must be immediately followed by the value of the targeted instance annotation." - - - - - A string like "The base type '{0}' of the entity set specified for writing a JSON Light payload is not assignable from the specified entity type '{1}'. When an entity type is specified it has to be the same or derived from the base type of the entity set." - - - - - A string like "The annotation '{0}' was found. This annotation is either not recognized or not expected at the current position." - - - - - A string like "The property '{0}' has a property annotation '{1}'. This annotation is either not recognized or not expected at the current position." - - - - - A string like "An OData property annotation '{0}' was found. This property annotation is either not recognized or not expected at the current position." - - - - - A string like "A property with name '{0}' was found. This property is either not recognized or not expected at the current position." - - - - - A string like "A top-level property with name '{0}' was found in the payload; however, property and collection payloads must always have a top-level property with name '{1}'." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not a valid type name. The value of the 'odata.type' instance annotation must be a non-empty string." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "One or more property annotations for property '{0}' were found in the top-level property or collection payload without the property to annotate. Top-level property and collection payloads must contain a single property, with optional annotations for this property." - - - - - A string like "One or more property annotations for property '{0}' were found in the complex value without the property to annotate. Complex values must only contain property annotations for existing properties." - - - - - A string like "A complex property with an '{0}' property annotation was found. Complex properties must not have the '{0}' property annotation, instead the '{0}' should be specified as an instance annotation in the complex value." - - - - - A string like "The property '{0}' has a property annotation '{1}'. Primitive, complex, collection or open properties can only have an 'odata.type' property annotation." - - - - - A string like "The property with name '{0}' was found after the data property with name '{1}'. If a type is specified for a data property, it must appear before the data property." - - - - - A string like "An '{0}' annotation was read inside a JSON object representing a primitive value; type annotations for primitive values have to be property annotations of the owning property." - - - - - A string like "A top-level property with an invalid primitive null value was found. In OData, top-level properties with null value have to be serialized as JSON object with an '{0}' annotation that has the value '{1}'." - - - - - A string like "Encountered a metadata reference property '{0}' in a scope other than an entry. In OData, a property name with a '#' character indicates a reference into the metadata and is only supported for describing operations bound to an entry." - - - - - A string like "The property with name '{0}' was found in a null payload. In OData, no properties or OData annotations can appear in a null payload." - - - - - A string like "The metadata URI '{0}' references the null value; however the payload is not a null value payload." - - - - - A string like "The '{0}' instance or property annotation has a null value. In OData, the '{0}' instance or property annotation must have a non-null string value." - - - - - A string like "An '{0}' annotation was found with an invalid value. In OData, the only valid value for the '{0}' annotation is '{1}'." - - - - - A string like "The InstanceAnnotations collection has more than one instance annotations with the name '{0}'. All instance annotation names must be unique within the collection." - - - - - A string like "The metadata URI '{0}' was found in a service document payload. Metadata URIs for service documents must not have a fragment." - - - - - A string like "The metadata URI '{0}' is not valid for the expected payload kind '{1}'." - - - - - A string like "The metadata URI '{0}' references the entity set or type '{1}'. However, no entity set or type with name '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' references the property '{1}' on type '{2}'. However, type '{2}' does not declare a property with name '{1}' and is not an open type. " - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI containing an entity set and type cast must either have no suffix or end in '{2}'." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, no entity type '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, the entity type '{1}' is not a subtype of the entity type '{2}' which is the base type of the entity set with name '{3}'." - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI for an entity reference link containing a collection navigation property must end in '{2}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}'. However, a metadata URI for an entity reference link must reference a navigation property which '{1}' is not." - - - - - A string like "The metadata URI '{0}' references the singleton navigation property with name '{1}'. However, when a metadata URI for an entity reference link ends in '{2}' it must reference a collection navigation property." - - - - - A string like "The metadata URI '{0}' has a fragment with '{1}' parts. However, valid metadata URIs must have at most '{2}' parts." - - - - - A string like "The metadata URI '{0}' references the entity set or function import '{1}'. However, no entity set or function import with name '{1}' is declared in the metadata." - - - - - A string like "A '$select' query option was found for the payload kind '{0}'. In OData, a '$select' query option is only supported for payload kinds 'Entry' and 'Feed'." - - - - - A string like "The metadata URI '{0}' has $links in an invalid position. The Metadata URI must specify the entity set, optional type segment, $links, a navigation property." - - - - - A string like "The metadata URI '{0}' references the entity set '{1}'. However, no entity set name '{1}' is declared in the metadata." - - - - - A string like "The '{0}' instance annotation in an entry object is preceded by a property or property annotation. In OData, the '{0}' instance annotation must be before any property or property annotation in an entry object." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of the content of a feed; however, a node of type 'StartArray' was expected." - - - - - A string like "Did not find the required '{0}' property for the expected feed." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a node of type 'StartObject' or 'EndArray' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading a top-level feed. No property annotations, only instance annotations are allowed when reading top-level feeds." - - - - - A string like "A property with name '{0}' was found when reading a top-level feed. No properties other than the feed property with name '{1}' are allowed." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is declared to be of type '{1}'. In OData, only navigation properties and named streams can be represented as properties without values." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is an open property. In OData, open property must be represented as a property with value." - - - - - A string like "The stream property '{0}' has a property annotation '{1}'. Stream property can only have the 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaETag' and 'odata.mediaContentType' property annotations." - - - - - A string like "A stream property '{0}' has a value in the payload. In OData, stream property must not have a value, it must only use property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Deferred navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartArray' node was expected." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded entry navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded feed navigation links can only have the 'odata.navigationLinkUrl', 'odata.associationLinkUrl' and 'odata.nextLink' property annotations." - - - - - A string like "Multiple property annotations '{0}' were found when reading the expanded navigation link '{1}'. Only a single property annotation '{0}' can be specified for an expanded navigation link." - - - - - A string like "A property annotation '{0}' was found after the property '{1}' it is annotating. Only the 'odata.nextLink' property annotation can be used after the property it is annotating." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Navigation links in request payloads can only have the '{2}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has a property annotation '{1}' with an array value. Resource reference navigation properties can only have a property annotation '{1}' with a string value." - - - - - A string like "The resource set reference navigation property '{0}' has a property annotation '{1}' with a string value. Resource set reference navigation properties can only have a property annotation '{1}' with an array value." - - - - - A string like "The value of '{0}' property annotation is an empty array. The '{0}' property annotation must have a non-empty array as its value." - - - - - A string like "The navigation property '{0}' has no expanded value and no '{1}' property annotation. Navigation property in request without expanded value must have the '{1}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has both the '{1}' property annotation as well as a value. Resource reference navigation properties can have either '{1}' property annotations or values, but not both." - - - - - A string like "An undeclared property '{0}' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values." - - - - - A string like "Encountered the function import '{0}' which can not be resolved to an ODataAction or ODataFunction." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple target bindings encountered for the operation '{0}' but the 'target' property was not found in an operation value. To differentiate between multiple target bindings, each operation value must have exactly one 'target' property." - - - - - A string like "The '{0}' property of the operation '{1}' cannot have a null value." - - - - - A string like "Encountered a reference into metadata '{0}' which does not refer to the known metadata url '{1}'. Open metadata reference properties are not supported." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but the {1} annotation is missing from the payload. The payload must only contain absolute URIs or the {1} annotation must be on the payload." - - - - - A string like "The {0} annotation is missing from the payload." - - - - - A string like "When trying to read the start of a collection, the expected collection property with name '{0}' was not found." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A property or annotation for a property with name '{0}' or an instance annotation with name '{0}' was found after reading the items of a top-level collection. No additional properties or annotations are allowed after the collection property." - - - - - A string like "An 'odata.type' annotation with value '{0}' was found for a top-level collection payload; however, top-level collections must specify a collection type." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In JSON Light, entity reference links must be objects." - - - - - A string like "A property annotation with name '{0}' was detected when reading an entity reference link; entity reference links do not support property annotations." - - - - - A string like "An instance annotation with name '{0}' or a property annotation for the property with name '{0}' was found when reading an entity reference link. No OData property or instance annotations are allowed when reading entity reference links." - - - - - A string like "A property with name '{0}' was found when reading an entity reference link. No properties other than the entity reference link property with name '{1}' are allowed." - - - - - A string like "The required property '{0}' for an entity reference link was not found." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link object; however, a single '{0}' property was expected." - - - - - A string like "The '{0}' property of an entity reference link object cannot have a null value." - - - - - A string like "A property with name '{0}' or a property annotation for a property with name '{0}' was found when trying to read a collection of entity reference links; however, a property with name '{1}' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading an entity reference links payload. No property annotations, only instance annotations are allowed when reading entity reference links." - - - - - A string like "Did not find the required '{0}' property for an entity reference links payload." - - - - - A string like "The '{0}' property of an operation '{1}' in '{2}' cannot have a null value." - - - - - A string like "Found a node of type '{1}' when starting to read the '{0}' operations value, however a node of type 'StartObject' was expected. The '{0}' operations value must have an object value. " - - - - - A string like "The '{0}' operations object can only have one property for each distinct metadata; however, a duplicate of metadata '{1}' was found." - - - - - A string like "Found a node of type '{1}' when starting to read the value of the '{0}' property in '{2}'; however, a node of type 'StartArray' was expected. The value of each property in the '{2}' operations object must be an array value." - - - - - A string like "Found a node of type '{1}' when reading an item in the array value of the '{0}' property; however, a node of type 'StartObject' was expected. The items in the array value for the '{0}' property in the '{2}' operations object must be object values." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}' in '{2}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "The 'target' property was not found in an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple '{0}' properties were found in a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in a resource collection in a service document. In OData, a resource collection must have exactly one '{0}' property." - - - - - A string like "No '{0}' property was found for a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Encountered a resource collection without a '{0}' property. In service documents, resource collections must contain a '{0}' property." - - - - - A string like "An unrecognized property annotation '{0}' was found in a '{1}' object in a service document. OData property annotations are not allowed in workspaces." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a '{1}' object in a service document. OData instance annotations are not allowed in workspaces." - - - - - A string like "An unrecognized property annotation '{0}' was found in a resource collection in a service document. OData property annotations are not allowed in resource collections." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a resource collection in a service document. OData instance annotations are not allowed in resource collections." - - - - - A string like "Encountered unexpected property '{0}' in a resource collection. In service documents, resource collections may only have '{1}' and '{2}' properties." - - - - - A string like "Encountered unexpected property '{0}' in a service document. The top level object of a service document may only have a '{1}' property." - - - - - A string like "Encountered a property annotation for the property '{0}' which wasn't immediately followed by the property. Property annotations must occur directly before the property being annotated." - - - - - A string like "One or more property annotations for property '{0}' were found in a parameter payload without the property to annotate. Parameter payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported in JSON Light." - - - - - A string like "When trying to read a null collection parameter value in JSON Light, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a primitive 'null' value was expected." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. Only primitive, complex, primitive collection and complex collection types are supported." - - - - - A string like "An OData property annotation '{0}' was found in an error payload; however, error payloads do not support OData property annotations." - - - - - A string like "An OData instance annotation '{0}' was found in an error payload; however, error payloads do not support OData instance annotations." - - - - - A string like "One or more property annotations for property '{0}' were found in an error payload without the property to annotate. Error payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror', or custom instance annotations." - - - - - A string like "The entity type '{0}' has no key properties. Entity types must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "An ODataEntry of type '{0}' is found without key properties. When writing without a user model, each entry must contain at least one property whose 'ODataProperty.SerializationInfo.PropertyKind' set to 'ODataPropertyKind.Key'. When writing with a user model, the entity type '{0}' defined in the model must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "The property '{0}' on type '{1}' is a non-primitive value. All key and etag properties must be of primitive types." - - - - - A string like "The primitive property '{0}' on type '{1}' has a value which is not a primitive value." - - - - - A string like "The entity instance value of type '{0}' doesn't have a value for property '{1}'. To compute an entity's metadata, its key and concurrency-token property values must be provided." - - - - - A string like "Encountered an annotation group containing a property '{0}' which is not a valid annotation name." - - - - - A string like "Encountered an annotation group named '{0}' containing a property '{1}' which is not a valid annotation name." - - - - - A string like "Encountered a reference to an annotation group named '{0}', but no annotation group with that name has been defined at this point in the payload." - - - - - A string like "Encountered multiple annotation group named '{0}'. Annotation group names must be unique within a payload." - - - - - A string like "An ODataPrimitiveValue was instantiated with a value of type '{0}'. ODataPrimitiveValue can only wrap values which can be represented as primitive EDM types." - - - - - A string like "'{0}' is an invalid instance annotation name. An instance annotation name must contain a period that is not at the start or end of the name." - - - - - A string like "'{0}' is a reserved instance annotation name because it starts with '{1}'. Reserved names are not allowed for custom instance annotations." - - - - - A string like "'{0}' is an invalid instance annotation name." - - - - - A string like "The value of the 'type' attribute on an 'annotation' element was '{0}', which is incompatible with the '{1}' attribute." - - - - - A string like "Encountered the attribute '{0}' on a non-empty 'annotation' element. If attribute value notation is used to specify the annotation's value, then there can be no body to the element." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must contain at least one '.' separating the namespace and the name segments of an annotation." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must not contain a namespace or name segment that is empty." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. It must not contain '*' as part of a segment." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. '*' must be the last segment of the pattern." - - - - - A string like "A service operation with name '{0}' could not be found in the provided model." - - - - - A string like "Found multiple service operations with name '{0}' in a single entity container. Service operation overloads are not supported." - - - - - A string like "An entity set with name '{0}' could not be found in the provided model." - - - - - A string like "Only operands with primitive types are allowed in binary operators. Found operand types '{0}' and '{1}'." - - - - - A string like "Both operands of a binary operators must have the same type. Found different operand types '{0}' and '{1}'." - - - - - A string like "The specified URI '{0}' must be absolute." - - - - - A string like "Invalid value '{0}' for $skip query option found. The $skip query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $top query option found. The $top query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $inlinecount query option found. Valid values are '{1}'." - - - - - A string like "Query option '{0}' was specified more than once, but it must be specified at most once." - - - - - A string like "The CLR literal of type '{0}' is not supported to be written as a Uri part." - - - - - A string like "QueryToken '{0}' is not supported to be written as a Uri part." - - - - - A string like "Expression expected at position {0} in '{1}'." - - - - - A string like "'(' expected at position {0} in '{1}'." - - - - - A string like "')' or ',' expected at position {0} in '{1}'." - - - - - A string like "')' or operator expected at position {0} in '{1}'." - - - - - A string like "Expecting a Star token but got: '{0}'." - - - - - A string like "The range variable '{0}' has already been declared." - - - - - A string like "The URI '{0}' is not valid because it is not based on '{1}'." - - - - - A string like "The key value '{0}' was not recognized as a valid literal." - - - - - A string like "Unable to find property '{2}' on the instance type '{1}' of the structured type '{0}'." - - - - - A string like "An unsupported query token kind '{0}' was found." - - - - - A string like "Could not find an entity set for root segment '{0}'." - - - - - A string like "Type '{0}' is not an entity type. Key value can only be applied to an entity type." - - - - - A string like "Could not find a property named '{1}' on type '{0}'." - - - - - A string like "Property '{0}' is not declared on type '{1}' or is not a key property. Only key properties can be used in key lookups." - - - - - A string like "An unnamed key value was used in a key lookup on a type '{0}' which has more than one key property. Unnamed key value can only be used on a type with one key property." - - - - - A string like "A key property '{0}' was found twice in a key lookup. Each key property can be specified just once in a key lookup." - - - - - A string like "A key lookup on type '{0}' didn't specify values for all key properties. All key properties must be specified in a key lookup." - - - - - A string like "Expression of type '{0}' cannot be converted to type '{1}'." - - - - - A string like "Segment '{0}' which is a service operation returning non-queryable result has a key lookup. Only service operations returning queryable results can have a key lookup applied to them." - - - - - A string like "Service operation '{0}' of kind '{1}' returns type '{2}' which is not an entity type. Service operations of kind QueryWithMultipleResults or QueryWithSingleResult can only return entity types." - - - - - A string like "Service operation '{0}' is missing the required parameter '{1}'." - - - - - A string like "The parameter '{0}' with value '{1}' for the service operation '{2}' is not a valid literal of type '{3}'." - - - - - A string like "The MultiValue property '{0}' cannot be used in $filter or $orderby query expression. MultiValue properties are not supported with these query options." - - - - - A string like "The operand for a binary operator '{0}' is not a single value. Binary operators require both operands to be single values." - - - - - A string like "The operand for a unary operator '{0}' is not a single value. Unary operators require the operand to be a single value." - - - - - A string like "The parent value for a property access of a property '{0}' is not a single value. Property access can only be applied to a single value." - - - - - A string like "A binary operator with incompatible types was detected. Found operand types '{0}' and '{1}' for operator kind '{2}'." - - - - - A string like "A unary operator with an incompatible type was detected. Found operand type '{0}' for operator kind '{1}'." - - - - - A string like "An unknown function with name '{0}' was found. This may also be a key lookup on a navigation property, which is not allowed." - - - - - A string like "The argument for an invocation of a function with name '{0}' is not a single value. All arguments for this function must be single values." - - - - - A string like "No function signature for the function with name '{0}' matches the specified arguments. The function signatures considered are: {1}." - - - - - A string like "The system query option '{0}' is not supported." - - - - - A string like "A token of kind '{0}' was bound to the value null; this is invalid. A query token must always be bound to a non-null query node." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $top query option must specify a non-negative integer value." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $skip query option must specify a non-negative integer value." - - - - - A string like " The service operation '{0}' does not have an associated result kind. Without a result kind, a service operation cannot be bound." - - - - - A string like "Encountered invalid type cast. '{0}' is not assignable from '{1}'." - - - - - A string like "The parameter '{0}' is not in scope." - - - - - A string like "The Cast or IsOf expression has an invalid number of operands: number of operands is '{0}' and it should be 1 or 2." - - - - - A string like "The geo.length function has an invalid number of operands: number of operands is '{0}' and it should be 1." - - - - - A string like "The geo.intersects function has an invalid number of operands: number of operands is '{0}' and it should be 2." - - - - - A string like "The operator '{0}' is not supported in this release. " - - - - - A string like "'{0}' queries are not supported in this release." - - - - - A string like "Can only bind segments that are Navigation, Structural, Complex, or Collections. We found a segment '{0}' that isn't any of those. Please revise the query." - - - - - A string like "The '{0}' option cannot be applied to the query path. '{0}' can only be applied to a collection of entities. " - - - - - A string like "Cannot find a suitable overload for function '{0}' that takes '{1}' arguments." - - - - - A string like "Cannot compose function '{0}' to a parent doesn't represent a single value." - - - - - A string like "Found a function import for '{0}', but it is invalid for Filter/Orderby." - - - - - A string like "Found a built-in function '{0}' with a parent token. Built-in functions cannot have parent tokens. " - - - - - A string like "Found a function '{0}' on an open property. Functions on open properties are not supported." - - - - - A string like "'{0}' is not a valid InlineCount option." - - - - - A string like "The child type '{0}' in a cast was not an entity type. Casts can only be performed on entity types." - - - - - A string like "Invalid content-id '{0}' for batch reference segment." - - - - - A string like "Property '{0}' is of an unrecognized EdmPropertyKind." - - - - - A string like "Cant find the property '{0}' in the model." - - - - - A string like "Only properties specified in $expand can be traversed in $select query options. Selected item was '{0}'." - - - - - A string like "Found a type segment '{0}' that isn't an entity type." - - - - - A string like "Trying to follow type segments on a segment that isn't a type. Segment was '{0}'." - - - - - A string like "Found a system token, '{0}', while parsing a select clause." - - - - - A string like "Found an invalid segment, '{0}', while parsing a select clause." - - - - - A string like "The type '{0}' is not defined in the model." - - - - - A string like "Property '{0}' on type '{1}' is not a navigation property. Only navigation properties can be expanded." - - - - - A string like "An entity type '{0}' was given to NonEntityParameterQueryNode. Use EntityParameterQueryNode instead." - - - - - A string like "An EntityCollectionServiceOperationQueryNode was provided with a IEdmFunctionImport with return type '{0}', which is not an entity type." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is not structural." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is a collection." - - - - - A string like "A node of this kind requires the associated property to be a structural, collection type, but property '{0}' is not a collection." - - - - - A string like "Term '{0}' is not valid in a $select or $expand expression." - - - - - A string like "Functions are not allowed in a $select expression, but one was found in the expression '{0}'." - - - - - A string like "Top option must be an integer, its set to '{0}' instead." - - - - - A string like "Skip option must be an integer, its set to '{0}' instead." - - - - - A string like "Found system token '{0}' in select or expand clause '{1}'." - - - - - A string like "The URI '{0}' must be an absolute URI." - - - - - A string like "The result of parsing $expand contained at least {0} items, but the maximum allowed is {1}." - - - - - A string like "The result of parsing $expand was at least {0} items deep, but the maximum allowed is {1}." - - - - - A string like "The service operation '{0}' is missing a ODataServiceOperationResultKind attribute." - - - - - A string like "Multiple Service Operations with the name '{0}' were found. There can only be one Service Operation with a given name in a model." - - - - - A string like "The request URI is not valid. $links cannot be applied to the segment '{0}' since $links can only follow an entity segment." - - - - - A string like "The type '{0}' does not inherit from and is not a base type of '{1}'. The type of '{2}' must be related to the Type of the EntitySet." - - - - - A string like "Found a segment of type '{0} in an expand path, but only NavigationProperty and Type segments are allowed." - - - - - A string like "Found a segment of type '{0} in a select path, but only TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment or OpenPropertySegments are allowed." - - - - - A string like "The Entity Set of the operation '{0}' is not specified. This is most likely an error in the IEdmModel." - - - - - A string like "The target Entity Set of Navigation Property '{0}' could not be found. This is most likely an error in the IEdmModel." - - - - - A string like "The function overloads matching '{0}' are invalid. This is most likely an error in the IEdmModel." - - - - - A string like "Unable to resolve function overloads to a single function. There was more than one function in the model with name '{0}' and parameter names '{1}'." - - - - - A string like "Multiple action overloads were found with the same binding parameter for '{0}'." - - - - - A string like "The request URI is not valid. The segment '{0}' is not valid. Since the uri contains the '{1}' segment, there must be only one segment specified after that." - - - - - A string like "The request URI is not valid. The segment '{0}' must be the last segment in the URI because it is one of the following: $batch, $value, $metadata, a collection property, a named media resource, a service operation that does not return a value, or a service action." - - - - - A string like "The request URI is not valid. The segment '{0}' must refer to a navigation property since the previous segment identifier is '{1}'." - - - - - A string like "The request URI is not valid. There must a segment specified after the '{0}' segment and the segment must refer to a entity resource." - - - - - A string like "The request URI is not valid, $count cannot be applied to the segment '{0}' since $count can only follow a resource segment." - - - - - A string like "The request URI is not valid, since the segment '{0}' refers to a singleton, and the segment '{1}' can only follow a resource collection." - - - - - A string like "The request URI is not valid. Since the segment '{0}' refers to a collection, this must be the last segment in the request URI. All intermediate segments must refer to a single resource." - - - - - A string like "The request URI is not valid. The segment '{0}' cannot include key predicates, however it may end with empty parenthesis." - - - - - A string like "The segment '{1}' in the request URI is not valid. The segment '{0}' refers to a primitive property, function, or service operation, so the only supported value from the next segment is '$value'." - - - - - A string like "The type '{0}' specified in the URI is neither a base type nor a sub-type of the previously-specified type '{1}'." - - - - - A string like "Complex types can not be marked as 'Open'. Error occurred for type '{0}'." - - - - - A string like "Open navigation properties are not supported on OpenTypes. Property name: '{0}'." - - - - - A string like "The response requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service is set to {1}." - - - - - A string like "The number of keys specified in the URI does not match number of key properties for the resource '{0}'." - - - - - A string like "Resource not found for the segment '{0}'." - - - - - A string like "Batched service action '{0}' cannot be invoked because it was bound to an entity created in the same changeset." - - - - - A string like "Resource Not Found - '{0}' refers to a service operation or function which does not allow further composition." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "A non-negative integer value was expected, but the value '{0}' is not a valid non-negative integer." - - - - - A string like "A positive integer value was expected, but the value '{0}' is not a valid positive integer." - - - - - A string like "A positive long value was expected; however, the value '{0}' is not a valid positive long value." - - - - - A string like "An identifier was expected at position {0}." - - - - - A string like "There is an unterminated string literal at position {0} in '{1}'." - - - - - A string like "Syntax error: character '{0}' is not valid at position {1} in '{2}'." - - - - - A string like "Syntax error at position {0} in '{1}'." - - - - - A string like "There is an unterminated literal at position {0} in '{1}'." - - - - - A string like "A digit was expected at position {0} in '{1}'." - - - - - A string like "Unrecognized '{0}' literal '{1}' at '{2}' in '{3}'." - - - - - A string like "Invalid JSON. An unexpected comma was found in scope '{0}'. A comma is only valid between properties of an object or between elements of an array." - - - - - A string like "Invalid JSON. Unexpected token '{0}'." - - - - - A string like "Invalid JSON. A colon character ':' is expected after the property name '{0}', but none was found." - - - - - A string like "Invalid JSON. An unrecognized escape sequence '{0}' was found in a JSON string value." - - - - - A string like "Invalid JSON. The value '{0}' is not a valid number." - - - - - A string like "Invalid JSON. A comma character ',' was expected in scope '{0}'. Every two elements in an array and properties of an object must be separated by commas." - - - - - A string like "Invalid JSON. The property name '{0}' is not valid. The name of a property cannot be empty." - - - - - A string like "An unexpected '{1}' node was found when reading from the JSON reader. A '{0}' node was expected." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a double numeric value." - - - - - A string like "Value cannot be empty." - - - - - A string like "An asynchronous operation was requested on an IODataRequestMessage instance. For asynchronous operations to succeed, the request message instance must implement IODataRequestMessageAsync." - - - - - A string like "The IODataRequestMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataRequestMessage.GetStream or IODataRequestMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "An asynchronous operation was requested on an IODataResponseMessage instance. For asynchronous operations to succeed, the response message instance must implement IODataResponseMessageAsync." - - - - - A string like "The IODataResponseMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataResponseMessage.GetStream or IODataResponseMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "A writer or stream has been disposed with data still in the buffer. You must call Flush or FlushAsync before calling Dispose when some data has already been written." - - - - - A string like "Only a top-level feed can have the 'ODataFeed.Count' property value specified. Expanded links do not support inline counts." - - - - - A string like "The ODataFeed.Count must be null for request payloads. Inline counts are only supported in responses." - - - - - A string like "Cannot write a top-level feed with a writer that was created to write a top-level entry." - - - - - A string like "Cannot write a top-level entry with a writer that was created to write a top-level feed." - - - - - A string like "A synchronous operation was called on an asynchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An entity reference link was written without a surrounding navigation link. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing the content of a navigation link." - - - - - A string like "An entity reference link was written into a response. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing a request." - - - - - A string like "A deferred link was written into a request. In requests, each navigation link must have a feed, entry, or entity reference link written into it." - - - - - A string like "More than one item was written into the content of a navigation link. In OData, a navigation link can only contain more than one item in its content when it is a navigation link, ODataNavigationLink.IsCollection set to true, and the writer is writing a request." - - - - - A string like "The ODataFeed.DeltaLink property must be null for expanded feeds. Delta link is not supported on expanded feeds." - - - - - A string like "An error occurred while processing the OData message." - - - - - A string like "An error was read from the payload. See the 'Error' property for more details." - - - - - A string like "An error occurred while parsing part of the URI." - - - - - A string like "Version 3.0 of the OData protocol is not supported by this library. Please use version 1.0 or 2.0 instead." - - - - - A string like "An ODataCollectionStart with a 'null' name was passed to the ATOM collection writer. In ATOM, an ODataCollectionStart cannot have a 'null' name." - - - - - A string like "The startEntryXmlCustomizationCallback set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior can never return the same XmlWriter instance that was provided in its parameter." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Authors' enumerable; the author metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Categories' enumerable; the category metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Contributors' enumerable; the contributor metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Links' enumerable; the link metadata does not support null values." - - - - - A string like "The 'AtomLinkMetadata.Href' property is required and cannot be null." - - - - - A string like "The 'AtomCategoryMetadata.Term' property is required and cannot be null." - - - - - A string like "The 'AtomCategoriesMetadata.Href' property can only be set when no other property is set. When the 'Href' property is not null, the categories cannot have any 'Fixed' or 'Scheme' values, and the 'Categories' collection must be null or empty." - - - - - A string like "The ODataMessageWriter has already been used to write a message payload. An ODataMessageWriter can only be used once to write a payload for a given message." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "An error cannot be written to a request payload. Errors are only supported in responses." - - - - - A string like "A service document cannot be written to request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be written to request payloads. Metadata documents are only supported in responses." - - - - - A string like "Cannot write the value 'null' in raw format." - - - - - A string like "The WriteError method or the WriteErrorAsync method on the ODataMessageWriter has already been called to write an error payload. Only a single error payload can be written with each ODataMessageWriter instance." - - - - - A string like "The WriteError method or the WriteErrorAsync method on ODataMessageWriter cannot be called after the WriteValue method or the WriteValueAsync method is called. In OData, writing an in-stream error for raw values is not supported." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings in order to write a metadata document." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings when CreateODataParameterWriter is called with a non-null function import." - - - - - A string like "Both startEntryXmlCustomizationCallback and endEntryXmlCustomizationCallback must be either null or non-null." - - - - - A string like "A synchronous operation was called on an asynchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An ODataCollectionStart with an empty name was passed to the collection writer. An ODataCollectionStart cannot have an empty name." - - - - - A string like "Writing an in-stream error is not supported when writing a parameter payload." - - - - - A string like "CreateParameterWriter was called on a response message. A parameter payload is only allowed in a request message." - - - - - A string like "A synchronous operation was called on an asynchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "WriteStart can only be called once, and it must be called before writing anything else." - - - - - A string like "WriteValue and CreateCollectionWriter can only be called after WriteStart and before WriteEnd; they cannot be called until the previously created sub-writer is completed." - - - - - A string like "WriteEnd can only be called after WriteStart and after the previously created sub-writer has completed." - - - - - A string like "The writer is in either the 'Error' or 'Completed' state. No further writes can be performed on this writer." - - - - - A string like "ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync was called while a stream being used to write operation content, obtained from the operation message by using GetStream or GetStreamAsync, was still active. This is not allowed. ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync can only be called when an active stream for the operation content does not exist." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndBatch with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteStartChangeset with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndChangeset without an active change set; you must first call ODataBatchWriter.WriteStartChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After creating the writer, the only valid methods are ODataBatchWriter.WriteStartBatch and ODataBatchWriter.FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartBatch, the only valid methods on ODataBatchWriter are WriteStartChangeset, CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndChangeset, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling CreateOperationRequestMessage or CreateOperationResponseMessage, the only valid methods on ODataBatchWriter are WriteStartChangeset, WriteEndChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot use the batch writer while another writer is writing the content of an operation. Dispose the stream for the operation before continuing to use the ODataBatchWriter." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After writing the content of an operation, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndChangeset, WriteEndBatch and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteEndChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You can only call ODataBatchWriter.FlushAsync after ODataBatchWriter.WriteEndBatch has been called." - - - - - A string like "When writing a batch response, you cannot create a batch operation request message." - - - - - A string like "When writing a batch request, you cannot create a batch operation response message." - - - - - A string like "A synchronous operation was called on an asynchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "The WriteError and WriteErrorAsync methods on ODataMessageWriter cannot be called when a batch is being written by using ODataBatchWriter. In OData, writing an in-stream error for a batch payload is not supported." - - - - - A string like "An attempt to change the properties of the message or to retrieve the payload stream for the message has failed. Either the payload stream has already been requested or the processing of the message has been completed. In both cases, no more changes can be made to the message." - - - - - A string like "Cannot access a closed stream." - - - - - A string like "When reading a batch response, you cannot create a batch operation request message." - - - - - A string like "When reading a batch request, you cannot create a batch operation response message." - - - - - A string like "A request message for the operation has already been created. You cannot create a request message for the same operation multiple times." - - - - - A string like "A response message for the operation has already been created. You cannot create a response message for the same operation multiple times." - - - - - A string like "You cannot use a batch reader while the stream for the content of an operation is still active. You must first dispose the operation stream before further calls to the batch reader are made." - - - - - A string like "A synchronous operation was called on an asynchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An operation was detected, but no message was created for it. You must create a message for every operation found in a batch or change set." - - - - - A string like "The 'Content-Type' header is missing. The 'Content-Type' header must be specified for each MIME part of a batch message." - - - - - A string like "Nested change sets in a batch payload are not supported." - - - - - A string like "Encountered an unexpected end of input while reading the batch payload." - - - - - A string like "The MIME type is missing a parameter name for a parameter definition." - - - - - A string like "The value for the Content-Type header is missing." - - - - - A string like "An IEdmTypeReference must be provided with a matching IEdmModel. No model was provided." - - - - - A string like "A built-in model was detected when trying to save annotations. Annotations can only be saved to a user-defined model." - - - - - A string like "An invalid enum value was specified for the version number." - - - - - A string like "The MIME type annotation must not have a null value." - - - - - A string like "The HTTP method annotation must not have a null value." - - - - - A string like "The 'IsAlwaysBindable' annotation cannot be set to 'true' for a non-bindable function import." - - - - - A string like "The 'IsAlwaysBindable' annotation was found with a 'true' value in a non-bindable function import. The 'IsAlwaysBindable' annotation cannot be 'true' for a non-bindable function import." - - - - - A string like "No URI value was found for an entity reference link. A single URI value was expected." - - - - - A string like "A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value." - - - - - A string like "An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified." - - - - - A string like "The ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds is not set to ODataUndeclaredPropertyBehaviorKinds.None. When reading request payloads, the ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds property must be set to ODataUndeclaredPropertyBehaviorKinds.None; other values are not supported." - - - - - A string like "The ODataMessageReader has already been used to read a message payload. An ODataMessageReader can only be used once to read a payload for a given message." - - - - - A string like "A top-level error cannot be read from request payloads. Top-level errors are only supported in responses." - - - - - A string like "A service document cannot be read from request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be read from request payloads. Metadata documents are only supported in responses." - - - - - A string like "The expected type for property reading is of entity collection kind. Top-level properties can only be of primitive, complex, primitive collection or complex collection kind." - - - - - A string like "The expected type for property reading is of entity kind. Top-level properties cannot be of entity type." - - - - - A string like "The expected type for property reading is Edm.Stream. Top-level properties cannot be of stream type." - - - - - A string like "A missing or empty content type header was found when trying to read a message. The content type header is required." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "GetFormat was called before reading was started. GetFormat can only be called after a read method was called or a reader was created." - - - - - A string like "DetectPayloadKind or DetectPayloadKindAsync was called more than once; DetectPayloadKind or DetectPayloadKindAsync can only be called once." - - - - - A string like "Payload kind detection has not completed. Read or create methods cannot be called on the ODataMessageReader before payload kind detection is complete." - - - - - A string like "The ODataMessageReader is using the server behavior for WCF Data Services, as specified in its settings. Payload kind detection is not supported when using the WCF Data services server behavior." - - - - - A string like "A parameter payload cannot be read from a response payload. Parameter payloads are only supported in requests." - - - - - A string like "An attempt was made to modify the message. The message cannot be modified." - - - - - A string like "A synchronous operation was called on an asynchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "Parsing JSON feeds or entries without model is not supported." - - - - - A string like "Primitive values of type 'Edm.Decimal' and 'Edm.Int64' must be quoted in the payload. Make sure the value is quoted." - - - - - A string like "The top-level data wrapper object does not have a property 'd'. In JSON responses, a top-level data wrapper object with a 'd' property is expected." - - - - - A string like "Multiple 'd' properties were found in the top-level data wrapper object. In JSON, the top-level data wrapper object is expected to have a single 'd' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping a collection in protocol version 2.0 and greater." - - - - - A string like "Multiple 'results' properties were found for a collection. In OData, a collection cannot have more than one 'results' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping an entity reference link in protocol version 2.0 and greater." - - - - - A string like "Multiple 'uri' properties were found in an entity reference link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of an entity reference link object cannot have a null value." - - - - - A string like "Did not find the required 'results' property on the object wrapping a feed." - - - - - A string like "Multiple '__metadata' properties were found in an entry. In OData, an entry can only contain one '__metadata' property." - - - - - A string like "Multiple 'uri' properties were found in the deferred link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of a deferred link object cannot have a null value." - - - - - A string like "The 'uri' property was not found in a deferred link object. A single 'uri' property is expected." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "Found multiple 'results' properties in the object wrapping a feed in protocol version 2.0 and greater. In OData, the feed wrapping object can only contain a single 'results' property." - - - - - A string like "Could not parse an expected stream reference value. In OData, a stream reference value must be a JSON object with a single property called '__mediaresource'." - - - - - A string like "A stream property was found in a JSON request payload. Stream properties are only supported in responses." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the entire payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "Parsing a JSON top-level property without a model is not supported." - - - - - A string like "Either zero or more than one top-level properties were found. A top-level property must be represented as a JSON object with exactly one property." - - - - - A string like "Multiple '__metadata' properties were found in a complex value. In OData, a complex value can only have one '__metadata' property." - - - - - A string like "A collection was found without the 'results' property. In OData, each collection must be represented as a JSON object with a property 'results'." - - - - - A string like "Multiple 'EntitySets' properties were found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "No 'EntitySets' property was found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "A synchronous operation was called on an asynchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "A synchronous operation was called on an asynchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "Parsing JSON collections without model is not supported." - - - - - A string like "The 'Name' property on an ODataAssociationLink must be set to a non-empty string." - - - - - A string like "The 'Url' property on an ODataAssociationLink must be set to a non-null value that represents the association or associations the link references." - - - - - A string like "An empty type name was found; the name of a type cannot be an empty string." - - - - - A string like "The 'Url' property on a resource collection must be set to a non-null value." - - - - - A string like "A resource collection without a Url was detected; a resource collection must have a non-null Url value." - - - - - A string like "A null value was detected in the items of a collection property value; non-streaming instances of collection types do not support null values as items." - - - - - A string like "The 'Name' property on an ODataNavigationLink must be set to a non-empty string." - - - - - A string like "Nested collection instances are not allowed." - - - - - A string like "An ODataStreamReferenceValue item was found in a collection property value, which is not allowed. Collection properties can only have primitive and complex values as items." - - - - - A string like "A null value was detected when enumerating the collections in a workspace. Workspace collections cannot be null." - - - - - A string like "An ODataFeed without an ID was detected; in OData, a Feed must have a non-null, non-empty ID value." - - - - - A string like "The 'ODataEntry.Properties' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "An ODataProperty instance without a name was detected; an ODataProperty must have a non-null, non-empty name." - - - - - A string like "No TypeName was found for an ODataComplexValue of an open property, ODataEntry or custom instance annotation, even though metadata was specified. If a model is passed to the writer, each complex value on an open property, entry or custom instance annotation must have a type name." - - - - - A string like "The ODataFeed.NextPageLink must be null for request payloads. A next link is only supported in responses." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ContentType' property but without a ReadLink value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ReadLink' property but without a ContentType value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "An ODataStreamReferenceValue was detected with null values for both EditLink and ReadLink. In OData, a stream resource must have at least an edit link or a read link." - - - - - A string like "An ODataStreamReferenceValue was detected with an ETag but without an edit link. In OData, a stream resource must have an edit link to have an ETag." - - - - - A string like "An ODataStreamReferenceValue was detected with an empty string 'ContentType' property. In OData, a stream resource must either have a non-empty content type or it must be null." - - - - - A string like "An entry with an empty ID value was detected. In OData, an entry must either a non-empty ID value or no ID value." - - - - - A string like "An ODataEntityReferenceLink with a null Url was detected; an ODataEntityReferenceLink must have a non-null Url." - - - - - A string like "The 'ODataEntityReferenceLinks.Links' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "A JSON Padding function was specified on ODataMessageWriterSettings when trying to write a request message. JSON Padding is only for writing responses." - - - - - A string like "An Atom entry can be either a regular entry or a media link entry (MLE). This means that there cannot be data in both the {http://www.w3.org/2005/Atom}:content element, which indicates a regular entry, and the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:properties element, which indicates an MLE. " - - - - - A string like "An expanded feed was found in a navigation link of type entry; however, only an expanded entry can occur in a navigation link of type entry." - - - - - A string like "An expanded entry was found in a navigation link of type feed; however, only an expanded feed can occur in a navigation link of type feed." - - - - - A string like "A deferred entry was found in a navigation link of type feed; however, only a deferred feed can occur in a navigation link of type feed." - - - - - A string like "The entryXmlCustomizationCallback set in ODataMessageReaderSettings.EnableWcfDataServicesClientBehavior can never return the same XmlReader instance that was provided in its parameter." - - - - - A string like "Found a value with type name ''. Type name cannot be an empty string." - - - - - A string like "The root element of the collection cannot contain the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:type attribute or the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:null attribute." - - - - - A string like "Only collection properties that contain primitive types or complex types are supported." - - - - - A string like "The element {http://www.w3.org/2005/Atom}:content has non-empty content, and it has an attribute with name 'src'. When the {http://www.w3.org/2005/Atom}:content element has the 'src' attribute, it cannot also have content." - - - - - A string like "Multiple {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline elements were found in a {http://www.w3.org/2005/Atom}:link element. Each {http://www.w3.org/2005/Atom}:link element can contain no more than one {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline child element." - - - - - A string like "Found a stream property link with empty name. In OData, a stream property must have a non-empty name." - - - - - A string like "Encountered an 'annotation' element inside a nested feed. Annotations are not currently supported for nested feeds." - - - - - A string like "Encountered a 'Delta Link' element inside a nested feed. Delta Links are not supported for nested feeds." - - - - - A string like "The service document is missing the 'workspace' element. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'workspace' elements were found inside the service document. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'accept' elements were found inside a 'collection' element. A 'collection' element can only contain a single {http://www.w3.org/2007/app}:accept element." - - - - - A string like "The ODataMessageReaderSettings used to read a JSON Light payload do not specify a metadata document URI. For reading JSON Light payloads a metadata document URI is required." - - - - - A string like "ODataMessageReader.DetectPayloadKind was called for a request payload. Payload kind detection is only supported for responses in JSON Light." - - - - - A string like "Parsing JSON Light feeds or entries in requests without entity set is not supported. Pass in the entity set as a parameter to ODataMessageReader.CreateODataEntryReader or ODataMessageReader.CreateODataFeedReader method." - - - - - A string like "An attempt to read a collection request payload without specifying a producing function import or collection item type was detected. When reading collection payloads in requests, a producing function import or expected item type has to be provided." - - - - - A string like "An attempt to read an entity reference link in a request without specifying a navigation property was detected. When reading entity reference link payloads in requests, a navigation property has to be provided." - - - - - A string like "Parsing JSON Light payloads without a model is only supported for error payloads." - - - - - A string like "The 'BaseUri' on the 'ODataMessageReaderSettings' must be set to a non-null absolute URI to read JSON Light format." - - - - - A string like "An attempt to read a collection request payload without specifying a collection item type was detected. When reading collection payloads in requests, an expected item type has to be provided." - - - - - A string like "In JSON the item type must be specified when creating a collection writer." - - - - - A string like "The required instance annotation 'odata.metadata' was not found at the beginning of a response payload." - - - - - A string like "An attempt to write an entity reference link inside a navigation link after a feed has been written inside the same navigation link in a request was detected. In JSON Light requests, all entity reference links inside a navigation link have to be written before all feeds inside the same navigation link." - - - - - A string like "The ODataFeed.InstanceAnnotations collection must be empty for expanded feeds. Custom instance annotations are not supported on expanded feeds." - - - - - A string like "The ODataMessageWriterSettings used to write a JSON Light payload do not specify a metadata document URI. For writing JSON Light payloads a metadata document URI is required." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a complex value. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a collection property. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Found a resource collection without a name. When writing a service document in JSON Light, the Name property of a resource collection must not be null or empty." - - - - - A string like "When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being writen." - - - - - A string like "When writing a JSON response in full metadata mode with ODataMessageWriterSettings.AutoComputePayloadMetadataInJson set to true, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataEntry.TypeName must be set." - - - - - A string like "The collection type name for the top level collection is unknown. When writing a JSON response, the item type must be passed to the ODataMessageWriter.CreateCollectionWriter method or the ODataCollectionStartSerializationInfo must be set on the ODataCollectionStart." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLink method or the ODataEntityReferenceLinkSerializationInfo must be set on the ODataEntityReferenceLink." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link collection is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLinks method or the ODataEntityReferenceLinksSerializationInfo must be set on the ODataEntityReferenceLinks." - - - - - A string like "No top-level properties were found. A top-level property or collection in JSON Light must be represented as a JSON object with exactly one property which is not an annotation." - - - - - A string like "The 'odata.type' instance annotation in a complex object is not the first property of the object. In OData, the 'odata.type' instance annotation must be the first property of the complex object." - - - - - A string like "The value specified for the spatial property was not valid. You must specify a valid spatial value." - - - - - A string like "A null metadata URI was found in the payload. Metadata URIs must not be null." - - - - - A string like "No model was specified for the ODataMessageReader. A message reader requires a model for JSON Light payload to be specified in the ODataMessageReader constructor." - - - - - A string like "The IODataJsonLightModelResolver or IODataJsonLightModelResolverAsync returned a null or a core model. The model resolver must return a valid user model." - - - - - A string like "The 'odata.type' instance annotation in an entry object is preceded by an invalid property. In OData, the 'odata.type' instance annotation must be either the first property in the JSON object or the second if the 'odata.metadata' instance annotation is present." - - - - - A string like "A property annotation was found for a top-level feed; however, top-level feeds only support instance annotations." - - - - - A string like "A stream property was found in a JSON Light request payload. Stream properties are only supported in responses." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the whole payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "A metadata reference property was found in a JSON Light request payload. Metadata reference properties are only supported in responses." - - - - - A string like "An annotation group was found at an unexpected position in the payload. Annotation groups must be the first property of the object they are annotating and may not be nested." - - - - - A string like "Encountered an entry with a type defined in an annotation group and in the entry body. The type of an entry may only be specified once." - - - - - A string like "A property annotation was found for entity reference links; however, entity reference links only support instance annotations." - - - - - A string like "An OData property annotation was found for a parameter payload; however, parameter payloads do not support OData property annotations." - - - - - A string like "When parsing a select clause a '*' segment was found before last segment of a property path. In OData, a '*' segment can only appear as last segment of a property path." - - - - - A string like "When parsing a select clause a '*' segment was found immediately after a type segment in a property path. In OData, a '*' segment cannot appear following a type segment." - - - - - A string like "Encountered an annotation group declaration for which there was no 'name' property. All annotation group declarations must specify a non-empty name in the 'name' property." - - - - - A string like "Encountered multiple 'name' properties within a single annotation group declaration. An annotation group must contain exactly one 'name' property." - - - - - A string like "Cannot create an ODataPrimitiveValue from null; use ODataNullValue instead." - - - - - A string like "An InstanceAnnotationCollection was set on an object other than ODataError. Currently, instance annotations are only supported on ODataError." - - - - - A string like "The value of an instance annotation cannot be of type ODataStreamReferenceValue." - - - - - A string like "A type name was not provided for an instance of ODataComplexValue." - - - - - A string like "A type name was not provided for an instance of ODataCollectionValue." - - - - - A string like "Encountered an 'annotation' element without a 'term' attribute. All 'annotation' elements must have a 'term' attribute." - - - - - A string like "Encountered an 'annotation' element with more than one attribute from following set: 'int', 'string', 'decimal', 'float', and 'bool'. Only one such attribute may appear on an 'annotation' element." - - - - - A string like "If ODataMessageWriterSettings.AutoComputePayloadMetadataInJson is set to true, the entity set must be specified when writing JSON with full metadata." - - - - - A string like "Setting a metadata annotation on a primitive type is not supported." - - - - - A string like "The maximum depth setting must be a number greater than zero." - - - - - A string like "Recursion depth exceeded allowed limit." - - - - - A string like "Invalid to redefine visitor in nested Any/All queries." - - - - - A string like "Bad Request: there was an error in the query syntax." - - - - - A string like "Too many segments in URI." - - - - - A string like "Inner or start path segments must be navigation properties in $select." - - - - - A string like "Found a non-path property in a select token." - - - - - A string like "Cannot construct an ExpandItem from a navigation property whose type is not an entity." - - - - - A string like "An unsupported extension query token was found." - - - - - A string like "The $filter expression must evaluate to a single boolean value." - - - - - A string like "The $orderby expression must evaluate to a single value of primitive type." - - - - - A string like "A PropertyAccessQueryToken without a parent was encountered outside of $filter or $orderby expression. The PropertyAccessQueryToken without a parent token is only allowed inside $filter or $orderby expressions." - - - - - A string like "Found a Built in function without a Function Signature." - - - - - A string like "Encountered Root segment in non-root location." - - - - - A string like "A segment without an associated type was given as input." - - - - - A string like "Any/All may only be used following a collection." - - - - - A string like "The navigation property must not be null." - - - - - A string like "A navigation property can only follow single entity nodes." - - - - - A string like "The Any/All query expression must evaluate to a single boolean value." - - - - - A string like "Cast or IsOf Function must have a type in its arguments." - - - - - A string like "The Cast and IsOf functions do not support collection arguments or types." - - - - - A string like "The geo.length function was called with a non-single-value operand." - - - - - A string like "The geo.length function was called with a non-LineString operand." - - - - - A string like "The geo.intersects function was called with a non-single-value operand." - - - - - A string like "The geo.intersects function was called with invalid arg types." - - - - - A string like "Type argument with an invalid type name." - - - - - A string like "Collection open properties are not supported in this release." - - - - - A string like "Parameter names must be unique. There is most likely an error in the model." - - - - - A string like "Found a property token that isn't a path in the select syntactic tree." - - - - - A string like "Any selection that is expanded must have the same type qualifier on both selection and expansion." - - - - - A string like "Cannot delete selection items from an AllSelection, please create the SelectExpandClause with a Partial Selection instead." - - - - - A string like "Links segments must always be followed by a navigation property." - - - - - A string like "Trying to traverse a non-normalized expand tree." - - - - - A string like "Found a path within a select or expand query option that isn't ended by a non-type segment." - - - - - A string like "Trying to parse a type segment path that is too long." - - - - - A string like "The navigation property must have a target multiplicity of 'One' or 'ZeroOrOne' to create a SingleNavigationNode." - - - - - A string like "The navigation property must have a target multiplicity of 'Many' to create a CollectionNavigationNode." - - - - - A string like "Only static Entity Set reference expressions are supported currently." - - - - - A string like "An instance of CollectionFunctionCallNode can only be created with a primitive or complex collection type. For functions returning a collection of entities, use EntityCollectionFunctionCallNode instead." - - - - - A string like "An instance of EntityCollectionFunctionCallNode can only be created with an entity collection type. For functions returning a collection of primitive or complex values, use CollectionFunctionCallNode instead." - - - - - A string like "Only call AddTerms on ExpandTermTokens that have already been expanded by ExpandTerm." - - - - - A string like "Found a segment that isn't a path while parsing the path within a select or expand query option." - - - - - A string like "A service root URI must be provided to the ODataUriParser in order to use this method." - - - - - A string like "The limit must be greater than or equal to zero" - - - - - A string like "Functions are not supported in this version. Only Actions and Service Operations are supported." - - - - - A string like "$value cannot be applied to a collection." - - - - - A string like "A feed may contain a next page link, a delta link or neither, but must not contain both." - - - - - A string like "The last segment, and only the last segment, must be a navigation property in $expand." - - - - - A string like "The last segment in a $select cannot be a TypeSegment." - - - - - A string like "An operation can only be the last segment in $select." - - - - - A string like "A navigation property can only be the last segment in $select." - - - - - A string like "No type could be computed for this Segment since there were multiple possible operations with varying return types." - - - - - A string like "The return type from the operation is not possible with the given entity set." - - - - - A string like "Please construct this SingleValueFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Please construct this SingleEntityFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Calling the wrong overload to convert named values to type." - - - - - A string like "Cannot use a non-primitive type as a parameter." - - - - - A string like "Calling the wrong overload to convert positional values to type." - - - - - A string like "Empty segment encountered in request URL. Please make sure that a valid request URL is specified." - - - - - A string like "Bad Request - Error in query syntax." - - - - - A string like "The request URI is not valid, the segment $count cannot be applied to the root of the service." - - - - - A string like "$value must not be specified for spatial values." - - - - - A string like "Error processing request stream. In batch mode, a resource can be cross-referenced only for bind/unbind operations. " - - - - - A string like "Segments with multiple key values must specify them in 'name=value' form." - - - - - A string like "Forbidden" - - - - - A string like "Found an operation bound to a non-entity type." - - - - - A string like "Value cannot be null or empty." - - - - - A string like "Found an unbalanced bracket expression." - - - - - A string like "Invalid JSON. More than one value was found at the root of the JSON content. JSON content can only have one value at the root level, which is an array, an object or a primitive value." - - - - - A string like "Invalid JSON. Unexpected end of input was found in JSON content. Not all object and array scopes were closed." - - - - - A string like "Invalid JSON. A token was not recognized in the JSON content." - - - - - A string like "Invalid JSON. Unexpected end of input reached while processing a JSON string value." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Services.Client.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Services.Client.dll deleted file mode 100644 index 28679b958..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Services.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Services.Client.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Services.Client.xml deleted file mode 100644 index 3cd4be3b6..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Data.Services.Client.xml +++ /dev/null @@ -1,22299 +0,0 @@ - - - - Microsoft.Data.Services.Client - - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Tries to convert the given value if it is of a type specific to the client library but still able to be mapped to EDM. - - The value to convert. - The expected type of the value or null. - The converted value, if conversion was possible. - Whether or not conversion was possible. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Common defintions and functions for ALL product assemblies - - - Common defintions and functions for the server and client lib - - - - Type of OutOfMemoryException. - - - Type of StackOverflowException. - - - Type of ThreadAbortException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - List of types unsupported by the client - - - - - Test whether a type is unsupported by the client lib - - The type to test - Returns true if the type is not supported - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't be recognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - If the type name is not recognized as a collection it will be eventually passed to type resolver if it is not a known primitive type. - - - - - Convert the DataServiceProtocolVersion to ODataVersion. - - DataServiceProtocolVersion value to convert. - an ODataVersion value for the given DataServiceProtocolVersion value. - - - - Converts the given version instance to ODataVersion enum. - - Version instance containing the response payload. - ODataVersion enum value for the given version. - - - - Gets the type name (without namespace) of the specified , - appropriate as an externally-visible type name. - - Type to get name for. - The type name for . - - - - Gets the type namespace of the specified , - appropriate as an externally-visible type name. - - Type to get namespace for. - The namespace for . - - - Tries to read a WCF Data Service version string. - Text to read. - Parsed version and trailing text. - true if the version was read successfully; false otherwise. - - - - Set the message quota limits for WCF Data services server. - - Instance of ODataMessageQuotas. - - - Provides helper methods for processing HTTP requests. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - Reads a Content-Type header and extracts the MIME type/subtype. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - parameters of content type - - - Builds a Content-Type given the mime type and all the parameters. - The MIME type in standard type/subtype form, without parameters. - Parameters to be appended in the mime type. - content type containing the mime type and all the parameters. - - - Reads a Content-Type header and extracts the MIME type/subtype and encoding. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - Encoding (possibly null). - parameters of content type - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Reads the type and subtype specifications for a MIME type. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - Reads a media type definition as used in a Content-Type header. - Text to read. - The defined by the specified - All syntactic errors will produce a 400 - Bad Request status code. - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - - - - Reads Mime type parameter value for a particular parameter in the Content-Type/Accept headers. - - Name of parameter. - Header text. - Parsing index in . - String representing the value of the parameter. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Class to store media parameter information. - - - - Creates a new instance of MediaParameter. - - Name of the parameter. - Value of the parameter. - True if the value of the parameter is quoted, otherwise false. - - - - Gets the original value of the parameter. - - the original value of the parameter. - - - Gets the name of the parameter. - - - Value of the parameter. - - - true if the value is quoted, otherwise false. - - - Use this class to represent a media type definition. - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - Returns the MIME type in standard type/subtype form, without parameters. - - - media type parameters - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmComplexTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets the properties declared immediately within this type. - - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmEntityTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets or sets the structural properties of the entity type that make up the entity key. - - - - - Gets the properties declared immediately within this type. - - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that contains all the constants for various schemas. - - - - "InitializeService" method name for service initialize. - - - id of the corresponding body - - - byte-length of the corresponding body - - - mime-type of the corresponding body - - - content disposition of the response (a hint how to handle the response) - - - 'DataServiceVersion' - HTTP header name for data service version. - - - 'MaxDataServiceVersion' - HTTP header name for maximum understood data service version. - - - - 'Prefer' - HTTP request header name for client preferences. - Refer to: http://tools.ietf.org/id/draft-snell-http-prefer-02.txt for details. - - - - Return no content Prefer header hint value. - - - Return content Prefer header hint value. - - - 'no-cache' - HTTP value for Cache-Control header. - - - 'charset' - HTTP parameter name. - - - HTTP method name for GET requests. - - - HTTP method name for POST requests. - - - Http Put Method name - basically used for updating resource. - - - HTTP method name for delete requests. - - - HTTP method name for MERGE requests. - - - HTTP method name for PATCH requests. - - - HTTP query string parameter value for expand. - - - HTTP query string parameter value for filtering. - - - HTTP query string parameter value for ordering. - - - HTTP query string parameter value for skipping elements. - - - HTTP query string parameter value for limiting the number of elements. - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for skipping results based on paging. - - - Property prefix for the skip token property in expanded results for a skip token - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for projection. - - - HTTP query string parameter for specifying the requested content-type of the response. - - - HTTP query string parameter for specifying the a callback function name for JSONP (JSON padding). - - - 'q' - HTTP q-value parameter name. - - - 'X-HTTP-Method' - HTTP header name for requests that want to tunnel a method through POST. - - - HTTP name for Accept header - - - HTTP name for Accept-Charset header - - - HTTP name for If-Match header - - - HTTP name for If-None-Match header - - - HTTP name for User-Agent header - - - multi-part keyword in content-type to identify batch separator - - - 'X-Content-Type-Options' - HTTP header for Internet Explorer 8 and 9 to specify options for content-type handling. - - - An 'X-Content-Type-Options' HTTP header argument to instruct IE8/9 not to sniff the content and instead display it according to the content-type header. - - - multi-part mixed batch separator - - - multi-part mixed changeset separator - - - 'Allow' - HTTP response header for allowed verbs. - - - HTTP name for Cache-Control header. - - - HTTP name for ETag header - - - HTTP name for location header - - - HTTP name for DataServiceId header - - - HTTP name for Status-Code header - - - multi-part mixed batch separator for response stream - - - multi-part mixed changeset separator - - - Content-Transfer-Encoding header for batch requests. - - - Http Version in batching requests and response. - - - To checks if the resource exists or not. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The mime type that client wants the response to be in. - - - The character set the client wants the response to be in. - - - The name of the Cookie HTTP header - - - The Slug header name. Used by ATOM to hint the server on which MR is being POSTed. - - - MIME type for requesting any media type. - - - MIME type general binary bodies (http://www.iana.org/assignments/media-types/application/). - - - 'application' - MIME type for application types. - - - 'json' - constant for MIME JSON subtypes. - - - 'xml' - constant for MIME xml subtypes. - - - 'odata' - parameter name for JSON MIME types. - - - MIME type for changeset multipart/mixed - - - MIME type for plain text bodies. - - - 'text' - MIME type for text subtypes. - - - MIME type for XML bodies (deprecated). - - - Content-Transfer-Encoding value for batch requests. - - - Default encoding used for writing textual media link entries - - - A prefix that turns an absolute-path URI into an absolute-URI. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates that this is a link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A const value for the query parameter $inlinecount to set counting mode to inline - - - A const value for the query parameter $inlinecount to set counting mode to none - - - Uri method name for Enumerable.Any(). - - - Uri method name for Enumerable.All(). - - - Implicit parameter "it" used for Queryable.Where lambda. - - - "Binary" - WCF element name for binary content in XML-wrapping streams. - - - Schema Namespace prefix for atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - 'author' - XML element name for ATOM 'author' element for entries. - - - 'contributor' - XML element name for ATOM 'author' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - XML element name to mark link element in Atom. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - XML element name to mark id element in Atom. - - - XML element name to mark link relation attribute in Atom. - - - Atom attribute that indicates the actual location for an entry's content. - - - XML element string for "next" links: [atom:link rel="next"] - - - Type of content for syndication property which can be one of Plaintext, Html or XHtml - - - Whether to keep the property value in the content section - - - TargetNamespace prefix for non-syndication mapping - - - TargetNamespace URI for non-syndication mapping - - - Target element or attribute name - - - Source property name - - - author/email - - - author/name - - - author/uri - - - published - - - rights - - - summary - - - title - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - contributor/email - - - contributor/name - - - contributor/uri - - - updated - - - Plaintext - - - HTML - - - XHTML - - - XML element name to mark href attribute element in Atom. - - - XML attribute name to mark the hreflang attribute in Atom. - - - XML element name to mark summary element in Atom. - - - XML element name to mark author/name or contributor/name element in Atom. - - - XML element name to mark author/email or contributor/email element in Atom. - - - XML element name to mark author/uri or contributor/uri element in Atom. - - - XML element name to mark published element in Atom. - - - XML element name to mark rights element in Atom. - - - XML element name to mark 'collection' element in APP. - - - XML element name to mark 'service' element in APP. - - - XML value for a default workspace in APP. - - - XML element name to mark 'workspace' element in APP. - - - XML element name to mark title element in Atom. - - - XML attribute name to specify the type of the element. - - - Atom link relation attribute value for self links. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for edit-media links. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom attribute which indicates the null value for the element. - - - Atom attribute which indicates the etag value for the declaring entry element. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element containing property values when 'content' is used for media link entries - - - 'count' element - - - 'element', the XML element name for items in enumerations. - - - XML element name for an error. - - - XML element name for an error code. - - - XML element name for the inner error details. - - - XML element name for an internal exception. - - - XML element name for an exception type. - - - XML element name for an exception stack trace. - - - XML element name for an error message. - - - 'false' literal, as used in XML. - - - 'true' literal, as used in XML. - - - XML attribute value to indicate the base URI for a document or element. - - - 'lang' XML attribute name for annotation language. - - - XML attribute name for whitespace parsing control. - - - XML attribute value to indicate whitespace should be preserved. - - - XML attribute name to pass to the XMLReader.GetValue API to get the xml:base attribute value. - - - Schema Namespace For Edm. - - - Schema Namespace For Edm 1.1. - - - Schema Namespace For Edm 1.2. - - - XML namespace for annotations in EDM such as 'StoreGeneratedPattern' - - - XML namespace for data services. - - - XML namespace for data service annotations. - - - XML namespace for data service links. - - - XML namespace for data service related $links. - - - XML namespace for data service named media resources. - - - XML namespace for data service edit-media link for named media resources. - - - ATOM Scheme Namespace For DataWeb. - - - Schema Namespace for Atom Publishing Protocol. - - - Schema Namespace For Atom. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - Schema Namespace Prefix For DataWeb. - - - 'adsm' - namespace prefix for DataWebMetadataNamespace. - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Edmx namespace in metadata document. - - - Prefix for Edmx Namespace in metadata document. - - - IANA link relations namespace. - - - The empty namespace. - - - Association Element Name in csdl. - - - AssociationSet Element Name in csdl. - - - ComplexType Element Name in csdl. - - - Dependent Element Name in csdl. - - - The name of the EDM collection type. - - - - Attribute name used to indicate the real type of an EDM property or parameter, in cases where it needs to be different - from the Type attribute of the Property or Parameter element. This is used to support collection types and binary keys, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing properties that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - TypeRef element name in CSDL document. - - - EntitySet attribute name in CSDL documents. - - - EntitySetPath attribute name in CSDL documents. - - - ExtensionMethod attribute name in CSDL documents. - - - Composable attribute name in CSDL documents. - - - SideEffecting attribute name in CSDL documents. - - - FunctionImport element name in CSDL documents. - - - Mode attribute name in CSDL documents. - - - Mode attribute value for 'in' direction in CSDL documents. - - - Parameter element name in CSDL documents. - - - ReturnType attribute name in CSDL documents. - - - - Attribute name used to indicate the real type of an EDM function import return type, in cases where it needs to be different - from the ReturnType attribute of the function import element. This is used to support special primitive types, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing function imports that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - End Element Name in csdl. - - - EntityType Element Name in csdl. - - - EntityContainer Element Name in csdl. - - - Key Element Name in csdl. - - - NavigationProperty Element Name in csdl. - - - OnDelete Element Name in csdl. - - - Principal Element Name in csdl. - - - Property Element Name in csdl. - - - PropetyRef Element Name in csdl. - - - ReferentialConstraint Element Name in csdl. - - - Role Element Name in csdl. - - - Schema Element Name in csdl. - - - Edmx Element Name in the metadata document. - - - Edmx DataServices Element Name in the metadata document. - - - Version attribute for the root Edmx Element in the metadata document. - - - Value of the version attribute in the root edmx element in metadata document. - - - Element name for m:action. - - - Element name for m:function - - - maps to m:action|m:function\@metadata - - - maps to m:action|m:function\@target - - - maps to m:action|m:function\@title - - - BaseType attribute Name in csdl. - - - EntitySet attribute and Element Name in csdl. - - - EntitySetPath attribute and Element Name in csdl. - - - FromRole attribute Name in csdl. - - - Abstract attribute Name in csdl. - - - Multiplicity attribute Name in csdl. - - - Name attribute Name in csdl. - - - Namespace attribute Element Name in csdl. - - - ToRole attribute Name in csdl. - - - Type attribute Name in csdl. - - - Relationship attribute Name in csdl. - - - Using element Name in csdl. - - - Value for Many multiplicity in csdl. - - - Value for One multiplicity in csdl. - - - Value for ZeroOrOne multiplicity in csdl. - - - Nullable facet name in CSDL. - - - The attribute name of the 'Precision' facet. - - - The attribute name of the 'Scale' facet. - - - The attribute name of the 'MaxLength' facet. - - - The attribute name of the 'FixedLength' facet. - - - The attribute name of the 'Unicode' facet. - - - The attribute name of the 'Collation' facet. - - - The attribute name of the 'SRID' facet. - - - Name of the concurrency attribute. - - - Name of the default value attribute. - - - The special value for the 'MaxLength' facet to indicate that it has the max length. - - - The attribute name of the 'StoreGeneratedPattern' annotation - - - The 'Computed' value for the 'StoreGeneratedPattern' annotation - - - The 'Identity' value for the 'StoreGeneratedPattern' annotation - - - 'MimeType' - attribute name for property MIME type attributes. - - - 'OpenType' - attribute name to indicate a type is an OpenType property. - - - 'HasStream' - attribute name to indicate a type has a default stream property. - - - 'true' - attribute value to indicate a type has a default stream property. - - - Attribute to indicate whether this is a default entity container or not. - - - Attribute name in the csdl to indicate whether the service operation must be called using POST or GET verb. - - - uri element name for link bind/unbind operations - - - next element name for link paging - - - XML element name for writing out collection of links. - - - JSON property name for an error. - - - JSON property name for an error code. - - - JSON property name for the inner error details. - - - JSON property name for an internal exception. - - - JSON property name for an error message. - - - JSON property name for an exception stack trace. - - - JSON property name for an exception type. - - - JSON property name for an error message value. - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - edm stream primitive type name - - - edm string indicating that the value may be collection. - - - Edm Geography type name - - - Edm Geodetic point type name - - - Edm Geodetic linestring type name - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - edm string primitive type name - - - edm string primitive type name - - - '1.0' - the version 1.0 text for a data service. - - - '2.0' - the version 2.0 text for a data service. - - - '3.0' - the version 3.0 text for a data service. - - - '2.0;' - the text for the current server version text. - - - 1 - the version 1 text for a data service. - - - 0 - the current minor version for a data service. - - - 'binary' constant prefixed to binary literals. - - - 'datetime' constant prefixed to datetime literals. - - - 'guid' constant prefixed to guid literals. - - - 'geography' constant prefixed to geography literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'guid' constant prefixed to guid literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'M': Suffix for decimal type's string representation - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - null liternal that needs to be return in ETag value when the value is null - - - Incoming message property name for the original reqeust uri - - - Incoming message property name for the original root service uri - - - - GeoRss namespace - - - - - The "georss" prefix - - - - - Gml Namespace - - - - - Gml Prefix - - - - - Embedded Gml tag inside Georss - - - - - GeoRss representation of a point - - - - - GeoRss representation of a line - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml representation of a linestring - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Root of the tree - - - corresponding to this tree - - - Default constructor creates a null root - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - Validates the source tree. - The resource type for which the validation is performed. - - - Validates the specified segment and all its subsegments. - The path segment to validate. - The resource type of the property represented by this segment (null for open properties). - - - - Returns a client type of the property on the specified resource type. - - The client type to look for the property on. - The name of the property to look for. - The type of the property specified. Note that for collection properties this returns the type of the item of the collection property. - - - - Root of the tree - - - - - Representation of each node in the - - - - Name of the property under the parent resource type - This fields is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - List of sub-properties if this segment corresponds to a complex type - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - Segment property name - - - Name of the property under the parent resource type - This property is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - List of sub-properties if this segment corresponds to a complex type - - - Corresponding EntityPropertyMappingInfo - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Number of properties that have V2 mapping with KeepInContent false - - - Initializes the sub-trees for syndication and non-syndication content - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - Validates the target tree. - This also cleans up the tree if necessary. - - - Checks if mappings could potentially result in mixed content and dis-allows it. - Segment being processed. - Does any of the ancestors have content. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - String with the correct value for the target path - - - Root of the sub-tree for syndication content - - - Root of the sub-tree for custom content - - - - Minimum DSPV required to serialize this target tree. - - - - - Representation of each node in the - - - - Name of the xml element/attribute - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - URI of the namespace to which the belongs - - - If this is a non-leaf element, the child elements/attributes collection - - - Parent element of this element/attribute - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the - - - - Used for creating non-root nodes in the syndication/custom trees - Name of xml element/attribute - URI of the namespace for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - Name of the xml element/attribute - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the proeprty should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root not should not be accessed directly - from anywhere so far. - - - URI of the namespace to which the belongs - - - EntityPropertyMappingInfo corresponding to current segement - - - Whether this node corresponds to ResourceType or ClientType property values - - - Does this node correspond to xml attribute - - - Parent node in the tree (always an element if present) - - - Sub-nodes of this node. Only exist if current node is an element node - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - ClientType whose property is to be read. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object - - - - - Type that has the - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Take a URI string and escape the data portion of it - - - - - Sensitive characters that we should always skip - This should be the set of Http control characters intersecting with - the set of characters OData literal format allows outside of strings - (In V3: only +, as used in double literals ex. 3E+8) - - - - - input string - - - - - output string - - - - - the current index - - - - - current quoted data string - - - - - constructor - - The string to be escaped. - - - - Escape a URI string's data string portion - - The input string - The escaped string - - - - Build a new escaped string - - The escaped string - - - - Read quoted string - - The character that started the quote - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Holds information about a ServiceAction. - - - Holds information about a service operation. - - - Abstract class from which is derived. - - - change order - - - was content generated for the entity - - - was this entity save result processed - 0 - no processed, otherwise reflects the previous state - - - last save exception per entry - - - State of the modified entity or link. - - - - constructor - - entity state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - When overridden in a derived class, gets the state of the object at the time this instance was constructed. - An of the object returned at the time this instance was constructed. - - - true if resource, false if link - - - changeOrder - - - was content generated for the entity - - - was this entity save result processed - - - last save exception per entry - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - Maps to m:action\@title. Human-readable description of the service operation. - - - maps to m:action\@metadata. Identifies the service operation. - - - maps to m:action\@target. The URI to invoke the service operation. - - - - Creates a new instance of the Operation descriptor. - - - - - Nothing to clear in case of operation descriptor. - - - - Human-readable description of the service operation. - - - Identifies the service operation. - - - The URI to invoke the service operation. - - - - this is an operation descriptor. - - - - - Base class for building the request and handling the response - - - - - Implementation of IAsyncResult - - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - Originating object, used to validate End* - - - Originating method on source, to differentiate between different methods from same source - - - wrapped request - - - User callback passed to Begin* - - - User state passed to Begin* - - - wait handle for user to wait until done, we only use this within lock of asyncWaitDisposeLock. - - - Holding exception to throw as a nested exception during to End* - - - Abortable request - - - true unless something completes asynchronously - - - true when really completed for the user - - - true when no more changes are pending, 0 false, 1 completed, 2 aborted - - - verify we only invoke the user callback once, 0 false, 1 true - - - non-zero after End*, 0 false, 1, true - - - true if the AsyncWaitHandle has already been disposed. - - - delay created object to lock to prevent using disposed asyncWait handle. - - - - ctor - - source object of async request - async method name on source object - user callback to invoke when complete - user state - - - - common handler for EndExecuteBatch & EndSaveChanges - - derived type of the AsyncResult - source object of async request - async method name on source object - the asyncResult being ended - data service response for batch - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - Returns the async result from the BeginXXX method. - - CompletedSynchronously (for System.Net networking stack) means "was the operation completed before the first time - that somebody asked if it was completed synchronously"? They do this because some of their asynchronous operations - (particularly those in the Socket class) will avoid the cost of capturing and transferring the ExecutionContext - to the callback thread by checking CompletedSynchronously, and calling the callback from within BeginXxx instead of - on the completion port thread if the native winsock call completes quickly. - - For other operations however (notably those in HttpWebRequest), they use the same underlying IAsyncResult implementation, - but do NOT check CompletedSynchronously before returning from BeginXxx. That means that CompletedSynchronously will - be false if and only if you checked it from the thread which called BeginXxx BEFORE the operation completed. It will - then continue to be false even after IsCompleted becomes true. - - Note that CompletedSynchronously == true does not guarantee anything about how much of your callback has executed. - - The usual pattern for handling synchronous completion is that both the caller and callback should check CompletedSynchronously. - If its true, the callback should do nothing and the caller should call EndRead and process the result. - This guarantees that the caller and callback are not accessing the stream or buffer concurrently without the need - for explicit synchronization between the two. - - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - Please see remarks on the other InvokeAsync() overload. - Also note that the InvokeTask method above is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Sets the CompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - Set the AsyncWait and invoke the user callback. - - If the background thread gets a ThreadAbort, the userCallback will never be invoked. - This is why it's generally important to never wait forever, but to have more specific - time limit. Also then cancel the operation, to make sure its stopped, to avoid - multi-threading if your wait time limit was just too short. - - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - exception object from background thread - true if the exception (like StackOverflow or ThreadAbort) should be rethrown - - - Set the async result as completed and aborted. - - - Set the async result as completed. - - - verify they have the same reference - the actual thing - the expected thing - error code if they are not - - - invoked for derived classes to cleanup before callback is invoked - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - the request in progress - error code if null or completed - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - the request object - exception object from background thread - true if the exception should be rethrown - - - handle request.BeginGetRequestStream with request.EndGetRequestStream and then write out request stream - async result - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread after the - BeginXXX method returns. It checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - The IAsyncResult that represents the asynchronous operation we just called, which could still be pending - Callback to be invoked when IAsyncResult.CompletedSynchronously is true. - Returns an IAsyncResult that represents the asynchronous operation we just called, which could still be pending - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that PostInvokeTask below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method returns an AsyncCallback which we can pass - to the BeginXXX methods in the caller thread. The returned callback will only run the wrapped callback if - IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - callback to be wrapped - Returnes a callback which will only run the wrapped callback if IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that the GetDataServiceTaskCallback method below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Sets the async wait handle - - - - - Callback for Stream.BeginRead on the request content input stream. Calls request content output stream BeginWrite - and in case of synchronous also the next BeginRead. - - The asynchronous result associated with the completed operation. - - - handle requestStream.BeginWrite with requestStream.EndWrite then BeginGetResponse. - async result - - - user state object parameter - - - wait handle for when waiting is required - if displayed by debugger, it undesirable to create the WaitHandle - - - did the result complete synchronously? - - - is the result complete? - - - is the result complete? - - - abort the result - - - - WebRequest available for DataServiceContext.CancelRequest - - - - first exception that happened - - - - This delegate exists to workaround limitations in the WP7 runtime. - When limitations on the number of parameters to Func<> are resolved, this can be subsumed by the following: - Func<byte[], int, int, AsyncCallback, object, IAsyncResult> - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - - - Wraps PerRequest and context reference together to save state information. - Used instead of KeyValuePair in order to avoid FxCop CA908. - - - - the request wrapper. - - - - Constructor for the state object - - See PerRequest field. - - - wrap the full request - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - - did the sequence (BeginGetRequest, EndGetRequest, ... complete. 0 = In Progress, 1 = Completed, 2 = Aborted - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - True if Dispose is called. - - - Synchronize the Dispose method calls. - - - Did the request complete all of its steps synchronously? 1 represents true and 0 represents false. - Note that there is no overload for Interlocked.CompareExchange that takes booleans, we workaround using the overload for int. - - - ctor - - - - Sets the RequestCompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - - Change the request status to completed - - - - - Change the request status to aborted - - - - - dispose of the request object - - - - active web request - - - active web request stream - - - content to write to request stream - - - web response - - - async web response stream - - - did the request complete all of its steps synchronously? - - - - Short cut for testing if request has finished (either completed or aborted) - - - - - Short cut for testing request status is 2 (Aborted) - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - - The length of the valid content in the RequestContentBuffer - Once the data is read from the request content stream into the RequestContent buffer - this length is set to the amount of data read. - When the data is written into the request stream it is set back to 0. - - - - where to pull the changes from - - - serializer to serialize the request data. - - - sorted list of entries by change order - - - option in use for SaveChanges - - - batch web response - - - The ResourceBox or RelatedEnd currently in flight - - - what kind of request are we processing - POST MR or PUT MR - - - - If the is set to anything but None, - this field holds a stream needs to be send in the request. - This can be null in the case where the content of MR is empty. (In which case - we will not try to open the request stream and thus avoid additional async call). - - - - temporary buffer when cache results from CUD op in non-batching save changes - - - - constructor for operations - - context - method - queries - options - user callback - user state object - - - - factory method for SaveResult - - context - method - queries - options - user callback - user state object - a new instance of SaveResult or BatchSaveResult, depending on the options value. - - - - Handle response by looking at status and possibly throwing an exception. - - The request info. - response status code - Version string on the response header; possibly null. - delegate to get response stream - throw or return on failure - Parsed response version (null if no version was specified). - exception on failure - - - - get the response text into a string - - method to get response stream - status code - text - - - process the batch - data service response - - - Get the value of HttpMethod enum from link resource state - Instance of LinkDescriptor containing the link state and type of link. - HttpMethod enum value for the link descriptor state. - - - - Apply the response preferences for the client. - - Headers to which preferences will be added. - HTTP method. - Response preference. - Request version so far for the request. The method may modify it. - - - - Handle response. - - an instance of the DataServiceResponse. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - Get the value of the HttpMethod enum from entity resource state - resource state - The version of the request determined so far. The method may modify this if needed. - HttpMethod value from the entity resource state. - - - - Create request message for the descriptor at the given index. - - Index into changed entries - IODataRequestMessage that needs to be used for writing the payload. - true, if any request payload was generated, else false. - - - Set the AsyncWait and invoke the user callback. - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - operation with HttpWebResponse - status code of the response. - response headers. - - - - Handle operation response - - descriptor whose response is getting processed. - content headers as returned in the response. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - cleanup work to do once the batch / savechanges is complete - - - - Create the response info instance to be passed to the materializer. - - entity descriptor whose response is getting handled. - instance of the response info class. - - - - enumerate the related Modified/Unchanged links for an added item - - entity - related links - - During a non-batch SaveChanges, an Added entity can become an Unchanged entity - and should be included in the set of related links for the second Added entity. - - - - flag results as being processed - result descriptor being processed - count of related links that were also processed - - - - Generate the link payload. - - binding - An instance of ODataRequestMessage for the link request. - - - - Create ODataRequestMessage for the given entity. - - resource - An instance of ODataRequestMessage for the given entity. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Figures out value to be written in DataServiceVersion HTTP header for the given entity based on features used in this entity. - - Entity type for which data service version needs to be determined. - The resource state for the entity. - Data service version for the given entity and state. - - - Checks whether a WCF Data Service version string can be handled. - Version string on the response header; possibly null. - The response version parsed into a instance - if the version was valid and can be handled, otherwise null. - true if the version can be handled; false otherwise. - - - Handle changeset response. - headers of changeset response - - - - Validates that the link descriptor source and target have identities. - - The binding. - The source resource. - The target resource. - - - - Serialize supported data service versions to a string that will be used in the exception message. - The string contains versions in single quotes separated by comma followed by a single space (e.g. "'1.0', '2.0'"). - - Supported data service versions in single quotes separated by comma followed by a space. - - - - Appends the target entity key to the uri if the binding is in the deleted state and the property is a collection. - - The link URI so far. - The binding. - The target's entity descriptor. - The original link uri or one with the target entity key appended. - - - - Generate a request for the given entity. - - Instance of EntityDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - True if the payload was generated, otherwise false. - - - - Generate a request for the given link. - - Instance of LinkDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - - - Handle changeset response. - descriptor whose response is getting handled. - response headers. - - - Handle changeset response for the given entity descriptor. - entity descriptor whose response is getting handled. - ETag header value from the server response (or null if no etag or if there is an actual response) - - - - Handle the PUT response sent by the server - - descriptor, whose response is getting handled. - response headers. - - - Handle response to deleted entity. - deleted entity - - - handle responseStream.BeginRead with responseStream.EndRead - async result - - - - Materialize the response payload. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - etag value, if specified in the response header. - - - returns true if its a batch, otherwise returns false. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In sync case, this is the actual response stream, as returned by the http request. - - - - - returns true if the response payload needs to be processed. - - - - - enum which says what kind of request we are currently processing - - - - This request doesn't involve Media Resource or named stream. - - - This request is a POST to a MLE and the body contains the content of the MR. - - - This request is a PUT to MR and the body contains the content of the MR. - - - - Async read state - - - - PerRequest class which tracks the request and response stream - - - total number of byte copied. - - - - constructor - - Perrequest class - - - - Returns the total number of byte copied till now. - - - - - Handles the batch requests and responses (both sync and async) - - - - The size of the copy buffer to create. - - - Array of queries being executed - - - Response stream containing the entire batch response. - - - Instance of ODataBatchWriter used to write current batch request. - - - The message reader used to read the batch response. - - - Object representing the current operation response. - - - Buffer used for caching operation response body streams. - - - - constructor for BatchSaveResult - - context - method - queries - options - user callback - user state object - - - initial the async batch save changeset - - - - Synchronous batch request - - - - Read and store response data for the current change - The completed per request object - This is called only from the async code paths, when the response to the batch has been read fully. - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle response. - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - This can only be called from inside the HandleBatchResponse or during enumeration of the responses. - This is used when processing responses for update operations. - - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Creates the type of the multi part MIME content. - - A multipart mime header with a generated batch boundary - - - - Creates a ODataRequestMessage for batch request. - - Returns an instance of ODataRequestMessage for the batch request. - - - - Generate the batch request for all changes to save. - - Returns the instance of ODataRequestMessage containing all the headers and payload for the batch request. - - - - process the batch response - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - process the batch response - - The batch reader to use for reading the batch response. - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - The message reader for the entire batch response is stored in the this.batchMessageReader. - The message reader is disposable, but this method should not dispose it itself. It will be either disposed by the caller (in case of exception) - or the ownership will be passed to the returned response object (in case of success). - In could also be diposed indirectly by this method when it enumerates through the responses. - - - - - process the batch response - - The batch reader to use for reading the batch response. - enumerable of QueryResponse or null - - The batch message reader for the entire batch response is stored in this.batchMessageReader. - Note that this method takes over the ownership of this reader and must Dispose it if it successfully returns. - - - - - Processed the operation response reported by the batch reader. - This is a side-effecting method that is tied deeply to how it is used in the batch processing pipeline. - - The batch reader to get the operation response from. - True if the current operation is inside a changeset (implying CUD, not query) - An exception if the operation response is an error response, null for success response. - - - - Validate the content-id. - - The response headers for the operation response being processed. - Returns the correct ChangedEntries index. - - - returns true since this class handles batch requests. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - This is the stream which holds the entire batch response, when we process any given part those streams are enumerated through - a different field (currentOperationResponseContentStream). - - - - - returns true if the response payload needs to be processed. - - - - - Stores information about the currenly processed operation response. - - - - The HTTP response status code for the current operation response. - - - The HTTP headers for the current operation response. - - - The content stream for the current operation response. - - - - Constructor. - - The status code of the response. - The response headers. - An in-memory copy of the response stream. - - - - Creates IODataResponseMessage for the operation response. - - - IODataResponseMessage for the operation response. - null if the operation response has empty content. - - - - - The status code of the operation response. - - - - - The content stream of the operation response. - - - - - true if the content stream is empty, false otherwise. - - - - - The response headers for the operation response. - - - - Represents a parameter associated with a service action. - - - Represents a parameter passed to a service action, service function or a service operation when it is Executed. - - - The name of the operation parameter. - - - The value of the operation parameter. - - - Initializes a new instance of the class. - The name of the operation parameter. - The value of the operation parameter. - - - Gets the name of the operation parameter. - The name of the operation parameter. - - - Gets the value of the operation parameter. - The value of the operation parameter. - - - Instantiates a new BodyOperationParameter - The name of the body operation parameter. - The value of the body operation parameter. - - - - EventArgs for the BuildingRequest event. - - - - - Uri of the outgoing request. - - - - - Initializes a new instance of the class. - - The method. - The request URI. - The request headers. - Descriptor for this request; or null if there isn't one. - The http stack. - - - - Retrieves a new RequestMessageArgs with any custom query parameters added. - - A new RequestMessageArgs instance that takes new custom query options into account. - - - - Gets the Request HTTP Method that the outgoing request will use. - - - - - The Uri of the outgoing request. The Uri may be altered. No error checking will be performed against any changes made. - - - - - The headers for this request. Adding new custom headers is supported. Behavior is undefined for changing existing headers or adding - system headers. No error checking will be performed against any changes made. - - - - - Descriptor for this request if there is one; null otherwise. - - - - - Gets the http stack. - - - The reason for having this property is that this is request specific - and cannot be taken from the context. For e.g. In silverlight, irrespective - of the value of HttpStack property, for stream requests (get or update), we - use ClientHttp. - - - - - Returns the set of headers as HeaderCollection instance. - - - - - Implementation of which wraps client-side objects. - - - - - Initializes a new instance of the class. - - The type of the collection. - The elements of the collection. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the values stored in this collection. - - - - - Non-delayed implementation of - - - - - Initializes a new instance of the class. - - The value. - - - - Gets the data stored in this value. - - - - - EdmModel describing the client metadata - - - - A cache that maps a client Clr type to it corresponding Edm type. - - - A cache that maps a client type name to the corresponding client type annotation. - - - The annotations manager. - - - The max protocol version this Edm model is created for. - - - Referenced core model. - - - - Constructor. - - The protocol version this Edm model is created for. - - - - Return the entity container with the given name. - - Name of the entity container. - EntityContainer with the given name. - - - - Searches for a schema element with the given name in this model and returns null if no such schema element exists. - - The qualified name of the schema element being found. - The requested schema element, or null if no such schema element exists. - - - - Searches for functions with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the type. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get the client type annotation for the given name. - - Name of the type. - An instance of ClientTypeAnnotation for the type with the given name. - - - Returns and its base types, in the order of most base type first and last. - Type instance in question. - Returns the list of key properties if is an entity type; null otherwise. - true if has any (declared or inherited) properties; otherwise false. - Returns and its base types, in the order of most base type first and last. - - - - Find properties with dynamic MIME type related properties and - set the references from each ClientProperty to its related MIME type property - - Client edm type instance to wire up the mime type properties. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get or create a client EDM type instance. - - The base type of this structured type. - type to wrap - List of key properties to add to if the type is an entity type; null otherwise. - true if is an entity type; false otherwise. - true if the is known to have properties; false if is known to have no properties; null if nothing is known about the properties. - client type - - - - Creates an Edm property. - - Type declaring this property. - PropertyInfo instance for this property. - Returns a new instance of Edm property. - - - - Gets or creates client type annotation. - - The EdmType to use for creating client type annotation - The Clr type to create client type annotation for. - Client type annotation - - - - Returns all the vocabulary annotations defined in the model. - - - - - Returns all the referenced models. - - - - - Returns all the schema elements. - - - - - Returns the model's annotations manager. - - - - - Gets the max protocol version of the model. - - - - - Cache value for the type cache. - - - - The cached EDM type. - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - Creates a new instance of the EDM type cache value. - - The cached EDM type. - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - The cached EDM type. - - - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - - Implementation of which wraps client-side objects. - - - - The structured value this instance is wrapping. - - - The client-side metadata about this value. - - - The model. - - - - Initializes a new instance of the class. - - The structured value. - The model. - The client type annotation. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - - The found property, or null if no property was found. - - - - - Builds an edm property value from the given annotation. - - The property annotation. - The property value - - - - Converts a clr value to an edm value. - - The property value. - Type of the property. - - The converted value - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the property values of this structured value. - - - - - Helper class to wrap the stream with the content of the request. - We need to remember if the stream came from us (IsKnownMemoryStream is true) - or if it came from outside. For backward compatibility we set the Content-Length for our streams - since they are always MemoryStream and thus know their length. - For outside streams (content of the MR requests) we don't set Content-Length since the stream - might not be able to answer to the Length call. - - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Constructor - - The stream with the request content - The stream was create by us and it's a MemoryStream - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Implementation of which uses OData conventions. - - - - The entity instance to build metadata for. - - - The name of the set the entity instance belongs to. - - - The base uri of the service. - - - The convention-based uri builder to use. - - - - Initializes a new instance of the class. - - The base URI of the service. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Initializes a new instance of the class. - - The URI resolver to use. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Implementation of that uses conventions. - - - - The uri resolver to use for entity sets. - - - The user specified conventions. - - - - Initializes a new instance of the class. - - The uri resolver to use. - The user specified conventions to use. - - - - Appends to create the URI for an entity set. - - The URI to append to - The entity set name. - - The entity set URI. - - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Client writer settings shim class to restrict settings to the base for OData message writers. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Client reader settings shim class to restrict settings to the base for OData message reader. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Func to evaluate whether an instance annotation should be read or skipped by the reader. The func should return true if the instance annotation should - be read and false if the instance annotation should be skipped. - - - - - Materializer for LoadProperty API call for navigation properties. - - - - - Materializes feeds and entities from an ODataReader - - - - - Used to materialize entities from a objects. - - - - - Use this class to materialize objects provided from an . - - - - Empty navigation links collection - - - Empty property collection - - - Collection->Next Link Table for nested links - - - The collection value materialization policy. - - - The complex value materializer policy. - - - The materialization policy used to materialize primitive values. - - - The converter to use when assigning values of primitive properties. - - - - Initializes a new instance of the class. - - The materializer context. - The expected type. - - - - Creates an for a response. - - The response message. - The response context. - The type to materialize. - The query components for the request. - The projection plan. - expected payload kind. - A materializer specialized for the given response. - - - Reads the next value from the input content. - true if another value is available after reading; false otherwise. - - After invocation, the currentValue field (and CurrentValue property) will - reflect the value materialized from the parser; possibly null if the - result is true (for null values); always null if the result is false. - - - - - Disposes the materializer - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Creates an for a given message and context using - WCF DS client settings. - - The response message - The response context - Type of the message. - The message reader. - - - - Verifies that the object is not disposed. - - - - - Implementation of . - - Return value of - - - - Called when IDisposable.Dispose is called. - - - - Current value being materialized; possibly null. - - This will typically be an entity if - is assigned, but may contain a string for example if a top-level - primitive of type string is found. - - - - Feed being materialized; possibly null. - - - Entry being materialized; possibly null. - - - Table storing the next links assoicated with the current payload - - - Whether we have finished processing the current data stream. - - - - Returns true if the underlying object used for counting is available - - - - - The count tag's value, if requested - - The count value returned from the server - - - Function to materialize an entry and produce a value. - - - - Gets the materializer context - - - - - Returns true if the materializer has been disposed - - - - - Gets the expected type. - - - The expected type. - - - - - Gets the collection value materialization policy. - - - - - Gets the complex value materialization policy. - - - - - The converter to use when assigning values of primitive properties. - - - - - The policy used to materialize primitive values. - - - - - The format of the response being materialized. - - - - The value of the current materialized entity. - - - The materializer plan. - - - The entry value materializer policy. - - - - Initializes a new instance of the class. - - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates an entry materialization plan that is payload-driven. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Creates an entry materialization plan that is payload-driven and does not traverse expanded links. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - Note that if the target is a collection, the result is always false, - as the model does not allow null feeds (but instead gets an empty - collection, possibly with continuation tokens and such). - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - - Ensures that an entry of is - available on the specified . - - Materilizer used for logging. - Entry to ensure. - Required type. - - As the 'Projection' suffix suggests, this method should only - be used during projection operations; it purposefully avoid - "source tree" type usage and POST reply entry resolution. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Projects a simple value from the specified . - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - Helper method for constructor of DataServiceCollection. - Element type for collection. - The enumerable which has the continuation on it. - The DataServiceCollection to apply the continuation to. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Reads the next feed or entry. - - True if an entry was read, otherwise false - - - - Checks that the specified isn't null. - - Entry to check. - Name of entry being accessed. - - - Creates an entry materialization plan for a given projection. - Query components for plan to materialize. - A materialization plan. - - - Materializes the result of a projection into a list. - Materializer to use for the operation. - Target list. - Expected type for nested object. - Entries to materialize from. - - This method supports projections and as such does shallow payload-driven - materialization of entities. - - - - Gets a property from the specified list, throwing if not found. - List to get value from. - Property name to look up. - The specified property (never null). - - - Merges a list into the property of a given . - Entry to merge into. - Property on entry to merge into. - List of materialized values. - Next link for feed from which the materialized values come from. - Projection plan for the list. - - This method will handle entries that shouldn't be updated correctly. - - - - - Gets the Entity Materializer Context - - - - - Target instance that the materializer expects to update. - - - - - Current value being materialized; possibly null. - - - - - Function to materialize an entry and produce a value. - - - - - Gets the entry value materialization policy. - - - The entry value materialization policy. - - - - The enty or feed reader. - - - The message reader. - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - - This method is for parsing CUD operation payloads which should contain - 1 a single entry - 2 An Error - - the message for the payload - The current ResponseInfo object - The expected type - the MaterializerEntry that was read - - - - Called when IDisposable.Dispose is called. - - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Response Info object. - - - - - Items that have been read from the feed or entry. - - - - - Iteration of the entity collection reader. - - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - LoadProperty Response Info object. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Arguments for creating an instance of DataServiceClientRequestMessage. - - - - The actual method. - - - - Initializes a new instance of the class. - - Method of the request. - The Request Uri. - True if the default credentials need to be sent with the request. Otherwise false. - True if the request message must use POST verb for the request and pass the actual verb in X-HTTP-Method header, otherwise false. - The set of headers for the request. - - - - Gets the method. - - - - - Gets the request URI. - - - - - Returns whether the request message should use Post-Tunneling. - - - - - Gets the headers. - - - - - Gets the actual method. Indicates correct method to use in the post tunneling case. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Represents the type of HTTP implementation to use when accessing the data service.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - - Automatically choose the HTTP stack - When possible XmlHttp stack will be used, otherwise the Client stack will be used - - - - - Arguments used to configure the odata message reader settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Arguments used to configure the odata message writer settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Configurations on the behavior of the Client. - - - - - Creates a data service client configurations class - - The sender for the Reading Atom event. - - - - Gets the response configuration pipeline. - - - - - Gets the request pipeline. - - - - - Use this class to materialize objects provided from an . - - - - - Class responsible for materializing from OData to Objects - - - - - Creates the specified edm type. - - Type of the edm. - The type. - In the future this class will have Materialize and Update will be adding this in upcoming changes - A created object - - - The materializer context. - - - The complex value materialization policy. - - - The primitive value materialization policy. - - - - Initializes a new instance of the class. - - The context. - The primitive policy. - - - - Creates Collection instance of store Collection items. - - ODataProperty instance representing the Collection as seen in the atom payload. - CLR type of the Collection as defined by the user. - Newly created Collection instance. Never null. - - - - Creates the collection instance. - - The edm collection type reference. - Type of the client collection. - New Collection Instance. - - - - Applies collectionValue item to the provided . - - Atom property containing materialized Collection items. - Collection instance. Must implement ICollection<T> where T is either primitive or complex type (not an entity). - Type of items in the Collection. Note: this could be calculated from collectionInstance but we already have it in upstream methods. - Action called actually add a Collection item to - - - - Applies the collection data values to a collection instance. - - The items. - Name of the wire type. - The collection instance. - Type of the collection item. - The add value to backing I collection instance. - - - - Creates Collection instance of store Collection items. - - The edm collection type reference. - Type of the client collection. - Error to throw. - - Newly created Collection instance. Never null. - - - - - Gets the complex value materialization policy. - - - The complex value materialization policy. - - - - - Use this class to materialize objects provided from an . - - - - - Contains logic on how to materialize properties into an instance - - - - The collection value materialization policy. - - - The primitive property converter. - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a primitive value. No op for non-primitive values. - Type of value to set. - Property holding value. - - - - Applies the values of the specified to a given . - - Type to which properties will be applied. - Properties to assign to the specified . - Instance on which values will be applied. - - - Applies a data value to the specified . - Type to which a property value will be applied. - Property with value to apply. - Instance on which value will be applied. - - - - Materializes the primitive data values in the given list of . - - Actual type for properties being materialized. - List of values to materialize. - - Whether properties missing from the client types should be ignored. - - - Values are materialized in-place withi each - instance. - - - - - Gets the collection value materialization policy. - - - The collection value materialization policy. - - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Gets the materializer context. - - - The materializer context. - - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a complex type property. - Type of the complex type to set. - The OData complex value. - - - - Determines if there is an existing entity or whether a new one is created - - - - Target instance that the materializer expects to update. - - - - Initializes a new instance of the class. - - The entity tracker. - The merge option. - The model. - The context. - - - Resolved or creates an instance on the specified . - Entry on which to resolve or create an instance. - Expected type for the . - - After invocation, the ResolvedObject value of the - will be assigned, along with the ActualType value. - - True if an existing entity is found. - - - - Tries to resolve the specified entry as an entry that has already been created in this materialization session or is already in the context. - - Entry to resolve. - Expected type of the entry. - True if the entry was resolved, otherwise False. - - - Tries to resolve the object as the target one in a POST refresh. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - Tries to resolve the object as one from the context (only if tracking is enabled). - Entry to resolve. - Expected entry type for the specified . - true if the entity was resolved; false otherwise. - - - Tries to resolve the object from those created in this materialization session. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - - Gets the value of the MergeOption - - - - - Gets the Context - - Implementation Note, only used in when a new DataServiceCollection, - would like to remove this dependency but would need to change projection - plan, might happen in a subsequent refactor - - - - - Gets the materialization log. - - - - - Gets the entity tracker. - - - - - Gets the model. - - - - - Target instance that the materializer expects to update. - - - - - Used to materialize entities from an to an object. - - - - Collection->Next Link Table for nested links - - - - Initializes a new instance of the class. - - The context. - The entity tracking adapter. - The lazy primitive property converter. - The next link table. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client Model. - whether to do the entity check or not. - The type - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client model. - whether to do the entity check or not. - - - Materializes the specified . - Entry with object to materialize. - Expected type for the entry. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Applies the values of the enumeration to the - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Whether this is a continuation request. - - - Records the fact that a rel='next' link was found for the specified . - Collection to add link to. - Link (possibly null). - Projection plan for the collection (null allowed only if link is null). - - - Records the fact that a was found but won't be modified. - Collection to add link to. - - - "Resolved" the entity in the by instantiating it. - Entry to resolve. - Type to create. - - After invocation, entry.ResolvedObject is exactly of type . - - - - - Matches the given item type with the corresponding collection element type. - - Item type. - Collection element type. - - - - Materializes the link properties if any with the url in the response payload - - Actual client type that is getting materialized. - MaterializerEntry instance containing all the links that came in the response. - - - - Populates the collection property on the entry's resolved object with the given items enumerator. - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Collection instance that was populated. - - - - Gets or creates a collection property on the specified . - - Instance on which to get/create the collection. - Collection property on the . - Is this collection being created for LoadProperty scenario. - - The collection corresponding to the specified ; - never null. - - - - - Applies the values of a nested to the collection - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Whether links that are expanded should be materialized. - - - Materializes the specified . - Entry with object to materialize. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Gets the Entity Materializer Context - - - - - Contains an odata reader that is wrapped - - - - The reader. - - - The payload reading events. - - - - Prevents a default instance of the class from being created. - - The reader. - The data service response pipeling configuration object. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Creates and Wraps an ODataReader for feeds or entries. - - The message reader. - The message type. - The expected EDM type. - The data service response pipeling configuration object. - A reader. - - - - Wraps an ODataReader - - The reader. - The data service response pipeling configuration object. - A reader. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Converter for primitive values which do not match the client property types. This can happen for two reasons: - 1) The client property types do not exist in the protocol (Uri, XElement, etc) - 2) The values were read using the service's model, and the client types are slightly different (ie float vs double, int vs long). - - - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - Geo JSON formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - Gml formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - - Initializes a new instance of the class. - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - - Converts a value to primitive value. - - The value. - Type of the property. - The converted value if the value can be converted - - - - Converts a non-spatial primitive value to the target type. - - The value to convert. - The target type of the conversion. - The converted value. - - - - Converts the value to the target type if needed. - - The value to convert. - The target type. - The converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The value to convert. - The target type of the conversion. - The original or converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The type of the value being converted. - The target type of the conversion. - The value to convert. - The original or converted value. - - - - Creates a policy that is used for materializing Primitive values - - - - MaterializerContext used to resolve types for materialization. - - - - primitive property converter used to convert the property have the value has been materialized. - - - - Initializes a new instance of the class. - - The context. - The lazy primitive property converter. - - - - Materializes the primitive data value. - - Type of the collection item. - Name of the wire type. - The item. - Materialized primitive data value. - - - - Materializes the primitive data value collection element. - - The collection item type. - Name of the wire type. - The item. - Materialized primitive collection element value - - - Materializes a primitive value. No op or non-primitive values. - Type of value to set. - Type name from the payload. - Value of primitive provided by ODL. - The exception message if the value is null. - The materialized value. - true if the value was set; false if it wasn't (typically because it's a complex value). - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Materialized Entity arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - This class represents the contract WCF Data Services client with the request message. - - - - Http method. - - - - Initializes a new instance of the class. - - The actual method. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or sets the request url. - - - - - Gets or sets the method for this request. - - - - - Gets or set the credentials for this request. - - - - - Gets or sets the timeout (in seconds) for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - Gets or the actual method. In post tunneling situations method will be POST instead of the specified verb method. - - - - - The writing entity reference link arguments - - - - - Initializes a new instance of the class. - - The entity reference link. - The source. - The target. - - - - Gets the feed. - - - The feed. - - - - - Gets the source. - - - - - Gets the target. - - - - - Writing entry arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - Writing navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - The source. - The target. - - - - Gets the link. - - - The link. - - - - - Gets the source. - - - - - Gets the target. - - - - - Class that holds a variety of events for writing the payload from the OData to the wire - - - - Actions to execute before start entry called. - - - Actions to execute before end entry called. - - - Actions to execute before entity reference link written. - - - Actions to execute after before start navigation link called. - - - Actions to execute before end navigation link called. - - - The message writer setting configurations. - - - The delegate that represents how a message is created. - - - - Creates a request pipeline configuration class - - - - - Called when [message writer created]. - - The args. - The request pipeline configuration. - - - - Called when [entry starting]. - - The action. - The request pipeline configuration. - - - - Called when [entry ending]. - - The action. - The request pipeline configuration. - - - - Called when [entity reference link]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link starting]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link end]. - - The action. - The request pipeline configuration. - - - - Called when [create message writer settings configurations]. - - The writer settings. - - - - Fires before entry end. - - The entry. - The entity. - - - - Fires before entry start. - - The entry. - The entity. - - - - Fires before navigation end. - - The link. - The source. - The target. - - - - Fires before navigation start. - - The link. - The source. - The target. - - - - Fires before writing the on entity reference link. - - The entity reference link. - The source. - The target. - - - - Gets the request message to be used for sending the request. By providing a custom message, users - can replace the transport layer. - - - - - Determines if OnMessageCreating is being used or not. - - - - - Gets or sets the a value indicating whether the context is using the sending request event or not. - - - - - The reading navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - - - - Gets the link. - - - The link. - - - - - The reading feed arguments - - - - - Initializes a new instance of the class. - - The feed. - - - - Gets the feed. - - - The feed. - - - - - Entity Tracker base, allows more decoupling for testing. - - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - - Contains state and methods required to materialize odata collection, complex and primitive values - - - - - Context for materialization of OData values - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Gets a value indicating whether Ignore missing properties is set or not - - - - - Gets a value indicated the Client Edm Model - - - - - Gets the materialization Events - - - - - Initializes a materializer context - - Response information used to initialize with the materializer - - - - Resolved the given edm type to clr type. - - Expected Clr type. - Edm name of the type returned by the resolver. - an instance of ClientTypeAnnotation with the given name. - - - - Resolves the EDM type for the given CLR type. - - The client side CLR type. - The resolved EDM type. - - - - Gets a value indicating whether to ignore missing properties when materializing values - - - - - Gets a Client Edm model used to materialize values - - - - - Gets the materialization Events - - - - - Gets the Response information that backs the information on the context - - - - - The reading entry args - - - - - Initializes a new instance of the class. - - The entry. - - - - Gets the entry. - - - The entry. - - - - - Class that is responsible for configuration of actions that are invoked from a response - - - - Actions to be run when reading start entry called - - - Actions to be run when reading end entry called - - - Actions to be run when reading start feed called - - - Actions to be run when reading end feed called - - - Actions to be run when reading start link called - - - Actions to be run when reading end link called - - - Actions to be run after an entry has been materialized - - - The message reader setting configurations. - - - The sender. - - - - Creates a Data service client response pipeline class - - The sender for the Reading Atom event. - - - - Called when [reader settings created]. - - The reader message settings configuration. - The response pipeline configuration. - - - - Called when [read start entry]. - - The action. - The response pipeline configuration. - - - - Called when [read end entry]. - - The action. - The response pipeline configuration. - - - - Called when [read start feed]. - - The action. - The response pipeline configuration. - - - - Called when [read end feed]. - - The action. - The response pipeline configuration. - - - - Called when [read start navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [read end navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [entity materialized]. - - The action. - The response pipeline configuration. - - - - Executes actions that configure reader settings. - - The reader settings. - - - - Executes the on entry end actions. - - The entry. - - - - Executes the on entry start actions. - - The entry. - - - - Executes the on feed end actions. - - The feed. - - - - Executes the on feed start actions. - - The feed. - - - - Executes the on navigation end actions. - - The link. - - - - Executes the on navigation start actions. - - The link. - - - - Fires after the entry was materialized - - The entry. - The entity. - - - - Fires the reading atom entity event. - - The materializer entry. - - - - Fires the end entry events. - - The entry. - - - - Internal event instance used by the public ReadingEntity event. - - - - - Gets a value indicating whether this instance has handlers. - - - true if this instance has handlers; otherwise, false. - - - - - Gets a value indicating whether this instance has atom reading entity handlers. - - - true if this instance has atom reading entity handlers; otherwise, false. - - - - - Gets whether there is a reading entity handler - - - - - Class for reading top level feeds or entries and adapting it for the materializer - - - - The odata format being read. - - - The reader. - - - The Client Edm Model used to determine type information. - - - MergeOption information to determine how to merge descriptors. - - - An enumerator of values. - - - The current feed. - - - The current entry. - - - - Initializes a new instance of the class. - - The messageReader that is used to get the format of the reader. - The reader. - The model. - The mergeOption. - - - - Initializes a new instance of the class. Used for tests so no ODataMessageReader is required - - The format of the reader. - The reader. - The model. - The mergeOption. - - - - The count tag's value, if requested - - Should read pull if no feed exists. - The count value returned from the server - - - - Read a feed or entry, with the expected type. - - true if a value was read, otherwise false - - - - Disposes the reader - - - - - Tries to read a feed or entry. - - if set to true [lazy]. - The feed. - The entry. - true if a value was read, otherwise false - - - - Tries to read the start of a feed or entry. - - true if a value was read, otherwise false - - - - Tries to read a feed. - - if set to true [lazy]. - The feed. - true if a value was read, otherwise false - - - - Reads the remainder of a feed. - - if set to true [lazy]. - A feed. - - - - Lazily reads entries. - - An enumerable that will lazily read entries when enumerated. - - - - Tries to read an entry. - - The entry. - true if a value was read, otherwise false - - - - Reads the remainder of an entry. - - An entry. - - - - Reads a navigation link. - - A navigation link. - - - - Tries to read from the ODataReader. - - True if a value is read, otherwise false - - - - Reads from the reader and asserts the reader is in the expected state. - - The expected state. - - - - Asserts that an item could be read. - - - - - Asserts the reader is in the expected state. - - The expected state. - - - - Gets the current feed. - - - - - Gets the current entry. - - - - - Gets a value indicating whether this instance is end of stream. - - - true if this instance is end of stream; otherwise, false. - - - - - Useful extension methods for IDictionary - - - - - If the key exists in the dictionary, returns it. Otherwise creates a new value, adds it to the dictionary, and returns it. - - The type of the key. - The type of the value. - The dictionary to look in. - The key to find/add. - A callback to create a new value if one is not found. - The new or found value. - - - - Sets a range of values in the dictionary. A set operation is performed on each value in - - The type of the key. - The type of the value. - The dictionary to set the values in. - Enumerable of key-value pairs to set in . - - - - Tracks the user-preferred format which the client should use when making requests. - - - - MIME type for ATOM bodies (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies (implies light in V3, verbose otherwise) (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode with all metadata. - - - MIME type for JSON bodies in verbose mode (http://www.iana.org/assignments/media-types/application/). - - - OData parameter value for verbose. - - - MIME type for changeset multipart/mixed - - - MIME type for XML bodies. - - - Combined accept header value for either 'application/atom+xml' or 'application/xml'. - - - text for the utf8 encoding - - - The character set the client wants the response to be in. - - - The context this format instance is associated with. - - - - Initializes a new instance of the class. - - DataServiceContext instance associated with this format. - - - - Indicates that the client should use the efficient JSON format. - - The model of the service. - - - - Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model. - - - - - Indicates that the client should use the Atom format. - - - - - Sets the value of the Accept header to the appropriate value for the current format. - - The headers to modify. - - - - Sets the value of the Accept header for a query. - - The headers to modify. - The query components for the request. - - - - Sets the value of the Accept header for a stream request (will set it to '*/*'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'text/plain'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'multipart/mixed'). - - The headers to modify. - - - - Sets the value of the ContentType header on the specified entry request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the Content-Type header a request with operation parameters to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the ContentType header on the specified links request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Validates that we can write the request format. - - The request message to get the format from. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Validates that we can read the response format. - - The response message to get the format from. - - - - Throws InvalidOperationException for JSON Light without a model. - - - - - Throws NotSupportedException for JSON Verbose format. - - Content-type to appear on the message. - - - - Validates that we can read or write a message with the given content-type value. - - The content-type value in question. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Sets the request's content type header. - - Dictionary of request headers. - content type - - - - Sets the accept header to the given value and the charset to UTF-8. - - The headers to update. - The media type for the accept header. - - - - Chooses between using JSON-Light and the context-dependent media type for when Atom is selected based on the user-selected format. - - The value if using atom. - - Whether or not the select query option is present in the request URI. - If true, indicates that the client should ask the server to include all metadata in a JSON-Light response. - - The media type to use (either JSON-Light or the provided value) - - - - Gets the current format. Defaults to Atom if nothing else has been specified. - - - - - Invoked when using the parameterless UseJson method in order to get the service model. - - - - - True if the format has been configured to use Atom, otherwise False. - - - - - ODataFormat to use when writing URI literals. - - - - - Gets the service model. - - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result. - - - URI to next page of data. - - - Projection plan for results of next page. - - - Initializes a new instance. - URI to next page of data. - Projection plan for results of next page. - - - Returns the next link URI as a string. - A string representation of the next link URI. - - - Creates a new instance. - Link to next page of data (possibly null). - Plan to materialize the data (only null if nextLinkUri is null). - A new continuation object; null if nextLinkUri is null. - - - - Initializes a new instance that can - be used for this continuation. - - A new initializes . - - - Gets the URI that is used to return the next page of data from a paged query result. - A URI that returns the next page of data. - - - Type of element to be paged over. - - - Projection plan for the next page of data; null if not available. - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result.  - The type of continuation token. - - - Initializes a new typed instance. - URI to next page of data. - Projection plan for results of next page. - - - Type of element to be paged over. - - - Determines whether the client requests that the data service return inserted or updated entity data as an entry in the response message. - - - default option, no Prefer header is sent. - - - Prefer header with value return-content is sent with all PUT/MERGE/POST requests to entities. - - - Prefer header with value return-no-content is sent with all PUT/MERGE/POST requests to entities. - - - Stream wrapper for MR POST/PUT which also holds the information if the stream should be closed or not. - - - Arguments for the request when POST/PUT of the stream is issued. - - - The stream we are wrapping. - Can be null in which case we didn't open it yet. - - - Set to true if the stream should be closed once we're done with it. - - - - Constructor - - The stream to use. - Should the stream be closed before SaveChanges returns. - Additional arguments to apply to the request before sending it. - - - - Close the stream if required. - This is so that callers can simply call this method and don't have to care about the settings. - - - - The stream to use. - - - - Arguments to be used for creation of the HTTP request when POST/PUT for the MR is issued. - - - - Represents the URL of a binary resource stream. - - - name of the stream whose link needs to be populated. - - - self link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - edit link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - content type of the stream. - - - etag for the stream. - - - - Internal constructor to be used by the projection plan compiler, so that we capture the ri - - name of the stream. - - - - One of the properties changed its value - - property name - - - - PropertyChanged Event - - - - The name of the binary resource stream. - The name of the binary resource stream. - - - The URI that returns the binary resource stream. - The URI of the stream. - - - Gets the URI used to edit the binary resource stream. - The URI used to edit the stream. - - - Gets the MIME Content-Type of the binary resource stream. - The Content-Type value for the stream. - - - The eTag value that is used to determine concurrency for a binary resource stream. - The value of the eTag header for the stream. - - - - Class to describe errors thrown by transport layer. - - - - - Contains the state for this exception. - - - - - Constructs a new instance of DataServiceTransportException. - - ResponseMessage from the exception so that the error payload can be read. - Actual exception that this exception is wrapping. - - - - Gets the response message for this exception. - - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Called when deserialization of the exception is complete. - - The deserialized exception. - - - - Gets or sets the response message for this exception. - - - - - Generates proxy methods for external callers to call internal methods - All lambda_methods are considered external. When these methods need - to access internal resources, a proxy must be used. Otherwise the call - will fail for partial trust scenario. - - - - - Dynamically generated proxy methods for external callers (lambda_method are external callers) - - - - - Builds an expression to best call the specified . - - The original method or constructor - The arguments with which to call the method. - An expression to call the argument method or constructor - - - - Determines whether this assembly has enough permissions to create - s that can be hosted within this assembly - and also skip visibility checks (access modifier checks) in order to call potentially - internal user types (e.g., anonymous types). - - True if this assembly has enough permissions. Otherwise, false. - - - - Build a externally visible to call the argument method. - - The original method or constructor - The arguments with which to call the method. - An expression to call the argument method or constructor - - - - Create a new dynamic method - - the name - the return type - the parameter types - a new instance of dynamic method - - - - Wraps the specified in an expression that invokes it. - - The method to wrap in an expression. - The arguments with which to invoke the . - An expression which invokes the with the specified . - - - - context - - - - Storage for the client model. - - - Set of tracked resources - - - Set of tracked resources by Identity - - - Set of tracked bindings - - - change order - - - - Creates a new instance of EntityTracker class which tracks all instances of entities and links tracked by the context. - - max protocol version that the client understands. - - - Gets the entity descriptor corresponding to a particular entity - Entity for which to find the entity descriptor - EntityDescriptor for the or null if not found - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - - checks whether there is a tracked entity with the given identity. - - identity of the entity. - returns the entity if the identity matches, otherwise returns null. - - - - Adds the given entity descriptors to the list of the tracked entity descriptors. - - entity descriptor instance to be added. - - - the work to detach a resource - resource to detach - true if detached - - - remove the identity attached to the resource - resource with an identity to detach to detach - - - - Gets the link descriptor corresponding to a particular link b/w source and target objects - - Source entity - Property of - Target entity - LinkDescriptor for the relationship b/w source and target entities or null if not found - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - - find and detach link for reference property - - source entity - source entity property name for target entity - target entity - link merge option - true if found and not removed - - - - Add the given link to the link descriptor collection - - link descriptor to add - throws argument exception if the link already exists - - - - Remove the link from the list of tracked link descriptors. - - link to be removed. - true if the link was tracked and now removed, otherwise returns false. - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - use location from header to generate initial edit and identity - entity in added state - identity as specified in the response header - location header or dataserviceid header. - editlink as specified in the response header - location header. - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - increment the resource change for sorting during submit changes - - the resource to update the change order - - - create this.identityToResource when necessary - - - create this.bindings when necessary - - - - Ensure an identity is unique and does not point to another resource - - The identity - The entity descriptor - - - - Returns a collection of all the links (ie. associations) currently being tracked by the context. - If no links are being tracked, a collection with 0 elements is returned. - - - - - Returns a collection of all the resources currently being tracked by the context. - If no resources are being tracked, a collection with 0 elements is returned. - - - - Holds information about a ServiceFunction. - - - - This is a just a pass through implementation of IODataRequestMessage. This class is used - for wrapping the inner batch requests or in silverlight when we are using the - non-silverlight http stack, we need to fire IODataRequestMessage which throws - when GetStream is called. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - Boolean flag to allow calls to GetStream() on this instance - We want to allow this because WritingRequest and ReadingResponse events on the Windows Phone platform - requires that we pass a readable stream to user code as arguments. - - - - - request stream - - - - - dictionary containing http headers. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - boolean flag to allow calls to GetStream() on this instance - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Gets or set the credentials for this request. - - - - - Gets or sets the timeout (in seconds) for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - internal headers dictionary - - - - Response from an Invoke call. - - - Operation response base class - - - Http headers of the response. - - - Http status code of the response. - - - exception to throw during get results - - - - constructor - - HTTP headers - - - When overridden in a derived class, contains the HTTP response headers associated with a single operation. - object that contains name value pairs of headers and values. - - - When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. - Integer value that contains response code. - - - Gets error thrown by the operation. - An object that contains the error. - - - Http headers of the response. - - - Consutrcts an InvokeResponse identical to an OperationResponse. - The HTTP headers. - - - Encapsulates information about a link, or relationship, between entities. - - - navigation URI to the related entity. - - - association URI to the related entity. - - - the navigation property name - - - - Creates a LinkInfo with a given properyName - - the name of the navigation property - - - Gets the name of the link. - The name of the link. - - - Gets the URI that is the navigation property representation of the link. - The navigation link URI. - - - Gets the URI that is the association link. - The URI of the association link. - - - wrapper around loading a property from a response - - - - Wrapper HttpWebRequest & HttWebResponse - - - - Originating service request - - - The request info. - - - Originating WebRequest - - - reusuable async copy buffer - - - content to write to request stream - - - web response, closed when completed - - - Response info once it's available - - - buffer when copying async stream to response stream cache - - - response stream, returned to other parts of the system - with async, the asyncResponseStream is copied into this stream - - - copy of HttpWebResponse.ContentType - - - copy of HttpWebResponse.ContentLength - - - copy of HttpWebResponse.StatusCode - - - - does this own the response stream or does the container of this QueryAsyncResult? - - - - - if the BeginRead has been called with asyncStreamCopyBuffer, but EndRead has not. - do not return the buffer to general pool if any question of it being in use. - - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - the stream containing the request data. - - - - Ends the asynchronous query request. - - Element type of the result. - Source object of async request. - async method name. - The asyncResult being ended. - Data service response. - - - wrapper for HttpWebResponse.GetResponseStream - stream - - - start the asynchronous request - - - Synchronous web request - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Create materializer on top of response stream - - Precompiled projection plan (possibly null). - A materializer instance ready to deserialize ther result - - - - Processes the result for successfull request and produces the actual result of the request. - - Element type of the result. - The plan to use for the projection, if available in precompiled form. - A instance of QueryResponseResult created on top of of the request. - - - cleanup work to do once the request has completed - - - - Create the ResponseInfo. - - ResponseInfo object. - - - get stream which of copy buffer (via response stream) will be copied into - writtable stream, happens before GetAsyncResponseStreamCopyBuffer - - - get buffer which response stream will be copied into - writtable stream - - - returning a buffer after being done with it - buffer to return - - - set the http web response - response object - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - async result - error code if null or completed - - - - Make async calls to read the response stream. - - the state containing the information about the asynchronous operation. - - - handle responseStream.BeginRead with responseStream.EndRead - async result - - - - Creates an instance of for the given plan. - - The projection plan. - expected payload kind. - A new materializer instance - - - HttpWebResponse.ContentLength - - - HttpWebResponse.ContentType - - - HttpWebResponse.StatusCode - - - entity whose property is being loaded - - - Projection plan for loading results; possibly null. - - - name of the property on the entity that is being loaded - - - constructor - entity - name of collection or reference property to load - Originating context - Originating WebRequest - user callback - user state - request object. - Projection plan for materialization; possibly null. - Whether this request is a continuation request. - - - - loading a property from a response - - QueryOperationResponse instance containing information about the response. - - - - Creates the ResponseInfo object. - - ResponseInfo object. - - - - Reads the data from the response stream into a buffer using the content length. - - Response stream. - Length of data to read. - byte array containing read data. - - - Reads the data from the response stream in chunks. - Response stream. - byte array containing read data. - - - - Load property data from an ATOM response - - The property being loaded - property values as IEnumerable. - - - - Load property data form a raw response - - The property being loaded - property values as IEnumerable. - - - - Used to materialize a collection of primitive or complex values from an . - - - - - Used to materialize a value from an . - - - - Optional field that indicates if we should expect a single result to materialize, as opposed to a collection. - - - Reader for a message that contains a value or property. - - - Has the value been read. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Implementation of Read>. - - - Return value of Read/> - - - - - Called when IDisposable.Dispose is called. - - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Function to materialize an entry and produce a value. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Class that wraps the collection reader to get values from the collection reader - - - - - Collection Reader - - - - - Initializes a new instance of the class. - - The collection reader. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Gets the current element in the collection. - - The current element in the collection. - The enumerator is positioned before the first element of the collection or after the last element.-or- The collection was modified after the enumerator was created. - - - - Materializes entities from a sequence of ODataEntry objects - - - - The format of the response being materialized. - - - The entries enumerator - - - Is the enumerator finished. - - - - Initializes a new instance of the class. - - The entries. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - The format. - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Called when IDisposable.Dispose is called. - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Whether we have finished processing the current data stream. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Use this class to invoke projection methods from . - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - Projects a simple value from the specified . - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - - Extension methods for ODataItems - - - - - Gets the materialized value. - - The property. - The materialized value. - - - - Determines whether a value has been materialized. - - The property. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The property. - The materialized value. - - - - Gets the materialized value. - - The complex value. - The materialized value. - - - - Determines whether a value has been materialized. - - The complex value. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The complex value. - The materialized value. - - - - Gets the materialized value. - - The annotatable object. - The materialized value - - - - Determines whether a value has been materialized. - - The annotatable object. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The annotatable object. - The materialized value. - - - - Annotation class for the materialized value - - - - - Gets or sets the value. - - - The value. - - - - - Materializes from $links - - - - The links value read from the message. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads from message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Reads the links. - - - - - Gets the count value. - - - - - Current value being materialized; possibly null. - - - - - Returns true if the underlying object used for counting is available - - - - - Used to materialize a property from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Used to materialize a value from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - Is a single result expected. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - To cache the entity instance as annotation for firing ReadingEntity event - - - - XDocument instance to cache the payload. - - - BaseUri for the entry payload. - - - - Creates a new instance of ReadingEntityInfo - - XElement containing the entry payload. - base uri for the entry payload. - - - - Returns the new XmlReader to cache the payload for firing ReadingEntity event. - - ODataEntry instance that is currently getting deserialized. - XmlReader that is used to read the payload. - BaseUri for the entry payload. - XmlReader instance that needs to be used to read the payload for the given odataentry. - - - - Use this class to analyze a member assignment and figure out the - target path for a member-init on an entity type. - - - This class will also detect cases in which the assignment - expression refers to cases which we shouldn't handle during - materialization, such as references to multiple entity types - as sources (or refering to no source at all). - - - - - base vistor class for walking an expression tree bottom up. - - - - - Main visit method for ALinqExpressionVisitor - - The expression to visit - The visited expression - - - - MemberBinding visit method - - The MemberBinding expression to visit - The visited MemberBinding expression - - - - ElementInit visit method - - The ElementInit expression to visit - The visited ElementInit expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Expression list visit method - - The expression list to visit - The visited expression list - - - - MemberAssignment visit method - - The MemberAssignment to visit - The visited MemberAssignmentt - - - - MemberMemberBinding visit method - - The MemberMemberBinding to visit - The visited MemberMemberBinding - - - - MemberListBinding visit method - - The MemberListBinding to visit - The visited MemberListBinding - - - - Binding List visit method - - The Binding list to visit - The visited Binding list - - - - ElementInit expression list visit method - - The ElementInit expression list to visit - The visited ElementInit expression list - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - Empty expression array; immutable. - - - Entity in scope for the lambda that's providing the parameter. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found for this analysis. - - - Path traversed from the entry field. - - - Initializes a new instance. - Entity in scope for the lambda that's providing the parameter. - - - Analyzes an assignment from a member-init expression. - Entity in scope for the lambda that's providing the parameter. - The expression to analyze. - The analysis results. - - - - Checks whether the this and a - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses (null if this is the first). - An exception to be thrown if assignments are not compatible; null otherwise. - - This method does not set the IncompatibleAssignmentsException property on either - analysis instance. - - - - Visits the specified . - Expression to visit. - The visited expression. - This method is overriden to short-circuit analysis once an error is found. - - - Visits a conditional expression. - Expression to visit. - The same expression. - - There are three expressions of interest: the Test, the IfTrue - branch, and the IfFalse branch. If this is a NullCheck expression, - then we can traverse the non-null branch, which will be the - correct path of the resulting value. - - - - Parameter visit method. - Parameter to visit. - The same expression. - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - Visits a nested member init. - Expression to visit. - The same expression. - - - Visits a member access expression. - Access to visit. - The same expression. - - - Visits a method call expression. - Method call to visit. - The same call. - - - Gets the expressions that go beyond the last entity. - An array of member expressions coming after the last entity. - Currently a single member access is supported. - - - Gets the expressions that "walk down" to the last entity, ignoring the last expression. - An array of member expressions down to, but excluding, the last entity. - - - Gets the expressions that "walk down" to the last entity. - whether to ignore the last expression or not. - An array of member expressions down to the last entity. - - - - Checks whether the and - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - An exception to be thrown if assignments are not compatible; null otherwise. - - - Creates an exception to be used when CheckCompatibleAssignment fails. - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - A new exception with diagnostic information. - - - - If there is a MemberInitExpression 'new Person { ID = p.ID, Friend = new Person { ID = p.Friend.ID }}' - or a NewExpression 'new { ID = p.ID, Friend = new { ID = p.Friend.ID }}', - this method validates against the RHS of the member assigment, the expression "p.ID" for example. - - The expression to validate. - Type of the MemberInit or the New expression. - The outter nested initializer of the current initializer we are checking. - true if the expression to assign is fine; false otherwise. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found during analysis. - - - - Helper class for creating ODataLib readers, settings, and other read-related classes based on an instance of . - - - - The current response info. - - - - Initializes a new instance of the class. - - The response info. - - - - Create message reader settings for consuming responses. - - Optional XML entry customization callback to be used. - Newly created message reader settings. - - - - Creates a new the reader for the given response message and settings. - - The response message. - The settings. - Newly created message reader. - - - - Helper class for creating ODataLib writers, settings, and other write-related classes based on an instance of . - - - - The current request info. - - - - Initializes a new instance of the class. - - The request info. - - - - Create message writer settings for producing requests. - - Optional XML entry customization callback to be used for the start of entries. - Optional XML entry customization callback to be used for the end of entries. - if set to true indicates that this is a part of a batch request. - Newly created message writer settings. - - - - Creates a writer for the given request message and settings. - - The request message. - The writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - Newly created writer. - - - - Creates a request message with the given arguments. - - The request message args. - Newly created request message. - - - - IODataRequestMessage interface implementation. - - - - Request Url. - - - RequestInfo instance. - - - - Creates a new instance of ODataRequestMessage. This constructor is used for top level requests. - - RequestMessage that needs to be wrapped. - Request Info. - Descriptor for this request. - - - - Create a request message for a batch part from the batch writer. This method copies request headers - from in addition to the method and Uri. - - ODataBatchWriter instance to build operation message from. - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create a request message for a non-batch requests and outer $batch request. This method copies request headers - from in addition to the method and Uri. - - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Abort the current request. - - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Sets the request stream. - - The content stream to copy into the request stream. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the content length header for the given request message. - - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Adds the given header to the list of header whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Fires the following events, in order - 1. WritingRequest - 2. SendingRequest2 - - Descriptor for which this request is getting generated. - - - - FireSendingRequest2 event. - - Descriptor for which this request is getting generated. - - - - Descriptor for this request; or null if there isn't one. - - - - - Return the stream containing the request payload. - - - - - Gets or sets a value that indicates whether to send request data in segments. - - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - This is a just a pass through implementation of IODataRequestMessage. - In order to keep the sync and non-async code the same, we write all requests into an cached stream and then copy - it to the underlying network stream in sync or async manner. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - The cached request stream. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for non-batch requests and $batch requests. - - - - - Wrapper for the top-level request messages which caches the request stream as it is written. In order to keep the sync and non-async - code the same, we write all requests into an cached stream and then copy it to the underlying network stream in sync or async manner. - - - - - Creates a new instance of ODataOuterRequestMessage. - - DataServiceClientRequestMessage instance. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for inner batch operations. - - - - - Inner batch request that ODataLib creates. - - - - - Creates a new instance of InnerBatchRequestMessageWrapper; - - Instance of DataServiceClientRequestMessage that represents this request. - Instance of IODataRequestMessage created by ODataLib. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - Use this class to represent an annotated list of path segments. - - - Initializes a new instance. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - Member to initialize the path with. - - - Provides a string representation of this object. - A string representation of this object, suitable for debugging. - - - Parameter expression in the source tree. - - - Expression to get the entry for in the target tree. - - - Expression to get the expected root type in the target tree. - - - - Use this class to help keep track of projection paths built - while compiling a projection-based materialization plan. - - - - Stack of whether entities are in scope. - - - Registers rewrites for member initialization blocks. - - - Stack of lambda expressions in scope. - - - - Stack of expected type expression for . - - - - Stack of 'entry' parameter expressions. - - - Stack of projection (target-tree) types for parameters. - - - Initializes a new instance. - - - Provides a string representation of this object. - String representation of this object. - - - Records that a lambda scope has been entered when visiting a projection. - Lambda being visited. - Expression to the entry parameter from the target tree. - Expression to the entry-expected-type from the target tree. - - - - Records that a member initialization expression has been entered - when visting a projection. - - Expression for initialization. - - - Gets a rewrite for the specified expression; null if none is found. - Expression to match. - A rewrite for the expression; possibly null. - - - Records that a lambda scope has been left when visting a projection. - - - - Records that a member initialization expression has been left when - visting a projection. - - - - Registers a member initialization rewrite. - Root of member access path, typically a source tree parameter of entity type. - Sequence of names to match. - Rewrite expression for names. - - - Revokes the latest rewrite registered on the specified . - Root of rewrites to revoke. - Names to revoke. - - - Whether the current scope is acting on an entity. - - - Expression for the expected type parameter. - - - Whether any rewrites have been registered. - - - Expression for the entity parameter in the source tree lambda. - - - Expression for the entry parameter in the target tree. - - - Use this class to record how rewrites should occur under nested member initializations. - - - Sequence of member names to match. - - - Root of member access path, typically a source tree parameter of entity type. - - - Rewrite expressions for the last member path. - - - - Use this class to represent a step in a path of segments - over a parsed tree used during projection-driven materialization. - - - - Initializes a new instance. - Path on which this segment is located. - Name of member to access when traversing a property; possibly null. - - Type that we expect to project out; typically the same as , but may be adjusted. - - - - Initializes a new instance. - Path on which this segment is located. - Member expression for the projection path; possibly null. - - - Name of member to access when traversing a property; possibly null. - - - - Type that we expect to project out; typically the same as , but may be adjusted. - - - In particular, this type will be adjusted for nested narrowing entity types. - - For example: - from c in ctx.Customers select new NarrowCustomer() { - ID = c.ID, - BestFriend = new NarrowCustomer() { ID = c.BestFriend.ID } - } - - In this case, ID will match types on both sides, but BestFriend - will be of type Customer in the member access of the source tree - and we want to project out a member-initialized NarrowCustomer - in the target tree. - - - - - Contains the TypeAs at the source of the member access, null otherwise - e.g. (p as Employee).Manager - - - - Path on which this segment is located. - - - Use this class to store a materialization plan used with projections. - - - Runs this plan. - Materializer under which materialization should happen. - Root entry to materialize. - Expected type for the . - The materialized object. - - - Last segment type for query. - This typically matches the expected element type at runtime. - - - Provides a method to materialize a payload. - - - Expected type to project. - - - - Use this class to create a for a given projection lambda. - - - - Creates dynamic methods that wrap calls to internal methods. - - - Annotations being tracked on this tree. - - - Expression that refers to the materializer. - - - Tracks rewrite-to-source rewrites introduced by expression normalizer. - - - Number to suffix to identifiers to help with debugging. - - - Path builder used to help with tracking state while compiling. - - - Whether the top level projection has been found. - - - - Initializes a new instance. - - Rewrites introduces by normalizer. - - - Creates a projection plan from the specified . - Projection expression. - Tracks rewrite-to-source rewrites introduced by expression normalizer. - A new instance. - - - Binary visit method. - Binary expression to visit. - (Possibly rewritten) binary expression. - - This override is introduced because binary expressions are one of - the scopes at which normalization happens. - - - - Visits the specified expression. - Expression to check. - The visited expression. - - This override allows us to check for rewrites created by - ExpressionNormalizer.CreateCompareExpression. - - - - Unary visit method. - Unary expression to visit. - (Possibly rewritten) unary expression. - - This override is introduced because unary expressions are one of - the scopes at which normalization happens. - - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - Parameter visit method. - Parameter to visit. - Resulting expression. - - The parameter may get rewritten as a materializing projection if - it refers to an entity outside of member binding. In this case, - it becomes a standalone tracked entity. - - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - A MemberInitExpression on a knownEntityType implies that we - want to materialize the thing. - - - - Visits a method call expression. - Expression to visit. - A (possibly rewritten) expression for . - - - - Visit - - Expression to visit - an expression - - - LambdaExpression visit method. - The LambdaExpression to visit - The visited LambdaExpression - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Type arguments for method (possibly null). - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - - Rebind a call to DataServiceCollection constructor - - the constructor info - arguments to the constructor - An expression that calls the DSC constructor - - - Creates an expression that calls ProjectionCheckValueForPathIsNull. - Expression for root entry for paths. - Expression for expected type for entry. - Path to check null value for. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - Path to convert result for. - A new expression with the call instance. - - - - Rebinds a conditional that performs a null check on an entity. - - Conditional expression. - Results of null check analysis. - The rebound expression. - - Do a rewrite to avoid creating a type in the null check: - a.b == null ? null : [a.b]-based expression - becomes - ProjectionIsNull(a.b) ? null : [a.b]-based expression - - - - - Rebinds the specified expression by gathering - annotated paths and returning an expression that calls the - ProjectionGetEntity method. - - Member initialization expression. - A new expression suitable for materialization. - - - - Creates an expression that gets the deepest entry that will be found on the - specified (for the target tree). - - Path of expressions to walk. - An expression that invokes ProjectionGetEntry on the target tree. - - - Gets an expression before its rewrite. - Expression to check. - The expression before normalization. - - - Rebinds the specified parameter expression as a path-based access. - Expression to rebind. - Annotation for the expression to rebind. - The rebound expression. - - - Rebinds the specified member access expression into a path-based value retrieval method call. - Member expression. - Annotation for the base portion of the expression. - A rebound expression. - - - Rewrites NewExpression for DataServiceCollection to a constructor proxy method call. - The proxy is required for partially trusted appdomains. Paging information is preserved in the materializer. - NewExpression to create a collection - The rewritten expression. - - - Rewrites a call to Select() by adding to the current paths to project out. - Call expression. - Expression with annotated path to include in member binding. - - - Rewrites a call to ToList in the specified method. - Call expression. - Expression with annotated path to include in member binding. - - All that is necessary here is to rewrite the call to Select() and indicate - that the target type is a given List<T>. - - TODO: we're not bubbling this all the way to the GetOrCreateCollection method - does it matter? - - - - Rewrites a method call used in a sequence method (possibly over entity types). - Call expression. - Expression that can be called directly to yield the expected value. - - - Returns a method call that returns a list from a typed enumerable. - Expression to convert. - Target type to return. - The new expression. - - - Annotates an expression, typically from the target tree. - - - Segment that marks the path found to an expression. - - - - class for the event. - Exposes the ResponseMessage to the user. - - - - - Initializes a new instance of the class for a - non-batch or top level $batch response. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - - - - Initializes a new instance of the class. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - Indicates if this response is to an inner batch query or operation. - - - - Gets the response message that the client is receiving. - - - - - True if the response is an inner batch operation or query; false otherwise. - - - - - Descriptor for the request that the client is receiving the response for. - The descriptor may be null for certain types of requests, like most GET requests - and the top level $batch request. - - - - - Collection for header name/value pairs which is known to be case insensitive. - - - - - Case-insensitive dictionary for storing the header name/value pairs. - - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of . - - The response message to pull the headers from. - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of which is empty. - - - - - Adds default system headers - Currently it sets User-Agent header as default system header - - - - - Tries to get the value of the header with the given name, if it is in the collection. - - The header name to look for. - The header value, if it was in the collection. - Whether or not the header was in the collection. - - - - Gets the value of the header, or null if it is not in the collection. - - The header name to look for. - The header value or null. - - - - Sets a header value. Will remove the header from the underlying dictionary if the new value is null. - - The header name to set. - The new value of the header. - - - - Sets multiple header values at once. - - The headers to set. - - - - Gets an enumeration of the header values in the collection. - - An enumeration of the header values in the collection. - - - - Sets the request DataServiceVersion and MaxDataServiceVersion. - - DSV to set the request to. - Max protocol version, which MDSV will essentially be set to. - - - - Sets the header if it was previously unset. - - The header to set. - The new header value. - - - - Sets UserAgent header - - - - - Creates a copy of the current header collection which uses a different dictionary to store headers. - - A copy of the current headers. - - - - Gets the DataServiceVersion as a Version object if it is encoded as a proper version string with an optional Util.VersionSuffix ending. - - The DataServiceVersion header as a Version object. - - - - Gets the underlying dictionary the headers are stored in. Should only be used when absolutely necessary for maintaining public API. - - - - - Gets the names of all the headers in the collection. - - - - - Class which wraps the dataservicecontext and exposes information required for - generating request to send to the server - - - - The type resolver for the current request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - Whether this is a continuation request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. The reasons for doing this are to give us a place - to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - ODataRequestMessageWrapper instance - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - The entity descriptor. - The server type name for the entity. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - Client type annotation. - The server type name for the entity. - - - - Infers the server type name for the entity tracked in the given descriptor based on the server model. - - The descriptor containing the entity to get the type name for. - The type name or null if it could not be inferred. - - - - Fires the WritingEvent event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Returns the instance of ResponseInfo class, which provides all the information for response handling. - - merge option to use for handling the response conflicts. - If this parameter is null the default MergeOption value from the context is used. - instance of response info class. - - - - Returns the instance of LoadPropertyResponseInfo class, which provides information for LoadProperty response handling. - - Merge option to use for conflict handling. - Entity whose property is being loaded. - Property which is being loaded. - Instance of the LoadPropertyResponseInfo class. - - - - Validates that the response version can be accepted as a response for this request - - The version of the response (possibly null if none was specified) - Exception if the version can't be accepted, otherwise null. - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Returns an instance of the IODataRequestMessage - - Arguments for creating the request message. - an instance of the IODataRequestMessage - - - - Asks the context to Fire the BuildingRequest event and get RequestMessageArgs. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - The writing helper to use. - - - context instance. - - - - Whether this is a continuation request. - - - - Gets the URI used to indicate what type scheme is used by the service. - - - Override the namespace used for the data parts of the ATOM entries - - - Gets the configurations. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - Indicates if there are subscribers for the WritingEntity event - - - Whether to ignore extra properties in the response payload. - - - True if the context's ResolveName property has been set, otherwise false. - - - True if the context's ResolveName property can be determined to be a user-supplied value, instead of the one provided by codegen. - - - Gets the BaseUriResolver - - - Gets the response preference for Add and Update operations. - - - The maximum protocol version the client should understand. - - - - Returns true if there are subscribers to SendingRequest event. - - - - - Returns true if there are subscribers to SendingRequest event. - - - - - True if the user could have modified a part of the request. This lets us turn off assertions that normally - prevent us from making certain mistakes we don't mind the user intentionally ignoring. - - - - - Gets the authentication information used by each query created using the context object. - - - - - Get the timeout span in seconds to use for the underlying HTTP request to the data service. - - - - - Whether to use post-tunneling for PUT/DELETE. - - - - - Gets the client model. - - - - - Gets the tracker for the user-specified format to use for requests. - - - - - Gets the type resolver. - - - - - Gets the URL conventions the user set on the context. - - - - - The HTTP stack to use in Silverlight. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - - Wrappers the context and only exposes information required for - processing the response from the server - - - - The request that led to this response. - - - MergeOption to use to process the response. - - - - Creates a new instance of the ResponseInfo class which exposes all the information from - the context required for processing the response from the server. - - The request info - mergeOption - - - The reading helper to use. - - - - Whether this is a continuation request. - - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Override the namespace used for the data parts of the ATOM entries - - - MergeOption to use to merge the entities from the response and one present in the client. - - - Whether to ignore extra properties in the response payload. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - A flag indicating if the data service context is applying changes - - - Gets the type resolver instance. - - - Gets the BaseUriResolver - - - return the protocol version as specified in the client. - - - - Gets the client model. - - - - - Returns the DataServiceContext - Should be only used in DataServiceCollection constructor, where - we need to infer the context from the results. - - context instance. - - - - Gets the reading pipeline configuration - - - - - Information used for handling response to a LoadProperty request. - - - - - Constructs a new instance. - - Information about the request. - Merge option. - Entity whose property is being loaded. - Property which is being loaded. - - - - Entity whose property is being loaded. - - - - - Property being loaded. - - - - Event args for the SendingRequest2 event. - - - - Creates a new instance of SendingRequest2EventsArgs - - request message. - Descriptor that represents this change. - True if this args represents a request within a batch, otherwise false. - - - The web request reported through this event. The handler may modify or replace it. - - - The request header collection. - - - Returns true if this event is fired for request within a batch, otherwise returns false. - - - - Forwards calls to an OData Writer - - - - The odataWriter. - - - The payload writing events. - - - - Prevents a default instance of the class from being created. - - The odata writer. - The request pipeline configuration. - - - - Creates the odata entry writer. - - We never create a feed writer as the client doesn't support deep insert, if we did this would need to change - The message writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Creates the odata entry writer for testing purposes only - - The odata writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Writes the start. - - The entry. - The entity. - - - - Writes the end. - - The entry. - The entity. - - - - Writes the end. - - The link. - The source. - The target. - - - - Writes the end Actions. - - The link. - The source. - The target. - - - - Writes the navigation link end. - - - - - Writes the start. - - The navigation link. - The source. - The target. - - - - Writes the start for Navigation link. - - The navigation link. - The source. - The target. - - - - Writes the start for a collection of navigation links. - - The navigation link. - - - - Writes the entity reference link. - - The reference link. - The source. - The target. - - - IODataRequestMessage interface implementation. - - - Request Url. - - - The effective HTTP method. - - - RequestInfo instance. - - - HttpWebRequest instance. - - - List of header value to reset after SendingRequest event is fired. - - - True if the FireSendingRequest method is already called, otherwise false. - - - True if SendingRequest2Event is currently invoked, otherwise false. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - RequestInfo instance. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the Content length of the Http web request - - Http web request to set the content length on - Length to set - - - - Sets the accept charset. - - The HTTP web request. - The header value. - - - - Attempts to set the UserAgent property if it exists other wise returns false - - The http web request. - The value of the user agent. - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - This method is called just before firing SendingRequest2 event. - - - - - This method is called immd. after SendingRequest2 event has been fired. - - - - - Set the header values on the request. - - IODataRequestMessage instance containing all the headers. - Dictionary of cached headers. - The Effective http method. - - - - Create an instance of HttpWebRequest from the given IODataRequestMessage instance. This method - is also responsible for firing SendingRequest event. - - Http Method. - Request Url. - DataServiceClientRequestMessageArgs instance. - an instance of HttpWebRequest. - - - - Sets the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to apply the header to. - Name of the header. - Value of the header. - - - - Get the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to get the header value from. - Name of the header. - the value of the header with the given name. - - - - Convert the WebException into DataServiceWebException. - - WebException instance. - an instance of DataServiceWebException that abstracts the WebException. - - - - Fire SendingRequest event if its conditions are met. - If the user has a handler for BuildingRequest, we will throw. - If the user has no BuildingRequest handlers but does have a SendingRequest2 handler, we silently do not fire this event (this is shipped 5.0 behavior). - - - - Returns the request url. - - - Returns the method for this request. - - - Returns the collection of request headers. - - - Returns the underlying HttpWebRequest - - - - Gets or set the credentials for this request. - - - - - Gets or sets the timeout (in seconds) for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - IODataResponseMessage interface implementation - - - - Cached headers. - - - A func which returns the response stream. - - - The response status code. - - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Constructor. - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to read the response payload. - - Stream from which the response payload can be read. - - - - Close the underlying HttpWebResponse. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the collection of response headers. - - - - - Gets the underlying . - - - - - The response status code. - - - - - Component for converting properties on client types into instance of in order to serialize insert/update payloads. - - - - - The request info. - - - - - Initializes a new instance of the class. - - The request info. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The server type name of the entity whose properties are being populated. - The properties to populate into instance of ODataProperty. - Populated ODataProperty instances for the given properties. - - - - Creates and returns an ODataComplexValue from the given value. - - The value type. - The complex value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - True, if the value is an item in a collection, false otherwise. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataComplexValue representing the given value. - - - - Creates and returns an ODataCollectionValue from the given value. - - The type of the value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - The value. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataCollectionValue representing the given value. - - - - Returns the primitive property value. - - Value of the property. - Type of the property. - Returns the value of the primitive property. - - - - Gets the specified type name as an EDM Collection type, e.g. Collection(Edm.String) - - Type name of the items in the collection. - Collection type name for the specified item type name. - - - - Creates and returns an for the given primitive value. - - The property being converted. - The property value to convert.. - An ODataValue representing the given value. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The properties to populate into instance of ODataProperty. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - Populated ODataProperty instances for the given properties. - - - - Tries to convert the given value into an instance of . - - The property being converted. - The property value to convert.. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - The odata value if one was created. - Whether or not the value was converted. - - - - Returns the value of the complex property. - - Property which contains name, type, is key (if false and null value, will throw). - property value - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataComplexValue containing the value of the properties of the given complex type. - - - - Returns the value of the collection property. - - Collection property details. Must not be null. - Collection instance. - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataCollectionValue representing the value of the property. - - - - Adds a type annotation to the value if it is primitive and not defined on the server. - - The server type name of the entity whose properties are being populated. - The current property. - The already converted value of the property. - - - - Convert between primitive types to string and xml representation - - - - - Constructor - - - - - Create a parser token from xml feed - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - token - - - - Create a parser token from text representation ($value end points) - - The text form reprensentation - token - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - MethodInfo for the ToArray method on the Binary type. - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Converts the System.Data.Linq.Binary to byte[] by calling the ToArray method on the Binary type. - - Instance of Binary type. - Byte[] instance containing the value of the Binary type. - - - - The delay loaded binary type - - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between an instance of geography and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of geometry and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of DataServiceStreamLink and its xml representation. - There is never a scenario in client which requires to do this, but since a converter - is required, adding one which does nothing for namedstream. - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Represent a Primitive Type on the client - - - 1) Performance - For performance reasons we use several dictionaries here: - - clrMapping contains well known primitive types. Initialized in the static constructor and never changed - after initialization. Therefore it is safe to read without locks. Also see comment about Binary type below - - derivedPrimitiveTypeMapping - a map for custom primitive types derived from well known primitive types - - especially spatial types. New items may be added at runtime so reads and writes must be locked - - knownNonPrimitiveTypes - a HashSet of types we have seen and determined they are not primitive. Used - to shortcircuit logic for finding derived primitive types for types we know are not primitive. - To get a primitive type one *MUST NOT* clrMapping since clrMapping will not contain custom primitive types - but call TryGetPrimitiveType method that knows how to handle multiple dictionaries. - 2) System.Data.Linq.Binary - We want to avoid static dependency on System.Data.Linq.dll. On the other hand System.Data.Linq.Binary is - a well known primitive type. For performance reasons and to avoid locking the clrMapping is only initialized - in the static ctor when we don't have System.Data.Linq.Binary type handy. Therefore we use the dummy BinaryTypeSub - type during initialization. As a result to get a well known primitive type one *MUST NOT* use the clrMapping - dictionary directly but call TryGetWellKnownPrimitiveType() method which knows how to handle BinaryType. - - - - - Clr Type - Primitive Type mapping for well known primitive types - - - It is being initialized in the static constructor and must not change - later. This way we can avoid locking it. - - - - - Clr Type - Primitive Type mapping for custom derived primitive type (e.g. spatial types) - - - This dictionary contains type mapping for custom derived primitive types (e.g. spatial) that - are types discovered at runtime and added as we go. Any access to this dictionary requires locking. - - - - - Edm Type - Primitive Type mapping - - - - - Cache containing known non-primitive types. Any access to this hashset requires locking. - - - - - Static Constructor - - - - - Constructor - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - A PrimitiveXmlConverter that provides convertion between instances of this type to its Xml representation and back - Whether this primitive type can be mapped from the Edm type name - - - - Try retrieve a primitive type metadata from a clr type - - The Clr Type - The returning primitive type - True if the type is found - - See remarks for the class. - - - - - Try retrieve a primitive type metadata from a Edm Type Name - - Edm Type Name - The returning primitive type - True if the type is found - - - - Is this a known primitive type (including string,byte[],uri) - - type to analyze - true if known primitive type - - - - Is this a known primitive type or a nullable based on a primitive type (including string,byte[],uri) - - type to analyze, possibly nullable - true if known primitive type or a nullable based on a primitive type - - - - Delete the type from known type table - - The clr type - The edm type name to remove, or null - This is a test clean up hook. MUST NOT BE CALLED FROM PRODUCT CODE. - - - - Register a known type as primitive type - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - The Type Converter - Whether this mapping should have a reverse mapping from Edm - - This method is internal only for testing purposes. - IN PRODUCT MUST BE CALLED ONLY FROM THE STATIC CTOR OF THE PrimitiveType CLASS. - - - - - Creates a new instance of the corresponding IEdmPrimitiveType - - Returns a new instance of the corresponding IEdmPrimitiveType - - - - Populate the mapping table - - - MUST NOT BE CALLED FROM PRODUCT CODE OTHER THAN STATIC CTOR OF PrimitiveType class. - - - - - Tries to get a well known PrimitiveType for a clr type. Contains logic to handle Binary type. - - The clr type to get well known PrimitiveType for. - PrimitiveType for the if exists. Otherwise null. - true if a PrimitiveType for the was found. Otherwise false. - - - - Whether the is System.Data.Linq.Binary. - - Type to check. - true if is System.Data.Linq.Binary. Otherwise false. - - - - The Clr Type - - - - - The Edm Type Name - - - - - A PrimitiveXmlConverter that provides convertion between - instances of this type to its Xml representation and back - - - - - This type has a reverse edm type mapping - - - Some known primitive types have shared edm type mapping - Only one of these shared type can contain a reverse mapping - - - - - Gets the types EDM primitive type kind - - - - - There is no static dependency on System.Data.Linq where Binary type lives. We - will use this type to Substitute for the missing Binary type. - - - - - Represents a definition of an EDM primitive type. - - - - - Namespace of the type. - - - - - Name of the type. - - - - - The kind of primitive. - - - - - Creates an instance of the client EDM primitive type. - - Namespace of the type. - Name of the type. - Kind fo the primitive type. - - - - Creates a new instance of the IEdmPrimitiveType - - Kind of primitive type. - Returns a new instance of the IEdmPrimitiveType - - - - Name of the type. - - - - - Namespace of the type. - - - - - Kind of the primitive type. - - - - - The kind of this schema element. - - - - - Kind of this type. - - - - - A parser token - - - - - Materialize this token using a PrimitiveTypeConverter - - The primitive type - A materialized instance - - - - Textual based parser token - - - - - Constructor - - Textual value - - - - Materialize by calling the Parse method on the converter - - clrType - A materialized instance - - - - The text property - - - - - Instance based parser token, where the token is the materialized instance - - The instance type - - - - Constructor - - The instance - - - - Materialize by returning the instance - - A primitive type converter - The instance - - - - The instance - - - - Equality comparer implementation that uses reference equality. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accesses statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - Single instance per 'T' for comparison. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - Returns a singleton instance for this comparer type. - - - - Class which implements the for the GetReadStream operation. - Note that this effectively behaves as a simple wrapper around the IAsyncResult returned - by the underlying HttpWebRequest, although it's implemented fully on our own to get the same - behavior as other IAsyncResult objects returned by the client library. - - - - The web request this class wraps (effectively) - - - descriptor of the stream which is getting queried. - - - RequestInfo for this request. - - - IODataResponseMessage containing all the response information. - - - - Constructs a new async result object - - The source of the operation. - Name of the method which is invoked asynchronously. - The object which is wrapped by this async result. - User specified callback for the async operation. - User state for the async callback. - stream descriptor whose value is getting queried. - - - - Begins the async request - - - - - Ends the request and creates the response object. - - The response object for this request. - - - - Executes the request synchronously. - - - The response object for this request. - - - - invoked for derived classes to cleanup before callback is invoked - - - Set the AsyncWait and invoke the user callback. - the request object - This method is not implemented for this class. - - - - Async callback registered with the underlying HttpWebRequest object. - - The async result associated with the HttpWebRequest operation. - - - - Holds state (Path, lambda parameter stack, etc) for projection analysis. - - - - This class is used as a marker for an entity projected in its entirety. - - - The request data service version for the projection and expand paths - - - Initializes a new instance. - - - Starts a new path. - - - - Appends the given property and source TypeAs to the projection and expand paths. - - Navigation property - The TypeAs type if the source of the member access expression is a TypeAs operation. Null otherwise. - Data service context instance. - - - - Appends a name of a property/link/type to the current projection path. - - name of the property/link/type which needs to be added to the select path. - if originally present in the path, replace the entity marker after appending the name - the string builder containing all the select paths. - - - - Appends a name of a property/link/type to the current expand path. - - name of the property/link/type which needs to be added to the expand path. - - - - If the path ends with the EntireEntityMarker, remove it from the path. - - path - True if the EntireEntityMarker was found. - - - - Adds the EntireEntityMarker to the end of the path - - path - - - The request data service version for the projection and expand paths - - - - Analyzes projection expressions to see if supported. - To be writable, must follow these rules: - 1) Must be known Entity Type - 2) Must be a true narrowing of the source type. Subset of properties + no transformations other then casts. - - To be materializable (read-only), must follow these rules - 1) No transient object creation. (Entity and non-Entity types) - 2) No referencing of other DataService queries or contexts. - - - - - Analyzes a lambda expression to check whether it can be satisfied with - $select and client-side materialization. - - Lambda expression. - Resource expression in scope. - Whether member accesses are matched as top-level projections. - Context of expression to analyze. - true if the lambda is a client-side projection; false otherwise. - - - - Checks whether the specified refers - to a sequence method call allowed on entity types. - - Method call expression to check. - true if the method call is allowed; false otherwise. - The method won't check whether the call is made on actual entity types. - - - - Checks whether the specified refers - to a Select method call that works on the results of another Select call - - Method call expression to check. - Type of the projection - - - - Checks whether the specified expression creates a collection. - - Expression to check. - true if given expression is collection producing. - - - - Checks whether the specified expression is allowed in a MethodCall. Expressions that - produce collections are not allowed. The only exception is when collection property - belongs to an entity e.g. c.Orders.Select(o => o), where we allow c.Orders. - - Expression to check. - The client model used. - true if expression is disallowed, false otherwise. - - - - Analyzes the specified expression with an entity-projection or - non-entity-projection analyzer. - - Expression to analyze. - Path box where select and expand paths are tracked. - Context of expression to analyze. - - - - Analyzes the specified for selection and updates - . - - Lambda expression to analyze. - Resource expression to update. - Context of expression to analyze. - - - Skips converts and returns the underlying expression. - Expression to dig into. - The original expression without converts. - - IMPORTANT: This is fine for checks on underlying expressions where we - want converts to be "mostly" transparent, but using the result in - place of the given loses information. - - - - Path-tracking object. - - - Type being member-init'ed. - - - - This analyzer iterates through the list of member assignments in the MemberInitExpression - and visits each one. This field tracks if the currently visited member assignment is a - MemberAccessExpression, used for determining if a TryAs convert should be emitted when visited. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TryAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Initializes a new instance. - Path-tracking object. - Type being member-init'ed. - Context of expression to analyze. - - - Analyzes the specified member-init expression. - Expression to analyze. - Path-tracking object to store analysis in. - Context of expression to analyze. - - - - Specific Vistior base class for the DataServiceQueryProvider. - - - - - Main visit method. - - Expression to visit - Visited expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - NavigationPropertySingletonExpressionvisit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - Visit an , producing a new InputReferenceExpression - based on the visited form of the that is referenced by - the InputReferenceExpression argument, . - - InputReferenceExpression expression to visit - Visited InputReferenceExpression expression - - - See corresponding comment in EntityProjectionAnalyzer - - - See corresponding comment in EntityProjectionAnalyzer - - - Visits a unary expression while initializing a non-entity type structure. - Expression to visit. - The visited expression. - - - - Visits a member access expression in non-entity projections, validating that - it's correct and recording the path visit to include in a projection if necessary. - - Expression to visit. - The same expression. - - The projection analyzer runs after funcletization, so a member expression - rather than a constant expression implies that this is correlated to - a parameter, by dotting through the argument in valid cases, and possibly - more complex cases in others like new DSC(p.Orders)*.Foo* <- .Foo is invalid. - - - - - An resource specific expression representing a projection query option. - - - - - An resource specific expression representing a query option. - - - - The CLR type this node will evaluate into. - - - - Creates a QueryOptionExpression expression - - the return type of the expression - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the value represented by this . - - - - projection expression to evaluate on client on results from server to materialize type - - - projection paths to send to the server - - - - Creates a ProjectionQueryOption expression - - the return type of the expression - projection expression - Projection paths for the query option - - - - The of the . - - - - - expression for the projection - - - - - expression for the projection - - - - Represents the components of query. - - - Query option used in projection queries. - - - Select query option as it appears at the beginning of a query string. - - - Select query option as it appears in the middle of a query string. - - - type - - - Records the generated-to-source rewrites created. - - - selector Lambda Expression - - - HttpMethod to use in the query. - - - List of parameters for a service operation or a service function. - - - List of parameters for service action. - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - Version for query - - - - Constructs a container for query components with HttpMethod GET. - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - - - - Constructs a container for query components - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - The HttpMethod to be used in the request. - If true, then a single primitive or complex value is expected. If false, then a collection of primitives or complex - is expected. Should be null when expecting a void response, a single entry, or a feed. - The body operation parameters associated with a service action. - The uri operation parameters associated with a service function or a service operation. - - - - Determines whether or not the specified query string contains the $select query option. - - String that may contain $select. - True if the specified string contains the $select query option, otherwise false. - - This method is specifically looking for patterns that would indicate we really have the specific query option and not something like $selectNew. It also expects that - any data string being passed to this method has already been escaped, as the things we are looking for specifically contain equals signs that would be escaped if in a data value. - - - - Records the generated-to-source rewrites created. - - - The projection expression for a query - - - The last segment type for query - - - The data service version associated with the uri - - - The HttpMethod to be used in the query. - - - - List of operation parameters for service operation or a service function. - - - - - List of operation parameters for a service action. - - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - - Gets a value indicating whether the URI for this query has the select query option. - - - - Gets or sets the URI for a query, possibly with query options added to the cached URI. - URI with additional query options added if required. - - - - Static utility class for identifying methods in Queryable, Sequence, and IEnumerable - and - - - - - Identifies methods as instances of known sequence operators. - - Method info to identify - Identified sequence operator - true if method is known; false otherwise - - - - Check to see if this is an Any or an All method - - sequence method to check. - true if sequence method is Any or All, false otherwise. - - - - Requires: - - no collisions on type names - - no output or reference method parameters - - - Produces a string description of a method consisting of the name and all parameters, - where all generic type parameters have been substituted with number identifiers. - - Method to identify. - Canonical description of method (suitable for lookup) - - - - Returns all static methods in the Queryable and Enumerable classes. - - - - - Enumeration of known extension methods - - - - - Represents a reference to a bound resource set in the resource path. - The type of the input reference is the element type of the set. - - - Because the type of the input reference is the element type of the set, - it can be used to indicate what a range variable ranges over. - - For example, in input.Select(b => b.id), 'input' is an IQueryable of T, - and 'b' is a parameter of type T. 'b' can be rebound as an input reference - to 'input' by the InputBinder, which helps in query analysis and - translation. - - - - The resource or set referred to by this input reference expression - - - - Constructs a new input reference expression that refers to the specified resource set - - The target resource set that the new expression will reference - - - - Retargets this input reference to point to the resource set specified by . - - The that this input reference should use as its target - - - - The of the value represented by this . - - - - - The of the . - - - - - Retrieves the resource set referred to by this input reference expression - - - - - The counting option for the resource expression - - - - No counting - - - Translates to the $count segment. - - - Translates to the $inlinecount=allpages query option - - - - Abstract base class for expressions that support Query Options - - - - Source expression. - - - Singleton InputReferenceExpression that should be used to indicate a reference to this element of the resource path - - - The CLR type this node will evaluate into. - - - expand paths - - - The count query option for the resource set - - - custom query options - - - projection expression - - - Uri version for the expression and also the expand and projection paths - - - - Creates a Resource expression - - the source expression - the return type of the expression - the expand paths - the count option - The custom query options - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Creates an that refers to this component of the resource path. - The returned expression is guaranteed to be reference-equal (object.ReferenceEquals) - to any other InputReferenceExpression that also refers to this resource path component. - - The InputReferenceExpression that refers to this resource path component - - - Raise the UriVersion if it is lower than . - Uri version from the expand and projection paths - - - - The of the value represented by this . - - - - - Resource type for this expression (for sets, this is the element type). - Never null. - - - - - The resource type that this expression is explicitly converted to by a TypeAs - expression (i.e., "as" operator in C#, "TryCast" in VB). Null if no conversion. - - - - - Uri version from the expand and projection paths - - - - - Does this expression produce at most 1 resource? - - - - - Expand query option for ResourceSet - - - - - Count query option for ResourceSet - - - - - custom query options for ResourceSet - - - - Description of the projection on a resource. - - This property is set by the ProjectionAnalyzer component (so it - mutates this instance), or by the ResourceBinder when it clones - a ResourceExpression. - - - - - Gets the source expression. - - - - - performs funcletization on an expression tree - - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A function that decides whether a given expression node can be part of the local function. - A new tree with sub-trees evaluated and replaced. - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A new tree with sub-trees evaluated and replaced. - - - - Evaluates if an expression can be evaluated locally. - - the expression. - true/ false if can be evaluated locally - - - - Evaluates and replaces sub-trees when first candidate is reached (top-down) - - - - list of candidates - - - - constructs an expression evaluator with a list of candidates - - List of expressions to evaluate - - - - Evaluates an expression sub-tree - - The expression to evaluate. - The evaluated expression. - - - - Visit method for visitor - - the expression to visit - visited expression - - - - Evaluates expression - - the expression to evaluate - constant expression with return value of evaluation - - - - Performs bottom-up analysis to determine which nodes can possibly - be part of an evaluated sub-tree. - - - - func to determine whether expression can be evaluated - - - candidate expressions for evaluation - - - flag for when sub tree cannot be evaluated - - - - Creates the Nominator based on the function passed. - - - A Func speficying whether an expression can be evaluated or not. - - visited expression - - - - Nominates an expression to see if it can be evaluated - - - Expression to check - - a list of expression sub trees that can be evaluated - - - - Visit method for walking expression tree bottom up. - - - root expression to visit - - visited expression - - - - Replaces expression patterns produced by the compiler with approximations - used in query translation. For instance, the following VB code: - - x = y - - becomes the expression - - Equal(MethodCallExpression(Microsoft.VisualBasic.CompilerServices.Operators.CompareString(x, y, False), 0) - - which is normalized to - - Equal(x, y) - - Comment convention: - - CODE(Lang): _VB or C# coding pattern being simplified_ - ORIGINAL: _original LINQ expression_ - NORMALIZED: _normalized LINQ expression_ - - - - - If we encounter a MethodCallExpression, we never need to lift to lift to null. This capability - exists to translate certain patterns in the language. In this case, the user (or compiler) - has explicitly asked for a method invocation (at which point, lifting can no longer occur). - - - - - Gets a dictionary mapping from LINQ expressions to matched by those expressions. Used - to identify composite expression patterns. - - - - Records the generated-to-source rewrites created. - - - Initializes a new instance. - Dictionary in which to store rewrites. - - - - Applies normalization rewrites to the specified - , recording them in the - dictionary. - - Expression to normalize. - Dictionary in which to record rewrites. - The normalized expression. - - - - Handle binary patterns: - - - VB 'Is' operator - - Compare patterns - - - - - CODE: x - ORIGINAL: Convert(x, t) where t is assignable from typeof(x) - ORIGINAL: x as t, where t is assignable from typeof(x) - ORIGINAL: and typeof(x) or t are not known primitives unless typeof(x) == t - ORIGINAL: and x is not a collection of entity types - NORMALIZED: x - - - - - CODE: x - ORIGINAL: Convert(x, typeof(object)) - ORIGINAL(Funcletized): Constant(x, typeof(object)) - NORMALIZED: x - - - - - Returns true if the given expression is a constant '0'. - - - - - Handles MethodCall patterns: - - - Operator overloads - - VB operators - - - - - Handles MethodCall patterns (without recording rewrites): - - - Operator overloads - - VB operators - - - - - Remove extra Converts from the source of Any/All/OfType methods - - - - - Identifies and normalizes any predicate argument in the given call expression. If no changes - are needed, returns the existing expression. Otherwise, returns a new call expression - with a normalized predicate argument. - - - - - Determines whether the given call expression has a 'predicate' argument (e.g. Where(source, predicate)) - and returns the ordinal for the predicate. - - - Obviously this method will need to be replaced if we ever encounter a method with multiple predicates. - - - - - Determines whether the given expression of the form Lambda(Coalesce(left, Constant(false)), ...), a pattern - introduced by the VB compiler for predicate arguments. Returns the 'normalized' version of the expression - Lambda((bool)left, ...) - - - - - Identifies and normalizes a Select method call expression of the following form: - Select(x => Convert(x)) - If a match is found, it is translated into a Cast() call. - - This supports type casting in queries like the following: - from DerivedType entity in context.Entities - select entity - Where DerivedType is derived from the type of context.Entities. - The pattern also applies to SelectMany calls with the same structure as above. - - In C#, the type cast above is represented as a Cast call and the ResourceBinder knows how to handle that. - In VB, the same query is translated into Select(x => Convert(x)) instead of Cast, and the ResourceBinder - doesn't recognize that pattern. This normalization allows the two queries to be treated the same. - - MethodCallExpression to potentially normalize. - - If the query pattern was found, a Cast call is returned with the same source as the original Select and - a cast type that is the same as the original Convert expression. - If no normalization is required, the original MethodCallExpression is returned without changes. - - - - - Looks for a method call expression of the form - Select(entity => Convert(entity, DerivedType)) - If found, returns DerivedType. - - Expression to check for pattern match. - If the match was found, this is the type used in the Convert, otherwise null. - True if the expression matches the desired pattern, otherwise false. - - - - Looks for a lambda expression of the form - related => Convert(related, DerivedType) - Returns DerivedType if a match was found. - - Expression to check for pattern match. - - If the matches the pattern, this is the type of the found Convert call, otherwise null. - - True if the expression matches the desired pattern, otherwise false. - - - - This method exists solely to support creation of valid relational operator LINQ expressions that are not natively supported - by the CLR (e.g. String > String). This method must not be invoked. - - - - - Create an operator relating 'left' and 'right' given a relational operator. - - - - - Try to create an operator relating 'left' and 'right' using the given operator. If the given operator - does not define a known relation, returns false. - - - - - CODE(C#): Class.Compare(left, right) - ORIGINAL: MethodCallExpression(Compare, left, right) - NORMALIZED: Condition(Equal(left, right), 0, Condition(left > right, 1, -1)) - - Why is this an improvement? We know how to evaluate Condition in the store, but we don't - know how to evaluate MethodCallExpression... Where the CompareTo appears within a larger expression, - e.g. left.CompareTo(right) > 0, we can further simplify to left > right (we register the "ComparePattern" - to make this possible). - - - - Records a rewritten expression as necessary. - Original source expression. - Rewritten expression. - - IMPORTANT: if there are higher-level rewrites such as replacing parameter - references, the lower-level rewrites will become un-doable in other - contexts; we will have to change normalization/de-normalization strategy, - record additional mapping information and/or bubble up the rewrite - tracking. - - - - Records the generated-to-source rewrites created. - - - - Encapsulates an expression matching some pattern. - - - - - Gets pattern kind. - - - - - Gets pattern kind. - - - - - Matches expression of the form x.CompareTo(y) or Class.CompareTo(x, y) - - - - - Gets left-hand argument to Compare operation. - - - - - Gets right-hand argument to Compare operation. - - - - - An resource specific expression representing a filter query option. - - - - - The individual expressions that makes the filter predicate - - - - - Creates a FilterQueryOptionExpression expression - - the return type of the expression - - - - Adds the conjuncts to individualExpressions - - The predicates. - - - - Gets the query option value. - - A predicate with all Conjuncts AND'ed - - - - The of the . - - - - - Gets the list of individual conjucts which are separated by AND for the predicate - i.e. if the filter statement is id1=1 and id2="foo" and id3=datetime'31' - then this list will have 3 entries, id1=1, id2="foo" and id3=datetime'xxxxxxxxx' - - - - - Replaces references to resource sets - represented as either ParameterExpressions or one or more - MemberExpressions over a ParameterExpression - with an appropriate InputReferenceExpression that - indicates which resource set is referenced; effective 'binds' the argument expression to the - resource sets that it references. - - - - Tracks which resource sets are referenced by the argument expression - - - Resource from which valid references must start; if no set with a transparent scope is present, only direct references to this resource will be rebound - - - The input resource, as a resource set (may be null if the input is actually a NavigationPropertySingletonExpression) - - - The ParameterExpression that, if encountered, indicates a reference to the input resource set - - - - Constructs a new InputBinder based on the specified input resource set, which is represented by the specified ParameterExpression. - - The current input resource from which valid references must start - The parameter that must be referenced in order to refer to the specified input resource set - - - - Replaces Lambda parameter references or transparent scope property accesses over those Lambda - parameter references with s to the appropriate corresponding - s, based on the 'input' ResourceSetExpression to which the - Lambda is logically applied and any enclosing transparent scope applied to that input resource set. - - The expression to rebind - - The 'current input' resource set - either the root resource set or the - rightmost set in the navigation chain. - The Lambda parameter that represents a reference to the 'input' set - A list that will be populated with the resource sets that were referenced by the rebound expression - - The rebound version of where MemberExpression/ParameterExpressions that - represent resource set references have been replaced with appropriate InputReferenceExpressions. - - - - - Resolves member accesses that represent transparent scope property accesses to the corresponding resource set, - iff the input resource set is enclosed in a transparent scope and the specified MemberExpression represents - such a property access. - - MemberExpression expression to visit - - An InputReferenceExpression if the member access represents a transparent scope property - access that can be resolved to a resource set in the path that produces the input resource set; - otherwise the same MemberExpression is returned. - - - - - Converts a parameter reference to the input resource set into an InputReferenceExpression, - iff the parameter reference is to the parameter expression that represents the input resource set - and the input resource set is not enclosed in a transparent scope. - - The parameter reference expression - - An InputReferenceExpression if the parameter reference is to the input parameter; - otherwise the same parameter reference expression - - - - - Returns an that references the specified resource set, - and also adds the the resource set to the hashset of resource sets that were referenced by the - expression that is being rebound. - - The resource(set) for which a reference was found - An InputReferenceExpression that represents a reference to the specified resource set - - - - An resource specific expression representing a OrderBy query option. - - - - selectors for OrderBy query option - - - - Creates a OrderByQueryOptionExpression expression - - the return type of the expression - selectors for orderby expression - - - - The of the . - - - - - Selectors for OrderBy expression - - - - - Structure for selectors. Holds lambda expression + flag indicating desc. - - - - - lambda expression for selector - - - - - flag indicating if descending - - - - - Creates a Selector - - lambda expression for selector - flag indicating if descending - - - - This class provides a Bind method that analyzes an input and returns a bound tree. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TypeAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Analyzes and binds the specified expression. - Expression to bind. - The context of the expression used for bind. - - The expression with bound nodes (annotated expressions used by - the Expression-to-URI translator). - - - - - Checks whether the specified is - missing necessary key predicates. - - Expression to check. - - true if the expression is a navigation expression and doesn't - have the necessary key predicates on the associated resource - expression; false otherwise. - - - - - Verifies that all key predicates are assigned to the specified expression. - - Expression to verify. - - - Verifies that the specified is not a projection based on SelectMany. - Expression to check. - - - Analyzes a predicate (Where clause). - for a Where call. - The model. - - An equivalent expression to , possibly a different one with additional annotations. - - - - - Validates neither operands of the binary expression filter ends with TypeAs - - filter expression - method name where this filter is passed to - - - - Given a list of predicates, extracts key values for the specified . - - Target set. - Candidate predicates. - Returns list of non-key predicates. - List of key predicates if found, otherwise null - - - Adds all AND'ed expressions to the specified list. - Expression to recursively add conjuncts from. - Target list of conjucts. - - - - Analyzes the specified call to see whether it is recognized as a - projection that is satisfied with $select usage. - - Call expression to analyze. - Kind of sequence method to analyze. - Resulting expression. - true if is a projection that can be satisfied with $select; false otherwise. - - - - Analyzes the specified method call as a WCF Data - Services navigation operation. - - Expression to analyze. - Data service context instance - An expression that represents the potential navigation. - - - - Analyzes a .Select or .SelectMany method call to determine - whether it's allowed, to identify transparent identifiers - in appropriate .SelectMany() cases, returning the method - call or a resource set expression. - - Expression to analyze. - Data service context instance - - , or a new resource set expression for - the target resource in the method call for navigation properties. - - - - - Analyzes the nav prop reference for a SelectMany method call - building the appropriate ResourceSetExpression if one can be - created. - - Input resource expression to the collector - The navigation property reference to analyze - Data service context instance - The resource set expression - true if succesful, else false - - - - Analyzes a SelectMany method call that ranges over a resource set and - returns the same method or the annotated resource set. - - SelectMany method to analyze. - Source resource set for SelectMany result. - Context of expression to analyze. - The visited expression. - - The expression represents the - navigation produced by the collector of the SelectMany() method call. - - - - Ensures that there's a limit on the cardinality of a query. - for the method to limit First/Single(OrDefault). - Maximum cardinality to allow. - - An expression that limits to no more than elements. - - This method is used by .First(OrDefault) and .Single(OrDefault) to limit cardinality. - - - - Analyzes the OfType method call - - The OfType method call expression - The MaxProtocolVersion of the client - , or a resource set expression with ResourceTypeAs set. - - - - Analyzes Any and All method calls - - Any/All method call expression - The MaxProtocolVersion of the client - , resource set or a collection property expression. - - - Creates a new resource set as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the set. - The member access on that yields the set. - The resource type on the set. - A new instance. - - - Creates a new resource singleton as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the singleton. - The member access on that yields the singleton. - A new instance. - - - - Produces a new that is a clone of in all respects, - other than its result type - which will be - and its transparent scope, - which will be null. This is a shallow clone operation - sequence query options, key predicate, etc are - not cloned, but are reassigned to the new instance. The resource expression should be - discarded after being used with this method. - - The result type - - that the new resource set expression should have. - The resource set expression from which the transparent scope is being removed - A new resource set expression without an enclosing transparent scope and with the specified result type. - - - Returns the specified expression, stripping redundant converts. - Expression to return. - e, or the underlying expression for redundant converts. - - - - Strips the specifed of intermediate - expression (unnecessary converts and quotes) and returns - the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The underlying expression for . - - - - Strips the specifed of intermediate unnecessary converts - and quotes, and returns the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The converted type for typeAs expressions. - The underlying expression for . - - - Strips calls to .Cast() methods, returning the underlying expression. - Expression to strip calls from. - The underlying expression. - - Note that this method drops information about what the casts were, - and is only supported for collector selectors in SelectMany() calls, - to enable scenarios such as from t in ctx.Tables from Customer c in t.Items... - - - - Convenience property: model. - - - Use this class to perform pattern-matching over expression trees. - - Following these guidelines simplifies usage: - - - Return true/false for matches, and interesting matched information in out parameters. - - - If one of the inputs to be matched undergoes "skipping" for unnecesary converts, - return the same member as an out parameter. This forces callers to be aware that - they should use the more precise representation for computation (without having - to rely on a normalization step). - - - - - Checks whether the is a convert that - always succeeds because it converts to the same target type or a - base type. - - Expression to match. - - true if is a convert to same or base type; false otherwise. - - - - - Checks whether is a lambda of the - form (p) => p.member[.member]* (possibly quoted). - - Expression to match. - true if the expression is a match; false otherwise. - - This method strip .Call methods because it's currently used only - to supporte .SelectMany() collector selectors. If this method - is reused for other purposes, this behavior should be made - conditional or factored out. - - - - - Checks whether the specified expression is a path of member - access expressions. - - Expression to match. - Data service context instance - Expression equivalent to , without unnecessary converts. - Expression from which the path starts. - Path of member names from . - Uri version. - true if there is at least one property in the path; false otherwise. - - - - Checks whether the specified member expression refers to a member - that is a non-private property (readable and with getter and/or setter). - - Expression to check. - Non-null property info when result is true. - The property access target. - Whether the member refers to a non-private, readable property. - - - - Checks whether the specified is a member access to a key. - - Expression to check. - If this is a key access, the property for the key. - true if is a member access to a key; false otherwise. - - - - Checks whether the specified matches - a call to System.Object.ReferenceEquals. - - Expression to check. - true if the expression matches; false otherwise. - - - - Checks whether the specifed refers to a resource. - - Expression to check. - Resource expression if successful. - true if the expression is a resource expression; false otherwise. - - - - Checks whether the specified expression is a lambda with a two parameters - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with two parameters. - - - - Checks whether the specified is a selector - of the form (p) => p. - - Expression to check. - true if the lambda is an identity selector; false otherwise. - - - - Checks whether the specified expression is a lambda with a single parameter - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the single parameter. - true if the expression is a lambda with a single argument. - - - - Checked whether the specified has the - form [input's transparent scope].[accessor]. - - Input expression (source) for the selector. - Selector lambda. - Data service context - true if the selector's body looks like [input's transparent scope].[accesor]. - - - - Checks wheter the specified lambda matches a selector that yields - a transparent identifier. - - - The input expression for the lambda, used to set up the - references from the transparent scope if one is produced. - - Lambda expression to match. - - After invocation, information on the accessors if the result - is true; null otherwise. - - - true if is a selector for a transparent - identifier; false otherwise. - - - Note that C# and VB.NET have different patterns for accumulating - parameters. - - C# uses a two-member anonymous type with "everything so far" - plus the newly introduced range variable. - - VB.NET uses an n-member anonymous type by pulling range variables - from a previous anonymous type (or the first range variable), - plus the newly introduced range variable. - - For additional background, see: - Transparent Identifiers - http://blogs.msdn.com/wesdyer/archive/2006/12/22/transparent-identifiers.aspx - http://msdn.microsoft.com/en-us/library/bb308966.aspx - In particular: - - 26.7.1.4 From, let, where, join and orderby clauses - - 26.7.1.7 Transparent identifiers - - is the expression that represents the - navigation resulting from the collector selector in the - SelectMany() call under analysis. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance. - Navigation member, equivalent to without unnecessary casts. - - true if is a property collection that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance - Member expression, equivalent to without unnecessary casts. - - true if is a scalar property or singleton navigation property that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access with the specified cardinality (per ) - that references . - - Expression to check. - InputReferenceExpression to consider as source. - - Whether the match should be for a set of related entities or a singleton property. - Singleton properties can be scalar types (including collection and other enumerable types like byte[]), complex types, or singleton navigation properties. - Related set properties are only navigation properties. - - Data service context instance. - Member expression for accessing the property, equivalent to without unnecessary casts. - - true if is a property that originates in - and is the expected cardinality (per ); false otherwise. - - - - - Checks whether is a logical negation - expression. - - Expression to check. - true if expression is a Not expression; false otherwise. - - - Checks whether the type of the specified expression could represent a set of related resources. - Expression to check. - The model that the client uses. - true if the type of the expression could represent a set of related resources; false otherwise. - - - - Checks whether is a conditional expression - that checks whether a navigation property (reference or collection) is - null before proceeding. - - Entity in scope to be checked. - Expression to check. - Check results. - - - Checks whether the specified is a null constant. - Expression to check. - true if is a constant null value; false otherwise. - - - - Checks whether is a "new DataServiceCollection of T". - - The expression to match - true if the expression matches the "new DataServiceCollection of T" or false otherwise. - - - - Checks whether is a "new ICollection of T". - - The expression to match - - - - - Checks whether is a check for - equality on two expressions. - - Expression to match. - - A structure describing whether the expression is a match, - whether it yields true on equality (ie, '==' as opposed to '!='), - and the compared expressions. - - - This pattern recognizes the following: - - Calls to object.ReferenceEquals - - Equality checks (ExpressionNodeType.Equals and ExpressionNodeType.NotEquals) - - Negation (ExpressionNodeType.Not) - - - - - Checks whether the expression is a - simple access (standalone or member-access'ed) on one of the - parameter . - - Argument to match. - Candidate parameters. - - true if the argument is a parmater or a member from a - parameter; false otherwise. - - - - - Checks whether the specified expression is a lambda with a parameterCount parameters - (possibly quoted). - - Expression to match. - Expected number of parametrs. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with parameterCount parameters. - - - - Use this class to represent the results of a match on an expression - that does a null check before accessing a property. - - - - Expression used to assign a value when the reference is not null. - - - Whether the expression analyzed matches a null check pattern. - - - Expression being checked againt null. - - - - Use this class to represent the results of a match on an expression - that checks for equality . - - - - Whether a positive equality yields 'true' (ie, is this '==' as opposed to '!='). - - - Whether the expression analyzed matches an equality check pattern. - - - The left-hand side of the check. - - - The right-hand side of the check. - - - - Throws the NotSupportedException for the $format query option. - - - - - Detect and disallow member access for certain known types, in 'where' requests. - - - - - Detect and disallow member access for certain known types, in 'orderby' requests. - - - - - Used to identify and block navigation to members of collection property in select statement. - e.g. from c in ctx.Customers select c.CollectionProperty.member - - - - - We do not support type identifier at the end of a path. - For example, these would throw: - select p as Employee - select p.BestFriend as Employee - Expand(p => p.BestFriend as Employee) - - expression passed to validate - The context of where is applied - - - - Checks whether the specified is a valid expand path. - - The lambda expression for the expand path - Data service context instance. - Expand path - Uri version - - - - Detect and disallow member access for certain known types, in 'where' and 'orderby' requests. - - - - - Equality and comparison implementation for PropertyInfo. - - - - - private constructor for the singleton pattern - - - - - Static property which returns the single instance of the EqualityComparer - - - - - Checks whether the given property info's refers to the same property or not. - - first property info - second property info - true if they refer to the same property, otherwise returns false. - - - - Computes the hashcode for the given property info - - property info whose hash code needs to be computed. - the hashcode for the given property info. - - - - Use this visitor to detect whether an Expression is found in an - Expression tree. - - - - Target expression being sought. - - - Whether the target has been found. - - - - Initializes a new that - searches for the given . - - Target expression to look for. - - - - Checks whether the specified can - be found in the given . - - Expression sought. - Expression tree to look into. - true if target is found at least once; false otherwise. - - - Visits the specified expression. - Expression to visit. - The visited expression (). - - - Enum for resource expression types - - - ResourceSet Expression - - - Resource Navigation Expression - - - Resource Navigation Expression to Singleton - - - Take Query Option Expression - - - Skip Query Option Expression - - - OrderBy Query Option Expression - - - Filter Query Option Expression - - - Reference to a bound component of the resource set path - - - Projection Query Option Expression - - - Expand Query Option Expression - - - Expression for a navigation property into a single entity (eg: Customer.BestFriend). - - - property member name - - - resource type - - - - Creates a NavigationPropertySingletonExpression expression - - the return type of the expression - the source expression - property member name - resource type for expression - expand paths for resource set - count option for the resource set - custom query options for resourcse set - projection expression - target expression type for a TypeAs conversion - version of the Uri from the expand and projection paths - - - - Cast changes the type of the ResourceExpression - - new type - new NavigationPropertySingletonExpression - - - - The of the . - - - - - Gets the member expression. - - - - - The resource type of the singe instance produced by this singleton navigation. - - - - - Singleton navigation properties always produce at most 1 result - - - - - Does Singleton navigation have query options. - - - - ResourceSet Expression - - - - The (static) type of the resources in this resource set. - The resource type can differ from this.Type if this expression represents a transparent scope. - For example, in TransparentScope{Category, Product}, the true element type is Product. - - - - property member name - - - key predicate - - - sequence query options - - - enclosing transparent scope - - - Key Predicate conjuncts that will make a key predicate - - - - Creates a ResourceSet expression - - the return type of the expression - the source expression - property member name - the element type of the resource set - expand paths for resource set - count query option for the resource set - custom query options for resourcse set - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Cast ResourceSetExpression to new type - - - - - Cast ResourceSetExpression to new type without affecting member type - - - - - Converts the key expression to filter expression - - - - - Adds a filter to this ResourceSetExpression. - If filter is already presents, adds the predicateConjunts to the - PredicateConjucts of the filter - - - - - Add query option to resource expression - - - - - Removes the filter expression from current resource set. - This happens when a separate Where clause is specified in a LINQ - expression for every key property. - - - - - Instructs this resource set expression to use the input reference expression from as it's - own input reference, and to retarget the input reference from to this resource set expression. - - The resource set expression from which to take the input reference. - Used exclusively by . - - - - Sets key predicate from given values - - - - - Gets the key properties from KeyPredicateConjuncts - - - - - Creates a clone of the current ResourceSetExpression with the specified expression and resource types - - The new expression type - The new resource type - A copy of this with the new types - - - - The of the . - - - - - Member for ResourceSet - - - - - Type of resources contained in this ResourceSet - it's element type. - - - - - Is this ResourceSet enclosed in an anonymously-typed transparent scope produced by a SelectMany operation? - Applies to navigation ResourceSets. - - - - - The property accesses required to reference this ResourceSet and its source ResourceSet if a transparent scope is present. - May be null. Use to test for the presence of a value. - - - - - Has a key predicate restriction been applied to this ResourceSet? - - - - - The list of key expressions that comprise the key predicate (if any) applied to this ResourceSet. - - - - - A resource set produces at most 1 result if constrained by a key predicate - - - - - Have sequence query options (filter, orderby, skip, take), expand paths, projection - or custom query options been applied to this resource set? - - - - - If this expresssion contains at least one non-key predicate - This indicates that a filter should be used - - - - - Filter query option for ResourceSet - - - - - OrderBy query option for ResourceSet - - - - - Skip query option for ResourceSet - - - - - Take query option for ResourceSet - - - - - Gets sequence query options for ResourceSet - - - - Whether there are any query options for the sequence. - - - - Represents the property accesses required to access both - this resource set and its source resource/set (for navigations). - - These accesses are required to reference resource sets enclosed - in transparent scopes introduced by use of SelectMany. - - - For example, this query: - from c in Custs where c.id == 1 - from o in c.Orders from od in o.OrderDetails select od - - Translates to: - c.Where(c => c.id == 1) - .SelectMany(c => o, (c, o) => new $(c=c, o=o)) - .SelectMany($ => $.o, ($, od) => od) - - PatternRules.MatchPropertyProjectionSet identifies Orders as the target of the collector. - PatternRules.MatchTransparentScopeSelector identifies the introduction of a transparent identifer. - - A transparent accessor is associated with Orders, with 'c' being the source accesor, - and 'o' being the (introduced) accessor. - - - - - The property reference that must be applied to reference this resource set - - - - - The property reference that must be applied to reference the source resource set. - Note that this set's Accessor is NOT required to access the source set, but the - source set MAY impose it's own Transparent Accessors - - - - - Constructs a new transparent scope with the specified set and source set accessors - - The name of the property required to access the resource set - The names of the property required to access the resource set's sources. - - - Provides a string representation of this accessor. - The text represntation of this accessor. - - - - An resource specific expression representing a skip query option. - - - - amount to skip - - - - Creates a SkipQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - - An resource specific expression representing a take query option. - - - - amount to skip - - - - Creates a TakeQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - Utility functions for processing Expression trees - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - VB Assembly name - - - VB Assembly public key token - - - Method map for methods in URI query options - - - VB Method map for methods in URI query options - - - Properties that should be represented as methods - - - - Cache used to store element type (TElement) for key Type if key Type implements IEnumerable{TElement} or - null if the key Type does not implement IEnumerable{T} e.g.: - List{Entity} - Entity - Entity - null - - - - - Initializes method map - - - - - Sees if method has URI equivalent - - The method info - uri method name - true/ false - - - - Sees if property can be represented as method for translation to URI - - The property info - get method for property - true/ false - - - - Gets the elementtype for a sequence - - The sequence type - The element type - - - - Determines whether a property is private - - The PropertyInfo structure for the property - true/ false if property is private - - - - Finds type that implements IEnumerable so can get element type - - The Type to check - returns the type which implements IEnumerable - - - Finds whether a non-primitive implements IEnumerable and returns element type if it does. - Type to check. - Type of the element if the implements IEnumerable{T}. Otherwise null. - - - - Checks if the given assembly is the VisualBasic assembly. - - assembly to check. - true if the assembly is Microsoft.VisualBasic, otherwise returns false.root - - - - utility class for helping construct uris - - - forwardslash character - - - leftparan character - - - rightparan character - - - questionmark character - - - ampersand character - - - equals character - - - at sign - - - dollar sign character - - - space - - - comma - - - colon - - - single quote - - - asterisk - - - top - - - skip - - - orderby - - - where - - - desc - - - expand - - - inlinecount - - - select - - - The $format query option. - - - allpages - - - value - - - and - - - or - - - eq - - - ne - - - lt - - - le - - - gt - - - ge - - - add - - - sub - - - mul - - - div - - - mod - - - negate - - - not - - - null - - - isof - - - cast - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - The name for the , suitable for including in a URI. - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - Data service version for the uri - The name for the , suitable for including in a URI. - - - - Appends a type segment to the which is building up a URI from a query. - - The string builder. - The type for the segment. - The data service context. - Whether or not the type segment is being appended within the path (as opposed to within a $filter or $orderby expression). - The current version. - - - - Special visitor to serialize supported expression as query parameters - in the generated URI. - - - - Internal buffer. - - - Data context used to generate type names for types. - - - Stack of expressions being visited. - - - Whether or not the expression being written is part of the path of the URI. - - - set if can't translate expression - - - Parent expression of the current expression (expression.Peek()); possibly null. - - - the request data service version for the uri - - - number of sub scopes (any/all calls) on stack - - - - Creates an ExpressionWriter for the specified . - - Data context used to generate type names for types. - Whether or not the expression being written is part of the path of the URI. - - - - Serializes an expression to a string - - Data context used to generate type names for types. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - the request data service version for the uri - serialized expression - - - Main visit method. - Expression to visit - Visited expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - Input resource set references are intentionally omitted from the URL string for the top level - refences to input parameter (i.e. outside of any/all methods). - For parameter references to input (range variable for Where) inside any/all methods we write "$it". - - The input reference - The same input reference expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Serializes an MemberExpression to a string - - Expression to serialize - MemberExpression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - Serializes an UnaryExpression to a string - - Expression to serialize - UnaryExpression - - - - Serializes an BinaryExpression to a string - - BinaryExpression to serialize - serialized expression - - - - Serializes an TypeBinaryExpression to a string - - TypeBinaryExpression to serialize - serialized expression - - - - ParameterExpression visit method. - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - Indicates if two expression types are collapsible, e.g., ((a or b) or c) can be collapsed to (a or b or c). - - The expression type - The expression type of the parent expression - Indicates if the expression is to the left or the right of the parent expression - True if the two expression types are collapsible, false otherwise - - - - Returns the precedence of a binary operator for comparison purposes, or -1 if not applicable. - - The ExpressionType representing the binary operator - The precedence of a binary operator for comparison purposes, or -1 if not applicable - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - The node type of the parent expression (if applicable) - Indicates if the expression is to the left or the right of the parent expression - - - - Serializes an expression to a string - - Expression to serialize - serialized expression - - - - The references to parameter for the main predicate (.Where()) is implicit outside any/all methods. - - The expression to test - true if the expression represents a reference to the current (resource set) input and it is not in any/all method; otherwise false. - - - Whether inside any/all lambda or not - - - - An enumeration indicating the direction of a child operand - - - - The operand is the left child - - - The operand is the right child - - - - Translates resource bound expression trees into URIs. - - - - Data context used to generate type names for types. - - - stringbuilder for constructed URI - - - the request data service version for the uri - - - the leaf resourceset for the URI being written - - - - For caching query options to be grouped - - - - - Private constructor for creating UriWriter - - Data context used to generate type names for types. - - - - Translates resource bound expression tree to a URI. - - Data context used to generate type names for types. - flag to indicate whether generated URI should include () if leaf is ResourceSet - The expression to translate - uri - version for query - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - NavigationPropertySingletonExpression visit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - Visit Query options for Resource - - Resource Expression with query options - - - - SkipQueryOptionExpression visit method. - - SkipQueryOptionExpression expression to visit - - - - TakeQueryOptionExpression visit method. - - TakeQueryOptionExpression expression to visit - - - - FilterQueryOptionExpression visit method. - - FilterQueryOptionExpression expression to visit - - - - OrderByQueryOptionExpression visit method. - - OrderByQueryOptionExpression expression to visit - - - - VisitExpandOptions visit method. - - Expand Paths - - - - ProjectionPaths visit method. - - Projection Paths - - - - VisitCountOptions visit method. - - - - - VisitCustomQueryOptions visit method. - - Custom query options - - - - Caches query option to be grouped - - The key. - The value - - - - Append all cached query options to uri. - - - - Serializes an expression to a string. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - The serialized expression. - - - - QueryProvider implementation - - - - DataServiceContext for query provider - - - Constructs a query provider based on the context passed in - The context for the query provider - - - Factory method for creating DataServiceOrderedQuery based on expression - The expression for the new query - new DataServiceQuery - - - Factory method for creating DataServiceOrderedQuery based on expression - generic type - The expression for the new query - new DataServiceQuery - - - Creates and executes a DataServiceQuery based on the passed in expression - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression - generic type - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression which results a single value - generic type - The expression for the new query - single valued results - - - Builds the Uri for the expression passed in. - The expression to translate into a Uri - Query components - - - a set, collection of unordered, distinct objects, implemented as an array - element type - - - item array of T - - - count of elements in the items array - - - number of Add and RemoveAt operations - - - - array set with an intial capacity - - initial capacity - - - add new element to the set - element to add - equality comparison function to avoid duplicates - true if actually added, false if a duplicate was discovered - - - is the element contained within the set - item to find - comparer - true if the element is contained - - - - enumerator - - enumerator - - - - enumerator - - enumerator - - - Find the current index of element within the set - item to find - comparision function - index of the item else (-1) - - - Find the current index of element within the set - selected type - item to find - selector for item to compare - item to compare - index of the item else (-1) - - - Remove the matched item from within the set - item to find within the set - comparer to find item to remove - the item that was actually contained else its default - - - Remove an item at a specific index from within the set - index of item to remove within the set - - - Sort array based on selected value out of item being stored - selected type - selector - comparer - - - Sets the capacity to the actual number of elements in the ArraySet. - - - identity selector, returns self - input - output - - - count of elements in the set - - - get an item from an index in the set - index to access - - - Compare selected value out of t - comparison type - - - Select something out of T - - - Comparer of selected value - - - Compare - x - y - int - - - - Use this class to keep a log of changes done by the materializer. - - - - The merge option. - - - The client edm model. - - - The entity tracker. - - - Dictionary of identity URI to instances created during previous AppendOnly moves. - - - Dictionary of identity URI to tracked entities. - - - List of link descriptors (data for links and state). - - - Target instance to refresh. - - - - Initializes a new instance. - - The merge option for the log. - The model for the log. - The entity tracker for the log. - - Note that the merge option can't be changed. - - - - - This method is used to merge all the metadata that come in the response payload. - - entityDescriptor that is getting tracked by the client - entityDescriptor that is returned by the materializer - if true, we will need to merge all entity descriptor info, otherwise not. - merge option depending on which etag information needs to be merged. - - - Applies all accumulated changes to the associated data context. - The log should be cleared after this method successfully executed. - - - Clears all state in the log. - - - - Invoke this method to notify the log that an existing - instance was found while resolving an object. - - Entry for instance. - - - - Invoke this method to notify the log that the - target instance of a "directed" update was found. - - Entry found. - - The target instance is typically the object that we - expect will get refreshed by the response from a POST - method. - - For example if a create a Customer and POST it to - a service, the response of the POST will return the - re-serialized instance, with (important!) server generated - values and URIs. - - - - Attempts to resolve an entry from those tracked in the log. - Entry to resolve. - - After invocation, an existing entry with the same identity as - ; possibly null. - - true if an existing entry was found; false otherwise. - - - - Invoke this method to notify the log that a new link was - added to a collection. - - - Instance with the collection to which - was added. - - Property name for collection. - Object which was added. - - - - Invoke this method to notify the log that a new instance - was created. - - Entry for the created instance. - - - - Invoke this method to notify the log that a link was removed - from a collection. - - - Instance with the collection from which - was removed. - - Property name for collection. - Object which was removed. - - - - Invoke this method to notify the log that a link was set on - a property. - - Entry for source object. - Name of property set. - Target object. - - - - Returns true the specified entry represents an entity. - - The materializer entry - True if the entry represents an entity. - - - - Returns true the specified entry represents an entity. - - The resolved instance - The client model. - True if the entry represents an entity. - - - Whether changes are being tracked. - - - Type of property stored in BindingPropertyInfo. - - - Property type is a complex type. - - - Property type is an entity type with keys. - - - Property is a DataServiceCollection. - - - Property is a collection of primitives or complex types. - - - Cache of information about entity types and their observable properties - - - Object reference used as a 'False' flag. - - - Object reference used as a 'True' flag. - - - Lock on metadata caches. - - - Types which are known not to be entity types. - - - Types which are known to be (or not) collection types. - - - Mapping between types and their corresponding entity information - - - Obtain binding info corresponding to a given type - Type for which to obtain information - the client model. - Info about the - - - Gets the ClientType corresponding to the given type - Input type - The client model. - Corresponding ClientType - - - - Get the entity set name for the target entity object. - - An entity object. - The 'currently known' entity set name for the target object. - The client model. - The entity set name for the target object. - - Allow user code to provide the entity set name. If user code does not provide the entity set name, then - this method will get the entity set name from the value of the EntitySetAttribute. - The 'currently known' entity set name for top level collections can be provided through OEC constructor - - - - - Determine if the specified type is an DataServiceCollection. - - - If there a generic class in the inheritance hierarchy of the type, that has a single - entity type paramenter T, and is assignable to DataServiceCollection(Of T), then - the type is an DataServiceCollection. - - An object type specifier. - The client model. - true if the type is an DataServiceCollection; otherwise false. - - - - Determine if the specified type is an entity type. - - An object type specifier. - The client model. - true if the type is an entity type; otherwise false. - - - - Tries to get the value of a property and corresponding BindingPropertyInfo or ClientPropertyAnnotation if the property exists - - Source object whose property needs to be read - Name of the source object property - The client model. - BindingPropertyInfo corresponding to - Instance of ClientProperty corresponding to - Value of the property - true if the property exists and the value was read; otherwise false. - - - Obtain binding info corresponding to a given type - Type for which to obtain information - The client model. - Info about the - - - Checks whether a given type can be a complex type i.e. implements INotifyPropertyChanged. - Input type. - true if the type is complex type, false otherwise. - - - Gets entity set corresponding to a given type - Intput type - The client model. - Entity set name for the type - - - Information about a property interesting for binding - - - Property information - - - Kind of the property i.e. complex, entity or collection. - - - Holder of information about entity properties for a type - - - Collection of properties interesting to the observer - - - Constructor - - - Entity set of the entity - - - Corresponding ClientTyp - - - Collection of properties interesting to the observer - - - - Color of each vertex to be used for Depth First Search - - - - White color means un-visited - - - Gray color means added to queue for DFS - - - Black color means already visited hence reachable from root - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entity type objects and observable entity collections. - - - - The observer of the graph - - - Graph containing entities, collections and their relationships - - - Constructor - Observer of the graph - - - Adds a DataServiceCollection to the graph - Source object for the collection, this object has navigation property corresponding to collection - Property in that corresponds to the collection - Collection being added - Entity set of entities in the collection - true if a new vertex had to be created, false if it already exists - - - Adds a collection of primitives or complex types to the graph - Source object for the collection, this object has property corresponding to collection - Property in that corresponds to the collection - Collection being added - Type of item in the collection - - - Adds an entity to the graph - Source object for the entity, this object has navigation property that links to entity - Property in that links to entity - Entity being added - Entity set of entity being added - Item from which the directed edge in the graph goes into . This can be a collection - true if a new vertex had to be created, false if it already exists - - This method processes the current 'target' entity and then recursively moves into the graph through - the navigation properties. The 'source' is a previously processed item - it is the 'parent' - of the target entity. - The code generated EntitySetAttribute is processed by this method. - A source entity can reference the target entity directly through an entity reference navigation property, - or indirectly through a collection navigation property. - - - - - Removes the from the binding graph - - Item to remove - Parent of the - Parent property that refers to - - - - Removes the from the binding graph - - Item to remove - Collection that contains the - - - Removes all of a collection's items from the graph, but does not remove the collection. - Collection containing the items to remove. - This is used for both DataServiceCollection and collections of primitives or complex types. - - - Removes a relationship between two items based on source and relation label - Source item - Label for relation - - - Remove all non-tracked entities from the graph - - - - Returns a sequence of items belonging to a collection. Uses the children of a collection - vertex for this enumeration. - - Collection being enumerated. - Sequence of items belonging to the collection. - - - Reset the graph after detaching notifications for everything - - - Removes the un-reachable vertices from the graph and un-registers notification handlers - - - Get the binding information for a DataServiceCollection - Collection - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set name of the target object. - - - Get the binding information for a collection - Collection - The source object that reference the target object through a collection property. - The collection property in the source object that reference the target object. - Type of item in the collection - - - - Obtains the closest ancestor entity type in the graph corresponding to a complex object vertex. - - On input this is a complex object, on output it is the closest entity ancestor. - On input this is a complex object's member property name, on output it is the name of corresponding property of the ancestor entity. - On input this is a complex object's member property value, on output it is the value of the corresponding property of the ancestor entity. - - - - Adds a complex typed object to the graph, also traverses all the child complex properties and adds them. - - Source object that contains the complex object, can be an entity, complex object, or a collection. - Source property of complex type, is null if complex type is in a collection, otherwise is the property that references the complex object on source. - Target complex object value. - - - - Adds complex items to the graph from the specified collection. - - Collection that contains . - Items in to add to the binding graph. May be only a subset of the total items in . - - - Add items to the graph, from the object's properties - Object whose properties are to be explored - - - Attach the CollectionChanged handler to an DataServiceCollection. - An DataServiceCollection. - - - Attach the CollectionChanged handler to a collection of primitives or complex types. - An ICollection of T, where T is the type of the item in the collection. - True if the collection is attached; otherwise false. - - - Attach the PropertyChanged handler to an entity or complex object. - An entity or complex object. - True if the target is attached; otherwise false. - - - Detach CollectionChanged or PropertyChanged handlers from the target - An entity object or collection. - - - Detach CollectionChanged handlers from the target - A collection object - - - - Sets the observer for a child DataServiceCollection - - Entity type for the collection - Non-typed collection interface - - - Graph implementation for tracking entities, collections for binding - - - Vertices of the graph, which also hold edges - - - The root vertex for the graph, DFS traversals start from this vertex - - - Constructor - - - Adds vertex to the graph - Item corresponding to vertex - Newly created vertex - - - Removes all edges going out of and coming into the given vertex - Vertex whose edges are to be cleared - - - - Checks if a vertex exists corresponding to given - - Item to lookup - true if vertex found, false otherwise - - - Looksup the vertex corresponding to - Item to lookup - Vertex corresponding to item - - - - Adds edge between vertices corresponding to and - objects which will be labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - Newly created edge - - - - Removes edge between vertices corresponding to and - objects which was labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - - - - Checks if an edge exists between and labeled - with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - true if an edge exists between source and target with given label, false otherwise - - - - Selects collection of objects tracked by the graph based on the given filter - - Filter for the objects - Filtered list of objects tracked by the graph - - - - Removes everything from the graph after applying - - Action to apply before removal of each node - - - Remove all vertices from graph that are unreachable from the root collection vertex - Action to perform for each removed vertex - - - Collects all vertices unreachable from the root collection vertex - Sequence of vertices that are unreachable from the root collection vertex - - Performs a depth first traversal of the graph starting from the root collection - vertex and checks if some vertices were unreachable was reached while doing the traversal. - Alogrithm from Introduction to Algorithms 22.2 by Cormen et al. - - - - Root vertex of the graph - - - Vertex of the - - - Collection of incoming edges for the vertex - - - Collection of outgoing edges for the vertex - - - Constructor - Item corresponding to vertex - - - Get the binding information for a collection vertex - The source object that reference the target object through a navigation property corresponding to current collection vertex. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set of the target object. - - - Get the binding information for a collection vertex - The source object that reference the target object through a collection property corresponding to current collection vertex. - The collection property in the source object that references the collection object. - Type of item in the collection. - - - Item corresponding to the vertex - - - Entity set of the item held by the vertex - - - Is item a DataServiceCollection object - - - Is item a complex type object - - - Is item a collection of primitives or complex types - - - Type of items in the collection if this items represents a collection of primitives or complex types - - - Parent vertex, only exists for non-top level collection vertices or complex objects - - - Property of the object that associates this vertex with it's parent - - - Is item a root collection object - - - Color of the vertex - - - Edges coming into this vertex - - - Edges going out of this vertex - - - - Edge between two vertices of graph, directed and labeled - - - - IEquatable override - Comparand - true if equal, false otherwise - - - Source vertex - - - Target vertex - - - Label of the edge - - - The BindingObserver class - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entities, complex types and DataServiceCollections. - - - - Constructor - The DataServiceContext associated with the BindingObserver. - EntityChanged delegate. - EntityCollectionChanged delegate. - - - Start tracking the specified DataServiceCollection. - An entity type. - An DataServiceCollection. - The entity set of the elements in . - - - Stop tracking the root DataServiceCollection associated with the observer. - - - - Looks up parent entity that references . - - Type of DataServiceCollection. - DataService collection - Parent entity that references . May return null if there is none. - Navigation property in the parentEntity that references . May return null if there is no parent entity. - True if parent entity was found, otherwise false. - - - Handle changes to tracked entity. - The entity that raised the event. - Information about the event such as changed property name. - - - Handle changes to tracked DataServiceCollection. - The DataServiceCollection that raised the event. - Information about the event such as added/removed entities, operation. - - - Handle changes to collection properties. - The collection that raised the event. - Information about the event such as added/removed items, operation. - - - Handle Adds to a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity to attach. - The entity set name of the target object. - - - Handle Deletes from a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity. - The entity set name of the target object. - - - Handle changes to navigation properties of a tracked entity. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The target entity. - The entity set name of the target object. - - - Determine if the DataServiceContext is tracking the specified entity. - An entity object. - true if the entity is tracked; otherwise false. - - - - Handle changes to an entity object tracked by the BindingObserver - - The entity object that has changed. - The property of the target entity object that has changed. - The value of the changed property of the target object. - - - Processes the INotifyCollectionChanged.Add event. - Event information such as added items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Entity set of the collection. - Collection that changed. - - - Processes the INotifyCollectionChanged.Remove event. - Event information such as deleted items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Collection that changed. - - - Removes a collection from the binding graph and detaches each item. - Collection whose elements are to be removed and detached. - - - Performs a Deep removal of all entities in a collection. - Collection whose items are removed from binding graph. - Parent item whose property refer to the being cleared. - Property of the that refers to . - Validation method if any that checks the individual item in for validity. - - - - Handles additions to collections of complex types. - - Collection that contains the new items. - Items that were added to the collection. - - - - Handles removals from collections of complex types. - - Collection that no longer contains the items. - Items that were removed from the collection. - - - Handle the DataServiceContext.SaveChanges operation. - DataServiceContext for the observer. - Information about SaveChanges operation results. - - - Collects a list of entities that observer is supposed to stop tracking - Entity being delete along with it's children - Parent of the - Property by which refers to - List in which entities to be untracked are collected - - - Determine if the DataServiceContext is tracking link between and . - The source object side of the link. - A property in the source side of the link that references the target. - The target object side of the link. - True if the link is tracked; otherwise false. - - - Checks whether the given entity is in detached or deleted state. - Entity being checked. - true if the entity is detached or deleted, otherwise returns false. - - - Entity validator that checks if the is of entity type. - Entity being validated. - - - The DataServiceContext associated with the BindingObserver. - - - The behavior of add operations should be Attach or Add on the context. - - - The behavior of remove operations should be Detach on the context. - - - - Callback invoked when a property of an entity object tracked by the BindingObserver has changed. - - - Entity objects tracked by the BindingObserver implement INotifyPropertyChanged. Events of this type - flow throw the EntityChangedParams. If this callback is not implemented by user code, or the user code - implementation returns false, the BindingObserver executes a default implementation for the callback. - - - - - Callback invoked when an DataServiceCollection tracked by the BindingObserver has changed. - - - DataServiceCollection objects tracked by the BindingObserver implement INotifyCollectionChanged. - Events of this type flow throw the EntityCollectionChanged callback. If this callback is not - implemented by user code, or the user code implementation returns false, the BindingObserver executes - a default implementation for the callback. - - - - Information regarding each entity to be untracked - - - Entity to untrack - - - Parent object of - - - Parent object property referring to - - - Utilities for binding related operations - - - - Throw if the entity set name is null or empty - - entity set name. - entity instance for which the entity set name is generated. - - - - Given a collection type, gets it's entity type - - Input collection type - Generic type argument for the collection - - - Verifies the absence of observer for an DataServiceCollection - Type of DataServiceCollection - Non-typed collection object - Collection property of the source object which is being assigned to - Type of the source object - - - - Encapsulates the arguments for the DataServiceContext ChangesSaved event - - - - - DataServiceContext SaveChanges response - - - - - Construct a DataServiceSaveChangesEventArgs object. - - DataServiceContext SaveChanges response - - - Encapsulates the arguments of a delegate - - - Context associated with the BindingObserver. - - - The entity object that has changed. - - - The property of the entity that has changed. - - - The current value of the target property. - - - Entity set to which the entity object belongs - - - Entity set to which the target propertyValue entity belongs - - - - Construct an EntityChangedParams object. - - Context to which the entity and propertyValue belong. - The entity object that has changed. - The property of the target entity object that has changed. - The current value of the entity property. - Entity set to which the entity object belongs - Entity set to which the target propertyValue entity belongs - - - The context that is associated with the entity object that has changed. - The context that is tracking the changed object. - - - The entity object that has changed. - The changed object. - - - The name of the property on the entity object that references the target object. - The name of the changed property. - - - The object that is currently referenced by the changed property on the entity object. - The current value that references a target entity. - - - The entity set of the source object. - An entity set name. - - - The entity set to which the target entity object belongs - An entity set name. - - - Encapsulates the arguments of a delegate. - - - Context associated with the BindingObserver. - - - - The source object that references the target object through a collection navigation property. - - - - The property of the source object that references the collection that has changed. - - - The entity set of the source object. - - - The collection that has changed. - - - The target entity object involved in the change. - - - The entity set name of the target object. - - - - The action that indicates how the collection was changed. The value will be Add or Remove. - - - - - Construct an EntityCollectionChangedParams object. - - The DataServiceContext associated with the BindingObserver. - The source object that references the target object through a collection navigation property. - The property of the source object that references the collection that has changed. - The entity set of the source object. - The collection that has changed. - The target entity object involved in the change. - The entity set name of the target object. - The action that indicates how the collection was changed. The value will be Add or Remove. - - - The associated with the that has changed. - The context associated with the collection that has changed - - - The source object that references the target object in the collection by using a navigation property. - The source object. - - - The navigation property on the source object that references the collection that has changed. - The navigation property name. - - - The entity set of the source object. - An entity set name. - - - The entity object in the collection that has changed. - The changed entity object in the collection. - - - The entity set name of the object in the collection. - An entity set name. - - - The that has changed. - A reference to the collection that has changed. - - - A value that indicates how the collection was changed. - A value that indicates how the collection was changed. - - - Determines whether changes that are made to a are tracked. - - - The collection should not track changes. - - - The collection should automatically track changes to the entities - in the collection. - - - Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed. - An entity type. - - - The BindingObserver associated with the DataServiceCollection - - - Is this a root collection - - - The continuation for partial collections. - - - True if tracking setup was deferred to first Load() call. - - - Callback tracked until tracking is enabled. - - - Callback tracked until tracking is enabled. - - - Entity set name tracked until tracking is enabled. - - - - The async handle for the current LoadAsync Operation - - - - Initializes a new instance of the class. - Creates a default data service collection, with auto-change tracking enabled as soon as data is loaded into it. - - - Initializes a new instance of the class based on query execution. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - - - Initializes a new instance of the class based on query execution and with the specified tracking mode. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - - - Initializes a new instance of the class that uses the specified . - The used to track changes to objects in the collection. - - - Initializes a new instance of the class with the supplied change method delegates and that uses the specified . - The used to track items in the collection. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution and with the supplied change method delegates. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution, with the supplied change method delegates, and that uses the supplied . - The used to track items in the collection. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Creates new DataServiceCollection. - The materializer - associated with the new collection. - Enumeration of items to initialize the new DataServiceCollection with. - The tracking mode for the new collection. - The name of the entity set the elements in the collection belong to. - Delegate that gets called when an entity changes. - Delegate that gets called when an entity collection changes. - This is the internal constructor called from materializer and used inside our projection queries. - - - Loads a collection of entity objects into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Collection of entity objects to be added to the . - - When tracking is enabled, the behavior of Load would be to attach all those entities that are not already tracked by the context - associated with the collection. The operation will go deep into the input entities so that all related - entities are attached to the context if not already present. All entities in - will be tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - For large amount of items, consider DataServiceContext.LoadProperty instead. - - - - Asynchronously loads the collection by executing a .Supported only by the WCF Data Services 5.0 client for Silverlight. - The that, when executed, returns the entities to load into the collection. - When query is null or not a . - When a previous call to is not yet complete. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the collection asynchronously by loading the results from the request Uri. - The request uri to download results from. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Asynchronously loads items into the collection, when it represents the navigation property of an entity.Supported only by the WCF Data Services 5.0 client for Silverlight. - When the collection does not belong to a parent entity.-or-When the parent entity is not tracked by the .-or-When a previous call to is not yet complete. - This method loads the content of a property represented by this DataServiceCollection. - If this instance is not associated with any property and entity the method will fail. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the next page of data into the collection.Supported only by the WCF Data Services 5.0 client for Silverlight. - A value that is true when the has a continuation token; otherwise false. - This method is the same as except that it runs the query as defined - by the continuation token of this collection. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. Even if the method returns false, the event will be raised (immeditaly) - This class only support one asynchronous operation in flight. - If this collection doesn't have a continuation token (this.Continuation == null) then this method - returns false and does not issue any request. - If there is a continuation token the method will return true and will start a request to load - the next partial set based on that continuation token. - - - Cancels any running LoadAsync operations and calls the LoadCompleted event handler after cancellation. - - - Loads a single entity object into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Entity object to be added. - - When tracking is enabled, the behavior of Load would be to attach the entity if it is not already tracked by the context - associated with the collection. The operation will go deep into the input entity so that all related - entities are attached to the context if not already present. The will be - tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - - - - Indicates whether all the items from the collection are removed. - true if all the items from the collection are removed; otherwise, false. - - - Disables the tracking of all items in the collection. - - All the entitities in the root collection and all it's related objects will be untracked at the - end of this operation. - - - - Adds a specified item to the collection at the specified index. - Index at which to add the item. - The item to add. - - Override to prevent additions to the collection in "deferred tracking" mode, and to verify that the item implements INotifyPropertyChanged. - Overridding this method will cover items that are added to the collection via Add and Insert. - - - - - Verifies that input iterator parameter is not null and in case - of Silverlight, it is not of DataServiceQuery type. - - Input iterator parameter. - - - - Obtain the DataServiceContext from the incoming enumerable - - An IEnumerable that may be a DataServiceQuery or QueryOperationResponse object - DataServiceContext instance associated with the input - - - - Populate this collection with another collection of items - - The items to populate this collection with - - - - Prepare the collection for loading. For tracked collections, we enter the attaching state - - - - - Reset the collection after loading. For tracked collections, we exit the attaching state. - - - - Initialize and start tracking an DataServiceCollection - The context - Collection to initialize with - The entity set of the elements in the collection. - delegate that needs to be called when an entity changes. - delegate that needs to be called when an entity collection is changed. - - - Helper method to start a LoadAsync operation. - Function which calls the Begin method for the load. It should take - parameter which should be used as the callback for the Begin call. It should return - of the started asynchronous operation (or throw). - Function which calls the End method for the load. It should take - which represents the asynchronous operation in flight. It should return - with the result of the operation (or throw). - The method takes care of error handling as well as maintaining the . - Note that it does not check the to disallow multiple operations in flight. - The method makes sure that the will be called from the UI thread. It makes no assumptions - about the calling thread of this method. - The method does not process the results of the , it just raises the - event as appropriate. If there's some processing to be done for the results it should all be done by the - method before it returns. - - - - Calls the end method for the LoadAsync operation and fires the LoadCompleted event. - - End method to complete the asynchronous query execution. - IAsyncResult to be passed to . - - - A completion event for the , - and method. - This event is raised exactly once for each call to the , - or method. It is called both when the operation - succeeded and/or when it failed. - - - Gets a continuation object that is used to return the next set of paged results. - A object that contains the URI to return the next set of paged results. - - - Observer for the collection. - The setter would get called only for child collections in the graph. - - - - Whether this collection is actively tracking - - - - Used as the class for the event.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - The which represents - the response for the Load operation. - This field is non-null only when the Load operation was successfull. - Otherwise it's null. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - This constructor doesn't allow creation of canceled event args. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - True, if the LoadAsync operation was cancelled, False otherwise. - This constructor doesn't allow creation of canceled event args. - - - Gets the response to an asynchronous load operation.Supported only by the WCF Data Services 5.0 client for Silverlight. - A that represents the response to a load operation. - Accessing this property will throw exception if the Load operation failed - or it was canceled. - - - Indicates the entity set to which a client data service class belongs. - - This attribute is generated only when there is one entity set associated with the type. - When there are more than one entity set associated with the type, then the entity set - name can be passed in through the EntitySetNameResolver event. - - - - - The entity set name. - - - - Creates a new instance of the . - The entity set to which the class belongs. - - - Gets the entity set to which the class belongs. - The entity set as string value. - - - Marks a class as an entity type in WCF Data Services. - - - Creates a new instance of the class. - - - Denotes the key property or properties of an entity. - - - Name of the properties that form the key. - - - Initializes a new instance of the class. - The string that contains name of the key attribute. - - - Initializes a new instance of the class. - An array of string values that contain key attribute names. - - - Gets the names of key attributes. - String value that contains names of key attributes. - - - Represents the versions of the Open Data Protocol (OData) that the data service may support. - - - Version 1 - - - Version 2 - - - Version 3 - - - Indicates that a class that is an entity type has a default binary data stream. - - - Indicates that a class that is an entity type has a related named binary stream. - - - Creates a new instance of the class. - The name of a binary stream that belongs to the attributed entity. - - - The name of a binary stream that belongs to the attributed entity. - The name of the binary stream. - - - Exception that indicates an error occurred while querying the data service. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The string value that the contains error message. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The string value that contains the error message. - 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. The inner exception object. - - - Initializes a new instance of the class. - The string value that contains the error message. - The inner exception object. - The object. - - - - Initializes a new instance of the DataServiceQueryException class from the - specified SerializationInfo and StreamingContext instances. - - - A SerializationInfo containing the information required to serialize - the new DataServiceQueryException. - - A StreamingContext containing the source of the serialized stream - associated with the new DataServiceQueryException. - - - Gets the that indicates the exception results. - A object that indicates the exception results. - - - Represents additional metadata that is included in a request message to WCF Data Services. - - - Creates a new instance of the class. - - - Gets or sets the Accept header of the request message. - The value of the Accept header. - - Sets the mime type (ex. image/png) to be used when retrieving the stream. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Accept header. - - - - Gets or sets the Content-Type header of the request message. - The value of the Content-Type header. - - Sets the Content-Type header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Content-Type header. - - - - Gets or sets the value of the Slug header of the request message. - A value that is the Slug header of the request. - - Sets the Slug header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Slug header. - - - - Gets the headers in the request message. - The headers in the request message. - - Dictionary containing all the request headers to be used when retrieving the stream. - The user should take care so as to not alter an HTTP header which will change - the meaning of the request. - No validation is performed on the header names or values. - This class will not attempt to fix up any of the headers specified and - will try to use them "as is". - - - - Request header collection. - - - Represents the error thrown if the data service returns a response code less than 200 or greater than 299, or the top-level element in the response is <error>. This class cannot be inherited. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The error message text. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - Error message text. - Exception object that contains the inner exception. - object. - - - - Initializes a new instance of the DataServiceQueryException class from the - specified SerializationInfo and StreamingContext instances. - - - A SerializationInfo containing the information required to serialize - the new DataServiceException. - - A StreamingContext containing the source of the serialized stream - associated with the new DataServiceException. - - - Gets the response as a object. - A object. - - - Represents a response from WCF Data Services that contains binary data as a stream. - - - IODataResponseMessage containing all the response information. - - - Lazy initialized cached response headers. - - - - Response stream. Caching the response stream so that IODataResponseStream.GetStream is only called once. - This helps us to assert that no one internally calls the GetStream method more than once. - - - - - Constructor for the response. This method is internal since we don't want users to create instances - of this class. - - The web response to wrap. - - - Releases all resources used by the current instance of the class. - - - Checks if the object has already been disposed. If so it throws the ObjectDisposedException. - If the object has already been disposed. - - - Gets the content type of the response stream. - The content type of the response stream. - If the Content-Type header was not present in the response this property will return null. - - - Gets the Content-Disposition header field for the response stream. - The contents of the Content-Disposition header field. - /// If the Content-Disposition header was not present in the response this property will return null. - - - Gets the collection of headers from the response. - The headers collection from the response message as a object. - - - Gets the binary property data from the data service as a binary stream. - The stream that contains the binary property data. - When the is already disposed. - - Returns the stream obtained from the data service. When reading from this stream - the operations may throw if a network error occurs. This stream is read-only. - - Caller must call Dispose/Close on either the returned stream or on the response - object itself. Otherwise the network connection will be left open and the caller - might run out of available connections. - - - - - enum to describe the descriptor kind - - - - Entity Descriptor - - - Link Descriptor - - - Named stream descriptor - - - Service Operation descriptor - - - - represents the association between two entities - - - - equivalence comparer - - - source entity - - - name of property on source entity that references the target entity - - - target entity - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The client model. - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The link state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - - If the current instance of link descriptor is equivalent to the parameters supplied - - The source entity - The source property name - The target entity - true if equivalent - - - The source entity in a link returned by a . - . - - - A source entity in a link returned by a . - . - - - The identifier property of the source entity in a link returned by a . - The string identifier of an identity property in a source entity. - - - this is a link - - - is this a collection property or not - - - equivalence comparer - - - are two LinkDescriptors equivalent, ignore state - link descriptor x - link descriptor y - true if equivalent - - - compute hashcode for LinkDescriptor - link descriptor - hashcode - - - Response from SaveChanges. - - - Descriptor containing the response object. - - - Initializes a new instance of the class. - HTTP headers - response object containing information about resources that got changed. - - - Gets the or modified by a change operation. - An or modified by a change operation. - - - - static utility functions for conversions - - - - - convert from string to the appropriate type - - incoming string value - type to convert to - converted value - - - - Tries to converts a binary value to a byte array. - - The binary value to convert. - The equivalent value converted to a byte array. - Whether the value was binary. - - - - change primtive typeName into non-nullable type - - like Edm.String or Edm.Binary - the mapped output type - true if named - - - - Convert from primitive value to an xml payload string. - NOTE: We need to pay special attention to DateTimes - if the converted value is going to be used as a content of - atom:updated or atom:published element we have to ensure it contains information about time zone. At the same time we - must not touch datetime values that in content or are mapped to custom elements. - - incoming object value - converted value - - - type edm type string for content - type to analyze - edm type string for payload, null for unknown - - - - Annotates a type on the client. - - - - Back reference to the EdmType this annotation is part of. - - - what is the clr full name using ToString for generic name expansion - - - what clr type does this represent - - - Storage for the client model. - - - Set to true if the type is marked as ATOM-style media link entry - - - Property that holds data for ATOM-style media link entries - - - Whether any property (including properties on descendant types) of this type is a collection of primitive or complex types. - - - object to manage and encapsulate the lazy loading of the EPM data. - - - Cached client properties. - - - Cached Edm properties - - - - discover and prepare properties for usage - - Back reference to the EdmType this annotation is part of. - type being processed - the qualified name of the type being processed - The client model. - - - Ensures that EPM is loaded - - - - Returns the list of EdmProperties for this type. - - Returns the list of EdmProperties for this type. - - - Returns the list of properties from this type. - Returns the list of properties from this type. - - - - Gets the set of properties on this type that should be serialized into insert/update payloads. - - The properties to serialize. - - - - get property wrapper for a property name, might be method around open types for otherwise unknown properties - - property name - are missing properties ignored - property wrapper - for unknown properties on closed types - - - - Checks if any of the properties (including properties of descendant types) is a collection of primitive or complex types. - - true if any if any of the properties (including properties of descendant types) is a collection of primitive or complex types. Otherwise false. - - - - Determines whether a given property should be serialized into an insert or update payload. - - The declaring type of the property. - The property. - Whether or not the property should be serialized. - - - - build the clientPropertyCache from EdmProperties - - - - - Check if this type represents an ATOM-style media link entry and - if so mark the ClientType as such - - - - - Set the HasStream boolean annotation in the EdmType to true. - - - - - Computes the metadata version of the property. - - List of properties for which metadata version needs to be computed. - List of complex type already visited. - the metadata version of the property collection. - - - - Discovers and returns edm properties for this type. - - Edm properties on this type. - - - if true then EntityType else if !KnownType then ComplexType else PrimitiveType - - - Property that holds data for ATOM-style media link entries - - - Returns true if the type is marked as ATOM-style media link entry - - - - Target tree for s on this type - - - - Are there any entity property mappings on this type - - - The minimum DSVP required for EPM mappings - - - Gets the EdmTypeReference for the client Type annotation. - - - - Class to encpsulate the lazy loading logic for EPM data - - - - Souce Epm mappings - - - Target Epm mappings - - - object to lock on when building the epm info - - - the current client annotation that the mappings are for - - - - Initializes a new instance of the class. - - The client type annotation. - - - - Ensures that the EPM data is loaded. - - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on the ElementType - builds the corresponding EntityPropertyMappingInfo - - The ClientTypeAnnotation to refer to - The source tree to populate. - This method should be called after all properties are set on the edm type. - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on - builds the corresponding EntityPropertyMappingInfo - - Type being looked at - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Builds the EntityPropertyMappingInfo corresponding to an EntityPropertyMappingAttribute, also builds the delegate to - be invoked in order to retrieve the property provided in the - - Source EntityPropertyMappingAttribute - ResourceType on which to look for the property - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Initializes the epm fields and builds the information into the fields - - - - - Target tree for s on this type - - - - - Source tree for s on this type - - - - - Determines if the Epm fields need initializing - - - - - The exception that is thrown when the server returns an error. - - - - - Contains the state for this exception. - - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - The string value that contains the error message. - The integer value that contains status code. - - - Initializes a new instance of the class. - The string value that contains the error message. - The System.Exception object that contains the inner exception. - The integer value that contains status code. - - - Gets the HTTP error status code returned after . - An integer value that represents the exception. - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Called when deserialization of the exception is complete. - - The deserialized exception. - - - - Gets or sets the status code as returned by the server. - - - - non-generic placeholder for generic implementation - - - non-generic placeholder for generic implementation - - - internal constructor so that only our assembly can provide an implementation - - - - get an enumerable materializes the objects the response - - context - query components - Projection plan (if compiled in an earlier query). - contentType - the message - expected payload kind. - atom materializer - - - - Creates a instance of strongly typed DataServiceRequest with the given element type. - - element type for the DataServiceRequest. - constructor parameter. - returns the strongly typed DataServiceRequest instance. - - - - Ends an asynchronous request to an Internet resource. - - Element type of the result. - Source object of async request. - The data service context. - async method name. - The asyncResult being ended. - The response - result of the request. - - - The QueryComponents associated with this request - The client model. - instance of query components - - - - execute uri and materialize result - - element type - context - query components for request to execute - enumerable of results - - - - Synchronizely get the query set count from the server by executing the $count=value query - - The context - The server side count of the query set - - - - Begins an asynchronous request to an Internet resource. - - source of execute (DataServiceQuery or DataServiceContext - context - The AsyncCallback delegate. - The state object for this request. - async method name. - An IAsyncResult that references the asynchronous request for a response. - - - - Creates the result object for the specified query parameters. - - The source object for the request. - The data service context. - The AsyncCallback delegate. - The state object for the callback. - async method name at the source. - Result representing the create request. The request has not been initiated yet. - - - Gets the type of object submitted as a batch to the data service. - Type object. - - - Gets the URI of the request object submitted to a data service. - URI of the request object. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - Gets or sets the payload kind for this request. - - - internal constructor so that only our assembly can provide an implementation - - - Gets the object that can be used to iterate through the collection returned by the query. - An enumerator over the query results. - Expect derived class to override this with an explict interface implementation - - - Executes the query against the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. - An that contains the results of the query operation. - When the data service returns an HTTP 404: Resource Not Found error. - - - Asynchronously sends a request to execute the data service query. - An object that is used to track the status of the asynchronous operation. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of executing a data service query. - An that contains the results of the query operation. - The result from the operation that contains the query results. - When the data service returns an HTTP 404: Resource Not Found error. - - - Synchronous methods not available - - Returns an IEnumerable from an Internet resource. - - An IEnumerable that contains the response from the Internet resource. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - Represents an expression that contains the query to the data service. - An object that represents the query. - - - Represents the query provider instance. - An representing the data source provider. - - - - Holds a Uri and type for the request. - - The type to construct for the request results - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Request uri for the current request. - - - The QueryComponents for the request - - - Initializes a new instance of the class. - The URI object that contains the request string. - - - Create a request for a specific Uri - The URI for the request. - The query components for the request - Projection plan to reuse (possibly null). - - - Represents the URI of the query to the data service. - The requested URI as a value. - - - The QueryComponents associated with this request - The client model. - an instance of QueryComponents. - - - Gets the type of the object used to create the instance. - A value that indicates the type of data returned. - - - Gets the URI object that contains the request string. - A object that contains the request string. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - - Data service response to ExecuteBatch & SaveChanges - - - - Http headers of the response. - - - Http status code of the response. - - - responses - - - true if this is a batch response, otherwise false. - - - - constructor - - HTTP headers - HTTP status code - list of responses - true if this represents a batch response, otherwise false. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - The headers from an HTTP response associated with a batch request. - An object containing the name-value pairs of an HTTP response. - - - The status code from an HTTP response associated with a batch request. - An integer based on status codes defined in Hypertext Transfer Protocol. - - - Gets a Boolean value that indicates whether the response contains multiple results. - A Boolean value that indicates whether the response contains multiple results. - - - - Response to a batched query or Execute call. - - The type to construct for the request results - - - - Response to a batched query. - - - - Original query - - - Enumerable of objects in query - - - - constructor - - HTTP headers - original query - retrieved objects - - - Executes the and returns items. - The enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - Gets a object containing the URI that is used to retrieve the next results page. - An object containing the URI that is used to return the next results page. - - - Gets a object containing the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - - - Gets a object that contains the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - The type of the items in the collection. - - - - Creates a generic instance of the QueryOperationResponse and return it - - generic type for the QueryOperationResponse. - constructor parameter1 - constructor parameter2 - constructor parameter3 - returns a new strongly typed instance of QueryOperationResponse. - - - Gets the enumeration helper for the . - The enumerator. - The generic type. - An enumerator to enumerator through the results. - - - Gets the that generates the items. - A object. - - - Gets the server result set count value from a query, if the query has requested the value. - The return value can be either a zero or positive value equal to the number of entities in the set on the server. - Thrown when the count tag is not found in the response stream. - - - get a non-null enumerable of the result - - - - constructor - - HTTP headers - original query - retrieved objects - - - Gets a object that contains the URI that is used to retrieve the next results page. - An object that contains the URI that is used to return the next results page. - - - Executes the and gets items. - An enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - The server result set count value from a query, if the query has requested the value. - The return value can be either zero or a positive value equal to the number of entities in the set on the server. - - - - Event args for the event fired during reading or writing of - an entity serialization/deserialization - - - - The entity being (de)serialized - - - The ATOM entry data to/from the network - - - The xml base of the feed or entry containing the current ATOM entry - - - - Constructor - - The entity being (de)serialized - The ATOM entry data to/from the network - The xml base of the feed or entry containing the current ATOM entry - - - Gets the object representation of data returned from the property. - representation of the property. - - - Gets an entry or feed data represented as an . - - - - - - Gets the base URI base of the entry or feed. - Returns . - - - - Strongly-typed and parameterized exception factory. - - - Strongly-typed and parameterized exception factory. - - - - - create and trace new ArgumentException - - exception message - parameter name in error - ArgumentException - - - - create and trace new InvalidOperationException - - exception message - InvalidOperationException - - - - create and trace new InvalidOperationException - - exception message - innerException - InvalidOperationException - - - - Create and trace a NotSupportedException with a message - - Message for the exception - NotSupportedException - - - - create and throw a ThrowObjectDisposed with a type name - - type being thrown on - - - - create and trace a - - errorCode - message - InvalidOperationException - - - method not supported - method - exception to throw - - - throw an exception because unexpected batch content was encounted - internal error - - - throw an exception because expected batch content was not encountered - internal error - - - unexpected xml when reading web responses - internal error - exception to throw - - - throw exception for unexpected xml when reading web responses - internal error - - - - Trace the exception - - type of the exception - exception object to trace - the exception parameter - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - unique numbers for repeated error messages for unlikely, unactionable exceptions - - - - Use this class to materialize objects from an application/atom+xml stream. - - - - Backreference to the context to allow type resolution. - - - base type of the object to create from the stream. - - - when materializing a known type (like string) - <property> text-value </property> - - - Materializer from which instances are read. - - The log for the materializer stores all changes for the - associated data context. - - - - untyped current object - - - has GetEnumerator been called? - - - Whether anything has been read. - - - - output writer, set using reflection - - - - - constructor - - originating context - Query components (projection, expected type) - Projection plan (if compiled in an earlier query). - responseMessage - The kind of the payload to materialize. - - - - constructor - - originating context - entries that needs to be materialized. - result type. - The format of the response being materialized from. - - - - Private internal constructor used for creating empty wrapper. - - - - - dispose - - - - - as IEnumerable - - this - - - - Gets the type that of the instances that will be returned by materializer. - - Whether the expected is a primitive type. - Actual type on the client. - The client model used. - The actual type that implements ICollection<> - Type of the instances that will be returned by materializer. - - For collection navigation properties (i.e. ICollection<T> where T is an entity the method returns T. Materializer will - return single entity each time MoveNext() is called. However for collection properties we need the whole property instead of just a - single collection item. - - - - - Creates the next object from the stream. - - false if stream is finished - - - - Creates the next object from the stream. - - false if stream is finished - - - - Not supported. - - Always thrown - - - - Creates materializer for results - - Context of expression to analyze. - the results to wrap - a new materializer - - - Creates a materializer for partial result sets. - Context of expression to analyze. - The current page of results - The continuation for the results. - A new materializer. - - - set the inserted object expected in the response - object being inserted that the response is looking for - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns the next link URI for the collection key - - The collection for which the Uri is returned, or null, if the top level link is to be returned - An Uri pointing to the next page for the collection - - - verify the GetEnumerator can only be called once - - - Loosely typed current object property. - - For collection properties this property will be of AtomContentProperties to allow further materialization processing. - Otherwise the value should be of the right type, as the materializer takes the expected type into account. - - - - - A materializer for empty results - - - - - Returns true if the underlying object used for counting is available - - - - - The data service context object this materializer belongs to - - - - - Private type to wrap partial (paged) results and make it look like standard materialized results. - - - - The results to wrap - - - A continuation to the next page of results. - - - The data service context this result belongs to - - - - Creates a wrapper for raw results - - Context of expression to analyze. - the results to wrap - The continuation for this query. - - - - Get the next link to the result set - - When equals to null, returns the next link associated with this collection. Otherwise throws InvalidOperationException. - The continuation for this query. - - - - Gets Enumerator for wrapped results. - - IEnumerator for results - - - - The data service context this result belongs to - - - - - Materializer state for a given ODataEntry - - - - The entry. - - - entity descriptor object which keeps track of the entity state and other entity specific information. - - - True if the context format is Atom or if the MergeOption is anything other than NoTracking. - - - Entry flags. - - - List of navigation links for this entry. - - - - Creates a new instance of MaterializerEntry. - - - - - Creates a new instance of MaterializerEntry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - - - - Creates a new instance of MaterializerEntry using the given entity descriptor for LoadProperty. - - Entity descriptor. - OData Format. - Whether this entity is being tracked. - Use this constructor only for LoadProperty scenario. - - - - Creates an empty entry. - - An empty entry. - - - - Creates the materializer entry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - A new materializer entry. - - - - Creates the materializer entry for LoadProperty scenario. - - The entity descriptor. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - A new materializer entry. - - - - Gets an entry for a given ODataEntry. - - The ODataEntry. - The materializer entry - - - - Adds a navigation link. - - The link. - - - - Updates the entity descriptor. - - - - Gets the value for a masked item. - Mask value. - true if the flag is set; false otherwise. - - - Sets the value for a masked item. - Mask value. - Value to set - - - - Gets the entry. - - - - - True if the context format is Atom or if the context's MergeOption is anything other than NoTracking. - This is used to avoid building URI metadata information that is not needed outside of the context, such - as odata.id and odata.editlink. Since this information is always available in the payload with Atom, for - backward compatibility we continue using it as we always have, even for NoTracking cases. - - - - - Entry ID. - - - - - Properties of the entry. - - - Non-property content goes to annotations. - - - - The entity descriptor. - - - Resolved object. - - - Actual type of the ResolvedObject. - - - Whether values should be updated from payload. - - - Whether the entity has been resolved / created. - - - Whether the materializer has created the ResolvedObject instance. - - - Is this entry created for LoadProperty. - - - The navigation links. - - - Gets the format - - - Whether the entity descriptor has been updated. - - - - Masks used get/set the status of the entry - - - - Bitmask for ShouldUpdateFromPayload flag. - - - Bitmask for CreatedByMaterializer flag. - - - Bitmask for EntityHasBeenResolved flag. - - - Bitmask for MediaLinkEntry flag (value). - - - Bitmask for LoadProperty scenario. - - - - Materializer state for a given ODataFeed - - - - The feed. - - - The entries. - - - - Prevents a default instance of the struct from being created. - - The feed. - The entries. - - - - Creates the materializer feed. - - The feed. - The entries. - The materializer feed. - - - - Gets the materializer feed. - - The feed. - The materializer feed. - - - - Gets the feed. - - - - - Gets the entries. - - - - - URI representing the next page link. - - - - - Materializer state for a given ODataNavigationLink - - - - The navigation link. - - - An object field for the feed or enty. - - - - Prevents a default instance of the struct from being created. - - The link. - Value of the link. - - - - Creates the materializer link with an entry. - - The link. - The entry. - The materializer link. - - - - Creates the materializer link with a feed. - - The link. - The feed. - The materializer link. - - - - Gets the materializer link. - - The link. - The materializer link. - - - - Gets the link. - - - - - Gets the entry. - - - - - Gets the feed. - - - - - This class marks a type that represents an Astoria client entity - such that the Astoria client will treat it as a media entry - according to ATOM's "media link entry" concept. - - - - Name of the member that contains the data for the media entry - - - Creates a new instance of . - A string value that identifies the property that holds media data. - - Creates a new MediaEntryAttribute attribute and sets the name - of the member that contains the actual data of the media entry - (e.g. a byte[] containing a picture, a string containing HTML, etc.) - - - - The name of the property on the class that holds the media, usually binary data. - A string value that identifies the property that holds media data. - - - - Used to specify a value synchronization strategy. - - - Equivalent to System.Data.dll!System.Data.LoadOption - Equivalent to System.Data.Linq.dll!System.Data.Linq.RefreshMode - Equivalent to System.Data.Entity.dll!System.Data.Objects.MergeOption - - - - - No current values are modified. - - - Equivalent to System.Data.Objects.MergeOption.AppendOnly - Equivalent to System.Data.Linq.RefreshMode.KeepCurrentValues - - - - - All current values are overwritten with current store values, - regardless of whether they have been changed. - - - Equivalent to System.Data.LoadOption.OverwriteChanges - Equivalent to System.Data.Objects.MergeOption.OverwriteChanges - Equivalent to System.Data.Linq.RefreshMode.OverwriteCurrentValues - - - - - Current values that have been changed are not modified, but - any unchanged values are updated with the current store - values. No changes are lost in this merge. - - - Equivalent to System.Data.LoadOption.PreserveChanges - Equivalent to System.Data.Objects.MergeOption.PreserveChanges - Equivalent to System.Data.Linq.RefreshMode.KeepChanges - - - - - Equivalent to System.Data.Objects.MergeOption.NoTracking - - - - - This attribute indicates another property in the same type that - contains the MIME type that should be used for the data contained - in the property this attribute is applied to. - - - - The name of the property that contains the data - - - The name of the property that contains the mime type - - - Creates a new instance of the MimeTypePropertyAttribute. - A string that contains the name of the new property attribute. - A string that contains the Mime type of the new property attribute. - - - Gets the name of the MimeTypePropertyAttribute. - A string that contains the name of the property attribute. - - - Gets the Mime type of the MimeTypePropertyAttribute - A string that contains the Mime type of the property attribute. - - - - represents the cached entity - - - - uri to identitfy the entity - <atom:id>identity</id> - - - entity - - - tracks information about the default stream, if any. - - - uri of the resource set to add the entity to during save - - - uri to query the entity - <atom:link rel="self" href="queryLink" /> - - - uri to edit the entity. In case of deep add, this can also refer to the navigation property name. - <atom:link rel="edit" href="editLink" /> - - - - Contains the LinkInfo (navigation and relationship links) for navigation properties - - - - - entity descriptor instance which contains metadata from responses which haven't been fully processed/materialized yet. - This is used only in non-batch SaveChanges scenario. - - - - List of named streams for this entity - - - List of service operation descriptors for this entity. - - - - Create a new instance of Entity descriptor. - - The client model - - - - returns the most recent identity of the entity - - the identity of the entity, as returned in the latest response. - - - return the most recent edit link for the entity - the uri to edit the entity associated with the entity descriptor. - - - return the most recent edit link for the MR associated with the entity - the uri to edit the MR associated with the entity descriptor. - - - return the most recent etag for the entity - etag for the entity associated with the entity descriptor. - - - return the most return etag for the MR associated with the entity - etag for the MR associated with the entity descriptor. - - - return the most recent type name of the entity as returned in the response payload. - the type name of the entity as returned in the response payload. - - - uri to edit the entity - retrieves the baseUri to use for a given entity set. - whether to return the query link or edit link - absolute uri which can be used to edit the entity - - - is the entity the same as the source or target entity - related end - true if same as source or target entity - - - - Return the related end for this resource. One should call this method, only if the resource is inserted via deep resource. - - returns the related end via which the resource was inserted. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - - Closes the save stream if there's any and sets it to null - - - - - Add the given navigation link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate from this entity to the other end. - - - - Add the given association link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate associations for this property. - - - - Merges the given linkInfo to the entity descriptor, - overwrites existing links with new ones (coming from the payload) - - linkInfo - - - - Try and get the navigation link. If the navigation link is not specified, then its used the self link of the entity and - appends the property name. - - retrieves the appropriate baseUri for a given entitySet. - ClientProperty instance representing the navigation property. - returns the uri for the given link. If the link is not present, its uses the self link of the current entity and appends the navigation property name. - - - - Returns the LinkInfo for the given navigation property. - - name of the navigation property - LinkInfo for the navigation propery - true if LinkInfo is found for the navigation property, false if not found - - - - Check if there is a stream with this name. If yes, returns the information about that stream, otherwise add a streams with the given name. - - name of the stream. - an existing or new namedstreaminfo instance with the given name. - - - - Adds an operation descriptor to the list of operation descriptors. - - the operation descriptor to add. - - - - Clears all operator descriptors - - - - - Appends OperationDescriptors to the existing list of OperationDescriptors - - List containing OperationDescriptors to add for this entityDescriptor - - - - Gets the stream info with the given name. - - name of the stream. - information about the stream with the given name. - true if there is a stream with the given name, otherwise returns false. - - - - Merges the given named stream info object. - If the stream descriptor is already present, then this method merges the info from the given stream descriptor - into the existing one, otherwise justs add this given stream descriptor to the list of stream descriptors for - this entity. - - namedStreamInfo instance containing information about the stream. - - - - Sets up the descriptor's parent descriptor and parent property. Only valid if the descriptor is in the Added state. - - The parent descriptor. - The property for insert. - - - - Sets the entity set URI to use for inserting the entity tracked by this descriptor. Only valid if the descriptor is in the added state. - - The entity set insert URI. - - - - Returns LinkInfo for the given property, if it does not exists than a new one is created. - - name of the navigation property - LinkInfo for propertyName - - - - In V1, we used to not support self links. Hence we used to use edit links as self links. - IN V2, we are adding support for self links. But if there are not specified, we need to - fall back on the edit link. - - whether to get query link or the edit link. - the query or the edit link, as specified in the parameter. - - - - Creates a default stream descriptor, if there is none yet, and returns it. - If there is one already present, then returns the current instance. - - stream descriptor representing the default stream. - - - Gets the URI that is the identity value of the entity. - The property corresponds to the identity element of the entry that represents the entity in the Atom response. - - - Gets the URI that is used to return the entity resource. - A URI that returns the entity. - - - Gets the URI that modifies the entity. - The edit link URI for the entity resource. - - - Gets the URI that accesses the binary property data of the entity. - A URI that accesses the binary property as a stream. - - If the entity for the box is an MLE this property stores the content source URI of the MLE. - That is, it stores the read URI for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the URI that modifies the binary property data of the entity. - The property contains the edit-media link URI for the Media Resource that is associated with the entity, which is a Media Link Entry. - - If the entity for the box is an MLE this property stores the edit-media link URI. - That is, it stores the URI to send PUTs for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the entity that contains the update data. - An object that contains update data. - - - Gets an eTag value that indicates the state of data targeted for update since the last call to . - The state of data. - - - Gets the eTag for the media resource associated with an entity that is a media link entry. - A string value that indicates the state of data. - - - Gets the parent entity that is related to the entity. - An object that is the parent entity in the relationship link. - This is only set for entities added through AddRelateObject call - - - Gets the name of the property of the entity that is a navigation property and links to the parent entity. - The name of the parent property. - - - Gets the name of the type in the data source to which the entity is mapped. - A string that is the name of the data type. - - - Returns a collection of links that are the relationships in which the entity participates. - A of objects that represents links in which the entity participates. - - - Returns a collection of named binary data streams that belong to the entity. - A of objects that are the named binary data streams that belong to the entity. - - - Gets a collection of operation descriptors associated with the entity. - A collection of operation descriptors associated with the entity. - - - - Gets the client model. - - - - Parent entity - - - this is a entity - - - - Returns true if the resource was inserted via its parent. E.g. POST customer(0)/Orders - - - - - The stream which contains the new content for the MR associated with this MLE. - This stream is used during SaveChanges to POST/PUT the MR. - Setting it to non-null marks the entity as MLE. - - - - - Describes whether the SaveStream is for Insert or Update. - The value NoStream is for both non-MLEs and MLEs with unmodified stream. - - - - - Returns true if we know that the entity is MLE. Note that this does not include the information - from the entity type. So if the entity was attributed with HasStream for example - this boolean might not be aware of it. - - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - - entity descriptor instance containing metadata from responses, which hasn't been fully processed yet. - - - - - Returns the stream descriptor for the default stream associated with this entity. - If this entity is not an MLE, then returns null; - - - - - Gets the edm structured value associated with this entity. - - - - - The entity set name provided in either AttachTo or AddObject. - - - - - Describes the insert/update/delete state of an entity or link. - - - Deleting an inserted resource will detach it. - After SaveChanges, deleted resources will become detached and Added & Modified resources will become unchanged. - - - - - The resource is not tracked by the context. - - - - - The resource is tracked by a context with no changes. - - - - - The resource is tracked by a context for insert. - - - - - The resource is tracked by a context for deletion. - - - - - The resource is tracked by a context for update. - - - - - options when saving changes - - - - default option, using multiple requests to the server stopping on the first failure - - - save the changes in a single changeset in a batch request. - - - save all the changes using multiple requests - - - Use replace semantics when doing update. - - - Use PATCH verb when doing update (retains the merge semantics). - - - save each change independently in a batch request. - - - - Handle the request (both sync and async) for non batch scenarios - - - - keeps track of all the parsed responses. - - - - We cache the current response and then parse it. we need to do this for the async case only. - - - - http web response - - - remove it later - - - - constructor for SaveResult - - context - method - options - user callback - user state object - - - - This starts the next change - - - - - This starts the next change - - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle the response. - - an instance of the DataServiceResponse, containing individual responses for all the requests made during this SaveChanges call. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Create memory stream for descriptor (entity or link or MR or named stream). - - Index into changed entries. - RequestMessage to be used to generate the payload. - Stream of data for descriptor. - - - - Create request message from the next change. - - An instance of ODataRequestMessage for the next change. - - - - Check to see if the resource to be inserted is a media descriptor, and if so - setup a POST request for the media content first and turn the rest of - the operation into a PUT to update the rest of the properties. - - The resource to check/process - An instance of ODataRequestMessage to do POST to the media resource - - - - Checks if the entity descriptor represents an MLE with modified MR and if so creates a PUT request - to update the MR. - - The entity descriptor for the entity to be checked. - An instance of ODataRequestMessage for the newly created MR PUT request or null if the entity is not MLE or its MR hasn't changed. - - - - Creates HTTP request for the media resource (MR) - - The URI to request - The HTTP method to use (POST or PUT) - version to be sent in the DSV request header. - Send the request using chunked encoding to avoid buffering. - If the response preference setting should be applied to the request - (basically means if the response is expected to contain an entity or not). - Collection of request headers - Descriptor for this media resource request. - An instance of ODataRequestMessage. - - - - Sets the content and the headers of the media resource request - - The header collection to setup. - DataServiceSaveStream instance containing all information about the stream. - ETag header value to be set. If passed null, etag header is not set. - This only works with the V2 MR support (SetSaveStream), this will not setup - the request for V1 property based MRs. - List of headers to reset - - - operation with exception - exception object - response object - - - - Decide whether we should continue when there is an error thrown - - - - - copy the response data - - response object - - - - Handle the response payload. - - httpwebresponse instance. - stream containing the response payload. - - - - Creates a request for the given named stream. - - NamedStreamInfo instance containing information about the stream. - An instance of ODataRequestMessage for the given named stream. - - - returns false since this class handles only non-batch scenarios - - - - returns true if the payload needs to be processed. - - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - - - cached response - - - - response headers - - - response status code - - - Parsed response DataServiceVersion header. - - - entry containing the parsed response. - - - Exception if encountered. - - - descriptor for which the response is getting parsed. - - - - Constructor - - descriptor whose response is getting processed. - headers - status code - Parsed response DataServiceVersion header. - atom entry, if there is a non-error response payload. - exception, if the request threw an exception. - - - - Event args for the event fired before executing a web request. Gives a - chance to customize or replace the request object to be used. - - - - The web request reported through this event - - - The request header collection. - - - - Constructor - - The request reported through this event - The request header collection. - - - Gets or sets the instance about to be sent by the client library to the data service. - . - - - Gets the collection protocol headers that are associated with the request to the data service. - A collection of protocol headers that are associated with the request. - - - - Serializes the request data into the given format using the given message writer. - - - - where to pull the changes from - - - The property converter to use for creating ODataProperty instances. - - - - Creates a new instance of the Serializer. - - the request info. - - - - Creates an instance of ODataMessageWriter. - - Instance of IODataRequestMessage. - RequestInfo containing information about the client settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Creates an ODataEntry for the given EntityDescriptor and fills in its ODataLib metadata. - - The entity descriptor. - Name of the server type. - The client-side entity type. - The current client format. - An odata entry with its metadata filled in. - - - - Writes the body operation parameters associated with a ServiceAction. - - The list of operation parameters to write. - The OData request message used to write the operation parameters. - - - - Write the entry element. - - The entity. - Collection of links related to the entity. - The OData request message. - - - - Writes a navigation link. - - The entity - The links related to the entity - The ODataWriter used to write the navigation link. - - - - Writes an entity reference link. - - The link descriptor. - The request message used for writing the payload. - - - - Enumerates through the list of URI operation parameters and creates a new Uri with the uri operation parameters written as query string of the new Uri. - - The Uri used to construct the new Uri. - The non-empty list of uri parameters which will be converted to query string. - Uri containing the uri parameters as query string. - - - - Returns the new XmlWriter to cache the payload for firing WritingEntity event. - - ODataEntry instance that is currently getting serialized. - XmlWriter that is used to write the payload. - XmlWriter instance that needs to be used to write the payload for the given odataentry. - - - - Fires the WritingEntity event, and then copies the payload into the parent writer. - - ODataEntry that is currently getting serialized. - XmlWriter writer instance that got returned by StartEntryXmlCustomizer method. - Parent writer to which the payload needs to get copied to, after firing the event. - - - - Converts a value to an escaped string for use in a Uri. Wraps the call to ODL's ConvertToUriLiteral and escapes the results. - - The name of the . Used for error reporting. - The value of the . - A string representation of for use in a Url. - - - - To cache the entity instance as annotation for firing WritingEntity event - - - - Entity instance that is currently getting serialized. - - - XDocument instance to cache the payload. - - - RequestInfo instance. - - - - Creates a new instance of WritingEntityInfo - - Entity instance that is currently getting serialized. - RequestInfo instance. - - - - Holds information about stream. - - - - - The Data service stream link object - - - - entity descriptor refering the parent entity. - - - - transient named stream info, which contains metadata from the response which has not been materialized yet. - - - - - Creates a StreamDescriptor class with the given name and other information - - name of the stream. - instance of entity descriptor that contains this stream. - - - - Creates a StreamDescriptor class for the default stream (MR) associated with an entity. - - instance of entity descriptor that contains this stream. - - - - Merge the information from the new stream info into the existing one. - - stream info into which the data needs to be merged. - stream info which contains the latest data. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - return the most recent edit link for the named stream - the uri to edit the named stream. - - - return the most recent etag for the named stream - the etag for the named stream. - - - - Closes the save stream if there's any and sets it to null - - - - The that represents the binary resource stream. - Returns . - - - The that represents the entity to which the named resource stream belongs. - The of the entity. - - - - Returns the name of the stream. - - - - - Returns the URI to get the named stream. - - - - - Returns the URI to update the named stream. - - - - - Returns the content type of the named stream. - - - - - Returns the etag for the named stream. - - - - - Returns the stream associated with this name. - - - - return true, since this class represents entity descriptor. - - - - Transient named stream info, if there are responses which hasn't been fully processed yet. - - - - - Class which contains all the logic for resolving the type from the wire name. - - - - - Dictionary instance to map the edm type name to the client type annotation. - In V1/V2, we never used to cache this and call this during materialization. Hence 2 different contexts can resolve the same wire type - differently and that would have been fine. Also, someone could have written a logic that might differ based on queries within the same context. - For e.g. before executing a projection query, the user can set a flag so that the resolver behaves differently. - Hence caching this locally for every request to simulate that behavior. - - - The callback for resolving client CLR types. - - - The callback for resolving server type names. - - - The client model. - - - The service model, or null if one has not been provided. - - - Indicates whether or not to skip the type assignability check. - - - - Creates an instance of TypeResolver class. - - The client model. - The callback to resolve client CLR types. - The callback for resolving server type names. - The service model. - - - - In V2, in projection path, we do not use to check for assignability between the expected type - and the type returned by the type resolver. This variable is used to track that scenario. - If this is true, the current request is a projection request otherwise not. - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - ODL callback for client type resolution - - The expected type for the given wire name - The name of the type from the payload - An IEdmType - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Determines whether or not the client type should be written for a property that is not defined on the server. - DEVNOTE: If there is no server model, the declaring type is complex, or the server type cannot be - found then the server type will be assumed to match the client type. - This is done this way to prevent getting this wrong if the server property is defined, but we cannot find it for some reason. - So if the types do not match, or we aren't able to align them, we will not write the type name, allowing the server to interpret it as the correct type. - - The client-side property. - The server type name of the current entity. - True if the client property type should be written because the property definitely not defined on the server type. - - - - Tries to resolve the name of the base type of the given entity set if a server model has been provided. - - The name of the entity set. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the name of a navigation property's target if a server model has been provided. - - The name of the server side source type. - The name of the navigation property. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the server type corresponding to the client type. - - The client type annotation. - The server type, if the server type could be resolved. - Whether or not the server type could be resolved. - - - - User hook to resolve name into a type. - - Name to resolve. - Expected type for the name. - the type as returned by the resolver. If no resolver is registered or resolver returns null, expected type is returned. - if ResolveType function returns a type not assignable to the userType - - - - Gets the reader model. - - - - - Represents a parameter associated with a service operation or a service function. - - - - Instantiates a new UriOperationParameter - The name of the uri operation parameter. - The value of the uri operation parameter. - - - - This immutable class is responsible for knowing how to correctly resolve base uri requests - - - - The baseUri provided by the user. can be null. - - - The function provided by the user to resolve the baseUri of entity sets. can be null - - - base uri with guranteed trailing slash - - - - Ctor for BaseUriResolver - - The baseUri provided by the user. - The function provider by the user to resolve the baseUri of the entity sets. - - - - Creates a UriResolver from a baseUri - - The baseUri to use in the UriResolver - The name of the paramter that the user passed the baseUri in from. - The new UriResolver using the passed in baseUri - - - - Creates a new BaseUriResolver with all the same values except a new BaseUri value - - The new BaseUri value - The name of the paramter that the user passed the baseUri in from. - A new BaseUriResolver with the BaseUri property set to the new value. - - - - Creates a new BaseUriResolver with all the same values except a new ResolveEntitySet value - - The new BaseUri value - A new BaseUriResolver with the ResolveEntitySet property set to the new value. - - - base uri with no trailing slash - the name of the entitSet whose Uri will be retrieved. - the baseUri ended with a slash for the entitySetName passed in. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - The BaseUri property with a slash. - - - - If necessary will create an absolute uri by combining the BaseUri and requestUri - - The uri specified by the user - An absolute Uri based on the requestUri and if nessesary the BaseUri - - - - Converts the baseUri passed in to an absolute Uri and then validates that it is - usable by the system. - - The user provided baseUri value. - The name of the paramter that the user passed the baseUri in from. - - - - Validates that the passed in BaseUri - - the baseUri that needs to be validated - True if the baseUri is valid, otherwise false - - - - Updates a relative silverlight uri to an absolute uri - - the uri passed by the client - the updated absolute uri - - - - Returns a Uri that is not slash terminated - - Will be the passed in one if it is slash termination free, or a new one - if the passed in one is slash terminated. - - The Uri to be un slash terminated - A slash termination free version of the passed in Uri. - - - - Returns a slash terminated Uri. - - Will be the passed in one if it is already slash terminated, or a new one - if the passed in one is not slash terminated. - - The Uri to be slash terminated - A slash terminated version of the passed in Uri. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - - Returns the error message to use if the BaseUri is not available. Using a function so we only have to - look up the resource if an error is actually thrown; - - The BaseUri property with a slash. - - - - Gets a Uri from the ResolveEntitySet property if available - - The name of the entity set to resolve to a URI - An absolute URI for the entitySet or null - - - Gets the ResolveEntitySet value. - - - - This property returns the baseUri value with no validation at all - - NOTE: this property should only be used to show the user what the BaseUri value is, all - other access should go through the GetBaseUriWithSlash() method - - the baseUri value - - - - Gets the base URI of the resolver regardless of whether or not it is null. - - - - - static utility functions for uris - - - - forward slash char array for triming uris - - - - Turn Uri instance into string representation - This is needed because Uri.ToString unescapes the string - - The uri instance - The string representation of the uri - - - new Uri(string uriString, UriKind uriKind) - value - kind - new Uri(value, kind) - - - new Uri(Uri baseUri, Uri requestUri) - baseUri - relativeUri - new Uri(baseUri, requestUri) - - - - Appends the absolute baseUri with the relativeUri to create a new absolute uri - - An absolute Uri - A relative Uri - An absolute Uri that is the combination of the base and relative Uris passed in. - - - - Component for controlling what convention set is used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The key serializer to use. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - Appends the key expression for the given entity to the given - - The entity to build the key expression from. - The builder to append onto. - - - - Appends the key expression for the given entity to the given - - The type of the properties. - The properties of the key. - Delegate to get the name of a property. - Delegate to get the value of a property. - The builder to append onto. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Gets the raw CLR value for the given . - - The property to get the value for. - The type which declared the property. - The raw CLR value of the property. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - static utility function - - - - - String Suffix on outgoing version numbers - - - - Tool name for the GeneratedCode attribute used by Astoria CodeGen - - - Method name for the LoadProperty method. - - - Method name for the Execute method. - - - Method name for the Async Execute method overload which expects void result. - - - Method name for the SaveChanges method. - - - - Empty Data Service Version - represents a blank DSV header - - - - - Data Service Version 1 - - - - - Data Service Version 2 - - - - - Data Service Version 3 - - - - - Data service versions supported on the client - - - - - static char[] for indenting whitespace when tracing xml - - - - - Converts the DataServiceProtocolVersion to a Version instance. - - The max protocol version value. - The same version expressed as Version instance. - - - - DebugInjectFault is a test hook to inject faults in specific locations. The string is the ID for the location - - The injector state parameter - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument to prevent accidental boxing of value types - argument whose value needs to be checked - name of the argument - if value is null - value - - - - Checks the string value is not empty - - value to check - parameterName of public function - if value is null - if value is empty - - - - Checks the string value is not empty, but allows it to be null - - value to check - parameterName of public function - if value is empty - - - - Checks the array value is not empty - - type of the argument to prevent accidental boxing of value types - value to check - parameterName of public function - if value is null - if value is empty or contains null elements - - - - Validate MergeOption - - option to validate - name of the parameter being validated - if option is not valid - option - - - - Validate MaxProtocolVersion - - version to validate - name of the parameter being validated - if version is not valid - version - - - - Validate HttpStack - - option to validate - name of the parameter being validated - if option is not valid - option - - - - get char[] for indenting whitespace when tracing xml - - how many characters to trace - char[] - - - dispose of the object and set the reference to null - type that implements IDisposable - object to dispose - - - dispose of the object - type that implements IDisposable - object to dispose - - - - Checks whether the exception type is one of the DataService*Exception - - exception to test - true if the exception type is one of the DataService*Exception - - - validate value is non-null - type of value - value - error code to throw if null - the non-null value - - - - check the atom:null="true" attribute - - XmlReader - true of null is true - - - Set the continuation for the following results for a collection. - The collection to set the links to - The continuation for the collection. - - - - Determines if the current type is nullable or not - - The type parameter. - true if its nullable false otherwise - - - - Similar to Activator.CreateInstance, but uses LCG to avoid - more stringent Reflection security constraints.in Silverlight - - Type to create. - Arguments. - The newly instantiated object. - - - - Similar to ConstructorInfo.Invoke, but uses LCG to avoid - more stringent Reflection security constraints in Silverlight - - Constructor to invoke. - Arguments. - The newly instantiated object. - - - - checks whether the given flag is set on the options - - options as specified by the user. - whether the given flag is set on the options - true if the given flag is set, otherwise false. - - - - checks whether any batch flag is set on the options - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag is set on the options for the single changeset - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag with independent Operation per change set is set - - options as specified by the user. - true if the given flag is set, otherwise false. - - - modified or unchanged - state to test - true if modified or unchanged - - - - trace Element node - - XmlReader - TextWriter - - - - trace EndElement node - - XmlReader - TextWriter - indent or not - - - - trace string value - - TextWriter - value - - - - Converts the given IEnumerable into IEnumerable - - Type parameter. - IEnumerable which contains the list of the objects that needs to be converted. - Delegate to use to convert the value. - An instance of IEnumerable which contains the converted values. - - - Given a enumeration returns the instance with the same version number. - The protocol version enum value to convert. - The version instance with the version number for the specified protocol version. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - The represents the runtime context of the data service. - - - - - string constant for the 'serviceRoot' parameter to UriResolver - - - - Same version as but stored as instance of for easy comparisons. - - - The client model for the current context instance. - - - The tracker for user-specified format information. - - - The maximum protocol version the client should support (send and receive). - - - - Class which tracks all the entities and links for the given context - - - - - The response preference for add and update operations - - - - The resolver for baseUris - - - Authentication interface for retrieving credentials for Web client authentication. - - - Override the namespace used for the data parts of the ATOM entries - - - resolve type from a typename - - - resolve typename from a type - - - time-out value in seconds, 0 for default - - - whether to use post-tunneling for PUT/DELETE - - - Options when deserializing properties to the target type. - - - Used to specify a value synchronization strategy. - - - Default options to be used while doing savechanges. - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Client will ignore 404 resource not found exception and return an empty set when this is set to true - - - The URL conventions to use. - - - The HTTP stack to use for requests. - - - - Test hook which gets called after the HttpWebRequest has been created and all headers have been set. - - - - - Test hook which gets called after we call HttpWebRequest.GetRequestStream, so that the test code can wrap the stream and see what gets written to it. - - - - - Test hook which gets called after the HttpWebResponse is received. - - - - - Test hook which gets called after we call HttpWebRequest.GetResponseStream, so that the test code can wrap the stream and see what gets read from it. - - - - - A flag indicating if the data service context is applying changes - - - - Initializes a new instance of the class. - It is expected that the BaseUri or ResolveEntitySet properties will be set before using the newly created context. - - - Initializes a new instance of the class with the specified . - An absolute URI that identifies the root of a data service. - When the is null. - If the is not an absolute URI -or-If the is a well formed URI without a query or query fragment. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Initializes a new instance of the class with the specified and targeting the specific . - An absolute URI that identifies the root of a data service. - A value that is the maximum protocol version that the client understands. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - - Instantiates a new context with the specified Uri. - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - - - An absolute, well formed http or https URI without a query or fragment which identifies the root of a data service. - A Uri provided with a trailing slash is equivalent to one without such a trailing character - - max protocol version that the client understands. - The client edm model to use. Provided for testability. - If the is not a valid value. - - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Gets the for the supplied entity object. - The instance for the , or null if an does not exist for the object. - The object for which to return the entity descriptor. - - - Gets the for a specific link that defines the relationship between two entities. - The instance for the specified relationship, or null if a does not exist for the relationship. - Source object in the link - The name of the navigation property on the object that returns the related object. - The related entity. - - - Attempts to cancel the operation that is associated with the supplied object. - The object from the operation being canceled. - DataServiceContext is not safe to use until asyncResult.IsCompleted is true. - - - Creates a data service query for data of a specified generic type. - A new instance that represents a data service query. - A string that resolves to a URI. - The type returned by the query - create a query based on (BaseUri + relativeUri) - - - Gets a URI of the location of .edmx metadata. - A URI that identifies the location of the metadata description, in .edmx format, for the data service identified by the base URI that is passed to the constructor. - - - Asynchronously loads the value of the specified property from the data service. - An IAsyncResult that represents the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property on the specified entity to load. - The delegate called when a response to the request is received. - The user-defined state object that is used to pass context data to the callback method. - actually doesn't modify the property until EndLoadProperty is called. - - - Asynchronously loads a page of related entities from the data service by using the supplied next link URI. - An object that is used to track the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - The URI used to load the next results page. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Asynchronously loads the next page of related entities from the data service by using the supplied query continuation object. - An that represents the status of the operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entity data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the operation. - The response to the load operation. - An that represents the status of the asynchronous operation. - - - Loads deferred content for a specified property from the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response to the load operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Loads a page of related entities by using the supplied next link URI.Not supported by the WCF Data Services 5.0 client for Silverlight. - An instance of that contains the results of the request. - The entity that contains the property to load. - The name of the property of the specified entity to load. - The URI that is used to load the next results page. - When is in a or state. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Loads the next page of related entities from the data service by using the supplied query continuation object.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response that contains the next page of related entity data. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entities to load from the data service. - When is in the or state. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Loads the next page of related entities from the data service by using the supplied generic query continuation object.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response that contains the next page of related entity data. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entities to load from the data service. - Element type of collection to load. - When is in the or state. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Gets the URI that is used to return a binary data stream. - The read URI of the binary data stream. - The entity that has a related binary stream to retrieve. - If the entity specified is null. - The is not tracked by this . - If the specified entity is a Media Link Entry, this method will return an URI which can be used to access the content of the Media Resource. This URI should only be used to GET/Read the content of the MR. It may not respond to POST/PUT/DELETE requests. - - - Gets the URI that is used to return a named binary data stream. - The read URI of the binary data stream. - The entity that has the named binary data stream to retrieve. - The name of the stream to request. - If the specified entity has a stream with the given name, this method will return an URI which can be used to access the content of the stream. This URI should only be used to GET/Read the content of the stream. It may not respond to POST/PUT/DELETE requests. - If the entity specified is null. - If the name parameter is empty or the entity specified is not being tracked. - - - Asynchronously gets the binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has a the binary data stream to retrieve. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - Any of the parameters supplied to the method is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary data stream. - - - Asynchronously gets a named binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has the binary data stream to retrieve. - The name of the binary stream to request. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of retrieving a binary data stream. - An instance of which contains the response stream along with its metadata. - The result from the operation that contains the binary data stream. - The method will block if the request have not finished yet. - - - Gets the binary data stream that belongs to the specified entity. - An instance of that represents the response. - The entity that has the binary stream to retrieve. - The is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary stream. - - - Gets the binary data stream that belongs to the specified entity, by using the specified Content-Type message header. - An instance of that represents the response. - The entity that has the binary data stream to retrieve. - The Content-Type of the binary data stream requested from the data service, specified in the Accept header. - - is null.-or- is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related stream. - - - Gets binary data stream for the specified entity by using the specified message headers. - An instance of that represents the response. - The entity that has the binary stream to retrieve. - Instance of class that contains settings for the HTTP request message. - - is null.-or- is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary stream. - - - Gets a named binary data stream that belongs to the specified entity, by using the specified Content-Type message header. - An instance of that represents the response. - The entity that has the binary data stream to retrieve. - The name of the binary stream to request. - Instance of class that contains settings for the HTTP request message. - Either entity or args parameters are null. - The specified entity is either not tracked, is in the added state. - - - Sets a binary data stream that belongs to the specified entity, with the specified Content-Type and Slug headers in the request message. - The entity to which the data stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The Slug header value for the request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The entity has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The entity is not being tracked or name is an empty string. - Any of the arguments is null. - - - Sets a named binary data stream that belongs to the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - The entity is not being tracked. The entity has the MediaEntry attribute - marking it to use the older way of handling MRs. - Any of the arguments is null. - - - Asynchronously submits a group of queries as a batch to the data service. - An object that is used to track the status of the asynchronous operation. - The delegate that is called when a response to the batch request is received. - User-defined state object that is used to pass context data to the callback method. - The array of query requests to include in the batch request. - - - Called to complete the . - The DataServiceResult object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Synchronously submits a group of queries as a batch to the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response to the batch operation. - Array of objects that make up the queries. - - - Asynchronously sends the request so that this call does not block processing while waiting for the results from the service. - An object that is used to track the status of the asynchronous operation. - The URI to which the query request will be sent. The URI may be any valid data service URI; it can contain $ query parameters. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - The operation parameters used. - - This overload expects the to end with a ServiceOperation - or ServiceAction that returns void. - - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - Attribute used on service operations to specify that they return a single instance of their return element. - The operation parameters used. - The type returned by the query. - - - Asynchronously sends a request to the data service to retrieve the next page of data in a paged query result. - An that represents the status of the operation. - A object that represents the next page of data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Called to complete the . - The results returned by the query operation. - - object. - The type returned by the query. - When is null. - When did not originate from this instance. -or- When the method was previously called. - When an error is raised either during execution of the request or when it converts the contents of the response message into objects. - When the data service returns an HTTP 404: Resource Not Found error. - - - Called to complete the . - The result of the operation. - An that represents the status of the asynchronous operation. - This method should be used in combination with the BeginExecute overload which - expects the request uri to end with a service operation or service action that returns void. - - - Sends a request to the data service to execute a specific URI.Not supported by the WCF Data Services 5.0 client for Silverlight. - The results of the query operation. - The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters. - The type that the query returns. - When a response is not received from a request to the . - When is null. - When is not a valid URI for the data service. - When an error is raised either during execution of the request or when it converts the contents of the response message into objects. - When the data service returns an HTTP 404: Resource Not Found error. - - - Sends a request to the data service to retrieve the next page of data in a paged query result.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response that contains the next page of data in the query result. - A object that represents the next page of data to return from the data service. - The type returned by the query. - - - Sends a request to the data service to execute a specific URI by using a specific HTTP method.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response of the operation. - The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters. - The HTTP data transfer method used by the client. - The operation parameters used. - - This overload expects the to end with a ServiceOperation - or ServiceAction that returns void. - - null requestUri - The is not GET nor POST. - problem materializing results of query into objects - failure to get response for requestUri - - - Sends a request to the data service to execute a specific URI by using a specific HTTP method.Not supported by the WCF Data Services 5.0 client for Silverlight. - Returns . - The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters. - The HTTP data transfer method used by the client. - Attribute used on service operations to specify that they return a single instance of their return element. - The operation parameters used. - The type returned by the query. - null requestUri - The is not GET nor POST. - problem materializing results of query into objects - failure to get response for requestUri - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An IAsyncResult that represents the status of the asynchronous operation. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An that represents the status of the asynchronous operation. - The options for how the client can save the pending set of changes. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - BeginSaveChanges will asynchronously attach identity Uri returned by server to sucessfully added entites. - EndSaveChanges will apply updated values to entities, raise ReadingEntity events and change entity states. - - - - Called to complete the operation. - A object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Saves the changes that the is tracking to storage.Not supported by the WCF Data Services 5.0 client for Silverlight. - A that contains status, headers, and errors that result from the call to . - - - Saves the changes that the is tracking to storage.Not supported by the WCF Data Services 5.0 client for Silverlight. - A that contains status, headers, and errors that result from the call to . - A member of the enumeration that specifies the materialization option. - - - Adds the specified link to the set of objects the is tracking. - The source object for the new link. - The name of the navigation property on the source object that returns the related object. - The object related to the source object by the new link. - When , , or are null. - If a link already exists.-or-If either the or objects are in a or state.-or-If is not a collection. - - Notifies the context that a new link exists between the and objects - and that the link is represented via the source. which is a collection. - The context adds this link to the set of newly created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Notifies the to start tracking the specified link that defines a relationship between entity objects. - The source object in the new link. - The name of the property on the source object that represents the link between the source and target object. - The target object in the link that is bound to the source object specified in this call. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When the link between the two entities already exists.-or-When or is in an or state. - - - Removes the specified link from the list of links being tracked by the . - Returns true if the specified entity was detached; otherwise false. - The source object participating in the link to be marked for deletion. - The name of the property on the source object that represents the source in the link between the source and the target. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When or are null. - When is an empty string. - Any link being tracked by the context, regardless of its current state, can be detached. - - - Changes the state of the link to deleted in the list of links being tracked by the . - The source object in the link to be marked for deletion. - The name of the navigation property on the source object that is used to access the target object. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When or is in a or state.-or-When is not a collection. - - Notifies the context that a link exists between the and object - and that the link is represented via the source. which is a collection. - The context adds this link to the set of deleted links to be sent to - the data service on the next call to SaveChanges(). - If the specified link exists in the "Added" state, then the link is detached (see DetachLink method) instead. - - - - Notifies the that a new link exists between the objects specified and that the link is represented by the property specified by the parameter. - The source object for the new link. - The property on the source object that identifies the target object of the new link. - The child object involved in the new link that is to be initialized by calling this method. The target object must be a subtype of the type identified by the parameter. If is set to null, the call represents a delete link operation. - When , or are null. - When the specified link already exists.-or-When the objects supplied as or are in the or state.-or-When is not a navigation property that defines a reference to a single related object. - - Notifies the context that a modified link exists between the and objects - and that the link is represented via the source. which is a reference. - The context adds this link to the set of modified created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Adds the specified object to the set of objects that the is tracking. - The name of the entity set to which the resource will be added. - The object to be tracked by the . - When or is null. - When is empty.-or-When does not have a key property defined. - When the entity is already being tracked by the context. - - It does not follow the object graph and add related objects. - Any leading or trailing forward slashes will automatically be trimmed from entitySetName. - - - - Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request. - The parent object that is being tracked by the context. - The name of the navigation property that returns the related object based on an association between the two entities. - The related object that is being added. - - - Notifies the to start tracking the specified resource and supplies the location of the resource within the specified resource set. - The name of the set that contains the resource. - The resource to be tracked by the . The resource is attached in the Unchanged state. - When or is null. - When is an empty string.-or-When the does not have a key property defined. - When the is already being tracked by the context. - It does not follow the object graph and attach related objects. - - - Notifies the to start tracking the specified resource and supplies the location of the resource in the specified resource set. - The string value that contains the name of the entity set to which to the entity is attached. - The entity to add. - An etag value that represents the state of the entity the last time it was retrieved from the data service. This value is treated as an opaque string; no validation is performed on it by the client library. - When is null.-or-When is null. - When is an empty string.-or-When the supplied object does not have a key property. - When the supplied object is already being tracked by the context - It does not follow the object graph and attach related objects. - - - Changes the state of the specified object to be deleted in the . - The tracked entity to be changed to the deleted state. - When is null. - When the object is not being tracked by the . - - Existings objects in the Added state become detached. - - - - Removes the entity from the list of entities that the is tracking. - Returns true if the specified entity was detached; otherwise false. - The tracked entity to be detached from the . - When is null. - - - Changes the state of the specified object in the to . - The tracked entity to be assigned to the state. - When is null. - When is in the state. - - - - Changes the state of the given entity. - Note that the 'Added' state is not supported by this method, and that AddObject or AddRelatedObject should be used instead. - If the state 'Modified' is given, calling this method is exactly equivalent to calling UpdateObject. - If the state 'Deleted' is given, calling this method is exactly equivalent to calling DeleteObject. - If the state 'Detached' is given, calling this method is exactly equivalent to calling Detach. - If the state 'Unchanged' is given, the state will be changed, but no other modifications will be made to the entity or entity descriptor associated with it. - - The entity whose state to change. - The new state of the entity. - - - Test retrieval of an entity being tracked by the by reference to the URI of the entity. - If an entity is found at , the entity is returned in the out parameter and true is returned. If no entity is found, false is returned. - The URI of the tracked entity to be retrieved. - The entity to be retrieved. - The type of the entity. - When is null. - entities in added state are not likely to have a identity - - - Retrieves the canonical URI associated with the specified entity, if available. - Returns true if the canonical URI is returned in the out parameter. If the specified entity is not tracked by the or is in the added state, no URI is available and false is returned. - The entity identified by the . - The URI of the entity. - When is null. - Entities in added state are not likely to have an identity. Though the identity might use a dereferencable scheme, you MUST NOT assume it can be dereferenced. - - - - Execute the using . - - Element type of the result. - Request URI to execute. - HttpMethod to use. Only GET or POST are supported. - If set to true, indicates that a single result is expected as a response. - False indicates that a collection of TElement is assumed. Should be null for void, entry, and feed cases. - This function will check if TElement is an entity type and set singleResult to null in this case. - The operation parameters associated with the service operation. - A QueryOperationResponse that is enumerable over the results and holds other response information. - null requestUri - The is not GET nor POST. - problem materializing results of query into objects - failure to get response for requestUri - - - Begins the execution of the request uri based on the http method. - element type of the result - request to execute - User callback when results from execution are available. - user state in IAsyncResult - HttpMethod to use. Only GET and POST are supported. - async method name at the source. - If set to true, indicates that a single result is expected as a response. - The operation parameters associated with the service operation. - async result object - - - - Track a binding. - - Source resource. - Property on the source resource that relates to the target resource. - Target resource. - merge operation - - - - Creates the OData request message to write the headers and payload into. - - The arguments for creating the message. - List of header names that needs to be reset after calling SendingRequest event. - Descriptor to expose in SendingRequest2 - An instance of IODataRequestMessage with the given headers and version. - - - - user hook to resolve name into a type - - name to resolve - Null if no type resolver is registered, otherwise returns whatever is returned by the type resolver. - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Fires the WritingEntity event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Fires the ReceivingResponse event. - - Args instance containing information about the response. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. The reasons for doing this are to give us a place - to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Invokes the sendRequest test hook callback with a reference to the HttpWebRequest - - HttpWebRequest to provide in the callback. - - - - Invokes the getRequestWrappingStream test hook callback, so that the test code can wrap the stream and see what gets written to it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Invokes the sendResponse test hook callback with a reference to the HttpWebResponse - - HttpWebResponse to provide in the callback. - - - - Invokes the getResponseWrappingStream test hook callback, so that the test code can wrap the stream and see what gets read from it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Gets an entity metadata builder to evaluate metadata which is not present in payloads, or for which the payload is not available. - - Name of the entity set to which the entity belongs. - The entity to build metadata for. - - A metadata builder for the entity tracked by the given entity instance. - - - This is used for example to determine the edit link for an entity if the payload didn't have one, or to determine the URL for a navigation when building a query through LINQ. - - - - - Fires the BuildingRequest event to get a new RequestMessageArgs object. - - Http method for the request. - Base Uri for the request. - Http stack to use for the request. - Http stack to use for the request. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - - Determines the type that - - Name of the type to resolve. - Namespace of the type. - Namespace of the type, can be different in VB than the fullNamespace. - Type that the name resolved to or null if none found. - Function was added for Portable Lib support to handle the differences in accessing the assembly of the context. - - - validate and trim leading and trailing forward slashes - - resource name to validate - if entitySetName was null - if entitySetName was empty or contained only forward slash - - - validate is entity type - entity to validate - The client model. - if entity was null - if entity does not have a key property - - - - Validates a given list of operation parameter and returns two seperated list of body operation parameter - and uri operation parameter respectively. - - the http method used in the request. Only POST and GET http methods are supported with operation parameters. - The list of operation parameters to be validated. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - - - - Verify that the format is set to Atom, and fail otherwise. - - - - - Fires the BuildingRequest event so the user can add custom query parameters. - - Information about the request so they user can selectively add query parameters. - A new RequestMessageArgs object that contains any changes the user made to the query string. - - - - Validate the SaveChanges Option - - options as specified by the user. - - - - Validate and process the input parameters to all the execute methods. Also seperates and returns - the input operation parameters list into two seperate list - one of body operation parameters and the other - for uri operation parameters. - - element type. See Execute method for more details. - request to execute - HttpMethod to use. Only GET and POST are supported. - If set to true, indicates that a single result is expected as a response. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - The operation parameters associated with the service operation. - - - - create the load property request - - entity - name of collection or reference property to load - The AsyncCallback delegate. - user state - The request uri, or null if one is to be constructed - Continuation, if one is available. - a aync result that you can get a response from - - - - verify the source and target are relatable - - source Resource - source Property - target Resource - destination state of relationship to evaluate for - true if DeletedState and one of the ends is in the added state - if source or target are null - if source or target are not contained - if source property is null - if source property empty - Can only relate ends with keys. - If target doesn't match property type. - If adding relationship where one of the ends is in the deleted state. - If attaching relationship where one of the ends is in the added or deleted state. - - - - This method creates an async result object around a request to get the read stream for a Media Resource - associated with the Media Link Entry represented by the entity object. - - The entity which is the Media Link Entry for the requested Media Resource. Thist must specify - a tracked entity in a non-added state. - Instance of class with additional metadata for the request. - Must not be null. - User defined callback to be called when results are available. Can be null. - User state in IAsyncResult. Can be null. - name of the stream. - The async result object for the request, the request hasn't been started yet. - Either entity or args parameters are null. - The specified entity is either not tracked, - is in the added state or it's not an MLE. - - - - Ensures that the required data service protocol version is lesser than the maxprotocolversion on this instance. - - throws an invalidoperationexception if the max protocolversion is lesser than the required protocol version - - - - Ensures that the maxprotocolversion on this instance is lesser than - - The property being modified. - The max allowed dataserviceversion for modifying this property. - throws a NotSupportedException if the max protocolversion is greater than - - - - Helper method for calling the overridable GetEntityMetadataBuilder API and performing common logic/verification. - - The entity descriptor tracking the entity. - A metadata builder for the entity tracked by the given descriptor. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. It fires the ReceivingResponse event. - It also gives us a place to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - IAsyncResult for EndGetResponse if this is an async call. - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - Mark an existing object for update in the context. - - entity to be mark for update - If true, then an exception should be thrown if the entity is in neither the unchanged nor modified states. - if entity is null - if entity is detached - if entity is not unchanged or modified and is true. - - - - Mark an existing object being tracked by the context for deletion. - - entity to be mark deleted - If true, then an exception will be thrown if the entity is in the added state. - if entity is null - if entity is not being tracked by the context, or if the entity is in the added state and is true. - - Existings objects in the Added state become detached if is false. - - - - - Sets the entity's state to unchanged. - - The entity to set back to unchanged. - - - Occurs when a new has been created. - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request message object is built, giving - the handler the opportunity to inspect, adjust and/or replace some - request information before the message is built. This event should be - used to modify the outgoing Url of the request or alter request headers. - After the request is built, other modifications on the WebRequest object can be made - in SendingRequest2. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - Occurs after entity data has been completely read into the entity object. - - This event fires once an entry has been read into a .NET object - but before the serializer returns to the caller, giving handlers - an opporunity to read further information from the incoming ATOM - entry and updating the object. - This event should only be raised from the thread that was used to - invoke Execute, EndExecute, SaveChanges, EndSaveChanges. - - - - - This event fires when a response is received by the client. - It fires for both top level responses and each operation or query within a batch response. - - - On top level requests, the event is fired before any processing is done. - For inner batch operations, the event is also fired before any processing is done, with - the exception that the content-ID of a changeset operation will be read before the event is fired. - - - - Occurs after an entity has been fully serialized into XML in a request message. - - This event fires once an ATOM entry is ready to be written to - the network for a request, giving handlers an opportunity to - customize the entry with information from the corresponding - .NET object or the environment. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event fires when SaveChanges or EndSaveChanges is called - - - - - Internal event instance used by the public SendingRequest event. - - - - - Internal event instance used by the public BuildingRequest event. - - - - - Internal event instance used by the public WritingEntity event. - - - - Gets or sets the delegate method that is used to resolve the entity set URI when the value cannot be determined from an edit-link or self-link URI. - A delegate that takes a and returns a value. - - - Gets the absolute URI identifying the root of the target data service. - An absolute URI that identifies the root of a T data service. - - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - Example: http://server/host/myservice.svc - - - - Gets or sets whether the client requests that the data service return entity data in the response message to a change request. - A object that determines whether to request a response form the data service. - Whether POST/PUT/MERGE requests will process response from the server. Corresponds to Prefer header in HTTP POST/PUT/MERGE request. - - - Gets the maximum version of the Open Data Protocol (OData) that the client is allowed to use. - The maximum version of OData that the client is allowed to use. - If the request or response would require higher version the client will fail. - - - Gets or sets the authentication information that is used by each query created by using the object. - The base authentication interface for retrieving credentials for Web client authentication. - - - Gets or sets the synchronization option for receiving entities from a data service. - One of the members of the enumeration. - - Used to specify a synchronization strategy when sending/receiving entities to/from a data service. - This value is read by the deserialization component of the client prior to materializing objects. - As such, it is recommended to set this property to the appropriate materialization strategy - before executing any queries/updates to the data service. - The default value is .AppendOnly. - - - - Gets a value that indicates whether the is currently applying changes to tracked objects. - Returns true when changes are currently being applied; otherwise returns false. - - - Gets or sets whether the properties read from the type must be mapped to properties on the client-side type. - A Boolean value that indicates whether the properties read from the type must be mapped to properties on the client-side type. - - This also affects responses during SaveChanges. - - - - Gets or sets the XML namespace for data items, not metadata items, of an Atom payload. - A string representing the XML namespace for data items of a payload in the ATOM format. - - - Gets or sets a function to override the default type resolution strategy used by the client library when you send entities to a data service. - Returns a string that contains the name of the . - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves - a type within the client application to a namespace-qualified type name. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - This method enables one to override the entity name that is serialized - to the target representation (ATOM,JSON, etc) for the specified type. - - - - Gets or sets a function that is used to override the default type resolution option that is used by the client library when receiving entities from a data service. - A function delegate that identifies an override function that is used to override the default type resolution option that is used by the client library. - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves a - namespace-qualified type name to type within the client application. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - Overriding type resolution enables inserting a custom type name to type mapping strategy. - It does not enable one to affect how a response is materialized into the identified type. - - - - Gets or sets the time-out option (in seconds) that is used for the underlying HTTP request to the data service. - An integer that indicates the time interval (in seconds) before time-out of a service request. - - A value of 0 will use the default timeout of the underlying HTTP request. - This value must be set before executing any query or update operations against - the target data service for it to have effect on the on the request. - The value may be changed between requests to a data service and the new value - will be picked up by the next data service request. - - - - Gets or sets the URI used to indicate what type scheme is used by the service. - A object that contains the type scheme. - - - Gets or sets a Boolean value that indicates whether to use post tunneling. - A Boolean value that indicates whether to use post tunneling. - - - Gets the collection of all associations or links currently being tracked by the object. - A collection of objects that represent all associations or links current being tracked by the current being tracked by the object. - If no links are being tracked, a collection with 0 elements is returned. - - - Gets a list of all the resources currently being tracked by the . - A list of objects that represent all the resources currently being tracked by the . - If no resources are being tracked, a collection with 0 elements is returned. - - - Gets or sets the values that are used by the method. - The current options for the save changes operation. - - - Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service. - When set to true, the client library returns an empty set instead of raising a when the data service returns an HTTP 404: Resource Not Found error. - - - - Gets the configurations. - - - - - Gets an object which allows the user to customize the format the client will use for making requests. - - - - - Gets or sets the URL conventions the client should use. - - - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Gets a value that indicates the type of HTTP implementation to use when accessing the data service in Silverlight. - A value that indicates the HTTP implementation to use when accessing the data service. - Default value is HttpStack.Auto - - - Indicates if there are subscribers for the WritingEntity event - - - - True if any event handlers are registered for events that are only supported with Atom. - - - - Indicates if there are subscribers for the SendingRequest event. - We do not fire SendingRequest event if there are subscribers to SendingRequest2 event. - - - Indicates if there are subscribers for the SendingRequest2 event. - - - - INdicates if there are any subscribers for the BuildingRequestEvent. - - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - The tracker for user-specified format information. - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - - Gets the client model. - - - - - Cache for client edm models by version. - - - - A cache that maps a data service protocol version to its corresponding . - Note that it is initialized in a static ctor and must not be changed later to avoid threading issues. - - - - Static constructor used to initialize modelCache. - - - - - Get the cached model for the specified max protocol version. - - The to get the cached model for. - The cached model for the . - - - - query object - - type of object to materialize - - - Method info for the v1 Expand method. - - - Method info for the generic version of the Expand method - - - Linq Expression - - - Linq Query Provider - - - Uri, Projection, Version for translated query - - - - query object - - expression for query - query provider for query - - - Starts an asynchronous network operation that executes the query represented by this object instance. - An that represents the status of the asynchronous operation. - The delegate to invoke when the operation completes. - User defined object used to transfer state between the start of the operation and the callback defined by . - - - Ends an asynchronous query request to a data service. - Returns an that contains the results of the query operation. - The pending asynchronous query request. - When the data service returns an HTTP 404: Resource Not Found error. - - - Executes the query and returns the results as a collection that implements IEnumerable.Not supported by the WCF Data Services 5.0 client for Silverlight. - An in which TElement represents the type of the query results. - When the data service returns an HTTP 404: Resource Not Found error. - When during materialization an object is encountered in the input stream that cannot be deserialized to an instance of TElement. - - - Expands a query to include entities from a related entity set in the query response. - A new query that includes the requested $expand query option appended to the URI of the supplied query. - The expand path in the format Orders/Order_Details. - - - Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy. - Returns a that with the expand option included. - A lambda expression that indicates the navigation property that returns the entity set to include in the expanded query. - Target type of the last property on the expand path. - - - Requests that the count of all entities in the entity set be returned inline with the query results. - A new object that has the inline count option set. - - - Creates a new with the query option set in the URI generated by the returned query. - A new query that includes the requested query option appended to the URI of the supplied query - The string value that contains the name of the query string option to add. - The object that contains the value of the query string option. - - - Executes the query and returns the results as a collection. - A typed enumerator over the results in which TElement represents the type of the query results. - - - Represents the URI of the query to the data service. - A URI as string that represents the query to the data service for this instance. - - - Executes the query and returns the results as a collection. - An enumerator over the query results. - - - - gets the UriTranslateResult for a the query - - The client model. - an instance of QueryComponents. - - - Synchronous methods not available - - Returns an IEnumerable from an Internet resource. - - An IEnumerable that contains the response from the Internet resource. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - - gets the query components for the query after translating - - QueryComponents for query - - - Returns the type of the object used in the template to create the instance. - Returns representing the type used in the template when the query is created. - - - Represents an expression containing the query to the data service. - A object representing the query. - - - Represents the query provider instance. - A representing the data source provider. - - - Get the URI for the query. - The URI of the request. - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Context associated with this query. - - - - Ordered DataServiceQuery which implements IOrderedQueryable. - - - - - constructor - - expression for query - query provider for query - - - web utility functions - - - - Default buffer size used for stream copy. - - - - - Whether DataServiceCollection<> type is available. - - - - Method info for GetDefaultValue<T>. - - - copy from one stream to another - input stream - output stream - reusable buffer - count of copied bytes - - - get response object from possible WebException - exception to probe - http web respose object from exception - an instance of InvalidOperationException. - - - is this a success status code - status code - true if status is between 200-299 - - - - Checks if the provided type is a collection type (i.e. it implements ICollection and the collection item type is not an entity). - - Type being checked. - The client model. - True if the CLR type is a collection compatible type. False otherwise. - - - - Checks if the provided type name is a name of a collection type. - - Type name read from the payload. - true if is a name of a collection type otherwise false. - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Collection item type name or null if not a collection. - - - - Resolves and creates if necessary a backing type for the . - - Type of a collection property as defined by the user - can be just an interface or generic type. - Type of items stored in the collection. - Resolved concrete type that can be instantiated and will back the collection property. Can be the type. - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument - argument whose value needs to be checked - name of the argument - returns the argument back - - - - Checks if the collection is valid. Throws if the collection is not valid. - - The type of the collection item. Can not be null. - Collection instance to be validated. - The name of the property being serialized (for exception messages). Can be null if the type is not a property. - - - - Checks if the value of a collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - This method should be called first to validate all items in a collection regardless of their type. - - - - Checks if the value of a primitive collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null. - The type of the collection item as declared by the collection. - - - - Checks if the value of a complex collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null if the type is not a property. - The type of the collection item as declared by the collection. - - - - Validates the value of the identity, the atom:id or DataServiceId - - The value to validate - - - - Validates the value of the 'Location' response header. - - the value as seen on the wire. - an absolute uri or - - - - Determines the value of the Prefer header based on the response preference settings. Also modifies the request version as necessary. - - The response preference setting for the request. - The request version so far, this might be modified (raised) if necessary due to response preference being applied. - The value of the Prefer header to apply to the request. - - - - Raises the version specified to the new minimal version (if it's lower than the current one) - - The version to be raised. - The minimal version needed. - - - - Checks if the given type is DataServiceCollection<> type. - - Type to be checked. - true if the provided type is DataServiceCollection<> or false otherwise. - - - - Creates an instance of DataServiceCollection<> class using provided types. - - Types to be used for creating DataServiceCollection<> object. - - Instance of DataServiceCollection<> class created using provided types or null if DataServiceCollection<> - type is not avaiable. - - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Dispose the message if it implements IDisposable. - - IODataResponseMessage to dispose. - - - - Forces loading WindowsBase assembly. If WindowsBase assembly is not present JITter will throw an exception. - This method MUST NOT be inlined otherwise we won't be able to catch the exception by JITter in the caller. - - typeof(DataServiceCollection<>) - - - - Returns true if DataServiceCollection<> type is available or false otherwise. - - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Represents an EDM property for client types and caches methods for the propertyInfo. - - - - Back reference to the EdmProperty this annotation is part of. - - - property name for debugging - - - Exact property type; possibly nullable but not necessarily so. - - - type of the property - - - what is the dictionary value type - - - what type was this property declared on? - - - - Is this a known primitive/reference type or an entity/complex/collection type? - - - - property getter - - - property setter - - - "set_Item" method supporting IDictionary properties - - - "Add" method supporting ICollection<> properties - - - "Remove" method supporting ICollection<> properties - - - "Contains" method supporting ICollection<> properties - - - "Clear" method supporting ICollection<> properties - - - ICollection<> generic type - - - cached value for IsPrimitiveOrComplexCollection property - - - cached value of IsGeographyOrGeometry property - - - The other property in this type that holds the MIME type for this one - - - - constructor - - Back reference to the EdmProperty this annotation is part of. - propertyInfo instance. - The client model. - - - - get property value from an object - - object to get the property value from - property value - - - - remove a item from the collection instance - - collection - item to remove - - - - set property value on an object - - object to set the property value on - property value - used for open type - allow add to a collection if available, else allow setting collection property - - - - Clears . - - ICollection instance that needs to be cleared. - - - - Adds value to a collection. - - ICollection Instance to add to. - Value to be added to . - - - - Gets the client model. - - - - The other property in this type that holds the MIME type for this one - - - what is the nested collection element - - - Is this property a collection of entities? - - - Type of items in the primitive or complex collection. - - - Is this property a collection of primitive or complex types? - - - Returns true if the type of property is a Geography or Geometry type, otherwise returns false. - - - Is this property a dictionary? - - - Returns true if this property is a stream link property, otherwise false. - - - - Utility methods for client types. - - - - A static empty PropertyInfo array. - - - - Sets the single instance of on the given instance of . - - The model the belongs to. - IEdmType instance to set the annotation on. - The annotation to set - - - - Gets the ClientTypeAnnotation for the given type. - - The model. - Type for which the annotation needs to be returned. - An instance of ClientTypeAnnotation containing metadata about the given type. - - - - Gets the single instance of from the given instance of . - - The model the belongs to. - IEdmType instance to get the annotation. - Returns the single instance of from the given instance of . - - - - Sets the given instance of to the given instance of . - - IEdmProperty instance to set the annotation. - Annotation instance to set. - - - - Gets the single instance of ClientPropertyAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the single instance of ClientPropertyAnnotation from the given instance of . - - - - Gets the instance of ClientTypeAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the instance of ClientTypeAnnotation from the given instance of . - - - - Returns the corresponding edm type reference for the given edm type. - - EdmType instance. - A boolean value indicating whether the clr type of this edm type is nullable - Returns the corresponding edm type reference for the given edm type. - - - - Returns the full name for the given edm type - - EdmType instance. - the full name of the edmType. - - - - Returns MethodInfo instance for a generic type retrieved by using and gets - element type for the provided . - - starting type - the generic type definition to find - the method to search for - the element type for if found - element types - - - Gets a delegate that can be invoked to add an item to a collection of the specified type. - Type of list to use. - The delegate to invoke. - - - - Gets the Add method to add items to a collection of the specified type. - - Type for the collection. - The element type in the collection if found; null otherwise. - The method to invoke to add to a collection of the specified type. - - - - get concrete type that implements the genericTypeDefinition - - starting type - the generic type definition to find - concrete type that implementats the generic type - - - - Is the type an Entity Type? - - Type to examine - The client model. - bool indicating whether or not entity type - - - - Is the type or element type (in the case of nullableOfT or IEnumOfT) a Entity Type? - - Type to examine - bool indicating whether or not entity type - - - Checks whether the specified type is a DataServiceCollection type (or inherits from one). - Type to check. - true if the type inherits from DataServiceCollection; false otherwise. - - - Whether a variable of can be assigned null. - Type to check. - true if a variable of type can be assigned null; false otherwise. - - - Returns the list of properties defined on . - Type instance in question. - True to to get the properties declared on ; false to get all properties defined on . - Returns the list of properties defined on . - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - Returns the list of key properties defined on ; null if is complex. - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - true if has any (declared or inherited) properties; otherwise false. - Returns the list of key properties defined on ; null if is complex. - - - Gets the type of the specified . - Member to get type of (typically PropertyInfo or FieldInfo). - The type of property or field type. - - - - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - Property in question. - DataServiceKeyAttribute instance. - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - - - Checks whether the specified is a - closed constructed type of the generic type. - - Type to check. - Generic type for checkin. - true if is a constructed type of . - The check is an immediate check; no inheritance rules are applied. - - - - Determines whether the declared on - overrides a (virtual/abstract) property of a base type. - - The declaring type of the property. - The property to check. - true if overrides a property on a base types; otherwise false. - - - - Enumeration for the kind of key - - - - If this is not a key - - - If the key property name was equal to ID - - - If the key property name was equal to TypeName+ID - - - if the key property was attributed - - - - Caches wire type names and their mapped client CLR types. - - - - cache <T> and wireName to mapped type - - - - resolve the wireName/userType pair to a CLR type - - type name sent by server - type passed by user or on propertyType from a class - mapped clr type - - - - is the type a visible subclass with correct name - - type name from server - the type from user for materialization or property type - type being tested - the previously discovered matching type - if the mapping is ambiguous - - - type + wireName combination - - - type - - - type name from server - - - equality comparer for TypeName - - - equality comparer for TypeName - left type - right type - true if x and y are equal - - - compute hashcode for TypeName - object to compute hashcode for - computed hashcode - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The expected content type for a batch requests is "multipart/mixed;boundary=batch" not "{0}"." - - - - - A string like "The POST request expected a response with content. ID={0}" - - - - - A string like "The web response contained unexpected sections. ID={0}" - - - - - A string like "The ResolveEntitySet function must return a non-null Uri for the EntitySet '{0}', otherwise you must set the BaseUri property." - - - - - A string like "Unable to convert value '{0}' into a key string for a URI." - - - - - A string like "System.Data.Services.Client internal error {0}." - - - - - A string like "The stream named '{0}' cannot be modified because it does not have an edit-media link. Make sure that the stream name is correct and that an edit-media link for this stream is included in the entry element in the response." - - - - - A string like "The property '{0}' is not supported when MaxProtocolVersion is greater than '{1}'." - - - - - A string like "Media link object of type '{0}' is configured to use the MIME type specified in the property '{1}'. However, that property's value is null or empty." - - - - - A string like "Response version '{0}' is not supported. The only supported versions are: {1}." - - - - - A string like "The response version is {0}, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the version required by the response, and then retry the request. If the client does not support the required protocol version, then upgrade the client." - - - - - A string like "The request requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the higher version, and then retry the operation." - - - - - A string like "The entity type {0} is marked with MediaEntry attribute but no save stream was set for the entity." - - - - - A string like "Can't use SetSaveStream on entity with type {0} which has a media entry property defined." - - - - - A string like "Calling SetSaveStream on an entity with state '{0}' is not allowed." - - - - - A string like "The entity does not have a stream named '{0}'. Make sure that the name of the stream is correct." - - - - - A string like "There is no self-link or edit-media link for the stream named '{0}'. Make sure that either the self-link or edit-media link is specified for this stream." - - - - - A string like "The serialized resource has a null value in key member '{0}'. Null values are not supported in key members." - - - - - A string like "An entity in the 'Added' state cannot be changed to '{0}', it can only be changed to 'Detached'." - - - - - A string like "The content-type value '{0}' is not supported." - - - - - A string like "{0}.{1} must return a non-null open property collection." - - - - - A string like "The open object property '{0}:{1}' is not defined." - - - - - A string like "{0} has multiple definitions for OpenObjectAttribute." - - - - - A string like "The closed type {0} does not have a corresponding {1} settable property." - - - - - A string like "{0} has key properties declared on a non-simple type." - - - - - A string like "{0} has key properties declared at different levels within its type hierarchy." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the MIME type property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the data property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MediaEntry attribute that references a property called '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "The type '{0}' has no settable properties." - - - - - A string like "The open type property '{0}' returned a null instance." - - - - - A string like "Resolving type from '{0}' that inherits from '{1}' is ambiguous." - - - - - A string like "The type '{0}' is not supported by the client library." - - - - - A string like "The type '{0}' has a property '{1}' which is a collection property. Collection properties are only supported in 'V3' version of the protocol and above." - - - - - A string like "Multiple types were found with the same name '{0}'. Type names must be unique." - - - - - A string like "The type '{0}' is a collection type. Collection types are only supported in 'V3' version of the protocol and above." - - - - - A string like "An item in the collection property '{0}' is not of the correct type. All items in the collection property must be of the collection item type." - - - - - A string like "A collection of item type '{0}' has an item which is not of the correct type. All items in the collection must be of the collection item type." - - - - - A string like "The property '{0}' is of entity type and it cannot be a property of the type '{1}', which is not of entity type. Only entity types can contain navigation properties." - - - - - A string like "The current value '{1}' type is not compatible with the expected '{0}' type." - - - - - A string like "Error processing response stream. Atom payload has a feed and the property '{0}' is not a collection." - - - - - A string like "Error processing response stream. Atom payload has an entry and the property '{0}' is a collection." - - - - - A string like "Error processing response stream. Server failed with following message:\r\n{0}" - - - - - A string like "The value of the property '{0}' is null. Properties that are a collection type of primitive or complex types cannot be null." - - - - - A string like "The value of the collection of item type '{0}' is null. A collection cannot have a null value." - - - - - A string like "The entity with identity '{0}' does not have a self-link or an edit-link associated with it. Please make sure that the entity has either a self-link or an edit-link associated with it." - - - - - A string like "The PropertyName property value '{1}' of EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The PropertyName property value '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' is provided more than once." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a resource type is not a primitive type." - - - - - A string like "The property '{0}' on type '{1}' is not present or is inaccessible." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'DataServiceStreamLink'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the TargetName property of EntityPropertyMappingAttribute." - - - - - A string like "The TargetName property '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' have the same value. Conflicting properties are '{2}' and '{3}'." - - - - - A string like "Character set '{0}' is not supported." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it contained escape characters even though it was not quoted." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it terminated with escape character. Escape characters must always be followed by a character in a parameter value." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because the closing quote character could not be found while the parameter value started with a quote character." - - - - - A string like "The expression type {0} is not supported." - - - - - A string like "Could not convert constant {0} expression to string." - - - - - A string like "The method '{0}' is not supported." - - - - - A string like "The unary operator '{0}' is not supported." - - - - - A string like "The binary operator '{0}' is not supported." - - - - - A string like "The constant for '{0}' is not supported." - - - - - A string like "The member access of '{0}' is not supported." - - - - - A string like "Can't cast to unsupported type '{0}'" - - - - - A string like "The expression {0} is not supported." - - - - - A string like "Error translating Linq expression to URI: {0}" - - - - - A string like "Can't add duplicate query option '{0}'." - - - - - A string like "Can't add query option '{0}' because it would conflict with the query options from the translated Linq expression." - - - - - A string like "Can't add query option '{0}' because it begins with reserved character '$'." - - - - - A string like "Referencing public field '{0}' not supported in query option expression. Use public property instead." - - - - - A string like "The {0} query option cannot be specified after the {1} query option." - - - - - A string like "Cannot initialize an instance of entity type '{0}' because '{1}' and '{2}' do not refer to the same source entity." - - - - - A string like "The expression '{0}' is not a valid expression for navigation path. The only supported operations inside the lambda expression body are MemberAccess and TypeAs. The expression must contain at least one MemberAccess and it cannot end with TypeAs." - - - - - A string like "Initializing instances of the entity type {0} with the expression {1} is not supported." - - - - - A string like "Constructing or initializing instances of the type {0} with the expression {1} is not supported." - - - - - A string like "Cannot assign the value from the {0} property to the {1} property. When projecting results into a entity type, the property names of the source type and the target type must match for the properties being projected." - - - - - A string like "The collection property '{0}' cannot be used in an 'orderby' query expression. Collection properties are not supported by the 'orderby' query option." - - - - - A string like "The collection property '{0}' cannot be used in a 'where' query expression. Collection properties are only supported as the source of 'any' or 'all' methods in a 'where' query option." - - - - - A string like "Navigation to members of the collection property '{0}' in a 'select' query expression is not supported." - - - - - A string like "The property '{0}' of type 'DataServiceStreamLink' cannot be used in 'where' or 'orderby' query expressions. Properties of type 'DataServiceStreamLink' are not supported by these query options." - - - - - A string like "Unsupported expression '{0}' in '{1}' method. Expression cannot end with TypeAs." - - - - - A string like "The method '{0}' is not supported when MaxProtocolVersion is less than '{1}'." - - - - - A string like "The type '{0}' is not an entity type. The target type for a TypeAs operator must be an entity type." - - - - - A string like "The source parameter for the '{0}' method has to be either a navigation or a collection property." - - - - - A string like "The method '{0}' is not supported by the 'orderby' query option." - - - - - A string like "The DataServiceCollection to be tracked must contain entity typed elements with at least one key property. The element type '{0}' does not have any key property." - - - - - A string like "Setting an instance of DataServiceCollection to an entity property is disallowed if the instance is already being tracked. Error occurred on property '{0}' for entity type '{1}'." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by DataServiceCollection." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by a collection object of type '{1}'." - - - - - A string like "Null values are disallowed during '{0}' operations on DataServiceCollection." - - - - - A string like "A value provided during '{0}' operation on DataServiceCollection is not of an entity type with key." - - - - - A string like "Entity set name has not been provided for an entity of type '{0}'." - - - - - A string like "An attempt was made to add entity of type '{0}' to a collection in which the same entity already exists." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type '{0}' does not implement the INotifyPropertyChanged interface." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type contains a collection property of type '{0}' that does not implement the INotifyCollectionChanged interface." - - - - - A string like "An attempt to track a complex object of type '{0}' failed because the complex object is already being tracked." - - - - - A string like "An attempt to track a collection object of type '{0}' failed because the collection object is already being tracked." - - - - - A string like "The null value from property '{0}' cannot be assigned to a type '{1}'." - - - - - A string like "An entry of type '{0}' cannot be added to a collection that contains instances of type '{1}'. This may occur when an existing entry of a different type has the same identity value or when the same entity is projected into two different types in a single query." - - - - - A string like "An entry returned by the navigation property '{0}' is null and cannot be initialized. You should check for a null value before accessing this property." - - - - - A string like "An entry that contains the data required to create an instance of type '{0}' is null and cannot be initialized. You should check for a null value before accessing this entry." - - - - - A string like "An entity of type '{0}' cannot be projected because there is already an instance of type '{1}' for '{2}'." - - - - - A string like "The expected property '{0}' could not be found while processing an entry. Check for null before accessing this property." - - - - - A string like "Property '{0}' is not an entity." - - - - - A string like "Collection property '{0}' cannot be created because the type '{1}' does not have a public parameterless constructor." - - - - - A string like "The element '{0}' is not a valid collection item. The name of the collection item element must be 'element' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is an entity type, but the type in the response payload does not represent an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is not an entity type, but the type in the response payload represents an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "Materialization of top level collection expected ICollection<>, but actual type was {0}." - - - - - A string like "The response payload is a not a valid response payload. Please make sure that the top level element is a valid Atom or JSON element or belongs to '{0}' namespace." - - - - - A string like "The response content type '{0}' is not currently supported." - - - - - A string like "Cannot materialize the results into a collection type '{0}' because it does not have a parameterless constructor." - - - - - A string like "Cannot materialize a collection of a primitives or complex without the type '{0}' being a collection." - - - - - A string like "A circular loop was detected while serializing the property '{0}'. You must make sure that loops are not present in properties that return a collection or complex type." - - - - - A string like "A circular loop was detected while serializing the complex type '{0}'. You must make sure that loops are not present in a collection or a complex type." - - - - - A string like "The operation parameter named '{0}' has a collection item of Edm type kind '{1}'. A collection item must be either a primitive type or a complex Edm type kind." - - - - - A string like "The operation parameter named '{0}' has a null collection item. The items of a collection must not be null." - - - - - A string like "The operation parameter named '{0}' was of Edm type kind '{1}'. An operation parameter must be either a primitive type, a complex type or a collection of primitive or complex types." - - - - - A string like "The parameter alias '{0}' was not present in the request URI. All parameters passed as alias must be present in the request URI." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "Not all requests in the batch had a response." - - - - - A string like "Expected an absolute, well formed http URL without a query or fragment." - - - - - A string like "You must set the BaseUri property before you perform this operation." - - - - - A string like "The Uri that is returned by the ResolveEntitySet function must be an absolute, well-formed URL with an "http" or "https" scheme name and without any query strings or fragment identifiers." - - - - - A string like "Because the requestUri is a relative Uri, you must set the BaseUri property on the DataServiceContext." - - - - - A string like "The identity value specified by either the Atom id element or the DataServiceId header must be an absolute URI." - - - - - A string like "The 'Location' header value specified in the response must be an absolute URI." - - - - - A string like "One of the link's resources failed to insert." - - - - - A string like "An error occurred for this query during batch execution. See the inner exception for details." - - - - - A string like "Expected a relative URL path without query or fragment." - - - - - A string like "Changes cannot be saved as a batch when an entity has one or more streams associated with it. Retry the SaveChanges operation without enabling the SaveChangesOptions.Batch and the SaveChangesOptions.BatchWithIndependentOperations options." - - - - - A string like "This operation requires the entity be of an Entity Type, and has at least one key property." - - - - - A string like "This operation requires the entity to be of an Entity Type, either mark its key properties, or attribute the class with DataServiceEntityAttribute" - - - - - A string like "The context is not currently tracking the entity." - - - - - A string like "The context is already tracking the entity." - - - - - A string like "The context is already tracking a different entity with the same resource Uri." - - - - - A string like "The current object did not originate the async result." - - - - - A string like "The asynchronous result has already been completed." - - - - - A string like "The operation has been canceled." - - - - - A string like "The context can not load the related collection or reference for objects in the added state." - - - - - A string like "One or both of the ends of the relationship is in the added state." - - - - - A string like "One or both of the ends of the relationship is in the deleted state." - - - - - A string like "The context is already tracking the relationship." - - - - - A string like "The sourceProperty is not a reference or collection of the target's object type." - - - - - A string like "AddLink and DeleteLink methods only work when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works if the source entity is in a non-deleted state." - - - - - A string like "SetLink method only works when the sourceProperty is not a collection." - - - - - A string like "Saving entities with the [MediaEntry] attribute is not currently supported in batch mode. Use non-batched mode instead." - - - - - A string like "Unexpected result (<= 0) from stream.Read() while reading raw data for this property." - - - - - A string like "Attempt to delete a link between two objects failed because the identity of the target object of the link depends on the source object of the link." - - - - - A string like "The ContentType value for a named stream cannot be null or an empty string." - - - - - A string like "This operation requires that the specified entity be a Media Link Entry and that the ReadStreamUri be available. However, the specified entity either is not a Media Link Entry or does not have a valid ReadStreamUri value. If the entity is a Media Link Entry, re-query the data service for this entity to obtain a valid ReadStreamUri value." - - - - - A string like "There is no edit-media link for the entity's media stream. Make sure that the edit-media link is specified for this stream." - - - - - A string like "The response should have both 'Location' and 'DataServiceId' headers or the response should not have any of these headers." - - - - - A string like "OperationParameter of type BodyOperationParameter cannot be specified when the HttpMethod is set to GET." - - - - - A string like "The Name property of an OperationParameter must be set to a non-null, non-empty string." - - - - - A string like "Multiple uri operation parameters were found with the same name. Uri operation parameter names must be unique." - - - - - A string like "Multiple body operation parameters were found with the same name. Body operation parameter names must be unique." - - - - - A string like "The HttpMethod must be GET or POST." - - - - - A string like "EndExecute overload for void service operations and actions received a non-void response from the server." - - - - - A string like "The operation parameters array contains a null element which is not allowed." - - - - - A string like "An implementation of ODataEntityMetadataBuilder is required, but a null value was returned from GetEntityMetadataBuilder." - - - - - A string like "SendingRequest is a deprecated event. If using BuildingRequest, you cannot use SendingRequest. Use SendingRequest2 instead." - - - - - A string like "The ChangeState method does not support the 'Added' state because additional information is needed for inserts. Use either AddObject or AddRelatedObject instead." - - - - - A string like "The entity's state can only be changed to 'Modified' if it is currently 'Unchanged'." - - - - - A string like "DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property must not return a null value. Please return a non-null value for this property." - - - - - A string like "SendingRequest cannot be used in combination with the DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property. Please use SendingRequest2 with DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property instead." - - - - - A string like "The ReadingEntity and WritingEntity events are only supported when using the Atom format. Use the Atom format or remove all registered handlers for these events before enabling another format." - - - - - A string like "When you call the UseJson method without a parameter, you must use the LoadServiceModel property to provide a valid IEdmModel instance." - - - - - A string like "UseJson is not supported when the MaxProtocolVersion is set to less than V3. This JSON format is only supported by OData v3 or a later version." - - - - - A string like "To use the JSON format, you must first call DataServiceContext.Format.UseJson() and supply a valid service model." - - - - - A string like "Multiple implementations of ICollection<T> is not supported." - - - - - A string like "Collection properties of a collection type are not supported." - - - - - A string like "An error occurred while processing this request." - - - - - A string like "Only a single enumeration is supported by this IEnumerable." - - - - - A string like "Error processing response stream. Element value interspersed with a comment is not supported." - - - - - A string like "Error processing response stream. The XML element contains mixed content." - - - - - A string like "Error processing response stream. Atom payload has a link, local object has a simple value." - - - - - A string like "The response to this POST request did not contain a 'location' header. That is not supported by this client." - - - - - A string like "Error processing response stream. Missing id element in the response." - - - - - A string like "An item in the collection property has a null value. Collection properties that contain items with null values are not supported." - - - - - A string like "A collection property of primitive types cannot contain an item of a complex type." - - - - - A string like "A collection property of complex types cannot contain an item of a primitive type." - - - - - A string like "Content-Type header value missing." - - - - - A string like "Media type is missing a parameter value." - - - - - A string like "Media type requires a ';' character before a parameter definition." - - - - - A string like "Media type requires a '/' character." - - - - - A string like "Media type requires a subtype definition." - - - - - A string like "Media type is unspecified." - - - - - A string like "Count value is not part of the response stream." - - - - - A string like "The top level link is only available after the response has been enumerated." - - - - - A string like "The collection is not part of the current entry" - - - - - A string like "This response does not contain any nested collections. Use null as Key instead." - - - - - A string like "GetStream method is not supported." - - - - - A string like "Empty string." - - - - - A string like "Empty array." - - - - - A string like "Array contains a null element." - - - - - A string like "An operation between an expression and a type is not supported." - - - - - A string like "The conditional expression is not supported." - - - - - A string like "The parameter expression is not supported." - - - - - A string like "Lambda Expressions not supported." - - - - - A string like "New Expressions not supported." - - - - - A string like "Member Init Expressions not supported." - - - - - A string like "List Init Expressions not supported." - - - - - A string like "New Array Expressions not supported." - - - - - A string like "Invocation Expressions not supported." - - - - - A string like "Can only specify query options (orderby, where, take, skip) after last navigation." - - - - - A string like "Expand query option not allowed." - - - - - A string like "Individual properties can only be selected from a single resource or as part of a type. Specify a key predicate to restrict the entity set to a single instance or project the property into a named or anonymous type." - - - - - A string like "Multiple key predicates cannot be specified for the same entity set." - - - - - A string like "Custom query option not allowed." - - - - - A string like "Cannot specify query options (orderby, where, take, skip, count) on single resource." - - - - - A string like "Cannot add count option to the resource set." - - - - - A string like "Cannot add count option to the resource set because it would conflict with existing count options." - - - - - A string like "Can only specify 'select' query option after last navigation." - - - - - A string like "Cannot translate multiple Linq Select operations in a single 'select' query option." - - - - - A string like "Construction of entity type instances must use object initializer with default constructor." - - - - - A string like "Referencing of local entity type instances not supported when projecting results." - - - - - A string like "Can only project the last entity type in the query being translated." - - - - - A string like "Cannot create projection while there is an explicit expansion specified on the same query." - - - - - A string like "The target type for an OfType filter could not be determined." - - - - - A string like "Non-redundant type filters (OfType<T>, C# 'as' and VB 'TryCast') can only be used once per resource set." - - - - - A string like "The expression 'TypeAs' is not supported when MaxProtocolVersion is less than '3.0'." - - - - - A string like "The '$format' query option is not supported. Use the DataServiceContext.Format property to set the desired format." - - - - - A string like "DataServiceKey attribute must specify at least one property name." - - - - - A string like "Target collection for the Load operation must have an associated DataServiceContext." - - - - - A string like "The tracking of DataServiceCollection can not be stopped for child collections." - - - - - A string like "This operation is only supported on collections that are being tracked." - - - - - A string like "The DataServiceContext to which the DataServiceCollection instance belongs could not be determined. The DataServiceContext must either be supplied in the DataServiceCollection constructor or be used to create the DataServiceQuery or QueryOperationResponse object that is the source of the items in the DataServiceCollection." - - - - - A string like "An item could not be added to the collection. When items in a DataServiceCollection are tracked by the DataServiceContext, new items cannot be added before items have been loaded into the collection." - - - - - A string like "A previous LoadAsync operation has not yet completed. You cannot call the LoadAsync method on the DataServiceCollection again until the previous operation has completed." - - - - - A string like "The LoadAsync method cannot be called when the DataServiceCollection is not a child collection of a related entity." - - - - - A string like "Only a typed DataServiceQuery object can be supplied when calling the LoadAsync method on DataServiceCollection." - - - - - A string like "Add/Update/Delete operation cannot be performed on a child entity, if the parent entity is already detached." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but none was found." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but more than one was found." - - - - - A string like "Expected an Atom feed or entry in the response from the server, but found an unexpected element instead." - - - - - A string like "A DataServiceCollection can only contain entity types. Primitive and complex types cannot be contained by this kind of collection." - - - - - A string like "Reset should never be called for collection reader in an internal enumerable." - - - - - A string like "This target framework does not enable you to directly enumerate over a data service query. This is because enumeration automatically sends a synchronous request to the data service. Because this framework only supports asynchronous operations, you must instead call the BeginExecute and EndExecute methods to obtain a query result that supports enumeration." - - - - - A string like "Only instances of HttpWebRequest are currently allowed for this property. Other subtypes of WebRequest are not supported." - - - - - A string like "Failed to get the count value from the server." - - - - - A string like "Execute overload for void service operations and actions received a non-void response from the server." - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Extensions.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Extensions.dll deleted file mode 100644 index 0f9a5c957..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Extensions.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.dll deleted file mode 100644 index 2e2a315de..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.pdb b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.pdb deleted file mode 100644 index c4d183d00..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.xml deleted file mode 100644 index 66bd781e8..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.Protocol.Extensions.xml +++ /dev/null @@ -1,1701 +0,0 @@ - - - - Microsoft.IdentityModel.Protocol.Extensions - - - - - base class for authentication protocol messages. - - - - - Initializes a default instance of the class. - - - - - Initializes an instance of class with a specific issuerAddress. - - - - - Builds a form post using the current IssuerAddress and the parameters that have been set. - - html with head set to 'Title', body containing a hiden from with action = IssuerAddress. - - - - Builds a Url using the current IssuerAddress and the parameters that have been set. - - UrlEncoded string. - Each parameter <Key, Value> is first transformed using . - - - - Returns a parameter. - - The parameter name. - The value of the parameter or null if the parameter does not exists. - parameter is null - - - - Removes a parameter. - - The parameter name. - if 'parameter' is null or empty. - - - - Sets a parameter to the Parameters Dictionary. - - The parameter name. - The value to be assigned to parameter. - if 'parameterName' is null or empty. - If null is passed as value and a parameter exists, that parameter is removed. - - - - Sets a collection parameters. - - - - - - Gets or sets the issuer address. - - The 'value' is null. - - - - Gets the message parameters as a Dictionary. - - - - - Gets or sets the title used when constructing the post string. - - if the 'value' is null. - - - - Gets or sets the script button text used when constructing the post string. - - if the 'value' is null. - - - - Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled. - - if the 'value' is null. - - - - This type is for users that want a fixed and static Configuration. - In this case, the configuration is obtained and passed to the constructor. - - must be a class. - - - - Interface that defines a model for retrieving configuration data. - - must be class - - - - Retrieve the current configuration, refreshing and/or caching as needed. - This should throw if the configuration cannot be retrieved, instead of returning null. - - - - - - - Indicate that the configuration may be stale (as indicated by failing to process incoming tokens). - - - - - Initializes an new instance of with a Configuration instance. - - Configuration of type or . - - - - Obtains an updated version of Configuration. - - . - Configuration of type T. - - - - For the this type, this is a no-op - - - - - Interface that defines a document retriever that returns the document as a string. - - - - - Obtains a document from an address. - - location of document. - . - document as a string. - - - - Represents a Json Web Key as defined in http://tools.ietf.org/html/draft-ietf-jose-json-web-key-25. - - - - - Initializes an new instance of . - - - - - Initializes an new instance of from a json string. - - a string that contains JSON Web Key parameters in JSON format. - - - - Creates an instance of . - - that contains JSON Web Key parameters. - - - - Gets or sets the 'alg' (KeyType). - - - - - Gets or sets the E 'e' - - - - - Gets or sets the 'key_ops' (Key Operations). - - - - - Gets or sets the 'kid' (Key ID). - - - - - Gets or sets the 'kty' (Key Type). - - - - - Gets or sets the modulus 'n' - - - - - Gets the 'x5c' collection (X.509 Certificate Chain). - - - - - Gets or sets the 'k5t' (X.509 Certificate SHA-1 thumbprint). - - - - - Gets or sets the 'x5u' (X.509 URL). - - - - - Gets or sets the 'use' (Public Key Use). - - - - - Manages the retrieval of Configuration data. - - must be a class. - - - - 5 days is the default time interval that afterwards, will obtain new configuration. - - - - - 30 seconds is the default time interval that must pass for to obtain a new configuration. - - - - - 5 minutes is the minimum value for automatic refresh. can not be set less than this value. - - - - - 1 second is the minimum time interval that must pass for to obtain new configuration. - - - - - Instantiaties a new that manages automatic and controls refreshing on configuration data. - - the address to obtain configuration. - - - - Instantiaties a new that manages automatic and controls refreshing on configuration data. - - the address to obtain configuration. - the client to use when obtaining configuration. - - - - Instantiaties a new that manages automatic and controls refreshing on configuration data. - - the address to obtain configuration. - the that reaches out to obtain the configuration. - - - - Gets the current that is used to obtain configuration. - - Configuration of type T. - - - - Obtains an updated version of Configuration. - - Configuration of type T. - If the time since the last call is less than then is not called and the current Configuration is returned. - - - - Obtains an updated version of Configuration. - - CancellationToken - Configuration of type T. - If the time since the last call is less than then is not called and the current Configuration is returned. - - - - Requests that then next call to obtain new configuration. - if the last refresh was greater than then the next call to will retrieve new configuration. - if == then this method is essentially an no-op. - - - - - Gets or sets the that controls how often an automatic metadata refresh should occur. - - - - - The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested. - - - - - Retrieves a populated given an address. - - - - - Retrieves a populated given an address. - - address of the discovery document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the discovery document. - the to use to read the discovery document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the discovery document. - the to use to read the discovery document - . - A populated instance. - - - - Contains a collection of that can be populated from a json string. - - provides support for http://tools.ietf.org/html/draft-ietf-jose-json-web-key-27#section-5 - - - - Initializes an new instance of . - - - - - Initializes an new instance of from a json string. - - a json string containing values. - if 'json' is null or whitespace. - - - - Creates an instance of . - - a dictionary containing a 'Keys' element which is a Dictionary of JsonWebKeys. - if 'dictionary' is null. - - - - Gets the Keys translated to . - - A for each 'X5c' that is composed from a single certificate. A NamedKeySecurityToken for each raw rsa public key. - - - - Gets the . - - - - - Defines a set of properties names - - - - - Property defined for 'check_session_iframe'. - - - - - Property defined for 'session state' - - - - - Well known endpoints for AzureActiveDirectory - - - - - Names for Json Web Key Values - - - - - Constants for JsonWebKeyUse (sec 4.2) - http://tools.ietf.org/html/draft-ietf-jose-json-web-key-27#section-4 - - - - - Constants for JsonWebAlgorithms "kty" Key Type (sec 6.1) - http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-27#section-6.1 - - - - - Parameter names for OpenIdConnect. - - - - - RequestTypes for OpenIdConnect. - - Can be used to determine the message type. - - - - Response modes for OpenIdConnect. - - - - - Response types for OpenIdConnect. - - - - - Specific scope values that are interesting to OpenID Connect. See http://openid.net/specs/openid-connect-messages-1_0.html#scopes - - - - - OpenIdProviderConfiguration Names - http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata - - - - - Provides access to common OpenIdConnect request parameters. - - - - - Initializes a new instance of the class. - - - - - Initializes an instance of class with a specific issuerAddress. - - - - - Initializes a new instance of the class. - - an to copy. - if 'other' is null. - - - - Initializes a new instance of the class. - - Collection of key value pairs. - - - - Initializes a new instance of the class. - - Enumeration of key value pairs. - - - - Returns a new instance of with values copied from this object. - - A new object copied from this object - This is a shallow Clone. - - - - Creates an OpenIdConnect message using the current contents of this . - - The uri to use for a redirect. - - - - Creates a query string using the using the current contents of this . - - The uri to use for a redirect. - - - - Gets or sets the value for the AuthorizationEndpoint - - - - - Gets or sets 'access_Token'. - - - - - Gets or sets 'acr_values'. - - - - - Gets or sets 'claims_Locales'. - - - - - Gets or sets 'client_assertion'. - - - - - Gets or sets 'client_assertion_type'. - - - - - Gets or sets 'client_id'. - - - - - Gets or sets 'client_secret'. - - - - - Gets or sets 'code'. - - - - - Gets or sets 'display'. - - - - - Gets or sets 'domain_hint'. - - - - - Gets or sets 'error'. - - - - - Gets or sets 'error_description'. - - - - - Gets or sets 'error_uri'. - - - - - Gets or sets 'expires_in'. - - - - - Gets or sets 'grant_type'. - - - - - Gets or sets 'id_token'. - - - - - Gets or sets 'id_token_hint'. - - - - - Gets or sets 'identity_provider'. - - - - - Gets or sets 'iss'. - - - - - Gets or sets 'login_hint'. - - - - - Gets or sets 'max_age'. - - - - - Gets or sets 'nonce'. - - - - - Gets or sets 'password'. - - - - - Gets or sets 'post_logout_redirect_uri'. - - - - - Gets or sets 'prompt'. - - - - - Gets or sets 'redirect_uri'. - - - - - Gets or set the request type for this message - - This is helpful when sending differnt messages through a common routine, when extra parameters need to be set or checked. - - - - Gets or sets 'request_uri'. - - - - - Gets or sets 'response_mode'. - - - - - Gets or sets 'response_type'. - - - - - Gets or sets 'resource' - - - - - Gets or sets 'scope'. - - - - - Gets or sets 'session_state'. - - - - - Gets or sets 'state'. - - - - - Gets or sets 'target_link_uri'. - - - - - Gets or sets 'token'. - - - - - Gets or sets the value for the token endpoint. - - - - - Gets or sets 'token_type'. - - - - - Gets or sets 'ui_locales'. - - - - - Gets or sets 'user_id'. - - - - - Gets or sets 'username'. - - - - - Contains OpenIdConnect configuration that can be populated from a json string. - - - - - Initializes an new instance of . - - - - - Initializes an new instance of from a json string. - - a json string containing the metadata - if 'json' is null or whitespace. - - - - Initializes an new instance of from an string. - - a json containing the configuration data. - if 'dictionary' is null. - - - - Gets or sets the authorization endpoint. - - - - - Gets or sets the check_session_iframe. - - - - - Gets or sets the end session endpoint. - - - - - Gets the collection of 'id_token_signing_alg_values_supported'. - - - - - Gets or sets the 'issuer'. - - - - - Gets or sets the 'jwks_uri' - - - - - Gets or sets the - - - - - Gets the collection of 'response_types_supported'. - - - - - Gets the that the IdentityProvider indicates are to be used signing tokens. - - - - - Gets the that the IdentityProvider indicates are to be used signing tokens. - - - - - Gets the collection of 'subject_types_supported'. - - - - - Gets or sets the 'token_endpoint'. - - - - - Gets or sets the 'user_info_endpoint'. - - - - - This exception is thrown when an OpenIdConnect protocol handler encounters a protocol error. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when an OpenIdConnect protocol handler encounters an invalid chash. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when an OpenIdConnect protocol handler encounters an invalid nonce. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - A context that is used by a when validating a JwtSecurityToken. - to ensure it compliant with http://openid.net/specs/openid-connect-core-1_0.html#IDToken . - - - - - Creates an instance of - - - - - Gets or sets the 'authorizationcode'. - - - - - Gets or sets the 'nonce' - - - - - OpenIdConnectProtocolValidator can be used to ensure that a that was - obtained using openidconnect is compliant with http://openid.net/specs/openid-connect-core-1_0.html#IDToken . - - - - - Default for the how long the nonce is valid. - - default: 1 hour. - - - - Creates a new instance of , - - - - - Generates a value suitable to use as a nonce. - - a nonce - if is true then the 'nonce' will contain the Epoch time as the prefix, seperated by a '.'. - for example: 635410359229176103.MjQxMzU0ODUtMTdiNi00NzAwLWE4MjYtNTE4NGExYmMxNTNlZmRkOGU4NjctZjQ5OS00MWIyLTljNTEtMjg3NmM0NzI4ZTc5 - - - - Validates that a is valid as per http://openid.net/specs/openid-connect-core-1_0.html - - the to validate. - the that contains expected values. - if 'jwt' is null. - if 'validationContext' is null. - if the is missing any required claims as per: http://openid.net/specs/openid-connect-core-1_0.html#IDToken - and will be validated if they are non-null. - - - - Validates the 'authorizationCode' according to http://openid.net/specs/openid-connect-core-1_0.html section 3.3.2.10. - - a with a 'c_hash' claim that must match . If is null, the check is not made. - a that contains 'c_hash' to validate. - if 'jwt' is null. - if 'validationContext' is null. - if the 'c_hash' claim does not match as per http://openid.net/specs/openid-connect-core-1_0.html#CodeValidation . - if the hash algorithm defined in (default is JwtAlgorithms.RSA_SHA256) was unable to be created. - if the creation of the hash algorithm return a null instance. - if is null, then the 'c_hash' will not be validated. - - - - Validates that the contains the nonce. - - a with a 'nonce' claim that must match . - a that contains the 'nonce' to validate. - if 'jwt' is null. - if 'validationContext' is null. - if a'nonce' is not found in the and RequireNonce is true. - if is null and RequireNonce is true. - if the 'nonce' found in the doesn't match . - if is true and a timestamp is not: found, well formed, negatire or expired. - The timestamp is only validated if is true. - If is not-null, then a matching 'nonce' must exist in the . - - - - Gets the algorithm mapping between OpenIdConnect and .Net for Hash algorithms. - a that contains mappings from the JWT namespace http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26 to .Net. - - - - - Gets or set the defining how long a nonce is valid. - - if 'value' is less than or equal to 'TimeSpan.Zero'. - if is true, then the nonce timestamp is bound by DateTime.UtcNow + NonceLifetime. - - - - Gets or sets a value indicating if an 'acr' claim is required. - - - - - Gets or sets a value indicating if an 'amr' claim is required. - - - - - Gets or sets a value indicating if an 'auth_time' claim is required. - - - - - Gets or sets a value indicating if an 'azp' claim is required. - - - - - Get or sets if a nonce is required. - - - - - Gets or sets a value indicating if a 'sub' claim is required. - - - - - Gets or set logic to control if a nonce is prefixed with a timestamp. - - if is true then: - will return a 'nonce' with the Epoch time as the prefix, delimited with a '.'. - will require that the 'nonce' has a valid time as the prefix. - - - - - Constants related to SAML Tokens. - - - - - A derived that implements ISecurityTokenValidator, - which supports validating tokens passed as strings using . - - - - - - Initializes a new instance of . - - - - - Gets the token type identifier(s) supported by this handler. - - A collection of strings that identify the tokens this instance can handle. - - - - Reads the string as XML and looks for the an element or with namespace . - - The securitytoken. - (, ) - OR (, ). - - - - Creates the security token reference when the token is not attached to the message. - - The saml token. - Boolean that indicates if a attached or unattached - reference needs to be created. - A . - - - - Creates a from the Saml2 token. - - The Saml2SecurityToken. - the issuer value for each in the . - contains parameters for validating the token. - An IClaimIdentity. - - - - Creates a based on a information contained in the . - - The that has creation information. - A instance. - Thrown if 'tokenDescriptor' is null. - - - - Not supported, use when processing tokens. - - use . when processing tokens. - - - - Obsolete method, use to read a . - - not supported. - use use to read a . - - - - Obsolete method, use to read a . - - not supported. - use use to read a . - - - - Reads a SAML 2.0 token from the XmlReader. - - A reader positioned at a element. - Contains data and information needed for reading the token. - if 'reader' is null. - if 'validationParameters' is null. - An instance of a . - - - - Obsolete method, use . - - use . - - - - Reads and validates a well fromed Saml2 token. - - A Saml2 token. - Contains data and information needed for validation. - The that was validated. - 'securityToken' is null or whitespace. - 'validationParameters' is null. - 'securityToken.Length' > . - A generated from the claims in the Saml2 securityToken. - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - see for additional details. - - - - Validates the lifetime of a . - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - for additional details. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the (s) in the . - for additional details. - - - - Validates the was signed by a valid . - - The that signed the . - The to validate. - the current . - - - - Serializes to to a string. - - A . - - - - Serializes to XML a token of the type handled by this instance. - - The XML writer. - A token of type . - - - - Gets the token type supported by this handler. - - - - - Gets a value indicating whether this handler supports validation of tokens - handled by this instance. - v - 'True' if the instance is capable of SecurityToken - validation. - - - - Gets a value indicating whether the class provides serialization functionality to serialize the token handled - by this instance. - - true if the WriteToken method can serialize this token. - - - - Gets and sets the maximum size in bytes, that a will be processed. - - 'value' less than 1. - - - - A derived that implements ISecurityTokenValidator, - which supports validating tokens passed as strings using . - - - - - - Initializes an instance of - - - - - Reads the string as XML and looks for the an element with namespace . - - The securitytoken. - (, ). - - - - Creates claims from a Saml securityToken. - - A that will be used to create the claims. - the issuer value for each in the ./// - contains parameters for validating the securityToken. - A containing the claims from the . - - - - Creates a based on a information contained in the . - - The that has creation information. - A instance. - Thrown if 'tokenDescriptor' is null. - - - - Creates the security securityToken reference when the securityToken is not attached to the message. - - The saml securityToken. - Boolean that indicates if a attached or unattached - reference needs to be created. - A . - - - - Gets the token type identifier(s) supported by this handler. - - A collection of strings that identify the tokens this instance can handle. - - - - Not supported, use when processing tokens. - - use . when processing tokens. - - - - Obsolete method, use to read a . - - not supported. - use use to read a . - - - - Obsolete method, use to read a . - - no supported. - use use to read a . - - - - Reads a SAML 11 securityToken from the XmlReader. - - A reader positioned at a element. - Contains data and information needed for reading the securityToken. - An instance of a . - - - - Obsolete method, use . - - use . - - - - Reads and validates a well formed . - - A string containing a well formed securityToken. - Contains data and information needed for validation. - The that was validated. - 'securityToken' is null or whitespace. - 'validationParameters' is null. - 'securityToken.Length' > . - A generated from the claims in the Saml securityToken. - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - see for additional details. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the (s) in the . - for additional details. - - - - Validates the was signed by a valid . - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - for additional details. - - - - Validates the was signed by a valid . - - The that signed the . - The to validate. - the current . - - - - Serializes to to a string. - - A . - - - - Serializes to XML a securityToken of the type handled by this instance. - - The XML writer. - A securityToken of type . - - - - Gets a value indicating whether this handler supports validation of tokens - handled by this instance. - v - 'True' if the instance is capable of SecurityToken - validation. - - - - Gets a value indicating whether the class provides serialization functionality to serialize securityToken handled - by this instance. - - true if the WriteToken method can serialize this securityToken. - - - - Gets the securityToken type supported by this handler. - - - - - Gets and sets the maximum size in bytes, that a will be processed. - - 'value' less than 1. - - - - Resolves securitykeys, used when working with Saml1 and Saml2 tokens as the EnvelopingSignatureReader needs this - to find keys. - - - - - Creates a new instance of - - related security token. - required for validation. - - - - Returns a that matches the - - clause to match. - key to assign. - true if matched. - - - - Sets a that matches the - - clause to match. - token to assign. - throws . - - - - Sets a that matches the - - keyidentifier to match. - token to set. - true if matched. - - - - Extensions to that provide support for validating a security token - passed as a string and using . - - - - - Validates a securityToken passed as a string using - - uses extensions for (s) that can - validate from a string. - securityToken to validate. - that contain necessary validation coordinates. - a validated . - 'tokenHandlers' is null. - 'securityToken' is null. - 'validationParameters' is null. - A that represents the identity created when validating the securityToken. - - - - Gets the default supported by this runtime. - - A collection of - - - - Serializes the list of strings into string as follows: - 'str1','str2','str3' ... - - - The strings used to build a comma delimited string. - - - The single . - - - - - Constants for WsFederation actions. - - - - - Constants defined for WsFederation. - - - - - Constants for WsFederation Fault codes. - - - - - Defines the WsFederation Constants - - - - - Provides access to common WsFederation message parameters. - - - - - Creates a from the contents of a query string. - - query string to extract parameters. - An instance of . - If 'queryString' is null or whitespace, a default is returned. Parameters are parsed from . - - - - Creates a from the contents of a . - - uri string to extract parameters. - An instance of . - .IssuerAddress is NOT set/>. Parameters are parsed from . - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The endpoint of the token issuer. - - - - Initializes a new instance of the class. - - message to copy. - - - - Initializes a new instance of the class. - - Enumeration of key value pairs. - - - - Creates a 'wsignin1.0' message using the current contents of this . - - The uri to use for a redirect. - - - - Creates a 'wsignout1.0' message using the current contents of this . - - The uri to use for a redirect. - - - - Reads the 'wresult' and returns the embeded security token. - - the 'SecurityToken'. - - - - Gets a boolean representating if the is a 'sign-in-message'. - - - - - Gets a boolean representating if the is a 'sign-out-message'. - - - - - Gets or sets 'wa'. - - - - - Gets or sets 'wattr'. - - - - - Gets or sets 'wattrptr'. - - - - - Gets or sets 'wauth'. - - - - - Gets or sets 'Wct'. - - - - - Gets or sets 'wa'. - - - - - Gets or sets 'Wencoding'. - - - - - Gets or sets 'wfed'. - - - - - Gets or sets 'wfresh'. - - - - - Gets or sets 'whr'. - - - - - Gets or sets 'wp'. - - - - - Gets or sets 'wpseudo'. - - - - - Gets or sets 'wpseudoptr'. - - - - - Gets or sets 'wreply'. - - - - - Gets or sets 'wreq'. - - - - - Gets or sets 'wreqptr'. - - - - - Gets or sets 'wres'. - - - - - Gets or sets 'wresult'. - - - - - Gets or sets 'wresultptr'. - - - - - Gets or sets 'wtrealm'. - - - - - Contains WsFederation metadata that can be populated from a xml string. - - - - - Initializes an new instance of . - - - - - Gets or sets the token issuer. - - - - - Gets the that the IdentityProvider indicates are to be used signing tokens. - - - - - Gets or sets the Gets or sets the passive token endpoint. - - - - - Retrieves a populated given an address. - - - - - Retrieves a populated given an address. - - address of the metadata document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the metadata document. - the to use to read the metadata document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the metadata document. - the to use to read the metadata document - . - A populated instance. - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.dll deleted file mode 100644 index 5c1c2056d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.IdentityModel.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.Client.Policy.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.Client.Policy.dll deleted file mode 100644 index dada07e74..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.Client.Policy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.Client.TranslationServices.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.Client.TranslationServices.dll deleted file mode 100644 index 749ac5ecb..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.Client.TranslationServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.SharePoint.Tools.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.SharePoint.Tools.dll deleted file mode 100644 index 9415da09b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Office.SharePoint.Tools.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Online.SharePoint.Client.Tenant.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Online.SharePoint.Client.Tenant.dll deleted file mode 100644 index 45eca9c20..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Online.SharePoint.Client.Tenant.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.ProjectServer.Client.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.ProjectServer.Client.dll deleted file mode 100644 index a67f54961..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.ProjectServer.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Rest.ClientRuntime.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Rest.ClientRuntime.dll deleted file mode 100644 index 2c52c0212..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Rest.ClientRuntime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Rest.ClientRuntime.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Rest.ClientRuntime.xml deleted file mode 100644 index a832ada49..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.Rest.ClientRuntime.xml +++ /dev/null @@ -1,1897 +0,0 @@ - - - - Microsoft.Rest.ClientRuntime - - - - - Basic Auth credentials for use with a REST Service Client. - - - - - Basic auth UserName. - - - - - Basic auth password. - - - - - Add the Basic Authentication Header to each outgoing request - - The outgoing request - A token to cancel the operation - - - - - Certificate based credentials for use with a REST Service Client. - - - - - The Microsoft Azure Service Management API use mutual authentication - of management certificates over SSL to ensure that a request made - to the service is secure. No anonymous requests are allowed. - - - - - Initializes a new instance of the - class with the given 'Bearer' token. - - - - - Initialize a ServiceClient instance to process credentials. - - Type of ServiceClient. - The ServiceClient. - - This will add a certificate to the shared root WebRequestHandler in - the ServiceClient's HttpClient handler pipeline. - - - - - Extensions for manipulating HTTP request and response objects. - - - - - Formats an HttpContent object as String. - - The HttpContent to format. - The formatted string. - - - - Get the content headers of an HtttRequestMessage. - - The request message. - The content headers. - - - - Get the content headers of an HttpResponseMessage. - - The response message. - The content headers. - - - - Returns string representation of a HttpRequestMessage. - - Request object to format. - The string, formatted into curly braces. - - - - Returns string representation of a HttpResponseMessage. - - Response object to format. - The string, formatted into curly braces. - - - - Converts given dictionary into a log string. - - The dictionary key type. - The dictionary value type. - The dictionary object. - The string, formatted into curly braces. - - - - Serializes HttpHeaders as Json dictionary. - - HttpHeaders - Json string - - - - Serializes HttpResponseHeaders and HttpContentHeaders as Json dictionary. - - HttpResponseMessage - Json string - - - - Exception thrown for an invalid response with custom error information. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Gets or sets the response object. - - - - - Initializes a new instance of the HttpOperationException class. - - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - Inner exception. - - - - Initializes a new instance of the HttpOperationException class. - - Serialization info. - Streaming context. - - - - Serializes content of the exception. - - Serialization info. - Streaming context. - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations with response body. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations with a header response. - - - - - - Gets or sets the response header object. - - - - - Represents the base return type of all ServiceClient REST operations with response body and header. - - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response header object. - - - - - The IServiceClientTracingInterceptor provides useful information about cloud - operations. Interception is global and a tracing interceptor can be - added via TracingAdapter.AddTracingInterceptor. - - - - - Probe configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Enter a method. - - Method invocation identifier. - The instance with the method. - Name of the method. - Method parameters. - - - - Exit a method. Note: Exit will not be called in the event of an - error. - - Method invocation identifier. - Method return value. - - - - Trace information. - - The information to trace. - - - - Receive an HTTP response. - - Method invocation identifier. - The response instance. - - - - Send an HTTP request. - - Method invocation identifier. - The request about to be sent. - - - - Raise an error. - - Method invocation identifier. - The error. - - - - Interface used to group operations of a ServiceClient. - - Type of the ServiceClient. - - - - Gets a reference to the ServiceClient. - - - - - Interface to a source of access tokens. - - - - - Gets the authentication header with token. - - - - - Generic exception for Microsoft Rest Client. - - - - - Initializes a new instance of the RestException class. - - - - - Initializes a new instance of the RestException class. - - The exception message. - - - - Initializes a new instance of the RestException class. - - The exception message. - Inner exception. - - - - Initializes a new instance of the RestException class. - - Serialization info. - Streaming context. - - - - Http retry handler. - - - - - Initializes a new instance of the class. - Sets default retry policty base on Exponential Backoff. - - - - - Initializes a new instance of the class. Sets - the default retry policty base on Exponential Backoff. - - Inner http handler. - - - - Initializes a new instance of the class. - - Retry policy to use. - Inner http handler. - - - - Gets or sets retry policy. - - - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous - operation. Retries request if needed based on Retry Policy. - - The HTTP request message to send to the server. - A cancellation token to cancel operation. - Returns System.Threading.Tasks.Task<TResult>. The - task object representing the asynchronous operation. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - ServiceClient is the abstraction for accessing REST operations and their payload data types.. - - Type of the ServiceClient. - - - - Indicates whether the ServiceClient has been disposed. - - - - - Reference to the first HTTP handler (which is the start of send HTTP - pipeline). - - - - - Reference to the innermost HTTP handler (which is the end of send HTTP - pipeline). - - - - - Initializes a new instance of the ServiceClient class. - - - - - Initializes a new instance of the ServiceClient class. - - List of handlers from top to bottom (outer handler is the first in the list) - - - - Initializes ServiceClient using base HttpClientHandler and list of handlers. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Create a new instance of the root handler. - - HttpClientHandler created. - - - - Gets the HttpClient used for making HTTP requests. - - - - - Gets the UserAgent collection which can be augmented with custom - user agent strings. - - - - - Get the HTTP pipelines for the given service client. - - The client's HTTP pipeline. - - - - Sets retry policy for the client. - - Retry policy to set. - - - - Dispose the ServiceClient. - - - - - Dispose the HttpClient and Handlers. - - True to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - - Initializes HttpClient using HttpClientHandler. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Get the assembly version of a service client. - - The assembly version of the client. - - - - ServiceClientCredentials is the abstraction for credentials used by ServiceClients accessing REST services. - - - - - Initialize a ServiceClient instance for accessing REST APIs with these credentials. - - Type of ServiceClient. - The ServiceClient. - - - - Apply the credentials to the HTTP request. - - The HTTP request message. - Cancellation token. - - Task that will complete when processing has finished. - - - - - Provides a set of methods and properties that help you trace the serviceclient. - - - - - The collection of tracing interceptors to notify. - - - - - A read-only, thread-safe collection of tracing interceptors. Since - List is only thread-safe for reads (and adding/removing tracing - interceptors isn't a very common operation), we simply replace the - entire collection of interceptors so any enumeration of the list - in progress on a different thread will not be affected by the - change. - - - - - Lock used to synchronize mutation of the tracing interceptors. - - - - - The invocation identifier. - - - - - Gets or sets a value indicating whether tracing is enabled. - Tracing can be disabled for performance. - - - - - Gets a sequence of the tracing interceptors to notify of changes. - - - - - Get the next invocation identifier. - - - - - Add a tracing interceptor to be notified of changes. - - The tracing interceptor. - - - - Remove a tracing interceptor from change notifications. - - The tracing interceptor. - True if the tracing interceptor was found and removed; false otherwise. - - - - Write the informational tracing message. - - The msessage to trace. - An object array containing zero or more objects to format - - - - Represents the tracing configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Specifies the tracing information. - - The message to trace. - - - - Represents the tracing entry. - - - The tracing instance. - The tracing method. - Method parameters. - - - - Sends a tracing request. - - The invocation identifier. - The request about to be sent. - - - - Receives a tracing response. - - The invocation identifier. - The response message instance. - - - - Represents the tracing error. - - The invocation identifier. - The tracing exception. - - - - Abandons the tracing method. - - The invocation identifier. - Method return result. - - - - A simple token provider that always provides a static access token. - - - - - Create a token provider for the given token type that returns the given - access token. - - The access token to return. - The token type of the given access token. - - - - Gets the token type of this access token. - - - - - Returns the static access token. - - The cancellation token for this action. - This will not be used since the returned token is static. - The access token. - - - - Token based credentials for use with a REST Service Client. - - - - - The bearer token type, as serialized in an http Authentication header. - - - - - Gets or sets secure token used to authenticate against Microsoft Azure API. - No anonymous requests are allowed. - - - - - Initializes a new instance of the - class with the given 'Bearer' token. - - Valid JSON Web Token (JWT). - - - - Initializes a new instance of the - class with the given token and token type. - - Valid JSON Web Token (JWT). - The token type of the given token. - - - - Create an access token credentials object, given an interface to a token source. - - The source of tokens for these credentials. - - - - Apply the credentials to the HTTP request. - - The HTTP request. - Cancellation token. - - Task that will complete when processing has completed. - - - - - Static conversion utility methods. - - - - - Converts a string to a UTF8-encoded string. - - The string of base-64 digits to convert. - The UTF8-encoded string. - - - - Uses Uri.TryCreate to parse a string as a relative or absolute Uri. - - The string to parse. - Uri or null. - - - - Validation exception for Microsoft Rest Client. - - - - - Gets validation rule. - - - - - Gets validation target. - - - - - Gets validation details. - - - - - Initializes a new instance of the ValidationException class. - - - - - Initializes a new instance of the ValidationException class. - - Exception message. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - Validation details. - - - - Initializes a new instance of the ValidationException class. - - The exception message. - Inner exception. - - - - Initializes a new instance of the ValidationException class. - - Serialization info. - Streaming context. - - - - Serializes content of the exception. - - Serialization info. - Streaming context. - - - - Defines set of validation rules. - - - - - 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 specified argument {0} cannot be greater than its ceiling value of {1}.. - - - - - Looks up a localized string similar to The specified argument {0} cannot be initialized with a negative value.. - - - - - Looks up a localized string similar to Received unexpected Http response status code {0}. - - - - - Looks up a localized string similar to Default retry strategy for technology {0}, named '{1}', is not defined.. - - - - - Looks up a localized string similar to Default retry strategy for technology {0} was not not defined, and there is no overall default strategy.. - - - - - Looks up a localized string similar to Retry handler is not present in the HttpClient handler stack.. - - - - - Looks up a localized string similar to The RetryManager is already set.. - - - - - Looks up a localized string similar to The default RetryManager has not been set. Set it by invoking the RetryManager.SetDefault static method, or if you are using declarative configuration, you can invoke the RetryPolicyFactory.CreateDefault() method to automatically create the retry manager from the configuration file.. - - - - - Looks up a localized string similar to The error detection strategy type must implement the ITransientErrorDetectionStrategy interface.. - - - - - Looks up a localized string similar to Response status code indicates server error: {0} ({1}).. - - - - - Looks up a localized string similar to The retry strategy with name '{0}' cannot be found.. - - - - - Looks up a localized string similar to The specified string argument {0} must not be empty.. - - - - - Looks up a localized string similar to The specified argument '{0}' cannot return a null task when invoked.. - - - - - Looks up a localized string similar to The specified argument '{0}' must return a scheduled task (also known as "hot" task) when invoked.. - - - - - Looks up a localized string similar to You must specify a token provider or raw access token before using token credentials.. - - - - - Looks up a localized string similar to cannot be null. - - - - - Looks up a localized string similar to cannot have value other than. - - - - - Looks up a localized string similar to is equal or exceeds maximum value of. - - - - - Looks up a localized string similar to is less than or equal minimum value of. - - - - - Looks up a localized string similar to exceeds maximum value of. - - - - - Looks up a localized string similar to exceeds maximum item count of. - - - - - Looks up a localized string similar to exceeds maximum length of. - - - - - Looks up a localized string similar to is less than minimum value of. - - - - - Looks up a localized string similar to contains less items than. - - - - - Looks up a localized string similar to is less than minimum length of. - - - - - Looks up a localized string similar to has to be multiple of. - - - - - Looks up a localized string similar to does not match expected pattern. - - - - - Looks up a localized string similar to collection contains duplicate items. - - - - - Looks up a localized string similar to The service client '{0}' did not contain an implementation of '{1}'.. - - - - - JsonConverter that handles serialization for dates in yyyy-MM-dd format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - JsonConverter that handles serialization for dates in RFC1123 format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - Converter used to convert timespan to ISO8601 format - - - - - Writes the specified object to JSON. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Reads the JSON token. - - The JSON reader. - The object type. - The existing value of object being read. - The JSON serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - true if this instance can convert the specified object type; otherwise, false. - - - - Helper class for JsonConverters. - - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - If specified filters JsonProperties to be serialized. - - - - JsonConverter that handles deserialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicDeserializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns false. - - - - - Returns true if the object being deserialized is the base type. False otherwise. - - The type of the object to check. - True if the object being deserialized is the base type. False otherwise. - - - - Reads a JSON field and deserializes into an appropriate object based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Throws NotSupportedException. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Base JSON converter for polymorphic objects. - - - - - Discriminator property name. - - - - - Returns type that matches specified name. - - Base type. - Derived type name - - - - - JsonConverter that handles serialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicSerializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns true if the object being serialized is assignable from the base type. False otherwise. - - The type of the object to check. - True if the object being serialized is assignable from the base type. False otherwise. - - - - Returns false. - - - - - Throws NotSupportedException. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Serializes an object into a JSON string based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - JSON contract resolver that ignores read-only properties during serialization. - - - - - Creates a JsonProperty for the given MemberInfo. - - The member to create a JsonProperty for. - The member's parent MemberSerialization. - A created JsonProperty for the given MemberInfo. - - - - Provides an alternative to JSON.NET's JsonConvert that does not inherit any settings from - JsonConvert.DefaultSettings. - - - - - Deserializes the given JSON into an instance of type T. - - The type to which to deserialize. - The JSON to deserialize. - JsonSerializerSettings to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Deserializes the given JSON into an instance of type T using the given JsonConverters. - - The type to which to deserialize. - The JSON to deserialize. - A collection of JsonConverters to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Serializes the given object into JSON. - - The object to serialize. - JsonSerializerSettings to control serialization. - A string containing the JSON representation of the given object. - - - - Serializes the given object into JSON using the given JsonConverters. - - The object to serialize. - A collection of JsonConverters to control serialization. - A string containing the JSON representation of the given object. - - - - Handles the execution and retries of the user-initiated task. - - The result type of the user-initiated task. - - - - Provides a wrapper for a non-generic and calls into the pipeline - to retry only the generic version of the . - - - - - Wraps the non-generic into a generic . - - The task to wrap. - A that wraps the non-generic . - - - - A retry strategy with backoff parameters for calculating the exponential delay between retries. - - - - - Represents the default amount of time used when calculating a random delta in the exponential - delay between retries. - - - - - Represents the default maximum amount of time used when calculating the exponential - delay between retries. - - - - - Represents the default minimum amount of time used when calculating the exponential - delay between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified - retry settings. - - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name and - retry settings. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name, - retry settings, and fast retry option. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Represents a retry strategy with a specified number of retry attempts and a default, fixed - time interval between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the - specified number of retry attempts. - - The number of retry attempts. - - - - Initializes a new instance of the class with the - specified number of retry attempts and time interval. - - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, and retry strategy. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Implements the common guard methods. - - - - - Checks an argument to ensure that it isn't null. - - The argument value to check. - The name of the argument. - The return value should be ignored. It is intended to be used only when validating arguments during instance creation (for example, when calling the base constructor). - - - - Checks an argument to ensure that its 32-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its 64-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline. - - The value of the argument. - The ceiling value of the argument. - The name of the argument for diagnostic purposes. - - - - Inherits HttpRequestException adding HttpStatusCode to the exception. - - - - - 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. - - - - Http status code. - - - - - Default Http error detection strategy based on Http Status Code. - - - - - Returns true if status code in HttpRequestExceptionWithStatus exception is greater - than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). - - Exception to check against. - True if exception is transient otherwise false. - - - - A retry strategy with a specified number of retry attempts and an incremental time - interval between retries. - - - - - Represents the default time increment between retry attempts in the progressive delay policy. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified retry settings. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified name and retry settings. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts, - time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Defines an interface that must be implemented by custom components responsible for - detecting specific transient conditions. - - - - - Determines whether the specified exception represents a transient failure that - can be compensated by a retry. - - The exception object to be verified. - true if the specified exception is considered as transient; otherwise, - false. - - - - Defines a retry condition. - - - - Is retry allowed. - The delay that indicates how long the current thread will be suspended before. - the next iteration is invoked. - - - - Gets or sets the retry interval value for retry. - - - - - Gets or sets a value indicating whether retry attempt is allowed. - - - - - Contains information that is required for the event. - - - - - Initializes a new instance of the class. - - The current retry attempt count. - The delay that indicates how long the current thread will be - suspended before the next iteration is invoked. - The exception that caused the retry conditions to occur. - - - - Gets the current retry count. - - - - - Gets the delay that indicates how long the current thread will be suspended before the - next iteration is invoked. - - - - - Gets the exception that caused the retry conditions to occur. - - - - - Provides the entry point to the retry functionality. - - - - - Initializes a new instance of the class. - - The complete set of retry strategies. - - - - Initializes a new instance of the class with the specified retry - strategies and default retry strategy name. - - The complete set of retry strategies. - The default retry strategy. - - - - Initializes a new instance of the class with the specified retry - strategies and defaults. - - The complete set of retry strategies. - The default retry strategy. - The names of the default strategies for different technologies. - - - - Gets the default for the application. - - - - - Gets or sets the default retry strategy name. - - - - - Sets the specified retry manager as the default retry manager. - Will throw an exception if the manager is already set. - - The retry manager. - - - - Sets the specified retry manager as the default retry manager. - - The retry manager. - true to throw an exception if the manager is already set; otherwise, false. - - - - Returns a retry policy with the specified error detection strategy and the default retry strategy - defined in the configuration. - - The type that implements the - interface that is responsible for detecting transient conditions. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns a retry policy with the specified error detection strategy and retry strategy. - - The type that implements the - interface that is responsible for detecting transient conditions. - The retry strategy name, as defined in the configuration. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns the default retry strategy defined in the configuration. - - The retry strategy that matches the default strategy. - - - - Returns the retry strategy that matches the specified name. - - The retry strategy name. - The retry strategy that matches the specified name. - - - - Returns the retry strategy for the specified technology. - - The technology to get the default retry strategy for. - The retry strategy for the specified technology. - - - - Provides the base implementation of the retry mechanism for unreliable actions and - transient conditions. - - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is - responsible for detecting transient conditions. - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of retry - attempts and default fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of retry - attempts and fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts - and backoff parameters for calculating the exponential delay between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is responsible for - detecting transient conditions. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - Gets the retry strategy. - - - - - Gets the instance of the error detection strategy. - - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - A delegate that represents the executable action that doesn't return any results. - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - The type of result expected from the executable action. - A delegate that represents the executable action that returns the result of - type . - The result from the action. - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not cancel - the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception - must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not - cancel the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must - be observed. - - - - - Notifies the subscribers whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - The delay that indicates how long the current thread will be suspended before - the next iteration is invoked. - - - - Provides a generic version of the class. - - The type that implements the - interface that is responsible for detecting transient conditions. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of - retry attempts and the default fixed time interval between retries. - - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of - retry attempts and a fixed time interval between retries. - - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and backoff parameters for calculating the exponential delay between retries. - - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the - exponential delay between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay - between retries. - - - - Defines a callback delegate that will be invoked whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - A retry condition instance - - - - Represents a retry strategy that determines the number of retry attempts and the interval - between retries. - - - - - Represents the default number of retry attempts. - - - - - Represents the default interval between retries. - - - - - Represents the default flag indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Initializes a new instance of the class. - - The name of the retry strategy. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Gets or sets a value indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Gets the name of the retry strategy. - - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Retry strategy that ignores any transient errors. - - - - - Always returns false. - - The exception. - Always false. - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.DocumentManagement.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.DocumentManagement.dll deleted file mode 100644 index 57e5ebd81..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.DocumentManagement.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Publishing.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Publishing.dll deleted file mode 100644 index 3fef05124..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Publishing.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Runtime.Windows.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Runtime.Windows.dll deleted file mode 100644 index a240094dd..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Runtime.Windows.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Runtime.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Runtime.dll deleted file mode 100644 index 3734a07c8..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Runtime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Search.Applications.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Search.Applications.dll deleted file mode 100644 index 46a8ae108..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Search.Applications.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Search.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Search.dll deleted file mode 100644 index 4cae0594b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Search.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Taxonomy.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Taxonomy.dll deleted file mode 100644 index dac8abf0b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.Taxonomy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.UserProfiles.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.UserProfiles.dll deleted file mode 100644 index 8ac3b33f1..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.UserProfiles.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.WorkflowServices.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.WorkflowServices.dll deleted file mode 100644 index c7ec4d608..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.WorkflowServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.dll deleted file mode 100644 index 2d9544c10..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.SharePoint.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Configuration.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Configuration.dll deleted file mode 100644 index 66f467058..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Configuration.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Configuration.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Configuration.xml deleted file mode 100644 index 181a64c8c..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Configuration.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - Microsoft.WindowsAzure.Configuration - - - - - Configuration manager for accessing Microsoft Azure settings. - - - - - Gets a setting with the given name. - - Setting name. - Setting value or null if not found. - - - - Gets a setting with the given name. Trace results. - - This overloaded function is kept for backward compabability. - Setting name. - Setting value or null if not found. - - - - Gets application settings. - - - - - 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 "{0}" cannot be an empty string.. - - - - - Microsoft Azure settings. - - - - - Initializes global application settings (such as writing to the Trace singleton) - - - - - Initializes the settings. - - - - - Checks whether the given exception represents an exception throws - for a missing setting. - - Exception - True for the missing setting exception. - - - - Gets a setting with the given name. - - Setting name. - Setting value or null if such setting does not exist. - - - - Gets setting's value from the given provider. - - Provider name. - Setting name - Method to obtain given setting. - Setting value, or null if not found. - - - - Gets a configuration setting from the service runtime. - - Setting name. - Setting value or null if not found. - - - - Loads and returns the latest available version of the service - runtime assembly. - - Loaded assembly, if any. - - - - Writes to trace output if WriteToTrace is true - - The message to write to Trace - - - - Gets an assembly path from the GAC given a partial name. - - An assembly partial name. May not be null. - - The assembly path if found; otherwise null; - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.dll deleted file mode 100644 index 716b68813..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.pdb b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.pdb deleted file mode 100644 index e32b90d44..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.xml deleted file mode 100644 index 6561f3a2f..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Microsoft.WindowsAzure.Storage.xml +++ /dev/null @@ -1,36609 +0,0 @@ - - - - Microsoft.WindowsAzure.Storage - - - - - Represents the status of an asynchronous operation and provides support for cancellation. - - - - - Cancels the asynchronous operation. - - - - - Represents an entity in a storage analytics capacity table. - - - - - Represents the base object type for a table entity in the Table service. - - provides a base implementation for the interface that provides and methods that by default serialize and - deserialize all properties via reflection. A table entity class may extend this class and override the and methods to provide customized or better performing serialization logic. - - - - An interface required for table entity types. The interface declares getter and setter methods for the mandatory entity properties, and - and methods for serialization and de-serialization of all entity properties using a property dictionary. Create classes implementing to customize property - storage, retrieval, serialization and de-serialization, and to provide additional custom logic for a table entity. - - The storage client library includes two implementations of that provide for simple property access and serialization: - implements and provides a simple property dictionary to store and retrieve properties. Use a for simple access - to entity properties when only a subset of properties are returned (for example, by a select clause in a query), or for scenarios where your query can return multiple entity types - with different properties. You can also use this type to perform bulk table updates of heterogeneous entities without losing property information. - is an implementation of that uses reflection-based serialization and de-serialization behavior in its and methods. - -derived classes with methods that follow a convention for types and naming are serialized and deserialized automatically. -derived classes must also provide a get-able and set-able public - property of a type that is supported by the Windows Azure Table service. - - - - Populates the entity's properties from the data values in the dictionary. - - The dictionary of string property names to data values to deserialize and store in this table entity instance. - An object that represents the context for the current operation. - - - - Serializes the of property names mapped to data values from the entity instance. - - An object that represents the context for the current operation. - An object of property names to data typed values created by serializing this table entity instance. - - - - Gets or sets the entity's partition key. - - The entity's partition key. - - - - Gets or sets the entity's row key. - - The entity's row key. - - - - Gets or sets the entity's timestamp. - - The entity's timestamp. The property is populated by the Windows Azure Table Service. - - - - Gets or sets the entity's current ETag. Set this value to '*' - in order to blindly overwrite an entity as part of an update - operation. - - The entity's timestamp. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified partition key and row key. - - A string containing the partition key of the to be initialized. - A string containing the row key of the to be initialized. - - - - Deserializes the entity using the specified that maps property names to typed values. - - An object that maps property names to typed values. - An object that represents the context for the current operation. - - - - Deserializes a custom entity instance using the specified of property names to data typed values. - - The custom entity instance being deserialized. - An object that maps string property names to data values to deserialize and store in this table entity instance. - An object that represents the context for the current operation. - - - - Serializes the of property names mapped to data values from this instance. - - An object that represents the context for the current operation. - An object that maps string property names to typed values created by serializing this table entity instance. - - - - Create a of objects for all the properties of the specified entity object. - - The entity object to serialize. - An object that represents the context for the current operation. - An of objects for all the properties of the specified entity object. - - - - Determines if the given property should be skipped based on its name, if it exposes a public getter and setter, and if the IgnoreAttribute is not defined. - - The PropertyInfo of the property to check - An object that represents the context for the current operation. - True if the property should be skipped, false otherwise. - - - - Compiles a ReadAction for the given type - - The type to compile for - A ReadAction that deserializes the given entity type. - - - - Compiles a WriteFunc for the given type - - The type to compile for - A WriteFunc that serializes the given entity type. - - - - Generates a Conditional Expression that will retrieve the given entity value by type and set it into the current property. - - The entity type - The property to deserialize into - An Expression that represents the entity instance - An Expression that represents the current EntityProperty expression - - - - - Gets the EntityProperty from the dictionary, or returns null. Similar to IDictionary.TryGetValue with logging support. - - The key value - The Dictionary instance - The operationContext to log to. - - - - - Gets or sets the entity's partition key. - - A string containing the partition key for the entity. - - - - Gets or sets the entity's row key. - - A string containing the row key for the entity. - - - - Gets or sets the entity's timestamp. - - A containing the timestamp of the entity. - - - - Gets or sets the entity's ETag. Set this value to '*' in order to force an overwrite to an entity as part of an update operation. - - A string containing the ETag value for the entity. - - - - Disables the ability to dynamically generate read and write lambdas at runtime. Setting this to false will clear out the static cache shared across all type instances that derive from TableEntity. - - - - - This entities compiled Write Func - - - - - This entities compiled Read Action - - - - - Gets or sets the status of the property resolver cache for the . - - - The property resolver cache caches known entity types and their respective property resolver dictionaries when entities are deserialized - and the payload does not include JSON metadata. For most scenarios, disabling the property resolver cache is not recommended due to its - effect on performance. - - - - - Initializes a new instance of the class. - - - - - Gets the capacity entity's timestamp in UTC, representing the start time for that log entry. - - A string containing a timestamp in UTC. - - - - Gets or sets the Capacity property for capacity entity, which indicates the quantity of Blob storage used by the storage account. - - A long containing the quantity of Blob storage used by the storage account, per this capacity entity. - - - - Gets or sets the ContainerCount property for the capacity entity, which indicates the number of blob containers in the storage account. - - A long containing the number of blob containers in the storage account, per this capacity entity. - - - - Gets or sets the ObjectCount property for the capacity entity, which indicates the number of committed and uncommitted blobs in the storage account. - - A long containing the number of committed and uncommitted blobs in the storage account, per this capacity entity. - - - - Provides a client-side logical representation for Microsoft Azure Storage Analytics. - This client is used to configure and execute requests against storage analytics. - - The analytics service client encapsulates the endpoints for the Blob and Table services. It also encapsulates - credentials for accessing the storage account. - - - - Initializes a new instance of the class using the specified Blob and Table service endpoints - and account credentials. - - A object containing the Blob service endpoint to use to create the client. - A object containing the Table service endpoint to use to create the client. - A object. - - - - Gets a object containing the logs for the specified storage service. - - A enumeration value. - A object. - - - - Gets the hourly metrics table for the specified storage service. - - A enumeration value. - A object. - - - - Gets the hourly metrics table for the specified storage service. - - A enumeration value. - A enumeration value. - A object. - - - - Gets the minute metrics table for the specified storage service. - - A enumeration value. - A object. - - - - Gets the minute metrics table for the specified storage service. - - A enumeration value. - A enumeration value. - A object. - - - - Gets the capacity metrics table for the Blob service. - - A object. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - A enumeration value that indicates the types of logging operations on which to filter the log blobs. - A enumeration value that indicates whether or not blob metadata should be returned. Only None and Metadata are valid values. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - Note that specifying a logging operation type for the parameter will return any Analytics log blob that contains the specified logging operation, - even if that log blob also includes other types of logging operations. Also note that the only currently supported values for the - parameter are None and Metadata. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - A object representing the start time for which logs should be retrieved. - A object representing the end time for which logs should be retrieved. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - A object representing the start of the time range for which logs should be retrieved. - A object representing the end of the time range for which logs should be retrieved. - A enumeration value that indicates the types of logging operations on which to filter the log blobs. - A enumeration value that indicates whether or not blob metadata should be returned. Only None and Metadata are valid values. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - Note that specifying a logging operation type for the parameter will return any Analytics log blob that contains the specified logging operation, - even if that log blob also includes other types of logging operations. Also note that the only currently supported values for the - parameter are None and Metadata. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - A object representing the start of the time range for which logs should be retrieved. - A object representing the end of the time range for which logs should be retrieved. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - A object representing the start of the time range for which logs should be retrieved. - A object representing the end of the time range for which logs should be retrieved. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - An enumerable collection of objects from which to parse log records. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - The object from which to parse log records. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - The object from which to parse log records. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Creates a object for querying the Blob service capacity table. - - A object. - This method is applicable only to Blob service. - - - - Creates a object for querying an hourly metrics log table. - - A enumeration value. - A enumeration value. - A object. - - - - Creates a object for querying a minute metrics log table. - - A enumeration value. - A enumeration value. - A object. - - - - Represents a Storage Analytics log entry. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on a object. - The object to use to populate the log record. - - - - - The version of Storage Analytics Logging used to record the entry. - - A containing the version number. - - - - The time at which the request was received by the service, in UTC format. - - A specifying the request start time. - - - - The type of REST operation performed. - - A specifying the operation type. - - - - The status of the requested operation. - - A indicating the request status. - - - - The HTTP status code for the request. If the request is interrupted, this value may be set to Unknown. - - A containing the HTTP status code. - - - - The total time in milliseconds to perform the requested operation, including the time required to read the - incoming request and send the response to the requester. - - A indicating the end-to-end latency for the operation. - - - - The total time in milliseconds to perform the requested operation. This value does not include network - latency (the time required to read the incoming request and send the response to the requester). - - A indicating the server latency for the operation. - - - - Indicates whether the request was authenticated via Shared Key or a Shared Access Signature (SAS), or was anonymous. - - A indicating the authentication scheme. - - - - The name of the storage account from which the request originated, if the request is authenticated via Shared Key. - This field is null for anonymous requests and requests made via a shared access signature (SAS). - - A specifying the name of the storage account. - - - - The account name of the service owner. - - A specifying the name of the storage account. - - - - The storage service against which the request was made: blob, table, or queue. - - A indicating against which service the request was made. - - - - The complete URL of the request. - - A object. - - - - The key of the requested object, as an encoded string. This field will always use the account name, - even if a custom domain name has been configured. - - A object. - - - - The request ID assigned by the storage service. This is equivalent to the value of the x-ms-request-id header. - - A containing the request ID. - - - - The number of operations logged for a request, starting at index zero. Some requests require more than - one operation, such as Copy Blob, though most perform just one operation. - - An integer containing the operation count. - - - - The IP address of the requester, including the port number. - - - - - The storage service version specified when the request was made. This is equivalent to the value of the x-ms-version header. - - A containing the request version header. - - - - The size of the request header, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the request header size. - - - - The size of the request packets read by the storage service, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the request packet size. - - - - The size of the response header, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the size of the response header in bytes. - - - - The size of the response packets written by the storage service, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the packet size of the response header, in bytes. - - - - The value of the Content-Length header for the request sent to the storage service. If the request was successful, - this value is equal to request-packet-size. If a request is unsuccessful, this value may not be equal to - request-packet-size, or it may be null. - - A long containing the request content length, in bytes. - - - - The value of either the Content-MD5 header or the x-ms-content-md5 header in the request as an encoded string. - The MD5 hash value specified in this field represents the content in the request. This field can be null. - - A containing the request MD5 value. - - - - The value of the MD5 hash calculated by the storage service, as an encoded string. - - A containing the server MD5 hash. - - - - The ETag identifier for the returned object as an encoded string. - - A containing the ETag for the resource. - - - - The Last Modified Time (LMT) for the returned object as an encoded string. This field is null for operations that return multiple objects. - - A specifying the last modified time. - - - - A semicolon-separated list, in the form of ConditionName=value, as an encoded string. - - A containing the conditions used for the request. - - - - The User-Agent header value as an encoded string. - - A containing the value of the User-Agent header. - - - - The Referrer header value as an encoded string. - - A containing the value of the Referrer header. - - - - The value of the x-ms-client-request-id header, included in the request as an encoded string. - - A containing the client request ID. - - - - Reads log record information from a stream. - - - - - A delimiter that exists between fields in a log. - - - - - A delimiter that exists between logs. - - - - - The quote character. - - - - - Initializes a new instance of the class using the specified stream and buffer size. - - The object to read from. - An integer indicating the size of the buffer. - - - - Checks whether another field exists in the record. - - A boolean value indicating whether another field exists. - - - - Reads a string from the stream. - - The string value read from the stream. - - - - Reads a quoted string from the stream. - - The quote string value read from the stream. - - - - Ends the current record by reading the record delimiter and adjusting internal state. - - The caller is expected to know when the record ends. - - - - Reads a bool from the stream. - - The boolean value read from the stream. - - - - Reads a value in a specific format from the stream. - - A string representing the DateTime format to use when parsing. - The value read. - - - - Reads a value, represented as a number of milliseconds, from the stream. - - The value read from the stream. - - - - Reads a double from the stream. - - The double value read from the stream. - - - Reads a GUID value from the stream. - The value read from the stream. - - - Reads an integer value from the stream. - The integer value read from the stream. - - - Reads a long value from the stream. - The long value read from the stream. - - - - Read a Uri from the stream. - - The object read from the stream. - - - - Dispose this LogRecordStreamReader. - - - - - Dispose this LogRecordStreamReader - - - - - - Indicates whether this is the end of the file. - - - - - Checks the position of the stream. - - A long containing the current position of the stream. - - - - Represents an entity in a storage analytics metrics table. - - - - - Initializes a new instance of the class. - - - - - Gets the metrics entity's timestamp in UTC, representing the start time for that log entry. - - A string containing the timestamp in UTC. - - - - Gets the AccessType property for the metrics entity, indicating the type of access logged. - - A string containing the access type for the metrics entity. - - - - Gets the TransactionType property for the metrics entity, indicating the type of transaction logged. - - A string containing the transaction type for the metrics entity. - - - - Gets or sets the TotalIngress property for the metrics entity, indicating the quantity of ingress data, in bytes. - - A long containing the quantity of ingress data, in bytes, for the metrics entity. - - - - Gets or sets the TotalEgress property for the metrics entity, indicating the quantity of egress data, in bytes. - - A long containing the quantity of egress data, in bytes, for the metrics entity. - - - - Gets or sets the TotalRequests property for the metrics entity, indicating the total number of requests. - - A long containing the number of total requests for the metrics entity. - - - - Gets or sets the TotalBillableRequests property for the metrics entity, indicating the total number of billable requests. - - A long containing the total number of billable requests for the metrics entity. - - - - Gets or sets the Availability property for the metrics entity, indicating the percentage of availability. - - A double containing the percentage of availability for the metrics entity. - - - - Gets or sets the AverageE2ELatency property for the metrics entity, indicating the average end-to-end latency of successful requests. - - A double containing the average end-to-end latency of successful requests for the metrics entity. - - - - Gets or sets the AverageServerLatency property for the metrics entity, indicating the average latency for the service to process - a successful request. - - A double containing the average latency for the service to process a successful request for the metrics entity. - - - - Gets or sets the PercentSuccess property for the metrics entity, indicating the percentage of successful requests. - - A double containing the percentage of successful requests for the metrics entity. - - - - Gets or sets the PercentThrottlingError property for the metrics entity, indicating the percentage of requests that failed with a throttling error. - - A double containing the percentage of requests that failed with a throttling error for the metrics entity. - - - - Gets or sets the PercentTimeoutError property for the metrics entity, indicating the percentage of requests that failed with a timeout error. - - A double containing the percentage of requests that failed with a timeout error for the metrics entity. - - - - Gets or sets the PercentServerOtherError property for the metrics entity, indicating the percentage of requests that failed with a ServerOtherError. - - A double containing the percentage of requests that failed with a ServerOtherError for the metrics entity. - - - - Gets or sets the PercentClientOtherError property for the metrics entity, indicating the percentage of requests that failed with a ClientOtherError. - - A double containing the percentage of requests that failed with a ClientOtherError for the metrics entity. - - - - Gets or sets the PercentAuthorizationError property for the metrics entity, indicating the percentage of requests that failed with an AuthorizationError. - - A double containing the percentage of requests that failed with an AuthorizationError for the metrics entity. - - - - Gets or sets the PercentNetworkError property for the metrics entity, indicating the percentage of requests that failed with a NetworkError. - - A double containing the percentage of requests that failed with a NetworkError for the metrics entity. - - - - Gets or sets the Success property for the metrics entity, indicating the number of successful requests. - - A long containing the number of successful requests for the metrics entity. - - - - Gets or sets the AnonymousSuccess property for the metrics entity, indicating the number of successful anonymous requests. - - A long containing the number of successful anonymous requests for the metrics entity. - - - - Gets or sets the SASSuccess property for the metrics entity, indicating the number of successful SAS requests. - - A long containing the number of successful SAS requests for the metrics entity. - - - - Gets or sets the ThrottlingError property for the metrics entity, indicating the number of authenticated requests that returned a ThrottlingError. - - A long containing the number of authenticated requests that returned a ThrottlingError for the metrics entity. - - - - Gets or sets the AnonymousThrottlingError property for the metrics entity, indicating the number of anonymous requests that returned a ThrottlingError. - - A long containing the number of anonymous requests that returned a ThrottlingError for the metrics entity. - - - - Gets or sets the SASThrottlingError property for the metrics entity, indicating the number of SAS requests that returned a ThrottlingError. - - A long containing the number of SAS requests that returned a ThrottlingError for the metrics entity. - - - - Gets or sets the ClientTimeoutError property for the metrics entity, indicating the number of authenticated requests that returned a ClientTimeoutError. - - A long containing the number of authenticated requests that returned a ClientTimeoutError for the metrics entity. - - - - Gets or sets the AnonymousClientTimeoutError property for the metrics entity, indicating the number of anonymous requests that returned a ClientTimeoutError. - - A long containing the number of anonymous requests that returned a ClientTimeoutError for the metrics entity. - - - - Gets or sets the SASClientTimeoutError property for the metrics entity, indicating the number of SAS requests that returned a ClientTimeoutError. - - A long containing the number of SAS requests that returned a ClientTimeoutError for the metrics entity. - - - - Gets or sets the ServerTimeoutError property for the metrics entity, indicating the number of authenticated requests that returned a ServerTimeoutError. - - A long containing the number of authenticated requests that returned a ServerTimeoutError for the metrics entity. - - - - Gets or sets the AnonymousServerTimeoutError property for the metrics entity, indicating the number of anonymous requests that returned a ServerTimeoutError. - - A long containing the number of anonymous requests that returned a ServerTimeoutError for the metrics entity. - - - - Gets or sets the SASServerTimeoutError property for the metrics entity, indicating the number of SAS requests that returned a ServerTimeoutError. - - A long containing the number of SAS requests that returned a ServerTimeoutError for the metrics entity. - - - - Gets or sets the ClientOtherError property for the metrics entity, indicating the number of authenticated requests that returned a ClientOtherError. - - A long containing the number of authenticated requests that returned a ClientOtherError for the metrics entity. - - - - Gets or sets the SASClientOtherError property for the metrics entity, indicating the number of SAS requests that returned a ClientOtherError. - - A long containing the number of SAS requests that returned a ClientOtherError for the metrics entity. - - - - Gets or sets the AnonymousClientOtherError property for the metrics entity, indicating the number of anonymous requests that returned an ClientOtherError. - - A long containing the number of anonymous requests that returned a ClientOtherError for the metrics entity. - - - - Gets or sets the ServerOtherError property for the metrics entity, indicating the number of authenticated requests that returned a ServerOtherError. - - A long containing the number of authenticated requests that returned a ServerOtherError for the metrics entity. - - - - Gets or sets the AnonymousServerOtherError property for the metrics entity, indicating the number of anonymous requests that returned a ServerOtherError. - - A long containing the number of anonymous requests that returned a ServerOtherError for the metrics entity. - - - - Gets or sets the SASServerOtherError property for the metrics entity, indicating the number of SAS requests that returned a ServerOtherError. - - A long containing the number of SAS requests that returned a ServerOtherError for the metrics entity. - - - - Gets or sets the AuthorizationError property for the metrics entity, indicating the number of authenticated requests that returned an AuthorizationError. - - A long containing the number of authenticated requests that returned an AuthorizationError for the metrics entity. - - - - Gets or sets the AnonymousAuthorizationError property for the metrics entity, indicating the number of anonymous requests that returned an AuthorizationError. - - A long containing the number of anonymous requests that returned an AuthorizationError for the metrics entity. - - - - Gets or sets the SASAuthorizationError property for the metrics entity, indicating the number of SAS requests that returned an AuthorizationError. - - A long containing the number of SAS requests that returned an AuthorizationError for the metrics entity. - - - - Gets or sets the NetworkError property for the metrics entity, indicating the number of authenticated requests that returned a NetworkError. - - A long containing the number of authenticated requests that returned a NetworkError for the metrics entity. - - - - Gets or sets the AnonymousNetworkError property for the metrics entity, indicating the number of anonymous requests that returned a NetworkError. - - A long containing the number of anonymous requests that returned a NetworkError for the metrics entity. - - - - Gets or sets the SASNetworkError property for the metrics entity, indicating the number of SAS requests that returned a NetworkError. - - A long containing the number of SAS requests that returned a NetworkError for the metrics entity. - - - - Represents a handler that signs HTTP requests. - - - - - Signs the specified HTTP request so it can be authenticated by the Windows Azure storage services. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a handler that signs HTTP requests with no authentication information. - - - - - Initializes a new instance of the class. - - - - - Signs the specified HTTP request with no authentication information. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a handler that signs HTTP requests with a shared key. - - - - - Initializes a new instance of the class. - - A canonicalizer that converts HTTP request data into a standard form appropriate for signing. - A object providing credentials for the request. - The name of the storage account that the HTTP request will access. - - - - Signs the specified HTTP request with a shared key. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a handler that signs HTTP requests with a shared key. - - - - - Initializes a new instance of the class. - - A canonicalizer that converts HTTP request data into a standard form appropriate for signing. - A object providing credentials for the request. - The name of the storage account that the HTTP request will access. - - - - Signs the specified HTTP request with a shared key. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a stream for writing to a blob. - - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying blob, and commits the blob. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Initializes a new instance of the BlobWriteStream class for a block blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The ICryptoTransform function for the request. - - - - Initializes a new instance of the BlobWriteStream class for a page blob. - - Blob reference to write to. - Size of the page blob. - Use true if the page blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The ICryptoTransform function for the request. - - - - Initializes a new instance of the BlobWriteStream class for an append blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The ICryptoTransform function for the request. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - Not used. - Not used. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Begins an asynchronous write operation. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Waits for the pending asynchronous write to complete. - - The reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying blob. - - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying blob, and commits the blob. This should be the last operation - on the stream. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets the length in bytes of the stream. - - - - - Gets or sets the position within the current stream. - - - - - Represents an encryption policy for performing envelope encryption/decryption of Azure blobs. - - - - - Initializes a new instance of the class with the specified key and resolver. - - An object of type that is used to wrap/unwrap the content key during encryption. - The key resolver used to select the correct key for decrypting existing blobs. - If the generated policy is to be used for encryption, users are expected to provide a key at the minimum. - The absence of key will cause an exception to be thrown during encryption.
- If the generated policy is intended to be used for decryption, users can provide a key resolver. The client library will:
- 1. Invoke the key resolver, if specified, to get the key.
- 2. If resolver is not specified but a key is specified, the client library will match the key ID against the key and use the key.
-
- - - Return a reference to a object, given a user stream. This method is used for decrypting blobs. - - The output stream provided by the user. - A reference to a dictionary containing blob metadata that includes the encryption data. - The function for the request. - A boolean value to indicate whether the data read from the server should be encrypted. - The iv to use if pre-buffered. Used only for range reads. - Value indicating if the padding mode should be set or not. - A reference to a that will be written to. - - - - Internal helper method to wrap a user provided stream with the appropriate crypto stream. - - - - - Set up the encryption context required for encrypting blobs. - - Reference to blob metadata object that is used to set the encryption materials. - Value indicating if the padding mode should be set or not. - - - - Gets and sets the blob encryption mode. - - A enum value. - - - - An object of type that is used to wrap/unwrap the content key during encryption. - - - - - Gets or sets the key resolver used to select the correct key for decrypting existing blobs. - - A resolver that returns an , given a key ID. - - - - Initializes a new instance of the BlobReadStreamBase class. - - Blob reference to read from - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - Seeking in a BlobReadStream disables MD5 validation. - - - - This operation is not supported in BlobReadStreamBase. - - Not used. - - - - This operation is not supported in BlobReadStreamBase. - - Not used. - Not used. - Not used. - - - - This operation is a no-op in BlobReadStreamBase. - - - - - Read as much as we can from the internal buffer - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Calculates the number of bytes to read from the blob. - - Number of bytes to read. - - - - Updates the blob MD5 with newly downloaded content. - - The buffer to read the data from. - The byte offset in buffer at which to begin reading data. - The maximum number of bytes to read. - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets or sets the position within the current stream. - - - - - Gets the length in bytes of the stream. - - The length in bytes of the stream. - - - - Initializes a new instance of the BlobReadStream class. - - Blob reference to read from - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Reads a sequence of bytes from the current stream and advances the - position within the stream by the number of bytes read. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Begins an asynchronous read operation. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Dispatches an async read operation that either reads from the cache or makes a call to - the server. - - The reference to the pending asynchronous request to finish. - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Dispatches a sync read operation that either reads from the cache or makes a call to - the server. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Initializes a new instance of the BlobWriteStreamBase class. - - The service client. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStreamBase class for a block blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStreamBase class for a page blob. - - Blob reference to write to. - Size of the page blob. - Use true if the page blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStreamBase class for an append blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - Not used. - Not used. - - - - Calculates the new position within the current stream for a Seek operation. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - - - - Generates a new block ID to be used for PutBlock. - - Base64 encoded block ID - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets the length in bytes of the stream. - - - - - Gets or sets the position within the current stream. - - - - - Initializes a new instance of the BlobWriteStream class for a block blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStream class for a page blob. - - Blob reference to write to. - Size of the page blob. - Use true if the page blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStream class for an append blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Begins an asynchronous write operation. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Waits for the pending asynchronous write to complete. - - The reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying blob. - - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when noPendingWritesEvent is signalled indicating that there are no outstanding write requests. - - An object containing information to be used by the callback method each time it executes. - true if the WaitHandle timed out; false if it was signaled. - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying blob, and commits the blob. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when the pending flush operation completes so that we can continue with the commit. - - The result of the asynchronous operation. - - - - Called when the block blob commit operation completes. - - The result of the asynchronous operation. - - - - Called when the page or append blob commit operation completes. - - The result of the asynchronous operation. - - - - Dispatches a write operation. - - The reference to the pending asynchronous request to finish. - - - - Starts an asynchronous PutBlock operation as soon as the parallel - operation semaphore becomes available. - - Data to be uploaded - Block ID - MD5 hash of the data to be uploaded - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous PutBlock operation completes. - - The result of the asynchronous operation. - - - - Starts an asynchronous WritePages operation as soon as the parallel - operation semaphore becomes available. - - Data to be uploaded - Offset within the page blob - MD5 hash of the data to be uploaded - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous WritePages operation completes. - - The result of the asynchronous operation. - - - - Starts an asynchronous AppendBlock operation as soon as the parallel - operation semaphore becomes available. Since parallelism is always set - to 1 for append blobs, appendblock operations are called serially. - - Data to be uploaded. - Offset within the append blob to be used to set the append offset conditional header. - MD5 hash of the data to be uploaded. - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous AppendBlock operation completes. - - The result of the asynchronous operation. - - - - This value is used mainly to provide async commit functionality(BeginCommit) to BlobEncryptedWriteStream. CryptoStream does not provide begin/end - flush. It only provides a blocking sync FlushFinalBlock call which calls the underlying stream's flush method (BlobWriteStream in this case). - By setting this to true while initiliazing the write stream, it is ensured that BlobWriteStream's Flush does not do anything and - just returns. Therefore BeginCommit first just flushes all the data from the crypto stream's buffer to the blob write stream's buffer. The client - library then sets this property to false and calls BeginCommit on the write stream and returns the async result back to the user. This time flush actually - does its work and sends the buffered data over to the service. - - - - - Represents an append blob, a type of blob where blocks of data are always committed to the end of the blob. - - - Represents an append blob, a type of blob where blocks of data are always committed to the end of the blob. - - - - - Represents a blob. - - - Represents a blob object. - - - - - Represents an item that may be returned by a blob listing operation. - - - - - Gets the URI to the blob item, at the primary location. - - The for the blob item. - - - - Gets the blob item's URIs for both the primary and secondary locations. - - An object of type containing the blob item's URIs for both the primary and secondary locations. - - - - Gets the blob item's parent virtual directory. - - A object. - - - - Gets the blob item's container. - - A object. - - - - Opens a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object to be used for reading from the blob. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Ends an asynchronous operation to open a stream for reading from the blob. - - An that references the pending asynchronous operation. - A object to be used for reading from the blob. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Downloads the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a file. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Checks existence of the blob. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob exists. - - - - Checks existence of the blob. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the blob exists. - - - - Begins an asynchronous request to check existence of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the blob. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check existence of the blob. - - An that references the pending asynchronous operation. - true if the blob exists. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Populates a blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the blob's properties and metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's properties. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob did already exist and was deleted; otherwise false. - - - - Begins an asynchronous request to delete the blob if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the blob if it already exists. - - An that references the pending asynchronous operation. - true if the blob did already exist and was deleted; otherwise, false. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Acquires a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The ID of the acquired lease. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to acquire a lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - The ID of the acquired lease. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Renews a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to renew a lease on this blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Changes the lease ID on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The new lease ID. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to change the lease on this blob. - - An that references the pending asynchronous operation. - The new lease ID. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Releases the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to release the lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Breaks the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A representing the amount of time before the lease ends, to the second. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to break the current lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - A representing the amount of time before the lease ends, to the second. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Begins an operation to start copying another blob's contents, properties, and metadata to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob. - - The of the source blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob. - - An that references the pending asynchronous operation. - A string containing the copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Aborts an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to abort an ongoing blob copy operation. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Implements getting the stream without specifying a range. - - The attributes. - The destination stream. - The offset. - The length. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that gets the stream. - - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that fetches the attributes. - - - - - Implementation for the Exists method. - - The attributes. - A object that specifies additional options for the request. - If true, the command will be executed against the primary location. - - A that checks existence. - - - - - Implementation for the SetMetadata method. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that sets the metadata. - - - - - Implementation for the SetProperties method. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that sets the properties. - - - - - Implements the DeleteBlob method. - - The attributes. - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that deletes the blob. - - - - - Generates a for acquiring a lease. - - The attributes. - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the acquire lease operation. - - - - - Generates a for renewing a lease. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the renew lease operation. - - accessCondition - - - - Generates a for changing a lease ID. - - The attributes. - The proposed new lease ID. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the change lease ID operation. - - accessCondition - - - - Generates a for releasing a lease. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the release lease operation. - - accessCondition - - - - Generates a for breaking a lease. - - The attributes. - The amount of time to allow the lease to remain, rounded down to seconds. - If null, the break period is the remainder of the current lease, or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the break lease operation. - - - - - Implementation of the StartCopy method. Result is a BlobAttributes object derived from the response headers. - - The attributes. - The URI of the source blob. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - - A that starts to copy. - - sourceAccessCondition - - - - Implementation of the AbortCopy method. No result is produced. - - The attributes. - The copy ID of the copy operation to abort. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that aborts the copy. - - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Called when the asynchronous operation to commit the blob started by UploadFromStream finishes. - - The result of the asynchronous operation. - - - - Updates this blob with the given attributes at the end of a fetch attributes operation. - - The new attributes. - The response. - if set to true, blob's MD5 will not be updated. - - - - - Retrieve ETag, LMT, Length and Sequence-Number from response. - - The attributes. - The response to parse. - If set to true, update the blob length. - - - - Converts the source blob of a copy operation to an appropriate access URI, taking Shared Access Signature credentials into account. - - The source blob. - A URI addressing the source blob, using SAS if appropriate. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A containing the absolute URI to the blob at both the primary and secondary locations. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Stores the that contains this blob. - - - - - Stores the blob's parent . - - - - - Stores the blob's attributes. - - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - - - - Gets the canonical name of the blob, formatted as blob/<account-name>/<container-name>/<blob-name>. - If ignoreSnapshotTime is false and this blob is a snapshot, the canonical name is augmented with a - query of the form ?snapshot=<snapshot-time>. - This is used by both Shared Access and Copy blob operations. - - Indicates if the snapshot time is ignored. - The canonical name of the blob. - - - - Parse URI for SAS (Shared Access Signature) and snapshot information. - - The complete Uri. - The credentials to use. - - - - Gets the object that represents the Blob service. - - A object. - - - - Gets or sets the minimum number of bytes to buffer when reading from a blob stream. - - The minimum number of bytes to buffer, being at least 16 KB. - - - - Gets the blob's system properties. - - A object. - - - - Gets the user-defined metadata for the blob. - - An object containing the blob's metadata as a collection of name-value pairs. - - - - Gets the blob's URI for the primary location. - - A specifying the absolute URI to the blob at the primary location. - - - - Gets the blob's URIs for both the primary and secondary locations. - - An object of type containing the blob's URIs for both the primary and secondary locations. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - A containing the blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets a value indicating whether this blob is a snapshot. - - true if this blob is a snapshot; otherwise, false. - - - - Gets the absolute URI to the blob, including query string information if the blob is a snapshot. - - A specifying the absolute URI to the blob, including snapshot query information if the blob is a snapshot. - - - - Gets the blob's URI for both the primary and secondary locations, including query string information if the blob is a snapshot. - - An object of type containing the blob's URIs for both the primary and secondary locations, - including snapshot query information if the blob is a snapshot. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if there is no copy state for the blob. - - - - Gets the name of the blob. - - A string containing the name of the blob. - - - - Gets a object representing the blob's container. - - A object. - - - - Gets the object representing the virtual parent directory for the blob. - - A object. - - - - Gets the type of the blob. - - A enumeration value. - - - - An interface required for Windows Azure blob types. The and classes implement the interface. - - - An interface required for Windows Azure blob types. The and classes implement the interface. - - - - - Opens a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A stream to be used for reading from the blob. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Ends an asynchronous operation to open a stream for reading from the blob. - - An that references the pending asynchronous operation. - A stream to be used for reading from the blob. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Uploads a stream to the Windows Azure Blob Service. - - The stream providing the blob content. Use a seek-able stream for optimal performance. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to the Windows Azure Blob Service. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a file to the Windows Azure Blob Service. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a file. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Checks existence of the blob. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob exists. - - - - Begins an asynchronous request to check existence of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check existence of the blob. - - An that references the pending asynchronous operation. - true if the blob exists. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Populates a blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the blob's properties and metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's properties. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob did not already exist and was created; otherwise false. - - - - Begins an asynchronous request to delete the blob if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the blob if it already exists. - - An that references the pending asynchronous operation. - true if the blob did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Acquires a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The ID of the acquired lease. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to acquire a lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - The ID of the acquired lease. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Renews a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to renew a lease on this blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Changes the lease ID on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The new lease ID. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to change the lease on this blob. - - An that references the pending asynchronous operation. - The new lease ID. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Releases the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to release the lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Breaks the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A representing the amount of time before the lease ends, to the second. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to break the current lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - A representing the amount of time before the lease ends, to the second. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Aborts an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to abort an ongoing blob copy operation. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - - - - Gets the blob's name. - - A string containing the name of the blob. - - - - Gets the object that represents the Blob service. - - A object. - - - - Gets or sets the number of bytes to buffer when writing to a page blob stream or - the block size for writing to a block blob. - - The number of bytes to buffer or the size of a block, in bytes. - - - - Gets or sets the minimum number of bytes to buffer when reading from a blob stream. - - The minimum number of bytes to buffer. - - - - Gets the blob's system properties. - - A object. - - - - Gets the user-defined metadata for the blob. - - An object containing the blob's metadata as a collection of name-value pairs. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - A containing the blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets a value indicating whether this blob is a snapshot. - - true if this blob is a snapshot; otherwise, false. - - - - Gets the absolute URI to the blob, including query string information if the blob is a snapshot. - - A specifying the absolute URI to the blob, including snapshot query information if the blob is a snapshot. - - - - Gets the blob's URI for both the primary and secondary locations, including query string information if the blob is a snapshot. - - An object of type containing the blob's URIs for both the primary and secondary locations, - including snapshot query information if the blob is a snapshot. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if there is no copy state for the blob. - - - - Gets the type of the blob. - - A enumeration value. - - - - Opens a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - - - - - Begins an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to open a stream for writing to the blob. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Uploads a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Appends a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - true if the append blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - true if the append blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to upload a stream to an append blob. - - An that references the pending asynchronous operation. - - - - Ends an asynchronous operation to append a stream to an append blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Ends an asynchronous operation to upload a file to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends the contents of a byte array to an append blob.Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Ends an asynchronous operation to upload the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append the contents of a byte array to an append blob.This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob.This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Ends an asynchronous operation to upload a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An that references the pending asynchronous operation. - - - - Begins an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Creates an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create an append blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create an append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Commits a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The offset at which the block was appended. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Ends an asynchronous operation to commit a new block of data to the end of the blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Downloads the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The contents of the blob, as a string. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the blob's contents as a string. - - An that references the pending asynchronous operation. - The contents of the blob, as a string. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Begins an operation to start copying another append blob's contents, properties, and metadata to this append blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Implements the Create method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the blob. - - - - Commits the block to the end of the blob. - - The source stream. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that commits the block to the end of the blob. - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A containing the absolute URI to the blob at both the primary and secondary locations. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Gets or sets the number of bytes to buffer when writing to an append blob stream. - - The size of a block, in bytes, ranging from between 16 KB and 4 MB inclusive. - - - - Provides a client-side logical representation of the Windows Azure Blob service. This client is used to configure and execute requests against the Blob service. - - The service client encapsulates the endpoint or endpoints for the Blob service. If the service client will be used for authenticated access, - it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure Blob service. This client is used to configure and execute requests against the Blob service. - - The service client encapsulates the endpoint or endpoints for the Blob service. If the service client will be used for authenticated access, it also encapsulates - the credentials for accessing the storage account. - - - - Returns an enumerable collection of containers whose names - begin with the specified prefix and that are retrieved lazily. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that are retrieved lazily. - - - - Returns a result segment containing a collection of objects. - - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of objects. - - A string containing the container name prefix. - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of containers whose names begin with the specified prefix. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Returns a result segment containing a collection of containers - whose names begin with the specified prefix. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A of type . - - - - Begins an asynchronous request to return a result segment containing a collection of containers. - - A object returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A object returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of containers - whose names begin with the specified prefix. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of containers. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A object returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A object returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A object returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A object returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Returns an enumerable collection of blobs in the container, retrieved lazily. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A object returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A object returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A object returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An object. - - - - Gets a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies any additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An object. - - - - Begins an asynchronous operation to get a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies any additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get a reference to a blob. - - An that references the pending asynchronous operation. - An object. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Returns a object that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - An object that specifies any additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - An object that specifies any additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Core implementation for the ListContainers method. - - The container prefix. - The details included. - The continuation token. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object that specifies additional options for the request. - A that lists the containers. - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that fetches the attributes. - - - - Begins an asynchronous operation to get service properties for the Blob service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service properties for the Blob service. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to set service properties for the Blob service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set service properties for the Blob service. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to get service stats for the secondary Blob service endpoint. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service stats for the secondary Blob service endpoint. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Stores the default delimiter. - - - - - Initializes a new instance of the class using the specified Blob service endpoint - and anonymous credentials. - - A object containing the Blob service endpoint to use to create the client. - - - - Initializes a new instance of the class using the specified Blob service endpoint - and account credentials. - - A object containing the Blob service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified Blob service endpoint - and account credentials. - - A object containing the Blob service endpoint to use to create the client. - A object. - - - - Returns a reference to the root container. - - A object. - Note that the root container must be explicitly created, if it does not already exist, before - you can read from it or write to it. - - - - Returns a reference to a object with the specified name. - - A string containing the name of the container. - A object. - - - - Parses the user prefix. - - The prefix. - Name of the container. - The listing prefix. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - This property is set only when Shared Key or Shared Key Lite credentials are used; it does not apply to authentication via a shared access signature - or anonymous access. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the Blob service client. - - An object of type . - - - - Gets the account credentials used to create the Blob service client. - - A object. - - - - Gets the base URI for the Blob service client at the primary location. - - A object containing the base URI used to construct the Blob service client at the primary location. - - - - Gets the Blob service endpoints for both the primary and secondary locations. - - An object of type containing Blob service URIs for both the primary and secondary locations. - - - - Gets or sets the default request options for requests made via the Blob service client. - - A object. - - - - Gets or sets the default retry policy for requests made via the Blob service client. - - An object of type . - - - - Gets or sets the default delimiter that may be used to create a virtual directory structure of blobs. - - A string containing the default delimiter for the Blob service. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Represents a container in the Windows Azure Blob service. - - - Represents a container in the Windows Azure Blob service. - - - - - Creates the container. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Creates the container and specifies the level of access to the container's data. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a container. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a container and specify the level of access to the container's data. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that creates a container. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that creates a container. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that creates a container. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that creates a container and specifies the level of access to the container's data. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Creates the container if it does not already exist and specifies whether the container or its blobs are publicly accessible. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the container if it does not already exist. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the container if it does not already exist. - - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous request to create the container if it does not already exist. - - An that references the pending asynchronous operation. - true if the container did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the container did not already exist and was created; otherwise false. - - - - Begins an asynchronous request to delete the container if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the container if it already exists. - - An that references the pending asynchronous operation. - true if the container did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A reference to the blob. - - - - Begins an asynchronous operation to get a reference to a blob in this container. - - A string containing the name of the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get a reference to a blob in this container. - - An that references the pending asynchronous operation. - A reference to the blob. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Returns an enumerable collection of the blobs in the container that are retrieved lazily. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - An that references the pending asynchronous operation. - A result segment containing objects that implement . - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous request to set permissions for the container. - - The permissions to apply to the container. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to set permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to set permissions for the container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The container's permissions. - - - - Begins an asynchronous request to get the permissions settings for the container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to get the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the container. - - An that references the pending asynchronous operation. - The container's permissions. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Checks whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container exists. - - - - Checks whether the container exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container exists. - - - - Begins an asynchronous request to check whether the container exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the container exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check whether the container exists. - - An that references the pending asynchronous operation. - true if the container exists. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Retrieves the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to retrieve the container's attributes. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to retrieve the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to retrieve the container's attributes. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets the container's user-defined metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set user-defined metadata on the container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set user-defined metadata on the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous request operation to set user-defined metadata on the container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The ID of the acquired lease. - - - - Begins an asynchronous operation to acquire a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to acquire a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to acquire a lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - The ID of the acquired lease. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to renew a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to renew a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to renew a lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The new lease ID. - - - - Begins an asynchronous operation to change the lease on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to change the lease on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to change the lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - The new lease ID. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to release the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to release the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to release the lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A representing the amount of time before the lease ends, to the second. - - - - Begins an asynchronous operation to break the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to break the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to break the current lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - A representing the amount of time before the lease ends, to the second. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Generates a RESTCommand for acquiring a lease. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. May not be null. - A RESTCommand implementing the acquire lease operation. - - - - Generates a RESTCommand for renewing a lease. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - The options for this operation, including the current lease ID. - This cannot be null. - A RESTCommand implementing the renew lease operation. - - - - Generates a RESTCommand for changing a lease ID. - - The proposed new lease ID. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - The options for this operation, including the current lease ID. This cannot be null. - A RESTCommand implementing the change lease ID operation. - - - - Generates a RESTCommand for releasing a lease. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - The options for this operation, including the current lease ID. - This cannot be null. - A RESTCommand implementing the release lease operation. - - - - Generates a RESTCommand for breaking a lease. - - The amount of time to allow the lease to remain, rounded down to seconds. - If null, the break period is the remainder of the current lease, or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. May not be null. - A RESTCommand implementing the break lease operation. - - - - Implementation for the Create method. - - A object that specifies additional options for the request. - An object that specifies whether data in the container may be accessed publicly and the level of access. - A that creates the container. - - - - Implementation for the Delete method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that deletes the container. - - - - Implementation for the FetchAttributes method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - A object that specifies additional options for the request. - If true, the command will be executed against the primary location. - A that checks existence. - - - - Implementation for the SetMetadata method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetPermissions method. - - The permissions to set. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the GetPermissions method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Selects the protocol response. - - The protocol item. - The parsed . - - - - Core implementation of the ListBlobs method. - - The blob prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. - A continuation token returned by a previous listing operation. - A that lists the blobs. - - - - Retrieve ETag and LastModified date time from response. - - The response to parse. - - - - Initializes a new instance of the class. - - A object specifying the absolute URI to the container. - - - - Initializes a new instance of the class. - - A object specifying the absolute URI to the container. - A object. - - - - Initializes a new instance of the class. - - A object specifying the absolute URI to the container. - A object. - - - - Initializes a new instance of the class. - - A string specifying the container name. - A object. - - - - Initializes a new instance of the class. - - The properties. - The metadata. - The container name. - The client to be used. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Returns the canonical name for shared access. - - The canonical name. - - - - Returns a shared access signature for the container. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the container. - - A object specifying the access policy for the shared access signature. - A container-level access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the container. - - A object specifying the access policy for the shared access signature. - A container-level access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Gets a reference to a page blob in this container. - - A string containing the name of the page blob. - A object. - - - - Returns a reference to a page blob in this virtual directory. - - A string containing the name of the page blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a block blob in this container. - - A string containing the name of the block blob. - A object. - - - - Gets a reference to a block blob in this container. - - A string containing the name of the block blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to an append blob in this container. - - A string containing the name of the append blob. - A object. - - - - Gets a reference to an append blob in this container. - - A string containing the name of the append blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a blob in this container. - - A string containing the name of the blob. - A object. - - - - Gets a reference to a blob in this container. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a virtual blob directory beneath this container. - - A string containing the name of the virtual blob directory. - A object. - - - - Gets the Blob service client for the container. - - A object. - - - - Gets the container's URI for the primary location. - - A specifying the absolute URI to the container at the primary location. - - - - Gets the container's URIs for both the primary and secondary locations. - - An object of type containing the container's URIs for both the primary and secondary locations. - - - - Gets the name of the container. - - A string containing the container name. - - - - Gets the container's metadata. - - An object containing the container's metadata. - - - - Gets the container's system properties. - - A object. - - - - Represents a virtual directory of blobs, designated by a delimiter character. - - Containers, which are encapsulated as objects, hold directories, and directories hold block blobs and page blobs. Directories can also contain sub-directories. - - Represents a virtual directory of blobs on the client which emulates a hierarchical data store by using delimiter characters. - - - - - Returns an enumerable collection of the blobs in the virtual directory that are retrieved lazily. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of blob items - in the virtual directory. - - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A continuation token returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A continuation token returned by a previous listing operation. - A object of type . - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type . - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type . - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type . - - - - Stores the parent directory. - - - - - Initializes a new instance of the class given an address and a client. - - The blob directory's Uri. - The blob directory's prefix. - The container for the virtual directory. - - - - Gets a reference to a page blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Returns a reference to a page blob in this virtual directory. - - The name of the page blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a block blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Gets a reference to a block blob in this virtual directory. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to an append blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Gets a reference to an append blob in this virtual directory. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Gets a reference to a blob in this virtual directory. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Returns a virtual subdirectory within this virtual directory. - - The name of the virtual subdirectory. - A object representing the virtual subdirectory. - - - - Gets the Blob service client for the virtual directory. - - A object. - - - - Gets the URI that identifies the virtual directory for the primary location. - - A containing the URI to the virtual directory, at the primary location. - - - - Gets the blob directory's URIs for both the primary and secondary locations. - - An object of type containing the blob directory's URIs for both the primary and secondary locations. - - - - Gets the container for the virtual directory. - - A object. - - - - Gets the parent directory for the virtual directory. - - A object. - - - - Gets the prefix. - - A string containing the prefix. - - - - Represents a blob that is uploaded as a set of blocks. - - - Represents a blob that is uploaded as a set of blocks. - - - - - Opens a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A to be used for writing to the blob. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Ends an asynchronous operation to open a stream for writing to the blob. - - An that references the pending asynchronous operation. - A to be used for writing to the blob. - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Uploads a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a block blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a file to the Blob service. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a string of text to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The contents of the blob, as a string. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the blob's contents as a string. - - An that references the pending asynchronous operation. - The contents of the blob, as a string. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Uploads a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Returns an enumerable collection of the blob's blocks, using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects implementing . - - - - Begins an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Ends an asynchronous operation to upload a single block. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an operation to start copying an Azure file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Begins an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - An that references the pending asynchronous operation. - An enumerable collection of objects implementing . - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Uploads a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a list of blocks to a new or existing blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the full blob from a seekable stream. - - The content stream. Must be seekable. - Number of bytes to upload from the content stream starting at its current position. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the stream. - - - - Uploads the block. - - The source stream. - The block ID. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that uploads the block. - - - - Uploads the block list. - - The blocks to upload. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that uploads the block list. - - - - Gets the download block list. - - The types of blocks. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the download block list. - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A containing the absolute URI to the blob at both the primary and secondary locations. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Gets or sets the block size for writing to a block blob. - - The size of a block, in bytes, ranging from between 16 KB and 4 MB inclusive. - - - - Represents a Windows Azure page blob. - - - Represents a Windows Azure page blob. - - - - - Opens a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Ends an asynchronous operation to open a stream for writing to the blob. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Uploads a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the page blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - The maximum size of the page blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - The maximum size of the blob, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - The maximum size of the blob, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Resizes the page blob to the specified size. - - The size of the page blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to resize the page blob to the specified size. - - The size of the page blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to resize the page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set the page blob's sequence number. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets a collection of valid page ranges and their starting and ending bytes. - - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of page ranges. - - - - Begins an asynchronous operation to return a collection of valid page ranges and their starting and ending bytes. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a collection of valid page ranges and their starting and ending bytes. - - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a collection of valid page ranges and their starting and ending bytes. - - An that references the pending asynchronous operation. - An enumerable collection of page ranges. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Gets the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of page ranges. - - - - Begins an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - An that references the pending asynchronous operation. - An enumerable collection of page ranges. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Writes pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Ends an asynchronous operation to write pages to a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Clears pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to clear pages from a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Begins an operation to start copying another page blob's contents, properties, and metadata to this page blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another page blob's contents, properties, and metadata to this page blob. - - The that is the source blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another page blob's contents, properties, and metadata to this page blob. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Implements the Create method. - - The size in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the blob. - - - - Implementation for the Resize method. - - The size in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetSequenceNumber method. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if this operation is an increment action. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the sequence number. - - - - Implementation for the GetPageRanges method. - - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A for getting the page ranges. - - - - Implementation for the GetPageRangesDiff method. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A for getting the page ranges. - - - - Implementation method for the WritePage methods. - - The page data. - The start offset. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that writes the pages. - - - - Implementation method for the ClearPage methods. - - The start offset. Must be multiples of 512. - Length of the data range to be cleared. Must be multiples of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that writes the pages. - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. The service assumes this is the URI for the blob in the primary location. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Gets or sets the number of bytes to buffer when writing to a page blob stream. - - The number of bytes to buffer, ranging from between 512 bytes and 4 MB inclusive. - - - - Provides a set of methods for parsing a response containing blob data from the Blob service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the blob's properties from the response. - - The web response. - The blob's properties. - - - - Extracts the lease status from a web response. - - The web response. - A enumeration from the web response. - If the appropriate header is not present, a status of is returned. - The header contains an unrecognized value. - - - - Extracts the lease state from a web response. - - The web response. - A enumeration from the web response. - If the appropriate header is not present, a status of is returned. - The header contains an unrecognized value. - - - - Extracts the lease duration from a web response. - - The web response. - A enumeration from the web response. - If the appropriate header is not present, a status of is returned. - The header contains an unrecognized value. - - - - Extracts the lease ID header from a web response. - - The web response. - The lease ID. - - - - Extracts the remaining lease time from a web response. - - The web response. - The remaining lease time, in seconds. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Extracts a object from the headers of a web response. - - The HTTP web response. - A object, or null if the web response does not include copy state. - - - - Gets the snapshot timestamp from the response. - - The web response. - The snapshot timestamp. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Gets a from a string. - - The lease status string. - A enumeration. - If a null or empty string is supplied, a status of is returned. - The string contains an unrecognized value. - - - - Gets a from a string. - - The lease state string. - A enumeration. - If a null or empty string is supplied, a status of is returned. - The string contains an unrecognized value. - - - - Gets a from a string. - - The lease duration string. - A enumeration. - If a null or empty string is supplied, a status of is returned. - The string contains an unrecognized value. - - - - Builds a object from the given strings containing formatted copy information. - - The copy status, as a string. - The copy ID. - The source URI of the copy, as a string. - A string formatted as progressBytes/TotalBytes. - The copy completion time, as a string, or null. - The copy status description, if any. - A object populated from the given strings. - - - - A factory class for constructing HTTP web requests for the Blob service. - - - - - Creates a web request to get the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes Blob service properties to a stream, formatted in XML. - - A object. - The object to which the formatted properties are to be written. - - - - Constructs a web request to create a new block blob or page blob, or to update the content - of an existing block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value. - For a page blob, the size of the blob. This parameter is ignored - for block blobs. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new block blob or page blob, or to update the content - of an existing block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value. - For a page blob, the size of the blob. This parameter is ignored - for block blobs. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds the snapshot. - - An object of type that contains additional parameters to add to the URI query string. - The snapshot version, if the blob is a snapshot. - - - - Constructs a web request to commit a block to an append blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to commit a block to an append blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of valid page ranges for a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of valid page ranges for a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of page ranges that differ between a specified snapshot and this object. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds the Range Header for Blob Service Operations. - - Request - Starting byte of the range - Number of bytes in the range - - - - Constructs a web request to return the blob's system properties. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the blob's system properties. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set system properties for a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The blob's properties. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set system properties for a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The blob's properties. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to resize a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The new blob size, if the blob is a page blob. Set this parameter to null to keep the existing blob size. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to resize a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The new blob size, if the blob is a page blob. Set this parameter to null to keep the existing blob size. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set a page blob's sequence number. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if this operation is an increment action. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set a page blob's sequence number. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if this operation is an increment action. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - A object. - A object containing the user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - A object. - A string containing the metadata name. - A string containing the metadata value. - - - - Constructs a web request to delete a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A set of options indicating whether to delete only blobs, only snapshots, or both. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A set of options indicating whether to delete only blobs, only snapshots, or both. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a snapshot of a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a snapshot of a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the blob. - - A specifying the absolute URI to the blob. - The server timeout interval, in seconds. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the blob. - - A specifying the absolute URI to the blob. - The server timeout interval, in seconds. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds a proposed lease id to a request. - - The request. - The proposed lease id. - - - - Adds a lease duration to a request. - - The request. - The lease duration. - - - - Adds a lease break period to a request. - - The request. - The lease break period. - - - - Adds a lease action to a request. - - The request. - The lease action. - - - - Constructs a web request to write a block to a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A string specifying the block ID for this block. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to write a block to a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A string specifying the block ID for this block. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create or update a blob by committing a block list. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object specifying the properties to set for the blob. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create or update a blob by committing a block list. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object specifying the properties to set for the blob. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of blocks for a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A enumeration value. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of blocks for a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A enumeration value. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to write or clear a range of pages in a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value indicating the operation to perform on the page blob. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to write or clear a range of pages in a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value indicating the operation to perform on the page blob. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to use to perform the operation. - - - - - Generates a web request to copy a blob or file to another blob. - - A specifying the absolute URI to the destination blob. - An integer specifying the server timeout interval. - A specifying the absolute URI to the source object, including any necessary authentication parameters. - An object that represents the condition that must be met on the source object in order for the request to proceed. - An object that represents the condition that must be met on the destination blob in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to copy a blob or file to another blob. - - A specifying the absolute URI to the destination blob. - An integer specifying the server timeout interval. - A specifying the absolute URI to the source object, including any necessary authentication parameters. - An object that represents the condition that must be met on the source object in order for the request to proceed. - An object that represents the condition that must be met on the destination blob in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to abort a copy operation. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The ID string of the copy operation to be aborted. - An object that represents the condition that must be met in order for the request to proceed. Only lease conditions are supported for this operation. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to abort a copy operation. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The ID string of the copy operation to be aborted. - An object that represents the condition that must be met in order for the request to proceed. Only lease conditions are supported for this operation. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get the blob's content, properties, and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get the blob's content, properties, and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return a specified range of the blob's content, together with its properties and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - The byte offset at which to begin returning content. - The number of bytes to return, or null to return all bytes through the end of the blob. - If set to true, an MD5 header is requested for the specified range. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - - A web request to use to perform the operation. - - - - - Constructs a web request to return a specified range of the blob's content, together with its properties and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - The byte offset at which to begin returning content. - The number of bytes to return, or null to return all bytes through the end of the blob. - If set to true, an MD5 header is requested for the specified range. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to use to perform the operation. - - - - - Provides a set of methods for parsing container responses from the Blob service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the container's properties from the response. - - The web response. - The container's attributes. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Gets the ACL for the container from the response. - - The web response. - A value indicating the public access level for the container. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - Converts the ACL string to a object. - - The string to convert. - The resulting object. - - - - A factory class for constructing a web request to manage containers in the Blob service. - - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object. - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object. - - - - Constructs a web request to delete the container and all of the blobs within it. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete the container and all of the blobs within it. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the properties and user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the properties and user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - A object. - A object containing the user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - A object. - A string containing the metadata name. - A string containing the metadata value. - - - - Constructs a web request to return a listing of all containers in this storage account. - - A specifying the Blob service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return container metadata with the listing. - An object that represents the context for the current operation. - A web request for the specified operation. - - - - Constructs a web request to return a listing of all containers in this storage account. - - A specifying the Blob service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return container metadata with the listing. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for the specified operation. - - - - Constructs a web request to return the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - The type of public access to allow for the container. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - The type of public access to allow for the container. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return a listing of all blobs in the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A object. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return a listing of all blobs in the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A object. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Gets the container Uri query builder. - - A for the container. - - - - Represents a file in the Windows Azure File service. - - - Represents a Windows Azure File. - - - - - Represents an item that may be returned by a file listing operation. - - - - - Gets the URI to the file item. - - The file item's URI. - - - - Gets the URI to the file item. - - The file item's URI. - - - - Gets the file item's parent directory. - - The file item's parent directory. - - - - Gets the file item's share. - - The file item's share. - - - - Opens a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A stream to be used for reading from the file. - On the object returned by this method, the method must be called exactly once for every call. Failing to end a read process before beginning another read can cause unknown behavior. - - - - Begins an asynchronous operation to open a stream for reading from the file. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to open a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to open a stream for reading from the file. - - An that references the pending asynchronous operation. - A stream to be used for reading from the file. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Opens a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object to be used for writing to the file. - - - - Begins an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to open a stream for writing to the file. - - An that references the pending asynchronous operation. - A object to be used for writing to the file. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a stream. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file in the File service to a local file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the cloud file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the cloud file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The contents of the file, as a string. - - - - Begins an asynchronous operation to download the file's contents as a string. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the file's contents as a string. - - An that references the pending asynchronous operation. - The contents of the file, as a string. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a stream. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - Specifies the number of bytes from the Stream source to upload from the start position. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads a file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the content. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the content. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the content. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to the File service. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a string of text to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Creates a file. If the file already exists, it will be overwritten.3584 - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Checks existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the file exists; false, otherwise. - - - - Begins an asynchronous request to check existence of the file. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check existence of the file. - - An that references the pending asynchronous operation. - true if the file exists; false, otherwise. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Populates a file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the file's properties and metadata. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the file's properties and metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete the file. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the file did already exist and was deleted; otherwise false. - - - - Begins an asynchronous request to delete the file if it already exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the file if it already exists. - - An that references the pending asynchronous operation. - true if the file did already exist and was deleted; otherwise, false. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Gets a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of ranges. - - - - Begins an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - An that references the pending asynchronous operation. - An enumerable collection of ranges. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Updates the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the file's properties. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the file's properties. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Resizes a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to resize a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Updates the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the file's metadata. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the file's metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Writes range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to write a range to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Clears ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to clear ranges from a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Begins an operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - An that references the pending asynchronous operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Aborts an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to abort an ongoing copy operation. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Implements getting the stream without specifying a range. - - The destination stream. - The offset. - The length. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - - A that gets the stream. - - - - - Implements the Create method. - - The size in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the file. - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - An object that specifies additional options for the request. - A that checks existence. - - - - Implements the DeleteFile method. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that deletes the file. - - - - Gets the ranges implementation. - - The start offset. - Length of the data range to be cleared. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A for getting the ranges. - - - - Implementation for the SetProperties method. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the Resize method. - - The size in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetMetadata method. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation method for the WriteRange methods. - - The data. - The start offset. - The content MD5. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that writes the range. - - - - Implementation method for the ClearRange methods. - - The start offset. - Length of the data range to be cleared. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that clears the range. - - - - Implementation of the StartCopy method. Result is a CloudFileAttributes object derived from the response headers. - - The URI of the source object. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - - A that starts to copy the file. - - sourceAccessCondition - - - - Implementation of the AbortCopy method. No result is produced. - - The copy ID of the copy operation to abort. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that aborts the copy. - - - - - Called when the asynchronous operation to commit the file started by UploadFromStream finishes. - - The result of the asynchronous operation. - - - - Converts the source blob of a copy operation to an appropriate access URI, taking Shared Access Signature credentials into account. - - The source blob. - A URI addressing the source blob, using SAS if appropriate. - - - - Updates this file with the given attributes a the end of a fetch attributes operation. - - The response. - if set to true, file's MD5 will not be updated. - - - - Retrieve ETag, LMT and Length from response. - - The response to parse. - If set to true, update the file length. - - - - Default is 4 MB. - - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the file. - - The absolute URI to the file. - - - - Initializes a new instance of the class using an absolute URI to the file. - - The absolute URI to the file. - A object. - - - - Initializes a new instance of the class using an absolute URI to the file. - - The absolute URI to the file. - A object. - - - - Initializes a new instance of the class using the specified file name and - the parent share reference. - - The file's Uri. - Name of the file. - The reference to the parent share. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Stores the that contains this file. - - - - - Stores the file's parent . - - - - - Stores the file's attributes. - - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a file accessed with this SAS. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a file accessed with this SAS. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a file accessed with this SAS. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - - - - Gets the canonical name of the file, formatted as file/<account-name>/<share-name>/<directory-name>/<file-name>. - This is used by both Shared Access and Copy operations. - - The canonical name of the file. - - - - Parse URI. - - The complete Uri. - The credentials to use. - - - - Gets the object that represents the File service. - - A object that specifies the File service endpoint. - - - - Gets or sets the number of bytes to buffer when writing to a file stream. - - The number of bytes to buffer, ranging from between 512 bytes and 4 MB inclusive. - - - - Gets or sets the minimum number of bytes to buffer when reading from a file stream. - - The minimum number of bytes to buffer, being at least 16KB. - - - - Gets the file's system properties. - - A object. - - - - Gets the user-defined metadata for the file. - - The file's metadata, as a collection of name-value pairs. - - - - Gets the file's URI. - - The absolute URI to the file. - - - - Gets the absolute URI to the file. - - A object. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if there is no copy state for the file. - - - - Gets the file's name. - - The file's name. - - - - Gets a object representing the file's share. - - A object. - - - - Gets the object representing the - parent directory for the file. - - A object. - - - - Provides a client-side logical representation of the Windows Azure File service. This client is used to configure and execute requests against the File service. - - The service client encapsulates the base URI for the File service. If the service client will be used for authenticated access, - it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure File service. This client is used to configure and execute requests against the File service. - - The service client encapsulates the base URI for the File service. If the service client will be used for authenticated access, it also encapsulates - the credentials for accessing the storage account. - - - - Returns an enumerable collection of shares, which are retrieved lazily, whose names - begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of shares that are retrieved lazily. - - - - Returns a result segment containing a collection of shares. - - A token returned by a previous listing operation. - A result segment of shares. - - - - Returns a result segment containing a collection of shares. - - The share name prefix. - A continuation token returned by a previous listing operation. - A result segment of shares. - - - - Returns a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment of shares. - - - - Returns a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment of shares. - - - - Begins an asynchronous request to return a result segment containing a collection of shares. - - A continuation token returned by a previous listing operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of shares. - - The share name prefix. - A continuation token returned by a previous listing operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of shares. - - An that references the pending asynchronous operation. - A result segment of shares. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares. - - A token returned by a previous listing operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares. - - A token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A continuation token returned by a previous listing operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Begins an asynchronous operation to get service properties for the File service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service properties for the File service. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to set service properties for the File service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set service properties for the Blob service. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Core implementation for the ListShares method. - - The share prefix. - The details included. - The continuation token. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object that specifies additional options for the request. - A that lists the shares. - - - - Initializes a new instance of the class using the specified File service endpoint - and account credentials. - - The File service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified File service endpoint - and account credentials. - - The File service endpoint to use to create the client. - A object. - - - - Returns a reference to a object with the specified name. - - A string containing the name of the share. - A reference to a share. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the File service client. - - - - - Gets the account credentials used to create the File service client. - - The account credentials. - - - - Gets the base URI for the File service client. - - The base URI used to construct the File service client. - - - - Gets the list of URIs for all locations. - - The list of URIs for all locations. - - - - Gets or sets the default request options for requests made via the File service client. - - A object. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Represents a directory of files, designated by a delimiter character. - - Shares, which are encapsulated as objects, hold directories, and directories hold files. Directories can also contain sub-directories. - - Represents a directory of files, designated by a delimiter character. - - Shares, which are encapsulated as objects, hold directories, and directories hold files. Directories can also contain sub-directories. - - - - Creates the directory. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. This object - is used to track requests to the storage service, and to provide additional runtime information about the operation. - - - - Begins an asynchronous operation to create a directory. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a directory. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a directory. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Creates the directory if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the directory did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the directory if it does not already exist. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the directory if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous request to create the directory if it does not already exist. - - An that references the pending asynchronous operation. - true if the directory did not already exist and was created; otherwise, false. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a directory. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a directory. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the directory did already exist and was deleted; otherwise false. - - - - Begins an asynchronous request to delete the directory if it already exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the directory if it already exists. - - An that references the pending asynchronous operation. - true if the directory did already exist and was deleted; otherwise, false. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Checks whether the directory exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the directory exists;false, otherwise. - - - - Begins an asynchronous request to check whether the directory exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the directory exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check whether the directory exists. - - An that references the pending asynchronous operation. - true if the directory exists; false, otherwise. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Populates a directory's properties. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the directory's properties. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the directory's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the directory's properties and metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns an enumerable collection of the files in the share, which are retrieved lazily. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Begins an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of file items - in the share. - - An that references the pending asynchronous operation. - A result segment containing objects that implement . - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Updates the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the directory's metadata. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the directory's metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Implementation for the Create method. - - An object that specifies additional options for the request. - A that creates the directory. - - - - Implementation for the Delete method. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - A that deletes the directory. - - - - Implementation for the Exists method. - - An object that specifies additional options for the request. - A that checks existence. - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that fetches the attributes. - - - - Core implementation of the ListFilesAndDirectories method. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - An object that specifies additional options for the request. - The continuation token. - A that lists the files. - - - - Implementation for the SetMetadata method. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Retrieve ETag and LastModified date time from response. - - The response to parse. - - - - Stores the that contains this directory. - - - - - Stores the parent directory. - - - - - Initializes a new instance of the class using an absolute URI to the directory. - - A object containing the absolute URI to the directory. - - - - Initializes a new instance of the class using an absolute URI to the directory. - - A object containing the absolute URI to the directory. - A object. - - - - Initializes a new instance of the class using an absolute URI to the directory. - - A object containing the absolute URI to the directory. - A object. - - - - Initializes a new instance of the class given an address and a client. - - The file directory's Uri. - Name of the directory. - The share for the directory. - - - - Selects the protocol response. - - The protocol item. - The parsed . - - - - Returns a object that represents a file in this directory. - - A containing the name of the file. - A object. - - - - Returns a object that represents a subdirectory within this directory. - - A containing the name of the subdirectory. - A object. - - - - Parse URI. - - The complete Uri. - The credentials to use. - - - - Gets a object that specifies the endpoint for the File service. - - A object. - - - - Gets the directory's URI for the primary location. - - A specifying the absolute URI to the directory at the primary location. - - - - Gets the file directory's URIs for all locations. - - A object containing the file directory's URIs for all locations. - - - - Gets a object that represents the directory's system properties. - - A object. - - - - Gets the user-defined metadata for the directory. - - The directory's metadata, as a collection of name-value pairs. - - - - Gets a object that represents the share for the directory. - - A object. - - - - Gets a object that represents the parent directory for the directory. - - A object. - - - - Gets the name of the directory. - - A containing the name of the directory. - - - - Represents a share in the Windows Azure File service. - - Shares hold directories, which are encapsulated as objects, and directories hold files. Directories can also contain sub-directories. - - Represents a share in the Windows Azure File service. - - - - - Creates the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. This object - is used to track requests to the storage service, and to provide additional runtime information about the operation. - - - - Begins an asynchronous operation to create a share. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a share. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a share. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Creates the share if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the share did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the share if it does not already exist. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the share if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous request to create the share if it does not already exist. - - An that references the pending asynchronous operation. - true if the share did not already exist and was created; otherwise, false. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the share. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a share. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a share. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a share. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the share did not already exist and was created; otherwise false. - - - - Begins an asynchronous request to delete the share if it already exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the share if it already exists. - - An that references the pending asynchronous operation. - true if the share did not already exist and was created; otherwise, false. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Checks whether the share exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the share exists. - - - - Begins an asynchronous request to check whether the share exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the share exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check whether the share exists. - - An that references the pending asynchronous operation. - true if the share exists. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Retrieves the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to retrieve the share's attributes. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to retrieve the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to retrieve the share's attributes. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Gets the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous request to get the permissions settings for the share. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to get the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the share. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get stats for the share. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get stats for the share. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get stats for the share. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get stats for the share. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Sets the share's user-defined metadata. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set user-defined metadata on the share. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set user-defined metadata on the share. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous request operation to set user-defined metadata on the share. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Sets permissions for the share. - - A object. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous request to set permissions for the share. - - The permissions to apply to the share. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to set permissions for the share. - - The permissions to apply to the share. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to set permissions for the share. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the share's properties. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the share's properties. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Implementation for the Create method. - - An object that specifies additional options for the request. - A that creates the share. - - - - Implementation for the Delete method. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - A that deletes the share. - - - - Implementation for the FetchAttributes method. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - An object that specifies additional options for the request. - A that checks existence. - - - - Implementation for the GetPermissions method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the GetStats method. - - A object that specifies additional options for the request. - - - - - Implementation for the SetMetadata method. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetPermissions method. - - The permissions to set. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the SetProperties method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that sets the properties. - - - - - Retrieve ETag and LastModified date time from response. - - The response to parse. - - - - Initializes a new instance of the class. - - The absolute URI to the share. - - - - Initializes a new instance of the class. - - The absolute URI to the share. - A object. - - - - Initializes a new instance of the class. - - The absolute URI to the share. - A object. - - - - Initializes a new instance of the class. - - The share name. - A client object that specifies the endpoint for the File service. - - - - Initializes a new instance of the class. - - The properties. - The metadata. - The share name. - The client to be used. - - - - Returns the canonical name for shared access. - - The canonical name. - - - - Returns a shared access signature for the share. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the share. - - A object specifying the access policy for the shared access signature. - A share-level access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the share. - - A object specifying the access policy for the shared access signature. - A share-level access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Returns a reference to the root directory for this share. - - A reference to the root directory. - - - - Gets the service client for the share. - - A client object that specifies the endpoint for the File service. - - - - Gets the share's URI. - - The absolute URI to the share. - - - - Gets the list of URIs for all locations. - - The list of URIs for all locations. - - - - Gets the name of the share. - - The share's name. - - - - Gets the share's metadata. - - The share's metadata. - - - - Gets the share's system properties. - - The share's properties. - - - - Represents a stream for writing to a file. - - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying file, and commits the file. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - The reference to the pending asynchronous request to finish. - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - The reference to the pending asynchronous request to finish. - - - - Initializes a new instance of the class. - - File reference to read from - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - Seeking in a FileReadStream disables MD5 validation. - - - - This operation is not supported in FileReadStreamBase. - - Not used. - - - - This operation is not supported in FileReadStreamBase. - - Not used. - Not used. - Not used. - - - - This operation is a no-op in FileReadStreamBase. - - - - - Read as much as we can from the internal buffer - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Calculates the number of bytes to read from the file. - - Number of bytes to read. - - - - Updates the file MD5 with newly downloaded content. - - The buffer to read the data from. - The byte offset in buffer at which to begin reading data. - The maximum number of bytes to read. - - - - Releases the file resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets or sets the position within the current stream. - - - - - Gets the length in bytes of the stream. - - The length in bytes of the stream. - - - - Initializes a new instance of the class. - - File reference to read from - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - Reads a sequence of bytes from the current stream and advances the - position within the stream by the number of bytes read. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Begins an asynchronous read operation. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Dispatches an async read operation that either reads from the cache or makes a call to - the server. - - The reference to the pending asynchronous request to finish. - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Dispatches a sync read operation that either reads from the cache or makes a call to - the server. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Initializes a new instance of the FileWriteStreamBase class for a file. - - File reference to write to. - Size of the file. - Use true if the file is newly created, false otherwise. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - This operation is not supported in FileWriteStreamBase. - - Not used. - Not used. - Not used. - - - - Calculates the new position within the current stream for a Seek operation. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - This operation is not supported in FileWriteStreamBase. - - Not used. - - - - Releases the file resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets the length in bytes of the stream. - - - - - Gets or sets the position within the current stream. - - - - - Initializes a new instance of the FileWriteStream class for a file. - - File reference to write to. - Size of the file. - Use true if the file is newly created, false otherwise. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Begins an asynchronous write operation. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Waits for the pending asynchronous write to complete. - - The reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying file. - - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when noPendingWritesEvent is signalled indicating that there are no outstanding write requests. - - An object containing information to be used by the callback method each time it executes. - true if the WaitHandle timed out; false if it was signaled. - - - - Releases the file resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying file, and commits the file. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when the pending flush operation completes so that we can continue with the commit. - - The result of the asynchronous operation. - - - - Called when the file commit operation completes. - - The result of the asynchronous operation. - - - - Dispatches a write operation. - - The reference to the pending asynchronous request to finish. - - - - Starts an asynchronous WriteRange operation as soon as the parallel - operation semaphore becomes available. - - Data to be uploaded - Offset within the file - MD5 hash of the data to be uploaded - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous WriteRange operation completes. - - The result of the asynchronous operation. - - - - Provides methods for parsing responses to operations on directories in the File service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the directory's properties from the response. - - The web response. - The directory's attributes. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - A factory class for constructing web requests for operations on directories in the File service. - - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - The web request. - The user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - The web request. - The metadata name. - The metadata value. - - - - Constructs a web request to create a new directory. - - The absolute URI to the directory. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to delete the directory and all of the files within it. - - The absolute URI to the directory. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Generates a web request to return the properties and user-defined metadata for this directory. - - The absolute URI to the directory. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this directory. - - The absolute URI to the directory. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Generates a web request to return a listing of all files and subdirectories in the directory. - - The absolute URI to the share. - The server timeout interval. - A set of parameters for the listing operation. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to set user-defined metadata for the directory. - - A specifying the absolute URI to the destination blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Gets the directory Uri query builder. - - A for the directory. - - - - Provides methods for parsing responses to operations on files in the File service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the file's properties from the response. - - The web response. - The file's properties. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Extracts a object from the headers of a web response. - - The HTTP web response. - A object, or null if the web response does not include copy state. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - A factory class for constructing web requests for operations on files in the File service. - - - - - Creates a web request to get the properties of the File service. - - A specifying the File service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the File service. - - A specifying the File service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes File service properties to a stream, formatted in XML. - - A object. - The object to which the formatted properties are to be written. - - - - Constructs a web request to create a new file. - - The absolute URI to the file. - The server timeout interval. - The properties to set for the file. - The size of the file. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to return the file's system properties. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Constructs a web request to return the user-defined metadata for the file. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - The web request. - The user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - The web request. - The metadata name. - The metadata value. - - - - Constructs a web request to delete a file. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Adds the Range Header for File Service Operations. - - Request - Starting byte of the range - Number of bytes in the range - - - - Constructs a web request to return the list of valid ranges for a file. - - The absolute URI to the file. - The server timeout interval. - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to set system properties for a file. - - The absolute URI to the file. - The server timeout interval. - The file's properties. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to resize a file. - - The absolute URI to the file. - The server timeout interval. - The new file size. Set this parameter to null to keep the existing file size. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to get the file's content, properties, and metadata. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Constructs a web request to set user-defined metadata for the file. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Constructs a web request to return a specified range of the file's content, together with its properties and metadata. - - The absolute URI to the file. - The server timeout interval, in seconds. - The byte offset at which to begin returning content. - The number of bytes to return, or null to return all bytes through the end of the file. - If set to true, request an MD5 header for the specified range. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to write or clear a range of pages in a file. - - The absolute URI to the file. - The server timeout interval. - The beginning and ending offsets. - Action describing whether we are writing to a file or clearing a set of ranges. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request to use to perform the operation. - - - - Generates a web request to copy from a blob or file to another file. - - A specifying the absolute URI to the destination file. - An integer specifying the server timeout interval. - A specifying the absolute URI to the source object, including any necessary authentication parameters. - An object that represents the condition that must be met on the source object in order for the request to proceed. - An object that represents the condition that must be met on the destination file in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to abort a copy operation. - - A specifying the absolute URI to the file. - An integer specifying the server timeout interval. - The ID string of the copy operation to be aborted. - An object that represents the condition that must be met in order for the request to proceed. Only lease conditions are supported for this operation. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Provides methods for parsing responses to operations on shares in the File service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the share's properties from the response. - - The web response. - The share's attributes. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - Reads share stats from a stream. - - The stream from which to read the share stats. - The share stats stored in the stream. - - - - A factory class for constructing web requests for operations on shares in the File service. - - - - - Constructs a web request to create a new share. - - The absolute URI to the share. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to create a new share. - - The absolute URI to the share. - Properties to set on the share. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to delete the share and all of the files within it. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Generates a web request to return the user-defined metadata for this share. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Generates a web request to return the properties and user-defined metadata for this share. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Generates a web request to set user-defined metadata for the share. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to set system properties for a share. - - A specifying the absolute URI to the share. - An integer specifying the server timeout interval. - The share's properties. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the share. - - A specifying the share. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - The web request. - The user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - The web request. - The metadata name. - The metadata value. - - - - Constructs a web request to return a listing of all shares in this storage account. - - The absolute URI for the account. - The server timeout interval. - A set of parameters for the listing operation. - Additional details to return with the listing. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for the specified operation. - - - - Constructs a web request to return the ACL for a share. - - A specifying the absolute URI to the share. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a share. - - A specifying the absolute URI to the share. - An integer specifying the server timeout interval. - The type of public access to allow for the share. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Gets the share Uri query builder. - - A for the share. - - - - This class represents a queue in the Windows Azure Queue service. - - - This class represents a queue in the Windows Azure Queue service. - - - - - Creates the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates the queue if it does not already exist. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the queue did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous operation to create the queue if it does not already exist. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous operation to create the queue if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous operation to create the queue if it does not already exist. - - An that references the pending asynchronous operation. - true if the queue did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the queue if it already exists. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the queue did not already exist and was created; otherwise false. - - - - Begins an asynchronous operation to delete the queue if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the queue if it already exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous operation to delete the queue if it already exists. - - An that references the pending asynchronous operation. - true if the queue did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Deletes the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets permissions for the queue. - - A object. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set permissions for the queue. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set permissions for the queue. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous operation to set permissions for the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the permissions settings for the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get the permissions settings for the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get the permissions settings for the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the queue. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Checks existence of the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the queue exists. - - - - Checks existence of the queue. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the queue exists. - - - - Begins an asynchronous operation to check the existence of the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to check the existence of the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to check the existence of the queue. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check the existence of the queue. - - An that references the pending asynchronous operation. - true if the queue exists. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Sets the queue's user-defined metadata. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set user-defined metadata on the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set user-defined metadata on the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set user-defined metadata on the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Fetches the queue's attributes. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to fetch the queue's attributes. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to fetch the queue's attributes. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to fetch a queue's attributes. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Adds a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to add a message to the queue. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to add a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to add a message to the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - Flags of values that specifies which parts of the message are to be updated. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to add a message to the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes a message. - - A object. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Deletes the specified message from the queue. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a message. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a message. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a message. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the specified number of messages from the queue using the specified request options and - operation context. This operation marks the retrieved messages as invisible in the queue for the default - visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of messages. - - - - Begins an asynchronous operation to get messages from the queue. - - The number of messages to retrieve. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get the specified number of messages from the queue using the - specified request options and operation context. This operation marks the retrieved messages as invisible in the - queue for the default visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get messages from the queue. - - An that references the pending asynchronous operation. - An enumerable collection of messages. - - - - Initiates an asynchronous operation to get messages from the queue. - - The number of messages to retrieve. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get messages from the queue. - - The number of messages to retrieve. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the specified number of messages from the queue using the - specified request options and operation context. This operation marks the retrieved messages as invisible in the - queue for the default visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the specified number of messages from the queue using the - specified request options and operation context. This operation marks the retrieved messages as invisible in the - queue for the default visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Gets a message from the queue using the default request options. This operation marks the retrieved message as invisible in the queue for the default visibility timeout period. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get a single message from the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a single message from the queue, and specifies how long the message should be - reserved before it becomes visible, and therefore available for deletion. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get a single message from the queue. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue, and specifies how long the message should be - reserved before it becomes visible, and therefore available for deletion. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue, and specifies how long the message should be - reserved before it becomes visible, and therefore available for deletion. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Peeks a message from the queue, using the specified request options and operation context. A peek request retrieves a message from the queue without changing its visibility. - - The number of messages to peek. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects. - - - - Begins an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to peek messages from the queue. - - An that references the pending asynchronous operation. - An enumerable collection of objects. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Peeks a single message from the queue. A peek request retrieves a message from the queue without changing its visibility. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get a single message from the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to peek a single message from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to peek a single message from the queue. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Clears all messages from the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to clear all messages from the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to clear all messages from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to clear all messages from the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Implementation for the ClearMessages method. - - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the Create method. - - A object that specifies additional options for the request. - A that creates the queue. - - - - Implementation for the Delete method. - - A object that specifies additional options for the request. - A that deletes the queue. - - - - Implementation for the FetchAttributes method. - - A object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - A object that specifies additional options for the request. - If true, the command will be executed against the primary location. - A that checks existence. - - - - Implementation for the SetMetadata method. - - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetPermissions method. - - The permissions to set. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the GetPermissions method. - - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the AddMessageImpl method. - - A queue message. - A value indicating the message time-to-live. - The visibility delay for the message. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the UpdateMessage method. - - A queue message. - The visibility timeout for the message. - Indicates whether to update the visibility delay, message contents, or both. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the DeleteMessage method. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - A that deletes the queue. - - - - Implementation for the GetMessages method. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the PeekMessages method. - - The number of messages to retrieve. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Gets the ApproximateMessageCount and metadata from response. - - The web response. - - - - Update the message pop receipt and next visible time. - - The Cloud Queue Message. - The web response. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the queue. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the queue. - A object. - - - - Initializes a new instance of the class. - - A containing the absolute URI to the queue at both the primary and secondary locations. - A object. - A object. - - - - Initializes a new instance of the class. - - The queue name. - A client object that specifies the endpoint for the Queue service. - - - - Initializes a new instance of the class. - - The metadata. - The queue name. - A client object that specifies the endpoint for the Queue service. - - - - Uri for the messages. - - - - - Gets the Uri for general message operations. - - - - - Gets the individual message address. - - A string specifying the message ID. - The URI of the message. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Returns the canonical name for shared access. - - The canonical name. - - - - Selects the get message response. - - The protocol message. - A object that specifies additional options for the request. - The parsed message. - - - - Selects the peek message response. - - The protocol message. - A object that specifies additional options for the request. - The parsed message. - - - - Returns a shared access signature for the queue. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the queue. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the queue. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Gets the object that represents the Queue service. - - A object. - - - - Gets the queue URI for the primary location. - - A specifying the absolute URI to the queue at the primary location. - - - - Gets the queue URIs for both the primary and secondary locations. - - An object of type containing the queue's URIs for both the primary and secondary locations. - - - - Gets the name of the queue. - - A string containing the name of the queue. - - - - Gets the approximate message count for the queue. - - The approximate message count. - - - - Gets or sets a value indicating whether to apply base64 encoding when adding or retrieving messages. - - true to encode messages; otherwise, false. The default value is true. - - - - Gets the queue's metadata. - - An object containing the queue's metadata. - - - - Provides a client-side logical representation of the Windows Azure Queue service. This client is used to configure and execute requests against the Queue service. - - The service client encapsulates the endpoint or endpoints for the Queue service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure Queue service. This client is used to configure and execute requests against the Queue service. - - The service client encapsulates the endpoint or endpoints for the Queue service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account. - - - - Returns an enumerable collection of the queues in the storage account whose names begin with the specified prefix and that are retrieved lazily. - - A string containing the queue name prefix. - A enumeration value that indicates which details to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects of type that are retrieved lazily. - - - - Returns a result segment containing a collection of queues. - - A continuation token returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of queues. - - A string containing the queue name prefix. - A continuation token returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Returns a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A of type . - - - - Begins an asynchronous operation to return a result segment containing a collection of queues. - - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of queues. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Core implementation of the ListQueues method. - - A string containing the queue name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. - The continuation token. - A that lists the queues. - - - - Begins an asynchronous operation to get service properties for the Queue service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service properties for the Queue service. - - The result returned from a prior call to . - A object. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A containing the Queue service properties. - - - - Begins an asynchronous operation to set service properties for the Queue service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set service properties for the Queue service. - - The returned from a prior call to . - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to get service stats for the secondary Queue service endpoint. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service stats for the secondary Queue service endpoint. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Initializes a new instance of the class using the specified Queue service endpoint - and account credentials. - - The containing the Queue service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified Queue service endpoint - and account credentials. - - A object containing the Queue service endpoint to use to create the client. - A object. - - - - Returns a reference to a object with the specified name. - - A string containing the name of the queue. - A object. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - This property is set only when Shared Key or Shared Key Lite credentials are used; it does not apply to authentication via a shared access signature - or anonymous access. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the Queue service client. - - An object of type . - - - - Gets the account credentials used to create the Queue service client. - - A object. - - - - Gets the base URI for the Queue service client, at the primary location. - - A object for the Queue service client, at the primary location. - - - - Gets the Queue service endpoints for both the primary and secondary locations. - - An object of type containing Queue service URIs for both the primary and secondary locations. - - - - Gets and sets the default request options for requests made via the Queue service client. - - A object. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Represents the encrypted message that is stored on the service. - - - - - Gets or sets the encrypted message. - - The encrypted message. - - - - Gets or sets the encryption related metadata for queue messages. - - - - - Represents a message in the Windows Azure Queue service. - - - Represents a message in the Windows Azure Queue service. - - - - - The maximum message size in bytes. - - - - - The maximum number of messages that can be peeked at a time. - - - - - Initializes a new instance of the class with the given byte array. - - The content of the message as a byte array. - - - - Sets the content of this message. - - The content of the message as a byte array. - - - - The maximum amount of time a message is kept in the queue. - - - - - Custom UTF8Encoder to throw exception in case of invalid bytes. - - - - - Initializes a new instance of the class with the given byte array. - - - - - Initializes a new instance of the class with the given string. - - The content of the message as a string of text. - - - - Initializes a new instance of the class with the given message ID and pop receipt. - - A string specifying the message ID. - A string containing the pop receipt token. - - - - Initializes a new instance of the class with the given Base64 encoded string. - This method is only used internally. - - The text string. - Whether the string is Base64 encoded. - - - - Gets the content of the message for transfer (internal use only). - - Indicates if the message should be encoded. - A object that specifies additional options for the request. - The message content as a string. - - - - Sets the content of this message. - - A string containing the new message content. - - - - Gets the maximum message size in bytes. - - The maximum message size in bytes. - - - - Gets the maximum amount of time a message is kept in the queue. - - A specifying the maximum amount of time a message is kept in the queue. - - - - Gets the maximum number of messages that can be peeked at a time. - - The maximum number of messages that can be peeked at a time. - - - - Gets the content of the message as a byte array. - - The content of the message as a byte array. - - - - Gets the message ID. - - A string containing the message ID. - - - - Gets the message's pop receipt. - - A string containing the pop receipt value. - - - - Gets the time that the message was added to the queue. - - A indicating the time that the message was added to the queue. - - - - Gets the time that the message expires. - - A indicating the time that the message expires. - - - - Gets the time that the message will next be visible. - - A indicating the time that the message will next be visible. - - - - Gets the content of the message, as a string. - - A string containing the message content. - - - - Gets the number of times this message has been dequeued. - - The number of times this message has been dequeued. - - - - Gets message type that indicates if the RawString is the original message string or Base64 encoding of the original binary data. - - - - - Gets or sets the original message string or Base64 encoding of the original binary data. - - The original message string. - - - - Gets or sets the original binary data. - - The original binary data. - - - - Represents an encryption policy for performing envelope encryption/decryption of messages in Azure queue. - - - - - Initializes a new instance of the class with the specified key and resolver. - - An object of type that is used to wrap/unwrap the content encryption key. - The key resolver used to select the correct key for decrypting existing queue messages. - If the generated policy is to be used for encryption, users are expected to provide a key at the minimum. - The absence of key will cause an exception to be thrown during encryption.
- If the generated policy is intended to be used for decryption, users can provide a key resolver. The client library will:
- 1. Invoke the key resolver, if specified, to get the key.
- 2. If resolver is not specified but a key is specified, the client library will match the key ID against the key and use the key.
-
- - - Return an encrypted base64 encoded message along with encryption related metadata given a plain text message. - - The input message in bytes. - The encrypted message that will be uploaded to the service. - - - - Returns a plain text message given an encrypted message. - - The encrypted message. - A value to indicate that the data read from the server should be encrypted. - The plain text message bytes. - - - - An object of type that is used to wrap/unwrap the content key during encryption. - - - - - Gets or sets the key resolver used to select the correct key for decrypting existing queue messages. - - A resolver that returns an , given a key ID. - - - - Provides a set of methods for parsing a response containing queue data from the Queue service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the approximate message count for the queue. - - The web response. - The approximate count for the queue. - - - - Gets the user-defined metadata. - - The response from server. - An object of type containing the metadata. - - - - Extracts the pop receipt from a web response header. - - The web response. - The pop receipt stored in the header of the response. - - - - Extracts the next visibility time from a web response header. - - The web response. - The time of next visibility stored in the header of the response. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - A factory class for constructing a web request to manage queues in the Queue service. - - - - - Creates a web request to get the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get Queue service stats. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get Queue service stats. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes Queue service properties to a stream, formatted in XML. - - A object. - The object to which the formatted properties are to be written. - - - - Constructs a web request to create a new queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete the queue and all of the messages within it. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete the queue and all of the messages within it. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to clear all messages in the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to clear all messages in the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - A object. - A object containing the user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - A object. - A string containing the metadata name. - A string containing the metadata value. - - - - Constructs a web request to return a listing of all queues in this storage account. - - A specifying the Queue service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return queue metadata with the listing. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return a listing of all queues in this storage account. - - A specifying the Queue service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return queue metadata with the listing. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to add a message for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - The message time-to-live, in seconds. - The length of time during which the message will be invisible, in seconds. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to add a message for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - The message time-to-live, in seconds. - The length of time during which the message will be invisible, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - The length of time during which the message will be invisible, in seconds. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - The length of time during which the message will be invisible, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to get. - A value specifying the visibility timeout. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to get. - A value specifying the visibility timeout. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to peek messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to peek. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to peek messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to peek. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Represents a Windows Azure table. - - - Represents a Windows Azure table. - - - - - Executes an operation on a table. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins execution of an asynchronous table operation. - - A object that represents the operation to perform. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins execution of an asynchronous table operation. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends execution of an asynchronous table operation. - - An that references the pending asynchronous operation. - A containing the result executing the operation on the table. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Executes a batch operation on a table as an atomic operation. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that contains the results, in order, of each operation in the on the table. - - - - Begins an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a batch of operations on a table. - - An that references the pending asynchronous operation. - A enumerable collection of type that contains the results, in order, of each operation in the on the table. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that is list of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A to observe while waiting for a task to complete. - A object that is list of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is list of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is list of type that represents the asynchronous operation. - - - - Executes a query on a table and returns an enumerable collection of objects. - - A representing the query to execute. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects, representing table entities returned by the query. - - - - Executes a segmented query on a table and returns a containing objects. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type containing the results of executing the query. - - - - Begins an asynchronous segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous segmented query on a table. - - An that references the pending asynchronous operation. - A object of type containing the results of executing the query. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Executes a query on a table and applies the specified to the result. - - A representing the query to execute. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, containing the projection into type TResult, of the results of executing the query. - - - - Executes a segmented query on a table and applies the specified to the result. - - A representing the query to execute. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object containing the results of executing the query. - - - - Begins an asynchronous operation to execute a segmented query and apply the specified to the result. - - A representing the query to execute. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - A factory method that creates a query that can be modified using LINQ. The query may be subsequently executed using one of the execution methods available for , - such as , , or . - - The entity type of the query. - A object, specialized for type TElement, that may subsequently be executed. - - The namespace includes extension methods for the object, - including , , and . To use these methods, include a using - statement that references the namespace. - - - - - Executes a query on a table. - - The entity type of the query. - A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, specialized for type TElement, of the results of executing the query. - - - - Executes a query on a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A , specialized for type TElement, containing the results of executing the query. - - - - Begins an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to query a table in segmented mode. - - The type of the results to be returned. Can be the entity type specified in the Begin or the result type of the resolver - An that references the pending asynchronous operation. - A containing the results of executing the query. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Executes a query and applies the specified to the result. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, containing the projection into type TResult, of the results of executing the query. - - - - Executes a query in segmented mode and applies the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A containing the projection into type TResult of the results of executing the query. - - - - Begins an asynchronous operation to query a table in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a query in segmented mode. - - The entity type of the query. - The type into which the will project the query results. - An that references the pending asynchronous operation. - A containing the projection into type TResult of the results of executing the query. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a table. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a table. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates the table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if table was created; otherwise, false. - This API performs an existence check and therefore requires list permissions. - - - - Begins an asynchronous operation to create a table if it does not already exist. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Begins an asynchronous operation to create a table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Ends an asynchronous operation to create a table if it does not already exist. - - An that references the pending asynchronous operation. - true if table was created; otherwise, false. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Deletes a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a table. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a table. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the table was deleted; otherwise, false. - - - - Begins an asynchronous operation to delete the table if it exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the table if it exists. - - An that references the pending asynchronous operation. - true if the table was deleted; otherwise, false. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Checks whether the table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if table exists; otherwise, false. - - - - Checks whether the table exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if table exists; otherwise, false. - - - - Begins an asynchronous operation to determine whether a table exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to determine whether a table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to determine whether a table exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to determine whether a table exists. - - An that references the pending asynchronous operation. - true if table exists; otherwise, false. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Gets the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous request to get the permissions settings for the table. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to get the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the table. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Sets the permissions settings for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous request to set permissions for the table. - - A object that represents the permissions to set. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to set permissions for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the table. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the table. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the table. - A object. - - - - Initializes a new instance of the class. - - A containing the absolute URI to the table at both the primary and secondary locations. - A object. - - - - Initializes a new instance of the class. - - The table name. - The client. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A string specifying the start partition key, or null. - A string specifying the start row key, or null. - A string specifying the end partition key, or null. - A string specifying the end row key, or null. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A string specifying the start partition key, or null. - A string specifying the start row key, or null. - A string specifying the end partition key, or null. - A string specifying the end row key, or null. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns the name of the table. - - A string containing the name of the table. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Gets the canonical name of the table, formatted as table/<account-name>/<table-name>. - - The canonical name of the table. - - - - Gets the object that represents the Table service. - - A object . - - - - Gets the name of the table. - - A string containing the name of the table. - - - - Gets the table URI for the primary location. - - A specifying the absolute URI to the table at the primary location. - - - - Gets the table's URIs for both the primary and secondary locations. - - An object of type containing the table's URIs for both the primary and secondary locations. - - - - Provides a client-side logical representation of the Windows Azure Table Service. This client is used to configure and execute requests against the Table Service. - - The service client encapsulates the endpoint or endpoints for the Table service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure Table service. This client is used to configure and execute requests against the Table service. - - The CloudTableClient object encapsulates the base URI for the Table service. If the service client will be used for authenticated access, - it also encapsulates the credentials for accessing the storage account. - - - - Returns an enumerable collection of tables, retrieved lazily, that start with the specified prefix. - - A string containing the table name prefix. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that are retrieved lazily. - - - - Returns a result segment of tables. - - A returned by a previous listing operation. - A object. - - - - Returns a result segment of tables, retrieved lazily, that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - A object. - - - - Returns a result segment of tables, retrieved lazily, that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to return a result segment of tables. - - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - The server timeout, maximum execution time, and retry policies for the operation. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment of tables. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment of tables. - - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables. - - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - The server timeout, maximum execution time, and retry policies for the operation. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - The server timeout, maximum execution time, and retry policies for the operation. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets the service properties for the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get the service properties of the Table service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get the service properties of the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get the service properties of the Table service. - - The result returned from a prior call to . - A object. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Sets the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set the service properties of the Table service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set the service properties of the Table service. - - The result returned from a prior call to - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Table service endpoint. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service stats for the secondary Table service endpoint. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Creates a new object for performing operations against the Table service. - - A service context to use for performing operations against the Table service. - - - - Initializes a new instance of the class using the specified Table service endpoint - and account credentials. - - A object containing the Table service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified Table service endpoint - and account credentials. - - A object containing the Table service endpoint to use to create the client. - A object. - - - - Gets a reference to the specified table. - - A string containing the name of the table. - A object. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - This property is set only when Shared Key or Shared Key Lite credentials are used; it does not apply to authentication via a shared access signature - or anonymous access. - Note that if you are using the legacy Table service API, which is based on WCF Data Services, the authentication scheme used by the - object will always be Shared Key Lite, regardless of the value of this property. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the Table service client. - - An object of type . - - - - Gets the account credentials used to create the Table service client. - - A object. - - - - Gets the base URI for the Table service client at the primary location. - - A object containing the base URI used to construct the Table service client at the primary location. - - - - Gets the Table service endpoints for both the primary and secondary locations. - - An object of type containing Table service URIs for both the primary and secondary locations. - - - - Gets or sets the default request options for requests made via the Table service client. - - A object. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Gets the associated account name for the client. - - The account name. - - - - Represents a custom attribute that can be used to indicate whether an entity property should be encrypted. - - - - - Represents a batch operation on a table. - - - Represents a batch operation on a table. - - A batch operation is a collection of table operations which are executed by the Storage Service REST API as a single atomic operation, by invoking an - Entity Group Transaction.A batch operation may contain up to 100 individual - table operations, with the requirement that each operation entity must have same partition key. A batch with a retrieve operation cannot contain any other operations. - Note that the total payload of a batch operation is limited to 4MB. - - - - Inserts a into the batch that retrieves an entity based on its row key and partition key. The entity will be deserialized into the specified class type which extends . - - The class of type for the entity to retrieve. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - List of column names for projection. - - - - Adds a table operation to retrieve an entity of the specified class type with the specified partition key and row key to the batch operation. - - The return type which the specified will resolve the given entity to. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - The implementation to project the entity to retrieve as a particular type in the result. - List of column names for projection. - - - - Initializes a new instance of the class. - - - - - Adds a to the that deletes the specified entity from a table. - - The entity to be deleted from the table. - - - - Adds a to the that inserts the specified entity into a table. - - The entity to be inserted into the table. - - - - Adds a object that inserts the specified entity into the table as part of the batch operation. - - The entity to be inserted into the table. - true if the message payload should be returned in the response to the insert operation;otherwise, false. - - - - Adds a to the that inserts the specified entity into a table if the entity does not exist; if the entity does exist then its contents are merged with the provided entity. - - The entity whose contents are being inserted or merged. - - - - Adds a to the that inserts the specified entity into a table if the entity does not exist; if the entity does exist then its contents are replaced with the provided entity. - - The entity whose contents are being inserted or replaced. - - - - Adds a to the that merges the contents of the specified entity with the existing entity in a table. - - The entity whose contents are being merged. - - - - Adds a to the that replaces the contents of the specified entity in a table. - - The entity whose contents are being replaced. - - - - Adds a to the that retrieves an entity with the specified partition key and row key. - - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - - - - Returns the zero-based index of the first occurrence of the specified item, or -1 if the does not contain the item. - - The item to search for. - The zero-based index of the first occurrence of item within the , if found; otherwise, –1. - - - - Inserts a into the at the specified index. - - The index at which to insert the . - The item to insert. - - - - Removes the at the specified index from the . - - The index of the to remove from the . - - - - Adds the to the . - - The item to add to the . - - - - Clears all objects from the . - - - - - Returns true if this contains the specified element. - - The item to search for. - true if the item is contained in the ; false, otherwise. - - - - Copies all the elements of the to the specified one-dimensional array starting at the specified destination array index. - - A one-dimensional array that serves as the destination for the elements copied from the . - The index in the destination array at which copying begins. - - - - Removes the specified item from the . - - The item to remove. - true if the item was successfully removed; false, otherwise. - - - - Returns an for the . - - An for items. - - - - Returns an . - - An for the . - - - - Gets or sets the item at the specified index. - - The index at which to get or set the item. - The item at the specified index. - - - - Gets the number of operations in this . - - The number of operations in the . - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; false, otherwise. - - - - Represents an encryption policy for performing envelope encryption/decryption of entities in Azure tables. - - - - - Initializes a new instance of the class with the specified key and resolver. - - An object of type that is used to wrap/unwrap the content encryption key. - The key resolver used to select the correct key for decrypting existing table entities. - If the generated policy is to be used for encryption, users are expected to provide a key at the minimum. - The absence of key will cause an exception to be thrown during encryption.
- If the generated policy is intended to be used for decryption, users can provide a key resolver. The client library will:
- 1. Invoke the key resolver, if specified, to get the key.
- 2. If resolver is not specified but a key is specified, the client library will match the key ID against the key and use the key.
-
- - - Return an encrypted entity. This method is used for encrypting entity properties. - - - - - Return a decrypted entity. This method is used for decrypting entity properties. - - - - - An object of type that is used to wrap/unwrap the content key during encryption. - - - - - Gets or sets the key resolver used to select the correct key for decrypting existing table entities. - - A resolver that returns an , given a key ID. - - - - Represents a single table operation. - - - Represents a single table operation. - - - - - Creates a new instance of the class given the - entity to operate on and the type of operation that is being - performed. - - The entity on which the operation is being performed. - The type of operation. - - - - Creates a new table operation that deletes the given entity - from a table. - - The object to be deleted from the table. - The object. - - - - Creates a new table operation that inserts the given entity - into a table. - - The object to be inserted into the table. - The object. - - - - Creates a new table operation that inserts the given entity - into a table. - - The object to be inserted into the table. - true if the message payload should be returned in the response to the insert operation. false otherwise. - The object. - - - - Creates a new table operation that inserts the given entity - into a table if the entity does not exist; if the entity does - exist then its contents are merged with the provided entity. - - The object to be inserted or merged. - The object. - - - - Creates a new table operation that inserts the given entity - into a table if the entity does not exist; if the entity does - exist then its contents are replaced with the provided entity. - - The object to be inserted or replaced. - The object. - - - - Creates a new table operation that merges the contents of - the given entity with the existing entity in a table. - - The object to be merged. - The object. - - - - Creates a new table operation that replaces the contents of - the given entity in a table. - - The object to be replaced. - The object. - - - - Creates a new table operation that retrieves the contents of - the given entity in a table. - - The class of type for the entity to retrieve. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - List of column names for projection. - The object. - - - - Creates a new table operation that retrieves the contents of - the given entity in a table. - - The return type which the specified will resolve the given entity to. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - The implementation to project the entity to retrieve as a particular type in the result. - List of column names for projection. - The object. - - - - Creates a new table operation that retrieves the contents of - the given entity in a table. - - A string containing the partition key of the entity to be retrieved. - A string containing the row key of the entity to be retrieved. - List of column names for projection. - The object. - - - - Gets the entity that is being operated upon. - - - - - Gets the type of operation. - - - - - Gets or sets the value that represents whether the message payload should be returned in the response. - - - - - List of columns to project with for the retrieve operation. - - - - - Represents a query against a Windows Azure table. - - A class which implements . - - Represents a query against a Windows Azure table. - - - - - Initializes a new instance of the class. - - - - - Executes a query on a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, specialized for type TElement, of the results of executing the query. - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A object returned by a previous listing operation. May be null. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A object returned by a previous listing operation. May be null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - A object that specifies additional options for the request. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a query and return the results as a result segment. - - The reference to the pending asynchronous request to finish. - A object of type . - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null./// A to observe while waiting for a task to complete. - A of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - An object that represents the context for the current operation. - A object that specifies additional options for the request. - A of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - An object that represents the context for the current operation. - A object that specifies additional options for the request. - A to observe while waiting for a task to complete. - A of type that represents the asynchronous operation. - - - - Executes a segmented query against a table. - - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A , specialized for type TElement, containing the results of executing the query. - - - - Returns an enumerator that iterates through the . - - An for the . - - - - Defines the property names of the table entity properties to return when the table query is executed. - - A list of string objects containing the property names of the table entity properties to return when the query is executed. - A instance set with the table entity properties to return. - The select clause is optional on a table query, and is used to limit the table properties returned from the server. - By default, a query will return all properties from the table entity. - - - - Defines the upper bound for the number of entities the query returns. - - The maximum number of entities for the table query to return. - A instance set with the number of entities to return. - - - - Defines a filter expression for the table query. Only entities that satisfy the specified filter expression will be returned by the query. - - Setting a filter expression is optional; by default, all entities in the table are returned if no filter expression is specified in the table query. - A string containing the filter expression to apply to the table query. - A instance set with the filter on entities to return. - - - - Gets the type of the element(s) that are returned when the expression tree is executed. - - A that represents the type of the element(s) that are returned when the expression tree associated with this object is executed. - - - - Gets the expression tree. - - The that is associated with this instance of . - - - - Gets the query provider that is associated with this data source. - - The that is associated with this data source. - - - - Gets or sets the number of entities the query returns specified in the table query. - - The maximum number of entities for the table query to return. - - - - Gets or sets the filter expression to use in the table query. - - A string containing the filter expression to use in the query. - - - - Gets or sets the property names of the table entity properties to return when the table query is executed. - - A list of strings containing the property names of the table entity properties to return when the query is executed. - - - - Represents a query against a specified table. - - The class aggregates and encodes the query parameters to pass with the request when the query is executed. - To execute the query, call the executeQuery or executeQuerySegmented method of the class. - - - - Represents a query against a specified table. - - A instance aggregates the query parameters to use when the query is executed. One of the executeQuery or executeQuerySegmented methods - of must be called to execute the query. The parameters are encoded and passed to the server when the table query is executed. - - - - Specifies the names of the entity properties to return when the query is executed against the table. - - The Project clause is optional on a query, used to limit the properties returned from the server. By default, a query will return all properties from the entity. - The entity type of the query. - The entity instance to project off of. - A list of string objects containing the names of the entity properties to return when the query is executed. - A instance set with the entity properties to return. - - - - Generates a property filter condition string for the string value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A string containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the boolean value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A bool containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the binary value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A byte array containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for an value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - An containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for an value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - An containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value, formatted as the specified . - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A string containing the value to compare with the property. - The to format the value as. - A string containing the formatted filter condition. - - - - Creates a filter condition using the specified logical operator on two filter conditions. - - A string containing the first formatted filter condition. - A string containing the operator to use (AND, OR). - A string containing the second formatted filter condition. - A string containing the combined filter expression. - - - - Defines the property names of the table entity properties to return when the table query is executed. - - The select clause is optional on a table query, used to limit the table properties returned from the server. By default, a query will return all properties from the table entity. - A list of string objects containing the property names of the table entity properties to return when the query is executed. - A instance set with the table entity properties to return. - - - - Defines the upper bound for the number of entities the query returns. - - The maximum number of entities for the table query to return. - A instance set with the number of entities to return. - - - - Defines a filter expression for the table query. Only entities that satisfy the specified filter expression will be returned by the query. - - Setting a filter expression is optional; by default, all entities in the table are returned if no filter expression is specified in the table query. - A string containing the filter expression to apply to the table query. - A instance set with the filter on entities to return. - - - - Gets or sets the number of entities the table query will return. - - The maximum number of entities for the table query to return. - - - - Gets or sets the filter expression to use in the table query. - - A string containing the filter expression to use in the query. - - - - Gets or sets the property names of the table entity properties to return when the table query is executed. - - A list of strings containing the property names of the table entity properties to return when the query is executed. - - - - Represents a object for use with the Windows Azure Table service. - - The class does not support concurrent queries or requests. - - - - Initializes a new instance of the class. - - - - - Callback on DataContext object sending request. - - The sender. - The instance containing the event data. - - - - Saves changes, using the retry policy specified for the service context. - - A that represents the result of the operation. - - - - Saves changes, using the retry policy specified for the service context. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A that represents the result of the operation. - - - - Begins an asynchronous operation to save changes, using the retry policy specified for the service context. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - - An that references the asynchronous operation. - - - - Ends an asynchronous operation to save changes. - - An that references the pending asynchronous operation. - A that represents the result of the operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Releases all resources used by the TableServiceContext. - - - - - Releases the unmanaged resources used by the TableServiceContext and optionally releases the managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the object that represents the Table service. - - A client object that specifies the Table service endpoint. - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Represents an entity in the Windows Azure Table service. - - - - - Initializes a new instance of the class. - - The partition key. - The row key. - - - - Initializes a new instance of the class. - - - - - Gets or sets the timestamp for the entity. - - The entity's timestamp. - - - - Gets or sets the partition key of a table entity. - - The partition key. - - - - Gets or sets the row key of a table entity. - - The row key. - - - - Provides a set of extensions for the Table service. - - - - - Converts the query into a object that supports - additional operations like retries. - - The type of the element. - The query. - A object that represents the runtime context of the Table service. - The converted query. - - - - A class for constructing a query against the Table service. - - The type of the element. - - - - Initializes a new instance of the class. - - An object that implements . - A object. - - - - Expands the specified path. - - The path to expand. - A new query with the expanded path. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Executes the request with any specified options. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, specialized for type TElement, of the results of executing the query. - - - - Executes a segmented query against the Table service. - - The continuation token. - The request options. - An object that represents the context for the current operation. - A result segment containing objects of type . - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a query and return the results as a result segment. - - The reference to the pending asynchronous request to finish. - A result segment containing objects of type . - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the Table service context. - - - An object of type . - - - - - Stores the wrapped . - - - - - Gets the type of the element(s) that are returned when the expression tree associated with this - instance of is executed. - - - A that represents the type of the element(s) that are returned when the expression tree associated with this object is executed. - - - - - Gets the expression tree that is associated with the instance of . - - - The that is associated with this instance of . - - - - - Gets the query provider that is associated with this data source. - - - The that is associated with this data source. - - - - - A factory class for constructing a web request to manage tables in the Table service. - - - - - Creates a web request to get the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes Table service properties to a stream, formatted in XML. - - A object containing the service properties to format and write to the stream. - The object to which the formatted properties are to be written. - - - - Constructs a web request to return the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Provides a set of methods for parsing a response stream from the Table service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - Gets the table continuation from response. - - The response. - The continuation. - - - - Translates the data service exception. - - The exception. - The request result. - The delegate used to parse the error to get extended error information. - - The translated exception. - - - - - Look for an inner exception of type T. - - The exception. - The found exception or null. - - - - Applies the continuation to query. - - The continuation token. - The local query. - The modified query. - - - - Gets the query take count. - - The type of the element. - The query. - The default value. - - The take count of the query, if any. - - - - - Gets the table continuation from response. - - The response. - The continuation. - - - - Copies the headers and properties from a request into a different request. - - The request to copy into. - The request to copy from. - - - - Gets an ETag from a response. - - The web response. - A quoted ETag string. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Gets the metadata or properties. - - The response from server. - The prefix for all the headers. - A of the headers with the prefix. - - - - Converts a string to UTC time. - - The string to convert. - A UTC representation of the string. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Reads a collection of shared access policies from the specified object. - - A collection of shared access policies to be filled. - A policy response object for reading the stream. - The type of policy to read. - - - - Creates the web request. - - The HTTP method. - The request URI. - The timeout. - A object specifying additional parameters to add to the URI query string. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request for performing the operation. - - - - - Creates the specified URI. - - The URI to create. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Constructs a web request to return the ACL for a cloud resource. - - The absolute URI to the resource. - The server timeout interval. - An optional query builder to use. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to set the ACL for a cloud resource. - - The absolute URI to the resource. - The server timeout interval. - An optional query builder to use. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request to use to perform the operation. - - - - Gets the properties. - - The URI to query. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Gets the metadata. - - The blob Uri. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Sets the metadata. - - The blob Uri. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Adds the metadata. - - The request. - The metadata. - - - - Adds the metadata. - - The request. - The metadata name. - The metadata value. - - - - Deletes the specified URI. - - The URI of the resource to delete. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Creates a web request to get the properties of the service. - - The absolute URI to the service. - A object specifying additional parameters to add to the URI query string. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to get the service properties. - - - - - Creates a web request to set the properties of the service. - - The absolute URI to the service. - The builder. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to set the service properties. - - - - - Creates a web request to get the stats of the service. - - The absolute URI to the service. - A object specifying additional parameters to add to the URI query string. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to get the service stats. - - - - - Generates a query builder for building service requests. - - A for building service requests. - - - - Represents a storage service. - - - - - Blob service. - - - - - Queue Service. - - - - - Table Service. - - - - - File Service. - - - - - Adds the lease id. - - The request. - The lease id. - - - - Adds an optional header to a request. - - The web request. - The metadata name. - The metadata value. - - - - Adds an optional header to a request. - - The web request. - The header name. - The header value. - - - - Adds an optional header to a request. - - The web request. - The header name. - The header value. - - - - Applies the lease condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the sequence number condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the append condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the condition for a source blob to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Stream that will be used for decrypting blob ranges. It buffers 16 bytes of IV (if required) before creating a crypto stream and routing the - rest of the data through it. - - - - - This class provides a wrapper that will update the Ingress / Egress bytes of a given request result as the stream is used. - Note this is not supported for Windows RT / .Net 4.5 as some Async methods may not be able to be intercepted. - - - - - Initializes a new instance of the ByteCountingStream class with an expandable capacity initialized to zero. - - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - Stream that will be used for decrypting blob ranges. It is used to discard extra bytes from the beginning and end if required. - - - - - Creates a well-formatted log entry so that logs can be easily parsed - - An object that represents the context for the current operation. - A composite format string. - An object array that contains zero or more objects to format. - Log entry that contains common log prefix and a copy of format in which the format items have been replaced by the string representation of the corresponding objects in args. - - - - Determines if the current operation context allows for a specific level of log entry. - - Level of the log entry. - An object that represents the context for the current operation. - true if the entry should be logged; otherwise false. - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing. - For detailed information on how to authenticate a request, - see Authentication for the Windows Azure Storage Services. - - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key authentication scheme for the Blob or Queue service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key Lite authentication scheme for the Blob or Queue service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key Lite authentication scheme for the Table service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key authentication scheme for the Table service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Helper class to allow an APM Method to be executed with a given timeout in milliseconds - - - - - Helper class to convert an APM method to a Task method. - - - - - This class provides asynchronous semaphore functionality (based on Stephen Toub's blog). - - - - - Creates and initializes a new asynchronous copy operation. - - The source stream. - The destination stream. - An ExecutionState used to coordinate copy operation. - Size of read and write buffers used to move data. - Boolean value indicating whether the MD-5 should be calculated. - An object that represents the state for the current operation. - - - - Begins a stream copy operation. - - Callback delegate - Number of bytes to copy from source stream to destination stream. Cannot be passed with a value for maxLength. - Maximum length of the source stream. Cannot be passed with a value for copyLength. - - - - Aborts an ongoing copy operation. - - - - - Cleans up references. To end a copy operation, use Abort(). - - - - - Synchronizes Read and Write operations, and handles exceptions. - - Read/Write operation or null if first run. - - - - Helper method for EndOpWithCatch(IAsyncResult). Begins/Ends Read and Write Stream operations. - Should only be called by EndOpWithCatch(IAsyncResult) since it assumes we are inside the lock. - - Read/Write operation or null if first run. - - - - Callback for timeout timer. Aborts the AsyncStreamCopier operation if a timeout occurs. - - AsyncStreamCopier operation. - True if the timer has timed out, false otherwise. - - - - Aborts the AsyncStreamCopier operation. - - AsyncStreamCopier operation. - True if aborted due to a time out, or false for a general cancellation. - - - - Terminates and cleans up the AsyncStreamCopier. - - - - - Helper method for this.SignalCompletion() - Should only be called by this.SignalCompletion() - - - - - Determines whether the next operation should begin or halt due to an exception or cancellation. - - True to continue, false to halt. - - - - Waits for a read operation to end and updates the AsyncStreamCopier state. - - - - - Waits for a write operation to end and updates the AsyncStreamCopier state. - - - - - If a read operation has completed with data, swaps the read/write buffers and resets their corresponding counts. - This must be called inside a lock as it could lead to undefined behavior if multiple unsynchronized callers simultaneously called in. - - Number of bytes to write, or negative if no read operation has completed. - - - - Determines the number of bytes that should be read from the source in the next BeginRead operation. - Should only be called when no outstanding read operations exist. - - Number of bytes to read. - - - - Determines whether no more data can be read from the source Stream. - - True if at the end, false otherwise. - - - - Determines whether the current read buffer contains data ready to be written. - - True if read buffer is full, false otherwise. - - - - Represents an operation that supports cancellation. Used by - ICancellableAsyncResult implementations throughout the library. - Also used by AsyncExtensions as a bridge between CancellationToken - and the ICancellableAsyncResult returned by an APM method call. - - - - - The class is provides the helper functions to do FISMA compliant MD5. - - - - - Cryptographic service provider. - - - - - Access to the private keys is not required and the user interface can be bypassed. - - - - - ALG_ID value that identifies the hash algorithm to use. - - - - - The hash value or message hash for the hash object specified by hashHandle. - - - - - The address to which the function copies a handle to the new hash object. Has to be released by calling the CryptDestroyHash function after we are finished using the hash object. - - - - - A handle to a CSP created by a call to CryptAcquireContext. - - - - - Whether this object has been torn down or not. - - - - - Initializes a new instance of NativeMD5. - - - - - Finalizes an instance of the NativeMD5 class, unhooking it from all events. - - - - - Initializes an implementation of the NativeMD5 class. - - - - - Routes data written to the object into the hash algorithm for computing the hash. - - The input to compute the hash code for. - The offset into the byte array from which to begin using data. - The number of bytes in the byte array to use as data. - - - - Finalizes the hash computation after the last data is processed by the cryptographic stream object. - - The computed hash code. - - - - Releases the unmanaged resources used by the NativeMD5. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Validates the status returned by all the crypto functions and throws exception per the return code. - - The boolean status returned by the crypto functions. - - - - Represents the async result returned by operations that do not directly - call into the Executor. - - Async operation's result type - - - - Represents the async result returned by a storage command. - - - - - The callback provided by the user. - - - - - The state for the callback. - - - - - Indicates whether a task is completed. - - - - - Indicates whether task completed synchronously. - - - - - The event for blocking on this task's completion. - - - - - Initializes a new instance of the StorageCommandAsyncResult class. - - The callback method to be used on completion. - The state for the callback. - - - - We implement the dispose only to allow the explicit closing of the event. - - - - - Releases unmanaged and - optionally - managed resources. - - Set to true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Provides the lazy initialization of the WaitHandle (based on Joe Duffy's blog). - - The WaitHandle to use for waiting on completion. - - - - Called on completion of the async operation to notify the user - (Based on Joe Duffy's lockless design). - - - - - Blocks the calling thread until the async operation is completed. - - - - - Updates the CompletedSynchronously flag with another asynchronous operation result. - - Set to true if the last operation was completed synchronously; false if it was completed asynchronously. - - - - Gets A user-defined object that contains information about the asynchronous operation. - - - - - Gets a System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete. - - - - - Gets a value indicating whether the asynchronous operation completed synchronously. - - - - - Gets a value indicating whether the asynchronous operation has completed. - - - - - Initializes a new instance of the StorageAsyncResult class. - - The callback method to be used on completion. - The state for the callback. - - - - Called on completion of the async operation to notify the user - - Exception that was caught by the caller. - - - - Blocks the calling thread until the async operation is completed and throws - any stored exceptions. - - - - - Represents a set of access conditions to be used for operations against the storage services. - - - - - Time for IfModifiedSince. - - - - - Time for IfUnmodifiedSince. - - - - - Constructs an empty access condition. - - An empty object. - - - - Constructs an access condition such that an operation will be performed only if the resource does not exist. - - An object that represents a condition where a resource does not exist. - Setting this access condition modifies the request to include the HTTP If-None-Match conditional header. - - - - Constructs an access condition such that an operation will be performed only if the resource exists. - - An object that represents a condition where a resource exists. - Setting this access condition modifies the request to include the HTTP If-Match conditional header. - - - - Constructs an access condition such that an operation will be performed only if the resource's ETag value - matches the specified ETag value. - - The ETag value to check against the resource's ETag. - An object that represents the If-Match condition. - - - - Constructs an access condition such that an operation will be performed only if the resource has been - modified since the specified time. - - A value specifying the time since which the resource must have been modified. - An object that represents the If-Modified-Since condition. - - - - Constructs an access condition such that an operation will be performed only if the resource's ETag value - does not match the specified ETag value. - - The ETag value to check against the resource's ETag, or "*" to require that the resource does not exist. - An object that represents the If-None-Match condition. - - If "*" is specified for the parameter, then this condition requires that the resource does not exist. - - - - - Constructs an access condition such that an operation will be performed only if the resource has not been - modified since the specified time. - - A value specifying the time since which the resource must not have been modified. - An object that represents the If-Unmodified-Since condition. - - - - Constructs an access condition such that an operation will be performed only if the size of the append blob after committing the block is less - than or equal to the specified value. - - An integer specifying the maximum allowed size of the blob, in bytes, when committing a new block. - An object that represents the maximum allowed size. - - - - Constructs an access condition such that an operation will be performed only if the end position of the append blob is equal to the specified value. - - An integer specifying the offset to compare to the current end position of the blob. - An object that represents the offset to compare. - - - - Constructs an access condition such that an operation will be performed only if resource's current sequence - number is less than or equal to the specified value. - - The value to compare to the current sequence number. - An object that represents the If-Sequence-Number-LE condition. - - - - Constructs an access condition such that an operation will be performed only if resource's current sequence - number is less than the specified value. - - The value to compare to the current sequence number. - An object that represents the If-Sequence-Number-LT condition. - - - - Constructs an access condition such that an operation will be performed only if resource's current sequence - number is equal to the specified value. - - The value to compare to the current sequence number. - An object that represents the If-Sequence-Number-EQ condition. - - - - Constructs an access condition such that an operation will be performed only if the lease ID on the - resource matches the specified lease ID. - - The lease ID to compare to the lease ID of the resource. - An object that represents the lease condition. - - - - Constructs an access condition such that an operation will be performed only if the resource's ETag value - matches the specified ETag value and the lease ID on the resource matches the lease ID specified in - the given access condition. - - An object that represents the condition that must be met in order for the request to proceed. - The ETag value that must be matched. - An object that represents the If-Match and the lease conditions. - - - - Gets or sets an ETag value for a condition specifying that the given ETag must match the ETag of the specified resource. - - A string containing an ETag value, or "*" to match any ETag. If null, no condition exists. - - - - Gets or sets an ETag value for a condition specifying that the given ETag must not match the ETag of the specified resource. - - A string containing an ETag value, or "*" to match any ETag. If null, no condition exists. - - - - Gets or sets a value for a condition specifying a time since which a resource has been modified. - - A value specified in UTC, or null if no condition exists. - - - - Gets or sets a value for a condition specifying a time since which a resource has not been modified. - - A value specified in UTC, or null if no condition exists. - - - - Gets or sets a value for a condition that specifies the maximum size allowed for an append blob when a new block is committed. The append - will succeed only if the size of the blob after the append operation is less than or equal to the specified size. - - The maximum size in bytes, or null if no value is set. - This condition only applies to append blobs. - - - - Gets or sets a value for a condition specifying the byte offset to check for when committing a block to an append blob. - The append will succeed only if the end position is equal to this number. - - An append position number, or null if no value is set. - This condition only applies to append blobs. - - - - Gets or sets a value for a condition specifying that the current sequence number must be less than or equal to the specified value. - - A sequence number, or null if no condition exists. - This condition only applies to page blobs. - - - - Gets or sets a value for a condition specifying that the current sequence number must be less than the specified value. - - A sequence number, or null if no condition exists. - This condition only applies to page blobs. - - - - Gets or sets a value for a condition specifying that the current sequence number must be equal to the specified value. - - A sequence number, or null if no condition exists. - This condition only applies to page blobs. - - - - Gets or sets a lease ID that must match the lease on a resource. - - A string containing a lease ID, or null if no condition exists. - - - - Determines whether the access condition is one of the four conditional headers. - - true if the access condition is a conditional header; otherwise, false. - - - - Specifies the authentication scheme used to sign HTTP requests. - - - - - Signs HTTP requests using the Shared Key Lite authentication scheme. - - - - - Signs HTTP requests using the Shared Key authentication scheme. - - - - - Represents a Windows Azure Storage account. - - - - - The setting name for using the development storage. - - - - - The setting name for specifying a development storage proxy Uri. - - - - - The setting name for using the default storage endpoints with the specified protocol. - - - - - The setting name for the account name. - - - - - The setting name for the account key name. - - - - - The setting name for the account key. - - - - - The setting name for a custom blob storage endpoint. - - - - - The setting name for a custom queue endpoint. - - - - - The setting name for a custom table storage endpoint. - - - - - The setting name for a custom file storage endpoint. - - - - - The setting name for a custom storage endpoint suffix. - - - - - The setting name for a shared access key. - - - - - The default account name for the development storage. - - - - - The default account key for the development storage. - - - - - The suffix appended to account in order to access secondary location for read only access. - - - - - The default storage service hostname suffix. - - - - - The default blob storage DNS hostname prefix. - - - - - The root queue DNS name prefix. - - - - - The root table storage DNS name prefix. - - - - - The default file storage DNS hostname prefix. - - - - - The FISMA compliance default value. - - - - - Validator for the UseDevelopmentStorage setting. Must be "true". - - - - - Validator for the DevelopmentStorageProxyUri setting. Must be a valid Uri. - - - - - Validator for the DefaultEndpointsProtocol setting. Must be either "http" or "https". - - - - - Validator for the AccountName setting. No restrictions. - - - - - Validator for the AccountKey setting. No restrictions. - - - - - Validator for the AccountKey setting. Must be a valid base64 string. - - - - - Validator for the BlobEndpoint setting. Must be a valid Uri. - - - - - Validator for the QueueEndpoint setting. Must be a valid Uri. - - - - - Validator for the TableEndpoint setting. Must be a valid Uri. - - - - - Validator for the FileEndpoint setting. Must be a valid Uri. - - - - - Validator for the EndpointSuffix setting. Must be a valid Uri. - - - - - Validator for the SharedAccessSignature setting. No restrictions. - - - - - Singleton instance for the development storage account. - - - - - Initializes a new instance of the class using the specified - credentials and service endpoints. - - A object. - A specifying the primary Blob service endpoint. - A specifying the primary Queue service endpoint. - A specifying the primary Table service endpoint. - A specifying the primary File service endpoint. - - - - Initializes a new instance of the class using the specified - account credentials and service endpoints. - - A object. - A specifying the Blob service endpoint or endpoints. - A specifying the Queue service endpoint or endpoints. - A specifying the Table service endpoint or endpoints. - A specifying the File service endpoint or endpoints. - - - - Initializes a new instance of the class using the specified - credentials, and specifies whether to use HTTP or HTTPS to connect to the storage services. - - A object. - true to use HTTPS to connect to storage service endpoints; otherwise, false. - Using HTTPS to connect to the storage services is recommended. - - - - Initializes a new instance of the class using the specified - credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services. - - A object. - The DNS endpoint suffix for all storage services, e.g. "core.windows.net". - true to use HTTPS to connect to storage service endpoints; otherwise, false. - Using HTTPS to connect to the storage services is recommended. - - - - Initializes a new instance of the class using the specified - credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services. - - A object. - The name of the account. - The DNS endpoint suffix for all storage services, e.g. "core.windows.net". - true to use HTTPS to connect to storage service endpoints; otherwise, false. - Using HTTPS to connect to the storage services is recommended. - - - - Parses a connection string and returns a created - from the connection string. - - A valid connection string. - Thrown if is null or empty. - Thrown if is not a valid connection string. - Thrown if cannot be parsed. - A object constructed from the values provided in the connection string. - - - - Indicates whether a connection string can be parsed to return a object. - - The connection string to parse. - A object to hold the instance returned if - the connection string can be parsed. - true if the connection string was successfully parsed; otherwise, false. - - - - Creates the Table service client. - - A object. - - - - Creates the Queue service client. - - A object. - - - - Creates the Blob service client. - - A object. - - - - Creates an analytics client. - - A object. - - - - Creates the File service client. - - A client object that specifies the File service endpoint. - - - - Returns a shared access signature for the account. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a connection string for this storage account, without sensitive data. - - A connection string. - - - - Returns a connection string for the storage account, optionally with sensitive data. - - True to include sensitive data in the string; otherwise, false. - A connection string. - - - - Returns a with development storage credentials using the specified proxy Uri. - - The proxy endpoint to use. - The new . - - - - Internal implementation of Parse/TryParse. - - The string to parse. - The to return. - A callback for reporting errors. - If true, the parse was successful. Otherwise, false. - - - - Tokenizes input and stores name value pairs. - - The string to parse. - Error reporting delegate. - Tokenized collection. - - - - Encapsulates a validation rule for an enumeration based account setting. - - The name of the setting. - A list of valid values for the setting. - An representing the enumeration constraint. - - - - Encapsulates a validation rule using a func. - - The name of the setting. - A func that determines if the value is valid. - An representing the constraint. - - - - Determines whether the specified setting value is a valid base64 string. - - The setting value. - true if the specified setting value is a valid base64 string; otherwise, false. - - - - Validation function that validates Uris. - - Value to validate. - true if the specified setting value is a valid Uri; otherwise, false. - - - - Validation function that validates a domain name. - - Value to validate. - true if the specified setting value is a valid domain; otherwise, false. - - - - Settings filter that requires all specified settings be present and valid. - - A list of settings that must be present. - The remaining settings or null if the filter's requirement is not satisfied. - - - - Settings filter that removes optional values. - - A list of settings that are optional. - The remaining settings or null if the filter's requirement is not satisfied. - - - - Settings filter that ensures that at least one setting is present. - - A list of settings of which one must be present. - The remaining settings or null if the filter's requirement is not satisfied. - - - - Settings filter that ensures that a valid combination of credentials is present. - - The remaining settings or null if the filter's requirement is not satisfied. - - - - Tests to see if a given list of settings matches a set of filters exactly. - - The settings to check. - A list of filters to check. - - If any filter returns null, false. - If there are any settings left over after all filters are processed, false. - Otherwise true. - - - - - Gets a StorageCredentials object corresponding to whatever credentials are supplied in the given settings. - - The settings to check. - The StorageCredentials object specified in the settings. - - - - Gets the default blob endpoint using specified settings. - - The settings to use. - The default blob endpoint. - - - - Gets the default blob endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default blob endpoint. - - - - Gets the default file endpoint using specified settings. - - The settings to use. - The default file endpoint. - - - - Gets the default file endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default file endpoint. - - - - Gets the default queue endpoint using the specified settings. - - The settings. - The default queue endpoint. - - - - Gets the default queue endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default queue endpoint. - - - - Gets the default table endpoint using the specified settings. - - The settings. - The default table endpoint. - - - - Gets the default table endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default table endpoint. - - - - Gets or sets a value indicating whether the FISMA MD5 setting will be used. - - false to use the FISMA MD5 setting; true to use the .NET default implementation. - - - - Gets a object that references the well-known development storage account. - - A object representing the development storage account. - - - - Indicates whether this account is a development storage account. - - - - - The storage service hostname suffix set by the user, if any. - - - - - The connection string parsed into settings. - - - - - True if the user used a constructor that auto-generates endpoints. - - - - - Gets the primary endpoint for the Blob service, as configured for the storage account. - - A containing the primary Blob service endpoint. - - - - Gets the primary endpoint for the Queue service, as configured for the storage account. - - A containing the primary Queue service endpoint. - - - - Gets the primary endpoint for the Table service, as configured for the storage account. - - A containing the primary Table service endpoint. - - - - Gets the primary endpoint for the File service, as configured for the storage account. - - A containing the primary File service endpoint. - - - - Gets the endpoints for the Blob service at the primary and secondary location, as configured for the storage account. - - A containing the Blob service endpoints. - - - - Gets the endpoints for the Queue service at the primary and secondary location, as configured for the storage account. - - A containing the Queue service endpoints. - - - - Gets the endpoints for the Table service at the primary and secondary location, as configured for the storage account. - - A containing the Table service endpoints. - - - - Gets the endpoints for the File service at the primary and secondary location, as configured for the storage account. - - A containing the File service endpoints. - - - - Gets the credentials used to create this object. - - A object. - - - - Specifies that the method will make one or more requests to the storage service. - - - - - Represents the encryption agent stored on the service. It consists of the encryption protocol version and encryption algorithm used. - - - - - Initializes a new instance of the class using the specified protocol version and the algorithm. - - The encryption protocol version. - The encryption algorithm. - - - - The protocol version used for encryption. - - - - - The algorithm used for encryption. - - - - - Specifies the encryption algorithm used to encrypt a resource. - - - - - AES-CBC using a 256 bit key. - - - - - Represents the encryption data that is stored on the service. - - - - - Gets or sets the wrapped key that is used to store the wrapping algorithm, key identifier and the encrypted key bytes. - - A object that stores the wrapping algorithm, key identifier and the encrypted key bytes. - - - - Gets or sets the encryption agent that is used to identify the encryption protocol version and encryption algorithm. - - The encryption agent. - - - - Gets or sets the content encryption IV. - - The content encryption IV. - - - - Gets or sets the user-defined encryption metadata. - - An object containing the encryption metadata as a collection of name-value pairs. - - - - An interface that allows clients to provide a buffer manager to a given service client. This interface is patterned after - the System.ServiceModel.Channels.BufferManager class. - - - - - Returns a buffer to the pool. - - A byte array specifying the buffer to return to the pool. - Buffer reference cannot be null. - Length of buffer does not match the pool's buffer length property. - - - - Gets a buffer of the specified size or larger from the pool. - - The size, in bytes, of the requested buffer. - The value specified for cannot be less than zero. - A byte array that is the requested size of the buffer. - - - - Gets the size, in bytes, of the buffers managed by the given pool. Note that the buffer manager must return buffers of the exact size requested by the client. - - The size, in bytes, of the buffers managed by the given pool. - - - - An interface required for continuation token types. - - The , , - and classes implement the interface. - - - - Gets the location that the token applies to. - - A enumeration value. - - - - Specifies either a single IP Address or a single range of IP Addresses (a minimum and a maximum, inclusive.) - - - - - Initializes a new instance of the IPAddressOrRange class from a single IPAddress. - - The IP Address that the IPAddressOrRange object will represent. - - - - Initializes a new instance of the IPAddressOrRange class from two IPAddress objects, a minimum and a maximum. - - The minimum IP Address that the IPAddressOrRange object will use as a range boundary, inclusive. - The maximum IP Address that the IPAddressOrRange object will use as a range boundary, inclusive. - - - - Provides a string representation of this IPAddressOrRange object. - - The string representation of this IPAddressOrRange object. - - - - Assert that an IP address is in IPv4 format. - - The IP address to assert. - - - - The IP Address. - Returns null if this object represents a range of IP addresses. - - - - - The minimum IP Address for the range, inclusive. - Returns null if this object represents a single IP address. - - - - - The maximum IP Address for the range, inclusive. - Returns null if this object represents a single IP address. - - - - - True if this object represents a single IP Address, false if it represents a range. - - - - - An interface required for request option types. - - The , , and classes implement the interface. - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the location mode of the request. - - A enumeration value. - - - - Gets or sets the default server timeout for the request. - - A containing the server timeout interval. - - - - Gets or sets the maximum execution time across all potential retries. - - A containing the maximum execution time across all potential retries. - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Specifies what messages to output to the log. - - - - - 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. - - - - - Provides helpers to validate resource names across the Microsoft Azure Storage Services. - - - - - Checks if a container name is valid. - - A string representing the container name to validate. - - - - Checks if a queue name is valid. - - A string representing the queue name to validate. - - - - Checks if a share name is valid. - - A string representing the share name to validate. - - - - Checks if a blob name is valid. - - A string representing the blob name to validate. - - - - Checks if a file name is valid. - - A string representing the file name to validate. - - - - Checks if a directory name is valid. - - A string representing the directory name to validate. - - - - Checks if a table name is valid. - - A string representing the table name to validate. - - - - Represents the context for a request operation against the storage service, and provides additional runtime information about its execution. - - - - - Initializes a new instance of the class. - - - - - Gets or sets additional headers on the request, for example, for proxy or logging information. - - A object containing additional header information. - - - - Gets or sets the client request ID. - - A string containing the client request ID. - - - - Gets or sets the default logging level to be used for subsequently created instances of the class. - - A value of type that specifies which events are logged by default by instances of the . - - - - Gets or sets the logging level to be used for an instance of the class. - - A value of type that specifies which events are logged by the . - - - - Occurs immediately before a request is signed. - - - - - Occurs when a response is received from the server, before any processing or downloading. - - - - - Occurs after a response has been fully received and processed. - - - - - Occurs before a request is retried - - - - - Occurs immediately before a request is signed. - - - - - Occurs when a response is received from the service, before any processing or downloading. - - - - - Occurs after a response has been fully received and processed. - - - - - Occurs before a request is retried - - - - - Gets or sets the start time of the operation. - - A value indicating the start time of the operation. - - - - Gets or sets the end time of the operation. - - A value indicating the end time of the operation. - - - - Gets or sets the set of request results that the current operation has created. - - An object that contains objects that represent the request results created by the current operation. - - - - Gets the last request result encountered for the operation. - - A object that represents the last request result. - - - - Provides information and event data that is associated with a request event. - - - - - Initializes a new instance of the class by using the specified parameter. - - The object. - - - - Gets the request information associated with this event. - - The request information associated with this event. - - - - Gets the HTTP request associated with this event. - - The HTTP request associated with this event. - - - - Gets the HTTP response associated with this event. - - The HTTP response associated with this event. - - - - Represents the result of a physical request. - - - - - Translates the specified message into a object. - - The message to translate. - The translated . - - - - Generates a serializable RequestResult from its XML representation. - - The stream from which the RequestResult is deserialized. - - - - Converts a serializable RequestResult into its XML representation. - - The stream to which the RequestResult is serialized. - - - - Gets or sets the HTTP status code for the request. - - The HTTP status code for the request. - - - - Gets the HTTP status message for the request. - - The HTTP status message for the request. - - - - Gets the service request ID for this request. - - The service request ID for this request. - - - - Gets the content-MD5 value for the request. - - The content-MD5 value for the request. - - - - Gets the ETag value of the request. - - The ETag value of the request. - - - - The number of bytes read from the response body for the given request - - - - - The number of bytes written to the request body for a given request - - - - - Gets the request date. - - The request date. - - - - Gets the location to which the request was sent. - - A enumeration value. - - - - Gets the extended error information. - - A object. - - - - Gets or sets the exception. - - An object. - - - - Gets the start time of the operation. - - A value indicating the start time of the operation. - - - - Gets the end time of the operation. - - A value indicating the end time of the operation. - - - - Represents a result segment that was retrieved from the total set of possible results. - - The type of the element returned in the result segment. - - - - Stores the continuation token used to retrieve the next segment of results. - - - - - Initializes a new instance of the ResultSegment class. - - The result. - - - - Gets an enumerable collection of results. - - An enumerable collection of results of type TElement. - - - - Gets a continuation token to use to retrieve the next set of results with a subsequent call to the operation. - - An object of type . - - - - Specifies the set of possible permissions for a shared access account policy. - - - - - No shared access granted. - - - - - Permission to read resources and list queues and tables granted. - - - - - Permission to add messages, table entities, blobs, and files granted. - - - - - Permission to create containers, blobs, shares, directories, and files granted. - - - - - Permissions to update messages and table entities granted. - - - - - Permission to get and delete messages granted. - - - - - Permission to write resources granted. - - - - - Permission to delete resources granted. - - - - - Permission to list blob containers, blobs, shares, directories, and files granted. - - - - - Represents a shared access policy for a account, which specifies the start time, expiry time, - permissions, signed service, signed resource type, signed protocol, and signed IP addresses for a shared access signature. - - - - - Initializes a new instance of the SharedAccessAccountPolicy class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions in string format. - - - - Converts the services specified for the shared access policy to a string. - - A object. - The shared access services in string format. - - - - Converts the ResourceTypes specified for the shared access policy to a string. - - A object. - The shared access resource types in string format. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Gets or sets the services (blob, file, queue, table) for a shared access signature associated with this shared access policy. - - - - - Gets or sets the resource type for a shared access signature associated with this shared access policy. - - - - - Gets or sets the allowed protocols for a shared access signature associated with this shared access policy. - - - - - Gets or sets the allowed IP address or IP address range for a shared access signature associated with this shared access policy. - - - - - Specifies the set of possible signed resource types for a shared access account policy. - - - - - No shared access granted. - - - - - Permission to access service level APIs granted. - - - - - Permission to access container level APIs (Blob Containers, Tables, Queues, File Shares) granted. - - - - - Permission to access object level APIs (Blobs, Table Entities, Queue Messages, Files) granted - - - - - Specifies the set of possible signed services for a shared access account policy. - - - - - No shared access granted. - - - - - Permission to access blob resources granted. - - - - - Permission to access file resources granted. - - - - - Permission to access queue resources granted. - - - - - Permission to access table resources granted. - - - - - Specifies the set of possible signed protocols for a shared access account policy. - - - - - Permission to use SAS only through https granted. - - - - - Permission to use SAS through https or http granted. Equivalent to not specifying any permission at all. - - - - - Represents an exception thrown by the Azure Storage service. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the 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 generated this exception. - - The exception error message. - The inner exception. - - - - Initializes a new instance of the class with serialized data. - - The object that holds serialized object data for the exception being thrown. - The that contains contextual information about the source or destination. - This constructor is called during de-serialization to reconstitute the exception object transmitted over a stream. - - - - Populates a object with the data needed to serialize the target object. - - The object to populate with data. - The destination context for this serialization. - - - - Initializes a new instance of the class by using the specified parameters. - - The request result. - The exception message. - The inner exception. - - - - Translates the specified exception into a . - - The exception to translate. - The request result. - The storage exception. - An exception of type . - - - - Translates the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The storage exception. - - - - Translates the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The error stream that contains the error information. - The storage exception. - - - - Tries to translate the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The storage exception or null. - - - - Translates the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The storage exception. - - - - Populate the RequestResult. - - The request result. - The web response. - - - - Represents an exception thrown by the Windows Azure storage client library. - - A string that represents the exception. - - - - Gets the object for this object. - - The object for this object. - - - - Indicates if exception is retryable. - - - - - Represents extended error information returned by the Windows Azure storage services. - - - - - Initializes a new instance of the class. - - - - - Gets the error details from an XML-formatted error stream. - - The input stream. - The error details. - - - - Gets the error details from the stream using OData library. - - The input stream. - The web response. - The response Content-Type. - The error details. - - - - Gets the error details from the stream using OData library. - - The input stream. - The web response headers. - The response Content-Type. - The error details. - - - - Parses the error details from the stream using OData library. - - The IODataResponseMessage to parse. - The error details. - - - - Generates a serializable object from its XML representation. - - The stream from which the object is deserialized. - - - - Converts a serializable object into its XML representation. - - The stream to which the object is serialized. - - - - Gets the storage service error code. - - A string containing the storage service error code. - - - - Gets the storage service error message. - - A string containing the storage service error message. - - - - Gets additional error details from XML-formatted input stream. - - An containing the additional error details. - - - - Represents a storage service location. - - - - - Primary storage service location. - - - - - Secondary storage service location. - - - - - Contains the URIs for both the primary and secondary locations of a Windows Azure Storage resource. - - - - - Initializes a new instance of the class using the primary endpoint for the storage account. - - The for the primary endpoint. - - - - Initializes a new instance of the class using the primary and secondary endpoints for the storage account. - - The for the primary endpoint. - The for the secondary endpoint. - - - - Returns the URI for the storage account endpoint at the specified location. - - A enumeration value. - The for the endpoint at the the specified location. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - true if the specified is equal to this instance; otherwise, false. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - true if the current object is equal to the parameter; otherwise, false. - - - - Compares two objects for equivalency. - - The first object to compare. - The second object to compare. - true if the objects have equivalent values; otherwise, false. - - - - Compares two objects for non-equivalency. - - The first object to compare. - The second object to compare. - true if the objects have non-equivalent values; otherwise, false. - - - - The endpoint for the primary location for the storage account. - - The for the primary endpoint. - - - - The endpoint for the secondary location for the storage account. - - The for the secondary endpoint. - - - - Represents the envelope key details stored on the service. - - - - - Initializes a new instance of the class using the specified key id, encrypted key and the algorithm. - - The key identifier string. - The encrypted content encryption key. - The algorithm used for wrapping. - - - - Gets or sets the key identifier. This identifier is used to identify the key that is used to wrap/unwrap the content encryption key. - - The key identifier string. - - - - Gets or sets the encrypted content encryption key. - - The encrypted content encryption key. - - - - The algorithm used for wrapping. - - - - - Represents a set of credentials used to authenticate access to a Windows Azure storage account. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified account name and key value. - - A string that represents the name of the storage account. - A string that represents the Base64-encoded account access key. - - - - Initializes a new instance of the class with the specified account name and key value. - - A string that represents the name of the storage account. - An array of bytes that represent the account access key. - - - - Initializes a new instance of the class with the specified account name, key value, and key name. - - A string that represents the name of the storage account. - A string that represents the Base64-encoded account access key. - A string that represents the name of the key. - - - - Initializes a new instance of the class with the specified account name, key value, and key name. - - A string that represents the name of the storage account. - An array of bytes that represent the account access key. - A string that represents the name of the key. - - - - Initializes a new instance of the class with the specified shared access signature token. - - A string representing the shared access signature token. - - - - Updates the key value for the credentials. - - The key value, as a Base64-encoded string, to update. - - - - Updates the key value for the credentials. - - The key value, as an array of bytes, to update. - - - - Updates the key value and key name for the credentials. - - The key value, as a Base64-encoded string, to update. - The key name to update. - - - - Updates the key value and key name for the credentials. - - The key value, as an array of bytes, to update. - The key name to update. - - - - Updates the shared access signature (SAS) token value for storage credentials created with a shared access signature. - - A string that specifies the SAS token value to update. - - - - Returns the account key for the credentials. - - An array of bytes that contains the key. - - - - Transforms a resource URI into a shared access signature URI, by appending a shared access token. - - A object that represents the resource URI to be transformed. - A object that represents the signature, including the resource URI and the shared access token. - - - - Transforms a resource URI into a shared access signature URI, by appending a shared access token. - - A object that represents the resource URI to be transformed. - A object that represents the signature, including the resource URI and the shared access token. - - - - Exports the value of the account access key to a Base64-encoded string. - - The account access key. - - - - Determines whether an other object is equal to this one by comparing their SAS tokens, account names, key names, and key values. - - The object to compare to this one. - true if the two objects are equal; otherwise, false. - - - - Gets the associated shared access signature token for the credentials. - - The shared access signature token. - - - - Gets the associated account name for the credentials. - - The account name. - - - - Gets the associated key name for the credentials. - - The key name. - - - - Gets a value indicating whether the credentials are for anonymous access. - - true if the credentials are for anonymous access; otherwise, false. - - - - Gets a value indicating whether the credentials are a shared access signature token. - - true if the credentials are a shared access signature token; otherwise, false. - - - - Gets a value indicating whether the credentials are a shared key. - - true if the credentials are a shared key; otherwise, false. - - - - Gets the value of the shared access signature token's sig parameter. - - - - - Represents a canonicalized string used in authenticating a request against the azure service. - - - - - Stores the internal that holds the canonicalized string. - - - - - Initializes a new instance of the class. - - The first canonicalized element to start the string with. - - - - Initializes a new instance of the class. - - The first canonicalized element to start the string with. - The starting size of the string. - - - - Append additional canonicalized element to the string. - - An additional canonicalized element to append to the string. - - - - Converts the value of this instance to a string. - - A string whose value is the same as this instance. - - - - Creates a multi-buffer stream whose backing store is memory. - - - - - The default small buffer size. - - - - - The size of each buffer. - - - - - The underlying buffer blocks for the stream. - - - - - The currently used length. - - - - - The total capacity of the stream. - - - - - The current position. - - - - - A reference to the IBufferManager for the stream to use to acquire and return buffers. - - - - - Initializes a new instance of the class with the specified buffer manager. - - The to use to acquire and return buffers for the stream. May be null. - The buffer size to use for each block. The default size is 64 KB. Note that this parameter is disregarded when an is specified. - - - - Reads a block of bytes from the current stream and writes the data to a buffer. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type System.IO.SeekOrigin indicating the reference point used to obtain the new position. - The new position within the current stream. - Thrown if is invalid for SeekOrigin. - - - - Sets the length of the current stream. - - The desired length of the current stream in bytes. - If the is negative. - - - - Writes a block of bytes to the current stream using data read from a buffer. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - Does not perform any operation, as the stream is an in-memory stream. - - - - - Reads the bytes from the current stream and writes them to another stream. This method writes directly to the destination stream, - rather than copying the data into a temporary buffer. - - The stream to which the contents of the current stream will be copied. - A DateTime indicating the expiry time. - - - - Begins an asynchronous fast-copy operation. - - The stream to which the contents of the current stream will be copied. - DateTime indicating the expiry time. - An optional asynchronous callback, to be called when the copy is complete. - A user-provided object that distinguishes this particular asynchronous copy request from other requests. - An IAsyncResult that represents the asynchronous copy, which could still be pending. - - - - Initiates a write operation for the next buffer in line. - - Internal StorageAsyncResult that represents the asynchronous copy. - - - - Callback method to be called when the corresponding write operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous copy operation. - - The reference to the pending asynchronous request to finish. - - - - Computes the hash value for this stream. - - String representation of the computed hash value. - - - - Ensures that the amount of bufferBlocks is greater than or equal to the required size. - Does not trim the size. - - The required size. - If the is negative. - - - - Adds another block to the underlying bufferBlocks. - - - - - Copies the specified amount of data from internal buffers to the buffer and advances the position. - - An array of bytes. When this method returns, the buffer contains the specified byte array with the values - between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read from the current stream. - The total number of bytes read into the buffer. This can be less than the number of bytes requested - if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. - - - - - Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - (Requires the stream to be of sufficient size for writing). - - An array of bytes. This method copies count bytes from buffer to the current stream. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Advances the current position of the stream and adjust the offset and remainder based on the amount completed. - - The current offset in the external buffer. - The amount of data left to process. - The amount of data processed. - - - - Advances the current position of the stream and adjust the remainder based on the amount completed. - - The amount of data left to process. - The amount of data processed. - - - - Calculate the block for the current position. - - - - - Releases all resources used by the . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - true if the stream supports reading; otherwise, false. - - - - Gets a value indicating whether the current stream supports seeking. - - true if the stream supports seeking; otherwise, false. - - - - Gets a value indicating whether the current stream supports writing. - - true if the stream supports writing; otherwise, false. - - - - Gets the length in bytes of the stream. - - A long value representing the length of the stream in bytes. - - - - Gets or sets the position within the current stream. - - The current position within the stream. - - - - Initializes a new instance of the NonCloseableStream class This stream ensures that the user stream - is not closed even when the enclosing crypto stream is closed in order to flush the final block of data. - - The stream to wrap. - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - A NullTaskReturn type. - - - - - Represents a no-return from a task. - - - - - Prevents a default instance of the class from being created. - - - - - A convenience class for constructing SAS-specific URI query strings. - - - - - A convenience class for constructing URI query strings. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class that contains elements copied from the specified . - - The whose elements are copied to the new . - - - - Add the query string value with URI escaping. - - The query string name. - The query string value. - - - - Add multiple query string values with URI escaping. - - The set of query string name/value pairs - - - - Returns a containing the URI. - - - A containing the URI. - - - - - Adds a query parameter to a URI. - - A containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Adds a query parameter to a URI. - - A object containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Adds a query parameter to a URI. - - A object containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Stores the query parameters. - - - - - Gets the query string value associated with the given name. - - The query string name. - - - - Public SasQueryBuilder constructor. - - The ASA token used to authenticate request. - - - - Add the query string value with URI escaping. - - The query string name. - The query string value. - - - - Adds a query parameter to a URI. - - A object containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Returns True if any of the parameters specifies https:. - - - - - Provides a standard set of errors that could be thrown from the client library. - - - - - This class provides APM Read/Write overrides for memory stream to improve performance. - - - - - Initializes a new instance of the SyncMemoryStream class with an expandable capacity initialized to zero. - - - - - Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified byte array. - - The array of unsigned bytes from which to create the current stream. - - - - Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array. - - The array of unsigned bytes from which to create the current stream. - The index into buffer at which the stream begins. - - - - Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array. - - The array of unsigned bytes from which to create the current stream. - The index into buffer at which the stream begins. - The length of the stream in bytes. - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - Contains helper methods for implementing shared access signatures. - - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - The optional header values to set for a blob returned with this SAS. - An optional identifier for the policy. - Either "b" for blobs or "c" for containers. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - The optional header values to set for a file returned with this SAS. - An optional identifier for the policy. - Either "f" for files or "s" for shares. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - An optional identifier for the policy. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - The name of the table associated with this shared access signature. - An optional identifier for the policy. - The start partition key, or null. - The start row key, or null. - The end partition key, or null. - The end row key, or null. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Converts the specified value to either a string representation or . - - The value to convert. - A string representing the specified value. - - - - Converts the specified value to either a string representation or null. - - The value to convert. - A string representing the specified value. - - - - Converts the specified value to either a string representation or null. - - The protocols to convert - A string representing the specified value. - - - - Escapes and adds the specified name/value pair to the query builder if it is not null. - - The builder to add the value to. - The name of the pair. - The value to be escaped. - - - - Parses the query. - - The query parameters. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - An optional identifier for the policy. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - An optional identifier for the policy. - The start partition key, or null. - The start row key, or null. - The end partition key, or null. - The end row key, or null. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - The optional header values to set for a blob returned with this SAS. - An optional identifier for the policy. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - The optional header values to set for a file returned with this SAS. - An optional identifier for the policy. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Gets the value of the x-ms-date or Date header. - - The request where the value is read from. - The value of the x-ms-date or Date header. - - - - Appends the value of the Content-Length header to the specified canonicalized string. - - The canonicalized string where the value is appended. - The request where the value is read from. - - - - Appends the value of the Date header (or, optionally, the x-ms-date header) to the specified canonicalized string. - - The canonicalized string where the value is appended. - The request where the value is read from. - true if the value of the x-ms-date header can be used and is preferred; otherwise, false. - - - - Appends the values of the x-ms-* headers to the specified canonicalized string. - - The canonicalized string where the values are appended. - The request where the values are read from. - - - - Gets the canonicalized header value to use for the specified date/time or null if it does not have a value. - - The date/time. - The canonicalized header value to use for the specified date/time or null if it does not have a value. - - - - In case of path style, this method will strip off -secondary from absolute path and replace it with account name. - - The resource URI. - The name of the storage account. - Absolute path with no -secondary suffix. - - - - Gets the canonicalized resource string for the specified URI. - - The resource URI. - The name of the storage account. - true when using the Shared Key Lite authentication scheme or the Table service; otherwise, false. - The canonicalized resource string. - - - - Determines which location can the listing command target by looking at the - continuation token. - - Continuation token - Location mode - - - - Create an ExecutionState object that can be used for pre-request operations - such as buffering user's data. - - Request options - Temporary ExecutionState object - - - - Create an ExecutionState object that can be used for pre-request operations - such as buffering user's data. - - Request options - Temporary ExecutionState object - - - - Returns the larger of two time spans. - - The first of two time spans to compare. - The second of two time spans to compare. - Parameter or , whichever is larger. - - - - Gets the first header value or null if no header values exist. - - The type of header objects contained in the enumerable. - An enumerable that contains header values. - The first header value or null if no header values exist. - - - - Throws an exception if the string is empty or null. - - The name of the parameter. - The value of the parameter. - Thrown if value is empty. - Thrown if value is null. - - - - Throw an exception if the value is null. - - The name of the parameter. - The value of the parameter. - Thrown if value is null. - - - - Throw an exception indicating argument is out of range. - - The name of the parameter. - The value of the parameter. - - - - Throw an exception if the argument is out of bounds. - - The type of the value. - The name of the parameter. - The value of the parameter. - The minimum value for the parameter. - The maximum value for the parameter. - - - - Throw an exception if the argument is out of bounds. - - The type of the value. - The name of the parameter. - The value of the parameter. - The minimum value for the parameter. - - - - Combines AssertNotNullOrEmpty and AssertInBounds for convenience. - - The name of the parameter. - Turns on or off null/empty checking. - The value of the parameter. - The maximum size of value. - - - - Rounds up to seconds. - - The time span. - The time rounded to seconds. - - - - Appends 2 byte arrays. - - First array. - Second array. - The result byte array. - - - - List of ports used for path style addressing. - - - - - Determines if a URI requires path style addressing. - - The URI to check. - Returns true if the Uri uses path style addressing; otherwise, false. - - - - Read the value of an element in the XML. - - The name of the element whose value is retrieved. - A reader that provides access to XML data. - A string representation of the element's value. - - - - Returns an enumerable collection of results that is retrieved lazily. - - The type of ResultSegment like Blob, Container, Queue and Table. - The segment generator. - >A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. - - - - - Applies the request optimizations such as disabling buffering and 100 continue. - - The request to be modified. - The length of the content, -1 if the content length is not settable. - - - - Increments the counter by one and thus sets the state of the event to non-signaled, causing threads to block. - - - - - Decrements the counter by one. If the counter reaches zero, sets the state of the event to signaled, allowing one or more waiting threads to proceed. - - - - - Blocks the current thread until the CounterEvent is set. - - - - - Blocks the current thread until the CounterEvent is set, using a 32-bit signed integer to measure the timeout. - - The number of milliseconds to wait, or Infinite(-1) to wait indefinitely. - true if the CounterEvent was set; otherwise, false. - - - - Releases all resources used by the current instance of the CounterEvent class. - - - - - Gets a WaitHandle that is used to wait for the event to be set. - - A WaitHandle that is used to wait for the event to be set. - - - - Provides helper functions for http request/response processing. - - - - - Parse the http query string. - - Http query string. - - - - - Converts the DateTimeOffset object to an Http string of form: Mon, 28 Jan 2008 12:11:37 GMT. - - The DateTimeOffset object to convert to an Http string. - String of form: Mon, 28 Jan 2008 12:11:37 GMT. - - - - Try to get the value of the specified header name. - - The Http web response from which to get the header value. - The name of the header whose value is to be retrieved. - The default value for the header that is returned if we can't get the actual header value. - A string representing the header value. - - - - Wrapper class for MD5. - - - - - Calculates an on-going hash using the input byte array. - - The input array used for calculating the hash. - The offset in the input buffer to calculate from. - The number of bytes to use from input. - - - - Retrieves the string representation of the hash. (Completes the creation of the hash). - - String representation of the computed hash value. - - - - Contains methods for dealing with navigation. - - - - - The name of the root container. - - - - - Used in address parsing. - - - - - Used in address parsing. - - - - - Used in address parsing. - - - - - Used to split string on slash. - - - - - Used to split hostname. - - - - - Retrieves the container part of a storage Uri, or "$root" if the container is implicit. - - The blob address. - If set to true use path style Uris. - Name of the container. - - The trailing slash is always removed. - - GetContainerName(new Uri("http://test.blob.core.windows.net/mycontainer/myfolder/myblob")) will return "mycontainer" - GetContainerName(new Uri("http://test.blob.core.windows.net/mycontainer/")) will return "mycontainer" - GetContainerName(new Uri("http://test.blob.core.windows.net/myblob")) will return "$root" - GetContainerName(new Uri("http://test.blob.core.windows.net/")) will throw ArgumentException - - - - - - Retrieves the blob part of a storage Uri. - - The blob address. - If set to true use path style Uris. - A string containing the name of the blob. - - - - Retrieves the share part of a storage Uri, or "$root" if the share is implicit. - - The file address. - If set to true use path style Uris. - Name of the share. - - The trailing slash is always removed. - - GetShareName(new Uri("http://test.file.core.windows.net/myshare/myfolder/myfile")) will return "myshare" - GetShareName(new Uri("http://test.file.core.windows.net/myshare/")) will return "myshare" - GetShareName(new Uri("http://test.file.core.windows.net/")) will throw ArgumentException - - - - - - Retrieves the file part of a storage Uri. - - The file address. - If set to true use path style Uris. - The name of the file. - - - - Retrieves the file and directory part of a storage Uri. - - The file address. - If set to true use path style Uris. - The file name including directories. - - - - Retrieves the parent name from a storage Uri. - - The blob address. - The delimiter. - If set to true use path style Uris. - Name of the parent. - The parent URI. - The name of the parent. - - Adds the trailing delimiter as the prefix returned by the storage REST api always contains the delimiter. - - - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/myfolder/myblob", "/")) will return "/myfolder/" - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/myfolder|myblob", "|") will return "/myfolder|" - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/myblob", "/") will return "" - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/", "/") will return "" - - - - - Retrieves the parent name from a storage Uri. - - The file address. - If set to true use path style Uris. - Name of the parent. - The parent URI. - The name of the parent. - - Adds the trailing delimiter as the prefix returned by the storage REST api always contains the delimiter. - - - GetFileParentNameAndAddress(new Uri("http://test.file.core.windows.net/myshare/myfolder/myfile", "/")) will return "myfolder" - GetFileParentNameAndAddress(new Uri("http://test.file.core.windows.net/myshare/myfile", "/") will return "" - GetFileParentNameAndAddress(new Uri("http://test.file.core.windows.net/myshare/", "/") will return "" - - - - - Gets the service client base address. - - The address Uri. - The use path style Uris. - The base address of the client. - - GetServiceClientBaseAddress("http://testaccount.blob.core.windows.net/testcontainer/blob1") - returns "http://testaccount.blob.core.windows.net" - - - - - Gets the service client base address. - - The address Uri. - The use path style Uris. - The base address of the client. - - GetServiceClientBaseAddress("http://testaccount.blob.core.windows.net/testcontainer/blob1") - returns "http://testaccount.blob.core.windows.net" - - - - - Appends a path to a list of URIs correctly using "/" as separator. - - The base URI. - The relative or absolute URI. - The list of appended URIs. - - - - Appends a path to a list of URIs correctly using "/" as separator. - - The base URI. - The relative or absolute URI. - The separator. - The list of appended URIs. - - - - Append a relative path to a URI, handling trailing slashes appropriately. - - The base URI. - The relative or absolute URI. - The appended Uri. - - - - Append a relative path to a URI, handling trailing slashes appropriately. - - The base URI. - The relative or absolute URI. - The separator. - The appended Uri. - - - - Get container name from address for styles of paths - Example: http://test.blob.core.windows.net/container/blob => container - http://127.0.0.1:10000/test/container/blob => container. - - The container Uri. - If set to true use path style Uris. - The container name. - - - - Similar to getting container name from Uri. - - The queue Uri. - If set to true use path style Uris. - The queue name. - - - - Extracts a table name from the table's Uri. - - The queue Uri. - If set to true use path style Uris. - The queue name. - - - - Extracts a table name from the share's Uri. - - The share Uri. - If set to true use path style Uris. - The share name. - - - - Retrieve the container address and address. - - The blob address. - True to use path style Uris. - Name of the container. - The container URI. - true when the container is an explicit container. false, otherwise. - - - - Retrieve the share address and address. - - The file address. - True to use path style Uris. - Name of the share. - The share URI. - true when the share is an explicit share. false, otherwise. - - - - Retrieve the container name and the blob name from a blob address. - - The blob address. - If set to true use path style Uris. - The resulting container name. - The resulting blob name. - A bool representing whether the blob is in an explicit container or not. - - - - Retrieve the share name and the file or directory name from a file or directory address. - - The file address. - If set to true use path style Uris. - The resulting share name. - The resulting file or directory name. - - - - Parses the snapshot time. - - The snapshot time. - The parsed snapshot time. - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The parsed snapshot. - The blob URI without credentials or snapshot info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The parsed snapshot. - The blob URI without credentials or snapshot info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The file URI without credentials info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The file URI without credentials info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Represents a canonicalized string used in authenticating a request against the azure service. - - - - - Provides properties to keep track of Md5 hash / Length of a stream as it is being copied. - - - - - Provides stream helper methods that allow us to copy streams and measure the stream size. - - - - - Reads synchronously the specified content of the stream and writes it to the given output stream. - - The origin stream. - The destination stream. - Number of bytes to copy from source stream to destination stream. Cannot be passed with a value for maxLength. - Maximum length of the stream to write. - true to calculate the MD5 hash. - A boolean indicating whether the write happens synchronously. - An object that stores state of the operation. - State of the stream copy. - stream - - - - Associates a given stream to a given RequestResult such that the RequestResult byte counters are accurately updated as data is read or written. - - A reference to the original stream - An object that represents the result of a physical request. - - - - - Asynchronously reads the entire content of the stream and writes it to the given output stream. - - The result type of the ExecutionState - The origin stream. - The destination stream. - Number of bytes to copy from source stream to destination stream. Cannot be passed with a value for maxLength. - Maximum length of the source stream. Cannot be passed with a value for copyLength. - Bool value indicating whether the Md5 should be calculated. - An object that stores state of the operation. - State of the stream copy. - The action taken when the execution is completed. - - - - Represents a retry policy that performs a specified number of retries, using a randomized exponential back off scheme to determine the interval between retries. - - - - - Represents a retry policy. - - - - - Represents a retry policy. - - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Determines whether the operation should be retried and the interval until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Determines whether the operation should be retried and the interval until the next retry. - - A object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode. - An object that represents the context for the current operation. - A object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified delta and maximum number of retries. - - A specifying the back-off interval between retries. - An integer specifying the maximum number of retry attempts. - - - - Determines whether the operation should be retried and the interval until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Determines whether the operation should be retried and the interval until the next retry. - - A object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode. - An object that represents the context for the current operation. - A object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried. - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified delta and maximum number of retries. - - A specifying the back-off interval between retries. - An integer specifying the maximum number of retry attempts. - - - - Determines whether the operation should be retried and the interval until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Determines whether the operation should be retried and the interval until the next retry. - - A object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode. - An object that represents the context for the current operation. - A object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried. - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Specifies the location mode to indicate which location should receive the request. - - - - - Requests are always sent to the primary location. - - - - - Requests are always sent to the primary location first. If a request fails, it is sent to the secondary location. - - - - - Requests are always sent to the secondary location. - - - - - Requests are always sent to the secondary location first. If a request fails, it is sent to the primary location. - - - - - Represents a retry policy that performs no retries. - - - - - Initializes a new instance of the class. - - - - - Determines if the operation should be retried and how long to wait until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Represents the context for one or more retries of a request made against the Windows Azure storage services, - including the number of retries made for the request, the results of the last request, and the storage location and location mode for subsequent retries. - - - - - Returns a string that represents the current instance. - - A string that represents the current instance. - - - - Gets the target location for the next retry. - - A enumeration value. - - - - Gets the location mode for subsequent retries. - - A enumeration value. - - - - Gets the number of retries for the given operation. - - An integer specifying the number of retries for the given operation. - - - - Gets the results of the last request. - - A object. - - - - Specifies parameters for the next retry of a request to be made against the Windows Azure storage services, - including the target location and location mode for the next retry and the interval until the next retry. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that was passed in to the retry policy. - - - - Returns a string that represents the current instance. - - A string that represents the current instance. - - - - Gets or sets the target location for the next retry. - - A enumeration value. - - - - Gets or sets the location mode for subsequent retries. - - A enumeration value. - - - - Gets the interval until the next retry. - - A object specifying the interval until the next retry. - - - - Verifies that the blob is not a snapshot. - - - - - Gets the blob's system properties. - - A object. - - - - Gets the user-defined metadata for the blob. - - An object containing the blob's metadata as a collection of name-value pairs. - - - - Gets the blob's URI for the primary location. - - A specifying the absolute URI to the blob at the primary location. - - - - Gets the blob's URIs for both the primary and secondary locations. - - A object. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - A containing the blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if no copy blob state exists for this blob. - - - - Represents the permissions for a container. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the public access setting for the container. - - A enumeration value. - - - - Gets the set of shared access policies for the container. - - A object. - - - - Represents the system properties for a container. - - - - - Gets the ETag value for the container. - - A string containing the container's quoted ETag value. - - - - Gets the container's last-modified time. - - A containing the container's last-modified time, in UTC format. - - - - Gets the container's lease status. - - A object that indicates the container's lease status. - - - - Gets the container's lease state. - - A object that indicates the container's lease state. - - - - Gets the container's lease duration. - - A object that indicates the container's lease duration. - - - - Specifies the level of public access that is allowed on the container. - - - - - No public access. Only the account owner can read resources in this container. - - - - - Container-level public access. Anonymous clients can read container and blob data. - - - - - Blob-level public access. Anonymous clients can read blob data within this container, but not container data. - - - - - Represents a continuation token for listing operations. - - continuation tokens are used in methods that return a object, such as . - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for enumeration operations. - - The type element. - - - - Gets or sets the next marker for continuing results for enumeration operations. - - A string containing the NextMarker value. - - - - Gets or sets the storage location that the continuation token applies to. - - A enumeration value. - - - - Represents the blob encryption data that is stored as metadata on the service. - - - - - Gets or sets the blob client encryption mode. - - The blob encryption mode. - - - - Specifies the blob encryption mode. - - - - - No encryption. - - - - - Use Blob level encryption mechanism. - - - - - Specifies which items to include when listing a set of blobs. - - - - - List only committed blobs, and do not return blob metadata. - - - - - List committed blobs and blob snapshots. - - - - - Retrieve blob metadata for each blob returned in the listing. - - - - - List committed and uncommitted blobs. - - - - - Include copy properties in the listing. - - - - - List all available committed blobs, uncommitted blobs, and snapshots, and return all metadata and copy status for those blobs. - - - - - Represents the system properties for a blob. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - A object. - Lease-related properties will not be cloned, because a lease associated with the base blob is not copied to the snapshot. - - - - Gets or sets the cache-control value stored for the blob. - - A string containing the blob's cache-control value. - - - - Gets or sets the content-disposition value stored for the blob. - - A string containing the blob's content-disposition value. - - If this property has not been set for the blob, it returns null. - - - - - Gets or sets the content-encoding value stored for the blob. - - A string containing the blob's content-encoding value. - - If this property has not been set for the blob, it returns null. - - - - - Gets or sets the content-language value stored for the blob. - - A string containing the blob's content-language value. - - If this property has not been set for the blob, it returns null. - - - - - Gets the size of the blob, in bytes. - - A long value containing the blob's size in bytes. - - - - Gets or sets the content-MD5 value stored for the blob. - - A string containing the blob's content-MD5 hash. - - - - Gets or sets the content-type value stored for the blob. - - A string containing the blob's content-type value. - - If this property has not been set for the blob, it returns null. - - - - - Gets the blob's ETag value. - - A string containing the blob's ETag value. - - - - Gets the the last-modified time for the blob, expressed as a UTC value. - - A containing the blob's last-modified time, in UTC format. - - - - Gets the type of the blob. - - A object that indicates the type of the blob. - - - - Gets the blob's lease status. - - A object that indicates the blob's lease status. - - - - Gets the blob's lease state. - - A object that indicates the blob's lease state. - - - - Gets the blob's lease duration. - - A object that indicates the blob's lease duration. - - - - If the blob is a page blob, gets the blob's current sequence number. - - A long containing the blob's current sequence number. - - - - If the blob is an append blob, gets the number of committed blocks. - - An integer containing the number of committed blocks. - - - - Represents a set of timeout and retry policy options that may be specified for a request against the Blob service. - - - - - Stores the parallelism factor. - - - - - Default is 32 MB. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Clones an instance of BlobRequestOptions so that we can apply defaults. - - BlobRequestOptions instance to be cloned. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the encryption policy for the request. - - An object of type . - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets a value to indicate whether validating the presence of the encryption policy should be skipped. - - Use true to skip validation; otherwise, false. - - - - Gets or sets a value that indicates whether a conditional failure should be absorbed on a retry attempt - for the request. - - - This option is used only by the object in the UploadFrom* methods and - the BlobWriteStream methods. By default, it is set to false. Set this option to true only for single writer scenarios. - Setting this option to true in a multi-writer scenario may lead to corrupted blob data. - - - - - Gets or sets the location mode of the request. - - A enumeration value indicating the location mode of the request. - - - - Gets or sets the server timeout interval for the request. - - A containing the server timeout interval for the request. - - - - Gets or sets the maximum execution time across all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Gets or sets the number of blocks that may be simultaneously uploaded when uploading a blob that is greater than - the value specified by the property in size. - - An integer value indicating the number of parallel blob upload operations that may proceed. - - - - Gets or sets the maximum size of a blob in bytes that may be uploaded as a single blob. - - A long indicating the maximum size of a blob, in bytes, that may be uploaded as a single blob, - ranging from between 1 and 64 MB inclusive. - - - - Gets or sets a value to calculate and send/validate content MD5 for transactions. - - Use true to calculate and send/validate content MD5 for transactions; otherwise, false. - - - - Gets or sets a value to indicate that an MD5 hash will be calculated and stored when uploading a blob. - - Use true to calculate and store an MD5 hash when uploading a blob; otherwise, false. - This property is not supported for . - - - - Gets or sets a value to indicate that MD5 validation will be disabled when downloading blobs. - - Use true to disable MD5 validation; false to enable MD5 validation. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - A object. - - - - The type of a blob. - - - - - Not specified. - - - - - A page blob. - - - - - A block blob. - - - - - An append blob. - - - - - Indicates whether to list only committed blocks, only uncommitted blocks, or all blocks. - - - - - Committed blocks. - - - - - Uncommitted blocks. - - - - - Both committed and uncommitted blocks. - - - - - Indicates which block lists should be searched to find a specified block. - - - - - Search the committed block list only. - - - - - Search the uncommitted block list only. - - - - - Search the uncommitted block list first, and if the block is not found there, search - the committed block list. - - - - - Specifies which details to include when listing the containers in this storage account. - - - - - No additional details. - - - - - Retrieve container metadata. - - - - - Retrieve all available details. - - - - - Represents a segment of results and contains continuation and pagination information. - - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. - - A object. - - - - Represents the attributes of a copy operation. - - - - - Gets the ID of the copy operation. - - A copy ID string. - - - - Gets the time the copy operation completed, and indicates whether completion was due to a successful copy, the cancelling of the operation, or a failure. - - A containing the completion time, or null if the operation has not completed. - - - - Gets the status of the copy operation. - - A enumeration indicating the status of the operation. - - - - Gets the source URI of a copy operation. - - A indicating the source of a copy operation, or null. - - - - Gets the number of bytes copied in the operation so far. - - The number of bytes copied in the operation so far, or null. - - - - Gets the total number of bytes in the source of the copy. - - The number of bytes in the source, or null. - - - - Gets the description of the current status, if any. - - A status description string, or null. - - - - Represents the status of a copy blob operation. - - - - - The copy status is invalid. - - - - - The copy operation is pending. - - - - - The copy operation succeeded. - - - - - The copy operation has been aborted. - - - - - The copy operation encountered an error. - - - - - The set of options describing delete operation. - - - - - Delete the blob only. If the blob has snapshots, this option will result in an error from the service. - - - - - Delete the blob and its snapshots. - - - - - Delete the blob's snapshots only. - - - - - Describes actions that can be performed on a lease. - - - - - Acquire the lease. - - - - - Renew the lease. - - - - - Release the lease. - - - - - Break the lease. - - - - - Change the lease ID. - - - - - The lease duration of a resource. - - - - - The lease duration is not specified. - - - - - The lease duration is finite. - - - - - The lease duration is infinite. - - - - - The lease state of a resource. - - - - - The lease state is not specified. - - - - - The lease is in the Available state. - - - - - The lease is in the Leased state. - - - - - The lease is in the Expired state. - - - - - The lease is in the Breaking state. - - - - - The lease is in the Broken state. - - - - - The lease status of a resource. - - - - - The lease status is not specified. - - - - - The resource is locked. - - - - - The resource is available to be locked. - - - - - Represents a block retrieved from the blob's block list. - - - - - Gets the name of the block. - - The block name. - - - - Gets the size of block in bytes. - - The block size. - - - - Gets a value indicating whether or not the block has been committed. - - true if the block has been committed; otherwise, false. - - - - Represents a range of pages in a page blob. - - - - - Represents a range of pages in a page blob. - - - - - Initializes a new instance of the class. - - The starting offset. - The ending offset. - - - - Returns the content of the page range as a string. - - The content of the page range. - - - - Gets the starting offset of the page range. - - The starting offset. - - - - Gets the ending offset of the page range. - - The ending offset. - - - - Initializes a new instance of the class. - - The starting offset. - The ending offset. - True if the page range is a cleared range, false otherwise. - - - - True if the page range is a cleared range, false otherwise. - - - - - Describes actions that can be performed on a page blob sequence number. - - - - - Sets the sequence number to be the higher of the value included with the request and the value currently stored for the blob. - - - - - Sets the sequence number to the value included with the request. - - - - - Increments the value of the sequence number by 1. - - - - - Represents the optional headers that can be returned with blobs accessed using SAS. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - The set of to clone. - - - - Gets or sets the cache-control header returned with the blob. - - A string containing the cache-control value. - - - - Gets or sets the content-disposition header returned with the blob. - - A string containing the content-disposition value. - - - - Gets or sets the content-encoding header returned with the blob. - - A string containing the content-encoding value. - - - - Gets or sets the content-language header returned with the blob. - - A string containing the content-language value. - - - - Gets or sets the content-type header returned with the blob. - - A string containing the content-type value. - - - - Specifies the set of possible permissions for a shared access policy. - - - - - No shared access granted. - - - - - Read access granted. - - - - - Write access granted. - - - - - Delete access granted. - - - - - List access granted. - - - - - Add access granted. - - - - - Create access granted. - - - - - Represents the collection of shared access policies defined for a container. - - - - - Adds the specified key and value to the collection of shared access policies. - - The key of the value to add. - The value to add the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - The key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - A string containing the key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - A string containing the key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key in the key/ value pair to a compatible one-dimensional array, starting at the specified index - of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection of strings containing the keys of the shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - A string containing the key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions, in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions, in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Parses the response XML from an operation to set the access policy for a container. - - - - - Parses the response XML from an operation to set the access policy for a cloud object. - - The policy type to be filled. - - - - Provides a base class that is used internally to parse XML streams from storage service operations. - - The type to be parsed. - - - - Indicates that all parsable objects have been consumed. This field is reserved and should not be used. - - - - - Stores any objects that have not yet been parsed. This field is reserved and should not be used. - - - - - The reader used for parsing. This field is reserved and should not be used. - - - - - The IEnumerator over the parsed content. - - - - - Used to make sure that parsing is only done once, since a stream is not re-entrant. - - - - - Initializes a new instance of the ResponseParsingBase class. - - The stream to be parsed. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Parses the XML response. This method is reserved and should not be used. - - A collection of enumerable objects. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources, and optional - managed resources. - - True to release both managed and unmanaged resources; otherwise, false. - - - - This method is reserved and should not be used. - - True when the object is consumable. - - - - Parses the XML and close. - - A list of parsed results. - - - - Gets the parsable objects. This method is reserved and should not be used. - - The objects to parse. - - - - Initializes a new instance of the AccessPolicyResponseBase class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Parses the response XML from a Set Container ACL operation to retrieve container-level access policy data. - - A list of enumerable key-value pairs. - - - - Gets an enumerable collection of container-level access policy identifiers. - - An enumerable collection of container-level access policy identifiers. - - - - Initializes a new instance of the BlobAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Represents a container item returned in the XML response for a container listing operation. - - - - - - Initializes a new instance of the class. - - - - - Gets the user-defined metadata for the container. - - The container's metadata, as a collection of name-value pairs. - - - - Gets the container's system properties. - - The container's properties. - - - - Gets the name of the container. - - The container's name. - - - - Gets the container's URI. - - The absolute URI to the container. - - - - Provides error code strings that are specific to the Blob service. - - - - - Error code that may be returned when the specified append offset is invalid. - - - - - Error code that may be returned when the specified maximum blob size is invalid. - - - - - Error code that may be returned when the specified block or blob is invalid. - - - - - Error code that may be returned when a block ID is invalid. - - - - - Error code that may be returned when a block list is invalid. - - - - - The specified container was not found. - - - - - Error code that may be returned when a blob with the specified address cannot be found. - - - - - The specified container already exists. - - - - - The specified container is disabled. - - - - - The specified container is being deleted. - - - - - Error code that may be returned when a client attempts to create a blob that already exists. - - - - - Error code that may be returned when there is currently no lease on the blob. - - - - - Error code that may be returned when there is currently no lease on the container. - - - - - Error code that may be returned when a lease ID was specified, but the lease has expired. - - - - - Error code that may be returned when the lease ID specified did not match the lease ID for the blob. - - - - - Error code that may be returned when the lease ID specified did not match the lease ID for the container. - - - - - Error code that may be returned when there is currently a lease on the resource and no lease ID was specified in the request. - - - - - Error code that may be returned when there is currently no lease on the resource. - - - - - Error code that may be returned when the lease ID specified did not match the lease ID. - - - - - Error code that may be returned when there is already a lease present. - - - - - Error code that may be returned when the lease has already been broken and cannot be broken again. - - - - - Error code that may be returned when the lease ID matched, but the lease has been broken explicitly and cannot be renewed. - - - - - Error code that may be returned when the lease ID matched, but the lease is breaking and cannot be acquired. - - - - - Error code that may be returned when the lease ID matched, but the lease is breaking and cannot be changed. - - - - - Error code that may be returned when the destination of a copy operation has a lease of fixed duration. - - - - - Error code that may be returned when the operation is not permitted because the blob has snapshots. - - - - - Error code that may be returned when the blob type is invalid for this operation. - - - - - Error code that may be returned when the operation on page blobs uses a version prior to 2009-09-19. - - - - - Error code that may be returned when the page range specified is invalid. - - - - - Error code that may be returned when the sequence number condition specified was not met. - - - - - Error code that may be returned when the sequence number increment cannot be performed because it would result in overflow of the sequence number. - - - - - Error code that may be returned when the source condition specified using HTTP conditional header(s) is not met. - - - - - Error code that may be returned when the target condition specified using HTTP conditional header(s) is not met. - - - - - Error code that may be returned when the copy source account and destination account are not the same. - - - - - Error code that may be returned when the source of a copy cannot be accessed. - - - - - Error code that may be returned when an attempt to modify the destination of a pending copy is made. - - - - - Error code that may be returned when an Abort Copy operation is called when there is no pending copy. - - - - - Error code that may be returned when the copy ID specified in an Abort Copy operation does not match the current pending copy ID. - - - - - Provides a set of parameters for a blob listing operation. - - - - - Represents the listing context for enumeration operations. - - - - - Stores the maximum number of results to list. Must be null or a value between 1 and 5000. - - - - - Initializes a new instance of the class. - - The resource name prefix. - The maximum number of resources to return in a single operation, up to the per-operation limit of 5000. - - - - Gets or sets the Prefix value. - - The Prefix value. - - - - Gets or sets the MaxResults value. - - The MaxResults value. - - - - Gets or sets the Marker value. - - The Marker value. - - - - Initializes a new instance of the class. - - The blob prefix. - The maximum number of results to return. - The blob delimiter. - The include parameter. - - - - Gets or sets the delimiter for a blob listing operation. - - The delimiter to use to traverse the virtual hierarchy of blobs. - - The delimiter parameter enables the caller to traverse the blob namespace by using a user-configured delimiter. - Using this parameter, it is possible to traverse a virtual hierarchy of blobs as though it were a file system. - - - - - Gets or sets the details for the listing operation, which indicates the types of data to include in the - response. - - The details to include in the listing operation. - - The include parameter specifies that the response should include one or more of the following subsets: snapshots, - metadata, uncommitted blobs. - - - - - Provides a set of helper methods for constructing a request against the Blob service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Writes the body of the block list to the specified stream in XML format. - - An enumerable collection of objects. - The stream to which the block list is written. - - - - Provides methods for parsing the response from an operation to return a block list. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Reads a block item for block listing. - - Whether we are currently listing committed blocks or not - Block listing entry - - - - Parses the XML response returned by an operation to retrieve a list of blocks. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from an operation to get a range of differing pages for a page blob. - - - - - Initializes a new instance of the class. - - The stream of page ranges to be parsed. - - - - Reads a page range. - - Page range entry - - - - Parses the XML response for an operation to get a range of pages for a page blob. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from an operation to get a range of pages for a page blob. - - - - - Initializes a new instance of the class. - - The stream of page ranges to be parsed. - - - - Reads a page range. - - Page range entry - - - - Parses the XML response for an operation to get a range of pages for a page blob. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Represents an item that may be returned by a blob listing operation. - - - - - Represents a blob item returned in the XML response for a blob listing operation. - - - - - Initializes a new instance of the class. - - A string containing the name of the blob. - The blob's attributes. - - - - Stores the blob item's attributes. - - - - - Gets the name of the blob item. - - A string containing the name of the blob item. - - - - Gets the blob item's system properties. - - A object. - - - - Gets the user-defined metadata for the blob item. - - An object containing the blob item's metadata as a collection of name-value pairs. - - - - Gets the blob item's URI. - - The absolute URI to the blob item. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - The blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if no copy blob state exists for this blob. - - - - Represents the blob name prefix that is returned in the XML response for a blob listing operation. - - - - - Gets the blob name prefix. - - The blob name prefix. - - - - Provides methods for parsing the response from a blob listing operation. - - - - - Stores the blob prefix. - - - - - Signals when the blob prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the blob delimiter. - - - - - Signals when the blob delimiter can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Parses a blob entry in a blob listing response. - - Blob listing entry - - - - Parses a blob prefix entry in a blob listing response. - - Blob listing entry - - - - Parses the response XML for a blob listing operation. - - An enumerable collection of objects that implement . - - - - Gets the listing context from the XML response. - - A object. - - - - Gets an enumerable collection of objects that implement from the response. - - An enumerable collection of objects that implement . - - - - Gets the Prefix value provided for the listing operation from the XML response. - - A string containing the Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - A string containing the Marker value. - - - - Gets the Delimiter value provided for the listing operation from the XML response. - - A string containing the Delimiter value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - An integer containing the MaxResults value. - - - - Gets or sets the NextMarker value from the XML response, if the listing was not complete. - - A string containing the NextMarker value. - - - - Provides methods for parsing the response from a container listing operation. - - - - - Stores the container prefix. - - - - - Signals when the container prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Reads a container entry completely including its properties and metadata. - - Container listing entry - - - - Parses the response XML for a container listing operation. - - An enumerable collection of objects. - - - - Gets the listing context from the XML response. - - A object. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Gets the Prefix value provided for the listing operation from the XML response. - - A string containing the Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - A string containing the Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - An integer containing the MaxResults value. - - - - Gets or sets the NextMarker value from the XML response, if the listing was not complete. - - A string containing the NextMarker value. - - - - Describes actions that may be used for writing to a page blob or clearing a set of pages. - - - - - Update the page with new data. - - - - - Clear the page. - - - - - Represents a block in a block list. - - - - - Initializes a new instance of the class. - - The block ID. - One of the enumeration values that specifies in which block lists to search for the block. - - - - Gets the block ID. - - The block ID. - - - - Gets a value that indicates which block lists to search for the block. - - One of the enumeration values that specifies in which block lists to search for the block. - - - - Gets the file's system properties. - - The file's properties. - - - - Gets the user-defined metadata for the file. - - The file's metadata, as a collection of name-value pairs. - - - - Gets the file's URI. - - The absolute URI to the file. - - - - Gets the list of URIs for all locations. - - The list of URIs for all locations. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if no copy file state exists for this file. - - - - Represents a continuation token for listing operations. - - continuation tokens are used in methods that return a object, such as . - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for enumeration operations. - - The type element. - - - - Gets or sets the next marker for continuing results for enumeration operations. - - The next marker. - - - - Gets or sets the storage location that the continuation token applies to. - - The storage location that the continuation token applies to. - - - - Represents the system properties for a directory. - - - - - Gets the ETag value for the directory. - - The directory's quoted ETag value. - - - - Gets the directory's last-modified time. - - The directory's last-modified time. - - - - Represents the system properties for a file. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - The set of file properties to clone. - - - - Gets or sets the cache-control value stored for the file. - - The file's cache-control value. - - - - Gets or sets the content-disposition value stored for the file. - - The file's content-disposition value. - - If this property has not been set for the file, it returns null. - - - - - Gets or sets the content-encoding value stored for the file. - - The file's content-encoding value. - - If this property has not been set for the file, it returns null. - - - - - Gets or sets the content-language value stored for the file. - - The file's content-language value. - - If this property has not been set for the file, it returns null. - - - - - Gets the size of the file, in bytes. - - The file's size in bytes. - - - - Gets or sets the content-MD5 value stored for the file. - - The file's content-MD5 hash. - - - - Gets or sets the content-type value stored for the file. - - The file's content-type value. - - If this property has not been set for the file, it returns null. - - - - - Gets the file's ETag value. - - The file's ETag value. - - - - Gets the the last-modified time for the file, expressed as a UTC value. - - The file's last-modified time, in UTC format. - - - - Represents a range in a file. - - - - - Initializes a new instance of the class. - - The starting offset. - The ending offset. - - - - Returns the content of the range as a string. - - The content of the range. - - - - Gets the starting offset of the page range. - - The starting offset. - - - - Gets the ending offset of the page range. - - The ending offset. - - - - Represents a set of timeout and retry policy options that may be specified for a request against the File service. - - - - - Stores the parallelism factor. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Clones an instance of FileRequestOptions so that we can apply defaults. - - FileRequestOptions instance to be cloned. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy. - - The retry policy. - - - - Gets or sets the location mode of the request. - - The location mode of the request. - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets the server timeout interval for the request. - - The server timeout interval for the request. - - - - Gets or sets the maximum execution time across all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Gets or sets the number of ranges that may be simultaneously uploaded when uploading a file. - - The number of parallel operations that may proceed. - - - - Gets or sets a value to calculate and send/validate content MD5 for transactions. - - Use true to calculate and send/validate content MD5 for transactions; otherwise, false. - - - - Gets or sets a value to indicate that an MD5 hash will be calculated and stored when uploading a file. - - Use true to calculate and store an MD5 hash when uploading a file; otherwise, false. - - - - Gets or sets a value to indicate that MD5 validation will be disabled when downloading files. - - Use true to disable MD5 validation; false to enable MD5 validation. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Gets an enumerable collection of results. - - An enumerable collection of results. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - The continuation token. - - - - Represents the permissions for a share. - - - - - Initializes a new instance of the class. - - - - - Gets the set of shared access policies for the share. - - A object. - - - - Represents the system properties for a share. - - - - - Gets the ETag value for the share. - - The share's quoted ETag value. - - - - Gets the share's last-modified time. - - The share's last-modified time. - - - - Gets or sets the maximum size for the share, in gigabytes. - - - - - Specifies the level of public access that is allowed on the share. - - - - - No public access. Only the account owner can read resources in this share. - - - - - Represents the optional headers that can be returned with files accessed using SAS. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - The set of to clone. - - - - Gets or sets the cache-control header returned with the file. - - A string containing the cache-control value. - - - - Gets or sets the content-disposition header returned with the file. - - A string containing the content-disposition value. - - - - Gets or sets the content-encoding header returned with the file. - - A string containing the content-encoding value. - - - - Gets or sets the content-language header returned with the file. - - A string containing the content-language value. - - - - Gets or sets the content-type header returned with the file. - - A string containing the content-type value. - - - - Specifies the set of possible permissions for a shared access policy. - - - - - No shared access granted. - - - - - Read access granted. - - - - - Write access granted. - - - - - Delete access granted for files. - - - - - List access granted. - - - - - Create access granted. - - - - - Represents the collection of shared access policies defined for a share. - - - - - Adds the specified key and value to the collection of shared access policies. - - The key of the value to add. - The value to add the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - The key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - A string containing the key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - A string containing the key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key in the key/ value pair to a compatible one-dimensional array, starting at the specified index - of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection of strings containing the keys of the shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - A string containing the key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions, in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions, in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Specifies which details to include when listing the shares in this storage account. - - - - - No additional details. - - - - - Retrieve share metadata. - - - - - Retrieve all available details. - - - - - Represents a segment of results and contains continuation and pagination information. - - - - - Gets an enumerable collection of results. - - An enumerable collection of results. - - - - Gets the object used to retrieve the next segment of results. - - The continuation token. - - - - Parses the response XML from an operation to set the access policy for a share. - - - - - Initializes a new instance of the FileAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Provides error code strings that are specific to the File service. - - - - - The specified share was not found. - - - - - The specified share already exists. - - - - - The specified share is disabled. - - - - - The specified share is being deleted. - - - - - The specified resource is marked for deletion by an SMB client. - - - - - The specified parent was not found. - - - - - The specified resource name contains invalid characters. - - - - - The specified resource already exists. - - - - - The specified resource type does not match the type of the existing resource. - - - - - The specified resource may be in use by an SMB client. - - - - - The file or directory could not be deleted because it is in use by an SMB client. - - - - - A portion of the specified file is locked by an SMB client. - - - - - The specified resource is read-only and cannot be modified at this time. - - - - - The specified resource state could not be flushed from an SMB client in the specified time. - - - - - File or directory path is too long. - - - - - Condition headers are not supported. - - - - - Provides a set of parameters for a file listing operation. - - - - - Initializes a new instance of the class. - - The maximum number of results to return. - - - - Describes actions that may be used for writing to a file or clearing a set of ranges. - - - - - Update the file range with new data. - - - - - Clear the file range. - - - - - Provides a set of helper methods for constructing a request against the File service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Class representing a set of properties pertaining to the Azure File service. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Constructs a ServiceProperties object from an XML document received from the service. - - The XML document. - A ServiceProperties object containing the properties in the XML document. - - - - Converts these properties into XML for communicating with the service. - - An XML document containing the service properties. - - - - Writes service properties to a stream, formatted in XML. - - The stream to which the formatted properties are to be written. - - - - Gets or sets the Cross Origin Resource Sharing (CORS) properties for the File service. - - The CORS properties. - - - - Gets or sets the hour metrics properties. - - The metrics properties. - - - - Gets or sets the minutes metrics properties. - - The metrics properties. - - - - Represents a share item returned in the XML response for a share listing operation. - - - - - - Initializes a new instance of the class. - - - - - Gets the user-defined metadata for the share. - - The share's metadata, as a collection of name-value pairs. - - - - Gets the share's system properties. - - The share's properties. - - - - Gets the name of the share. - - The share's name. - - - - Gets the share's URI. - - The absolute URI to the share. - - - - Represents an item that may be returned by a file listing operation. - - - - - Gets the name of the file/directory item. - - The name of the file/directory item. - - - - Represents a directory item that is returned in the XML response for a file listing operation. - - - - - Initializes a new instance of the class. - - The name of the directory. - The Uri of the directory. - The directory's properties. - - - - Gets the name of the directory item. - - The name of the directory item. - - - - Gets the directory address. - - The directory URL. - - - - Gets the directory item's properties. - - The directory item's properties. - - - - Represents a file item returned in the XML response for a file listing operation. - - - - - Initializes a new instance of the class. - - The name of the file. - The file's attributes. - - - - Stores the file item's attributes. - - - - - Gets the name of the file item. - - The name of the file item. - - - - Gets the file item's system properties. - - The file item's properties. - - - - Gets the user-defined metadata for the file item. - - The file item's metadata, as a collection of name-value pairs. - - - - Gets the file item's URI. - - The absolute URI to the file item. - - - - Provides methods for parsing the response from a file listing operation. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Parses a file entry in a file listing response. - - File listing entry - - - - Parses a file directory entry in a file listing response. - - File listing entry - - - - Parses the response XML for a file listing operation. - - An enumerable collection of objects that implement . - - - - Gets the listing context from the XML response. - - A set of parameters for the listing operation. - - - - Gets an enumerable collection of objects that implement from the response. - - An enumerable collection of objects that implement . - - - - Gets the Marker value provided for the listing operation from the XML response. - - The Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - The MaxResults value. - - - - Gets the NextMarker value from the XML response, if the listing was not complete. - - The NextMarker value. - - - - Provides methods for parsing the response from an operation to get a range for a file. - - - - - Initializes a new instance of the class. - - The stream of ranges to be parsed. - - - - Reads a range. - - Range entry - - - - Parses the XML response for an operation to get a range for a file. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from a share listing operation. - - - - - Stores the share prefix. - - - - - Signals when the share prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Reads a share entry completely including its properties and metadata. - - Share listing entry - - - - Parses the response XML for a share listing operation. - - An enumerable collection of objects. - - - - Gets the listing context from the XML response. - - A set of parameters for the listing operation. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Gets the Prefix value provided for the listing operation from the XML response. - - The Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - The Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - The MaxResults value. - - - - Gets the NextMarker value from the XML response, if the listing was not complete. - - The NextMarker value. - - - - Class representing a set of stats pertaining to a File Share. - - - - - The name of the root XML element. - - - - - The name of the share usage XML element. - - - - - Initializes a new instance of the ServiceStats class. - - - - - Constructs a ShareStats object from an XML document received from the service. - - The XML document. - A ShareStats object containing the properties in the XML document. - - - - Gets or sets the share usage. - - The share usage, in GB. - - - - Enumeration controlling the options for updating queue messages. - - - - - Update the message visibility timeout. - - - - - Update the message content. - - - - - Represents a continuation token returned by the Queue service. - - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for CloudQueue enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for CloudQueue enumeration operations. - - The type element. - - - - Gets or sets the next marker for continuing results for enumeration operations. - - A string containing the NextMarker value. - - - - Gets or sets the storage location that the continuation token applies to. - - A enumeration value. - - - - Enum for Queue message type. - Internal use only. - - - - - Indicates the message object stores the raw text string. - - - - - Indicates the message object stores the Base64-Encoded representation of the raw data. - - - - - Indicates the message object stores the raw binary data. - - - - - Represents a set of timeout and retry policy options that may be specified for a request against the Queue service. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Clones an instance of QueueRequestOptions so that we can apply defaults. - - QueueRequestOptions instance to be cloned. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the encryption policy for the request. - - An object of type . - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets the location mode of the request. - - A enumeration value indicating the location mode of the request. - - - - Gets or sets the server timeout interval for the request. - - A containing the server timeout interval for the request. - - - - Gets or sets the maximum execution time across all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - A object. - - - - Specifies the set of possible permissions for a shared access queue policy. - - - - - No shared access granted. - - - - - Permission to peek messages and get queue metadata granted. - - - - - Permission to add messages granted. - - - - - Permissions to update messages granted. - - - - - Permission to get and delete messages granted. - - - - - Represents the collection of shared access policies defined for a queue. - - - - - Adds the specified key and value to the collection of shared access policies. - - A string containing the key of the value to add. - The value to add the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - A string containing the key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - A string containing the key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - A string containing the key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key/ value pair in the shared access policies collection to a compatible one-dimensional array, starting at the specified index of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection of strings containing the keys of the shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - A string containing the key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy for a queue, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the SharedAccessQueuePolicy class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Provides methods for parsing the response from an operation to get messages from a queue. - - - - - Initializes a new instance of the class. - - The stream of messages to parse. - - - - Parses a message entry in a queue get messages response. - - Message entry - - - - Parses the XML response returned by an operation to get messages from a queue. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from a queue listing operation. - - - - - Stores the container prefix. - - - - - Signals when the container prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Parses a queue entry in a queue listing response. - - Queue listing entry - - - - Parses the response XML for a queue listing operation. - - An enumerable collection of objects. - - - - Gets the listing context from the XML response. - - A set of parameters for the listing operation. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Gets the Prefix value provided for the listing operation from the XML response. - - The Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - The Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - The MaxResults value. - - - - Gets the NextMarker value from the XML response, if the listing was not complete. - - The NextMarker value. - - - - Parses the response XML from an operation to set the access policy for a queue. - - - - - Initializes a new instance of the QueueAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Represents a queue item returned in the XML response for a queue listing operation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the queue. - The Uri of the queue. - The queue's metadata. - - - - Gets the user-defined metadata for the queue. - - The queue's metadata, as a collection of name-value pairs. - - - - Gets the name of the queue. - - The queue's name. - - - - Gets the queue's URI. - - The absolute URI to the queue. - - - - Provides error code strings that are specific to the Queue service. - - - - - Error code that may be returned when the specified queue was not found. - - - - - Error code that may be returned when the specified queue is disabled. - - - - - Error code that may be returned when the specified queue already exists. - - - - - Error code that may be returned when the specified queue is not empty. - - - - - Error code that may be returned when the specified queue is being deleted. - - - - - Error code that may be returned when the specified pop receipt does not match. - - - - - Error code that may be returned when one or more request parameters are invalid. - - - - - Error code that may be returned when the specified message was not found. - - - - - Error code that may be returned when the specified message is too large. - - - - - Error code that may be returned when the specified marker is invalid. - - - - - Provides a set of parameters for a queue listing operation. - - - - - Initializes a new instance of the class. - - The queue prefix. - The maximum number of results to return. - The include parameter. - - - - Gets or sets the details for the listing operation, which indicates the types of data to include in the - response. - - The details to include in the listing operation. - - - - Specifies which details to include when listing the queues in this storage account. - - - - - No additional details. - - - - - Retrieve queue metadata. - - - - - Retrieve all available details. - - - - - Represents a message retrieved from a queue. - - - - - Initializes a new instance of the class. - - - - - Gets the message expiration time. - - The message expiration time. - - - - Gets the message ID. - - The message ID. - - - - Gets the time the message was added to the queue. - - The message insertion time. - - - - Gets the time the message is next visible. - - The time the message is next visible. - - - - Gets the pop receipt for the message. - - The message's pop receipt. - - - - Gets the text of the message. - - The message text. - - - - Gets the number of times this message has been dequeued. - - The dequeue count. - - - - Represents the permissions for a queue. - - - - - Initializes a new instance of the class. - - - - - Gets the set of shared access policies for the queue. - - The set of shared access policies for the queue. - - - - Provides a set of helper methods for constructing a request against the Queue service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Writes a message to the specified stream in XML format. - - The message body. - An output stream. - - - - Gets or sets the number of entities the table query will return. - - The maximum number of entities for the table query to return. - - - - Gets or sets the filter expression to use in the table query. - - A string containing the filter expression to use in the query. - - - - Gets or sets the property names of the table entity properties to return when the table query is executed. - - A list of strings containing the property names of the table entity properties to return when the query is executed. - - - - Provides a set of extension methods for objects of type . - - - - - Specifies a set of with which the query will be executed. - - The entity type of the query. - A query that implements . - A object that specifies additional options for the request. - A object with the specified request options set. - - - - - Specifies an for the query. - - The entity type of the query. - A query that implements . - An object that represents the context for the current operation. - A object with the specified operation context. - - - - - Specifies an entity resolver for the query. - - The entity type of the query. - The type of the resolver. - A query that implements . - The entity resolver, of type . - A with the specified resolver. - - - - - Specifies that a query be returned as a object. - - The entity type of the query. - A query that implements . - An object of type . - - - - - A type which allows callers direct access to the property map of the entity. - This class eliminates the use of reflection for serialization and deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified partition key and row key. - - A string containing the partition key value for the entity. - A string containing the row key value for the entity. - - - - Initializes a new instance of the class with the entity's partition key, row key, ETag (if available/required), and properties. - - A string containing the partition key value for the entity. - A string containing the row key value for the entity. - A string containing the ETag for the entity. - An object containing the entity's properties, indexed by property name. - - - - Initializes a new instance of the class with the entity's partition key, row key, timestamp, ETag (if available/required), and properties. - - A string containing the partition key value for the entity. - A string containing the row key value for the entity. - A value containing the timestamp for this entity. - A string containing the ETag for the entity. - An object containing the entity's properties, indexed by property name. - - - - Deserializes this instance using the specified of property names to values of type . - - A collection containing the of string property names mapped to values of type to store in this instance. - An object that represents the context for the current operation. - The properties dictionary passed to this API is stored internally as a reference, not a copy. - - - - Serializes the of property names mapped to values of type from this instance. - - An object that represents the context for the current operation. - An object containing the map of string property names to values of type stored in this instance. - - - - Gets or sets the properties in the table entity, indexed by property name. - - An object containing the entity's properties. - - - - Gets or sets the entity's partition key. - - A string containing the partition key value for the entity. - - - - Gets or sets the entity's row key. - - A string containing the row key value for the entity. - - - - Gets or sets the entity's timestamp. - - A containing the timestamp for the entity. - - - - Gets or sets the entity's current ETag. - - A string containing the ETag for the entity. - Set this value to '*' to blindly overwrite an entity as part of an update operation. - - - - Gets or sets the entity's property, given the name of the property. - - A string containing the name of the property. - An object. - - - - Enumeration containing the types of values that can be stored in - a table entity property. - - - - - Represents fixed- or variable-length character data. - - - - - Represents fixed- or variable-length binary data. - - - - - Represents the mathematical concept of binary-valued logic. - - - - - Represents date and time. - - - - - Represents a floating point number with 15 digits precision that can represent values with approximate range of +/- 2.23e -308 through +/- 1.79e +308. - - - - - Represents a 16-byte (128-bit) unique identifier value. - - - - - Represents a signed 32-bit integer value. - - - - - Represents a signed 64-bit integer value. - - - - - Class for storing information about a single property in an entity in a table. - - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified byte array. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Initializes a new instance of the class by using the - byte array value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the EntityProperty class given the - EdmType of the property (the value must be set by a public - constructor). - - - - - Compares the given object (which is probably an ) - for equality with this object. - - The other object. - true if the objects are equivalent; false otherwise. - - - - Compares the given object (which is probably an ) - for equality with this object. - - The other object. - true if the objects are equivalent; false otherwise. - - - - Gets the hash code for this entity property. - - The hash code for the entity property. - - - - Creates an from the specified object. - - An object containing the value for the entity property. - An object. - - - - Ensures that the given type matches the type of this entity - property; throws an exception if the types do not match. - - - - - Gets the as a generic object. - - - - - Gets the of this object. - - The of this object. - - - - Gets or sets the byte array value of this object. - - The byte array value of this object. - An exception is thrown if this property is set to a value other than a byte array. - - - - Gets or sets the boolean value of this object. - - The boolean value of this object. - An exception is thrown if this property is set to a value other than a boolean value. - - - - Gets or sets the value of this object. - An exception will be thrown if you attempt to set this property to anything other than a object. - - The value of this object. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than a value. - - - - Gets or sets the double value of this object. - - The double value of this object. - An exception is thrown if this property is set to a value other than a double value. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than a value. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than a value. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than an value. - - - - Gets or sets the string value of this object. - - The string value of this object. - An exception is thrown if this property is set to a value other than a string value. - - - - Returns a delegate for resolving entities. - - The type into which the query results are projected. - A string containing the partition key for the entity. - A string containing the row key for the entity. - A containing the timestamp for the entity. - An object containing the properties for the entity. - The ETag. - - - - - Represents a custom attribute that can be used to ignore entity properties during serialization/de-serialization. - - - - - Defines the set of comparison operators that may be used for constructing queries. - - - - - Represents the Equal operator. - - - - - Represents the Not Equal operator. - - - - - Represents the Greater Than operator. - - - - - Represents the Greater Than or Equal operator. - - - - - Represents the Less Than operator. - - - - - Represents the Less Than or Equal operator. - - - - - Specifies the set of possible permissions for a shared access table policy. - - - - - No shared access granted. - - - - - Permission to query entities granted. - - - - - Permission to add entities granted. - - - - - Permission to modify entities granted. - - - - - Permission to delete entities granted. - - - - - Represents the collection of shared access policies defined for a table. - - - - - Adds the specified key and value to the collection of shared access policies. - - The key of the value to add. - The value to add to the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - The key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - The key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - The key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key/ value pair in the shared access policies collection to a compatible one-dimensional array, starting at the specified index of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection containing the keys in the of shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - The key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the SharedAccessTablePolicy class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Represents a continuation token for listing operations. - - A method that may return a partial set of results via a object also returns a continuation token, - which can be used in a subsequent call to return the next set of available results. - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for enumeration operations. - - The type element. - - - - Gets or sets the next partition key for enumeration operations. - - A string containing the next partition key. - - - - Gets or sets the next row key for enumeration operations. - - A string containing the next row key. - - - - Gets or sets the next table name for enumeration operations. - - A string containing the name of the next table. - - - - Gets or sets the storage location that the continuation token applies to. - - A enumeration value. - - - - Enumeration containing the types of operations that can be - performed by a . - - - - - Represents an insert operation. - - - - - Represents a delete operation. - - - - - Represents a replace operation. - - - - - Represents a merge operation. - - - - - Represents an insert or replace operation. - - - - - Represents an insert or merge operation. - - - - - Represents a retrieve operation. - - - - - Defines the set of Boolean operators for constructing queries. - - - - - Represents the And operator. - - - - - Represents the Not operator. - - - - - Represents the Or operator. - - - - - Describes the payload formats supported for Tables. - - - - - Use JSON with full metadata. - - - - - Use JSON with minimal metadata. - - - - - Use JSON with no metadata. - - - - - Represents the permissions for a table. - - - - - Initializes a new instance of the class. - - - - - Gets the set of shared access policies for the container. - - A object. - - - - Represents a segment of results and contains continuation token information. - - The type of the result that the segment contains. - - - - Stores the continuation token used to retrieve the next segment of results. - - - - - Initializes a new instance of the class. - - The result. - - - - Returns an enumerator that iterates through the . - - An enumerator that iterates through the . - - - - Gets an enumerable collection of results. - - An enumerable collection of results. - - - - Gets a continuation token to use to retrieve the next set of results with a subsequent call to the operation. - - A object. - - - - Represents a set of timeout and retry policy options that may be specified for a request against the Table service. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified . - - The object used to initialize a new instance of the class. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the option to include system properties such as Partition Key and Row Key in queries. - - - - - Gets or sets the encryption policy for the request. - - An object of type . - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets the location mode of the request. - - A enumeration value indicating the location mode of the request. - - - - Gets or sets the server timeout interval for the request. - - A containing the server timeout interval for the request. - - - - Gets or sets the maximum execution time for all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Gets or sets the that will be used for the request. - - A enumeration value. - - - - Gets or sets the delegate that is used to get the for an entity property given the partition key, row key, and the property name. - - - - - Gets or sets the delegate to get the value indicating whether or not a property should be encrypted, given the partition key, row key, - and property name. - - - - - Represents the result of a table operation. - - The class encapsulates the HTTP response and any entities returned for a particular . - - - - Gets or sets the result returned by the as an . - - The result of the table operation as an . - - - - Gets or sets the HTTP status code returned by a request. - - The HTTP status code returned by a request. - - - - Gets or sets the ETag returned with the request results. - - The ETag returned with the request results. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Initializes a new instance of the class. - - The result. - - - - Stores the continuation token used to retrieve the next segment of results or null if there are no more results. - - - - - Returns an enumerator that iterates through the segment of results. - - An enumerator that iterates through the segment of results. - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - A object. - - - - Internal Table service entity for creating tables. - - - - - Stores the table name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - The name of the table. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - Returns true if the specified is equal to this instance; otherwise, false. - - - The parameter is null. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets or sets the table name. - - The name of the table. - - - - Represents the default EDM entity container for table storage. - - - - - Initializes a new instance of the EdmEntityContainer class and sets the model and entity set. The name and namespace should not matter since we look for default entity container. - - Sets the data model that will be used for table transactions. - - - - Searches for an entity set with the given name in this entity container and creates a new set if no such set exists. - - The name of the element being found. - The requested element, or the new element created if no such element exists. - - - - Represents a data model that will be used by OData for table transactions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Searches for a type with the given name in this model and creates a new type if no such type exists. - - The qualified name of the type being found. - The requested type, or the new type created if no such type exists. - - - - Create a new type with the standard set of properties(PK, RK and TimeStamp). - - Namespace the entity belongs to. - Name of the entity. - The EdmEntityType created. - - - - Searches for a type with the given name in this model. Returns true if such a type is found, otherwise returns false. - - The qualified name of the type being found. - true if the type is found; otherwise, false. - - - - Parses the response XML from an operation to set the access policy for a table. - - - - - Initializes a new instance of the TableAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - A set of constants used in operations against the Table service. - - - - - Stores the maximum number of operations allowed in a TableBatchOperation. - - - - - Stores the header prefix for continuation information. - - - - - Stores the header suffix for the next partition key. - - - - - Stores the header suffix for the next row key. - - - - - Stores the table suffix for the next table name. - - - - - Stores the maximum results the Table service can return. - - - - - The maximum size of a string property for the Table service in bytes. - - - - - The maximum size of a string property for the Table service in bytes. - - - - - The maximum size of a string property for the Table service in chars. - - - - - The name of the special table used to store tables. - - - - - The name of the partition key property. - - - - - The name of the row key property. - - - - - The name of the Timestamp property. - - - - - The name of the ETag property. - - - - - The name of the property that stores the table name. - - - - - The query filter clause name. - - - - - The query top clause name. - - - - - The query select clause name. - - - - - The minimum DateTime supported. - - - - - The ODataProtocolVersion. - - - - - Provides error code strings that are specific to the Windows Azure Table service. - - - - - The request uses X-HTTP-Method with an HTTP verb other than POST. - - - - - The specified X-HTTP-Method is invalid. - - - - - More than one X-HTTP-Method is specified. - - - - - The specified table has no properties. - - - - - A property is specified more than once. - - - - - The specified table has no such property. - - - - - A duplicate key property was specified. - - - - - The specified table already exists. - - - - - The specified table was not found. - - - - - The specified entity was not found. - - - - - The specified entity already exists. - - - - - The partition key was not specified. - - - - - One or more specified operators are invalid. - - - - - The specified update condition was not satisfied. - - - - - All properties must have values. - - - - - The partition key property cannot be updated. - - - - - The entity contains more properties than allowed. - - - - - The entity is larger than the maximum size permitted. - - - - - The property value is larger than the maximum size permitted. - - - - - One or more value types are invalid. - - - - - The specified table is being deleted. - - - - - The Table service server is out of memory. - - - - - The type of the primary key property is invalid. - - - - - The property name exceeds the maximum allowed length. - - - - - The property name is invalid. - - - - - Batch operations are not supported for this operation type. - - - - - JSON format is not supported. - - - - - The specified method is not allowed. - - - - - The specified operation is not yet implemented. - - - - - The required host information is not present in the request. You must send a non-empty Host header or include the absolute URI in the request line. - - - - - Provides a set of helper methods for constructing a request against the Table service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Contains storage constants. - - - - - Constant for the max value of ParallelOperationThreadCount for Block Blobs. - - - - - Maximum number of shared access policy identifiers supported by server. - - - - - Default Write Block Size used by Blob stream. - - - - - The maximum size of a blob before it must be separated into blocks. - - - - - The maximum size of a single block. - - - - - The maximum size of a range get operation that returns content MD5. - - - - - The maximum number of blocks. - - - - - The maximum size of a blob with blocks. - - - - - Default size of buffer for unknown sized requests. - - - - - Common name to be used for all loggers. - - - - - The size of a page in a PageBlob. - - - - - A constant representing a kilo-byte (Non-SI version). - - - - - A constant representing a megabyte (Non-SI version). - - - - - A constant representing a megabyte (Non-SI version). - - - - - XML element for committed blocks. - - - - - XML element for uncommitted blocks. - - - - - XML element for blocks. - - - - - XML element for names. - - - - - XML element for sizes. - - - - - XML element for block lists. - - - - - XML element for queue message lists. - - - - - XML element for queue messages. - - - - - XML element for message IDs. - - - - - XML element for insertion times. - - - - - XML element for expiration times. - - - - - XML element for pop receipts. - - - - - XML element for the time next visible fields. - - - - - XML element for message texts. - - - - - XML element for dequeue counts. - - - - - XML element for page ranges. - - - - - XML element for clear ranges. - - - - - XML element for page list elements. - - - - - XML element for page range start elements. - - - - - XML element for page range end elements. - - - - - XML element for delimiters. - - - - - XML element for blob prefixes. - - - - - XML element for content type fields. - - - - - XML element for content type fields. - - - - - XML element for content encoding fields. - - - - - XML element for content language fields. - - - - - XML element for content length fields. - - - - - XML element for content MD5 fields. - - - - - XML element for enumeration results. - - - - - XML element for service endpoint. - - - - - XML element for container name. - - - - - XML element for share name. - - - - - XML element for directory path. - - - - - XML element for blobs. - - - - - XML element for prefixes. - - - - - XML element for maximum results. - - - - - XML element for markers. - - - - - XML element for the next marker. - - - - - XML element for the ETag. - - - - - XML element for the last modified date. - - - - - XML element for the Url. - - - - - XML element for blobs. - - - - - XML element for copy ID. - - - - - XML element for copy status. - - - - - XML element for copy source. - - - - - XML element for copy progress. - - - - - XML element for copy completion time. - - - - - XML element for copy status description. - - - - - Constant signaling a page blob. - - - - - Constant signaling a block blob. - - - - - Constant signaling an append blob. - - - - - Constant signaling the blob is locked. - - - - - Constant signaling the blob is unlocked. - - - - - Constant signaling the resource is available for leasing. - - - - - Constant signaling the resource is leased. - - - - - Constant signaling the resource's lease has expired. - - - - - Constant signaling the resource's lease is breaking. - - - - - Constant signaling the resource's lease is broken. - - - - - Constant signaling the resource's lease is infinite. - - - - - Constant signaling the resource's lease is fixed (finite). - - - - - Constant for a pending copy. - - - - - Constant for a successful copy. - - - - - Constant for an aborted copy. - - - - - Constant for a failed copy. - - - - - Constant for unavailable geo-replication status. - - - - - Constant for live geo-replication status. - - - - - Constant for bootstrap geo-replication status. - - - - - XML element for blob types. - - - - - XML element for the lease status. - - - - - XML element for the lease status. - - - - - XML element for the lease status. - - - - - XML element for snapshots. - - - - - XML element for containers. - - - - - XML element for a container. - - - - - XML element for shares. - - - - - XML element for a share. - - - - - XML element for Share Quota. - - - - - XML element for file ranges. - - - - - XML element for file list elements. - - - - - XML element for files. - - - - - XML element for files. - - - - - XML element for directory. - - - - - XML element for queues. - - - - - Version 2 of the XML element for the queue name. - - - - - XML element for the queue. - - - - - XML element for properties. - - - - - XML element for the metadata. - - - - - XML element for an invalid metadata name. - - - - - XML element for maximum results. - - - - - XML element for committed blocks. - - - - - XML element for uncommitted blocks. - - - - - XML element for the latest. - - - - - XML element for signed identifiers. - - - - - XML element for a signed identifier. - - - - - XML element for access policies. - - - - - XML attribute for IDs. - - - - - XML element for the start time of an access policy. - - - - - XML element for the end of an access policy. - - - - - XML element for the permissions of an access policy. - - - - - The URI path component to access the messages in a queue. - - - - - XML element for exception details. - - - - - XML root element for errors. - - - - - XML element for error codes. - - - - - XML element for error codes returned by the preview tenants. - - - - - XML element for error messages. - - - - - XML element for error messages. - - - - - XML element for exception messages. - - - - - XML element for stack traces. - - - - - Namespace of the entity container. - - - - - Name of the entity container. - - - - - Name of the entity set. - - - - - Namespace name for primitive types. - - - - - Default namespace name for Tables. - - - - - Default name for Tables. - - - - - Header value to set Accept to XML. - - - - - Header value to set Accept to JsonLight. - - - - - Header value to set Accept to JsonFullMetadata. - - - - - Header value to set Accept to JsonNoMetadata. - - - - - Header value argument to set JSON no metadata. - - - - - Header value to set Content-Type to JSON. - - - - - The prefix used in all ETags. - - - - - Constant for the max value of MaximumExecutionTime. - - - - - Default client side timeout for all service clients. - - - - - Maximum Retry Policy back-off - - - - - Maximum allowed timeout for any request. - - - - - Constants for HTTP headers. - - - - - Specifies the value to use for UserAgent header. - - - - - Specifies the value to use for UserAgent header. - - - - - Master Windows Azure Storage header prefix. - - - - - True Header. - - - - - False Header. - - - - - Header prefix for properties. - - - - - Header prefix for metadata. - - - - - Header that specifies content disposition. - - - - - Header that specifies content length. - - - - - Header that specifies content language. - - - - - Header that specifies the ETag value for the resource. - - - - - Header for data ranges. - - - - - Header for range content MD5. - - - - - Header for storage version. - - - - - Header for copy source. - - - - - Header for the If-Match condition. - - - - - Header for the If-Modified-Since condition. - - - - - Header for the If-None-Match condition. - - - - - Header for the If-Unmodified-Since condition. - - - - - Header for the file type. - - - - - Header that specifies file caching control. - - - - - Request header that specifies the file content disposition. - - - - - Header that specifies file content encoding. - - - - - Header that specifies file content language. - - - - - Header that specifies file content MD5. - - - - - Header that specifies file content type. - - - - - Header that specifies file content length. - - - - - Header that specifies the file write mode. - - - - - Header for the blob type. - - - - - Header for snapshots. - - - - - Header to delete snapshots. - - - - - Header that specifies blob caching control. - - - - - Request header that specifies the blob content disposition. - - - - - Header that specifies blob content encoding. - - - - - Header that specifies blob content language. - - - - - Header that specifies blob content MD5. - - - - - Header that specifies blob content type. - - - - - Header that specifies blob content length. - - - - - Header that specifies blob sequence number. - - - - - Header that specifies sequence number action. - - - - - Header that specifies committed block count. - - - - - Header that specifies the blob append offset. - - - - - Header for the If-Sequence-Number-LE condition. - - - - - Header for the If-Sequence-Number-LT condition. - - - - - Header for the If-Sequence-Number-EQ condition. - - - - - Header for the blob-condition-maxsize condition. - - - - - Header for the blob-condition-appendpos condition. - - - - - Header that specifies lease ID. - - - - - Header that specifies lease status. - - - - - Header that specifies lease status. - - - - - Header that specifies page write mode. - - - - - Header that specifies approximate message count of a queue. - - - - - Header that specifies the date. - - - - - Header indicating the request ID. - - - - - Header indicating the client request ID. - - - - - Header that specifies public access to blobs. - - - - - Format string for specifying ranges. - - - - - Current storage version header value. - Every time this version changes, assembly version needs to be updated as well. - - - - - Specifies the file type. - - - - - Specifies the page blob type. - - - - - Specifies the block blob type. - - - - - Specifies the append blob type. - - - - - Specifies only snapshots are to be included. - - - - - Specifies snapshots are to be included. - - - - - Header that specifies the pop receipt for a message. - - - - - Header that specifies the next visible time for a message. - - - - - Header that specifies whether to peek-only. - - - - - Header that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - - - - - Header that specifies the lease action to perform. - - - - - Header that specifies the proposed lease ID for a leasing operation. - - - - - Header that specifies the duration of a lease. - - - - - Header that specifies the break period of a lease. - - - - - Header that specifies the remaining lease time. - - - - - Header that specifies the key name for explicit keys. - - - - - Header that specifies the copy ID. - - - - - Header that specifies the conclusion time of the last attempted blob copy operation - where this blob was the destination blob. - - - - - Header that specifies the copy status. - - - - - Header that specifies the copy progress. - - - - - Header that specifies a copy error message. - - - - - Header that specifies the copy action. - - - - - The value of the copy action header that signifies an abort operation. - - - - - Header that specifies the share size, in gigabytes. - - - - - Header that specifies the share quota, in gigabytes. - - - - - Header that specifies the Accept type for the response payload. - - - - - Header that specifies the Content type for the request payload. - - - - - Specifies the value to use for UserAgent header. - - - - - Specifies the comment to use for UserAgent header. - - - - - Constants for query strings. - - - - - Query component for snapshot time. - - - - - Query component for the signed SAS start time. - - - - - Query component for the signed SAS expiry time. - - - - - Query component for the signed SAS resource. - - - - - Query component for the signed SAS resource types. - - - - - Query component for the signed SAS service. - - - - - Query component for the signed SAS protocol. - - - - - Query component for the signed SAS IP. - - - - - Query component for the SAS table name. - - - - - Query component for the signed SAS permissions. - - - - - Query component for the SAS start partition key. - - - - - Query component for the SAS start row key. - - - - - Query component for the SAS end partition key. - - - - - Query component for the SAS end row key. - - - - - Query component for the signed SAS identifier. - - - - - Query component for the signing SAS key. - - - - - Query component for the signed SAS version. - - - - - Query component for SAS signature. - - - - - Query component for SAS cache control. - - - - - Query component for SAS content type. - - - - - Query component for SAS content encoding. - - - - - Query component for SAS content language. - - - - - Query component for SAS content disposition. - - - - - Query component for SAS API version. - - - - - Query component for message time-to-live. - - - - - Query component for message visibility timeout. - - - - - Query component for the number of messages. - - - - - Query component for message pop receipt. - - - - - Query component for resource type. - - - - - Query component for the operation (component) to access. - - - - - Query component for the copy ID. - - - - - Constants for Result Continuations - - - - - Top Element for Continuation Tokens - - - - - XML element for the next marker. - - - - - XML element for the next partition key. - - - - - XML element for the next row key. - - - - - XML element for the next table name. - - - - - XML element for the target location. - - - - - XML element for the token version. - - - - - Stores the current token version value. - - - - - XML element for the token type. - - - - - Specifies the blob continuation token type. - - - - - Specifies the queue continuation token type. - - - - - Specifies the table continuation token type. - - - - - Specifies the file continuation token type. - - - - - Constants for version strings - - - - - Constant for the 2013-08-15 version. - - - - - Constant for the 2012-02-12 version. - - - - - Constants for analytics client - - - - - Constant for the logs container. - - - - - Constant for the blob capacity metrics table. - - - - - Constant for the blob service primary location hourly metrics table. - - - - - Constant for the table service primary location hourly metrics table. - - - - - Constant for the queue service primary location hourly metrics table. - - - - - Constant for the file service primary location hourly metrics table. - - - - - Constant for the blob service primary location minute metrics table. - - - - - Constant for the table service primary location minute metrics table. - - - - - Constant for the queue service primary location minute metrics table. - - - - - Constant for the file service primary location minute metrics table. - - - - - Constant for the blob service secondary location hourly metrics table. - - - - - Constant for the table service secondary location hourly metrics table. - - - - - Constant for the queue service secondary location hourly metrics table. - - - - - Constant for the file service secondary location hourly metrics table. - - - - - Constant for the blob service secondary location minute metrics table. - - - - - Constant for the table service secondary location minute metrics table. - - - - - Constant for the queue service secondary location minute metrics table. - - - - - Constant for the file service secondary location minute metrics table. - - - - - Constant for default logging version. - - - - - Constant for default metrics version. - - - - - Constants for client encryption. - - - - - Constant for the encryption protocol. - - - - - Encryption metadata key for key wrapping IV. - - - - - Metadata header to store encryption materials. - - - - - Property name to store the encryption metadata. - - - - - Additional property name to store the encryption metadata. - - - - - HTTP methods that are supported by CORS. - - - - - Represents no HTTP method in a CORS rule. - - - - - Represents the GET HTTP method in a CORS rule. - - - - - Represents the HEAD HTTP method in a CORS rule. - - - - - Represents the POST HTTP method in a CORS rule. - - - - - Represents the PUT HTTP method in a CORS rule. - - - - - Represents the DELETE HTTP method in a CORS rule. - - - - - Represents the TRACE HTTP method in a CORS rule. - - - - - Represents the OPTIONS HTTP method in a CORS rule. - - - - - Represents the CONNECT HTTP method in a CORS rule. - - - - - Represents the MERGE HTTP method in a CORS rule. - - - - - Class representing the service properties pertaining to CORS. - - - - - Constructs a CORS Properties object. - - - - - Gets or sets CORS rules. The order of the list corresponds to precedence of rules. - - A collection containing CORS rules, limited to 5. - - - - Class representing the service properties pertaining to CORS. - - - - - Gets or sets domain names allowed via CORS. - - A collection of strings containing the allowed domain names, limited to 64. - - - - Gets or sets response headers that should be exposed to client via CORS. - - A collection of strings containing exposed headers, limited to 64 defined headers and two prefixed headers. - - - - Gets or sets headers allowed to be part of the CORS request. - - A collection of strings containing allowed headers, limited to 64 defined headers and two prefixed headers. - - - - Gets or sets the HTTP methods permitted to execute for this origin. - - The allowed HTTP methods. - - - - Gets or sets the length of time in seconds that a preflight response should be cached by browser. - - The maximum number of seconds to cache the response. - - - - Class representing the geo-replication stats. - - - - - The name of the status XML element. - - - - - The name of the last sync time XML element. - - - - - Initializes a new instance of the GeoReplicationStats class. - - - - - Gets a from a string. - - The geo-replication status string. - A enumeration. - The string contains an unrecognized value. - - - - Constructs a GeoReplicationStats object from an XML element. - - The XML element. - A GeoReplicationStats object containing the properties in the element. - - - - Gets or sets the status of geo-replication. - - The status of geo-replication. - - - - Gets or sets the last synchronization time. - - The last synchronization time. - All primary writes preceding this value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. - - - - Enumeration representing the state of geo-replication in a service. - - - - - Status of geo-replication is unavailable. - - - - - Geo-replication is live. - - - - - Data is being bootstrapped from primary to secondary. - - - - - Enumeration representing the state of logging in a service. - - - - - Logging is disabled. - - - - - Log read operations. - - - - - Log write operations. - - - - - Log delete operations. - - - - - Log all operations. - - - - - Class representing the service properties pertaining to logging. - - - - - Initializes a new instance of the LoggingProperties class. - - - - - Initializes a new instance of the LoggingProperties class. - - - - - Gets or sets the version of the analytics service. - - A string identifying the version of the service. - - - - Gets or sets the state of logging. - - A combination of flags describing the operations that are logged. - - - - Gets or sets the logging retention policy. - - The number of days to retain the logs. - - - - Enumeration representing the state of metrics collection in a service. - - - - - Metrics collection is disabled. - - - - - Service-level metrics collection is enabled. - - - - - Service-level and API metrics collection are enabled. - - - - - Class representing the service properties pertaining to metrics. - - - - - Initializes a new instance of the MetricsProperties class. - - - - - Initializes a new instance of the MetricsProperties class. - - - - - Gets or sets the version of the analytics service. - - A string identifying the version of the service. - - - - Gets or sets the state of metrics collection. - - A value indicating which metrics to collect, if any. - - - - Gets or sets the logging retention policy. - - The number of days to retain the logs. - - - - Converts the date time to snapshot string. - - The date time. - The converted string. - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - A delegate that writes a policy to an XML writer. - The type of policy to write. - - - - Gets the request id. - - The response from server. - The request ID. - - - - Reads a collection of shared access policies from the specified object. - - A collection of shared access policies to be filled. - A policy response object for reading the stream. - The type of policy to read. - - - - Parses the metadata. - - The reader. - A of metadata. - - Precondition: reader at <Metadata> - Postcondition: reader after </Metadata> (<Metadata/> consumed) - - - - - Class representing a set of properties pertaining to a cloud storage service. - - - - - The name of the root XML element. - - - - - The name of the logging XML element. - - - - - The name of the metrics XML element. - - - - - The name of the CORS XML element. - - - - - The name of the minute metrics XML element. - - - - - The name of the version XML element. - - - - - The name of the delete operation XML element. - - - - - The name of the read operation XML element. - - - - - The name of the write operation XML element. - - - - - The name of the retention policy XML element. - - - - - The name of the enabled XML element. - - - - - The name of the days XML element. - - - - - The name of the include APIs XML element. - - - - - The name of the default service version XML element. - - - - - The name of the CORS Rule XML element. - - - - - The name of the Allowed Origin XML element. - - - - - The name of the Allowed Method XML element. - - - - - The name of the Maximum Age XML element. - - - - - The name of the Exposed Headers XML element. - - - - - The name of the Allowed Headers XML element. - - - - - Initializes a new instance of the ServiceProperties class. - - - - - Initializes a new instance of the ServiceProperties class. - - - - - Constructs a ServiceProperties object from an XML document received from the service. - - The XML document. - A ServiceProperties object containing the properties in the XML document. - - - - Converts these properties into XML for communicating with the service. - - An XML document containing the service properties. - - - - Generates XML representing the given retention policy. - - The number of days to retain, or null if the policy is disabled. - An XML retention policy element. - - - - Generates XML representing the given metrics properties. - - The metrics properties. - The XML name for these metrics. - An XML metrics element. - - - - Generates XML representing the given logging properties. - - The logging properties. - An XML logging element. - - - - Generates XML representing the given CORS properties. - - The CORS properties. - An XML logging element. - - - - Constructs a LoggingProperties object from an XML element. - - The XML element. - A LoggingProperties object containing the properties in the element. - - - - Constructs a MetricsProperties object from an XML element. - - The XML element. - A MetricsProperties object containing the properties in the element. - - - - Constructs a CorsProperties object from an XML element. - - The XML element. - A CorsProperties object containing the properties in the element. - - - - Constructs a retention policy (number of days) from an XML element. - - The XML element. - The number of days to retain, or null if retention is disabled. - - - - Writes service properties to a stream, formatted in XML. - - The stream to which the formatted properties are to be written. - - - - Gets or sets the logging properties. - - The logging properties. - - - - Gets or sets the hour metrics properties. - - The metrics properties. - - - - Gets or sets the Cross Origin Resource Sharing (CORS) properties. - - The CORS properties. - - - - Gets or sets the minute metrics properties. - - The minute metrics properties. - - - - Gets or sets the default service version. - - The default service version identifier. - - - - Class representing a set of stats pertaining to a cloud storage service. - - - - - The name of the root XML element. - - - - - The name of the geo-replication XML element. - - - - - Initializes a new instance of the ServiceStats class. - - - - - Constructs a ServiceStats object from an XML document received from the service. - - The XML document. - A ServiceStats object containing the properties in the XML document. - - - - Gets or sets the geo-replication stats. - - The geo-replication stats. - - - - Provides error code strings that are common to all storage services. - - - - - The specified HTTP verb is not supported. - - - - - The Content-Length header is required for this request. - - - - - A required header was missing. - - - - - A required XML node was missing. - - - - - One or more header values are not supported. - - - - - One or more XML nodes are not supported. - - - - - One or more header values are invalid. - - - - - One or more XML node values are invalid. - - - - - A required query parameter is missing. - - - - - One or more query parameters is not supported. - - - - - One or more query parameters are invalid. - - - - - One or more query parameters are out of range. - - - - - The URI is invalid. - - - - - The HTTP verb is invalid. - - - - - The metadata key is empty. - - - - - The request body is too large. - - - - - The specified XML document is invalid. - - - - - An internal error occurred. - - - - - Authentication failed. - - - - - The specified MD5 hash does not match the server value. - - - - - The specified MD5 hash is invalid. - - - - - The input is out of range. - - - - - The input is invalid. - - - - - The operation timed out. - - - - - The specified resource was not found. - - - - - The specified metadata is invalid. - - - - - The specified metadata is too large. - - - - - The specified condition was not met. - - - - - The specified range is invalid. - - - - - The specified container was not found. - - - - - The specified container already exists. - - - - - The specified container is disabled. - - - - - The specified container is being deleted. - - - - - The server is busy. - - - - - The url in the request could not be parsed. - - - - - The authentication information was not provided in the correct format. Verify the value of Authorization header. - - - - - The specified resource name contains invalid characters. - - - - - Condition headers are not supported. - - - - - Multiple condition headers are not supported. - - - - - Read-access geo-redundant replication is not enabled for the account, write operations to the secondary location are not allowed, - or the account being accessed does not have sufficient permissions to execute this operation. - - - - - The specified account is disabled. - - - - - The specified account already exists. - - - - - The specified account is in the process of being created. - - - - - The specified resource already exists. - - - - - The specified resource type does not match the type of the existing resource. - - -
-
diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/AskSPRider/bin/Newtonsoft.Json.dll deleted file mode 100644 index b7ef414f3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/AskSPRider/bin/Newtonsoft.Json.xml deleted file mode 100644 index 1a0d09d7e..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/OfficeDevPnP.Core.dll b/samples/js-bot-framework/bot/AskSPRider/bin/OfficeDevPnP.Core.dll deleted file mode 100644 index 4f4219dd2..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/OfficeDevPnP.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.dll b/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.dll deleted file mode 100644 index 384dfaf1b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.pdb b/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.pdb deleted file mode 100644 index 932f44f93..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.xml b/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.xml deleted file mode 100644 index 817f5bfe5..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/System.IdentityModel.Tokens.Jwt.xml +++ /dev/null @@ -1,2502 +0,0 @@ - - - - System.IdentityModel.Tokens.Jwt - - - - - Helper class for adding DateTimes and Timespans. - - - - - Add a DateTime and a TimeSpan. - The maximum time is DateTime.MaxTime. It is not an error if time + timespan > MaxTime. - Just return MaxTime. - - Initial value. - to add. - as the sum of time and timespan. - - - - Gets the Maximum value for a DateTime specifying kind. - - DateTimeKind to use. - DateTime of specified kind. - - - - Gets the Minimum value for a DateTime specifying kind. - - DateTimeKind to use. - DateTime of specified kind. - - - - Error codes and messages - - - - - Serializes the list of strings into string as follows: - 'str1','str2','str3' ... - - - The strings used to build a comma delimited string. - - - The single . - - - - - Provides signing and verifying operations when working with an - - - - - This class defines the object model for types that provide signature services. - - - - - Produces a signature over the 'input' - - bytes to sign. - signed bytes - - - - Verifies that a signature created over the 'input' matches the signature. - - bytes to verify. - signature to compare against. - true if the computed signature matches the signature parameter, false otherwise. - - - - Calls and - - - - - Can be over written in descendants to dispose of internal components. - - true, if called from Dispose(), false, if invoked inside a finalizer - - - - Gets or sets a user context for a . - - - - - Initializes a new instance of the class used to create and verify signatures. - - - The that will be used for cryptographic operations. - - - The signature algorithm to apply. - - - If this is required to create signatures then set this to true. - - Creating signatures requires that the has access to a private key. - Verifying signatures (the default), does not require access to the private key. - - - - 'key' is null. - - - 'algorithm' is null. - - - 'algorithm' contains only whitespace. - - - willCreateSignatures is true and .KeySize is less than . - - - .KeySize is less than . Note: this is always checked. - - - Is thrown if the throws. - - - Is thrown if the returns null. - - - Is thrown if the throws. - - - Is thrown if the returns null. - - - Is thrown if the throws. - - - Is thrown if the returns null. - - - Is thrown if the throws. - - - Is thrown if the throws. - - - - - Produces a signature over the 'input' using the and algorithm passed to . - - bytes to be signed. - a signature over the input. - 'input' is null. - 'input.Length' == 0. - if has been called. - if the internal is null. This can occur if the constructor parameter 'willBeUsedforSigning' was not 'true'. - if the internal is null. This can occur if a derived type deletes it or does not create it. - - - - Verifies that a signature over the' input' matches the signature. - - the bytes to generate the signature over. - the value to verify against. - true if signature matches, false otherwise. - 'input' is null. - 'signature' is null. - 'input.Length' == 0. - 'signature.Length' == 0. - if has been called. - if the internal is null. This can occur if a derived type does not call the base constructor. - if the internal is null. This can occur if a derived type deletes it or does not create it. - - - - Calls to release this managed resources. - - true, if called from Dispose(), false, if invoked inside a finalizer. - - - - Encodes and Decodes strings as Base64Url encoding. - - - - - The following functions perform base64url encoding which differs from regular base64 encoding as follows - * padding is skipped so the pad character '=' doesn't have to be percent encoded - * the 62nd and 63rd regular base64 encoding characters ('+' and '/') are replace with ('-' and '_') - The changes make the encoding alphabet file and URL safe. - - string to encode. - Base64Url encoding of the UTF8 bytes. - - - - Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64-url digits. Parameters specify - the subset as an offset in the input array, and the number of elements in the array to convert. - - An array of 8-bit unsigned integers. - An offset in inArray. - The number of elements of inArray to convert. - The string representation in base 64 url encodingof length elements of inArray, starting at position offset. - 'inArray' is null. - offset or length is negative OR offset plus length is greater than the length of inArray. - - - - Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64-url digits. Parameters specify - the subset as an offset in the input array, and the number of elements in the array to convert. - - An array of 8-bit unsigned integers. - The string representation in base 64 url encodingof length elements of inArray, starting at position offset. - 'inArray' is null. - offset or length is negative OR offset plus length is greater than the length of inArray. - - - - Converts the specified string, which encodes binary data as base-64-url digits, to an equivalent 8-bit unsigned integer array. - base64Url encoded string. - UTF8 bytes. - - - - Decodes the string from Base64UrlEncoded to UTF8. - - string to decode. - UTF8 string. - - - - Defines the inbound and outbound mapping for claim claim types from jwt to .net claim - - - - - Initializes static members of the class. - - - - - Gets the InboundClaimTypeMap used by JwtSecurityTokenHandler when producing claims from jwt. - - - - - Gets the OutboundClaimTypeMap is used by JwtSecurityTokenHandler to shorten claim types when creating a jwt. - - - - - Provides common code for services to use in generating diagnostics and taking actions. - - - - - Returns true if the provided exception matches any of a list of hard system faults that should be allowed - through to outer exception handlers. - - The exception to check. - - Typically this method is used when there is a need to catch all exceptions, but to ensure that .NET runtime - and execution engine exceptions are not absorbed by the catch block. Use of this method also avoids FxCop - warnings about not using general catch blocks. - Please note that use of this method is expensive because of the amount of reflection it performs. - If you can refactor your code to catch more specific exceptions than Exception to avoid using this method, - you should. - Example of use: - - try - { - // Code needing a full Exception catch block - } - catch (Exception ex) - { - if (DiagnosticUtility.IsFatal(ex)) - { - throw; - } - // Perform any needed logging and handling for absorbed exception. - } - - - true if the exception should NOT be trapped - - - - Returns the absolute DateTime or the Seconds since Unix Epoch, where Epoch is UTC 1970-01-01T0:0:0Z. - - - - - DateTime as UTV for UnixEpoch - - - - - Per JWT spec: - Gets the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the desired date/time. - - The DateTime to convert to seconds. - if dateTimeUtc less than UnixEpoch, return 0 - the number of seconds since Unix Epoch. - - - - Creates a DateTime from epoch time. - - Number of seconds. - The DateTime in UTC. - - - - ISecurityTokenValidator - - - - - Returns true if the token can be read, false otherwise. - - - - - Validates a token passed as a string using - - - - - Gets and sets the maximum size in bytes, that a will be processed. - - - - - Interface that defines a simple cache for tacking replaying of security tokens. - - - - - Try to add a securityToken. - - the security token to add. - the time when security token expires. - true if the security token was successfully added. - - - - Try to find securityToken - - the security token to find. - true if the security token is found. - - - - Definition for a delegate that can be set on to control serialization of objects into JSON. - - Object to serialize - The serialized object. - - - - Definition for a delegate that can be set on to control deserialization JSON into objects. - - JSON to deserialize. - type expected. - The deserialized object. - - - - Dictionary extensions for serializations - - - - - Serializes an object to JSON. - - The object to serialize - the object as JSON. - - - - Deserialzes JSON into an instance of type T. - - the object type. - the JSON to deserialze. - a new instance of type T. - - - - Deserialzes JSON into an instance of . - - the JSON to deserialze. - a new instance . - - - - Deserialzes JSON into an instance of . - - the JSON to deserialze. - a new instance . - - - - Gets or sets a to use when serializing objects to JSON. - - if 'value' is null. - - - - Gets or sets a to use when deserializing objects from JSON. - - if 'value' is null. - - - - contains the element and attribute names used in config when parsing the JwtSecurityTokenHandler from XML. - - - - - Constants for Json Web tokens. - - - - - Short header type. - - - - - Long header type. - - - - - Short token type. - - - - - Long token type. - - - - - Token format: 'header.payload.signature'. Signature is optional, but '.' is required. - - - - - When mapping json to .Net Claim(s), if the value was not a string (or an enumeration of strings), the ClaimValue will serialized using the current JSON serializer, a property will be added with the .Net type and the ClaimTypeValue will be set to 'JsonClaimValueType'. - - - - - List of algorithms see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - List of header parameter names see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5. - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - List of registered claims from different sources - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - Initializes a new instance of which contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT. - The member names within the JWT Header are referred to as Header Parameter Names. - These names MUST be unique and the values must be (s). The corresponding values are referred to as Header Parameter Values. - - - - - Initializes a new instance of the class. Default string comparer . - - - - - Initializes a new instance of the class. With the Header Parameters as follows: - { { typ, JWT }, { alg, Mapped( } } - See: Algorithm Mapping below. - - The that will be or were used to sign the . - - For each in signingCredentials.SigningKeyIdentifier - if the clause is a Header Parameter { clause.Name, clause.Id } will be added. - For example, if clause.Name == 'kid' and clause.Id == 'SecretKey99'. The JSON object { kid, SecretKey99 } would be added. - In addition, if the is a the JSON object { x5t, Base64UrlEncoded( } will be added. - This simplifies the common case where a X509Certificate is used. - ================= - Algorithm Mapping - ================= - describes the algorithm that is discoverable by the CLR runtime. - The { alg, 'value' } placed in the header reflects the JWT specification. - contains a signature mapping where the 'value' above will be translated according to this mapping. - Current mapping is: -     'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256' => 'RS256' -     'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256' => 'HS256' - - - - - Serializes this instance to JSON. - - this instance as JSON. - use to customize JSON serialization. - - - - Encodes this instance as Base64UrlEncoded JSON. - - Base64UrlEncoded JSON. - use to customize JSON serialization. - - - - Deserializes Base64UrlEncoded JSON into a instance. - - base64url encoded JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Deserialzes JSON into a instance. - - the JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Gets the signature algorithm that was used to create the signature. - - If the signature algorithm is not found, null is returned. - - - - Gets the passed in the constructor. - - This value may be null. - - - - Gets the mime type (Typ) of the token. - - If the mime type is not found, null is returned. - - - - Gets a that contains a for each key found. - - - Keys are identified by matching a 'Reserved Header Parameter Name' found in the in JSON Web Signature specification. - Names recognized are: jku, jkw, kid, x5c, x5t, x5u - 'x5t' adds a passing a the Base64UrlDecoded( Value ) to the constructor. - 'jku', 'jkw', 'kid', 'x5u', 'x5c' each add a with the { Name, Value } passed to the . - - If no keys are found, an empty will be returned. - - - - - Initializes a new instance of which contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value }. - - - - - Initializes a new instance of the class with no claims. Default string comparer . - Creates a empty - - - - - Initializes a new instance of the class with . Default string comparer . - the claims to add. - - - - - Initializes a new instance of the class with claims added for each parameter specified. Default string comparer . - - if this value is not null, a { iss, 'issuer' } claim will be added. - if this value is not null, a { aud, 'audience' } claim will be added - if this value is not null then for each a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - if notbefore.HasValue is 'true' a { nbf, 'value' } claim is added. - if expires.HasValue is 'true' a { exp, 'value' } claim is added. - Comparison is set to - The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precednece over (s) in 'claims'. The values in 'claims' will be overridden. - if 'expires' <= 'notbefore'. - - - - Adds a JSON object representing the to the - - { 'Claim.Type', 'Claim.Value' } is added. If a JSON object is found with the name == then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - See for details on how is applied. - 'claim' is null. - - - - Adds a number of to the as JSON { name, value } pairs. - - for each a JSON pair { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - Each added will have translated according to the mapping found in . Adding and removing to - will affect the name component of the Json claim - Any in the that is null, will be ignored. - 'claims' is null. - - - - Gets the DateTime using the number of seconds from 1970-01-01T0:0:0Z (UTC) - - Claim in the payload that should map to an integer. - If the claim is not found, the function returns: DateTime.MinValue - - if an overflow exception is thrown by the runtime. - the DateTime representation of a claim. - - - - Serializes this instance to JSON. - - this instance as JSON. - use to customize JSON serialization. - - - - Encodes this instance as Base64UrlEncoded JSON. - - Base64UrlEncoded JSON. - use to customize JSON serialization. - - - - Deserializes Base64UrlEncoded JSON into a instance. - - base64url encoded JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Deserialzes JSON into a instance. - - the JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Gets the 'value' of the 'actor' claim { actort, 'value' }. - - If the 'actor' claim is not found, null is returned. - - - - Gets the 'value' of the 'acr' claim { acr, 'value' }. - - If the 'acr' claim is not found, null is returned. - - - - Gets the 'value' of the 'amr' claim { amr, 'value' }. - - If the 'amr' claim is not found, null is returned. - - - - Gets the 'value' of the 'auth_time' claim { auth_time, 'value' }. - - If the 'auth_time' claim is not found, null is returned. - - - - Gets the 'value' of the 'audience' claim { aud, 'value' } as a list of strings. - - If the 'audience' claim is not found, an empty enumerable is returned. - - - - Gets the 'value' of the 'azp' claim { azp, 'value' }. - - If the 'azp' claim is not found, null is returned. - - - - Gets 'value' of the 'c_hash' claim { c_hash, 'value' }. - - If the 'c_hash' claim is not found, null is returned. - - - - Gets the 'value' of the 'expiration' claim { exp, 'value' }. - - If the 'expiration' claim is not found OR could not be converted to , null is returned. - - - - Gets the 'value' of the 'JWT ID' claim { jti, 'value' }. - - If the 'JWT ID' claim is not found, null is returned. - - - - Gets the 'value' of the 'Issued At' claim { iat, 'value' }. - - If the 'Issued At' claim is not found OR cannot be converted to null is returned. - - - - Gets 'value' of the 'issuer' claim { iss, 'value' }. - - If the 'issuer' claim is not found, null is returned. - - - - Gets the 'value' of the 'expiration' claim { nbf, 'value' }. - - If the 'notbefore' claim is not found OR could not be converted to , null is returned. - - - - Gets 'value' of the 'nonce' claim { nonce, 'value' }. - - If the 'nonce' claim is not found, null is returned. - - - - Gets "value" of the 'subject' claim { sub, 'value' }. - - If the 'subject' claim is not found, null is returned. - - - - Gets 'value' of the 'notbefore' claim { nbf, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'notbefore' claim is not found, then is returned. - - - - Gets 'value' of the 'expiration' claim { exp, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'expiration' claim is not found, then is returned. - - - - Gets a for each JSON { name, value }. - - Each (s) returned will have the translated according to the mapping found in . Adding and removing to will affect the value of the . - and will be set to the value of ( if null). - - - - A designed for representing a JSON Web Token (JWT). - - - - - Initializes a new instance of from a string in JWS Compact serialized format. - - A JSON Web Token that has been serialized in JWS Compact serialized format. - 'jwtEncodedString' is null. - 'jwtEncodedString' contains only whitespace. - 'jwtEncodedString' is not in JWS Compact serialized format. - - The contents of this have not been validated, the JSON Web Token is simply decoded. Validation can be accomplished using - - - - - Initializes a new instance of the class where the contains the crypto algorithms applied to the encoded and . The jwtEncodedString is the result of those operations. - - Contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT - Contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value } - base64urlencoded JwtHeader - base64urlencoded JwtPayload - base64urlencoded JwtSignature - 'header' is null. - 'payload' is null. - 'rawSignature' is null. - 'rawHeader' or 'rawPayload' is null or whitespace. - - - - Initializes a new instance of the class where the contains the crypto algorithms applied to the encoded and . The jwtEncodedString is the result of those operations. - - Contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT - Contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value } - 'header' is null. - 'payload' is null. - - - - Initializes a new instance of the class specifying optional parameters. - - if this value is not null, a { iss, 'issuer' } claim will be added. - if this value is not null, a { aud, 'audience' } claim will be added - if this value is not null then for each a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - if expires.HasValue a { exp, 'value' } claim is added. - if notbefore.HasValue a { nbf, 'value' } claim is added. - The that will be used to sign the . See for details pertaining to the Header Parameter(s). - if 'expires' <= 'notbefore'. - - - - Serializes the and - - A string containing the header and payload in JSON format - - - - Decodes the string into the header, payload and signature - - Base64Url encoded string. - - - - Gets the 'value' of the 'actor' claim { actort, 'value' }. - - If the 'actor' claim is not found, null is returned. - - - - Gets the list of 'audience' claim { aud, 'value' }. - - If the 'audience' claim is not found, enumeration will be empty. - - - - Gets the (s) for this token. - - (s) returned will NOT have the translated according to - - - - Gets the Base64UrlEncoded associated with this instance. - - - - - Gets the Base64UrlEncoded associated with this instance. - - - - - Gets the associated with this instance. - - - - - Gets the 'value' of the 'JWT ID' claim { jti, ''value' }. - - If the 'JWT ID' claim is not found, null is returned. - - - - Gets the 'value' of the 'issuer' claim { iss, 'value' }. - - If the 'issuer' claim is not found, null is returned. - - - - Gets the associated with this instance. - - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the s for this instance. - - By default an empty collection is returned. - - - - Gets the signature algorithm associated with this instance. - - if there is a associated with this instance, a value will be returned. Null otherwise. - - - - Gets the associated with this instance. - - - - - Gets or sets the that signed this instance. - - .ValidateSignature(...) sets this value when a is used to successfully validate a signature. - - - - Gets or sets the that contains a that signed this instance. - - .ValidateSignature(...) sets this value when a is used to successfully validate a signature. - - - - Gets "value" of the 'subject' claim { sub, 'value' }. - - If the 'subject' claim is not found, null is returned. - - - - Gets 'value' of the 'notbefore' claim { nbf, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'notbefore' claim is not found, then is returned. - - - - Gets 'value' of the 'expiration' claim { exp, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'expiration' claim is not found, then is returned. - - - - A designed for creating and validating Json Web Tokens. See http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-07. - - - - - Default lifetime of tokens created. When creating tokens, if 'expires' and 'notbefore' are both null, then a default will be set to: expires = DateTime.UtcNow, notbefore = DateTime.UtcNow + TimeSpan.FromMinutes(TokenLifetimeInMinutes). - - - - - Initializes a new instance of the class. - - - - - Obsolete method, use when processing tokens. - - use . when processing tokens. - - - - Determines if the is positioned on a well formed <BinarySecurityToken> element. - - positioned at xml. - - 'true' if the reader is positioned at an element <BinarySecurityToken>. - in the namespace: 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' - With an attribute of 'valueType' equal to one of: -     "urn:ietf:params:oauth:token-type:jwt", "JWT" - - For example: <wsse:BinarySecurityToken valueType = "JWT"> ... - - 'false' otherwise. - - The 'EncodingType' attribute is optional, if it is set, it must be equal to: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary". - 'reader' is null. - - - - Determines if the string is a well formed Json Web token (see http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-07) - - string that should represent a valid JSON Web Token. - Uses ( token, @"^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$" ). - - - 'true' if the token is in JSON compact serialization format. - 'false' if token.Length * 2 > . - - 'tokenString' is null. - - - - Creating is not NotSupported. - - to create a . - - - - Creates a based on values found in the . - - Contains the parameters used to create the token. - A . - - If is not null, will be signed. - - 'tokenDescriptor' is null. - - - - Uses the constructor, first creating the and . - If is not null, will be signed. - - the issuer of the token. - the audience for this token. - the source of the (s) for this token. - the notbefore time for this token. - the expiration time for this token. - contains cryptographic material for generating a signature. - optional . - If is not null, then a claim { actort, 'value' } will be added to the payload. for details on how the value is created. - See for details on how the HeaderParameters are added to the header. - See for details on how the values are added to the payload. - If signautureProvider is not null, then it will be used to create the signature and will not be called. - A . - if 'expires' <= 'notBefore'. - - - - Gets the token type identifier(s) supported by this handler. - - A collection of strings that identify the tokens this instance can handle. - When receiving a wrapped inside a <wsse:BinarySecurityToken> element. The <wsse:BinarySecurityToken> element must have the ValueType attribute set to one of these values - in order for this handler to recognize that it can read the token. - - - - Reads a JSON web token wrapped inside a WS-Security BinarySecurityToken xml element. - - The pointing at the jwt. - An instance of - First calls .CanReadToken - The reader must be positioned at an element named: - BinarySecurityToken'. - in the namespace: 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' - with a 'ValueType' attribute equal to one of: "urn:ietf:params:oauth:token-type:jwt", "JWT". - - For example <wsse:BinarySecurityToken valueType = "JWT"> ... - - - The 'EncodingType' attribute is optional, if it is set, it must be equal to: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" - - - 'reader' is null. - if returns false. - - - - Reads a token encoded in JSON Compact serialized format. - - A 'JSON Web Token' (JWT) that has been encoded as a JSON object. May be signed - using 'JSON Web Signature' (JWS). - - The JWT must be encoded using Base64Url encoding of the UTF-8 representation of the JWT: Header, Payload and Signature. - The contents of the JWT returned are not validated in any way, the token is simply decoded. Use ValidateToken to validate the JWT. - - A - - - - Obsolete method, use . - - use . - - - - Reads and validates a token encoded in JSON Compact serialized format. - - A 'JSON Web Token' (JWT) that has been encoded as a JSON object. May be signed using 'JSON Web Signature' (JWS). - Contains validation parameters for the . - The that was validated. - 'securityToken' is null or whitespace. - 'validationParameters' is null. - 'securityToken.Length' > . - A from the jwt. Does not include the header claims. - - - - Writes the wrapped in a WS-Security BinarySecurityToken using the . - - used to write token. - The that will be written. - 'writer' is null. - 'token' is null. - 'token' is not a not . - The current contents are encoded. If is not null, the encoding will contain a signature. - - - - Writes the as a JSON Compact serialized format string. - - to serialize. - - If the are not null, the encoding will contain a signature. - - 'token' is null. - 'token' is not a not . - The as a signed (if exist) encoded string. - - - - Produces a signature over the 'input' using the and algorithm specified. - - string to be signed - the to use. - the algorithm to use. - if provided, the will be used to sign the token - The signature over the bytes obtained from UTF8Encoding.GetBytes( 'input' ). - The used to created the signature is obtained by calling . - 'input' is null. - returns null. - - - - Validates that the signature, if found and / or required is valid. - - A 'JSON Web Token' (JWT) that has been encoded as a JSON object. May be signed - using 'JSON Web Signature' (JWS). - that contains signing keys. - thrown if 'token is null or whitespace. - thrown if 'validationParameters is null. - thrown if a signature is not found and is true. - thrown if the 'token' has a key identifier and none of the (s) provided result in a validated signature. - This can indicate that a key refresh is required. - thrown if after trying all the (s), none result in a validated signture AND the 'token' does not have a key identifier. - that has the signature validated if token was signed and is true. - If the 'token' is signed, the signature is validated even if is false. - If the 'token' signature is validated, then the will be set to the key that signed the 'token'. - - - - Produces a readable string for a key, used in error messages. - - - - - - - Creates a from a . - - The to use as a source. - The value to set - contains parameters for validating the token. - A containing the . - - - - Creates the 'value' for the actor claim: { actor, 'value' } - - as actor. - representing the actor. - If is not null: -   if 'type' is 'string', return as string. -   if 'type' is 'BootstrapContext' and 'BootstrapContext.SecurityToken' is 'JwtSecurityToken' -     if 'JwtSecurityToken.RawData' != null, return RawData. -     else return . -   if 'BootstrapContext.Token' != null, return 'Token'. - default: new ( ( actor.Claims ). - - 'actor' is null. - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - see for additional details. - - - - Validates the lifetime of a . - - The value of the 'nbf' claim if it exists in the 'jwt'. - The value of the 'exp' claim if it exists in the 'jwt'. - The being validated. - required for validation. - for additional details. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the (s) in the . - for additional details. - - - - Returns a to use when validating the signature of a token. - - the representation of the token that is being validated. - the that is being validated. - the found in the token. - A required for validation. - Returns a to use for signature validation. - if 'keyIdentifier' is null. - if 'validationParameters' is null. - If key fails to resolve, then null is returned - - - - Validates the is an expected value. - - The that signed the . - The to validate. - the current . - If the is a then the X509Certificate2 will be validated using . - - - Gets or sets the used to map Inbound Cryptographic Algorithms. - Strings that describe Cryptographic Algorithms that are understood by the runtime are not necessarily the same values used in the JsonWebToken specification. - When a signature is validated, the algorithm is obtained from the HeaderParameter { alg, 'value' }. - The 'value' is translated according to this mapping and the translated 'value' is used when performing cryptographic operations. - Default mapping is: -     RS256 => http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 -     HS256 => http://www.w3.org/2001/04/xmldsig-more#hmac-sha256 - - 'value' is null. - - - Gets or sets the used to map Outbound Cryptographic Algorithms. - Strings that describe Cryptographic Algorithms understood by the runtime are not necessarily the same in the JsonWebToken specification. - This property contains mappings the will be used to when creating a and setting the HeaderParameter { alg, 'value' }. - The 'value' set is translated according to this mapping. - - Default mapping is: -     http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 => RS256 -     http://www.w3.org/2001/04/xmldsig-more#hmac-sha256 => HS256 - - 'value' is null. - - - - Gets or sets the that is used when setting the for claims in the extracted when validating a . - The is set to the JSON claim 'name' after translating using this mapping. - - 'value is null. - - - - Gets or sets the that is used when creating a from (s). - The JSON claim 'name' value is set to after translating using this mapping. - - This mapping is applied only when using or . Adding values directly will not result in translation. - 'value is null. - - - Gets or sets the used to filter claims when populating a claims form a . - When a is validated, claims with types found in this will not be added to the . - 'value' is null. - - - - Gets or sets the property name of the will contain the original JSON claim 'name' if a mapping occurred when the (s) were created. - See for more information. - - if .IsIsNullOrWhiteSpace('value') is true. - - - - Gets or sets the property name of the will contain .Net type that was recogninzed when JwtPayload.Claims serialized the value to JSON. - See for more information. - - if .IsIsNullOrWhiteSpace('value') is true. - - - - Returns 'true' which indicates this instance can validate a . - - - - - Returns 'true', which indicates this instance can write . - - - - - Gets and sets the token lifetime in minutes. - - 'value' less than 1. - - - - Gets and sets the maximum size in bytes, that a will be processed. - - 'value' less than 1. - - - - Gets or sets the for creating (s). - - This extensibility point can be used to insert custom (s). - is called to obtain a (s) when needed. - 'value' is null. - - - - Gets the supported by this handler. - - - - - represents a collection of named sets of (s) that can be matched by a - and return a that contains (s). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - Populates this instance with a named collection of (s) and an optional that will be called when a - or cannot be resolved. - - - A named collection of (s). - - - A to call when resolving fails, before calling base. - - - if 'keys' is null an empty collection will be created. A named collection of (s) can be added by accessing the property . - - - - - Populates the from xml. - - xml for processing. - 'nodeList' is null. - Only (s) with == 'securityKey' will be processed. Unprocessed nodes will added to a list and can be accessed using the property. - - - - When processing xml in each that has = "securityKey' is passed here for processing. - - contains xml to map to a named . - - A single is expected with up to three attributes: {'expected values'}. - <securityKey -     symmetricKey {required} -     name {required} -     EncodingType or encodingType {optional} - > - </securityKey> - If "EncodingType' type is specified only: -     'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary' -     'Base64Binary' -     'base64Binary' - are allowed and have the same meaning. - When a symmetricKey is found, Convert.FromBase64String( value ) is applied to create the key. - - 'element' is null. - attribute 'symmetricKey' is not found. - value of 'symmetricKey' is empty or whitespace. - attribute 'name' is not found. - value of 'name' is empty or whitespace. - value of 'encodingType' is not valid. - - - - Finds the first in a named collection that match the . - - - The to resolve to a - - - The resolved . - - - If there is no match, then and 'base' are called in order. - - - true if key resolved, false otherwise. - - - - - Finds a named collection of (s) that match the and returns a that contains the (s). - - The to resolve to a - The resolved . - - - A can contain multiple (s). This method will return the named collection that matches the first - - - If there is no match, then and 'base' are called in order. - - - - true is the keyIdentifier is resolved, false otherwise. - - - - - Finds a named collection of (s) that match the and returns a that contains the (s). - - The to resolve to a - The resolved . - If there is no match, then and 'base' are called in order. - true if token was resolved. - if 'keyIdentifierClause' is null. - - - - Gets the named collection of (s). - - - - - Gets or sets the to call when or fails to resolve, before calling base. - - 'value' is null. - 'object.ReferenceEquals( this, value)' is true. - - - - Gets the unprocessed (s) from . - - processes only (s) that have the == 'securityKey'. Unprocessed (s) are accessible here. - - - - A that can be used to match . - - - - - Initializes a new instance of the class. The 'name' for matching key identifiers found in the securityToken. - - Used to identify a named collection of keys. - Additional information for matching. - if 'name' is null or whitespace. - if 'id' is null or whitespace - - - - Determines if a matches this instance. - - The to match. - true if: -     1. keyIdentifierClause is a . -     2. string.Equals( keyIdentifierClause.Name, this.Name, StringComparison.Ordinal). -     2. string.Equals( keyIdentifierClause.Id, this.Id, StringComparison.Ordinal). - Otherwise calls base.Matches( keyIdentifierClause ). - - 'keyIdentifierClause' is null. - - - - Gets the name of the (s) this represents. - - - - - A that contains multiple that have a name. - - - - - Initializes a new instance of the class that contains a single . - - A name for the . - the identifier for this token. - A - if 'name' is null or whitespace. - if 'id' is null or whitespace. - if 'key' is null. - - - - Initializes a new instance of the class that contains a (System.IdentityModel.Tokens.SecurityKey) that can be matched by name. - - the identifier for this token. - A name for the (System.IdentityModel.Tokens.SecurityKey). - A collection of - if 'name' is null or whitespace. - if 'id' is null or whitespace. - if 'keys' is null. - - - - Gets the first that matches a - - the to match. - The first that matches the . - null if there is no match. - Only are matched. - 'keyIdentifierClause' is null. - - - - Answers if the is a match. - - The - true if matched. - A successful match occurs when == . - Only are matched. - 'keyIdentifierClause' is null. - - - - Gets the id of the security token. - - - - - Gets the Name of the security token. - - - - - Gets the creation time as a . - - The default is: . - - - - Gets the expiration time as a - - The default is: . - - - - Gets the (s). - - - - - This exception is thrown when 'audience' of a token was not valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when 'issuer' of a token was not valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when 'lifetime' of a token was not valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when a security is missing an ExpirationTime. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when an add to the TokenReplayCache fails. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when a security token contained a key identifier but the key was not found by the runtime. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - Creates s by specifying a and algorithm. - Supports both and . - - - - - This is the minimum .KeySize when creating signatures. - - - - - This is the minimum .KeySize when verifying signatures. - - - - - This is the minimum .KeySize when creating and verifying signatures. - - - - - Creates a that supports the and algorithm. - - - The to use for signing. - - - The algorithm to use for signing. - - - 'key' is null. - - - 'algorithm' is null. - - - 'algorithm' contains only whitespace. - - - '' is smaller than . - - - '' is smaller than . - - - '' is not a or a . - - - AsymmetricSignatureProviders require access to a PrivateKey for Signing. - - - The . - - - - - Returns a instance supports the and algorithm. - - - The to use for signing. - - - The algorithm to use for signing. - - - 'key' is null. - - - 'algorithm' is null. - - - 'algorithm' contains only whitespace. - - - '' is smaller than . - - - '' is smaller than . - - - '' is not a or a . - - - The . - - - - - When finished with a call this method for cleanup. The default behavior is to call - - to be released. - - - - Gets or sets the minimum .KeySize"/>. - - 'value' is smaller than . - - - - Gets or sets the minimum .KeySize for creating signatures. - - 'value' is smaller than . - - - - Gets or sets the minimum .KeySize for verifying signatures. - 'value' is smaller than . - - - - - Provides signing and verifying operations using a and specifying an algorithm. - - - - - Initializes a new instance of the class that uses an to create and / or verify signatures over a array of bytes. - - The used for signing. - The signature algorithm to use. - 'key' is null. - 'algorithm' is null. - 'algorithm' contains only whitespace. - '.KeySize' is smaller than . - throws. - returns null. - throws. - - - - Produces a signature over the 'input' using the and 'algorithm' passed to . - - bytes to sign. - signed bytes - 'input' is null. - 'input.Length' == 0. - has been called. - is null. This can occur if a derived type deletes it or does not create it. - - - - Verifies that a signature created over the 'input' matches the signature. Using and 'algorithm' passed to . - - bytes to verify. - signature to compare against. - true if computed signature matches the signature parameter, false otherwise. - 'input' is null. - 'signature' is null. - 'input.Length' == 0. - 'signature.Length' == 0. - has been called. - if the internal is null. This can occur if a derived type deletes it or does not create it. - - - - Disposes of internal components. - - true, if called from Dispose(), false, if invoked inside a finalizer. - - - - Compares two byte arrays for equality. Hash size is fixed normally it is 32 bytes. - The attempt here is to take the same time if an attacker shortens the signature OR changes some of the signed contents. - - - One set of bytes to compare. - - - The other set of bytes to compare with. - - - true if the bytes are equal, false otherwise. - - - - - Definition for AudienceValidator. - - The audiences found in the . - The being validated. - required for validation. - - - - Definition for IssuerSigningKeyRetriever. When validating signatures, this method will return key to use. - - the representation of the token that is being validated. - the that is being validated. It may be null. - the found in the token. It may be null. - required for validation. - - - - - Definition for IssuerValidator. - - The issuer to validate. - The that is being validated. - required for validation. - The issuer to use when creating the "Claim"(s) in a "ClaimsIdentity". - - - - Definition for LifetimeValidator. - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - - - - Contains a set of parameters that are used by a when validating a . - - - - - Default for the maximm token size. - - 2 MB (mega bytes). - - - - This is the fallback authenticationtype that a will use if nothing is set. - - - - - Default for the clock skew. - - 300 seconds (5 minutes). - - - - Copy constructor for . - - - - - Initializes a new instance of the class. - - - - - Returns a new instance of with values copied from this object. - - A new object copied from this object - This is a shallow Clone. - - - - Creates a using: - - 'NameClaimType' is calculated: If NameClaimTypeRetriever call that else use NameClaimType. If the result is a null or empty string, use . - 'RoleClaimType' is calculated: If RoleClaimTypeRetriever call that else use RoleClaimType. If the result is a null or empty string, use . - - A with Authentication, NameClaimType and RoleClaimType set. - - - - Gets or sets a delegate that will be used to validate the audience of the tokens - - - - - Gets or sets the AuthenticationType when creating a during token validation. - - if 'value' is null or whitespace. - - - - Gets or sets the for validating X509Certificate2(s). - - - - - Gets or sets the that is to be used for decrypting inbound tokens. - - if 'value' is null. - - - - Gets or sets the clock skew to apply when validating times - - if 'value' is less than 0. - - - - Gets or sets the that is to be used for validating signed tokens. - - - - - Gets or sets the that is to be used for validating signed tokens. - - - - - Gets or sets a delegate that will be used to retreive (s) used for checking signatures. - - Each will be used to check the signature. Returning multiple key can be helpful when the does not contain a key identifier. - This can occur when the issuer has multiple keys available. This sometimes occurs during key rollover. - - - - Gets or sets the that are to be used for validating signed tokens. - - - - - Gets or sets the that is used for validating signed tokens. - - - - - Gets or sets the that are to be used for validating signed tokens. - - - - - Gets or sets a delegate that will be used to validate the issuer of the token. The delegate returns the issuer to use. - - - - - Gets or sets a delegate that will be used to validate the lifetime of the token - - - - - Gets or sets the passed to . - - - Controls the value returns. It will return the first where the equals . - - - - - Gets or sets the passed to . - - - Controls the (s) returned from . - Each returned will have a equal to . - - - - - Gets or sets a delegate that will be called to obtain the NameClaimType to use when creating a ClaimsIdentity - when validating a token. - - - - - Gets or sets a value indicating whether tokens must have an 'expiration' value. - - - - - Gets or sets a value indicating whether a can be valid if not signed. - - - - - Gets or sets a delegate that will be called to obtain the RoleClaimType to use when creating a ClaimsIdentity - when validating a token. - - - - - Gets or sets a boolean to control if the original token is saved when a session is created. /// - The SecurityTokenValidator will use this value to save the orginal string that was validated. - - - - Gets or set the that will be checked to help in detecting that a token has been 'seen' before. - - - - - Gets or sets a value indicating whether the should be validated. - - - - - Gets or sets a boolean to control if the audience will be validated during token validation. - - - - - Gets or sets a boolean to control if the issuer will be validated during token validation. - - - - - Gets or sets a boolean to control if the lifetime will be validated during token validation. - - - - - Gets or sets a boolean that controls if validation of the that signed the securityToken is called. - - - - - Gets or sets a string that represents a valid audience that will be used during token validation. - - - - - Gets or sets the that contains valid audiences that will be used during token validation. - - - - - Gets or sets a that represents a valid issuer that will be used during token validation. - - - - - Gets or sets the that contains valid issuers that will be used during token validation. - - - - - AudienceValidator - - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - if 'vaidationParameters' is null. - if 'audiences' is null and is true. - if is null or whitespace and is null. - if none of the 'audiences' matched either or one of . - An EXACT match is required. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the "Claim"(s) in a "ClaimsIdentity". - if 'vaidationParameters' is null. - if 'issuer' is null or whitespace and is true. - if is null or whitespace and is null. - if 'issuer' failed to matched either or one of . - An EXACT match is required. - - - - Validates the that signed a . - - The that signed the . - The being validated. - required for validation. - if 'vaidationParameters' is null. - - - - Validates the lifetime of a . - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - if 'vaidationParameters' is null. - if 'expires.HasValue' is false and is true. - if 'notBefore' is > 'expires'. - if 'notBefore' is > DateTime.UtcNow. - if 'expires' is < DateTime.UtcNow. - All time comparisons apply . - - - - Validates if a token has been replayed. - - The being validated. - When does the security token expire. - required for validation. - if 'securityToken' is null or whitespace. - if 'validationParameters' is null or whitespace. - if is not null and expirationTime.HasValue is false. When a TokenReplayCache is set, tokens require an expiration time. - if the 'securityToken' is found in the cache. - if the 'securityToken' could not be added to the . - - - - Defines constants needed from WS-Security 1.0. - - - - - Defines constants needed from WS-SecureUtility standard schema. - - - - - This class also resets the chainPolicy.VerificationTime = DateTime.Now each time a certificate is validated otherwise certificates created after the validator is created will not chain. - - - - - Initializes a new instance of the class. - - - The certificate validation mode. - - - The revocation mode. - - - The trusted store location. - - thrown if the certificationValidationMode is custom or unknown. - - - - - Validates a . - - - The to validate. - - - - - Security key that allows access to cert - - - - - Instantiates a using a - - cert to use. - - - - Gets the . - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Net.Http.Formatting.dll b/samples/js-bot-framework/bot/AskSPRider/bin/System.Net.Http.Formatting.dll deleted file mode 100644 index 3b76acd6b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/System.Net.Http.Formatting.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Net.Http.Formatting.xml b/samples/js-bot-framework/bot/AskSPRider/bin/System.Net.Http.Formatting.xml deleted file mode 100644 index 3fb65976c..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/System.Net.Http.Formatting.xml +++ /dev/null @@ -1,2094 +0,0 @@ - - - - System.Net.Http.Formatting - - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. The supports one or more byte ranges regardless of whether the ranges are consecutive or not. If there is only one range then a single partial response body containing a Content-Range header is generated. If there are more than one ranges then a multipart/byteranges response is generated where each body part contains a range indicated by the associated Content-Range header field. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - The buffer size used when copying the content stream. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - The buffer size used when copying the content stream. - - - Releases the resources used by the current instance of the class. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - Asynchronously serialize and write the byte range to an HTTP content stream. - The task object representing the asynchronous operation. - The target stream. - Information about the transport. - - - Determines whether a byte array has a valid length in bytes. - true if length is a valid length; otherwise, false. - The length in bytes of the byte array. - - - Extension methods that aid in making formatted requests using . - - - - - - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - - - - - - - - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - - - - - - - - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Represents the factory for creating new instance of . - - - Creates a new instance of the . - A new instance of the . - The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - - - Creates a new instance of the . - A new instance of the . - The inner handler which is responsible for processing the HTTP response messages. - The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - - - Creates a new instance of the which should be pipelined. - A new instance of the which should be pipelined. - The inner handler which is responsible for processing the HTTP response messages. - The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - - - Specifies extension methods to allow strongly typed objects to be read from HttpContent instances. - - - Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTyepFormatter instances to use. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - The token to cancel the operation. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTypeFormatter instances to use. - The token to cancel the operation. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The token to cancel the operation. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - A Task that will yield an object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - The token to cancel the operation. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - The token to cancel the operation. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The token to cancel the operation. - - - Extension methods to read HTML form URL-encoded datafrom instances. - - - Determines whether the specified content is HTML form URL-encoded data. - true if the specified content is HTML form URL-encoded data; otherwise, false. - The content. - - - Asynchronously reads HTML form URL-encoded from an instance and stores the results in a object. - A task object representing the asynchronous operation. - The content. - - - Asynchronously reads HTML form URL-encoded from an instance and stores the results in a object. - A task object representing the asynchronous operation. - The content. - The token to cancel the operation. - - - Provides extension methods to read and entities from instances. - - - Determines whether the specified content is HTTP request message content. - true if the specified content is HTTP message content; otherwise, false. - The content to check. - - - Determines whether the specified content is HTTP response message content. - true if the specified content is HTTP message content; otherwise, false. - The content to check. - - - Reads the as an . - The parsed instance. - The content to read. - - - Reads the as an . - The parsed instance. - The content to read. - The URI scheme to use for the request URI. - - - Reads the as an . - The parsed instance. - The content to read. - The URI scheme to use for the request URI. - The size of the buffer. - - - Reads the as an . - The parsed instance. - The content to read. - The URI scheme to use for the request URI. - The size of the buffer. - The maximum length of the HTTP header. - - - - - - - Reads the as an . - The parsed instance. - The content to read. - - - Reads the as an . - The parsed instance. - The content to read. - The size of the buffer. - - - Reads the as an . - The parsed instance. - The content to read. - The size of the buffer. - The maximum length of the HTTP header. - - - - - - Extension methods to read MIME multipart entities from instances. - - - Determines whether the specified content is MIME multipart content. - true if the specified content is MIME multipart content; otherwise, false. - The content. - - - Determines whether the specified content is MIME multipart content with the specified subtype. - true if the specified content is MIME multipart content with the specified subtype; otherwise, false. - The content. - The MIME multipart subtype to match. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - The token to cancel the operation. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - The type of the MIME multipart. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - Size of the buffer used to read the contents. - The type of the MIME multipart. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - Size of the buffer used to read the contents. - The token to cancel the operation. - The type of the MIME multipart. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - The token to cancel the operation. - The type of the MIME multipart. - - - Derived class which can encapsulate an or an as an entity with media type "application/http". - - - Initializes a new instance of the class encapsulating an . - The instance to encapsulate. - - - Initializes a new instance of the class encapsulating an . - The instance to encapsulate. - - - Releases unmanaged and - optionally - managed resources - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the HTTP request message. - - - Gets the HTTP response message. - - - Asynchronously serializes the object's content to the given stream. - A instance that is asynchronously serializing the object's content. - The to which to write. - The associated . - - - Computes the length of the stream if possible. - true if the length has been computed; otherwise false. - The computed length of the stream. - - - Provides extension methods for the class. - - - Gets any cookie headers present in the request. - A collection of instances. - The request headers. - - - Gets any cookie headers present in the request that contain a cookie state whose name that matches the specified value. - A collection of instances. - The request headers. - The cookie state name to match. - - - - - Provides extension methods for the class. - - - Adds cookies to a response. Each Set-Cookie header is represented as one instance. A contains information about the domain, path, and other cookie information as well as one or more instances. Each instance contains a cookie name and whatever cookie state is associate with that name. The state is in the form of a which on the wire is encoded as HTML Form URL-encoded data. This representation allows for multiple related "cookies" to be carried within the same Cookie header while still providing separation between each cookie state. A sample Cookie header is shown below. In this example, there are two with names state1 and state2 respectively. Further, each cookie state contains two name/value pairs (name1/value1 and name2/value2) and (name3/value3 and name4/value4). <code> Set-Cookie: state1:name1=value1&amp;name2=value2; state2:name3=value3&amp;name4=value4; domain=domain1; path=path1; </code> - The response headers - The cookie values to add to the response. - - - An exception thrown by in case none of the requested ranges overlap with the current extend of the selected resource. The current extend of the resource is indicated in the ContentRange property. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - The current extend of the resource indicated in terms of a ContentRange header field. - - - Represents a multipart file data. - - - Initializes a new instance of the class. - The headers of the multipart file data. - The name of the local file for the multipart file data. - - - Gets or sets the headers of the multipart file data. - The headers of the multipart file data. - - - Gets or sets the name of the local file for the multipart file data. - The name of the local file for the multipart file data. - - - Represents an suited for writing each MIME body parts of the MIME multipart message to a file using a . - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - The number of bytes buffered for writes to the file. - - - Gets or sets the number of bytes buffered for writes to the file. - The number of bytes buffered for writes to the file. - - - Gets or sets the multipart file data. - The multipart file data. - - - Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored. - A relative filename with no path component. - The headers for the current MIME body part. - - - Gets the stream instance where the message body part is written to. - The instance where the message body part is written to. - The content of HTTP. - The header fields describing the body part. - - - Gets or sets the root path where the content of MIME multipart body parts are written to. - The root path where the content of MIME multipart body parts are written to. - - - A implementation suited for use with HTML file uploads for writing file content to a remote storage . The stream provider looks at the Content-Disposition header field and determines an output remote based on the presence of a filename parameter. If a filename parameter is present in the Content-Disposition header field, then the body part is written to a remote provided by . Otherwise it is written to a . - - - Initializes a new instance of the class. - - - Read the non-file contents as form data. - A representing the post processing. - - - Read the non-file contents as form data. - A representing the post processing. - The token to monitor for cancellation requests. - - - Gets a collection of file data passed as part of the multipart form data. - - - Gets a of form data passed as part of the multipart form data. - - - Provides a for . Override this method to provide a remote stream to which the data should be written. - A result specifying a remote stream where the file will be written to and a location where the file can be accessed. It cannot be null and the stream must be writable. - The parent MIME multipart instance. - The header fields describing the body part's content. - - - - Represents an suited for use with HTML file uploads for writing file content to a . - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - The number of bytes buffered for writes to the file. - - - Reads the non-file contents as form data. - A task that represents the asynchronous operation. - - - - Gets a of form data passed as part of the multipart form data. - The of form data. - - - Gets the streaming instance where the message body part is written. - The instance where the message body part is written. - The HTTP content that contains this body part. - Header fields describing the body part. - - - Represents a multipart memory stream provider. - - - Initializes a new instance of the class. - - - Returns the for the . - The for the . - A object. - The HTTP content headers. - - - Represents the provider for the multipart related multistream. - - - Initializes a new instance of the class. - - - Gets the related stream for the provider. - The content headers. - The parent content. - The http content headers. - - - Gets the root content of the . - The root content of the . - - - Represents a multipart file data for remote storage. - - - Initializes a new instance of the class. - The headers of the multipart file data. - The remote file's location. - The remote file's name. - - - Gets the remote file's name. - - - Gets the headers of the multipart file data. - - - Gets the remote file's location. - - - Represents a stream provider that examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see ) and decides what kind of stream to return for the body part to be written to. - - - Initializes a new instance of the class. - - - Gets or sets the contents for this . - The contents for this . - - - Executes the post processing operation for this . - The asynchronous task for this operation. - - - Executes the post processing operation for this . - The asynchronous task for this operation. - The token to cancel the operation. - - - Gets the stream where to write the body part to. This method is called when a MIME multipart body part has been parsed. - The instance where the message body part is written to. - The content of the HTTP. - The header fields describing the body part. - - - Contains a value as well as an associated that will be used to serialize the value when writing this content. - - - Initializes a new instance of the class. - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - - - Initializes a new instance of the class. - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. - - - Initializes a new instance of the class. - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. - - - Gets the media-type formatter associated with this content instance. - The media type formatter associated with this content instance. - - - Gets the type of object managed by this instance. - The object type. - - - Asynchronously serializes the object's content to the given stream. - The task object representing the asynchronous operation. - The stream to write to. - The associated . - - - Computes the length of the stream if possible. - true if the length has been computed; otherwise, false. - Receives the computed length of the stream. - - - Gets or sets the value of the content. - The content value. - - - Generic form of . - The type of object this class will contain. - - - Initializes a new instance of the class. - The value of the object this instance will contain. - The formatter to use when serializing the value. - - - Initializes a new instance of the <see cref="T:System.Net.Http.ObjectContent`1" /> class. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. - - - Initializes a new instance of the class. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. - - - Enables scenarios where a data producer wants to write directly (either synchronously or asynchronously) using a stream. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Asynchronously serializes the push content into stream. - The serialized push content. - The stream where the push content will be serialized. - The context. - - - Determines whether the stream content has a valid length in bytes. - true if length is a valid length; otherwise, false. - The length in bytes of the stream content. - - - Represents the result for . - - - Initializes a new instance of the class. - The remote stream instance where the file will be written to. - The remote file's location. - The remote file's name. - - - Gets the remote file's location. - - - Gets the remote file's location. - - - Gets the remote stream instance where the file will be written to. - - - Defines an exception type for signalling that a request's media type was not supported. - - - Initializes a new instance of the class. - The message that describes the error. - The unsupported media type. - - - Gets or sets the media type. - The media type. - - - Contains extension methods to allow strongly typed objects to be read from the query component of instances. - - - Parses the query portion of the specified URI. - A that contains the query parameters. - The URI to parse. - - - Reads HTML form URL encoded data provided in the URI query string as an object of a specified type. - true if the query component of the URI can be read as the specified type; otherwise, false. - The URI to read. - The type of object to read. - When this method returns, contains an object that is initialized from the query component of the URI. This parameter is treated as uninitialized. - - - Reads HTML form URL encoded data provided in the URI query string as an object of a specified type. - true if the query component of the URI can be read as the specified type; otherwise, false. - The URI to read. - When this method returns, contains an object that is initialized from the query component of the URI. This parameter is treated as uninitialized. - The type of object to read. - - - Reads HTML form URL encoded data provided in the query component as a object. - true if the query component can be read as ; otherwise false. - The instance from which to read. - An object to be initialized with this instance or null if the conversion cannot be performed. - - - Abstract media type formatter class to support Bson and Json. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Determines whether this formatter can read objects of the specified type. - true if objects of this type can be read, otherwise false. - The type of object that will be read. - - - Determines whether this formatter can write objects of the specified type. - true if objects of this type can be written, otherwise false. - The type of object to write. - - - Creates a instance with the default settings used by the . - Returns . - - - Called during deserialization to get the . - The reader to use during deserialization. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - - - Called during serialization and deserialization to get the . - The JsonSerializer used during serialization and deserialization. - - - Called during serialization to get the . - The writer to use during serialization. - The type of the object to write. - The stream to write to. - The encoding to use when writing. - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth allowed by this formatter. - - - Called during deserialization to read an object of the specified type from the specified stream. - The object that has been read. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - The logger to log events to. - - - Called during deserialization to read an object of the specified type from the specified stream. - A task whose result will be the object instance that has been read. - The type of the object to read. - The stream from which to read. - The for the content being read. - The logger to log events to. - - - Gets or sets the JsonSerializerSettings used to configure the JsonSerializer. - The JsonSerializerSettings used to configure the JsonSerializer. - - - Called during serialization to write an object of the specified type to the specified stream. - The type of the object to write. - The object to write. - The stream to write to. - The encoding to use when writing. - - - Called during serialization to write an object of the specified type to the specified stream. - Returns . - The type of the object to write. - The object to write. - The stream to write to. - The for the content being written. - The transport context. - The token to monitor for cancellation. - - - Represents a media type formatter to handle Bson. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The formatter to copy settings from. - - - Called during deserialization to get the . - The reader to use during deserialization. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - - - Called during serialization to get the . - The writer to use during serialization. - The type of the object to write. - The stream to write to. - The encoding to use when writing. - - - Gets the default media type for Json, namely "application/bson". - The default media type for Json, namely "application/bson". - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth allowed by this formatter. - - - Called during deserialization to read an object of the specified type from the specified stream. - The object that has been read. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - The logger to log events to. - - - Called during deserialization to read an object of the specified type from the specified stream. - A task whose result will be the object instance that has been read. - The type of the object to read. - The stream from which to read. - The for the content being read. - The logger to log events to. - - - Called during serialization to write an object of the specified type to the specified stream. - The type of the object to write. - The object to write. - The stream to write to. - The encoding to use when writing. - - - Represents a helper class to allow a synchronous formatter on top of the asynchronous formatter infrastructure. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Gets or sets the suggested size of buffer to use with streams in bytes. - The suggested size of buffer to use with streams in bytes. - - - Reads synchronously from the buffered stream. - An object of the given . - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - - - Reads synchronously from the buffered stream. - An object of the given . - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - The token to cancel the operation. - - - Reads asynchronously from the buffered stream. - A task object representing the asynchronous operation. - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - - - Reads asynchronously from the buffered stream. - A task object representing the asynchronous operation. - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - The token to cancel the operation. - - - Writes synchronously to the buffered stream. - The type of the object to serialize. - The object value to write. Can be null. - The stream to which to write. - The , if available. Can be null. - - - Writes synchronously to the buffered stream. - The type of the object to serialize. - The object value to write. Can be null. - The stream to which to write. - The , if available. Can be null. - The token to cancel the operation. - - - Writes asynchronously to the buffered stream. - A task object representing the asynchronous operation. - The type of the object to serialize. - The object value to write. It may be null. - The stream to which to write. - The , if available. Can be null. - The transport context. - - - Writes asynchronously to the buffered stream. - A task object representing the asynchronous operation. - The type of the object to serialize. - The object value to write. It may be null. - The stream to which to write. - The , if available. Can be null. - The transport context. - The token to cancel the operation. - - - Represents the result of content negotiation performed using <see cref="M:System.Net.Http.Formatting.IContentNegotiator.Negotiate(System.Type,System.Net.Http.HttpRequestMessage,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter})" /> - - - Create the content negotiation result object. - The formatter. - The preferred media type. Can be null. - - - The formatter chosen for serialization. - - - The media type that is associated with the formatter chosen for serialization. Can be null. - - - The default implementation of , which is used to select a for an or . - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - true to exclude formatters that match only on the object type; otherwise, false. - - - Determines how well each formatter matches an HTTP request. - Returns a collection of objects that represent all of the matches. - The type to be serialized. - The request. - The set of objects from which to choose. - - - If true, exclude formatters that match only on the object type; otherwise, false. - Returns a . - - - Matches a set of Accept header fields against the media types that a formatter supports. - Returns a object that indicates the quality of the match, or null if there is no match. - A list of Accept header values, sorted in descending order of q factor. You can create this list by calling the method. - The formatter to match against. - - - Matches a request against the objects in a media-type formatter. - Returns a object that indicates the quality of the match, or null if there is no match. - The request to match. - The media-type formatter. - - - Match the content type of a request against the media types that a formatter supports. - Returns a object that indicates the quality of the match, or null if there is no match. - The request to match. - The formatter to match against. - - - Selects the first supported media type of a formatter. - Returns a with set to MatchOnCanWriteType, or null if there is no match. A indicating the quality of the match or null is no match. - The type to match. - The formatter to match against. - - - Performs content negotiating by selecting the most appropriate out of the passed in for the given that can serialize an object of the given . - The result of the negotiation containing the most appropriate instance, or null if there is no appropriate formatter. - The type to be serialized. - The request. - The set of objects from which to choose. - - - Determines the best character encoding for writing the response. - Returns the that is the best match. - The request. - The selected media formatter. - - - Select the best match among the candidate matches found. - Returns the object that represents the best match. - The collection of matches. - - - Determine whether to match on type or not. This is used to determine whether to generate a 406 response or use the default media type formatter in case there is no match against anything in the request. If ExcludeMatchOnTypeOnly is true then we don't match on type unless there are no accept headers. - True if not ExcludeMatchOnTypeOnly and accept headers with a q-factor bigger than 0.0 are present. - The sorted accept header values to match. - - - Sorts Accept header values in descending order of q factor. - Returns the sorted list of MediaTypeWithQualityHeaderValue objects. - A collection of StringWithQualityHeaderValue objects, representing the header fields. - - - Sorts a list of Accept-Charset, Accept-Encoding, Accept-Language or related header values in descending order or q factor. - Returns the sorted list of StringWithQualityHeaderValue objects. - A collection of StringWithQualityHeaderValue objects, representing the header fields. - - - Evaluates whether a match is better than the current match. - Returns whichever object is a better match. - The current match. - The match to evaluate against the current match. - - - Helper class to serialize <see cref="T:System.Collections.Generic.IEnumerable`1" /> types by delegating them through a concrete implementation."/&gt;. - The interface implementing to proxy. - - - Initialize a DelegatingEnumerable. This constructor is necessary for to work. - - - Initialize a DelegatingEnumerable with an <see cref="T:System.Collections.Generic.IEnumerable`1" />. This is a helper class to proxy <see cref="T:System.Collections.Generic.IEnumerable`1" /> interfaces for . - The <see cref="T:System.Collections.Generic.IEnumerable`1" /> instance to get the enumerator from. - - - This method is not implemented but is required method for serialization to work. Do not use. - The item to add. Unused. - - - Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. - The enumerator of the <see cref="T:System.Collections.Generic.IEnumerable`1" /> source. - - - Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. - The enumerator of the <see cref="T:System.Collections.Generic.IEnumerable`1" /> source. - - - Represent the collection of form data. - - - Initializes a new instance of class. - The pairs. - - - Initializes a new instance of class. - The query. - - - Initializes a new instance of class. - The URI - - - Gets the collection of form data. - The collection of form data. - The key. - - - Gets an enumerable that iterates through the collection. - The enumerable that iterates through the collection. - - - Gets the values of the collection of form data. - The values of the collection of form data. - The key. - - - Gets values associated with a given key. If there are multiple values, they're concatenated. - Values associated with a given key. If there are multiple values, they're concatenated. - - - Reads the collection of form data as a collection of name value. - The collection of form data as a collection of name value. - - - Gets an enumerable that iterates through the collection. - The enumerable that iterates through the collection. - - - - class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Queries whether the can deserializean object of the specified type. - true if the can deserialize the type; otherwise, false. - The type to deserialize. - - - Queries whether the can serializean object of the specified type. - true if the can serialize the type; otherwise, false. - The type to serialize. - - - Gets the default media type for HTML form-URL-encoded data, which is application/x-www-form-urlencoded. - The default media type for HTML form-URL-encoded data - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth. - - - Gets or sets the size of the buffer when reading the incoming stream. - The buffer size. - - - Asynchronously deserializes an object of the specified type. - A whose result will be the object instance that has been read. - The type of object to deserialize. - The to read. - The for the content being read. - The to log events to. - - - Performs content negotiation. This is the process of selecting a response writer (formatter) in compliance with header values in the request. - - - Performs content negotiating by selecting the most appropriate out of the passed in formatters for the given request that can serialize an object of the given type. - The result of the negotiation containing the most appropriate instance, or null if there is no appropriate formatter. - The type to be serialized. - Request message, which contains the header values used to perform negotiation. - The set of objects from which to choose. - - - Specifies a callback interface that a formatter can use to log errors while reading. - - - Logs an error. - The path to the member for which the error is being logged. - The error message. - - - Logs an error. - The path to the member for which the error is being logged. - The error message to be logged. - - - Defines method that determines whether a given member is required on deserialization. - - - Determines whether a given member is required on deserialization. - true if should be treated as a required member; otherwise false. - The to be deserialized. - - - Represents the default used by . It uses the formatter's to select required members and recognizes the type annotation. - - - Initializes a new instance of the class. - The formatter to use for resolving required members. - - - Creates a property on the specified class by using the specified parameters. - A to create on the specified class by using the specified parameters. - The member info. - The member serialization. - - - Represents the class to handle JSON. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Determines whether this can read objects of the specified . - true if objects of this can be read, otherwise false. - The type of object that will be read. - - - Determines whether this can write objects of the specified . - true if objects of this can be written, otherwise false. - The type of object that will be written. - - - Called during deserialization to get the . - The object used for serialization. - The type of object that will be serialized or deserialized. - - - Called during deserialization to get the . - The reader to use during deserialization. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - - - Called during serialization to get the . - The writer to use during serialization. - The type of the object to write. - The stream to write to. - The encoding to use when writing. - - - Gets the default media type for JSON, namely "application/json". - The for JSON. - - - Gets or sets a value indicating whether to indent elements when writing data. - true if to indent elements when writing data; otherwise, false. - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth allowed by this formatter. - - - Called during deserialization to read an object of the specified type from the specified stream. - The object that has been read. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - The logger to log events to. - - - Gets or sets a value indicating whether to use by default. - true if to by default; otherwise, false. - - - Called during serialization to write an object of the specified type to the specified stream. - The type of the object to write. - The object to write. - The stream to write to. - The encoding to use when writing. - - - Called during serialization to write an object of the specified type to the specified stream. - Returns . - The type of the object to write. - The object to write. - The stream to write to. - The for the content being written. - The transport context. - The token to monitor for cancellation. - - - Base class to handle serializing and deserializing strongly-typed objects using . - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Queries whether this can deserializean object of the specified type. - true if the can deserialize the type; otherwise, false. - The type to deserialize. - - - Queries whether this can serializean object of the specified type. - true if the can serialize the type; otherwise, false. - The type to serialize. - - - Gets the default value for the specified type. - The default value. - The type for which to get the default value. - - - Returns a specialized instance of the that can format a response for the given parameters. - Returns . - The type to format. - The request. - The media type. - - - Gets or sets the maximum number of keys stored in a T: . - The maximum number of keys. - - - Gets the mutable collection of objects that match HTTP requests to media types. - The collection. - - - Asynchronously deserializes an object of the specified type. - A whose result will be an object of the given type. - The type of the object to deserialize. - The to read. - The , if available. It may be null. - The to log events to. - Derived types need to support reading. - - - Asynchronously deserializes an object of the specified type. - A whose result will be an object of the given type. - The type of the object to deserialize. - The to read. - The , if available. It may be null. - The to log events to. - The token to cancel the operation. - - - Gets or sets the instance used to determine required members. - The instance. - - - Determines the best character encoding for reading or writing an HTTP entity body, given a set of content headers. - The encoding that is the best match. - The content headers. - - - Sets the default headers for content that will be formatted using this formatter. This method is called from the constructor. This implementation sets the Content-Type header to the value of mediaType if it is not null. If it is null it sets the Content-Type to the default media type of this formatter. If the Content-Type does not specify a charset it will set it using this formatters configured . - The type of the object being serialized. See . - The content headers that should be configured. - The authoritative media type. Can be null. - - - Gets the mutable collection of character encodings supported bythis . - The collection of objects. - - - Gets the mutable collection of media types supported bythis . - The collection of objects. - - - Asynchronously writes an object of the specified type. - A that will perform the write. - The type of the object to write. - The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The if available. It may be null. - Derived types need to support writing. - - - Asynchronously writes an object of the specified type. - A that will perform the write. - The type of the object to write. - The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The if available. It may be null. - The token to cancel the operation. - Derived types need to support writing. - - - Collection class that contains instances. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - A collection of instances to place in the collection. - - - Adds the elements of the specified collection to the end of the . - The items that should be added to the end of the . The items collection itself cannot be , but it can contain elements that are . - - - Removes all items in the collection. - - - Helper to search a collection for a formatter that can read the .NET type in the given mediaType. - The formatter that can read the type. Null if no formatter found. - The .NET type to read - The media type to match on. - - - Helper to search a collection for a formatter that can write the .NET type in the given mediaType. - The formatter that can write the type. Null if no formatter found. - The .NET type to read - The media type to match on. - - - Gets the to use for application/x-www-form-urlencoded data. - The to use for application/x-www-form-urlencoded data. - - - Inserts the specified item at the specified index in the collection. - The index to insert at. - The item to insert. - - - Inserts the elements of a collection into the at the specified index. - The zero-based index at which the new elements should be inserted. - The items that should be inserted into the . The items collection itself cannot be , but it can contain elements that are . - - - Returns true if the type is one of those loosely defined types that should be excluded from validation. - true if the type should be excluded; otherwise, false. - The .NET to validate. - - - Gets the to use for JSON. - The to use for JSON. - - - Removes the item at the specified index. - The index of the item to remove. - - - Assigns the item at the specified index in the collection. - The index to insert at. - The item to assign. - - - Gets the to use for XML. - The to use for XML. - - - - - - - This class describes how well a particular matches a request. - - - Initializes a new instance of the class. - The matching formatter. - The media type. Can be null in which case the media type application/octet-stream is used. - The quality of the match. Can be null in which case it is considered a full match with a value of 1.0 - The kind of match. - - - Gets the media type formatter. - - - Gets the matched media type. - - - Gets the quality of the match - - - Gets the kind of match that occurred. - - - Contains information about the degree to which a matches the explicit or implicit preferences found in an incoming request. - - - Matched on a type, meaning that the formatter is able to serialize the type. - - - Matched on an explicit “*/*” range in the Accept header. - - - Matched on an explicit literal accept header, such as “application/json”. - - - Matched on an explicit subtype range in an Accept header, such as “application/*”. - - - Matched on the media type of the entity body in the HTTP request message. - - - Matched on after having applied the various s. - - - No match was found - - - An abstract base class used to create an association between or instances that have certain characteristics and a specific . - - - Initializes a new instance of a with the given mediaType value. - The that is associated with or instances that have the given characteristics of the . - - - Initializes a new instance of a with the given mediaType value. - The that is associated with or instances that have the given characteristics of the . - - - Gets the that is associated with or instances that have the given characteristics of the . - - - Returns the quality of the match of the associated with request. - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to evaluate for the characteristics associated with the of the . - - - Class that provides s from query strings. - - - Initializes a new instance of the class. - The name of the query string parameter to match, if present. - The value of the query string parameter specified by queryStringParameterName. - The to use if the query parameter specified by queryStringParameterName is present and assigned the value specified by queryStringParameterValue. - - - Initializes a new instance of the class. - The name of the query string parameter to match, if present. - The value of the query string parameter specified by queryStringParameterName. - The media type to use if the query parameter specified by queryStringParameterName is present and assigned the value specified by queryStringParameterValue. - - - Gets the query string parameter name. - - - Gets the query string parameter value. - - - Returns a value indicating whether the current instance can return a from request. - If this instance can produce a from request it returns 1.0 otherwise 0.0. - The to check. - - - This class provides a mapping from an arbitrary HTTP request header field to a used to select instances for handling the entity body of an or . <remarks>This class only checks header fields associated with for a match. It does not check header fields associated with or instances.</remarks> - - - Initializes a new instance of the class. - Name of the header to match. - The header value to match. - The to use when matching headerValue. - if set to true then headerValue is considered a match if it matches a substring of the actual header value. - The to use if headerName and headerValue is considered a match. - - - Initializes a new instance of the class. - Name of the header to match. - The header value to match. - The value comparison to use when matching headerValue. - if set to true then headerValue is considered a match if it matches a substring of the actual header value. - The media type to use if headerName and headerValue is considered a match. - - - Gets the name of the header to match. - - - Gets the header value to match. - - - Gets the to use when matching . - - - Gets a value indicating whether is a matched as a substring of the actual header value. this instance is value substring. - truefalse - - - Returns a value indicating whether the current instance can return a from request. - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to check. - - - A that maps the X-Requested-With http header field set by AJAX XmlHttpRequest (XHR) to the media type application/json if no explicit Accept header fields are present in the request. - - - Initializes a new instance of class - - - Returns a value indicating whether the current instance can return a from request. - The quality of the match. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match and that the request was made using XmlHttpRequest without an Accept header. - The to check. - - - - class to handle Xml. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Queries whether the can deserializean object of the specified type. - true if the can deserialize the type; otherwise, false. - The type to deserialize. - - - Queries whether the can serializean object of the specified type. - true if the can serialize the type; otherwise, false. - The type to serialize. - - - Called during deserialization to get the DataContractSerializer serializer. - The object used for serialization. - The type of object that will be serialized or deserialized. - - - Called during deserialization to get the XML reader to use for reading objects from the stream. - The to use for reading objects. - The to read from. - The for the content being read. - - - Called during deserialization to get the XML serializer. - The object used for serialization. - The type of object that will be serialized or deserialized. - - - Called during serialization to get the XML writer to use for writing objects to the stream. - The to use for writing objects. - The to write to. - The for the content being written. - - - Gets the default media type for the XML formatter. - The default media type, which is “application/xml”. - - - Called during deserialization to get the XML serializer to use for deserializing objects. - An instance of or to use for deserializing the object. - The type of object to deserialize. - The for the content being read. - - - Called during serialization to get the XML serializer to use for serializing objects. - An instance of or to use for serializing the object. - The type of object to serialize. - The object to serialize. - The for the content being written. - - - Gets or sets a value indicating whether to indent elements when writing data. - true to indent elements; otherwise, false. - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - Gets and sets the maximum nested node depth. - The maximum nested node depth. - - - Called during deserialization to read an object of the specified type from the specified readStream. - A whose result will be the object instance that has been read. - The type of object to read. - The from which to read. - The for the content being read. - The to log events to. - - - Unregisters the serializer currently associated with the given type. - true if a serializer was previously registered for the type; otherwise, false. - The type of object whose serializer should be removed. - - - Registers an to read or write objects of a specified type. - The instance. - The type of object that will be serialized or deserialized with. - - - Registers an to read or write objects of a specified type. - The type of object that will be serialized or deserialized with. - The instance. - - - Registers an to read or write objects of a specified type. - The type of object that will be serialized or deserialized with. - The instance. - - - Registers an to read or write objects of a specified type. - The instance. - The type of object that will be serialized or deserialized with. - - - Gets or sets a value indicating whether the XML formatter uses the as the default serializer, instead of using the . - If true, the formatter uses the by default; otherwise, it uses the by default. - - - Gets the settings to be used while writing. - The settings to be used while writing. - - - Called during serialization to write an object of the specified type to the specified writeStream. - A that will write the value to the stream. - The type of object to write. - The object to write. - The to which to write. - The for the content being written. - The . - The token to monitor cancellation. - - - Represents the event arguments for the HTTP progress. - - - Initializes a new instance of the class. - The percentage of the progress. - The user token. - The number of bytes transferred. - The total number of bytes transferred. - - - - - Generates progress notification for both request entities being uploaded and response entities being downloaded. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The inner message handler. - - - Occurs when event entities are being downloaded. - - - Occurs when event entities are being uploaded. - - - Raises the event that handles the request of the progress. - The request. - The event handler for the request. - - - Raises the event that handles the response of the progress. - The request. - The event handler for the request. - - - Sends the specified progress message to an HTTP server for delivery. - The sent progress message. - The request. - The cancellation token. - - - Provides value for the cookie header. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The value of the name. - The values. - - - Initializes a new instance of the class. - The value of the name. - The value. - - - Creates a shallow copy of the cookie value. - A shallow copy of the cookie value. - - - Gets a collection of cookies sent by the client. - A collection object representing the client’s cookie variables. - - - Gets or sets the domain to associate the cookie with. - The name of the domain to associate the cookie with. - - - Gets or sets the expiration date and time for the cookie. - The time of day (on the client) at which the cookie expires. - - - Gets or sets a value that specifies whether a cookie is accessible by client-side script. - true if the cookie has the HttpOnly attribute and cannot be accessed through a client-side script; otherwise, false. - - - Gets a shortcut to the cookie property. - The cookie value. - - - Gets or sets the maximum age permitted for a resource. - The maximum age permitted for a resource. - - - Gets or sets the virtual path to transmit with the current cookie. - The virtual path to transmit with the cookie. - - - Gets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only. - true to transmit the cookie over an SSL connection (HTTPS); otherwise, false. - - - Returns a string that represents the current object. - A string that represents the current object. - - - Indicates a value whether the string representation will be converted. - true if the string representation will be converted; otherwise, false. - The input value. - The parsed value to convert. - - - Contains cookie name and its associated cookie state. - - - Initializes a new instance of the class. - The name of the cookie. - - - Initializes a new instance of the class. - The name of the cookie. - The collection of name-value pair for the cookie. - - - Initializes a new instance of the class. - The name of the cookie. - The value of the cookie. - - - Returns a new object that is a copy of the current instance. - A new object that is a copy of the current instance. - - - Gets or sets the cookie value with the specified cookie name, if the cookie data is structured. - The cookie value with the specified cookie name. - - - Gets or sets the name of the cookie. - The name of the cookie. - - - Returns the string representation the current object. - The string representation the current object. - - - Gets or sets the cookie value, if cookie data is a simple string value. - The value of the cookie. - - - Gets or sets the collection of name-value pair, if the cookie data is structured. - The collection of name-value pair for the cookie. - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Spatial.dll b/samples/js-bot-framework/bot/AskSPRider/bin/System.Spatial.dll deleted file mode 100644 index 76722a0ad..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/System.Spatial.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Spatial.xml b/samples/js-bot-framework/bot/AskSPRider/bin/System.Spatial.xml deleted file mode 100644 index c65e0857d..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/System.Spatial.xml +++ /dev/null @@ -1,6950 +0,0 @@ - - - - System.Spatial - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Formatter for Json Object - - - - Represents a formatter for Json object. - - - Creates the implementation of the formatter. - The created implementation. - - - Reads from the source. - The object that was read. - The source json object. - The spatial type to read. - - - Converts spatial value to a Json object. - The json object. - The spatial value. - - - - The implementation that created this instance. - - - - - Spatial builder - - - - - The parse pipeline - - - - - Constructor - - The SpatialImplementation that created this instance - - - - Read from the source - - The spatial type to read - The source json object - The read instance - - - - Convert spatial value to a Json Object - - The spatial value - The json object - - - - Initialize the pipeline - - - - - Convert Spatial objects into json writer - - - - - Base Writer for GeoJson - - - - - Base class to create a unified set of handlers for Geometry and Geography - - - - - Performs an implicit conversion from to . - - The instance to convert. - - The result of the conversion. - - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - the coordinate system to be passed down the pipeline - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - This class is responsible for taking the calls to DrawGeography and delegating them to the unified - handlers - - - - Represents the pipeline of geography. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - This class is responsible for taking the calls to DrawGeometry and delegating them to the unified - handlers - - - - Represents the pipeline of geometry. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Stack to track the current type being written. - - - - - CoordinateSystem for the types being written. - - - - - Figure added in current shape - - - - - Creates a new instance of the GeoJsonWriter. - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - End the current json object scope - - - - - End the current json array scope - - - - - Setup the pipeline for reuse - - - - - Gets the GeoJson type name to use when writing the specified type. - - SpatialType being written. - GeoJson type name corresponding to the specified . - - - - Gets the name of the GeoJson member to use when writing the body of the spatial object. - - SpatialType being written. - Name of the GeoJson member to use when writing the body of the spatial object. - - - - Whether or not the specified type wraps its data in an outer array. - - SpatialType being written. - True if the type uses an outer array, otherwise false. - - - - Sets the CoordinateSystem for Geography and Geometry shapes. - - CoordinateSystem value to set. - - - - Start writing a Geography or Geometry shape. - - SpatialType to use when writing the shape. - Default CoordinateSystem to use if SetCoordinateSystem is never called on this shape. - - - - Write the type header information for a shape. - - SpatialType being written. - - - - Start writing a figure in a Geography or Geometry shape. - - - - - Write a position in a Geography or Geometry figure. - - First (X/Longitude) Coordinate - Second (Y/Latitude) Coordinate - Z Coordinate - M Coordinate - - - - Ends a Geography or Geometry figure. - - - - - Ends a Geography or Geometry shape. - - - - - Writes the coordinate reference system footer for the GeoJson object. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - True if the shape is not a child of another shape. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - Stack of json objects - - - - - Buffered key of the current name-value pair - - - - - Stores the last object fully serialized - - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - End the current json array scope - - - - - End the current json object scope - - - - - Add an json object to the current scope - - The json object - - - - Return the current property name, and clear the buffer - - The current property name - - When inserting to a dictionary, the name-value pair comes across multiple pipeline calls - Therefore we need to buffer the name part and wait for the value part. - You can get into an incorrect state (caught by asserts) if you add a property name without - using it immediately next. - - - - - Access the current container as a List - - The current container as list - - - - Access the current container as a Dictionary - - The current container as dictionary - - - - Get the top level json object - - - - - Test if the current container is an array - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Latitude. - - - - - Internal pipeline Inteface that washes the distinction between Geography and Geometry - - - - - Set the coordinate system based on the given EPSG ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Add a control point to the current figure - - First coordinate - Second coordinate - Third coordinate - Fourth coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Longitude. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The spatial reader that can read from a pre parsed GeoJson payload - - - - - Reader to be used by spatial formats - - The type of source that the reader operates on. - - - - Creates a reader - - the instance of the pipeline that the reader will message while it is reading. - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Sets the reader and underlying Destination back to a clean - starting state after an exception - - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - The pipeline that is messaged while the reader is reading. - - - - - Initializes a new instance of the class. - - The pipeline. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The jsonObject to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The jsonObject to read from. - - - - A common way to call Geography and Geometry pipeline apis from the structured Json - - - - - Pipeline to use for the output of the translation of the GeoJSON object into pipeline method calls. - - - - - Initializes a new instance of the class. - - Spatial pipeline that will receive the pipeline method calls. - - - - Translates a dictionary of parsed GeoJSON members and values into method calls on the spatial pipeline. - - Dictionary containing GeoJSON members and values. - Coordinate System must be set for this pipeline - - - - Iterates over an object array, verifies that each element in the array is another array, and calls a delgate on the contained array. - - Array to iterate over. - Delegate to invoke for each element once it has been validated to be an array. - - - - Convert an object to a nullable double value. - - Object to convert. - If the specified element was null, returns null, otherwise returns the converted double value. - - - - Convert an object to a non-null double value. - - Object to convert. - Converted double value. - - - - Values as json array. - - The value. - The value cast as a json array. - - - - Values as json object. - - The value. - The value cast as IDictionary<string, object> - - - - Values as string. - - Name of the property. - The value. - The value cast as a string. - - - - Get the type member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - SpatialType for the GeoJSON object. - - - - Tries to get a coordinate system id from the geo json object's 'crs' property - - The geo json object. - The coordinate system id. - True if the object had a coordinate system - - - - Gets the coordinate system ID from a representation of the CRS object - - The parsed representation of the CRS object. - The coordinate system ID - - - - Get the designated member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - The member's tag name - Member value for the GeoJSON object. - - - - This method assumes a non forward only enumerable - - The enumerable to check - true if there is at least one element - - - - Reads GeoJson 'type' value and maps it a valid SpatialType. - - The GeoJson standard type name - SpatialType corresponding to the GeoJson type name. - - - - Sends a shape to the spatial pipeline. - - SpatialType of the shape. - Content member for the shape - - - - Translates the coordinates member value into method calls on the spatial pipeline. - - SpatialType of the GeoJSON object. - Coordinates value of the GeoJSON object, or inner geometries for collection - - - - Translates the coordinates member value of a Point object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a LineString object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a Polygon object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a MultiPoint, MultiLineString, or MultiPolygon object into method calls on the spatial pipeline. - - Type of the shape contained in the Multi shape. - Parsed coordinates array. - - - - Translates an array of positions into method calls on the spatial pipeline. - - List containing the positions. - - - - Translates an individual position into a method call on the spatial pipeline. - - List containing elements of the position. - True if the position is the first one being written to a figure, otherwise false. - - - - A key consisting of multiple fields - - The type of the first field. - The type of the second field. - - - - The first field - - - - - The second field - - - - - Initializes a new instance of the class. - - The first. - The second. - - - - Implements the operator ==. - - The left. - The right. - - The result of the operator. - - - - - Implements the operator !=. - - The left. - The right. - - The result of the operator. - - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - The parameter is null. - - - - 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 the extensions to formatters. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Represents the full globe of geography. - - - Represents the geography surface. - - - Represents a base class of geography shapes. - - - Represents the spatial interface. - - - Gets the coordinate system. - The coordinate system. - - - Gets a value that indicates whether the spatial type is empty. - true if the spatial type is empty; otherwise, false. - - - - The implementation that created this instance - - - - - The CoordinateSystem of this geography - - - - Initializes a new instance of the class. - The coordinate system of this geography. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Computes the hashcode for the given CoordinateSystem and the fields - - Spatial type instances or doubles for base types (Geography/Geometry types). - CoordinateSystem instance. - Spatial type instances or doubles for base types (Geography/Geometry types). - hashcode for the CoordinateSystem instance and Spatial type instances. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the coordinate system of the geography. - The coordinate system of the geography. - - - Gets a value that indicates whether the geography is empty. - true if the geography is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Represents the curve of geography. - - - Initializes a new instance of the class. - The coordinate system of this geography curve. - The implementation that created this instance. - - - Represents a geography line string consist of an array of geo points. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the multi-curve of geography. - - - Represents the collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this geography collection. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the collection of geographies. - The collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the multi-line string of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the line strings. - A collection of line strings. - - - Represents the multi-point of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the multi-polygon of geography. - - - Represents the multi-surface of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents a geography point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Creates a geography point using the specified latitude and longitude. - The geography point that was created. - The latitude. - The longitude. - - - Creates a geography point using the specified latitude, longitude and dimension. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - - - Creates a geography point using the specified latitude, longitude and dimensions. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Creates a geography point using the specified coordinate system, latitude, longitude and dimensions. - The geography point that was created. - The coordinate system to use. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the latitude. - The latitude. - - - Gets the longitude. - The longitude. - - - Gets the nullable Z. - The nullable Z. - Z is the altitude portion of position. - - - Gets the nullable M. - The nullable M. - M is the arbitrary measure associated with a position. - - - Represents the geography polygon. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of rings. - A collection of rings. - - - Represents the geometry collection. - - - Represents the base class of geography shapes. - - - - The implementation that created this instance. - - - - - The CoordinateSystem of this geometry - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the SRID of this instance of geometry. - The SRID of this instance of geometry. - - - Gets a value that indicates whether geometry is empty. - true if the geometry is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the geometry instances in this collection. - A collection of geometries. - - - Represents the geometry curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the geometry multi-curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry multi-line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of line strings. - A collection of line strings. - - - Represents the geometry multi-point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the geometry multi-polygon. - - - Represents the geometry multi-surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents the Geometry Point. - - - Initializes a new instance of the class. Empty Point constructor. - The CoordinateSystem. - The implementation that created this instance. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The coordinate system to use. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Gets the Hashcode. - The hashcode. - - - Gets the Latitude. - The Latitude. - - - Gets the Longitude. - The Longitude. - - - Gets the Nullable Z. - The Nullable Z. - Z is the altitude portion of position. - - - Gets the Nullable M. - The Nullable M. - M is the arbitrary measure associated with a position. - - - Represents the Geometry polygon. - - - Represents a geometry surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The CoordinateSystem. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Indicates the Get Hashcode. - The hashcode. - - - Gets the set of rings. - - - Provides access to the geography objects that this object constructs. - - - Fires when the provider constructs a geography object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Provides access to the geometry objects that this object constructs. - - - Fires when the provider constructs a geometry object. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Provides access to the constructed geography or geometry. - - - The exception that is thrown on an unsuccessful parsing of the serialized format. - - - Creates a new instance of the class. - - - Creates a new instance of the class from a message and previous exception. - The message about the exception. - The exception that preceeded this one. - - - Creates a new instance of the class from a message. - The message about the exception. - - - Creates a new instance of the class from a serialized data. - The instance that holds the serialized object data about the exception being thrown. - The instance that contains contextual information about the source or destination. - - - Creates a geometry or geography instances from spatial data pipelines. - - - - One link of a geospatial pipeline - - - - - the geography side of the pipeline - - - - - the geometry side of the pipeline - - - - - A reference to the begining link of the chain - useful for getting the startingLink when creating the chain fluently - e.g. new ForwardingSegment(new Node()).ChainTo(new Node()).ChainTo(new Node).StartingLink - - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The geography chain. - The geometry chain. - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - Adds the next pipeline. - The last pipesegment in the chain, usually the one just created. - The next pipeline. - - - Gets the geography side of the pipeline. - - - Gets the geometry side of the pipeline. - - - Gets or sets the starting link. - The starting link. - - - - The builder to be delegated to when this class is accessed from the IGeographyPipeline or IGeographyProvider interfaces. - - - - - The builder to be delegated to when this class is accessed from the IGeometryPipeline or IGeometryProvider interfaces. - - - - Initializes a new instance of the class. - The geography input. - The geometry input. - The geography output. - The geometry output. - - - Creates an implementation of the builder. - The created SpatialBuilder implementation. - - - Fires when the provider constructs geography object. - - - Fires when the provider constructs geometry object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Represents the base class for all Spatial Formats. - The type of reader to be read from. - The type of reader to be read from. - - - - The implementation that created this instance. - - - - Initializes a new instance of the <see cref="T:System.Spatial.SpatialFormatter`2" /> class. - The implementation that created this instance. - - - Parses the input, and produces the object. - The input. - The input to be parsed. - The type of object to produce. - - - Parses the input, and produces the object. - The input to be parsed. - The pipeline to call during reading. - The type of object to produce. - - - Creates a valid format from the spatial object. - The object that the format is being created for. - The stream to write the formatted object to. - - - Creates the writerStream. - The writerStream that was created. - The stream that should be written to. - - - Reads the Geography from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Reads the Geometry from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Creates the builder that will be called by the parser to build the new type. - The builder that was created. - - - Defines a list of allowed OpenGisTypes types. - - - - Unknown - - - - - Point - - - - - Line String - - - - - Polygon - - - - - Multi-Point - - - - - Multi-Line-String - - - - - Multi-Polygon - - - - - Collection - - - - - Full Globe - - - - Provides a place to add extension methods that work with ISpatial. - - - Allows the delegation of the call to the proper type (geography or Geometry). - The instance that will have SendTo called. - The pipeline that the instance will be sent to. - - - - Coordinate System Reference - - - - - Default Geometry Reference - - - - - Default Geography Reference (SRID 4326, WGS84) - - - - - List of registered references - - - - - A lock object for the References static dict - - - - - The shape of the space that this coordinate system measures. - - - - Initializes a static instance of the class. - - - Initializes a new instance of the class. - The coordinate system ID, according to the EPSG - The Name of the system - The topology of this coordinate system - - - Gets or creates a Geography coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Gets or creates a Geometry coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Displays the coordinate system for debugging. - The coordinate system, for debugging. - - - Displays a string that can be used with extended WKT. - String representation in the form of SRID=#; - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - 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. - - - - For tests only. Identifies whether the coordinate system is of the designated topology. - - The expected topology. - True if this coordinate system is of the expected topology. - - - - Get or create a CoordinateSystem with ID - - The SRID - The topology. - - A CoordinateSystem object - - - - - Remember this coordinate system in the references dictionary. - - The coords. - - - - Gets the key for a coordinate system - - ID - topology - The key to use with the references dict. - - - Gets the coordinate system ID according to the EPSG, or NULL if this is not an EPSG coordinate system. - The coordinate system ID according to the EPSG. - - - Gets the coordinate system Id, no matter what scheme is used. - The coordinate system Id. - - - Gets the Name of the Reference. - The Name of the Reference. - - - - The shapes of the spaces measured by coordinate systems. - - - - - Ellipsoidal coordinates - - - - - Planar coordinates - - - - - This class is responsible for executing an action the first time dispose is called on it. - - - - The action to be executed on dispose - - - - Constructs an instance of the ActonOnDispose object - - the action to be execute on dispose - - - - The dipose method of the IDisposable insterface - - - - - The object to move spatial types to and from the GML format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - The created GmlFormatter implementation. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - Returns the created WellKnownTextSqlFormatter implementation. - - - Creates the implementation of the formatter and checks whether the specified formatter has Z. - The created WellKnownTextSqlFormatter. - Restricts the formatter to allow only two dimensions. - - - - Represents one position in the Geographyal coordinate system - - - - lattitude portion of position - - - longitude portion of position - - - arbitrary measure associated with a position - - - altitude portion of position - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - The altitude portion of a position. - The arbitrary measure associated with a position. - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - - - Performs equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs equality comparison on a spatial geographic position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the latitude portion of a position. - The latitude portion of a position. - - - Gets the longitude portion of a position. - The longitude portion of a position. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the altitude portion of a position. - The altitude portion of a position. - - - - Represents one position in the Geometry coordinate system - - - - arbitrary measure associated with a position - - - x portion of position - - - y portion of position - - - altitude portion of position - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - The altitude portion of position. - The arbitrary measure associated with a position. - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - - - Performs the equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs the inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs the equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs the equality comparison on a spatial geometry position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the X portion of position. - The X portion of position. - - - Gets the Y portion of position. - The Y portion of position. - - - Gets the altitude portion of position. - The altitude portion of position. - - - - Base class for Spatial Type Validator implementations - - - - Creates the currently registered SpatialValidator implementation. - The created SpatialValidator. - - - - Extension methods for the Geography operations - - - - Determines the distance of the geography. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geography LineString. - The operation result. - The LineString operand. - - - Determines if geography point and polygon will intersect. - The operation result. - The first operand. - The second operand. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Extension methods for the Geography operations - - - - Determines the distance of the geometry. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geometry LineString. - The operation result. - The LineString operand. - - - Determines if geometry point and polygon will intersect. - The operation result. - The first operand, point. - The second operand, polygon. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Queue where things are seen in highest priority (highest compare) order - - The type of the values stored in priority order - - - - The list of queued items. - This is non-generic to avoid issues with the NetCF's reflection stack. - - - - - Initializes a new instance of the PriorityQueue class - DEVNOTE: this is only here for the FxCop suppression. - - - - - Returns the top queue value without removing it. - - The top value of the queue - - - - Adds a new value to the queue by priority. - - The priority of the new item to add. - The new item being added. - - - - Returns a value indicating whether there is already an item with the given priority in the queue - - The priority to check - Whether or not an item with the given priority is in the queue - - - - Removes the item with the priority specified from the queue - - The priority of the item to be removed from the queue - The value of the removed item. - - - - Gets the number of items in the queue - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - a particular implemenation of Spatial types - - - - Default Spatial Implementation. - - - Creates a SpatialBuilder for this implementation. - The SpatialBuilder created. - - - Creates a Formatter for Json Object. - The JsonObjectFormatter created. - - - Creates a GmlFormatter for this implementation. - The GmlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - Controls the writing and reading of the Z and M dimension. - - - Creates a spatial Validator. - The SpatialValidator created. - - - - This method throws if the operations instance is null. It returns a non-null operations implementation. - - a SpatialOperations implementation. - - - Returns an instance of SpatialImplementation that is currently being used. - - - Gets or sets the Spatial operations implementation. - - - - Class responsible for knowing how to perform operations for a particular implemenation of Spatial types - - - - Indicates the Geometry Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates a Geography Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates the Geometry LineString's length. - The operation result. - The Operand. - - - Indicates a Geography LineString's length. - The operation result. - The Operand. - - - Indicates the Geometry Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - Indicates a Geography Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - - This class holds extension methods for objects that have new capabilities - in newer versions of .net, and this lets us make the calls look the same and reduces the #if noise - - - - - StringBuilder didn't have a clear method in Orcas, so we added and extension method to give it one. - - The StringBuilder instance to clear. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - - restricts the writer and reader to allow only two dimensions. - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Initializes a new instance of the class. - - The implementation that created this instance. - restricts the reader to allow only two dimensions. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - Gml Writer - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - If an SRID has been written already. - - - - - The Coordinate System to write - - - - - Figure has been written to the current spatial type - - - - - Whether there are shapes written in the current container - - - - - Constructor - - The Xml Writer to output to - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - The coordinateSystem to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Setup the pipeline for reuse - - - - - Begin a figure - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Write the element with namespaces - - The element name - - - - Write coordinate system - - - - - Write a Point - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - End Geography/Geometry - - - - - The object to move spatial types to and from the GML format - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - WellKnownText Lexer - - - - - Lexer base - - - - - Input text - - - - - Current lexer output - - - - - Peek lexer output, if this is not null then we have advanced already - - - - - Constructor - - The input text - - - - Peek one token ahead of the current position - - The peeked token - True if there is one more token after the current position, otherwise false - - - - Move to the next token - - True if lexer has moved, otherwise false - - - - Examine the current character and determine its token type - - The char that will be read next - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - Current token - - - - - Constructor - - Input text - - - - Examine the current character and determine its token type - - The next char that will be read. - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - WellKnownText Lexer Token Type - - - - - A-Z only support upper case text. i.e., POINT() instead of Point() or point() - - - - - character '=' - - - - - characters '0' to '9' - - - - - character ';' - - - - - character '(' - - - - - character ')' - - - - - character '.' - - - - - character ',' - - - - - character ' ', '\t' - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - the data services implemenation of Spatial types - - - - - Creates a SpatialBuilder for this implemenation - - - The SpatialBuilder created. - - - - - Creates a GmlFormatter for this implementation - - The GmlFormatter created. - - - - Creates a GeoJsonObjectFormatter for this implementation - - The GeoJsonObjectFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - The WellKnownTextSqlFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - Controls the writing and reading of the Z and M dimension - - The WellKnownTextSqlFormatter created. - - - - - Creates a SpatialValidator for this implementation - - The SpatialValidator created. - - - - Property used to register Spatial operations implementation. - - - - - Builder for Geography types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geography object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - Tree based builder for spatial types - - Geography or Geometry - - - - The figure this builder is currently building - - - - - Current builder tree root - - - - - lastConstructed - - - - - Draw a point in the specified coordinate - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin a new spatial type - - The spatial type - - - - Ends the figure set on the current node - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Notifies if we just finished building something. - - - - - Traverses up the tree. - - - - - Fires when the builder creates a top-level spatial object. - - - - - Get the constructed spatial instance - - The constructed spatial instance - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - A spatial instance node in the builder tree - - - - - Constructor - - - - - Create a child node - - The node type - The child node - - - - Children nodes - - - - - Instance - - - - - Parent node - - - - - Spatial Type - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Builder for Geometry types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geometry object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - A Geography linestring consist of an array of GeoPoints - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geography Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geographies - - - - - Line Strings - - - - - Geography Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geography - - - - - Points - - - - - Geography Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geographies - - - - - Polygons - - - - - This class is an implementation of Geography point. - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Create a empty point - - CoordinateSystem - The implementation that created this instance. - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geography polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geography Collection - - - - - Collection of geography instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of geography instances - - - - Constructor - - The implementation that created this instance. - Collection of geography instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geography Collection Empty - - - - - Geographies - - - - - Helper methods for the geography type. - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeographyLineString instance to serialize. - The pipeline to populate to - - - - Implementation of FullGlobe - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - - Constructor - - The implementation that created this instance. - - - - Sends the spatial geography object to the given sink - - The spatial pipeline - - - - Is FullGlobe empty - - - - - Geometry Line String - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Constructor - - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geometry Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geometry - - - - - Line Strings - - - - - Geometry Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geometry - - - - - Points - - - - - Geometry Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geometry - - - - - Polygons - - - - - Geometry Point - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Empty Point constructor - - CoordinateSystem - The implementation that created this instance. - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geometry polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geometry Collection - - - - - Collection of Geometry instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of Geometry instances - - - - Constructor - - The implementation that created this instance. - Collection of Geometry instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geometry Collection Empty - - - - - Geographies - - - - - Dummy class for code that is shared with ODataLib. - The ODataLib version of this class has an implementation, but this version is just provided - so that we don't have to conditionally compile all references to it in the shared code. - Since it is debug-only anyway, there is no harm in leaving this no-op version so that the shared code is cleaner. - - - - - Dummy method to allow shared code to compile. - - - - - Helper methods for Geometry types - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeometryLineString instance for which the figure needs to be drawn. - The pipeline to populate to - - - - Gml Reader - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - This class parses the xml and calls the pipeline based on what is parsed - - - - - Delimiters used in position arrays. As per Xml spec white space characters is: #x20 | #x9 | #xD | #xA - - - - - List of known gml elements that can be ignored by the parser - - - - - Atomized gml namespace - - - - - Atomized Full Globe namespace - - - - - Output pipeline - - - - - Input reader - - - - - Number of points in the current figure - - - - - Constructor - - Input Reader - Output pipeline - - - - Read - - - - - Parses the top level element in the document - - Whether coordinte system is expected - - - - Set the CoordinateSystem - - Should we allow CRS attributes - - - - creates a shape and parses the element. - This is used to parse a top level Point element, as opposed to - a point which is embeded in a linestring or a polygon. - - - - - creates a shape and parses the element for top level LineString shapes - - - - - Creates a shape and parses the Polygon element. - - - - - Creates a shape and parses the MultiPoint element. - - - - - Creates a shape and parses the MultiLineString(Gml MultiCurve) element. - - - - - Creates a shape and parses the MultiPolygon(Gml MultiSurface) element. - - - - - Creates a shape and parses the Collection(Gml MultiGeometry) element. - - - - - Creates a shape and parses the FullGlobe element - - - - - Parses a simple point. - - Allow Empty Point - - - - Parses the GmlLineStringElement. - - - - - Parses the GmlExteriorLinearRingElement - - The type or ring - - - - ParseGmlLinearRingElement parses the GmlLinearRingElement - - - - - Common function for all item collections, since they are all parsed exactly the same way - - The wrapping header tag - The member tag - The members tag - Parser for individual items - - - - parses a pos element, which eventually is used in most other top level elements. - This represents a single point location with either two or zero coordinates. - - Allow empty pos - - - - Parses a sequence of 1 or more pos and pointProperty elements - - Allow Empty Point - - - - Parses a simple pointProperty. - - Allow empty point - - - - parses a GmlPosListElement. - - Alow empty posList - - - - Reads the current content in the xml element as a double array - - - XmlReader.ReadContentAs(typeof(double[])) basically does this but a lot slower, since it will handle a bunch of - different splitters and formats. Here we simply parse it as a string and split in on one separator - - The double array - - - - Main element reading function. - Returns true if it read a non-empty start element of the given name. - possibilities: - 1- current element is not a start element named "element" - throw - 2- current element is named "element" but is an empty element - return false - 3- current element is named "element" and is not empty - return true - If the funciton returns true, it means that a non-empty element of the given name - was read, so the caller takes responsability to read the corresponding end element. - - The element name - Returns true if it read a non-empty start element of the given name. - - - - Is Start Element - - Expected Element Tag - True if reader is at the expected element - - - - Is End Element - - Expected Element Tag - True if reader is at the end of the expected element - - - - Read End Element - - - - - Call MoveToContent, then skip a known set of irrelevant elements (gml:name, gml:description) - - - - - Is reader at the start of a pos or pointProperty - - True if reader is at the expected element - - - - Prepare for figure drawing - - - - - Draw a point in the current figure - - X coordinate - Y coordinate - Z coordinate - M coordinate - - - - End Current Figure - - - - - Gml Constants - - - - - Gml Namespace - - - - - FullGlobe namespace - - - - - Gml Prefix - - - - - System reference attribute name - - - - - gml:id attribute name - - - - - System Reference Prefix - - - - - Gml representation of a point - - - - - The Gml:name element name - - - - - the Gml:Description element name - - - - - the metadata property element name - - - - - Description Reference element name - - - - - identifier element name - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml Point - - - - - Gml representation of a linestring - - - - - Gml Polygon - - - - - Gml MultiPoint - - - - - Gml MultiLineString - - - - - Gml MultiPolygon - - - - - Gml Collection - - - - - Gml FullGlobe - - - - - Gml Polygon exterior ring - - - - - Gml Polygon interior ring - - - - - Gml Ring - - - - - Member Tag for MultiPoint - - - - - Members Tag for MultiPoint - - - - - Member Tag for MultiLineString - - - - - Members Tag for MultiLineString - - - - - Member Tag for MultiPolygon - - - - - Members Tag for MultiPolygon - - - - - Member Tag for Collection - - - - - Members Tag for Collection - - - - - Attribute name for Axis Labels - - - - - Attribute name for unit of measure labels - - - - - Attribute name for count - - - - - Well Known Text Constants - - - - - SRID - - - - - POINT - - - - - LINESTRING - - - - - POLYGON - - - - - GEOMETRYCOLLECTION - DEVNOTE: Because there is no inherent Geography support in the WKT specification, - this constant is used for both GeographyCollection and GeometryCollection - - - - - MULTIPOINT - - - - - MULTILINESTRING - - - - - MULTIPOLYGON - - - - - FULLGLOBE - - - - - NULL - - - - - NULL - - - - - Equals Operator '=' - - - - - Semicolon ';' - - - - - Delimiter ',' + WktWhiteSpace - - - - - Open Parenthesis '(' - - - - - Close Parenthesis '); - - - - - Whitespace ' ' - - - - - Period/Dot '.' - - - - - Adapter from the type washed API to Geometry, where it assumes that coord1 is X. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Semantically validate a GeoData - - - Grammar, states, and actions: - := SetSRID { Finish } - := (Begin_Point | ... | Begin_FullGlobe (: verify depth = 1 :) ) - := [ BeginFigure 1 EndFigure ] 2 End - := [ BeginFigure 1 { LineTo } EndFigure (: verify 2+ points :) ] 2 End - := { BeginFigure 1 { LineTo } EndFigure (: verify 4+ points and closed :) } End - := { { SetSRID } Begin_Point } End - := { { SetSRID } Begin_LineString } End - := { { SetSRID } Begin_Polygon } End - := { { SetSRID } } End - := End - := [ BeginFigure 1 { AddCircularArc } EndFigure ] 2 End - := [ BeginFigure 1 { LineTo | AddCircularArc } EndFigure ] | 2 End - := { } EndFigure - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - := { | | EndFigure (: verify closed and three distinct :)} End - := BeginFigure 1 { LineTo | AddCircularArc } - := StartSimpleRing 0 - := { } - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - ]]> - - - - - Max value for Longitude - - - ~263 radians converted to degrees - - - - - Max value for latitude - - - - - The DrawBoth derived instance of the geography Validator that is nested in this class - - - - - The DrawBoth derived instance of the geometry Validator that is nested in this class - - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - this is the actual validator, and derived from DrawBoth - while the real SpatialValidator derives from DrawSpatial. - We simple create an instance of this nested class and pass back - the DrawGeometry, and DrawGeography when the outter classes DataSpatial - properties are accessed. - - - - - Geometry Functional Specification 3.2.3.4 - Max Geometry Collection Depth - - - - - Set coordinate system - - - - - BeginGeo - - - - - Starting a point - - - - - Building a point - - - - - Ending a point - - - - - Starting a LineString - - - - - Building a LineString - - - - - Ending a LineString - - - - - Starting a Polygon - - - - - Building a Polygon - - - - - Starting a MultiPoint - - - - - Starting a LineString - - - - - Starting a MultiPolygon - - - - - Starting a Collection - - - - - Starting a FullGlobe - - - - - States - - - - - CoordinateSystem - - - - - Number of rings in a polygon - - - - - First point's X coordinate - - - - - First point's Y coordinate - - - - - Last point's X coordinate - - - - - Last point's Y coordinate - - - - - we are validating a geography stream - - - - - Number of points in the GeoData - - - - - Stack depth - - - - - Constructs a new SpatialValidatorImplementation segment - - - - - Implemented by a subclass to handle the setting of a coordinate system - - the new coordinate system - the coordinate system to be passed down the pipeline - - - - Implemented by a subclass to handle the start of drawing a Geography figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geography figure - - - - - Implemented by a subclass to handle the start of drawing a Geometry figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geometry figure - - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the end of a figure - - - - - Implemented by a subclass to return to its initial state - - - - - Implemented by a subclass to handle the addition of a waypoint to a Geography figure - - Next position - the GeographyPosition to be passed down the pipeline - - - - Implemented by a subclass to handle the addition of a waypoint to a Geometry figure - - Next position - the GeometryPosition to be passed down the pipeline - - - - Test whether a double is finite - - The double value - True if the input double is not NaN or INF - - - - Test whether a point is in valid format - - The first coordinate - The second coordinate - The z coordinate - The m coordinate - Whether the input coordinate is valid - - - - Validate one position - - the first two dimensional co-ordinate - the second two dimensional co-ordinate - the altitude - the measure - - - - Validate one Geography position - - the latitude - the longitude - the altitude - the measure - - - - Validate one Geography position - - the x coordinate - the y coordinate - the altitude - the measure - - - - Test whether a latitude value is within acceptable range - - The latitude value - True if the latitude value is within range - - - - Test whether a longitude value is within acceptable range - - The longitude value - True if the longitude value is within range - - - - Validate a Geography polygon - - The number of points in the ring - its first latitude - it first longitued - its last latitude - its last longitude - - - - Validate a Geometry polygon - - The number of points in the ring - its first x - it first y - its last x - its last y - - - - Test whether two longitude values are equal - - Left longitude - Right longitude - True if the two longitudes are equals - - - - Begins the figure. - - The validate action. - The x. - The y. - The z. - The m. - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Add a control point to the current figure. - - the first coordinate - the second coordinate - - - - Tracks the position. - - The first. - The second. - - - - Transit into a new state - - The state to transit into - - - - initialize the object to a fresh clean smelling state - - - - - Push a new state onto the stack - - The new state - - - - Pop a state from the stack - - - - - Replace the current state on the stack with the new state - - The new state - - - - Calls to the pipeline interface Represented as state transition - - - - - Set CoordinateSystem - - - - - BeginGeo() - - fake transition, just for exception - - - - BeginGeo(point) - - - - - BeginGeo(LineString) - - - - - BeginGeo(Polygon) - - - - - BeginGeo(MultiPoint) - - - - - BeginGeo(MultiLineString) - - - - - BeginGeo(MultiPolygon) - - - - - BeginGeo(Collection) - - - - - BeginGeo(FullGlobe) - - - - - BeginFigure - - - - - LineTo - - - - - EndFigure - - - - - EndGeo - - - - - SpatialValidatorImplementation State - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Throw an incorrect state exception - - The expected state - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The expected state3 - The actual state - - - - SetCoordinateSystem State - Validator is currently waiting for a SetCoordinateSystemCall - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Beginning a GeoData - Validator is currently waiting for a BeginGeo() call - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Start State - After BeginGeo(Point), waiting for BeginFigure() or EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Building State - After BeginFigure(), waiting for EndFigure() immediately - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point End State - After EndFigure() for a point, waiting for EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Start state - After BeginGeo(LineString), waiting for BeginFigure/EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Building State - After BeginFigure() for a line - Waiting for LineTo/EndFigure - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString End State - After EndFigure() on Line - Waiting for EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - PolygonStart State - After polygon started, waiting for Rings to build - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Polygon Building State - Drawing rings - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPoint State - Inside a MultiPoint Container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiLineString State - Inside a MultiLineString container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPolygon State - Inside a MultiPolygon container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Collection State - Inside a Collection container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - FullGlobe state - Inside a FullGlobe container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Extension methods for TextWriter - - - - - Write a double to a TextWriter ensuring that the value will be roundtrippable thorugh double.parse - - the writer - the double value to be written - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - Text Lexer Token - - - - - Test whether this token matches the input criterion - - The target type - The target text, or null - The StringComparison - True if this token matches the input criterion - - - - String representation of this token - - String representation of this token - - - - The Token Text - - - - - Token Type - - - - - Reader for Extended Well Known Text, Case sensitive - example: - SRID=1234;POINT(10.0 20.0 NULL 30.0) - - - - - restricts the reader to allow only two dimensions. - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Initializes a new instance of the class. - - The destination. - if set to true allows only two dimensions. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - TextReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - TextReader instance to read from. - - - - This class parses the text and calls the pipeline based on what is parsed - - - - - restricts the parser to allow only two dimensions. - - - - - Text lexer - - - - - Output pipeline - - - - - Creates a parser with the given reader and pipeline - - The reader that is the source of what is parsed. - The pipeline to be called as the parser recognizes tokens. - if set to true allows only two dimensions. - - - - Read WellKnownText into an instance of Geography - - - - - Test whether the current token matches the expected token - - The expected token type - The expected token text - True if the two tokens match - - - - Move the lexer to the next non-whitespace token - - True if the lexer gets a new token - - - - Parse Collection Text - - - - - Parse a LineString text - - - - - Parse a Multi* text - - The inner spatial type - The inner reader - - - - Parse Point Representation - - Whether this is the first point in the figure - - - - Parse a point text - - - - - Parse a Polygon text - - - - - Parse an instance of SRID - - - - - Parse Tagged Text - - - - - Read a double literal - - The read double - - - - Check to see if the content is EMPTY - - True if the content is declared as EMPTY - - - - Read an integer literal - - The read integer - - - - Read an optional double literal - - The value that was read. - true if a value was read, otherwise returns false - - - - Read an optional token. If the read token matches the expected optional token, then consume it. - - The expected token type - The expected token text, or null - True if the optional token matches the next token in stream - - - - Read and consume a token from the lexer, throw if the read token does not match the expected token - - The expected token type - The expected token text - - - - WellKnownText Writer - - - - - restricts the writer to allow only two dimensions. - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - Detects if a CoordinateSystem (SRID) has been written already. - - - - - Figure has been written to the current spatial type - - - - - A shape has been written in the current nesting level - - - - - Wells the known text SQL format. -- 2D writer - - The writer. - - - - Initializes a new instance of the class. - - The writer. - if set to true allows only two dimensions. - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Write the coordinate system - - The CoordinateSystem - - - - Setup the pipeline for reuse - - - - - Start to write a new Geography/Geometry - - The SpatialType to write - - - - Adds the control point. - - The x. - The y. - The z. - The m. - - - - Ends the figure. - - - - - write tagged text for type - - the spatial type - - - - Start to write a figure - - The coordinate1. - The coordinate2. - The coordinate3. - The coordinate4. - - - - End the current Geography/Geometry - - - - - Write out a point - - The x coordinate - The y coordinate - The z coordinate - The m coordinate - - - - Defines the members that may be found in a GeoJSON object. - - - - - "type" member in a GeoJSON object. - - - - - "coordinates" member in GeoJSON object. - - - - - "geometries" member in GeoJSON object. - - - - - "crs" member in GeoJSON object. - - - - - 'properties' member in GeoJSON object - - - - - 'name' member in GeoJSON object - - - - - Constants for the GeoJSON format - See http://geojson.org/geojson-spec.html for full details on GeoJson format. - - - - - Name of the type member that identifies the spatial type. - - - - - Value of the type member for Point values. - - - - - Value of the type member for LineString values. - - - - - Value of the type member for Polygon values. - - - - - Value of the type member for MultiPoint values. - - - - - Value of the type member for MultiLineString values. - - - - - Value of the type member for MultiPolygon values. - - - - - Value of the type member for GeometryCollection values. - - - - - Name of the coordinates member that contains the spatial data. - - - - - Name of the geometries member that contains the spatial data. - - - - - Name of the crs member that contains the coordinate reference system details. - - - - - Value of the type member inside of the crs object. - - - - - Name of the name member inside of the properties member in the crs object. - - - - - Name of the properties member inside of the crs object. - - - - - Prefix to use when specifying the coordinate reference system inside the crs object. - - - - - This is a forwarding transform pipe segment - - - - - The singleton NoOp implementation of the DrawGeography - - - - - The current drawspatial that will be called and whose results will be forwarded to the - next segment - - - - - The SpatialPipeline to forward the calls to - - - - - the cached GeographyForwarder for this instance - - - - - the cached GeometryForwarder for this instance - - - - - Constructs a new SpatialPipeline segment - - The DrawSpatial to draw to before calling next. - - - - Initializes a new instance of the class. - - The current geography. - The current geometry. - - - - Add the next pipeline - - the next pipleine - The last pipesegment in the chain, usually the one just created - - - - Run one action on a pipeline - - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - - - - Run one action on a pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - The argument to pass to both this node and the rest of the pipeline - - - - Gets the geography. - - - - - Gets the geometry. - - - - - The next geography sink in the pipeline - - - - - The next geometry sink in the pipeline - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geography data - - the sort of Geography data being processed - - - - finish processing Geography data - - - - - Begin drawing a Geography figure - - Next position - - - - Finish drawing a Geography figure - - - - - Continue drawing a Geography figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeography from the associated ForwardingSegment instance - - - - - Gets the next GeographyPipeline from the associated ForwardingSegment instance - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geometry data - - the sort of Geometry data being processed - - - - finish processing Geometry data - - - - - Begin drawing a Geometry figure - - Next position - - - - Finish drawing a Geometry figure - - - - - Continue drawing a Geometry figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeometry from the associated ForwardingSegment instance - - - - - Gets the next GeometryPipeline from the associated ForwardingSegment instance - - - - - A noop implementation of DrawGeography - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - a noop implementation of DrawGeometry - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Util class - - - - StackOverFlow exception type - - - ThreadAbortException exception type - - - AccessViolationException exception type - - - OutOfMemoryException exception type - - - NullReferenceException exception type - - - SecurityException exception type - - - - Check if input is null, throw an ArgumentNullException if it is. - - The input argument - The error to throw - - - - Determines if the exception is one of the prohibited types that should not be caught. - - The exception to be checked against the prohibited list. - True if the exception is ok to be caught, false otherwise. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Class that contains all the constants for various schemas. - - - - - Namespace for xmlns - - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The queue doesn't contain an item with the priority {0}." - - - - - A string like "The value '{0}' is not valid for the coordinate '{1}'." - - - - - A string like "Incorrect GML Format: The XmlReader instance encountered an unexpected element "{0}"." - - - - - A string like "Incorrect GML Format: unknown spatial type tag "{0}"." - - - - - A string like "Incorrect GML Format: a srsName attribute must begin with the namespace "{0}"." - - - - - A string like "The attribute '{0}' on element '{1}' is not supported." - - - - - A string like "Expecting token type "{0}" with text "{1}" but found "{2}"." - - - - - A string like "Unexpected character '{0}' found in text." - - - - - A string like "Unknown Tagged Text "{0}"." - - - - - A string like "Invalid spatial data: Invalid spatial type "{0}"." - - - - - A string like "Invalid spatial data: only {0} levels of nesting are supported in collection types." - - - - - A string like "Invalid spatial data: the coordinates ({0} {1} {2} {3}) are not valid." - - - - - A string like "Invalid spatial data: expected call to "{0}" but got call to "{1}"." - - - - - A string like "Invalid spatial data: expected call to "{0}" or "{1}" but got call to "{2}"." - - - - - A string like "Invalid latitude coordinate {0}. A latitude coordinate must be a value between -90.0 and +90.0 degrees." - - - - - A string like "Invalid longitude coordinate {0}. A longitude coordinate must be a value between -15069.0 and +15069.0 degrees" - - - - - A string like "Invalid GeoJSON. The '{0}' member is required, but was not found." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a valid value for the 'type' member." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS type." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS name." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a JSON object." - - - - - A string like "The operation is not valid on an empty queue." - - - - - A string like "An item with the same priority already exists." - - - - - A string like "No operations are registered. Please provide operations using SpatialImplementation.CurrentImplementation.Operations property." - - - - - A string like "Access to the coordinate properties of an empty point is not supported." - - - - - A string like "The builder cannot create an instance until all pipeline calls are completed." - - - - - A string like "Incorrect GML Format: the XmlReader instance is expected to be at the start of a GML element." - - - - - A string like "Incorrect GML Format: a LinearRing element must not be empty." - - - - - A string like "Incorrect GML Format: a pos element must contain at least two coordinates." - - - - - A string like "Incorrect GML Format: a posList element must contain an even number of coordinates." - - - - - A string like "The WellKnownTextReader is configured to allow only two dimensions, and a third dimension was encountered." - - - - - A string like "Invalid spatial data: An instance of spatial type can have only one unique CoordinateSystem for all of its coordinates." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot be part of a collection type." - - - - - A string like "Invalid spatial data: the spatial type "LineString" must contain at least two points." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot contain figures." - - - - - A string like "Invalid spatial data: A polygon ring must contain at least four points, and the last point must be equal to the first point." - - - - - A string like "A geography operation was called while processing a geometric shape." - - - - - A string like "A geometry operation was called while processing a geographic shape." - - - - - A string like "Invalid GeoJSON. A position must contain at least two and no more than four elements." - - - - - A string like "Invalid GeoJSON. A null value was found in an array element where nulls are not allowed." - - - - - A string like "Invalid GeoJSON. A non-numeric value was found in an array element where a numeric value was expected." - - - - - A string like "Invalid GeoJSON. A primitive value was found in an array element where an array was expected." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.WebHost.dll b/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.WebHost.dll deleted file mode 100644 index 4f2b581e4..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.WebHost.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.WebHost.xml b/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.WebHost.xml deleted file mode 100644 index 89aabcce6..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.WebHost.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - System.Web.Http.WebHost - - - - Provides a global for ASP.NET applications. - - - - - - Gets the global . - - - Extension methods for - - - Maps the specified route template. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - - - Maps the specified route template and sets default route. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - - - Maps the specified route template and sets default route values and constraints. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for routeTemplate. - - - Maps the specified route template and sets default route values, constraints, and end-point message handler. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for routeTemplate. - The handler to which the request will be dispatched. - - - A that passes ASP.NET requests into the pipeline and write the result back. - - - Initializes a new instance of the class. - The route data. - - - Initializes a new instance of the class. - The route data. - The message handler to dispatch requests to. - - - Provides code that handles an asynchronous task - The asynchronous task. - The HTTP context. - - - A that returns instances of that can pass requests to a given instance. - - - Initializes a new instance of the class. - - - Provides the object that processes the request. - An object that processes the request. - An object that encapsulates information about the request. - - - Gets the singleton instance. - - - Provides the object that processes the request. - An object that processes the request. - An object that encapsulates information about the request. - - - Provides a registration point for the simple membership pre-application start code. - - - Registers the simple membership pre-application start code. - - - Represents the web host buffer policy selector. - - - Initializes a new instance of the class. - - - Gets a value that indicates whether the host should buffer the entity body of the HTTP request. - true if buffering should be used; otherwise a streamed request should be used. - The host context. - - - Uses a buffered output stream for the web host. - A buffered output stream. - The response. - - - Provides the catch blocks used within this assembly. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteBufferedResponseContentAsync. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteBufferedResponseContentAsync. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteErrorResponseContentAsync. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteErrorResponseContentAsync. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.ComputeContentLength. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.ComputeContentLength. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteStreamedResponseContentAsync. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteStreamedResponseContentAsync. - - - Gets the label for the catch block in System.Web.Http.WebHost.WebHostExceptionCatchBlocks.HttpWebRoute.GetRouteData. - The catch block in System.Web.Http.WebHost.WebHostExceptionCatchBlocks.HttpWebRoute.GetRouteData. - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.dll b/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.dll deleted file mode 100644 index e1dbdd182..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.xml b/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.xml deleted file mode 100644 index 365dd7b93..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/bin/System.Web.Http.xml +++ /dev/null @@ -1,6664 +0,0 @@ - - - - System.Web.Http - - - - - Creates an that represents an exception. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The exception. - - - Creates an that represents an error message. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The error message. - - - Creates an that represents an exception with an error message. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The error message. - The exception. - - - Creates an that represents an error. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The HTTP error. - - - Creates an that represents an error in the model state. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The model state. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type formatter. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type formatter. - The media type header value. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type formatter. - The media type. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type header value. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The HTTP configuration which contains the dependency resolver used to resolve services. - The type of the HTTP response message. - - - - - - Disposes of all tracked resources associated with the which were added via the method. - The HTTP request. - - - - Gets the current X.509 certificate from the given HTTP request. - The current , or null if a certificate is not available. - The HTTP request. - - - Retrieves the for the given request. - The for the given request. - The HTTP request. - - - Retrieves the which has been assigned as the correlation ID associated with the given . The value will be created and set the first time this method is called. - The object that represents the correlation ID associated with the request. - The HTTP request. - - - Retrieves the for the given request or null if not available. - The for the given request or null if not available. - The HTTP request. - - - Gets the parsed query string as a collection of key-value pairs. - The query string as a collection of key-value pairs. - The HTTP request. - - - - - Retrieves the for the given request or null if not available. - The for the given request or null if not available. - The HTTP request. - - - Retrieves the for the given request or null if not available. - The for the given request or null if not available. - The HTTP request. - - - Gets a instance for an HTTP request. - A instance that is initialized for the specified HTTP request. - The HTTP request. - - - - - - Adds the given to a list of resources that will be disposed by a host once the is disposed. - The HTTP request controlling the lifecycle of . - The resource to dispose when is being disposed. - - - - - - - Represents the message extensions for the HTTP response from an ASP.NET operation. - - - Attempts to retrieve the value of the content for the . - The result of the retrieval of value of the content. - The response of the operation. - The value of the content. - The type of the value to retrieve. - - - Represents extensions for adding items to a . - - - - - Provides s from path extensions appearing in a . - - - Initializes a new instance of the class. - The extension corresponding to mediaType. This value should not include a dot or wildcards. - The that will be returned if uriPathExtension is matched. - - - Initializes a new instance of the class. - The extension corresponding to mediaType. This value should not include a dot or wildcards. - The media type that will be returned if uriPathExtension is matched. - - - Returns a value indicating whether this instance can provide a for the of request. - If this instance can match a file extension in request it returns 1.0 otherwise 0.0. - The to check. - - - Gets the path extension. - The path extension. - - - The path extension key. - - - Represents an attribute that specifies which HTTP methods an action method will respond to. - - - Initializes a new instance of the class by using the action method it will respond to. - The HTTP method that the action method will respond to. - - - Initializes a new instance of the class by using a list of HTTP methods that the action method will respond to. - The HTTP methods that the action method will respond to. - - - Gets or sets the list of HTTP methods that the action method will respond to. - Gets or sets the list of HTTP methods that the action method will respond to. - - - Represents an attribute that is used for the name of an action. - - - Initializes a new instance of the class. - The name of the action. - - - Gets or sets the name of the action. - The name of the action. - - - Specifies that actions and controllers are skipped by during authorization. - - - Initializes a new instance of the class. - - - Defines properties and methods for API controller. - - - - Gets the action context. - The action context. - - - Creates a . - A . - - - Creates an (400 Bad Request) with the specified error message. - An with the specified model state. - The user-visible error message. - - - Creates an with the specified model state. - An with the specified model state. - The model state to include in the error. - - - Gets the of the current . - The of the current . - - - Creates a (409 Conflict). - A . - - - Creates a <see cref="T:System.Web.Http.NegotiatedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.NegotiatedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The type of content in the entity body. - - - Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header, or <see langword="null" /> to have the formatter pick a default value. - The type of content in the entity body. - - - Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header. - The type of content in the entity body. - - - Gets the of the current . - The of the current . - - - Creates a (201 Created) with the specified values. - A with the specified values. - The location at which the content has been created. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a (201 Created) with the specified values. - A with the specified values. - The location at which the content has been created. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a (201 Created) with the specified values. - A with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a (201 Created) with the specified values. - A with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Executes asynchronously a single HTTP operation. - The newly started task. - The controller context for a single HTTP operation. - The cancellation token assigned for the HTTP operation. - - - Initializes the instance with the specified controllerContext. - The object that is used for the initialization. - - - Creates an (500 Internal Server Error). - A . - - - Creates an (500 Internal Server Error) with the specified exception. - An with the specified exception. - The exception to include in the error. - - - Creates a (200 OK) with the specified value. - A with the specified value. - The content value to serialize in the entity body. - The type of content in the entity body. - - - Creates a (200 OK) with the specified values. - A with the specified values. - The content value to serialize in the entity body. - The serializer settings. - The type of content in the entity body. - - - Creates a (200 OK) with the specified values. - A with the specified values. - The content value to serialize in the entity body. - The serializer settings. - The content encoding. - The type of content in the entity body. - - - Gets the model state after the model binding process. - The model state after the model binding process. - - - Creates a . - A . - - - Creates an (200 OK). - An . - - - Creates an with the specified values. - An with the specified values. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a redirect result (302 Found) with the specified value. - A redirect result (302 Found) with the specified value. - The location to redirect to. - - - Creates a redirect result (302 Found) with the specified value. - A redirect result (302 Found) with the specified value. - The location to redirect to. - - - Creates a redirect to route result (302 Found) with the specified values. - A redirect to route result (302 Found) with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - - - Creates a redirect to route result (302 Found) with the specified values. - A redirect to route result (302 Found) with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - - - Gets or sets the HttpRequestMessage of the current . - The HttpRequestMessage of the current . - - - Gets the request context. - The request context. - - - Creates a with the specified response. - A for the specified response. - The HTTP response message. - - - Creates a with the specified status code. - A with the specified status code. - The HTTP status code for the response message - - - Creates an (401 Unauthorized) with the specified values. - An with the specified values. - The WWW-Authenticate challenges. - - - Creates an (401 Unauthorized) with the specified values. - An with the specified values. - The WWW-Authenticate challenges. - - - Gets an instance of a , which is used to generate URLs to other APIs. - A , which is used to generate URLs to other APIs. - - - Returns the current principal associated with this request. - The current principal associated with this request. - - - Validates the given entity and adds the validation errors to the model state under the empty prefix, if any. - The entity being validated. - The type of the entity to be validated. - - - Validates the given entity and adds the validation errors to the model state, if any. - The entity being validated. - The key prefix under which the model state errors would be added in the model state. - The type of the entity to be validated. - - - Specifies the authorization filter that verifies the request's . - - - Initializes a new instance of the class. - - - Processes requests that fail authorization. - The context. - - - Indicates whether the specified control is authorized. - true if the control is authorized; otherwise, false. - The context. - - - Calls when an action is being authorized. - The context. - The context parameter is null. - - - Gets or sets the authorized roles. - The roles string. - - - Gets a unique identifier for this attribute. - A unique identifier for this attribute. - - - Gets or sets the authorized users. - The users string. - - - An attribute that specifies that an action parameter comes only from the entity body of the incoming . - - - Initializes a new instance of the class. - - - Gets a parameter binding. - The parameter binding. - The parameter description. - - - An attribute that specifies that an action parameter comes from the URI of the incoming . - - - Initializes a new instance of the class. - - - Gets the value provider factories for the model binder. - A collection of objects. - The configuration. - - - Represents attributes that specifies that HTTP binding should exclude a property. - - - Initializes a new instance of the class. - - - Represents the required attribute for http binding. - - - Initializes a new instance of the class. - - - Represents a configuration of instances. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with an HTTP route collection. - The HTTP route collection to associate with this instance. - - - Gets or sets the dependency resolver associated with thisinstance. - The dependency resolver. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Invoke the Intializer hook. It is considered immutable from this point forward. It's safe to call this multiple times. - - - Gets the list of filters that apply to all requests served using this instance. - The list of filters. - - - Gets the media-type formatters for this instance. - A collection of objects. - - - Gets or sets a value indicating whether error details should be included in error messages. - The value that indicates that error detail policy. - - - Gets or sets the action that will perform final initialization of the instance before it is used to process requests. - The action that will perform final initialization of the instance. - - - Gets an ordered list of instances to be invoked as an travels up the stack and an travels down in stack in return. - The message handler collection. - - - Gets the collection of rules for how parameters should be bound. - A collection of functions that can produce a parameter binding for a given parameter. - - - Gets the properties associated with this instance. - The that contains the properties. - - - Gets the associated with this instance. - The . - - - Gets the container of default services associated with this instance. - The that contains the default services for this instance. - - - Gets the root virtual path. - The root virtual path. - - - Contains extension methods for the class. - - - - - Maps the attribute-defined routes for the application. - The server configuration. - The to use for discovering and building routes. - - - Maps the attribute-defined routes for the application. - The server configuration. - The constraint resolver. - - - Maps the attribute-defined routes for the application. - The server configuration. - The to use for resolving inline constraints. - The to use for discovering and building routes. - - - - Specifies that an action supports the DELETE HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Defines a serializable container for storing error information. This information is stored as key/value pairs. The dictionary keys to look up standard error information are available on the type. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class for . - The exception to use for error information. - true to include the exception information in the error; false otherwise - - - Initializes a new instance of the class containing error message . - The error message to associate with this instance. - - - Initializes a new instance of the class for . - The invalid model state to use for error information. - true to include exception messages in the error; false otherwise - - - Gets or sets the message of the if available. - The message of the if available. - - - Gets or sets the type of the if available. - The type of the if available. - - - Gets a particular property value from this error instance. - A particular property value from this error instance. - The name of the error property. - The type of the property. - - - Gets the inner associated with this instance if available. - The inner associated with this instance if available. - - - Gets or sets the high-level, user-visible message explaining the cause of the error. Information carried in this field should be considered public in that it will go over the wire regardless of the . As a result care should be taken not to disclose sensitive information about the server or the application. - The high-level, user-visible message explaining the cause of the error. Information carried in this field should be considered public in that it will go over the wire regardless of the . As a result care should be taken not to disclose sensitive information about the server or the application. - - - Gets or sets a detailed description of the error intended for the developer to understand exactly what failed. - A detailed description of the error intended for the developer to understand exactly what failed. - - - Gets the containing information about the errors that occurred during model binding. - The containing information about the errors that occurred during model binding. - - - Gets or sets the stack trace information associated with this instance if available. - The stack trace information associated with this instance if available. - - - This method is reserved and should not be used. - Always returns null. - - - Generates an instance from its XML representation. - The XmlReader stream from which the object is deserialized. - - - Converts an instance into its XML representation. - The XmlWriter stream to which the object is serialized. - - - Provides keys to look up error information stored in the dictionary. - - - Provides a key for the ErrorCode. - - - Provides a key for the ExceptionMessage. - - - Provides a key for the ExceptionType. - - - Provides a key for the InnerException. - - - Provides a key for the MessageDetail. - - - Provides a key for the Message. - - - Provides a key for the MessageLanguage. - - - Provides a key for the ModelState. - - - Provides a key for the StackTrace. - - - Specifies that an action supports the GET HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Specifies that an action supports the HEAD HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP OPTIONS requests. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Specifies that an action supports the PATCH HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Specifies that an action supports the POST HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - An exception that allows for a given to be returned to the client. - - - Initializes a new instance of the class. - The HTTP response to return to the client. - - - Initializes a new instance of the class. - The status code of the response. - - - Gets the HTTP response to return to the client. - The that represents the HTTP response. - - - A collection of instances. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The virtual path root. - - - Adds an instance to the collection. - The name of the route. - The instance to add to the collection. - - - Removes all items from the collection. - - - Determines whether the collection contains a specific . - true if the is found in the collection; otherwise, false. - The object to locate in the collection. - - - Determines whether the collection contains an element with the specified key. - true if the collection contains an element with the key; otherwise, false. - The key to locate in the collection. - - - Copies the instances of the collection to an array, starting at a particular array index. - The array that is the destination of the elements copied from the collection. - The zero-based index in at which copying begins. - - - Copies the route names and instances of the collection to an array, starting at a particular array index. - The array that is the destination of the elements copied from the collection. - The zero-based index in at which copying begins. - - - Gets the number of items in the collection. - The number of items in the collection. - - - Creates an instance. - The new instance. - The route template. - An object that contains the default route parameters. - An object that contains the route constraints. - The route data tokens. - - - Creates an instance. - The new instance. - The route template. - An object that contains the default route parameters. - An object that contains the route constraints. - The route data tokens. - The message handler for the route. - - - Creates an instance. - The new instance. - The route template. - An object that contains the default route parameters. - An object that contains the route constraints. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Returns an enumerator that iterates through the collection. - An that can be used to iterate through the collection. - - - Gets the route data for a specified HTTP request. - An instance that represents the route data. - The HTTP request. - - - Gets a virtual path. - An instance that represents the virtual path. - The HTTP request. - The route name. - The route values. - - - Inserts an instance into the collection. - The zero-based index at which should be inserted. - The route name. - The to insert. The value cannot be null. - - - Gets a value indicating whether the collection is read-only. - true if the collection is read-only; otherwise, false. - - - Gets or sets the element at the specified index. - The at the specified index. - The index. - - - Gets or sets the element with the specified route name. - The at the specified index. - The route name. - - - Called internally to get the enumerator for the collection. - An that can be used to iterate through the collection. - - - Removes an instance from the collection. - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the collection. - The name of the route to remove. - - - Adds an item to the collection. - The object to add to the collection. - - - Removes the first occurrence of a specific object from the collection. - true if was successfully removed from the collection; otherwise, false. This method also returns false if is not found in the original collection. - The object to remove from the collection. - - - Returns an enumerator that iterates through the collection. - An object that can be used to iterate through the collection. - - - Gets the with the specified route name. - true if the collection contains an element with the specified name; otherwise, false. - The route name. - When this method returns, contains the instance, if the route name is found; otherwise, null. This parameter is passed uninitialized. - - - Validates that a constraint is valid for an created by a call to the method. - The route template. - The constraint name. - The constraint object. - - - Gets the virtual path root. - The virtual path root. - - - Extension methods for - - - Ignores the specified route. - Returns . - A collection of routes for the application. - The name of the route to ignore. - The route template for the route. - - - Ignores the specified route. - Returns . - A collection of routes for the application. - The name of the route to ignore. - The route template for the route. - A set of expressions that specify values for the route template. - - - Maps the specified route for handling HTTP batch requests. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - The for handling batch requests. - - - Maps the specified route template. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - - - Maps the specified route template and sets default route values. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - - - Maps the specified route template and sets default route values and constraints. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for . - - - Maps the specified route template and sets default route values, constraints, and end-point message handler. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for . - The handler to which the request will be dispatched. - - - Defines an implementation of an which dispatches an incoming and creates an as a result. - - - Initializes a new instance of the class, using the default configuration and dispatcher. - - - Initializes a new instance of the class with a specified dispatcher. - The HTTP dispatcher that will handle incoming requests. - - - Initializes a new instance of the class with a specified configuration. - The used to configure this instance. - - - Initializes a new instance of the class with a specified configuration and dispatcher. - The used to configure this instance. - The HTTP dispatcher that will handle incoming requests. - - - Gets the used to configure this instance. - The used to configure this instance. - - - Gets the HTTP dispatcher that handles incoming requests. - The HTTP dispatcher that handles incoming requests. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Prepares the server for operation. - - - Dispatches an incoming . - A task representing the asynchronous operation. - The request to dispatch. - The token to monitor for cancellation requests. - - - Defines a command that asynchronously creates an . - - - Creates an asynchronously. - A task that, when completed, contains the . - The token to monitor for cancellation requests. - - - Specifies whether error details, such as exception messages and stack traces, should be included in error messages. - - - Always include error details. - - - Use the default behavior for the host environment. For ASP.NET hosting, use the value from the customErrors element in the Web.config file. For self-hosting, use the value . - - - Only include error details when responding to a local request. - - - Never include error details. - - - Represents an attribute that is used to indicate that a controller method is not an action method. - - - Initializes a new instance of the class. - - - Represents a filter attribute that overrides action filters defined at a higher level. - - - Initializes a new instance of the class. - - - Gets a value indicating whether the action filter allows multiple attribute. - true if the action filter allows multiple attribute; otherwise, false. - - - Gets the type of filters to override. - The type of filters to override. - - - Represents a filter attribute that overrides authentication filters defined at a higher level. - - - - - - Represents a filter attribute that overrides authorization filters defined at a higher level. - - - Initializes a new instance of the class. - - - Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element. - true if more than one instance is allowed to be specified; otherwise, false. - - - Gets the type to filters override attributes. - The type to filters override attributes. - - - Represents a filter attribute that overrides exception filters defined at a higher level. - - - - - - Attribute on a parameter or type that produces a . If the attribute is on a type-declaration, then it's as if that attribute is present on all action parameters of that type. - - - Initializes a new instance of the class. - - - Gets the parameter binding. - The parameter binding. - The parameter description. - - - Place on an action to expose it directly via a route. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The route template describing the URI pattern to match against. - - - Returns . - - - Returns . - - - - Returns . - - - The class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a ). It can for example be used to indicate that a route parameter is optional. - - - An optional parameter. - - - Returns a that represents this instance. - A that represents this instance. - - - Annotates a controller with a route prefix that applies to all actions within the controller. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The route prefix for the controller. - - - Gets the route prefix. - - - Provides type-safe accessors for services obtained from a object. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Returns the registered unhandled exception handler, if any. - The registered unhandled exception hander, if present; otherwise, null. - The services container. - - - Returns the collection of registered unhandled exception loggers. - The collection of registered unhandled exception loggers. - The services container. - - - Gets the collection. - Returns a collection of objects. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance, or null if no instance was registered. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the collection. - Returns a collection of objects. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the collection. - Returns a collection ofobjects. - The services container. - - - Gets the service. - Returns aninstance. - The services container. - - - Gets the service. - Returns aninstance. - The services container. - - - Gets the collection. - Returns a collection of objects. - The services container. - - - Represents an containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace. - - - Initializes a new instance of the class. - The containing zero or one entities. - - - Creates a from an . A helper method to instantiate a object without having to explicitly specify the type . - The created . - The containing zero or one entities. - The type of the data in the data source. - - - The containing zero or one entities. - - - Represents an containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace. - The type of the data in the data source. - - - Initializes a new instance of the class. - The containing zero or one entities. - - - The containing zero or one entities. - - - Defines the order of execution for batch requests. - - - Executes the batch requests non-sequentially. - - - Executes the batch requests sequentially. - - - Provides extension methods for the class. - - - Copies the properties from another . - The sub-request. - The batch request that contains the properties to copy. - - - Represents the default implementation of that encodes the HTTP request/response messages as MIME multipart. - - - Initializes a new instance of the class. - The for handling the individual batch requests. - - - Creates the batch response message. - The batch response message. - The responses for the batch requests. - The original request containing all the batch requests. - The cancellation token. - - - Executes the batch request messages. - A collection of for the batch requests. - The collection of batch request messages. - The cancellation token. - - - Gets or sets the execution order for the batch requests. The default execution order is sequential. - The execution order for the batch requests. The default execution order is sequential. - - - Converts the incoming batch request into a collection of request messages. - A collection of . - The request containing the batch request messages. - The cancellation token. - - - Processes the batch requests. - The result of the operation. - The batch request. - The cancellation token. - - - Gets the supported content types for the batch request. - The supported content types for the batch request. - - - Validates the incoming request that contains the batch request messages. - The request containing the batch request messages. - - - Defines the abstraction for handling HTTP batch requests. - - - Initializes a new instance of the class. - The for handling the individual batch requests. - - - Gets the invoker to send the batch requests to the . - The invoker to send the batch requests to the . - - - Processes the incoming batch request as a single . - The batch response. - The batch request. - The cancellation token. - - - Sends the batch handler asynchronously. - The result of the operation. - the send request. - The cancelation token. - - - Invokes the action methods of a controller. - - - Initializes a new instance of the class. - - - Asynchronously invokes the specified action by using the specified controller context. - The invoked action. - The controller context. - The cancellation token. - - - Represents a reflection based action selector. - - - Initializes a new instance of the class. - - - Gets the action mappings for the . - The action mappings. - The information that describes a controller. - - - Selects an action for the . - The selected action. - The controller context. - - - Represents a container for services that can be specific to a controller. This shadows the services from its parent . A controller can either set a service here, or fall through to the more global set of services. - - - Initializes a new instance of the class. - The parent services container. - - - Removes a single-instance service from the default services. - The type of service. - - - Gets a service of the specified type. - The first instance of the service, or null if the service is not found. - The type of service. - - - Gets the list of service objects for a given service type, and validates the service type. - The list of service objects of the specified type. - The service type. - - - Gets the list of service objects for a given service type. - The list of service objects of the specified type, or an empty list if the service is not found. - The type of service. - - - Queries whether a service type is single-instance. - true if the service type has at most one instance, or false if the service type supports multiple instances. - The service type. - - - Replaces a single-instance service object. - The service type. - The service object that replaces the previous instance. - - - Describes *how* the binding will happen and does not actually bind. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The back pointer to the action this binding is for. - The synchronous bindings for each parameter. - - - Gets or sets the back pointer to the action this binding is for. - The back pointer to the action this binding is for. - - - Executes asynchronously the binding for the given request context. - Task that is signaled when the binding is complete. - The action context for the binding. This contains the parameter dictionary that will get populated. - The cancellation token for cancelling the binding operation. Or a binder can also bind a parameter to this. - - - Gets or sets the synchronous bindings for each parameter. - The synchronous bindings for each parameter. - - - Contains information for the executing action. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The controller context. - The action descriptor. - - - Gets a list of action arguments. - A list of action arguments. - - - Gets or sets the action descriptor for the action context. - The action descriptor. - - - Gets or sets the controller context. - The controller context. - - - Gets the model state dictionary for the context. - The model state dictionary. - - - Gets the request message for the action context. - The request message for the action context. - - - Gets the current request context. - The current request context. - - - Gets or sets the response message for the action context. - The response message for the action context. - - - Contains extension methods for . - - - - - - - - - - - Provides information about the action methods. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with specified information that describes the controller of the action.. - The information that describes the controller of the action. - - - Gets or sets the binding that describes the action. - The binding that describes the action. - - - Gets the name of the action. - The name of the action. - - - Gets or sets the action configuration. - The action configuration. - - - Gets the information that describes the controller of the action. - The information that describes the controller of the action. - - - Executes the described action and returns a that once completed will contain the return value of the action. - A that once completed will contain the return value of the action. - The controller context. - A list of arguments. - The cancellation token. - - - Returns the custom attributes associated with the action descriptor. - The custom attributes associated with the action descriptor. - The action descriptor. - - - Gets the custom attributes for the action. - The collection of custom attributes applied to this action. - true to search this action's inheritance chain to find the attributes; otherwise, false. - The type of attribute to search for. - - - Retrieves the filters for the given configuration and action. - The filters for the given configuration and action. - - - Retrieves the filters for the action descriptor. - The filters for the action descriptor. - - - Retrieves the parameters for the action descriptor. - The parameters for the action descriptor. - - - Gets the properties associated with this instance. - The properties associated with this instance. - - - Gets the converter for correctly transforming the result of calling ExecuteAsync(HttpControllerContext, IDictionaryString, Object)" into an instance of . - The action result converter. - - - Gets the return type of the descriptor. - The return type of the descriptor. - - - Gets the collection of supported HTTP methods for the descriptor. - The collection of supported HTTP methods for the descriptor. - - - Contains information for a single HTTP operation. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The request context. - The HTTP request. - The controller descriptor. - The controller. - - - Initializes a new instance of the class. - The configuration. - The route data. - The request. - - - Gets or sets the configuration. - The configuration. - - - Gets or sets the HTTP controller. - The HTTP controller. - - - Gets or sets the controller descriptor. - The controller descriptor. - - - Gets or sets the request. - The request. - - - Gets or sets the request context. - - - Gets or sets the route data. - The route data. - - - Represents information that describes the HTTP controller. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The configuration. - The controller name. - The controller type. - - - Gets or sets the configurations associated with the controller. - The configurations associated with the controller. - - - Gets or sets the name of the controller. - The name of the controller. - - - Gets or sets the type of the controller. - The type of the controller. - - - Creates a controller instance for the given . - The created controller instance. - The request message. - - - Retrieves a collection of custom attributes of the controller. - A collection of custom attributes. - The type of the object. - - - Returns a collection of attributes that can be assigned to <typeparamref name="T" /> for this descriptor's controller. - A collection of attributes associated with this controller. - true to search this controller's inheritance chain to find the attributes; otherwise, false. - Used to filter the collection of attributes. Use a value of to retrieve all attributes. - - - Returns a collection of filters associated with the controller. - A collection of filters associated with the controller. - - - Gets the properties associated with this instance. - The properties associated with this instance. - - - Contains settings for an HTTP controller. - - - Initializes a new instance of the class. - A configuration object that is used to initialize the instance. - - - Gets the collection of instances for the controller. - The collection of instances. - - - Gets the collection of parameter bindingfunctions for for the controller. - The collection of parameter binding functions. - - - Gets the collection of service instances for the controller. - The collection of service instances. - - - Describes how a parameter is bound. The binding should be static (based purely on the descriptor) and can be shared across requests. - - - Initializes a new instance of the class. - An that describes the parameters. - - - Gets the that was used to initialize this instance. - The instance. - - - If the binding is invalid, gets an error message that describes the binding error. - An error message. If the binding was successful, the value is null. - - - Asynchronously executes the binding for the given request. - A task object representing the asynchronous operation. - Metadata provider to use for validation. - The action context for the binding. The action context contains the parameter dictionary that will get populated with the parameter. - Cancellation token for cancelling the binding operation. - - - Gets the parameter value from argument dictionary of the action context. - The value for this parameter in the given action context, or null if the parameter has not yet been set. - The action context. - - - Gets a value that indicates whether the binding was successful. - true if the binding was successful; otherwise, false. - - - Sets the result of this parameter binding in the argument dictionary of the action context. - The action context. - The parameter value. - - - Returns a value indicating whether this instance will read the entity body of the HTTP message. - true if this will read the entity body; otherwise, false. - - - Represents the HTTP parameter descriptor. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The action descriptor. - - - Gets or sets the action descriptor. - The action descriptor. - - - Gets or sets the for the . - The for the . - - - Gets the default value of the parameter. - The default value of the parameter. - - - Retrieves a collection of the custom attributes from the parameter. - A collection of the custom attributes from the parameter. - The type of the custom attributes. - - - Gets a value that indicates whether the parameter is optional. - true if the parameter is optional; otherwise, false. - - - Gets or sets the parameter binding attribute. - The parameter binding attribute. - - - Gets the name of the parameter. - The name of the parameter. - - - Gets the type of the parameter. - The type of the parameter. - - - Gets the prefix of this parameter. - The prefix of this parameter. - - - Gets the properties of this parameter. - The properties of this parameter. - - - Represents the context associated with a request. - - - Initializes a new instance of the class. - - - Gets or sets the client certificate. - Returns . - - - Gets or sets the configuration. - Returns . - - - Gets or sets a value indicating whether error details, such as exception messages and stack traces, should be included in the response for this request. - Returns . - - - Gets or sets a value indicating whether the request originates from a local address. - Returns . - - - .Gets or sets the principal - Returns . - - - Gets or sets the route data. - Returns . - - - Gets or sets the factory used to generate URLs to other APIs. - Returns . - - - Gets or sets the virtual path root. - Returns . - - - - - A contract for a conversion routine that can take the result of an action returned from <see cref="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})" /> and convert it to an instance of . - - - Converts the specified object to another object. - The converted object. - The controller context. - The action result. - - - Defines the method for retrieval of action binding associated with parameter value. - - - Gets the . - A object. - The action descriptor. - - - If a controller is decorated with an attribute with this interface, then it gets invoked to initialize the controller settings. - - - Callback invoked to set per-controller overrides for this controllerDescriptor. - The controller settings to initialize. - The controller descriptor. Note that the can be associated with the derived controller type given that is inherited. - - - Contains method that is used to invoke HTTP operation. - - - Executes asynchronously the HTTP operation. - The newly started task. - The execution context. - The cancellation token assigned for the HTTP operation. - - - Contains the logic for selecting an action method. - - - Returns a map, keyed by action string, of all that the selector can select. This is primarily called by to discover all the possible actions in the controller. - A map of that the selector can select, or null if the selector does not have a well-defined mapping of . - The controller descriptor. - - - Selects the action for the controller. - The action for the controller. - The context of the controller. - - - Represents an HTTP controller. - - - Executes the controller for synchronization. - The controller. - The current context for a test controller. - The notification that cancels the operation. - - - Defines extension methods for . - - - Binds parameter that results as an error. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The error message that describes the reason for fail bind. - - - Bind the parameter as if it had the given attribute on the declaration. - The HTTP parameter binding object. - The parameter to provide binding for. - The attribute that describes the binding. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. - The body model validator used to validate the parameter. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The value provider factories which provide query string parameter data. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The model binder used to assemble the parameter into an object. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The model binder used to assemble the parameter into an object. - The value provider factories which provide query string parameter data. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The value provider factories which provide query string parameter data. - - - Represents a reflected synchronous or asynchronous action method. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with the specified descriptor and method details.. - The controller descriptor. - The action-method information. - - - Gets the name of the action. - The name of the action. - - - - Executes the described action and returns a that once completed will contain the return value of the action. - A [T:System.Threading.Tasks.Task`1"] that once completed will contain the return value of the action. - The context. - The arguments. - A cancellation token to cancel the action. - - - Returns an array of custom attributes defined for this member, identified by type. - An array of custom attributes or an empty array if no custom attributes exist. - true to search this action's inheritance chain to find the attributes; otherwise, false. - The type of the custom attributes. - - - Retrieves information about action filters. - The filter information. - - - - Retrieves the parameters of the action method. - The parameters of the action method. - - - Gets or sets the action-method information. - The action-method information. - - - Gets the return type of this method. - The return type of this method. - - - Gets or sets the supported http methods. - The supported http methods. - - - Represents the reflected HTTP parameter descriptor. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The action descriptor. - The parameter information. - - - Gets the default value for the parameter. - The default value for the parameter. - - - Retrieves a collection of the custom attributes from the parameter. - A collection of the custom attributes from the parameter. - The type of the custom attributes. - - - Gets a value that indicates whether the parameter is optional. - true if the parameter is optional; otherwise false. - - - Gets or sets the parameter information. - The parameter information. - - - Gets the name of the parameter. - The name of the parameter. - - - Gets the type of the parameter. - The type of the parameter. - - - Represents a converter for actions with a return type of . - - - Initializes a new instance of the class. - - - Converts a object to another object. - The converted object. - The controller context. - The action result. - - - An abstract class that provides a container for services used by ASP.NET Web API. - - - Initializes a new instance of the class. - - - Adds a service to the end of services list for the given service type. - The service type. - The service instance. - - - Adds the services of the specified collection to the end of the services list for the given service type. - The service type. - The services to add. - - - Removes all the service instances of the given service type. - The service type to clear from the services list. - - - Removes all instances of a multi-instance service type. - The service type to remove. - - - Removes a single-instance service type. - The service type to remove. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Searches for a service that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence. - The zero-based index of the first occurrence, if found; otherwise, -1. - The service type. - The delegate that defines the conditions of the element to search for. - - - Gets a service instance of a specified type. - The service type. - - - Gets a mutable list of service instances of a specified type. - A mutable list of service instances. - The service type. - - - Gets a collection of service instanes of a specified type. - A collection of service instances. - The service type. - - - Inserts a service into the collection at the specified index. - The service type. - The zero-based index at which the service should be inserted. If is passed, ensures the element is added to the end. - The service to insert. - - - Inserts the elements of the collection into the service list at the specified index. - The service type. - The zero-based index at which the new elements should be inserted. If is passed, ensures the elements are added to the end. - The collection of services to insert. - - - Determine whether the service type should be fetched with GetService or GetServices. - true iff the service is singular. - type of service to query - - - Removes the first occurrence of the given service from the service list for the given service type. - true if the item is successfully removed; otherwise, false. - The service type. - The service instance to remove. - - - Removes all the elements that match the conditions defined by the specified predicate. - The number of elements removed from the list. - The service type. - The delegate that defines the conditions of the elements to remove. - - - Removes the service at the specified index. - The service type. - The zero-based index of the service to remove. - - - Replaces all existing services for the given service type with the given service instance. This works for both singular and plural services. - The service type. - The service instance. - - - Replaces all instances of a multi-instance service with a new instance. - The type of service. - The service instance that will replace the current services of this type. - - - Replaces all existing services for the given service type with the given service instances. - The service type. - The service instances. - - - Replaces a single-instance service of a specified type. - The service type. - The service instance. - - - Removes the cached values for a single service type. - The service type. - - - A converter for creating responses from actions that return an arbitrary value. - The declared return type of an action. - - - Initializes a new instance of the class. - - - Converts the result of an action with arbitrary return type to an instance of . - The newly created object. - The action controller context. - The execution result. - - - Represents a converter for creating a response from actions that do not return a value. - - - Initializes a new instance of the class. - - - Converts the created response from actions that do not return a value. - The converted response. - The context of the controller. - The result of the action. - - - Represents a dependency injection container. - - - Starts a resolution scope. - The dependency scope. - - - Represents an interface for the range of the dependencies. - - - Retrieves a service from the scope. - The retrieved service. - The service to be retrieved. - - - Retrieves a collection of services from the scope. - The retrieved collection of services. - The collection of services to be retrieved. - - - Describes an API defined by relative URI path and HTTP method. - - - Initializes a new instance of the class. - - - Gets or sets the action descriptor that will handle the API. - The action descriptor. - - - Gets or sets the documentation of the API. - The documentation. - - - Gets or sets the HTTP method. - The HTTP method. - - - Gets the ID. The ID is unique within . - The ID. - - - Gets the parameter descriptions. - The parameter descriptions. - - - Gets or sets the relative path. - The relative path. - - - Gets or sets the response description. - The response description. - - - Gets or sets the registered route for the API. - The route. - - - Gets the supported request body formatters. - The supported request body formatters. - - - Gets the supported response formatters. - The supported response formatters. - - - Explores the URI space of the service based on routes, controllers and actions available in the system. - - - Initializes a new instance of the class. - The configuration. - - - Gets the API descriptions. The descriptions are initialized on the first access. - - - Gets or sets the documentation provider. The provider will be responsible for documenting the API. - The documentation provider. - - - Gets a collection of HttpMethods supported by the action. Called when initializing the . - A collection of HttpMethods supported by the action. - The route. - The action descriptor. - - - Determines whether the action should be considered for generation. Called when initializing the . - true if the action should be considered for generation, false otherwise. - The action variable value from the route. - The action descriptor. - The route. - - - Determines whether the controller should be considered for generation. Called when initializing the . - true if the controller should be considered for generation, false otherwise. - The controller variable value from the route. - The controller descriptor. - The route. - - - This attribute can be used on the controllers and actions to influence the behavior of . - - - Initializes a new instance of the class. - - - Gets or sets a value indicating whether to exclude the controller or action from the instances generated by . - true if the controller or action should be ignored; otherwise, false. - - - Describes a parameter on the API defined by relative URI path and HTTP method. - - - Initializes a new instance of the class. - - - Gets or sets the documentation. - The documentation. - - - Gets or sets the name. - The name. - - - Gets or sets the parameter descriptor. - The parameter descriptor. - - - Gets or sets the source of the parameter. It may come from the request URI, request body or other places. - The source. - - - Describes where the parameter come from. - - - The parameter come from Body. - - - The parameter come from Uri. - - - The location is unknown. - - - Defines the interface for getting a collection of . - - - Gets the API descriptions. - - - Defines the provider responsible for documenting the service. - - - Gets the documentation based on . - The documentation for the controller. - The action descriptor. - - - - Gets the documentation based on . - The documentation for the controller. - The parameter descriptor. - - - - Describes the API response. - - - Initializes a new instance of the class. - - - Gets or sets the declared response type. - The declared response type. - - - Gets or sets the response documentation. - The response documentation. - - - Gets or sets the actual response type. - The actual response type. - - - Use this to specify the entity type returned by an action when the declared return type is or . The will be read by when generating . - - - Initializes a new instance of the class. - The response type. - - - Gets the response type. - - - Provides an implementation of with no external dependencies. - - - Initializes a new instance of the class. - - - Returns a list of assemblies available for the application. - A <see cref="T:System.Collections.ObjectModel.Collection`1" /> of assemblies. - - - Represents a default implementation of an . A different implementation can be registered via the . We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary. - - - Initializes a new instance of the class. - - - Creates the specified by using the given . - An instance of type . - The request message. - The controller descriptor. - The type of the controller. - - - Represents a default instance for choosing a given a . A different implementation can be registered via the . - - - Initializes a new instance of the class. - The configuration. - - - Specifies the suffix string in the controller name. - - - Returns a map, keyed by controller string, of all that the selector can select. - A map of all that the selector can select, or null if the selector does not have a well-defined mapping of . - - - Gets the name of the controller for the specified . - The name of the controller for the specified . - The HTTP request message. - - - Selects a for the given . - The instance for the given . - The HTTP request message. - - - Provides an implementation of with no external dependencies. - - - Initializes a new instance of the class. - - - Initializes a new instance using a predicate to filter controller types. - The predicate. - - - Returns a list of controllers available for the application. - An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers. - The assemblies resolver. - - - Gets a value whether the resolver type is a controller type predicate. - true if the resolver type is a controller type predicate; otherwise, false. - - - Dispatches an incoming to an implementation for processing. - - - Initializes a new instance of the class with the specified configuration. - The http configuration. - - - Gets the HTTP configuration. - The HTTP configuration. - - - Dispatches an incoming to an . - A representing the ongoing operation. - The request to dispatch - The cancellation token. - - - This class is the default endpoint message handler which examines the of the matched route, and chooses which message handler to call. If is null, then it delegates to . - - - Initializes a new instance of the class, using the provided and as the default handler. - The server configuration. - - - Initializes a new instance of the class, using the provided and . - The server configuration. - The default handler to use when the has no . - - - Sends an HTTP request as an asynchronous operation. - The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - - - Provides an abstraction for managing the assemblies of an application. A different implementation can be registered via the . - - - Returns a list of assemblies available for the application. - An <see cref="T:System.Collections.Generic.ICollection`1" /> of assemblies. - - - Defines the methods that are required for an . - - - Creates an object. - An object. - The message request. - The HTTP controller descriptor. - The type of the controller. - - - Defines the methods that are required for an factory. - - - Returns a map, keyed by controller string, of all that the selector can select. This is primarily called by to discover all the possible controllers in the system. - A map of all that the selector can select, or null if the selector does not have a well-defined mapping of . - - - Selects a for the given . - An instance. - The request message. - - - Provides an abstraction for managing the controller types of an application. A different implementation can be registered via the DependencyResolver. - - - Returns a list of controllers available for the application. - An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers. - The resolver for failed assemblies. - - - Provides the catch blocks used within this assembly. - - - Gets the catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpBatchHandler.SendAsync. - The catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpBatchHandler.SendAsync. - - - Gets the catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpControllerDispatcher.SendAsync. - The catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpControllerDispatcher.SendAsync. - - - Gets the catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpServer.SendAsync. - The catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpServer.SendAsync. - - - Gets the catch block in System.Web.Http.ApiController.ExecuteAsync when using . - The catch block in System.Web.Http.ApiController.ExecuteAsync when using . - - - Represents an exception and the contextual data associated with it when it was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - The request being processed when the exception was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - The request being processed when the exception was caught. - The repsonse being returned when the exception was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - The action context in which the exception occurred. - - - Gets the action context in which the exception occurred, if available. - The action context in which the exception occurred, if available. - - - Gets the catch block in which the exception was caught. - The catch block in which the exception was caught. - - - Gets the controller context in which the exception occurred, if available. - The controller context in which the exception occurred, if available. - - - Gets the caught exception. - The caught exception. - - - Gets the request being processed when the exception was caught. - The request being processed when the exception was caught. - - - Gets the request context in which the exception occurred. - The request context in which the exception occurred. - - - Gets the response being sent when the exception was caught. - The response being sent when the exception was caught. - - - Represents the catch block location for an exception context. - - - Initializes a new instance of the class. - The label for the catch block where the exception was caught. - A value indicating whether the catch block where the exception was caught is the last one before the host. - A value indicating whether exceptions in the catch block can be handled after they are logged. - - - Gets a value indicating whether exceptions in the catch block can be handled after they are logged. - A value indicating whether exceptions in the catch block can be handled after they are logged. - - - Gets a value indicating whether the catch block where the exception was caught is the last one before the host. - A value indicating whether the catch block where the exception was caught is the last one before the host. - - - Gets a label for the catch block in which the exception was caught. - A label for the catch block in which the exception was caught. - - - Returns . - - - Represents an unhandled exception handler. - - - Initializes a new instance of the class. - - - When overridden in a derived class, handles the exception synchronously. - The exception handler context. - - - When overridden in a derived class, handles the exception asynchronously. - A task representing the asynchronous exception handling operation. - The exception handler context. - The token to monitor for cancellation requests. - - - Determines whether the exception should be handled. - true if the exception should be handled; otherwise, false. - The exception handler context. - - - Returns . - - - Represents the context within which unhandled exception handling occurs. - - - Initializes a new instance of the class. - The exception context. - - - Gets the catch block in which the exception was caught. - The catch block in which the exception was caught. - - - Gets the caught exception. - The caught exception. - - - Gets the exception context providing the exception and related data. - The exception context providing the exception and related data. - - - Gets the request being processed when the exception was caught. - The request being processed when the exception was caught. - - - Gets the request context in which the exception occurred. - The request context in which the exception occurred. - - - Gets or sets the result providing the response message when the exception is handled. - The result providing the response message when the exception is handled. - - - Provides extension methods for . - - - Calls an exception handler and determines the response handling it, if any. - A task that, when completed, contains the response message to return when the exception is handled, or null when the exception remains unhandled. - The unhandled exception handler. - The exception context. - The token to monitor for cancellation requests. - - - Represents an unhandled exception logger. - - - Initializes a new instance of the class. - - - When overridden in a derived class, logs the exception synchronously. - The exception logger context. - - - When overridden in a derived class, logs the exception asynchronously. - A task representing the asynchronous exception logging operation. - The exception logger context. - The token to monitor for cancellation requests. - - - Determines whether the exception should be logged. - true if the exception should be logged; otherwise, false. - The exception logger context. - - - Returns . - - - Represents the context within which unhandled exception logging occurs. - - - Initializes a new instance of the class. - The exception context. - - - Gets or sets a value indicating whether the exception can subsequently be handled by an to produce a new response message. - A value indicating whether the exception can subsequently be handled by an to produce a new response message. - - - Gets the catch block in which the exception was caught. - The catch block in which the exception was caught. - - - Gets the caught exception. - The caught exception. - - - Gets the exception context providing the exception and related data. - The exception context providing the exception and related data. - - - Gets the request being processed when the exception was caught. - The request being processed when the exception was caught. - - - Gets the request context in which the exception occurred. - The request context in which the exception occurred. - - - Provides extension methods for . - - - Calls an exception logger. - A task representing the asynchronous exception logging operation. - The unhandled exception logger. - The exception context. - The token to monitor for cancellation requests. - - - Creates exception services to call logging and handling from catch blocks. - - - Gets an exception handler that calls the registered handler service, if any, and ensures exceptions do not accidentally propagate to the host. - An exception handler that calls any registered handler and ensures exceptions do not accidentally propagate to the host. - The services container. - - - Gets an exception handler that calls the registered handler service, if any, and ensures exceptions do not accidentally propagate to the host. - An exception handler that calls any registered handler and ensures exceptions do not accidentally propagate to the host. - The configuration. - - - Gets an exception logger that calls all registered logger services. - A composite logger. - The services container. - - - Gets an exception logger that calls all registered logger services. - A composite logger. - The configuration. - - - Defines an unhandled exception handler. - - - Process an unhandled exception, either allowing it to propagate or handling it by providing a response message to return instead. - A task representing the asynchronous exception handling operation. - The exception handler context. - The token to monitor for cancellation requests. - - - Defines an unhandled exception logger. - - - Logs an unhandled exception. - A task representing the asynchronous exception logging operation. - The exception logger context. - The token to monitor for cancellation requests. - - - Provides information about an action method, such as its name, controller, parameters, attributes, and filters. - - - Initializes a new instance of the class. - - - Returns the filters that are associated with this action method. - The filters that are associated with this action method. - The configuration. - The action descriptor. - - - Represents the base class for all action-filter attributes. - - - Initializes a new instance of the class. - - - Occurs after the action method is invoked. - The action executed context. - - - - Occurs before the action method is invoked. - The action context. - - - - Executes the filter action asynchronously. - The newly created task for this operation. - The action context. - The cancellation token assigned for this task. - The delegate function to continue after the action method is invoked. - - - Provides details for authorization filter. - - - Initializes a new instance of the class. - - - Calls when a process requests authorization. - The action context, which encapsulates information for using . - - - - Executes the authorization filter during synchronization. - The authorization filter during synchronization. - The action context, which encapsulates information for using . - The cancellation token that cancels the operation. - A continuation of the operation. - - - Represents the configuration filter provider. - - - Initializes a new instance of the class. - - - Returns the filters that are associated with this configuration method. - The filters that are associated with this configuration method. - The configuration. - The action descriptor. - - - Represents the attributes for the exception filter. - - - Initializes a new instance of the class. - - - Raises the exception event. - The context for the action. - - - - Asynchronously executes the exception filter. - The result of the execution. - The context for the action. - The cancellation context. - - - Represents the base class for action-filter attributes. - - - Initializes a new instance of the class. - - - Gets a value that indicates whether multiple filters are allowed. - true if multiple filters are allowed; otherwise, false. - - - Provides information about the available action filters. - - - Initializes a new instance of the class. - The instance of this class. - The scope of this class. - - - Gets or sets an instance of the . - A . - - - Gets or sets the scope . - The scope of the FilterInfo. - - - Defines values that specify the order in which filters run within the same filter type and filter order. - - - Specifies an order after Controller. - - - Specifies an order before Action and after Global. - - - Specifies an action before Controller. - - - Represents the action of the HTTP executed context. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The action context. - The exception. - - - Gets or sets the HTTP action context. - The HTTP action context. - - - Gets or sets the exception that was raised during the execution. - The exception that was raised during the execution. - - - Gets the object for the context. - The object for the context. - - - Gets or sets the for the context. - The for the context. - - - Represents an authentication challenge context containing information for executing an authentication challenge. - - - Initializes a new instance of the class. - The action context. - The current action result. - - - Gets the action context. - - - Gets the request message. - - - Gets or sets the action result to execute. - - - Represents an authentication context containing information for performing authentication. - - - Initializes a new instance of the class. - The action context. - The current principal. - - - Gets the action context. - The action context. - - - Gets or sets an action result that will produce an error response (if authentication failed; otherwise, null). - An action result that will produce an error response. - - - Gets or sets the authenticated principal. - The authenticated principal. - - - Gets the request message. - The request message. - - - Represents a collection of HTTP filters. - - - Initializes a new instance of the class. - - - Adds an item at the end of the collection. - The item to add to the collection. - - - - Removes all item in the collection. - - - Determines whether the collection contains the specified item. - true if the collection contains the specified item; otherwise, false. - The item to check. - - - Gets the number of elements in the collection. - The number of elements in the collection. - - - Gets an enumerator that iterates through the collection. - An enumerator object that can be used to iterate through the collection. - - - Removes the specified item from the collection. - The item to remove in the collection. - - - Gets an enumerator that iterates through the collection. - An enumerator object that can be used to iterate through the collection. - - - Defines the methods that are used in an action filter. - - - Executes the filter action asynchronously. - The newly created task for this operation. - The action context. - The cancellation token assigned for this task. - The delegate function to continue after the action method is invoked. - - - Defines a filter that performs authentication. - - - Authenticates the request. - A Task that will perform authentication. - The authentication context. - The token to monitor for cancellation requests. - - - - Defines the methods that are required for an authorization filter. - - - Executes the authorization filter to synchronize. - The authorization filter to synchronize. - The action context. - The cancellation token associated with the filter. - The continuation. - - - Defines the methods that are required for an exception filter. - - - Executes an asynchronous exception filter. - An asynchronous exception filter. - The action executed context. - The cancellation token. - - - Defines the methods that are used in a filter. - - - Gets or sets a value indicating whether more than one instance of the indicated attribute can be specified for a single program element. - true if more than one instance is allowed to be specified; otherwise, false. The default is false. - - - Provides filter information. - - - Returns an enumeration of filters. - An enumeration of filters. - The HTTP configuration. - The action descriptor. - - - - - Provides common keys for properties stored in the - - - Provides a key for the client certificate for this request. - - - Provides a key for the associated with this request. - - - Provides a key for the collection of resources that should be disposed when a request is disposed. - - - Provides a key for the associated with this request. - - - Provides a key for the associated with this request. - - - Provides a key for the associated with this request. - - - Provides a key that indicates whether error details are to be included in the response for this HTTP request. - - - Provides a key that indicates whether the request is a batch request. - - - Provides a key that indicates whether the request originates from a local address. - - - Provides a key that indicates whether the request failed to match a route. - - - Provides a key for the for this request. - - - Provides a key for the stored in . This is the correlation ID for that request. - - - Provides a key for the parsed query string stored in . - - - Provides a key for a delegate which can retrieve the client certificate for this request. - - - Provides a key for the current stored in Properties(). If Current() is null then no context is stored. - - - Interface for controlling the use of buffering requests and responses in the host. If a host provides support for buffering requests and/or responses then it can use this interface to determine the policy for when buffering is to be used. - - - Determines whether the host should buffer the entity body. - true if buffering should be used; otherwise a streamed request should be used. - The host context. - - - Determines whether the host should buffer the entity body. - true if buffering should be used; otherwise a streamed response should be used. - The HTTP response message. - - - Represents a message handler that suppresses host authentication results. - - - Initializes a new instance of the class. - - - Asynchronously sends a request message. - That task that completes the asynchronous operation. - The request message to send. - The cancellation token. - - - Represents the metadata class of the ModelMetadata. - - - Initializes a new instance of the class. - The provider. - The type of the container. - The model accessor. - The type of the model. - The name of the property. - - - Gets a dictionary that contains additional metadata about the model. - A dictionary that contains additional metadata about the model. - - - Gets or sets the type of the container for the model. - The type of the container for the model. - - - Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. - true if empty strings that are posted back in forms should be converted to null; otherwise, false. The default value is true. - - - Gets or sets the description of the model. - The description of the model. The default value is null. - - - Gets the display name for the model. - The display name for the model. - - - Gets a list of validators for the model. - A list of validators for the model. - The validator providers for the model. - - - Gets or sets a value that indicates whether the model is a complex type. - A value that indicates whether the model is considered a complex. - - - Gets a value that indicates whether the type is nullable. - true if the type is nullable; otherwise, false. - - - Gets or sets a value that indicates whether the model is read-only. - true if the model is read-only; otherwise, false. - - - Gets the value of the model. - The model value can be null. - - - Gets the type of the model. - The type of the model. - - - Gets a collection of model metadata objects that describe the properties of the model. - A collection of model metadata objects that describe the properties of the model. - - - Gets the property name. - The property name. - - - Gets or sets the provider. - The provider. - - - Provides an abstract base class for a custom metadata provider. - - - Initializes a new instance of the class. - - - Gets a ModelMetadata object for each property of a model. - A ModelMetadata object for each property of a model. - The container. - The type of the container. - - - Gets a metadata for the specified property. - The metadata model for the specified property. - The model accessor. - The type of the container. - The property to get the metadata model for. - - - Gets the metadata for the specified model accessor and model type. - The metadata. - The model accessor. - The type of the mode. - - - Provides an abstract class to implement a metadata provider. - The type of the model metadata. - - - Initializes a new instance of the class. - - - When overridden in a derived class, creates the model metadata for the property using the specified prototype. - The model metadata for the property. - The prototype from which to create the model metadata. - The model accessor. - - - When overridden in a derived class, creates the model metadata for the property. - The model metadata for the property. - The set of attributes. - The type of the container. - The type of the model. - The name of the property. - - - Retrieves a list of properties for the model. - A list of properties for the model. - The model container. - The type of the container. - - - Retrieves the metadata for the specified property using the container type and property name. - The metadata for the specified property. - The model accessor. - The type of the container. - The name of the property. - - - Returns the metadata for the specified property using the type of the model. - The metadata for the specified property. - The model accessor. - The type of the container. - - - Provides prototype cache data for . - - - Initializes a new instance of the class. - The attributes that provides data for the initialization. - - - Gets or sets the metadata display attribute. - The metadata display attribute. - - - Gets or sets the metadata display format attribute. - The metadata display format attribute. - - - - Gets or sets the metadata editable attribute. - The metadata editable attribute. - - - Gets or sets the metadata read-only attribute. - The metadata read-only attribute. - - - Provides a container for common metadata, for the class, for a data model. - - - Initializes a new instance of the class. - The prototype used to initialize the model metadata. - The model accessor. - - - Initializes a new instance of the class. - The metadata provider. - The type of the container. - The type of the model. - The name of the property. - The attributes that provides data for the initialization. - - - Retrieves a value that indicates whether empty strings that are posted back in forms should be converted to null. - true if empty strings that are posted back in forms should be converted to null; otherwise, false. - - - Retrieves the description of the model. - The description of the model. - - - Retrieves a value that indicates whether the model is read-only. - true if the model is read-only; otherwise, false. - - - - Provides prototype cache data for the . - The type of prototype cache. - - - Initializes a new instance of the class. - The prototype. - The model accessor. - - - Initializes a new instance of the class. - The provider. - The type of container. - The type of the model. - The name of the property. - The prototype cache. - - - Indicates whether empty strings that are posted back in forms should be computed and converted to null. - true if empty strings that are posted back in forms should be computed and converted to null; otherwise, false. - - - Indicates the computation value. - The computation value. - - - Gets a value that indicates whether the model is a complex type. - A value that indicates whether the model is considered a complex type by the Web API framework. - - - Gets a value that indicates whether the model to be computed is read-only. - true if the model to be computed is read-only; otherwise, false. - - - Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. - true if empty strings that are posted back in forms should be converted to null; otherwise, false. The default value is true. - - - Gets or sets the description of the model. - The description of the model. - - - Gets a value that indicates whether the model is a complex type. - A value that indicates whether the model is considered a complex type by the Web API framework. - - - Gets or sets a value that indicates whether the model is read-only. - true if the model is read-only; otherwise, false. - - - Gets or sets a value that indicates whether the prototype cache is updating. - true if the prototype cache is updating; otherwise, false. - - - Implements the default model metadata provider. - - - Initializes a new instance of the class. - - - Creates the metadata from prototype for the specified property. - The metadata for the property. - The prototype. - The model accessor. - - - Creates the metadata for the specified property. - The metadata for the property. - The attributes. - The type of the container. - The type of the model. - The name of the property. - - - Represents an empty model metadata provider. - - - Initializes a new instance of the class. - - - Creates metadata from prototype. - The metadata. - The model metadata prototype. - The model accessor. - - - Creates a prototype of the metadata provider of the . - A prototype of the metadata provider. - The attributes. - The type of container. - The type of model. - The name of the property. - - - Represents the binding directly to the cancellation token. - - - Initializes a new instance of the class. - The binding descriptor. - - - Executes the binding during synchronization. - The binding during synchronization. - The metadata provider. - The action context. - The notification after the cancellation of the operations. - - - Represents an attribute that invokes a custom model binder. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - A reference to an object that implements the interface. - - - Represents the default action value of the binder. - - - Initializes a new instance of the class. - - - Default implementation of the interface. This interface is the primary entry point for binding action parameters. - The associated with the . - The action descriptor. - - - Gets the associated with the . - The associated with the . - The parameter descriptor. - - - Defines a binding error. - - - Initializes a new instance of the class. - The error descriptor. - The message. - - - Gets the error message. - The error message. - - - Executes the binding method during synchronization. - The metadata provider. - The action context. - The cancellation Token value. - - - Represents parameter binding that will read from the body and invoke the formatters. - - - Initializes a new instance of the class. - The descriptor. - The formatter. - The body model validator. - - - Gets or sets an interface for the body model validator. - An interface for the body model validator. - - - Gets the error message. - The error message. - - - Asynchronously execute the binding of . - The result of the action. - The metadata provider. - The context associated with the action. - The cancellation token. - - - Gets or sets an enumerable object that represents the formatter for the parameter binding. - An enumerable object that represents the formatter for the parameter binding. - - - Asynchronously reads the content of . - The result of the action. - The request. - The type. - The formatter. - The format logger. - - - - Gets whether the will read body. - True if the will read body; otherwise, false. - - - Represents the extensions for the collection of form data. - - - Reads the collection extensions with specified type. - The read collection extensions. - The form data. - The generic type. - - - Reads the collection extensions with specified type. - The collection extensions. - The form data. - The name of the model. - The required member selector. - The formatter logger. - The generic type. - - - - - - Reads the collection extensions with specified type. - The collection extensions with specified type. - The form data. - The type of the object. - - - Reads the collection extensions with specified type and model name. - The collection extensions. - The form data. - The type of the object. - The name of the model. - The required member selector. - The formatter logger. - - - Deserialize the form data to the given type, using model binding. - best attempt to bind the object. The best attempt may be null. - collection with parsed form url data - target type to read as - null or empty to read the entire form as a single object. This is common for body data. Or the name of a model to do a partial binding against the form data. This is common for extracting individual fields. - The used to determine required members. - The to log events to. - The configuration to pick binder from. Can be null if the config was not created already. In that case a new config is created. - - - - - - - - Enumerates the behavior of the HTTP binding. - - - Never use HTTP binding. - - - The optional binding behavior - - - HTTP binding is required. - - - Provides a base class for model-binding behavior attributes. - - - Initializes a new instance of the class. - The behavior. - - - Gets or sets the behavior category. - The behavior category. - - - Gets the unique identifier for this attribute. - The id for this attribute. - - - Parameter binds to the request. - - - Initializes a new instance of the class. - The parameter descriptor. - - - Asynchronously executes parameter binding. - The binded parameter. - The metadata provider. - The action context. - The cancellation token. - - - Defines the methods that are required for a model binder. - - - Binds the model to a value by using the specified controller context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Represents a value provider for parameter binding. - - - Gets the instances used by this parameter binding. - The instances used by this parameter binding. - - - Represents the class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded. - - - Initializes a new instance of the class. - - - - Determines whether this can read objects of the specified . - true if objects of this type can be read; otherwise false. - The type of object that will be read. - - - Reads an object of the specified from the specified stream. This method is called during deserialization. - A whose result will be the object instance that has been read. - The type of object to read. - The from which to read. - The content being read. - The to log events to. - - - Specify this parameter uses a model binder. This can optionally specify the specific model binder and value providers that drive that model binder. Derived attributes may provide convenience settings for the model binder or value provider. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The type of model binder. - - - Gets or sets the type of model binder. - The type of model binder. - - - Gets the binding for a parameter. - The that contains the binding. - The parameter to bind. - - - Get the IModelBinder for this type. - a non-null model binder. - The configuration. - model type that the binder is expected to bind. - - - Gets the model binder provider. - The instance. - The configuration object. - - - Gets the value providers that will be fed to the model binder. - A collection of instances. - The configuration object. - - - Gets or sets the name to consider as the parameter name during model binding. - The parameter name to consider. - - - Gets or sets a value that specifies whether the prefix check should be suppressed. - true if the prefix check should be suppressed; otherwise, false. - - - Provides a container for model-binder configuration. - - - Gets or sets the name of the resource file (class key) that contains localized string values. - The name of the resource file (class key). - - - Gets or sets the current provider for type-conversion error message. - The current provider for type-conversion error message. - - - Gets or sets the current provider for value-required error messages. - The error message provider. - - - Provides a container for model-binder error message provider. - - - Describes a parameter that gets bound via ModelBinding. - - - Initializes a new instance of the class. - The parameter descriptor. - The model binder. - The collection of value provider factory. - - - Gets the model binder. - The model binder. - - - Asynchronously executes the parameter binding via the model binder. - The task that is signaled when the binding is complete. - The metadata provider to use for validation. - The action context for the binding. - The cancellation token assigned for this task for cancelling the binding operation. - - - Gets the collection of value provider factory. - The collection of value provider factory. - - - Provides an abstract base class for model binder providers. - - - Initializes a new instance of the class. - - - Finds a binder for the given type. - A binder, which can attempt to bind this type. Or null if the binder knows statically that it will never be able to bind the type. - A configuration object. - The type of the model to bind against. - - - Provides the context in which a model binder functions. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The binding context. - - - Gets or sets a value that indicates whether the binder should use an empty prefix. - true if the binder should use an empty prefix; otherwise, false. - - - Gets or sets the model. - The model. - - - Gets or sets the model metadata. - The model metadata. - - - Gets or sets the name of the model. - The name of the model. - - - Gets or sets the state of the model. - The state of the model. - - - Gets or sets the type of the model. - The type of the model. - - - Gets the property metadata. - The property metadata. - - - Gets or sets the validation node. - The validation node. - - - Gets or sets the value provider. - The value provider. - - - Represents an error that occurs during model binding. - - - Initializes a new instance of the class by using the specified exception. - The exception. - - - Initializes a new instance of the class by using the specified exception and error message. - The exception. - The error message - - - Initializes a new instance of the class by using the specified error message. - The error message - - - Gets or sets the error message. - The error message. - - - Gets or sets the exception object. - The exception object. - - - Represents a collection of instances. - - - Initializes a new instance of the class. - - - Adds the specified Exception object to the model-error collection. - The exception. - - - Adds the specified error message to the model-error collection. - The error message. - - - Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself. - - - Initializes a new instance of the class. - - - Gets a object that contains any errors that occurred during model binding. - The model state errors. - - - Gets a object that encapsulates the value that was being bound during model binding. - The model state value. - - - Represents the state of an attempt to bind a posted form to an action method, which includes validation information. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class by using values that are copied from the specified model-state dictionary. - The dictionary. - - - Adds the specified item to the model-state dictionary. - The object to add to the model-state dictionary. - - - Adds an element that has the specified key and value to the model-state dictionary. - The key of the element to add. - The value of the element to add. - - - Adds the specified model error to the errors collection for the model-state dictionary that is associated with the specified key. - The key. - The exception. - - - Adds the specified error message to the errors collection for the model-state dictionary that is associated with the specified key. - The key. - The error message. - - - Removes all items from the model-state dictionary. - - - Determines whether the model-state dictionary contains a specific value. - true if item is found in the model-state dictionary; otherwise, false. - The object to locate in the model-state dictionary. - - - Determines whether the model-state dictionary contains the specified key. - true if the model-state dictionary contains the specified key; otherwise, false. - The key to locate in the model-state dictionary. - - - Copies the elements of the model-state dictionary to an array, starting at a specified index. - The array. The array must have zero-based indexing. - The zero-based index in array at which copying starts. - - - Gets the number of key/value pairs in the collection. - The number of key/value pairs in the collection. - - - Returns an enumerator that can be used to iterate through the collection. - An enumerator that can be used to iterate through the collection. - - - Gets a value that indicates whether the collection is read-only. - true if the collection is read-only; otherwise, false. - - - Gets a value that indicates whether this instance of the model-state dictionary is valid. - true if this instance is valid; otherwise, false. - - - Determines whether there are any objects that are associated with or prefixed with the specified key. - true if the model-state dictionary contains a value that is associated with the specified key; otherwise, false. - The key. - - - Gets or sets the value that is associated with the specified key. - The model state item. - The key. - - - Gets a collection that contains the keys in the dictionary. - A collection that contains the keys of the model-state dictionary. - - - Copies the values from the specified object into this dictionary, overwriting existing values if keys are the same. - The dictionary. - - - Removes the first occurrence of the specified object from the model-state dictionary. - true if item was successfully removed the model-state dictionary; otherwise, false. This method also returns false if item is not found in the model-state dictionary. - The object to remove from the model-state dictionary. - - - Removes the element that has the specified key from the model-state dictionary. - true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the model-state dictionary. - The key of the element to remove. - - - Sets the value for the specified key by using the specified value provider dictionary. - The key. - The value. - - - Returns an enumerator that iterates through a collection. - An IEnumerator object that can be used to iterate through the collection. - - - Attempts to gets the value that is associated with the specified key. - true if the object contains an element that has the specified key; otherwise, false. - The key of the value to get. - The value associated with the specified key. - - - Gets a collection that contains the values in the dictionary. - A collection that contains the values of the model-state dictionary. - - - Collection of functions that can produce a parameter binding for a given parameter. - - - Initializes a new instance of the class. - - - Adds function to the end of the collection. The function added is a wrapper around funcInner that checks that parameterType matches typeMatch. - type to match against HttpParameterDescriptor.ParameterType - inner function that is invoked if type match succeeds - - - Insert a function at the specified index in the collection. /// The function added is a wrapper around funcInner that checks that parameterType matches typeMatch. - index to insert at. - type to match against HttpParameterDescriptor.ParameterType - inner function that is invoked if type match succeeds - - - Execute each binding function in order until one of them returns a non-null binding. - the first non-null binding produced for the parameter. Of null if no binding is produced. - parameter to bind. - - - Maps a browser request to an array. - The type of the array. - - - Initializes a new instance of the class. - - - Indicates whether the model is binded. - true if the specified model is binded; otherwise, false. - The action context. - The binding context. - - - Converts the collection to an array. - true in all cases. - The action context. - The binding context. - The new collection. - - - Provides a model binder for arrays. - - - Initializes a new instance of the class. - - - Returns a model binder for arrays. - A model binder object or null if the attempt to get a model binder is unsuccessful. - The configuration. - The type of model. - - - Maps a browser request to a collection. - The type of the collection. - - - Initializes a new instance of the class. - - - Binds the model by using the specified execution context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a way for derived classes to manipulate the collection before returning it from the binder. - true in all cases. - The action context. - The binding context. - The new collection. - - - Provides a model binder for a collection. - - - Initializes a new instance of the class. - - - Retrieves a model binder for a collection. - The model binder. - The configuration of the model. - The type of the model. - - - Represents a data transfer object (DTO) for a complex model. - - - Initializes a new instance of the class. - The model metadata. - The collection of property metadata. - - - Gets or sets the model metadata of the . - The model metadata of the . - - - Gets or sets the collection of property metadata of the . - The collection of property metadata of the . - - - Gets or sets the results of the . - The results of the . - - - Represents a model binder for object. - - - Initializes a new instance of the class. - - - Determines whether the specified model is binded. - true if the specified model is binded; otherwise, false. - The action context. - The binding context. - - - Represents a complex model that invokes a model binder provider. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The model binder. - The configuration. - The type of the model to retrieve. - - - Represents the result for object. - - - Initializes a new instance of the class. - The object model. - The validation node. - - - Gets or sets the model for this object. - The model for this object. - - - Gets or sets the for this object. - The for this object. - - - Represents an that delegates to one of a collection of instances. - - - Initializes a new instance of the class. - An enumeration of binders. - - - Initializes a new instance of the class. - An array of binders. - - - Indicates whether the specified model is binded. - true if the model is binded; otherwise, false. - The action context. - The binding context. - - - Represents the class for composite model binder providers. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - A collection of - - - Gets the binder for the model. - The binder for the model. - The binder configuration. - The type of the model. - - - Gets the providers for the composite model binder. - The collection of providers. - - - Maps a browser request to a dictionary data object. - The type of the key. - The type of the value. - - - Initializes a new instance of the class. - - - Converts the collection to a dictionary. - true in all cases. - The action context. - The binding context. - The new collection. - - - Provides a model binder for a dictionary. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The associated model binder. - The configuration to use. - The type of model. - - - Maps a browser request to a key/value pair data object. - The type of the key. - The type of the value. - - - Initializes a new instance of the class. - - - Binds the model by using the specified execution context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a model binder for a collection of key/value pairs. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The associated model binder. - The configuration. - The type of model. - - - Maps a browser request to a mutable data object. - - - Initializes a new instance of the class. - - - Binds the model by using the specified action context and binding context. - true if binding is successful; otherwise, false. - The action context. - The binding context. - - - Retrieves a value that indicates whether a property can be updated. - true if the property can be updated; otherwise, false. - The metadata for the property to be evaluated. - - - Creates an instance of the model. - The newly created model object. - The action context. - The binding context. - - - Creates a model instance if an instance does not yet exist in the binding context. - The action context. - The binding context. - - - Retrieves metadata for properties of the model. - The metadata for properties of the model. - The action context. - The binding context. - - - Sets the value of a specified property. - The action context. - The binding context. - The metadata for the property to set. - The validation information about the property. - The validator for the model. - - - Provides a model binder for mutable objects. - - - Initializes a new instance of the class. - - - Retrieves the model binder for the specified type. - The model binder. - The configuration. - The type of the model to retrieve. - - - Provides a simple model binder for this model binding class. - - - Initializes a new instance of the class. - The model type. - The model binder factory. - - - Initializes a new instance of the class by using the specified model type and the model binder. - The model type. - The model binder. - - - Returns a model binder by using the specified execution context and binding context. - The model binder, or null if the attempt to get a model binder is unsuccessful. - The configuration. - The model type. - - - Gets the type of the model. - The type of the model. - - - Gets or sets a value that specifies whether the prefix check should be suppressed. - true if the prefix check should be suppressed; otherwise, false. - - - Maps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter. - - - Initializes a new instance of the class. - - - Binds the model by using the specified controller context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a model binder for a model that requires type conversion. - - - Initializes a new instance of the class. - - - Retrieve a model binder for a model that requires type conversion. - The model binder, or Nothing if the type cannot be converted or there is no value to convert. - The configuration of the binder. - The type of the model. - - - Maps a browser request to a data object. This class is used when model binding does not require type conversion. - - - Initializes a new instance of the class. - - - Binds the model by using the specified execution context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a model binder for a model that does not require type conversion. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The associated model binder. - The configuration. - The type of model. - - - Represents an action result that returns response and performs content negotiation on an see with . - - - Initializes a new instance of the class. - The user-visible error message. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class. - The user-visible error message. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content negotiator to handle content negotiation. - Returns . - - - Returns . - - - Gets the formatters to use to negotiate and format the content. - Returns . - - - Gets the user-visible error message. - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that returns an empty response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Asynchronously executes the request. - The task that completes the execute operation. - The cancellation token. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Represents an action result that returns an empty HttpStatusCode.Conflict response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Executes asynchronously the operation of the conflict result. - Asynchronously executes the specified task. - The cancellation token. - - - Gets the request message which led to this result. - The HTTP request message which led to this result. - - - Represents an action result that performs route generation and content negotiation and returns a response when content negotiation succeeds. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Initializes a new instance of the class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The factory to use to generate the route URL. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Gets the content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - - - - Gets the formatters to use to negotiate and format the content. - - - Gets the request message which led to this result. - - - Gets the name of the route to use for generating the URL. - - - Gets the route data to use for generating the URL. - - - Gets the factory to use to generate the route URL. - - - Represents an action result that performs content negotiation and returns a response when it succeeds. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The content value to negotiate and format in the entity body. - The location at which the content has been created. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class with the values provided. - The location at which the content has been created. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to negotiate and format in the entity body. - The content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - The content negotiator to handle content negotiation. - - - Executes asynchronously the operation of the created negotiated content result. - Asynchronously executes a return value. - The cancellation token. - - - Gets the formatters to use to negotiate and format the content. - The formatters to use to negotiate and format the content. - - - Gets the location at which the content has been created. - The location at which the content has been created. - - - Gets the request message which led to this result. - The HTTP request message which led to this result. - - - Represents an action result that returns a response and performs content negotiation on an  based on an . - - - Initializes a new instance of the class. - The exception to include in the error. - true if the error should include exception messages; otherwise, false . - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class. - The exception to include in the error. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content negotiator to handle content negotiation. - Returns . - - - Gets the exception to include in the error. - Returns . - - - Returns . - - - Gets the formatters to use to negotiate and format the content. - Returns . - - - Gets a value indicating whether the error should include exception messages. - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that returns formatted content. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header, or to have the formatter pick a default value. - The request message which led to this result. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header, or to have the formatter pick a default value. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to format in the entity body. - - - - Gets the formatter to use to format the content. - - - Gets the value for the Content-Type header, or to have the formatter pick a default value. - - - Gets the request message which led to this result. - - - Gets the HTTP status code for the response message. - - - Represents an action result that returns an empty response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that returns a response and performs content negotiation on an based on a . - - - Initializes a new instance of the class. - The model state to include in the error. - true if the error should include exception messages; otherwise, false. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class. - The model state to include in the error. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content negotiator to handle content negotiation. - The content negotiator to handle content negotiation. - - - Creates a response message asynchronously. - A task that, when completed, contains the response message. - The token to monitor for cancellation requests. - - - Gets the formatters to use to negotiate and format the content. - The formatters to use to negotiate and format the content. - - - Gets a value indicating whether the error should include exception messages. - true if the error should include exception messages; otherwise, false. - - - Gets the model state to include in the error. - The model state to include in the error. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Represents an action result that returns an response with JSON data. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The content value to serialize in the entity body. - The serializer settings. - The content encoding. - The request message which led to this result. - - - Initializes a new instance of the class with the values provided. - The content value to serialize in the entity body. - The serializer settings. - The content encoding. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to serialize in the entity body. - The content value to serialize in the entity body. - - - Gets the content encoding. - The content encoding. - - - Creates a response message asynchronously. - A task that, when completed, contains the response message. - The token to monitor for cancellation requests. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Gets the serializer settings. - The serializer settings. - - - Represents an action result that performs content negotiation. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to negotiate and format in the entity body. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to negotiate and format in the entity body. - The content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - The content negotiator to handle content negotiation. - - - Executes asynchronously an HTTP negotiated content results. - Asynchronously executes an HTTP negotiated content results. - The cancellation token. - - - Gets the formatters to use to negotiate and format the content. - The formatters to use to negotiate and format the content. - - - Gets the request message which led to this result. - The HTTP request message which led to this result. - - - Gets the HTTP status code for the response message. - The HTTP status code for the response message. - - - Represents an action result that returns an empty response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - - Gets the request message which led to this result. - - - Represents an action result that performs content negotiation and returns an HttpStatusCode.OK response when it succeeds. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The content value to negotiate and format in the entity body. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class with the values provided. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - - - - Gets the formatters to use to negotiate and format the content. - - - Gets the request message which led to this result. - - - Represents an action result that returns an empty HttpStatusCode.OK response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Executes asynchronously. - Returns the task. - The cancellation token. - - - Gets a HTTP request message for the results. - A HTTP request message for the results. - - - Represents an action result for a <see cref="F:System.Net.HttpStatusCode.Redirect"/>. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectResult"/> class with the values provided. - The location to which to redirect. - The request message which led to this result. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectResult"/> class with the values provided. - The location to which to redirect. - The controller from which to obtain the dependencies needed for execution. - - - Returns . - - - Gets the location at which the content has been created. - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that performs route generation and returns a <see cref="F:System.Net.HttpStatusCode.Redirect"/> response. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The controller from which to obtain the dependencies needed for execution. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The factory to use to generate the route URL. - The request message which led to this result. - - - Returns . - - - Gets the request message which led to this result. - Returns . - - - Gets the name of the route to use for generating the URL. - Returns . - - - Gets the route data to use for generating the URL. - Returns . - - - Gets the factory to use to generate the route URL. - Returns . - - - Represents an action result that returns a specified response message. - - - Initializes a new instance of the class. - The response message. - - - - Gets the response message. - - - Represents an action result that returns a specified HTTP status code. - - - Initializes a new instance of the class. - The HTTP status code for the response message. - The request message which led to this result. - - - Initializes a new instance of the class. - The HTTP status code for the response message. - The controller from which to obtain the dependencies needed for execution. - - - Creates a response message asynchronously. - A task that, when completed, contains the response message. - The token to monitor for cancellation requests. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Gets the HTTP status code for the response message. - The HTTP status code for the response message. - - - Represents an action result that returns an response. - - - Initializes a new instance of the class. - The WWW-Authenticate challenges. - The request message which led to this result. - - - Initializes a new instance of the class. - The WWW-Authenticate challenges. - The controller from which to obtain the dependencies needed for execution. - - - Gets the WWW-Authenticate challenges. - Returns . - - - Returns . - - - Gets the request message which led to this result. - Returns . - - - A default implementation of . - - - - Creates instances based on the provided factories and action. The route entries provide direct routing to the provided action. - A set of route entries. - The action descriptor. - The direct route factories. - The constraint resolver. - - - Gets a set of route factories for the given action descriptor. - A set of route factories. - The action descriptor. - - - Creates instances based on the provided factories, controller and actions. The route entries provided direct routing to the provided controller and can reach the set of provided actions. - A set of route entries. - The controller descriptor. - The action descriptors. - The direct route factories. - The constraint resolver. - - - Gets route factories for the given controller descriptor. - A set of route factories. - The controller descriptor. - - - Gets direct routes for the given controller descriptor and action descriptors based on attributes. - A set of route entries. - The controller descriptor. - The action descriptors for all actions. - The constraint resolver. - - - Gets the route prefix from the provided controller. - The route prefix or null. - The controller descriptor. - - - The default implementation of . Resolves constraints by parsing a constraint key and constraint arguments, using a map to resolve the constraint type, and calling an appropriate constructor for the constraint type. - - - Initializes a new instance of the class. - - - Gets the mutable dictionary that maps constraint keys to a particular constraint type. - The mutable dictionary that maps constraint keys to a particular constraint type. - - - Resolves the inline constraint. - The the inline constraint was resolved to. - The inline constraint to resolve. - - - Represents a context that supports creating a direct route. - - - Initializes a new instance of the class. - The route prefix, if any, defined by the controller. - The action descriptors to which to create a route. - The inline constraint resolver. - A value indicating whether the route is configured at the action or controller level. - - - Gets the action descriptors to which to create a route. - The action descriptors to which to create a route. - - - Creates a route builder that can build a route matching this context. - A route builder that can build a route matching this context. - The route template. - - - Creates a route builder that can build a route matching this context. - A route builder that can build a route matching this context. - The route template. - The inline constraint resolver to use, if any; otherwise, null. - - - Gets the inline constraint resolver. - The inline constraint resolver. - - - Gets the route prefix, if any, defined by the controller. - The route prefix, if any, defined by the controller. - - - Gets a value indicating whether the route is configured at the action or controller level. - true when the route is configured at the action level; otherwise false (if the route is configured at the controller level). - - - Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route. - - - Initializes a new instance of the class by using the HTTP verbs that are allowed for the route. - The HTTP verbs that are valid for the route. - - - Gets or sets the collection of allowed HTTP verbs for the route. - A collection of allowed HTTP verbs for the route. - - - Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. - When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. - The request that is being checked to determine whether it matches the URL. - The object that is being checked to determine whether it matches the URL. - The name of the parameter that is being checked. - An object that contains the parameters for a route. - An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. - - - Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. - When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. - The request that is being checked to determine whether it matches the URL. - The object that is being checked to determine whether it matches the URL. - The name of the parameter that is being checked. - An object that contains the parameters for a route. - An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. - - - Represents a route class for self-host (i.e. hosted outside of ASP.NET). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The route template. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - The constraints for the route parameters. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - The constraints for the route parameters. - Any additional tokens for the route parameters. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - The constraints for the route parameters. - Any additional tokens for the route parameters. - The message handler that will be the recipient of the request. - - - Gets the constraints for the route parameters. - The constraints for the route parameters. - - - Gets any additional data tokens not used directly to determine whether a route matches an incoming . - Any additional data tokens not used directly to determine whether a route matches an incoming . - - - Gets the default values for route parameters if not provided by the incoming . - The default values for route parameters if not provided by the incoming . - - - Determines whether this route is a match for the incoming request by looking up the for the route. - The for a route if matches; otherwise null. - The virtual path root. - The HTTP request. - - - Attempts to generate a URI that represents the values passed in based on current values from the and new values using the specified . - A instance or null if URI cannot be generated. - The HTTP request message. - The route values. - - - Gets or sets the http route handler. - The http route handler. - - - Specifies the HTTP route key. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The HTTP request. - The constraints for the route parameters. - The name of the parameter. - The list of parameter values. - One of the enumeration values of the enumeration. - - - Gets the route template describing the URI pattern to match against. - The route template describing the URI pattern to match against. - - - Encapsulates information regarding the HTTP route. - - - Initializes a new instance of the class. - An object that defines the route. - - - Initializes a new instance of the class. - An object that defines the route. - The value. - - - Gets the object that represents the route. - the object that represents the route. - - - Gets a collection of URL parameter values and default values for the route. - An object that contains values that are parsed from the URL and from default values. - - - Removes all optional parameters that do not have a value from the route data. - - - If a route is really a union of other routes, return the set of sub routes. - Returns the set of sub routes contained within this route. - A union route data. - - - Removes all optional parameters that do not have a value from the route data. - The route data, to be mutated in-place. - - - Specifies an enumeration of route direction. - - - The UriGeneration direction. - - - The UriResolution direction. - - - Represents a route class for self-host of specified key/value pairs. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The dictionary. - - - Initializes a new instance of the class. - The key value. - - - Presents the data regarding the HTTP virtual path. - - - Initializes a new instance of the class. - The route of the virtual path. - The URL that was created from the route definition. - - - Gets or sets the route of the virtual path.. - The route of the virtual path. - - - Gets or sets the URL that was created from the route definition. - The URL that was created from the route definition. - - - Defines a builder that creates direct routes to actions (attribute routes). - - - Gets the action descriptors to which to create a route. - The action descriptors to which to create a route. - - - Creates a route entry based on the current property values. - The route entry created. - - - Gets or sets the route constraints. - The route constraints. - - - Gets or sets the route data tokens. - The route data tokens. - - - Gets or sets the route defaults. - The route defaults. - - - Gets or sets the route name, if any; otherwise null. - The route name, if any; otherwise null. - - - Gets or sets the route order. - The route order. - - - Gets or sets the route precedence. - The route precedence. - - - Gets a value indicating whether the route is configured at the action or controller level. - true when the route is configured at the action level; otherwise false (if the route is configured at the controller level). - - - Gets or sets the route template. - The route template. - - - Defines a factory that creates a route directly to a set of action descriptors (an attribute route). - - - Creates a direct route entry. - The direct route entry. - The context to use to create the route. - - - Defines a provider for routes that directly target action descriptors (attribute routes). - - - Gets the direct routes for a controller. - A set of route entries for the controller. - The controller descriptor. - The action descriptors. - The inline constraint resolver. - - - - defines the interface for a route expressing how to map an incoming to a particular controller and action. - - - Gets the constraints for the route parameters. - The constraints for the route parameters. - - - Gets any additional data tokens not used directly to determine whether a route matches an incoming . - The additional data tokens. - - - Gets the default values for route parameters if not provided by the incoming . - The default values for route parameters. - - - Determine whether this route is a match for the incoming request by looking up the <see cref="!:IRouteData" /> for the route. - The <see cref="!:RouteData" /> for a route if matches; otherwise null. - The virtual path root. - The request. - - - Gets a virtual path data based on the route and the values provided. - The virtual path data. - The request message. - The values. - - - Gets the message handler that will be the recipient of the request. - The message handler. - - - Gets the route template describing the URI pattern to match against. - The route template. - - - Represents a base class route constraint. - - - Determines whether this instance equals a specified route. - True if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Provides information about a route. - - - Gets the object that represents the route. - The object that represents the route. - - - Gets a collection of URL parameter values and default values for the route. - The values that are parsed from the URL and from default values. - - - Provides information for defining a route. - - - Gets the name of the route to generate. - - - Gets the order of the route relative to other routes. - - - Gets the route template describing the URI pattern to match against. - - - Defines the properties for HTTP route. - - - Gets the HTTP route. - The HTTP route. - - - Gets the URI that represents the virtual path of the current HTTP route. - The URI that represents the virtual path of the current HTTP route. - - - Defines an abstraction for resolving inline constraints as instances of . - - - Resolves the inline constraint. - The the inline constraint was resolved to. - The inline constraint to resolve. - - - Defines a route prefix. - - - Gets the route prefix. - The route prefix. - - - Represents a named route. - - - Initializes a new instance of the class. - The route name, if any; otherwise, null. - The route. - - - Gets the route name, if any; otherwise, null. - The route name, if any; otherwise, null. - - - Gets the route. - The route. - - - Represents an attribute route that may contain custom constraints. - - - Initializes a new instance of the class. - The route template. - - - Gets the route constraints, if any; otherwise null. - The route constraints, if any; otherwise null. - - - Creates the route entry - The created route entry. - The context. - - - Gets the route data tokens, if any; otherwise null. - The route data tokens, if any; otherwise null. - - - Gets the route defaults, if any; otherwise null. - The route defaults, if any; otherwise null. - - - Gets or sets the route name, if any; otherwise null. - The route name, if any; otherwise null. - - - Gets or sets the route order. - The route order. - - - Gets the route template. - The route template. - - - Represents a handler that specifies routing should not handle requests for a route template. When a route provides this class as a handler, requests matching against the route will be ignored. - - - Initializes a new instance of the class. - - - Represents a factory for creating URLs. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The HTTP request for this instance. - - - Creates an absolute URL using the specified path. - The generated URL. - The URL path, which may be a relative URL, a rooted URL, or a virtual path. - - - Returns a link for the specified route. - A link for the specified route. - The name of the route. - An object that contains the parameters for a route. - - - Returns a link for the specified route. - A link for the specified route. - The name of the route. - A route value. - - - Gets or sets the of the current instance. - The of the current instance. - - - Returns the route for the . - The route for the . - The name of the route. - A list of route values. - - - Returns the route for the . - The route for the . - The name of the route. - The route values. - - - Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet. - - - Initializes a new instance of the class. - - - Constrains a route parameter to represent only Boolean values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route by several child constraints. - - - Initializes a new instance of the class. - The child constraints that must match for this constraint to match. - - - Gets the child constraints that must match for this constraint to match. - The child constraints that must match for this constraint to match. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to represent only values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route of direction. - - - Constrains a route parameter to represent only decimal values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to represent only 64-bit floating-point values. - - - - - Constrains a route parameter to represent only 32-bit floating-point values. - - - - - Constrains a route parameter to represent only values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to represent only 32-bit integer values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to be a string of a given length or within a given range of lengths. - - - - Initializes a new instance of the class that constrains a route parameter to be a string of a given length. - The minimum length of the route parameter. - The maximum length of the route parameter. - - - Gets the length of the route parameter, if one is set. - - - - Gets the maximum length of the route parameter, if one is set. - - - Gets the minimum length of the route parameter, if one is set. - - - Constrains a route parameter to represent only 64-bit integer values. - - - - - Constrains a route parameter to be a string with a maximum length. - - - Initializes a new instance of the class. - The maximum length. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the maximum length of the route parameter. - The maximum length of the route parameter. - - - Constrains a route parameter to be an integer with a maximum value. - - - - - Gets the maximum value of the route parameter. - - - Constrains a route parameter to be a string with a maximum length. - - - Initializes a new instance of the class. - The minimum length. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the minimum length of the route parameter. - The minimum length of the route parameter. - - - Constrains a route parameter to be a long with a minimum value. - - - Initializes a new instance of the class. - The minimum value of the route parameter. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the minimum value of the route parameter. - The minimum value of the route parameter. - - - Constrains a route by an inner constraint that doesn't fail when an optional parameter is set to its default value. - - - Initializes a new instance of the class. - The inner constraint to match if the parameter is not an optional parameter without a value - - - Gets the inner constraint to match if the parameter is not an optional parameter without a value. - The inner constraint to match if the parameter is not an optional parameter without a value. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constraints a route parameter to be an integer within a given range of values. - - - Initializes a new instance of the class. - The minimum value. - The maximum value. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the maximum value of the route parameter. - The maximum value of the route parameter. - - - Gets the minimum value of the route parameter. - The minimum value of the route parameter. - - - Constrains a route parameter to match a regular expression. - - - Initializes a new instance of the class. - The pattern. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the regular expression pattern to match. - The regular expression pattern to match. - - - Provides a method for retrieving the innermost object of an object that might be wrapped by an <see cref="T:System.Web.Http.Services.IDecorator`1" />. - - - Gets the innermost object which does not implement <see cref="T:System.Web.Http.Services.IDecorator`1" />. - Object which needs to be unwrapped. - - - - Represents a container for service instances used by the . Note that this container only supports known types, and methods to get or set arbitrary service types will throw when called. For creation of arbitrary types, please use instead. The supported types for this container are: Passing any type which is not on this to any method on this interface will cause an to be thrown. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specified object. - The object. - - - Removes a single-instance service from the default services. - The type of the service. - - - Gets a service of the specified type. - The first instance of the service, or null if the service is not found. - The type of service. - - - Gets the list of service objects for a given service type, and validates the service type. - The list of service objects of the specified type. - The service type. - - - Gets the list of service objects for a given service type. - The list of service objects of the specified type, or an empty list if the service is not found. - The type of service. - - - Queries whether a service type is single-instance. - true if the service type has at most one instance, or false if the service type supports multiple instances. - The service type. - - - Replaces a single-instance service object. - The service type. - The service object that replaces the previous instance. - - - Removes the cached values for a single service type. - The service type. - - - Defines a decorator that exposes the inner decorated object. - This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see . - - - Gets the inner object. - - - Represents a performance tracing class to log method entry/exit and duration. - - - Initializes the class with a specified configuration. - The configuration. - - - Represents the trace writer. - - - Invokes the specified traceAction to allow setting values in a new if and only if tracing is permitted at the given category and level. - The current . It may be null but doing so will prevent subsequent trace analysis from correlating the trace to a particular request. - The logical category for the trace. Users can define their own. - The at which to write this trace. - The action to invoke if tracing is enabled. The caller is expected to fill in the fields of the given in this action. - - - Represents an extension methods for . - - - Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - The format of the message. - The message argument. - - - Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Displays an error message in the list with the specified writer, request, category and exception. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Displays an error message in the list with the specified writer, request, category, exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The exception. - The format of the message. - The argument in the message. - - - Displays an error message in the list with the specified writer, request, category, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The argument in the message. - - - Displays an error message in the class with the specified writer, request, category and exception. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The exception that appears during execution. - - - Displays an error message in the class with the specified writer, request, category and exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The exception. - The format of the message. - The message argument. - - - Displays an error message in the class with the specified writer, request, category and message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Displays the details in the . - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Displays the details in the . - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - The format of the message. - The message argument. - - - Displays the details in the . - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Indicates the trace listeners in the Listeners collection. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The trace level. - The error occurred during execution. - - - Indicates the trace listeners in the Listeners collection. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The trace level. - The error occurred during execution. - The format of the message. - The message argument. - - - Indicates the trace listeners in the Listeners collection. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The format of the message. - The message argument. - - - Traces both a begin and an end trace around a specified operation. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The name of the object performing the operation. It may be null. - The name of the operation being performed. It may be null. - The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. - An <see cref="T:System.Func`1" /> that returns the that will perform the operation. - The to invoke after successfully performing the operation, allowing the given to be filled in. It may be null. - The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. - - - Traces both a begin and an end trace around a specified operation. - The returned by the operation. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The name of the object performing the operation. It may be null. - The name of the operation being performed. It may be null. - The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. - An <see cref="T:System.Func`1" /> that returns the that will perform the operation. - The to invoke after successfully performing the operation, allowing the given to be filled in. The result of the completed task will also be passed to this action. This action may be null. - The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. - The type of result produced by the . - - - Traces both a begin and an end trace around a specified operation. - The returned by the operation. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The name of the object performing the operation. It may be null. - The name of the operation being performed. It may be null. - The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. - An <see cref="T:System.Func`1" /> that returns the that will perform the operation. - The to invoke after successfully performing the operation, allowing the given to be filled in. It may be null. - The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. - - - Indicates the warning level of execution. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Indicates the warning level of execution. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - The format of the message. - The message argument. - - - Indicates the warning level of execution. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Specifies an enumeration of tracing categories. - - - An action category. - - - The controllers category. - - - The filters category. - - - The formatting category. - - - The message handlers category. - - - The model binding category. - - - The request category. - - - The routing category. - - - Specifies the kind of tracing operation. - - - Trace marking the beginning of some operation. - - - Trace marking the end of some operation. - - - Single trace, not part of a Begin/End trace pair. - - - Specifies an enumeration of tracing level. - - - Trace level for debugging traces. - - - Trace level for error traces. - - - Trace level for fatal traces. - - - Trace level for informational traces. - - - Tracing is disabled. - - - Trace level for warning traces. - - - Represents a trace record. - - - Initializes a new instance of the class. - The message request. - The trace category. - The trace level. - - - Gets or sets the tracing category. - The tracing category. - - - Gets or sets the exception. - The exception. - - - Gets or sets the kind of trace. - The kind of trace. - - - Gets or sets the tracing level. - The tracing level. - - - Gets or sets the message. - The message. - - - Gets or sets the logical operation name being performed. - The logical operation name being performed. - - - Gets or sets the logical name of the object performing the operation. - The logical name of the object performing the operation. - - - Gets the optional user-defined properties. - The optional user-defined properties. - - - Gets the from the record. - The from the record. - - - Gets the correlation ID from the . - The correlation ID from the . - - - Gets or sets the associated with the . - The associated with the . - - - Gets the of this trace (via ). - The of this trace (via ). - - - Represents a class used to recursively validate an object. - - - Initializes a new instance of the class. - - - Determines whether instances of a particular type should be validated. - true if the type should be validated; false otherwise. - The type to validate. - - - Determines whether the is valid and adds any validation errors to the 's . - true if model is valid, false otherwise. - The model to be validated. - The to use for validation. - The used to provide model metadata. - The within which the model is being validated. - The to append to the key for any validation errors. - - - Represents an interface for the validation of the models - - - Determines whether the model is valid and adds any validation errors to the actionContext's - trueif model is valid, false otherwise. - The model to be validated. - The to use for validation. - The used to provide the model metadata. - The within which the model is being validated. - The to append to the key for any validation errors. - - - This logs formatter errors to the provided . - - - Initializes a new instance of the class. - The model state. - The prefix. - - - Logs the specified model error. - The error path. - The error message. - - - Logs the specified model error. - The error path. - The error message. - - - Provides data for the event. - - - Initializes a new instance of the class. - The action context. - The parent node. - - - Gets or sets the context for an action. - The context for an action. - - - Gets or sets the parent of this node. - The parent of this node. - - - Provides data for the event. - - - Initializes a new instance of the class. - The action context. - The parent node. - - - Gets or sets the context for an action. - The context for an action. - - - Gets or sets the parent of this node. - The parent of this node. - - - Provides a container for model validation information. - - - Initializes a new instance of the class, using the model metadata and state key. - The model metadata. - The model state key. - - - Initializes a new instance of the class, using the model metadata, the model state key, and child model-validation nodes. - The model metadata. - The model state key. - The model child nodes. - - - Gets or sets the child nodes. - The child nodes. - - - Combines the current instance with a specified instance. - The model validation node to combine with the current instance. - - - Gets or sets the model metadata. - The model metadata. - - - Gets or sets the model state key. - The model state key. - - - Gets or sets a value that indicates whether validation should be suppressed. - true if validation should be suppressed; otherwise, false. - - - Validates the model using the specified execution context. - The action context. - - - Validates the model using the specified execution context and parent node. - The action context. - The parent node. - - - Gets or sets a value that indicates whether all properties of the model should be validated. - true if all properties of the model should be validated, or false if validation should be skipped. - - - Occurs when the model has been validated. - - - Occurs when the model is being validated. - - - Represents the selection of required members by checking for any required ModelValidators associated with the member. - - - Initializes a new instance of the class. - The metadata provider. - The validator providers. - - - Indicates whether the member is required for validation. - true if the member is required for validation; otherwise, false. - The member. - - - Provides a container for a validation result. - - - Initializes a new instance of the class. - - - Gets or sets the name of the member. - The name of the member. - - - Gets or sets the validation result message. - The validation result message. - - - Provides a base class for implementing validation logic. - - - Initializes a new instance of the class. - The validator providers. - - - Returns a composite model validator for the model. - A composite model validator for the model. - An enumeration of validator providers. - - - Gets a value that indicates whether a model property is required. - true if the model property is required; otherwise, false. - - - Validates a specified object. - A list of validation results. - The metadata. - The container. - - - Gets or sets an enumeration of validator providers. - An enumeration of validator providers. - - - Provides a list of validators for a model. - - - Initializes a new instance of the class. - - - Gets a list of validators associated with this . - The list of validators. - The metadata. - The validator providers. - - - Provides an abstract class for classes that implement a validation provider. - - - Initializes a new instance of the class. - - - Gets a type descriptor for the specified type. - A type descriptor for the specified type. - The type of the validation provider. - - - Gets the validators for the model using the metadata and validator providers. - The validators for the model. - The metadata. - An enumeration of validator providers. - - - Gets the validators for the model using the metadata, the validator providers, and a list of attributes. - The validators for the model. - The metadata. - An enumeration of validator providers. - The list of attributes. - - - Represents the method that creates a instance. - - - Represents an implementation of which providers validators for attributes which derive from . It also provides a validator for types which implement . To support client side validation, you can either register adapters through the static methods on this class, or by having your validation attributes implement . The logic to support IClientValidatable is implemented in . - - - Initializes a new instance of the class. - - - Gets the validators for the model using the specified metadata, validator provider and attributes. - The validators for the model. - The metadata. - The validator providers. - The attributes. - - - Registers an adapter to provide client-side validation. - The type of the validation attribute. - The type of the adapter. - - - Registers an adapter factory for the validation provider. - The type of the attribute. - The factory that will be used to create the object for the specified attribute. - - - Registers the default adapter. - The type of the adapter. - - - Registers the default adapter factory. - The factory that will be used to create the object for the default adapter. - - - Registers the default adapter type for objects which implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . - The type of the adapter. - - - Registers the default adapter factory for objects which implement . - The factory. - - - Registers an adapter type for the given modelType, which must implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . - The model type. - The type of the adapter. - - - Registers an adapter factory for the given modelType, which must implement . - The model type. - The factory. - - - Provides a factory for validators that are based on . - - - Represents a validator provider for data member model. - - - Initializes a new instance of the class. - - - Gets the validators for the model. - The validators for the model. - The metadata. - An enumerator of validator providers. - A list of attributes. - - - An implementation of which provides validators that throw exceptions when the model is invalid. - - - Initializes a new instance of the class. - - - Gets a list of validators associated with this . - The list of validators. - The metadata. - The validator providers. - The list of attributes. - - - Represents the provider for the required member model validator. - - - Initializes a new instance of the class. - The required member selector. - - - Gets the validator for the member model. - The validator for the member model. - The metadata. - The validator providers - - - Provides a model validator. - - - Initializes a new instance of the class. - The validator providers. - The validation attribute for the model. - - - Gets or sets the validation attribute for the model validator. - The validation attribute for the model validator. - - - Gets a value that indicates whether model validation is required. - true if model validation is required; otherwise, false. - - - Validates the model and returns the validation errors if any. - A list of validation error messages for the model, or an empty list if no errors have occurred. - The model metadata. - The container for the model. - - - A to represent an error. This validator will always throw an exception regardless of the actual model value. - - - Initializes a new instance of the class. - The list of model validator providers. - The error message for the exception. - - - Validates a specified object. - A list of validation results. - The metadata. - The container. - - - Represents the for required members. - - - Initializes a new instance of the class. - The validator providers. - - - Gets or sets a value that instructs the serialization engine that the member must be presents when validating. - true if the member is required; otherwise, false. - - - Validates the object. - A list of validation results. - The metadata. - The container. - - - Provides an object adapter that can be validated. - - - Initializes a new instance of the class. - The validation provider. - - - Validates the specified object. - A list of validation results. - The metadata. - The container. - - - Represents the base class for value providers whose values come from a collection that implements the interface. - - - Retrieves the keys from the specified . - The keys from the specified . - The prefix. - - - Represents an interface that is implemented by any that supports the creation of a to access the of an incoming . - - - Defines the methods that are required for a value provider in ASP.NET MVC. - - - Determines whether the collection contains the specified prefix. - true if the collection contains the specified prefix; otherwise, false. - The prefix to search for. - - - Retrieves a value object using the specified key. - The value object for the specified key, or null if the key is not found. - The key of the value object to retrieve. - - - This attribute is used to specify a custom . - - - Initializes a new instance of the . - The type of the model binder. - - - Initializes a new instance of the . - An array of model binder types. - - - Gets the value provider factories. - A collection of value provider factories. - A configuration object. - - - Gets the types of object returned by the value provider factory. - A collection of types. - - - Represents a factory for creating value-provider objects. - - - Initializes a new instance of the class. - - - Returns a value-provider object for the specified controller context. - A value-provider object. - An object that encapsulates information about the current HTTP request. - - - Represents the result of binding a value (such as from a form post or query string) to an action-method argument property, or to the argument itself. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The raw value. - The attempted value. - The culture. - - - Gets or sets the raw value that is converted to a string for display. - The raw value that is converted to a string for display. - - - Converts the value that is encapsulated by this result to the specified type. - The converted value. - The target type. - - - Converts the value that is encapsulated by this result to the specified type by using the specified culture information. - The converted value. - The target type. - The culture to use in the conversion. - - - Gets or sets the culture. - The culture. - - - Gets or set the raw value that is supplied by the value provider. - The raw value that is supplied by the value provider. - - - Represents a value provider whose values come from a list of value providers that implements the interface. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The list of value providers. - - - Determines whether the collection contains the specified . - true if the collection contains the specified ; otherwise, false. - The prefix to search for. - - - Retrieves the keys from the specified . - The keys from the specified . - The prefix from which keys are retrieved. - - - Retrieves a value object using the specified . - The value object for the specified . - The key of the value object to retrieve. - - - Inserts an element into the collection at the specified index. - The zero-based index at which should be inserted. - The object to insert. - - - Replaces the element at the specified index. - The zero-based index of the element to replace. - The new value for the element at the specified index. - - - Represents a factory for creating a list of value-provider objects. - - - Initializes a new instance of the class. - The collection of value-provider factories. - - - Retrieves a list of value-provider objects for the specified controller context. - The list of value-provider objects for the specified controller context. - An object that encapsulates information about the current HTTP request. - - - A value provider for name/value pairs. - - - - Initializes a new instance of the class. - The name/value pairs for the provider. - The culture used for the name/value pairs. - - - Initializes a new instance of the class, using a function delegate to provide the name/value pairs. - A function delegate that returns a collection of name/value pairs. - The culture used for the name/value pairs. - - - Determines whether the collection contains the specified prefix. - true if the collection contains the specified prefix; otherwise, false. - The prefix to search for. - - - Gets the keys from a prefix. - The keys. - The prefix. - - - Retrieves a value object using the specified key. - The value object for the specified key. - The key of the value object to retrieve. - - - Represents a value provider for query strings that are contained in a object. - - - Initializes a new instance of the class. - An object that encapsulates information about the current HTTP request. - An object that contains information about the target culture. - - - Represents a class that is responsible for creating a new instance of a query-string value-provider object. - - - Initializes a new instance of the class. - - - Retrieves a value-provider object for the specified controller context. - A query-string value-provider object. - An object that encapsulates information about the current HTTP request. - - - Represents a value provider for route data that is contained in an object that implements the IDictionary(Of TKey, TValue) interface. - - - Initializes a new instance of the class. - An object that contain information about the HTTP request. - An object that contains information about the target culture. - - - Represents a factory for creating route-data value provider objects. - - - Initializes a new instance of the class. - - - Retrieves a value-provider object for the specified controller context. - A value-provider object. - An object that encapsulates information about the current HTTP request. - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ar/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ar/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 6bee65f19..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ar/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 487294183..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 5b1c64059..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index c69f0e11c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/de/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/de/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/de/System.Spatial.resources.dll deleted file mode 100644 index 7d7665ab8..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/de/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/en/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/en/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index ba052d61e..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/en/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/en/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/en/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index f8ef78b29..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/en/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 0acd5b108..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 80c4bb649..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.OData.resources.dll deleted file mode 100644 index a32224d58..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 9879eca15..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/es/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/es/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/es/System.Spatial.resources.dll deleted file mode 100644 index cb5db1ed0..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/es/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fa/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fa/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 75120aa03..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fa/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 395b4e2ff..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 0ef8722b0..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 1761e44f7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index dce2ce5c3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index bd607e61b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fr/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/fr/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/fr/System.Spatial.resources.dll deleted file mode 100644 index 42e1b2593..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/fr/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index e45d3bb47..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 94de7d3f4..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index e53636628..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/it/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/it/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/it/System.Spatial.resources.dll deleted file mode 100644 index d99da78cb..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/it/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 9edad4bc1..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 79f2b5a41..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.OData.resources.dll deleted file mode 100644 index aa3c54ea7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 53fe9a744..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index 5652f70a8..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ja/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ja/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ja/System.Spatial.resources.dll deleted file mode 100644 index e9ba3eda7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ja/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index fa1cc7957..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 4e99e1272..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 4cd20afe5..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index cfa2e3232..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ko/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ko/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ko/System.Spatial.resources.dll deleted file mode 100644 index 032cf9f7d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ko/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index c8efca68f..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 0f79405fc..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.OData.resources.dll deleted file mode 100644 index bbe4def5b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 36b8f3fb5..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ru/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/ru/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/ru/System.Spatial.resources.dll deleted file mode 100644 index fcd53845f..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/ru/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-CHS/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-CHS/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index 1a290d714..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-CHS/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 22a78cd0c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 664455009..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 9ac23c85c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/System.Spatial.resources.dll deleted file mode 100644 index f837d95b3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-Hant/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 56f7e3217..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index db204b286..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.OData.resources.dll deleted file mode 100644 index ac3d8dcb3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 02fd7cbbd..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/System.Spatial.resources.dll deleted file mode 100644 index 8a42336fb..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/bin/zh-hans/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/default.htm b/samples/js-bot-framework/bot/AskSPRider/default.htm deleted file mode 100644 index 2609e3052..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/default.htm +++ /dev/null @@ -1,12 +0,0 @@ - - - - Ask SP Rider Bot - - - -

Ask SP Rider Bot

-

The Ask SP Rider bot was created to improve the productivity of any developer, admin, or team working with SharePoint Online. You can interact with resources in your tenant via natural language on the Skype messaging channel.

- - - diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/AskSPRider.csproj.FileListAbsolute.txt b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/AskSPRider.csproj.FileListAbsolute.txt deleted file mode 100644 index 59877b656..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/AskSPRider.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,223 +0,0 @@ -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Bot Application1.dll.config -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Bot Application1.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Bot Application1.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Autofac.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Chronic.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Builder.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Connector.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Rest.ClientRuntime.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Configuration.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Newtonsoft.Json.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Net.Http.Formatting.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.WebHost.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Autofac.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Builder.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Connector.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Rest.ClientRuntime.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Configuration.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Newtonsoft.Json.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Net.Http.Formatting.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.WebHost.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ar\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\en\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fa\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-hans\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\obj\Debug\Bot Application1.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\obj\Debug\Bot Application1.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Runtime.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Azure.ActiveDirectory.GraphClient.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Azure.KeyVault.Core.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Edm.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.OData.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Services.Client.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Extensions.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Office.Client.Policy.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Office.Client.TranslationServices.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Office.SharePoint.Tools.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Online.SharePoint.Client.Tenant.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.ProjectServer.Client.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.DocumentManagement.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Publishing.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Runtime.Windows.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Search.Applications.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Search.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Taxonomy.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.UserProfiles.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.WorkflowServices.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Storage.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\OfficeDevPnP.Core.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Spatial.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Azure.KeyVault.Core.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Edm.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.OData.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Services.Client.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Storage.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Storage.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Spatial.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\en\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-CHS\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Bot Application1.dll.config -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Bot Application1.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Bot Application1.pdb -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Autofac.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Chronic.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Azure.ActiveDirectory.GraphClient.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Azure.KeyVault.Core.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Bot.Builder.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Bot.Connector.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Data.Edm.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Data.OData.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Data.Services.Client.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.IdentityModel.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.IdentityModel.Extensions.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Office.Client.Policy.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Office.Client.TranslationServices.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Office.SharePoint.Tools.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Online.SharePoint.Client.Tenant.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.ProjectServer.Client.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Rest.ClientRuntime.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.DocumentManagement.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.Publishing.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.Runtime.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.Runtime.Windows.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.Search.Applications.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.Search.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.Taxonomy.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.UserProfiles.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.SharePoint.Client.WorkflowServices.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.WindowsAzure.Configuration.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.WindowsAzure.Storage.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Newtonsoft.Json.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\OfficeDevPnP.Core.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Net.Http.Formatting.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Spatial.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Web.Http.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Web.Http.WebHost.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Autofac.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Azure.KeyVault.Core.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Bot.Builder.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Bot.Connector.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Data.Edm.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Data.OData.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Data.Services.Client.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.pdb -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.Rest.ClientRuntime.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.WindowsAzure.Configuration.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.WindowsAzure.Storage.pdb -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Microsoft.WindowsAzure.Storage.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\Newtonsoft.Json.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.pdb -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Net.Http.Formatting.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Spatial.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Web.Http.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\System.Web.Http.WebHost.xml -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ar\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\en\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\es\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fa\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fr\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ja\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ru\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-hans\Microsoft.Bot.Builder.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\de\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\es\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fr\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\it\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ja\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ko\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ru\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hans\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hant\Microsoft.Data.Edm.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\de\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\es\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fr\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\it\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ja\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ko\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ru\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hans\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hant\Microsoft.Data.OData.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\de\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\es\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fr\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\it\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ja\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ko\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ru\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hans\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hant\Microsoft.Data.Services.Client.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\en\Microsoft.IdentityModel.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fr\Microsoft.IdentityModel.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ja\Microsoft.IdentityModel.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ko\Microsoft.IdentityModel.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-CHS\Microsoft.IdentityModel.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\de\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\es\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\fr\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\it\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ja\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ko\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\ru\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hans\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\bin\zh-Hant\System.Spatial.resources.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\obj\Debug\AskSPRider.csprojResolveAssemblyReference.cache -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\obj\Debug\Bot Application1.dll -C:\Users\veljo05\Desktop\Bot\bot\AskSPRider\obj\Debug\Bot Application1.pdb diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/AskSPRider.csprojResolveAssemblyReference.cache b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/AskSPRider.csprojResolveAssemblyReference.cache deleted file mode 100644 index 8800fad39..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/AskSPRider.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/Bot Application1.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/Bot Application1.dll deleted file mode 100644 index 822e9a3e4..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/Bot Application1.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/Bot Application1.pdb b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/Bot Application1.pdb deleted file mode 100644 index a6d2ea8a2..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/Bot Application1.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 9ae3b1ed9..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/samples/js-bot-framework/bot/AskSPRider/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/AskSPRider.csproj.FileListAbsolute.txt b/samples/js-bot-framework/bot/AskSPRider/obj/Release/AskSPRider.csproj.FileListAbsolute.txt deleted file mode 100644 index 00f635879..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/AskSPRider.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,112 +0,0 @@ -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Bot Application1.dll.config -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Bot Application1.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Bot Application1.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Autofac.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Chronic.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Azure.ActiveDirectory.GraphClient.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Azure.KeyVault.Core.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Builder.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Connector.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Edm.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.OData.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Services.Client.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Extensions.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Office.Client.Policy.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Office.Client.TranslationServices.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Office.SharePoint.Tools.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Online.SharePoint.Client.Tenant.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.ProjectServer.Client.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Rest.ClientRuntime.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.DocumentManagement.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Publishing.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Runtime.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Runtime.Windows.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Search.Applications.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Search.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.Taxonomy.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.UserProfiles.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.SharePoint.Client.WorkflowServices.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Configuration.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Storage.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Newtonsoft.Json.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\OfficeDevPnP.Core.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Net.Http.Formatting.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Spatial.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.WebHost.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Autofac.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Azure.KeyVault.Core.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Builder.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Bot.Connector.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Edm.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.OData.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Data.Services.Client.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.IdentityModel.Protocol.Extensions.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.Rest.ClientRuntime.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Configuration.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Storage.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Microsoft.WindowsAzure.Storage.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\Newtonsoft.Json.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.pdb -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.IdentityModel.Tokens.Jwt.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Net.Http.Formatting.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Spatial.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\System.Web.Http.WebHost.xml -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ar\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\en\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fa\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-hans\Microsoft.Bot.Builder.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\Microsoft.Data.Edm.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\Microsoft.Data.OData.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\Microsoft.Data.Services.Client.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\en\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-CHS\Microsoft.IdentityModel.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\de\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\es\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\fr\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\it\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ja\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ko\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\ru\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hans\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\bin\zh-Hant\System.Spatial.resources.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\obj\Release\AskSPRider.csprojResolveAssemblyReference.cache -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\obj\Release\Bot Application1.dll -C:\Source\Workspaces\vsojv\CA\Bot\AskSPRider\AskSPRider\obj\Release\Bot Application1.pdb diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/AskSPRider.csprojResolveAssemblyReference.cache b/samples/js-bot-framework/bot/AskSPRider/obj/Release/AskSPRider.csprojResolveAssemblyReference.cache deleted file mode 100644 index 2e216e81c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/AskSPRider.csprojResolveAssemblyReference.cache and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Bot Application1.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Bot Application1.dll deleted file mode 100644 index c8febf4d7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Bot Application1.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Bot Application1.pdb b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Bot Application1.pdb deleted file mode 100644 index 2983d1cbc..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Bot Application1.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize.parameters.xml b/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize.parameters.xml deleted file mode 100644 index 560a5406e..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize.parameters.xml +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize/original/Web.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize/original/Web.config deleted file mode 100644 index 59f9631cb..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize/original/Web.config +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize/transformed/Web.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize/transformed/Web.config deleted file mode 100644 index 59f9631cb..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/CSAutoParameterize/transformed/Web.config +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/samples/js-bot-framework/bot/AskSPRider/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache deleted file mode 100644 index 0c668dddd..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/AskSPRider.SourceManifest.xml b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/AskSPRider.SourceManifest.xml deleted file mode 100644 index 99febbd39..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/AskSPRider.SourceManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/Global.asax b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/Global.asax deleted file mode 100644 index 2435b5189..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/Global.asax +++ /dev/null @@ -1 +0,0 @@ -<%@ Application Codebehind="Global.asax.cs" Inherits="AskSPRider.WebApiApplication" Language="C#" %> diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/Web.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/Web.config deleted file mode 100644 index 59f9631cb..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/Web.config +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Autofac.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Autofac.dll deleted file mode 100644 index e4a596a97..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Autofac.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Bot Application1.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Bot Application1.dll deleted file mode 100644 index c8febf4d7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Bot Application1.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Chronic.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Chronic.dll deleted file mode 100644 index 4a3b8358a..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Chronic.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Azure.ActiveDirectory.GraphClient.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Azure.ActiveDirectory.GraphClient.dll deleted file mode 100644 index aa9a29f5d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Azure.ActiveDirectory.GraphClient.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Azure.KeyVault.Core.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Azure.KeyVault.Core.dll deleted file mode 100644 index 58d96294d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Azure.KeyVault.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Bot.Builder.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Bot.Builder.dll deleted file mode 100644 index eaa537a4d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Bot.Builder.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Bot.Connector.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Bot.Connector.dll deleted file mode 100644 index e215e323b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Bot.Connector.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.Edm.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.Edm.dll deleted file mode 100644 index 7b4d64537..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.Edm.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.OData.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.OData.dll deleted file mode 100644 index 4b5667446..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.OData.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.Services.Client.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.Services.Client.dll deleted file mode 100644 index 28679b958..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Data.Services.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.Extensions.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.Extensions.dll deleted file mode 100644 index 0f9a5c957..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.Extensions.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.Protocol.Extensions.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.Protocol.Extensions.dll deleted file mode 100644 index 2e2a315de..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.Protocol.Extensions.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.dll deleted file mode 100644 index 5c1c2056d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.IdentityModel.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.Client.Policy.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.Client.Policy.dll deleted file mode 100644 index dada07e74..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.Client.Policy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.Client.TranslationServices.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.Client.TranslationServices.dll deleted file mode 100644 index 749ac5ecb..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.Client.TranslationServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.SharePoint.Tools.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.SharePoint.Tools.dll deleted file mode 100644 index 9415da09b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Office.SharePoint.Tools.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Online.SharePoint.Client.Tenant.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Online.SharePoint.Client.Tenant.dll deleted file mode 100644 index 45eca9c20..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Online.SharePoint.Client.Tenant.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.ProjectServer.Client.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.ProjectServer.Client.dll deleted file mode 100644 index a67f54961..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.ProjectServer.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Rest.ClientRuntime.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Rest.ClientRuntime.dll deleted file mode 100644 index 2c52c0212..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.Rest.ClientRuntime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.DocumentManagement.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.DocumentManagement.dll deleted file mode 100644 index 57e5ebd81..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.DocumentManagement.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Publishing.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Publishing.dll deleted file mode 100644 index 3fef05124..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Publishing.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Runtime.Windows.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Runtime.Windows.dll deleted file mode 100644 index a240094dd..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Runtime.Windows.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Runtime.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Runtime.dll deleted file mode 100644 index 3734a07c8..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Runtime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Search.Applications.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Search.Applications.dll deleted file mode 100644 index 46a8ae108..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Search.Applications.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Search.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Search.dll deleted file mode 100644 index 4cae0594b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Search.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Taxonomy.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Taxonomy.dll deleted file mode 100644 index dac8abf0b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.Taxonomy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.UserProfiles.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.UserProfiles.dll deleted file mode 100644 index 8ac3b33f1..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.UserProfiles.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.WorkflowServices.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.WorkflowServices.dll deleted file mode 100644 index c7ec4d608..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.WorkflowServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.dll deleted file mode 100644 index 2d9544c10..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.SharePoint.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.WindowsAzure.Configuration.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.WindowsAzure.Configuration.dll deleted file mode 100644 index 66f467058..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.WindowsAzure.Configuration.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.WindowsAzure.Storage.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.WindowsAzure.Storage.dll deleted file mode 100644 index 716b68813..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Microsoft.WindowsAzure.Storage.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Newtonsoft.Json.dll deleted file mode 100644 index b7ef414f3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/OfficeDevPnP.Core.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/OfficeDevPnP.Core.dll deleted file mode 100644 index 4f4219dd2..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/OfficeDevPnP.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.IdentityModel.Tokens.Jwt.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.IdentityModel.Tokens.Jwt.dll deleted file mode 100644 index 384dfaf1b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.IdentityModel.Tokens.Jwt.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Net.Http.Formatting.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Net.Http.Formatting.dll deleted file mode 100644 index 3b76acd6b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Net.Http.Formatting.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Spatial.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Spatial.dll deleted file mode 100644 index 76722a0ad..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Spatial.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Web.Http.WebHost.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Web.Http.WebHost.dll deleted file mode 100644 index 4f2b581e4..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Web.Http.WebHost.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Web.Http.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Web.Http.dll deleted file mode 100644 index e1dbdd182..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/System.Web.Http.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ar/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ar/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 6bee65f19..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ar/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 487294183..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 5b1c64059..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index c69f0e11c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/System.Spatial.resources.dll deleted file mode 100644 index 7d7665ab8..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/de/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/en/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/en/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index ba052d61e..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/en/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/en/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/en/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index f8ef78b29..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/en/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 0acd5b108..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 80c4bb649..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.OData.resources.dll deleted file mode 100644 index a32224d58..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 9879eca15..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/System.Spatial.resources.dll deleted file mode 100644 index cb5db1ed0..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/es/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fa/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fa/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 75120aa03..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fa/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 395b4e2ff..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 0ef8722b0..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 1761e44f7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index dce2ce5c3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index bd607e61b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/System.Spatial.resources.dll deleted file mode 100644 index 42e1b2593..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/fr/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index e45d3bb47..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 94de7d3f4..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index e53636628..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/System.Spatial.resources.dll deleted file mode 100644 index d99da78cb..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/it/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 9edad4bc1..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 79f2b5a41..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.OData.resources.dll deleted file mode 100644 index aa3c54ea7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 53fe9a744..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index 5652f70a8..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/System.Spatial.resources.dll deleted file mode 100644 index e9ba3eda7..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ja/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index fa1cc7957..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 4e99e1272..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 4cd20afe5..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index cfa2e3232..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/System.Spatial.resources.dll deleted file mode 100644 index 032cf9f7d..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ko/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index c8efca68f..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 0f79405fc..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.OData.resources.dll deleted file mode 100644 index bbe4def5b..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 36b8f3fb5..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/System.Spatial.resources.dll deleted file mode 100644 index fcd53845f..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/ru/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-CHS/Microsoft.IdentityModel.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-CHS/Microsoft.IdentityModel.resources.dll deleted file mode 100644 index 1a290d714..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-CHS/Microsoft.IdentityModel.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 22a78cd0c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 664455009..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 9ac23c85c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/System.Spatial.resources.dll deleted file mode 100644 index f837d95b3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-Hant/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 56f7e3217..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index db204b286..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.OData.resources.dll deleted file mode 100644 index ac3d8dcb3..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 02fd7cbbd..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/System.Spatial.resources.dll b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/System.Spatial.resources.dll deleted file mode 100644 index 8a42336fb..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/bin/zh-hans/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/default.htm b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/default.htm deleted file mode 100644 index 2609e3052..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/default.htm +++ /dev/null @@ -1,12 +0,0 @@ - - - - Ask SP Rider Bot - - - -

Ask SP Rider Bot

-

The Ask SP Rider bot was created to improve the productivity of any developer, admin, or team working with SharePoint Online. You can interact with resources in your tenant via natural language on the Skype messaging channel.

- - - diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/packages.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/packages.config deleted file mode 100644 index dd5d02422..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/Package/PackageTmp/packages.config +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/samples/js-bot-framework/bot/AskSPRider/obj/Release/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/samples/js-bot-framework/bot/AskSPRider/obj/Release/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/samples/js-bot-framework/bot/AskSPRider/obj/Release/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/assist/Web.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/assist/Web.config deleted file mode 100644 index c35844462..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/assist/Web.config +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/original/Web.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/original/Web.config deleted file mode 100644 index d41478957..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/original/Web.config +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/transformed/Web.config b/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/transformed/Web.config deleted file mode 100644 index 59f9631cb..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/obj/Release/TransformWebConfig/transformed/Web.config +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/AskSPRider/obj/Release/_WPPLastBuildInfo.txt b/samples/js-bot-framework/bot/AskSPRider/obj/Release/_WPPLastBuildInfo.txt deleted file mode 100644 index af8f28e3c..000000000 Binary files a/samples/js-bot-framework/bot/AskSPRider/obj/Release/_WPPLastBuildInfo.txt and /dev/null differ diff --git a/samples/js-bot-framework/bot/AskSPRider/packages.config b/samples/js-bot-framework/bot/AskSPRider/packages.config deleted file mode 100644 index dd5d02422..000000000 --- a/samples/js-bot-framework/bot/AskSPRider/packages.config +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/AppForSharePointOnlineWebToolkit.3.1.2.nupkg b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/AppForSharePointOnlineWebToolkit.3.1.2.nupkg deleted file mode 100644 index c5f1e1778..000000000 Binary files a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/AppForSharePointOnlineWebToolkit.3.1.2.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/Filters/SharePointContextFilterAttribute.cs.pp b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/Filters/SharePointContextFilterAttribute.cs.pp deleted file mode 100644 index 72d71f913..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/Filters/SharePointContextFilterAttribute.cs.pp +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Web.Mvc; - -namespace $rootnamespace$ -{ - /// - /// SharePoint action filter attribute. - /// - public class SharePointContextFilterAttribute : ActionFilterAttribute - { - public override void OnActionExecuting(ActionExecutingContext filterContext) - { - if (filterContext == null) - { - throw new ArgumentNullException("filterContext"); - } - - Uri redirectUrl; - switch (SharePointContextProvider.CheckRedirectionStatus(filterContext.HttpContext, out redirectUrl)) - { - case RedirectionStatus.Ok: - return; - case RedirectionStatus.ShouldRedirect: - filterContext.Result = new RedirectResult(redirectUrl.AbsoluteUri); - break; - case RedirectionStatus.CanNotRedirect: - filterContext.Result = new ViewResult { ViewName = "Error" }; - break; - } - } - } -} diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/Filters/SharePointContextFilterAttribute.vb.pp b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/Filters/SharePointContextFilterAttribute.vb.pp deleted file mode 100644 index 538730b53..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/Filters/SharePointContextFilterAttribute.vb.pp +++ /dev/null @@ -1,27 +0,0 @@ -Imports System -Imports System.Web.Mvc - -''' -''' SharePoint action filter attribute. -''' -Public Class SharePointContextFilterAttribute - Inherits ActionFilterAttribute - - Public Overrides Sub OnActionExecuting(filterContext As ActionExecutingContext) - If filterContext Is Nothing Then - Throw New ArgumentNullException("filterContext") - End If - - Dim redirectUrl As Uri = Nothing - Select Case SharePointContextProvider.CheckRedirectionStatus(filterContext.HttpContext, redirectUrl) - Case RedirectionStatus.Ok - Return - Case RedirectionStatus.ShouldRedirect - filterContext.Result = New RedirectResult(redirectUrl.AbsoluteUri) - Exit Select - Case RedirectionStatus.CanNotRedirect - filterContext.Result = New ViewResult() With {.ViewName = "Error"} - Exit Select - End Select - End Sub -End Class diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/SharePointContext.cs.pp b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/SharePointContext.cs.pp deleted file mode 100644 index f568dcad4..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/SharePointContext.cs.pp +++ /dev/null @@ -1,924 +0,0 @@ -using Microsoft.IdentityModel.S2S.Protocols.OAuth2; -using Microsoft.IdentityModel.Tokens; -using Microsoft.SharePoint.Client; -using System; -using System.Net; -using System.Security.Principal; -using System.Web; -using System.Web.Configuration; - -namespace $rootnamespace$ -{ - /// - /// Encapsulates all the information from SharePoint. - /// - public abstract class SharePointContext - { - public const string SPHostUrlKey = "SPHostUrl"; - public const string SPAppWebUrlKey = "SPAppWebUrl"; - public const string SPLanguageKey = "SPLanguage"; - public const string SPClientTagKey = "SPClientTag"; - public const string SPProductNumberKey = "SPProductNumber"; - - protected static readonly TimeSpan AccessTokenLifetimeTolerance = TimeSpan.FromMinutes(5.0); - - private readonly Uri spHostUrl; - private readonly Uri spAppWebUrl; - private readonly string spLanguage; - private readonly string spClientTag; - private readonly string spProductNumber; - - // - protected Tuple userAccessTokenForSPHost; - protected Tuple userAccessTokenForSPAppWeb; - protected Tuple appOnlyAccessTokenForSPHost; - protected Tuple appOnlyAccessTokenForSPAppWeb; - - /// - /// Gets the SharePoint host url from QueryString of the specified HTTP request. - /// - /// The specified HTTP request. - /// The SharePoint host url. Returns null if the HTTP request doesn't contain the SharePoint host url. - public static Uri GetSPHostUrl(HttpRequestBase httpRequest) - { - if (httpRequest == null) - { - throw new ArgumentNullException("httpRequest"); - } - - string spHostUrlString = TokenHelper.EnsureTrailingSlash(httpRequest.QueryString[SPHostUrlKey]); - Uri spHostUrl; - if (Uri.TryCreate(spHostUrlString, UriKind.Absolute, out spHostUrl) && - (spHostUrl.Scheme == Uri.UriSchemeHttp || spHostUrl.Scheme == Uri.UriSchemeHttps)) - { - return spHostUrl; - } - - return null; - } - - /// - /// Gets the SharePoint host url from QueryString of the specified HTTP request. - /// - /// The specified HTTP request. - /// The SharePoint host url. Returns null if the HTTP request doesn't contain the SharePoint host url. - public static Uri GetSPHostUrl(HttpRequest httpRequest) - { - return GetSPHostUrl(new HttpRequestWrapper(httpRequest)); - } - - /// - /// The SharePoint host url. - /// - public Uri SPHostUrl - { - get { return this.spHostUrl; } - } - - /// - /// The SharePoint app web url. - /// - public Uri SPAppWebUrl - { - get { return this.spAppWebUrl; } - } - - /// - /// The SharePoint language. - /// - public string SPLanguage - { - get { return this.spLanguage; } - } - - /// - /// The SharePoint client tag. - /// - public string SPClientTag - { - get { return this.spClientTag; } - } - - /// - /// The SharePoint product number. - /// - public string SPProductNumber - { - get { return this.spProductNumber; } - } - - /// - /// The user access token for the SharePoint host. - /// - public abstract string UserAccessTokenForSPHost - { - get; - } - - /// - /// The user access token for the SharePoint app web. - /// - public abstract string UserAccessTokenForSPAppWeb - { - get; - } - - /// - /// The app only access token for the SharePoint host. - /// - public abstract string AppOnlyAccessTokenForSPHost - { - get; - } - - /// - /// The app only access token for the SharePoint app web. - /// - public abstract string AppOnlyAccessTokenForSPAppWeb - { - get; - } - - /// - /// Constructor. - /// - /// The SharePoint host url. - /// The SharePoint app web url. - /// The SharePoint language. - /// The SharePoint client tag. - /// The SharePoint product number. - protected SharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber) - { - if (spHostUrl == null) - { - throw new ArgumentNullException("spHostUrl"); - } - - if (string.IsNullOrEmpty(spLanguage)) - { - throw new ArgumentNullException("spLanguage"); - } - - if (string.IsNullOrEmpty(spClientTag)) - { - throw new ArgumentNullException("spClientTag"); - } - - if (string.IsNullOrEmpty(spProductNumber)) - { - throw new ArgumentNullException("spProductNumber"); - } - - this.spHostUrl = spHostUrl; - this.spAppWebUrl = spAppWebUrl; - this.spLanguage = spLanguage; - this.spClientTag = spClientTag; - this.spProductNumber = spProductNumber; - } - - /// - /// Creates a user ClientContext for the SharePoint host. - /// - /// A ClientContext instance. - public ClientContext CreateUserClientContextForSPHost() - { - return CreateClientContext(this.SPHostUrl, this.UserAccessTokenForSPHost); - } - - /// - /// Creates a user ClientContext for the SharePoint app web. - /// - /// A ClientContext instance. - public ClientContext CreateUserClientContextForSPAppWeb() - { - return CreateClientContext(this.SPAppWebUrl, this.UserAccessTokenForSPAppWeb); - } - - /// - /// Creates app only ClientContext for the SharePoint host. - /// - /// A ClientContext instance. - public ClientContext CreateAppOnlyClientContextForSPHost() - { - return CreateClientContext(this.SPHostUrl, this.AppOnlyAccessTokenForSPHost); - } - - /// - /// Creates an app only ClientContext for the SharePoint app web. - /// - /// A ClientContext instance. - public ClientContext CreateAppOnlyClientContextForSPAppWeb() - { - return CreateClientContext(this.SPAppWebUrl, this.AppOnlyAccessTokenForSPAppWeb); - } - - /// - /// Gets the database connection string from SharePoint for autohosted app. - /// This method is deprecated because the autohosted option is no longer available. - /// - [ObsoleteAttribute("This method is deprecated because the autohosted option is no longer available.", true)] - public string GetDatabaseConnectionString() - { - throw new NotSupportedException("This method is deprecated because the autohosted option is no longer available."); - } - - /// - /// Determines if the specified access token is valid. - /// It considers an access token as not valid if it is null, or it has expired. - /// - /// The access token to verify. - /// True if the access token is valid. - protected static bool IsAccessTokenValid(Tuple accessToken) - { - return accessToken != null && - !string.IsNullOrEmpty(accessToken.Item1) && - accessToken.Item2 > DateTime.UtcNow; - } - - /// - /// Creates a ClientContext with the specified SharePoint site url and the access token. - /// - /// The site url. - /// The access token. - /// A ClientContext instance. - private static ClientContext CreateClientContext(Uri spSiteUrl, string accessToken) - { - if (spSiteUrl != null && !string.IsNullOrEmpty(accessToken)) - { - return TokenHelper.GetClientContextWithAccessToken(spSiteUrl.AbsoluteUri, accessToken); - } - - return null; - } - } - - /// - /// Redirection status. - /// - public enum RedirectionStatus - { - Ok, - ShouldRedirect, - CanNotRedirect - } - - /// - /// Provides SharePointContext instances. - /// - public abstract class SharePointContextProvider - { - private static SharePointContextProvider current; - - /// - /// The current SharePointContextProvider instance. - /// - public static SharePointContextProvider Current - { - get { return SharePointContextProvider.current; } - } - - /// - /// Initializes the default SharePointContextProvider instance. - /// - static SharePointContextProvider() - { - if (!TokenHelper.IsHighTrustApp()) - { - SharePointContextProvider.current = new SharePointAcsContextProvider(); - } - else - { - SharePointContextProvider.current = new SharePointHighTrustContextProvider(); - } - } - - /// - /// Registers the specified SharePointContextProvider instance as current. - /// It should be called by Application_Start() in Global.asax. - /// - /// The SharePointContextProvider to be set as current. - public static void Register(SharePointContextProvider provider) - { - if (provider == null) - { - throw new ArgumentNullException("provider"); - } - - SharePointContextProvider.current = provider; - } - - /// - /// Checks if it is necessary to redirect to SharePoint for user to authenticate. - /// - /// The HTTP context. - /// The redirect url to SharePoint if the status is ShouldRedirect. Null if the status is Ok or CanNotRedirect. - /// Redirection status. - public static RedirectionStatus CheckRedirectionStatus(HttpContextBase httpContext, out Uri redirectUrl) - { - if (httpContext == null) - { - throw new ArgumentNullException("httpContext"); - } - - redirectUrl = null; - bool contextTokenExpired = false; - - try - { - if (SharePointContextProvider.Current.GetSharePointContext(httpContext) != null) - { - return RedirectionStatus.Ok; - } - } - catch (SecurityTokenExpiredException) - { - contextTokenExpired = true; - } - - const string SPHasRedirectedToSharePointKey = "SPHasRedirectedToSharePoint"; - - if (!string.IsNullOrEmpty(httpContext.Request.QueryString[SPHasRedirectedToSharePointKey]) && !contextTokenExpired) - { - return RedirectionStatus.CanNotRedirect; - } - - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - - if (spHostUrl == null) - { - return RedirectionStatus.CanNotRedirect; - } - - if (StringComparer.OrdinalIgnoreCase.Equals(httpContext.Request.HttpMethod, "POST")) - { - return RedirectionStatus.CanNotRedirect; - } - - Uri requestUrl = httpContext.Request.Url; - - var queryNameValueCollection = HttpUtility.ParseQueryString(requestUrl.Query); - - // Removes the values that are included in {StandardTokens}, as {StandardTokens} will be inserted at the beginning of the query string. - queryNameValueCollection.Remove(SharePointContext.SPHostUrlKey); - queryNameValueCollection.Remove(SharePointContext.SPAppWebUrlKey); - queryNameValueCollection.Remove(SharePointContext.SPLanguageKey); - queryNameValueCollection.Remove(SharePointContext.SPClientTagKey); - queryNameValueCollection.Remove(SharePointContext.SPProductNumberKey); - - // Adds SPHasRedirectedToSharePoint=1. - queryNameValueCollection.Add(SPHasRedirectedToSharePointKey, "1"); - - UriBuilder returnUrlBuilder = new UriBuilder(requestUrl); - returnUrlBuilder.Query = queryNameValueCollection.ToString(); - - // Inserts StandardTokens. - const string StandardTokens = "{StandardTokens}"; - string returnUrlString = returnUrlBuilder.Uri.AbsoluteUri; - returnUrlString = returnUrlString.Insert(returnUrlString.IndexOf("?") + 1, StandardTokens + "&"); - - // Constructs redirect url. - string redirectUrlString = TokenHelper.GetAppContextTokenRequestUrl(spHostUrl.AbsoluteUri, Uri.EscapeDataString(returnUrlString)); - - redirectUrl = new Uri(redirectUrlString, UriKind.Absolute); - - return RedirectionStatus.ShouldRedirect; - } - - /// - /// Checks if it is necessary to redirect to SharePoint for user to authenticate. - /// - /// The HTTP context. - /// The redirect url to SharePoint if the status is ShouldRedirect. Null if the status is Ok or CanNotRedirect. - /// Redirection status. - public static RedirectionStatus CheckRedirectionStatus(HttpContext httpContext, out Uri redirectUrl) - { - return CheckRedirectionStatus(new HttpContextWrapper(httpContext), out redirectUrl); - } - - /// - /// Creates a SharePointContext instance with the specified HTTP request. - /// - /// The HTTP request. - /// The SharePointContext instance. Returns null if errors occur. - public SharePointContext CreateSharePointContext(HttpRequestBase httpRequest) - { - if (httpRequest == null) - { - throw new ArgumentNullException("httpRequest"); - } - - // SPHostUrl - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpRequest); - if (spHostUrl == null) - { - return null; - } - - // SPAppWebUrl - string spAppWebUrlString = TokenHelper.EnsureTrailingSlash(httpRequest.QueryString[SharePointContext.SPAppWebUrlKey]); - Uri spAppWebUrl; - if (!Uri.TryCreate(spAppWebUrlString, UriKind.Absolute, out spAppWebUrl) || - !(spAppWebUrl.Scheme == Uri.UriSchemeHttp || spAppWebUrl.Scheme == Uri.UriSchemeHttps)) - { - spAppWebUrl = null; - } - - // SPLanguage - string spLanguage = httpRequest.QueryString[SharePointContext.SPLanguageKey]; - if (string.IsNullOrEmpty(spLanguage)) - { - return null; - } - - // SPClientTag - string spClientTag = httpRequest.QueryString[SharePointContext.SPClientTagKey]; - if (string.IsNullOrEmpty(spClientTag)) - { - return null; - } - - // SPProductNumber - string spProductNumber = httpRequest.QueryString[SharePointContext.SPProductNumberKey]; - if (string.IsNullOrEmpty(spProductNumber)) - { - return null; - } - - return CreateSharePointContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, httpRequest); - } - - /// - /// Creates a SharePointContext instance with the specified HTTP request. - /// - /// The HTTP request. - /// The SharePointContext instance. Returns null if errors occur. - public SharePointContext CreateSharePointContext(HttpRequest httpRequest) - { - return CreateSharePointContext(new HttpRequestWrapper(httpRequest)); - } - - /// - /// Gets a SharePointContext instance associated with the specified HTTP context. - /// - /// The HTTP context. - /// The SharePointContext instance. Returns null if not found and a new instance can't be created. - public SharePointContext GetSharePointContext(HttpContextBase httpContext) - { - if (httpContext == null) - { - throw new ArgumentNullException("httpContext"); - } - - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - if (spHostUrl == null) - { - return null; - } - - SharePointContext spContext = LoadSharePointContext(httpContext); - - if (spContext == null || !ValidateSharePointContext(spContext, httpContext)) - { - spContext = CreateSharePointContext(httpContext.Request); - - if (spContext != null) - { - SaveSharePointContext(spContext, httpContext); - } - } - - return spContext; - } - - /// - /// Gets a SharePointContext instance associated with the specified HTTP context. - /// - /// The HTTP context. - /// The SharePointContext instance. Returns null if not found and a new instance can't be created. - public SharePointContext GetSharePointContext(HttpContext httpContext) - { - return GetSharePointContext(new HttpContextWrapper(httpContext)); - } - - /// - /// Creates a SharePointContext instance. - /// - /// The SharePoint host url. - /// The SharePoint app web url. - /// The SharePoint language. - /// The SharePoint client tag. - /// The SharePoint product number. - /// The HTTP request. - /// The SharePointContext instance. Returns null if errors occur. - protected abstract SharePointContext CreateSharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, HttpRequestBase httpRequest); - - /// - /// Validates if the given SharePointContext can be used with the specified HTTP context. - /// - /// The SharePointContext. - /// The HTTP context. - /// True if the given SharePointContext can be used with the specified HTTP context. - protected abstract bool ValidateSharePointContext(SharePointContext spContext, HttpContextBase httpContext); - - /// - /// Loads the SharePointContext instance associated with the specified HTTP context. - /// - /// The HTTP context. - /// The SharePointContext instance. Returns null if not found. - protected abstract SharePointContext LoadSharePointContext(HttpContextBase httpContext); - - /// - /// Saves the specified SharePointContext instance associated with the specified HTTP context. - /// null is accepted for clearing the SharePointContext instance associated with the HTTP context. - /// - /// The SharePointContext instance to be saved, or null. - /// The HTTP context. - protected abstract void SaveSharePointContext(SharePointContext spContext, HttpContextBase httpContext); - } - - #region ACS - - /// - /// Encapsulates all the information from SharePoint in ACS mode. - /// - public class SharePointAcsContext : SharePointContext - { - private readonly string contextToken; - private readonly SharePointContextToken contextTokenObj; - - /// - /// The context token. - /// - public string ContextToken - { - get { return this.contextTokenObj.ValidTo > DateTime.UtcNow ? this.contextToken : null; } - } - - /// - /// The context token's "CacheKey" claim. - /// - public string CacheKey - { - get { return this.contextTokenObj.ValidTo > DateTime.UtcNow ? this.contextTokenObj.CacheKey : null; } - } - - /// - /// The context token's "refreshtoken" claim. - /// - public string RefreshToken - { - get { return this.contextTokenObj.ValidTo > DateTime.UtcNow ? this.contextTokenObj.RefreshToken : null; } - } - - public override string UserAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.userAccessTokenForSPHost, - () => TokenHelper.GetAccessToken(this.contextTokenObj, this.SPHostUrl.Authority)); - } - } - - public override string UserAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.userAccessTokenForSPAppWeb, - () => TokenHelper.GetAccessToken(this.contextTokenObj, this.SPAppWebUrl.Authority)); - } - } - - public override string AppOnlyAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPHost, - () => TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, this.SPHostUrl.Authority, TokenHelper.GetRealmFromTargetUrl(this.SPHostUrl))); - } - } - - public override string AppOnlyAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPAppWeb, - () => TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, this.SPAppWebUrl.Authority, TokenHelper.GetRealmFromTargetUrl(this.SPAppWebUrl))); - } - } - - public SharePointAcsContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, string contextToken, SharePointContextToken contextTokenObj) - : base(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber) - { - if (string.IsNullOrEmpty(contextToken)) - { - throw new ArgumentNullException("contextToken"); - } - - if (contextTokenObj == null) - { - throw new ArgumentNullException("contextTokenObj"); - } - - this.contextToken = contextToken; - this.contextTokenObj = contextTokenObj; - } - - /// - /// Ensures the access token is valid and returns it. - /// - /// The access token to verify. - /// The token renewal handler. - /// The access token string. - private static string GetAccessTokenString(ref Tuple accessToken, Func tokenRenewalHandler) - { - RenewAccessTokenIfNeeded(ref accessToken, tokenRenewalHandler); - - return IsAccessTokenValid(accessToken) ? accessToken.Item1 : null; - } - - /// - /// Renews the access token if it is not valid. - /// - /// The access token to renew. - /// The token renewal handler. - private static void RenewAccessTokenIfNeeded(ref Tuple accessToken, Func tokenRenewalHandler) - { - if (IsAccessTokenValid(accessToken)) - { - return; - } - - try - { - OAuth2AccessTokenResponse oAuth2AccessTokenResponse = tokenRenewalHandler(); - - DateTime expiresOn = oAuth2AccessTokenResponse.ExpiresOn; - - if ((expiresOn - oAuth2AccessTokenResponse.NotBefore) > AccessTokenLifetimeTolerance) - { - // Make the access token get renewed a bit earlier than the time when it expires - // so that the calls to SharePoint with it will have enough time to complete successfully. - expiresOn -= AccessTokenLifetimeTolerance; - } - - accessToken = Tuple.Create(oAuth2AccessTokenResponse.AccessToken, expiresOn); - } - catch (WebException) - { - } - } - } - - /// - /// Default provider for SharePointAcsContext. - /// - public class SharePointAcsContextProvider : SharePointContextProvider - { - private const string SPContextKey = "SPContext"; - private const string SPCacheKeyKey = "SPCacheKey"; - - protected override SharePointContext CreateSharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, HttpRequestBase httpRequest) - { - string contextTokenString = TokenHelper.GetContextTokenFromRequest(httpRequest); - if (string.IsNullOrEmpty(contextTokenString)) - { - return null; - } - - SharePointContextToken contextToken = null; - try - { - contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, httpRequest.Url.Authority); - } - catch (WebException) - { - return null; - } - catch (AudienceUriValidationFailedException) - { - return null; - } - - return new SharePointAcsContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, contextTokenString, contextToken); - } - - protected override bool ValidateSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - SharePointAcsContext spAcsContext = spContext as SharePointAcsContext; - - if (spAcsContext != null) - { - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - string contextToken = TokenHelper.GetContextTokenFromRequest(httpContext.Request); - HttpCookie spCacheKeyCookie = httpContext.Request.Cookies[SPCacheKeyKey]; - string spCacheKey = spCacheKeyCookie != null ? spCacheKeyCookie.Value : null; - - return spHostUrl == spAcsContext.SPHostUrl && - !string.IsNullOrEmpty(spAcsContext.CacheKey) && - spCacheKey == spAcsContext.CacheKey && - !string.IsNullOrEmpty(spAcsContext.ContextToken) && - (string.IsNullOrEmpty(contextToken) || contextToken == spAcsContext.ContextToken); - } - - return false; - } - - protected override SharePointContext LoadSharePointContext(HttpContextBase httpContext) - { - return httpContext.Session[SPContextKey] as SharePointAcsContext; - } - - protected override void SaveSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - SharePointAcsContext spAcsContext = spContext as SharePointAcsContext; - - if (spAcsContext != null) - { - HttpCookie spCacheKeyCookie = new HttpCookie(SPCacheKeyKey) - { - Value = spAcsContext.CacheKey, - Secure = true, - HttpOnly = true - }; - - httpContext.Response.AppendCookie(spCacheKeyCookie); - } - - httpContext.Session[SPContextKey] = spAcsContext; - } - } - - #endregion ACS - - #region HighTrust - - /// - /// Encapsulates all the information from SharePoint in HighTrust mode. - /// - public class SharePointHighTrustContext : SharePointContext - { - private readonly WindowsIdentity logonUserIdentity; - - /// - /// The Windows identity for the current user. - /// - public WindowsIdentity LogonUserIdentity - { - get { return this.logonUserIdentity; } - } - - public override string UserAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.userAccessTokenForSPHost, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPHostUrl, this.LogonUserIdentity)); - } - } - - public override string UserAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.userAccessTokenForSPAppWeb, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPAppWebUrl, this.LogonUserIdentity)); - } - } - - public override string AppOnlyAccessTokenForSPHost - { - get - { - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPHost, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPHostUrl, null)); - } - } - - public override string AppOnlyAccessTokenForSPAppWeb - { - get - { - if (this.SPAppWebUrl == null) - { - return null; - } - - return GetAccessTokenString(ref this.appOnlyAccessTokenForSPAppWeb, - () => TokenHelper.GetS2SAccessTokenWithWindowsIdentity(this.SPAppWebUrl, null)); - } - } - - public SharePointHighTrustContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, WindowsIdentity logonUserIdentity) - : base(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber) - { - if (logonUserIdentity == null) - { - throw new ArgumentNullException("logonUserIdentity"); - } - - this.logonUserIdentity = logonUserIdentity; - } - - /// - /// Ensures the access token is valid and returns it. - /// - /// The access token to verify. - /// The token renewal handler. - /// The access token string. - private static string GetAccessTokenString(ref Tuple accessToken, Func tokenRenewalHandler) - { - RenewAccessTokenIfNeeded(ref accessToken, tokenRenewalHandler); - - return IsAccessTokenValid(accessToken) ? accessToken.Item1 : null; - } - - /// - /// Renews the access token if it is not valid. - /// - /// The access token to renew. - /// The token renewal handler. - private static void RenewAccessTokenIfNeeded(ref Tuple accessToken, Func tokenRenewalHandler) - { - if (IsAccessTokenValid(accessToken)) - { - return; - } - - DateTime expiresOn = DateTime.UtcNow.Add(TokenHelper.HighTrustAccessTokenLifetime); - - if (TokenHelper.HighTrustAccessTokenLifetime > AccessTokenLifetimeTolerance) - { - // Make the access token get renewed a bit earlier than the time when it expires - // so that the calls to SharePoint with it will have enough time to complete successfully. - expiresOn -= AccessTokenLifetimeTolerance; - } - - accessToken = Tuple.Create(tokenRenewalHandler(), expiresOn); - } - } - - /// - /// Default provider for SharePointHighTrustContext. - /// - public class SharePointHighTrustContextProvider : SharePointContextProvider - { - private const string SPContextKey = "SPContext"; - - protected override SharePointContext CreateSharePointContext(Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, HttpRequestBase httpRequest) - { - WindowsIdentity logonUserIdentity = httpRequest.LogonUserIdentity; - if (logonUserIdentity == null || !logonUserIdentity.IsAuthenticated || logonUserIdentity.IsGuest || logonUserIdentity.User == null) - { - return null; - } - - return new SharePointHighTrustContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, logonUserIdentity); - } - - protected override bool ValidateSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - SharePointHighTrustContext spHighTrustContext = spContext as SharePointHighTrustContext; - - if (spHighTrustContext != null) - { - Uri spHostUrl = SharePointContext.GetSPHostUrl(httpContext.Request); - WindowsIdentity logonUserIdentity = httpContext.Request.LogonUserIdentity; - - return spHostUrl == spHighTrustContext.SPHostUrl && - logonUserIdentity != null && - logonUserIdentity.IsAuthenticated && - !logonUserIdentity.IsGuest && - logonUserIdentity.User == spHighTrustContext.LogonUserIdentity.User; - } - - return false; - } - - protected override SharePointContext LoadSharePointContext(HttpContextBase httpContext) - { - return httpContext.Session[SPContextKey] as SharePointHighTrustContext; - } - - protected override void SaveSharePointContext(SharePointContext spContext, HttpContextBase httpContext) - { - httpContext.Session[SPContextKey] = spContext as SharePointHighTrustContext; - } - } - - #endregion HighTrust -} diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/SharePointContext.vb.pp b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/SharePointContext.vb.pp deleted file mode 100644 index 155a974af..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/SharePointContext.vb.pp +++ /dev/null @@ -1,807 +0,0 @@ -Imports Microsoft.IdentityModel.S2S.Protocols.OAuth2 -Imports Microsoft.IdentityModel.Tokens -Imports Microsoft.SharePoint.Client -Imports System -Imports System.Net -Imports System.Security.Principal -Imports System.Web -Imports System.Web.Configuration - -''' -''' Encapsulates all the information from SharePoint. -''' -Public MustInherit Class SharePointContext - Public Const SPHostUrlKey As String = "SPHostUrl" - Public Const SPAppWebUrlKey As String = "SPAppWebUrl" - Public Const SPLanguageKey As String = "SPLanguage" - Public Const SPClientTagKey As String = "SPClientTag" - Public Const SPProductNumberKey As String = "SPProductNumber" - - Protected Shared ReadOnly AccessTokenLifetimeTolerance As TimeSpan = TimeSpan.FromMinutes(5.0) - - Private ReadOnly m_spHostUrl As Uri - Private ReadOnly m_spAppWebUrl As Uri - Private ReadOnly m_spLanguage As String - Private ReadOnly m_spClientTag As String - Private ReadOnly m_spProductNumber As String - - ' - Protected m_userAccessTokenForSPHost As Tuple(Of String, DateTime) - Protected m_userAccessTokenForSPAppWeb As Tuple(Of String, DateTime) - Protected m_appOnlyAccessTokenForSPHost As Tuple(Of String, DateTime) - Protected m_appOnlyAccessTokenForSPAppWeb As Tuple(Of String, DateTime) - - ''' - ''' Gets the SharePoint host url from QueryString of the specified HTTP request. - ''' - ''' The specified HTTP request. - ''' The SharePoint host url. Returns Nothing if the HTTP request doesn't contain the SharePoint host url. - Public Shared Function GetSPHostUrl(httpRequest As HttpRequestBase) As Uri - If httpRequest Is Nothing Then - Throw New ArgumentNullException("httpRequest") - End If - - Dim spHostUrlString As String = TokenHelper.EnsureTrailingSlash(httpRequest.QueryString(SPHostUrlKey)) - Dim spHostUrl As Uri = Nothing - If Uri.TryCreate(spHostUrlString, UriKind.Absolute, spHostUrl) AndAlso - (spHostUrl.Scheme = Uri.UriSchemeHttp OrElse spHostUrl.Scheme = Uri.UriSchemeHttps) Then - Return spHostUrl - End If - - Return Nothing - End Function - - ''' - ''' Gets the SharePoint host url from QueryString of the specified HTTP request. - ''' - ''' The specified HTTP request. - ''' The SharePoint host url. Returns Nothing if the HTTP request doesn't contain the SharePoint host url. - Public Shared Function GetSPHostUrl(httpRequest As HttpRequest) As Uri - Return GetSPHostUrl(New HttpRequestWrapper(httpRequest)) - End Function - - ''' - ''' The SharePoint host url. - ''' - Public ReadOnly Property SPHostUrl() As Uri - Get - Return Me.m_spHostUrl - End Get - End Property - - ''' - ''' The SharePoint app web url. - ''' - Public ReadOnly Property SPAppWebUrl() As Uri - Get - Return Me.m_spAppWebUrl - End Get - End Property - - ''' - ''' The SharePoint language. - ''' - Public ReadOnly Property SPLanguage() As String - Get - Return Me.m_spLanguage - End Get - End Property - - ''' - ''' The SharePoint client tag. - ''' - Public ReadOnly Property SPClientTag() As String - Get - Return Me.m_spClientTag - End Get - End Property - - ''' - ''' The SharePoint product number. - ''' - Public ReadOnly Property SPProductNumber() As String - Get - Return Me.m_spProductNumber - End Get - End Property - - ''' - ''' The user access token for the SharePoint host. - ''' - Public MustOverride ReadOnly Property UserAccessTokenForSPHost() As String - - ''' - ''' The user access token for the SharePoint app web. - ''' - Public MustOverride ReadOnly Property UserAccessTokenForSPAppWeb() As String - - ''' - ''' The app only access token for the SharePoint host. - ''' - Public MustOverride ReadOnly Property AppOnlyAccessTokenForSPHost() As String - - ''' - ''' The app only access token for the SharePoint app web. - ''' - Public MustOverride ReadOnly Property AppOnlyAccessTokenForSPAppWeb() As String - - ''' - ''' Constructor. - ''' - ''' The SharePoint host url. - ''' The SharePoint app web url. - ''' The SharePoint language. - ''' The SharePoint client tag. - ''' The SharePoint product number. - Protected Sub New(spHostUrl As Uri, spAppWebUrl As Uri, spLanguage As String, spClientTag As String, spProductNumber As String) - If spHostUrl Is Nothing Then - Throw New ArgumentNullException("spHostUrl") - End If - - If String.IsNullOrEmpty(spLanguage) Then - Throw New ArgumentNullException("spLanguage") - End If - - If String.IsNullOrEmpty(spClientTag) Then - Throw New ArgumentNullException("spClientTag") - End If - - If String.IsNullOrEmpty(spProductNumber) Then - Throw New ArgumentNullException("spProductNumber") - End If - - Me.m_spHostUrl = spHostUrl - Me.m_spAppWebUrl = spAppWebUrl - Me.m_spLanguage = spLanguage - Me.m_spClientTag = spClientTag - Me.m_spProductNumber = spProductNumber - End Sub - - ''' - ''' Creates a user ClientContext for the SharePoint host. - ''' - ''' A ClientContext instance. - Public Function CreateUserClientContextForSPHost() As ClientContext - Return CreateClientContext(Me.SPHostUrl, Me.UserAccessTokenForSPHost) - End Function - - ''' - ''' Creates a user ClientContext for the SharePoint app web. - ''' - ''' A ClientContext instance. - Public Function CreateUserClientContextForSPAppWeb() As ClientContext - Return CreateClientContext(Me.SPAppWebUrl, Me.UserAccessTokenForSPAppWeb) - End Function - - ''' - ''' Creates app only ClientContext for the SharePoint host. - ''' - ''' A ClientContext instance. - Public Function CreateAppOnlyClientContextForSPHost() As ClientContext - Return CreateClientContext(Me.SPHostUrl, Me.AppOnlyAccessTokenForSPHost) - End Function - - ''' - ''' Creates an app only ClientContext for the SharePoint app web. - ''' - ''' A ClientContext instance. - Public Function CreateAppOnlyClientContextForSPAppWeb() As ClientContext - Return CreateClientContext(Me.SPAppWebUrl, Me.AppOnlyAccessTokenForSPAppWeb) - End Function - - ''' - ''' Gets the database connection string from SharePoint for autohosted app. - ''' This method is deprecated because the autohosted option is no longer available. - ''' - - Public Function GetDatabaseConnectionString() As String - Throw New NotSupportedException("This method is deprecated because the autohosted option is no longer available.") - End Function - - ''' - ''' Determines if the specified access token is valid. - ''' It considers an access token as not valid if it is Nothing, or it has expired. - ''' - ''' The access token to verify. - ''' True if the access token is valid. - Protected Shared Function IsAccessTokenValid(accessToken As Tuple(Of String, DateTime)) As Boolean - Return accessToken IsNot Nothing AndAlso - Not String.IsNullOrEmpty(accessToken.Item1) AndAlso - accessToken.Item2 > DateTime.UtcNow - End Function - - ''' - ''' Creates a ClientContext with the specified SharePoint site url and the access token. - ''' - ''' The site url. - ''' The access token. - ''' A ClientContext instance. - Private Shared Function CreateClientContext(spSiteUrl As Uri, accessToken As String) As ClientContext - If spSiteUrl IsNot Nothing AndAlso Not String.IsNullOrEmpty(accessToken) Then - Return TokenHelper.GetClientContextWithAccessToken(spSiteUrl.AbsoluteUri, accessToken) - End If - - Return Nothing - End Function -End Class - -''' -''' Redirection status. -''' -Public Enum RedirectionStatus - Ok - ShouldRedirect - CanNotRedirect -End Enum - -''' -''' Provides SharePointContext instances. -''' -Public MustInherit Class SharePointContextProvider - Private Shared s_current As SharePointContextProvider - - ''' - ''' The current SharePointContextProvider instance. - ''' - Public Shared ReadOnly Property Current() As SharePointContextProvider - Get - Return SharePointContextProvider.s_current - End Get - End Property - - ''' - ''' Initializes the default SharePointContextProvider instance. - ''' - Shared Sub New() - If Not TokenHelper.IsHighTrustApp() Then - SharePointContextProvider.s_current = New SharePointAcsContextProvider() - Else - SharePointContextProvider.s_current = New SharePointHighTrustContextProvider() - End If - End Sub - - ''' - ''' Registers the specified SharePointContextProvider instance as current. - ''' It should be called by Application_Start() in Global.asax. - ''' - ''' The SharePointContextProvider to be set as current. - Public Shared Sub Register(provider As SharePointContextProvider) - If provider Is Nothing Then - Throw New ArgumentNullException("provider") - End If - - SharePointContextProvider.s_current = provider - End Sub - - ''' - ''' Checks if it is necessary to redirect to SharePoint for user to authenticate. - ''' - ''' The HTTP context. - ''' The redirect url to SharePoint if the status is ShouldRedirect. Null if the status is Ok or CanNotRedirect. - ''' Redirection status. - Public Shared Function CheckRedirectionStatus(httpContext As HttpContextBase, ByRef redirectUrl As Uri) As RedirectionStatus - If httpContext Is Nothing Then - Throw New ArgumentNullException("httpContext") - End If - - redirectUrl = Nothing - Dim contextTokenExpired As Boolean = False - - Try - If SharePointContextProvider.Current.GetSharePointContext(httpContext) IsNot Nothing Then - Return RedirectionStatus.Ok - End If - Catch ex As SecurityTokenExpiredException - contextTokenExpired = True - End Try - - Const SPHasRedirectedToSharePointKey As String = "SPHasRedirectedToSharePoint" - - If Not String.IsNullOrEmpty(httpContext.Request.QueryString(SPHasRedirectedToSharePointKey)) AndAlso Not contextTokenExpired Then - Return RedirectionStatus.CanNotRedirect - End If - - Dim spHostUrl As Uri = SharePointContext.GetSPHostUrl(httpContext.Request) - - If spHostUrl Is Nothing Then - Return RedirectionStatus.CanNotRedirect - End If - - If StringComparer.OrdinalIgnoreCase.Equals(httpContext.Request.HttpMethod, "POST") Then - Return RedirectionStatus.CanNotRedirect - End If - - Dim requestUrl As Uri = httpContext.Request.Url - - Dim queryNameValueCollection = HttpUtility.ParseQueryString(requestUrl.Query) - - ' Removes the values that are included in {StandardTokens}, as {StandardTokens} will be inserted at the beginning of the query string. - queryNameValueCollection.Remove(SharePointContext.SPHostUrlKey) - queryNameValueCollection.Remove(SharePointContext.SPAppWebUrlKey) - queryNameValueCollection.Remove(SharePointContext.SPLanguageKey) - queryNameValueCollection.Remove(SharePointContext.SPClientTagKey) - queryNameValueCollection.Remove(SharePointContext.SPProductNumberKey) - - ' Adds SPHasRedirectedToSharePoint=1. - queryNameValueCollection.Add(SPHasRedirectedToSharePointKey, "1") - - Dim returnUrlBuilder As New UriBuilder(requestUrl) - returnUrlBuilder.Query = queryNameValueCollection.ToString() - - ' Inserts StandardTokens. - Const StandardTokens As String = "{StandardTokens}" - Dim returnUrlString As String = returnUrlBuilder.Uri.AbsoluteUri - returnUrlString = returnUrlString.Insert(returnUrlString.IndexOf("?") + 1, StandardTokens + "&") - - ' Constructs redirect url. - Dim redirectUrlString As String = TokenHelper.GetAppContextTokenRequestUrl(spHostUrl.AbsoluteUri, Uri.EscapeDataString(returnUrlString)) - - redirectUrl = New Uri(redirectUrlString, UriKind.Absolute) - - Return RedirectionStatus.ShouldRedirect - End Function - - ''' - ''' Checks if it is necessary to redirect to SharePoint for user to authenticate. - ''' - ''' The HTTP context. - ''' The redirect url to SharePoint if the status is ShouldRedirect. Null if the status is Ok or CanNotRedirect. - ''' Redirection status. - Public Shared Function CheckRedirectionStatus(httpContext As HttpContext, ByRef redirectUrl As Uri) As RedirectionStatus - Return CheckRedirectionStatus(New HttpContextWrapper(httpContext), redirectUrl) - End Function - - ''' - ''' Creates a SharePointContext instance with the specified HTTP request. - ''' - ''' The HTTP request. - ''' The SharePointContext instance. Returns Nothing if errors occur. - Public Function CreateSharePointContext(httpRequest As HttpRequestBase) As SharePointContext - If httpRequest Is Nothing Then - Throw New ArgumentNullException("httpRequest") - End If - - ' SPHostUrl - Dim spHostUrl As Uri = SharePointContext.GetSPHostUrl(httpRequest) - If spHostUrl Is Nothing Then - Return Nothing - End If - - ' SPAppWebUrl - Dim spAppWebUrlString As String = TokenHelper.EnsureTrailingSlash(httpRequest.QueryString(SharePointContext.SPAppWebUrlKey)) - Dim spAppWebUrl As Uri = Nothing - If Not Uri.TryCreate(spAppWebUrlString, UriKind.Absolute, spAppWebUrl) OrElse - Not (spAppWebUrl.Scheme = Uri.UriSchemeHttp OrElse spAppWebUrl.Scheme = Uri.UriSchemeHttps) Then - spAppWebUrl = Nothing - End If - - ' SPLanguage - Dim spLanguage As String = httpRequest.QueryString(SharePointContext.SPLanguageKey) - If String.IsNullOrEmpty(spLanguage) Then - Return Nothing - End If - - ' SPClientTag - Dim spClientTag As String = httpRequest.QueryString(SharePointContext.SPClientTagKey) - If String.IsNullOrEmpty(spClientTag) Then - Return Nothing - End If - - ' SPProductNumber - Dim spProductNumber As String = httpRequest.QueryString(SharePointContext.SPProductNumberKey) - If String.IsNullOrEmpty(spProductNumber) Then - Return Nothing - End If - - Return CreateSharePointContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, httpRequest) - End Function - - ''' - ''' Creates a SharePointContext instance with the specified HTTP request. - ''' - ''' The HTTP request. - ''' The SharePointContext instance. Returns Nothing if errors occur. - Public Function CreateSharePointContext(httpRequest As HttpRequest) As SharePointContext - Return CreateSharePointContext(New HttpRequestWrapper(httpRequest)) - End Function - - ''' - ''' Gets a SharePointContext instance associated with the specified HTTP context. - ''' - ''' The HTTP context. - ''' The SharePointContext instance. Returns Nothing if not found and a new instance can't be created. - Public Function GetSharePointContext(httpContext As HttpContextBase) As SharePointContext - If httpContext Is Nothing Then - Throw New ArgumentNullException("httpContext") - End If - - Dim spHostUrl As Uri = SharePointContext.GetSPHostUrl(httpContext.Request) - If spHostUrl Is Nothing Then - Return Nothing - End If - - Dim spContext As SharePointContext = LoadSharePointContext(httpContext) - - If spContext Is Nothing Or Not ValidateSharePointContext(spContext, httpContext) Then - spContext = CreateSharePointContext(httpContext.Request) - - If spContext IsNot Nothing Then - SaveSharePointContext(spContext, httpContext) - End If - End If - - Return spContext - End Function - - ''' - ''' Gets a SharePointContext instance associated with the specified HTTP context. - ''' - ''' The HTTP context. - ''' The SharePointContext instance. Returns Nothing if not found and a new instance can't be created. - Public Function GetSharePointContext(httpContext As HttpContext) As SharePointContext - Return GetSharePointContext(New HttpContextWrapper(httpContext)) - End Function - - ''' - ''' Creates a SharePointContext instance. - ''' - ''' The SharePoint host url. - ''' The SharePoint app web url. - ''' The SharePoint language. - ''' The SharePoint client tag. - ''' The SharePoint product number. - ''' The HTTP request. - ''' The SharePointContext instance. Returns Nothing if errors occur. - Protected MustOverride Function CreateSharePointContext(spHostUrl As Uri, spAppWebUrl As Uri, spLanguage As String, spClientTag As String, spProductNumber As String, httpRequest As HttpRequestBase) As SharePointContext - - ''' - ''' Validates if the given SharePointContext can be used with the specified HTTP context. - ''' - ''' The SharePointContext. - ''' The HTTP context. - ''' True if the given SharePointContext can be used with the specified HTTP context. - Protected MustOverride Function ValidateSharePointContext(spContext As SharePointContext, httpContext As HttpContextBase) As Boolean - - ''' - ''' Loads the SharePointContext instance associated with the specified HTTP context. - ''' - ''' The HTTP context. - ''' The SharePointContext instance. Returns Nothing if not found. - Protected MustOverride Function LoadSharePointContext(httpContext As HttpContextBase) As SharePointContext - - ''' - ''' Saves the specified SharePointContext instance associated with the specified HTTP context. - ''' Nothing is accepted for clearing the SharePointContext instance associated with the HTTP context. - ''' - ''' The SharePointContext instance to be saved, or Nothing. - ''' The HTTP context. - Protected MustOverride Sub SaveSharePointContext(spContext As SharePointContext, httpContext As HttpContextBase) -End Class - -#Region "ACS" - -''' -''' Encapsulates all the information from SharePoint in ACS mode. -''' -Public Class SharePointAcsContext - Inherits SharePointContext - Private ReadOnly m_contextToken As String - Private ReadOnly m_contextTokenObj As SharePointContextToken - - ''' - ''' The context token. - ''' - Public ReadOnly Property ContextToken() As String - Get - Return If(Me.m_contextTokenObj.ValidTo > DateTime.UtcNow, Me.m_contextToken, Nothing) - End Get - End Property - - ''' - ''' The context token's "CacheKey" claim. - ''' - Public ReadOnly Property CacheKey() As String - Get - Return If(Me.m_contextTokenObj.ValidTo > DateTime.UtcNow, Me.m_contextTokenObj.CacheKey, Nothing) - End Get - End Property - - ''' - ''' The context token's "refreshtoken" claim. - ''' - Public ReadOnly Property RefreshToken() As String - Get - Return If(Me.m_contextTokenObj.ValidTo > DateTime.UtcNow, Me.m_contextTokenObj.RefreshToken, Nothing) - End Get - End Property - - Public Overrides ReadOnly Property UserAccessTokenForSPHost() As String - Get - Return GetAccessTokenString(Me.m_userAccessTokenForSPHost, Function() TokenHelper.GetAccessToken(Me.m_contextTokenObj, Me.SPHostUrl.Authority)) - End Get - End Property - - Public Overrides ReadOnly Property UserAccessTokenForSPAppWeb() As String - Get - If Me.SPAppWebUrl Is Nothing Then - Return Nothing - End If - - Return GetAccessTokenString(Me.m_userAccessTokenForSPAppWeb, Function() TokenHelper.GetAccessToken(Me.m_contextTokenObj, Me.SPAppWebUrl.Authority)) - End Get - End Property - - Public Overrides ReadOnly Property AppOnlyAccessTokenForSPHost() As String - Get - Return GetAccessTokenString(Me.m_appOnlyAccessTokenForSPHost, Function() TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, Me.SPHostUrl.Authority, TokenHelper.GetRealmFromTargetUrl(Me.SPHostUrl))) - End Get - End Property - - Public Overrides ReadOnly Property AppOnlyAccessTokenForSPAppWeb() As String - Get - If Me.SPAppWebUrl Is Nothing Then - Return Nothing - End If - - Return GetAccessTokenString(Me.m_appOnlyAccessTokenForSPAppWeb, Function() TokenHelper.GetAppOnlyAccessToken(TokenHelper.SharePointPrincipal, Me.SPAppWebUrl.Authority, TokenHelper.GetRealmFromTargetUrl(Me.SPAppWebUrl))) - End Get - End Property - - Public Sub New(spHostUrl As Uri, spAppWebUrl As Uri, spLanguage As String, spClientTag As String, spProductNumber As String, contextToken As String, contextTokenObj As SharePointContextToken) - MyBase.New(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber) - If String.IsNullOrEmpty(contextToken) Then - Throw New ArgumentNullException("contextToken") - End If - - If contextTokenObj Is Nothing Then - Throw New ArgumentNullException("contextTokenObj") - End If - - Me.m_contextToken = contextToken - Me.m_contextTokenObj = contextTokenObj - End Sub - - ''' - ''' Ensures the access token is valid and returns it. - ''' - ''' The access token to verify. - ''' The token renewal handler. - ''' The access token string. - Private Shared Function GetAccessTokenString(ByRef accessToken As Tuple(Of String, DateTime), tokenRenewalHandler As Func(Of OAuth2AccessTokenResponse)) As String - RenewAccessTokenIfNeeded(accessToken, tokenRenewalHandler) - - Return If(IsAccessTokenValid(accessToken), accessToken.Item1, Nothing) - End Function - - ''' - ''' Renews the access token if it is not valid. - ''' - ''' The access token to renew. - ''' The token renewal handler. - Private Shared Sub RenewAccessTokenIfNeeded(ByRef accessToken As Tuple(Of String, DateTime), tokenRenewalHandler As Func(Of OAuth2AccessTokenResponse)) - If IsAccessTokenValid(accessToken) Then - Return - End If - - Try - Dim oAuth2AccessTokenResponse As OAuth2AccessTokenResponse = tokenRenewalHandler() - - Dim expiresOn As DateTime = oAuth2AccessTokenResponse.ExpiresOn - - If (expiresOn - oAuth2AccessTokenResponse.NotBefore) > AccessTokenLifetimeTolerance Then - ' Make the access token get renewed a bit earlier than the time when it expires - ' so that the calls to SharePoint with it will have enough time to complete successfully. - expiresOn -= AccessTokenLifetimeTolerance - End If - - accessToken = Tuple.Create(oAuth2AccessTokenResponse.AccessToken, expiresOn) - Catch ex As WebException - End Try - End Sub -End Class - -''' -''' Default provider for SharePointAcsContext. -''' -Public Class SharePointAcsContextProvider - Inherits SharePointContextProvider - Private Const SPContextKey As String = "SPContext" - Private Const SPCacheKeyKey As String = "SPCacheKey" - - Protected Overrides Function CreateSharePointContext(spHostUrl As Uri, spAppWebUrl As Uri, spLanguage As String, spClientTag As String, spProductNumber As String, httpRequest As HttpRequestBase) As SharePointContext - Dim contextTokenString As String = TokenHelper.GetContextTokenFromRequest(httpRequest) - If String.IsNullOrEmpty(contextTokenString) Then - Return Nothing - End If - - Dim contextToken As SharePointContextToken = Nothing - Try - contextToken = TokenHelper.ReadAndValidateContextToken(contextTokenString, httpRequest.Url.Authority) - Catch ex As WebException - Return Nothing - Catch ex As AudienceUriValidationFailedException - Return Nothing - End Try - - Return New SharePointAcsContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, contextTokenString, contextToken) - End Function - - Protected Overrides Function ValidateSharePointContext(spContext As SharePointContext, httpContext As HttpContextBase) As Boolean - Dim spAcsContext As SharePointAcsContext = TryCast(spContext, SharePointAcsContext) - - If spAcsContext IsNot Nothing Then - Dim spHostUrl As Uri = SharePointContext.GetSPHostUrl(httpContext.Request) - Dim contextToken As String = TokenHelper.GetContextTokenFromRequest(httpContext.Request) - Dim spCacheKeyCookie As HttpCookie = httpContext.Request.Cookies(SPCacheKeyKey) - Dim spCacheKey As String = If(spCacheKeyCookie IsNot Nothing, spCacheKeyCookie.Value, Nothing) - - Return spHostUrl = spAcsContext.SPHostUrl AndAlso - Not String.IsNullOrEmpty(spAcsContext.CacheKey) AndAlso - spCacheKey = spAcsContext.CacheKey AndAlso - Not String.IsNullOrEmpty(spAcsContext.ContextToken) AndAlso - (String.IsNullOrEmpty(contextToken) OrElse contextToken = spAcsContext.ContextToken) - End If - - Return False - End Function - - Protected Overrides Function LoadSharePointContext(httpContext As HttpContextBase) As SharePointContext - Return TryCast(httpContext.Session(SPContextKey), SharePointAcsContext) - End Function - - Protected Overrides Sub SaveSharePointContext(spContext As SharePointContext, httpContext As HttpContextBase) - Dim spAcsContext As SharePointAcsContext = TryCast(spContext, SharePointAcsContext) - - If spAcsContext IsNot Nothing Then - Dim spCacheKeyCookie As New HttpCookie(SPCacheKeyKey) With - { - .Value = spAcsContext.CacheKey, - .Secure = True, - .HttpOnly = True - } - - httpContext.Response.AppendCookie(spCacheKeyCookie) - End If - - httpContext.Session(SPContextKey) = spAcsContext - End Sub -End Class - -#End Region - -#Region "HighTrust" - -''' -''' Encapsulates all the information from SharePoint in HighTrust mode. -''' -Public Class SharePointHighTrustContext - Inherits SharePointContext - Private ReadOnly m_logonUserIdentity As WindowsIdentity - - ''' - ''' The Windows identity for the current user. - ''' - Public ReadOnly Property LogonUserIdentity() As WindowsIdentity - Get - Return Me.m_logonUserIdentity - End Get - End Property - - Public Overrides ReadOnly Property UserAccessTokenForSPHost() As String - Get - Return GetAccessTokenString(Me.m_userAccessTokenForSPHost, Function() TokenHelper.GetS2SAccessTokenWithWindowsIdentity(Me.SPHostUrl, Me.LogonUserIdentity)) - End Get - End Property - - Public Overrides ReadOnly Property UserAccessTokenForSPAppWeb() As String - Get - If Me.SPAppWebUrl Is Nothing Then - Return Nothing - End If - - Return GetAccessTokenString(Me.m_userAccessTokenForSPAppWeb, Function() TokenHelper.GetS2SAccessTokenWithWindowsIdentity(Me.SPAppWebUrl, Me.LogonUserIdentity)) - End Get - End Property - - Public Overrides ReadOnly Property AppOnlyAccessTokenForSPHost() As String - Get - Return GetAccessTokenString(Me.m_appOnlyAccessTokenForSPHost, Function() TokenHelper.GetS2SAccessTokenWithWindowsIdentity(Me.SPHostUrl, Nothing)) - End Get - End Property - - Public Overrides ReadOnly Property AppOnlyAccessTokenForSPAppWeb() As String - Get - If Me.SPAppWebUrl Is Nothing Then - Return Nothing - End If - - Return GetAccessTokenString(Me.m_appOnlyAccessTokenForSPAppWeb, Function() TokenHelper.GetS2SAccessTokenWithWindowsIdentity(Me.SPAppWebUrl, Nothing)) - End Get - End Property - - Public Sub New(spHostUrl As Uri, spAppWebUrl As Uri, spLanguage As String, spClientTag As String, spProductNumber As String, logonUserIdentity As WindowsIdentity) - MyBase.New(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber) - If logonUserIdentity Is Nothing Then - Throw New ArgumentNullException("logonUserIdentity") - End If - - Me.m_logonUserIdentity = logonUserIdentity - End Sub - - ''' - ''' Ensures the access token is valid and returns it. - ''' - ''' The access token to verify. - ''' The token renewal handler. - ''' The access token string. - Private Shared Function GetAccessTokenString(ByRef accessToken As Tuple(Of String, DateTime), tokenRenewalHandler As Func(Of String)) As String - RenewAccessTokenIfNeeded(accessToken, tokenRenewalHandler) - - Return If(IsAccessTokenValid(accessToken), accessToken.Item1, Nothing) - End Function - - ''' - ''' Renews the access token if it is not valid. - ''' - ''' The access token to renew. - ''' The token renewal handler. - Private Shared Sub RenewAccessTokenIfNeeded(ByRef accessToken As Tuple(Of String, DateTime), tokenRenewalHandler As Func(Of String)) - If IsAccessTokenValid(accessToken) Then - Return - End If - - Dim expiresOn As DateTime = DateTime.UtcNow.Add(TokenHelper.HighTrustAccessTokenLifetime) - - If TokenHelper.HighTrustAccessTokenLifetime > AccessTokenLifetimeTolerance Then - ' Make the access token get renewed a bit earlier than the time when it expires - ' so that the calls to SharePoint with it will have enough time to complete successfully. - expiresOn -= AccessTokenLifetimeTolerance - End If - - accessToken = Tuple.Create(tokenRenewalHandler(), expiresOn) - End Sub -End Class - -''' -''' Default provider for SharePointHighTrustContext. -''' -Public Class SharePointHighTrustContextProvider - Inherits SharePointContextProvider - Private Const SPContextKey As String = "SPContext" - - Protected Overrides Function CreateSharePointContext(spHostUrl As Uri, spAppWebUrl As Uri, spLanguage As String, spClientTag As String, spProductNumber As String, httpRequest As HttpRequestBase) As SharePointContext - Dim logonUserIdentity As WindowsIdentity = httpRequest.LogonUserIdentity - If logonUserIdentity Is Nothing Or Not logonUserIdentity.IsAuthenticated Or logonUserIdentity.IsGuest Or logonUserIdentity.User Is Nothing Then - Return Nothing - End If - - Return New SharePointHighTrustContext(spHostUrl, spAppWebUrl, spLanguage, spClientTag, spProductNumber, logonUserIdentity) - End Function - - Protected Overrides Function ValidateSharePointContext(spContext As SharePointContext, httpContext As HttpContextBase) As Boolean - Dim spHighTrustContext As SharePointHighTrustContext = TryCast(spContext, SharePointHighTrustContext) - - If spHighTrustContext IsNot Nothing Then - Dim spHostUrl As Uri = SharePointContext.GetSPHostUrl(httpContext.Request) - Dim logonUserIdentity As WindowsIdentity = httpContext.Request.LogonUserIdentity - - Return spHostUrl = spHighTrustContext.SPHostUrl AndAlso - logonUserIdentity IsNot Nothing AndAlso - logonUserIdentity.IsAuthenticated AndAlso - Not logonUserIdentity.IsGuest AndAlso - logonUserIdentity.User = spHighTrustContext.LogonUserIdentity.User - End If - - Return False - End Function - - Protected Overrides Function LoadSharePointContext(httpContext As HttpContextBase) As SharePointContext - Return TryCast(httpContext.Session(SPContextKey), SharePointHighTrustContext) - End Function - - Protected Overrides Sub SaveSharePointContext(spContext As SharePointContext, httpContext As HttpContextBase) - httpContext.Session(SPContextKey) = TryCast(spContext, SharePointHighTrustContext) - End Sub -End Class - -#End Region diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/TokenHelper.cs.pp b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/TokenHelper.cs.pp deleted file mode 100644 index e1c846f68..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/TokenHelper.cs.pp +++ /dev/null @@ -1,1223 +0,0 @@ -using Microsoft.IdentityModel; -using Microsoft.IdentityModel.S2S.Protocols.OAuth2; -using Microsoft.IdentityModel.S2S.Tokens; -using Microsoft.SharePoint.Client; -using Microsoft.SharePoint.Client.EventReceivers; -using System; -using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Globalization; -using System.IdentityModel.Selectors; -using System.IdentityModel.Tokens; -using System.IO; -using System.Linq; -using System.Net; -using System.Security.Cryptography.X509Certificates; -using System.Security.Principal; -using System.ServiceModel; -using System.Text; -using System.Web; -using System.Web.Configuration; -using System.Web.Script.Serialization; -using AudienceRestriction = Microsoft.IdentityModel.Tokens.AudienceRestriction; -using AudienceUriValidationFailedException = Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException; -using SecurityTokenHandlerConfiguration = Microsoft.IdentityModel.Tokens.SecurityTokenHandlerConfiguration; -using X509SigningCredentials = Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials; - -namespace $rootnamespace$ -{ - public static class TokenHelper - { - #region public fields - - /// - /// SharePoint principal. - /// - public const string SharePointPrincipal = "00000003-0000-0ff1-ce00-000000000000"; - - /// - /// Lifetime of HighTrust access token, 12 hours. - /// - public static readonly TimeSpan HighTrustAccessTokenLifetime = TimeSpan.FromHours(12.0); - - #endregion public fields - - #region public methods - - /// - /// Retrieves the context token string from the specified request by looking for well-known parameter names in the - /// POSTed form parameters and the querystring. Returns null if no context token is found. - /// - /// HttpRequest in which to look for a context token - /// The context token string - public static string GetContextTokenFromRequest(HttpRequest request) - { - return GetContextTokenFromRequest(new HttpRequestWrapper(request)); - } - - /// - /// Retrieves the context token string from the specified request by looking for well-known parameter names in the - /// POSTed form parameters and the querystring. Returns null if no context token is found. - /// - /// HttpRequest in which to look for a context token - /// The context token string - public static string GetContextTokenFromRequest(HttpRequestBase request) - { - string[] paramNames = { "AppContext", "AppContextToken", "AccessToken", "SPAppToken" }; - foreach (string paramName in paramNames) - { - if (!string.IsNullOrEmpty(request.Form[paramName])) - { - return request.Form[paramName]; - } - if (!string.IsNullOrEmpty(request.QueryString[paramName])) - { - return request.QueryString[paramName]; - } - } - return null; - } - - /// - /// Validate that a specified context token string is intended for this application based on the parameters - /// specified in web.config. Parameters used from web.config used for validation include ClientId, - /// HostedAppHostNameOverride, HostedAppHostName, ClientSecret, and Realm (if it is specified). If HostedAppHostNameOverride is present, - /// it will be used for validation. Otherwise, if the is not - /// null, it is used for validation instead of the web.config's HostedAppHostName. If the token is invalid, an - /// exception is thrown. If the token is valid, TokenHelper's static STS metadata url is updated based on the token contents - /// and a JsonWebSecurityToken based on the context token is returned. - /// - /// The context token to validate - /// The URL authority, consisting of Domain Name System (DNS) host name or IP address and the port number, to use for token audience validation. - /// If null, HostedAppHostName web.config setting is used instead. HostedAppHostNameOverride web.config setting, if present, will be used - /// for validation instead of . - /// A JsonWebSecurityToken based on the context token. - public static SharePointContextToken ReadAndValidateContextToken(string contextTokenString, string appHostName = null) - { - JsonWebSecurityTokenHandler tokenHandler = CreateJsonWebSecurityTokenHandler(); - SecurityToken securityToken = tokenHandler.ReadToken(contextTokenString); - JsonWebSecurityToken jsonToken = securityToken as JsonWebSecurityToken; - SharePointContextToken token = SharePointContextToken.Create(jsonToken); - - string stsAuthority = (new Uri(token.SecurityTokenServiceUri)).Authority; - int firstDot = stsAuthority.IndexOf('.'); - - GlobalEndPointPrefix = stsAuthority.Substring(0, firstDot); - AcsHostUrl = stsAuthority.Substring(firstDot + 1); - - tokenHandler.ValidateToken(jsonToken); - - string[] acceptableAudiences; - if (!String.IsNullOrEmpty(HostedAppHostNameOverride)) - { - acceptableAudiences = HostedAppHostNameOverride.Split(';'); - } - else if (appHostName == null) - { - acceptableAudiences = new[] { HostedAppHostName }; - } - else - { - acceptableAudiences = new[] { appHostName }; - } - - bool validationSuccessful = false; - string realm = Realm ?? token.Realm; - foreach (var audience in acceptableAudiences) - { - string principal = GetFormattedPrincipal(ClientId, audience, realm); - if (StringComparer.OrdinalIgnoreCase.Equals(token.Audience, principal)) - { - validationSuccessful = true; - break; - } - } - - if (!validationSuccessful) - { - throw new AudienceUriValidationFailedException( - String.Format(CultureInfo.CurrentCulture, - "\"{0}\" is not the intended audience \"{1}\"", String.Join(";", acceptableAudiences), token.Audience)); - } - - return token; - } - - /// - /// Retrieves an access token from ACS to call the source of the specified context token at the specified - /// targetHost. The targetHost must be registered for the principal that sent the context token. - /// - /// Context token issued by the intended access token audience - /// Url authority of the target principal - /// An access token with an audience matching the context token's source - public static OAuth2AccessTokenResponse GetAccessToken(SharePointContextToken contextToken, string targetHost) - { - string targetPrincipalName = contextToken.TargetPrincipalName; - - // Extract the refreshToken from the context token - string refreshToken = contextToken.RefreshToken; - - if (String.IsNullOrEmpty(refreshToken)) - { - return null; - } - - string targetRealm = Realm ?? contextToken.Realm; - - return GetAccessToken(refreshToken, - targetPrincipalName, - targetHost, - targetRealm); - } - - /// - /// Uses the specified authorization code to retrieve an access token from ACS to call the specified principal - /// at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - /// null, the "Realm" setting in web.config will be used instead. - /// - /// Authorization code to exchange for access token - /// Name of the target principal to retrieve an access token for - /// Url authority of the target principal - /// Realm to use for the access token's nameid and audience - /// Redirect URI registerd for this app - /// An access token with an audience of the target principal - public static OAuth2AccessTokenResponse GetAccessToken( - string authorizationCode, - string targetPrincipalName, - string targetHost, - string targetRealm, - Uri redirectUri) - { - if (targetRealm == null) - { - targetRealm = Realm; - } - - string resource = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm); - string clientId = GetFormattedPrincipal(ClientId, null, targetRealm); - - // Create request for token. The RedirectUri is null here. This will fail if redirect uri is registered - OAuth2AccessTokenRequest oauth2Request = - OAuth2MessageFactory.CreateAccessTokenRequestWithAuthorizationCode( - clientId, - ClientSecret, - authorizationCode, - redirectUri, - resource); - - // Get token - OAuth2S2SClient client = new OAuth2S2SClient(); - OAuth2AccessTokenResponse oauth2Response; - try - { - oauth2Response = - client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request) as OAuth2AccessTokenResponse; - } - catch (WebException wex) - { - using (StreamReader sr = new StreamReader(wex.Response.GetResponseStream())) - { - string responseText = sr.ReadToEnd(); - throw new WebException(wex.Message + " - " + responseText, wex); - } - } - - return oauth2Response; - } - - /// - /// Uses the specified refresh token to retrieve an access token from ACS to call the specified principal - /// at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - /// null, the "Realm" setting in web.config will be used instead. - /// - /// Refresh token to exchange for access token - /// Name of the target principal to retrieve an access token for - /// Url authority of the target principal - /// Realm to use for the access token's nameid and audience - /// An access token with an audience of the target principal - public static OAuth2AccessTokenResponse GetAccessToken( - string refreshToken, - string targetPrincipalName, - string targetHost, - string targetRealm) - { - if (targetRealm == null) - { - targetRealm = Realm; - } - - string resource = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm); - string clientId = GetFormattedPrincipal(ClientId, null, targetRealm); - - OAuth2AccessTokenRequest oauth2Request = OAuth2MessageFactory.CreateAccessTokenRequestWithRefreshToken(clientId, ClientSecret, refreshToken, resource); - - // Get token - OAuth2S2SClient client = new OAuth2S2SClient(); - OAuth2AccessTokenResponse oauth2Response; - try - { - oauth2Response = - client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request) as OAuth2AccessTokenResponse; - } - catch (WebException wex) - { - using (StreamReader sr = new StreamReader(wex.Response.GetResponseStream())) - { - string responseText = sr.ReadToEnd(); - throw new WebException(wex.Message + " - " + responseText, wex); - } - } - - return oauth2Response; - } - - /// - /// Retrieves an app-only access token from ACS to call the specified principal - /// at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - /// null, the "Realm" setting in web.config will be used instead. - /// - /// Name of the target principal to retrieve an access token for - /// Url authority of the target principal - /// Realm to use for the access token's nameid and audience - /// An access token with an audience of the target principal - public static OAuth2AccessTokenResponse GetAppOnlyAccessToken( - string targetPrincipalName, - string targetHost, - string targetRealm) - { - - if (targetRealm == null) - { - targetRealm = Realm; - } - - string resource = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm); - string clientId = GetFormattedPrincipal(ClientId, HostedAppHostName, targetRealm); - - OAuth2AccessTokenRequest oauth2Request = OAuth2MessageFactory.CreateAccessTokenRequestWithClientCredentials(clientId, ClientSecret, resource); - oauth2Request.Resource = resource; - - // Get token - OAuth2S2SClient client = new OAuth2S2SClient(); - - OAuth2AccessTokenResponse oauth2Response; - try - { - oauth2Response = - client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request) as OAuth2AccessTokenResponse; - } - catch (WebException wex) - { - using (StreamReader sr = new StreamReader(wex.Response.GetResponseStream())) - { - string responseText = sr.ReadToEnd(); - throw new WebException(wex.Message + " - " + responseText, wex); - } - } - - return oauth2Response; - } - - /// - /// Creates a client context based on the properties of a remote event receiver - /// - /// Properties of a remote event receiver - /// A ClientContext ready to call the web where the event originated - public static ClientContext CreateRemoteEventReceiverClientContext(SPRemoteEventProperties properties) - { - Uri sharepointUrl; - if (properties.ListEventProperties != null) - { - sharepointUrl = new Uri(properties.ListEventProperties.WebUrl); - } - else if (properties.ItemEventProperties != null) - { - sharepointUrl = new Uri(properties.ItemEventProperties.WebUrl); - } - else if (properties.WebEventProperties != null) - { - sharepointUrl = new Uri(properties.WebEventProperties.FullUrl); - } - else - { - return null; - } - - if (IsHighTrustApp()) - { - return GetS2SClientContextWithWindowsIdentity(sharepointUrl, null); - } - - return CreateAcsClientContextForUrl(properties, sharepointUrl); - } - - /// - /// Creates a client context based on the properties of an app event - /// - /// Properties of an app event - /// True to target the app web, false to target the host web - /// A ClientContext ready to call the app web or the parent web - public static ClientContext CreateAppEventClientContext(SPRemoteEventProperties properties, bool useAppWeb) - { - if (properties.AppEventProperties == null) - { - return null; - } - - Uri sharepointUrl = useAppWeb ? properties.AppEventProperties.AppWebFullUrl : properties.AppEventProperties.HostWebFullUrl; - if (IsHighTrustApp()) - { - return GetS2SClientContextWithWindowsIdentity(sharepointUrl, null); - } - - return CreateAcsClientContextForUrl(properties, sharepointUrl); - } - - /// - /// Retrieves an access token from ACS using the specified authorization code, and uses that access token to - /// create a client context - /// - /// Url of the target SharePoint site - /// Authorization code to use when retrieving the access token from ACS - /// Redirect URI registerd for this app - /// A ClientContext ready to call targetUrl with a valid access token - public static ClientContext GetClientContextWithAuthorizationCode( - string targetUrl, - string authorizationCode, - Uri redirectUri) - { - return GetClientContextWithAuthorizationCode(targetUrl, SharePointPrincipal, authorizationCode, GetRealmFromTargetUrl(new Uri(targetUrl)), redirectUri); - } - - /// - /// Retrieves an access token from ACS using the specified authorization code, and uses that access token to - /// create a client context - /// - /// Url of the target SharePoint site - /// Name of the target SharePoint principal - /// Authorization code to use when retrieving the access token from ACS - /// Realm to use for the access token's nameid and audience - /// Redirect URI registerd for this app - /// A ClientContext ready to call targetUrl with a valid access token - public static ClientContext GetClientContextWithAuthorizationCode( - string targetUrl, - string targetPrincipalName, - string authorizationCode, - string targetRealm, - Uri redirectUri) - { - Uri targetUri = new Uri(targetUrl); - - string accessToken = - GetAccessToken(authorizationCode, targetPrincipalName, targetUri.Authority, targetRealm, redirectUri).AccessToken; - - return GetClientContextWithAccessToken(targetUrl, accessToken); - } - - /// - /// Uses the specified access token to create a client context - /// - /// Url of the target SharePoint site - /// Access token to be used when calling the specified targetUrl - /// A ClientContext ready to call targetUrl with the specified access token - public static ClientContext GetClientContextWithAccessToken(string targetUrl, string accessToken) - { - ClientContext clientContext = new ClientContext(targetUrl); - - clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous; - clientContext.FormDigestHandlingEnabled = false; - clientContext.ExecutingWebRequest += - delegate(object oSender, WebRequestEventArgs webRequestEventArgs) - { - webRequestEventArgs.WebRequestExecutor.RequestHeaders["Authorization"] = - "Bearer " + accessToken; - }; - - return clientContext; - } - - /// - /// Retrieves an access token from ACS using the specified context token, and uses that access token to create - /// a client context - /// - /// Url of the target SharePoint site - /// Context token received from the target SharePoint site - /// Url authority of the hosted app. If this is null, the value in the HostedAppHostName - /// of web.config will be used instead - /// A ClientContext ready to call targetUrl with a valid access token - public static ClientContext GetClientContextWithContextToken( - string targetUrl, - string contextTokenString, - string appHostUrl) - { - SharePointContextToken contextToken = ReadAndValidateContextToken(contextTokenString, appHostUrl); - - Uri targetUri = new Uri(targetUrl); - - string accessToken = GetAccessToken(contextToken, targetUri.Authority).AccessToken; - - return GetClientContextWithAccessToken(targetUrl, accessToken); - } - - /// - /// Returns the SharePoint url to which the app should redirect the browser to request consent and get back - /// an authorization code. - /// - /// Absolute Url of the SharePoint site - /// Space-delimited permissions to request from the SharePoint site in "shorthand" format - /// (e.g. "Web.Read Site.Write") - /// Url of the SharePoint site's OAuth authorization page - public static string GetAuthorizationUrl(string contextUrl, string scope) - { - return string.Format( - "{0}{1}?IsDlg=1&client_id={2}&scope={3}&response_type=code", - EnsureTrailingSlash(contextUrl), - AuthorizationPage, - ClientId, - scope); - } - - /// - /// Returns the SharePoint url to which the app should redirect the browser to request consent and get back - /// an authorization code. - /// - /// Absolute Url of the SharePoint site - /// Space-delimited permissions to request from the SharePoint site in "shorthand" format - /// (e.g. "Web.Read Site.Write") - /// Uri to which SharePoint should redirect the browser to after consent is - /// granted - /// Url of the SharePoint site's OAuth authorization page - public static string GetAuthorizationUrl(string contextUrl, string scope, string redirectUri) - { - return string.Format( - "{0}{1}?IsDlg=1&client_id={2}&scope={3}&response_type=code&redirect_uri={4}", - EnsureTrailingSlash(contextUrl), - AuthorizationPage, - ClientId, - scope, - redirectUri); - } - - /// - /// Returns the SharePoint url to which the app should redirect the browser to request a new context token. - /// - /// Absolute Url of the SharePoint site - /// Uri to which SharePoint should redirect the browser to with a context token - /// Url of the SharePoint site's context token redirect page - public static string GetAppContextTokenRequestUrl(string contextUrl, string redirectUri) - { - return string.Format( - "{0}{1}?client_id={2}&redirect_uri={3}", - EnsureTrailingSlash(contextUrl), - RedirectPage, - ClientId, - redirectUri); - } - - /// - /// Retrieves an S2S access token signed by the application's private certificate on behalf of the specified - /// WindowsIdentity and intended for the SharePoint at the targetApplicationUri. If no Realm is specified in - /// web.config, an auth challenge will be issued to the targetApplicationUri to discover it. - /// - /// Url of the target SharePoint site - /// Windows identity of the user on whose behalf to create the access token - /// An access token with an audience of the target principal - public static string GetS2SAccessTokenWithWindowsIdentity( - Uri targetApplicationUri, - WindowsIdentity identity) - { - string realm = string.IsNullOrEmpty(Realm) ? GetRealmFromTargetUrl(targetApplicationUri) : Realm; - - JsonWebTokenClaim[] claims = identity != null ? GetClaimsWithWindowsIdentity(identity) : null; - - return GetS2SAccessTokenWithClaims(targetApplicationUri.Authority, realm, claims); - } - - /// - /// Retrieves an S2S client context with an access token signed by the application's private certificate on - /// behalf of the specified WindowsIdentity and intended for application at the targetApplicationUri using the - /// targetRealm. If no Realm is specified in web.config, an auth challenge will be issued to the - /// targetApplicationUri to discover it. - /// - /// Url of the target SharePoint site - /// Windows identity of the user on whose behalf to create the access token - /// A ClientContext using an access token with an audience of the target application - public static ClientContext GetS2SClientContextWithWindowsIdentity( - Uri targetApplicationUri, - WindowsIdentity identity) - { - string realm = string.IsNullOrEmpty(Realm) ? GetRealmFromTargetUrl(targetApplicationUri) : Realm; - - JsonWebTokenClaim[] claims = identity != null ? GetClaimsWithWindowsIdentity(identity) : null; - - string accessToken = GetS2SAccessTokenWithClaims(targetApplicationUri.Authority, realm, claims); - - return GetClientContextWithAccessToken(targetApplicationUri.ToString(), accessToken); - } - - /// - /// Get authentication realm from SharePoint - /// - /// Url of the target SharePoint site - /// String representation of the realm GUID - public static string GetRealmFromTargetUrl(Uri targetApplicationUri) - { - WebRequest request = WebRequest.Create(targetApplicationUri + "/_vti_bin/client.svc"); - request.Headers.Add("Authorization: Bearer "); - - try - { - using (request.GetResponse()) - { - } - } - catch (WebException e) - { - if (e.Response == null) - { - return null; - } - - string bearerResponseHeader = e.Response.Headers["WWW-Authenticate"]; - if (string.IsNullOrEmpty(bearerResponseHeader)) - { - return null; - } - - const string bearer = "Bearer realm=\""; - int bearerIndex = bearerResponseHeader.IndexOf(bearer, StringComparison.Ordinal); - if (bearerIndex < 0) - { - return null; - } - - int realmIndex = bearerIndex + bearer.Length; - - if (bearerResponseHeader.Length >= realmIndex + 36) - { - string targetRealm = bearerResponseHeader.Substring(realmIndex, 36); - - Guid realmGuid; - - if (Guid.TryParse(targetRealm, out realmGuid)) - { - return targetRealm; - } - } - } - return null; - } - - /// - /// Determines if this is a high trust app. - /// - /// True if this is a high trust app. - public static bool IsHighTrustApp() - { - return SigningCredentials != null; - } - - /// - /// Ensures that the specified URL ends with '/' if it is not null or empty. - /// - /// The url. - /// The url ending with '/' if it is not null or empty. - public static string EnsureTrailingSlash(string url) - { - if (!string.IsNullOrEmpty(url) && url[url.Length - 1] != '/') - { - return url + "/"; - } - - return url; - } - - #endregion - - #region private fields - - // - // Configuration Constants - // - - private const string AuthorizationPage = "_layouts/15/OAuthAuthorize.aspx"; - private const string RedirectPage = "_layouts/15/AppRedirect.aspx"; - private const string AcsPrincipalName = "00000001-0000-0000-c000-000000000000"; - private const string AcsMetadataEndPointRelativeUrl = "metadata/json/1"; - private const string S2SProtocol = "OAuth2"; - private const string DelegationIssuance = "DelegationIssuance1.0"; - private const string NameIdentifierClaimType = JsonWebTokenConstants.ReservedClaims.NameIdentifier; - private const string TrustedForImpersonationClaimType = "trustedfordelegation"; - private const string ActorTokenClaimType = JsonWebTokenConstants.ReservedClaims.ActorToken; - - // - // Environment Constants - // - - private static string GlobalEndPointPrefix = "accounts"; - private static string AcsHostUrl = "accesscontrol.windows.net"; - - // - // Hosted app configuration - // - private static readonly string ClientId = string.IsNullOrEmpty(WebConfigurationManager.AppSettings.Get("ClientId")) ? WebConfigurationManager.AppSettings.Get("HostedAppName") : WebConfigurationManager.AppSettings.Get("ClientId"); - private static readonly string IssuerId = string.IsNullOrEmpty(WebConfigurationManager.AppSettings.Get("IssuerId")) ? ClientId : WebConfigurationManager.AppSettings.Get("IssuerId"); - private static readonly string HostedAppHostNameOverride = WebConfigurationManager.AppSettings.Get("HostedAppHostNameOverride"); - private static readonly string HostedAppHostName = WebConfigurationManager.AppSettings.Get("HostedAppHostName"); - private static readonly string ClientSecret = string.IsNullOrEmpty(WebConfigurationManager.AppSettings.Get("ClientSecret")) ? WebConfigurationManager.AppSettings.Get("HostedAppSigningKey") : WebConfigurationManager.AppSettings.Get("ClientSecret"); - private static readonly string SecondaryClientSecret = WebConfigurationManager.AppSettings.Get("SecondaryClientSecret"); - private static readonly string Realm = WebConfigurationManager.AppSettings.Get("Realm"); - private static readonly string ServiceNamespace = WebConfigurationManager.AppSettings.Get("Realm"); - - private static readonly string ClientSigningCertificatePath = WebConfigurationManager.AppSettings.Get("ClientSigningCertificatePath"); - private static readonly string ClientSigningCertificatePassword = WebConfigurationManager.AppSettings.Get("ClientSigningCertificatePassword"); - private static readonly X509Certificate2 ClientCertificate = (string.IsNullOrEmpty(ClientSigningCertificatePath) || string.IsNullOrEmpty(ClientSigningCertificatePassword)) ? null : new X509Certificate2(ClientSigningCertificatePath, ClientSigningCertificatePassword); - private static readonly X509SigningCredentials SigningCredentials = (ClientCertificate == null) ? null : new X509SigningCredentials(ClientCertificate, SecurityAlgorithms.RsaSha256Signature, SecurityAlgorithms.Sha256Digest); - - #endregion - - #region private methods - - private static ClientContext CreateAcsClientContextForUrl(SPRemoteEventProperties properties, Uri sharepointUrl) - { - string contextTokenString = properties.ContextToken; - - if (String.IsNullOrEmpty(contextTokenString)) - { - return null; - } - - SharePointContextToken contextToken = ReadAndValidateContextToken(contextTokenString, OperationContext.Current.IncomingMessageHeaders.To.Host); - string accessToken = GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken; - - return GetClientContextWithAccessToken(sharepointUrl.ToString(), accessToken); - } - - private static string GetAcsMetadataEndpointUrl() - { - return Path.Combine(GetAcsGlobalEndpointUrl(), AcsMetadataEndPointRelativeUrl); - } - - private static string GetFormattedPrincipal(string principalName, string hostName, string realm) - { - if (!String.IsNullOrEmpty(hostName)) - { - return String.Format(CultureInfo.InvariantCulture, "{0}/{1}@{2}", principalName, hostName, realm); - } - - return String.Format(CultureInfo.InvariantCulture, "{0}@{1}", principalName, realm); - } - - private static string GetAcsPrincipalName(string realm) - { - return GetFormattedPrincipal(AcsPrincipalName, new Uri(GetAcsGlobalEndpointUrl()).Host, realm); - } - - private static string GetAcsGlobalEndpointUrl() - { - return String.Format(CultureInfo.InvariantCulture, "https://{0}.{1}/", GlobalEndPointPrefix, AcsHostUrl); - } - - private static JsonWebSecurityTokenHandler CreateJsonWebSecurityTokenHandler() - { - JsonWebSecurityTokenHandler handler = new JsonWebSecurityTokenHandler(); - handler.Configuration = new SecurityTokenHandlerConfiguration(); - handler.Configuration.AudienceRestriction = new AudienceRestriction(AudienceUriMode.Never); - handler.Configuration.CertificateValidator = X509CertificateValidator.None; - - List securityKeys = new List(); - securityKeys.Add(Convert.FromBase64String(ClientSecret)); - if (!string.IsNullOrEmpty(SecondaryClientSecret)) - { - securityKeys.Add(Convert.FromBase64String(SecondaryClientSecret)); - } - - List securityTokens = new List(); - securityTokens.Add(new MultipleSymmetricKeySecurityToken(securityKeys)); - - handler.Configuration.IssuerTokenResolver = - SecurityTokenResolver.CreateDefaultSecurityTokenResolver( - new ReadOnlyCollection(securityTokens), - false); - SymmetricKeyIssuerNameRegistry issuerNameRegistry = new SymmetricKeyIssuerNameRegistry(); - foreach (byte[] securitykey in securityKeys) - { - issuerNameRegistry.AddTrustedIssuer(securitykey, GetAcsPrincipalName(ServiceNamespace)); - } - handler.Configuration.IssuerNameRegistry = issuerNameRegistry; - return handler; - } - - private static string GetS2SAccessTokenWithClaims( - string targetApplicationHostName, - string targetRealm, - IEnumerable claims) - { - return IssueToken( - ClientId, - IssuerId, - targetRealm, - SharePointPrincipal, - targetRealm, - targetApplicationHostName, - true, - claims, - claims == null); - } - - private static JsonWebTokenClaim[] GetClaimsWithWindowsIdentity(WindowsIdentity identity) - { - JsonWebTokenClaim[] claims = new JsonWebTokenClaim[] - { - new JsonWebTokenClaim(NameIdentifierClaimType, identity.User.Value.ToLower()), - new JsonWebTokenClaim("nii", "urn:office:idp:activedirectory") - }; - return claims; - } - - private static string IssueToken( - string sourceApplication, - string issuerApplication, - string sourceRealm, - string targetApplication, - string targetRealm, - string targetApplicationHostName, - bool trustedForDelegation, - IEnumerable claims, - bool appOnly = false) - { - if (null == SigningCredentials) - { - throw new InvalidOperationException("SigningCredentials was not initialized"); - } - - #region Actor token - - string issuer = string.IsNullOrEmpty(sourceRealm) ? issuerApplication : string.Format("{0}@{1}", issuerApplication, sourceRealm); - string nameid = string.IsNullOrEmpty(sourceRealm) ? sourceApplication : string.Format("{0}@{1}", sourceApplication, sourceRealm); - string audience = string.Format("{0}/{1}@{2}", targetApplication, targetApplicationHostName, targetRealm); - - List actorClaims = new List(); - actorClaims.Add(new JsonWebTokenClaim(JsonWebTokenConstants.ReservedClaims.NameIdentifier, nameid)); - if (trustedForDelegation && !appOnly) - { - actorClaims.Add(new JsonWebTokenClaim(TrustedForImpersonationClaimType, "true")); - } - - // Create token - JsonWebSecurityToken actorToken = new JsonWebSecurityToken( - issuer: issuer, - audience: audience, - validFrom: DateTime.UtcNow, - validTo: DateTime.UtcNow.Add(HighTrustAccessTokenLifetime), - signingCredentials: SigningCredentials, - claims: actorClaims); - - string actorTokenString = new JsonWebSecurityTokenHandler().WriteTokenAsString(actorToken); - - if (appOnly) - { - // App-only token is the same as actor token for delegated case - return actorTokenString; - } - - #endregion Actor token - - #region Outer token - - List outerClaims = null == claims ? new List() : new List(claims); - outerClaims.Add(new JsonWebTokenClaim(ActorTokenClaimType, actorTokenString)); - - JsonWebSecurityToken jsonToken = new JsonWebSecurityToken( - nameid, // outer token issuer should match actor token nameid - audience, - DateTime.UtcNow, - DateTime.UtcNow.Add(HighTrustAccessTokenLifetime), - outerClaims); - - string accessToken = new JsonWebSecurityTokenHandler().WriteTokenAsString(jsonToken); - - #endregion Outer token - - return accessToken; - } - - #endregion - - #region AcsMetadataParser - - // This class is used to get MetaData document from the global STS endpoint. It contains - // methods to parse the MetaData document and get endpoints and STS certificate. - public static class AcsMetadataParser - { - public static X509Certificate2 GetAcsSigningCert(string realm) - { - JsonMetadataDocument document = GetMetadataDocument(realm); - - if (null != document.keys && document.keys.Count > 0) - { - JsonKey signingKey = document.keys[0]; - - if (null != signingKey && null != signingKey.keyValue) - { - return new X509Certificate2(Encoding.UTF8.GetBytes(signingKey.keyValue.value)); - } - } - - throw new Exception("Metadata document does not contain ACS signing certificate."); - } - - public static string GetDelegationServiceUrl(string realm) - { - JsonMetadataDocument document = GetMetadataDocument(realm); - - JsonEndpoint delegationEndpoint = document.endpoints.SingleOrDefault(e => e.protocol == DelegationIssuance); - - if (null != delegationEndpoint) - { - return delegationEndpoint.location; - } - throw new Exception("Metadata document does not contain Delegation Service endpoint Url"); - } - - private static JsonMetadataDocument GetMetadataDocument(string realm) - { - string acsMetadataEndpointUrlWithRealm = String.Format(CultureInfo.InvariantCulture, "{0}?realm={1}", - GetAcsMetadataEndpointUrl(), - realm); - byte[] acsMetadata; - using (WebClient webClient = new WebClient()) - { - - acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm); - } - string jsonResponseString = Encoding.UTF8.GetString(acsMetadata); - - JavaScriptSerializer serializer = new JavaScriptSerializer(); - JsonMetadataDocument document = serializer.Deserialize(jsonResponseString); - - if (null == document) - { - throw new Exception("No metadata document found at the global endpoint " + acsMetadataEndpointUrlWithRealm); - } - - return document; - } - - public static string GetStsUrl(string realm) - { - JsonMetadataDocument document = GetMetadataDocument(realm); - - JsonEndpoint s2sEndpoint = document.endpoints.SingleOrDefault(e => e.protocol == S2SProtocol); - - if (null != s2sEndpoint) - { - return s2sEndpoint.location; - } - - throw new Exception("Metadata document does not contain STS endpoint url"); - } - - private class JsonMetadataDocument - { - public string serviceName { get; set; } - public List endpoints { get; set; } - public List keys { get; set; } - } - - private class JsonEndpoint - { - public string location { get; set; } - public string protocol { get; set; } - public string usage { get; set; } - } - - private class JsonKeyValue - { - public string type { get; set; } - public string value { get; set; } - } - - private class JsonKey - { - public string usage { get; set; } - public JsonKeyValue keyValue { get; set; } - } - } - - #endregion - } - - /// - /// A JsonWebSecurityToken generated by SharePoint to authenticate to a 3rd party application and allow callbacks using a refresh token - /// - public class SharePointContextToken : JsonWebSecurityToken - { - public static SharePointContextToken Create(JsonWebSecurityToken contextToken) - { - return new SharePointContextToken(contextToken.Issuer, contextToken.Audience, contextToken.ValidFrom, contextToken.ValidTo, contextToken.Claims); - } - - public SharePointContextToken(string issuer, string audience, DateTime validFrom, DateTime validTo, IEnumerable claims) - : base(issuer, audience, validFrom, validTo, claims) - { - } - - public SharePointContextToken(string issuer, string audience, DateTime validFrom, DateTime validTo, IEnumerable claims, SecurityToken issuerToken, JsonWebSecurityToken actorToken) - : base(issuer, audience, validFrom, validTo, claims, issuerToken, actorToken) - { - } - - public SharePointContextToken(string issuer, string audience, DateTime validFrom, DateTime validTo, IEnumerable claims, SigningCredentials signingCredentials) - : base(issuer, audience, validFrom, validTo, claims, signingCredentials) - { - } - - public string NameId - { - get - { - return GetClaimValue(this, "nameid"); - } - } - - /// - /// The principal name portion of the context token's "appctxsender" claim - /// - public string TargetPrincipalName - { - get - { - string appctxsender = GetClaimValue(this, "appctxsender"); - - if (appctxsender == null) - { - return null; - } - - return appctxsender.Split('@')[0]; - } - } - - /// - /// The context token's "refreshtoken" claim - /// - public string RefreshToken - { - get - { - return GetClaimValue(this, "refreshtoken"); - } - } - - /// - /// The context token's "CacheKey" claim - /// - public string CacheKey - { - get - { - string appctx = GetClaimValue(this, "appctx"); - if (appctx == null) - { - return null; - } - - ClientContext ctx = new ClientContext("http://tempuri.org"); - Dictionary dict = (Dictionary)ctx.ParseObjectFromJsonString(appctx); - string cacheKey = (string)dict["CacheKey"]; - - return cacheKey; - } - } - - /// - /// The context token's "SecurityTokenServiceUri" claim - /// - public string SecurityTokenServiceUri - { - get - { - string appctx = GetClaimValue(this, "appctx"); - if (appctx == null) - { - return null; - } - - ClientContext ctx = new ClientContext("http://tempuri.org"); - Dictionary dict = (Dictionary)ctx.ParseObjectFromJsonString(appctx); - string securityTokenServiceUri = (string)dict["SecurityTokenServiceUri"]; - - return securityTokenServiceUri; - } - } - - /// - /// The realm portion of the context token's "audience" claim - /// - public string Realm - { - get - { - string aud = Audience; - if (aud == null) - { - return null; - } - - string tokenRealm = aud.Substring(aud.IndexOf('@') + 1); - - return tokenRealm; - } - } - - private static string GetClaimValue(JsonWebSecurityToken token, string claimType) - { - if (token == null) - { - throw new ArgumentNullException("token"); - } - - foreach (JsonWebTokenClaim claim in token.Claims) - { - if (StringComparer.Ordinal.Equals(claim.ClaimType, claimType)) - { - return claim.Value; - } - } - - return null; - } - - } - - /// - /// Represents a security token which contains multiple security keys that are generated using symmetric algorithms. - /// - public class MultipleSymmetricKeySecurityToken : SecurityToken - { - /// - /// Initializes a new instance of the MultipleSymmetricKeySecurityToken class. - /// - /// An enumeration of Byte arrays that contain the symmetric keys. - public MultipleSymmetricKeySecurityToken(IEnumerable keys) - : this(UniqueId.CreateUniqueId(), keys) - { - } - - /// - /// Initializes a new instance of the MultipleSymmetricKeySecurityToken class. - /// - /// The unique identifier of the security token. - /// An enumeration of Byte arrays that contain the symmetric keys. - public MultipleSymmetricKeySecurityToken(string tokenId, IEnumerable keys) - { - if (keys == null) - { - throw new ArgumentNullException("keys"); - } - - if (String.IsNullOrEmpty(tokenId)) - { - throw new ArgumentException("Value cannot be a null or empty string.", "tokenId"); - } - - foreach (byte[] key in keys) - { - if (key.Length <= 0) - { - throw new ArgumentException("The key length must be greater then zero.", "keys"); - } - } - - id = tokenId; - effectiveTime = DateTime.UtcNow; - securityKeys = CreateSymmetricSecurityKeys(keys); - } - - /// - /// Gets the unique identifier of the security token. - /// - public override string Id - { - get - { - return id; - } - } - - /// - /// Gets the cryptographic keys associated with the security token. - /// - public override ReadOnlyCollection SecurityKeys - { - get - { - return securityKeys.AsReadOnly(); - } - } - - /// - /// Gets the first instant in time at which this security token is valid. - /// - public override DateTime ValidFrom - { - get - { - return effectiveTime; - } - } - - /// - /// Gets the last instant in time at which this security token is valid. - /// - public override DateTime ValidTo - { - get - { - // Never expire - return DateTime.MaxValue; - } - } - - /// - /// Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier. - /// - /// A SecurityKeyIdentifierClause to compare to this instance - /// true if keyIdentifierClause is a SecurityKeyIdentifierClause and it has the same unique identifier as the Id property; otherwise, false. - public override bool MatchesKeyIdentifierClause(SecurityKeyIdentifierClause keyIdentifierClause) - { - if (keyIdentifierClause == null) - { - throw new ArgumentNullException("keyIdentifierClause"); - } - - // Since this is a symmetric token and we do not have IDs to distinguish tokens, we just check for the - // presence of a SymmetricIssuerKeyIdentifier. The actual mapping to the issuer takes place later - // when the key is matched to the issuer. - if (keyIdentifierClause is SymmetricIssuerKeyIdentifierClause) - { - return true; - } - return base.MatchesKeyIdentifierClause(keyIdentifierClause); - } - - #region private members - - private List CreateSymmetricSecurityKeys(IEnumerable keys) - { - List symmetricKeys = new List(); - foreach (byte[] key in keys) - { - symmetricKeys.Add(new InMemorySymmetricSecurityKey(key)); - } - return symmetricKeys; - } - - private string id; - private DateTime effectiveTime; - private List securityKeys; - - #endregion - } -} diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/TokenHelper.vb.pp b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/TokenHelper.vb.pp deleted file mode 100644 index c8f7cfb14..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Content/TokenHelper.vb.pp +++ /dev/null @@ -1,1099 +0,0 @@ -Imports Microsoft.IdentityModel -Imports Microsoft.IdentityModel.S2S.Protocols.OAuth2 -Imports Microsoft.IdentityModel.S2S.Tokens -Imports Microsoft.SharePoint.Client -Imports Microsoft.SharePoint.Client.EventReceivers -Imports System -Imports System.Collections.Generic -Imports System.Collections.ObjectModel -Imports System.Globalization -Imports System.IdentityModel.Selectors -Imports System.IdentityModel.Tokens -Imports System.IO -Imports System.Linq -Imports System.Net -Imports System.Security.Cryptography.X509Certificates -Imports System.Security.Principal -Imports System.ServiceModel -Imports System.Text -Imports System.Web -Imports System.Web.Configuration -Imports System.Web.Script.Serialization -Imports AudienceRestriction = Microsoft.IdentityModel.Tokens.AudienceRestriction -Imports AudienceUriValidationFailedException = Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException -Imports SecurityTokenHandlerConfiguration = Microsoft.IdentityModel.Tokens.SecurityTokenHandlerConfiguration -Imports X509SigningCredentials = Microsoft.IdentityModel.SecurityTokenService.X509SigningCredentials - -Public NotInheritable Class TokenHelper - -#Region "public fields" - - ''' - ''' SharePoint principal. - ''' - Public Const SharePointPrincipal As String = "00000003-0000-0ff1-ce00-000000000000" - - ''' - ''' Lifetime of HighTrust access token, 12 hours. - ''' - Public Shared ReadOnly HighTrustAccessTokenLifetime As TimeSpan = TimeSpan.FromHours(12.0) - -#End Region - -#Region "public methods" - - ''' - ''' Retrieves the context token string from the specified request by looking for well-known parameter names in the - ''' POSTed form parameters and the querystring. Returns Nothing if no context token is found. - ''' - ''' HttpRequest in which to look for a context token - ''' The context token string - Public Shared Function GetContextTokenFromRequest(request As HttpRequest) As String - Return GetContextTokenFromRequest(New HttpRequestWrapper(request)) - End Function - - ''' - ''' Retrieves the context token string from the specified request by looking for well-known parameter names in the - ''' POSTed form parameters and the querystring. Returns Nothing if no context token is found. - ''' - ''' HttpRequest in which to look for a context token - ''' The context token string - Public Shared Function GetContextTokenFromRequest(request As HttpRequestBase) As String - Dim paramNames As String() = {"AppContext", "AppContextToken", "AccessToken", "SPAppToken"} - For Each paramName As String In paramNames - If Not String.IsNullOrEmpty(request.Form(paramName)) Then - Return request.Form(paramName) - End If - If Not String.IsNullOrEmpty(request.QueryString(paramName)) Then - Return request.QueryString(paramName) - End If - Next - Return Nothing - End Function - - ''' - ''' Validate that a specified context token string is intended for this application based on the parameters - ''' specified in web.config. Parameters used from web.config used for validation include ClientId, - ''' HostedAppHostNameOverride, HostedAppHostName, ClientSecret, and Realm (if it is specified). If HostedAppHostNameOverride is present, - ''' it will be used for validation. Otherwise, if the is not - ''' Nothing, it is used for validation instead of the web.config's HostedAppHostName. If the token is invalid, an - ''' exception is thrown. If the token is valid, TokenHelper's static STS metadata url is updated based on the token contents - ''' and a JsonWebSecurityToken based on the context token is returned. - ''' - ''' The context token to validate - ''' The URL authority, consisting of Domain Name System (DNS) host name or IP address and the port number, to use for token audience validation. - ''' If Nothing, HostedAppHostName web.config setting is used instead. HostedAppHostNameOverride web.config setting, if present, will be used - ''' for validation instead of . - ''' A JsonWebSecurityToken based on the context token. - Public Shared Function ReadAndValidateContextToken(contextTokenString As String, Optional appHostName As String = Nothing) As SharePointContextToken - Dim tokenHandler As JsonWebSecurityTokenHandler = CreateJsonWebSecurityTokenHandler() - Dim securityToken As SecurityToken = tokenHandler.ReadToken(contextTokenString) - Dim jsonToken As JsonWebSecurityToken = TryCast(securityToken, JsonWebSecurityToken) - Dim token As SharePointContextToken = SharePointContextToken.Create(jsonToken) - - Dim stsAuthority As String = (New Uri(token.SecurityTokenServiceUri)).Authority - Dim firstDot As Integer = stsAuthority.IndexOf("."c) - - GlobalEndPointPrefix = stsAuthority.Substring(0, firstDot) - AcsHostUrl = stsAuthority.Substring(firstDot + 1) - - tokenHandler.ValidateToken(jsonToken) - - Dim acceptableAudiences As String() - If Not [String].IsNullOrEmpty(HostedAppHostNameOverride) Then - acceptableAudiences = HostedAppHostNameOverride.Split(";"c) - ElseIf appHostName Is Nothing Then - acceptableAudiences = {HostedAppHostName} - Else - acceptableAudiences = {appHostName} - End If - - Dim validationSuccessful As Boolean - Dim definedRealm As String = If(Realm, token.Realm) - For Each audience In acceptableAudiences - Dim principal As String = GetFormattedPrincipal(ClientId, audience, definedRealm) - If StringComparer.OrdinalIgnoreCase.Equals(token.Audience, principal) Then - validationSuccessful = True - Exit For - End If - Next - - If Not validationSuccessful Then - Throw New AudienceUriValidationFailedException([String].Format(CultureInfo.CurrentCulture, """{0}"" is not the intended audience ""{1}""", [String].Join(";", acceptableAudiences), token.Audience)) - End If - - Return token - End Function - - ''' - ''' Retrieves an access token from ACS to call the source of the specified context token at the specified - ''' targetHost. The targetHost must be registered for the principal that sent the context token. - ''' - ''' Context token issued by the intended access token audience - ''' Url authority of the target principal - ''' An access token with an audience matching the context token's source - Public Shared Function GetAccessToken(contextToken As SharePointContextToken, targetHost As String) As OAuth2AccessTokenResponse - - Dim targetPrincipalName As String = contextToken.TargetPrincipalName - - ' Extract the refreshToken from the context token - Dim refreshToken As String = contextToken.RefreshToken - - If [String].IsNullOrEmpty(refreshToken) Then - Return Nothing - End If - - Dim targetRealm As String = If(Realm, contextToken.Realm) - - Return GetAccessToken(refreshToken, targetPrincipalName, targetHost, targetRealm) - End Function - - ''' - ''' Uses the specified authorization code to retrieve an access token from ACS to call the specified principal - ''' at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - ''' Nothing, the "Realm" setting in web.config will be used instead. - ''' - ''' Authorization code to exchange for access token - ''' Name of the target principal to retrieve an access token for - ''' Url authority of the target principal - ''' Realm to use for the access token's nameid and audience - ''' Redirect URI registerd for this app - ''' An access token with an audience of the target principal - Public Shared Function GetAccessToken(authorizationCode As String, targetPrincipalName As String, targetHost As String, targetRealm As String, redirectUri As Uri) As OAuth2AccessTokenResponse - - If targetRealm Is Nothing Then - targetRealm = Realm - End If - - Dim resource As String = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm) - Dim formattedClientId As String = GetFormattedPrincipal(ClientId, Nothing, targetRealm) - - ' Create request for token. The RedirectUri is Nothing here. This will fail if redirect uri is registered - Dim oauth2Request As OAuth2AccessTokenRequest = OAuth2MessageFactory.CreateAccessTokenRequestWithAuthorizationCode(formattedClientId, ClientSecret, authorizationCode, redirectUri, resource) - - ' Get token - Dim client As New OAuth2S2SClient() - Dim oauth2Response As OAuth2AccessTokenResponse - Try - oauth2Response = TryCast(client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request), OAuth2AccessTokenResponse) - Catch ex As WebException - Using sr As New StreamReader(ex.Response.GetResponseStream()) - Dim responseText As String = sr.ReadToEnd() - Throw New WebException(ex.Message + " - " + responseText, ex) - End Using - End Try - - Return oauth2Response - End Function - - ''' - ''' Uses the specified refresh token to retrieve an access token from ACS to call the specified principal - ''' at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - ''' Nothing, the "Realm" setting in web.config will be used instead. - ''' - ''' Refresh token to exchange for access token - ''' Name of the target principal to retrieve an access token for - ''' Url authority of the target principal - ''' Realm to use for the access token's nameid and audience - ''' An access token with an audience of the target principal - Public Shared Function GetAccessToken(refreshToken As String, targetPrincipalName As String, targetHost As String, targetRealm As String) As OAuth2AccessTokenResponse - - If targetRealm Is Nothing Then - targetRealm = Realm - End If - - Dim resource As String = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm) - Dim formattedClientId As String = GetFormattedPrincipal(ClientId, Nothing, targetRealm) - - Dim oauth2Request As OAuth2AccessTokenRequest = OAuth2MessageFactory.CreateAccessTokenRequestWithRefreshToken(formattedClientId, ClientSecret, refreshToken, resource) - - ' Get token - Dim client As New OAuth2S2SClient() - Dim oauth2Response As OAuth2AccessTokenResponse - Try - oauth2Response = TryCast(client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request), OAuth2AccessTokenResponse) - Catch wex As WebException - Using sr As New StreamReader(wex.Response.GetResponseStream()) - Dim responseText As String = sr.ReadToEnd() - Throw New WebException(wex.Message + " - " & responseText, wex) - End Using - End Try - - Return oauth2Response - End Function - - ''' - ''' Retrieves an app-only access token from ACS to call the specified principal - ''' at the specified targetHost. The targetHost must be registered for target principal. If specified realm is - ''' Nothing, the "Realm" setting in web.config will be used instead. - ''' - ''' Name of the target principal to retrieve an access token for - ''' Url authority of the target principal - ''' Realm to use for the access token's nameid and audience - ''' An access token with an audience of the target principal - Public Shared Function GetAppOnlyAccessToken(targetPrincipalName As String, targetHost As String, targetRealm As String) As OAuth2AccessTokenResponse - - If targetRealm Is Nothing Then - targetRealm = Realm - End If - - Dim resource As String = GetFormattedPrincipal(targetPrincipalName, targetHost, targetRealm) - Dim formattedClientId As String = GetFormattedPrincipal(ClientId, HostedAppHostName, targetRealm) - - Dim oauth2Request As OAuth2AccessTokenRequest = OAuth2MessageFactory.CreateAccessTokenRequestWithClientCredentials(formattedClientId, ClientSecret, resource) - oauth2Request.Resource = resource - - ' Get token - Dim client As New OAuth2S2SClient() - - Dim oauth2Response As OAuth2AccessTokenResponse - Try - oauth2Response = TryCast(client.Issue(AcsMetadataParser.GetStsUrl(targetRealm), oauth2Request), OAuth2AccessTokenResponse) - Catch wex As WebException - Using sr As New StreamReader(wex.Response.GetResponseStream()) - Dim responseText As String = sr.ReadToEnd() - Throw New WebException(wex.Message + " - " & responseText, wex) - End Using - End Try - - Return oauth2Response - End Function - - ''' - ''' Creates a client context based on the properties of a remote event receiver - ''' - ''' Properties of a remote event receiver - ''' A ClientContext ready to call the web where the event originated - Public Shared Function CreateRemoteEventReceiverClientContext(properties As SPRemoteEventProperties) As ClientContext - Dim sharepointUrl As Uri - If properties.ListEventProperties IsNot Nothing Then - sharepointUrl = New Uri(properties.ListEventProperties.WebUrl) - ElseIf properties.ItemEventProperties IsNot Nothing Then - sharepointUrl = New Uri(properties.ItemEventProperties.WebUrl) - ElseIf properties.WebEventProperties IsNot Nothing Then - sharepointUrl = New Uri(properties.WebEventProperties.FullUrl) - Else - Return Nothing - End If - - If IsHighTrustApp() Then - Return GetS2SClientContextWithWindowsIdentity(sharepointUrl, Nothing) - End If - - Return CreateAcsClientContextForUrl(properties, sharepointUrl) - - End Function - - ''' - ''' Creates a client context based on the properties of an app event - ''' - ''' Properties of an app event - ''' True to target the app web, false to target the host web - ''' A ClientContext ready to call the app web or the parent web - Public Shared Function CreateAppEventClientContext(properties As SPRemoteEventProperties, useAppWeb As Boolean) As ClientContext - If properties.AppEventProperties Is Nothing Then - Return Nothing - End If - - Dim sharepointUrl As Uri = If(useAppWeb, properties.AppEventProperties.AppWebFullUrl, properties.AppEventProperties.HostWebFullUrl) - If IsHighTrustApp() Then - Return GetS2SClientContextWithWindowsIdentity(sharepointUrl, Nothing) - End If - - Return CreateAcsClientContextForUrl(properties, sharepointUrl) - End Function - - ''' - ''' Retrieves an access token from ACS using the specified authorization code, and uses that access token to - ''' create a client context - ''' - ''' Url of the target SharePoint site - ''' Authorization code to use when retrieving the access token from ACS - ''' Redirect URI registerd for this app - ''' A ClientContext ready to call targetUrl with a valid access token - Public Shared Function GetClientContextWithAuthorizationCode(targetUrl As String, authorizationCode As String, redirectUri As Uri) As ClientContext - Return GetClientContextWithAuthorizationCode(targetUrl, SharePointPrincipal, authorizationCode, GetRealmFromTargetUrl(New Uri(targetUrl)), redirectUri) - End Function - - ''' - ''' Retrieves an access token from ACS using the specified authorization code, and uses that access token to - ''' create a client context - ''' - ''' Url of the target SharePoint site - ''' Name of the target SharePoint principal - ''' Authorization code to use when retrieving the access token from ACS - ''' Realm to use for the access token's nameid and audience - ''' Redirect URI registerd for this app - ''' A ClientContext ready to call targetUrl with a valid access token - Public Shared Function GetClientContextWithAuthorizationCode(targetUrl As String, targetPrincipalName As String, authorizationCode As String, targetRealm As String, redirectUri As Uri) As ClientContext - Dim targetUri As New Uri(targetUrl) - - Dim accessToken As String = GetAccessToken(authorizationCode, targetPrincipalName, targetUri.Authority, targetRealm, redirectUri).AccessToken - - Return GetClientContextWithAccessToken(targetUrl, accessToken) - End Function - - ''' - ''' Uses the specified access token to create a client context - ''' - ''' Url of the target SharePoint site - ''' Access token to be used when calling the specified targetUrl - ''' A ClientContext ready to call targetUrl with the specified access token - Public Shared Function GetClientContextWithAccessToken(targetUrl As String, accessToken As String) As ClientContext - Dim clientContext As New ClientContext(targetUrl) - - clientContext.AuthenticationMode = ClientAuthenticationMode.Anonymous - clientContext.FormDigestHandlingEnabled = False - - AddHandler clientContext.ExecutingWebRequest, Sub(oSender As Object, webRequestEventArgs As WebRequestEventArgs) - webRequestEventArgs.WebRequestExecutor.RequestHeaders("Authorization") = "Bearer " & accessToken - End Sub - Return clientContext - End Function - - ''' - ''' Retrieves an access token from ACS using the specified context token, and uses that access token to create - ''' a client context - ''' - ''' Url of the target SharePoint site - ''' Context token received from the target SharePoint site - ''' Url authority of the hosted app. If this is Nothing, the value in the HostedAppHostName - ''' of web.config will be used instead - ''' A ClientContext ready to call targetUrl with a valid access token - Public Shared Function GetClientContextWithContextToken(targetUrl As String, contextTokenString As String, appHostUrl As String) As ClientContext - Dim contextToken As SharePointContextToken = ReadAndValidateContextToken(contextTokenString, appHostUrl) - - Dim targetUri As New Uri(targetUrl) - - Dim accessToken As String = GetAccessToken(contextToken, targetUri.Authority).AccessToken - - Return GetClientContextWithAccessToken(targetUrl, accessToken) - End Function - - ''' - ''' Returns the SharePoint url to which the app should redirect the browser to request consent and get back - ''' an authorization code. - ''' - ''' Absolute Url of the SharePoint site - ''' Space-delimited permissions to request from the SharePoint site in "shorthand" format - ''' (e.g. "Web.Read Site.Write") - ''' Url of the SharePoint site's OAuth authorization page - Public Shared Function GetAuthorizationUrl(contextUrl As String, scope As String) As String - Return String.Format("{0}{1}?IsDlg=1&client_id={2}&scope={3}&response_type=code", EnsureTrailingSlash(contextUrl), AuthorizationPage, ClientId, scope) - End Function - - ''' - ''' Returns the SharePoint url to which the app should redirect the browser to request consent and get back - ''' an authorization code. - ''' - ''' Absolute Url of the SharePoint site - ''' Space-delimited permissions to request from the SharePoint site in "shorthand" format - ''' (e.g. "Web.Read Site.Write") - ''' Uri to which SharePoint should redirect the browser to after consent is - ''' granted - ''' Url of the SharePoint site's OAuth authorization page - Public Shared Function GetAuthorizationUrl(contextUrl As String, scope As String, redirectUri As String) As String - Return String.Format("{0}{1}?IsDlg=1&client_id={2}&scope={3}&response_type=code&redirect_uri={4}", EnsureTrailingSlash(contextUrl), AuthorizationPage, ClientId, scope, redirectUri) - End Function - - ''' - ''' Returns the SharePoint url to which the app should redirect the browser to request a new context token. - ''' - ''' Absolute Url of the SharePoint site - ''' Uri to which SharePoint should redirect the browser to with a context token - ''' Url of the SharePoint site's context token redirect page - Public Shared Function GetAppContextTokenRequestUrl(contextUrl As String, redirectUri As String) As String - Return String.Format("{0}{1}?client_id={2}&redirect_uri={3}", EnsureTrailingSlash(contextUrl), RedirectPage, ClientId, redirectUri) - End Function - - ''' - ''' Retrieves an S2S access token signed by the application's private certificate on behalf of the specified - ''' WindowsIdentity and intended for the SharePoint at the targetApplicationUri. If no Realm is specified in - ''' web.config, an auth challenge will be issued to the targetApplicationUri to discover it. - ''' - ''' Url of the target SharePoint site - ''' Windows identity of the user on whose behalf to create the access token - ''' An access token with an audience of the target principal - Public Shared Function GetS2SAccessTokenWithWindowsIdentity(targetApplicationUri As Uri, identity As WindowsIdentity) As String - Dim targetRealm As String = If(String.IsNullOrEmpty(Realm), GetRealmFromTargetUrl(targetApplicationUri), Realm) - - Dim claims As JsonWebTokenClaim() = If(identity IsNot Nothing, GetClaimsWithWindowsIdentity(identity), Nothing) - - Return GetS2SAccessTokenWithClaims(targetApplicationUri.Authority, targetRealm, claims) - End Function - - ''' - ''' Retrieves an S2S client context with an access token signed by the application's private certificate on - ''' behalf of the specified WindowsIdentity and intended for application at the targetApplicationUri using the - ''' targetRealm. If no Realm is specified in web.config, an auth challenge will be issued to the - ''' targetApplicationUri to discover it. - ''' - ''' Url of the target SharePoint site - ''' Windows identity of the user on whose behalf to create the access token - ''' A ClientContext using an access token with an audience of the target application - Public Shared Function GetS2SClientContextWithWindowsIdentity(targetApplicationUri As Uri, identity As WindowsIdentity) As ClientContext - Dim targetRealm As String = If(String.IsNullOrEmpty(Realm), GetRealmFromTargetUrl(targetApplicationUri), Realm) - - Dim claims As JsonWebTokenClaim() = If(identity IsNot Nothing, GetClaimsWithWindowsIdentity(identity), Nothing) - - Dim accessToken As String = GetS2SAccessTokenWithClaims(targetApplicationUri.Authority, targetRealm, claims) - - Return GetClientContextWithAccessToken(targetApplicationUri.ToString(), accessToken) - End Function - - ''' - ''' Get authentication realm from SharePoint - ''' - ''' Url of the target SharePoint site - ''' String representation of the realm GUID - Public Shared Function GetRealmFromTargetUrl(targetApplicationUri As Uri) As String - Dim request As WebRequest = HttpWebRequest.Create(targetApplicationUri.ToString() & "/_vti_bin/client.svc") - request.Headers.Add("Authorization: Bearer ") - - Try - request.GetResponse().Close() - Catch e As WebException - If e.Response Is Nothing Then - Return Nothing - End If - - Dim bearerResponseHeader As String = e.Response.Headers("WWW-Authenticate") - If String.IsNullOrEmpty(bearerResponseHeader) Then - Return Nothing - End If - - Const bearer As String = "Bearer realm=""" - Dim bearerIndex As Integer = bearerResponseHeader.IndexOf(bearer, StringComparison.Ordinal) - If bearerIndex < 0 Then - Return Nothing - End If - - Dim realmIndex As Integer = bearerIndex + bearer.Length - - If bearerResponseHeader.Length >= realmIndex + 36 Then - Dim targetRealm As String = bearerResponseHeader.Substring(realmIndex, 36) - - Dim realmGuid As Guid - - If Guid.TryParse(targetRealm, realmGuid) Then - Return targetRealm - End If - End If - End Try - Return Nothing - End Function - - ''' - ''' Determines if this is a high trust app. - ''' - ''' True if this is a high trust app. - Public Shared Function IsHighTrustApp() As Boolean - Return SigningCredentials IsNot Nothing - End Function - - ''' - ''' Ensures that the specified URL ends with '/' if it is not null or empty. - ''' - ''' The url. - ''' The url ending with '/' if it is not null or empty. - Public Shared Function EnsureTrailingSlash(url As String) As String - If Not String.IsNullOrEmpty(url) AndAlso url(url.Length - 1) <> "/"c Then - Return url + "/" - End If - - Return url - End Function - -#End Region - -#Region "private fields" - - ' - ' Configuration Constants - ' - - Private Const AuthorizationPage As String = "_layouts/15/OAuthAuthorize.aspx" - Private Const RedirectPage As String = "_layouts/15/AppRedirect.aspx" - Private Const AcsPrincipalName As String = "00000001-0000-0000-c000-000000000000" - Private Const AcsMetadataEndPointRelativeUrl As String = "metadata/json/1" - Private Const S2SProtocol As String = "OAuth2" - Private Const DelegationIssuance As String = "DelegationIssuance1.0" - Private Const NameIdentifierClaimType As String = JsonWebTokenConstants.ReservedClaims.NameIdentifier - Private Const TrustedForImpersonationClaimType As String = "trustedfordelegation" - Private Const ActorTokenClaimType As String = JsonWebTokenConstants.ReservedClaims.ActorToken - - ' - ' Environment Constants - ' - - Private Shared GlobalEndPointPrefix As String = "accounts" - Private Shared AcsHostUrl As String = "accesscontrol.windows.net" - - ' - ' Hosted app configuration - ' - Private Shared ReadOnly ClientId As String = If(String.IsNullOrEmpty(WebConfigurationManager.AppSettings.[Get]("ClientId")), WebConfigurationManager.AppSettings.[Get]("HostedAppName"), WebConfigurationManager.AppSettings.[Get]("ClientId")) - - Private Shared ReadOnly IssuerId As String = If(String.IsNullOrEmpty(WebConfigurationManager.AppSettings.[Get]("IssuerId")), ClientId, WebConfigurationManager.AppSettings.[Get]("IssuerId")) - - Private Shared ReadOnly HostedAppHostName As String = WebConfigurationManager.AppSettings.[Get]("HostedAppHostName") - - Private Shared ReadOnly HostedAppHostNameOverride As String = WebConfigurationManager.AppSettings.[Get]("HostedAppHostNameOverride") - - Private Shared ReadOnly ClientSecret As String = If(String.IsNullOrEmpty(WebConfigurationManager.AppSettings.[Get]("ClientSecret")), WebConfigurationManager.AppSettings.[Get]("HostedAppSigningKey"), WebConfigurationManager.AppSettings.[Get]("ClientSecret")) - - Private Shared ReadOnly SecondaryClientSecret As String = WebConfigurationManager.AppSettings.[Get]("SecondaryClientSecret") - - Private Shared ReadOnly Realm As String = WebConfigurationManager.AppSettings.[Get]("Realm") - - Private Shared ReadOnly ServiceNamespace As String = WebConfigurationManager.AppSettings.[Get]("Realm") - - Private Shared ReadOnly ClientSigningCertificatePath As String = WebConfigurationManager.AppSettings.[Get]("ClientSigningCertificatePath") - - Private Shared ReadOnly ClientSigningCertificatePassword As String = WebConfigurationManager.AppSettings.[Get]("ClientSigningCertificatePassword") - - Private Shared ReadOnly ClientCertificate As X509Certificate2 = If((String.IsNullOrEmpty(ClientSigningCertificatePath) OrElse String.IsNullOrEmpty(ClientSigningCertificatePassword)), Nothing, New X509Certificate2(ClientSigningCertificatePath, ClientSigningCertificatePassword)) - - Private Shared ReadOnly SigningCredentials As X509SigningCredentials = If((ClientCertificate Is Nothing), Nothing, New X509SigningCredentials(ClientCertificate, SecurityAlgorithms.RsaSha256Signature, SecurityAlgorithms.Sha256Digest)) - -#End Region - -#Region "private methods" - - Private Shared Function CreateAcsClientContextForUrl(properties As SPRemoteEventProperties, sharepointUrl As Uri) As ClientContext - Dim contextTokenString As String = properties.ContextToken - - If [String].IsNullOrEmpty(contextTokenString) Then - Return Nothing - End If - - Dim contextToken As SharePointContextToken = ReadAndValidateContextToken(contextTokenString, OperationContext.Current.IncomingMessageHeaders.To.Host) - - Dim accessToken As String = GetAccessToken(contextToken, sharepointUrl.Authority).AccessToken - Return GetClientContextWithAccessToken(sharepointUrl.ToString(), accessToken) - End Function - - Private Shared Function GetAcsMetadataEndpointUrl() As String - Return Path.Combine(GetAcsGlobalEndpointUrl(), AcsMetadataEndPointRelativeUrl) - End Function - - Private Shared Function GetFormattedPrincipal(principalName As String, hostName As String, targetRealm As String) As String - If Not [String].IsNullOrEmpty(hostName) Then - Return [String].Format(CultureInfo.InvariantCulture, "{0}/{1}@{2}", principalName, hostName, targetRealm) - End If - - Return [String].Format(CultureInfo.InvariantCulture, "{0}@{1}", principalName, targetRealm) - End Function - - Private Shared Function GetAcsPrincipalName(targetRealm As String) As String - Return GetFormattedPrincipal(AcsPrincipalName, New Uri(GetAcsGlobalEndpointUrl()).Host, targetRealm) - End Function - - Private Shared Function GetAcsGlobalEndpointUrl() As String - Return [String].Format(CultureInfo.InvariantCulture, "https://{0}.{1}/", GlobalEndPointPrefix, AcsHostUrl) - End Function - - Private Shared Function CreateJsonWebSecurityTokenHandler() As JsonWebSecurityTokenHandler - Dim handler As New JsonWebSecurityTokenHandler() - handler.Configuration = New SecurityTokenHandlerConfiguration() - handler.Configuration.AudienceRestriction = New AudienceRestriction(AudienceUriMode.Never) - handler.Configuration.CertificateValidator = X509CertificateValidator.None - - Dim securityKeys As New List(Of Byte())() - securityKeys.Add(Convert.FromBase64String(ClientSecret)) - If Not String.IsNullOrEmpty(SecondaryClientSecret) Then - securityKeys.Add(Convert.FromBase64String(SecondaryClientSecret)) - End If - - Dim securityTokens As New List(Of SecurityToken)() - securityTokens.Add(New MultipleSymmetricKeySecurityToken(securityKeys)) - - handler.Configuration.IssuerTokenResolver = - SecurityTokenResolver.CreateDefaultSecurityTokenResolver( - New ReadOnlyCollection(Of SecurityToken)(securityTokens), False) - Dim issuerNameRegistry As New SymmetricKeyIssuerNameRegistry() - For Each securityKey As Byte() In securityKeys - issuerNameRegistry.AddTrustedIssuer(securityKey, GetAcsPrincipalName(ServiceNamespace)) - Next - - handler.Configuration.IssuerNameRegistry = issuerNameRegistry - Return handler - End Function - - Private Shared Function GetS2SAccessTokenWithClaims(targetApplicationHostName As String, targetRealm As String, claims As IEnumerable(Of JsonWebTokenClaim)) As String - Return IssueToken(ClientId, IssuerId, targetRealm, SharePointPrincipal, targetRealm, targetApplicationHostName, True, - claims, claims Is Nothing) - End Function - - Private Shared Function GetClaimsWithWindowsIdentity(identity As WindowsIdentity) As JsonWebTokenClaim() - Dim claims As JsonWebTokenClaim() = New JsonWebTokenClaim() _ - {New JsonWebTokenClaim(NameIdentifierClaimType, identity.User.Value.ToLower()), - New JsonWebTokenClaim("nii", "urn:office:idp:activedirectory")} - Return claims - End Function - - Private Shared Function IssueToken(sourceApplication As String, issuerApplication As String, sourceRealm As String, targetApplication As String, targetRealm As String, targetApplicationHostName As String, trustedForDelegation As Boolean, _ - claims As IEnumerable(Of JsonWebTokenClaim), Optional appOnly As Boolean = False) As String - If SigningCredentials Is Nothing Then - Throw New InvalidOperationException("SigningCredentials was not initialized") - End If - - '#Region "Actor token" - - Dim issuer As String = If(String.IsNullOrEmpty(sourceRealm), issuerApplication, String.Format("{0}@{1}", issuerApplication, sourceRealm)) - Dim nameid As String = If(String.IsNullOrEmpty(sourceRealm), sourceApplication, String.Format("{0}@{1}", sourceApplication, sourceRealm)) - Dim audience As String = String.Format("{0}/{1}@{2}", targetApplication, targetApplicationHostName, targetRealm) - - Dim actorClaims As New List(Of JsonWebTokenClaim)() - actorClaims.Add(New JsonWebTokenClaim(JsonWebTokenConstants.ReservedClaims.NameIdentifier, nameid)) - If trustedForDelegation AndAlso Not appOnly Then - actorClaims.Add(New JsonWebTokenClaim(TrustedForImpersonationClaimType, "true")) - End If - - ' Create token - Dim actorToken As New JsonWebSecurityToken(issuer:=issuer, audience:=audience, validFrom:=DateTime.UtcNow, validTo:=DateTime.UtcNow.Add(HighTrustAccessTokenLifetime), signingCredentials:=SigningCredentials, claims:=actorClaims) - - Dim actorTokenString As String = New JsonWebSecurityTokenHandler().WriteTokenAsString(actorToken) - - If appOnly Then - ' App-only token is the same as actor token for delegated case - Return actorTokenString - End If - - '#End Region - - '#Region "Outer token" - - Dim outerClaims As List(Of JsonWebTokenClaim) = If(claims Is Nothing, New List(Of JsonWebTokenClaim)(), New List(Of JsonWebTokenClaim)(claims)) - outerClaims.Add(New JsonWebTokenClaim(ActorTokenClaimType, actorTokenString)) - - ' outer token issuer should match actor token nameid - Dim jsonToken As New JsonWebSecurityToken(nameid, audience, DateTime.UtcNow, DateTime.UtcNow.Add(HighTrustAccessTokenLifetime), outerClaims) - - Dim accessToken As String = New JsonWebSecurityTokenHandler().WriteTokenAsString(jsonToken) - - '#End Region - - Return accessToken - End Function - -#End Region - -#Region "AcsMetadataParser" - - ' This class is used to get MetaData document from the global STS endpoint. It contains - ' methods to parse the MetaData document and get endpoints and STS certificate. - Public NotInheritable Class AcsMetadataParser - Private Sub New() - End Sub - - Public Shared Function GetAcsSigningCert(realm As String) As X509Certificate2 - Dim document As JsonMetadataDocument = GetMetadataDocument(realm) - - If document.keys IsNot Nothing AndAlso document.keys.Count > 0 Then - Dim signingKey As JsonKey = document.keys(0) - - If signingKey IsNot Nothing AndAlso signingKey.keyValue IsNot Nothing Then - Return New X509Certificate2(Encoding.UTF8.GetBytes(signingKey.keyValue.value)) - End If - End If - - Throw New Exception("Metadata document does not contain ACS signing certificate.") - End Function - - Public Shared Function GetDelegationServiceUrl(realm As String) As String - Dim document As JsonMetadataDocument = GetMetadataDocument(realm) - - Dim delegationEndpoint As JsonEndpoint = document.endpoints.SingleOrDefault(Function(e) e.protocol = DelegationIssuance) - - If delegationEndpoint IsNot Nothing Then - Return delegationEndpoint.location - End If - - Throw New Exception("Metadata document does not contain Delegation Service endpoint Url") - End Function - - Private Shared Function GetMetadataDocument(realm As String) As JsonMetadataDocument - Dim acsMetadataEndpointUrlWithRealm As String = [String].Format(CultureInfo.InvariantCulture, "{0}?realm={1}", GetAcsMetadataEndpointUrl(), realm) - Dim acsMetadata As Byte() - Using webClient As New WebClient() - acsMetadata = webClient.DownloadData(acsMetadataEndpointUrlWithRealm) - End Using - Dim jsonResponseString As String = Encoding.UTF8.GetString(acsMetadata) - - Dim serializer As New JavaScriptSerializer() - Dim document As JsonMetadataDocument = serializer.Deserialize(Of JsonMetadataDocument)(jsonResponseString) - - If document Is Nothing Then - Throw New Exception("No metadata document found at the global endpoint " & acsMetadataEndpointUrlWithRealm) - End If - - Return document - End Function - - Public Shared Function GetStsUrl(realm As String) As String - Dim document As JsonMetadataDocument = GetMetadataDocument(realm) - - Dim s2sEndpoint As JsonEndpoint = document.endpoints.SingleOrDefault(Function(e) e.protocol = S2SProtocol) - - If s2sEndpoint IsNot Nothing Then - Return s2sEndpoint.location - End If - - Throw New Exception("Metadata document does not contain STS endpoint url") - End Function - - Private Class JsonMetadataDocument - Public Property serviceName() As String - Get - Return m_serviceName - End Get - Set(value As String) - m_serviceName = value - End Set - End Property - - Private m_serviceName As String - - Public Property endpoints() As List(Of JsonEndpoint) - Get - Return m_endpoints - End Get - Set(value As List(Of JsonEndpoint)) - m_endpoints = value - End Set - End Property - - Private m_endpoints As List(Of JsonEndpoint) - - Public Property keys() As List(Of JsonKey) - Get - Return m_keys - End Get - Set(value As List(Of JsonKey)) - m_keys = value - End Set - End Property - - Private m_keys As List(Of JsonKey) - End Class - - Private Class JsonEndpoint - Public Property location() As String - Get - Return m_location - End Get - Set(value As String) - m_location = value - End Set - End Property - - Private m_location As String - - Public Property protocol() As String - Get - Return m_protocol - End Get - Set(value As String) - m_protocol = value - End Set - End Property - - Private m_protocol As String - - Public Property usage() As String - Get - Return m_usage - End Get - Set(value As String) - m_usage = value - End Set - End Property - - Private m_usage As String - End Class - - Private Class JsonKeyValue - Public Property type() As String - Get - Return m_type - End Get - Set(value As String) - m_type = value - End Set - End Property - - Private m_type As String - - Public Property value() As String - Get - Return m_value - End Get - Set(value As String) - m_value = value - End Set - End Property - - Private m_value As String - End Class - - Private Class JsonKey - Public Property usage() As String - Get - Return m_usage - End Get - Set(value As String) - m_usage = value - End Set - End Property - - Private m_usage As String - - Public Property keyValue() As JsonKeyValue - Get - Return m_keyValue - End Get - Set(value As JsonKeyValue) - m_keyValue = value - End Set - End Property - - Private m_keyValue As JsonKeyValue - End Class - End Class - -#End Region -End Class - -''' -''' A JsonWebSecurityToken generated by SharePoint to authenticate to a 3rd party application and allow callbacks using a refresh token -''' -Public Class SharePointContextToken - Inherits JsonWebSecurityToken - - Public Shared Function Create(contextToken As JsonWebSecurityToken) As SharePointContextToken - Return New SharePointContextToken(contextToken.Issuer, contextToken.Audience, contextToken.ValidFrom, contextToken.ValidTo, contextToken.Claims) - End Function - - Public Sub New(issuer As String, audience As String, validFrom As DateTime, validTo As DateTime, claims As IEnumerable(Of JsonWebTokenClaim)) - MyBase.New(issuer, audience, validFrom, validTo, claims) - End Sub - - Public Sub New(issuer As String, audience As String, validFrom As DateTime, validTo As DateTime, claims As IEnumerable(Of JsonWebTokenClaim), issuerToken As SecurityToken, _ - actorToken As JsonWebSecurityToken) - MyBase.New(issuer, audience, validFrom, validTo, claims, issuerToken, _ - actorToken) - End Sub - - Public Sub New(issuer As String, audience As String, validFrom As DateTime, validTo As DateTime, claims As IEnumerable(Of JsonWebTokenClaim), signingCredentials As SigningCredentials) - MyBase.New(issuer, audience, validFrom, validTo, claims, signingCredentials) - End Sub - - Public ReadOnly Property NameId() As String - Get - Return GetClaimValue(Me, "nameid") - End Get - End Property - - ''' - ''' The principal name portion of the context token's "appctxsender" claim - ''' - Public ReadOnly Property TargetPrincipalName() As String - Get - Dim appctxsender As String = GetClaimValue(Me, "appctxsender") - - If appctxsender Is Nothing Then - Return Nothing - End If - - Return appctxsender.Split("@"c)(0) - End Get - End Property - - ''' - ''' The context token's "refreshtoken" claim - ''' - Public ReadOnly Property RefreshToken() As String - Get - Return GetClaimValue(Me, "refreshtoken") - End Get - End Property - - ''' - ''' The context token's "CacheKey" claim - ''' - Public ReadOnly Property CacheKey() As String - Get - Dim appctx As String = GetClaimValue(Me, "appctx") - If appctx Is Nothing Then - Return Nothing - End If - - Dim ctx As New ClientContext("http://tempuri.org") - Dim dict As Dictionary(Of String, Object) = DirectCast(ctx.ParseObjectFromJsonString(appctx), Dictionary(Of String, Object)) - Dim cacheKeyString As String = DirectCast(dict("CacheKey"), String) - - Return cacheKeyString - End Get - End Property - - ''' - ''' The context token's "SecurityTokenServiceUri" claim - ''' - Public ReadOnly Property SecurityTokenServiceUri() As String - Get - Dim appctx As String = GetClaimValue(Me, "appctx") - If appctx Is Nothing Then - Return Nothing - End If - - Dim ctx As New ClientContext("http://tempuri.org") - Dim dict As Dictionary(Of String, Object) = DirectCast(ctx.ParseObjectFromJsonString(appctx), Dictionary(Of String, Object)) - Dim securityTokenServiceUriString As String = DirectCast(dict("SecurityTokenServiceUri"), String) - - Return securityTokenServiceUriString - End Get - End Property - - ''' - ''' The realm portion of the context token's "audience" claim - ''' - Public ReadOnly Property Realm() As String - Get - Dim aud As String = Audience - If aud Is Nothing Then - Return Nothing - End If - - Dim tokenRealm As String = aud.Substring(aud.IndexOf("@"c) + 1) - - Return tokenRealm - End Get - End Property - - Private Shared Function GetClaimValue(token As JsonWebSecurityToken, claimType As String) As String - If token Is Nothing Then - Throw New ArgumentNullException("token") - End If - - For Each claim As JsonWebTokenClaim In token.Claims - If StringComparer.Ordinal.Equals(claim.ClaimType, claimType) Then - Return claim.Value - End If - Next - - Return Nothing - End Function -End Class - -''' -''' Represents a security token which contains multiple security keys that are generated using symmetric algorithms. -''' -Public Class MultipleSymmetricKeySecurityToken - Inherits SecurityToken - - ''' - ''' Initializes a new instance of the MultipleSymmetricKeySecurityToken class. - ''' - ''' An enumeration of Byte arrays that contain the symmetric keys. - Public Sub New(keys As IEnumerable(Of Byte())) - Me.New(UniqueId.CreateUniqueId(), keys) - End Sub - - ''' - ''' Initializes a new instance of the MultipleSymmetricKeySecurityToken class. - ''' - ''' The unique identifier of the security token. - ''' An enumeration of Byte arrays that contain the symmetric keys. - Public Sub New(tokenId As String, keys As IEnumerable(Of Byte())) - If keys Is Nothing Then - Throw New ArgumentNullException("keys") - End If - - If String.IsNullOrEmpty(tokenId) Then - Throw New ArgumentException("Value cannot be a null or empty string.", "tokenId") - End If - - For Each key As Byte() In keys - If key.Length <= 0 Then - Throw New ArgumentException("The key length must be greater then zero.", "keys") - End If - Next - - m_id = tokenId - m_effectiveTime = DateTime.UtcNow - m_securityKeys = CreateSymmetricSecurityKeys(keys) - End Sub - - ''' - ''' Gets a unique identifier of the security token. - ''' - Public Overrides ReadOnly Property Id As String - Get - Return m_id - End Get - End Property - - ''' - ''' Gets the cryptographic keys associated with the security token. - ''' - Public Overrides ReadOnly Property SecurityKeys() As ReadOnlyCollection(Of SecurityKey) - Get - Return m_securityKeys.AsReadOnly() - End Get - End Property - - ''' - ''' Gets the first instant in time at which this security token is valid. - ''' - Public Overrides ReadOnly Property ValidFrom As DateTime - Get - Return m_effectiveTime - End Get - End Property - - ''' - ''' Gets the last instant in time at which this security token is valid. - ''' - Public Overrides ReadOnly Property ValidTo As DateTime - Get - ' Never expire - Return Date.MaxValue - End Get - End Property - - ''' - ''' Returns a value that indicates whether the key identifier for this instance can be resolved to the specified key identifier. - ''' - ''' A SecurityKeyIdentifierClause to compare to this instance. - ''' true if keyIdentifierClause is a SecurityKeyIdentifierClause and it has the same unique identifier as the Id property; otherwise, false. - Public Overrides Function MatchesKeyIdentifierClause(keyIdentifierClause As SecurityKeyIdentifierClause) As Boolean - If keyIdentifierClause Is Nothing Then - Throw New ArgumentNullException("keyIdentifierClause") - End If - - ' Since this is a symmetric token and we do not have IDs to distinguish tokens, we just check for the - ' presence of a SymmetricIssuerKeyIdentifier. The actual mapping to the issuer takes place later - ' when the key is matched to the issuer. - If TypeOf keyIdentifierClause Is SymmetricIssuerKeyIdentifierClause Then - Return True - End If - Return MyBase.MatchesKeyIdentifierClause(keyIdentifierClause) - End Function - -#Region "private members" - - Private Function CreateSymmetricSecurityKeys(keys As IEnumerable(Of Byte())) As List(Of SecurityKey) - Dim symmetricKeys As New List(Of SecurityKey)() - For Each key As Byte() In keys - symmetricKeys.Add(New InMemorySymmetricSecurityKey(key)) - Next - Return symmetricKeys - End Function - - Private m_id As String - Private m_effectiveTime As DateTime - Private m_securityKeys As List(Of SecurityKey) - -#End Region -End Class diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/common.psm1 b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/common.psm1 deleted file mode 100644 index 48f8738a0..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/common.psm1 +++ /dev/null @@ -1,20 +0,0 @@ -# SharePoint references that need to remove when uninstall -$ReferencesToRemoveWhenUninstall = @( - @("Microsoft.SharePoint.Client"), - @("Microsoft.SharePoint.Client.Runtime") -) - -# SharePoint references that need to be copy local -$CopyLocalReferences = @( - @("Microsoft.IdentityModel"), - @("Microsoft.IdentityModel.Extensions"), - @("Microsoft.SharePoint.Client"), - @("Microsoft.SharePoint.Client.Runtime") -) - -# Imports needed for VB project -$VbImports = @( - "Microsoft.SharePoint.Client" -) - -Export-ModuleMember -Variable @( 'ReferencesToRemoveWhenUninstall', 'CopyLocalReferences', 'VbImports' ) diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/install.ps1 b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/install.ps1 deleted file mode 100644 index df1ca7b98..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/install.ps1 +++ /dev/null @@ -1,248 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -Import-Module (Join-Path $toolsPath common.psm1) -Force - -try { - - # Indicates if the current project is a VB project - $IsVbProject = ($project.CodeModel.Language -eq [EnvDTE.CodeModelLanguageConstants]::vsCMLanguageVB) - - # Indicates if the current project is an MVC project - $IsMvcProject = ($project.Object.References | Where-Object { $_.Identity -eq "System.Web.Mvc" }) -ne $null - - # The filters folder. - $FiltersProjectItem = $project.ProjectItems.Item("Filters"); - - if ($IsVbProject) { - # For VB project, delete TokenHelper.cs, SharePointContext.cs and SharePointContextFilterAttribute.cs - $project.ProjectItems | Where-Object { ($_.Name -eq "TokenHelper.cs") -or ($_.Name -eq "SharePointContext.cs") } | ForEach-Object { $_.Delete() } - $FiltersProjectItem.ProjectItems | Where-Object { ($_.Name -eq "SharePointContextFilterAttribute.cs") } | ForEach-Object { $_.Delete() } - - # Delete SharePointContextFilterAttribute.vb if the web project is not MVC. - if (!$IsMvcProject) { - $FiltersProjectItem.ProjectItems | Where-Object { $_.Name -eq "SharePointContextFilterAttribute.vb" } | ForEach-Object { $_.Delete() } - } - - # Add Imports for VB project - $VbImports | ForEach-Object { - if (!($project.Object.Imports -contains $_)) { - $project.Object.Imports.Add($_) - } - } - } - else { - # For CSharp project, delete TokenHelper.vb, SharePointContext.vb and SharePointContextFilterAttribute.vb - $project.ProjectItems | Where-Object { ($_.Name -eq "TokenHelper.vb") -or ($_.Name -eq "SharePointContext.vb") } | ForEach-Object { $_.Delete() } - $FiltersProjectItem.ProjectItems | Where-Object { ($_.Name -eq "SharePointContextFilterAttribute.vb") } | ForEach-Object { $_.Delete() } - - # Delete SharePointContextFilterAttribute.cs if the web project is not MVC. - if (!$IsMvcProject) { - $FiltersProjectItem.ProjectItems | Where-Object { $_.Name -eq "SharePointContextFilterAttribute.cs" } | ForEach-Object { $_.Delete() } - } - } - - # Delete the Filters folder if there is no item in it. - if ($FiltersProjectItem.ProjectItems.Count -eq 0) { - try { - $FiltersProjectItem.Delete() - } - catch { - Write-Host "Error while deleting the Filters folder: " + $_.Exception -ForegroundColor Yellow - } - } - - # Set CopyLocal = True as needed - Foreach ($spRef in $CopyLocalReferences) { - $project.Object.References | Where-Object { $_.Identity -eq $spRef } | ForEach-Object { $_.CopyLocal = $True } - } - -} catch { - - Write-Host "Error while installing package: " + $_.Exception -ForegroundColor Red - exit -} -# SIG # Begin signature block -# MIIiOAYJKoZIhvcNAQcCoIIiKTCCIiUCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBQfEY+NGRkMyCV -# ClOJCX1xVSqPM9I7jehM9+Wmk6pRw6CCC4MwggULMIID86ADAgECAhMzAAAAe6KB -# C4cRq+f8AAAAAAB7MA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTAwHhcNMTQxMDAxMTgwNjM4WhcNMTYwMTAxMTgwNjM4WjCBgzEL -# MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v -# bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjENMAsGA1UECxMETU9Q -# UjEeMBwGA1UEAxMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMIIBIjANBgkqhkiG9w0B -# AQEFAAOCAQ8AMIIBCgKCAQEAvQcxxth2EB1eNeHpmIf/xHv5hBJHStPFJ2Zp22w2 -# nNOhA3CXNR09AyJfXIEL50eYNUaSPv035IjaKWFTJMd9iXVt9WcwDtqZ40mvXhVE -# IyRFFgVmHcDac0t+/HxA4SPZKYlGHAvdNz8gd97MD7tIaeAXcx/qOxYqkhsujIJJ -# OKAqkfCh2w/3fWqRLgVrimZlJghs5DJOT5DL6br8nBYxqgjIsp4c8QsCsBZdlXxK -# m+7DAolGOmGJ8GwTtg1m3hcURkrTyXnyx34N2x22kH5gItwtcNicDAMnN6xc8ydI -# WviJIaR0Gj4Da8UiqTd9s2dNxuScWaOIuy/Ev/9DUf1zPQIDAQABo4IBejCCAXYw -# HwYDVR0lBBgwFgYIKwYBBQUHAwMGCisGAQQBgjc9BgEwHQYDVR0OBBYEFE8LE+6Q -# o6azvj+qlES88piRTzIdMFEGA1UdEQRKMEikRjBEMQ0wCwYDVQQLEwRNT1BSMTMw -# MQYDVQQFEyozODA3Nis2OGQyZjhiYi0wYTNiLTQwYjQtOWYyNC1lYjdlOTQxOWQx -# NjAwHwYDVR0jBBgwFoAU5vxfe7siAFjkck619CF0IzLm76wwVgYDVR0fBE8wTTBL -# oEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMv -# TWljQ29kU2lnUENBXzIwMTAtMDctMDYuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggr -# BgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWND -# b2RTaWdQQ0FfMjAxMC0wNy0wNi5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0B -# AQsFAAOCAQEAL1QbJw93iIl4XlutFtrDwEs8JT/kMaquI7SOYeIwgVH+SI71MCMZ -# TcveYIhzmIcEQz3gi+6gC28dVa6Y0GeuADG+vu3thnUKkko63nE4tGH3wDvhMRbx -# /L8wYXp13zaEV3R/HaYCiukoMfWMkN+qWdGepYUmp+PAXFTl3dVd/4oxMTdbLf4t -# lx1QqOyGSAyRrbJmPB57RWEJrGfhfYInTwr8Sy7UF/mVMxF7qCYBPJJD5pngvKsK -# TXNRW3YSyiaJ1TXHutME/dy4jipqbcZXUUA9qjRIICpPnoFxyk1VhBpKePeG96WJ -# MV0lBi+tzLVoWe5RSzxIKyI2qxzQho7SiTCCBnAwggRYoAMCAQICCmEMUkwAAAAA -# AAMwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo -# aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y -# cG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1 -# dGhvcml0eSAyMDEwMB4XDTEwMDcwNjIwNDAxN1oXDTI1MDcwNjIwNTAxN1owfjEL -# MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v -# bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWlj -# cm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMDCCASIwDQYJKoZIhvcNAQEBBQAD -# ggEPADCCAQoCggEBAOkOZFB5Z7XE4/0JAEyelKz3VmjqRNjPxVhPqaV2fG1FutM5 -# krSkHvn5ZYLkF9KP/UScCOhlk84sVYS/fQjjLiuoQSsYt6JLbklMaxUH3tHSwoke -# cZTNtX9LtK8I2MyI1msXlDqTziY/7Ob+NJhX1R1dSfayKi7VhbtZP/iQtCuDdMor -# sztG4/BGScEXZlTJHL0dxFViV3L4Z7klIDTeXaallV6rKIDN1bKe5QO1Y9OyFMjB -# yIomCll/B+z/Du2AEjVMEqa+Ulv1ptrgiwtId9aFR9UQucboqu6Lai0FXGDGtCpb -# nCMcX0XjGhQebzfLGTOAaolNo2pmY3iT1TDPlR8CAwEAAaOCAeMwggHfMBAGCSsG -# AQQBgjcVAQQDAgEAMB0GA1UdDgQWBBTm/F97uyIAWORyTrX0IXQjMubvrDAZBgkr -# BgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUw -# AwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDBWBgNVHR8ETzBN -# MEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0 -# cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYIKwYBBQUHAQEETjBMMEoG -# CCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01p -# Y1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDCBnQYDVR0gBIGVMIGSMIGPBgkrBgEE -# AYI3LgMwgYEwPQYIKwYBBQUHAgEWMWh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9Q -# S0kvZG9jcy9DUFMvZGVmYXVsdC5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcA -# YQBsAF8AUABvAGwAaQBjAHkAXwBTAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZI -# hvcNAQELBQADggIBABp071dPKXvEFoV4uFDTIvwJnayCl/g0/yosl5US5eS/z7+T -# yOM0qduBuNweAL7SNW+v5X95lXflAtTx69jNTh4bYaLCWiMa8IyoYlFFZwjjPzwe -# k/gwhRfIOUCm1w6zISnlpaFpjCKTzHSY56FHQ/JTrMAPMGl//tIlIG1vYdPfB9XZ -# cgAsaYZ2PVHbpjlIyTdhbQfdUxnLp9Zhwr/ig6sP4GubldZ9KFGwiUpRpJpsyLcf -# ShoOaanX3MF+0Ulwqratu3JHYxf6ptaipobsqBBEm2O2smmJBsdGhnoYP+jFHSHV -# e/kCIy3FQcu/HUzIFu+xnH/8IktJim4V46Z/dlvRU3mRhZ3V0ts9czXzPK5UslJH -# asCqE5XSjhHamWdeMoz7N4XR3HWFnIfGWleFwr/dDY+Mmy3rtO7PJ9O1Xmn6pBYE -# AackZ3PPTU+23gVWl3r36VJN9HcFT4XG2Avxju1CCdENduMjVngiJja+yrGMbqod -# 5IXaRzNij6TJkTNfcR5Ar5hlySLoQiElihwtYNk3iUGJKhYP12E8lGhgUu/WR5mg -# gEDuFYF3PpzgUxgaUB04lZseZjMTJzkXeIc2zk7DX7L1PUdTtuDl2wthPSrXkizO -# N1o+QEIxpB8QCMJWnL8kXVECnWp50hfT2sGUjgd7JXFEqwZq5tTG3yOalnXFMYIW -# CzCCFgcCAQEwgZUwfjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x -# EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv -# bjEoMCYGA1UEAxMfTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMAITMwAA -# AHuigQuHEavn/AAAAAAAezANBglghkgBZQMEAgEFAKCB+TAZBgkqhkiG9w0BCQMx -# DAYKKwYBBAGCNwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkq -# hkiG9w0BCQQxIgQgDcIxKtZkUy44gfZRoTmQcgmewiqQRDyh8427xTogyZEwgYwG -# CisGAQQBgjcCAQwxfjB8oGKAYABpAG4AcwB0AGEAbABsAF8AMgA3AGIAOQA0ADgA -# NgA3AC0AMgA0ADUANQAtADQAYwA4ADUALQBiADMAZQBjAC0AMAAwAGUAMAAzAGEA -# NAAyADMAMgBkADcALgBwAHMAMaEWgBRodHRwOi8vbWljcm9zb2Z0LmNvbTANBgkq -# hkiG9w0BAQEFAASCAQAhRmPhgnSlGINFmnBl5ISZ/fqf3rec9vVtY/9WPwxTJXri -# Jr+1LkaovaAH98urZ61vEZP3bVwAm8SiBxWtAixdopCAEJFQsBzyyW+VqINTVwM4 -# OJmdcgXzI0FW/qTyVq+1IsG9tyF+JFFHk/yvgq8WJHEJ/iXs0qCAL/yl2eDJKEMb -# nuJIeuhotU4Ak2C90b07a0ojUC++7oApUl5Ur3IqGh3ZlrqLf0MHdC+BNpMcBuMt -# WmzEDVyAPudGJnALzfdA8Wbw2cyd7DZKEErMasfyoVv2rWVrF1fkteX9d4YuAPfX -# hbFHOL2rQ6L2+Qt7jI7Xm4c79IHs1rCmFZInYvN5oYITSjCCE0YGCisGAQQBgjcD -# AwExghM2MIITMgYJKoZIhvcNAQcCoIITIzCCEx8CAQMxDzANBglghkgBZQMEAgEF -# ADCCAT0GCyqGSIb3DQEJEAEEoIIBLASCASgwggEkAgEBBgorBgEEAYRZCgMBMDEw -# DQYJYIZIAWUDBAIBBQAEIIMcQnaOYUxNusnsYByqcNYrdr4i+1rS1oLrVQm7rJYa -# AgZVfCxyrbEYEzIwMTUwNjI1MDUzOTI1LjYyNlowBwIBAYACAfSggbmkgbYwgbMx -# CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt -# b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1P -# UFIxJzAlBgNVBAsTHm5DaXBoZXIgRFNFIEVTTjpDMEY0LTMwODYtREVGODElMCMG -# A1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaCCDs0wggZxMIIEWaAD -# AgECAgphCYEqAAAAAAACMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzET -# MBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMV -# TWljcm9zb2Z0IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBD -# ZXJ0aWZpY2F0ZSBBdXRob3JpdHkgMjAxMDAeFw0xMDA3MDEyMTM2NTVaFw0yNTA3 -# MDEyMTQ2NTVaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAw -# DgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24x -# JjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIIBIjANBgkq -# hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqR0NvHcRijog7PwTl/X6f2mUa3RUENWl -# CgCChfvtfGhLLF/Fw+Vhwna3PmYrW/AVUycEMR9BGxqVHc4JE458YTBZsTBED/Fg -# iIRUQwzXTbg4CLNC3ZOs1nMwVyaCo0UN0Or1R4HNvyRgMlhgRvJYR4YyhB50YWeR -# X4FUsc+TTJLBxKZd0WETbijGGvmGgLvfYfxGwScdJGcSchohiq9LZIlQYrFd/Xcf -# PfBXday9ikJNQFHRD5wGPmd/9WbAA5ZEfu/QS/1u5ZrKsajyeioKMfDaTgaRtogI -# Neh4HLDpmc085y9Euqf03GS9pAHBIAmTeM38vMDJRF1eFpwBBU8iTQIDAQABo4IB -# 5jCCAeIwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFNVjOlyKMZDzQ3t8RhvF -# M2hahW1VMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1UdDwQEAwIBhjAP -# BgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJcYmjRPZSQW9fOmhjE -# MFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9zb2Z0LmNvbS9wa2kv -# Y3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNybDBaBggrBgEF -# BQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9w -# a2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0MIGgBgNVHSABAf8E -# gZUwgZIwgY8GCSsGAQQBgjcuAzCBgTA9BggrBgEFBQcCARYxaHR0cDovL3d3dy5t -# aWNyb3NvZnQuY29tL1BLSS9kb2NzL0NQUy9kZWZhdWx0Lmh0bTBABggrBgEFBQcC -# AjA0HjIgHQBMAGUAZwBhAGwAXwBQAG8AbABpAGMAeQBfAFMAdABhAHQAZQBtAGUA -# bgB0AC4gHTANBgkqhkiG9w0BAQsFAAOCAgEAB+aIUQ3ixuCYP4FxAz2do6Ehb7Pr -# psz1Mb7PBeKp/vpXbRkws8LFZslq3/Xn8Hi9x6ieJeP5vO1rVFcIK1GCRBL7uVOM -# zPRgEop2zEBAQZvcXBf/XPleFzWYJFZLdO9CEMivv3/Gf/I3fVo/HPKZeUqRUgCv -# OA8X9S95gWXZqbVr5MfO9sp6AG9LMEQkIjzP7QOllo9ZKby2/QThcJ8ySif9Va8v -# /rbljjO7Yl+a21dA6fHOmWaQjP9qYn/dxUoLkSbiOewZSnFjnXshbcOco6I8+n99 -# lmqQeKZt0uGc+R38ONiU9MalCpaGpL2eGq4EQoO4tYCbIjggtSXlZOz39L9+Y1kl -# D3ouOVd2onGqBooPiRa6YacRy5rYDkeagMXQzafQ732D8OE7cQnfXXSYIghh2rBQ -# Hm+98eEA3+cxB6STOvdlR3jo+KhIq/fecn5ha293qYHLpwmsObvsxsvYgrRyzR30 -# uIUBHoD7G4kqVDmyW9rIDVWZeodzOwjmmC3qjeAzLhIp9cAvVCch98isTtoouLGp -# 25ayp0Kiyc8ZQU3ghvkqmqMRZjDTu3QyS99je/WZii8bxyGvWbWu3EQ8l1Bx16HS -# xVXjad5XwdHeMMD9zOZN+w2/XU/pnR4ZOC+8z1gFLu8NoFA12u8JJxzVs341Hgi6 -# 2jbb01+P3nSISRIwggTaMIIDwqADAgECAhMzAAAAUpo7I6rcf7RvAAAAAABSMA0G -# CSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9u -# MRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRp -# b24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMB4XDTE1 -# MDMyMDE3MzIyNloXDTE2MDYyMDE3MzIyNlowgbMxCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIxJzAlBgNVBAsTHm5DaXBo -# ZXIgRFNFIEVTTjpDMEY0LTMwODYtREVGODElMCMGA1UEAxMcTWljcm9zb2Z0IFRp -# bWUtU3RhbXAgU2VydmljZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB -# AOLvsXs51YcPijzAWkdxnm+VjjFEYge/o1AtSNy0sAYcUgmZrBbN/kNd5Srb0zeC -# 0UyhTGIZYqVQI/Y1CxhpJc/LGfrExbJcVll/zPY/T+GCFfHgWu3JmYJ7zcZ6r7iG -# FIo5UY3rZFUx/FW65QzJ//v+JnStSjLnHR5WijiQ75TrIFfyd+gAcxuHTr8rsC+t -# sLNGkkppAM0g7c8XaOjuHlerP3yIFtUWl46h8nxel0nCRCd3V2LFtZI2/SI1wmbE -# gdtYa51qqgTDNAf9gpsGScVia60ioHraa/cIOc8XHsOD69O6+euItf93ejImv9gq -# O0g1q7JyBsTDnYFwri+dA18CAwEAAaOCARswggEXMB0GA1UdDgQWBBQxFRmGUGiy -# Tk5Nmq3QAcbiU8SD/TAfBgNVHSMEGDAWgBTVYzpcijGQ80N7fEYbxTNoWoVtVTBW -# BgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2Ny -# bC9wcm9kdWN0cy9NaWNUaW1TdGFQQ0FfMjAxMC0wNy0wMS5jcmwwWgYIKwYBBQUH -# AQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtp -# L2NlcnRzL01pY1RpbVN0YVBDQV8yMDEwLTA3LTAxLmNydDAMBgNVHRMBAf8EAjAA -# MBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0GCSqGSIb3DQEBCwUAA4IBAQAM82+vetzM -# QYRHLKf2aET8YLq0D1grM61R7UYUQnIwMyEXabVJS+9dT+/nnc5Vb7/ypczj0/TG -# nKp4D7chbGCAB9YXuaw2Hth2TRK5IOUmfjodsnVS3syFjCtLedp5n1fcDfEFg3ds -# IC6BSjFSoaZJeqkMUzzzr5KIQQhpNfMtvdcBhq6HV2kHVJCRlT1TF/w2CfkazBzS -# 1SBJxDY0zY94HlPtH/RyQpWF5B3ydI7X7ga1gz7gH0Wa/gNmx48KRchzuPL8ssba -# H9f7TmMY1BlPnTN4GAJqynuGnrYFjUMtqf2RkOVP87QlDPBrkK/gOLEmDxmX7Oql -# vX9RMQKmLAU2oYIDdjCCAl4CAQEwgeOhgbmkgbYwgbMxCzAJBgNVBAYTAlVTMRMw -# EQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN -# aWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIxJzAlBgNVBAsTHm5D -# aXBoZXIgRFNFIEVTTjpDMEY0LTMwODYtREVGODElMCMGA1UEAxMcTWljcm9zb2Z0 -# IFRpbWUtU3RhbXAgU2VydmljZaIlCgEBMAkGBSsOAwIaBQADFQB6NOnIZOKf7B65 -# PSPqxHeDbDDPvKCBwjCBv6SBvDCBuTELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhlciBOVFMg -# RVNOOjU3RjYtQzFFMC01NTRDMSswKQYDVQQDEyJNaWNyb3NvZnQgVGltZSBTb3Vy -# Y2UgTWFzdGVyIENsb2NrMA0GCSqGSIb3DQEBBQUAAgUA2TW9OjAiGA8yMDE1MDYy -# NDIzMzUyMloYDzIwMTUwNjI1MjMzNTIyWjB0MDoGCisGAQQBhFkKBAExLDAqMAoC -# BQDZNb06AgEAMAcCAQACAhJXMAcCAQACAhhDMAoCBQDZNw66AgEAMDYGCisGAQQB -# hFkKBAIxKDAmMAwGCisGAQQBhFkKAwGgCjAIAgEAAgMW42ChCjAIAgEAAgMHoSAw -# DQYJKoZIhvcNAQEFBQADggEBAJGLCKHSpOJ2GltabtOUuKtHuBqzbQ66Y5AojR/G -# 3ZDWm77Xpk5H8ltytVuC327qlF5r2td0Goibz5DbbW5ahb5B7qukFFqEXT4tAzrb -# YzyG2wVIcpxgDT3KJ6ytc6x2xfPVcglaDoEyWLiB9vTFrrKU0BUx/8SVGzO0FPsh -# y7Wg3gM+eEZqAGXen6leUwb+WVKn0i+QS6jI38Fg8I/19fp4yjJajkmgj31RJU7o -# NbKut8AYp+m8C48EEPulRWBwZDJGHYcjpOKlbh1QzUxWCKfrutn3xczUi7JEhSjE -# Y21R7RlhhEXwQYo6H2APxSaFZD0aoVfEpwWmPEr7QbRi4T4xggL1MIIC8QIBATCB -# kzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMH -# UmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQD -# Ex1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAFKaOyOq3H+0bwAA -# AAAAUjANBglghkgBZQMEAgEFAKCCATIwGgYJKoZIhvcNAQkDMQ0GCyqGSIb3DQEJ -# EAEEMC8GCSqGSIb3DQEJBDEiBCDmDfwC+AIBgaPaUxcyUqn2eNtumwQ2EydRbpN9 -# CIlyPDCB4gYLKoZIhvcNAQkQAgwxgdIwgc8wgcwwgbEEFHo06chk4p/sHrk9I+rE -# d4NsMM+8MIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 -# b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh -# dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTACEzMA -# AABSmjsjqtx/tG8AAAAAAFIwFgQUxjXpTmX13FxsN4oxYWG/XnpMlJUwDQYJKoZI -# hvcNAQELBQAEggEACNMwq040DiYnbmVnPrzhtjolGj9zwupWlmkptvGFUNoEIWs7 -# ybDzWBoG8sydgD1aJsZAMjRHr21iT4LFB2jtmjamXg/0f8saRd0xLg/djiVMxJsq -# 2Snil6FeyrMHDYYfOwYq0+Gqckiwh9TQmskLMBB6vjkhL7evPcu6kDRIA+qxI/b4 -# REz9Wm6QWdgdHafmJ8buALGnKtedyN8370tahrjt+SctVz+G0D6203J0X17qtNwO -# l62XQmdBWGHtKk7qmPjsiUuKGLqOy+gXNDAlxQNFmiSW7DOdGr63vKZtPQ9XjwfC -# XLRHHlVs/hfEAii+ygIA59+zYO9dE0LbtEHjEA== -# SIG # End signature block diff --git a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/uninstall.ps1 b/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/uninstall.ps1 deleted file mode 100644 index 8343b199c..000000000 --- a/samples/js-bot-framework/bot/packages/AppForSharePointOnlineWebToolkit.3.1.2/Tools/uninstall.ps1 +++ /dev/null @@ -1,214 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -Import-Module (Join-Path $toolsPath common.psm1) -Force - -try { - - # Indicates if current project is a VB project - $IsVbProject = ($project.CodeModel.Language -eq [EnvDTE.CodeModelLanguageConstants]::vsCMLanguageVB) - - if ($IsVbProject) { - - # Remove added Imports for VB project - $VbImports | ForEach-Object { - if ($project.Object.Imports -contains $_) { - $project.Object.Imports.Remove($_) - } - } - } - - # Remove references - Foreach ($spRef in $ReferencesToRemoveWhenUninstall) { - $project.Object.References | Where-Object { $_.Identity -eq $spRef } | ForEach-Object { $_.Remove() } - } - -} catch { - - Write-Host "Error uninstalling package: " + $_.Exception -ForegroundColor Red - exit -} -# SIG # Begin signature block -# MIIiPgYJKoZIhvcNAQcCoIIiLzCCIisCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAN/6dBHJ45hY+Y -# N8R45TKbxt2wbCsKlOEE8Hxkc3JCuqCCC4MwggULMIID86ADAgECAhMzAAAAe6KB -# C4cRq+f8AAAAAAB7MA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD -# VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy -# b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p -# bmcgUENBIDIwMTAwHhcNMTQxMDAxMTgwNjM4WhcNMTYwMTAxMTgwNjM4WjCBgzEL -# MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v -# bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjENMAsGA1UECxMETU9Q -# UjEeMBwGA1UEAxMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMIIBIjANBgkqhkiG9w0B -# AQEFAAOCAQ8AMIIBCgKCAQEAvQcxxth2EB1eNeHpmIf/xHv5hBJHStPFJ2Zp22w2 -# nNOhA3CXNR09AyJfXIEL50eYNUaSPv035IjaKWFTJMd9iXVt9WcwDtqZ40mvXhVE -# IyRFFgVmHcDac0t+/HxA4SPZKYlGHAvdNz8gd97MD7tIaeAXcx/qOxYqkhsujIJJ -# OKAqkfCh2w/3fWqRLgVrimZlJghs5DJOT5DL6br8nBYxqgjIsp4c8QsCsBZdlXxK -# m+7DAolGOmGJ8GwTtg1m3hcURkrTyXnyx34N2x22kH5gItwtcNicDAMnN6xc8ydI -# WviJIaR0Gj4Da8UiqTd9s2dNxuScWaOIuy/Ev/9DUf1zPQIDAQABo4IBejCCAXYw -# HwYDVR0lBBgwFgYIKwYBBQUHAwMGCisGAQQBgjc9BgEwHQYDVR0OBBYEFE8LE+6Q -# o6azvj+qlES88piRTzIdMFEGA1UdEQRKMEikRjBEMQ0wCwYDVQQLEwRNT1BSMTMw -# MQYDVQQFEyozODA3Nis2OGQyZjhiYi0wYTNiLTQwYjQtOWYyNC1lYjdlOTQxOWQx -# NjAwHwYDVR0jBBgwFoAU5vxfe7siAFjkck619CF0IzLm76wwVgYDVR0fBE8wTTBL -# oEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMv -# TWljQ29kU2lnUENBXzIwMTAtMDctMDYuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggr -# BgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWND -# b2RTaWdQQ0FfMjAxMC0wNy0wNi5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0B -# AQsFAAOCAQEAL1QbJw93iIl4XlutFtrDwEs8JT/kMaquI7SOYeIwgVH+SI71MCMZ -# TcveYIhzmIcEQz3gi+6gC28dVa6Y0GeuADG+vu3thnUKkko63nE4tGH3wDvhMRbx -# /L8wYXp13zaEV3R/HaYCiukoMfWMkN+qWdGepYUmp+PAXFTl3dVd/4oxMTdbLf4t -# lx1QqOyGSAyRrbJmPB57RWEJrGfhfYInTwr8Sy7UF/mVMxF7qCYBPJJD5pngvKsK -# TXNRW3YSyiaJ1TXHutME/dy4jipqbcZXUUA9qjRIICpPnoFxyk1VhBpKePeG96WJ -# MV0lBi+tzLVoWe5RSzxIKyI2qxzQho7SiTCCBnAwggRYoAMCAQICCmEMUkwAAAAA -# AAMwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo -# aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y -# cG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRpZmljYXRlIEF1 -# dGhvcml0eSAyMDEwMB4XDTEwMDcwNjIwNDAxN1oXDTI1MDcwNjIwNTAxN1owfjEL -# MAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1v -# bmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWlj -# cm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMDCCASIwDQYJKoZIhvcNAQEBBQAD -# ggEPADCCAQoCggEBAOkOZFB5Z7XE4/0JAEyelKz3VmjqRNjPxVhPqaV2fG1FutM5 -# krSkHvn5ZYLkF9KP/UScCOhlk84sVYS/fQjjLiuoQSsYt6JLbklMaxUH3tHSwoke -# cZTNtX9LtK8I2MyI1msXlDqTziY/7Ob+NJhX1R1dSfayKi7VhbtZP/iQtCuDdMor -# sztG4/BGScEXZlTJHL0dxFViV3L4Z7klIDTeXaallV6rKIDN1bKe5QO1Y9OyFMjB -# yIomCll/B+z/Du2AEjVMEqa+Ulv1ptrgiwtId9aFR9UQucboqu6Lai0FXGDGtCpb -# nCMcX0XjGhQebzfLGTOAaolNo2pmY3iT1TDPlR8CAwEAAaOCAeMwggHfMBAGCSsG -# AQQBgjcVAQQDAgEAMB0GA1UdDgQWBBTm/F97uyIAWORyTrX0IXQjMubvrDAZBgkr -# BgEEAYI3FAIEDB4KAFMAdQBiAEMAQTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUw -# AwEB/zAfBgNVHSMEGDAWgBTV9lbLj+iiXGJo0T2UkFvXzpoYxDBWBgNVHR8ETzBN -# MEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpL2NybC9wcm9kdWN0 -# cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcmwwWgYIKwYBBQUHAQEETjBMMEoG -# CCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL01p -# Y1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNydDCBnQYDVR0gBIGVMIGSMIGPBgkrBgEE -# AYI3LgMwgYEwPQYIKwYBBQUHAgEWMWh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbS9Q -# S0kvZG9jcy9DUFMvZGVmYXVsdC5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcA -# YQBsAF8AUABvAGwAaQBjAHkAXwBTAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZI -# hvcNAQELBQADggIBABp071dPKXvEFoV4uFDTIvwJnayCl/g0/yosl5US5eS/z7+T -# yOM0qduBuNweAL7SNW+v5X95lXflAtTx69jNTh4bYaLCWiMa8IyoYlFFZwjjPzwe -# k/gwhRfIOUCm1w6zISnlpaFpjCKTzHSY56FHQ/JTrMAPMGl//tIlIG1vYdPfB9XZ -# cgAsaYZ2PVHbpjlIyTdhbQfdUxnLp9Zhwr/ig6sP4GubldZ9KFGwiUpRpJpsyLcf -# ShoOaanX3MF+0Ulwqratu3JHYxf6ptaipobsqBBEm2O2smmJBsdGhnoYP+jFHSHV -# e/kCIy3FQcu/HUzIFu+xnH/8IktJim4V46Z/dlvRU3mRhZ3V0ts9czXzPK5UslJH -# asCqE5XSjhHamWdeMoz7N4XR3HWFnIfGWleFwr/dDY+Mmy3rtO7PJ9O1Xmn6pBYE -# AackZ3PPTU+23gVWl3r36VJN9HcFT4XG2Avxju1CCdENduMjVngiJja+yrGMbqod -# 5IXaRzNij6TJkTNfcR5Ar5hlySLoQiElihwtYNk3iUGJKhYP12E8lGhgUu/WR5mg -# gEDuFYF3PpzgUxgaUB04lZseZjMTJzkXeIc2zk7DX7L1PUdTtuDl2wthPSrXkizO -# N1o+QEIxpB8QCMJWnL8kXVECnWp50hfT2sGUjgd7JXFEqwZq5tTG3yOalnXFMYIW -# ETCCFg0CAQEwgZUwfjELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24x -# EDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlv -# bjEoMCYGA1UEAxMfTWljcm9zb2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMAITMwAA -# AHuigQuHEavn/AAAAAAAezANBglghkgBZQMEAgEFAKCB/zAZBgkqhkiG9w0BCQMx -# DAYKKwYBBAGCNwIBBDAcBgorBgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkq -# hkiG9w0BCQQxIgQgYpOtBb7+0rbI0S3pbSEkF8U8URvtfTZfOz5+KgQnVQ4wgZIG -# CisGAQQBgjcCAQwxgYMwgYCgZoBkAHUAbgBpAG4AcwB0AGEAbABsAF8ANwAwAGIA -# MQA4AGYAYQBmAC0AMwA5ADIAMAAtADQAZgA4AGIALQBiAGMAMABiAC0AOQBhAGYA -# NwA2ADkAYQBkAGIAYgAwADYALgBwAHMAMaEWgBRodHRwOi8vbWljcm9zb2Z0LmNv -# bTANBgkqhkiG9w0BAQEFAASCAQCtlcPuKktMPOG6y3SFKIDucRUT3cNmWrP/ACPu -# ZoUYD0Ak3HbDcgj4CzsriFFlPoADaM2NDG97MyuUCYUA1cte/fBUioA/IBQaistk -# aXqrvZDyvsGfdRV7Swa/JPAa/s475ucU45wX1bm0tabiX4CDAuWIXh/TwiPO1oLg -# 8tMQr90vB0k3LEvuS/ZMThbGDGu6nv/O7CtEPXiCNo5IkOYW/VnXHkomnAye22jp -# WNYcYOGpBw1P8A8ifasTdjx6moSDtq7pxty/m7wg8m+jHx4uwY6OkJM66kHpi1Fc -# P83LC+9SIB4PIvVKqwNEelSuj3Th+pwP4VP/l4R1AHjBFOvvoYITSjCCE0YGCisG -# AQQBgjcDAwExghM2MIITMgYJKoZIhvcNAQcCoIITIzCCEx8CAQMxDzANBglghkgB -# ZQMEAgEFADCCAT0GCyqGSIb3DQEJEAEEoIIBLASCASgwggEkAgEBBgorBgEEAYRZ -# CgMBMDEwDQYJYIZIAWUDBAIBBQAEIIoXKpuu0/QOtrULY8IYFQ3rvx+o2r4JJBEt -# 6NUc/By6AgZVfCxyrbQYEzIwMTUwNjI1MDUzOTI1LjcyN1owBwIBAYACAfSggbmk -# gbYwgbMxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQH -# EwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNV -# BAsTBE1PUFIxJzAlBgNVBAsTHm5DaXBoZXIgRFNFIEVTTjpDMEY0LTMwODYtREVG -# ODElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaCCDs0wggZx -# MIIEWaADAgECAgphCYEqAAAAAAACMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQG -# EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG -# A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQg -# Um9vdCBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkgMjAxMDAeFw0xMDA3MDEyMTM2NTVa -# Fw0yNTA3MDEyMTQ2NTVaMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5n -# dG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9y -# YXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwMIIB -# IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqR0NvHcRijog7PwTl/X6f2mU -# a3RUENWlCgCChfvtfGhLLF/Fw+Vhwna3PmYrW/AVUycEMR9BGxqVHc4JE458YTBZ -# sTBED/FgiIRUQwzXTbg4CLNC3ZOs1nMwVyaCo0UN0Or1R4HNvyRgMlhgRvJYR4Yy -# hB50YWeRX4FUsc+TTJLBxKZd0WETbijGGvmGgLvfYfxGwScdJGcSchohiq9LZIlQ -# YrFd/XcfPfBXday9ikJNQFHRD5wGPmd/9WbAA5ZEfu/QS/1u5ZrKsajyeioKMfDa -# TgaRtogINeh4HLDpmc085y9Euqf03GS9pAHBIAmTeM38vMDJRF1eFpwBBU8iTQID -# AQABo4IB5jCCAeIwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFNVjOlyKMZDz -# Q3t8RhvFM2hahW1VMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1UdDwQE -# AwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFNX2VsuP6KJcYmjRPZSQ -# W9fOmhjEMFYGA1UdHwRPME0wS6BJoEeGRWh0dHA6Ly9jcmwubWljcm9zb2Z0LmNv -# bS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dF8yMDEwLTA2LTIzLmNybDBa -# BggrBgEFBQcBAQROMEwwSgYIKwYBBQUHMAKGPmh0dHA6Ly93d3cubWljcm9zb2Z0 -# LmNvbS9wa2kvY2VydHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3J0MIGgBgNV -# HSABAf8EgZUwgZIwgY8GCSsGAQQBgjcuAzCBgTA9BggrBgEFBQcCARYxaHR0cDov -# L3d3dy5taWNyb3NvZnQuY29tL1BLSS9kb2NzL0NQUy9kZWZhdWx0Lmh0bTBABggr -# BgEFBQcCAjA0HjIgHQBMAGUAZwBhAGwAXwBQAG8AbABpAGMAeQBfAFMAdABhAHQA -# ZQBtAGUAbgB0AC4gHTANBgkqhkiG9w0BAQsFAAOCAgEAB+aIUQ3ixuCYP4FxAz2d -# o6Ehb7Prpsz1Mb7PBeKp/vpXbRkws8LFZslq3/Xn8Hi9x6ieJeP5vO1rVFcIK1GC -# RBL7uVOMzPRgEop2zEBAQZvcXBf/XPleFzWYJFZLdO9CEMivv3/Gf/I3fVo/HPKZ -# eUqRUgCvOA8X9S95gWXZqbVr5MfO9sp6AG9LMEQkIjzP7QOllo9ZKby2/QThcJ8y -# Sif9Va8v/rbljjO7Yl+a21dA6fHOmWaQjP9qYn/dxUoLkSbiOewZSnFjnXshbcOc -# o6I8+n99lmqQeKZt0uGc+R38ONiU9MalCpaGpL2eGq4EQoO4tYCbIjggtSXlZOz3 -# 9L9+Y1klD3ouOVd2onGqBooPiRa6YacRy5rYDkeagMXQzafQ732D8OE7cQnfXXSY -# Ighh2rBQHm+98eEA3+cxB6STOvdlR3jo+KhIq/fecn5ha293qYHLpwmsObvsxsvY -# grRyzR30uIUBHoD7G4kqVDmyW9rIDVWZeodzOwjmmC3qjeAzLhIp9cAvVCch98is -# TtoouLGp25ayp0Kiyc8ZQU3ghvkqmqMRZjDTu3QyS99je/WZii8bxyGvWbWu3EQ8 -# l1Bx16HSxVXjad5XwdHeMMD9zOZN+w2/XU/pnR4ZOC+8z1gFLu8NoFA12u8JJxzV -# s341Hgi62jbb01+P3nSISRIwggTaMIIDwqADAgECAhMzAAAAUpo7I6rcf7RvAAAA -# AABSMA0GCSqGSIb3DQEBCwUAMHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNo -# aW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29y -# cG9yYXRpb24xJjAkBgNVBAMTHU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEw -# MB4XDTE1MDMyMDE3MzIyNloXDTE2MDYyMDE3MzIyNlowgbMxCzAJBgNVBAYTAlVT -# MRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQK -# ExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIxJzAlBgNVBAsT -# Hm5DaXBoZXIgRFNFIEVTTjpDMEY0LTMwODYtREVGODElMCMGA1UEAxMcTWljcm9z -# b2Z0IFRpbWUtU3RhbXAgU2VydmljZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC -# AQoCggEBAOLvsXs51YcPijzAWkdxnm+VjjFEYge/o1AtSNy0sAYcUgmZrBbN/kNd -# 5Srb0zeC0UyhTGIZYqVQI/Y1CxhpJc/LGfrExbJcVll/zPY/T+GCFfHgWu3JmYJ7 -# zcZ6r7iGFIo5UY3rZFUx/FW65QzJ//v+JnStSjLnHR5WijiQ75TrIFfyd+gAcxuH -# Tr8rsC+tsLNGkkppAM0g7c8XaOjuHlerP3yIFtUWl46h8nxel0nCRCd3V2LFtZI2 -# /SI1wmbEgdtYa51qqgTDNAf9gpsGScVia60ioHraa/cIOc8XHsOD69O6+euItf93 -# ejImv9gqO0g1q7JyBsTDnYFwri+dA18CAwEAAaOCARswggEXMB0GA1UdDgQWBBQx -# FRmGUGiyTk5Nmq3QAcbiU8SD/TAfBgNVHSMEGDAWgBTVYzpcijGQ80N7fEYbxTNo -# WoVtVTBWBgNVHR8ETzBNMEugSaBHhkVodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v -# cGtpL2NybC9wcm9kdWN0cy9NaWNUaW1TdGFQQ0FfMjAxMC0wNy0wMS5jcmwwWgYI -# KwYBBQUHAQEETjBMMEoGCCsGAQUFBzAChj5odHRwOi8vd3d3Lm1pY3Jvc29mdC5j -# b20vcGtpL2NlcnRzL01pY1RpbVN0YVBDQV8yMDEwLTA3LTAxLmNydDAMBgNVHRMB -# Af8EAjAAMBMGA1UdJQQMMAoGCCsGAQUFBwMIMA0GCSqGSIb3DQEBCwUAA4IBAQAM -# 82+vetzMQYRHLKf2aET8YLq0D1grM61R7UYUQnIwMyEXabVJS+9dT+/nnc5Vb7/y -# pczj0/TGnKp4D7chbGCAB9YXuaw2Hth2TRK5IOUmfjodsnVS3syFjCtLedp5n1fc -# DfEFg3dsIC6BSjFSoaZJeqkMUzzzr5KIQQhpNfMtvdcBhq6HV2kHVJCRlT1TF/w2 -# CfkazBzS1SBJxDY0zY94HlPtH/RyQpWF5B3ydI7X7ga1gz7gH0Wa/gNmx48KRchz -# uPL8ssbaH9f7TmMY1BlPnTN4GAJqynuGnrYFjUMtqf2RkOVP87QlDPBrkK/gOLEm -# DxmX7OqlvX9RMQKmLAU2oYIDdjCCAl4CAQEwgeOhgbmkgbYwgbMxCzAJBgNVBAYT -# AlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYD -# VQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xDTALBgNVBAsTBE1PUFIxJzAlBgNV -# BAsTHm5DaXBoZXIgRFNFIEVTTjpDMEY0LTMwODYtREVGODElMCMGA1UEAxMcTWlj -# cm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIlCgEBMAkGBSsOAwIaBQADFQB6NOnI -# ZOKf7B65PSPqxHeDbDDPvKCBwjCBv6SBvDCBuTELMAkGA1UEBhMCVVMxEzARBgNV -# BAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jv -# c29mdCBDb3Jwb3JhdGlvbjENMAsGA1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhl -# ciBOVFMgRVNOOjU3RjYtQzFFMC01NTRDMSswKQYDVQQDEyJNaWNyb3NvZnQgVGlt -# ZSBTb3VyY2UgTWFzdGVyIENsb2NrMA0GCSqGSIb3DQEBBQUAAgUA2TW9OjAiGA8y -# MDE1MDYyNDIzMzUyMloYDzIwMTUwNjI1MjMzNTIyWjB0MDoGCisGAQQBhFkKBAEx -# LDAqMAoCBQDZNb06AgEAMAcCAQACAhJXMAcCAQACAhhDMAoCBQDZNw66AgEAMDYG -# CisGAQQBhFkKBAIxKDAmMAwGCisGAQQBhFkKAwGgCjAIAgEAAgMW42ChCjAIAgEA -# AgMHoSAwDQYJKoZIhvcNAQEFBQADggEBAJGLCKHSpOJ2GltabtOUuKtHuBqzbQ66 -# Y5AojR/G3ZDWm77Xpk5H8ltytVuC327qlF5r2td0Goibz5DbbW5ahb5B7qukFFqE -# XT4tAzrbYzyG2wVIcpxgDT3KJ6ytc6x2xfPVcglaDoEyWLiB9vTFrrKU0BUx/8SV -# GzO0FPshy7Wg3gM+eEZqAGXen6leUwb+WVKn0i+QS6jI38Fg8I/19fp4yjJajkmg -# j31RJU7oNbKut8AYp+m8C48EEPulRWBwZDJGHYcjpOKlbh1QzUxWCKfrutn3xczU -# i7JEhSjEY21R7RlhhEXwQYo6H2APxSaFZD0aoVfEpwWmPEr7QbRi4T4xggL1MIIC -# 8QIBATCBkzB8MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G -# A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYw -# JAYDVQQDEx1NaWNyb3NvZnQgVGltZS1TdGFtcCBQQ0EgMjAxMAITMwAAAFKaOyOq -# 3H+0bwAAAAAAUjANBglghkgBZQMEAgEFAKCCATIwGgYJKoZIhvcNAQkDMQ0GCyqG -# SIb3DQEJEAEEMC8GCSqGSIb3DQEJBDEiBCCKPViOUafUMGMRuux/2V8vqt6EZHF9 -# ZsV41I0KxS62ZTCB4gYLKoZIhvcNAQkQAgwxgdIwgc8wgcwwgbEEFHo06chk4p/s -# Hrk9I+rEd4NsMM+8MIGYMIGApH4wfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldh -# c2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBD -# b3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIw -# MTACEzMAAABSmjsjqtx/tG8AAAAAAFIwFgQUxjXpTmX13FxsN4oxYWG/XnpMlJUw -# DQYJKoZIhvcNAQELBQAEggEAK7lvPq2NF9KN2RwCA5NImcjpJTJSvavsZnabYHv7 -# sSTws1zdOh30pXEDVrgT5Uei2QEpmGCbKqim7WPMRjEEpYmPkLHAcUiT54jyedwz -# SY5E6Cr2CjUrTZE/sKmKq1t9rOBKGUHo+kmDiMIBtz4XEhZxTqy0Q9/ltwS9um8u -# 3Q/xs29miMqmQuHuk/zvrpTtq0wJ9GoQADLS0WaxQeP1VuWEbk00FV7/qUV8D+Yr -# P99Ef24przhYmrWIaAh+tUNq950tGe2hZOzC6vUo2uMRNkKuloml5YjXjZACtrKb -# ExyHoMcm8yIA/B118aYAG65Q0xSJqhqxsObQw5XmAJKVdg== -# SIG # End signature block diff --git a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/Autofac.3.5.2.nupkg b/samples/js-bot-framework/bot/packages/Autofac.3.5.2/Autofac.3.5.2.nupkg deleted file mode 100644 index 4f9c52188..000000000 Binary files a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/Autofac.3.5.2.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/net40/Autofac.dll b/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/net40/Autofac.dll deleted file mode 100644 index e4a596a97..000000000 Binary files a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/net40/Autofac.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/net40/Autofac.xml b/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/net40/Autofac.xml deleted file mode 100644 index 0b2a8808a..000000000 --- a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/net40/Autofac.xml +++ /dev/null @@ -1,6923 +0,0 @@ - - - - Autofac - - - - - Service used as a "flag" to indicate a particular component should be - automatically activated on container build. - - - - - Services are the lookup keys used to locate component instances. - - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Implements the operator ==. - - The left operand. - The right operand. - The result of the operator. - - - - Implements the operator !=. - - The left operand. - The right operand. - The result of the operator. - - - - 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 . - - - - - Gets a human-readable description of the service. - - The description. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - if the specified is not - and is an ; otherwise, . - - - - All services of this type are considered "equal." - - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . Always 0 for this type. - - - - All services of this type are considered "equal" and use the same hash code. - - - - - - Gets the service description. - - - Always returns AutoActivate. - - - - - Used with the WithMetadata configuration method to - associate key-value pairs with an . - - Interface with properties whose names correspond to - the property keys. - This feature was suggested by OJ Reeves (@TheColonial). - - - - Set one of the property values. - - The type of the property. - An expression that accesses the property to set. - The property value to set. - - - - 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 choose between multiple constructors with equal length {0} on type '{1}'. Select the constructor explicitly, with the UsingConstructor() configuration method, when the component is registered.. - - - - - 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 {0} ---> {1} (See inner exception for details.). - - - - - Well-known tags used in setting up matching lifetime scopes. - - - - - Tag used in setting up per-request lifetime scope registrations - (e.g., per-HTTP-request or per-API-request). - - - - - Interface providing fluent syntax for chaining module registrations. - - - - - Add a module to the container. - - The module to add. - - The to allow - additional chained module registrations. - - - - - Basic implementation of the - interface allowing registration of modules into a - in a fluent format. - - - - - The into which registrations will be made. - - - - - Initializes a new instance of the class. - - - The into which registrations will be made. - - - Thrown if is . - - - - - Add a module to the container. - - The module to add. - - The to allow - additional chained module registrations. - - - Thrown if is . - - - - - Support the System.Lazy<T, TMetadata> - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - When a dependency of a lazy type is used, the instantiation of the underlying - component will be delayed until the Value property is first accessed. - - - - - Allows registrations to be made on-the-fly when unregistered - services are requested (lazy registrations.) - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - If the source is queried for service s, and it returns a component that implements both s and s', then it - will not be queried again for either s or s'. This means that if the source can return other implementations - of s', it should return these, plus the transitive closure of other components implementing their - additional services, along with the implementation of s. It is not an error to return components - that do not implement . - - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - 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 Lazy<T, TMetadata> Support. - - - - - 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 '{0}' cannot be used as a metadata view. A metadata view must be a concrete class with a parameterless or dictionary constructor.. - - - - - Looks up a localized string similar to Export metadata for '{0}' is missing and no default value was supplied.. - - - - - Provides a value along with metadata describing the value. - - The type of the value. - An interface to which metadata values can be bound. - - - - Create a new instance. - - The value described by the instance. - The metadata describing the value. - - - - The value described by . - - - - - Metadata describing the value. - - - - - Support the - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - - - - - Finds constructors that match a finder function. - - - - - Find suitable constructors from which to select. - - - - - Finds suitable constructors on the target type. - - Type to search for constructors. - Suitable constructors. - - - - Initializes a new instance of the class. - - - Default to selecting all public constructors. - - - - - Initializes a new instance of the class. - - The finder function. - - - - Finds suitable constructors on the target type. - - Type to search for constructors. - Suitable constructors. - - - - Extension methods for configuring the . - - - - - Fluent method for setting the registration configuration on . - - The registration source to configure. - A configuration action that will run on any registration provided by the source. - - The with the registration configuration set. - - - - - Extension methods for registering instances with a container. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The assemblies from which to register modules. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The assemblies from which to register modules. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The assemblies from which to register modules. - The type of the module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The assemblies from which to register modules. - The type of the module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The of the module to add. - The assemblies from which to register modules. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The of the module to add. - The assemblies from which to register modules. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The builder to register the module with. - The module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The module registrar that will make the registration into the container. - The module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The builder to register the module with. - The module to add. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - 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 Module.ThisAssembly is only available in modules that inherit directly from Module.. - - - - - Support the - type automatically whenever type T is registered with the container. - When a dependency of a lazy type is used, the instantiation of the underlying - component will be delayed until the Value property is first accessed. - - - - - Generates context-bound closures that represent factories from - a set of heuristics based on delegate type signatures. - - - - - Create a factory generator. - - The service that will be activated in - order to create the products of the factory. - The delegate to provide as a factory. - The parameter mapping mode to use. - - - - Create a factory generator. - - The component that will be activated in - order to create the products of the factory. - The delegate to provide as a factory. - The parameter mapping mode to use. - - - - Generates a factory delegate that closes over the provided context. - - The context in which the factory will be used. - Parameters provided to the resolve call for the factory itself. - A factory delegate that will work within the context. - - - - Generates a factory delegate that closes over the provided context. - - The context in which the factory will be used. - Parameters provided to the resolve call for the factory itself. - A factory delegate that will work within the context. - - - - Reflection activator data for concrete types. - - - - - Builder for reflection-based activators. - - - - - Specify a reflection activator for the given type. - - Type that will be activated. - - - - Get the implementation type. - - - - - The constructor finder for the registration. - - - - - The constructor selector for the registration. - - - - - The explicitly bound constructor parameters. - - - - - The explicitly bound properties. - - - - - Activator data that can provide an IInstanceActivator instance. - - - - - The instance activator based on the provided data. - - - - - Specify a reflection activator for the given type. - - Type that will be activated. - - - - The instance activator based on the provided data. - - - - - Parameterises the construction of a container by a . - - - - - No options - the default behavior for container building. - - - - - Prevents inclusion of standard modules like support for - relationship types including etc. - - - - - Does not call on components implementing - this interface (useful for module testing.) - - - - - Data structure used to construct registrations. - - The most specific type to which instances of the registration - can be cast. - Activator builder type. - Registration style type. - - - - Configure the component so that instances are never disposed by the container. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that instances that support IDisposable are - disposed by the container (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets a new, unique instance (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets the same, shared instance. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a single ILifetimeScope gets the same, shared instance. Dependent components in - different lifetime scopes will get different instances. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() within - a ILifetimeScope tagged with any of the provided tags value gets the same, shared instance. - Dependent components in lifetime scopes that are children of the tagged scope will - share the parent's instance. If no appropriately tagged scope can be found in the - hierarchy an is thrown. - - Tag applied to matching lifetime scopes. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - Key to associate with the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Service types to expose. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Services to expose. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Preparing event. This event allows manipulating of the parameters - that will be provided to the component. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activating event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activated event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Configure the component so that any properties whose types are registered in the - container will be wired to instances of the appropriate service. - - Set wiring options such as circular dependency wiring support. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - Key by which the data can be located. - The data value. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - The extended properties to associate with the component. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - A type with properties whose names correspond to the - property names to configure. - A registration builder allowing further configuration of the component. - - - - The activator data. - - - - - The registration style. - - - - - The registration data. - - - - - Delegates registration lookups to a specified registry. When write operations are applied, - initialises a new 'writeable' registry. - - - Safe for concurrent access by multiple readers. Write operations are single-threaded. - - - - - Provides component registrations according to the services they provide. - - - - - Attempts to find a default registration for the specified service. - - The service to look up. - The default registration for the service. - True if a registration exists. - - - - Determines whether the specified service is registered. - - The service to test. - True if the service is registered. - - - - Register a component. - - The component registration. - - - - Register a component. - - The component registration. - If true, existing defaults for the services provided by the - component will not be changed. - - - - Selects from the available registrations after ensuring that any - dynamic registration sources that may provide - have been invoked. - - The service for which registrations are sought. - Registrations supporting . - - - - Add a registration source that will provide registrations on-the-fly. - - The source to register. - - - - Enumerate the registered components. - - - - - Fired whenever a component is registered - either explicitly or via a - . - - - - - Gets the registration sources that are used by the registry. - - - - - True if the registry contains its own components; false if it is forwarding - registrations from another external registry. - - This property is used when walking up the scope tree looking for - registrations for a new customised scope. (See issue 336.) - - - - Fired when an is added to the registry. - - - - - Enables contravariant Resolve() for interfaces that have a single contravariant ('in') parameter. - - - interface IHandler<in TCommand> - { - void Handle(TCommand command); - } - - class Command { } - - class DerivedCommand : Command { } - - class CommandHandler : IHandler<Command> { ... } - - var builder = new ContainerBuilder(); - builder.RegisterSource(new ContravariantRegistrationSource()); - builder.RegisterType<CommandHandler>(); - var container = builder.Build(); - // Source enables this line, even though IHandler<Command> is the - // actual registered type. - var handler = container.Resolve<IHandler<DerivedCommand>>(); - handler.Handle(new DerivedCommand()); - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - If the source is queried for service s, and it returns a component that implements both s and s', then it - will not be queried again for either s or s'. This means that if the source can return other implementations - of s', it should return these, plus the transitive closure of other components implementing their - additional services, along with the implementation of s. It is not an error to return components - that do not implement . - - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - Options that can be applied when autowiring properties on a component. (Multiple options can - be specified using bitwise 'or' - e.g. AllowCircularDependencies | PreserveSetValues. - - - - - Default behavior. Circular dependencies are not allowed; existing non-default - property values are overwritten. - - - - - Allows property-property and property-constructor circular dependency wiring. - This flag moves property wiring from the Activating to the Activated event. - - - - - If specified, properties that already have a non-default value will be left - unchanged in the wiring operation. - - - - - Static factory methods to simplify the creation and handling of IRegistrationBuilder{L,A,R}. - - - To create an for a specific type, use: - - var cr = RegistrationBuilder.ForType(t).CreateRegistration(); - - The full builder syntax is supported: - - var cr = RegistrationBuilder.ForType(t).Named("foo").ExternallyOwned().CreateRegistration(); - - - - - - Creates a registration builder for the provided delegate. - - Instance type returned by delegate. - Delegate to register. - A registration builder. - - - - Creates a registration builder for the provided delegate. - - Delegate to register. - Most specific type return value of delegate can be cast to. - A registration builder. - - - - Creates a registration builder for the provided type. - - Implementation type to register. - A registration builder. - - - - Creates a registration builder for the provided type. - - Implementation type to register. - A registration builder. - - - - Create an from a . - (There is no need to call - this method when registering components through a .) - - - When called on the result of one of the methods, - the returned registration will be different from the one the builder itself registers - in the container. - - - - var registration = RegistrationBuilder.ForType<Foo>().CreateRegistration(); - - - - - - The registration builder. - An IComponentRegistration. - - Thrown if is . - - - - - Create an IComponentRegistration from data. - - Id of the registration. - Registration data. - Activator. - Services provided by the registration. - An IComponentRegistration. - - - - Create an IComponentRegistration from data. - - Id of the registration. - Registration data. - Activator. - Services provided by the registration. - Optional; target registration. - An IComponentRegistration. - - Thrown if or is . - - - - - Register a component in the component registry. This helper method is necessary - in order to execute OnRegistered hooks and respect PreserveDefaults. - - Hoping to refactor this out. - - - - Component registry to make registration in. - Registration builder with data for new registration. - - - - 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 '{0}' is not assignable to service '{1}'.. - - - - - Adds registration syntax for less commonly-used features. - - - These features are in this namespace because they will remain accessible to - applications originally written against Autofac 1.4. In Autofac 2, this functionality - is implicitly provided and thus making explicit registrations is rarely necessary. - - - - - Registers a factory delegate. - - Container builder. - Factory type to generate. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers a factory delegate. - - Container builder. - Factory type to generate. - The service that the delegate will return instances of. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, and - this method is generally not required. - - - - Registers a factory delegate. - - The type of the delegate. - Container builder. - The service that the delegate will return instances of. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers a factory delegate. - - The type of the delegate. - Container builder. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by name. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by position. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by type. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Registers the type as a collection. If no services or names are specified, the - default services will be IList<T>, ICollection<T>, and IEnumerable<T> - - The type of the collection elements. - Container builder. - A unique name for the collection that can be passed to MemberOf(). - Registration builder allowing the registration to be configured. - Collections are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers the type as a collection. If no services or names are specified, the - default services will be IList<T>, ICollection<T>, and IEnumerable<T> - - The type of the collection elements. - Container builder. - A unique name for the collection that can be passed to MemberOf(). - Registration builder allowing the registration to be configured. - Collections are provided automatically in Autofac 2, - and this method is generally not required. - - - - Include the element explicitly in a collection configured using RegisterCollection. - - Registration limit type. - Registration style. - Activator data type. - Registration to export. - The collection name, as passed to RegisterCollection. - A registration builder allowing further configuration of the component. - - - - 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 Build() or Update() can only be called once on a ContainerBuilder.. - - - - - Looks up a localized string similar to An error occurred while attempting to automatically activate registration '{0}'. See the inner exception for information on the source of the failure.. - - - - - 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 A delegate registered to create instances of '{0}' returned null.. - - - - - 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 Bound constructor '{0}'.. - - - - - Looks up a localized string similar to The binding cannot be instantiated.. - - - - - Looks up a localized string similar to An exception was thrown while invoking the constructor '{0}' on type '{1}'.. - - - - - Looks up a localized string similar to Cannot resolve parameter '{1}' of constructor '{0}'.. - - - - - Provides parameters that have a default value, set with an optional parameter - declaration in C# or VB. - - - - - Used in order to provide a value to a constructor parameter or property on an instance - being created by the container. - - - Not all parameters can be applied to all sites. - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - Thrown if is . - - - - - 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 container's self-registration of context interfaces should never be activated as it is hard-wired into the LifetimeScope class.. - - - - - Marks a module as container-aware (for the purposes of attaching to diagnostic events.) - - - - - Initialise the module with the container into which it is being registered. - - The container. - - - - Fired when the activation process for a new instance is complete. - - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The paramters provided when resolved. - - - - - The instance that will be used to satisfy the request. - - - - - Fired after the construction of an instance but before that instance - is shared with any other or any members are invoked on it. - - - - - The instance can be replaced if needed, e.g. by an interface proxy. - - The object to use instead of the activated instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The instance that will be used to satisfy the request. - - - - - The parameters supplied to the activator. - - - - - Interface supported by services that carry type information. - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets the type of the service. - - The type of the service. - - - - Identifies a service using a key in addition to its type. - - - - - Initializes a new instance of the class. - - Key of the service. - Type of the service. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to 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 . - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets or sets the key of the service. - - The key of the service. - - - - Gets the type of the service. - - The type of the service. - - - - Gets a human-readable description of the service. - - The description. - - - - Describes when a lifetime scope is beginning. - - - - - Create an instance of the class. - - The lifetime scope that is beginning. - - - - The lifetime scope that is beginning. - - - - - Describes when a lifetime scope is ending. - - - - - Create an instance of the class. - - The lifetime scope that is ending. - - - - The lifetime scope that is ending. - - - - - 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 Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.. - - - - - Fired when an is added to the registry. - - - - - Construct an instance of the class. - - The registry to which the source was added. - The source that was added. - - - - - The registry to which the source was added. - - - - - The source that was added. - - - - - Represents the process of finding a component during a resolve operation. - - - - - The component for which an instance is to be looked up. - - - - - The scope in which the instance will be looked up. - - - - - The parameters provided for new instance creation. - - - - - Raised when the lookup phase of the operation is ending. - - - - - Raised when the completion phase of an instance lookup operation begins. - - - - - Raised when the completion phase of an instance lookup operation ends. - - - - - Raised when the completion phase of an instance lookup operation begins. - - - - - Create an instance of the class. - - The instance lookup that is beginning the completion phase. - - - - The instance lookup operation that is beginning the completion phase. - - - - - Raised when the completion phase of an instance lookup operation ends. - - - - - Create an instance of the class. - - The instance lookup that is ending the completion phase. - - - - The instance lookup operation that is ending the completion phase. - - - - - Fired when an instance is looked up. - - - - - Create an instance of the class. - - The instance lookup that is ending. - True if a new instance was created as part of the operation. - - - - True if a new instance was created as part of the operation. - - - - - The instance lookup operation that is ending. - - - - - Fired when instance lookup is complete. - - - - The instance lookup that is ending. - - - - The instance lookup operation that is beginning. - - - - - Describes the commencement of a new resolve operation. - - - - - Create an instance of the class. - - The resolve operation that is beginning. - - - - The resolve operation that is beginning. - - - - - Wraps a component registration, switching its lifetime. - - - - - Base class for disposable objects. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns true if the current instance has been disposed; otherwise false; - - - - - Describes a logical component within the container. - - - - - Called by the container when an instance is required. - - The context in which the instance will be activated. - Parameters for activation. These may be modified by the event handler. - - - - Called by the container once an instance has been constructed. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Called by the container once an instance has been fully constructed, including - any requested objects that depend on the instance. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - A unique identifier for this component (shared in all sub-contexts.) - This value also appears in Services. - - - - - The activator used to create instances. - - - - - The lifetime associated with the component. - - - - - Whether the component instances are shared or not. - - - - - Whether the instances of the component should be disposed by the container. - - - - - The services provided by the component. - - - - - Additional data associated with the component. - - - - - The component registration upon which this registration is based. - - - - - Fired when a new instance is required. The instance can be - provided in order to skip the regular activator, by setting the Instance property in - the provided event arguments. - - - - - Fired when a new instance is being activated. The instance can be - wrapped or switched at this time by setting the Instance property in - the provided event arguments. - - - - - Fired when the activation process for a new instance is complete. - - - - - 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 Activator = {0}, Services = [{1}], Lifetime = {2}, Sharing = {3}, Ownership = {4}. - - - - - Pulls registrations from another component registry. - Excludes most auto-generated registrations - currently has issues with - collection registrations. - - - - - Create an external registry source that draws components from - . - - Component registry to pull registrations from. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - In this case because the components that are adapted do not come from the same - logical scope, we must return false to avoid duplicating them. - - - - - Switches components with a RootScopeLifetime (singletons) with - decorators exposing MatchingScopeLifetime targeting the specified scope. - - - - - Maps services onto the components that provide them. - - - The component registry provides services directly from components, - and also uses to generate components - on-the-fly or as adapters for other components. A component registry - is normally used through a , and not - directly by application code. - - - - - Protects instance variables from concurrent access. - - - - - External registration sources. - - - - - All registrations. - - - - - Keeps track of the status of registered services. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Attempts to find a default registration for the specified service. - - The service to look up. - The default registration for the service. - True if a registration exists. - - - - Determines whether the specified service is registered. - - The service to test. - True if the service is registered. - - - - Register a component. - - The component registration. - - - - Register a component. - - The component registration. - If true, existing defaults for the services provided by the - component will not be changed. - - - - Selects from the available registrations after ensuring that any - dynamic registration sources that may provide - have been invoked. - - The service for which registrations are sought. - Registrations supporting . - - - - Add a registration source that will provide registrations on-the-fly. - - The source to register. - - - - Enumerate the registered components. - - - - - Fired whenever a component is registered - either explicitly or via a - . - - - - - Gets the registration sources that are used by the registry. - - - - - True if the registry contains its own components; false if it is forwarding - registrations from another external registry. - - This property is used when walking up the scope tree looking for - registrations for a new customised scope. (See issue 336.) - - - - Fired when an is added to the registry. - - - - - Tracks the services known to the registry. - - - - - Used for bookkeeping so that the same source is not queried twice (may be null.) - - - - - Initializes a new instance of the class. - - The tracked service. - - - - The first time a service is requested, initialization (e.g. reading from sources) - happens. This value will then be set to true. Calling many methods on this type before - initialisation is an error. - - - - - The known implementations. - - - - - True if any implementations are known. - - - - - 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 operation is only valid during initialization.. - - - - - Looks up a localized string similar to The operation is not valid until the object is initialized.. - - - - - 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 activation has already been executed.. - - - - - Describes the commencement of a new resolve operation. - - - - - Create an instance of the class. - - The resolve operation that is ending. - If included, the exception causing the operation to end; otherwise, null. - - - - The exception causing the operation to end, or null. - - - - - The resolve operation that is ending. - - - - - 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 Subclasses of Autofac.Service must override Object.Equals(). - - - - - Looks up a localized string similar to Subclasses of Autofac.Service must override Object.GetHashCode(). - - - - - 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 Collection Support (Arrays and Generic Collection Interfaces). - - - - - 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 Lazy<T> Support. - - - - - Describes the basic requirements for generating a lightweight adapter. - - - - - Create an instance of . - - The service that will be adapted from. - The adapter function. - - - - The adapter function. - - - - - The service to be adapted from. - - - - - 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 Lightweight Adapter from {0} to {1}. - - - - - Looks up a localized string similar to The service {0} cannot be both the adapter's from and to parameters - these must differ.. - - - - - Internal implementation of the RegisterCollection/MemberOf-style collection feature. - - - - - Registration style for dynamic registrations. - - - - - Data used to create factory activators. - - - - - Create a new GeneratedFactoryActivatorData - - The type of the factory. - The service used to provide the products of the factory. - - - - Determines how the parameters of the delegate type are passed on - to the generated Resolve() call as Parameter objects. - For Func-based delegates, this defaults to ByType. Otherwise, the - parameters will be mapped by name. - - - - - Activator data that can provide an IInstanceActivator instance. - - - - - Hides standard Object members to make fluent interfaces - easier to read. - Based on blog post by @kzu here: - http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx - - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - The other. - Standard result. - - - - Determines how the parameters of the delegate type are passed on - to the generated Resolve() call as Parameter objects. - - - - - Chooses parameter mapping based on the factory type. - For Func-based factories this is equivalent to ByType, for all - others ByName will be used. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as NamedParameters based on the parameter - names in the delegate type's formal argument list. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as TypedParameters based on the parameter - types in the delegate type's formal argument list. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as PositionalParameters based on the parameter - indices in the delegate type's formal argument list. - - - - - Provides components by lookup operations via an index (key) type. - - The type of the index. - The service provided by the indexed components. - - Retrieving a value given a key: - - IIndex<AccountType, IRenderer> accountRenderers = // ... - var renderer = accountRenderers[AccountType.User]; - - - - - - Get the value associated with if any is available. - - The key to look up. - The retrieved value. - True if a value associated with the key exists. - - - - Get the value associated with . - - The value to retrieve. - The associated value. - - - - - - - - - - - - - Support the - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - - - - - Provides a value along with a dictionary of metadata describing the value. - - The type of the value. - - - - Create a new instance. - - The value described by the instance. - The metadata describing the value. - - - - The value described by . - - - - - Metadata describing the value. - - - - - 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 Meta<T> Support. - - - - - Looks up a localized string similar to Meta<T, TMetadata> Support. - - - - - 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 service '{0}' is not an open generic 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 {0} providing {1}. - - - - - Describes the activator for an open generic decorator. - - - - - Construct an . - - The decorator type. - The open generic service type to decorate. - - - - The open generic service type to decorate. - - - - - 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 service {0} cannot be both the adapter's from and to parameters - these must differ.. - - - - - Looks up a localized string similar to Open Generic Decorator {0} from {1} to {2}. - - - - - 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 {0} is not an open generic type definition.. - - - - - 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 '{0}' does not implement the interface '{1}'.. - - - - - Looks up a localized string similar to The implementation type '{0}' is not an open generic type definition.. - - - - - Looks up a localized string similar to The implementation type '{0}' does not support the interface '{1}'.. - - - - - Looks up a localized string similar to The service '{0}' is not an open generic type definition.. - - - - - Looks up a localized string similar to The service '{1}' is not assignable from implementation type '{0}'.. - - - - - 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 Owned<T> Support. - - - - - Provides registrations on-the-fly for any concrete type not already registered with - the container. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - A predicate that selects types the source will register. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Returns a that represents the current . - - - A that represents the current . - - 2 - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - Gets or sets an expression used to configure generated registrations. - - - A that can be used to modify the behavior - of registrations that are generated by this source. - - - - - 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 "Resolve Anything" Support. - - - - - Activation data for types located by scanning assemblies. - - - - - Create an instance of . - - - - - The filters applied to the types from the scanned assembly. - - - - - Additional actions to be performed on the concrete type registrations. - - - - - Actions to be called once the scanning operation is complete. - - - - - Fired when the activation process for a new instance is complete. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - The instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The paramters provided when resolved. - - - - - The instance that will be used to satisfy the request. - - - - - Fired after the construction of an instance but before that instance - is shared with any other or any members are invoked on it. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - The instance. - - - - The instance can be replaced if needed, e.g. by an interface proxy. - - The object to use instead of the activated instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The instance that will be used to satisfy the request. - - - The instance can be replaced if needed, e.g. by an interface proxy. - - - - - The parameters supplied to the activator. - - - - - Activate instances using a delegate. - - - - - Base class for instance activators. - - - - - Create an instance activator that will return instances compatible - with . - - Most derived type to which instances can be cast. - - - - Gets a string representation of the activator. - - A string describing the activator. - - - - The most specific type that the component instances are known to be castable to. - - - - - Activates component instances. - - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - The most specific type that the component instances are known to be castable to. - - - - - Create a delegate activator. - - The most specific type to which activated instances can be cast. - Activation delegate. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - Provides a pre-constructed instance. - - - - - Provide the specified instance. - - The instance to provide. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Determines whether the activator disposes the instance that it holds. - Necessary because otherwise instances that are never resolved will never be - disposed. - - - - - 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 provided instance has already been used in an activation request. Did you combine a provided instance with non-root/single-instance lifetime/sharing?. - - - - - Supplies values based on the target parameter type. - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - Thrown if or is . - - - - - Binds a constructor to the parameters that will be used when it is invoked. - - - - - Construct a new ConstructorParameterBinding. - - ConstructorInfo to bind. - Available parameters. - Context in which to construct instance. - - - - Invoke the constructor with the parameter bindings. - - The constructed instance. - - - Returns a System.String that represents the current System.Object. - A System.String that represents the current System.Object. - - - - The constructor on the target type. The actual constructor used - might differ, e.g. if using a dynamic proxy. - - - - - True if the binding is valid. - - - - - Describes the constructor parameter binding. - - - - - Selects the best constructor from a set of available constructors. - - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - - - - Selects a constructor based on its signature. - - - - - Match constructors with the provided signature. - - Signature to match. - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - - - - 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 At least one binding must be provided in order to select a constructor.. - - - - - Looks up a localized string similar to The required constructor on type '{0}' with signature '{1}' is unavailable.. - - - - - Looks up a localized string similar to More than one constructor matches the signature '{0}'.. - - - - - Selects the constructor with the most parameters. - - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - A single unambiguous match could not be chosen. - - - - Uses reflection to activate instances of a type. - - - - - Create an activator for the provided type. - - Type to activate. - Constructor finder. - Constructor selector. - Parameters configured explicitly for this instance. - Properties configured explicitly for this instance. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - The constructor finder. - - - - - The constructor selector. - - - - - 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 No constructors on type '{0}' can be found with the constructor finder '{1}'.. - - - - - Looks up a localized string similar to None of the constructors found with '{0}' on type '{1}' can be invoked with the available services and parameters:{2}. - - - - - Base class for parameters that provide a constant value. - - - - - Create a constant parameter that will apply to parameters matching - the supplied predicate. - - - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - The value of the parameter. - - - - - Standard container implementation. - - - - - Creates, wires dependencies and manages lifetime for a set of components. - Most instances of are created - by a . - - - - // See ContainerBuilder for the definition of the builder variable - using (var container = builder.Build()) - { - var program = container.Resolve<Program>(); - program.Run(); - } - - - - Most functionality is provided by extension methods - on the inherited interface. - - - - - - - - - An tracks the instantiation of component instances. - It defines a boundary in which instances are shared and configured. - Disposing an will dispose the components that were - resolved through it. - - - - // See IContainer for definition of the container variable - using (var requestScope = container.BeginLifetimeScope()) - { - // Note that handler is resolved from requestScope, not - // from the container: - - var handler = requestScope.Resolve<IRequestHandler>(); - handler.Handle(request); - - // When requestScope is disposed, all resources used in processing - // the request will be released. - } - - - - All long-running applications should resolve components via an - . Choosing the duration of the lifetime is application- - specific. The standard Autofac WCF and ASP.NET/MVC integrations are already configured - to create and release s as appropriate. For example, the - ASP.NET integration will create and release an per HTTP - request. - Most functionality is provided by extension methods - on the inherited interface. - - - - - - - - - - - The context in which a service can be accessed or a component's - dependencies resolved. Disposal of a context will dispose any owned - components. - - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Associates services with the components that provide them. - - - - - Begin a new nested scope. Component instances created via the new scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new nested scope. Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - - The components registered in the sub-scope will be treated as though they were - registered in the root scope, i.e., SingleInstance() components will live as long - as the root scope. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - - The components registered in the sub-scope will be treated as though they were - registered in the root scope, i.e., SingleInstance() components will live as long - as the root scope. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - The disposer associated with this . - Component instances can be associated with it manually if required. - - Typical usage does not require interaction with this member- it - is used when extending the container. - - - - The tag applied to the . - - Tags allow a level in the lifetime hierarchy to be identified. - In most applications, tags are not necessary. - - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Create a new container. - - - - - Begin a new sub-scope. Instances created via the sub-scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new sub-scope. Instances created via the sub-scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the service object of the specified type. - - An object that specifies the type of service object - to get. - - A service object of type .-or- null if there is - no service object of type . - - - - - The disposer associated with this container. Instances can be associated - with it manually if required. - - - - - Tag applied to the lifetime scope. - - The tag applied to this scope and the contexts generated when - it resolves component dependencies. - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Associates services with the components that provide them. - - - - - Base exception type thrown whenever the dependency resolution process fails. This is a fatal - exception, as Autofac is unable to 'roll back' changes to components that may have already - been made during the operation. For example, 'on activated' handlers may have already been - fired, or 'single instance' components partially constructed. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Gets a message that describes the current exception. - - - The error message that explains the reason for the exception, or an empty string(""). - - - - - Maintains a set of objects to dispose, and disposes them in the reverse order - from which they were added when the Disposer is itself disposed. - - - - - Provided on an object that will dispose of other objects when it is - itself disposed. - - - - - Adds an object to the disposer. When the disposer is - disposed, so will the object be. - - The instance. - - - - Contents all implement IDisposable. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Adds an object to the disposer. When the disposer is - disposed, so will the object be. - - The instance. - - - - Locates the lifetime to which instances of a component should be attached. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - Represents a set of components and related functionality - packaged together. - - - - - Apply the module to the component registry. - - Component registry to apply configuration to. - - - - Determines when instances supporting IDisposable are disposed. - - - - - The lifetime scope does not dispose the instances. - - - - - The instances are disposed when the lifetime scope is disposed. - - - - - Determines whether instances are shared within a lifetime scope. - - - - - Each request for an instance will return a new object. - - - - - Each request for an instance will return the same object. - - - - - Defines a nested structure of lifetimes. - - - - - Try to retrieve an instance based on a GUID key. If the instance - does not exist, invoke to create it. - - Key to look up. - Creation function. - An instance. - - - - The root of the sharing hierarchy. - - - - - The parent of this node of the hierarchy, or null. - - - - - Attaches the instance's lifetime to the current lifetime scope. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - Lifetime scope implementation. - - - - - Protects shared instances from concurrent access. Other members and the base class are threadsafe. - - - - - The tag applied to root scopes when no other tag is specified. - - - - - Create a lifetime scope for the provided components and nested beneath a parent. - - The tag applied to the . - Components used in the scope. - Parent scope. - - - - Create a root lifetime scope for the provided components. - - The tag applied to the . - Components used in the scope. - - - - Create a root lifetime scope for the provided components. - - Components used in the scope. - - - - Begin a new anonymous sub-scope. Instances created via the sub-scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new tagged sub-scope. Instances created via the sub-scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new anonymous sub-scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - IContainer cr = // ... - using (var lifetime = cr.BeginLifetimeScope(builder => { - builder.RegisterType<Foo>(); - builder.RegisterType<Bar>().As<IBar>(); }) - { - var foo = lifetime.Resolve<Foo>(); - } - - - - - Begin a new tagged sub-scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - IContainer cr = // ... - using (var lifetime = cr.BeginLifetimeScope("unitOfWork", builder => { - builder.RegisterType<Foo>(); - builder.RegisterType<Bar>().As<IBar>(); }) - { - var foo = lifetime.Resolve<Foo>(); - } - - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Try to retrieve an instance based on a GUID key. If the instance - does not exist, invoke to create it. - - Key to look up. - Creation function. - An instance. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the service object of the specified type. - - An object that specifies the type of service object - to get. - - A service object of type .-or- null if there is - no service object of type . - - - - - The parent of this node of the hierarchy, or null. - - - - - The root of the sharing hierarchy. - - - - - The disposer associated with this container. Instances can be associated - with it manually if required. - - - - - Tag applied to the lifetime scope. - - The tag applied to this scope and the contexts generated when - it resolves component dependencies. - - - - Associates services with the components that provide them. - - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Attaches the component's lifetime to scopes matching a supplied expression. - - - - - Match scopes by comparing tags for equality. - - The tags applied to matching scopes. - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - 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 No scope with a Tag matching '{0}' is visible from the scope in which the instance was requested. This generally indicates that a component registered as per-HTTP request is being requested by a SingleInstance() component (or a similar scenario.) Under the web integration always request dependencies from the DependencyResolver.Current or ILifetimeScopeProvider.RequestLifetime, never from the container itself.. - - - - - Attaches the component's lifetime to the root scope. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - A property identified by name. When applied to a reflection-based - component, the name will be matched against property names. - - - - - Create a with the specified constant value. - - The name of the property. - The property value. - - - - The name of the property. - - - - - Fired before the activation process to allow parameters to be changed or an alternative - instance to be provided. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - - - - The context in which the activation is occurring. - - - - - The component providing the instance being activated. - - - - - The parameters supplied to the activator. - - - - - A service was requested that cannot be provided by the container. To avoid this exception, either register a component - to provide the required service, check for service registration using IsRegistered(), or use the ResolveOptional() - method to resolve an optional dependency. - - This exception is fatal. See for more information. - - - - Initializes a new instance of the class. - - The service. - - - - Initializes a new instance of the class. - - The service. - The inner 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 The requested service '{0}' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.. - - - - - Information about the ocurrence of a component being registered - with a container. - - - - - Create a new instance with a valid container and component registration. - - The container into which the registration - was made. - The component registration. - - - - The container into which the registration was made. - - - - - The component registration. - - - - - Describes a logical component within the container. - - - - - Create a new component registration. - - Unique identifier for the component. - Activator used to activate instances. - Determines how the component will be associated with its lifetime. - Whether the component is shared within its lifetime scope. - Whether the component instances are disposed at the end of their lifetimes. - Services the component provides. - Data associated with the component. - - - - Create a new component registration. - - Unique identifier for the component. - Activator used to activate instances. - Determines how the component will be associated with its lifetime. - Whether the component is shared within its lifetime scope. - Whether the component instances are disposed at the end of their lifetimes. - Services the component provides. - Data associated with the component. - The component registration upon which this registration is based. - - - - Called by the container when an instance is required. - - The context in which the instance will be activated. - Parameters for activation. - - - - Called by the container once an instance has been constructed. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Called by the container once an instance has been fully constructed, including - any requested objects that depend on the instance. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Describes the component in a human-readable form. - - A description of the component. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - The component registration upon which this registration is based. - If this registration was created directly by the user, returns this. - - - - - A unique identifier for this component (shared in all sub-contexts.) - This value also appears in Services. - - - - - The activator used to create instances. - - - - - The lifetime associated with the component. - - - - - Whether the component instances are shared or not. - - - - - Whether the instances of the component should be disposed by the container. - - - - - The services provided by the component. - - - - - Additional data associated with the component. - - - - - Fired when a new instance is required. The instance can be - provided in order to skip the regular activator, by setting the Instance property in - the provided event arguments. - - - - - Fired when a new instance is being activated. The instance can be - wrapped or switched at this time by setting the Instance property in - the provided event arguments. - - - - - Fired when the activation process for a new instance is complete. - - - - - Catch circular dependencies that are triggered by post-resolve processing (e.g. 'OnActivated') - - - - - 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 Circular component dependency detected: {0}.. - - - - - Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'. - - - - - An is a component context that sequences and monitors the multiple - activations that go into producing a single requested object graph. - - - - - Get or create and share an instance of in the . - - The scope in the hierarchy in which the operation will begin. - The component to resolve. - Parameters for the component. - The component instance. - - - - Raised when the entire operation is complete. - - - - - Raised when an instance is looked up within the operation. - - - - - A is a component context that sequences and monitors the multiple - activations that go into producing a single requested object graph. - - - - - Create an instance of in the provided scope. - - The most nested scope in which to begin the operation. The operation - can move upward to less nested scopes as components with wider sharing scopes are activated - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Execute the complete resolve operation. - - - - - Continue building the object graph by instantiating in the - current . - - The current scope of the operation. - The component to activate. - The parameters for the component. - The resolved instance. - - - - - Associates services with the components that provide them. - - - - - 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 An exception was thrown while executing a resolve operation. See the InnerException for details.. - - - - - Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'. - - - - - Looks up a localized string similar to This resolve operation has already ended. When registering components using lambdas, the IComponentContext 'c' parameter to the lambda cannot be stored. Instead, either resolve IComponentContext again from 'c', or resolve a Func<> based factory to create subsequent components from.. - - - - - Identifies a service according to a type to which it can be assigned. - - - - - Initializes a new instance of the class. - - Type of the service. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to 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 . - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets the type of the service. - - The type of the service. - - - - Gets a human-readable description of the service. - - The description. - - - - A handy unique service identifier type - all instances will be regarded as unequal. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The id. - - - - 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 . - - - - - Provides a programmer-readable description of the identifying feature of the service. - - - - - - Registration source providing implicit collection/list/enumerable support. - - - - This registration source provides enumerable support to allow resolving - the set of all registered services of a given type. - - - What may not be immediately apparent is that it also means any time there - are no items of a particular type registered, it will always return an - empty set rather than or throwing an exception. - This is by design. - - - Consider the [possibly majority] use case where you're resolving a set - of message handlers or event handlers from the container. If there aren't - any handlers, you want an empty set - not or - an exception. It's valid to have no handlers registered. - - - This implicit support means other areas (like MVC support or manual - property injection) must take care to only request enumerable values they - expect to get something back for. In other words, "Don't ask the container - for something you don't expect to resolve." - - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Generates activators for open generic types. - - - - - Represents a dependency that can be released by the dependent component. - - The service provided by the dependency. - - - Autofac automatically provides instances of whenever the - service is registered. - - - It is not necessary for , or the underlying component, to implement . - Disposing of the object is the correct way to handle cleanup of the dependency, - as this will dispose of any other components created indirectly as well. - - - When is resolved, a new is created for the - underlying , and tagged with the service matching , - generally a . This means that shared instances can be tied to this - scope by registering them as InstancePerMatchingLifetimeScope(new TypedService(typeof(T))). - - - - The component D below is disposable and implements IService: - - public class D : IService, IDisposable - { - // ... - } - - The dependent component C can dispose of the D instance whenever required by taking a dependency on - : - - public class C - { - IService _service; - - public C(Owned<IService> service) - { - _service = service; - } - - void DoWork() - { - _service.Value.DoSomething(); - } - - void OnFinished() - { - _service.Dispose(); - } - } - - In general, rather than depending on directly, components will depend on - System.Func<Owned<T>> in order to create and dispose of other components as required. - - - - - Create an instance of . - - The value representing the instance. - An IDisposable interface through which ownership can be released. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - The owned value. - - - - - Generates registrations for services of type whenever the service - T is available. - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - When implemented by a component, an instance of the component will be resolved - and started as soon as the container is built. Autofac will not call the Start() - method when subsequent instances are resolved. If this behavior is required, use - an OnActivated() event handler instead. - - - For equivalent "Stop" functionality, implement . Autofac - will always dispose a component before any of its dependencies (except in the presence - of circular dependencies, in which case the components in the cycle are disposed in - reverse-construction order.) - - - - - Perform once-off startup processing. - - - - - Base class for user-defined modules. Modules can add a set of releated components - to a container () or attach cross-cutting functionality - to other components (. - Modules are given special support in the XML configuration feature - see - http://code.google.com/p/autofac/wiki/StructuringWithModules. - - Provides a user-friendly way to implement - via . - - Defining a module: - - public class DataAccessModule : Module - { - public string ConnectionString { get; set; } - - public override void Load(ContainerBuilder moduleBuilder) - { - moduleBuilder.RegisterGeneric(typeof(MyRepository<>)) - .As(typeof(IRepository<>)) - .InstancePerMatchingLifetimeScope(WebLifetime.Request); - - moduleBuilder.Register(c => new MyDbConnection(ConnectionString)) - .As<IDbConnection>() - .InstancePerMatchingLifetimeScope(WebLifetime.Request); - } - } - - Using the module: - - var builder = new ContainerBuilder(); - builder.RegisterModule(new DataAccessModule { ConnectionString = "..." }); - var container = builder.Build(); - var customers = container.Resolve<IRepository<Customer>>(); - - - - - - Apply the module to the component registry. - - Component registry to apply configuration to. - - - - Override to add registrations to the container. - - - Note that the ContainerBuilder parameter is unique to this module. - - The builder through which components can be - registered. - - - - Override to attach module-specific functionality to a - component registration. - - This method will be called for all existing and future component - registrations - ordering is not important. - The component registry. - The registration to attach functionality to. - - - - Override to perform module-specific processing on a registration source. - - This method will be called for all existing and future sources - - ordering is not important. - The component registry into which the source was added. - The registration source. - - - - The assembly in which the concrete module type is located. To avoid bugs whereby deriving from a module will - change the target assembly, this property can only be used by modules that inherit directly from - . - - - - - Configure the component so that instances are never disposed by the container. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that instances that support IDisposable are - disposed by the container (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets a new, unique instance (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets the same, shared instance. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a single ILifetimeScope gets the same, shared instance. Dependent components in - different lifetime scopes will get different instances. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() within - a ILifetimeScope tagged with any of the provided tags value gets the same, shared instance. - Dependent components in lifetime scopes that are children of the tagged scope will - share the parent's instance. If no appropriately tagged scope can be found in the - hierarchy an is thrown. - - Tag applied to matching lifetime scopes. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - Key to associate with the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Service types to expose. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Services to expose. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Preparing event. This event allows manipulating of the parameters - that will be provided to the component. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activating event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activated event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Configure the component so that any properties whose types are registered in the - container will be wired to instances of the appropriate service. - - Set wiring options such as circular dependency wiring support. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - Key by which the data can be located. - The data value. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - The extended properties to associate with the component. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - A type with properties whose names correspond to the - property names to configure. - A registration builder allowing further configuration of the component. - - - - The activator data. - - - - - The registration style. - - - - - The registration data. - - - - - Data common to all registrations made in the container, both direct (IComponentRegistration) - and dynamic (IRegistrationSource.) - - - - - Construct a RegistrationData instance. - - The default service that will be used if no others - are added. - - - - Add multiple services for the registration, overriding the default. - - The services to add. - If an empty collection is specified, this will still - clear the default service. - - - - Add a service to the registration, overriding the default. - - The service to add. - - - - Copies the contents of another RegistrationData object into this one. - - The data to copy. - When true, the default service - will be changed to that of the other. - - Thrown if is . - - - - - Empties the configured services. - - - - - The services explicitly assigned to the component. - - - - - The instance ownership assigned to the component. - - - - - The lifetime assigned to the component. - - - - - The sharing mode assigned to the component. - - - - - Extended properties assigned to the component. - - - - - Handlers for the Preparing event. - - - - - Handlers for the Activating event. - - - - - Handlers for the Activated event. - - - - - Adds registration syntax to the type. - - - - - Add a component to the container. - - The builder to register the component with. - The component to add. - - - - Add a registration source to the container. - - The builder to register the registration source via. - The registration source to add. - - - - Register an instance as a component. - - The type of the instance. - Container builder. - The instance to register. - Registration builder allowing the registration to be configured. - If no services are explicitly specified for the instance, the - static type will be used as the default service (i.e. *not* instance.GetType()). - - - - Register a component to be created through reflection. - - The type of the component implementation. - Container builder. - Registration builder allowing the registration to be configured. - - - - Register a component to be created through reflection. - - The type of the component implementation. - Container builder. - Registration builder allowing the registration to be configured. - - - - Register a delegate as a component. - - The type of the instance. - Container builder. - The delegate to register. - Registration builder allowing the registration to be configured. - - - - Register a delegate as a component. - - The type of the instance. - Container builder. - The delegate to register. - Registration builder allowing the registration to be configured. - - - - Register an un-parameterised generic type, e.g. Repository<>. - Concrete types will be made as they are requested, e.g. with Resolve<Repository<int>>(). - - Container builder. - The open generic implementation type. - Registration builder allowing the registration to be configured. - - - - Specifies that the component being registered should only be made the default for services - that have not already been registered. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that the components being registered should only be made the default for services - that have not already been registered. - - Registration limit type. - Registration style. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Register the types in an assembly. - - Container builder. - The assemblies from which to register types. - Registration builder allowing the registration to be configured. - - - - Register the types in a list. - - Container builder. - The types to register. - Registration builder allowing the registration to be configured. - - - - Specifies a subset of types to register from a scanned assembly. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - Predicate that returns true for types to register. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly provides its own concrete type as a service. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type provides its own concrete type as a service. - - Registration limit type. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type provides its own concrete type as a service. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specify how a type from a scanned assembly provides metadata. - - Registration limit type. - Registration style. - Activator data type. - Registration to set metadata on. - A function mapping the type to a list of metadata items. - Registration builder allowing the registration to be configured. - - - - Use the properties of an attribute (or interface implemented by an attribute) on the scanned type - to provide metadata values. - - Inherited attributes are supported; however, there must be at most one matching attribute - in the inheritance chain. - The attribute applied to the scanned type. - Registration to set metadata on. - Registration builder allowing the registration to be configured. - - - - Specify how a type from a scanned assembly provides metadata. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Key of the metadata item. - A function retrieving the value of the item from the component type. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a named service. - - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service names. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a named service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service names. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a keyed service. - - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service keys. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a keyed service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service keys. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly is registered as providing all of its - implemented interfaces. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type is registered as providing all of its implemented interfaces. - - Registration limit type. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type is registered as providing all of its implemented interfaces. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Set the policy used to find candidate constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Policy to be used when searching for constructors. - A registration builder allowing further configuration of the component. - - - - Set the policy used to find candidate constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - A function that returns the constructors to select from. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Constructor signature to match. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Registration style. - Activator data type. - Registration to set policy on. - Policy to be used when selecting a constructor. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Expression demonstrating how the constructor is called. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - Name of a constructor parameter on the target type. - Value to supply to the parameter. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The parameter to supply to the constructor. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - A predicate selecting the parameter to set. - - A registration builder allowing further configuration of the component. - - - - Configure explicit values for constructor parameters. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The parameters to supply to the constructor. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a property. - - Registration limit type. - Registration style. - Activator data type. - Registration to set property on. - Name of a property on the target type. - Value to supply to the property. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a property. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The property to supply. - A registration builder allowing further configuration of the component. - - - - Configure explicit values for properties. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The properties to supply. - A registration builder allowing further configuration of the component. - - - - Sets the target of the registration (used for metadata generation.) - - The type of the limit. - The type of the activator data. - Registration style - Registration to set target for. - The target. - - Registration builder allowing the registration to be configured. - - - Thrown if or is . - - - - - Provide a handler to be called when the component is registered. - - Registration limit type. - Registration style. - Activator data type. - Registration add handler to. - The handler. - Registration builder allowing the registration to be configured. - - - - Provide a handler to be called when the component is registred. - - Registration limit type. - Registration style. - Registration add handler to. - The handler. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly is registered if it implements an interface - that closes the provided open generic interface type. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - The open generic interface or base class type for which implementations will be found. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those assignable to the provided - type. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - The type or interface which all classes must be assignable from. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those assignable to the provided - type. - - Registration to filter types from. - The type or interface which all classes must be assignable from. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to exclude the provided type. - - Registration to filter types from. - The concrete type to exclude. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to exclude the provided type, providing specific configuration for - the excluded type. - - Registration to filter types from. - Registration for the excepted type. - The concrete type to exclude. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those in the namespace of the provided type - or one of its sub-namespaces. - - Registration to filter types from. - A type in the target namespace. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those in the provided namespace - or one of its sub-namespaces. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - The namespace from which types will be selected. - Registration builder allowing the registration to be configured. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service , given the context and parameters. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service , given the context. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service . - - - - Decorate all components implementing open generic service . - The and parameters must be different values. - - Container builder. - Service type being decorated. Must be an open generic type. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - The type of the decorator. Must be an open generic type, and accept a parameter - of type , which will be set to the instance being decorated. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - , given the context and parameters. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - , given the context. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - . - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Run a supplied action instead of disposing instances when they're no - longer required. - - Registration limit type. - Activator data type. - Registration style. - Registration to set release action for. - An action to perform instead of disposing the instance. - Registration builder allowing the registration to be configured. - Only one release action can be configured per registration. - - - - Wraps a registration in an implicit and automatically - activates the registration after the container is built. - - Registration to set release action for. - Registration limit type. - Activator data type. - Registration style. - A registration builder allowing further configuration of the component. - - - While you can implement an to perform some logic at - container build time, sometimes you need to just activate a registered component and - that's it. This extension allows you to automatically activate a registration on - container build. No additional logic is executed and the resolved instance is not held - so container disposal will end up disposing of the instance. - - - Depending on how you register the lifetime of the component, you may get an exception - when you build the container - components that are scoped to specific lifetimes (like - ASP.NET components scoped to a request lifetime) will fail to resolve because the - appropriate lifetime is not available. - - - - - - Share one instance of the component within the context of a single - web/HTTP/API request. Only available for integration that supports - per-request dependencies (e.g., MVC, Web API, web forms, etc.). - - Registration limit type. - Registration style. - Activator data type. - The registration to configure. - Additional tags applied for matching lifetime scopes. - A registration builder allowing further configuration of the component. - - Thrown if is . - - - - - 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 instance registration '{0}' can support SingleInstance() sharing only.. - - - - - Looks up a localized string similar to A metadata attribute of type {0} was not found on {1}.. - - - - - Looks up a localized string similar to More than one metadata attribute of type {0} was found on {1}.. - - - - - Looks up a localized string similar to No matching constructor exists on type '{0}'.. - - - - - An activator builder with no parameters. - - - - - Return the provided activator. - - The activator to return. - - - - Gets the activator. - - - - - Registration style for individual components. - - - - - The id used for the registration. - - - - - Handlers to notify of the component registration event. - - - - - By default, new registrations override existing registrations as defaults. - If set to true, new registrations will not change existing defaults. - - - - - The component upon which this registration is based. - - - - - Used to build an from component registrations. - - - - var builder = new ContainerBuilder(); - - builder.RegisterType<Logger>() - .As<ILogger>() - .SingleInstance(); - - builder.Register(c => new MessageHandler(c.Resolve<ILogger>())); - - var container = builder.Build(); - // resolve components from container... - - - Most functionality is accessed - via extension methods in . - - - - - - Register a callback that will be invoked when the container is configured. - - This is primarily for extending the builder syntax. - Callback to execute. - - - - Create a new container with the component registrations that have been made. - - Options that influence the way the container is initialised. - - Build can only be called once per - - this prevents ownership issues for provided instances. - Build enables support for the relationship types that come with Autofac (e.g. - Func, Owned, Meta, Lazy, IEnumerable.) To exclude support for these types, - first create the container, then call Update() on the builder. - - A new container with the configured component registrations. - - - - Configure an existing container with the component registrations - that have been made. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing container to make the registrations in. - - - - Configure an existing container with the component registrations - that have been made and allows additional build options to be specified. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing container to make the registrations in. - Options that influence the way the container is updated. - - - - Configure an existing registry with the component registrations - that have been made. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing registry to make the registrations in. - - - - A parameter identified by name. When applied to a reflection-based - component, will be matched against - the name of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new NamedParameter("amount", 123)); - - - - - - Create a with the specified constant value. - - The name of the parameter. - The parameter value. - - - - The name of the parameter. - - - - - Extension methods that simplify extraction of parameter values from - an where T is . - Each method returns the first matching parameter value, or throws an exception if - none is provided. - - - At configuration time, delegate registrations can retrieve parameter values using - the methods , and : - - builder.Register((c, p) => new FtpClient(p.Named<string>("server"))); - - These parameters can be provided at resolution time: - - container.Resolve<FtpClient>(new NamedParameter("server", "ftp.example.com")); - - Alternatively, the parameters can be provided via a Generated Factory - http://code.google.com/p/autofac/wiki/DelegateFactories. - - - - - Retrieve a named parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The name of the parameter to select. - The value of the selected parameter. - - - - - Retrieve a positional parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The zero-based position of the parameter to select. - The value of the selected parameter. - The position value is the one associated with the parameter when - it was constructed, not its index into the - sequence. - - - - - Retrieve a typed parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The value of the selected parameter. - - - - - A parameter that is identified according to an integer representing its - position in an argument list. When applied to a reflection-based - component, will be matched against - the indices of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new PositionalParameter(0, 123)); - - - - - - Construct a positional parameter with the specified constant value. - - The zero-based position of the parameter. - The parameter value. - - - - The zero-based position of the parameter. - - - - - Adds syntactic convenience methods to the interface. - - - - - Set any properties on that can be - resolved in the context. - - Type of instance. Used only to provide method chaining. - The context from which to resolve the service. - The instance to inject properties into. - . - - - - Set any null-valued properties on that can be - resolved by the container. - - Type of instance. Used only to provide method chaining. - The context from which to resolve the service. - The instance to inject properties into. - . - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The service to retrieve. - The context from which to resolve the service. - The component instance that provides the service. - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Parameters for the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Parameters for the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The key of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - Parameters for the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - Parameters for the service. - - The component instance that provides the service, or null. - - - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The name of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The name of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The key of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The key of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - The resulting component instance providing the service, or null. - The parameters. - - True if a component providing the service is available. - - - - Thrown if is . - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service type to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The service type to resolve. - The context from which to resolve the service. - The resulting component instance providing the service, or default(T). - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The name of the service to resolve. - The type of the service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The key of the service to resolve. - The type of the service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Flexible parameter type allows arbitrary values to be retrieved - from the resolution context. - - - - - Create an instance of the ResolvedParameter class. - - A predicate that determines which parameters on a constructor will be supplied by this instance. - A function that supplies the parameter value given the context. - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - Construct a that will match parameters of type - and resolve for those parameters an implementation - registered with the name . - - The type of the parameter to match. - The name of the matching service to resolve. - A configured instance. - - - - - - Construct a that will match parameters of type - and resolve for those parameters an implementation - registered with the key . - - The type of the parameter to match. - The key of the matching service to resolve. - A configured instance. - - - - A parameter that can supply values to sites that exactly - match a specified type. When applied to a reflection-based - component, will be matched against - the types of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new TypedParameter(typeof(int), 123)); - - - - - - Create a typed parameter with the specified constant value. - - The exact type to match. - The parameter value. - - - - Shortcut for creating - by using the - - type to be used for the parameter - The parameter value. - new typed parameter - - - - The type against which targets are matched. - - - - - Extends with methods that are useful in - building scanning rules for . - - - - - Returns true if this type is in the namespace - or one of its sub-namespaces. - - The type to test. - The namespace to test. - True if this type is in the namespace - or one of its sub-namespaces; otherwise, false. - - - - Returns true if this type is in the same namespace as - or one of its sub-namespaces. - - The type to test. - True if this type is in the same namespace as - or one of its sub-namespaces; otherwise, false. - - - Determines whether the candidate type supports any base or - interface that closes the provided generic type. - - - - - - - Determines whether this type is assignable to . - - The type to test assignability to. - True if this type is assignable to references of type - ; otherwise, False. - - - - 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 '{0}' is not an open generic class or interface type.. - - - - - Extension methods for . - - - - - Safely returns the set of loadable types from an assembly. - - The from which to load types. - - The set of types from the , or the subset - of types that could be loaded if there was any error. - - - Thrown if is . - - - - - Helper methods used throughout the codebase. - - - - - Enforce that an argument is not null. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - - - - - - - - Enforce that sequence does not contain null. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - - The value. - The name. - - - - - Enforces that the provided object is non-null. - - - The value. - - - - - Enforce that an argument is not null or empty. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - The value. - The description. - - - - - Enforce that the argument is a delegate type. - - The type to test. - - - - 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 argument '{0}' cannot be empty.. - - - - - Looks up a localized string similar to The object of type '{0}' cannot be null.. - - - - - Looks up a localized string similar to Type {0} returns void.. - - - - - Looks up a localized string similar to The sequence provided as argument '{0}' cannot contain null elements.. - - - - - Looks up a localized string similar to Type {0} is not a delegate type.. - - - - - Extension methods for reflection-related types. - - - - - Maps from a property-set-value parameter to the declaring property. - - Parameter to the property setter. - The property info on which the setter is specified. - True if the parameter is a property setter. - - - - Get a PropertyInfo object from an expression of the form - x => x.P. - - Type declaring the property. - The type of the property. - Expression mapping an instance of the - declaring type to the property value. - Property info. - - - - Get the MethodInfo for a method called in the - expression. - - Type on which the method is called. - Expression demonstrating how the method appears. - The method info for the called method. - - - - Gets the for the new operation called in the expression. - - The type on which the constructor is called. - Expression demonstrating how the constructor is called. - The for the called constructor. - - - - Retrieves a custom attribute of a specified type that is applied to a specified member, - and optionally inspects the ancestors of that member. - - The type of attribute to search for. - The member to inspect. - true to inspect the ancestors of element; otherwise, false. - A custom attribute that matches , or null if no such attribute is found. - - - - 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 provided expression must be of the form () =>new X(), but the provided expression was {0}.. - - - - - Looks up a localized string similar to The provided expression must be of the form x =>x.M(), but the provided expression was {0}.. - - - - - Looks up a localized string similar to The provided expression must be of the form x =>x.P, but the provided expression was {0}.. - - - - - Adapts an action to the interface. - - - - - Joins the strings into one single string interspersing the elements with the separator (a-la - System.String.Join()). - - The elements. - The separator. - The joined string. - - - - Appends the item to the specified sequence. - - - The sequence. - The trailing item. - - - - - Prepends the item to the specified sequence. - - - The sequence. - The leading item. - - - - Returns the first concrete interface supported by the candidate type that - closes the provided open generic service type. - The type that is being checked for the interface. - The open generic type to locate. - The type of the interface. - - - - Looks for an interface on the candidate type that closes the provided open generic interface type. - - The type that is being checked for the interface. - The open generic service type to locate. - True if a closed implementation was found; otherwise false. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Signal attribute for static analysis that indicates a helper method is - validating arguments for . - - - - - 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 Unable to generate a function to return type '{0}' with input parameter types [{1}]. The input parameter type list has duplicate types. Try registering a custom delegate type instead of using a generic Func relationship.. - - - - - Looks up a localized string similar to Delegate Support (Func<T>and Custom Delegates). - - - - diff --git a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1/Autofac.dll b/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1/Autofac.dll deleted file mode 100644 index e4a596a97..000000000 Binary files a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1/Autofac.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1/Autofac.xml b/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1/Autofac.xml deleted file mode 100644 index 0b2a8808a..000000000 --- a/samples/js-bot-framework/bot/packages/Autofac.3.5.2/lib/portable-net4+sl5+netcore45+wpa81+wp8+MonoAndroid1+MonoTouch1/Autofac.xml +++ /dev/null @@ -1,6923 +0,0 @@ - - - - Autofac - - - - - Service used as a "flag" to indicate a particular component should be - automatically activated on container build. - - - - - Services are the lookup keys used to locate component instances. - - - - - Returns a that represents the current . - - - A that represents the current . - - - - - Implements the operator ==. - - The left operand. - The right operand. - The result of the operator. - - - - Implements the operator !=. - - The left operand. - The right operand. - The result of the operator. - - - - 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 . - - - - - Gets a human-readable description of the service. - - The description. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - if the specified is not - and is an ; otherwise, . - - - - All services of this type are considered "equal." - - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . Always 0 for this type. - - - - All services of this type are considered "equal" and use the same hash code. - - - - - - Gets the service description. - - - Always returns AutoActivate. - - - - - Used with the WithMetadata configuration method to - associate key-value pairs with an . - - Interface with properties whose names correspond to - the property keys. - This feature was suggested by OJ Reeves (@TheColonial). - - - - Set one of the property values. - - The type of the property. - An expression that accesses the property to set. - The property value to set. - - - - 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 choose between multiple constructors with equal length {0} on type '{1}'. Select the constructor explicitly, with the UsingConstructor() configuration method, when the component is registered.. - - - - - 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 {0} ---> {1} (See inner exception for details.). - - - - - Well-known tags used in setting up matching lifetime scopes. - - - - - Tag used in setting up per-request lifetime scope registrations - (e.g., per-HTTP-request or per-API-request). - - - - - Interface providing fluent syntax for chaining module registrations. - - - - - Add a module to the container. - - The module to add. - - The to allow - additional chained module registrations. - - - - - Basic implementation of the - interface allowing registration of modules into a - in a fluent format. - - - - - The into which registrations will be made. - - - - - Initializes a new instance of the class. - - - The into which registrations will be made. - - - Thrown if is . - - - - - Add a module to the container. - - The module to add. - - The to allow - additional chained module registrations. - - - Thrown if is . - - - - - Support the System.Lazy<T, TMetadata> - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - When a dependency of a lazy type is used, the instantiation of the underlying - component will be delayed until the Value property is first accessed. - - - - - Allows registrations to be made on-the-fly when unregistered - services are requested (lazy registrations.) - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - If the source is queried for service s, and it returns a component that implements both s and s', then it - will not be queried again for either s or s'. This means that if the source can return other implementations - of s', it should return these, plus the transitive closure of other components implementing their - additional services, along with the implementation of s. It is not an error to return components - that do not implement . - - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - 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 Lazy<T, TMetadata> Support. - - - - - 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 '{0}' cannot be used as a metadata view. A metadata view must be a concrete class with a parameterless or dictionary constructor.. - - - - - Looks up a localized string similar to Export metadata for '{0}' is missing and no default value was supplied.. - - - - - Provides a value along with metadata describing the value. - - The type of the value. - An interface to which metadata values can be bound. - - - - Create a new instance. - - The value described by the instance. - The metadata describing the value. - - - - The value described by . - - - - - Metadata describing the value. - - - - - Support the - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - - - - - Finds constructors that match a finder function. - - - - - Find suitable constructors from which to select. - - - - - Finds suitable constructors on the target type. - - Type to search for constructors. - Suitable constructors. - - - - Initializes a new instance of the class. - - - Default to selecting all public constructors. - - - - - Initializes a new instance of the class. - - The finder function. - - - - Finds suitable constructors on the target type. - - Type to search for constructors. - Suitable constructors. - - - - Extension methods for configuring the . - - - - - Fluent method for setting the registration configuration on . - - The registration source to configure. - A configuration action that will run on any registration provided by the source. - - The with the registration configuration set. - - - - - Extension methods for registering instances with a container. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The assemblies from which to register modules. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The assemblies from which to register modules. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The assemblies from which to register modules. - The type of the module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The assemblies from which to register modules. - The type of the module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The builder to register the modules with. - The of the module to add. - The assemblies from which to register modules. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - Registers modules found in an assembly. - - The module registrar that will make the registrations into the container. - The of the module to add. - The assemblies from which to register modules. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The builder to register the module with. - The module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The module registrar that will make the registration into the container. - The module to add. - - Thrown if is . - - - The to allow - additional chained module registrations. - - - - - Add a module to the container. - - The builder to register the module with. - The module to add. - - Thrown if or is . - - - The to allow - additional chained module registrations. - - - - - 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 Module.ThisAssembly is only available in modules that inherit directly from Module.. - - - - - Support the - type automatically whenever type T is registered with the container. - When a dependency of a lazy type is used, the instantiation of the underlying - component will be delayed until the Value property is first accessed. - - - - - Generates context-bound closures that represent factories from - a set of heuristics based on delegate type signatures. - - - - - Create a factory generator. - - The service that will be activated in - order to create the products of the factory. - The delegate to provide as a factory. - The parameter mapping mode to use. - - - - Create a factory generator. - - The component that will be activated in - order to create the products of the factory. - The delegate to provide as a factory. - The parameter mapping mode to use. - - - - Generates a factory delegate that closes over the provided context. - - The context in which the factory will be used. - Parameters provided to the resolve call for the factory itself. - A factory delegate that will work within the context. - - - - Generates a factory delegate that closes over the provided context. - - The context in which the factory will be used. - Parameters provided to the resolve call for the factory itself. - A factory delegate that will work within the context. - - - - Reflection activator data for concrete types. - - - - - Builder for reflection-based activators. - - - - - Specify a reflection activator for the given type. - - Type that will be activated. - - - - Get the implementation type. - - - - - The constructor finder for the registration. - - - - - The constructor selector for the registration. - - - - - The explicitly bound constructor parameters. - - - - - The explicitly bound properties. - - - - - Activator data that can provide an IInstanceActivator instance. - - - - - The instance activator based on the provided data. - - - - - Specify a reflection activator for the given type. - - Type that will be activated. - - - - The instance activator based on the provided data. - - - - - Parameterises the construction of a container by a . - - - - - No options - the default behavior for container building. - - - - - Prevents inclusion of standard modules like support for - relationship types including etc. - - - - - Does not call on components implementing - this interface (useful for module testing.) - - - - - Data structure used to construct registrations. - - The most specific type to which instances of the registration - can be cast. - Activator builder type. - Registration style type. - - - - Configure the component so that instances are never disposed by the container. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that instances that support IDisposable are - disposed by the container (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets a new, unique instance (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets the same, shared instance. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a single ILifetimeScope gets the same, shared instance. Dependent components in - different lifetime scopes will get different instances. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() within - a ILifetimeScope tagged with any of the provided tags value gets the same, shared instance. - Dependent components in lifetime scopes that are children of the tagged scope will - share the parent's instance. If no appropriately tagged scope can be found in the - hierarchy an is thrown. - - Tag applied to matching lifetime scopes. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - Key to associate with the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Service types to expose. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Services to expose. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Preparing event. This event allows manipulating of the parameters - that will be provided to the component. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activating event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activated event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Configure the component so that any properties whose types are registered in the - container will be wired to instances of the appropriate service. - - Set wiring options such as circular dependency wiring support. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - Key by which the data can be located. - The data value. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - The extended properties to associate with the component. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - A type with properties whose names correspond to the - property names to configure. - A registration builder allowing further configuration of the component. - - - - The activator data. - - - - - The registration style. - - - - - The registration data. - - - - - Delegates registration lookups to a specified registry. When write operations are applied, - initialises a new 'writeable' registry. - - - Safe for concurrent access by multiple readers. Write operations are single-threaded. - - - - - Provides component registrations according to the services they provide. - - - - - Attempts to find a default registration for the specified service. - - The service to look up. - The default registration for the service. - True if a registration exists. - - - - Determines whether the specified service is registered. - - The service to test. - True if the service is registered. - - - - Register a component. - - The component registration. - - - - Register a component. - - The component registration. - If true, existing defaults for the services provided by the - component will not be changed. - - - - Selects from the available registrations after ensuring that any - dynamic registration sources that may provide - have been invoked. - - The service for which registrations are sought. - Registrations supporting . - - - - Add a registration source that will provide registrations on-the-fly. - - The source to register. - - - - Enumerate the registered components. - - - - - Fired whenever a component is registered - either explicitly or via a - . - - - - - Gets the registration sources that are used by the registry. - - - - - True if the registry contains its own components; false if it is forwarding - registrations from another external registry. - - This property is used when walking up the scope tree looking for - registrations for a new customised scope. (See issue 336.) - - - - Fired when an is added to the registry. - - - - - Enables contravariant Resolve() for interfaces that have a single contravariant ('in') parameter. - - - interface IHandler<in TCommand> - { - void Handle(TCommand command); - } - - class Command { } - - class DerivedCommand : Command { } - - class CommandHandler : IHandler<Command> { ... } - - var builder = new ContainerBuilder(); - builder.RegisterSource(new ContravariantRegistrationSource()); - builder.RegisterType<CommandHandler>(); - var container = builder.Build(); - // Source enables this line, even though IHandler<Command> is the - // actual registered type. - var handler = container.Resolve<IHandler<DerivedCommand>>(); - handler.Handle(new DerivedCommand()); - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - If the source is queried for service s, and it returns a component that implements both s and s', then it - will not be queried again for either s or s'. This means that if the source can return other implementations - of s', it should return these, plus the transitive closure of other components implementing their - additional services, along with the implementation of s. It is not an error to return components - that do not implement . - - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - Options that can be applied when autowiring properties on a component. (Multiple options can - be specified using bitwise 'or' - e.g. AllowCircularDependencies | PreserveSetValues. - - - - - Default behavior. Circular dependencies are not allowed; existing non-default - property values are overwritten. - - - - - Allows property-property and property-constructor circular dependency wiring. - This flag moves property wiring from the Activating to the Activated event. - - - - - If specified, properties that already have a non-default value will be left - unchanged in the wiring operation. - - - - - Static factory methods to simplify the creation and handling of IRegistrationBuilder{L,A,R}. - - - To create an for a specific type, use: - - var cr = RegistrationBuilder.ForType(t).CreateRegistration(); - - The full builder syntax is supported: - - var cr = RegistrationBuilder.ForType(t).Named("foo").ExternallyOwned().CreateRegistration(); - - - - - - Creates a registration builder for the provided delegate. - - Instance type returned by delegate. - Delegate to register. - A registration builder. - - - - Creates a registration builder for the provided delegate. - - Delegate to register. - Most specific type return value of delegate can be cast to. - A registration builder. - - - - Creates a registration builder for the provided type. - - Implementation type to register. - A registration builder. - - - - Creates a registration builder for the provided type. - - Implementation type to register. - A registration builder. - - - - Create an from a . - (There is no need to call - this method when registering components through a .) - - - When called on the result of one of the methods, - the returned registration will be different from the one the builder itself registers - in the container. - - - - var registration = RegistrationBuilder.ForType<Foo>().CreateRegistration(); - - - - - - The registration builder. - An IComponentRegistration. - - Thrown if is . - - - - - Create an IComponentRegistration from data. - - Id of the registration. - Registration data. - Activator. - Services provided by the registration. - An IComponentRegistration. - - - - Create an IComponentRegistration from data. - - Id of the registration. - Registration data. - Activator. - Services provided by the registration. - Optional; target registration. - An IComponentRegistration. - - Thrown if or is . - - - - - Register a component in the component registry. This helper method is necessary - in order to execute OnRegistered hooks and respect PreserveDefaults. - - Hoping to refactor this out. - - - - Component registry to make registration in. - Registration builder with data for new registration. - - - - 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 '{0}' is not assignable to service '{1}'.. - - - - - Adds registration syntax for less commonly-used features. - - - These features are in this namespace because they will remain accessible to - applications originally written against Autofac 1.4. In Autofac 2, this functionality - is implicitly provided and thus making explicit registrations is rarely necessary. - - - - - Registers a factory delegate. - - Container builder. - Factory type to generate. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers a factory delegate. - - Container builder. - Factory type to generate. - The service that the delegate will return instances of. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, and - this method is generally not required. - - - - Registers a factory delegate. - - The type of the delegate. - Container builder. - The service that the delegate will return instances of. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers a factory delegate. - - The type of the delegate. - Container builder. - Registration builder allowing the registration to be configured. - Factory delegates are provided automatically in Autofac 2, - and this method is generally not required. - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by name. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by position. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Changes the parameter mapping mode of the supplied delegate type to match - parameters by type. - - Factory delegate type - Activator data type - Registration style - Registration to change parameter mapping mode of. - Registration builder allowing the registration to be configured. - - Thrown if is . - - - - - Registers the type as a collection. If no services or names are specified, the - default services will be IList<T>, ICollection<T>, and IEnumerable<T> - - The type of the collection elements. - Container builder. - A unique name for the collection that can be passed to MemberOf(). - Registration builder allowing the registration to be configured. - Collections are provided automatically in Autofac 2, - and this method is generally not required. - - - - Registers the type as a collection. If no services or names are specified, the - default services will be IList<T>, ICollection<T>, and IEnumerable<T> - - The type of the collection elements. - Container builder. - A unique name for the collection that can be passed to MemberOf(). - Registration builder allowing the registration to be configured. - Collections are provided automatically in Autofac 2, - and this method is generally not required. - - - - Include the element explicitly in a collection configured using RegisterCollection. - - Registration limit type. - Registration style. - Activator data type. - Registration to export. - The collection name, as passed to RegisterCollection. - A registration builder allowing further configuration of the component. - - - - 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 Build() or Update() can only be called once on a ContainerBuilder.. - - - - - Looks up a localized string similar to An error occurred while attempting to automatically activate registration '{0}'. See the inner exception for information on the source of the failure.. - - - - - 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 A delegate registered to create instances of '{0}' returned null.. - - - - - 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 Bound constructor '{0}'.. - - - - - Looks up a localized string similar to The binding cannot be instantiated.. - - - - - Looks up a localized string similar to An exception was thrown while invoking the constructor '{0}' on type '{1}'.. - - - - - Looks up a localized string similar to Cannot resolve parameter '{1}' of constructor '{0}'.. - - - - - Provides parameters that have a default value, set with an optional parameter - declaration in C# or VB. - - - - - Used in order to provide a value to a constructor parameter or property on an instance - being created by the container. - - - Not all parameters can be applied to all sites. - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - Thrown if is . - - - - - 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 container's self-registration of context interfaces should never be activated as it is hard-wired into the LifetimeScope class.. - - - - - Marks a module as container-aware (for the purposes of attaching to diagnostic events.) - - - - - Initialise the module with the container into which it is being registered. - - The container. - - - - Fired when the activation process for a new instance is complete. - - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The paramters provided when resolved. - - - - - The instance that will be used to satisfy the request. - - - - - Fired after the construction of an instance but before that instance - is shared with any other or any members are invoked on it. - - - - - The instance can be replaced if needed, e.g. by an interface proxy. - - The object to use instead of the activated instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The instance that will be used to satisfy the request. - - - - - The parameters supplied to the activator. - - - - - Interface supported by services that carry type information. - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets the type of the service. - - The type of the service. - - - - Identifies a service using a key in addition to its type. - - - - - Initializes a new instance of the class. - - Key of the service. - Type of the service. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to 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 . - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets or sets the key of the service. - - The key of the service. - - - - Gets the type of the service. - - The type of the service. - - - - Gets a human-readable description of the service. - - The description. - - - - Describes when a lifetime scope is beginning. - - - - - Create an instance of the class. - - The lifetime scope that is beginning. - - - - The lifetime scope that is beginning. - - - - - Describes when a lifetime scope is ending. - - - - - Create an instance of the class. - - The lifetime scope that is ending. - - - - The lifetime scope that is ending. - - - - - 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 Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it has already been disposed.. - - - - - Fired when an is added to the registry. - - - - - Construct an instance of the class. - - The registry to which the source was added. - The source that was added. - - - - - The registry to which the source was added. - - - - - The source that was added. - - - - - Represents the process of finding a component during a resolve operation. - - - - - The component for which an instance is to be looked up. - - - - - The scope in which the instance will be looked up. - - - - - The parameters provided for new instance creation. - - - - - Raised when the lookup phase of the operation is ending. - - - - - Raised when the completion phase of an instance lookup operation begins. - - - - - Raised when the completion phase of an instance lookup operation ends. - - - - - Raised when the completion phase of an instance lookup operation begins. - - - - - Create an instance of the class. - - The instance lookup that is beginning the completion phase. - - - - The instance lookup operation that is beginning the completion phase. - - - - - Raised when the completion phase of an instance lookup operation ends. - - - - - Create an instance of the class. - - The instance lookup that is ending the completion phase. - - - - The instance lookup operation that is ending the completion phase. - - - - - Fired when an instance is looked up. - - - - - Create an instance of the class. - - The instance lookup that is ending. - True if a new instance was created as part of the operation. - - - - True if a new instance was created as part of the operation. - - - - - The instance lookup operation that is ending. - - - - - Fired when instance lookup is complete. - - - - The instance lookup that is ending. - - - - The instance lookup operation that is beginning. - - - - - Describes the commencement of a new resolve operation. - - - - - Create an instance of the class. - - The resolve operation that is beginning. - - - - The resolve operation that is beginning. - - - - - Wraps a component registration, switching its lifetime. - - - - - Base class for disposable objects. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Returns true if the current instance has been disposed; otherwise false; - - - - - Describes a logical component within the container. - - - - - Called by the container when an instance is required. - - The context in which the instance will be activated. - Parameters for activation. These may be modified by the event handler. - - - - Called by the container once an instance has been constructed. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Called by the container once an instance has been fully constructed, including - any requested objects that depend on the instance. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - A unique identifier for this component (shared in all sub-contexts.) - This value also appears in Services. - - - - - The activator used to create instances. - - - - - The lifetime associated with the component. - - - - - Whether the component instances are shared or not. - - - - - Whether the instances of the component should be disposed by the container. - - - - - The services provided by the component. - - - - - Additional data associated with the component. - - - - - The component registration upon which this registration is based. - - - - - Fired when a new instance is required. The instance can be - provided in order to skip the regular activator, by setting the Instance property in - the provided event arguments. - - - - - Fired when a new instance is being activated. The instance can be - wrapped or switched at this time by setting the Instance property in - the provided event arguments. - - - - - Fired when the activation process for a new instance is complete. - - - - - 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 Activator = {0}, Services = [{1}], Lifetime = {2}, Sharing = {3}, Ownership = {4}. - - - - - Pulls registrations from another component registry. - Excludes most auto-generated registrations - currently has issues with - collection registrations. - - - - - Create an external registry source that draws components from - . - - Component registry to pull registrations from. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - In this case because the components that are adapted do not come from the same - logical scope, we must return false to avoid duplicating them. - - - - - Switches components with a RootScopeLifetime (singletons) with - decorators exposing MatchingScopeLifetime targeting the specified scope. - - - - - Maps services onto the components that provide them. - - - The component registry provides services directly from components, - and also uses to generate components - on-the-fly or as adapters for other components. A component registry - is normally used through a , and not - directly by application code. - - - - - Protects instance variables from concurrent access. - - - - - External registration sources. - - - - - All registrations. - - - - - Keeps track of the status of registered services. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Attempts to find a default registration for the specified service. - - The service to look up. - The default registration for the service. - True if a registration exists. - - - - Determines whether the specified service is registered. - - The service to test. - True if the service is registered. - - - - Register a component. - - The component registration. - - - - Register a component. - - The component registration. - If true, existing defaults for the services provided by the - component will not be changed. - - - - Selects from the available registrations after ensuring that any - dynamic registration sources that may provide - have been invoked. - - The service for which registrations are sought. - Registrations supporting . - - - - Add a registration source that will provide registrations on-the-fly. - - The source to register. - - - - Enumerate the registered components. - - - - - Fired whenever a component is registered - either explicitly or via a - . - - - - - Gets the registration sources that are used by the registry. - - - - - True if the registry contains its own components; false if it is forwarding - registrations from another external registry. - - This property is used when walking up the scope tree looking for - registrations for a new customised scope. (See issue 336.) - - - - Fired when an is added to the registry. - - - - - Tracks the services known to the registry. - - - - - Used for bookkeeping so that the same source is not queried twice (may be null.) - - - - - Initializes a new instance of the class. - - The tracked service. - - - - The first time a service is requested, initialization (e.g. reading from sources) - happens. This value will then be set to true. Calling many methods on this type before - initialisation is an error. - - - - - The known implementations. - - - - - True if any implementations are known. - - - - - 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 operation is only valid during initialization.. - - - - - Looks up a localized string similar to The operation is not valid until the object is initialized.. - - - - - 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 activation has already been executed.. - - - - - Describes the commencement of a new resolve operation. - - - - - Create an instance of the class. - - The resolve operation that is ending. - If included, the exception causing the operation to end; otherwise, null. - - - - The exception causing the operation to end, or null. - - - - - The resolve operation that is ending. - - - - - 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 Subclasses of Autofac.Service must override Object.Equals(). - - - - - Looks up a localized string similar to Subclasses of Autofac.Service must override Object.GetHashCode(). - - - - - 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 Collection Support (Arrays and Generic Collection Interfaces). - - - - - 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 Lazy<T> Support. - - - - - Describes the basic requirements for generating a lightweight adapter. - - - - - Create an instance of . - - The service that will be adapted from. - The adapter function. - - - - The adapter function. - - - - - The service to be adapted from. - - - - - 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 Lightweight Adapter from {0} to {1}. - - - - - Looks up a localized string similar to The service {0} cannot be both the adapter's from and to parameters - these must differ.. - - - - - Internal implementation of the RegisterCollection/MemberOf-style collection feature. - - - - - Registration style for dynamic registrations. - - - - - Data used to create factory activators. - - - - - Create a new GeneratedFactoryActivatorData - - The type of the factory. - The service used to provide the products of the factory. - - - - Determines how the parameters of the delegate type are passed on - to the generated Resolve() call as Parameter objects. - For Func-based delegates, this defaults to ByType. Otherwise, the - parameters will be mapped by name. - - - - - Activator data that can provide an IInstanceActivator instance. - - - - - Hides standard Object members to make fluent interfaces - easier to read. - Based on blog post by @kzu here: - http://www.clariusconsulting.net/blogs/kzu/archive/2008/03/10/58301.aspx - - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - Standard result. - - - - Standard System.Object member. - - The other. - Standard result. - - - - Determines how the parameters of the delegate type are passed on - to the generated Resolve() call as Parameter objects. - - - - - Chooses parameter mapping based on the factory type. - For Func-based factories this is equivalent to ByType, for all - others ByName will be used. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as NamedParameters based on the parameter - names in the delegate type's formal argument list. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as TypedParameters based on the parameter - types in the delegate type's formal argument list. - - - - - Pass the parameters supplied to the delegate through to the - underlying registration as PositionalParameters based on the parameter - indices in the delegate type's formal argument list. - - - - - Provides components by lookup operations via an index (key) type. - - The type of the index. - The service provided by the indexed components. - - Retrieving a value given a key: - - IIndex<AccountType, IRenderer> accountRenderers = // ... - var renderer = accountRenderers[AccountType.User]; - - - - - - Get the value associated with if any is available. - - The key to look up. - The retrieved value. - True if a value associated with the key exists. - - - - Get the value associated with . - - The value to retrieve. - The associated value. - - - - - - - - - - - - - Support the - types automatically whenever type T is registered with the container. - Metadata values come from the component registration's metadata. - - - - - Provides a value along with a dictionary of metadata describing the value. - - The type of the value. - - - - Create a new instance. - - The value described by the instance. - The metadata describing the value. - - - - The value described by . - - - - - Metadata describing the value. - - - - - 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 Meta<T> Support. - - - - - Looks up a localized string similar to Meta<T, TMetadata> Support. - - - - - 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 service '{0}' is not an open generic 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 {0} providing {1}. - - - - - Describes the activator for an open generic decorator. - - - - - Construct an . - - The decorator type. - The open generic service type to decorate. - - - - The open generic service type to decorate. - - - - - 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 service {0} cannot be both the adapter's from and to parameters - these must differ.. - - - - - Looks up a localized string similar to Open Generic Decorator {0} from {1} to {2}. - - - - - 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 {0} is not an open generic type definition.. - - - - - 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 '{0}' does not implement the interface '{1}'.. - - - - - Looks up a localized string similar to The implementation type '{0}' is not an open generic type definition.. - - - - - Looks up a localized string similar to The implementation type '{0}' does not support the interface '{1}'.. - - - - - Looks up a localized string similar to The service '{0}' is not an open generic type definition.. - - - - - Looks up a localized string similar to The service '{1}' is not assignable from implementation type '{0}'.. - - - - - 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 Owned<T> Support. - - - - - Provides registrations on-the-fly for any concrete type not already registered with - the container. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - A predicate that selects types the source will register. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Returns a that represents the current . - - - A that represents the current . - - 2 - - - - Gets whether the registrations provided by this source are 1:1 adapters on top - of other components (I.e. like Meta, Func or Owned.) - - - - - Gets or sets an expression used to configure generated registrations. - - - A that can be used to modify the behavior - of registrations that are generated by this source. - - - - - 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 "Resolve Anything" Support. - - - - - Activation data for types located by scanning assemblies. - - - - - Create an instance of . - - - - - The filters applied to the types from the scanned assembly. - - - - - Additional actions to be performed on the concrete type registrations. - - - - - Actions to be called once the scanning operation is complete. - - - - - Fired when the activation process for a new instance is complete. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - The instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The paramters provided when resolved. - - - - - The instance that will be used to satisfy the request. - - - - - Fired after the construction of an instance but before that instance - is shared with any other or any members are invoked on it. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - The instance. - - - - The instance can be replaced if needed, e.g. by an interface proxy. - - The object to use instead of the activated instance. - - - - The context in which the activation occurred. - - - - - The component providing the instance. - - - - - The instance that will be used to satisfy the request. - - - The instance can be replaced if needed, e.g. by an interface proxy. - - - - - The parameters supplied to the activator. - - - - - Activate instances using a delegate. - - - - - Base class for instance activators. - - - - - Create an instance activator that will return instances compatible - with . - - Most derived type to which instances can be cast. - - - - Gets a string representation of the activator. - - A string describing the activator. - - - - The most specific type that the component instances are known to be castable to. - - - - - Activates component instances. - - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - The most specific type that the component instances are known to be castable to. - - - - - Create a delegate activator. - - The most specific type to which activated instances can be cast. - Activation delegate. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - Provides a pre-constructed instance. - - - - - Provide the specified instance. - - The instance to provide. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Determines whether the activator disposes the instance that it holds. - Necessary because otherwise instances that are never resolved will never be - disposed. - - - - - 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 provided instance has already been used in an activation request. Did you combine a provided instance with non-root/single-instance lifetime/sharing?. - - - - - Supplies values based on the target parameter type. - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - Thrown if or is . - - - - - Binds a constructor to the parameters that will be used when it is invoked. - - - - - Construct a new ConstructorParameterBinding. - - ConstructorInfo to bind. - Available parameters. - Context in which to construct instance. - - - - Invoke the constructor with the parameter bindings. - - The constructed instance. - - - Returns a System.String that represents the current System.Object. - A System.String that represents the current System.Object. - - - - The constructor on the target type. The actual constructor used - might differ, e.g. if using a dynamic proxy. - - - - - True if the binding is valid. - - - - - Describes the constructor parameter binding. - - - - - Selects the best constructor from a set of available constructors. - - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - - - - Selects a constructor based on its signature. - - - - - Match constructors with the provided signature. - - Signature to match. - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - - - - 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 At least one binding must be provided in order to select a constructor.. - - - - - Looks up a localized string similar to The required constructor on type '{0}' with signature '{1}' is unavailable.. - - - - - Looks up a localized string similar to More than one constructor matches the signature '{0}'.. - - - - - Selects the constructor with the most parameters. - - - - - Selects the best constructor from the available constructors. - - Available constructors. - The best constructor. - A single unambiguous match could not be chosen. - - - - Uses reflection to activate instances of a type. - - - - - Create an activator for the provided type. - - Type to activate. - Constructor finder. - Constructor selector. - Parameters configured explicitly for this instance. - Properties configured explicitly for this instance. - - - - Activate an instance in the provided context. - - Context in which to activate instances. - Parameters to the instance. - The activated instance. - - The context parameter here should probably be ILifetimeScope in order to reveal Disposer, - but will wait until implementing a concrete use case to make the decision - - - - - The constructor finder. - - - - - The constructor selector. - - - - - 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 No constructors on type '{0}' can be found with the constructor finder '{1}'.. - - - - - Looks up a localized string similar to None of the constructors found with '{0}' on type '{1}' can be invoked with the available services and parameters:{2}. - - - - - Base class for parameters that provide a constant value. - - - - - Create a constant parameter that will apply to parameters matching - the supplied predicate. - - - - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - The value of the parameter. - - - - - Standard container implementation. - - - - - Creates, wires dependencies and manages lifetime for a set of components. - Most instances of are created - by a . - - - - // See ContainerBuilder for the definition of the builder variable - using (var container = builder.Build()) - { - var program = container.Resolve<Program>(); - program.Run(); - } - - - - Most functionality is provided by extension methods - on the inherited interface. - - - - - - - - - An tracks the instantiation of component instances. - It defines a boundary in which instances are shared and configured. - Disposing an will dispose the components that were - resolved through it. - - - - // See IContainer for definition of the container variable - using (var requestScope = container.BeginLifetimeScope()) - { - // Note that handler is resolved from requestScope, not - // from the container: - - var handler = requestScope.Resolve<IRequestHandler>(); - handler.Handle(request); - - // When requestScope is disposed, all resources used in processing - // the request will be released. - } - - - - All long-running applications should resolve components via an - . Choosing the duration of the lifetime is application- - specific. The standard Autofac WCF and ASP.NET/MVC integrations are already configured - to create and release s as appropriate. For example, the - ASP.NET integration will create and release an per HTTP - request. - Most functionality is provided by extension methods - on the inherited interface. - - - - - - - - - - - The context in which a service can be accessed or a component's - dependencies resolved. Disposal of a context will dispose any owned - components. - - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Associates services with the components that provide them. - - - - - Begin a new nested scope. Component instances created via the new scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new nested scope. Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - - The components registered in the sub-scope will be treated as though they were - registered in the root scope, i.e., SingleInstance() components will live as long - as the root scope. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - - The components registered in the sub-scope will be treated as though they were - registered in the root scope, i.e., SingleInstance() components will live as long - as the root scope. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - The disposer associated with this . - Component instances can be associated with it manually if required. - - Typical usage does not require interaction with this member- it - is used when extending the container. - - - - The tag applied to the . - - Tags allow a level in the lifetime hierarchy to be identified. - In most applications, tags are not necessary. - - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Create a new container. - - - - - Begin a new sub-scope. Instances created via the sub-scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new sub-scope. Instances created via the sub-scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Begin a new nested scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the service object of the specified type. - - An object that specifies the type of service object - to get. - - A service object of type .-or- null if there is - no service object of type . - - - - - The disposer associated with this container. Instances can be associated - with it manually if required. - - - - - Tag applied to the lifetime scope. - - The tag applied to this scope and the contexts generated when - it resolves component dependencies. - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Associates services with the components that provide them. - - - - - Base exception type thrown whenever the dependency resolution process fails. This is a fatal - exception, as Autofac is unable to 'roll back' changes to components that may have already - been made during the operation. For example, 'on activated' handlers may have already been - fired, or 'single instance' components partially constructed. - - - - - Initializes a new instance of the class. - - The message. - - - - Initializes a new instance of the class. - - The message. - The inner exception. - - - - Gets a message that describes the current exception. - - - The error message that explains the reason for the exception, or an empty string(""). - - - - - Maintains a set of objects to dispose, and disposes them in the reverse order - from which they were added when the Disposer is itself disposed. - - - - - Provided on an object that will dispose of other objects when it is - itself disposed. - - - - - Adds an object to the disposer. When the disposer is - disposed, so will the object be. - - The instance. - - - - Contents all implement IDisposable. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Adds an object to the disposer. When the disposer is - disposed, so will the object be. - - The instance. - - - - Locates the lifetime to which instances of a component should be attached. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - Represents a set of components and related functionality - packaged together. - - - - - Apply the module to the component registry. - - Component registry to apply configuration to. - - - - Determines when instances supporting IDisposable are disposed. - - - - - The lifetime scope does not dispose the instances. - - - - - The instances are disposed when the lifetime scope is disposed. - - - - - Determines whether instances are shared within a lifetime scope. - - - - - Each request for an instance will return a new object. - - - - - Each request for an instance will return the same object. - - - - - Defines a nested structure of lifetimes. - - - - - Try to retrieve an instance based on a GUID key. If the instance - does not exist, invoke to create it. - - Key to look up. - Creation function. - An instance. - - - - The root of the sharing hierarchy. - - - - - The parent of this node of the hierarchy, or null. - - - - - Attaches the instance's lifetime to the current lifetime scope. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - Lifetime scope implementation. - - - - - Protects shared instances from concurrent access. Other members and the base class are threadsafe. - - - - - The tag applied to root scopes when no other tag is specified. - - - - - Create a lifetime scope for the provided components and nested beneath a parent. - - The tag applied to the . - Components used in the scope. - Parent scope. - - - - Create a root lifetime scope for the provided components. - - The tag applied to the . - Components used in the scope. - - - - Create a root lifetime scope for the provided components. - - Components used in the scope. - - - - Begin a new anonymous sub-scope. Instances created via the sub-scope - will be disposed along with it. - - A new lifetime scope. - - - - Begin a new tagged sub-scope. Instances created via the sub-scope - will be disposed along with it. - - The tag applied to the . - A new lifetime scope. - - - - Begin a new anonymous sub-scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - IContainer cr = // ... - using (var lifetime = cr.BeginLifetimeScope(builder => { - builder.RegisterType<Foo>(); - builder.RegisterType<Bar>().As<IBar>(); }) - { - var foo = lifetime.Resolve<Foo>(); - } - - - - - Begin a new tagged sub-scope, with additional components available to it. - Component instances created via the new scope - will be disposed along with it. - - The tag applied to the . - Action on a - that adds component registations visible only in the new scope. - A new lifetime scope. - - IContainer cr = // ... - using (var lifetime = cr.BeginLifetimeScope("unitOfWork", builder => { - builder.RegisterType<Foo>(); - builder.RegisterType<Bar>().As<IBar>(); }) - { - var foo = lifetime.Resolve<Foo>(); - } - - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Try to retrieve an instance based on a GUID key. If the instance - does not exist, invoke to create it. - - Key to look up. - Creation function. - An instance. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the service object of the specified type. - - An object that specifies the type of service object - to get. - - A service object of type .-or- null if there is - no service object of type . - - - - - The parent of this node of the hierarchy, or null. - - - - - The root of the sharing hierarchy. - - - - - The disposer associated with this container. Instances can be associated - with it manually if required. - - - - - Tag applied to the lifetime scope. - - The tag applied to this scope and the contexts generated when - it resolves component dependencies. - - - - Associates services with the components that provide them. - - - - - Fired when a new scope based on the current scope is beginning. - - - - - Fired when this scope is ending. - - - - - Fired when a resolve operation is beginning in this scope. - - - - - Attaches the component's lifetime to scopes matching a supplied expression. - - - - - Match scopes by comparing tags for equality. - - The tags applied to matching scopes. - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - 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 No scope with a Tag matching '{0}' is visible from the scope in which the instance was requested. This generally indicates that a component registered as per-HTTP request is being requested by a SingleInstance() component (or a similar scenario.) Under the web integration always request dependencies from the DependencyResolver.Current or ILifetimeScopeProvider.RequestLifetime, never from the container itself.. - - - - - Attaches the component's lifetime to the root scope. - - - - - Given the most nested scope visible within the resolve operation, find - the scope for the component. - - The most nested visible scope. - The scope for the component. - - - - A property identified by name. When applied to a reflection-based - component, the name will be matched against property names. - - - - - Create a with the specified constant value. - - The name of the property. - The property value. - - - - The name of the property. - - - - - Fired before the activation process to allow parameters to be changed or an alternative - instance to be provided. - - - - - Initializes a new instance of the class. - - The context. - The component. - The parameters. - - - - The context in which the activation is occurring. - - - - - The component providing the instance being activated. - - - - - The parameters supplied to the activator. - - - - - A service was requested that cannot be provided by the container. To avoid this exception, either register a component - to provide the required service, check for service registration using IsRegistered(), or use the ResolveOptional() - method to resolve an optional dependency. - - This exception is fatal. See for more information. - - - - Initializes a new instance of the class. - - The service. - - - - Initializes a new instance of the class. - - The service. - The inner 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 The requested service '{0}' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.. - - - - - Information about the ocurrence of a component being registered - with a container. - - - - - Create a new instance with a valid container and component registration. - - The container into which the registration - was made. - The component registration. - - - - The container into which the registration was made. - - - - - The component registration. - - - - - Describes a logical component within the container. - - - - - Create a new component registration. - - Unique identifier for the component. - Activator used to activate instances. - Determines how the component will be associated with its lifetime. - Whether the component is shared within its lifetime scope. - Whether the component instances are disposed at the end of their lifetimes. - Services the component provides. - Data associated with the component. - - - - Create a new component registration. - - Unique identifier for the component. - Activator used to activate instances. - Determines how the component will be associated with its lifetime. - Whether the component is shared within its lifetime scope. - Whether the component instances are disposed at the end of their lifetimes. - Services the component provides. - Data associated with the component. - The component registration upon which this registration is based. - - - - Called by the container when an instance is required. - - The context in which the instance will be activated. - Parameters for activation. - - - - Called by the container once an instance has been constructed. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Called by the container once an instance has been fully constructed, including - any requested objects that depend on the instance. - - The context in which the instance was activated. - The parameters supplied to the activator. - The instance. - - - - Describes the component in a human-readable form. - - A description of the component. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - The component registration upon which this registration is based. - If this registration was created directly by the user, returns this. - - - - - A unique identifier for this component (shared in all sub-contexts.) - This value also appears in Services. - - - - - The activator used to create instances. - - - - - The lifetime associated with the component. - - - - - Whether the component instances are shared or not. - - - - - Whether the instances of the component should be disposed by the container. - - - - - The services provided by the component. - - - - - Additional data associated with the component. - - - - - Fired when a new instance is required. The instance can be - provided in order to skip the regular activator, by setting the Instance property in - the provided event arguments. - - - - - Fired when a new instance is being activated. The instance can be - wrapped or switched at this time by setting the Instance property in - the provided event arguments. - - - - - Fired when the activation process for a new instance is complete. - - - - - Catch circular dependencies that are triggered by post-resolve processing (e.g. 'OnActivated') - - - - - 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 Circular component dependency detected: {0}.. - - - - - Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'. - - - - - An is a component context that sequences and monitors the multiple - activations that go into producing a single requested object graph. - - - - - Get or create and share an instance of in the . - - The scope in the hierarchy in which the operation will begin. - The component to resolve. - Parameters for the component. - The component instance. - - - - Raised when the entire operation is complete. - - - - - Raised when an instance is looked up within the operation. - - - - - A is a component context that sequences and monitors the multiple - activations that go into producing a single requested object graph. - - - - - Create an instance of in the provided scope. - - The most nested scope in which to begin the operation. The operation - can move upward to less nested scopes as components with wider sharing scopes are activated - - - - Resolve an instance of the provided registration within the context. - - The registration. - Parameters for the instance. - - The component instance. - - - - - - - Execute the complete resolve operation. - - - - - Continue building the object graph by instantiating in the - current . - - The current scope of the operation. - The component to activate. - The parameters for the component. - The resolved instance. - - - - - Associates services with the components that provide them. - - - - - 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 An exception was thrown while executing a resolve operation. See the InnerException for details.. - - - - - Looks up a localized string similar to Probable circular dependency between factory-scoped components. Chain includes '{0}'. - - - - - Looks up a localized string similar to This resolve operation has already ended. When registering components using lambdas, the IComponentContext 'c' parameter to the lambda cannot be stored. Instead, either resolve IComponentContext again from 'c', or resolve a Func<> based factory to create subsequent components from.. - - - - - Identifies a service according to a type to which it can be assigned. - - - - - Initializes a new instance of the class. - - Type of the service. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to 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 . - - - - - Return a new service of the same kind, but carrying - as the . - - The new service type. - A new service with the service type. - - - - Gets the type of the service. - - The type of the service. - - - - Gets a human-readable description of the service. - - The description. - - - - A handy unique service identifier type - all instances will be regarded as unequal. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The id. - - - - 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 . - - - - - Provides a programmer-readable description of the identifying feature of the service. - - - - - - Registration source providing implicit collection/list/enumerable support. - - - - This registration source provides enumerable support to allow resolving - the set of all registered services of a given type. - - - What may not be immediately apparent is that it also means any time there - are no items of a particular type registered, it will always return an - empty set rather than or throwing an exception. - This is by design. - - - Consider the [possibly majority] use case where you're resolving a set - of message handlers or event handlers from the container. If there aren't - any handlers, you want an empty set - not or - an exception. It's valid to have no handlers registered. - - - This implicit support means other areas (like MVC support or manual - property injection) must take care to only request enumerable values they - expect to get something back for. In other words, "Don't ask the container - for something you don't expect to resolve." - - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Generates activators for open generic types. - - - - - Represents a dependency that can be released by the dependent component. - - The service provided by the dependency. - - - Autofac automatically provides instances of whenever the - service is registered. - - - It is not necessary for , or the underlying component, to implement . - Disposing of the object is the correct way to handle cleanup of the dependency, - as this will dispose of any other components created indirectly as well. - - - When is resolved, a new is created for the - underlying , and tagged with the service matching , - generally a . This means that shared instances can be tied to this - scope by registering them as InstancePerMatchingLifetimeScope(new TypedService(typeof(T))). - - - - The component D below is disposable and implements IService: - - public class D : IService, IDisposable - { - // ... - } - - The dependent component C can dispose of the D instance whenever required by taking a dependency on - : - - public class C - { - IService _service; - - public C(Owned<IService> service) - { - _service = service; - } - - void DoWork() - { - _service.Value.DoSomething(); - } - - void OnFinished() - { - _service.Dispose(); - } - } - - In general, rather than depending on directly, components will depend on - System.Func<Owned<T>> in order to create and dispose of other components as required. - - - - - Create an instance of . - - The value representing the instance. - An IDisposable interface through which ownership can be released. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - The owned value. - - - - - Generates registrations for services of type whenever the service - T is available. - - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - When implemented by a component, an instance of the component will be resolved - and started as soon as the container is built. Autofac will not call the Start() - method when subsequent instances are resolved. If this behavior is required, use - an OnActivated() event handler instead. - - - For equivalent "Stop" functionality, implement . Autofac - will always dispose a component before any of its dependencies (except in the presence - of circular dependencies, in which case the components in the cycle are disposed in - reverse-construction order.) - - - - - Perform once-off startup processing. - - - - - Base class for user-defined modules. Modules can add a set of releated components - to a container () or attach cross-cutting functionality - to other components (. - Modules are given special support in the XML configuration feature - see - http://code.google.com/p/autofac/wiki/StructuringWithModules. - - Provides a user-friendly way to implement - via . - - Defining a module: - - public class DataAccessModule : Module - { - public string ConnectionString { get; set; } - - public override void Load(ContainerBuilder moduleBuilder) - { - moduleBuilder.RegisterGeneric(typeof(MyRepository<>)) - .As(typeof(IRepository<>)) - .InstancePerMatchingLifetimeScope(WebLifetime.Request); - - moduleBuilder.Register(c => new MyDbConnection(ConnectionString)) - .As<IDbConnection>() - .InstancePerMatchingLifetimeScope(WebLifetime.Request); - } - } - - Using the module: - - var builder = new ContainerBuilder(); - builder.RegisterModule(new DataAccessModule { ConnectionString = "..." }); - var container = builder.Build(); - var customers = container.Resolve<IRepository<Customer>>(); - - - - - - Apply the module to the component registry. - - Component registry to apply configuration to. - - - - Override to add registrations to the container. - - - Note that the ContainerBuilder parameter is unique to this module. - - The builder through which components can be - registered. - - - - Override to attach module-specific functionality to a - component registration. - - This method will be called for all existing and future component - registrations - ordering is not important. - The component registry. - The registration to attach functionality to. - - - - Override to perform module-specific processing on a registration source. - - This method will be called for all existing and future sources - - ordering is not important. - The component registry into which the source was added. - The registration source. - - - - The assembly in which the concrete module type is located. To avoid bugs whereby deriving from a module will - change the target assembly, this property can only be used by modules that inherit directly from - . - - - - - Configure the component so that instances are never disposed by the container. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that instances that support IDisposable are - disposed by the container (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets a new, unique instance (default.) - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - gets the same, shared instance. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a single ILifetimeScope gets the same, shared instance. Dependent components in - different lifetime scopes will get different instances. - - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() within - a ILifetimeScope tagged with any of the provided tags value gets the same, shared instance. - Dependent components in lifetime scopes that are children of the tagged scope will - share the parent's instance. If no appropriately tagged scope can be found in the - hierarchy an is thrown. - - Tag applied to matching lifetime scopes. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - The service type provided by the component. - Key to associate with the component. - A registration builder allowing further configuration of the component. - - - - Configure the component so that every dependent component or call to Resolve() - within a ILifetimeScope created by an owned instance gets the same, shared instance. - Dependent components in lifetime scopes that are children of the owned instance scope will - share the parent's instance. If no appropriate owned instance scope can be found in the - hierarchy an is thrown. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. The generic parameter(s) to As() - will be exposed as TypedService instances. - - Service type. - Service type. - Service type. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Service types to expose. - A registration builder allowing further configuration of the component. - - - - Configure the services that the component will provide. - - Services to expose. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a textual name that can be used to retrieve the component. - - Named service to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Provide a key that can be used to retrieve the component. - - Key to associate with the component. - The service type provided by the component. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Preparing event. This event allows manipulating of the parameters - that will be provided to the component. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activating event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Add a handler for the Activated event. - - The event handler. - A registration builder allowing further configuration of the component. - - - - Configure the component so that any properties whose types are registered in the - container will be wired to instances of the appropriate service. - - Set wiring options such as circular dependency wiring support. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - Key by which the data can be located. - The data value. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - The extended properties to associate with the component. - A registration builder allowing further configuration of the component. - - - - Associates data with the component. - - A type with properties whose names correspond to the - property names to configure. - A registration builder allowing further configuration of the component. - - - - The activator data. - - - - - The registration style. - - - - - The registration data. - - - - - Data common to all registrations made in the container, both direct (IComponentRegistration) - and dynamic (IRegistrationSource.) - - - - - Construct a RegistrationData instance. - - The default service that will be used if no others - are added. - - - - Add multiple services for the registration, overriding the default. - - The services to add. - If an empty collection is specified, this will still - clear the default service. - - - - Add a service to the registration, overriding the default. - - The service to add. - - - - Copies the contents of another RegistrationData object into this one. - - The data to copy. - When true, the default service - will be changed to that of the other. - - Thrown if is . - - - - - Empties the configured services. - - - - - The services explicitly assigned to the component. - - - - - The instance ownership assigned to the component. - - - - - The lifetime assigned to the component. - - - - - The sharing mode assigned to the component. - - - - - Extended properties assigned to the component. - - - - - Handlers for the Preparing event. - - - - - Handlers for the Activating event. - - - - - Handlers for the Activated event. - - - - - Adds registration syntax to the type. - - - - - Add a component to the container. - - The builder to register the component with. - The component to add. - - - - Add a registration source to the container. - - The builder to register the registration source via. - The registration source to add. - - - - Register an instance as a component. - - The type of the instance. - Container builder. - The instance to register. - Registration builder allowing the registration to be configured. - If no services are explicitly specified for the instance, the - static type will be used as the default service (i.e. *not* instance.GetType()). - - - - Register a component to be created through reflection. - - The type of the component implementation. - Container builder. - Registration builder allowing the registration to be configured. - - - - Register a component to be created through reflection. - - The type of the component implementation. - Container builder. - Registration builder allowing the registration to be configured. - - - - Register a delegate as a component. - - The type of the instance. - Container builder. - The delegate to register. - Registration builder allowing the registration to be configured. - - - - Register a delegate as a component. - - The type of the instance. - Container builder. - The delegate to register. - Registration builder allowing the registration to be configured. - - - - Register an un-parameterised generic type, e.g. Repository<>. - Concrete types will be made as they are requested, e.g. with Resolve<Repository<int>>(). - - Container builder. - The open generic implementation type. - Registration builder allowing the registration to be configured. - - - - Specifies that the component being registered should only be made the default for services - that have not already been registered. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that the components being registered should only be made the default for services - that have not already been registered. - - Registration limit type. - Registration style. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Register the types in an assembly. - - Container builder. - The assemblies from which to register types. - Registration builder allowing the registration to be configured. - - - - Register the types in a list. - - Container builder. - The types to register. - Registration builder allowing the registration to be configured. - - - - Specifies a subset of types to register from a scanned assembly. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - Predicate that returns true for types to register. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Function mapping types to services. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly provides its own concrete type as a service. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type provides its own concrete type as a service. - - Registration limit type. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type provides its own concrete type as a service. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specify how a type from a scanned assembly provides metadata. - - Registration limit type. - Registration style. - Activator data type. - Registration to set metadata on. - A function mapping the type to a list of metadata items. - Registration builder allowing the registration to be configured. - - - - Use the properties of an attribute (or interface implemented by an attribute) on the scanned type - to provide metadata values. - - Inherited attributes are supported; however, there must be at most one matching attribute - in the inheritance chain. - The attribute applied to the scanned type. - Registration to set metadata on. - Registration builder allowing the registration to be configured. - - - - Specify how a type from a scanned assembly provides metadata. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Key of the metadata item. - A function retrieving the value of the item from the component type. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a named service. - - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service names. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a named service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service names. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a keyed service. - - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service keys. - Registration builder allowing the registration to be configured. - - - - Specifies how a type from a scanned assembly is mapped to a keyed service. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - Service type provided by the component. - Function mapping types to service keys. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly is registered as providing all of its - implemented interfaces. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type is registered as providing all of its implemented interfaces. - - Registration limit type. - Activator data type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Specifies that a type is registered as providing all of its implemented interfaces. - - Registration limit type. - Registration to set service mapping on. - Registration builder allowing the registration to be configured. - - - - Set the policy used to find candidate constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Policy to be used when searching for constructors. - A registration builder allowing further configuration of the component. - - - - Set the policy used to find candidate constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - A function that returns the constructors to select from. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Constructor signature to match. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Registration style. - Activator data type. - Registration to set policy on. - Policy to be used when selecting a constructor. - A registration builder allowing further configuration of the component. - - - - Set the policy used to select from available constructors on the implementation type. - - Registration limit type. - Activator data type. - Registration style. - Registration to set policy on. - Expression demonstrating how the constructor is called. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - Name of a constructor parameter on the target type. - Value to supply to the parameter. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The parameter to supply to the constructor. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a constructor parameter. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - A predicate selecting the parameter to set. - - A registration builder allowing further configuration of the component. - - - - Configure explicit values for constructor parameters. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The parameters to supply to the constructor. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a property. - - Registration limit type. - Registration style. - Activator data type. - Registration to set property on. - Name of a property on the target type. - Value to supply to the property. - A registration builder allowing further configuration of the component. - - - - Configure an explicit value for a property. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The property to supply. - A registration builder allowing further configuration of the component. - - - - Configure explicit values for properties. - - Registration limit type. - Registration style. - Activator data type. - Registration to set parameter on. - The properties to supply. - A registration builder allowing further configuration of the component. - - - - Sets the target of the registration (used for metadata generation.) - - The type of the limit. - The type of the activator data. - Registration style - Registration to set target for. - The target. - - Registration builder allowing the registration to be configured. - - - Thrown if or is . - - - - - Provide a handler to be called when the component is registered. - - Registration limit type. - Registration style. - Activator data type. - Registration add handler to. - The handler. - Registration builder allowing the registration to be configured. - - - - Provide a handler to be called when the component is registred. - - Registration limit type. - Registration style. - Registration add handler to. - The handler. - Registration builder allowing the registration to be configured. - - - - Specifies that a type from a scanned assembly is registered if it implements an interface - that closes the provided open generic interface type. - - Registration limit type. - Registration style. - Activator data type. - Registration to set service mapping on. - The open generic interface or base class type for which implementations will be found. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those assignable to the provided - type. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - The type or interface which all classes must be assignable from. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those assignable to the provided - type. - - Registration to filter types from. - The type or interface which all classes must be assignable from. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to exclude the provided type. - - Registration to filter types from. - The concrete type to exclude. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to exclude the provided type, providing specific configuration for - the excluded type. - - Registration to filter types from. - Registration for the excepted type. - The concrete type to exclude. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those in the namespace of the provided type - or one of its sub-namespaces. - - Registration to filter types from. - A type in the target namespace. - Registration builder allowing the registration to be configured. - - - - Filters the scanned types to include only those in the provided namespace - or one of its sub-namespaces. - - Registration limit type. - Registration style. - Activator data type. - Registration to filter types from. - The namespace from which types will be selected. - Registration builder allowing the registration to be configured. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service , given the context and parameters. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service , given the context. - - - - Adapt all components implementing service - to provide using the provided - function. - - Service type to adapt from. - Service type to adapt to. Must not be the - same as . - Container builder. - Function adapting to - service . - - - - Decorate all components implementing open generic service . - The and parameters must be different values. - - Container builder. - Service type being decorated. Must be an open generic type. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - The type of the decorator. Must be an open generic type, and accept a parameter - of type , which will be set to the instance being decorated. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - , given the context and parameters. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - , given the context. - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Decorate all components implementing service - using the provided function. - The and parameters must be different values. - - Service type being decorated. - Container builder. - Function decorating a component instance that provides - . - Service key or name associated with the components being decorated. - Service key or name given to the decorated components. - - - - Run a supplied action instead of disposing instances when they're no - longer required. - - Registration limit type. - Activator data type. - Registration style. - Registration to set release action for. - An action to perform instead of disposing the instance. - Registration builder allowing the registration to be configured. - Only one release action can be configured per registration. - - - - Wraps a registration in an implicit and automatically - activates the registration after the container is built. - - Registration to set release action for. - Registration limit type. - Activator data type. - Registration style. - A registration builder allowing further configuration of the component. - - - While you can implement an to perform some logic at - container build time, sometimes you need to just activate a registered component and - that's it. This extension allows you to automatically activate a registration on - container build. No additional logic is executed and the resolved instance is not held - so container disposal will end up disposing of the instance. - - - Depending on how you register the lifetime of the component, you may get an exception - when you build the container - components that are scoped to specific lifetimes (like - ASP.NET components scoped to a request lifetime) will fail to resolve because the - appropriate lifetime is not available. - - - - - - Share one instance of the component within the context of a single - web/HTTP/API request. Only available for integration that supports - per-request dependencies (e.g., MVC, Web API, web forms, etc.). - - Registration limit type. - Registration style. - Activator data type. - The registration to configure. - Additional tags applied for matching lifetime scopes. - A registration builder allowing further configuration of the component. - - Thrown if is . - - - - - 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 instance registration '{0}' can support SingleInstance() sharing only.. - - - - - Looks up a localized string similar to A metadata attribute of type {0} was not found on {1}.. - - - - - Looks up a localized string similar to More than one metadata attribute of type {0} was found on {1}.. - - - - - Looks up a localized string similar to No matching constructor exists on type '{0}'.. - - - - - An activator builder with no parameters. - - - - - Return the provided activator. - - The activator to return. - - - - Gets the activator. - - - - - Registration style for individual components. - - - - - The id used for the registration. - - - - - Handlers to notify of the component registration event. - - - - - By default, new registrations override existing registrations as defaults. - If set to true, new registrations will not change existing defaults. - - - - - The component upon which this registration is based. - - - - - Used to build an from component registrations. - - - - var builder = new ContainerBuilder(); - - builder.RegisterType<Logger>() - .As<ILogger>() - .SingleInstance(); - - builder.Register(c => new MessageHandler(c.Resolve<ILogger>())); - - var container = builder.Build(); - // resolve components from container... - - - Most functionality is accessed - via extension methods in . - - - - - - Register a callback that will be invoked when the container is configured. - - This is primarily for extending the builder syntax. - Callback to execute. - - - - Create a new container with the component registrations that have been made. - - Options that influence the way the container is initialised. - - Build can only be called once per - - this prevents ownership issues for provided instances. - Build enables support for the relationship types that come with Autofac (e.g. - Func, Owned, Meta, Lazy, IEnumerable.) To exclude support for these types, - first create the container, then call Update() on the builder. - - A new container with the configured component registrations. - - - - Configure an existing container with the component registrations - that have been made. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing container to make the registrations in. - - - - Configure an existing container with the component registrations - that have been made and allows additional build options to be specified. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing container to make the registrations in. - Options that influence the way the container is updated. - - - - Configure an existing registry with the component registrations - that have been made. - - - Update can only be called once per - - this prevents ownership issues for provided instances. - - An existing registry to make the registrations in. - - - - A parameter identified by name. When applied to a reflection-based - component, will be matched against - the name of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new NamedParameter("amount", 123)); - - - - - - Create a with the specified constant value. - - The name of the parameter. - The parameter value. - - - - The name of the parameter. - - - - - Extension methods that simplify extraction of parameter values from - an where T is . - Each method returns the first matching parameter value, or throws an exception if - none is provided. - - - At configuration time, delegate registrations can retrieve parameter values using - the methods , and : - - builder.Register((c, p) => new FtpClient(p.Named<string>("server"))); - - These parameters can be provided at resolution time: - - container.Resolve<FtpClient>(new NamedParameter("server", "ftp.example.com")); - - Alternatively, the parameters can be provided via a Generated Factory - http://code.google.com/p/autofac/wiki/DelegateFactories. - - - - - Retrieve a named parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The name of the parameter to select. - The value of the selected parameter. - - - - - Retrieve a positional parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The zero-based position of the parameter to select. - The value of the selected parameter. - The position value is the one associated with the parameter when - it was constructed, not its index into the - sequence. - - - - - Retrieve a typed parameter value from a instance. - - The type to which the returned value will be cast. - The available parameters to choose from. - The value of the selected parameter. - - - - - A parameter that is identified according to an integer representing its - position in an argument list. When applied to a reflection-based - component, will be matched against - the indices of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new PositionalParameter(0, 123)); - - - - - - Construct a positional parameter with the specified constant value. - - The zero-based position of the parameter. - The parameter value. - - - - The zero-based position of the parameter. - - - - - Adds syntactic convenience methods to the interface. - - - - - Set any properties on that can be - resolved in the context. - - Type of instance. Used only to provide method chaining. - The context from which to resolve the service. - The instance to inject properties into. - . - - - - Set any null-valued properties on that can be - resolved by the container. - - Type of instance. Used only to provide method chaining. - The context from which to resolve the service. - The instance to inject properties into. - . - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Name of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Key of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The service to retrieve. - The context from which to resolve the service. - The component instance that provides the service. - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Parameters for the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The type to which the result will be cast. - The context from which to resolve the service. - Parameters for the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service type. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service name. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Key of the service. - Type of the service. - The parameters. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service. - - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The name of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The key of the service. - The service to resolve. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - Parameters for the service. - The type of the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - Parameters for the service. - - The component instance that provides the service, or null. - - - - - - Retrieve a service from the context, or null if the service is not - registered. - - The context from which to resolve the service. - The service. - Parameters for the service. - - The component instance that provides the service, or null. - - - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The name of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The name of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The key of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The key of the service to test for the registration of. - Type type of the service to test for the registration of. - True if the service is registered. - - - - Determine whether the specified service is available in the context. - - The context from which to resolve the service. - The service to test for the registration of. - True if the service is registered. - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - The resulting component instance providing the service, or null. - The parameters. - - True if a component providing the service is available. - - - - Thrown if is . - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The service type to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The service type to resolve. - The context from which to resolve the service. - The resulting component instance providing the service, or default(T). - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The name of the service to resolve. - The type of the service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Try to retrieve a service from the context. - - The context from which to resolve the service. - The key of the service to resolve. - The type of the service to resolve. - The resulting component instance providing the service, or null. - - True if a component providing the service is available. - - - - - - Flexible parameter type allows arbitrary values to be retrieved - from the resolution context. - - - - - Create an instance of the ResolvedParameter class. - - A predicate that determines which parameters on a constructor will be supplied by this instance. - A function that supplies the parameter value given the context. - - - - Returns true if the parameter is able to provide a value to a particular site. - - Constructor, method, or property-mutator parameter. - The component context in which the value is being provided. - If the result is true, the valueProvider parameter will - be set to a function that will lazily retrieve the parameter value. If the result is false, - will be set to null. - True if a value can be supplied; otherwise, false. - - - - Construct a that will match parameters of type - and resolve for those parameters an implementation - registered with the name . - - The type of the parameter to match. - The name of the matching service to resolve. - A configured instance. - - - - - - Construct a that will match parameters of type - and resolve for those parameters an implementation - registered with the key . - - The type of the parameter to match. - The key of the matching service to resolve. - A configured instance. - - - - A parameter that can supply values to sites that exactly - match a specified type. When applied to a reflection-based - component, will be matched against - the types of the component's constructor arguments. When applied to - a delegate-based component, the parameter can be accessed using - . - - - Component with parameter: - - public class MyComponent - { - public MyComponent(int amount) { ... } - } - - Providing the parameter: - - var builder = new ContainerBuilder(); - builder.RegisterType<MyComponent>(); - var container = builder.Build(); - var myComponent = container.Resolve<MyComponent>(new TypedParameter(typeof(int), 123)); - - - - - - Create a typed parameter with the specified constant value. - - The exact type to match. - The parameter value. - - - - Shortcut for creating - by using the - - type to be used for the parameter - The parameter value. - new typed parameter - - - - The type against which targets are matched. - - - - - Extends with methods that are useful in - building scanning rules for . - - - - - Returns true if this type is in the namespace - or one of its sub-namespaces. - - The type to test. - The namespace to test. - True if this type is in the namespace - or one of its sub-namespaces; otherwise, false. - - - - Returns true if this type is in the same namespace as - or one of its sub-namespaces. - - The type to test. - True if this type is in the same namespace as - or one of its sub-namespaces; otherwise, false. - - - Determines whether the candidate type supports any base or - interface that closes the provided generic type. - - - - - - - Determines whether this type is assignable to . - - The type to test assignability to. - True if this type is assignable to references of type - ; otherwise, False. - - - - 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 '{0}' is not an open generic class or interface type.. - - - - - Extension methods for . - - - - - Safely returns the set of loadable types from an assembly. - - The from which to load types. - - The set of types from the , or the subset - of types that could be loaded if there was any error. - - - Thrown if is . - - - - - Helper methods used throughout the codebase. - - - - - Enforce that an argument is not null. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - - - - - - - - Enforce that sequence does not contain null. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - - The value. - The name. - - - - - Enforces that the provided object is non-null. - - - The value. - - - - - Enforce that an argument is not null or empty. Returns the - value if valid so that it can be used inline in - base initialiser syntax. - - The value. - The description. - - - - - Enforce that the argument is a delegate type. - - The type to test. - - - - 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 argument '{0}' cannot be empty.. - - - - - Looks up a localized string similar to The object of type '{0}' cannot be null.. - - - - - Looks up a localized string similar to Type {0} returns void.. - - - - - Looks up a localized string similar to The sequence provided as argument '{0}' cannot contain null elements.. - - - - - Looks up a localized string similar to Type {0} is not a delegate type.. - - - - - Extension methods for reflection-related types. - - - - - Maps from a property-set-value parameter to the declaring property. - - Parameter to the property setter. - The property info on which the setter is specified. - True if the parameter is a property setter. - - - - Get a PropertyInfo object from an expression of the form - x => x.P. - - Type declaring the property. - The type of the property. - Expression mapping an instance of the - declaring type to the property value. - Property info. - - - - Get the MethodInfo for a method called in the - expression. - - Type on which the method is called. - Expression demonstrating how the method appears. - The method info for the called method. - - - - Gets the for the new operation called in the expression. - - The type on which the constructor is called. - Expression demonstrating how the constructor is called. - The for the called constructor. - - - - Retrieves a custom attribute of a specified type that is applied to a specified member, - and optionally inspects the ancestors of that member. - - The type of attribute to search for. - The member to inspect. - true to inspect the ancestors of element; otherwise, false. - A custom attribute that matches , or null if no such attribute is found. - - - - 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 provided expression must be of the form () =>new X(), but the provided expression was {0}.. - - - - - Looks up a localized string similar to The provided expression must be of the form x =>x.M(), but the provided expression was {0}.. - - - - - Looks up a localized string similar to The provided expression must be of the form x =>x.P, but the provided expression was {0}.. - - - - - Adapts an action to the interface. - - - - - Joins the strings into one single string interspersing the elements with the separator (a-la - System.String.Join()). - - The elements. - The separator. - The joined string. - - - - Appends the item to the specified sequence. - - - The sequence. - The trailing item. - - - - - Prepends the item to the specified sequence. - - - The sequence. - The leading item. - - - - Returns the first concrete interface supported by the candidate type that - closes the provided open generic service type. - The type that is being checked for the interface. - The open generic type to locate. - The type of the interface. - - - - Looks for an interface on the candidate type that closes the provided open generic interface type. - - The type that is being checked for the interface. - The open generic service type to locate. - True if a closed implementation was found; otherwise false. - - - - Retrieve registrations for an unregistered service, to be used - by the container. - - The service that was requested. - A function that will return existing registrations for a service. - Registrations providing the service. - - - - Signal attribute for static analysis that indicates a helper method is - validating arguments for . - - - - - 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 Unable to generate a function to return type '{0}' with input parameter types [{1}]. The input parameter type list has duplicate types. Try registering a custom delegate type instead of using a generic Func relationship.. - - - - - Looks up a localized string similar to Delegate Support (Func<T>and Custom Delegates). - - - - diff --git a/samples/js-bot-framework/bot/packages/Chronic.Signed.0.3.2/Chronic.Signed.0.3.2.nupkg b/samples/js-bot-framework/bot/packages/Chronic.Signed.0.3.2/Chronic.Signed.0.3.2.nupkg deleted file mode 100644 index 52dfb3621..000000000 Binary files a/samples/js-bot-framework/bot/packages/Chronic.Signed.0.3.2/Chronic.Signed.0.3.2.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Chronic.Signed.0.3.2/lib/net40/Chronic.dll b/samples/js-bot-framework/bot/packages/Chronic.Signed.0.3.2/lib/net40/Chronic.dll deleted file mode 100644 index 4a3b8358a..000000000 Binary files a/samples/js-bot-framework/bot/packages/Chronic.Signed.0.3.2/lib/net40/Chronic.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.5.2.3/Microsoft.AspNet.WebApi.5.2.3.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.5.2.3/Microsoft.AspNet.WebApi.5.2.3.nupkg deleted file mode 100644 index 172ab0ff3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.5.2.3/Microsoft.AspNet.WebApi.5.2.3.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/Microsoft.AspNet.WebApi.Client.5.2.3.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/Microsoft.AspNet.WebApi.Client.5.2.3.nupkg deleted file mode 100644 index 4ff175b35..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/Microsoft.AspNet.WebApi.Client.5.2.3.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.dll b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.dll deleted file mode 100644 index 3b76acd6b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.xml b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.xml deleted file mode 100644 index 3fb65976c..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.xml +++ /dev/null @@ -1,2094 +0,0 @@ - - - - System.Net.Http.Formatting - - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. The supports one or more byte ranges regardless of whether the ranges are consecutive or not. If there is only one range then a single partial response body containing a Content-Range header is generated. If there are more than one ranges then a multipart/byteranges response is generated where each body part contains a range indicated by the associated Content-Range header field. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - The buffer size used when copying the content stream. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - - - - implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. If none of the requested ranges overlap with the current extend of the selected resource represented by the content parameter then an is thrown indicating the valid Content-Range of the content. - The stream over which to generate a byte range view. - The range or ranges, typically obtained from the Range HTTP request header field. - The media type of the content stream. - The buffer size used when copying the content stream. - - - Releases the resources used by the current instance of the class. - true to release managed and unmanaged resources; false to release only unmanaged resources. - - - Asynchronously serialize and write the byte range to an HTTP content stream. - The task object representing the asynchronous operation. - The target stream. - Information about the transport. - - - Determines whether a byte array has a valid length in bytes. - true if length is a valid length; otherwise, false. - The length in bytes of the byte array. - - - Extension methods that aid in making formatted requests using . - - - - - - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - - - - - - - - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a POST request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as JSON. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given value serialized as XML. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - - - - - - - - - - - - - - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - The authoritative value of the request's content's Content-Type header. Can be null in which case the <paramref name="formatter">formatter's</paramref> default content type will be used. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Sends a PUT request as an asynchronous operation to the specified Uri with value serialized using the given formatter. - A task object representing the asynchronous operation. - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the value. - A cancellation token that can be used by other objects or threads to receive notice of cancellation. - The type of value. - - - Represents the factory for creating new instance of . - - - Creates a new instance of the . - A new instance of the . - The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - - - Creates a new instance of the . - A new instance of the . - The inner handler which is responsible for processing the HTTP response messages. - The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - - - Creates a new instance of the which should be pipelined. - A new instance of the which should be pipelined. - The inner handler which is responsible for processing the HTTP response messages. - The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - - - Specifies extension methods to allow strongly typed objects to be read from HttpContent instances. - - - Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTyepFormatter instances to use. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - The token to cancel the operation. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The collection of MediaTypeFormatter instances to use. - The token to cancel the operation. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - An object instance of the specified type. - The HttpContent instance from which to read. - The token to cancel the operation. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance. - A Task that will yield an object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - The IFormatterLogger to log events to. - The token to cancel the operation. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The collection of MediaTypeFormatter instances to use. - The token to cancel the operation. - - - Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. - An object instance of the specified type. - The HttpContent instance from which to read. - The type of the object to read. - The token to cancel the operation. - - - Extension methods to read HTML form URL-encoded datafrom instances. - - - Determines whether the specified content is HTML form URL-encoded data. - true if the specified content is HTML form URL-encoded data; otherwise, false. - The content. - - - Asynchronously reads HTML form URL-encoded from an instance and stores the results in a object. - A task object representing the asynchronous operation. - The content. - - - Asynchronously reads HTML form URL-encoded from an instance and stores the results in a object. - A task object representing the asynchronous operation. - The content. - The token to cancel the operation. - - - Provides extension methods to read and entities from instances. - - - Determines whether the specified content is HTTP request message content. - true if the specified content is HTTP message content; otherwise, false. - The content to check. - - - Determines whether the specified content is HTTP response message content. - true if the specified content is HTTP message content; otherwise, false. - The content to check. - - - Reads the as an . - The parsed instance. - The content to read. - - - Reads the as an . - The parsed instance. - The content to read. - The URI scheme to use for the request URI. - - - Reads the as an . - The parsed instance. - The content to read. - The URI scheme to use for the request URI. - The size of the buffer. - - - Reads the as an . - The parsed instance. - The content to read. - The URI scheme to use for the request URI. - The size of the buffer. - The maximum length of the HTTP header. - - - - - - - Reads the as an . - The parsed instance. - The content to read. - - - Reads the as an . - The parsed instance. - The content to read. - The size of the buffer. - - - Reads the as an . - The parsed instance. - The content to read. - The size of the buffer. - The maximum length of the HTTP header. - - - - - - Extension methods to read MIME multipart entities from instances. - - - Determines whether the specified content is MIME multipart content. - true if the specified content is MIME multipart content; otherwise, false. - The content. - - - Determines whether the specified content is MIME multipart content with the specified subtype. - true if the specified content is MIME multipart content with the specified subtype; otherwise, false. - The content. - The MIME multipart subtype to match. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - The token to cancel the operation. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - The type of the MIME multipart. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - Size of the buffer used to read the contents. - The type of the MIME multipart. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - Size of the buffer used to read the contents. - The token to cancel the operation. - The type of the MIME multipart. - - - Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written. - A representing the tasks of getting the collection of instances where each instance represents a body part. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - The token to cancel the operation. - The type of the MIME multipart. - - - Derived class which can encapsulate an or an as an entity with media type "application/http". - - - Initializes a new instance of the class encapsulating an . - The instance to encapsulate. - - - Initializes a new instance of the class encapsulating an . - The instance to encapsulate. - - - Releases unmanaged and - optionally - managed resources - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the HTTP request message. - - - Gets the HTTP response message. - - - Asynchronously serializes the object's content to the given stream. - A instance that is asynchronously serializing the object's content. - The to which to write. - The associated . - - - Computes the length of the stream if possible. - true if the length has been computed; otherwise false. - The computed length of the stream. - - - Provides extension methods for the class. - - - Gets any cookie headers present in the request. - A collection of instances. - The request headers. - - - Gets any cookie headers present in the request that contain a cookie state whose name that matches the specified value. - A collection of instances. - The request headers. - The cookie state name to match. - - - - - Provides extension methods for the class. - - - Adds cookies to a response. Each Set-Cookie header is represented as one instance. A contains information about the domain, path, and other cookie information as well as one or more instances. Each instance contains a cookie name and whatever cookie state is associate with that name. The state is in the form of a which on the wire is encoded as HTML Form URL-encoded data. This representation allows for multiple related "cookies" to be carried within the same Cookie header while still providing separation between each cookie state. A sample Cookie header is shown below. In this example, there are two with names state1 and state2 respectively. Further, each cookie state contains two name/value pairs (name1/value1 and name2/value2) and (name3/value3 and name4/value4). <code> Set-Cookie: state1:name1=value1&amp;name2=value2; state2:name3=value3&amp;name4=value4; domain=domain1; path=path1; </code> - The response headers - The cookie values to add to the response. - - - An exception thrown by in case none of the requested ranges overlap with the current extend of the selected resource. The current extend of the resource is indicated in the ContentRange property. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - The current extend of the resource indicated in terms of a ContentRange header field. - - - Represents a multipart file data. - - - Initializes a new instance of the class. - The headers of the multipart file data. - The name of the local file for the multipart file data. - - - Gets or sets the headers of the multipart file data. - The headers of the multipart file data. - - - Gets or sets the name of the local file for the multipart file data. - The name of the local file for the multipart file data. - - - Represents an suited for writing each MIME body parts of the MIME multipart message to a file using a . - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - The number of bytes buffered for writes to the file. - - - Gets or sets the number of bytes buffered for writes to the file. - The number of bytes buffered for writes to the file. - - - Gets or sets the multipart file data. - The multipart file data. - - - Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored. - A relative filename with no path component. - The headers for the current MIME body part. - - - Gets the stream instance where the message body part is written to. - The instance where the message body part is written to. - The content of HTTP. - The header fields describing the body part. - - - Gets or sets the root path where the content of MIME multipart body parts are written to. - The root path where the content of MIME multipart body parts are written to. - - - A implementation suited for use with HTML file uploads for writing file content to a remote storage . The stream provider looks at the Content-Disposition header field and determines an output remote based on the presence of a filename parameter. If a filename parameter is present in the Content-Disposition header field, then the body part is written to a remote provided by . Otherwise it is written to a . - - - Initializes a new instance of the class. - - - Read the non-file contents as form data. - A representing the post processing. - - - Read the non-file contents as form data. - A representing the post processing. - The token to monitor for cancellation requests. - - - Gets a collection of file data passed as part of the multipart form data. - - - Gets a of form data passed as part of the multipart form data. - - - Provides a for . Override this method to provide a remote stream to which the data should be written. - A result specifying a remote stream where the file will be written to and a location where the file can be accessed. It cannot be null and the stream must be writable. - The parent MIME multipart instance. - The header fields describing the body part's content. - - - - Represents an suited for use with HTML file uploads for writing file content to a . - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - - - Initializes a new instance of the class. - The root path where the content of MIME multipart body parts are written to. - The number of bytes buffered for writes to the file. - - - Reads the non-file contents as form data. - A task that represents the asynchronous operation. - - - - Gets a of form data passed as part of the multipart form data. - The of form data. - - - Gets the streaming instance where the message body part is written. - The instance where the message body part is written. - The HTTP content that contains this body part. - Header fields describing the body part. - - - Represents a multipart memory stream provider. - - - Initializes a new instance of the class. - - - Returns the for the . - The for the . - A object. - The HTTP content headers. - - - Represents the provider for the multipart related multistream. - - - Initializes a new instance of the class. - - - Gets the related stream for the provider. - The content headers. - The parent content. - The http content headers. - - - Gets the root content of the . - The root content of the . - - - Represents a multipart file data for remote storage. - - - Initializes a new instance of the class. - The headers of the multipart file data. - The remote file's location. - The remote file's name. - - - Gets the remote file's name. - - - Gets the headers of the multipart file data. - - - Gets the remote file's location. - - - Represents a stream provider that examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see ) and decides what kind of stream to return for the body part to be written to. - - - Initializes a new instance of the class. - - - Gets or sets the contents for this . - The contents for this . - - - Executes the post processing operation for this . - The asynchronous task for this operation. - - - Executes the post processing operation for this . - The asynchronous task for this operation. - The token to cancel the operation. - - - Gets the stream where to write the body part to. This method is called when a MIME multipart body part has been parsed. - The instance where the message body part is written to. - The content of the HTTP. - The header fields describing the body part. - - - Contains a value as well as an associated that will be used to serialize the value when writing this content. - - - Initializes a new instance of the class. - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - - - Initializes a new instance of the class. - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. - - - Initializes a new instance of the class. - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. - - - Gets the media-type formatter associated with this content instance. - The media type formatter associated with this content instance. - - - Gets the type of object managed by this instance. - The object type. - - - Asynchronously serializes the object's content to the given stream. - The task object representing the asynchronous operation. - The stream to write to. - The associated . - - - Computes the length of the stream if possible. - true if the length has been computed; otherwise, false. - Receives the computed length of the stream. - - - Gets or sets the value of the content. - The content value. - - - Generic form of . - The type of object this class will contain. - - - Initializes a new instance of the class. - The value of the object this instance will contain. - The formatter to use when serializing the value. - - - Initializes a new instance of the <see cref="T:System.Net.Http.ObjectContent`1" /> class. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. - - - Initializes a new instance of the class. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the Content-Type header. - - - Enables scenarios where a data producer wants to write directly (either synchronously or asynchronously) using a stream. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Initializes a new instance of the class. - An action that is called when an output stream is available, allowing the action to write to it directly. - The media type. - - - Asynchronously serializes the push content into stream. - The serialized push content. - The stream where the push content will be serialized. - The context. - - - Determines whether the stream content has a valid length in bytes. - true if length is a valid length; otherwise, false. - The length in bytes of the stream content. - - - Represents the result for . - - - Initializes a new instance of the class. - The remote stream instance where the file will be written to. - The remote file's location. - The remote file's name. - - - Gets the remote file's location. - - - Gets the remote file's location. - - - Gets the remote stream instance where the file will be written to. - - - Defines an exception type for signalling that a request's media type was not supported. - - - Initializes a new instance of the class. - The message that describes the error. - The unsupported media type. - - - Gets or sets the media type. - The media type. - - - Contains extension methods to allow strongly typed objects to be read from the query component of instances. - - - Parses the query portion of the specified URI. - A that contains the query parameters. - The URI to parse. - - - Reads HTML form URL encoded data provided in the URI query string as an object of a specified type. - true if the query component of the URI can be read as the specified type; otherwise, false. - The URI to read. - The type of object to read. - When this method returns, contains an object that is initialized from the query component of the URI. This parameter is treated as uninitialized. - - - Reads HTML form URL encoded data provided in the URI query string as an object of a specified type. - true if the query component of the URI can be read as the specified type; otherwise, false. - The URI to read. - When this method returns, contains an object that is initialized from the query component of the URI. This parameter is treated as uninitialized. - The type of object to read. - - - Reads HTML form URL encoded data provided in the query component as a object. - true if the query component can be read as ; otherwise false. - The instance from which to read. - An object to be initialized with this instance or null if the conversion cannot be performed. - - - Abstract media type formatter class to support Bson and Json. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Determines whether this formatter can read objects of the specified type. - true if objects of this type can be read, otherwise false. - The type of object that will be read. - - - Determines whether this formatter can write objects of the specified type. - true if objects of this type can be written, otherwise false. - The type of object to write. - - - Creates a instance with the default settings used by the . - Returns . - - - Called during deserialization to get the . - The reader to use during deserialization. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - - - Called during serialization and deserialization to get the . - The JsonSerializer used during serialization and deserialization. - - - Called during serialization to get the . - The writer to use during serialization. - The type of the object to write. - The stream to write to. - The encoding to use when writing. - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth allowed by this formatter. - - - Called during deserialization to read an object of the specified type from the specified stream. - The object that has been read. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - The logger to log events to. - - - Called during deserialization to read an object of the specified type from the specified stream. - A task whose result will be the object instance that has been read. - The type of the object to read. - The stream from which to read. - The for the content being read. - The logger to log events to. - - - Gets or sets the JsonSerializerSettings used to configure the JsonSerializer. - The JsonSerializerSettings used to configure the JsonSerializer. - - - Called during serialization to write an object of the specified type to the specified stream. - The type of the object to write. - The object to write. - The stream to write to. - The encoding to use when writing. - - - Called during serialization to write an object of the specified type to the specified stream. - Returns . - The type of the object to write. - The object to write. - The stream to write to. - The for the content being written. - The transport context. - The token to monitor for cancellation. - - - Represents a media type formatter to handle Bson. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The formatter to copy settings from. - - - Called during deserialization to get the . - The reader to use during deserialization. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - - - Called during serialization to get the . - The writer to use during serialization. - The type of the object to write. - The stream to write to. - The encoding to use when writing. - - - Gets the default media type for Json, namely "application/bson". - The default media type for Json, namely "application/bson". - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth allowed by this formatter. - - - Called during deserialization to read an object of the specified type from the specified stream. - The object that has been read. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - The logger to log events to. - - - Called during deserialization to read an object of the specified type from the specified stream. - A task whose result will be the object instance that has been read. - The type of the object to read. - The stream from which to read. - The for the content being read. - The logger to log events to. - - - Called during serialization to write an object of the specified type to the specified stream. - The type of the object to write. - The object to write. - The stream to write to. - The encoding to use when writing. - - - Represents a helper class to allow a synchronous formatter on top of the asynchronous formatter infrastructure. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Gets or sets the suggested size of buffer to use with streams in bytes. - The suggested size of buffer to use with streams in bytes. - - - Reads synchronously from the buffered stream. - An object of the given . - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - - - Reads synchronously from the buffered stream. - An object of the given . - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - The token to cancel the operation. - - - Reads asynchronously from the buffered stream. - A task object representing the asynchronous operation. - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - - - Reads asynchronously from the buffered stream. - A task object representing the asynchronous operation. - The type of the object to deserialize. - The stream from which to read. - The , if available. Can be null. - The to log events to. - The token to cancel the operation. - - - Writes synchronously to the buffered stream. - The type of the object to serialize. - The object value to write. Can be null. - The stream to which to write. - The , if available. Can be null. - - - Writes synchronously to the buffered stream. - The type of the object to serialize. - The object value to write. Can be null. - The stream to which to write. - The , if available. Can be null. - The token to cancel the operation. - - - Writes asynchronously to the buffered stream. - A task object representing the asynchronous operation. - The type of the object to serialize. - The object value to write. It may be null. - The stream to which to write. - The , if available. Can be null. - The transport context. - - - Writes asynchronously to the buffered stream. - A task object representing the asynchronous operation. - The type of the object to serialize. - The object value to write. It may be null. - The stream to which to write. - The , if available. Can be null. - The transport context. - The token to cancel the operation. - - - Represents the result of content negotiation performed using <see cref="M:System.Net.Http.Formatting.IContentNegotiator.Negotiate(System.Type,System.Net.Http.HttpRequestMessage,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter})" /> - - - Create the content negotiation result object. - The formatter. - The preferred media type. Can be null. - - - The formatter chosen for serialization. - - - The media type that is associated with the formatter chosen for serialization. Can be null. - - - The default implementation of , which is used to select a for an or . - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - true to exclude formatters that match only on the object type; otherwise, false. - - - Determines how well each formatter matches an HTTP request. - Returns a collection of objects that represent all of the matches. - The type to be serialized. - The request. - The set of objects from which to choose. - - - If true, exclude formatters that match only on the object type; otherwise, false. - Returns a . - - - Matches a set of Accept header fields against the media types that a formatter supports. - Returns a object that indicates the quality of the match, or null if there is no match. - A list of Accept header values, sorted in descending order of q factor. You can create this list by calling the method. - The formatter to match against. - - - Matches a request against the objects in a media-type formatter. - Returns a object that indicates the quality of the match, or null if there is no match. - The request to match. - The media-type formatter. - - - Match the content type of a request against the media types that a formatter supports. - Returns a object that indicates the quality of the match, or null if there is no match. - The request to match. - The formatter to match against. - - - Selects the first supported media type of a formatter. - Returns a with set to MatchOnCanWriteType, or null if there is no match. A indicating the quality of the match or null is no match. - The type to match. - The formatter to match against. - - - Performs content negotiating by selecting the most appropriate out of the passed in for the given that can serialize an object of the given . - The result of the negotiation containing the most appropriate instance, or null if there is no appropriate formatter. - The type to be serialized. - The request. - The set of objects from which to choose. - - - Determines the best character encoding for writing the response. - Returns the that is the best match. - The request. - The selected media formatter. - - - Select the best match among the candidate matches found. - Returns the object that represents the best match. - The collection of matches. - - - Determine whether to match on type or not. This is used to determine whether to generate a 406 response or use the default media type formatter in case there is no match against anything in the request. If ExcludeMatchOnTypeOnly is true then we don't match on type unless there are no accept headers. - True if not ExcludeMatchOnTypeOnly and accept headers with a q-factor bigger than 0.0 are present. - The sorted accept header values to match. - - - Sorts Accept header values in descending order of q factor. - Returns the sorted list of MediaTypeWithQualityHeaderValue objects. - A collection of StringWithQualityHeaderValue objects, representing the header fields. - - - Sorts a list of Accept-Charset, Accept-Encoding, Accept-Language or related header values in descending order or q factor. - Returns the sorted list of StringWithQualityHeaderValue objects. - A collection of StringWithQualityHeaderValue objects, representing the header fields. - - - Evaluates whether a match is better than the current match. - Returns whichever object is a better match. - The current match. - The match to evaluate against the current match. - - - Helper class to serialize <see cref="T:System.Collections.Generic.IEnumerable`1" /> types by delegating them through a concrete implementation."/&gt;. - The interface implementing to proxy. - - - Initialize a DelegatingEnumerable. This constructor is necessary for to work. - - - Initialize a DelegatingEnumerable with an <see cref="T:System.Collections.Generic.IEnumerable`1" />. This is a helper class to proxy <see cref="T:System.Collections.Generic.IEnumerable`1" /> interfaces for . - The <see cref="T:System.Collections.Generic.IEnumerable`1" /> instance to get the enumerator from. - - - This method is not implemented but is required method for serialization to work. Do not use. - The item to add. Unused. - - - Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. - The enumerator of the <see cref="T:System.Collections.Generic.IEnumerable`1" /> source. - - - Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. - The enumerator of the <see cref="T:System.Collections.Generic.IEnumerable`1" /> source. - - - Represent the collection of form data. - - - Initializes a new instance of class. - The pairs. - - - Initializes a new instance of class. - The query. - - - Initializes a new instance of class. - The URI - - - Gets the collection of form data. - The collection of form data. - The key. - - - Gets an enumerable that iterates through the collection. - The enumerable that iterates through the collection. - - - Gets the values of the collection of form data. - The values of the collection of form data. - The key. - - - Gets values associated with a given key. If there are multiple values, they're concatenated. - Values associated with a given key. If there are multiple values, they're concatenated. - - - Reads the collection of form data as a collection of name value. - The collection of form data as a collection of name value. - - - Gets an enumerable that iterates through the collection. - The enumerable that iterates through the collection. - - - - class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Queries whether the can deserializean object of the specified type. - true if the can deserialize the type; otherwise, false. - The type to deserialize. - - - Queries whether the can serializean object of the specified type. - true if the can serialize the type; otherwise, false. - The type to serialize. - - - Gets the default media type for HTML form-URL-encoded data, which is application/x-www-form-urlencoded. - The default media type for HTML form-URL-encoded data - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth. - - - Gets or sets the size of the buffer when reading the incoming stream. - The buffer size. - - - Asynchronously deserializes an object of the specified type. - A whose result will be the object instance that has been read. - The type of object to deserialize. - The to read. - The for the content being read. - The to log events to. - - - Performs content negotiation. This is the process of selecting a response writer (formatter) in compliance with header values in the request. - - - Performs content negotiating by selecting the most appropriate out of the passed in formatters for the given request that can serialize an object of the given type. - The result of the negotiation containing the most appropriate instance, or null if there is no appropriate formatter. - The type to be serialized. - Request message, which contains the header values used to perform negotiation. - The set of objects from which to choose. - - - Specifies a callback interface that a formatter can use to log errors while reading. - - - Logs an error. - The path to the member for which the error is being logged. - The error message. - - - Logs an error. - The path to the member for which the error is being logged. - The error message to be logged. - - - Defines method that determines whether a given member is required on deserialization. - - - Determines whether a given member is required on deserialization. - true if should be treated as a required member; otherwise false. - The to be deserialized. - - - Represents the default used by . It uses the formatter's to select required members and recognizes the type annotation. - - - Initializes a new instance of the class. - The formatter to use for resolving required members. - - - Creates a property on the specified class by using the specified parameters. - A to create on the specified class by using the specified parameters. - The member info. - The member serialization. - - - Represents the class to handle JSON. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Determines whether this can read objects of the specified . - true if objects of this can be read, otherwise false. - The type of object that will be read. - - - Determines whether this can write objects of the specified . - true if objects of this can be written, otherwise false. - The type of object that will be written. - - - Called during deserialization to get the . - The object used for serialization. - The type of object that will be serialized or deserialized. - - - Called during deserialization to get the . - The reader to use during deserialization. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - - - Called during serialization to get the . - The writer to use during serialization. - The type of the object to write. - The stream to write to. - The encoding to use when writing. - - - Gets the default media type for JSON, namely "application/json". - The for JSON. - - - Gets or sets a value indicating whether to indent elements when writing data. - true if to indent elements when writing data; otherwise, false. - - - Gets or sets the maximum depth allowed by this formatter. - The maximum depth allowed by this formatter. - - - Called during deserialization to read an object of the specified type from the specified stream. - The object that has been read. - The type of the object to read. - The stream from which to read. - The encoding to use when reading. - The logger to log events to. - - - Gets or sets a value indicating whether to use by default. - true if to by default; otherwise, false. - - - Called during serialization to write an object of the specified type to the specified stream. - The type of the object to write. - The object to write. - The stream to write to. - The encoding to use when writing. - - - Called during serialization to write an object of the specified type to the specified stream. - Returns . - The type of the object to write. - The object to write. - The stream to write to. - The for the content being written. - The transport context. - The token to monitor for cancellation. - - - Base class to handle serializing and deserializing strongly-typed objects using . - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Queries whether this can deserializean object of the specified type. - true if the can deserialize the type; otherwise, false. - The type to deserialize. - - - Queries whether this can serializean object of the specified type. - true if the can serialize the type; otherwise, false. - The type to serialize. - - - Gets the default value for the specified type. - The default value. - The type for which to get the default value. - - - Returns a specialized instance of the that can format a response for the given parameters. - Returns . - The type to format. - The request. - The media type. - - - Gets or sets the maximum number of keys stored in a T: . - The maximum number of keys. - - - Gets the mutable collection of objects that match HTTP requests to media types. - The collection. - - - Asynchronously deserializes an object of the specified type. - A whose result will be an object of the given type. - The type of the object to deserialize. - The to read. - The , if available. It may be null. - The to log events to. - Derived types need to support reading. - - - Asynchronously deserializes an object of the specified type. - A whose result will be an object of the given type. - The type of the object to deserialize. - The to read. - The , if available. It may be null. - The to log events to. - The token to cancel the operation. - - - Gets or sets the instance used to determine required members. - The instance. - - - Determines the best character encoding for reading or writing an HTTP entity body, given a set of content headers. - The encoding that is the best match. - The content headers. - - - Sets the default headers for content that will be formatted using this formatter. This method is called from the constructor. This implementation sets the Content-Type header to the value of mediaType if it is not null. If it is null it sets the Content-Type to the default media type of this formatter. If the Content-Type does not specify a charset it will set it using this formatters configured . - The type of the object being serialized. See . - The content headers that should be configured. - The authoritative media type. Can be null. - - - Gets the mutable collection of character encodings supported bythis . - The collection of objects. - - - Gets the mutable collection of media types supported bythis . - The collection of objects. - - - Asynchronously writes an object of the specified type. - A that will perform the write. - The type of the object to write. - The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The if available. It may be null. - Derived types need to support writing. - - - Asynchronously writes an object of the specified type. - A that will perform the write. - The type of the object to write. - The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The if available. It may be null. - The token to cancel the operation. - Derived types need to support writing. - - - Collection class that contains instances. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - A collection of instances to place in the collection. - - - Adds the elements of the specified collection to the end of the . - The items that should be added to the end of the . The items collection itself cannot be , but it can contain elements that are . - - - Removes all items in the collection. - - - Helper to search a collection for a formatter that can read the .NET type in the given mediaType. - The formatter that can read the type. Null if no formatter found. - The .NET type to read - The media type to match on. - - - Helper to search a collection for a formatter that can write the .NET type in the given mediaType. - The formatter that can write the type. Null if no formatter found. - The .NET type to read - The media type to match on. - - - Gets the to use for application/x-www-form-urlencoded data. - The to use for application/x-www-form-urlencoded data. - - - Inserts the specified item at the specified index in the collection. - The index to insert at. - The item to insert. - - - Inserts the elements of a collection into the at the specified index. - The zero-based index at which the new elements should be inserted. - The items that should be inserted into the . The items collection itself cannot be , but it can contain elements that are . - - - Returns true if the type is one of those loosely defined types that should be excluded from validation. - true if the type should be excluded; otherwise, false. - The .NET to validate. - - - Gets the to use for JSON. - The to use for JSON. - - - Removes the item at the specified index. - The index of the item to remove. - - - Assigns the item at the specified index in the collection. - The index to insert at. - The item to assign. - - - Gets the to use for XML. - The to use for XML. - - - - - - - This class describes how well a particular matches a request. - - - Initializes a new instance of the class. - The matching formatter. - The media type. Can be null in which case the media type application/octet-stream is used. - The quality of the match. Can be null in which case it is considered a full match with a value of 1.0 - The kind of match. - - - Gets the media type formatter. - - - Gets the matched media type. - - - Gets the quality of the match - - - Gets the kind of match that occurred. - - - Contains information about the degree to which a matches the explicit or implicit preferences found in an incoming request. - - - Matched on a type, meaning that the formatter is able to serialize the type. - - - Matched on an explicit “*/*” range in the Accept header. - - - Matched on an explicit literal accept header, such as “application/json”. - - - Matched on an explicit subtype range in an Accept header, such as “application/*”. - - - Matched on the media type of the entity body in the HTTP request message. - - - Matched on after having applied the various s. - - - No match was found - - - An abstract base class used to create an association between or instances that have certain characteristics and a specific . - - - Initializes a new instance of a with the given mediaType value. - The that is associated with or instances that have the given characteristics of the . - - - Initializes a new instance of a with the given mediaType value. - The that is associated with or instances that have the given characteristics of the . - - - Gets the that is associated with or instances that have the given characteristics of the . - - - Returns the quality of the match of the associated with request. - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to evaluate for the characteristics associated with the of the . - - - Class that provides s from query strings. - - - Initializes a new instance of the class. - The name of the query string parameter to match, if present. - The value of the query string parameter specified by queryStringParameterName. - The to use if the query parameter specified by queryStringParameterName is present and assigned the value specified by queryStringParameterValue. - - - Initializes a new instance of the class. - The name of the query string parameter to match, if present. - The value of the query string parameter specified by queryStringParameterName. - The media type to use if the query parameter specified by queryStringParameterName is present and assigned the value specified by queryStringParameterValue. - - - Gets the query string parameter name. - - - Gets the query string parameter value. - - - Returns a value indicating whether the current instance can return a from request. - If this instance can produce a from request it returns 1.0 otherwise 0.0. - The to check. - - - This class provides a mapping from an arbitrary HTTP request header field to a used to select instances for handling the entity body of an or . <remarks>This class only checks header fields associated with for a match. It does not check header fields associated with or instances.</remarks> - - - Initializes a new instance of the class. - Name of the header to match. - The header value to match. - The to use when matching headerValue. - if set to true then headerValue is considered a match if it matches a substring of the actual header value. - The to use if headerName and headerValue is considered a match. - - - Initializes a new instance of the class. - Name of the header to match. - The header value to match. - The value comparison to use when matching headerValue. - if set to true then headerValue is considered a match if it matches a substring of the actual header value. - The media type to use if headerName and headerValue is considered a match. - - - Gets the name of the header to match. - - - Gets the header value to match. - - - Gets the to use when matching . - - - Gets a value indicating whether is a matched as a substring of the actual header value. this instance is value substring. - truefalse - - - Returns a value indicating whether the current instance can return a from request. - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to check. - - - A that maps the X-Requested-With http header field set by AJAX XmlHttpRequest (XHR) to the media type application/json if no explicit Accept header fields are present in the request. - - - Initializes a new instance of class - - - Returns a value indicating whether the current instance can return a from request. - The quality of the match. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match and that the request was made using XmlHttpRequest without an Accept header. - The to check. - - - - class to handle Xml. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy settings from. - - - Queries whether the can deserializean object of the specified type. - true if the can deserialize the type; otherwise, false. - The type to deserialize. - - - Queries whether the can serializean object of the specified type. - true if the can serialize the type; otherwise, false. - The type to serialize. - - - Called during deserialization to get the DataContractSerializer serializer. - The object used for serialization. - The type of object that will be serialized or deserialized. - - - Called during deserialization to get the XML reader to use for reading objects from the stream. - The to use for reading objects. - The to read from. - The for the content being read. - - - Called during deserialization to get the XML serializer. - The object used for serialization. - The type of object that will be serialized or deserialized. - - - Called during serialization to get the XML writer to use for writing objects to the stream. - The to use for writing objects. - The to write to. - The for the content being written. - - - Gets the default media type for the XML formatter. - The default media type, which is “application/xml”. - - - Called during deserialization to get the XML serializer to use for deserializing objects. - An instance of or to use for deserializing the object. - The type of object to deserialize. - The for the content being read. - - - Called during serialization to get the XML serializer to use for serializing objects. - An instance of or to use for serializing the object. - The type of object to serialize. - The object to serialize. - The for the content being written. - - - Gets or sets a value indicating whether to indent elements when writing data. - true to indent elements; otherwise, false. - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - This method is to support infrastructure and is not intended to be used directly from your code. - Returns . - - - Gets and sets the maximum nested node depth. - The maximum nested node depth. - - - Called during deserialization to read an object of the specified type from the specified readStream. - A whose result will be the object instance that has been read. - The type of object to read. - The from which to read. - The for the content being read. - The to log events to. - - - Unregisters the serializer currently associated with the given type. - true if a serializer was previously registered for the type; otherwise, false. - The type of object whose serializer should be removed. - - - Registers an to read or write objects of a specified type. - The instance. - The type of object that will be serialized or deserialized with. - - - Registers an to read or write objects of a specified type. - The type of object that will be serialized or deserialized with. - The instance. - - - Registers an to read or write objects of a specified type. - The type of object that will be serialized or deserialized with. - The instance. - - - Registers an to read or write objects of a specified type. - The instance. - The type of object that will be serialized or deserialized with. - - - Gets or sets a value indicating whether the XML formatter uses the as the default serializer, instead of using the . - If true, the formatter uses the by default; otherwise, it uses the by default. - - - Gets the settings to be used while writing. - The settings to be used while writing. - - - Called during serialization to write an object of the specified type to the specified writeStream. - A that will write the value to the stream. - The type of object to write. - The object to write. - The to which to write. - The for the content being written. - The . - The token to monitor cancellation. - - - Represents the event arguments for the HTTP progress. - - - Initializes a new instance of the class. - The percentage of the progress. - The user token. - The number of bytes transferred. - The total number of bytes transferred. - - - - - Generates progress notification for both request entities being uploaded and response entities being downloaded. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The inner message handler. - - - Occurs when event entities are being downloaded. - - - Occurs when event entities are being uploaded. - - - Raises the event that handles the request of the progress. - The request. - The event handler for the request. - - - Raises the event that handles the response of the progress. - The request. - The event handler for the request. - - - Sends the specified progress message to an HTTP server for delivery. - The sent progress message. - The request. - The cancellation token. - - - Provides value for the cookie header. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The value of the name. - The values. - - - Initializes a new instance of the class. - The value of the name. - The value. - - - Creates a shallow copy of the cookie value. - A shallow copy of the cookie value. - - - Gets a collection of cookies sent by the client. - A collection object representing the client’s cookie variables. - - - Gets or sets the domain to associate the cookie with. - The name of the domain to associate the cookie with. - - - Gets or sets the expiration date and time for the cookie. - The time of day (on the client) at which the cookie expires. - - - Gets or sets a value that specifies whether a cookie is accessible by client-side script. - true if the cookie has the HttpOnly attribute and cannot be accessed through a client-side script; otherwise, false. - - - Gets a shortcut to the cookie property. - The cookie value. - - - Gets or sets the maximum age permitted for a resource. - The maximum age permitted for a resource. - - - Gets or sets the virtual path to transmit with the current cookie. - The virtual path to transmit with the cookie. - - - Gets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only. - true to transmit the cookie over an SSL connection (HTTPS); otherwise, false. - - - Returns a string that represents the current object. - A string that represents the current object. - - - Indicates a value whether the string representation will be converted. - true if the string representation will be converted; otherwise, false. - The input value. - The parsed value to convert. - - - Contains cookie name and its associated cookie state. - - - Initializes a new instance of the class. - The name of the cookie. - - - Initializes a new instance of the class. - The name of the cookie. - The collection of name-value pair for the cookie. - - - Initializes a new instance of the class. - The name of the cookie. - The value of the cookie. - - - Returns a new object that is a copy of the current instance. - A new object that is a copy of the current instance. - - - Gets or sets the cookie value with the specified cookie name, if the cookie data is structured. - The cookie value with the specified cookie name. - - - Gets or sets the name of the cookie. - The name of the cookie. - - - Returns the string representation the current object. - The string representation the current object. - - - Gets or sets the cookie value, if cookie data is a simple string value. - The value of the cookie. - - - Gets or sets the collection of name-value pair, if the cookie data is structured. - The collection of name-value pair for the cookie. - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.dll b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.dll deleted file mode 100644 index 981d9d77d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.xml b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.xml deleted file mode 100644 index 42f64e8dc..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.xml +++ /dev/null @@ -1,4025 +0,0 @@ - - - - System.Net.Http.Formatting - - - - - Utility class for creating and unwrapping instances. - - - - - Formats the specified resource string using . - - A composite format string. - An object array that contains zero or more objects to format. - The formatted string. - - - - Creates an with the provided properties. - - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an with the provided properties. - - The name of the parameter that caused the current exception. - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an with a message saying that the argument must be an "http" or "https" URI. - - The name of the parameter that caused the current exception. - The value of the argument that causes this exception. - The logged . - - - - Creates an with a message saying that the argument must be an absolute URI. - - The name of the parameter that caused the current exception. - The value of the argument that causes this exception. - The logged . - - - - Creates an with a message saying that the argument must be an absolute URI - without a query or fragment identifier and then logs it with . - - The name of the parameter that caused the current exception. - The value of the argument that causes this exception. - The logged . - - - - Creates an with the provided properties. - - The logged . - - - - Creates an with the provided properties. - - The name of the parameter that caused the current exception. - The logged . - - - - Creates an with the provided properties. - - The name of the parameter that caused the current exception. - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an with a default message. - - The name of the parameter that caused the current exception. - The logged . - - - - Creates an with the provided properties. - - The name of the parameter that caused the current exception. - The value of the argument that causes this exception. - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an with a message saying that the argument must be greater than or equal to . - - The name of the parameter that caused the current exception. - The value of the argument that causes this exception. - The minimum size of the argument. - The logged . - - - - Creates an with a message saying that the argument must be less than or equal to . - - The name of the parameter that caused the current exception. - The value of the argument that causes this exception. - The maximum size of the argument. - The logged . - - - - Creates an with a message saying that the key was not found. - - The logged . - - - - Creates an with a message saying that the key was not found. - - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an initialized according to guidelines. - - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an initialized with the provided parameters. - - The logged . - - - - Creates an initialized with the provided parameters. - - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an for an invalid enum argument. - - The name of the parameter that caused the current exception. - The value of the argument that failed. - A that represents the enumeration class with the valid values. - The logged . - - - - Creates an . - - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an . - - Inner exception - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Creates an . - - A composite format string explaining the reason for the exception. - An object array that contains zero or more objects to format. - The logged . - - - - Helpers for safely using Task libraries. - - - - - Returns a canceled Task. The task is completed, IsCanceled = True, IsFaulted = False. - - - - - Returns a canceled Task of the given type. The task is completed, IsCanceled = True, IsFaulted = False. - - - - - Returns a completed task that has no result. - - - - - Returns an error task. The task is Completed, IsCanceled = False, IsFaulted = True - - - - - Returns an error task of the given type. The task is Completed, IsCanceled = False, IsFaulted = True - - - - - - Used as the T in a "conversion" of a Task into a Task{T} - - - - - This class is a convenient cache for per-type cancelled tasks - - - - - Cast Task to Task of object - - - - - Cast Task of T to Task of object - - - - - Throws the first faulting exception for a task which is faulted. It preserves the original stack trace when - throwing the exception. Note: It is the caller's responsibility not to pass incomplete tasks to this - method, because it does degenerate into a call to the equivalent of .Wait() on the task when it hasn't yet - completed. - - - - - Attempts to get the result value for the given task. If the task ran to completion, then - it will return true and set the result value; otherwise, it will return false. - - - - - Helpers for encoding, decoding, and parsing URI query components. In .Net 4.5 - please use the WebUtility class. - - - - - Helper extension methods for fast use of collections. - - - - - Return a new array with the value added to the end. Slow and best suited to long lived arrays with few writes relative to reads. - - - - - Return the enumerable as an Array, copying if required. Optimized for common case where it is an Array. - Avoid mutating the return value. - - - - - Return the enumerable as a Collection of T, copying if required. Optimized for the common case where it is - a Collection of T and avoiding a copy if it implements IList of T. Avoid mutating the return value. - - - - - Return the enumerable as a IList of T, copying if required. Avoid mutating the return value. - - - - - Return the enumerable as a List of T, copying if required. Optimized for common case where it is an List of T - or a ListWrapperCollection of T. Avoid mutating the return value. - - - - - Remove values from the list starting at the index start. - - - - - Return the only value from list, the type's default value if empty, or call the errorAction for 2 or more. - - - - - Returns a single value in list matching type TMatch if there is only one, null if there are none of type TMatch or calls the - errorAction with errorArg1 if there is more than one. - - - - - Convert an ICollection to an array, removing null values. Fast path for case where there are no null values. - - - - - Convert the array to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for array input. - - - - - Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input with fast path for array. - - - - - Convert the enumerable to a Dictionary using the keySelector to extract keys from values and the specified comparer. Fast paths for array and IList of T. - - - - - Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input. No checking for other types. - - - - - A class that inherits from Collection of T but also exposes its underlying data as List of T for performance. - - - - - Provides various internal utility functions - - - - - Quality factor to indicate a perfect match. - - - - - Quality factor to indicate no match. - - - - - The default max depth for our formatter is 256 - - - - - The default min depth for our formatter is 1 - - - - - HTTP X-Requested-With header field name - - - - - HTTP X-Requested-With header field value - - - - - HTTP Host header field name - - - - - HTTP Version token - - - - - A representing . - - - - - A representing . - - - - - A representing . - - - - - A representing . - - - - - A representing . - - - - - A representing . - - - - - Determines whether is a type. - - The type to test. - - true if is a type; otherwise, false. - - - - - Creates an empty instance. The only way is to get it from a dummy - instance. - - The created instance. - - - - Create a default reader quotas with a default depth quota of 1K - - - - - - Remove bounding quotes on a token if present - - Token to unquote. - Unquoted token. - - - - Parses valid integer strings with no leading signs, whitespace or other - - The value to parse - The result - True if value was valid; false otherwise. - - - - Abstract class to support Bson and Json. - - - - - Base class to handle serializing and deserializing strongly-typed objects using . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The instance to copy settings from. - - - - Returns a to deserialize an object of the given from the given - - - This implementation throws a . Derived types should override this method if the formatter - supports reading. - An implementation of this method should NOT close upon completion. The stream will be closed independently when - the instance is disposed. - - - The type of the object to deserialize. - The to read. - The if available. It may be null. - The to log events to. - A whose result will be an object of the given type. - Derived types need to support reading. - - - - - Returns a to deserialize an object of the given from the given - - - This implementation throws a . Derived types should override this method if the formatter - supports reading. - An implementation of this method should NOT close upon completion. The stream will be closed independently when - the instance is disposed. - - - The type of the object to deserialize. - The to read. - The if available. It may be null. - The to log events to. - The token to monitor for cancellation requests. - A whose result will be an object of the given type. - Derived types need to support reading. - - - - - Returns a that serializes the given of the given - to the given . - - - This implementation throws a . Derived types should override this method if the formatter - supports reading. - An implementation of this method should NOT close upon completion. The stream will be closed independently when - the instance is disposed. - - - The type of the object to write. - The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The if available. It may be null. - A that will perform the write. - Derived types need to support writing. - - - - - Returns a that serializes the given of the given - to the given . - - - This implementation throws a . Derived types should override this method if the formatter - supports reading. - An implementation of this method should NOT close upon completion. The stream will be closed independently when - the instance is disposed. - - - The type of the object to write. - The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The if available. It may be null. - The token to monitor for cancellation requests. - A that will perform the write. - Derived types need to support writing. - - - - - This method converts (and interfaces that mandate it) to a for serialization purposes. - - The type to potentially be wrapped. If the type is wrapped, it's changed in place. - Returns true if the type was wrapped; false, otherwise - - - - This method converts (and interfaces that mandate it) to a for serialization purposes. - - The type to potentially be wrapped. If the type is wrapped, it's changed in place. - Returns true if the type was wrapped; false, otherwise - - - - Determines the best amongst the supported encodings - for reading or writing an HTTP entity body based on the provided . - - The content headers provided as part of the request or response. - The to use when reading the request or writing the response. - - - - Sets the default headers for content that will be formatted using this formatter. This method - is called from the constructor. - This implementation sets the Content-Type header to the value of if it is - not null. If it is null it sets the Content-Type to the default media type of this formatter. - If the Content-Type does not specify a charset it will set it using this formatters configured - . - - - Subclasses can override this method to set content headers such as Content-Type etc. Subclasses should - call the base implementation. Subclasses should treat the passed in (if not null) - as the authoritative media type and use that as the Content-Type. - - The type of the object being serialized. See . - The content headers that should be configured. - The authoritative media type. Can be null. - - - - Returns a specialized instance of the that can handle formatting a response for the given - parameters. This method is called after a formatter has been selected through content negotiation. - - - The default implementation returns this instance. Derived classes can choose to return a new instance if - they need to close over any of the parameters. - - The type being serialized. - The request. - The media type chosen for the serialization. Can be null. - An instance that can format a response to the given . - - - - Determines whether this can deserialize - an object of the specified type. - - - Derived classes must implement this method and indicate if a type can or cannot be deserialized. - - The type of object that will be deserialized. - true if this can deserialize an object of that type; otherwise false. - - - - Determines whether this can serialize - an object of the specified type. - - - Derived classes must implement this method and indicate if a type can or cannot be serialized. - - The type of object that will be serialized. - true if this can serialize an object of that type; otherwise false. - - - - Gets the default value for the specified type. - - - - - Gets or sets the maximum number of keys stored in a NameValueCollection. - - - - - Gets the mutable collection of elements supported by - this instance. - - - - - Gets the mutable collection of character encodings supported by - this instance. The encodings are - used when reading or writing data. - - - - - Collection class that validates it contains only instances - that are not null and not media ranges. - - - - - Inserts the into the collection at the specified . - - The zero-based index at which item should be inserted. - The object to insert. It cannot be null. - - - - Replaces the element at the specified . - - The zero-based index of the item that should be replaced. - The new value for the element at the specified index. It cannot be null. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The instance to copy settings from. - - - - Creates a instance with the default settings used by the . - - - - - Determines whether this can read objects - of the specified . - - The of object that will be read. - true if objects of this can be read, otherwise false. - - - - Determines whether this can write objects - of the specified . - - The of object that will be written. - true if objects of this can be written, otherwise false. - - - - Called during deserialization to read an object of the specified - from the specified . - - The of object to read. - The from which to read. - The for the content being written. - The to log events to. - A whose result will be the object instance that has been read. - - - - Called during deserialization to read an object of the specified - from the specified . - - - Public for delegating wrappers of this class. Expected to be called only from - . - - The of object to read. - The from which to read. - The to use when reading. - The to log events to. - The instance that has been read. - - - - Called during deserialization to get the . - - - Public for delegating wrappers of this class. Expected to be called only from - . - - The of object to read. - The from which to read. - The to use when reading. - The used during deserialization. - - - - Called during serialization and deserialization to get the . - - - Public for delegating wrappers of this class. Expected to be called only from - and . - - The used during serialization and deserialization. - - - - - - - Called during serialization to write an object of the specified - to the specified . - - - Public for delegating wrappers of this class. Expected to be called only from - . - - The of object to write. - The object to write. - The to which to write. - The to use when writing. - - - - Called during serialization to get the . - - - Public for delegating wrappers of this class. Expected to be called only from - . - - The of object to write. - The to which to write. - The to use when writing. - The used during serialization. - - - - Gets or sets the used to configure the . - - - - - class to handle Bson. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The instance to copy settings from. - - - - - - - - - - - - - - - - Gets the default media type for Json, namely "application/bson". - - - The default media type does not have any charset parameter as - the can be configured on a per - instance basis. - - - Because is mutable, the value - returned will be a new instance every time. - - - - - Helper class to serialize types by delegating them through a concrete implementation."/>. - - The interface implementing to proxy. - - - - Initialize a DelegatingEnumerable. This constructor is necessary for to work. - - - - - Initialize a DelegatingEnumerable with an . This is a helper class to proxy interfaces for . - - The instance to get the enumerator from. - - - - Get the enumerator of the associated . - - The enumerator of the source. - - - - This method is not implemented but is required method for serialization to work. Do not use. - - The item to add. Unused. - - - - Get the enumerator of the associated . - - The enumerator of the source. - - - - Represent the form data. - - This has 100% fidelity (including ordering, which is important for deserializing ordered array). - - using interfaces allows us to optimize the implementation. E.g., we can avoid eagerly string-splitting a 10gb file. - - This also provides a convenient place to put extension methods. - - - - - Initialize a form collection around incoming data. - The key value enumeration should be immutable. - - incoming set of key value pairs. Ordering is preserved. - - - - Initialize a form collection from a query string. - Uri and FormURl body have the same schema. - - - - - Initialize a form collection from a URL encoded query string. Any leading question - mark (?) will be considered part of the query string and treated as any other value. - - - - - Get the collection as a NameValueCollection. - Beware this loses some ordering. Values are ordered within a key, - but keys are no longer ordered against each other. - - - - - Get values associated with a given key. If there are multiple values, they're concatenated. - - - - - Get a value associated with a given key. - - - - - Gets values associated with a given key. If there are multiple values, they're concatenated. - - The name of the entry that contains the values to get. The name can be null. - Values associated with a given key. If there are multiple values, they're concatenated. - - - - This class provides a low-level API for parsing HTML form URL-encoded data, also known as application/x-www-form-urlencoded - data. The output of the parser is a instance. - This is a low-level API intended for use by other APIs. It has been optimized for performance and - is not intended to be called directly from user code. - - - - - Parses a collection of query string values as a . - - This is a low-level API intended for use by other APIs. It has been optimized for performance and - is not intended to be called directly from user code. - The collection of query string name-value pairs parsed in lexical order. Both names - and values must be un-escaped so that they don't contain any encoding. - The corresponding to the given query string values. - - - - Parses a collection of query string values as a . - - This is a low-level API intended for use by other APIs. It has been optimized for performance and - is not intended to be called directly from user code. - The collection of query string name-value pairs parsed in lexical order. Both names - and values must be un-escaped so that they don't contain any encoding. - The maximum depth of object graph encoded as x-www-form-urlencoded. - The corresponding to the given query string values. - - - - Parses a collection of query string values as a . - - This is a low-level API intended for use by other APIs. It has been optimized for performance and - is not intended to be called directly from user code. - The collection of query string name-value pairs parsed in lexical order. Both names - and values must be un-escaped so that they don't contain any encoding. - The parsed result or null if parsing failed. - true if was parsed successfully; otherwise false. - - - - Parses a collection of query string values as a . - - This is a low-level API intended for use by other APIs. It has been optimized for performance and - is not intended to be called directly from user code. - The collection of query string name-value pairs parsed in lexical order. Both names - and values must be un-escaped so that they don't contain any encoding. - The maximum depth of object graph encoded as x-www-form-urlencoded. - The parsed result or null if parsing failed. - true if was parsed successfully; otherwise false. - - - - Parses a collection of query string values as a . - - This is a low-level API intended for use by other APIs. It has been optimized for performance and - is not intended to be called directly from user code. - The collection of query string name-value pairs parsed in lexical order. Both names - and values must be un-escaped so that they don't contain any encoding. - The maximum depth of object graph encoded as x-www-form-urlencoded. - Indicates whether to throw an exception on error or return false - The corresponding to the given query string values. - - - - Class that wraps key-value pairs. - - - This use of this class avoids a FxCop warning CA908 which happens if using various generic types. - - - - - Initializes a new instance of the class. - - The key of this instance. - The value of this instance. - - - - Gets or sets the key of this instance. - - - The key of this instance. - - - - - Gets or sets the value of this instance. - - - The value of this instance. - - - - - Interface to log events that occur during formatter reads. - - - - - Logs an error. - - The path to the member for which the error is being logged. - The error message to be logged. - - - - Logs an error. - - The path to the member for which the error is being logged. - The exception to be logged. - - - - class to handle Json. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The instance to copy settings from. - - - - - - - - - - Gets the default media type for Json, namely "application/json". - - - The default media type does not have any charset parameter as - the can be configured on a per - instance basis. - - - Because is mutable, the value - returned will be a new instance every time. - - - - - Gets or sets a value indicating whether to indent elements when writing data. - - - - - Constants related to media types. - - - - - Gets a instance representing application/octet-stream. - - - A new instance representing application/octet-stream. - - - - - Gets a instance representing application/xml. - - - A new instance representing application/xml. - - - - - Gets a instance representing application/json. - - - A new instance representing application/json. - - - - - Gets a instance representing text/xml. - - - A new instance representing text/xml. - - - - - Gets a instance representing text/json. - - - A new instance representing text/json. - - - - - Gets a instance representing application/x-www-form-urlencoded. - - - A new instance representing application/x-www-form-urlencoded. - - - - - Gets a instance representing application/bson. - - - A new instance representing application/bson. - - - Not yet a standard. In particular this media type is not currently listed at - http://www.iana.org/assignments/media-types/application. - - - - - Collection class that contains instances. - - - - - Initializes a new instance of the class. - - - This collection will be initialized to contain default - instances for Xml, JsonValue and Json. - - - - - Initializes a new instance of the class. - - A collection of instances to place in the collection. - - - - Helper to search a collection for a formatter that can read the .NET type in the given mediaType. - - .NET type to read - media type to match on. - Formatter that can read the type. Null if no formatter found. - - - - Helper to search a collection for a formatter that can write the .NET type in the given mediaType. - - .NET type to read - media type to match on. - Formatter that can write the type. Null if no formatter found. - - - - Returns true if the type is one of those loosely defined types that should be excluded from validation - - .NET to validate - true if the type should be excluded. - - - - Creates a collection of new instances of the default s. - - The collection of default instances. - - - - Gets the to use for Xml. - - - - - Gets the to use for Json. - - - - - Extension methods for . - - - - - Determines whether two instances match. The instance - is said to match if and only if - is a strict subset of the values and parameters of . - That is, if the media type and media type parameters of are all present - and match those of then it is a match even though may have additional - parameters. - - The first media type. - The second media type. - true if this is a subset of ; false otherwise. - - - - Determines whether two instances match. The instance - is said to match if and only if - is a strict subset of the values and parameters of . - That is, if the media type and media type parameters of are all present - and match those of then it is a match even though may have additional - parameters. - - The first media type. - The second media type. - Indicates whether is a regular media type, a subtype media range, or a full media range - true if this is a subset of ; false otherwise. - - - - Not a media type range - - - - - A subtype media range, e.g. "application/*". - - - - - An all media range, e.g. "*/*". - - - - - Buffer-oriented parsing of HTML form URL-ended, also known as application/x-www-form-urlencoded, data. - - - - - Initializes a new instance of the class. - - The collection to which name value pairs are added as they are parsed. - Maximum length of all the individual name value pairs. - - - - Parse a buffer of URL form-encoded name-value pairs and add them to the collection. - Bytes are parsed in a consuming manner from the beginning of the buffer meaning that the same bytes can not be - present in the buffer. - - Buffer from where data is read - Size of buffer - Offset into buffer - Indicates whether the end of the URL form-encoded data has been reached. - State of the parser. Call this method with new data until it reaches a final state. - - - - Maintains information about the current header field being parsed. - - - - - Copies current name value pair field to the provided collection instance. - - The collection to copy into. - - - - Copies current name-only to the provided collection instance. - - The collection to copy into. - - - - Clears this instance. - - - - - Gets the name of the name value pair. - - - - - Gets the value of the name value pair - - - - - The combines for parsing the HTTP Request Line - and for parsing each header field. - - - - - Initializes a new instance of the class. - - The parsed HTTP request without any header sorting. - - - - Initializes a new instance of the class. - - The parsed HTTP request without any header sorting. - The max length of the HTTP request line. - The max length of the HTTP header. - - - - Parse an HTTP request header and fill in the instance. - - Request buffer from where request is read - Size of request buffer - Offset into request buffer - State of the parser. - - - - HTTP Request Line parser for parsing the first line (the request line) in an HTTP request. - - - - - Initializes a new instance of the class. - - instance where the request line properties will be set as they are parsed. - Maximum length of HTTP header. - - - - Parse an HTTP request line. - Bytes are parsed in a consuming manner from the beginning of the request buffer meaning that the same bytes can not be - present in the request buffer. - - Request buffer from where request is read - Size of request buffer - Offset into request buffer - State of the parser. - - - - The combines for parsing the HTTP Status Line - and for parsing each header field. - - - - - Initializes a new instance of the class. - - The parsed HTTP response without any header sorting. - - - - Initializes a new instance of the class. - - The parsed HTTP response without any header sorting. - The max length of the HTTP status line. - The max length of the HTTP header. - - - - Parse an HTTP response header and fill in the instance. - - Response buffer from where response is read - Size of response buffer - Offset into response buffer - State of the parser. - - - - HTTP Status line parser for parsing the first line (the status line) in an HTTP response. - - - - - Initializes a new instance of the class. - - instance where the response line properties will be set as they are parsed. - Maximum length of HTTP header. - - - - Parse an HTTP status line. - Bytes are parsed in a consuming manner from the beginning of the response buffer meaning that the same bytes can not be - present in the response buffer. - - Response buffer from where response is read - Size of response buffer - Offset into response buffer - State of the parser. - - - - Buffer-oriented RFC 5322 style Internet Message Format parser which can be used to pass header - fields used in HTTP and MIME message entities. - - - - - Initializes a new instance of the class. - - Concrete instance where header fields are added as they are parsed. - Maximum length of complete header containing all the individual header fields. - - - - Parse a buffer of RFC 5322 style header fields and add them to the collection. - Bytes are parsed in a consuming manner from the beginning of the buffer meaning that the same bytes can not be - present in the buffer. - - Request buffer from where request is read - Size of request buffer - Offset into request buffer - State of the parser. Call this method with new data until it reaches a final state. - - - - Maintains information about the current header field being parsed. - - - - - Copies current header field to the provided instance. - - The headers. - - - - Determines whether this instance is empty. - - - true if this instance is empty; otherwise, false. - - - - - Clears this instance. - - - - - Gets the header field name. - - - - - Gets the header field value. - - - - - Complete MIME multipart parser that combines for parsing the MIME message into individual body parts - and for parsing each body part into a MIME header and a MIME body. The caller of the parser is returned - the resulting MIME bodies which can then be written to some output. - - - - - Initializes a new instance of the class. - - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - - - - Initializes a new instance of the class. - - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - The max length of the entire MIME multipart message. - The max length of the MIME header within each MIME body part. - - - - Determines whether the specified content is MIME multipart content. - - The content. - - true if the specified content is MIME multipart content; otherwise, false. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Parses the data provided and generates parsed MIME body part bodies in the form of which are ready to - write to the output stream. - - The data to parse - The number of bytes available in the input data - Parsed instances. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Buffer-oriented MIME multipart parser. - - - - - Initializes a new instance of the class. - - Message boundary - Maximum length of entire MIME multipart message. - - - - Parse a MIME multipart message. Bytes are parsed in a consuming - manner from the beginning of the request buffer meaning that the same bytes can not be - present in the request buffer. - - Request buffer from where request is read - Size of request buffer - Offset into request buffer - Any body part that was considered as a potential MIME multipart boundary but which was in fact part of the body. - The bulk of the body part. - Indicates whether the final body part has been found. - In order to get the complete body part, the caller is responsible for concatenating the contents of the - and out parameters. - State of the parser. - - - - Represents the overall state of the . - - - - - Need more data - - - - - Parsing of a complete body part succeeded. - - - - - Bad data format - - - - - Data exceeds the allowed size - - - - - Maintains information about the current body part being parsed. - - - - - Initializes a new instance of the class. - - The reference boundary. - - - - Resets the boundary offset. - - - - - Resets the boundary. - - - - - Appends byte to the current boundary. - - The data to append to the boundary. - - - - Appends array of bytes to the current boundary. - - The data to append to the boundary. - The offset into the data. - The number of bytes to append. - - - - Gets the discarded boundary. - - An containing the discarded boundary. - - - - Determines whether current boundary is valid. - - - true if curent boundary is valid; otherwise, false. - - - - - Clears the body part. - - - - - Clears all. - - - - - Gets or sets a value indicating whether this instance has potential boundary left over. - - - true if this instance has potential boundary left over; otherwise, false. - - - - - Gets the boundary delta. - - - - - Gets or sets the body part. - - - The body part. - - - - - Gets a value indicating whether this body part instance is final. - - - true if this body part instance is final; otherwise, false. - - - - - Represents the overall state of various parsers. - - - - - Need more data - - - - - Parsing completed (final) - - - - - Bad data format (final) - - - - - Data exceeds the allowed size (final) - - - - - Helper class for validating values. - - - - - Determines whether the specified is defined by the - enumeration. - - The value to verify. - - true if the specified options is defined; otherwise, false. - - - - - Validates the specified and throws an - exception if not valid. - - The value to validate. - Name of the parameter to use if throwing exception. - - - - class to handle Xml. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The instance to copy settings from. - - - - Registers the to use to read or write - the specified . - - The type of object that will be serialized or deserialized with . - The instance to use. - - - - Registers the to use to read or write - the specified type. - - The type of object that will be serialized or deserialized with . - The instance to use. - - - - Registers the to use to read or write - the specified . - - The type of objects for which will be used. - The instance to use. - - - - Registers the to use to read or write - the specified type. - - The type of object that will be serialized or deserialized with . - The instance to use. - - - - Unregisters the serializer currently associated with the given . - - - Unless another serializer is registered for the , a default one will be created. - - The type of object whose serializer should be removed. - true if a serializer was registered for the ; otherwise false. - - - - Determines whether this can read objects - of the specified . - - The type of object that will be read. - true if objects of this can be read, otherwise false. - - - - Determines whether this can write objects - of the specified . - - The type of object that will be written. - true if objects of this can be written, otherwise false. - - - - Called during deserialization to read an object of the specified - from the specified . - - The type of object to read. - The from which to read. - The for the content being read. - The to log events to. - A whose result will be the object instance that has been read. - - - - Called during deserialization to get the XML serializer to use for deserializing objects. - - The type of object to deserialize. - The for the content being read. - An instance of or to use for deserializing the object. - - - - Called during deserialization to get the XML reader to use for reading objects from the stream. - - The to read from. - The for the content being read. - The to use for reading objects. - - - - - - - Called during serialization to get the XML serializer to use for serializing objects. - - The type of object to serialize. - The object to serialize. - The for the content being written. - An instance of or to use for serializing the object. - - - - Called during serialization to get the XML writer to use for writing objects to the stream. - - The to write to. - The for the content being written. - The to use for writing objects. - - - - Called during deserialization to get the XML serializer. - - The type of object that will be serialized or deserialized. - The used to serialize the object. - - - - Called during deserialization to get the DataContractSerializer serializer. - - The type of object that will be serialized or deserialized. - The used to serialize the object. - - - - This method is to support infrastructure and is not intended to be used directly from your code. - - - - - This method is to support infrastructure and is not intended to be used directly from your code. - - - - - This method is to support infrastructure and is not intended to be used directly from your code. - - - - - This method is to support infrastructure and is not intended to be used directly from your code. - - - - - Gets the default media type for xml, namely "application/xml". - - - - The default media type does not have any charset parameter as - the can be configured on a per - instance basis. - - Because is mutable, the value - returned will be a new instance every time. - - - - - Gets or sets a value indicating whether to use instead of by default. - - - true if use by default; otherwise, false. The default is false. - - - - - Gets or sets a value indicating whether to indent elements when writing data. - - - - - Gets the to be used while writing. - - - - - NameValueCollection to represent form data and to generate form data output. - - - - - Creates a new instance - - - - - Adds a name-value pair to the collection. - - The name to be added as a case insensitive string. - The value to be added. - - - - Converts the content of this instance to its equivalent string representation. - - The string representation of the value of this instance, multiple values with a single key are comma separated. - - - - Gets the values associated with the specified name - combined into one comma-separated list. - - The name of the entry that contains the values to get. The name can be null. - - A that contains a comma-separated list of url encoded values associated - with the specified name if found; otherwise, null. The values are Url encoded. - - - - - Gets the values associated with the specified name. - - The - A that contains url encoded values associated with the name, or null if the name does not exist. - - - - - - - - - - Gets the values associated with the specified name - combined into one comma-separated list. - - The name of the entry that contains the values to get. The name can be null. - A that contains a comma-separated list of url encoded values associated - with the specified name if found; otherwise, null. The values are Url encoded. - - - - Gets the number of names in the collection. - - - - - Extension methods to allow strongly typed objects to be read from the query component of instances. - - - - - Parses the query portion of the specified . - - The instance from which to read. - A containing the parsed result. - - - - Reads HTML form URL encoded data provided in the query component as a object. - - The instance from which to read. - An object to be initialized with this instance or null if the conversion cannot be performed. - true if the query component can be read as ; otherwise false. - - - - Reads HTML form URL encoded data provided in the query component as an of the given . - - The instance from which to read. - The type of the object to read. - An object to be initialized with this instance or null if the conversion cannot be performed. - true if the query component can be read as the specified type; otherwise false. - - - - Reads HTML form URL encoded data provided in the query component as an of type . - - The type of the object to read. - The instance from which to read. - An object to be initialized with this instance or null if the conversion cannot be performed. - true if the query component can be read as the specified type; otherwise false. - - - - Provides data for the events generated by . - - - - - Initializes a new instance of the with the parameters given. - - The percent completed of the overall exchange. - Any user state provided as part of reading or writing the data. - The current number of bytes either received or sent. - The total number of bytes expected to be received or sent. - - - - Gets the current number of bytes transferred. - - - - - Gets the total number of expected bytes to be sent or received. If the number is not known then this is null. - - - - - Wraps an inner in order to insert a on writing data. - - - - - The provides a mechanism for getting progress event notifications - when sending and receiving data in connection with exchanging HTTP requests and responses. - Register event handlers for the events and - to see events for data being sent and received. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The inner handler to which this handler submits requests. - - - - Raises the event. - - The request. - The instance containing the event data. - - - - Raises the event. - - The request. - The instance containing the event data. - - - - Occurs every time the client sending data is making progress. - - - - - Occurs every time the client receiving data is making progress. - - - - - This implementation of registers how much data has been - read (received) versus written (sent) for a particular HTTP operation. The implementation - is client side in that the total bytes to send is taken from the request and the total - bytes to read is taken from the response. In a server side scenario, it would be the - other way around (reading the request and writing the response). - - - - - Stream that delegates to inner stream. - This is taken from System.Net.Http - - - - - Extension methods that aid in making formatted requests using . - - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a POST request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as JSON. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses a default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with the given serialized - as XML. - - - This method uses the default instance of . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Sends a PUT request as an asynchronous operation to the specified Uri with - serialized using the given . - - The type of . - The client used to make the request. - The Uri the request is sent to. - The value that will be placed in the request's entity body. - The formatter used to serialize the . - The authoritative value of the request's content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - The token to monitor for cancellation requests. - A task object representing the asynchronous operation. - - - - Creates a new instance configured with the handlers provided and with an - as the innermost handler. - - An ordered list of instances to be invoked as an - travels from the to the network and an - travels from the network back to . - The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for - an outbound request message but last for an inbound response message. - An instance with the configured handlers. - - - - Creates a new instance configured with the handlers provided and with the - provided as the innermost handler. - - The inner handler represents the destination of the HTTP message channel. - An ordered list of instances to be invoked as an - travels from the to the network and an - travels from the network back to . - The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for - an outbound request message but last for an inbound response message. - An instance with the configured handlers. - - - - Creates an instance of an using the instances - provided by . The resulting pipeline can be used to manually create - or instances with customized message handlers. - - The inner handler represents the destination of the HTTP message channel. - An ordered list of instances to be invoked as part - of sending an and receiving an . - The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for - an outbound request message but last for an inbound response message. - The HTTP message channel. - - - - Extension methods to allow strongly typed objects to be read from instances. - - - - - Returns a that will yield an object of the specified - from the instance. - - This override use the built-in collection of formatters. - The instance from which to read. - The type of the object to read. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - from the instance. - - This override use the built-in collection of formatters. - The instance from which to read. - The type of the object to read. - The token to monitor for cancellation requests. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - from the instance using one of the provided - to deserialize the content. - - The instance from which to read. - The type of the object to read. - The collection of instances to use. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - from the instance using one of the provided - to deserialize the content. - - The instance from which to read. - The type of the object to read. - The collection of instances to use. - The token to monitor for cancellation requests. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - from the instance using one of the provided - to deserialize the content. - - The instance from which to read. - The type of the object to read. - The collection of instances to use. - The to log events to. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - from the instance using one of the provided - to deserialize the content. - - The instance from which to read. - The type of the object to read. - The collection of instances to use. - The to log events to. - The token to monitor for cancellation requests. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - type from the instance. - - This override use the built-in collection of formatters. - The type of the object to read. - The instance from which to read. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - type from the instance. - - This override use the built-in collection of formatters. - The type of the object to read. - The instance from which to read. - The token to monitor for cancellation requests. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - type from the instance. - - The type of the object to read. - The instance from which to read. - The collection of instances to use. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - type from the instance. - - The type of the object to read. - The instance from which to read. - The collection of instances to use. - The token to monitor for cancellation requests. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - type from the instance. - - The type of the object to read. - The instance from which to read. - The collection of instances to use. - The to log events to. - A task object representing reading the content as an object of the specified type. - - - - Returns a that will yield an object of the specified - type from the instance. - - The type of the object to read. - The instance from which to read. - The collection of instances to use. - The to log events to. - The token to monitor for cancellation requests. - A task object representing reading the content as an object of the specified type. - - - - Extension methods to read and entities from instances. - - - - - Determines whether the specified content is HTTP request message content. - - The content. - - true if the specified content is HTTP message content; otherwise, false. - - - - - Determines whether the specified content is HTTP response message content. - - The content. - - true if the specified content is HTTP message content; otherwise, false. - - - - - Read the as an . - - The content to read. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The token to monitor for cancellation requests. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The URI scheme to use for the request URI. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The URI scheme to use for the request URI. - The token to monitor for cancellation requests. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The URI scheme to use for the request URI (the - URI scheme is not actually part of the HTTP Request URI and so must be provided externally). - Size of the buffer. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The URI scheme to use for the request URI (the - URI scheme is not actually part of the HTTP Request URI and so must be provided externally). - Size of the buffer. - The token to monitor for cancellation requests. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The URI scheme to use for the request URI (the - URI scheme is not actually part of the HTTP Request URI and so must be provided externally). - Size of the buffer. - The max length of the HTTP header. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The URI scheme to use for the request URI (the - URI scheme is not actually part of the HTTP Request URI and so must be provided externally). - Size of the buffer. - The max length of the HTTP header. - The token to monitor for cancellation requests. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - The token to monitor for cancellation requests. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - Size of the buffer. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - Size of the buffer. - The token to monitor for cancellation requests. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - Size of the buffer. - The max length of the HTTP header. - A task object representing reading the content as an . - - - - Read the as an . - - The content to read. - Size of the buffer. - The max length of the HTTP header. - The token to monitor for cancellation requests. - The parsed instance. - - - - Creates the request URI by combining scheme (provided) with parsed values of - host and path. - - The URI scheme to use for the request URI. - The unsorted HTTP request. - A fully qualified request URI. - - - - Copies the unsorted header fields to a sorted collection. - - The unsorted source headers - The destination or . - The input used to form any being part of this HTTP request. - Start location of any request entity within the . - An instance if header fields contained and . - - - - Creates an based on information provided in . - - The URI scheme to use for the request URI. - The unsorted HTTP request. - The input used to form any being part of this HTTP request. - Start location of any request entity within the . - A newly created instance. - - - - Creates an based on information provided in . - - The unsorted HTTP Response. - The input used to form any being part of this HTTP Response. - Start location of any Response entity within the . - A newly created instance. - - - - Extension methods to read MIME multipart entities from instances. - - - - - Determines whether the specified content is MIME multipart content. - - The content. - - true if the specified content is MIME multipart content; otherwise, false. - - - - - Determines whether the specified content is MIME multipart content with the - specified subtype. For example, the subtype mixed would match content - with a content type of multipart/mixed. - - The content. - The MIME multipart subtype to match. - - true if the specified content is MIME multipart content with the specified subtype; otherwise, false. - - - - - Reads all body parts within a MIME multipart message into memory using a . - - An existing instance to use for the object's content. - A representing the tasks of getting the result of reading the MIME content. - - - - Reads all body parts within a MIME multipart message into memory using a . - - An existing instance to use for the object's content. - The token to monitor for cancellation requests. - A representing the tasks of getting the result of reading the MIME content. - - - - Reads all body parts within a MIME multipart message using the provided instance - to determine where the contents of each body part is written. - - The with which to process the data. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - A representing the tasks of getting the result of reading the MIME content. - - - - Reads all body parts within a MIME multipart message using the provided instance - to determine where the contents of each body part is written. - - The with which to process the data. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - The token to monitor for cancellation requests. - A representing the tasks of getting the result of reading the MIME content. - - - - Reads all body parts within a MIME multipart message using the provided instance - to determine where the contents of each body part is written and as read buffer size. - - The with which to process the data. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - Size of the buffer used to read the contents. - A representing the tasks of getting the result of reading the MIME content. - - - - Reads all body parts within a MIME multipart message using the provided instance - to determine where the contents of each body part is written and as read buffer size. - - The with which to process the data. - An existing instance to use for the object's content. - A stream provider providing output streams for where to write body parts as they are parsed. - Size of the buffer used to read the contents. - The token to monitor for cancellation requests. - A representing the tasks of getting the result of reading the MIME content. - - - - Managing state for asynchronous read and write operations - - - - - Gets the that we read from. - - - - - Gets the collection of parsed instances. - - - - - The data buffer that we use for reading data from the input stream into before processing. - - - - - Gets the MIME parser instance used to parse the data - - - - - Derived class which can encapsulate an - or an as an entity with media type "application/http". - - - - - Initializes a new instance of the class encapsulating an - . - - The instance to encapsulate. - - - - Initializes a new instance of the class encapsulating an - . - - The instance to encapsulate. - - - - Validates whether the content contains an HTTP Request or an HTTP Response. - - The content to validate. - if set to true if the content is either an HTTP Request or an HTTP Response. - Indicates whether validation failure should result in an or not. - true if content is either an HTTP Request or an HTTP Response - - - - Asynchronously serializes the object's content to the given . - - The to which to write. - The associated . - A instance that is asynchronously serializing the object's content. - - - - Computes the length of the stream if possible. - - The computed length of the stream. - true if the length has been computed; otherwise false. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Serializes the HTTP request line. - - Where to write the request line. - The HTTP request. - - - - Serializes the HTTP status line. - - Where to write the status line. - The HTTP response. - - - - Serializes the header fields. - - Where to write the status line. - The headers to write. - - - - Gets the HTTP request message. - - - - - Gets the HTTP response message. - - - - - All of the existing non-abstract implementations, namely - , , and - enforce strict rules on what kinds of HTTP header fields can be added to each collection. - When parsing the "application/http" media type we need to just get the unsorted list. It - will get sorted later. - - - - - Represents the HTTP Request Line and header parameters parsed by - and . - - - - - Initializes a new instance of the class. - - - - - Gets or sets the HTTP method. - - - The HTTP method. - - - - - Gets or sets the HTTP request URI portion that is carried in the RequestLine (i.e the URI path + query). - - - The request URI. - - - - - Gets or sets the HTTP version. - - - The HTTP version. - - - - - Gets the unsorted HTTP request headers. - - - - - Represents the HTTP Status Line and header parameters parsed by - and . - - - - - Initializes a new instance of the class. - - - - - Gets or sets the HTTP version. - - - The HTTP version. - - - - - Gets or sets the - - - The HTTP status code - - - - - Gets or sets the HTTP reason phrase - - - The response reason phrase - - - - - Gets the unsorted HTTP request headers. - - - - - This implements a read-only, forward-only stream around another readable stream, to ensure - that there is an appropriate encoding preamble in the stream. - - - - - Maintains information about MIME body parts parsed by . - - - - - Initializes a new instance of the class. - - The stream provider. - The max length of the MIME header within each MIME body part. - The part's parent content - - - - Gets the part's content as an HttpContent. - - - The part's content, or null if the part had no content. - - - - - Writes the into the part's output stream. - - The current segment to be written to the part's output stream. - The token to monitor for cancellation requests. - - - - Gets the output stream. - - The output stream to write the body part to. - - - - 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. - - - - In the success case, the HttpContent is to be used after this Part has been parsed and disposed of. - Only if Dispose has been called on a non-completed part, the parsed HttpContent needs to be disposed of as well. - - - - - Resets the output stream by either closing it or, in the case of a resetting - position to 0 so that it can be read by the caller. - - - - - Gets the header parser. - - - The header parser. - - - - - Gets the set of pointing to the read buffer with - contents of this body part. - - - - - Gets or sets a value indicating whether the body part has been completed. - - - true if this instance is complete; otherwise, false. - - - - - Gets or sets a value indicating whether this is the final body part. - - - true if this instance is complete; otherwise, false. - - - - - Provides a implementation that returns a instance. - This facilitates deserialization or other manipulation of the contents in memory. - - - - - An implementation examines the headers provided by the MIME multipart parser - as part of the MIME multipart extension methods (see ) and decides - what kind of stream to return for the body part to be written to. - - - - - Initializes a new instance of the class. - - - - - When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to. - - The parent MIME multipart instance. - The header fields describing the body parts content. Looking for header fields such as - Content-Type and Content-Disposition can help provide the appropriate stream. In addition to using the information - in the provided header fields, it is also possible to add new header fields or modify existing header fields. This can - be useful to get around situations where the Content-type may say application/octet-stream but based on - analyzing the Content-Disposition header field it is found that the content in fact is application/json, for example. - A stream instance where the contents of a body part will be written to. - - - - Immediately upon reading the last MIME body part but before completing the read task, this method is - called to enable the to do any post processing on the - instances that have been read. For example, it can be used to copy the data to another location, or perform - some other kind of post processing on the data before completing the read operation. - - A representing the post processing. - - - - Immediately upon reading the last MIME body part but before completing the read task, this method is - called to enable the to do any post processing on the - instances that have been read. For example, it can be used to copy the data to another location, or perform - some other kind of post processing on the data before completing the read operation. - - The token to monitor for cancellation requests. - A representing the post processing. - - - - Gets the collection of instances where each instance represents a MIME body part. - - - - - This implementation returns a instance. - This facilitates deserialization or other manipulation of the contents in memory. - - - - - An suited for reading MIME body parts following the - multipart/related media type as defined in RFC 2387 (see http://www.ietf.org/rfc/rfc2387.txt). - - - - - Looks for the "start" parameter of the parent's content type and then finds the corresponding - child HttpContent with a matching Content-ID header field. - - The matching child or null if none found. - - - - Looks for a parameter in the . - - The matching parameter or null if none found. - - - - Gets the instance that has been marked as the root content in the - MIME multipart related message using the start parameter. If no start parameter is - present then pick the first of the children. - - - - - Contains a value as well as an associated that will be - used to serialize the value when writing this content. - - - - - Initializes a new instance of the class. - - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - - - - Initializes a new instance of the class. - - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - - - - Initializes a new instance of the class. - - The type of object this instance will contain. - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - - - - Asynchronously serializes the object's content to the given . - - The to which to write. - The associated . - A instance that is asynchronously serializing the object's content. - - - - Computes the length of the stream if possible. - - The computed length of the stream. - true if the length has been computed; otherwise false. - - - - Gets the type of object managed by this instance. - - - - - The formatter associated with this content instance. - - - - - Gets or sets the value of the current . - - - - - Generic form of . - - The type of object this class will contain. - - - - Initializes a new instance of the class. - - The value of the object this instance will contain. - The formatter to use when serializing the value. - - - - Initializes a new instance of the class. - - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - - - - Initializes a new instance of the class. - - The value of the object this instance will contain. - The formatter to use when serializing the value. - The authoritative value of the content's Content-Type header. Can be null in which case the - formatter's default content type will be used. - - - - Provides an implementation that exposes an output - which can be written to directly. The ability to push data to the output stream differs from the - where data is pulled and not pushed. - - - - - Initializes a new instance of the class. The - action is called when an output stream - has become available allowing the action to write to it directly. When the - stream is closed, it will signal to the content that is has completed and the - HTTP request or response will be completed. - - The action to call when an output stream is available. - - - - Initializes a new instance of the class. - - The action to call when an output stream is available. The stream is automatically - closed when the return task is completed. - - - - Initializes a new instance of the class with the given media type. - - - - - Initializes a new instance of the class with the given media type. - - - - - Initializes a new instance of the class with the given . - - - - - Initializes a new instance of the class with the given . - - - - - When this method is called, it calls the action provided in the constructor with the output - stream to write to. Once the action has completed its work it closes the stream which will - close this content instance and complete the HTTP request or response. - - The to which to write. - The associated . - A instance that is asynchronously serializing the object's content. - - - - Computes the length of the stream if possible. - - The computed length of the stream. - true if the length has been computed; otherwise false. - - - - 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 Async Callback threw an exception.. - - - - - Looks up a localized string similar to The IAsyncResult implementation '{0}' tried to complete a single operation multiple times. This could be caused by an incorrect application IAsyncResult implementation or other extensibility code, such as an IAsyncResult that returns incorrect CompletedSynchronously values or invokes the AsyncCallback multiple times.. - - - - - Looks up a localized string similar to End cannot be called twice on an AsyncResult.. - - - - - Looks up a localized string similar to An incorrect IAsyncResult was provided to an 'End' method. The IAsyncResult object passed to 'End' must be the one returned from the matching 'Begin' or passed to the callback provided to 'Begin'.. - - - - - Looks up a localized string similar to Found zero byte ranges. There must be at least one byte range provided.. - - - - - Looks up a localized string similar to The range unit '{0}' is not valid. The range must have a unit of '{1}'.. - - - - - Looks up a localized string similar to The stream over which '{0}' provides a range view must have a length greater than or equal to 1.. - - - - - Looks up a localized string similar to The 'From' value of the range must be less than or equal to {0}.. - - - - - Looks up a localized string similar to None of the requested ranges ({0}) overlap with the current extent of the selected resource.. - - - - - Looks up a localized string similar to The requested range ({0}) does not overlap with the current extent of the selected resource.. - - - - - Looks up a localized string similar to The stream over which '{0}' provides a range view must be seekable.. - - - - - Looks up a localized string similar to This is a read-only stream.. - - - - - Looks up a localized string similar to A null '{0}' is not valid.. - - - - - Looks up a localized string similar to The '{0}' of '{1}' cannot be used as a supported media type because it is a media range.. - - - - - Looks up a localized string similar to The '{0}' type cannot accept a null value for the value type '{1}'.. - - - - - Looks up a localized string similar to The specified value is not a valid cookie name.. - - - - - Looks up a localized string similar to Cookie cannot be null.. - - - - - Looks up a localized string similar to The '{0}' list is invalid because it contains one or more null items.. - - - - - Looks up a localized string similar to The '{0}' list is invalid because the property '{1}' of '{2}' is not null.. - - - - - Looks up a localized string similar to Error reading HTML form URL-encoded data stream.. - - - - - Looks up a localized string similar to Mismatched types at node '{0}'.. - - - - - Looks up a localized string similar to Error parsing HTML form URL-encoded data, byte {0}.. - - - - - Looks up a localized string similar to Invalid HTTP status code: '{0}'. The status code must be between {1} and {2}.. - - - - - Looks up a localized string similar to Invalid HTTP version: '{0}'. The version must start with the characters '{1}'.. - - - - - Looks up a localized string similar to The '{0}' of the '{1}' has already been read.. - - - - - Looks up a localized string similar to The '{0}' must be seekable in order to create an '{1}' instance containing an entity body. . - - - - - Looks up a localized string similar to Error reading HTTP message.. - - - - - Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a content type header with a value of '{1}'.. - - - - - Looks up a localized string similar to HTTP Request URI cannot be an empty string.. - - - - - Looks up a localized string similar to Error parsing HTTP message header byte {0} of message {1}.. - - - - - Looks up a localized string similar to An invalid number of '{0}' header fields were present in the HTTP Request. It must contain exactly one '{0}' header field but found {1}.. - - - - - Looks up a localized string similar to Invalid URI scheme: '{0}'. The URI scheme must be a valid '{1}' scheme.. - - - - - Looks up a localized string similar to Invalid array at node '{0}'.. - - - - - Looks up a localized string similar to Traditional style array without '[]' is not supported with nested object at location {0}.. - - - - - Looks up a localized string similar to The '{0}' method returned null. It must return a JSON serializer instance.. - - - - - Looks up a localized string similar to The '{0}' method threw an exception when attempting to create a JSON serializer.. - - - - - Looks up a localized string similar to The maximum read depth ({0}) has been exceeded because the form url-encoded data being read has more levels of nesting than is allowed.. - - - - - Looks up a localized string similar to The number of keys in a NameValueCollection has exceeded the limit of '{0}'. You can adjust it by modifying the MaxHttpCollectionKeys property on the '{1}' class.. - - - - - Looks up a localized string similar to Error parsing BSON data; unable to read content as a {0}.. - - - - - Looks up a localized string similar to Error parsing BSON data; unexpected dictionary content: {0} entries, first key '{1}'.. - - - - - Looks up a localized string similar to The '{0}' method returned null. It must return a JSON reader instance.. - - - - - Looks up a localized string similar to The '{0}' method returned null. It must return a JSON writer instance.. - - - - - Looks up a localized string similar to The media type formatter of type '{0}' does not support reading because it does not implement the ReadFromStreamAsync method.. - - - - - Looks up a localized string similar to The media type formatter of type '{0}' does not support reading because it does not implement the ReadFromStream method.. - - - - - Looks up a localized string similar to The media type formatter of type '{0}' does not support writing because it does not implement the WriteToStreamAsync method.. - - - - - Looks up a localized string similar to The media type formatter of type '{0}' does not support writing because it does not implement the WriteToStream method.. - - - - - Looks up a localized string similar to No encoding found for media type formatter '{0}'. There must be at least one supported encoding registered in order for the media type formatter to read or write content.. - - - - - Looks up a localized string similar to MIME multipart boundary cannot end with an empty space.. - - - - - Looks up a localized string similar to Did not find required '{0}' header field in MIME multipart body part.. - - - - - Looks up a localized string similar to Could not determine a valid local file name for the multipart body part.. - - - - - Looks up a localized string similar to Nested bracket is not valid for '{0}' data at position {1}.. - - - - - Looks up a localized string similar to A non-null request URI must be provided to determine if a '{0}' matches a given request or response message.. - - - - - Looks up a localized string similar to No MediaTypeFormatter is available to read an object of type '{0}' from content with media type '{1}'.. - - - - - Looks up a localized string similar to An object of type '{0}' cannot be used with a type parameter of '{1}'.. - - - - - Looks up a localized string similar to The configured formatter '{0}' cannot write an object of type '{1}'.. - - - - - Looks up a localized string similar to Query string name cannot be null.. - - - - - Looks up a localized string similar to Unexpected end of HTTP message stream. HTTP message is not complete.. - - - - - Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a '{1}' content-type header with a '{2}' parameter.. - - - - - Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a content-type header value. '{0}' instances must have a content-type header starting with '{1}'.. - - - - - Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a content type header starting with '{1}'.. - - - - - Looks up a localized string similar to Error reading MIME multipart body part.. - - - - - Looks up a localized string similar to Error writing MIME multipart body part to output stream.. - - - - - Looks up a localized string similar to Error parsing MIME multipart body part header byte {0} of data segment {1}.. - - - - - Looks up a localized string similar to Error parsing MIME multipart message byte {0} of data segment {1}.. - - - - - Looks up a localized string similar to The stream provider of type '{0}' threw an exception.. - - - - - Looks up a localized string similar to The stream provider of type '{0}' returned null. It must return a writable '{1}' instance.. - - - - - Looks up a localized string similar to The stream provider of type '{0}' returned a read-only stream. It must return a writable '{1}' instance.. - - - - - Looks up a localized string similar to Unexpected end of MIME multipart stream. MIME multipart message is not complete.. - - - - - Looks up a localized string similar to The '{0}' serializer cannot serialize the type '{1}'.. - - - - - Looks up a localized string similar to There is an unmatched opened bracket for the '{0}' at position {1}.. - - - - - Looks up a localized string similar to Indentation is not supported by '{0}'.. - - - - - Looks up a localized string similar to The object of type '{0}' returned by {1} must be an instance of either XmlObjectSerializer or XmlSerializer.. - - - - - Looks up a localized string similar to The object returned by {0} must not be a null value.. - - - - - Defines an exception type for signalling that a request's media type was not supported. - - - - - Initializes a new instance of the class. - - The message that describes the error. - The unsupported media 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 Relative URI values are not supported: '{0}'. The URI must be absolute.. - - - - - Looks up a localized string similar to Unsupported URI scheme: '{0}'. The URI scheme must be either '{1}' or '{2}'.. - - - - - Looks up a localized string similar to Value must be greater than or equal to {0}.. - - - - - Looks up a localized string similar to Value must be less than or equal to {0}.. - - - - - Looks up a localized string similar to The argument '{0}' is null or empty.. - - - - - Looks up a localized string similar to URI must not contain a query component or a fragment identifier.. - - - - - Looks up a localized string similar to The value of argument '{0}' ({1}) is invalid for Enum type '{2}'.. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Content/web.config.transform b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Content/web.config.transform deleted file mode 100644 index 8e3f2a69d..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Content/web.config.transform +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg deleted file mode 100644 index 43d7c86e2..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll deleted file mode 100644 index e1dbdd182..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.xml b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.xml deleted file mode 100644 index 365dd7b93..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.xml +++ /dev/null @@ -1,6664 +0,0 @@ - - - - System.Web.Http - - - - - Creates an that represents an exception. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The exception. - - - Creates an that represents an error message. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The error message. - - - Creates an that represents an exception with an error message. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The error message. - The exception. - - - Creates an that represents an error. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The HTTP error. - - - Creates an that represents an error in the model state. - The request must be associated with an instance.An whose content is a serialized representation of an instance. - The HTTP request. - The status code of the response. - The model state. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type formatter. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type formatter. - The media type header value. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type formatter. - The media type. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type header value. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The media type. - The type of the HTTP response message. - - - Creates an wired up to the associated . - An initialized wired up to the associated . - The HTTP request message which led to this response message. - The HTTP response status code. - The content of the HTTP response message. - The HTTP configuration which contains the dependency resolver used to resolve services. - The type of the HTTP response message. - - - - - - Disposes of all tracked resources associated with the which were added via the method. - The HTTP request. - - - - Gets the current X.509 certificate from the given HTTP request. - The current , or null if a certificate is not available. - The HTTP request. - - - Retrieves the for the given request. - The for the given request. - The HTTP request. - - - Retrieves the which has been assigned as the correlation ID associated with the given . The value will be created and set the first time this method is called. - The object that represents the correlation ID associated with the request. - The HTTP request. - - - Retrieves the for the given request or null if not available. - The for the given request or null if not available. - The HTTP request. - - - Gets the parsed query string as a collection of key-value pairs. - The query string as a collection of key-value pairs. - The HTTP request. - - - - - Retrieves the for the given request or null if not available. - The for the given request or null if not available. - The HTTP request. - - - Retrieves the for the given request or null if not available. - The for the given request or null if not available. - The HTTP request. - - - Gets a instance for an HTTP request. - A instance that is initialized for the specified HTTP request. - The HTTP request. - - - - - - Adds the given to a list of resources that will be disposed by a host once the is disposed. - The HTTP request controlling the lifecycle of . - The resource to dispose when is being disposed. - - - - - - - Represents the message extensions for the HTTP response from an ASP.NET operation. - - - Attempts to retrieve the value of the content for the . - The result of the retrieval of value of the content. - The response of the operation. - The value of the content. - The type of the value to retrieve. - - - Represents extensions for adding items to a . - - - - - Provides s from path extensions appearing in a . - - - Initializes a new instance of the class. - The extension corresponding to mediaType. This value should not include a dot or wildcards. - The that will be returned if uriPathExtension is matched. - - - Initializes a new instance of the class. - The extension corresponding to mediaType. This value should not include a dot or wildcards. - The media type that will be returned if uriPathExtension is matched. - - - Returns a value indicating whether this instance can provide a for the of request. - If this instance can match a file extension in request it returns 1.0 otherwise 0.0. - The to check. - - - Gets the path extension. - The path extension. - - - The path extension key. - - - Represents an attribute that specifies which HTTP methods an action method will respond to. - - - Initializes a new instance of the class by using the action method it will respond to. - The HTTP method that the action method will respond to. - - - Initializes a new instance of the class by using a list of HTTP methods that the action method will respond to. - The HTTP methods that the action method will respond to. - - - Gets or sets the list of HTTP methods that the action method will respond to. - Gets or sets the list of HTTP methods that the action method will respond to. - - - Represents an attribute that is used for the name of an action. - - - Initializes a new instance of the class. - The name of the action. - - - Gets or sets the name of the action. - The name of the action. - - - Specifies that actions and controllers are skipped by during authorization. - - - Initializes a new instance of the class. - - - Defines properties and methods for API controller. - - - - Gets the action context. - The action context. - - - Creates a . - A . - - - Creates an (400 Bad Request) with the specified error message. - An with the specified model state. - The user-visible error message. - - - Creates an with the specified model state. - An with the specified model state. - The model state to include in the error. - - - Gets the of the current . - The of the current . - - - Creates a (409 Conflict). - A . - - - Creates a <see cref="T:System.Web.Http.NegotiatedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.NegotiatedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The type of content in the entity body. - - - Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header, or <see langword="null" /> to have the formatter pick a default value. - The type of content in the entity body. - - - Creates a <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - A <see cref="T:System.Web.Http.FormattedContentResult`1" /> with the specified values. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header. - The type of content in the entity body. - - - Gets the of the current . - The of the current . - - - Creates a (201 Created) with the specified values. - A with the specified values. - The location at which the content has been created. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a (201 Created) with the specified values. - A with the specified values. - The location at which the content has been created. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a (201 Created) with the specified values. - A with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a (201 Created) with the specified values. - A with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Executes asynchronously a single HTTP operation. - The newly started task. - The controller context for a single HTTP operation. - The cancellation token assigned for the HTTP operation. - - - Initializes the instance with the specified controllerContext. - The object that is used for the initialization. - - - Creates an (500 Internal Server Error). - A . - - - Creates an (500 Internal Server Error) with the specified exception. - An with the specified exception. - The exception to include in the error. - - - Creates a (200 OK) with the specified value. - A with the specified value. - The content value to serialize in the entity body. - The type of content in the entity body. - - - Creates a (200 OK) with the specified values. - A with the specified values. - The content value to serialize in the entity body. - The serializer settings. - The type of content in the entity body. - - - Creates a (200 OK) with the specified values. - A with the specified values. - The content value to serialize in the entity body. - The serializer settings. - The content encoding. - The type of content in the entity body. - - - Gets the model state after the model binding process. - The model state after the model binding process. - - - Creates a . - A . - - - Creates an (200 OK). - An . - - - Creates an with the specified values. - An with the specified values. - The content value to negotiate and format in the entity body. - The type of content in the entity body. - - - Creates a redirect result (302 Found) with the specified value. - A redirect result (302 Found) with the specified value. - The location to redirect to. - - - Creates a redirect result (302 Found) with the specified value. - A redirect result (302 Found) with the specified value. - The location to redirect to. - - - Creates a redirect to route result (302 Found) with the specified values. - A redirect to route result (302 Found) with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - - - Creates a redirect to route result (302 Found) with the specified values. - A redirect to route result (302 Found) with the specified values. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - - - Gets or sets the HttpRequestMessage of the current . - The HttpRequestMessage of the current . - - - Gets the request context. - The request context. - - - Creates a with the specified response. - A for the specified response. - The HTTP response message. - - - Creates a with the specified status code. - A with the specified status code. - The HTTP status code for the response message - - - Creates an (401 Unauthorized) with the specified values. - An with the specified values. - The WWW-Authenticate challenges. - - - Creates an (401 Unauthorized) with the specified values. - An with the specified values. - The WWW-Authenticate challenges. - - - Gets an instance of a , which is used to generate URLs to other APIs. - A , which is used to generate URLs to other APIs. - - - Returns the current principal associated with this request. - The current principal associated with this request. - - - Validates the given entity and adds the validation errors to the model state under the empty prefix, if any. - The entity being validated. - The type of the entity to be validated. - - - Validates the given entity and adds the validation errors to the model state, if any. - The entity being validated. - The key prefix under which the model state errors would be added in the model state. - The type of the entity to be validated. - - - Specifies the authorization filter that verifies the request's . - - - Initializes a new instance of the class. - - - Processes requests that fail authorization. - The context. - - - Indicates whether the specified control is authorized. - true if the control is authorized; otherwise, false. - The context. - - - Calls when an action is being authorized. - The context. - The context parameter is null. - - - Gets or sets the authorized roles. - The roles string. - - - Gets a unique identifier for this attribute. - A unique identifier for this attribute. - - - Gets or sets the authorized users. - The users string. - - - An attribute that specifies that an action parameter comes only from the entity body of the incoming . - - - Initializes a new instance of the class. - - - Gets a parameter binding. - The parameter binding. - The parameter description. - - - An attribute that specifies that an action parameter comes from the URI of the incoming . - - - Initializes a new instance of the class. - - - Gets the value provider factories for the model binder. - A collection of objects. - The configuration. - - - Represents attributes that specifies that HTTP binding should exclude a property. - - - Initializes a new instance of the class. - - - Represents the required attribute for http binding. - - - Initializes a new instance of the class. - - - Represents a configuration of instances. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with an HTTP route collection. - The HTTP route collection to associate with this instance. - - - Gets or sets the dependency resolver associated with thisinstance. - The dependency resolver. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Invoke the Intializer hook. It is considered immutable from this point forward. It's safe to call this multiple times. - - - Gets the list of filters that apply to all requests served using this instance. - The list of filters. - - - Gets the media-type formatters for this instance. - A collection of objects. - - - Gets or sets a value indicating whether error details should be included in error messages. - The value that indicates that error detail policy. - - - Gets or sets the action that will perform final initialization of the instance before it is used to process requests. - The action that will perform final initialization of the instance. - - - Gets an ordered list of instances to be invoked as an travels up the stack and an travels down in stack in return. - The message handler collection. - - - Gets the collection of rules for how parameters should be bound. - A collection of functions that can produce a parameter binding for a given parameter. - - - Gets the properties associated with this instance. - The that contains the properties. - - - Gets the associated with this instance. - The . - - - Gets the container of default services associated with this instance. - The that contains the default services for this instance. - - - Gets the root virtual path. - The root virtual path. - - - Contains extension methods for the class. - - - - - Maps the attribute-defined routes for the application. - The server configuration. - The to use for discovering and building routes. - - - Maps the attribute-defined routes for the application. - The server configuration. - The constraint resolver. - - - Maps the attribute-defined routes for the application. - The server configuration. - The to use for resolving inline constraints. - The to use for discovering and building routes. - - - - Specifies that an action supports the DELETE HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Defines a serializable container for storing error information. This information is stored as key/value pairs. The dictionary keys to look up standard error information are available on the type. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class for . - The exception to use for error information. - true to include the exception information in the error; false otherwise - - - Initializes a new instance of the class containing error message . - The error message to associate with this instance. - - - Initializes a new instance of the class for . - The invalid model state to use for error information. - true to include exception messages in the error; false otherwise - - - Gets or sets the message of the if available. - The message of the if available. - - - Gets or sets the type of the if available. - The type of the if available. - - - Gets a particular property value from this error instance. - A particular property value from this error instance. - The name of the error property. - The type of the property. - - - Gets the inner associated with this instance if available. - The inner associated with this instance if available. - - - Gets or sets the high-level, user-visible message explaining the cause of the error. Information carried in this field should be considered public in that it will go over the wire regardless of the . As a result care should be taken not to disclose sensitive information about the server or the application. - The high-level, user-visible message explaining the cause of the error. Information carried in this field should be considered public in that it will go over the wire regardless of the . As a result care should be taken not to disclose sensitive information about the server or the application. - - - Gets or sets a detailed description of the error intended for the developer to understand exactly what failed. - A detailed description of the error intended for the developer to understand exactly what failed. - - - Gets the containing information about the errors that occurred during model binding. - The containing information about the errors that occurred during model binding. - - - Gets or sets the stack trace information associated with this instance if available. - The stack trace information associated with this instance if available. - - - This method is reserved and should not be used. - Always returns null. - - - Generates an instance from its XML representation. - The XmlReader stream from which the object is deserialized. - - - Converts an instance into its XML representation. - The XmlWriter stream to which the object is serialized. - - - Provides keys to look up error information stored in the dictionary. - - - Provides a key for the ErrorCode. - - - Provides a key for the ExceptionMessage. - - - Provides a key for the ExceptionType. - - - Provides a key for the InnerException. - - - Provides a key for the MessageDetail. - - - Provides a key for the Message. - - - Provides a key for the MessageLanguage. - - - Provides a key for the ModelState. - - - Provides a key for the StackTrace. - - - Specifies that an action supports the GET HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Specifies that an action supports the HEAD HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP OPTIONS requests. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Specifies that an action supports the PATCH HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Specifies that an action supports the POST HTTP method. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests. - - - Initializes a new instance of the class. - - - Gets the http methods that correspond to this attribute. - The http methods that correspond to this attribute. - - - An exception that allows for a given to be returned to the client. - - - Initializes a new instance of the class. - The HTTP response to return to the client. - - - Initializes a new instance of the class. - The status code of the response. - - - Gets the HTTP response to return to the client. - The that represents the HTTP response. - - - A collection of instances. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The virtual path root. - - - Adds an instance to the collection. - The name of the route. - The instance to add to the collection. - - - Removes all items from the collection. - - - Determines whether the collection contains a specific . - true if the is found in the collection; otherwise, false. - The object to locate in the collection. - - - Determines whether the collection contains an element with the specified key. - true if the collection contains an element with the key; otherwise, false. - The key to locate in the collection. - - - Copies the instances of the collection to an array, starting at a particular array index. - The array that is the destination of the elements copied from the collection. - The zero-based index in at which copying begins. - - - Copies the route names and instances of the collection to an array, starting at a particular array index. - The array that is the destination of the elements copied from the collection. - The zero-based index in at which copying begins. - - - Gets the number of items in the collection. - The number of items in the collection. - - - Creates an instance. - The new instance. - The route template. - An object that contains the default route parameters. - An object that contains the route constraints. - The route data tokens. - - - Creates an instance. - The new instance. - The route template. - An object that contains the default route parameters. - An object that contains the route constraints. - The route data tokens. - The message handler for the route. - - - Creates an instance. - The new instance. - The route template. - An object that contains the default route parameters. - An object that contains the route constraints. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Returns an enumerator that iterates through the collection. - An that can be used to iterate through the collection. - - - Gets the route data for a specified HTTP request. - An instance that represents the route data. - The HTTP request. - - - Gets a virtual path. - An instance that represents the virtual path. - The HTTP request. - The route name. - The route values. - - - Inserts an instance into the collection. - The zero-based index at which should be inserted. - The route name. - The to insert. The value cannot be null. - - - Gets a value indicating whether the collection is read-only. - true if the collection is read-only; otherwise, false. - - - Gets or sets the element at the specified index. - The at the specified index. - The index. - - - Gets or sets the element with the specified route name. - The at the specified index. - The route name. - - - Called internally to get the enumerator for the collection. - An that can be used to iterate through the collection. - - - Removes an instance from the collection. - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the collection. - The name of the route to remove. - - - Adds an item to the collection. - The object to add to the collection. - - - Removes the first occurrence of a specific object from the collection. - true if was successfully removed from the collection; otherwise, false. This method also returns false if is not found in the original collection. - The object to remove from the collection. - - - Returns an enumerator that iterates through the collection. - An object that can be used to iterate through the collection. - - - Gets the with the specified route name. - true if the collection contains an element with the specified name; otherwise, false. - The route name. - When this method returns, contains the instance, if the route name is found; otherwise, null. This parameter is passed uninitialized. - - - Validates that a constraint is valid for an created by a call to the method. - The route template. - The constraint name. - The constraint object. - - - Gets the virtual path root. - The virtual path root. - - - Extension methods for - - - Ignores the specified route. - Returns . - A collection of routes for the application. - The name of the route to ignore. - The route template for the route. - - - Ignores the specified route. - Returns . - A collection of routes for the application. - The name of the route to ignore. - The route template for the route. - A set of expressions that specify values for the route template. - - - Maps the specified route for handling HTTP batch requests. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - The for handling batch requests. - - - Maps the specified route template. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - - - Maps the specified route template and sets default route values. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - - - Maps the specified route template and sets default route values and constraints. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for . - - - Maps the specified route template and sets default route values, constraints, and end-point message handler. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for . - The handler to which the request will be dispatched. - - - Defines an implementation of an which dispatches an incoming and creates an as a result. - - - Initializes a new instance of the class, using the default configuration and dispatcher. - - - Initializes a new instance of the class with a specified dispatcher. - The HTTP dispatcher that will handle incoming requests. - - - Initializes a new instance of the class with a specified configuration. - The used to configure this instance. - - - Initializes a new instance of the class with a specified configuration and dispatcher. - The used to configure this instance. - The HTTP dispatcher that will handle incoming requests. - - - Gets the used to configure this instance. - The used to configure this instance. - - - Gets the HTTP dispatcher that handles incoming requests. - The HTTP dispatcher that handles incoming requests. - - - Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Prepares the server for operation. - - - Dispatches an incoming . - A task representing the asynchronous operation. - The request to dispatch. - The token to monitor for cancellation requests. - - - Defines a command that asynchronously creates an . - - - Creates an asynchronously. - A task that, when completed, contains the . - The token to monitor for cancellation requests. - - - Specifies whether error details, such as exception messages and stack traces, should be included in error messages. - - - Always include error details. - - - Use the default behavior for the host environment. For ASP.NET hosting, use the value from the customErrors element in the Web.config file. For self-hosting, use the value . - - - Only include error details when responding to a local request. - - - Never include error details. - - - Represents an attribute that is used to indicate that a controller method is not an action method. - - - Initializes a new instance of the class. - - - Represents a filter attribute that overrides action filters defined at a higher level. - - - Initializes a new instance of the class. - - - Gets a value indicating whether the action filter allows multiple attribute. - true if the action filter allows multiple attribute; otherwise, false. - - - Gets the type of filters to override. - The type of filters to override. - - - Represents a filter attribute that overrides authentication filters defined at a higher level. - - - - - - Represents a filter attribute that overrides authorization filters defined at a higher level. - - - Initializes a new instance of the class. - - - Gets or sets a Boolean value indicating whether more than one instance of the indicated attribute can be specified for a single program element. - true if more than one instance is allowed to be specified; otherwise, false. - - - Gets the type to filters override attributes. - The type to filters override attributes. - - - Represents a filter attribute that overrides exception filters defined at a higher level. - - - - - - Attribute on a parameter or type that produces a . If the attribute is on a type-declaration, then it's as if that attribute is present on all action parameters of that type. - - - Initializes a new instance of the class. - - - Gets the parameter binding. - The parameter binding. - The parameter description. - - - Place on an action to expose it directly via a route. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The route template describing the URI pattern to match against. - - - Returns . - - - Returns . - - - - Returns . - - - The class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a ). It can for example be used to indicate that a route parameter is optional. - - - An optional parameter. - - - Returns a that represents this instance. - A that represents this instance. - - - Annotates a controller with a route prefix that applies to all actions within the controller. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The route prefix for the controller. - - - Gets the route prefix. - - - Provides type-safe accessors for services obtained from a object. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Returns the registered unhandled exception handler, if any. - The registered unhandled exception hander, if present; otherwise, null. - The services container. - - - Returns the collection of registered unhandled exception loggers. - The collection of registered unhandled exception loggers. - The services container. - - - Gets the collection. - Returns a collection of objects. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance, or null if no instance was registered. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the collection. - Returns a collection of objects. - The services container. - - - Gets the service. - Returns an instance. - The services container. - - - Gets the collection. - Returns a collection ofobjects. - The services container. - - - Gets the service. - Returns aninstance. - The services container. - - - Gets the service. - Returns aninstance. - The services container. - - - Gets the collection. - Returns a collection of objects. - The services container. - - - Represents an containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace. - - - Initializes a new instance of the class. - The containing zero or one entities. - - - Creates a from an . A helper method to instantiate a object without having to explicitly specify the type . - The created . - The containing zero or one entities. - The type of the data in the data source. - - - The containing zero or one entities. - - - Represents an containing zero or one entities. Use together with an [EnableQuery] from the System.Web.Http.OData or System.Web.OData namespace. - The type of the data in the data source. - - - Initializes a new instance of the class. - The containing zero or one entities. - - - The containing zero or one entities. - - - Defines the order of execution for batch requests. - - - Executes the batch requests non-sequentially. - - - Executes the batch requests sequentially. - - - Provides extension methods for the class. - - - Copies the properties from another . - The sub-request. - The batch request that contains the properties to copy. - - - Represents the default implementation of that encodes the HTTP request/response messages as MIME multipart. - - - Initializes a new instance of the class. - The for handling the individual batch requests. - - - Creates the batch response message. - The batch response message. - The responses for the batch requests. - The original request containing all the batch requests. - The cancellation token. - - - Executes the batch request messages. - A collection of for the batch requests. - The collection of batch request messages. - The cancellation token. - - - Gets or sets the execution order for the batch requests. The default execution order is sequential. - The execution order for the batch requests. The default execution order is sequential. - - - Converts the incoming batch request into a collection of request messages. - A collection of . - The request containing the batch request messages. - The cancellation token. - - - Processes the batch requests. - The result of the operation. - The batch request. - The cancellation token. - - - Gets the supported content types for the batch request. - The supported content types for the batch request. - - - Validates the incoming request that contains the batch request messages. - The request containing the batch request messages. - - - Defines the abstraction for handling HTTP batch requests. - - - Initializes a new instance of the class. - The for handling the individual batch requests. - - - Gets the invoker to send the batch requests to the . - The invoker to send the batch requests to the . - - - Processes the incoming batch request as a single . - The batch response. - The batch request. - The cancellation token. - - - Sends the batch handler asynchronously. - The result of the operation. - the send request. - The cancelation token. - - - Invokes the action methods of a controller. - - - Initializes a new instance of the class. - - - Asynchronously invokes the specified action by using the specified controller context. - The invoked action. - The controller context. - The cancellation token. - - - Represents a reflection based action selector. - - - Initializes a new instance of the class. - - - Gets the action mappings for the . - The action mappings. - The information that describes a controller. - - - Selects an action for the . - The selected action. - The controller context. - - - Represents a container for services that can be specific to a controller. This shadows the services from its parent . A controller can either set a service here, or fall through to the more global set of services. - - - Initializes a new instance of the class. - The parent services container. - - - Removes a single-instance service from the default services. - The type of service. - - - Gets a service of the specified type. - The first instance of the service, or null if the service is not found. - The type of service. - - - Gets the list of service objects for a given service type, and validates the service type. - The list of service objects of the specified type. - The service type. - - - Gets the list of service objects for a given service type. - The list of service objects of the specified type, or an empty list if the service is not found. - The type of service. - - - Queries whether a service type is single-instance. - true if the service type has at most one instance, or false if the service type supports multiple instances. - The service type. - - - Replaces a single-instance service object. - The service type. - The service object that replaces the previous instance. - - - Describes *how* the binding will happen and does not actually bind. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The back pointer to the action this binding is for. - The synchronous bindings for each parameter. - - - Gets or sets the back pointer to the action this binding is for. - The back pointer to the action this binding is for. - - - Executes asynchronously the binding for the given request context. - Task that is signaled when the binding is complete. - The action context for the binding. This contains the parameter dictionary that will get populated. - The cancellation token for cancelling the binding operation. Or a binder can also bind a parameter to this. - - - Gets or sets the synchronous bindings for each parameter. - The synchronous bindings for each parameter. - - - Contains information for the executing action. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The controller context. - The action descriptor. - - - Gets a list of action arguments. - A list of action arguments. - - - Gets or sets the action descriptor for the action context. - The action descriptor. - - - Gets or sets the controller context. - The controller context. - - - Gets the model state dictionary for the context. - The model state dictionary. - - - Gets the request message for the action context. - The request message for the action context. - - - Gets the current request context. - The current request context. - - - Gets or sets the response message for the action context. - The response message for the action context. - - - Contains extension methods for . - - - - - - - - - - - Provides information about the action methods. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with specified information that describes the controller of the action.. - The information that describes the controller of the action. - - - Gets or sets the binding that describes the action. - The binding that describes the action. - - - Gets the name of the action. - The name of the action. - - - Gets or sets the action configuration. - The action configuration. - - - Gets the information that describes the controller of the action. - The information that describes the controller of the action. - - - Executes the described action and returns a that once completed will contain the return value of the action. - A that once completed will contain the return value of the action. - The controller context. - A list of arguments. - The cancellation token. - - - Returns the custom attributes associated with the action descriptor. - The custom attributes associated with the action descriptor. - The action descriptor. - - - Gets the custom attributes for the action. - The collection of custom attributes applied to this action. - true to search this action's inheritance chain to find the attributes; otherwise, false. - The type of attribute to search for. - - - Retrieves the filters for the given configuration and action. - The filters for the given configuration and action. - - - Retrieves the filters for the action descriptor. - The filters for the action descriptor. - - - Retrieves the parameters for the action descriptor. - The parameters for the action descriptor. - - - Gets the properties associated with this instance. - The properties associated with this instance. - - - Gets the converter for correctly transforming the result of calling ExecuteAsync(HttpControllerContext, IDictionaryString, Object)" into an instance of . - The action result converter. - - - Gets the return type of the descriptor. - The return type of the descriptor. - - - Gets the collection of supported HTTP methods for the descriptor. - The collection of supported HTTP methods for the descriptor. - - - Contains information for a single HTTP operation. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The request context. - The HTTP request. - The controller descriptor. - The controller. - - - Initializes a new instance of the class. - The configuration. - The route data. - The request. - - - Gets or sets the configuration. - The configuration. - - - Gets or sets the HTTP controller. - The HTTP controller. - - - Gets or sets the controller descriptor. - The controller descriptor. - - - Gets or sets the request. - The request. - - - Gets or sets the request context. - - - Gets or sets the route data. - The route data. - - - Represents information that describes the HTTP controller. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The configuration. - The controller name. - The controller type. - - - Gets or sets the configurations associated with the controller. - The configurations associated with the controller. - - - Gets or sets the name of the controller. - The name of the controller. - - - Gets or sets the type of the controller. - The type of the controller. - - - Creates a controller instance for the given . - The created controller instance. - The request message. - - - Retrieves a collection of custom attributes of the controller. - A collection of custom attributes. - The type of the object. - - - Returns a collection of attributes that can be assigned to <typeparamref name="T" /> for this descriptor's controller. - A collection of attributes associated with this controller. - true to search this controller's inheritance chain to find the attributes; otherwise, false. - Used to filter the collection of attributes. Use a value of to retrieve all attributes. - - - Returns a collection of filters associated with the controller. - A collection of filters associated with the controller. - - - Gets the properties associated with this instance. - The properties associated with this instance. - - - Contains settings for an HTTP controller. - - - Initializes a new instance of the class. - A configuration object that is used to initialize the instance. - - - Gets the collection of instances for the controller. - The collection of instances. - - - Gets the collection of parameter bindingfunctions for for the controller. - The collection of parameter binding functions. - - - Gets the collection of service instances for the controller. - The collection of service instances. - - - Describes how a parameter is bound. The binding should be static (based purely on the descriptor) and can be shared across requests. - - - Initializes a new instance of the class. - An that describes the parameters. - - - Gets the that was used to initialize this instance. - The instance. - - - If the binding is invalid, gets an error message that describes the binding error. - An error message. If the binding was successful, the value is null. - - - Asynchronously executes the binding for the given request. - A task object representing the asynchronous operation. - Metadata provider to use for validation. - The action context for the binding. The action context contains the parameter dictionary that will get populated with the parameter. - Cancellation token for cancelling the binding operation. - - - Gets the parameter value from argument dictionary of the action context. - The value for this parameter in the given action context, or null if the parameter has not yet been set. - The action context. - - - Gets a value that indicates whether the binding was successful. - true if the binding was successful; otherwise, false. - - - Sets the result of this parameter binding in the argument dictionary of the action context. - The action context. - The parameter value. - - - Returns a value indicating whether this instance will read the entity body of the HTTP message. - true if this will read the entity body; otherwise, false. - - - Represents the HTTP parameter descriptor. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The action descriptor. - - - Gets or sets the action descriptor. - The action descriptor. - - - Gets or sets the for the . - The for the . - - - Gets the default value of the parameter. - The default value of the parameter. - - - Retrieves a collection of the custom attributes from the parameter. - A collection of the custom attributes from the parameter. - The type of the custom attributes. - - - Gets a value that indicates whether the parameter is optional. - true if the parameter is optional; otherwise, false. - - - Gets or sets the parameter binding attribute. - The parameter binding attribute. - - - Gets the name of the parameter. - The name of the parameter. - - - Gets the type of the parameter. - The type of the parameter. - - - Gets the prefix of this parameter. - The prefix of this parameter. - - - Gets the properties of this parameter. - The properties of this parameter. - - - Represents the context associated with a request. - - - Initializes a new instance of the class. - - - Gets or sets the client certificate. - Returns . - - - Gets or sets the configuration. - Returns . - - - Gets or sets a value indicating whether error details, such as exception messages and stack traces, should be included in the response for this request. - Returns . - - - Gets or sets a value indicating whether the request originates from a local address. - Returns . - - - .Gets or sets the principal - Returns . - - - Gets or sets the route data. - Returns . - - - Gets or sets the factory used to generate URLs to other APIs. - Returns . - - - Gets or sets the virtual path root. - Returns . - - - - - A contract for a conversion routine that can take the result of an action returned from <see cref="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})" /> and convert it to an instance of . - - - Converts the specified object to another object. - The converted object. - The controller context. - The action result. - - - Defines the method for retrieval of action binding associated with parameter value. - - - Gets the . - A object. - The action descriptor. - - - If a controller is decorated with an attribute with this interface, then it gets invoked to initialize the controller settings. - - - Callback invoked to set per-controller overrides for this controllerDescriptor. - The controller settings to initialize. - The controller descriptor. Note that the can be associated with the derived controller type given that is inherited. - - - Contains method that is used to invoke HTTP operation. - - - Executes asynchronously the HTTP operation. - The newly started task. - The execution context. - The cancellation token assigned for the HTTP operation. - - - Contains the logic for selecting an action method. - - - Returns a map, keyed by action string, of all that the selector can select. This is primarily called by to discover all the possible actions in the controller. - A map of that the selector can select, or null if the selector does not have a well-defined mapping of . - The controller descriptor. - - - Selects the action for the controller. - The action for the controller. - The context of the controller. - - - Represents an HTTP controller. - - - Executes the controller for synchronization. - The controller. - The current context for a test controller. - The notification that cancels the operation. - - - Defines extension methods for . - - - Binds parameter that results as an error. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The error message that describes the reason for fail bind. - - - Bind the parameter as if it had the given attribute on the declaration. - The HTTP parameter binding object. - The parameter to provide binding for. - The attribute that describes the binding. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. - The body model validator used to validate the parameter. - - - Binds parameter by parsing the HTTP body content. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The value provider factories which provide query string parameter data. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The model binder used to assemble the parameter into an object. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The model binder used to assemble the parameter into an object. - The value provider factories which provide query string parameter data. - - - Binds parameter by parsing the query string. - The HTTP parameter binding object. - The parameter descriptor that describes the parameter to bind. - The value provider factories which provide query string parameter data. - - - Represents a reflected synchronous or asynchronous action method. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with the specified descriptor and method details.. - The controller descriptor. - The action-method information. - - - Gets the name of the action. - The name of the action. - - - - Executes the described action and returns a that once completed will contain the return value of the action. - A [T:System.Threading.Tasks.Task`1"] that once completed will contain the return value of the action. - The context. - The arguments. - A cancellation token to cancel the action. - - - Returns an array of custom attributes defined for this member, identified by type. - An array of custom attributes or an empty array if no custom attributes exist. - true to search this action's inheritance chain to find the attributes; otherwise, false. - The type of the custom attributes. - - - Retrieves information about action filters. - The filter information. - - - - Retrieves the parameters of the action method. - The parameters of the action method. - - - Gets or sets the action-method information. - The action-method information. - - - Gets the return type of this method. - The return type of this method. - - - Gets or sets the supported http methods. - The supported http methods. - - - Represents the reflected HTTP parameter descriptor. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The action descriptor. - The parameter information. - - - Gets the default value for the parameter. - The default value for the parameter. - - - Retrieves a collection of the custom attributes from the parameter. - A collection of the custom attributes from the parameter. - The type of the custom attributes. - - - Gets a value that indicates whether the parameter is optional. - true if the parameter is optional; otherwise false. - - - Gets or sets the parameter information. - The parameter information. - - - Gets the name of the parameter. - The name of the parameter. - - - Gets the type of the parameter. - The type of the parameter. - - - Represents a converter for actions with a return type of . - - - Initializes a new instance of the class. - - - Converts a object to another object. - The converted object. - The controller context. - The action result. - - - An abstract class that provides a container for services used by ASP.NET Web API. - - - Initializes a new instance of the class. - - - Adds a service to the end of services list for the given service type. - The service type. - The service instance. - - - Adds the services of the specified collection to the end of the services list for the given service type. - The service type. - The services to add. - - - Removes all the service instances of the given service type. - The service type to clear from the services list. - - - Removes all instances of a multi-instance service type. - The service type to remove. - - - Removes a single-instance service type. - The service type to remove. - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - Searches for a service that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence. - The zero-based index of the first occurrence, if found; otherwise, -1. - The service type. - The delegate that defines the conditions of the element to search for. - - - Gets a service instance of a specified type. - The service type. - - - Gets a mutable list of service instances of a specified type. - A mutable list of service instances. - The service type. - - - Gets a collection of service instanes of a specified type. - A collection of service instances. - The service type. - - - Inserts a service into the collection at the specified index. - The service type. - The zero-based index at which the service should be inserted. If is passed, ensures the element is added to the end. - The service to insert. - - - Inserts the elements of the collection into the service list at the specified index. - The service type. - The zero-based index at which the new elements should be inserted. If is passed, ensures the elements are added to the end. - The collection of services to insert. - - - Determine whether the service type should be fetched with GetService or GetServices. - true iff the service is singular. - type of service to query - - - Removes the first occurrence of the given service from the service list for the given service type. - true if the item is successfully removed; otherwise, false. - The service type. - The service instance to remove. - - - Removes all the elements that match the conditions defined by the specified predicate. - The number of elements removed from the list. - The service type. - The delegate that defines the conditions of the elements to remove. - - - Removes the service at the specified index. - The service type. - The zero-based index of the service to remove. - - - Replaces all existing services for the given service type with the given service instance. This works for both singular and plural services. - The service type. - The service instance. - - - Replaces all instances of a multi-instance service with a new instance. - The type of service. - The service instance that will replace the current services of this type. - - - Replaces all existing services for the given service type with the given service instances. - The service type. - The service instances. - - - Replaces a single-instance service of a specified type. - The service type. - The service instance. - - - Removes the cached values for a single service type. - The service type. - - - A converter for creating responses from actions that return an arbitrary value. - The declared return type of an action. - - - Initializes a new instance of the class. - - - Converts the result of an action with arbitrary return type to an instance of . - The newly created object. - The action controller context. - The execution result. - - - Represents a converter for creating a response from actions that do not return a value. - - - Initializes a new instance of the class. - - - Converts the created response from actions that do not return a value. - The converted response. - The context of the controller. - The result of the action. - - - Represents a dependency injection container. - - - Starts a resolution scope. - The dependency scope. - - - Represents an interface for the range of the dependencies. - - - Retrieves a service from the scope. - The retrieved service. - The service to be retrieved. - - - Retrieves a collection of services from the scope. - The retrieved collection of services. - The collection of services to be retrieved. - - - Describes an API defined by relative URI path and HTTP method. - - - Initializes a new instance of the class. - - - Gets or sets the action descriptor that will handle the API. - The action descriptor. - - - Gets or sets the documentation of the API. - The documentation. - - - Gets or sets the HTTP method. - The HTTP method. - - - Gets the ID. The ID is unique within . - The ID. - - - Gets the parameter descriptions. - The parameter descriptions. - - - Gets or sets the relative path. - The relative path. - - - Gets or sets the response description. - The response description. - - - Gets or sets the registered route for the API. - The route. - - - Gets the supported request body formatters. - The supported request body formatters. - - - Gets the supported response formatters. - The supported response formatters. - - - Explores the URI space of the service based on routes, controllers and actions available in the system. - - - Initializes a new instance of the class. - The configuration. - - - Gets the API descriptions. The descriptions are initialized on the first access. - - - Gets or sets the documentation provider. The provider will be responsible for documenting the API. - The documentation provider. - - - Gets a collection of HttpMethods supported by the action. Called when initializing the . - A collection of HttpMethods supported by the action. - The route. - The action descriptor. - - - Determines whether the action should be considered for generation. Called when initializing the . - true if the action should be considered for generation, false otherwise. - The action variable value from the route. - The action descriptor. - The route. - - - Determines whether the controller should be considered for generation. Called when initializing the . - true if the controller should be considered for generation, false otherwise. - The controller variable value from the route. - The controller descriptor. - The route. - - - This attribute can be used on the controllers and actions to influence the behavior of . - - - Initializes a new instance of the class. - - - Gets or sets a value indicating whether to exclude the controller or action from the instances generated by . - true if the controller or action should be ignored; otherwise, false. - - - Describes a parameter on the API defined by relative URI path and HTTP method. - - - Initializes a new instance of the class. - - - Gets or sets the documentation. - The documentation. - - - Gets or sets the name. - The name. - - - Gets or sets the parameter descriptor. - The parameter descriptor. - - - Gets or sets the source of the parameter. It may come from the request URI, request body or other places. - The source. - - - Describes where the parameter come from. - - - The parameter come from Body. - - - The parameter come from Uri. - - - The location is unknown. - - - Defines the interface for getting a collection of . - - - Gets the API descriptions. - - - Defines the provider responsible for documenting the service. - - - Gets the documentation based on . - The documentation for the controller. - The action descriptor. - - - - Gets the documentation based on . - The documentation for the controller. - The parameter descriptor. - - - - Describes the API response. - - - Initializes a new instance of the class. - - - Gets or sets the declared response type. - The declared response type. - - - Gets or sets the response documentation. - The response documentation. - - - Gets or sets the actual response type. - The actual response type. - - - Use this to specify the entity type returned by an action when the declared return type is or . The will be read by when generating . - - - Initializes a new instance of the class. - The response type. - - - Gets the response type. - - - Provides an implementation of with no external dependencies. - - - Initializes a new instance of the class. - - - Returns a list of assemblies available for the application. - A <see cref="T:System.Collections.ObjectModel.Collection`1" /> of assemblies. - - - Represents a default implementation of an . A different implementation can be registered via the . We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary. - - - Initializes a new instance of the class. - - - Creates the specified by using the given . - An instance of type . - The request message. - The controller descriptor. - The type of the controller. - - - Represents a default instance for choosing a given a . A different implementation can be registered via the . - - - Initializes a new instance of the class. - The configuration. - - - Specifies the suffix string in the controller name. - - - Returns a map, keyed by controller string, of all that the selector can select. - A map of all that the selector can select, or null if the selector does not have a well-defined mapping of . - - - Gets the name of the controller for the specified . - The name of the controller for the specified . - The HTTP request message. - - - Selects a for the given . - The instance for the given . - The HTTP request message. - - - Provides an implementation of with no external dependencies. - - - Initializes a new instance of the class. - - - Initializes a new instance using a predicate to filter controller types. - The predicate. - - - Returns a list of controllers available for the application. - An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers. - The assemblies resolver. - - - Gets a value whether the resolver type is a controller type predicate. - true if the resolver type is a controller type predicate; otherwise, false. - - - Dispatches an incoming to an implementation for processing. - - - Initializes a new instance of the class with the specified configuration. - The http configuration. - - - Gets the HTTP configuration. - The HTTP configuration. - - - Dispatches an incoming to an . - A representing the ongoing operation. - The request to dispatch - The cancellation token. - - - This class is the default endpoint message handler which examines the of the matched route, and chooses which message handler to call. If is null, then it delegates to . - - - Initializes a new instance of the class, using the provided and as the default handler. - The server configuration. - - - Initializes a new instance of the class, using the provided and . - The server configuration. - The default handler to use when the has no . - - - Sends an HTTP request as an asynchronous operation. - The task object representing the asynchronous operation. - The HTTP request message to send. - The cancellation token to cancel operation. - - - Provides an abstraction for managing the assemblies of an application. A different implementation can be registered via the . - - - Returns a list of assemblies available for the application. - An <see cref="T:System.Collections.Generic.ICollection`1" /> of assemblies. - - - Defines the methods that are required for an . - - - Creates an object. - An object. - The message request. - The HTTP controller descriptor. - The type of the controller. - - - Defines the methods that are required for an factory. - - - Returns a map, keyed by controller string, of all that the selector can select. This is primarily called by to discover all the possible controllers in the system. - A map of all that the selector can select, or null if the selector does not have a well-defined mapping of . - - - Selects a for the given . - An instance. - The request message. - - - Provides an abstraction for managing the controller types of an application. A different implementation can be registered via the DependencyResolver. - - - Returns a list of controllers available for the application. - An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers. - The resolver for failed assemblies. - - - Provides the catch blocks used within this assembly. - - - Gets the catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpBatchHandler.SendAsync. - The catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpBatchHandler.SendAsync. - - - Gets the catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpControllerDispatcher.SendAsync. - The catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpControllerDispatcher.SendAsync. - - - Gets the catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpServer.SendAsync. - The catch block in System.Web.Http.ExceptionHandling.ExceptionCatchBlocks.HttpServer.SendAsync. - - - Gets the catch block in System.Web.Http.ApiController.ExecuteAsync when using . - The catch block in System.Web.Http.ApiController.ExecuteAsync when using . - - - Represents an exception and the contextual data associated with it when it was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - The request being processed when the exception was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - The request being processed when the exception was caught. - The repsonse being returned when the exception was caught. - - - Initializes a new instance of the class. - The caught exception. - The catch block where the exception was caught. - The action context in which the exception occurred. - - - Gets the action context in which the exception occurred, if available. - The action context in which the exception occurred, if available. - - - Gets the catch block in which the exception was caught. - The catch block in which the exception was caught. - - - Gets the controller context in which the exception occurred, if available. - The controller context in which the exception occurred, if available. - - - Gets the caught exception. - The caught exception. - - - Gets the request being processed when the exception was caught. - The request being processed when the exception was caught. - - - Gets the request context in which the exception occurred. - The request context in which the exception occurred. - - - Gets the response being sent when the exception was caught. - The response being sent when the exception was caught. - - - Represents the catch block location for an exception context. - - - Initializes a new instance of the class. - The label for the catch block where the exception was caught. - A value indicating whether the catch block where the exception was caught is the last one before the host. - A value indicating whether exceptions in the catch block can be handled after they are logged. - - - Gets a value indicating whether exceptions in the catch block can be handled after they are logged. - A value indicating whether exceptions in the catch block can be handled after they are logged. - - - Gets a value indicating whether the catch block where the exception was caught is the last one before the host. - A value indicating whether the catch block where the exception was caught is the last one before the host. - - - Gets a label for the catch block in which the exception was caught. - A label for the catch block in which the exception was caught. - - - Returns . - - - Represents an unhandled exception handler. - - - Initializes a new instance of the class. - - - When overridden in a derived class, handles the exception synchronously. - The exception handler context. - - - When overridden in a derived class, handles the exception asynchronously. - A task representing the asynchronous exception handling operation. - The exception handler context. - The token to monitor for cancellation requests. - - - Determines whether the exception should be handled. - true if the exception should be handled; otherwise, false. - The exception handler context. - - - Returns . - - - Represents the context within which unhandled exception handling occurs. - - - Initializes a new instance of the class. - The exception context. - - - Gets the catch block in which the exception was caught. - The catch block in which the exception was caught. - - - Gets the caught exception. - The caught exception. - - - Gets the exception context providing the exception and related data. - The exception context providing the exception and related data. - - - Gets the request being processed when the exception was caught. - The request being processed when the exception was caught. - - - Gets the request context in which the exception occurred. - The request context in which the exception occurred. - - - Gets or sets the result providing the response message when the exception is handled. - The result providing the response message when the exception is handled. - - - Provides extension methods for . - - - Calls an exception handler and determines the response handling it, if any. - A task that, when completed, contains the response message to return when the exception is handled, or null when the exception remains unhandled. - The unhandled exception handler. - The exception context. - The token to monitor for cancellation requests. - - - Represents an unhandled exception logger. - - - Initializes a new instance of the class. - - - When overridden in a derived class, logs the exception synchronously. - The exception logger context. - - - When overridden in a derived class, logs the exception asynchronously. - A task representing the asynchronous exception logging operation. - The exception logger context. - The token to monitor for cancellation requests. - - - Determines whether the exception should be logged. - true if the exception should be logged; otherwise, false. - The exception logger context. - - - Returns . - - - Represents the context within which unhandled exception logging occurs. - - - Initializes a new instance of the class. - The exception context. - - - Gets or sets a value indicating whether the exception can subsequently be handled by an to produce a new response message. - A value indicating whether the exception can subsequently be handled by an to produce a new response message. - - - Gets the catch block in which the exception was caught. - The catch block in which the exception was caught. - - - Gets the caught exception. - The caught exception. - - - Gets the exception context providing the exception and related data. - The exception context providing the exception and related data. - - - Gets the request being processed when the exception was caught. - The request being processed when the exception was caught. - - - Gets the request context in which the exception occurred. - The request context in which the exception occurred. - - - Provides extension methods for . - - - Calls an exception logger. - A task representing the asynchronous exception logging operation. - The unhandled exception logger. - The exception context. - The token to monitor for cancellation requests. - - - Creates exception services to call logging and handling from catch blocks. - - - Gets an exception handler that calls the registered handler service, if any, and ensures exceptions do not accidentally propagate to the host. - An exception handler that calls any registered handler and ensures exceptions do not accidentally propagate to the host. - The services container. - - - Gets an exception handler that calls the registered handler service, if any, and ensures exceptions do not accidentally propagate to the host. - An exception handler that calls any registered handler and ensures exceptions do not accidentally propagate to the host. - The configuration. - - - Gets an exception logger that calls all registered logger services. - A composite logger. - The services container. - - - Gets an exception logger that calls all registered logger services. - A composite logger. - The configuration. - - - Defines an unhandled exception handler. - - - Process an unhandled exception, either allowing it to propagate or handling it by providing a response message to return instead. - A task representing the asynchronous exception handling operation. - The exception handler context. - The token to monitor for cancellation requests. - - - Defines an unhandled exception logger. - - - Logs an unhandled exception. - A task representing the asynchronous exception logging operation. - The exception logger context. - The token to monitor for cancellation requests. - - - Provides information about an action method, such as its name, controller, parameters, attributes, and filters. - - - Initializes a new instance of the class. - - - Returns the filters that are associated with this action method. - The filters that are associated with this action method. - The configuration. - The action descriptor. - - - Represents the base class for all action-filter attributes. - - - Initializes a new instance of the class. - - - Occurs after the action method is invoked. - The action executed context. - - - - Occurs before the action method is invoked. - The action context. - - - - Executes the filter action asynchronously. - The newly created task for this operation. - The action context. - The cancellation token assigned for this task. - The delegate function to continue after the action method is invoked. - - - Provides details for authorization filter. - - - Initializes a new instance of the class. - - - Calls when a process requests authorization. - The action context, which encapsulates information for using . - - - - Executes the authorization filter during synchronization. - The authorization filter during synchronization. - The action context, which encapsulates information for using . - The cancellation token that cancels the operation. - A continuation of the operation. - - - Represents the configuration filter provider. - - - Initializes a new instance of the class. - - - Returns the filters that are associated with this configuration method. - The filters that are associated with this configuration method. - The configuration. - The action descriptor. - - - Represents the attributes for the exception filter. - - - Initializes a new instance of the class. - - - Raises the exception event. - The context for the action. - - - - Asynchronously executes the exception filter. - The result of the execution. - The context for the action. - The cancellation context. - - - Represents the base class for action-filter attributes. - - - Initializes a new instance of the class. - - - Gets a value that indicates whether multiple filters are allowed. - true if multiple filters are allowed; otherwise, false. - - - Provides information about the available action filters. - - - Initializes a new instance of the class. - The instance of this class. - The scope of this class. - - - Gets or sets an instance of the . - A . - - - Gets or sets the scope . - The scope of the FilterInfo. - - - Defines values that specify the order in which filters run within the same filter type and filter order. - - - Specifies an order after Controller. - - - Specifies an order before Action and after Global. - - - Specifies an action before Controller. - - - Represents the action of the HTTP executed context. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The action context. - The exception. - - - Gets or sets the HTTP action context. - The HTTP action context. - - - Gets or sets the exception that was raised during the execution. - The exception that was raised during the execution. - - - Gets the object for the context. - The object for the context. - - - Gets or sets the for the context. - The for the context. - - - Represents an authentication challenge context containing information for executing an authentication challenge. - - - Initializes a new instance of the class. - The action context. - The current action result. - - - Gets the action context. - - - Gets the request message. - - - Gets or sets the action result to execute. - - - Represents an authentication context containing information for performing authentication. - - - Initializes a new instance of the class. - The action context. - The current principal. - - - Gets the action context. - The action context. - - - Gets or sets an action result that will produce an error response (if authentication failed; otherwise, null). - An action result that will produce an error response. - - - Gets or sets the authenticated principal. - The authenticated principal. - - - Gets the request message. - The request message. - - - Represents a collection of HTTP filters. - - - Initializes a new instance of the class. - - - Adds an item at the end of the collection. - The item to add to the collection. - - - - Removes all item in the collection. - - - Determines whether the collection contains the specified item. - true if the collection contains the specified item; otherwise, false. - The item to check. - - - Gets the number of elements in the collection. - The number of elements in the collection. - - - Gets an enumerator that iterates through the collection. - An enumerator object that can be used to iterate through the collection. - - - Removes the specified item from the collection. - The item to remove in the collection. - - - Gets an enumerator that iterates through the collection. - An enumerator object that can be used to iterate through the collection. - - - Defines the methods that are used in an action filter. - - - Executes the filter action asynchronously. - The newly created task for this operation. - The action context. - The cancellation token assigned for this task. - The delegate function to continue after the action method is invoked. - - - Defines a filter that performs authentication. - - - Authenticates the request. - A Task that will perform authentication. - The authentication context. - The token to monitor for cancellation requests. - - - - Defines the methods that are required for an authorization filter. - - - Executes the authorization filter to synchronize. - The authorization filter to synchronize. - The action context. - The cancellation token associated with the filter. - The continuation. - - - Defines the methods that are required for an exception filter. - - - Executes an asynchronous exception filter. - An asynchronous exception filter. - The action executed context. - The cancellation token. - - - Defines the methods that are used in a filter. - - - Gets or sets a value indicating whether more than one instance of the indicated attribute can be specified for a single program element. - true if more than one instance is allowed to be specified; otherwise, false. The default is false. - - - Provides filter information. - - - Returns an enumeration of filters. - An enumeration of filters. - The HTTP configuration. - The action descriptor. - - - - - Provides common keys for properties stored in the - - - Provides a key for the client certificate for this request. - - - Provides a key for the associated with this request. - - - Provides a key for the collection of resources that should be disposed when a request is disposed. - - - Provides a key for the associated with this request. - - - Provides a key for the associated with this request. - - - Provides a key for the associated with this request. - - - Provides a key that indicates whether error details are to be included in the response for this HTTP request. - - - Provides a key that indicates whether the request is a batch request. - - - Provides a key that indicates whether the request originates from a local address. - - - Provides a key that indicates whether the request failed to match a route. - - - Provides a key for the for this request. - - - Provides a key for the stored in . This is the correlation ID for that request. - - - Provides a key for the parsed query string stored in . - - - Provides a key for a delegate which can retrieve the client certificate for this request. - - - Provides a key for the current stored in Properties(). If Current() is null then no context is stored. - - - Interface for controlling the use of buffering requests and responses in the host. If a host provides support for buffering requests and/or responses then it can use this interface to determine the policy for when buffering is to be used. - - - Determines whether the host should buffer the entity body. - true if buffering should be used; otherwise a streamed request should be used. - The host context. - - - Determines whether the host should buffer the entity body. - true if buffering should be used; otherwise a streamed response should be used. - The HTTP response message. - - - Represents a message handler that suppresses host authentication results. - - - Initializes a new instance of the class. - - - Asynchronously sends a request message. - That task that completes the asynchronous operation. - The request message to send. - The cancellation token. - - - Represents the metadata class of the ModelMetadata. - - - Initializes a new instance of the class. - The provider. - The type of the container. - The model accessor. - The type of the model. - The name of the property. - - - Gets a dictionary that contains additional metadata about the model. - A dictionary that contains additional metadata about the model. - - - Gets or sets the type of the container for the model. - The type of the container for the model. - - - Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. - true if empty strings that are posted back in forms should be converted to null; otherwise, false. The default value is true. - - - Gets or sets the description of the model. - The description of the model. The default value is null. - - - Gets the display name for the model. - The display name for the model. - - - Gets a list of validators for the model. - A list of validators for the model. - The validator providers for the model. - - - Gets or sets a value that indicates whether the model is a complex type. - A value that indicates whether the model is considered a complex. - - - Gets a value that indicates whether the type is nullable. - true if the type is nullable; otherwise, false. - - - Gets or sets a value that indicates whether the model is read-only. - true if the model is read-only; otherwise, false. - - - Gets the value of the model. - The model value can be null. - - - Gets the type of the model. - The type of the model. - - - Gets a collection of model metadata objects that describe the properties of the model. - A collection of model metadata objects that describe the properties of the model. - - - Gets the property name. - The property name. - - - Gets or sets the provider. - The provider. - - - Provides an abstract base class for a custom metadata provider. - - - Initializes a new instance of the class. - - - Gets a ModelMetadata object for each property of a model. - A ModelMetadata object for each property of a model. - The container. - The type of the container. - - - Gets a metadata for the specified property. - The metadata model for the specified property. - The model accessor. - The type of the container. - The property to get the metadata model for. - - - Gets the metadata for the specified model accessor and model type. - The metadata. - The model accessor. - The type of the mode. - - - Provides an abstract class to implement a metadata provider. - The type of the model metadata. - - - Initializes a new instance of the class. - - - When overridden in a derived class, creates the model metadata for the property using the specified prototype. - The model metadata for the property. - The prototype from which to create the model metadata. - The model accessor. - - - When overridden in a derived class, creates the model metadata for the property. - The model metadata for the property. - The set of attributes. - The type of the container. - The type of the model. - The name of the property. - - - Retrieves a list of properties for the model. - A list of properties for the model. - The model container. - The type of the container. - - - Retrieves the metadata for the specified property using the container type and property name. - The metadata for the specified property. - The model accessor. - The type of the container. - The name of the property. - - - Returns the metadata for the specified property using the type of the model. - The metadata for the specified property. - The model accessor. - The type of the container. - - - Provides prototype cache data for . - - - Initializes a new instance of the class. - The attributes that provides data for the initialization. - - - Gets or sets the metadata display attribute. - The metadata display attribute. - - - Gets or sets the metadata display format attribute. - The metadata display format attribute. - - - - Gets or sets the metadata editable attribute. - The metadata editable attribute. - - - Gets or sets the metadata read-only attribute. - The metadata read-only attribute. - - - Provides a container for common metadata, for the class, for a data model. - - - Initializes a new instance of the class. - The prototype used to initialize the model metadata. - The model accessor. - - - Initializes a new instance of the class. - The metadata provider. - The type of the container. - The type of the model. - The name of the property. - The attributes that provides data for the initialization. - - - Retrieves a value that indicates whether empty strings that are posted back in forms should be converted to null. - true if empty strings that are posted back in forms should be converted to null; otherwise, false. - - - Retrieves the description of the model. - The description of the model. - - - Retrieves a value that indicates whether the model is read-only. - true if the model is read-only; otherwise, false. - - - - Provides prototype cache data for the . - The type of prototype cache. - - - Initializes a new instance of the class. - The prototype. - The model accessor. - - - Initializes a new instance of the class. - The provider. - The type of container. - The type of the model. - The name of the property. - The prototype cache. - - - Indicates whether empty strings that are posted back in forms should be computed and converted to null. - true if empty strings that are posted back in forms should be computed and converted to null; otherwise, false. - - - Indicates the computation value. - The computation value. - - - Gets a value that indicates whether the model is a complex type. - A value that indicates whether the model is considered a complex type by the Web API framework. - - - Gets a value that indicates whether the model to be computed is read-only. - true if the model to be computed is read-only; otherwise, false. - - - Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. - true if empty strings that are posted back in forms should be converted to null; otherwise, false. The default value is true. - - - Gets or sets the description of the model. - The description of the model. - - - Gets a value that indicates whether the model is a complex type. - A value that indicates whether the model is considered a complex type by the Web API framework. - - - Gets or sets a value that indicates whether the model is read-only. - true if the model is read-only; otherwise, false. - - - Gets or sets a value that indicates whether the prototype cache is updating. - true if the prototype cache is updating; otherwise, false. - - - Implements the default model metadata provider. - - - Initializes a new instance of the class. - - - Creates the metadata from prototype for the specified property. - The metadata for the property. - The prototype. - The model accessor. - - - Creates the metadata for the specified property. - The metadata for the property. - The attributes. - The type of the container. - The type of the model. - The name of the property. - - - Represents an empty model metadata provider. - - - Initializes a new instance of the class. - - - Creates metadata from prototype. - The metadata. - The model metadata prototype. - The model accessor. - - - Creates a prototype of the metadata provider of the . - A prototype of the metadata provider. - The attributes. - The type of container. - The type of model. - The name of the property. - - - Represents the binding directly to the cancellation token. - - - Initializes a new instance of the class. - The binding descriptor. - - - Executes the binding during synchronization. - The binding during synchronization. - The metadata provider. - The action context. - The notification after the cancellation of the operations. - - - Represents an attribute that invokes a custom model binder. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - A reference to an object that implements the interface. - - - Represents the default action value of the binder. - - - Initializes a new instance of the class. - - - Default implementation of the interface. This interface is the primary entry point for binding action parameters. - The associated with the . - The action descriptor. - - - Gets the associated with the . - The associated with the . - The parameter descriptor. - - - Defines a binding error. - - - Initializes a new instance of the class. - The error descriptor. - The message. - - - Gets the error message. - The error message. - - - Executes the binding method during synchronization. - The metadata provider. - The action context. - The cancellation Token value. - - - Represents parameter binding that will read from the body and invoke the formatters. - - - Initializes a new instance of the class. - The descriptor. - The formatter. - The body model validator. - - - Gets or sets an interface for the body model validator. - An interface for the body model validator. - - - Gets the error message. - The error message. - - - Asynchronously execute the binding of . - The result of the action. - The metadata provider. - The context associated with the action. - The cancellation token. - - - Gets or sets an enumerable object that represents the formatter for the parameter binding. - An enumerable object that represents the formatter for the parameter binding. - - - Asynchronously reads the content of . - The result of the action. - The request. - The type. - The formatter. - The format logger. - - - - Gets whether the will read body. - True if the will read body; otherwise, false. - - - Represents the extensions for the collection of form data. - - - Reads the collection extensions with specified type. - The read collection extensions. - The form data. - The generic type. - - - Reads the collection extensions with specified type. - The collection extensions. - The form data. - The name of the model. - The required member selector. - The formatter logger. - The generic type. - - - - - - Reads the collection extensions with specified type. - The collection extensions with specified type. - The form data. - The type of the object. - - - Reads the collection extensions with specified type and model name. - The collection extensions. - The form data. - The type of the object. - The name of the model. - The required member selector. - The formatter logger. - - - Deserialize the form data to the given type, using model binding. - best attempt to bind the object. The best attempt may be null. - collection with parsed form url data - target type to read as - null or empty to read the entire form as a single object. This is common for body data. Or the name of a model to do a partial binding against the form data. This is common for extracting individual fields. - The used to determine required members. - The to log events to. - The configuration to pick binder from. Can be null if the config was not created already. In that case a new config is created. - - - - - - - - Enumerates the behavior of the HTTP binding. - - - Never use HTTP binding. - - - The optional binding behavior - - - HTTP binding is required. - - - Provides a base class for model-binding behavior attributes. - - - Initializes a new instance of the class. - The behavior. - - - Gets or sets the behavior category. - The behavior category. - - - Gets the unique identifier for this attribute. - The id for this attribute. - - - Parameter binds to the request. - - - Initializes a new instance of the class. - The parameter descriptor. - - - Asynchronously executes parameter binding. - The binded parameter. - The metadata provider. - The action context. - The cancellation token. - - - Defines the methods that are required for a model binder. - - - Binds the model to a value by using the specified controller context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Represents a value provider for parameter binding. - - - Gets the instances used by this parameter binding. - The instances used by this parameter binding. - - - Represents the class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded. - - - Initializes a new instance of the class. - - - - Determines whether this can read objects of the specified . - true if objects of this type can be read; otherwise false. - The type of object that will be read. - - - Reads an object of the specified from the specified stream. This method is called during deserialization. - A whose result will be the object instance that has been read. - The type of object to read. - The from which to read. - The content being read. - The to log events to. - - - Specify this parameter uses a model binder. This can optionally specify the specific model binder and value providers that drive that model binder. Derived attributes may provide convenience settings for the model binder or value provider. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The type of model binder. - - - Gets or sets the type of model binder. - The type of model binder. - - - Gets the binding for a parameter. - The that contains the binding. - The parameter to bind. - - - Get the IModelBinder for this type. - a non-null model binder. - The configuration. - model type that the binder is expected to bind. - - - Gets the model binder provider. - The instance. - The configuration object. - - - Gets the value providers that will be fed to the model binder. - A collection of instances. - The configuration object. - - - Gets or sets the name to consider as the parameter name during model binding. - The parameter name to consider. - - - Gets or sets a value that specifies whether the prefix check should be suppressed. - true if the prefix check should be suppressed; otherwise, false. - - - Provides a container for model-binder configuration. - - - Gets or sets the name of the resource file (class key) that contains localized string values. - The name of the resource file (class key). - - - Gets or sets the current provider for type-conversion error message. - The current provider for type-conversion error message. - - - Gets or sets the current provider for value-required error messages. - The error message provider. - - - Provides a container for model-binder error message provider. - - - Describes a parameter that gets bound via ModelBinding. - - - Initializes a new instance of the class. - The parameter descriptor. - The model binder. - The collection of value provider factory. - - - Gets the model binder. - The model binder. - - - Asynchronously executes the parameter binding via the model binder. - The task that is signaled when the binding is complete. - The metadata provider to use for validation. - The action context for the binding. - The cancellation token assigned for this task for cancelling the binding operation. - - - Gets the collection of value provider factory. - The collection of value provider factory. - - - Provides an abstract base class for model binder providers. - - - Initializes a new instance of the class. - - - Finds a binder for the given type. - A binder, which can attempt to bind this type. Or null if the binder knows statically that it will never be able to bind the type. - A configuration object. - The type of the model to bind against. - - - Provides the context in which a model binder functions. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The binding context. - - - Gets or sets a value that indicates whether the binder should use an empty prefix. - true if the binder should use an empty prefix; otherwise, false. - - - Gets or sets the model. - The model. - - - Gets or sets the model metadata. - The model metadata. - - - Gets or sets the name of the model. - The name of the model. - - - Gets or sets the state of the model. - The state of the model. - - - Gets or sets the type of the model. - The type of the model. - - - Gets the property metadata. - The property metadata. - - - Gets or sets the validation node. - The validation node. - - - Gets or sets the value provider. - The value provider. - - - Represents an error that occurs during model binding. - - - Initializes a new instance of the class by using the specified exception. - The exception. - - - Initializes a new instance of the class by using the specified exception and error message. - The exception. - The error message - - - Initializes a new instance of the class by using the specified error message. - The error message - - - Gets or sets the error message. - The error message. - - - Gets or sets the exception object. - The exception object. - - - Represents a collection of instances. - - - Initializes a new instance of the class. - - - Adds the specified Exception object to the model-error collection. - The exception. - - - Adds the specified error message to the model-error collection. - The error message. - - - Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself. - - - Initializes a new instance of the class. - - - Gets a object that contains any errors that occurred during model binding. - The model state errors. - - - Gets a object that encapsulates the value that was being bound during model binding. - The model state value. - - - Represents the state of an attempt to bind a posted form to an action method, which includes validation information. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class by using values that are copied from the specified model-state dictionary. - The dictionary. - - - Adds the specified item to the model-state dictionary. - The object to add to the model-state dictionary. - - - Adds an element that has the specified key and value to the model-state dictionary. - The key of the element to add. - The value of the element to add. - - - Adds the specified model error to the errors collection for the model-state dictionary that is associated with the specified key. - The key. - The exception. - - - Adds the specified error message to the errors collection for the model-state dictionary that is associated with the specified key. - The key. - The error message. - - - Removes all items from the model-state dictionary. - - - Determines whether the model-state dictionary contains a specific value. - true if item is found in the model-state dictionary; otherwise, false. - The object to locate in the model-state dictionary. - - - Determines whether the model-state dictionary contains the specified key. - true if the model-state dictionary contains the specified key; otherwise, false. - The key to locate in the model-state dictionary. - - - Copies the elements of the model-state dictionary to an array, starting at a specified index. - The array. The array must have zero-based indexing. - The zero-based index in array at which copying starts. - - - Gets the number of key/value pairs in the collection. - The number of key/value pairs in the collection. - - - Returns an enumerator that can be used to iterate through the collection. - An enumerator that can be used to iterate through the collection. - - - Gets a value that indicates whether the collection is read-only. - true if the collection is read-only; otherwise, false. - - - Gets a value that indicates whether this instance of the model-state dictionary is valid. - true if this instance is valid; otherwise, false. - - - Determines whether there are any objects that are associated with or prefixed with the specified key. - true if the model-state dictionary contains a value that is associated with the specified key; otherwise, false. - The key. - - - Gets or sets the value that is associated with the specified key. - The model state item. - The key. - - - Gets a collection that contains the keys in the dictionary. - A collection that contains the keys of the model-state dictionary. - - - Copies the values from the specified object into this dictionary, overwriting existing values if keys are the same. - The dictionary. - - - Removes the first occurrence of the specified object from the model-state dictionary. - true if item was successfully removed the model-state dictionary; otherwise, false. This method also returns false if item is not found in the model-state dictionary. - The object to remove from the model-state dictionary. - - - Removes the element that has the specified key from the model-state dictionary. - true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the model-state dictionary. - The key of the element to remove. - - - Sets the value for the specified key by using the specified value provider dictionary. - The key. - The value. - - - Returns an enumerator that iterates through a collection. - An IEnumerator object that can be used to iterate through the collection. - - - Attempts to gets the value that is associated with the specified key. - true if the object contains an element that has the specified key; otherwise, false. - The key of the value to get. - The value associated with the specified key. - - - Gets a collection that contains the values in the dictionary. - A collection that contains the values of the model-state dictionary. - - - Collection of functions that can produce a parameter binding for a given parameter. - - - Initializes a new instance of the class. - - - Adds function to the end of the collection. The function added is a wrapper around funcInner that checks that parameterType matches typeMatch. - type to match against HttpParameterDescriptor.ParameterType - inner function that is invoked if type match succeeds - - - Insert a function at the specified index in the collection. /// The function added is a wrapper around funcInner that checks that parameterType matches typeMatch. - index to insert at. - type to match against HttpParameterDescriptor.ParameterType - inner function that is invoked if type match succeeds - - - Execute each binding function in order until one of them returns a non-null binding. - the first non-null binding produced for the parameter. Of null if no binding is produced. - parameter to bind. - - - Maps a browser request to an array. - The type of the array. - - - Initializes a new instance of the class. - - - Indicates whether the model is binded. - true if the specified model is binded; otherwise, false. - The action context. - The binding context. - - - Converts the collection to an array. - true in all cases. - The action context. - The binding context. - The new collection. - - - Provides a model binder for arrays. - - - Initializes a new instance of the class. - - - Returns a model binder for arrays. - A model binder object or null if the attempt to get a model binder is unsuccessful. - The configuration. - The type of model. - - - Maps a browser request to a collection. - The type of the collection. - - - Initializes a new instance of the class. - - - Binds the model by using the specified execution context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a way for derived classes to manipulate the collection before returning it from the binder. - true in all cases. - The action context. - The binding context. - The new collection. - - - Provides a model binder for a collection. - - - Initializes a new instance of the class. - - - Retrieves a model binder for a collection. - The model binder. - The configuration of the model. - The type of the model. - - - Represents a data transfer object (DTO) for a complex model. - - - Initializes a new instance of the class. - The model metadata. - The collection of property metadata. - - - Gets or sets the model metadata of the . - The model metadata of the . - - - Gets or sets the collection of property metadata of the . - The collection of property metadata of the . - - - Gets or sets the results of the . - The results of the . - - - Represents a model binder for object. - - - Initializes a new instance of the class. - - - Determines whether the specified model is binded. - true if the specified model is binded; otherwise, false. - The action context. - The binding context. - - - Represents a complex model that invokes a model binder provider. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The model binder. - The configuration. - The type of the model to retrieve. - - - Represents the result for object. - - - Initializes a new instance of the class. - The object model. - The validation node. - - - Gets or sets the model for this object. - The model for this object. - - - Gets or sets the for this object. - The for this object. - - - Represents an that delegates to one of a collection of instances. - - - Initializes a new instance of the class. - An enumeration of binders. - - - Initializes a new instance of the class. - An array of binders. - - - Indicates whether the specified model is binded. - true if the model is binded; otherwise, false. - The action context. - The binding context. - - - Represents the class for composite model binder providers. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - A collection of - - - Gets the binder for the model. - The binder for the model. - The binder configuration. - The type of the model. - - - Gets the providers for the composite model binder. - The collection of providers. - - - Maps a browser request to a dictionary data object. - The type of the key. - The type of the value. - - - Initializes a new instance of the class. - - - Converts the collection to a dictionary. - true in all cases. - The action context. - The binding context. - The new collection. - - - Provides a model binder for a dictionary. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The associated model binder. - The configuration to use. - The type of model. - - - Maps a browser request to a key/value pair data object. - The type of the key. - The type of the value. - - - Initializes a new instance of the class. - - - Binds the model by using the specified execution context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a model binder for a collection of key/value pairs. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The associated model binder. - The configuration. - The type of model. - - - Maps a browser request to a mutable data object. - - - Initializes a new instance of the class. - - - Binds the model by using the specified action context and binding context. - true if binding is successful; otherwise, false. - The action context. - The binding context. - - - Retrieves a value that indicates whether a property can be updated. - true if the property can be updated; otherwise, false. - The metadata for the property to be evaluated. - - - Creates an instance of the model. - The newly created model object. - The action context. - The binding context. - - - Creates a model instance if an instance does not yet exist in the binding context. - The action context. - The binding context. - - - Retrieves metadata for properties of the model. - The metadata for properties of the model. - The action context. - The binding context. - - - Sets the value of a specified property. - The action context. - The binding context. - The metadata for the property to set. - The validation information about the property. - The validator for the model. - - - Provides a model binder for mutable objects. - - - Initializes a new instance of the class. - - - Retrieves the model binder for the specified type. - The model binder. - The configuration. - The type of the model to retrieve. - - - Provides a simple model binder for this model binding class. - - - Initializes a new instance of the class. - The model type. - The model binder factory. - - - Initializes a new instance of the class by using the specified model type and the model binder. - The model type. - The model binder. - - - Returns a model binder by using the specified execution context and binding context. - The model binder, or null if the attempt to get a model binder is unsuccessful. - The configuration. - The model type. - - - Gets the type of the model. - The type of the model. - - - Gets or sets a value that specifies whether the prefix check should be suppressed. - true if the prefix check should be suppressed; otherwise, false. - - - Maps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter. - - - Initializes a new instance of the class. - - - Binds the model by using the specified controller context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a model binder for a model that requires type conversion. - - - Initializes a new instance of the class. - - - Retrieve a model binder for a model that requires type conversion. - The model binder, or Nothing if the type cannot be converted or there is no value to convert. - The configuration of the binder. - The type of the model. - - - Maps a browser request to a data object. This class is used when model binding does not require type conversion. - - - Initializes a new instance of the class. - - - Binds the model by using the specified execution context and binding context. - true if model binding is successful; otherwise, false. - The action context. - The binding context. - - - Provides a model binder for a model that does not require type conversion. - - - Initializes a new instance of the class. - - - Retrieves the associated model binder. - The associated model binder. - The configuration. - The type of model. - - - Represents an action result that returns response and performs content negotiation on an see with . - - - Initializes a new instance of the class. - The user-visible error message. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class. - The user-visible error message. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content negotiator to handle content negotiation. - Returns . - - - Returns . - - - Gets the formatters to use to negotiate and format the content. - Returns . - - - Gets the user-visible error message. - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that returns an empty response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Asynchronously executes the request. - The task that completes the execute operation. - The cancellation token. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Represents an action result that returns an empty HttpStatusCode.Conflict response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Executes asynchronously the operation of the conflict result. - Asynchronously executes the specified task. - The cancellation token. - - - Gets the request message which led to this result. - The HTTP request message which led to this result. - - - Represents an action result that performs route generation and content negotiation and returns a response when content negotiation succeeds. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Initializes a new instance of the class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The content value to negotiate and format in the entity body. - The factory to use to generate the route URL. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Gets the content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - - - - Gets the formatters to use to negotiate and format the content. - - - Gets the request message which led to this result. - - - Gets the name of the route to use for generating the URL. - - - Gets the route data to use for generating the URL. - - - Gets the factory to use to generate the route URL. - - - Represents an action result that performs content negotiation and returns a response when it succeeds. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The content value to negotiate and format in the entity body. - The location at which the content has been created. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class with the values provided. - The location at which the content has been created. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to negotiate and format in the entity body. - The content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - The content negotiator to handle content negotiation. - - - Executes asynchronously the operation of the created negotiated content result. - Asynchronously executes a return value. - The cancellation token. - - - Gets the formatters to use to negotiate and format the content. - The formatters to use to negotiate and format the content. - - - Gets the location at which the content has been created. - The location at which the content has been created. - - - Gets the request message which led to this result. - The HTTP request message which led to this result. - - - Represents an action result that returns a response and performs content negotiation on an  based on an . - - - Initializes a new instance of the class. - The exception to include in the error. - true if the error should include exception messages; otherwise, false . - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class. - The exception to include in the error. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content negotiator to handle content negotiation. - Returns . - - - Gets the exception to include in the error. - Returns . - - - Returns . - - - Gets the formatters to use to negotiate and format the content. - Returns . - - - Gets a value indicating whether the error should include exception messages. - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that returns formatted content. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header, or to have the formatter pick a default value. - The request message which led to this result. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to format in the entity body. - The formatter to use to format the content. - The value for the Content-Type header, or to have the formatter pick a default value. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to format in the entity body. - - - - Gets the formatter to use to format the content. - - - Gets the value for the Content-Type header, or to have the formatter pick a default value. - - - Gets the request message which led to this result. - - - Gets the HTTP status code for the response message. - - - Represents an action result that returns an empty response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that returns a response and performs content negotiation on an based on a . - - - Initializes a new instance of the class. - The model state to include in the error. - true if the error should include exception messages; otherwise, false. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class. - The model state to include in the error. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content negotiator to handle content negotiation. - The content negotiator to handle content negotiation. - - - Creates a response message asynchronously. - A task that, when completed, contains the response message. - The token to monitor for cancellation requests. - - - Gets the formatters to use to negotiate and format the content. - The formatters to use to negotiate and format the content. - - - Gets a value indicating whether the error should include exception messages. - true if the error should include exception messages; otherwise, false. - - - Gets the model state to include in the error. - The model state to include in the error. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Represents an action result that returns an response with JSON data. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The content value to serialize in the entity body. - The serializer settings. - The content encoding. - The request message which led to this result. - - - Initializes a new instance of the class with the values provided. - The content value to serialize in the entity body. - The serializer settings. - The content encoding. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to serialize in the entity body. - The content value to serialize in the entity body. - - - Gets the content encoding. - The content encoding. - - - Creates a response message asynchronously. - A task that, when completed, contains the response message. - The token to monitor for cancellation requests. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Gets the serializer settings. - The serializer settings. - - - Represents an action result that performs content negotiation. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to negotiate and format in the entity body. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class with the values provided. - The HTTP status code for the response message. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to negotiate and format in the entity body. - The content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - The content negotiator to handle content negotiation. - - - Executes asynchronously an HTTP negotiated content results. - Asynchronously executes an HTTP negotiated content results. - The cancellation token. - - - Gets the formatters to use to negotiate and format the content. - The formatters to use to negotiate and format the content. - - - Gets the request message which led to this result. - The HTTP request message which led to this result. - - - Gets the HTTP status code for the response message. - The HTTP status code for the response message. - - - Represents an action result that returns an empty response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - - Gets the request message which led to this result. - - - Represents an action result that performs content negotiation and returns an HttpStatusCode.OK response when it succeeds. - The type of content in the entity body. - - - Initializes a new instance of the class with the values provided. - The content value to negotiate and format in the entity body. - The content negotiator to handle content negotiation. - The request message which led to this result. - The formatters to use to negotiate and format the content. - - - Initializes a new instance of the class with the values provided. - The content value to negotiate and format in the entity body. - The controller from which to obtain the dependencies needed for execution. - - - Gets the content value to negotiate and format in the entity body. - - - Gets the content negotiator to handle content negotiation. - - - - Gets the formatters to use to negotiate and format the content. - - - Gets the request message which led to this result. - - - Represents an action result that returns an empty HttpStatusCode.OK response. - - - Initializes a new instance of the class. - The request message which led to this result. - - - Initializes a new instance of the class. - The controller from which to obtain the dependencies needed for execution. - - - Executes asynchronously. - Returns the task. - The cancellation token. - - - Gets a HTTP request message for the results. - A HTTP request message for the results. - - - Represents an action result for a <see cref="F:System.Net.HttpStatusCode.Redirect"/>. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectResult"/> class with the values provided. - The location to which to redirect. - The request message which led to this result. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectResult"/> class with the values provided. - The location to which to redirect. - The controller from which to obtain the dependencies needed for execution. - - - Returns . - - - Gets the location at which the content has been created. - Returns . - - - Gets the request message which led to this result. - Returns . - - - Represents an action result that performs route generation and returns a <see cref="F:System.Net.HttpStatusCode.Redirect"/> response. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The controller from which to obtain the dependencies needed for execution. - - - Initializes a new instance of the <see cref="T:System.Web.Http.Results.RedirectToRouteResult"/> class with the values provided. - The name of the route to use for generating the URL. - The route data to use for generating the URL. - The factory to use to generate the route URL. - The request message which led to this result. - - - Returns . - - - Gets the request message which led to this result. - Returns . - - - Gets the name of the route to use for generating the URL. - Returns . - - - Gets the route data to use for generating the URL. - Returns . - - - Gets the factory to use to generate the route URL. - Returns . - - - Represents an action result that returns a specified response message. - - - Initializes a new instance of the class. - The response message. - - - - Gets the response message. - - - Represents an action result that returns a specified HTTP status code. - - - Initializes a new instance of the class. - The HTTP status code for the response message. - The request message which led to this result. - - - Initializes a new instance of the class. - The HTTP status code for the response message. - The controller from which to obtain the dependencies needed for execution. - - - Creates a response message asynchronously. - A task that, when completed, contains the response message. - The token to monitor for cancellation requests. - - - Gets the request message which led to this result. - The request message which led to this result. - - - Gets the HTTP status code for the response message. - The HTTP status code for the response message. - - - Represents an action result that returns an response. - - - Initializes a new instance of the class. - The WWW-Authenticate challenges. - The request message which led to this result. - - - Initializes a new instance of the class. - The WWW-Authenticate challenges. - The controller from which to obtain the dependencies needed for execution. - - - Gets the WWW-Authenticate challenges. - Returns . - - - Returns . - - - Gets the request message which led to this result. - Returns . - - - A default implementation of . - - - - Creates instances based on the provided factories and action. The route entries provide direct routing to the provided action. - A set of route entries. - The action descriptor. - The direct route factories. - The constraint resolver. - - - Gets a set of route factories for the given action descriptor. - A set of route factories. - The action descriptor. - - - Creates instances based on the provided factories, controller and actions. The route entries provided direct routing to the provided controller and can reach the set of provided actions. - A set of route entries. - The controller descriptor. - The action descriptors. - The direct route factories. - The constraint resolver. - - - Gets route factories for the given controller descriptor. - A set of route factories. - The controller descriptor. - - - Gets direct routes for the given controller descriptor and action descriptors based on attributes. - A set of route entries. - The controller descriptor. - The action descriptors for all actions. - The constraint resolver. - - - Gets the route prefix from the provided controller. - The route prefix or null. - The controller descriptor. - - - The default implementation of . Resolves constraints by parsing a constraint key and constraint arguments, using a map to resolve the constraint type, and calling an appropriate constructor for the constraint type. - - - Initializes a new instance of the class. - - - Gets the mutable dictionary that maps constraint keys to a particular constraint type. - The mutable dictionary that maps constraint keys to a particular constraint type. - - - Resolves the inline constraint. - The the inline constraint was resolved to. - The inline constraint to resolve. - - - Represents a context that supports creating a direct route. - - - Initializes a new instance of the class. - The route prefix, if any, defined by the controller. - The action descriptors to which to create a route. - The inline constraint resolver. - A value indicating whether the route is configured at the action or controller level. - - - Gets the action descriptors to which to create a route. - The action descriptors to which to create a route. - - - Creates a route builder that can build a route matching this context. - A route builder that can build a route matching this context. - The route template. - - - Creates a route builder that can build a route matching this context. - A route builder that can build a route matching this context. - The route template. - The inline constraint resolver to use, if any; otherwise, null. - - - Gets the inline constraint resolver. - The inline constraint resolver. - - - Gets the route prefix, if any, defined by the controller. - The route prefix, if any, defined by the controller. - - - Gets a value indicating whether the route is configured at the action or controller level. - true when the route is configured at the action level; otherwise false (if the route is configured at the controller level). - - - Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route. - - - Initializes a new instance of the class by using the HTTP verbs that are allowed for the route. - The HTTP verbs that are valid for the route. - - - Gets or sets the collection of allowed HTTP verbs for the route. - A collection of allowed HTTP verbs for the route. - - - Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. - When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. - The request that is being checked to determine whether it matches the URL. - The object that is being checked to determine whether it matches the URL. - The name of the parameter that is being checked. - An object that contains the parameters for a route. - An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. - - - Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. - When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. - The request that is being checked to determine whether it matches the URL. - The object that is being checked to determine whether it matches the URL. - The name of the parameter that is being checked. - An object that contains the parameters for a route. - An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. - - - Represents a route class for self-host (i.e. hosted outside of ASP.NET). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The route template. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - The constraints for the route parameters. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - The constraints for the route parameters. - Any additional tokens for the route parameters. - - - Initializes a new instance of the class. - The route template. - The default values for the route parameters. - The constraints for the route parameters. - Any additional tokens for the route parameters. - The message handler that will be the recipient of the request. - - - Gets the constraints for the route parameters. - The constraints for the route parameters. - - - Gets any additional data tokens not used directly to determine whether a route matches an incoming . - Any additional data tokens not used directly to determine whether a route matches an incoming . - - - Gets the default values for route parameters if not provided by the incoming . - The default values for route parameters if not provided by the incoming . - - - Determines whether this route is a match for the incoming request by looking up the for the route. - The for a route if matches; otherwise null. - The virtual path root. - The HTTP request. - - - Attempts to generate a URI that represents the values passed in based on current values from the and new values using the specified . - A instance or null if URI cannot be generated. - The HTTP request message. - The route values. - - - Gets or sets the http route handler. - The http route handler. - - - Specifies the HTTP route key. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The HTTP request. - The constraints for the route parameters. - The name of the parameter. - The list of parameter values. - One of the enumeration values of the enumeration. - - - Gets the route template describing the URI pattern to match against. - The route template describing the URI pattern to match against. - - - Encapsulates information regarding the HTTP route. - - - Initializes a new instance of the class. - An object that defines the route. - - - Initializes a new instance of the class. - An object that defines the route. - The value. - - - Gets the object that represents the route. - the object that represents the route. - - - Gets a collection of URL parameter values and default values for the route. - An object that contains values that are parsed from the URL and from default values. - - - Removes all optional parameters that do not have a value from the route data. - - - If a route is really a union of other routes, return the set of sub routes. - Returns the set of sub routes contained within this route. - A union route data. - - - Removes all optional parameters that do not have a value from the route data. - The route data, to be mutated in-place. - - - Specifies an enumeration of route direction. - - - The UriGeneration direction. - - - The UriResolution direction. - - - Represents a route class for self-host of specified key/value pairs. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The dictionary. - - - Initializes a new instance of the class. - The key value. - - - Presents the data regarding the HTTP virtual path. - - - Initializes a new instance of the class. - The route of the virtual path. - The URL that was created from the route definition. - - - Gets or sets the route of the virtual path.. - The route of the virtual path. - - - Gets or sets the URL that was created from the route definition. - The URL that was created from the route definition. - - - Defines a builder that creates direct routes to actions (attribute routes). - - - Gets the action descriptors to which to create a route. - The action descriptors to which to create a route. - - - Creates a route entry based on the current property values. - The route entry created. - - - Gets or sets the route constraints. - The route constraints. - - - Gets or sets the route data tokens. - The route data tokens. - - - Gets or sets the route defaults. - The route defaults. - - - Gets or sets the route name, if any; otherwise null. - The route name, if any; otherwise null. - - - Gets or sets the route order. - The route order. - - - Gets or sets the route precedence. - The route precedence. - - - Gets a value indicating whether the route is configured at the action or controller level. - true when the route is configured at the action level; otherwise false (if the route is configured at the controller level). - - - Gets or sets the route template. - The route template. - - - Defines a factory that creates a route directly to a set of action descriptors (an attribute route). - - - Creates a direct route entry. - The direct route entry. - The context to use to create the route. - - - Defines a provider for routes that directly target action descriptors (attribute routes). - - - Gets the direct routes for a controller. - A set of route entries for the controller. - The controller descriptor. - The action descriptors. - The inline constraint resolver. - - - - defines the interface for a route expressing how to map an incoming to a particular controller and action. - - - Gets the constraints for the route parameters. - The constraints for the route parameters. - - - Gets any additional data tokens not used directly to determine whether a route matches an incoming . - The additional data tokens. - - - Gets the default values for route parameters if not provided by the incoming . - The default values for route parameters. - - - Determine whether this route is a match for the incoming request by looking up the <see cref="!:IRouteData" /> for the route. - The <see cref="!:RouteData" /> for a route if matches; otherwise null. - The virtual path root. - The request. - - - Gets a virtual path data based on the route and the values provided. - The virtual path data. - The request message. - The values. - - - Gets the message handler that will be the recipient of the request. - The message handler. - - - Gets the route template describing the URI pattern to match against. - The route template. - - - Represents a base class route constraint. - - - Determines whether this instance equals a specified route. - True if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Provides information about a route. - - - Gets the object that represents the route. - The object that represents the route. - - - Gets a collection of URL parameter values and default values for the route. - The values that are parsed from the URL and from default values. - - - Provides information for defining a route. - - - Gets the name of the route to generate. - - - Gets the order of the route relative to other routes. - - - Gets the route template describing the URI pattern to match against. - - - Defines the properties for HTTP route. - - - Gets the HTTP route. - The HTTP route. - - - Gets the URI that represents the virtual path of the current HTTP route. - The URI that represents the virtual path of the current HTTP route. - - - Defines an abstraction for resolving inline constraints as instances of . - - - Resolves the inline constraint. - The the inline constraint was resolved to. - The inline constraint to resolve. - - - Defines a route prefix. - - - Gets the route prefix. - The route prefix. - - - Represents a named route. - - - Initializes a new instance of the class. - The route name, if any; otherwise, null. - The route. - - - Gets the route name, if any; otherwise, null. - The route name, if any; otherwise, null. - - - Gets the route. - The route. - - - Represents an attribute route that may contain custom constraints. - - - Initializes a new instance of the class. - The route template. - - - Gets the route constraints, if any; otherwise null. - The route constraints, if any; otherwise null. - - - Creates the route entry - The created route entry. - The context. - - - Gets the route data tokens, if any; otherwise null. - The route data tokens, if any; otherwise null. - - - Gets the route defaults, if any; otherwise null. - The route defaults, if any; otherwise null. - - - Gets or sets the route name, if any; otherwise null. - The route name, if any; otherwise null. - - - Gets or sets the route order. - The route order. - - - Gets the route template. - The route template. - - - Represents a handler that specifies routing should not handle requests for a route template. When a route provides this class as a handler, requests matching against the route will be ignored. - - - Initializes a new instance of the class. - - - Represents a factory for creating URLs. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The HTTP request for this instance. - - - Creates an absolute URL using the specified path. - The generated URL. - The URL path, which may be a relative URL, a rooted URL, or a virtual path. - - - Returns a link for the specified route. - A link for the specified route. - The name of the route. - An object that contains the parameters for a route. - - - Returns a link for the specified route. - A link for the specified route. - The name of the route. - A route value. - - - Gets or sets the of the current instance. - The of the current instance. - - - Returns the route for the . - The route for the . - The name of the route. - A list of route values. - - - Returns the route for the . - The route for the . - The name of the route. - The route values. - - - Constrains a route parameter to contain only lowercase or uppercase letters A through Z in the English alphabet. - - - Initializes a new instance of the class. - - - Constrains a route parameter to represent only Boolean values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route by several child constraints. - - - Initializes a new instance of the class. - The child constraints that must match for this constraint to match. - - - Gets the child constraints that must match for this constraint to match. - The child constraints that must match for this constraint to match. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to represent only values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route of direction. - - - Constrains a route parameter to represent only decimal values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to represent only 64-bit floating-point values. - - - - - Constrains a route parameter to represent only 32-bit floating-point values. - - - - - Constrains a route parameter to represent only values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to represent only 32-bit integer values. - - - Initializes a new instance of the class. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constrains a route parameter to be a string of a given length or within a given range of lengths. - - - - Initializes a new instance of the class that constrains a route parameter to be a string of a given length. - The minimum length of the route parameter. - The maximum length of the route parameter. - - - Gets the length of the route parameter, if one is set. - - - - Gets the maximum length of the route parameter, if one is set. - - - Gets the minimum length of the route parameter, if one is set. - - - Constrains a route parameter to represent only 64-bit integer values. - - - - - Constrains a route parameter to be a string with a maximum length. - - - Initializes a new instance of the class. - The maximum length. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the maximum length of the route parameter. - The maximum length of the route parameter. - - - Constrains a route parameter to be an integer with a maximum value. - - - - - Gets the maximum value of the route parameter. - - - Constrains a route parameter to be a string with a maximum length. - - - Initializes a new instance of the class. - The minimum length. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the minimum length of the route parameter. - The minimum length of the route parameter. - - - Constrains a route parameter to be a long with a minimum value. - - - Initializes a new instance of the class. - The minimum value of the route parameter. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the minimum value of the route parameter. - The minimum value of the route parameter. - - - Constrains a route by an inner constraint that doesn't fail when an optional parameter is set to its default value. - - - Initializes a new instance of the class. - The inner constraint to match if the parameter is not an optional parameter without a value - - - Gets the inner constraint to match if the parameter is not an optional parameter without a value. - The inner constraint to match if the parameter is not an optional parameter without a value. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Constraints a route parameter to be an integer within a given range of values. - - - Initializes a new instance of the class. - The minimum value. - The maximum value. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the maximum value of the route parameter. - The maximum value of the route parameter. - - - Gets the minimum value of the route parameter. - The minimum value of the route parameter. - - - Constrains a route parameter to match a regular expression. - - - Initializes a new instance of the class. - The pattern. - - - Determines whether this instance equals a specified route. - true if this instance equals a specified route; otherwise, false. - The request. - The route to compare. - The name of the parameter. - A list of parameter values. - The route direction. - - - Gets the regular expression pattern to match. - The regular expression pattern to match. - - - Provides a method for retrieving the innermost object of an object that might be wrapped by an <see cref="T:System.Web.Http.Services.IDecorator`1" />. - - - Gets the innermost object which does not implement <see cref="T:System.Web.Http.Services.IDecorator`1" />. - Object which needs to be unwrapped. - - - - Represents a container for service instances used by the . Note that this container only supports known types, and methods to get or set arbitrary service types will throw when called. For creation of arbitrary types, please use instead. The supported types for this container are: Passing any type which is not on this to any method on this interface will cause an to be thrown. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class with a specified object. - The object. - - - Removes a single-instance service from the default services. - The type of the service. - - - Gets a service of the specified type. - The first instance of the service, or null if the service is not found. - The type of service. - - - Gets the list of service objects for a given service type, and validates the service type. - The list of service objects of the specified type. - The service type. - - - Gets the list of service objects for a given service type. - The list of service objects of the specified type, or an empty list if the service is not found. - The type of service. - - - Queries whether a service type is single-instance. - true if the service type has at most one instance, or false if the service type supports multiple instances. - The service type. - - - Replaces a single-instance service object. - The service type. - The service object that replaces the previous instance. - - - Removes the cached values for a single service type. - The service type. - - - Defines a decorator that exposes the inner decorated object. - This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see . - - - Gets the inner object. - - - Represents a performance tracing class to log method entry/exit and duration. - - - Initializes the class with a specified configuration. - The configuration. - - - Represents the trace writer. - - - Invokes the specified traceAction to allow setting values in a new if and only if tracing is permitted at the given category and level. - The current . It may be null but doing so will prevent subsequent trace analysis from correlating the trace to a particular request. - The logical category for the trace. Users can define their own. - The at which to write this trace. - The action to invoke if tracing is enabled. The caller is expected to fill in the fields of the given in this action. - - - Represents an extension methods for . - - - Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - The format of the message. - The message argument. - - - Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Displays an error message in the list with the specified writer, request, category and exception. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Displays an error message in the list with the specified writer, request, category, exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The exception. - The format of the message. - The argument in the message. - - - Displays an error message in the list with the specified writer, request, category, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The argument in the message. - - - Displays an error message in the class with the specified writer, request, category and exception. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The exception that appears during execution. - - - Displays an error message in the class with the specified writer, request, category and exception, message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The exception. - The format of the message. - The message argument. - - - Displays an error message in the class with the specified writer, request, category and message format and argument. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Displays the details in the . - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Displays the details in the . - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - The format of the message. - The message argument. - - - Displays the details in the . - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Indicates the trace listeners in the Listeners collection. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The trace level. - The error occurred during execution. - - - Indicates the trace listeners in the Listeners collection. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The trace level. - The error occurred during execution. - The format of the message. - The message argument. - - - Indicates the trace listeners in the Listeners collection. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The format of the message. - The message argument. - - - Traces both a begin and an end trace around a specified operation. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The name of the object performing the operation. It may be null. - The name of the operation being performed. It may be null. - The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. - An <see cref="T:System.Func`1" /> that returns the that will perform the operation. - The to invoke after successfully performing the operation, allowing the given to be filled in. It may be null. - The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. - - - Traces both a begin and an end trace around a specified operation. - The returned by the operation. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The name of the object performing the operation. It may be null. - The name of the operation being performed. It may be null. - The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. - An <see cref="T:System.Func`1" /> that returns the that will perform the operation. - The to invoke after successfully performing the operation, allowing the given to be filled in. The result of the completed task will also be passed to this action. This action may be null. - The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. - The type of result produced by the . - - - Traces both a begin and an end trace around a specified operation. - The returned by the operation. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The of the trace. - The name of the object performing the operation. It may be null. - The name of the operation being performed. It may be null. - The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. - An <see cref="T:System.Func`1" /> that returns the that will perform the operation. - The to invoke after successfully performing the operation, allowing the given to be filled in. It may be null. - The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. - - - Indicates the warning level of execution. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - - - Indicates the warning level of execution. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The error occurred during execution. - The format of the message. - The message argument. - - - Indicates the warning level of execution. - The . - The with which to associate the trace. It may be null. - The logical category of the trace. - The format of the message. - The message argument. - - - Specifies an enumeration of tracing categories. - - - An action category. - - - The controllers category. - - - The filters category. - - - The formatting category. - - - The message handlers category. - - - The model binding category. - - - The request category. - - - The routing category. - - - Specifies the kind of tracing operation. - - - Trace marking the beginning of some operation. - - - Trace marking the end of some operation. - - - Single trace, not part of a Begin/End trace pair. - - - Specifies an enumeration of tracing level. - - - Trace level for debugging traces. - - - Trace level for error traces. - - - Trace level for fatal traces. - - - Trace level for informational traces. - - - Tracing is disabled. - - - Trace level for warning traces. - - - Represents a trace record. - - - Initializes a new instance of the class. - The message request. - The trace category. - The trace level. - - - Gets or sets the tracing category. - The tracing category. - - - Gets or sets the exception. - The exception. - - - Gets or sets the kind of trace. - The kind of trace. - - - Gets or sets the tracing level. - The tracing level. - - - Gets or sets the message. - The message. - - - Gets or sets the logical operation name being performed. - The logical operation name being performed. - - - Gets or sets the logical name of the object performing the operation. - The logical name of the object performing the operation. - - - Gets the optional user-defined properties. - The optional user-defined properties. - - - Gets the from the record. - The from the record. - - - Gets the correlation ID from the . - The correlation ID from the . - - - Gets or sets the associated with the . - The associated with the . - - - Gets the of this trace (via ). - The of this trace (via ). - - - Represents a class used to recursively validate an object. - - - Initializes a new instance of the class. - - - Determines whether instances of a particular type should be validated. - true if the type should be validated; false otherwise. - The type to validate. - - - Determines whether the is valid and adds any validation errors to the 's . - true if model is valid, false otherwise. - The model to be validated. - The to use for validation. - The used to provide model metadata. - The within which the model is being validated. - The to append to the key for any validation errors. - - - Represents an interface for the validation of the models - - - Determines whether the model is valid and adds any validation errors to the actionContext's - trueif model is valid, false otherwise. - The model to be validated. - The to use for validation. - The used to provide the model metadata. - The within which the model is being validated. - The to append to the key for any validation errors. - - - This logs formatter errors to the provided . - - - Initializes a new instance of the class. - The model state. - The prefix. - - - Logs the specified model error. - The error path. - The error message. - - - Logs the specified model error. - The error path. - The error message. - - - Provides data for the event. - - - Initializes a new instance of the class. - The action context. - The parent node. - - - Gets or sets the context for an action. - The context for an action. - - - Gets or sets the parent of this node. - The parent of this node. - - - Provides data for the event. - - - Initializes a new instance of the class. - The action context. - The parent node. - - - Gets or sets the context for an action. - The context for an action. - - - Gets or sets the parent of this node. - The parent of this node. - - - Provides a container for model validation information. - - - Initializes a new instance of the class, using the model metadata and state key. - The model metadata. - The model state key. - - - Initializes a new instance of the class, using the model metadata, the model state key, and child model-validation nodes. - The model metadata. - The model state key. - The model child nodes. - - - Gets or sets the child nodes. - The child nodes. - - - Combines the current instance with a specified instance. - The model validation node to combine with the current instance. - - - Gets or sets the model metadata. - The model metadata. - - - Gets or sets the model state key. - The model state key. - - - Gets or sets a value that indicates whether validation should be suppressed. - true if validation should be suppressed; otherwise, false. - - - Validates the model using the specified execution context. - The action context. - - - Validates the model using the specified execution context and parent node. - The action context. - The parent node. - - - Gets or sets a value that indicates whether all properties of the model should be validated. - true if all properties of the model should be validated, or false if validation should be skipped. - - - Occurs when the model has been validated. - - - Occurs when the model is being validated. - - - Represents the selection of required members by checking for any required ModelValidators associated with the member. - - - Initializes a new instance of the class. - The metadata provider. - The validator providers. - - - Indicates whether the member is required for validation. - true if the member is required for validation; otherwise, false. - The member. - - - Provides a container for a validation result. - - - Initializes a new instance of the class. - - - Gets or sets the name of the member. - The name of the member. - - - Gets or sets the validation result message. - The validation result message. - - - Provides a base class for implementing validation logic. - - - Initializes a new instance of the class. - The validator providers. - - - Returns a composite model validator for the model. - A composite model validator for the model. - An enumeration of validator providers. - - - Gets a value that indicates whether a model property is required. - true if the model property is required; otherwise, false. - - - Validates a specified object. - A list of validation results. - The metadata. - The container. - - - Gets or sets an enumeration of validator providers. - An enumeration of validator providers. - - - Provides a list of validators for a model. - - - Initializes a new instance of the class. - - - Gets a list of validators associated with this . - The list of validators. - The metadata. - The validator providers. - - - Provides an abstract class for classes that implement a validation provider. - - - Initializes a new instance of the class. - - - Gets a type descriptor for the specified type. - A type descriptor for the specified type. - The type of the validation provider. - - - Gets the validators for the model using the metadata and validator providers. - The validators for the model. - The metadata. - An enumeration of validator providers. - - - Gets the validators for the model using the metadata, the validator providers, and a list of attributes. - The validators for the model. - The metadata. - An enumeration of validator providers. - The list of attributes. - - - Represents the method that creates a instance. - - - Represents an implementation of which providers validators for attributes which derive from . It also provides a validator for types which implement . To support client side validation, you can either register adapters through the static methods on this class, or by having your validation attributes implement . The logic to support IClientValidatable is implemented in . - - - Initializes a new instance of the class. - - - Gets the validators for the model using the specified metadata, validator provider and attributes. - The validators for the model. - The metadata. - The validator providers. - The attributes. - - - Registers an adapter to provide client-side validation. - The type of the validation attribute. - The type of the adapter. - - - Registers an adapter factory for the validation provider. - The type of the attribute. - The factory that will be used to create the object for the specified attribute. - - - Registers the default adapter. - The type of the adapter. - - - Registers the default adapter factory. - The factory that will be used to create the object for the default adapter. - - - Registers the default adapter type for objects which implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . - The type of the adapter. - - - Registers the default adapter factory for objects which implement . - The factory. - - - Registers an adapter type for the given modelType, which must implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . - The model type. - The type of the adapter. - - - Registers an adapter factory for the given modelType, which must implement . - The model type. - The factory. - - - Provides a factory for validators that are based on . - - - Represents a validator provider for data member model. - - - Initializes a new instance of the class. - - - Gets the validators for the model. - The validators for the model. - The metadata. - An enumerator of validator providers. - A list of attributes. - - - An implementation of which provides validators that throw exceptions when the model is invalid. - - - Initializes a new instance of the class. - - - Gets a list of validators associated with this . - The list of validators. - The metadata. - The validator providers. - The list of attributes. - - - Represents the provider for the required member model validator. - - - Initializes a new instance of the class. - The required member selector. - - - Gets the validator for the member model. - The validator for the member model. - The metadata. - The validator providers - - - Provides a model validator. - - - Initializes a new instance of the class. - The validator providers. - The validation attribute for the model. - - - Gets or sets the validation attribute for the model validator. - The validation attribute for the model validator. - - - Gets a value that indicates whether model validation is required. - true if model validation is required; otherwise, false. - - - Validates the model and returns the validation errors if any. - A list of validation error messages for the model, or an empty list if no errors have occurred. - The model metadata. - The container for the model. - - - A to represent an error. This validator will always throw an exception regardless of the actual model value. - - - Initializes a new instance of the class. - The list of model validator providers. - The error message for the exception. - - - Validates a specified object. - A list of validation results. - The metadata. - The container. - - - Represents the for required members. - - - Initializes a new instance of the class. - The validator providers. - - - Gets or sets a value that instructs the serialization engine that the member must be presents when validating. - true if the member is required; otherwise, false. - - - Validates the object. - A list of validation results. - The metadata. - The container. - - - Provides an object adapter that can be validated. - - - Initializes a new instance of the class. - The validation provider. - - - Validates the specified object. - A list of validation results. - The metadata. - The container. - - - Represents the base class for value providers whose values come from a collection that implements the interface. - - - Retrieves the keys from the specified . - The keys from the specified . - The prefix. - - - Represents an interface that is implemented by any that supports the creation of a to access the of an incoming . - - - Defines the methods that are required for a value provider in ASP.NET MVC. - - - Determines whether the collection contains the specified prefix. - true if the collection contains the specified prefix; otherwise, false. - The prefix to search for. - - - Retrieves a value object using the specified key. - The value object for the specified key, or null if the key is not found. - The key of the value object to retrieve. - - - This attribute is used to specify a custom . - - - Initializes a new instance of the . - The type of the model binder. - - - Initializes a new instance of the . - An array of model binder types. - - - Gets the value provider factories. - A collection of value provider factories. - A configuration object. - - - Gets the types of object returned by the value provider factory. - A collection of types. - - - Represents a factory for creating value-provider objects. - - - Initializes a new instance of the class. - - - Returns a value-provider object for the specified controller context. - A value-provider object. - An object that encapsulates information about the current HTTP request. - - - Represents the result of binding a value (such as from a form post or query string) to an action-method argument property, or to the argument itself. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The raw value. - The attempted value. - The culture. - - - Gets or sets the raw value that is converted to a string for display. - The raw value that is converted to a string for display. - - - Converts the value that is encapsulated by this result to the specified type. - The converted value. - The target type. - - - Converts the value that is encapsulated by this result to the specified type by using the specified culture information. - The converted value. - The target type. - The culture to use in the conversion. - - - Gets or sets the culture. - The culture. - - - Gets or set the raw value that is supplied by the value provider. - The raw value that is supplied by the value provider. - - - Represents a value provider whose values come from a list of value providers that implements the interface. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The list of value providers. - - - Determines whether the collection contains the specified . - true if the collection contains the specified ; otherwise, false. - The prefix to search for. - - - Retrieves the keys from the specified . - The keys from the specified . - The prefix from which keys are retrieved. - - - Retrieves a value object using the specified . - The value object for the specified . - The key of the value object to retrieve. - - - Inserts an element into the collection at the specified index. - The zero-based index at which should be inserted. - The object to insert. - - - Replaces the element at the specified index. - The zero-based index of the element to replace. - The new value for the element at the specified index. - - - Represents a factory for creating a list of value-provider objects. - - - Initializes a new instance of the class. - The collection of value-provider factories. - - - Retrieves a list of value-provider objects for the specified controller context. - The list of value-provider objects for the specified controller context. - An object that encapsulates information about the current HTTP request. - - - A value provider for name/value pairs. - - - - Initializes a new instance of the class. - The name/value pairs for the provider. - The culture used for the name/value pairs. - - - Initializes a new instance of the class, using a function delegate to provide the name/value pairs. - A function delegate that returns a collection of name/value pairs. - The culture used for the name/value pairs. - - - Determines whether the collection contains the specified prefix. - true if the collection contains the specified prefix; otherwise, false. - The prefix to search for. - - - Gets the keys from a prefix. - The keys. - The prefix. - - - Retrieves a value object using the specified key. - The value object for the specified key. - The key of the value object to retrieve. - - - Represents a value provider for query strings that are contained in a object. - - - Initializes a new instance of the class. - An object that encapsulates information about the current HTTP request. - An object that contains information about the target culture. - - - Represents a class that is responsible for creating a new instance of a query-string value-provider object. - - - Initializes a new instance of the class. - - - Retrieves a value-provider object for the specified controller context. - A query-string value-provider object. - An object that encapsulates information about the current HTTP request. - - - Represents a value provider for route data that is contained in an object that implements the IDictionary(Of TKey, TValue) interface. - - - Initializes a new instance of the class. - An object that contain information about the HTTP request. - An object that contains information about the target culture. - - - Represents a factory for creating route-data value provider objects. - - - Initializes a new instance of the class. - - - Retrieves a value-provider object for the specified controller context. - A value-provider object. - An object that encapsulates information about the current HTTP request. - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/Microsoft.AspNet.WebApi.WebHost.5.2.3.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/Microsoft.AspNet.WebApi.WebHost.5.2.3.nupkg deleted file mode 100644 index 22330832b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/Microsoft.AspNet.WebApi.WebHost.5.2.3.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.dll b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.dll deleted file mode 100644 index 4f2b581e4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.xml b/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.xml deleted file mode 100644 index 89aabcce6..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.AspNet.WebApi.WebHost.5.2.3/lib/net45/System.Web.Http.WebHost.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - System.Web.Http.WebHost - - - - Provides a global for ASP.NET applications. - - - - - - Gets the global . - - - Extension methods for - - - Maps the specified route template. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - - - Maps the specified route template and sets default route. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - - - Maps the specified route template and sets default route values and constraints. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for routeTemplate. - - - Maps the specified route template and sets default route values, constraints, and end-point message handler. - A reference to the mapped route. - A collection of routes for the application. - The name of the route to map. - The route template for the route. - An object that contains default route values. - A set of expressions that specify values for routeTemplate. - The handler to which the request will be dispatched. - - - A that passes ASP.NET requests into the pipeline and write the result back. - - - Initializes a new instance of the class. - The route data. - - - Initializes a new instance of the class. - The route data. - The message handler to dispatch requests to. - - - Provides code that handles an asynchronous task - The asynchronous task. - The HTTP context. - - - A that returns instances of that can pass requests to a given instance. - - - Initializes a new instance of the class. - - - Provides the object that processes the request. - An object that processes the request. - An object that encapsulates information about the request. - - - Gets the singleton instance. - - - Provides the object that processes the request. - An object that processes the request. - An object that encapsulates information about the request. - - - Provides a registration point for the simple membership pre-application start code. - - - Registers the simple membership pre-application start code. - - - Represents the web host buffer policy selector. - - - Initializes a new instance of the class. - - - Gets a value that indicates whether the host should buffer the entity body of the HTTP request. - true if buffering should be used; otherwise a streamed request should be used. - The host context. - - - Uses a buffered output stream for the web host. - A buffered output stream. - The response. - - - Provides the catch blocks used within this assembly. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteBufferedResponseContentAsync. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteBufferedResponseContentAsync. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteErrorResponseContentAsync. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteErrorResponseContentAsync. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.ComputeContentLength. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.ComputeContentLength. - - - Gets the label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteStreamedResponseContentAsync. - The label for the catch block in System.Web.Http.WebHost.HttpControllerHandler.WriteStreamedResponseContentAsync. - - - Gets the label for the catch block in System.Web.Http.WebHost.WebHostExceptionCatchBlocks.HttpWebRoute.GetRouteData. - The catch block in System.Web.Http.WebHost.WebHostExceptionCatchBlocks.HttpWebRoute.GetRouteData. - - - \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0.nupkg deleted file mode 100644 index 17269bb74..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0/lib/portable-net4+sl5+win+wpa+wp8/Microsoft.Azure.ActiveDirectory.GraphClient.dll b/samples/js-bot-framework/bot/packages/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0/lib/portable-net4+sl5+win+wpa+wp8/Microsoft.Azure.ActiveDirectory.GraphClient.dll deleted file mode 100644 index aa9a29f5d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Azure.ActiveDirectory.GraphClient.2.1.0/lib/portable-net4+sl5+win+wpa+wp8/Microsoft.Azure.ActiveDirectory.GraphClient.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/Microsoft.Azure.KeyVault.Core.1.0.0.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/Microsoft.Azure.KeyVault.Core.1.0.0.nupkg deleted file mode 100644 index a80d82963..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/Microsoft.Azure.KeyVault.Core.1.0.0.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/net40/Microsoft.Azure.KeyVault.Core.dll b/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/net40/Microsoft.Azure.KeyVault.Core.dll deleted file mode 100644 index 58d96294d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/net40/Microsoft.Azure.KeyVault.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/net40/Microsoft.Azure.KeyVault.Core.xml b/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/net40/Microsoft.Azure.KeyVault.Core.xml deleted file mode 100644 index 5c150ed91..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/net40/Microsoft.Azure.KeyVault.Core.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - Microsoft.Azure.KeyVault.Core - - - - - Interface for Keys - - - - - Decrypts the specified cipher text. - - The cipher text to decrypt - The initialization vector - The authentication data - The algorithm to use - Cancellation token - The plain text - If algorithm is not specified, an implementation should use its default algorithm. - Not all algorithms require, or support, all parameters. - - - - Encrypts the specified plain text. - - The plain text to encrypt - The initialization vector - The authentication data - The algorithm to use - Cancellation token - A Tuple consisting of the cipher text, the authentication tag (if applicable), the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm. - Not all algorithyms require, or support, all parameters. - - - - Encrypts the specified key material. - - The key material to encrypt - The algorithm to use - Cancellation token - A Tuple consisting of the encrypted key and the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm - - - - Decrypts the specified key material. - - The encrypted key material - The algorithm to use - Cancellation token - The decrypted key material - If the algorithm is not specified, an implementation should use its default algorithm - - - - Signs the specified digest. - - The digest to sign - The algorithm to use - Cancellation token - A Tuple consisting of the signature and the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm - - - - Verifies the specified signature value - - The digest - The signature value - The algorithm to use - Cancellation token - A bool indicating whether the signature was successfully verified - - - - The default encryption algorithm for this key - - - - - The default key wrap algorithm for this key - - - - - The default signature algorithm for this key - - - - - The key identifier - - - - - Interface for key resolvers. - - - - - Provides an IKey implementation for the specified key identifier. - - The key identifier to resolve - Cancellation token - The resolved IKey implementation or null - Implementations should check the format of the kid to ensure that it is recognized. Null, rather than - an exception, should be returned for unrecognized key identifiers to enable chaining of key resolvers. - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/portable-net45+wp8+wpa81+win/Microsoft.Azure.KeyVault.Core.dll b/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/portable-net45+wp8+wpa81+win/Microsoft.Azure.KeyVault.Core.dll deleted file mode 100644 index 266ca35cb..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/portable-net45+wp8+wpa81+win/Microsoft.Azure.KeyVault.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/portable-net45+wp8+wpa81+win/Microsoft.Azure.KeyVault.Core.xml b/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/portable-net45+wp8+wpa81+win/Microsoft.Azure.KeyVault.Core.xml deleted file mode 100644 index 5c150ed91..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Azure.KeyVault.Core.1.0.0/lib/portable-net45+wp8+wpa81+win/Microsoft.Azure.KeyVault.Core.xml +++ /dev/null @@ -1,114 +0,0 @@ - - - - Microsoft.Azure.KeyVault.Core - - - - - Interface for Keys - - - - - Decrypts the specified cipher text. - - The cipher text to decrypt - The initialization vector - The authentication data - The algorithm to use - Cancellation token - The plain text - If algorithm is not specified, an implementation should use its default algorithm. - Not all algorithms require, or support, all parameters. - - - - Encrypts the specified plain text. - - The plain text to encrypt - The initialization vector - The authentication data - The algorithm to use - Cancellation token - A Tuple consisting of the cipher text, the authentication tag (if applicable), the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm. - Not all algorithyms require, or support, all parameters. - - - - Encrypts the specified key material. - - The key material to encrypt - The algorithm to use - Cancellation token - A Tuple consisting of the encrypted key and the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm - - - - Decrypts the specified key material. - - The encrypted key material - The algorithm to use - Cancellation token - The decrypted key material - If the algorithm is not specified, an implementation should use its default algorithm - - - - Signs the specified digest. - - The digest to sign - The algorithm to use - Cancellation token - A Tuple consisting of the signature and the algorithm used - If the algorithm is not specified, an implementation should use its default algorithm - - - - Verifies the specified signature value - - The digest - The signature value - The algorithm to use - Cancellation token - A bool indicating whether the signature was successfully verified - - - - The default encryption algorithm for this key - - - - - The default key wrap algorithm for this key - - - - - The default signature algorithm for this key - - - - - The key identifier - - - - - Interface for key resolvers. - - - - - Provides an IKey implementation for the specified key identifier. - - The key identifier to resolve - Cancellation token - The resolved IKey implementation or null - Implementations should check the format of the kid to ensure that it is recognized. Null, rather than - an exception, should be returned for unrecognized key identifiers to enable chaining of key resolvers. - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/Microsoft.Bot.Builder.3.0.0.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/Microsoft.Bot.Builder.3.0.0.nupkg deleted file mode 100644 index 142363235..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/Microsoft.Bot.Builder.3.0.0.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Builder.XML b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Builder.XML deleted file mode 100644 index c159a71f6..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Builder.XML +++ /dev/null @@ -1,4203 +0,0 @@ - - - - Microsoft.Bot.Builder - - - - - Autofac module for Dialog components. - - - - - Caches data for and wraps the data in to be stored in - - - It sets to "*" when it flushes the data to storage. - As a result last write will overwrite the data. - - - - - Factory for IConnectorClient. - - - - - Make the IConnectorClient implementation. - - The IConnectorClient implementation. - - - - Make the implementation. - - The implementation. - - - - The stack of dialogs in the conversational process. - - - - - The dialog frames active on the stack. - - - - - Suspend the current dialog until an external event has been sent to the bot. - - The method to resume when the event has been received. - - - - Call a child dialog and add it to the top of the stack. - - The type of result expected from the child dialog. - The child dialog. - The method to resume when the child dialog has completed. - - - - Call a child dialog, add it to the top of the stack and post the item to the child dialog. - - The type of result expected from the child dialog. - The type of the item posted to child dialog. - The child dialog. - The method to resume when the child dialog has completed. - The item that will be posted to child dialog. - A cancellation token. - A task representing the Forward operation. - - - - Complete the current dialog and return a result to the parent dialog. - - The type of the result dialog. - The value of the result. - - - - Fail the current dialog and return an exception to the parent dialog. - - The error. - - - - Poll the dialog task for any work to be done. - - A cancellation token. - A task representing the poll operation. - - - - Resets the stack. - - - - - Methods to send a message from the user to the bot. - - - - - Post an item (e.g. message or other external event) to the bot. - - The item for the bot. - The cancellation token. - A task that represents the post operation. - - - - Private bot data. - - - - - Private bot data associated with a user (across all channels and conversations). - - - - - Private bot data associated with a conversation. - - - - - Private bot data associated with a user in a conversation. - - - - - Loads the bot data from - - The cancellation token. - - - - Flushes the bot data to - - The cancellation token. - - - - Methods to send a message from the bot to the user. - - - - - Post a message to be sent to the user. - - The message for the user. - The cancellation token. - A task that represents the post operation. - - - - Make a message. - - The new message. - - - Dialog that dispatches based on a regex matching input. - - - A single command. - - - Gets or sets the command ID used for persisting currently running command handler. - Command ID. - - - Gets or sets the regular expression for matching command. - The regular expression. - - - Gets or sets the command handler. - The command handler. - - - - The result handler of the command dialog passed to the child dialogs. - - The type of the result returned by the child dialog. - Dialog context. - The result retured by the child dialog. - - - Define a handler that is fired on a regular expression match of a message. - Type of input to result handler. - Regular expression to match. - Handler to call on match. - Optional result handler to be called if handler is creating a chaild dialog. - A commandDialog. - - - Define the default action if no match. - Type of input to result handler. - Handler to call if no match. - Optional result handler to be called if handler is creating a chaild dialog. - A CommandDialog. - - - - The top level composition root for the SDK. - - - - - Process an incoming message within the conversation. - - - This method: - 1. Instantiates and composes the required components. - 2. Deserializes the dialog state (the dialog stack and each dialog's state) from the . - 3. Resumes the conversation processes where the dialog suspended to wait for a . - 4. Queues s to be sent to the user. - 5. Serializes the updated dialog state in the messages to be sent to the user. - - The factory method is invoked for new conversations only, - because existing conversations have the dialog stack and state serialized in the data. - - The message sent to the bot. - The factory method to make the root dialog. - The cancellation token. - A task that represents the message to send inline back to the user. - - - - Resume a conversation and post the data to the dialog waiting. - - Type of the data. - The id of the bot. - The data sent to bot. - The cancellation token. - A task that represent the message to send back to the user after resumption of the conversation. - - - - A fluent, chainable interface for IDialogs. - - - - - When the antecedent has completed, execute this continuation method to construct the next . - - The type of the antecedent dialog. - The type of the next dialog. - The bot context. - The result of the previous . - A task that represents the next . - - - - Construct a that will make a new copy of another when started. - - The type of the dialog. - The dialog factory method. - The new dialog. - - - - Execute a side-effect after a completes. - - The type of the dialog. - The antecedent . - The callback method. - The antecedent dialog. - - - - Post to the user the result of a . - - The type of the dialog. - The antecedent . - The antecedent dialog. - - - - Post to the chain the message to the bot after the antecedent completes. - - The type of the dialog. - The antecedent . - The dialog representing the message sent to the bot. - - - - Post the message from the user to Chain. - - - The returned can be used as the root dialog for a chain. - - The dialog that dispatches the incoming message from the user to chain. - - - - When the antecedent has completed, execute the continuation to produce the next . - - The type of the antecedent dialog. - The type of the next dialog. - The antecedent . - The continuation to produce the next . - The next . - - - - When the antecedent has completed, project the result into a new . - - The type of the antecedent dialog. - The type of the projected dialog. - The antecedent dialog . - The projection function from to . - The result . - - - - When the antecedent has completed, evaluate the predicate and decide whether to continue. - - The type of the antecedent dialog. - The antecedent dialog . - The predicate to decide whether to continue the chain. - The result from the antecedent or its cancellation, wrapped in a . - - - - When the antecedent where T is completes, unwrap the result into a new . - - The type of the antecedent dialog. - The antecedent dialog where T is . - An . - - - - When the antecedent has completed, execute the next , and use the projection to combine the results. - - The type of the antecedent dialog. - The type of the intermediate dialog. - The type of the projected dialog. - The antecedent dialog . - The factory method to create the next dialog . - The projection function for the combination of the two dialogs. - The result . - - - - Loop the forever. - - The antecedent . - The looping dialog. - - - - Call the voided , ignore the result, then restart the original dialog wait. - - The type of the voided dialog. - The type of the original dialog wait. - The voided dialog. - The dialog that produces the item to satisfy the original wait. - - - - When the antecedent has completed, stop the propagation of an exception of . - - The type returned by the antecedent dialog. - The type of exception to swallow. - The antecedent dialog . - The default value of if there is an exception of type . - - - - When the antecedent has completed, stop the propagation of Exception. - - The type returned by the antecedent dialog. - The antecedent dialog . - The default value of if there is an Exception. - - - - When the antecedent has completed, go through each - and run the " of the first that - the returned value by the antecedent dialog satisfies. - - The type of the antecedent dialog. - The type of the Dialog returned by - The antecedent dialog . - Cases for the switch - The result . - - - - Creates a that returns a value. - - - The type of the value should be serializable. - - Type of the value. - The value to be wrapped. - The that wraps the value. - - - - Fold items from an enumeration of dialogs. - - The type of the dialogs in the enumeration produced by the antecedent dialog. - The antecedent dialog that produces an enumeration of . - The accumulator for the dialog enumeration. - The accumulated result. - - - - Constructs a case. - - The type of incoming value to case. - The type of the object returned by selector. - The condition of the case. - The contextual selector of the case. - - - - - Constructs a case based on a regular expression. - - The type of the object returned by selector. - The regex for condition. - The contextual selector for the case. - The case. - - - - Constructs a case to use as the default. - - The type of incoming value to case. - The type of the object returned by selector. - The contextual selector of the case. - The case. - - - - The exception that is thrown when the where is canceled. - - - - - Construct the exception. - - - - - This is the serialization constructor. - - The serialization info. - The streaming context. - - - - A Dialog that wraps a value of type T. - - - The type of the value should be serializable. - - The result type of the Dialog. - - - - The contextual selector function. - - The type of value passed to selector. - The returned type of the selector. - passed to selector. - The value passed to selector. - The value returned by selector. - - - - The interface for cases evaluated by switch. - - The type of incoming value to case. - The type of the object returned by selector. - - - - The condition field of the case. - - - - - The selector that will be invoked if condition is met. - - - - - The default implementation of . - - - - - Constructs a case. - - The condition of the case. - The contextual selector of the case. - - - - The regex case for switch. - - - The condition will be true if the regex matches the text. - - - - - Constructs a case based on a regular expression. - - The regex for condition. - The contextual selector for the case. - - - - The default case for switch. - - - - - Constructs the default case for switch. - - The contextual selector that will be called in default case. - - - - The root of the exception hierarchy related to prompts. - - - - - Initializes a new instance of the PromptException class with a specified error message. - - The message that describes the error. - - - - The exception representing too many attempts by the user to answer the question asked by the prompt. - - - - - Initializes a new instance of the TooManyAttemptsException class with a specified error message. - - The message that describes the error. - - - - The resumption cookie that can be used to resume a conversation with a user. - - - - - The user Id. - - - - - The user name. - - - - - The channelId. - - - - - The bot Id. - - - - - The service url. - - - - - The IsGroup flag for conversation. - - - - - The Id of the conversation that will be resumed. - - - - - The locale of message. - - - - - Creates an instance of the resumption cookie. - - The user Id. - The bot Id. - The conversation Id. - The channel Id of the conversation. - The service url of the conversation. - The locale of the message. - - - - Creates an instance of resumption cookie form a - - The message. - - - - Creates a message from the resumption cookie. - - The message that can be sent to bot based on the resumption cookie - - - - Deserializes the GZip serialized using . - - The Base64 encoded string. - An instance of - - - - Helper methods. - - - Helper methods. - - - - - Binary serializes using . - - The resumption cookie. - A Base64 encoded string. - - - - Gets the value associated with the specified key. - - The type of the value to get. - The bot data bag. - 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 KeyNotFoundException. - - - - Post a message to be sent to the bot, using previous messages to establish a conversation context. - - - If the locale parameter is not set, locale of the incoming message will be used for reply. - - Communication channel to use. - The message text. - The locale of the text. - The cancellation token. - A task that represents the post operation. - - - - Suspend the current dialog until the user has sent a message to the bot. - - The dialog stack. - The method to resume when the message has been received. - - - - Generates buttons from options and add them to the message. - - - should implement ToString(). - - Type of the options. - The message that the buttons will be added to. - The text in the . - The options that cause generation of buttons. - - - - A property bag of bot data. - - - - - Gets the number of key/value pairs contained in the . - - - - - Gets the value associated with the specified key. - - The type of the value to set. - The key of the value to get. - - When this method returns, contains the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - - true if the contains an element with the specified key; otherwise, false. - - - - Adds the specified key and value to the bot data bag. - - The type of the value to get. - The key of the element to add. - The value of the element to add. The value can be null for reference types. - - - - Removes the specified key from the bot data bag. - - They key of the element to remove - True if removal of the key is successful; otherwise, false - - - - Removes all of the values from data bag. - - - - - Capability for a specific channel - - - - - True if the channel support buttons, false otherwise. - - - - - Channel capability detector. - - - - - Detects channel capabilities. - - - Capabilities of a channel. - - - - - Associate a LUIS intent with a dialog method. - - - - - The LUIS intent name. - - - - - Construct the association between the LUIS intent and a dialog method. - - The LUIS intent name. - - - - The handler for a LUIS intent. - - The dialog context. - The LUIS result. - A task representing the completion of the intent processing. - - - - An exception for invalid intent handlers. - - - - - Matches a LuisResult object with the best scored IntentRecommendation of the LuisResult. - - - - - A dialog specialized to handle intents and entities from LUIS. - - - - Mapping from intent string to the appropriate handler. - - - - Construct the LUIS dialog. - - The LUIS service. - - - - Calculates the best scored from a . - - A result of a LUIS service call. - The best scored , or null if doesn't contain any intents. - - - - Calculates the best scored across some objects. - - Results of multiple LUIS services calls. - A with the best scored and related , - or null if no one of contains any intents. - - - - Enumerate the handlers based on the attributes on the dialog instance. - - The dialog. - An enumeration of handlers. - - - - Allow object instances to serialized to URLs. Base64 can not be stored in URLs due to special characters. - - - We use Bson and Gzip to make it small enough to fit within the maximum character limit of URLs. - http://stackoverflow.com/a/32999062 suggests HttpServerUtility's UrlTokenEncode and UrlTokenDecode - is not standards-compliant, but they seem to do the job. - - - - - Encode an item to be stored in a url. - - The item type. - The item instance. - The encoded token. - - - - Decode an item from a url token. - - The item type. - The item token. - The item instance. - - - - A is a suspendable conversational process that produces a result of type . - - - Dialogs can call child dialogs or send messages to a user. - Dialogs are suspended when waiting for a message from the user to the bot. - Dialogs are resumed when the bot receives a message from the user. - - The result type. - - - - The start of the code that represents the conversational dialog. - - The dialog context. - A task that represents the dialog start. - - - - A is a suspendable conversational process that produces an ignored result. - - - - - Encapsulates a method that represents the code to execute after a result is available. - - - The result is often a message from the user. - - The type of the result. - The dialog context. - The result. - A task that represents the code that will resume after the result is available. - - - - Encapsulate a method that represents the code to start a dialog. - - The dialog context. - A task that represents the start code for a dialog. - - - - The context for the bot. - - - - - The context for the execution of a dialog's conversational process. - - - - - The style of generated prompt - - - - - Generate buttons for choices and let connector generate the right style based on channel capabilities - - - - - Show choices as Text. - - The prompt decides if it should generate the text inline or perline based on number of choices. - - - - Show choices on the same line. - - - - - Show choices with one per line. - - - - - Do not show possible choices in the prompt - - - - - Options for . - - The type of the options. - - - - The prompt. - - - - - What to display on retry. - - - - - The prompt choices. - - - - - What to display when user didn't say a valid response after . - - - - - Maximum number of attempts. - - - - - Styler of the prompt . - - - - - Default retry prompt that is used if is null. - - - - - Default string that is used if is null. - - - - - Constructs the prompt options. - - The prompt. - What to display on retry. - What to display when user didn't say a valid response after . - The prompt choices. - Maximum number of attempts. - The prompt styler. - - - - Styles a prompt - - - - - Style of the prompt . - - - - - . - - The type of the options. - The message. - The prompt. - The options. - The prompt style. - - - - Style a prompt and populate the . - - The message that will contain the prompt. - The prompt. - - - - Style a prompt and populate the message based on . - - The type of the options. - The message that will contain the prompt. - The prompt. - The options. - - should implement . - - - - Dialog factory for simple prompts. - The exception will be thrown if the number of allowed attempts is exceeded. - - - Prompt for a string. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - - - Ask a yes/no question. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - Style of the prompt - - - - Ask a yes/no questions. - - The dialog context. - Resume handler. - The options for the prompt, . - - - Prompt for a long. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - - - Prompt for a double. - The context. - Resume handler. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - - - Prompt for one of a set of choices. - The context. - Resume handler. - The possible options all of which must be convertible to a string. - The prompt to show to the user. - What to show on retry. - The number of times to retry. - Style of the prompt - - - - Prompt for one of a set of choices. - - should implement - The type of the options. - The dialog context. - Resume handler. - The prompt options. - - - - Prompt for an attachment - - The dialog context. - Resume handler. - The prompt to show to the user. - The optional content types the attachment type should be part of - What to show on retry - The number of times to retry - - - Prompt for a text string. - Normally used through . - - - Constructor for a prompt string dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - - - Prompt for a confirmation. - Normally used through . - - - - The yes, no options for confirmation prompt - - - - Constructor for a prompt confirmation dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - Style of the prompt - - - - Constructor for a prompt confirmation dialog. - - THe prompt options. - - - Prompt for a confirmation. - Normally used through . - - - Constructor for a prompt int64 dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - - - Prompt for a double. - Normally used through . - - - Constructor for a prompt double dialog. - The prompt. - What to display on retry. - Maximum number of attempts. - - - Prompt for a choice from a set of choices. - Normally used through . - - - Constructor for a prompt choice dialog. - Enumerable of the options to choose from. - The prompt. - What to display on retry. - Maximum number of attempts. - Style of the prompt - - - - Constructs a choice dialog. - - The prompt options - - - Prompt for an attachment - Normally used through . - - - Constructor for a prompt attachment dialog. - The prompt. - What to display on retry. - The optional content types the attachment type should be part of. - The content types that is used to filter the attachments. Null implies any content type. - - - - Explicit interface to support the compiling of async/await. - - The type of the contained value. - - - - Get the awaiter for this awaitable item. - - The awaiter. - - - - Autofac module for Fiber components. - - - - - Eagerly enumerate the services keyed with that will not be serialized. - - - Services marked with will not serialize their dependencies either. - - - - - Autofac module for Fiber components. - - - - - Extend with a "tester" method used by . - - - - - Determine whether this surrogate provider handles this type. - - The query type. - The serialization context. - The priority of this provider. - True if this provider handles this type, false otherwise. - - - Fill in field information through reflection. - The resulting information can be overriden through the fluent interface. - The form state. - - - Construct an through reflection. - Path to the field in your form state. - True to ignore annotations. - - - True to ignore annotations. - - - Path to field value in state. - - - A resource localizer. - - - - Confirmation - - Form state. - - - - Construct a confirmation. - - Confirmation prompt expressed using \ref patterns. - Delegate for whether confirmation applies. - Fields that must have values before confirmation can run. - Form that contains confirmation. - - - - Construct a confirmation dynamically. - - Delegate for building confirmation. - Delegate to see if confirmation is active. - Fields that must have values before confirmation can run. - Form that contains confirmation. - - - Define field delegate. - Form state type. - Form state. - Field being dynamically defined. - True if field is defined. - Delegate for dynamically defining a field prompt and recognizer. You can make use of the fluent methods - on to change the characteristics of the field. - - - Base class with declarative implementation of IField. - Underlying form state. - - - Construct field. - Name of field. - Role field plays in form. - - - Set the field description. - Field description. - A . - - - Set the terms associated with the field. - The terms. - A . - - - Adds a description for a value. - The value. - Description of the value. - Image to use for value as button. - A . - - - Adds terms for a value. - The value. - The terms. - A . - - - Removes the description and terms associated with a value. - The value to remove. - A . - - - Removes all values and their associated descriptions and terms. - A . - - - Sets the type of the underlying field state. - The field type. - A . - - - Set whether or not a field is optional. - True if field is optional. - A . - - - Sets whether or not multiple values are allowed. - True if multiple values are allowed. - A . - - - Set whether or not field is nullable. - True if field is nullable. - A . - - - Define a delegate for checking state to see if field applies. - The condition delegate. - A . - - - Define a delegate for dynamically defining field. - The definition delegate. - A . - When you dynamically define a field through this delegate you can use all of the fluent methods - defined on to change the descriptions and terms dynamically. - - - Sets the field prompt. - The prompt. - A . - - - Sets the recognizer for the field. - The recognizer for the field. - A . - - This should only be called when you are dynamically defining a field using a because - recognizers usually require the field and often change if the localization changes. - - - - Replace a template in the field. - The template. - A . - - - Set the field validation. - The validator. - A . - - - Set numeric limits. - The minimum. - The maximum. - A . - - - - Regular expression for validating strings. - - Validation regular expression. - A . - - - Define the fields this field depends on. - A variable-length parameters list containing dependencies. - A . - - - - Dictionary of all fields indexed by name. - - Underlying form state. - - - Mapping from field name to field definition. - - - - Interface that defines basic access to a field. - - The form state that is read or written to. - - - - Get this field value from form state. - - Form state to get field value from. - Current value found in state. - - - - Set this field value in form state. - - Form state to set field value in. - New value. - - - - Test to see if the field value form state has a value. - - Form state to check. - True if value is unknown. - - For value types (numbers, bools, date time) a value is unknown only if the field is nullable and it is null. - For enum based values (both simple and enumerated) they can also be nullable or the 0 enum value if not nullable. - For non value types like string the test is to see if the field is actually null. - - - - - Set this field value in form state to unknown. - - Form state with field value to set to unknown. - - For value types (numbers, bools, date time) the value is set to null if nullable. - For enum types it is set to null if nullable or 0 if not. - For non value types like string set the value to null. - - - - Gets the type of the field. - The type. - - - - Test to see if field is optional which means that an unknown value is legal. - - True if field is optional. - - - - Test to see if field is nullable. - - True if field is nullable. - - - - Limits of numeric values. - - Minimum possible value. - Maximum possible value. - True if limits limit the underlying data type. - - This typically reflects the result of setting limits on the possible values. - - - - Regular expression for validating a string. - - Validation regular expression. - This typically reflects the result of setting . - - - - Returns the other fields this one depends on. - - List of field names this one depends on. - This is mainly useful for fields. - - - - The role the field plays in a form. - - - - - Field is used to get a value to set in the form state. - - This is the kind of field generated by . - - - - Field is used to confirm some settings during the dialog. - - - This is the kind of field generated by . - - - - - Describe the information displayed about a field and its values. - - - Throughout this class Description refers to the name of a field or a value - whereas "terms" tell what people can type to match the field or terms in it. - When generating terms it is a good idea to include anything that might be reasonable - for someone to type. The form dialog itself will help clarify any ambiguity. One - way to do this is to use which ensures that - is called on your base terms. - - - - - Role field plays in a form. - - Role field plays in form. - - - - Decription of the field itself. - - Field description. - - This is the value that will be generated in \ref patterns by {&} or choices. {||}. - - - - - Terms for matching this field. - - List of term regex for matching the field name. - - - - Return the string describing a specific value. - - Value being described. - Description of value. - - - - Return all possible value descriptions in order to support enumeration. - - All possible value descriptions. - - - - Given a value return terms that can be used in a dialog to match the object. - - Value that would result from a match. - Enumeration of regex. - - - - All possible values or null if it is a data type like number. - - All possible values. - - - - Are multiple matches allowed. - - True if more than one value is allowed. - This is true is you have a list of enumerated values. - - - - Allow the default value as an option. - - True if default values are allowed. - - - - Allow user input to match numbers shown with enumerated choices. - - True if numbers are allowed as input. - - - Interface for saving/localizing generated resources. - - - Adds any string resources to form localizer. - - - Loads any string resources from the form localizer. - - - - Direction for next step. - - - As each step in a form completes, the step can determine the next step to take. - Usually this is just to move onto the next active, uncompleted step, but you can - also move back or present a list of choices to the user. - A step is active if returns true on the current state. - A step is ready if it has not already been successfully completed. - - - - - The form is complete and should be called. - - - - - Move to a named step. If there is more than one name, the user will be asked to choose. - - - - - Move to the next step that is and uncompleted. - - - - - Move to the previously executed step. - - - - - Quit the form and return failure to the parent dialog. - - - - - Reset the form to start over. - - - - - Next step to take. - - - - - By default move on to the next active, uncompleted step. - - - - - Move as specified in direction. - - What step to do next. - - - - Ask the user which of the fields to move to next. - - Enumeration of possible next steps. - - - - Direction for next step. - - - - - If this is a named step, one or more named steps to move to. If there are more than one, the user will choose. - - - - - This provides control information about a field. - - Form state that is being completed. - - - - Test to see if field is currently active based on the current state. - - True if field is active. - - One way to control this is to supply a to the - or steps. - - - - - Return a template for building a prompt. - - Kind of template we are looking for. - NULL if no template, otherwise a template annotation. - - - Returns the prompt description. - An describing prompt and recognizer. - If a prompt is dyhamically computed this should be null until is called. - - - - Build the prompt and recognizer for dynamically defined fields. - - True if field is defined. - - This method is called before asking for . - This provides an opportunity to dynamically define the field based on the current - state or external information. The method - identifies fields that this one depends on. All of them will be complete before the field - will be shown to the user, but this method might be called earlier in order to define the field - for things like status and initial matching or validation. - - - - - Validate value to be set on state and return feedback if not valid. - - State before setting value. - Value to be set in field. - Result including feedback and if valid. - - One way to control this is to supply a to the - or steps. - - - - - Return the help description for this field. - - The prompt to use for generating help. - - Help is a mixture of field specific help, what a recognizer understands and available commands. - - - - - Next step to execute. - - Value in response to prompt. - Current form state. - Next step to execute. - - - - Interface for all the information about a specific field. - - Form state interface applies to. - - - - Name of this field. - - Name of this field. - - For a value field this is the path in the form state that leads to the value being filled in. - For a confirm field this is a randomly generated name. - - - - - Form that owns this field - - - - - Interface to track all of the fields in a form. - - - - - - Return a specific field or null if not present. - - Name of field to find. - Field description for name or null. - - - Interface for localizing string resources. - - - - Return the localizer culture. - - Current culture. - - - - Add a key and its translation. - - Key for indexing translation. - Translation for key. - - - - Add a key and a list of translations seperated by semi-colon. - - Key for indexing translation list. - List of translated terms. - - - Adds value from dictionary under object if enumeration and prefix;object otherwise. - The resource prefix. - The dictionary to add. - - - Adds values from dictionary seperated by semi-colons under object if enumeration and prefix;object otherwise. - The resource prefix. - The dictionary to add. - - - Adds patterns from template seperated by semi-colons under prefix;usage. - The resource prefix. - The template dictionary to add. - - - Adds patterns from template seperated by semi-colons under prefix;usage. - The resource prefix. - The template to add. - - - - Translate a key to a translation. - - Key to lookup. - Value to set if present. - True if value is found. - - - - Translate a key to an array of values. - - Key to lookup. - Array value to set if present. - True if value is found. - - - Look up prefix;object from dictionary and replace value from localizer. - The prefix. - Dictionary with existing values. - - - Look up prefix;object from dictionary and replace values from localizer. - The prefix. - Dictionary with existing values. - - - Looks up prefix;usage and replace patterns in template from localizer. - The prefix. - Template dictionary with existing values. - - - - Remove a key from the localizer. - - Key to remove. - - - - Save localizer resources to stream. - - Where to write resources. - - Resource values are all strings. The key and value can have different parts seperated by semi-colons. - Key | Value | Description - ----|-------|------------ - key;VALUE | string | Simple value. - key;LIST | string[;string]* | List of values. - usage;field[;field]*;TEMPLATE | pattern[;pattern]* | List of template patterns. Key includes fields that use template. - - - - - Load the localizer from a stream. - - Dictionary with resources. - Keys found in current localizer that are not in loaded localizer. - Keys found in loaded localizer that were not in current localizer. - New localizer from reader. - - to see resource format. - - - - - Language related utilities. - - - - - Language stop words. - - - - - Language articles. - - - - - Test to see if word is all punctuation or white space. - - Word to check. - True if word is all punctuation or white space. - - - - Test to see if a word is all noise. - - Word to test. - True if word is a number, a or a . - - - - Test to see if a word can be ignored in a resposne. - - Word to test. - True if word is a or a . - - - - Test a word for articles or noise. - - Word to test. - True if word is or . - - - - Test words to see if they are all ignorable in a response. - - - - - - - Regular expression to break a string into words. - - - - - Break input into words. - - String to be broken. - Enumeration of words. - - - - Break a string into words based on _ and case changes. - - Original string. - String with words on case change or _ boundaries. - - - - Make sure all words end with an optional s. - - Words to pluralize. - Enumeration of plural word regex. - - - - Generate regular expressions to match word sequences in original string. - - Original string to be processed. - Maximum phrase length to support. - Array of regular expressions to match subsequences in input. - - This function will call and then will generate sub-phrases up to maxLength. - For example an enumeration of AngusBeefAndGarlicPizza would generate: 'angus?', 'beefs?', 'garlics?', 'pizzas?', 'angus? beefs?', 'garlics? pizzas?' and 'angus beef and garlic pizza'. - You can call it directly, or it is used when generates terms or when is used with a argument. - - - - - Switch 'a' before consonants and 'an' before vowels. - - String to fix. - String with 'a' and 'an' normalized. - - This is not perfect because English is complex, but does a reasonable job. - - - - - Given a list of string values generate a proper English list. - - Value in list. - Separator between all elements except last. - Last element separator. - Value in a proper English list. - - - Normalize a string. - The value to normalize. - The normalization to apply. - A normalized string. - - - - Recognizer for enumerated values. - - - - - Delegate for mapping from a C# value to it's description. - - C# value to get description for. - Description of C# value. - - - - Delegate to return the terms to match on for a C# value. - - C# value to get terms for. - Enumeration of regular expressions to match on for value. - - - - Constructor based on . - - Field with enumerated values. - - - - Abstract class for constructing primitive value recognizers. - - Form state. - - - - Constructor using . - - Field to build recognizer for. - - - - Abstract method for parsing input. - - Input to match. - TermMatch if input is a match. - - - - Return the help template args for current choice and no preference. - - Form state. - Current value of field. - - - - - Field being filled information. - - - - - Recognize a boolean value. - - Form state. - - - - Construct a boolean recognizer for a field. - - Boolean field. - - - - Recognize a string field. - - Form state. - - - - Construct a string recognizer for a field. - - String field. - - - - Recognize a numeric field. - - Form state. - - - - Construct a numeric recognizer for a field. - - Numeric field. - - - - Recognize a double or float field. - - - - - - Construct a double or float recognizer for a field. - - Float or double field. - - - - Recognize a date/time expression. - - Form state. - - Expressions recognized are based the C# Chronic parser for English and - the C# DateTime parser otherwise. - - - - - Construct a date/time recognizer. - - DateTime field. - - - - Abstract base class used by all attributes that use \ref patterns. - - - - - When processing choices {||} in a \ref patterns string, provide a choice for the default value if present. - - - - - Control case when showing choices in {||} references in a \ref patterns string. - - - - - Format string used for presenting each choice when showing {||} choices in a \ref patterns string. - - The choice format is passed two arguments, {0} is the number of the choice and {1} is the field name. - - - - When constructing inline lists of choices using {||} in a \ref patterns string, the string used before the last choice. - - - - - When constructing inline choice lists for {||} in a \ref patterns string controls whether to include parentheses around choices. - - - - - When constructing inline lists using {||} in a \ref patterns string, the string used between all choices except the last. - - - - - How to display choices {||} when processed in a \ref patterns string. - - - - - Control what kind of feedback the user gets after each input. - - - - - Control case when showing {&} field name references in a \ref patterns string. - - - - - When constructing lists using {[]} in a \ref patterns string, the string used before the last value in the list. - - - - - When constructing lists using {[]} in a \ref patterns string, the string used between all values except the last. - - - - - Control case when showing {} value references in a \ref patterns string. - - - - - The pattern to use when generating a string using . - - If multiple patterns were specified, then each call to this function will return a random pattern. - Pattern to use. - - - - All possible templates. - - The possible templates. - - - - Any default values in this template will be overridden by the supplied . - - Default template to use to override default values. - - - - Initialize with multiple patterns that will be chosen from randomly. - - Possible patterns. - - - - Initialize from another template. - - The template to copy from. - - - - Type implements ICollection. - - Type to check. - True if implements ICollection. - - - - Type implements IEnumerable. - - Type to check. - True if implements IEnumerable. - - - - Type implements IList. - - Type to check. - True if implements IList. - - - - Type implements generic ICollection. - - Type to check. - True if implements generic ICollection. - - - - Type implements generic IEnumerable. - - Type to check. - True if implements generic IEnumerable. - - - - Type is integral. - - Type to check. - True if integral. - - - - Type is float or double. - - Type to check. - True if float or double. - - - - Type implements generic IList. - - Type to check. - True if implements generic IList. - - - - Type is nullable. - - Type to check. - True if nullable. - - - - Return the underlying type of generic IEnumerable. - - Type to check. - True if implements generic IEnumerable. - - - - Interface for a prompt and its associated recognizer. - - Form state. - - This interface allows taking a \ref patterns expression and making it into a string with the template parts filled in. - - - - - Description of the prompt and how to generate it. - - Attribute describing how to generate prompt. - - - - Return prompt to send to user. - - Current form state. - Current field being processed. - Optional arguments. - Message to user. - - - - Associated recognizer if any. - - Recognizer for matching user input. - - - - The prompt that is returned by form prompter. - - - - - The text prompt that corresponds to Message.Text. - - - - - The buttons that will be mapped to Message.Attachments. - - - - - Deep clone the FormPrompt. - - A deep cloned instance of FormPrompt. - - - - A Form button that will be mapped to Connector.Action. - - - - - Picture which will appear on the button. - - - - - Message that will be sent to bot when this button is clicked. - - - - - Label of the button. - - - - - URL which will be opened in the browser built-into Client application. - - - - - Clone the FormButton - - A new cloned instance of object. - - - - ToString() override. - - Title of the button. - - - A prompt and recognizer packaged together. - UNderlying form type. - - - - Construct a prompter. - - Annotation describing the \ref patterns and formatting for prompt. - Current form. - Recognizer if any. - Fields name lookup. (Defaults to forms.) - - - Validate pattern by ensuring they refer to real fields. - The form. - Specifies the pattern. - Full pathname of the field. - The number of arguments passed to the pattern. - true if it succeeds, false if it fails. - - - - Enumeration of special kinds of matches. - - - - - Match corresponds to a field, not a specific value in the field. - - - - - Describe a possible match in the user input. - - - - - Construct a match. - - Start of match in input string. - Length of match in input string. - Confidence of match, 0-1.0. - The underlying C# value for the match. - - - - Start of match in input string. - - - - - End of match in input string. - - - - - Length of match in input string. - - - - - Confidence of match, 0-1.0. - - - - - Underlying C# value. - - - - - Check to see if this covers the same span as match. - - TermMatch to compare. - True if both cover the same span. - - - - Check to see if this completely covers match. - - TermMatch to compare. - True if this covers all of match. - - - - Check to see if this overlaps with match in input. - - TermMatch to compare. - True if the matches overlap in the input. - - - - Interface for recognizers that look for matches in user input. - - Underlying form state. - - - Return the arguments to pass to the prompt. - For example a numeric recognizer might pass min and max values. - An array of arguments. - - - - Return all possible values or null if a primitive type. - - All possible values. - - - - Return all possible value descriptions in order to support enumeration. - - All possible value descriptions. - - - - Return the description of a specific value. - - Value to get description of. - Description of the value. - - - - Return valid inputs to describe a particular value. - - Value being checked. - Valid inputs for describing value. - - - - Return the help string describing what are valid inputs to the recognizer. - - Help on what the recognizer accepts. - - - - Return the matches found in the input. - - The input string being matched. - The default value or null if none. - Match records. - - - - Static factory methods for creating form dialogs. - - - - - Create an using the default . - - The form type. - The form options. - The form dialog. - - - - Create an using the parameter. - - The form type. - The delegate to build the form. - The form options. - The form dialog. - - - - Options for form execution. - - - - - No options. - - - - - Prompt when the dialog starts. - - - - - Prompt for fields that already have a value in the initial state when processing form. - - - - - Delegate for building the form. - - The form state type. - An . - This is a delegate so that we can rebuild the form and don't have to serialize - the form definition with every message. - - - - Form dialog to fill in your state. - - The type to fill in. - - This is the root class for managing a FormFlow dialog. It is usually created - through the factory methods - or . - - - - Constructor for creating a FormFlow dialog. - The intial state. - A delegate for building the form. - Options for controlling the form. - Optional entities to process into the form. - The culture to use. - For building forms . - - - - Find the next step to execute. - - What step to execute next. - True if can switch to step. - - - Abstract base class for Form Builders. - Form state class. - - - Build a form by specifying messages, fields and confirmations via reflection or programatically. - Form state class. - - Fields will be defined through reflection over the type and attributes like - , - , - - , - , - and - . - For all of the attributes, resonable defaults will be generated. - - - - - Create a new form builder for building a form using reflection. - - True to ignore any attributes on the form class. - - - Given return a with a template for the message to display. - Form state type. - Form state. - A PromptAttribute describing the message to display. - - - Interface for building a form. - - A form consists of a series of steps that can be one of: - - A message to the user. - A prompt sent to the user where the response is to fill in a form state value. - A confirmation of the current state with the user. - - By default the steps are executed in the order of the , and calls. - If you do not take explicit control, the steps will be executed in the order defined in the - form state with a final confirmation. - This interface allows you to flently build a form by composing together fields, - messages and confirmation. The fluent building blocks provide common patterns - like fields being based on your state class, but you can also build up your - own definition of a form by using Advanced.IField. - If you want to build a form using C# reflection over your state class use FormBuilder. - To declaratively build a form through JSON Schema you can use Json.FormBuilderJson. - - Forms are sensitive to the current thread UI culture. The Microsoft.Bot.Builder strings will localize - to that culture if available. You can also localize the strings generated for your form by calling IForm.SaveResources - or by using the RView tool and adding that resource to your project. For strings in dynamic fields, messages or confirmations you will - need to use the normal C# mechanisms to localize them. Look in the overview documentation for more information. - - Form state. - - - - Build the form based on the methods called on the builder. - - Assembly for localization resources. - Name of resources to use for localization. - The constructed form. - - The default assembly is the one that contains - and the default resourceName if the name of that type. - - - - - The form configuration supplies default templates and settings. - - The current form configuration. - - - - Show a message that does not require a response. - - A \ref patterns string to fill in and send. - Whether or not this step is active. - Fields message depends on. - Modified IFormBuilder. - - - - Show a message with more format control that does not require a response. - - Message to fill in and send. - Whether or not this step is active. - Fields message depends on. - Modified IFormBuilder. - - - Generate a message using a delegate to dynamically build the message. - Delegate for building message. - Whether or not this step is active. - Fields message depends on. - Modified IFormBuilder. - - - - Derfine a field step by supplying your own field definition. - - Field definition to use. - Modified IFormBuilder. - - You can provide your own implementation of or you can - use the class to provide fluent values, - to use reflection or Json.FieldJson to use JSON Schema. - - - - - Define a step for filling in a particular value in the form state. - - Path in the form state to the value being filled in. - Delegate to test form state to see if step is active. - Delegate to validate the field value. - Modified IFormBuilder. - - - - Define a step for filling in a particular value in the form state. - - Path in the form state to the value being filled in. - Simple \ref patterns to describe prompt for field. - Delegate to test form state to see if step is active.n - Delegate to validate the field value. - Modified IFormBuilder. - - - - Define a step for filling in a particular value in the form state. - - Path in the form state to the value being filled in. - Prompt pattern with more formatting control to describe prompt for field. - Delegate to test form state to see if step is active.n - Delegate to validate the field value. - Modified IFormBuilder. - - - - Add all fields not already added to the form. - - Fields not to include. - Modified IFormBuilder. - - This will add all fields defined in your form that have not already been - added if the fields are supported. - - - - - Add a confirmation step. - - Prompt to use for confirmation. - Delegate to test if confirmation applies to the current form state. - What fields this confirmation depends on. - Modified IFormBuilder. - - If prompt is not supplied the \ref patterns element {*} will be used to confirm. - Dependencies will by default be all active steps defined before this confirmation. - - - - - Add a confirmation step. - - Prompt to use for confirmation. - Delegate to test if confirmation applies to the current form state. - What fields this confirmation depends on. - Modified IFormBuilder. - - Dependencies will by default be all active steps defined before this confirmation. - - - - Generate a confirmation using a delegate to dynamically build the message. - Delegate for building message. - Whether or not this step is active. - What fields this confirmation depends on. - Modified IFormBuilder. - - - - Delegate to call when form is completed. - - Delegate to call on completion. - Modified IFormBuilder. - - This should only be used for side effects such as calling your service with - the form state results. In any case the completed form state will be passed - to the parent dialog. - - - - - Test to see if there is already a field with . - - - True if field is already present. - - - - Default values for the form. - - - These defaults can all be overriden when you create a form and before you add steps. - - - - - Construct configuration. - - - - - Default prompt and template format settings. - - - When you specify a or , any format - value you do not specify will come from this default. - - - - - Enumeration of strings for interpreting a user response as setting an optional field to be unspecified. - - - The first string is also used to describe not having a preference for an optional field. - - - - - Enumeration of strings for interpreting a user response as asking for the current value. - - - The first value is also used to describe the option of keeping the current value. - - - - - Enumeration of values for a "yes" response for boolean fields or confirmations. - - - - - Enumeration of values for a "no" response for boolean fields or confirmations. - - - - - String for naming the "navigation" field. - - - - - Default templates to use if not override on the class or field level. - - - - - Definitions of the built-in commands. - - - - - Look up a particular template. - - Desired template. - Matching template. - - - Form definition interface. - Form state. - - - - Fields that make up form. - - - - Save all string resources to binary stream for future localization. - Where to write resources. - - - Localize all string resources from binary stream. - Where to read resources. - [out] Any values in the form, but missing from the stream. - [out] Any values in the stream, but missing from the form. - When you localize all form string resources will be overridden if present in the stream. - Otherwise the value will remain unchanged. - - - - - Abstract base class for FormFlow attributes. - - - - - True if attribute is localizable. - - - Attributes that are used on classes, fields and properties should have this set. - That way those attributes will be in the localization files that are generated. - - - - - Attribute to override the default description of a field, property or enum value. - - - - - Description of the field, property or enum. - - - - - URL of image to use when creating buttons. - - - - - Description for field, property or enum value. - - Description of field, property or enum value. - URL of image to use when generating buttons. - - - - Attribute to override the default terms used to match a field, property or enum value to user input. - - - By default terms are generated by calling the method with a max phrase length of 3 - on the name of the field, property or enum value. Using this attribute you can specify your own regular expressions to match or if you specify the - attribute you can cause to be called on your strings with the - maximum phrase length you specify. - - - - - Regular expressions for matching user input. - - - - - The maximum pharse length to use when calling on your supplied terms. - - - - - Regular expressions or terms used when matching user input. - - - If is specified the supplied alternatives will be passed to to generate regular expressions - with a maximum phrase size of . - - Regular expressions or terms. - - - - Specifies how to show choices generated by {||} in a \ref patterns string. - - - - - Use the default from the . - - - - - Automatically choose how to render choices. - - - - - Automatically generate text and switch between the and styles based on the number of choices. - - - - - Show choices on the same line. - - - - - Show choices with one per line. - - - - Show choices on the same line without surrounding parentheses. - - - - How to normalize the case of words. - - - - - Use the default from the . - - - - - First letter of each word is capitalized - - - - - Normalize words to lower case. - - - - - Normalize words to upper case. - - - - - Don't normalize words. - - - - - Three state boolean value. - - - This is necessary because C# attributes do not support nullable properties. - - - - - Use the default from the . - - - - - Boolean true. - - - - - Boolean false. - - - - - Control how the user gets feedback after each entry. - - - - - Use the default from the . - - - - - Provide feedback using the template only if part of the user input was not understood. - - - - - Provide feedback after every user input. - - - - - Never provide feedback. - - - - - Define the prompt template used when asking about a field. - - - Prompts use \ref Templates to provide control over what goes into a prompt. - - - - - Define a prompt with one or more \ref patterns patterns to choose from randomly. - - Patterns to select from. - - - - Define a prompt based on a . - - Template to use. - - - - All of the built-in templates. - - - A good way to understand these is to look at the default templates defined in - - - - An enum constant representing the none option. - - - - How to ask for a boolean. - - - - - What you can enter when entering a bool. - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - - - - - Clarify an ambiguous choice. - - This template can use {0} to capture the term that was ambiguous. - - - - Default confirmation. - - - - - Show the current choice. - - - This is how the current choice is represented as an option. - If you change this, you should also change - so that what people can type matches what you show. - - - - - How to ask for a . - - - - - What you can enter when entering a . - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - - - This template can use {0} to get the current choice or {1} for no preference if field is optional. - - - - - How to ask for a double. - - - Within this template if numerical limits are specified using , - {0} is the minimum possible value and {1} is the maximum possible value. - - - - - What you can enter when entering a double. - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - If limits are specified through , then {2} will be the minimum possible value - and {3} the maximum possible value. - - - Within this template, {0} is current choice if any, {1} is no preference for optional and {1} and {2} are min/max if specified. - - - - - What you can enter when selecting a single value from a numbered enumeration. - - - Within this template, {0} is the minimum choice. {1} is the maximum choice and {2} is a description of all the possible words. - - - - - What you can enter when selecting multiple values from a numbered enumeration. - - - Within this template, {0} is the minimum choice. {1} is the maximum choice and {2} is a description of all the possible words. - - - - - What you can enter when selecting one value from an enumeration. - - - Within this template, {2} is a list of the possible values. - - - - - What you can enter when selecting mutiple values from an enumeration. - - - Within this template, {2} is a list of the possible values. - - - - - How to ask for one value from an enumeration. - - - - - How to ask for multiple values from an enumeration. - - - - - How to show feedback after user input. - - - Within this template, unmatched input is available through {0}, but it should be wrapped in an optional {?} in \ref patterns in case everything was matched. - - - - - What to display when asked for help. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - What to display when asked for help while clarifying. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - What to display when asked for help while in a confirmation. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - What to display when asked for help while navigating. - - - This template controls the overall help experience. {0} will be recognizer specific help and {1} will be command help. - - - - - How to ask for an integer. - - - Within this template if numerical limits are specified using , - {0} is the minimum possible value and {1} is the maximum possible value. - - - - - What you can enter while entering an integer. - - - Within this template, {0} is current choice if any, {1} is no preference for optional and {1} and {2} are min/max if specified. - - - - - How to ask for a navigation. - - - - - Help pattern for navigation commands. - - - Within this template, {0} has the list of possible field names. - - - - - Navigation format for one line in navigation choices. - - - - - What you can enter when navigating. - - - Within this template, if numeric choies are allowed {0} is the minimum possible choice - and {1} the maximum possible choice. - - - - - How to show no preference in an optional field. - - - - - Response when an input is not understood. - - - When no input is matched this template is used and gets {0} for what the user entered. - - - - - Format for one entry in status. - - - - - How to ask for a string. - - - - - What to display when asked for help when entering a string. - - - Within this template {0} is the current choice if any and {1} is no preference if optional. - - - - - How to represent a value that has not yet been specified. - - - - - Define a template for generating strings. - - - Templates provide a pattern that uses the template language defined in \ref patterns. See to see a description of all the different kinds of templates. - You can also look at to see all the default templates that are provided. Templates can be overriden at the form, class/struct of field level. - They also support randomly selecting between templates which is a good way to introduce some variation in your responses. - - - - - What kind of template this is. - - - - - Specify a set of templates to randomly choose between for a particular usage. - - How the template will be used. - The set of \ref patterns to randomly choose from. - - - Initialize from another template. - The other template. - - - - Define a field or property as optional. - - - An optional field is one where having no value is an acceptable response. By default every field is considered required and must be filled in to complete the form. - - - - - Mark a field or property as optional. - - - - - Provide limits on the possible values in a numeric field or property. - - - By default the limits are the min and max of the underlying field type. - - - - - Min possible value. - - - - - Max possible value. - - - - - Specify the range of possible values for a number field. - - Min value allowed. - Max value allowed. - - - - Provide a regular expression to validate a string field. - - - If the regular expression is not matched the template will be used for feedback. - - - - - Regular expression for validating the content of a string field. - - Regular expression for validation. - - - - A delegate for testing a form state to see if a particular step is active. - - Form state type. - Form state to test. - True if step is active given the current form state. - - - Encapsulates the result of a - - - Feedback to provide back to the user on the input. - - - True if value is a valid response. - - - - Value to put in the field if result is valid. - - This provides an opportunity for validation to compute the final value. - - - - A delegate for validating a particular response to a prompt. - - Form state type. - Form state to test. - Response value to validate. - Null if value is valid otherwise feedback on what is wrong. - - - - A delegate called when a form is completed. - - Form state type. - Session where form dialog is taking place. - Completed form state. - - This delegate gives an opportunity to take an action on a completed form - such as sending it to your service. It cannot be used to create a new - dialog or return a value to the parent dialog. - - - - - Interface for controlling a FormFlow dialog. - - Form state type. - - is an implementation of this interface. - - Thrown when the user quits while filling in a form, or there is an underlying exception in the code. - - - - The form specification. - - - - - Commands supported in form dialogs. - - - - - Move back to the previous step. - - - - - Ask for help on responding to the current field. - - - - - Quit filling in the current form and return failure to parent dialog. - - - - - Reset the status of the form dialog. - - - - - Provide feedback to the user on the current form state. - - - - - Description of all the information needed for a built-in command. - - - - - Description of the command. - - - - - Regexs for matching the command. - - - - - Help string for the command. - - - - - Construct the description of a built-in command. - - Description of the command. - Terms that match the command. - Help on what the command does. - - - Exception generated when form filling is canceled by user quit or exception. - In the case of user quit or an exception the strongly typed exception - is actually thrown, but this provides simple access to the Last step. - - - Constructor with message and inner exception. - Exception message. - Inner exception. - In the case of quit by the user, the inner exception will be null. - - - The names of completed steps. - - - Name of the step that quit or threw an exception. - - - Exception generated when form filling is canceled by user quit or exception. - Underlying form type. - - - Constructor with message and inner exception. - Exception message. - Inner exception. - In the case of user quit, the inner exception will be null. - - - Gets the partial form when the user quits or there is an exception. - - - - The LUIS model information. - - - - - The LUIS model ID. - - - - - The LUIS subscription key. - - - - - Construct the LUIS model information. - - The LUIS model ID. - The LUIS subscription key. - - - - A mockable interface for the LUIS service. - - - - - Build the query uri for the query text. - - The query text. - The query uri. - - - - Query the LUIS service using this uri. - - The query uri. - The LUIS result. - - - - Standard implementation of ILuisService against actual LUIS service. - - - - - Construct the LUIS service using the model information. - - The LUIS model information. - - - - The base URi for accessing LUIS. - - - - - LUIS extension methods. - - - LUIS extension methods. - - - - - Query the LUIS service using this text. - - LUIS service. - The query text. - The LUIS result. - - - - Try to find an entity within the result. - - The LUIS result. - The entity type. - The found entity. - True if the entity was found, false otherwise. - - - - Luis entity recommendation. Look at https://www.luis.ai/Help for more - information. - - - - - Initializes a new instance of the EntityRecommendation class. - - - - - Initializes a new instance of the EntityRecommendation class. - - - - - Role of the entity. - - - - - Entity extracted by LUIS. - - - - - Type of the entity. - - - - - Start index of the entity in the LUIS query string. - - - - - End index of the entity in the LUIS query string. - - - - - Score assigned by LUIS to detected entity. - - - - - A machine readable dictionary with more information about the - entity Look at builtin.datetime for an example in the - https://www.luis.ai/Help#PreBuiltEntities. - - - - - LUIS intent recommendation. Look at https://www.luis.ai/Help for more - information. - - - - - Initializes a new instance of the IntentRecommendation class. - - - - - Initializes a new instance of the IntentRecommendation class. - - - - - The LUIS intent detected by LUIS service in response to a query. - - - - - The score for the detected intent. - - - - - The action associated with this Luis intent. - - - - - Initializes a new instance of the Action class. - - - - - Initializes a new instance of the Action class. - - - - - True if the Luis action is triggered, false otherwise. - - - - - Name of the action. - - - - - The parameters for the action. - - - - - Initializes a new instance of the ActionParameter class. - - - - - Initializes a new instance of the ActionParameter class. - - - - - Name of the parameter. - - - - - True if the parameter is required, false otherwise. - - - - - Value of extracted entities for this parameter. - - - - - Initializes a new instance of the ActionParameterValue class. - - - - - Initializes a new instance of the ActionParameterValue class. - - - - - Entity extracted by LUIS. - - - - - Type of the entity. - - - - - Score assigned by LUIS to detected entity. - - - - - Initializes a new instance of the LuisResult class. - - - - - Initializes a new instance of the LuisResult class. - - - - - The query sent to LUIS. - - - - - The intents found in the query text. - - - - - The entities found in the query text. - - - - - Validate the object. Throws ValidationException if validation fails. - - - - Extensions for resources. - - - The separator character between elements in a string list. - - - When the is found in a string list, the escaped replacement. - - - Makes a string list. - The elements to combine into a list. - The separator character between elements in a string list. - The escape string for separator characters. - A string. - - - Makes a list from parameters. - The elements to combine into a list. - A string. - - - A string extension method that splits a list. - The str to act on. - The separator character between elements in a string list. - The escape string for separator characters. - A string[]. - - - - 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 Back. - - - - - Looks up a localized string similar to Back: Go back to the previous question.. - - - - - Looks up a localized string similar to backup;go back;back. - - - - - Looks up a localized string similar to Help. - - - - - Looks up a localized string similar to Help: Show the kinds of responses you can enter.. - - - - - Looks up a localized string similar to help;choices;\?. - - - - - Looks up a localized string similar to Quit. - - - - - Looks up a localized string similar to Quit: Quit the form without completing it.. - - - - - Looks up a localized string similar to quit;stop;finish;goodby?;good bye?;bye;ciao;adios;bye-bye;so long;cheers. - - - - - Looks up a localized string similar to Start over. - - - - - Looks up a localized string similar to Reset: Start over filling in the form. (With defaults from your previous entries.). - - - - - Looks up a localized string similar to start over;reset;clear. - - - - - Looks up a localized string similar to Status. - - - - - Looks up a localized string similar to Status: Show your progress in filling in the form so far.. - - - - - Looks up a localized string similar to status;progress;so far;results. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to {0}. {1}. - - - - - Looks up a localized string similar to , or . - - - - - Looks up a localized string similar to , . - - - - - Looks up a localized string similar to , and . - - - - - Looks up a localized string similar to , . - - - - - Looks up a localized string similar to a;an;the. - - - - - Looks up a localized string similar to a;about;above;above;across;after;afterwards;again;against;all;almost;alone;along;already;also;although;always;am;among;amongst;amoungst;amount;an;and;another;any;anyhow;anyone;anything;anyway;anywhere;are;around;as;at;back;be;became;because;become;becomes;becoming;been;before;beforehand;behind;being;below;beside;besides;between;beyond;bill;both;bottom;but;by;call;can;cannot;cant;co;con;could;couldnt;cry;de;describe;detail;do;done;down;due;during;each;eg;eight;either;eleven;else;elsewhere;empty;enough;etc;ev [rest of string was truncated]";. - - - - - Looks up a localized string similar to Current Choice('c');current;c;current choice;no change. - - - - - Looks up a localized string similar to No;n;nope;2. - - - - - Looks up a localized string similar to No Preference;no;none;I don'?t care. - - - - - Looks up a localized string similar to Yes;y;sure;ok;yep;1. - - - - - Looks up a localized string similar to Field Name. - - - - - Looks up a localized string similar to I didn't understand. Say something in reply.. - - - - - Looks up a localized string similar to Would you like a {&}? {||}. - - - - - Looks up a localized string similar to Please enter 'yes' or 'no'{?, {0}}.. - - - - - Looks up a localized string similar to By "{0}" {&} did you mean {||}. - - - - - Looks up a localized string similar to Is this your selection? - {*}. - - - - - Looks up a localized string similar to (current choice: {}). - - - - - Looks up a localized string similar to Please enter a date and time for {&} {||}. - - - - - Looks up a localized string similar to Please enter a date or time expression {?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to Please enter a number {?between {0:F1} and {1:F1}} for {&} {||}. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to Please enter a number{? between {2:F1} and {3:F1}}{?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to You can enter one or more numbers {0}-{1} or words from the descriptions. ({2}). - - - - - Looks up a localized string similar to You can enter in one or more selections from the descriptions. ({2}). - - - - - Looks up a localized string similar to You can enter a number {0}-{1} or words from the descriptions. ({2}). - - - - - Looks up a localized string similar to You can enter in any words from the descriptions. ({2}). - - - - - Looks up a localized string similar to Please select one or more {&} {||}. - - - - - Looks up a localized string similar to Please select a {&} {||}. - - - - - Looks up a localized string similar to For {&} I understood {}. {?"{0}" is not an option.}. - - - - - Looks up a localized string similar to You are filling in the {&} field. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to You are clarifying a {&} value. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to Please answer the question. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to Choose what field to change. Possible responses: - {0} - {1}. - - - - - Looks up a localized string similar to Please enter a number{? between {0} and {1}} for {&} {||}. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to You can enter a number{? between {2} and {3}}{?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to What do you want to change? {||}. - - - - - Looks up a localized string similar to You can switch to another field by entering its name. ({0}).. - - - - - Looks up a localized string similar to {&}({}). - - - - - Looks up a localized string similar to Choose {?a number from {0}-{1}, or} a field name.. - - - - - Looks up a localized string similar to No Preference. - - - - - Looks up a localized string similar to "{0}" is not a {&} option.. - - - - - Looks up a localized string similar to {&}: {}. - - - - - Looks up a localized string similar to Please enter {&} {||}. - - - - - Looks up a localized string similar to {1}. - - - - - Looks up a localized string similar to You can enter anything (use "'s to force string){?, {0}}{?, {1}}.. - - - - - Looks up a localized string similar to Unspecified. - - - - - Looks up a localized string similar to too many attempts. - - - - - Looks up a localized string similar to User profile deleted!. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Builder.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Builder.dll deleted file mode 100644 index eaa537a4d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Builder.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Connector.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Connector.dll deleted file mode 100644 index e215e323b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Connector.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Connector.xml b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Connector.xml deleted file mode 100644 index 499b0f128..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/Microsoft.Bot.Connector.xml +++ /dev/null @@ -1,3100 +0,0 @@ - - - - Microsoft.Bot.Connector - - - - - Client will open given url in the built-in browser. - - - - - Client will post message to bot, so all other participants will see that was posted to the bot and who posted this. - - - - - Client will post message to bot privately, so other participants inside conversation will not see that was posted. - - - - - playback audio container referenced by url - - - - - playback video container referenced by url - - - - - show image referenced by url - - - - - download file referenced by url - - - - - Signin button - - - - - Bot added to user contacts - - - - - Bot removed from user contacts - - - - - add Bearer authorization token for making API calls - - The http client - (default)Setting["microsoftAppId"] - (default)Setting["microsoftAppPassword"] - HttpClient with Bearer Authorization header - - - - User took action on a message (button click) - - - - - Channel specific payload - - - Some channels will provide channel specific data. - - For a message originating in the channel it might provide the original native schema object for the channel. - - For a message coming into the channel it might accept a payload allowing you to create a "native" response for the channel. - - Example: - * Email - The Email Channel will put the original Email metadata into the ChannelData object for outgoing messages, and will accep - on incoming message a Subject property, and a HtmlBody which can contain Html. - - The channel data essentially allows a bot to have access to native functionality on a per channel basis. - - - - - Default- interpret text fields as markdown - - - - - Plain text (do not interpret as anything) - - - - - B, I, S, U, A NOTE: Only supported on Skype for now - - - - - Attachments operations. - - - - - Get the URI of an attachment view - - - default is "original" - uri - - - - Get the given attachmentid view as a stream - - attachmentid - view to get (default:original) - stream of attachment - - - - Initializes a new instance of the Attachments class. - - - Reference to the service client. - - - - - Gets a reference to the ConnectorClient - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - attachment id - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetAttachment - - Get the named view as binary content - - attachment id - - - View id from attachmentInfo - - - Headers that will be added to request. - - - The cancellation token. - - - - - Message from a user -> bot or bot -> User - - - - - Bot added removed to contact list - - - - - This notification is sent when the conversation's properties change, for example the topic name, or when user joins or leaves the group. - - - - - A from is typing - - - - - Delete user data - - - - - Ping message - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - The operations group for this extension method. - - - attachment id - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - The operations group for this extension method. - - - attachment id - - - The cancellation token. - - - - - GetAttachment - - Get the named view as binary content - - The operations group for this extension method. - - - attachment id - - - View id from attachmentInfo - - - - - GetAttachment - - Get the named view as binary content - - The operations group for this extension method. - - - attachment id - - - View id from attachmentInfo - - - The cancellation token. - - - - - Attachments operations. - - - - - GetAttachmentInfo - - Get AttachmentInfo structure describing the attachment views - - attachment id - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetAttachment - - Get the named view as binary content - - attachment id - - - View id from attachmentInfo - - - The headers that will be added to request. - - - The cancellation token. - - - - - Attachment data - - - - - Initializes a new instance of the AttachmentData class. - - - - - Initializes a new instance of the AttachmentData class. - - - - - content type of the attachmnet - - - - - Name of the attachment - - - - - original content - - - - - Thumbnail - - - - - Metdata for an attachment - - - - - Initializes a new instance of the AttachmentInfo class. - - - - - Initializes a new instance of the AttachmentInfo class. - - - - - Name of the attachment - - - - - ContentType of the attachment - - - - - attachment views - - - - - Attachment View name and size - - - - - Initializes a new instance of the AttachmentView class. - - - - - Initializes a new instance of the AttachmentView class. - - - - - content type of the attachmnet - - - - - Name of the attachment - - - - - - - - - Initializes a new instance of the CardAction class. - - - - - Initializes a new instance of the CardAction class. - - - - - Defines the type of action implemented by this button. Possible - values for this property include: 'openUrl', 'imBack', - 'postBack', 'playAudio', 'playVideo', 'showImage', 'downloadFile'. - - - - - Text description which appear on the button. - - - - - URL Picture which will appear on the button, next to text label. - Media hosted on 3rd party domains will be automatically hosted on - auth protected CDN.Auth protection will be used to ensure that - content - uploaded to Skype CDN will only be accessible by Microsoft Clients - Please refer to Chapter 7 for description of media caching - algorithm. - - - - - Supplementary parameter for action. Content of this property - depends on the ActionType - - - - - - - - - Initializes a new instance of the CardImage class. - - - - - Initializes a new instance of the CardImage class. - - - - - URL Thumbnail image for major content property. - - - - - Image description intended for screen readers - - - - - Action assigned to specific Attachment.E.g.navigate to specific - URL or play/open media content - - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - Creates a new attachment from . - - The instance of . - The generated attachment. - - - - - - - - Initializes a new instance of the ConversationParameters class. - - - - - Initializes a new instance of the ConversationParameters class. - - - - - The bot address of the bot requesting a conversation - - - - - IsGroup - - - - - Members to add to the conversation - - - - - (Optional) Topic of the conversation (if supported by the channel) - - - - - GeoCoordinates - https://schema.org/GeoCoordinates - - - - - Initializes a new instance of the GeoCoordinates class. - - - - - Initializes a new instance of the GeoCoordinates class. - - - - - Elevation of the location [WGS - 84](https://en.wikipedia.org/wiki/World_Geodetic_System) - - - - - Latitude of the location [WGS - 84](https://en.wikipedia.org/wiki/World_Geodetic_System) - - - - - Longitude of the location [WGS - 84](https://en.wikipedia.org/wiki/World_Geodetic_System) - - - - - The type of the thing - - - - - The name of the thing - - - - - Place - https://schema.org/Place - - - - - Initializes a new instance of the Place class. - - - - - Initializes a new instance of the Place class. - - - - - Address of the place - Can be `string` or JToken of `PostalAddress` (future) - - - - - Geo coordinates of the place - Can be JToken of `GeoCoordinates` or `GeoShape` (future) - - - - - Map to the place - Can be `string` (a URL) or JToken of `Map` (future) - - - - - The type of the thing - - - - - The name of the thing - - - - - - - - - Initializes a new instance of the ResourceResponse class. - - - - - Initializes a new instance of the ResourceResponse class. - - - - - Id of the resource - - - - - - - - - Initializes a new instance of the ThumbnailCard class. - - - - - Initializes a new instance of the ThumbnailCard class. - - - - - Title of the card - - - - - Subtitle of the card - - - - - Text for the card - - - - - Array of i - - - - - Set of actions applicable to the current card - - - - - This action will be activated when user taps on the card itself - - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - The cancellation token. - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - - - - Create a new direct conversation between a bot and a user - - The operations group for this extension method. - Bot to create conversation from - User to create conversation with - The cancellation token - - - - Send an activity to a conversation - - - The operations group for this extension method. - - - Activity to send - - - - - Send an activity to a conversation - - - The operations group for this extension method. - - - Activity to send - - - The cancellation token. - - - - - Replyto an activity in an existing conversation - - - The operations group for this extension method. - - - Activity to send - - - - - Reply to an activity in an existing conversation - - - The operations group for this extension method. - - - Activity to send - - - The cancellation token. - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a conversation id - which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a direct - message conversation. An example of how to do that would be: - - ``` - var resource = await connector.conversations.CreateConversation(new - ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, new - Activity() ... ) ; - - ``` - - The operations group for this extension method. - - - Parameters to create the conversation from - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a conversation id - which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a direct - message conversation. An example of how to do that would be: - - ``` - var resource = await connector.conversations.CreateConversation(new - ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, new - Activity() ... ) ; - - ``` - - The operations group for this extension method. - - - Parameters to create the conversation from - - - The cancellation token. - - - - - SendToConversation - - This method allows you to send an activity to a conversation regardless of - previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - ReplyToConversation is preferable to SendToConversation() because it - maintains threaded conversations. - - The operations group for this extension method. - - - Activity to send - - - Conversation ID - - - - - SendToConversation - - This method allows you to send an activity to a conversation regardless of - previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - ReplyToConversation is preferable to SendToConversation() because it - maintains threaded conversations. - - The operations group for this extension method. - - - Activity to send - - - Conversation ID - - - The cancellation token. - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to SendToConversation() - because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - The operations group for this extension method. - - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to SendToConversation() - because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - The operations group for this extension method. - - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - The cancellation token. - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - The operations group for this extension method. - - - Conversation ID - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - The operations group for this extension method. - - - Conversation ID - - - The cancellation token. - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning an array - of ChannelAccount[] objects - which are the members of the particular activity in the conversation. - - The operations group for this extension method. - - - Conversation ID - - - Activity ID - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning an array - of ChannelAccount[] objects - which are the members of the particular activity in the conversation. - - The operations group for this extension method. - - - Conversation ID - - - Activity ID - - - The cancellation token. - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a channels - blob storage. - - This is useful because it allows you to store data in a compliant store - when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId which is - suitable for using with the attachments api. - - The operations group for this extension method. - - - Conversation ID - - - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a channels - blob storage. - - This is useful because it allows you to store data in a compliant store - when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId which is - suitable for using with the attachments api. - - The operations group for this extension method. - - - Conversation ID - - - - - The cancellation token. - - - - - Configuration for JWT tokens - - - - - TO BOT FROM CHANNEL: OpenID metadata document for tokens coming from MSA - - - - - TO BOT FROM CHANNEL: Token validation parameters when connecting to a bot - - - - - TO BOT FROM MSA: OpenID metadata document for tokens coming from MSA - - - These settings are used to allow access from the Bot Framework Emulator - - - - - TO BOT FROM MSA: Token validation parameters when connecting to a channel - - - These settings are used to allow access from the Bot Framework Emulator - - - - - Shared of OpenIdConnect configuration managers (one per metadata URL) - - - - - Token validation parameters for this instance - - - - - OpenIdConnect configuration manager for this instances - - - - - Apply the credentials to the HTTP request. - - The HTTP request.Cancellation token. - - - - © 2016 Microsoft - - - - - Create a new instance of the StateClient class - - Base URI for the Connector service - Optional. Your Microsoft app id. If null, this setting is read from settings["MicrosoftAppId"] - Optional. Your Microsoft app password. If null, this setting is read from settings["MicrosoftAppPassword"] - Optional. The delegating handlers to add to the http client pipeline. - - - - Create a new instance of the StateClient class - - Base URI for the Connector service - Credentials for the Connector service - True, if JwtTokenRefresher should be included; False otherwise. - Optional. The delegating handlers to add to the http client pipeline. - - - - Create a new instance of the StateClient class - - This constructor will use http://api.botframework.com as the baseUri - Credentials for the Connector service - True, if JwtTokenRefresher should be included; False otherwise. - Optional. The delegating handlers to add to the http client pipeline. - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client subscription. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The base URI of the service. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the StateClient class. - - - Optional. The base URI of the service. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes client properties. - - - - - - - - - Initializes a new instance of the HeroCard class. - - - - - Initializes a new instance of the HeroCard class. - - - - - Title of the card - - - - - Subtitle of the card - - - - - Text for the card - - - - - Array of i - - - - - Set of actions applicable to the current card - - - - - This action will be activated when user taps on the card itself - - - - - - - - - Initializes a new instance of the ReceiptCard class. - - - - - Initializes a new instance of the ReceiptCard class. - - - - - Title of the card - - - - - Array of Receipt Items - - - - - Array of Fact Objects Array of key-value pairs. - - - - - This action will be activated when user taps on the card - - - - - Total amount of money paid (or should be paid) - - - - - Total amount of TAX paid(or should be paid) - - - - - Total amount of VAT paid(or should be paid) - - - - - Set of actions applicable to the current card - - - - - A card representing a request to signing - - - - - Initializes a new instance of the SigninCard class. - - - - - Initializes a new instance of the SigninCard class. - - - - - Text for signin request - - - - - Action to use to perform signin - - - - - BotState operations. - - - - - Initializes a new instance of the BotState class. - - - Reference to the service client. - - - - - Gets a reference to the StateClient - - - - - GetUserData - - Get a bots data for the user across all conversations - - channelId - - - id for the user on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - SetUserData - - Update the bot's data for a user - - channelId - - - id for the user on the channel - - - the new botdata - - - Headers that will be added to request. - - - The cancellation token. - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - channelId - - - id for the user on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetConversationData - - get the bots data for all users in a conversation - - the channelId - - - The id for the conversation on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - Headers that will be added to request. - - - The cancellation token. - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetUserData - - Get a bots data for the user across all conversations - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - - - GetUserData - - Get a bots data for the user across all conversations - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - The cancellation token. - - - - - SetUserData - - Update the bot's data for a user - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - the new botdata - - - - - SetUserData - - Update the bot's data for a user - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - the new botdata - - - The cancellation token. - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - The operations group for this extension method. - - - channelId - - - id for the user on the channel - - - The cancellation token. - - - - - GetConversationData - - get the bots data for all users in a conversation - - The operations group for this extension method. - - - the channelId - - - The id for the conversation on the channel - - - - - GetConversationData - - get the bots data for all users in a conversation - - The operations group for this extension method. - - - the channelId - - - The id for the conversation on the channel - - - The cancellation token. - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - The cancellation token. - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - The cancellation token. - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - The operations group for this extension method. - - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - The cancellation token. - - - - - BotState operations. - - - - - GetUserData - - Get a bots data for the user across all conversations - - channelId - - - id for the user on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - SetUserData - - Update the bot's data for a user - - channelId - - - id for the user on the channel - - - the new botdata - - - The headers that will be added to request. - - - The cancellation token. - - - - - DeleteStateForUser - - Delete all data for a user in a channel (UserData and - PrivateConversationData) - - channelId - - - id for the user on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetConversationData - - get the bots data for all users in a conversation - - the channelId - - - The id for the conversation on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - SetConversationData - - Update the bot's data for all users in a conversation - - channelId - - - The id for the conversation on the channel - - - the new botdata - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetPrivateConversationData - - get bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - The headers that will be added to request. - - - The cancellation token. - - - - - SetPrivateConversationData - - Update the bot's data for a single user in a conversation - - channelId - - - The id for the conversation on the channel - - - id for the user on the channel - - - the new botdata - - - The headers that will be added to request. - - - The cancellation token. - - - - - © 2016 Microsoft - - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client - subscription. - - - - - - - - - Initializes a new instance of the BotData class. - - - - - Initializes a new instance of the BotData class. - - - - - - - - - - - - - Get a property from a BotData recorded retrieved using the REST API - - property name to change - property requested or default for type - - - - Set a property on a BotData record retrieved using the REST API - - property name to change - new data - - - - Use credentials from AppSetting "AppId" "AppSecret" - - - - - Create a new instance of the BearerTokenCredentials class - - Bearer token - - - - Apply the credentials to the HTTP request. - - The HTTP request.Cancellation token. - - - - © 2016 Microsoft - - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client subscription. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The base URI of the service. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes a new instance of the ConnectorClient class. - - - Optional. The base URI of the service. - - - Optional. The http client handler used to handle http transport. - - - Optional. The delegating handlers to add to the http client pipeline. - - - - - Initializes client properties. - - - - - Create a new instance of the ConnectorClient class - - Base URI for the Connector service - Optional. Your Microsoft app id. If null, this setting is read from settings["MicrosoftAppId"] - Optional. Your Microsoft app password. If null, this setting is read from settings["MicrosoftAppPassword"] - Optional. The delegating handlers to add to the http client pipeline. - - - - Create a new instance of the ConnectorClient class - - Base URI for the Connector service - Credentials for the Connector service - True, if JwtTokenRefresher should be included; False otherwise. - Optional. The delegating handlers to add to the http client pipeline. - - - - Conversations operations. - - - - - Initializes a new instance of the Conversations class. - - - Reference to the service client. - - - - - Gets a reference to the ConnectorClient - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a conversation id - which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a direct - message conversation. An example of how to do that would be: - - ``` - var resource = await connector.conversations.CreateConversation(new - ConversationParameters(){ Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, new - Activity() ... ) ; - - ``` - - Parameters to create the conversation from - - - Headers that will be added to request. - - - The cancellation token. - - - - - SendToConversation - - This method allows you to send an activity to a conversation regardless of - previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - ReplyToConversation is preferable to SendToConversation() because it - maintains threaded conversations. - - Activity to send - - - Conversation ID - - - Headers that will be added to request. - - - The cancellation token. - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message to the - end of the conversation according to the timestamp or semantics of the - channel - * ReplyToConversation(conversationId,ActivityId) - models the semantics of - threaded conversations, meaning it has the information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to SendToConversation() - because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which initiates a - conversation, or if you don't have a particular activity you are - responding to. - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - Conversation ID - - - Headers that will be added to request. - - - The cancellation token. - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning an array - of ChannelAccount[] objects - which are the members of the particular activity in the conversation. - - Conversation ID - - - Activity ID - - - Headers that will be added to request. - - - The cancellation token. - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a channels - blob storage. - - This is useful because it allows you to store data in a compliant store - when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId which is - suitable for using with the attachments api. - - Conversation ID - - - - - Headers that will be added to request. - - - The cancellation token. - - - - - © 2016 Microsoft - - - - - The base URI of the service. - - - - - Gets or sets json serialization settings. - - - - - Gets or sets json deserialization settings. - - - - - Subscription credentials which uniquely identify client - subscription. - - - - - Conversations operations. - - - - - CreateConversation - - Create a new Conversation. - - POST to this method with a - * Bot being the bot creating the conversation - * IsGroup set to true if this is not a direct message (default is - false) - * Members array contining the members you want to have be in the - conversation. - - The return value is a ResourceResponse which contains a - conversation id which is suitable for use - in the message payload and REST API uris. - - Most channels only support the semantics of bots initiating a - direct message conversation. An example of how to do that would - be: - - ``` - var resource = await - connector.conversations.CreateConversation(new ConversationParameters(){ - Bot = bot, members = new ChannelAccount[] { new - ChannelAccount("user1") } ); - await connect.Conversations.SendToConversationAsync(resource.Id, - new Activity() ... ) ; - - ``` - - Parameters to create the conversation from - - - The headers that will be added to request. - - - The cancellation token. - - - - - SendToConversation - - This method allows you to send an activity to a conversation - regardless of previous posts to a conversation. - - This is slightly different then ReplyToConversation(). - * SendToConverstion(conversationId) - will simply append a message - to the end of the conversation according to the timestamp or - semantics of the channel - * ReplyToConversation(conversationId,ActivityId) - models the - semantics of threaded conversations, meaning it has the - information necessary for the - channel to reply to the actual message being responded to. - - SendToConversation is appropriate for the first message which - initiates a conversation, or if you don't have a particular - activity you are responding to. - - ReplyToConversation is preferable to SendToConversation() because - it maintains threaded conversations. - - Activity to send - - - Conversation ID - - - The headers that will be added to request. - - - The cancellation token. - - - - - ReplyToActivity - - This method allows you to reply to an activity. - - This is slightly different then SendToConversation(). - * SendToConverstion(conversationId) - will simply append a message - to the end of the conversation according to the timestamp or - semantics of the channel - * ReplyToConversation(conversationId,ActivityId) - models the - semantics of threaded conversations, meaning it has the - information necessary for the - channel to reply to the actual message being responded to. - - ReplyToConversation is almost always preferable to - SendToConversation() because it maintains threaded conversations. - - SendToConversation is appropriate for the first message which - initiates a conversation, or if you don't have a particular - activity you are responding to. - - Conversation ID - - - activityId the reply is to (OPTIONAL) - - - Activity to send - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetConversationMembers - - Call this method to enumerate the members of a converstion. - - This REST API takes a ConversationId and returns an array of - ChannelAccount[] objects - which are the members of the conversation. - - Conversation ID - - - The headers that will be added to request. - - - The cancellation token. - - - - - GetActivityMembers - - Call this method to enumerate the members of an activity. - - This REST API takes a ConversationId and a ActivityId, returning - an array of ChannelAccount[] objects - which are the members of the particular activity in the - conversation. - - Conversation ID - - - Activity ID - - - The headers that will be added to request. - - - The cancellation token. - - - - - UploadAttachment - - This method allows you to upload an attachment directly into a - channels blob storage. - - This is useful because it allows you to store data in a compliant - store when dealing with enterprises. - - The response is a ResourceResponse which contains an AttachmentId - which is suitable for using with the attachments api. - - Conversation ID - - - - - The headers that will be added to request. - - - The cancellation token. - - - - - - - - - Take a message and create a reply message for it with the routing information - set up to correctly route a reply to the source message - - text you want to reply with - language of your reply - message set up to route back to the sender - - - - Get StateClient appropriate for this activity - - - - alternate serviceurl to use for state service - - - - - - Check if the message has content - - Returns true if this message has any content to send - - - - Get mentions - - - - - - Is there a mention of Id in the Text Property - - ChannelAccount.Id - true if this id is mentioned in the text - - - - Is there a mention of Recipient.Id in the Text Property - - true if this id is mentioned in the text - - - - Remove recipient mention text from Text property - - new .Text property value - - - - Replace any mention text for given id from Text property - - id to match - new .Text property value - - - - Get channeldata as typed structure - - type to use - typed object or default(TypeT) - - - - Return the "major" portion of the activity - - normalized major portion of the activity, aka message/... will return "message" - - - - Initializes a new instance of the Activity class. - - - - - Initializes a new instance of the Activity class. - - - - - The type of the activity - [message|contactRelationUpdate|converationUpdate|typing] - - - - - Id for the activity - - - - - Time when message was sent - - - - - Service endpoint - - - - - ChannelId the activity was on - - - - - Sender address - - - - - Conversation - - - - - (Outbound to bot only) Bot's address that received the message - - - - - Format of text fields [plain|markdown] Default:markdown - - - - - AttachmentLayout - hint for how to deal with multiple attachments - Values: [list|carousel] Default:list - - - - - Array of address added - - - - - Array of addresses removed - - - - - Conversations new topic name - - - - - the previous history of the channel was disclosed - - - - - The language code of the Text field - - - - - Content for the message - - - - - Text to display if you can't render cards - - - - - Attachments - - - - - Entities - Collection of Entity which contain metadata about this activity - (each is typed) - - - - - Channel specific payload - - - - - ContactAdded/Removed action - - - - - the original id this message is a response to - - - - - - - - - Initializes a new instance of the APIResponse class. - - - - - Initializes a new instance of the APIResponse class. - - - - - - - - - - - - - Initializes a new instance of the Attachment class. - - - - - Initializes a new instance of the Attachment class. - - - - - mimetype/Contenttype for the file - - - - - Content Url - - - - - Embedded content - - - - - (OPTIONAL) The name of the attachment - - - - - (OPTIONAL) Thumbnail associated with attachment - - - - - Channel account information needed to route a message - - - - - Initializes a new instance of the ChannelAccount class. - - - - - Initializes a new instance of the ChannelAccount class. - - - - - Channel id for the user or bot on this channel (Example: - joe@smith.com, or @joesmith or 123456) - - - - - Display friendly name - - - - - Channel account information for a conversation - - - - - Initializes a new instance of the ConversationAccount class. - - - - - Initializes a new instance of the ConversationAccount class. - - - - - Is this a reference to a group - - - - - Channel id for the user or bot on this channel (Example: - joe@smith.com, or @joesmith or 123456) - - - - - Display friendly name - - - - - Object of schema.org types - - - - - Initializes a new instance of the Entity class. - - - - - Initializes a new instance of the Entity class. - - - - - Entity Type (typically from schema.org types) - - - - - Retrieve internal payload. - - - - - - - Set internal payload. - - - - - - - Set of key-value pairs. Advantage of this section is that key and - value properties will be - rendered with default style information with some delimiter between - them. So there is no need for developer to specify style information. - - - - - Initializes a new instance of the Fact class. - - - - - Initializes a new instance of the Fact class. - - - - - - - - - - - - - - - - - Initializes a new instance of the ReceiptItem class. - - - - - Initializes a new instance of the ReceiptItem class. - - - - - Title of the Card - - - - - Subtitle appears just below Title field, differs from Title in - font styling only - - - - - Text field appears just below subtitle, differs from Subtitle in - font styling only - - - - - Image - - - - - Amount with currency - - - - - Number of items of given kind - - - - - This action will be activated when user taps on the Item bubble. - - - - - - - - - Initializes a new instance of the Entity class. - - - - - basic shared properties for all activities - - - - - Activity type - - - - - Id for the activity - - - - - (PROPOSED) ServiceUrl - - - - - Time when message was sent - - - - - Channel this activity is associated with - - - - - Sender address data - - - - - Conversation Address - - - - - Bot's address - - - - - The From address is typing - - - - - Someone has updated their contact list - - - - - Add|remove - - - - - The Properties of a conversation are different - - - - - Array of address added - - - - - Array of addresses removed - - - - - Conversations new topic name - - - - - Someone has added a message to the conversation - - - - - The language code of the Text field - - - See https://msdn.microsoft.com/en-us/library/hh456380.aspx for a list of valid language codes - - - - - Text for the message - - - - - Text for the message - - - - - Format of text fields [plain|markdown] default:markdown - - - - - AttachmentLayout - hint for how to deal with multiple attachments Values: [list|carousel] default:list - - - - - content attachemnts - - - - - Entities - Collection of objects which contain metadata about this activity - - - - - Channel specific payload - - - Some channels will provide channel specific data. - - For a message originating in the channel it might provide the original native schema object for the channel. - - For a message coming into the channel it might accept a payload allowing you to create a "native" response for the channel. - - Example: - * Email - The Email Channel will put the original Email metadata into the ChannelData object for outgoing messages, and will accep - on incoming message a Subject property, and a HtmlBody which can contain Html. - - The channel data essentially allows a bot to have access to native functionality on a per channel basis. - - - - - the original id this message is a response to - - - - - Get mentions from the Entities field - - - - - - Get channeldata as typed structure - - type to use - typed object or default(TypeT) - - - - Return the "major" portion of the activity - - normalized major portion of the activity, aka message/... will return "message" - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ar/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ar/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 6bee65f19..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ar/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/en/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/en/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index ba052d61e..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/en/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/es/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/es/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 0acd5b108..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/es/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/fa/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/fa/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 75120aa03..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/fa/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/fr/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/fr/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 395b4e2ff..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/fr/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ja/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ja/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 9edad4bc1..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ja/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ru/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ru/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index c8efca68f..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/ru/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/zh-hans/Microsoft.Bot.Builder.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/zh-hans/Microsoft.Bot.Builder.resources.dll deleted file mode 100644 index 56f7e3217..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/lib/net46/zh-hans/Microsoft.Bot.Builder.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/tools/RView.exe b/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/tools/RView.exe deleted file mode 100644 index f1476794c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Bot.Builder.3.0.0/tools/RView.exe and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/Microsoft.Data.Edm.5.6.4.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/Microsoft.Data.Edm.5.6.4.nupkg deleted file mode 100644 index 6a22d9db2..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/Microsoft.Data.Edm.5.6.4.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/Microsoft.Data.Edm.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/Microsoft.Data.Edm.dll deleted file mode 100644 index 7b4d64537..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/Microsoft.Data.Edm.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/Microsoft.Data.Edm.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/Microsoft.Data.Edm.xml deleted file mode 100644 index f17fc72d8..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/Microsoft.Data.Edm.xml +++ /dev/null @@ -1,11523 +0,0 @@ - - - - Microsoft.Data.Edm - - - - - Defines a location in a XML file. - - - - - Represents the location of an Edm item. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the line number in the file. - - - - - Gets the position in the line. - - - - - Exception type representing a failure to parse an EDM document. Carries the set of errors along with it. - - - - - Initializes a new instance of the class. - - The errors encountered while parsing. - - - - Prevents a default instance of the class from being created. - - The parse errors. - - - - Constructs an appropriate exception message from the set of parsing errors. - - The parse errors. - The exception message. - - - - Gets the set of errors that were encountered while parsing. - - - - - Specifies what target of an EDMX file. - - - - - The target is Entity Framework. - - - - - The target is OData. - - - - - Contains xml parsing methods for Edm. - - - - - Common base type for a CSDL expression. - - - - - Common base class for CSDL elements. - - - - - Represents a CSDL Collection expression. - - - - - Represents a CSDL enumeration type member. - - - - - Common base class for all named CSDL elements. - - - - - Base class for CSDL elements that have documentation. - - - - - Gets or sets the underlying type value of the member. - Value can be null only during deserialization of the declaring enumeration type. - When the type's deserialization is complete, all its members get their values assigned. - - - - - Represents a CSDL enumeration type. - - - - - Represents a CSDL Path expression. - - - - - Common base type for a CSDL type or value annotation. - - - - - Represents a CSDL Annotations element. - - - - - Represents a CSDL collection type. - - - - - Represents an inline type expression, such as , and - in the context of . - Note that nominal type declarations, such as entity, complex, association and primitive types, are not considered to be type expressions in the context - of - these types are handled in . - - - - - Represents a CSDL constant expression. - - - - - Represents a CSDL property value in an annotation. - - - - - Represents a CSDL Record expression. - - - - - Represents a reference to a CSDL primitive type. - - - - - Represents a CSDL type reference based on a type referenced by name. - - - - - Base type for the two kinds of type reference: and . - - - - - Represents a semantically invalid EDM enumeration type. - - - - - Represents an invalid EDM element. - - - - - Common base interface for all EDM elements. - - - - - Defines an Edm component who is invalid or whose validity is unknown at construction - - - - - Gets an error if one exists with the current object. - - - - - Represents an element that can be targeted by Vocabulary Annotations - - - - - Represents the definition of an EDM type. - - - - - Gets the kind of this type. - - - - - Represents a definition of an EDM enumeration type. - - - - - Represents an EDM type defined in an EDM schema. - - - - - Common base interface for all named children of EDM schemata. - - - - - Common base interface for all named EDM elements. - - - - - Gets the name of this element. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Common base class for all EDM elements. - - - - - Term to which an annotation can bind. - - - - - Gets the kind of a term. - - - - - Represents a definition of an EDM entity type. - - - - - Common base interface for definitions of EDM structured types. - - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the base type of this type. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Common base class for CsdlSemantics classes that have Annotations. - - - - - Interface for all EDM elements that can be located. - - - - - Gets the location of this element. - - - - - Allocates a new list if needed, and adds the item to the list. - - Type of the list. - List to add the item to. - Item being added. - List containing then new item. - - - - Represents an EDM expression. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Represents an EDM type assertion expression. - - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Provides semantics for a Csdl collection expression. - - - - - Represents an EDM multi-value construction expression. - - - - - Gets the declared type of the collection, or null if there is no declared type. - - - - - Gets the constructed element values. - - - - - Provides semantics for a Csdl datetime with offset constant expression. - - - - - Represents an EDM datetime with offset constant expression. - - - - - Represents an EDM datetime with offset value. - - - - - Represents an EDM primitive value. - - - - - Represents an EDM value. - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the definition of this value. - - - - - Provides a CSDL-specific annotations manager. - - - - - Direct-value annotations manager provides services for setting and getting transient annotations on elements. - - - An object representing transient annotations is in one of these states: - 1) Null, if the element has no transient annotations. - 2) An EdmAnnotation, if the element has exactly one annotation. - 3) A list of EdmAnnotation, if the element has more than one annotation. - If the speed of annotation lookup for elements with many annotations becomes a concern, another option - including a dictionary is possible. - - - - - Manages getting and setting direct value annotations on EDM elements. - - - - - Gets annotations associated with an element. - - The annotated element. - The direct value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - The value of the annotation. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Keeps track of transient annotations on elements. - - - - - Used for locking during updates to the annotations dictionary; - - - - - Elements for which normal comparison failed to produce a valid result, arbitrarily ordered to enable stable comparisons. - - - - - Used for locking during updates to the unsorted elements list. - - - - - Initializes a new instance of the class. - - - - - Gets annotations associated with an element. - - The annotated element. - The immediate value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - New annotation to set. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Retrieves the annotations that are directly attached to an element. - - The element in question. - The annotations that are directly attached to an element (outside the control of the manager). - - - - Retrieves the transient annotations for an EDM element. - - The annotated element. - The dictionary for looking up the element's annotations. - The transient annotations for the element, in a form managed by the annotations manager. - This method is static to guarantee that the annotations dictionary is not fetched more than once per lookup operation. - - - - Represents an EDM entity set reference expression. - - - - - Gets the referenced entity set. - - - - - Represents an EDM enumeration member reference expression. - - - - - Gets the referenced enum member. - - - - - Represents an EDM function reference expression. - - - - - Gets the referenced function. - - - - - Provides semantics for a Csdl guid constant expression. - - - - - Represents an EDM guid constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this guid value. - - - - - Provides semantics for a Csdl binary constant expression. - - - - - Represents an EDM binary constant expression. - - - - - Represents an EDM binary value. - - - - - Gets the definition of this binary value. - - - - - Represents an EDM if expression. - - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Represents an EDM type test expression. - - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Represents an EDM labeled expression element. - - - - - Gets the underlying expression. - - - - - Represents a reference to an EDM labeled expression. - - - - - Gets the referenced expression. - - - - - Provides semantics for a CsdlDirectValueAnnotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Provides semantics for a CsdlEnumMember. - - - - - Represents a definition of an EDM enumeration type member. - - - - - Gets the value of this enumeration type member. - - - - - Gets the type that this member belongs to. - - - - - Provides semantics for CsdlEnumType. - - - - - Common base class for the semantics of EDM types. - - - - - Represents a CSDL type annotation. - - - - - Represents a CSDL value annotation. - - - - - Represents a CSDL value term. - - - - - Provides semantics for an out-of-line CSDL Annotations. - - - - - Provides semantics for a Csdl Bool constant expression. - - - - - Represents an EDM boolean constant expression. - - - - - Represents an EDM boolean value. - - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Provides semantics for CsdlCollectionType. - - - - - Represents a definition of an EDM collection type. - - - - - Gets the element type of this collection. - - - - - Provides semantics for . - - - - - Represents a references to a type. - - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Represents references to EDM Collection types. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM datetime constant expression. - - - - - Represents an EDM datetime value. - - - - - Gets the definition of this datetime value. - - - - - Provides semantics for a Csdl Decimal constant expression. - - - - - Represents an EDM decimal constant expression. - - - - - Represents an EDM decimal value. - - - - - Gets the definition of this decimal value. - - - - - Provides semantics for a Csdl Float constant expression. - - - - - Represents an EDM floating constant expression. - - - - - Represents an EDM floating point value. - - - - - Gets the definition of this floating value. - - - - - Provides semantics for a Csdl Int constant expression. - - - - - Represents an EDM integer constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this integer value. - - - - - Provides semantics for CsdlNamedTypeReference. - - - - - Provides semantics for a Csdl null constant expression. - - - - - Represents an EDM null expression. - - - - - Represents an EDM null value. - - - - - Represents an EDM parameter reference expression. - - - - - Gets the referenced parameter. - - - - - Provides semantics for a Csdl Path expression. - - - - - Represents an EDM path expression. - - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E" is { "A.B", "C", "D.E" }. - - - - - Provides semantics for a CsdlPropertyValue used in a record expression. - - - - - Represents an EDM property constructor specified as part of a EDM construction record expression. - - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Provides semantics for a CsdlPropertyValue used in a type annotation. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Represents an EDM property. - - - - - Gets the kind of this property. - - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Provides semantics for a Csdl Record expression. - - - - - Represents an EDM record construction expression. - - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Provides the semantics of a reference to an EDM primitive type. - - - - - Represents references to primitive types. - - - - - This doesn't need the full caching mechanism because the computation is cheap, and the likelyhood of computing a primitive type reference without needing its definition is remote. - - - - - Represents a reference to an EDM spatial type. - - - - - Gets the Spatial Reference Identifier of this spatial type. - - - - - Provides semantics for a Csdl String constant expression. - - - - - Represents an EDM string constant expression. - - - - - Represents an EDM string value. - - - - - Gets the definition of this string value. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM time constant expression. - - - - - Represents an EDM time value. - - - - - Gets the definition of this time value. - - - - - Common base class for CsdlSemanticsTypeAnnotation and CsdlSemanticsValueAnnotation. - - - - - Represents an EDM vocabulary annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Gets the term bound by the annotation. - - - - - Gets the element the annotation applies to. - - - - - Gets the type to use as a binding context for expressions in the annotation. If the target of the annotation - is an entity type, that is the binding context. If the target is an entity set, the binding context is the - element type of the set. - - - - - Provides semantics for a CsdlTypeAnnotation. - - - - - Represents an EDM type annotation. - - - - - Gets the value annotations for the properties of the type. - - - - - Provides semantics for a CsdlValueAnnotation. - - - - - Represents an EDM value annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Provides semantics for a CsdlValueTerm. - - - - - Represents an EDM value term. - - - - - Gets the type of this term. - - - - - Represents a definition of an EDM association type. - - - - - Gets the namespace this association belongs to. - - - - - Gets the first end of the association. - - - - - Gets the second end of the association. - - - - - Gets the referential constraint of the association. - - - - - Represents an end of an EDM association. - - - - - Gets the declaring association of this association end. - - - - - Gets the entity type of this end of the association. - - - - - Gets this end's multiplicity. - - - - - Gets the action to execute on the deletion of this association end. - - - - - Represents an EDM association set. - - - - - Gets the association of this association set. - - - - - Gets the first end of this association set. - - - - - Gets the second end of this association set. - - - - - Represents one of the ends of an EDM association set. - - - - - Gets the association end that describes the role of this association set end. - - - - - Gets the entity set this association set end corresponds to. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that an entity set refers to a type that can be represented in CSDL. - - - - - Validates that a structured type's base type can be represented in CSDL. - - - - - Validates that association names can be represented in CSDL. - - - - - Validates that vocabulary annotations serialized out of line have a serializable target name. - - - - - Validates that vocabulary annotations have a serializable term name. - - - - - Represents whether a vocabulary annotation should be serialized within the element it applies to or in a seperate section of the CSDL. - - - - - The annotation should be serialized within the element being annotated. - - - - - The annotation should be serialized in a seperate section. - - - - - Contains extension methods for interfaces that are useful to serialization. - - - - - Gets the value for the EDMX version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDMX version attribute of the . - - The model the version should be set for. - The version. - - - - Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces. - - Reference to the calling object. - XmlNamespaceManage containing mappings between namespace prefixes and xml namespaces. - - - - Gets the preferred prefix mappings for xml namespaces from an IEdmModel - - Reference to the calling object. - Namespace prefixes that exist on the model. - - - - Sets a value for the DataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the DataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for. - Value of the attribute. - - - - Sets a value for the MaxDataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the MaxDataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for - Value of the attribute. - - - - Sets the location an annotation should be serialized in. - - The annotation the location is being specified for. - Model containing the annotation. - The location the annotation should appear. - - - - Gets the location an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - The location the annotation should be serialized at. - - - - Sets the schema an annotation should appear in. - - The annotation the schema should be set for. - Model containing the annotation. - The schema the annotation belongs in. - - - - Gets the schema an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - Name of the schema the annotation belongs to. - - - - Sets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Gets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Sets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the fully-qualified name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The fully-qualified association name. - - - - Sets the annotations for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Gets the annotations associated with the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Sets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Gets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Sets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set - The navigation property. - The association set name. - - - - Gets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set name. - - - - Sets the annotations for the association set serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the annotations associated with the association serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise. - - The navigation property. - The primary end between the navigation property and its partner. - - - - Sets an annotation indicating whether the value of an enum member should be explicitly serialized. - - Member to set the annotation on. - Model containing the member. - If the value of the enum member should be explicitly serialized - - - - Gets an annotation indicating whether the value of an enum member should be explicitly serialized. - - The member the annotation is on. - Model containing the member. - Whether the member should have its value serialized. - - - - Sets an annotation indicating if the value should be serialized as an element. - - Value to set the annotation on. - Model containing the value. - Value indicating if the value should be serialized as an element. - - - - Gets an annotation indicating if the value should be serialized as an element. - - Value the annotation is on. - Model containing the value. - Value indicating if the string should be serialized as an element. - - - - Sets the serialization alias for a given namespace - - Model that will be serialized. - The namespace to set the alias for. - The alias for that namespace. - - - - Gets the serialization alias for a given namespace. - - Model that will be serialized. - Namespace the alias is needed for. - The alias of the given namespace, or null if one does not exist. - - - - Represents a CSDL function return type. - - - - - Provides EDMX parsing services for EDM models. - - - - - True when either Runtime or DataServices node have been processed. - - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing. - - - - .TryParse does not exist on all platforms, so implementing it here. - - Input string. - Parsed version. - False in case of failure. - - - - All parse functions start with the reader pointing at the start tag of an element, and end after consuming the ending tag for the element. - - The current element name to be parsed. - The parsers for child elements of the current element. - - - - Provides EDMX serialization services for EDM models. - - - - - Outputs an EDMX artifact to the provided XmlWriter. - - Model to be written. - XmlWriter the generated EDMX will be written to. - Target implementation of the EDMX being generated. - Errors that prevented successful serialization, or no errors if serialization was successfull. - A value indicating whether serialization was successful. - - - - Represents references to entity reference types. - - - - - Represents the common base type of EDM functions and function imports. - - - - - Searches for a parameter with the given name, and returns null if no such parameter exists. - - The name of the parameter being found. - The requested parameter or null if no such parameter exists. - - - - Gets the return type of this function. - - - - - Gets the collection of parameters for this function. - - - - - Represents an EDM function import. - - - - - Represents the common elements of all EDM entity container elements. - - - - - Gets the kind of element of this container element. - - - - - Gets the container that contains this element. - - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Represents an EDM entity set reference expression. - - - - - Initializes a new instance of the class. - - Referenced entity set. - - - - Gets the referenced entity set. - - - - - Gets the kind of this expression. - - - - - Represents an EDM path expression. - - - - - Initializes a new instance of the class. - - Path string containing segments seperated by '/'. For example: "A.B/C/D.E/Func1(NS.T,NS.T2)/P1". - - - - Initializes a new instance of the class. - - Path segments. - - - - Initializes a new instance of the class. - - Path segments. - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }. - - - - - Gets the kind of this expression. - - - - - Represents references to row types. - - - - - Represents references to EDM structured types. - - - - - When we see an entity container, we see if it has . - If it does, then we attach it to that schema, otherwise we attached to the first existing schema. - If there are no schemas, we create the one named "Default" and attach container to it. - - The entity container being processed. - - - - Represents a delegate for creating an instance of CLR type based on and . - The delegate can be used to create CLR instances of polymorphic types. - - The for which the needs to be created. - The expected CLR type of the object instance. In case of polymorphic properties and collections this may be a base type. - The converter instance calling this delegate. - The output parameter returning a CLR object instance created for the . - The output parameter returning true if all properties of the created are initialized. - False if properties of the created instance should be initialized using the default logic. - True if the delegate produced a desired . - If delegate returns false, the default logic will be applied to create and populate a CLR object instance. - - - - to CLR value converter. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The delegate customizing conversion of structured values. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The CLR type. - The EDM value to be converted. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The EDM value to be converted. - The CLR type. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Registers the corresponding to the . - All subsequent conversions from this performed by this instance of will return the specified - . Registration is required to support graph consistency and loops during conversion process. - This method should be called inside the delegate if the delegate is calling back into - in order to populate properties of the . - - The EDM value. - The CLR object. - - - - Converts to a CLR byte array value. - - The EDM value to be converted. - Converted byte array. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted string. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted boolean. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted char. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted byte. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted double. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted single. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted decimal. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTime. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted Time. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTimeOffset. - Exception is thrown if is not . - - - - Searches the for a property with the . - Handles the case of multiple properties with the same name (declared via C# "new") by choosing the one on the deepest derived type. - - The clr object type. - The property name. - The property or null. - - - - Used for error messages only. - - The EDM value. - The EDM value interface name. - - - - The class contains method that are called thru reflection to produce values of correct CLR types. - For example if one has an int value and a clr type represnting an enum : int, there is no other way to convert the int - to the enum type object. - - - - - Expression evaluator capable of producing CLR values. - - - - - Expression evaluator. - - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the target type. - - - - Represents a lazily computed value. - - - - - Gets the data stored in this value. - - - - - Represents a value of an EDM property. - - - - - Gets the name of the property this value is associated with. - - - - - Represents an EDM collection value. - - - - - Gets the values stored in this collection. - - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - The CLR type of the value to be returned. - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the targetType. - - - - Gets or sets an instance of that is used to produce CLR values during evaluation. - - - - - Contains IsEquivalentTo() extension methods. - - - - - Returns true if the compared type is semantically equivalent to this type. - Schema types () are compared by their object refs. - - Type being compared. - Type being compared to. - Equivalence of the two types. - - - - Returns true if the compared type reference is semantically equivalent to this type reference. - Schema types () are compared by their object refs. - - Type reference being compared. - Type referenced being compared to. - Equivalence of the two type references. - - - - Returns true if function signatures are semantically equivalent. - Signature includes function name () and its parameter types. - - Reference to the calling object. - Function being compared to. - Equivalence of signatures of the two functions. - - - - Returns true if the compared function parameter is semantically equivalent to this function parameter. - - Reference to the calling object. - Function parameter being compared to. - Equivalence of the two function parameters. - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Gets the element to which the annotation is attached - - - - - Gets the namespace URI of the annotation. - - - - - Gets the local name of this annotation. - - - - - Gets the value of this annotation. - - - - - Remembers the result of evaluating an expensive function so that subsequent - evaluations are faster. Thread-safe. - - Type of the argument to the function. - Type of the function result. - - - - Constructs the memoizer. - - Required. Function whose values are being cached. - Optional. Comparer used to determine if two functions arguments are the same. - - - - Evaluates the wrapped function for the given argument. If the function has already - been evaluated for the given argument, returns cached value. Otherwise, the value - is computed and returned. - - Function argument. - Function result. - - - - Encapsulates a 'deferred' result. The result is constructed with a delegate (must not - be null) and when the user requests a value the delegate is invoked and stored. - - - - - Represents an EDM navigation property info used during construction of navigation properties. - - - - - Clones this object. - - A copy of this object. - - - - Gets or sets the name of this navigation property. - - - - - Gets or sets the entity type that this navigation property belongs to. - - - - - Gets or sets multiplicity of the navigation target. - - - - - Gets or sets the dependent properties of the association this navigation property expresses. - - - - - Gets or sets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets or sets the action to take when an instance of the declaring type is deleted. - - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Creates a new navigation target mapping. - - The navigation property. - The entity set that the navigation propertion targets. - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents an EDM time constant. - - - - - Represents an EDM value. - - - - - Initializes a new instance of the EdmValue class. - - Type of the value. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Initializes a new instance of the class. - - Time value represented by this value. - - - - Initializes a new instance of the class. - - Type of the Time. - Time value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a name binding to more than one item. - - Type of the ambiguous element. - - - - Represents an EDM entity container. - - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Represents an EDM entity set. - - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents an EDM function. - - - - - Gets the defining expression of this function. - - - - - Represents a labeled expression binding to more than one item. - - - - - Gets the kind of this property. - - - - - Gets the type that this property belongs to. - - - - - Represents a name binding to more than one item. - - - - - Represents a name binding to more than one item. - - - - - Represents a reference to a semantically invalid EDM binary type. - - - - - Represents a reference to an EDM binary type. - - - - - Represents a reference to an EDM primitive type. - - - - - Represents a reference to an EDM type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to an EDM binary type. - - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Represents a semantically invalid EDM collection type. - - - - - Represents a semantically invalid EDM complex type definition. - - - - - Represents a semantically invalid EDM named structured type definition. - - - - - Represents a semantically invalid EDM structured type definition. - - - - - Represents a definition of an EDM complex type. - - - - - Represents a reference to an EDM complex type. - - - - - Represents references to EDM complex types. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to a semantically invalid EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - Scale of values with this type. - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Represents a semantically invalid EDM entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a semantically invalid EDM entity reference type. - - - - - Represents a definition of an EDM entity reference type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents a semantically invalid EDM entity set. - - - - - Represents a semantically invalid EDM entity type. - - - - - Represents a reference to an EDM entity type. - - - - - Represents references to entity types. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents a semantically invalid EDM enumeration type member. - - - - - Represents a semantically invalid EDM labeled expression. - - - - - Represents a semantically invalid EDM primitive type definition. - - - - - Represents a definition of an EDM primitive type. - - - - - Gets the primitive kind of this type. - - - - - Represents a reference to a semantically invalid EDM primitive type. - - - - - Gets the kind of this value. - - - - - Represents a semantically invalid EDM property. - - - - - Represents a semantically invalid EDM row type. - - - - - Represents a definition of an EDM row type. - - - - - Represents a reference to a semantically invalid EDM spatial type. - - - - - Represents a reference to an EDM spatial type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Spatial Reference Identifier for the spatial type being created. - - - - Gets the precision of this temporal type. - - - - - Represents a reference to a semantically invalid EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - Denotes if string is encoded using Unicode. - Indicates the collation string to be used by the underlying store. - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Represents a reference to a semantically invalid EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Gets the precision of this temporal type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - - - - Gets the precision of this temporal type. - - - - - Represents an EDM complex type that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity container that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity type that cannot be determined due to a cyclic reference. - - - - - Provides a dictionary that is thread safe by virtue of being immutable. - Any update returns a new dictionary (which, for efficiency, may share some of the state of the old one). - - Key type of the dictionary. - Value type of the dictionary. - - - - Provides a list that is thread safe by virtue of being immutable. - "Mutating" operations return a new list (which, for efficiency, may share some of the state of the old one). - - Element type of the list. - - - - Provides an approximately-balanced binary search tree that is thread safe by virtue of being immutable. - Updates return a new tree (which, for efficiency, may share some state with the old one). - - Key type of the tree. - Value type of the tree. - - - - Initializes a new instance of VersioningTree. - - The key of the tree node. - The value of the tree node. - A tree with all keys less than the key of the tree node. May be null. - A tree with all keys greater than the key of the tree node. May be null. - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the local name of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - Type of the annotation value. - - - - Common base class for all named EDM elements. - - - - - Initializes a new instance of the class. - - Name of the element. - - - - Gets the name of this element. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Value of the annotation - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Defines an object as a location of itself. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the object. - - - - - Collection of extension methods to assert that an expression is of the required type. - - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - The context paths are to be evaluated in. - A value indicating whether the expression must match the asserted type exactly, or simply be compatible. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Contains ToTraceString() extension methods. - - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Represents an EDM enumeration type value. - - - - - Gets the underlying type value of the enumeration type. - - - - - Represents references to EDM enumeration types. - - - - - Represents an EDM value term reference expression. - - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Defines EDM term kinds. - - - - - Represents a term with unknown or error kind. - - - - - Represents a term implementing and . - - - - - Represents a term implementing . - - - - - Represents an EDM structured value. - - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Defines Edm values - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value with an unknown or error kind. - - - - - Defines EDM expression kinds. - - - - - Represents an expression with unknown or error kind. - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing - - - - - Constants for CSDL XML. - - - - - The local name of the annotation that stores EDMX version of a model. - - - - - Version 1.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2007/06/edmx". - - - - - Version 2.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2008/10/edmx". - - - - - Version 3.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2009/11/edmx". - - - - - The current latest version of EDMX. - - - - - Represents a CSDL annotation. - - - - - Represents a CSDL association. - - - - - Represents a CSDL association end. - - - - - Represents a CSDL association set. - - - - - Represents a CSDL association set end. - - - - - Represents a reference to a CSDL Binary type. - - - - - Represents a CSDL complex type. - - - - - Common base class for CSDL entity and complex types. - - - - - Common base class for CSDL entity, complex, and row Types. - - - - - Represents a reference to a CSDL decimal type. - - - - - Represents a CSDL documentation. - - - - - Represents a CSDL entity container. - - - - - Represents a CSDL entity reference type. - - - - - Represents a CSDL Entity Set. - - - - - Represents a CSDL entity type. - - - - - Represents a CSDL type reference based on a type expression. - - - - - Represents a CSDL function. - - - - - Represents a base class for CSDL functions and function imports. - - - - - Represents a CSDL function import. - - - - - Represents a CSDL function parameter. - - - - - Represents a CSDL key. - - - - - Represents a CSDL model. - - - - - Represents a CSDL navigation property. - - - - - Represents a CSDL "on delete" action. - - - - - Represents a CSDL property. - - - - - Represents a CSDL property reference. - - - - - Represents a CSDL referential constraint. - - - - - Represents a CSDL referential constraint role. - - - - - Represents a CSDL row type. - - - - - Represents a CSDL schema. - - - - - Represents a reference to a CSDL String type. - - - - - Represents a reference to a CSDL temporal type. - - - - - Represents a CSDL Using. - - - - - Base class for parsers of XML documents - - - - - CSDL document parser. - - - - - Provides for the loading and conversion of one or more CSDL XML readers into Entity Data Model. - - - - - Provides semantics for a CsdlAssociation. - - - - - Provides semantics for a CsdlAssociationEnd. - - - - - Provides semantics for a CsdlAssociationSet. - - - - - Provides semantics for a CsdlAssociationSetEnd. - - - - - Provides the semantics of a reference to an EDM Binary type. - - - - - Provides semantics for CsdlComplexType. - - - - - Provides semantics for CsdlStructuredType. - - - - - Provides the semantics of a reference to an EDM Decimal type. - - - - - Provides semantics for CsdlDocumentation. - - - - - Represents an EDM documentation. - - - - - Gets a summary of this documentation. - - - - - Gets a long description of this documentation. - - - - - Provides semantics for CsdlEntityContainer. - - - - - Provides semantics for CsdlEntityTypeReference. - - - - - Provides semantics for CsdlEntitySet. - - - - - Provides semantics for CsdlEntityType. - - - - - Provides semantics for a CsdlFunction. - - - - - Provides semantics for a CsdlFunctionParameter. - - - - - Represents a parameter of an EDM function. - - - - - Gets the type of this function parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this function parameter. - - - - - Provides semantics for CsdlMetadataModel. - - - - - Represents an EDM model. - - - - - Semantic representation of an EDM model. - - - This interface, and all interfaces reachable from it, preserve certain invariants: - -- The backing implementation of an element can be loaded or created on demand. - -- No direct element mutation occurs through the interfaces. - - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Initializes a new instance of the class. - - Models to which this model refers. - Annotations manager for the model to use. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for a function with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A group of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the base type. - - - - Adds a schema element to this model. - - The element to register. - - - - Adds a model reference to this model. - - The model to reference. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Searches for an association with the given name in this model and returns null if no such association exists. - - The qualified name of the type being found. - The requested association, or null if no such type exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Gets an error if one exists with the current object. - - - - - Provides semantics for a CsdlNavigationProperty. - - - - - Represents an EDM navigation property. - - - - - Gets the partner of this navigation property. - - - - - Gets the action to execute on the deletion of this end of a bidirectional association. - - - - - Gets whether this navigation property originates at the principal end of an association. - - - - - Gets the dependent properties of this navigation property, returning null if this is the principal end or if there is no referential constraint. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Represents a semantically invalid EDM association end. - - - - - Represents a navigation property synthesized for an association end that does not have a corresponding navigation property. - - - - - Represents a name binding to more than one item. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Initializes a new instance of the class. - - Property that is given a value by the annotation. - Expression producing the value of the annotation. - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM type annotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - - - - Gets the element the annotation applies to. - - - - - Gets the term bound by the annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Gets the value annotations for the properties of the type. - - - - - Represents an EDM value annotation. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Expression producing the value of the annotation. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Expression producing the value of the annotation. - - - - Gets the expression producing the value of the annotation. - - - - - Represents a semantically invalid EDM association. - - - - - Represents a member of an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The type that declares this member. - Name of this enumeration member. - Value of this enumeration member. - - - - Gets the type that this member belongs to. - - - - - Gets the value of this enumeration type member. - - - - - Represents the definition of an Edm enumeration type. - - - - - Represents the definition of an EDM type. - - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets the kind of this type. - - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Adds a new member to this enum type. - - The member to add. - - - - Creates and adds a new member to this enum type. - - Name of the member. - Value of the member. - Created member. - - - - Gets the kind of this type. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this enumeration type. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Represents an EDM enumeration member reference expression. - - - - - Initializes a new instance of the class. - - Referenced enum member. - - - - Gets the referenced enum member. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression reference expression. - - - - - Initializes a new instance of class with non-initialized property. - - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmLabeledExpressionReferenceExpression instance has been constructed. - - Referenced labeled element. - - - - Gets or sets the referenced labeled element. - The referenced labeled element can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM null. - - - - - Singleton instance. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM parameter reference expression. - - - - - Initializes a new instance of the class. - - Referenced parameter - - - - Gets the referenced parameter. - - - - - Gets the kind of this expression. - - - - - Represents information about an EDM function that failed to resolve. - - - - - Represents an EDM enumeration type value. - - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The enumeration type value. - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The underlying type value. - - - - Gets the underlying type value of the enumeration type. - - - - - Gets the kind of this value. - - - - - Represents an EDM binary constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM boolean constant. - - - - - Initializes a new instance of the class. - - Boolean value represented by this value. - - - - Initializes a new instance of the class. - - Type of the boolean. - Boolean value represented by this value. - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime constant. - - - - - Initializes a new instance of the class. - - DateTime value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTime. - DateTime value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime with offset constant. - - - - - Initializes a new instance of the class. - - DateTimeOffset value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTimeOffset. - DateTimeOffset value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM decimal constant. - - - - - Initializes a new instance of the class. - - Decimal value represented by this value. - - - - Initializes a new instance of the class. - - Type of the decimal. - Decimal value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a reference to an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents an EDM value term reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - Qualifier. - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Gets the kind of this expression. - - - - - Represents an EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Declared type of the record. - Property constructors. - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Optional declared type of the record. - Property constructors. - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM property constructor specified as part of a EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property name. - Property value. - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced property. - Referenced property. - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type test expression. - - - - - Initializes a new instance of the class. - - Expression whose type is to be tested. - Type to test. - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Gets the kind of this expression. - - - - - Represents an EDM if expression. - - - - - Initializes a new instance of the class. - - Test expression - Expression to evaluate if evaluates to true. - Expression to evaluate if evaluates to false. - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function reference expression. - - - - - Initializes a new instance of the class. - - Referenced function - - - - Gets the referenced function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression. - - - - - Initializes a new instance of the class. - - Label of the expression. - Underlying expression. - - - - Gets the label. - - - - - Gets the underlying expression. - - - - - Gets the expression kind. - - - - - Represents an EDM multi-value construction expression. - - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Gets the declared type of the collection. - - - - - Gets the constructed element values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type assertion expression. - - - - - Initializes a new instance of the class. - - Expression for which the type is asserted. - Type to assert. - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Gets the kind of this expression. - - - - - Represents an EDM floating point constant. - - - - - Initializes a new instance of the class. - - Floating point value represented by this value. - - - - Initializes a new instance of the class. - - Type of the floating point. - Floating point value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM guid constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM value term. - - - - - Initializes a new instance of class. - The new value term will be of the nullable primitive . - - Namespace of the term. - Name of the term. - Type of the term. - - - - Initializes a new instance of the class. - - Namespace of the term. - Name of the term. - Type of the term. - - - - Gets the namespace of this term. - - - - - Gets the kind of this term. - - - - - Gets the type of this term. - - - - - Gets the schema element kind of this term. - - - - - Represents a definition of an EDM collection type. - - - - - Initializes a new instance of the class. - - The type of the elements in this collection. - - - - Gets the kind of this type. - - - - - Gets the element type of this collection type. - - - - - Represents a reference to an EDM collection type. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents an EDM collection value. - - - - - Initializes a new instance of the class. - - A reference to a collection type that describes this collection value - The collection of values stored in this collection value - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - Provides semantics for a CsdlProperty. - - - - - Provides semantics for a CsdlReferentialConstraint. - - - - - Provides semantics for CsdlRowType. - - - - - Provides semantics for CsdlSchema. - - - - - All of the labeled expressions in a schema are collected into a dictionary so that references to them can be bound. - The elements of the dictionary are Csdl objects and not CsdlSemantics objects because the semantics objects are not created - until and unless necessary. - - A dictionary containing entries for all labeled expressions in the schema. - - - - Gets the labeled element expressions dictionary. - Each value in the dictionary is either a or a list of same. - - - - - Provides the semantics of a reference to an EDM String type. - - - - - Provides the semantics of a reference to an EDM temporal type. - - - - - Contains extension methods for interfaces. - - - - - Gets the value for the EDM version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDM version attribute of the . - - The model the version should be set for. - The version. - - - - Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. - - The model to search. - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and all referenced models and returns null if no such value term exists. - - The model to search. - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist. - - The model to search. - The qualified name of the functions being found. - The requested functions. - - - - Searches for an entity container with the given name in this model and all referenced models and returns null if no such entity container exists. - - The model to search. - The qualified name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets the entity containers belonging to this model. - - Model to search for entity containers. - Entity containers belonging to this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element (or, if the element is a type, to its base types) by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation that exists on the element. Otherwise, null. - - - - Sets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation to set. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value from an annotatable element. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - The requested annotation, if it exists. Otherwise, null. - - Strongly-typed wrappers for unnamed annotations keyed by CLR type. - - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The model containing the annotation. - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - Value of the new annotation. - - - - Gets all schema elements from the model, and models referenced by it. - - Model to search for elements - Schema elements from the model, and models referenced by it. - - - - Finds a list of types that derive from the supplied type directly or indirectly, and across models. - - The model types are being found on. - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Sets an annotation value on an annotatable element. - - Type of the annotation being set. - The model containing the annotation. - The annotated element. - Value of the new annotation. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The model in which to find the annotations. - The set of requested annotations. - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The model in which to set the annotations. - The annotations to set. - - - - Gets the direct value annotations for an element. - - The model containing the annotations. - The annotated element. - The immediate value annotations of the element. - - - - Gets the location of this element. - - Reference to the calling object. - The location of the element. - - - - Gets an annotatable element's vocabulary annotations as seen from a particular model. - - Reference to the calling object. - Model to check for annotations. - Annotations attached to the element by the model or by models referenced by the model. - - - - Gets the full name of the element. - - Reference to the calling object. - The full name of the element. - - - - Returns entity sets belonging to an IEdmEntityContainer. - - Reference to the calling object. - Entity sets belonging to an IEdmEntityContainer. - - - - Returns function imports belonging to an IEdmEntityContainer. - - Reference to the calling object. - Function imports belonging to an IEdmEntityContainer. - - - - Gets the type kind of the type references definition. - - Reference to the calling object. - The type kind of the reference. - - - - Gets the full name of the definition referred to by the type reference. - - Reference to the calling object. - The full name of this references definition. - - - - Gets the definition of this primitive type reference. - - Reference to the calling object. - Definition of this primitive type reference. - - - - Gets the primitive kind of the definition referred to by this type reference. - - Reference to the calling object. - Primitive kind of the definition of this reference. - - - - Gets all properties of the structured type definition and its base types. - - Reference to the calling object. - Properties of this type. - - - - Gets all structural properties declared in the IEdmStructuredTypeDefinition. - - Reference to the calling object. - All structural properties declared in the IEdmStructuredTypeDefinition. - - - - Gets the structural properties declared in this type definition and all base types. - - Reference to the calling object. - The structural properties declared in this type definition and all base types. - - - - Gets the definition of this structured type reference. - - Reference to the calling object. - The definition of this structured type reference. - - - - Returns true if the definition of this reference is abstract. - - Reference to the calling object. - If the definition of this reference is abstract. - - - - Returns true if the definition of this reference is open. - - Reference to the calling object. - If the definition of this reference is open. - - - - Returns the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference. - - Reference to the calling object. - All structural properties declared in the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference and all its base types. - - Reference to the calling object. - All structural properties declared in the definition of this reference and all its base types. - - - - Finds a property from the definition of this reference. - - Reference to the calling object. - Name of the property to find. - The requested property if it exists. Otherwise, null. - - - - Gets the base type of this entity type definition. - - Reference to the calling object. - The base type of this entity type definition. - - - - Gets the navigation properties declared in this entity definition. - - Reference to the calling object. - The navigation properties declared in this entity definition. - - - - Get the navigation properties declared in this entity type and all base types. - - Reference to the calling object. - The navigation properties declared in this entity type and all base types. - - - - Gets the declared key of the most defined entity with a declared key present. - - Reference to the calling object. - Key of this type. - - - - Checks whether the given entity type has the as one of the key properties. - - Given entity type. - Property to be searched for. - true if the type or base types has given property declared as key. false otherwise. - - - - Gets the definition of this entity reference. - - Reference to the calling object. - The definition of this entity reference. - - - - Gets the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets the entity key of the definition of this reference. - - Reference to the calling object. - The entity key of the definition of this reference. - - - - Gets the navigation properties declared in the definition of this reference and its base types. - - Reference to the calling object. - The navigation properties declared in the definition of this reference and its base types. - - - - Gets the navigation properties declared in the definition of this reference. - - Reference to the calling object. - The navigation properties declared in the definition of this reference. - - - - Finds a navigation property declared in the definition of this reference by name. - - Reference to the calling object. - Name of the navigation property to find. - The requested navigation property if it exists. Otherwise, null. - - - - Gets the base type of this references definition. - - Reference to the calling object. - The base type of this references definition. - - - - Gets the definition of this reference typed as an IEdmComplexTypeDefinition. - - Reference to the calling object. - The definition of this reference typed as an IEdmComplexTypeDefinition. - - - - Gets the base type of this reference. - - Reference to the calling object. - The base type of this reference. - - - - Gets the definition of this entity reference type reference. - - Reference to the calling object. - The definition of this entity reference type reference. - - - - Gets the entity type referred to by the definition of this entity reference type reference. - - Reference to the calling object. - The entity type referred to by the definition of this entity reference type reference. - - - - Gets the definition of this collection reference. - - Reference to the calling object. - The definition of this collection reference. - - - - Gets the element type of the definition of this collection reference. - - Reference to the calling object. - The element type of the definition of this collection reference. - - - - Gets the definition of this enumeration reference. - - Reference to the calling object. - The definition of this enumeration reference. - - - - Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. - - Reference to the calling object. - The multiplicity of this end of the relationship. - - - - Gets the entity type targeted by this navigation property. - - Reference to the calling object. - The entity type targeted by this navigation property. - - - - Gets the entity type declaring this navigation property. - - Reference to the calling object. - The entity type that declares this navigation property. - - - - Gets the definition of this row type reference. - - Reference to the calling object. - The definition of this row type reference. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Name of the property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the value term of this value annotation. - - Reference to the calling object. - The value term of this value annotation. - - - - Analyzes .EntitySet expression and returns a static reference if available. - - The function import containing the entity set expression. - The static entity set of the function import. - True if the entity set expression of the contains a static reference to an , otherwise false. - - - - Analyzes .EntitySet expression and returns a relative path to an if available. - The path starts with the and may have optional sequence of and type casts segments. - - The function import containing the entity set expression. - The model containing the function import. - The function import parameter from which the relative entity set path starts. - The optional sequence of navigation properties. - True if the entity set expression of the contains a relative path an , otherwise false. - - - - Finds a property of a record expression. - - The record expression. - Name of the property to find. - The property, if found, otherwise null. - - - - This method is only used for the function import entity set path parsing. - - The type of the segment. - Non-null entity type that may be bad. - - - - Provides CSDL serialization services for EDM models. - - - - - Outputs a CSDL artifact to the provided writer. - - Model to be written. - XmlWriter the generated CSDL will be written to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Outputs a CSDL artifact to the provided writers. - - Model to be written. - A delegate that takes in a schema namespace name and returns an XmlWriter to write the schema to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Provides CSDL parsing services for EDM models. - - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Model to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Models to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Enumerates the kinds of Edm Primitives. - - - - - Represents a primitive type of unknown kind. - - - - - Represents a Binary type. - - - - - Represents a Boolean type. - - - - - Represents a Byte type. - - - - - Represents a DateTime type. - - - - - Represents a DateTimeOffset type. - - - - - Represents a Decimal type. - - - - - Represents a Double type. - - - - - Represents a Guid type. - - - - - Represents a Int16 type. - - - - - Represents a Int32 type. - - - - - Represents a Int64 type. - - - - - Represents a SByte type. - - - - - Represents a Single type. - - - - - Represents a String type. - - - - - Represents a Stream type. - - - - - Represents a Time type. - - - - - Represents an arbitrary Geography type. - - - - - Represents a geography Point type. - - - - - Represents a geography LineString type. - - - - - Represents a geography Polygon type. - - - - - Represents a geography GeographyCollection type. - - - - - Represents a geography MultiPolygon type. - - - - - Represents a geography MultiLineString type. - - - - - Represents a geography MultiPoint type. - - - - - Represents an arbitrary Geometry type. - - - - - Represents a geometry Point type. - - - - - Represents a geometry LineString type. - - - - - Represents a geometry Polygon type. - - - - - Represents a geometry GeometryCollection type. - - - - - Represents a geometry MultiPolygon type. - - - - - Represents a geometry MultiLineString type. - - - - - Represents a geometry MultiPoint type. - - - - - Enumerates the EDM property concurrency modes. - - - - - Denotes a property that should be used for optimistic concurrency checks. - - - - - Denotes a property that should not be used for optimistic concurrency checks. - - - - - Provides a caching mechanism for semantic properties. - - Type of the element that contains the cached property - Type of the cached property - - - - Helper for Cache class. - - - - - Defines EDM container element types. - - - - - Represents an element where the container kind is unknown or in error. - - - - - Represents an element implementing . - - - - - Represents an element implementing . - - - - - Enumerates the modes of parameters of EDM functions. - - - - - Denotes that a parameter with an unknown or error directionality. - - - - - Denotes that a parameter is used for input. - - - - - Denotes that a parameter is used for output. - - - - - Denotes that a parameter is used for input and output. - - - - - Enumerates the multiplicities of EDM navigation properties. - - - - - The Multiplicity of the association end is unknown. - - - - - The Multiplicity of the association end is zero or one. - - - - - The Multiplicity of the association end is one. - - - - - The Multiplicity of the association end is many. - - - - - Enumerates the actions EDM can apply on deletes. - - - - - Take no action on delete. - - - - - On delete also delete items on the other end of the association. - - - - - Defines EDM property types. - - - - - Represents a property implementing . - - - - - Represents a property implementing . - - - - - Represents a property with an unknown or error kind. - - - - - Defines EDM schema element types. - - - - - Represents a schema element with unknown or error kind. - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing - - - - - Defines EDM metatypes. - - - - - Represents a type with an unknown or error kind. - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Interface describing anything that can be depended upon in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can be dependent on a dependency trigger in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can have cached data that might need flushing. - - - - - Represents a definition of an EDM complex type. - - - - - Common base class for definitions of EDM structured types. - - - - - Initializes a new instance of the class. - - Denotes a structured type that cannot be instantiated. - Denotes if the type is open. - Base type of the type - - - - Adds the to this type. - of the must be this type. - - The property being added. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Flag specifying if the property is nullable. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - The default value of this property. - The concurrency mode of this property. - Created structural property. - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Computes the the cached dictionary of properties for this type definition. - - Dictionary of properties keyed by their name. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the base type of this type. - - - - - Gets a dictionary of the properties in this type definition for faster lookup. - - - - - Initializes a new instance of the class. - - The namespace this type belongs to. - The name of this type within its namespace. - - - - Initializes a new instance of the class. - Note: Complex type inheritance is not supported in EDM version 3.0 and above. - - The namespace this type belongs to. - The name of this type within its namespace. - The base type of this complex type. - Denotes whether this complex type is abstract. - - - - Gets the schema element kind of this element. - - - - - Gets the namespace of this element. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the kind of this term. - - - - - Represents an EDM documentation. - - - - - Initializes a new instance of the class. - - Summary of the documentation. - The documentation contents. - - - - Gets summary of this documentation. - - - - - Gets documentation. - - - - - Represents an EDM entity container. - - - - - Initializes a new instance of the class. - - Namespace of the entity container. - Name of the entity container. - - - - Adds an entity container element to this entity container. - - The element to add. - - - - Creates and adds an entity set to this entity container. - - Name of the entity set. - The entity type of the elements in this entity set. - Created entity set. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - Created function import. - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Gets the namespace of this entity container. - - - - - Gets the name of this entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a definition of an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The entity referred to by this entity reference. - - - - Gets the kind of this type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents an EDM entity set. - - - - - Initializes a new instance of the class. - - An containing this entity set. - Name of the entity set. - The entity type of the elements in this entity set. - - - - Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this entity set. - - The navigation property the target is being set for. - The destination entity set of the specified navigation property. - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the kind of element of this container element. - - - - - Gets the container of this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents a definition of an EDM entity type. - - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Creates and adds a unidirectional navigation property to this type. - Default partner property is created, but not added to the navigation target type. - - Information to create the navigation property. - Created navigation property. - - - - Creates and adds a unidirectional navigation property to this type. - Navigation property partner is created, but not added to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates and adds a navigation property to this type and adds its navigation partner to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - The puspose of this method is to make sure that some of the fields are set to valid partner defaults. - For example if .Target is null, it will be set to this entity type. If .TargetMultiplicity - is unknown, it will be set to 0..1, etc. - Whenever this method applies new values to , it will return a copy of it (thus won't modify the original). - If is null, a new info object will be produced. - - Primary navigation property info. - Partner navigation property info. May be null. - Partner info. - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the term kind of the entity type. - - - - - Represents an EDM function. - - - - - Represents a base class for EDM functions and function imports. - - - - - Initializes a new instance of the class. - - The name of the function. - The return type of the function. - - - - Searches for a parameter with the given name in this function and returns null if no such parameter exists. - - The name of the parameter to be found. - The requested parameter, or null if no such parameter exists. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Created parameter. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Mode of the parameter. - Created parameter. - - - - Adds a parameter to this function (as the last parameter). - - The parameter being added. - - - - Gets the return type of this function. - - - - - Gets the parameters of this function. - - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - Defining expression of the function (for example an eSQL expression). - - - - Gets the defining expression of this function. - - - - - Gets the element kind of this function, which is always Function. - - - - - Gets the namespace of this function. - - - - - Represents an EDM function import. - - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - - - - Initializes a new instance of class. - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Gets the kind of this function, which is always FunctionImport. - - - - - Gets the container of this function. - - - - - Represents an EDM function parameter. - - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - Mode of the parameter. - - - - Gets the type of this parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this parameter. - - - - - Represents an EDM model. - - - - - Initializes a new instance of the class. - - - - - Adds a model reference to this model. - - The model to reference. - - - - Adds a schema element to this model. - - Element to be added. - - - - Adds a collection of schema elements to this model. - - Elements to be added. - - - - Adds a vocabulary annotation to this model. - - The annotation to be added. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Represents an EDM navigation property. - - - - - Represents an EDM property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - Type of the property. - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the kind of this property. - - - - - Creates two navigation properties representing an association between two entity types. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates two navigation properties representing an association between two entity types. - - Navigation property name. - Type of the navigation property. - Dependent properties of the navigation source. - A value indicating whether the navigation source logically contains the navigation target. - Action to take upon deletion of an instance of the navigation source. - Navigation partner property name. - Type of the navigation partner property. - Dependent properties of the navigation target. - A value indicating whether the navigation target logically contains the navigation source. - Action to take upon deletion of an instance of the navigation target. - Navigation property. - - - - Gets the kind of this property. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets the dependent properties of the association this navigation property expresses. - - - - - Gets a value indicating whether this navigation property is from the principal end of the association. - - - - - Gets the entity type that this navigation property belongs to. - - - - - Gets the action to take when an instance of the declaring type is deleted. - - - - - Gets the partner of this navigation property. - - - - - Represents an EDM integer constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a value of an EDM property. - - - - - Initializes a new instance of the class with non-initialized property. - This constructor allows setting property once after has been constructed. - - Name of the property for which this provides a value. - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmPropertyValue instance has been constructed. - - Name of the property for which this provides a value. - Value of the property. - - - - Gets the name of the property for which this provides a value. - - - - - Gets or sets the value of the property. - The value can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - The default value of this property. - The concurrency mode of this property. - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Gets the kind of this property. - - - - - Represents a definition of an EDM row type. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this type. - - - - - Represents an EDM string constant. - - - - - Initializes a new instance of the class. - - String value represented by this value. - - - - Initializes a new instance of the class. - - Type of the string. - String value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM structured value. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Child values of this value. - - - - Retrieves the value corresponding to the given property name. Returns null if no such value exists. - - The property that describes the value being found. - The requested value, or null if no such value exists. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Represents an EDM annotation with an immediate native value. - - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - The namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents information about an EDM type definition that failed to resolve. - - - - - Represents a reference to an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The definition referred to by this reference. - Denotes whether the type can be nullable. - - - - Gets the entity reference definition to which this type refers. - - - - - Contains constant values that apply to the EDM model, regardless of source (for CSDL/EDMX specific constants see ). - - - - - The URI of annotations that will be serialized as documentation elements. - - - - - The local name of annotations that will be serialized as documentation elements. - - - - - The URI of annotations that are internal and will not be serialized. - - - - - The local name of the annotation that stores the data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores the max data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores EDM version of a model. - - - - - Version 1.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2006/04/edm". - - - - - Version 1.1 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2007/05/edm". - - - - - Version 1.2 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2008/01/edm". - - - - - Version 2.0 of EDM. Corresponds to CSDL namespaces "http://schemas.microsoft.com/ado/2008/09/edm" and "http://schemas.microsoft.com/ado/2009/08/edm". - - - - - Version 3.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2009/11/edm". - - - - - The current latest version of EDM. - - - - - This is a marker interface for core model elements that do not require validation. - - - - - Provides predefined declarations relevant to EDM semantics. - - - - - The default core EDM model. - - - - - Gets a reference to a non-atomic collection type definition. - - Type of elements in the collection. - A new non-atomic collection type reference. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets primitive type by kind. - - Kind of the primitive type. - Primitive type definition. - - - - Gets the EdmPrimitiveTypeKind by the type name. - - Name of the type to look up. - EdmPrimitiveTypeKind of the type. - - - - Gets a reference to a primitive type of the specified kind. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int16 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int32 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int64 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Boolean primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Byte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the SByte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Guid primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to a datetime primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime type reference. - - - - Gets a reference to a datetime with offset primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime with offset type reference. - - - - Gets a reference to a time primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new time type reference. - - - - Gets a reference to a decimal primitive type definition. - - Precision of values of this type. - Scale of values of this type. - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a decimal primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a single primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a double primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a stream primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new stream type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Precision of values of this type. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if max length is unbounded. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Spatial Reference Identifier for the spatial type being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a string primitive type definition. - - Flag specifying if max length is the maximum allowable value. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the type should support unicode encoding. - String representing how data should be ordered. - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Gets a reference to a binary string type definition. - - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Gets the namespace of this core model. - - - - - Gets the types defined in this core model. - - - - - Gets the vocabulary annotations defined in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Gets the kind of this type. - - - - - Represents a reference to an EDM row type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Provides semantics of the predefined EDM types. - - - - - Returns true if this reference refers to a collection. - - Type reference. - This reference refers to a collection. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to a complex type. - - Type reference. - This reference refers to a complex type. - - - - Returns true if this reference refers to an enumeration type. - - Type reference. - This reference refers to an enumeration type. - - - - Returns true if this reference refers to a row type. - - Type reference. - This reference refers to a row type. - - - - Returns true if this reference refers to a structured type. - - Type reference. - This reference refers to a structured type. - - - - Returns true if this type kind represents a structured type. - - Reference to the calling object. - This kind refers to a structured type. - - - - Returns true if this reference refers to a primitive type. - - Type reference. - This reference refers to a primitive type. - - - - Returns true if this reference refers to a binary type. - - Type reference. - This reference refers to a binary type. - - - - Returns true if this reference refers to a boolean type. - - Type reference. - This reference refers to a boolean type. - - - - Returns true if this reference refers to a temporal type. - - Type reference. - This reference refers to a temporal type. - - - - Returns true if this type kind represents a temporal type. - - Reference to the calling object. - This kind refers to a temporal type. - - - - Returns true if this reference refers to a DateTime type. - - Type reference. - This reference refers to a DateTime type. - - - - Returns true if this reference refers to a time type. - - Type reference. - This reference refers to a time type. - - - - Returns true if this reference refers to a DateTimeOffset type. - - Type reference. - This reference refers to a DateTimeOffset type. - - - - Returns true if this reference refers to a decimal type. - - Type reference. - This reference refers to a decimal type. - - - - Returns true if this reference refers to a floating point type. - - Type reference. - This reference refers to a floating point type. - - - - Returns true if this reference refers to a single type. - - Type reference. - This reference refers to a single type. - - - - Returns true if this reference refers to a double type. - - Type reference. - This reference refers to a double type. - - - - Returns true if this reference refers to a GUID type. - - Type reference. - This reference refers to a GUID type. - - - - Returns true if this reference refers to a signed integral type. - - Type reference. - This reference refers to a signed integral type. - - - - Returns true if this reference refers to an SByte type. - - Type reference. - This reference refers to an SByte type. - - - - Returns true if this reference refers to an Int16 type. - - Type reference. - This reference refers to an Int16 type. - - - - Returns true if this reference refers to an Int32 type. - - Type reference. - This reference refers to an Int32 type. - - - - Returns true if this reference refers to an Int64 type. - - Type reference. - This reference refers to an Int64 type. - - - - Returns true if this reference refers to an integer type. - - Type reference. - This reference refers to an integer type. - - - - Returns true if this primitive type kind represents an integer type. - - Type reference. - This kind refers to an integer type. - - - - Returns true if this reference refers to a byte type. - - Type reference. - This reference refers to a byte type. - - - - Returns true if this reference refers to a string type. - - Type reference. - This reference refers to a string type. - - - - Returns true if this reference refers to a stream type. - - Type reference. - This reference refers to a stream type. - - - - Returns true if this reference refers to a spatial type. - - Type reference. - This reference refers to a spatial type. - - - - Returns true if this definition refers to a spatial type. - - Type reference. - This definition refers to a spatial type. - - - - Returns true if this type kind represents a spatial type. - - Type reference. - This kind refers to a spatial type. - - - - If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference. - - Reference to the calling object. - A valid primitive type reference if the definition of the reference is of a primitive type. Otherwise a bad primitive type reference. - - - - If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference. - - Reference to the calling object. - A valid collection type reference if the definition of the reference is of a collection type. Otherwise a bad collection type reference. - - - - If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference. - - Reference to the calling object. - A valid structured type reference if the definition of the reference is of a structured type. Otherwise a bad structured type reference. - - - - If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference. - - Reference to the calling object. - A valid enumeration type reference if the definition of the reference is of an enumeration type. Otherwise a bad enumeration type reference. - - - - If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference. - - Reference to the calling object. - A valid entity type reference if the definition of the reference is of an entity type. Otherwise a bad entity type reference. - - - - If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference. - - Reference to the calling object. - A valid entity reference type reference if the definition of the reference is of an entity reference type. Otherwise a bad entity reference type reference. - - - - If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference. - - Reference to the calling object. - A valid complex type reference if the definition of the reference is of a complex type. Otherwise a bad complex type reference. - - - - If this reference is of a row type, this will return a valid row type reference to the type definition. Otherwise, it will return a bad row type reference. - - Reference to the calling object. - A valid row type reference if the definition of the reference is of a row type. Otherwise a bad row type reference. - - - - If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference. - - Reference to the calling object. - A valid spatial type reference if the definition of the reference is of a spatial type. Otherwise a bad spatial type reference. - - - - If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference. - - Reference to the calling object. - A valid temporal type reference if the definition of the reference is of a temporal type. Otherwise a bad temporal type reference. - - - - If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference. - - Reference to the calling object. - A valid decimal type reference if the definition of the reference is of a decimal type. Otherwise a bad decimal type reference. - - - - If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference. - - Reference to the calling object. - A valid string type reference if the definition of the reference is of a string type. Otherwise a bad string type reference. - - - - If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference. - - Reference to the calling object. - A valid binary type reference if the definition of the reference is of a binary type. Otherwise a bad binary type reference. - - - - Returns the primitive kind of the definition of this reference. - - Reference to the calling object. - The primitive kind of the definition of this reference. - - - - Returns a reference to this row type definition. - - Reference to the calling object. - Flag specifying if the referenced type should be nullable. - A reference to this row type definition. - - - - Determines if the potential base type is in the inheritance hierarchy of the type being tested. - - Type to be tested for derivation from the other type. - The potential base type of the type being tested. - True if and only if the type inherits from the potential base type. - - - - Determines if a type is equivalent to or derived from another type. - - Type to be tested for equivalence to or derivation from the other type. - Type that is the other type. - True if and only if the thisType is equivalent to or inherits from otherType. - - - - Represents a reportable error in EDM - - - - - Initializes a new instance of the EdmError class. - - The location where the error occurred. - An integer code representing the error. - A human readable message describing the error. - - - - Gets a string representation of the error. - - A string representation of the error. - - - - Gets the location of the error in the file in which it occurred. - - - - - Gets an integer code representing the error. - - - - - Gets a human readable string describing the error. - - - - - Collection of validation methods. - - - - - Validate the and all of its properties using the current version of the model. - If the model has no version, is used. - - The root of the model to be validated. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Version of Edm to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Custom rule set to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - This is a thread-safe cache of object type to interface visitors which is shared between all instances of the validator. - - - - - Context that records errors reported by validation rules. - - - - - Method returns true if the is known to have structural errors associated with it. - - The element to test. - True if the has structural errors associated with it. - - - - Register an error with the validation context. - - Location of the error. - Value representing the error. - Message text discribing the error. - - - - Register an error with the validation context. - - Error to register. - - - - Gets the model being validated. - - - - - Contains IsBad() and Errors() extension methods. - - - - - Returns true if this element contains errors returned by the method. - - Reference to the calling object. - This element is an invalid element. - - - - Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. - The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. - - Reference to the calling object. - Any errors that belong to this element or elements that element contains. - - - - Gets the errors, if any, that belong to this type reference or its definition. - - The type reference. - Any errors that belong to this type reference or its definition. - - - - Built in Edm validation rules. - - - - - Validates that no direct value annotations share the same name and namespace. - - - - - Validates that a name is not empty or whitespace. - - - - - Validates that an element name is not too long according to the CSDL spec. - - - - - Validates that an element name matches the allowed pattern of names according to the CSDL spec. - - - - - Validates that an element namespace is not empty or whitespace. - - - - - Validates that an element namespace is not too long according to the CSDL spec. - - - - - Validates that an element namespace matches the allowed pattern of namespaces according to the CSDL spec. - - - - - Validates that an element namespace is not a reserved system namespace. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - Validates that there are no duplicate names in an entity container. - - - - - Validates that there is no entity set whose entity type has no key. - - - - - Validates that the entity type of an entity set can be found from the model being validated. - - - - - Validates that an entity set can only have a single navigation property targetting it that has Contains set to true. - - - - - Validates that if a navigation property is traversed to another entity set, and then the navigation properties partner is traversed, the destination will be the source entity set. - - - - - Validates an association set's name is correct - - - - - Validates that no navigation property is mapped to two different entity sets. - - - - - Validates that if a navigation property mapping is of recursive containment, the mapping points back to the source entity set. - - - - - Validates that the target of a navigation property mapping is valid for the target type of the property. - - - - - Validates that a type does not have a property with the same name as that type. - - - - - Validates that there are not duplicate properties in a type. - - - - - Validates that the base type of a complex type is complex, and the base type of an entity type is an entity. - - - - - Validates that the base type of a structured type can be found from the model being validated. - - - - - Validates that the declaring type of a property contains that property. - - - - - Open types are supported only in version 1.2 and after version 2.0. - - - - - Open types are supported only on entity types. - - - - - Raises an error if an enum type is found. - - - - - Validates that there are not duplicate enum members in an enum. - - - - - Raises an error if the underlying type of an enum type is not an integer type. - - - - - Raises an error if the type of an enum member doesn't match the underlying type of the enum it belongs to. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that no part of an entity key is nullable. - - - - - Validates that all parts of an entity key are scalar. - - - - - Validates that no part of an entity key is a binary primitive type. - - - - - Validates that a key is not defined if there is already a key in the base type. - - - - - Validates that the entity type has a key. - - - - - Validates that all properties in the key of an entity blong to that entity. - - - - - Validates that the entity type wrapped in this entity reference can be found through the model being validated. - - - - - A type without other errors must not have kind of none. - - - - - A primtive type without other errors must not have kind of none. - - - - - Validates that a complex type is not abstract. - - - - - Validates that a complex type does not inherit. - - - - - Validates that a complex type contains at least one property. - - - - - Validates that a row type does not have a base type. - - - - - Validates that a row type contains at least one property. - - - - - Validates that any property with a complex type is not nullable. - - - - - Validates that the property is of an allowed type. - - - - - Validates that if the concurrency mode of a property is fixed, the type is primitive. - - - - - Validates that only one end of an association has an OnDelete operation. - - - - - Validates that the type of a navigation property corresponds to the other end of the association and the multiplicity of the other end. - - - - - Validates that the dependent properties of a navigation property contain no duplicates. - - - - - Validates multiplicity of the principal end: - 0..1 - if some dependent properties are nullable, - 1 - if some dependent properties are not nullable. - * - not allowed. - - - - - Validates that if the dependent properties are equivalent to the key of the dependent end, the multiplicity of the dependent end cannot be 1 - Validates multiplicity of the dependent end according to the following rules: - 0..1, 1 - if dependent properties represent the dependent end key. - * - if dependent properties don't represent the dependent end key. - - - - - Validates that all dependent properties of a navigation property belong to the dependent entity type. - - - - - Validates that all dependent properties are a subset of the dependent entity types key. - - - - - Validates that the navigation property does not have both a multiplicity of many and an OnDelete operation. - - - - - Validates that is not set prior to V3. - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the target of navigation is 0..1 or Many. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Validates that if an entity does not directly contain itself, it cannot contain itself through a containment loop. - - - - - Validates that each pair of properties between the dependent properties and the principal ends key are of the same type. - - - - - Validates that an association name is valid. - - - - - Validates that an association end name is valid. - - - - - A property without other errors must not have kind of none. - - - - - Raises an error if a function is found. - - - - - Validates that no function parameters are output parameters. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that if a function import specifies an entity or collection of entities as its return type, it must also specify an entity set. - - - - - Validates that the entity set of a function import is defined using a path or an entity set reference expression. - - - - - Validates that the return type of a function import must match the type of the entity set of the function. - - - - - Validates that if a function import is composable, it must have a return type. - - - - - Validates that the type of a function imports parameter is correct. - - - - - Validates that a function import is not sideeffecting. - - - - - Validates that a function import is not composable. - - - - - Validates that a function is not bindable. - - - - - Validates that if a function is composable, it is not also sideeffecting. - - - - - Validates that if a function is bindable, it must have parameters. - - - - - Validates that no function import parameters have mode of none. - - - - - Validates that a function does not have multiple parameters with the same name. - - - - - Validates that a type reference refers to a type that can be found through the model being validated. - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - Validates that the scale is between 0 and the precision of the decimal type. - - - - - Validates that the precision is between 0 and the max precision of the decimal type. - - - - - Validates that the max length of a string is not negative. - - - - - Validates that IsUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the max length of a binary type is not negative. - - - - - Validates that isUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the precision is between 0 and the max precision of the temporal type. - - - - - Validates every schema element in the current model (except for entity containers) is unique across all referenced models. - - - - - Validates every schema element in the current model is unique across all referenced models. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that an immediate value annotation has a name and a namespace. - - - - - Validates that an immediate value annotation that is flagged to be serialized as an element can be serialized safely. - - - - - Validates that the name of a direct value annotation can safely be serialized as XML. - - - - - Vocabulary annotations are not supported before EDM 3.0. - - - - - Validates that a vocabulary annotations target can be found through the model containing the annotation. - - - - - Validates that if a value annotation declares a type, the expression for that annotation has the correct type. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a type annotation implements its term type properly. - - - - - Validates that the value of a property value binding is the correct type. - - - - - Value terms are not supported before EDM 3.0. - - - - - A term without other errors must not have kind of none. - - - - - Validates that an if expression has a boolean condition. - - - - - Validates that all properties of a collection expression are of the correct type. - - - - - Validates that if a value record expression declares a type, the property types are correct. - - - - - Validates the types of a function application are correct. - - - - - Validates that there are no annotations that share the same term and qualifier. - - - - - Validates that if a primitive value declares a type, the value is acceptable for the type. - - - - - A semantic validation rule. - - - - - A validation rule that is valid for a specific type. - - Type that the rule is valid for. - - - - Initializes a new instance of the ValidationRule class. - - Action to perform the validation. - - - - A set of rules to run during validation. - - - - - Initializes a new instance of the ValidationRuleSet class. - - Ruleset whose rules should be contained in this set. - Additional rules to add to the set. - - - - Initializes a new instance of the ValidationRuleSet class. - - Rules to be contained in this ruleset. - - - - Gets the default validation ruleset for the given version. - - The EDM version being validated. - The set of rules to validate that the model conforms to the given version. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - EdmLib validation error codes - - - - - Invalid error code - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - An exception was thrown by the underlying xml reader. - - - - - Encountered an XML node that was never used - - - - - Encountered an XML attribute that was never used - - - - - Encountered an XML element that was never used - - - - - Text was found in a location it was not allowed in - - - - - An empty file was provided to the parser - - - - - An XML element was missing a required attribute - - - - - Invalid Name - - - - - An XML attribute or element representing EDM type is missing. - - - - - Element name is already defined in this context. - - - - - The specified version number is not valid. - - - - - Malformed boolean value. - - - - - The property contains an error. - - - - - The type of this property is invalid for the given context. - - - - - Precision out of range - - - - - Scale out of range - - - - - Name is too long. - - - - - The provided association is invalid - - - - - Navigation property contains errors. - - - - - Entity key is invalid. - - - - - The value of the property must not be null. - - - - - An object with an interface kind property does not implement the interface corresponding to the value of that property. - For example this error will be reported for an object that implements interface with kind property reporting .Entity, - but does not implement interface. - - - - - The value of an interface kind property is not semantically valid. A semantically valid model must not contain elements of kind 'None'. - - - - - An enumeration property must not contain null elements. - - - - - The value of the enum type property is out of range. - - - - - If property P1 is a navigation property and P2 is its parnter, then partner property of P2 must be P1. - - - - - A chain of base types is cyclic. - - - - - Multiplicity value was malformed - - - - - The value for the Action attribute is invalid or not allowed in the current context - - - - - An error occured processing the OnDelete element - - - - - No complex type with that name exists. - - - - - The extent name used in the EntittyContainerType End does not match the name of any of the EntityContainerProperties in the containing EntityContainer - - - - - Function import specifies an entity set expression which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties. - - - - - The target entity set must be able to hold an entity that is valid for the navigation property of a mapping. - - - - - Invalid role value in the relationship constraint - - - - - Invalid Property in relationship constraint - - - - - Type mismatch between ToProperty and FromProperty in the relationship constraint - - - - - Invalid multiplicty of the principal end of a navigation. - - - - - The number of properties in the FromProperty and ToProperty in the relationship constraint must be identical - - - - - Invalid multiplicty of the dependent end of a navigation. - - - - - Open types are supported only in version 1.2 and after version 2.0. Only entity types can be open. - - - - - Vocabulary annotations are not supported before EDM 3.0 - - - - - Same role referred in the ToRole and FromRole of a referential constraint - - - - - Properties that are part of entity key must be of scalar type - - - - - Binary type properties which are part of entity key are currently supported before V2.0 - - - - - End with * multiplicity cannot have operations specified - - - - - EntitySet type has no keys - - - - - ConcurrencyMode value was malformed - - - - - Conurency can't change for any sub types of an EntitySet type. - - - - - In version 1.0 function import can have no return type or return a collection of scalars or a collection of entities. - In all other versions function import can have no return type or return a scalar, a complex type, an entity type or a collection of those. - - - - - Composable function import cannot be side-effecting. - - - - - Function import specifies entity type return but no entity set. - - - - - Function import specifies entity type that does not derive from element type of entity set. - - - - - Function import specifies a binding to an entity set but does not return entities. - - - - - A composable function import must have return type. - - - - - Same Entity Set Taking part in the same role of the relationship set in two different relationship sets - - - - - Entity key refers to the same property twice - - - - - Nullable complex Type not supported in version 1.0 and 2.0. - - - - - No Key defined on Entity Type - - - - - Need not specify system namespace in using - - - - - Invalid qualification specified for type - - - - - The value for an enumeration type member is ouf of range. - - - - - The entity container name has already been assigned to a different entity container. - - - - - Complex types were not allowed to be abstract here. - - - - - Complex types cannot have base types in this version. - - - - - A navigation property without direct containment cannot contain its declaring entity indirectly. - - - - - If a navigation property mapping is of a recursive navigation property, the mapping must point back to the same entity set. - - - - - Name collision makes this name ambiguous. - - - - - Could not find a type with this name. - - - - - Could not find a primitive type with this name. - - - - - This complex type is part of a cycle. - - - - - This Entity Container is bad because some part of its extends hierarchy is part of a cycle. - - - - - This entity type is part of a cycle. - - - - - Could not convert type reference to the requested type. - - - - - This entity set became invalid because the entity that it was of the type of was removed from the model. - - - - - Could not find an EntityContainer with that name. - - - - - Could not find an EntitySet with that name. - - - - - Could not find a property with that name - - - - - Could not find an association end with that name - - - - - Type of the navigation property was invalid because the association of the navigation property was invalid. - - - - - The base type of an entity must also be an entity. - - - - - The base type of a complex type must also be complex. - - - - - Could not find a function with this name. - - - - - Rows cannot have base types. - - - - - The role of an association set end must be an association end belonging to the association type that defines the associaiton set. - - - - - Every property in an entity key must be a property of the entity. - - - - - The principal end of a referential constraint must be one of the ends of the association that defined the referential constraint. - - - - - Dependent properties of a referential constraint must belong to the dependent entity set. - - - - - If a structured type declares a property, that properties declaring type must be the declaring structured type. - - - - - Functions are not supported before version 2.0. - - - - - Value terms are not supported before EDM 3.0 - - - - - Navigation property has a type that is not an entity or collection of entities. - - - - - Underlying type of the enumeration type is bad because the enumeration type is bad. - - - - - The type of the entity set on this association end is inconsistent with the association end. - - - - - Only function parameters with mode of In are allowed in function imports. - - - - - Complex types must contain at least one property. - - - - - Unsupported function import parameter type. - - - - - A row type must contain at least one property. - - - - - A referential constraint cannot have multiple dependent properties with the same name. - - - - - Bindable function import must have at least one parameter. - - - - - Function imports with side-effecting setting are not supported before version 3.0. - - - - - Function imports with composable setting are not supported before version 3.0. - - - - - Function imports with bindable setting are not supported before version 3.0. - - - - - Max length is out of range. - - - - - Binding context for Path expression does not supply an entity type - - - - - Invalid value for SRID - - - - - Invalid value for max length - - - - - Invalid value for long - - - - - Invalid value for integer - - - - - Invalid association set - - - - - Invalid parameter mode - - - - - No entity type with that name exists. - - - - - Value is invalid - - - - - Binary value is invalid. - - - - - Floating point value is invalid. - - - - - DateTime value is invalid. - - - - - DateTimeOffset value is invalid. - - - - - Decimal value is invalid. - - - - - Guid value is invalid. - - - - - The type kind None is not semantically valid. A semantically valid model must not contain elements of type kind None. - - - - - The if expression is invalid because it does not have 3 elements. - - - - - Enums were present in a model with a version below 3.0 - - - - - The type of an enum member value must match the underlying of the parent enum. - - - - - The IsType expression is invalid because it does not have 1 element. - - - - - The type name is not fully qualified and not a primitive. - - - - - The term name is not fully qualified. - - - - - No model was parsed because no XmlReaders were provided. - - - - - Model could not be parsed because one of the XmlReaders was null. - - - - - IsUnbounded cannot be true if MaxLength is non-null. - - - - - ImmediateValueAnnotation is invalid as an element annotation. - - - - - The LabeledElement expression is invalid because it does not have 1 element. - - - - - Could not find a LabeledElement with that name - - - - - Could not find a enum member with that name - - - - - The AssertType expression is invalid because it does not have 1 element. - - - - - Could not find a Parameter with that name - - - - - A navigation property with = true must point to an optional target. - - - - - If a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - - - - - If a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Navigation properties with setting are not supported before version 3.0. - - - - - The annotation target path cannot possibly refer to an annotable element. - - - - - A nullable type is not valid if a non-nullable type is required. - - - - - The expression is a primitive constant, and cannot be valid for an non-primitive type. - - - - - The primitive type is not valid for the requested type. - - - - - Null is not valid in a non nullable expression. - - - - - The expression is not valid for the asserted type. - - - - - A collection expression is not valid for a non-collection type. - - - - - A record expression is not valid for a non-structured type. - - - - - The record expression does not have all of the properties required for the specified type. - - - - - The record expression's type is not open, but the record expression has extra properties. - - - - - Target has multiple annotations with the same term and same qualifier. - - - - - Function application has wrong number of arguments for the function being applied. - - - - - Is it invalid to have multiple using statements with the same alias in a single schema element. - - - - - A model cannot be serialized to CSDL if it has references to types without fully qualified names. - - - - - The model could not be serialized because multiple schemas were produced and only a single output stream was found. - - - - - The Edmx version is not valid. - - - - - The EdmVersion is not valid. - - - - - Nothing was written because no schemas were produced. - - - - - Model has multiple entity containers with the same name. - - - - - The container name of a container element must be the full name of the container entity container. - - - - - A primitive constant expression is not valid for a non-primitive type. - - - - - The value of the integer constant is out of range for the asserted type. - - - - - The length of the string constant is too large for the asserted type. - - - - - The length of the binary constant is too large for the asserted type. - - - - - None is not a valid mode for a function import parameter. - - - - - A type without other errors must not have kind of none. - - - - - A primitive type without other errors must not have kind of none. - - - - - A property without other errors must not have kind of none. - - - - - A term without other errors must not have kind of none. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - A binary value must have content. - - - - - There can only be a single navigation property mapping with containment that targets a particular entity set. - - - - - The navigation properties partner does not point back to the correct type. - - - - - An entity set can only have one navigation property with containment. - - - - - If a navigation property is traversed from an entity set, and then it's partner is traversed from the target of the first mapping, the destination should be the originating entity set. - - - - - There can only be a single mapping from a given EntitySet with a particular navigation property. - - - - - An entity set must have a mapping for all of the navigation properties in its element type. - - - - - Type annotation does not have a property binding for all required properties. - - - - - Type annotation has a property binding for a non-existant property and its type is not open. - - - - - Time value is invalid. - - - - - The primitive type is invalid. - - - - - An Enum type must have an underlying type of integer. - - - - - Could not find a term with this name. - - - - - The principal properties of a referential constraint must match the key of the referential constraint. - - - - - A direct value annotation with the same name and namespace already exists. - - - - - AssociationSetEnd cannot infer an entity set because no set exists of the given type. - - - - - AssociationSetEnd cannot infer an entity set because more than one set exists of the given type. - - - - - Invalid entity set path. - - - - - Invalid enum member path. - - - - - An annotation qualifier must be a simple name. - - - - - Enum type could not be resolved. - - - - - Could not find a target with this name. - - - - - Path cannot be resolved in the given context. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = EntityRes.GetString(EntityRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "Annotations in the 'Documentation' namespace must implement 'IEdmDocumentation', but '{0}' does not." - - - - - A string like "Annotation of type '{0}' cannot be interpreted as '{1}'." - - - - - A string like "Navigation target entity type must be '{0}'." - - - - - A string like "The type '{0}' could not be converted to be a '{1}' type." - - - - - A string like "The value writer cannot write a value of kind '{0}'." - - - - - A string like "Type '{0}' must have a single type annotation with term type '{1}'." - - - - - A string like "Type '{0}' must have a single value annotation with term '{1}'." - - - - - A string like "Element must have a single value annotation with term '{0}'." - - - - - A string like "Expression with kind '{0}' cannot be evaluated." - - - - - A string like "Function '{0}' is not present in the execution environment." - - - - - A string like "Path segment '{0}' has no binding in the execution environment." - - - - - A string like "Value fails to match type '{0}'." - - - - - A string like "The namespace '{0}' is a system namespace and cannot be used by non-system types. Please choose a different namespace." - - - - - A string like "The entity set '{0}' is based on type '{1}' that has no keys defined." - - - - - A string like "An end with the name '{0}' is already defined." - - - - - A string like "The key specified in entity type '{0}' is not valid. Property '{1}' is referenced more than once in the key element." - - - - - A string like "The complex type '{0}' is marked as abstract. Abstract complex types are only supported in version 1.1 EDM models." - - - - - A string like "The complex type '{0}' has a base type specified. Complex type inheritance is only supported in version 1.1 EDM models." - - - - - A string like "The key part '{0}' for type '{1}' is not valid. All parts of the key must be non nullable." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. All properties that are part of the entity key must be of primitive type." - - - - - A string like "The key usage is not valid. '{0}' cannot define keys because one of its base classes '{1}' defines keys." - - - - - A string like "The entity type '{0}' has no key defined. Define the key for this entity type." - - - - - A string like "The navigation property '{0}' is not valid. The role '{1}' is not defined in relationship '{2}'." - - - - - A string like "The navigation property '{0}'is not valid. The from role and to role are the same." - - - - - A string like "The navigation property type could not be determined from the role '{0}'." - - - - - A string like "The navigation property '{0}' cannot have 'OnDelete' specified since its multiplicity is '*'." - - - - - A string like "Each name and plural name in a relationship must be unique. '{0}' is already defined." - - - - - A string like "In relationship '{0}', the principal and dependent role of the referential constraint refers to the same role in the relationship type." - - - - - A string like "The principal navigation property '{0}' has an invalid multiplicity. Valid values for the multiplicity of a principal end are '0..1' or '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are non-nullable, the multiplicity of the principal end must be '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are nullable, the multiplicity of the principal end must be '0..1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties represent the dependent end key, the multiplicity of the dependent end must be '0..1' or '1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties don't represent the dependent end key, the the multiplicity of the dependent end must be '*'." - - - - - A string like "The properties referred by the dependent role '{0}' must be a subset of the key of the entity type '{1}'." - - - - - A string like "The types of all properties in the dependent role of a referential constraint must be the same as the corresponding property types in the principal role. The type of property '{0}' on entity '{1}' does not match the type of property '{2}' on entity '{3}' in the referential constraint '{4}'." - - - - - A string like "There is no property with name '{0}' defined in the type referred to by role '{1}'." - - - - - A string like "The principal end properties in the referential constraint of the association '{0}' do not match the key of the type referred to by role '{1}'." - - - - - A string like "The property '{0}' is of a complex type and is nullable. Nullable complex type properties are not supported in EDM versions 1.0 and 2.0." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a complex, a primitive or an enum type, or a collection of complex, primitive, or enum types." - - - - - A string like "The function import '{0}' cannot be composable and side-effecting at the same time." - - - - - A string like "The bindable function import '{0}' must have at least one parameter." - - - - - A string like "The return type is not valid in function import '{0}'. In version 1.0 a function import can have no return type or return a collection of scalar values or a collection of entities." - - - - - A string like "The return type is not valid in function import '{0}'. The function import can have no return type or return a scalar, a complex type, an entity type or a collection of those." - - - - - A string like "The function import '{0}' returns entities but does not specify an entity set." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot exist in the entity set '{2}' specified for the function import." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot be returned by the entity set path specified for the function import." - - - - - A string like "The function import '{0}' specifies an entity set expression of kind {1} which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set expression which is not valid. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set but does not return entities." - - - - - A string like "The composable function import '{0}' must specify a return type." - - - - - A string like "Each parameter name in a function must be unique. The parameter name '{0}' is already defined." - - - - - A string like "Each member name in an EntityContainer must be unique. A member with name '{0}' is already defined." - - - - - A string like "An element with the name '{0}' is already defined." - - - - - A string like "The member name '{0}' cannot be used in a type with the same name. Member names cannot be the same as their enclosing type." - - - - - A string like "Each property name in a type must be unique. Property name '{0}' is already defined." - - - - - A string like "The key property '{0}' must belong to the entity '{1}'." - - - - - A string like "The dependent property '{0}' must belong to the dependent entity '{1}'." - - - - - A string like "The property '{0}' cannot belong to a type other than its declaring type. " - - - - - A string like "The named type '{0}' could not be found from the model being validated." - - - - - A string like "The named type '{0}' is ambiguous from the model being validated." - - - - - A string like "The type of the navigation property '{0}' is invalid. The navigation target type must be an entity type or a collection of entity type. The navigation target entity type must match the declaring type of the partner property." - - - - - A string like "The target multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and it must have an optional target represented by a collection or a nullable entity type." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and the multiplicity of the navigation source must be zero or one." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is not the same as the target entity type, then the property represents a non-recursive containment and the multiplicity of the navigation source must be exactly one." - - - - - A string like "The mode of the parameter '{0}' in the function '{1}' is invalid. Only input parameters are allowed in functions." - - - - - A string like "The mode of the parameter '{0}' in the function import '{1}' is invalid." - - - - - A string like "The type '{0}' of parameter '{1}' is invalid. A function import parameter must be one of the following types: A simple type or complex type." - - - - - A string like "The complex type '{0}' is invalid. A complex type must contain at least one property." - - - - - A string like "The dependent property '{0}' of navigation property '{1}' is a duplicate." - - - - - A string like "A property with a fixed concurrency mode cannot be of type '{0}'. The property type must be a primitive type." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. Binary types are not allowed in entity keys before version 2.0." - - - - - A string like "The type of the value of enum member '{0}' must match the underlying type of the parent enum." - - - - - A string like "Each member name of an enum type must be unique. Enum member name '{0}' is already defined." - - - - - A string like "Cannot assert the nullable type '{0}' as a non-nullable type." - - - - - A string like "Cannot promote the primitive type '{0}' to the specified primitive type '{1}'." - - - - - A string like "The record expression does not have a constructor for a property named '{0}'." - - - - - A string like "The type of the record expression is not open and does not contain a property named '{0}'." - - - - - A string like "The annotated element '{0}' has multiple annotations with the term '{1}' and the qualifier '{2}'." - - - - - A string like "The function application provides '{0}' arguments, but the function '{1}' expects '{2}' arguments." - - - - - A string like "Each entity container name in a function must be unique. The name '{0}' is already defined." - - - - - A string like "The value of the string constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "The value of the binary constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "A term without other errors must not have kind of none. The kind of term '{0}' is none." - - - - - A string like "A schema element without other errors must not have kind of none. The kind of schema element '{0}' is none." - - - - - A string like "A property without other errors must not have kind of none. The kind of property '{0}' is none." - - - - - A string like "A primitive type without other errors must not have kind of none. The kind of primitive type '{0}' is none." - - - - - A string like "An entity container element without other errors must not have kind of none. The kind of entity container element '{0}' is none." - - - - - A string like "The entity set '{0}' should have only a single mapping for the property '{1}'." - - - - - A string like "The mapping of the entity set '{0}' and navigation property '{1}' is invalid because the navigation property mapping must have a mapping with the navigation property's partner that points back to the originating entity set. " - - - - - A string like "The entity set '{0}' is invalid because it is contained by more than one navigation property." - - - - - A string like "The type annotation is missing a binding for the property '{0}'." - - - - - A string like "They type of the type annotation is not open, and does not contain a property named '{0}'." - - - - - A string like "The underlying type of '{0}' is not valid. The underlying type of an enum type must be an integral type. " - - - - - A string like "The term '{0}' could not be found from the model being validated." - - - - - A string like "The target '{0}' could not be found from the model being validated." - - - - - A string like "An element already has a direct value annotation with the namespace '{0}' and name '{1}'." - - - - - A string like "The association set '{0}' cannot assume an entity set for the role '{2}' because there are no entity sets for the role type '{1}'." - - - - - A string like "The association set '{0}' must specify an entity set for the role '{2}' because there are multiple entity sets for the role type '{1}'." - - - - - A string like "Because the navigation property '{0}' is recursive, the mapping from the entity set '{1}' must point back to itself." - - - - - A string like "The navigation property '{0}' is invalid because it indirectly contains itself." - - - - - A string like "The path cannot be resolved in the given context. The segment '{0}' failed to resolve." - - - - - A string like "The entity set '{1}' is not a valid destination for the navigation property '{0}' because it cannot hold an element of the target entity type." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified name is not allowed: '{0}'." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified namespace name is not allowed: '{0}'." - - - - - A string like "The value of the property '{0}.{1}' must not be null." - - - - - A string like "The property '{0}.{1}' of type '{2}' has value '{3}' that is not a valid enum member." - - - - - A string like "An object with the value '{0}' of the '{1}.{2}' property must implement '{3}' interface." - - - - - A string like "An object implementing '{0}' interface has type definition of kind '{1}'. The type reference interface must match to the kind of the definition." - - - - - A string like "The value '{0}' of the property '{1}.{2}' is not semantically valid. A semantically valid model must not contain elements of kind '{0}'." - - - - - A string like "The value of the enumeration the property '{0}.{1}' contains a null element. Enumeration properties must not contain null elements." - - - - - A string like "The partner of the navigation property '{0}' must not be the same property, and must point back to the navigation property." - - - - - A string like "The chain of base types of type '{0}' is cyclic." - - - - - A string like "The function import '{0}' could not be serialized because its return type cannot be represented inline." - - - - - A string like "A referenced type can not be serialized with an invalid name. The name '{0}' is invalid." - - - - - A string like "The annotation can not be serialized with an invalid target name. The name '{0}' is invalid." - - - - - A string like "{0} does not contain a schema definition, or the XmlReader provided started at the end of the file." - - - - - A string like "Required schema attribute '{0}' is not present on element '{1}'." - - - - - A string like "The current schema element does not support text '{0}'." - - - - - A string like "The attribute '{0}' was not expected in the given context." - - - - - A string like "The schema element '{0}' was not expected in the given context." - - - - - A string like "Unused schema element: '{0}'." - - - - - A string like "Unexpected XML node type: {0}." - - - - - A string like "The element '{0}' was unexpected for the root element. The root element should be {1}." - - - - - A string like "The namespace '{0}' is invalid. The root element is expected to belong to one of the following namespaces: '{1}'." - - - - - A string like "The root element has no namespace. The root element is expected to belong to one of the following namespaces: '{0}'." - - - - - A string like "The alias '{0}' is not a valid simple name." - - - - - A string like "The delete action '{0}' is not valid. Action must be: 'None', 'Cascade', or 'Restrict'." - - - - - A string like "The association '{0}' is not valid. Associations must contain exactly two end elements." - - - - - A string like "The association set '{0}' is not valid. Association sets must contain at most two end elements." - - - - - A string like "The concurrency mode '{0}' is not valid. Concurrency mode must be: 'None', or 'Fixed'." - - - - - A string like "Parameter mode '{0}' is not valid. Parameter mode must be: 'In', 'Out', or 'InOut'." - - - - - A string like "There is no Role with name '{0}' defined in relationship '{1}'." - - - - - A string like "The multiplicity '{0}' is not valid. Multiplicity must be: '*', '0..1', or '1'." - - - - - A string like "The type name '{0}' is invalid. The type name must be that of a primitive type, a fully qualified name or an inline 'Collection' or 'Ref' type." - - - - - A string like "The qualified name '{0}' is invalid. A qualified name must have a valid namespace or alias, and a valid name." - - - - - A string like "'{0}' is not a valid entity set path." - - - - - A string like "'{0}' is not a valid enum member path." - - - - - A string like "The annotation target '{0}' could not be resolved because it cannot refer to an annotatable element." - - - - - A string like "The schema '{0}' contains the alias '{1}' more than once." - - - - - A string like "Unexpected {0} element while parsing Edmx. Edmx is expected to have at most one of 'Runtime' or 'DataServices' elements." - - - - - A string like "Encountered the following errors when parsing the EDMX document: \r\n{0}" - - - - - A string like "The value '{0}' is not a valid boolean. The value must be 'true' or 'false'." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 64 bit integer." - - - - - A string like "The value '{0}' is not a valid floating point value. " - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer or 'Max'." - - - - - A string like "The value '{0}' is not a valid SRID. The value must either be a 32 bit integer or 'Variable'." - - - - - A string like "The value '{0}' is not a valid Guid. " - - - - - A string like "The value '{0}' is not a valid decimal." - - - - - A string like "The value '{0}' is not a valid date time offset value." - - - - - A string like "The value '{0}' is not a valid date time value." - - - - - A string like "The value '{0}' is not a valid time value." - - - - - A string like "The value '{0}' is not a valid binary value. The value must be a hexadecimal string and must not be prefixed by '0x'." - - - - - A string like "Invalid multiplicity: '{0}'" - - - - - A string like "Invalid schema element kind: '{0}'" - - - - - A string like "Invalid type kind: '{0}'" - - - - - A string like "Invalid primitive kind: '{0}'" - - - - - A string like "Invalid container element kind: '{0}'" - - - - - A string like "Invalid edmx target: '{0}'" - - - - - A string like "Invalid function parameter mode: '{0}'" - - - - - A string like "Invalid concurrency mode: '{0}'" - - - - - A string like "Invalid property kind: '{0}'" - - - - - A string like "Invalid term kind: '{0}'" - - - - - A string like "Invalid expression kind: '{0}'" - - - - - A string like "The name '{0}' is ambiguous." - - - - - A string like "The type '{0}' could not be found." - - - - - A string like "The complex type '{0}' could not be found." - - - - - A string like "The entity type '{0}' could not be found." - - - - - A string like "The primitive type '{0}' could not be found." - - - - - A string like "The function '{0}' could not be found." - - - - - A string like "The function '{0}' could not be resolved because more than one function could be used for this application." - - - - - A string like "The function '{0}' could not be resolved because none of the functions with that name take the correct set of parameters." - - - - - A string like "The entity set '{0}' could not be found." - - - - - A string like "The entity container '{0}' could not be found." - - - - - A string like "The enum type '{0}' could not be found." - - - - - A string like "The enum member '{0}' could not be found." - - - - - A string like "The property '{0}' could not be found." - - - - - A string like "The parameter '{0}' could not be found." - - - - - A string like "The labeled element '{0}' could not be found." - - - - - A string like "The entity '{0}' is invalid because its base type is cyclic." - - - - - A string like "The complex type '{0}' is invalid because its base type is cyclic." - - - - - A string like "The entity container '{0}' is invalid because its extends hierarchy is cyclic." - - - - - A string like "The association end '{0}' could not be computed." - - - - - A string like "Conversion of EDM values to a CLR type with type code {0} is not supported." - - - - - A string like "Cannot initialize a property '{0}' on an object of type '{1}'. The property already has a value." - - - - - A string like "An EDM structured value contains multiple values for the property '{0}'. Conversion of an EDM structured value with duplicate property values is not supported." - - - - - A string like "Conversion of an EDM value of the type '{0}' to the CLR type '{1}' is not supported." - - - - - A string like "Conversion of an edm collection value to the CLR type '{0}' is not supported. EDM collection values can be converted to System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> or System.Collections.Generic.ICollection<T>." - - - - - A string like "The type '{0}' of the object returned by the TryCreateObjectInstance delegate is not assignable to the expected type '{1}'." - - - - - A string like "Unexpected primitive type kind." - - - - - A string like "The annotation must have non-null target." - - - - - A string like "An entity type or a collection of an entity type is expected." - - - - - A string like "An element with type 'None' cannot be used in a model." - - - - - A string like "An element with type 'None' cannot be used in an entity container." - - - - - A string like "Value has already been set." - - - - - A string like "Path segments must not contain '/' character." - - - - - A string like "An on delete action can only be specified on one end of an association." - - - - - A string like "The number of properties in the dependent and principal role in a relationship constraint must be exactly identical." - - - - - A string like "The base type kind of a structured type must be the same as its derived type." - - - - - A string like "Row types cannot have a base type." - - - - - A string like "Functions are not supported prior to version 2.0." - - - - - A string like "The 'SideEffecting' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Composable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Bindable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'ContainsTarget' setting of navigation properties is not supported before version 3.0." - - - - - A string like "The row type is invalid. A row must contain at least one property." - - - - - A string like "The scale value can range from 0 through the specified precision value." - - - - - A string like "Precision cannot be negative." - - - - - A string like "The max length facet specifies the maximum length of an instance of the string type. For unicode equal to 'true', the max length can range from 1 to 2^30, or if 'false', 1 to 2^31." - - - - - A string like "Max length can range from 1 to 2^31." - - - - - A string like "Enums are not supported prior to version 3.0." - - - - - A string like "Value terms are not supported prior to version 3.0." - - - - - A string like "Vocabulary annotations are not supported prior to version 3.0." - - - - - A string like "Open types are supported only in version 1.2 and after version 2.0." - - - - - A string like "Only entity types can be open types." - - - - - A string like "The string reference is invalid because if 'IsUnbounded' is true 'MaxLength' must be null." - - - - - A string like "The declared name and namespace of the annotation must match the name and namespace of its xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must have a well-formed xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be IEdmStringValue." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be a string representing an xml element with non-empty name and namespace." - - - - - A string like "Null value cannot have a non-nullable type." - - - - - A string like "The type of the expression is incompatible with the asserted type." - - - - - A string like "A collection expression is incompatible with a non-collection type." - - - - - A string like "A primitive expression is incompatible with a non-primitive type." - - - - - A string like "A record expression is incompatible with a non-structured type." - - - - - A string like "References to EDM stream type are not supported before version 3.0." - - - - - A string like "References to EDM spatial types are not supported before version 3.0." - - - - - A string like "The primitive expression is not compatible with the asserted type." - - - - - A string like "The value of the integer constant is out of range for the asserted type." - - - - - A string like "A type without other errors must not have kind of none." - - - - - A string like "The name is missing or not valid." - - - - - A string like "The namespace name is missing or not valid." - - - - - A string like "Single file provided but model cannot be serialized into single file." - - - - - A string like "Unknown Edm version." - - - - - A string like "Unknown Edmx version." - - - - - A string like "No CSDL is written because no schema elements could be produced. This is likely because the model is empty." - - - - - A string like "The source XmlReader does not contain a schema definition or started at the end of the file." - - - - - A string like "Associations may have at most one constraint. Multiple constraints were specified for this association." - - - - - A string like "An XML attribute or sub-element representing an EDM type is missing." - - - - - A string like "Referential constraints requires one dependent role. Multiple dependent roles were specified for this referential constraint." - - - - - A string like "Referential constraints requires one principal role. Multiple principal roles were specified for this referential constraint." - - - - - A string like "If expression must contain 3 operands, the first being a boolean test, the second being being evaluated if the first is true, and the third being evaluated if the first is false." - - - - - A string like "The IsType expression must contain 1 operand." - - - - - A string like "The AssertType expression must contain 1 operand." - - - - - A string like "The LabeledElement expression must contain 1 operand." - - - - - A string like "A model could not be produced because no XML readers were provided." - - - - - A string like "A model could not be produced because one of the XML readers was null." - - - - - A string like " There was a mismatch in the principal and dependent ends of the referential constraint." - - - - - A string like "The enumeration member value exceeds the range of its data type 'http://www.w3.org/2001/XMLSchema:long'." - - - - - A string like "The EDMX version specified in the 'Version' attribute does not match the version corresponding to the namespace of the 'Edmx' element." - - - - - A string like "The specified value of data service version is invalid." - - - - - A string like "The specified value of max data service version is invalid." - - - - - A string like "The same rule cannot be in the same rule set twice." - - - - - A string like "Conversion of an EDM structured value is supported only to a CLR class." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/de/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/de/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 487294183..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/de/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/es/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/es/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 80c4bb649..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/es/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/fr/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/fr/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 0ef8722b0..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/fr/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/it/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/it/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index e45d3bb47..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/it/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ja/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ja/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 79f2b5a41..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ja/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ko/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ko/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index fa1cc7957..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ko/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ru/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ru/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 0f79405fc..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/ru/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/zh-Hans/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/zh-Hans/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index db204b286..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/zh-Hans/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/zh-Hant/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/zh-Hant/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 22a78cd0c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/net40/zh-Hant/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.Edm.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.Edm.dll deleted file mode 100644 index 655f939a4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.Edm.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.Edm.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.Edm.xml deleted file mode 100644 index 20894781a..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.Edm.xml +++ /dev/null @@ -1,11529 +0,0 @@ - - - - Microsoft.Data.Edm - - - - - Defines a location in a XML file. - - - - - Represents the location of an Edm item. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the line number in the file. - - - - - Gets the position in the line. - - - - - Exception type representing a failure to parse an EDM document. Carries the set of errors along with it. - - - - - Initializes a new instance of the class. - - The errors encountered while parsing. - - - - Prevents a default instance of the class from being created. - - The parse errors. - - - - Constructs an appropriate exception message from the set of parsing errors. - - The parse errors. - The exception message. - - - - Gets the set of errors that were encountered while parsing. - - - - - Specifies what target of an EDMX file. - - - - - The target is Entity Framework. - - - - - The target is OData. - - - - - Contains xml parsing methods for Edm. - - - - - Common base type for a CSDL expression. - - - - - Common base class for CSDL elements. - - - - - Represents a CSDL Collection expression. - - - - - Represents a CSDL enumeration type member. - - - - - Common base class for all named CSDL elements. - - - - - Base class for CSDL elements that have documentation. - - - - - Gets or sets the underlying type value of the member. - Value can be null only during deserialization of the declaring enumeration type. - When the type's deserialization is complete, all its members get their values assigned. - - - - - Represents a CSDL enumeration type. - - - - - Represents a CSDL Path expression. - - - - - Common base type for a CSDL type or value annotation. - - - - - Represents a CSDL Annotations element. - - - - - Represents a CSDL collection type. - - - - - Represents an inline type expression, such as , and - in the context of . - Note that nominal type declarations, such as entity, complex, association and primitive types, are not considered to be type expressions in the context - of - these types are handled in . - - - - - Represents a CSDL constant expression. - - - - - Represents a CSDL property value in an annotation. - - - - - Represents a CSDL Record expression. - - - - - Represents a reference to a CSDL primitive type. - - - - - Represents a CSDL type reference based on a type referenced by name. - - - - - Base type for the two kinds of type reference: and . - - - - - Represents a semantically invalid EDM enumeration type. - - - - - Represents an invalid EDM element. - - - - - Common base interface for all EDM elements. - - - - - Defines an Edm component who is invalid or whose validity is unknown at construction - - - - - Gets an error if one exists with the current object. - - - - - Represents an element that can be targeted by Vocabulary Annotations - - - - - Represents the definition of an EDM type. - - - - - Gets the kind of this type. - - - - - Represents a definition of an EDM enumeration type. - - - - - Represents an EDM type defined in an EDM schema. - - - - - Common base interface for all named children of EDM schemata. - - - - - Common base interface for all named EDM elements. - - - - - Gets the name of this element. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Common base class for all EDM elements. - - - - - Term to which an annotation can bind. - - - - - Gets the kind of a term. - - - - - Represents a definition of an EDM entity type. - - - - - Common base interface for definitions of EDM structured types. - - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the base type of this type. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Common base class for CsdlSemantics classes that have Annotations. - - - - - Interface for all EDM elements that can be located. - - - - - Gets the location of this element. - - - - - Allocates a new list if needed, and adds the item to the list. - - Type of the list. - List to add the item to. - Item being added. - List containing then new item. - - - - Represents an EDM expression. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Represents an EDM type assertion expression. - - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Provides semantics for a Csdl collection expression. - - - - - Represents an EDM multi-value construction expression. - - - - - Gets the declared type of the collection, or null if there is no declared type. - - - - - Gets the constructed element values. - - - - - Provides semantics for a Csdl datetime with offset constant expression. - - - - - Represents an EDM datetime with offset constant expression. - - - - - Represents an EDM datetime with offset value. - - - - - Represents an EDM primitive value. - - - - - Represents an EDM value. - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the definition of this value. - - - - - Provides a CSDL-specific annotations manager. - - - - - Direct-value annotations manager provides services for setting and getting transient annotations on elements. - - - An object representing transient annotations is in one of these states: - 1) Null, if the element has no transient annotations. - 2) An EdmAnnotation, if the element has exactly one annotation. - 3) A list of EdmAnnotation, if the element has more than one annotation. - If the speed of annotation lookup for elements with many annotations becomes a concern, another option - including a dictionary is possible. - - - - - Manages getting and setting direct value annotations on EDM elements. - - - - - Gets annotations associated with an element. - - The annotated element. - The direct value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - The value of the annotation. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Keeps track of transient annotations on elements. - - - - - Used for locking during updates to the annotations dictionary; - - - - - Elements for which normal comparison failed to produce a valid result, arbitrarily ordered to enable stable comparisons. - - - - - Used for locking during updates to the unsorted elements list. - - - - - Initializes a new instance of the class. - - - - - Gets annotations associated with an element. - - The annotated element. - The immediate value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - New annotation to set. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Retrieves the annotations that are directly attached to an element. - - The element in question. - The annotations that are directly attached to an element (outside the control of the manager). - - - - Retrieves the transient annotations for an EDM element. - - The annotated element. - The dictionary for looking up the element's annotations. - The transient annotations for the element, in a form managed by the annotations manager. - This method is static to guarantee that the annotations dictionary is not fetched more than once per lookup operation. - - - - Represents an EDM entity set reference expression. - - - - - Gets the referenced entity set. - - - - - Represents an EDM enumeration member reference expression. - - - - - Gets the referenced enum member. - - - - - Represents an EDM function reference expression. - - - - - Gets the referenced function. - - - - - Provides semantics for a Csdl guid constant expression. - - - - - Represents an EDM guid constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this guid value. - - - - - Provides semantics for a Csdl binary constant expression. - - - - - Represents an EDM binary constant expression. - - - - - Represents an EDM binary value. - - - - - Gets the definition of this binary value. - - - - - Represents an EDM if expression. - - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Represents an EDM type test expression. - - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Represents an EDM labeled expression element. - - - - - Gets the underlying expression. - - - - - Represents a reference to an EDM labeled expression. - - - - - Gets the referenced expression. - - - - - Provides semantics for a CsdlDirectValueAnnotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Provides semantics for a CsdlEnumMember. - - - - - Represents a definition of an EDM enumeration type member. - - - - - Gets the value of this enumeration type member. - - - - - Gets the type that this member belongs to. - - - - - Provides semantics for CsdlEnumType. - - - - - Common base class for the semantics of EDM types. - - - - - Represents a CSDL type annotation. - - - - - Represents a CSDL value annotation. - - - - - Represents a CSDL value term. - - - - - Provides semantics for an out-of-line CSDL Annotations. - - - - - Provides semantics for a Csdl Bool constant expression. - - - - - Represents an EDM boolean constant expression. - - - - - Represents an EDM boolean value. - - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Provides semantics for CsdlCollectionType. - - - - - Represents a definition of an EDM collection type. - - - - - Gets the element type of this collection. - - - - - Provides semantics for . - - - - - Represents a references to a type. - - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Represents references to EDM Collection types. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM datetime constant expression. - - - - - Represents an EDM datetime value. - - - - - Gets the definition of this datetime value. - - - - - Provides semantics for a Csdl Decimal constant expression. - - - - - Represents an EDM decimal constant expression. - - - - - Represents an EDM decimal value. - - - - - Gets the definition of this decimal value. - - - - - Provides semantics for a Csdl Float constant expression. - - - - - Represents an EDM floating constant expression. - - - - - Represents an EDM floating point value. - - - - - Gets the definition of this floating value. - - - - - Provides semantics for a Csdl Int constant expression. - - - - - Represents an EDM integer constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this integer value. - - - - - Provides semantics for CsdlNamedTypeReference. - - - - - Provides semantics for a Csdl null constant expression. - - - - - Represents an EDM null expression. - - - - - Represents an EDM null value. - - - - - Represents an EDM parameter reference expression. - - - - - Gets the referenced parameter. - - - - - Provides semantics for a Csdl Path expression. - - - - - Represents an EDM path expression. - - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E" is { "A.B", "C", "D.E" }. - - - - - Provides semantics for a CsdlPropertyValue used in a record expression. - - - - - Represents an EDM property constructor specified as part of a EDM construction record expression. - - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Provides semantics for a CsdlPropertyValue used in a type annotation. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Represents an EDM property. - - - - - Gets the kind of this property. - - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Provides semantics for a Csdl Record expression. - - - - - Represents an EDM record construction expression. - - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Provides the semantics of a reference to an EDM primitive type. - - - - - Represents references to primitive types. - - - - - This doesn't need the full caching mechanism because the computation is cheap, and the likelyhood of computing a primitive type reference without needing its definition is remote. - - - - - Represents a reference to an EDM spatial type. - - - - - Gets the Spatial Reference Identifier of this spatial type. - - - - - Provides semantics for a Csdl String constant expression. - - - - - Represents an EDM string constant expression. - - - - - Represents an EDM string value. - - - - - Gets the definition of this string value. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM time constant expression. - - - - - Represents an EDM time value. - - - - - Gets the definition of this time value. - - - - - Common base class for CsdlSemanticsTypeAnnotation and CsdlSemanticsValueAnnotation. - - - - - Represents an EDM vocabulary annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Gets the term bound by the annotation. - - - - - Gets the element the annotation applies to. - - - - - Gets the type to use as a binding context for expressions in the annotation. If the target of the annotation - is an entity type, that is the binding context. If the target is an entity set, the binding context is the - element type of the set. - - - - - Provides semantics for a CsdlTypeAnnotation. - - - - - Represents an EDM type annotation. - - - - - Gets the value annotations for the properties of the type. - - - - - Provides semantics for a CsdlValueAnnotation. - - - - - Represents an EDM value annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Provides semantics for a CsdlValueTerm. - - - - - Represents an EDM value term. - - - - - Gets the type of this term. - - - - - Represents a definition of an EDM association type. - - - - - Gets the namespace this association belongs to. - - - - - Gets the first end of the association. - - - - - Gets the second end of the association. - - - - - Gets the referential constraint of the association. - - - - - Represents an end of an EDM association. - - - - - Gets the declaring association of this association end. - - - - - Gets the entity type of this end of the association. - - - - - Gets this end's multiplicity. - - - - - Gets the action to execute on the deletion of this association end. - - - - - Represents an EDM association set. - - - - - Gets the association of this association set. - - - - - Gets the first end of this association set. - - - - - Gets the second end of this association set. - - - - - Represents one of the ends of an EDM association set. - - - - - Gets the association end that describes the role of this association set end. - - - - - Gets the entity set this association set end corresponds to. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that an entity set refers to a type that can be represented in CSDL. - - - - - Validates that a structured type's base type can be represented in CSDL. - - - - - Validates that association names can be represented in CSDL. - - - - - Validates that vocabulary annotations serialized out of line have a serializable target name. - - - - - Validates that vocabulary annotations have a serializable term name. - - - - - Represents whether a vocabulary annotation should be serialized within the element it applies to or in a seperate section of the CSDL. - - - - - The annotation should be serialized within the element being annotated. - - - - - The annotation should be serialized in a seperate section. - - - - - Contains extension methods for interfaces that are useful to serialization. - - - - - Gets the value for the EDMX version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDMX version attribute of the . - - The model the version should be set for. - The version. - - - - Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces. - - Reference to the calling object. - XmlNamespaceManage containing mappings between namespace prefixes and xml namespaces. - - - - Gets the preferred prefix mappings for xml namespaces from an IEdmModel - - Reference to the calling object. - Namespace prefixes that exist on the model. - - - - Sets a value for the DataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the DataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for. - Value of the attribute. - - - - Sets a value for the MaxDataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the MaxDataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for - Value of the attribute. - - - - Sets the location an annotation should be serialized in. - - The annotation the location is being specified for. - Model containing the annotation. - The location the annotation should appear. - - - - Gets the location an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - The location the annotation should be serialized at. - - - - Sets the schema an annotation should appear in. - - The annotation the schema should be set for. - Model containing the annotation. - The schema the annotation belongs in. - - - - Gets the schema an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - Name of the schema the annotation belongs to. - - - - Sets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Gets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Sets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the fully-qualified name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The fully-qualified association name. - - - - Sets the annotations for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Gets the annotations associated with the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Sets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Gets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Sets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set - The navigation property. - The association set name. - - - - Gets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set name. - - - - Sets the annotations for the association set serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the annotations associated with the association serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise. - - The navigation property. - The primary end between the navigation property and its partner. - - - - Sets an annotation indicating whether the value of an enum member should be explicitly serialized. - - Member to set the annotation on. - Model containing the member. - If the value of the enum member should be explicitly serialized - - - - Gets an annotation indicating whether the value of an enum member should be explicitly serialized. - - The member the annotation is on. - Model containing the member. - Whether the member should have its value serialized. - - - - Sets an annotation indicating if the value should be serialized as an element. - - Value to set the annotation on. - Model containing the value. - Value indicating if the value should be serialized as an element. - - - - Gets an annotation indicating if the value should be serialized as an element. - - Value the annotation is on. - Model containing the value. - Value indicating if the string should be serialized as an element. - - - - Sets the serialization alias for a given namespace - - Model that will be serialized. - The namespace to set the alias for. - The alias for that namespace. - - - - Gets the serialization alias for a given namespace. - - Model that will be serialized. - Namespace the alias is needed for. - The alias of the given namespace, or null if one does not exist. - - - - Represents a CSDL function return type. - - - - - Provides EDMX parsing services for EDM models. - - - - - True when either Runtime or DataServices node have been processed. - - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing. - - - - .TryParse does not exist on all platforms, so implementing it here. - - Input string. - Parsed version. - False in case of failure. - - - - All parse functions start with the reader pointing at the start tag of an element, and end after consuming the ending tag for the element. - - The current element name to be parsed. - The parsers for child elements of the current element. - - - - Provides EDMX serialization services for EDM models. - - - - - Outputs an EDMX artifact to the provided XmlWriter. - - Model to be written. - XmlWriter the generated EDMX will be written to. - Target implementation of the EDMX being generated. - Errors that prevented successful serialization, or no errors if serialization was successfull. - A value indicating whether serialization was successful. - - - - Represents references to entity reference types. - - - - - Represents the common base type of EDM functions and function imports. - - - - - Searches for a parameter with the given name, and returns null if no such parameter exists. - - The name of the parameter being found. - The requested parameter or null if no such parameter exists. - - - - Gets the return type of this function. - - - - - Gets the collection of parameters for this function. - - - - - Represents an EDM function import. - - - - - Represents the common elements of all EDM entity container elements. - - - - - Gets the kind of element of this container element. - - - - - Gets the container that contains this element. - - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Represents an EDM entity set reference expression. - - - - - Initializes a new instance of the class. - - Referenced entity set. - - - - Gets the referenced entity set. - - - - - Gets the kind of this expression. - - - - - Represents an EDM path expression. - - - - - Initializes a new instance of the class. - - Path string containing segments seperated by '/'. For example: "A.B/C/D.E/Func1(NS.T,NS.T2)/P1". - - - - Initializes a new instance of the class. - - Path segments. - - - - Initializes a new instance of the class. - - Path segments. - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }. - - - - - Gets the kind of this expression. - - - - - Represents references to row types. - - - - - Represents references to EDM structured types. - - - - - When we see an entity container, we see if it has . - If it does, then we attach it to that schema, otherwise we attached to the first existing schema. - If there are no schemas, we create the one named "Default" and attach container to it. - - The entity container being processed. - - - - Represents a delegate for creating an instance of CLR type based on and . - The delegate can be used to create CLR instances of polymorphic types. - - The for which the needs to be created. - The expected CLR type of the object instance. In case of polymorphic properties and collections this may be a base type. - The converter instance calling this delegate. - The output parameter returning a CLR object instance created for the . - The output parameter returning true if all properties of the created are initialized. - False if properties of the created instance should be initialized using the default logic. - True if the delegate produced a desired . - If delegate returns false, the default logic will be applied to create and populate a CLR object instance. - - - - to CLR value converter. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The delegate customizing conversion of structured values. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The CLR type. - The EDM value to be converted. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The EDM value to be converted. - The CLR type. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Registers the corresponding to the . - All subsequent conversions from this performed by this instance of will return the specified - . Registration is required to support graph consistency and loops during conversion process. - This method should be called inside the delegate if the delegate is calling back into - in order to populate properties of the . - - The EDM value. - The CLR object. - - - - Converts to a CLR byte array value. - - The EDM value to be converted. - Converted byte array. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted string. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted boolean. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted char. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted byte. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted double. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted single. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted decimal. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTime. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted Time. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTimeOffset. - Exception is thrown if is not . - - - - Searches the for a property with the . - Handles the case of multiple properties with the same name (declared via C# "new") by choosing the one on the deepest derived type. - - The clr object type. - The property name. - The property or null. - - - - Used for error messages only. - - The EDM value. - The EDM value interface name. - - - - The class contains method that are called thru reflection to produce values of correct CLR types. - For example if one has an int value and a clr type represnting an enum : int, there is no other way to convert the int - to the enum type object. - - - - - Expression evaluator capable of producing CLR values. - - - - - Expression evaluator. - - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the target type. - - - - Represents a lazily computed value. - - - - - Gets the data stored in this value. - - - - - Represents a value of an EDM property. - - - - - Gets the name of the property this value is associated with. - - - - - Represents an EDM collection value. - - - - - Gets the values stored in this collection. - - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - The CLR type of the value to be returned. - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the targetType. - - - - Gets or sets an instance of that is used to produce CLR values during evaluation. - - - - - Contains IsEquivalentTo() extension methods. - - - - - Returns true if the compared type is semantically equivalent to this type. - Schema types () are compared by their object refs. - - Type being compared. - Type being compared to. - Equivalence of the two types. - - - - Returns true if the compared type reference is semantically equivalent to this type reference. - Schema types () are compared by their object refs. - - Type reference being compared. - Type referenced being compared to. - Equivalence of the two type references. - - - - Returns true if function signatures are semantically equivalent. - Signature includes function name () and its parameter types. - - Reference to the calling object. - Function being compared to. - Equivalence of signatures of the two functions. - - - - Returns true if the compared function parameter is semantically equivalent to this function parameter. - - Reference to the calling object. - Function parameter being compared to. - Equivalence of the two function parameters. - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Gets the element to which the annotation is attached - - - - - Gets the namespace URI of the annotation. - - - - - Gets the local name of this annotation. - - - - - Gets the value of this annotation. - - - - - Remembers the result of evaluating an expensive function so that subsequent - evaluations are faster. Thread-safe. - - Type of the argument to the function. - Type of the function result. - - - - Constructs the memoizer. - - Required. Function whose values are being cached. - Optional. Comparer used to determine if two functions arguments are the same. - - - - Evaluates the wrapped function for the given argument. If the function has already - been evaluated for the given argument, returns cached value. Otherwise, the value - is computed and returned. - - Function argument. - Function result. - - - - Encapsulates a 'deferred' result. The result is constructed with a delegate (must not - be null) and when the user requests a value the delegate is invoked and stored. - - - - Read-writer lock, implemented over a Monitor. - - - Single object on which to lock. - - - Enters a reader lock. Writers will also be blocked. - - - Enters a writer lock. Readers will also be blocked. - - - Exits a reader lock. - - - Exits a writer lock. - - - - Represents an EDM navigation property info used during construction of navigation properties. - - - - - Clones this object. - - A copy of this object. - - - - Gets or sets the name of this navigation property. - - - - - Gets or sets the entity type that this navigation property belongs to. - - - - - Gets or sets multiplicity of the navigation target. - - - - - Gets or sets the dependent properties of the association this navigation property expresses. - - - - - Gets or sets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets or sets the action to take when an instance of the declaring type is deleted. - - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Creates a new navigation target mapping. - - The navigation property. - The entity set that the navigation propertion targets. - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents an EDM time constant. - - - - - Represents an EDM value. - - - - - Initializes a new instance of the EdmValue class. - - Type of the value. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Initializes a new instance of the class. - - Time value represented by this value. - - - - Initializes a new instance of the class. - - Type of the Time. - Time value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a name binding to more than one item. - - Type of the ambiguous element. - - - - Represents an EDM entity container. - - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Represents an EDM entity set. - - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents an EDM function. - - - - - Gets the defining expression of this function. - - - - - Represents a labeled expression binding to more than one item. - - - - - Gets the kind of this property. - - - - - Gets the type that this property belongs to. - - - - - Represents a name binding to more than one item. - - - - - Represents a name binding to more than one item. - - - - - Represents a reference to a semantically invalid EDM binary type. - - - - - Represents a reference to an EDM binary type. - - - - - Represents a reference to an EDM primitive type. - - - - - Represents a reference to an EDM type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to an EDM binary type. - - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Represents a semantically invalid EDM collection type. - - - - - Represents a semantically invalid EDM complex type definition. - - - - - Represents a semantically invalid EDM named structured type definition. - - - - - Represents a semantically invalid EDM structured type definition. - - - - - Represents a definition of an EDM complex type. - - - - - Represents a reference to an EDM complex type. - - - - - Represents references to EDM complex types. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to a semantically invalid EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - Scale of values with this type. - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Represents a semantically invalid EDM entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a semantically invalid EDM entity reference type. - - - - - Represents a definition of an EDM entity reference type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents a semantically invalid EDM entity set. - - - - - Represents a semantically invalid EDM entity type. - - - - - Represents a reference to an EDM entity type. - - - - - Represents references to entity types. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents a semantically invalid EDM enumeration type member. - - - - - Represents a semantically invalid EDM labeled expression. - - - - - Represents a semantically invalid EDM primitive type definition. - - - - - Represents a definition of an EDM primitive type. - - - - - Gets the primitive kind of this type. - - - - - Represents a reference to a semantically invalid EDM primitive type. - - - - - Gets the kind of this value. - - - - - Represents a semantically invalid EDM property. - - - - - Represents a semantically invalid EDM row type. - - - - - Represents a definition of an EDM row type. - - - - - Represents a reference to a semantically invalid EDM spatial type. - - - - - Represents a reference to an EDM spatial type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Spatial Reference Identifier for the spatial type being created. - - - - Gets the precision of this temporal type. - - - - - Represents a reference to a semantically invalid EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - Denotes if string is encoded using Unicode. - Indicates the collation string to be used by the underlying store. - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Represents a reference to a semantically invalid EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Gets the precision of this temporal type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - - - - Gets the precision of this temporal type. - - - - - Represents an EDM complex type that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity container that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity type that cannot be determined due to a cyclic reference. - - - - - Provides a dictionary that is thread safe by virtue of being immutable. - Any update returns a new dictionary (which, for efficiency, may share some of the state of the old one). - - Key type of the dictionary. - Value type of the dictionary. - - - - Provides a list that is thread safe by virtue of being immutable. - "Mutating" operations return a new list (which, for efficiency, may share some of the state of the old one). - - Element type of the list. - - - - Provides an approximately-balanced binary search tree that is thread safe by virtue of being immutable. - Updates return a new tree (which, for efficiency, may share some state with the old one). - - Key type of the tree. - Value type of the tree. - - - - Initializes a new instance of VersioningTree. - - The key of the tree node. - The value of the tree node. - A tree with all keys less than the key of the tree node. May be null. - A tree with all keys greater than the key of the tree node. May be null. - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the local name of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - Type of the annotation value. - - - - Common base class for all named EDM elements. - - - - - Initializes a new instance of the class. - - Name of the element. - - - - Gets the name of this element. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Value of the annotation - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Defines an object as a location of itself. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the object. - - - - - Collection of extension methods to assert that an expression is of the required type. - - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - The context paths are to be evaluated in. - A value indicating whether the expression must match the asserted type exactly, or simply be compatible. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Contains ToTraceString() extension methods. - - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Represents an EDM enumeration type value. - - - - - Gets the underlying type value of the enumeration type. - - - - - Represents references to EDM enumeration types. - - - - - Represents an EDM value term reference expression. - - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Defines EDM term kinds. - - - - - Represents a term with unknown or error kind. - - - - - Represents a term implementing and . - - - - - Represents a term implementing . - - - - - Represents an EDM structured value. - - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Defines Edm values - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value with an unknown or error kind. - - - - - Defines EDM expression kinds. - - - - - Represents an expression with unknown or error kind. - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing - - - - - Constants for CSDL XML. - - - - - The local name of the annotation that stores EDMX version of a model. - - - - - Version 1.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2007/06/edmx". - - - - - Version 2.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2008/10/edmx". - - - - - Version 3.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2009/11/edmx". - - - - - The current latest version of EDMX. - - - - - Represents a CSDL annotation. - - - - - Represents a CSDL association. - - - - - Represents a CSDL association end. - - - - - Represents a CSDL association set. - - - - - Represents a CSDL association set end. - - - - - Represents a reference to a CSDL Binary type. - - - - - Represents a CSDL complex type. - - - - - Common base class for CSDL entity and complex types. - - - - - Common base class for CSDL entity, complex, and row Types. - - - - - Represents a reference to a CSDL decimal type. - - - - - Represents a CSDL documentation. - - - - - Represents a CSDL entity container. - - - - - Represents a CSDL entity reference type. - - - - - Represents a CSDL Entity Set. - - - - - Represents a CSDL entity type. - - - - - Represents a CSDL type reference based on a type expression. - - - - - Represents a CSDL function. - - - - - Represents a base class for CSDL functions and function imports. - - - - - Represents a CSDL function import. - - - - - Represents a CSDL function parameter. - - - - - Represents a CSDL key. - - - - - Represents a CSDL model. - - - - - Represents a CSDL navigation property. - - - - - Represents a CSDL "on delete" action. - - - - - Represents a CSDL property. - - - - - Represents a CSDL property reference. - - - - - Represents a CSDL referential constraint. - - - - - Represents a CSDL referential constraint role. - - - - - Represents a CSDL row type. - - - - - Represents a CSDL schema. - - - - - Represents a reference to a CSDL String type. - - - - - Represents a reference to a CSDL temporal type. - - - - - Represents a CSDL Using. - - - - - Base class for parsers of XML documents - - - - - CSDL document parser. - - - - - Provides for the loading and conversion of one or more CSDL XML readers into Entity Data Model. - - - - - Provides semantics for a CsdlAssociation. - - - - - Provides semantics for a CsdlAssociationEnd. - - - - - Provides semantics for a CsdlAssociationSet. - - - - - Provides semantics for a CsdlAssociationSetEnd. - - - - - Provides the semantics of a reference to an EDM Binary type. - - - - - Provides semantics for CsdlComplexType. - - - - - Provides semantics for CsdlStructuredType. - - - - - Provides the semantics of a reference to an EDM Decimal type. - - - - - Provides semantics for CsdlDocumentation. - - - - - Represents an EDM documentation. - - - - - Gets a summary of this documentation. - - - - - Gets a long description of this documentation. - - - - - Provides semantics for CsdlEntityContainer. - - - - - Provides semantics for CsdlEntityTypeReference. - - - - - Provides semantics for CsdlEntitySet. - - - - - Provides semantics for CsdlEntityType. - - - - - Provides semantics for a CsdlFunction. - - - - - Provides semantics for a CsdlFunctionParameter. - - - - - Represents a parameter of an EDM function. - - - - - Gets the type of this function parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this function parameter. - - - - - Provides semantics for CsdlMetadataModel. - - - - - Represents an EDM model. - - - - - Semantic representation of an EDM model. - - - This interface, and all interfaces reachable from it, preserve certain invariants: - -- The backing implementation of an element can be loaded or created on demand. - -- No direct element mutation occurs through the interfaces. - - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Initializes a new instance of the class. - - Models to which this model refers. - Annotations manager for the model to use. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for a function with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A group of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the base type. - - - - Adds a schema element to this model. - - The element to register. - - - - Adds a model reference to this model. - - The model to reference. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Searches for an association with the given name in this model and returns null if no such association exists. - - The qualified name of the type being found. - The requested association, or null if no such type exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Gets an error if one exists with the current object. - - - - - Provides semantics for a CsdlNavigationProperty. - - - - - Represents an EDM navigation property. - - - - - Gets the partner of this navigation property. - - - - - Gets the action to execute on the deletion of this end of a bidirectional association. - - - - - Gets whether this navigation property originates at the principal end of an association. - - - - - Gets the dependent properties of this navigation property, returning null if this is the principal end or if there is no referential constraint. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Represents a semantically invalid EDM association end. - - - - - Represents a navigation property synthesized for an association end that does not have a corresponding navigation property. - - - - - Represents a name binding to more than one item. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Initializes a new instance of the class. - - Property that is given a value by the annotation. - Expression producing the value of the annotation. - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM type annotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - - - - Gets the element the annotation applies to. - - - - - Gets the term bound by the annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Gets the value annotations for the properties of the type. - - - - - Represents an EDM value annotation. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Expression producing the value of the annotation. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Expression producing the value of the annotation. - - - - Gets the expression producing the value of the annotation. - - - - - Represents a semantically invalid EDM association. - - - - - Represents a member of an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The type that declares this member. - Name of this enumeration member. - Value of this enumeration member. - - - - Gets the type that this member belongs to. - - - - - Gets the value of this enumeration type member. - - - - - Represents the definition of an Edm enumeration type. - - - - - Represents the definition of an EDM type. - - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets the kind of this type. - - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Adds a new member to this enum type. - - The member to add. - - - - Creates and adds a new member to this enum type. - - Name of the member. - Value of the member. - Created member. - - - - Gets the kind of this type. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this enumeration type. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Represents an EDM enumeration member reference expression. - - - - - Initializes a new instance of the class. - - Referenced enum member. - - - - Gets the referenced enum member. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression reference expression. - - - - - Initializes a new instance of class with non-initialized property. - - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmLabeledExpressionReferenceExpression instance has been constructed. - - Referenced labeled element. - - - - Gets or sets the referenced labeled element. - The referenced labeled element can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM null. - - - - - Singleton instance. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM parameter reference expression. - - - - - Initializes a new instance of the class. - - Referenced parameter - - - - Gets the referenced parameter. - - - - - Gets the kind of this expression. - - - - - Represents information about an EDM function that failed to resolve. - - - - - Represents an EDM enumeration type value. - - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The enumeration type value. - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The underlying type value. - - - - Gets the underlying type value of the enumeration type. - - - - - Gets the kind of this value. - - - - - Represents an EDM binary constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM boolean constant. - - - - - Initializes a new instance of the class. - - Boolean value represented by this value. - - - - Initializes a new instance of the class. - - Type of the boolean. - Boolean value represented by this value. - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime constant. - - - - - Initializes a new instance of the class. - - DateTime value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTime. - DateTime value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime with offset constant. - - - - - Initializes a new instance of the class. - - DateTimeOffset value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTimeOffset. - DateTimeOffset value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM decimal constant. - - - - - Initializes a new instance of the class. - - Decimal value represented by this value. - - - - Initializes a new instance of the class. - - Type of the decimal. - Decimal value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a reference to an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents an EDM value term reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - Qualifier. - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Gets the kind of this expression. - - - - - Represents an EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Declared type of the record. - Property constructors. - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Optional declared type of the record. - Property constructors. - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM property constructor specified as part of a EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property name. - Property value. - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced property. - Referenced property. - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type test expression. - - - - - Initializes a new instance of the class. - - Expression whose type is to be tested. - Type to test. - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Gets the kind of this expression. - - - - - Represents an EDM if expression. - - - - - Initializes a new instance of the class. - - Test expression - Expression to evaluate if evaluates to true. - Expression to evaluate if evaluates to false. - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function reference expression. - - - - - Initializes a new instance of the class. - - Referenced function - - - - Gets the referenced function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression. - - - - - Initializes a new instance of the class. - - Label of the expression. - Underlying expression. - - - - Gets the label. - - - - - Gets the underlying expression. - - - - - Gets the expression kind. - - - - - Represents an EDM multi-value construction expression. - - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Gets the declared type of the collection. - - - - - Gets the constructed element values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type assertion expression. - - - - - Initializes a new instance of the class. - - Expression for which the type is asserted. - Type to assert. - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Gets the kind of this expression. - - - - - Represents an EDM floating point constant. - - - - - Initializes a new instance of the class. - - Floating point value represented by this value. - - - - Initializes a new instance of the class. - - Type of the floating point. - Floating point value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM guid constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM value term. - - - - - Initializes a new instance of class. - The new value term will be of the nullable primitive . - - Namespace of the term. - Name of the term. - Type of the term. - - - - Initializes a new instance of the class. - - Namespace of the term. - Name of the term. - Type of the term. - - - - Gets the namespace of this term. - - - - - Gets the kind of this term. - - - - - Gets the type of this term. - - - - - Gets the schema element kind of this term. - - - - - Represents a definition of an EDM collection type. - - - - - Initializes a new instance of the class. - - The type of the elements in this collection. - - - - Gets the kind of this type. - - - - - Gets the element type of this collection type. - - - - - Represents a reference to an EDM collection type. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents an EDM collection value. - - - - - Initializes a new instance of the class. - - A reference to a collection type that describes this collection value - The collection of values stored in this collection value - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - Provides semantics for a CsdlProperty. - - - - - Provides semantics for a CsdlReferentialConstraint. - - - - - Provides semantics for CsdlRowType. - - - - - Provides semantics for CsdlSchema. - - - - - All of the labeled expressions in a schema are collected into a dictionary so that references to them can be bound. - The elements of the dictionary are Csdl objects and not CsdlSemantics objects because the semantics objects are not created - until and unless necessary. - - A dictionary containing entries for all labeled expressions in the schema. - - - - Gets the labeled element expressions dictionary. - Each value in the dictionary is either a or a list of same. - - - - - Provides the semantics of a reference to an EDM String type. - - - - - Provides the semantics of a reference to an EDM temporal type. - - - - - Contains extension methods for interfaces. - - - - - Gets the value for the EDM version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDM version attribute of the . - - The model the version should be set for. - The version. - - - - Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. - - The model to search. - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and all referenced models and returns null if no such value term exists. - - The model to search. - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist. - - The model to search. - The qualified name of the functions being found. - The requested functions. - - - - Searches for an entity container with the given name in this model and all referenced models and returns null if no such entity container exists. - - The model to search. - The qualified name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets the entity containers belonging to this model. - - Model to search for entity containers. - Entity containers belonging to this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element (or, if the element is a type, to its base types) by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation that exists on the element. Otherwise, null. - - - - Sets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation to set. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value from an annotatable element. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - The requested annotation, if it exists. Otherwise, null. - - Strongly-typed wrappers for unnamed annotations keyed by CLR type. - - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The model containing the annotation. - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - Value of the new annotation. - - - - Gets all schema elements from the model, and models referenced by it. - - Model to search for elements - Schema elements from the model, and models referenced by it. - - - - Finds a list of types that derive from the supplied type directly or indirectly, and across models. - - The model types are being found on. - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Sets an annotation value on an annotatable element. - - Type of the annotation being set. - The model containing the annotation. - The annotated element. - Value of the new annotation. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The model in which to find the annotations. - The set of requested annotations. - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The model in which to set the annotations. - The annotations to set. - - - - Gets the direct value annotations for an element. - - The model containing the annotations. - The annotated element. - The immediate value annotations of the element. - - - - Gets the location of this element. - - Reference to the calling object. - The location of the element. - - - - Gets an annotatable element's vocabulary annotations as seen from a particular model. - - Reference to the calling object. - Model to check for annotations. - Annotations attached to the element by the model or by models referenced by the model. - - - - Gets the full name of the element. - - Reference to the calling object. - The full name of the element. - - - - Returns entity sets belonging to an IEdmEntityContainer. - - Reference to the calling object. - Entity sets belonging to an IEdmEntityContainer. - - - - Returns function imports belonging to an IEdmEntityContainer. - - Reference to the calling object. - Function imports belonging to an IEdmEntityContainer. - - - - Gets the type kind of the type references definition. - - Reference to the calling object. - The type kind of the reference. - - - - Gets the full name of the definition referred to by the type reference. - - Reference to the calling object. - The full name of this references definition. - - - - Gets the definition of this primitive type reference. - - Reference to the calling object. - Definition of this primitive type reference. - - - - Gets the primitive kind of the definition referred to by this type reference. - - Reference to the calling object. - Primitive kind of the definition of this reference. - - - - Gets all properties of the structured type definition and its base types. - - Reference to the calling object. - Properties of this type. - - - - Gets all structural properties declared in the IEdmStructuredTypeDefinition. - - Reference to the calling object. - All structural properties declared in the IEdmStructuredTypeDefinition. - - - - Gets the structural properties declared in this type definition and all base types. - - Reference to the calling object. - The structural properties declared in this type definition and all base types. - - - - Gets the definition of this structured type reference. - - Reference to the calling object. - The definition of this structured type reference. - - - - Returns true if the definition of this reference is abstract. - - Reference to the calling object. - If the definition of this reference is abstract. - - - - Returns true if the definition of this reference is open. - - Reference to the calling object. - If the definition of this reference is open. - - - - Returns the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference. - - Reference to the calling object. - All structural properties declared in the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference and all its base types. - - Reference to the calling object. - All structural properties declared in the definition of this reference and all its base types. - - - - Finds a property from the definition of this reference. - - Reference to the calling object. - Name of the property to find. - The requested property if it exists. Otherwise, null. - - - - Gets the base type of this entity type definition. - - Reference to the calling object. - The base type of this entity type definition. - - - - Gets the navigation properties declared in this entity definition. - - Reference to the calling object. - The navigation properties declared in this entity definition. - - - - Get the navigation properties declared in this entity type and all base types. - - Reference to the calling object. - The navigation properties declared in this entity type and all base types. - - - - Gets the declared key of the most defined entity with a declared key present. - - Reference to the calling object. - Key of this type. - - - - Checks whether the given entity type has the as one of the key properties. - - Given entity type. - Property to be searched for. - true if the type or base types has given property declared as key. false otherwise. - - - - Gets the definition of this entity reference. - - Reference to the calling object. - The definition of this entity reference. - - - - Gets the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets the entity key of the definition of this reference. - - Reference to the calling object. - The entity key of the definition of this reference. - - - - Gets the navigation properties declared in the definition of this reference and its base types. - - Reference to the calling object. - The navigation properties declared in the definition of this reference and its base types. - - - - Gets the navigation properties declared in the definition of this reference. - - Reference to the calling object. - The navigation properties declared in the definition of this reference. - - - - Finds a navigation property declared in the definition of this reference by name. - - Reference to the calling object. - Name of the navigation property to find. - The requested navigation property if it exists. Otherwise, null. - - - - Gets the base type of this references definition. - - Reference to the calling object. - The base type of this references definition. - - - - Gets the definition of this reference typed as an IEdmComplexTypeDefinition. - - Reference to the calling object. - The definition of this reference typed as an IEdmComplexTypeDefinition. - - - - Gets the base type of this reference. - - Reference to the calling object. - The base type of this reference. - - - - Gets the definition of this entity reference type reference. - - Reference to the calling object. - The definition of this entity reference type reference. - - - - Gets the entity type referred to by the definition of this entity reference type reference. - - Reference to the calling object. - The entity type referred to by the definition of this entity reference type reference. - - - - Gets the definition of this collection reference. - - Reference to the calling object. - The definition of this collection reference. - - - - Gets the element type of the definition of this collection reference. - - Reference to the calling object. - The element type of the definition of this collection reference. - - - - Gets the definition of this enumeration reference. - - Reference to the calling object. - The definition of this enumeration reference. - - - - Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. - - Reference to the calling object. - The multiplicity of this end of the relationship. - - - - Gets the entity type targeted by this navigation property. - - Reference to the calling object. - The entity type targeted by this navigation property. - - - - Gets the entity type declaring this navigation property. - - Reference to the calling object. - The entity type that declares this navigation property. - - - - Gets the definition of this row type reference. - - Reference to the calling object. - The definition of this row type reference. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Name of the property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the value term of this value annotation. - - Reference to the calling object. - The value term of this value annotation. - - - - Analyzes .EntitySet expression and returns a static reference if available. - - The function import containing the entity set expression. - The static entity set of the function import. - True if the entity set expression of the contains a static reference to an , otherwise false. - - - - Analyzes .EntitySet expression and returns a relative path to an if available. - The path starts with the and may have optional sequence of and type casts segments. - - The function import containing the entity set expression. - The model containing the function import. - The function import parameter from which the relative entity set path starts. - The optional sequence of navigation properties. - True if the entity set expression of the contains a relative path an , otherwise false. - - - - Finds a property of a record expression. - - The record expression. - Name of the property to find. - The property, if found, otherwise null. - - - - This method is only used for the function import entity set path parsing. - - The type of the segment. - Non-null entity type that may be bad. - - - - Provides CSDL serialization services for EDM models. - - - - - Outputs a CSDL artifact to the provided writer. - - Model to be written. - XmlWriter the generated CSDL will be written to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Outputs a CSDL artifact to the provided writers. - - Model to be written. - A delegate that takes in a schema namespace name and returns an XmlWriter to write the schema to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Provides CSDL parsing services for EDM models. - - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Model to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Models to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Enumerates the kinds of Edm Primitives. - - - - - Represents a primitive type of unknown kind. - - - - - Represents a Binary type. - - - - - Represents a Boolean type. - - - - - Represents a Byte type. - - - - - Represents a DateTime type. - - - - - Represents a DateTimeOffset type. - - - - - Represents a Decimal type. - - - - - Represents a Double type. - - - - - Represents a Guid type. - - - - - Represents a Int16 type. - - - - - Represents a Int32 type. - - - - - Represents a Int64 type. - - - - - Represents a SByte type. - - - - - Represents a Single type. - - - - - Represents a String type. - - - - - Represents a Stream type. - - - - - Represents a Time type. - - - - - Represents an arbitrary Geography type. - - - - - Represents a geography Point type. - - - - - Represents a geography LineString type. - - - - - Represents a geography Polygon type. - - - - - Represents a geography GeographyCollection type. - - - - - Represents a geography MultiPolygon type. - - - - - Represents a geography MultiLineString type. - - - - - Represents a geography MultiPoint type. - - - - - Represents an arbitrary Geometry type. - - - - - Represents a geometry Point type. - - - - - Represents a geometry LineString type. - - - - - Represents a geometry Polygon type. - - - - - Represents a geometry GeometryCollection type. - - - - - Represents a geometry MultiPolygon type. - - - - - Represents a geometry MultiLineString type. - - - - - Represents a geometry MultiPoint type. - - - - - Enumerates the EDM property concurrency modes. - - - - - Denotes a property that should be used for optimistic concurrency checks. - - - - - Denotes a property that should not be used for optimistic concurrency checks. - - - - - Provides a caching mechanism for semantic properties. - - Type of the element that contains the cached property - Type of the cached property - - - - Helper for Cache class. - - - - - Defines EDM container element types. - - - - - Represents an element where the container kind is unknown or in error. - - - - - Represents an element implementing . - - - - - Represents an element implementing . - - - - - Enumerates the modes of parameters of EDM functions. - - - - - Denotes that a parameter with an unknown or error directionality. - - - - - Denotes that a parameter is used for input. - - - - - Denotes that a parameter is used for output. - - - - - Denotes that a parameter is used for input and output. - - - - - Enumerates the multiplicities of EDM navigation properties. - - - - - The Multiplicity of the association end is unknown. - - - - - The Multiplicity of the association end is zero or one. - - - - - The Multiplicity of the association end is one. - - - - - The Multiplicity of the association end is many. - - - - - Enumerates the actions EDM can apply on deletes. - - - - - Take no action on delete. - - - - - On delete also delete items on the other end of the association. - - - - - Defines EDM property types. - - - - - Represents a property implementing . - - - - - Represents a property implementing . - - - - - Represents a property with an unknown or error kind. - - - - - Defines EDM schema element types. - - - - - Represents a schema element with unknown or error kind. - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing - - - - - Defines EDM metatypes. - - - - - Represents a type with an unknown or error kind. - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Interface describing anything that can be depended upon in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can be dependent on a dependency trigger in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can have cached data that might need flushing. - - - - - Represents a definition of an EDM complex type. - - - - - Common base class for definitions of EDM structured types. - - - - - Initializes a new instance of the class. - - Denotes a structured type that cannot be instantiated. - Denotes if the type is open. - Base type of the type - - - - Adds the to this type. - of the must be this type. - - The property being added. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Flag specifying if the property is nullable. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - The default value of this property. - The concurrency mode of this property. - Created structural property. - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Computes the the cached dictionary of properties for this type definition. - - Dictionary of properties keyed by their name. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the base type of this type. - - - - - Gets a dictionary of the properties in this type definition for faster lookup. - - - - - Initializes a new instance of the class. - - The namespace this type belongs to. - The name of this type within its namespace. - - - - Initializes a new instance of the class. - Note: Complex type inheritance is not supported in EDM version 3.0 and above. - - The namespace this type belongs to. - The name of this type within its namespace. - The base type of this complex type. - Denotes whether this complex type is abstract. - - - - Gets the schema element kind of this element. - - - - - Gets the namespace of this element. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the kind of this term. - - - - - Represents an EDM documentation. - - - - - Initializes a new instance of the class. - - Summary of the documentation. - The documentation contents. - - - - Gets summary of this documentation. - - - - - Gets documentation. - - - - - Represents an EDM entity container. - - - - - Initializes a new instance of the class. - - Namespace of the entity container. - Name of the entity container. - - - - Adds an entity container element to this entity container. - - The element to add. - - - - Creates and adds an entity set to this entity container. - - Name of the entity set. - The entity type of the elements in this entity set. - Created entity set. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - Created function import. - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Gets the namespace of this entity container. - - - - - Gets the name of this entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a definition of an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The entity referred to by this entity reference. - - - - Gets the kind of this type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents an EDM entity set. - - - - - Initializes a new instance of the class. - - An containing this entity set. - Name of the entity set. - The entity type of the elements in this entity set. - - - - Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this entity set. - - The navigation property the target is being set for. - The destination entity set of the specified navigation property. - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the kind of element of this container element. - - - - - Gets the container of this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents a definition of an EDM entity type. - - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Creates and adds a unidirectional navigation property to this type. - Default partner property is created, but not added to the navigation target type. - - Information to create the navigation property. - Created navigation property. - - - - Creates and adds a unidirectional navigation property to this type. - Navigation property partner is created, but not added to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates and adds a navigation property to this type and adds its navigation partner to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - The puspose of this method is to make sure that some of the fields are set to valid partner defaults. - For example if .Target is null, it will be set to this entity type. If .TargetMultiplicity - is unknown, it will be set to 0..1, etc. - Whenever this method applies new values to , it will return a copy of it (thus won't modify the original). - If is null, a new info object will be produced. - - Primary navigation property info. - Partner navigation property info. May be null. - Partner info. - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the term kind of the entity type. - - - - - Represents an EDM function. - - - - - Represents a base class for EDM functions and function imports. - - - - - Initializes a new instance of the class. - - The name of the function. - The return type of the function. - - - - Searches for a parameter with the given name in this function and returns null if no such parameter exists. - - The name of the parameter to be found. - The requested parameter, or null if no such parameter exists. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Created parameter. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Mode of the parameter. - Created parameter. - - - - Adds a parameter to this function (as the last parameter). - - The parameter being added. - - - - Gets the return type of this function. - - - - - Gets the parameters of this function. - - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - Defining expression of the function (for example an eSQL expression). - - - - Gets the defining expression of this function. - - - - - Gets the element kind of this function, which is always Function. - - - - - Gets the namespace of this function. - - - - - Represents an EDM function import. - - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - - - - Initializes a new instance of class. - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Gets the kind of this function, which is always FunctionImport. - - - - - Gets the container of this function. - - - - - Represents an EDM function parameter. - - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - Mode of the parameter. - - - - Gets the type of this parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this parameter. - - - - - Represents an EDM model. - - - - - Initializes a new instance of the class. - - - - - Adds a model reference to this model. - - The model to reference. - - - - Adds a schema element to this model. - - Element to be added. - - - - Adds a collection of schema elements to this model. - - Elements to be added. - - - - Adds a vocabulary annotation to this model. - - The annotation to be added. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Represents an EDM navigation property. - - - - - Represents an EDM property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - Type of the property. - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the kind of this property. - - - - - Creates two navigation properties representing an association between two entity types. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates two navigation properties representing an association between two entity types. - - Navigation property name. - Type of the navigation property. - Dependent properties of the navigation source. - A value indicating whether the navigation source logically contains the navigation target. - Action to take upon deletion of an instance of the navigation source. - Navigation partner property name. - Type of the navigation partner property. - Dependent properties of the navigation target. - A value indicating whether the navigation target logically contains the navigation source. - Action to take upon deletion of an instance of the navigation target. - Navigation property. - - - - Gets the kind of this property. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets the dependent properties of the association this navigation property expresses. - - - - - Gets a value indicating whether this navigation property is from the principal end of the association. - - - - - Gets the entity type that this navigation property belongs to. - - - - - Gets the action to take when an instance of the declaring type is deleted. - - - - - Gets the partner of this navigation property. - - - - - Represents an EDM integer constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a value of an EDM property. - - - - - Initializes a new instance of the class with non-initialized property. - This constructor allows setting property once after has been constructed. - - Name of the property for which this provides a value. - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmPropertyValue instance has been constructed. - - Name of the property for which this provides a value. - Value of the property. - - - - Gets the name of the property for which this provides a value. - - - - - Gets or sets the value of the property. - The value can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - The default value of this property. - The concurrency mode of this property. - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Gets the kind of this property. - - - - - Represents a definition of an EDM row type. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this type. - - - - - Represents an EDM string constant. - - - - - Initializes a new instance of the class. - - String value represented by this value. - - - - Initializes a new instance of the class. - - Type of the string. - String value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM structured value. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Child values of this value. - - - - Retrieves the value corresponding to the given property name. Returns null if no such value exists. - - The property that describes the value being found. - The requested value, or null if no such value exists. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Represents an EDM annotation with an immediate native value. - - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - The namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents information about an EDM type definition that failed to resolve. - - - - - Represents a reference to an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The definition referred to by this reference. - Denotes whether the type can be nullable. - - - - Gets the entity reference definition to which this type refers. - - - - - Contains constant values that apply to the EDM model, regardless of source (for CSDL/EDMX specific constants see ). - - - - - The URI of annotations that will be serialized as documentation elements. - - - - - The local name of annotations that will be serialized as documentation elements. - - - - - The URI of annotations that are internal and will not be serialized. - - - - - The local name of the annotation that stores the data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores the max data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores EDM version of a model. - - - - - Version 1.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2006/04/edm". - - - - - Version 1.1 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2007/05/edm". - - - - - Version 1.2 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2008/01/edm". - - - - - Version 2.0 of EDM. Corresponds to CSDL namespaces "http://schemas.microsoft.com/ado/2008/09/edm" and "http://schemas.microsoft.com/ado/2009/08/edm". - - - - - Version 3.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2009/11/edm". - - - - - The current latest version of EDM. - - - - - This is a marker interface for core model elements that do not require validation. - - - - - Provides predefined declarations relevant to EDM semantics. - - - - - The default core EDM model. - - - - - Gets a reference to a non-atomic collection type definition. - - Type of elements in the collection. - A new non-atomic collection type reference. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets primitive type by kind. - - Kind of the primitive type. - Primitive type definition. - - - - Gets the EdmPrimitiveTypeKind by the type name. - - Name of the type to look up. - EdmPrimitiveTypeKind of the type. - - - - Gets a reference to a primitive type of the specified kind. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int16 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int32 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int64 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Boolean primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Byte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the SByte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Guid primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to a datetime primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime type reference. - - - - Gets a reference to a datetime with offset primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime with offset type reference. - - - - Gets a reference to a time primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new time type reference. - - - - Gets a reference to a decimal primitive type definition. - - Precision of values of this type. - Scale of values of this type. - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a decimal primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a single primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a double primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a stream primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new stream type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Precision of values of this type. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if max length is unbounded. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Spatial Reference Identifier for the spatial type being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a string primitive type definition. - - Flag specifying if max length is the maximum allowable value. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the type should support unicode encoding. - String representing how data should be ordered. - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Gets a reference to a binary string type definition. - - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Gets the namespace of this core model. - - - - - Gets the types defined in this core model. - - - - - Gets the vocabulary annotations defined in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Gets the kind of this type. - - - - - Represents a reference to an EDM row type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Provides semantics of the predefined EDM types. - - - - - Returns true if this reference refers to a collection. - - Type reference. - This reference refers to a collection. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to a complex type. - - Type reference. - This reference refers to a complex type. - - - - Returns true if this reference refers to an enumeration type. - - Type reference. - This reference refers to an enumeration type. - - - - Returns true if this reference refers to a row type. - - Type reference. - This reference refers to a row type. - - - - Returns true if this reference refers to a structured type. - - Type reference. - This reference refers to a structured type. - - - - Returns true if this type kind represents a structured type. - - Reference to the calling object. - This kind refers to a structured type. - - - - Returns true if this reference refers to a primitive type. - - Type reference. - This reference refers to a primitive type. - - - - Returns true if this reference refers to a binary type. - - Type reference. - This reference refers to a binary type. - - - - Returns true if this reference refers to a boolean type. - - Type reference. - This reference refers to a boolean type. - - - - Returns true if this reference refers to a temporal type. - - Type reference. - This reference refers to a temporal type. - - - - Returns true if this type kind represents a temporal type. - - Reference to the calling object. - This kind refers to a temporal type. - - - - Returns true if this reference refers to a DateTime type. - - Type reference. - This reference refers to a DateTime type. - - - - Returns true if this reference refers to a time type. - - Type reference. - This reference refers to a time type. - - - - Returns true if this reference refers to a DateTimeOffset type. - - Type reference. - This reference refers to a DateTimeOffset type. - - - - Returns true if this reference refers to a decimal type. - - Type reference. - This reference refers to a decimal type. - - - - Returns true if this reference refers to a floating point type. - - Type reference. - This reference refers to a floating point type. - - - - Returns true if this reference refers to a single type. - - Type reference. - This reference refers to a single type. - - - - Returns true if this reference refers to a double type. - - Type reference. - This reference refers to a double type. - - - - Returns true if this reference refers to a GUID type. - - Type reference. - This reference refers to a GUID type. - - - - Returns true if this reference refers to a signed integral type. - - Type reference. - This reference refers to a signed integral type. - - - - Returns true if this reference refers to an SByte type. - - Type reference. - This reference refers to an SByte type. - - - - Returns true if this reference refers to an Int16 type. - - Type reference. - This reference refers to an Int16 type. - - - - Returns true if this reference refers to an Int32 type. - - Type reference. - This reference refers to an Int32 type. - - - - Returns true if this reference refers to an Int64 type. - - Type reference. - This reference refers to an Int64 type. - - - - Returns true if this reference refers to an integer type. - - Type reference. - This reference refers to an integer type. - - - - Returns true if this primitive type kind represents an integer type. - - Type reference. - This kind refers to an integer type. - - - - Returns true if this reference refers to a byte type. - - Type reference. - This reference refers to a byte type. - - - - Returns true if this reference refers to a string type. - - Type reference. - This reference refers to a string type. - - - - Returns true if this reference refers to a stream type. - - Type reference. - This reference refers to a stream type. - - - - Returns true if this reference refers to a spatial type. - - Type reference. - This reference refers to a spatial type. - - - - Returns true if this definition refers to a spatial type. - - Type reference. - This definition refers to a spatial type. - - - - Returns true if this type kind represents a spatial type. - - Type reference. - This kind refers to a spatial type. - - - - If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference. - - Reference to the calling object. - A valid primitive type reference if the definition of the reference is of a primitive type. Otherwise a bad primitive type reference. - - - - If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference. - - Reference to the calling object. - A valid collection type reference if the definition of the reference is of a collection type. Otherwise a bad collection type reference. - - - - If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference. - - Reference to the calling object. - A valid structured type reference if the definition of the reference is of a structured type. Otherwise a bad structured type reference. - - - - If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference. - - Reference to the calling object. - A valid enumeration type reference if the definition of the reference is of an enumeration type. Otherwise a bad enumeration type reference. - - - - If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference. - - Reference to the calling object. - A valid entity type reference if the definition of the reference is of an entity type. Otherwise a bad entity type reference. - - - - If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference. - - Reference to the calling object. - A valid entity reference type reference if the definition of the reference is of an entity reference type. Otherwise a bad entity reference type reference. - - - - If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference. - - Reference to the calling object. - A valid complex type reference if the definition of the reference is of a complex type. Otherwise a bad complex type reference. - - - - If this reference is of a row type, this will return a valid row type reference to the type definition. Otherwise, it will return a bad row type reference. - - Reference to the calling object. - A valid row type reference if the definition of the reference is of a row type. Otherwise a bad row type reference. - - - - If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference. - - Reference to the calling object. - A valid spatial type reference if the definition of the reference is of a spatial type. Otherwise a bad spatial type reference. - - - - If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference. - - Reference to the calling object. - A valid temporal type reference if the definition of the reference is of a temporal type. Otherwise a bad temporal type reference. - - - - If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference. - - Reference to the calling object. - A valid decimal type reference if the definition of the reference is of a decimal type. Otherwise a bad decimal type reference. - - - - If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference. - - Reference to the calling object. - A valid string type reference if the definition of the reference is of a string type. Otherwise a bad string type reference. - - - - If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference. - - Reference to the calling object. - A valid binary type reference if the definition of the reference is of a binary type. Otherwise a bad binary type reference. - - - - Returns the primitive kind of the definition of this reference. - - Reference to the calling object. - The primitive kind of the definition of this reference. - - - - Returns a reference to this row type definition. - - Reference to the calling object. - Flag specifying if the referenced type should be nullable. - A reference to this row type definition. - - - - Determines if the potential base type is in the inheritance hierarchy of the type being tested. - - Type to be tested for derivation from the other type. - The potential base type of the type being tested. - True if and only if the type inherits from the potential base type. - - - - Determines if a type is equivalent to or derived from another type. - - Type to be tested for equivalence to or derivation from the other type. - Type that is the other type. - True if and only if the thisType is equivalent to or inherits from otherType. - - - - Represents a reportable error in EDM - - - - - Initializes a new instance of the EdmError class. - - The location where the error occurred. - An integer code representing the error. - A human readable message describing the error. - - - - Gets a string representation of the error. - - A string representation of the error. - - - - Gets the location of the error in the file in which it occurred. - - - - - Gets an integer code representing the error. - - - - - Gets a human readable string describing the error. - - - - - Collection of validation methods. - - - - - Validate the and all of its properties using the current version of the model. - If the model has no version, is used. - - The root of the model to be validated. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Version of Edm to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Custom rule set to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - This is a thread-safe cache of object type to interface visitors which is shared between all instances of the validator. - - - - - Context that records errors reported by validation rules. - - - - - Method returns true if the is known to have structural errors associated with it. - - The element to test. - True if the has structural errors associated with it. - - - - Register an error with the validation context. - - Location of the error. - Value representing the error. - Message text discribing the error. - - - - Register an error with the validation context. - - Error to register. - - - - Gets the model being validated. - - - - - Contains IsBad() and Errors() extension methods. - - - - - Returns true if this element contains errors returned by the method. - - Reference to the calling object. - This element is an invalid element. - - - - Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. - The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. - - Reference to the calling object. - Any errors that belong to this element or elements that element contains. - - - - Gets the errors, if any, that belong to this type reference or its definition. - - The type reference. - Any errors that belong to this type reference or its definition. - - - - Built in Edm validation rules. - - - - - Validates that no direct value annotations share the same name and namespace. - - - - - Validates that a name is not empty or whitespace. - - - - - Validates that an element name is not too long according to the CSDL spec. - - - - - Validates that an element name matches the allowed pattern of names according to the CSDL spec. - - - - - Validates that an element namespace is not empty or whitespace. - - - - - Validates that an element namespace is not too long according to the CSDL spec. - - - - - Validates that an element namespace matches the allowed pattern of namespaces according to the CSDL spec. - - - - - Validates that an element namespace is not a reserved system namespace. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - Validates that there are no duplicate names in an entity container. - - - - - Validates that there is no entity set whose entity type has no key. - - - - - Validates that the entity type of an entity set can be found from the model being validated. - - - - - Validates that an entity set can only have a single navigation property targetting it that has Contains set to true. - - - - - Validates that if a navigation property is traversed to another entity set, and then the navigation properties partner is traversed, the destination will be the source entity set. - - - - - Validates an association set's name is correct - - - - - Validates that no navigation property is mapped to two different entity sets. - - - - - Validates that if a navigation property mapping is of recursive containment, the mapping points back to the source entity set. - - - - - Validates that the target of a navigation property mapping is valid for the target type of the property. - - - - - Validates that a type does not have a property with the same name as that type. - - - - - Validates that there are not duplicate properties in a type. - - - - - Validates that the base type of a complex type is complex, and the base type of an entity type is an entity. - - - - - Validates that the base type of a structured type can be found from the model being validated. - - - - - Validates that the declaring type of a property contains that property. - - - - - Open types are supported only in version 1.2 and after version 2.0. - - - - - Open types are supported only on entity types. - - - - - Raises an error if an enum type is found. - - - - - Validates that there are not duplicate enum members in an enum. - - - - - Raises an error if the underlying type of an enum type is not an integer type. - - - - - Raises an error if the type of an enum member doesn't match the underlying type of the enum it belongs to. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that no part of an entity key is nullable. - - - - - Validates that all parts of an entity key are scalar. - - - - - Validates that no part of an entity key is a binary primitive type. - - - - - Validates that a key is not defined if there is already a key in the base type. - - - - - Validates that the entity type has a key. - - - - - Validates that all properties in the key of an entity blong to that entity. - - - - - Validates that the entity type wrapped in this entity reference can be found through the model being validated. - - - - - A type without other errors must not have kind of none. - - - - - A primtive type without other errors must not have kind of none. - - - - - Validates that a complex type is not abstract. - - - - - Validates that a complex type does not inherit. - - - - - Validates that a complex type contains at least one property. - - - - - Validates that a row type does not have a base type. - - - - - Validates that a row type contains at least one property. - - - - - Validates that any property with a complex type is not nullable. - - - - - Validates that the property is of an allowed type. - - - - - Validates that if the concurrency mode of a property is fixed, the type is primitive. - - - - - Validates that only one end of an association has an OnDelete operation. - - - - - Validates that the type of a navigation property corresponds to the other end of the association and the multiplicity of the other end. - - - - - Validates that the dependent properties of a navigation property contain no duplicates. - - - - - Validates multiplicity of the principal end: - 0..1 - if some dependent properties are nullable, - 1 - if some dependent properties are not nullable. - * - not allowed. - - - - - Validates that if the dependent properties are equivalent to the key of the dependent end, the multiplicity of the dependent end cannot be 1 - Validates multiplicity of the dependent end according to the following rules: - 0..1, 1 - if dependent properties represent the dependent end key. - * - if dependent properties don't represent the dependent end key. - - - - - Validates that all dependent properties of a navigation property belong to the dependent entity type. - - - - - Validates that all dependent properties are a subset of the dependent entity types key. - - - - - Validates that the navigation property does not have both a multiplicity of many and an OnDelete operation. - - - - - Validates that is not set prior to V3. - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the target of navigation is 0..1 or Many. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Validates that if an entity does not directly contain itself, it cannot contain itself through a containment loop. - - - - - Validates that each pair of properties between the dependent properties and the principal ends key are of the same type. - - - - - Validates that an association name is valid. - - - - - Validates that an association end name is valid. - - - - - A property without other errors must not have kind of none. - - - - - Raises an error if a function is found. - - - - - Validates that no function parameters are output parameters. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that if a function import specifies an entity or collection of entities as its return type, it must also specify an entity set. - - - - - Validates that the entity set of a function import is defined using a path or an entity set reference expression. - - - - - Validates that the return type of a function import must match the type of the entity set of the function. - - - - - Validates that if a function import is composable, it must have a return type. - - - - - Validates that the type of a function imports parameter is correct. - - - - - Validates that a function import is not sideeffecting. - - - - - Validates that a function import is not composable. - - - - - Validates that a function is not bindable. - - - - - Validates that if a function is composable, it is not also sideeffecting. - - - - - Validates that if a function is bindable, it must have parameters. - - - - - Validates that no function import parameters have mode of none. - - - - - Validates that a function does not have multiple parameters with the same name. - - - - - Validates that a type reference refers to a type that can be found through the model being validated. - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - Validates that the scale is between 0 and the precision of the decimal type. - - - - - Validates that the precision is between 0 and the max precision of the decimal type. - - - - - Validates that the max length of a string is not negative. - - - - - Validates that IsUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the max length of a binary type is not negative. - - - - - Validates that isUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the precision is between 0 and the max precision of the temporal type. - - - - - Validates every schema element in the current model (except for entity containers) is unique across all referenced models. - - - - - Validates every schema element in the current model is unique across all referenced models. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that an immediate value annotation has a name and a namespace. - - - - - Validates that an immediate value annotation that is flagged to be serialized as an element can be serialized safely. - - - - - Validates that the name of a direct value annotation can safely be serialized as XML. - - - - - Vocabulary annotations are not supported before EDM 3.0. - - - - - Validates that a vocabulary annotations target can be found through the model containing the annotation. - - - - - Validates that if a value annotation declares a type, the expression for that annotation has the correct type. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a type annotation implements its term type properly. - - - - - Validates that the value of a property value binding is the correct type. - - - - - Value terms are not supported before EDM 3.0. - - - - - A term without other errors must not have kind of none. - - - - - Validates that an if expression has a boolean condition. - - - - - Validates that all properties of a collection expression are of the correct type. - - - - - Validates that if a value record expression declares a type, the property types are correct. - - - - - Validates the types of a function application are correct. - - - - - Validates that there are no annotations that share the same term and qualifier. - - - - - Validates that if a primitive value declares a type, the value is acceptable for the type. - - - - - A semantic validation rule. - - - - - A validation rule that is valid for a specific type. - - Type that the rule is valid for. - - - - Initializes a new instance of the ValidationRule class. - - Action to perform the validation. - - - - A set of rules to run during validation. - - - - - Initializes a new instance of the ValidationRuleSet class. - - Ruleset whose rules should be contained in this set. - Additional rules to add to the set. - - - - Initializes a new instance of the ValidationRuleSet class. - - Rules to be contained in this ruleset. - - - - Gets the default validation ruleset for the given version. - - The EDM version being validated. - The set of rules to validate that the model conforms to the given version. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - EdmLib validation error codes - - - - - Invalid error code - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - An exception was thrown by the underlying xml reader. - - - - - Encountered an XML node that was never used - - - - - Encountered an XML attribute that was never used - - - - - Encountered an XML element that was never used - - - - - Text was found in a location it was not allowed in - - - - - An empty file was provided to the parser - - - - - An XML element was missing a required attribute - - - - - Invalid Name - - - - - An XML attribute or element representing EDM type is missing. - - - - - Element name is already defined in this context. - - - - - The specified version number is not valid. - - - - - Malformed boolean value. - - - - - The property contains an error. - - - - - The type of this property is invalid for the given context. - - - - - Precision out of range - - - - - Scale out of range - - - - - Name is too long. - - - - - The provided association is invalid - - - - - Navigation property contains errors. - - - - - Entity key is invalid. - - - - - The value of the property must not be null. - - - - - An object with an interface kind property does not implement the interface corresponding to the value of that property. - For example this error will be reported for an object that implements interface with kind property reporting .Entity, - but does not implement interface. - - - - - The value of an interface kind property is not semantically valid. A semantically valid model must not contain elements of kind 'None'. - - - - - An enumeration property must not contain null elements. - - - - - The value of the enum type property is out of range. - - - - - If property P1 is a navigation property and P2 is its parnter, then partner property of P2 must be P1. - - - - - A chain of base types is cyclic. - - - - - Multiplicity value was malformed - - - - - The value for the Action attribute is invalid or not allowed in the current context - - - - - An error occured processing the OnDelete element - - - - - No complex type with that name exists. - - - - - The extent name used in the EntittyContainerType End does not match the name of any of the EntityContainerProperties in the containing EntityContainer - - - - - Function import specifies an entity set expression which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties. - - - - - The target entity set must be able to hold an entity that is valid for the navigation property of a mapping. - - - - - Invalid role value in the relationship constraint - - - - - Invalid Property in relationship constraint - - - - - Type mismatch between ToProperty and FromProperty in the relationship constraint - - - - - Invalid multiplicty of the principal end of a navigation. - - - - - The number of properties in the FromProperty and ToProperty in the relationship constraint must be identical - - - - - Invalid multiplicty of the dependent end of a navigation. - - - - - Open types are supported only in version 1.2 and after version 2.0. Only entity types can be open. - - - - - Vocabulary annotations are not supported before EDM 3.0 - - - - - Same role referred in the ToRole and FromRole of a referential constraint - - - - - Properties that are part of entity key must be of scalar type - - - - - Binary type properties which are part of entity key are currently supported before V2.0 - - - - - End with * multiplicity cannot have operations specified - - - - - EntitySet type has no keys - - - - - ConcurrencyMode value was malformed - - - - - Conurency can't change for any sub types of an EntitySet type. - - - - - In version 1.0 function import can have no return type or return a collection of scalars or a collection of entities. - In all other versions function import can have no return type or return a scalar, a complex type, an entity type or a collection of those. - - - - - Composable function import cannot be side-effecting. - - - - - Function import specifies entity type return but no entity set. - - - - - Function import specifies entity type that does not derive from element type of entity set. - - - - - Function import specifies a binding to an entity set but does not return entities. - - - - - A composable function import must have return type. - - - - - Same Entity Set Taking part in the same role of the relationship set in two different relationship sets - - - - - Entity key refers to the same property twice - - - - - Nullable complex Type not supported in version 1.0 and 2.0. - - - - - No Key defined on Entity Type - - - - - Need not specify system namespace in using - - - - - Invalid qualification specified for type - - - - - The value for an enumeration type member is ouf of range. - - - - - The entity container name has already been assigned to a different entity container. - - - - - Complex types were not allowed to be abstract here. - - - - - Complex types cannot have base types in this version. - - - - - A navigation property without direct containment cannot contain its declaring entity indirectly. - - - - - If a navigation property mapping is of a recursive navigation property, the mapping must point back to the same entity set. - - - - - Name collision makes this name ambiguous. - - - - - Could not find a type with this name. - - - - - Could not find a primitive type with this name. - - - - - This complex type is part of a cycle. - - - - - This Entity Container is bad because some part of its extends hierarchy is part of a cycle. - - - - - This entity type is part of a cycle. - - - - - Could not convert type reference to the requested type. - - - - - This entity set became invalid because the entity that it was of the type of was removed from the model. - - - - - Could not find an EntityContainer with that name. - - - - - Could not find an EntitySet with that name. - - - - - Could not find a property with that name - - - - - Could not find an association end with that name - - - - - Type of the navigation property was invalid because the association of the navigation property was invalid. - - - - - The base type of an entity must also be an entity. - - - - - The base type of a complex type must also be complex. - - - - - Could not find a function with this name. - - - - - Rows cannot have base types. - - - - - The role of an association set end must be an association end belonging to the association type that defines the associaiton set. - - - - - Every property in an entity key must be a property of the entity. - - - - - The principal end of a referential constraint must be one of the ends of the association that defined the referential constraint. - - - - - Dependent properties of a referential constraint must belong to the dependent entity set. - - - - - If a structured type declares a property, that properties declaring type must be the declaring structured type. - - - - - Functions are not supported before version 2.0. - - - - - Value terms are not supported before EDM 3.0 - - - - - Navigation property has a type that is not an entity or collection of entities. - - - - - Underlying type of the enumeration type is bad because the enumeration type is bad. - - - - - The type of the entity set on this association end is inconsistent with the association end. - - - - - Only function parameters with mode of In are allowed in function imports. - - - - - Complex types must contain at least one property. - - - - - Unsupported function import parameter type. - - - - - A row type must contain at least one property. - - - - - A referential constraint cannot have multiple dependent properties with the same name. - - - - - Bindable function import must have at least one parameter. - - - - - Function imports with side-effecting setting are not supported before version 3.0. - - - - - Function imports with composable setting are not supported before version 3.0. - - - - - Function imports with bindable setting are not supported before version 3.0. - - - - - Max length is out of range. - - - - - Binding context for Path expression does not supply an entity type - - - - - Invalid value for SRID - - - - - Invalid value for max length - - - - - Invalid value for long - - - - - Invalid value for integer - - - - - Invalid association set - - - - - Invalid parameter mode - - - - - No entity type with that name exists. - - - - - Value is invalid - - - - - Binary value is invalid. - - - - - Floating point value is invalid. - - - - - DateTime value is invalid. - - - - - DateTimeOffset value is invalid. - - - - - Decimal value is invalid. - - - - - Guid value is invalid. - - - - - The type kind None is not semantically valid. A semantically valid model must not contain elements of type kind None. - - - - - The if expression is invalid because it does not have 3 elements. - - - - - Enums were present in a model with a version below 3.0 - - - - - The type of an enum member value must match the underlying of the parent enum. - - - - - The IsType expression is invalid because it does not have 1 element. - - - - - The type name is not fully qualified and not a primitive. - - - - - The term name is not fully qualified. - - - - - No model was parsed because no XmlReaders were provided. - - - - - Model could not be parsed because one of the XmlReaders was null. - - - - - IsUnbounded cannot be true if MaxLength is non-null. - - - - - ImmediateValueAnnotation is invalid as an element annotation. - - - - - The LabeledElement expression is invalid because it does not have 1 element. - - - - - Could not find a LabeledElement with that name - - - - - Could not find a enum member with that name - - - - - The AssertType expression is invalid because it does not have 1 element. - - - - - Could not find a Parameter with that name - - - - - A navigation property with = true must point to an optional target. - - - - - If a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - - - - - If a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Navigation properties with setting are not supported before version 3.0. - - - - - The annotation target path cannot possibly refer to an annotable element. - - - - - A nullable type is not valid if a non-nullable type is required. - - - - - The expression is a primitive constant, and cannot be valid for an non-primitive type. - - - - - The primitive type is not valid for the requested type. - - - - - Null is not valid in a non nullable expression. - - - - - The expression is not valid for the asserted type. - - - - - A collection expression is not valid for a non-collection type. - - - - - A record expression is not valid for a non-structured type. - - - - - The record expression does not have all of the properties required for the specified type. - - - - - The record expression's type is not open, but the record expression has extra properties. - - - - - Target has multiple annotations with the same term and same qualifier. - - - - - Function application has wrong number of arguments for the function being applied. - - - - - Is it invalid to have multiple using statements with the same alias in a single schema element. - - - - - A model cannot be serialized to CSDL if it has references to types without fully qualified names. - - - - - The model could not be serialized because multiple schemas were produced and only a single output stream was found. - - - - - The Edmx version is not valid. - - - - - The EdmVersion is not valid. - - - - - Nothing was written because no schemas were produced. - - - - - Model has multiple entity containers with the same name. - - - - - The container name of a container element must be the full name of the container entity container. - - - - - A primitive constant expression is not valid for a non-primitive type. - - - - - The value of the integer constant is out of range for the asserted type. - - - - - The length of the string constant is too large for the asserted type. - - - - - The length of the binary constant is too large for the asserted type. - - - - - None is not a valid mode for a function import parameter. - - - - - A type without other errors must not have kind of none. - - - - - A primitive type without other errors must not have kind of none. - - - - - A property without other errors must not have kind of none. - - - - - A term without other errors must not have kind of none. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - A binary value must have content. - - - - - There can only be a single navigation property mapping with containment that targets a particular entity set. - - - - - The navigation properties partner does not point back to the correct type. - - - - - An entity set can only have one navigation property with containment. - - - - - If a navigation property is traversed from an entity set, and then it's partner is traversed from the target of the first mapping, the destination should be the originating entity set. - - - - - There can only be a single mapping from a given EntitySet with a particular navigation property. - - - - - An entity set must have a mapping for all of the navigation properties in its element type. - - - - - Type annotation does not have a property binding for all required properties. - - - - - Type annotation has a property binding for a non-existant property and its type is not open. - - - - - Time value is invalid. - - - - - The primitive type is invalid. - - - - - An Enum type must have an underlying type of integer. - - - - - Could not find a term with this name. - - - - - The principal properties of a referential constraint must match the key of the referential constraint. - - - - - A direct value annotation with the same name and namespace already exists. - - - - - AssociationSetEnd cannot infer an entity set because no set exists of the given type. - - - - - AssociationSetEnd cannot infer an entity set because more than one set exists of the given type. - - - - - Invalid entity set path. - - - - - Invalid enum member path. - - - - - An annotation qualifier must be a simple name. - - - - - Enum type could not be resolved. - - - - - Could not find a target with this name. - - - - - Path cannot be resolved in the given context. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - AutoGenerated resource class. Usage: - - string s = EntityRes.GetString(EntityRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "Annotations in the 'Documentation' namespace must implement 'IEdmDocumentation', but '{0}' does not." - - - - - A string like "Annotation of type '{0}' cannot be interpreted as '{1}'." - - - - - A string like "Navigation target entity type must be '{0}'." - - - - - A string like "The type '{0}' could not be converted to be a '{1}' type." - - - - - A string like "The value writer cannot write a value of kind '{0}'." - - - - - A string like "Type '{0}' must have a single type annotation with term type '{1}'." - - - - - A string like "Type '{0}' must have a single value annotation with term '{1}'." - - - - - A string like "Element must have a single value annotation with term '{0}'." - - - - - A string like "Expression with kind '{0}' cannot be evaluated." - - - - - A string like "Function '{0}' is not present in the execution environment." - - - - - A string like "Path segment '{0}' has no binding in the execution environment." - - - - - A string like "Value fails to match type '{0}'." - - - - - A string like "The namespace '{0}' is a system namespace and cannot be used by non-system types. Please choose a different namespace." - - - - - A string like "The entity set '{0}' is based on type '{1}' that has no keys defined." - - - - - A string like "An end with the name '{0}' is already defined." - - - - - A string like "The key specified in entity type '{0}' is not valid. Property '{1}' is referenced more than once in the key element." - - - - - A string like "The complex type '{0}' is marked as abstract. Abstract complex types are only supported in version 1.1 EDM models." - - - - - A string like "The complex type '{0}' has a base type specified. Complex type inheritance is only supported in version 1.1 EDM models." - - - - - A string like "The key part '{0}' for type '{1}' is not valid. All parts of the key must be non nullable." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. All properties that are part of the entity key must be of primitive type." - - - - - A string like "The key usage is not valid. '{0}' cannot define keys because one of its base classes '{1}' defines keys." - - - - - A string like "The entity type '{0}' has no key defined. Define the key for this entity type." - - - - - A string like "The navigation property '{0}' is not valid. The role '{1}' is not defined in relationship '{2}'." - - - - - A string like "The navigation property '{0}'is not valid. The from role and to role are the same." - - - - - A string like "The navigation property type could not be determined from the role '{0}'." - - - - - A string like "The navigation property '{0}' cannot have 'OnDelete' specified since its multiplicity is '*'." - - - - - A string like "Each name and plural name in a relationship must be unique. '{0}' is already defined." - - - - - A string like "In relationship '{0}', the principal and dependent role of the referential constraint refers to the same role in the relationship type." - - - - - A string like "The principal navigation property '{0}' has an invalid multiplicity. Valid values for the multiplicity of a principal end are '0..1' or '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are non-nullable, the multiplicity of the principal end must be '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are nullable, the multiplicity of the principal end must be '0..1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties represent the dependent end key, the multiplicity of the dependent end must be '0..1' or '1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties don't represent the dependent end key, the the multiplicity of the dependent end must be '*'." - - - - - A string like "The properties referred by the dependent role '{0}' must be a subset of the key of the entity type '{1}'." - - - - - A string like "The types of all properties in the dependent role of a referential constraint must be the same as the corresponding property types in the principal role. The type of property '{0}' on entity '{1}' does not match the type of property '{2}' on entity '{3}' in the referential constraint '{4}'." - - - - - A string like "There is no property with name '{0}' defined in the type referred to by role '{1}'." - - - - - A string like "The principal end properties in the referential constraint of the association '{0}' do not match the key of the type referred to by role '{1}'." - - - - - A string like "The property '{0}' is of a complex type and is nullable. Nullable complex type properties are not supported in EDM versions 1.0 and 2.0." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a complex, a primitive or an enum type, or a collection of complex, primitive, or enum types." - - - - - A string like "The function import '{0}' cannot be composable and side-effecting at the same time." - - - - - A string like "The bindable function import '{0}' must have at least one parameter." - - - - - A string like "The return type is not valid in function import '{0}'. In version 1.0 a function import can have no return type or return a collection of scalar values or a collection of entities." - - - - - A string like "The return type is not valid in function import '{0}'. The function import can have no return type or return a scalar, a complex type, an entity type or a collection of those." - - - - - A string like "The function import '{0}' returns entities but does not specify an entity set." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot exist in the entity set '{2}' specified for the function import." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot be returned by the entity set path specified for the function import." - - - - - A string like "The function import '{0}' specifies an entity set expression of kind {1} which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set expression which is not valid. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set but does not return entities." - - - - - A string like "The composable function import '{0}' must specify a return type." - - - - - A string like "Each parameter name in a function must be unique. The parameter name '{0}' is already defined." - - - - - A string like "Each member name in an EntityContainer must be unique. A member with name '{0}' is already defined." - - - - - A string like "An element with the name '{0}' is already defined." - - - - - A string like "The member name '{0}' cannot be used in a type with the same name. Member names cannot be the same as their enclosing type." - - - - - A string like "Each property name in a type must be unique. Property name '{0}' is already defined." - - - - - A string like "The key property '{0}' must belong to the entity '{1}'." - - - - - A string like "The dependent property '{0}' must belong to the dependent entity '{1}'." - - - - - A string like "The property '{0}' cannot belong to a type other than its declaring type. " - - - - - A string like "The named type '{0}' could not be found from the model being validated." - - - - - A string like "The named type '{0}' is ambiguous from the model being validated." - - - - - A string like "The type of the navigation property '{0}' is invalid. The navigation target type must be an entity type or a collection of entity type. The navigation target entity type must match the declaring type of the partner property." - - - - - A string like "The target multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and it must have an optional target represented by a collection or a nullable entity type." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and the multiplicity of the navigation source must be zero or one." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is not the same as the target entity type, then the property represents a non-recursive containment and the multiplicity of the navigation source must be exactly one." - - - - - A string like "The mode of the parameter '{0}' in the function '{1}' is invalid. Only input parameters are allowed in functions." - - - - - A string like "The mode of the parameter '{0}' in the function import '{1}' is invalid." - - - - - A string like "The type '{0}' of parameter '{1}' is invalid. A function import parameter must be one of the following types: A simple type or complex type." - - - - - A string like "The complex type '{0}' is invalid. A complex type must contain at least one property." - - - - - A string like "The dependent property '{0}' of navigation property '{1}' is a duplicate." - - - - - A string like "A property with a fixed concurrency mode cannot be of type '{0}'. The property type must be a primitive type." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. Binary types are not allowed in entity keys before version 2.0." - - - - - A string like "The type of the value of enum member '{0}' must match the underlying type of the parent enum." - - - - - A string like "Each member name of an enum type must be unique. Enum member name '{0}' is already defined." - - - - - A string like "Cannot assert the nullable type '{0}' as a non-nullable type." - - - - - A string like "Cannot promote the primitive type '{0}' to the specified primitive type '{1}'." - - - - - A string like "The record expression does not have a constructor for a property named '{0}'." - - - - - A string like "The type of the record expression is not open and does not contain a property named '{0}'." - - - - - A string like "The annotated element '{0}' has multiple annotations with the term '{1}' and the qualifier '{2}'." - - - - - A string like "The function application provides '{0}' arguments, but the function '{1}' expects '{2}' arguments." - - - - - A string like "Each entity container name in a function must be unique. The name '{0}' is already defined." - - - - - A string like "The value of the string constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "The value of the binary constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "A term without other errors must not have kind of none. The kind of term '{0}' is none." - - - - - A string like "A schema element without other errors must not have kind of none. The kind of schema element '{0}' is none." - - - - - A string like "A property without other errors must not have kind of none. The kind of property '{0}' is none." - - - - - A string like "A primitive type without other errors must not have kind of none. The kind of primitive type '{0}' is none." - - - - - A string like "An entity container element without other errors must not have kind of none. The kind of entity container element '{0}' is none." - - - - - A string like "The entity set '{0}' should have only a single mapping for the property '{1}'." - - - - - A string like "The mapping of the entity set '{0}' and navigation property '{1}' is invalid because the navigation property mapping must have a mapping with the navigation property's partner that points back to the originating entity set. " - - - - - A string like "The entity set '{0}' is invalid because it is contained by more than one navigation property." - - - - - A string like "The type annotation is missing a binding for the property '{0}'." - - - - - A string like "They type of the type annotation is not open, and does not contain a property named '{0}'." - - - - - A string like "The underlying type of '{0}' is not valid. The underlying type of an enum type must be an integral type. " - - - - - A string like "The term '{0}' could not be found from the model being validated." - - - - - A string like "The target '{0}' could not be found from the model being validated." - - - - - A string like "An element already has a direct value annotation with the namespace '{0}' and name '{1}'." - - - - - A string like "The association set '{0}' cannot assume an entity set for the role '{2}' because there are no entity sets for the role type '{1}'." - - - - - A string like "The association set '{0}' must specify an entity set for the role '{2}' because there are multiple entity sets for the role type '{1}'." - - - - - A string like "Because the navigation property '{0}' is recursive, the mapping from the entity set '{1}' must point back to itself." - - - - - A string like "The navigation property '{0}' is invalid because it indirectly contains itself." - - - - - A string like "The path cannot be resolved in the given context. The segment '{0}' failed to resolve." - - - - - A string like "The entity set '{1}' is not a valid destination for the navigation property '{0}' because it cannot hold an element of the target entity type." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified name is not allowed: '{0}'." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified namespace name is not allowed: '{0}'." - - - - - A string like "The value of the property '{0}.{1}' must not be null." - - - - - A string like "The property '{0}.{1}' of type '{2}' has value '{3}' that is not a valid enum member." - - - - - A string like "An object with the value '{0}' of the '{1}.{2}' property must implement '{3}' interface." - - - - - A string like "An object implementing '{0}' interface has type definition of kind '{1}'. The type reference interface must match to the kind of the definition." - - - - - A string like "The value '{0}' of the property '{1}.{2}' is not semantically valid. A semantically valid model must not contain elements of kind '{0}'." - - - - - A string like "The value of the enumeration the property '{0}.{1}' contains a null element. Enumeration properties must not contain null elements." - - - - - A string like "The partner of the navigation property '{0}' must not be the same property, and must point back to the navigation property." - - - - - A string like "The chain of base types of type '{0}' is cyclic." - - - - - A string like "The function import '{0}' could not be serialized because its return type cannot be represented inline." - - - - - A string like "A referenced type can not be serialized with an invalid name. The name '{0}' is invalid." - - - - - A string like "The annotation can not be serialized with an invalid target name. The name '{0}' is invalid." - - - - - A string like "{0} does not contain a schema definition, or the XmlReader provided started at the end of the file." - - - - - A string like "Required schema attribute '{0}' is not present on element '{1}'." - - - - - A string like "The current schema element does not support text '{0}'." - - - - - A string like "The attribute '{0}' was not expected in the given context." - - - - - A string like "The schema element '{0}' was not expected in the given context." - - - - - A string like "Unused schema element: '{0}'." - - - - - A string like "Unexpected XML node type: {0}." - - - - - A string like "The element '{0}' was unexpected for the root element. The root element should be {1}." - - - - - A string like "The namespace '{0}' is invalid. The root element is expected to belong to one of the following namespaces: '{1}'." - - - - - A string like "The root element has no namespace. The root element is expected to belong to one of the following namespaces: '{0}'." - - - - - A string like "The alias '{0}' is not a valid simple name." - - - - - A string like "The delete action '{0}' is not valid. Action must be: 'None', 'Cascade', or 'Restrict'." - - - - - A string like "The association '{0}' is not valid. Associations must contain exactly two end elements." - - - - - A string like "The association set '{0}' is not valid. Association sets must contain at most two end elements." - - - - - A string like "The concurrency mode '{0}' is not valid. Concurrency mode must be: 'None', or 'Fixed'." - - - - - A string like "Parameter mode '{0}' is not valid. Parameter mode must be: 'In', 'Out', or 'InOut'." - - - - - A string like "There is no Role with name '{0}' defined in relationship '{1}'." - - - - - A string like "The multiplicity '{0}' is not valid. Multiplicity must be: '*', '0..1', or '1'." - - - - - A string like "The type name '{0}' is invalid. The type name must be that of a primitive type, a fully qualified name or an inline 'Collection' or 'Ref' type." - - - - - A string like "The qualified name '{0}' is invalid. A qualified name must have a valid namespace or alias, and a valid name." - - - - - A string like "'{0}' is not a valid entity set path." - - - - - A string like "'{0}' is not a valid enum member path." - - - - - A string like "The annotation target '{0}' could not be resolved because it cannot refer to an annotatable element." - - - - - A string like "The schema '{0}' contains the alias '{1}' more than once." - - - - - A string like "Unexpected {0} element while parsing Edmx. Edmx is expected to have at most one of 'Runtime' or 'DataServices' elements." - - - - - A string like "Encountered the following errors when parsing the EDMX document: \r\n{0}" - - - - - A string like "The value '{0}' is not a valid boolean. The value must be 'true' or 'false'." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 64 bit integer." - - - - - A string like "The value '{0}' is not a valid floating point value. " - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer or 'Max'." - - - - - A string like "The value '{0}' is not a valid SRID. The value must either be a 32 bit integer or 'Variable'." - - - - - A string like "The value '{0}' is not a valid Guid. " - - - - - A string like "The value '{0}' is not a valid decimal." - - - - - A string like "The value '{0}' is not a valid date time offset value." - - - - - A string like "The value '{0}' is not a valid date time value." - - - - - A string like "The value '{0}' is not a valid time value." - - - - - A string like "The value '{0}' is not a valid binary value. The value must be a hexadecimal string and must not be prefixed by '0x'." - - - - - A string like "Invalid multiplicity: '{0}'" - - - - - A string like "Invalid schema element kind: '{0}'" - - - - - A string like "Invalid type kind: '{0}'" - - - - - A string like "Invalid primitive kind: '{0}'" - - - - - A string like "Invalid container element kind: '{0}'" - - - - - A string like "Invalid edmx target: '{0}'" - - - - - A string like "Invalid function parameter mode: '{0}'" - - - - - A string like "Invalid concurrency mode: '{0}'" - - - - - A string like "Invalid property kind: '{0}'" - - - - - A string like "Invalid term kind: '{0}'" - - - - - A string like "Invalid expression kind: '{0}'" - - - - - A string like "The name '{0}' is ambiguous." - - - - - A string like "The type '{0}' could not be found." - - - - - A string like "The complex type '{0}' could not be found." - - - - - A string like "The entity type '{0}' could not be found." - - - - - A string like "The primitive type '{0}' could not be found." - - - - - A string like "The function '{0}' could not be found." - - - - - A string like "The function '{0}' could not be resolved because more than one function could be used for this application." - - - - - A string like "The function '{0}' could not be resolved because none of the functions with that name take the correct set of parameters." - - - - - A string like "The entity set '{0}' could not be found." - - - - - A string like "The entity container '{0}' could not be found." - - - - - A string like "The enum type '{0}' could not be found." - - - - - A string like "The enum member '{0}' could not be found." - - - - - A string like "The property '{0}' could not be found." - - - - - A string like "The parameter '{0}' could not be found." - - - - - A string like "The labeled element '{0}' could not be found." - - - - - A string like "The entity '{0}' is invalid because its base type is cyclic." - - - - - A string like "The complex type '{0}' is invalid because its base type is cyclic." - - - - - A string like "The entity container '{0}' is invalid because its extends hierarchy is cyclic." - - - - - A string like "The association end '{0}' could not be computed." - - - - - A string like "Conversion of EDM values to a CLR type with type code {0} is not supported." - - - - - A string like "Cannot initialize a property '{0}' on an object of type '{1}'. The property already has a value." - - - - - A string like "An EDM structured value contains multiple values for the property '{0}'. Conversion of an EDM structured value with duplicate property values is not supported." - - - - - A string like "Conversion of an EDM value of the type '{0}' to the CLR type '{1}' is not supported." - - - - - A string like "Conversion of an edm collection value to the CLR type '{0}' is not supported. EDM collection values can be converted to System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> or System.Collections.Generic.ICollection<T>." - - - - - A string like "The type '{0}' of the object returned by the TryCreateObjectInstance delegate is not assignable to the expected type '{1}'." - - - - - A string like "Unexpected primitive type kind." - - - - - A string like "The annotation must have non-null target." - - - - - A string like "An entity type or a collection of an entity type is expected." - - - - - A string like "An element with type 'None' cannot be used in a model." - - - - - A string like "An element with type 'None' cannot be used in an entity container." - - - - - A string like "Value has already been set." - - - - - A string like "Path segments must not contain '/' character." - - - - - A string like "An on delete action can only be specified on one end of an association." - - - - - A string like "The number of properties in the dependent and principal role in a relationship constraint must be exactly identical." - - - - - A string like "The base type kind of a structured type must be the same as its derived type." - - - - - A string like "Row types cannot have a base type." - - - - - A string like "Functions are not supported prior to version 2.0." - - - - - A string like "The 'SideEffecting' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Composable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Bindable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'ContainsTarget' setting of navigation properties is not supported before version 3.0." - - - - - A string like "The row type is invalid. A row must contain at least one property." - - - - - A string like "The scale value can range from 0 through the specified precision value." - - - - - A string like "Precision cannot be negative." - - - - - A string like "The max length facet specifies the maximum length of an instance of the string type. For unicode equal to 'true', the max length can range from 1 to 2^30, or if 'false', 1 to 2^31." - - - - - A string like "Max length can range from 1 to 2^31." - - - - - A string like "Enums are not supported prior to version 3.0." - - - - - A string like "Value terms are not supported prior to version 3.0." - - - - - A string like "Vocabulary annotations are not supported prior to version 3.0." - - - - - A string like "Open types are supported only in version 1.2 and after version 2.0." - - - - - A string like "Only entity types can be open types." - - - - - A string like "The string reference is invalid because if 'IsUnbounded' is true 'MaxLength' must be null." - - - - - A string like "The declared name and namespace of the annotation must match the name and namespace of its xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must have a well-formed xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be IEdmStringValue." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be a string representing an xml element with non-empty name and namespace." - - - - - A string like "Null value cannot have a non-nullable type." - - - - - A string like "The type of the expression is incompatible with the asserted type." - - - - - A string like "A collection expression is incompatible with a non-collection type." - - - - - A string like "A primitive expression is incompatible with a non-primitive type." - - - - - A string like "A record expression is incompatible with a non-structured type." - - - - - A string like "References to EDM stream type are not supported before version 3.0." - - - - - A string like "References to EDM spatial types are not supported before version 3.0." - - - - - A string like "The primitive expression is not compatible with the asserted type." - - - - - A string like "The value of the integer constant is out of range for the asserted type." - - - - - A string like "A type without other errors must not have kind of none." - - - - - A string like "The name is missing or not valid." - - - - - A string like "The namespace name is missing or not valid." - - - - - A string like "Single file provided but model cannot be serialized into single file." - - - - - A string like "Unknown Edm version." - - - - - A string like "Unknown Edmx version." - - - - - A string like "No CSDL is written because no schema elements could be produced. This is likely because the model is empty." - - - - - A string like "The source XmlReader does not contain a schema definition or started at the end of the file." - - - - - A string like "Associations may have at most one constraint. Multiple constraints were specified for this association." - - - - - A string like "An XML attribute or sub-element representing an EDM type is missing." - - - - - A string like "Referential constraints requires one dependent role. Multiple dependent roles were specified for this referential constraint." - - - - - A string like "Referential constraints requires one principal role. Multiple principal roles were specified for this referential constraint." - - - - - A string like "If expression must contain 3 operands, the first being a boolean test, the second being being evaluated if the first is true, and the third being evaluated if the first is false." - - - - - A string like "The IsType expression must contain 1 operand." - - - - - A string like "The AssertType expression must contain 1 operand." - - - - - A string like "The LabeledElement expression must contain 1 operand." - - - - - A string like "A model could not be produced because no XML readers were provided." - - - - - A string like "A model could not be produced because one of the XML readers was null." - - - - - A string like " There was a mismatch in the principal and dependent ends of the referential constraint." - - - - - A string like "The enumeration member value exceeds the range of its data type 'http://www.w3.org/2001/XMLSchema:long'." - - - - - A string like "The EDMX version specified in the 'Version' attribute does not match the version corresponding to the namespace of the 'Edmx' element." - - - - - A string like "The specified value of data service version is invalid." - - - - - A string like "The specified value of max data service version is invalid." - - - - - A string like "The same rule cannot be in the same rule set twice." - - - - - A string like "Conversion of an EDM structured value is supported only to a CLR class." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 125b45bf6..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index fb06d48cb..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index dc87a8e65..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index f38ab3cc6..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 34316c1b4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index d4d8c90f9..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 9758ab68a..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 6a6b64cdb..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 75b690e6d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Edm.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Edm.dll deleted file mode 100644 index 3792bc4c0..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Edm.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Edm.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Edm.xml deleted file mode 100644 index 59476db12..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Edm.xml +++ /dev/null @@ -1,11865 +0,0 @@ - - - - Microsoft.Data.Edm - - - - - Defines a location in a XML file. - - - - - Represents the location of an Edm item. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the line number in the file. - - - - - Gets the position in the line. - - - - - Exception type representing a failure to parse an EDM document. Carries the set of errors along with it. - - - - - Initializes a new instance of the class. - - The errors encountered while parsing. - - - - Prevents a default instance of the class from being created. - - The parse errors. - - - - Constructs an appropriate exception message from the set of parsing errors. - - The parse errors. - The exception message. - - - - Gets the set of errors that were encountered while parsing. - - - - - Specifies what target of an EDMX file. - - - - - The target is Entity Framework. - - - - - The target is OData. - - - - - Contains xml parsing methods for Edm. - - - - - Common base type for a CSDL expression. - - - - - Common base class for CSDL elements. - - - - - Represents a CSDL Collection expression. - - - - - Represents a CSDL enumeration type member. - - - - - Common base class for all named CSDL elements. - - - - - Base class for CSDL elements that have documentation. - - - - - Gets or sets the underlying type value of the member. - Value can be null only during deserialization of the declaring enumeration type. - When the type's deserialization is complete, all its members get their values assigned. - - - - - Represents a CSDL enumeration type. - - - - - Represents a CSDL Path expression. - - - - - Common base type for a CSDL type or value annotation. - - - - - Represents a CSDL Annotations element. - - - - - Represents a CSDL collection type. - - - - - Represents an inline type expression, such as , and - in the context of . - Note that nominal type declarations, such as entity, complex, association and primitive types, are not considered to be type expressions in the context - of - these types are handled in . - - - - - Represents a CSDL constant expression. - - - - - Represents a CSDL property value in an annotation. - - - - - Represents a CSDL Record expression. - - - - - Represents a reference to a CSDL primitive type. - - - - - Represents a CSDL type reference based on a type referenced by name. - - - - - Base type for the two kinds of type reference: and . - - - - - Represents a semantically invalid EDM enumeration type. - - - - - Represents an invalid EDM element. - - - - - Common base interface for all EDM elements. - - - - - Defines an Edm component who is invalid or whose validity is unknown at construction - - - - - Gets an error if one exists with the current object. - - - - - Represents an element that can be targeted by Vocabulary Annotations - - - - - Represents the definition of an EDM type. - - - - - Gets the kind of this type. - - - - - Represents a definition of an EDM enumeration type. - - - - - Represents an EDM type defined in an EDM schema. - - - - - Common base interface for all named children of EDM schemata. - - - - - Common base interface for all named EDM elements. - - - - - Gets the name of this element. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Common base class for all EDM elements. - - - - - Term to which an annotation can bind. - - - - - Gets the kind of a term. - - - - - Represents a definition of an EDM entity type. - - - - - Common base interface for definitions of EDM structured types. - - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the base type of this type. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Common base class for CsdlSemantics classes that have Annotations. - - - - - Interface for all EDM elements that can be located. - - - - - Gets the location of this element. - - - - - Allocates a new list if needed, and adds the item to the list. - - Type of the list. - List to add the item to. - Item being added. - List containing then new item. - - - - Represents an EDM expression. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Represents an EDM type assertion expression. - - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Provides semantics for a Csdl collection expression. - - - - - Represents an EDM multi-value construction expression. - - - - - Gets the declared type of the collection, or null if there is no declared type. - - - - - Gets the constructed element values. - - - - - Provides semantics for a Csdl datetime with offset constant expression. - - - - - Represents an EDM datetime with offset constant expression. - - - - - Represents an EDM datetime with offset value. - - - - - Represents an EDM primitive value. - - - - - Represents an EDM value. - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the definition of this value. - - - - - Provides a CSDL-specific annotations manager. - - - - - Direct-value annotations manager provides services for setting and getting transient annotations on elements. - - - An object representing transient annotations is in one of these states: - 1) Null, if the element has no transient annotations. - 2) An EdmAnnotation, if the element has exactly one annotation. - 3) A list of EdmAnnotation, if the element has more than one annotation. - If the speed of annotation lookup for elements with many annotations becomes a concern, another option - including a dictionary is possible. - - - - - Manages getting and setting direct value annotations on EDM elements. - - - - - Gets annotations associated with an element. - - The annotated element. - The direct value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - The value of the annotation. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Keeps track of transient annotations on elements. - - - - - Used for locking during updates to the annotations dictionary; - - - - - Elements for which normal comparison failed to produce a valid result, arbitrarily ordered to enable stable comparisons. - - - - - Used for locking during updates to the unsorted elements list. - - - - - Initializes a new instance of the class. - - - - - Gets annotations associated with an element. - - The annotated element. - The immediate value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - New annotation to set. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Retrieves the annotations that are directly attached to an element. - - The element in question. - The annotations that are directly attached to an element (outside the control of the manager). - - - - Retrieves the transient annotations for an EDM element. - - The annotated element. - The dictionary for looking up the element's annotations. - The transient annotations for the element, in a form managed by the annotations manager. - This method is static to guarantee that the annotations dictionary is not fetched more than once per lookup operation. - - - - Represents an EDM entity set reference expression. - - - - - Gets the referenced entity set. - - - - - Represents an EDM enumeration member reference expression. - - - - - Gets the referenced enum member. - - - - - Represents an EDM function reference expression. - - - - - Gets the referenced function. - - - - - Provides semantics for a Csdl guid constant expression. - - - - - Represents an EDM guid constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this guid value. - - - - - Provides semantics for a Csdl binary constant expression. - - - - - Represents an EDM binary constant expression. - - - - - Represents an EDM binary value. - - - - - Gets the definition of this binary value. - - - - - Represents an EDM if expression. - - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Represents an EDM type test expression. - - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Represents an EDM labeled expression element. - - - - - Gets the underlying expression. - - - - - Represents a reference to an EDM labeled expression. - - - - - Gets the referenced expression. - - - - - Provides semantics for a CsdlDirectValueAnnotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Provides semantics for a CsdlEnumMember. - - - - - Represents a definition of an EDM enumeration type member. - - - - - Gets the value of this enumeration type member. - - - - - Gets the type that this member belongs to. - - - - - Provides semantics for CsdlEnumType. - - - - - Common base class for the semantics of EDM types. - - - - - Represents a CSDL type annotation. - - - - - Represents a CSDL value annotation. - - - - - Represents a CSDL value term. - - - - - Provides semantics for an out-of-line CSDL Annotations. - - - - - Provides semantics for a Csdl Bool constant expression. - - - - - Represents an EDM boolean constant expression. - - - - - Represents an EDM boolean value. - - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Provides semantics for CsdlCollectionType. - - - - - Represents a definition of an EDM collection type. - - - - - Gets the element type of this collection. - - - - - Provides semantics for . - - - - - Represents a references to a type. - - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Represents references to EDM Collection types. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM datetime constant expression. - - - - - Represents an EDM datetime value. - - - - - Gets the definition of this datetime value. - - - - - Provides semantics for a Csdl Decimal constant expression. - - - - - Represents an EDM decimal constant expression. - - - - - Represents an EDM decimal value. - - - - - Gets the definition of this decimal value. - - - - - Provides semantics for a Csdl Float constant expression. - - - - - Represents an EDM floating constant expression. - - - - - Represents an EDM floating point value. - - - - - Gets the definition of this floating value. - - - - - Provides semantics for a Csdl Int constant expression. - - - - - Represents an EDM integer constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this integer value. - - - - - Provides semantics for CsdlNamedTypeReference. - - - - - Provides semantics for a Csdl null constant expression. - - - - - Represents an EDM null expression. - - - - - Represents an EDM null value. - - - - - Represents an EDM parameter reference expression. - - - - - Gets the referenced parameter. - - - - - Provides semantics for a Csdl Path expression. - - - - - Represents an EDM path expression. - - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E" is { "A.B", "C", "D.E" }. - - - - - Provides semantics for a CsdlPropertyValue used in a record expression. - - - - - Represents an EDM property constructor specified as part of a EDM construction record expression. - - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Provides semantics for a CsdlPropertyValue used in a type annotation. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Represents an EDM property. - - - - - Gets the kind of this property. - - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Provides semantics for a Csdl Record expression. - - - - - Represents an EDM record construction expression. - - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Provides the semantics of a reference to an EDM primitive type. - - - - - Represents references to primitive types. - - - - - This doesn't need the full caching mechanism because the computation is cheap, and the likelyhood of computing a primitive type reference without needing its definition is remote. - - - - - Represents a reference to an EDM spatial type. - - - - - Gets the Spatial Reference Identifier of this spatial type. - - - - - Provides semantics for a Csdl String constant expression. - - - - - Represents an EDM string constant expression. - - - - - Represents an EDM string value. - - - - - Gets the definition of this string value. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM time constant expression. - - - - - Represents an EDM time value. - - - - - Gets the definition of this time value. - - - - - Common base class for CsdlSemanticsTypeAnnotation and CsdlSemanticsValueAnnotation. - - - - - Represents an EDM vocabulary annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Gets the term bound by the annotation. - - - - - Gets the element the annotation applies to. - - - - - Gets the type to use as a binding context for expressions in the annotation. If the target of the annotation - is an entity type, that is the binding context. If the target is an entity set, the binding context is the - element type of the set. - - - - - Provides semantics for a CsdlTypeAnnotation. - - - - - Represents an EDM type annotation. - - - - - Gets the value annotations for the properties of the type. - - - - - Provides semantics for a CsdlValueAnnotation. - - - - - Represents an EDM value annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Provides semantics for a CsdlValueTerm. - - - - - Represents an EDM value term. - - - - - Gets the type of this term. - - - - - Represents a definition of an EDM association type. - - - - - Gets the namespace this association belongs to. - - - - - Gets the first end of the association. - - - - - Gets the second end of the association. - - - - - Gets the referential constraint of the association. - - - - - Represents an end of an EDM association. - - - - - Gets the declaring association of this association end. - - - - - Gets the entity type of this end of the association. - - - - - Gets this end's multiplicity. - - - - - Gets the action to execute on the deletion of this association end. - - - - - Represents an EDM association set. - - - - - Gets the association of this association set. - - - - - Gets the first end of this association set. - - - - - Gets the second end of this association set. - - - - - Represents one of the ends of an EDM association set. - - - - - Gets the association end that describes the role of this association set end. - - - - - Gets the entity set this association set end corresponds to. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that an entity set refers to a type that can be represented in CSDL. - - - - - Validates that a structured type's base type can be represented in CSDL. - - - - - Validates that association names can be represented in CSDL. - - - - - Validates that vocabulary annotations serialized out of line have a serializable target name. - - - - - Validates that vocabulary annotations have a serializable term name. - - - - - Represents whether a vocabulary annotation should be serialized within the element it applies to or in a seperate section of the CSDL. - - - - - The annotation should be serialized within the element being annotated. - - - - - The annotation should be serialized in a seperate section. - - - - - Contains extension methods for interfaces that are useful to serialization. - - - - - Gets the value for the EDMX version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDMX version attribute of the . - - The model the version should be set for. - The version. - - - - Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces. - - Reference to the calling object. - XmlNamespaceManage containing mappings between namespace prefixes and xml namespaces. - - - - Gets the preferred prefix mappings for xml namespaces from an IEdmModel - - Reference to the calling object. - Namespace prefixes that exist on the model. - - - - Sets a value for the DataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the DataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for. - Value of the attribute. - - - - Sets a value for the MaxDataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the MaxDataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for - Value of the attribute. - - - - Sets the location an annotation should be serialized in. - - The annotation the location is being specified for. - Model containing the annotation. - The location the annotation should appear. - - - - Gets the location an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - The location the annotation should be serialized at. - - - - Sets the schema an annotation should appear in. - - The annotation the schema should be set for. - Model containing the annotation. - The schema the annotation belongs in. - - - - Gets the schema an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - Name of the schema the annotation belongs to. - - - - Sets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Gets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Sets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the fully-qualified name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The fully-qualified association name. - - - - Sets the annotations for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Gets the annotations associated with the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Sets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Gets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Sets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set - The navigation property. - The association set name. - - - - Gets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set name. - - - - Sets the annotations for the association set serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the annotations associated with the association serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise. - - The navigation property. - The primary end between the navigation property and its partner. - - - - Sets an annotation indicating whether the value of an enum member should be explicitly serialized. - - Member to set the annotation on. - Model containing the member. - If the value of the enum member should be explicitly serialized - - - - Gets an annotation indicating whether the value of an enum member should be explicitly serialized. - - The member the annotation is on. - Model containing the member. - Whether the member should have its value serialized. - - - - Sets an annotation indicating if the value should be serialized as an element. - - Value to set the annotation on. - Model containing the value. - Value indicating if the value should be serialized as an element. - - - - Gets an annotation indicating if the value should be serialized as an element. - - Value the annotation is on. - Model containing the value. - Value indicating if the string should be serialized as an element. - - - - Sets the serialization alias for a given namespace - - Model that will be serialized. - The namespace to set the alias for. - The alias for that namespace. - - - - Gets the serialization alias for a given namespace. - - Model that will be serialized. - Namespace the alias is needed for. - The alias of the given namespace, or null if one does not exist. - - - - Represents a CSDL function return type. - - - - - Provides EDMX parsing services for EDM models. - - - - - True when either Runtime or DataServices node have been processed. - - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing. - - - - .TryParse does not exist on all platforms, so implementing it here. - - Input string. - Parsed version. - False in case of failure. - - - - All parse functions start with the reader pointing at the start tag of an element, and end after consuming the ending tag for the element. - - The current element name to be parsed. - The parsers for child elements of the current element. - - - - Provides EDMX serialization services for EDM models. - - - - - Outputs an EDMX artifact to the provided XmlWriter. - - Model to be written. - XmlWriter the generated EDMX will be written to. - Target implementation of the EDMX being generated. - Errors that prevented successful serialization, or no errors if serialization was successfull. - A value indicating whether serialization was successful. - - - - Represents references to entity reference types. - - - - - Represents the common base type of EDM functions and function imports. - - - - - Searches for a parameter with the given name, and returns null if no such parameter exists. - - The name of the parameter being found. - The requested parameter or null if no such parameter exists. - - - - Gets the return type of this function. - - - - - Gets the collection of parameters for this function. - - - - - Represents an EDM function import. - - - - - Represents the common elements of all EDM entity container elements. - - - - - Gets the kind of element of this container element. - - - - - Gets the container that contains this element. - - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Represents an EDM entity set reference expression. - - - - - Initializes a new instance of the class. - - Referenced entity set. - - - - Gets the referenced entity set. - - - - - Gets the kind of this expression. - - - - - Represents an EDM path expression. - - - - - Initializes a new instance of the class. - - Path string containing segments seperated by '/'. For example: "A.B/C/D.E/Func1(NS.T,NS.T2)/P1". - - - - Initializes a new instance of the class. - - Path segments. - - - - Initializes a new instance of the class. - - Path segments. - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }. - - - - - Gets the kind of this expression. - - - - - Represents references to row types. - - - - - Represents references to EDM structured types. - - - - - When we see an entity container, we see if it has . - If it does, then we attach it to that schema, otherwise we attached to the first existing schema. - If there are no schemas, we create the one named "Default" and attach container to it. - - The entity container being processed. - - - - Represents a delegate for creating an instance of CLR type based on and . - The delegate can be used to create CLR instances of polymorphic types. - - The for which the needs to be created. - The expected CLR type of the object instance. In case of polymorphic properties and collections this may be a base type. - The converter instance calling this delegate. - The output parameter returning a CLR object instance created for the . - The output parameter returning true if all properties of the created are initialized. - False if properties of the created instance should be initialized using the default logic. - True if the delegate produced a desired . - If delegate returns false, the default logic will be applied to create and populate a CLR object instance. - - - - to CLR value converter. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The delegate customizing conversion of structured values. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The CLR type. - The EDM value to be converted. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The EDM value to be converted. - The CLR type. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Registers the corresponding to the . - All subsequent conversions from this performed by this instance of will return the specified - . Registration is required to support graph consistency and loops during conversion process. - This method should be called inside the delegate if the delegate is calling back into - in order to populate properties of the . - - The EDM value. - The CLR object. - - - - Converts to a CLR byte array value. - - The EDM value to be converted. - Converted byte array. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted string. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted boolean. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted char. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted byte. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted double. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted single. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted decimal. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTime. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted Time. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTimeOffset. - Exception is thrown if is not . - - - - Searches the for a property with the . - Handles the case of multiple properties with the same name (declared via C# "new") by choosing the one on the deepest derived type. - - The clr object type. - The property name. - The property or null. - - - - Used for error messages only. - - The EDM value. - The EDM value interface name. - - - - The class contains method that are called thru reflection to produce values of correct CLR types. - For example if one has an int value and a clr type represnting an enum : int, there is no other way to convert the int - to the enum type object. - - - - - Expression evaluator capable of producing CLR values. - - - - - Expression evaluator. - - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the target type. - - - - Represents a lazily computed value. - - - - - Gets the data stored in this value. - - - - - Represents a value of an EDM property. - - - - - Gets the name of the property this value is associated with. - - - - - Represents an EDM collection value. - - - - - Gets the values stored in this collection. - - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - The CLR type of the value to be returned. - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the targetType. - - - - Gets or sets an instance of that is used to produce CLR values during evaluation. - - - - - Contains IsEquivalentTo() extension methods. - - - - - Returns true if the compared type is semantically equivalent to this type. - Schema types () are compared by their object refs. - - Type being compared. - Type being compared to. - Equivalence of the two types. - - - - Returns true if the compared type reference is semantically equivalent to this type reference. - Schema types () are compared by their object refs. - - Type reference being compared. - Type referenced being compared to. - Equivalence of the two type references. - - - - Returns true if function signatures are semantically equivalent. - Signature includes function name () and its parameter types. - - Reference to the calling object. - Function being compared to. - Equivalence of signatures of the two functions. - - - - Returns true if the compared function parameter is semantically equivalent to this function parameter. - - Reference to the calling object. - Function parameter being compared to. - Equivalence of the two function parameters. - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Gets the element to which the annotation is attached - - - - - Gets the namespace URI of the annotation. - - - - - Gets the local name of this annotation. - - - - - Gets the value of this annotation. - - - - - Remembers the result of evaluating an expensive function so that subsequent - evaluations are faster. Thread-safe. - - Type of the argument to the function. - Type of the function result. - - - - Constructs the memoizer. - - Required. Function whose values are being cached. - Optional. Comparer used to determine if two functions arguments are the same. - - - - Evaluates the wrapped function for the given argument. If the function has already - been evaluated for the given argument, returns cached value. Otherwise, the value - is computed and returned. - - Function argument. - Function result. - - - - Encapsulates a 'deferred' result. The result is constructed with a delegate (must not - be null) and when the user requests a value the delegate is invoked and stored. - - - - Read-writer lock, implemented over a Monitor. - - - Single object on which to lock. - - - Enters a reader lock. Writers will also be blocked. - - - Enters a writer lock. Readers will also be blocked. - - - Exits a reader lock. - - - Exits a writer lock. - - - - Represents an EDM navigation property info used during construction of navigation properties. - - - - - Clones this object. - - A copy of this object. - - - - Gets or sets the name of this navigation property. - - - - - Gets or sets the entity type that this navigation property belongs to. - - - - - Gets or sets multiplicity of the navigation target. - - - - - Gets or sets the dependent properties of the association this navigation property expresses. - - - - - Gets or sets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets or sets the action to take when an instance of the declaring type is deleted. - - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Creates a new navigation target mapping. - - The navigation property. - The entity set that the navigation propertion targets. - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents an EDM time constant. - - - - - Represents an EDM value. - - - - - Initializes a new instance of the EdmValue class. - - Type of the value. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Initializes a new instance of the class. - - Time value represented by this value. - - - - Initializes a new instance of the class. - - Type of the Time. - Time value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a name binding to more than one item. - - Type of the ambiguous element. - - - - Represents an EDM entity container. - - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Represents an EDM entity set. - - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents an EDM function. - - - - - Gets the defining expression of this function. - - - - - Represents a labeled expression binding to more than one item. - - - - - Gets the kind of this property. - - - - - Gets the type that this property belongs to. - - - - - Represents a name binding to more than one item. - - - - - Represents a name binding to more than one item. - - - - - Represents a reference to a semantically invalid EDM binary type. - - - - - Represents a reference to an EDM binary type. - - - - - Represents a reference to an EDM primitive type. - - - - - Represents a reference to an EDM type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to an EDM binary type. - - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Represents a semantically invalid EDM collection type. - - - - - Represents a semantically invalid EDM complex type definition. - - - - - Represents a semantically invalid EDM named structured type definition. - - - - - Represents a semantically invalid EDM structured type definition. - - - - - Represents a definition of an EDM complex type. - - - - - Represents a reference to an EDM complex type. - - - - - Represents references to EDM complex types. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to a semantically invalid EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - Scale of values with this type. - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Represents a semantically invalid EDM entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a semantically invalid EDM entity reference type. - - - - - Represents a definition of an EDM entity reference type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents a semantically invalid EDM entity set. - - - - - Represents a semantically invalid EDM entity type. - - - - - Represents a reference to an EDM entity type. - - - - - Represents references to entity types. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents a semantically invalid EDM enumeration type member. - - - - - Represents a semantically invalid EDM labeled expression. - - - - - Represents a semantically invalid EDM primitive type definition. - - - - - Represents a definition of an EDM primitive type. - - - - - Gets the primitive kind of this type. - - - - - Represents a reference to a semantically invalid EDM primitive type. - - - - - Gets the kind of this value. - - - - - Represents a semantically invalid EDM property. - - - - - Represents a semantically invalid EDM row type. - - - - - Represents a definition of an EDM row type. - - - - - Represents a reference to a semantically invalid EDM spatial type. - - - - - Represents a reference to an EDM spatial type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Spatial Reference Identifier for the spatial type being created. - - - - Gets the precision of this temporal type. - - - - - Represents a reference to a semantically invalid EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - Denotes if string is encoded using Unicode. - Indicates the collation string to be used by the underlying store. - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Represents a reference to a semantically invalid EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Gets the precision of this temporal type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - - - - Gets the precision of this temporal type. - - - - - Represents an EDM complex type that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity container that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity type that cannot be determined due to a cyclic reference. - - - - - Provides a dictionary that is thread safe by virtue of being immutable. - Any update returns a new dictionary (which, for efficiency, may share some of the state of the old one). - - Key type of the dictionary. - Value type of the dictionary. - - - - Provides a list that is thread safe by virtue of being immutable. - "Mutating" operations return a new list (which, for efficiency, may share some of the state of the old one). - - Element type of the list. - - - - Provides an approximately-balanced binary search tree that is thread safe by virtue of being immutable. - Updates return a new tree (which, for efficiency, may share some state with the old one). - - Key type of the tree. - Value type of the tree. - - - - Initializes a new instance of VersioningTree. - - The key of the tree node. - The value of the tree node. - A tree with all keys less than the key of the tree node. May be null. - A tree with all keys greater than the key of the tree node. May be null. - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the local name of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - Type of the annotation value. - - - - Common base class for all named EDM elements. - - - - - Initializes a new instance of the class. - - Name of the element. - - - - Gets the name of this element. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Value of the annotation - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Defines an object as a location of itself. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the object. - - - - - Collection of extension methods to assert that an expression is of the required type. - - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - The context paths are to be evaluated in. - A value indicating whether the expression must match the asserted type exactly, or simply be compatible. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Contains ToTraceString() extension methods. - - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Represents an EDM enumeration type value. - - - - - Gets the underlying type value of the enumeration type. - - - - - Represents references to EDM enumeration types. - - - - - Represents an EDM value term reference expression. - - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Defines EDM term kinds. - - - - - Represents a term with unknown or error kind. - - - - - Represents a term implementing and . - - - - - Represents a term implementing . - - - - - Represents an EDM structured value. - - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Defines Edm values - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value with an unknown or error kind. - - - - - Defines EDM expression kinds. - - - - - Represents an expression with unknown or error kind. - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing - - - - - Constants for CSDL XML. - - - - - The local name of the annotation that stores EDMX version of a model. - - - - - Version 1.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2007/06/edmx". - - - - - Version 2.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2008/10/edmx". - - - - - Version 3.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2009/11/edmx". - - - - - The current latest version of EDMX. - - - - - Represents a CSDL annotation. - - - - - Represents a CSDL association. - - - - - Represents a CSDL association end. - - - - - Represents a CSDL association set. - - - - - Represents a CSDL association set end. - - - - - Represents a reference to a CSDL Binary type. - - - - - Represents a CSDL complex type. - - - - - Common base class for CSDL entity and complex types. - - - - - Common base class for CSDL entity, complex, and row Types. - - - - - Represents a reference to a CSDL decimal type. - - - - - Represents a CSDL documentation. - - - - - Represents a CSDL entity container. - - - - - Represents a CSDL entity reference type. - - - - - Represents a CSDL Entity Set. - - - - - Represents a CSDL entity type. - - - - - Represents a CSDL type reference based on a type expression. - - - - - Represents a CSDL function. - - - - - Represents a base class for CSDL functions and function imports. - - - - - Represents a CSDL function import. - - - - - Represents a CSDL function parameter. - - - - - Represents a CSDL key. - - - - - Represents a CSDL model. - - - - - Represents a CSDL navigation property. - - - - - Represents a CSDL "on delete" action. - - - - - Represents a CSDL property. - - - - - Represents a CSDL property reference. - - - - - Represents a CSDL referential constraint. - - - - - Represents a CSDL referential constraint role. - - - - - Represents a CSDL row type. - - - - - Represents a CSDL schema. - - - - - Represents a reference to a CSDL String type. - - - - - Represents a reference to a CSDL temporal type. - - - - - Represents a CSDL Using. - - - - - Base class for parsers of XML documents - - - - - CSDL document parser. - - - - - Provides for the loading and conversion of one or more CSDL XML readers into Entity Data Model. - - - - - Provides semantics for a CsdlAssociation. - - - - - Provides semantics for a CsdlAssociationEnd. - - - - - Provides semantics for a CsdlAssociationSet. - - - - - Provides semantics for a CsdlAssociationSetEnd. - - - - - Provides the semantics of a reference to an EDM Binary type. - - - - - Provides semantics for CsdlComplexType. - - - - - Provides semantics for CsdlStructuredType. - - - - - Provides the semantics of a reference to an EDM Decimal type. - - - - - Provides semantics for CsdlDocumentation. - - - - - Represents an EDM documentation. - - - - - Gets a summary of this documentation. - - - - - Gets a long description of this documentation. - - - - - Provides semantics for CsdlEntityContainer. - - - - - Provides semantics for CsdlEntityTypeReference. - - - - - Provides semantics for CsdlEntitySet. - - - - - Provides semantics for CsdlEntityType. - - - - - Provides semantics for a CsdlFunction. - - - - - Provides semantics for a CsdlFunctionParameter. - - - - - Represents a parameter of an EDM function. - - - - - Gets the type of this function parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this function parameter. - - - - - Provides semantics for CsdlMetadataModel. - - - - - Represents an EDM model. - - - - - Semantic representation of an EDM model. - - - This interface, and all interfaces reachable from it, preserve certain invariants: - -- The backing implementation of an element can be loaded or created on demand. - -- No direct element mutation occurs through the interfaces. - - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Initializes a new instance of the class. - - Models to which this model refers. - Annotations manager for the model to use. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for a function with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A group of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the base type. - - - - Adds a schema element to this model. - - The element to register. - - - - Adds a model reference to this model. - - The model to reference. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Searches for an association with the given name in this model and returns null if no such association exists. - - The qualified name of the type being found. - The requested association, or null if no such type exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Gets an error if one exists with the current object. - - - - - Provides semantics for a CsdlNavigationProperty. - - - - - Represents an EDM navigation property. - - - - - Gets the partner of this navigation property. - - - - - Gets the action to execute on the deletion of this end of a bidirectional association. - - - - - Gets whether this navigation property originates at the principal end of an association. - - - - - Gets the dependent properties of this navigation property, returning null if this is the principal end or if there is no referential constraint. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Represents a semantically invalid EDM association end. - - - - - Represents a navigation property synthesized for an association end that does not have a corresponding navigation property. - - - - - Represents a name binding to more than one item. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Initializes a new instance of the class. - - Property that is given a value by the annotation. - Expression producing the value of the annotation. - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM type annotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - - - - Gets the element the annotation applies to. - - - - - Gets the term bound by the annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Gets the value annotations for the properties of the type. - - - - - Represents an EDM value annotation. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Expression producing the value of the annotation. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Expression producing the value of the annotation. - - - - Gets the expression producing the value of the annotation. - - - - - Represents a semantically invalid EDM association. - - - - - Represents a member of an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The type that declares this member. - Name of this enumeration member. - Value of this enumeration member. - - - - Gets the type that this member belongs to. - - - - - Gets the value of this enumeration type member. - - - - - Represents the definition of an Edm enumeration type. - - - - - Represents the definition of an EDM type. - - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets the kind of this type. - - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Adds a new member to this enum type. - - The member to add. - - - - Creates and adds a new member to this enum type. - - Name of the member. - Value of the member. - Created member. - - - - Gets the kind of this type. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this enumeration type. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Represents an EDM enumeration member reference expression. - - - - - Initializes a new instance of the class. - - Referenced enum member. - - - - Gets the referenced enum member. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression reference expression. - - - - - Initializes a new instance of class with non-initialized property. - - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmLabeledExpressionReferenceExpression instance has been constructed. - - Referenced labeled element. - - - - Gets or sets the referenced labeled element. - The referenced labeled element can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM null. - - - - - Singleton instance. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM parameter reference expression. - - - - - Initializes a new instance of the class. - - Referenced parameter - - - - Gets the referenced parameter. - - - - - Gets the kind of this expression. - - - - - Represents information about an EDM function that failed to resolve. - - - - - Represents an EDM enumeration type value. - - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The enumeration type value. - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The underlying type value. - - - - Gets the underlying type value of the enumeration type. - - - - - Gets the kind of this value. - - - - - Represents an EDM binary constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM boolean constant. - - - - - Initializes a new instance of the class. - - Boolean value represented by this value. - - - - Initializes a new instance of the class. - - Type of the boolean. - Boolean value represented by this value. - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime constant. - - - - - Initializes a new instance of the class. - - DateTime value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTime. - DateTime value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime with offset constant. - - - - - Initializes a new instance of the class. - - DateTimeOffset value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTimeOffset. - DateTimeOffset value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM decimal constant. - - - - - Initializes a new instance of the class. - - Decimal value represented by this value. - - - - Initializes a new instance of the class. - - Type of the decimal. - Decimal value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a reference to an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents an EDM value term reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - Qualifier. - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Gets the kind of this expression. - - - - - Represents an EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Declared type of the record. - Property constructors. - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Optional declared type of the record. - Property constructors. - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM property constructor specified as part of a EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property name. - Property value. - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced property. - Referenced property. - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type test expression. - - - - - Initializes a new instance of the class. - - Expression whose type is to be tested. - Type to test. - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Gets the kind of this expression. - - - - - Represents an EDM if expression. - - - - - Initializes a new instance of the class. - - Test expression - Expression to evaluate if evaluates to true. - Expression to evaluate if evaluates to false. - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function reference expression. - - - - - Initializes a new instance of the class. - - Referenced function - - - - Gets the referenced function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression. - - - - - Initializes a new instance of the class. - - Label of the expression. - Underlying expression. - - - - Gets the label. - - - - - Gets the underlying expression. - - - - - Gets the expression kind. - - - - - Represents an EDM multi-value construction expression. - - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Gets the declared type of the collection. - - - - - Gets the constructed element values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type assertion expression. - - - - - Initializes a new instance of the class. - - Expression for which the type is asserted. - Type to assert. - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Gets the kind of this expression. - - - - - Represents an EDM floating point constant. - - - - - Initializes a new instance of the class. - - Floating point value represented by this value. - - - - Initializes a new instance of the class. - - Type of the floating point. - Floating point value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM guid constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM value term. - - - - - Initializes a new instance of class. - The new value term will be of the nullable primitive . - - Namespace of the term. - Name of the term. - Type of the term. - - - - Initializes a new instance of the class. - - Namespace of the term. - Name of the term. - Type of the term. - - - - Gets the namespace of this term. - - - - - Gets the kind of this term. - - - - - Gets the type of this term. - - - - - Gets the schema element kind of this term. - - - - - Represents a definition of an EDM collection type. - - - - - Initializes a new instance of the class. - - The type of the elements in this collection. - - - - Gets the kind of this type. - - - - - Gets the element type of this collection type. - - - - - Represents a reference to an EDM collection type. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents an EDM collection value. - - - - - Initializes a new instance of the class. - - A reference to a collection type that describes this collection value - The collection of values stored in this collection value - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - Provides semantics for a CsdlProperty. - - - - - Provides semantics for a CsdlReferentialConstraint. - - - - - Provides semantics for CsdlRowType. - - - - - Provides semantics for CsdlSchema. - - - - - All of the labeled expressions in a schema are collected into a dictionary so that references to them can be bound. - The elements of the dictionary are Csdl objects and not CsdlSemantics objects because the semantics objects are not created - until and unless necessary. - - A dictionary containing entries for all labeled expressions in the schema. - - - - Gets the labeled element expressions dictionary. - Each value in the dictionary is either a or a list of same. - - - - - Provides the semantics of a reference to an EDM String type. - - - - - Provides the semantics of a reference to an EDM temporal type. - - - - - Contains extension methods for interfaces. - - - - - Gets the value for the EDM version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDM version attribute of the . - - The model the version should be set for. - The version. - - - - Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. - - The model to search. - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and all referenced models and returns null if no such value term exists. - - The model to search. - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist. - - The model to search. - The qualified name of the functions being found. - The requested functions. - - - - Searches for an entity container with the given name in this model and all referenced models and returns null if no such entity container exists. - - The model to search. - The qualified name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets the entity containers belonging to this model. - - Model to search for entity containers. - Entity containers belonging to this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element (or, if the element is a type, to its base types) by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation that exists on the element. Otherwise, null. - - - - Sets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation to set. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value from an annotatable element. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - The requested annotation, if it exists. Otherwise, null. - - Strongly-typed wrappers for unnamed annotations keyed by CLR type. - - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The model containing the annotation. - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - Value of the new annotation. - - - - Gets all schema elements from the model, and models referenced by it. - - Model to search for elements - Schema elements from the model, and models referenced by it. - - - - Finds a list of types that derive from the supplied type directly or indirectly, and across models. - - The model types are being found on. - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Sets an annotation value on an annotatable element. - - Type of the annotation being set. - The model containing the annotation. - The annotated element. - Value of the new annotation. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The model in which to find the annotations. - The set of requested annotations. - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The model in which to set the annotations. - The annotations to set. - - - - Gets the direct value annotations for an element. - - The model containing the annotations. - The annotated element. - The immediate value annotations of the element. - - - - Gets the location of this element. - - Reference to the calling object. - The location of the element. - - - - Gets an annotatable element's vocabulary annotations as seen from a particular model. - - Reference to the calling object. - Model to check for annotations. - Annotations attached to the element by the model or by models referenced by the model. - - - - Gets the full name of the element. - - Reference to the calling object. - The full name of the element. - - - - Returns entity sets belonging to an IEdmEntityContainer. - - Reference to the calling object. - Entity sets belonging to an IEdmEntityContainer. - - - - Returns function imports belonging to an IEdmEntityContainer. - - Reference to the calling object. - Function imports belonging to an IEdmEntityContainer. - - - - Gets the type kind of the type references definition. - - Reference to the calling object. - The type kind of the reference. - - - - Gets the full name of the definition referred to by the type reference. - - Reference to the calling object. - The full name of this references definition. - - - - Gets the definition of this primitive type reference. - - Reference to the calling object. - Definition of this primitive type reference. - - - - Gets the primitive kind of the definition referred to by this type reference. - - Reference to the calling object. - Primitive kind of the definition of this reference. - - - - Gets all properties of the structured type definition and its base types. - - Reference to the calling object. - Properties of this type. - - - - Gets all structural properties declared in the IEdmStructuredTypeDefinition. - - Reference to the calling object. - All structural properties declared in the IEdmStructuredTypeDefinition. - - - - Gets the structural properties declared in this type definition and all base types. - - Reference to the calling object. - The structural properties declared in this type definition and all base types. - - - - Gets the definition of this structured type reference. - - Reference to the calling object. - The definition of this structured type reference. - - - - Returns true if the definition of this reference is abstract. - - Reference to the calling object. - If the definition of this reference is abstract. - - - - Returns true if the definition of this reference is open. - - Reference to the calling object. - If the definition of this reference is open. - - - - Returns the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference. - - Reference to the calling object. - All structural properties declared in the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference and all its base types. - - Reference to the calling object. - All structural properties declared in the definition of this reference and all its base types. - - - - Finds a property from the definition of this reference. - - Reference to the calling object. - Name of the property to find. - The requested property if it exists. Otherwise, null. - - - - Gets the base type of this entity type definition. - - Reference to the calling object. - The base type of this entity type definition. - - - - Gets the navigation properties declared in this entity definition. - - Reference to the calling object. - The navigation properties declared in this entity definition. - - - - Get the navigation properties declared in this entity type and all base types. - - Reference to the calling object. - The navigation properties declared in this entity type and all base types. - - - - Gets the declared key of the most defined entity with a declared key present. - - Reference to the calling object. - Key of this type. - - - - Checks whether the given entity type has the as one of the key properties. - - Given entity type. - Property to be searched for. - true if the type or base types has given property declared as key. false otherwise. - - - - Gets the definition of this entity reference. - - Reference to the calling object. - The definition of this entity reference. - - - - Gets the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets the entity key of the definition of this reference. - - Reference to the calling object. - The entity key of the definition of this reference. - - - - Gets the navigation properties declared in the definition of this reference and its base types. - - Reference to the calling object. - The navigation properties declared in the definition of this reference and its base types. - - - - Gets the navigation properties declared in the definition of this reference. - - Reference to the calling object. - The navigation properties declared in the definition of this reference. - - - - Finds a navigation property declared in the definition of this reference by name. - - Reference to the calling object. - Name of the navigation property to find. - The requested navigation property if it exists. Otherwise, null. - - - - Gets the base type of this references definition. - - Reference to the calling object. - The base type of this references definition. - - - - Gets the definition of this reference typed as an IEdmComplexTypeDefinition. - - Reference to the calling object. - The definition of this reference typed as an IEdmComplexTypeDefinition. - - - - Gets the base type of this reference. - - Reference to the calling object. - The base type of this reference. - - - - Gets the definition of this entity reference type reference. - - Reference to the calling object. - The definition of this entity reference type reference. - - - - Gets the entity type referred to by the definition of this entity reference type reference. - - Reference to the calling object. - The entity type referred to by the definition of this entity reference type reference. - - - - Gets the definition of this collection reference. - - Reference to the calling object. - The definition of this collection reference. - - - - Gets the element type of the definition of this collection reference. - - Reference to the calling object. - The element type of the definition of this collection reference. - - - - Gets the definition of this enumeration reference. - - Reference to the calling object. - The definition of this enumeration reference. - - - - Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. - - Reference to the calling object. - The multiplicity of this end of the relationship. - - - - Gets the entity type targeted by this navigation property. - - Reference to the calling object. - The entity type targeted by this navigation property. - - - - Gets the entity type declaring this navigation property. - - Reference to the calling object. - The entity type that declares this navigation property. - - - - Gets the definition of this row type reference. - - Reference to the calling object. - The definition of this row type reference. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Name of the property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the value term of this value annotation. - - Reference to the calling object. - The value term of this value annotation. - - - - Analyzes .EntitySet expression and returns a static reference if available. - - The function import containing the entity set expression. - The static entity set of the function import. - True if the entity set expression of the contains a static reference to an , otherwise false. - - - - Analyzes .EntitySet expression and returns a relative path to an if available. - The path starts with the and may have optional sequence of and type casts segments. - - The function import containing the entity set expression. - The model containing the function import. - The function import parameter from which the relative entity set path starts. - The optional sequence of navigation properties. - True if the entity set expression of the contains a relative path an , otherwise false. - - - - Finds a property of a record expression. - - The record expression. - Name of the property to find. - The property, if found, otherwise null. - - - - This method is only used for the function import entity set path parsing. - - The type of the segment. - Non-null entity type that may be bad. - - - - Provides CSDL serialization services for EDM models. - - - - - Outputs a CSDL artifact to the provided writer. - - Model to be written. - XmlWriter the generated CSDL will be written to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Outputs a CSDL artifact to the provided writers. - - Model to be written. - A delegate that takes in a schema namespace name and returns an XmlWriter to write the schema to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Provides CSDL parsing services for EDM models. - - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Model to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Models to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Enumerates the kinds of Edm Primitives. - - - - - Represents a primitive type of unknown kind. - - - - - Represents a Binary type. - - - - - Represents a Boolean type. - - - - - Represents a Byte type. - - - - - Represents a DateTime type. - - - - - Represents a DateTimeOffset type. - - - - - Represents a Decimal type. - - - - - Represents a Double type. - - - - - Represents a Guid type. - - - - - Represents a Int16 type. - - - - - Represents a Int32 type. - - - - - Represents a Int64 type. - - - - - Represents a SByte type. - - - - - Represents a Single type. - - - - - Represents a String type. - - - - - Represents a Stream type. - - - - - Represents a Time type. - - - - - Represents an arbitrary Geography type. - - - - - Represents a geography Point type. - - - - - Represents a geography LineString type. - - - - - Represents a geography Polygon type. - - - - - Represents a geography GeographyCollection type. - - - - - Represents a geography MultiPolygon type. - - - - - Represents a geography MultiLineString type. - - - - - Represents a geography MultiPoint type. - - - - - Represents an arbitrary Geometry type. - - - - - Represents a geometry Point type. - - - - - Represents a geometry LineString type. - - - - - Represents a geometry Polygon type. - - - - - Represents a geometry GeometryCollection type. - - - - - Represents a geometry MultiPolygon type. - - - - - Represents a geometry MultiLineString type. - - - - - Represents a geometry MultiPoint type. - - - - - Enumerates the EDM property concurrency modes. - - - - - Denotes a property that should be used for optimistic concurrency checks. - - - - - Denotes a property that should not be used for optimistic concurrency checks. - - - - - Provides a caching mechanism for semantic properties. - - Type of the element that contains the cached property - Type of the cached property - - - - Helper for Cache class. - - - - - Defines EDM container element types. - - - - - Represents an element where the container kind is unknown or in error. - - - - - Represents an element implementing . - - - - - Represents an element implementing . - - - - - Enumerates the modes of parameters of EDM functions. - - - - - Denotes that a parameter with an unknown or error directionality. - - - - - Denotes that a parameter is used for input. - - - - - Denotes that a parameter is used for output. - - - - - Denotes that a parameter is used for input and output. - - - - - Enumerates the multiplicities of EDM navigation properties. - - - - - The Multiplicity of the association end is unknown. - - - - - The Multiplicity of the association end is zero or one. - - - - - The Multiplicity of the association end is one. - - - - - The Multiplicity of the association end is many. - - - - - Enumerates the actions EDM can apply on deletes. - - - - - Take no action on delete. - - - - - On delete also delete items on the other end of the association. - - - - - Defines EDM property types. - - - - - Represents a property implementing . - - - - - Represents a property implementing . - - - - - Represents a property with an unknown or error kind. - - - - - Defines EDM schema element types. - - - - - Represents a schema element with unknown or error kind. - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing - - - - - Defines EDM metatypes. - - - - - Represents a type with an unknown or error kind. - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Interface describing anything that can be depended upon in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can be dependent on a dependency trigger in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can have cached data that might need flushing. - - - - - Represents a definition of an EDM complex type. - - - - - Common base class for definitions of EDM structured types. - - - - - Initializes a new instance of the class. - - Denotes a structured type that cannot be instantiated. - Denotes if the type is open. - Base type of the type - - - - Adds the to this type. - of the must be this type. - - The property being added. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Flag specifying if the property is nullable. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - The default value of this property. - The concurrency mode of this property. - Created structural property. - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Computes the the cached dictionary of properties for this type definition. - - Dictionary of properties keyed by their name. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the base type of this type. - - - - - Gets a dictionary of the properties in this type definition for faster lookup. - - - - - Initializes a new instance of the class. - - The namespace this type belongs to. - The name of this type within its namespace. - - - - Initializes a new instance of the class. - Note: Complex type inheritance is not supported in EDM version 3.0 and above. - - The namespace this type belongs to. - The name of this type within its namespace. - The base type of this complex type. - Denotes whether this complex type is abstract. - - - - Gets the schema element kind of this element. - - - - - Gets the namespace of this element. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the kind of this term. - - - - - Represents an EDM documentation. - - - - - Initializes a new instance of the class. - - Summary of the documentation. - The documentation contents. - - - - Gets summary of this documentation. - - - - - Gets documentation. - - - - - Represents an EDM entity container. - - - - - Initializes a new instance of the class. - - Namespace of the entity container. - Name of the entity container. - - - - Adds an entity container element to this entity container. - - The element to add. - - - - Creates and adds an entity set to this entity container. - - Name of the entity set. - The entity type of the elements in this entity set. - Created entity set. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - Created function import. - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Gets the namespace of this entity container. - - - - - Gets the name of this entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a definition of an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The entity referred to by this entity reference. - - - - Gets the kind of this type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents an EDM entity set. - - - - - Initializes a new instance of the class. - - An containing this entity set. - Name of the entity set. - The entity type of the elements in this entity set. - - - - Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this entity set. - - The navigation property the target is being set for. - The destination entity set of the specified navigation property. - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the kind of element of this container element. - - - - - Gets the container of this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents a definition of an EDM entity type. - - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Creates and adds a unidirectional navigation property to this type. - Default partner property is created, but not added to the navigation target type. - - Information to create the navigation property. - Created navigation property. - - - - Creates and adds a unidirectional navigation property to this type. - Navigation property partner is created, but not added to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates and adds a navigation property to this type and adds its navigation partner to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - The puspose of this method is to make sure that some of the fields are set to valid partner defaults. - For example if .Target is null, it will be set to this entity type. If .TargetMultiplicity - is unknown, it will be set to 0..1, etc. - Whenever this method applies new values to , it will return a copy of it (thus won't modify the original). - If is null, a new info object will be produced. - - Primary navigation property info. - Partner navigation property info. May be null. - Partner info. - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the term kind of the entity type. - - - - - Represents an EDM function. - - - - - Represents a base class for EDM functions and function imports. - - - - - Initializes a new instance of the class. - - The name of the function. - The return type of the function. - - - - Searches for a parameter with the given name in this function and returns null if no such parameter exists. - - The name of the parameter to be found. - The requested parameter, or null if no such parameter exists. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Created parameter. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Mode of the parameter. - Created parameter. - - - - Adds a parameter to this function (as the last parameter). - - The parameter being added. - - - - Gets the return type of this function. - - - - - Gets the parameters of this function. - - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - Defining expression of the function (for example an eSQL expression). - - - - Gets the defining expression of this function. - - - - - Gets the element kind of this function, which is always Function. - - - - - Gets the namespace of this function. - - - - - Represents an EDM function import. - - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - - - - Initializes a new instance of class. - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Gets the kind of this function, which is always FunctionImport. - - - - - Gets the container of this function. - - - - - Represents an EDM function parameter. - - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - Mode of the parameter. - - - - Gets the type of this parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this parameter. - - - - - Represents an EDM model. - - - - - Initializes a new instance of the class. - - - - - Adds a model reference to this model. - - The model to reference. - - - - Adds a schema element to this model. - - Element to be added. - - - - Adds a collection of schema elements to this model. - - Elements to be added. - - - - Adds a vocabulary annotation to this model. - - The annotation to be added. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Represents an EDM navigation property. - - - - - Represents an EDM property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - Type of the property. - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the kind of this property. - - - - - Creates two navigation properties representing an association between two entity types. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates two navigation properties representing an association between two entity types. - - Navigation property name. - Type of the navigation property. - Dependent properties of the navigation source. - A value indicating whether the navigation source logically contains the navigation target. - Action to take upon deletion of an instance of the navigation source. - Navigation partner property name. - Type of the navigation partner property. - Dependent properties of the navigation target. - A value indicating whether the navigation target logically contains the navigation source. - Action to take upon deletion of an instance of the navigation target. - Navigation property. - - - - Gets the kind of this property. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets the dependent properties of the association this navigation property expresses. - - - - - Gets a value indicating whether this navigation property is from the principal end of the association. - - - - - Gets the entity type that this navigation property belongs to. - - - - - Gets the action to take when an instance of the declaring type is deleted. - - - - - Gets the partner of this navigation property. - - - - - Represents an EDM integer constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a value of an EDM property. - - - - - Initializes a new instance of the class with non-initialized property. - This constructor allows setting property once after has been constructed. - - Name of the property for which this provides a value. - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmPropertyValue instance has been constructed. - - Name of the property for which this provides a value. - Value of the property. - - - - Gets the name of the property for which this provides a value. - - - - - Gets or sets the value of the property. - The value can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - The default value of this property. - The concurrency mode of this property. - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Gets the kind of this property. - - - - - Represents a definition of an EDM row type. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this type. - - - - - Represents an EDM string constant. - - - - - Initializes a new instance of the class. - - String value represented by this value. - - - - Initializes a new instance of the class. - - Type of the string. - String value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM structured value. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Child values of this value. - - - - Retrieves the value corresponding to the given property name. Returns null if no such value exists. - - The property that describes the value being found. - The requested value, or null if no such value exists. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Represents an EDM annotation with an immediate native value. - - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - The namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents information about an EDM type definition that failed to resolve. - - - - - Represents a reference to an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The definition referred to by this reference. - Denotes whether the type can be nullable. - - - - Gets the entity reference definition to which this type refers. - - - - - Contains constant values that apply to the EDM model, regardless of source (for CSDL/EDMX specific constants see ). - - - - - The URI of annotations that will be serialized as documentation elements. - - - - - The local name of annotations that will be serialized as documentation elements. - - - - - The URI of annotations that are internal and will not be serialized. - - - - - The local name of the annotation that stores the data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores the max data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores EDM version of a model. - - - - - Version 1.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2006/04/edm". - - - - - Version 1.1 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2007/05/edm". - - - - - Version 1.2 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2008/01/edm". - - - - - Version 2.0 of EDM. Corresponds to CSDL namespaces "http://schemas.microsoft.com/ado/2008/09/edm" and "http://schemas.microsoft.com/ado/2009/08/edm". - - - - - Version 3.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2009/11/edm". - - - - - The current latest version of EDM. - - - - - This is a marker interface for core model elements that do not require validation. - - - - - Provides predefined declarations relevant to EDM semantics. - - - - - The default core EDM model. - - - - - Gets a reference to a non-atomic collection type definition. - - Type of elements in the collection. - A new non-atomic collection type reference. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets primitive type by kind. - - Kind of the primitive type. - Primitive type definition. - - - - Gets the EdmPrimitiveTypeKind by the type name. - - Name of the type to look up. - EdmPrimitiveTypeKind of the type. - - - - Gets a reference to a primitive type of the specified kind. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int16 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int32 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int64 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Boolean primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Byte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the SByte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Guid primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to a datetime primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime type reference. - - - - Gets a reference to a datetime with offset primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime with offset type reference. - - - - Gets a reference to a time primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new time type reference. - - - - Gets a reference to a decimal primitive type definition. - - Precision of values of this type. - Scale of values of this type. - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a decimal primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a single primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a double primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a stream primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new stream type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Precision of values of this type. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if max length is unbounded. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Spatial Reference Identifier for the spatial type being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a string primitive type definition. - - Flag specifying if max length is the maximum allowable value. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the type should support unicode encoding. - String representing how data should be ordered. - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Gets a reference to a binary string type definition. - - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Gets the namespace of this core model. - - - - - Gets the types defined in this core model. - - - - - Gets the vocabulary annotations defined in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Gets the kind of this type. - - - - - Represents a reference to an EDM row type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Provides semantics of the predefined EDM types. - - - - - Returns true if this reference refers to a collection. - - Type reference. - This reference refers to a collection. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to a complex type. - - Type reference. - This reference refers to a complex type. - - - - Returns true if this reference refers to an enumeration type. - - Type reference. - This reference refers to an enumeration type. - - - - Returns true if this reference refers to a row type. - - Type reference. - This reference refers to a row type. - - - - Returns true if this reference refers to a structured type. - - Type reference. - This reference refers to a structured type. - - - - Returns true if this type kind represents a structured type. - - Reference to the calling object. - This kind refers to a structured type. - - - - Returns true if this reference refers to a primitive type. - - Type reference. - This reference refers to a primitive type. - - - - Returns true if this reference refers to a binary type. - - Type reference. - This reference refers to a binary type. - - - - Returns true if this reference refers to a boolean type. - - Type reference. - This reference refers to a boolean type. - - - - Returns true if this reference refers to a temporal type. - - Type reference. - This reference refers to a temporal type. - - - - Returns true if this type kind represents a temporal type. - - Reference to the calling object. - This kind refers to a temporal type. - - - - Returns true if this reference refers to a DateTime type. - - Type reference. - This reference refers to a DateTime type. - - - - Returns true if this reference refers to a time type. - - Type reference. - This reference refers to a time type. - - - - Returns true if this reference refers to a DateTimeOffset type. - - Type reference. - This reference refers to a DateTimeOffset type. - - - - Returns true if this reference refers to a decimal type. - - Type reference. - This reference refers to a decimal type. - - - - Returns true if this reference refers to a floating point type. - - Type reference. - This reference refers to a floating point type. - - - - Returns true if this reference refers to a single type. - - Type reference. - This reference refers to a single type. - - - - Returns true if this reference refers to a double type. - - Type reference. - This reference refers to a double type. - - - - Returns true if this reference refers to a GUID type. - - Type reference. - This reference refers to a GUID type. - - - - Returns true if this reference refers to a signed integral type. - - Type reference. - This reference refers to a signed integral type. - - - - Returns true if this reference refers to an SByte type. - - Type reference. - This reference refers to an SByte type. - - - - Returns true if this reference refers to an Int16 type. - - Type reference. - This reference refers to an Int16 type. - - - - Returns true if this reference refers to an Int32 type. - - Type reference. - This reference refers to an Int32 type. - - - - Returns true if this reference refers to an Int64 type. - - Type reference. - This reference refers to an Int64 type. - - - - Returns true if this reference refers to an integer type. - - Type reference. - This reference refers to an integer type. - - - - Returns true if this primitive type kind represents an integer type. - - Type reference. - This kind refers to an integer type. - - - - Returns true if this reference refers to a byte type. - - Type reference. - This reference refers to a byte type. - - - - Returns true if this reference refers to a string type. - - Type reference. - This reference refers to a string type. - - - - Returns true if this reference refers to a stream type. - - Type reference. - This reference refers to a stream type. - - - - Returns true if this reference refers to a spatial type. - - Type reference. - This reference refers to a spatial type. - - - - Returns true if this definition refers to a spatial type. - - Type reference. - This definition refers to a spatial type. - - - - Returns true if this type kind represents a spatial type. - - Type reference. - This kind refers to a spatial type. - - - - If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference. - - Reference to the calling object. - A valid primitive type reference if the definition of the reference is of a primitive type. Otherwise a bad primitive type reference. - - - - If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference. - - Reference to the calling object. - A valid collection type reference if the definition of the reference is of a collection type. Otherwise a bad collection type reference. - - - - If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference. - - Reference to the calling object. - A valid structured type reference if the definition of the reference is of a structured type. Otherwise a bad structured type reference. - - - - If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference. - - Reference to the calling object. - A valid enumeration type reference if the definition of the reference is of an enumeration type. Otherwise a bad enumeration type reference. - - - - If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference. - - Reference to the calling object. - A valid entity type reference if the definition of the reference is of an entity type. Otherwise a bad entity type reference. - - - - If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference. - - Reference to the calling object. - A valid entity reference type reference if the definition of the reference is of an entity reference type. Otherwise a bad entity reference type reference. - - - - If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference. - - Reference to the calling object. - A valid complex type reference if the definition of the reference is of a complex type. Otherwise a bad complex type reference. - - - - If this reference is of a row type, this will return a valid row type reference to the type definition. Otherwise, it will return a bad row type reference. - - Reference to the calling object. - A valid row type reference if the definition of the reference is of a row type. Otherwise a bad row type reference. - - - - If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference. - - Reference to the calling object. - A valid spatial type reference if the definition of the reference is of a spatial type. Otherwise a bad spatial type reference. - - - - If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference. - - Reference to the calling object. - A valid temporal type reference if the definition of the reference is of a temporal type. Otherwise a bad temporal type reference. - - - - If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference. - - Reference to the calling object. - A valid decimal type reference if the definition of the reference is of a decimal type. Otherwise a bad decimal type reference. - - - - If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference. - - Reference to the calling object. - A valid string type reference if the definition of the reference is of a string type. Otherwise a bad string type reference. - - - - If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference. - - Reference to the calling object. - A valid binary type reference if the definition of the reference is of a binary type. Otherwise a bad binary type reference. - - - - Returns the primitive kind of the definition of this reference. - - Reference to the calling object. - The primitive kind of the definition of this reference. - - - - Returns a reference to this row type definition. - - Reference to the calling object. - Flag specifying if the referenced type should be nullable. - A reference to this row type definition. - - - - Determines if the potential base type is in the inheritance hierarchy of the type being tested. - - Type to be tested for derivation from the other type. - The potential base type of the type being tested. - True if and only if the type inherits from the potential base type. - - - - Determines if a type is equivalent to or derived from another type. - - Type to be tested for equivalence to or derivation from the other type. - Type that is the other type. - True if and only if the thisType is equivalent to or inherits from otherType. - - - - Represents a reportable error in EDM - - - - - Initializes a new instance of the EdmError class. - - The location where the error occurred. - An integer code representing the error. - A human readable message describing the error. - - - - Gets a string representation of the error. - - A string representation of the error. - - - - Gets the location of the error in the file in which it occurred. - - - - - Gets an integer code representing the error. - - - - - Gets a human readable string describing the error. - - - - - Collection of validation methods. - - - - - Validate the and all of its properties using the current version of the model. - If the model has no version, is used. - - The root of the model to be validated. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Version of Edm to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Custom rule set to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - This is a thread-safe cache of object type to interface visitors which is shared between all instances of the validator. - - - - - Context that records errors reported by validation rules. - - - - - Method returns true if the is known to have structural errors associated with it. - - The element to test. - True if the has structural errors associated with it. - - - - Register an error with the validation context. - - Location of the error. - Value representing the error. - Message text discribing the error. - - - - Register an error with the validation context. - - Error to register. - - - - Gets the model being validated. - - - - - Contains IsBad() and Errors() extension methods. - - - - - Returns true if this element contains errors returned by the method. - - Reference to the calling object. - This element is an invalid element. - - - - Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. - The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. - - Reference to the calling object. - Any errors that belong to this element or elements that element contains. - - - - Gets the errors, if any, that belong to this type reference or its definition. - - The type reference. - Any errors that belong to this type reference or its definition. - - - - Built in Edm validation rules. - - - - - Validates that no direct value annotations share the same name and namespace. - - - - - Validates that a name is not empty or whitespace. - - - - - Validates that an element name is not too long according to the CSDL spec. - - - - - Validates that an element name matches the allowed pattern of names according to the CSDL spec. - - - - - Validates that an element namespace is not empty or whitespace. - - - - - Validates that an element namespace is not too long according to the CSDL spec. - - - - - Validates that an element namespace matches the allowed pattern of namespaces according to the CSDL spec. - - - - - Validates that an element namespace is not a reserved system namespace. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - Validates that there are no duplicate names in an entity container. - - - - - Validates that there is no entity set whose entity type has no key. - - - - - Validates that the entity type of an entity set can be found from the model being validated. - - - - - Validates that an entity set can only have a single navigation property targetting it that has Contains set to true. - - - - - Validates that if a navigation property is traversed to another entity set, and then the navigation properties partner is traversed, the destination will be the source entity set. - - - - - Validates an association set's name is correct - - - - - Validates that no navigation property is mapped to two different entity sets. - - - - - Validates that if a navigation property mapping is of recursive containment, the mapping points back to the source entity set. - - - - - Validates that the target of a navigation property mapping is valid for the target type of the property. - - - - - Validates that a type does not have a property with the same name as that type. - - - - - Validates that there are not duplicate properties in a type. - - - - - Validates that the base type of a complex type is complex, and the base type of an entity type is an entity. - - - - - Validates that the base type of a structured type can be found from the model being validated. - - - - - Validates that the declaring type of a property contains that property. - - - - - Open types are supported only in version 1.2 and after version 2.0. - - - - - Open types are supported only on entity types. - - - - - Raises an error if an enum type is found. - - - - - Validates that there are not duplicate enum members in an enum. - - - - - Raises an error if the underlying type of an enum type is not an integer type. - - - - - Raises an error if the type of an enum member doesn't match the underlying type of the enum it belongs to. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that no part of an entity key is nullable. - - - - - Validates that all parts of an entity key are scalar. - - - - - Validates that no part of an entity key is a binary primitive type. - - - - - Validates that a key is not defined if there is already a key in the base type. - - - - - Validates that the entity type has a key. - - - - - Validates that all properties in the key of an entity blong to that entity. - - - - - Validates that the entity type wrapped in this entity reference can be found through the model being validated. - - - - - A type without other errors must not have kind of none. - - - - - A primtive type without other errors must not have kind of none. - - - - - Validates that a complex type is not abstract. - - - - - Validates that a complex type does not inherit. - - - - - Validates that a complex type contains at least one property. - - - - - Validates that a row type does not have a base type. - - - - - Validates that a row type contains at least one property. - - - - - Validates that any property with a complex type is not nullable. - - - - - Validates that the property is of an allowed type. - - - - - Validates that if the concurrency mode of a property is fixed, the type is primitive. - - - - - Validates that only one end of an association has an OnDelete operation. - - - - - Validates that the type of a navigation property corresponds to the other end of the association and the multiplicity of the other end. - - - - - Validates that the dependent properties of a navigation property contain no duplicates. - - - - - Validates multiplicity of the principal end: - 0..1 - if some dependent properties are nullable, - 1 - if some dependent properties are not nullable. - * - not allowed. - - - - - Validates that if the dependent properties are equivalent to the key of the dependent end, the multiplicity of the dependent end cannot be 1 - Validates multiplicity of the dependent end according to the following rules: - 0..1, 1 - if dependent properties represent the dependent end key. - * - if dependent properties don't represent the dependent end key. - - - - - Validates that all dependent properties of a navigation property belong to the dependent entity type. - - - - - Validates that all dependent properties are a subset of the dependent entity types key. - - - - - Validates that the navigation property does not have both a multiplicity of many and an OnDelete operation. - - - - - Validates that is not set prior to V3. - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the target of navigation is 0..1 or Many. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Validates that if an entity does not directly contain itself, it cannot contain itself through a containment loop. - - - - - Validates that each pair of properties between the dependent properties and the principal ends key are of the same type. - - - - - Validates that an association name is valid. - - - - - Validates that an association end name is valid. - - - - - A property without other errors must not have kind of none. - - - - - Raises an error if a function is found. - - - - - Validates that no function parameters are output parameters. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that if a function import specifies an entity or collection of entities as its return type, it must also specify an entity set. - - - - - Validates that the entity set of a function import is defined using a path or an entity set reference expression. - - - - - Validates that the return type of a function import must match the type of the entity set of the function. - - - - - Validates that if a function import is composable, it must have a return type. - - - - - Validates that the type of a function imports parameter is correct. - - - - - Validates that a function import is not sideeffecting. - - - - - Validates that a function import is not composable. - - - - - Validates that a function is not bindable. - - - - - Validates that if a function is composable, it is not also sideeffecting. - - - - - Validates that if a function is bindable, it must have parameters. - - - - - Validates that no function import parameters have mode of none. - - - - - Validates that a function does not have multiple parameters with the same name. - - - - - Validates that a type reference refers to a type that can be found through the model being validated. - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - Validates that the scale is between 0 and the precision of the decimal type. - - - - - Validates that the precision is between 0 and the max precision of the decimal type. - - - - - Validates that the max length of a string is not negative. - - - - - Validates that IsUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the max length of a binary type is not negative. - - - - - Validates that isUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the precision is between 0 and the max precision of the temporal type. - - - - - Validates every schema element in the current model (except for entity containers) is unique across all referenced models. - - - - - Validates every schema element in the current model is unique across all referenced models. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that an immediate value annotation has a name and a namespace. - - - - - Validates that an immediate value annotation that is flagged to be serialized as an element can be serialized safely. - - - - - Validates that the name of a direct value annotation can safely be serialized as XML. - - - - - Vocabulary annotations are not supported before EDM 3.0. - - - - - Validates that a vocabulary annotations target can be found through the model containing the annotation. - - - - - Validates that if a value annotation declares a type, the expression for that annotation has the correct type. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a type annotation implements its term type properly. - - - - - Validates that the value of a property value binding is the correct type. - - - - - Value terms are not supported before EDM 3.0. - - - - - A term without other errors must not have kind of none. - - - - - Validates that an if expression has a boolean condition. - - - - - Validates that all properties of a collection expression are of the correct type. - - - - - Validates that if a value record expression declares a type, the property types are correct. - - - - - Validates the types of a function application are correct. - - - - - Validates that there are no annotations that share the same term and qualifier. - - - - - Validates that if a primitive value declares a type, the value is acceptable for the type. - - - - - A semantic validation rule. - - - - - A validation rule that is valid for a specific type. - - Type that the rule is valid for. - - - - Initializes a new instance of the ValidationRule class. - - Action to perform the validation. - - - - A set of rules to run during validation. - - - - - Initializes a new instance of the ValidationRuleSet class. - - Ruleset whose rules should be contained in this set. - Additional rules to add to the set. - - - - Initializes a new instance of the ValidationRuleSet class. - - Rules to be contained in this ruleset. - - - - Gets the default validation ruleset for the given version. - - The EDM version being validated. - The set of rules to validate that the model conforms to the given version. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - EdmLib validation error codes - - - - - Invalid error code - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - An exception was thrown by the underlying xml reader. - - - - - Encountered an XML node that was never used - - - - - Encountered an XML attribute that was never used - - - - - Encountered an XML element that was never used - - - - - Text was found in a location it was not allowed in - - - - - An empty file was provided to the parser - - - - - An XML element was missing a required attribute - - - - - Invalid Name - - - - - An XML attribute or element representing EDM type is missing. - - - - - Element name is already defined in this context. - - - - - The specified version number is not valid. - - - - - Malformed boolean value. - - - - - The property contains an error. - - - - - The type of this property is invalid for the given context. - - - - - Precision out of range - - - - - Scale out of range - - - - - Name is too long. - - - - - The provided association is invalid - - - - - Navigation property contains errors. - - - - - Entity key is invalid. - - - - - The value of the property must not be null. - - - - - An object with an interface kind property does not implement the interface corresponding to the value of that property. - For example this error will be reported for an object that implements interface with kind property reporting .Entity, - but does not implement interface. - - - - - The value of an interface kind property is not semantically valid. A semantically valid model must not contain elements of kind 'None'. - - - - - An enumeration property must not contain null elements. - - - - - The value of the enum type property is out of range. - - - - - If property P1 is a navigation property and P2 is its parnter, then partner property of P2 must be P1. - - - - - A chain of base types is cyclic. - - - - - Multiplicity value was malformed - - - - - The value for the Action attribute is invalid or not allowed in the current context - - - - - An error occured processing the OnDelete element - - - - - No complex type with that name exists. - - - - - The extent name used in the EntittyContainerType End does not match the name of any of the EntityContainerProperties in the containing EntityContainer - - - - - Function import specifies an entity set expression which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties. - - - - - The target entity set must be able to hold an entity that is valid for the navigation property of a mapping. - - - - - Invalid role value in the relationship constraint - - - - - Invalid Property in relationship constraint - - - - - Type mismatch between ToProperty and FromProperty in the relationship constraint - - - - - Invalid multiplicty of the principal end of a navigation. - - - - - The number of properties in the FromProperty and ToProperty in the relationship constraint must be identical - - - - - Invalid multiplicty of the dependent end of a navigation. - - - - - Open types are supported only in version 1.2 and after version 2.0. Only entity types can be open. - - - - - Vocabulary annotations are not supported before EDM 3.0 - - - - - Same role referred in the ToRole and FromRole of a referential constraint - - - - - Properties that are part of entity key must be of scalar type - - - - - Binary type properties which are part of entity key are currently supported before V2.0 - - - - - End with * multiplicity cannot have operations specified - - - - - EntitySet type has no keys - - - - - ConcurrencyMode value was malformed - - - - - Conurency can't change for any sub types of an EntitySet type. - - - - - In version 1.0 function import can have no return type or return a collection of scalars or a collection of entities. - In all other versions function import can have no return type or return a scalar, a complex type, an entity type or a collection of those. - - - - - Composable function import cannot be side-effecting. - - - - - Function import specifies entity type return but no entity set. - - - - - Function import specifies entity type that does not derive from element type of entity set. - - - - - Function import specifies a binding to an entity set but does not return entities. - - - - - A composable function import must have return type. - - - - - Same Entity Set Taking part in the same role of the relationship set in two different relationship sets - - - - - Entity key refers to the same property twice - - - - - Nullable complex Type not supported in version 1.0 and 2.0. - - - - - No Key defined on Entity Type - - - - - Need not specify system namespace in using - - - - - Invalid qualification specified for type - - - - - The value for an enumeration type member is ouf of range. - - - - - The entity container name has already been assigned to a different entity container. - - - - - Complex types were not allowed to be abstract here. - - - - - Complex types cannot have base types in this version. - - - - - A navigation property without direct containment cannot contain its declaring entity indirectly. - - - - - If a navigation property mapping is of a recursive navigation property, the mapping must point back to the same entity set. - - - - - Name collision makes this name ambiguous. - - - - - Could not find a type with this name. - - - - - Could not find a primitive type with this name. - - - - - This complex type is part of a cycle. - - - - - This Entity Container is bad because some part of its extends hierarchy is part of a cycle. - - - - - This entity type is part of a cycle. - - - - - Could not convert type reference to the requested type. - - - - - This entity set became invalid because the entity that it was of the type of was removed from the model. - - - - - Could not find an EntityContainer with that name. - - - - - Could not find an EntitySet with that name. - - - - - Could not find a property with that name - - - - - Could not find an association end with that name - - - - - Type of the navigation property was invalid because the association of the navigation property was invalid. - - - - - The base type of an entity must also be an entity. - - - - - The base type of a complex type must also be complex. - - - - - Could not find a function with this name. - - - - - Rows cannot have base types. - - - - - The role of an association set end must be an association end belonging to the association type that defines the associaiton set. - - - - - Every property in an entity key must be a property of the entity. - - - - - The principal end of a referential constraint must be one of the ends of the association that defined the referential constraint. - - - - - Dependent properties of a referential constraint must belong to the dependent entity set. - - - - - If a structured type declares a property, that properties declaring type must be the declaring structured type. - - - - - Functions are not supported before version 2.0. - - - - - Value terms are not supported before EDM 3.0 - - - - - Navigation property has a type that is not an entity or collection of entities. - - - - - Underlying type of the enumeration type is bad because the enumeration type is bad. - - - - - The type of the entity set on this association end is inconsistent with the association end. - - - - - Only function parameters with mode of In are allowed in function imports. - - - - - Complex types must contain at least one property. - - - - - Unsupported function import parameter type. - - - - - A row type must contain at least one property. - - - - - A referential constraint cannot have multiple dependent properties with the same name. - - - - - Bindable function import must have at least one parameter. - - - - - Function imports with side-effecting setting are not supported before version 3.0. - - - - - Function imports with composable setting are not supported before version 3.0. - - - - - Function imports with bindable setting are not supported before version 3.0. - - - - - Max length is out of range. - - - - - Binding context for Path expression does not supply an entity type - - - - - Invalid value for SRID - - - - - Invalid value for max length - - - - - Invalid value for long - - - - - Invalid value for integer - - - - - Invalid association set - - - - - Invalid parameter mode - - - - - No entity type with that name exists. - - - - - Value is invalid - - - - - Binary value is invalid. - - - - - Floating point value is invalid. - - - - - DateTime value is invalid. - - - - - DateTimeOffset value is invalid. - - - - - Decimal value is invalid. - - - - - Guid value is invalid. - - - - - The type kind None is not semantically valid. A semantically valid model must not contain elements of type kind None. - - - - - The if expression is invalid because it does not have 3 elements. - - - - - Enums were present in a model with a version below 3.0 - - - - - The type of an enum member value must match the underlying of the parent enum. - - - - - The IsType expression is invalid because it does not have 1 element. - - - - - The type name is not fully qualified and not a primitive. - - - - - The term name is not fully qualified. - - - - - No model was parsed because no XmlReaders were provided. - - - - - Model could not be parsed because one of the XmlReaders was null. - - - - - IsUnbounded cannot be true if MaxLength is non-null. - - - - - ImmediateValueAnnotation is invalid as an element annotation. - - - - - The LabeledElement expression is invalid because it does not have 1 element. - - - - - Could not find a LabeledElement with that name - - - - - Could not find a enum member with that name - - - - - The AssertType expression is invalid because it does not have 1 element. - - - - - Could not find a Parameter with that name - - - - - A navigation property with = true must point to an optional target. - - - - - If a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - - - - - If a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Navigation properties with setting are not supported before version 3.0. - - - - - The annotation target path cannot possibly refer to an annotable element. - - - - - A nullable type is not valid if a non-nullable type is required. - - - - - The expression is a primitive constant, and cannot be valid for an non-primitive type. - - - - - The primitive type is not valid for the requested type. - - - - - Null is not valid in a non nullable expression. - - - - - The expression is not valid for the asserted type. - - - - - A collection expression is not valid for a non-collection type. - - - - - A record expression is not valid for a non-structured type. - - - - - The record expression does not have all of the properties required for the specified type. - - - - - The record expression's type is not open, but the record expression has extra properties. - - - - - Target has multiple annotations with the same term and same qualifier. - - - - - Function application has wrong number of arguments for the function being applied. - - - - - Is it invalid to have multiple using statements with the same alias in a single schema element. - - - - - A model cannot be serialized to CSDL if it has references to types without fully qualified names. - - - - - The model could not be serialized because multiple schemas were produced and only a single output stream was found. - - - - - The Edmx version is not valid. - - - - - The EdmVersion is not valid. - - - - - Nothing was written because no schemas were produced. - - - - - Model has multiple entity containers with the same name. - - - - - The container name of a container element must be the full name of the container entity container. - - - - - A primitive constant expression is not valid for a non-primitive type. - - - - - The value of the integer constant is out of range for the asserted type. - - - - - The length of the string constant is too large for the asserted type. - - - - - The length of the binary constant is too large for the asserted type. - - - - - None is not a valid mode for a function import parameter. - - - - - A type without other errors must not have kind of none. - - - - - A primitive type without other errors must not have kind of none. - - - - - A property without other errors must not have kind of none. - - - - - A term without other errors must not have kind of none. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - A binary value must have content. - - - - - There can only be a single navigation property mapping with containment that targets a particular entity set. - - - - - The navigation properties partner does not point back to the correct type. - - - - - An entity set can only have one navigation property with containment. - - - - - If a navigation property is traversed from an entity set, and then it's partner is traversed from the target of the first mapping, the destination should be the originating entity set. - - - - - There can only be a single mapping from a given EntitySet with a particular navigation property. - - - - - An entity set must have a mapping for all of the navigation properties in its element type. - - - - - Type annotation does not have a property binding for all required properties. - - - - - Type annotation has a property binding for a non-existant property and its type is not open. - - - - - Time value is invalid. - - - - - The primitive type is invalid. - - - - - An Enum type must have an underlying type of integer. - - - - - Could not find a term with this name. - - - - - The principal properties of a referential constraint must match the key of the referential constraint. - - - - - A direct value annotation with the same name and namespace already exists. - - - - - AssociationSetEnd cannot infer an entity set because no set exists of the given type. - - - - - AssociationSetEnd cannot infer an entity set because more than one set exists of the given type. - - - - - Invalid entity set path. - - - - - Invalid enum member path. - - - - - An annotation qualifier must be a simple name. - - - - - Enum type could not be resolved. - - - - - Could not find a target with this name. - - - - - Path cannot be resolved in the given context. - - - - - Replacement for TypeCode enum. - - - - Indicates that no specific TypeCode exists for this type. - - - Boolean - - - Char - - - Signed 8-bit integer - - - Unsigned 8-bit integer - - - Signed 16-bit integer - - - Unsigned 16-bit integer - - - Signed 32-bit integer - - - Unsigned 32-bit integer - - - Signed 64-bit integer - - - Unsigned 64-bit integer - - - IEEE 32-bit float - - - IEEE 64-bit double - - - Decimal - - - DateTime - - - Unicode character string - - - Specifies that the case of the member name should not be considered when binding. - - - Specifies that only members declared at the level of the supplied type's hierarchy should be - considered. Inherited members are not considered. - - - Specifies that instance members are to be included in the search. - - - Specifies that static members are to be included in the search. - - - Specifies that public members are to be included in the search. - - - Specifies that non-public members are to be included in the search. - - - Specifies that public and protected static members up the hierarchy should - be returned. Private static members in inherited classes are not returned. - Static members include fields, methods, events, and properties. Nested types are not returned. - - - Specifies that types of the supplied arguments must exactly match the types - of the corresponding formal parameters. Reflection throws an exception if - the caller supplies a non-null Binder object, since that implies that the - caller is supplying BindToXXX implementations that will pick the appropriate method. - - - Returns the set of members whose parameter count matches the number of supplied - arguments. This binding flag is used for methods with parameters that have - default values and methods with variable arguments (varargs). This flag should - only be used with System.Type.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[]). - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Map of TypeCodes used with GetTypeCode method. Only initialized if that method is called. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Replacement for Type.IsAssignableFrom(Type) - - Type on which to call this helper method. - Type to test for assignability. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.IsSubclassOf(Type). - - Type on which to call this helper method. - Type to test if typeType is a subclass. - True if thisType is a subclass of otherType, otherwise false. - - TODO: Dev11:279438 is going to add this back to TypeInfo. This method will still be needed since it works on Type, but the - implementation should just be able to call the TypeInfo version directly instead of the full implementation here. - - - - - Replacement for GetMethod(string). - - Type on which to call this helper method. - Method to find on the specified type. - MethodInfo if one was found for the specified type, otherwise false. - - - - Replacement for Type.GetMethod(string, Type[]). - - Type on which to call this helper method. - Name of method to find on the specified type. - Array of arguments to the method. - MethodInfo if one was found for the specified type, otherwise false. - - - - Gets a MethodInfo from the specified type. Replaces uses of Type.GetMember. - - Type on which to call this helper method. - Name of the method to find. - True if the method is public, false otherwise. - True if the method is static, false otherwise. - Number of generics arguments the method has. - MethodInfo for the method that was found. - - - - Replacement for Type.GetProperty(string, Type). - - Type on which to call this helper method. - Name of public property to find on the specified type. - Return type for the property. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for Type.GetProperty(string). - - Type on which to call this helper method. - Name of public property to find on the specified type. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for PropertyInfo.GetGetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public get accessor of the specified PropertyInfo, or null if there is no get accessor or it is non-public. - - - - Replacement for PropertyInfo.GetSetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public set accessor of the specified PropertyInfo, or null if there is no set accessor or it is non-public. - - - - Replacement for MethodInfo.GetBaseDefinition(). - - MethodInfo on which to call this helper method. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetProperties(). - - Type on which to call this helper method. - Enumerable of all instance and static public properties on the type. - - - - Replacement for Type.GetFields(string). - - Type on which to call this helper method. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetFields(bindingAttr). - - Type on which to call this helper method. - True if method should search only public fields, false if it should search only non-public fields. - True if method should search only static fields, false if it should search only instance fields. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetCustomAttributes(Type, bool). - - Type on which to call this helper method. - Attribute type to find on the specified type. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetCustomAttributes(bool). - - Type on which to call this helper method. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetGenericArguments(). - - Type on which to call this helper method. - Array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition. - - - - Replacement for Type.GetInterfaces(). - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInstanceOfType(object). - - Type on which to call this helper method. - Object to test to see if it's an instance of the specified type. - See documentation for method being accessed in the body of the method. - - - - Replacement for Stream.Close(). - - Stream on which to call this helper method. - - Many Close methods have been eliminated on WinRT, the recommended pattern is to just use Dispose instead. - - - - - Replacement for Assembly.GetType(string, bool). - - Assembly on which to call this helper method. - Name of the type to get from the assembly. - True if an exception should be thrown if the type cannot be found, otherwise false. - Type instance if the type could be found in the assembly, otherwise null. - - TODO: Dev11:279441 will add a new method called Assembly.GetDefinedType(string) that returns a TypeInfo and will throw like Assembly.GetType(string, true) used to. - This helper method will still be needed but should be updated to use the new implementation once it exists. - - - - - Replacement for Assembly.GetTypes(). - - Assembly on which to call this helper method. - Enumerable of the types in the assembly. - - - - Replacement for GetField(string). - - Type on which to call this helper method. - Method to find on the specified type. - FieldInfo if one was found for the specified type, otherwise false. - - - - Checks if the specified PropertyInfo is an instance property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is an instance method. - - - - Checks if the specified PropertyInfo is a public property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is public. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Manages the type code mapping used to provide the GetTypeCode functionality. - - - - - Dictionary of types and their type codes. - - - - - Constructor for the map. - - - - - Method that does the lookup in the type map, given a type. - - Type for which to find the type code. - TypeCode for the specified type if it's in the map, otherwise TypeCode.Object. - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = EntityRes.GetString(EntityRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "Annotations in the 'Documentation' namespace must implement 'IEdmDocumentation', but '{0}' does not." - - - - - A string like "Annotation of type '{0}' cannot be interpreted as '{1}'." - - - - - A string like "Navigation target entity type must be '{0}'." - - - - - A string like "The type '{0}' could not be converted to be a '{1}' type." - - - - - A string like "The value writer cannot write a value of kind '{0}'." - - - - - A string like "Type '{0}' must have a single type annotation with term type '{1}'." - - - - - A string like "Type '{0}' must have a single value annotation with term '{1}'." - - - - - A string like "Element must have a single value annotation with term '{0}'." - - - - - A string like "Expression with kind '{0}' cannot be evaluated." - - - - - A string like "Function '{0}' is not present in the execution environment." - - - - - A string like "Path segment '{0}' has no binding in the execution environment." - - - - - A string like "Value fails to match type '{0}'." - - - - - A string like "The namespace '{0}' is a system namespace and cannot be used by non-system types. Please choose a different namespace." - - - - - A string like "The entity set '{0}' is based on type '{1}' that has no keys defined." - - - - - A string like "An end with the name '{0}' is already defined." - - - - - A string like "The key specified in entity type '{0}' is not valid. Property '{1}' is referenced more than once in the key element." - - - - - A string like "The complex type '{0}' is marked as abstract. Abstract complex types are only supported in version 1.1 EDM models." - - - - - A string like "The complex type '{0}' has a base type specified. Complex type inheritance is only supported in version 1.1 EDM models." - - - - - A string like "The key part '{0}' for type '{1}' is not valid. All parts of the key must be non nullable." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. All properties that are part of the entity key must be of primitive type." - - - - - A string like "The key usage is not valid. '{0}' cannot define keys because one of its base classes '{1}' defines keys." - - - - - A string like "The entity type '{0}' has no key defined. Define the key for this entity type." - - - - - A string like "The navigation property '{0}' is not valid. The role '{1}' is not defined in relationship '{2}'." - - - - - A string like "The navigation property '{0}'is not valid. The from role and to role are the same." - - - - - A string like "The navigation property type could not be determined from the role '{0}'." - - - - - A string like "The navigation property '{0}' cannot have 'OnDelete' specified since its multiplicity is '*'." - - - - - A string like "Each name and plural name in a relationship must be unique. '{0}' is already defined." - - - - - A string like "In relationship '{0}', the principal and dependent role of the referential constraint refers to the same role in the relationship type." - - - - - A string like "The principal navigation property '{0}' has an invalid multiplicity. Valid values for the multiplicity of a principal end are '0..1' or '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are non-nullable, the multiplicity of the principal end must be '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are nullable, the multiplicity of the principal end must be '0..1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties represent the dependent end key, the multiplicity of the dependent end must be '0..1' or '1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties don't represent the dependent end key, the the multiplicity of the dependent end must be '*'." - - - - - A string like "The properties referred by the dependent role '{0}' must be a subset of the key of the entity type '{1}'." - - - - - A string like "The types of all properties in the dependent role of a referential constraint must be the same as the corresponding property types in the principal role. The type of property '{0}' on entity '{1}' does not match the type of property '{2}' on entity '{3}' in the referential constraint '{4}'." - - - - - A string like "There is no property with name '{0}' defined in the type referred to by role '{1}'." - - - - - A string like "The principal end properties in the referential constraint of the association '{0}' do not match the key of the type referred to by role '{1}'." - - - - - A string like "The property '{0}' is of a complex type and is nullable. Nullable complex type properties are not supported in EDM versions 1.0 and 2.0." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a complex, a primitive or an enum type, or a collection of complex, primitive, or enum types." - - - - - A string like "The function import '{0}' cannot be composable and side-effecting at the same time." - - - - - A string like "The bindable function import '{0}' must have at least one parameter." - - - - - A string like "The return type is not valid in function import '{0}'. In version 1.0 a function import can have no return type or return a collection of scalar values or a collection of entities." - - - - - A string like "The return type is not valid in function import '{0}'. The function import can have no return type or return a scalar, a complex type, an entity type or a collection of those." - - - - - A string like "The function import '{0}' returns entities but does not specify an entity set." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot exist in the entity set '{2}' specified for the function import." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot be returned by the entity set path specified for the function import." - - - - - A string like "The function import '{0}' specifies an entity set expression of kind {1} which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set expression which is not valid. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set but does not return entities." - - - - - A string like "The composable function import '{0}' must specify a return type." - - - - - A string like "Each parameter name in a function must be unique. The parameter name '{0}' is already defined." - - - - - A string like "Each member name in an EntityContainer must be unique. A member with name '{0}' is already defined." - - - - - A string like "An element with the name '{0}' is already defined." - - - - - A string like "The member name '{0}' cannot be used in a type with the same name. Member names cannot be the same as their enclosing type." - - - - - A string like "Each property name in a type must be unique. Property name '{0}' is already defined." - - - - - A string like "The key property '{0}' must belong to the entity '{1}'." - - - - - A string like "The dependent property '{0}' must belong to the dependent entity '{1}'." - - - - - A string like "The property '{0}' cannot belong to a type other than its declaring type. " - - - - - A string like "The named type '{0}' could not be found from the model being validated." - - - - - A string like "The named type '{0}' is ambiguous from the model being validated." - - - - - A string like "The type of the navigation property '{0}' is invalid. The navigation target type must be an entity type or a collection of entity type. The navigation target entity type must match the declaring type of the partner property." - - - - - A string like "The target multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and it must have an optional target represented by a collection or a nullable entity type." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and the multiplicity of the navigation source must be zero or one." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is not the same as the target entity type, then the property represents a non-recursive containment and the multiplicity of the navigation source must be exactly one." - - - - - A string like "The mode of the parameter '{0}' in the function '{1}' is invalid. Only input parameters are allowed in functions." - - - - - A string like "The mode of the parameter '{0}' in the function import '{1}' is invalid." - - - - - A string like "The type '{0}' of parameter '{1}' is invalid. A function import parameter must be one of the following types: A simple type or complex type." - - - - - A string like "The complex type '{0}' is invalid. A complex type must contain at least one property." - - - - - A string like "The dependent property '{0}' of navigation property '{1}' is a duplicate." - - - - - A string like "A property with a fixed concurrency mode cannot be of type '{0}'. The property type must be a primitive type." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. Binary types are not allowed in entity keys before version 2.0." - - - - - A string like "The type of the value of enum member '{0}' must match the underlying type of the parent enum." - - - - - A string like "Each member name of an enum type must be unique. Enum member name '{0}' is already defined." - - - - - A string like "Cannot assert the nullable type '{0}' as a non-nullable type." - - - - - A string like "Cannot promote the primitive type '{0}' to the specified primitive type '{1}'." - - - - - A string like "The record expression does not have a constructor for a property named '{0}'." - - - - - A string like "The type of the record expression is not open and does not contain a property named '{0}'." - - - - - A string like "The annotated element '{0}' has multiple annotations with the term '{1}' and the qualifier '{2}'." - - - - - A string like "The function application provides '{0}' arguments, but the function '{1}' expects '{2}' arguments." - - - - - A string like "Each entity container name in a function must be unique. The name '{0}' is already defined." - - - - - A string like "The value of the string constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "The value of the binary constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "A term without other errors must not have kind of none. The kind of term '{0}' is none." - - - - - A string like "A schema element without other errors must not have kind of none. The kind of schema element '{0}' is none." - - - - - A string like "A property without other errors must not have kind of none. The kind of property '{0}' is none." - - - - - A string like "A primitive type without other errors must not have kind of none. The kind of primitive type '{0}' is none." - - - - - A string like "An entity container element without other errors must not have kind of none. The kind of entity container element '{0}' is none." - - - - - A string like "The entity set '{0}' should have only a single mapping for the property '{1}'." - - - - - A string like "The mapping of the entity set '{0}' and navigation property '{1}' is invalid because the navigation property mapping must have a mapping with the navigation property's partner that points back to the originating entity set. " - - - - - A string like "The entity set '{0}' is invalid because it is contained by more than one navigation property." - - - - - A string like "The type annotation is missing a binding for the property '{0}'." - - - - - A string like "They type of the type annotation is not open, and does not contain a property named '{0}'." - - - - - A string like "The underlying type of '{0}' is not valid. The underlying type of an enum type must be an integral type. " - - - - - A string like "The term '{0}' could not be found from the model being validated." - - - - - A string like "The target '{0}' could not be found from the model being validated." - - - - - A string like "An element already has a direct value annotation with the namespace '{0}' and name '{1}'." - - - - - A string like "The association set '{0}' cannot assume an entity set for the role '{2}' because there are no entity sets for the role type '{1}'." - - - - - A string like "The association set '{0}' must specify an entity set for the role '{2}' because there are multiple entity sets for the role type '{1}'." - - - - - A string like "Because the navigation property '{0}' is recursive, the mapping from the entity set '{1}' must point back to itself." - - - - - A string like "The navigation property '{0}' is invalid because it indirectly contains itself." - - - - - A string like "The path cannot be resolved in the given context. The segment '{0}' failed to resolve." - - - - - A string like "The entity set '{1}' is not a valid destination for the navigation property '{0}' because it cannot hold an element of the target entity type." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified name is not allowed: '{0}'." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified namespace name is not allowed: '{0}'." - - - - - A string like "The value of the property '{0}.{1}' must not be null." - - - - - A string like "The property '{0}.{1}' of type '{2}' has value '{3}' that is not a valid enum member." - - - - - A string like "An object with the value '{0}' of the '{1}.{2}' property must implement '{3}' interface." - - - - - A string like "An object implementing '{0}' interface has type definition of kind '{1}'. The type reference interface must match to the kind of the definition." - - - - - A string like "The value '{0}' of the property '{1}.{2}' is not semantically valid. A semantically valid model must not contain elements of kind '{0}'." - - - - - A string like "The value of the enumeration the property '{0}.{1}' contains a null element. Enumeration properties must not contain null elements." - - - - - A string like "The partner of the navigation property '{0}' must not be the same property, and must point back to the navigation property." - - - - - A string like "The chain of base types of type '{0}' is cyclic." - - - - - A string like "The function import '{0}' could not be serialized because its return type cannot be represented inline." - - - - - A string like "A referenced type can not be serialized with an invalid name. The name '{0}' is invalid." - - - - - A string like "The annotation can not be serialized with an invalid target name. The name '{0}' is invalid." - - - - - A string like "{0} does not contain a schema definition, or the XmlReader provided started at the end of the file." - - - - - A string like "Required schema attribute '{0}' is not present on element '{1}'." - - - - - A string like "The current schema element does not support text '{0}'." - - - - - A string like "The attribute '{0}' was not expected in the given context." - - - - - A string like "The schema element '{0}' was not expected in the given context." - - - - - A string like "Unused schema element: '{0}'." - - - - - A string like "Unexpected XML node type: {0}." - - - - - A string like "The element '{0}' was unexpected for the root element. The root element should be {1}." - - - - - A string like "The namespace '{0}' is invalid. The root element is expected to belong to one of the following namespaces: '{1}'." - - - - - A string like "The root element has no namespace. The root element is expected to belong to one of the following namespaces: '{0}'." - - - - - A string like "The alias '{0}' is not a valid simple name." - - - - - A string like "The delete action '{0}' is not valid. Action must be: 'None', 'Cascade', or 'Restrict'." - - - - - A string like "The association '{0}' is not valid. Associations must contain exactly two end elements." - - - - - A string like "The association set '{0}' is not valid. Association sets must contain at most two end elements." - - - - - A string like "The concurrency mode '{0}' is not valid. Concurrency mode must be: 'None', or 'Fixed'." - - - - - A string like "Parameter mode '{0}' is not valid. Parameter mode must be: 'In', 'Out', or 'InOut'." - - - - - A string like "There is no Role with name '{0}' defined in relationship '{1}'." - - - - - A string like "The multiplicity '{0}' is not valid. Multiplicity must be: '*', '0..1', or '1'." - - - - - A string like "The type name '{0}' is invalid. The type name must be that of a primitive type, a fully qualified name or an inline 'Collection' or 'Ref' type." - - - - - A string like "The qualified name '{0}' is invalid. A qualified name must have a valid namespace or alias, and a valid name." - - - - - A string like "'{0}' is not a valid entity set path." - - - - - A string like "'{0}' is not a valid enum member path." - - - - - A string like "The annotation target '{0}' could not be resolved because it cannot refer to an annotatable element." - - - - - A string like "The schema '{0}' contains the alias '{1}' more than once." - - - - - A string like "Unexpected {0} element while parsing Edmx. Edmx is expected to have at most one of 'Runtime' or 'DataServices' elements." - - - - - A string like "Encountered the following errors when parsing the EDMX document: \r\n{0}" - - - - - A string like "The value '{0}' is not a valid boolean. The value must be 'true' or 'false'." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 64 bit integer." - - - - - A string like "The value '{0}' is not a valid floating point value. " - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer or 'Max'." - - - - - A string like "The value '{0}' is not a valid SRID. The value must either be a 32 bit integer or 'Variable'." - - - - - A string like "The value '{0}' is not a valid Guid. " - - - - - A string like "The value '{0}' is not a valid decimal." - - - - - A string like "The value '{0}' is not a valid date time offset value." - - - - - A string like "The value '{0}' is not a valid date time value." - - - - - A string like "The value '{0}' is not a valid time value." - - - - - A string like "The value '{0}' is not a valid binary value. The value must be a hexadecimal string and must not be prefixed by '0x'." - - - - - A string like "Invalid multiplicity: '{0}'" - - - - - A string like "Invalid schema element kind: '{0}'" - - - - - A string like "Invalid type kind: '{0}'" - - - - - A string like "Invalid primitive kind: '{0}'" - - - - - A string like "Invalid container element kind: '{0}'" - - - - - A string like "Invalid edmx target: '{0}'" - - - - - A string like "Invalid function parameter mode: '{0}'" - - - - - A string like "Invalid concurrency mode: '{0}'" - - - - - A string like "Invalid property kind: '{0}'" - - - - - A string like "Invalid term kind: '{0}'" - - - - - A string like "Invalid expression kind: '{0}'" - - - - - A string like "The name '{0}' is ambiguous." - - - - - A string like "The type '{0}' could not be found." - - - - - A string like "The complex type '{0}' could not be found." - - - - - A string like "The entity type '{0}' could not be found." - - - - - A string like "The primitive type '{0}' could not be found." - - - - - A string like "The function '{0}' could not be found." - - - - - A string like "The function '{0}' could not be resolved because more than one function could be used for this application." - - - - - A string like "The function '{0}' could not be resolved because none of the functions with that name take the correct set of parameters." - - - - - A string like "The entity set '{0}' could not be found." - - - - - A string like "The entity container '{0}' could not be found." - - - - - A string like "The enum type '{0}' could not be found." - - - - - A string like "The enum member '{0}' could not be found." - - - - - A string like "The property '{0}' could not be found." - - - - - A string like "The parameter '{0}' could not be found." - - - - - A string like "The labeled element '{0}' could not be found." - - - - - A string like "The entity '{0}' is invalid because its base type is cyclic." - - - - - A string like "The complex type '{0}' is invalid because its base type is cyclic." - - - - - A string like "The entity container '{0}' is invalid because its extends hierarchy is cyclic." - - - - - A string like "The association end '{0}' could not be computed." - - - - - A string like "Conversion of EDM values to a CLR type with type code {0} is not supported." - - - - - A string like "Cannot initialize a property '{0}' on an object of type '{1}'. The property already has a value." - - - - - A string like "An EDM structured value contains multiple values for the property '{0}'. Conversion of an EDM structured value with duplicate property values is not supported." - - - - - A string like "Conversion of an EDM value of the type '{0}' to the CLR type '{1}' is not supported." - - - - - A string like "Conversion of an edm collection value to the CLR type '{0}' is not supported. EDM collection values can be converted to System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> or System.Collections.Generic.ICollection<T>." - - - - - A string like "The type '{0}' of the object returned by the TryCreateObjectInstance delegate is not assignable to the expected type '{1}'." - - - - - A string like "Unexpected primitive type kind." - - - - - A string like "The annotation must have non-null target." - - - - - A string like "An entity type or a collection of an entity type is expected." - - - - - A string like "An element with type 'None' cannot be used in a model." - - - - - A string like "An element with type 'None' cannot be used in an entity container." - - - - - A string like "Value has already been set." - - - - - A string like "Path segments must not contain '/' character." - - - - - A string like "An on delete action can only be specified on one end of an association." - - - - - A string like "The number of properties in the dependent and principal role in a relationship constraint must be exactly identical." - - - - - A string like "The base type kind of a structured type must be the same as its derived type." - - - - - A string like "Row types cannot have a base type." - - - - - A string like "Functions are not supported prior to version 2.0." - - - - - A string like "The 'SideEffecting' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Composable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Bindable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'ContainsTarget' setting of navigation properties is not supported before version 3.0." - - - - - A string like "The row type is invalid. A row must contain at least one property." - - - - - A string like "The scale value can range from 0 through the specified precision value." - - - - - A string like "Precision cannot be negative." - - - - - A string like "The max length facet specifies the maximum length of an instance of the string type. For unicode equal to 'true', the max length can range from 1 to 2^30, or if 'false', 1 to 2^31." - - - - - A string like "Max length can range from 1 to 2^31." - - - - - A string like "Enums are not supported prior to version 3.0." - - - - - A string like "Value terms are not supported prior to version 3.0." - - - - - A string like "Vocabulary annotations are not supported prior to version 3.0." - - - - - A string like "Open types are supported only in version 1.2 and after version 2.0." - - - - - A string like "Only entity types can be open types." - - - - - A string like "The string reference is invalid because if 'IsUnbounded' is true 'MaxLength' must be null." - - - - - A string like "The declared name and namespace of the annotation must match the name and namespace of its xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must have a well-formed xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be IEdmStringValue." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be a string representing an xml element with non-empty name and namespace." - - - - - A string like "Null value cannot have a non-nullable type." - - - - - A string like "The type of the expression is incompatible with the asserted type." - - - - - A string like "A collection expression is incompatible with a non-collection type." - - - - - A string like "A primitive expression is incompatible with a non-primitive type." - - - - - A string like "A record expression is incompatible with a non-structured type." - - - - - A string like "References to EDM stream type are not supported before version 3.0." - - - - - A string like "References to EDM spatial types are not supported before version 3.0." - - - - - A string like "The primitive expression is not compatible with the asserted type." - - - - - A string like "The value of the integer constant is out of range for the asserted type." - - - - - A string like "A type without other errors must not have kind of none." - - - - - A string like "The name is missing or not valid." - - - - - A string like "The namespace name is missing or not valid." - - - - - A string like "Single file provided but model cannot be serialized into single file." - - - - - A string like "Unknown Edm version." - - - - - A string like "Unknown Edmx version." - - - - - A string like "No CSDL is written because no schema elements could be produced. This is likely because the model is empty." - - - - - A string like "The source XmlReader does not contain a schema definition or started at the end of the file." - - - - - A string like "Associations may have at most one constraint. Multiple constraints were specified for this association." - - - - - A string like "An XML attribute or sub-element representing an EDM type is missing." - - - - - A string like "Referential constraints requires one dependent role. Multiple dependent roles were specified for this referential constraint." - - - - - A string like "Referential constraints requires one principal role. Multiple principal roles were specified for this referential constraint." - - - - - A string like "If expression must contain 3 operands, the first being a boolean test, the second being being evaluated if the first is true, and the third being evaluated if the first is false." - - - - - A string like "The IsType expression must contain 1 operand." - - - - - A string like "The AssertType expression must contain 1 operand." - - - - - A string like "The LabeledElement expression must contain 1 operand." - - - - - A string like "A model could not be produced because no XML readers were provided." - - - - - A string like "A model could not be produced because one of the XML readers was null." - - - - - A string like " There was a mismatch in the principal and dependent ends of the referential constraint." - - - - - A string like "The enumeration member value exceeds the range of its data type 'http://www.w3.org/2001/XMLSchema:long'." - - - - - A string like "The EDMX version specified in the 'Version' attribute does not match the version corresponding to the namespace of the 'Edmx' element." - - - - - A string like "The specified value of data service version is invalid." - - - - - A string like "The specified value of max data service version is invalid." - - - - - A string like "The same rule cannot be in the same rule set twice." - - - - - A string like "Conversion of an EDM structured value is supported only to a CLR class." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 505630190..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index d0136c211..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 7ea57f532..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index cd9bcf37b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 03ae21dea..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index a469245e1..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 3541d5473..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index c0e5d1c45..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index b75ec544c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/Microsoft.Data.Edm.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/Microsoft.Data.Edm.dll deleted file mode 100644 index e1b8f0fda..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/Microsoft.Data.Edm.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/Microsoft.Data.Edm.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/Microsoft.Data.Edm.xml deleted file mode 100644 index 07ece6edb..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/Microsoft.Data.Edm.xml +++ /dev/null @@ -1,11509 +0,0 @@ - - - - Microsoft.Data.Edm - - - - - Defines a location in a XML file. - - - - - Represents the location of an Edm item. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the line number in the file. - - - - - Gets the position in the line. - - - - - Exception type representing a failure to parse an EDM document. Carries the set of errors along with it. - - - - - Initializes a new instance of the class. - - The errors encountered while parsing. - - - - Prevents a default instance of the class from being created. - - The parse errors. - - - - Constructs an appropriate exception message from the set of parsing errors. - - The parse errors. - The exception message. - - - - Gets the set of errors that were encountered while parsing. - - - - - Specifies what target of an EDMX file. - - - - - The target is Entity Framework. - - - - - The target is OData. - - - - - Contains xml parsing methods for Edm. - - - - - Common base type for a CSDL expression. - - - - - Common base class for CSDL elements. - - - - - Represents a CSDL Collection expression. - - - - - Represents a CSDL enumeration type member. - - - - - Common base class for all named CSDL elements. - - - - - Base class for CSDL elements that have documentation. - - - - - Gets or sets the underlying type value of the member. - Value can be null only during deserialization of the declaring enumeration type. - When the type's deserialization is complete, all its members get their values assigned. - - - - - Represents a CSDL enumeration type. - - - - - Represents a CSDL Path expression. - - - - - Common base type for a CSDL type or value annotation. - - - - - Represents a CSDL Annotations element. - - - - - Represents a CSDL collection type. - - - - - Represents an inline type expression, such as , and - in the context of . - Note that nominal type declarations, such as entity, complex, association and primitive types, are not considered to be type expressions in the context - of - these types are handled in . - - - - - Represents a CSDL constant expression. - - - - - Represents a CSDL property value in an annotation. - - - - - Represents a CSDL Record expression. - - - - - Represents a reference to a CSDL primitive type. - - - - - Represents a CSDL type reference based on a type referenced by name. - - - - - Base type for the two kinds of type reference: and . - - - - - Represents a semantically invalid EDM enumeration type. - - - - - Represents an invalid EDM element. - - - - - Common base interface for all EDM elements. - - - - - Defines an Edm component who is invalid or whose validity is unknown at construction - - - - - Gets an error if one exists with the current object. - - - - - Represents an element that can be targeted by Vocabulary Annotations - - - - - Represents the definition of an EDM type. - - - - - Gets the kind of this type. - - - - - Represents a definition of an EDM enumeration type. - - - - - Represents an EDM type defined in an EDM schema. - - - - - Common base interface for all named children of EDM schemata. - - - - - Common base interface for all named EDM elements. - - - - - Gets the name of this element. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Common base class for all EDM elements. - - - - - Term to which an annotation can bind. - - - - - Gets the kind of a term. - - - - - Represents a definition of an EDM entity type. - - - - - Common base interface for definitions of EDM structured types. - - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the base type of this type. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Common base class for CsdlSemantics classes that have Annotations. - - - - - Interface for all EDM elements that can be located. - - - - - Gets the location of this element. - - - - - Allocates a new list if needed, and adds the item to the list. - - Type of the list. - List to add the item to. - Item being added. - List containing then new item. - - - - Represents an EDM expression. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Represents an EDM type assertion expression. - - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Provides semantics for a Csdl collection expression. - - - - - Represents an EDM multi-value construction expression. - - - - - Gets the declared type of the collection, or null if there is no declared type. - - - - - Gets the constructed element values. - - - - - Provides semantics for a Csdl datetime with offset constant expression. - - - - - Represents an EDM datetime with offset constant expression. - - - - - Represents an EDM datetime with offset value. - - - - - Represents an EDM primitive value. - - - - - Represents an EDM value. - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the definition of this value. - - - - - Provides a CSDL-specific annotations manager. - - - - - Direct-value annotations manager provides services for setting and getting transient annotations on elements. - - - An object representing transient annotations is in one of these states: - 1) Null, if the element has no transient annotations. - 2) An EdmAnnotation, if the element has exactly one annotation. - 3) A list of EdmAnnotation, if the element has more than one annotation. - If the speed of annotation lookup for elements with many annotations becomes a concern, another option - including a dictionary is possible. - - - - - Manages getting and setting direct value annotations on EDM elements. - - - - - Gets annotations associated with an element. - - The annotated element. - The direct value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - The value of the annotation. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation value that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Keeps track of transient annotations on elements. - - - - - Used for locking during updates to the annotations dictionary; - - - - - Elements for which normal comparison failed to produce a valid result, arbitrarily ordered to enable stable comparisons. - - - - - Used for locking during updates to the unsorted elements list. - - - - - Initializes a new instance of the class. - - - - - Gets annotations associated with an element. - - The annotated element. - The immediate value annotations for the element. - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - New annotation to set. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The annotations to set - - - - Retrieves an annotation value for an EDM element. Returns null if no annotation with the given name exists for the given element. - - The annotated element. - Namespace that the annotation belongs to. - Local name of the annotation. - Returns the annotation that corresponds to the provided name. Returns null if no annotation with the given name exists for the given element. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The set of requested annotations - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Retrieves the annotations that are directly attached to an element. - - The element in question. - The annotations that are directly attached to an element (outside the control of the manager). - - - - Retrieves the transient annotations for an EDM element. - - The annotated element. - The dictionary for looking up the element's annotations. - The transient annotations for the element, in a form managed by the annotations manager. - This method is static to guarantee that the annotations dictionary is not fetched more than once per lookup operation. - - - - Represents an EDM entity set reference expression. - - - - - Gets the referenced entity set. - - - - - Represents an EDM enumeration member reference expression. - - - - - Gets the referenced enum member. - - - - - Represents an EDM function reference expression. - - - - - Gets the referenced function. - - - - - Provides semantics for a Csdl guid constant expression. - - - - - Represents an EDM guid constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this guid value. - - - - - Provides semantics for a Csdl binary constant expression. - - - - - Represents an EDM binary constant expression. - - - - - Represents an EDM binary value. - - - - - Gets the definition of this binary value. - - - - - Represents an EDM if expression. - - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Represents an EDM type test expression. - - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Represents an EDM labeled expression element. - - - - - Gets the underlying expression. - - - - - Represents a reference to an EDM labeled expression. - - - - - Gets the referenced expression. - - - - - Provides semantics for a CsdlDirectValueAnnotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Provides semantics for a CsdlEnumMember. - - - - - Represents a definition of an EDM enumeration type member. - - - - - Gets the value of this enumeration type member. - - - - - Gets the type that this member belongs to. - - - - - Provides semantics for CsdlEnumType. - - - - - Common base class for the semantics of EDM types. - - - - - Represents a CSDL type annotation. - - - - - Represents a CSDL value annotation. - - - - - Represents a CSDL value term. - - - - - Provides semantics for an out-of-line CSDL Annotations. - - - - - Provides semantics for a Csdl Bool constant expression. - - - - - Represents an EDM boolean constant expression. - - - - - Represents an EDM boolean value. - - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Provides semantics for CsdlCollectionType. - - - - - Represents a definition of an EDM collection type. - - - - - Gets the element type of this collection. - - - - - Provides semantics for . - - - - - Represents a references to a type. - - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Represents references to EDM Collection types. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM datetime constant expression. - - - - - Represents an EDM datetime value. - - - - - Gets the definition of this datetime value. - - - - - Provides semantics for a Csdl Decimal constant expression. - - - - - Represents an EDM decimal constant expression. - - - - - Represents an EDM decimal value. - - - - - Gets the definition of this decimal value. - - - - - Provides semantics for a Csdl Float constant expression. - - - - - Represents an EDM floating constant expression. - - - - - Represents an EDM floating point value. - - - - - Gets the definition of this floating value. - - - - - Provides semantics for a Csdl Int constant expression. - - - - - Represents an EDM integer constant expression. - - - - - Represents an EDM integer value. - - - - - Gets the definition of this integer value. - - - - - Provides semantics for CsdlNamedTypeReference. - - - - - Provides semantics for a Csdl null constant expression. - - - - - Represents an EDM null expression. - - - - - Represents an EDM null value. - - - - - Represents an EDM parameter reference expression. - - - - - Gets the referenced parameter. - - - - - Provides semantics for a Csdl Path expression. - - - - - Represents an EDM path expression. - - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E" is { "A.B", "C", "D.E" }. - - - - - Provides semantics for a CsdlPropertyValue used in a record expression. - - - - - Represents an EDM property constructor specified as part of a EDM construction record expression. - - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Provides semantics for a CsdlPropertyValue used in a type annotation. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Represents an EDM property. - - - - - Gets the kind of this property. - - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Provides semantics for a Csdl Record expression. - - - - - Represents an EDM record construction expression. - - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Provides the semantics of a reference to an EDM primitive type. - - - - - Represents references to primitive types. - - - - - This doesn't need the full caching mechanism because the computation is cheap, and the likelyhood of computing a primitive type reference without needing its definition is remote. - - - - - Represents a reference to an EDM spatial type. - - - - - Gets the Spatial Reference Identifier of this spatial type. - - - - - Provides semantics for a Csdl String constant expression. - - - - - Represents an EDM string constant expression. - - - - - Represents an EDM string value. - - - - - Gets the definition of this string value. - - - - - Provides semantics for a Csdl DateTime constant expression. - - - - - Represents an EDM time constant expression. - - - - - Represents an EDM time value. - - - - - Gets the definition of this time value. - - - - - Common base class for CsdlSemanticsTypeAnnotation and CsdlSemanticsValueAnnotation. - - - - - Represents an EDM vocabulary annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Gets the term bound by the annotation. - - - - - Gets the element the annotation applies to. - - - - - Gets the type to use as a binding context for expressions in the annotation. If the target of the annotation - is an entity type, that is the binding context. If the target is an entity set, the binding context is the - element type of the set. - - - - - Provides semantics for a CsdlTypeAnnotation. - - - - - Represents an EDM type annotation. - - - - - Gets the value annotations for the properties of the type. - - - - - Provides semantics for a CsdlValueAnnotation. - - - - - Represents an EDM value annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Provides semantics for a CsdlValueTerm. - - - - - Represents an EDM value term. - - - - - Gets the type of this term. - - - - - Represents a definition of an EDM association type. - - - - - Gets the namespace this association belongs to. - - - - - Gets the first end of the association. - - - - - Gets the second end of the association. - - - - - Gets the referential constraint of the association. - - - - - Represents an end of an EDM association. - - - - - Gets the declaring association of this association end. - - - - - Gets the entity type of this end of the association. - - - - - Gets this end's multiplicity. - - - - - Gets the action to execute on the deletion of this association end. - - - - - Represents an EDM association set. - - - - - Gets the association of this association set. - - - - - Gets the first end of this association set. - - - - - Gets the second end of this association set. - - - - - Represents one of the ends of an EDM association set. - - - - - Gets the association end that describes the role of this association set end. - - - - - Gets the entity set this association set end corresponds to. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that a type reference refers to a type that can be represented in CSDL. - - - - - Validates that an entity set refers to a type that can be represented in CSDL. - - - - - Validates that a structured type's base type can be represented in CSDL. - - - - - Validates that association names can be represented in CSDL. - - - - - Validates that vocabulary annotations serialized out of line have a serializable target name. - - - - - Validates that vocabulary annotations have a serializable term name. - - - - - Represents whether a vocabulary annotation should be serialized within the element it applies to or in a seperate section of the CSDL. - - - - - The annotation should be serialized within the element being annotated. - - - - - The annotation should be serialized in a seperate section. - - - - - Contains extension methods for interfaces that are useful to serialization. - - - - - Gets the value for the EDMX version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDMX version attribute of the . - - The model the version should be set for. - The version. - - - - Sets an annotation on the IEdmModel to notify the serializer of preferred prefix mappings for xml namespaces. - - Reference to the calling object. - XmlNamespaceManage containing mappings between namespace prefixes and xml namespaces. - - - - Gets the preferred prefix mappings for xml namespaces from an IEdmModel - - Reference to the calling object. - Namespace prefixes that exist on the model. - - - - Sets a value for the DataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the DataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for. - Value of the attribute. - - - - Sets a value for the MaxDataServiceVersion attribute in an EDMX artifact. - - The model the attribute should be set for. - The value of the attribute. - - - - Gets the value for the MaxDataServiceVersion attribute used during EDMX serialization. - - Model the attribute has been set for - Value of the attribute. - - - - Sets the location an annotation should be serialized in. - - The annotation the location is being specified for. - Model containing the annotation. - The location the annotation should appear. - - - - Gets the location an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - The location the annotation should be serialized at. - - - - Sets the schema an annotation should appear in. - - The annotation the schema should be set for. - Model containing the annotation. - The schema the annotation belongs in. - - - - Gets the schema an annotation should be serialized in. - - Reference to the calling annotation. - Model containing the annotation. - Name of the schema the annotation belongs to. - - - - Sets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Gets the name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association name. - - - - Sets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the namespace used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association namespace. - - - - Gets the fully-qualified name used for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The fully-qualified association name. - - - - Sets the annotations for the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Gets the annotations associated with the association serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association annotations. - The annotations for association end 1. - The annotations for association end 2. - The annotations for the referential constraint. - - - - Sets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Gets the name used for the association end serialized for a navigation property. - - Model containing the navigation property. - The navigation property. - The association end name. - - - - Sets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set - The navigation property. - The association set name. - - - - Gets the name used for the association set serialized for a navigation property of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set name. - - - - Sets the annotations for the association set serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the annotations associated with the association serialized for a navigation target of an entity set. - - Model containing the entity set. - The entity set. - The navigation property. - The association set annotations. - The annotations for association set end 1. - The annotations for association set end 2. - - - - Gets the primary end of a pair of partnered navigation properties, selecting the principal end if there is one and making a stable, arbitrary choice otherwise. - - The navigation property. - The primary end between the navigation property and its partner. - - - - Sets an annotation indicating whether the value of an enum member should be explicitly serialized. - - Member to set the annotation on. - Model containing the member. - If the value of the enum member should be explicitly serialized - - - - Gets an annotation indicating whether the value of an enum member should be explicitly serialized. - - The member the annotation is on. - Model containing the member. - Whether the member should have its value serialized. - - - - Sets an annotation indicating if the value should be serialized as an element. - - Value to set the annotation on. - Model containing the value. - Value indicating if the value should be serialized as an element. - - - - Gets an annotation indicating if the value should be serialized as an element. - - Value the annotation is on. - Model containing the value. - Value indicating if the string should be serialized as an element. - - - - Sets the serialization alias for a given namespace - - Model that will be serialized. - The namespace to set the alias for. - The alias for that namespace. - - - - Gets the serialization alias for a given namespace. - - Model that will be serialized. - Namespace the alias is needed for. - The alias of the given namespace, or null if one does not exist. - - - - Represents a CSDL function return type. - - - - - Provides EDMX parsing services for EDM models. - - - - - True when either Runtime or DataServices node have been processed. - - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Model to be referenced by the created model. - The model generated by parsing. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given EDMX artifact. - - XmlReader containing the EDMX artifact. - Models to be referenced by the created model. - The model generated by parsing. - - - - .TryParse does not exist on all platforms, so implementing it here. - - Input string. - Parsed version. - False in case of failure. - - - - All parse functions start with the reader pointing at the start tag of an element, and end after consuming the ending tag for the element. - - The current element name to be parsed. - The parsers for child elements of the current element. - - - - Provides EDMX serialization services for EDM models. - - - - - Outputs an EDMX artifact to the provided XmlWriter. - - Model to be written. - XmlWriter the generated EDMX will be written to. - Target implementation of the EDMX being generated. - Errors that prevented successful serialization, or no errors if serialization was successfull. - A value indicating whether serialization was successful. - - - - Represents references to entity reference types. - - - - - Represents the common base type of EDM functions and function imports. - - - - - Searches for a parameter with the given name, and returns null if no such parameter exists. - - The name of the parameter being found. - The requested parameter or null if no such parameter exists. - - - - Gets the return type of this function. - - - - - Gets the collection of parameters for this function. - - - - - Represents an EDM function import. - - - - - Represents the common elements of all EDM entity container elements. - - - - - Gets the kind of element of this container element. - - - - - Gets the container that contains this element. - - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Represents an EDM entity set reference expression. - - - - - Initializes a new instance of the class. - - Referenced entity set. - - - - Gets the referenced entity set. - - - - - Gets the kind of this expression. - - - - - Represents an EDM path expression. - - - - - Initializes a new instance of the class. - - Path string containing segments seperated by '/'. For example: "A.B/C/D.E/Func1(NS.T,NS.T2)/P1". - - - - Initializes a new instance of the class. - - Path segments. - - - - Initializes a new instance of the class. - - Path segments. - - - - Gets the path as a decomposed qualified name. "A.B/C/D.E/Func1(NS.T,NS.T2)/P1" is { "A.B", "C", "D.E", "Func1(NS.T,NS.T2)", "P1" }. - - - - - Gets the kind of this expression. - - - - - Represents references to row types. - - - - - Represents references to EDM structured types. - - - - - When we see an entity container, we see if it has . - If it does, then we attach it to that schema, otherwise we attached to the first existing schema. - If there are no schemas, we create the one named "Default" and attach container to it. - - The entity container being processed. - - - - Represents a delegate for creating an instance of CLR type based on and . - The delegate can be used to create CLR instances of polymorphic types. - - The for which the needs to be created. - The expected CLR type of the object instance. In case of polymorphic properties and collections this may be a base type. - The converter instance calling this delegate. - The output parameter returning a CLR object instance created for the . - The output parameter returning true if all properties of the created are initialized. - False if properties of the created instance should be initialized using the default logic. - True if the delegate produced a desired . - If delegate returns false, the default logic will be applied to create and populate a CLR object instance. - - - - to CLR value converter. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The delegate customizing conversion of structured values. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The CLR type. - The EDM value to be converted. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Converts to a CLR value of the specified type. - Supported values for are: - CLR primitive types such as and , - CLR enum types, - , - , - , - CLR classes with default constructors and public properties with setters and collection properties of the following shapes: - EnumerableProperty { get; set; }, - CollectionProperty { get; set; }, - ListProperty { get; set; }, - CollectionProperty { get { return this.nonNullCollection; } }, - ListProperty { get { return this.nonNullList; } }. - - The EDM value to be converted. - The CLR type. - A CLR value converted from . - This method performs boxing and unboxing for value types. Use value-type specific methods such as to avoid boxing and unboxing. - - - - Registers the corresponding to the . - All subsequent conversions from this performed by this instance of will return the specified - . Registration is required to support graph consistency and loops during conversion process. - This method should be called inside the delegate if the delegate is calling back into - in order to populate properties of the . - - The EDM value. - The CLR object. - - - - Converts to a CLR byte array value. - - The EDM value to be converted. - Converted byte array. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted string. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted boolean. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted char. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted byte. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted integer. - Exception is thrown if is not . - Exception is thrown if cannot be converted to . - - - - Converts to a value. - - The EDM value to be converted. - Converted double. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted single. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted decimal. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTime. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted Time. - Exception is thrown if is not . - - - - Converts to a value. - - The EDM value to be converted. - Converted DateTimeOffset. - Exception is thrown if is not . - - - - Searches the for a property with the . - Handles the case of multiple properties with the same name (declared via C# "new") by choosing the one on the deepest derived type. - - The clr object type. - The property name. - The property or null. - - - - Used for error messages only. - - The EDM value. - The EDM value interface name. - - - - The class contains method that are called thru reflection to produce values of correct CLR types. - For example if one has an int value and a clr type represnting an enum : int, there is no other way to convert the int - to the enum type object. - - - - - Expression evaluator capable of producing CLR values. - - - - - Expression evaluator. - - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the EdmExpressionEvaluator class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - Expression to evaluate. - Value to use as context in evaluating the expression. Cannot be null if the expression contains paths. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the target type. - - - - Represents a lazily computed value. - - - - - Gets the data stored in this value. - - - - - Represents a value of an EDM property. - - - - - Gets the name of the property this value is associated with. - - - - - Represents an EDM collection value. - - - - - Gets the values stored in this collection. - - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - - - - Initializes a new instance of the class. - - Builtin functions dictionary to the evaluators for the functions. - Function to call to evaluate an application of a function with no static binding. - - - - Evaluates an expression with no value context. - - The CLR type of the value to be returned. - Expression to evaluate. The expression must not contain paths, because no context for evaluating a path is supplied. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - The value that results from evaluating the expression in the context of the supplied value. - - - - Evaluates an expression in the context of a value and a target type. - - The CLR type of the value to be returned. - Expression to evaluate. - Value to use as context in evaluating the expression. - Type to which the result value is expected to conform. - The value that results from evaluating the expression in the context of the supplied value, asserted to be of the targetType. - - - - Gets or sets an instance of that is used to produce CLR values during evaluation. - - - - - Contains IsEquivalentTo() extension methods. - - - - - Returns true if the compared type is semantically equivalent to this type. - Schema types () are compared by their object refs. - - Type being compared. - Type being compared to. - Equivalence of the two types. - - - - Returns true if the compared type reference is semantically equivalent to this type reference. - Schema types () are compared by their object refs. - - Type reference being compared. - Type referenced being compared to. - Equivalence of the two type references. - - - - Returns true if function signatures are semantically equivalent. - Signature includes function name () and its parameter types. - - Reference to the calling object. - Function being compared to. - Equivalence of signatures of the two functions. - - - - Returns true if the compared function parameter is semantically equivalent to this function parameter. - - Reference to the calling object. - Function parameter being compared to. - Equivalence of the two function parameters. - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Gets the element to which the annotation is attached - - - - - Gets the namespace URI of the annotation. - - - - - Gets the local name of this annotation. - - - - - Gets the value of this annotation. - - - - - Represents an EDM navigation property info used during construction of navigation properties. - - - - - Clones this object. - - A copy of this object. - - - - Gets or sets the name of this navigation property. - - - - - Gets or sets the entity type that this navigation property belongs to. - - - - - Gets or sets multiplicity of the navigation target. - - - - - Gets or sets the dependent properties of the association this navigation property expresses. - - - - - Gets or sets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets or sets the action to take when an instance of the declaring type is deleted. - - - - - Represents a mapping from an EDM navigation property to an entity set. - - - - - Creates a new navigation target mapping. - - The navigation property. - The entity set that the navigation propertion targets. - - - - Gets the navigation property. - - - - - Gets the target entity set. - - - - - Represents an EDM time constant. - - - - - Represents an EDM value. - - - - - Initializes a new instance of the EdmValue class. - - Type of the value. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Initializes a new instance of the class. - - Time value represented by this value. - - - - Initializes a new instance of the class. - - Type of the Time. - Time value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a name binding to more than one item. - - Type of the ambiguous element. - - - - Represents an EDM entity container. - - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Represents an EDM entity set. - - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents an EDM function. - - - - - Gets the defining expression of this function. - - - - - Represents a labeled expression binding to more than one item. - - - - - Gets the kind of this property. - - - - - Gets the type that this property belongs to. - - - - - Represents a name binding to more than one item. - - - - - Represents a name binding to more than one item. - - - - - Represents a reference to a semantically invalid EDM binary type. - - - - - Represents a reference to an EDM binary type. - - - - - Represents a reference to an EDM primitive type. - - - - - Represents a reference to an EDM type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets a value indicating whether this type is nullable. - - - - - Gets the definition to which this type refers. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to an EDM binary type. - - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - - - - Gets a value indicating whether this type specifies fixed length. - - - - - Gets a value indicating whether this type specifies the maximum allowed length. - - - - - Gets the maximum length of this type. - - - - - Represents a semantically invalid EDM collection type. - - - - - Represents a semantically invalid EDM complex type definition. - - - - - Represents a semantically invalid EDM named structured type definition. - - - - - Represents a semantically invalid EDM structured type definition. - - - - - Represents a definition of an EDM complex type. - - - - - Represents a reference to an EDM complex type. - - - - - Represents references to EDM complex types. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents a reference to a semantically invalid EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Represents a reference to an EDM decimal type. - - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - Scale of values with this type. - - - - Gets the precision of this type. - - - - - Gets the scale of this type. - - - - - Represents a semantically invalid EDM entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a semantically invalid EDM entity reference type. - - - - - Represents a definition of an EDM entity reference type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents a semantically invalid EDM entity set. - - - - - Represents a semantically invalid EDM entity type. - - - - - Represents a reference to an EDM entity type. - - - - - Represents references to entity types. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents a semantically invalid EDM enumeration type member. - - - - - Represents a semantically invalid EDM labeled expression. - - - - - Represents a semantically invalid EDM primitive type definition. - - - - - Represents a definition of an EDM primitive type. - - - - - Gets the primitive kind of this type. - - - - - Represents a reference to a semantically invalid EDM primitive type. - - - - - Gets the kind of this value. - - - - - Represents a semantically invalid EDM property. - - - - - Represents a semantically invalid EDM row type. - - - - - Represents a definition of an EDM row type. - - - - - Represents a reference to a semantically invalid EDM spatial type. - - - - - Represents a reference to an EDM spatial type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Spatial Reference Identifier for the spatial type being created. - - - - Gets the precision of this temporal type. - - - - - Represents a reference to a semantically invalid EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Represents a reference to an EDM string type. - - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Denotes whether the max length is the maximum allowed value. - Maximum length of a value of this type. - Denotes whether the length can vary. - Denotes if string is encoded using Unicode. - Indicates the collation string to be used by the underlying store. - - - - Gets a value indicating whether this string type specifies fixed length. - - - - - Gets a value indicating whether this string type specifies the maximum allowed length. - - - - - Gets the maximum length of this string type. - - - - - Gets a value indicating whether this string type supports unicode encoding. - - - - - Gets a string representing the collation of this string type. - - - - - Represents a reference to a semantically invalid EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Represents a reference to an EDM temporal (Time, DateTime, DateTimeOffset) type. - - - - - Gets the precision of this temporal type. - - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - - - - Initializes a new instance of the class. - - The type this reference refers to. - Denotes whether the type can be nullable. - Precision of values with this type. - - - - Gets the precision of this temporal type. - - - - - Represents an EDM complex type that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity container that cannot be determined due to a cyclic reference. - - - - - Represents an EDM entity type that cannot be determined due to a cyclic reference. - - - - - Provides a dictionary that is thread safe by virtue of being immutable. - Any update returns a new dictionary (which, for efficiency, may share some of the state of the old one). - - Key type of the dictionary. - Value type of the dictionary. - - - - Provides a list that is thread safe by virtue of being immutable. - "Mutating" operations return a new list (which, for efficiency, may share some of the state of the old one). - - Element type of the list. - - - - Provides an approximately-balanced binary search tree that is thread safe by virtue of being immutable. - Updates return a new tree (which, for efficiency, may share some state with the old one). - - Key type of the tree. - Value type of the tree. - - - - Initializes a new instance of VersioningTree. - - The key of the tree node. - The value of the tree node. - A tree with all keys less than the key of the tree node. May be null. - A tree with all keys greater than the key of the tree node. May be null. - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the local name of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents the combination of an EDM annotation with an immediate value and the element to which it is attached. - - Type of the annotation value. - - - - Common base class for all named EDM elements. - - - - - Initializes a new instance of the class. - - Name of the element. - - - - Gets the name of this element. - - - - - Initializes a new instance of the class. - - Element to which the annotation is attached. - Value of the annotation - - - - Gets the element to which the annotation is attached. - - - - - Gets the namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Defines an object as a location of itself. - - - - - Gets a string representation of the location. - - A string representation of the location. - - - - Gets the object. - - - - - Collection of extension methods to assert that an expression is of the required type. - - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Determines if the type of an expression is compatible with the provided type - - The expression to assert the type of. - The type to assert the expression as. - The context paths are to be evaluated in. - A value indicating whether the expression must match the asserted type exactly, or simply be compatible. - Errors produced if the expression does not match the specified type. - A value indicating whether the expression is valid for the given type or not. - If the expression has an associated type, this function will check that it matches the expected type and stop looking further. - If an expression claims a type, it must be validated that the type is valid for the expression. If the expression does not claim a type - this method will attempt to check the validity of the expression itself with the asserted type. - - - - Contains ToTraceString() extension methods. - - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Returns the text representation of the current object. - - Reference to the calling object. - The text representation of the current object. - - - - Represents an EDM enumeration type value. - - - - - Gets the underlying type value of the enumeration type. - - - - - Represents references to EDM enumeration types. - - - - - Represents an EDM value term reference expression. - - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Defines EDM term kinds. - - - - - Represents a term with unknown or error kind. - - - - - Represents a term implementing and . - - - - - Represents a term implementing . - - - - - Represents an EDM structured value. - - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Defines Edm values - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value implementing . - - - - - Represents a value with an unknown or error kind. - - - - - Defines EDM expression kinds. - - - - - Represents an expression with unknown or error kind. - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing . - - - - - Represents an expression implementing - - - - - Constants for CSDL XML. - - - - - The local name of the annotation that stores EDMX version of a model. - - - - - Version 1.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2007/06/edmx". - - - - - Version 2.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2008/10/edmx". - - - - - Version 3.0 of EDMX. Corresponds to EDMX namespace "http://schemas.microsoft.com/ado/2009/11/edmx". - - - - - The current latest version of EDMX. - - - - - Represents a CSDL annotation. - - - - - Represents a CSDL association. - - - - - Represents a CSDL association end. - - - - - Represents a CSDL association set. - - - - - Represents a CSDL association set end. - - - - - Represents a reference to a CSDL Binary type. - - - - - Represents a CSDL complex type. - - - - - Common base class for CSDL entity and complex types. - - - - - Common base class for CSDL entity, complex, and row Types. - - - - - Represents a reference to a CSDL decimal type. - - - - - Represents a CSDL documentation. - - - - - Represents a CSDL entity container. - - - - - Represents a CSDL entity reference type. - - - - - Represents a CSDL Entity Set. - - - - - Represents a CSDL entity type. - - - - - Represents a CSDL type reference based on a type expression. - - - - - Represents a CSDL function. - - - - - Represents a base class for CSDL functions and function imports. - - - - - Represents a CSDL function import. - - - - - Represents a CSDL function parameter. - - - - - Represents a CSDL key. - - - - - Represents a CSDL model. - - - - - Represents a CSDL navigation property. - - - - - Represents a CSDL "on delete" action. - - - - - Represents a CSDL property. - - - - - Represents a CSDL property reference. - - - - - Represents a CSDL referential constraint. - - - - - Represents a CSDL referential constraint role. - - - - - Represents a CSDL row type. - - - - - Represents a CSDL schema. - - - - - Represents a reference to a CSDL String type. - - - - - Represents a reference to a CSDL temporal type. - - - - - Represents a CSDL Using. - - - - - Base class for parsers of XML documents - - - - - CSDL document parser. - - - - - Provides for the loading and conversion of one or more CSDL XML readers into Entity Data Model. - - - - - Provides semantics for a CsdlAssociation. - - - - - Provides semantics for a CsdlAssociationEnd. - - - - - Provides semantics for a CsdlAssociationSet. - - - - - Provides semantics for a CsdlAssociationSetEnd. - - - - - Provides the semantics of a reference to an EDM Binary type. - - - - - Provides semantics for CsdlComplexType. - - - - - Provides semantics for CsdlStructuredType. - - - - - Provides the semantics of a reference to an EDM Decimal type. - - - - - Provides semantics for CsdlDocumentation. - - - - - Represents an EDM documentation. - - - - - Gets a summary of this documentation. - - - - - Gets a long description of this documentation. - - - - - Provides semantics for CsdlEntityContainer. - - - - - Provides semantics for CsdlEntityTypeReference. - - - - - Provides semantics for CsdlEntitySet. - - - - - Provides semantics for CsdlEntityType. - - - - - Provides semantics for a CsdlFunction. - - - - - Provides semantics for a CsdlFunctionParameter. - - - - - Represents a parameter of an EDM function. - - - - - Gets the type of this function parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this function parameter. - - - - - Provides semantics for CsdlMetadataModel. - - - - - Represents an EDM model. - - - - - Semantic representation of an EDM model. - - - This interface, and all interfaces reachable from it, preserve certain invariants: - -- The backing implementation of an element can be loaded or created on demand. - -- No direct element mutation occurs through the interfaces. - - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Initializes a new instance of the class. - - Models to which this model refers. - Annotations manager for the model to use. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for a function with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A group of functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the base type. - - - - Adds a schema element to this model. - - The element to register. - - - - Adds a model reference to this model. - - The model to reference. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Searches for an association with the given name in this model and returns null if no such association exists. - - The qualified name of the type being found. - The requested association, or null if no such type exists. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Gets an error if one exists with the current object. - - - - - Provides semantics for a CsdlNavigationProperty. - - - - - Represents an EDM navigation property. - - - - - Gets the partner of this navigation property. - - - - - Gets the action to execute on the deletion of this end of a bidirectional association. - - - - - Gets whether this navigation property originates at the principal end of an association. - - - - - Gets the dependent properties of this navigation property, returning null if this is the principal end or if there is no referential constraint. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Represents a semantically invalid EDM association end. - - - - - Represents a navigation property synthesized for an association end that does not have a corresponding navigation property. - - - - - Represents a name binding to more than one item. - - - - - Represents a property binding specified as part of an EDM type annotation. - - - - - Initializes a new instance of the class. - - Property that is given a value by the annotation. - Expression producing the value of the annotation. - - - - Gets the property that is given a value by the annotation. - - - - - Gets the expression producing the value of the annotation. - - - - - Represents an EDM type annotation. - - - - - Represents an EDM annotation with an immediate value. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - - - - Gets the element the annotation applies to. - - - - - Gets the term bound by the annotation. - - - - - Gets the qualifier used to discriminate between multiple bindings of the same property or type. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Value annotations for the properties of the type. - - - - Gets the value annotations for the properties of the type. - - - - - Represents an EDM value annotation. - - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Expression producing the value of the annotation. - - - - Initializes a new instance of the class. - - Element the annotation applies to. - Term bound by the annotation. - Qualifier used to discriminate between multiple bindings of the same property or type. - Expression producing the value of the annotation. - - - - Gets the expression producing the value of the annotation. - - - - - Represents a semantically invalid EDM association. - - - - - Represents a member of an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The type that declares this member. - Name of this enumeration member. - Value of this enumeration member. - - - - Gets the type that this member belongs to. - - - - - Gets the value of this enumeration type member. - - - - - Represents the definition of an Edm enumeration type. - - - - - Represents the definition of an EDM type. - - - - - Returns the text representation of the current object. - - The text representation of the current object. - - - - Gets the kind of this type. - - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class with underlying type. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Initializes a new instance of the class. - - Namespace this enumeration type belongs to. - Name of this enumeration type. - The underlying type of this enumeration type. - A value indicating whether the enumeration type can be treated as a bit field. - - - - Adds a new member to this enum type. - - The member to add. - - - - Creates and adds a new member to this enum type. - - Name of the member. - Value of the member. - Created member. - - - - Gets the kind of this type. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this enumeration type. - - - - - Gets the underlying type of this enumeration type. - - - - - Gets the members of this enumeration type. - - - - - Gets a value indicating whether the enumeration type can be treated as a bit field. - - - - - Represents an EDM enumeration member reference expression. - - - - - Initializes a new instance of the class. - - Referenced enum member. - - - - Gets the referenced enum member. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression reference expression. - - - - - Initializes a new instance of class with non-initialized property. - - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmLabeledExpressionReferenceExpression instance has been constructed. - - Referenced labeled element. - - - - Gets or sets the referenced labeled element. - The referenced labeled element can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM null. - - - - - Singleton instance. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM parameter reference expression. - - - - - Initializes a new instance of the class. - - Referenced parameter - - - - Gets the referenced parameter. - - - - - Gets the kind of this expression. - - - - - Represents information about an EDM function that failed to resolve. - - - - - Represents an EDM enumeration type value. - - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The enumeration type value. - - - - Initializes a new instance of the class. - - A reference to the enumeration type that describes this value. - The underlying type value. - - - - Gets the underlying type value of the enumeration type. - - - - - Gets the kind of this value. - - - - - Represents an EDM binary constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM boolean constant. - - - - - Initializes a new instance of the class. - - Boolean value represented by this value. - - - - Initializes a new instance of the class. - - Type of the boolean. - Boolean value represented by this value. - - - - Gets a value indicating whether the value of this boolean value is true or false. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime constant. - - - - - Initializes a new instance of the class. - - DateTime value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTime. - DateTime value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM datetime with offset constant. - - - - - Initializes a new instance of the class. - - DateTimeOffset value represented by this value. - - - - Initializes a new instance of the class. - - Type of the DateTimeOffset. - DateTimeOffset value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM decimal constant. - - - - - Initializes a new instance of the class. - - Decimal value represented by this value. - - - - Initializes a new instance of the class. - - Type of the decimal. - Decimal value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a reference to an EDM enumeration type. - - - - - Initializes a new instance of the class. - - The definition refered to by this reference. - Denotes whether the type can be nullable. - - - - Represents an EDM value term reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced term property. - Referenced value term. - Qualifier. - - - - Gets the expression for the structured value containing the referenced term property. - - - - - Gets the referenced value term. - - - - - Gets the optional qualifier. - - - - - Gets the kind of this expression. - - - - - Represents an EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Declared type of the record. - Property constructors. - - - - Initializes a new instance of the class. - - Property constructors. - - - - Initializes a new instance of the class. - - Optional declared type of the record. - Property constructors. - - - - Gets the declared type of the record, or null if there is no declared type. - - - - - Gets the constructed property values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM property constructor specified as part of a EDM record construction expression. - - - - - Initializes a new instance of the class. - - Property name. - Property value. - - - - Gets the name of the property. - - - - - Gets the expression for the value of the property. - - - - - Represents an EDM property reference expression. - - - - - Initializes a new instance of the class. - - Expression for the structured value containing the referenced property. - Referenced property. - - - - Gets the expression for the structured value containing the referenced property. - - - - - Gets the referenced property. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type test expression. - - - - - Initializes a new instance of the class. - - Expression whose type is to be tested. - Type to test. - - - - Gets the expression whose type is to be tested. - - - - - Gets the type to be tested against. - - - - - Gets the kind of this expression. - - - - - Represents an EDM if expression. - - - - - Initializes a new instance of the class. - - Test expression - Expression to evaluate if evaluates to true. - Expression to evaluate if evaluates to false. - - - - Gets the test expression. - - - - - Gets the expression to evaluate if evaluates to true. - - - - - Gets the expression to evaluate if evaluates to false. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function reference expression. - - - - - Initializes a new instance of the class. - - Referenced function - - - - Gets the referenced function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM function application expression. - - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Initializes a new instance of the class. - - Function to apply. - Application arguments. Value may be null, in which case it is treated as an empty enumerable. - - - - Gets the applied function. - - - - - Gets the arguments to the function. - - - - - Gets the kind of this expression. - - - - - Represents an EDM labeled expression. - - - - - Initializes a new instance of the class. - - Label of the expression. - Underlying expression. - - - - Gets the label. - - - - - Gets the underlying expression. - - - - - Gets the expression kind. - - - - - Represents an EDM multi-value construction expression. - - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Initializes a new instance of the class. - - The constructed element values. - - - - Initializes a new instance of the class. - - Declared type of the collection. - The constructed element values. - - - - Gets the declared type of the collection. - - - - - Gets the constructed element values. - - - - - Gets the kind of this expression. - - - - - Represents an EDM type assertion expression. - - - - - Initializes a new instance of the class. - - Expression for which the type is asserted. - Type to assert. - - - - Gets the expression for which the type is asserted. - - - - - Gets the asserted type. - - - - - Gets the kind of this expression. - - - - - Represents an EDM floating point constant. - - - - - Initializes a new instance of the class. - - Floating point value represented by this value. - - - - Initializes a new instance of the class. - - Type of the floating point. - Floating point value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM guid constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM value term. - - - - - Initializes a new instance of class. - The new value term will be of the nullable primitive . - - Namespace of the term. - Name of the term. - Type of the term. - - - - Initializes a new instance of the class. - - Namespace of the term. - Name of the term. - Type of the term. - - - - Gets the namespace of this term. - - - - - Gets the kind of this term. - - - - - Gets the type of this term. - - - - - Gets the schema element kind of this term. - - - - - Represents a definition of an EDM collection type. - - - - - Initializes a new instance of the class. - - The type of the elements in this collection. - - - - Gets the kind of this type. - - - - - Gets the element type of this collection type. - - - - - Represents a reference to an EDM collection type. - - - - - Initializes a new instance of the class. - - The type definition this reference refers to. - Denotes whether the type can be nullable. - - - - Represents an EDM collection value. - - - - - Initializes a new instance of the class. - - A reference to a collection type that describes this collection value - The collection of values stored in this collection value - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - Provides semantics for a CsdlProperty. - - - - - Provides semantics for a CsdlReferentialConstraint. - - - - - Provides semantics for CsdlRowType. - - - - - Provides semantics for CsdlSchema. - - - - - All of the labeled expressions in a schema are collected into a dictionary so that references to them can be bound. - The elements of the dictionary are Csdl objects and not CsdlSemantics objects because the semantics objects are not created - until and unless necessary. - - A dictionary containing entries for all labeled expressions in the schema. - - - - Gets the labeled element expressions dictionary. - Each value in the dictionary is either a or a list of same. - - - - - Provides the semantics of a reference to an EDM String type. - - - - - Provides the semantics of a reference to an EDM temporal type. - - - - - Contains extension methods for interfaces. - - - - - Gets the value for the EDM version of the . - - Model the version has been set for. - The version. - - - - Sets a value of EDM version attribute of the . - - The model the version should be set for. - The version. - - - - Searches for a type with the given name in this model and all referenced models and returns null if no such type exists. - - The model to search. - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and all referenced models and returns null if no such value term exists. - - The model to search. - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and all referenced models and returns an empty enumerable if no such functions exist. - - The model to search. - The qualified name of the functions being found. - The requested functions. - - - - Searches for an entity container with the given name in this model and all referenced models and returns null if no such entity container exists. - - The model to search. - The qualified name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets the entity containers belonging to this model. - - Model to search for entity containers. - Entity containers belonging to this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element (or, if the element is a type, to its base types) by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations defined in a specific model and models referenced by that model. - - The model to search. - Element to check for annotations. - Annotations attached to the element by this model or by models referenced by this model. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Annotations attached to the element by this model or by models referenced by this model that bind the term. - - - - Gets an annotatable element's vocabulary annotations that bind a particular term. - - Type of the annotation being returned. - Model to search. - Element to check for annotations. - Name of the term to search for. - Qualifier to apply. - Annotations attached to the element by this model or by models referenced by this model that bind the term with the given qualifier. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the of a property of a term type that has been applied to the type of a value. - - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or null if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the CLR value of a property of a term type that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for type annotations. - Value to use as context in evaluation. - Property to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the property evaluated against the supplied value, or default() if no relevant type annotation exists. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to the type of a value. - - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to the type of a value. - - The CLR type of the value to be returned. - Model to search for term annotations. - Value to use as context in evaluation. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the of a vocabulary term that has been applied to an element. - - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Name of the term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets the CLR value of a vocabulary term that has been applied to an element. - - The CLR type of the value to be returned. - Model to search for term annotations. - Annotated element. - Term to evaluate. - Qualifier to apply. - Evaluator to use to perform expression evaluation. - Value of the term evaluated against the supplied value. - - - - Gets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation that exists on the element. Otherwise, null. - - - - Sets documentation for a specified element. - - The model containing the documentation. - The element. - Documentation to set. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value corresponding to the given namespace and name provided. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - Namespace of the annotation. - Name of the annotation inside the namespace. - The requested annotation value, if it exists. Otherwise, null. - - - - Gets an annotation value from an annotatable element. - - Type of the annotation being returned. - The model containing the annotation. - The annotated element. - The requested annotation, if it exists. Otherwise, null. - - Strongly-typed wrappers for unnamed annotations keyed by CLR type. - - - - - Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing annotation with the same name is removed. - - The model containing the annotation. - The annotated element. - Namespace that the annotation belongs to. - Name of the annotation within the namespace. - Value of the new annotation. - - - - Gets all schema elements from the model, and models referenced by it. - - Model to search for elements - Schema elements from the model, and models referenced by it. - - - - Finds a list of types that derive from the supplied type directly or indirectly, and across models. - - The model types are being found on. - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Sets an annotation value on an annotatable element. - - Type of the annotation being set. - The model containing the annotation. - The annotated element. - Value of the new annotation. - - - - Retrieves a set of annotation values. For each requested value, returns null if no annotation with the given name exists for the given element. - - The model in which to find the annotations. - The set of requested annotations. - Returns values that correspond to the provided annotations. A value is null if no annotation with the given name exists for the given element. - - - - Sets a set of annotation values. If a supplied value is null, no annotation is added and an existing annotation with the same name is removed. - - The model in which to set the annotations. - The annotations to set. - - - - Gets the direct value annotations for an element. - - The model containing the annotations. - The annotated element. - The immediate value annotations of the element. - - - - Gets the location of this element. - - Reference to the calling object. - The location of the element. - - - - Gets an annotatable element's vocabulary annotations as seen from a particular model. - - Reference to the calling object. - Model to check for annotations. - Annotations attached to the element by the model or by models referenced by the model. - - - - Gets the full name of the element. - - Reference to the calling object. - The full name of the element. - - - - Returns entity sets belonging to an IEdmEntityContainer. - - Reference to the calling object. - Entity sets belonging to an IEdmEntityContainer. - - - - Returns function imports belonging to an IEdmEntityContainer. - - Reference to the calling object. - Function imports belonging to an IEdmEntityContainer. - - - - Gets the type kind of the type references definition. - - Reference to the calling object. - The type kind of the reference. - - - - Gets the full name of the definition referred to by the type reference. - - Reference to the calling object. - The full name of this references definition. - - - - Gets the definition of this primitive type reference. - - Reference to the calling object. - Definition of this primitive type reference. - - - - Gets the primitive kind of the definition referred to by this type reference. - - Reference to the calling object. - Primitive kind of the definition of this reference. - - - - Gets all properties of the structured type definition and its base types. - - Reference to the calling object. - Properties of this type. - - - - Gets all structural properties declared in the IEdmStructuredTypeDefinition. - - Reference to the calling object. - All structural properties declared in the IEdmStructuredTypeDefinition. - - - - Gets the structural properties declared in this type definition and all base types. - - Reference to the calling object. - The structural properties declared in this type definition and all base types. - - - - Gets the definition of this structured type reference. - - Reference to the calling object. - The definition of this structured type reference. - - - - Returns true if the definition of this reference is abstract. - - Reference to the calling object. - If the definition of this reference is abstract. - - - - Returns true if the definition of this reference is open. - - Reference to the calling object. - If the definition of this reference is open. - - - - Returns the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference. - - Reference to the calling object. - All structural properties declared in the definition of this reference. - - - - Gets all structural properties declared in the definition of this reference and all its base types. - - Reference to the calling object. - All structural properties declared in the definition of this reference and all its base types. - - - - Finds a property from the definition of this reference. - - Reference to the calling object. - Name of the property to find. - The requested property if it exists. Otherwise, null. - - - - Gets the base type of this entity type definition. - - Reference to the calling object. - The base type of this entity type definition. - - - - Gets the navigation properties declared in this entity definition. - - Reference to the calling object. - The navigation properties declared in this entity definition. - - - - Get the navigation properties declared in this entity type and all base types. - - Reference to the calling object. - The navigation properties declared in this entity type and all base types. - - - - Gets the declared key of the most defined entity with a declared key present. - - Reference to the calling object. - Key of this type. - - - - Checks whether the given entity type has the as one of the key properties. - - Given entity type. - Property to be searched for. - true if the type or base types has given property declared as key. false otherwise. - - - - Gets the definition of this entity reference. - - Reference to the calling object. - The definition of this entity reference. - - - - Gets the base type of the definition of this reference. - - Reference to the calling object. - The base type of the definition of this reference. - - - - Gets the entity key of the definition of this reference. - - Reference to the calling object. - The entity key of the definition of this reference. - - - - Gets the navigation properties declared in the definition of this reference and its base types. - - Reference to the calling object. - The navigation properties declared in the definition of this reference and its base types. - - - - Gets the navigation properties declared in the definition of this reference. - - Reference to the calling object. - The navigation properties declared in the definition of this reference. - - - - Finds a navigation property declared in the definition of this reference by name. - - Reference to the calling object. - Name of the navigation property to find. - The requested navigation property if it exists. Otherwise, null. - - - - Gets the base type of this references definition. - - Reference to the calling object. - The base type of this references definition. - - - - Gets the definition of this reference typed as an IEdmComplexTypeDefinition. - - Reference to the calling object. - The definition of this reference typed as an IEdmComplexTypeDefinition. - - - - Gets the base type of this reference. - - Reference to the calling object. - The base type of this reference. - - - - Gets the definition of this entity reference type reference. - - Reference to the calling object. - The definition of this entity reference type reference. - - - - Gets the entity type referred to by the definition of this entity reference type reference. - - Reference to the calling object. - The entity type referred to by the definition of this entity reference type reference. - - - - Gets the definition of this collection reference. - - Reference to the calling object. - The definition of this collection reference. - - - - Gets the element type of the definition of this collection reference. - - Reference to the calling object. - The element type of the definition of this collection reference. - - - - Gets the definition of this enumeration reference. - - Reference to the calling object. - The definition of this enumeration reference. - - - - Gets the multiplicity of this end of a bidirectional relationship between this navigation property and its partner. - - Reference to the calling object. - The multiplicity of this end of the relationship. - - - - Gets the entity type targeted by this navigation property. - - Reference to the calling object. - The entity type targeted by this navigation property. - - - - Gets the entity type declaring this navigation property. - - Reference to the calling object. - The entity type that declares this navigation property. - - - - Gets the definition of this row type reference. - - Reference to the calling object. - The definition of this row type reference. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the binding of a property of the type term of a type annotation. - - Annotation to search. - Name of the property to search for. - The binding of the property in the type annotation, or null if no binding exists. - - - - Gets the value term of this value annotation. - - Reference to the calling object. - The value term of this value annotation. - - - - Analyzes .EntitySet expression and returns a static reference if available. - - The function import containing the entity set expression. - The static entity set of the function import. - True if the entity set expression of the contains a static reference to an , otherwise false. - - - - Analyzes .EntitySet expression and returns a relative path to an if available. - The path starts with the and may have optional sequence of and type casts segments. - - The function import containing the entity set expression. - The model containing the function import. - The function import parameter from which the relative entity set path starts. - The optional sequence of navigation properties. - True if the entity set expression of the contains a relative path an , otherwise false. - - - - Finds a property of a record expression. - - The record expression. - Name of the property to find. - The property, if found, otherwise null. - - - - This method is only used for the function import entity set path parsing. - - The type of the segment. - Non-null entity type that may be bad. - - - - Provides CSDL serialization services for EDM models. - - - - - Outputs a CSDL artifact to the provided writer. - - Model to be written. - XmlWriter the generated CSDL will be written to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Outputs a CSDL artifact to the provided writers. - - Model to be written. - A delegate that takes in a schema namespace name and returns an XmlWriter to write the schema to. - Errors that prevented successful serialization, or no errors if serialization was successful. - A value indicating whether serialization was successful. - - - - Provides CSDL parsing services for EDM models. - - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Model to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Returns an IEdmModel for the given CSDL artifacts. - - Collection of XmlReaders containing the CSDL artifacts. - Models to be references by the created model. - The model generated by parsing. - Errors reported while parsing. - Success of the parse operation. - - - - Enumerates the kinds of Edm Primitives. - - - - - Represents a primitive type of unknown kind. - - - - - Represents a Binary type. - - - - - Represents a Boolean type. - - - - - Represents a Byte type. - - - - - Represents a DateTime type. - - - - - Represents a DateTimeOffset type. - - - - - Represents a Decimal type. - - - - - Represents a Double type. - - - - - Represents a Guid type. - - - - - Represents a Int16 type. - - - - - Represents a Int32 type. - - - - - Represents a Int64 type. - - - - - Represents a SByte type. - - - - - Represents a Single type. - - - - - Represents a String type. - - - - - Represents a Stream type. - - - - - Represents a Time type. - - - - - Represents an arbitrary Geography type. - - - - - Represents a geography Point type. - - - - - Represents a geography LineString type. - - - - - Represents a geography Polygon type. - - - - - Represents a geography GeographyCollection type. - - - - - Represents a geography MultiPolygon type. - - - - - Represents a geography MultiLineString type. - - - - - Represents a geography MultiPoint type. - - - - - Represents an arbitrary Geometry type. - - - - - Represents a geometry Point type. - - - - - Represents a geometry LineString type. - - - - - Represents a geometry Polygon type. - - - - - Represents a geometry GeometryCollection type. - - - - - Represents a geometry MultiPolygon type. - - - - - Represents a geometry MultiLineString type. - - - - - Represents a geometry MultiPoint type. - - - - - Enumerates the EDM property concurrency modes. - - - - - Denotes a property that should be used for optimistic concurrency checks. - - - - - Denotes a property that should not be used for optimistic concurrency checks. - - - - - Provides a caching mechanism for semantic properties. - - Type of the element that contains the cached property - Type of the cached property - - - - Helper for Cache class. - - - - - Defines EDM container element types. - - - - - Represents an element where the container kind is unknown or in error. - - - - - Represents an element implementing . - - - - - Represents an element implementing . - - - - - Enumerates the modes of parameters of EDM functions. - - - - - Denotes that a parameter with an unknown or error directionality. - - - - - Denotes that a parameter is used for input. - - - - - Denotes that a parameter is used for output. - - - - - Denotes that a parameter is used for input and output. - - - - - Enumerates the multiplicities of EDM navigation properties. - - - - - The Multiplicity of the association end is unknown. - - - - - The Multiplicity of the association end is zero or one. - - - - - The Multiplicity of the association end is one. - - - - - The Multiplicity of the association end is many. - - - - - Enumerates the actions EDM can apply on deletes. - - - - - Take no action on delete. - - - - - On delete also delete items on the other end of the association. - - - - - Defines EDM property types. - - - - - Represents a property implementing . - - - - - Represents a property implementing . - - - - - Represents a property with an unknown or error kind. - - - - - Defines EDM schema element types. - - - - - Represents a schema element with unknown or error kind. - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing . - - - - - Represents a schema element implementing - - - - - Defines EDM metatypes. - - - - - Represents a type with an unknown or error kind. - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Represents a type implementing . - - - - - Interface describing anything that can be depended upon in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can be dependent on a dependency trigger in tracking semantic changes in an EDM model. - - - - - Interface describing anything that can have cached data that might need flushing. - - - - - Represents a definition of an EDM complex type. - - - - - Common base class for definitions of EDM structured types. - - - - - Initializes a new instance of the class. - - Denotes a structured type that cannot be instantiated. - Denotes if the type is open. - Base type of the type - - - - Adds the to this type. - of the must be this type. - - The property being added. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a nullable structural property to this type. - - Name of the property. - Type of the property. - Flag specifying if the property is nullable. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - Created structural property. - - - - Creates and adds a structural property to this type. - - Name of the property. - Type of the property. - The default value of this property. - The concurrency mode of this property. - Created structural property. - - - - Searches for a structural or navigation property with the given name in this type and all base types and returns null if no such property exists. - - The name of the property being found. - The requested property, or null if no such property exists. - - - - Computes the the cached dictionary of properties for this type definition. - - Dictionary of properties keyed by their name. - - - - Gets a value indicating whether this type is abstract. - - - - - Gets a value indicating whether this type is open. - - - - - Gets the properties declared immediately within this type. - - - - - Gets the base type of this type. - - - - - Gets a dictionary of the properties in this type definition for faster lookup. - - - - - Initializes a new instance of the class. - - The namespace this type belongs to. - The name of this type within its namespace. - - - - Initializes a new instance of the class. - Note: Complex type inheritance is not supported in EDM version 3.0 and above. - - The namespace this type belongs to. - The name of this type within its namespace. - The base type of this complex type. - Denotes whether this complex type is abstract. - - - - Gets the schema element kind of this element. - - - - - Gets the namespace of this element. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the kind of this term. - - - - - Represents an EDM documentation. - - - - - Initializes a new instance of the class. - - Summary of the documentation. - The documentation contents. - - - - Gets summary of this documentation. - - - - - Gets documentation. - - - - - Represents an EDM entity container. - - - - - Initializes a new instance of the class. - - Namespace of the entity container. - Name of the entity container. - - - - Adds an entity container element to this entity container. - - The element to add. - - - - Creates and adds an entity set to this entity container. - - Name of the entity set. - The entity type of the elements in this entity set. - Created entity set. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - Created function import. - - - - Creates and adds a function import to this entity container. - - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - Created function import. - - - - Searches for an entity set with the given name in this entity container and returns null if no such set exists. - - The name of the element being found. - The requested element, or null if the element does not exist. - - - - Searches for function imports with the given name in this entity container and returns null if no such function import exists. - - The name of the function import being found. - A group of the requested function imports, or an empty enumerable if no such function import exists. - - - - Gets a collection of the elements of this entity container. - - - - - Gets the namespace of this entity container. - - - - - Gets the name of this entity container. - - - - - Gets the kind of this schema element. - - - - - Represents a definition of an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The entity referred to by this entity reference. - - - - Gets the kind of this type. - - - - - Gets the entity type pointed to by this entity reference. - - - - - Represents an EDM entity set. - - - - - Initializes a new instance of the class. - - An containing this entity set. - Name of the entity set. - The entity type of the elements in this entity set. - - - - Adds a navigation target, specifying the destination entity set of a navigation property of an entity in this entity set. - - The navigation property the target is being set for. - The destination entity set of the specified navigation property. - - - - Finds the entity set that a navigation property targets. - - The navigation property. - /// The entity set that the navigation propertion targets, or null if no such entity set exists. - - - - Gets the entity type contained in this entity set. - - - - - Gets the kind of element of this container element. - - - - - Gets the container of this entity set. - - - - - Gets the navigation targets of this entity set. - - - - - Represents a definition of an EDM entity type. - - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - - - - Initializes a new instance of the class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Adds the to the key of this entity type. - - The key properties. - - - - Creates and adds a unidirectional navigation property to this type. - Default partner property is created, but not added to the navigation target type. - - Information to create the navigation property. - Created navigation property. - - - - Creates and adds a unidirectional navigation property to this type. - Navigation property partner is created, but not added to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates and adds a navigation property to this type and adds its navigation partner to the navigation target type. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - The puspose of this method is to make sure that some of the fields are set to valid partner defaults. - For example if .Target is null, it will be set to this entity type. If .TargetMultiplicity - is unknown, it will be set to 0..1, etc. - Whenever this method applies new values to , it will return a copy of it (thus won't modify the original). - If is null, a new info object will be produced. - - Primary navigation property info. - Partner navigation property info. May be null. - Partner info. - - - - Gets the structural properties of the entity type that make up the entity key. - - - - - Gets the kind of this schema element. - - - - - Gets the namespace this schema element belongs to. - - - - - Gets the name of this element. - - - - - Gets the kind of this type. - - - - - Gets the term kind of the entity type. - - - - - Represents an EDM function. - - - - - Represents a base class for EDM functions and function imports. - - - - - Initializes a new instance of the class. - - The name of the function. - The return type of the function. - - - - Searches for a parameter with the given name in this function and returns null if no such parameter exists. - - The name of the parameter to be found. - The requested parameter, or null if no such parameter exists. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Created parameter. - - - - Creates and adds a parameter to this function (as the last parameter). - - The name of the parameter being added. - The type of the parameter being added. - Mode of the parameter. - Created parameter. - - - - Adds a parameter to this function (as the last parameter). - - The parameter being added. - - - - Gets the return type of this function. - - - - - Gets the parameters of this function. - - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - - - - Initializes a new instance of the class. - - Namespace of the function. - Name of the function. - Return type of the function. - Defining expression of the function (for example an eSQL expression). - - - - Gets the defining expression of this function. - - - - - Gets the element kind of this function, which is always Function. - - - - - Gets the namespace of this function. - - - - - Represents an EDM function import. - - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - - - - Initializes a new instance of class (side-effecting, non-composable, non-bindable). - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - - - - Initializes a new instance of class. - - An containing this function import. - Name of the function import. - Return type of the function import. - An entity set containing entities returned by this function import. - The two expression kinds supported are and . - A value indicating whether this function import has side-effects. - A value indicating whether this functon import can be composed inside expressions. - A value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - Gets a value indicating whether this function import has side-effects. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this functon import can be composed inside expressions. - cannot be set to true if is set to true. - - - - - Gets a value indicating whether this function import can be used as an extension method for the type of the first parameter of this function import. - - - - - Gets the entity set containing entities returned by this function import. - - - - - Gets the kind of this function, which is always FunctionImport. - - - - - Gets the container of this function. - - - - - Represents an EDM function parameter. - - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - - - - Initializes a new instance of the class. - - Declaring function of the parameter. - Name of the parameter. - Type of the parameter. - Mode of the parameter. - - - - Gets the type of this parameter. - - - - - Gets the function or function import that declared this parameter. - - - - - Gets the mode of this parameter. - - - - - Represents an EDM model. - - - - - Initializes a new instance of the class. - - - - - Adds a model reference to this model. - - The model to reference. - - - - Adds a schema element to this model. - - Element to be added. - - - - Adds a collection of schema elements to this model. - - Elements to be added. - - - - Adds a vocabulary annotation to this model. - - The annotation to be added. - - - - Searches for vocabulary annotations specified by this model. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types from this model that derive directly from the given type. - - - - Gets the collection of schema elements that are contained in this model. - - - - - Gets the collection of vocabulary annotations that are contained in this model. - - - - - Represents an EDM navigation property. - - - - - Represents an EDM property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - Type of the property. - - - - Gets the type of this property. - - - - - Gets the type that this property belongs to. - - - - - Gets the kind of this property. - - - - - Creates two navigation properties representing an association between two entity types. - - Information to create the navigation property. - Information to create the partner navigation property. - Created navigation property. - - - - Creates two navigation properties representing an association between two entity types. - - Navigation property name. - Type of the navigation property. - Dependent properties of the navigation source. - A value indicating whether the navigation source logically contains the navigation target. - Action to take upon deletion of an instance of the navigation source. - Navigation partner property name. - Type of the navigation partner property. - Dependent properties of the navigation target. - A value indicating whether the navigation target logically contains the navigation source. - Action to take upon deletion of an instance of the navigation target. - Navigation property. - - - - Gets the kind of this property. - - - - - Gets a value indicating whether the navigation target is contained inside the navigation source. - - - - - Gets the dependent properties of the association this navigation property expresses. - - - - - Gets a value indicating whether this navigation property is from the principal end of the association. - - - - - Gets the entity type that this navigation property belongs to. - - - - - Gets the action to take when an instance of the declaring type is deleted. - - - - - Gets the partner of this navigation property. - - - - - Represents an EDM integer constant. - - - - - Initializes a new instance of the class. - - Integer value represented by this value. - - - - Initializes a new instance of the class. - - Type of the integer. - Integer value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents a value of an EDM property. - - - - - Initializes a new instance of the class with non-initialized property. - This constructor allows setting property once after has been constructed. - - Name of the property for which this provides a value. - - - - Initializes a new instance of the class. - This constructor will not allow changing property after the EdmPropertyValue instance has been constructed. - - Name of the property for which this provides a value. - Value of the property. - - - - Gets the name of the property for which this provides a value. - - - - - Gets or sets the value of the property. - The value can be initialized only once either using the constructor or by assigning value directly to this property. - - - - - Represents an EDM structural (i.e. non-navigation) property. - - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - - - - Initializes a new instance of the class. - - The type that declares this property. - Name of the property. - The type of the property. - The default value of this property. - The concurrency mode of this property. - - - - Gets the default value of this property. - - - - - Gets the concurrency mode of this property. - - - - - Gets the kind of this property. - - - - - Represents a definition of an EDM row type. - - - - - Initializes a new instance of the class. - - - - - Gets the kind of this type. - - - - - Represents an EDM string constant. - - - - - Initializes a new instance of the class. - - String value represented by this value. - - - - Initializes a new instance of the class. - - Type of the string. - String value represented by this value. - - - - Gets the definition of this value. - - - - - Gets the kind of this expression. - - - - - Gets the kind of this value. - - - - - Represents an EDM structured value. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Child values of this value. - - - - Retrieves the value corresponding to the given property name. Returns null if no such value exists. - - The property that describes the value being found. - The requested value, or null if no such value exists. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Represents an EDM annotation with an immediate native value. - - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - Value of the annotation - - - - Initializes a new instance of the class. - - Namespace URI of the annotation. - Name of the annotation within the namespace. - - - - The namespace Uri of the annotation. - - - - - Gets the value of this annotation. - - - - - Represents information about an EDM type definition that failed to resolve. - - - - - Represents a reference to an EDM entity reference type. - - - - - Initializes a new instance of the class. - - The definition referred to by this reference. - Denotes whether the type can be nullable. - - - - Gets the entity reference definition to which this type refers. - - - - - Contains constant values that apply to the EDM model, regardless of source (for CSDL/EDMX specific constants see ). - - - - - The URI of annotations that will be serialized as documentation elements. - - - - - The local name of annotations that will be serialized as documentation elements. - - - - - The URI of annotations that are internal and will not be serialized. - - - - - The local name of the annotation that stores the data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores the max data services version attribute for EDMX serialization. - - - - - The local name of the annotation that stores EDM version of a model. - - - - - Version 1.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2006/04/edm". - - - - - Version 1.1 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2007/05/edm". - - - - - Version 1.2 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2008/01/edm". - - - - - Version 2.0 of EDM. Corresponds to CSDL namespaces "http://schemas.microsoft.com/ado/2008/09/edm" and "http://schemas.microsoft.com/ado/2009/08/edm". - - - - - Version 3.0 of EDM. Corresponds to CSDL namespace "http://schemas.microsoft.com/ado/2009/11/edm". - - - - - The current latest version of EDM. - - - - - This is a marker interface for core model elements that do not require validation. - - - - - Provides predefined declarations relevant to EDM semantics. - - - - - The default core EDM model. - - - - - Gets a reference to a non-atomic collection type definition. - - Type of elements in the collection. - A new non-atomic collection type reference. - - - - Searches for a type with the given name in this model and returns null if no such type exists. - - The qualified name of the type being found. - The requested type, or null if no such type exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Searches for functions with the given name in this model and returns an empty enumerable if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for an entity container with the given name in this model and returns null if no such entity container exists. - - The name of the entity container being found. - The requested entity container, or null if no such entity container exists. - - - - Gets primitive type by kind. - - Kind of the primitive type. - Primitive type definition. - - - - Gets the EdmPrimitiveTypeKind by the type name. - - Name of the type to look up. - EdmPrimitiveTypeKind of the type. - - - - Gets a reference to a primitive type of the specified kind. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int16 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int32 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Int64 primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Boolean primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Byte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the SByte primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to the Guid primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new primitive type reference. - - - - Gets a reference to a datetime primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime type reference. - - - - Gets a reference to a datetime with offset primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new datetime with offset type reference. - - - - Gets a reference to a time primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new time type reference. - - - - Gets a reference to a decimal primitive type definition. - - Precision of values of this type. - Scale of values of this type. - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a decimal primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a single primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a double primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new decimal type reference. - - - - Gets a reference to a stream primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new stream type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Precision of values of this type. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a temporal primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new temporal type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if max length is unbounded. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a binary primitive type definition. - - Flag specifying if the referenced type should be nullable. - A new binary type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Spatial Reference Identifier for the spatial type being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a spatial primitive type definition. - - Primitive kind of the type reference being created. - Flag specifying if the referenced type should be nullable. - A new spatial type reference. - - - - Gets a reference to a string primitive type definition. - - Flag specifying if max length is the maximum allowable value. - Maximum length of the type. - Flag specifying if the type will have a fixed length. - Flag specifying if the type should support unicode encoding. - String representing how data should be ordered. - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Gets a reference to a binary string type definition. - - Flag specifying if the referenced type should be nullable. - A new string type reference. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Finds a list of types that derive from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive from the type. - - - - Gets the namespace of this core model. - - - - - Gets the types defined in this core model. - - - - - Gets the vocabulary annotations defined in this model. - - - - - Gets the collection of models referred to by this model. - - - - - Gets the model's annotations manager. - - - - - Gets the kind of this type. - - - - - Represents a reference to an EDM row type. - - - - - Initializes a new instance of the class. - - Type that describes this value. - Denotes whether the type can be nullable. - - - - Provides semantics of the predefined EDM types. - - - - - Returns true if this reference refers to a collection. - - Type reference. - This reference refers to a collection. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to an entity type. - - Type reference. - This reference refers to an entity type. - - - - Returns true if this reference refers to a complex type. - - Type reference. - This reference refers to a complex type. - - - - Returns true if this reference refers to an enumeration type. - - Type reference. - This reference refers to an enumeration type. - - - - Returns true if this reference refers to a row type. - - Type reference. - This reference refers to a row type. - - - - Returns true if this reference refers to a structured type. - - Type reference. - This reference refers to a structured type. - - - - Returns true if this type kind represents a structured type. - - Reference to the calling object. - This kind refers to a structured type. - - - - Returns true if this reference refers to a primitive type. - - Type reference. - This reference refers to a primitive type. - - - - Returns true if this reference refers to a binary type. - - Type reference. - This reference refers to a binary type. - - - - Returns true if this reference refers to a boolean type. - - Type reference. - This reference refers to a boolean type. - - - - Returns true if this reference refers to a temporal type. - - Type reference. - This reference refers to a temporal type. - - - - Returns true if this type kind represents a temporal type. - - Reference to the calling object. - This kind refers to a temporal type. - - - - Returns true if this reference refers to a DateTime type. - - Type reference. - This reference refers to a DateTime type. - - - - Returns true if this reference refers to a time type. - - Type reference. - This reference refers to a time type. - - - - Returns true if this reference refers to a DateTimeOffset type. - - Type reference. - This reference refers to a DateTimeOffset type. - - - - Returns true if this reference refers to a decimal type. - - Type reference. - This reference refers to a decimal type. - - - - Returns true if this reference refers to a floating point type. - - Type reference. - This reference refers to a floating point type. - - - - Returns true if this reference refers to a single type. - - Type reference. - This reference refers to a single type. - - - - Returns true if this reference refers to a double type. - - Type reference. - This reference refers to a double type. - - - - Returns true if this reference refers to a GUID type. - - Type reference. - This reference refers to a GUID type. - - - - Returns true if this reference refers to a signed integral type. - - Type reference. - This reference refers to a signed integral type. - - - - Returns true if this reference refers to an SByte type. - - Type reference. - This reference refers to an SByte type. - - - - Returns true if this reference refers to an Int16 type. - - Type reference. - This reference refers to an Int16 type. - - - - Returns true if this reference refers to an Int32 type. - - Type reference. - This reference refers to an Int32 type. - - - - Returns true if this reference refers to an Int64 type. - - Type reference. - This reference refers to an Int64 type. - - - - Returns true if this reference refers to an integer type. - - Type reference. - This reference refers to an integer type. - - - - Returns true if this primitive type kind represents an integer type. - - Type reference. - This kind refers to an integer type. - - - - Returns true if this reference refers to a byte type. - - Type reference. - This reference refers to a byte type. - - - - Returns true if this reference refers to a string type. - - Type reference. - This reference refers to a string type. - - - - Returns true if this reference refers to a stream type. - - Type reference. - This reference refers to a stream type. - - - - Returns true if this reference refers to a spatial type. - - Type reference. - This reference refers to a spatial type. - - - - Returns true if this definition refers to a spatial type. - - Type reference. - This definition refers to a spatial type. - - - - Returns true if this type kind represents a spatial type. - - Type reference. - This kind refers to a spatial type. - - - - If this reference is of a primitive type, this will return a valid primitive type reference to the type definition. Otherwise, it will return a bad primitive type reference. - - Reference to the calling object. - A valid primitive type reference if the definition of the reference is of a primitive type. Otherwise a bad primitive type reference. - - - - If this reference is of a collection type, this will return a valid collection type reference to the type definition. Otherwise, it will return a bad collection type reference. - - Reference to the calling object. - A valid collection type reference if the definition of the reference is of a collection type. Otherwise a bad collection type reference. - - - - If this reference is of a structured type, this will return a valid structured type reference to the type definition. Otherwise, it will return a bad structured type reference. - - Reference to the calling object. - A valid structured type reference if the definition of the reference is of a structured type. Otherwise a bad structured type reference. - - - - If this reference is of an enumeration type, this will return a valid enumeration type reference to the type definition. Otherwise, it will return a bad enumeration type reference. - - Reference to the calling object. - A valid enumeration type reference if the definition of the reference is of an enumeration type. Otherwise a bad enumeration type reference. - - - - If this reference is of an entity type, this will return a valid entity type reference to the type definition. Otherwise, it will return a bad entity type reference. - - Reference to the calling object. - A valid entity type reference if the definition of the reference is of an entity type. Otherwise a bad entity type reference. - - - - If this reference is of an entity reference type, this will return a valid entity reference type reference to the type definition. Otherwise, it will return a bad entity reference type reference. - - Reference to the calling object. - A valid entity reference type reference if the definition of the reference is of an entity reference type. Otherwise a bad entity reference type reference. - - - - If this reference is of a complex type, this will return a valid complex type reference to the type definition. Otherwise, it will return a bad complex type reference. - - Reference to the calling object. - A valid complex type reference if the definition of the reference is of a complex type. Otherwise a bad complex type reference. - - - - If this reference is of a row type, this will return a valid row type reference to the type definition. Otherwise, it will return a bad row type reference. - - Reference to the calling object. - A valid row type reference if the definition of the reference is of a row type. Otherwise a bad row type reference. - - - - If this reference is of a spatial type, this will return a valid spatial type reference to the type definition. Otherwise, it will return a bad spatial type reference. - - Reference to the calling object. - A valid spatial type reference if the definition of the reference is of a spatial type. Otherwise a bad spatial type reference. - - - - If this reference is of a temporal type, this will return a valid temporal type reference to the type definition. Otherwise, it will return a bad temporal type reference. - - Reference to the calling object. - A valid temporal type reference if the definition of the reference is of a temporal type. Otherwise a bad temporal type reference. - - - - If this reference is of a decimal type, this will return a valid decimal type reference to the type definition. Otherwise, it will return a bad decimal type reference. - - Reference to the calling object. - A valid decimal type reference if the definition of the reference is of a decimal type. Otherwise a bad decimal type reference. - - - - If this reference is of a string type, this will return a valid string type reference to the type definition. Otherwise, it will return a bad string type reference. - - Reference to the calling object. - A valid string type reference if the definition of the reference is of a string type. Otherwise a bad string type reference. - - - - If this reference is of a binary type, this will return a valid binary type reference to the type definition. Otherwise, it will return a bad binary type reference. - - Reference to the calling object. - A valid binary type reference if the definition of the reference is of a binary type. Otherwise a bad binary type reference. - - - - Returns the primitive kind of the definition of this reference. - - Reference to the calling object. - The primitive kind of the definition of this reference. - - - - Returns a reference to this row type definition. - - Reference to the calling object. - Flag specifying if the referenced type should be nullable. - A reference to this row type definition. - - - - Determines if the potential base type is in the inheritance hierarchy of the type being tested. - - Type to be tested for derivation from the other type. - The potential base type of the type being tested. - True if and only if the type inherits from the potential base type. - - - - Determines if a type is equivalent to or derived from another type. - - Type to be tested for equivalence to or derivation from the other type. - Type that is the other type. - True if and only if the thisType is equivalent to or inherits from otherType. - - - - Represents a reportable error in EDM - - - - - Initializes a new instance of the EdmError class. - - The location where the error occurred. - An integer code representing the error. - A human readable message describing the error. - - - - Gets a string representation of the error. - - A string representation of the error. - - - - Gets the location of the error in the file in which it occurred. - - - - - Gets an integer code representing the error. - - - - - Gets a human readable string describing the error. - - - - - Collection of validation methods. - - - - - Validate the and all of its properties using the current version of the model. - If the model has no version, is used. - - The root of the model to be validated. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Version of Edm to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - Validate the and all of its properties given certain version. - - The root of the model to be validated. - Custom rule set to validate against. - Errors encountered while validating the model. - True if model is valid, otherwise false. - - - - This is cache of object type to interface visitors which is NOT shared between instances of the validator. - - - - - Context that records errors reported by validation rules. - - - - - Method returns true if the is known to have structural errors associated with it. - - The element to test. - True if the has structural errors associated with it. - - - - Register an error with the validation context. - - Location of the error. - Value representing the error. - Message text discribing the error. - - - - Register an error with the validation context. - - Error to register. - - - - Gets the model being validated. - - - - - Contains IsBad() and Errors() extension methods. - - - - - Returns true if this element contains errors returned by the method. - - Reference to the calling object. - This element is an invalid element. - - - - Gets the errors, if any, that belong to this element or elements that this element contains. For example errors for a structural type include the errors of the type itself and errors of its declared properties. - The method does not analyze elements referenced by this element. For example errors of a property do not include errors from its type. - - Reference to the calling object. - Any errors that belong to this element or elements that element contains. - - - - Gets the errors, if any, that belong to this type reference or its definition. - - The type reference. - Any errors that belong to this type reference or its definition. - - - - Built in Edm validation rules. - - - - - Validates that no direct value annotations share the same name and namespace. - - - - - Validates that a name is not empty or whitespace. - - - - - Validates that an element name is not too long according to the CSDL spec. - - - - - Validates that an element name matches the allowed pattern of names according to the CSDL spec. - - - - - Validates that an element namespace is not empty or whitespace. - - - - - Validates that an element namespace is not too long according to the CSDL spec. - - - - - Validates that an element namespace matches the allowed pattern of namespaces according to the CSDL spec. - - - - - Validates that an element namespace is not a reserved system namespace. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - Validates that there are no duplicate names in an entity container. - - - - - Validates that there is no entity set whose entity type has no key. - - - - - Validates that the entity type of an entity set can be found from the model being validated. - - - - - Validates that an entity set can only have a single navigation property targetting it that has Contains set to true. - - - - - Validates that if a navigation property is traversed to another entity set, and then the navigation properties partner is traversed, the destination will be the source entity set. - - - - - Validates an association set's name is correct - - - - - Validates that no navigation property is mapped to two different entity sets. - - - - - Validates that if a navigation property mapping is of recursive containment, the mapping points back to the source entity set. - - - - - Validates that the target of a navigation property mapping is valid for the target type of the property. - - - - - Validates that a type does not have a property with the same name as that type. - - - - - Validates that there are not duplicate properties in a type. - - - - - Validates that the base type of a complex type is complex, and the base type of an entity type is an entity. - - - - - Validates that the base type of a structured type can be found from the model being validated. - - - - - Validates that the declaring type of a property contains that property. - - - - - Open types are supported only in version 1.2 and after version 2.0. - - - - - Open types are supported only on entity types. - - - - - Raises an error if an enum type is found. - - - - - Validates that there are not duplicate enum members in an enum. - - - - - Raises an error if the underlying type of an enum type is not an integer type. - - - - - Raises an error if the type of an enum member doesn't match the underlying type of the enum it belongs to. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that no part of an entity key is nullable. - - - - - Validates that all parts of an entity key are scalar. - - - - - Validates that no part of an entity key is a binary primitive type. - - - - - Validates that a key is not defined if there is already a key in the base type. - - - - - Validates that the entity type has a key. - - - - - Validates that all properties in the key of an entity blong to that entity. - - - - - Validates that the entity type wrapped in this entity reference can be found through the model being validated. - - - - - A type without other errors must not have kind of none. - - - - - A primtive type without other errors must not have kind of none. - - - - - Validates that a complex type is not abstract. - - - - - Validates that a complex type does not inherit. - - - - - Validates that a complex type contains at least one property. - - - - - Validates that a row type does not have a base type. - - - - - Validates that a row type contains at least one property. - - - - - Validates that any property with a complex type is not nullable. - - - - - Validates that the property is of an allowed type. - - - - - Validates that if the concurrency mode of a property is fixed, the type is primitive. - - - - - Validates that only one end of an association has an OnDelete operation. - - - - - Validates that the type of a navigation property corresponds to the other end of the association and the multiplicity of the other end. - - - - - Validates that the dependent properties of a navigation property contain no duplicates. - - - - - Validates multiplicity of the principal end: - 0..1 - if some dependent properties are nullable, - 1 - if some dependent properties are not nullable. - * - not allowed. - - - - - Validates that if the dependent properties are equivalent to the key of the dependent end, the multiplicity of the dependent end cannot be 1 - Validates multiplicity of the dependent end according to the following rules: - 0..1, 1 - if dependent properties represent the dependent end key. - * - if dependent properties don't represent the dependent end key. - - - - - Validates that all dependent properties of a navigation property belong to the dependent entity type. - - - - - Validates that all dependent properties are a subset of the dependent entity types key. - - - - - Validates that the navigation property does not have both a multiplicity of many and an OnDelete operation. - - - - - Validates that is not set prior to V3. - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the target of navigation is 0..1 or Many. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - This depends on there being a targetting cycle. Because of the rule , we know that either this is always true, or there will be an error - - - - - Validates that if a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Validates that if an entity does not directly contain itself, it cannot contain itself through a containment loop. - - - - - Validates that each pair of properties between the dependent properties and the principal ends key are of the same type. - - - - - Validates that an association name is valid. - - - - - Validates that an association end name is valid. - - - - - A property without other errors must not have kind of none. - - - - - Raises an error if a function is found. - - - - - Validates that no function parameters are output parameters. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that a function import has an allowed return type. - - - - - Validates that if a function import specifies an entity or collection of entities as its return type, it must also specify an entity set. - - - - - Validates that the entity set of a function import is defined using a path or an entity set reference expression. - - - - - Validates that the return type of a function import must match the type of the entity set of the function. - - - - - Validates that if a function import is composable, it must have a return type. - - - - - Validates that the type of a function imports parameter is correct. - - - - - Validates that a function import is not sideeffecting. - - - - - Validates that a function import is not composable. - - - - - Validates that a function is not bindable. - - - - - Validates that if a function is composable, it is not also sideeffecting. - - - - - Validates that if a function is bindable, it must have parameters. - - - - - Validates that no function import parameters have mode of none. - - - - - Validates that a function does not have multiple parameters with the same name. - - - - - Validates that a type reference refers to a type that can be found through the model being validated. - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - Validates that the scale is between 0 and the precision of the decimal type. - - - - - Validates that the precision is between 0 and the max precision of the decimal type. - - - - - Validates that the max length of a string is not negative. - - - - - Validates that IsUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the max length of a binary type is not negative. - - - - - Validates that isUnbounded cannot be true if MaxLength is non-null. - - - - - Validates that the precision is between 0 and the max precision of the temporal type. - - - - - Validates every schema element in the current model (except for entity containers) is unique across all referenced models. - - - - - Validates every schema element in the current model is unique across all referenced models. - - - - - Validates that there are not duplicate properties in an entity key. - - - - - Validates that an immediate value annotation has a name and a namespace. - - - - - Validates that an immediate value annotation that is flagged to be serialized as an element can be serialized safely. - - - - - Validates that the name of a direct value annotation can safely be serialized as XML. - - - - - Vocabulary annotations are not supported before EDM 3.0. - - - - - Validates that a vocabulary annotations target can be found through the model containing the annotation. - - - - - Validates that if a value annotation declares a type, the expression for that annotation has the correct type. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a vocabulary annotations term can be found through the model containing the annotation. - - - - - Validates that a type annotation implements its term type properly. - - - - - Validates that the value of a property value binding is the correct type. - - - - - Value terms are not supported before EDM 3.0. - - - - - A term without other errors must not have kind of none. - - - - - Validates that an if expression has a boolean condition. - - - - - Validates that all properties of a collection expression are of the correct type. - - - - - Validates that if a value record expression declares a type, the property types are correct. - - - - - Validates the types of a function application are correct. - - - - - Validates that there are no annotations that share the same term and qualifier. - - - - - Validates that if a primitive value declares a type, the value is acceptable for the type. - - - - - A semantic validation rule. - - - - - A validation rule that is valid for a specific type. - - Type that the rule is valid for. - - - - Initializes a new instance of the ValidationRule class. - - Action to perform the validation. - - - - A set of rules to run during validation. - - - - - Initializes a new instance of the ValidationRuleSet class. - - Ruleset whose rules should be contained in this set. - Additional rules to add to the set. - - - - Initializes a new instance of the ValidationRuleSet class. - - Rules to be contained in this ruleset. - - - - Gets the default validation ruleset for the given version. - - The EDM version being validated. - The set of rules to validate that the model conforms to the given version. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - Gets all of the rules in this ruleset. - - All of the rules in this ruleset. - - - - EdmLib validation error codes - - - - - Invalid error code - - - - - References to EDM stream type are not supported before version 3.0. - - - - - References to EDM spatial types are not supported before version 3.0. - - - - - An exception was thrown by the underlying xml reader. - - - - - Encountered an XML node that was never used - - - - - Encountered an XML attribute that was never used - - - - - Encountered an XML element that was never used - - - - - Text was found in a location it was not allowed in - - - - - An empty file was provided to the parser - - - - - An XML element was missing a required attribute - - - - - Invalid Name - - - - - An XML attribute or element representing EDM type is missing. - - - - - Element name is already defined in this context. - - - - - The specified version number is not valid. - - - - - Malformed boolean value. - - - - - The property contains an error. - - - - - The type of this property is invalid for the given context. - - - - - Precision out of range - - - - - Scale out of range - - - - - Name is too long. - - - - - The provided association is invalid - - - - - Navigation property contains errors. - - - - - Entity key is invalid. - - - - - The value of the property must not be null. - - - - - An object with an interface kind property does not implement the interface corresponding to the value of that property. - For example this error will be reported for an object that implements interface with kind property reporting .Entity, - but does not implement interface. - - - - - The value of an interface kind property is not semantically valid. A semantically valid model must not contain elements of kind 'None'. - - - - - An enumeration property must not contain null elements. - - - - - The value of the enum type property is out of range. - - - - - If property P1 is a navigation property and P2 is its parnter, then partner property of P2 must be P1. - - - - - A chain of base types is cyclic. - - - - - Multiplicity value was malformed - - - - - The value for the Action attribute is invalid or not allowed in the current context - - - - - An error occured processing the OnDelete element - - - - - No complex type with that name exists. - - - - - The extent name used in the EntittyContainerType End does not match the name of any of the EntityContainerProperties in the containing EntityContainer - - - - - Function import specifies an entity set expression which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties. - - - - - The target entity set must be able to hold an entity that is valid for the navigation property of a mapping. - - - - - Invalid role value in the relationship constraint - - - - - Invalid Property in relationship constraint - - - - - Type mismatch between ToProperty and FromProperty in the relationship constraint - - - - - Invalid multiplicty of the principal end of a navigation. - - - - - The number of properties in the FromProperty and ToProperty in the relationship constraint must be identical - - - - - Invalid multiplicty of the dependent end of a navigation. - - - - - Open types are supported only in version 1.2 and after version 2.0. Only entity types can be open. - - - - - Vocabulary annotations are not supported before EDM 3.0 - - - - - Same role referred in the ToRole and FromRole of a referential constraint - - - - - Properties that are part of entity key must be of scalar type - - - - - Binary type properties which are part of entity key are currently supported before V2.0 - - - - - End with * multiplicity cannot have operations specified - - - - - EntitySet type has no keys - - - - - ConcurrencyMode value was malformed - - - - - Conurency can't change for any sub types of an EntitySet type. - - - - - In version 1.0 function import can have no return type or return a collection of scalars or a collection of entities. - In all other versions function import can have no return type or return a scalar, a complex type, an entity type or a collection of those. - - - - - Composable function import cannot be side-effecting. - - - - - Function import specifies entity type return but no entity set. - - - - - Function import specifies entity type that does not derive from element type of entity set. - - - - - Function import specifies a binding to an entity set but does not return entities. - - - - - A composable function import must have return type. - - - - - Same Entity Set Taking part in the same role of the relationship set in two different relationship sets - - - - - Entity key refers to the same property twice - - - - - Nullable complex Type not supported in version 1.0 and 2.0. - - - - - No Key defined on Entity Type - - - - - Need not specify system namespace in using - - - - - Invalid qualification specified for type - - - - - The value for an enumeration type member is ouf of range. - - - - - The entity container name has already been assigned to a different entity container. - - - - - Complex types were not allowed to be abstract here. - - - - - Complex types cannot have base types in this version. - - - - - A navigation property without direct containment cannot contain its declaring entity indirectly. - - - - - If a navigation property mapping is of a recursive navigation property, the mapping must point back to the same entity set. - - - - - Name collision makes this name ambiguous. - - - - - Could not find a type with this name. - - - - - Could not find a primitive type with this name. - - - - - This complex type is part of a cycle. - - - - - This Entity Container is bad because some part of its extends hierarchy is part of a cycle. - - - - - This entity type is part of a cycle. - - - - - Could not convert type reference to the requested type. - - - - - This entity set became invalid because the entity that it was of the type of was removed from the model. - - - - - Could not find an EntityContainer with that name. - - - - - Could not find an EntitySet with that name. - - - - - Could not find a property with that name - - - - - Could not find an association end with that name - - - - - Type of the navigation property was invalid because the association of the navigation property was invalid. - - - - - The base type of an entity must also be an entity. - - - - - The base type of a complex type must also be complex. - - - - - Could not find a function with this name. - - - - - Rows cannot have base types. - - - - - The role of an association set end must be an association end belonging to the association type that defines the associaiton set. - - - - - Every property in an entity key must be a property of the entity. - - - - - The principal end of a referential constraint must be one of the ends of the association that defined the referential constraint. - - - - - Dependent properties of a referential constraint must belong to the dependent entity set. - - - - - If a structured type declares a property, that properties declaring type must be the declaring structured type. - - - - - Functions are not supported before version 2.0. - - - - - Value terms are not supported before EDM 3.0 - - - - - Navigation property has a type that is not an entity or collection of entities. - - - - - Underlying type of the enumeration type is bad because the enumeration type is bad. - - - - - The type of the entity set on this association end is inconsistent with the association end. - - - - - Only function parameters with mode of In are allowed in function imports. - - - - - Complex types must contain at least one property. - - - - - Unsupported function import parameter type. - - - - - A row type must contain at least one property. - - - - - A referential constraint cannot have multiple dependent properties with the same name. - - - - - Bindable function import must have at least one parameter. - - - - - Function imports with side-effecting setting are not supported before version 3.0. - - - - - Function imports with composable setting are not supported before version 3.0. - - - - - Function imports with bindable setting are not supported before version 3.0. - - - - - Max length is out of range. - - - - - Binding context for Path expression does not supply an entity type - - - - - Invalid value for SRID - - - - - Invalid value for max length - - - - - Invalid value for long - - - - - Invalid value for integer - - - - - Invalid association set - - - - - Invalid parameter mode - - - - - No entity type with that name exists. - - - - - Value is invalid - - - - - Binary value is invalid. - - - - - Floating point value is invalid. - - - - - DateTime value is invalid. - - - - - DateTimeOffset value is invalid. - - - - - Decimal value is invalid. - - - - - Guid value is invalid. - - - - - The type kind None is not semantically valid. A semantically valid model must not contain elements of type kind None. - - - - - The if expression is invalid because it does not have 3 elements. - - - - - Enums were present in a model with a version below 3.0 - - - - - The type of an enum member value must match the underlying of the parent enum. - - - - - The IsType expression is invalid because it does not have 1 element. - - - - - The type name is not fully qualified and not a primitive. - - - - - The term name is not fully qualified. - - - - - No model was parsed because no XmlReaders were provided. - - - - - Model could not be parsed because one of the XmlReaders was null. - - - - - IsUnbounded cannot be true if MaxLength is non-null. - - - - - ImmediateValueAnnotation is invalid as an element annotation. - - - - - The LabeledElement expression is invalid because it does not have 1 element. - - - - - Could not find a LabeledElement with that name - - - - - Could not find a enum member with that name - - - - - The AssertType expression is invalid because it does not have 1 element. - - - - - Could not find a Parameter with that name - - - - - A navigation property with = true must point to an optional target. - - - - - If a navigation property has = true and the target entity type is the same as - the declaring type of the property, then the multiplicity of the source of navigation is Zero-Or-One. - - - - - If a navigation property has = true and the target entity type is defferent than - the declaring type of the property, then the multiplicity of the source of navigation is One. - - - - - Navigation properties with setting are not supported before version 3.0. - - - - - The annotation target path cannot possibly refer to an annotable element. - - - - - A nullable type is not valid if a non-nullable type is required. - - - - - The expression is a primitive constant, and cannot be valid for an non-primitive type. - - - - - The primitive type is not valid for the requested type. - - - - - Null is not valid in a non nullable expression. - - - - - The expression is not valid for the asserted type. - - - - - A collection expression is not valid for a non-collection type. - - - - - A record expression is not valid for a non-structured type. - - - - - The record expression does not have all of the properties required for the specified type. - - - - - The record expression's type is not open, but the record expression has extra properties. - - - - - Target has multiple annotations with the same term and same qualifier. - - - - - Function application has wrong number of arguments for the function being applied. - - - - - Is it invalid to have multiple using statements with the same alias in a single schema element. - - - - - A model cannot be serialized to CSDL if it has references to types without fully qualified names. - - - - - The model could not be serialized because multiple schemas were produced and only a single output stream was found. - - - - - The Edmx version is not valid. - - - - - The EdmVersion is not valid. - - - - - Nothing was written because no schemas were produced. - - - - - Model has multiple entity containers with the same name. - - - - - The container name of a container element must be the full name of the container entity container. - - - - - A primitive constant expression is not valid for a non-primitive type. - - - - - The value of the integer constant is out of range for the asserted type. - - - - - The length of the string constant is too large for the asserted type. - - - - - The length of the binary constant is too large for the asserted type. - - - - - None is not a valid mode for a function import parameter. - - - - - A type without other errors must not have kind of none. - - - - - A primitive type without other errors must not have kind of none. - - - - - A property without other errors must not have kind of none. - - - - - A term without other errors must not have kind of none. - - - - - A schema element without other errors must not have kind of none. - - - - - An entity container element without other errors must not have kind of none. - - - - - A binary value must have content. - - - - - There can only be a single navigation property mapping with containment that targets a particular entity set. - - - - - The navigation properties partner does not point back to the correct type. - - - - - An entity set can only have one navigation property with containment. - - - - - If a navigation property is traversed from an entity set, and then it's partner is traversed from the target of the first mapping, the destination should be the originating entity set. - - - - - There can only be a single mapping from a given EntitySet with a particular navigation property. - - - - - An entity set must have a mapping for all of the navigation properties in its element type. - - - - - Type annotation does not have a property binding for all required properties. - - - - - Type annotation has a property binding for a non-existant property and its type is not open. - - - - - Time value is invalid. - - - - - The primitive type is invalid. - - - - - An Enum type must have an underlying type of integer. - - - - - Could not find a term with this name. - - - - - The principal properties of a referential constraint must match the key of the referential constraint. - - - - - A direct value annotation with the same name and namespace already exists. - - - - - AssociationSetEnd cannot infer an entity set because no set exists of the given type. - - - - - AssociationSetEnd cannot infer an entity set because more than one set exists of the given type. - - - - - Invalid entity set path. - - - - - Invalid enum member path. - - - - - An annotation qualifier must be a simple name. - - - - - Enum type could not be resolved. - - - - - Could not find a target with this name. - - - - - Path cannot be resolved in the given context. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - Constructs a new sys description. - - - description text. - - - - - Retrieves the description text. - - - description - - - - - AutoGenerated resource class. Usage: - - string s = EntityRes.GetString(EntityRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "Annotations in the 'Documentation' namespace must implement 'IEdmDocumentation', but '{0}' does not." - - - - - A string like "Annotation of type '{0}' cannot be interpreted as '{1}'." - - - - - A string like "Navigation target entity type must be '{0}'." - - - - - A string like "The type '{0}' could not be converted to be a '{1}' type." - - - - - A string like "The value writer cannot write a value of kind '{0}'." - - - - - A string like "Type '{0}' must have a single type annotation with term type '{1}'." - - - - - A string like "Type '{0}' must have a single value annotation with term '{1}'." - - - - - A string like "Element must have a single value annotation with term '{0}'." - - - - - A string like "Expression with kind '{0}' cannot be evaluated." - - - - - A string like "Function '{0}' is not present in the execution environment." - - - - - A string like "Path segment '{0}' has no binding in the execution environment." - - - - - A string like "Value fails to match type '{0}'." - - - - - A string like "The namespace '{0}' is a system namespace and cannot be used by non-system types. Please choose a different namespace." - - - - - A string like "The entity set '{0}' is based on type '{1}' that has no keys defined." - - - - - A string like "An end with the name '{0}' is already defined." - - - - - A string like "The key specified in entity type '{0}' is not valid. Property '{1}' is referenced more than once in the key element." - - - - - A string like "The complex type '{0}' is marked as abstract. Abstract complex types are only supported in version 1.1 EDM models." - - - - - A string like "The complex type '{0}' has a base type specified. Complex type inheritance is only supported in version 1.1 EDM models." - - - - - A string like "The key part '{0}' for type '{1}' is not valid. All parts of the key must be non nullable." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. All properties that are part of the entity key must be of primitive type." - - - - - A string like "The key usage is not valid. '{0}' cannot define keys because one of its base classes '{1}' defines keys." - - - - - A string like "The entity type '{0}' has no key defined. Define the key for this entity type." - - - - - A string like "The navigation property '{0}' is not valid. The role '{1}' is not defined in relationship '{2}'." - - - - - A string like "The navigation property '{0}'is not valid. The from role and to role are the same." - - - - - A string like "The navigation property type could not be determined from the role '{0}'." - - - - - A string like "The navigation property '{0}' cannot have 'OnDelete' specified since its multiplicity is '*'." - - - - - A string like "Each name and plural name in a relationship must be unique. '{0}' is already defined." - - - - - A string like "In relationship '{0}', the principal and dependent role of the referential constraint refers to the same role in the relationship type." - - - - - A string like "The principal navigation property '{0}' has an invalid multiplicity. Valid values for the multiplicity of a principal end are '0..1' or '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are non-nullable, the multiplicity of the principal end must be '1'." - - - - - A string like "The multiplicity of the principal end '{0}' is not valid. Because all dependent properties of the end '{1}' are nullable, the multiplicity of the principal end must be '0..1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties represent the dependent end key, the multiplicity of the dependent end must be '0..1' or '1'." - - - - - A string like "The multiplicity of the dependent end '{0}' is not valid. Because the dependent properties don't represent the dependent end key, the the multiplicity of the dependent end must be '*'." - - - - - A string like "The properties referred by the dependent role '{0}' must be a subset of the key of the entity type '{1}'." - - - - - A string like "The types of all properties in the dependent role of a referential constraint must be the same as the corresponding property types in the principal role. The type of property '{0}' on entity '{1}' does not match the type of property '{2}' on entity '{3}' in the referential constraint '{4}'." - - - - - A string like "There is no property with name '{0}' defined in the type referred to by role '{1}'." - - - - - A string like "The principal end properties in the referential constraint of the association '{0}' do not match the key of the type referred to by role '{1}'." - - - - - A string like "The property '{0}' is of a complex type and is nullable. Nullable complex type properties are not supported in EDM versions 1.0 and 2.0." - - - - - A string like "A property cannot be of type '{0}'. The property type must be a complex, a primitive or an enum type, or a collection of complex, primitive, or enum types." - - - - - A string like "The function import '{0}' cannot be composable and side-effecting at the same time." - - - - - A string like "The bindable function import '{0}' must have at least one parameter." - - - - - A string like "The return type is not valid in function import '{0}'. In version 1.0 a function import can have no return type or return a collection of scalar values or a collection of entities." - - - - - A string like "The return type is not valid in function import '{0}'. The function import can have no return type or return a scalar, a complex type, an entity type or a collection of those." - - - - - A string like "The function import '{0}' returns entities but does not specify an entity set." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot exist in the entity set '{2}' specified for the function import." - - - - - A string like "The function import '{0}' returns entities of type '{1}' that cannot be returned by the entity set path specified for the function import." - - - - - A string like "The function import '{0}' specifies an entity set expression of kind {1} which is not supported in this context. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set expression which is not valid. Function import entity set expression can be either an entity set reference or a path starting with a function import parameter and traversing navigation properties." - - - - - A string like "The function import '{0}' specifies an entity set but does not return entities." - - - - - A string like "The composable function import '{0}' must specify a return type." - - - - - A string like "Each parameter name in a function must be unique. The parameter name '{0}' is already defined." - - - - - A string like "Each member name in an EntityContainer must be unique. A member with name '{0}' is already defined." - - - - - A string like "An element with the name '{0}' is already defined." - - - - - A string like "The member name '{0}' cannot be used in a type with the same name. Member names cannot be the same as their enclosing type." - - - - - A string like "Each property name in a type must be unique. Property name '{0}' is already defined." - - - - - A string like "The key property '{0}' must belong to the entity '{1}'." - - - - - A string like "The dependent property '{0}' must belong to the dependent entity '{1}'." - - - - - A string like "The property '{0}' cannot belong to a type other than its declaring type. " - - - - - A string like "The named type '{0}' could not be found from the model being validated." - - - - - A string like "The named type '{0}' is ambiguous from the model being validated." - - - - - A string like "The type of the navigation property '{0}' is invalid. The navigation target type must be an entity type or a collection of entity type. The navigation target entity type must match the declaring type of the partner property." - - - - - A string like "The target multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and it must have an optional target represented by a collection or a nullable entity type." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is the same or inherits from the target entity type, then the property represents a recursive containment and the multiplicity of the navigation source must be zero or one." - - - - - A string like "The source multiplicity of the navigation property '{0}' is invalid. If a navigation property has 'ContainsTarget' set to true and declaring entity type of the property is not the same as the target entity type, then the property represents a non-recursive containment and the multiplicity of the navigation source must be exactly one." - - - - - A string like "The mode of the parameter '{0}' in the function '{1}' is invalid. Only input parameters are allowed in functions." - - - - - A string like "The mode of the parameter '{0}' in the function import '{1}' is invalid." - - - - - A string like "The type '{0}' of parameter '{1}' is invalid. A function import parameter must be one of the following types: A simple type or complex type." - - - - - A string like "The complex type '{0}' is invalid. A complex type must contain at least one property." - - - - - A string like "The dependent property '{0}' of navigation property '{1}' is a duplicate." - - - - - A string like "A property with a fixed concurrency mode cannot be of type '{0}'. The property type must be a primitive type." - - - - - A string like "The property '{0}' in entity type '{1}' is not valid. Binary types are not allowed in entity keys before version 2.0." - - - - - A string like "The type of the value of enum member '{0}' must match the underlying type of the parent enum." - - - - - A string like "Each member name of an enum type must be unique. Enum member name '{0}' is already defined." - - - - - A string like "Cannot assert the nullable type '{0}' as a non-nullable type." - - - - - A string like "Cannot promote the primitive type '{0}' to the specified primitive type '{1}'." - - - - - A string like "The record expression does not have a constructor for a property named '{0}'." - - - - - A string like "The type of the record expression is not open and does not contain a property named '{0}'." - - - - - A string like "The annotated element '{0}' has multiple annotations with the term '{1}' and the qualifier '{2}'." - - - - - A string like "The function application provides '{0}' arguments, but the function '{1}' expects '{2}' arguments." - - - - - A string like "Each entity container name in a function must be unique. The name '{0}' is already defined." - - - - - A string like "The value of the string constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "The value of the binary constant is '{0}' characters long, but the max length of its type is '{1}'." - - - - - A string like "A term without other errors must not have kind of none. The kind of term '{0}' is none." - - - - - A string like "A schema element without other errors must not have kind of none. The kind of schema element '{0}' is none." - - - - - A string like "A property without other errors must not have kind of none. The kind of property '{0}' is none." - - - - - A string like "A primitive type without other errors must not have kind of none. The kind of primitive type '{0}' is none." - - - - - A string like "An entity container element without other errors must not have kind of none. The kind of entity container element '{0}' is none." - - - - - A string like "The entity set '{0}' should have only a single mapping for the property '{1}'." - - - - - A string like "The mapping of the entity set '{0}' and navigation property '{1}' is invalid because the navigation property mapping must have a mapping with the navigation property's partner that points back to the originating entity set. " - - - - - A string like "The entity set '{0}' is invalid because it is contained by more than one navigation property." - - - - - A string like "The type annotation is missing a binding for the property '{0}'." - - - - - A string like "They type of the type annotation is not open, and does not contain a property named '{0}'." - - - - - A string like "The underlying type of '{0}' is not valid. The underlying type of an enum type must be an integral type. " - - - - - A string like "The term '{0}' could not be found from the model being validated." - - - - - A string like "The target '{0}' could not be found from the model being validated." - - - - - A string like "An element already has a direct value annotation with the namespace '{0}' and name '{1}'." - - - - - A string like "The association set '{0}' cannot assume an entity set for the role '{2}' because there are no entity sets for the role type '{1}'." - - - - - A string like "The association set '{0}' must specify an entity set for the role '{2}' because there are multiple entity sets for the role type '{1}'." - - - - - A string like "Because the navigation property '{0}' is recursive, the mapping from the entity set '{1}' must point back to itself." - - - - - A string like "The navigation property '{0}' is invalid because it indirectly contains itself." - - - - - A string like "The path cannot be resolved in the given context. The segment '{0}' failed to resolve." - - - - - A string like "The entity set '{1}' is not a valid destination for the navigation property '{0}' because it cannot hold an element of the target entity type." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified name is not allowed: '{0}'." - - - - - A string like "The specified name must not be longer than 480 characters: '{0}'." - - - - - A string like "The specified namespace name is not allowed: '{0}'." - - - - - A string like "The value of the property '{0}.{1}' must not be null." - - - - - A string like "The property '{0}.{1}' of type '{2}' has value '{3}' that is not a valid enum member." - - - - - A string like "An object with the value '{0}' of the '{1}.{2}' property must implement '{3}' interface." - - - - - A string like "An object implementing '{0}' interface has type definition of kind '{1}'. The type reference interface must match to the kind of the definition." - - - - - A string like "The value '{0}' of the property '{1}.{2}' is not semantically valid. A semantically valid model must not contain elements of kind '{0}'." - - - - - A string like "The value of the enumeration the property '{0}.{1}' contains a null element. Enumeration properties must not contain null elements." - - - - - A string like "The partner of the navigation property '{0}' must not be the same property, and must point back to the navigation property." - - - - - A string like "The chain of base types of type '{0}' is cyclic." - - - - - A string like "The function import '{0}' could not be serialized because its return type cannot be represented inline." - - - - - A string like "A referenced type can not be serialized with an invalid name. The name '{0}' is invalid." - - - - - A string like "The annotation can not be serialized with an invalid target name. The name '{0}' is invalid." - - - - - A string like "{0} does not contain a schema definition, or the XmlReader provided started at the end of the file." - - - - - A string like "Required schema attribute '{0}' is not present on element '{1}'." - - - - - A string like "The current schema element does not support text '{0}'." - - - - - A string like "The attribute '{0}' was not expected in the given context." - - - - - A string like "The schema element '{0}' was not expected in the given context." - - - - - A string like "Unused schema element: '{0}'." - - - - - A string like "Unexpected XML node type: {0}." - - - - - A string like "The element '{0}' was unexpected for the root element. The root element should be {1}." - - - - - A string like "The namespace '{0}' is invalid. The root element is expected to belong to one of the following namespaces: '{1}'." - - - - - A string like "The root element has no namespace. The root element is expected to belong to one of the following namespaces: '{0}'." - - - - - A string like "The alias '{0}' is not a valid simple name." - - - - - A string like "The delete action '{0}' is not valid. Action must be: 'None', 'Cascade', or 'Restrict'." - - - - - A string like "The association '{0}' is not valid. Associations must contain exactly two end elements." - - - - - A string like "The association set '{0}' is not valid. Association sets must contain at most two end elements." - - - - - A string like "The concurrency mode '{0}' is not valid. Concurrency mode must be: 'None', or 'Fixed'." - - - - - A string like "Parameter mode '{0}' is not valid. Parameter mode must be: 'In', 'Out', or 'InOut'." - - - - - A string like "There is no Role with name '{0}' defined in relationship '{1}'." - - - - - A string like "The multiplicity '{0}' is not valid. Multiplicity must be: '*', '0..1', or '1'." - - - - - A string like "The type name '{0}' is invalid. The type name must be that of a primitive type, a fully qualified name or an inline 'Collection' or 'Ref' type." - - - - - A string like "The qualified name '{0}' is invalid. A qualified name must have a valid namespace or alias, and a valid name." - - - - - A string like "'{0}' is not a valid entity set path." - - - - - A string like "'{0}' is not a valid enum member path." - - - - - A string like "The annotation target '{0}' could not be resolved because it cannot refer to an annotatable element." - - - - - A string like "The schema '{0}' contains the alias '{1}' more than once." - - - - - A string like "Unexpected {0} element while parsing Edmx. Edmx is expected to have at most one of 'Runtime' or 'DataServices' elements." - - - - - A string like "Encountered the following errors when parsing the EDMX document: \r\n{0}" - - - - - A string like "The value '{0}' is not a valid boolean. The value must be 'true' or 'false'." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer." - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 64 bit integer." - - - - - A string like "The value '{0}' is not a valid floating point value. " - - - - - A string like "The value '{0}' is not a valid integer. The value must be a valid 32 bit integer or 'Max'." - - - - - A string like "The value '{0}' is not a valid SRID. The value must either be a 32 bit integer or 'Variable'." - - - - - A string like "The value '{0}' is not a valid Guid. " - - - - - A string like "The value '{0}' is not a valid decimal." - - - - - A string like "The value '{0}' is not a valid date time offset value." - - - - - A string like "The value '{0}' is not a valid date time value." - - - - - A string like "The value '{0}' is not a valid time value." - - - - - A string like "The value '{0}' is not a valid binary value. The value must be a hexadecimal string and must not be prefixed by '0x'." - - - - - A string like "Invalid multiplicity: '{0}'" - - - - - A string like "Invalid schema element kind: '{0}'" - - - - - A string like "Invalid type kind: '{0}'" - - - - - A string like "Invalid primitive kind: '{0}'" - - - - - A string like "Invalid container element kind: '{0}'" - - - - - A string like "Invalid edmx target: '{0}'" - - - - - A string like "Invalid function parameter mode: '{0}'" - - - - - A string like "Invalid concurrency mode: '{0}'" - - - - - A string like "Invalid property kind: '{0}'" - - - - - A string like "Invalid term kind: '{0}'" - - - - - A string like "Invalid expression kind: '{0}'" - - - - - A string like "The name '{0}' is ambiguous." - - - - - A string like "The type '{0}' could not be found." - - - - - A string like "The complex type '{0}' could not be found." - - - - - A string like "The entity type '{0}' could not be found." - - - - - A string like "The primitive type '{0}' could not be found." - - - - - A string like "The function '{0}' could not be found." - - - - - A string like "The function '{0}' could not be resolved because more than one function could be used for this application." - - - - - A string like "The function '{0}' could not be resolved because none of the functions with that name take the correct set of parameters." - - - - - A string like "The entity set '{0}' could not be found." - - - - - A string like "The entity container '{0}' could not be found." - - - - - A string like "The enum type '{0}' could not be found." - - - - - A string like "The enum member '{0}' could not be found." - - - - - A string like "The property '{0}' could not be found." - - - - - A string like "The parameter '{0}' could not be found." - - - - - A string like "The labeled element '{0}' could not be found." - - - - - A string like "The entity '{0}' is invalid because its base type is cyclic." - - - - - A string like "The complex type '{0}' is invalid because its base type is cyclic." - - - - - A string like "The entity container '{0}' is invalid because its extends hierarchy is cyclic." - - - - - A string like "The association end '{0}' could not be computed." - - - - - A string like "Conversion of EDM values to a CLR type with type code {0} is not supported." - - - - - A string like "Cannot initialize a property '{0}' on an object of type '{1}'. The property already has a value." - - - - - A string like "An EDM structured value contains multiple values for the property '{0}'. Conversion of an EDM structured value with duplicate property values is not supported." - - - - - A string like "Conversion of an EDM value of the type '{0}' to the CLR type '{1}' is not supported." - - - - - A string like "Conversion of an edm collection value to the CLR type '{0}' is not supported. EDM collection values can be converted to System.Collections.Generic.IEnumerable<T>, System.Collections.Generic.IList<T> or System.Collections.Generic.ICollection<T>." - - - - - A string like "The type '{0}' of the object returned by the TryCreateObjectInstance delegate is not assignable to the expected type '{1}'." - - - - - A string like "Unexpected primitive type kind." - - - - - A string like "The annotation must have non-null target." - - - - - A string like "An entity type or a collection of an entity type is expected." - - - - - A string like "An element with type 'None' cannot be used in a model." - - - - - A string like "An element with type 'None' cannot be used in an entity container." - - - - - A string like "Value has already been set." - - - - - A string like "Path segments must not contain '/' character." - - - - - A string like "An on delete action can only be specified on one end of an association." - - - - - A string like "The number of properties in the dependent and principal role in a relationship constraint must be exactly identical." - - - - - A string like "The base type kind of a structured type must be the same as its derived type." - - - - - A string like "Row types cannot have a base type." - - - - - A string like "Functions are not supported prior to version 2.0." - - - - - A string like "The 'SideEffecting' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Composable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'Bindable' setting of function imports is not supported before version 3.0." - - - - - A string like "The 'ContainsTarget' setting of navigation properties is not supported before version 3.0." - - - - - A string like "The row type is invalid. A row must contain at least one property." - - - - - A string like "The scale value can range from 0 through the specified precision value." - - - - - A string like "Precision cannot be negative." - - - - - A string like "The max length facet specifies the maximum length of an instance of the string type. For unicode equal to 'true', the max length can range from 1 to 2^30, or if 'false', 1 to 2^31." - - - - - A string like "Max length can range from 1 to 2^31." - - - - - A string like "Enums are not supported prior to version 3.0." - - - - - A string like "Value terms are not supported prior to version 3.0." - - - - - A string like "Vocabulary annotations are not supported prior to version 3.0." - - - - - A string like "Open types are supported only in version 1.2 and after version 2.0." - - - - - A string like "Only entity types can be open types." - - - - - A string like "The string reference is invalid because if 'IsUnbounded' is true 'MaxLength' must be null." - - - - - A string like "The declared name and namespace of the annotation must match the name and namespace of its xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must have a well-formed xml value." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be IEdmStringValue." - - - - - A string like "The value of an annotation marked to be serialized as an xml element must be a string representing an xml element with non-empty name and namespace." - - - - - A string like "Null value cannot have a non-nullable type." - - - - - A string like "The type of the expression is incompatible with the asserted type." - - - - - A string like "A collection expression is incompatible with a non-collection type." - - - - - A string like "A primitive expression is incompatible with a non-primitive type." - - - - - A string like "A record expression is incompatible with a non-structured type." - - - - - A string like "References to EDM stream type are not supported before version 3.0." - - - - - A string like "References to EDM spatial types are not supported before version 3.0." - - - - - A string like "The primitive expression is not compatible with the asserted type." - - - - - A string like "The value of the integer constant is out of range for the asserted type." - - - - - A string like "A type without other errors must not have kind of none." - - - - - A string like "The name is missing or not valid." - - - - - A string like "The namespace name is missing or not valid." - - - - - A string like "Single file provided but model cannot be serialized into single file." - - - - - A string like "Unknown Edm version." - - - - - A string like "Unknown Edmx version." - - - - - A string like "No CSDL is written because no schema elements could be produced. This is likely because the model is empty." - - - - - A string like "The source XmlReader does not contain a schema definition or started at the end of the file." - - - - - A string like "Associations may have at most one constraint. Multiple constraints were specified for this association." - - - - - A string like "An XML attribute or sub-element representing an EDM type is missing." - - - - - A string like "Referential constraints requires one dependent role. Multiple dependent roles were specified for this referential constraint." - - - - - A string like "Referential constraints requires one principal role. Multiple principal roles were specified for this referential constraint." - - - - - A string like "If expression must contain 3 operands, the first being a boolean test, the second being being evaluated if the first is true, and the third being evaluated if the first is false." - - - - - A string like "The IsType expression must contain 1 operand." - - - - - A string like "The AssertType expression must contain 1 operand." - - - - - A string like "The LabeledElement expression must contain 1 operand." - - - - - A string like "A model could not be produced because no XML readers were provided." - - - - - A string like "A model could not be produced because one of the XML readers was null." - - - - - A string like " There was a mismatch in the principal and dependent ends of the referential constraint." - - - - - A string like "The enumeration member value exceeds the range of its data type 'http://www.w3.org/2001/XMLSchema:long'." - - - - - A string like "The EDMX version specified in the 'Version' attribute does not match the version corresponding to the namespace of the 'Edmx' element." - - - - - A string like "The specified value of data service version is invalid." - - - - - A string like "The specified value of max data service version is invalid." - - - - - A string like "The same rule cannot be in the same rule set twice." - - - - - A string like "Conversion of an EDM structured value is supported only to a CLR class." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/de/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/de/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index b2f298464..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/de/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/es/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/es/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 5a8852ed3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/es/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/fr/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/fr/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 108efd1ed..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/fr/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/it/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/it/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index a974c56ce..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/it/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ja/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ja/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index c8e28dfad..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ja/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ko/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ko/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 46a217035..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ko/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ru/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ru/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 559048947..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/ru/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index db2f27bb7..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.Edm.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.Edm.resources.dll deleted file mode 100644 index 4ee2f84e3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Edm.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.Edm.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/Microsoft.Data.OData.5.6.4.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/Microsoft.Data.OData.5.6.4.nupkg deleted file mode 100644 index 9abc43617..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/Microsoft.Data.OData.5.6.4.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/Microsoft.Data.OData.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/Microsoft.Data.OData.dll deleted file mode 100644 index 4b5667446..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/Microsoft.Data.OData.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/Microsoft.Data.OData.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/Microsoft.Data.OData.xml deleted file mode 100644 index 30ae9a735..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/Microsoft.Data.OData.xml +++ /dev/null @@ -1,55563 +0,0 @@ - - - - Microsoft.Data.OData - - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance which does not URL-encode the resulting string. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Gets the literal formatter for URL constants which does not URL-encode the string. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Gets the url convention for the given entity container based on its vocabulary annotations. - - The model the entity container belongs to. - The container to get the url convention for. - The url convention of the container. - - - - Gets the url convention for the given user setting and type context. - - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The type context for the entry or feed being written. - The convention to use when generating URLs. - - - - Determines whether or not the annotation indicates the 'KeyAsSegment' url-convention. - - The annotation to check. - True if the annotation indicates the 'KeyAsSegment' url convention; false otherwise. - - - - Determines whether or not the value is 'KeyAsSegment'. - - The value to check. - True if the value is 'KeyAsSegment'.; false otherwise. - - - - Determines whether or not the term is the url-convention term. - - The term to check. - True if the term is the url-convention term.; false otherwise. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that knows how to bind binary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a BinaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Promote the left and right operand types - - the operator kind - the left operand - the right operand - - - - Retrieve SingleValueNode bound with given query token. - - the query token kind - the query token - the corresponding SingleValueNode - - - - Encapsulates the state of metadata binding. - TODO : finish moving fields from MetadataBinder here and see if anything can be removed. - - - - - The configuration used for binding. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Constructs a with the given . - - The configuration used for binding. - - - - The model used for binding. - - - - - The configuration used for binding. - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Internal class for storing all the configuration information about the URI parser. Allows us to flow these values around without passing an actual parser. - - - - - Model to use for metadata binding. - - - - - Absolute URI of the service root. - - - - The conventions to use when parsing URLs. - - - - Initializes a new instance of . - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - Class that knows how to bind CastTokens. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a DottedIdentifierBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a DottedIdentifierToken and it's parent node (if needed). - - Token to bind to metadata. - State of the Binding. - A bound node representing the cast. - - - Use this class to perform late-bound operations on data service entity sets. - This class was copied from the product. - - - MethodInfo for object DataServiceProviderMethods.GetValue(this object value, string propertyName). - - - MethodInfo for IEnumerable<T> DataServiceProviderMethods.GetSequenceValue(this object value, string propertyName). - - - MethodInfo for Convert. - - - MethodInfo for TypeIs. - - - Method info for string comparison - - - Method info for Bool comparison - - - Method info for Bool? comparison - - - Method info for Guid comparison - - - Method info for Guid? comparison - - - Method info for byte array comparison. - - - Method info for byte array comparison. - - - Gets a named value from the specified object. - Object to get value from. - describing the property whose value needs to be fetched. - The requested value. - - - Gets a named value from the specified object as a sequence. - Object to get value from. - describing the property whose value needs to be fetched. - expected result type - The requested value as a sequence; null if not found. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference type to check for. - True if value is-a type; false otherwise. - - - - Compares 2 strings by ordinal, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are equal; false otherwise. - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are not equal; false otherwise. - - - - Helper class for throwing exceptions during URI parsing. - - - - Creates a new "Resource Not Found" exception. - segment identifier information for which resource was not found. - A new exception to indicate the requested resource cannot be found. - - - Creates a new "Resource Not Found" exception. - Plain text error message for this exception. - A new exception to indicate the requested resource cannot be found. - - - Creates a new exception to indicate a syntax error. - A new exception to indicate a syntax error. - - - - Creates a new exception to indicate BadRequest error. - - Plain text error message for this exception. - A new exception to indicate a bad request error. - - - Checks the specific value for syntax validity. - Whether syntax is valid. - This helper method is used to keep syntax check code more terse. - - - Checks the specifid value for syntax validity. - Whether syntax is valid. - segment indentifier for which the resource was null. - This helper method is used to keep syntax check code more terse. - - - - A component for walking an expand tree and determining if the depth or number of items exceed user-specified limits. - - - - - The maximum depth of any expand tree being validated. - - - - - The maximum number of expand items allowed in any expand tree being validated, including leaf and non-leaf nodes. - - - - - The current count when validating a particular tree. - - - - - Initializes a new instance of . - - The maximum depth of an expand tree. - The maximum number of expanded items allowed in a tree. - - - - Validates the given tree against the user-specified limits. - - The expand tree to validate. - - - - Recursively ensures that the maximum count/depth are not exceeded by walking the tree. - - The expand tree to walk and validate. - The current depth of the tree walk. - - - - Component for parsing function parameters in both $filter/$orderby expressions and in paths. - - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for filter/orderby. - - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters for path. - - The function name to use in error messages. - The contents of the parentheses portion of the current path segment. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for path. - - The split parameters from the syntactic parsing step. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The token kind that marks the end of the parameters. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The type representing a parameter. - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The callback to use for individual parameter parsing. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The current expression parameterToken from the lexer. - The parameter value if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The type used to represent a parameter. - The token from the syntactic parsing step. - The configuration for the URI Parser. - The type that the parameter is expected to resolve to. - Callback to create the final parameter from the parsed value. - The parameter if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - A token to represent a raw function parameter value that has not yet been parsed further. - - - - - Base class for all lexical tokens of OData query. - - - - - Base class for all annotatable types in OData library. - - - - The map of annotationsAsArray keyed by type. - - - - Collection of custom instance annotations. - - - - Gets or sets the annotation by type. - The annotation of type T or null if not present. - The type of the annotation. - - - Sets an annotation of type T. - The annotation to set. - The type of the annotation. - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Get the annotation of type . If the annotation is not found, create a new - instance of the annotation and call SetAnnotation on it then return the newly created instance. - - The type of the annotation. - The annotation of type . - - - - Gets the custom instance annotations. - - The custom instance annotations. - - - - Sets the custom instance annotations. - - The new value to set. - - - - Check whether a given (non-null) instance is of the specified type (no sub-type). - - The (non-null) instance to test. - The type to check for. - True if the types match; otherwise false. - - - - Replace an existing annotation of type T or add a new one - if no annotation of type T exists. - - The type of the annotation. - The annotation to set. - - - - Remove the annotation of type T from the set of annotations (if such an annotation exists). - We only allow a single occurence of an annotation of type T. - - The type of the annotation to remove. - - - - Empty list of arguments. - - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Creates a RawFunctionParameterValue - - the raw text of this parameter value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the raw text of the value. - - - - - Gets the kind of this token - - - - - A token to represent a parameter alias in a function call. - - - - - Creates a FunctionParameterAliasToken - - the alias being used for the parameter. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the alias. - - - - - Gets the kind of this token - - - - - A token to represent a parameter to a function call. - - - - - get an empty list of parameters - - - - - The name of the parameter - - - - - The value of this parameter - - - - - Creates a FunctionParameterToken - - the name of this parameter - the syntactically parsed value - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the name of this parameter - - - - - Gets the syntactically parsed value of this token. - - - - - Gets the kind of this token - - - - - Node representing a semantically parsed parameter to a function. - - - - - Base class for all semantic metadata bound nodes. - - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the kind of this node. - - - - - Gets the kind of this node. - - - - - The name of this parameter - - - - - The semantically parsed value of this parameter - - - - - Creates a NamedFunctionParameterNode to represent a semantically parsed parameter to a function. - - the name of this function - the already semantically parsed value of this parameter. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - Gets the name of this parameter - - - - - Gets the semantically parsed value of this parameter. - - - - - Gets the kind of this node - - - - - Gets the kind of this node. - - - - - Settings used by . - - - - - Default recursive call limit for Filter - - - - - Default recursive call limit for OrderBy - - - - - Default tree depth for Select and Expand - - - - - Default limit for the path parser. - - - - - the recursive depth of the Syntactic tree for a filter clause - - - - - the maximum depth of the syntactic tree for an orderby clause - - - - - the maximum number of segments in a path - - - - - the maximum depth of the Syntactic or Semantic tree for a Select or Expand clause - - - - - Flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Whether use the behavior that the WCF DS Server had before integration. - - - - - The maximum depth of the tree that results from parsing $expand. - - - - - The maximum number of instances that can appear in the tree that results from parsing $expand. - - - - - Initializes a new instance of with default values. - - - - Specifies whether the WCF data services server behavior is enabled. - - - - Gets or sets the maximum depth of the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or sets the maximum number of instances that can appear in the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or Sets the maximum recursive depth for a select and expand clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets a flag that indicates Whether use the behavior that the WCF DS Server had before integration. - - - - - Gets or sets a flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Gets or Sets the limit on the maximum depth of the filter tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or sets the maximum recursive depth for an orderby clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets the limit on the maximum number of segments that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - Unlike Filter, OrderBy, and SelectExpand, this Limit is more concrete, and will - limit the segments to exactly the number that is specified... i.e. a limit of - 20 will throw if and only if there are more than 20 segments in the path. - - Throws if the input value is negative. - - - - Bind an entire Uri to Metadata. - - - - - The current state of the binding algorithm. - - - - - pointer to the metadata bind method. - - - - - Create a new ODataUriSemanticBinder to bind an entire uri to Metadata. - - the current state of the binding algorithm - pointer to the metadata bind method. - - - - Binds a . - - The query descriptor token to bind. - The bound query descriptor. - - - - Bind an inline count option - - The inline count option to bind. - the top level path - an InlineCountKind representing this inline count option - - - - Bind a select and expand option. - - A syntax tree containing the select and expand options to bind - the top level path - The configuration to use for binding. - a select expand clause bound to metadata - - - - Bind a top option - - a syntax tree containing the top option to bind - the range variable that iterates over the top level collection - the top level path - a nullable long representing this top option - - - - Bind a skip option - - a syntax tree containing the skip option - the range variable that iterates over the top level collection - the top level path. - a nullable long representing this skip option - - - - Bind an orderby option - - a syntac tree containing the orderby option - the range variable that iterates over the top level collection - the top level path - an OrderByClause representing this orderby option - - - - Bind a filter option - - a syntactic tree containing the filter option - the range variable that iterates over the top level collection. - A filter clause representing this filter option - - - - Helper class to help bind function overloads. - This is shared between path and filter/orderby function resolution. - - - - - Given a list of possible functions and a list of parameter names, choose a single function that exactly matches - the parameter names. If more than one function matches, throw. - - - Binding parameters will be ignored in this method. Only non-binding parameters are matched. - - The list of function imports to search. - The list of non-binding parameter names to match. - Name of the function. Only used for error strings. - A single function import that matches the parameter names exactly. - - - - Try to resolve a function from the given inputs. - - The identifier of the function that we're trying to find - the names of the parameters to search for. - the type of the previous segment - the model to use to look up the function import - The single matching function found. - True if a function was matched, false otherwise. Will throw if the model has illegal function imports. - - - - Add semantic meaning to a Select or Expand token. - - - - - Add semantic meaning to a Select or Expand Token - - the top level entity type. - the top level entity set - the syntactically parsed expand token - the syntactically parsed select token - The configuration to use for parsing. - A select expand clause bound to metadata. - - - - Node to represent a function call that returns a Collection - - - - - Base class for all semantic metadata bound nodes which represent a composable collection of values. - - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - the name of this function - - - - - the list of function imports - - - - - the list of parameters provided to this function - - - - - the individual item type returned by this function - - - - - the collection type returned by this function - - - - - The semantically bound parent of this function. - - - - - Creates a CollectionFunctionCallNode to represent a function call that returns a collection - - The name of this function. - the list of function imports that this node should represent. - the list of already bound parameters to this function - the type of the collection returned by this function. - The parent of this CollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not a primitive or complex type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function. - - - - - Gets the list of function imports represeted by this node - - - - - Gets the list of parameters to this function - - - - - Gets the individual item type returned by this function - - - - - The type of the collection represented by this node. - - - - - Gets the semantically bound parent node of this CollectionFunctionCallNode. - - - - - Gets the kind of this node. - - - - - Translator that determines the entity set of a segment. - - - - - Translator interface for walking the Syntactic Tree. - - Generic type produced by the translator. - - - - Translate a TypeSegment - - the segment to Translate - Defined by the implementer - - - - Translate a NavigationPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate an EntitySetSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a KeySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a PropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a OperationSegment - - the segment to Translate - Defined by the implementer. - - - - Translate an OpenPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a CountSegment - - the segment to Translate - Defined by the implementer. - - - - Visit a NavigationPropertyLinkSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a ValueSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchReferenceSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a MetadataSegment - - the segment to Translate - Defined by the implementer. - - - - Determine the EntitySet of a NavigationPropertyLinkSegment - - The NavigationPropertyLinkSegment to look in. - The IEdmEntitySet of this NavigationPropertyLinkSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a TypeSegment - - The TypeSegment to look in. - The IEdmEntitySet of this TypeSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a NavigationPropertySegment - - The NavigationPropertySegment to look in. - The IEdmEntitySet of this NavigationPropertySegment - Throws if the input segment is null. - - - - Determine the EntitySet of an EntitySetSegment - - The EntitySetSegment to look in. - The IEdmEntitySet of this EntitySetSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a KeySegment - - The KeySegment to look in. - The IEdmEntitySet of this KeySegment - Throws if the input segment is null. - - - - Determine the EntitySet of a PropertySegment - - The PropertySegment to look in. - null, since a property doesn't necessarily have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of an OperationSegment - - The OperationSegment to look in. - The IEdmEntitySet of this OperationSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a CountSegment - - The CountSegment to look in. - null, since $count doesn't have an entitySet - Throws if the input segment is null. - - - - Determine the EntitySet of a OpenPropertySegment - - The OpenPropertySegment to look in. - null, since an OpenProperty doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a ValueSegment - - The ValueSegment to look in. - null, since $value doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchSegment - - The BatchSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchReferenceSegment - - The BatchReferenceSegment to look in. - The IEdmEntitySet of this BatchReferenceSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a MetadataSegment - - The MetadataSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Build a semantic tree for Expand based on an Expand syntactic tree. - - - - - The configuration used for binding. - - - - - The entity set at the current level expand. - - - - - The entity type at the current level expand. - - - - - Constructs a new ExpandBinder. - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Visit an ExpandToken - - the token to visit - a SelectExpand clause based on this ExpandToken - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Build a expand clause for a nested expand. - - A new SelectExpandClause. - - - - Generate an expand item based on an ExpandTermToken - - the expandTerm token to visit - the expand item for this expand term token. - - - - Build a new MetadataBinder to use for expand options. - - The entity set being expanded. - A new MetadataBinder ready to bind a Filter or Orderby clause. - - - - The model used for binding. - - - - - The top level entity type. - - - - - The top level entity set for this level. - - - - - The settings to use when binding. - - - - - The configuration used for binding. - - - - - Build an ExpandBinder based on global settings - - - - - Build an ExpandBinder based on global settings - - The entity type of the top level expand item. - The entity set of the top level expand item. - The configuration to use for binding. - An ExpandBinder strategy based on the global settings - - - - ExpandOption variant of an ExpandBinder, where the default selection item for a given level is based on the select at that level - instead of the top level select clause. If nothing is selected for a given expand in the ExpandOption syntax, then we by default - select all from that item, instead of selecting nothing (and therefore pruning the expand off of the tree). - - - - - Build the ExpandOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Interface for the SelectExpandTermParsing strategy - - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Lexer used to parse an expression. - - - - - are we parsing select. - - - - - the maximum allowable recursive depth. - - - - - The current recursion depth. - - - - - Create a SelectExpandTermParser - - the clause to parse - the maximum recursive depth - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Parses a select or expand term into a query token - - parsed query token - - - - Uses the ExpressionLexer to visit the next ExpressionToken, and delegates parsing of segments, type segments, identifiers, - and the star token to other methods. - - Previously parsed QueryToken, or null if this is the first token. - A parsed QueryToken representing the next part of the expression. - - - - Parses a segment; a expression that is followed by a slash. - - The parent of the segment node. - The lexical token representing the segment. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - The maximum recursive depth. - - - - - Build the ExpandOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token, and all available expand options. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Read a query option from the lexer. - - the query option as a string. - - - - Translator from the old expand syntax tree to the new Expand Option syntax tree - - - - - Normalize an expand syntax tree into the new ExpandOption syntax. - - the tree to normalize - a new tree, in the new ExpandOption syntax - - - - Invert the all of the paths in an expandToken, such that they are now in the same order as they are present in the - base url - - the tree to invert paths on - a new tree with all of its paths inverted - - - - Collapse all redundant terms in an expand tree - - the tree to collapse - A new tree with all redundant terms collapsed. - - - - Expand all the PathTokens in a particular term into their own separate terms. - - the term to expand - a new ExpandTermToken with each PathToken at its own level. - - - - add a new expandTermToken into an exisiting token, adding any additional levels and trees along the way. - - the exisiting (already expanded) token - the new (already expanded) token - the combined token, or, if the two are mutually exclusive, the same tokens - - - - Combine the child nodes of twoExpandTermTokens into one list of tokens - - the existing token to to - the new token containing terms to add - a combined list of the all child nodes of the two tokens. - - - - Add child options to a new dictionary - - the token with child nodes to add to the dictionary - dictionary to add child nodes to - - - - Adds the expand token to the dictionary or combines it with an existing or combines it with another existing token with an equivalent path. - - The combined terms dictionary. - The expanded term to add or combine. - - - - A set of extensions to for parsing literals. - - - - - Returns whether the is a primitive literal type: - Binary, Boolean, DateTime, Decimal, Double, Guid, In64, Integer, Null, Single, or String. - Internal for test use only - - InternalKind of token. - Whether the is a literal type. - - - Reads the next token, checks that it is a literal token type, converts to to a Common Language Runtime value as appropriate, and returns the value. - The expression lexer. - The value represented by the next token. - - - - Parses null literals. - - The expression lexer. - The literal token produced by building the given literal. - - - - Parses typed literals. - - The expression lexer. - Expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses a literal. - Precondition: lexer is at a literal token type: Boolean, DateTime, Decimal, Null, String, Int64, Integer, Double, Single, Guid, Binary. - - The expression lexer. - The literal query token or null if something else was found. - - - - Utilities needed by which are relatively simple and standalone. - - - - Suffix for single literals. - - - Suffix for single literals. - - - Whether the specified token identifier is a numeric literal. - Token to check. - true if it's a numeric literal; false otherwise. - - - - Checks if the is INF or NaN. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether equals to 'INF' - Internal for testing only - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Checks if the is INFf/INFF or NaNf/NaNF. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether EQUALS to 'INFf' or 'INFF'. - Internal for testing only. - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Class responsible for binding a syntactic filter expression into a bound tree of semantic nodes. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - State to use for binding. - - - - - Creates a FilterBinder. - - Method to use to visit the token tree and bind the tokens recursively. - State to use for binding. - - - - Binds the given filter token. - - The filter token to bind. - A FilterNode with the given path linked to it (if provided). - - - - Class that knows how to bind function call tokens. - - - - - Method to use for binding the parent node, if needed. - - - - - The names of functions that we don't bind to BuiltInFunctions - - - - - Constructs a FunctionCallBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Promotes types of arguments to match signature if possible. - - The signature to match the types to. - The types to promote. - - - - Checks that all arguments are SingleValueNodes - - The name of the function the arguments are from. - The arguments to validate. - Returns the types of the arguments provided. - - - - Finds the signature that best matches the arguments - - The name of the function - The types of the arguments - The signatures to match against - Returns the matching signature or throws - - - - Finds all signatures for the given function name. - - The function to get the signatures for. - The signatures which match the supplied function name. - - - - Binds the token to a SingleValueFunctionCallNode - - Token to bind - The current state of the binding algorithm - The resulting SingleValueFunctionCallNode - - - - Try to bind an end path token as a function call. Used for bound functions without parameters - that parse as end path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind an inner path token as a function call. Used for bound functions without parameters - that parse as inner path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind a as a function call. Used for container qualified functions without parameters. - - the dotted identifier token to bind - the semantically bound parent node for this dotted identifier - the current stat of the binding algorithm - a single value function call node representing the function call, if we found one. - true if we found a function for this token, false otherwise. - - - - Bind this function call token as a built in function - - the function call token to bidn - the current state of the binding algorithm - list of semantically bound arguments - A function call node bound to this function. - - - - Try to bind an identifier to a FunctionCallNode - - the identifier to bind - the semantically bound list of arguments. - a semantically bound parent node. - the current state of the binding algorithm - a single value function call node representing this funciton call, if we found one. - true if we found a function for this token. - - - - Determines whether this is a function that we don't bind to a BuiltInFunction - - name of the function - true if this is a function that we don't bind - - - - Build a SingleValueFunctionCallNode for a function that isn't bound to a BuiltInFunction - - original query token for this function - list of already bound query nodes for this function - The current state of the binding algorithm. - A single value function call node bound to this function. - - - - Validate the args list (adding the implicit range variable if necessary), and determine the correct return type for a cast function - - current binding state, used to get the implicit range variable if necessary - list of arguments, could be changed - the return type from this cast function - - - - Validate the arguments (adding the implicit range variable if necessary), and determine the correct return type - for an IsOf function - - the current state of the binding algorithm, used to get the implicit range variable if necessary - current list of args, can be changed - the correct return type for this function. - - - - Validate the arguments to either isof or cast - - the current state of the binding algorithm - flag to indicate which function we're validating - the list of arguments, which could be changed - the return type of the function. - - - - Try to get an IEdmTypeReference for a given type as a string, returns null if none exists - - the model for validation - the type name to find - an IEdmTypeReference for this type string. - - - - Implementation of IFunctionCallParser that allows functions calls and parses arguments with a provided method. - TODO : This implementation is incomplete. - - - - - Interface for a class that can parse an identifier as a function and return a representitive QueryToken. - - - - - Parses an identifier that represents a function. - - the syntactically bound parent of this identifier. - QueryToken representing this function. - - - - Reference to the lexer. - - - - - Reference to the lexer. - - - - - Method used to parse arguments. - - - - - Create a new FunctionCallParser. - - Lexer positioned at a function identifier. - Method to use for parsing individual arguments in the function. - - - - Parses an identifier that represents a function. - - Token for the parent of the function being parsed. - QueryToken representing this function. - - - - Parses argument lists. - - The lexical tokens representing the arguments. - - - - Parses comma-separated arguments. - - - Arguments can either be of the form a=1,b=2,c=3 or 1,2,3. - They cannot be mixed between those two styles. - - The lexical tokens representing the arguments. - - - - Read the list of arguments as a set of positional values - - A list of FunctionParameterTokens representing each argument - - - - Try to read the list of arguments as a set of named values - - the parsed list of arguments - true if the arguments were successfully read. - - - - Reference to the lexer. - - - - - Class that knows how to parse an identifier using an ExpressionLexer that is appropriately positioned. - - - - - Reference to the lexer. - - - - - parameters from the expression parser - - - - - Object to handle the parsing of things that look like function calls. - - - - - Parse an Identifier into the right QueryToken - - parameters passed in to the UriQueryExpressionParser - Object to use to handle parsing function calls. - - - - Parses identifiers. - - the syntactically bound parent of this identifier. - The lexical token representing the expression. - - - - Parses member access. - - Instance being accessed. - The lexical token representing the expression. - - - - Parses * (all member) access at the beginning of a select expression. - - Instance being accessed. - The lexical token representing the expression. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Visitor interface for walking the Path Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an SystemToken - - The SystemToken to visit - A user defined class - - - - Visit an NonSystemToken - - The NonSystemToken to visit - A user defined class - - - - Visitor interface for walking the Path Tree. - - - - - Visit an SystemToken - - The SystemToken to visit - - - - Visit an NonSystemToken - - The NonSystemToken to visit - - - - Visitor interface for walking the Syntactic Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a LiteralToken - - LiteralToken to visit - A ConstantNode bound to this LiteralToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits a EndPathToken - - The EndPathToken to bind - A PropertyAccessNode bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FunctionParameterToken - - The FunctionParameterTokenb to bind - A FunctionParametertoken bound to this UnaryOperatorToken - - - - Class that knows how to bind key values. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - Constructs a KeyBinder object using the given function to bind key values. - - Method to call to bind a value in a key. - - - - Binds key values to a key lookup on a collection. - - Already bound collection node. - The named value tokens to bind. - The bound key lookup. - - - - Binds a key property value. - - The named value to bind. - The type of a single item in a collection to apply the key value to. - The bound key property value node. - - - Provides a class used to represent a key for a resource. - - Internally, every key instance has a collection of values. These values - can be named or positional, depending on how they were specified - if parsed from a URI. - - - - Empty key singleton. - - - Named values. - - - Positional values. - - - Whether or not the key was formatted as a segment. - - - Initializes a new empty instance. - - - Initializes a new instance. - Named values. - Positional values for this instance. - Whether or not the key was formatted as a segment. - - One of namedValues or positionalValues should be non-null, but not both. - - - - Attempts to parse key values from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - - Creates a key instance from the given raw segment text with a single positional value. - - The segment text. - A key instance with the given segment text as its only value. - - - Attempts to parse nullable values (only positional values, no name-value pairs) from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the given values were parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Tries to convert values to the keys of the specified type. - The key properties to use for the conversion. - The converted key-value pairs. - true if all values were converted; false otherwise. - - - - Try to convert a value into an EDM primitive type - - the type to convert to - the value to convert - The converted value, if conversion succeeded. - true if the conversion was successful. - - - Attempts to parse key values from the specified text. - Text to parse (not null). - Set to true if the parser should accept named values - so syntax like Name='value'. If this is false, the parsing will fail on such constructs. - Set to true if the parser should accept null values. - If set to false, the parser will fail on null values. - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Creates a new instance if the specified value is null. - Type of variable. - Current value. - - - Whether the values have a name. - - - Checks whether this key has any values. - - - Returns a dictionary of named values when they AreValuesNamed is true. - - - Returns a list of values when they AreValuesNamed is false. - - - Number of values in the key. - - - - Class that knows how to bind a LambdaToken. - - - - - Method used to bind a parent token. - - - - - Constructs a LambdaBinder. - - Method used to bind a parent token. - - - - Binds a LambdaToken to metadata. - - Token to bind. - Object to hold the state of binding. - A metadata bound any or all node. - - - - Bind the parent of the LambdaToken - - the parent token - the bound parent node - - - - Bind the expression of the LambdaToken - - the expression token - the bound expression node - - - - Class that knows how to bind literal values. - - - - - Binds a literal value to a ConstantNode - - Literal token to bind. - Bound query node. - - - Use this class to parse literals from keys, etags, skiptokens, and filter/orderby expression constants. - - - - Default singleton instance of the literal parser. - - - - - Singleton instance of the literal parser for when keys-as-segments is turned on, which does not wrap the formatted strings in any quotes or type-markers. - - - - - Mapping between primitive CLR types and lightweight parser classes for that type. - - - - - Gets the literal parser for keys, based on whether the keys are formatted as segments. - - Whether or not the keys is formatted as a segment. - The literal parser to use. - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Gets the literal parser to use for ETags. - - - - - Default literal parser which has type-markers and single-quotes. Also supports arbitrary literals being re-encoded in binary form. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Tries to parse the literal by first removing required formatting for the expected type, then converting the resulting string. - - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Simplified literal parser for keys-as-segments which does not expect type-markers, single-quotes, etc. Does not support re-encoding literals as binary. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - If the string starts with '$', removes it. - Also asserts that the 2nd character is also '$', as otherwise the string would be treated as a system segment. - - The text. - The string value with a leading '$' removed, if the string started with one. - - - - Helper class for parsing a specific type of primitive literal. - - - - XML whitespace characters to trim around literals. - - - - The expected prefix for the literal. Null indicates no prefix is expected. - - - - - The expected suffix for the literal. Null indicates that no suffix is expected. - - - - - Whether or not the suffix is required. - - - - - The expected type for this parser. - - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected prefix for the literal. - - - - Initializes a new instance of the class. - - The expected type for this parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - Whether or not conversion was successful. - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - Whether or not the expected formatting was found and succesfully removed. - - - - Determines whether the values for the specified types should be - quoted in URI keys. - - Type to check. - - true if values of require quotes; false otherwise. - - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - - - - Primitive parser which uses a delegate for conversion. - - The expected CLR type when parsing. - - - - The delegate to use for conversion. - - - - - Initializes a new instance of the class. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - The expected prefix for the literal. - - - - Creates a primitive parser which wraps the given delegate and does not expect any extra markup in serialized literal. - - The delegate to use for conversion. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to start with one of the given prefixes. - - The delegate to use for conversion. - The expected prefix for the literal. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - A new primitive parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Parser specific to the Edm.Decimal type. - - - - - Initializes a new instance of the class. - - - - - Special helper to convert a string to a decimal that will allow more than what XmlConvert.ToDecimal supports by default. - - The text to convert. - The converted decimal value. - - - - Parser specific to the Edm.Binary type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - Returns the 4 bits that correspond to the specified character. - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - - - - Parser specific to the Edm.String type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - - Helper methods for metadata binding. - - - - - If the source node is not of the specified type, then we check if type promotion is possible and inject a convert node. - If the source node is the same type as the target type (or if the target type is null), we just return the source node as is. - - The source node to apply the convertion to. - The target primitive type. May be null - this method will do nothing in that case. - The converted query node, or the original source node unchanged. - - - - Retrieves type associated to a segment. - - The node to retrive the type from. - The type of the node, or item type for collections. - - - - Retrieves the type reference associated to a segment. - - The node to retrive the type reference from. - The Type reference of the node (item type reference for collections). - - - - Class to provide methods that wrap EdmLib calls that are normally not allows in ODataLib, but - are OK in the Uri Parser. These are OK to suppress because the Uri Parser - does not need to go through the behavior knob that the ODL reader/writer does. - This should only be used by the Uri Parser. - - - - - Wraps a call to IEdmModel.FindType. - - The model to search. - The qualified name of the type to find within the model. - The requested type, or null if no such type exists. - - - - Wraps call to FindTypeFromModel for a Collection type. - - the model to search - the name to find within the model - a type reference to the collection type, or null if no such type exists. - - - - Wraps a call to IEdmFunctionImport.ReturnType. - - The function import containing the return type. - Gets the return type of this function. - - - - Wraps a call to IEdmEntitySet.ElementType. - - The EntitySet to containing the element type. - The entity type contained in this entity set. - - - - Wraps a call to IEdmFunctionParameter.Type. - - The IEdmFunctionParameter containing the typ[e. - The type of this function parameter. - - - - Check whether the parent and child are properly related types - - the parent type - the child type - Throws if the two types are not related. - - - - Follow an ODataPath from an Expand to get the Final Nav Prop - - the path to follow - the navigation property at the end of that path. - Throws if the last segment in the path is not a nav prop. - - - - Follow an ODataPath from to get the most derived type - - the path to follow - the starting type before beginning to walk the path. - the most derived type in the path. - - - - Is this token a container - - the containerIdentifier of the container to find - which model to search - the container we found, if we found one - true if we find a container, false otherwise - - - - Returns true if this type is an EntityCollection - - The type to check - true if the type is an entity collection - - - - Checks whether all function imports have the same return type - - the list to check - true if the list of function imports all have the same return type - - - - Is this a valid binding type. i.e. is this an entity, entity colleciton, or complex type. - - the binding type - true if this binding type is valid - - - - NonOption variant of an ExpandBinder, where the default selection at each level is based on the top level select - clause. If that top level select is not populated, then we select all from this level, instead of selecting nothing. - - - - - Build the NonOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, apath to a property, - a wildcard, operation name, etc. - - - - - Build the NonOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Class responsible for binding a InnerPathToken into: - 1. SingleNavigationNode - 2. CollectionNavigationNode - 3. SinglePropertyAccessNode (complex) - 4. CollectionPropertyAccessNode (primitive | complex) - 5. KeyLookupNode - 6. SingleValueFunctionCallNode - 7. SingleEntityFunctionCallNode - - TODO The binder does support key lookup on collection navigation properties, however at this time - the synctactic parser does not set things up correctly to allow end-to-end scenarios to work. - - - - Bind method to use for binding a parent node, if needed. - - - - - Constructs a InnerPathTokenBinder. - - Bind method to use for binding a parent node, if needed. - - - - Ensures that the parent node is of entity type, throwing if it is not. - - Parent node to a navigation property. - The given parent node as a SingleEntityNode. - - - - Given a property name, if the associated type reference is strucutred, then this returns - the property of the structured type. Otherwise, it returns null. - - The parent type to be used to find binding options. - The string designated the property name to be bound. - The property associated with string and parent type. - - - - Builds an appropriate navigation query node (collection or single) for the given property and parent node. - - Navigation property. - Parent Node. - Named values (key values) that were included in the node we are binding, if any. - State of binding. - Object to perform binding on any key values that are present. - A new CollectionNavigationNode or SingleNavigationNode to capture the navigation propety access. - - - - Binds a . - This includes more than just navigations - it includes complex property access and primitive collections. - - The segment token to bind. - The state of binding. - The bound node. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Factory class to build IParameterQueryNodes. - - - - - Creates a for an implicit parameter ($it) from an . - - that the range variable is iterating over. - A new . - - - - Creates a ParameterQueryNode for an implicit parameter ($it). - - Element type the parameter represents. - Entity Set. May be null and must be null for non entities. - A new IParameterNode. - - - - Creates a RangeVariableReferenceNode for a given range variable - - Name of the rangeVariable. - A new SingleValueNode (either an Entity or NonEntity RangeVariableReferenceNode. - - - - Creates a ParameterQueryNode for an explicit parameter. - - Name of the parameter. - CollectionNode that the parameter is iterating over. - A new RangeVariable. - - - - Creates an AnyNode or an AllNode from the given - - State of binding. - Parent node to the lambda. - Bound Lambda expression. - The new range variable being added by this lambda node. - Token kind. - A new LambdaNode bound to metadata. - - - - Handler interface for walking the path semantic tree. - - - - - Handle a TypeSegment - - the segment to Handle - - - - Handle a NavigationPropertySegment - - the segment to Handle - - - - Handle an EntitySetSegment - - the segment to Handle - - - - Handle a KeySegment - - the segment to Handle - - - - Handle a PropertySegment - - the segment to Handle - - - - Handle an OperationSegment - - the segment to Handle - - - - Handle an OpenPropertySegment - - the segment to Handle - - - - Handle a CountSegment - - the segment to Handle - - - - Handle a LinksSegment - - the segment to Handle - - - - Handle a ValueSegment - - the segment to Handle - - - - Handle a BatchSegment - - the segment to Handle - - - - Handle a BatchReferenceSegment - - the segment to Handle - - - - Handle a MetadataSegment - - the segment to Handle - - - - Node to represent a function call that returns a collection of entities. - - - - - Base class for all semantically bound nodes which represent a composable collection of values. - - - - - Get the resouce type of a single entity from the collection represented by this node. - - - - - Get the EntitySet that contains this collection. - - - - - the name of this function. - - - - - list of function imports that this node represents. - - - - - list of parameters provided to this function - - - - - the type a single entity returned by this function - - - - - the type of the collection returned by this function - - - - - the set containing the entities returned by this function. - - - - - The semantically bound parent of this EntityCollectionFunctionCallNode. - - - - - Creates an EntityCollecitonFunctionCallNode to represent a function call that returns a collection of entities. - - The name of this function. - the list of function imports that this node represents. - the list of parameters to this function - the type the entity collection returned by this function. The element type must be an entity type. - the set containing entities returned by this function - the semantically bound parent of this EntityCollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not an entity type. - Throws if the input function imports is null - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function - - - - - Gets the list of function imports that this node represents. - - - - - Gets the list of parameters provided to this function. - - - - - Gets the individual item type returned by this function. - - - - - The type of the collection represented by this node. - - - - - Gets the individual entity type returned by this function. - - - - - Gets the entity set contaiing the entities returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Segment translator to determine whether a given is a collection. - - - - - Translate a NavigationPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an EntitySetSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a KeySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a PropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an OpenPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a CountSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a NavigationPropertyLinkSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchReferenceSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a ValueSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a MetadataSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - A segment representing $links or $ref - - - - - The semantic representation of a segment in a path. - - - - Returns the identifier for this segment i.e. string part without the keys. - - - Indicates whether this segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - Creates a new Segment and copies values from another Segment. - - Segment to copy values from. - - - - Creates a new Segment. - - - - - Translate a using an implemntation of. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - - - - Handle a using an implementation of a . - - An implementation of the handler interface. - - - - Check if this segment is equal to another segment. - - the other segment to check - true if the segments are equal. - - - - Copies over all the values of the internal-only properties from one segment to another. - - Ther segment to copy from. - - - - Gets the of this . - - This property can be null. Not all segments have a Type, such as a . - - - Returns the identifier for this segment i.e. string part without the keys. - - - Whether the segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - The navigation property this link or ref acts on. - - - - - Build a segment to represnt $links or $ref on a Nav prop - - The navigaiton property this link or ref acts on - The set of entities linked to by this . This can be null. - Throws if the input navigationProperty is null. - - - - Translate a - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - The other segment to check. - True if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property this link or ref acts on. - - - - - Gets the set of entities linked to by this . - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of or . - - - - - A representation of the path portion of an OData URI which is made up of s. - - - - - The segments that make up this path. - - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Get the segments enumerator - - The segments enumerator - - - - get the segments enumerator - - The segments enumerator. - - - - Walk this path using a translator - - the return type of the translator - a user defined translation path - an enumerable containing user defined objects for each segment - - - - Walk this path using a handler - - the handler that will be applied to each segment - - - - Checks if this path is equal to another path. - - The other path to compare it to - True if the two paths are equal - Throws if the input other is null. - - - - Add a segment to this path. - - the segment to add - Throws if the input newSegment is null. - - - - Gets the first segment in the path. Returns null if the path is empty. - - - - - Get the last segment in the path. Returns null if the path is empty. - - - - - Get the number of segments in this path. - - - - - Create an ODataPath object to represent a path semantically - - The list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Create an ODataPath object based on a single segment - - A list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Gets the navigation property for this expand path. - - the navigation property for this expand path. - - - - Ensure that this expand path contains only valid segment types. - - Throws if this list of segments doesn't match the requirements for a $expand - - - - Extension methods for . These method provide convenince functions. - TODO: Implement this class and it's visitors. These are stubs. - - - The values that these methods compute are not cached. - - - - - Computes the of the resource identified by this . - - Path to compute the type for. - The of the resource, or null if the path does not identify a - resource with a type. - - - - Computes the of the resource identified by this . - - Path to compute the set for. - The of the resource, or null if the path does not identify a - resource that is part of a set. - - - - Computes whether or not the resource identified by this is a collection. - - Path to perform the computation on. - True if the resource if a feed or collection of primitive or complex types. False otherwise. - - - Translates from an IPathSegment into an ODataPath - - - - Binds a collection of to metadata, creating a semantic ODataPath object. - - Collection of path segments. - The configuration to use when binding the path. - A semantic object to describe the path. - - - - Main Public API to parse an ODataURI. - - - - - The parser's configuration. - - - - - Build an ODataUriParser - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - A representing the metadata bound orderby expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parse a filter clause from an instantiated class. - - the filter clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A FilterClause representing the metadata bound filter expression. - - - - Parse an orderby clause from an instance of this class - - the orderby clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - An OrderByClause representing the metadata bound orderby expression. - - - - Parses a into a semantic object. - - - This is designed to parse the Path of a URL. If it is used to parse paths that are contained - within other places, such as $filter expressions, then it may not enforce correct rules. - - The absolute URI which holds the path to parse. - An representing the metadata-bound path expression. - Throws if the serviceRoot member is null, or if the input path is not an absolute uri. - - - - ParseSelectAndExpand from an instantiated class - - the select to parse - the expand to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. This can be null, if so that null will propagate through the resulting SelectExpandClause. - A SelectExpandClause with the semantic representation of select and expand terms - - - - Parse a full Uri into its contingent parts with semantic meaning attached to each part. - See . - - The full uri to parse. - An representing the full uri. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - - - - Parses the full Uri. - - The full uri to parse - An ODataUri representing the full uri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided. - - String representation of the filter expression. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided model. - - String representation of the orderby expression. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parses the and clauses on the given , binding - the text into a metadata-bound list of properties to be selected using the provided model. - - String representation of the select expression from the URI. - String representation of the expand expression from the URI. - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A representing the metadata bound orderby expression. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - Throws if the input inlineCount is not a valid $inlinecount value. - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - The exception that is thrown when path parsing detects an unrecognized or unresolvable token in a path (which servers should treat as a 404). - - - - - Exception type representing exceptions in the OData library. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - - Creates a new instance of the class from the specified and instances. - A containing the information required to serialize the new . - A containing the source of the serialized stream associated with the new . - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - Plain text error message for this exception. - - - - Initializes a new instance of the DataServiceException class. - - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - Creates a new instance of the class from the specified SerializationInfo and StreamingContext instances. - A SerializationInfo containing the information required to serialize the new ODataUnrecognizedPathException. - A StreamingContext containing the source of the serialized stream associated with the new ODataUnrecognizedPathException. - - - - Component for controlling what convention are used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - Gets the internal representation of the user-specified convention. - - - - - Class to handle the binding of orderby tokens. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - Creates an OrderByBinder - - Method to use to visit the token tree and bind the tokens recursively. - - - - Processes the order-by tokens of a entityCollection (if any). - - State to use for binding. - The order-by tokens to bind. - An OrderByClause representing the orderby statements expressed in the tokens. - - - - Processes the specified order-by token. - - State to use for binding. - The next OrderBy node, or null if there is no orderby after this. - The order-by token to bind. - Returns the combined entityCollection including the ordering. - - - - Set of helpers and extensions to make it easier to convert the semantic path parser - to using and the related classes. - - - - - Returns whether the given type is a structural type that is open. - - The type to check. - Whether the type is both structural and open. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - Whether or not the type is an entity or entity collection type. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - The entity type. If the given type was a collection, this will be the element type. - Whether or not the type is an entity or entity collection type. - - - - Gets the target entity set for the given function import. - - The function import. - The source entity set. - The model. - The target entity set of the function import or null if it could not be determined. - - - - Throws an exception if the given type is an open complex type. - - The type to check. - - - - Reverse a Path - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an SystemToken - - The System token to visit - A user defined class - - - - Visit an NonSystemToken - - The System token to visit - A user defined class - - - - any children of the root, will always be null on first call - - - - - Build a PathReverser at the top level (with no child token) - - - - - Build a PathReverser based on a child token. - - the new child of this token - - - - Reverse a NonSystemToken - - the non system token to reverse - the reversed NonSystemToken - - - - Reverse a SystemToken - - the SystemToken to reverse - the reversed SystemToken - - - - Build the next level PathReverser - - the next level token - the next levels child token - the path token from the next level. - - - - Equality comparer for . - - - - - Determines whether the two paths are equivalent. - - The first path to compare. - The second path to compare. - Whether the two paths are equivalent. - - - - Returns a hash code for the given path. - - The path to hash. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Converts the token to a string that is sufficiently unique to be hashed or compared. - - The path token to convert to a string. - A string representing the path. - - - - Visitor interface for walking the Syntactic Tree. - - - - - Visit an SystemToken - - The System token to visit - - - - Visit an NonSystemToken - - The System token to visit - - - - Class that knows how to bind ParameterQueryTokens. - - - - - Binds a parameter token. - - The parameter token to bind. - The state of metadata binding. - The bound query node. - - - - Class that knows how to bind an end path token, which could be several things. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - The function call binder to use to bind this end path to a function if necessary. - - - - - Constructs a EndPathBinder object using the given function to bind parent token. - - Method to bind the EndPathToken's parent, if there is one. - - - - This method generates a for properties of open type - - EndPathToken to bind into an open property node. - Parent node of this open property - Will return a when open types are supported - - - - Generates a bound query node representing an given an already semantically bound parent node. - - The semantically bound source node of this end path token - The that will be bound to this node. Must not be primitive collection - QueryNode bound to this property. - - - - Constructs parent node from binding state - - Current binding state - The parent node. - - - - Binds a an end path token into a PropertyAccessToken, OpenPropertyToken, or FunctionCallToken. - - The property access token to bind. - State of the binding algorithm. - A Query node representing this endpath token, bound to metadata. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Provides values to describe the kind of thing targetted by a - client request. - - - - Nothing specific is being requested. - - - A top-level directory of service capabilities. - - - Entity Resource is requested - it can be a collection or a single value. - - - A single complex value is requested (eg: an Address). - - - A single value is requested (eg: a Picture property). - - - A single value is requested (eg: the raw stream of a Picture). - - - System metadata. - - - A data-service-defined operation that doesn't return anything. - - - The request is a batch request. - - - An open property is requested. - - - An open property value is requested. - - - A stream property value is requested. - - - A single collection of primitive or complex values is requested. - - - - Semantic parser for the path of the request URI. - - - - - regex pattern to match a contentID - - - - - The queue of segments remaining to be parsed. Should be populated and cleared out on each pass through the main path parsing loop. - - - - - The collection of segments that have been parsed so far. - - - - - The parser's current configuration. - - - - - Indicates that the next segment encountered must refer to something in 'metadata-space' and cannot be a key expression. - - - - - Initializes a new instance of . - - The parser's current configuration. - - - - Extracts the segment identifier and, if there are parenthesis in the segment, the expression in the parenthesis. - Will throw if identifier is not found or if the parenthesis expression is malformed. - - Internal only so it can be called from tests. Should not be used outside . - The segment text. - The identifier that was found. - The query portion that was found. Will be null after the call if no query portion was present. - - - Creates an array for the given . - Segments to process. - Segment information describing the given . - - - - Tries to find a single matching function import for the given identifier, parametes, and binding type. - - The identifier from the URI. - The parenthesis expression contianing parameters, if any. - The current binding type or null if there isn't one. - The configuration of the parser. - The parsed parameters from the parenthesis expression. - The single matching function import if one could be determined. - Whether or not a matching function import could be found. - - - Determines a matching target kind from the specified type. - ResourceType of element to get kind for. - An appropriate for the specified . - - - - Checks for single result, otherwise throws. - - indicates whether the current result is single result or not. - current segment identifier. - - - - Tries to get the next segment's text to parse. - - The segment text to parse. - Whether there was a next segment. - - - - Tries to get the next segment's text to parse. Should not be called except by the other overload which does not have the extra parameter. - - Whether the previous segment was an escape marker. - The segment text to parse. - Whether there was a next segment. - - - - Tries to handle the given text as a key if the URL conventions support it and it was not preceeded by an escape segment. - - The text which might be a key. - Whether or not the text was handled as a key. - - - - Throws if the given segment must be a leaf, as a later segment is being created. - - The previous segment which may need to be a leaf. - - - - Try to handle the segment as $count. - - The segment text to handle. - Whether the segment was $count. - - - - Tries to handle the segment as $links. If it is $links, then the rest of the path will be parsed/validated in this call. - - The text of the segment. - Whether the text was $links. - - - - Tries to bind a key from the parenthetical section of a segment. - - The section of the segment inside parentheses, or null if there was none. - - - - Try to handle the segment as $value. - - The segment text. - Whether the segment was $value. - - - - Creates a new segment for an open property. - - previous segment info. - name of the segment. - whether this segment has a query portion or not. - - - - Creates a named stream segment - - previous segment info. - stream property to create the segment for. - - - Creates the first for a request. - The text of the segment. - - - - Tries to parse the segment as a service operation - - The identifier for the segment. - The query portion - Whether or not the identifier referred to a service operation. - - - - Tries to parse a segment as a function or action. - - The previous segment before the operation to be invoked. - The name of the segment - The query portion - Whether or not the identifier referred to an action. - - - - Creates the next segment. - - The text for the next segment. - - - - Tries to bind the identifier as a property. - - The identifier to bind. - The property, if one was found. - Whether a property matching the identifier was found. - - - - Tries to create a type name segment if the given identifier refers to a known type. - - previous segment info. - The current raw segment identifier being interpreted. - Parenthesis expression of this segment. - Whether or not a type segment was created for the identifier. - - - - Creates a property segment - - previous segment info. - property to create the segment for. - query portion for this segment, if specified. - - - - Component for handling key expressions in URIs. - - - - Tries to create a key segment for the given filter if it is non empty. - Segment on which to compose. - Parenthesis expression of segment. - The key segment that was created if the key was non-empty. - Whether the key was non-empty. - - - - Tries to handle the current segment as a key property value. - - The segment text. - The previous segment. - The current url convention for the server. - The key segment that was created if the segment could be interpreted as a key. - Whether or not the segment was interpreted as a key. - - - - Determines whether the segment text is a system-reserved identifier like $'count'. - - The segment text. - - true if the segment text is a system-reserved identifier like $'count'; otherwise, false. - - - - - Parses the key properties based on the segment's target type, then creates a new segment for the key. - - The segment to apply the key to. - The key to apply. - The newly created key segment. - - - - Builds segments from tokens within $select. - - - - - Build a segment from a token. - - the token to bind - The model. - the entity type of the current scope based on type segments. - The segment created from the token. - - - - Build a wildcard selection item - - the token to bind to a wildcard - the model to search for this wildcard - the new wildcard selection item, if we found one - true if we successfully bound to a wildcard, false otherwise - - - - Tries to bind a given token as an Operation. - - Token to bind. - The model. - the current entity type to use as the binding type when looking for operations. - Bound segment if the token was bound to an operation successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Tries to bind a given token as an a declared structural or navigation property. - - Token to bind. - the entity type to search for this property - Bound segment if the token was bound to a declared property successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Build an ISelectExpandTermParser based on settings. - - - - - Build a new ISelectExpandTermParser, either with expand options or without, based on the global settings. - - the select or expand text to parse - pointer to the top level object - A new ISelectExpandTermParser - - - - Build a new ISelectExpandTermParser with default settings - - the clause to parse - A NonOptionSelectExpandTermParser - - - - Polish a combined select expand tree. - - - - - Prune off any unneccessary expands - - the clause to prune - a pruned tree. - - - - Visit a Select property and use it to decorate a SelectExpand Tree - - - - - The model used for binding. - - - - - the maximum recursive depth. - - - - - The expand tree to decorate. - - - - - The entity type for this level of the select - - - - - Build a property visitor to visit the select tree and decorate a SelectExpandClause - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visit a System Token - - the system token to visit - - - - Visit a NonSystemToken - - the non sytem token to visit - - - - process a nonsystemtoken as a path, following any type segments if necessary - - the token to process - - - - The expand tree that we're decorating - - - - - Translate a select tree into the right format to be used with an expand tree. - - - - - Normalize a SelectToken into something that can be used to trim an expand tree. - - The select token to normalize - Normalized SelectToken - - - - Class that represents a selection of all properties and functions on an entity. - - - - - Class that specifies what properties and functions have been specified to be selected for a given entity at the current level of the expand tree. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing an alias to another url in a batch. - - - - - The of the resource that this placeholder represents. - - - - - The entity set from the alias. - - - - - The contentId that this alias referrs to. - - - - - Build a BatchReferenceSegment - - The contentId of this segment is referring to - The of the resource that this placeholder represents. - The resulting entity set - Throws if the input edmType of contentID is null. - Throws if the contentID is not in the right format. - - - - Translate this into something else. - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of the interface. - - An implementation of the Handler interface. - Throws if the input Handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of the resource that this placeholder represents. - - - - - Gets the resulting entity set for this batch reference segment. - - - - - Gets the contentId this alias is referrring to - - - - - A segment representing $batch - - - - - Gets the singleton instance of the batch segment. - - - - - Build a segment to represent $batch. - - - - - Translate a into something else using an implementation of . - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of . - - An implementation of the Handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - The other segment to check. - True if the other segment is equivalent to this one. - Throws if the input other is null - - - - Gets the of this , which is always null. - - - - - Class to represent the selection of all the actions and functions in a specified container. - - - - - An item that has been selected by the query at the current level of the tree. - - - - - The whose actions and functions should be selected. - - - - - Creates an instance of this class with the specified . - - The whose actions and functions should be selected. - Throws if the input container is null. - - - - Gets the whose actions and functions should be selected. - - - - - A segment representing $count in a path - - - - - Return the singleton instance of Count - - - - - Build a segment representing $count - - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - throws if the input other is null. - - - - Gets the of this , which is always Edm.Int32. - - - - - Class that knows how to resolve an IEdmExpression to find its associated EntitySet. - This functionality is needed to determine what a EntitySets a FunctionImport applies to. - - - - - Resolves an IEdmExpression to an IEdmEntitySet. - - Expression to resolve. - The resolved EntitySet. - - - - A segment representing an EntitySet in a path. - - - - - The entity set represented by this segment. - - - - - Type of the entities in the set represented by this segment. - - - - - Build a segment representing an entity set - - The entity set represented by this segment. - Throws if the input entitySet is null. - - - - Translate an into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle an using the an instance of the . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the entity set represented by this segment. - - - - - Gets the of this . - This will always be an for the that this set contains. - - - - - This represents one level of expansion for a particular expansion tree. - - - - - The Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - The entity set for this expansion level. - - - - - The filter expand option for this expandItem. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The orderby expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - the top expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The skip option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The inlinecount option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The select that applies to this level, and any sub expand levels below this one. - - - - - Create an Expand item using a nav prop, its entity set and a SelectExpandClause - - the path to the navigation property for this expand item, including any type segments - the entity set for this ExpandItem - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Create an expand item, using a navigationProperty, its entity set, and any expand options. - - the path to the navigation property for this expand item, including any type segments - the entity set for this expand level. - A filter clause for this expand (can be null) - An Orderby clause for this expand (can be null) - A top clause for this expand (can be null) - A skip clause for this expand (can be null) - An Inlinecount clause for this expand (can be null) - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Gets the Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - Gets the EntitySet for this level. - - - - - The select and expand clause for this expanded navigation. - - - - - The filter clause for this expand item - - - - - Gets the orderby clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the top clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the skip clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the inlinecount clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - A list of all expanded items at the next level down. - - - - - The list of all expanded items at the next level down. - - - - - Constructor - - The list of all expanded items at the next level down. - - - - The list of all expanded items at the next level down. - - - - - A segment representing a key lookup in a path. - - - - - The set of key property names and the values to be used in searching for the given item. - - - - - The type of the item this key returns. - - - - - The entity set that this key is used to search. - - - - - Construct a Segment that represents a key lookup. - - The set of key property names and the values to be used in searching for the given item. - The type of the item this key returns. - The entity set that this key is used to search. - Throws if the input entity set is not related to the input type. - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the set of key property names and the values to be used in searching for the given item. - - - - - Gets the type of the item this key returns - - - - - Gets the entity set that this key is used to search. - - - - - A segment representing $metadata in a path. - - - - - Gets the singleton instance of MetadataSegment - - - - - Build a segment to represent $metadata - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this , which is always null. - - - - - Class that represents a selecting none of the properties or functions at this level, but there are still relevant expansions in this subtree. - - - - - Get the singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing a navigation property - - - - - The navigation property this segment represents. - - - - - Build a segment representing a navigation property. - - The navigation property this segment represents. - The set of the entities targetted by this navigation property. This can be null. - Throws if the input navigationProperty is null. - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Checks if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property represented by this NavigationPropertySegment. - - - - - Gets the set of the entities targetted by this Navigation Property. - This can be null. - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of , , - , , or . - - - - - Create an ODataSelectPath - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Create an ODataPath object based on a single segment - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Ensure that the segments given to us are valid select segments. - - Throws if the list of segments doesn't match the requirements for a path in $select - - - - A segment representing and open property - - - - - The name of this open property. - - - - - Build a segment to represent an open property. - - The name of this open property - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the name of this open property. - - - - - Gets the of this , which is always null. - The type of open properties is unknown at this time. - - - - - Represents a named parameter value for invoking an operation in an OData path. - - - - - Initializes a new instance of . - - The name of the parameter. Cannot be null or empty. - The value of the parameter. - - - - The name of the parameter. - - - - - The parameter value. - - - - - Class to represent the selection of a specific path. - - - - - The selected path. - - - - - Constructs a to indicate that a specific path is selected. - - The selected path. - Throws if the input selectedPath is null. - - - - Gets the selected path. - - - - - Class that represents a partial subset of items on a given type that have been selected at this level of the select expand tree. - - - - - The subset of items that has been selected at this level. - - - - - Creates a with the specified set of . - - The list of items on the that has been selected. - - - - The subset of items that has been selected at this level. - - - - - A segment representing a structural property - - - - - The structural property referred to by this segment - - - - - Build a segment based on a structural property - - The structural property that this segment represents. - Throws if the input property is null. - - - - Translate a using an instance of />. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the structural property that this segment represents. - - - - - Gets the of this . - - - - - Class representing the combined semantic meaning of any select or expand clauses in the uri. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - - Internal flag indicating that this clause was built using the legacy Selection and Expansion classes. In this case, we must - call ComputeFinalSelectedItems() before handing out the object publically. - - - - - The object that describes what properties and functions should be selected from the associated at this level. - - - - - The selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Constructs a from the given parameters. - - The selected properties and operations. This list should include any expanded navigation properties. - Flag indicating if all items have been selected at this level. - - - - Constructs a from the given parameters. - - The object that describes what properties and functions should be selected from the associated . - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - Add a selection item to the current selection. - - the new selection item to add - - - - Switch to an AllSelection at this level and recursively at all levels below this one. - This is non-reversable because once everything is selected, selecting a specific property or other item is redundant. - - - - - Initializes the selection for this clause as ExpansionsOnly if it is not already partial. - - - - - Computes the list of SelectItems that will be publically availible to consumers. - - - - - Gets the selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Gets the object that describes what properties and functions should be selected from the associated . - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Node representing a type segment that casts an entity collection node. - - - - - The entity collection node that we're casting. - - - - - The target type that we're casting our entity collection node to. - - - - - the type of the collection returned by this function - - - - - The EntitySet that our collection comes from. - - - - - Create a CollectionCastNode with the given source node and the given target type. - - Parent that is being cast. - Type to cast to. - Throws if the input source or entityType are null. - - - - Accept a that walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the entity collection node that we're casting. - - - - - Gets the type that we're casting all items in this collection to. - - - - - The type of the collection represented by this node. - - - - - Gets the entity type that we're casting all items in this collection to. - - - - - Gets the EntitySet that our collection comes from. - - - - - Gets the kind of this node. - - - - - Query node representing a collection navigation property. - - - - - The navigation property of the single entity this node represents. - - - - - The resouce type of a single entity item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - The parent node. - - - - - The EntitySet from which the collection of entities comes from. - - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The parent of this collection navigation node. - The collection node. - Throws if the input source or navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The source entity set. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the parent node of this Collection Navigation Node. - - - - - Gets the target multiplicity. - - - - - Gets the Navigation Property that defines this collection Node. - - The navigation property that defines this collection node. - - - - Gets a reference to the resource type a single entity in the collection. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity from the collection. - - - - - Gets the entity set containing this collection. - - - - - Gets the kind of this node. - - - - - The result of parsing a $filter query option. - - - - - The filter expression - this should evaluate to a single boolean value. - - - - - The parameter for the expression which represents a single value from the collection. - - - - - Creates a . - - The filter expression - this should evaluate to a single boolean value. Cannot be null. - The parameter for the expression which represents a single value from the collection. Cannot be null. - Throws if the input expression or rangeVariable is null. - - - - Gets the filter expression - this should evaluate to a single boolean value. - - - - - Gets the parameter for the expression which represents a single value from the collection. - - - - - Gets the type of item returned by this clause. - - - - - Represents the result of parsing the $orderby query option. - - - - - The order-by expression. - - - - - The direction to order. - - - - - The rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Creates an . - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - The order-by expression. Cannot be null. - The direction to order. - The rangeVariable for the expression which represents a single value from the collection we iterate over. - Throws if the input expression or rangeVariable is null. - - - - Gets the next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Gets the order-by expression. - - - - - Gets the direction to order. - - - - - Gets the rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - Gets the type of a single item from the collection returned after ordering. - - - - - A RangeVariable inside an any or all expression that doesn't refer to an entity set - - - - - A RangeVariable, which represents an iterator variable either over a collection, either of entities or not. - Exists outside of the main SemanticAST, but hooked in via a RangeVariableReferenceNode (either Non-Entity or Entity). - - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type of entity referenced by this rangeVariable - - - - - Gets the kind of this rangeVariable. - - - - - The name of the associated any/all parameter (null if none) - - - - - The Entity collection that this rangeVariable node iterates over - - - - - The Entity set of the collection this node iterates over. - - - - - The entity type of each item in the collection that this range variable iterates over. - - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity collection that this rangeVariable node iterates over - Throws if the input name or entityType is null. - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity set of the collection this node iterates over. - Throws if the input name or entityType is null. - - - - Gets the name of the associated any/all parameter (null if none) - - - - - Gets the Entity collection that this rangeVariable node iterates over - - - - - Gets the Entity set of the collection this node iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - Node to represent a range variable in an Any or All clause that referrs to an entity. - - - - - Base class for all semantic metadata bound nodes which represent a single composable entity value. - - - - - Base class for all semantic metadata bound nodes which represent a single composable value. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Gets the EntitySet containing this single entity. - - - - - Gets the type of this single entity. - - - - - The name of the associated range variable (null if none) - - - - - The entity type of the associated range variable. - - - - - The range variable that the node represents. - - - - - The entity set containing the collection that this range variable iterates over. - - - - - Creates an . - - The name of the associated range variable (null if none) - The actual range variable on the bind stack that this refers to - Throws if the input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangevariable (null if none) - - - - - Gets the entity type of the associated range variable. - - - - - Gets the entity type of the associated range variable. - - - - - Gets a reference to the range variable that this node represents. - - - - - Gets the entity set containing the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - A rangeVariable from an Any or All that doesn't refer to an entity set - - - - - The name of the associated rangeVariable - - - - - The collection that this rangeVariable node iterates over, can be null in the case of - single value nodes. - - - - - The type of the value the range variable represents - - - - - Creates a . - - The name of the associated range variable. - The type of the value the range variable represents. - The collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - Throws if the input name is null. - Throws if the input type reference is an entity type. - - - - Gets the name of the associated rangevariable. - - - - - Gets the type of the value the range variable represents. - - - - - Gets the collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - - - - - Gets the kind of this range variable. - - - - - A node that represents a rangeVariable that iterates over a non entity collection. - - - - - The name of the associated rangeVariable - - - - - The type item referred to by this rangeVariable. - - - - - Reference to a rangeVariable on the binding stack. - - - - - Creates a . - - The name of the associated rangeVariable - Reference to a rangeVariable on the binding stack. - Throws if input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type item referred to by this rangeVariable. - - - - - Gets the reference to a rangeVariable on the binding stack. - - - - - Gets the kind of this node. - - - - - Enumeration of the different kinds of RangeVariables. - - - - - A range variable that referrs to entity types. - - - - - A range variable that referrs to non-entity types. - - - - - A segment representing a call to an action, function, or service operation. - - - - - Sentinel type marking that we could not determine the return type for this segment. - - - - - The list of possible FunctionImport overloads for this segment. - - - - - the list of parameters to this operation. - - - - - The containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - The type of item returned by the operation(s), if known. - - - - - Build a segment representing a call to an operation - action, function, or service operation. - - A single function import that this segment will represent. - The containing the entities that this function returns. - Throws if the input operation is null. - - - - Build a segment representing a call to an operation - action, function, or service operation. - - The list of possible FunctionImport overloads for this segment. - The containing the entities that this function returns. - Throws if the input operations is null. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - The list of possible FunctionImport overloads for this segment. - The list of parameters supplied to this segment. - The containing the entities that this function returns. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handle interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Ensures that the entity set and computed return type make sense. - - Throws if the return type computed from the function call is null, or if the return type is not in the same hierarchy as the entity set provided. - - - - Gets the list of possible FunctionImport overloads for this segment. - - - - - Gets the list of parameters for this segment. - - - - - Gets the of this . - - - This value will be null for void service operations. - If there are multiple candidate operations with varying return types, then this property will throw. - - Throws if the type is unknown. - - - - Gets the containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - Node representing a function call which returns a single entity. - - - - - the name of this function - - - - - the list of funcitonImports represented by this node. - - - - - List of arguments provided to the function. - - - - - The return type of this function. - - - - - The EntitySet containing the single entity that this function returns. - - - - - The semantically bound parent of this function. - - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - the list of function imports this node represents. - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - The semantically bound parent of this function. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call - - - - - Gets the list of function imports that this node represents - - - - - Gets the list of arguments provided to the function. - - - - - Gets the return type of this function. - - - - - Gets the EntitySet containing the single entity that this function returns. - - - - - Gets the return type of this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Node representing an access to a collection property value. - - - - - The value containing the property. - - - - - The EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Constructs a new . - - The value containing the property. - The EDM property which is to be accessed. - Throws if the input source or property is null. - Throws if the input property is not a collection of structural properties - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing the property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - Gets the resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of the items in the read-only enumerable. - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Returns the (non-generic) enumerator to iterate through the items. - - The enumerator object to use. - - - - A segment representing a cast on the previous segment to another type. - - - - - The target type of this type segment. - - - - - The set containing the entities that we are casting. - - - - - Build a type segment using the given . - - The target type of this segment, which may be collection type. - The set containing the entities that we are casting. This can be null. - Throws if the input edmType is null. - Throws if the input edmType is not relaed to the type of elements in the input entitySet. - - - - Translate a into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this . - - - - - Gets the set containing the entities that we are casting. - - - - - Singleton sentinal instance of that indicates that $select has not been processed yet. Should never be exposed to the user. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - Represents an aliased parameter in a function call that has not yet been resolved to a specific value. - - - - - Represents the value of a property. - - - - - Indicates whether the given value is a null value. - - true if the value is an ODataNullValue, false otherwise. - - - - Initializes a new instance of . - - The alias provided as the parameter value. - The EDM type of the parameter represented by this alias. - - - - The EDM type of the parameter represented by this alias. - - - - - The alias provided as the parameter value. - - - - - Helper methods for the URI Parser. - - - - - Throws if the type is not related to the type of the given set. - - Type to check. - Second type, which should be related to the first type. - The segment that is checking this. - - - - A segment representing $value - - - - - The of this . - - - - - Build a segment to represnt $value. - - The type of the segment before $value. This may be null, for cases such as open properties. - Throws if the input previousType is a colleciton type. - - - - Translate a into another object using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of this . - - - - - Class to represent a '*' selection item, indicating that all structural properties should be selected. - - - - - Use a Select syntactic tree to populate the correct values for Selection in an already parsed - Expand Semantic Tree. - - - - - Visitor object to walk the select tree - - - - - Constructs a new SelectBinder. - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visits the top level select token - - the select token to visit - A new SelectExpandClause decorated with the information from the selectToken - - - - Visitor interface for walking the Semantic Tree. - - Generic type produced by the visitor. - - - - Visit an AllNode - - the node to visit - Defined by the implementer - - - - Visit an AnyNode - - the node to visit - Defined by the implementer - - - - Visit a BinaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a ConstantNode - - the node to visit - Defined by the implementer - - - - Visit a ConvertNode - - the node to visit - Defined by the implementer - - - - Visit an EntityCollectionCastNode - - the node to visit - Defined by the implementer - - - - Visit an EntityRangeVariableReferenceNode - - the node to visit - Defined by the implementer - - - - Visit a NonEntityRangeVariableNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityCastNode - - the node to visit - Defined by the implementer - - - - Visit a SingleNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a EntityCollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueOpenPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValuePropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a UnaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a NamedFunctionParameterNode. - - The node to visit. - Defined by the implementer - - - - Lexical token representing an expand operation. - - - - - The nav prop path for this ExpandTerm - - - - - the filter option for this expand term - - - - - the order by option for this expand term - - - - - the top option for this expand term - - - - - the skip option for this expand term. - - - - - the inlineCount option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - Create an expand term token using only a property - - the path to the navigation property - - - - Create an expand term using only the property and its subexpand/select - - the path to the navigation property for this expand term - the sub select for this token - the sub expand for this token - - - - Create an expand term token - - the nav prop for this expand term - the filter option for this expand term - the orderby option for this expand term - the top option for this expand term - the skip option for this expand term - the inlineCountOption for this expand term - the select option for this expand term - the expand option for this expand term - - - - Implement the visitor for this Token - - The type to return - A tree visitor that will visit this node. - Determined by the return type of the visitor. - - - - the nav property for this expand term - - - - - The filter option for this expand term. - - - - - the orderby option for this expand term. - - - - - the top option for this expand term. - - - - - the skip option for this expand term. - - - - - the inline count option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - the kind of this expand term. - - - - - Lexical token representing an expand operation. - - - - - The properties according to which to expand in the results. - - - - - Create a ExpandToken given the property-accesses of the expand query. - - The properties according to which to expand the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to expand in the results. - - - - - Lexical token representing a segment in a path. - - - - - - Lexical token representing a segment in a path. - - - - - - the next token in the path - - - - - build this segment token using the next token - - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - internal setter for the next token. - - the next token to set. - - - - Get the NextToken in the path - - - - - The name of the property to access. - - - - - Any named values for this NonSystemToken - - - - - The identifier for this token. - - - - - Build a NonSystemToken - - the identifier of this token - a list of named values for this token - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the list of named values for this token. - - - - - Get the identifier for this token. - - - - - Lexical token representing a segment in a path. - - - - - - The NextToken in the path(can either be the parent or the child depending on whether the tree has - been normalized for expand or not. - TODO: need to revisit this and the rest of the syntactic parser to make it ready for public consumption. - - - - - The name of the property to access. - - - - - Lexical token representing a System token such as $count - - - - - - The identifier for this SystemToken - - - - - Build a new System Token - - the identifier for this token. - the next token in the path - - - - Is this token namespace or container qualified. - - always false, since this is a system token. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the identifier for this token - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LiteralToken - - The LiteralToken to visit - A ConstantNode bound to this LambdaToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits an EndPathToken - - The EndPathToken to bind - A PropertyAccessClause bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FuntionParameterToken - - The FunctionParameterToken to bind - A user defined value - - - - Walk down a chain of type segments, checking that we find the correct type at each level. - - - - - Follow any type segments on the path, stopping at the first segment that isn't a type token. - - the first type segment - the model these types are contained in. - the maximum recursive depth - the top level entity type, will be overwritten with the last entity type in the chain - the first non type token in the path - A path with type segments added to it. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(BinaryOperatorKind), unrecognized kind of binary operator. - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(UnaryOperatorKind), unrecognized kind of unary operator. - - - Unreachable codepath in MetadataBinder.BindServiceOperation, unrecognized kind of service opertion. - - - Unreachable codepath in QueryExpressionTranslator.TranslateBinaryOperator, unrecognized kind of binary operator. - - - Unreachable codepath in UriPrimitiveTypeParser.HexCharToNibble - - - Unreachable codepath in UriQueryExpressionParser.ParseComparison - Was a new binary operator keyword without adding it to the switch in the ParseComparison? - - - Unreachable codepath in UriPrimitiveTypeParser.TryUriStringToPrimitive - Unsupported type was asked to be parsed. - - - Unreachable codepath in QueryNodeUtils.BinaryOperatorResultType, unrecognized kind of binary operator. - - - Unreachable codepath in QueryExpressionTranslator.TranslateUnaryOperator, unrecognized kind of unary operator. - - - Unreachable codepath in BinaryOperator.GetOperator, unrecognized kind of binary operator. - - - Unreachable codepath in ODataUriBuilder.WriteUnary, unrecognized kind of unary operator. - - - Unreachable codepath in ODataUriBuilderUtils.ToText(InlineCountKind), unrecognized kind of inline count. - - - - Query node representing an All query. - - - - - Node representing an Any/All query. - - - - - The collection of rangeVariables in scope for this Any or All. - - - - - The newest range variable added for by this Any or All. - - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - The newest range variable added for by this Any or All. - - - - Gets the collection of rangeVariables in scope for this Any or All. - - - - - Gets the newest range variable added for by this Any or All. - - - - - Gets or Sets the associated boolean expression - - - - - Gets or Sets the parent entity set or navigation property - - - - - Create an AllNode - - The name of the rangeVariables list. - - - - Create an AllNode - - The name of the rangeVariables list. - The new range variable being added by this all node - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the All Query - - - - - Lexical token representing the Any/All Query - - - - - The parent token. - - - - - The parameter which denotes source type. - - - - - The expression component of Any. - - - - - Create a AnyAllQueryToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The parent token. - - - - - The expression. - - - - - The parameter. - - - - - Create a AllToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Query node representing an Any query. - - - - - Create a AnyNode - - The name of the parameter list. - - - - Create a AnyNode - - The name of the parameter list. - The name of the new range variable being added by this AnyNode - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the Any Query - - - - - Create a AnyToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - In-memory annotation class to associate CLR instance types with - (non-primitive) EDM types. - - - - - true if reflection over the instance type is supported; otherwise false. - - - - - The instance type represented by this annotation. - - - - - In-memory annotation class to associate a result kind with a service operation. - - - - - The result kind of the service operation. - - - - - Annotation to hold information for a particular property. - - - - - true if reflection over the property is allowed; otherwise false. - - - - - Use this type to describe the kind of results returned by a service - operation. - - - - - A single direct value which cannot be further composed. - - - - - An enumeration of values which cannot be further composed. - - - - - A queryable object which returns multiple elements. - - - - - A queryable object which returns a single element. - - - - - No result return. - - - - - Lexical token representing a single nonroot segment in the query path. - - - - - The Identifier of the segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - The NextToken segment. - - - - - Create a new StartPathToken given the Identifier and NextToken and namedValues if any - - The Identifier of the segment, the identifier. - The NextToken segment, or null if this is the root segment. - The named values in the key lookup for this segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The Identifier of the segment, the identifier. - - - - - The NextToken segment, or null if this is the root segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - Utility methods used with the OData Query library. - - - - - Checks whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Sets whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Gets the result kind of the . - - The to check. - The containing the annotation. - The result kind of the or null if no result kind annotation exists. - - - - Sets the result kind of the . - - The to check. - The containing the annotation. - The result kind to set. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified ; if no such service operation exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified or null if no such service operation exists. - - - - Returns the instance type for the specified or null if none exists. - - The type reference to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - All primitive type references are guaranteed to have an instance type. - - - - Returns the instance type for the specified or null if none exists. - - The type to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - - - - Sets the instance type for the specified ; if null is specified an existing instance type will be removed. - - The type to get the instance type for. - Model containing annotations. - The instance type for the or null to remove an existing instance type. - - - - Checks whether reflection over the instance type is allowed or not. - - The type reference to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type reference to check. - The model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified ; if no such entity set exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified or null if no such entity set exists. - - - - Method that checks whether a function import is a service operation. - - The containing annotations. - The to check. - true if the represents a service operation; otherwise false. - - A is considered a service operation if it is annotated with an m:HttpMethod attribute. - - - - - Method that checks whether a function import is an action. - - The containing annotations. - The to check. - true if the represents an action; otherwise false. - - A is considered an action if it is side-effecting but not annotated with an m:HttpMethod attribute. - - - - - Class to wrap around BinaryOperatorKind that gives precedent meaning to it. - - - - Wrapper for Add operator kind. - - - Wrapper for And operator kind. - - - Wrapper for Divide operator kind. - - - Wrapper for Equal operator kind. - - - Wrapper for GreaterThanOrEqual operator kind. - - - Wrapper for GreaterThan operator kind. - - - Wrapper for LessThanOrEqual operator kind. - - - Wrapper for LessThan operator kind. - - - Wrapper for Modulo operator kind. - - - Wrapper for Multiply operator kind. - - - Wrapper for NotEqual operator kind. - - - Wrapper for Or operator kind. - - - Wrapper for Subtract operator kind. - - - - The text for this operator. - - - - - The precedence for this operator. - - - - - Whether it needs parentheses against other same operator. - - - - - Create a new BinaryOperator given its text, precedence, - and whether it needs parentheses against other same operator. - - The text for this operator. - The precedence for this operator in relative to other operators. - - Whether it needs parentheses - when nesting with other operators of same precedence. - - - - - Get the BinaryOperator wrapper for the given operatorKind. - - The kind to get wrapper for. - The binary operator for the specified . - - - - Whether it needs parentheses against other same operator. - - - - - The precedence for this operator. - - - - - The text for this operator. - - - - - Lexical token representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Create a new BinaryOperatorToken given the operator, left and right query. - - The operator represented by this node. - The left operand. - The right operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Enumeration of binary operators. - - - - - The logical or operator. - - - - - The logical and operator. - - - - - The eq operator. - - - - - The ne operator. - - - - - The gt operator. - - - - - The ge operator. - - - - - The lt operator. - - - - - The le operator. - - - - - The add operator. - - - - - The sub operator. - - - - - The mul operator. - - - - - The div operator. - - - - - The mod operator. - - - - - Class to handle writing an BinaryOperatorToken. - This class optimizes on reducing parentheses as base on operator precedence. - - - - - The parent ODataUriBuilder that invokes this binary operator builder. - - - - - Create a new BinaryOperatorToken for the given Uri builder to write BinaryOperatorToken. - - The parent builder of this builder. - - - - Write the given binary token as Uri part. - - To write as Uri part. - - - - Determine whether parentheses are needed around the left subtree base on the current operator. - - The current binary node's operator. - The left binary subtree. - True if need parenthese, false if not. - - - - Determine whether parentheses are needed around the right subtree base on the current operator. - - The current binary node's operator. - The right binary subtree. - True if need parentheses, false if not. - - - - Write the given binary token as Uri part. - - Whether parentheses are needed around the written expression. - To write as Uri part. - - - - Class containing definitions of all the built-in functions. - - - - - Dictionary of the name of the built-in function and all the signatures. - - - - - Returns a list of signatures for a function name. - - The name of the function to look for. - The list of signatures available for the function name. - true if the function was found, or false otherwise. - - - Builds a description of a list of function signatures. - Function name. - Function signatures. - A string with ';'-separated list of function signatures. - - - - Creates all of the spatial functions - - Dictionary of functions to add to. - - - - Builds the list of all built-in functions. - - Returns a dictionary of built in functions. - - - - Creates all string functions. - - Dictionary of functions to add to. - - - - Creates all date and time functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for date time functions. - - The array of signatures for a date time functions. - - - - Builds the set of signatures for timespan functions. - - The set of signatures for timespan functions. - - - - Creates all math functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for math functions. - - The array of signatures for math functions. - - - - Node representing a primitive constant value. - - - - - The primitive constant value. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - - - - - Create a ConstantNode - - This node's primitive value. - The literal text for this node's value, formatted according to the OData URI literal formatting rules. - Throws if the input literalText is null. - - - - Create a ConstantNode - - This node's primitive value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the primitive constant value. - - - - - Get or Set the literal text for this node's value, formatted according to the OData URI literal formatting rules. May be null if the text was not provided at construction time. - - - - - Gets the resouce type of the single value this node represents. - - - - - Gets the kind of the query node. - - - - - Node representing a conversion of primitive type to another type. - - - - - The source value to convert. - - - - - The target type that the source will be converted to. - - - - - Constructs a ConvertNode. - - The node to convert. - The type to convert the node to - Throws if the input source or typeReference is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Get the source value to convert. - - - - - Get the type we're converting to. - - - - - Get the kind of this node. - - - - - Query node representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Create a BinaryOperatorNode - - The binary operator type. - The left operand. - The right operand. - Throws if the left or right inputs are null. - Throws if the two operands don't have the same type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the left operand. - - - - - Gets the right operand. - - - - - Gets the resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Possible values of $inlinecount. - - - - - Do not include count in response. - - - - - Include the count of all entries in response. - - - - - Keyword enum values related to the URI query syntax - such as $metadata, $count, $value, etc. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - - Helper methods for with literals. - - - - - Parse the given text as a Geography literal. - - The text to parse. - The Geography object if succeeded, else a ParseErrorException is thrown. - - - - Parse the given text as a Geometry literal. - - The text to parse. - The Geometry object if succeeded, else a ParseErrorException is thrown. - - - - Convert to string the given Geography instance. - - Instance to convert. - Well-known text representation. - - - - Convert to string the given Geometry instance. - - Instance to convert. - Well-known text representation. - - - - The formatter to create/format text to and from spatial. - - - - - URI builder that constructes a from the parsed query tokens. - - - - - The query token to write to Uri. - - - - - The string builder to write the query token to. - - - - - Create a new Uri builder for the given token. - - The token to write out as Uri. - - - - Create a URI for the given queryDescriptor given the base service URI. - - The base service URI. - The query descriptor to create the result URI from. - An absolute URI that base on the baseUri and represent the queryDescriptor. - - - - Get the Uri string representation of the given CLR object literal. - - The object to return as literal. - Uri string represent if is a CLR literal. Throw exception if not. - - - - Write the descriptor token as URI part to this builder. - - To write as URI part. - - - - Append the given text to this builder. - - The text to append. - - - - Write the query token as URI part to this builder. - - To write as URI part. - - - - Write the Uri string representation of the given CLR object literal to the given builder. - - The to write the to. - The object to write as literal. - - - - Build the queryToken as Uri string part. - - The Uri part representing the queryToken. - - - - Write the binary token as URI part to this builder. - - To write as URI part. - - - - Write the function call token as URI part to this builder. - - To write as URI part. - - - - Writes a path to this builder. - - Array of segments. - - - - Write the literal token as URI part to this builder. - - To write as URI part. - - - - Write the orderby tokens as URI part to this builder. - - To write as URI part. - - - - Write the orderby token as URI part to this builder. - - To write as URI part. - - - - Write out a PathSegmentToken - - the pathSegmentToken to write. - - - - Write the property access token as URI part to this builder. - - To write as URI part. - - - - Write the navigation property token as URI part to this builder. - - To write as URI part. - - - - Write the given queryOption as Uri part. - - To write as URI part. - - - - Write ? or & depending on whether it is the start of the whole query or query part. - - True if start of whole query, false if not. - This is set to false after this method is called. - - - - Write the select token as URI part to this builder. - - To write as URI part. - - - - Write the expand token as URI part to this builder. - - To write as URI part. - - - - Write the star token as URI part to this builder. - - To write as URI part. - - - - Write the unary token as URI part to this builder. - - To write as URI part. - - - - Constants and utility methods for the OData URI builder. - - - - - The format for integer ToString output. - - - - - The format for float ToString output. - - - - - The format for byte ToString output. - - - - - The format for double ToString output. - - - - - The format for DateTime ToString output. - - - - - The format for DateTimeOffset ToString output. - - - - - The format for Decimal ToString output. - - - - - The format for Double ToString output. - - - - - Escape a string literal by replacing single ' with ''. - - Text to escape. - A string where all ' is replaced by ''. - - - - Returns the string representation of the inline count kind. - - The inline count kind to convert to string. - The string representation of the . - - - - Throw ODataException on the given QueryTokenKind as not supported for writing to Uri. - - QueryTokenKind that is not supported. - - - - Throw ODataException on the given CLR type as not supported for writing to Uri. - - CLR type that is not supported. - - - Use this class to perform late-bound operations on open properties. - This class was copied from the product. - - - MethodInfo for Add. - - - MethodInfo for AndAlso. - - - MethodInfo for Convert. - - - MethodInfo for Divide. - - - MethodInfo for Equal. - - - MethodInfo for GreaterThan. - - - MethodInfo for GreaterThanOrEqual. - - - MethodInfo for LessThan. - - - MethodInfo for LessThanOrEqual. - - - MethodInfo for Modulo. - - - MethodInfo for Multiply. - - - MethodInfo for Negate. - - - MethodInfo for Not. - - - MethodInfo for NotEqual. - - - MethodInfo for OrElse. - - - MethodInfo for Subtract. - - - MethodInfo for TypeIs. - - - MethodInfo for object OpenTypeMethods.GetValue(this object value, string propertyName). - - - Gets a named value from the specified object. - Object to get value from. - Name of property to get. - The requested value; null if not found. - - - Adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Performs logical and of two expressions. - Left value.Right value. - The result of logical and. - - - Divides two values. - Left value.Right value. - The divided value. - - - Checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Performs logical or of two expressions. - Left value.Right value. - The result of logical or. - - - Subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Negates (arithmetically) the specified value. - Value. - The negated value. - - - Negates (logically) the specified value. - Value. - The negated value. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference to check for. - True if value is-a type; false otherwise. - - - - Concats the given 2 string. - - first string. - second string. - returns a new instance of the concatenated string. - - - - Checks with the parameters are of string type, if no, then they throw. - Otherwise returns true if the target string ends with the given sub string - - target string - sub string - Returns true if the target string ends with the given sub string, otherwise return false. - - - - Returns the index of the given substring in the target string. - - target string - sub string to match - returns the index of the given substring in the target string if present, otherwise returns null. - - - - Returns the length of the given string value. If the value is not of string type, then it throws. - - value whose length needs to be calculated. - length of the string value. - - - - Replaces the given substring with the new string in the target string. - - target string - substring to be replaced. - new string that replaces the sub string. - returns a new string with the substring replaced with new string. - - - - Checks whether the target string starts with the substring. - - target string. - substring - returns true if the target string starts with the given sub string, otherwise returns false. - - - - Returns the substring given the starting index - - target string - starting index for the substring. - the substring given the starting index. - - - - Returns the substring from the target string. - - target string. - starting index for the substring. - length of the substring. - Returns the substring given the starting index and length. - - - - Checks whether the given string is a substring of the target string. - - substring to check for. - target string. - returns true if the target string contains the substring, otherwise returns false. - - - - Returns a copy of the target string converted to lowercase. - - target string - a new string instance with everything in lowercase. - - - - Returns a copy of the target string converted to uppercase. - - target string - a new string instance with everything in uppercase. - - - - Removes all leading and trailing white-space characters from the target string. - - target string. - returns the trimed string. - - - - Returns the year value of the given datetime. - - datetime object. - returns the year value of the given datetime. - - - - Returns the month value of the given datetime. - - datetime object. - returns the month value of the given datetime. - - - - Returns the day value of the given datetime. - - datetime object. - returns the day value of the given datetime. - - - - Returns the hour value of the given datetime. - - datetime object. - returns the hour value of the given datetime. - - - - Returns the minute value of the given datetime. - - datetime object. - returns the minute value of the given datetime. - - - - Returns the second value of the given datetime. - - datetime object. - returns the second value of the given datetime. - - - - Returns the ceiling of the given value - - decimal or double object. - returns the ceiling value for the given double or decimal value. - - - - returns the floor of the given value. - - decimal or double object. - returns the floor value for the given double or decimal value. - - - - Rounds the given value. - - decimal or double object. - returns the round value for the given double or decimal value. - - - Creates an expression that adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Creates a call expression that represents a conditional AND operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that divides two values. - Left value.Right value. - The divided value. - - - Creates an expression that checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Creates an expression that checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Creates an expression that checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Creates an expression that checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Creates an expression that checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Creates an expression that calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Creates an expression that multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Creates a call expression that represents a conditional OR operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Creates an expression that subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Creates an expression that negates (arithmetically) the specified value. - Value expression. - The negated value. - - - Creates an expression that negates (logically) the specified value. - Value expression. - The negated value. - - - - Returns the specified with a - type assignable to System.Object. - - Expression to convert. - - The specified with a type assignable - to System.Object. - - - - - Lexical token representing the parameter for an Any/All query. - - - - - The name of the Any/All parameter. - - - - - Create a new RangeVariableToken - - The name of the visitor for the Any/All query. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the parameter. - - - - - Lexical token representing a query option. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Create a new CustomQueryOptionToken given name and value. - - The name of the query option. - The value of the query option. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Helper methods for working with query tokens. - - - - - Try to parse the given string as a InlineCountKind. - - The string to be parsed. - A InlineCountKind value if successful. Null if not. - - - - Try to parse the given segment name as a KeywordKind. - - The segment name. - A KeywordKind value if successful. Null if not. - - - - Get the Uri name equivalent of the given KeywordKind. - - The KeywordKind to get name for. - A $ keyword that represent the given keyword. - - - - Lexical token representing a select operation. - - - - - The properties according to which to select the results. - - - - - Create a SelectToken given the property-accesses of the select query. - - The properties according to which to select the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to select the results. - - - - - Node representing a function call which returns a single value. - - - - - the name of this function. - - - - - The list of function imports - - - - - List of arguments to this function call. - - - - - The type of value returned by this function. - - - - - The semantically bound parent of this function - - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - List of arguments to this function call. - The type of value returned by this function. - Throws if the input name is null. - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - the list of functions to call - the list of arguments to this function - the type of the value returned by this function. - The semantically bound parent of this function. - Throws if the input functionImports is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call. - - - - - Gets the list of function imports. - - - - - Gets the list of arguments to this function call. - - - - - Gets The type of value returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Class representing a function signature using EDM types. - - - - The argument types for this function signature. - - - - Constructor taking all the argument types. - - The argument types for this function signature. - - - - The argument types for this function signature. - - - - - Class representing a function signature using EDM types. - - - - - The return type of this function signature. - - - - - Constructor taking all the argument types. - - The return type of this function signature. - The argument types for this function signature. - - - - The return type of this function signature. - - - - - Lexical token representing an all-properties access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a new StarToken given the NextToken (if any). - - The NextToken token to access the property on. Pass no if this property has no NextToken. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - the name of this token(inherited from PathToken), which in this case is always "*" - - - - - Helper methods for promoting argument types of operators and function calls. - - - Note that the lists of signatures are for matching primitive types to functions. - Equality (eq and ne) operators are a bit special since they are also defined for - entity and complex types. - - - - Function signatures for logical operators (and, or). - - - Function signatures for the 'not' operator. - - - Function signatures for arithmetic operators (add, sub, mul, div, mod). - - - Function signatures for relational operators (eq, ne, lt, le, gt, ge). - - - Function signatures for the 'negate' operator. - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type reference of left operand. - Type reference of right operand. - True if a valid function signature was found that matches the given types after any necessary promotions are made. - False if there is no binary operators - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type of the operand. - True if the type could be promoted; otherwise false. - - - Finds the best fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The best fitting function; null if none found or ambiguous. - - - Finds the exact fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The exact fitting function; null if no exact match was found. - - - Checks whether the source type is compatible with the target type. - Source type. - Target type. - true if source can be used in place of target; false otherwise. - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - Finds the best methods for the specified arguments given a candidate method enumeration. - The candidate function signatures. - The argument type references to match. - The number of "best match" methods. - - - Checks whether the specified method is applicable given the argument expressions. - The candidate function signature to check. - The argument types to match. - An applicable function signature if all argument types can be promoted; 'null' otherwise. - - - Promotes the specified expression to the given type if necessary. - The actual argument type. - The required type to promote to. - True if the could be promoted; otherwise false. - - - Finds the best applicable methods from the specified array that match the arguments. - The candidate function signatures. - The argument types to match. - Best applicable methods. - - - - Checks whether the type list has better argument matching against the - than the type list. - - Actual arguments types. - First type list to check. - Second type list to check. - - True if has better parameter matching than ; otherwise false. - - - - Checks which conversion is better. - Source type. - First candidate type to convert to. - Second candidate type to convert to. - - Return 1 if s -> t1 is a better conversion than s -> t2 - Return -1 if s -> t2 is a better conversion than s -> t1 - Return 0 if neither conversion is better - - - - - Tries to handle the special eq and ne operators, which have a broader definition than the other binary operators. - We try a few special cases and return true if we used one of them. Otherwise we return false, and - allow the regular function matching code to handle the primitive cases. - - Left type. - Right type. - True if this function was able to handle the promotion of these types, false otherwise. - - - Checks whether the specified type is a signed integral type. - Type reference to check. - true if is a signed integral type; false otherwise. - - - Checks whether the specified type is an unsigned integral type. - Type to check. - true if is an unsigned integral type; false otherwise. - - - Checks if the specified type is a decimal or nullable decimal type. - Type to check. - true if is either decimal or nullable decimal type; false otherwise. - - - Checks if the specified type is either double or single or the nullable variants. - Type to check. - true if is double, single or nullable double or single; false otherwise. - - - Gets a flag for the numeric kind of type. - Type to get numeric kind for. - The of the argument. - - - Numeric type kinds. - - - A type that is not numeric. - - - A type that is a char, single, double or decimal. - - - A type that is a signed integral. - - - A type that is an unsigned integral. - - - - Extension methods to make it easier to work with PropertyInfo objects on a type. - - - - - Gets the property info for the EDM property on the specified type. - - The type to get the property on. - Property instance to get the property info for. - Model containing annotations. - Returns the PropertyInfo object for the specified property. - The method searches this type as well as all its base types for the property. - - - - Annotation stored on a type to hold PropertyInfo objects for its properties. - - - - - Cache of property info objects already created for properties on the type the annotation is on. - - - - - Gets the property info annotation for the specified type or creates a new one if it doesn't exist. - - The type to get the annotation for. - The model containing annotations. - The property info annotation. - - - - Gets the property info for the EDM property declared on this type. - - The structured type to get the property on. - Property instance to get the property info for. - The model containing annotations. - Returns the PropertyInfo object for the specified EDM property. - - - - Node representing an access to a property value. - - - - - The value containing this property. - - - - - The EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Constructs a . - - The value containing this property. - The EDM property which is to be accessed. - Throws if input source or property is null. - Throws if input property is not structural, or is a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Node representing a type segment that casts a single entity parent node. - - - - - The entity that we're casting to a different type. - - - - - The target type that the source is cast to. - - - - - The EntitySet containing the source entity. - - - - - Created a SingleEntityCastNode with the given source node and the given type to cast to. - - Source that is being cast. - Type to cast to. - Throws if the input entityType is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the entity that we're casting to a different type. - - - - - Gets the target type that the source is cast to. - - - - - Gets the target type that the source is cast to. - - - - - Gets the EntitySet containing the source entity.. - - - - - Gets the kind of this query node. - - - - - Lexical token representing a type segment. - - - - - The Identifier of the type segment. - - - - - The parent segment. - - - - - Create a TypeSegmentQueryToken given the Identifier and the parent (if any) - - The Identifier of the type segment, including the namespace. - The parent segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The full name of the type. - - - - - The parent. - - - - - Node representing a unary operator. - - - - - The operand of the unary operator. - - - - - The operator represented by this node. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Creates a UnaryOperatorNode - - the kind of operator this node represents - the operand that this operator modifies - Throws if the input operand is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the operand of the unary operator. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this query node. - - - - - Helper methods for working with query nodes. - - - - - Checks whether a query node is a collection query node representing a collection of entities. - - The to check. - The converted or null if is not an entity collection node. - - - - Checks whether a query node is a collection query node representing a collection. - - The to check. - The converted or null if is not a collection node. - - - - Compute the result type of a binary operator based on the type of its operands and the operator kind. - - The type reference of the operators. - The kind of operator. - The result type reference of the binary operator. - - - Use this class to parse an expression in the OData URI format. - - Literals (non-normative "handy" reference - see spec for correct expression): - Null null - Boolean true | false - Int32 (digit+) - Int64 (digit+)(L|l) - Decimal (digit+ ['.' digit+])(M|m) - Float (digit+ ['.' digit+][e|E [+|-] digit+)(f|F) - Double (digit+ ['.' digit+][e|E [+|-] digit+) - String "'" .* "'" - DateTime datetime"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]"'" - DateTimeOffset datetimeoffset"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]-dd:mm"'" - Time time"'"dd:mm[ss[.fffffff]]"'" - Binary (binary|X)'digit*' - GUID guid'digit*' - - - - - For an identifier, EMD supports chars that match the regex [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}] - IsLetterOrDigit covers Ll, Lu, Lt, Lo, Lm, Nd, this set covers the rest - - - - Text being parsed. - - - Length of text being parsed. - - - flag to indicate whether to delimit on a semicolon. - - - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - Position on text being parsed. - - - Character being processed. - - - Token being processed. - - - Lexer ignores whitespace - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - - Determines if the next token can be processed without error without advancing the token. - - The next ExpressionToken. This value is undefined if error is defined. - Exception generated from trying to process the next token. - True if the next token can be processed, false otherwise. - - - Reads the next token, skipping whitespace as necessary, advancing the Lexer. - The next token. - Throws on error. - - - - Starting from an identifier, reads a sequence of dots and - identifiers, and returns the text for it, with whitespace - stripped. - - do we allow a star in this identifier - The dotted identifier starting at the current identifier. - - - Returns the next token without advancing the lexer. - The next token. - - - - Check whether the current identifier is a function. If so, expand the token text to the function signature - - True if the current identifier is a function call - - - Validates the current token is of the specified kind. - Expected token kind. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - Reads the next token, skipping whitespace as necessary. - Error that occurred while trying to process the next token. - The next token, which may be 'bad' if an error occurs. - - - - Expand the token selection if the next token matches the input token - - the list of token id to match - true if matched - - - Handles lexemes that are formed by an identifier followed by a quoted string. - This method modified the token field as necessary. - - - Advanced to the next character. - - - Parses a token that starts with a digit. - The kind of token recognized. - - - - Parses white spaces - - - - - Parses a complex value - - the starting delimiter - the ending delimiter. - - - - Advance the pointer to the next occurance of the given value, swallowing all characters in between. - - the ending delimiter. - - - Parses an identifier by advancing the current character. - - - Sets the text position. - New text position. - - - Validates the current character is a digit. - - - Token being processed. - - - Text being parsed. - - - Position on text being parsed. - - - - Gets if the current char is whitespace. - - - - - Gets if the current char is digit. - - - - - Is the current char a valid starting char for an identifier. - Valid starting chars for identifier include all that are supported by EDM ([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}]) and '_'. - - - - - Is the current char a valid non-starting char for an identifier. - Valid non-starting chars for identifier include all that are supported - by EDM [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}]. - This list includes '_', which is ConnectorPunctuation (Pc) - - - - This class implements IEqualityComparer for UnicodeCategory - - Using this class rather than EqualityComparer<T>.Default - saves from JIT'ing it in each AppDomain. - - - - - Checks whether two unicode categories are equal - - first unicode category - second unicode category - true if they are equal, false otherwise - - - - Gets a hash code for the specified unicode category - - the input value - The hash code for the given input unicode category, the underlying int - - - Use this class to represent a lexical expression token. - - - Token representing gt keyword - - - Token representing eq keyword - - - Token representing lt keyword - - - InternalKind of token. - - - Token text. - - - Position of token. - - - Provides a string representation of this token. - String representation of this token. - - - Gets the current identifier text. - The current identifier text. - - - Checks that this token has the specified identifier. - Identifier to check. - true if this is an identifier with the specified text. - - - Checks whether this token is a comparison operator. - - - Checks whether this token is an equality operator. - - - Checks whether this token is a valid token for a key value. - - - Checks whether this token is a valid token for a function parameter. - - - Enumeration values for token kinds. - - - Unknown. - - - End of text. - - - '=' - equality character. - - - Identifier. - - - NullLiteral. - - - BooleanLiteral. - - - StringLiteral. - - - IntegerLiteral. - - - Int64 literal. - - - Single literal. - - - DateTime literal. - - - DateTimeOffset literal. - - - Time literal. - - - Decimal literal. - - - Double literal. - - - GUID literal. - - - Binary literal. - - - Geography literal. - - - Geometry literal. - - - Exclamation. - - - OpenParen. - - - CloseParen. - - - Comma. - - - Colon. - - - Minus. - - - Slash. - - - Question. - - - Dot. - - - Star. - - - SemiColon - - - ParameterAlias - - - A Brace BracketedExpression is an expression within brackets or braces. It contains a JSON object or array. - - - - Lexical token representing a function call. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - the source token for this function call - - - - - Create a new FunctionCallToken using the given function name and argument values. - - The name of the function to call. - The argument values for the function. - - - - Create a new FunctionCallToken using the given function name and parameter tokens. - - The name of the function to call. - The arguments for the function. - The syntactically bound parent of this function - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - The syntactically bound parent of this function. - - - - - Node representing a key lookup on a collection. - - - - - The collection that this key is referring to. - - - - - The EntitySet containing the collection this key referrs to. - - - - - The resouce type of the single value the key referrs to. - - - - - List of the properties and their values that we use to look up our return value. - - - - - Constructs a KeyLookupNode. - - The collection that this key is referring to. - List of the properties and their values that we use to look up our return value. - Throws if the input source is null. - - - - Gets the collection that this key is referring to. - - - - - Gets the list of the properties and their values that we use to look up our return value. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the EntitySet that contains the collection this key referrs to. - - - - - Gets the kind for this node. - - - - - Class representing a single key property value in a key lookup. - - - - - Gets or sets the key property. - - - - - Gets or sets the value of the key property. - - - - - Class representing a single named value (name and value pair). - - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Create a new NamedValue lookup given name and value. - - The name of the value. Or null if the name was not used for this value. - The value - a literal. - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Lexical token representing a literal value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - The value of the literal. This is a parsed primitive value. - - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - The original text value of the literal. - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The value of the literal. This is a parsed primitive value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Binder which applies metadata to a lexical QueryToken tree and produces a bound semantic QueryNode tree. - - - - - Encapsulates the state of the metadate binding. - - - - - Constructs a MetadataBinder with the given . - This constructor gets used if you are not calling the top level entry point ParseQuery. - This is an at-your-own-risk constructor, since you must provide valid initial state. - - The initialState to use for binding. - - - - Processes the skip operator (if any) and returns the combined query. - - The skip amount or null if none was specified. - the skip clause - - - - Processes the top operator (if any) and returns the combined query. - - The top amount or null if none was specified. - the top clause - - - - Process the remaining query options (represent the set of custom query options after - service operation parameters and system query options have been removed). - - the current state of the binding algorithm. - pointer to a binder method. - The list of instances after binding. - - - - Visits a in the lexical tree and binds it to metadata producing a semantic . - - The query token on the input. - The bound query node output. - - - - Bind a function parameter token - - The token to bind. - A semantically bound FunctionCallNode - - - - Binds a InnerPathToken. - - Token to bind. - Either a SingleNavigationNode, CollectionNavigationNode, SinglePropertyAccessNode (complex), - or CollectionPropertyAccessNode (primitive or complex) that is the metadata-bound version of the given token. - - - - Binds a parameter token. - - The parameter token to bind. - The bound query node. - - - - Binds a literal token. - - The literal token to bind. - The bound literal token. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Binds a type startPath token. - - The type startPath token to bind. - The bound type startPath token. - - - - Binds a LambdaToken. - - The LambdaToken to bind. - A bound Any or All node. - - - - Binds a property access token. - - The property access token to bind. - The bound property access token. - - - - Binds a function call token. - - The function call token to bind. - The bound function call token. - - - - Encapsulates the state of the metadate binding. - - - - - Delegate for a function that visits a QueryToken and translates it into a bound QueryNode. - TODO : Eventually replace this with a real interface for a visitor. - - QueryToken to visit. - Metadata bound QueryNode. - - - - Enumeration of order by directions. - - - - - Ascending order. - - - - - Descending order. - - - - - Lexical token representing an order by operation. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Create a new OrderByToken given the expression and direction - - The expression according to which to order the results. - The direction of the ordering. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Lexical token representing the last segment in a path. - - - - - The Identifier of the property to access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a EndPathToken given the Identifier and the NextToken (if any) - - The Identifier of the property to access. - The NextToken token to access the property on. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - The Identifier of the property to access. - - - - - The root node of a query. Holds the query itself plus additional metadata about the query. - - - - - The top level path for this Uri. - - - - - Any custom query options for this Uri. - - - - - Any select or expand options in this uri. Can be null. - - - - - Any filter option in this uri. Can be null. - - - - - Any order by option in this uri. Can be null. - - - - - Any skip option in this uri. Can be null. - - - - - Any top option in this uri. Can be null. - - - - - Any inline count option in this uri. Can be null. - - - - - Create a new ODataUri. This contains the semantic meaning of the - entire uri. - - The top level path for this uri. - Any custom query options for this uri. Can be null. - Any $select or $expand option for this uri. Can be null. - Any $filter option for this uri. Can be null. - Any $orderby option for this uri. Can be null - Any $skip option for this uri. Can be null. - Any $top option for this uri. Can be null. - Any $inlinecount option for this uri. Can be null. - - - - Gets the top level path for this uri. - - - - - Gets any custom query options for this uri. - - - - - Gets any $select or $expand option for this uri. - - - - - Gets any $filter option for this uri. - - - - - Gets any $orderby option for this uri. - - - - - Gets any $skip option for this uri. - - - - - Gets any $top option for this uri. - - - - - Get any $inlinecount option for this uri. - - - - - Lexical token representing the entire query. - - - - - The default setting for the max depth. - - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Create a new SyntacticTree given its parts as arguments. - - The path for the query. Must not be null. - The filter for the query. If the property is null, there's no filter for this query. - Enumeration of order by tokens. - The select for the query. If the property is null, there's no select for this query. - The expansions for the query. If the property is null, there are no expandsion for this query. - The number of entities to skip in the result. - The (maximum) number of entities to include in the result. - Type of inlinecount in the response of the query. - The format for the query. - The query options for the query. - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - A new instance of which represents the query specified in the . - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - The maximum depth of any single query part. Security setting to guard against DoS attacks causing stack overflows and such. - A new instance of which represents the query specified in the . - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Public enumeration of kinds of query nodes. A subset of InternalQueryNodeKind - - - - - No query node kind... the default value. - - - - - A constant value. - - - - - A node that represents conversion from one type to another. - - - - - Non-entity node referencing a range variable. - - - - - Node used to represent a binary operator. - - - - - Node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection of entities. - - - - - Placeholder node referencing a rangeVariable on the binding stack that references an entity. - - - - - Node the represents a function call that returns a single entity. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - Internal enumeration of kinds of query nodes. A superset of QueryNodeKind - - - - - none... default value. - - - - - The constant value. - - - - - A node that signifies the promotion of a primitive type. - - - - - Non-entity node referencing a range variable. - - - - - Parameter node used to represent a binary operator. - - - - - Parameter node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection. - - - - - Entity node referencing a range variable. - - - - - SingleEntityFunctionCall node. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - The entity set node. - - - - - The key lookup on a collection. - - - - - Helper methods for working with query options. - - - - - Returns a query option value by its name and removes the query option from the collection. - - The collection of query options. - The name of the query option to get. - The value of the query option or null if no such query option exists. - - - - Node representing an entity set. - TODO : This should be deleted but it is used in many, many tests. - - - - - The entity set this node represents. - - - - - The resouce type of a single entity in the entity set. - - - - - the type of the collection returned by this function - - - - - Creates an - - The entity set this node represents - Throws if the input entitySet is null. - - - - Gets the resouce type of a single entity in the entity set. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity in the entity set. - - - - - Gets the entity set this node represents. - - - - - Gets the kind for this node. - - - - - Parser which consumes the URI format of primitive types and converts it to primitive types. - - - - Whitespace characters to trim around literals. - - - Determines whether the specified character is a valid hexadecimal digit. - Character to check. - true if is a valid hex digit; false otherwise. - - - Converts a string to a primitive value. - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of the WebConvert.TryKeyStringToPrimitive - - - - Try to parse a string value into a non-negative integer. - - The string value to parse. - The non-negative integer value parsed from the . - True if could successfully be parsed into a non-negative integer; otherwise returns false. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - Whether quotes were successfully removed. - Copy of WebConvert.TryRemoveQuotes. - - - - Converts a string to a byte[] value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToByteArray. - - - - Converts a string to a GUID value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToGuid. - - - - Converts a string to a DateTime value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTime. - - - - Converts a string to a DateTimeOffset value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTimeOffset. - - - - Converts a string to a Time value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToTime. - - - - Try to parse the given text to a Geography object. - - Text to parse. - Geography to return. - True if succeeds, false if not. - - - - Try to parse the given text to a Geometry object. - - Text to parse. - Geometry to return. - True if succeeds, false if not. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Checks whether the specified text is a correctly formatted quoted value. - - Text to check. - true if the text is correctly formatted, false otherwise. - Copy of WebConvert.IsKeyValueQuoted. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - The specified with single quotes removed. - Copy of WebConvert.RemoveQuotes. - - - - Returns the 4 bits that correspond to the specified character. - - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - This is a copy of WebConvert.HexCharToNibble. - - - - Enumeration of kinds of query tokens. - - - - - The binary operator. - - - - - The unary operator. - - - - - The literal value. - - - - - The function call. - - - - - The property access. - - - - - The order by operation. - - - - - A query option. - - - - - The Select query. - - - - - The *. - - - - - The Expand query. - - - - - Type segment. - - - - - Any query. - - - - - Non root segment. - - - - - type segment. - - - - - Parameter token. - - - - - All query. - - - - - ExpandTerm Token - - - - - FunctionParameterToken - - - - - FunctionParameterAlias - - - - - RawFunctionParameterValue - - - - - Lexical token representing a unary operator. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Create a new UnaryOperatorToken given the operator and operand - - The operator represented by this node. - The operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Enumeration of binary operators. - - - - - The unary - operator. - - - - - The not operator. - - - - - Constant values related to the URI query syntax. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A filter query option name. - - - An order by query option name. - - - A select query option name. - - - An expand query option name. - - - A skip query option name. - - - A valid value to denote all-properties access. - - - A top query option name. - - - A inline-count query option name. - - - A format query option name. - - - - Parser which consumes the query expression ($filter, $orderby) and produces the lexical object model. - - - - - The maximum number of recursion nesting allowed. - - - - - Set of parsed parameters - - - - - The current recursion depth. - - - - - The lexer being used for the parsing. - - - - - Constructor. - - The maximum depth of each part of the query - a recursion limit. - - - - Parses a literal. - - The lexer to use. - The literal query token or null if something else was found. - - - - Parses the $filter expression. - - The $filter expression string to parse. - The lexical token representing the filter. - - - - Parses the $orderby expression. - - The $orderby expression string to parse. - The enumeraion of lexical tokens representing order by tokens. - - - - Creates a new for the given filter or orderby expression. - - The expression. - The lexer for the expression, which will have already moved to the first token. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Parses typed literals. - - The lexer to use. - Expected type to be parsed. - The EDM type name of the expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses null literals. - - The lexer to use. - The literal token produced by building the given literal. - - - - Parses the expression. - - The lexical token representing the expression. - - - - Parses the or operator. - - The lexical token representing the expression. - - - - Parses the and operator. - - The lexical token representing the expression. - - - - Parses the eq, ne, lt, gt, le, ge operators. - - The lexical token representing the expression. - - - - Parses the add, sub operators. - - The lexical token representing the expression. - - - - Parses the mul, div, mod operators. - - The lexical token representing the expression. - - - - Parses the -, not unary operators. - - The lexical token representing the expression. - - - - Parses the primary expressions. - - The lexical token representing the expression. - - - - Handles the start of primary expressions. - - The lexical token representing the expression. - - - - Parses parenthesized expressions. - - The lexical token representing the expression. - - - - Parses the Any portion of the query - - The parent of the Any node. - The lexical token representing the Any query. - - - - Parses the All portion of the query - - The parent of the All node. - The lexical token representing the All query. - - - - Parses the Any/All portion of the query - - The parent of the Any/All node. - Denotes whether an Any or All is to be parsed. - The lexical token representing the Any/All query. - - - - Parses a segment. - - The parent of the segment node. - The lexical token representing the segment. - - - - Checks that the current token has the specified identifier. - - Identifier to check. - true if the current token is an identifier with the specified text. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - Delegate for a function that parses an expression and translates it into a QueryToken. - - A QueryToken - - - - Parser which consumes the URI path and produces the lexical object model. - - - - - The maximum number of segments allowed. - - - - - Constructor. - - The maximum number of segments for each part of the query. - - - - Parses the and returns a list of strings for each segment. - - The relative URI which holds the query to parse. - a list of strings for each segment in the uri. - - - - Returns list of segments in the specified path (eg: /abc/pqr -> abc, pqr). - - The absolute URI of the request. - The service base URI for the request. - List of unescaped segments. - - - - Class that knows how to bind unary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a UnaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Get the promoted type reference of the operand - - the operand - the operator kind - the type reference of the operand - - - - Retrieve SingleValueNode operand from given token. - - The token - the SingleValueNode operand - - - - Node representing a single navigation property. - - - - - The entity set that this NavigationProperty targets. - - - - - The previous node in the path. - - - - - The navigation property this node represents. - - - - - The type of entity that this NavigationProperty targets. - - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The previous node in the path. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The entity set that this of the previous segment. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the previous node in the path. - - - - - Gets the navigation property this node represents. - - - - - Gets the target multiplicity. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the entity set that this NavigationProperty targets. - - - - - Gets the kind of this query node. - - - - - Uri utility methods. - - - - - Determines whether the Uri instance is a - base of the specified Uri instance. - - - The check is host agnostic. For example, "http://host1.com/Service.svc" is a valid base Uri of "https://host2.org/Service.svc/Bla" - but is not a valid base for "http://host1.com/OtherService.svc/Bla". - - The candidate base URI. - The specified Uri instance to test. - true if the baseUri Uri instance is a base of uri; otherwise false. - - - - Parses query options from a specified URI into a dictionary. - - The uri to get the query options from. - The parsed query options. - This method returns with all the query options. - Note that it is valid to include multiple query options with the same name. - - - - is this selection item a structural or navigation property selection item. - - the selection item to check - true if this selection item is a structural property selection item. - - - Creates a URI suitable for host-agnostic comparison purposes. - URI to compare. - URI suitable for comparison. - - - - Check whether the Uri is the base of the Uri. - - The candidate base Uri. - The Uri to check. - True if the is the base of the Uri. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in the ATOM and Verbose JSON formats. - - - - - Class to validate and resolve the type name to be serialized. - - - - - Validates a type name to ensure that it's not an empty string and resolves it against the provided . - - The model to use. - The type name to validate. - The expected type kind for the given type name. - The type with the given name and kind if a user model was available, otherwise null. - - - - Resolves and validates the Edm type for the given . - - The model to use. - The type inferred from the model or null if the model is not a user model. - The value in question to resolve the type for. - true if the type name belongs to an open property, false otherwise. - A type for the or null if no metadata is available. - - - - Gets the type name from the given . - - The value to get the type name from. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type name for the given . - - - - Resolve a type name against the provided . If not payload type name is specified, - derive the type from the model type (if available). - - The model to use. - The type inferred from the model or null if the model is not a user model. - The type name to be resolved. - The expected type kind of the resolved type. - True if the type name belongs to an open property. - A type for the or null if no type name is specified and no metadata is available. - - - - Validates that the (optional) is the same as the (optional) . - - The (optional) type from the metadata definition (the expected type). - The (optional) type from the value (the actual type). - The type as derived from the and/or . - - - - Determines the type name for the given entry to write to the payload. - - The ODataEntry whose type name is to be written - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name for the given value to write to the payload. - - The value whose type name is to be written. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type resolved from the value. - The serialization type name annotation. - true if the type name belongs to an open property, false otherwise. - Returns the item type name of the collection type if is a collection value and its type name can be determined. - Type name to write to the payload, or null if no type should be written. - - - Atom metadata description for a categories element (app:categories). - - - Gets or sets a value that indicates whether the list of categories is fixed or an open set. - true if the list of categories is fixed; false if the list of categories is an open set. - - - Gets or sets the URI indicating the scheme of the categories without a scheme. - The URI indicating the scheme of the categories without a scheme. - - - Gets or sets the URI of the category document. - The URI of the category document. - - If this property is not null, the properties and must be both null - and the must be either null or empty collection. - - - - Gets or sets the atom category elements inside this categories element. - The atom category elements inside this categories element. - - - - Class responsible for storing and manipulating instance annotation data in ATOM payloads. - - - - - Backing field of the Target property. - - - - - Backing field of the Term property. - - - - - Backing field of the Value property. - - - - - Constructor. - - The target of the annotation. - The term whose value is being expressed through this annotation. - The annotation's value. - - - - Creates a new instance of this class by consuming xml from the given reader. - Creates an Atom-specific instance annotation from the format-independent representation of an annotation. - - The format-independent represetnation of an instance annotation. - The value of the target attribute on the m:annotation element, or null if the attribute should be omitted. - The created AtomInstanceAnnotation. - - - - Creates a new instance of this class by consuming xml from the given input context. - - The input context to use to create the annotation. - The property and value deserializer to use when reading values in the annotation element content. - The populated with the information from the 'm:annotation' XML element, as long as the value is a string. Returns null otherwise. - - Pre-Condition: XmlNodeType.Element - The annotation element to read. - Post-Condition: XmlNodeType.Any - The node after the end of the annotation element, or the same element as in the pre-condition if the annotation was skipped. - - - - - Retrieves the name of the attribute used in attribute value notation to indicate the given primitive type kind. - - The primitive type kind to look up. - The name of the corresponding attribute. - - - - Retrieves the Edm type represented by the given attribute name when using attribute value notation. - - The name of the attribute (must be one of "string", "int", "bool", "decimal", "float") - A nullable reference to the type represented by the attribute name, or null if the given name is not a valid attribute value notation name. - - - - Reads the current element's content as an ODataValue. - - The property and value deserializer to use to read values in ATOM. - The expected type of the annotation, may be null if the term is not defined in the model. - The deserialized value. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Reads an annotation's value from the annotation value notation specified on the current element. - - The expected type reference of the vocabulary term from the metadata. - The type reference indicated by the name of the attribute used in attribute value notation. - For example, if the attribute was called "string", this will be a reference to the string type. - The name of the attribute used by attribute avalue notation. - The value of the attribute used by attribute value notation. - The value of the "m:type" attribute on the annotation element. - true if the annotation element is empty, false otherwise. - The edm model instance. - The message reader settings instance. - The payload version to read. - The primitive value represented on this element via attribute value notation. - - - - The target of this annotation, as specified in the m:annotation/@target attribute. - - - - - The term of this annotation's value, as specified in the m:annotation/@term attribute. - - - - - The value of this annotation. - - - - - True if the annotation is targeting the xml element in which the annotation was found; false if the annotation is targeting a different element. - - - - - Xml writer which wraps another writer and fixes prefixes so that the root element is not prefix-qualified (same for everything else with the same prefix). - - - - - The wrapped writer. - - - - - The root prefix, once the first element of the document has been written. - - - - - Initializes a new instance of . - - The writer to wrap. - - - - Copies everything from the object to the writer. The position of the remains unchanged. - - The to copy from. - true to copy the default attributes; otherwise, false. - is null. - - - - When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. - - The to read from. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - contains invalid characters. - - - - When overridden in a derived class, writes out all the attributes found at the current position in the . - - The XmlReader from which to copy the attributes. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - The reader is not positioned on an element, attribute or XmlDeclaration node. - - - - When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. - - - The matching prefix or null if no matching namespace URI is found in the current scope. - - The namespace URI whose prefix you want to find. - is either null or String.Empty. - - - - When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). - - The name to write. - is not a valid NmToken; or is either null or String.Empty. - - - - When overridden in a derived class, closes this stream and the underlying stream. - - A call is made to write more output after Close has been called or the result of this call is an invalid XML document. - - - - When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The writer is closed or in error state. or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a string. - - String containing the text to write. - is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. - The number of bytes to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a character buffer. - - Character array containing the text to write. The position within the buffer indicating the start of the text to write. - The number of characters to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes text one buffer at a time. - - Character array containing the text to write. The position in the buffer indicating the start of the text to write. - The number of characters to write. - is null. - or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. - The parameter value is not valid. - - - - When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. - - The low surrogate. This must be a value between 0xDC00 and 0xDFFF. - The high surrogate. This must be a value between 0xD800 and 0xDBFF. - An invalid surrogate character pair was passed. - - - - When overridden in a derived class, writes the given text content. - - The text to write. The text string contains an invalid surrogate pair. - - - - When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. - - The namespace prefix of the attribute. The local name of the attribute. - The namespace URI for the attribute. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes the previous call. - - - - - When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. - - The text to place inside the CDATA block. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a comment <!--...--> containing the specified text. - - Text to place inside the comment. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. - - The name of the processing instruction. - The text to include in the processing instruction. - The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. - - - - When overridden in a derived class, writes out an entity reference as &name;. - - The name of the entity reference. - is either null or String.Empty. - - - - When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. - - The Unicode character for which to generate a character entity. - The character is in the surrogate pair character range, 0xd800 - 0xdfff. - - - - When overridden in a derived class, writes out the given white space. - - The string of white space characters. - The string contains non-white space characters. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0". - - This is not the first write method called after the constructor. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. - - If true, it writes "standalone=yes"; if false, it writes "standalone=no". - This is not the first write method called after the constructor. - - - - When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. - - The XML document is invalid. - - - - When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. - - The name of the DOCTYPE. This must be non-empty. - If non-null it also writes public override "pubid" "sysid" where and are replaced with the value of the given arguments. - If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. - If non-null it writes [subset] where subset is replaced with the value of this argument. - This method was called outside the prolog (after the root element). - The value for would result in invalid XML. - - - - When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. - - The namespace prefix of the element. The local name of the element. - The namespace URI to associate with the element. - The writer is closed. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - This results in an invalid XML document. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - - - - When overridden in a derived class, gets the current xml:lang scope. - - - The current xml:lang scope. - - - - - When overridden in a derived class, gets the state of the writer. - - - One of the values. - - - - - When overridden in a derived class, gets an representing the current xml:space scope. - - - An XmlSpace representing the current xml:space scope. - - - - - Gets the object used to create this instance. - - - The object used to create this writer instance. - - - - - Responsible for reading the annotation element in ATOM. - - - - - The input context to use when parsing the annotation element. - - - - Atomized string representation of the URI used for the OData metadata namespace. - - - Atomized name of the decimal attribute of an annotation element. - - - The property and value deserializer used to read values in ATOM. - - - - Creates a new ATOM annotation parser. - - The input context this annotation reader should use to read annotation elements. - The property and value deserializer to use to read the value of an annotation element. - - - - Attempts to read the current element as an annotation element. - - If this method returned true, this is the instance annotation information from the parsed element. - true if the element was an annotation element, false if it wasn't. - - Pre-Condition: XmlNodeType.Element - The element to read. - Post-Condition: XmlNodeType.EndElement - The end tag of the element (if the element was a non-empty annotation element). - XmlNodeType.Element - The same element as the pre-condition if this method returned false, or an empty annotation element. - - - - - OData ATOM deserializer for detecting the payload kind of an ATOM payload. - - - - - OData ATOM deserializer for properties and value types. - - - - - Base class for all OData ATOM deserializers. - - - - - Base class for all OData deserializers. - - - - The input context to use for reading. - - - - Constructor. - - The input context to read from. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message reader settings. - - - - - The OData version of the input. - - - - - true if the input is a response payload; false if it's a request payload. - - - - - The model to use. - - - - The ATOM input context to use for reading. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadStart(). - - - - - Reads till the end of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadEnd(). - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - An absolute URI to report. - - - - Given a string representation of a URI from the payload, this method will return an absolute or relative URI. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - If true, then this method will try to make the URI absolute, or fail otherwise. - An absolute or relative URI to report based on the value of the parameter. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - True if an empty element node should be added to the list. - The node types which should appear at this point. - - - - The XML reader to read the input from. - - - - - The ATOM input context to use for reading. - - - - The empty namespace used for attributes in no namespace. - - - OData attribute which indicates the null value for the element. - - - Element name for the items in a Collection. - - - XML element name to mark type attribute in Atom. - - - The Edm.String type from the core model. - - - The current recursion depth of values read by this deserializer, measured by the number of complex and collection values read so far. - - - - Constructor. - - The ATOM input context to read from. - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type of the property to read. - An representing the read property. - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Determines the kind of value to read based on the payload shape. - - The kind of type of the value to read. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - Post-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - - - - - Reads the 'type' and 'isNull' attributes of a value. - - The value of the 'type' attribute or null if no 'type' attribute exists. - The value of the 'isNull' attribute or null if no 'isNull' attribute exists. - - Pre-Condition: XmlNodeType.Element - The element to read attributes from. - Post-Condition: XmlNodeType.Element - The element to read attributes from. - - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The name of the property whose value is being read, if applicable (used for error reporting). - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Read a null value from the payload. - - The expected type reference (for validation purposes). - true to validate the value against the . - The name of the property whose value is being read, if applicable (used for error reporting). - The null value. - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads undeclared property in an element (primitive type value, or null value of complex type) - - The result ODataProperty. - - - - Reads a property. - - The expected property name to be read from the payload (or null if no expected property name was specified). - The expected type reference of the property value. - Behavior to use when reading null value for the property. - Whether any EPM mappings exist. - The ODataProperty representing the property in question; if null is returned from this method it means that the property is to be ignored. - - Pre-Condition: XmlNodeType.Element - The XML element representing the property to read. - Note that the method does NOT check for the property name neither it resolves the property against metadata. - Post-Condition: Any - The node after the property. - - - - - Read a primitive value from the reader. - - The type of the value to read. - The value read from the payload and converted as appropriate to the target type. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a complex value from the reader. - - The type reference of the value to read (or null if no type is available). - The name of the type specified in the payload. - The serialization type name for the complex value (possibly null). - The duplicate property names checker to use (cached), or null if new one should be created. - Whether any EPM mappings exist. - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.EndElement - the element has been read. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a collection from the reader. - - The type of the collection to read (or null if no type is available). - The name of the collection type specified in the payload. - The serialization type name for the collection value (possibly null). - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Constructor. - - The ATOM input context to read from. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - This method decides the payload kind based on the fully-qualified element name of the top-level Xml element - in the payload for entry, feed, entity reference link, error and service document payload kinds. It performs more checks - for properties and collection payloads as follows: - * If an m:type attribute is found => property - * If an m:null attribute is found => property - Otherwise the shape of the payload decides: - * If we only find d:element child nodes => collection or property - * If we find no child nodes => primitive property - * If we find anything else => complex property - - - - - Detects whether the current element represents a property payload, a collection payload or neither. - - An enumerable of zero, one or two payload kinds depending on whether a property, collection, both or neither were detected. - - - - OData ATOM serializer for collections. - - - - - OData ATOM serializer for properties and values. - - - - - Base class for all OData ATOM serializers. - - - - - Base class for all OData serializers. - - - - - The output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Validates association link before writing. - - The association link to validate. - The entity type of the entry the association link belongs to. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message writer settings. - - - - - The URL resolver. - - - - - The OData version of the output. - - - - - true if the output is a response payload; false if it's a request payload. - - - - - The model to use. - - - - - The ATOM output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - If set to true then this method will fail if the uri specified by is relative - and no base uri is specified. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Start writing an ATOM payload. - - - - - Finish writing an ATOM payload. - - This method MUST NOT be called after writing an in-stream error - as it would fail on unclosed elements (or try to close them). - - - - Writes a top-level error payload. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Write the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - An enumeration value to indicate what default namespace attributes to write. - - - - Writes the count. - - Count value. - True if the namespace declaration for the metadata namespace should be included; otherwise false. - - - - Write the base Uri of the document (if specified) and the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes an Xml element with empty content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - - - - Returns the which is to be used to write the content of the message. - - - - - The ODataAtomOutputContext used by the serializer. - - - - - Flags to describe a set of default namespaces. - - - - No namespaces. - - - OData namespace. - - - OData metadata namespace. - - - ATOM namespace - - - GeoRss namespace. - - - GML namespace. - - - All default namespaces. - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Writes a single property in ATOM format. - - The property to write out. - - - - Writes a collection of instance annotations in ATOM format. - - Instance annotation collection to write. - The tracker to track which instance annotations have been written. - - - - Writes a single instance annotation in ATOM format. - - The instance annotation to write. - - - - Write the given collection of properties. - - The of the entry (or null if not metadata is available). - Collection of cached properties for the entry. - true if we are writing a top level collection instead of an entry. - Action which is called before the properties are written, if there are any property. - Action which is called after the properties are written, if there are any property. - The checker instance for duplicate property names. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-properites we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a primitive value. - - The value to write. - The collection validator instance. - The expected type of the primitive value. - The optional type name annotation provided by the user on the OM for this primitive value. The annotation value will override whatever type name is being written. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - true if we are writing a collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Action called after the copmlex value is written, if it's actually written. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Write the items of a collection in ATOM format. - - The collection value to write. - The type reference of the collection value (or null if not metadata is available). - true if the type name belongs to an open property. - true if we are writing a top-level collection instead of an entry. - - - - Writes the value of a primitive instance annotation. - - The primitive value to write. - The expected type of the annotation from the metadata. - - - - Writes a single property in ATOM format. - - The property to write out. - The owning type for the or null if no metadata is available. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-property we're writing. (can be null) - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - true if the property was actually written, false otherwise. - - - - Writes a property with a complex value in ATOM format. - - The complex value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The type information for the property being written. - true if the type name belongs to an open property. - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a property with a collection value in ATOM format. - - The collection value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if writing a top-level collection payload instead of an entry. - Action which is called before the property is written, if it's going to be written. - The type reference of the collection value (or null if no metadata is available). - true if this property is undeclared and the owning type is open. - - - - Determines if the property with the specified value should be written into content or not. - - The owning type of the property to be checked. - The set of projected properties for the - The name of the property to be checked. - The property value to write. - The EPM source path segment for the property being written. - true if the property should be written into content, or false otherwise - - - - Writes a null property value in Atom format. - - The property type or null if we don't have any. - The name of the property to write out. - true if writing a top-level property payload; otherwise false. - true if we are writing a collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - - - - Writes the property start element. - - Action called before anything else is written (if it's not null). - The name of the property to write. - true if we are writing a collection instead of an entry. - true if writing a top-level property payload; otherwise false. - - - - Writes the property end element. - - - - - Writes the instance annotation start element. - - The the instance annotation to write. - - - - Writes the instance annotation end element. - - - - - Writes the m:type attribute for a property given the name of the type. - - The type name to write. - - - - Write the m:null attribute with a value of 'true' - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - OData ATOM serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The entity reference links to write. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - A flag indicating whether the link is written as top-level element or not; - this controls whether to include namespace declarations etc. - - - - - OData ATOM serializer for entries and feeds. - - - - - The serializer for writing ATOM metadata for entries. - - - - - The serializer for writing ATOM metadata for feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the start element for the m:properties element on the entry. - - - - - Writes the end element for the m:properties element on the entry. - - - - - Writes the type name category element for the entry. - - The type name to write. - The entry metadata if available. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Writes the entry atom:id element. - - The value of the ODataEntry.Id property to write. - - - - Writes the read link element for an entry. - - The read link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit link element for an entry. - - The edit link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit-media link for an entry. - - The media resource representing the MR of the entry to write. - - - - Write the metadata for an OData association link; makes sure any duplicate of the link's values duplicated in metadata are equal. - - The association link for which to write the metadata. - The instance the association link is defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Write the given feed metadata in atom format - - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - Writes the default empty author for a feed. - - - - - Writes the next page link for a feed. - - The feed to write the next page link for. - - - - Writes the delta link for a feed. - - The feed to write the delta link for. - - - - Writes a feed link. - - The feed that contains the link. - Relation attribute of the link. - href attribute of the link. - Function to get the AtomLinkMetadata for the feed link. - - - - Writes a stream property to the ATOM payload - - The stream property to create the payload for. - The instance for which the stream property defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes an operation (an action or a function). - - The association link to write. - - - - Writes the self or edit link. - - Uri object for the link. - The atom link metadata for the link to specify title, type, hreflang and length of the link. - Relationship value. Either "edit" or "self". - - - - OData ATOM serializer for ATOM metadata in an entry - - - - - Base class for all OData ATOM Metadata serializers. - - - - - Constructor. - - The output context to write to. - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes the 'atom:category' element given category metadata. - - The category information to write. - - - - Writes the 'atom:category' element with the specified attributes. - - The prefix to use for the 'category' element. - The value for the 'term' attribute (required). - The value for the 'scheme' attribute (optional). - The value for the 'label' attribute (optional). - - - - Write an empty author element that has the required name element - - - - - Writes the specified start/end tags and the specified person metadata as content - - The person metadata to write. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata attributes of a link in ATOM format - - The value for the 'rel' attribute. - The value for the 'href' attribute. - The value for the 'hreflang' attribute. - The value for the 'title' attribute. - The value for the 'type' attribute. - The value for the 'length' attribute. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The output context to write to. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - OData ATOM serializer for ATOM metadata in a feed - - - - - Constructor. - - The output context to write to. - - - - Write the given feed metadata in atom format - - The metadata to write. - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - The ATOM OData format. - - - - - Representation of an OData format. - - - - The ATOM format instance. - - - The verbose JSON format instance. - - - The JSON Light format instance. - - - The RAW format instance. - - - The batch format instance. - - - The metadata format instance. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - Specifies the ATOM format; we also use this for all Xml based formats (if ATOM can't be used). - The ATOM format. - - - Gets the verbose JSON format. - The verbose JSON format. - - - Specifies the JSON format. - The JSON format. - - - Specifies the RAW format; used for raw values. - The RAW format. - - - Gets the batch format instance. - The batch format instance. - - - Gets the metadata format instance. - The metadata format instance. - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - ATOM format output context. - - - - - Base class for all output contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this output context. - - - The message writer settings to be used for writing. - - - Set to true if this context is writing a response payload. - - - true if the input should be written synchronously; false if it should be written asynchronously. - - - The model to use. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - The type resolver to use. - - - - Constructor. - - The format for this output context. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message writer settings to be used for writing. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being written. - - - - - true if the output should be written synchronously; false if it should be written asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - - The type resolver to use. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The XML writer created for the root of the payload. - - This field is also used to determine if the output context has been disposed already. - In case of customized writers are used, this is always the root writer, never changed. - - - - The XML writer to write to. - In case of customized writers are used, this is the current writer to write to. - - - A stack used to track XML customization writers. - - At the beginning the root writer is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the writer returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomWriter, other writers don't use this. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initializes the ability to use customization writers. - - - This needs to be called before any of the writer customization functionality is used. - - - - - Pushes a writer on the top of the customization stack. - - The writer to push. - - - - Pops a writer from the top of the customization stack. - - The popped writer, the one which was on the top of the stack before the operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - Instance of this class describes a navigation link when it's found in the payload. - - - - The navigation link. - - - The navigation property for the link, is it's available. - - - - Constructor. - - The navigation link. - The navigation property for the link, if it's available. - - - The navigation link. - - - The navigation property for the link, if it's available. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - true if the item type was derived from the collection value; otherwise false. - - - The item type name extracted from the first non-null item. - - - - The primitive type denoted by the item type name or null if the type name is not a valid primitive type name. - - - - The item type kind from the first non-null item. - - - - Constructor. - - The item type name extracted from the collection type name. - - - - Validates a collection item that was read to make sure it is valid (i.e., has the correct - type name and type kind) with respect to the other items in the collection. - - The type name of the item from the payload. - The type kind of the item from the payload. - - - - Computes the expected type kind of an item from the type name read from the payload. - - The type name to compute the type kind from. - The primitive type for the specified type name or null if the type name is not a valid primitve type. - The of the type with the specified . - - - - Validate that the expected and actual type names and type kinds are compatible. - - The actual type name. - The actual type kind. - - - - If specified on a collection, returns the item type name that all items are expected to be compatible with; otherwise null. - - - - - If specified on a collection, returns the item type kind that all items are expected to be compatible with; otherwise EdmTypeKind.None. - - - - - Read-only stream which initially buffers all read data in order to replay it later. - Once no more buffered data exists it reads from the underlying stream directly. - - - - The list of buffered chunks of bytes as requested by callers. - - - - The stream being wrapped. - - - - The read position in the current buffer. - - - - true if the reader is not in buffering mode; otherwise false. - - - - - The current node in the buffer list to read from. - - - - - Constructor - - The underlying stream to wrap. Note that only read operations will be invoked on this stream. - - - - Not supported since the stream only allows reading. - - - - - Reads data from the buffer or the underlying stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Stops the buffering mode and turns the reader into normal read mode where first - the buffered data is re-read before the reads are performed on the underlying stream. - - - - - Stop buffering. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Moves the reader to the next buffer and drops already consumed - data if not in buffering mode. - - - - - Determines if the stream can read - this one can. - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - true if the stream is in buffering mode; otherwise false. - - - - - Interface used for substitutability of the metadata-centric responsibilities of an entry. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry without - needing to know where the metadata originated from. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of the metadata builder which only returns values which were explicitly set (never computing or modifying them). - - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Gets an instance of the metadata builder which never returns anything other than nulls. - - - - - Implementation of the metadata builder which only returns nulls. - - - - - Singleton instance of the null metadata builder. - - - - - Prevents a default instance of the class from being created. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - The entry whose payload metadata is being queried. - - - - - Creates a new no-op metadata builder. - - The entry whose payload metadata is being queried. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - - - - - Gets the ID of the entity. - - - The ID for the entity. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Default implementation of - - - - - Empty array of properties. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - - - - Creates an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - The entity type of the entry. - The metadata context to use. - The selected properties. - A new instance of . - - - - Gets the the CLR value for a primitive property. - - The entry to get the property value. - Name of the property. - The name of the entity type to get the property value. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Gets the CLR value for a primitive property. - - The name of the entity type to get the property value. - The ODataProperty to get the value from. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Validates that the entry has key properties. - - Key properties of the entry. - The entity type name of the entry. - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on serialization info. - - - - - Empty array of navigation properties. - - - - - Empty dictionary of stream properties. - - - - - Empty array of operations. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - - - - Gets the property name value pairs filtered by serialization property kind. - - The entry to get the properties from. - The serialization info property kind. - The entity type name of the entry. - The property name value pairs filtered by serialization property kind. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on the given model. - - - - - The entity type of the entry. - - - - - The metadata context to use. - - - - - The selected properties. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The entity type of the entry. - The metadata context to use. - The selected properties. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type name of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Interface used for substitutability of the metadata-centric responsibilities of . - - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Default implementation of . - - - - - The Edm Model. - - - - - EdmTypeResolver instance to resolve entity set base type. - - - - - Cache of operations that are always bindable to entity types. - - - - - true if we are reading or writing a response payload, false otherwise. - - - - - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - - - - The metadata document Uri. - - - - - The service base Uri. - - - - - Constructs an ODataMetadataContext. - - true if we are writing a response payload, false otherwise. - The Edm model. - The metadata document uri. - This overload should only be used by the writer. - - - - Constructs an ODataMetadataContext. - - true if we are reading a response payload, false otherwise. - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - EdmTypeResolver instance to resolve entity set base type. - The Edm model. - The metadata document Uri. - This overload should only be used by the reader. - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Generates operations which were omitted by the service because they fully match conventions/templates and are always available. - - - - The current entry metadata context. - - - The metadata context of the entry to generate the missing operations for. - - - The list of computed actions. - - - The list of computed functions. - - - - Initializes a new instance of the class. - - The metadata context of the entry to generate the missing operations for. - The current entry metadata context. - - - - Gets the computed missing Actions from the generator. - - The computed missing Actions. - - - - Gets the computed missing Functions from the generator. - - The computed missing Functions. - - - - Returns a hash set of function imports (actions and functions) in the given entry. - - The entry in question. - The edm model to resolve function imports. - The metadata document uri. - The hash set of function imports (actions and functions) in the given entry. - - - - Computes the operations that are missing from the payload but should be added by conventions onto the entry. - - - - - Interface used for substitutability, to answer basic questions regarding the type of the entry or feed. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry or feed without - needing to know where the metadata originated from. - - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Class responsible for logic specific to the JSON Light full metadata level (indicated by "odata=fullmetadata" in the media type). - - - The general rule-of-thumb for full-metadata payloads is that they include all "odata.*" annotations that would be included in minimal metadata mode, - plus any "odata.*" annotations that could be computed client-side if we the client had a model. - - - - - Class responsible for logic that varies based on the JSON Light metadata level. - - - - - Creates the appropriate metadata level based on the media type being written. - - The full media type being written. This media type must have a type/subtype of "application/json" - and should not imply verbose json (by including "odata=verbose" as a parameter). - The metadata document uri from the writer settings. - The edm model. - true if we are writing a response, false otherwise. - The JSON Light metadata level being written. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write will vary based on the metadata level. - If false, the type name writing rules will always match minimal metadata, - regardless of the actual metadata level being written. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - The Edm model. - - - - - The metadata document uri from the writer settings. - - - - - Constructs a new . - - The metadata document uri from the writer settings. - The Edm model. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Returns the metadata document URI which has been validated to be non-null. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON full metadata mode. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON Light. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light minimal metadata level (indicated by "odata=minimalmetadata" in the media type, or lack of an "odata" parameter in a v3 and above request). - - - The general rule-of-thumb for minimal-metadata payloads is that they include all "odata.*" annotations that can't be computed client-side, assuming the client has the server model available - as well as the ability to compute missing payload metadata based on the standard conventions. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - Not used in this implementation of the abstract method. - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON minimal metadata mode, - or the other metadata modes of JSON light when is false. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light no metadata level (indicated by "odata=nometadata" in the media type). - - - The general rule-of-thumb for no-metadata payloads is that they omit any "odata.*" annotations, - except for odata.nextlink and odata.count, since the client would get a inaccurate representation of the data available if they were left out. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON no metadata mode. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Reads payload as untyped object. - - - - - Base class for all OData JsonLight deserializers. - - - - The JsonLight input context to use for reading. - - - Context for entry etadata centric responsibilities. - - - Result of parsing the metadata URI for the payload (or null if none are available). - This field is only available after the ReadPayloadStart was called. - - - - Constructor. - - The JsonLight input context to read from. - - - - Parses the name of a property and returns the property name and annotation name if the property is a property annotation. - - The property name to parse. - The name of the annotated property, or null if the property is not a property annotation. - The annotation name, or null if the property is not a property annotation. - true if the is a property annotation, false otherwise. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The parsed metadata URI. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads and validates a string value from the json reader. - - The name of the annotation being read (used for error reporting). - The string that was read. - - - - Reads and validates a string value from the json reader and processes it as a Uri. - - The name of the annotation being read (used for error reporting). - The Uri that was read. - - - - Reads and validates a string value from the json reader and processes it as a long. - - The name of the annotation being read (used for error reporting). - The long that was read. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - Function callback to handle to resule of parse property. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns true if should be skipped by the reader; false otherwise. - - The custom instance annotation name in question. - Returns true if should be skipped by the reader; false otherwise. - - - - If is under the odata namespace but is not known to ODataLib, move the JSON reader forward to skip the - annotation name and value then return true; return false otherwise. - - - The unknown odata annotation is skipped so that when this version of the reader reads a feed produced by a future version of ODataLib - that contains an odata annotation that is not recognized on this version, we would simply ignore the annotation rather than failing. - Note that when we add new odata annotations that cannot be skipped, we would bump the protocol version. - - The annotation name in question. - Returns true if the annotation name and value is skipped; returns false otherwise. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - The name of the property or instance annotation found. - - PropertyWithValue - a property with value was found. The contains the name of the property. - The reader is positioned on the property value. - PropertyWithoutValue - a property without a value was found. The contains the name of the property. - The reader is positioned on the node after property annotations (so either a property or end of object). - ODataInstanceAnnotation - an odata instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - CustomInstanceAnnotation - a custom instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - MetadataReferenceProperty - a property which is a reference into the metadata was found. - The reader is positioned on the value of the property. - EndOfObject - end of the object scope was reached and no properties are to be reported. The is null. - This can only happen if there's a property annotation which is ignored (for example custom one) at the end of the object. - - - - - Process the current property annotation. - - The name being annotated. Can be a property or an instance annotation. - The annotation targeting the . - The duplicate property names checker. - Callback to read the property annotation value. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The value of the metadata URI annotation (or null if it was not found). - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the odata.metadata annotation. - - The payload kind for which to read the metadata URI. - The duplicate property names checker. - true if the method should fail if the metadata URI annotation is missing, false if that can be ignored. - The value of the metadata URI annotation. - - - - Context for entry metadata centric responsibilities. - - - - - Returns the which is to be used to read the content of the message. - - - - Result of parsing the metadata URI for the payload (or null if none are available). - This property is only available after the ReadPayloadStart was called. - - - - The Json lite input context to use for reading. - - - - - Gets the metadata document Uri from the MetadataUriParseResult. - - - - Possible results of parsing JSON object property. - - - An end of object was reached without any property to be reported. - - - A property with value was found. - - - A property without value was found. - - - A 'odata' instance annotation was found. - - - A custom instance annotation was found. - - - A metadata reference property was found. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads untyped value. - - primitive value or ODataComplexValue orODataCollectionValue. - - - - Reads json object value. - - ODataComplexValue with TypeName=null - - - - Read json array. - - ODataCollectionValue with TypeName=null - - - - The context object to answer basic questions regarding the type of the entry or feed. - - - - - Default Url convention. - - - - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - - Constructs an instance of . - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - Creates an instance of . - - The serialization info from the feed or entry instance. - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - A new instance of . - - - - Validate and return the given value. - - The type of the value to validate. - The value to validate. - The return value. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the serialization info. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The serialization info from the feed or entry instance. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the metadata. - - - - - The Edm model instance to use. - - - - - The entity set of the feed or entry. - - - - - The element type of the entity set of the feed or entry. - - - - - The expected entity type of the feed or entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - The entity set name of the feed or entry. - - - - - true if the entry is an media link entry or if the feed contains media link entries, false otherwise. - - - - - The url convention to use for the entity set. - - - - - Constructs an instance of . - - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Extension methods on the OData object model. - - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Class to provide additional serialization information to the for an . - - - - - The fully qualified type name of the collection to be written. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The fully qualified type name of the collection to be written. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - true if the navigation property navigates to a collection of entities; false otherwise. - - - - - The enum of property kinds. - - - - - Unspecified property kind or if the property is not a key property, an etag property or an open property. - - - - - The property is a key property. - - - - - The property is an etag property - - - - - The property is an open property - - - - - Class to provide additional serialization information to the for an . - - - - - The kind of the property - - - - - Class to provide additional serialization information to the for an . - - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Class to represent a HTTP header value element. - - - - - Internal constructor to create a new instance of . - - The name of the preference. - The value of the preference. - The enumeration of preference parameter key value pairs. - - - - Converts the current to string. - - The string for . - - - - Appends the and to as name=value. - - The string builder to append to. - The name to append. - The value to append. - - - - The name of the preference. - - - - - The value of the preference. - - - - - The enumeration of preference parameter key value pairs. - - - - - Extension methods for http header values. - - - - - Constructs a new instance of . - - - - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - - - Lexer to parse HTTP header values. - - - - - The ',' separator. - - - - - The ';' separator. - - - - - The '=' separator. - - - - - The name of the HTTP header being parsed. - - - - - The value of the HTTP header being parsed. - - - - - The starting index to the next item to be parsed. - - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - The start index of the next item to be parsed. - - - - Constructs a new instance of the HTTP header value item. - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The newly created instance of . - - - - Reads the content of a HTTP header from this instance to a new instance. - - A new instance populated with the content from this instance. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - Reads a from and advances the forward. - - The lexer to read from. - The that was read. - - - - Reads a token or token=(token|quoted-string) from the , convert it to a key value pair and advances the . - - The lexer to read from. - The converted key value pair. - - - - Returns true if we've parsed to the end of the header value, false otherwise. - - Returns true if we've parsed to the end of the header value, false otherwise. - - - - Reads a token or quoted-string value from the header. - - The token or quoted-string value that was read from the header. - - - - Reads a token from the header. - - The token item that was read from the header. - - - - Reads a separator from the header. - - The separator item that was read from the header. - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - The type of the current parsed item. - - - - - The item type enum. - - - - Currently at the start of the header value. - - - The current item is a token. - - - The current item is a quoted-string. - - - The current item is the header element separator ','. - - - The current item is the parameter separator ';'. - - - The current item is the value separator '='. - - - At the end of the header value. - - - - Represents the start of the http header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a token in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the token. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a quoted-string in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the quoted string, unescaped and without quotes. - The original text of the quoted string, escaped and with quotes. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a separator in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the separator. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents the end of the http header value. - - - - - Static instance of the end item. - - - - - Constructs a new instance of . - - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Filter class to determine whether or not to read an annotation. - - - - - Filter that maches all annotation names. - - - - - Filter than maches no annotation names. - - - - - Separator for annotation filter patterns. - - - - - Patterns to match, sorted in the order of higher to lower priorities to match. - - - - - Private constructor to create a filter from comma delimited patterns to match to include or exclude annotations. - - Patters to match to include or exclude annotations. - - - - Create a filter from comma delimited patterns to match to include or exclude annotations. - - Comma delimited patterns to match to include or exclude annotations. - The newly created filter. - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read all annotations. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read no annotation. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter pattern class to determine whether an annotation name matches the pattern. - - - - - The '.' namespace separator. - - - - - The '-' operator to indicate that the annotation should be excluded from read when it matches the pattern. - - - - - The wild card constant. - - - - - String constant for .* - - - - - The "*" pattern that includes all annotations. - - - - - The "-*" pattern that excludes all annotations. - - - - - The pattern to match. - - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - Constructs a pattern instance to determine whether an annotation name matches the pattern. - - The pattern to match. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Compares the priority of current pattern with the priority of . - - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means this pattern has higher priority than . - 0 means this pattern has the same priority as . - 1 means this pattern has lower priority than . - - A pattern to compare with this pattern. - - - - Creates a pattern instance to determine whether an annotation name matches the pattern. - - The pattern for this instance. - The newly created instance. - - - - Sorts the patterns in the array from highest to lowest priorities. - - The source array to sort. When the method returns the items in this array instance will be rearragned. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Compares the priority of with . - - The left hand side pattern to compare. - The right hand side pattern to compare. - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means has higher priority than . - 0 means has same priority as . - 1 means has lower priority than . - - - - - Removes the exclude operator from the given pattern string. - - The input pattern to the method and will return the pattern without the exclude operator if it's found. - Returns true if the exclude operator is found and removed from the input pattern; false otherwise. - - - - Validates the pattern. - - The pattern to validate. - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - The wild card pattern that matches everything. - - - - - Constructs the wild card pattern. - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match any annotation name that starts with this pattern. - - - - - Constructs the starts with pattern. - - The pattern to start with. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match a annotation name that is exactly the same as this pattern. - - - - - Constructs the exact match pattern. - - The exact pattern to match - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Contract for providing implementations of more specific lookups needed for parsing OData URIs that are not efficiently answered - by existing APIs in and its related interfaces. - - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds an entity set given a name that may be container qualified. If no container name is provided, the default container should be used. - - The name which might be container qualified. If no container name is provided, the default container should be used. - The entity set if one was found or null. - - - - Finds a service operation for the given name. - - The name of the service operation to find. May be qualified with an entity container name. - The function import representing a service operation or null if one could not be found with the given name. - - - - Finds a function or action bound to the specific type with the given name. - - The binding type. - The name of the function imports to find. May be qualified with an entity container name. - The parameter names of the non-binding parameters, if provided in the request URI. - The function import that matches the search criteria or null if there was no match. - - - - Represents an instance annotation. - - - - - Constructs a new instance. - - The name of the instance annotation. - The value of the instance annotation. - - - - Validates that the given is a valid instance annotation name. - - Name to validate. - - - - Validates the given is a valid instance annotation value. - - Value to validate. - - - - Instance annotation name. - - - - - Instance annotation value. - - - - - Extension methods to IODataRequestMessage and IODataResponseMessage. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Gets the instance to get or set preferences on the "Prefer" header of the . - - The request message to get or set the "Prefer" header. - Returns the instance to get or set preferences on the "Prefer" header of the . - - - - Gets the instance to get or set preferences on the "Preference-Applied" header of the . - - The response message to get or set the "Preference-Applied" header. - Returns the instance to get or set preferences on the "Preference-Applied" header of the . - - - - Base Configuration settings for OData message readers. - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - The check characters. - - - The enable atom metadata reading. - - - The annotation filter. - - - - Initializes a new instance of the class. - - - - - Copy constructor. - - The instance to copy. - - - - Flag to control whether the reader should check for valid Xml characters or not. - - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - - - Func to evaluate whether an annotation should be read or skipped by the reader. The func should return true if the annotation should - be read and false if the annotation should be skipped. A null value indicates that all annotations should be skipped. - - - - - Base Configuration settings for OData message writers. - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - The check characters. - - - The indent. - - - - Constructor to create default settings for OData writers. - - - - - Copy constructor to create a copy of the settings for OData writers. - - Settings to create a copy from. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Class to set the "Prefer" header on an or - the "Preference-Applied" header on an . - - - - - The return-no-content preference token. - - - - - The return-content preference token. - - - - - The odata-annotations preference-extensions token. - - - - - The Prefer header name. - - - - - The Preference-Applied header name. - - - - - Empty header parameters - - - - - The return-no-content preference. - - - - - The return-content preference. - - - - - The message to set the preference header to and to get the preference header from. - - - - - "Prefer" if message is an IODataRequestMessage; "Preference-Applied" if message is an IODataResponseMessage. - - - - - Dictionary of preferences in the header - - - - - Internal constructor to instantiate an from an . - - The request message to get and set the "Prefer" header. - - - - Internal constructor to instantiate an from an . - - The response message to get and set the "Preference-Applied" header. - - - - Adds quotes around the given text value. - - text to quote. - Returns the quoted text. - - - - Returns true if the given preference exists in the header, false otherwise. - - Preference in question. - Returns true if the given preference exists in the header, false otherwise. - - - - Clears the from the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to clear. - - - - Sets the to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to set. - - If is already on the header, this method does a replace rather than adding another instance of the same preference. - - - - - Gets the from the "Prefer" header from the underlying or - the "Preference-Applied" header from the underlying . - - The preference to get. - Returns a key value pair of the and its value. The Value property of the key value pair may be null since not - all preferences have value. If the is missing from the header, null is returned. - - - - Parses the current preference values to a dictionary of preference and value pairs. - - Returns a dictionary of preference and value pairs; null if the preference header has not been set. - - - - Sets the "Prefer" or the "Preference-Applied" header to the underlying message. - - - - - Property to get and set the "return-content" and "return-no-content" preferences to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - Setting true sets the "return-content" preference and clears the "return-no-content" preference. - Setting false sets the "return-no-content" preference and clears the "return-content" preference. - Setting null clears the "return-content" and "return-no-content" preferences. - Returns true if the "return-content" preference is on the header. Otherwise returns false if the "return-no-content" is on the header. - Returning null indicates that "return-content" and "return-no-content" are not on the header. - - - - - Property to get and set the "odata.include-annotations" preference with the given filter to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - If the "odata-annotations" preference is already on the header, set replaces the existing instance. - Returning null indicates that the "odata.include-annotations" preference is not on the header. - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - - - - Dictionary of preferences in the header. - - - - - Extension methods for ReadOnlyEnumerable and ReadOnlyEnumerableOfT - - - - - true if is the same instance as ReadOnlyEnumerableOfT.Empty(). false otherwise. - - The element type of the enumerable. - The enumerable in question. - Returns true if is the empty ReadOnlyEnumerableOfT. false otherwise. - - - - Casts an IEnumerableOfT to ReadOnlyEnumerableOfT. - - The element type of the enumerable. - The source enumerable. - The name of the collection to report in case there's an error. - The casted ReadOnlyEnumerableOfT. - - - - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - The element type of the enumerable. - The source enumerable in question. - The name of the collection to report in case there's an error. - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - - - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - The element type of the enumerable. - The source enumerable to concat. - The name of the collection to report in case there's an error. - Item to concat to the source enumerable. - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - - - Adds an ODataAction to an entry. - - The entry to add the action. - The action to add. - - - - Adds an ODataFunction to an entry. - - The entry to add the function. - The function to add. - - - - Adds an association link to an entry. - - The entry to add the association link to. - The association link to add. - - - - Implementation of OData entity metadata builder based on OData protocol conventions. - - - - The URI builder to use. - - - The context to answer basic metadata questions about the entry. - - - The metadata context. - - - The list of navigation links that have been processed. - - - The edit link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The read link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The computed ETag. - - - true if the etag value has been computed, false otherwise. - - - The computed ID of this entity instance. - - This is always built from the key properties, and never comes from the entry. - - - - A computed uri that is equivalent to the ID or the edit-link without a type segment. - - - The computed MediaResource for MLEs. - - - The list of computed stream properties. - - - The enumerator for unprocessed navigation links. - - - The missing operation generator for the current entry. - - - - Constructor - - The context to answer basic metadata questions about the entry. - The metadata context. - The uri builder to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Computes the edit link. - - Uri that was computed based on the computed Id and possible type segment. - - - - Computes and sets the field for the computed Id. - - - - - Computes all projected or missing stream properties. - - Non-computed properties from the entity. - The the computed stream properties for the entry. - - - - Lazy evaluated computed entity Id. This is always a computed value and never comes from the entry. - - - - - Lazy evaluated computed entity instance uri. This is always a computed value and never comes from the entry. - - - - - The missig operation generator for the current entry. - - - - - Implementation of OData URI builder based on OData protocol conventions. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - The base URI of the service. This will be used as the base URI for all entity containers. - - - The specific url-convention to use. - - - The specific key-serializer to use based on the convention. - - - - Constructor. - - The base URI of the service. This will be used as the base URI for all entity containers. - The specific url convention to use. - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Validates the base URI parameter to be a non-null absolute URI. - - The base URI parameter to validate. - - - - Appends a segment to the specified base URI. - - The base Uri to append the segment to. - The segment to append. - True if the new segment should be escaped, otherwise False. - New URI with the appended segment and no trailing slash added. - - - - Gets the CLR value of a primitive key property. - - The key property name. - The key property value. - The entity type name we are validating the key value for. - The primitive value of the key property. - - - - Appends the key expression for the given entity to the given - - The builder to append onto. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - - - - Annotation to capture all of the custom instance annotations on an ODataAnnotatable. - - - Currently only , , and supports instance annotations. - Additionally, instance annotations will only be serialized in Json. - - - - - Backing dictionary of instance annotation term name/object pairs. - - - - - Creates a new to hold instance annotations for an . - - - - - Determines whether the contains an element with the specified key. - - - true if the ICollection> contains an element with the key; otherwise, false. - - The key to locate in the . - is null. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Removes all items from the . - - The is read-only. - - - - Adds an element with the provided 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 null. - An element with the same key already exists in the .The is read-only. - - - - Removes the element with the specified key from the . - - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - The key of the element to remove. is null.The is read-only. - - - - Gets the value associated with the specified key. - - - true if the object that implements contains an element with the specified key; otherwise, false. - - The key whose value to get.When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. is null. - - - - Gets an enumerator for this object. - - An enumerator for this object. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - - Gets or sets the element with the specified key. - - - The element with the specified key. - - The key of the element to get or set. - is null. - The property is retrieved and is not found. - The property is set and the is read-only. - - - - Helper class to track if an annotation has been written. - - - - - Maintains the write status for each annotation using its key. - If a key exists in the list then it is considered written. - - - - - Creates a new to hold write status for instance annotations contained in . - - - - - Check if an annotation is already written. - - true if the annotation is written; otherwise false. - The key of the element to check if its written. - - - - Mark an annotation as written. - - true if the annotation was unmarked before; otherwise false. - The key of the element to mark as written. - - - - Well known OData annotation names reserved for OData Lib. - - - - The OData Metadata annotation name. - - - The OData 'null' annotation name. - - - The OData Type annotation name. - - - The OData ID annotation name. - - - The OData etag annotation name. - - - The OData edit link annotation name. - - - The OData read link annotation name. - - - The OData media edit link annotation name. - - - The OData media read link annotation name. - - - The OData media content type annotation name. - - - The OData media etag annotation name. - - - The 'odata.count' annotation name. - - - The 'odata.nextLink' annotation name. - - - The 'odata.navigationLinkUrl' annotation name. - - - The 'odata.bind' annotation name. - - - The 'odata.associationLinkUrl' annotation name. - - - The 'odata.annotationGroup' annotation name. - - - The 'odata.annotationGroupReference' annotation name. - - - The 'odata.error' annotation name. - - - The 'odata.deltaLink' annotation name. - - - - Hash set of known odata annotation names that have special meanings to OData Lib. - - - - - Returns true if the starts with "odata.", false otherwise. - - The name of the annotation in question. - Returns true if the starts with "odata.", false otherwise. - - - - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - The annotation name in question. - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - - - Validates that the is not a reserved OData instance annotation. - - The instance annotation name to check. - - - - Defines an interface for a class that can write OData values in Json Light. - This is used internally for mocking. - - - - - Writes a null value. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - - - - Writes a primitive value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a for checking duplication properties inside complex values. - - A new instance. - - - - JsonWriter this value serializer will use. - - - - - Version of OData being written. - - - - - Model to use for type resolution and verification when writing. - - - - - The message writer settings to use when writing the message payload. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - The character array used for splitting apart the operation parameter type names in a metadata link. Contains ','. - - - - - The set of characters to trim from the parameters of an operation. Contains '(' and ')'. - - - - - Determines if the specified property name is a name of a metadata reference property. - - The name of the property. - true if is a name of a metadata reference property, false otherwise. - - - - Gets the fully qualified function import name from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The first parameter name, if any are present in the given string. - The fully qualified function import name. - - - - Gets the Uri fragment from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The Uri fragment which corresponds to action/function names, etc. - - - - Converts the metadata reference property name to an absolute Uri. - - The metadata document uri. - The metadata reference property name. - The absolute Uri for the metadata reference property name. - - - - Calculates the metadata reference name for the given function import. When there is no overload to the function, this method will - return the container qualified function import name. When there is overload to the function this method will - return FQFN([comma separated parameter type names]) to disambiguate between different overloads. - - The function import in question. - The metadata reference name for the given function import. - - - - Creates an ODataAction or ODataFunction from a function import. - - The metadata document uri. - The metadata reference property name. - The function import to create the ODataOperation for. - true if the created ODataOperation is an ODataAction, false otherwise. - The created ODataAction or ODataFunction. - - - - Responsible for reading annotation groups (both declarations and references) in JSON Light. - - - - - Mapping of all the annotation groups encountered so far, keyed by name. - - - - - Initializes a new . - - The JSON light input context. - - - - Reads the current property node as an annotaion group, if the property name matches. Otherwise, it does not move the reader. - - Fired whenever an OData property annotation is seen. Takes the name of the property annotation and should read and return the annotation's value. - Fired whenever an OData instance annotation is seen. Takes the name of the instance annotation and should read and return the annotation's value. - The annotation group which was read, or null if we did not encounter an annotation group. - - Pre-Condition: JsonNodeType.Property: The property to consider as an annotion group. - Post-Condition: JsonNodeType.Property: If the property is not an annotation group, the reader will not move. - Any: The node after the annotation group property, if one was read. - - - - - Adds the given annotation group to the set of groups which can be retrieved by annotation group references. - - The annotation group to add. - - - - Checks to see that the name of the given annotation group has not yet been set. Throws otherwise. - - The annotation group to check. - - - - Returns whether the given property name indicates this property contains the name of the annotation group. - - The property name to check. - true if the property name is annotation group name property, false otherwise. - - - - Verifies that the name of the given annotation group was set, and throws otherwise. - - The annnotation group to check. - - - - Verifies that the given property name is a valid annotation name, and throws if not. - - The property name to check. - The annotation group which this property would be added to. - - - - Creates an ODataException to throw when a non-annotation property is found inside an annotation group. - - The name of the property found inside an annotation group. - The annotation group it was found in. - An ODataException with an appropriate message, including the annotation group name if one is available. - - - - Reads an annotation group reference and returns the existing annotation group instance with that name. - - The annotation group which was referenced. - This method will throw if no matching annotation group is found. - - - - Reads an annotation group declaration and returns a newly created annotation group instance. - - Function which takes the name of an OData property annotation and reads and returns the value of the annotation. - Function which takes the name of an OData instance annotation and reads and returns the value of the annotation. - The annotation group which was read. - - Pre-Condition: JsonNodeType.StartObject: The property to consider as an annotion group declaration or reference. - Any: Any other node type will throw an exception. - Post-Condition: Any: The node after the annotation group property value. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Validates that a string is either a valid absolute URI, or (if it begins with '#') it is a valid URI fragment. - - The metadata document uri. - The property name to validate. - - - - Validates an operation is valid. - - The metadata document uri. - The operation to validate. - - - - Determines if the specified property name is a name of an open metadata reference property. - - The metadata document uri. - The property name in question. - true if the specified property name is a name of an open metadata reference property; false otherwise. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - - - - JSON Ligth specific state which is created during payload kind detection and reused during standard reading if available. - - - - The parsed metadata URI. - - - - Constructor. - - The parsed metadata URI. - - - The parsed metadata URI. - - - - Interface for a class that can write arbitrary JSON. - Internally we want the interface for mocks. - - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Class responsible for writing a collection of . - - - - - Value serializer, responsible for serializing the annotation values. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructs a that can write a collection of . - - The to use for writing values of instance annotations. - The that is also used internally will be acquired from the this instance. - The oracle to use to determine the type name to write for entries and values. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - The tracker to track if instance annotations are written. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - - - - Writes an instance annotation. - - The instance annotation to write. - - - - JsonWriter instance to use for writing term names. - - - - - OData JsonLight serializer for value types. - - - - - Base class for all OData JsonLight serializers. - - - - - The JsonLight output context to write to. - - - - - Instance annotation writer. - - - - - Set to true when odata.metadata is writen; set to false otherwise. - When value is false, all URIs writen to the payload must be absolute. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the end of the entire JSON payload. - - - - - Writes the metadata URI property and the specified value into the payload. - - The metadata URI to write. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Returns the string representation of the URI - - The uri to process. - Returns the string representation of the URI. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - Instance annotation writer. - - - - - The current recursion depth of values written by this serializer. - - - - - Property serializer. - - - - - Initializes a new instance of the class. - - The property serializer to use when writing complex values. - - - - Initializes a new instance of the class. - - The output context to use. - - - - Writes a null value to the wire. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a new instance of a duplicate property names checker. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - The newly created instance of duplicate property names checker. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Returns the which is to be used to write the content of the message. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The OData version of the output. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The model to use. - - - - - The message writer settings to use when writing the message payload. - - - - - Gets the property serializer. - - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - Responsible for resolving the element type of an entity set with reader (i.e., looser) semantics. - - - - - Class responsible for determining the entity type of an entity set. - - - - - Returns the element type of the given entity set. - - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type. - - The function parameter to get the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - The model to use or null if no model is available. - - - Reader behavior if the caller is a reader, null if no reader behavior is available. - - - The version of the payload being read. - - - Creates a new entity set element type resolver with all the information needed when resolving for reading scenarios. - The model to use or null if no model is available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for read and calls the client type resolver to resolve type when it is specified. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Resolves the given type reference if a client type resolver is available. - - Type reference to resolve. - The resolved type reference. - - - - Resolves the given type if a client type resolver is available. - - Type to resolve. - The resolved type. - - - - Responsible for resolving the element type of an entity set with writer semantics. - - - - - Singleton instance of the resolver. - - - - - Private constructor to ensure all access goes through the singleton Instance. - - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for write. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader and which support true async operations. - - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData collection readers. - - - - Reads the next item from the message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent item that has been read. - The most recent item that has been read. - - This property returns an when in state ODataCollectionReaderState.CollectionStart - or ODataCollectionReaderState.CollectionEnd. It returns either a primitive value, an or 'null' when - in state ODataCollectionReaderState.Value and 'null' in all other states. - - - - The input context to read from. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - The expected item type reference for the items in the collection. - If an expected type is specified the collection has to be homogeneous. - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Should be false since no more nodes can be read from the reader after the collection ends. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The state of the collection element - empty or not-empty. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - The item associated with the replacement state. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The most recent item that has been read. - - - - - The state of the collection element - empty or non-empty. - - - Only used by ATOM. - - - - - The expected item type for the items in the collection. - - - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - - Returns true if we are reading a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - - - - A collection reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - True, if the collection element attached to this scope is empty. False otherwise. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The state of the collection element - empty or not-empty - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The state of the Collection Element - empty or non-empty. - - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Simple structure for storing both a base URI and the select clause for generating metadata links in JSON-Light payloads. - - - - The base uri to the metadata document. - - - The select clause to include when generating metadata links. - - - - Initializes a new instance of . - - The base uri to the metadata document. - - - - Gets the base uri to the metadata document. - - - - - Gets the select clause to include when generating metadata links. - - - - - Represents a null property value. - - - - - Indicates whether the given value is a null value. - - true, since this object always represents a null value. - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader with truly async operations. - - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader. - - - - Base class for OData parameter readers. - - - Creates an to read the collection value when the state is ODataParameterReaderState.Collection. - An to read the collection value when the state is ODataParameterReaderState.Collection. - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - - - Reads the next parameter from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the name of the current parameter that is being read. - The name of the current parameter that is being read. - - - Gets the value of the current parameter that is being read. - The value of the current parameter that is being read. - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - An interface that allows the creator of a reader/writer to listen for status changes of the created reader/writer. - - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - The input context to read from. - - - The function import whose parameters are being read. - - - Stack of reader scopes to keep track of the current context of the reader. - - - Hash set to keep track of all the parameters read from the payload. - - - Tracks the state of the sub-reader. - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - This method creates an to read the collection value when the state is ODataParameterReaderState.Collection. - - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - Returns an to read the collection value when the state is ODataParameterReaderState.Collection. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - Returns the type reference of the parameter in question. - - Name of the parameter in question. - Returns the type reference of the parameter in question. - - - - Creates a new for the specified with the provided - and and pushes it on the stack of scopes. - - The to use for the new scope. - The paramter name to attach with the state in the new scope. - The paramter value to attach with the state in the new scope. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called when the a parameter was completed. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Gets the corresponding create reader method name for the given state. - - State in question. - Returns the name of the method to create the correct reader for the given state. - - - - Verifies that one of CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() can be called. - - The expected state of the reader. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The name of the current parameter that is being read. - - - - - The value of the current parameter that is being read. - - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - The function import whose parameters are being read. - - - - Enum to track the state of the sub-reader. - - - No sub-reader has been created for the current parameter. - - - CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() has been called for the current parameter - and the newly created reader is not in Completed state. - If the sub-reader is in Error state, the ODataParameterReader will enter ODataParameterReaderState.Error. - - - The created sub-reader is in Completed state. - - - - A parameter reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The parameter name attached to this scope. - - - The parameter value attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The parameter name attached to this scope. - The parameter value attached to this scope. - - - - The reader state of this scope. - - - - - The parameter name attached to this scope. - - - - - The parameter value attached to this scope. - - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Represents a primitive property value. - - - - - Creates a new primitive value from the given CLR value. - - The primitive to wrap. - The primitive value should not be an instance of ODataValue. - - - - Gets the underlying CLR object wrapped by this . - - The underlying primitive CLR value. - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader with true async operations. - - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData readers. - - - - Reads the next from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent that has been read. - The most recent that has been read. - - - The input to read the payload from. - - - true if the reader was created for reading a feed; false when it was created for reading an entry. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - The to use for entries in this feed. - Only applies when reading a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - - - Pushes the on the stack of scopes. - - The scope to enter. - - - - Replaces the current scope with the specified . - - The scope to replace the current scope with. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called to transition into the EntryEnd state. - - The scope for the EntryEnd state. - - - - If an entity type name is found in the payload this method is called to apply it to the current scope. - This method should be called even if the type name was not found in which case a null should be passed in. - The method validates that some type will be available as the current entity type after it returns (if we are parsing using metadata). - - The entity type name found in the payload or null if no type was specified in the payload. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Returns the current item as . Must only be called if the item actually is an entry. - - - - - Returns the current item as . Must only be called if the item actually is a feed. - - - - - Returns the current item as . Must only be called if the item actually is a navigation link. - - - - - Returns the current item as . Must only be called if the item actually is an entity reference link. - - - - - Returns the expected entity type for the current scope. - - - - - Returns the entity set for the current scope. - - - - - Returns the current scope. - - - - - Returns the scope of the entity owning the current link. - - - - - A flag indicating whether the reader is at the top level. - - - - - If the current scope is a content of an expanded link, this returns the parent navigation link scope, otherwise null. - - - - - True if we are reading an entry or feed that is the direct content of an expanded link. Otherwise false. - - - - - Set to true if a feed is being read. - - - - - Returns true if we are reading a nested payload, e.g. an entry or a feed within a parameters payload. - - - - - Validator to validate consistency of entries in top-level feeds. - - We only use this for top-level feeds since we support collection validation for - feeds only when metadata is available and in these cases we already validate the - types of the entries in nested feeds. - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The entity set we are going to read entities for. - The expected entity type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - EntityReferenceLink - it's null, no need for types on entity reference links. - In all cases the specified type must be an entity type. - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The entity set we are reading entries from (possibly null). - - - - - The entity type for this scope. Can be either the expected one if the real one - was not found yet, or the one specified in the payload itself (the real one). - - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Simple ODataVersion specific cache. - - The type of the item being cached. - - - - Lazy constructing T for ODataVersion.V1. - - - - - Lazy constructing T for ODataVersion.V2. - - - - - Lazy constructing T for ODataVersion.V3. - - - - - Constructs an instance of the ODataVersionCache. - - The method to call to create a new instance of for a given ODataVersion. - - - - Indexer to get the cached item when given the ODataVersion. - - The ODataVersion to look up. - The cached item. - - - - Class that hanldes writing top level raw values to a stream. - - - - - Writer settings. - - - - - Underlying stream. - - - - - Encoding that the TextWriter should use. - - - - - TextWriter instance for writing values. - - - - - Initializes a new instance of the class. - Initializes the TextWriter. - - The writer settings. - The stream. It should be the same underlying stream the TextWriter uses. - The encoding to use in the text writer. - - - - Disposes the RawValueWriter. It flushes itself and then disposes its inner TextWriter. - - - - - Start writing a raw output. This should only be called once. - - - - - End the writing of a raw output. This should be the last thing called. - - - - - Converts the specified into its raw format and writes it to the output. - The value has to be of primitive type. Only one WriteRawValue call should be made before this object gets disposed. - - The (non-binary) value to write. - We do not accept binary values here; WriteBinaryValue should be used for binary data. - - - - Flushes the RawValueWriter. - The call gets pushed to the TextWriter (if there is one). In production code, this is StreamWriter.Flush, which turns into Stream.Flush. - In the synchronous case the underlying stream is the message stream itself, which will then Flush as well. - In the async case the underlying stream is the async buffered stream, which ignores Flush call. - - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Gets the text writer. - - - - - Class with utility methods to deal with values in ODataLib. - - - - - Converts an object to an ODataValue. If the given object is already an ODataValue (such as an ODataCompleValue, ODataCollectionValue, etc.), the original object will be returned. - - The object to convert to an ODataValue - The given object as an ODataValue. - - - - Converts an ODataValue to the old style of representing values, where null values are null and primitive values are just the direct primitive (no longer wrapped by ODataPrimitiveValue). - All other value types, such as ODataComplexValue and ODataCollectionValue are returned unchanged. - - The value to convert. - The value behind the given ODataValue. - - - - Represents a tree of selected properties based on the $select query option. - - - When reading, it controls the template expansion in JSON Light. - - - - The separator character used to separate property names in a path. - - - The separator character used to separate paths from each other. - - - Singleton which indicates that the nothing is selected. - - - Singleton which indicates that the entire subtree is selected. - - - An empty set of stream properties to return when nothing is selected. - - - An empty set of navigation properties to return when nothing is selected. - - - The type of the current node. - - - The list of selected properties at the current level. - - - A dictionary of property name to child nodes. - - - Indicates that this node had a wildcard selection and all properties at this level should be reported. - - - - Constructor. - - The string representation of the selected property hierarchy using - the same format as in the $select query option. - - - - Prevents a default instance of the class from being created. - - Type of the selection. - - - - Creates a node from the given raw $select query option value. - - The value of the $select query option. - A tree representation of the selected properties specified in the query option. - - - - Recursively combines the left and right nodes. Used when there are type segments present in the select paths which - causes there to be multiple children for the same property/navigation. - - The left node. - The right node. - The combined node. - - - - Gets the selected properties node for the specified navigation property. - - The current entity type. - The name of the navigation property. - The selected properties node for the property with name . - - - - Gets the selected navigation properties for the current node. - - The current entity type. - The set of selected navigation properties. - - - - Gets the selected stream properties for the current node. - - The current entity type. - The selected stream properties. - - - - Determines whether or not the given operation is selected and takes type-segments into account. - - The current entity type. - The operation. - Whether or not the operation name must be container qualified in the $select string. - - true if the operation is selected; otherwise, false. - - - - - Gets an enumerable containing the given type and all of its base/ancestor types. - - The starting entity type. Will be included in the returned enumeration. - An enumerable containing the given type and all of its base/ancestor types. - - - - Creates a new hash set for storing the names of selected properties. - - The initial set of selected properties to store in the hash set. - The hash set. - - - - Creates a new hash set for storing the names of selected properties. - - The hash set. - - - - Gets the possible identifiers that could cause the given operation to be selected. - - The operation. - Whether the operations must be container qualified. - The identifiers to look for in the $select string when determining if this action is selected. - - - - Gets the matching type segments for the given type based on this node's children. - - The entity type to match. - All child nodes which start with a type segment in the given types hierarchy. - - - - Parses the segments of a path in the select clause. - - The segments of the select path. - The index of the segment to parse. - - - - Ensures that a child annotation for the specified segment name already exists; if not creates one. - - The segment name to get the child annotation for. - The existing or newly created child annotation for the . - - - - Determines whether or not the given operation is selected without taking type segments into account. - - The operation. - Whether the operations must be container qualified. - - true if the operation is selected; otherwise, false. - - - - - Enum representing the different special cases of selection. - - - - - Represents the case where no properties are selected. - - - - - Represents the case where an entire subtree is selected. - - - - - The normal case where a partial subtree has been selected. - - - - - Class representing an annotation group in the JSON Light format. - - - - The name of the annotation group. - - - The (instance and property) annotations included in this annotation group. - - - - The name of the annotation group. - - The name has to be unique across the whole JSON Light payload. - - - - The (instance and property) annotations included in this annotation group. - - The keys in the dictionary are the names of the annotations, the values are their values. - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Tries to get a stream property of the specified name. - - The instance of the entity to get the stream property for. - The stream property name to find. - The stream property found. - true if the stream property was found or if the stream property name was null (default stream). - false if the stream property doesn't exist. - - - - Gets the the CLR value for a primitive property. - - The structured value. - Name of the property. - The clr value of the property. - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Class which holds information about navigation link to be reported by the reader. - - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link has a value (is expanded). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - List of entity reference links to be reported to the navigation link. - - - If the navigation link is a singleton this will hold up to 1 item. - If the navigation link is a collection this will hold any number of items. - When the entity reference link is reported it is removed from this list. - - - - - Constructor. - - The navigation link to report. - The navigation property for which the link will be reported. - true if the navigation link is expanded. - - - - Creates a navigation link info for a deferred link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded entry link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded feed link. - - The navigation link to report. - The navigation property for which the link will be reported. - The expanded feed for the navigation link to report. - The navigation link info created. - - - - Creates a navigation link info for a singleton entity reference link. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference link for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a collection of entity reference links. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference links for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a projected navigation link that is missing from the payload. - - The navigation property for which the link will be reported. - The navigation link info created. - - - - Gets the next entity reference link to report and removes it from the internal storage. - - The entity reference link to report or null. - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link is expanded (has a value). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - true if the link info has entity reference link which was not yet reported, false otherwise. - - - - - OData JsonLight deserializer for parameter payloads. - - - - - OData JsonLight deserializer for properties and value types. - - - - A sentinel value indicating a missing property value. - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JsonLight input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - An representing the read property. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - A task which returns an representing the read property. - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Gets and validates the type name annotation for the specified property. - - The duplicate property names checker in use for the entry content. - The name of the property to get the type name for. - The type name for the property or null if no type name was found. - - - - Tries to read an annotation as OData type name annotation. - - The annotation name on which value the reader is positioned on. - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - JsonNodeType.PrimitiveValue - the reader didn't move - JsonNodeType.StartObject - JsonNodeType.StartArray - - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - Reads the value of the odata.type annotation. - - The type name read from the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation, will fail if it's not PrimitiveValue - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - - - - - Reads top-level property payload property annotation value. - - The name of the property annotation. - The value of the annotation read. - - - - Tries to read an annotation as OData type name annotation. - - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.Property - the property that possibly is an odata.type instance annotation - Post-Condition: JsonNodeType.Property - the next property after the annotation or if the reader did not move - JsonNodeType.EndObject - end of the parent object - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - The duplicate property names checker to use. - An representing the read property. - - The method assumes that the ReadPayloadStart has already been called and it will not call ReadPayloadEnd. - - - - - Updates the expected type based on the metadata URI if there is one. - - The expected property type reference provided by the user through public APIs, or null if one was not provided. - The expected type reference updated based on the metadata uri, if there is one. - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartArray - Post-Condition: almost anything - the node after the collection value (after the EndArray) - - - - - Reads a primitive value. - - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The expected type reference of the value, or null if none is available. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: insideJsonObjectValue == false -> none - Fails if the current node is not a JsonNodeType.PrimitiveValue - insideJsonObjectValue == true -> JsonNodeType.Property or JsonNodeType.EndObject - the first property of the value object, - or the second property if first was odata.type, or the end-object. - Post-Condition: almost anything - the node after the primitive value. - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - this is always initialized as necessary, do not clear. - The value of the complex value. - - Pre-Condition: JsonNodeType.Property - the first property of the complex value object, or the second one if the first one was odata.type. - JsonNodeType.EndObject - the end object of the complex value object. - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the payload type name from a JSON object (if it exists). - - The duplicate property names checker to track the detected 'odata.type' annotation (if any). - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The value of the odata.type annotation or null if no such annotation exists. - true if a type name was read from the payload; otherwise false. - - Precondition: StartObject the start of a JSON object - Postcondition: Property the first property of the object if no 'odata.type' annotation exists as first property - or the first property after the 'odata.type' annotation. - EndObject for an empty JSON object or an object with only the 'odata.type' annotation - - - - - Detects whether we are currently reading a complex property or not. This can be determined from metadata (if we have it) - or from the presence of the odata.type instance annotation in the payload. - - The duplicate property names checker in use for the entry content. - The expected type reference of the property to read. - The type name of the complex value if found in the payload; otherwise null. - true if we are reading a complex property; otherwise false. - - This method does not move the reader. - - - - - Tries to read a top-level null value from the JSON reader. - - true if a null value could be read from the JSON reader; otherwise false. - If the method detects the odata.null annotation, it will read it; otherwise the reader does not move. - - - - Make sure that we don't find any other odata.* annotations or properties after reading a payload with the odata.null annotation or the odata.metadata annotation with value ending #Edm.Null - - The duplicate property names checker to use. - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - OData property annotation reader for parameter payloads. - OData property annotations are not supported in parameter payloads. - - - The JSON Light parameter reader. - - - - Constructor. - - The JSON Light parameter reader. - The JsonLight input context to read from. - - - - Reads the next parameter from the parameters payload. - - The duplicate property names checker used to read a parameter payload. - true if a parameter was read from the payload; otherwise false. - - Pre-Condition: Property or EndObject the property node of the parameter to read or the end object node if there are not parameters - Post-Condition: Property or EndObject the node after the property value of a primitive, complex or null collection parameter - Any the start of the value representing a non-null collection parameter (the collection reader will fail if this is not a StartArray node) - - - - - Parser for odata metadata URIs used in JSON Lite. - - - - The start of the select query option (including the '=' character). - - - The model to use when resolving the target of the URI. - - - The result of parsing the metadata URI. - - - - Initializes a new instance of the class. - - The model to use when resolving the target of the URI. - The metadata URI read from the payload. - - - - Creates a metadata URI parser and parses the metadata URI read from the payload. - - The model to use when resolving the target of the URI. - The string value of the odata.metadata annotation read from the payload. - The payload kind we expect the metadata URI to conform to. - The OData version to use for determining the set of built-in functions available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The result from parsing the metadata URI. - - - - Extracts the value of the $select query option from the specified fragment. - - The fragment to extract the $select query option from. - The value of the $select query option or null if none exists. - - - - Parses a metadata URI read from the payload into its parts. - - - - - Applies the model and validates the metadata URI against it. - - The payload kind we expect the metadata URI to conform to. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - - Parses the fragment of a metadata URI. - - The fragment to parse - Reader behavior if the caller is a reader, null if no reader behavior is available. - The OData version to use for determining the set of built-in functions available. - The detected payload kind based on parsing the fragment. - - - - Returns the parse results of the metadata uri if it has a AssociationLink in the uri - - Edm Type Resolver to determine entityset type element. - Number of split parts the metadata fragment is split into. - The actual metadata fragment parts. - The reader behavior. - The odata version. - Returns with an EntityReferenceLink or Links depending on the Uri, sets the parse results with the navigation, and set - - - - Set the EntityLinks Parse results. - - Navigation property to add to the results. - Single element string, used to confirm if this is an error case or not. - Returns ReferenceLink or Collection Link based on the navigation and at element - - - - Parses the fragment of an entity reference link metadata URI. - - Edm Type Resolver used to get the ElementType of the entity set. - Entity Set used as a starting point to find the navigation property - The name of the type declaring the navigation property. - The name of the navigation property. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved navigation property. - - - - Validate the Metadata Uri Fragment is @Element for a $links metadata uri, will throw a $links specific error - - Element selector. - - - - Validate the Metadata Uri Fragment is @Element for a non $links metadata uri, throws if its not correct - - Element selector. - - - - Resolves a navigation property name to an IEdmNavigationProperty. - - Entity Type to look for the navigation property on. - Navigation property name to find. - Returns the navigation property of throws an exception if it cannot be found. - - - - Resolves the entity set. - - The entity set part. - The resolved entity set. - Returns the OData Payload Kind - - - - Resolves an entity set with an optional type cast and updates the parse result. - - The entity set to resolve the type cast against. - The optional type cast. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type of the given entity set. - The resolved entity type. - - - - Resolves a type. - - The type name. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved Edm type. - - - - Interface representing a state of the JSON writer for entry. - - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entry being written. - - - - - The entity type for the entry (if available) - - - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - - - The serialization info for the current entry. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Constants for the JSON Lite format. - - - - The prefix for OData annotation names. - - - The separator of property annotations. - - - The value 'true' for the OData null annotation. - - - The 'value' property name for the Json Light value property. - - - The name of the property returned for a singleton $links query. - - - The name of the property returned for a URL of a workspace collection. - - - The name of the property returned for a name of a workspace collection. - - - The 'name' property name of an annotation group declaration. - - - The name of the $select query option. - - - The '=' character used to separate a query option name from its value. - - - The '&' separator character between query options. - - - The hash sign acting as fragment indicator in a metadata URI. - - - The slash sign used as separator in the fragment of a metadata URI. - - - The @Element token that indicates that the payload is a single item from a set. - - - The '(' used to mark the start of function parameters in the fragment of a metadata URI. - - - The ')' used to mark the end of function parameters in the fragment of a metadata URI. - - - The "," to use as the separator for the function parameters in the fragment of a metadata URI. - - - The token that indicates the payload is a property with null value. - - - - Builder class to construct the metadata pointers for the Json Light format for the various payload kinds. - - - - - Creates a metadata uri builder after validating user input. - - The JSON Light metadata level being written. - if set to true indicates that a response is being written. - The writer settings. - The Edm model instance. - The metadata uri builder to use while writing. - - - - Creates a metadata uri builder for the given base metadata document uri. - DEVNOTE: specifically for unit testing. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - A new metadata uri builder. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which uses a user-provided uri and $select clause. - - - - - The base metadata document uri and $select clause provided by the user. - - - - - The Edm model instance. - - - - - if set to true indicates that a response is being written. - - - - - Initializes a new instance of the class. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the metadata URI type name based on the given property. - - The property. - The type name for the metadata URI. - - - - Gets the entity set name for the metadata Uri. - - The entity set in question. - The model instance. - Returns the entity set name for the metadata Uri. - - - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - The entity set in question. - The eneity type in question. - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - - - - Creates the metadata URI for a type. - - The non-null, absolute metadata document URI. - The fully qualified type name to create the metadata URI for. - Returns the metadata URI for a value based on its type. - - - - Creates the metadata URI for a feed or entry. - - The non-null, absolute metadata document URI. - The Edm model instance. - The context object to answer basic questions regarding the type of the entry or feed. - true if the metadata URI is built for an entry, false if the metadata URI is built for a feed. - true if the metadata URI is for a response payload, false if the metadata URI is for a request payload. - Returns the metadata URI for the feed or entry. - - - - Creates the metadata URI for an entity set. - - The non-null, absolute metadata document URI. - The fully qualified entity set name for which to create the metadata URI. - The fully qualified entity type name of the entries in the result. This has to be an entity type derived - from the result entity set's base type or null to use its base type. - Navigation Property name to create a $link metadata uri to, if not null a $link uri will be created - true to append the '@Element" item selector at the end of the metadata URI; otherwise false. - The metadata URI for the . - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which never actually builds anything. Used for the case where 'nometadata' is explicitly requested in the media type. - - - - - Singleton instance of . - - - - - Prevents a default instance of the class from being created. - - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - The result of parsing an OData metadata URI in JSON Lite. - - - - The metadata URI read from the payload in its unparsed form. - - - The metadata document URI as read from the payload. - - - The fragment portion of the metadata URI. - - - The $select query option. - - - The resolved entity set as specified in the metadata URI. - - - The resolved structured type as specified in the metadata URI. - - - The navigation property as specified in the metadata URI. - - - The detected payload kinds from parsing the metadata URI. - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - Initializes a new instance of the class. - - The metadata URI read from the payload in its unparsed form. - - - - The metadata URI read from the payload in its unparsed form. - - - - - The metadata document URI as read from the payload. - - This is the metadata URI as read from the payload without the fragment. - - - - The fragment portion of the metadata URI. - - - - - The $select query option. - - - - - The resolved entity set as specified in the metadata URI. - - - - - The resolved structured type as specified in the metadata URI. - - - - - The navigation property as specified in the metadata URI. - - - - - The detected payload kinds from parsing the metadata URI. - - - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - - Reader for the JSON Lite format that supports look-ahead and re-ordering of payloads. - - - - - Reader for the JSON format (http://www.json.org) that supports look-ahead. - - - - - Reader for the JSON format. http://www.json.org - - - - - The initial size of the buffer of characters. - - - 4K (page size) divided by the size of a single character 2 and a little less - so that array structures also fit into that page. - The goal is for the entire buffer to fit into one page so that we don't cause - too many L1 cache misses. - - - - - Maximum number of characters to move in the buffer. If the current token size is bigger than this, we will allocate a larger buffer. - - This threshold is copied from the XmlReader implementation. - - - - The text which every date time value starts with. - - - - - The text which every date time value ends with. - - - - - The text reader to read input characters from. - - - - - Stack of scopes. - - - At the begining the Root scope is pushed to the stack and stays there for the entire parsing - (so that we don't have to check for empty stack and also to track the number of root-level values) - Each time a new object or array is started the Object or Array scope is pushed to the stack. - If a property inside an Object is found, the Property scope is pushed to the stack. - The Property is popped once we find the value for the property. - The Object and Array scopes are popped when their end is found. - - - - true if annotations are allowed and thus the reader has to - accept more characters in property names than we do normally; otherwise false. - - - true if the reader should recognize ASP.NET JSON DateTime and DateTimeOffset format "\/Date(...)\/". - false if the reader should not recognize such strings and read them as arbitrary string. - - - - End of input from the reader was already reached. - - This is used to avoid calling Read on the text reader multiple times - even though it already reported the end of input. - - - - Buffer of characters from the input. - - - - - Number of characters available in the input buffer. - - This can have value of 0 to characterBuffer.Length. - - - - Index into the characterBuffer which points to the first character - of the token being currently processed (while in the Read method) - or of the next token to be processed (while in the caller code). - - This can have value from 0 to storedCharacterCount. - - - - The last reported node type. - - - - - The value of the last reported node. - - - - - Cached string builder to be used when constructing string values (needed to resolve escape sequences). - - The string builder instance is cached to avoid excessive allocation when many string values with escape sequences - are found in the payload. - - - - Constructor. - - The text reader to read input characters from. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Determines if a given character is a whitespace character. - - The character to test. - true if the is a whitespace; false otherwise. - Note that the behavior of this method is different from Char.IsWhitespace, since that method - returns true for all characters defined as whitespace by the Unicode spec (which is a lot of characters), - this one on the other hand recognizes just the whitespaces as defined by the JSON spec. - - - - Parses a date time primitive value. - - The string value to parse. - The parsed date time value, or null if the string value doesn't represent a date time value. - - - - Parses a "value", that is an array, object or primitive value. - - The node type to report to the user. - - - - Parses a property name and the colon after it. - - The node type to report to the user. - - - - Parses a primitive string value. - - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses a primitive string value. - - Set to true if the first character in the string was a backslash. This is used when parsing DateTime values - since they must start with an escaped slash character (\/). - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses the null primitive value. - - Always returns null if successful. Otherwise throws. - Assumes that the current token position points to the 'n' character. - - - - Parses the true or false primitive values. - - true of false boolean value if successful. Otherwise throws. - Assumes that the current token position points to the 't' or 'f' character. - - - - Parses the number primitive values. - - Int32 or Double value if successful. Otherwise throws. - Assumes that the current token position points to the first character of the number, so either digit, dot or dash. - - - - Parses a name token. - - The value of the name token. - Name tokens are (for backward compat reasons) either - - string value quoted with double quotes. - - string value quoted with single quotes. - - sequence of letters, digits, underscores and dollar signs (without quoted and in any order). - - - - Called when end of input is reached. - - Always returns false, used for easy readability of the callers. - - - - Creates a new scope of type and pushes the stack. - - The scope type to push. - - - - Pops a scope from the stack. - - - - - Pops a property scope if it's present on the stack. - - - - - Skips all whitespace characters in the input. - - true if a non-whitespace character was found in which case the tokenStartIndex is pointing at that character. - false if there are no non-whitespace characters left in the input. - - - - Ensures that a specified number of characters after the token start is available in the buffer. - - The number of character after the token to make available. - true if at least the required number of characters is available; false if end of input was reached. - - - - Consumes the characters starting at the start of the token - and returns them as a string. - - The number of characters after the token start to consume. - The string value of the consumed token. - - - - Reads more characters from the input. - - true if more characters are available; false if end of input was reached. - This may move characters in the characterBuffer, so after this is called - all indeces to the characterBuffer are invalid except for tokenStartIndex. - - - - The value of the last reported node. - - This is non-null only if the last node was a PrimitiveValue or Property. - If the last node is a PrimitiveValue this property returns the value: - - null if the null token was found. - - boolean if the true or false token was found. - - string if a string token was found. - - DateTime if a string token formatted as DateTime was found. - - Int32 if a number which fits into the Int32 was found. - - Double if a number which doesn't fit into Int32 was found. - If the last node is a Property this property returns a string which is the name of the property. - - - - - The type of the last node read. - - - - - Various scope types for Json writer. - - - - - Root scope - the top-level of the JSON content. - - This scope is only once on the stack and that is at the bottom, always. - It's used to track the fact that only one top-level value is allowed. - - - - Array scope - inside an array. - - This scope is pushed when [ is found and is active before the first and between the elements in the array. - Between the elements it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Object scope - inside the object (but not in a property value). - - This scope is pushed when { is found and is active before the first and between the properties in the object. - Between the properties it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Property scope - after the property name and colon and througout the value. - - This scope is pushed when a property name and colon is found. - The scope remains on the stack while the property value is parsed, but once the property value ends, it's immediately removed - so that it doesn't appear on the stack after the value (ever). - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - Get/Set the number of values found under the current scope. - - - - - Gets the scope type for this scope. - - - - The (possibly empty) list of buffered nodes. - This is a circular linked list where this field points to the first item of the list. - - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - - The maximumum number of recursive internalexception objects to allow when reading in-stream errors. - - - - The name of the property that denotes an in-stream error. - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - - Debug flag to ensure we do not re-enter the instance while reading ahead and trying to parse an in-stream error. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Constructor. - - The text reader to read input characters from. - The name of the property that denotes an in-stream error. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Puts the reader into the state where it buffers read nodes. - - - - - Creates a bookmark at the current position of the reader. - - The bookmark object, it should be treated as a black box by the caller. - - - - Moves the reader to the bookmarked position. - - The bookmark object to move to. - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - A method to detect whether the current property value represents an in-stream error. - - The read from the payload. - true if the current value is an in-stream error value; otherwise false. - - - - Reads the next node from the input. If we have still nodes in the buffer, takes the node - from there. Otherwise reads a new node from the underlying reader and buffers it (depending on the current mode). - - true if a new node was found, or false if end of input was reached. - - If the parsingInStreamError field is false, the method will read ahead for every StartObject node read from the input to check whether the JSON object - represents an in-stream error. If so, it throws an . If false, this check will not happen. - This parsingInStremError field is set to true when trying to parse an in-stream error; in normal operation it is false. - - - - - Called whenever we find a new object value in the payload. - The base class implementation reads ahead and tries to parse it as an in-stream error payload. If it finds one it will throw it. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads the next node from the JSON reader and if a start-object node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Try to read an error structure from the stream. Return null if no error structure can be read. - - An instance that was read from the reader or null if none could be read. - true if an instance that was read; otherwise false. - - - - Try to read the message property value of an error value. - - An instance to set the read message property values on. - true if the message property values could be read; otherwise false. - - - - Try to read an inner error property value. - - An instance that was read from the reader or null if none could be read. - The number of times this method has been called recursively. - true if an instance that was read; otherwise false. - - - - Reads the string value of a property. - - The string value read if the method returns true; otherwise null. - true if a string value (or null) was read as property value of the current property; otherwise false. - - - - Skips over a JSON value (primitive, object or array) while parsing in-stream errors. - Note that the SkipValue extension method can not be used in this case as this method has to - access the base instance's NodeType and call ReadInternal. - - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Removes the head node from the buffer. - - - - - The type of the last node read. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - The value of the last reported node. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Private class used to buffer nodes when reading in buffering mode. - - - - The type of the node read. - - - The value of the node. - - - - Constructor. - - The type of the node read. - The value of the node. - - - - The type of the node read. - - - - - The value of the node. - - - - - The previous node in the list of nodes. - - - - - The next node in the list of nodes. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Buffers and re-orders an object value for later consumption by the JsonLight reader. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads a property name from the JSON reader and determines if it's a regular property, an instance annotation or a property annotation. - - The name of the regular property which the reader is positioned on or which a property annotation belongs to. - The name of the instance or property annotation, or null if the reader is on a regular property. - - - - Reads over a value buffering it. - - - - - A data structure to represent the buffered object with information about its properties, - their order and annotations. - - - - The cache for properties. - The key is the property or instance annotation name, - the value are the buffered properties grouped by property name (incl. annotation properties). - - - The set of data property names. - Data properties are the properties that are neither an instance annotation property nor a property annotation. - - - A list of property names with their annotation name. - This is needed to properly maintain the relative order of annotation properties if no data - property for the annotation property exists in the object. - - - - Constructor. - - - - - Adds a new buffered property to the list of buffered properties for this object. - - The name of the data property (null for instance annotations). - The name of the annotation (null for data properties). - The buffered property to add. - - - - Reorders the buffered properties to conform to the required payload order. - - The required order is: odata.metadata comes first, odata.type comes next, then all odata.* property annotations - and finally, we preserve the relative order of custom annotations and data properties. - - - - Sort the data properties and property annotations stored for a particular property name. - - The list of buffered properties to sort. - The sorted enumerable of buffered properties. - The sort order is for all odata.* property annotations to come before the data property - but otherwise preserve the relative order of custom property annotations with regard to the position of the data property. - - - - Checks whether an annotation name is an odata.* annotation. - - The annotation name to check. - true if the annotation name represents an odata.* annotation; otherwise false. - - - - Checks whether an annotation name is a odata.metadata annotation. - - The annotation name to check. - true if the annotation name represents an odata.metadata annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroup annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroup annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroupReference annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroupReference annotation; otherwise false. - - - - Checks whether an annotation name is a odata.type annotation. - - The annotation name to check. - true if the annotation name represents an odata.type annotation; otherwise false. - - - - Checks whether an annotation name is a odata.id annotation. - - The annotation name to check. - true if the annotation name represents an odata.id annotation; otherwise false. - - - - Checks whether an annotation name is a odata.etag annotation. - - The annotation name to check. - true if the annotation name represents an odata.etag annotation; otherwise false. - - - - Sorts the property names for an object. - - The sorted enumerable of property names. - The sort order is to put odata.metadata first, then odata.type, odata.id, and odata.etag, followed by all other odata.* instance annotations. - For the rest, we preserve the relative order of custom annotations with regard to the data property. - Note that we choose the position of the first property annotation in cases where no data property for a set of - property annotations exists. - - - - The node in the linked list of buffered nodes where this object starts. - - - - - The current buffered property being processed. - - - - - A data structure to represent a buffered property. - - - - - Reorders the buffered property to be positioned after the node. - - The node after which to insert this buffered property. - - - - The annotation name for this buffered property (either instance annotation or property annotation). - - - - - The node in the linked list of buffered nodes that represents the property name of the buffered property. - - - - - The node in the linked list of buffered nodes that represents the end of the property value of the buffered property. - - - - - Interface representing a context necessary for reading JSON operations values. - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - Base class for all JSON output contexts. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The text writer created for the output stream. - - - The JSON writer to write to. - This field is also used to determine if the output context has been disposed already. - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the which is to be used to write the content of the message. - - - - - Helper methods used by the OData reader for the Verbose JSON and JSON Light formats. - - - - - Try and parse spatial type from the json payload. - - The JSON reader to read from. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - Expected edm property type. - true to validate null values; otherwise false. - The recursion depth to start with. - The name of the property whose value is being read, if applicable (used for error reporting). - An instance of the spatial type. - - - - Tries to read a null value from the JSON reader. - - The JSON reader to read from. - The input context with all the settings. - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - true if a null value could be read from the JSON reader; otherwise false. - If the method detects a null value it will read it (position the reader after the null value); - otherwise the reader does not move. - - - - Reads the json object value from the jsonReader - - Json reader to read payload from the wire. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - The recursion depth to start with. - an instance of IDictionary containing the spatial value. - - - - Read the json array from the reader. - - JsonReader instance. - The input context with all the settings. - The recursion depth to start with. - a list of json objects. - - - - Reader for the JSON format that supports look-ahead and deduplicates properties. - - - This reader will buffer the entire object record whenever it finds the start of the object record. - It then goes through all its properties and removes duplicates. - It then reports the object record as if there were no duplicates in it. - If there was a duplicate property it will be reported at the position the first occurence of the property was found - but with the value of the last occurence. - This is to implement WCF DS Server compatibility behavior. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Removes duplicate properties in the current object record. - - - This method assumes that we are buffering and that the current buffered node is a StartObject. - It then goes, buffers the entire object record (and all its children) and removes duplicate properties (using the WCF DS Server algorithm). - It will remove duplicate properties on any objects in the subtree of the top-level object as well (behaves recursively). - The method also checks for in-stream errors and throws if it finds one. - - - - - Private class used to store information necessary to deduplicate properties of a single JSON object record. - - - This class is a dictionary - Key is the name of a property in the object record. - Value is a list of property deduplication records in the order we find the properties in the payload. - - - - - Points to the property record which is currently being constructed. - - - - - Private class used to store information necessary to deduplicate a single JSON property. - - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - - - Constructor. - - The property node to create the record for. - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - Observation: Even if the value itself is an object for which we will do the property deduplication and thus we will shuffle its nodes around, - in that case the last value node will point to the end object node which will not change during the deduplication process. - - - - - Annotation which stores the EDM type information of a value. - - - This annotation will be used on ODataEntry, ODataComplexValue and ODataCollectionValue. - - - - The EDM type of the value this annotation is on. - - - The entity set of the value this annotation is on. Only applies to entity values. - - - - Creates a new instance of the type annotation for an entity value. - - The entity set the entity belongs to (required). - The entity type of the entity value if not the base type of the entity set (optional). - - - - Creates a new instance of the type annotation for a complex value. - - The type of the complex value (required). - - - - Creates a new instance of the type annotation for a collection value. - - The type of the collection value (required). - - - - The EDM type of the value. - - - - - The entity set the value belongs to (only applies to entity values). - - - - - An implementation of an OData collection value. - - - - - The to convert into an . - - - - - Creates a new instance of an . - - The to create the collection value for. - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - An implementation of an OData entry or complex value. - - - - Static, un-typed instance for use in ODataLib. - - - - Creates a new Edm null value with the specified type. - - The type of the null value (if available). - - - - Gets the kind of this value. - - - - - Class with utility methods to deal with EDM values over OData OM instances. - - - - - Converts an into the corresponding . - - The non-null to convert. - The declaring type of the property. - An implementation of the value. - - - - Converts an OData value into the corresponding . - - The value to convert. - The of the value or null if no type reference is available. - An implementation of the . - - - - An implementation of an OData entry or complex value. - - - - Properties of an OData entry or complex value. - - - The type of this structured value. - - - - Creates a new Edm structured value from an OData entry. - - The to create the structured value for. - - - - Creates a new Edm structured value from an OData complex value. - - The to create the structured value for. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Interface representing a state of the JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. May be null. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - OData JsonLight deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - The duplicate property names checker used to keep track of the properties and annotations - in the collection wrapper object. - true if we are reading a nested collection inside a paramter payload; otherwise false. - The expected item type reference or null if none is expected. - The validated actual item type reference (if specified in the payload) or the expected item type reference. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: Any: the start of a nested collection value; if this is not a 'StartArray' node this method will fail. - JsonNodeType.Property: the first property of the collection wrapper object after the metadata URI. - JsonNodeType.EndObject: when the collection wrapper object has no properties (other than the metadata URI). - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level instance annotations. - - true if we are reading a nested collection inside a paramter payload; otherwise false. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: All of the collection payload has been consumed. - - - - - OData collection reader for the JsonLight format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the collection reader logic when in state 'Start'. - - The duplicate property names checker for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - OData JsonLight serializer for collections. - - - - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - - Writes the start of a collection. - - The collection start to write. - The item type of the collection or null if no metadata is available. - - - - Writes the end of a collection. - - - - - ODataCollectionWriter for the JsonLight format. - - - - - Base class for OData collection writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData collection writers. - - - - Start writing a collection. - The representing the collection. - - - Asynchronously start writing a collection. - A task instance that represents the asynchronous write operation. - The representing the collection. - - - Starts writing an entry. - The collection item to write. - - - Asynchronously start writing a collection item. - A task instance that represents the asynchronous write operation. - The collection item to write. - - - Finishes writing a collection. - - - Asynchronously finish writing a collection. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - An interface that allows the implementations of the writers to get notified if an in-stream error is to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - The output context to write to. - - - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - Stack of writer scopes to keep track of the current context of the writer. - - - The expected type of the items in the collection or null if no expected item type exists. - - - Checker to detect duplicate property names on complex collection items. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a collection. - - The representing the collection. - - - - Asynchronously start writing a collection. - - The representing the collection. - A task instance that represents the asynchronous write operation. - - - - Write a collection item. - - The collection item to write. - - - - Asynchronously start writing a collection item. - - The collection item to write. - A task instance that represents the asynchronous write operation. - - - - Finish writing a collection. - - - - - Asynchronously finish writing a collection. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - The representing the collection. - - - - Start writing a collection - implementation of the actual functionality. - - The representing the collection. - - - - Verify that calling WriteItem is valid. - - true if the call is to be synchronous; false otherwise. - - - - Write a collection item - implementation of the actual functionality. - - The collection item to write. - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a collection - implementation of the actual functionality. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Notifies the implementer of the interface of relevant state changes in the writer. - - The new writer state. - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - The item associated with the new state. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - The current state of the writer. - - - - Checker to detect duplicate property names on complex collection items. - - - - The collection validator instance. - - - - - The item type of the collection being written or null if no metadata is available. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer has started writing and is writing the wrapper elements for the - collection items (if any). No or all items have been written. - - - - The writer is in a state where collection items can be written. - - - The writer has completed; nothing can be written anymore. - - - Writer has written an error; nothing can be written anymore. - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - - The output context to write to. - - - - - The JsonLight collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - OData JsonLight deserializer for entity reference links. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - An representing the read entity reference link. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read entity reference link. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read entity reference link. - - - - Reads the entity reference link instance annotations. - - The to read the annotations for. - The duplicate property names checker for the entity reference links scope. - true when parsing the instance annotations before the 'value' property; - false when parsing the instance annotations after the 'value' property. - - Pre-Condition: JsonNodeType.Property The first property in the payload (or the first property after the metadata URI in responses) - JsonNodeType.EndObject The end of the entity reference links object - Post-Condition: JsonNodeType.EndObject When the end of the entity reference links object is reached - Any The first node of the value of the 'url' property (if found) - - - - - Reads the odata.nextlink value of an entity reference links nextlink annotation. - - The entity reference links to read the next link value for; the value of the nextlink will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of an entity reference links count annotation. - - The entity reference links to read the count value for; the value of the count will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Read an entity reference link. - - The duplicate property names checker to check for duplicate properties and - duplicate annotations; this is a separate instance per entity reference link. - true if we are reading a singleton entity reference link at the top level; false if we are reading - an entity reference link as part of a collection of entity reference links. - An instance of which was read. - - Pre-Condition: StartObject when the entity reference link is part of a collection - Property the first property in the entity reference link (for a top-level link) - EndObject the end object node of an entity reference link (for a top-level link) - Post-Condition: EndInput for a top-level object - EndArray for the last link in a collection of links - Any for the first node of the next link in a collection of links - - - - - OData JsonLight serializer for entity reference links. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - true if the entity reference link being written is at the top level of the payload. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes the next link property, which consists of the property name and value. - - The non-null value of the next link to write. - - - - Writes the odata.count property, which consists of the property name and value. - - The value of the count property to write. - - - - OData JsonLight deserializer for entries and feeds. - - - - The annotation group deserializer for reading annotation groups. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of the JSON array for the content of the feed. - - - Pre-Condition: JsonNodeType.StartArray: The start of the feed property array; this method will fail if the node is anything else. - Post-Condition: JsonNodeType.StartObject: The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of the array containing the feed content. - - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.Property if the feed is part of an expanded navigation link and there are more properties in the object - JsonNodeType.EndObject if the feed is a top-level feed or the expanded navigation link is the last property of the payload - - - - - Reads the entry type name annotation (odata.type) - - The state of the reader for entry to read. - - Pre-Condition: JsonNodeType.Property The first property after the odata.metadata in the entry object. - JsonNodeType.EndObject End of the entry object. - Post-Condition: JsonNodeType.Property The property after the odata.type (if there was any), or the property on which the method was called. - JsonNodeType.EndObject End of the entry object. - - This method fills the ODataEntry.TypeName property if the type name is found in the payload. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.Property If we've read a deferred link (this is the property after the deferred link) - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null - - - - - Validates entry metadata. - - The entry state to use. - - - - Reads the feed instance annotations for a top-level feed. - - The to read the instance annotations for. - The duplicate property names checker for the top-level scope. - true when parsing the instance annotations before the feed property; - false when parsing the instance annotations after the feed property. - true if we should scan ahead for the annotations and ignore the actual data properties (used with - the reordering reader); otherwise false. - - - - Reads a value of property annotation on the entry level. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property annotation - - - - - Reads an annotation group if one exists, and updates the given entry with the annotations from the annotation group. - - The state for the entry which should get the annotations. - - - - Reads instance annotation in the entry object. - - The name of the instance annotation found. - true if a non-annotation property has already been encountered. - true if the 'odata.type' annotation has already been encountered, or should have been by now. - The duplicate property names checker for the entry being read. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads instance annotation in the entry object. - - The state of the reader for entry to read. - The name of the instance annotation found. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of the instance annotation. - - The duplicate property names checker instance. - The name of the instance annotation. - Returns the value of the instance annotation. - - - - Reads the value of a feed annotation (count or next link). - - The name of the annotation found. - The feed to read the annotation for; if non-null, the annotation value will be assigned to the feed. - The duplicate property names checker instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the annotation - Post-Condition: JsonNodeType.EndObject The end of the feed object - JsonNodeType.Property The next annotation after the current annotation - - - - - Reads entry property which doesn't have value, just annotations. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.EndObject The end of the entry object. - JsonNodeType.Property The property after the one we're to read. - Post-Condition: JsonNodeType.EndObject This method doesn't move the reader. - JsonNodeType.Property - - - - - Reads any next link annotation immediately after the end of a feed. - - The feed being read. - The information about the expanded link. This must be non-null if we're reading an expanded feed, and must be null if we're reading a top-level feed. - The top-level duplicate property names checker, if we're reading a top-level feed. - - - - Reads the information of a deferred link. - - The state of the reader for entry to read. - The name of the navigation property for which to read the deferred link. - The navigation property for which to read the deferred link. This can be null. - Returns the navigation link info for the deferred navigation link read. - - This method doesn't move the reader. - - - - - Reads expanded entry navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads expanded feed navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads entity reference link for a singleton navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference link. - true if the navigation link is expanded. - The navigation link info for the entity reference link read. - - This method doesn't move the reader. - - - - - Reads entity reference links for a collection navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference links. - true if the navigation link is expanded. - The navigation link info for the entity reference links read. - - This method doesn't move the reader. - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Checks if there is a next link annotation immediately after an expanded feed, and reads and stores it if there is one. - We fail here if we encounter any other property annotation for the expanded navigation (since these should come before the property itself). - - The feed that was just read. - The information for the current expanded navigation link being read. - - - - Applies the all the annotations from the given annotation group to an entry. - - The state for the entry which should get the annotations. - The annotation group to apply. - - - - Sets specified media resource on an entry and hooks up metadata builder. - - The entry state to use. - The media resource to set. - - - - Reads entry property (which is neither instance nor property annotation) which has a value. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Read an entry-level data property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - The type name specified for the property in property annotation, or null if no such type name is available. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: JsonNodeType.PrimitiveValue: propertyWithValue is true and the reader is positioned on the first node of the property value. - JsonNodeType.StartObject: - JsonNodeType.StartArray: - JsonNodeType.Property: propertyWithValue is false and the reader is positioned on the node after the property. - JsonNodeType.EndObject: - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link info instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value from the property annotations. - - The state of the reader for entry to read. - The name of the stream property to read the value for. - The newly created stream reference value. - - - - Reads one operation for the entry being read. - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - true if the operation value is inside an array, i.e. multiple targets for the operation; false otherwise. - - Pre-Condition: JsonNodeType.StartObject: first node of the operation value. - Post-Condition: JsonNodeType.Property: the property after the current operation being read when there is one target for the operation. - JsonNodeType.StartObject: the first node of the next operation value when there are multiple targets for the operation. - JsonNodeType.EndArray: the end-array of the operation values when there are multiple target for the operation. - - - - - Sets the metadata builder for the operation. - - The state of the reader for entry to read. - The operation to set the metadata builder on. - - - - Creates a new instance of ODataAction or ODataFunction for the . - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - A new instance of ODataAction or ODataFunction for the . - - - - Read the metadata reference property value for the entry being read. - - The state of the reader for entry to read. - The name of the metadata reference property being read. - - Pre-Condition: JsonNodeType.Property: first node of the metadata reference property's value. Currently - actions and functions are the only supported metadata reference property, - we will throw if this is not a start object or start array node. - Post-Condition: JsonNodeType.Property: the property after the annotation value - JsonNodeType.EndObject: the end-object of the entry - - - - - Validates that we can read metadata reference property. - - - - - Validates that the value of a JSON property can represent expanded navigation link. - - true if the property is entity set reference property; false for a resource reference property, null if unknown. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData JsonLight serializer for entries and feeds. - - - - - OData JsonLight serializer for properties. - - - - - Serializer to use to write property values. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Test to see if is an open property or not. - - The property in question. - The owning type of the property. - The metadata of the property. - true if the property is an open property; false if it is not, or if openness cannot be determined - - - - Writes a name/value pair for a property. - - The property to write out. - The owning type for the or null if no metadata is available. - true when writing a top-level property; false for nested properties. - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property. - - The name of the property to write. - The stream reference value to be written - - - - Writes the type name on the wire. - - Name of the property. - Type name of the property. - true when writing a top-level property; false for nested properties. - - - - Gets the json light value writer. - - - - A map from annotation group name to annotation group for all annotation groups - encountered so far in this payload. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes an annotation group declaration or annotation group reference if specified for the entry. - - The entry to write the annotation group declaration or reference for. - - - - Writes the metadata properties for an entry which can only occur at the start. - - The entry state for which to write the metadata properties. - - - - Writes the metadata properties for an entry which can occur both at the start or at the end. - - The entry state for which to write the metadata properties. - - This method will only write properties which were not written yet. - - - - - Writes the metadata properties for an entry which can only occur at the end. - - The entry state for which to write the metadata properties. - The duplicate names checker for properties of this entry. - - - - Writes the navigation link metadata. - - The navigation link to write the metadata for. - The checker instance for duplicate property names. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - true when writing the entry's actions; false when writing the entry's functions. - - - - Tries to writes the metadata URI property for an entry into the payload if one is available. - - The context object to answer basic questions regarding the type of the entry. - - - - Tries to writes the metadata URI property for a feed into the payload if one is available. - - The context object to answer basic questions regarding the type of the feed. - - - - Writes an association link property annotation. - - The name of the navigation property for which to write the association link. - The association link URL to write. - - - - Gets the metadata reference fragment from the operation metadata uri. - i.e. if the operation metadata uri is {absolute metadata document uri}#{container-qualified-operation-name}, - this method will return #{container-qualified-operation-name}. - - Operation in question. - The metadata reference fragment from the operation metadata uri. - - - - Returns the target uri string from the given operation. - - Operation in question. - Returns the target uri string from the given operation. - - - - Validates a group of operations with the same Metadata Uri. - - Operations to validate. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Gets the base Uri of the metadata document uri, if it has been set. - - - - - OData JsonLight deserializer for errors. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - A task which returns an representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.Property - The first property of the top level object. - JsonNodeType.EndObject - If there are no properties in the top level object. - any - Will throw if anything else. - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads all the properties in a single JSON object scope, calling for each non-annotation property encountered. - - - An action which takes the name of the current property and processes the property value as necessary. - At the start of this action, the reader is positioned at the property value node. - The action should leave the reader positioned on the node after the property value. - - - - This method should only be used for scopes where we allow (and ignore) annotations in a custom namespace, i.e. scopes which directly correspond to a class in the OM. - - Pre-Condition: JsonNodeType.StartObject - The start of the JSON object being processed. - any - Will throw if not StartObject. - Post-Condition: any - The node after the EndObject node for the JSON object being processed. - - - - - Reads a value of property annotation on an error payload. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code, or throw if ther is something unexpected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the error object - JsonNodeType.Property The next property after the property annotation - - - - - Reads the JSON object which is the value of the "odata.error" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "odata.error" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "odata.error" object's EndNode. - - - - - Reads the JSON object which is the value of the "message" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "message" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "message" object's EndNode. - - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: JsonNodeType.StartObject - The start of the "innererror" object. - any - will throw if not StartObject. - Post-Condition: any - The node after the "innererror" object's EndNode. - - - - - Reads a property value which occurs in the "innererror" object scope. - - The number of parent inner errors for this inner error. - The object to update with the data from this property value. - The name of the property whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "innererror" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "odata.error" object scope. - - The object to update with the data from this property value. - The name of the property whose value is to be read. - DuplicatePropertyNamesChecker to use for extracting property annotations - targetting any custom instance annotations on the error. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "odata.error" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "message" object scope. - - The object to update with the data from this property value. - The name of the propety whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "message" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - The JsonLight OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Implementation of the OData input for JsonLight OData format. - - - - - Base class for all input contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this input context. - - - The message reader settings to be used for reading. - - - The protocol version to use when reading the payload. - - - Set to true if this context is reading a response payload. - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The model to use. - - - The type resolver to use. - - - Set to true if the input was disposed. - - - - Constructor. - - The format for this input context. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - The newly created . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly created . - - - - Create a . - - The batch boundary to use. - The newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Check if the object has been disposed. - - If the object has already been disposed. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Method to use the custom URL resolver to resolve a base URI and a payload URI. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Disposes the input context. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message reader settings to be used for reading. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being read. - - - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The type resolver to use. - - - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS client compatibility API behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - true if the default API behavior should be used; otherwise false. - - - - JSON Light specific state stored during payload kind detection. - - - The text reader created for the input stream. - - The ODataJsonLightInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The content type of the message to read. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - Constructor. - The format for this input context. - The reader to use. - The content type of the message to read. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Verifies that CreateEntryReader or CreateFeedReader can be called. - - The entity set we are going to read entities for. - The expected entity type for the entry/entries to be read. - - - - Verifies that CreateCollectionReader can be called. - - The expected type reference for the items in the collection. - - - - Verifies that ReadEntityReferenceLink can be called. - - The navigation property for which to read the entity reference link. - - - - Verifies that ReadProperty can be called. - - - - - Verifies that DetectPayloadKind can be called. - - - - - Verifies that a user model is available for reading. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Returns the which is to be used to read the content of the message. - - - - - JSON Light specific state stored during payload kind detection. - - - - - JsonLight format output context. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The specific media type being written. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Creates a metadata uri builder for the current output context. - - The metadata uri builder to use when writing. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - OData parameter reader for the Json Light format. - - - - The input to read the payload from. - - - The parameter deserializer to read the parameter input with. - - - The duplicate property names checker to use for the parameter payload. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - ODataParameterWriter for the JsonLight format. - - - - - Base class for OData parameter writers that verifies a proper sequence of write calls on the writer. - - - - Base class for OData collection writers. - - - Start writing a parameter payload. - - - Asynchronously start writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Start writing a value parameter. - The name of the parameter to write. - The value of the parameter to write. - - - Asynchronously start writing a value parameter. - A task instance that represents the asynchronous write operation. - The name of the parameter to write. - The value of the parameter to write. - - - Creates an to write the value of a collection parameter. - The newly created . - The name of the collection parameter to write. - - - Asynchronously creates an to write the value of a collection parameter. - The asynchronously created . - The name of the collection parameter to write. - - - Finish writing a parameter payload. - - - Asynchronously finish writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Asynchronously flushes the write buffer to the underlying stream. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - The function import whose parameters will be written. - - - Stack of writer scopes to keep track of the current context of the writer. - - - Parameter names that have already been written, used to detect duplicate writes on a parameter. - - - Checker to detect duplicate property names on complex parameter values. - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a parameter payload. - - - - - Asynchronously start writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - Start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - - - - Asynchronously start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - A task instance that represents the asynchronous write operation. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The newly created . - - - - Asynchronously creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - A running task for the created writer. - - - - Finish writing a parameter payload. - - - - - Asynchronously finish writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Writes a value parameter (either primitive or complex). - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Finish writing an OData payload. - - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - - - - Start writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the parameter with name can be written and returns the - type reference of the parameter. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling WriteValue is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The value of the parameter to write. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling CreateCollectionWriter is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The expected item type of the items in the collection or null if no item type is available. - - - - Gets the type reference of the parameter in question. Returns null if no function import was specified to the writer. - - The name of the parameter in question. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Write a value parameter - implementation of the actual functionality. - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - If an is specified, then this method ensures that all parameters present in the - function import are written to the payload. - - The binding parameter is optional in the payload. Hence this method will not check for missing binding parameter. - - - - Finish writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the current state is not Error or Completed. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Catch any exception thrown by the function passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The return type of . - The function to execute. - Returns the return value from executing . - - - - Enters the Error scope if we are not already in Error state. - - - - - Verifies that the transition from the current state into new state is valid and enter a new writer scope. - - The writer state to transition into. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Start' scope with a 'Completed' scope. - - Note that this method is never called once the writer is in 'Error' state. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - - - - Verify that the transition from the current state into new state is valid. - - The new writer state to transition into. - - - Checker to detect duplicate property names on complex parameter values. - - - - The current state of the writer. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer is in a state where the next parameter can be written. - The writer enters this state after WriteStart() or after the previous parameter is written. - - - - One of the create writer method has been called and the created sub writer is not in Completed state. - - - The writer has completed; nothing can be written anymore. - - - An error had occured while writing the payload; nothing can be written anymore. - - - - The output context to write to. - - - - - The JsonLight property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - OData JsonLight deserializer for detecting the payload kind of a JsonLight payload. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - OData reader for the JsonLight format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - The scope associated with the top level of this payload. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'Start'. - - The duplicate property names checker to use for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry or - reporting projected navigation links missing in the payload - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of the JSON array for the content of the feed and sets up the reader state correctly. - - The feed to read the contents for. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: The first node of the feed property value; this method will throw if the node is not - JsonNodeType.StartArray - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the end of the current feed. - - - - - Reads the start of an expanded entry (null or non-null). - - The navigation link that is being expanded. - - Pre-Condition: JsonNodeType.StartObject The start of the entry object - JsonNodeType.PrimitiveValue (null) The null entry value - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next, or the null value of the current null entry - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the start of an entry and sets up the reader state correctly - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: JsonNodeType.StartObject If the entry is in a feed - the start of the entry object - JsonNodeType.Property If the entry is a top-level entry and has at least one property - JsonNodeType.EndObject If the entry is a top-level entry and has no properties - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Reads the next item in a navigation link content in a request payload. - - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link info for the navigation link to start. - - - - Replaces the current scope with a new scope with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonLightFeedScope - - - - - Returns current scope cast to JsonLightNavigationLinkScope - - - - - A reader top-level scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type of the top-level entry or entries in the top-level feed. - In all cases the specified type must be an entity type. - - - - The duplicate property names checker for the top level scope represented by the current state. - - - - - A reader entry scope; keeping track of the current reader state and an item associated with this state. - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - Constructor creating a new reader scope. - - The reader state of the new scope that is being created. - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The duplicate property names checker for this entry scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - In all cases the specified type must be an entity type. - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - true if we have started processing missing projected navigation links, false otherwise. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - A reader feed scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - In all cases the specified type must be an entity type. - - - - The selected properties that should be expanded during template evaluation. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The navigation link info attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - The navigation link info for the navigation link to report. - This is only used on a StartNavigationLink scope in responses. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Determines if the specified is an OData annotation property name. - - The property name to test. - true if the property name is an OData annotation property name, false otherwise. - - - - Determines if the specified property name is a name of an annotation property. - - The name of the property. - true if is a name of an annotation property, false otherwise. - - This method returns true both for normal annotation as well as property annotations. - - - - - Validates that the annotation string value is valid. - - The value of the annotation. - The name of the (instance or property) annotation (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JsonLight. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - Object which is in sync with the property type. - - - - OData JsonLight deserializer for service documents. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - A task which returns an representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - The duplicate property names checker to use for the top-level scope. - An representing the read service document. - - Pre-Condition: JsonNodeType.Property The property right after the metadata URI property. - JsonNodeType.EndObject The EndObject of the service document. - Post-Condition: Any The node after the EndObject of the service document. - - - - - Reads a resource collection within a service document. - - The to use for parsing annotations within the resource collection object. - A representing the read resource collection. - - Pre-Condition: JsonNodeType.StartObject: The beginning of the JSON object representing the resource collection. - other: Will throw with an appropriate message on any other node type encountered. - Post-Condition: JsonNodeType.StartObject: The beginning of the next resource collection in the array. - JsonNodeType.EndArray: The end of the array. - other: Any other node type occuring after the end object of the current resource collection. (Would be invalid). - - - - - OData JsonLight serializer for service documents. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JsonLight format. - - The default workspace to write in the service document. - - - - Implementation of the ODataWriter for the JsonLight format. - - - - - Base class for OData writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData writers. - - - - Starts the writing of a feed. - The feed or collection to write. - - - Asynchronously start writing a feed. - A task instance that represents the asynchronous write operation. - The feed or collection to write. - - - Starts the writing of an entry. - The entry or item to write. - - - Asynchronously start writing an entry. - A task instance that represents the asynchronous write operation. - The entry or item to write. - - - Starts the writing of a navigation link. - The navigation link to write. - - - Asynchronously start writing a navigation link. - A task instance that represents the asynchronous write operation. - The navigation link to writer. - - - Finishes the writing of a feed, an entry, or a navigation link. - - - Asynchronously finish writing a feed, entry, or navigation link. - A task instance that represents the asynchronous write operation. - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - A task instance that represents the asynchronous write operation. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - True if the writer was created for writing a feed; false when it was created for writing an entry. - - - Stack of writer scopes to keep track of the current context of the writer. - - - - The to use for entries in this feed. - Only applies when writing a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a feed. - - Feed/collection to write. - - - - Asynchronously start writing a feed. - - Feed/collection to write. - A task instance that represents the asynchronous write operation. - - - - Start writing an entry. - - Entry/item to write. - - - - Asynchronously start writing an entry. - - Entry/item to write. - A task instance that represents the asynchronous write operation. - - - - Start writing a navigation link. - - Navigation link to write. - - - - Asynchronously start writing a navigation link. - - Navigation link to writer. - A task instance that represents the asynchronous write operation. - - - - Finish writing a feed/entry/navigation link. - - - - - Asynchronously finish writing a feed/entry/navigation link. - - A task instance that represents the asynchronous write operation. - - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - A task instance that represents the asynchronous write operation. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Gets the projected properties annotation for the specified scope. - - The scope to get the projected properties annotation for. - The projected properties annotation for . - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing an OData payload. - - - - - Finish writing a feed. - - The feed to write. - - - - Write a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link into a navigation link content. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Gets the serialization info for the given entry. - - The entry to get the serialization info for. - The serialization info for the given entry. - - - - Creates a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created navigation link scope. - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Gets the type of the entry and validates it against the model. - - The entry to get the type for. - The validated entity type. - - - - Validates that the ODataFeed.DeltaLink is null for the given expanded feed. - - The expanded feed in question. - - - - Verifies that calling WriteStart feed is valid. - - true if the call is to be synchronous; false otherwise. - Feed/collection to write. - - - - Start writing a feed - implementation of the actual functionality. - - The feed to write. - - - - Verifies that calling WriteStart entry is valid. - - true if the call is to be synchronous; false otherwise. - Entry/item to write. - - - - Start writing an entry - implementation of the actual functionality. - - Entry/item to write. - - - - Verifies that calling WriteStart navigation link is valid. - - true if the call is to be synchronous; false otherwise. - Navigation link to write. - - - - Start writing a navigation link - implementation of the actual functionality. - - Navigation link to write. - - - - Verify that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a feed/entry/navigation link. - - - - - Marks the navigation currently being written as processed in the parent entity's metadata builder. - This is needed so that at the end of writing the entry we can query for all the unwritten navigation properties - defined on the entity type and write out their metadata in fullmetadata mode. - - The navigation link being written. - - - - Verifies that calling WriteEntityReferenceLink is valid. - - The entity reference link to write. - true if the call is to be synchronous; false otherwise. - - - - Write an entity reference link. - - The entity reference link to write. - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Enters the 'ExceptionThrown' state and then throws an ODataException with the specified error message. - - The error message for the exception. - The OData item to associate with the 'ExceptionThrown' state. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Checks whether we are currently writing a navigation link and switches to NavigationLinkWithContent state if we do. - - - What kind of payload kind is being written as the content of a navigation link. - Only Feed, Entry or EntityRefernceLink are allowed. - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Promotes the current navigation link scope to a navigation link scope with content. - - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Create a new writer scope. - - The writer state of the scope to create. - The item attached to the scope to create. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - The current scope for the writer. - - - - - The current state of the writer. - - - - - true if the writer should not write any input specified and should just skip it. - - - - - A flag indicating whether the writer is at the top level. - - - - - Returns the immediate parent link which is being expanded, or null if no such link exists - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the number of entries seen so far on the current feed scope. - - Can only be accessed on a feed scope. - - - - Checker to detect duplicate property names. - - - - - The entity type of the current entry. - - - - - Returns the parent navigation link scope of an entry in an expanded link (if it exists). - The entry can either be the content of the expanded link directly or nested inside a feed. - - The parent navigation scope of an entry in an expanded link (if it exists). - - - - Validator to validate consistency of collection items (or null if no such validator applies to the current scope). - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - The writer is currently writing an entry. - - - The writer is currently writing a feed. - - - The writer is currently writing a navigation link (possibly an expanded link but we don't know yet). - - This state is used when a navigation link was started but we didn't see any children for it yet. - - - - The writer is currently writing a navigation link with content. - - This state is used when a navigation link with either an entity reference link or expanded feed/entry was written. - - - - The writer has completed; nothing can be written anymore. - - - The writer is in error state; nothing can be written anymore. - - - - Lightweight wrapper for the stack of scopes which exposes a few helper properties for getting parent scopes. - - - - - Use a list to store the scopes instead of a true stack so that parent/grandparent lookups will be fast. - - - - - Initializes a new instance of the class. - - - - - Pushes the specified scope onto the stack. - - The scope. - - - - Pops the current scope off the stack. - - The popped scope. - - - - Peeks at the current scope on the top of the stack. - - The current scope at the top of the stack. - - - - Gets the count of items in the stack. - - - - - Gets the scope below the current scope on top of the stack. - - - - - Gets the scope below the parent of the current scope on top of the stack. - - - - - Gets the scope below the current scope on top of the stack or null if there is only one item on the stack or the stack is empty. - - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - Set to true if the content of the scope should not be written. - This is used when writing navigation links which were not projected on the owning entry. - - - The selected properties for the current scope. - - - The entity set we are going to write entities for. - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of this scope should not be written. - The selected properties of this scope. - - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - The entity set we are going to write entities for. - - - The selected properties for the current scope. - - - - Set to true if the content of this scope should not be written. - - - - - A scope for an feed. - - - - The serialization info for the current feed. - - - The number of entries in this feed seen so far. - - - Maintains the write status for each annotation using its key. - - - The type context to answer basic questions regarding the type info of the entry. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The number of entries in this feed seen so far. - - - - - Tracks the write status of the annotations. - - - - - A scope for an entry. - - - - Checker to detect duplicate property names. - - - The serialization info for the current entry. - - - The value from ODataEntry.TypeName. - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - The type context to answer basic questions regarding the type info of the entry. - - - Maintains the write status for each annotation using its key. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entity type which was derived from the model, i.e. the expected entity type, which may be either the same as entity type or its base type. - For example, if we are writing a feed of Customers and the current entry is of DerivedCustomer, this.EntityTypeFromMetadata would be Customer and this.EntityType would be DerivedCustomer. - - - - - The serialization info for the current entry. - - - - - Checker to detect duplicate property names. - - - - - Tracks the write status of the annotations. - - - - - A scope for a navigation link. - - - - - Constructor to create a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this navigation link scope and sets a new writer state. - - The to set. - The cloned navigation link scope with the specified writer state. - - - - The output context to write to. - - - - - The JsonLight entry and feed serializer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Creates a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created JSON Light navigation link scope. - - - - Writes the odata.count annotation for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.nextLink annotation for a feed if it has not been written yet (and the next link is specified on the feed). - - The feed to write the next link for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.deltaLink annotation for a feed if it has not been written yet (and the delta link is specified on the feed). - - The feed to write the delta link for. - - - - Validates that the ODataFeed.InstanceAnnotations collection is empty for the given expanded feed. - - The expanded feed in question. - - - - Returns the current JsonLightEntryScope. - - - - - Returns the current JsonLightFeedScope. - - - - - A scope for a JSON lite feed. - - - - true if the odata.count was already written, false otherwise. - - - true if the odata.nextLink was already written, false otherwise. - - - true if the odata.deltaLink was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the odata.count annotation was already written, false otherwise. - - - - - true if the odata.nextLink annotation was already written, false otherwise. - - - - - true if the odata.deltaLink annotation was already written, false otherwise. - - - - - A scope for an entry in JSON Light writer. - - - - Bit field of the JSON Light metadata properties written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The metadta property which was written. - - - - Determines if the was already written for this entry scope. - - The metadata property to test for. - true if the was already written for this entry scope; false otherwise. - - - - The entry being written. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Enumeration of JSON Light metadata property flags, used to keep track of which properties were already written. - - - - The odata.editLink property. - - - The odata.readLink property. - - - The odata.mediaEditLink property. - - - The odata.mediaReadLink property. - - - The odata.mediaContentType property. - - - The odata.mediaETag property. - - - - A scope for a JSON Light navigation link. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - Constructor to create a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this JSON Light navigation link scope and sets a new writer state. - - The writer state to set. - The cloned navigation link scope with the specified writer state. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - - Helper methods used by the OData writer for the JsonLight format. - - - - - Writes the odata.type instance annotation with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Writes the odata.type propert annotation for the specified property with the specified type name. - - The JSON writer to write to. - The name of the property for which to write the odata.type annotation. - The type name to write. - - - - Writes the 'value' property name. - - The JSON writer to write to. - - - - Write a JSON property name which represents a property annotation. - - The JSON writer to write to. - The name of the property to annotate. - The name of the annotation to write. - - - - Enumeration describing the various serialization formats for dates in JSON - - - - - Represents a DateTime value in the OData format of \/Date(ticksrepresentingdatetime)\/ - - - - - Represents a DateTime value in the ISO 8601 format of YYYY-MM-DDThh:mm:ss.sTZD eg 1997-07-16T19:20:30.45+01:00 - - - - - Class with the responsibility of resolving media types (MIME types) into formats and payload kinds. - - - - application/atom+xml media type - - - application/xml media type - - - text/xml media type - - - application/json media type - - - application/json;odata=verbose media type - - - - An array that maps stores the supported media types for all . - - - The set of supported media types is ordered (desc) by their precedence/priority with respect to (1) format and (2) media type. - As a result the default media type for a given payloadKind is the first entry in the MediaTypeWithFormat array. - - - - Cache for MediaTypeResolvers for each version. - - - - The version the media type resolver is used with. - - - - - Array of supported media types and formats for each payload kind. - The index into the array matches the order of the ODataPayloadKind enum. - - - - - The set of payload kinds which are supported for the JSON formats. - - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Gets the supported media types and formats for the given payload kind. - - The payload kind to get media types for. - An array of media type / format pairs, sorted by priority. - - - - Checks for an illegal media type that cannot be caught during content negotiation/resolution - since it would match an unsupported media type. - - The parsed media type to check. - true if the media type is illegal (and we should fail); otherwise false. - - - - Clones the default media types. - - The cloned media type table. - - - - Inserts the specified media type before the first occurrence of . - - The media type list to insert into. - The media type to insert. - The format of the media type before which should be inserted. - - - - Configure the media type tables so that Json Light is the first JSON format in the table. - - - This is only used in V3 and beyond. - - - - - Adds the given media type/format for all the payload kinds which support JSON. - - The media type/format pair to add. - - - - Inserts the given media type/format for all the payload kinds which support JSON before the first media type with the given format. - - The media type/format pair to add. - The format of the media type before which should be inserted. - - - - Additional media types per payload kind for the WCF DS client on pre-v3 payloads. - Anything that normally accepts application/atom+xml should also accept application/xml, and vice versa. - - - - - Accesses the default media type resolver. - - - - - A helper class to associate a with a media type. - - - - The media type. - - - - The for this media type. - - - - - A dictionary implementation with special key-matching semantics; it accepts case-insensitive matches - but prefers a case-sensitive one (if present). - - As an implementation choice we did not use a second dictionary to maintain a cache of case-insensitive - keys since we don't want to pay the price of an extra dictionary for cases where the looked up keys - match case sensitively (as per spec, should be the default case). - - - The backing dictionary using case-sensitive key comparison. - - - - Constructor. - - - - - Adds an element with the provided key and value to the dictionary. - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - - - Determines whether the dictionary contains an element with the specified key using case-sensitive comparison. - - The key to locate in the dictionary. - true if the dictionary contains an element with the ; otherwise, false. - This method will only try to match the key using case-sensitive comparison. - - - - Removes the entry with the specified from the headers. - - The key of the item to remove. - true if the item with the specified was removed; otherwise false. - - - - Gets the value associated with the specified key. - - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - true if the dictionary contains an element with the specified key; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Finds in the case sensitive dictionary ignoring the case for comparison. - - The key to find. - The key from the case sensitive dictionary that matched the or null if no match was found. - This method throws if multiple case insensitive matches for the specified exist. - - - - Gets or sets the element with the specified key. - - The key of the element to get or set. - The element with the specified key. - - - - Factory class for the various wrapper streams around the actual message stream. - - - - - Creates a non-disposing stream. - - The inner to wrap. - A stream wrapping the that ignores calls to Dispose. - - - - Creates a stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that - enforces the maximum number of bytes to be read from the stream. - - - - Creates a non-disposing stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that ignores calls to Dispose and - enforces the maximum number of bytes to be read from the stream. - - - - Checks whether the provided stream already ignores calls to Dispose. - - The to check. - true if the ignores calls to Dispose; otherwise false. - - - - Stream wrapper that supports counting the total number of bytes read from the stream and ensures - that they don't exceed a specified maximum (used for security purposes) and ignoring calls - to Dispose if the underlying stream should not be disposed. - - - - The maximum number of bytes to be read from the stream before reporting an error. - - - true to not dispose the inner stream when Dispose is called; otherwise false. - - - Stream that is being wrapped. - - - The total number of bytes read from the stream so far. - - - - Constructs an instance of the byte counting stream wrapper class. - - Stream that is being wrapped. - true if calls to Dispose should be ignored; otherwise false. - The maximum number of bytes to be read from the stream before reporting an error. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Dispose this wrapping stream and the underlying stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Increases the number of total bytes read from the stream. - - The number of bytes read from the stream during the last read operation. - Since we don't own the underlying stream we also have to prepare for streams returning < 0 bytes read. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - true if the wrapping stream ignores calls to Dispose; otherwise false. - - - - OData Verbose JSON deserializer for detecting the payload kind of a JSON payload. - - - - - OData Verbose JSON deserializer for properties and value types. - - - - - Base class for all OData Verbose JSON deserializers. - - - - The JSON input context to use for reading. - - - - Constructor. - - The JSON input context to read from. - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - true if the payload URI needs to be translated into an absolute URI; otherwise false. - An absolute URI to report. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns the which is to be used to read the content of the message. - - - - - The Verbose Json input context to use for reading. - - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JSON input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Reads an entry, complex or collection content in buffering mode until it finds the type name in the __metadata object - or hits the end of the object. If called for a primitive value, returns 'null' (since primitive types cannot have - type names in JSON) - - The type name as read from the __metadata object; null if none was found. - - This method does not move the reader. - Pre-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - Post-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - - - - - Reads a primitive value, complex value or collection. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the type name from the value of a __metadata property. All other properties in the __metadata property value are ignored. - - The type name found, or null if none was found. - - This method can be used in buffering and non-buffering mode. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: JsonNodeType.Property - the next property after the __metadata property value. - JsonNodeType.EndObject - if the __metadata property was the last property in the object. - - - - - Reads a primitive value. - - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: none - Fails if the current node is not a JsonNodeType.PrimitiveValue - Post-Condition: almost anything - the node after the primitive value. - - Made internal only for testability. - - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the collection value (after the EndObject) - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - if null the method should create a new one if necessary. - The value of the complex value. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject or JsonNodeType.PrimitiveValue (with null value) - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - Pre-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - - - - - Determines if the top-level property payload should be read as usual, or without the property wrapper. - - The expected type reference for the property value to read. - true if the property payload should be read without the property wrapper, false if it should be read as usual with the property wrapper. - This method is to support backward compat behavior for WCF DS Server, which can read open property values without property wrapper. - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - The set of detected payload kinds. - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Detects the payload kind(s). - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects whether a JSON payload where the current node is a start array node represents - a feed, a set of entity reference links, a collection or a combination of them. - - true if the array is a top-level array; if it is a property value false. - - This method does not move the reader. - Pre-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - Post-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - - - - - Read the value of the __metadata property and compute the payload kind based on the type name. - - This method checks whether it can determine the type kind from the type name; if we - find a primitive or collection type we set the result to empty since such payloads are not supported. - Otherwise we'll treat the payload as an entry since top-level complex values are not supported either. - Pre-Condition: Any The first node of the __metadata property value - Post-Condition: Property or EndObject This method reads the entire value of the __metadata object and positions - the reader on the next property or on the EndObject node if this is the last property. - - - - - Process the array value of an 'EntitySets' property to determine whether it should be treated as service document payload. - - - This method does not move the Json reader. - Pre-Condition: StartArray The start of the array value of the 'EntitySets' property - Post-Condition: StartArray The start of the array value of the 'EntitySets' property - - - - - Adds the set of specified payload kinds to the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to add. - - - - Removes the set of specified payload kinds from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to remove. - - - - Adds or removes the set of specified payload kinds to/from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The function that implements the 'Add' or 'Remove' action. - The payload kinds to add/remove. - - - Quotas to use for limiting resource consumption when reading or writing OData messages. - - - The maximum number of top level query operations and changesets allowed in a single batch. - - - The maximum number of operations allowed in a single changeset. - - - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - The maximum number of bytes that should be read from the message. - - - The maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy. - - - Gets or sets the maximum number of top level query operations and changesets allowed in a single batch. - The maximum number of top level query operations and changesets allowed in a single batch. - - - Gets or sets the maximum number of operations allowed in a single changeset. - The maximum number of operations allowed in a single changeset. - - - Gets or sets the maximum depth of nesting allowed when reading or writing recursive payloads. - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - Gets or sets the maximum number of bytes that should be read from the message. - The maximum number of bytes that should be read from the message. - - - Gets or sets the maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - The maximum number of entity mapping attributes to be found for an entity type. - - - - Represents the set of information available for payload kind detection. - - This class is used to represent the input to run payload kind detection using - . See the documentation of that method for more - information. - - - The parsed content type as . - - - The encoding specified in the charset parameter of contentType or the default encoding from MediaType. - - - The being used for reading the message. - - - The for the payload. - - - The possible payload kinds based on content type negotiation. - - - Format specific state created during payload kind detection for that format. - - This instance will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - Constructor. - - The parsed content type as . - The encoding from the content type or the default encoding from . - The being used for reading the message. - The for the payload. - The possible payload kinds based on content type negotiation. - - - - The encoding derived from the content type or the default encoding. - - The encoding derived from the content type or the default encoding. - - - - Sets a format specific state created during payload kind detection. - - A format specific state, the value is opaque to the message reader, it only stores the reference. - - The state will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - The being used for reading the message. - - - - - The for the payload. - - - - - The possible payload kinds based on content type negotiation. - - - - - The being used for reading the message. - - - - - The format specific payload kind detection state. - - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Represents the result of running payload kind detection for a specified payload kind and format. - This class is used to represent the result of running payload kind detection using - . See the documentation of that method for more - information. - - - The detected payload kind. - - - The format for the detected payload kind. - - - - Constructor. - - The detected payload kind. - The format for the detected payload kind. - - - Gets the detected payload kind. - The detected payload kind. - - - Gets the format for the detected payload kind. - The format for the detected payload kind. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - - The base type for all entries in the feed. - - - - - Constructor. - - - - - Validates the type of an entry in a top-level feed. - - The type of the entry. - - - - OData ATOM serializer for ATOM metadata in a service document - - - - - Constructor. - - The output context to write to. - - - - Writes the ATOM metadata for a single workspace element. - - The workspace element to get the metadata for and write it. - - - - Writes the ATOM metadata for a single (resource) collection element. - - The collection element to get the metadata for and write it. - - - - OData ATOM serializer for service documents. - - - - - The serializer for service document ATOM metadata. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in ATOM/XML format. - - The default workspace to write in the service document. - - - - Extension methods for the JSON writer. - - - - - Writes the json object value to the . - - The to write to. - Writes the given json object value to the underlying json writer. - Called when the top-level object is started to possibly inject first property into the object. - The OData protocol version to be used for writing payloads. - - - - Writes a primitive value. - - The to write to. - The value to write. - The OData protocol version to be used for writing payloads. - - - - Writes the json array value. - - The to write to. - Writes the json array value to the underlying json writer. - The OData protocol version to be used for writing payloads. - - - - Writes the json value (primitive, IDictionary or IEnumerable) to the underlying json writer. - - The to write to. - value to write. - The OData protocol version to be used for writing payloads. - - - - OData Verbose JSON serializer for collections. - - - - - OData Verbose JSON serializer for properties and value types. - - - - - Base class for all OData Verbose JSON serializers. - - - - - The Verbose JSON output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the start of the entire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Writes the end of the enitire JSON payload. - - - - - Writes the end of the enitire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - When set to true the "d" response wrapper won't be written even in responses - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Converts the specified URI into an absolute URI. - - The uri to process. - An absolute URI which is either the specified if it was absolute, - or it's a combination of the BaseUri and the relative . - The return value is the string representation of the URI. - This method will fail if the specified is relative and there's no base URI available. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The collection validator instance. - The expected type reference of the primitive value. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes the metadata content for a media resource or a named stream - - The stream reference value for which to write the metadata - - - - Writes the etag property with the given string value. - - The name of the ETag, e.g. media_etag or etag - The value of the ETag - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Writes a name/value pair for a property. - - The property to write out. - The of the entry or complex type containing the property (or null if not metadata is available). - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property value. - - The stream reference value to be written - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of a collection. - - - - - Writes the end of a collection. - - - - - OData Verbose JSON serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - true if the 'results' wrapper should be included into the payload; otherwise false. - - - - OData Verbose JSON serializer for entries and feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the __metadata property and its content for an entry - - The entry for which to write the metadata. - Set of projected properties, or null if all properties should be written. - The entity type of the entry to write. - The duplicate property names checker to use. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - The name of the property used for the operations. - true when writing the entry's actions; false when writing the entry's functions. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the metadata content for an association link - - The association link to write. - The checker instance for duplicate property names. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Verbose JSON format output context. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - OData Verbose JSON serializer for service documents. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JSON format. - - The default workspace to write in the service document. - - - - Stream wrapper for the message stream to ignore the Stream.Dispose method so that readers/writers on top of - it can be disposed without affecting it. - - - - - Stream that is being wrapped. - - - - - Constructs an instance of the stream wrapper class. - - Stream that is being wrapped. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - - RAW format output context. - - - - The message output stream. - - - The XmlWriter to write to. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - RAW format output context. Used by RAW values and batch. - - - - The encoding to use for the output. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The output stream to write to (both sync and async cases). - - - Listener to notify when writing in-stream errors. - - - RawValueWriter used to write actual values to the stream. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Closes the text writer. - - - - - Verifies the output context was not yet disposed, fails otherwise. - - - - - Flushes all buffered data to the underlying stream synchronously. - - - - - Flushes all buffered data to the underlying stream asynchronously. - - Task which represents the pending operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes a single value as the message body. - - The value to write. - Once the method returns all the data should be written, the only other call after this will be Dispose on the output context. - - - - Creates a batch writer. - - The boundary string for the batch structure itself. - The newly created batch writer. - - - - The output stream to write the payload to. - - - - - The text writer to use to write text into the payload. - - - InitializeRawValueWriter must be called before this is used. - - Also, within this class we should be using RawValueWriter for everything. Ideally we wouldn't leak the TextWriter out, but - the Batch writer needs it at the moment. - - - - Represents the behavior of readers when reading property with null value. - - - - The default behavior - this means validate the null value against the declared type - and then report the null value. - - - - - This means to not report the value and not validate it against the model. - - - This setting can be used to correctly work with clients that send null values - for uninitialized properties in requests instead of omitting them altogether. - - - - - This means to report the value, but not validate it against the model. - - - - - The verbose JSON OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The $batch OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The metadata OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - Additional information available for the payload kind detection. - An enumerable of zero or one payload kinds depending on whether the metadata payload kind was detected or not. - - - Enumerates the behavior of readers when reading undeclared property. - - - - The default behavior - the reader will fail if it finds a property which is not declared by the model - and the type is not open. - - - - - The reader will skip reading the property if it's not declared by the model and the current type is not open. - - - This flag can only be used when reading responses. - All information about the undeclared property is going to be ignored, so for example ATOM metadata related to that property - will not be reported either. - - - - - The reader will read and report link properties which are not declared by the model. - - - This flag can only be used when reading responses. - If a link property in the payload is defined in the model it will be read as usual. If it is not declared - it will still be read and reported, but it won't be validated against the model. - - Link properties are: - - Navigation links - - Association links - - Stream properties - - - - This type provides constants used in URI query expressions. - - - "$it" keyword for expressions. - - - "add" keyword for expressions. - - - "and" keyword for expressions. - - - "asc" keyword for expressions. - - - "desc" keyword for expressions. - - - "div" keyword for expressions. - - - "mod" keyword for expressions. - - - "mul" keyword for expressions. - - - "not" keyword for expressions. - - - "or" keyword for expressions. - - - "sub" keyword for expressions. - - - '-' constant to represent an negate unary operator. - - - '=' constant to represent an assignment in name=value. - - - ',' constant to represent an value list separator. - - - '/' constant to represent the forward slash used in a query. - - - '(' constant to represent an open parenthesis. - - - ')' constant to represent an closed parenthesis. - - - '?' constant to represent the start of the query part. - - - '&' constant to represent the concatenation of query parts. - - - '\'' constant to represent a single quote as prefix/suffix for literals. - - - "''" constant to represent a single-quote escape character in a string literal. - - - " " constant to represent a space character in a Uri query part. - - - The 'allpages' value for the '$inlinecount' query option - - - The 'none' value for the '$inlinecount' query option - - - "eq" keyword for expressions. - - - "false" keyword for expressions. - - - "gt" keyword for expressions. - - - "ge" keyword for expressions. - - - "lt" keyword for expressions. - - - "le" keyword for expressions. - - - "ne" keyword for expressions. - - - "null" keyword for expressions. - - - "true" keyword for expressions. - - - "cast" function - - - "isof function - - - Spatial length function - - - Spatial intersects function. - - - "INF" literal used to represent infinity. - - - "NaN" literal used to represent not-a-number values. - - - 'datetime' constant prefixed to datetime literals. - - - 'datetimeoffset' constant prefixed to datetimeoffset literals. - - - 'time' constant prefixed to time literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'geography' constant prefixed to geography literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'binary' constant prefixed to binary literals. - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - 'M': Suffix for decimal type's string representation - - - 'datetime' constant prefixed to datetime literals. - - - the filter query option - - - the orderby query option - - - the top query option - - - the skip query option - - - the inlinecount query option - - - the select query option - - - the expand query option - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch writer (via IODataBatchOperationListener) - to properly flush buffered data and move the batch writer's state machine forward. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to an IODataBatchOperationListener instance. - - - - Listener interface to be notified of operation changes. - - - - Constructor. - - Listener interface to be notified of operation changes. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Disposes the object. - - True if called from Dispose; false if called form the finalizer. - - - - Validates that the stream was not already disposed. - - - - The batch stream underlying this operation stream. - - - - Constructor. - - The underlying stream to write the message to. - Listener interface to be notified of operation changes. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The callback to be called when the asynchronous operation completes. - A custom state object to be associated with the asynchronous operation. - An for the asynchronous writing of the buffer to the stream. - - - - Finish the asynchronous write operation. - - The returned from BaginWrite. - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Flush the stream to the underlying batch stream. - - - - - Dispose the operation stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Determines if the stream can read - this one can't - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. Setting of the position is not supported since the stream doesn't support seeking. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch reader (via IODataBatchOperationListener) - to prevent clients to use the batch reader while a content stream is still in use. - - - - - The batch stream underlying this operation stream. - - - - - Constructor. - - The underlying stream to read from. - Listener interface to be notified of operation changes. - - - - Flush the stream; not supported for a read stream. - - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Create a batch operation read stream over the specified batch stream with a given content length. - - The batch stream underlying the operation stream to create. - The batch operation listener. - The content length of the operation stream. - A to read the content of a batch operation from. - - - - Create a batch operation read stream over the specified batch stream using the batch delimiter to detect the end of the stream. - - The batch stream underlying the operation stream to create. - The batch operation listener. - A to read the content of a batch operation from. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can't - - - - - Returns the length of the stream. Not supported by this stream. - - - - - Gets or sets the position in the stream. Not supported by this stream. - - - - - A batch operation stream with the content length specified. - - - - The length of the operation content. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - The total length of the stream. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - A batch operation read stream with no content length so we have to check for the boundary. - - - - true if the stream has been exhausted and no further reads can happen; otherwise false. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Helper methods used by the ODataBatchWriter and ODataBatchReader (and related classes). - - - - - Creates the URI for a batch request operation. - - The uri to process. - The base Uri to use. - An optional custom URL resolver to resolve URLs for writing them into the payload. - An URI to be used in the request line of a batch request operation. It uses the - first and falls back to the defaullt URI building schema if the no URL resolver is specified or the URL resolver - returns null. In the default scheme, the method either returns the specified if it was absolute, - or it's combination with the if it was relative. - - This method will fail if no custom resolution is implemented and the specified is - relative and there's no base URI available. - - - - - Creates a batch operation stream from the specified batch stream. - - The batch stream to create the operation read stream for. - The headers of the current part; based on the header we create different, optimized stream implementations. - The operation listener to be passed to the newly created read stream. - A new instance. - - - - Creates a batch operation write stream over the specified output stream. - - The output stream to create the operation write stream over. - The operation listener to be passed to the newly created write stream. - A new instance. - - - - Grows the specified byte array by the specified amount. - - The byte array to grow. - The number of bytes currently in the buffer. - The number of bytes to be added to the array. - - - - An enumeration representing the result of a scan operation through - the batch reader stream's buffer. - - - - No match with the requested boundary was found (not even a partial one). - - - A partial match with the requested boundary was found. - - - A complete match with the requested boundary was found. - - This is only returned if we could also check whether the boundary is an end - boundary or not; otherwise a partial match is returned. - - - - - This class represents the internal buffer of the . - - - - The size of the look-ahead buffer. - - - Length of the longest supported line terminator character sequence; makes the code easier to read. - - - The length of two '-' characters to make the code easier to read. - - - The byte array storing the actual bytes of the buffer. - - - The current position inside the buffer. - This is the position of the byte that is the next to be read. - - - The number of (not yet consumed) bytes currently in the buffer. - - - - Skip to the specified position in the buffer. - Adjust the current position and the number of bytes in the buffer. - - The position to skip to. - - - - Refills the buffer from the specified stream. - - The stream to refill the buffer from. - The index in the current buffer starting from which the - currently buffered data should be preserved. - true if the underlying stream got exhausted while refilling. - This method will first shift any data that is to be preserved to the beginning - of the buffer and then refill the rest of the buffer from the . - - - - Scans the current buffer for a line end. - - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - - - - Scans the current buffer for the specified boundary. - - The boundary strings to search for; this enumerable is sorted from the inner-most boundary - to the top-most boundary. The boundary strings don't include the leading line terminator or the leading dashes. - Stop if no boundary (or boundary start) is found after this number of bytes. - The start position of the boundary or -1 if not found. - Note that the start position is the first byte of the leading line terminator. - The end position of the boundary or -1 if not found. - Note that the end position is the last byte of the trailing line terminator. - true if the boundary is an end boundary (followed by two dashes); otherwise false. - true if the detected boundary is the parent boundary; otherwise false. - An enumeration value indicating whether the boundary was completely, partially or not found in the buffer. - - - - Scans the current buffer for a boundary start, which is either a line feed or two dashes (since we don't require the leading line feed). - - The index at which to start scanning for the boundary start. - Stop if no boundary start was found after this number of non end-of-line bytes. - The start position of the line end or -1 if not found. - The start position of the boundary delimiter or -1 if not found. - An enumeration value indicating whether the boundary start was completely, partially or not found in the buffer. - - - - Scans the current buffer for a line end. - - The index at which to start scanning for the line terminator. - Stop if no line end (or beginning of line end) was found after this number of non end-of-line bytes. - true if only whitespace data bytes are expected before the end-of-line characters; otherwise false. - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - true if the end of the buffer was reached while scanning for the line end; otherwise false. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - This method only returns if we found the start - of a line terminator at the last character in the buffer. - - - - Check whether the bytes in the buffer at the specified start index match the expected boundary string. - - The start of the line feed preceding the boundary (if present). - The start position of the boundary delimiter. - The boundary string to check for. - If a match is detected, the start of the boundary delimiter, - i.e., either the start of the leading line feed or of the leading dashes. - If a match is detected, the position of the boundary end; otherwise -1. - true if the detected boundary is an end boundary; otherwise false. - An indicating whether a match, a partial match or no match was found. - - - - Try to match the specified boundary string starting at the specified position. - - The boundary string to search for; this does not include - the leading line terminator or the leading dashes. - The index at which to start matching the boundary. - The number of characters to match. - true if the boundary string is used in an end boundary; otherwise false. - true if it was established that the buffer starting at - matches the ; otherwise false. - This method also returns false if the boundary string was completly matched against the - buffer but it could not be determined whether it is used in an end boundary or not. - - - - Shifts all bytes in the buffer after a specified start index to the beginning of the buffer. - - The start index where to start shifting. - - - - The byte array that acts as the actual storage of the buffered data. - - - - - The current position inside the buffer. - - This is the position of the byte that is the next to be read. - - - - The number of (not yet consumed) bytes currently in the buffer. - - - - - Indexer into the byte buffer. - - The position in the buffer to get. - The byte at position in the buffer. - - - - Class used by the to read the various pieces of a batch payload. - - - This stream separates a batch payload into multiple parts by scanning ahead and matching - a boundary string against the current payload. - - - - - The default length for the line buffer byte array used to read lines; expecting lines to normally be less than 2000 bytes. - - - - - The byte array used for reading lines from the stream. We cache the byte array on the stream instance - rather than allocating a new one for each ReadLine call. - - - - The input context to read the content from. - - - The boundary string for the batch structure itself. - - - The buffer used by the batch reader stream to scan for boundary strings. - - - The encoding to use to read from the batch stream. - - - The boundary string for a changeset (or null if not in a changeset part). - - - The encoding for a given changeset. - - - - true if the underlying stream was exhausted during a read operation; we won't try to read from the - underlying stream again once it was exhausted. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - - - - Resets the changeset boundary at the end of the changeset. - - - - - Skips all the data in the stream until a boundary is found. - - true if the boundary that was found is an end boundary; otherwise false. - true if the detected boundary is a parent boundary (i.e., the expected boundary is missing). - true if a boundary was found; otherwise false. - - - - Reads from the batch stream while ensuring that we stop reading at each boundary. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads from the batch stream without checking for a boundary delimiter since we - know the length of the stream. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads the headers of a part. - - true if the start of a changeset part was detected; otherwise false. - - - - Reads the headers of a batch part or an operation. - - A dictionary of header names to header values; never null. - - - - Read and return the next line from the batch stream, skipping all empty lines. - - This method will throw if end-of-input was reached while looking for the next line. - The text of the first non-empty line (not including any terminating newline characters). - - - - Parses a header line and validates that it has the correct format. - - The header line to validate. - The name of the header. - The value of the header. - - - - Reads a line (all bytes until a line feed) from the underlying stream. - - Returns the string that was read from the underyling stream (not including a terminating line feed), or null if the end of input was reached. - - - - Ensure that a batch encoding exists; if not, detect it from the first couple of bytes of the stream. - - - - Detect the encoding based data from the stream. - The encoding discovered from the bytes in the buffer or the fallback encoding. - - We don't have to skip a potential preamble of the encoding since the batch reader - will skip over everything (incl. the potential preamble) until it finds the first - boundary. - - - - - Reads and validates the headers of a batch part. - - true if the headers indicate a changset part; otherwise false. - A dictionary of header names to header values; never null. - - - - Validates the headers that have been read for a part. - - The set of headers to validate. - true if the headers indicate a changset part; otherwise false. - The set of validated headers. - - An operation part is required to have content type 'application/http' and content transfer - encoding 'binary'. A changeset is required to have content type 'multipart/mixed'. - Note that we allow additional headers for batch parts; clients of the library can choose - to be more strict. - - - - - Parse the content type header value to retrieve the boundary and encoding of a changeset. - - The content type to parse. - - - - The boundary string for the batch structure itself. - - - - - The boundary string for the current changeset (only set when reading a changeset - or an operation in a changeset). - - When not reading a changeset (or operation in a changeset) this field is null. - - - - The current boundary string to be used for reading with delimiter. - - This is the changeset boundary when reading a changeset or the batch boundary otherwise. - - - - The current encoding to use when reading from the stream. - - This is the changeset encoding when reading a changeset or the batch encoding otherwise. - - - Enumeration with all the states the batch reader can be in. - - - The state the batch reader is in after having been created. - - - The batch reader detected an operation. - In this state the start boundary, the request/response line - and the operation headers have already been read. - - - The batch reader detected the start of a change set. - In this state the start boundary and the change set - headers have already been read. - - - The batch reader completed reading a change set. - - - The batch reader completed reading the batch payload. - The batch reader cannot be used in this state anymore. - - - The batch reader encountered an error reading the batch payload. - The batch reader cannot be used in this state anymore. - - - - ODataParameterWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Class to represent a null value with or without type information for URI paremeters. - - This class is only intended for use as a sentinal for null values in URI parameters. It cannot be used elsewhere. - - - - String representation of the type of this null value. 'null' indicates that no type information was provided. - - - - - Handles serialization and deserialization for types derived from Geometry. - This file is currently compiled by ODataLib and Astoria server, because it contains - functionality related to both serialization and deserialization, but deserialization - is not yet integrated into Astoria. Once that integration happens this functionality - should be fully contained within ODataLib only. - - - - - Interface used for serialization and deserialization of primitive types. - - - - - Create an instance of a primitive type from the value in an Xml reader. - - The Xml reader to use to read the value. - An instance of the primitive type. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Create a Geometry instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geometry instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - OData ATOM deserializer for ATOM metadata on feeds. - - - - - Base class for all OData ATOM Metadata deserializers. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a person (author/contributor) element. - - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - The person metadata object with the read values. - - Pre-Condition: XmlNodeType.Element (atom:contributor/atom:author) - the atom:author/atom:contributor element to read. - Post-Condition: Any - the node after the atom:author/atom:contributor element which was read. - - - - - Reads the element value as DateTimeOffset value. - - The DateTimeOffset value of the element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is not used in WCF DS client mode. - - - - - Reads the element value as of a date construct as string value. - - The string value of the date construct element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is only used in WCF DS client mode. - - - - - Read the ATOM text construct element. - - The element read represented as ATOM text construct. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the current XML element and returns it as a string. - - The string value read. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - - - - Reads an "atom:title" element and returns an . - - An with the title information. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Determines if we need to read a child element (either for EPM or for ATOM metadata). - - The parent EPM target path segment. - The name of the element/segment to read. - The EPM target path subsegment which describes the element, or null if there's none. - true if the subelement should be read, false otherwise. - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - The empty namespace used for attributes in no namespace. - - - - Constructor. - - The ATOM input context to read from. - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - Reads an element in the ATOM namespace in feed or source content. - - The atom feed metadata object to store metadata details in. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - If the the property InSourceElement is true (i.e., we're reading within source content), then the value - of the atom:id element will be stored in the feed metadata as SourceId, otherwise it will be ignored. - - - - - Reads the atom:link element and returns a new ATOM link metadata object. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads an atom:author element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads an atom:category element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads an atom:contributor element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Reads an atom:generator element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:generator) - the atom:generator element to read. - Post-Condition: Any - the node after the atom:generator element which was read. - - - - - Reads an atom:icon element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:id element in a source element. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:link element into the Links collection of feed metadata (i.e., links that are not special to the OData protocol). - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the atom:link element which was read. - - - - - Reads an atom:logo element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:logo) - the atom:logo element to read. - Post-Condition: Any - the node after the atom:logo element which was read. - - - - - Reads an atom:rights element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:rights) - the atom:rights element to read. - Post-Condition: Any - the node after the atom:rights element which was read. - - - - - Reads an atom:subtitle element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:subtitle) - the atom:subtitle element to read. - Post-Condition: Any - the node after the atom:subtitle element which was read. - - - - - Reads an atom:title element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:title) - the atom:title element to read. - Post-Condition: Any - the node after the atom:title element which was read. - - - - - Reads an atom:updated element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:updated) - the atom:updated element to read. - Post-Condition: Any - the node after the atom:updated element which was read. - - - - - Reads an atom:* element whose value is a URI. - - The which was read. - - - - Fails with the appropriate exception message if the given value is not null. - - The metadata value to ensure is null. - - - - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - - OData parameter reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The property and value deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Checks to see if we are at the end of the parameters payload. - - Returns true if we are at the ending '}' of the parameters payload. - - - - Reads the end '}' of the parameters payload. - - - - - Reads the next parameter from the parameters payload. - - - - - OData ATOM deserializer for ATOM metadata in a service document - - - - Schema namespace for Atom. - - - The name of the 'category' element in a service document. - - - The name of the 'href' attribute in an 'app:categories' element. - - - The name of the 'fixed' attribute in an 'app:categories' element. - - - The name of the 'scheme' attribute in an 'app:categories' or 'atom:category' element. - - - The name of the 'term' attribute in an 'atom:category' element. - - - The name of the 'label' attribute in an 'atom:category' element. - - - The empty namespace - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an atom:title element and adds the new information to . - - The non-null workspace metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Reads an atom:title element and adds the new information to and (if ATOM metadata reading is on) . - - The collection metadata object to augment, or null if metadata reading is not on. - The non-null collection info object being populated. - - Pre-Condition: XmlNodeType.Element - The start of the title element. - Post-Condition: Any - The next node after the title element. - - - - - Reads an app:categories element as well as each atom:category element contained within it, and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:categories element. - Post-Condition: Any - The next node after the app:categories element. - - - - - Reads an "app:accept" element and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:accept element. - Post-Condition: Any - The next node after the app:accept element. - - - - - Reads an "atom:category" element and returns the data as an object. - - An object with its properties filled in according to what was found in the XML. - - Pre-Condition: XmlNodeType.Element - The start of the atom:category element. - Post-Condition: Any - The next node after the atom:category element. - - - - Enumeration of all possible states of an . - - - The reader is at the start; nothing has been read yet. - In this state the Name and Value properties of the returns null. - - - The reader read a primitive or a complex parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns the value read (e.g. a primitive value, an ODataComplexValue or null). - - - The reader is reading a collection parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns null. The CreateCollectionReader() method on the - must be called to get the reader to read the collection value. - - - The reader has thrown an exception; nothing can be read from the reader anymore. - In this state the Name and Value properties of the return null. - - - The reader has completed; nothing can be read anymore. - In this state the Name and Value properties of the return null. - - - - Implementation of the batch-specific URL resolver that resolves cross-referencing URLs properly. - - - - Supports custom resolution of URLs found in the payload. - - This interface can be implemented on messages (see and - ). When a message implementing this interface is - passed to an or , the - message writer/reader will use this interface for custom URL resolution. - On writers this means that whenever a URI is written into the payload the resolution - method on this interface is called to resolve a base URI and a payload URI to the - actual URI to be written to the payload. If the method returns null from a resolution - call the default resolution will be used. - On readers this means that a base URI (either from the payload or the reader settings) and - the URI read from the payload are passed to the method. The result is what is being reported - on the OData OM instances. Again if the resolution method returns null the default resolution - kicks in. - - - - Implements a custom URL resolution scheme. This method returns null if no custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - An instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - The URL resolver from the batch message. - - - A hashset with all content IDs used so far in the batch; this is used for cross-referencing URL resolution. - - - - Constructor. - - The URL resolver from the batch message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Add the content ID to the hashset of valid content IDs. - - The (non-null) content ID to add. - - - - Checks whether a given (non-null) content ID is already in the content ID cache. - - The content ID to check for. - true if the content ID cache already contains a content ID with value ; otherwise false. - - - - Resets the cache of content IDs. This is called at the end of each changeset - since content IDs are only unique within a changeset. - - - - - The URL resolver from the batch message. - - - - Exception type representing exception when Content-Type of a message is not supported. - - - Creates a new instance of the class. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class. - Plain text error message for this exception. - - - Creates a new instance of the class. - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - Creates a new instance of the class from the specified SerializationInfo and StreamingContext instances. - A SerializationInfo containing the information required to serialize the new ODataException. - A StreamingContext containing the source of the serialized stream associated with the new ODataException. - - - - Utility functions for writing values for use in a URL. - - - - - Converts a primitive to a string for use in a Url. - - Value to convert. - OData version to be compliant with. - A string representation of to be added to a Url. - - - - Converts the given string to an ODataComplexValue or ODataCollectionValue and returns it. - Tries in both JSON light and Verbose JSON. - - Does not handle primitive values. - Value to be deserialized. - ODataVersion to be compliant with. - Model to use for verification. - Expected type reference from deserialization. If null, verification will be skipped. - An ODataComplexValue or ODataCollectionValue that results from the deserialization of . - - - - Verifies that the given is or can be coerced to , and coerces it if necessary. - - An EDM primitive value to verify. - Model to verify against. - Expected type reference. - The version to use for reading. - Coerced version of the . - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Converts an to a string for use in a Url. - - Instance to convert. - A string representation of to be added to a Url. - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. Collection requires >= V3. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Write a literal value in JSON Verbose format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Write a literal value in JSON Light format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Coerces the given to the appropriate CLR type based on . - - Primitive value to coerce. - Edm primitive type to check against. - as the corresponding CLR type indicated by , or null if unable to coerce. - - - - URI Utility methods. - - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - A CLR object that the represents. - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - Optional model to perform verification against. - Optional IEdmTypeReference to perform verification against. - Callers must provide a containing this type if it is specified. - A CLR object that the represents. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - No type verification is used. - - Value to be converted. - Version to be compliant with. - A string representation of for use in a Url. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - A string representation of for use in a Url. - - - - Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - ODataFormat to use for structured values such as complex types and collections. - A string representation of for use in a Url. - - - - The RAW OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Semantic node that represents a single-value open property access, which is not bound to an EDM model. - - - - - The value containing this property. - - - - - The name of the open property to be bound outside the EDM model. - - - - - Constructs a . - - The value containing this property. - The name of the open property to be bound outside the EDM model. - Throws if the input source or openPropertyName is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the name of the open property to be bound outside the EDM model. - - - - - Gets the type of the single value this node represents. - - - The value of this property will always be null for open properties. - - - - - Gets the kind of this query node. - - - - Enumeration used to identify text content of syndication item. - - - - Plaintext - - - - - HTML - - - - - XHTML - - - - Enumeration type that is used to identify the syndication item element or attribute in the Open Data Protocol (OData) feed to which an entity property is mapped. - - Potentially the following atom specific elements could also be considered: - * Content? - * Id - * Source? - - - - - User specified a non-syndication property - - - - - author/email - - - - - author/name - - - - - author/uri - - - - - contributor/email - - - - - contributor/name - - - - - contributor/uri - - - - - updated - - - - - published - - - - - rights - - - - - summary - - - - - title - - - - Attribute that specifies a custom mapping between properties of an entity type and elements of an entry in an Open Data Protocol (OData) feed returned by the data service.  - - - - Source property path. - - - - - Target Xml element/attribute. - - - - - If mapping to syndication element, the name of syndication item. - - - - - If mapping to syndication content, the content type of syndication item. - - - - - If mapping to non-syndication element/attribute, the namespace prefix for the - target element/attribute. - - - - - If mapping to non-syndication element/attribute, the namespace for the - target element/attribute. - - - - - The content can optionally be kept in the original location along with the - newly mapping location by setting this option to true, false by default. - - - - Creates a new instance of the . - The name of the property, as string, of the entity type that is mapped to the specified property of the feed item. - A value that represents the element in the feed to which to map the property. This value must be set to None if the is not null. - A value that identifies the format of the content to display in the feed. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Creates an instance of the to map a property to a custom feed element. - The name of the property of the entity type, as string, that is mapped to the specified property in the feed. - The name of the target, as string, in the resulting feed to which the property is mapped. - This parameter, together with , specifies the namespace in which the element exists. - Specifies the namespace URI of the element, as string, specified by the property. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Gets the name of the property of the syndication item that will be mapped to the specified element of the feed. - String value that contains property name. - - - Gets the name of the custom target in the feed to which the property is mapped. - String value with target XML element or attribute. - - - Gets the syndication item in the entry targeted by the mapping. - A value that is the target of the mapping. - - - Gets a string value that, together with , specifies the namespace in which the element exists. - String value that contains the target namespace prefix. - - - Gets a string value that specifies the namespace URI of the element specified by the property. - String that contains the namespace URI. - - - Gets the type of content of the property mapped by . - A string that identifies the type of content in the feed element. - - - Gets a Boolean value that indicates whether a property value should be repeated both in the content section of the feed and in the mapped location. - A value that is true when the property is mapped into both locations in the feed; otherwise, false. - - - - Enumeration for the different kinds of reader and writer behaviors - supported in the OData library. - - - - The default behavior of the OData library. - - - The behavior of the WCF Data Services server. - - - The behavior of the WCF Data Services client. - - - - Class that captures all the information needed to make readers behave - differently when used inside of WCF Data Services or outside. - - - - The default reader behavior for the OData library. - - - The API behavior kind of this behavior. - - - Custom type resolver used by the WCF DS Client. - - This function is used instead of calling the IEdmModel.FindType. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - - true if the server uses a V1 provider; otherwise false. - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - Determines whether operations bound to the given type must be container qualified. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - true if the server uses a V1 provider; otherwise false. - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the reader behavior for the WCF Data Services client. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - The created reader behavior. - - - - Create the reader behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created reader behavior. - - - - Resets the format behavior of the current reader behavior to the default format behavior. - - - - - Get the default reader behavior for the OData library. - - The default reader behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one - of the duplicate property names refers to a named stream property, - an association link or a collection. - - - - - true if the server is using V1 provider; false otherwise. - - - - - Custom type resolver used by the WCF DS Client. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - Determines whether operations bound to the given entity type must be container qualified. - - - - Class that captures all the information needed to make writer behave - differently when used inside of WCF Data Services or outside. - - - - The default writer behavior for the OData library. - - - The API behavior kind of this behavior. - - - true if the server uses a V1 provider; otherwise false. - - - true to allow null values for non-nullable primitive types; otherwise false. - - - - If set to true, allows the writers to write duplicate properties of entries and complex values - (i.e., properties that have the same name). Defaults to 'false'. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - true if the server uses a V1 provider; otherwise false. - - true to allow null values for non-nullable primitive types; otherwise false. - - - If set to true, allows the writers to write duplicate properties of entries - and complex values (i.e., properties that have the same name). - - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the writer behavior for the WCF Data Services client. - - Custom data namespace. - Custom type scheme to use when resolving types. - The created writer behavior. - - - - Create the writer behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created writer behavior. - - - - Resets the format behavior of the current writer behavior to the default format behavior. - - - - - Get the default writer behavior. - - The default writer behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - EPM mappings are defined on entity types but not on complex types. For entity types, the EPM mapping for each of its primitive properties stay the same. - For complex types however, the EPM mappings changes depending on the entity type each complex property is declared on. - For example, if the "Customer" entity type has the properties Address1 and Address2 both of the complex type "Address". If properties in Address1 - are not mapped while properties in Address2 are mapped with KeepInContent=false, when we serialze the Address type in atom format, we keep properties of - Address1 in content while skipping properties of Address2 from the content. Thus the same complex type can get serialized differently for each instance - of the type. - - Astoria has a bug for V1 providers in which it creates and caches EPM information on the complex type itself the first time it serializes - an instance of the complex type. So subsequent writes will serialize the complex type the same way regardless of its EPM mapping. - This creates the following 2 problems: - 1. If a primitive property of a complex type is not part of a EPM mapping or has KeepInContent=true the first time it's serialized, the property will always - be serialized in the content for the remaining lifetime of the service, even for instances where KeepInContent=false. - 2. If a primitive property of a complex type has KeepInContent=false the first time it's serialized, the property will always be missing in the content - for the remaining lifetime of the service, even for instances that do not belong to a EPM mapping or have KeepInContent=true. - Unfortunately we cannot fix issue 1 because it can break existing third party clients. We have to fix issue 2 because it is a data corruption issue. - - The solution is to remember on the first write whether a primitive property of a complex type is serialized in content or not. On subsequent writes - to the same property, we will always keep it in content if the initial write is in content. Otherwise we calculate whether it should be in content - based on ShouldWritePropertyInContent. - - NOTE: this assumes that the complex type in question does not change throughout the lifetime of the service. - - See bug 174185. - - - - - If set to true, the writers will allow writing null values even if the metadata specifies a non-nullable primitive type. - - - - - If set to true, allows the writers to write duplicate properties of entries and complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one of the duplicate property names refers to - a named stream property, an association link or a collection. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - - OData ATOM deserializer for error payloads. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the content of an error element. - - The Xml reader to read the error payload from. - The maximumum number of recursive internalexception elements to allow. - The representing the error. - - This method is used to read top-level errors as well as in-stream errors (from inside the buffering Xml reader). - Pre-Condition: XmlNodeType.Element - The m:error start element. - Post-Condition: XmlNodeType.EndElement - The m:error end-element. - XmlNodeType.Element - The empty m:error start element. - - - - - Reads a top-level error. - - An representing the read error. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the m:error end element or the empty m:error element node. - - - - - Verifies that the specified element was not yet found in a top-level error element. - - - The bit field which stores which elements of an error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Verifies that the specified element was not yet found in an inner error element. - - - The bit field which stores which elements of an inner error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Reads the content of an inner error element. - - The (buffering) Xml reader to read the error payload from. - The number of times this function has been called recursively. - The maximumum number of recursive internalexception elements to allow. - The representing the inner error. - - Pre-Condition: XmlNodeType.Element - the m:innererror or m:internalexception element - Post-Condition: Any - the node after the m:innererror/m:internalexception end element or the node after the empty m:innererror/m:internalexception element node. - - - - - An enumeration of the various kinds of elements in an m:error element. - - - - No duplicates. - - - The 'code' element of the error element. - - - The 'message' element of the error element. - - - The 'innererror' element of the error element. - - - - An enumeration of the various kinds of elements in an internal error element. - - - - No duplicates. - - - The 'message' element of the inner error element. - - - The 'type' element of the inner error element. - - - The 'stacktrace' element of the inner error element. - - - The 'internalexception' element of the inner error element. - - - - Reader for the EPM custom-only. Read the EPM properties from cached values. - - - - - Base class for EPM readers. - - - - The input context currently in use. - - - The reader entry state to use for the entry to which the EPM is applied. - - - - Constructor. - - The reader entry state to use for the entry to which the EPM is applied. - The input context currently in use. - - - - Sets the value read from EPM to a property on an entry. - - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets the value read from EPM to a property on an entry. - - The target list, which is a list of properties (on entry or complex value). - The type of the value on which to set the property (can be entity or complex). - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets a property value for a segment of the EPM source path. - - The EPM info according to which we are mapping the value to properties. - The index in the epmInfo.PropertyValuePath for the source segment for which to set the value. - The structural type of the parent segment. - The list of properties of the parent segment, this method may add to this list. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Creates and adds a new property to the list of properties for an EPM. - - The list of properties to add the property to. - The name of the property to add. - The value of the property to add. - true if the new property should be checked for duplicates against the entry properties; false otherwise. - This should be true if the is the list of properties for the entry, and false in all other cases. - - - The reader entry state to use for the entry to which the EPM is applied. - - - The version of OData protocol to use. - - - The reader settings to use. - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the custom EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Cache for values read during deserialization of custom EPM. - - - - - List of custom EPM values read. - This is a map from EPM info to the value read from the payload. - - - The list order is the order in which the values were read from the payload. - They will be applied to the entry properties in that order (this needs to be maintained). - The key is the EPM info for the mapping according to which the value was read. - The value is the string value read from the content (not converted in any way). - null value means true null value should be used. - If the value was missing from the payload there will be no record of it in this list. - - - - - Constructor. - - - - - Determines if the cache already contains a value for the specified EPM mapping. - - The EPM info for the EPM mapping to look for. - true if the cache already contains a value for this mapping, false otherwise. - - - - Adds a value to cache. - - The EPM info for the mapping according to which the value was read. - The value to cache. - - The method will only store the first value for any given EPM info, since in custom EPM - only the first occurrence of the element/attribute is used, the others are ignored. - - - - - The list of stored custom EPM values (key is the EPM info, value is the string value read for it). - The list is in the order in which the values were read from the payload. - - - - - OData ATOM deserializer for EPM. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an extension element in non-ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element in non-ATOM namespace to read. - Post-Condition: Any - the node after the extension element which was read. - - - - - Reads an element for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the parent element to which the element belongs. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element which was read. - - The method works on any element, it checks if the element should be used for EPM or not. - - - - - Reads an attribute for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the element to which the attribute belongs. - - Pre-Condition: XmlNodeType.Attribute - the attribute to read. - Post-Condition: XmlNodeType.Attribute - the same attribute, the method doesn't move the reader. - - The method works on any attribute, it checks if the attribute should be used for EPM or not. - - - - - OData ATOM deserializer for entity reference links. - - - - OData element name for the 'links' element - - - OData element name for the 'count' element - - - OData element name for the 'next' element - - - OData element name for the 'uri' element - - - - Constructor. - - The ATOM input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a top-level entity reference link. - - An instance representing the read entity reference link. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Verifies that the specified element was not yet found in the entity reference links element. - - The bit field which stores which elements of an inner error were found so far. - The bit mask for the element to check. - The namespace name of the element ot check (used for error reporting). - The name of the element to check (used for error reporting). - - - - Reads all top-level entity reference links and the (optional) inline count and next link elements. - - An instance representing the read entity reference links. - - Pre-Condition: XmlNodeType.Element - The 'd:links' element. - Post-Condtion: any - The node after the 'd:links' end element (or empty 'd:links' element). - - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: XmlNodeType.Element - the 'd:uri' element to read. - Post-Condition: Any - the node after the 'd:uri' element which was read. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No duplicates. - - - The 'm:count' element of the 'links' element. - - - The 'd:next' element of the 'links' element. - - - - Class with utility methods for dealing with OData metadata that are shared with the OData.Query project. - - - - - Checks whether a type reference refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type reference; otherwise false. - - - - Checks whether a type refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type; otherwise false. - - - - Checks whether a type reference refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type reference; otherwise false. - - - - Checks whether a type refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type; otherwise false. - - - - Checks whether a type reference refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type reference; otherwise false. - - - - Checks whether a type refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type; otherwise false. - - - - Checks whether a type reference is considered a value type in OData. - - The to check. - true if the is considered a value type; otherwise false. - - The notion of value type in the OData space is driven by the IDSMP requirements where - Clr types denote the primitive types. - - - - - Checks whether a type reference refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Checks whether a type refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Determines if a is convertibale according to OData rules to the - . - - The type which is to be converted. - The type to which we want to convert. - true if the source type is convertible to the target type; otherwise false. - - - Represents an annotation to hold information for a particular property. - - - Gets the behavior for readers when reading property with null value. - The behavior for readers when reading property with null value. - - - Represents an OData action. - - - - Represents a function or an action. - - - - the metadata builder for this operation. - - - A human-readable description of the or the . - - - true if a title was provided by the user or seen on the wire, false otherwise. - - - A human-readable description of the or the , computed by the metadata builder. - - - The URI to invoke the or the . - - - true if a target was provided by the user or seen on the wire, false otherwise. - - - The URI to invoke the or the , computed by the metadata builder. - - - The cached full name of the operation to use. - - - The binding parameter type name for this operation. - - - - Sets the metadata builder for this operation. - - The metadata builder used to compute values from model annotations. - The metadata document Uri. - - - - Gets the metadata builder for this operation. - - The metadata builder used to compute values. - - - Gets or sets the URI to get metadata for the . - The URI to get metadata for the . - - - Gets or sets a human-readable description of the . - A human-readable description of the . - - - Gets or sets the URI to invoke the . - The URI to invoke the . - - - Represents an OData function. - - - - Implementation of the OData input for metadata documents. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Disposes the input context. - - - - - This methods reads the metadata from the input and returns an - representing the read metadata information. - - An instance representing the read metadata. - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - A method that determines whether a given model is a user model or one of the built-in core models - that can only used for primitive type resolution. - - The model to check. - true if the is a user model; otherwise false. - - - - Checks whether the provided is a supported primitive type. - - The CLR type to check. - true if the is a supported primitive type; otherwise false. - - - - Returns all the entity types in a model. - - The to get the entity types for (must not be null). - An enumerable of all instances in the . - - - - Creates a collection value type for the specified . - - The for the item type. - The created . - - - - Creates a collection type for the specified . - - The for the item type. - The created . - - - - Checks if the type reference is assignable from the type reference. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - Note that this method only checks the type definition for assignability; it does not consider nullability - or any other facets of the type reference. - - - - Checks if the type is assignable from the type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the structured type and the structured type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Checks if the primitive type and the primitive type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Returns the base type of a primitive type. - - The to get the base type for. - The base type of the or null if no base type exists. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Resolves the name of a primitive type. - - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Get the of the item type of the . - - The collection type to get the item type for. - The item type of the . - - - - Returns the IEdmCollectionType implementation with the given IEdmType as element type. - - IEdmType instance which is the element type. - An instance using the as Collection item type. - - - - Returns the IEdmCollectionType implementation with the given IEdmTypeReference as element type. - - IEdmTypeReference instance which is the element type. - An instance using the as Collection item type. - - - - Checks whether a type reference is a Geography type. - - The to check. - true if the is a Geography type; otherwise false. - - - - Checks whether a type reference is a Geometry type. - - The to check. - true if the is a Geometry type; otherwise false. - - - - Returns CollectionValue item type name or null if the provided type name is not a collectionValue. - - CollectionValue type name read from payload. - CollectionValue element type name or null if not a collectionValue. - - - - Gets the name of a function import group. - - The function import group in question. - The name of the function import group. - - - - Gets the full name of a function import group. - - The function import group in question. - The full name of the function import group. - - - - Name of the function import with parameters. - - Function import in question. - Name of the function import with parameters. - - - - Full name of the function import with parameters. - - Function import in question. - Full name of the function import with parameters. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the full name of the definition referred to by the type reference. - - The type reference to get the full name for. - The full name of this . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Gets the full name of the type. - - The type to get the full name for. - The full name of the . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Clones the specified type reference. - - The type reference to clone. - true to make the cloned type reference nullable; false to make it non-nullable. - The cloned instance. - - - - Gets the multiplicity of a navigation property. - - Reference to the calling object. - The multiplicity of the navigation property in question. - This has been added to EdmLib, but EdmLib won't be released for a while. - If you need to use this functionality before we release EdmLib, then use this method. Change your calls - to use the real method whenever we release EdmLib again. - - - - Checks if the is assignable to . - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the primitive type is a geography or geometry type. - - The type to check. - true, if the is a geography or geometry type. - - - - Checks if the primitive type is assignable to primitive type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - The CLR type for the primitive type reference. - - - - Turns a into the corresponding non-nullable . - - The type to convert. - A non-nullable type reference for the . - - - - Determines whether the provided is an open type. - - The type to check. - true if the is an open type; otherwise false. - - - - Determines whether the provided is a stream. - - The type to check. - true if the represents a stream; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Returns the primitive type reference for the given Clr type. - - The Clr type to resolve. - The primitive type reference for the given Clr type. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. - The group with the specified name or null if no such function import exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The group with the specified name or null if no such function import exists. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) - The resolved function import or function import group. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The resolved function import or function import group. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - Whether the returned type should be a nullable variant or not. - The CLR type for the primitive type reference. - - - - Returns Collection item type name or null if the provided type name is not a collection. - - Collection type name. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't berecognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - - - - - Gets the function import parameter types in string. - - Function import in question. - Comma separated function import parameter types enclosed in parantheses. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - Constant values used related to EPM (entity property mapping). - - - - Attribute name for the FC_KeepInContent attribute used for EPM. - - - Attribute name for the FC_ContentKind attribute used for EPM. - - - Attribute name for the FC_SourcePath attribute used for EPM. - - - Attribute name for the FC_TargetPath attribute used for EPM. - - - Attribute name for the target namespace prefix (FC_NsPrefix) attribute used for custom EPM. - - - Attribute name for the target namespace Uri (FC_NsUri) attribute used for custom EPM. - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - String value for the syndication content kind 'text'. - - - String value for the syndication content kind 'HTML'. - - - String value for the syndication content kind 'XHTML'. - - - - Builder class for the name of EPM attributes as serialized in CSDL. - This class keeps track of the number of mappings for a given type/property and appends post fixes to the names as needed. - - - - Separator character for building attribute names. - - - Current index. - The first time the name builder is used the names have no suffix. - The second time (after calling MoveNext once) - the name builder will use suffix '_1', then suffix '_2' and so on. - - - - Suffix for current attribute names. - - - Constructor - - - Move to next attribute name generation. - - - Current keep-in-content attribute name. - - - Current source path attribute name. - - - Current target path attribute name. - - - Current content kind attribute name. - - - Current namespace prefix attribute name. - - - Current namespace Uri attribute name. - - - - Annotation stored on an entity type to hold entity property mapping information. - - - - - A list of the EPM mappings this cache was constructed for. - Used to determine whether the cache is dirty or not. - - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - EDM model. - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - Constructor. - - The EPM mappings to create the cache for. - The EDM model. - The total number of entity property mappings - for the entity type that this cache is created for (on the type itself and all its base types). - - - - Initializes the EPM annotation with EPM information from the specified type. - - Entity type to use the EPM infromation from. - Entity type for this the EPM information is being built. - - - - Checks whether the current cache is dirty with respect to the . - - The EPM mappings to check this cache against. - true if the are not the same as the ones the cache has been created for (or have changed). - - - - Does given property in the attribute exist in the specified type. - - The type to inspect. - Attribute which has PropertyName. - true if property exists in the specified type, false otherwise. - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - All EntityPropertyMapping attributes. - - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - - Represents an enumerable of that new items can be added to. - - - - List of the mappings represented by this enumerable. - - - Creates a new instance of the class. - - - Creates a new instance of the class. - An enumerable of used to initialize the instance. This argument must not be null. - - - Adds the mapping to the list of all mappings represented by this class. - The to add to the enumerable represented by this class. - - - Returns an enumerator for the instances in this enumerable. - An enumerator for the instances in this enumerable. - - - Returns a non-generic enumerator for the instances in this enumerable. - A non-generic enumerator for the instances in this enumerable. - - - - The count of mappings stored in this collection. - - - - - Helper methods used by the OData reader for the Verbose JSON format. - - - - - Compares the against the list of supported feed-level properties and - returns the kind of property. - - The name of the property to check. - The kind of feed-level property of the property with name . - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Checks whether the specified property has already been found before. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - true if the property has not been read before; otherwise false. - - - - Validates that the string property in __metadata is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Verifies that the specified property was not yet found. - - The bit field which stores which metadata properties were found so far. - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in an entity reference links collection is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the count property in an OData-owned object wrapper is valid. - - The value of the property. - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an entity reference link collection were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in __mediaresource is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the property in feed wrapper is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JSON. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - The version of the payload being read. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - true if the conversion should use the V1 provider behavior, false if the default behavior should be used. - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Converts the given datetime value into the allowed target types. - - DateTime value as read by the JsonReader. - Target type to which the datetime value needs to be converted. - Type reference to which the value needs to be converted. - ODataReaderBehavior instance. - Object which is in sync with the target type. - - - - Checks if the given type is a V1 primitive type or not. - - Type instance. - True if the given target type is a V1 primitive type otherwise returns false. - - - - An enumeration of the various kinds of properties on a feed wrapper object. - - - - An unsupported property at the feed level. - - - The inline count property of a feed. - - - The results property of a feed. - - - The next page link property of a feed. - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - An unsupported property at the wrapper level. - - - The inline count property of an entity reference links wrapper. - - - The results property of an entity reference links wrapper. - - - The next page link property of an entity reference links wrapper. - - - - Enumeration of all properties in error payloads, the value of the enum is the bitmask which identifies - a bit per property. - - - We only use a single enumeration for both top-level as well as inner errors. - This means that some bits are never set for top-level (or inner errors). - - - - No property found yet. - - - The "error" of the top-level object. - - - The "code" property. - - - The "message" property of either the error object or the inner error object. - - - The "lang" property of the message object. - - - The "value" property of the message object. - - - The "innererror" or "internalexception" property of the error object or an inner error object. - - - The "type" property of an inner error object. - - - The "stacktrace" property of an inner error object. - - - - Enumeration of all properties in __metadata, the value of the enum is the bitmask which identifies - a bit per property. - - - - No property found yet. - - - The "uri" property. - - - The "type" property. - - - The "etag" property. - - - The "media_src" property. - - - The "edit_media" property. - - - The "content_type" property. - - - The "media_etag" property. - - - The "properties" property. - - - The "id" property. - - - The "actions" property. - - - The "functions" property. - - - - OData reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndArray if the feed is not wrapped in the 'results' wrapper - JsonNodeType.EndObject if the feed is wrapped in the 'results' wrapper - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or wrapped feed inside expanded link) - JsonNodeType.StartArray feed not wrapped with 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) expanded null entry - Post-Condition: JsonNodeType.StartArray: expanded link with a feed that is not wrapped with 'results' wrapper - JsonNodeType.StartObject expanded link with a feed that is warpped with 'results' wrapper - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNoteType.Primitive (null) If an expanded link with null entity instance was found. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of a feed and sets up the reader state correctly. - - true if the feed is inside an expanded link. - - Pre-Condition: The first node of the feed; this method will throw if the node is not - JsonNodeType.StartArray: a feed without 'results' wrapper - JsonNodeType.StartObject: a feed with 'results' wrapper - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the next node in the content of an expanded navigation link which represents a collection and is in a request payload. - - - This method deals with all the special cases in request payload expanded navigation link for collections. - It should be called when the array start of the content of such a link was already read. - It should be called in these cases: - - Start of the navigation link (to report the first content item of it) - - Entity reference link was reported (to report the next item of the navigation link content) - - Feed end was reported, to report the next non-entry item in the navigation link content - - Entry end was reported, to determine if the next entry should be reported, or if the feed should be closed. - - - - - Reads the start of an entry and sets up the reader state correctly - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (deferred link or entry or >=v2 feed wrapper) - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.PrimitiveValue (null) The null value of the navigation link property value to read next (expanded null entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the __metadata property for an entry and resolves its type. - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link to start. - The navigation property for the navigation link to start. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonScope - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Interface representing a state of the Verbose JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that during parsing of the entry represented by this state, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Flag which indicates that during parsing of the entry represented by this scope, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Flag which is only used on a StartFeed scope. - true - if the feed is the special feed reported as content of an expanded navigation link in request. - false - if the feed is any other (regular) feed. - - - - - Flag which is used to remember whether the feed was wrapped in with 'results' wrapper and which indicates - whether to expect (and read) '}' character at the end of the feed. Used on StartFeed scope for top level - feeds and on NavigationLinkStart scope for nested expanded feed. - true - if the feed was wrapped in results wrapper - false - if the feed was not wrapped in results wrapper - - - - - Flag which is only used on a StartNavigationLink scope in requests. - true - we already found some content for the navigation link in question and it was (or is going to be) reported to the caller. - false - we haven't found any content for the navigation link yet. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - Extension methods to make it easier to work with EPM. - - - - - All supported base names for serializable EPM annotations. - - - - - FC_TargetPath to enum mapping. - - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Determines if the has any EPM defined on it (or its base types). - - The model containing the annotations. - The entity type to test for presence of EPM. - true if the has EPM; false otherwise. - - - - Returns the EPM information for an entity type. - - The model containing the annotations. - The entity type to get the EPM information for. - Returns the EPM information for an entity type. If there's no such information, this returns null. - - - - Returns the cached EPM information for an entity type. - - The model containing the annotations. - The entity type to get the cached EPM information for. - Returns the cached EPM information for an entity type. If there's no cached information, this returns null. - - - - Gets all the annotations bindings in order to remove all EPM related annotations from a given . - - The model containing the annotations. - The annotatable to get the EPM annotations for. - A dictionary of local annotation name to annotation binding mappings for all serializable EPM annotations on . - - - - Removes the in-memory EPM annotations from an entity type; potentially also drops an existing EPM cache. - - The containing the annotation. - The to remove the EPM annotation from. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations for. - The EPM cache for the owning entity type. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations on. - All the EPM annotations to be saved. - true if the source path should be saved explicitly; otherwise false. - true if the prefix of the source path should be removed; otherwise false. - - - - Returns the cached keep-in-content annotation for the primitive properties of a complex type. - - The model containing the annotation. - The complex type to get the cached keep-in-content annotation for. - Returns the keep-in-content annotation for a type. If there's no such annotation this returns null. - - - - Maps the enumeration of allowed values to their string representations. - - Value of the given in - the contstructor. - String representing the xml element path in the syndication property. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the entity type belongs to. - The to load the EPM annotations for. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the annotatable belongs to. - The to load the EPM annotations for. - The collection of EPM annotations to add newly loaded annotations to. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - - - - Given a gets the corresponding syndication property. - - Target path in the form of a syndication property name. - - Enumeration value of a or SyndicationItemProperty.CustomProperty - if the does not map to any syndication property name. - - - - - Translates a content kind enumeration value to the corresponding string attribute value for serialization to CSDL. - - The content kind to translate. - A string corresponding to the value. - - - - Translates a syndication item property enumeration value to the corresponding string attribute value for serialization to CSDL. - - The syndication item property to translate. - A string corresponding to the value. - - - - Maps the string to an enumeration value of the enumeration. - - The content kind string to map. - The suffix of the attribute name currently being parsed or validated.Only used in error messages. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The name of the property to parse the EPM annotations for. Only used in error messages. - An value if the could be successfully mapped; otherwise throws. - - - - Parses the serializable EPM annotations of the , groups them by suffix - and translates them into a set of structs. - - The containing the annotations. - The to parse the EPM annotations for. - The name of the type for which the annotations are parsed or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - An enumerable of that represents all the parsed annotations grouped by their suffix. - - - - Validates the annotation values parsed for an EPM mapping. - - The to validate. - The name of the type for which the annotations are validated or that declares the . Only used in error messages. - The property for which the annotations are validated; null if the annotations are for a type. - An instance that represents the mapping created from the . - - - - Removes an existing EPM cache annotation. - - The containing the annotations. - The to remove the EPM cache from. - - - - Checks whether a given OData annotation is an EPM related annotation. - - The instance to check. - true if the annotation is EPM related; otherwise false. - - - - Checks whether a given serializable annotation represents part of an EPM mapping. - - The annotation to check. - The base name of the EPM annotation. - The suffix of the EPM annotation or null if not an EPM annotation. - true if the is an EPM annotation; otherwise false. - - - - Converts the value of the to a string. - - The to convert. - The string representation of the converted annotation value. - - - - Checks that two strings are the same references (and asserts that if they are not they also - don't have the same value). - - The first string to compare. - The second string to compare. - true if the and are the same reference; otherwise false; - - - - Checks whether the has EPM defined for it (either directly - on the type or on one of the base types). - - The containing the annotation. - The to check. - true if the has EPM defined; otherwise false. - - - - Gets the annotation binding with the OData metadata namespace and the specified for the . - - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - An instance that represnets the annotation with the specified name and value. - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel instance containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - true if the cache was modified; otherwise false. - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Private struct to store the values of the serializable EPM annotations during loading. - - - - The string value of the FC_SourcePath attribute (or null if not present). - - - The string value of the FC_TargetPath attribute (or null if not present). - - - The string value of the FC_KeepInContent attribute (or null if not present). - - - The string value of the FC_ContentKind attribute (or null if not present). - - - The string value of the FC_NsUri attribute (or null if not present). - - - The string value of the FC_NsPrefix attribute (or null if not present). - - - The attribute suffix used for the attribute names. - - - - Representation of each node in the EpmSourceTree. - - - - - Name of the property under the parent type. - - This fields is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - StartPath property name - - - - Name of the property under the parent type. - - This property is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionValueItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the tree. - - - - - corresponding to this tree. - - - - - Constructor which creates an empty root. - - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - - Validates the source tree. - - The entity type for which the validation is performed. - - - - Validates the specified segment and all its subsegments. - - The path segment to validate. - The type of the property represented by this segment (null for open properties). - - - - Returns the type of the property on the specified type. - - The type to look for the property on. - The name of the property to look for. - The type of the property specified. - - - - Root of the tree - - - - - Representation of each node in the EpmTargetTree. - - - - - Name of the xml element/attribute. - - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - - Cached attribute name if the segment represents an attribute. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - If this is a non-leaf element, the child elements/attributes collection. - - - - - Parent element of this element/attribute. - - - - - The EPM info object for this target segment, if there's any. - - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the EpmTargetTree. - - - - - Used for creating non-root nodes in the syndication/custom trees. - - Name of xml element/attribute - URI of the namespace for - Namespace prefix to be used for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - - Name of the xml element/attribute. - - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the property should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root node should not be accessed directly - from anywhere so far. - - - - Retruns name of the attribute the property is mapped to. Must not be called if a property is mapped to an element. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - EntityPropertyMappingInfo corresponding to current segement. - - - - - Whether this node corresponds to ResourceType or ClientType property values. - - - - - Does this node correspond to xml attribute. - - - - - Parent node in the tree (always an element if present). - - - - - Sub-nodes of this node. Only exist if current node is an element node. - - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Number of properties that have V2 mapping with KeepInContent false. - - - - - Initializes the sub-trees for syndication and non-syndication content. - - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Validates the target tree. - - This also cleans up the tree if necessary. - - - - Checks if mappings could potentially result in mixed content and dis-allows it. - - StartPath being processed. - A list of ancestor attributes that have content. - Can contain a maximum of one attribute when the method is called, must never contain more than two. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - string with the correct value for the target path - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Minimum protocol version required to serialize this target tree. - - - - - Class with utility methods for reading ATOM metadata. - - - - - Creates a new instance of ATOM entry metadata. - - The newly created ATOM entry metadata. - - - - Creates a new instance of ATOM feed metadata. - - The newly created ATOM feed metadata. - - - - Adds a new author to entry metadata. - - The entry metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to entry metadata. - - The entry metadata to add the contributor to. - The contributor metadata to add. - - - - Adds a new link to entry metadata. - - The entry metadata to add the link to. - The link metadata to add. - - - - Adds a new link to feed metadata. - - The feed metadata to add the link to. - The link metadata to add. - - - - Adds a new category to entry metadata. - - The entry metadata to add the category to. - The category metadata to add. - - - - Adds a new category to feed metadata. - - The feed metadata to add the category to. - The category metadata to add. - - - - Adds a new author to feed metadata. - - The feed metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to feed metadata. - - The feed metadata to add the contributor to. - The author metadata to add. - - - - Reader for the EPM syndication-only. Read the EPM properties from ATOM metadata OM. - - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the syndication EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Reads a leaf segment which maps to a property value. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads a non-leaf segment which has sub segments. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads EPM values from a person construct (author or contributor). - - The target list, this can be either a list of properties (on entry or complex value), - or a list of items (for a collection of primitive types). - The type of the value on which to set the property (can be entity, complex or primitive). - The target segment which points to either author or contributor element. - The person ATOM metadata to read from. - - - - Reads the value of the ATOM text construct and sets it to the EPM. - - The EPM target segment for the value to read. - The text construct to read it from (can be null). - - - - Base class for EPM writers. - - - - The output context currently in use. - - - - Constructor. - - The output context currently in use. - - - - Reads a property value starting on an entry. - - The EPM info which describes the mapping for which to read the property value. - The EPM value cache for the entry to read from. - The type of the entry. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting on a complex value. - - The EPM info which describes the mapping for which to read the property value. - The complex value to start with. - The EPM value cache to use. - The index in the property value path to start with. - The type of the complex value. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting with the specified index to the property value path. - - The EPM info which describes the mapping for which to read the property value. - The enumeration of properties to search for the first property in the property value path. - The index in the property value path to start with. - The type of the entry or complex value the enumeration belongs to. - The EPM value cache to use. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - The version of OData protocol to use. - - - The settings to control the behavior of the writer. - - - - Interface representing a state of the ATOM reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element. - - - - - Flag which indicates whether we have found a content element . - - - - - Flag which indicates whether we have found a category element with the required type name. - - - - - Flag which indicates whether we have found a m:properties element. - - - - - Flag indicating if we have already made a decision about the current entry and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - Interface representing a state of the ATOM reader for feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - The ATOM feed metadata to fill as we read the content of the feed. - - - - - Flag which indicates if a m:count element was found. - - - - - Flag which indicates if a link[@rel='next'] element was found. - - - - - Flag which indicates if a link[@rel='self'] element was found. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - OData ATOM deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start element of a collection. - - true, if the collection element is empty; false otherwise. - An representing the collection-level information. Currently this only contains - the name of the collection. - - Pre-Condition: XmlNodeType.Element - The start element of the collection. - Post-Condition: Any - The next node after the start element node of the collection or the - empty collection element node. - - - - - Reads the end of a collection. - - - Pre-condition: XmlNodeType.EndElement - The end element of the collection. - XmlNodeType.Element - The start element of the collection, if the element is empty. - Post-condition: Any - Next node after the end element of the collection. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: XmlNodeType.Element - The start element node of the item in the collection. - Post-Condition: Any - The next node after the end tag of the item. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the OData namespace - is found or the reader.EOF is reached. - - - - - Possible content types of expanded navigation link in ATOM. - - - - No content found, no m:inline. - - - Empty content found, m:inline without anything in it. Usually represents null entry. - - - Expanded entry found. - - - Expanded feed found. - - - - OData ATOM deserializer for entries and feeds. - - - - Schema namespace for Atom. - - - XML element name to mark entry element in Atom. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - XML element name to mark content element in Atom. - - - XML element name to mark link element in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark feed element in Atom. - - - XML element name to mark id element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - Atom source attribute name for the content of media link entries. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData element name for the 'count' element - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - - The reader used to parse annotation elements. - - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Ensure a media resource is created for the specified entry. - - The reader entry state for the entry being read. - If set to true, this method will validate that marking the entry as MLE - doesn't collide with it already being marked as non-MLE. - - - - Verified that the reader is positioned on the atom:entry start element node. - - - - - Read the start of the entry. - This method verifies that the current element is atom:entry and it reads the ETag from it. - - The entry instance to fill the properties on. - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not element called atom:entry - Post-Condition: XmlNodeType.Element - The atom:entry element - - - - - Reads the content of an entry (child nodes of the atom:entry, not the atom:content element). - - The reader entry state for the entry being read. - A descriptor representing the navigation link detected; - null if no navigation link was found and the end of the entry was reached. - - Pre-Condition: Anything but Attribute - the child node of the atom:entry element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:entry - The end of the atom:entry element if no nav. link was found and the end of the entry was reached. - XmlNodeType.Element atom:link - The start tag of the atom:link element representing a navigation link. - - - - - Read the end of the entry. - - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The atom:entry empty element to read end of. - XmlNodeType.EndElement atom:entry - The end element of atom:entry to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the start of the feed. - This method verifies that the current element is atom:feed. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not called atom:feed (but won't validate that it's an element) - Post-Condition: XmlNodeType.Element - The atom:feed element - - - - - Reads the content of a feed (child nodes of the atom:feed). - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if an entry was found or false if no more entries were found in the feed. - - Pre-Condition: Anything but Attribute - the child node of the atom:feed element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:feed - The end of the atom:feed element if no entry was found and the end of the feed was reached. - XmlNodeType.Element atom:entry - The start tag of the atom:entry element representing an entry in the feed. - - - - - Read the end of the feed. - - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The atom:feed empty element to read end of. - XmlNodeType.EndElement atom:feed - The end element of atom:feed to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the content of the navigation link before any expansion was found. - - - An enumeration value indicating what content was found: - None - no m:inline was found, the link is deferred. The reader is positioned on the atom:link end element. - Empty - empty m:inline was found - usually means null entry. The reader is positioned on empty start m:inline or end element m:inline. - Entry - expanded entry was found. The reader is positioned on the atom:entry element. - Feed - expanded feed was found. The reader is positioned on the atom:feed element. - - - Pre-Condition: Any - a node in the atom:link content. - Post-Condition: XmlNodeType.EndElement atom:link - the end of the navigation link was reached. - XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.Element (empty) m:inline - empty inline was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Determines if the reader is positioned on the m:inline end element or empty m:inline start element. - - true if the reader is on m:inline end element or m:inline empty start element; false otherwise. - - - - Skips everything until an end-element for atom:link is found. - - - This method should only be used to skip the rest of the link content after the ReadNavigationLinkContentBeforeExpansion was called. - Pre-Condition: XmlNodeType.Element atom:entry - start of the expanded entry - XmlNodeType.Element atom:feed - start of the expanded feed - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the content of the navigation link after the expansion was found. - The method returns when the entire atom:link was read. - - - true if the reader is positioned on the empty start tag or end tag of the m:inline element. - false if the reader is inside m:inline (or on the end tag of m:inline). - - - Pre-Condition: Any - child node of the m:inline element (emptyInline == false) - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the end of the navigation link. - - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: Any - The node right after the link element. - - - - - Reads the entry content in buffering mode and looks for the type name (the category element with the right attributes). - - The type name if one of found or null if none was found. - - Pre-Condition: XmlNodeType.Element - the atom:entry element - Post-Condition: XmlNodeType.Element - the atom:entry element on which the reader started. - - - - - Returns an existing stream property value if it already exists in the list of OData properties otherwise creates a new - ODataProperty for the stream property and returns the value of that property. - - The reader entry state for the entry being read. - The name of the stream property to return. - A new or an existing stream property value. - - - - If the is true, then the default behavior should throw. - - This method assumes the reader is positioned on the duplicated element. - Used to determine if duplicate check should throw an exception. - - - - Reads an ATOM element inside the atom:entry from the input. - - The reader entry state for the entry being read. - - If the atom element is representing a navigation link a descriptor for that link is returned, - otherwise null. - - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element if it's not a navigation link. - XmlNodeType.Element atom:link - The start tag of atom:link if it's a navigation link. - - - - - Reads the atom:content element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:content - The atom:content element to read. - Post-Condition: Any - The node after the atom:content element. - - - - - Reads the attributes of the <atom:content> element. - - The content type attribute value (or null if not found). - The content source attribute value (or null if not found). - - - - Reads the atom:id element in the atom:entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:id - The atom:id element to read. - Post-Condition: Any - The node after the atom:id element. - - - - - Reads the atom:link element in atom:entry. - - The reader entry state for the entry being read. - - If the link is a navigation link the method returns a descriptor representing that link, - otherwise the method returns null. - - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if it's not a navigation link. - XmlNodeType.Element atom:link - The atom:link start tag if it's a navigation link. - - - - - Reads the atom:link element with one of the standard relation values in the atom:entry element. - - The reader entry state for the entry being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a navigation link in entry element. - - The reader entry state for the entry being read. - The value of the rel attribute of the link to read, unescaped parsed URI. - The value of the href attribute of the link to read. - A descriptor of a navigation link if a navigation link was found; null otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element - the reader doesn't move - - - - - Reads a stream property edit or read link in an atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true if the link is a stream property read or edit link; otherwise false. - true, if the named stream was read successfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a stream property link in an atom:entry. - - The reader entry state for the entry being read. - The name of the stream property that is being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if we are reading an edit link; otherwise false. - true if the stream property link was read; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an association link in atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true, if the association link was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an m:action or m:function in atom:entry. - - The reader entry state for the entry being read. - true, if the m:action or m:function was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element m:action|m:function - The m:action or m:function element to read. - Post-Condition: Any - The node after the m:action or m:function element if it was read by this method. - XmlNodeType.Element m:action|m:function - The m:action or m:function element to read if it was not read by this method. - - - - - Reads an ATOM element inside the atom:feed from the input. - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if the atom:entry element was found and the reader was not moved; - false otherwise and the reader is positioned on the next node after the ATOM element. - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element which was consumed. - XmlNodeType.Element atom:entry - The start of the atom:entry element (the reader did not move in this case). - - - - - Reads the atom:link element with one of the standard relation values in the atom:feed element. - - The reader feed state for the feed being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if the feed is inside an expanded link. - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads the Atom metadata for the link if metadata is required to be read, skip it otherwise. - - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - Action for adding AtomLinkMetadata to the AtomFeedMetadata - - - - Reads the atom:link element's rel and href attributes. - - The value of the rel attribute or null if no such attribute was found. - The value of the href attribute or null if no such attribute was found. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - The atom:link element to read - the reader doesn't not move. - - - - - Reads the content of navigation link. - - - true if m:inline was found, - false if the end of the atom:link was found. - - - Pre-Condition: Any - a child node of the atom:link element. - Post-Condition: XmlNodeType.Element m:inline - the m:inline was found, the method returns true. - XmlNodeType.EndElement atom:link - the atom:link end element, end of the navigation link, the method returns false. - - - - - Reads content of the m:inline element. - - - Enumeration denoting what was found in the content. - Empty - The end of the m:inline element was found - the reader is positioned on the m:inline end element. - Entry - An expanded entry was found - the reader is positioned on atom:entry element. - Feed - An expanded feed was found - the reader is positioned on atom:feed element. - None - will never be returned. - - - Pre-Condition: Any - child node of the m:inline element. - Post-Condition: XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Verifies that the specified content type of an atom:content element matches the expected value. - - The content type value read from the payload. - The verified media type name (without parameters or charset) of the content type. - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - - OData ATOM deserializer for ATOM metadata on entries. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an element in ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads the atom:link element in the entry content. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link, or null if link info doesn't need to be stored. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: XmlNodeType.Element (atom:link) - the atom:link element which was read. - - - - - Reads the atom:category element in the entry content. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:category element. - - The ATOM category metadata read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:source element in the entry content. - - The information in the source element as . - - Pre-Condition: XmlNodeType.Element (atom:source) - the atom:source element to read. - Post-Condition: Any - the node after the atom:source which was read. - - - - - Reads an author element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads a contributor element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Determines if a person element should be read or skipped. - - true if some elements from the collection in question already exist; false if this is the first one. - true if the collection element should be read; false if it should be skipped. - - - - Determines if we should read an element which is allowed to appear only once in ATOM. - - true if we already found such element before; false if this is the first occurence. - true if the element should be processed; false if the element should be skipped. - The method may throw if multiple occurences of such element occure and they should be treated as an error. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - /// OData ATOM deserializer for service document. - - - - The name of the top-level service document element. - - - The name of the 'workspace' element of a service document. - - - href attribute name in Atom. - - - The name of the 'collection' element of a service document. - - - The name of the 'categories' element of a service document. - - - The name of the 'accept' element of a service document. - - - The Atom Publishing Protocol (APP) namespace. - - - The ATOM namespace. - - - The name of the 'title' element of a service document. - - - The emtpy namespace used for attributes in no namespace. - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: XmlNodeType.Element - The start element of the service document. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a workspace of a service document. - - An representing the workspace of a service document. - - Pre-Condition: Any - the next node after the service element. - Post-Condition: Any - The next node after the workspace element. - - - - - Reads a resource collection element of a workspace of the service document. - - An representing the resource collection in a workspace of a service document. - - Pre-Condition: XmlNodeType.Element - the collection element inside the workspace. - Post-Condition: Any - The next node after the collection element. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the ATOM - publishing namespace is found. - - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Handles serialization and deserialization for types derived from Geography. - - - - - Create a geography instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geography instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Annotation which stores a hashset of property names of a complex type that returned KeepInContent == true - when written the first time. See the comments on ODataWriterBehavior.UseV1ProviderBehavior for more details. - - - - - A hash set with the property names of properties that are kept in the content. - - - - - Constructor. - - Enumeration of property names that are kept in content. - - - - Determines if a property is in a list of properties that are kept in the content. - - The name of the property to lookup. - true if the property is kept in the content; false otherwise. - - - - Atom metadata description for a text construct (plain text, html or xhtml). - - - - Converts a string to an instance. - The instance created for text. - The to convert to an . - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the kind of the text construct (plain text, html, xhtml). - The kind of the text construct. - - - Gets or sets the text content. - The text content. - - - - Enumeration for classifying the different kinds of text content in ATOM metadata. - - - - Plain text. - - - Html text. - - - XHtml text. - - - - XML reader which supports look-ahead. - - - - The "http://www.w3.org/XML/1998/namespace" namespace for the "xml" prefix. - - - The "base" name for the XML base attribute. - - - The 'lang' attribute local name of the xml:lang attribute. - - - XML namespace for data service annotations. - - - XML namespace for data services. This is to provide compatibility with WCF DS client which accepts custom data namespace value. - - - The 'error' local name of the error element. - - - The underlying XML reader this buffering reader is wrapping. - - - The (possibly empty) list of buffered nodes. - This list stores only non-attribute nodes, attributes are stored in a separate list on an element node. - - - - A special buffered node instance which represents the end of input. - We always have just one instance and compare references. - - - - Flag to control if the xml:base attributes should be processed when reading. - - - The maximumum number of recursive internalexception elements to allow when reading in-stream errors. - - - The base URI for the document. - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - A pointer into the linked list of attribute nodes which is only used if the currentBufferedNodeToReport is the attribute value node (not the attribute itself). - In that case it points to the current attribute node. - In all other cases this node is null. - - - - A pointer either into the bufferedNodes list or into the list of attributes on a buffered element node - which points to the node which should be reported to the user. - - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - Flag to control whether in-stream errors should be detected when reading. - - - The stack of XML base URI definitions. - - - The XML base stack state when the buffering started. This is only used when in buffering mode. - - - Constructor - The reader to wrap. - If this reader is wrapping an inner reader of some kind, this parameter should pass the xml:base effective value of the parent. - The base URI for the document. - Flag to control if the xml:base attributes should be processed when reading. - The maximum number of recursive internalexception elements to allow when reading in-stream errors. - XML namespace for data services. - - - - Reads the next node from the input. - - true if another node is available and the reader has moved to it; false if end of input was reached. - - - - Moves the reader to the element which owns the current attribute. - - true if the reader has moved (that is the current node was an attribute); - false if the reader didn't move (the reader was already positioned on an element or other node). - - - - Moves the reader to the first attribute of the current element. - - true if the reader moved to the first attribute; false if there are no attribute for the current node (the reader didn't move). - - - - Moves the reader to the next attribute on the current element. - - true if the reader moved to the next attribute (if the node was an element it moves to the first attribute); - false if the reader didn't move (no attributes for the current node). - - - - Reads the next node from the value of an attribute. - - true if next node was available; false if end of the attribute value was reached. - - - - Closes the reader and the underlying input. - - - - - Returns the value of an attribute based on its index. - - The index of the attribute, starts at 0. - The value of the attribute at index . - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - The value of the attribute with specified and . - - - - Returns the value of an attribute based on its name. - - The name of the attribute. (prefix:localname) - The value of the attribute with specified . - - - - Looks up a namespace URI based on the prefix. - - The prefix to search for. - The namespace URI for the specified . - - - - Moves the reader to the attribute specified by fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - true if the attribute specified by and was found and the reader is positioned on it; - false otherwise. - - - - Moves the reader to the attribute specified by name. - - The name of the attribute (prefix:localname). - true if the attribute specified by was found and the reader is positioned on it; - false otherwise. - - - - Resolves the current entity node. - - - - - Puts the reader into the state where it buffers read nodes. - - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - The actual implementatin of the Read method. Moves the reader to the next node. - - true if the reader should not check for in-stream errors; otherwise false. - true if next node is available and the reader has moved; false if end-of-input was reached. - - - - Reads the next node from the XML reader and if m:error element node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Determines if the specified node is the end of input node. - - The buffered node to test. - true if the node is the special end of input node, false otherwise. - - - - Buffers the current reader state into a node. - - The newly created buffered node. - - - - Returns the current element node (or node which acts like an element, it doesn't have to be of type Element). - - The current element node. - - - - Finds the buffered node for the attribute specified by its index. - - The index of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its local name and namespace URI. - - The local name of the attribute. - The namespace URI of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its qualified name. - - The qualified name of the attribute to find, that is prefix:localName. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - If the reader is positioned on the attribute value node, this moves it to the owning attribute node. - - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. This string must already be atomized against the reader's nametable. - The namespace URI of the attribute. This string must already be atomized against the reader's nametable. - The value of the attribute with specified and . - - Behaves the same as GetAttribute, but it assumes that the parameters are already atomized against our nametable. - This allows the method to be much faster. - - - - - Validates internal state of the reader - debug only. - - - - - Returns the type of the current node. - - - - - Returns true if the reader is positioned on an empty element. - - - - - Returns the local name of the current node. - - - - - Returns the prefix of the current node. - - - - - Returns the namespace URI of the current node. - - - - - Returns the value of the current node. - - - - - Returns the depth of the current node. - - - - - Returns true if the end of input was reached. - - - - - Returns the current state of the reader. - - We need to support ReadState in order for Skip to work without us implementing it again. - - - - Returns the nametable used by the reader. - - - - - Returns the number of attributes on the node. - - - - - Returns the base URI of the node - note that this is not based on the xml:base attribute, just the input streams. - - - - - Returns true if the current node has a value. - - - - - The active XML base URI for the current node. - - - - - The active XML base URI for the parent node (parent element) of the current node. - - - - - Flag to control whether in-stream errors should be detected when reading. - - - - - Class representing one buffered XML node - - - - - The list of attribute nodes, if this node is an element node. - - - - - Constructor. - - The XML reader to get all the interesting values from. The reader - is positioned on the node which the new buffered node should buffer. - - - - Constructor for an attribute value node - - The value of the attribute value node to create. - The parent attribute depth. - The nametable to use. - - - - Constructor for end of input node. - - The atomized instance of an empty string. - - - - Creates a special node which represents the end of input. - - The nametable of the underlying reader. - The newly created node. - - - The type of the buffered node. - - - The namespace URI of the buffered node. - - - The local name of the buffered node. - - - The prefix of the buffered node. - - - The value of the buffered node. - - - The depth of the buffered node. - - - Denotes if the buffered node is an empty element. - - - List of attributes. If the node is not element, this will be null. - - - - Helper class to store XML base URI definition for a specific depth of the reader. - - - - - Constructor. - - The XML base URI for the definition. - The depth of the XML reader for the definition. - - - The base URI for this definition. - - - The depth of the XmlReader on which this XML base is defined. - - - - Atom metadata for stream reference values. - - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - - OData collection reader for ATOM format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type reference for the items in the collection. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the collection element node or the empty collection element node. - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the collection element or the empty collection element node. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the end tag of the item. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: Any - the next node after the end tag of the collection element. - Post-Condtion: XmlNodeType.None - the reader is at the end of the input. - - - - - Implementation of the OData input for ATOM OData format. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - If entry XML customization is used this is the reader for the current entry. - - - A stack used to track XML customization readers. - - At the beginning the base reader is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the reader returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomReader, other readers don't use this. - - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The or producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - Initializes the ability to use customization readers. - - - This needs to be called before any of the reader customization functionality is used. - - - - - Pushes a reader on the top of the customization stack. - - The reader to push. - The xml:base URI to use as the base uri for all of the payload read from that reader. - - - - Pops a reader from the top of the customization stack. - - The popped reader, the one which was on the top of the stack before the operation. - - - - Disposes the input context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - This methods creates and reads a service document from the input and returns - an representing the service document. - - An representing the service document. - - - - Read a top-level error. - - An representing the read error. - - - - Reads top-level entity reference links. - - An representing the read entity reference link. - - - - Reads a top-level entity reference link. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - Helper methods used by the OData reader for the ATOM format. - - - - - Creates an Xml reader over the specified stream with the provided settings. - - The stream to create the XmlReader over. - The encoding to use to read the input. - The OData message reader settings used to control the settings of the Xml reader. - An instance configured with the provided settings. - - - - Parses the value of the m:null attribute and returns a boolean. - - The string value of the m:null attribute. - true if the value denotes that the element should be null; false otherwise. - - - - Creates a new XmlReaderSettings instance using the encoding. - - Configuration settings of the OData reader. - The Xml reader settings to use for this reader. - - - - OData reader for the ATOM format. - - - - The input to read the payload from. - - - The deserializer to use to read input. - - - Stack of entry and feed deserializers, we need to create a new one for each XML customization - so that the strings get atomized again and so that we can return to the original one without reatomizing everything. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading top-level entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the top-level entry (if there were no nav. links. in it). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the top-level entry. - XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry). - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry - The start tag of the first entry element to read. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry (empty) - The empty start tag of the first entry in the feed. - XmlNodeType.EndElement atom:entry - The end tag of the first entry in the feed (if it had no nav. links). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the first entry in the feed. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The empty start tag of atom:feed - XmlNodeType.EndElement atom:feed - The end element of the atom:feed - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: Any - The node right after the top-level atom:feed element - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end element of the atom:entry. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: Any - The node right after the top-level atom:entry element. - XmlNodeType.EndElement atom:feed - The end element of the parent feed for the entry. - XmlNodeType.Element (empty) atom:entry - The empty start tag of the next entry in the parent feed. - XmlNodeType.EndElement atom:entry - The end element of the next entry in the parent feed (if it had no nav. links). - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the next entry in the parent feed. - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - the atom:link element representing the navigation link. - Post-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link of a deferred navigation link. - XmlNodeType.Element atom:entry - the atom:entry element of the expanded entry. - XmlNodeType.Element atom:feed - the atom:feed element of the expanded feed. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: XmlNodeType.EndElement atom:entry - the end element atom:entry of the parent entry if there are no more navigation links. - XmlNodeType.Element atom:link - the atom:link element of the next navigation link of the parent entry. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of an entity reference link. - XmlNodeType.EndElement atom:link - the end element atom:link of the entity reference link. - Post-Condition: Unchanged - the reader doesn't change its position. - - - - - Reads the start of a feed and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:feed. - Post-Condition: XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry) - - - - - Reads the start of an entry and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:entry. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the entry (if there were no nav. links. in it) - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the entry. - - - - - End the entry. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link descriptor for the navigation link to start. - - - - Moves the reader from the start state of a non-expanded navigation link. - - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Replaces the current scope with a new FeedEnd scope and the item of the current scope. - - - - - Returns the current entry state. - - - - - Returns the current feed state. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property have null value, we don't know for sure yet (both are possible), it it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - Bitfield to track the current state of the ATOM scope. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The ATOM feed metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The cache for values read from custom EPM. - - - This is lazily initialized only when it's actually needed. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Sets the bit identified by the if is true, otherwise clears it. - - Indicates if the should be set - Identifies the bit to set in atomScopeState - - - - Returns true if the bit identified by is set, false otherwise. - - Identifies the bit to set in atomScopeState - True if the bit identified by the is set, false otherwise - - - - Flag which indicates that the element representing the current state is empty. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - trye if the EpmCustomReaderValueCache has been initialized; false otherwise. - - - - - true if the AtomEntryMetadata has been initialized; false otherwise. - - - - - The navigation property retrieved from the metadata when reading a navigation link. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element for this entry. - - - - - Flag which indicates whether we have found a content element for this entry. - - - - - Flag which indicates whether we have found a category element for this entry. - - - - - Flag which indicates whether we have found a m:properties element for this entry. - - - - - Flag which indicates whether we have found a m:count elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='next'] elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='self'] elemnent for this feed. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - The feed metadata to fill as we read the content of a feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No state information. - - - Empty element. - - - A read link has been detected for this entry. - - - An edit link has been detected for this entry. - - - An id link has been detected for this entry. - - - A content element has been detected for this entry. - - - A category element which has the required type name has been detected for this entry. - - - A m:properties element has been detected for this entry. - - - A m:count link has been detected for this feed. - - - A link[@rel='next'] link has been detected for this feed. - - - A link[@rel='self'] link has been detected for this feed. - - - An edit-media link has been detected for this entry. - - - A link[@rel='http://docs.oasis-open.org/odata/ns/delta'] has been detected for this entry. - - - - Extension methods for the XML reader. - - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: Any - the node after the element. - - This method is similar to ReadElementContentAsString with one difference: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - - - - Reads the value of the first text, CDATA or significant whitespace node. - - The reader to read from. - The value of the first text, CDATA or significant whitespace node. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - This method is similar to ReadElementContentAsString with two differences: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - It leaves the reader positioned on the EndElement node (or the start node if it was empty). - - - - - Reads from the XML reader skipping insignificant nodes. - - The XML reader to read from. - Do not use MoveToContent since for backward compatibility reasons we skip over nodes reported as Text which have - whitespace only content (even though the XmlReader should report those as Whitespace). - - - - Skips the content of the element and leaves the reader on the end element (or empty start element) - - The reader to read from. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - - - - - Reads from the input until the first element is found. - - The XML reader to read from. - - Pre-Condition: XmlNodeType.None - the reader hasn't been used yet. - Post-Condition: XmlNodeType.Element - the reader is positioned on the root/first element. - Note that the method will fail if the top-level contains any significant node other than the root element - or if no root element is found. - - - - - Reads till the end of the input payload. - - The XML reader to read from. - - Pre-Condition: any - the reader will verify that only insignificant node is present. - Post-Condition: XmlNodeType.None - the reader is at the end of the input. - - - - - Determines if the current node's namespace equals to the specified - - The XML reader to get the current node from. - The namespace URI to compare, this must be a string already atomized in the name table. - true if the current node is in the specified namespace; false otherwise. - - - - Determines if the current node's local name equals to the specified - - The XML reader to get the current node from. - The local name to compare, this must be a string already atomized in the name table. - true if the current node has the specified local name; false otherwise. - - - - Tries to read the current element as an empty element (no or empty content). - - The XML reader to read from. - true if the reader was on an empty element; false otherwise. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - any other - the first child node of the element, in this case the method returns false. - - - - - Reads to the next element encountered in an Xml payload. - - The to read from. - true if the method reached the next element; otherwise false. - - - - Checks whether the specifies string is null or blank. - - Text to check. - true if text is null, empty, or all whitespace characters. - - - - Helper class to verify that no duplicate properties are specified for entries and complex values. - - - - Special value for the property annotations which is used to mark the annotations as processed. - - - true if duplicate properties are allowed; otherwise false. - - See the comment on ODataWriterBehavior.AllowDuplicatePropertyNames or - ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - - - true if we're processing a response; false if it's a request. - - - - A cache of property names to detect duplicate property names. The value stored - for a given property name indicates what should happen if another property with the same name is found. - See the comments on for more details. - - - - - Constructor. - - true if duplicate properties are allowed; otherwise false. - true if we're processing a response; false if it's a request. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The property to be checked. - - - - Checks the for duplicate property names in an entry when the navigation link - has started but we don't know yet if it's expanded or not. - - The navigation link to be checked. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - The association link with the same name if there already was one. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The association link to be checked. - The navigation link with the same name as the association link if there's one. - - - - Clear the internal data structures of the checker so it can be reused. - - - - - Adds an OData annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - The valud of the annotation to add. - - - - Adds a custom annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - - - - Returns OData annotations for the specified property with name . - - The name of the property to return the annotations for. - Enumeration of pairs of OData annotation name and and the annotation value, or null if there are no OData annotations for the property. - - - - Marks the property to note that all its annotations were already processed. - - The property name to mark. - - Properties marked like this will fail if there are more annotations found for them in the payload. - - - - - Returns the names of all properties which have not been marked as processed through . - - A set of property names. - - - - Throw if property is processed already. - - Name of the property. - DuplicationRecord of the property. - - - - Indicates whether a property's annotations have not yet been processed. - - The name of the property to check. - true if the property associated with the given name has unprocessed annotations. - - - - Decides whether a the given supports duplicates (if allowed by the settings). - - The property to check. - true if the supports duplicates (if allowed by the settings); otherwise false. - - - - Determines the effective value for the isCollection flag. - - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - The effective value of the isCollection flag. Note that we can't rely on singleton links which are not expanded since - those can appear even in cases where the actual navigation property is a collection. - We allow singleton deferred links for collection properties in requests, as that is one way of expressing a bind operation. - - - - Sets the properties on a duplication record for a navigation link. - - The duplication record to modify. - The navigation link found for this property. - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - - - - Tries to get an existing duplication record for the specified . - - The property name to look for. - The existing duplication if one was already found. - true if a duplication record already exists, false otherwise. - This method also initializes the cache if it was not initialized yet. - - - - Checks for duplication of a navigation link against an existing duplication record. - - The name of the navigation link. - The existing duplication record. - This only performs checks possible without the knowledge of whether the link was expanded or not. - - - - Gets a duplication record to use for adding property annotation. - - The name of the property to get the duplication record for. - The name of the annotation being added (only for error reporting). - The duplication record to use. This will never be null. - - - - An enumeration to represent the duplication kind of a given property name. - - - This enumeration is used to determine what should happen if two properties with the same name are detected on an entry or complex value. - When the first property is found, the initial value is set based on the kind of property found and the general setting to allow or disallow duplicate properties. - When a second property with the same name is found, the duplication kind can be 'upgraded' (e.g., from association link to navigation property), 'ignored' (e.g. - when finding the association link for an existing navigation property or when duplicate properties are allowed by the settings) or 'fail' - (e.g., when duplicate properties are not allowed). - - - - We don't know enough about the property to determine its duplication kind yet, we've just seen a property annotation for it. - - - Duplicates for this property name are not allowed. - - - This kind indicates that duplicates are allowed (if the settings allow duplicates). - - - A navigation link or association link was reported. - - - - A record of a single property for duplicate property names checking. - - - - - Constructor. - - The duplication kind of the record to create. - - - - The duplication kind of the record to create. - - - - - The navigation link if it was already found for this property. - - - - - The association link if it was already found for this property. - - - - - true if we know for sure that the navigation property with the property name is a collection, - false if we know for sure that the navigation property with the property name is a singleton, - null if we don't know the cardinality of the navigation property for sure (yet). - - - - - Dictionary of OData annotations for the property for which the duplication record is stored. - - - The key of the dictionary is the fully qualified annotation name (i.e. odata.type), - the value is the parsed value of the annotation (this is annotation specific). - - - - - Hashset of custom annotations for the property for which the duplication record is stored. - - - This is just a hashset for now since we don't read custom annotations, we just need to check for duplicates. - - - - - Utility methods serializing the xml error payload - - - - Default language for error messages if not specified. - - This constant is included here since this file is compiled into WCF DS Server as well - so we can't compile in the ODataConstants. - - - - - Extracts error details from an . - - The ODataError instance to extract the error details from. - A data service-defined string which serves as a substatus to the HTTP response code. - A human readable message describing the error. - The language identifier representing the language the error message is in. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write an error message. - - The Xml writer to write to. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - The maximumum number of nested inner errors to allow. - - - - Writes the inner exception information in debug mode. - - The Xml writer to write to. - The inner error to write. - The local name of the element representing the inner error. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - OData JSON deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JSON input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: JsonNodeType.StartArray: for a V1 collection - JsonNodeType.StartObject: for a >=V2 collection - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level properties if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: V1 collection - EndObject V1 collection in response - EndObject wrapped collection with no extra properties after the 'results' property - Property wrapped collection with extra properties after the 'results' property - - - - - OData JSON deserializer for entity reference links. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Reads the properties of an entity reference link. - - The instance to set the read property values on. - The bit field with all the properties already read. - true if the method found the 'results' property; otherwise false. - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: any node - This method will throw if the node type is not a StartObject node - Post-Condition: any node - - - - - OData Verbose JSON deserializer for entries and feeds. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Reads the start of a feed; this includes feed-level properties if the version permits it. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.StartArray: for a feed without 'results' wrapper - JsonNodeType.StartObject: for a feed wrapped with 'results' wrapper - Post-Condition: Any start node The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of a feed; this includes feed-level properties if the version permits them. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.EndArray if the feed is not wrapped - JsonNodeType.EndObject if the feed is wrapped - - - - - Reads the start of an entry (non-null) - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.Property The first property of the entry - JsonNodeType.EndObject The end of the property object - - - - - Reads the entry metadata property. - - The state of the reader for entry to read. - - This method does not move the reader. - Pre-Condition: JsonNodeType.Object The start object of the __metadata property value. - Post-Condition: JsonNodeType.EndObject The end object of the __metadtaa property value. - - - - - Validates entry metadata properties against the model. - - The state of the reader for entry to read. - - This method must be called only after the ReadEntryMetadata was already called. - It should be called always, regardless of whether the __metadata property was found ot not. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - If a navigation link was found this parameter will hold the navigation property for that link, otherwise it's null. - A instance representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or feed with 'results' wrapper inside expanded link) - JsonNodeType.StartArray feed without 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Reads the Url of a non-expanded link and moves the reader forward to the position after the link. - - The navigation link to set the Url on. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the deferred link - Post-Condition: JsonNodeType.Property: the next property after the deferred link - JsonNodeType.EndObject the end of the owning entry if the deferred link is the last property - - - - - Reads the entity reference link and moves the reader forward to the position after the link. - - The entity reference link read from the payload. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the entity reference link - Post-Condition: JsonNodeType.Property: the next property after the entity reference link - JsonNodeType.EndObject: the end of the owning entry if the entity reference link is the last property - JsonNodeType.EndArray: the end of the owning array (if the entity reference link is part of expanded feed) - Any: the next item in the owning array (if the entity reference link is part of expanded feed) - - - - - Analyzes the current navigation property node to determine whether it represents a deferred link. - - true if we already detected a navigation link and now determine its kind; false if we are detecting a deferred navigation link. - true if the current navigation property represents a deferred link; false for an expanded navigation link. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Analyzes the current node to determine whether it represents an entity reference link. - - true if the current node represents an entity reference link; false is it's an entry or something else. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Read a feed-level property (e.g., __count, __next, etc.) and check its version compliance. - This method fails on properties that are not recognized as feed-level properties. - - The instance to fill with the data read. - The name of the property being read. - true if the feed is inside an expanded link. - - Pre-Condition: The reader is on the first node of the feed-level property's value. - Post-Condition: JsonNodeType.Property: the next feed property to read or - JsonNodeType.EndObject: the end of the results wrapper - - - - - Read an entry-level property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value. - - The value of the stream property. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the stream reference (after the EndObject) - - - - - Reads the uri property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'uri' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the id property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'id' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the etag property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_src property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_src' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the edit_media property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'edit_media' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the content_type property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'content_type' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_etag property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the actions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'actions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the functions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'functions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Read the property metadata for the properties of an entry being read. - - The entry state for the current reader. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'properties' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - This method will not validate anything against the model because it will read the type name and thus it can't rely - on knowing the actual type of the entry being read. - - - - - Read the 'actions' or 'functions' metadata for the entry being read. - - The the 'actions' or 'functions' metadata is read for. - When True the 'actions' metadata is being read, otherwise 'functions' metadata is being read. - - Pre-Condition: first node of the 'actions' or 'functions' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the stream reference metadata from the value of the __mediaresource property. - - The value of the stream reference with the metadata properties filled. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: Either a property node or an EndObject node. - - - - - Tries to resolve the payload URI using the custom URI resolver. If the custom resolver fails, it returns the actual URI from the payload. - - the URI to be resolved. - A resolved URI or the URI from the payload, if the custom resolver fails. - - - - Validates that the value of a JSON property can represent navigation link. - - true if the property is entity set reference property; false for a resource reference property. - - - - Determines whether a property of an entry should be skipped during reading. - - true if the current property should be skipped; otherwise false. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData Verbose JSON deserializer for errors. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a top-level error. - - An representing the read error. - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: any - will throw if not StartObject - Post-Condition: JsonNodeType.Property - The next property in the error value - JsonNodeType.EndObject - The end of the error value - - - - - Implementation of the OData input for Verbose JSON OData format. - - - - The text reader created for the input stream. - - The ODataJsonInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The reader to read data from. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - OData JSON deserializer for service documents. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Class representing implementation specific debugging information to help determine the cause of the error. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class with exception object. - The used to create the inner error. - - - Gets or sets the error message. - The error message. - - - Gets or sets the type name of this error, for example, the type name of an exception. - The type name of this error. - - - Gets or sets the stack trace for this error. - The stack trace for this error. - - - Gets or sets the nested implementation specific debugging information. - The nested implementation specific debugging information. - - - - OData representation of a top-level collection. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the name of the collection (ATOM only). - The name of the collection. - - - - Provides additional serialization information to the for this . - - - - - OData collection reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Set to true if collections are expected to have the 'results' wrapper. - Collections are only expected to have a results wrapper if - (a) the protocol version is >= 2 AND - (b) we are reading a response - NOTE: OIPI does not specify a format for >= v2 collections in requests; we thus use the v1 format and consequently do not expect a result wrapper. - - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state, the Item property of the returns null. - - - - The reader has started reading and is reading the start element of the collection wrapper (if any). - No items have been read. - - - In this state, the Item property of the returns - an instance of . - - - - - The reader read an item from the collection. - - In this state, the Item property of the returns the read item (a primitive value, an ODataComplexValue or null). - - - - The reader has finished reading and is reading the end element of the collection wrapper (if any). - All items have been read. - - - In this state, the Item property of the returns the same - instance of as in state CollectionStart. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state, the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state, the Item property of the returns null. - - - - - Exception type representing an in-stream error parsed when reading a payload. - - - - The value containing instance representing the error - read from the payload. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an object. - The instance representing the error read from the payload. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message and an object. - The plain text error message for this exception. - The instance representing the error read from the payload. - - - Creates a new instance of the class with an error message, an inner exception, and an object. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - The instance representing the error read from the payload. - - - Gets the instance representing the error read from the payload. - The instance representing the error read from the payload. - - - - Implement the ISafeSerializationData interface to contain custom exception data in a partially trusted assembly. - Use this interface in post-ORCAS to replace the Exception.GetObjectData method, which is marked with the SecurityCriticalAttribute. - - - - - This method is called when deserialization of the exception is complete. - - The exception object. - - - - Gets or sets the object. - - - - - Implementation of the OData input for RAW OData format (raw value and batch). - - - - Use a buffer size of 4k that is read from the stream at a time. - - - The to read. - - - The encoding to use to read from the batch stream. - - - The input stream to read the data from. - - - The text reader to read non-binary values from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - The to read. - - - - Create a . - - The batch boundary to use. - The newly created . - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Disposes the input context. - - - - - Create a . - - The batch boundary to use. - If the reader should be created for synchronous or asynchronous API. - The newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Read the binary value from the stream. - - A byte array containing all the data read. - - - - Reads the content of a text reader as string and, if is specified and primitive type conversion - is enabled, converts the string to the expected type. - - The expected type of the value being read or null if no type conversion should be performed. - The raw value that was read from the text reader either as string or converted to the provided . - - - - The stream of the raw input context. - - - - - Handles serialization and deserialization for a specified set of primitive types. - - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Set of type converters that implement their own conversion using IPrimitiveTypeConverter. - - - Set of type converters that are known to this instance which convert values based on the ISpatial type. - - - - Create a new instance of the converter. - - Set of type converters to register for the ISpatial based values. - - - - Try to create an object of type from the value in . - - XmlReader to use to read the value. - Expected type of the value in the reader. - Object of type , null if no object could be created. - True if the value was converted to the specified type, otherwise false. - - - - Try to write the XML representation of to the specified - - Object to convert to XML representation. - XmlWriter to use to write the converted value. - True if the value was written, otherwise false. - - - - Try to write the Verbose JSON representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - Type name of the instance. If the type name is null, the type name is not written. - The OData protocol version to be used for writing payloads. - - - - Try to write the JSON Lite representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - The OData protocol version to be used for writing payloads. - - - - Tries to write the value of object instance using a registered primitive type converter. - - Object to write. - Method to use when writing the value, if a registered converter is found for the type. - True if the value was written using a registered primitive type converter, otherwise false. - - - - Get the primitive type converter for the given type. - - Clr type whose primitive type converter needs to be returned. - Converter for the given clr type. - True if a converter was found for the given type, otherwise returns false. - - - PrimitiveConverter instance for use by the Atom and Json readers and writers. - - - - Annotation which stores a list of projected properties for an entry. - - - - The special '*' segment indicating that all properties are selected. - - - - Cached projected properties annotation with no properties projected. - - - - - Cached projected properties annotation with all properties projected. - - - - - A hash set with the projected property names. - - - - Initializes a new instance of the class. - The enumeration of projected property names. - - - - Constructor. - - - - - Determines if a property is in a list of projected properties. - - The name of the property to lookup. - true if the property is projected; false otherwise. - Note that we allow null and empty property names here for the lookup just so that - we don't have to validate before we skip them. If we would not skip them, the writing would fail later on anyway. - - - - Adds the specified property name to the set of projected properties (if it is not already included). - - The name of the property to include in the set of projected properties. - - - - Removes the specified property name from the set of projected properties. - - The name of the property to remove from the set of projected properties. - - - - Projected properties annotation with no properties projected. - - - - - Projected properties annotation with all properties projected. - - - - - The set of projected property names. - - - - - Class with utility methods for reading OData content. - - - - - Creates a new instance to return to the user. - - The newly created entry. - The method populates the Properties property with an empty read only enumeration. - - - Checks for duplicate navigation links and if there already is an association link with the same name - sets the association link URL on the navigation link. - The duplicate property names checker for the current scope. - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - - - Checks that for duplicate association links and if there already is a navigation link with the same name - sets the association link URL on that navigation link. - The duplicate property names checker for the current scope. - The association link to be checked. - - - - Adds an association link to an entry. - - The entry to get or create the association link for. - The navigation property to get or create the association link for. - The association link that we either retrieved or created for the . - - - - Returns true if the specified is set in the . - - The value of the setting to test. - The flag to test. - true if the flas is present, flase otherwise. - - - - Gets the expected property name from the specified property or function import. - - The to get the expected property name for (or null if none is specified). - The expected name of the property to be read from the payload. - - - - Class with utility methods for validating OData content when reading. - - - - - Validates that message reader settings are correct. - - The message reader settings to validate. - true if the settings were specified when reading a response, false when reading a request. - - - - Validates an entity reference link. - - The entity reference link to check. - - - - Validates a stream reference property. - - The stream property to check. - The owning type of the stream property or null if no metadata is available. - The stream property defined by the model. - The message reader settings being used. - - - - Validate a null value. - - The used to read the payload. - The expected type of the null value. - The message reader settings. - true to validate the the null value; false to only check whether the type is supported. - The version used to read the payload. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Validates an to ensure all required information is specified and valid. - - The entry to validate. - - - - Finds a defined property from the model if one is available. - The structured type can be null if no metadata is available. - - The name of the property to find. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - true if the property should be completely ignored and not parsed/reported, in this case the return value is null. - false if the property should be parsed and reported as usual. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that the expected property name matches the property name read from the payload. - - The expected property name. - The property name read from the payload. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The message reader settings being used. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Creates an exception used when primitive type conversion fails. - - The target type reference to which the conversion failed. - Possible inner exception with more information about the failure. - The exception object to throw. - - - - Resolved the payload type name to the type. - - The model to use for the resolution. - The expected type reference, or null if no expected type is available. - The payload type name to resolve. - The default payload type kind, this is used when the resolution is not possible, - but the type name is not empty. (Should be either Complex or Entity). - Reader behavior to use for compatibility. - The version of the payload being read. - This is set to the detected payload type kind, or None if the type was not specified. - The resolved type. This may be null if either no user-specified model is specified, or the type name is not recognized by the model. - The method detects the payload kind even if the model does not recognize the type. It figures out primitive and collection types always, - and uses the for the rest. - - - - Resolves and validates the payload type against the expected type and returns the target type. - - The expected type kind for the value. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The expected type reference, or null if no expected type is available. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - A func to compute the type kind from the payload shape if it could not be determined from the expected type or the payload type. - The target type kind to be used to read the payload. - Potentially non-null instance of an annotation to put on the value reported from the reader. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Resolves the primitive payload type versus the expected type and validates that such combination is allowed. - - The expected type reference, if any. - The kind of the payload type, or None if the detection was not possible. - The resolved payload type, or null if no payload type was specified. - The name of the payload type, or null if no payload type was specified. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The model to use. - The message reader settings to use. - The version of the payload being read. - The target type reference to use for parsing the value. This method never returns null. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type kind, this may be the one from the type itself, or one detected without resolving the type. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Validates that the specified encoding is supported in batch/changeset envelopes (headers, boundaries, preamble, etc.). - - The to check. - - - - Validates whether the specified type reference is supported in the current version. - - The type reference to check. - The version currently used. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - entity set and entity type when reading a feed or entry payload. This method updates - the if the metadata URI specifies more derived information. - - The parse result of the metadata URI from the payload. - The top-level scope representing the reader state. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - navigation property. - - The parse result of the metadata URI from the payload. - The expected navigation property. - This method is used to validate metadata URIs for both singleton entity reference links - and collections of entity reference links. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - collection item type when reading collection payloads. - - The parse result of the metadata URI from the payload. - The expected item type of the collection items. - The actual item type of the collection items. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - The header for the operation, either 'actions' or 'functions'. - - - - Resolves the payload type if there's no expected type. - - The expected type kind for the value. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when the strict validation is disabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when strict validation is enabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Verifies that payload type is defined if the payload type name is present. - - The type name from the payload. - The resolved type from the model. - - - - Verifies that complex type is valid against the expected type. - - The expected type reference. - The payload type. - true if the method should fail if the doesn't match the ; - false if the method should just return in that case. - - The method verifies that the is not a derived complex type of the - and always fails in that case. - - - - - Verifies that in case of collection types, the item type is valid. - - The expected type reference. - The payload type. - - This method verifies that item type is not a derived complex type, we want to explicitly disallow that case for possible future enablement. - - - - - Conditionally creates the annotation to put on the read value in order to retain the type name from the payload. - - The payload type name. - The type reference into which we're going to parse. - The annotation to report to the reader for adding on the read value. - - - - Computes the type kind to be used to read the payload from the expected type, the payload type and - possibly the payload shape. - - The expected type reference used to read the payload value. - true when resolving a type name for an entity value; false for a non-entity value. - The type name read from the payload. - The type kind of the payload value. - The message reader settings. - A func to determine the type kind of the value by analyzing the payload data. - The type kind to be used to read the payload. - - - - Gets the expected type kind based on the given , or EdmTypeKind.None if no specific type should be expected. - - The expected type reference. - The message reader settings. - The expected type kind based on the settings and type reference, or EdmTypeKind.None if no specific type should be expected. - - - - Determines if the expect value type and the current settings mandate us to validate type kinds of payload values. - - The message reader settings. - The expected type reference for the value infered from the model. - The type kind of the payload value. - true if the payload value kind must be verified, false otherwise. - This method deals with the strict versus lax behavior, as well as with the behavior when primitive type conversion is disabled. - - - - Validates that the specified allows null values. - - The expected type for the value, or null if no such type is available. - true to validate the null value; otherwise false. - The model to use to get the data service version. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Create and throw exception that a null value was found when the expected type is non-nullable. - - The expected type for this value. - The name of the property whose value is being read, if applicable. - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Implementation of IEnumerable>T< which is based on a List>T< - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of a single item in the enumeration. - - - - The IEnumerable to wrap. - - - - - The empty instance of ReadOnlyEnumerableOfT. - - - - - Constructor which initializes the enumerable with an empty list storage. - - - - - Constructor. - - The list of values to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Gets the empty instance of ReadOnlyEnumerableOfT. - - Returns the empty instance of ReadOnlyEnumerableOfT. - - - - This internal method adds to the wrapped source list. From the public's perspective, this enumerable is still readonly. - - Item to add to the source list. - - - - Annotation which stores the type name to serialize. - - - This annotation will be recognized on ODataEntry, ODataComplexValue, ODataCollectionValue and ODataPrimitiveValue. - - - - Gets or sets the type name to serialize, for the annotated item. - The type name to serialize, for the annotated item. - - If this property is null, no type name will be written. - If this property is non-null, the property value will be used as the type name written to the payload. - If this annotation is present, it always overrides the type name specified on the annotated item. - If this annotation is not present, the value of the TypeName property on the ODataEntry, ODataComplexValue or ODataCollectionValue - is used as the type name in the payload. - - - - - Uri utility methods. - - - - - Returns the unescaped string representation of the Uri; if the Uri is absolute returns the absolute Uri otherwise the original string. - - The Uri to convert to a string. - For absolute Uris the string representation of the absolute Uri; otherwise the Uri's original string. - - - - Class with utility methods for validating OData content when writing. - - - - - Validates that message writer settings are correct. - - The message writer settings to validate. - True if we are writing a response. - - - - Validates an for not being null. - - The property to validate for not being null. - - - - Validates a property name to ensure all required information is specified. - - The property name to validate.. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Validates an entry in an expanded link to make sure the entity types match. - - The of the entry. - The type of the parent navigation property. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - The version of the OData protocol used for checking. - true if we are writing a response; otherwise false. - - - - Validates that an can be written. - - The operation (an action or a function) to validate. - true if writing a response; otherwise false. - - - - Validates an to ensure all required information is specified and valid on the WriteEnd call. - - The feed to validate. - Flag indicating whether the feed is written as part of a request or a response. - The version of the OData protocol used for checking. - - - - Validates an to ensure all required information is specified and valid on WriteStart call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid on WriteEnd call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid. - - The stream reference to validate. - true if is the default stream for an entity; false if it is a named stream property value. - - - - Validates a named stream property to ensure it's not null and it's name if correct. - - The stream reference property to validate. - Property metadata to validate against. - The version of the OData protocol used for checking. - true when writing a response; otherwise false. - This does NOT validate the value of the stream property, just the property itself. - - - - Validates that the specified is not null. - - The entity reference link to validate. - This should be called only for entity reference links inside the ODataEntityReferenceLinks.Links collection. - - - - Validates an entity reference link instance. - - The entity reference link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The navigation link to validate. - The declaring the navigation property; or null if metadata is not available. - The of the expanded content of this navigation link or null for deferred links. - The type of the navigation property for this navigation link; or null if no was specified. - - - - Validates that the specified navigation link has a Url. - - The navigation link to validate. - - - - Validates that the sepcified navigation link has cardinality, that is it has the IsCollection value set. - - The navigation link to validate. - - - - Validates that the expected property allows null value. - - The expected property type or null if we don't have any. - The name of the property. - The instance controlling the behavior of the writer. - The model to use to get the data service version. - - - - Validates the value of the Id property on an entry. - - The id value for an entry to validate. - - - - Extension methods for the JSON reader. - - - - - Reads the next node from the and verifies that it is a StartObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an StartArray node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndArray node. - - The to read from. - - - - Verifies that the current node is a property node and returns the property name. - - The to read from. - The property name of the current property node. - - - - Reads the next node from the , verifies that it is a Property node and returns the property name. - - The to read from. - The property name of the property node read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node. - - The to read from. - The primitive value read from the reader. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The name of the property for which to read the string; used in error messages only. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type double. - - The to read from. - The double value read from the reader; throws an exception if no double value could be read. - - - - Skips over a JSON value (primitive, object or array). - - The to read from. - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Reads the next node. Use this instead of the direct call to Read since this asserts that there actually is a next node. - - The to read from. - The node type of the node that reader is positioned on after reading. - - - - Determines if the reader is on a value node. - - The reader to inspect. - true if the reader is on PrimitiveValue, StartObject or StartArray node, false otherwise. - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Creates an exception instance that is appropriate for the current library being built. - Allows the code in this class to be shared between ODataLib and the common spatial library. - - String to use for the exception messag. - Exception to be thrown. - - - - Reads the next node from the and verifies that it is of the expected node type. - - The to read from. - The expected of the read node. - - - - Validates that the reader is positioned on the specified node type. - - The to use. - The expected node type. - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state the Item property of the returns null. - - - The start of a feed has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the FeedEnd state is reached. - - - - The end of a feed has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of an entry has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the EntryEnd state is reached. - - - - The end of an entry has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of a navigation link has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the LinkEnd state is reached. - - - - The end of a navigation link has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - An entity reference link was read. - - In this state the Item property of the returns - an which is fully populated. - Note that there's no End state for this item. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state the Item property of the returns null. - - - - - Class for reading OData batch messages; also verifies the proper sequence of read calls on the reader. - - - - - An interface that allows creators of a to listen for status changes - of the operation stream. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - A task representing any async operation that is running in reaction to the - status change (or null if no such action is required). - - - - - This method notifies the implementer of this interface that the content stream of a batch operation has been disposed. - - - - The input context to read the content from. - - - The batch stream used by the batch reader to devide a batch payload into parts. - - - True if the writer was created for synchronous operation; false for asynchronous. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The current state of the batch reader. - - - The current size of the batch message, i.e., how many query operations and changesets have been read. - - - The current size of the active changeset, i.e., how many operations have been read for the changeset. - - - An enumeration tracking the state of the current batch operation. - - - The value of the content ID header of the current part. - - The content ID header of the current part should only be visible to subsequent parts - so we can only add it to the URL resolver once we are done with the current part. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - true if the reader is created for synchronous operation; false for asynchronous. - - - Reads the next part from the batch message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next part from the batch message payload. - A task that when completed indicates whether more items were read. - - - Returns an for reading the content of a batch operation. - A request message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a request message for reading the content of a batch operation. - - - Returns an for reading the content of a batch operation. - A response message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a response message for reading the content of a batch operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the reader; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - Returns the next state of the batch reader after an end boundary has been found. - - The next state of the batch reader. - - - - Reads the next part from the batch message payload. - - true if more information was read; otherwise false. - - - - Asynchronously reads the next part from the batch message payload. - - A task that when completed indicates whether more information was read. - - - - Continues reading from the batch message payload. - - true if more items were read; otherwise false. - - - - Skips all data in the stream until the next part is detected; then reads the part's request/response line and headers. - - The next state of the batch reader after skipping to the next part and reading the part's beginning. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Parses the request line of a batch operation request. - - The request line as a string. - The parsed HTTP method of the request. - The parsed of the request. - - - - Parses the response line of a batch operation response. - - The response line as a string. - The parsed status code from the response line. - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling CreateOperationResponseMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Validates that the batch reader is ready to process a new read or create message request. - - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - - Sets the 'Exception' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state Exception and then rethrow the exception. - - The type of the result returned from the . - The action to execute. - The result of the . - - - Gets the current state of the batch reader. - The current state of the batch reader. - - - - An enumeration to track the state of a batch operation. - - - - No action has been performed on the operation. - - - The batch message for the operation has been created and returned to the caller. - - - The stream of the batch operation message has been requested. - - - The stream of the batch operation message has been disposed. - - - - Configuration settings for OData message readers. - - - - - A instance representing any knobs that control the behavior of the readers - inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class. - The other message reader settings. - - - Sets the atom entry XML customization callback. - The atom entry XML customization callback. - - This method only affects ATOM format payloads. For payloads of other formats this method has no effect. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true to use V1 provider; otherwise, false. - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - Callback to determine whether operations bound to a particular entity type must be qualified with a container name when appearing in a $select clause. - - - - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - - Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. - The base URI. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the model or provided as an expected type. Note that values will still be converted to the type specified in the payload itself. - true if primitive values and report values are not converted; false if all primitive values are converted to the type specified in the model or provided as an expected type. The default value is false. - - - Gets or sets the behavior the reader should use when it finds undeclared property. - The behavior the reader should use when it finds undeclared property. - - This setting has no effect if there's no model specified for the reader. - This setting must be set to Default when reading request payloads. - - Detailed behavior description: - ODataUndeclaredPropertyBehaviorKind.Default - If an undeclared property is found reading fails. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will fail. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - the link will be read and reported as a deferred navigation link. - - __mediaresource value is found - the link will be read and reported as a stream property - - If nothing from the above matches the reading fails. - - Undeclared association links inside __metadata/properties will be read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value - it will be read as navigation/association link - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - Any other property (that is property with a value or property with no annotation mentioned above) will fail. - - ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared property inside m:properties is ignored (not even read). - - Undeclared navigation link, stream property link or association link fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - fail as undeclared deferred nav. link. - - __mediaresource value is found - fail as undeclared stream property. - - All other properties are ignored and not read. - - Undeclared association links inside __metadata/properties fail. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it (deferred or expanded navigation link) - - fail as undeclared navigation property - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - fail as undeclared stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty | ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will be read and the navigation link part will be reported, - the expanded content will be ignored and not read or reported. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties will be ignored and not read. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - read and report a deferred navigation link. - - __mediaresource value is found - read and report stream property. - - All other properties are ignore and not read. - - Undeclared association links inside __metadata/properties are read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value (deferred navigation link) - - it will be read as navigation/association link - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and with value (expanded navigation link) - - it will be read, the navigation and association link will be reported and the content will be ignored. - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - Note that there's one difference between ATOM/JSON Light and Verbose JSON. In ATOM and JSON Light expanded links are treated as both - undeclared link and a value property. The URLs are the link part, the expanded content is the value part. - In Verbose JSON expanded links are treated as a value property as a whole. Since in JSON expanded links don't actually have - the link part (the payload doesn't contain the "href") this is not such a big difference. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets the maximum OData protocol version the reader should accept and understand. - The maximum OData protocol version the reader should accept and understand. - - If the payload to be read has higher DataServiceVersion than the value specified for this property - the reader will fail. - Reader will also not report features which require higher version than specified for this property. - It may either ignore such features in the payload or fail on them. - - - - - false - metadata validation is strict, the input must exactly match against the model. - true - metadata validation is lax, the input doesn't have to match the model in all cases. - This property has effect only if the metadata model is specified. - - - Strict metadata validation: - Primitive values: The wire type must be convertible to the expected type. - Complex values: The wire type must resolve against the model and it must exactly match the expected type. - Entities: The wire type must resolve against the model and it must be assignable to the expected type. - Collections: The wire type must exactly match the expected type. - If no expected type is available we use the payload type. - Lax metadata validation: - Primitive values: If expected type is available, we ignore the wire type. - Complex values: The wire type is used if the model defines it. If the model doesn't define such a type, the expected type is used. - If the wire type is not equal to the expected type, but it's assignable, we fail because we don't support complex type inheritance. - If the wire type if not assignable we use the expected type. - Entities: same as complex values except that if the payload type is assignable we use the payload type. This allows derived entity types. - Collections: If expected type is available, we ignore the wire type, except we fail if the item type is a derived complex type. - If no expected type is available we use the payload type and it must resolve against the model. - If DisablePrimitiveTypeConversion is on, the rules for primitive values don't apply - and the primitive values are always read with the type from the wire. - - - - - The reader behavior that holds all the knobs needed to make the reader - behave differently inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - - Whether or not to report any undeclared link properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Whether or not to ignore any undeclared value properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Reader class used to read all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message reader was created. - - - A flag indicating whether we are reading a request or a response message. - - - The message reader settings to use when reading the message payload. - - - The model. Non-null if we do have metadata available. - - - The to be used for reading the payload. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The resolver to use when determining an entity set's element type. - - - Flag to ensure that only a single read method is called on the message reader. - - - true if Dispose() has been called on this message reader, false otherwise. - - - The input context used to read the message content. - - - The payload kind of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The parsed from the content type header. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The batch boundary string if the payload to be read is a batch request or response. - This is set implicitly when the CreateBatchReader method is called. - - - The media type resolver to use when interpreting the incoming content type. - - - Storage for format specific states from payload kind detection. - - - Creates a new for the given request message. - The request message for which to create the reader. - - - Creates a new for the given request message and message reader settings. - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given request message and message reader settings. - - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the reader. - - - Creates a new for the given response message and message reader settings. - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given response message and message reader settings. - - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Creates an to read a feed. - The created reader. - - - - Creates an to read a feed. - - The expected base type for the entities in the feed. - The created reader. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - The created reader. - - - Asynchronously creates an to read a feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The expected base type for the entities in the feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - A running task for the created reader. - - - Creates an to read an entry. - The created reader. - - - - Creates an to read an entry. - - The expected entity type for the entry to be read. - The created reader. - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The created reader. - - - Asynchronously creates an to read an entry. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The expected entity type for the entry to be read. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - A running task for the created reader. - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - The created collection reader. - - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - The created collection reader. - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection reader. - - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - A running task for the created collection reader. - - - Creates an to read a batch of requests or responses. - The created batch reader. - - - Asynchronously creates an to read a batch of requests or responses. - A running task for the created batch reader. - - - - Creates an to read the parameters for . - - The function import whose parameters are being read. - The created parameter reader. - - - - Asynchronously creates an to read the parameters for . - - The function import whose parameters are being read. - A running task for the created parameter reader. - - - Reads a service document payload. - The service document read. - - - Asynchronously reads a service document payload. - A task representing the asynchronous operation of reading the service document. - - - Reads an as message payload. - The property read from the payload. - - - - Reads an as message payload. - - The expected type reference of the property to read. - The property read from the payload. - - - - Reads an as message payload. - - The metadata of the property to read. - The property read from the payload. - - - Asynchronously reads an as message payload. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The expected type reference of the property to read. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The metadata of the property to read. - A task representing the asynchronous operation of reading the property. - - - Reads an as the message payload. - The read from the message payload. - - - Asynchronously reads an as the message payload. - A task representing the asynchronous operation of reading the error. - - - Reads the result of a $links query (entity reference links) as the message payload. - The entity reference links read as message payload. - - - - Reads the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - The entity reference links read as message payload. - - - Asynchronously reads the result of a $links query as the message payload. - A task representing the asynchronous reading of the entity reference links. - - - - Asynchronously reads the result of a $links query as the message payload. - - The navigation property for which to read the entity reference links. - A task representing the asynchronous reading of the entity reference links. - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - The entity reference link read from the message payload. - - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - The entity reference link read from the message payload. - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - A running task representing the reading of the entity reference link. - - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - A running task representing the reading of the entity reference link. - - - - Reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The read value. - - - - Asynchronously reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - A running task representing the reading of the value. - - - Reads the message body as metadata document. - Returns . - - - implementation to cleanup unmanaged resources of the reader. - - - - Determines the format of the payload being read and returns it. - - The format of the payload being read by this reader. - - The format of the payload is determined when starting to read the message; - if this method is called before reading has started it will throw. - - - - - Processes the content type header of the message to determine the format of the payload, the encoding, and the payload kind. - - All possible kinds of payload to be read with this message reader; must not include ODataPayloadKind.Unsupported. - - - - Gets the content type header of the message and validates that it is present and not empty. - - The content type header of the message. - - - - Verify arguments for creation of an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entities in the feed. - - - - Verify arguments for creation of an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - - - - Verify arguments for creation of an to read a collection of primitive or complex values - (as result of a service operation invocation). - - The expected type for the items in the collection. - - - - Verify arguments for creation of a batch as the message body. - - - - - Verify arguments for creation of an to read the parameters for . - - The function import whose parameters are being read. - - - - Verify arguments for reading of a service document payload. - - - - - Verify arguments for reading of a metadata document payload. - - - - - Verify arguments for reading of an as message payload. - - The metadata of the property to read. - - - - Verify arguments for reading of an as message payload. - - The expected type reference of the property to read. - - - - Verify arguments for reading of an as the message payload. - - - - - Verify arguments for reading of the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - - - - Verify arguments for reading of a singleton result of a $links query (entity reference link) as the message payload. - - - - - Verify arguments for reading of a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The payload kinds allowed for the given expected type. - - - - Verifies that the ODataMessageReader has not been used before; an ODataMessageReader can only be used to - read a single message payload but cannot be reused later. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Method which creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - The read value from the input. - - - - Gets all the supported payload kinds for a given content type across all formats and returns them. - - The set of supported payload kinds for the content type of the message. - true if no or a single payload kind was found for the content type; false if more than one payload kind was found. - - - - Compares two payload kind detection results. - - The first . - The second . - -1 if is considered less than , - 0 if the kinds are considered equal, 1 if is considered greater than . - - - - Get an enumerable of tasks to get the supported payload kinds for all formats. - - All payload kinds for which we found matches in some format based on the content type. - The list of combined detection results after sniffing. - A lazy enumerable of tasks to get the supported payload kinds for all formats. - - - - Method which asynchronously creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - A task which when completed return the read value from the input. - - - - The message reader settings to use when reading the message payload. - - - - - The media type resolver to use when interpreting the incoming content type. - - - - - Enumeration of all JSON node type. - - - - - No node - invalid value. - - - - - Start of JSON object record, the { character. - - - - - End of JSON object record, the } character. - - - - - Start of JSON array, the [ character. - - - - - End of JSON array, the ] character. - - - - - Property, the name of the property (the value will be reported as a separate node or nodes) - - - - - Primitive value, that is either null, true, false, number or string. - - - - - End of input reached. - - - - - Utility methods used with the OData library. - - - - String representation of the version 1.0 of the OData protocol. - - - String representation of the version 2.0 of the OData protocol. - - - String representation of the version 3.0 of the OData protocol. - - - Sets the content-type and data service version headers on the message used by the message writer. - The content-type and data service version headers on the message used by the message writer. - The message writer to set the headers for. - The kind of payload to be written with the message writer. - - This method can be called if it is important to set all the message headers before calling any of the - write methods on the . - If it is sufficient to set the headers when the write methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - - - Returns the format used by the message reader for reading the payload. - The format used by the messageReader for reading the payload. - The to get the read format from. - This method must only be called once reading has started. - This means that a read method has been called on the or that a reader (for entries, feeds, collections, etc.) has been created. - If the method is called prior to that it will throw. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The to process. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The containing the annotations. - The to process. - - - - Checks whether the has a default stream. - - The containing the annotation. - The to check. - true if the entity type has a default stream; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to add a default stream to the entity type; false to remove an existing default stream (if any). - - - - Checks whether the is the default entity container. - - The containing the annotation. - The to check. - true if the is the default container; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to set the as the default container; false to remove an existing default container annotation (if any). - - - - Checks whether the has a MIME type annotation. - - The containing the annotation. - The to check. - The (non-null) value of the MIME type annotation of the or null if no MIME type annotation exists. - - - - Sets the MIME type annotation of the to . - - The containing the annotation. - The to modify. - The MIME type value to set as annotation value; if null, an existing annotation will be removed. - The MIME type annotation is only supported on service operations and primitive properties for serialization purposes. - - - - Checks whether the has an HttpMethod annotation. - - The containing the annotation. - The to check. - The (non-null) value of the HttpMethod annotation of the or null if no such annotation exists. - - - - Sets the HttpMethod annotation of the to . - - The contatining the annotation. - The to modify. - The HttpMethod value to set as annotation value; if null, an existing annotation will be removed. - The HttpMethod annotation is only supported on service operations for serialization purposes. - - - - Gets the value of IsAlwaysBindable annotation on the . - - The containing the annotation. - The to get the annotation from. - The value of the annotation if it exists; false otherwise. - Thrown if the IsAlwaysBindable annotation is set to true for a non-bindable . - - - - Sets the value of IsAlwaysBindable annotation of the to - - The containing the annotation. - The to set the annotation on. - The value of the annotation to set. - Thrown if IsAlwaysBindable is set to true for a non-bindable . - - - - Gets the reader behavior for null property value on the specified property. - - The model containing the annotation. - The property to check. - The behavior to use when reading null value for this property. - - - - Adds a transient annotation to indicate how null values for the specified property should be read. - - The containing the annotations. - The to modify. - The new behavior for reading null values for this property. - - - Displays the OData version to string representation. - The OData version. - The OData version. - - - Displays a string to OData version representation. - The OData version. - The OData version. - - - - Translates the to a func that would evalutate whether the filter would match a given annotation name. - The func would evaluate to true if the matches the annotation name that's passed to the it, and false otherwise. - - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - Returns a func which would evaluate to true if the matches the annotation name that's passed to the it, - and false otherwise. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - Assumes that the entity type and the model have been validated. - - The containing the annotations. - The to process. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true to search the base type hierarchy of the structured type for the annotation; otherwise false. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method will throw. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method wil throw. - - - - Sets the as value of the annotation - on the . - - The model containing the annotation. - The annotatable to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Class which takes an input stream, buffers the entire content asynchronously and exposes it as a stream - which can be read synchronously. - - - - - List of buffers which store the data. - - - - - The input stream to read from. This is used only during the buffering and is set to null once we've buffered everything. - - - - - Points to the buffer currently being processed. - When writing into the buffers this points to the last buffer to which the bytes should be written. - When reading from the buffers this points to the buffer from which we are currently reading. - - - - - Number of bytes read from the current buffer. - - - - - Private constructor. - - The stream to read from. - - - - Flush the stream to the underlying storage. This operation is not supported by this stream. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Given the this method returns a task which will asynchronously - read the entire content of that stream and return a new synchronous stream from which the data can be read. - - The input stream to asynchronously buffer. - A task which returns the buffered stream. - - - - Resets the stream to the begining and prepares it for reading. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Returns enumeration of tasks to run to buffer the entire input stream. - - Enumeration of tasks to run to buffer the input stream. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Adds a new buffer to the list and makes it the current buffer. - - The newly added buffer. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The minimum size to ask for when reading from underlying stream. - - - - - The size of a buffer to allocate - use 64KB to be aligned which makes it likely that the underlying levels - will be able to process the request in one go. - - - - - The byte buffer which stored the data. - - - - - Constructor - creates a new buffer; - - - - - Marks specified count of bytes as written starting at the OffsetToWriteTo. - - The number of bytes to mark as written. - - - - The byte buffer. - - - - - The offset into the buffer to which more data can be written. - - - - - The number of bytes stored in the buffer. - - - - - The number of bytes not yet used in the buffer. - - - - - Generic utility methods. - - - - - Calls IDisposable.Dispose() on the argument if it is not null - and is an IDisposable. - - The instance to dispose. - 'True' if IDisposable.Dispose() was called; 'false' otherwise. - - - - Asynchronously flushes a stream. - - The stream to flush. - Task which represents the pending Flush operation. - - - - Perform a stable sort of the using the specified . - - The type of the items in the array to sort. - The array to sort. - The comparison to use to compare items in the array - Array of KeyValuePairs where the sequence of Values is the sorted representation of . - - - - Stable comparer of a sequence of key/value pairs where each pair - knows its position in the sequence and its value. - - The type of the values in the sequence. - - - - The to compare the values. - - - - - Constructor. - - The to compare the values. - - - - Compares two key/value pairs by first comparing their value. If the values are equal, - the position in the array determines the relative order (and preserves the original relative order). - - First key/value pair. - Second key/value pair. - - A value < 0 if is less than . - The value 0 if is equal to . Note this only happens when comparing the same items when used in StableSort. - A value > 0 if is greater than . - - This method will never return the value 0 since the input sequence is constructed in a way - that all key/value pairs have unique indeces. - - - - Class with utility methods for dealing with OData metadata. - - - - - Returns the annotation in the OData metadata namespace with the specified . - - The containing the annotation. - The to get the annotation from. - The local name of the annotation to find. - The value of the annotation in the OData metadata namespace and with the specified . - true if an annotation with the specified local name was found; otherwise false. - - - - Sets the annotation with the OData metadata namespace and the specified on the . - - The containing the annotations."/> - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Gets all the serializable annotations in the OData metadata namespace on the . - - The containing the annotations."/> - The to get the annotations from. - All annotations in the OData metadata namespace; or null if no annotations are found. - - - - Gets the EDM type of an OData instance from the of the instance (if available). - - The OData instance to get the EDM type for. - The EDM type of the if available in the annotation. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used by writers. - Thus it implements the strict speced behavior. - - The model to use. - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used be readers. - Thus it can be a bit looser. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Custom type resolver to use, if null the model is used directly. - The version to use when resolving the type name. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Calculates the operations that are always bindable to the given type. - - The binding type in question. - The model to search for operations. - The edm type resolver to get the parameter type. - An enumeration of operations that are always bindable to the given type. - - - - Looks up the given term name in the given model, and returns the term's type if a matching term was found. - - The name of the term to lookup, including the namespace. - The model to look in. - The type of the term in the model, or null if no matching term was found. - - - - Gets the nullable type reference for a payload type; if the payload type is null, uses Edm.String. - - The payload type to get the type reference for. - The nullable for the . - - - - Class with utility methods for validating OData content (applicable for readers and writers). - - - - Maximum batch boundary length supported (not includeding leading CRLF or '-'). - - - The set of characters that are invalid in property names. - Keep this array in sync with MetadataProviderUtils.InvalidCharactersInPropertyNames in Astoria. - - - - Validates that an open property value is supported. - - The name of the open property. - The value of the open property. - - - - Validates a type kind for a value type. - - The type kind. - The name of the type (used for error reporting only). - - - - Validates that is a valid type name for a collection and returns its item type name. - - The name of the collection type. - The item type name for the . - - - - Validates that the is assignable to the - and fails if it's not. - - The expected entity type reference, the base type of the entities expected. - The payload entity type reference to validate. - - - - Validates that the represents a collection type. - - The type reference to validate. - The instance representing the collection passed as . - - - - Validates an item of a collection to ensure it is not of collection and stream reference types. - - The collection item. - True if the items in the collection are streamable, false otherwise. - - - - Validates a null collection item against the expected type. - - The expected item type or null if no expected item type exists. - The instance controlling the behavior of the writer. - - - - Validates a stream reference property to ensure it's not null and its name if correct. - - The stream reference property to validate. - Property metadata to validate against. - - - - Validates an to ensure it's not null. - - The association link to ensure it's not null. - - - - Validates the name for an association link. - - The name of the association link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - - - - Increases the given recursion depth, and then verifies that it doesn't exceed the recursion depth limit. - - The current depth of the payload element hierarchy. - The maximum allowed recursion depth. - - - - Validates an to ensure it's not null. - - The operation to ensure it's not null. - Whether is an . - - - - Validates an to ensure its metadata is specified and valid. - - The operation to validate. - - - - Validates an to ensure its target is specified and valid. - - The operation to validate. - - - - Validates that the specified is a valid entry as per the specified type. - - The entry to validate. - Optional entity type to validate the entry against. - Model containing the entity type. - true if the validation of the default MediaResource should be done; false otherwise. - If the is available only entry-level tests are performed, properties and such are not validated. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The expected type for the value. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The primitive type reference for the value - some callers have this already, so we save the lookup here. - The expected type for the value. - - Some callers have the primitive type reference already resolved (from the value type) - so this method is an optimized version to not lookup the primitive type reference again. - - - - - Validates that the expected primitive type matches the actual primitive type. - - The expected type. - The actual type. - - - - Validates a resource collection. - - The resource collection to validate. - - - - Validates a resource collection Url. - - The resource collection url to validate. - - - - Validates that the observed type kind is the expected type kind. - - The actual type kind to compare. - The expected type kind to compare against. - The name of the type to use in the error. - - - - Validates that a boundary delimiter is valid (non-null, less than 70 chars, only valid chars, etc.) - - The boundary delimiter to test. - - - - Null validation of complex properties will be skipped if edm version is less than v3 and data service version exists. - In such cases, the provider decides what should be done if a null value is stored on a non-nullable complex property. - - The model containing the complex property. - True if complex property should be validated for null values. - - - - Validates that a property name is valid in OData. - - The property name to validate. - true if the property name is valid, otherwise false. - - - - Validates a property name to check whether it contains reserved characters. - - The property name to check. - - - - Validates that the total number of entity property mapping attributes on the base entity type and the current - entity type does not exceed the specified security limit. - - The EPM cache of the base entity type or null if no base entity type exists. - The EPM collection of the current entity type. - The maximum number of mappings allowed for an entity type (on the type itself and all its base types). - The total number of entity property mappings for the current entity type. - - - - Class with utility methods for writing OData content. - - - - - Determines if a property should be written or skipped. - - The projected properties annotation to use (can be null). - The name of the property to check. - true if the property should be skipped, false to write the property. - - - - Class with utility methods to work with media types. - - - - An array of all the supported payload kinds. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Given the Accept and the Accept-Charset headers of the request message computes the media type, encoding and - to be used for the response message. - - The message writer settings to use for serializing the response payload. - The kind of payload to be serialized as part of the response message. - The media type resolver to use when interpreting the content type. - The media type to be used in the response message. - The encoding to be used in the response message. - The used when serializing the response. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The batch boundary read from the content type for batch payloads; otherwise null. - The for the . - - - - Gets all payload kinds and their corresponding formats that match the specified content type header. - - The content type header to get the payload kinds for. - The media type resolver to use when interpreting the content type. - The parsed content type as . - The encoding from the content type or the default encoding from . - The list of payload kinds and formats supported for the specified . - - - - Checks whether two media types with subtypes (but without parameters) are equal. - - The first media type and subtype. - The second media type and subtype. - true if the is equal to ; otherwise false. - - - - Checks whether a media type starts with the expected type and subtype. - - The media type to check. - The type and subtype the should start with. - true if the starts with ; otherwise false. - - - - Checks whether the specified media type has a parameter with the expected value. - - The media type to check the parameters for. - The name of the expected parameter. - The value of the expected parameter. - true if the has a parameter called - with value ; otherwise false. - - - - Determines whether the media type has a 'streaming' parameter with the value 'true'. - - The media type to check. - - true if the media type has a 'streaming' parameter with the value 'true'; otherwise, false. - - - - - Checks for wildcard characters in the . - - The to check. - - - - JSONP - instead of writing 'application/json', we write 'text/javascript'. In all other ways we pretend it is JSON - - Original content-type value string. - New content-type value string. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The for the . - - - - Parses the specified content type header into a media type instance. - - The content type header to parse. - The optional charset specified with the content type. - The of the parsed . - - - - Gets the default media type for a given payload kind in a given format. - - A list of supported media types and formats. - The user-specified format in which to write the payload (can be null). - The default format for the specified payload kind - The default media type for the given payload kind and format. - - - - Parses the accepted charsets and matches them against the supported encodings for the given . - - The Accept-Charset header of the request. - The for which to compute the encoding. - The media type used to compute the default encoding for the payload. - true if the default encoding should be returned if no acceptable charset is found; otherwise false. - The encoding to be used for the response. - - - - Matches the supported media types against the list of media types specified in the Accept header or ContentType header of the message. Matching follows the - rules for media type matching as described in RFC 2616. - - The set of media types to be matched against the . - The set of media types the will be matched against. - The best found during the matching process or null if no match was found. - - - - Converts all occurrences of the 'application/json' media type to 'application/json;odata=minimalmetadata'. - This is necessary because for an accept header 'application/json, application/json;odata=verbose' - we want the result to be 'application/json;odata=minimalmetadata' although this is not compliant with the - default conneg rules (where application/json;odata=verbose would win). - - The parsed acceptable media types. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Class representing the result of matching two instances. - - - - The default quality value (in the normalized range from 0 .. 1000). - - - Index of the source type in the list of all source types. - - - Index of the target type in the list of all target types. - - - - Constructor. - - The source to match against the target type. - The target to match against the source type. - Index of the source type in the list of all source types. - Index of the target type in the list of all target types. - - - - Implementation of . - - The to compare against. - - -1 if this instance is a worse match than . - 0 if both matches are the same. - 1 if is a better match than this instance. - - - - Selects a quality value for the specified type. - The text representation of the quality value. - The quality value, in range from 0 through 1000. - See http://tools.ietf.org/html/rfc2616#section-14.1 for further details. - - - - Tries to find a parameter with the specified in the given list of parameters. - Does not include accept extensions (i.e., parameters after the q quality value parameter) - - The list of parameters to search. - The name of the parameter to find. - The parameter value of the parameter with the specified . - True if a parameter with the specified was found; otherwise false. - - - - Returns a flag indicating whether a given media type parameter name is the Http quality value parameter. - - The parameter name to check. - True if the parameter name is for the quality value; otherwise false. - - - - Matches the source type against the media type. - - The source to match against the target type. - The target to match against the source type. - - - - Index of the source type in the list of all source types. - - - - - Index of the target type in the list of all target types. - - - - - Represents the number of non-* matching type name parts or -1 if not matching at all. - - - - - Represents the number of matching parameters or -1 if neither the source type nor the target type have parameters. - - - - The quality value of the target type (or -1 if none is specified). - - - - The number of parameters of the source type that are used for comparison. All accept-parameters are ignored. - - - - - true if this represents a valid match (i.e., the source and target types match/are compatible); otherwise false. - - - Two types are considered compatible if at least one type name part matches (or we are dealing with a wildcard) - and all the parameters in the source type have been matched. - - - - - Represents a collection of entity reference links (the result of a $links query). - Might include an inline count and a next link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the optional inline count of the $links collection. - The optional inline count of the $links collection. - - - Gets or sets the optional next link of the $links collection. - The optional next link of the $links collection. - - - Gets or sets the enumerable of instances representing the links of the referenced entities. - The enumerable of instances. - These links should be usable to retrieve or modify the referenced entities. - - - - Provides additional serialization information to the for this . - - - - - Represents an entity reference link (the result of a $link query). - - - - - Base class for Feed and Entry. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the URI representing the URL of the referenced entity. - The URI representing the URL of the referenced entity. - This URL should be usable to retrieve or modify the referenced entity. - - - - Provides additional serialization information to the for this . - - - - - Interface for synchronous OData request messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Interface for synchronous OData response messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - - Implementation class wrapped by the and - implementations. - - - - - Base class for the internal wrappers around IODataRequestMessageAsync and IODataResponseMessageAsync. - - - - true if the message is being written; false when it is read. - - - true if the stream returned should ignore dispose calls. - - - The maximum size of the message in bytes (or null if no maximum applies). - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - The buffering read stream used for payload kind detection; only non-null inside of payload kind detection. - - - - Constructs a new ODataMessage. - - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value for the header with name . - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - We need this method since the input contexts don't get access to the actual instance of the message given to us by the user - instead they get this class, and thus they can't just cast to get to the interface they want. - - - - Synchronously get the stream backing this message. - - A function that returns the stream backing the message. - true if the message is a request message; false for a response message. - The backing the message. - - - - Asynchronously get the stream backing this message. - - A function that returns a task for the stream backing the message. - true if the message is a request message; false for a response message. - A task that when completed returns the stream backing the message. - - - - Verifies that setting a header is allowed - - - We allow modifying the headers only if we are writing the message and we are not - detecting the payload kind. - - - - - Validates that a given message stream can be used. - - The stream to validate. - true if the message is a request message; false for a response message. - - - - Validates that a given task providing the message stream can be used. - - The task to validate. - true if the message is a request message; false for a response message. - - - - Gets the buffering read stream if one is available; otherwise returns null. - - The currently being used or null if no buffering stream is currently being used. - - - - Returns an enumerable over all the headers for this message. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - Listener interface to be notified of operation changes. - - - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - - - A function to retrieve the content stream for this batch operation message. - - - The set of headers for this operation. - - - - Constructor. Base class constructor to create a message for an operation of a batch request/response. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - true if the request message is being written; false when it is read. - - - - Returns a value of an HTTP header of this operation. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header of this operation. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Indicates that the headers and request/response line have been read or written. - Can be called only once per batch part and headers cannot be modified - anymore after this method was called. - - - - - Verifies that writing of the message has not been completed; this is called from all methods - that are only valid to be called before the message content is written or the message - - - - - Returns an enumerable over all the headers for this message. - - - - - Message representing an operation in a batch response. - - - - - Interface for asynchronous OData response messages. - - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - The result status code of the response message. - - - - Constructor. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or null if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Method to implement a custom URL resolution scheme. This method returns null if not custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation response message that can be used to write the operation content to. - - The output stream underlying the operation message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to write the operation content. - - - - Creates an operation response message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The status code to use for the operation response message. - The headers to use for the operation response message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to read the operation content. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - - Returns the actual operation message which is being wrapped. - - - - - Message representing an operation in a batch request. - - - - - Interface for asynchronous OData request messages. - - - - Asynchronously get the stream backing for this message. - The stream for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - - Constructor. Creates a request message for an operation of a batch request. - - A function to create the content stream. - The HTTP method used for this request message. - The request Url for this request message. - The headers for the this request message. - Listener interface to be notified of operation changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Implements a custom URL resolution scheme. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation request message that can be used to write the operation content to. - - The output stream underlying the operation message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The operation listener. - The (optional) URL resolver for the message to create. - An to write the request content to. - - - - Creates an operation request message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The headers to use for the operation request message. - The operation listener. - The (optional) URL resolver for the message to create. - An to read the request content from. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or Sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Returns the actual operation message which is being wrapped. - - - - - Helper methods used by the ODataBatchWriter. - - - - - Creates a new batch boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created batch boundary as string. - - - - Creates a new changeset boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created changeset boundary as string. - - - - Creates the multipart/mixed content type with the specified boundary (if any). - - The boundary to be used for this operation or null if no boundary should be included. - The multipart/mixed content type with the specified boundary (if any). - - - - Write the start boundary. - - Writer to which the boundary needs to be written. - Boundary string. - true if this is the first start boundary. - - - - Write the end boundary. - - Writer to which the end boundary needs to be written. - Boundary string. - true if there was no start boundary written before this end boundary. - - - - Writes the headers, (optional) Content-ID and the request line - - Writer to write to. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Writes the headers and response line. - - Writer to write to. - - - - Writes the preamble for a change set (e.g., the content-type header). - - Writer to write to. - The boundary string to use for the change set. - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute. - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property. - - - - - Type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource (not including the root segment). - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - Type whose property is to be read. This can be different from defining type when inheritance is involved. - - - - Sets path to the source property. - - The path as an array of source path segments. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object. - - - - - Entity type that has the . - - - - - Entity type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping. - - - - - Writer for the EPM custom-only. Writes the EPM custom mapping properties into XmlWriter. - - - - - Constructor. - - The output context currently in use. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - - - - Writes a namespace declaration attribute for the namespace required by the target segment. - - The writer to write the declaration to. - The target segment to write the declaration for. - The name of the prefix if it was already declared. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - - - - Writes an EPM element target. - - The writer to write to. - The target segment describing the element to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Writes an EPM attribute target. - - The writer to write to. - The target segment describing the attribute to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - The entry EPM value cache to use. - The entity type of the entry being processed. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Writer for the EPM syndication-only. Writes the EPM properties into ATOM metadata OM. - - - - The EPM target tree to use. - - - Atom entry metadata to write to. - - - - Constructor. - - The EPM target tree to use. - The output context currently in use. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - The ATOM metadata OM with the EPM values populated. - - - - Creates a text ATOM value. - - The text value to use. - The content kind of the value. - The Atom text value. - - - - Given an object returns the corresponding DateTimeOffset value through conversions. - - Object containing property value. - The target syndication property for the mapping (used for exception messages). - The current settings to control the behavior of the writer. - DateTimeOffset after conversion. - - - - Given an object returns the corresponding string representation of the value. - - Object containing property value. - The current settings to control the behavior of the writer. - String representation of the property value. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The entry properties value cache to use to access the properties. - The type of the entry. - The ATOM metadata OM with the EPM values populated. - - - - Writes a non-leaf segment which has sub segments. - - The segment being written - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - - - - Writes EPM value to a person construct (author or contributor). - - The target segment which points to either author or contributor element. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The person metadata or null if no person metadata should be written for this mapping. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Atom metadata description for a workspace. - - - - Gets or sets the title of the workspace. - The title of the workspace. - - - - Atom metadata description for a collection (in a workspace). - - - - Gets or sets the title of the collection. - The title of the collection. - - - Gets or sets the accept range of media types for this collection. - The accept range of media types for this collection. - - - Gets or sets the categories for this collection. - The categories for this collection. - - - - Caches values of properties and items enumerations so that we only ever enumerate these once even if they were use in EPM. - - - - - Caches either ComplexValue properties enumeration or Collection items enumeration. - - The key is the complex value, or collection for the property in question. - For complex property, the value is a List of ODataProperty which stores the enumeration ODataComplexValue.Properties cache. - For collection property, the value is a List of object which stores the enumeration ODataCollectionValue.Items cache. - The items are either EpmCollectionItemCache instances in which case the value of the item is cached inside that instance, - or it's any other type in which case the value of the item is that instance. - - - - Creates a new empty cache. - - - - - Returns the properties for the specified complex value. - - The EPM value cache to use (can be null). - The complex value to get the properties for. - If we're writing content of an entry or not. - The properties enumeration for the complex value. - - - - Caches and returns the properties for the specified complex value. - - The complex value to cache the properties for. - The cached properties enumeration for the complex value. - This method assumes that the complex value's properties are not cached yet. - - - - Returns the properties for the specified complex value. - - The complex value to get the properties for. - true if we're writing entry content or false when writing out-of-content EPM. - The properties enumeration for the complex value. - - - - Caches values of properties enumerations on an entry and then EPM values for the rest of property values. - - - - - Caches the ODataEntry.Properties enumeration. - - - - - Creates a new cache. - - The entry for which to create the properties cache. - - - - Returns enumeration of properties (excluding stream properties) for the entry. - - - - - Returns enumeration of stream properties for the entry. - - - - - Helper methods for EPM writers. - - - - - Given a property value returns the text value to be used in EPM. - - The value of the property. - The text representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Gets the for the specified - from the . - - The EPM source path segment for the parent of the property being written. - The name of the property to get the for. - The for the specified or null if none exists. - - - - Gets the for the specified . - - The EPM source path segment to get the from. - The for the specified or null if none exists. - - - - Returns an for a given property provided the parent . - - The parent to get the property segment from. - The name of the property to get the for. - An for a given property provided the parent . - - - - Cache all the properties and collection item enumerations needed for EPM processing. - - The property value cache to cache the EPM related properties in. - The source tree describing all properties taking part in entity property mappings. - - - - Cache the property and collection item enumerations needed in EPM mappings. We do this for syndication and custom - mappings. - - The property value cache to use for caching. - The source path segments to cache. - The values to compute the segments against. - - - - Gets the property value as the requested type. - - The expected type of the property value. - The properties to search. - The name of the property to get the value for. - The property value as or null if no property - with name or with the expected type exists. - true if a property of the expected type was found; otherwise false. - - - - Helper methods used to merge Atom metadata from EPM with those specified through annotations. - - - - - Merges custom and EPM ATOM metadata. - - The custom ATOM metadata, or null if there were no custom ATOM metadata. - The EPM ATOM metadata, or null if there are no EPM mappings to syndication targets. - The instance configuring the writer. - The merged ATOM metadata to write to the output. - The merge means that if one of the sides has null, the other is used, otherwise if both are non-null - we verify that the values are the same, otherwise we throw. - - - - Merges enumerations of person metadata. - - The enumeration of custom person metadata. - The enumeration of EPM person metadata. - The type of syndication mapping, one of AtomLinkMetadata, AtomCategoryMetadata, AtomPersonMetadata, - The merged enumeration. - - - - Merges ATOM text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged ATOM text value. - - - - Merges text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged text value. - - - - Merges date time offset values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the value, used for error reporting. - The merged date time offset value. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Class for writing OData batch messages; also verifies the proper sequence of write calls on the writer. - - - - The output context to write to. - - - The boundary string for the batch structure itself. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The state the writer currently is in. - - - - The boundary string for the current changeset (only set when writing a changeset, - e.g., after WriteStartChangeSet has been called and before WriteEndChangeSet is called). - - When not writing a changeset this field is null. - - - - A flag to indicate whether the batch start boundary has been written or not; important to support writing of empty batches. - - - - - A flags to indicate whether the current changeset start boundary has been written or not. - This is false if a changeset has been started by no changeset boundary was written, and true once the first changeset - boundary for the current changeset has been written. - - - - The request message for the operation that is currently written if it's a request; - or null if no part is written right now or it's a response part. - - - The response message for the operation that is currently written if it's a response; - or null if no part is written right now or it's a request part. - - - - The value of the Content-ID header of the current operation (or null if no Content-ID header exists). - - - Note that the current Content-ID header is not included immediately in the content ID cache - since the current content ID will only be visible to subsequent operations. - - - - The current size of the batch message, i.e., how many query operations and changesets have been written. - - - The current size of the active changeset, i.e., how many request have been written for the changeset. - - - - Constructor. - - The output context to write to. - The boundary string for the batch structure itself. - - - Starts a new batch; can be only called once and as first call. - - - Asynchronously starts a new batch; can be only called once and as first call. - A task instance that represents the asynchronous write operation. - - - Ends a batch; can only be called after WriteStartBatch has been called and if no other active changeset or operation exist. - - - Asynchronously ends a batch; can only be called after WriteStartBatch has been called and if no other active change set or operation exist. - A task instance that represents the asynchronous write operation. - - - Starts a new changeset; can only be called after WriteStartBatch and if no other active operation or changeset exists. - - - Asynchronously starts a new change set; can only be called after WriteStartBatch and if no other active operation or change set exists. - A task instance that represents the asynchronous write operation. - - - Ends an active changeset; this can only be called after WriteStartChangeset and only once for each changeset. - - - Asynchronously ends an active change set; this can only be called after WriteStartChangeset and only once for each change set. - A task instance that represents the asynchronous write operation. - - - Creates an for writing an operation of a batch request. - The message that can be used to write the request operation. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - Creates a message for asynchronously writing an operation of a batch request. - The message that can be used to asynchronously write the request operation. - The HTTP method to be used for this request operation. - The URI to be used for this request operation. - - - Creates a message for writing an operation of a batch response. - The message that can be used to write the response operation. - - - Asynchronously creates an for writing an operation of a batch response. - A task that when completed returns the newly created operation response message. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the operation; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Verifies that calling WriteStartBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new batch - implementation of the actual functionality. - - - - - Verifies that calling WriteEndBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends a batch - implementation of the actual functionality. - - - - - Verifies that calling WriteStartChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new changeset - implementation of the actual functionality. - - - - - Verifies that calling WriteEndChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends an active changeset - implementation of the actual functionality. - - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Creates an for writing an operation of a batch request - implementation of the actual functionality. - - The Http method to be used for this request operation. - The Uri to be used for this request operation. - The message that can be used to write the request operation. - - - - Verifies that calling CreateOperationResponseMessage is valid. - - true if the call is to be synchronous; false otherwise. - - - - Creates an for writing an operation of a batch response - implementation of the actual functionality. - - The message that can be used to write the response operation. - - - - Writes all the pending headers and prepares the writer to write a content of the operation. - - - - - Disposes the batch writer and set the 'OperationStreamRequested' batch writer state; - called after the flush operation(s) have completed. - - - - - Remember a non-null Content-ID header for change set request operations. - If a non-null content ID header is specified for a change set request operation, record it in the URL resolver. - - The Content-ID header value read from the message. - - Note that the content ID of this operation will only - become visible once this operation has been written - and OperationCompleted has been called on the URL resolver. - - - - - Verifies that the writer is in correct state for the Flush operation. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Sets a new writer state; verifies that the transition from the current state into new state is valid. - - The writer state to transition into. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Validates that the batch writer is ready to process a new write request. - - - - - Write any pending headers for the current operation message (if any). - - - A flag to control whether after writing the pending data we report writing the message to be completed or not. - - - - - Writes the start boundary for an operation. This is either the batch or the changeset boundary. - - - - - Sets the 'Error' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - The request message for the operation that is currently written if it's a request; or null if no operation is written right now or it's a response operation. - - - The response message for the operation that is currently written if it's a response; - or null if no operation is written right now or it's a request operation. - - - The message for the operation that is currently written; or null if no operation is written right now. - - - - An enumeration representing the current state of the writer. - - - - The writer is in initial state; nothing has been written yet. - - - WriteStartBatch has been called. - - - WriteStartChangeSet has been called. - - - CreateOperationRequestMessage/CreateOperationResponseMessage has been called. - - - - ODataMessage.GetStreamAsync() has been called on an operation which caused a to be created; - the batch writer is unusable while an operation is being written. - - - - The stream for writing the content of an operation has been disposed. The batch writer can now be used again. - - - WriteEndChangeSet has been called. - - - WriteEndBatch has been called. - - - The writer is in error state; nothing can be written anymore except the error payload. - - - - Class representing a media type definition. - - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - The parameters specified on the media type. - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - - Converts the current to a string representation suitable for use in a content-type header. - - The string representation of media type. - - - - Converts the current to a string representation suitable for use in a content-type header. - - The encoding to use when converting the media type into text. - The string representation of the current media type. - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Returns the full media type in standard type/subtype form, without parameters. - - - Returns the subtype part of the media type. - - - Returns the type part of the media type. - - - media type parameters - - - - ODataCollectionWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The Verbose JSON collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - ODataCollectionWriter for the ATOM format. - - - - The output context to write to. - - - The collection serializer to use for writing. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Enumeration representing the different kinds of payloads ODatLib can write. - - - - Payload kind for a feed. - - - Payload kind for an entry. - - - Payload kind for a property. - - - Payload kind for an entity reference link. - - - Payload kind for entity reference links. - - - Payload kind for a raw value. - - - Payload kind for a binary value. - - - Payload kind for a collection. - - - Payload kind for a service document. - - - Payload kind for a metadata document. - - - Payload kind for an error. - - - Payload kind for a batch. - - - Payload kind for parameters for a service action. - - - Unknown format - - - - Class representing a resource collection in a workspace of a data service. - - - - Gets or sets the URI representing the Unified Resource Locator (URL) to the collection. - The URI representing the Unified Resource Locator (URL) to the collection. - - - Gets or sets the name of the collection; this is the entity set name in JSON and the HREF in Atom. - The name of the collection. - - This property is required when reading and writing the JSON light format, but has no meaning in the Verbose JSON format. - If present in ATOM, it will be used to populate the title element. - - - - - Class representing the a workspace of a data service. - - - - Gets or sets the set of collections in the workspace. - The set of collections in the workspace. - - - - Constant values used in the EDM. - - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - Represents a Time instance as an interval measured in milliseconds from an instance of DateTime. - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - Represents an interval measured in milliseconds. - - - edm stream primitive type name - - - edm geography primitive type name - - - Represents a geography Point type. - - - Represents a geography LineString type. - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - The namespace for Edmx V1. - - - The namespace for Edmx V2. - - - The namespace for Edmx V3. - - - The element name of the top-level <Edmx> metadata envelope. - - - The attribute name used on entity types to indicate that they are MLEs. - - - The attribute name used on service operations and primitive properties to indicate their MIME type. - - - The attribute name used on service operations to indicate their HTTP method. - - - The attribute name used on a service operation to indicate whether all instances of the binding parameter - type can be bound to that service operation. - - - The attribute name used on an entity container to mark it as the default entity container. - - - 'true' literal - - - 'false' literal - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accessed statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - - Single instance per 'T' for comparison. - - - - - Initializes a new ReferenceEqualityComparer instance. - - - - - Determines whether two objects are the same. - - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - - Serves as hashing function for collections. - - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Returns a singleton instance for this comparer type. - - - - - Utility methods for working with CLR types. - - - - Checks whether the specified type is a generic nullable type. - Type to check. - true if is nullable; false otherwise. - - - Gets a non-nullable version of the specified type. - Type to get non-nullable version for. - - if type is a reference type or a - non-nullable type; otherwise, the underlying value type. - - - - - Checks whether the specified can be assigned null. If it is a non-nullable - value type it creates the corresonding nullable type and returns it. - - The type to check. - The if it allows null or the corresponding nullable type. - - - Checks whether the specified can be assigned null. - Type to check. - true if type is a reference type or a Nullable type; false otherwise. - - - - Determines if two CLR types are equivalent. - - First type to compare. - Second type to compare. - true if the types are equivalent (they both represent the same type), or false otherwise. - This method abstracts away the necessity to call Type.IsEquivalentTo method in .NET 4 and higher but - use simple reference equality on platforms which don't have that method (like Silverlight). - - - - Type for Atom Syndication Format (Atom) feed annotationsAsArray. - - - - Gets or sets a collection of authors of a feed. - A collection of authors of a feed. - - - Gets or sets the categories of a feed. - The categories of a feed. - - - Gets or sets a collection of contributors of a feed. - A collection of contributors of a feed. - - - Gets or sets the generator of a feed. - The generator of a feed. - - - Gets or sets the URI of the icon for a feed. - The URI of the icon for a feed. - - - Gets or sets the collection of all Atom link information except for the next page and self links. - The collection of all Atom link information except for the next page and self links. - - - Gets or sets the URI for the feed's logo. - The URI for the feed’s logo. - - - Gets or sets the rights text of a feed. - The rights text of a feed. - - - Gets or sets the self link of the feed. This link should point to the source of the feed. - The self link of the feed. - - - Gets the next page link of the feed. This link should point to the next page of results. - - - Gets or sets the identifier for the feed if used as metadata of an Atom:source element. - The identifier for the feed if used as metadata of an Atom:source element. - - - Gets or sets the subtitle of a feed. - The subtitle of a feed. - - - Gets or sets the title of the feed. - The title of the feed. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - Type for Atom Syndication Format (Atom) entry annotationsAsArray. - - - - - The date/time when the entry was published. - - - - - Date/Time of last update to the source in string format. - - - - Gets or sets a collection of authors of an entry. - A collection of authors of an entry. - - - Gets or sets the ATOM metadata for the category element which stores the type name of the entry. - - - Gets or sets the categories of an entry. - The categories of an entry. - - - Gets or sets a collection of contributors of an entry. - A collection of contributors of an entry. - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - Gets or sets the collection of all Atom link information except for the self/edit links and the navigation property links. - The collection of all Atom link information except for the self/edit links and the navigation property links. - - - Gets or sets the date and time when the entry was published. - The date and time when the entry was published. - - - Gets or sets the rights text of an entry. - The rights text of an entry. - - - Gets or sets the source of an entry and if the entry was copied from a different stream the property contains the feed metadata of the original feed. - The source of an entry. - - - Gets or sets the summary of the entry. - The summary of the entry. - - - Gets or sets the title of the entry. - The title of the entry. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - The date/time when the entry was published. - - - This property is only used in WCF DS client mode (and replaces the 'Published' property then). - - - - - Date/Time of last update to the source in string format. - - - This property is only used in WCF DS client mode (and replaces the 'Updated' property then). - - - - - Atom metadata description for a link. - - - - The IRI value coming from EPM. - We use AtomLinkMetadata class to hold navigation links, association links etc. - They convert Href property to string based on baseURI and whether Href is absolute or not. - Also we do not want to rely on validation done by Uri class, so we are holding EPM values - mapped to link/@href on a separate field. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the URI of the link. - The URI of the link. - - - Gets or sets the link's relation type. - The link’s relation type. - - - Gets or sets the media type of the data returned by the link. - The media type of the data returned by the link. - - - Gets or sets the language tag (for example, en-US) of the resource pointed to by the link. - The language tag of the resource pointed to by the link. - - - Gets or sets a human-readable description of the link. - A human-readable description of the link. - - - Gets or sets a hint at the length of the content returned from the link. - A hint at the length of the content returned from the link. - - - - Atom metadata description for a category. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the string value identifying the category. - The string value identifying the category. - - - Gets or sets the URI that indicates the scheme of the category. - The URI that indicates the scheme of the category. - - - Gets or sets a human-readable label for display in user interfaces. - A human-readable label. - - - - Atom metadata description for a person. - - - - The name of the person. - - - The email of the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - Converts a string to an instance. - The instance created for name. - The name used in the person metadata. - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the name of the person (required). - The name of the person (required). - - - Gets or sets an IRI associated with the person. - An IRI associated with the person. - - - Gets or sets an email address associated with the person. - An email address associated with the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - - Atom metadata description of a content generator. - - - - Gets or sets the human readable name of the generator of the content. - The human readable name of the generator of the content. - - - Gets or sets the (optional) URI describing the generator of the content. - The (optional) URI describing the generator of the content. - - - Gets or sets the (optional) version of the generator. - The (optional) version of the generator. - - - - Helper methods related to the ATOM Format - - - - The length of the media type for ATOM payloads (application/atom+xml). - - - The length of the media type for ATOM payloads when terminated by a ';' (application/atom+xml;). - - - The length of the media type for links referencing a single entry (application/atom+xml;type=entry). - - - The length of the media type for links referencing a collection of entries (application/atom+xml;type=feed). - - - Parameter string for the media type for links referencing a single entry. - - - Parameter string for the media type for links referencing a collection of entries. - - - - Creates the value for the navigation property's link relation attribute. - - The link representing the navigation property for which the relation value is created. - The relation attribute value for the navigation property's link relation. - - - - Creates the value for the navigation property's type attribute. - - The link representing the navigation property for which the type value is created. - The type attribute value for the navigation property. - - - - Creates the value for the navigation property's association link relation attribute. - - The link representing the navigation property's association for which the relation value is created. - The relation attribute value for the navigation property's association link relation. - - - - Creates the value for the stream property's link relation attribute. - - The stream property to create the relation for. - 'true' if the relation is computed for an edit link; otherwise 'false'. - The relation attribute value for the stream property's link relation. - - - - Unescape the attribute value for ATOM link element. - - ATOM link relation attribute value. - - The unescaped relation attribute string if it's a valid URI. - null if relation attribute is not a valid URI. - - - - - Return name following the specified in the . - - ATOM link relation attribute value, unescaped parsed URI string. - Value which the rel attribute should start with. - - The name if the starts with the given . - If the value does not start with the a null value is returned. - - - - - Determines whether the type of a navigation link has one of the expected standard values. - - The navigation link type to check. - true if the navigation link type has a 'type' parameter with the value 'entry'; otherwise false. - true if the navigation link type has a 'type' parameter with the value 'feed'; otherwise false. - true if the navigation link type is the expected application/atom+xml; otherwise false. - - - - Helper methods used by the OData writer to write ATOM metadata. - - - - - Creates a new instance by merging the given - (if any) with the specified , - and (optional) . - - The metadata to merge with the , and (optional) . - The relation to use in the merged metadata. - The href to use in the merged metadata. - The (optional) title to use in the merged metadata. - The (optional) media type to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for , - , , or this method validates that they - are the same as the ones specified in the method arguments. - - - - - Creates a new instance by merging the given - (if any) with the specified and . - - The metadata to merge with the and . - The term to use in the merged metadata. - The scheme to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for or - this method validates that they are the same as the ones specified in the method arguments. - - - - - Helper to convert values to strings compliant to the ATOM format - - - - Used for settings the updated element properly. - - - - Converts a boolean to the corresponding ATOM string representation. - - The boolean value to convert. - The ATOM strings representing boolean literals. - - - - Converts a byte to the corresponding ATOM string representation. - - The byte value to convert. - The ATOM strings representing the byte value. - - - - Converts a decimal to the corresponding ATOM string representation. - - The decimal value to convert. - The ATOM strings representing the decimal value. - - - - Converts the given date/time value to the string appropriate for Atom format - - The date/time value to convert. - The string version of the date/time value in Atom format. - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - ToAtomString is used to write values in atom specific elements like updated, etc. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given timespan value to the string appropriate for Atom format - - The timespan value to convert. - The string version of the timespan value in Atom format. - - - - Converts the given double value to the string appropriate for Atom format - - The double value to convert. - The string version of the double value in Atom format. - - - - Converts the given Int16 value to the string appropriate for Atom format - - The Int16 value to convert. - The string version of the Int16 value in Atom format. - - - - Converts the given Int32 value to the string appropriate for Atom format. - - The Int32 value to convert. - The string version of the Int32 in Atom format. - - - - Converts the given Int64 value to the string appropriate for Atom format. - - The Int64 value to convert. - The string version of the Int64 in Atom format. - - - - Converts the given SByte value to the string appropriate for Atom format. - - The SByte value to convert. - The string version of the SByte in Atom format. - - - - Converts the given byte array value to the string appropriate for Atom format. - - The byte array to convert. - The string version of the byte array in Atom format. - - - - Converts the given Single value to the string appropriate for Atom format. - - The Single value to convert. - The string version of the Single in Atom format. - - - - Converts the given Guid value to the string appropriate for Atom format. - - The Guid value to convert. - The string version of the Guid in Atom format. - - - - Atom specific extension methods. - - - - Determines an extension method to get the for an annotatable entry. - An instance or null if no annotation of that type exists. - The entry instance to get the annotation from. - - - Determines an extension method to get the for an annotatable feed. - An instance or null if no annotation of that type exists. - The feed instance to get the annotation from. - - - Determines an extension method to get the for an annotatable navigation link. - An instance or null if no annotation of that type exists. - The navigation link instance to get the annotation from. - - - Determines an extension method to get the for an annotatable workspace. - An instance or null if no annotation of that type exists. - The workspace to get the annotation from. - - - Determines an extension method to get the for an annotatable (resource) collection. - An instance or null if no annotation of that type exists. - The (resource) collection to get the annotation from. - - - Determines an extension method to get the for an annotatable association link. - An instance or null if no annotation of that type exists. - The association link to get the annotation from. - - - - Write-only stream which buffers all synchronous write operations until FlushAsync is called. - - - - - The stream being wrapped. - - - - - Queue of buffers to write. - - - - - The last buffer in the bufferQueue. This is the buffer we're writing into. - - - - - Constructor - - The underlying async stream to wrap. Note that only asynchronous write operation will be invoked on this stream. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Clears any internal buffers without writing them to the underlying stream. - - - - - Synchronous flush operation. This will flush all buffered bytes to the underlying stream through synchronous writes. - - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Queues a new buffer to the queue of buffers - - - - - Prepares all buffers for flushing and returns the queue of buffers to flush. - - The queue of buffer to flush. - - - - Returns enumeration of tasks to run to flush all pending buffers to the underlying stream. - - The queue of buffers that need to be flushed. - Enumeration of tasks to run to flush all buffers. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Determines if the stream can read - this one cannot - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The size of a buffer to allocate (80 KB is the limit for large object heap, so use 79 to be sure to avoid LOB) - - - - - The byte buffer used to store the data. - - - - - Number of bytes being stored. - - - - - Constructor - creates a new buffer - - - - - Writes data into the buffer. - - The buffer containing the data to write. - The index to start at. - Number of bytes to write. - How many bytes were written. - - - - Writes the buffer to the specified stream. - - The stream to write the data into. - - - - Creates a task which writes the buffer to the specified stream. - - The stream to write the data into. - The task which represent the asynchronous write operation. - - - - Constant values related to the ATOM format. - - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Attribute use to add xml: namespaces specific attributes. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - XML attribute value to indicate the base URI for a document or element. - - - Name of the xml:lang attribute. - - - Name of the xml:space attribute. - - - 'preserve' value for the xml:space attribute. - - - XML namespace for data service annotations. - - - XML namespace prefix for data service annotations. - - - XML namespace for data services. - - - Prefix for data services namespace. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData attribute which indicates the null value for the element. - - - OData element name for the 'count' element - - - OData scheme namespace for data services category scheme in atom:category elements. - - - OData stream property 'mediaresource' Uri segment name used in named stream link relations. - - - OData stream property 'edit-media' Uri segment name used in named stream link relations. - - - OData stream property prefix for named stream 'mediaresource' related link relations. - - - OData stream property prefix for named stream 'edit-media' related link relations. - - - OData navigation properties 'related' Uri segment name used in navigation link relations. - - - OData navigation properties prefix for navigation link relations. - - - OData navigation properties 'relatedlinks' Uri segment name used in association link relations. - - - OData association link prefix for relation attribute. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Name of the error element for Xml error responses. - - - Name of the error code element for Xml error responses. - - - Name of the error message element for Xml error responses. - - - Name of the inner error message element for Xml error responses. - - - Name of the message element in inner errors for Xml error responses. - - - Name of the type element in inner errors for Xml error responses. - - - Name of the stack trace element in inner errors for Xml error responses. - - - Name of the inner error element nested in inner errors for Xml error responses. - - - Element name for the items in a collection. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - XML element name for the wrapper 'links' element around a sequence of Uris in response to a $links request. - - - XML element name for a Uri response to a $links request. - - - XML element name for a next link in a response to a $links request. - - - XML element name for an annotation in an ATOM payload. - - - Attribute name for m:annotation/@target. - - - Attribute name for m:annotation/@term. - - - Attribute name for m:annotation/@string. - - - Attribute name for m:annotation/@bool. - - - Attribute name for m:annotation/@decimal. - - - Attribute name for m:annotation/@int. - - - Attribute name for m:annotation/@float. - - - Schema namespace for Atom. - - - Prefix for the Atom namespace - empty since it is the default namespace. - - - Prefix for the Atom namespace used in cases where we need a non-empty prefix. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark type attribute in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark id element in Atom. - - - XML element name to mark title element in Atom. - - - XML element name to mark the subtitle element in Atom. - - - XML element name to mark the summary element in Atom. - - - XML element name to mark the 'published' element in Atom. - - - XML element name to mark the 'source' element in Atom. - - - XML element name to mark the 'rights' element in Atom. - - - XML element name to mark the 'logo' element in Atom. - - - XML element name to mark the 'author' element in Atom. - - - XML element name to mark the 'author name' element in Atom. - - - XML element name to mark the 'contributor' element in Atom. - - - XML element name to mark the 'generator' element in Atom. - - - XML attribute name of the 'uri' attribute of a 'generator' element in Atom. - - - XML attribute name of the 'version' attribute of a 'generator' element in Atom. - - - XML element name to mark the 'icon' element in Atom. - - - XML element name to mark the 'name' element in an Atom person construct. - - - XML element name to mark the 'uri' element in an Atom person construct. - - - XML element name to mark the 'email' element in an Atom person construct. - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'label' attribute for categories. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for self links. - - - XML element name to mark link element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the type attribute of a link in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - XML attribute name of the hreflang attribute of a link in Atom. - - - XML attribute name of the title attribute of a link in Atom. - - - XML attribute name of the length attribute of a link in Atom. - - - XML element name to mark href attribute element in Atom. - - - Atom source attribute name for the content of media link entries. - - - Atom link relation attribute value for edit-media links. - - - XML attribute value of the link relation attribute for next page links in Atom. - - - XML attribute value of the link relation attribute for delta links in Atom. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom metadata text construct kind: plain text - - - Atom metadata text construct kind: html - - - Atom metadata text construct kind: xhtml - - - Default title for service document workspaces. - - - 'true' literal - - - 'false' literal - - - IANA link relations namespace. - - - The Atom Publishing Protocol (APP) namespace: 'http://www.w3.org/2007/app'. - - - The name of the top-level 'service' element when writing service documents in Xml format. - - - The name of the 'workspace' element when writing service documents in Xml format. - - - The name of the 'collection' element when writing service documents in Xml format. - - - The name of the 'categories' element encountered while reading a service document in XML format. - - - The name of the 'accept' element encountered while reading a service document in XML format. - - - The name of the 'fixed' attribute of an inline categories element in APP. - - - The value 'yes' of the 'fixed' attribute of an inline categories element in APP. - - - The value 'no' of the 'fixed' attribute of an inline categories element in APP. - - - XML namespace for GeoRss format - - - XML namespace prefix for GeoRss format - - - XML namespace for GML format - - - XML namespace prefix for GML format - - - - Helper methods used by the OData writer for the JSON format. - - - - - Write an error message. - - The JSON writer to write the error. - Action to write the instance annotations. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the __metadata property with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Will write the function's name and start the JSONP scope if we are writing a response and the - JSONP function name is not null or empty. - - JsonWriter to write to. - Writer settings. - - - - If we are writing a response and the given Json Padding function name is not null or empty - this function will close the JSONP scope. - - JsonWriter to write to. - Writer settings. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The output context for which to convert the URI. - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Write an error message. - - JSON writer. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - Instance annotations for this error. - Action to write the instance annotations. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Write an inner error property and message. - - The JSON writer to write the error to. - Inner error details. - The property name for the inner error property. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - Class with utility methods to work with HTTP concepts - - - - Reads a Content-Type header and extracts the media type's name (type/subtype) and parameters. - The Content-Type header. - The media type in standard type/subtype form, without parameters. - The (optional) charset parameter of the media type. - The parameters of the media type not including the 'charset' parameter. - - - Builds a Content-Type header which includes media type and encoding information. - Media type to be used. - Encoding to be used in response, possibly null. - The value for the Content-Type header. - - - Returns all media types from the specified (non-blank) . - Non-blank text, as it appears on an HTTP Accepts header. - An enumerable object with key/value pairs of media type descriptions with their (optional) charset parameter values. - - - - Does an ordinal ignore case comparision of the given media type names. - - First media type name. - Second media type name. - returns true if the media type names are the same. - - - - Does an ordinal ignore case comparision of the given MIME type parameter name. - - First parameter name. - Second parameter name. - returns true if the parameter names are the same. - - - Gets the best encoding available for the specified charset request. - - The Accept-Charset header value (eg: "iso-8859-5, unicode-1-1;q=0.8"). - - The media type used to compute the default encoding for the payload. - The encoding to use for UTF-8 charsets; we use the one without the BOM. - The encoding to use if no encoding could be computed from the or . - An Encoding object appropriate to the specifed charset request. - - - - Reads the numeric part of a quality value substring, normalizing it to 0-1000 - rather than the standard 0.000-1.000 ranges. - - Text to read qvalue from. - Index into text where the qvalue starts. - After the method executes, the normalized qvalue. - - For more information, see RFC 2616.3.8. - - - - - Validates that the HTTP method string matches one of the supported HTTP methods. - - The HTTP method string to validate. - - - - Determines whether the given HTTP method is one that is accepted for queries. GET is accepted for queries. - - The HTTP method to check. - True if the given httpMethod is GET. - - - - Gets the string status message for a given Http response status code. - - The status code to get the status message for. - The string status message for the . - - - - Returns the encoding object for the specified charset name. - - The of the charset to get the encoding for. - The encoding object or null if such encoding is not supported. - - - - Reads a token or quoted-string value from the header. - - Name of the header. - Header text. - Parsing index in . - Returns true if the value is a quoted-string, false if the value is a token. - Func to create the appropriate exception to throw from the given error message. - The token or quoted-string value that was read from the header. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - - Enumerates each charset part in the specified Accept-Charset header. - - Non-null and non-empty header value for Accept-Charset. - - A (non-sorted) enumeration of CharsetPart elements, which include - a charset name and a quality (preference) value, normalized to 0-1000. - - - - Reads a media type definition as used in a Content-Type header. - Text to read. - A list of key/value pairs representing the s and their (optional) 'charset' parameters - parsed from the specified - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - The (optional) charset parameter value. - - - Reads the type and subtype specifications for a media type name. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - - Determines whether the specified character is valid in the quoted header values. - - Character to verify. - true if c is a valid in a quoted HTTP header value; false otherwise. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Converts the specified character from the ASCII range to a digit. - - Character to convert. - - The Int32 value for c, or -1 if it is an element separator. - - - - - Verfies whether the specified character is a valid separator in - an HTTP header list of element. - - Character to verify. - true if c is a valid character for separating elements; false otherwise. - - - - "Reads" a literal from the specified string by verifying that - the exact text can be found at the specified position. - - Text within which a literal should be checked. - Index in text where the literal should be found. - Literal to check at the specified position. - true if the end of string is found; false otherwise. - - - - Structure to represent a charset name with a quality value. - - - - Name of the charset. - - - Charset quality (desirability), normalized to 0-1000. - - - - Initializes a new CharsetPart with the specified values. - - Name of charset. - Charset quality (desirability), normalized to 0-1000. - - - - Writer class used to write all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message writer was created. - - - A flag indicating whether we are writing a request or a response message. - - - The message writer settings to use when writing the message payload. - - - The model. Non-null if we do have metadata available. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - Flag to ensure that only a single write method is called on the message writer. - - - True if Dispose() has been called on this message writer, False otherwise. - - - The output context we're using to write the payload. - This is null until the first write operation is called. - - - The payload kind of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The batch boundary string if the payload to be written is a batch request or response. - This is either set via the SetHeadersForPayload method or implicitly when the CreateBatchWriter method is called. - - - Flag to prevent writing more than one error to the payload. - - - The media type resolver to use when interpreting the content type. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - Creates a new for the given request message. - The request message for which to create the writer. - - - Creates a new for the given request message and message writer settings. - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given request message and message writer settings. - - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the writer. - - - Creates a new for the given response message and message writer settings. - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given response message and message writer settings. - - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates an to write a feed. - The created writer. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - Asynchronously creates an to write a feed. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write an entry. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - Asynchronously creates an to write an entry. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - The created collection writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection writer. - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - - - Creates an to write a batch of requests or responses. - The created batch writer. - - - Asynchronously creates an to write a batch of requests or responses. - A running task for the created batch writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - - - Writes a service document with the specified as the message payload. - The default workspace to write in the service document. - - - Asynchronously writes a service document with the specified as the message payload. - A task representing the asynchronous operation of writing the service document. - The default workspace to write in the service document. - - - Writes an as the message payload. - The property to write. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the property. - The property to write - - - Writes an as the message payload. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the error. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Writes the result of a $links query as the message payload. - The entity reference links to write as message payload. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - Asynchronously writes the result of a $links query as the message payload. - A task representing the asynchronous writing of the entity reference links. - The entity reference links to write as message payload. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - - - Writes a singleton result of a $links query as the message payload. - The entity reference link to write as the message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - Asynchronously writes a singleton result of a $links query as the message payload. - A running task representing the writing of the link. - The link result to write as the message payload. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property information for the link being written, or null if none is available. - A running task representing the writing of the link. - - - Writes a single value as the message body. - The value to write. - - - Asynchronously writes a single value as the message body. - A running task representing the writing of the value. - The value to write. - - - Writes the metadata document as the message body. - - - implementation to cleanup unmanaged resources of the writer. - - - - Sets the content-type and data service version headers on the message used by the message writer. - This method can be called if it is important to set all the message headers before calling any of the - write (or writer creation) methods on the . - If it is sufficient to set the headers when the write (or writer creation) methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - The kind of payload to be written with this message writer. - The used for the specified . - - - - If no headers have been set, sets the content-type and data service version headers on the message used by the message writer. - If headers have been set explicitly (via ODataUtils.SetHeaderForPayload) this method verifies that the payload kind used to - create the headers is the same as the one being passed in . - - The kind of payload to be written with this message writer. - - - - Ensures that the version of the OData protocol is set. - - - If a version is specified explicitly on the writer settings, it is used. - Otherwise the method tries to read the version from the message headers. - If there is a version header but the value cannot be parsed, we fail. - If there is no version header, we fall back to the default version. - - - - - Ensures that the OData format is computed and set; if needed, sets the content type - header of the message. - - - This method computes and ensures that a content type exists and computes the - OData format from it. If a content type is explicitly specified through - - or it will be used. If no - content type is specified in either place, the message headers are checked for - a content type header. - If the content type is computed from settings, the content type header is set on the message. - - - - - Verifies that feed writer can be created. - - - - - Verifies that entry writer can be created. - - - - - Verifies that collection writer can be created. - - The item type of the collection being written or null if no metadata is available. - - - - Verifies that batch writer can be created. - - - - - Verifies that parameter writer can be created. - - The function import whose parameters will be written. - - - - Verifies headers for parameter payload. - - - - - Verifies that service document can be written. - - The default workspace to write. - - - - Verifies that property can be written. - - The property to write. - - - - Verifies that top-level error can be written. - - The error to write. - - - - Verifies that in-stream error can be written. - - The error to write. - - - - Verifies that entity reference links can be written. - - The entity reference links to write as message payload. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Verifies headers for entity reference links. - - The entity reference links to write as message payload. - - - - Verifies that entity reference link can be written. - - The link result to write as message payload. - - - - Verifies that value can be written. - - The value to write. - The payload kind to use when writing this value. - - - - Verifies that metadata document can be written. - - - - - Verifies headers for metadata document. - - - - - Verifies that the ODataMessageWriter has not been disposed and has not been used before. An ODataMessageWriter - can only be used to write a single message payload but can't be reused later except for writing an in-stream error. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Verifies that, if a payload kind has been set via SetHeaders, the payload kind that - is being written is the same. - - The payload kind that is attempted to write. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - The result of the write operation. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - The message writer settings to use when writing the message payload. - - - - - The media type resolver to use when interpreting the content type. - - - - - Wrapper class around an IODataResponseMessageAsync to isolate our code from the interface implementation. - - - This class also implements the message interface since it is passed to the payload kind - detection logic on the format implementations and manages the buffering read stream. - - - - The response message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The response message to wrap. - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative number if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The result status code of the response message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Wrapper class around an IODataRequestMessageAsync to isolate our code from the interface implementation. - - - - The request message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The request message to wrap. - true if the request message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Synchronously get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The request Url for this request message. - - - - - The HTTP method used for this request message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Represents an association link. - - - - the metadata builder for this association link. - - - URI representing the Unified Resource Locator (Url) of the link. - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this association link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets the name of the association link. - The name of the associate link. - This is the name of the navigation property to which the association link belongs. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - This URL should point to a resource which can be used to retrieve or modify the association itself - not the URL to traverse the navigation property. - - - - Class representing an error payload. - - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Gets the collection of instance annotations from this instance. - - The collection of instance annotations - - - - Adds an instance annotation from the payload to this instance. - - The name of the instance annotation. - The value of the instance annotation. - - - Gets or sets the error code to be used in payloads. - The error code to be used in payloads. - - - Gets or sets the error message. - The error message. - - - Gets or sets the language for the exception Message. - The language for the exception Message. - - - Gets or sets the implementation specific debugging information to help determine the cause of the error. - The implementation specific debugging information. - - - - Collection of custom instance annotations. - - - - - Utility class to check feature availability in a certain version of OData. - - - - - Check whether the inline count feature is supported in the specified version. - - The version to check. - - - - Check whether CollectionValue properties are supported in the specified version. - - The version to check. - The name of the property which holds the collection. - - - - Check whether CollectionValue is supported in the specified version. - - The version to check. - - - - Check whether the next link feature is supported in the specified version. - - The version to check. - - - - Check whether the delta link feature is supported in the specified version. - - The version to check. - - - - Check whether the named streams feature is supported in the specified version. - - The version to check. - - - - Check whether the association links feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Type Scheme feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Data Namespace feature is supported in the specified version. - - The version to check. - - - - Check whether parameters in the payload are supported in the specified version. - - The version to check. - - - - Check whether the EPM on the specified entity type is supported in the specified version. - - The version to check. - The entity type to check. - The model containing annotations for the entity type. - - - - Check whether the spatial value is supported in the specified version. - - The version to check. - - - - Checks that the version specified on the request or the response is supported by this library. - - The version to check. - The message reader settings specified for the reader. - In internal drops we currently do not support protocol version 3. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in ODataWriterCore.WriteEnd - - - Unreachable codepath in ODataWriterCore.ValidateTransition - - - Unreachable codepath in ODataWriterCore.Scope.Create - - - Unreachable codepath in ODataWriterCore.DuplicatePropertyNamesChecker. - - - Unreachable codepath in ODataWriterCore.ParentNavigationLinkScope. - - - Unreachable codepath in ODataUtils.VersionString - - - Unreachable codepath in ODataUtilsInternal.ToDataServiceVersion - - - Unreachable codepath in ODataUtilsInternal.IsPayloadKindSupported - - - Unreachable codepath in ODataUtils.GetDefaultEncoding - - - Unreachable codepath in ODataUtils.ParseSerializableEpmAnnotations - - - Unreachable codepath in ODataMessageWriter.WriteProperty - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLink - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLinks - - - Unreachable codepath in ODataMessageWriter.WriteError - - - Unreachable codepath in ODataMessageWriter.WriteServiceDocument - - - Unreachable codepath in ODataMessageWriter.WriteMetadataDocument - - - Unreachable codepath in EpmSyndicationWriter.WriteEntryEpm when writing content target. - - - Unreachable codepath in EpmSyndicationWriter.CreateAtomTextConstruct when converting text kind from Syndication enumeration. - - - Unreachable codepath in EpmSyndicationWriter.WritePersonEpm. - - - Unhandled EpmTargetPathSegment.SegmentName in EpmSyndicationWriter.WriteParentSegment. - - - Unreachable codepath in ODataAtomConvert.ToString(AtomTextConstructKind) - - - Unreachable codepath in ODataCollectionWriter.CreateCollectionWriter - - - Unreachable codepath in ODataCollectionWriterCore.ValidateTransition - - - Unreachable codepath in ODataCollectionWriterCore.WriteEnd - - - Unreachable codepath in ODataParameterWriter.CreateParameterWriter - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.WriteEndImplementation - - - Unreachable codepath in ODataPathValidator.ValidateSegment root branch - - - Unreachable codepath in ODataPathValidator.ValidateSegment non-root branch - - - Unreachable codepath in ODataBatchWriter.ValidateTransition - - - Unreachable codepath in ODataBatchWriter.ToText(this HttpMethod). - - - Unreachable codepath in ODataBatchReader.ReadImplementation. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Completed. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Exception. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary because of invalid enum value. - - - Unreachable codepath in ODataBatchReaderStream.SkipToBoundary. - - - Unreachable codepath in ODataBatchReaderStream.ReadLine. - - - Unreachable codepath in ODataBatchReaderStream.ReadWithDelimiter. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ScanForBoundary. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ReadWithLength. - - - Unreachable codepath in JsonReader.Read. - - - Unreachable codepath in ODataReader.CreateReader. - - - Unreachable codepath in ODataReaderCore.ReadImplementation. - - - Unreachable codepath in ODataReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataVerboseJsonEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataVerboseJsonReader.ReadEntryStart. - - - Unreachable codepath in ODataVerboseJsonPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataCollectionReader.CreateReader. - - - Unreachable codepath in ODataCollectionReaderCore.ReadImplementation. - - - Unreachable codepath in ODataCollectionReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataParameterReaderCore.ReadImplementation. - - - Unreachable codepath in ODataParameterReaderCoreAsync.ReadAsynchronously. - - - The value from the parameter reader must be a primitive value, an ODataComplexValue or null - - - Unreachable codepath in ODataAtomReader.ReadAtNavigationLinkStartImplementation. - - - Unreachable codepath in ODataAtomPropertyAndValueDeserializer.ReadNonEntityValue. - - - Unreachable codepath in AtomValueUtils.ConvertStringToPrimitive. - - - Unreachable codepath in EdmCoreModel.PrimitiveType (unsupported type). - - - Unreachable codepath in EpmSyndicationReader.ReadEntryEpm when reading content target. - - - Unreachable codepath in EpmSyndicationReader.ReadParentSegment. - - - Unreachable codepath in EpmSyndicationReader.ReadPersonEpm. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found unexpected type kind. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found EPM for a primitive stream property. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the strict branch, unexpected type kind. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the lax branch, unexpected type kind. - - - Unreachable codepath in EpmExtensionMethods.ToAttributeValue(ODataSyndicationItemProperty) when found unexpected type syndication item property kind. - - - The ODataMetadataFormat.CreateOutputContextAsync was called, but this method is not yet supported. - - - The ODataMetadataFormat.CreateInputContextAsync was called, but this method is not yet supported. - - - An unsupported method or property has been called on the IDictionary implementation of the ODataModelFunctions. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.GetNonEntityValueKind. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataJsonLightReader.ReadEntryStart. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer_ReadTopLevelFeedAnnotations.ReadTopLevelFeedAnnotations. - - - Unreachable codepath in ODataJsonLightReader.ReadFeedEnd. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart.TypeKindFromPayloadFunc. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionEnd. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadSingleEntityReferenceLink. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadEntityReferenceLinksAnnotations. - - - Unreachable codepath in ODataJsonLightParameterDeserializer.ReadNextParameter. - - - Unreachable codepath in ODataJsonLightAnnotationGroupDeserializer.ReadAnnotationGroupDeclaration. - - - Unreachable codepath in EdmTypeWriterResolver.GetReturnType for function import group. - - - Unreachable codepath in the indexer of ODataVersionCache for unknown versions. - - - - Implementation of the ODataWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON entry and feed seriazlizer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the __count property for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - - - - Returns the current VerboseJsonFeedScope. - - - - - A scope for a verbose JSON feed. - - - - true if the __count was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the __count was already written, false otherwise. - - - - - Uri utility methods. - - - - - An absolute Uri to use as the base Uri for escaping a Uri fragment. - - - - - Returns an absolute URI constructed from the specified base URI and a relative URI - - The base URI to use. - The relative URI to use. - The absolute URI as a result of combining the base URI with the relative URI. - - - - A method to ensure that the original string of a relative URI is escaped. - - The relative to escape. - A relative URI instance with guaranteed escaped original string. - - - - Gets the escaped metadata reference property name. - - The metadata reference property name in question. - The Uri escaped metadata reference property name. - - - - OData representation of a Collection. - - - - Gets or sets the type of the collection value. - The type of the collection value. - - - Gets or sets the items in the bag value. - The items in the bag value. - - - - Configuration settings for OData message writers. - - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - fields and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - An instance representing any knobs that control the behavior of the writers - inside and outside of WCF Data Services. - - - - Stores the base uri for the metadata document along with a select clause. - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - Initializes a new instance of the class with default settings. - - - Initializes a new instance of the class with specified settings. - The specified settings. - - - Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. - The acceptable media types used to determine the content type of the message. This is a comma separated list of content types as specified in RFC 2616, Section 14.1. - The acceptable charsets to use to determine the encoding of the message. This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - Calling this method replaces any previously set content-type settings. - - - Sets the format to be used when writing the payload. This will automatically set a compatible content type header. - The format to use for writing the payload. - Calling this method replaces any previously set content-type settings. - - - Sets the customization XML format for Atom entry. - The start of the Atom entry XML customization callback. - The end of the Atom entry XML customization callback. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - This method only applies when writing ATOM format payloads. - When writing payloads in different formats, this method has no effect. - param name="atomStartEntryXmlCustomizationCallback" - If non-null this func will be called when a new (non-null) entry is to be written. - It takes two parameters: - - ODataEntry entry - which is the entry to be written. - - XmlWriter writer - which is the current XmlWriter used by the ODataWriter to write the entry. - It returns XmlWriter: - - null - means there's no need to customize the XML for this entry, and thus the original writer will be used to write the entry. - - non-null XmlWriter - the ODataWriter will use the new returned writer to write the entry. - Once the entry has been written the EndEntryXmlCustomizationCallback will be called and the writer will be passed to it. - Note that the ODataWriter will not dipose or otherwise clear the writer. - The callback must never return the same instance as the writer parameter! - param name="atomEndEntryXmlCustomizationCallback" - If non-null this action will be called when a (non-null) entry has been written. - The action takes three parameters: - - ODataEntry entry - which is the entry which was written. - - XmlWriter entryWriter - the XmlWriter used to write the entry. The action must dispose or otherwise clear this writer. - - XmlWriter parentWriter - the XmlWriter used to write the parent scope of the entry. This is the writer which will be used to write further - payload once this action returns. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - true if the server is configured to leave prefixes off all root elements and anything else in the same namespace, otherwise, false. - - - Enables the WCF data services client behavior. - The start of the entry XML customization callback. - The end of the entry XML customization callback. - The OData namespace. - The type scheme. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - - - - Sets the URI of the metadata document. - The URI of the metadata document. - - - Sets the URI of the metadata document. - The URI of the metadata document. - The select clause. - - - - Determines if there is a JSON padding function defined. - - True if the JsonPCallback property is not null or emtpy. - - - - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - - Gets or sets the OData protocol version to be used for writing payloads. - The OData protocol version to be used for writing payloads. - - - Gets or sets the document base URI which is used as base for all relative URIs. - The document base URI which is used as base for all relative URIs. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets a callback function use to wrap the response from server. - The callback function used to wrap the response from server. - If it has a value and we are writing a JSON response, then we will wrap the entirety of the response in - the provided function name and parenthesis for JSONP. Otherwise this value is ignored. - - - - Gets or sets a value that indicates whether the writer should automatically generate or omit metadata in JSON payloads based on the metadata level. - - - Payload metadata includes the type names of entries and property values as well as any information that may be computed automatically, such as edit links. - If, for example, ODataEntry.EditLink is not specified, then it will be automatically computed and written out in full metadata mode. - If ODataEntry.EditLink is specified, then that value will be considered an "override" of the default computed edit link, and will be written out in full and minimal metadata modes. It will not be written in no metadata mode. - - - - - Gets or sets a value that indicates whether the writer should put key values in their own URI segment when automatically building URIs. - If this value is false, automatically-generated URLs will take the form "../EntitySet('KeyValue')/..". - If this value is true, automatically-generated URLs will take the form "../EntitySet/KeyValue/..". - If this value is not set (null), decision will be made based on the "Com.Microsoft.Data.Services.Conventions.V1.UrlConventions" vocabulary - annotation on the IEdmEntityContainer, if available. The default behavior is to put key values inside parentheses and not a distinct URL segments. - This setting only applies to URLs that are automatically generated by the and does not modify URLs explicitly provided by the user. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - A null or empty accept header means that all content types are acceptable. - For response messages this is usually the 'Accept' header of the request message. - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - A null or empty accept charset header means that all charsets are acceptable. - For response messages this is usually the 'Accept-Charset' header of the request message. - - - - The writer behavior that holds all the knobs needed to make the writer - behave differently inside and outside of WCF Data Services. - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - properties and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - Gets the metadata document URI that has been set on the settings, or null if it has not been set. - - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - Constant values related to media types. - - - - Media type for requesting any media type. - - - 'application' - media type for application types. - - - 'text' - media type for text subtypes. - - - 'multipart' - media type. - - - 'atom+xml' - constant for atom+xml subtypes. - - - 'atomsvc+xml' - constant for atomsvc+xml subtypes. - - - 'xml' - constant for xml subtypes. - - - 'json' - constant for JSON subtypes. - - - 'plain' - constant for text subtypes. - - - 'javascript' - constant for javascript subtypes. - - - 'octet-stream' subtype. - - - 'mixed' subtype. - - - 'http' subtype. - - - Parameter name for 'type' parameters. - - - Parameter value for type 'entry'. - - - Parameter value for type 'feed'. - - - Parameter name for 'odata' parameters. - - - Parameter value for 'verbose' JSON. - - - JSON Light parameter value 'fullmetadata'. - - - JSON Light parameter value 'minimalmetadata'. - - - JSON Light parameter value 'nometadata'. - - - Parameter name for 'streaming' parameter. - - - JSON Light streaming parameter value 'true'. - - - JSON Light streaming parameter value 'false'. - - - Media type for XML bodies. - - - Media type for ATOM payloads. - - - Media type for links referencing a single entry. - - - Media type for links referencing a collection of entries. - - - Media type for JSON payloads. - - - Media type for binary raw content. - - - Media type for batch parts. - - - Media type for Xml bodies (deprecated). - - - Media type for raw content (except binary). - - - Media type for javascript content. - - - Media type for raw content (except binary). - - - The '*' wildcard usable in type names and subtype names. - - - Separator between mediat type and subtype. - - - - Helper methods used by the OData writer for the ATOM format. - - - - - Creates an Xml writer over the specified stream, with the provided settings and encoding. - - The stream to create the XmlWriter over. - The OData message writer settings used to control the settings of the Xml writer. - The encoding used for writing. - An instance configured with the provided settings and encoding. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write the m:etag attribute with the given string value. - - The Xml writer to write to. - The string value of the ETag. - - - - Write the m:null attribute with a value of 'true' - - The Xml writer to write to. - - - - Writes raw markup with the given writer, adding the xml:space="preserve" attribute to the element if the markup has leading or trailing whitespace. - - The to write to. - A string containing the text to write. - - - - Writes a string with the given writer, adding the xml:space="preserve" attribute to the element if the string has leading or trailing whitespace. - - The to write to. - The string to write as element text content. - - - - Creates a new XmlWriterSettings instance using the encoding. - - Configuration settings of the OData writer. - Encoding to use in the writer settings. - The Xml writer settings to use for this writer. - - - - Writes an xml:space="preserve" attribute if the given value starts or ends with whitespace. - - The writer to use for writing out the attribute string. - The value to check for insignificant whitespace. - - - - Utility methods around writing of ATOM values. - - - - The characters that are considered to be whitespace by XmlConvert. - - - - Converts the given value to the ATOM string representation - and uses the writer to write it. - - The writer to write the stringified value. - The value to be written. - - - Converts the specified value to a serializable string in ATOM format, or throws an exception if the value cannot be converted. - Non-null value to convert. - The specified value converted to an ATOM string. - - - - Reads a value of an XML element and converts it to the target primitive value. - - The XML reader to read the value from. - The primitive type reference to convert the value to. - The primitive value read. - This method does not read null values, it only reads the actual element value (not its attributes). - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - - - - Converts a given to a string appropriate for Atom format. - - The text construct kind to convert. - The string version of the text construct format in Atom format. - - - Converts the specified value to a serializable string in ATOM format. - Non-null value to convert. - The specified value converted to an ATOM string. - boolean value indicating conversion successful conversion - - - - Converts a string to a primitive value. - - The string text to convert. - Type to convert the string to. - The value converted to the target type. - This method does not convert null value. - - - - Reimplementation of XmlConvert.ToBoolean that accepts 'True' and 'False' in addition - to 'true' and 'false'. - - The string value read from the Xml reader. - The converted boolean value. - - - - Constant values used by the OData or HTTP protocol or OData library. - - - - - HTTP method name for GET requests. - - - - - HTTP method name for POST requests. - - - - - HTTP method name for PUT requests. - - - - - HTTP method name for DELETE requests. - - - - - HTTP method name for PATCH requests. - - - - - Custom HTTP method name for MERGE requests. - - - - - Name of the HTTP content type header. - - - - - Name of the OData 'DataServiceVersion' HTTP header. - - - - - Name of the HTTP content-ID header. - - - - - Name of the Content-Length HTTP header. - - - - - 'q' - HTTP q-value parameter name. - - - - Http Version in batching requests and response. - - - 'charset' - HTTP parameter name. - - - multi-part keyword in content-type to identify batch separator - - - Name of the HTTP content transfer encoding header. - - - Content-Transfer-Encoding value for batch payloads. - - - The default protocol version to use in ODataLib if none is specified. - - - The template used when computing a batch request boundary. - - - The template used when computing a batch response boundary. - - - The template used when computing a request changeset boundary. - - - The template used when computing a response changeset boundary. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - Weak etags in HTTP must end with ". - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The default maximum allowed recursion depth for recursive payload definitions, such as complex values inside complex values. - - - The default maximum number of bytes that should be read from a message. - - - The default maximum number of top-level operations and changesets per batch payload. - - - The default maximum number of operations per changeset. - - - The default maximum number of entity property mapping attributes for an entity type (on the type itself and all its base types). - - - The maximum recognized OData version by this library. - - - The '/' (forward slash) which is the URI segment separator. - - - The '/' (forward slash) which is the URI segment separator. - - - The '$links' segment name for constructing association links. - - - The '$value' segment name for the default stream value. - - - - Internal utility methods used in the OData library. - - - - - Converts a given to its representation. - - The instance to convert. - The representation of the . - - - - Sets the 'DataServiceVersion' HTTP header on the message based on the protocol version specified in the settings. - - The message to set the data service version header on. - The determining the protocol version to use. - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Checks whether a payload kind is supported in a request or a response. - - The to check. - true if the check is for a request; false for a response. - true if the is valid in a request or response respectively based on . - - - - Concats two enumerables. - - Element type of the enumerable. - Enumerable 1 to concat. - Enumerable 2 to concat. - Returns the combined enumerable. - - - - Gets the selected properties from the given . - - The instance to get the selected properties node from. - The selected properties node instance. - This can be a property on . Having it as an extension method here so we don't have to do the null check at the call site. - - - - OData writer for the ATOM format. - - - - Value for the atom:updated element. - - The writer will use the same default value for the atom:updated element in a given payload. While there is no requirement for this, - it saves us from re-querying the system time and converting it to string every time we write an item. - - - - The output context to write to. - - - The serializer to write payload with. - - - - Constructor creating an OData writer using the ATOM format. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the collection of to the ATOM payload. - - The collection of to write. - Helper class to track if an annotation has been writen. - - - - Writes the collection of for the given to the ATOM payload. - - The feed to write the for. - The current feed scope. - - - - Write the content of the given entry. - - The entry for which to write properties. - The of the entry (or null if not metadata is available). - The cache of properties. - The root of the EPM source tree, if there's an EPM applied. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link start atom:link element including the m:inline element if there's a parent navigation link. - - - - - Writes the navigation link end m:inline and end atom:link elements if there's a parent navigation link. - - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Writes custom extensions and the end element for a navigation link - - - - - Determines if XML customization should be applied to the entry and applies it. - - The entry to apply the customization to. - This method must be called before anything is written for the entry in question. - - - - Ends XML customization for the entry (if one was applied). - - The entry to end the customization for. - This method must be called after all the XML for a given entry is written. - - - - Returns the current AtomEntryScope. - - - - - Returns the current AtomFeedScope. - - - - - Enumeration of ATOM element flags, used to keep track of which elements were already written. - - - - The atom:id element. - - - The atom:link with rel='self'. - - - The atom:link with rel='edit'. - - - - A scope for an feed. - - - - true if the author element was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the author element was already written, false otherwise. - - - - - A scope for an entry in ATOM writer. - - - - Bit field of the ATOM elements written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The ATOM element which was written. - - - - Determines if the was already written for this entry scope. - - The ATOM element to test for. - true if the was already written for this entry scope; false otherwise. - - - - Enumeration representing the OData protocol version. - - - - Version 1.0. - - - Version 2.0. - - - Version 3.0. - - - - Writes text indented as per the indentation level setting - - - - - The indentation string to prepand to each line for each indentation level. - - - - - The underlying writer to write to. - - - - - Set to true if the writer should actually indent or not. - - - - - Number which specifies the level of indentation. Starts with 0 which means no indentation. - - - - - Set to true if indentation should be written before the next string is written. - - - - - Constructor - - The underlying writer to wrap. - Set to true if the writer should actually indent or not. - - - - Increases the level of indentation applied to the output. - - - - - Decreases the level of indentation applied to the output. - - - - - Closes the underlying writer. - - - - - Clears the buffer of the current writer. - - - - - Writes the given string value to the underlying writer. - - String value to be written. - - - - Writes the given char value to the underlying writer. - - Char value to be written. - - - - Writes a new line. - - - - - Closes or disposes the underlying writer. - - - - - Writes the tabs depending on the indent level. - - - - - Returns the Encoding for the given writer. - - - - - Returns the new line character. - - - - - Constants for the JSON format. - - - - - "results" header for Json data array. - - - - - Text used to start a data object wrapper in JSON. - - - - - Data property name of the data object wrapper in JSON. - - - - - "id" header for the id of an Entry. - - - - - "__metadata" header for Json metadata object - - - - - "uri" header for the URI identifying the entry being represented. - - - - - "type" header for the type name of the entity - - - - - "etag" header for the ETag of an entity - - - - - "__mediaresource" property name for the metadata of a stream reference value. - - - - - "media_src" header for the MLE read link - - - - - "content_type" header for the MLE - - - - - "media_etag" header for the MLE - - - - - "edit_media" header for the MLE - - - - - "properties" header for the property metadata - - - - - "associationuri" header for the association link url of a navigation property - - - - - "__count" header for the inline count in a feed - - - - - "__next" header for the next link in a feed - - - - - "__deferred" header for the non-expanded link in an entry - - - - - "uri" header for the navigation link URL - - - - - The name of the property returned for a singleton $links query - - - - "actions" header for entry metadata. - - - "functions" header for entry metadata. - - - "title" header for "actions" and "functions" metadata. - - - "metadata" header for "actions" and "functions" metadata. - - - "target" header for "actions" and "functions" metadata. - - - - "error" header for the error payload - - - - - "code" header for the error code property - - - - - "message" header for the error message property - - - - - "lang" header for the error message language property - - - - - "value" header for the error message value property - - - - - "innererror" header for the inner error property - - - - - "message" header for an inner error (for Astoria compatibility) - - - - - "typename" header for an inner error (for Astoria compatibility) - - - - - "stacktrace" header for an inner error (for Astoria compatibility) - - - - - "internalexception" header for an inner, inner error property (for Astoria compatibility) - - - - - JSON datetime format. - - - - - JSON datetime offset format. - - - - - A plus sign for the date time offset format. - - - - - The fixed property name for the entity sets array in a service document payload. - - - - - The true value literal. - - - - - The false value literal. - - - - - The null value literal. - - - - - Character which starts the object scope. - - - - - Character which ends the object scope. - - - - - Character which starts the array scope. - - - - - Character which ends the array scope. - - - - - "(" Json Padding Function scope open parens. - - - - - ")" Json Padding Function scope close parens. - - - - - The separator between object members. - - - - - The separator between array elements. - - - - - The separator between the name and the value. - - - - - The quote character. - - - - - Writer for the JSON format. http://www.json.org - - - - - Writer to write text into. - - - - - Scope of the json text - object, array. - - - - - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - - Creates a new instance of Json writer. - - Writer to which text needs to be written. - If the output should be indented or not. - The json-based format to use when writing. - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Various scope types for Json writer. - - - - - Array scope. - - - - - Object scope. - - - - - JSON padding function scope. - - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - What to write at the beginning of this scope. - - - - - What to write at teh end of this scope. - - - - - Get/Set the object count for this scope. - - - - - Gets the scope type for this scope. - - - - - Class with utility methods to work with exceptions - - - - Type of OutOfMemoryException. - - - Type of StackOverflowException. - - - Type of ThreadAbortException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - Checks the argument value for null and throws if it is null. - - Type of the argument, used to force usage only for reference types. - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value empty string and throws if it is empty. The value can be null though. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value for null or empty string and throws if it is null or empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being negative and throws if it is negative. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - Type of the collection. It does not matter. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Provides helper method for converting data values to and from the OData JSON format. - - - - - Const tick value for caculating tick values. - - - - - Characters which, if found inside a number, indicate that the number is a double when no other type information is available. - - - - - Map of special characters to strings. - - - - - Write a boolean value. - - The text writer to write the output to. - The boolean value to write. - - - - Write an integer value. - - The text writer to write the output to. - Integer value to be written. - - - - Write a float value. - - The text writer to write the output to. - Float value to be written. - - - - Write a short value. - - The text writer to write the output to. - Short value to be written. - - - - Write a long value. - - The text writer to write the output to. - Long value to be written. - - - - Write a double value. - - The text writer to write the output to. - Double value to be written. - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - Write a Guid value. - - The text writer to write the output to. - Guid value to be written. - - - - Write a decimal value - - The text writer to write the output to. - Decimal value to be written. - - - - Write a DateTime value - - The text writer to write the output to. - DateTime value to be written. - The format to write out the DateTime value in. - - - - Write a DateTimeOffset value. - - The text writer to write the output to. - DateTimeOffset value to be written. - The format to write out the DateTime value in. - - - - Write a TimeSpan value. - - The text writer to write the output to. - TimeSpan value to be written. - - - - Write a byte value. - - The text writer to write the output to. - Byte value to be written. - - - - Write an sbyte value. - - The text writer to write the output to. - SByte value to be written. - - - - Write a string value. - - The text writer to write the output to. - String value to be written. - - - - Returns the string value with special characters escaped. - - The text writer to write the output to. - Input string value. - - - - Converts the number of ticks from the JSON date time format to the one used in .NET DateTime or DateTimeOffset structure. - - The ticks to from the JSON date time format. - The ticks to use in the .NET DateTime of DateTimeOffset structure. - - - - Write the string value with quotes. - - The text writer to write the output to. - String value to be written. - - - - Converts the number of ticks from the .NET DateTime or DateTimeOffset structure to the ticks use in the JSON date time format. - - The ticks from the .NET DateTime of DateTimeOffset structure. - The ticks to use in the JSON date time format. - - - - Converts a given date time to its universal date time equivalent. - - The date time to convert to UTC - universal date time equivalent of the value. - - - - Creates the special character to escaped string map. - - The map of special characters to the corresponding escaped strings. - - - - OData representation of a complex value. - - - - Gets or sets the properties and values of the complex value. - The properties and values of the complex value. - - - Gets or sets the type of the complex value. - The type of the complex value. - - - - Describes a collection of entities. - - - - - URI representing the next page link. - - - - - URI representing the delta link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the number of items in the feed. - The number of items in the feed. - - - Gets or sets the URI that identifies the entity set represented by the feed. - The URI that identifies the entity set represented by the feed. - - - Gets or sets the URI representing the next page link. - The URI representing the next page link. - - - - URI representing the delta link. - - - - - Collection of custom instance annotations. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single link. - - - - the metadata builder for this navigation link. - - - URI representing the Unified Resource Locator (Url) of the link as provided by the user or seen on the wire (never computed). - - - true if the navigation link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - The association link URL for this navigation link as provided by the user or seen on the wire (never computed). - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this navigation link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets a value that indicates whether the navigation link represents a collection or an entry. - true if the navigation link represents a collection; false if the navigation represents an entry. - This property is required to have a value for ATOM payloads and is optional for JSON payloads. - - - Gets or sets the name of the link. - The name of the link. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - - - The association link URL for this navigation link. - - - - Represents a media resource. - - - - the metadata builder for this OData entry. - - - The name of the named stream this value belongs to; null for the default media resource. - - - Edit link for media resource. - - - Edit link for media resource. - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - Read link for media resource. - - - Read link for media resource. - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - Sets the metadata builder for this stream reference value. - - The metadata builder used to compute values from model annotations. - The property name for the named stream; null for the default media resource. - - - - Gets the metadata builder for this stream reference value. - - The metadata builder used to compute links. - - - Gets or sets the edit link for media resource. - The edit link for media resource. - - - Gets or sets the read link for media resource. - The read link for media resource. - - - Gets or sets the content media type. - The content media type. - - - Gets or sets the media resource ETag. - The media resource ETag. - - - - Represents a single property of an entry. - - - - - The value of this property, accessed and set by both and . - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the property name. - The property name. - - - Gets or sets the property value. - The property value. - - - - Property value, represented as an ODataValue. - - - This value is the same as , except that primitive types are wrapped - in an instance of ODataPrimitiveValue, and null values are represented by an instance of ODataNullValue. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single entity. - - - - the metadata builder for this OData entry. - - - The entry ETag, as provided by the user or seen on the wire (never computed). - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - The Entry ID, as provided by the user or seen on the wire (never computed). - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - Link used to edit the entry, as provided by the user or seen on the wire (never computed). - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - A link that can be used to read the entry, as provided by the user or seen on the wire (never computed). - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - The default media resource of the media link entry, as provided by the user or seen on the wire (never computed). - - - The entry properties provided by the user or seen on the wire (never computed). - - - The entry actions provided by the user or seen on the wire (never computed). - - - The entry functions provided by the user or seen on the wire (never computed). - - - - Provides additional serialization information to the for this . - - - - Gets or sets the entry ETag. - The entry ETag. - - - Gets or sets the Entry identifier. - The Entry identifier. - - - Gets or sets the link used to edit the entry. - The link used to edit the entry. - - - Gets or sets a link that can be used to read the entry. - The link that can be used to read the entry. - - - Gets or sets the default media resource of the media link entry. - The default media resource of the media link entry. - - - Gets or sets the association links. - The association links. - - - Gets or sets the entity actions. - The entity actions. - - - Gets or sets the entity functions. - The entity functions. - - - Gets or sets the entry properties. - The entry properties. - - Non-property content goes to annotations. - - - - Gets or sets the type name of the entry. - The type name of the entry. - - - - Collection of custom instance annotations. - - - - - The metadata builder for this OData entry. - - - - - Returns the entry's Id property that has been set directly, and was not computed using the metadata builder. - - - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's EditLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ReadLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ETag property that has been set directly, and was not computed using the metadata builder. - - - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - - Returns the default media resource of the media link entry that has been set directly and was not computed using the metadata builder. - - - Returns the entity properties that has been set directly and was not computed using the metadata builder. - - - Returns the entity actions that has been set directly and was not computed using the metadata builder. - - - Returns the entity functions that has been set directly and was not computed using the metadata builder. - - - - Provides additional serialization information to the for this . - - - - - Class with utility methods for working with and implementing Task based APIs - - - - - Already completed task. - - - - - Returns an already completed task instance with the specified result. - - Type of the result. - The value of the result. - An already completed task with the specified result. - - - - Returns an already completed task instance with the specified error. - - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task instance with the specified error. - - Type of the result. - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task for the specified synchronous operation. - - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over CompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation. - - The type of the result returned by the operation. This MUST NOT be a Task type. - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over GetCompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The type of the task result. - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted and it failed with exception of type TExceptionType. - - The type of the result of the task. - The exception type to catch. - The task to "append" the operation to. - The operation to execute if the faulted with an exception of type TExceptionType. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails and the exception is not of the TExceptionType, - if the exception type matches, the task will return the value returned by the catchBlock. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - Suppresses default exception handling of a Task that would otherwise reraise the exception on the finalizer thread. - The Task to be monitored. - The original Task. - - - Gets the TaskScheduler instance that should be used to schedule tasks. - Factory to get the scheduler for. - The scheduler for the specified factory. - - - Asynchronously iterates through an enumerable of tasks. - The target factory. - The enumerable containing the tasks to be iterated through. - A Task that represents the complete asynchronous operation. - - - - The func used as the continuation (the func in the ContinueWith) for FollowOnSuccess implementations. - - The type of the result of the operation to follow up with. - The task which just finished. - The task completion source to apply the result to. - The func to execute as the follow up action in case of success of the . - - - - The implementation helper for FollowOnSuccess methods which don't allow result type of Task. - - The type of the result of the followup operation, this MUST NOT be a Task type. - The task to follow with operation. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFault methods. - - The type of the result of the task. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFaultAndCatchException methods. - - The type of the result of the task. - The type of the exception to catch. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - Function which gets a task result. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns already completed task instance. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The format '{0}' does not support writing a payload of kind '{1}'." - - - - - A string like "The format '{0}' does not support writing custom instance annotations." - - - - - A string like "The format '{0}' does not support reading a payload of kind '{1}'." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but the metadata document URI or the metadata for the item to be written was not specified for the writer. The metadata document URI and the metadata for the item to be written must be provided to the writer when using relative URI values." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but a base URI was not specified for the writer. A base URI must be set when using relative URI values." - - - - - A string like "The property '{0}' is a stream property, but it is not a property of an ODataEntry instance. In OData, stream properties must be properties of ODataEntry instances." - - - - - A string like "An invalid state transition has been detected in an OData writer. Cannot transition from state '{0}' to state '{1}'." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write a navigation link." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. You must first call ODataWriter.WriteEnd to finish writing a null ODataEntry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write an entry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing further can be written once the writer has completed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing can be written once the writer entered the error state." - - - - - A string like "ODataWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Entry', 'Feed', 'NavigationLink', and 'NavigationLinkWithContent'." - - - - - A string like "Multiple properties with the name '{0}' were detected in an entry or a complex value. In OData, duplicate property names are not allowed." - - - - - A string like "Multiple navigation links with the same name '{0}' for a singleton navigation property were detected on an entry. In OData, a singleton navigation property can have only one navigation link." - - - - - A string like "Multiple annotations with the name '{0}' were detected. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the property with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the instance annotation with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "An annotation with name '{0}' for property '{1}' was detected after the property, or after an annotation for another property. In OData, annotations for a property must be in a single group and must appear before the property they annotate." - - - - - A string like "Cannot convert a value of type '{0}' to the string representation of an Atom primitive value." - - - - - A string like "The value of type '{0}' is not supported and cannot be converted to a JSON representation." - - - - - A string like "The version '{0}' specified by the payload is higher than the maximum protocol version '{1}' specified by the ODataMessageReaderSettings.MaxProtocolVersion property." - - - - - A string like "The property '{0}' is not supported when ODataVersion is greater than '{1}'." - - - - - A string like "Parameters in the payload are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Association links are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The inline count feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The next link feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The delta link feature is only supported in version 3.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "A collection property '{0}' was detected; Collection properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {1}." - - - - - A string like "Collection types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Stream properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The entity property mapping specified on type '{0}' is only supported in version {1} of the OData protocol and higher versions. It is not supported in version {2}." - - - - - A string like "Geography and Geometry types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The '{0}' value for the href of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When an href is specified in metadata, the href values must match." - - - - - A string like "The '{0}' value for the title of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a title is specified in metadata, the titles must match." - - - - - A string like "The '{0}' value for the relation of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a relation is specified in metadata, the relations must match." - - - - - A string like "The '{0}' value for the media type of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. If a media type is specified in metadata, the media types must match." - - - - - A string like "An annotation of type string was expected for the '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' annotation, but an annotation of type '{1}' was found." - - - - - A string like "The '{0}' value for the term of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a term is specified in Atom metadata, the terms must match." - - - - - A string like "The '{0}' value for the scheme of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a scheme is specified in Atom metadata, the schemes must match." - - - - - A string like "The text kind '{1}' specified by the atom metadata property '{0}' conflicts with the text kind '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify text kinds, those text kinds must be equal." - - - - - A string like "The value '{1}' specified by the atom metadata property '{0}' conflicts with the value '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify a value, these values must be equal." - - - - - A string like "The content type '{0}' is not supported when writing raw values." - - - - - A string like "Cannot set message headers for the invalid payload kind '{0}'." - - - - - A string like "The payload kind '{0}' used in the last call to ODataUtils.SetHeadersForPayload is incompatible with the payload being written, which is of kind '{1}'." - - - - - A string like "The stream property '{0}' cannot be written to the payload as a top level property." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with an owning type '{0}' of kind '{1}'. The owning type of a property can only be of kind Complex or Entity." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with a producing function import with return type '{0}'. The producing function import for property payloads must return type which is either a primitive, complex, primitive collection of complex collection type." - - - - - A string like "The navigation property named '{0}' given to ODataMessageWriter.WriteEntityReferenceLinks represents a singleton property. When writing multiple entity reference links, the navigation property must be a collection." - - - - - A string like "A JsonPaddingFunctionName was specified, but the content-type '{0}' is not supported with Json Padding." - - - - - A string like "The type '{0}' specified as the collection's item type is not primitive or complex. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "Cannot create an ODataCollectionWriter for ODataFormat.{0}. Only ODataFormat.PlainXml and ODataFormat.Json are supported." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write the collection or to write nothing at all." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or to write the end of the collection." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or the end of the collection." - - - - - A string like "ODataCollectionWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Start', 'Collection', and 'Item'." - - - - - A string like "A collection with name '{0}' is being written with producing function import name '{1}'. If the producing function import is specified the collection name must be either null or match the name of the function import." - - - - - A string like "The producing function import '{0}' specified for the collection writer returns type '{1}' which is not a collection of primitive or complex values. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "An invalid HTTP method '{0}' was detected for a query operation. Query operations only support the HTTP 'GET' method." - - - - - A string like "An invalid HTTP method '{0}' was detected for a request in a change set. Requests in change sets only support the HTTP methods 'POST', 'PUT', 'DELETE', 'MERGE', and 'PATCH'." - - - - - A string like "The header with name '{0}' was not present in the header collection of the batch operation." - - - - - A string like "Multiple headers with names that match '{0}', when using a case insensitive comparison, have been added. When case-insensitive header names are used, at most one header can be added for each name." - - - - - A string like "The parameter '{0}' has already been written. Duplicate parameter names are not allowed in the parameter payload." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call WriteValue on a parameter that is not of Edm type kinds 'Primitive' or 'Complex'." - - - - - A string like "The value for parameter '{0}' is of type '{1}'. WriteValue can only write null, ODataComplexValue and primitive types that are not Stream type." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call CreateCollectionWriter on a parameter that is not of Edm type kind 'Collection'." - - - - - A string like "The name '{0}' is not a recognized parameter name for function import '{1}'." - - - - - A string like "The parameters {0} of the function import '{1}' could not be found when writing the parameter payload. All parameters present in the function import must be written to the parameter payload." - - - - - A string like "The current batch message contains too many parts. Only batch messages with a maximum number of '{0}' query operations and change sets are allowed." - - - - - A string like "The current change set contains too many operations. Only change sets with a maximum number of '{0}' operations are allowed." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader. When the relative URI is a reference to a content ID, the content ID does not exist in the current change set." - - - - - A string like "The method CreateOperationRequestMessage was called in state '{0}', which is not allowed. CreateOperationRequestMessage can only be called in state 'Operation'." - - - - - A string like "The method CreateOperationResponseMessage was called in state '{0}', which is not allowed. CreateOperationResponseMessage can only be called in state 'Operation'." - - - - - A string like "ODataBatchReader.ReadAsync or ODataBatchReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current batch message contains too many parts. A maximum number of '{0}' query operations and change sets are allowed in a batch message." - - - - - A string like "The current change set contains too many operations. A maximum number of '{0}' operations are allowed in a change set." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The message header '{0}' is invalid. The header value must be of the format '<header name>: <header value>'." - - - - - A string like "The request line '{0}' is invalid. The request line at the start of each operation must be of the format 'HttpMethod RequestUrl HttpVersion'." - - - - - A string like "The response line '{0}' is invalid. The response line at the start of each operation must be of the format 'HttpVersion StatusCode StatusCodeString'." - - - - - A string like "The HTTP version '{0}' used in a batch operation request or response is not valid. The value must be '{1}'." - - - - - A string like " The HTTP status code '{0}' is invalid. An HTTP status code must be an integer value." - - - - - A string like "A missing or invalid '{0}' header was found. The '{0}' header must be specified for each batch operation, and its value must be '{1}'." - - - - - A string like "The '{0}' header value '{1}' is invalid. When this is the start of the change set, the value must be '{2}'; otherwise it must be '{3}'." - - - - - A string like "The content length header '{0}' is not valid. The content length header must be a valid Int32 literal and must be greater than or equal to 0." - - - - - A string like "The header '{0}' was specified multiple times. Each header must appear only once in a batch part." - - - - - A string like "Invalid multi-byte encoding '{0}' detected. Multi-byte encodings other than UTF-8 are only supported for operation payloads. They are not supported in batch or change set parts." - - - - - A string like "Too many white spaces after a boundary delimiter and before the terminating line feed. For security reasons, the total number of characters for a boundary including white spaces must not exceed {0}." - - - - - A string like "The MIME type '{0}' is invalid or unspecified." - - - - - A string like "The MIME type '{0}' requires a '/' character between type and subtype, such as 'text/plain'." - - - - - A string like "The MIME type '{0}' requires a subtype definition." - - - - - A string like "The MIME type is missing a parameter value for a parameter with the name '{0}'." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the escape character '{3}' is not inside a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because it terminates with the escape character '{3}'. In a quoted-string, the escape characters must always be followed by a character." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the closing quote character was not found for the quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the character '{3}' is not allowed in a quoted-string. For more information, see RFC 2616, Sections 3.6 and 2.2." - - - - - A string like "The MIME type '{0}' requires a semi-colon character (';') before a parameter definition." - - - - - A string like "An invalid quality value was detected in the header string '{0}'; quality values must start with '0' or '1' but not with '{1}'." - - - - - A string like "An invalid quality value '{0}' was detected in the header string '{1}'; quality values must be in the range [0, 1]." - - - - - A string like "An error occurred when converting the character '{0}' to an integer." - - - - - A string like "The separator ',' was missing between charset values in the header '{0}'." - - - - - A string like "A separator character was missing between charset values in the header '{0}'." - - - - - A string like "An invalid (empty) charset name found in the header '{0}'." - - - - - A string like "An unexpected end of the q-Value was detected in the header '{0}'." - - - - - A string like "The expected literal '{0}' was not found at position '{1}' in the string '{2}'." - - - - - A string like "The string '{0}' cannot be converted into a supported HTTP method. The only supported HTTP methods are GET, DELETE, PUT, POST, PATCH and MERGE." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a recognized separator. The supported separators are ',', ';', and '='." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token is expected but a quoted-string is found instead." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token or a quoted-string is expected at this position but were not found." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a valid separator after a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the header value should not end with the separator '{3}'." - - - - - A string like "The character set '{0}' is not supported." - - - - - A string like "A supported MIME type could not be found that matches the acceptable MIME types for the request. The supported type(s) '{0}' do not match any of the acceptable MIME types '{1}'." - - - - - A string like "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) '{0}' matches the content type '{1}'." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "The content type '{0}' specifies a batch payload; however, the payload either does not include a batch boundary or includes more than one boundary. In OData, batch payload content types must specify exactly one batch boundary in the '{1}' parameter of the content type." - - - - - A string like "The '{0}' value provided for the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The value '{0}' of the targetNamespaceUri parameter provided to the EntityPropertyMappingAttribute does not have a valid URI format." - - - - - A string like "The PropertyName property value '{1}' set in the EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type." - - - - - A string like "The property '{0}' provided in the middle of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a complex type." - - - - - A string like "More than one EntityPropertyMappingAttribute on type '{0}' have a 'PropertyName' value '{1}'. In OData, an entity property cannot be mapped more than once." - - - - - A string like "The property '{0}' on type '{1}' is not present." - - - - - A string like "The property '{0}' defined on type '{1}' is not present in the instance of the type." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'Edm.Stream'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' does not have a primitive type. Only open primitive properties can be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid because it contains an empty segment." - - - - - A string like "The TargetName property paths '{0}' and '{1}' set in two EntityPropertyMappingAttribute instances are invalid because they would result in mixed content. Mixed content produced by entity property mappings is not supported." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the 'TargetName' property of EntityPropertyMappingAttribute." - - - - - A string like "More than one EntityPropertyMappingAttribute on the type '{0}' have the same 'TargetName' value '{1}'. The conflicting properties are '{2}' and '{3}'. In OData, target names of entity property mappings must be unique on a given type." - - - - - A string like "The property value corresponding to '{0}' property in SyndicationItemProperty could not be converted to the type DateTimeOffset." - - - - - A string like "The collection property '{0}' has no items but is mapped to the author element. Only non-empty collection properties can be mapped to the author element in an entry." - - - - - A string like "The property '{0}' on type '{1}' that is mapped to '{2}' has a 'null' value. Properties that are mapped to attributes cannot be null." - - - - - A string like "'{0}' is not a valid value for 'atom:link/@length' attribute. " - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'link/@rel' is not valid. Properties that are mapped to 'link/@rel' cannot have values that are Atom-defined simple identifiers, such as alternate, related, self, enclosure, via, describedby, service, edit, or edit-media; cannot be an Atom-defined simple identifier following the IANA namespace, such as 'http://www.iana.org/assignments/relation/edit'; and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'category/@scheme' is not valid. Properties that are mapped to 'category/@scheme' must have values that are URIs and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "Expected literal type token but found token '{0}'." - - - - - A string like "The relative URI '{0}' cannot be escaped because it starts with '{1}' and a base URI is not available. Relative URIs without a base URI cannot start with '/', '\\' or '..'." - - - - - A string like "The type '{0}' is not supported when converting to a URI literal." - - - - - A string like "The format '{0}' is not supported when converting to a URI literal. The supported formats are ODataFormat.JsonLight and ODataFormat.VerboseJson." - - - - - A string like "Type verification failed. Expected type '{0}' but received the value '{1}'." - - - - - A string like "Type verification failed. Expected type '{0}' but received non-matching null value with associated type '{1}'." - - - - - A string like "Type verification failed. Expected non-nullable type '{0}' but received a null value." - - - - - A string like "The value of type '{0}' could not be converted to the string representation of a raw primitive value." - - - - - A string like "A default MIME type could not be found for the requested payload in format '{0}'." - - - - - A string like "The value '{0}' of the DataServiceVersion HTTP header is invalid. Only '1.0', '2.0' and '3.0' are supported as values for the DataServiceVersion header." - - - - - A string like "The value returned by the '{0}' property cannot be modified until the end of the owning entry is reported by the reader." - - - - - A string like "A null value was found with the expected type '{0}[Nullable=False]'. The expected type '{0}[Nullable=False]' does not allow null values." - - - - - A string like "A null value was found for the property named '{0}', which has the expected type '{1}[Nullable=False]'. The expected type '{1}[Nullable=False]' does not allow null values." - - - - - A string like "Complex type '{1}' is a subtype of a base type '{0}'. Derived complex types are not supported." - - - - - A string like "Cannot convert a primitive value to the expected type '{0}'. See the inner exception for more details." - - - - - A string like "The base URI '{0}' specified in ODataMessageReaderSettings.BaseUri is invalid; it must be either null or an absolute URI." - - - - - A string like "An undeclared property '{0}' was found on type '{1}', which is marked as open; however, either the ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or the ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting is used. The ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting cannot be used with open types." - - - - - A string like "The metadata URI '{0}' references the entity set with name '{1}'; however, the name of the expected entity set is '{2}' and does not match the entity set referenced in the metadata URI." - - - - - A string like "The metadata URI '{0}' references the entity type with name '{1}'; however, the name of the expected entity type is '{2}' which is not compatible with the entity type with name '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the name of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the declaring type of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected producing function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' which returns a collection with item type '{2}'; however, the item type of the collection returned by the expected producing function import is '{3}'." - - - - - A string like "The metadata URI '{0}' references a property with name '{1}' on type '{2}'; however, a producing function import with name '{3}' was specified." - - - - - A string like "The metadata URI '{0}' references a function import with name '{1}'; however, an expected structural property with name '{2}' on type '{3}' was specified." - - - - - A string like "The collection name '{0}' was read from the payload; however, the name of the expected producing function import is '{1}'." - - - - - A string like "The property or function import name '{0}' was read from the payload; however, the name of the expected property or function import is '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the expected property with the same name is declared on type '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' and type '{2}' on declaring type '{3}'; however, the expected property type is '{4}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' and return type '{2}'; however, the expected return type is '{3}'." - - - - - A string like "The metadata URI '{0}' references the type '{1}'; however the expected type is '{2}'." - - - - - A string like "The metadata URI '{0}' refers to the item type '{1}' which is not assignable to the expected item type '{2}'." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The expected type can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The entity set can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The function import can only be specified if metadata is made available to the reader." - - - - - A string like "The producing function import '{0}' for a collection reader has the return type '{1}'. Only function imports returning collections of primitive or complex values can be specified as the producing function import for a collection reader." - - - - - A string like "The expected type for a collection reader is of kind '{0}'. Only types of Primitive or ComplexType kind can be specified as the expected type for a collection reader." - - - - - A string like "The expected type for a value is of kind '{0}'. Only types of Primitive kind can be specified as the expected type for reading a value." - - - - - A string like "The wildcard '*' was detected in the value '{0}' of the content type header. The value of the content type header cannot contain wildcards." - - - - - A string like "The navigation property '{0}' with singleton cardinality on type '{1}' was specified for reading a collection of entity reference links. A navigation property with collection cardinality has to be provided." - - - - - A string like "The content type '{0}' specifies a batch payload but does not include a batch boundary. In OData, batch payload content types must specify a batch boundary in the '{1}' parameter of the content type." - - - - - A string like "ODataReader.ReadAsync or ODataReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "Calling Read or ReadAsync on an ODataReader instance is not allowed in state '{0}'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed. A 'StartObject' or 'EndArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a feed. A 'StartObject' or 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was expected." - - - - - A string like "Cannot convert a value of type 'Edm.Int32' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Double' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Boolean' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTime' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTimeOffset' to the expected target type '{0}'." - - - - - A string like "Multiple '{0}' properties were found in the value of the '__metadata' property. In OData, the value of the '__metadata' property must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link wrapper object. In OData, an entity reference link wrapper must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an error or inner error object. In OData, an error or inner error must have at most one '{0}' property." - - - - - A string like "The '{0}' property in a feed wrapper has a null value. In OData, the '{0}' property must have a non-null value." - - - - - A string like "The '{0}' property in the value of the '__mediaresource' property has a null value. In OData, the '{0}' property must have a string value." - - - - - A string like "The '{0}' property for a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in the value of the '__metadata' property has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. If the payload contains a relative URI a base URI must be specified on the reader settings." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In OData, entity reference links must be objects." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a 'StartArray' node was expected." - - - - - A string like "Multiple '{0}' properties were found for a stream reference value. In OData, a stream reference value can only contain one '{0}' property." - - - - - A string like "Found a node of type '{1}' when starting to read the property value, however a node of type 'StartObject' was expected. The '{0}' property of an entry metadata must have an object value. " - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartObject' or 'StartArray' node was expected." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' is not an annotation. In OData, JSON Light annotation groups can only contain instance and property annotations." - - - - - A string like "Multiple annotation groups with name '{0}' were found in the payload. In OData, annotation group names must be unique for the entire payload and the same annotation group instance has to be used for its declaration and when referencing it." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}'. The 'Target' property value of these operations must be set to a non-null value." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}' and the same 'Target' property value of '{1}'. When multiple operations have the same 'Metadata' property value, their 'Target' property values must be unique." - - - - - A string like "A property with name '{0}' was found in the error object when reading a top-level error. In OData, a top-level error object must have exactly one property with name 'error'." - - - - - A string like "A property with name '{0}' was found in the message value of a top-level error. In OData, the message value of a top-level error value can only have properties with name 'lang' or 'value'." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected." - - - - - A string like "Multiple '{0}' properties were found in a collection. In OData, a collection can only have one '{0}' property." - - - - - A string like "The 'type' property value '{0}' is not a valid type name. The value of the 'type' property must be a non-empty string." - - - - - A string like "The 'type' property value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "Found a node of type '{0}' when starting to read the property value; however, a node of type 'StartObject' was expected. The '__metadata' property must have an object value." - - - - - A string like "ODataCollectionReader.ReadAsync or ODataCollectionReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current state of the collection reader is '{0}'; however, the expected item type of a collection reader can only be set in state '{1}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state. '{1}' must be called in this state, and the created reader must be in the 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state and '{1}' was called but the created reader is not in the 'Completed' state. The created reader must be in 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "You cannot call the method '{0}' in state '{1}'." - - - - - A string like "The '{0}' method has already been called for the parameter '{1}'. Only one create reader method call is allowed for each entry, feed, or collection parameter." - - - - - A string like "The parameter '{0}' in the request payload is not a valid parameter for the function import '{1}'." - - - - - A string like "Multiple parameters with the name '{0}' were found in the request payload." - - - - - A string like "One or more parameters of the function import '{0}' are missing from the request payload. The missing parameters are: {1}." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. The supported type kinds are Primitive, Complex, Primitive Collection and Complex Collection." - - - - - A string like "When trying to read a null collection parameter value in verbose JSON, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a 'null' value was expected." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a collection with a collection wrapper object. A 'StartObject' node was expected." - - - - - A string like "When trying to read the start of a collection without a collection wrapper object, a node of type '{0}' was read from the JSON reader; however, a 'StartArray' node was expected." - - - - - A string like "The 'Metadata' property on an {0} must be set to a non-null value." - - - - - A string like "The 'Target' property on an {0} must be set to a non-null value." - - - - - A string like "The '{0}' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "The property '{0}' does not exist on type '{1}'. Make sure to only use property names that are defined by the type." - - - - - A string like "A primitive value was specified; however, a value of the non-primitive type '{0}' was expected." - - - - - A string like "Unsupported primitive type. A primitive type could not be determined for an instance of type '{0}'." - - - - - A string like "An incompatible primitive type '{0}[Nullable={1}]' was found for an item that was expected to be of type '{2}[Nullable={3}]'." - - - - - A string like "Type name '{0}' is an invalid collection type name; a collection type name must be in the format 'Collection(<itemTypeName>)'." - - - - - A string like "A type named '{0}' could not be resolved by the model. When a model is available, each type name must resolve to a valid type." - - - - - A string like "Incompatible type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with type '{0}' was found, which is of kind '{1}'. Value can only be of kind 'Primitive', 'Complex' or 'Collection'." - - - - - A string like "The property '{0}' cannot be a stream property because it is not of kind EdmPrimitiveTypeKind.Stream." - - - - - A string like "The ETag value '{0}' is not valid. An ETag value must be a quoted string or 'W/' followed by a quoted string. Refer to HTTP RFC 2616 for details on valid ETag formats." - - - - - A string like "A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as '{0}', but the type specified in the metadata is '{1}'." - - - - - A string like "An open collection property '{0}' was found. In OData, open collection properties are not supported." - - - - - A string like "An open stream property '{0}' was found. In OData, open stream properties are not supported." - - - - - A string like "An invalid collection type kind '{0}' was found. In OData, collection types must be of kind 'Collection'." - - - - - A string like "An entry with type '{0}' was found with a media resource, but this entity type is not a media link entry (MLE). When the type is not an MLE entity, the entry cannot have a media resource." - - - - - A string like "An entry with type '{0}' was found without a media resource, but this entity type is a media link entry (MLE). When the type is an MLE entity, the entry must have a media resource." - - - - - A string like "An entry with type '{0}' was found, but it is not assignable to the expected type '{1}'. The type specified in the entry must be equal to either the expected type or a derived type." - - - - - A string like "A navigation property with name '{0}' was found on type '{1}', however this property was not declared. Open navigation properties are not supported; all navigation properties must be declared in metadata." - - - - - A string like "A property with name '{0}' on type '{1}' has kind '{2}', but it is expected to be of kind 'Navigation'." - - - - - A string like "The boundary delimiter '{0}' is invalid. A boundary delimiter must be non-null, be non-empty, and have a maximum of {1} characters." - - - - - A string like "The maximum recursion depth limit was reached. The depth of nested values in a single property cannot exceed {0}." - - - - - A string like "The depth limit for entries in nested expanded navigation links was reached. The number of nested expanded entries cannot exceed {0}." - - - - - A string like "A null value was found in a collection, but the expected collection item type '{0}' does not allow null values." - - - - - A string like "The property name '{0}' is invalid; property names must not contain any of the reserved characters {1}." - - - - - A string like "The maximum number of entity property mappings allowed on an entity type and all its base types has been exceeded. A total of {0} entity property mappings were found, but a maximum of {1} entity property mappings are allowed." - - - - - A string like "Encountered a property '{0}' that was expected to be a reference to a location in the $metadata document but does not contain a '#' character or is otherwise not a valid metadata reference property. A metadata reference property must contain a '#' and be a valid absolute URI or begin with a '#' and be a valid URI fragment." - - - - - A string like "A top level property with name '{0}' and a producing function import with name '{1}' is being written. If the producing function import is specified the property name must be either null or must match the function import name." - - - - - A string like "A duplicate value '{0}' was detected as the name of a resource collection. Resource collections must have unique names in a given workspace." - - - - - A string like "The base URI '{0}' specified in ODataMessageWriterSettings.BaseUri is invalid; it must either be null or an absolute URI." - - - - - A string like "The type '{0}' of an entry in an expanded link is not compatible with the element type '{1}' of the expanded link. Entries in an expanded link must have entity types that are assignable to the element type of the expanded link." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the actual payload is an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the actual payload is a feed." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the metadata declares it as an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the metadata declares it as feed." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is a feed, but the metadata declares it as an entry." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is an entry, but the metadata declares it as feed." - - - - - A string like "The collection property '{0}' has a null value, which is not allowed. In OData, collection properties cannot have null values." - - - - - A string like "The property '{0}[Nullable=False]' of type '{1}' has a null value, which is not allowed." - - - - - A string like "The stream property '{0}' has a null value, which is not allowed. In OData, stream properties cannot have null values." - - - - - A string like "An action or a function with metadata '{0}' was detected when writing a request; actions and functions are only supported in responses." - - - - - A string like "An association link with name '{0}' could not be written to the request payload. Association links are only supported in responses." - - - - - A string like "An stream property with name '{0}' could not be written to the request payload. Stream properties are only supported in responses." - - - - - A string like "The metadata document URI '{0}' specified in ODataMessageWriterSettings.MetadataDocumentUri is invalid; it must be either null or an absolute URI." - - - - - A string like "The ODataNavigationLink.Url property on an navigation link '{0}' is null. The ODataNavigationLink.Url property must be set to a non-null value that represents the entity or entities the navigation link references." - - - - - A string like "The ODataNavigationLink.IsCollection property on a navigation link '{0}' is null. The ODataNavigationLink.IsCollection property must be specified when writing a link into a request." - - - - - A string like "An XML node of type '{0}' was found in a string value. An element with a string value can only contain Text, CDATA, SignificantWhitespace, Whitespace or Comment nodes." - - - - - A string like "An XML node of type '{0}' was found at the root level. The root level of an OData payload must contain a single XML element and no text nodes." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and value 'true', it must be empty." - - - - - A string like "The metadata document could not be read from the message content.\r\n{0}" - - - - - A string like "The metadata document could not be written as specified.\r\n{0}" - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The required '{0}' attribute is missing on type '{1}'." - - - - - A string like "The required '{0}' attribute is missing on property '{1}' on type '{2}'." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to an AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to an AtomPub element." - - - - - A string like "The value for the annotation with namespace '{0}' and local name '{1}' is of type '{2}'. Only string values are supported." - - - - - A string like "A navigation link '{0}' was found with type 'feed', but its matching navigation property is of kind EntityReference. A navigation link with type 'feed' must match a navigation property of kind EntitySetReference." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. When the payload contains a relative URI, there must be an xml:base in the payload or else a base URI must specified in the reader settings." - - - - - A string like "A child element of the collection was named '{0}'. Each child element representing the value of the collection must be named 'element', and each must belong to the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level collection must have the root element in the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level property payload must have the root element in the '{1}' namespace." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and a value of 'true', it must be empty." - - - - - A string like "The element with name '{0}' is not a valid collection item. The name of the collection item element must be 'element' and it must belong to the '{1}' namespace." - - - - - A string like "The property '{0}' on type '{1}' was found in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element, and it is declared as a navigation property. Navigation properties in ATOM must be represented as {{http://www.w3.org/2005/Atom}}:link elements." - - - - - A string like "Writing null value for the instance annotation '{0}' is not allowed. The instance annotation '{0}' has the expected type '{1}[Nullable=False]'." - - - - - A string like "A node of type '{0}' was found where a node of type 'Element' was expected. An entry must be represented as an XML element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, an entry was expected. An entry must be represented as an {{http://www.w3.org/2005/Atom}}:entry element." - - - - - A string like "The 'type' attribute on element {{http://www.w3.org/2005/Atom}}:content is either missing or has an invalid value '{0}'. Only 'application/xml' and 'application/atom+xml' are supported as the value of the 'type' attribute on the {{http://www.w3.org/2005/Atom}}:content element." - - - - - A string like "An XML node '{0}' was found in the {{http://www.w3.org/2005/Atom}}:content element. The only valid child nodes of the {{http://www.w3.org/2005/Atom}}:content element are insignificant nodes and the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, a feed was expected. A feed must be represented as a {{http://www.w3.org/2005/Atom}}:feed element." - - - - - A string like "An element with name '{0}' in namespace 'http://www.w3.org/2005/Atom' was found inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element. Only 'entry' and 'feed' elements from the 'http://www.w3.org/2005/Atom' namespace, or elements from other namespaces are allowed inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Another expanded '{0}' was found in {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline, but it already contains an expanded feed or entry. Only one expanded feed or expanded entry is allowed in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Multiple edit links were found for the stream property '{0}'. Only one edit link is allowed for a given stream property." - - - - - A string like "Multiple read links were found for the stream property '{0}'. Only one read link is allowed for a given stream property." - - - - - A string like "Multiple content type values were found for the stream property '{0}'. When a stream property is represented as two {{http://www.w3.org/2005/Atom}}:link elements that both have the 'type' attribute, then both values must be the same." - - - - - A string like "Found a stream property '{0}', but there is already another property with the same name on the entity. The stream property name cannot conflict with the name of another property." - - - - - A string like "The 'metadata' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "The 'target' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on an entry. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on a feed. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Duplicate '{{{0}}}:{1}' elements were found. In OData, at most one '{{{0}}}:{1}' element is allowed." - - - - - A string like "The value of the 'type' attribute on the association link for the navigation property '{0}' is invalid. The value of the 'type' attribute on an association link must be 'application/xml'. " - - - - - A string like "Encountered an 'annotation' element with a 'target' attribute value of '{0}' and a term name of '{1}'. When an 'annotation' element occurs as a direct child of an 'entry' or 'feed' element, it must have either no 'target' attribute or a 'target' attribute with a value of '.'." - - - - - A string like "A root element with name '{0}' was found in namespace '{1}'. The root element of a service document must be named 'service' and it must belong to the 'http://www.w3.org/2007/app' namespace." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. With the exception of extension elements, a service document can contain only a single {{http://www.w3.org/2007/app}}:workspace element." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. A workspace element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:collection element." - - - - - A string like "An element with name '{0}' was fond in namespace 'http://www.w3.org/2007/app'. A {{http://www.w3.org/2007/app}}:collection element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:accept or {{http://www.w3.org/2007/app}}:categories element." - - - - - A string like "The type attribute with value '{0}' was fond on an Atom text construct element with local name '{1}'. The type attribute must be missing or else it must have a value 'text', 'html' or 'xhtml'." - - - - - A string like "Multiple '{0}' elements were found inside a '{1}' element. A '{1}' element cannot contain more than one '{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid root element for an error. The root element of an error must be 'error' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' namespace." - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in a top-level error value. In OData, the value of a top-level error value can have no more than one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element" - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in an inner error value. In OData, the value of an inner error value can have at most one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for an entity reference link. The start element of an entity reference link must be 'uri' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for entity reference links. The start element of entity reference links must be 'links' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "Multiple '{{{0}}}:{1}' elements were found in an entity reference links element. In OData, the value of an entity reference links element must have at most one '{{{0}}}:{1}' element." - - - - - A string like "The entity property mapping with source path '{0}' uses an open complex or collection property. Open complex or collection properties cannot be read through entity property mapping." - - - - - A string like "Multiple values were found for the non-collection property '{0}' on type '{1}' that is mapped to '{2}'." - - - - - A string like "A 'fixed' attribute with the value '{0}' was found on a 'categories' element. When the 'fixed' attribute is not missing, it must have a value of either 'yes' or 'no'." - - - - - A string like "Multiple 'title' elements were found inside a '{0}' element. A '{0}' element can only contain a single {{http://www.w3.org/2005/Atom}}:title element." - - - - - A string like "The specified resource collection name '{0}' does not match the specified title '{1}' as set in AtomResourceCollectionMetadata.Title." - - - - - A string like "An invalid item type kind '{0}' was found. Items in a collection can only be of type kind 'Primitive' or 'Complex', but not of type kind '{0}'." - - - - - A string like "An item of type kind '{0}' was found in a collection that otherwise has items of type kind '{1}'. In OData, all items in a collection must have the same type kind." - - - - - A string like "An item with type name '{0}' was found in a collection of items with type name '{1}'. In OData, all items in a collection must have the same type name." - - - - - A string like "An entry of type '{0}' was found in a feed that otherwise has entries of type '{1}'. In OData, all entries in a feed must have a common base type." - - - - - A string like "The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of {0} bytes has been read from the stream; however a maximum of {1} bytes is allowed." - - - - - A string like "The custom type resolver set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior returned 'null' when resolving the type '{0}'. When a custom type resolver is specified, it cannot return null." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "The property '{0}' is not declared on the non-open type '{1}'." - - - - - A string like "Multiple annotations for term '{0}' were found on element '{1}'. Only a single annotation for the term '{0}' can be specified." - - - - - A string like "Multiple annotations for term '{0}' with qualifier '{1}' were found on element '{2}'. Only a single annotation for the term '{0}' with the qualifier '{1}' can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. Only a single annotation for the term '{0}' without any qualifier can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. A single annotation for the term '{0}' with the qualifier '{3}' is expected." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The entity type '{0}' is not compatible with the base type '{1}' of the provided entity set '{2}'. When an entity type is specified for an OData feed or entry reader, it has to be the same or a subtype of the base type of the specified entity set." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON Light, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "The required property '{0}' was not found at the expected position in the payload. Instead, found a property named '{1}'." - - - - - A string like "The annotation '{0}' was targeting the instance annotation '{1}'. Only the '{2}' annotation is allowed to target an instance annotation." - - - - - A string like "The annotation '{0}' is found targeting the instance annotation '{1}'. However the value for the instance annotation '{1}' is not found immediately after. In JSON Light, an annotation targeting an instance annotation must be immediately followed by the value of the targeted instance annotation." - - - - - A string like "The base type '{0}' of the entity set specified for writing a JSON Light payload is not assignable from the specified entity type '{1}'. When an entity type is specified it has to be the same or derived from the base type of the entity set." - - - - - A string like "The annotation '{0}' was found. This annotation is either not recognized or not expected at the current position." - - - - - A string like "The property '{0}' has a property annotation '{1}'. This annotation is either not recognized or not expected at the current position." - - - - - A string like "An OData property annotation '{0}' was found. This property annotation is either not recognized or not expected at the current position." - - - - - A string like "A property with name '{0}' was found. This property is either not recognized or not expected at the current position." - - - - - A string like "A top-level property with name '{0}' was found in the payload; however, property and collection payloads must always have a top-level property with name '{1}'." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not a valid type name. The value of the 'odata.type' instance annotation must be a non-empty string." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "One or more property annotations for property '{0}' were found in the top-level property or collection payload without the property to annotate. Top-level property and collection payloads must contain a single property, with optional annotations for this property." - - - - - A string like "One or more property annotations for property '{0}' were found in the complex value without the property to annotate. Complex values must only contain property annotations for existing properties." - - - - - A string like "A complex property with an '{0}' property annotation was found. Complex properties must not have the '{0}' property annotation, instead the '{0}' should be specified as an instance annotation in the complex value." - - - - - A string like "The property '{0}' has a property annotation '{1}'. Primitive, complex, collection or open properties can only have an 'odata.type' property annotation." - - - - - A string like "The property with name '{0}' was found after the data property with name '{1}'. If a type is specified for a data property, it must appear before the data property." - - - - - A string like "An '{0}' annotation was read inside a JSON object representing a primitive value; type annotations for primitive values have to be property annotations of the owning property." - - - - - A string like "A top-level property with an invalid primitive null value was found. In OData, top-level properties with null value have to be serialized as JSON object with an '{0}' annotation that has the value '{1}'." - - - - - A string like "Encountered a metadata reference property '{0}' in a scope other than an entry. In OData, a property name with a '#' character indicates a reference into the metadata and is only supported for describing operations bound to an entry." - - - - - A string like "The property with name '{0}' was found in a null payload. In OData, no properties or OData annotations can appear in a null payload." - - - - - A string like "The metadata URI '{0}' references the null value; however the payload is not a null value payload." - - - - - A string like "The '{0}' instance or property annotation has a null value. In OData, the '{0}' instance or property annotation must have a non-null string value." - - - - - A string like "An '{0}' annotation was found with an invalid value. In OData, the only valid value for the '{0}' annotation is '{1}'." - - - - - A string like "The InstanceAnnotations collection has more than one instance annotations with the name '{0}'. All instance annotation names must be unique within the collection." - - - - - A string like "The metadata URI '{0}' was found in a service document payload. Metadata URIs for service documents must not have a fragment." - - - - - A string like "The metadata URI '{0}' is not valid for the expected payload kind '{1}'." - - - - - A string like "The metadata URI '{0}' references the entity set or type '{1}'. However, no entity set or type with name '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' references the property '{1}' on type '{2}'. However, type '{2}' does not declare a property with name '{1}' and is not an open type. " - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI containing an entity set and type cast must either have no suffix or end in '{2}'." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, no entity type '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, the entity type '{1}' is not a subtype of the entity type '{2}' which is the base type of the entity set with name '{3}'." - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI for an entity reference link containing a collection navigation property must end in '{2}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}'. However, a metadata URI for an entity reference link must reference a navigation property which '{1}' is not." - - - - - A string like "The metadata URI '{0}' references the singleton navigation property with name '{1}'. However, when a metadata URI for an entity reference link ends in '{2}' it must reference a collection navigation property." - - - - - A string like "The metadata URI '{0}' has a fragment with '{1}' parts. However, valid metadata URIs must have at most '{2}' parts." - - - - - A string like "The metadata URI '{0}' references the entity set or function import '{1}'. However, no entity set or function import with name '{1}' is declared in the metadata." - - - - - A string like "A '$select' query option was found for the payload kind '{0}'. In OData, a '$select' query option is only supported for payload kinds 'Entry' and 'Feed'." - - - - - A string like "The metadata URI '{0}' has $links in an invalid position. The Metadata URI must specify the entity set, optional type segment, $links, a navigation property." - - - - - A string like "The metadata URI '{0}' references the entity set '{1}'. However, no entity set name '{1}' is declared in the metadata." - - - - - A string like "The '{0}' instance annotation in an entry object is preceded by a property or property annotation. In OData, the '{0}' instance annotation must be before any property or property annotation in an entry object." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of the content of a feed; however, a node of type 'StartArray' was expected." - - - - - A string like "Did not find the required '{0}' property for the expected feed." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a node of type 'StartObject' or 'EndArray' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading a top-level feed. No property annotations, only instance annotations are allowed when reading top-level feeds." - - - - - A string like "A property with name '{0}' was found when reading a top-level feed. No properties other than the feed property with name '{1}' are allowed." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is declared to be of type '{1}'. In OData, only navigation properties and named streams can be represented as properties without values." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is an open property. In OData, open property must be represented as a property with value." - - - - - A string like "The stream property '{0}' has a property annotation '{1}'. Stream property can only have the 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaETag' and 'odata.mediaContentType' property annotations." - - - - - A string like "A stream property '{0}' has a value in the payload. In OData, stream property must not have a value, it must only use property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Deferred navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartArray' node was expected." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded entry navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded feed navigation links can only have the 'odata.navigationLinkUrl', 'odata.associationLinkUrl' and 'odata.nextLink' property annotations." - - - - - A string like "Multiple property annotations '{0}' were found when reading the expanded navigation link '{1}'. Only a single property annotation '{0}' can be specified for an expanded navigation link." - - - - - A string like "A property annotation '{0}' was found after the property '{1}' it is annotating. Only the 'odata.nextLink' property annotation can be used after the property it is annotating." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Navigation links in request payloads can only have the '{2}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has a property annotation '{1}' with an array value. Resource reference navigation properties can only have a property annotation '{1}' with a string value." - - - - - A string like "The resource set reference navigation property '{0}' has a property annotation '{1}' with a string value. Resource set reference navigation properties can only have a property annotation '{1}' with an array value." - - - - - A string like "The value of '{0}' property annotation is an empty array. The '{0}' property annotation must have a non-empty array as its value." - - - - - A string like "The navigation property '{0}' has no expanded value and no '{1}' property annotation. Navigation property in request without expanded value must have the '{1}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has both the '{1}' property annotation as well as a value. Resource reference navigation properties can have either '{1}' property annotations or values, but not both." - - - - - A string like "An undeclared property '{0}' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values." - - - - - A string like "Encountered the function import '{0}' which can not be resolved to an ODataAction or ODataFunction." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple target bindings encountered for the operation '{0}' but the 'target' property was not found in an operation value. To differentiate between multiple target bindings, each operation value must have exactly one 'target' property." - - - - - A string like "The '{0}' property of the operation '{1}' cannot have a null value." - - - - - A string like "Encountered a reference into metadata '{0}' which does not refer to the known metadata url '{1}'. Open metadata reference properties are not supported." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but the {1} annotation is missing from the payload. The payload must only contain absolute URIs or the {1} annotation must be on the payload." - - - - - A string like "The {0} annotation is missing from the payload." - - - - - A string like "When trying to read the start of a collection, the expected collection property with name '{0}' was not found." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A property or annotation for a property with name '{0}' or an instance annotation with name '{0}' was found after reading the items of a top-level collection. No additional properties or annotations are allowed after the collection property." - - - - - A string like "An 'odata.type' annotation with value '{0}' was found for a top-level collection payload; however, top-level collections must specify a collection type." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In JSON Light, entity reference links must be objects." - - - - - A string like "A property annotation with name '{0}' was detected when reading an entity reference link; entity reference links do not support property annotations." - - - - - A string like "An instance annotation with name '{0}' or a property annotation for the property with name '{0}' was found when reading an entity reference link. No OData property or instance annotations are allowed when reading entity reference links." - - - - - A string like "A property with name '{0}' was found when reading an entity reference link. No properties other than the entity reference link property with name '{1}' are allowed." - - - - - A string like "The required property '{0}' for an entity reference link was not found." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link object; however, a single '{0}' property was expected." - - - - - A string like "The '{0}' property of an entity reference link object cannot have a null value." - - - - - A string like "A property with name '{0}' or a property annotation for a property with name '{0}' was found when trying to read a collection of entity reference links; however, a property with name '{1}' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading an entity reference links payload. No property annotations, only instance annotations are allowed when reading entity reference links." - - - - - A string like "Did not find the required '{0}' property for an entity reference links payload." - - - - - A string like "The '{0}' property of an operation '{1}' in '{2}' cannot have a null value." - - - - - A string like "Found a node of type '{1}' when starting to read the '{0}' operations value, however a node of type 'StartObject' was expected. The '{0}' operations value must have an object value. " - - - - - A string like "The '{0}' operations object can only have one property for each distinct metadata; however, a duplicate of metadata '{1}' was found." - - - - - A string like "Found a node of type '{1}' when starting to read the value of the '{0}' property in '{2}'; however, a node of type 'StartArray' was expected. The value of each property in the '{2}' operations object must be an array value." - - - - - A string like "Found a node of type '{1}' when reading an item in the array value of the '{0}' property; however, a node of type 'StartObject' was expected. The items in the array value for the '{0}' property in the '{2}' operations object must be object values." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}' in '{2}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "The 'target' property was not found in an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple '{0}' properties were found in a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in a resource collection in a service document. In OData, a resource collection must have exactly one '{0}' property." - - - - - A string like "No '{0}' property was found for a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Encountered a resource collection without a '{0}' property. In service documents, resource collections must contain a '{0}' property." - - - - - A string like "An unrecognized property annotation '{0}' was found in a '{1}' object in a service document. OData property annotations are not allowed in workspaces." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a '{1}' object in a service document. OData instance annotations are not allowed in workspaces." - - - - - A string like "An unrecognized property annotation '{0}' was found in a resource collection in a service document. OData property annotations are not allowed in resource collections." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a resource collection in a service document. OData instance annotations are not allowed in resource collections." - - - - - A string like "Encountered unexpected property '{0}' in a resource collection. In service documents, resource collections may only have '{1}' and '{2}' properties." - - - - - A string like "Encountered unexpected property '{0}' in a service document. The top level object of a service document may only have a '{1}' property." - - - - - A string like "Encountered a property annotation for the property '{0}' which wasn't immediately followed by the property. Property annotations must occur directly before the property being annotated." - - - - - A string like "One or more property annotations for property '{0}' were found in a parameter payload without the property to annotate. Parameter payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported in JSON Light." - - - - - A string like "When trying to read a null collection parameter value in JSON Light, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a primitive 'null' value was expected." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. Only primitive, complex, primitive collection and complex collection types are supported." - - - - - A string like "An OData property annotation '{0}' was found in an error payload; however, error payloads do not support OData property annotations." - - - - - A string like "An OData instance annotation '{0}' was found in an error payload; however, error payloads do not support OData instance annotations." - - - - - A string like "One or more property annotations for property '{0}' were found in an error payload without the property to annotate. Error payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror', or custom instance annotations." - - - - - A string like "The entity type '{0}' has no key properties. Entity types must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "An ODataEntry of type '{0}' is found without key properties. When writing without a user model, each entry must contain at least one property whose 'ODataProperty.SerializationInfo.PropertyKind' set to 'ODataPropertyKind.Key'. When writing with a user model, the entity type '{0}' defined in the model must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "The property '{0}' on type '{1}' is a non-primitive value. All key and etag properties must be of primitive types." - - - - - A string like "The primitive property '{0}' on type '{1}' has a value which is not a primitive value." - - - - - A string like "The entity instance value of type '{0}' doesn't have a value for property '{1}'. To compute an entity's metadata, its key and concurrency-token property values must be provided." - - - - - A string like "Encountered an annotation group containing a property '{0}' which is not a valid annotation name." - - - - - A string like "Encountered an annotation group named '{0}' containing a property '{1}' which is not a valid annotation name." - - - - - A string like "Encountered a reference to an annotation group named '{0}', but no annotation group with that name has been defined at this point in the payload." - - - - - A string like "Encountered multiple annotation group named '{0}'. Annotation group names must be unique within a payload." - - - - - A string like "An ODataPrimitiveValue was instantiated with a value of type '{0}'. ODataPrimitiveValue can only wrap values which can be represented as primitive EDM types." - - - - - A string like "'{0}' is an invalid instance annotation name. An instance annotation name must contain a period that is not at the start or end of the name." - - - - - A string like "'{0}' is a reserved instance annotation name because it starts with '{1}'. Reserved names are not allowed for custom instance annotations." - - - - - A string like "'{0}' is an invalid instance annotation name." - - - - - A string like "The value of the 'type' attribute on an 'annotation' element was '{0}', which is incompatible with the '{1}' attribute." - - - - - A string like "Encountered the attribute '{0}' on a non-empty 'annotation' element. If attribute value notation is used to specify the annotation's value, then there can be no body to the element." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must contain at least one '.' separating the namespace and the name segments of an annotation." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must not contain a namespace or name segment that is empty." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. It must not contain '*' as part of a segment." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. '*' must be the last segment of the pattern." - - - - - A string like "A service operation with name '{0}' could not be found in the provided model." - - - - - A string like "Found multiple service operations with name '{0}' in a single entity container. Service operation overloads are not supported." - - - - - A string like "An entity set with name '{0}' could not be found in the provided model." - - - - - A string like "Only operands with primitive types are allowed in binary operators. Found operand types '{0}' and '{1}'." - - - - - A string like "Both operands of a binary operators must have the same type. Found different operand types '{0}' and '{1}'." - - - - - A string like "The specified URI '{0}' must be absolute." - - - - - A string like "Invalid value '{0}' for $skip query option found. The $skip query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $top query option found. The $top query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $inlinecount query option found. Valid values are '{1}'." - - - - - A string like "Query option '{0}' was specified more than once, but it must be specified at most once." - - - - - A string like "The CLR literal of type '{0}' is not supported to be written as a Uri part." - - - - - A string like "QueryToken '{0}' is not supported to be written as a Uri part." - - - - - A string like "Expression expected at position {0} in '{1}'." - - - - - A string like "'(' expected at position {0} in '{1}'." - - - - - A string like "')' or ',' expected at position {0} in '{1}'." - - - - - A string like "')' or operator expected at position {0} in '{1}'." - - - - - A string like "Expecting a Star token but got: '{0}'." - - - - - A string like "The range variable '{0}' has already been declared." - - - - - A string like "The URI '{0}' is not valid because it is not based on '{1}'." - - - - - A string like "The key value '{0}' was not recognized as a valid literal." - - - - - A string like "Unable to find property '{2}' on the instance type '{1}' of the structured type '{0}'." - - - - - A string like "An unsupported query token kind '{0}' was found." - - - - - A string like "Could not find an entity set for root segment '{0}'." - - - - - A string like "Type '{0}' is not an entity type. Key value can only be applied to an entity type." - - - - - A string like "Could not find a property named '{1}' on type '{0}'." - - - - - A string like "Property '{0}' is not declared on type '{1}' or is not a key property. Only key properties can be used in key lookups." - - - - - A string like "An unnamed key value was used in a key lookup on a type '{0}' which has more than one key property. Unnamed key value can only be used on a type with one key property." - - - - - A string like "A key property '{0}' was found twice in a key lookup. Each key property can be specified just once in a key lookup." - - - - - A string like "A key lookup on type '{0}' didn't specify values for all key properties. All key properties must be specified in a key lookup." - - - - - A string like "Expression of type '{0}' cannot be converted to type '{1}'." - - - - - A string like "Segment '{0}' which is a service operation returning non-queryable result has a key lookup. Only service operations returning queryable results can have a key lookup applied to them." - - - - - A string like "Service operation '{0}' of kind '{1}' returns type '{2}' which is not an entity type. Service operations of kind QueryWithMultipleResults or QueryWithSingleResult can only return entity types." - - - - - A string like "Service operation '{0}' is missing the required parameter '{1}'." - - - - - A string like "The parameter '{0}' with value '{1}' for the service operation '{2}' is not a valid literal of type '{3}'." - - - - - A string like "The MultiValue property '{0}' cannot be used in $filter or $orderby query expression. MultiValue properties are not supported with these query options." - - - - - A string like "The operand for a binary operator '{0}' is not a single value. Binary operators require both operands to be single values." - - - - - A string like "The operand for a unary operator '{0}' is not a single value. Unary operators require the operand to be a single value." - - - - - A string like "The parent value for a property access of a property '{0}' is not a single value. Property access can only be applied to a single value." - - - - - A string like "A binary operator with incompatible types was detected. Found operand types '{0}' and '{1}' for operator kind '{2}'." - - - - - A string like "A unary operator with an incompatible type was detected. Found operand type '{0}' for operator kind '{1}'." - - - - - A string like "An unknown function with name '{0}' was found. This may also be a key lookup on a navigation property, which is not allowed." - - - - - A string like "The argument for an invocation of a function with name '{0}' is not a single value. All arguments for this function must be single values." - - - - - A string like "No function signature for the function with name '{0}' matches the specified arguments. The function signatures considered are: {1}." - - - - - A string like "The system query option '{0}' is not supported." - - - - - A string like "A token of kind '{0}' was bound to the value null; this is invalid. A query token must always be bound to a non-null query node." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $top query option must specify a non-negative integer value." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $skip query option must specify a non-negative integer value." - - - - - A string like " The service operation '{0}' does not have an associated result kind. Without a result kind, a service operation cannot be bound." - - - - - A string like "Encountered invalid type cast. '{0}' is not assignable from '{1}'." - - - - - A string like "The parameter '{0}' is not in scope." - - - - - A string like "The Cast or IsOf expression has an invalid number of operands: number of operands is '{0}' and it should be 1 or 2." - - - - - A string like "The geo.length function has an invalid number of operands: number of operands is '{0}' and it should be 1." - - - - - A string like "The geo.intersects function has an invalid number of operands: number of operands is '{0}' and it should be 2." - - - - - A string like "The operator '{0}' is not supported in this release. " - - - - - A string like "'{0}' queries are not supported in this release." - - - - - A string like "Can only bind segments that are Navigation, Structural, Complex, or Collections. We found a segment '{0}' that isn't any of those. Please revise the query." - - - - - A string like "The '{0}' option cannot be applied to the query path. '{0}' can only be applied to a collection of entities. " - - - - - A string like "Cannot find a suitable overload for function '{0}' that takes '{1}' arguments." - - - - - A string like "Cannot compose function '{0}' to a parent doesn't represent a single value." - - - - - A string like "Found a function import for '{0}', but it is invalid for Filter/Orderby." - - - - - A string like "Found a built-in function '{0}' with a parent token. Built-in functions cannot have parent tokens. " - - - - - A string like "Found a function '{0}' on an open property. Functions on open properties are not supported." - - - - - A string like "'{0}' is not a valid InlineCount option." - - - - - A string like "The child type '{0}' in a cast was not an entity type. Casts can only be performed on entity types." - - - - - A string like "Invalid content-id '{0}' for batch reference segment." - - - - - A string like "Property '{0}' is of an unrecognized EdmPropertyKind." - - - - - A string like "Cant find the property '{0}' in the model." - - - - - A string like "Only properties specified in $expand can be traversed in $select query options. Selected item was '{0}'." - - - - - A string like "Found a type segment '{0}' that isn't an entity type." - - - - - A string like "Trying to follow type segments on a segment that isn't a type. Segment was '{0}'." - - - - - A string like "Found a system token, '{0}', while parsing a select clause." - - - - - A string like "Found an invalid segment, '{0}', while parsing a select clause." - - - - - A string like "The type '{0}' is not defined in the model." - - - - - A string like "Property '{0}' on type '{1}' is not a navigation property. Only navigation properties can be expanded." - - - - - A string like "An entity type '{0}' was given to NonEntityParameterQueryNode. Use EntityParameterQueryNode instead." - - - - - A string like "An EntityCollectionServiceOperationQueryNode was provided with a IEdmFunctionImport with return type '{0}', which is not an entity type." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is not structural." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is a collection." - - - - - A string like "A node of this kind requires the associated property to be a structural, collection type, but property '{0}' is not a collection." - - - - - A string like "Term '{0}' is not valid in a $select or $expand expression." - - - - - A string like "Functions are not allowed in a $select expression, but one was found in the expression '{0}'." - - - - - A string like "Top option must be an integer, its set to '{0}' instead." - - - - - A string like "Skip option must be an integer, its set to '{0}' instead." - - - - - A string like "Found system token '{0}' in select or expand clause '{1}'." - - - - - A string like "The URI '{0}' must be an absolute URI." - - - - - A string like "The result of parsing $expand contained at least {0} items, but the maximum allowed is {1}." - - - - - A string like "The result of parsing $expand was at least {0} items deep, but the maximum allowed is {1}." - - - - - A string like "The service operation '{0}' is missing a ODataServiceOperationResultKind attribute." - - - - - A string like "Multiple Service Operations with the name '{0}' were found. There can only be one Service Operation with a given name in a model." - - - - - A string like "The request URI is not valid. $links cannot be applied to the segment '{0}' since $links can only follow an entity segment." - - - - - A string like "The type '{0}' does not inherit from and is not a base type of '{1}'. The type of '{2}' must be related to the Type of the EntitySet." - - - - - A string like "Found a segment of type '{0} in an expand path, but only NavigationProperty and Type segments are allowed." - - - - - A string like "Found a segment of type '{0} in a select path, but only TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment or OpenPropertySegments are allowed." - - - - - A string like "The Entity Set of the operation '{0}' is not specified. This is most likely an error in the IEdmModel." - - - - - A string like "The target Entity Set of Navigation Property '{0}' could not be found. This is most likely an error in the IEdmModel." - - - - - A string like "The function overloads matching '{0}' are invalid. This is most likely an error in the IEdmModel." - - - - - A string like "Unable to resolve function overloads to a single function. There was more than one function in the model with name '{0}' and parameter names '{1}'." - - - - - A string like "Multiple action overloads were found with the same binding parameter for '{0}'." - - - - - A string like "The request URI is not valid. The segment '{0}' is not valid. Since the uri contains the '{1}' segment, there must be only one segment specified after that." - - - - - A string like "The request URI is not valid. The segment '{0}' must be the last segment in the URI because it is one of the following: $batch, $value, $metadata, a collection property, a named media resource, a service operation that does not return a value, or a service action." - - - - - A string like "The request URI is not valid. The segment '{0}' must refer to a navigation property since the previous segment identifier is '{1}'." - - - - - A string like "The request URI is not valid. There must a segment specified after the '{0}' segment and the segment must refer to a entity resource." - - - - - A string like "The request URI is not valid, $count cannot be applied to the segment '{0}' since $count can only follow a resource segment." - - - - - A string like "The request URI is not valid, since the segment '{0}' refers to a singleton, and the segment '{1}' can only follow a resource collection." - - - - - A string like "The request URI is not valid. Since the segment '{0}' refers to a collection, this must be the last segment in the request URI. All intermediate segments must refer to a single resource." - - - - - A string like "The request URI is not valid. The segment '{0}' cannot include key predicates, however it may end with empty parenthesis." - - - - - A string like "The segment '{1}' in the request URI is not valid. The segment '{0}' refers to a primitive property, function, or service operation, so the only supported value from the next segment is '$value'." - - - - - A string like "The type '{0}' specified in the URI is neither a base type nor a sub-type of the previously-specified type '{1}'." - - - - - A string like "Complex types can not be marked as 'Open'. Error occurred for type '{0}'." - - - - - A string like "Open navigation properties are not supported on OpenTypes. Property name: '{0}'." - - - - - A string like "The response requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service is set to {1}." - - - - - A string like "The number of keys specified in the URI does not match number of key properties for the resource '{0}'." - - - - - A string like "Resource not found for the segment '{0}'." - - - - - A string like "Batched service action '{0}' cannot be invoked because it was bound to an entity created in the same changeset." - - - - - A string like "Resource Not Found - '{0}' refers to a service operation or function which does not allow further composition." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "A non-negative integer value was expected, but the value '{0}' is not a valid non-negative integer." - - - - - A string like "A positive integer value was expected, but the value '{0}' is not a valid positive integer." - - - - - A string like "A positive long value was expected; however, the value '{0}' is not a valid positive long value." - - - - - A string like "An identifier was expected at position {0}." - - - - - A string like "There is an unterminated string literal at position {0} in '{1}'." - - - - - A string like "Syntax error: character '{0}' is not valid at position {1} in '{2}'." - - - - - A string like "Syntax error at position {0} in '{1}'." - - - - - A string like "There is an unterminated literal at position {0} in '{1}'." - - - - - A string like "A digit was expected at position {0} in '{1}'." - - - - - A string like "Unrecognized '{0}' literal '{1}' at '{2}' in '{3}'." - - - - - A string like "Invalid JSON. An unexpected comma was found in scope '{0}'. A comma is only valid between properties of an object or between elements of an array." - - - - - A string like "Invalid JSON. Unexpected token '{0}'." - - - - - A string like "Invalid JSON. A colon character ':' is expected after the property name '{0}', but none was found." - - - - - A string like "Invalid JSON. An unrecognized escape sequence '{0}' was found in a JSON string value." - - - - - A string like "Invalid JSON. The value '{0}' is not a valid number." - - - - - A string like "Invalid JSON. A comma character ',' was expected in scope '{0}'. Every two elements in an array and properties of an object must be separated by commas." - - - - - A string like "Invalid JSON. The property name '{0}' is not valid. The name of a property cannot be empty." - - - - - A string like "An unexpected '{1}' node was found when reading from the JSON reader. A '{0}' node was expected." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a double numeric value." - - - - - A string like "Value cannot be empty." - - - - - A string like "An asynchronous operation was requested on an IODataRequestMessage instance. For asynchronous operations to succeed, the request message instance must implement IODataRequestMessageAsync." - - - - - A string like "The IODataRequestMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataRequestMessage.GetStream or IODataRequestMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "An asynchronous operation was requested on an IODataResponseMessage instance. For asynchronous operations to succeed, the response message instance must implement IODataResponseMessageAsync." - - - - - A string like "The IODataResponseMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataResponseMessage.GetStream or IODataResponseMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "A writer or stream has been disposed with data still in the buffer. You must call Flush or FlushAsync before calling Dispose when some data has already been written." - - - - - A string like "Only a top-level feed can have the 'ODataFeed.Count' property value specified. Expanded links do not support inline counts." - - - - - A string like "The ODataFeed.Count must be null for request payloads. Inline counts are only supported in responses." - - - - - A string like "Cannot write a top-level feed with a writer that was created to write a top-level entry." - - - - - A string like "Cannot write a top-level entry with a writer that was created to write a top-level feed." - - - - - A string like "A synchronous operation was called on an asynchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An entity reference link was written without a surrounding navigation link. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing the content of a navigation link." - - - - - A string like "An entity reference link was written into a response. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing a request." - - - - - A string like "A deferred link was written into a request. In requests, each navigation link must have a feed, entry, or entity reference link written into it." - - - - - A string like "More than one item was written into the content of a navigation link. In OData, a navigation link can only contain more than one item in its content when it is a navigation link, ODataNavigationLink.IsCollection set to true, and the writer is writing a request." - - - - - A string like "The ODataFeed.DeltaLink property must be null for expanded feeds. Delta link is not supported on expanded feeds." - - - - - A string like "An error occurred while processing the OData message." - - - - - A string like "An error was read from the payload. See the 'Error' property for more details." - - - - - A string like "An error occurred while parsing part of the URI." - - - - - A string like "Version 3.0 of the OData protocol is not supported by this library. Please use version 1.0 or 2.0 instead." - - - - - A string like "An ODataCollectionStart with a 'null' name was passed to the ATOM collection writer. In ATOM, an ODataCollectionStart cannot have a 'null' name." - - - - - A string like "The startEntryXmlCustomizationCallback set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior can never return the same XmlWriter instance that was provided in its parameter." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Authors' enumerable; the author metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Categories' enumerable; the category metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Contributors' enumerable; the contributor metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Links' enumerable; the link metadata does not support null values." - - - - - A string like "The 'AtomLinkMetadata.Href' property is required and cannot be null." - - - - - A string like "The 'AtomCategoryMetadata.Term' property is required and cannot be null." - - - - - A string like "The 'AtomCategoriesMetadata.Href' property can only be set when no other property is set. When the 'Href' property is not null, the categories cannot have any 'Fixed' or 'Scheme' values, and the 'Categories' collection must be null or empty." - - - - - A string like "The ODataMessageWriter has already been used to write a message payload. An ODataMessageWriter can only be used once to write a payload for a given message." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "An error cannot be written to a request payload. Errors are only supported in responses." - - - - - A string like "A service document cannot be written to request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be written to request payloads. Metadata documents are only supported in responses." - - - - - A string like "Cannot write the value 'null' in raw format." - - - - - A string like "The WriteError method or the WriteErrorAsync method on the ODataMessageWriter has already been called to write an error payload. Only a single error payload can be written with each ODataMessageWriter instance." - - - - - A string like "The WriteError method or the WriteErrorAsync method on ODataMessageWriter cannot be called after the WriteValue method or the WriteValueAsync method is called. In OData, writing an in-stream error for raw values is not supported." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings in order to write a metadata document." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings when CreateODataParameterWriter is called with a non-null function import." - - - - - A string like "Both startEntryXmlCustomizationCallback and endEntryXmlCustomizationCallback must be either null or non-null." - - - - - A string like "A synchronous operation was called on an asynchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An ODataCollectionStart with an empty name was passed to the collection writer. An ODataCollectionStart cannot have an empty name." - - - - - A string like "Writing an in-stream error is not supported when writing a parameter payload." - - - - - A string like "CreateParameterWriter was called on a response message. A parameter payload is only allowed in a request message." - - - - - A string like "A synchronous operation was called on an asynchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "WriteStart can only be called once, and it must be called before writing anything else." - - - - - A string like "WriteValue and CreateCollectionWriter can only be called after WriteStart and before WriteEnd; they cannot be called until the previously created sub-writer is completed." - - - - - A string like "WriteEnd can only be called after WriteStart and after the previously created sub-writer has completed." - - - - - A string like "The writer is in either the 'Error' or 'Completed' state. No further writes can be performed on this writer." - - - - - A string like "ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync was called while a stream being used to write operation content, obtained from the operation message by using GetStream or GetStreamAsync, was still active. This is not allowed. ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync can only be called when an active stream for the operation content does not exist." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndBatch with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteStartChangeset with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndChangeset without an active change set; you must first call ODataBatchWriter.WriteStartChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After creating the writer, the only valid methods are ODataBatchWriter.WriteStartBatch and ODataBatchWriter.FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartBatch, the only valid methods on ODataBatchWriter are WriteStartChangeset, CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndChangeset, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling CreateOperationRequestMessage or CreateOperationResponseMessage, the only valid methods on ODataBatchWriter are WriteStartChangeset, WriteEndChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot use the batch writer while another writer is writing the content of an operation. Dispose the stream for the operation before continuing to use the ODataBatchWriter." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After writing the content of an operation, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndChangeset, WriteEndBatch and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteEndChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You can only call ODataBatchWriter.FlushAsync after ODataBatchWriter.WriteEndBatch has been called." - - - - - A string like "When writing a batch response, you cannot create a batch operation request message." - - - - - A string like "When writing a batch request, you cannot create a batch operation response message." - - - - - A string like "A synchronous operation was called on an asynchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "The WriteError and WriteErrorAsync methods on ODataMessageWriter cannot be called when a batch is being written by using ODataBatchWriter. In OData, writing an in-stream error for a batch payload is not supported." - - - - - A string like "An attempt to change the properties of the message or to retrieve the payload stream for the message has failed. Either the payload stream has already been requested or the processing of the message has been completed. In both cases, no more changes can be made to the message." - - - - - A string like "Cannot access a closed stream." - - - - - A string like "When reading a batch response, you cannot create a batch operation request message." - - - - - A string like "When reading a batch request, you cannot create a batch operation response message." - - - - - A string like "A request message for the operation has already been created. You cannot create a request message for the same operation multiple times." - - - - - A string like "A response message for the operation has already been created. You cannot create a response message for the same operation multiple times." - - - - - A string like "You cannot use a batch reader while the stream for the content of an operation is still active. You must first dispose the operation stream before further calls to the batch reader are made." - - - - - A string like "A synchronous operation was called on an asynchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An operation was detected, but no message was created for it. You must create a message for every operation found in a batch or change set." - - - - - A string like "The 'Content-Type' header is missing. The 'Content-Type' header must be specified for each MIME part of a batch message." - - - - - A string like "Nested change sets in a batch payload are not supported." - - - - - A string like "Encountered an unexpected end of input while reading the batch payload." - - - - - A string like "The MIME type is missing a parameter name for a parameter definition." - - - - - A string like "The value for the Content-Type header is missing." - - - - - A string like "An IEdmTypeReference must be provided with a matching IEdmModel. No model was provided." - - - - - A string like "A built-in model was detected when trying to save annotations. Annotations can only be saved to a user-defined model." - - - - - A string like "An invalid enum value was specified for the version number." - - - - - A string like "The MIME type annotation must not have a null value." - - - - - A string like "The HTTP method annotation must not have a null value." - - - - - A string like "The 'IsAlwaysBindable' annotation cannot be set to 'true' for a non-bindable function import." - - - - - A string like "The 'IsAlwaysBindable' annotation was found with a 'true' value in a non-bindable function import. The 'IsAlwaysBindable' annotation cannot be 'true' for a non-bindable function import." - - - - - A string like "No URI value was found for an entity reference link. A single URI value was expected." - - - - - A string like "A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value." - - - - - A string like "An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified." - - - - - A string like "The ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds is not set to ODataUndeclaredPropertyBehaviorKinds.None. When reading request payloads, the ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds property must be set to ODataUndeclaredPropertyBehaviorKinds.None; other values are not supported." - - - - - A string like "The ODataMessageReader has already been used to read a message payload. An ODataMessageReader can only be used once to read a payload for a given message." - - - - - A string like "A top-level error cannot be read from request payloads. Top-level errors are only supported in responses." - - - - - A string like "A service document cannot be read from request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be read from request payloads. Metadata documents are only supported in responses." - - - - - A string like "The expected type for property reading is of entity collection kind. Top-level properties can only be of primitive, complex, primitive collection or complex collection kind." - - - - - A string like "The expected type for property reading is of entity kind. Top-level properties cannot be of entity type." - - - - - A string like "The expected type for property reading is Edm.Stream. Top-level properties cannot be of stream type." - - - - - A string like "A missing or empty content type header was found when trying to read a message. The content type header is required." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "GetFormat was called before reading was started. GetFormat can only be called after a read method was called or a reader was created." - - - - - A string like "DetectPayloadKind or DetectPayloadKindAsync was called more than once; DetectPayloadKind or DetectPayloadKindAsync can only be called once." - - - - - A string like "Payload kind detection has not completed. Read or create methods cannot be called on the ODataMessageReader before payload kind detection is complete." - - - - - A string like "The ODataMessageReader is using the server behavior for WCF Data Services, as specified in its settings. Payload kind detection is not supported when using the WCF Data services server behavior." - - - - - A string like "A parameter payload cannot be read from a response payload. Parameter payloads are only supported in requests." - - - - - A string like "An attempt was made to modify the message. The message cannot be modified." - - - - - A string like "A synchronous operation was called on an asynchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "Parsing JSON feeds or entries without model is not supported." - - - - - A string like "Primitive values of type 'Edm.Decimal' and 'Edm.Int64' must be quoted in the payload. Make sure the value is quoted." - - - - - A string like "The top-level data wrapper object does not have a property 'd'. In JSON responses, a top-level data wrapper object with a 'd' property is expected." - - - - - A string like "Multiple 'd' properties were found in the top-level data wrapper object. In JSON, the top-level data wrapper object is expected to have a single 'd' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping a collection in protocol version 2.0 and greater." - - - - - A string like "Multiple 'results' properties were found for a collection. In OData, a collection cannot have more than one 'results' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping an entity reference link in protocol version 2.0 and greater." - - - - - A string like "Multiple 'uri' properties were found in an entity reference link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of an entity reference link object cannot have a null value." - - - - - A string like "Did not find the required 'results' property on the object wrapping a feed." - - - - - A string like "Multiple '__metadata' properties were found in an entry. In OData, an entry can only contain one '__metadata' property." - - - - - A string like "Multiple 'uri' properties were found in the deferred link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of a deferred link object cannot have a null value." - - - - - A string like "The 'uri' property was not found in a deferred link object. A single 'uri' property is expected." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "Found multiple 'results' properties in the object wrapping a feed in protocol version 2.0 and greater. In OData, the feed wrapping object can only contain a single 'results' property." - - - - - A string like "Could not parse an expected stream reference value. In OData, a stream reference value must be a JSON object with a single property called '__mediaresource'." - - - - - A string like "A stream property was found in a JSON request payload. Stream properties are only supported in responses." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the entire payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "Parsing a JSON top-level property without a model is not supported." - - - - - A string like "Either zero or more than one top-level properties were found. A top-level property must be represented as a JSON object with exactly one property." - - - - - A string like "Multiple '__metadata' properties were found in a complex value. In OData, a complex value can only have one '__metadata' property." - - - - - A string like "A collection was found without the 'results' property. In OData, each collection must be represented as a JSON object with a property 'results'." - - - - - A string like "Multiple 'EntitySets' properties were found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "No 'EntitySets' property was found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "A synchronous operation was called on an asynchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "A synchronous operation was called on an asynchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "Parsing JSON collections without model is not supported." - - - - - A string like "The 'Name' property on an ODataAssociationLink must be set to a non-empty string." - - - - - A string like "The 'Url' property on an ODataAssociationLink must be set to a non-null value that represents the association or associations the link references." - - - - - A string like "An empty type name was found; the name of a type cannot be an empty string." - - - - - A string like "The 'Url' property on a resource collection must be set to a non-null value." - - - - - A string like "A resource collection without a Url was detected; a resource collection must have a non-null Url value." - - - - - A string like "A null value was detected in the items of a collection property value; non-streaming instances of collection types do not support null values as items." - - - - - A string like "The 'Name' property on an ODataNavigationLink must be set to a non-empty string." - - - - - A string like "Nested collection instances are not allowed." - - - - - A string like "An ODataStreamReferenceValue item was found in a collection property value, which is not allowed. Collection properties can only have primitive and complex values as items." - - - - - A string like "A null value was detected when enumerating the collections in a workspace. Workspace collections cannot be null." - - - - - A string like "An ODataFeed without an ID was detected; in OData, a Feed must have a non-null, non-empty ID value." - - - - - A string like "The 'ODataEntry.Properties' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "An ODataProperty instance without a name was detected; an ODataProperty must have a non-null, non-empty name." - - - - - A string like "No TypeName was found for an ODataComplexValue of an open property, ODataEntry or custom instance annotation, even though metadata was specified. If a model is passed to the writer, each complex value on an open property, entry or custom instance annotation must have a type name." - - - - - A string like "The ODataFeed.NextPageLink must be null for request payloads. A next link is only supported in responses." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ContentType' property but without a ReadLink value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ReadLink' property but without a ContentType value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "An ODataStreamReferenceValue was detected with null values for both EditLink and ReadLink. In OData, a stream resource must have at least an edit link or a read link." - - - - - A string like "An ODataStreamReferenceValue was detected with an ETag but without an edit link. In OData, a stream resource must have an edit link to have an ETag." - - - - - A string like "An ODataStreamReferenceValue was detected with an empty string 'ContentType' property. In OData, a stream resource must either have a non-empty content type or it must be null." - - - - - A string like "An entry with an empty ID value was detected. In OData, an entry must either a non-empty ID value or no ID value." - - - - - A string like "An ODataEntityReferenceLink with a null Url was detected; an ODataEntityReferenceLink must have a non-null Url." - - - - - A string like "The 'ODataEntityReferenceLinks.Links' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "A JSON Padding function was specified on ODataMessageWriterSettings when trying to write a request message. JSON Padding is only for writing responses." - - - - - A string like "An Atom entry can be either a regular entry or a media link entry (MLE). This means that there cannot be data in both the {http://www.w3.org/2005/Atom}:content element, which indicates a regular entry, and the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:properties element, which indicates an MLE. " - - - - - A string like "An expanded feed was found in a navigation link of type entry; however, only an expanded entry can occur in a navigation link of type entry." - - - - - A string like "An expanded entry was found in a navigation link of type feed; however, only an expanded feed can occur in a navigation link of type feed." - - - - - A string like "A deferred entry was found in a navigation link of type feed; however, only a deferred feed can occur in a navigation link of type feed." - - - - - A string like "The entryXmlCustomizationCallback set in ODataMessageReaderSettings.EnableWcfDataServicesClientBehavior can never return the same XmlReader instance that was provided in its parameter." - - - - - A string like "Found a value with type name ''. Type name cannot be an empty string." - - - - - A string like "The root element of the collection cannot contain the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:type attribute or the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:null attribute." - - - - - A string like "Only collection properties that contain primitive types or complex types are supported." - - - - - A string like "The element {http://www.w3.org/2005/Atom}:content has non-empty content, and it has an attribute with name 'src'. When the {http://www.w3.org/2005/Atom}:content element has the 'src' attribute, it cannot also have content." - - - - - A string like "Multiple {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline elements were found in a {http://www.w3.org/2005/Atom}:link element. Each {http://www.w3.org/2005/Atom}:link element can contain no more than one {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline child element." - - - - - A string like "Found a stream property link with empty name. In OData, a stream property must have a non-empty name." - - - - - A string like "Encountered an 'annotation' element inside a nested feed. Annotations are not currently supported for nested feeds." - - - - - A string like "Encountered a 'Delta Link' element inside a nested feed. Delta Links are not supported for nested feeds." - - - - - A string like "The service document is missing the 'workspace' element. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'workspace' elements were found inside the service document. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'accept' elements were found inside a 'collection' element. A 'collection' element can only contain a single {http://www.w3.org/2007/app}:accept element." - - - - - A string like "The ODataMessageReaderSettings used to read a JSON Light payload do not specify a metadata document URI. For reading JSON Light payloads a metadata document URI is required." - - - - - A string like "ODataMessageReader.DetectPayloadKind was called for a request payload. Payload kind detection is only supported for responses in JSON Light." - - - - - A string like "Parsing JSON Light feeds or entries in requests without entity set is not supported. Pass in the entity set as a parameter to ODataMessageReader.CreateODataEntryReader or ODataMessageReader.CreateODataFeedReader method." - - - - - A string like "An attempt to read a collection request payload without specifying a producing function import or collection item type was detected. When reading collection payloads in requests, a producing function import or expected item type has to be provided." - - - - - A string like "An attempt to read an entity reference link in a request without specifying a navigation property was detected. When reading entity reference link payloads in requests, a navigation property has to be provided." - - - - - A string like "Parsing JSON Light payloads without a model is only supported for error payloads." - - - - - A string like "The 'BaseUri' on the 'ODataMessageReaderSettings' must be set to a non-null absolute URI to read JSON Light format." - - - - - A string like "An attempt to read a collection request payload without specifying a collection item type was detected. When reading collection payloads in requests, an expected item type has to be provided." - - - - - A string like "In JSON the item type must be specified when creating a collection writer." - - - - - A string like "The required instance annotation 'odata.metadata' was not found at the beginning of a response payload." - - - - - A string like "An attempt to write an entity reference link inside a navigation link after a feed has been written inside the same navigation link in a request was detected. In JSON Light requests, all entity reference links inside a navigation link have to be written before all feeds inside the same navigation link." - - - - - A string like "The ODataFeed.InstanceAnnotations collection must be empty for expanded feeds. Custom instance annotations are not supported on expanded feeds." - - - - - A string like "The ODataMessageWriterSettings used to write a JSON Light payload do not specify a metadata document URI. For writing JSON Light payloads a metadata document URI is required." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a complex value. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a collection property. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Found a resource collection without a name. When writing a service document in JSON Light, the Name property of a resource collection must not be null or empty." - - - - - A string like "When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being writen." - - - - - A string like "When writing a JSON response in full metadata mode with ODataMessageWriterSettings.AutoComputePayloadMetadataInJson set to true, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataEntry.TypeName must be set." - - - - - A string like "The collection type name for the top level collection is unknown. When writing a JSON response, the item type must be passed to the ODataMessageWriter.CreateCollectionWriter method or the ODataCollectionStartSerializationInfo must be set on the ODataCollectionStart." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLink method or the ODataEntityReferenceLinkSerializationInfo must be set on the ODataEntityReferenceLink." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link collection is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLinks method or the ODataEntityReferenceLinksSerializationInfo must be set on the ODataEntityReferenceLinks." - - - - - A string like "No top-level properties were found. A top-level property or collection in JSON Light must be represented as a JSON object with exactly one property which is not an annotation." - - - - - A string like "The 'odata.type' instance annotation in a complex object is not the first property of the object. In OData, the 'odata.type' instance annotation must be the first property of the complex object." - - - - - A string like "The value specified for the spatial property was not valid. You must specify a valid spatial value." - - - - - A string like "A null metadata URI was found in the payload. Metadata URIs must not be null." - - - - - A string like "No model was specified for the ODataMessageReader. A message reader requires a model for JSON Light payload to be specified in the ODataMessageReader constructor." - - - - - A string like "The IODataJsonLightModelResolver or IODataJsonLightModelResolverAsync returned a null or a core model. The model resolver must return a valid user model." - - - - - A string like "The 'odata.type' instance annotation in an entry object is preceded by an invalid property. In OData, the 'odata.type' instance annotation must be either the first property in the JSON object or the second if the 'odata.metadata' instance annotation is present." - - - - - A string like "A property annotation was found for a top-level feed; however, top-level feeds only support instance annotations." - - - - - A string like "A stream property was found in a JSON Light request payload. Stream properties are only supported in responses." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the whole payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "A metadata reference property was found in a JSON Light request payload. Metadata reference properties are only supported in responses." - - - - - A string like "An annotation group was found at an unexpected position in the payload. Annotation groups must be the first property of the object they are annotating and may not be nested." - - - - - A string like "Encountered an entry with a type defined in an annotation group and in the entry body. The type of an entry may only be specified once." - - - - - A string like "A property annotation was found for entity reference links; however, entity reference links only support instance annotations." - - - - - A string like "An OData property annotation was found for a parameter payload; however, parameter payloads do not support OData property annotations." - - - - - A string like "When parsing a select clause a '*' segment was found before last segment of a property path. In OData, a '*' segment can only appear as last segment of a property path." - - - - - A string like "When parsing a select clause a '*' segment was found immediately after a type segment in a property path. In OData, a '*' segment cannot appear following a type segment." - - - - - A string like "Encountered an annotation group declaration for which there was no 'name' property. All annotation group declarations must specify a non-empty name in the 'name' property." - - - - - A string like "Encountered multiple 'name' properties within a single annotation group declaration. An annotation group must contain exactly one 'name' property." - - - - - A string like "Cannot create an ODataPrimitiveValue from null; use ODataNullValue instead." - - - - - A string like "An InstanceAnnotationCollection was set on an object other than ODataError. Currently, instance annotations are only supported on ODataError." - - - - - A string like "The value of an instance annotation cannot be of type ODataStreamReferenceValue." - - - - - A string like "A type name was not provided for an instance of ODataComplexValue." - - - - - A string like "A type name was not provided for an instance of ODataCollectionValue." - - - - - A string like "Encountered an 'annotation' element without a 'term' attribute. All 'annotation' elements must have a 'term' attribute." - - - - - A string like "Encountered an 'annotation' element with more than one attribute from following set: 'int', 'string', 'decimal', 'float', and 'bool'. Only one such attribute may appear on an 'annotation' element." - - - - - A string like "If ODataMessageWriterSettings.AutoComputePayloadMetadataInJson is set to true, the entity set must be specified when writing JSON with full metadata." - - - - - A string like "Setting a metadata annotation on a primitive type is not supported." - - - - - A string like "The maximum depth setting must be a number greater than zero." - - - - - A string like "Recursion depth exceeded allowed limit." - - - - - A string like "Invalid to redefine visitor in nested Any/All queries." - - - - - A string like "Bad Request: there was an error in the query syntax." - - - - - A string like "Too many segments in URI." - - - - - A string like "Inner or start path segments must be navigation properties in $select." - - - - - A string like "Found a non-path property in a select token." - - - - - A string like "Cannot construct an ExpandItem from a navigation property whose type is not an entity." - - - - - A string like "An unsupported extension query token was found." - - - - - A string like "The $filter expression must evaluate to a single boolean value." - - - - - A string like "The $orderby expression must evaluate to a single value of primitive type." - - - - - A string like "A PropertyAccessQueryToken without a parent was encountered outside of $filter or $orderby expression. The PropertyAccessQueryToken without a parent token is only allowed inside $filter or $orderby expressions." - - - - - A string like "Found a Built in function without a Function Signature." - - - - - A string like "Encountered Root segment in non-root location." - - - - - A string like "A segment without an associated type was given as input." - - - - - A string like "Any/All may only be used following a collection." - - - - - A string like "The navigation property must not be null." - - - - - A string like "A navigation property can only follow single entity nodes." - - - - - A string like "The Any/All query expression must evaluate to a single boolean value." - - - - - A string like "Cast or IsOf Function must have a type in its arguments." - - - - - A string like "The Cast and IsOf functions do not support collection arguments or types." - - - - - A string like "The geo.length function was called with a non-single-value operand." - - - - - A string like "The geo.length function was called with a non-LineString operand." - - - - - A string like "The geo.intersects function was called with a non-single-value operand." - - - - - A string like "The geo.intersects function was called with invalid arg types." - - - - - A string like "Type argument with an invalid type name." - - - - - A string like "Collection open properties are not supported in this release." - - - - - A string like "Parameter names must be unique. There is most likely an error in the model." - - - - - A string like "Found a property token that isn't a path in the select syntactic tree." - - - - - A string like "Any selection that is expanded must have the same type qualifier on both selection and expansion." - - - - - A string like "Cannot delete selection items from an AllSelection, please create the SelectExpandClause with a Partial Selection instead." - - - - - A string like "Links segments must always be followed by a navigation property." - - - - - A string like "Trying to traverse a non-normalized expand tree." - - - - - A string like "Found a path within a select or expand query option that isn't ended by a non-type segment." - - - - - A string like "Trying to parse a type segment path that is too long." - - - - - A string like "The navigation property must have a target multiplicity of 'One' or 'ZeroOrOne' to create a SingleNavigationNode." - - - - - A string like "The navigation property must have a target multiplicity of 'Many' to create a CollectionNavigationNode." - - - - - A string like "Only static Entity Set reference expressions are supported currently." - - - - - A string like "An instance of CollectionFunctionCallNode can only be created with a primitive or complex collection type. For functions returning a collection of entities, use EntityCollectionFunctionCallNode instead." - - - - - A string like "An instance of EntityCollectionFunctionCallNode can only be created with an entity collection type. For functions returning a collection of primitive or complex values, use CollectionFunctionCallNode instead." - - - - - A string like "Only call AddTerms on ExpandTermTokens that have already been expanded by ExpandTerm." - - - - - A string like "Found a segment that isn't a path while parsing the path within a select or expand query option." - - - - - A string like "A service root URI must be provided to the ODataUriParser in order to use this method." - - - - - A string like "The limit must be greater than or equal to zero" - - - - - A string like "Functions are not supported in this version. Only Actions and Service Operations are supported." - - - - - A string like "$value cannot be applied to a collection." - - - - - A string like "A feed may contain a next page link, a delta link or neither, but must not contain both." - - - - - A string like "The last segment, and only the last segment, must be a navigation property in $expand." - - - - - A string like "The last segment in a $select cannot be a TypeSegment." - - - - - A string like "An operation can only be the last segment in $select." - - - - - A string like "A navigation property can only be the last segment in $select." - - - - - A string like "No type could be computed for this Segment since there were multiple possible operations with varying return types." - - - - - A string like "The return type from the operation is not possible with the given entity set." - - - - - A string like "Please construct this SingleValueFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Please construct this SingleEntityFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Calling the wrong overload to convert named values to type." - - - - - A string like "Cannot use a non-primitive type as a parameter." - - - - - A string like "Calling the wrong overload to convert positional values to type." - - - - - A string like "Empty segment encountered in request URL. Please make sure that a valid request URL is specified." - - - - - A string like "Bad Request - Error in query syntax." - - - - - A string like "The request URI is not valid, the segment $count cannot be applied to the root of the service." - - - - - A string like "$value must not be specified for spatial values." - - - - - A string like "Error processing request stream. In batch mode, a resource can be cross-referenced only for bind/unbind operations. " - - - - - A string like "Segments with multiple key values must specify them in 'name=value' form." - - - - - A string like "Forbidden" - - - - - A string like "Found an operation bound to a non-entity type." - - - - - A string like "Value cannot be null or empty." - - - - - A string like "Found an unbalanced bracket expression." - - - - - A string like "Invalid JSON. More than one value was found at the root of the JSON content. JSON content can only have one value at the root level, which is an array, an object or a primitive value." - - - - - A string like "Invalid JSON. Unexpected end of input was found in JSON content. Not all object and array scopes were closed." - - - - - A string like "Invalid JSON. A token was not recognized in the JSON content." - - - - - A string like "Invalid JSON. Unexpected end of input reached while processing a JSON string value." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/de/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/de/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 5b1c64059..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/de/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/es/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/es/Microsoft.Data.OData.resources.dll deleted file mode 100644 index a32224d58..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/es/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/fr/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/fr/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 1761e44f7..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/fr/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/it/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/it/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 94de7d3f4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/it/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ja/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ja/Microsoft.Data.OData.resources.dll deleted file mode 100644 index aa3c54ea7..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ja/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ko/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ko/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 4e99e1272..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ko/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ru/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ru/Microsoft.Data.OData.resources.dll deleted file mode 100644 index bbe4def5b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/ru/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/zh-Hans/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/zh-Hans/Microsoft.Data.OData.resources.dll deleted file mode 100644 index ac3d8dcb3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/zh-Hans/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/zh-Hant/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/zh-Hant/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 664455009..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/net40/zh-Hant/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.OData.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.OData.dll deleted file mode 100644 index f1df48187..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.OData.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.OData.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.OData.xml deleted file mode 100644 index d82d0931f..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/Microsoft.Data.OData.xml +++ /dev/null @@ -1,55500 +0,0 @@ - - - - Microsoft.Data.OData - - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance which does not URL-encode the resulting string. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Gets the literal formatter for URL constants which does not URL-encode the string. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Gets the url convention for the given entity container based on its vocabulary annotations. - - The model the entity container belongs to. - The container to get the url convention for. - The url convention of the container. - - - - Gets the url convention for the given user setting and type context. - - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The type context for the entry or feed being written. - The convention to use when generating URLs. - - - - Determines whether or not the annotation indicates the 'KeyAsSegment' url-convention. - - The annotation to check. - True if the annotation indicates the 'KeyAsSegment' url convention; false otherwise. - - - - Determines whether or not the value is 'KeyAsSegment'. - - The value to check. - True if the value is 'KeyAsSegment'.; false otherwise. - - - - Determines whether or not the term is the url-convention term. - - The term to check. - True if the term is the url-convention term.; false otherwise. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that knows how to bind binary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a BinaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Promote the left and right operand types - - the operator kind - the left operand - the right operand - - - - Retrieve SingleValueNode bound with given query token. - - the query token kind - the query token - the corresponding SingleValueNode - - - - Encapsulates the state of metadata binding. - TODO : finish moving fields from MetadataBinder here and see if anything can be removed. - - - - - The configuration used for binding. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Constructs a with the given . - - The configuration used for binding. - - - - The model used for binding. - - - - - The configuration used for binding. - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Internal class for storing all the configuration information about the URI parser. Allows us to flow these values around without passing an actual parser. - - - - - Model to use for metadata binding. - - - - - Absolute URI of the service root. - - - - The conventions to use when parsing URLs. - - - - Initializes a new instance of . - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - Class that knows how to bind CastTokens. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a DottedIdentifierBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a DottedIdentifierToken and it's parent node (if needed). - - Token to bind to metadata. - State of the Binding. - A bound node representing the cast. - - - Use this class to perform late-bound operations on data service entity sets. - This class was copied from the product. - - - MethodInfo for object DataServiceProviderMethods.GetValue(this object value, string propertyName). - - - MethodInfo for IEnumerable<T> DataServiceProviderMethods.GetSequenceValue(this object value, string propertyName). - - - MethodInfo for Convert. - - - MethodInfo for TypeIs. - - - Method info for string comparison - - - Method info for Bool comparison - - - Method info for Bool? comparison - - - Method info for Guid comparison - - - Method info for Guid? comparison - - - Method info for byte array comparison. - - - Method info for byte array comparison. - - - Gets a named value from the specified object. - Object to get value from. - describing the property whose value needs to be fetched. - The requested value. - - - Gets a named value from the specified object as a sequence. - Object to get value from. - describing the property whose value needs to be fetched. - expected result type - The requested value as a sequence; null if not found. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference type to check for. - True if value is-a type; false otherwise. - - - - Compares 2 strings by ordinal, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are equal; false otherwise. - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are not equal; false otherwise. - - - - Helper class for throwing exceptions during URI parsing. - - - - Creates a new "Resource Not Found" exception. - segment identifier information for which resource was not found. - A new exception to indicate the requested resource cannot be found. - - - Creates a new "Resource Not Found" exception. - Plain text error message for this exception. - A new exception to indicate the requested resource cannot be found. - - - Creates a new exception to indicate a syntax error. - A new exception to indicate a syntax error. - - - - Creates a new exception to indicate BadRequest error. - - Plain text error message for this exception. - A new exception to indicate a bad request error. - - - Checks the specific value for syntax validity. - Whether syntax is valid. - This helper method is used to keep syntax check code more terse. - - - Checks the specifid value for syntax validity. - Whether syntax is valid. - segment indentifier for which the resource was null. - This helper method is used to keep syntax check code more terse. - - - - A component for walking an expand tree and determining if the depth or number of items exceed user-specified limits. - - - - - The maximum depth of any expand tree being validated. - - - - - The maximum number of expand items allowed in any expand tree being validated, including leaf and non-leaf nodes. - - - - - The current count when validating a particular tree. - - - - - Initializes a new instance of . - - The maximum depth of an expand tree. - The maximum number of expanded items allowed in a tree. - - - - Validates the given tree against the user-specified limits. - - The expand tree to validate. - - - - Recursively ensures that the maximum count/depth are not exceeded by walking the tree. - - The expand tree to walk and validate. - The current depth of the tree walk. - - - - Component for parsing function parameters in both $filter/$orderby expressions and in paths. - - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for filter/orderby. - - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters for path. - - The function name to use in error messages. - The contents of the parentheses portion of the current path segment. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for path. - - The split parameters from the syntactic parsing step. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The token kind that marks the end of the parameters. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The type representing a parameter. - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The callback to use for individual parameter parsing. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The current expression parameterToken from the lexer. - The parameter value if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The type used to represent a parameter. - The token from the syntactic parsing step. - The configuration for the URI Parser. - The type that the parameter is expected to resolve to. - Callback to create the final parameter from the parsed value. - The parameter if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - A token to represent a raw function parameter value that has not yet been parsed further. - - - - - Base class for all lexical tokens of OData query. - - - - - Base class for all annotatable types in OData library. - - - - The map of annotationsAsArray keyed by type. - - - - Collection of custom instance annotations. - - - - Gets or sets the annotation by type. - The annotation of type T or null if not present. - The type of the annotation. - - - Sets an annotation of type T. - The annotation to set. - The type of the annotation. - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Get the annotation of type . If the annotation is not found, create a new - instance of the annotation and call SetAnnotation on it then return the newly created instance. - - The type of the annotation. - The annotation of type . - - - - Gets the custom instance annotations. - - The custom instance annotations. - - - - Sets the custom instance annotations. - - The new value to set. - - - - Check whether a given (non-null) instance is of the specified type (no sub-type). - - The (non-null) instance to test. - The type to check for. - True if the types match; otherwise false. - - - - Replace an existing annotation of type T or add a new one - if no annotation of type T exists. - - The type of the annotation. - The annotation to set. - - - - Remove the annotation of type T from the set of annotations (if such an annotation exists). - We only allow a single occurence of an annotation of type T. - - The type of the annotation to remove. - - - - Empty list of arguments. - - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Creates a RawFunctionParameterValue - - the raw text of this parameter value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the raw text of the value. - - - - - Gets the kind of this token - - - - - A token to represent a parameter alias in a function call. - - - - - Creates a FunctionParameterAliasToken - - the alias being used for the parameter. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the alias. - - - - - Gets the kind of this token - - - - - A token to represent a parameter to a function call. - - - - - get an empty list of parameters - - - - - The name of the parameter - - - - - The value of this parameter - - - - - Creates a FunctionParameterToken - - the name of this parameter - the syntactically parsed value - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the name of this parameter - - - - - Gets the syntactically parsed value of this token. - - - - - Gets the kind of this token - - - - - Node representing a semantically parsed parameter to a function. - - - - - Base class for all semantic metadata bound nodes. - - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the kind of this node. - - - - - Gets the kind of this node. - - - - - The name of this parameter - - - - - The semantically parsed value of this parameter - - - - - Creates a NamedFunctionParameterNode to represent a semantically parsed parameter to a function. - - the name of this function - the already semantically parsed value of this parameter. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - Gets the name of this parameter - - - - - Gets the semantically parsed value of this parameter. - - - - - Gets the kind of this node - - - - - Gets the kind of this node. - - - - - Settings used by . - - - - - Default recursive call limit for Filter - - - - - Default recursive call limit for OrderBy - - - - - Default tree depth for Select and Expand - - - - - Default limit for the path parser. - - - - - the recursive depth of the Syntactic tree for a filter clause - - - - - the maximum depth of the syntactic tree for an orderby clause - - - - - the maximum number of segments in a path - - - - - the maximum depth of the Syntactic or Semantic tree for a Select or Expand clause - - - - - Flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Whether use the behavior that the WCF DS Server had before integration. - - - - - The maximum depth of the tree that results from parsing $expand. - - - - - The maximum number of instances that can appear in the tree that results from parsing $expand. - - - - - Initializes a new instance of with default values. - - - - Specifies whether the WCF data services server behavior is enabled. - - - - Gets or sets the maximum depth of the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or sets the maximum number of instances that can appear in the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or Sets the maximum recursive depth for a select and expand clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets a flag that indicates Whether use the behavior that the WCF DS Server had before integration. - - - - - Gets or sets a flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Gets or Sets the limit on the maximum depth of the filter tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or sets the maximum recursive depth for an orderby clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets the limit on the maximum number of segments that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - Unlike Filter, OrderBy, and SelectExpand, this Limit is more concrete, and will - limit the segments to exactly the number that is specified... i.e. a limit of - 20 will throw if and only if there are more than 20 segments in the path. - - Throws if the input value is negative. - - - - Bind an entire Uri to Metadata. - - - - - The current state of the binding algorithm. - - - - - pointer to the metadata bind method. - - - - - Create a new ODataUriSemanticBinder to bind an entire uri to Metadata. - - the current state of the binding algorithm - pointer to the metadata bind method. - - - - Binds a . - - The query descriptor token to bind. - The bound query descriptor. - - - - Bind an inline count option - - The inline count option to bind. - the top level path - an InlineCountKind representing this inline count option - - - - Bind a select and expand option. - - A syntax tree containing the select and expand options to bind - the top level path - The configuration to use for binding. - a select expand clause bound to metadata - - - - Bind a top option - - a syntax tree containing the top option to bind - the range variable that iterates over the top level collection - the top level path - a nullable long representing this top option - - - - Bind a skip option - - a syntax tree containing the skip option - the range variable that iterates over the top level collection - the top level path. - a nullable long representing this skip option - - - - Bind an orderby option - - a syntac tree containing the orderby option - the range variable that iterates over the top level collection - the top level path - an OrderByClause representing this orderby option - - - - Bind a filter option - - a syntactic tree containing the filter option - the range variable that iterates over the top level collection. - A filter clause representing this filter option - - - - Helper class to help bind function overloads. - This is shared between path and filter/orderby function resolution. - - - - - Given a list of possible functions and a list of parameter names, choose a single function that exactly matches - the parameter names. If more than one function matches, throw. - - - Binding parameters will be ignored in this method. Only non-binding parameters are matched. - - The list of function imports to search. - The list of non-binding parameter names to match. - Name of the function. Only used for error strings. - A single function import that matches the parameter names exactly. - - - - Try to resolve a function from the given inputs. - - The identifier of the function that we're trying to find - the names of the parameters to search for. - the type of the previous segment - the model to use to look up the function import - The single matching function found. - True if a function was matched, false otherwise. Will throw if the model has illegal function imports. - - - - Add semantic meaning to a Select or Expand token. - - - - - Add semantic meaning to a Select or Expand Token - - the top level entity type. - the top level entity set - the syntactically parsed expand token - the syntactically parsed select token - The configuration to use for parsing. - A select expand clause bound to metadata. - - - - Node to represent a function call that returns a Collection - - - - - Base class for all semantic metadata bound nodes which represent a composable collection of values. - - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - the name of this function - - - - - the list of function imports - - - - - the list of parameters provided to this function - - - - - the individual item type returned by this function - - - - - the collection type returned by this function - - - - - The semantically bound parent of this function. - - - - - Creates a CollectionFunctionCallNode to represent a function call that returns a collection - - The name of this function. - the list of function imports that this node should represent. - the list of already bound parameters to this function - the type of the collection returned by this function. - The parent of this CollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not a primitive or complex type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function. - - - - - Gets the list of function imports represeted by this node - - - - - Gets the list of parameters to this function - - - - - Gets the individual item type returned by this function - - - - - The type of the collection represented by this node. - - - - - Gets the semantically bound parent node of this CollectionFunctionCallNode. - - - - - Gets the kind of this node. - - - - - Translator that determines the entity set of a segment. - - - - - Translator interface for walking the Syntactic Tree. - - Generic type produced by the translator. - - - - Translate a TypeSegment - - the segment to Translate - Defined by the implementer - - - - Translate a NavigationPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate an EntitySetSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a KeySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a PropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a OperationSegment - - the segment to Translate - Defined by the implementer. - - - - Translate an OpenPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a CountSegment - - the segment to Translate - Defined by the implementer. - - - - Visit a NavigationPropertyLinkSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a ValueSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchReferenceSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a MetadataSegment - - the segment to Translate - Defined by the implementer. - - - - Determine the EntitySet of a NavigationPropertyLinkSegment - - The NavigationPropertyLinkSegment to look in. - The IEdmEntitySet of this NavigationPropertyLinkSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a TypeSegment - - The TypeSegment to look in. - The IEdmEntitySet of this TypeSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a NavigationPropertySegment - - The NavigationPropertySegment to look in. - The IEdmEntitySet of this NavigationPropertySegment - Throws if the input segment is null. - - - - Determine the EntitySet of an EntitySetSegment - - The EntitySetSegment to look in. - The IEdmEntitySet of this EntitySetSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a KeySegment - - The KeySegment to look in. - The IEdmEntitySet of this KeySegment - Throws if the input segment is null. - - - - Determine the EntitySet of a PropertySegment - - The PropertySegment to look in. - null, since a property doesn't necessarily have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of an OperationSegment - - The OperationSegment to look in. - The IEdmEntitySet of this OperationSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a CountSegment - - The CountSegment to look in. - null, since $count doesn't have an entitySet - Throws if the input segment is null. - - - - Determine the EntitySet of a OpenPropertySegment - - The OpenPropertySegment to look in. - null, since an OpenProperty doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a ValueSegment - - The ValueSegment to look in. - null, since $value doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchSegment - - The BatchSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchReferenceSegment - - The BatchReferenceSegment to look in. - The IEdmEntitySet of this BatchReferenceSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a MetadataSegment - - The MetadataSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Build a semantic tree for Expand based on an Expand syntactic tree. - - - - - The configuration used for binding. - - - - - The entity set at the current level expand. - - - - - The entity type at the current level expand. - - - - - Constructs a new ExpandBinder. - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Visit an ExpandToken - - the token to visit - a SelectExpand clause based on this ExpandToken - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Build a expand clause for a nested expand. - - A new SelectExpandClause. - - - - Generate an expand item based on an ExpandTermToken - - the expandTerm token to visit - the expand item for this expand term token. - - - - Build a new MetadataBinder to use for expand options. - - The entity set being expanded. - A new MetadataBinder ready to bind a Filter or Orderby clause. - - - - The model used for binding. - - - - - The top level entity type. - - - - - The top level entity set for this level. - - - - - The settings to use when binding. - - - - - The configuration used for binding. - - - - - Build an ExpandBinder based on global settings - - - - - Build an ExpandBinder based on global settings - - The entity type of the top level expand item. - The entity set of the top level expand item. - The configuration to use for binding. - An ExpandBinder strategy based on the global settings - - - - ExpandOption variant of an ExpandBinder, where the default selection item for a given level is based on the select at that level - instead of the top level select clause. If nothing is selected for a given expand in the ExpandOption syntax, then we by default - select all from that item, instead of selecting nothing (and therefore pruning the expand off of the tree). - - - - - Build the ExpandOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Interface for the SelectExpandTermParsing strategy - - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Lexer used to parse an expression. - - - - - are we parsing select. - - - - - the maximum allowable recursive depth. - - - - - The current recursion depth. - - - - - Create a SelectExpandTermParser - - the clause to parse - the maximum recursive depth - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Parses a select or expand term into a query token - - parsed query token - - - - Uses the ExpressionLexer to visit the next ExpressionToken, and delegates parsing of segments, type segments, identifiers, - and the star token to other methods. - - Previously parsed QueryToken, or null if this is the first token. - A parsed QueryToken representing the next part of the expression. - - - - Parses a segment; a expression that is followed by a slash. - - The parent of the segment node. - The lexical token representing the segment. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - The maximum recursive depth. - - - - - Build the ExpandOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token, and all available expand options. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Read a query option from the lexer. - - the query option as a string. - - - - Translator from the old expand syntax tree to the new Expand Option syntax tree - - - - - Normalize an expand syntax tree into the new ExpandOption syntax. - - the tree to normalize - a new tree, in the new ExpandOption syntax - - - - Invert the all of the paths in an expandToken, such that they are now in the same order as they are present in the - base url - - the tree to invert paths on - a new tree with all of its paths inverted - - - - Collapse all redundant terms in an expand tree - - the tree to collapse - A new tree with all redundant terms collapsed. - - - - Expand all the PathTokens in a particular term into their own separate terms. - - the term to expand - a new ExpandTermToken with each PathToken at its own level. - - - - add a new expandTermToken into an exisiting token, adding any additional levels and trees along the way. - - the exisiting (already expanded) token - the new (already expanded) token - the combined token, or, if the two are mutually exclusive, the same tokens - - - - Combine the child nodes of twoExpandTermTokens into one list of tokens - - the existing token to to - the new token containing terms to add - a combined list of the all child nodes of the two tokens. - - - - Add child options to a new dictionary - - the token with child nodes to add to the dictionary - dictionary to add child nodes to - - - - Adds the expand token to the dictionary or combines it with an existing or combines it with another existing token with an equivalent path. - - The combined terms dictionary. - The expanded term to add or combine. - - - - A set of extensions to for parsing literals. - - - - - Returns whether the is a primitive literal type: - Binary, Boolean, DateTime, Decimal, Double, Guid, In64, Integer, Null, Single, or String. - Internal for test use only - - InternalKind of token. - Whether the is a literal type. - - - Reads the next token, checks that it is a literal token type, converts to to a Common Language Runtime value as appropriate, and returns the value. - The expression lexer. - The value represented by the next token. - - - - Parses null literals. - - The expression lexer. - The literal token produced by building the given literal. - - - - Parses typed literals. - - The expression lexer. - Expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses a literal. - Precondition: lexer is at a literal token type: Boolean, DateTime, Decimal, Null, String, Int64, Integer, Double, Single, Guid, Binary. - - The expression lexer. - The literal query token or null if something else was found. - - - - Utilities needed by which are relatively simple and standalone. - - - - Suffix for single literals. - - - Suffix for single literals. - - - Whether the specified token identifier is a numeric literal. - Token to check. - true if it's a numeric literal; false otherwise. - - - - Checks if the is INF or NaN. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether equals to 'INF' - Internal for testing only - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Checks if the is INFf/INFF or NaNf/NaNF. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether EQUALS to 'INFf' or 'INFF'. - Internal for testing only. - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Class responsible for binding a syntactic filter expression into a bound tree of semantic nodes. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - State to use for binding. - - - - - Creates a FilterBinder. - - Method to use to visit the token tree and bind the tokens recursively. - State to use for binding. - - - - Binds the given filter token. - - The filter token to bind. - A FilterNode with the given path linked to it (if provided). - - - - Class that knows how to bind function call tokens. - - - - - Method to use for binding the parent node, if needed. - - - - - The names of functions that we don't bind to BuiltInFunctions - - - - - Constructs a FunctionCallBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Promotes types of arguments to match signature if possible. - - The signature to match the types to. - The types to promote. - - - - Checks that all arguments are SingleValueNodes - - The name of the function the arguments are from. - The arguments to validate. - Returns the types of the arguments provided. - - - - Finds the signature that best matches the arguments - - The name of the function - The types of the arguments - The signatures to match against - Returns the matching signature or throws - - - - Finds all signatures for the given function name. - - The function to get the signatures for. - The signatures which match the supplied function name. - - - - Binds the token to a SingleValueFunctionCallNode - - Token to bind - The current state of the binding algorithm - The resulting SingleValueFunctionCallNode - - - - Try to bind an end path token as a function call. Used for bound functions without parameters - that parse as end path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind an inner path token as a function call. Used for bound functions without parameters - that parse as inner path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind a as a function call. Used for container qualified functions without parameters. - - the dotted identifier token to bind - the semantically bound parent node for this dotted identifier - the current stat of the binding algorithm - a single value function call node representing the function call, if we found one. - true if we found a function for this token, false otherwise. - - - - Bind this function call token as a built in function - - the function call token to bidn - the current state of the binding algorithm - list of semantically bound arguments - A function call node bound to this function. - - - - Try to bind an identifier to a FunctionCallNode - - the identifier to bind - the semantically bound list of arguments. - a semantically bound parent node. - the current state of the binding algorithm - a single value function call node representing this funciton call, if we found one. - true if we found a function for this token. - - - - Determines whether this is a function that we don't bind to a BuiltInFunction - - name of the function - true if this is a function that we don't bind - - - - Build a SingleValueFunctionCallNode for a function that isn't bound to a BuiltInFunction - - original query token for this function - list of already bound query nodes for this function - The current state of the binding algorithm. - A single value function call node bound to this function. - - - - Validate the args list (adding the implicit range variable if necessary), and determine the correct return type for a cast function - - current binding state, used to get the implicit range variable if necessary - list of arguments, could be changed - the return type from this cast function - - - - Validate the arguments (adding the implicit range variable if necessary), and determine the correct return type - for an IsOf function - - the current state of the binding algorithm, used to get the implicit range variable if necessary - current list of args, can be changed - the correct return type for this function. - - - - Validate the arguments to either isof or cast - - the current state of the binding algorithm - flag to indicate which function we're validating - the list of arguments, which could be changed - the return type of the function. - - - - Try to get an IEdmTypeReference for a given type as a string, returns null if none exists - - the model for validation - the type name to find - an IEdmTypeReference for this type string. - - - - Implementation of IFunctionCallParser that allows functions calls and parses arguments with a provided method. - TODO : This implementation is incomplete. - - - - - Interface for a class that can parse an identifier as a function and return a representitive QueryToken. - - - - - Parses an identifier that represents a function. - - the syntactically bound parent of this identifier. - QueryToken representing this function. - - - - Reference to the lexer. - - - - - Reference to the lexer. - - - - - Method used to parse arguments. - - - - - Create a new FunctionCallParser. - - Lexer positioned at a function identifier. - Method to use for parsing individual arguments in the function. - - - - Parses an identifier that represents a function. - - Token for the parent of the function being parsed. - QueryToken representing this function. - - - - Parses argument lists. - - The lexical tokens representing the arguments. - - - - Parses comma-separated arguments. - - - Arguments can either be of the form a=1,b=2,c=3 or 1,2,3. - They cannot be mixed between those two styles. - - The lexical tokens representing the arguments. - - - - Read the list of arguments as a set of positional values - - A list of FunctionParameterTokens representing each argument - - - - Try to read the list of arguments as a set of named values - - the parsed list of arguments - true if the arguments were successfully read. - - - - Reference to the lexer. - - - - - Class that knows how to parse an identifier using an ExpressionLexer that is appropriately positioned. - - - - - Reference to the lexer. - - - - - parameters from the expression parser - - - - - Object to handle the parsing of things that look like function calls. - - - - - Parse an Identifier into the right QueryToken - - parameters passed in to the UriQueryExpressionParser - Object to use to handle parsing function calls. - - - - Parses identifiers. - - the syntactically bound parent of this identifier. - The lexical token representing the expression. - - - - Parses member access. - - Instance being accessed. - The lexical token representing the expression. - - - - Parses * (all member) access at the beginning of a select expression. - - Instance being accessed. - The lexical token representing the expression. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Visitor interface for walking the Path Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an SystemToken - - The SystemToken to visit - A user defined class - - - - Visit an NonSystemToken - - The NonSystemToken to visit - A user defined class - - - - Visitor interface for walking the Path Tree. - - - - - Visit an SystemToken - - The SystemToken to visit - - - - Visit an NonSystemToken - - The NonSystemToken to visit - - - - Visitor interface for walking the Syntactic Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a LiteralToken - - LiteralToken to visit - A ConstantNode bound to this LiteralToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits a EndPathToken - - The EndPathToken to bind - A PropertyAccessNode bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FunctionParameterToken - - The FunctionParameterTokenb to bind - A FunctionParametertoken bound to this UnaryOperatorToken - - - - Class that knows how to bind key values. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - Constructs a KeyBinder object using the given function to bind key values. - - Method to call to bind a value in a key. - - - - Binds key values to a key lookup on a collection. - - Already bound collection node. - The named value tokens to bind. - The bound key lookup. - - - - Binds a key property value. - - The named value to bind. - The type of a single item in a collection to apply the key value to. - The bound key property value node. - - - Provides a class used to represent a key for a resource. - - Internally, every key instance has a collection of values. These values - can be named or positional, depending on how they were specified - if parsed from a URI. - - - - Empty key singleton. - - - Named values. - - - Positional values. - - - Whether or not the key was formatted as a segment. - - - Initializes a new empty instance. - - - Initializes a new instance. - Named values. - Positional values for this instance. - Whether or not the key was formatted as a segment. - - One of namedValues or positionalValues should be non-null, but not both. - - - - Attempts to parse key values from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - - Creates a key instance from the given raw segment text with a single positional value. - - The segment text. - A key instance with the given segment text as its only value. - - - Attempts to parse nullable values (only positional values, no name-value pairs) from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the given values were parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Tries to convert values to the keys of the specified type. - The key properties to use for the conversion. - The converted key-value pairs. - true if all values were converted; false otherwise. - - - - Try to convert a value into an EDM primitive type - - the type to convert to - the value to convert - The converted value, if conversion succeeded. - true if the conversion was successful. - - - Attempts to parse key values from the specified text. - Text to parse (not null). - Set to true if the parser should accept named values - so syntax like Name='value'. If this is false, the parsing will fail on such constructs. - Set to true if the parser should accept null values. - If set to false, the parser will fail on null values. - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Creates a new instance if the specified value is null. - Type of variable. - Current value. - - - Whether the values have a name. - - - Checks whether this key has any values. - - - Returns a dictionary of named values when they AreValuesNamed is true. - - - Returns a list of values when they AreValuesNamed is false. - - - Number of values in the key. - - - - Class that knows how to bind a LambdaToken. - - - - - Method used to bind a parent token. - - - - - Constructs a LambdaBinder. - - Method used to bind a parent token. - - - - Binds a LambdaToken to metadata. - - Token to bind. - Object to hold the state of binding. - A metadata bound any or all node. - - - - Bind the parent of the LambdaToken - - the parent token - the bound parent node - - - - Bind the expression of the LambdaToken - - the expression token - the bound expression node - - - - Class that knows how to bind literal values. - - - - - Binds a literal value to a ConstantNode - - Literal token to bind. - Bound query node. - - - Use this class to parse literals from keys, etags, skiptokens, and filter/orderby expression constants. - - - - Default singleton instance of the literal parser. - - - - - Singleton instance of the literal parser for when keys-as-segments is turned on, which does not wrap the formatted strings in any quotes or type-markers. - - - - - Mapping between primitive CLR types and lightweight parser classes for that type. - - - - - Gets the literal parser for keys, based on whether the keys are formatted as segments. - - Whether or not the keys is formatted as a segment. - The literal parser to use. - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Gets the literal parser to use for ETags. - - - - - Default literal parser which has type-markers and single-quotes. Also supports arbitrary literals being re-encoded in binary form. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Tries to parse the literal by first removing required formatting for the expected type, then converting the resulting string. - - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Simplified literal parser for keys-as-segments which does not expect type-markers, single-quotes, etc. Does not support re-encoding literals as binary. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - If the string starts with '$', removes it. - Also asserts that the 2nd character is also '$', as otherwise the string would be treated as a system segment. - - The text. - The string value with a leading '$' removed, if the string started with one. - - - - Helper class for parsing a specific type of primitive literal. - - - - XML whitespace characters to trim around literals. - - - - The expected prefix for the literal. Null indicates no prefix is expected. - - - - - The expected suffix for the literal. Null indicates that no suffix is expected. - - - - - Whether or not the suffix is required. - - - - - The expected type for this parser. - - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected prefix for the literal. - - - - Initializes a new instance of the class. - - The expected type for this parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - Whether or not conversion was successful. - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - Whether or not the expected formatting was found and succesfully removed. - - - - Determines whether the values for the specified types should be - quoted in URI keys. - - Type to check. - - true if values of require quotes; false otherwise. - - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - - - - Primitive parser which uses a delegate for conversion. - - The expected CLR type when parsing. - - - - The delegate to use for conversion. - - - - - Initializes a new instance of the class. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - The expected prefix for the literal. - - - - Creates a primitive parser which wraps the given delegate and does not expect any extra markup in serialized literal. - - The delegate to use for conversion. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to start with one of the given prefixes. - - The delegate to use for conversion. - The expected prefix for the literal. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - A new primitive parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Parser specific to the Edm.Decimal type. - - - - - Initializes a new instance of the class. - - - - - Special helper to convert a string to a decimal that will allow more than what XmlConvert.ToDecimal supports by default. - - The text to convert. - The converted decimal value. - - - - Parser specific to the Edm.Binary type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - Returns the 4 bits that correspond to the specified character. - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - - - - Parser specific to the Edm.String type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - - Helper methods for metadata binding. - - - - - If the source node is not of the specified type, then we check if type promotion is possible and inject a convert node. - If the source node is the same type as the target type (or if the target type is null), we just return the source node as is. - - The source node to apply the convertion to. - The target primitive type. May be null - this method will do nothing in that case. - The converted query node, or the original source node unchanged. - - - - Retrieves type associated to a segment. - - The node to retrive the type from. - The type of the node, or item type for collections. - - - - Retrieves the type reference associated to a segment. - - The node to retrive the type reference from. - The Type reference of the node (item type reference for collections). - - - - Class to provide methods that wrap EdmLib calls that are normally not allows in ODataLib, but - are OK in the Uri Parser. These are OK to suppress because the Uri Parser - does not need to go through the behavior knob that the ODL reader/writer does. - This should only be used by the Uri Parser. - - - - - Wraps a call to IEdmModel.FindType. - - The model to search. - The qualified name of the type to find within the model. - The requested type, or null if no such type exists. - - - - Wraps call to FindTypeFromModel for a Collection type. - - the model to search - the name to find within the model - a type reference to the collection type, or null if no such type exists. - - - - Wraps a call to IEdmFunctionImport.ReturnType. - - The function import containing the return type. - Gets the return type of this function. - - - - Wraps a call to IEdmEntitySet.ElementType. - - The EntitySet to containing the element type. - The entity type contained in this entity set. - - - - Wraps a call to IEdmFunctionParameter.Type. - - The IEdmFunctionParameter containing the typ[e. - The type of this function parameter. - - - - Check whether the parent and child are properly related types - - the parent type - the child type - Throws if the two types are not related. - - - - Follow an ODataPath from an Expand to get the Final Nav Prop - - the path to follow - the navigation property at the end of that path. - Throws if the last segment in the path is not a nav prop. - - - - Follow an ODataPath from to get the most derived type - - the path to follow - the starting type before beginning to walk the path. - the most derived type in the path. - - - - Is this token a container - - the containerIdentifier of the container to find - which model to search - the container we found, if we found one - true if we find a container, false otherwise - - - - Returns true if this type is an EntityCollection - - The type to check - true if the type is an entity collection - - - - Checks whether all function imports have the same return type - - the list to check - true if the list of function imports all have the same return type - - - - Is this a valid binding type. i.e. is this an entity, entity colleciton, or complex type. - - the binding type - true if this binding type is valid - - - - NonOption variant of an ExpandBinder, where the default selection at each level is based on the top level select - clause. If that top level select is not populated, then we select all from this level, instead of selecting nothing. - - - - - Build the NonOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, apath to a property, - a wildcard, operation name, etc. - - - - - Build the NonOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Class responsible for binding a InnerPathToken into: - 1. SingleNavigationNode - 2. CollectionNavigationNode - 3. SinglePropertyAccessNode (complex) - 4. CollectionPropertyAccessNode (primitive | complex) - 5. KeyLookupNode - 6. SingleValueFunctionCallNode - 7. SingleEntityFunctionCallNode - - TODO The binder does support key lookup on collection navigation properties, however at this time - the synctactic parser does not set things up correctly to allow end-to-end scenarios to work. - - - - Bind method to use for binding a parent node, if needed. - - - - - Constructs a InnerPathTokenBinder. - - Bind method to use for binding a parent node, if needed. - - - - Ensures that the parent node is of entity type, throwing if it is not. - - Parent node to a navigation property. - The given parent node as a SingleEntityNode. - - - - Given a property name, if the associated type reference is strucutred, then this returns - the property of the structured type. Otherwise, it returns null. - - The parent type to be used to find binding options. - The string designated the property name to be bound. - The property associated with string and parent type. - - - - Builds an appropriate navigation query node (collection or single) for the given property and parent node. - - Navigation property. - Parent Node. - Named values (key values) that were included in the node we are binding, if any. - State of binding. - Object to perform binding on any key values that are present. - A new CollectionNavigationNode or SingleNavigationNode to capture the navigation propety access. - - - - Binds a . - This includes more than just navigations - it includes complex property access and primitive collections. - - The segment token to bind. - The state of binding. - The bound node. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Factory class to build IParameterQueryNodes. - - - - - Creates a for an implicit parameter ($it) from an . - - that the range variable is iterating over. - A new . - - - - Creates a ParameterQueryNode for an implicit parameter ($it). - - Element type the parameter represents. - Entity Set. May be null and must be null for non entities. - A new IParameterNode. - - - - Creates a RangeVariableReferenceNode for a given range variable - - Name of the rangeVariable. - A new SingleValueNode (either an Entity or NonEntity RangeVariableReferenceNode. - - - - Creates a ParameterQueryNode for an explicit parameter. - - Name of the parameter. - CollectionNode that the parameter is iterating over. - A new RangeVariable. - - - - Creates an AnyNode or an AllNode from the given - - State of binding. - Parent node to the lambda. - Bound Lambda expression. - The new range variable being added by this lambda node. - Token kind. - A new LambdaNode bound to metadata. - - - - Handler interface for walking the path semantic tree. - - - - - Handle a TypeSegment - - the segment to Handle - - - - Handle a NavigationPropertySegment - - the segment to Handle - - - - Handle an EntitySetSegment - - the segment to Handle - - - - Handle a KeySegment - - the segment to Handle - - - - Handle a PropertySegment - - the segment to Handle - - - - Handle an OperationSegment - - the segment to Handle - - - - Handle an OpenPropertySegment - - the segment to Handle - - - - Handle a CountSegment - - the segment to Handle - - - - Handle a LinksSegment - - the segment to Handle - - - - Handle a ValueSegment - - the segment to Handle - - - - Handle a BatchSegment - - the segment to Handle - - - - Handle a BatchReferenceSegment - - the segment to Handle - - - - Handle a MetadataSegment - - the segment to Handle - - - - Node to represent a function call that returns a collection of entities. - - - - - Base class for all semantically bound nodes which represent a composable collection of values. - - - - - Get the resouce type of a single entity from the collection represented by this node. - - - - - Get the EntitySet that contains this collection. - - - - - the name of this function. - - - - - list of function imports that this node represents. - - - - - list of parameters provided to this function - - - - - the type a single entity returned by this function - - - - - the type of the collection returned by this function - - - - - the set containing the entities returned by this function. - - - - - The semantically bound parent of this EntityCollectionFunctionCallNode. - - - - - Creates an EntityCollecitonFunctionCallNode to represent a function call that returns a collection of entities. - - The name of this function. - the list of function imports that this node represents. - the list of parameters to this function - the type the entity collection returned by this function. The element type must be an entity type. - the set containing entities returned by this function - the semantically bound parent of this EntityCollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not an entity type. - Throws if the input function imports is null - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function - - - - - Gets the list of function imports that this node represents. - - - - - Gets the list of parameters provided to this function. - - - - - Gets the individual item type returned by this function. - - - - - The type of the collection represented by this node. - - - - - Gets the individual entity type returned by this function. - - - - - Gets the entity set contaiing the entities returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Segment translator to determine whether a given is a collection. - - - - - Translate a NavigationPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an EntitySetSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a KeySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a PropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an OpenPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a CountSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a NavigationPropertyLinkSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchReferenceSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a ValueSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a MetadataSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - A segment representing $links or $ref - - - - - The semantic representation of a segment in a path. - - - - Returns the identifier for this segment i.e. string part without the keys. - - - Indicates whether this segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - Creates a new Segment and copies values from another Segment. - - Segment to copy values from. - - - - Creates a new Segment. - - - - - Translate a using an implemntation of. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - - - - Handle a using an implementation of a . - - An implementation of the handler interface. - - - - Check if this segment is equal to another segment. - - the other segment to check - true if the segments are equal. - - - - Copies over all the values of the internal-only properties from one segment to another. - - Ther segment to copy from. - - - - Gets the of this . - - This property can be null. Not all segments have a Type, such as a . - - - Returns the identifier for this segment i.e. string part without the keys. - - - Whether the segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - The navigation property this link or ref acts on. - - - - - Build a segment to represnt $links or $ref on a Nav prop - - The navigaiton property this link or ref acts on - The set of entities linked to by this . This can be null. - Throws if the input navigationProperty is null. - - - - Translate a - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - The other segment to check. - True if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property this link or ref acts on. - - - - - Gets the set of entities linked to by this . - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of or . - - - - - A representation of the path portion of an OData URI which is made up of s. - - - - - The segments that make up this path. - - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Get the segments enumerator - - The segments enumerator - - - - get the segments enumerator - - The segments enumerator. - - - - Walk this path using a translator - - the return type of the translator - a user defined translation path - an enumerable containing user defined objects for each segment - - - - Walk this path using a handler - - the handler that will be applied to each segment - - - - Checks if this path is equal to another path. - - The other path to compare it to - True if the two paths are equal - Throws if the input other is null. - - - - Add a segment to this path. - - the segment to add - Throws if the input newSegment is null. - - - - Gets the first segment in the path. Returns null if the path is empty. - - - - - Get the last segment in the path. Returns null if the path is empty. - - - - - Get the number of segments in this path. - - - - - Create an ODataPath object to represent a path semantically - - The list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Create an ODataPath object based on a single segment - - A list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Gets the navigation property for this expand path. - - the navigation property for this expand path. - - - - Ensure that this expand path contains only valid segment types. - - Throws if this list of segments doesn't match the requirements for a $expand - - - - Extension methods for . These method provide convenince functions. - TODO: Implement this class and it's visitors. These are stubs. - - - The values that these methods compute are not cached. - - - - - Computes the of the resource identified by this . - - Path to compute the type for. - The of the resource, or null if the path does not identify a - resource with a type. - - - - Computes the of the resource identified by this . - - Path to compute the set for. - The of the resource, or null if the path does not identify a - resource that is part of a set. - - - - Computes whether or not the resource identified by this is a collection. - - Path to perform the computation on. - True if the resource if a feed or collection of primitive or complex types. False otherwise. - - - Translates from an IPathSegment into an ODataPath - - - - Binds a collection of to metadata, creating a semantic ODataPath object. - - Collection of path segments. - The configuration to use when binding the path. - A semantic object to describe the path. - - - - Main Public API to parse an ODataURI. - - - - - The parser's configuration. - - - - - Build an ODataUriParser - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - A representing the metadata bound orderby expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parse a filter clause from an instantiated class. - - the filter clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A FilterClause representing the metadata bound filter expression. - - - - Parse an orderby clause from an instance of this class - - the orderby clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - An OrderByClause representing the metadata bound orderby expression. - - - - Parses a into a semantic object. - - - This is designed to parse the Path of a URL. If it is used to parse paths that are contained - within other places, such as $filter expressions, then it may not enforce correct rules. - - The absolute URI which holds the path to parse. - An representing the metadata-bound path expression. - Throws if the serviceRoot member is null, or if the input path is not an absolute uri. - - - - ParseSelectAndExpand from an instantiated class - - the select to parse - the expand to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. This can be null, if so that null will propagate through the resulting SelectExpandClause. - A SelectExpandClause with the semantic representation of select and expand terms - - - - Parse a full Uri into its contingent parts with semantic meaning attached to each part. - See . - - The full uri to parse. - An representing the full uri. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - - - - Parses the full Uri. - - The full uri to parse - An ODataUri representing the full uri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided. - - String representation of the filter expression. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided model. - - String representation of the orderby expression. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parses the and clauses on the given , binding - the text into a metadata-bound list of properties to be selected using the provided model. - - String representation of the select expression from the URI. - String representation of the expand expression from the URI. - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A representing the metadata bound orderby expression. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - Throws if the input inlineCount is not a valid $inlinecount value. - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - The exception that is thrown when path parsing detects an unrecognized or unresolvable token in a path (which servers should treat as a 404). - - - - - Exception type representing exceptions in the OData library. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - Plain text error message for this exception. - - - - Initializes a new instance of the DataServiceException class. - - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - - Component for controlling what convention are used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - Gets the internal representation of the user-specified convention. - - - - - Class to handle the binding of orderby tokens. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - Creates an OrderByBinder - - Method to use to visit the token tree and bind the tokens recursively. - - - - Processes the order-by tokens of a entityCollection (if any). - - State to use for binding. - The order-by tokens to bind. - An OrderByClause representing the orderby statements expressed in the tokens. - - - - Processes the specified order-by token. - - State to use for binding. - The next OrderBy node, or null if there is no orderby after this. - The order-by token to bind. - Returns the combined entityCollection including the ordering. - - - - Set of helpers and extensions to make it easier to convert the semantic path parser - to using and the related classes. - - - - - Returns whether the given type is a structural type that is open. - - The type to check. - Whether the type is both structural and open. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - Whether or not the type is an entity or entity collection type. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - The entity type. If the given type was a collection, this will be the element type. - Whether or not the type is an entity or entity collection type. - - - - Gets the target entity set for the given function import. - - The function import. - The source entity set. - The model. - The target entity set of the function import or null if it could not be determined. - - - - Throws an exception if the given type is an open complex type. - - The type to check. - - - - Reverse a Path - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an SystemToken - - The System token to visit - A user defined class - - - - Visit an NonSystemToken - - The System token to visit - A user defined class - - - - any children of the root, will always be null on first call - - - - - Build a PathReverser at the top level (with no child token) - - - - - Build a PathReverser based on a child token. - - the new child of this token - - - - Reverse a NonSystemToken - - the non system token to reverse - the reversed NonSystemToken - - - - Reverse a SystemToken - - the SystemToken to reverse - the reversed SystemToken - - - - Build the next level PathReverser - - the next level token - the next levels child token - the path token from the next level. - - - - Equality comparer for . - - - - - Determines whether the two paths are equivalent. - - The first path to compare. - The second path to compare. - Whether the two paths are equivalent. - - - - Returns a hash code for the given path. - - The path to hash. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Converts the token to a string that is sufficiently unique to be hashed or compared. - - The path token to convert to a string. - A string representing the path. - - - - Visitor interface for walking the Syntactic Tree. - - - - - Visit an SystemToken - - The System token to visit - - - - Visit an NonSystemToken - - The System token to visit - - - - Class that knows how to bind ParameterQueryTokens. - - - - - Binds a parameter token. - - The parameter token to bind. - The state of metadata binding. - The bound query node. - - - - Class that knows how to bind an end path token, which could be several things. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - The function call binder to use to bind this end path to a function if necessary. - - - - - Constructs a EndPathBinder object using the given function to bind parent token. - - Method to bind the EndPathToken's parent, if there is one. - - - - This method generates a for properties of open type - - EndPathToken to bind into an open property node. - Parent node of this open property - Will return a when open types are supported - - - - Generates a bound query node representing an given an already semantically bound parent node. - - The semantically bound source node of this end path token - The that will be bound to this node. Must not be primitive collection - QueryNode bound to this property. - - - - Constructs parent node from binding state - - Current binding state - The parent node. - - - - Binds a an end path token into a PropertyAccessToken, OpenPropertyToken, or FunctionCallToken. - - The property access token to bind. - State of the binding algorithm. - A Query node representing this endpath token, bound to metadata. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Provides values to describe the kind of thing targetted by a - client request. - - - - Nothing specific is being requested. - - - A top-level directory of service capabilities. - - - Entity Resource is requested - it can be a collection or a single value. - - - A single complex value is requested (eg: an Address). - - - A single value is requested (eg: a Picture property). - - - A single value is requested (eg: the raw stream of a Picture). - - - System metadata. - - - A data-service-defined operation that doesn't return anything. - - - The request is a batch request. - - - An open property is requested. - - - An open property value is requested. - - - A stream property value is requested. - - - A single collection of primitive or complex values is requested. - - - - Semantic parser for the path of the request URI. - - - - - regex pattern to match a contentID - - - - - The queue of segments remaining to be parsed. Should be populated and cleared out on each pass through the main path parsing loop. - - - - - The collection of segments that have been parsed so far. - - - - - The parser's current configuration. - - - - - Indicates that the next segment encountered must refer to something in 'metadata-space' and cannot be a key expression. - - - - - Initializes a new instance of . - - The parser's current configuration. - - - - Extracts the segment identifier and, if there are parenthesis in the segment, the expression in the parenthesis. - Will throw if identifier is not found or if the parenthesis expression is malformed. - - Internal only so it can be called from tests. Should not be used outside . - The segment text. - The identifier that was found. - The query portion that was found. Will be null after the call if no query portion was present. - - - Creates an array for the given . - Segments to process. - Segment information describing the given . - - - - Tries to find a single matching function import for the given identifier, parametes, and binding type. - - The identifier from the URI. - The parenthesis expression contianing parameters, if any. - The current binding type or null if there isn't one. - The configuration of the parser. - The parsed parameters from the parenthesis expression. - The single matching function import if one could be determined. - Whether or not a matching function import could be found. - - - Determines a matching target kind from the specified type. - ResourceType of element to get kind for. - An appropriate for the specified . - - - - Checks for single result, otherwise throws. - - indicates whether the current result is single result or not. - current segment identifier. - - - - Tries to get the next segment's text to parse. - - The segment text to parse. - Whether there was a next segment. - - - - Tries to get the next segment's text to parse. Should not be called except by the other overload which does not have the extra parameter. - - Whether the previous segment was an escape marker. - The segment text to parse. - Whether there was a next segment. - - - - Tries to handle the given text as a key if the URL conventions support it and it was not preceeded by an escape segment. - - The text which might be a key. - Whether or not the text was handled as a key. - - - - Throws if the given segment must be a leaf, as a later segment is being created. - - The previous segment which may need to be a leaf. - - - - Try to handle the segment as $count. - - The segment text to handle. - Whether the segment was $count. - - - - Tries to handle the segment as $links. If it is $links, then the rest of the path will be parsed/validated in this call. - - The text of the segment. - Whether the text was $links. - - - - Tries to bind a key from the parenthetical section of a segment. - - The section of the segment inside parentheses, or null if there was none. - - - - Try to handle the segment as $value. - - The segment text. - Whether the segment was $value. - - - - Creates a new segment for an open property. - - previous segment info. - name of the segment. - whether this segment has a query portion or not. - - - - Creates a named stream segment - - previous segment info. - stream property to create the segment for. - - - Creates the first for a request. - The text of the segment. - - - - Tries to parse the segment as a service operation - - The identifier for the segment. - The query portion - Whether or not the identifier referred to a service operation. - - - - Tries to parse a segment as a function or action. - - The previous segment before the operation to be invoked. - The name of the segment - The query portion - Whether or not the identifier referred to an action. - - - - Creates the next segment. - - The text for the next segment. - - - - Tries to bind the identifier as a property. - - The identifier to bind. - The property, if one was found. - Whether a property matching the identifier was found. - - - - Tries to create a type name segment if the given identifier refers to a known type. - - previous segment info. - The current raw segment identifier being interpreted. - Parenthesis expression of this segment. - Whether or not a type segment was created for the identifier. - - - - Creates a property segment - - previous segment info. - property to create the segment for. - query portion for this segment, if specified. - - - - Component for handling key expressions in URIs. - - - - Tries to create a key segment for the given filter if it is non empty. - Segment on which to compose. - Parenthesis expression of segment. - The key segment that was created if the key was non-empty. - Whether the key was non-empty. - - - - Tries to handle the current segment as a key property value. - - The segment text. - The previous segment. - The current url convention for the server. - The key segment that was created if the segment could be interpreted as a key. - Whether or not the segment was interpreted as a key. - - - - Determines whether the segment text is a system-reserved identifier like $'count'. - - The segment text. - - true if the segment text is a system-reserved identifier like $'count'; otherwise, false. - - - - - Parses the key properties based on the segment's target type, then creates a new segment for the key. - - The segment to apply the key to. - The key to apply. - The newly created key segment. - - - - Builds segments from tokens within $select. - - - - - Build a segment from a token. - - the token to bind - The model. - the entity type of the current scope based on type segments. - The segment created from the token. - - - - Build a wildcard selection item - - the token to bind to a wildcard - the model to search for this wildcard - the new wildcard selection item, if we found one - true if we successfully bound to a wildcard, false otherwise - - - - Tries to bind a given token as an Operation. - - Token to bind. - The model. - the current entity type to use as the binding type when looking for operations. - Bound segment if the token was bound to an operation successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Tries to bind a given token as an a declared structural or navigation property. - - Token to bind. - the entity type to search for this property - Bound segment if the token was bound to a declared property successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Build an ISelectExpandTermParser based on settings. - - - - - Build a new ISelectExpandTermParser, either with expand options or without, based on the global settings. - - the select or expand text to parse - pointer to the top level object - A new ISelectExpandTermParser - - - - Build a new ISelectExpandTermParser with default settings - - the clause to parse - A NonOptionSelectExpandTermParser - - - - Polish a combined select expand tree. - - - - - Prune off any unneccessary expands - - the clause to prune - a pruned tree. - - - - Visit a Select property and use it to decorate a SelectExpand Tree - - - - - The model used for binding. - - - - - the maximum recursive depth. - - - - - The expand tree to decorate. - - - - - The entity type for this level of the select - - - - - Build a property visitor to visit the select tree and decorate a SelectExpandClause - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visit a System Token - - the system token to visit - - - - Visit a NonSystemToken - - the non sytem token to visit - - - - process a nonsystemtoken as a path, following any type segments if necessary - - the token to process - - - - The expand tree that we're decorating - - - - - Translate a select tree into the right format to be used with an expand tree. - - - - - Normalize a SelectToken into something that can be used to trim an expand tree. - - The select token to normalize - Normalized SelectToken - - - - Class that represents a selection of all properties and functions on an entity. - - - - - Class that specifies what properties and functions have been specified to be selected for a given entity at the current level of the expand tree. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing an alias to another url in a batch. - - - - - The of the resource that this placeholder represents. - - - - - The entity set from the alias. - - - - - The contentId that this alias referrs to. - - - - - Build a BatchReferenceSegment - - The contentId of this segment is referring to - The of the resource that this placeholder represents. - The resulting entity set - Throws if the input edmType of contentID is null. - Throws if the contentID is not in the right format. - - - - Translate this into something else. - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of the interface. - - An implementation of the Handler interface. - Throws if the input Handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of the resource that this placeholder represents. - - - - - Gets the resulting entity set for this batch reference segment. - - - - - Gets the contentId this alias is referrring to - - - - - A segment representing $batch - - - - - Gets the singleton instance of the batch segment. - - - - - Build a segment to represent $batch. - - - - - Translate a into something else using an implementation of . - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of . - - An implementation of the Handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - The other segment to check. - True if the other segment is equivalent to this one. - Throws if the input other is null - - - - Gets the of this , which is always null. - - - - - Class to represent the selection of all the actions and functions in a specified container. - - - - - An item that has been selected by the query at the current level of the tree. - - - - - The whose actions and functions should be selected. - - - - - Creates an instance of this class with the specified . - - The whose actions and functions should be selected. - Throws if the input container is null. - - - - Gets the whose actions and functions should be selected. - - - - - A segment representing $count in a path - - - - - Return the singleton instance of Count - - - - - Build a segment representing $count - - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - throws if the input other is null. - - - - Gets the of this , which is always Edm.Int32. - - - - - Class that knows how to resolve an IEdmExpression to find its associated EntitySet. - This functionality is needed to determine what a EntitySets a FunctionImport applies to. - - - - - Resolves an IEdmExpression to an IEdmEntitySet. - - Expression to resolve. - The resolved EntitySet. - - - - A segment representing an EntitySet in a path. - - - - - The entity set represented by this segment. - - - - - Type of the entities in the set represented by this segment. - - - - - Build a segment representing an entity set - - The entity set represented by this segment. - Throws if the input entitySet is null. - - - - Translate an into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle an using the an instance of the . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the entity set represented by this segment. - - - - - Gets the of this . - This will always be an for the that this set contains. - - - - - This represents one level of expansion for a particular expansion tree. - - - - - The Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - The entity set for this expansion level. - - - - - The filter expand option for this expandItem. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The orderby expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - the top expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The skip option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The inlinecount option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The select that applies to this level, and any sub expand levels below this one. - - - - - Create an Expand item using a nav prop, its entity set and a SelectExpandClause - - the path to the navigation property for this expand item, including any type segments - the entity set for this ExpandItem - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Create an expand item, using a navigationProperty, its entity set, and any expand options. - - the path to the navigation property for this expand item, including any type segments - the entity set for this expand level. - A filter clause for this expand (can be null) - An Orderby clause for this expand (can be null) - A top clause for this expand (can be null) - A skip clause for this expand (can be null) - An Inlinecount clause for this expand (can be null) - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Gets the Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - Gets the EntitySet for this level. - - - - - The select and expand clause for this expanded navigation. - - - - - The filter clause for this expand item - - - - - Gets the orderby clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the top clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the skip clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the inlinecount clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - A list of all expanded items at the next level down. - - - - - The list of all expanded items at the next level down. - - - - - Constructor - - The list of all expanded items at the next level down. - - - - The list of all expanded items at the next level down. - - - - - A segment representing a key lookup in a path. - - - - - The set of key property names and the values to be used in searching for the given item. - - - - - The type of the item this key returns. - - - - - The entity set that this key is used to search. - - - - - Construct a Segment that represents a key lookup. - - The set of key property names and the values to be used in searching for the given item. - The type of the item this key returns. - The entity set that this key is used to search. - Throws if the input entity set is not related to the input type. - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the set of key property names and the values to be used in searching for the given item. - - - - - Gets the type of the item this key returns - - - - - Gets the entity set that this key is used to search. - - - - - A segment representing $metadata in a path. - - - - - Gets the singleton instance of MetadataSegment - - - - - Build a segment to represent $metadata - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this , which is always null. - - - - - Class that represents a selecting none of the properties or functions at this level, but there are still relevant expansions in this subtree. - - - - - Get the singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing a navigation property - - - - - The navigation property this segment represents. - - - - - Build a segment representing a navigation property. - - The navigation property this segment represents. - The set of the entities targetted by this navigation property. This can be null. - Throws if the input navigationProperty is null. - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Checks if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property represented by this NavigationPropertySegment. - - - - - Gets the set of the entities targetted by this Navigation Property. - This can be null. - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of , , - , , or . - - - - - Create an ODataSelectPath - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Create an ODataPath object based on a single segment - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Ensure that the segments given to us are valid select segments. - - Throws if the list of segments doesn't match the requirements for a path in $select - - - - A segment representing and open property - - - - - The name of this open property. - - - - - Build a segment to represent an open property. - - The name of this open property - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the name of this open property. - - - - - Gets the of this , which is always null. - The type of open properties is unknown at this time. - - - - - Represents a named parameter value for invoking an operation in an OData path. - - - - - Initializes a new instance of . - - The name of the parameter. Cannot be null or empty. - The value of the parameter. - - - - The name of the parameter. - - - - - The parameter value. - - - - - Class to represent the selection of a specific path. - - - - - The selected path. - - - - - Constructs a to indicate that a specific path is selected. - - The selected path. - Throws if the input selectedPath is null. - - - - Gets the selected path. - - - - - Class that represents a partial subset of items on a given type that have been selected at this level of the select expand tree. - - - - - The subset of items that has been selected at this level. - - - - - Creates a with the specified set of . - - The list of items on the that has been selected. - - - - The subset of items that has been selected at this level. - - - - - A segment representing a structural property - - - - - The structural property referred to by this segment - - - - - Build a segment based on a structural property - - The structural property that this segment represents. - Throws if the input property is null. - - - - Translate a using an instance of />. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the structural property that this segment represents. - - - - - Gets the of this . - - - - - Class representing the combined semantic meaning of any select or expand clauses in the uri. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - - Internal flag indicating that this clause was built using the legacy Selection and Expansion classes. In this case, we must - call ComputeFinalSelectedItems() before handing out the object publically. - - - - - The object that describes what properties and functions should be selected from the associated at this level. - - - - - The selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Constructs a from the given parameters. - - The selected properties and operations. This list should include any expanded navigation properties. - Flag indicating if all items have been selected at this level. - - - - Constructs a from the given parameters. - - The object that describes what properties and functions should be selected from the associated . - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - Add a selection item to the current selection. - - the new selection item to add - - - - Switch to an AllSelection at this level and recursively at all levels below this one. - This is non-reversable because once everything is selected, selecting a specific property or other item is redundant. - - - - - Initializes the selection for this clause as ExpansionsOnly if it is not already partial. - - - - - Computes the list of SelectItems that will be publically availible to consumers. - - - - - Gets the selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Gets the object that describes what properties and functions should be selected from the associated . - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Node representing a type segment that casts an entity collection node. - - - - - The entity collection node that we're casting. - - - - - The target type that we're casting our entity collection node to. - - - - - the type of the collection returned by this function - - - - - The EntitySet that our collection comes from. - - - - - Create a CollectionCastNode with the given source node and the given target type. - - Parent that is being cast. - Type to cast to. - Throws if the input source or entityType are null. - - - - Accept a that walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the entity collection node that we're casting. - - - - - Gets the type that we're casting all items in this collection to. - - - - - The type of the collection represented by this node. - - - - - Gets the entity type that we're casting all items in this collection to. - - - - - Gets the EntitySet that our collection comes from. - - - - - Gets the kind of this node. - - - - - Query node representing a collection navigation property. - - - - - The navigation property of the single entity this node represents. - - - - - The resouce type of a single entity item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - The parent node. - - - - - The EntitySet from which the collection of entities comes from. - - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The parent of this collection navigation node. - The collection node. - Throws if the input source or navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The source entity set. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the parent node of this Collection Navigation Node. - - - - - Gets the target multiplicity. - - - - - Gets the Navigation Property that defines this collection Node. - - The navigation property that defines this collection node. - - - - Gets a reference to the resource type a single entity in the collection. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity from the collection. - - - - - Gets the entity set containing this collection. - - - - - Gets the kind of this node. - - - - - The result of parsing a $filter query option. - - - - - The filter expression - this should evaluate to a single boolean value. - - - - - The parameter for the expression which represents a single value from the collection. - - - - - Creates a . - - The filter expression - this should evaluate to a single boolean value. Cannot be null. - The parameter for the expression which represents a single value from the collection. Cannot be null. - Throws if the input expression or rangeVariable is null. - - - - Gets the filter expression - this should evaluate to a single boolean value. - - - - - Gets the parameter for the expression which represents a single value from the collection. - - - - - Gets the type of item returned by this clause. - - - - - Represents the result of parsing the $orderby query option. - - - - - The order-by expression. - - - - - The direction to order. - - - - - The rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Creates an . - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - The order-by expression. Cannot be null. - The direction to order. - The rangeVariable for the expression which represents a single value from the collection we iterate over. - Throws if the input expression or rangeVariable is null. - - - - Gets the next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Gets the order-by expression. - - - - - Gets the direction to order. - - - - - Gets the rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - Gets the type of a single item from the collection returned after ordering. - - - - - A RangeVariable inside an any or all expression that doesn't refer to an entity set - - - - - A RangeVariable, which represents an iterator variable either over a collection, either of entities or not. - Exists outside of the main SemanticAST, but hooked in via a RangeVariableReferenceNode (either Non-Entity or Entity). - - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type of entity referenced by this rangeVariable - - - - - Gets the kind of this rangeVariable. - - - - - The name of the associated any/all parameter (null if none) - - - - - The Entity collection that this rangeVariable node iterates over - - - - - The Entity set of the collection this node iterates over. - - - - - The entity type of each item in the collection that this range variable iterates over. - - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity collection that this rangeVariable node iterates over - Throws if the input name or entityType is null. - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity set of the collection this node iterates over. - Throws if the input name or entityType is null. - - - - Gets the name of the associated any/all parameter (null if none) - - - - - Gets the Entity collection that this rangeVariable node iterates over - - - - - Gets the Entity set of the collection this node iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - Node to represent a range variable in an Any or All clause that referrs to an entity. - - - - - Base class for all semantic metadata bound nodes which represent a single composable entity value. - - - - - Base class for all semantic metadata bound nodes which represent a single composable value. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Gets the EntitySet containing this single entity. - - - - - Gets the type of this single entity. - - - - - The name of the associated range variable (null if none) - - - - - The entity type of the associated range variable. - - - - - The range variable that the node represents. - - - - - The entity set containing the collection that this range variable iterates over. - - - - - Creates an . - - The name of the associated range variable (null if none) - The actual range variable on the bind stack that this refers to - Throws if the input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangevariable (null if none) - - - - - Gets the entity type of the associated range variable. - - - - - Gets the entity type of the associated range variable. - - - - - Gets a reference to the range variable that this node represents. - - - - - Gets the entity set containing the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - A rangeVariable from an Any or All that doesn't refer to an entity set - - - - - The name of the associated rangeVariable - - - - - The collection that this rangeVariable node iterates over, can be null in the case of - single value nodes. - - - - - The type of the value the range variable represents - - - - - Creates a . - - The name of the associated range variable. - The type of the value the range variable represents. - The collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - Throws if the input name is null. - Throws if the input type reference is an entity type. - - - - Gets the name of the associated rangevariable. - - - - - Gets the type of the value the range variable represents. - - - - - Gets the collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - - - - - Gets the kind of this range variable. - - - - - A node that represents a rangeVariable that iterates over a non entity collection. - - - - - The name of the associated rangeVariable - - - - - The type item referred to by this rangeVariable. - - - - - Reference to a rangeVariable on the binding stack. - - - - - Creates a . - - The name of the associated rangeVariable - Reference to a rangeVariable on the binding stack. - Throws if input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type item referred to by this rangeVariable. - - - - - Gets the reference to a rangeVariable on the binding stack. - - - - - Gets the kind of this node. - - - - - Enumeration of the different kinds of RangeVariables. - - - - - A range variable that referrs to entity types. - - - - - A range variable that referrs to non-entity types. - - - - - A segment representing a call to an action, function, or service operation. - - - - - Sentinel type marking that we could not determine the return type for this segment. - - - - - The list of possible FunctionImport overloads for this segment. - - - - - the list of parameters to this operation. - - - - - The containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - The type of item returned by the operation(s), if known. - - - - - Build a segment representing a call to an operation - action, function, or service operation. - - A single function import that this segment will represent. - The containing the entities that this function returns. - Throws if the input operation is null. - - - - Build a segment representing a call to an operation - action, function, or service operation. - - The list of possible FunctionImport overloads for this segment. - The containing the entities that this function returns. - Throws if the input operations is null. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - The list of possible FunctionImport overloads for this segment. - The list of parameters supplied to this segment. - The containing the entities that this function returns. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handle interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Ensures that the entity set and computed return type make sense. - - Throws if the return type computed from the function call is null, or if the return type is not in the same hierarchy as the entity set provided. - - - - Gets the list of possible FunctionImport overloads for this segment. - - - - - Gets the list of parameters for this segment. - - - - - Gets the of this . - - - This value will be null for void service operations. - If there are multiple candidate operations with varying return types, then this property will throw. - - Throws if the type is unknown. - - - - Gets the containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - Node representing a function call which returns a single entity. - - - - - the name of this function - - - - - the list of funcitonImports represented by this node. - - - - - List of arguments provided to the function. - - - - - The return type of this function. - - - - - The EntitySet containing the single entity that this function returns. - - - - - The semantically bound parent of this function. - - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - the list of function imports this node represents. - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - The semantically bound parent of this function. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call - - - - - Gets the list of function imports that this node represents - - - - - Gets the list of arguments provided to the function. - - - - - Gets the return type of this function. - - - - - Gets the EntitySet containing the single entity that this function returns. - - - - - Gets the return type of this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Node representing an access to a collection property value. - - - - - The value containing the property. - - - - - The EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Constructs a new . - - The value containing the property. - The EDM property which is to be accessed. - Throws if the input source or property is null. - Throws if the input property is not a collection of structural properties - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing the property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - Gets the resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of the items in the read-only enumerable. - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Returns the (non-generic) enumerator to iterate through the items. - - The enumerator object to use. - - - - A segment representing a cast on the previous segment to another type. - - - - - The target type of this type segment. - - - - - The set containing the entities that we are casting. - - - - - Build a type segment using the given . - - The target type of this segment, which may be collection type. - The set containing the entities that we are casting. This can be null. - Throws if the input edmType is null. - Throws if the input edmType is not relaed to the type of elements in the input entitySet. - - - - Translate a into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this . - - - - - Gets the set containing the entities that we are casting. - - - - - Singleton sentinal instance of that indicates that $select has not been processed yet. Should never be exposed to the user. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - Represents an aliased parameter in a function call that has not yet been resolved to a specific value. - - - - - Represents the value of a property. - - - - - Indicates whether the given value is a null value. - - true if the value is an ODataNullValue, false otherwise. - - - - Initializes a new instance of . - - The alias provided as the parameter value. - The EDM type of the parameter represented by this alias. - - - - The EDM type of the parameter represented by this alias. - - - - - The alias provided as the parameter value. - - - - - Helper methods for the URI Parser. - - - - - Throws if the type is not related to the type of the given set. - - Type to check. - Second type, which should be related to the first type. - The segment that is checking this. - - - - A segment representing $value - - - - - The of this . - - - - - Build a segment to represnt $value. - - The type of the segment before $value. This may be null, for cases such as open properties. - Throws if the input previousType is a colleciton type. - - - - Translate a into another object using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of this . - - - - - Class to represent a '*' selection item, indicating that all structural properties should be selected. - - - - - Use a Select syntactic tree to populate the correct values for Selection in an already parsed - Expand Semantic Tree. - - - - - Visitor object to walk the select tree - - - - - Constructs a new SelectBinder. - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visits the top level select token - - the select token to visit - A new SelectExpandClause decorated with the information from the selectToken - - - - Visitor interface for walking the Semantic Tree. - - Generic type produced by the visitor. - - - - Visit an AllNode - - the node to visit - Defined by the implementer - - - - Visit an AnyNode - - the node to visit - Defined by the implementer - - - - Visit a BinaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a ConstantNode - - the node to visit - Defined by the implementer - - - - Visit a ConvertNode - - the node to visit - Defined by the implementer - - - - Visit an EntityCollectionCastNode - - the node to visit - Defined by the implementer - - - - Visit an EntityRangeVariableReferenceNode - - the node to visit - Defined by the implementer - - - - Visit a NonEntityRangeVariableNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityCastNode - - the node to visit - Defined by the implementer - - - - Visit a SingleNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a EntityCollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueOpenPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValuePropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a UnaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a NamedFunctionParameterNode. - - The node to visit. - Defined by the implementer - - - - Lexical token representing an expand operation. - - - - - The nav prop path for this ExpandTerm - - - - - the filter option for this expand term - - - - - the order by option for this expand term - - - - - the top option for this expand term - - - - - the skip option for this expand term. - - - - - the inlineCount option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - Create an expand term token using only a property - - the path to the navigation property - - - - Create an expand term using only the property and its subexpand/select - - the path to the navigation property for this expand term - the sub select for this token - the sub expand for this token - - - - Create an expand term token - - the nav prop for this expand term - the filter option for this expand term - the orderby option for this expand term - the top option for this expand term - the skip option for this expand term - the inlineCountOption for this expand term - the select option for this expand term - the expand option for this expand term - - - - Implement the visitor for this Token - - The type to return - A tree visitor that will visit this node. - Determined by the return type of the visitor. - - - - the nav property for this expand term - - - - - The filter option for this expand term. - - - - - the orderby option for this expand term. - - - - - the top option for this expand term. - - - - - the skip option for this expand term. - - - - - the inline count option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - the kind of this expand term. - - - - - Lexical token representing an expand operation. - - - - - The properties according to which to expand in the results. - - - - - Create a ExpandToken given the property-accesses of the expand query. - - The properties according to which to expand the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to expand in the results. - - - - - Lexical token representing a segment in a path. - - - - - - Lexical token representing a segment in a path. - - - - - - the next token in the path - - - - - build this segment token using the next token - - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - internal setter for the next token. - - the next token to set. - - - - Get the NextToken in the path - - - - - The name of the property to access. - - - - - Any named values for this NonSystemToken - - - - - The identifier for this token. - - - - - Build a NonSystemToken - - the identifier of this token - a list of named values for this token - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the list of named values for this token. - - - - - Get the identifier for this token. - - - - - Lexical token representing a segment in a path. - - - - - - The NextToken in the path(can either be the parent or the child depending on whether the tree has - been normalized for expand or not. - TODO: need to revisit this and the rest of the syntactic parser to make it ready for public consumption. - - - - - The name of the property to access. - - - - - Lexical token representing a System token such as $count - - - - - - The identifier for this SystemToken - - - - - Build a new System Token - - the identifier for this token. - the next token in the path - - - - Is this token namespace or container qualified. - - always false, since this is a system token. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the identifier for this token - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LiteralToken - - The LiteralToken to visit - A ConstantNode bound to this LambdaToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits an EndPathToken - - The EndPathToken to bind - A PropertyAccessClause bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FuntionParameterToken - - The FunctionParameterToken to bind - A user defined value - - - - Walk down a chain of type segments, checking that we find the correct type at each level. - - - - - Follow any type segments on the path, stopping at the first segment that isn't a type token. - - the first type segment - the model these types are contained in. - the maximum recursive depth - the top level entity type, will be overwritten with the last entity type in the chain - the first non type token in the path - A path with type segments added to it. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(BinaryOperatorKind), unrecognized kind of binary operator. - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(UnaryOperatorKind), unrecognized kind of unary operator. - - - Unreachable codepath in MetadataBinder.BindServiceOperation, unrecognized kind of service opertion. - - - Unreachable codepath in QueryExpressionTranslator.TranslateBinaryOperator, unrecognized kind of binary operator. - - - Unreachable codepath in UriPrimitiveTypeParser.HexCharToNibble - - - Unreachable codepath in UriQueryExpressionParser.ParseComparison - Was a new binary operator keyword without adding it to the switch in the ParseComparison? - - - Unreachable codepath in UriPrimitiveTypeParser.TryUriStringToPrimitive - Unsupported type was asked to be parsed. - - - Unreachable codepath in QueryNodeUtils.BinaryOperatorResultType, unrecognized kind of binary operator. - - - Unreachable codepath in QueryExpressionTranslator.TranslateUnaryOperator, unrecognized kind of unary operator. - - - Unreachable codepath in BinaryOperator.GetOperator, unrecognized kind of binary operator. - - - Unreachable codepath in ODataUriBuilder.WriteUnary, unrecognized kind of unary operator. - - - Unreachable codepath in ODataUriBuilderUtils.ToText(InlineCountKind), unrecognized kind of inline count. - - - - Query node representing an All query. - - - - - Node representing an Any/All query. - - - - - The collection of rangeVariables in scope for this Any or All. - - - - - The newest range variable added for by this Any or All. - - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - The newest range variable added for by this Any or All. - - - - Gets the collection of rangeVariables in scope for this Any or All. - - - - - Gets the newest range variable added for by this Any or All. - - - - - Gets or Sets the associated boolean expression - - - - - Gets or Sets the parent entity set or navigation property - - - - - Create an AllNode - - The name of the rangeVariables list. - - - - Create an AllNode - - The name of the rangeVariables list. - The new range variable being added by this all node - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the All Query - - - - - Lexical token representing the Any/All Query - - - - - The parent token. - - - - - The parameter which denotes source type. - - - - - The expression component of Any. - - - - - Create a AnyAllQueryToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The parent token. - - - - - The expression. - - - - - The parameter. - - - - - Create a AllToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Query node representing an Any query. - - - - - Create a AnyNode - - The name of the parameter list. - - - - Create a AnyNode - - The name of the parameter list. - The name of the new range variable being added by this AnyNode - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the Any Query - - - - - Create a AnyToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - In-memory annotation class to associate CLR instance types with - (non-primitive) EDM types. - - - - - true if reflection over the instance type is supported; otherwise false. - - - - - The instance type represented by this annotation. - - - - - In-memory annotation class to associate a result kind with a service operation. - - - - - The result kind of the service operation. - - - - - Annotation to hold information for a particular property. - - - - - true if reflection over the property is allowed; otherwise false. - - - - - Use this type to describe the kind of results returned by a service - operation. - - - - - A single direct value which cannot be further composed. - - - - - An enumeration of values which cannot be further composed. - - - - - A queryable object which returns multiple elements. - - - - - A queryable object which returns a single element. - - - - - No result return. - - - - - Lexical token representing a single nonroot segment in the query path. - - - - - The Identifier of the segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - The NextToken segment. - - - - - Create a new StartPathToken given the Identifier and NextToken and namedValues if any - - The Identifier of the segment, the identifier. - The NextToken segment, or null if this is the root segment. - The named values in the key lookup for this segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The Identifier of the segment, the identifier. - - - - - The NextToken segment, or null if this is the root segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - Utility methods used with the OData Query library. - - - - - Checks whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Sets whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Gets the result kind of the . - - The to check. - The containing the annotation. - The result kind of the or null if no result kind annotation exists. - - - - Sets the result kind of the . - - The to check. - The containing the annotation. - The result kind to set. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified ; if no such service operation exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified or null if no such service operation exists. - - - - Returns the instance type for the specified or null if none exists. - - The type reference to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - All primitive type references are guaranteed to have an instance type. - - - - Returns the instance type for the specified or null if none exists. - - The type to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - - - - Sets the instance type for the specified ; if null is specified an existing instance type will be removed. - - The type to get the instance type for. - Model containing annotations. - The instance type for the or null to remove an existing instance type. - - - - Checks whether reflection over the instance type is allowed or not. - - The type reference to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type reference to check. - The model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified ; if no such entity set exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified or null if no such entity set exists. - - - - Method that checks whether a function import is a service operation. - - The containing annotations. - The to check. - true if the represents a service operation; otherwise false. - - A is considered a service operation if it is annotated with an m:HttpMethod attribute. - - - - - Method that checks whether a function import is an action. - - The containing annotations. - The to check. - true if the represents an action; otherwise false. - - A is considered an action if it is side-effecting but not annotated with an m:HttpMethod attribute. - - - - - Class to wrap around BinaryOperatorKind that gives precedent meaning to it. - - - - Wrapper for Add operator kind. - - - Wrapper for And operator kind. - - - Wrapper for Divide operator kind. - - - Wrapper for Equal operator kind. - - - Wrapper for GreaterThanOrEqual operator kind. - - - Wrapper for GreaterThan operator kind. - - - Wrapper for LessThanOrEqual operator kind. - - - Wrapper for LessThan operator kind. - - - Wrapper for Modulo operator kind. - - - Wrapper for Multiply operator kind. - - - Wrapper for NotEqual operator kind. - - - Wrapper for Or operator kind. - - - Wrapper for Subtract operator kind. - - - - The text for this operator. - - - - - The precedence for this operator. - - - - - Whether it needs parentheses against other same operator. - - - - - Create a new BinaryOperator given its text, precedence, - and whether it needs parentheses against other same operator. - - The text for this operator. - The precedence for this operator in relative to other operators. - - Whether it needs parentheses - when nesting with other operators of same precedence. - - - - - Get the BinaryOperator wrapper for the given operatorKind. - - The kind to get wrapper for. - The binary operator for the specified . - - - - Whether it needs parentheses against other same operator. - - - - - The precedence for this operator. - - - - - The text for this operator. - - - - - Lexical token representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Create a new BinaryOperatorToken given the operator, left and right query. - - The operator represented by this node. - The left operand. - The right operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Enumeration of binary operators. - - - - - The logical or operator. - - - - - The logical and operator. - - - - - The eq operator. - - - - - The ne operator. - - - - - The gt operator. - - - - - The ge operator. - - - - - The lt operator. - - - - - The le operator. - - - - - The add operator. - - - - - The sub operator. - - - - - The mul operator. - - - - - The div operator. - - - - - The mod operator. - - - - - Class to handle writing an BinaryOperatorToken. - This class optimizes on reducing parentheses as base on operator precedence. - - - - - The parent ODataUriBuilder that invokes this binary operator builder. - - - - - Create a new BinaryOperatorToken for the given Uri builder to write BinaryOperatorToken. - - The parent builder of this builder. - - - - Write the given binary token as Uri part. - - To write as Uri part. - - - - Determine whether parentheses are needed around the left subtree base on the current operator. - - The current binary node's operator. - The left binary subtree. - True if need parenthese, false if not. - - - - Determine whether parentheses are needed around the right subtree base on the current operator. - - The current binary node's operator. - The right binary subtree. - True if need parentheses, false if not. - - - - Write the given binary token as Uri part. - - Whether parentheses are needed around the written expression. - To write as Uri part. - - - - Class containing definitions of all the built-in functions. - - - - - Dictionary of the name of the built-in function and all the signatures. - - - - - Returns a list of signatures for a function name. - - The name of the function to look for. - The list of signatures available for the function name. - true if the function was found, or false otherwise. - - - Builds a description of a list of function signatures. - Function name. - Function signatures. - A string with ';'-separated list of function signatures. - - - - Creates all of the spatial functions - - Dictionary of functions to add to. - - - - Builds the list of all built-in functions. - - Returns a dictionary of built in functions. - - - - Creates all string functions. - - Dictionary of functions to add to. - - - - Creates all date and time functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for date time functions. - - The array of signatures for a date time functions. - - - - Builds the set of signatures for timespan functions. - - The set of signatures for timespan functions. - - - - Creates all math functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for math functions. - - The array of signatures for math functions. - - - - Node representing a primitive constant value. - - - - - The primitive constant value. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - - - - - Create a ConstantNode - - This node's primitive value. - The literal text for this node's value, formatted according to the OData URI literal formatting rules. - Throws if the input literalText is null. - - - - Create a ConstantNode - - This node's primitive value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the primitive constant value. - - - - - Get or Set the literal text for this node's value, formatted according to the OData URI literal formatting rules. May be null if the text was not provided at construction time. - - - - - Gets the resouce type of the single value this node represents. - - - - - Gets the kind of the query node. - - - - - Node representing a conversion of primitive type to another type. - - - - - The source value to convert. - - - - - The target type that the source will be converted to. - - - - - Constructs a ConvertNode. - - The node to convert. - The type to convert the node to - Throws if the input source or typeReference is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Get the source value to convert. - - - - - Get the type we're converting to. - - - - - Get the kind of this node. - - - - - Query node representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Create a BinaryOperatorNode - - The binary operator type. - The left operand. - The right operand. - Throws if the left or right inputs are null. - Throws if the two operands don't have the same type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the left operand. - - - - - Gets the right operand. - - - - - Gets the resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Possible values of $inlinecount. - - - - - Do not include count in response. - - - - - Include the count of all entries in response. - - - - - Keyword enum values related to the URI query syntax - such as $metadata, $count, $value, etc. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - - Helper methods for with literals. - - - - - Parse the given text as a Geography literal. - - The text to parse. - The Geography object if succeeded, else a ParseErrorException is thrown. - - - - Parse the given text as a Geometry literal. - - The text to parse. - The Geometry object if succeeded, else a ParseErrorException is thrown. - - - - Convert to string the given Geography instance. - - Instance to convert. - Well-known text representation. - - - - Convert to string the given Geometry instance. - - Instance to convert. - Well-known text representation. - - - - The formatter to create/format text to and from spatial. - - - - - URI builder that constructes a from the parsed query tokens. - - - - - The query token to write to Uri. - - - - - The string builder to write the query token to. - - - - - Create a new Uri builder for the given token. - - The token to write out as Uri. - - - - Create a URI for the given queryDescriptor given the base service URI. - - The base service URI. - The query descriptor to create the result URI from. - An absolute URI that base on the baseUri and represent the queryDescriptor. - - - - Get the Uri string representation of the given CLR object literal. - - The object to return as literal. - Uri string represent if is a CLR literal. Throw exception if not. - - - - Write the descriptor token as URI part to this builder. - - To write as URI part. - - - - Append the given text to this builder. - - The text to append. - - - - Write the query token as URI part to this builder. - - To write as URI part. - - - - Write the Uri string representation of the given CLR object literal to the given builder. - - The to write the to. - The object to write as literal. - - - - Build the queryToken as Uri string part. - - The Uri part representing the queryToken. - - - - Write the binary token as URI part to this builder. - - To write as URI part. - - - - Write the function call token as URI part to this builder. - - To write as URI part. - - - - Writes a path to this builder. - - Array of segments. - - - - Write the literal token as URI part to this builder. - - To write as URI part. - - - - Write the orderby tokens as URI part to this builder. - - To write as URI part. - - - - Write the orderby token as URI part to this builder. - - To write as URI part. - - - - Write out a PathSegmentToken - - the pathSegmentToken to write. - - - - Write the property access token as URI part to this builder. - - To write as URI part. - - - - Write the navigation property token as URI part to this builder. - - To write as URI part. - - - - Write the given queryOption as Uri part. - - To write as URI part. - - - - Write ? or & depending on whether it is the start of the whole query or query part. - - True if start of whole query, false if not. - This is set to false after this method is called. - - - - Write the select token as URI part to this builder. - - To write as URI part. - - - - Write the expand token as URI part to this builder. - - To write as URI part. - - - - Write the star token as URI part to this builder. - - To write as URI part. - - - - Write the unary token as URI part to this builder. - - To write as URI part. - - - - Constants and utility methods for the OData URI builder. - - - - - The format for integer ToString output. - - - - - The format for float ToString output. - - - - - The format for byte ToString output. - - - - - The format for double ToString output. - - - - - The format for DateTime ToString output. - - - - - The format for DateTimeOffset ToString output. - - - - - The format for Decimal ToString output. - - - - - The format for Double ToString output. - - - - - Escape a string literal by replacing single ' with ''. - - Text to escape. - A string where all ' is replaced by ''. - - - - Returns the string representation of the inline count kind. - - The inline count kind to convert to string. - The string representation of the . - - - - Throw ODataException on the given QueryTokenKind as not supported for writing to Uri. - - QueryTokenKind that is not supported. - - - - Throw ODataException on the given CLR type as not supported for writing to Uri. - - CLR type that is not supported. - - - Use this class to perform late-bound operations on open properties. - This class was copied from the product. - - - MethodInfo for Add. - - - MethodInfo for AndAlso. - - - MethodInfo for Convert. - - - MethodInfo for Divide. - - - MethodInfo for Equal. - - - MethodInfo for GreaterThan. - - - MethodInfo for GreaterThanOrEqual. - - - MethodInfo for LessThan. - - - MethodInfo for LessThanOrEqual. - - - MethodInfo for Modulo. - - - MethodInfo for Multiply. - - - MethodInfo for Negate. - - - MethodInfo for Not. - - - MethodInfo for NotEqual. - - - MethodInfo for OrElse. - - - MethodInfo for Subtract. - - - MethodInfo for TypeIs. - - - MethodInfo for object OpenTypeMethods.GetValue(this object value, string propertyName). - - - Gets a named value from the specified object. - Object to get value from. - Name of property to get. - The requested value; null if not found. - - - Adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Performs logical and of two expressions. - Left value.Right value. - The result of logical and. - - - Divides two values. - Left value.Right value. - The divided value. - - - Checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Performs logical or of two expressions. - Left value.Right value. - The result of logical or. - - - Subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Negates (arithmetically) the specified value. - Value. - The negated value. - - - Negates (logically) the specified value. - Value. - The negated value. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference to check for. - True if value is-a type; false otherwise. - - - - Concats the given 2 string. - - first string. - second string. - returns a new instance of the concatenated string. - - - - Checks with the parameters are of string type, if no, then they throw. - Otherwise returns true if the target string ends with the given sub string - - target string - sub string - Returns true if the target string ends with the given sub string, otherwise return false. - - - - Returns the index of the given substring in the target string. - - target string - sub string to match - returns the index of the given substring in the target string if present, otherwise returns null. - - - - Returns the length of the given string value. If the value is not of string type, then it throws. - - value whose length needs to be calculated. - length of the string value. - - - - Replaces the given substring with the new string in the target string. - - target string - substring to be replaced. - new string that replaces the sub string. - returns a new string with the substring replaced with new string. - - - - Checks whether the target string starts with the substring. - - target string. - substring - returns true if the target string starts with the given sub string, otherwise returns false. - - - - Returns the substring given the starting index - - target string - starting index for the substring. - the substring given the starting index. - - - - Returns the substring from the target string. - - target string. - starting index for the substring. - length of the substring. - Returns the substring given the starting index and length. - - - - Checks whether the given string is a substring of the target string. - - substring to check for. - target string. - returns true if the target string contains the substring, otherwise returns false. - - - - Returns a copy of the target string converted to lowercase. - - target string - a new string instance with everything in lowercase. - - - - Returns a copy of the target string converted to uppercase. - - target string - a new string instance with everything in uppercase. - - - - Removes all leading and trailing white-space characters from the target string. - - target string. - returns the trimed string. - - - - Returns the year value of the given datetime. - - datetime object. - returns the year value of the given datetime. - - - - Returns the month value of the given datetime. - - datetime object. - returns the month value of the given datetime. - - - - Returns the day value of the given datetime. - - datetime object. - returns the day value of the given datetime. - - - - Returns the hour value of the given datetime. - - datetime object. - returns the hour value of the given datetime. - - - - Returns the minute value of the given datetime. - - datetime object. - returns the minute value of the given datetime. - - - - Returns the second value of the given datetime. - - datetime object. - returns the second value of the given datetime. - - - - Returns the ceiling of the given value - - decimal or double object. - returns the ceiling value for the given double or decimal value. - - - - returns the floor of the given value. - - decimal or double object. - returns the floor value for the given double or decimal value. - - - - Rounds the given value. - - decimal or double object. - returns the round value for the given double or decimal value. - - - Creates an expression that adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Creates a call expression that represents a conditional AND operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that divides two values. - Left value.Right value. - The divided value. - - - Creates an expression that checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Creates an expression that checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Creates an expression that checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Creates an expression that checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Creates an expression that checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Creates an expression that calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Creates an expression that multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Creates a call expression that represents a conditional OR operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Creates an expression that subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Creates an expression that negates (arithmetically) the specified value. - Value expression. - The negated value. - - - Creates an expression that negates (logically) the specified value. - Value expression. - The negated value. - - - - Returns the specified with a - type assignable to System.Object. - - Expression to convert. - - The specified with a type assignable - to System.Object. - - - - - Lexical token representing the parameter for an Any/All query. - - - - - The name of the Any/All parameter. - - - - - Create a new RangeVariableToken - - The name of the visitor for the Any/All query. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the parameter. - - - - - Lexical token representing a query option. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Create a new CustomQueryOptionToken given name and value. - - The name of the query option. - The value of the query option. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Helper methods for working with query tokens. - - - - - Try to parse the given string as a InlineCountKind. - - The string to be parsed. - A InlineCountKind value if successful. Null if not. - - - - Try to parse the given segment name as a KeywordKind. - - The segment name. - A KeywordKind value if successful. Null if not. - - - - Get the Uri name equivalent of the given KeywordKind. - - The KeywordKind to get name for. - A $ keyword that represent the given keyword. - - - - Lexical token representing a select operation. - - - - - The properties according to which to select the results. - - - - - Create a SelectToken given the property-accesses of the select query. - - The properties according to which to select the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to select the results. - - - - - Node representing a function call which returns a single value. - - - - - the name of this function. - - - - - The list of function imports - - - - - List of arguments to this function call. - - - - - The type of value returned by this function. - - - - - The semantically bound parent of this function - - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - List of arguments to this function call. - The type of value returned by this function. - Throws if the input name is null. - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - the list of functions to call - the list of arguments to this function - the type of the value returned by this function. - The semantically bound parent of this function. - Throws if the input functionImports is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call. - - - - - Gets the list of function imports. - - - - - Gets the list of arguments to this function call. - - - - - Gets The type of value returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Class representing a function signature using EDM types. - - - - The argument types for this function signature. - - - - Constructor taking all the argument types. - - The argument types for this function signature. - - - - The argument types for this function signature. - - - - - Class representing a function signature using EDM types. - - - - - The return type of this function signature. - - - - - Constructor taking all the argument types. - - The return type of this function signature. - The argument types for this function signature. - - - - The return type of this function signature. - - - - - Lexical token representing an all-properties access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a new StarToken given the NextToken (if any). - - The NextToken token to access the property on. Pass no if this property has no NextToken. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - the name of this token(inherited from PathToken), which in this case is always "*" - - - - - Helper methods for promoting argument types of operators and function calls. - - - Note that the lists of signatures are for matching primitive types to functions. - Equality (eq and ne) operators are a bit special since they are also defined for - entity and complex types. - - - - Function signatures for logical operators (and, or). - - - Function signatures for the 'not' operator. - - - Function signatures for arithmetic operators (add, sub, mul, div, mod). - - - Function signatures for relational operators (eq, ne, lt, le, gt, ge). - - - Function signatures for the 'negate' operator. - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type reference of left operand. - Type reference of right operand. - True if a valid function signature was found that matches the given types after any necessary promotions are made. - False if there is no binary operators - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type of the operand. - True if the type could be promoted; otherwise false. - - - Finds the best fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The best fitting function; null if none found or ambiguous. - - - Finds the exact fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The exact fitting function; null if no exact match was found. - - - Checks whether the source type is compatible with the target type. - Source type. - Target type. - true if source can be used in place of target; false otherwise. - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - Finds the best methods for the specified arguments given a candidate method enumeration. - The candidate function signatures. - The argument type references to match. - The number of "best match" methods. - - - Checks whether the specified method is applicable given the argument expressions. - The candidate function signature to check. - The argument types to match. - An applicable function signature if all argument types can be promoted; 'null' otherwise. - - - Promotes the specified expression to the given type if necessary. - The actual argument type. - The required type to promote to. - True if the could be promoted; otherwise false. - - - Finds the best applicable methods from the specified array that match the arguments. - The candidate function signatures. - The argument types to match. - Best applicable methods. - - - - Checks whether the type list has better argument matching against the - than the type list. - - Actual arguments types. - First type list to check. - Second type list to check. - - True if has better parameter matching than ; otherwise false. - - - - Checks which conversion is better. - Source type. - First candidate type to convert to. - Second candidate type to convert to. - - Return 1 if s -> t1 is a better conversion than s -> t2 - Return -1 if s -> t2 is a better conversion than s -> t1 - Return 0 if neither conversion is better - - - - - Tries to handle the special eq and ne operators, which have a broader definition than the other binary operators. - We try a few special cases and return true if we used one of them. Otherwise we return false, and - allow the regular function matching code to handle the primitive cases. - - Left type. - Right type. - True if this function was able to handle the promotion of these types, false otherwise. - - - Checks whether the specified type is a signed integral type. - Type reference to check. - true if is a signed integral type; false otherwise. - - - Checks whether the specified type is an unsigned integral type. - Type to check. - true if is an unsigned integral type; false otherwise. - - - Checks if the specified type is a decimal or nullable decimal type. - Type to check. - true if is either decimal or nullable decimal type; false otherwise. - - - Checks if the specified type is either double or single or the nullable variants. - Type to check. - true if is double, single or nullable double or single; false otherwise. - - - Gets a flag for the numeric kind of type. - Type to get numeric kind for. - The of the argument. - - - Numeric type kinds. - - - A type that is not numeric. - - - A type that is a char, single, double or decimal. - - - A type that is a signed integral. - - - A type that is an unsigned integral. - - - - Extension methods to make it easier to work with PropertyInfo objects on a type. - - - - - Gets the property info for the EDM property on the specified type. - - The type to get the property on. - Property instance to get the property info for. - Model containing annotations. - Returns the PropertyInfo object for the specified property. - The method searches this type as well as all its base types for the property. - - - - Annotation stored on a type to hold PropertyInfo objects for its properties. - - - - - Cache of property info objects already created for properties on the type the annotation is on. - - - - - Gets the property info annotation for the specified type or creates a new one if it doesn't exist. - - The type to get the annotation for. - The model containing annotations. - The property info annotation. - - - - Gets the property info for the EDM property declared on this type. - - The structured type to get the property on. - Property instance to get the property info for. - The model containing annotations. - Returns the PropertyInfo object for the specified EDM property. - - - - Node representing an access to a property value. - - - - - The value containing this property. - - - - - The EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Constructs a . - - The value containing this property. - The EDM property which is to be accessed. - Throws if input source or property is null. - Throws if input property is not structural, or is a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Node representing a type segment that casts a single entity parent node. - - - - - The entity that we're casting to a different type. - - - - - The target type that the source is cast to. - - - - - The EntitySet containing the source entity. - - - - - Created a SingleEntityCastNode with the given source node and the given type to cast to. - - Source that is being cast. - Type to cast to. - Throws if the input entityType is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the entity that we're casting to a different type. - - - - - Gets the target type that the source is cast to. - - - - - Gets the target type that the source is cast to. - - - - - Gets the EntitySet containing the source entity.. - - - - - Gets the kind of this query node. - - - - - Lexical token representing a type segment. - - - - - The Identifier of the type segment. - - - - - The parent segment. - - - - - Create a TypeSegmentQueryToken given the Identifier and the parent (if any) - - The Identifier of the type segment, including the namespace. - The parent segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The full name of the type. - - - - - The parent. - - - - - Node representing a unary operator. - - - - - The operand of the unary operator. - - - - - The operator represented by this node. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Creates a UnaryOperatorNode - - the kind of operator this node represents - the operand that this operator modifies - Throws if the input operand is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the operand of the unary operator. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this query node. - - - - - Helper methods for working with query nodes. - - - - - Checks whether a query node is a collection query node representing a collection of entities. - - The to check. - The converted or null if is not an entity collection node. - - - - Checks whether a query node is a collection query node representing a collection. - - The to check. - The converted or null if is not a collection node. - - - - Compute the result type of a binary operator based on the type of its operands and the operator kind. - - The type reference of the operators. - The kind of operator. - The result type reference of the binary operator. - - - Use this class to parse an expression in the OData URI format. - - Literals (non-normative "handy" reference - see spec for correct expression): - Null null - Boolean true | false - Int32 (digit+) - Int64 (digit+)(L|l) - Decimal (digit+ ['.' digit+])(M|m) - Float (digit+ ['.' digit+][e|E [+|-] digit+)(f|F) - Double (digit+ ['.' digit+][e|E [+|-] digit+) - String "'" .* "'" - DateTime datetime"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]"'" - DateTimeOffset datetimeoffset"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]-dd:mm"'" - Time time"'"dd:mm[ss[.fffffff]]"'" - Binary (binary|X)'digit*' - GUID guid'digit*' - - - - - For an identifier, EMD supports chars that match the regex [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}] - IsLetterOrDigit covers Ll, Lu, Lt, Lo, Lm, Nd, this set covers the rest - - - - Text being parsed. - - - Length of text being parsed. - - - flag to indicate whether to delimit on a semicolon. - - - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - Position on text being parsed. - - - Character being processed. - - - Token being processed. - - - Lexer ignores whitespace - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - - Determines if the next token can be processed without error without advancing the token. - - The next ExpressionToken. This value is undefined if error is defined. - Exception generated from trying to process the next token. - True if the next token can be processed, false otherwise. - - - Reads the next token, skipping whitespace as necessary, advancing the Lexer. - The next token. - Throws on error. - - - - Starting from an identifier, reads a sequence of dots and - identifiers, and returns the text for it, with whitespace - stripped. - - do we allow a star in this identifier - The dotted identifier starting at the current identifier. - - - Returns the next token without advancing the lexer. - The next token. - - - - Check whether the current identifier is a function. If so, expand the token text to the function signature - - True if the current identifier is a function call - - - Validates the current token is of the specified kind. - Expected token kind. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - Reads the next token, skipping whitespace as necessary. - Error that occurred while trying to process the next token. - The next token, which may be 'bad' if an error occurs. - - - - Expand the token selection if the next token matches the input token - - the list of token id to match - true if matched - - - Handles lexemes that are formed by an identifier followed by a quoted string. - This method modified the token field as necessary. - - - Advanced to the next character. - - - Parses a token that starts with a digit. - The kind of token recognized. - - - - Parses white spaces - - - - - Parses a complex value - - the starting delimiter - the ending delimiter. - - - - Advance the pointer to the next occurance of the given value, swallowing all characters in between. - - the ending delimiter. - - - Parses an identifier by advancing the current character. - - - Sets the text position. - New text position. - - - Validates the current character is a digit. - - - Token being processed. - - - Text being parsed. - - - Position on text being parsed. - - - - Gets if the current char is whitespace. - - - - - Gets if the current char is digit. - - - - - Is the current char a valid starting char for an identifier. - Valid starting chars for identifier include all that are supported by EDM ([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}]) and '_'. - - - - - Is the current char a valid non-starting char for an identifier. - Valid non-starting chars for identifier include all that are supported - by EDM [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}]. - This list includes '_', which is ConnectorPunctuation (Pc) - - - - This class implements IEqualityComparer for UnicodeCategory - - Using this class rather than EqualityComparer<T>.Default - saves from JIT'ing it in each AppDomain. - - - - - Checks whether two unicode categories are equal - - first unicode category - second unicode category - true if they are equal, false otherwise - - - - Gets a hash code for the specified unicode category - - the input value - The hash code for the given input unicode category, the underlying int - - - Use this class to represent a lexical expression token. - - - Token representing gt keyword - - - Token representing eq keyword - - - Token representing lt keyword - - - InternalKind of token. - - - Token text. - - - Position of token. - - - Provides a string representation of this token. - String representation of this token. - - - Gets the current identifier text. - The current identifier text. - - - Checks that this token has the specified identifier. - Identifier to check. - true if this is an identifier with the specified text. - - - Checks whether this token is a comparison operator. - - - Checks whether this token is an equality operator. - - - Checks whether this token is a valid token for a key value. - - - Checks whether this token is a valid token for a function parameter. - - - Enumeration values for token kinds. - - - Unknown. - - - End of text. - - - '=' - equality character. - - - Identifier. - - - NullLiteral. - - - BooleanLiteral. - - - StringLiteral. - - - IntegerLiteral. - - - Int64 literal. - - - Single literal. - - - DateTime literal. - - - DateTimeOffset literal. - - - Time literal. - - - Decimal literal. - - - Double literal. - - - GUID literal. - - - Binary literal. - - - Geography literal. - - - Geometry literal. - - - Exclamation. - - - OpenParen. - - - CloseParen. - - - Comma. - - - Colon. - - - Minus. - - - Slash. - - - Question. - - - Dot. - - - Star. - - - SemiColon - - - ParameterAlias - - - A Brace BracketedExpression is an expression within brackets or braces. It contains a JSON object or array. - - - - Lexical token representing a function call. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - the source token for this function call - - - - - Create a new FunctionCallToken using the given function name and argument values. - - The name of the function to call. - The argument values for the function. - - - - Create a new FunctionCallToken using the given function name and parameter tokens. - - The name of the function to call. - The arguments for the function. - The syntactically bound parent of this function - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - The syntactically bound parent of this function. - - - - - Node representing a key lookup on a collection. - - - - - The collection that this key is referring to. - - - - - The EntitySet containing the collection this key referrs to. - - - - - The resouce type of the single value the key referrs to. - - - - - List of the properties and their values that we use to look up our return value. - - - - - Constructs a KeyLookupNode. - - The collection that this key is referring to. - List of the properties and their values that we use to look up our return value. - Throws if the input source is null. - - - - Gets the collection that this key is referring to. - - - - - Gets the list of the properties and their values that we use to look up our return value. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the EntitySet that contains the collection this key referrs to. - - - - - Gets the kind for this node. - - - - - Class representing a single key property value in a key lookup. - - - - - Gets or sets the key property. - - - - - Gets or sets the value of the key property. - - - - - Class representing a single named value (name and value pair). - - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Create a new NamedValue lookup given name and value. - - The name of the value. Or null if the name was not used for this value. - The value - a literal. - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Lexical token representing a literal value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - The value of the literal. This is a parsed primitive value. - - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - The original text value of the literal. - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The value of the literal. This is a parsed primitive value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Binder which applies metadata to a lexical QueryToken tree and produces a bound semantic QueryNode tree. - - - - - Encapsulates the state of the metadate binding. - - - - - Constructs a MetadataBinder with the given . - This constructor gets used if you are not calling the top level entry point ParseQuery. - This is an at-your-own-risk constructor, since you must provide valid initial state. - - The initialState to use for binding. - - - - Processes the skip operator (if any) and returns the combined query. - - The skip amount or null if none was specified. - the skip clause - - - - Processes the top operator (if any) and returns the combined query. - - The top amount or null if none was specified. - the top clause - - - - Process the remaining query options (represent the set of custom query options after - service operation parameters and system query options have been removed). - - the current state of the binding algorithm. - pointer to a binder method. - The list of instances after binding. - - - - Visits a in the lexical tree and binds it to metadata producing a semantic . - - The query token on the input. - The bound query node output. - - - - Bind a function parameter token - - The token to bind. - A semantically bound FunctionCallNode - - - - Binds a InnerPathToken. - - Token to bind. - Either a SingleNavigationNode, CollectionNavigationNode, SinglePropertyAccessNode (complex), - or CollectionPropertyAccessNode (primitive or complex) that is the metadata-bound version of the given token. - - - - Binds a parameter token. - - The parameter token to bind. - The bound query node. - - - - Binds a literal token. - - The literal token to bind. - The bound literal token. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Binds a type startPath token. - - The type startPath token to bind. - The bound type startPath token. - - - - Binds a LambdaToken. - - The LambdaToken to bind. - A bound Any or All node. - - - - Binds a property access token. - - The property access token to bind. - The bound property access token. - - - - Binds a function call token. - - The function call token to bind. - The bound function call token. - - - - Encapsulates the state of the metadate binding. - - - - - Delegate for a function that visits a QueryToken and translates it into a bound QueryNode. - TODO : Eventually replace this with a real interface for a visitor. - - QueryToken to visit. - Metadata bound QueryNode. - - - - Enumeration of order by directions. - - - - - Ascending order. - - - - - Descending order. - - - - - Lexical token representing an order by operation. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Create a new OrderByToken given the expression and direction - - The expression according to which to order the results. - The direction of the ordering. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Lexical token representing the last segment in a path. - - - - - The Identifier of the property to access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a EndPathToken given the Identifier and the NextToken (if any) - - The Identifier of the property to access. - The NextToken token to access the property on. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - The Identifier of the property to access. - - - - - The root node of a query. Holds the query itself plus additional metadata about the query. - - - - - The top level path for this Uri. - - - - - Any custom query options for this Uri. - - - - - Any select or expand options in this uri. Can be null. - - - - - Any filter option in this uri. Can be null. - - - - - Any order by option in this uri. Can be null. - - - - - Any skip option in this uri. Can be null. - - - - - Any top option in this uri. Can be null. - - - - - Any inline count option in this uri. Can be null. - - - - - Create a new ODataUri. This contains the semantic meaning of the - entire uri. - - The top level path for this uri. - Any custom query options for this uri. Can be null. - Any $select or $expand option for this uri. Can be null. - Any $filter option for this uri. Can be null. - Any $orderby option for this uri. Can be null - Any $skip option for this uri. Can be null. - Any $top option for this uri. Can be null. - Any $inlinecount option for this uri. Can be null. - - - - Gets the top level path for this uri. - - - - - Gets any custom query options for this uri. - - - - - Gets any $select or $expand option for this uri. - - - - - Gets any $filter option for this uri. - - - - - Gets any $orderby option for this uri. - - - - - Gets any $skip option for this uri. - - - - - Gets any $top option for this uri. - - - - - Get any $inlinecount option for this uri. - - - - - Lexical token representing the entire query. - - - - - The default setting for the max depth. - - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Create a new SyntacticTree given its parts as arguments. - - The path for the query. Must not be null. - The filter for the query. If the property is null, there's no filter for this query. - Enumeration of order by tokens. - The select for the query. If the property is null, there's no select for this query. - The expansions for the query. If the property is null, there are no expandsion for this query. - The number of entities to skip in the result. - The (maximum) number of entities to include in the result. - Type of inlinecount in the response of the query. - The format for the query. - The query options for the query. - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - A new instance of which represents the query specified in the . - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - The maximum depth of any single query part. Security setting to guard against DoS attacks causing stack overflows and such. - A new instance of which represents the query specified in the . - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Public enumeration of kinds of query nodes. A subset of InternalQueryNodeKind - - - - - No query node kind... the default value. - - - - - A constant value. - - - - - A node that represents conversion from one type to another. - - - - - Non-entity node referencing a range variable. - - - - - Node used to represent a binary operator. - - - - - Node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection of entities. - - - - - Placeholder node referencing a rangeVariable on the binding stack that references an entity. - - - - - Node the represents a function call that returns a single entity. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - Internal enumeration of kinds of query nodes. A superset of QueryNodeKind - - - - - none... default value. - - - - - The constant value. - - - - - A node that signifies the promotion of a primitive type. - - - - - Non-entity node referencing a range variable. - - - - - Parameter node used to represent a binary operator. - - - - - Parameter node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection. - - - - - Entity node referencing a range variable. - - - - - SingleEntityFunctionCall node. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - The entity set node. - - - - - The key lookup on a collection. - - - - - Helper methods for working with query options. - - - - - Returns a query option value by its name and removes the query option from the collection. - - The collection of query options. - The name of the query option to get. - The value of the query option or null if no such query option exists. - - - - Node representing an entity set. - TODO : This should be deleted but it is used in many, many tests. - - - - - The entity set this node represents. - - - - - The resouce type of a single entity in the entity set. - - - - - the type of the collection returned by this function - - - - - Creates an - - The entity set this node represents - Throws if the input entitySet is null. - - - - Gets the resouce type of a single entity in the entity set. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity in the entity set. - - - - - Gets the entity set this node represents. - - - - - Gets the kind for this node. - - - - - Parser which consumes the URI format of primitive types and converts it to primitive types. - - - - Whitespace characters to trim around literals. - - - Determines whether the specified character is a valid hexadecimal digit. - Character to check. - true if is a valid hex digit; false otherwise. - - - Converts a string to a primitive value. - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of the WebConvert.TryKeyStringToPrimitive - - - - Try to parse a string value into a non-negative integer. - - The string value to parse. - The non-negative integer value parsed from the . - True if could successfully be parsed into a non-negative integer; otherwise returns false. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - Whether quotes were successfully removed. - Copy of WebConvert.TryRemoveQuotes. - - - - Converts a string to a byte[] value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToByteArray. - - - - Converts a string to a GUID value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToGuid. - - - - Converts a string to a DateTime value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTime. - - - - Converts a string to a DateTimeOffset value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTimeOffset. - - - - Converts a string to a Time value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToTime. - - - - Try to parse the given text to a Geography object. - - Text to parse. - Geography to return. - True if succeeds, false if not. - - - - Try to parse the given text to a Geometry object. - - Text to parse. - Geometry to return. - True if succeeds, false if not. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Checks whether the specified text is a correctly formatted quoted value. - - Text to check. - true if the text is correctly formatted, false otherwise. - Copy of WebConvert.IsKeyValueQuoted. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - The specified with single quotes removed. - Copy of WebConvert.RemoveQuotes. - - - - Returns the 4 bits that correspond to the specified character. - - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - This is a copy of WebConvert.HexCharToNibble. - - - - Enumeration of kinds of query tokens. - - - - - The binary operator. - - - - - The unary operator. - - - - - The literal value. - - - - - The function call. - - - - - The property access. - - - - - The order by operation. - - - - - A query option. - - - - - The Select query. - - - - - The *. - - - - - The Expand query. - - - - - Type segment. - - - - - Any query. - - - - - Non root segment. - - - - - type segment. - - - - - Parameter token. - - - - - All query. - - - - - ExpandTerm Token - - - - - FunctionParameterToken - - - - - FunctionParameterAlias - - - - - RawFunctionParameterValue - - - - - Lexical token representing a unary operator. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Create a new UnaryOperatorToken given the operator and operand - - The operator represented by this node. - The operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Enumeration of binary operators. - - - - - The unary - operator. - - - - - The not operator. - - - - - Constant values related to the URI query syntax. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A filter query option name. - - - An order by query option name. - - - A select query option name. - - - An expand query option name. - - - A skip query option name. - - - A valid value to denote all-properties access. - - - A top query option name. - - - A inline-count query option name. - - - A format query option name. - - - - Parser which consumes the query expression ($filter, $orderby) and produces the lexical object model. - - - - - The maximum number of recursion nesting allowed. - - - - - Set of parsed parameters - - - - - The current recursion depth. - - - - - The lexer being used for the parsing. - - - - - Constructor. - - The maximum depth of each part of the query - a recursion limit. - - - - Parses a literal. - - The lexer to use. - The literal query token or null if something else was found. - - - - Parses the $filter expression. - - The $filter expression string to parse. - The lexical token representing the filter. - - - - Parses the $orderby expression. - - The $orderby expression string to parse. - The enumeraion of lexical tokens representing order by tokens. - - - - Creates a new for the given filter or orderby expression. - - The expression. - The lexer for the expression, which will have already moved to the first token. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Parses typed literals. - - The lexer to use. - Expected type to be parsed. - The EDM type name of the expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses null literals. - - The lexer to use. - The literal token produced by building the given literal. - - - - Parses the expression. - - The lexical token representing the expression. - - - - Parses the or operator. - - The lexical token representing the expression. - - - - Parses the and operator. - - The lexical token representing the expression. - - - - Parses the eq, ne, lt, gt, le, ge operators. - - The lexical token representing the expression. - - - - Parses the add, sub operators. - - The lexical token representing the expression. - - - - Parses the mul, div, mod operators. - - The lexical token representing the expression. - - - - Parses the -, not unary operators. - - The lexical token representing the expression. - - - - Parses the primary expressions. - - The lexical token representing the expression. - - - - Handles the start of primary expressions. - - The lexical token representing the expression. - - - - Parses parenthesized expressions. - - The lexical token representing the expression. - - - - Parses the Any portion of the query - - The parent of the Any node. - The lexical token representing the Any query. - - - - Parses the All portion of the query - - The parent of the All node. - The lexical token representing the All query. - - - - Parses the Any/All portion of the query - - The parent of the Any/All node. - Denotes whether an Any or All is to be parsed. - The lexical token representing the Any/All query. - - - - Parses a segment. - - The parent of the segment node. - The lexical token representing the segment. - - - - Checks that the current token has the specified identifier. - - Identifier to check. - true if the current token is an identifier with the specified text. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - Delegate for a function that parses an expression and translates it into a QueryToken. - - A QueryToken - - - - Parser which consumes the URI path and produces the lexical object model. - - - - - The maximum number of segments allowed. - - - - - Constructor. - - The maximum number of segments for each part of the query. - - - - Parses the and returns a list of strings for each segment. - - The relative URI which holds the query to parse. - a list of strings for each segment in the uri. - - - - Returns list of segments in the specified path (eg: /abc/pqr -> abc, pqr). - - The absolute URI of the request. - The service base URI for the request. - List of unescaped segments. - - - - Class that knows how to bind unary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a UnaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Get the promoted type reference of the operand - - the operand - the operator kind - the type reference of the operand - - - - Retrieve SingleValueNode operand from given token. - - The token - the SingleValueNode operand - - - - Node representing a single navigation property. - - - - - The entity set that this NavigationProperty targets. - - - - - The previous node in the path. - - - - - The navigation property this node represents. - - - - - The type of entity that this NavigationProperty targets. - - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The previous node in the path. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The entity set that this of the previous segment. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the previous node in the path. - - - - - Gets the navigation property this node represents. - - - - - Gets the target multiplicity. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the entity set that this NavigationProperty targets. - - - - - Gets the kind of this query node. - - - - - Uri utility methods. - - - - - Determines whether the Uri instance is a - base of the specified Uri instance. - - - The check is host agnostic. For example, "http://host1.com/Service.svc" is a valid base Uri of "https://host2.org/Service.svc/Bla" - but is not a valid base for "http://host1.com/OtherService.svc/Bla". - - The candidate base URI. - The specified Uri instance to test. - true if the baseUri Uri instance is a base of uri; otherwise false. - - - - Parses query options from a specified URI into a dictionary. - - The uri to get the query options from. - The parsed query options. - This method returns with all the query options. - Note that it is valid to include multiple query options with the same name. - - - - is this selection item a structural or navigation property selection item. - - the selection item to check - true if this selection item is a structural property selection item. - - - Creates a URI suitable for host-agnostic comparison purposes. - URI to compare. - URI suitable for comparison. - - - - Check whether the Uri is the base of the Uri. - - The candidate base Uri. - The Uri to check. - True if the is the base of the Uri. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in the ATOM and Verbose JSON formats. - - - - - Class to validate and resolve the type name to be serialized. - - - - - Validates a type name to ensure that it's not an empty string and resolves it against the provided . - - The model to use. - The type name to validate. - The expected type kind for the given type name. - The type with the given name and kind if a user model was available, otherwise null. - - - - Resolves and validates the Edm type for the given . - - The model to use. - The type inferred from the model or null if the model is not a user model. - The value in question to resolve the type for. - true if the type name belongs to an open property, false otherwise. - A type for the or null if no metadata is available. - - - - Gets the type name from the given . - - The value to get the type name from. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type name for the given . - - - - Resolve a type name against the provided . If not payload type name is specified, - derive the type from the model type (if available). - - The model to use. - The type inferred from the model or null if the model is not a user model. - The type name to be resolved. - The expected type kind of the resolved type. - True if the type name belongs to an open property. - A type for the or null if no type name is specified and no metadata is available. - - - - Validates that the (optional) is the same as the (optional) . - - The (optional) type from the metadata definition (the expected type). - The (optional) type from the value (the actual type). - The type as derived from the and/or . - - - - Determines the type name for the given entry to write to the payload. - - The ODataEntry whose type name is to be written - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name for the given value to write to the payload. - - The value whose type name is to be written. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type resolved from the value. - The serialization type name annotation. - true if the type name belongs to an open property, false otherwise. - Returns the item type name of the collection type if is a collection value and its type name can be determined. - Type name to write to the payload, or null if no type should be written. - - - Atom metadata description for a categories element (app:categories). - - - Gets or sets a value that indicates whether the list of categories is fixed or an open set. - true if the list of categories is fixed; false if the list of categories is an open set. - - - Gets or sets the URI indicating the scheme of the categories without a scheme. - The URI indicating the scheme of the categories without a scheme. - - - Gets or sets the URI of the category document. - The URI of the category document. - - If this property is not null, the properties and must be both null - and the must be either null or empty collection. - - - - Gets or sets the atom category elements inside this categories element. - The atom category elements inside this categories element. - - - - Class responsible for storing and manipulating instance annotation data in ATOM payloads. - - - - - Backing field of the Target property. - - - - - Backing field of the Term property. - - - - - Backing field of the Value property. - - - - - Constructor. - - The target of the annotation. - The term whose value is being expressed through this annotation. - The annotation's value. - - - - Creates a new instance of this class by consuming xml from the given reader. - Creates an Atom-specific instance annotation from the format-independent representation of an annotation. - - The format-independent represetnation of an instance annotation. - The value of the target attribute on the m:annotation element, or null if the attribute should be omitted. - The created AtomInstanceAnnotation. - - - - Creates a new instance of this class by consuming xml from the given input context. - - The input context to use to create the annotation. - The property and value deserializer to use when reading values in the annotation element content. - The populated with the information from the 'm:annotation' XML element, as long as the value is a string. Returns null otherwise. - - Pre-Condition: XmlNodeType.Element - The annotation element to read. - Post-Condition: XmlNodeType.Any - The node after the end of the annotation element, or the same element as in the pre-condition if the annotation was skipped. - - - - - Retrieves the name of the attribute used in attribute value notation to indicate the given primitive type kind. - - The primitive type kind to look up. - The name of the corresponding attribute. - - - - Retrieves the Edm type represented by the given attribute name when using attribute value notation. - - The name of the attribute (must be one of "string", "int", "bool", "decimal", "float") - A nullable reference to the type represented by the attribute name, or null if the given name is not a valid attribute value notation name. - - - - Reads the current element's content as an ODataValue. - - The property and value deserializer to use to read values in ATOM. - The expected type of the annotation, may be null if the term is not defined in the model. - The deserialized value. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Reads an annotation's value from the annotation value notation specified on the current element. - - The expected type reference of the vocabulary term from the metadata. - The type reference indicated by the name of the attribute used in attribute value notation. - For example, if the attribute was called "string", this will be a reference to the string type. - The name of the attribute used by attribute avalue notation. - The value of the attribute used by attribute value notation. - The value of the "m:type" attribute on the annotation element. - true if the annotation element is empty, false otherwise. - The edm model instance. - The message reader settings instance. - The payload version to read. - The primitive value represented on this element via attribute value notation. - - - - The target of this annotation, as specified in the m:annotation/@target attribute. - - - - - The term of this annotation's value, as specified in the m:annotation/@term attribute. - - - - - The value of this annotation. - - - - - True if the annotation is targeting the xml element in which the annotation was found; false if the annotation is targeting a different element. - - - - - Xml writer which wraps another writer and fixes prefixes so that the root element is not prefix-qualified (same for everything else with the same prefix). - - - - - The wrapped writer. - - - - - The root prefix, once the first element of the document has been written. - - - - - Initializes a new instance of . - - The writer to wrap. - - - - When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. - - The to read from. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - contains invalid characters. - - - - When overridden in a derived class, writes out all the attributes found at the current position in the . - - The XmlReader from which to copy the attributes. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - The reader is not positioned on an element, attribute or XmlDeclaration node. - - - - When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. - - - The matching prefix or null if no matching namespace URI is found in the current scope. - - The namespace URI whose prefix you want to find. - is either null or String.Empty. - - - - When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). - - The name to write. - is not a valid NmToken; or is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The writer is closed or in error state. or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a string. - - String containing the text to write. - is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. - The number of bytes to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a character buffer. - - Character array containing the text to write. The position within the buffer indicating the start of the text to write. - The number of characters to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes text one buffer at a time. - - Character array containing the text to write. The position in the buffer indicating the start of the text to write. - The number of characters to write. - is null. - or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. - The parameter value is not valid. - - - - When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. - - The low surrogate. This must be a value between 0xDC00 and 0xDFFF. - The high surrogate. This must be a value between 0xD800 and 0xDBFF. - An invalid surrogate character pair was passed. - - - - When overridden in a derived class, writes the given text content. - - The text to write. The text string contains an invalid surrogate pair. - - - - When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. - - The namespace prefix of the attribute. The local name of the attribute. - The namespace URI for the attribute. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes the previous call. - - - - - When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. - - The text to place inside the CDATA block. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a comment <!--...--> containing the specified text. - - Text to place inside the comment. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. - - The name of the processing instruction. - The text to include in the processing instruction. - The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. - - - - When overridden in a derived class, writes out an entity reference as &name;. - - The name of the entity reference. - is either null or String.Empty. - - - - When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. - - The Unicode character for which to generate a character entity. - The character is in the surrogate pair character range, 0xd800 - 0xdfff. - - - - When overridden in a derived class, writes out the given white space. - - The string of white space characters. - The string contains non-white space characters. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0". - - This is not the first write method called after the constructor. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. - - If true, it writes "standalone=yes"; if false, it writes "standalone=no". - This is not the first write method called after the constructor. - - - - When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. - - The XML document is invalid. - - - - When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. - - The name of the DOCTYPE. This must be non-empty. - If non-null it also writes public override "pubid" "sysid" where and are replaced with the value of the given arguments. - If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. - If non-null it writes [subset] where subset is replaced with the value of this argument. - This method was called outside the prolog (after the root element). - The value for would result in invalid XML. - - - - When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. - - The namespace prefix of the element. The local name of the element. - The namespace URI to associate with the element. - The writer is closed. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - This results in an invalid XML document. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - - - - When overridden in a derived class, gets the current xml:lang scope. - - - The current xml:lang scope. - - - - - When overridden in a derived class, gets the state of the writer. - - - One of the values. - - - - - When overridden in a derived class, gets an representing the current xml:space scope. - - - An XmlSpace representing the current xml:space scope. - - - - - Gets the object used to create this instance. - - - The object used to create this writer instance. - - - - - Responsible for reading the annotation element in ATOM. - - - - - The input context to use when parsing the annotation element. - - - - Atomized string representation of the URI used for the OData metadata namespace. - - - Atomized name of the decimal attribute of an annotation element. - - - The property and value deserializer used to read values in ATOM. - - - - Creates a new ATOM annotation parser. - - The input context this annotation reader should use to read annotation elements. - The property and value deserializer to use to read the value of an annotation element. - - - - Attempts to read the current element as an annotation element. - - If this method returned true, this is the instance annotation information from the parsed element. - true if the element was an annotation element, false if it wasn't. - - Pre-Condition: XmlNodeType.Element - The element to read. - Post-Condition: XmlNodeType.EndElement - The end tag of the element (if the element was a non-empty annotation element). - XmlNodeType.Element - The same element as the pre-condition if this method returned false, or an empty annotation element. - - - - - OData ATOM deserializer for detecting the payload kind of an ATOM payload. - - - - - OData ATOM deserializer for properties and value types. - - - - - Base class for all OData ATOM deserializers. - - - - - Base class for all OData deserializers. - - - - The input context to use for reading. - - - - Constructor. - - The input context to read from. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message reader settings. - - - - - The OData version of the input. - - - - - true if the input is a response payload; false if it's a request payload. - - - - - The model to use. - - - - The ATOM input context to use for reading. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadStart(). - - - - - Reads till the end of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadEnd(). - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - An absolute URI to report. - - - - Given a string representation of a URI from the payload, this method will return an absolute or relative URI. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - If true, then this method will try to make the URI absolute, or fail otherwise. - An absolute or relative URI to report based on the value of the parameter. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - True if an empty element node should be added to the list. - The node types which should appear at this point. - - - - The XML reader to read the input from. - - - - - The ATOM input context to use for reading. - - - - The empty namespace used for attributes in no namespace. - - - OData attribute which indicates the null value for the element. - - - Element name for the items in a Collection. - - - XML element name to mark type attribute in Atom. - - - The Edm.String type from the core model. - - - The current recursion depth of values read by this deserializer, measured by the number of complex and collection values read so far. - - - - Constructor. - - The ATOM input context to read from. - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type of the property to read. - An representing the read property. - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Determines the kind of value to read based on the payload shape. - - The kind of type of the value to read. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - Post-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - - - - - Reads the 'type' and 'isNull' attributes of a value. - - The value of the 'type' attribute or null if no 'type' attribute exists. - The value of the 'isNull' attribute or null if no 'isNull' attribute exists. - - Pre-Condition: XmlNodeType.Element - The element to read attributes from. - Post-Condition: XmlNodeType.Element - The element to read attributes from. - - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The name of the property whose value is being read, if applicable (used for error reporting). - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Read a null value from the payload. - - The expected type reference (for validation purposes). - true to validate the value against the . - The name of the property whose value is being read, if applicable (used for error reporting). - The null value. - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads undeclared property in an element (primitive type value, or null value of complex type) - - The result ODataProperty. - - - - Reads a property. - - The expected property name to be read from the payload (or null if no expected property name was specified). - The expected type reference of the property value. - Behavior to use when reading null value for the property. - Whether any EPM mappings exist. - The ODataProperty representing the property in question; if null is returned from this method it means that the property is to be ignored. - - Pre-Condition: XmlNodeType.Element - The XML element representing the property to read. - Note that the method does NOT check for the property name neither it resolves the property against metadata. - Post-Condition: Any - The node after the property. - - - - - Read a primitive value from the reader. - - The type of the value to read. - The value read from the payload and converted as appropriate to the target type. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a complex value from the reader. - - The type reference of the value to read (or null if no type is available). - The name of the type specified in the payload. - The serialization type name for the complex value (possibly null). - The duplicate property names checker to use (cached), or null if new one should be created. - Whether any EPM mappings exist. - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.EndElement - the element has been read. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a collection from the reader. - - The type of the collection to read (or null if no type is available). - The name of the collection type specified in the payload. - The serialization type name for the collection value (possibly null). - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Constructor. - - The ATOM input context to read from. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - This method decides the payload kind based on the fully-qualified element name of the top-level Xml element - in the payload for entry, feed, entity reference link, error and service document payload kinds. It performs more checks - for properties and collection payloads as follows: - * If an m:type attribute is found => property - * If an m:null attribute is found => property - Otherwise the shape of the payload decides: - * If we only find d:element child nodes => collection or property - * If we find no child nodes => primitive property - * If we find anything else => complex property - - - - - Detects whether the current element represents a property payload, a collection payload or neither. - - An enumerable of zero, one or two payload kinds depending on whether a property, collection, both or neither were detected. - - - - OData ATOM serializer for collections. - - - - - OData ATOM serializer for properties and values. - - - - - Base class for all OData ATOM serializers. - - - - - Base class for all OData serializers. - - - - - The output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Validates association link before writing. - - The association link to validate. - The entity type of the entry the association link belongs to. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message writer settings. - - - - - The URL resolver. - - - - - The OData version of the output. - - - - - true if the output is a response payload; false if it's a request payload. - - - - - The model to use. - - - - - The ATOM output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - If set to true then this method will fail if the uri specified by is relative - and no base uri is specified. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Start writing an ATOM payload. - - - - - Finish writing an ATOM payload. - - This method MUST NOT be called after writing an in-stream error - as it would fail on unclosed elements (or try to close them). - - - - Writes a top-level error payload. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Write the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - An enumeration value to indicate what default namespace attributes to write. - - - - Writes the count. - - Count value. - True if the namespace declaration for the metadata namespace should be included; otherwise false. - - - - Write the base Uri of the document (if specified) and the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes an Xml element with empty content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - - - - Returns the which is to be used to write the content of the message. - - - - - The ODataAtomOutputContext used by the serializer. - - - - - Flags to describe a set of default namespaces. - - - - No namespaces. - - - OData namespace. - - - OData metadata namespace. - - - ATOM namespace - - - GeoRss namespace. - - - GML namespace. - - - All default namespaces. - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Writes a single property in ATOM format. - - The property to write out. - - - - Writes a collection of instance annotations in ATOM format. - - Instance annotation collection to write. - The tracker to track which instance annotations have been written. - - - - Writes a single instance annotation in ATOM format. - - The instance annotation to write. - - - - Write the given collection of properties. - - The of the entry (or null if not metadata is available). - Collection of cached properties for the entry. - true if we are writing a top level collection instead of an entry. - Action which is called before the properties are written, if there are any property. - Action which is called after the properties are written, if there are any property. - The checker instance for duplicate property names. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-properites we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a primitive value. - - The value to write. - The collection validator instance. - The expected type of the primitive value. - The optional type name annotation provided by the user on the OM for this primitive value. The annotation value will override whatever type name is being written. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - true if we are writing a collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Action called after the copmlex value is written, if it's actually written. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Write the items of a collection in ATOM format. - - The collection value to write. - The type reference of the collection value (or null if not metadata is available). - true if the type name belongs to an open property. - true if we are writing a top-level collection instead of an entry. - - - - Writes the value of a primitive instance annotation. - - The primitive value to write. - The expected type of the annotation from the metadata. - - - - Writes a single property in ATOM format. - - The property to write out. - The owning type for the or null if no metadata is available. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-property we're writing. (can be null) - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - true if the property was actually written, false otherwise. - - - - Writes a property with a complex value in ATOM format. - - The complex value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The type information for the property being written. - true if the type name belongs to an open property. - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a property with a collection value in ATOM format. - - The collection value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if writing a top-level collection payload instead of an entry. - Action which is called before the property is written, if it's going to be written. - The type reference of the collection value (or null if no metadata is available). - true if this property is undeclared and the owning type is open. - - - - Determines if the property with the specified value should be written into content or not. - - The owning type of the property to be checked. - The set of projected properties for the - The name of the property to be checked. - The property value to write. - The EPM source path segment for the property being written. - true if the property should be written into content, or false otherwise - - - - Writes a null property value in Atom format. - - The property type or null if we don't have any. - The name of the property to write out. - true if writing a top-level property payload; otherwise false. - true if we are writing a collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - - - - Writes the property start element. - - Action called before anything else is written (if it's not null). - The name of the property to write. - true if we are writing a collection instead of an entry. - true if writing a top-level property payload; otherwise false. - - - - Writes the property end element. - - - - - Writes the instance annotation start element. - - The the instance annotation to write. - - - - Writes the instance annotation end element. - - - - - Writes the m:type attribute for a property given the name of the type. - - The type name to write. - - - - Write the m:null attribute with a value of 'true' - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - OData ATOM serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The entity reference links to write. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - A flag indicating whether the link is written as top-level element or not; - this controls whether to include namespace declarations etc. - - - - - OData ATOM serializer for entries and feeds. - - - - - The serializer for writing ATOM metadata for entries. - - - - - The serializer for writing ATOM metadata for feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the start element for the m:properties element on the entry. - - - - - Writes the end element for the m:properties element on the entry. - - - - - Writes the type name category element for the entry. - - The type name to write. - The entry metadata if available. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Writes the entry atom:id element. - - The value of the ODataEntry.Id property to write. - - - - Writes the read link element for an entry. - - The read link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit link element for an entry. - - The edit link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit-media link for an entry. - - The media resource representing the MR of the entry to write. - - - - Write the metadata for an OData association link; makes sure any duplicate of the link's values duplicated in metadata are equal. - - The association link for which to write the metadata. - The instance the association link is defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Write the given feed metadata in atom format - - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - Writes the default empty author for a feed. - - - - - Writes the next page link for a feed. - - The feed to write the next page link for. - - - - Writes the delta link for a feed. - - The feed to write the delta link for. - - - - Writes a feed link. - - The feed that contains the link. - Relation attribute of the link. - href attribute of the link. - Function to get the AtomLinkMetadata for the feed link. - - - - Writes a stream property to the ATOM payload - - The stream property to create the payload for. - The instance for which the stream property defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes an operation (an action or a function). - - The association link to write. - - - - Writes the self or edit link. - - Uri object for the link. - The atom link metadata for the link to specify title, type, hreflang and length of the link. - Relationship value. Either "edit" or "self". - - - - OData ATOM serializer for ATOM metadata in an entry - - - - - Base class for all OData ATOM Metadata serializers. - - - - - Constructor. - - The output context to write to. - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes the 'atom:category' element given category metadata. - - The category information to write. - - - - Writes the 'atom:category' element with the specified attributes. - - The prefix to use for the 'category' element. - The value for the 'term' attribute (required). - The value for the 'scheme' attribute (optional). - The value for the 'label' attribute (optional). - - - - Write an empty author element that has the required name element - - - - - Writes the specified start/end tags and the specified person metadata as content - - The person metadata to write. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata attributes of a link in ATOM format - - The value for the 'rel' attribute. - The value for the 'href' attribute. - The value for the 'hreflang' attribute. - The value for the 'title' attribute. - The value for the 'type' attribute. - The value for the 'length' attribute. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The output context to write to. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - OData ATOM serializer for ATOM metadata in a feed - - - - - Constructor. - - The output context to write to. - - - - Write the given feed metadata in atom format - - The metadata to write. - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - The ATOM OData format. - - - - - Representation of an OData format. - - - - The ATOM format instance. - - - The verbose JSON format instance. - - - The JSON Light format instance. - - - The RAW format instance. - - - The batch format instance. - - - The metadata format instance. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - Specifies the ATOM format; we also use this for all Xml based formats (if ATOM can't be used). - The ATOM format. - - - Gets the verbose JSON format. - The verbose JSON format. - - - Specifies the JSON format. - The JSON format. - - - Specifies the RAW format; used for raw values. - The RAW format. - - - Gets the batch format instance. - The batch format instance. - - - Gets the metadata format instance. - The metadata format instance. - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - ATOM format output context. - - - - - Base class for all output contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this output context. - - - The message writer settings to be used for writing. - - - Set to true if this context is writing a response payload. - - - true if the input should be written synchronously; false if it should be written asynchronously. - - - The model to use. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - The type resolver to use. - - - - Constructor. - - The format for this output context. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message writer settings to be used for writing. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being written. - - - - - true if the output should be written synchronously; false if it should be written asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - - The type resolver to use. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The XML writer created for the root of the payload. - - This field is also used to determine if the output context has been disposed already. - In case of customized writers are used, this is always the root writer, never changed. - - - - The XML writer to write to. - In case of customized writers are used, this is the current writer to write to. - - - A stack used to track XML customization writers. - - At the beginning the root writer is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the writer returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomWriter, other writers don't use this. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initializes the ability to use customization writers. - - - This needs to be called before any of the writer customization functionality is used. - - - - - Pushes a writer on the top of the customization stack. - - The writer to push. - - - - Pops a writer from the top of the customization stack. - - The popped writer, the one which was on the top of the stack before the operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - Instance of this class describes a navigation link when it's found in the payload. - - - - The navigation link. - - - The navigation property for the link, is it's available. - - - - Constructor. - - The navigation link. - The navigation property for the link, if it's available. - - - The navigation link. - - - The navigation property for the link, if it's available. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - true if the item type was derived from the collection value; otherwise false. - - - The item type name extracted from the first non-null item. - - - - The primitive type denoted by the item type name or null if the type name is not a valid primitive type name. - - - - The item type kind from the first non-null item. - - - - Constructor. - - The item type name extracted from the collection type name. - - - - Validates a collection item that was read to make sure it is valid (i.e., has the correct - type name and type kind) with respect to the other items in the collection. - - The type name of the item from the payload. - The type kind of the item from the payload. - - - - Computes the expected type kind of an item from the type name read from the payload. - - The type name to compute the type kind from. - The primitive type for the specified type name or null if the type name is not a valid primitve type. - The of the type with the specified . - - - - Validate that the expected and actual type names and type kinds are compatible. - - The actual type name. - The actual type kind. - - - - If specified on a collection, returns the item type name that all items are expected to be compatible with; otherwise null. - - - - - If specified on a collection, returns the item type kind that all items are expected to be compatible with; otherwise EdmTypeKind.None. - - - - - Read-only stream which initially buffers all read data in order to replay it later. - Once no more buffered data exists it reads from the underlying stream directly. - - - - The list of buffered chunks of bytes as requested by callers. - - - - The stream being wrapped. - - - - The read position in the current buffer. - - - - true if the reader is not in buffering mode; otherwise false. - - - - - The current node in the buffer list to read from. - - - - - Constructor - - The underlying stream to wrap. Note that only read operations will be invoked on this stream. - - - - Not supported since the stream only allows reading. - - - - - Reads data from the buffer or the underlying stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Stops the buffering mode and turns the reader into normal read mode where first - the buffered data is re-read before the reads are performed on the underlying stream. - - - - - Stop buffering. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Moves the reader to the next buffer and drops already consumed - data if not in buffering mode. - - - - - Determines if the stream can read - this one can. - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - true if the stream is in buffering mode; otherwise false. - - - - - Interface used for substitutability of the metadata-centric responsibilities of an entry. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry without - needing to know where the metadata originated from. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of the metadata builder which only returns values which were explicitly set (never computing or modifying them). - - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Gets an instance of the metadata builder which never returns anything other than nulls. - - - - - Implementation of the metadata builder which only returns nulls. - - - - - Singleton instance of the null metadata builder. - - - - - Prevents a default instance of the class from being created. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - The entry whose payload metadata is being queried. - - - - - Creates a new no-op metadata builder. - - The entry whose payload metadata is being queried. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - - - - - Gets the ID of the entity. - - - The ID for the entity. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Default implementation of - - - - - Empty array of properties. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - - - - Creates an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - The entity type of the entry. - The metadata context to use. - The selected properties. - A new instance of . - - - - Gets the the CLR value for a primitive property. - - The entry to get the property value. - Name of the property. - The name of the entity type to get the property value. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Gets the CLR value for a primitive property. - - The name of the entity type to get the property value. - The ODataProperty to get the value from. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Validates that the entry has key properties. - - Key properties of the entry. - The entity type name of the entry. - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on serialization info. - - - - - Empty array of navigation properties. - - - - - Empty dictionary of stream properties. - - - - - Empty array of operations. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - - - - Gets the property name value pairs filtered by serialization property kind. - - The entry to get the properties from. - The serialization info property kind. - The entity type name of the entry. - The property name value pairs filtered by serialization property kind. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on the given model. - - - - - The entity type of the entry. - - - - - The metadata context to use. - - - - - The selected properties. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The entity type of the entry. - The metadata context to use. - The selected properties. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type name of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Interface used for substitutability of the metadata-centric responsibilities of . - - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Default implementation of . - - - - - The Edm Model. - - - - - EdmTypeResolver instance to resolve entity set base type. - - - - - Cache of operations that are always bindable to entity types. - - - - - true if we are reading or writing a response payload, false otherwise. - - - - - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - - - - The metadata document Uri. - - - - - The service base Uri. - - - - - Constructs an ODataMetadataContext. - - true if we are writing a response payload, false otherwise. - The Edm model. - The metadata document uri. - This overload should only be used by the writer. - - - - Constructs an ODataMetadataContext. - - true if we are reading a response payload, false otherwise. - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - EdmTypeResolver instance to resolve entity set base type. - The Edm model. - The metadata document Uri. - This overload should only be used by the reader. - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Generates operations which were omitted by the service because they fully match conventions/templates and are always available. - - - - The current entry metadata context. - - - The metadata context of the entry to generate the missing operations for. - - - The list of computed actions. - - - The list of computed functions. - - - - Initializes a new instance of the class. - - The metadata context of the entry to generate the missing operations for. - The current entry metadata context. - - - - Gets the computed missing Actions from the generator. - - The computed missing Actions. - - - - Gets the computed missing Functions from the generator. - - The computed missing Functions. - - - - Returns a hash set of function imports (actions and functions) in the given entry. - - The entry in question. - The edm model to resolve function imports. - The metadata document uri. - The hash set of function imports (actions and functions) in the given entry. - - - - Computes the operations that are missing from the payload but should be added by conventions onto the entry. - - - - - Interface used for substitutability, to answer basic questions regarding the type of the entry or feed. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry or feed without - needing to know where the metadata originated from. - - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Class responsible for logic specific to the JSON Light full metadata level (indicated by "odata=fullmetadata" in the media type). - - - The general rule-of-thumb for full-metadata payloads is that they include all "odata.*" annotations that would be included in minimal metadata mode, - plus any "odata.*" annotations that could be computed client-side if we the client had a model. - - - - - Class responsible for logic that varies based on the JSON Light metadata level. - - - - - Creates the appropriate metadata level based on the media type being written. - - The full media type being written. This media type must have a type/subtype of "application/json" - and should not imply verbose json (by including "odata=verbose" as a parameter). - The metadata document uri from the writer settings. - The edm model. - true if we are writing a response, false otherwise. - The JSON Light metadata level being written. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write will vary based on the metadata level. - If false, the type name writing rules will always match minimal metadata, - regardless of the actual metadata level being written. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - The Edm model. - - - - - The metadata document uri from the writer settings. - - - - - Constructs a new . - - The metadata document uri from the writer settings. - The Edm model. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Returns the metadata document URI which has been validated to be non-null. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON full metadata mode. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON Light. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light minimal metadata level (indicated by "odata=minimalmetadata" in the media type, or lack of an "odata" parameter in a v3 and above request). - - - The general rule-of-thumb for minimal-metadata payloads is that they include all "odata.*" annotations that can't be computed client-side, assuming the client has the server model available - as well as the ability to compute missing payload metadata based on the standard conventions. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - Not used in this implementation of the abstract method. - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON minimal metadata mode, - or the other metadata modes of JSON light when is false. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light no metadata level (indicated by "odata=nometadata" in the media type). - - - The general rule-of-thumb for no-metadata payloads is that they omit any "odata.*" annotations, - except for odata.nextlink and odata.count, since the client would get a inaccurate representation of the data available if they were left out. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON no metadata mode. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Reads payload as untyped object. - - - - - Base class for all OData JsonLight deserializers. - - - - The JsonLight input context to use for reading. - - - Context for entry etadata centric responsibilities. - - - Result of parsing the metadata URI for the payload (or null if none are available). - This field is only available after the ReadPayloadStart was called. - - - - Constructor. - - The JsonLight input context to read from. - - - - Parses the name of a property and returns the property name and annotation name if the property is a property annotation. - - The property name to parse. - The name of the annotated property, or null if the property is not a property annotation. - The annotation name, or null if the property is not a property annotation. - true if the is a property annotation, false otherwise. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The parsed metadata URI. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads and validates a string value from the json reader. - - The name of the annotation being read (used for error reporting). - The string that was read. - - - - Reads and validates a string value from the json reader and processes it as a Uri. - - The name of the annotation being read (used for error reporting). - The Uri that was read. - - - - Reads and validates a string value from the json reader and processes it as a long. - - The name of the annotation being read (used for error reporting). - The long that was read. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - Function callback to handle to resule of parse property. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns true if should be skipped by the reader; false otherwise. - - The custom instance annotation name in question. - Returns true if should be skipped by the reader; false otherwise. - - - - If is under the odata namespace but is not known to ODataLib, move the JSON reader forward to skip the - annotation name and value then return true; return false otherwise. - - - The unknown odata annotation is skipped so that when this version of the reader reads a feed produced by a future version of ODataLib - that contains an odata annotation that is not recognized on this version, we would simply ignore the annotation rather than failing. - Note that when we add new odata annotations that cannot be skipped, we would bump the protocol version. - - The annotation name in question. - Returns true if the annotation name and value is skipped; returns false otherwise. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - The name of the property or instance annotation found. - - PropertyWithValue - a property with value was found. The contains the name of the property. - The reader is positioned on the property value. - PropertyWithoutValue - a property without a value was found. The contains the name of the property. - The reader is positioned on the node after property annotations (so either a property or end of object). - ODataInstanceAnnotation - an odata instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - CustomInstanceAnnotation - a custom instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - MetadataReferenceProperty - a property which is a reference into the metadata was found. - The reader is positioned on the value of the property. - EndOfObject - end of the object scope was reached and no properties are to be reported. The is null. - This can only happen if there's a property annotation which is ignored (for example custom one) at the end of the object. - - - - - Process the current property annotation. - - The name being annotated. Can be a property or an instance annotation. - The annotation targeting the . - The duplicate property names checker. - Callback to read the property annotation value. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The value of the metadata URI annotation (or null if it was not found). - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the odata.metadata annotation. - - The payload kind for which to read the metadata URI. - The duplicate property names checker. - true if the method should fail if the metadata URI annotation is missing, false if that can be ignored. - The value of the metadata URI annotation. - - - - Context for entry metadata centric responsibilities. - - - - - Returns the which is to be used to read the content of the message. - - - - Result of parsing the metadata URI for the payload (or null if none are available). - This property is only available after the ReadPayloadStart was called. - - - - The Json lite input context to use for reading. - - - - - Gets the metadata document Uri from the MetadataUriParseResult. - - - - Possible results of parsing JSON object property. - - - An end of object was reached without any property to be reported. - - - A property with value was found. - - - A property without value was found. - - - A 'odata' instance annotation was found. - - - A custom instance annotation was found. - - - A metadata reference property was found. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads untyped value. - - primitive value or ODataComplexValue orODataCollectionValue. - - - - Reads json object value. - - ODataComplexValue with TypeName=null - - - - Read json array. - - ODataCollectionValue with TypeName=null - - - - The context object to answer basic questions regarding the type of the entry or feed. - - - - - Default Url convention. - - - - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - - Constructs an instance of . - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - Creates an instance of . - - The serialization info from the feed or entry instance. - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - A new instance of . - - - - Validate and return the given value. - - The type of the value to validate. - The value to validate. - The return value. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the serialization info. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The serialization info from the feed or entry instance. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the metadata. - - - - - The Edm model instance to use. - - - - - The entity set of the feed or entry. - - - - - The element type of the entity set of the feed or entry. - - - - - The expected entity type of the feed or entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - The entity set name of the feed or entry. - - - - - true if the entry is an media link entry or if the feed contains media link entries, false otherwise. - - - - - The url convention to use for the entity set. - - - - - Constructs an instance of . - - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Extension methods on the OData object model. - - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Class to provide additional serialization information to the for an . - - - - - The fully qualified type name of the collection to be written. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The fully qualified type name of the collection to be written. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - true if the navigation property navigates to a collection of entities; false otherwise. - - - - - The enum of property kinds. - - - - - Unspecified property kind or if the property is not a key property, an etag property or an open property. - - - - - The property is a key property. - - - - - The property is an etag property - - - - - The property is an open property - - - - - Class to provide additional serialization information to the for an . - - - - - The kind of the property - - - - - Class to provide additional serialization information to the for an . - - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Class to represent a HTTP header value element. - - - - - Internal constructor to create a new instance of . - - The name of the preference. - The value of the preference. - The enumeration of preference parameter key value pairs. - - - - Converts the current to string. - - The string for . - - - - Appends the and to as name=value. - - The string builder to append to. - The name to append. - The value to append. - - - - The name of the preference. - - - - - The value of the preference. - - - - - The enumeration of preference parameter key value pairs. - - - - - Extension methods for http header values. - - - - - Constructs a new instance of . - - - - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - - - Lexer to parse HTTP header values. - - - - - The ',' separator. - - - - - The ';' separator. - - - - - The '=' separator. - - - - - The name of the HTTP header being parsed. - - - - - The value of the HTTP header being parsed. - - - - - The starting index to the next item to be parsed. - - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - The start index of the next item to be parsed. - - - - Constructs a new instance of the HTTP header value item. - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The newly created instance of . - - - - Reads the content of a HTTP header from this instance to a new instance. - - A new instance populated with the content from this instance. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - Reads a from and advances the forward. - - The lexer to read from. - The that was read. - - - - Reads a token or token=(token|quoted-string) from the , convert it to a key value pair and advances the . - - The lexer to read from. - The converted key value pair. - - - - Returns true if we've parsed to the end of the header value, false otherwise. - - Returns true if we've parsed to the end of the header value, false otherwise. - - - - Reads a token or quoted-string value from the header. - - The token or quoted-string value that was read from the header. - - - - Reads a token from the header. - - The token item that was read from the header. - - - - Reads a separator from the header. - - The separator item that was read from the header. - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - The type of the current parsed item. - - - - - The item type enum. - - - - Currently at the start of the header value. - - - The current item is a token. - - - The current item is a quoted-string. - - - The current item is the header element separator ','. - - - The current item is the parameter separator ';'. - - - The current item is the value separator '='. - - - At the end of the header value. - - - - Represents the start of the http header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a token in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the token. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a quoted-string in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the quoted string, unescaped and without quotes. - The original text of the quoted string, escaped and with quotes. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a separator in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the separator. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents the end of the http header value. - - - - - Static instance of the end item. - - - - - Constructs a new instance of . - - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Filter class to determine whether or not to read an annotation. - - - - - Filter that maches all annotation names. - - - - - Filter than maches no annotation names. - - - - - Separator for annotation filter patterns. - - - - - Patterns to match, sorted in the order of higher to lower priorities to match. - - - - - Private constructor to create a filter from comma delimited patterns to match to include or exclude annotations. - - Patters to match to include or exclude annotations. - - - - Create a filter from comma delimited patterns to match to include or exclude annotations. - - Comma delimited patterns to match to include or exclude annotations. - The newly created filter. - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read all annotations. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read no annotation. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter pattern class to determine whether an annotation name matches the pattern. - - - - - The '.' namespace separator. - - - - - The '-' operator to indicate that the annotation should be excluded from read when it matches the pattern. - - - - - The wild card constant. - - - - - String constant for .* - - - - - The "*" pattern that includes all annotations. - - - - - The "-*" pattern that excludes all annotations. - - - - - The pattern to match. - - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - Constructs a pattern instance to determine whether an annotation name matches the pattern. - - The pattern to match. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Compares the priority of current pattern with the priority of . - - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means this pattern has higher priority than . - 0 means this pattern has the same priority as . - 1 means this pattern has lower priority than . - - A pattern to compare with this pattern. - - - - Creates a pattern instance to determine whether an annotation name matches the pattern. - - The pattern for this instance. - The newly created instance. - - - - Sorts the patterns in the array from highest to lowest priorities. - - The source array to sort. When the method returns the items in this array instance will be rearragned. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Compares the priority of with . - - The left hand side pattern to compare. - The right hand side pattern to compare. - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means has higher priority than . - 0 means has same priority as . - 1 means has lower priority than . - - - - - Removes the exclude operator from the given pattern string. - - The input pattern to the method and will return the pattern without the exclude operator if it's found. - Returns true if the exclude operator is found and removed from the input pattern; false otherwise. - - - - Validates the pattern. - - The pattern to validate. - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - The wild card pattern that matches everything. - - - - - Constructs the wild card pattern. - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match any annotation name that starts with this pattern. - - - - - Constructs the starts with pattern. - - The pattern to start with. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match a annotation name that is exactly the same as this pattern. - - - - - Constructs the exact match pattern. - - The exact pattern to match - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Contract for providing implementations of more specific lookups needed for parsing OData URIs that are not efficiently answered - by existing APIs in and its related interfaces. - - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds an entity set given a name that may be container qualified. If no container name is provided, the default container should be used. - - The name which might be container qualified. If no container name is provided, the default container should be used. - The entity set if one was found or null. - - - - Finds a service operation for the given name. - - The name of the service operation to find. May be qualified with an entity container name. - The function import representing a service operation or null if one could not be found with the given name. - - - - Finds a function or action bound to the specific type with the given name. - - The binding type. - The name of the function imports to find. May be qualified with an entity container name. - The parameter names of the non-binding parameters, if provided in the request URI. - The function import that matches the search criteria or null if there was no match. - - - - Represents an instance annotation. - - - - - Constructs a new instance. - - The name of the instance annotation. - The value of the instance annotation. - - - - Validates that the given is a valid instance annotation name. - - Name to validate. - - - - Validates the given is a valid instance annotation value. - - Value to validate. - - - - Instance annotation name. - - - - - Instance annotation value. - - - - - Extension methods to IODataRequestMessage and IODataResponseMessage. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Gets the instance to get or set preferences on the "Prefer" header of the . - - The request message to get or set the "Prefer" header. - Returns the instance to get or set preferences on the "Prefer" header of the . - - - - Gets the instance to get or set preferences on the "Preference-Applied" header of the . - - The response message to get or set the "Preference-Applied" header. - Returns the instance to get or set preferences on the "Preference-Applied" header of the . - - - - Base Configuration settings for OData message readers. - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - The check characters. - - - The enable atom metadata reading. - - - The annotation filter. - - - - Initializes a new instance of the class. - - - - - Copy constructor. - - The instance to copy. - - - - Flag to control whether the reader should check for valid Xml characters or not. - - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - - - Func to evaluate whether an annotation should be read or skipped by the reader. The func should return true if the annotation should - be read and false if the annotation should be skipped. A null value indicates that all annotations should be skipped. - - - - - Base Configuration settings for OData message writers. - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - The check characters. - - - The indent. - - - - Constructor to create default settings for OData writers. - - - - - Copy constructor to create a copy of the settings for OData writers. - - Settings to create a copy from. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Class to set the "Prefer" header on an or - the "Preference-Applied" header on an . - - - - - The return-no-content preference token. - - - - - The return-content preference token. - - - - - The odata-annotations preference-extensions token. - - - - - The Prefer header name. - - - - - The Preference-Applied header name. - - - - - Empty header parameters - - - - - The return-no-content preference. - - - - - The return-content preference. - - - - - The message to set the preference header to and to get the preference header from. - - - - - "Prefer" if message is an IODataRequestMessage; "Preference-Applied" if message is an IODataResponseMessage. - - - - - Dictionary of preferences in the header - - - - - Internal constructor to instantiate an from an . - - The request message to get and set the "Prefer" header. - - - - Internal constructor to instantiate an from an . - - The response message to get and set the "Preference-Applied" header. - - - - Adds quotes around the given text value. - - text to quote. - Returns the quoted text. - - - - Returns true if the given preference exists in the header, false otherwise. - - Preference in question. - Returns true if the given preference exists in the header, false otherwise. - - - - Clears the from the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to clear. - - - - Sets the to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to set. - - If is already on the header, this method does a replace rather than adding another instance of the same preference. - - - - - Gets the from the "Prefer" header from the underlying or - the "Preference-Applied" header from the underlying . - - The preference to get. - Returns a key value pair of the and its value. The Value property of the key value pair may be null since not - all preferences have value. If the is missing from the header, null is returned. - - - - Parses the current preference values to a dictionary of preference and value pairs. - - Returns a dictionary of preference and value pairs; null if the preference header has not been set. - - - - Sets the "Prefer" or the "Preference-Applied" header to the underlying message. - - - - - Property to get and set the "return-content" and "return-no-content" preferences to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - Setting true sets the "return-content" preference and clears the "return-no-content" preference. - Setting false sets the "return-no-content" preference and clears the "return-content" preference. - Setting null clears the "return-content" and "return-no-content" preferences. - Returns true if the "return-content" preference is on the header. Otherwise returns false if the "return-no-content" is on the header. - Returning null indicates that "return-content" and "return-no-content" are not on the header. - - - - - Property to get and set the "odata.include-annotations" preference with the given filter to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - If the "odata-annotations" preference is already on the header, set replaces the existing instance. - Returning null indicates that the "odata.include-annotations" preference is not on the header. - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - - - - Dictionary of preferences in the header. - - - - - Extension methods for ReadOnlyEnumerable and ReadOnlyEnumerableOfT - - - - - true if is the same instance as ReadOnlyEnumerableOfT.Empty(). false otherwise. - - The element type of the enumerable. - The enumerable in question. - Returns true if is the empty ReadOnlyEnumerableOfT. false otherwise. - - - - Casts an IEnumerableOfT to ReadOnlyEnumerableOfT. - - The element type of the enumerable. - The source enumerable. - The name of the collection to report in case there's an error. - The casted ReadOnlyEnumerableOfT. - - - - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - The element type of the enumerable. - The source enumerable in question. - The name of the collection to report in case there's an error. - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - - - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - The element type of the enumerable. - The source enumerable to concat. - The name of the collection to report in case there's an error. - Item to concat to the source enumerable. - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - - - Adds an ODataAction to an entry. - - The entry to add the action. - The action to add. - - - - Adds an ODataFunction to an entry. - - The entry to add the function. - The function to add. - - - - Adds an association link to an entry. - - The entry to add the association link to. - The association link to add. - - - - Implementation of OData entity metadata builder based on OData protocol conventions. - - - - The URI builder to use. - - - The context to answer basic metadata questions about the entry. - - - The metadata context. - - - The list of navigation links that have been processed. - - - The edit link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The read link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The computed ETag. - - - true if the etag value has been computed, false otherwise. - - - The computed ID of this entity instance. - - This is always built from the key properties, and never comes from the entry. - - - - A computed uri that is equivalent to the ID or the edit-link without a type segment. - - - The computed MediaResource for MLEs. - - - The list of computed stream properties. - - - The enumerator for unprocessed navigation links. - - - The missing operation generator for the current entry. - - - - Constructor - - The context to answer basic metadata questions about the entry. - The metadata context. - The uri builder to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Computes the edit link. - - Uri that was computed based on the computed Id and possible type segment. - - - - Computes and sets the field for the computed Id. - - - - - Computes all projected or missing stream properties. - - Non-computed properties from the entity. - The the computed stream properties for the entry. - - - - Lazy evaluated computed entity Id. This is always a computed value and never comes from the entry. - - - - - Lazy evaluated computed entity instance uri. This is always a computed value and never comes from the entry. - - - - - The missig operation generator for the current entry. - - - - - Implementation of OData URI builder based on OData protocol conventions. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - The base URI of the service. This will be used as the base URI for all entity containers. - - - The specific url-convention to use. - - - The specific key-serializer to use based on the convention. - - - - Constructor. - - The base URI of the service. This will be used as the base URI for all entity containers. - The specific url convention to use. - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Validates the base URI parameter to be a non-null absolute URI. - - The base URI parameter to validate. - - - - Appends a segment to the specified base URI. - - The base Uri to append the segment to. - The segment to append. - True if the new segment should be escaped, otherwise False. - New URI with the appended segment and no trailing slash added. - - - - Gets the CLR value of a primitive key property. - - The key property name. - The key property value. - The entity type name we are validating the key value for. - The primitive value of the key property. - - - - Appends the key expression for the given entity to the given - - The builder to append onto. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - - - - Annotation to capture all of the custom instance annotations on an ODataAnnotatable. - - - Currently only , , and supports instance annotations. - Additionally, instance annotations will only be serialized in Json. - - - - - Backing dictionary of instance annotation term name/object pairs. - - - - - Creates a new to hold instance annotations for an . - - - - - Determines whether the contains an element with the specified key. - - - true if the ICollection> contains an element with the key; otherwise, false. - - The key to locate in the . - is null. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Removes all items from the . - - The is read-only. - - - - Adds an element with the provided 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 null. - An element with the same key already exists in the .The is read-only. - - - - Removes the element with the specified key from the . - - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - The key of the element to remove. is null.The is read-only. - - - - Gets the value associated with the specified key. - - - true if the object that implements contains an element with the specified key; otherwise, false. - - The key whose value to get.When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. is null. - - - - Gets an enumerator for this object. - - An enumerator for this object. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - - Gets or sets the element with the specified key. - - - The element with the specified key. - - The key of the element to get or set. - is null. - The property is retrieved and is not found. - The property is set and the is read-only. - - - - Helper class to track if an annotation has been written. - - - - - Maintains the write status for each annotation using its key. - If a key exists in the list then it is considered written. - - - - - Creates a new to hold write status for instance annotations contained in . - - - - - Check if an annotation is already written. - - true if the annotation is written; otherwise false. - The key of the element to check if its written. - - - - Mark an annotation as written. - - true if the annotation was unmarked before; otherwise false. - The key of the element to mark as written. - - - - Well known OData annotation names reserved for OData Lib. - - - - The OData Metadata annotation name. - - - The OData 'null' annotation name. - - - The OData Type annotation name. - - - The OData ID annotation name. - - - The OData etag annotation name. - - - The OData edit link annotation name. - - - The OData read link annotation name. - - - The OData media edit link annotation name. - - - The OData media read link annotation name. - - - The OData media content type annotation name. - - - The OData media etag annotation name. - - - The 'odata.count' annotation name. - - - The 'odata.nextLink' annotation name. - - - The 'odata.navigationLinkUrl' annotation name. - - - The 'odata.bind' annotation name. - - - The 'odata.associationLinkUrl' annotation name. - - - The 'odata.annotationGroup' annotation name. - - - The 'odata.annotationGroupReference' annotation name. - - - The 'odata.error' annotation name. - - - The 'odata.deltaLink' annotation name. - - - - Hash set of known odata annotation names that have special meanings to OData Lib. - - - - - Returns true if the starts with "odata.", false otherwise. - - The name of the annotation in question. - Returns true if the starts with "odata.", false otherwise. - - - - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - The annotation name in question. - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - - - Validates that the is not a reserved OData instance annotation. - - The instance annotation name to check. - - - - Defines an interface for a class that can write OData values in Json Light. - This is used internally for mocking. - - - - - Writes a null value. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - - - - Writes a primitive value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a for checking duplication properties inside complex values. - - A new instance. - - - - JsonWriter this value serializer will use. - - - - - Version of OData being written. - - - - - Model to use for type resolution and verification when writing. - - - - - The message writer settings to use when writing the message payload. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - The character array used for splitting apart the operation parameter type names in a metadata link. Contains ','. - - - - - The set of characters to trim from the parameters of an operation. Contains '(' and ')'. - - - - - Determines if the specified property name is a name of a metadata reference property. - - The name of the property. - true if is a name of a metadata reference property, false otherwise. - - - - Gets the fully qualified function import name from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The first parameter name, if any are present in the given string. - The fully qualified function import name. - - - - Gets the Uri fragment from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The Uri fragment which corresponds to action/function names, etc. - - - - Converts the metadata reference property name to an absolute Uri. - - The metadata document uri. - The metadata reference property name. - The absolute Uri for the metadata reference property name. - - - - Calculates the metadata reference name for the given function import. When there is no overload to the function, this method will - return the container qualified function import name. When there is overload to the function this method will - return FQFN([comma separated parameter type names]) to disambiguate between different overloads. - - The function import in question. - The metadata reference name for the given function import. - - - - Creates an ODataAction or ODataFunction from a function import. - - The metadata document uri. - The metadata reference property name. - The function import to create the ODataOperation for. - true if the created ODataOperation is an ODataAction, false otherwise. - The created ODataAction or ODataFunction. - - - - Responsible for reading annotation groups (both declarations and references) in JSON Light. - - - - - Mapping of all the annotation groups encountered so far, keyed by name. - - - - - Initializes a new . - - The JSON light input context. - - - - Reads the current property node as an annotaion group, if the property name matches. Otherwise, it does not move the reader. - - Fired whenever an OData property annotation is seen. Takes the name of the property annotation and should read and return the annotation's value. - Fired whenever an OData instance annotation is seen. Takes the name of the instance annotation and should read and return the annotation's value. - The annotation group which was read, or null if we did not encounter an annotation group. - - Pre-Condition: JsonNodeType.Property: The property to consider as an annotion group. - Post-Condition: JsonNodeType.Property: If the property is not an annotation group, the reader will not move. - Any: The node after the annotation group property, if one was read. - - - - - Adds the given annotation group to the set of groups which can be retrieved by annotation group references. - - The annotation group to add. - - - - Checks to see that the name of the given annotation group has not yet been set. Throws otherwise. - - The annotation group to check. - - - - Returns whether the given property name indicates this property contains the name of the annotation group. - - The property name to check. - true if the property name is annotation group name property, false otherwise. - - - - Verifies that the name of the given annotation group was set, and throws otherwise. - - The annnotation group to check. - - - - Verifies that the given property name is a valid annotation name, and throws if not. - - The property name to check. - The annotation group which this property would be added to. - - - - Creates an ODataException to throw when a non-annotation property is found inside an annotation group. - - The name of the property found inside an annotation group. - The annotation group it was found in. - An ODataException with an appropriate message, including the annotation group name if one is available. - - - - Reads an annotation group reference and returns the existing annotation group instance with that name. - - The annotation group which was referenced. - This method will throw if no matching annotation group is found. - - - - Reads an annotation group declaration and returns a newly created annotation group instance. - - Function which takes the name of an OData property annotation and reads and returns the value of the annotation. - Function which takes the name of an OData instance annotation and reads and returns the value of the annotation. - The annotation group which was read. - - Pre-Condition: JsonNodeType.StartObject: The property to consider as an annotion group declaration or reference. - Any: Any other node type will throw an exception. - Post-Condition: Any: The node after the annotation group property value. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Validates that a string is either a valid absolute URI, or (if it begins with '#') it is a valid URI fragment. - - The metadata document uri. - The property name to validate. - - - - Validates an operation is valid. - - The metadata document uri. - The operation to validate. - - - - Determines if the specified property name is a name of an open metadata reference property. - - The metadata document uri. - The property name in question. - true if the specified property name is a name of an open metadata reference property; false otherwise. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - - - - JSON Ligth specific state which is created during payload kind detection and reused during standard reading if available. - - - - The parsed metadata URI. - - - - Constructor. - - The parsed metadata URI. - - - The parsed metadata URI. - - - - Interface for a class that can write arbitrary JSON. - Internally we want the interface for mocks. - - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Class responsible for writing a collection of . - - - - - Value serializer, responsible for serializing the annotation values. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructs a that can write a collection of . - - The to use for writing values of instance annotations. - The that is also used internally will be acquired from the this instance. - The oracle to use to determine the type name to write for entries and values. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - The tracker to track if instance annotations are written. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - - - - Writes an instance annotation. - - The instance annotation to write. - - - - JsonWriter instance to use for writing term names. - - - - - OData JsonLight serializer for value types. - - - - - Base class for all OData JsonLight serializers. - - - - - The JsonLight output context to write to. - - - - - Instance annotation writer. - - - - - Set to true when odata.metadata is writen; set to false otherwise. - When value is false, all URIs writen to the payload must be absolute. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the end of the entire JSON payload. - - - - - Writes the metadata URI property and the specified value into the payload. - - The metadata URI to write. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Returns the string representation of the URI - - The uri to process. - Returns the string representation of the URI. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - Instance annotation writer. - - - - - The current recursion depth of values written by this serializer. - - - - - Property serializer. - - - - - Initializes a new instance of the class. - - The property serializer to use when writing complex values. - - - - Initializes a new instance of the class. - - The output context to use. - - - - Writes a null value to the wire. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a new instance of a duplicate property names checker. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - The newly created instance of duplicate property names checker. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Returns the which is to be used to write the content of the message. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The OData version of the output. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The model to use. - - - - - The message writer settings to use when writing the message payload. - - - - - Gets the property serializer. - - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - Responsible for resolving the element type of an entity set with reader (i.e., looser) semantics. - - - - - Class responsible for determining the entity type of an entity set. - - - - - Returns the element type of the given entity set. - - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type. - - The function parameter to get the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - The model to use or null if no model is available. - - - Reader behavior if the caller is a reader, null if no reader behavior is available. - - - The version of the payload being read. - - - Creates a new entity set element type resolver with all the information needed when resolving for reading scenarios. - The model to use or null if no model is available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for read and calls the client type resolver to resolve type when it is specified. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Resolves the given type reference if a client type resolver is available. - - Type reference to resolve. - The resolved type reference. - - - - Resolves the given type if a client type resolver is available. - - Type to resolve. - The resolved type. - - - - Responsible for resolving the element type of an entity set with writer semantics. - - - - - Singleton instance of the resolver. - - - - - Private constructor to ensure all access goes through the singleton Instance. - - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for write. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader and which support true async operations. - - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData collection readers. - - - - Reads the next item from the message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent item that has been read. - The most recent item that has been read. - - This property returns an when in state ODataCollectionReaderState.CollectionStart - or ODataCollectionReaderState.CollectionEnd. It returns either a primitive value, an or 'null' when - in state ODataCollectionReaderState.Value and 'null' in all other states. - - - - The input context to read from. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - The expected item type reference for the items in the collection. - If an expected type is specified the collection has to be homogeneous. - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Should be false since no more nodes can be read from the reader after the collection ends. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The state of the collection element - empty or not-empty. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - The item associated with the replacement state. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The most recent item that has been read. - - - - - The state of the collection element - empty or non-empty. - - - Only used by ATOM. - - - - - The expected item type for the items in the collection. - - - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - - Returns true if we are reading a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - - - - A collection reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - True, if the collection element attached to this scope is empty. False otherwise. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The state of the collection element - empty or not-empty - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The state of the Collection Element - empty or non-empty. - - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Simple structure for storing both a base URI and the select clause for generating metadata links in JSON-Light payloads. - - - - The base uri to the metadata document. - - - The select clause to include when generating metadata links. - - - - Initializes a new instance of . - - The base uri to the metadata document. - - - - Gets the base uri to the metadata document. - - - - - Gets the select clause to include when generating metadata links. - - - - - Represents a null property value. - - - - - Indicates whether the given value is a null value. - - true, since this object always represents a null value. - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader with truly async operations. - - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader. - - - - Base class for OData parameter readers. - - - Creates an to read the collection value when the state is ODataParameterReaderState.Collection. - An to read the collection value when the state is ODataParameterReaderState.Collection. - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - - - Reads the next parameter from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the name of the current parameter that is being read. - The name of the current parameter that is being read. - - - Gets the value of the current parameter that is being read. - The value of the current parameter that is being read. - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - An interface that allows the creator of a reader/writer to listen for status changes of the created reader/writer. - - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - The input context to read from. - - - The function import whose parameters are being read. - - - Stack of reader scopes to keep track of the current context of the reader. - - - Hash set to keep track of all the parameters read from the payload. - - - Tracks the state of the sub-reader. - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - This method creates an to read the collection value when the state is ODataParameterReaderState.Collection. - - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - Returns an to read the collection value when the state is ODataParameterReaderState.Collection. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - Returns the type reference of the parameter in question. - - Name of the parameter in question. - Returns the type reference of the parameter in question. - - - - Creates a new for the specified with the provided - and and pushes it on the stack of scopes. - - The to use for the new scope. - The paramter name to attach with the state in the new scope. - The paramter value to attach with the state in the new scope. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called when the a parameter was completed. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Gets the corresponding create reader method name for the given state. - - State in question. - Returns the name of the method to create the correct reader for the given state. - - - - Verifies that one of CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() can be called. - - The expected state of the reader. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The name of the current parameter that is being read. - - - - - The value of the current parameter that is being read. - - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - The function import whose parameters are being read. - - - - Enum to track the state of the sub-reader. - - - No sub-reader has been created for the current parameter. - - - CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() has been called for the current parameter - and the newly created reader is not in Completed state. - If the sub-reader is in Error state, the ODataParameterReader will enter ODataParameterReaderState.Error. - - - The created sub-reader is in Completed state. - - - - A parameter reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The parameter name attached to this scope. - - - The parameter value attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The parameter name attached to this scope. - The parameter value attached to this scope. - - - - The reader state of this scope. - - - - - The parameter name attached to this scope. - - - - - The parameter value attached to this scope. - - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Represents a primitive property value. - - - - - Creates a new primitive value from the given CLR value. - - The primitive to wrap. - The primitive value should not be an instance of ODataValue. - - - - Gets the underlying CLR object wrapped by this . - - The underlying primitive CLR value. - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader with true async operations. - - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData readers. - - - - Reads the next from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent that has been read. - The most recent that has been read. - - - The input to read the payload from. - - - true if the reader was created for reading a feed; false when it was created for reading an entry. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - The to use for entries in this feed. - Only applies when reading a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - - - Pushes the on the stack of scopes. - - The scope to enter. - - - - Replaces the current scope with the specified . - - The scope to replace the current scope with. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called to transition into the EntryEnd state. - - The scope for the EntryEnd state. - - - - If an entity type name is found in the payload this method is called to apply it to the current scope. - This method should be called even if the type name was not found in which case a null should be passed in. - The method validates that some type will be available as the current entity type after it returns (if we are parsing using metadata). - - The entity type name found in the payload or null if no type was specified in the payload. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Returns the current item as . Must only be called if the item actually is an entry. - - - - - Returns the current item as . Must only be called if the item actually is a feed. - - - - - Returns the current item as . Must only be called if the item actually is a navigation link. - - - - - Returns the current item as . Must only be called if the item actually is an entity reference link. - - - - - Returns the expected entity type for the current scope. - - - - - Returns the entity set for the current scope. - - - - - Returns the current scope. - - - - - Returns the scope of the entity owning the current link. - - - - - A flag indicating whether the reader is at the top level. - - - - - If the current scope is a content of an expanded link, this returns the parent navigation link scope, otherwise null. - - - - - True if we are reading an entry or feed that is the direct content of an expanded link. Otherwise false. - - - - - Set to true if a feed is being read. - - - - - Returns true if we are reading a nested payload, e.g. an entry or a feed within a parameters payload. - - - - - Validator to validate consistency of entries in top-level feeds. - - We only use this for top-level feeds since we support collection validation for - feeds only when metadata is available and in these cases we already validate the - types of the entries in nested feeds. - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The entity set we are going to read entities for. - The expected entity type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - EntityReferenceLink - it's null, no need for types on entity reference links. - In all cases the specified type must be an entity type. - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The entity set we are reading entries from (possibly null). - - - - - The entity type for this scope. Can be either the expected one if the real one - was not found yet, or the one specified in the payload itself (the real one). - - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Simple ODataVersion specific cache. - - The type of the item being cached. - - - - Lazy constructing T for ODataVersion.V1. - - - - - Lazy constructing T for ODataVersion.V2. - - - - - Lazy constructing T for ODataVersion.V3. - - - - - Constructs an instance of the ODataVersionCache. - - The method to call to create a new instance of for a given ODataVersion. - - - - Indexer to get the cached item when given the ODataVersion. - - The ODataVersion to look up. - The cached item. - - - - Class that hanldes writing top level raw values to a stream. - - - - - Writer settings. - - - - - Underlying stream. - - - - - Encoding that the TextWriter should use. - - - - - TextWriter instance for writing values. - - - - - Initializes a new instance of the class. - Initializes the TextWriter. - - The writer settings. - The stream. It should be the same underlying stream the TextWriter uses. - The encoding to use in the text writer. - - - - Disposes the RawValueWriter. It flushes itself and then disposes its inner TextWriter. - - - - - Start writing a raw output. This should only be called once. - - - - - End the writing of a raw output. This should be the last thing called. - - - - - Converts the specified into its raw format and writes it to the output. - The value has to be of primitive type. Only one WriteRawValue call should be made before this object gets disposed. - - The (non-binary) value to write. - We do not accept binary values here; WriteBinaryValue should be used for binary data. - - - - Flushes the RawValueWriter. - The call gets pushed to the TextWriter (if there is one). In production code, this is StreamWriter.Flush, which turns into Stream.Flush. - In the synchronous case the underlying stream is the message stream itself, which will then Flush as well. - In the async case the underlying stream is the async buffered stream, which ignores Flush call. - - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Gets the text writer. - - - - - Class with utility methods to deal with values in ODataLib. - - - - - Converts an object to an ODataValue. If the given object is already an ODataValue (such as an ODataCompleValue, ODataCollectionValue, etc.), the original object will be returned. - - The object to convert to an ODataValue - The given object as an ODataValue. - - - - Converts an ODataValue to the old style of representing values, where null values are null and primitive values are just the direct primitive (no longer wrapped by ODataPrimitiveValue). - All other value types, such as ODataComplexValue and ODataCollectionValue are returned unchanged. - - The value to convert. - The value behind the given ODataValue. - - - - Represents a tree of selected properties based on the $select query option. - - - When reading, it controls the template expansion in JSON Light. - - - - The separator character used to separate property names in a path. - - - The separator character used to separate paths from each other. - - - Singleton which indicates that the nothing is selected. - - - Singleton which indicates that the entire subtree is selected. - - - An empty set of stream properties to return when nothing is selected. - - - An empty set of navigation properties to return when nothing is selected. - - - The type of the current node. - - - The list of selected properties at the current level. - - - A dictionary of property name to child nodes. - - - Indicates that this node had a wildcard selection and all properties at this level should be reported. - - - - Constructor. - - The string representation of the selected property hierarchy using - the same format as in the $select query option. - - - - Prevents a default instance of the class from being created. - - Type of the selection. - - - - Creates a node from the given raw $select query option value. - - The value of the $select query option. - A tree representation of the selected properties specified in the query option. - - - - Recursively combines the left and right nodes. Used when there are type segments present in the select paths which - causes there to be multiple children for the same property/navigation. - - The left node. - The right node. - The combined node. - - - - Gets the selected properties node for the specified navigation property. - - The current entity type. - The name of the navigation property. - The selected properties node for the property with name . - - - - Gets the selected navigation properties for the current node. - - The current entity type. - The set of selected navigation properties. - - - - Gets the selected stream properties for the current node. - - The current entity type. - The selected stream properties. - - - - Determines whether or not the given operation is selected and takes type-segments into account. - - The current entity type. - The operation. - Whether or not the operation name must be container qualified in the $select string. - - true if the operation is selected; otherwise, false. - - - - - Gets an enumerable containing the given type and all of its base/ancestor types. - - The starting entity type. Will be included in the returned enumeration. - An enumerable containing the given type and all of its base/ancestor types. - - - - Creates a new hash set for storing the names of selected properties. - - The initial set of selected properties to store in the hash set. - The hash set. - - - - Creates a new hash set for storing the names of selected properties. - - The hash set. - - - - Gets the possible identifiers that could cause the given operation to be selected. - - The operation. - Whether the operations must be container qualified. - The identifiers to look for in the $select string when determining if this action is selected. - - - - Gets the matching type segments for the given type based on this node's children. - - The entity type to match. - All child nodes which start with a type segment in the given types hierarchy. - - - - Parses the segments of a path in the select clause. - - The segments of the select path. - The index of the segment to parse. - - - - Ensures that a child annotation for the specified segment name already exists; if not creates one. - - The segment name to get the child annotation for. - The existing or newly created child annotation for the . - - - - Determines whether or not the given operation is selected without taking type segments into account. - - The operation. - Whether the operations must be container qualified. - - true if the operation is selected; otherwise, false. - - - - - Enum representing the different special cases of selection. - - - - - Represents the case where no properties are selected. - - - - - Represents the case where an entire subtree is selected. - - - - - The normal case where a partial subtree has been selected. - - - - - Class representing an annotation group in the JSON Light format. - - - - The name of the annotation group. - - - The (instance and property) annotations included in this annotation group. - - - - The name of the annotation group. - - The name has to be unique across the whole JSON Light payload. - - - - The (instance and property) annotations included in this annotation group. - - The keys in the dictionary are the names of the annotations, the values are their values. - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Tries to get a stream property of the specified name. - - The instance of the entity to get the stream property for. - The stream property name to find. - The stream property found. - true if the stream property was found or if the stream property name was null (default stream). - false if the stream property doesn't exist. - - - - Gets the the CLR value for a primitive property. - - The structured value. - Name of the property. - The clr value of the property. - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Class which holds information about navigation link to be reported by the reader. - - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link has a value (is expanded). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - List of entity reference links to be reported to the navigation link. - - - If the navigation link is a singleton this will hold up to 1 item. - If the navigation link is a collection this will hold any number of items. - When the entity reference link is reported it is removed from this list. - - - - - Constructor. - - The navigation link to report. - The navigation property for which the link will be reported. - true if the navigation link is expanded. - - - - Creates a navigation link info for a deferred link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded entry link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded feed link. - - The navigation link to report. - The navigation property for which the link will be reported. - The expanded feed for the navigation link to report. - The navigation link info created. - - - - Creates a navigation link info for a singleton entity reference link. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference link for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a collection of entity reference links. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference links for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a projected navigation link that is missing from the payload. - - The navigation property for which the link will be reported. - The navigation link info created. - - - - Gets the next entity reference link to report and removes it from the internal storage. - - The entity reference link to report or null. - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link is expanded (has a value). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - true if the link info has entity reference link which was not yet reported, false otherwise. - - - - - OData JsonLight deserializer for parameter payloads. - - - - - OData JsonLight deserializer for properties and value types. - - - - A sentinel value indicating a missing property value. - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JsonLight input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - An representing the read property. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - A task which returns an representing the read property. - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Gets and validates the type name annotation for the specified property. - - The duplicate property names checker in use for the entry content. - The name of the property to get the type name for. - The type name for the property or null if no type name was found. - - - - Tries to read an annotation as OData type name annotation. - - The annotation name on which value the reader is positioned on. - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - JsonNodeType.PrimitiveValue - the reader didn't move - JsonNodeType.StartObject - JsonNodeType.StartArray - - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - Reads the value of the odata.type annotation. - - The type name read from the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation, will fail if it's not PrimitiveValue - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - - - - - Reads top-level property payload property annotation value. - - The name of the property annotation. - The value of the annotation read. - - - - Tries to read an annotation as OData type name annotation. - - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.Property - the property that possibly is an odata.type instance annotation - Post-Condition: JsonNodeType.Property - the next property after the annotation or if the reader did not move - JsonNodeType.EndObject - end of the parent object - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - The duplicate property names checker to use. - An representing the read property. - - The method assumes that the ReadPayloadStart has already been called and it will not call ReadPayloadEnd. - - - - - Updates the expected type based on the metadata URI if there is one. - - The expected property type reference provided by the user through public APIs, or null if one was not provided. - The expected type reference updated based on the metadata uri, if there is one. - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartArray - Post-Condition: almost anything - the node after the collection value (after the EndArray) - - - - - Reads a primitive value. - - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The expected type reference of the value, or null if none is available. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: insideJsonObjectValue == false -> none - Fails if the current node is not a JsonNodeType.PrimitiveValue - insideJsonObjectValue == true -> JsonNodeType.Property or JsonNodeType.EndObject - the first property of the value object, - or the second property if first was odata.type, or the end-object. - Post-Condition: almost anything - the node after the primitive value. - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - this is always initialized as necessary, do not clear. - The value of the complex value. - - Pre-Condition: JsonNodeType.Property - the first property of the complex value object, or the second one if the first one was odata.type. - JsonNodeType.EndObject - the end object of the complex value object. - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the payload type name from a JSON object (if it exists). - - The duplicate property names checker to track the detected 'odata.type' annotation (if any). - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The value of the odata.type annotation or null if no such annotation exists. - true if a type name was read from the payload; otherwise false. - - Precondition: StartObject the start of a JSON object - Postcondition: Property the first property of the object if no 'odata.type' annotation exists as first property - or the first property after the 'odata.type' annotation. - EndObject for an empty JSON object or an object with only the 'odata.type' annotation - - - - - Detects whether we are currently reading a complex property or not. This can be determined from metadata (if we have it) - or from the presence of the odata.type instance annotation in the payload. - - The duplicate property names checker in use for the entry content. - The expected type reference of the property to read. - The type name of the complex value if found in the payload; otherwise null. - true if we are reading a complex property; otherwise false. - - This method does not move the reader. - - - - - Tries to read a top-level null value from the JSON reader. - - true if a null value could be read from the JSON reader; otherwise false. - If the method detects the odata.null annotation, it will read it; otherwise the reader does not move. - - - - Make sure that we don't find any other odata.* annotations or properties after reading a payload with the odata.null annotation or the odata.metadata annotation with value ending #Edm.Null - - The duplicate property names checker to use. - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - OData property annotation reader for parameter payloads. - OData property annotations are not supported in parameter payloads. - - - The JSON Light parameter reader. - - - - Constructor. - - The JSON Light parameter reader. - The JsonLight input context to read from. - - - - Reads the next parameter from the parameters payload. - - The duplicate property names checker used to read a parameter payload. - true if a parameter was read from the payload; otherwise false. - - Pre-Condition: Property or EndObject the property node of the parameter to read or the end object node if there are not parameters - Post-Condition: Property or EndObject the node after the property value of a primitive, complex or null collection parameter - Any the start of the value representing a non-null collection parameter (the collection reader will fail if this is not a StartArray node) - - - - - Parser for odata metadata URIs used in JSON Lite. - - - - The start of the select query option (including the '=' character). - - - The model to use when resolving the target of the URI. - - - The result of parsing the metadata URI. - - - - Initializes a new instance of the class. - - The model to use when resolving the target of the URI. - The metadata URI read from the payload. - - - - Creates a metadata URI parser and parses the metadata URI read from the payload. - - The model to use when resolving the target of the URI. - The string value of the odata.metadata annotation read from the payload. - The payload kind we expect the metadata URI to conform to. - The OData version to use for determining the set of built-in functions available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The result from parsing the metadata URI. - - - - Extracts the value of the $select query option from the specified fragment. - - The fragment to extract the $select query option from. - The value of the $select query option or null if none exists. - - - - Parses a metadata URI read from the payload into its parts. - - - - - Applies the model and validates the metadata URI against it. - - The payload kind we expect the metadata URI to conform to. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - - Parses the fragment of a metadata URI. - - The fragment to parse - Reader behavior if the caller is a reader, null if no reader behavior is available. - The OData version to use for determining the set of built-in functions available. - The detected payload kind based on parsing the fragment. - - - - Returns the parse results of the metadata uri if it has a AssociationLink in the uri - - Edm Type Resolver to determine entityset type element. - Number of split parts the metadata fragment is split into. - The actual metadata fragment parts. - The reader behavior. - The odata version. - Returns with an EntityReferenceLink or Links depending on the Uri, sets the parse results with the navigation, and set - - - - Set the EntityLinks Parse results. - - Navigation property to add to the results. - Single element string, used to confirm if this is an error case or not. - Returns ReferenceLink or Collection Link based on the navigation and at element - - - - Parses the fragment of an entity reference link metadata URI. - - Edm Type Resolver used to get the ElementType of the entity set. - Entity Set used as a starting point to find the navigation property - The name of the type declaring the navigation property. - The name of the navigation property. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved navigation property. - - - - Validate the Metadata Uri Fragment is @Element for a $links metadata uri, will throw a $links specific error - - Element selector. - - - - Validate the Metadata Uri Fragment is @Element for a non $links metadata uri, throws if its not correct - - Element selector. - - - - Resolves a navigation property name to an IEdmNavigationProperty. - - Entity Type to look for the navigation property on. - Navigation property name to find. - Returns the navigation property of throws an exception if it cannot be found. - - - - Resolves the entity set. - - The entity set part. - The resolved entity set. - Returns the OData Payload Kind - - - - Resolves an entity set with an optional type cast and updates the parse result. - - The entity set to resolve the type cast against. - The optional type cast. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type of the given entity set. - The resolved entity type. - - - - Resolves a type. - - The type name. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved Edm type. - - - - Interface representing a state of the JSON writer for entry. - - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entry being written. - - - - - The entity type for the entry (if available) - - - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - - - The serialization info for the current entry. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Constants for the JSON Lite format. - - - - The prefix for OData annotation names. - - - The separator of property annotations. - - - The value 'true' for the OData null annotation. - - - The 'value' property name for the Json Light value property. - - - The name of the property returned for a singleton $links query. - - - The name of the property returned for a URL of a workspace collection. - - - The name of the property returned for a name of a workspace collection. - - - The 'name' property name of an annotation group declaration. - - - The name of the $select query option. - - - The '=' character used to separate a query option name from its value. - - - The '&' separator character between query options. - - - The hash sign acting as fragment indicator in a metadata URI. - - - The slash sign used as separator in the fragment of a metadata URI. - - - The @Element token that indicates that the payload is a single item from a set. - - - The '(' used to mark the start of function parameters in the fragment of a metadata URI. - - - The ')' used to mark the end of function parameters in the fragment of a metadata URI. - - - The "," to use as the separator for the function parameters in the fragment of a metadata URI. - - - The token that indicates the payload is a property with null value. - - - - Builder class to construct the metadata pointers for the Json Light format for the various payload kinds. - - - - - Creates a metadata uri builder after validating user input. - - The JSON Light metadata level being written. - if set to true indicates that a response is being written. - The writer settings. - The Edm model instance. - The metadata uri builder to use while writing. - - - - Creates a metadata uri builder for the given base metadata document uri. - DEVNOTE: specifically for unit testing. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - A new metadata uri builder. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which uses a user-provided uri and $select clause. - - - - - The base metadata document uri and $select clause provided by the user. - - - - - The Edm model instance. - - - - - if set to true indicates that a response is being written. - - - - - Initializes a new instance of the class. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the metadata URI type name based on the given property. - - The property. - The type name for the metadata URI. - - - - Gets the entity set name for the metadata Uri. - - The entity set in question. - The model instance. - Returns the entity set name for the metadata Uri. - - - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - The entity set in question. - The eneity type in question. - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - - - - Creates the metadata URI for a type. - - The non-null, absolute metadata document URI. - The fully qualified type name to create the metadata URI for. - Returns the metadata URI for a value based on its type. - - - - Creates the metadata URI for a feed or entry. - - The non-null, absolute metadata document URI. - The Edm model instance. - The context object to answer basic questions regarding the type of the entry or feed. - true if the metadata URI is built for an entry, false if the metadata URI is built for a feed. - true if the metadata URI is for a response payload, false if the metadata URI is for a request payload. - Returns the metadata URI for the feed or entry. - - - - Creates the metadata URI for an entity set. - - The non-null, absolute metadata document URI. - The fully qualified entity set name for which to create the metadata URI. - The fully qualified entity type name of the entries in the result. This has to be an entity type derived - from the result entity set's base type or null to use its base type. - Navigation Property name to create a $link metadata uri to, if not null a $link uri will be created - true to append the '@Element" item selector at the end of the metadata URI; otherwise false. - The metadata URI for the . - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which never actually builds anything. Used for the case where 'nometadata' is explicitly requested in the media type. - - - - - Singleton instance of . - - - - - Prevents a default instance of the class from being created. - - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - The result of parsing an OData metadata URI in JSON Lite. - - - - The metadata URI read from the payload in its unparsed form. - - - The metadata document URI as read from the payload. - - - The fragment portion of the metadata URI. - - - The $select query option. - - - The resolved entity set as specified in the metadata URI. - - - The resolved structured type as specified in the metadata URI. - - - The navigation property as specified in the metadata URI. - - - The detected payload kinds from parsing the metadata URI. - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - Initializes a new instance of the class. - - The metadata URI read from the payload in its unparsed form. - - - - The metadata URI read from the payload in its unparsed form. - - - - - The metadata document URI as read from the payload. - - This is the metadata URI as read from the payload without the fragment. - - - - The fragment portion of the metadata URI. - - - - - The $select query option. - - - - - The resolved entity set as specified in the metadata URI. - - - - - The resolved structured type as specified in the metadata URI. - - - - - The navigation property as specified in the metadata URI. - - - - - The detected payload kinds from parsing the metadata URI. - - - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - - Reader for the JSON Lite format that supports look-ahead and re-ordering of payloads. - - - - - Reader for the JSON format (http://www.json.org) that supports look-ahead. - - - - - Reader for the JSON format. http://www.json.org - - - - - The initial size of the buffer of characters. - - - 4K (page size) divided by the size of a single character 2 and a little less - so that array structures also fit into that page. - The goal is for the entire buffer to fit into one page so that we don't cause - too many L1 cache misses. - - - - - Maximum number of characters to move in the buffer. If the current token size is bigger than this, we will allocate a larger buffer. - - This threshold is copied from the XmlReader implementation. - - - - The text which every date time value starts with. - - - - - The text which every date time value ends with. - - - - - The text reader to read input characters from. - - - - - Stack of scopes. - - - At the begining the Root scope is pushed to the stack and stays there for the entire parsing - (so that we don't have to check for empty stack and also to track the number of root-level values) - Each time a new object or array is started the Object or Array scope is pushed to the stack. - If a property inside an Object is found, the Property scope is pushed to the stack. - The Property is popped once we find the value for the property. - The Object and Array scopes are popped when their end is found. - - - - true if annotations are allowed and thus the reader has to - accept more characters in property names than we do normally; otherwise false. - - - true if the reader should recognize ASP.NET JSON DateTime and DateTimeOffset format "\/Date(...)\/". - false if the reader should not recognize such strings and read them as arbitrary string. - - - - End of input from the reader was already reached. - - This is used to avoid calling Read on the text reader multiple times - even though it already reported the end of input. - - - - Buffer of characters from the input. - - - - - Number of characters available in the input buffer. - - This can have value of 0 to characterBuffer.Length. - - - - Index into the characterBuffer which points to the first character - of the token being currently processed (while in the Read method) - or of the next token to be processed (while in the caller code). - - This can have value from 0 to storedCharacterCount. - - - - The last reported node type. - - - - - The value of the last reported node. - - - - - Cached string builder to be used when constructing string values (needed to resolve escape sequences). - - The string builder instance is cached to avoid excessive allocation when many string values with escape sequences - are found in the payload. - - - - Constructor. - - The text reader to read input characters from. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Determines if a given character is a whitespace character. - - The character to test. - true if the is a whitespace; false otherwise. - Note that the behavior of this method is different from Char.IsWhitespace, since that method - returns true for all characters defined as whitespace by the Unicode spec (which is a lot of characters), - this one on the other hand recognizes just the whitespaces as defined by the JSON spec. - - - - Parses a date time primitive value. - - The string value to parse. - The parsed date time value, or null if the string value doesn't represent a date time value. - - - - Parses a "value", that is an array, object or primitive value. - - The node type to report to the user. - - - - Parses a property name and the colon after it. - - The node type to report to the user. - - - - Parses a primitive string value. - - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses a primitive string value. - - Set to true if the first character in the string was a backslash. This is used when parsing DateTime values - since they must start with an escaped slash character (\/). - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses the null primitive value. - - Always returns null if successful. Otherwise throws. - Assumes that the current token position points to the 'n' character. - - - - Parses the true or false primitive values. - - true of false boolean value if successful. Otherwise throws. - Assumes that the current token position points to the 't' or 'f' character. - - - - Parses the number primitive values. - - Int32 or Double value if successful. Otherwise throws. - Assumes that the current token position points to the first character of the number, so either digit, dot or dash. - - - - Parses a name token. - - The value of the name token. - Name tokens are (for backward compat reasons) either - - string value quoted with double quotes. - - string value quoted with single quotes. - - sequence of letters, digits, underscores and dollar signs (without quoted and in any order). - - - - Called when end of input is reached. - - Always returns false, used for easy readability of the callers. - - - - Creates a new scope of type and pushes the stack. - - The scope type to push. - - - - Pops a scope from the stack. - - - - - Pops a property scope if it's present on the stack. - - - - - Skips all whitespace characters in the input. - - true if a non-whitespace character was found in which case the tokenStartIndex is pointing at that character. - false if there are no non-whitespace characters left in the input. - - - - Ensures that a specified number of characters after the token start is available in the buffer. - - The number of character after the token to make available. - true if at least the required number of characters is available; false if end of input was reached. - - - - Consumes the characters starting at the start of the token - and returns them as a string. - - The number of characters after the token start to consume. - The string value of the consumed token. - - - - Reads more characters from the input. - - true if more characters are available; false if end of input was reached. - This may move characters in the characterBuffer, so after this is called - all indeces to the characterBuffer are invalid except for tokenStartIndex. - - - - The value of the last reported node. - - This is non-null only if the last node was a PrimitiveValue or Property. - If the last node is a PrimitiveValue this property returns the value: - - null if the null token was found. - - boolean if the true or false token was found. - - string if a string token was found. - - DateTime if a string token formatted as DateTime was found. - - Int32 if a number which fits into the Int32 was found. - - Double if a number which doesn't fit into Int32 was found. - If the last node is a Property this property returns a string which is the name of the property. - - - - - The type of the last node read. - - - - - Various scope types for Json writer. - - - - - Root scope - the top-level of the JSON content. - - This scope is only once on the stack and that is at the bottom, always. - It's used to track the fact that only one top-level value is allowed. - - - - Array scope - inside an array. - - This scope is pushed when [ is found and is active before the first and between the elements in the array. - Between the elements it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Object scope - inside the object (but not in a property value). - - This scope is pushed when { is found and is active before the first and between the properties in the object. - Between the properties it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Property scope - after the property name and colon and througout the value. - - This scope is pushed when a property name and colon is found. - The scope remains on the stack while the property value is parsed, but once the property value ends, it's immediately removed - so that it doesn't appear on the stack after the value (ever). - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - Get/Set the number of values found under the current scope. - - - - - Gets the scope type for this scope. - - - - The (possibly empty) list of buffered nodes. - This is a circular linked list where this field points to the first item of the list. - - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - - The maximumum number of recursive internalexception objects to allow when reading in-stream errors. - - - - The name of the property that denotes an in-stream error. - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - - Debug flag to ensure we do not re-enter the instance while reading ahead and trying to parse an in-stream error. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Constructor. - - The text reader to read input characters from. - The name of the property that denotes an in-stream error. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Puts the reader into the state where it buffers read nodes. - - - - - Creates a bookmark at the current position of the reader. - - The bookmark object, it should be treated as a black box by the caller. - - - - Moves the reader to the bookmarked position. - - The bookmark object to move to. - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - A method to detect whether the current property value represents an in-stream error. - - The read from the payload. - true if the current value is an in-stream error value; otherwise false. - - - - Reads the next node from the input. If we have still nodes in the buffer, takes the node - from there. Otherwise reads a new node from the underlying reader and buffers it (depending on the current mode). - - true if a new node was found, or false if end of input was reached. - - If the parsingInStreamError field is false, the method will read ahead for every StartObject node read from the input to check whether the JSON object - represents an in-stream error. If so, it throws an . If false, this check will not happen. - This parsingInStremError field is set to true when trying to parse an in-stream error; in normal operation it is false. - - - - - Called whenever we find a new object value in the payload. - The base class implementation reads ahead and tries to parse it as an in-stream error payload. If it finds one it will throw it. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads the next node from the JSON reader and if a start-object node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Try to read an error structure from the stream. Return null if no error structure can be read. - - An instance that was read from the reader or null if none could be read. - true if an instance that was read; otherwise false. - - - - Try to read the message property value of an error value. - - An instance to set the read message property values on. - true if the message property values could be read; otherwise false. - - - - Try to read an inner error property value. - - An instance that was read from the reader or null if none could be read. - The number of times this method has been called recursively. - true if an instance that was read; otherwise false. - - - - Reads the string value of a property. - - The string value read if the method returns true; otherwise null. - true if a string value (or null) was read as property value of the current property; otherwise false. - - - - Skips over a JSON value (primitive, object or array) while parsing in-stream errors. - Note that the SkipValue extension method can not be used in this case as this method has to - access the base instance's NodeType and call ReadInternal. - - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Removes the head node from the buffer. - - - - - The type of the last node read. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - The value of the last reported node. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Private class used to buffer nodes when reading in buffering mode. - - - - The type of the node read. - - - The value of the node. - - - - Constructor. - - The type of the node read. - The value of the node. - - - - The type of the node read. - - - - - The value of the node. - - - - - The previous node in the list of nodes. - - - - - The next node in the list of nodes. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Buffers and re-orders an object value for later consumption by the JsonLight reader. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads a property name from the JSON reader and determines if it's a regular property, an instance annotation or a property annotation. - - The name of the regular property which the reader is positioned on or which a property annotation belongs to. - The name of the instance or property annotation, or null if the reader is on a regular property. - - - - Reads over a value buffering it. - - - - - A data structure to represent the buffered object with information about its properties, - their order and annotations. - - - - The cache for properties. - The key is the property or instance annotation name, - the value are the buffered properties grouped by property name (incl. annotation properties). - - - The set of data property names. - Data properties are the properties that are neither an instance annotation property nor a property annotation. - - - A list of property names with their annotation name. - This is needed to properly maintain the relative order of annotation properties if no data - property for the annotation property exists in the object. - - - - Constructor. - - - - - Adds a new buffered property to the list of buffered properties for this object. - - The name of the data property (null for instance annotations). - The name of the annotation (null for data properties). - The buffered property to add. - - - - Reorders the buffered properties to conform to the required payload order. - - The required order is: odata.metadata comes first, odata.type comes next, then all odata.* property annotations - and finally, we preserve the relative order of custom annotations and data properties. - - - - Sort the data properties and property annotations stored for a particular property name. - - The list of buffered properties to sort. - The sorted enumerable of buffered properties. - The sort order is for all odata.* property annotations to come before the data property - but otherwise preserve the relative order of custom property annotations with regard to the position of the data property. - - - - Checks whether an annotation name is an odata.* annotation. - - The annotation name to check. - true if the annotation name represents an odata.* annotation; otherwise false. - - - - Checks whether an annotation name is a odata.metadata annotation. - - The annotation name to check. - true if the annotation name represents an odata.metadata annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroup annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroup annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroupReference annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroupReference annotation; otherwise false. - - - - Checks whether an annotation name is a odata.type annotation. - - The annotation name to check. - true if the annotation name represents an odata.type annotation; otherwise false. - - - - Checks whether an annotation name is a odata.id annotation. - - The annotation name to check. - true if the annotation name represents an odata.id annotation; otherwise false. - - - - Checks whether an annotation name is a odata.etag annotation. - - The annotation name to check. - true if the annotation name represents an odata.etag annotation; otherwise false. - - - - Sorts the property names for an object. - - The sorted enumerable of property names. - The sort order is to put odata.metadata first, then odata.type, odata.id, and odata.etag, followed by all other odata.* instance annotations. - For the rest, we preserve the relative order of custom annotations with regard to the data property. - Note that we choose the position of the first property annotation in cases where no data property for a set of - property annotations exists. - - - - The node in the linked list of buffered nodes where this object starts. - - - - - The current buffered property being processed. - - - - - A data structure to represent a buffered property. - - - - - Reorders the buffered property to be positioned after the node. - - The node after which to insert this buffered property. - - - - The annotation name for this buffered property (either instance annotation or property annotation). - - - - - The node in the linked list of buffered nodes that represents the property name of the buffered property. - - - - - The node in the linked list of buffered nodes that represents the end of the property value of the buffered property. - - - - - Interface representing a context necessary for reading JSON operations values. - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - Base class for all JSON output contexts. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The text writer created for the output stream. - - - The JSON writer to write to. - This field is also used to determine if the output context has been disposed already. - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the which is to be used to write the content of the message. - - - - - Helper methods used by the OData reader for the Verbose JSON and JSON Light formats. - - - - - Try and parse spatial type from the json payload. - - The JSON reader to read from. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - Expected edm property type. - true to validate null values; otherwise false. - The recursion depth to start with. - The name of the property whose value is being read, if applicable (used for error reporting). - An instance of the spatial type. - - - - Tries to read a null value from the JSON reader. - - The JSON reader to read from. - The input context with all the settings. - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - true if a null value could be read from the JSON reader; otherwise false. - If the method detects a null value it will read it (position the reader after the null value); - otherwise the reader does not move. - - - - Reads the json object value from the jsonReader - - Json reader to read payload from the wire. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - The recursion depth to start with. - an instance of IDictionary containing the spatial value. - - - - Read the json array from the reader. - - JsonReader instance. - The input context with all the settings. - The recursion depth to start with. - a list of json objects. - - - - Reader for the JSON format that supports look-ahead and deduplicates properties. - - - This reader will buffer the entire object record whenever it finds the start of the object record. - It then goes through all its properties and removes duplicates. - It then reports the object record as if there were no duplicates in it. - If there was a duplicate property it will be reported at the position the first occurence of the property was found - but with the value of the last occurence. - This is to implement WCF DS Server compatibility behavior. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Removes duplicate properties in the current object record. - - - This method assumes that we are buffering and that the current buffered node is a StartObject. - It then goes, buffers the entire object record (and all its children) and removes duplicate properties (using the WCF DS Server algorithm). - It will remove duplicate properties on any objects in the subtree of the top-level object as well (behaves recursively). - The method also checks for in-stream errors and throws if it finds one. - - - - - Private class used to store information necessary to deduplicate properties of a single JSON object record. - - - This class is a dictionary - Key is the name of a property in the object record. - Value is a list of property deduplication records in the order we find the properties in the payload. - - - - - Points to the property record which is currently being constructed. - - - - - Private class used to store information necessary to deduplicate a single JSON property. - - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - - - Constructor. - - The property node to create the record for. - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - Observation: Even if the value itself is an object for which we will do the property deduplication and thus we will shuffle its nodes around, - in that case the last value node will point to the end object node which will not change during the deduplication process. - - - - - Annotation which stores the EDM type information of a value. - - - This annotation will be used on ODataEntry, ODataComplexValue and ODataCollectionValue. - - - - The EDM type of the value this annotation is on. - - - The entity set of the value this annotation is on. Only applies to entity values. - - - - Creates a new instance of the type annotation for an entity value. - - The entity set the entity belongs to (required). - The entity type of the entity value if not the base type of the entity set (optional). - - - - Creates a new instance of the type annotation for a complex value. - - The type of the complex value (required). - - - - Creates a new instance of the type annotation for a collection value. - - The type of the collection value (required). - - - - The EDM type of the value. - - - - - The entity set the value belongs to (only applies to entity values). - - - - - An implementation of an OData collection value. - - - - - The to convert into an . - - - - - Creates a new instance of an . - - The to create the collection value for. - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - An implementation of an OData entry or complex value. - - - - Static, un-typed instance for use in ODataLib. - - - - Creates a new Edm null value with the specified type. - - The type of the null value (if available). - - - - Gets the kind of this value. - - - - - Class with utility methods to deal with EDM values over OData OM instances. - - - - - Converts an into the corresponding . - - The non-null to convert. - The declaring type of the property. - An implementation of the value. - - - - Converts an OData value into the corresponding . - - The value to convert. - The of the value or null if no type reference is available. - An implementation of the . - - - - An implementation of an OData entry or complex value. - - - - Properties of an OData entry or complex value. - - - The type of this structured value. - - - - Creates a new Edm structured value from an OData entry. - - The to create the structured value for. - - - - Creates a new Edm structured value from an OData complex value. - - The to create the structured value for. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Interface representing a state of the JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. May be null. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - OData JsonLight deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - The duplicate property names checker used to keep track of the properties and annotations - in the collection wrapper object. - true if we are reading a nested collection inside a paramter payload; otherwise false. - The expected item type reference or null if none is expected. - The validated actual item type reference (if specified in the payload) or the expected item type reference. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: Any: the start of a nested collection value; if this is not a 'StartArray' node this method will fail. - JsonNodeType.Property: the first property of the collection wrapper object after the metadata URI. - JsonNodeType.EndObject: when the collection wrapper object has no properties (other than the metadata URI). - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level instance annotations. - - true if we are reading a nested collection inside a paramter payload; otherwise false. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: All of the collection payload has been consumed. - - - - - OData collection reader for the JsonLight format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the collection reader logic when in state 'Start'. - - The duplicate property names checker for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - OData JsonLight serializer for collections. - - - - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - - Writes the start of a collection. - - The collection start to write. - The item type of the collection or null if no metadata is available. - - - - Writes the end of a collection. - - - - - ODataCollectionWriter for the JsonLight format. - - - - - Base class for OData collection writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData collection writers. - - - - Start writing a collection. - The representing the collection. - - - Asynchronously start writing a collection. - A task instance that represents the asynchronous write operation. - The representing the collection. - - - Starts writing an entry. - The collection item to write. - - - Asynchronously start writing a collection item. - A task instance that represents the asynchronous write operation. - The collection item to write. - - - Finishes writing a collection. - - - Asynchronously finish writing a collection. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - An interface that allows the implementations of the writers to get notified if an in-stream error is to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - The output context to write to. - - - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - Stack of writer scopes to keep track of the current context of the writer. - - - The expected type of the items in the collection or null if no expected item type exists. - - - Checker to detect duplicate property names on complex collection items. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a collection. - - The representing the collection. - - - - Asynchronously start writing a collection. - - The representing the collection. - A task instance that represents the asynchronous write operation. - - - - Write a collection item. - - The collection item to write. - - - - Asynchronously start writing a collection item. - - The collection item to write. - A task instance that represents the asynchronous write operation. - - - - Finish writing a collection. - - - - - Asynchronously finish writing a collection. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - The representing the collection. - - - - Start writing a collection - implementation of the actual functionality. - - The representing the collection. - - - - Verify that calling WriteItem is valid. - - true if the call is to be synchronous; false otherwise. - - - - Write a collection item - implementation of the actual functionality. - - The collection item to write. - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a collection - implementation of the actual functionality. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Notifies the implementer of the interface of relevant state changes in the writer. - - The new writer state. - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - The item associated with the new state. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - The current state of the writer. - - - - Checker to detect duplicate property names on complex collection items. - - - - The collection validator instance. - - - - - The item type of the collection being written or null if no metadata is available. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer has started writing and is writing the wrapper elements for the - collection items (if any). No or all items have been written. - - - - The writer is in a state where collection items can be written. - - - The writer has completed; nothing can be written anymore. - - - Writer has written an error; nothing can be written anymore. - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - - The output context to write to. - - - - - The JsonLight collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - OData JsonLight deserializer for entity reference links. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - An representing the read entity reference link. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read entity reference link. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read entity reference link. - - - - Reads the entity reference link instance annotations. - - The to read the annotations for. - The duplicate property names checker for the entity reference links scope. - true when parsing the instance annotations before the 'value' property; - false when parsing the instance annotations after the 'value' property. - - Pre-Condition: JsonNodeType.Property The first property in the payload (or the first property after the metadata URI in responses) - JsonNodeType.EndObject The end of the entity reference links object - Post-Condition: JsonNodeType.EndObject When the end of the entity reference links object is reached - Any The first node of the value of the 'url' property (if found) - - - - - Reads the odata.nextlink value of an entity reference links nextlink annotation. - - The entity reference links to read the next link value for; the value of the nextlink will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of an entity reference links count annotation. - - The entity reference links to read the count value for; the value of the count will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Read an entity reference link. - - The duplicate property names checker to check for duplicate properties and - duplicate annotations; this is a separate instance per entity reference link. - true if we are reading a singleton entity reference link at the top level; false if we are reading - an entity reference link as part of a collection of entity reference links. - An instance of which was read. - - Pre-Condition: StartObject when the entity reference link is part of a collection - Property the first property in the entity reference link (for a top-level link) - EndObject the end object node of an entity reference link (for a top-level link) - Post-Condition: EndInput for a top-level object - EndArray for the last link in a collection of links - Any for the first node of the next link in a collection of links - - - - - OData JsonLight serializer for entity reference links. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - true if the entity reference link being written is at the top level of the payload. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes the next link property, which consists of the property name and value. - - The non-null value of the next link to write. - - - - Writes the odata.count property, which consists of the property name and value. - - The value of the count property to write. - - - - OData JsonLight deserializer for entries and feeds. - - - - The annotation group deserializer for reading annotation groups. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of the JSON array for the content of the feed. - - - Pre-Condition: JsonNodeType.StartArray: The start of the feed property array; this method will fail if the node is anything else. - Post-Condition: JsonNodeType.StartObject: The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of the array containing the feed content. - - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.Property if the feed is part of an expanded navigation link and there are more properties in the object - JsonNodeType.EndObject if the feed is a top-level feed or the expanded navigation link is the last property of the payload - - - - - Reads the entry type name annotation (odata.type) - - The state of the reader for entry to read. - - Pre-Condition: JsonNodeType.Property The first property after the odata.metadata in the entry object. - JsonNodeType.EndObject End of the entry object. - Post-Condition: JsonNodeType.Property The property after the odata.type (if there was any), or the property on which the method was called. - JsonNodeType.EndObject End of the entry object. - - This method fills the ODataEntry.TypeName property if the type name is found in the payload. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.Property If we've read a deferred link (this is the property after the deferred link) - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null - - - - - Validates entry metadata. - - The entry state to use. - - - - Reads the feed instance annotations for a top-level feed. - - The to read the instance annotations for. - The duplicate property names checker for the top-level scope. - true when parsing the instance annotations before the feed property; - false when parsing the instance annotations after the feed property. - true if we should scan ahead for the annotations and ignore the actual data properties (used with - the reordering reader); otherwise false. - - - - Reads a value of property annotation on the entry level. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property annotation - - - - - Reads an annotation group if one exists, and updates the given entry with the annotations from the annotation group. - - The state for the entry which should get the annotations. - - - - Reads instance annotation in the entry object. - - The name of the instance annotation found. - true if a non-annotation property has already been encountered. - true if the 'odata.type' annotation has already been encountered, or should have been by now. - The duplicate property names checker for the entry being read. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads instance annotation in the entry object. - - The state of the reader for entry to read. - The name of the instance annotation found. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of the instance annotation. - - The duplicate property names checker instance. - The name of the instance annotation. - Returns the value of the instance annotation. - - - - Reads the value of a feed annotation (count or next link). - - The name of the annotation found. - The feed to read the annotation for; if non-null, the annotation value will be assigned to the feed. - The duplicate property names checker instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the annotation - Post-Condition: JsonNodeType.EndObject The end of the feed object - JsonNodeType.Property The next annotation after the current annotation - - - - - Reads entry property which doesn't have value, just annotations. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.EndObject The end of the entry object. - JsonNodeType.Property The property after the one we're to read. - Post-Condition: JsonNodeType.EndObject This method doesn't move the reader. - JsonNodeType.Property - - - - - Reads any next link annotation immediately after the end of a feed. - - The feed being read. - The information about the expanded link. This must be non-null if we're reading an expanded feed, and must be null if we're reading a top-level feed. - The top-level duplicate property names checker, if we're reading a top-level feed. - - - - Reads the information of a deferred link. - - The state of the reader for entry to read. - The name of the navigation property for which to read the deferred link. - The navigation property for which to read the deferred link. This can be null. - Returns the navigation link info for the deferred navigation link read. - - This method doesn't move the reader. - - - - - Reads expanded entry navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads expanded feed navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads entity reference link for a singleton navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference link. - true if the navigation link is expanded. - The navigation link info for the entity reference link read. - - This method doesn't move the reader. - - - - - Reads entity reference links for a collection navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference links. - true if the navigation link is expanded. - The navigation link info for the entity reference links read. - - This method doesn't move the reader. - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Checks if there is a next link annotation immediately after an expanded feed, and reads and stores it if there is one. - We fail here if we encounter any other property annotation for the expanded navigation (since these should come before the property itself). - - The feed that was just read. - The information for the current expanded navigation link being read. - - - - Applies the all the annotations from the given annotation group to an entry. - - The state for the entry which should get the annotations. - The annotation group to apply. - - - - Sets specified media resource on an entry and hooks up metadata builder. - - The entry state to use. - The media resource to set. - - - - Reads entry property (which is neither instance nor property annotation) which has a value. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Read an entry-level data property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - The type name specified for the property in property annotation, or null if no such type name is available. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: JsonNodeType.PrimitiveValue: propertyWithValue is true and the reader is positioned on the first node of the property value. - JsonNodeType.StartObject: - JsonNodeType.StartArray: - JsonNodeType.Property: propertyWithValue is false and the reader is positioned on the node after the property. - JsonNodeType.EndObject: - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link info instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value from the property annotations. - - The state of the reader for entry to read. - The name of the stream property to read the value for. - The newly created stream reference value. - - - - Reads one operation for the entry being read. - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - true if the operation value is inside an array, i.e. multiple targets for the operation; false otherwise. - - Pre-Condition: JsonNodeType.StartObject: first node of the operation value. - Post-Condition: JsonNodeType.Property: the property after the current operation being read when there is one target for the operation. - JsonNodeType.StartObject: the first node of the next operation value when there are multiple targets for the operation. - JsonNodeType.EndArray: the end-array of the operation values when there are multiple target for the operation. - - - - - Sets the metadata builder for the operation. - - The state of the reader for entry to read. - The operation to set the metadata builder on. - - - - Creates a new instance of ODataAction or ODataFunction for the . - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - A new instance of ODataAction or ODataFunction for the . - - - - Read the metadata reference property value for the entry being read. - - The state of the reader for entry to read. - The name of the metadata reference property being read. - - Pre-Condition: JsonNodeType.Property: first node of the metadata reference property's value. Currently - actions and functions are the only supported metadata reference property, - we will throw if this is not a start object or start array node. - Post-Condition: JsonNodeType.Property: the property after the annotation value - JsonNodeType.EndObject: the end-object of the entry - - - - - Validates that we can read metadata reference property. - - - - - Validates that the value of a JSON property can represent expanded navigation link. - - true if the property is entity set reference property; false for a resource reference property, null if unknown. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData JsonLight serializer for entries and feeds. - - - - - OData JsonLight serializer for properties. - - - - - Serializer to use to write property values. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Test to see if is an open property or not. - - The property in question. - The owning type of the property. - The metadata of the property. - true if the property is an open property; false if it is not, or if openness cannot be determined - - - - Writes a name/value pair for a property. - - The property to write out. - The owning type for the or null if no metadata is available. - true when writing a top-level property; false for nested properties. - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property. - - The name of the property to write. - The stream reference value to be written - - - - Writes the type name on the wire. - - Name of the property. - Type name of the property. - true when writing a top-level property; false for nested properties. - - - - Gets the json light value writer. - - - - A map from annotation group name to annotation group for all annotation groups - encountered so far in this payload. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes an annotation group declaration or annotation group reference if specified for the entry. - - The entry to write the annotation group declaration or reference for. - - - - Writes the metadata properties for an entry which can only occur at the start. - - The entry state for which to write the metadata properties. - - - - Writes the metadata properties for an entry which can occur both at the start or at the end. - - The entry state for which to write the metadata properties. - - This method will only write properties which were not written yet. - - - - - Writes the metadata properties for an entry which can only occur at the end. - - The entry state for which to write the metadata properties. - The duplicate names checker for properties of this entry. - - - - Writes the navigation link metadata. - - The navigation link to write the metadata for. - The checker instance for duplicate property names. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - true when writing the entry's actions; false when writing the entry's functions. - - - - Tries to writes the metadata URI property for an entry into the payload if one is available. - - The context object to answer basic questions regarding the type of the entry. - - - - Tries to writes the metadata URI property for a feed into the payload if one is available. - - The context object to answer basic questions regarding the type of the feed. - - - - Writes an association link property annotation. - - The name of the navigation property for which to write the association link. - The association link URL to write. - - - - Gets the metadata reference fragment from the operation metadata uri. - i.e. if the operation metadata uri is {absolute metadata document uri}#{container-qualified-operation-name}, - this method will return #{container-qualified-operation-name}. - - Operation in question. - The metadata reference fragment from the operation metadata uri. - - - - Returns the target uri string from the given operation. - - Operation in question. - Returns the target uri string from the given operation. - - - - Validates a group of operations with the same Metadata Uri. - - Operations to validate. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Gets the base Uri of the metadata document uri, if it has been set. - - - - - OData JsonLight deserializer for errors. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - A task which returns an representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.Property - The first property of the top level object. - JsonNodeType.EndObject - If there are no properties in the top level object. - any - Will throw if anything else. - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads all the properties in a single JSON object scope, calling for each non-annotation property encountered. - - - An action which takes the name of the current property and processes the property value as necessary. - At the start of this action, the reader is positioned at the property value node. - The action should leave the reader positioned on the node after the property value. - - - - This method should only be used for scopes where we allow (and ignore) annotations in a custom namespace, i.e. scopes which directly correspond to a class in the OM. - - Pre-Condition: JsonNodeType.StartObject - The start of the JSON object being processed. - any - Will throw if not StartObject. - Post-Condition: any - The node after the EndObject node for the JSON object being processed. - - - - - Reads a value of property annotation on an error payload. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code, or throw if ther is something unexpected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the error object - JsonNodeType.Property The next property after the property annotation - - - - - Reads the JSON object which is the value of the "odata.error" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "odata.error" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "odata.error" object's EndNode. - - - - - Reads the JSON object which is the value of the "message" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "message" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "message" object's EndNode. - - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: JsonNodeType.StartObject - The start of the "innererror" object. - any - will throw if not StartObject. - Post-Condition: any - The node after the "innererror" object's EndNode. - - - - - Reads a property value which occurs in the "innererror" object scope. - - The number of parent inner errors for this inner error. - The object to update with the data from this property value. - The name of the property whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "innererror" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "odata.error" object scope. - - The object to update with the data from this property value. - The name of the property whose value is to be read. - DuplicatePropertyNamesChecker to use for extracting property annotations - targetting any custom instance annotations on the error. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "odata.error" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "message" object scope. - - The object to update with the data from this property value. - The name of the propety whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "message" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - The JsonLight OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Implementation of the OData input for JsonLight OData format. - - - - - Base class for all input contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this input context. - - - The message reader settings to be used for reading. - - - The protocol version to use when reading the payload. - - - Set to true if this context is reading a response payload. - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The model to use. - - - The type resolver to use. - - - Set to true if the input was disposed. - - - - Constructor. - - The format for this input context. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - The newly created . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly created . - - - - Create a . - - The batch boundary to use. - The newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Check if the object has been disposed. - - If the object has already been disposed. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Method to use the custom URL resolver to resolve a base URI and a payload URI. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Disposes the input context. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message reader settings to be used for reading. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being read. - - - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The type resolver to use. - - - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS client compatibility API behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - true if the default API behavior should be used; otherwise false. - - - - JSON Light specific state stored during payload kind detection. - - - The text reader created for the input stream. - - The ODataJsonLightInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The content type of the message to read. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - Constructor. - The format for this input context. - The reader to use. - The content type of the message to read. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Verifies that CreateEntryReader or CreateFeedReader can be called. - - The entity set we are going to read entities for. - The expected entity type for the entry/entries to be read. - - - - Verifies that CreateCollectionReader can be called. - - The expected type reference for the items in the collection. - - - - Verifies that ReadEntityReferenceLink can be called. - - The navigation property for which to read the entity reference link. - - - - Verifies that ReadProperty can be called. - - - - - Verifies that DetectPayloadKind can be called. - - - - - Verifies that a user model is available for reading. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Returns the which is to be used to read the content of the message. - - - - - JSON Light specific state stored during payload kind detection. - - - - - JsonLight format output context. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The specific media type being written. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Creates a metadata uri builder for the current output context. - - The metadata uri builder to use when writing. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - OData parameter reader for the Json Light format. - - - - The input to read the payload from. - - - The parameter deserializer to read the parameter input with. - - - The duplicate property names checker to use for the parameter payload. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - ODataParameterWriter for the JsonLight format. - - - - - Base class for OData parameter writers that verifies a proper sequence of write calls on the writer. - - - - Base class for OData collection writers. - - - Start writing a parameter payload. - - - Asynchronously start writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Start writing a value parameter. - The name of the parameter to write. - The value of the parameter to write. - - - Asynchronously start writing a value parameter. - A task instance that represents the asynchronous write operation. - The name of the parameter to write. - The value of the parameter to write. - - - Creates an to write the value of a collection parameter. - The newly created . - The name of the collection parameter to write. - - - Asynchronously creates an to write the value of a collection parameter. - The asynchronously created . - The name of the collection parameter to write. - - - Finish writing a parameter payload. - - - Asynchronously finish writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Asynchronously flushes the write buffer to the underlying stream. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - The function import whose parameters will be written. - - - Stack of writer scopes to keep track of the current context of the writer. - - - Parameter names that have already been written, used to detect duplicate writes on a parameter. - - - Checker to detect duplicate property names on complex parameter values. - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a parameter payload. - - - - - Asynchronously start writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - Start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - - - - Asynchronously start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - A task instance that represents the asynchronous write operation. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The newly created . - - - - Asynchronously creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - A running task for the created writer. - - - - Finish writing a parameter payload. - - - - - Asynchronously finish writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Writes a value parameter (either primitive or complex). - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Finish writing an OData payload. - - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - - - - Start writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the parameter with name can be written and returns the - type reference of the parameter. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling WriteValue is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The value of the parameter to write. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling CreateCollectionWriter is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The expected item type of the items in the collection or null if no item type is available. - - - - Gets the type reference of the parameter in question. Returns null if no function import was specified to the writer. - - The name of the parameter in question. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Write a value parameter - implementation of the actual functionality. - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - If an is specified, then this method ensures that all parameters present in the - function import are written to the payload. - - The binding parameter is optional in the payload. Hence this method will not check for missing binding parameter. - - - - Finish writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the current state is not Error or Completed. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Catch any exception thrown by the function passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The return type of . - The function to execute. - Returns the return value from executing . - - - - Enters the Error scope if we are not already in Error state. - - - - - Verifies that the transition from the current state into new state is valid and enter a new writer scope. - - The writer state to transition into. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Start' scope with a 'Completed' scope. - - Note that this method is never called once the writer is in 'Error' state. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - - - - Verify that the transition from the current state into new state is valid. - - The new writer state to transition into. - - - Checker to detect duplicate property names on complex parameter values. - - - - The current state of the writer. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer is in a state where the next parameter can be written. - The writer enters this state after WriteStart() or after the previous parameter is written. - - - - One of the create writer method has been called and the created sub writer is not in Completed state. - - - The writer has completed; nothing can be written anymore. - - - An error had occured while writing the payload; nothing can be written anymore. - - - - The output context to write to. - - - - - The JsonLight property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - OData JsonLight deserializer for detecting the payload kind of a JsonLight payload. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - OData reader for the JsonLight format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - The scope associated with the top level of this payload. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'Start'. - - The duplicate property names checker to use for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry or - reporting projected navigation links missing in the payload - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of the JSON array for the content of the feed and sets up the reader state correctly. - - The feed to read the contents for. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: The first node of the feed property value; this method will throw if the node is not - JsonNodeType.StartArray - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the end of the current feed. - - - - - Reads the start of an expanded entry (null or non-null). - - The navigation link that is being expanded. - - Pre-Condition: JsonNodeType.StartObject The start of the entry object - JsonNodeType.PrimitiveValue (null) The null entry value - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next, or the null value of the current null entry - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the start of an entry and sets up the reader state correctly - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: JsonNodeType.StartObject If the entry is in a feed - the start of the entry object - JsonNodeType.Property If the entry is a top-level entry and has at least one property - JsonNodeType.EndObject If the entry is a top-level entry and has no properties - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Reads the next item in a navigation link content in a request payload. - - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link info for the navigation link to start. - - - - Replaces the current scope with a new scope with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonLightFeedScope - - - - - Returns current scope cast to JsonLightNavigationLinkScope - - - - - A reader top-level scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type of the top-level entry or entries in the top-level feed. - In all cases the specified type must be an entity type. - - - - The duplicate property names checker for the top level scope represented by the current state. - - - - - A reader entry scope; keeping track of the current reader state and an item associated with this state. - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - Constructor creating a new reader scope. - - The reader state of the new scope that is being created. - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The duplicate property names checker for this entry scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - In all cases the specified type must be an entity type. - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - true if we have started processing missing projected navigation links, false otherwise. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - A reader feed scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - In all cases the specified type must be an entity type. - - - - The selected properties that should be expanded during template evaluation. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The navigation link info attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - The navigation link info for the navigation link to report. - This is only used on a StartNavigationLink scope in responses. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Determines if the specified is an OData annotation property name. - - The property name to test. - true if the property name is an OData annotation property name, false otherwise. - - - - Determines if the specified property name is a name of an annotation property. - - The name of the property. - true if is a name of an annotation property, false otherwise. - - This method returns true both for normal annotation as well as property annotations. - - - - - Validates that the annotation string value is valid. - - The value of the annotation. - The name of the (instance or property) annotation (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JsonLight. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - Object which is in sync with the property type. - - - - OData JsonLight deserializer for service documents. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - A task which returns an representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - The duplicate property names checker to use for the top-level scope. - An representing the read service document. - - Pre-Condition: JsonNodeType.Property The property right after the metadata URI property. - JsonNodeType.EndObject The EndObject of the service document. - Post-Condition: Any The node after the EndObject of the service document. - - - - - Reads a resource collection within a service document. - - The to use for parsing annotations within the resource collection object. - A representing the read resource collection. - - Pre-Condition: JsonNodeType.StartObject: The beginning of the JSON object representing the resource collection. - other: Will throw with an appropriate message on any other node type encountered. - Post-Condition: JsonNodeType.StartObject: The beginning of the next resource collection in the array. - JsonNodeType.EndArray: The end of the array. - other: Any other node type occuring after the end object of the current resource collection. (Would be invalid). - - - - - OData JsonLight serializer for service documents. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JsonLight format. - - The default workspace to write in the service document. - - - - Implementation of the ODataWriter for the JsonLight format. - - - - - Base class for OData writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData writers. - - - - Starts the writing of a feed. - The feed or collection to write. - - - Asynchronously start writing a feed. - A task instance that represents the asynchronous write operation. - The feed or collection to write. - - - Starts the writing of an entry. - The entry or item to write. - - - Asynchronously start writing an entry. - A task instance that represents the asynchronous write operation. - The entry or item to write. - - - Starts the writing of a navigation link. - The navigation link to write. - - - Asynchronously start writing a navigation link. - A task instance that represents the asynchronous write operation. - The navigation link to writer. - - - Finishes the writing of a feed, an entry, or a navigation link. - - - Asynchronously finish writing a feed, entry, or navigation link. - A task instance that represents the asynchronous write operation. - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - A task instance that represents the asynchronous write operation. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - True if the writer was created for writing a feed; false when it was created for writing an entry. - - - Stack of writer scopes to keep track of the current context of the writer. - - - - The to use for entries in this feed. - Only applies when writing a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a feed. - - Feed/collection to write. - - - - Asynchronously start writing a feed. - - Feed/collection to write. - A task instance that represents the asynchronous write operation. - - - - Start writing an entry. - - Entry/item to write. - - - - Asynchronously start writing an entry. - - Entry/item to write. - A task instance that represents the asynchronous write operation. - - - - Start writing a navigation link. - - Navigation link to write. - - - - Asynchronously start writing a navigation link. - - Navigation link to writer. - A task instance that represents the asynchronous write operation. - - - - Finish writing a feed/entry/navigation link. - - - - - Asynchronously finish writing a feed/entry/navigation link. - - A task instance that represents the asynchronous write operation. - - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - A task instance that represents the asynchronous write operation. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Gets the projected properties annotation for the specified scope. - - The scope to get the projected properties annotation for. - The projected properties annotation for . - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing an OData payload. - - - - - Finish writing a feed. - - The feed to write. - - - - Write a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link into a navigation link content. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Gets the serialization info for the given entry. - - The entry to get the serialization info for. - The serialization info for the given entry. - - - - Creates a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created navigation link scope. - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Gets the type of the entry and validates it against the model. - - The entry to get the type for. - The validated entity type. - - - - Validates that the ODataFeed.DeltaLink is null for the given expanded feed. - - The expanded feed in question. - - - - Verifies that calling WriteStart feed is valid. - - true if the call is to be synchronous; false otherwise. - Feed/collection to write. - - - - Start writing a feed - implementation of the actual functionality. - - The feed to write. - - - - Verifies that calling WriteStart entry is valid. - - true if the call is to be synchronous; false otherwise. - Entry/item to write. - - - - Start writing an entry - implementation of the actual functionality. - - Entry/item to write. - - - - Verifies that calling WriteStart navigation link is valid. - - true if the call is to be synchronous; false otherwise. - Navigation link to write. - - - - Start writing a navigation link - implementation of the actual functionality. - - Navigation link to write. - - - - Verify that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a feed/entry/navigation link. - - - - - Marks the navigation currently being written as processed in the parent entity's metadata builder. - This is needed so that at the end of writing the entry we can query for all the unwritten navigation properties - defined on the entity type and write out their metadata in fullmetadata mode. - - The navigation link being written. - - - - Verifies that calling WriteEntityReferenceLink is valid. - - The entity reference link to write. - true if the call is to be synchronous; false otherwise. - - - - Write an entity reference link. - - The entity reference link to write. - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Enters the 'ExceptionThrown' state and then throws an ODataException with the specified error message. - - The error message for the exception. - The OData item to associate with the 'ExceptionThrown' state. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Checks whether we are currently writing a navigation link and switches to NavigationLinkWithContent state if we do. - - - What kind of payload kind is being written as the content of a navigation link. - Only Feed, Entry or EntityRefernceLink are allowed. - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Promotes the current navigation link scope to a navigation link scope with content. - - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Create a new writer scope. - - The writer state of the scope to create. - The item attached to the scope to create. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - The current scope for the writer. - - - - - The current state of the writer. - - - - - true if the writer should not write any input specified and should just skip it. - - - - - A flag indicating whether the writer is at the top level. - - - - - Returns the immediate parent link which is being expanded, or null if no such link exists - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the number of entries seen so far on the current feed scope. - - Can only be accessed on a feed scope. - - - - Checker to detect duplicate property names. - - - - - The entity type of the current entry. - - - - - Returns the parent navigation link scope of an entry in an expanded link (if it exists). - The entry can either be the content of the expanded link directly or nested inside a feed. - - The parent navigation scope of an entry in an expanded link (if it exists). - - - - Validator to validate consistency of collection items (or null if no such validator applies to the current scope). - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - The writer is currently writing an entry. - - - The writer is currently writing a feed. - - - The writer is currently writing a navigation link (possibly an expanded link but we don't know yet). - - This state is used when a navigation link was started but we didn't see any children for it yet. - - - - The writer is currently writing a navigation link with content. - - This state is used when a navigation link with either an entity reference link or expanded feed/entry was written. - - - - The writer has completed; nothing can be written anymore. - - - The writer is in error state; nothing can be written anymore. - - - - Lightweight wrapper for the stack of scopes which exposes a few helper properties for getting parent scopes. - - - - - Use a list to store the scopes instead of a true stack so that parent/grandparent lookups will be fast. - - - - - Initializes a new instance of the class. - - - - - Pushes the specified scope onto the stack. - - The scope. - - - - Pops the current scope off the stack. - - The popped scope. - - - - Peeks at the current scope on the top of the stack. - - The current scope at the top of the stack. - - - - Gets the count of items in the stack. - - - - - Gets the scope below the current scope on top of the stack. - - - - - Gets the scope below the parent of the current scope on top of the stack. - - - - - Gets the scope below the current scope on top of the stack or null if there is only one item on the stack or the stack is empty. - - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - Set to true if the content of the scope should not be written. - This is used when writing navigation links which were not projected on the owning entry. - - - The selected properties for the current scope. - - - The entity set we are going to write entities for. - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of this scope should not be written. - The selected properties of this scope. - - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - The entity set we are going to write entities for. - - - The selected properties for the current scope. - - - - Set to true if the content of this scope should not be written. - - - - - A scope for an feed. - - - - The serialization info for the current feed. - - - The number of entries in this feed seen so far. - - - Maintains the write status for each annotation using its key. - - - The type context to answer basic questions regarding the type info of the entry. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The number of entries in this feed seen so far. - - - - - Tracks the write status of the annotations. - - - - - A scope for an entry. - - - - Checker to detect duplicate property names. - - - The serialization info for the current entry. - - - The value from ODataEntry.TypeName. - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - The type context to answer basic questions regarding the type info of the entry. - - - Maintains the write status for each annotation using its key. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entity type which was derived from the model, i.e. the expected entity type, which may be either the same as entity type or its base type. - For example, if we are writing a feed of Customers and the current entry is of DerivedCustomer, this.EntityTypeFromMetadata would be Customer and this.EntityType would be DerivedCustomer. - - - - - The serialization info for the current entry. - - - - - Checker to detect duplicate property names. - - - - - Tracks the write status of the annotations. - - - - - A scope for a navigation link. - - - - - Constructor to create a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this navigation link scope and sets a new writer state. - - The to set. - The cloned navigation link scope with the specified writer state. - - - - The output context to write to. - - - - - The JsonLight entry and feed serializer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Creates a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created JSON Light navigation link scope. - - - - Writes the odata.count annotation for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.nextLink annotation for a feed if it has not been written yet (and the next link is specified on the feed). - - The feed to write the next link for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.deltaLink annotation for a feed if it has not been written yet (and the delta link is specified on the feed). - - The feed to write the delta link for. - - - - Validates that the ODataFeed.InstanceAnnotations collection is empty for the given expanded feed. - - The expanded feed in question. - - - - Returns the current JsonLightEntryScope. - - - - - Returns the current JsonLightFeedScope. - - - - - A scope for a JSON lite feed. - - - - true if the odata.count was already written, false otherwise. - - - true if the odata.nextLink was already written, false otherwise. - - - true if the odata.deltaLink was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the odata.count annotation was already written, false otherwise. - - - - - true if the odata.nextLink annotation was already written, false otherwise. - - - - - true if the odata.deltaLink annotation was already written, false otherwise. - - - - - A scope for an entry in JSON Light writer. - - - - Bit field of the JSON Light metadata properties written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The metadta property which was written. - - - - Determines if the was already written for this entry scope. - - The metadata property to test for. - true if the was already written for this entry scope; false otherwise. - - - - The entry being written. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Enumeration of JSON Light metadata property flags, used to keep track of which properties were already written. - - - - The odata.editLink property. - - - The odata.readLink property. - - - The odata.mediaEditLink property. - - - The odata.mediaReadLink property. - - - The odata.mediaContentType property. - - - The odata.mediaETag property. - - - - A scope for a JSON Light navigation link. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - Constructor to create a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this JSON Light navigation link scope and sets a new writer state. - - The writer state to set. - The cloned navigation link scope with the specified writer state. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - - Helper methods used by the OData writer for the JsonLight format. - - - - - Writes the odata.type instance annotation with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Writes the odata.type propert annotation for the specified property with the specified type name. - - The JSON writer to write to. - The name of the property for which to write the odata.type annotation. - The type name to write. - - - - Writes the 'value' property name. - - The JSON writer to write to. - - - - Write a JSON property name which represents a property annotation. - - The JSON writer to write to. - The name of the property to annotate. - The name of the annotation to write. - - - - Enumeration describing the various serialization formats for dates in JSON - - - - - Represents a DateTime value in the OData format of \/Date(ticksrepresentingdatetime)\/ - - - - - Represents a DateTime value in the ISO 8601 format of YYYY-MM-DDThh:mm:ss.sTZD eg 1997-07-16T19:20:30.45+01:00 - - - - - Class with the responsibility of resolving media types (MIME types) into formats and payload kinds. - - - - application/atom+xml media type - - - application/xml media type - - - text/xml media type - - - application/json media type - - - application/json;odata=verbose media type - - - - An array that maps stores the supported media types for all . - - - The set of supported media types is ordered (desc) by their precedence/priority with respect to (1) format and (2) media type. - As a result the default media type for a given payloadKind is the first entry in the MediaTypeWithFormat array. - - - - Cache for MediaTypeResolvers for each version. - - - - The version the media type resolver is used with. - - - - - Array of supported media types and formats for each payload kind. - The index into the array matches the order of the ODataPayloadKind enum. - - - - - The set of payload kinds which are supported for the JSON formats. - - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Gets the supported media types and formats for the given payload kind. - - The payload kind to get media types for. - An array of media type / format pairs, sorted by priority. - - - - Checks for an illegal media type that cannot be caught during content negotiation/resolution - since it would match an unsupported media type. - - The parsed media type to check. - true if the media type is illegal (and we should fail); otherwise false. - - - - Clones the default media types. - - The cloned media type table. - - - - Inserts the specified media type before the first occurrence of . - - The media type list to insert into. - The media type to insert. - The format of the media type before which should be inserted. - - - - Configure the media type tables so that Json Light is the first JSON format in the table. - - - This is only used in V3 and beyond. - - - - - Adds the given media type/format for all the payload kinds which support JSON. - - The media type/format pair to add. - - - - Inserts the given media type/format for all the payload kinds which support JSON before the first media type with the given format. - - The media type/format pair to add. - The format of the media type before which should be inserted. - - - - Additional media types per payload kind for the WCF DS client on pre-v3 payloads. - Anything that normally accepts application/atom+xml should also accept application/xml, and vice versa. - - - - - Accesses the default media type resolver. - - - - - A helper class to associate a with a media type. - - - - The media type. - - - - The for this media type. - - - - - A dictionary implementation with special key-matching semantics; it accepts case-insensitive matches - but prefers a case-sensitive one (if present). - - As an implementation choice we did not use a second dictionary to maintain a cache of case-insensitive - keys since we don't want to pay the price of an extra dictionary for cases where the looked up keys - match case sensitively (as per spec, should be the default case). - - - The backing dictionary using case-sensitive key comparison. - - - - Constructor. - - - - - Adds an element with the provided key and value to the dictionary. - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - - - Determines whether the dictionary contains an element with the specified key using case-sensitive comparison. - - The key to locate in the dictionary. - true if the dictionary contains an element with the ; otherwise, false. - This method will only try to match the key using case-sensitive comparison. - - - - Removes the entry with the specified from the headers. - - The key of the item to remove. - true if the item with the specified was removed; otherwise false. - - - - Gets the value associated with the specified key. - - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - true if the dictionary contains an element with the specified key; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Finds in the case sensitive dictionary ignoring the case for comparison. - - The key to find. - The key from the case sensitive dictionary that matched the or null if no match was found. - This method throws if multiple case insensitive matches for the specified exist. - - - - Gets or sets the element with the specified key. - - The key of the element to get or set. - The element with the specified key. - - - - Factory class for the various wrapper streams around the actual message stream. - - - - - Creates a non-disposing stream. - - The inner to wrap. - A stream wrapping the that ignores calls to Dispose. - - - - Creates a stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that - enforces the maximum number of bytes to be read from the stream. - - - - Creates a non-disposing stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that ignores calls to Dispose and - enforces the maximum number of bytes to be read from the stream. - - - - Checks whether the provided stream already ignores calls to Dispose. - - The to check. - true if the ignores calls to Dispose; otherwise false. - - - - Stream wrapper that supports counting the total number of bytes read from the stream and ensures - that they don't exceed a specified maximum (used for security purposes) and ignoring calls - to Dispose if the underlying stream should not be disposed. - - - - The maximum number of bytes to be read from the stream before reporting an error. - - - true to not dispose the inner stream when Dispose is called; otherwise false. - - - Stream that is being wrapped. - - - The total number of bytes read from the stream so far. - - - - Constructs an instance of the byte counting stream wrapper class. - - Stream that is being wrapped. - true if calls to Dispose should be ignored; otherwise false. - The maximum number of bytes to be read from the stream before reporting an error. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Dispose this wrapping stream and the underlying stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Increases the number of total bytes read from the stream. - - The number of bytes read from the stream during the last read operation. - Since we don't own the underlying stream we also have to prepare for streams returning < 0 bytes read. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - true if the wrapping stream ignores calls to Dispose; otherwise false. - - - - OData Verbose JSON deserializer for detecting the payload kind of a JSON payload. - - - - - OData Verbose JSON deserializer for properties and value types. - - - - - Base class for all OData Verbose JSON deserializers. - - - - The JSON input context to use for reading. - - - - Constructor. - - The JSON input context to read from. - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - true if the payload URI needs to be translated into an absolute URI; otherwise false. - An absolute URI to report. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns the which is to be used to read the content of the message. - - - - - The Verbose Json input context to use for reading. - - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JSON input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Reads an entry, complex or collection content in buffering mode until it finds the type name in the __metadata object - or hits the end of the object. If called for a primitive value, returns 'null' (since primitive types cannot have - type names in JSON) - - The type name as read from the __metadata object; null if none was found. - - This method does not move the reader. - Pre-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - Post-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - - - - - Reads a primitive value, complex value or collection. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the type name from the value of a __metadata property. All other properties in the __metadata property value are ignored. - - The type name found, or null if none was found. - - This method can be used in buffering and non-buffering mode. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: JsonNodeType.Property - the next property after the __metadata property value. - JsonNodeType.EndObject - if the __metadata property was the last property in the object. - - - - - Reads a primitive value. - - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: none - Fails if the current node is not a JsonNodeType.PrimitiveValue - Post-Condition: almost anything - the node after the primitive value. - - Made internal only for testability. - - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the collection value (after the EndObject) - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - if null the method should create a new one if necessary. - The value of the complex value. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject or JsonNodeType.PrimitiveValue (with null value) - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - Pre-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - - - - - Determines if the top-level property payload should be read as usual, or without the property wrapper. - - The expected type reference for the property value to read. - true if the property payload should be read without the property wrapper, false if it should be read as usual with the property wrapper. - This method is to support backward compat behavior for WCF DS Server, which can read open property values without property wrapper. - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - The set of detected payload kinds. - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Detects the payload kind(s). - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects whether a JSON payload where the current node is a start array node represents - a feed, a set of entity reference links, a collection or a combination of them. - - true if the array is a top-level array; if it is a property value false. - - This method does not move the reader. - Pre-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - Post-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - - - - - Read the value of the __metadata property and compute the payload kind based on the type name. - - This method checks whether it can determine the type kind from the type name; if we - find a primitive or collection type we set the result to empty since such payloads are not supported. - Otherwise we'll treat the payload as an entry since top-level complex values are not supported either. - Pre-Condition: Any The first node of the __metadata property value - Post-Condition: Property or EndObject This method reads the entire value of the __metadata object and positions - the reader on the next property or on the EndObject node if this is the last property. - - - - - Process the array value of an 'EntitySets' property to determine whether it should be treated as service document payload. - - - This method does not move the Json reader. - Pre-Condition: StartArray The start of the array value of the 'EntitySets' property - Post-Condition: StartArray The start of the array value of the 'EntitySets' property - - - - - Adds the set of specified payload kinds to the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to add. - - - - Removes the set of specified payload kinds from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to remove. - - - - Adds or removes the set of specified payload kinds to/from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The function that implements the 'Add' or 'Remove' action. - The payload kinds to add/remove. - - - Quotas to use for limiting resource consumption when reading or writing OData messages. - - - The maximum number of top level query operations and changesets allowed in a single batch. - - - The maximum number of operations allowed in a single changeset. - - - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - The maximum number of bytes that should be read from the message. - - - The maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy. - - - Gets or sets the maximum number of top level query operations and changesets allowed in a single batch. - The maximum number of top level query operations and changesets allowed in a single batch. - - - Gets or sets the maximum number of operations allowed in a single changeset. - The maximum number of operations allowed in a single changeset. - - - Gets or sets the maximum depth of nesting allowed when reading or writing recursive payloads. - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - Gets or sets the maximum number of bytes that should be read from the message. - The maximum number of bytes that should be read from the message. - - - Gets or sets the maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - The maximum number of entity mapping attributes to be found for an entity type. - - - - Represents the set of information available for payload kind detection. - - This class is used to represent the input to run payload kind detection using - . See the documentation of that method for more - information. - - - The parsed content type as . - - - The encoding specified in the charset parameter of contentType or the default encoding from MediaType. - - - The being used for reading the message. - - - The for the payload. - - - The possible payload kinds based on content type negotiation. - - - Format specific state created during payload kind detection for that format. - - This instance will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - Constructor. - - The parsed content type as . - The encoding from the content type or the default encoding from . - The being used for reading the message. - The for the payload. - The possible payload kinds based on content type negotiation. - - - - The encoding derived from the content type or the default encoding. - - The encoding derived from the content type or the default encoding. - - - - Sets a format specific state created during payload kind detection. - - A format specific state, the value is opaque to the message reader, it only stores the reference. - - The state will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - The being used for reading the message. - - - - - The for the payload. - - - - - The possible payload kinds based on content type negotiation. - - - - - The being used for reading the message. - - - - - The format specific payload kind detection state. - - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Represents the result of running payload kind detection for a specified payload kind and format. - This class is used to represent the result of running payload kind detection using - . See the documentation of that method for more - information. - - - The detected payload kind. - - - The format for the detected payload kind. - - - - Constructor. - - The detected payload kind. - The format for the detected payload kind. - - - Gets the detected payload kind. - The detected payload kind. - - - Gets the format for the detected payload kind. - The format for the detected payload kind. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - - The base type for all entries in the feed. - - - - - Constructor. - - - - - Validates the type of an entry in a top-level feed. - - The type of the entry. - - - - OData ATOM serializer for ATOM metadata in a service document - - - - - Constructor. - - The output context to write to. - - - - Writes the ATOM metadata for a single workspace element. - - The workspace element to get the metadata for and write it. - - - - Writes the ATOM metadata for a single (resource) collection element. - - The collection element to get the metadata for and write it. - - - - OData ATOM serializer for service documents. - - - - - The serializer for service document ATOM metadata. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in ATOM/XML format. - - The default workspace to write in the service document. - - - - Extension methods for the JSON writer. - - - - - Writes the json object value to the . - - The to write to. - Writes the given json object value to the underlying json writer. - Called when the top-level object is started to possibly inject first property into the object. - The OData protocol version to be used for writing payloads. - - - - Writes a primitive value. - - The to write to. - The value to write. - The OData protocol version to be used for writing payloads. - - - - Writes the json array value. - - The to write to. - Writes the json array value to the underlying json writer. - The OData protocol version to be used for writing payloads. - - - - Writes the json value (primitive, IDictionary or IEnumerable) to the underlying json writer. - - The to write to. - value to write. - The OData protocol version to be used for writing payloads. - - - - OData Verbose JSON serializer for collections. - - - - - OData Verbose JSON serializer for properties and value types. - - - - - Base class for all OData Verbose JSON serializers. - - - - - The Verbose JSON output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the start of the entire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Writes the end of the enitire JSON payload. - - - - - Writes the end of the enitire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - When set to true the "d" response wrapper won't be written even in responses - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Converts the specified URI into an absolute URI. - - The uri to process. - An absolute URI which is either the specified if it was absolute, - or it's a combination of the BaseUri and the relative . - The return value is the string representation of the URI. - This method will fail if the specified is relative and there's no base URI available. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The collection validator instance. - The expected type reference of the primitive value. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes the metadata content for a media resource or a named stream - - The stream reference value for which to write the metadata - - - - Writes the etag property with the given string value. - - The name of the ETag, e.g. media_etag or etag - The value of the ETag - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Writes a name/value pair for a property. - - The property to write out. - The of the entry or complex type containing the property (or null if not metadata is available). - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property value. - - The stream reference value to be written - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of a collection. - - - - - Writes the end of a collection. - - - - - OData Verbose JSON serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - true if the 'results' wrapper should be included into the payload; otherwise false. - - - - OData Verbose JSON serializer for entries and feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the __metadata property and its content for an entry - - The entry for which to write the metadata. - Set of projected properties, or null if all properties should be written. - The entity type of the entry to write. - The duplicate property names checker to use. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - The name of the property used for the operations. - true when writing the entry's actions; false when writing the entry's functions. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the metadata content for an association link - - The association link to write. - The checker instance for duplicate property names. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Verbose JSON format output context. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - OData Verbose JSON serializer for service documents. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JSON format. - - The default workspace to write in the service document. - - - - Stream wrapper for the message stream to ignore the Stream.Dispose method so that readers/writers on top of - it can be disposed without affecting it. - - - - - Stream that is being wrapped. - - - - - Constructs an instance of the stream wrapper class. - - Stream that is being wrapped. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - - RAW format output context. - - - - The message output stream. - - - The XmlWriter to write to. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - RAW format output context. Used by RAW values and batch. - - - - The encoding to use for the output. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The output stream to write to (both sync and async cases). - - - Listener to notify when writing in-stream errors. - - - RawValueWriter used to write actual values to the stream. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Closes the text writer. - - - - - Verifies the output context was not yet disposed, fails otherwise. - - - - - Flushes all buffered data to the underlying stream synchronously. - - - - - Flushes all buffered data to the underlying stream asynchronously. - - Task which represents the pending operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes a single value as the message body. - - The value to write. - Once the method returns all the data should be written, the only other call after this will be Dispose on the output context. - - - - Creates a batch writer. - - The boundary string for the batch structure itself. - The newly created batch writer. - - - - The output stream to write the payload to. - - - - - The text writer to use to write text into the payload. - - - InitializeRawValueWriter must be called before this is used. - - Also, within this class we should be using RawValueWriter for everything. Ideally we wouldn't leak the TextWriter out, but - the Batch writer needs it at the moment. - - - - Represents the behavior of readers when reading property with null value. - - - - The default behavior - this means validate the null value against the declared type - and then report the null value. - - - - - This means to not report the value and not validate it against the model. - - - This setting can be used to correctly work with clients that send null values - for uninitialized properties in requests instead of omitting them altogether. - - - - - This means to report the value, but not validate it against the model. - - - - - The verbose JSON OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The $batch OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The metadata OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - Additional information available for the payload kind detection. - An enumerable of zero or one payload kinds depending on whether the metadata payload kind was detected or not. - - - Enumerates the behavior of readers when reading undeclared property. - - - - The default behavior - the reader will fail if it finds a property which is not declared by the model - and the type is not open. - - - - - The reader will skip reading the property if it's not declared by the model and the current type is not open. - - - This flag can only be used when reading responses. - All information about the undeclared property is going to be ignored, so for example ATOM metadata related to that property - will not be reported either. - - - - - The reader will read and report link properties which are not declared by the model. - - - This flag can only be used when reading responses. - If a link property in the payload is defined in the model it will be read as usual. If it is not declared - it will still be read and reported, but it won't be validated against the model. - - Link properties are: - - Navigation links - - Association links - - Stream properties - - - - This type provides constants used in URI query expressions. - - - "$it" keyword for expressions. - - - "add" keyword for expressions. - - - "and" keyword for expressions. - - - "asc" keyword for expressions. - - - "desc" keyword for expressions. - - - "div" keyword for expressions. - - - "mod" keyword for expressions. - - - "mul" keyword for expressions. - - - "not" keyword for expressions. - - - "or" keyword for expressions. - - - "sub" keyword for expressions. - - - '-' constant to represent an negate unary operator. - - - '=' constant to represent an assignment in name=value. - - - ',' constant to represent an value list separator. - - - '/' constant to represent the forward slash used in a query. - - - '(' constant to represent an open parenthesis. - - - ')' constant to represent an closed parenthesis. - - - '?' constant to represent the start of the query part. - - - '&' constant to represent the concatenation of query parts. - - - '\'' constant to represent a single quote as prefix/suffix for literals. - - - "''" constant to represent a single-quote escape character in a string literal. - - - " " constant to represent a space character in a Uri query part. - - - The 'allpages' value for the '$inlinecount' query option - - - The 'none' value for the '$inlinecount' query option - - - "eq" keyword for expressions. - - - "false" keyword for expressions. - - - "gt" keyword for expressions. - - - "ge" keyword for expressions. - - - "lt" keyword for expressions. - - - "le" keyword for expressions. - - - "ne" keyword for expressions. - - - "null" keyword for expressions. - - - "true" keyword for expressions. - - - "cast" function - - - "isof function - - - Spatial length function - - - Spatial intersects function. - - - "INF" literal used to represent infinity. - - - "NaN" literal used to represent not-a-number values. - - - 'datetime' constant prefixed to datetime literals. - - - 'datetimeoffset' constant prefixed to datetimeoffset literals. - - - 'time' constant prefixed to time literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'geography' constant prefixed to geography literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'binary' constant prefixed to binary literals. - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - 'M': Suffix for decimal type's string representation - - - 'datetime' constant prefixed to datetime literals. - - - the filter query option - - - the orderby query option - - - the top query option - - - the skip query option - - - the inlinecount query option - - - the select query option - - - the expand query option - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch writer (via IODataBatchOperationListener) - to properly flush buffered data and move the batch writer's state machine forward. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to an IODataBatchOperationListener instance. - - - - Listener interface to be notified of operation changes. - - - - Constructor. - - Listener interface to be notified of operation changes. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Disposes the object. - - True if called from Dispose; false if called form the finalizer. - - - - Validates that the stream was not already disposed. - - - - The batch stream underlying this operation stream. - - - - Constructor. - - The underlying stream to write the message to. - Listener interface to be notified of operation changes. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The callback to be called when the asynchronous operation completes. - A custom state object to be associated with the asynchronous operation. - An for the asynchronous writing of the buffer to the stream. - - - - Finish the asynchronous write operation. - - The returned from BaginWrite. - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Flush the stream to the underlying batch stream. - - - - - Dispose the operation stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Determines if the stream can read - this one can't - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. Setting of the position is not supported since the stream doesn't support seeking. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch reader (via IODataBatchOperationListener) - to prevent clients to use the batch reader while a content stream is still in use. - - - - - The batch stream underlying this operation stream. - - - - - Constructor. - - The underlying stream to read from. - Listener interface to be notified of operation changes. - - - - Flush the stream; not supported for a read stream. - - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Create a batch operation read stream over the specified batch stream with a given content length. - - The batch stream underlying the operation stream to create. - The batch operation listener. - The content length of the operation stream. - A to read the content of a batch operation from. - - - - Create a batch operation read stream over the specified batch stream using the batch delimiter to detect the end of the stream. - - The batch stream underlying the operation stream to create. - The batch operation listener. - A to read the content of a batch operation from. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can't - - - - - Returns the length of the stream. Not supported by this stream. - - - - - Gets or sets the position in the stream. Not supported by this stream. - - - - - A batch operation stream with the content length specified. - - - - The length of the operation content. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - The total length of the stream. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - A batch operation read stream with no content length so we have to check for the boundary. - - - - true if the stream has been exhausted and no further reads can happen; otherwise false. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Helper methods used by the ODataBatchWriter and ODataBatchReader (and related classes). - - - - - Creates the URI for a batch request operation. - - The uri to process. - The base Uri to use. - An optional custom URL resolver to resolve URLs for writing them into the payload. - An URI to be used in the request line of a batch request operation. It uses the - first and falls back to the defaullt URI building schema if the no URL resolver is specified or the URL resolver - returns null. In the default scheme, the method either returns the specified if it was absolute, - or it's combination with the if it was relative. - - This method will fail if no custom resolution is implemented and the specified is - relative and there's no base URI available. - - - - - Creates a batch operation stream from the specified batch stream. - - The batch stream to create the operation read stream for. - The headers of the current part; based on the header we create different, optimized stream implementations. - The operation listener to be passed to the newly created read stream. - A new instance. - - - - Creates a batch operation write stream over the specified output stream. - - The output stream to create the operation write stream over. - The operation listener to be passed to the newly created write stream. - A new instance. - - - - Grows the specified byte array by the specified amount. - - The byte array to grow. - The number of bytes currently in the buffer. - The number of bytes to be added to the array. - - - - An enumeration representing the result of a scan operation through - the batch reader stream's buffer. - - - - No match with the requested boundary was found (not even a partial one). - - - A partial match with the requested boundary was found. - - - A complete match with the requested boundary was found. - - This is only returned if we could also check whether the boundary is an end - boundary or not; otherwise a partial match is returned. - - - - - This class represents the internal buffer of the . - - - - The size of the look-ahead buffer. - - - Length of the longest supported line terminator character sequence; makes the code easier to read. - - - The length of two '-' characters to make the code easier to read. - - - The byte array storing the actual bytes of the buffer. - - - The current position inside the buffer. - This is the position of the byte that is the next to be read. - - - The number of (not yet consumed) bytes currently in the buffer. - - - - Skip to the specified position in the buffer. - Adjust the current position and the number of bytes in the buffer. - - The position to skip to. - - - - Refills the buffer from the specified stream. - - The stream to refill the buffer from. - The index in the current buffer starting from which the - currently buffered data should be preserved. - true if the underlying stream got exhausted while refilling. - This method will first shift any data that is to be preserved to the beginning - of the buffer and then refill the rest of the buffer from the . - - - - Scans the current buffer for a line end. - - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - - - - Scans the current buffer for the specified boundary. - - The boundary strings to search for; this enumerable is sorted from the inner-most boundary - to the top-most boundary. The boundary strings don't include the leading line terminator or the leading dashes. - Stop if no boundary (or boundary start) is found after this number of bytes. - The start position of the boundary or -1 if not found. - Note that the start position is the first byte of the leading line terminator. - The end position of the boundary or -1 if not found. - Note that the end position is the last byte of the trailing line terminator. - true if the boundary is an end boundary (followed by two dashes); otherwise false. - true if the detected boundary is the parent boundary; otherwise false. - An enumeration value indicating whether the boundary was completely, partially or not found in the buffer. - - - - Scans the current buffer for a boundary start, which is either a line feed or two dashes (since we don't require the leading line feed). - - The index at which to start scanning for the boundary start. - Stop if no boundary start was found after this number of non end-of-line bytes. - The start position of the line end or -1 if not found. - The start position of the boundary delimiter or -1 if not found. - An enumeration value indicating whether the boundary start was completely, partially or not found in the buffer. - - - - Scans the current buffer for a line end. - - The index at which to start scanning for the line terminator. - Stop if no line end (or beginning of line end) was found after this number of non end-of-line bytes. - true if only whitespace data bytes are expected before the end-of-line characters; otherwise false. - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - true if the end of the buffer was reached while scanning for the line end; otherwise false. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - This method only returns if we found the start - of a line terminator at the last character in the buffer. - - - - Check whether the bytes in the buffer at the specified start index match the expected boundary string. - - The start of the line feed preceding the boundary (if present). - The start position of the boundary delimiter. - The boundary string to check for. - If a match is detected, the start of the boundary delimiter, - i.e., either the start of the leading line feed or of the leading dashes. - If a match is detected, the position of the boundary end; otherwise -1. - true if the detected boundary is an end boundary; otherwise false. - An indicating whether a match, a partial match or no match was found. - - - - Try to match the specified boundary string starting at the specified position. - - The boundary string to search for; this does not include - the leading line terminator or the leading dashes. - The index at which to start matching the boundary. - The number of characters to match. - true if the boundary string is used in an end boundary; otherwise false. - true if it was established that the buffer starting at - matches the ; otherwise false. - This method also returns false if the boundary string was completly matched against the - buffer but it could not be determined whether it is used in an end boundary or not. - - - - Shifts all bytes in the buffer after a specified start index to the beginning of the buffer. - - The start index where to start shifting. - - - - The byte array that acts as the actual storage of the buffered data. - - - - - The current position inside the buffer. - - This is the position of the byte that is the next to be read. - - - - The number of (not yet consumed) bytes currently in the buffer. - - - - - Indexer into the byte buffer. - - The position in the buffer to get. - The byte at position in the buffer. - - - - Class used by the to read the various pieces of a batch payload. - - - This stream separates a batch payload into multiple parts by scanning ahead and matching - a boundary string against the current payload. - - - - - The default length for the line buffer byte array used to read lines; expecting lines to normally be less than 2000 bytes. - - - - - The byte array used for reading lines from the stream. We cache the byte array on the stream instance - rather than allocating a new one for each ReadLine call. - - - - The input context to read the content from. - - - The boundary string for the batch structure itself. - - - The buffer used by the batch reader stream to scan for boundary strings. - - - The encoding to use to read from the batch stream. - - - The boundary string for a changeset (or null if not in a changeset part). - - - The encoding for a given changeset. - - - - true if the underlying stream was exhausted during a read operation; we won't try to read from the - underlying stream again once it was exhausted. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - - - - Resets the changeset boundary at the end of the changeset. - - - - - Skips all the data in the stream until a boundary is found. - - true if the boundary that was found is an end boundary; otherwise false. - true if the detected boundary is a parent boundary (i.e., the expected boundary is missing). - true if a boundary was found; otherwise false. - - - - Reads from the batch stream while ensuring that we stop reading at each boundary. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads from the batch stream without checking for a boundary delimiter since we - know the length of the stream. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads the headers of a part. - - true if the start of a changeset part was detected; otherwise false. - - - - Reads the headers of a batch part or an operation. - - A dictionary of header names to header values; never null. - - - - Read and return the next line from the batch stream, skipping all empty lines. - - This method will throw if end-of-input was reached while looking for the next line. - The text of the first non-empty line (not including any terminating newline characters). - - - - Parses a header line and validates that it has the correct format. - - The header line to validate. - The name of the header. - The value of the header. - - - - Reads a line (all bytes until a line feed) from the underlying stream. - - Returns the string that was read from the underyling stream (not including a terminating line feed), or null if the end of input was reached. - - - - Ensure that a batch encoding exists; if not, detect it from the first couple of bytes of the stream. - - - - Detect the encoding based data from the stream. - The encoding discovered from the bytes in the buffer or the fallback encoding. - - We don't have to skip a potential preamble of the encoding since the batch reader - will skip over everything (incl. the potential preamble) until it finds the first - boundary. - - - - - Reads and validates the headers of a batch part. - - true if the headers indicate a changset part; otherwise false. - A dictionary of header names to header values; never null. - - - - Validates the headers that have been read for a part. - - The set of headers to validate. - true if the headers indicate a changset part; otherwise false. - The set of validated headers. - - An operation part is required to have content type 'application/http' and content transfer - encoding 'binary'. A changeset is required to have content type 'multipart/mixed'. - Note that we allow additional headers for batch parts; clients of the library can choose - to be more strict. - - - - - Parse the content type header value to retrieve the boundary and encoding of a changeset. - - The content type to parse. - - - - The boundary string for the batch structure itself. - - - - - The boundary string for the current changeset (only set when reading a changeset - or an operation in a changeset). - - When not reading a changeset (or operation in a changeset) this field is null. - - - - The current boundary string to be used for reading with delimiter. - - This is the changeset boundary when reading a changeset or the batch boundary otherwise. - - - - The current encoding to use when reading from the stream. - - This is the changeset encoding when reading a changeset or the batch encoding otherwise. - - - Enumeration with all the states the batch reader can be in. - - - The state the batch reader is in after having been created. - - - The batch reader detected an operation. - In this state the start boundary, the request/response line - and the operation headers have already been read. - - - The batch reader detected the start of a change set. - In this state the start boundary and the change set - headers have already been read. - - - The batch reader completed reading a change set. - - - The batch reader completed reading the batch payload. - The batch reader cannot be used in this state anymore. - - - The batch reader encountered an error reading the batch payload. - The batch reader cannot be used in this state anymore. - - - - ODataParameterWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Class to represent a null value with or without type information for URI paremeters. - - This class is only intended for use as a sentinal for null values in URI parameters. It cannot be used elsewhere. - - - - String representation of the type of this null value. 'null' indicates that no type information was provided. - - - - - Handles serialization and deserialization for types derived from Geometry. - This file is currently compiled by ODataLib and Astoria server, because it contains - functionality related to both serialization and deserialization, but deserialization - is not yet integrated into Astoria. Once that integration happens this functionality - should be fully contained within ODataLib only. - - - - - Interface used for serialization and deserialization of primitive types. - - - - - Create an instance of a primitive type from the value in an Xml reader. - - The Xml reader to use to read the value. - An instance of the primitive type. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Create a Geometry instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geometry instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - OData ATOM deserializer for ATOM metadata on feeds. - - - - - Base class for all OData ATOM Metadata deserializers. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a person (author/contributor) element. - - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - The person metadata object with the read values. - - Pre-Condition: XmlNodeType.Element (atom:contributor/atom:author) - the atom:author/atom:contributor element to read. - Post-Condition: Any - the node after the atom:author/atom:contributor element which was read. - - - - - Reads the element value as DateTimeOffset value. - - The DateTimeOffset value of the element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is not used in WCF DS client mode. - - - - - Reads the element value as of a date construct as string value. - - The string value of the date construct element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is only used in WCF DS client mode. - - - - - Read the ATOM text construct element. - - The element read represented as ATOM text construct. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the current XML element and returns it as a string. - - The string value read. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - - - - Reads an "atom:title" element and returns an . - - An with the title information. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Determines if we need to read a child element (either for EPM or for ATOM metadata). - - The parent EPM target path segment. - The name of the element/segment to read. - The EPM target path subsegment which describes the element, or null if there's none. - true if the subelement should be read, false otherwise. - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - The empty namespace used for attributes in no namespace. - - - - Constructor. - - The ATOM input context to read from. - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - Reads an element in the ATOM namespace in feed or source content. - - The atom feed metadata object to store metadata details in. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - If the the property InSourceElement is true (i.e., we're reading within source content), then the value - of the atom:id element will be stored in the feed metadata as SourceId, otherwise it will be ignored. - - - - - Reads the atom:link element and returns a new ATOM link metadata object. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads an atom:author element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads an atom:category element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads an atom:contributor element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Reads an atom:generator element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:generator) - the atom:generator element to read. - Post-Condition: Any - the node after the atom:generator element which was read. - - - - - Reads an atom:icon element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:id element in a source element. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:link element into the Links collection of feed metadata (i.e., links that are not special to the OData protocol). - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the atom:link element which was read. - - - - - Reads an atom:logo element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:logo) - the atom:logo element to read. - Post-Condition: Any - the node after the atom:logo element which was read. - - - - - Reads an atom:rights element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:rights) - the atom:rights element to read. - Post-Condition: Any - the node after the atom:rights element which was read. - - - - - Reads an atom:subtitle element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:subtitle) - the atom:subtitle element to read. - Post-Condition: Any - the node after the atom:subtitle element which was read. - - - - - Reads an atom:title element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:title) - the atom:title element to read. - Post-Condition: Any - the node after the atom:title element which was read. - - - - - Reads an atom:updated element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:updated) - the atom:updated element to read. - Post-Condition: Any - the node after the atom:updated element which was read. - - - - - Reads an atom:* element whose value is a URI. - - The which was read. - - - - Fails with the appropriate exception message if the given value is not null. - - The metadata value to ensure is null. - - - - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - - OData parameter reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The property and value deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Checks to see if we are at the end of the parameters payload. - - Returns true if we are at the ending '}' of the parameters payload. - - - - Reads the end '}' of the parameters payload. - - - - - Reads the next parameter from the parameters payload. - - - - - OData ATOM deserializer for ATOM metadata in a service document - - - - Schema namespace for Atom. - - - The name of the 'category' element in a service document. - - - The name of the 'href' attribute in an 'app:categories' element. - - - The name of the 'fixed' attribute in an 'app:categories' element. - - - The name of the 'scheme' attribute in an 'app:categories' or 'atom:category' element. - - - The name of the 'term' attribute in an 'atom:category' element. - - - The name of the 'label' attribute in an 'atom:category' element. - - - The empty namespace - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an atom:title element and adds the new information to . - - The non-null workspace metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Reads an atom:title element and adds the new information to and (if ATOM metadata reading is on) . - - The collection metadata object to augment, or null if metadata reading is not on. - The non-null collection info object being populated. - - Pre-Condition: XmlNodeType.Element - The start of the title element. - Post-Condition: Any - The next node after the title element. - - - - - Reads an app:categories element as well as each atom:category element contained within it, and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:categories element. - Post-Condition: Any - The next node after the app:categories element. - - - - - Reads an "app:accept" element and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:accept element. - Post-Condition: Any - The next node after the app:accept element. - - - - - Reads an "atom:category" element and returns the data as an object. - - An object with its properties filled in according to what was found in the XML. - - Pre-Condition: XmlNodeType.Element - The start of the atom:category element. - Post-Condition: Any - The next node after the atom:category element. - - - - Enumeration of all possible states of an . - - - The reader is at the start; nothing has been read yet. - In this state the Name and Value properties of the returns null. - - - The reader read a primitive or a complex parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns the value read (e.g. a primitive value, an ODataComplexValue or null). - - - The reader is reading a collection parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns null. The CreateCollectionReader() method on the - must be called to get the reader to read the collection value. - - - The reader has thrown an exception; nothing can be read from the reader anymore. - In this state the Name and Value properties of the return null. - - - The reader has completed; nothing can be read anymore. - In this state the Name and Value properties of the return null. - - - - Implementation of the batch-specific URL resolver that resolves cross-referencing URLs properly. - - - - Supports custom resolution of URLs found in the payload. - - This interface can be implemented on messages (see and - ). When a message implementing this interface is - passed to an or , the - message writer/reader will use this interface for custom URL resolution. - On writers this means that whenever a URI is written into the payload the resolution - method on this interface is called to resolve a base URI and a payload URI to the - actual URI to be written to the payload. If the method returns null from a resolution - call the default resolution will be used. - On readers this means that a base URI (either from the payload or the reader settings) and - the URI read from the payload are passed to the method. The result is what is being reported - on the OData OM instances. Again if the resolution method returns null the default resolution - kicks in. - - - - Implements a custom URL resolution scheme. This method returns null if no custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - An instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - The URL resolver from the batch message. - - - A hashset with all content IDs used so far in the batch; this is used for cross-referencing URL resolution. - - - - Constructor. - - The URL resolver from the batch message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Add the content ID to the hashset of valid content IDs. - - The (non-null) content ID to add. - - - - Checks whether a given (non-null) content ID is already in the content ID cache. - - The content ID to check for. - true if the content ID cache already contains a content ID with value ; otherwise false. - - - - Resets the cache of content IDs. This is called at the end of each changeset - since content IDs are only unique within a changeset. - - - - - The URL resolver from the batch message. - - - - Exception type representing exception when Content-Type of a message is not supported. - - - Creates a new instance of the class. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class. - Plain text error message for this exception. - - - Creates a new instance of the class. - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - - Utility functions for writing values for use in a URL. - - - - - Converts a primitive to a string for use in a Url. - - Value to convert. - OData version to be compliant with. - A string representation of to be added to a Url. - - - - Converts the given string to an ODataComplexValue or ODataCollectionValue and returns it. - Tries in both JSON light and Verbose JSON. - - Does not handle primitive values. - Value to be deserialized. - ODataVersion to be compliant with. - Model to use for verification. - Expected type reference from deserialization. If null, verification will be skipped. - An ODataComplexValue or ODataCollectionValue that results from the deserialization of . - - - - Verifies that the given is or can be coerced to , and coerces it if necessary. - - An EDM primitive value to verify. - Model to verify against. - Expected type reference. - The version to use for reading. - Coerced version of the . - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Converts an to a string for use in a Url. - - Instance to convert. - A string representation of to be added to a Url. - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. Collection requires >= V3. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Write a literal value in JSON Verbose format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Write a literal value in JSON Light format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Coerces the given to the appropriate CLR type based on . - - Primitive value to coerce. - Edm primitive type to check against. - as the corresponding CLR type indicated by , or null if unable to coerce. - - - - URI Utility methods. - - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - A CLR object that the represents. - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - Optional model to perform verification against. - Optional IEdmTypeReference to perform verification against. - Callers must provide a containing this type if it is specified. - A CLR object that the represents. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - No type verification is used. - - Value to be converted. - Version to be compliant with. - A string representation of for use in a Url. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - A string representation of for use in a Url. - - - - Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - ODataFormat to use for structured values such as complex types and collections. - A string representation of for use in a Url. - - - - The RAW OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Semantic node that represents a single-value open property access, which is not bound to an EDM model. - - - - - The value containing this property. - - - - - The name of the open property to be bound outside the EDM model. - - - - - Constructs a . - - The value containing this property. - The name of the open property to be bound outside the EDM model. - Throws if the input source or openPropertyName is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the name of the open property to be bound outside the EDM model. - - - - - Gets the type of the single value this node represents. - - - The value of this property will always be null for open properties. - - - - - Gets the kind of this query node. - - - - Enumeration used to identify text content of syndication item. - - - - Plaintext - - - - - HTML - - - - - XHTML - - - - Enumeration type that is used to identify the syndication item element or attribute in the Open Data Protocol (OData) feed to which an entity property is mapped. - - Potentially the following atom specific elements could also be considered: - * Content? - * Id - * Source? - - - - - User specified a non-syndication property - - - - - author/email - - - - - author/name - - - - - author/uri - - - - - contributor/email - - - - - contributor/name - - - - - contributor/uri - - - - - updated - - - - - published - - - - - rights - - - - - summary - - - - - title - - - - Attribute that specifies a custom mapping between properties of an entity type and elements of an entry in an Open Data Protocol (OData) feed returned by the data service.  - - - - Source property path. - - - - - Target Xml element/attribute. - - - - - If mapping to syndication element, the name of syndication item. - - - - - If mapping to syndication content, the content type of syndication item. - - - - - If mapping to non-syndication element/attribute, the namespace prefix for the - target element/attribute. - - - - - If mapping to non-syndication element/attribute, the namespace for the - target element/attribute. - - - - - The content can optionally be kept in the original location along with the - newly mapping location by setting this option to true, false by default. - - - - Creates a new instance of the . - The name of the property, as string, of the entity type that is mapped to the specified property of the feed item. - A value that represents the element in the feed to which to map the property. This value must be set to None if the is not null. - A value that identifies the format of the content to display in the feed. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Creates an instance of the to map a property to a custom feed element. - The name of the property of the entity type, as string, that is mapped to the specified property in the feed. - The name of the target, as string, in the resulting feed to which the property is mapped. - This parameter, together with , specifies the namespace in which the element exists. - Specifies the namespace URI of the element, as string, specified by the property. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Gets the name of the property of the syndication item that will be mapped to the specified element of the feed. - String value that contains property name. - - - Gets the name of the custom target in the feed to which the property is mapped. - String value with target XML element or attribute. - - - Gets the syndication item in the entry targeted by the mapping. - A value that is the target of the mapping. - - - Gets a string value that, together with , specifies the namespace in which the element exists. - String value that contains the target namespace prefix. - - - Gets a string value that specifies the namespace URI of the element specified by the property. - String that contains the namespace URI. - - - Gets the type of content of the property mapped by . - A string that identifies the type of content in the feed element. - - - Gets a Boolean value that indicates whether a property value should be repeated both in the content section of the feed and in the mapped location. - A value that is true when the property is mapped into both locations in the feed; otherwise, false. - - - - Enumeration for the different kinds of reader and writer behaviors - supported in the OData library. - - - - The default behavior of the OData library. - - - The behavior of the WCF Data Services server. - - - The behavior of the WCF Data Services client. - - - - Class that captures all the information needed to make readers behave - differently when used inside of WCF Data Services or outside. - - - - The default reader behavior for the OData library. - - - The API behavior kind of this behavior. - - - Custom type resolver used by the WCF DS Client. - - This function is used instead of calling the IEdmModel.FindType. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - - true if the server uses a V1 provider; otherwise false. - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - Determines whether operations bound to the given type must be container qualified. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - true if the server uses a V1 provider; otherwise false. - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the reader behavior for the WCF Data Services client. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - The created reader behavior. - - - - Create the reader behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created reader behavior. - - - - Resets the format behavior of the current reader behavior to the default format behavior. - - - - - Get the default reader behavior for the OData library. - - The default reader behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one - of the duplicate property names refers to a named stream property, - an association link or a collection. - - - - - true if the server is using V1 provider; false otherwise. - - - - - Custom type resolver used by the WCF DS Client. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - Determines whether operations bound to the given entity type must be container qualified. - - - - Class that captures all the information needed to make writer behave - differently when used inside of WCF Data Services or outside. - - - - The default writer behavior for the OData library. - - - The API behavior kind of this behavior. - - - true if the server uses a V1 provider; otherwise false. - - - true to allow null values for non-nullable primitive types; otherwise false. - - - - If set to true, allows the writers to write duplicate properties of entries and complex values - (i.e., properties that have the same name). Defaults to 'false'. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - true if the server uses a V1 provider; otherwise false. - - true to allow null values for non-nullable primitive types; otherwise false. - - - If set to true, allows the writers to write duplicate properties of entries - and complex values (i.e., properties that have the same name). - - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the writer behavior for the WCF Data Services client. - - Custom data namespace. - Custom type scheme to use when resolving types. - The created writer behavior. - - - - Create the writer behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created writer behavior. - - - - Resets the format behavior of the current writer behavior to the default format behavior. - - - - - Get the default writer behavior. - - The default writer behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - EPM mappings are defined on entity types but not on complex types. For entity types, the EPM mapping for each of its primitive properties stay the same. - For complex types however, the EPM mappings changes depending on the entity type each complex property is declared on. - For example, if the "Customer" entity type has the properties Address1 and Address2 both of the complex type "Address". If properties in Address1 - are not mapped while properties in Address2 are mapped with KeepInContent=false, when we serialze the Address type in atom format, we keep properties of - Address1 in content while skipping properties of Address2 from the content. Thus the same complex type can get serialized differently for each instance - of the type. - - Astoria has a bug for V1 providers in which it creates and caches EPM information on the complex type itself the first time it serializes - an instance of the complex type. So subsequent writes will serialize the complex type the same way regardless of its EPM mapping. - This creates the following 2 problems: - 1. If a primitive property of a complex type is not part of a EPM mapping or has KeepInContent=true the first time it's serialized, the property will always - be serialized in the content for the remaining lifetime of the service, even for instances where KeepInContent=false. - 2. If a primitive property of a complex type has KeepInContent=false the first time it's serialized, the property will always be missing in the content - for the remaining lifetime of the service, even for instances that do not belong to a EPM mapping or have KeepInContent=true. - Unfortunately we cannot fix issue 1 because it can break existing third party clients. We have to fix issue 2 because it is a data corruption issue. - - The solution is to remember on the first write whether a primitive property of a complex type is serialized in content or not. On subsequent writes - to the same property, we will always keep it in content if the initial write is in content. Otherwise we calculate whether it should be in content - based on ShouldWritePropertyInContent. - - NOTE: this assumes that the complex type in question does not change throughout the lifetime of the service. - - See bug 174185. - - - - - If set to true, the writers will allow writing null values even if the metadata specifies a non-nullable primitive type. - - - - - If set to true, allows the writers to write duplicate properties of entries and complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one of the duplicate property names refers to - a named stream property, an association link or a collection. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - - OData ATOM deserializer for error payloads. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the content of an error element. - - The Xml reader to read the error payload from. - The maximumum number of recursive internalexception elements to allow. - The representing the error. - - This method is used to read top-level errors as well as in-stream errors (from inside the buffering Xml reader). - Pre-Condition: XmlNodeType.Element - The m:error start element. - Post-Condition: XmlNodeType.EndElement - The m:error end-element. - XmlNodeType.Element - The empty m:error start element. - - - - - Reads a top-level error. - - An representing the read error. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the m:error end element or the empty m:error element node. - - - - - Verifies that the specified element was not yet found in a top-level error element. - - - The bit field which stores which elements of an error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Verifies that the specified element was not yet found in an inner error element. - - - The bit field which stores which elements of an inner error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Reads the content of an inner error element. - - The (buffering) Xml reader to read the error payload from. - The number of times this function has been called recursively. - The maximumum number of recursive internalexception elements to allow. - The representing the inner error. - - Pre-Condition: XmlNodeType.Element - the m:innererror or m:internalexception element - Post-Condition: Any - the node after the m:innererror/m:internalexception end element or the node after the empty m:innererror/m:internalexception element node. - - - - - An enumeration of the various kinds of elements in an m:error element. - - - - No duplicates. - - - The 'code' element of the error element. - - - The 'message' element of the error element. - - - The 'innererror' element of the error element. - - - - An enumeration of the various kinds of elements in an internal error element. - - - - No duplicates. - - - The 'message' element of the inner error element. - - - The 'type' element of the inner error element. - - - The 'stacktrace' element of the inner error element. - - - The 'internalexception' element of the inner error element. - - - - Reader for the EPM custom-only. Read the EPM properties from cached values. - - - - - Base class for EPM readers. - - - - The input context currently in use. - - - The reader entry state to use for the entry to which the EPM is applied. - - - - Constructor. - - The reader entry state to use for the entry to which the EPM is applied. - The input context currently in use. - - - - Sets the value read from EPM to a property on an entry. - - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets the value read from EPM to a property on an entry. - - The target list, which is a list of properties (on entry or complex value). - The type of the value on which to set the property (can be entity or complex). - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets a property value for a segment of the EPM source path. - - The EPM info according to which we are mapping the value to properties. - The index in the epmInfo.PropertyValuePath for the source segment for which to set the value. - The structural type of the parent segment. - The list of properties of the parent segment, this method may add to this list. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Creates and adds a new property to the list of properties for an EPM. - - The list of properties to add the property to. - The name of the property to add. - The value of the property to add. - true if the new property should be checked for duplicates against the entry properties; false otherwise. - This should be true if the is the list of properties for the entry, and false in all other cases. - - - The reader entry state to use for the entry to which the EPM is applied. - - - The version of OData protocol to use. - - - The reader settings to use. - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the custom EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Cache for values read during deserialization of custom EPM. - - - - - List of custom EPM values read. - This is a map from EPM info to the value read from the payload. - - - The list order is the order in which the values were read from the payload. - They will be applied to the entry properties in that order (this needs to be maintained). - The key is the EPM info for the mapping according to which the value was read. - The value is the string value read from the content (not converted in any way). - null value means true null value should be used. - If the value was missing from the payload there will be no record of it in this list. - - - - - Constructor. - - - - - Determines if the cache already contains a value for the specified EPM mapping. - - The EPM info for the EPM mapping to look for. - true if the cache already contains a value for this mapping, false otherwise. - - - - Adds a value to cache. - - The EPM info for the mapping according to which the value was read. - The value to cache. - - The method will only store the first value for any given EPM info, since in custom EPM - only the first occurrence of the element/attribute is used, the others are ignored. - - - - - The list of stored custom EPM values (key is the EPM info, value is the string value read for it). - The list is in the order in which the values were read from the payload. - - - - - OData ATOM deserializer for EPM. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an extension element in non-ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element in non-ATOM namespace to read. - Post-Condition: Any - the node after the extension element which was read. - - - - - Reads an element for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the parent element to which the element belongs. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element which was read. - - The method works on any element, it checks if the element should be used for EPM or not. - - - - - Reads an attribute for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the element to which the attribute belongs. - - Pre-Condition: XmlNodeType.Attribute - the attribute to read. - Post-Condition: XmlNodeType.Attribute - the same attribute, the method doesn't move the reader. - - The method works on any attribute, it checks if the attribute should be used for EPM or not. - - - - - OData ATOM deserializer for entity reference links. - - - - OData element name for the 'links' element - - - OData element name for the 'count' element - - - OData element name for the 'next' element - - - OData element name for the 'uri' element - - - - Constructor. - - The ATOM input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a top-level entity reference link. - - An instance representing the read entity reference link. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Verifies that the specified element was not yet found in the entity reference links element. - - The bit field which stores which elements of an inner error were found so far. - The bit mask for the element to check. - The namespace name of the element ot check (used for error reporting). - The name of the element to check (used for error reporting). - - - - Reads all top-level entity reference links and the (optional) inline count and next link elements. - - An instance representing the read entity reference links. - - Pre-Condition: XmlNodeType.Element - The 'd:links' element. - Post-Condtion: any - The node after the 'd:links' end element (or empty 'd:links' element). - - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: XmlNodeType.Element - the 'd:uri' element to read. - Post-Condition: Any - the node after the 'd:uri' element which was read. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No duplicates. - - - The 'm:count' element of the 'links' element. - - - The 'd:next' element of the 'links' element. - - - - Class with utility methods for dealing with OData metadata that are shared with the OData.Query project. - - - - - Checks whether a type reference refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type reference; otherwise false. - - - - Checks whether a type refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type; otherwise false. - - - - Checks whether a type reference refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type reference; otherwise false. - - - - Checks whether a type refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type; otherwise false. - - - - Checks whether a type reference refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type reference; otherwise false. - - - - Checks whether a type refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type; otherwise false. - - - - Checks whether a type reference is considered a value type in OData. - - The to check. - true if the is considered a value type; otherwise false. - - The notion of value type in the OData space is driven by the IDSMP requirements where - Clr types denote the primitive types. - - - - - Checks whether a type reference refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Checks whether a type refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Determines if a is convertibale according to OData rules to the - . - - The type which is to be converted. - The type to which we want to convert. - true if the source type is convertible to the target type; otherwise false. - - - Represents an annotation to hold information for a particular property. - - - Gets the behavior for readers when reading property with null value. - The behavior for readers when reading property with null value. - - - Represents an OData action. - - - - Represents a function or an action. - - - - the metadata builder for this operation. - - - A human-readable description of the or the . - - - true if a title was provided by the user or seen on the wire, false otherwise. - - - A human-readable description of the or the , computed by the metadata builder. - - - The URI to invoke the or the . - - - true if a target was provided by the user or seen on the wire, false otherwise. - - - The URI to invoke the or the , computed by the metadata builder. - - - The cached full name of the operation to use. - - - The binding parameter type name for this operation. - - - - Sets the metadata builder for this operation. - - The metadata builder used to compute values from model annotations. - The metadata document Uri. - - - - Gets the metadata builder for this operation. - - The metadata builder used to compute values. - - - Gets or sets the URI to get metadata for the . - The URI to get metadata for the . - - - Gets or sets a human-readable description of the . - A human-readable description of the . - - - Gets or sets the URI to invoke the . - The URI to invoke the . - - - Represents an OData function. - - - - Implementation of the OData input for metadata documents. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Disposes the input context. - - - - - This methods reads the metadata from the input and returns an - representing the read metadata information. - - An instance representing the read metadata. - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - A method that determines whether a given model is a user model or one of the built-in core models - that can only used for primitive type resolution. - - The model to check. - true if the is a user model; otherwise false. - - - - Checks whether the provided is a supported primitive type. - - The CLR type to check. - true if the is a supported primitive type; otherwise false. - - - - Returns all the entity types in a model. - - The to get the entity types for (must not be null). - An enumerable of all instances in the . - - - - Creates a collection value type for the specified . - - The for the item type. - The created . - - - - Creates a collection type for the specified . - - The for the item type. - The created . - - - - Checks if the type reference is assignable from the type reference. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - Note that this method only checks the type definition for assignability; it does not consider nullability - or any other facets of the type reference. - - - - Checks if the type is assignable from the type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the structured type and the structured type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Checks if the primitive type and the primitive type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Returns the base type of a primitive type. - - The to get the base type for. - The base type of the or null if no base type exists. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Resolves the name of a primitive type. - - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Get the of the item type of the . - - The collection type to get the item type for. - The item type of the . - - - - Returns the IEdmCollectionType implementation with the given IEdmType as element type. - - IEdmType instance which is the element type. - An instance using the as Collection item type. - - - - Returns the IEdmCollectionType implementation with the given IEdmTypeReference as element type. - - IEdmTypeReference instance which is the element type. - An instance using the as Collection item type. - - - - Checks whether a type reference is a Geography type. - - The to check. - true if the is a Geography type; otherwise false. - - - - Checks whether a type reference is a Geometry type. - - The to check. - true if the is a Geometry type; otherwise false. - - - - Returns CollectionValue item type name or null if the provided type name is not a collectionValue. - - CollectionValue type name read from payload. - CollectionValue element type name or null if not a collectionValue. - - - - Gets the name of a function import group. - - The function import group in question. - The name of the function import group. - - - - Gets the full name of a function import group. - - The function import group in question. - The full name of the function import group. - - - - Name of the function import with parameters. - - Function import in question. - Name of the function import with parameters. - - - - Full name of the function import with parameters. - - Function import in question. - Full name of the function import with parameters. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the full name of the definition referred to by the type reference. - - The type reference to get the full name for. - The full name of this . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Gets the full name of the type. - - The type to get the full name for. - The full name of the . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Clones the specified type reference. - - The type reference to clone. - true to make the cloned type reference nullable; false to make it non-nullable. - The cloned instance. - - - - Gets the multiplicity of a navigation property. - - Reference to the calling object. - The multiplicity of the navigation property in question. - This has been added to EdmLib, but EdmLib won't be released for a while. - If you need to use this functionality before we release EdmLib, then use this method. Change your calls - to use the real method whenever we release EdmLib again. - - - - Checks if the is assignable to . - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the primitive type is a geography or geometry type. - - The type to check. - true, if the is a geography or geometry type. - - - - Checks if the primitive type is assignable to primitive type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - The CLR type for the primitive type reference. - - - - Turns a into the corresponding non-nullable . - - The type to convert. - A non-nullable type reference for the . - - - - Determines whether the provided is an open type. - - The type to check. - true if the is an open type; otherwise false. - - - - Determines whether the provided is a stream. - - The type to check. - true if the represents a stream; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Returns the primitive type reference for the given Clr type. - - The Clr type to resolve. - The primitive type reference for the given Clr type. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. - The group with the specified name or null if no such function import exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The group with the specified name or null if no such function import exists. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) - The resolved function import or function import group. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The resolved function import or function import group. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - Whether the returned type should be a nullable variant or not. - The CLR type for the primitive type reference. - - - - Returns Collection item type name or null if the provided type name is not a collection. - - Collection type name. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't berecognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - - - - - Gets the function import parameter types in string. - - Function import in question. - Comma separated function import parameter types enclosed in parantheses. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - Constant values used related to EPM (entity property mapping). - - - - Attribute name for the FC_KeepInContent attribute used for EPM. - - - Attribute name for the FC_ContentKind attribute used for EPM. - - - Attribute name for the FC_SourcePath attribute used for EPM. - - - Attribute name for the FC_TargetPath attribute used for EPM. - - - Attribute name for the target namespace prefix (FC_NsPrefix) attribute used for custom EPM. - - - Attribute name for the target namespace Uri (FC_NsUri) attribute used for custom EPM. - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - String value for the syndication content kind 'text'. - - - String value for the syndication content kind 'HTML'. - - - String value for the syndication content kind 'XHTML'. - - - - Builder class for the name of EPM attributes as serialized in CSDL. - This class keeps track of the number of mappings for a given type/property and appends post fixes to the names as needed. - - - - Separator character for building attribute names. - - - Current index. - The first time the name builder is used the names have no suffix. - The second time (after calling MoveNext once) - the name builder will use suffix '_1', then suffix '_2' and so on. - - - - Suffix for current attribute names. - - - Constructor - - - Move to next attribute name generation. - - - Current keep-in-content attribute name. - - - Current source path attribute name. - - - Current target path attribute name. - - - Current content kind attribute name. - - - Current namespace prefix attribute name. - - - Current namespace Uri attribute name. - - - - Annotation stored on an entity type to hold entity property mapping information. - - - - - A list of the EPM mappings this cache was constructed for. - Used to determine whether the cache is dirty or not. - - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - EDM model. - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - Constructor. - - The EPM mappings to create the cache for. - The EDM model. - The total number of entity property mappings - for the entity type that this cache is created for (on the type itself and all its base types). - - - - Initializes the EPM annotation with EPM information from the specified type. - - Entity type to use the EPM infromation from. - Entity type for this the EPM information is being built. - - - - Checks whether the current cache is dirty with respect to the . - - The EPM mappings to check this cache against. - true if the are not the same as the ones the cache has been created for (or have changed). - - - - Does given property in the attribute exist in the specified type. - - The type to inspect. - Attribute which has PropertyName. - true if property exists in the specified type, false otherwise. - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - All EntityPropertyMapping attributes. - - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - - Represents an enumerable of that new items can be added to. - - - - List of the mappings represented by this enumerable. - - - Creates a new instance of the class. - - - Creates a new instance of the class. - An enumerable of used to initialize the instance. This argument must not be null. - - - Adds the mapping to the list of all mappings represented by this class. - The to add to the enumerable represented by this class. - - - Returns an enumerator for the instances in this enumerable. - An enumerator for the instances in this enumerable. - - - Returns a non-generic enumerator for the instances in this enumerable. - A non-generic enumerator for the instances in this enumerable. - - - - The count of mappings stored in this collection. - - - - - Helper methods used by the OData reader for the Verbose JSON format. - - - - - Compares the against the list of supported feed-level properties and - returns the kind of property. - - The name of the property to check. - The kind of feed-level property of the property with name . - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Checks whether the specified property has already been found before. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - true if the property has not been read before; otherwise false. - - - - Validates that the string property in __metadata is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Verifies that the specified property was not yet found. - - The bit field which stores which metadata properties were found so far. - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in an entity reference links collection is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the count property in an OData-owned object wrapper is valid. - - The value of the property. - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an entity reference link collection were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in __mediaresource is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the property in feed wrapper is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JSON. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - The version of the payload being read. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - true if the conversion should use the V1 provider behavior, false if the default behavior should be used. - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Converts the given datetime value into the allowed target types. - - DateTime value as read by the JsonReader. - Target type to which the datetime value needs to be converted. - Type reference to which the value needs to be converted. - ODataReaderBehavior instance. - Object which is in sync with the target type. - - - - Checks if the given type is a V1 primitive type or not. - - Type instance. - True if the given target type is a V1 primitive type otherwise returns false. - - - - An enumeration of the various kinds of properties on a feed wrapper object. - - - - An unsupported property at the feed level. - - - The inline count property of a feed. - - - The results property of a feed. - - - The next page link property of a feed. - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - An unsupported property at the wrapper level. - - - The inline count property of an entity reference links wrapper. - - - The results property of an entity reference links wrapper. - - - The next page link property of an entity reference links wrapper. - - - - Enumeration of all properties in error payloads, the value of the enum is the bitmask which identifies - a bit per property. - - - We only use a single enumeration for both top-level as well as inner errors. - This means that some bits are never set for top-level (or inner errors). - - - - No property found yet. - - - The "error" of the top-level object. - - - The "code" property. - - - The "message" property of either the error object or the inner error object. - - - The "lang" property of the message object. - - - The "value" property of the message object. - - - The "innererror" or "internalexception" property of the error object or an inner error object. - - - The "type" property of an inner error object. - - - The "stacktrace" property of an inner error object. - - - - Enumeration of all properties in __metadata, the value of the enum is the bitmask which identifies - a bit per property. - - - - No property found yet. - - - The "uri" property. - - - The "type" property. - - - The "etag" property. - - - The "media_src" property. - - - The "edit_media" property. - - - The "content_type" property. - - - The "media_etag" property. - - - The "properties" property. - - - The "id" property. - - - The "actions" property. - - - The "functions" property. - - - - OData reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndArray if the feed is not wrapped in the 'results' wrapper - JsonNodeType.EndObject if the feed is wrapped in the 'results' wrapper - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or wrapped feed inside expanded link) - JsonNodeType.StartArray feed not wrapped with 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) expanded null entry - Post-Condition: JsonNodeType.StartArray: expanded link with a feed that is not wrapped with 'results' wrapper - JsonNodeType.StartObject expanded link with a feed that is warpped with 'results' wrapper - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNoteType.Primitive (null) If an expanded link with null entity instance was found. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of a feed and sets up the reader state correctly. - - true if the feed is inside an expanded link. - - Pre-Condition: The first node of the feed; this method will throw if the node is not - JsonNodeType.StartArray: a feed without 'results' wrapper - JsonNodeType.StartObject: a feed with 'results' wrapper - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the next node in the content of an expanded navigation link which represents a collection and is in a request payload. - - - This method deals with all the special cases in request payload expanded navigation link for collections. - It should be called when the array start of the content of such a link was already read. - It should be called in these cases: - - Start of the navigation link (to report the first content item of it) - - Entity reference link was reported (to report the next item of the navigation link content) - - Feed end was reported, to report the next non-entry item in the navigation link content - - Entry end was reported, to determine if the next entry should be reported, or if the feed should be closed. - - - - - Reads the start of an entry and sets up the reader state correctly - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (deferred link or entry or >=v2 feed wrapper) - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.PrimitiveValue (null) The null value of the navigation link property value to read next (expanded null entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the __metadata property for an entry and resolves its type. - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link to start. - The navigation property for the navigation link to start. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonScope - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Interface representing a state of the Verbose JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that during parsing of the entry represented by this state, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Flag which indicates that during parsing of the entry represented by this scope, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Flag which is only used on a StartFeed scope. - true - if the feed is the special feed reported as content of an expanded navigation link in request. - false - if the feed is any other (regular) feed. - - - - - Flag which is used to remember whether the feed was wrapped in with 'results' wrapper and which indicates - whether to expect (and read) '}' character at the end of the feed. Used on StartFeed scope for top level - feeds and on NavigationLinkStart scope for nested expanded feed. - true - if the feed was wrapped in results wrapper - false - if the feed was not wrapped in results wrapper - - - - - Flag which is only used on a StartNavigationLink scope in requests. - true - we already found some content for the navigation link in question and it was (or is going to be) reported to the caller. - false - we haven't found any content for the navigation link yet. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - Extension methods to make it easier to work with EPM. - - - - - All supported base names for serializable EPM annotations. - - - - - FC_TargetPath to enum mapping. - - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Determines if the has any EPM defined on it (or its base types). - - The model containing the annotations. - The entity type to test for presence of EPM. - true if the has EPM; false otherwise. - - - - Returns the EPM information for an entity type. - - The model containing the annotations. - The entity type to get the EPM information for. - Returns the EPM information for an entity type. If there's no such information, this returns null. - - - - Returns the cached EPM information for an entity type. - - The model containing the annotations. - The entity type to get the cached EPM information for. - Returns the cached EPM information for an entity type. If there's no cached information, this returns null. - - - - Gets all the annotations bindings in order to remove all EPM related annotations from a given . - - The model containing the annotations. - The annotatable to get the EPM annotations for. - A dictionary of local annotation name to annotation binding mappings for all serializable EPM annotations on . - - - - Removes the in-memory EPM annotations from an entity type; potentially also drops an existing EPM cache. - - The containing the annotation. - The to remove the EPM annotation from. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations for. - The EPM cache for the owning entity type. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations on. - All the EPM annotations to be saved. - true if the source path should be saved explicitly; otherwise false. - true if the prefix of the source path should be removed; otherwise false. - - - - Returns the cached keep-in-content annotation for the primitive properties of a complex type. - - The model containing the annotation. - The complex type to get the cached keep-in-content annotation for. - Returns the keep-in-content annotation for a type. If there's no such annotation this returns null. - - - - Maps the enumeration of allowed values to their string representations. - - Value of the given in - the contstructor. - String representing the xml element path in the syndication property. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the entity type belongs to. - The to load the EPM annotations for. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the annotatable belongs to. - The to load the EPM annotations for. - The collection of EPM annotations to add newly loaded annotations to. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - - - - Given a gets the corresponding syndication property. - - Target path in the form of a syndication property name. - - Enumeration value of a or SyndicationItemProperty.CustomProperty - if the does not map to any syndication property name. - - - - - Translates a content kind enumeration value to the corresponding string attribute value for serialization to CSDL. - - The content kind to translate. - A string corresponding to the value. - - - - Translates a syndication item property enumeration value to the corresponding string attribute value for serialization to CSDL. - - The syndication item property to translate. - A string corresponding to the value. - - - - Maps the string to an enumeration value of the enumeration. - - The content kind string to map. - The suffix of the attribute name currently being parsed or validated.Only used in error messages. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The name of the property to parse the EPM annotations for. Only used in error messages. - An value if the could be successfully mapped; otherwise throws. - - - - Parses the serializable EPM annotations of the , groups them by suffix - and translates them into a set of structs. - - The containing the annotations. - The to parse the EPM annotations for. - The name of the type for which the annotations are parsed or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - An enumerable of that represents all the parsed annotations grouped by their suffix. - - - - Validates the annotation values parsed for an EPM mapping. - - The to validate. - The name of the type for which the annotations are validated or that declares the . Only used in error messages. - The property for which the annotations are validated; null if the annotations are for a type. - An instance that represents the mapping created from the . - - - - Removes an existing EPM cache annotation. - - The containing the annotations. - The to remove the EPM cache from. - - - - Checks whether a given OData annotation is an EPM related annotation. - - The instance to check. - true if the annotation is EPM related; otherwise false. - - - - Checks whether a given serializable annotation represents part of an EPM mapping. - - The annotation to check. - The base name of the EPM annotation. - The suffix of the EPM annotation or null if not an EPM annotation. - true if the is an EPM annotation; otherwise false. - - - - Converts the value of the to a string. - - The to convert. - The string representation of the converted annotation value. - - - - Checks that two strings are the same references (and asserts that if they are not they also - don't have the same value). - - The first string to compare. - The second string to compare. - true if the and are the same reference; otherwise false; - - - - Checks whether the has EPM defined for it (either directly - on the type or on one of the base types). - - The containing the annotation. - The to check. - true if the has EPM defined; otherwise false. - - - - Gets the annotation binding with the OData metadata namespace and the specified for the . - - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - An instance that represnets the annotation with the specified name and value. - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel instance containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - true if the cache was modified; otherwise false. - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Private struct to store the values of the serializable EPM annotations during loading. - - - - The string value of the FC_SourcePath attribute (or null if not present). - - - The string value of the FC_TargetPath attribute (or null if not present). - - - The string value of the FC_KeepInContent attribute (or null if not present). - - - The string value of the FC_ContentKind attribute (or null if not present). - - - The string value of the FC_NsUri attribute (or null if not present). - - - The string value of the FC_NsPrefix attribute (or null if not present). - - - The attribute suffix used for the attribute names. - - - - Representation of each node in the EpmSourceTree. - - - - - Name of the property under the parent type. - - This fields is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - StartPath property name - - - - Name of the property under the parent type. - - This property is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionValueItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the tree. - - - - - corresponding to this tree. - - - - - Constructor which creates an empty root. - - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - - Validates the source tree. - - The entity type for which the validation is performed. - - - - Validates the specified segment and all its subsegments. - - The path segment to validate. - The type of the property represented by this segment (null for open properties). - - - - Returns the type of the property on the specified type. - - The type to look for the property on. - The name of the property to look for. - The type of the property specified. - - - - Root of the tree - - - - - Representation of each node in the EpmTargetTree. - - - - - Name of the xml element/attribute. - - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - - Cached attribute name if the segment represents an attribute. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - If this is a non-leaf element, the child elements/attributes collection. - - - - - Parent element of this element/attribute. - - - - - The EPM info object for this target segment, if there's any. - - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the EpmTargetTree. - - - - - Used for creating non-root nodes in the syndication/custom trees. - - Name of xml element/attribute - URI of the namespace for - Namespace prefix to be used for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - - Name of the xml element/attribute. - - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the property should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root node should not be accessed directly - from anywhere so far. - - - - Retruns name of the attribute the property is mapped to. Must not be called if a property is mapped to an element. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - EntityPropertyMappingInfo corresponding to current segement. - - - - - Whether this node corresponds to ResourceType or ClientType property values. - - - - - Does this node correspond to xml attribute. - - - - - Parent node in the tree (always an element if present). - - - - - Sub-nodes of this node. Only exist if current node is an element node. - - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Number of properties that have V2 mapping with KeepInContent false. - - - - - Initializes the sub-trees for syndication and non-syndication content. - - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Validates the target tree. - - This also cleans up the tree if necessary. - - - - Checks if mappings could potentially result in mixed content and dis-allows it. - - StartPath being processed. - A list of ancestor attributes that have content. - Can contain a maximum of one attribute when the method is called, must never contain more than two. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - string with the correct value for the target path - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Minimum protocol version required to serialize this target tree. - - - - - Class with utility methods for reading ATOM metadata. - - - - - Creates a new instance of ATOM entry metadata. - - The newly created ATOM entry metadata. - - - - Creates a new instance of ATOM feed metadata. - - The newly created ATOM feed metadata. - - - - Adds a new author to entry metadata. - - The entry metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to entry metadata. - - The entry metadata to add the contributor to. - The contributor metadata to add. - - - - Adds a new link to entry metadata. - - The entry metadata to add the link to. - The link metadata to add. - - - - Adds a new link to feed metadata. - - The feed metadata to add the link to. - The link metadata to add. - - - - Adds a new category to entry metadata. - - The entry metadata to add the category to. - The category metadata to add. - - - - Adds a new category to feed metadata. - - The feed metadata to add the category to. - The category metadata to add. - - - - Adds a new author to feed metadata. - - The feed metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to feed metadata. - - The feed metadata to add the contributor to. - The author metadata to add. - - - - Reader for the EPM syndication-only. Read the EPM properties from ATOM metadata OM. - - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the syndication EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Reads a leaf segment which maps to a property value. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads a non-leaf segment which has sub segments. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads EPM values from a person construct (author or contributor). - - The target list, this can be either a list of properties (on entry or complex value), - or a list of items (for a collection of primitive types). - The type of the value on which to set the property (can be entity, complex or primitive). - The target segment which points to either author or contributor element. - The person ATOM metadata to read from. - - - - Reads the value of the ATOM text construct and sets it to the EPM. - - The EPM target segment for the value to read. - The text construct to read it from (can be null). - - - - Base class for EPM writers. - - - - The output context currently in use. - - - - Constructor. - - The output context currently in use. - - - - Reads a property value starting on an entry. - - The EPM info which describes the mapping for which to read the property value. - The EPM value cache for the entry to read from. - The type of the entry. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting on a complex value. - - The EPM info which describes the mapping for which to read the property value. - The complex value to start with. - The EPM value cache to use. - The index in the property value path to start with. - The type of the complex value. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting with the specified index to the property value path. - - The EPM info which describes the mapping for which to read the property value. - The enumeration of properties to search for the first property in the property value path. - The index in the property value path to start with. - The type of the entry or complex value the enumeration belongs to. - The EPM value cache to use. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - The version of OData protocol to use. - - - The settings to control the behavior of the writer. - - - - Interface representing a state of the ATOM reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element. - - - - - Flag which indicates whether we have found a content element . - - - - - Flag which indicates whether we have found a category element with the required type name. - - - - - Flag which indicates whether we have found a m:properties element. - - - - - Flag indicating if we have already made a decision about the current entry and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - Interface representing a state of the ATOM reader for feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - The ATOM feed metadata to fill as we read the content of the feed. - - - - - Flag which indicates if a m:count element was found. - - - - - Flag which indicates if a link[@rel='next'] element was found. - - - - - Flag which indicates if a link[@rel='self'] element was found. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - OData ATOM deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start element of a collection. - - true, if the collection element is empty; false otherwise. - An representing the collection-level information. Currently this only contains - the name of the collection. - - Pre-Condition: XmlNodeType.Element - The start element of the collection. - Post-Condition: Any - The next node after the start element node of the collection or the - empty collection element node. - - - - - Reads the end of a collection. - - - Pre-condition: XmlNodeType.EndElement - The end element of the collection. - XmlNodeType.Element - The start element of the collection, if the element is empty. - Post-condition: Any - Next node after the end element of the collection. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: XmlNodeType.Element - The start element node of the item in the collection. - Post-Condition: Any - The next node after the end tag of the item. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the OData namespace - is found or the reader.EOF is reached. - - - - - Possible content types of expanded navigation link in ATOM. - - - - No content found, no m:inline. - - - Empty content found, m:inline without anything in it. Usually represents null entry. - - - Expanded entry found. - - - Expanded feed found. - - - - OData ATOM deserializer for entries and feeds. - - - - Schema namespace for Atom. - - - XML element name to mark entry element in Atom. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - XML element name to mark content element in Atom. - - - XML element name to mark link element in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark feed element in Atom. - - - XML element name to mark id element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - Atom source attribute name for the content of media link entries. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData element name for the 'count' element - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - - The reader used to parse annotation elements. - - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Ensure a media resource is created for the specified entry. - - The reader entry state for the entry being read. - If set to true, this method will validate that marking the entry as MLE - doesn't collide with it already being marked as non-MLE. - - - - Verified that the reader is positioned on the atom:entry start element node. - - - - - Read the start of the entry. - This method verifies that the current element is atom:entry and it reads the ETag from it. - - The entry instance to fill the properties on. - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not element called atom:entry - Post-Condition: XmlNodeType.Element - The atom:entry element - - - - - Reads the content of an entry (child nodes of the atom:entry, not the atom:content element). - - The reader entry state for the entry being read. - A descriptor representing the navigation link detected; - null if no navigation link was found and the end of the entry was reached. - - Pre-Condition: Anything but Attribute - the child node of the atom:entry element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:entry - The end of the atom:entry element if no nav. link was found and the end of the entry was reached. - XmlNodeType.Element atom:link - The start tag of the atom:link element representing a navigation link. - - - - - Read the end of the entry. - - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The atom:entry empty element to read end of. - XmlNodeType.EndElement atom:entry - The end element of atom:entry to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the start of the feed. - This method verifies that the current element is atom:feed. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not called atom:feed (but won't validate that it's an element) - Post-Condition: XmlNodeType.Element - The atom:feed element - - - - - Reads the content of a feed (child nodes of the atom:feed). - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if an entry was found or false if no more entries were found in the feed. - - Pre-Condition: Anything but Attribute - the child node of the atom:feed element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:feed - The end of the atom:feed element if no entry was found and the end of the feed was reached. - XmlNodeType.Element atom:entry - The start tag of the atom:entry element representing an entry in the feed. - - - - - Read the end of the feed. - - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The atom:feed empty element to read end of. - XmlNodeType.EndElement atom:feed - The end element of atom:feed to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the content of the navigation link before any expansion was found. - - - An enumeration value indicating what content was found: - None - no m:inline was found, the link is deferred. The reader is positioned on the atom:link end element. - Empty - empty m:inline was found - usually means null entry. The reader is positioned on empty start m:inline or end element m:inline. - Entry - expanded entry was found. The reader is positioned on the atom:entry element. - Feed - expanded feed was found. The reader is positioned on the atom:feed element. - - - Pre-Condition: Any - a node in the atom:link content. - Post-Condition: XmlNodeType.EndElement atom:link - the end of the navigation link was reached. - XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.Element (empty) m:inline - empty inline was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Determines if the reader is positioned on the m:inline end element or empty m:inline start element. - - true if the reader is on m:inline end element or m:inline empty start element; false otherwise. - - - - Skips everything until an end-element for atom:link is found. - - - This method should only be used to skip the rest of the link content after the ReadNavigationLinkContentBeforeExpansion was called. - Pre-Condition: XmlNodeType.Element atom:entry - start of the expanded entry - XmlNodeType.Element atom:feed - start of the expanded feed - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the content of the navigation link after the expansion was found. - The method returns when the entire atom:link was read. - - - true if the reader is positioned on the empty start tag or end tag of the m:inline element. - false if the reader is inside m:inline (or on the end tag of m:inline). - - - Pre-Condition: Any - child node of the m:inline element (emptyInline == false) - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the end of the navigation link. - - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: Any - The node right after the link element. - - - - - Reads the entry content in buffering mode and looks for the type name (the category element with the right attributes). - - The type name if one of found or null if none was found. - - Pre-Condition: XmlNodeType.Element - the atom:entry element - Post-Condition: XmlNodeType.Element - the atom:entry element on which the reader started. - - - - - Returns an existing stream property value if it already exists in the list of OData properties otherwise creates a new - ODataProperty for the stream property and returns the value of that property. - - The reader entry state for the entry being read. - The name of the stream property to return. - A new or an existing stream property value. - - - - If the is true, then the default behavior should throw. - - This method assumes the reader is positioned on the duplicated element. - Used to determine if duplicate check should throw an exception. - - - - Reads an ATOM element inside the atom:entry from the input. - - The reader entry state for the entry being read. - - If the atom element is representing a navigation link a descriptor for that link is returned, - otherwise null. - - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element if it's not a navigation link. - XmlNodeType.Element atom:link - The start tag of atom:link if it's a navigation link. - - - - - Reads the atom:content element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:content - The atom:content element to read. - Post-Condition: Any - The node after the atom:content element. - - - - - Reads the attributes of the <atom:content> element. - - The content type attribute value (or null if not found). - The content source attribute value (or null if not found). - - - - Reads the atom:id element in the atom:entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:id - The atom:id element to read. - Post-Condition: Any - The node after the atom:id element. - - - - - Reads the atom:link element in atom:entry. - - The reader entry state for the entry being read. - - If the link is a navigation link the method returns a descriptor representing that link, - otherwise the method returns null. - - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if it's not a navigation link. - XmlNodeType.Element atom:link - The atom:link start tag if it's a navigation link. - - - - - Reads the atom:link element with one of the standard relation values in the atom:entry element. - - The reader entry state for the entry being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a navigation link in entry element. - - The reader entry state for the entry being read. - The value of the rel attribute of the link to read, unescaped parsed URI. - The value of the href attribute of the link to read. - A descriptor of a navigation link if a navigation link was found; null otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element - the reader doesn't move - - - - - Reads a stream property edit or read link in an atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true if the link is a stream property read or edit link; otherwise false. - true, if the named stream was read successfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a stream property link in an atom:entry. - - The reader entry state for the entry being read. - The name of the stream property that is being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if we are reading an edit link; otherwise false. - true if the stream property link was read; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an association link in atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true, if the association link was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an m:action or m:function in atom:entry. - - The reader entry state for the entry being read. - true, if the m:action or m:function was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element m:action|m:function - The m:action or m:function element to read. - Post-Condition: Any - The node after the m:action or m:function element if it was read by this method. - XmlNodeType.Element m:action|m:function - The m:action or m:function element to read if it was not read by this method. - - - - - Reads an ATOM element inside the atom:feed from the input. - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if the atom:entry element was found and the reader was not moved; - false otherwise and the reader is positioned on the next node after the ATOM element. - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element which was consumed. - XmlNodeType.Element atom:entry - The start of the atom:entry element (the reader did not move in this case). - - - - - Reads the atom:link element with one of the standard relation values in the atom:feed element. - - The reader feed state for the feed being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if the feed is inside an expanded link. - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads the Atom metadata for the link if metadata is required to be read, skip it otherwise. - - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - Action for adding AtomLinkMetadata to the AtomFeedMetadata - - - - Reads the atom:link element's rel and href attributes. - - The value of the rel attribute or null if no such attribute was found. - The value of the href attribute or null if no such attribute was found. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - The atom:link element to read - the reader doesn't not move. - - - - - Reads the content of navigation link. - - - true if m:inline was found, - false if the end of the atom:link was found. - - - Pre-Condition: Any - a child node of the atom:link element. - Post-Condition: XmlNodeType.Element m:inline - the m:inline was found, the method returns true. - XmlNodeType.EndElement atom:link - the atom:link end element, end of the navigation link, the method returns false. - - - - - Reads content of the m:inline element. - - - Enumeration denoting what was found in the content. - Empty - The end of the m:inline element was found - the reader is positioned on the m:inline end element. - Entry - An expanded entry was found - the reader is positioned on atom:entry element. - Feed - An expanded feed was found - the reader is positioned on atom:feed element. - None - will never be returned. - - - Pre-Condition: Any - child node of the m:inline element. - Post-Condition: XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Verifies that the specified content type of an atom:content element matches the expected value. - - The content type value read from the payload. - The verified media type name (without parameters or charset) of the content type. - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - - OData ATOM deserializer for ATOM metadata on entries. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an element in ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads the atom:link element in the entry content. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link, or null if link info doesn't need to be stored. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: XmlNodeType.Element (atom:link) - the atom:link element which was read. - - - - - Reads the atom:category element in the entry content. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:category element. - - The ATOM category metadata read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:source element in the entry content. - - The information in the source element as . - - Pre-Condition: XmlNodeType.Element (atom:source) - the atom:source element to read. - Post-Condition: Any - the node after the atom:source which was read. - - - - - Reads an author element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads a contributor element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Determines if a person element should be read or skipped. - - true if some elements from the collection in question already exist; false if this is the first one. - true if the collection element should be read; false if it should be skipped. - - - - Determines if we should read an element which is allowed to appear only once in ATOM. - - true if we already found such element before; false if this is the first occurence. - true if the element should be processed; false if the element should be skipped. - The method may throw if multiple occurences of such element occure and they should be treated as an error. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - /// OData ATOM deserializer for service document. - - - - The name of the top-level service document element. - - - The name of the 'workspace' element of a service document. - - - href attribute name in Atom. - - - The name of the 'collection' element of a service document. - - - The name of the 'categories' element of a service document. - - - The name of the 'accept' element of a service document. - - - The Atom Publishing Protocol (APP) namespace. - - - The ATOM namespace. - - - The name of the 'title' element of a service document. - - - The emtpy namespace used for attributes in no namespace. - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: XmlNodeType.Element - The start element of the service document. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a workspace of a service document. - - An representing the workspace of a service document. - - Pre-Condition: Any - the next node after the service element. - Post-Condition: Any - The next node after the workspace element. - - - - - Reads a resource collection element of a workspace of the service document. - - An representing the resource collection in a workspace of a service document. - - Pre-Condition: XmlNodeType.Element - the collection element inside the workspace. - Post-Condition: Any - The next node after the collection element. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the ATOM - publishing namespace is found. - - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Handles serialization and deserialization for types derived from Geography. - - - - - Create a geography instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geography instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Annotation which stores a hashset of property names of a complex type that returned KeepInContent == true - when written the first time. See the comments on ODataWriterBehavior.UseV1ProviderBehavior for more details. - - - - - A hash set with the property names of properties that are kept in the content. - - - - - Constructor. - - Enumeration of property names that are kept in content. - - - - Determines if a property is in a list of properties that are kept in the content. - - The name of the property to lookup. - true if the property is kept in the content; false otherwise. - - - - Atom metadata description for a text construct (plain text, html or xhtml). - - - - Converts a string to an instance. - The instance created for text. - The to convert to an . - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the kind of the text construct (plain text, html, xhtml). - The kind of the text construct. - - - Gets or sets the text content. - The text content. - - - - Enumeration for classifying the different kinds of text content in ATOM metadata. - - - - Plain text. - - - Html text. - - - XHtml text. - - - - XML reader which supports look-ahead. - - - - The "http://www.w3.org/XML/1998/namespace" namespace for the "xml" prefix. - - - The "base" name for the XML base attribute. - - - The 'lang' attribute local name of the xml:lang attribute. - - - XML namespace for data service annotations. - - - XML namespace for data services. This is to provide compatibility with WCF DS client which accepts custom data namespace value. - - - The 'error' local name of the error element. - - - The underlying XML reader this buffering reader is wrapping. - - - The (possibly empty) list of buffered nodes. - This list stores only non-attribute nodes, attributes are stored in a separate list on an element node. - - - - A special buffered node instance which represents the end of input. - We always have just one instance and compare references. - - - - Flag to control if the xml:base attributes should be processed when reading. - - - The maximumum number of recursive internalexception elements to allow when reading in-stream errors. - - - The base URI for the document. - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - A pointer into the linked list of attribute nodes which is only used if the currentBufferedNodeToReport is the attribute value node (not the attribute itself). - In that case it points to the current attribute node. - In all other cases this node is null. - - - - A pointer either into the bufferedNodes list or into the list of attributes on a buffered element node - which points to the node which should be reported to the user. - - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - Flag to control whether in-stream errors should be detected when reading. - - - The stack of XML base URI definitions. - - - The XML base stack state when the buffering started. This is only used when in buffering mode. - - - Constructor - The reader to wrap. - If this reader is wrapping an inner reader of some kind, this parameter should pass the xml:base effective value of the parent. - The base URI for the document. - Flag to control if the xml:base attributes should be processed when reading. - The maximum number of recursive internalexception elements to allow when reading in-stream errors. - XML namespace for data services. - - - - Reads the next node from the input. - - true if another node is available and the reader has moved to it; false if end of input was reached. - - - - Moves the reader to the element which owns the current attribute. - - true if the reader has moved (that is the current node was an attribute); - false if the reader didn't move (the reader was already positioned on an element or other node). - - - - Moves the reader to the first attribute of the current element. - - true if the reader moved to the first attribute; false if there are no attribute for the current node (the reader didn't move). - - - - Moves the reader to the next attribute on the current element. - - true if the reader moved to the next attribute (if the node was an element it moves to the first attribute); - false if the reader didn't move (no attributes for the current node). - - - - Reads the next node from the value of an attribute. - - true if next node was available; false if end of the attribute value was reached. - - - - Returns the value of an attribute based on its index. - - The index of the attribute, starts at 0. - The value of the attribute at index . - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - The value of the attribute with specified and . - - - - Returns the value of an attribute based on its name. - - The name of the attribute. (prefix:localname) - The value of the attribute with specified . - - - - Looks up a namespace URI based on the prefix. - - The prefix to search for. - The namespace URI for the specified . - - - - Moves the reader to the attribute specified by fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - true if the attribute specified by and was found and the reader is positioned on it; - false otherwise. - - - - Moves the reader to the attribute specified by name. - - The name of the attribute (prefix:localname). - true if the attribute specified by was found and the reader is positioned on it; - false otherwise. - - - - Resolves the current entity node. - - - - - Puts the reader into the state where it buffers read nodes. - - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - The actual implementatin of the Read method. Moves the reader to the next node. - - true if the reader should not check for in-stream errors; otherwise false. - true if next node is available and the reader has moved; false if end-of-input was reached. - - - - Reads the next node from the XML reader and if m:error element node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Determines if the specified node is the end of input node. - - The buffered node to test. - true if the node is the special end of input node, false otherwise. - - - - Buffers the current reader state into a node. - - The newly created buffered node. - - - - Returns the current element node (or node which acts like an element, it doesn't have to be of type Element). - - The current element node. - - - - Finds the buffered node for the attribute specified by its index. - - The index of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its local name and namespace URI. - - The local name of the attribute. - The namespace URI of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its qualified name. - - The qualified name of the attribute to find, that is prefix:localName. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - If the reader is positioned on the attribute value node, this moves it to the owning attribute node. - - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. This string must already be atomized against the reader's nametable. - The namespace URI of the attribute. This string must already be atomized against the reader's nametable. - The value of the attribute with specified and . - - Behaves the same as GetAttribute, but it assumes that the parameters are already atomized against our nametable. - This allows the method to be much faster. - - - - - Validates internal state of the reader - debug only. - - - - - Returns the type of the current node. - - - - - Returns true if the reader is positioned on an empty element. - - - - - Returns the local name of the current node. - - - - - Returns the prefix of the current node. - - - - - Returns the namespace URI of the current node. - - - - - Returns the value of the current node. - - - - - Returns the depth of the current node. - - - - - Returns true if the end of input was reached. - - - - - Returns the current state of the reader. - - We need to support ReadState in order for Skip to work without us implementing it again. - - - - Returns the nametable used by the reader. - - - - - Returns the number of attributes on the node. - - - - - Returns the base URI of the node - note that this is not based on the xml:base attribute, just the input streams. - - - - - Returns true if the current node has a value. - - - - - The active XML base URI for the current node. - - - - - The active XML base URI for the parent node (parent element) of the current node. - - - - - Flag to control whether in-stream errors should be detected when reading. - - - - - Class representing one buffered XML node - - - - - The list of attribute nodes, if this node is an element node. - - - - - Constructor. - - The XML reader to get all the interesting values from. The reader - is positioned on the node which the new buffered node should buffer. - - - - Constructor for an attribute value node - - The value of the attribute value node to create. - The parent attribute depth. - The nametable to use. - - - - Constructor for end of input node. - - The atomized instance of an empty string. - - - - Creates a special node which represents the end of input. - - The nametable of the underlying reader. - The newly created node. - - - The type of the buffered node. - - - The namespace URI of the buffered node. - - - The local name of the buffered node. - - - The prefix of the buffered node. - - - The value of the buffered node. - - - The depth of the buffered node. - - - Denotes if the buffered node is an empty element. - - - List of attributes. If the node is not element, this will be null. - - - - Helper class to store XML base URI definition for a specific depth of the reader. - - - - - Constructor. - - The XML base URI for the definition. - The depth of the XML reader for the definition. - - - The base URI for this definition. - - - The depth of the XmlReader on which this XML base is defined. - - - - Atom metadata for stream reference values. - - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - - OData collection reader for ATOM format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type reference for the items in the collection. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the collection element node or the empty collection element node. - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the collection element or the empty collection element node. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the end tag of the item. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: Any - the next node after the end tag of the collection element. - Post-Condtion: XmlNodeType.None - the reader is at the end of the input. - - - - - Implementation of the OData input for ATOM OData format. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - If entry XML customization is used this is the reader for the current entry. - - - A stack used to track XML customization readers. - - At the beginning the base reader is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the reader returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomReader, other readers don't use this. - - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The or producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - Initializes the ability to use customization readers. - - - This needs to be called before any of the reader customization functionality is used. - - - - - Pushes a reader on the top of the customization stack. - - The reader to push. - The xml:base URI to use as the base uri for all of the payload read from that reader. - - - - Pops a reader from the top of the customization stack. - - The popped reader, the one which was on the top of the stack before the operation. - - - - Disposes the input context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - This methods creates and reads a service document from the input and returns - an representing the service document. - - An representing the service document. - - - - Read a top-level error. - - An representing the read error. - - - - Reads top-level entity reference links. - - An representing the read entity reference link. - - - - Reads a top-level entity reference link. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - Helper methods used by the OData reader for the ATOM format. - - - - - Creates an Xml reader over the specified stream with the provided settings. - - The stream to create the XmlReader over. - The encoding to use to read the input. - The OData message reader settings used to control the settings of the Xml reader. - An instance configured with the provided settings. - - - - Parses the value of the m:null attribute and returns a boolean. - - The string value of the m:null attribute. - true if the value denotes that the element should be null; false otherwise. - - - - Creates a new XmlReaderSettings instance using the encoding. - - Configuration settings of the OData reader. - The Xml reader settings to use for this reader. - - - - OData reader for the ATOM format. - - - - The input to read the payload from. - - - The deserializer to use to read input. - - - Stack of entry and feed deserializers, we need to create a new one for each XML customization - so that the strings get atomized again and so that we can return to the original one without reatomizing everything. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading top-level entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the top-level entry (if there were no nav. links. in it). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the top-level entry. - XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry). - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry - The start tag of the first entry element to read. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry (empty) - The empty start tag of the first entry in the feed. - XmlNodeType.EndElement atom:entry - The end tag of the first entry in the feed (if it had no nav. links). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the first entry in the feed. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The empty start tag of atom:feed - XmlNodeType.EndElement atom:feed - The end element of the atom:feed - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: Any - The node right after the top-level atom:feed element - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end element of the atom:entry. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: Any - The node right after the top-level atom:entry element. - XmlNodeType.EndElement atom:feed - The end element of the parent feed for the entry. - XmlNodeType.Element (empty) atom:entry - The empty start tag of the next entry in the parent feed. - XmlNodeType.EndElement atom:entry - The end element of the next entry in the parent feed (if it had no nav. links). - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the next entry in the parent feed. - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - the atom:link element representing the navigation link. - Post-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link of a deferred navigation link. - XmlNodeType.Element atom:entry - the atom:entry element of the expanded entry. - XmlNodeType.Element atom:feed - the atom:feed element of the expanded feed. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: XmlNodeType.EndElement atom:entry - the end element atom:entry of the parent entry if there are no more navigation links. - XmlNodeType.Element atom:link - the atom:link element of the next navigation link of the parent entry. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of an entity reference link. - XmlNodeType.EndElement atom:link - the end element atom:link of the entity reference link. - Post-Condition: Unchanged - the reader doesn't change its position. - - - - - Reads the start of a feed and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:feed. - Post-Condition: XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry) - - - - - Reads the start of an entry and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:entry. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the entry (if there were no nav. links. in it) - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the entry. - - - - - End the entry. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link descriptor for the navigation link to start. - - - - Moves the reader from the start state of a non-expanded navigation link. - - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Replaces the current scope with a new FeedEnd scope and the item of the current scope. - - - - - Returns the current entry state. - - - - - Returns the current feed state. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property have null value, we don't know for sure yet (both are possible), it it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - Bitfield to track the current state of the ATOM scope. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The ATOM feed metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The cache for values read from custom EPM. - - - This is lazily initialized only when it's actually needed. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Sets the bit identified by the if is true, otherwise clears it. - - Indicates if the should be set - Identifies the bit to set in atomScopeState - - - - Returns true if the bit identified by is set, false otherwise. - - Identifies the bit to set in atomScopeState - True if the bit identified by the is set, false otherwise - - - - Flag which indicates that the element representing the current state is empty. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - trye if the EpmCustomReaderValueCache has been initialized; false otherwise. - - - - - true if the AtomEntryMetadata has been initialized; false otherwise. - - - - - The navigation property retrieved from the metadata when reading a navigation link. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element for this entry. - - - - - Flag which indicates whether we have found a content element for this entry. - - - - - Flag which indicates whether we have found a category element for this entry. - - - - - Flag which indicates whether we have found a m:properties element for this entry. - - - - - Flag which indicates whether we have found a m:count elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='next'] elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='self'] elemnent for this feed. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - The feed metadata to fill as we read the content of a feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No state information. - - - Empty element. - - - A read link has been detected for this entry. - - - An edit link has been detected for this entry. - - - An id link has been detected for this entry. - - - A content element has been detected for this entry. - - - A category element which has the required type name has been detected for this entry. - - - A m:properties element has been detected for this entry. - - - A m:count link has been detected for this feed. - - - A link[@rel='next'] link has been detected for this feed. - - - A link[@rel='self'] link has been detected for this feed. - - - An edit-media link has been detected for this entry. - - - A link[@rel='http://docs.oasis-open.org/odata/ns/delta'] has been detected for this entry. - - - - Extension methods for the XML reader. - - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: Any - the node after the element. - - This method is similar to ReadElementContentAsString with one difference: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - - - - Reads the value of the first text, CDATA or significant whitespace node. - - The reader to read from. - The value of the first text, CDATA or significant whitespace node. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - This method is similar to ReadElementContentAsString with two differences: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - It leaves the reader positioned on the EndElement node (or the start node if it was empty). - - - - - Reads from the XML reader skipping insignificant nodes. - - The XML reader to read from. - Do not use MoveToContent since for backward compatibility reasons we skip over nodes reported as Text which have - whitespace only content (even though the XmlReader should report those as Whitespace). - - - - Skips the content of the element and leaves the reader on the end element (or empty start element) - - The reader to read from. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - - - - - Reads from the input until the first element is found. - - The XML reader to read from. - - Pre-Condition: XmlNodeType.None - the reader hasn't been used yet. - Post-Condition: XmlNodeType.Element - the reader is positioned on the root/first element. - Note that the method will fail if the top-level contains any significant node other than the root element - or if no root element is found. - - - - - Reads till the end of the input payload. - - The XML reader to read from. - - Pre-Condition: any - the reader will verify that only insignificant node is present. - Post-Condition: XmlNodeType.None - the reader is at the end of the input. - - - - - Determines if the current node's namespace equals to the specified - - The XML reader to get the current node from. - The namespace URI to compare, this must be a string already atomized in the name table. - true if the current node is in the specified namespace; false otherwise. - - - - Determines if the current node's local name equals to the specified - - The XML reader to get the current node from. - The local name to compare, this must be a string already atomized in the name table. - true if the current node has the specified local name; false otherwise. - - - - Tries to read the current element as an empty element (no or empty content). - - The XML reader to read from. - true if the reader was on an empty element; false otherwise. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - any other - the first child node of the element, in this case the method returns false. - - - - - Reads to the next element encountered in an Xml payload. - - The to read from. - true if the method reached the next element; otherwise false. - - - - Checks whether the specifies string is null or blank. - - Text to check. - true if text is null, empty, or all whitespace characters. - - - - Helper class to verify that no duplicate properties are specified for entries and complex values. - - - - Special value for the property annotations which is used to mark the annotations as processed. - - - true if duplicate properties are allowed; otherwise false. - - See the comment on ODataWriterBehavior.AllowDuplicatePropertyNames or - ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - - - true if we're processing a response; false if it's a request. - - - - A cache of property names to detect duplicate property names. The value stored - for a given property name indicates what should happen if another property with the same name is found. - See the comments on for more details. - - - - - Constructor. - - true if duplicate properties are allowed; otherwise false. - true if we're processing a response; false if it's a request. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The property to be checked. - - - - Checks the for duplicate property names in an entry when the navigation link - has started but we don't know yet if it's expanded or not. - - The navigation link to be checked. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - The association link with the same name if there already was one. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The association link to be checked. - The navigation link with the same name as the association link if there's one. - - - - Clear the internal data structures of the checker so it can be reused. - - - - - Adds an OData annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - The valud of the annotation to add. - - - - Adds a custom annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - - - - Returns OData annotations for the specified property with name . - - The name of the property to return the annotations for. - Enumeration of pairs of OData annotation name and and the annotation value, or null if there are no OData annotations for the property. - - - - Marks the property to note that all its annotations were already processed. - - The property name to mark. - - Properties marked like this will fail if there are more annotations found for them in the payload. - - - - - Returns the names of all properties which have not been marked as processed through . - - A set of property names. - - - - Throw if property is processed already. - - Name of the property. - DuplicationRecord of the property. - - - - Indicates whether a property's annotations have not yet been processed. - - The name of the property to check. - true if the property associated with the given name has unprocessed annotations. - - - - Decides whether a the given supports duplicates (if allowed by the settings). - - The property to check. - true if the supports duplicates (if allowed by the settings); otherwise false. - - - - Determines the effective value for the isCollection flag. - - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - The effective value of the isCollection flag. Note that we can't rely on singleton links which are not expanded since - those can appear even in cases where the actual navigation property is a collection. - We allow singleton deferred links for collection properties in requests, as that is one way of expressing a bind operation. - - - - Sets the properties on a duplication record for a navigation link. - - The duplication record to modify. - The navigation link found for this property. - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - - - - Tries to get an existing duplication record for the specified . - - The property name to look for. - The existing duplication if one was already found. - true if a duplication record already exists, false otherwise. - This method also initializes the cache if it was not initialized yet. - - - - Checks for duplication of a navigation link against an existing duplication record. - - The name of the navigation link. - The existing duplication record. - This only performs checks possible without the knowledge of whether the link was expanded or not. - - - - Gets a duplication record to use for adding property annotation. - - The name of the property to get the duplication record for. - The name of the annotation being added (only for error reporting). - The duplication record to use. This will never be null. - - - - An enumeration to represent the duplication kind of a given property name. - - - This enumeration is used to determine what should happen if two properties with the same name are detected on an entry or complex value. - When the first property is found, the initial value is set based on the kind of property found and the general setting to allow or disallow duplicate properties. - When a second property with the same name is found, the duplication kind can be 'upgraded' (e.g., from association link to navigation property), 'ignored' (e.g. - when finding the association link for an existing navigation property or when duplicate properties are allowed by the settings) or 'fail' - (e.g., when duplicate properties are not allowed). - - - - We don't know enough about the property to determine its duplication kind yet, we've just seen a property annotation for it. - - - Duplicates for this property name are not allowed. - - - This kind indicates that duplicates are allowed (if the settings allow duplicates). - - - A navigation link or association link was reported. - - - - A record of a single property for duplicate property names checking. - - - - - Constructor. - - The duplication kind of the record to create. - - - - The duplication kind of the record to create. - - - - - The navigation link if it was already found for this property. - - - - - The association link if it was already found for this property. - - - - - true if we know for sure that the navigation property with the property name is a collection, - false if we know for sure that the navigation property with the property name is a singleton, - null if we don't know the cardinality of the navigation property for sure (yet). - - - - - Dictionary of OData annotations for the property for which the duplication record is stored. - - - The key of the dictionary is the fully qualified annotation name (i.e. odata.type), - the value is the parsed value of the annotation (this is annotation specific). - - - - - Hashset of custom annotations for the property for which the duplication record is stored. - - - This is just a hashset for now since we don't read custom annotations, we just need to check for duplicates. - - - - - Utility methods serializing the xml error payload - - - - Default language for error messages if not specified. - - This constant is included here since this file is compiled into WCF DS Server as well - so we can't compile in the ODataConstants. - - - - - Extracts error details from an . - - The ODataError instance to extract the error details from. - A data service-defined string which serves as a substatus to the HTTP response code. - A human readable message describing the error. - The language identifier representing the language the error message is in. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write an error message. - - The Xml writer to write to. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - The maximumum number of nested inner errors to allow. - - - - Writes the inner exception information in debug mode. - - The Xml writer to write to. - The inner error to write. - The local name of the element representing the inner error. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - OData JSON deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JSON input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: JsonNodeType.StartArray: for a V1 collection - JsonNodeType.StartObject: for a >=V2 collection - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level properties if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: V1 collection - EndObject V1 collection in response - EndObject wrapped collection with no extra properties after the 'results' property - Property wrapped collection with extra properties after the 'results' property - - - - - OData JSON deserializer for entity reference links. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Reads the properties of an entity reference link. - - The instance to set the read property values on. - The bit field with all the properties already read. - true if the method found the 'results' property; otherwise false. - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: any node - This method will throw if the node type is not a StartObject node - Post-Condition: any node - - - - - OData Verbose JSON deserializer for entries and feeds. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Reads the start of a feed; this includes feed-level properties if the version permits it. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.StartArray: for a feed without 'results' wrapper - JsonNodeType.StartObject: for a feed wrapped with 'results' wrapper - Post-Condition: Any start node The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of a feed; this includes feed-level properties if the version permits them. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.EndArray if the feed is not wrapped - JsonNodeType.EndObject if the feed is wrapped - - - - - Reads the start of an entry (non-null) - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.Property The first property of the entry - JsonNodeType.EndObject The end of the property object - - - - - Reads the entry metadata property. - - The state of the reader for entry to read. - - This method does not move the reader. - Pre-Condition: JsonNodeType.Object The start object of the __metadata property value. - Post-Condition: JsonNodeType.EndObject The end object of the __metadtaa property value. - - - - - Validates entry metadata properties against the model. - - The state of the reader for entry to read. - - This method must be called only after the ReadEntryMetadata was already called. - It should be called always, regardless of whether the __metadata property was found ot not. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - If a navigation link was found this parameter will hold the navigation property for that link, otherwise it's null. - A instance representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or feed with 'results' wrapper inside expanded link) - JsonNodeType.StartArray feed without 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Reads the Url of a non-expanded link and moves the reader forward to the position after the link. - - The navigation link to set the Url on. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the deferred link - Post-Condition: JsonNodeType.Property: the next property after the deferred link - JsonNodeType.EndObject the end of the owning entry if the deferred link is the last property - - - - - Reads the entity reference link and moves the reader forward to the position after the link. - - The entity reference link read from the payload. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the entity reference link - Post-Condition: JsonNodeType.Property: the next property after the entity reference link - JsonNodeType.EndObject: the end of the owning entry if the entity reference link is the last property - JsonNodeType.EndArray: the end of the owning array (if the entity reference link is part of expanded feed) - Any: the next item in the owning array (if the entity reference link is part of expanded feed) - - - - - Analyzes the current navigation property node to determine whether it represents a deferred link. - - true if we already detected a navigation link and now determine its kind; false if we are detecting a deferred navigation link. - true if the current navigation property represents a deferred link; false for an expanded navigation link. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Analyzes the current node to determine whether it represents an entity reference link. - - true if the current node represents an entity reference link; false is it's an entry or something else. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Read a feed-level property (e.g., __count, __next, etc.) and check its version compliance. - This method fails on properties that are not recognized as feed-level properties. - - The instance to fill with the data read. - The name of the property being read. - true if the feed is inside an expanded link. - - Pre-Condition: The reader is on the first node of the feed-level property's value. - Post-Condition: JsonNodeType.Property: the next feed property to read or - JsonNodeType.EndObject: the end of the results wrapper - - - - - Read an entry-level property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value. - - The value of the stream property. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the stream reference (after the EndObject) - - - - - Reads the uri property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'uri' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the id property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'id' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the etag property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_src property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_src' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the edit_media property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'edit_media' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the content_type property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'content_type' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_etag property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the actions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'actions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the functions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'functions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Read the property metadata for the properties of an entry being read. - - The entry state for the current reader. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'properties' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - This method will not validate anything against the model because it will read the type name and thus it can't rely - on knowing the actual type of the entry being read. - - - - - Read the 'actions' or 'functions' metadata for the entry being read. - - The the 'actions' or 'functions' metadata is read for. - When True the 'actions' metadata is being read, otherwise 'functions' metadata is being read. - - Pre-Condition: first node of the 'actions' or 'functions' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the stream reference metadata from the value of the __mediaresource property. - - The value of the stream reference with the metadata properties filled. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: Either a property node or an EndObject node. - - - - - Tries to resolve the payload URI using the custom URI resolver. If the custom resolver fails, it returns the actual URI from the payload. - - the URI to be resolved. - A resolved URI or the URI from the payload, if the custom resolver fails. - - - - Validates that the value of a JSON property can represent navigation link. - - true if the property is entity set reference property; false for a resource reference property. - - - - Determines whether a property of an entry should be skipped during reading. - - true if the current property should be skipped; otherwise false. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData Verbose JSON deserializer for errors. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a top-level error. - - An representing the read error. - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: any - will throw if not StartObject - Post-Condition: JsonNodeType.Property - The next property in the error value - JsonNodeType.EndObject - The end of the error value - - - - - Implementation of the OData input for Verbose JSON OData format. - - - - The text reader created for the input stream. - - The ODataJsonInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The reader to read data from. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - OData JSON deserializer for service documents. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Class representing implementation specific debugging information to help determine the cause of the error. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class with exception object. - The used to create the inner error. - - - Gets or sets the error message. - The error message. - - - Gets or sets the type name of this error, for example, the type name of an exception. - The type name of this error. - - - Gets or sets the stack trace for this error. - The stack trace for this error. - - - Gets or sets the nested implementation specific debugging information. - The nested implementation specific debugging information. - - - - OData representation of a top-level collection. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the name of the collection (ATOM only). - The name of the collection. - - - - Provides additional serialization information to the for this . - - - - - OData collection reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Set to true if collections are expected to have the 'results' wrapper. - Collections are only expected to have a results wrapper if - (a) the protocol version is >= 2 AND - (b) we are reading a response - NOTE: OIPI does not specify a format for >= v2 collections in requests; we thus use the v1 format and consequently do not expect a result wrapper. - - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state, the Item property of the returns null. - - - - The reader has started reading and is reading the start element of the collection wrapper (if any). - No items have been read. - - - In this state, the Item property of the returns - an instance of . - - - - - The reader read an item from the collection. - - In this state, the Item property of the returns the read item (a primitive value, an ODataComplexValue or null). - - - - The reader has finished reading and is reading the end element of the collection wrapper (if any). - All items have been read. - - - In this state, the Item property of the returns the same - instance of as in state CollectionStart. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state, the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state, the Item property of the returns null. - - - - - Exception type representing an in-stream error parsed when reading a payload. - - - - The value containing instance representing the error - read from the payload. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an object. - The instance representing the error read from the payload. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message and an object. - The plain text error message for this exception. - The instance representing the error read from the payload. - - - Creates a new instance of the class with an error message, an inner exception, and an object. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - The instance representing the error read from the payload. - - - Gets the instance representing the error read from the payload. - The instance representing the error read from the payload. - - - - Implement the ISafeSerializationData interface to contain custom exception data in a partially trusted assembly. - Use this interface in post-ORCAS to replace the Exception.GetObjectData method, which is marked with the SecurityCriticalAttribute. - - - - - Gets or sets the object. - - - - - Implementation of the OData input for RAW OData format (raw value and batch). - - - - Use a buffer size of 4k that is read from the stream at a time. - - - The to read. - - - The encoding to use to read from the batch stream. - - - The input stream to read the data from. - - - The text reader to read non-binary values from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - The to read. - - - - Create a . - - The batch boundary to use. - The newly created . - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Disposes the input context. - - - - - Create a . - - The batch boundary to use. - If the reader should be created for synchronous or asynchronous API. - The newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Read the binary value from the stream. - - A byte array containing all the data read. - - - - Reads the content of a text reader as string and, if is specified and primitive type conversion - is enabled, converts the string to the expected type. - - The expected type of the value being read or null if no type conversion should be performed. - The raw value that was read from the text reader either as string or converted to the provided . - - - - The stream of the raw input context. - - - - - Handles serialization and deserialization for a specified set of primitive types. - - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Set of type converters that implement their own conversion using IPrimitiveTypeConverter. - - - Set of type converters that are known to this instance which convert values based on the ISpatial type. - - - - Create a new instance of the converter. - - Set of type converters to register for the ISpatial based values. - - - - Try to create an object of type from the value in . - - XmlReader to use to read the value. - Expected type of the value in the reader. - Object of type , null if no object could be created. - True if the value was converted to the specified type, otherwise false. - - - - Try to write the XML representation of to the specified - - Object to convert to XML representation. - XmlWriter to use to write the converted value. - True if the value was written, otherwise false. - - - - Try to write the Verbose JSON representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - Type name of the instance. If the type name is null, the type name is not written. - The OData protocol version to be used for writing payloads. - - - - Try to write the JSON Lite representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - The OData protocol version to be used for writing payloads. - - - - Tries to write the value of object instance using a registered primitive type converter. - - Object to write. - Method to use when writing the value, if a registered converter is found for the type. - True if the value was written using a registered primitive type converter, otherwise false. - - - - Get the primitive type converter for the given type. - - Clr type whose primitive type converter needs to be returned. - Converter for the given clr type. - True if a converter was found for the given type, otherwise returns false. - - - PrimitiveConverter instance for use by the Atom and Json readers and writers. - - - - Annotation which stores a list of projected properties for an entry. - - - - The special '*' segment indicating that all properties are selected. - - - - Cached projected properties annotation with no properties projected. - - - - - Cached projected properties annotation with all properties projected. - - - - - A hash set with the projected property names. - - - - Initializes a new instance of the class. - The enumeration of projected property names. - - - - Constructor. - - - - - Determines if a property is in a list of projected properties. - - The name of the property to lookup. - true if the property is projected; false otherwise. - Note that we allow null and empty property names here for the lookup just so that - we don't have to validate before we skip them. If we would not skip them, the writing would fail later on anyway. - - - - Adds the specified property name to the set of projected properties (if it is not already included). - - The name of the property to include in the set of projected properties. - - - - Removes the specified property name from the set of projected properties. - - The name of the property to remove from the set of projected properties. - - - - Projected properties annotation with no properties projected. - - - - - Projected properties annotation with all properties projected. - - - - - The set of projected property names. - - - - - Class with utility methods for reading OData content. - - - - - Creates a new instance to return to the user. - - The newly created entry. - The method populates the Properties property with an empty read only enumeration. - - - Checks for duplicate navigation links and if there already is an association link with the same name - sets the association link URL on the navigation link. - The duplicate property names checker for the current scope. - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - - - Checks that for duplicate association links and if there already is a navigation link with the same name - sets the association link URL on that navigation link. - The duplicate property names checker for the current scope. - The association link to be checked. - - - - Adds an association link to an entry. - - The entry to get or create the association link for. - The navigation property to get or create the association link for. - The association link that we either retrieved or created for the . - - - - Returns true if the specified is set in the . - - The value of the setting to test. - The flag to test. - true if the flas is present, flase otherwise. - - - - Gets the expected property name from the specified property or function import. - - The to get the expected property name for (or null if none is specified). - The expected name of the property to be read from the payload. - - - - Class with utility methods for validating OData content when reading. - - - - - Validates that message reader settings are correct. - - The message reader settings to validate. - true if the settings were specified when reading a response, false when reading a request. - - - - Validates an entity reference link. - - The entity reference link to check. - - - - Validates a stream reference property. - - The stream property to check. - The owning type of the stream property or null if no metadata is available. - The stream property defined by the model. - The message reader settings being used. - - - - Validate a null value. - - The used to read the payload. - The expected type of the null value. - The message reader settings. - true to validate the the null value; false to only check whether the type is supported. - The version used to read the payload. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Validates an to ensure all required information is specified and valid. - - The entry to validate. - - - - Finds a defined property from the model if one is available. - The structured type can be null if no metadata is available. - - The name of the property to find. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - true if the property should be completely ignored and not parsed/reported, in this case the return value is null. - false if the property should be parsed and reported as usual. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that the expected property name matches the property name read from the payload. - - The expected property name. - The property name read from the payload. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The message reader settings being used. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Creates an exception used when primitive type conversion fails. - - The target type reference to which the conversion failed. - Possible inner exception with more information about the failure. - The exception object to throw. - - - - Resolved the payload type name to the type. - - The model to use for the resolution. - The expected type reference, or null if no expected type is available. - The payload type name to resolve. - The default payload type kind, this is used when the resolution is not possible, - but the type name is not empty. (Should be either Complex or Entity). - Reader behavior to use for compatibility. - The version of the payload being read. - This is set to the detected payload type kind, or None if the type was not specified. - The resolved type. This may be null if either no user-specified model is specified, or the type name is not recognized by the model. - The method detects the payload kind even if the model does not recognize the type. It figures out primitive and collection types always, - and uses the for the rest. - - - - Resolves and validates the payload type against the expected type and returns the target type. - - The expected type kind for the value. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The expected type reference, or null if no expected type is available. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - A func to compute the type kind from the payload shape if it could not be determined from the expected type or the payload type. - The target type kind to be used to read the payload. - Potentially non-null instance of an annotation to put on the value reported from the reader. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Resolves the primitive payload type versus the expected type and validates that such combination is allowed. - - The expected type reference, if any. - The kind of the payload type, or None if the detection was not possible. - The resolved payload type, or null if no payload type was specified. - The name of the payload type, or null if no payload type was specified. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The model to use. - The message reader settings to use. - The version of the payload being read. - The target type reference to use for parsing the value. This method never returns null. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type kind, this may be the one from the type itself, or one detected without resolving the type. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Validates that the specified encoding is supported in batch/changeset envelopes (headers, boundaries, preamble, etc.). - - The to check. - - - - Validates whether the specified type reference is supported in the current version. - - The type reference to check. - The version currently used. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - entity set and entity type when reading a feed or entry payload. This method updates - the if the metadata URI specifies more derived information. - - The parse result of the metadata URI from the payload. - The top-level scope representing the reader state. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - navigation property. - - The parse result of the metadata URI from the payload. - The expected navigation property. - This method is used to validate metadata URIs for both singleton entity reference links - and collections of entity reference links. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - collection item type when reading collection payloads. - - The parse result of the metadata URI from the payload. - The expected item type of the collection items. - The actual item type of the collection items. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - The header for the operation, either 'actions' or 'functions'. - - - - Resolves the payload type if there's no expected type. - - The expected type kind for the value. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when the strict validation is disabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when strict validation is enabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Verifies that payload type is defined if the payload type name is present. - - The type name from the payload. - The resolved type from the model. - - - - Verifies that complex type is valid against the expected type. - - The expected type reference. - The payload type. - true if the method should fail if the doesn't match the ; - false if the method should just return in that case. - - The method verifies that the is not a derived complex type of the - and always fails in that case. - - - - - Verifies that in case of collection types, the item type is valid. - - The expected type reference. - The payload type. - - This method verifies that item type is not a derived complex type, we want to explicitly disallow that case for possible future enablement. - - - - - Conditionally creates the annotation to put on the read value in order to retain the type name from the payload. - - The payload type name. - The type reference into which we're going to parse. - The annotation to report to the reader for adding on the read value. - - - - Computes the type kind to be used to read the payload from the expected type, the payload type and - possibly the payload shape. - - The expected type reference used to read the payload value. - true when resolving a type name for an entity value; false for a non-entity value. - The type name read from the payload. - The type kind of the payload value. - The message reader settings. - A func to determine the type kind of the value by analyzing the payload data. - The type kind to be used to read the payload. - - - - Gets the expected type kind based on the given , or EdmTypeKind.None if no specific type should be expected. - - The expected type reference. - The message reader settings. - The expected type kind based on the settings and type reference, or EdmTypeKind.None if no specific type should be expected. - - - - Determines if the expect value type and the current settings mandate us to validate type kinds of payload values. - - The message reader settings. - The expected type reference for the value infered from the model. - The type kind of the payload value. - true if the payload value kind must be verified, false otherwise. - This method deals with the strict versus lax behavior, as well as with the behavior when primitive type conversion is disabled. - - - - Validates that the specified allows null values. - - The expected type for the value, or null if no such type is available. - true to validate the null value; otherwise false. - The model to use to get the data service version. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Create and throw exception that a null value was found when the expected type is non-nullable. - - The expected type for this value. - The name of the property whose value is being read, if applicable. - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Implementation of IEnumerable>T< which is based on a List>T< - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of a single item in the enumeration. - - - - The IEnumerable to wrap. - - - - - The empty instance of ReadOnlyEnumerableOfT. - - - - - Constructor which initializes the enumerable with an empty list storage. - - - - - Constructor. - - The list of values to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Gets the empty instance of ReadOnlyEnumerableOfT. - - Returns the empty instance of ReadOnlyEnumerableOfT. - - - - This internal method adds to the wrapped source list. From the public's perspective, this enumerable is still readonly. - - Item to add to the source list. - - - - Annotation which stores the type name to serialize. - - - This annotation will be recognized on ODataEntry, ODataComplexValue, ODataCollectionValue and ODataPrimitiveValue. - - - - Gets or sets the type name to serialize, for the annotated item. - The type name to serialize, for the annotated item. - - If this property is null, no type name will be written. - If this property is non-null, the property value will be used as the type name written to the payload. - If this annotation is present, it always overrides the type name specified on the annotated item. - If this annotation is not present, the value of the TypeName property on the ODataEntry, ODataComplexValue or ODataCollectionValue - is used as the type name in the payload. - - - - - Uri utility methods. - - - - - Returns the unescaped string representation of the Uri; if the Uri is absolute returns the absolute Uri otherwise the original string. - - The Uri to convert to a string. - For absolute Uris the string representation of the absolute Uri; otherwise the Uri's original string. - - - - Class with utility methods for validating OData content when writing. - - - - - Validates that message writer settings are correct. - - The message writer settings to validate. - True if we are writing a response. - - - - Validates an for not being null. - - The property to validate for not being null. - - - - Validates a property name to ensure all required information is specified. - - The property name to validate.. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Validates an entry in an expanded link to make sure the entity types match. - - The of the entry. - The type of the parent navigation property. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - The version of the OData protocol used for checking. - true if we are writing a response; otherwise false. - - - - Validates that an can be written. - - The operation (an action or a function) to validate. - true if writing a response; otherwise false. - - - - Validates an to ensure all required information is specified and valid on the WriteEnd call. - - The feed to validate. - Flag indicating whether the feed is written as part of a request or a response. - The version of the OData protocol used for checking. - - - - Validates an to ensure all required information is specified and valid on WriteStart call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid on WriteEnd call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid. - - The stream reference to validate. - true if is the default stream for an entity; false if it is a named stream property value. - - - - Validates a named stream property to ensure it's not null and it's name if correct. - - The stream reference property to validate. - Property metadata to validate against. - The version of the OData protocol used for checking. - true when writing a response; otherwise false. - This does NOT validate the value of the stream property, just the property itself. - - - - Validates that the specified is not null. - - The entity reference link to validate. - This should be called only for entity reference links inside the ODataEntityReferenceLinks.Links collection. - - - - Validates an entity reference link instance. - - The entity reference link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The navigation link to validate. - The declaring the navigation property; or null if metadata is not available. - The of the expanded content of this navigation link or null for deferred links. - The type of the navigation property for this navigation link; or null if no was specified. - - - - Validates that the specified navigation link has a Url. - - The navigation link to validate. - - - - Validates that the sepcified navigation link has cardinality, that is it has the IsCollection value set. - - The navigation link to validate. - - - - Validates that the expected property allows null value. - - The expected property type or null if we don't have any. - The name of the property. - The instance controlling the behavior of the writer. - The model to use to get the data service version. - - - - Validates the value of the Id property on an entry. - - The id value for an entry to validate. - - - - Extension methods for the JSON reader. - - - - - Reads the next node from the and verifies that it is a StartObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an StartArray node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndArray node. - - The to read from. - - - - Verifies that the current node is a property node and returns the property name. - - The to read from. - The property name of the current property node. - - - - Reads the next node from the , verifies that it is a Property node and returns the property name. - - The to read from. - The property name of the property node read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node. - - The to read from. - The primitive value read from the reader. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The name of the property for which to read the string; used in error messages only. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type double. - - The to read from. - The double value read from the reader; throws an exception if no double value could be read. - - - - Skips over a JSON value (primitive, object or array). - - The to read from. - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Reads the next node. Use this instead of the direct call to Read since this asserts that there actually is a next node. - - The to read from. - The node type of the node that reader is positioned on after reading. - - - - Determines if the reader is on a value node. - - The reader to inspect. - true if the reader is on PrimitiveValue, StartObject or StartArray node, false otherwise. - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Creates an exception instance that is appropriate for the current library being built. - Allows the code in this class to be shared between ODataLib and the common spatial library. - - String to use for the exception messag. - Exception to be thrown. - - - - Reads the next node from the and verifies that it is of the expected node type. - - The to read from. - The expected of the read node. - - - - Validates that the reader is positioned on the specified node type. - - The to use. - The expected node type. - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state the Item property of the returns null. - - - The start of a feed has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the FeedEnd state is reached. - - - - The end of a feed has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of an entry has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the EntryEnd state is reached. - - - - The end of an entry has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of a navigation link has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the LinkEnd state is reached. - - - - The end of a navigation link has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - An entity reference link was read. - - In this state the Item property of the returns - an which is fully populated. - Note that there's no End state for this item. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state the Item property of the returns null. - - - - - Class for reading OData batch messages; also verifies the proper sequence of read calls on the reader. - - - - - An interface that allows creators of a to listen for status changes - of the operation stream. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - A task representing any async operation that is running in reaction to the - status change (or null if no such action is required). - - - - - This method notifies the implementer of this interface that the content stream of a batch operation has been disposed. - - - - The input context to read the content from. - - - The batch stream used by the batch reader to devide a batch payload into parts. - - - True if the writer was created for synchronous operation; false for asynchronous. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The current state of the batch reader. - - - The current size of the batch message, i.e., how many query operations and changesets have been read. - - - The current size of the active changeset, i.e., how many operations have been read for the changeset. - - - An enumeration tracking the state of the current batch operation. - - - The value of the content ID header of the current part. - - The content ID header of the current part should only be visible to subsequent parts - so we can only add it to the URL resolver once we are done with the current part. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - true if the reader is created for synchronous operation; false for asynchronous. - - - Reads the next part from the batch message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next part from the batch message payload. - A task that when completed indicates whether more items were read. - - - Returns an for reading the content of a batch operation. - A request message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a request message for reading the content of a batch operation. - - - Returns an for reading the content of a batch operation. - A response message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a response message for reading the content of a batch operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the reader; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - Returns the next state of the batch reader after an end boundary has been found. - - The next state of the batch reader. - - - - Reads the next part from the batch message payload. - - true if more information was read; otherwise false. - - - - Asynchronously reads the next part from the batch message payload. - - A task that when completed indicates whether more information was read. - - - - Continues reading from the batch message payload. - - true if more items were read; otherwise false. - - - - Skips all data in the stream until the next part is detected; then reads the part's request/response line and headers. - - The next state of the batch reader after skipping to the next part and reading the part's beginning. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Parses the request line of a batch operation request. - - The request line as a string. - The parsed HTTP method of the request. - The parsed of the request. - - - - Parses the response line of a batch operation response. - - The response line as a string. - The parsed status code from the response line. - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling CreateOperationResponseMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Validates that the batch reader is ready to process a new read or create message request. - - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - - Sets the 'Exception' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state Exception and then rethrow the exception. - - The type of the result returned from the . - The action to execute. - The result of the . - - - Gets the current state of the batch reader. - The current state of the batch reader. - - - - An enumeration to track the state of a batch operation. - - - - No action has been performed on the operation. - - - The batch message for the operation has been created and returned to the caller. - - - The stream of the batch operation message has been requested. - - - The stream of the batch operation message has been disposed. - - - - Configuration settings for OData message readers. - - - - - A instance representing any knobs that control the behavior of the readers - inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class. - The other message reader settings. - - - Sets the atom entry XML customization callback. - The atom entry XML customization callback. - - This method only affects ATOM format payloads. For payloads of other formats this method has no effect. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true to use V1 provider; otherwise, false. - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - Callback to determine whether operations bound to a particular entity type must be qualified with a container name when appearing in a $select clause. - - - - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - - Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. - The base URI. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the model or provided as an expected type. Note that values will still be converted to the type specified in the payload itself. - true if primitive values and report values are not converted; false if all primitive values are converted to the type specified in the model or provided as an expected type. The default value is false. - - - Gets or sets the behavior the reader should use when it finds undeclared property. - The behavior the reader should use when it finds undeclared property. - - This setting has no effect if there's no model specified for the reader. - This setting must be set to Default when reading request payloads. - - Detailed behavior description: - ODataUndeclaredPropertyBehaviorKind.Default - If an undeclared property is found reading fails. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will fail. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - the link will be read and reported as a deferred navigation link. - - __mediaresource value is found - the link will be read and reported as a stream property - - If nothing from the above matches the reading fails. - - Undeclared association links inside __metadata/properties will be read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value - it will be read as navigation/association link - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - Any other property (that is property with a value or property with no annotation mentioned above) will fail. - - ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared property inside m:properties is ignored (not even read). - - Undeclared navigation link, stream property link or association link fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - fail as undeclared deferred nav. link. - - __mediaresource value is found - fail as undeclared stream property. - - All other properties are ignored and not read. - - Undeclared association links inside __metadata/properties fail. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it (deferred or expanded navigation link) - - fail as undeclared navigation property - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - fail as undeclared stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty | ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will be read and the navigation link part will be reported, - the expanded content will be ignored and not read or reported. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties will be ignored and not read. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - read and report a deferred navigation link. - - __mediaresource value is found - read and report stream property. - - All other properties are ignore and not read. - - Undeclared association links inside __metadata/properties are read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value (deferred navigation link) - - it will be read as navigation/association link - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and with value (expanded navigation link) - - it will be read, the navigation and association link will be reported and the content will be ignored. - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - Note that there's one difference between ATOM/JSON Light and Verbose JSON. In ATOM and JSON Light expanded links are treated as both - undeclared link and a value property. The URLs are the link part, the expanded content is the value part. - In Verbose JSON expanded links are treated as a value property as a whole. Since in JSON expanded links don't actually have - the link part (the payload doesn't contain the "href") this is not such a big difference. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets the maximum OData protocol version the reader should accept and understand. - The maximum OData protocol version the reader should accept and understand. - - If the payload to be read has higher DataServiceVersion than the value specified for this property - the reader will fail. - Reader will also not report features which require higher version than specified for this property. - It may either ignore such features in the payload or fail on them. - - - - - false - metadata validation is strict, the input must exactly match against the model. - true - metadata validation is lax, the input doesn't have to match the model in all cases. - This property has effect only if the metadata model is specified. - - - Strict metadata validation: - Primitive values: The wire type must be convertible to the expected type. - Complex values: The wire type must resolve against the model and it must exactly match the expected type. - Entities: The wire type must resolve against the model and it must be assignable to the expected type. - Collections: The wire type must exactly match the expected type. - If no expected type is available we use the payload type. - Lax metadata validation: - Primitive values: If expected type is available, we ignore the wire type. - Complex values: The wire type is used if the model defines it. If the model doesn't define such a type, the expected type is used. - If the wire type is not equal to the expected type, but it's assignable, we fail because we don't support complex type inheritance. - If the wire type if not assignable we use the expected type. - Entities: same as complex values except that if the payload type is assignable we use the payload type. This allows derived entity types. - Collections: If expected type is available, we ignore the wire type, except we fail if the item type is a derived complex type. - If no expected type is available we use the payload type and it must resolve against the model. - If DisablePrimitiveTypeConversion is on, the rules for primitive values don't apply - and the primitive values are always read with the type from the wire. - - - - - The reader behavior that holds all the knobs needed to make the reader - behave differently inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - - Whether or not to report any undeclared link properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Whether or not to ignore any undeclared value properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Reader class used to read all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message reader was created. - - - A flag indicating whether we are reading a request or a response message. - - - The message reader settings to use when reading the message payload. - - - The model. Non-null if we do have metadata available. - - - The to be used for reading the payload. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The resolver to use when determining an entity set's element type. - - - Flag to ensure that only a single read method is called on the message reader. - - - true if Dispose() has been called on this message reader, false otherwise. - - - The input context used to read the message content. - - - The payload kind of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The parsed from the content type header. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The batch boundary string if the payload to be read is a batch request or response. - This is set implicitly when the CreateBatchReader method is called. - - - The media type resolver to use when interpreting the incoming content type. - - - Storage for format specific states from payload kind detection. - - - Creates a new for the given request message. - The request message for which to create the reader. - - - Creates a new for the given request message and message reader settings. - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given request message and message reader settings. - - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the reader. - - - Creates a new for the given response message and message reader settings. - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given response message and message reader settings. - - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Creates an to read a feed. - The created reader. - - - - Creates an to read a feed. - - The expected base type for the entities in the feed. - The created reader. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - The created reader. - - - Asynchronously creates an to read a feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The expected base type for the entities in the feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - A running task for the created reader. - - - Creates an to read an entry. - The created reader. - - - - Creates an to read an entry. - - The expected entity type for the entry to be read. - The created reader. - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The created reader. - - - Asynchronously creates an to read an entry. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The expected entity type for the entry to be read. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - A running task for the created reader. - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - The created collection reader. - - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - The created collection reader. - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection reader. - - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - A running task for the created collection reader. - - - Creates an to read a batch of requests or responses. - The created batch reader. - - - Asynchronously creates an to read a batch of requests or responses. - A running task for the created batch reader. - - - - Creates an to read the parameters for . - - The function import whose parameters are being read. - The created parameter reader. - - - - Asynchronously creates an to read the parameters for . - - The function import whose parameters are being read. - A running task for the created parameter reader. - - - Reads a service document payload. - The service document read. - - - Asynchronously reads a service document payload. - A task representing the asynchronous operation of reading the service document. - - - Reads an as message payload. - The property read from the payload. - - - - Reads an as message payload. - - The expected type reference of the property to read. - The property read from the payload. - - - - Reads an as message payload. - - The metadata of the property to read. - The property read from the payload. - - - Asynchronously reads an as message payload. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The expected type reference of the property to read. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The metadata of the property to read. - A task representing the asynchronous operation of reading the property. - - - Reads an as the message payload. - The read from the message payload. - - - Asynchronously reads an as the message payload. - A task representing the asynchronous operation of reading the error. - - - Reads the result of a $links query (entity reference links) as the message payload. - The entity reference links read as message payload. - - - - Reads the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - The entity reference links read as message payload. - - - Asynchronously reads the result of a $links query as the message payload. - A task representing the asynchronous reading of the entity reference links. - - - - Asynchronously reads the result of a $links query as the message payload. - - The navigation property for which to read the entity reference links. - A task representing the asynchronous reading of the entity reference links. - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - The entity reference link read from the message payload. - - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - The entity reference link read from the message payload. - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - A running task representing the reading of the entity reference link. - - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - A running task representing the reading of the entity reference link. - - - - Reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The read value. - - - - Asynchronously reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - A running task representing the reading of the value. - - - Reads the message body as metadata document. - Returns . - - - implementation to cleanup unmanaged resources of the reader. - - - - Determines the format of the payload being read and returns it. - - The format of the payload being read by this reader. - - The format of the payload is determined when starting to read the message; - if this method is called before reading has started it will throw. - - - - - Processes the content type header of the message to determine the format of the payload, the encoding, and the payload kind. - - All possible kinds of payload to be read with this message reader; must not include ODataPayloadKind.Unsupported. - - - - Gets the content type header of the message and validates that it is present and not empty. - - The content type header of the message. - - - - Verify arguments for creation of an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entities in the feed. - - - - Verify arguments for creation of an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - - - - Verify arguments for creation of an to read a collection of primitive or complex values - (as result of a service operation invocation). - - The expected type for the items in the collection. - - - - Verify arguments for creation of a batch as the message body. - - - - - Verify arguments for creation of an to read the parameters for . - - The function import whose parameters are being read. - - - - Verify arguments for reading of a service document payload. - - - - - Verify arguments for reading of a metadata document payload. - - - - - Verify arguments for reading of an as message payload. - - The metadata of the property to read. - - - - Verify arguments for reading of an as message payload. - - The expected type reference of the property to read. - - - - Verify arguments for reading of an as the message payload. - - - - - Verify arguments for reading of the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - - - - Verify arguments for reading of a singleton result of a $links query (entity reference link) as the message payload. - - - - - Verify arguments for reading of a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The payload kinds allowed for the given expected type. - - - - Verifies that the ODataMessageReader has not been used before; an ODataMessageReader can only be used to - read a single message payload but cannot be reused later. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Method which creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - The read value from the input. - - - - Gets all the supported payload kinds for a given content type across all formats and returns them. - - The set of supported payload kinds for the content type of the message. - true if no or a single payload kind was found for the content type; false if more than one payload kind was found. - - - - Compares two payload kind detection results. - - The first . - The second . - -1 if is considered less than , - 0 if the kinds are considered equal, 1 if is considered greater than . - - - - Get an enumerable of tasks to get the supported payload kinds for all formats. - - All payload kinds for which we found matches in some format based on the content type. - The list of combined detection results after sniffing. - A lazy enumerable of tasks to get the supported payload kinds for all formats. - - - - Method which asynchronously creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - A task which when completed return the read value from the input. - - - - The message reader settings to use when reading the message payload. - - - - - The media type resolver to use when interpreting the incoming content type. - - - - - Enumeration of all JSON node type. - - - - - No node - invalid value. - - - - - Start of JSON object record, the { character. - - - - - End of JSON object record, the } character. - - - - - Start of JSON array, the [ character. - - - - - End of JSON array, the ] character. - - - - - Property, the name of the property (the value will be reported as a separate node or nodes) - - - - - Primitive value, that is either null, true, false, number or string. - - - - - End of input reached. - - - - - Utility methods used with the OData library. - - - - String representation of the version 1.0 of the OData protocol. - - - String representation of the version 2.0 of the OData protocol. - - - String representation of the version 3.0 of the OData protocol. - - - Sets the content-type and data service version headers on the message used by the message writer. - The content-type and data service version headers on the message used by the message writer. - The message writer to set the headers for. - The kind of payload to be written with the message writer. - - This method can be called if it is important to set all the message headers before calling any of the - write methods on the . - If it is sufficient to set the headers when the write methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - - - Returns the format used by the message reader for reading the payload. - The format used by the messageReader for reading the payload. - The to get the read format from. - This method must only be called once reading has started. - This means that a read method has been called on the or that a reader (for entries, feeds, collections, etc.) has been created. - If the method is called prior to that it will throw. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The to process. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The containing the annotations. - The to process. - - - - Checks whether the has a default stream. - - The containing the annotation. - The to check. - true if the entity type has a default stream; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to add a default stream to the entity type; false to remove an existing default stream (if any). - - - - Checks whether the is the default entity container. - - The containing the annotation. - The to check. - true if the is the default container; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to set the as the default container; false to remove an existing default container annotation (if any). - - - - Checks whether the has a MIME type annotation. - - The containing the annotation. - The to check. - The (non-null) value of the MIME type annotation of the or null if no MIME type annotation exists. - - - - Sets the MIME type annotation of the to . - - The containing the annotation. - The to modify. - The MIME type value to set as annotation value; if null, an existing annotation will be removed. - The MIME type annotation is only supported on service operations and primitive properties for serialization purposes. - - - - Checks whether the has an HttpMethod annotation. - - The containing the annotation. - The to check. - The (non-null) value of the HttpMethod annotation of the or null if no such annotation exists. - - - - Sets the HttpMethod annotation of the to . - - The contatining the annotation. - The to modify. - The HttpMethod value to set as annotation value; if null, an existing annotation will be removed. - The HttpMethod annotation is only supported on service operations for serialization purposes. - - - - Gets the value of IsAlwaysBindable annotation on the . - - The containing the annotation. - The to get the annotation from. - The value of the annotation if it exists; false otherwise. - Thrown if the IsAlwaysBindable annotation is set to true for a non-bindable . - - - - Sets the value of IsAlwaysBindable annotation of the to - - The containing the annotation. - The to set the annotation on. - The value of the annotation to set. - Thrown if IsAlwaysBindable is set to true for a non-bindable . - - - - Gets the reader behavior for null property value on the specified property. - - The model containing the annotation. - The property to check. - The behavior to use when reading null value for this property. - - - - Adds a transient annotation to indicate how null values for the specified property should be read. - - The containing the annotations. - The to modify. - The new behavior for reading null values for this property. - - - Displays the OData version to string representation. - The OData version. - The OData version. - - - Displays a string to OData version representation. - The OData version. - The OData version. - - - - Translates the to a func that would evalutate whether the filter would match a given annotation name. - The func would evaluate to true if the matches the annotation name that's passed to the it, and false otherwise. - - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - Returns a func which would evaluate to true if the matches the annotation name that's passed to the it, - and false otherwise. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - Assumes that the entity type and the model have been validated. - - The containing the annotations. - The to process. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true to search the base type hierarchy of the structured type for the annotation; otherwise false. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method will throw. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method wil throw. - - - - Sets the as value of the annotation - on the . - - The model containing the annotation. - The annotatable to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Class which takes an input stream, buffers the entire content asynchronously and exposes it as a stream - which can be read synchronously. - - - - - List of buffers which store the data. - - - - - The input stream to read from. This is used only during the buffering and is set to null once we've buffered everything. - - - - - Points to the buffer currently being processed. - When writing into the buffers this points to the last buffer to which the bytes should be written. - When reading from the buffers this points to the buffer from which we are currently reading. - - - - - Number of bytes read from the current buffer. - - - - - Private constructor. - - The stream to read from. - - - - Flush the stream to the underlying storage. This operation is not supported by this stream. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Given the this method returns a task which will asynchronously - read the entire content of that stream and return a new synchronous stream from which the data can be read. - - The input stream to asynchronously buffer. - A task which returns the buffered stream. - - - - Resets the stream to the begining and prepares it for reading. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Returns enumeration of tasks to run to buffer the entire input stream. - - Enumeration of tasks to run to buffer the input stream. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Adds a new buffer to the list and makes it the current buffer. - - The newly added buffer. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The minimum size to ask for when reading from underlying stream. - - - - - The size of a buffer to allocate - use 64KB to be aligned which makes it likely that the underlying levels - will be able to process the request in one go. - - - - - The byte buffer which stored the data. - - - - - Constructor - creates a new buffer; - - - - - Marks specified count of bytes as written starting at the OffsetToWriteTo. - - The number of bytes to mark as written. - - - - The byte buffer. - - - - - The offset into the buffer to which more data can be written. - - - - - The number of bytes stored in the buffer. - - - - - The number of bytes not yet used in the buffer. - - - - - Generic utility methods. - - - - - Calls IDisposable.Dispose() on the argument if it is not null - and is an IDisposable. - - The instance to dispose. - 'True' if IDisposable.Dispose() was called; 'false' otherwise. - - - - Asynchronously flushes a stream. - - The stream to flush. - Task which represents the pending Flush operation. - - - - Perform a stable sort of the using the specified . - - The type of the items in the array to sort. - The array to sort. - The comparison to use to compare items in the array - Array of KeyValuePairs where the sequence of Values is the sorted representation of . - - - - Stable comparer of a sequence of key/value pairs where each pair - knows its position in the sequence and its value. - - The type of the values in the sequence. - - - - The to compare the values. - - - - - Constructor. - - The to compare the values. - - - - Compares two key/value pairs by first comparing their value. If the values are equal, - the position in the array determines the relative order (and preserves the original relative order). - - First key/value pair. - Second key/value pair. - - A value < 0 if is less than . - The value 0 if is equal to . Note this only happens when comparing the same items when used in StableSort. - A value > 0 if is greater than . - - This method will never return the value 0 since the input sequence is constructed in a way - that all key/value pairs have unique indeces. - - - - Class with utility methods for dealing with OData metadata. - - - - - Returns the annotation in the OData metadata namespace with the specified . - - The containing the annotation. - The to get the annotation from. - The local name of the annotation to find. - The value of the annotation in the OData metadata namespace and with the specified . - true if an annotation with the specified local name was found; otherwise false. - - - - Sets the annotation with the OData metadata namespace and the specified on the . - - The containing the annotations."/> - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Gets all the serializable annotations in the OData metadata namespace on the . - - The containing the annotations."/> - The to get the annotations from. - All annotations in the OData metadata namespace; or null if no annotations are found. - - - - Gets the EDM type of an OData instance from the of the instance (if available). - - The OData instance to get the EDM type for. - The EDM type of the if available in the annotation. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used by writers. - Thus it implements the strict speced behavior. - - The model to use. - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used be readers. - Thus it can be a bit looser. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Custom type resolver to use, if null the model is used directly. - The version to use when resolving the type name. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Calculates the operations that are always bindable to the given type. - - The binding type in question. - The model to search for operations. - The edm type resolver to get the parameter type. - An enumeration of operations that are always bindable to the given type. - - - - Looks up the given term name in the given model, and returns the term's type if a matching term was found. - - The name of the term to lookup, including the namespace. - The model to look in. - The type of the term in the model, or null if no matching term was found. - - - - Gets the nullable type reference for a payload type; if the payload type is null, uses Edm.String. - - The payload type to get the type reference for. - The nullable for the . - - - - Class with utility methods for validating OData content (applicable for readers and writers). - - - - Maximum batch boundary length supported (not includeding leading CRLF or '-'). - - - The set of characters that are invalid in property names. - Keep this array in sync with MetadataProviderUtils.InvalidCharactersInPropertyNames in Astoria. - - - - Validates that an open property value is supported. - - The name of the open property. - The value of the open property. - - - - Validates a type kind for a value type. - - The type kind. - The name of the type (used for error reporting only). - - - - Validates that is a valid type name for a collection and returns its item type name. - - The name of the collection type. - The item type name for the . - - - - Validates that the is assignable to the - and fails if it's not. - - The expected entity type reference, the base type of the entities expected. - The payload entity type reference to validate. - - - - Validates that the represents a collection type. - - The type reference to validate. - The instance representing the collection passed as . - - - - Validates an item of a collection to ensure it is not of collection and stream reference types. - - The collection item. - True if the items in the collection are streamable, false otherwise. - - - - Validates a null collection item against the expected type. - - The expected item type or null if no expected item type exists. - The instance controlling the behavior of the writer. - - - - Validates a stream reference property to ensure it's not null and its name if correct. - - The stream reference property to validate. - Property metadata to validate against. - - - - Validates an to ensure it's not null. - - The association link to ensure it's not null. - - - - Validates the name for an association link. - - The name of the association link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - - - - Increases the given recursion depth, and then verifies that it doesn't exceed the recursion depth limit. - - The current depth of the payload element hierarchy. - The maximum allowed recursion depth. - - - - Validates an to ensure it's not null. - - The operation to ensure it's not null. - Whether is an . - - - - Validates an to ensure its metadata is specified and valid. - - The operation to validate. - - - - Validates an to ensure its target is specified and valid. - - The operation to validate. - - - - Validates that the specified is a valid entry as per the specified type. - - The entry to validate. - Optional entity type to validate the entry against. - Model containing the entity type. - true if the validation of the default MediaResource should be done; false otherwise. - If the is available only entry-level tests are performed, properties and such are not validated. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The expected type for the value. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The primitive type reference for the value - some callers have this already, so we save the lookup here. - The expected type for the value. - - Some callers have the primitive type reference already resolved (from the value type) - so this method is an optimized version to not lookup the primitive type reference again. - - - - - Validates that the expected primitive type matches the actual primitive type. - - The expected type. - The actual type. - - - - Validates a resource collection. - - The resource collection to validate. - - - - Validates a resource collection Url. - - The resource collection url to validate. - - - - Validates that the observed type kind is the expected type kind. - - The actual type kind to compare. - The expected type kind to compare against. - The name of the type to use in the error. - - - - Validates that a boundary delimiter is valid (non-null, less than 70 chars, only valid chars, etc.) - - The boundary delimiter to test. - - - - Null validation of complex properties will be skipped if edm version is less than v3 and data service version exists. - In such cases, the provider decides what should be done if a null value is stored on a non-nullable complex property. - - The model containing the complex property. - True if complex property should be validated for null values. - - - - Validates that a property name is valid in OData. - - The property name to validate. - true if the property name is valid, otherwise false. - - - - Validates a property name to check whether it contains reserved characters. - - The property name to check. - - - - Validates that the total number of entity property mapping attributes on the base entity type and the current - entity type does not exceed the specified security limit. - - The EPM cache of the base entity type or null if no base entity type exists. - The EPM collection of the current entity type. - The maximum number of mappings allowed for an entity type (on the type itself and all its base types). - The total number of entity property mappings for the current entity type. - - - - Class with utility methods for writing OData content. - - - - - Determines if a property should be written or skipped. - - The projected properties annotation to use (can be null). - The name of the property to check. - true if the property should be skipped, false to write the property. - - - - Class with utility methods to work with media types. - - - - An array of all the supported payload kinds. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Given the Accept and the Accept-Charset headers of the request message computes the media type, encoding and - to be used for the response message. - - The message writer settings to use for serializing the response payload. - The kind of payload to be serialized as part of the response message. - The media type resolver to use when interpreting the content type. - The media type to be used in the response message. - The encoding to be used in the response message. - The used when serializing the response. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The batch boundary read from the content type for batch payloads; otherwise null. - The for the . - - - - Gets all payload kinds and their corresponding formats that match the specified content type header. - - The content type header to get the payload kinds for. - The media type resolver to use when interpreting the content type. - The parsed content type as . - The encoding from the content type or the default encoding from . - The list of payload kinds and formats supported for the specified . - - - - Checks whether two media types with subtypes (but without parameters) are equal. - - The first media type and subtype. - The second media type and subtype. - true if the is equal to ; otherwise false. - - - - Checks whether a media type starts with the expected type and subtype. - - The media type to check. - The type and subtype the should start with. - true if the starts with ; otherwise false. - - - - Checks whether the specified media type has a parameter with the expected value. - - The media type to check the parameters for. - The name of the expected parameter. - The value of the expected parameter. - true if the has a parameter called - with value ; otherwise false. - - - - Determines whether the media type has a 'streaming' parameter with the value 'true'. - - The media type to check. - - true if the media type has a 'streaming' parameter with the value 'true'; otherwise, false. - - - - - Checks for wildcard characters in the . - - The to check. - - - - JSONP - instead of writing 'application/json', we write 'text/javascript'. In all other ways we pretend it is JSON - - Original content-type value string. - New content-type value string. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The for the . - - - - Parses the specified content type header into a media type instance. - - The content type header to parse. - The optional charset specified with the content type. - The of the parsed . - - - - Gets the default media type for a given payload kind in a given format. - - A list of supported media types and formats. - The user-specified format in which to write the payload (can be null). - The default format for the specified payload kind - The default media type for the given payload kind and format. - - - - Parses the accepted charsets and matches them against the supported encodings for the given . - - The Accept-Charset header of the request. - The for which to compute the encoding. - The media type used to compute the default encoding for the payload. - true if the default encoding should be returned if no acceptable charset is found; otherwise false. - The encoding to be used for the response. - - - - Matches the supported media types against the list of media types specified in the Accept header or ContentType header of the message. Matching follows the - rules for media type matching as described in RFC 2616. - - The set of media types to be matched against the . - The set of media types the will be matched against. - The best found during the matching process or null if no match was found. - - - - Converts all occurrences of the 'application/json' media type to 'application/json;odata=minimalmetadata'. - This is necessary because for an accept header 'application/json, application/json;odata=verbose' - we want the result to be 'application/json;odata=minimalmetadata' although this is not compliant with the - default conneg rules (where application/json;odata=verbose would win). - - The parsed acceptable media types. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Class representing the result of matching two instances. - - - - The default quality value (in the normalized range from 0 .. 1000). - - - Index of the source type in the list of all source types. - - - Index of the target type in the list of all target types. - - - - Constructor. - - The source to match against the target type. - The target to match against the source type. - Index of the source type in the list of all source types. - Index of the target type in the list of all target types. - - - - Implementation of . - - The to compare against. - - -1 if this instance is a worse match than . - 0 if both matches are the same. - 1 if is a better match than this instance. - - - - Selects a quality value for the specified type. - The text representation of the quality value. - The quality value, in range from 0 through 1000. - See http://tools.ietf.org/html/rfc2616#section-14.1 for further details. - - - - Tries to find a parameter with the specified in the given list of parameters. - Does not include accept extensions (i.e., parameters after the q quality value parameter) - - The list of parameters to search. - The name of the parameter to find. - The parameter value of the parameter with the specified . - True if a parameter with the specified was found; otherwise false. - - - - Returns a flag indicating whether a given media type parameter name is the Http quality value parameter. - - The parameter name to check. - True if the parameter name is for the quality value; otherwise false. - - - - Matches the source type against the media type. - - The source to match against the target type. - The target to match against the source type. - - - - Index of the source type in the list of all source types. - - - - - Index of the target type in the list of all target types. - - - - - Represents the number of non-* matching type name parts or -1 if not matching at all. - - - - - Represents the number of matching parameters or -1 if neither the source type nor the target type have parameters. - - - - The quality value of the target type (or -1 if none is specified). - - - - The number of parameters of the source type that are used for comparison. All accept-parameters are ignored. - - - - - true if this represents a valid match (i.e., the source and target types match/are compatible); otherwise false. - - - Two types are considered compatible if at least one type name part matches (or we are dealing with a wildcard) - and all the parameters in the source type have been matched. - - - - - Represents a collection of entity reference links (the result of a $links query). - Might include an inline count and a next link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the optional inline count of the $links collection. - The optional inline count of the $links collection. - - - Gets or sets the optional next link of the $links collection. - The optional next link of the $links collection. - - - Gets or sets the enumerable of instances representing the links of the referenced entities. - The enumerable of instances. - These links should be usable to retrieve or modify the referenced entities. - - - - Provides additional serialization information to the for this . - - - - - Represents an entity reference link (the result of a $link query). - - - - - Base class for Feed and Entry. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the URI representing the URL of the referenced entity. - The URI representing the URL of the referenced entity. - This URL should be usable to retrieve or modify the referenced entity. - - - - Provides additional serialization information to the for this . - - - - - Interface for synchronous OData request messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Interface for synchronous OData response messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - - Implementation class wrapped by the and - implementations. - - - - - Base class for the internal wrappers around IODataRequestMessageAsync and IODataResponseMessageAsync. - - - - true if the message is being written; false when it is read. - - - true if the stream returned should ignore dispose calls. - - - The maximum size of the message in bytes (or null if no maximum applies). - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - The buffering read stream used for payload kind detection; only non-null inside of payload kind detection. - - - - Constructs a new ODataMessage. - - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value for the header with name . - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - We need this method since the input contexts don't get access to the actual instance of the message given to us by the user - instead they get this class, and thus they can't just cast to get to the interface they want. - - - - Synchronously get the stream backing this message. - - A function that returns the stream backing the message. - true if the message is a request message; false for a response message. - The backing the message. - - - - Asynchronously get the stream backing this message. - - A function that returns a task for the stream backing the message. - true if the message is a request message; false for a response message. - A task that when completed returns the stream backing the message. - - - - Verifies that setting a header is allowed - - - We allow modifying the headers only if we are writing the message and we are not - detecting the payload kind. - - - - - Validates that a given message stream can be used. - - The stream to validate. - true if the message is a request message; false for a response message. - - - - Validates that a given task providing the message stream can be used. - - The task to validate. - true if the message is a request message; false for a response message. - - - - Gets the buffering read stream if one is available; otherwise returns null. - - The currently being used or null if no buffering stream is currently being used. - - - - Returns an enumerable over all the headers for this message. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - Listener interface to be notified of operation changes. - - - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - - - A function to retrieve the content stream for this batch operation message. - - - The set of headers for this operation. - - - - Constructor. Base class constructor to create a message for an operation of a batch request/response. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - true if the request message is being written; false when it is read. - - - - Returns a value of an HTTP header of this operation. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header of this operation. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Indicates that the headers and request/response line have been read or written. - Can be called only once per batch part and headers cannot be modified - anymore after this method was called. - - - - - Verifies that writing of the message has not been completed; this is called from all methods - that are only valid to be called before the message content is written or the message - - - - - Returns an enumerable over all the headers for this message. - - - - - Message representing an operation in a batch response. - - - - - Interface for asynchronous OData response messages. - - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - The result status code of the response message. - - - - Constructor. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or null if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Method to implement a custom URL resolution scheme. This method returns null if not custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation response message that can be used to write the operation content to. - - The output stream underlying the operation message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to write the operation content. - - - - Creates an operation response message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The status code to use for the operation response message. - The headers to use for the operation response message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to read the operation content. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - - Returns the actual operation message which is being wrapped. - - - - - Message representing an operation in a batch request. - - - - - Interface for asynchronous OData request messages. - - - - Asynchronously get the stream backing for this message. - The stream for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - - Constructor. Creates a request message for an operation of a batch request. - - A function to create the content stream. - The HTTP method used for this request message. - The request Url for this request message. - The headers for the this request message. - Listener interface to be notified of operation changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Implements a custom URL resolution scheme. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation request message that can be used to write the operation content to. - - The output stream underlying the operation message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The operation listener. - The (optional) URL resolver for the message to create. - An to write the request content to. - - - - Creates an operation request message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The headers to use for the operation request message. - The operation listener. - The (optional) URL resolver for the message to create. - An to read the request content from. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or Sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Returns the actual operation message which is being wrapped. - - - - - Helper methods used by the ODataBatchWriter. - - - - - Creates a new batch boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created batch boundary as string. - - - - Creates a new changeset boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created changeset boundary as string. - - - - Creates the multipart/mixed content type with the specified boundary (if any). - - The boundary to be used for this operation or null if no boundary should be included. - The multipart/mixed content type with the specified boundary (if any). - - - - Write the start boundary. - - Writer to which the boundary needs to be written. - Boundary string. - true if this is the first start boundary. - - - - Write the end boundary. - - Writer to which the end boundary needs to be written. - Boundary string. - true if there was no start boundary written before this end boundary. - - - - Writes the headers, (optional) Content-ID and the request line - - Writer to write to. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Writes the headers and response line. - - Writer to write to. - - - - Writes the preamble for a change set (e.g., the content-type header). - - Writer to write to. - The boundary string to use for the change set. - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute. - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property. - - - - - Type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource (not including the root segment). - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - Type whose property is to be read. This can be different from defining type when inheritance is involved. - - - - Sets path to the source property. - - The path as an array of source path segments. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object. - - - - - Entity type that has the . - - - - - Entity type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping. - - - - - Writer for the EPM custom-only. Writes the EPM custom mapping properties into XmlWriter. - - - - - Constructor. - - The output context currently in use. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - - - - Writes a namespace declaration attribute for the namespace required by the target segment. - - The writer to write the declaration to. - The target segment to write the declaration for. - The name of the prefix if it was already declared. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - - - - Writes an EPM element target. - - The writer to write to. - The target segment describing the element to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Writes an EPM attribute target. - - The writer to write to. - The target segment describing the attribute to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - The entry EPM value cache to use. - The entity type of the entry being processed. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Writer for the EPM syndication-only. Writes the EPM properties into ATOM metadata OM. - - - - The EPM target tree to use. - - - Atom entry metadata to write to. - - - - Constructor. - - The EPM target tree to use. - The output context currently in use. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - The ATOM metadata OM with the EPM values populated. - - - - Creates a text ATOM value. - - The text value to use. - The content kind of the value. - The Atom text value. - - - - Given an object returns the corresponding DateTimeOffset value through conversions. - - Object containing property value. - The target syndication property for the mapping (used for exception messages). - The current settings to control the behavior of the writer. - DateTimeOffset after conversion. - - - - Given an object returns the corresponding string representation of the value. - - Object containing property value. - The current settings to control the behavior of the writer. - String representation of the property value. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The entry properties value cache to use to access the properties. - The type of the entry. - The ATOM metadata OM with the EPM values populated. - - - - Writes a non-leaf segment which has sub segments. - - The segment being written - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - - - - Writes EPM value to a person construct (author or contributor). - - The target segment which points to either author or contributor element. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The person metadata or null if no person metadata should be written for this mapping. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Atom metadata description for a workspace. - - - - Gets or sets the title of the workspace. - The title of the workspace. - - - - Atom metadata description for a collection (in a workspace). - - - - Gets or sets the title of the collection. - The title of the collection. - - - Gets or sets the accept range of media types for this collection. - The accept range of media types for this collection. - - - Gets or sets the categories for this collection. - The categories for this collection. - - - - Caches values of properties and items enumerations so that we only ever enumerate these once even if they were use in EPM. - - - - - Caches either ComplexValue properties enumeration or Collection items enumeration. - - The key is the complex value, or collection for the property in question. - For complex property, the value is a List of ODataProperty which stores the enumeration ODataComplexValue.Properties cache. - For collection property, the value is a List of object which stores the enumeration ODataCollectionValue.Items cache. - The items are either EpmCollectionItemCache instances in which case the value of the item is cached inside that instance, - or it's any other type in which case the value of the item is that instance. - - - - Creates a new empty cache. - - - - - Returns the properties for the specified complex value. - - The EPM value cache to use (can be null). - The complex value to get the properties for. - If we're writing content of an entry or not. - The properties enumeration for the complex value. - - - - Caches and returns the properties for the specified complex value. - - The complex value to cache the properties for. - The cached properties enumeration for the complex value. - This method assumes that the complex value's properties are not cached yet. - - - - Returns the properties for the specified complex value. - - The complex value to get the properties for. - true if we're writing entry content or false when writing out-of-content EPM. - The properties enumeration for the complex value. - - - - Caches values of properties enumerations on an entry and then EPM values for the rest of property values. - - - - - Caches the ODataEntry.Properties enumeration. - - - - - Creates a new cache. - - The entry for which to create the properties cache. - - - - Returns enumeration of properties (excluding stream properties) for the entry. - - - - - Returns enumeration of stream properties for the entry. - - - - - Helper methods for EPM writers. - - - - - Given a property value returns the text value to be used in EPM. - - The value of the property. - The text representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Gets the for the specified - from the . - - The EPM source path segment for the parent of the property being written. - The name of the property to get the for. - The for the specified or null if none exists. - - - - Gets the for the specified . - - The EPM source path segment to get the from. - The for the specified or null if none exists. - - - - Returns an for a given property provided the parent . - - The parent to get the property segment from. - The name of the property to get the for. - An for a given property provided the parent . - - - - Cache all the properties and collection item enumerations needed for EPM processing. - - The property value cache to cache the EPM related properties in. - The source tree describing all properties taking part in entity property mappings. - - - - Cache the property and collection item enumerations needed in EPM mappings. We do this for syndication and custom - mappings. - - The property value cache to use for caching. - The source path segments to cache. - The values to compute the segments against. - - - - Gets the property value as the requested type. - - The expected type of the property value. - The properties to search. - The name of the property to get the value for. - The property value as or null if no property - with name or with the expected type exists. - true if a property of the expected type was found; otherwise false. - - - - Helper methods used to merge Atom metadata from EPM with those specified through annotations. - - - - - Merges custom and EPM ATOM metadata. - - The custom ATOM metadata, or null if there were no custom ATOM metadata. - The EPM ATOM metadata, or null if there are no EPM mappings to syndication targets. - The instance configuring the writer. - The merged ATOM metadata to write to the output. - The merge means that if one of the sides has null, the other is used, otherwise if both are non-null - we verify that the values are the same, otherwise we throw. - - - - Merges enumerations of person metadata. - - The enumeration of custom person metadata. - The enumeration of EPM person metadata. - The type of syndication mapping, one of AtomLinkMetadata, AtomCategoryMetadata, AtomPersonMetadata, - The merged enumeration. - - - - Merges ATOM text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged ATOM text value. - - - - Merges text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged text value. - - - - Merges date time offset values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the value, used for error reporting. - The merged date time offset value. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Class for writing OData batch messages; also verifies the proper sequence of write calls on the writer. - - - - The output context to write to. - - - The boundary string for the batch structure itself. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The state the writer currently is in. - - - - The boundary string for the current changeset (only set when writing a changeset, - e.g., after WriteStartChangeSet has been called and before WriteEndChangeSet is called). - - When not writing a changeset this field is null. - - - - A flag to indicate whether the batch start boundary has been written or not; important to support writing of empty batches. - - - - - A flags to indicate whether the current changeset start boundary has been written or not. - This is false if a changeset has been started by no changeset boundary was written, and true once the first changeset - boundary for the current changeset has been written. - - - - The request message for the operation that is currently written if it's a request; - or null if no part is written right now or it's a response part. - - - The response message for the operation that is currently written if it's a response; - or null if no part is written right now or it's a request part. - - - - The value of the Content-ID header of the current operation (or null if no Content-ID header exists). - - - Note that the current Content-ID header is not included immediately in the content ID cache - since the current content ID will only be visible to subsequent operations. - - - - The current size of the batch message, i.e., how many query operations and changesets have been written. - - - The current size of the active changeset, i.e., how many request have been written for the changeset. - - - - Constructor. - - The output context to write to. - The boundary string for the batch structure itself. - - - Starts a new batch; can be only called once and as first call. - - - Asynchronously starts a new batch; can be only called once and as first call. - A task instance that represents the asynchronous write operation. - - - Ends a batch; can only be called after WriteStartBatch has been called and if no other active changeset or operation exist. - - - Asynchronously ends a batch; can only be called after WriteStartBatch has been called and if no other active change set or operation exist. - A task instance that represents the asynchronous write operation. - - - Starts a new changeset; can only be called after WriteStartBatch and if no other active operation or changeset exists. - - - Asynchronously starts a new change set; can only be called after WriteStartBatch and if no other active operation or change set exists. - A task instance that represents the asynchronous write operation. - - - Ends an active changeset; this can only be called after WriteStartChangeset and only once for each changeset. - - - Asynchronously ends an active change set; this can only be called after WriteStartChangeset and only once for each change set. - A task instance that represents the asynchronous write operation. - - - Creates an for writing an operation of a batch request. - The message that can be used to write the request operation. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - Creates a message for asynchronously writing an operation of a batch request. - The message that can be used to asynchronously write the request operation. - The HTTP method to be used for this request operation. - The URI to be used for this request operation. - - - Creates a message for writing an operation of a batch response. - The message that can be used to write the response operation. - - - Asynchronously creates an for writing an operation of a batch response. - A task that when completed returns the newly created operation response message. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the operation; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Verifies that calling WriteStartBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new batch - implementation of the actual functionality. - - - - - Verifies that calling WriteEndBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends a batch - implementation of the actual functionality. - - - - - Verifies that calling WriteStartChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new changeset - implementation of the actual functionality. - - - - - Verifies that calling WriteEndChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends an active changeset - implementation of the actual functionality. - - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Creates an for writing an operation of a batch request - implementation of the actual functionality. - - The Http method to be used for this request operation. - The Uri to be used for this request operation. - The message that can be used to write the request operation. - - - - Verifies that calling CreateOperationResponseMessage is valid. - - true if the call is to be synchronous; false otherwise. - - - - Creates an for writing an operation of a batch response - implementation of the actual functionality. - - The message that can be used to write the response operation. - - - - Writes all the pending headers and prepares the writer to write a content of the operation. - - - - - Disposes the batch writer and set the 'OperationStreamRequested' batch writer state; - called after the flush operation(s) have completed. - - - - - Remember a non-null Content-ID header for change set request operations. - If a non-null content ID header is specified for a change set request operation, record it in the URL resolver. - - The Content-ID header value read from the message. - - Note that the content ID of this operation will only - become visible once this operation has been written - and OperationCompleted has been called on the URL resolver. - - - - - Verifies that the writer is in correct state for the Flush operation. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Sets a new writer state; verifies that the transition from the current state into new state is valid. - - The writer state to transition into. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Validates that the batch writer is ready to process a new write request. - - - - - Write any pending headers for the current operation message (if any). - - - A flag to control whether after writing the pending data we report writing the message to be completed or not. - - - - - Writes the start boundary for an operation. This is either the batch or the changeset boundary. - - - - - Sets the 'Error' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - The request message for the operation that is currently written if it's a request; or null if no operation is written right now or it's a response operation. - - - The response message for the operation that is currently written if it's a response; - or null if no operation is written right now or it's a request operation. - - - The message for the operation that is currently written; or null if no operation is written right now. - - - - An enumeration representing the current state of the writer. - - - - The writer is in initial state; nothing has been written yet. - - - WriteStartBatch has been called. - - - WriteStartChangeSet has been called. - - - CreateOperationRequestMessage/CreateOperationResponseMessage has been called. - - - - ODataMessage.GetStreamAsync() has been called on an operation which caused a to be created; - the batch writer is unusable while an operation is being written. - - - - The stream for writing the content of an operation has been disposed. The batch writer can now be used again. - - - WriteEndChangeSet has been called. - - - WriteEndBatch has been called. - - - The writer is in error state; nothing can be written anymore except the error payload. - - - - Class representing a media type definition. - - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - The parameters specified on the media type. - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - - Converts the current to a string representation suitable for use in a content-type header. - - The string representation of media type. - - - - Converts the current to a string representation suitable for use in a content-type header. - - The encoding to use when converting the media type into text. - The string representation of the current media type. - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Returns the full media type in standard type/subtype form, without parameters. - - - Returns the subtype part of the media type. - - - Returns the type part of the media type. - - - media type parameters - - - - ODataCollectionWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The Verbose JSON collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - ODataCollectionWriter for the ATOM format. - - - - The output context to write to. - - - The collection serializer to use for writing. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Enumeration representing the different kinds of payloads ODatLib can write. - - - - Payload kind for a feed. - - - Payload kind for an entry. - - - Payload kind for a property. - - - Payload kind for an entity reference link. - - - Payload kind for entity reference links. - - - Payload kind for a raw value. - - - Payload kind for a binary value. - - - Payload kind for a collection. - - - Payload kind for a service document. - - - Payload kind for a metadata document. - - - Payload kind for an error. - - - Payload kind for a batch. - - - Payload kind for parameters for a service action. - - - Unknown format - - - - Class representing a resource collection in a workspace of a data service. - - - - Gets or sets the URI representing the Unified Resource Locator (URL) to the collection. - The URI representing the Unified Resource Locator (URL) to the collection. - - - Gets or sets the name of the collection; this is the entity set name in JSON and the HREF in Atom. - The name of the collection. - - This property is required when reading and writing the JSON light format, but has no meaning in the Verbose JSON format. - If present in ATOM, it will be used to populate the title element. - - - - - Class representing the a workspace of a data service. - - - - Gets or sets the set of collections in the workspace. - The set of collections in the workspace. - - - - Constant values used in the EDM. - - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - Represents a Time instance as an interval measured in milliseconds from an instance of DateTime. - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - Represents an interval measured in milliseconds. - - - edm stream primitive type name - - - edm geography primitive type name - - - Represents a geography Point type. - - - Represents a geography LineString type. - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - The namespace for Edmx V1. - - - The namespace for Edmx V2. - - - The namespace for Edmx V3. - - - The element name of the top-level <Edmx> metadata envelope. - - - The attribute name used on entity types to indicate that they are MLEs. - - - The attribute name used on service operations and primitive properties to indicate their MIME type. - - - The attribute name used on service operations to indicate their HTTP method. - - - The attribute name used on a service operation to indicate whether all instances of the binding parameter - type can be bound to that service operation. - - - The attribute name used on an entity container to mark it as the default entity container. - - - 'true' literal - - - 'false' literal - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accessed statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - - Single instance per 'T' for comparison. - - - - - Initializes a new ReferenceEqualityComparer instance. - - - - - Determines whether two objects are the same. - - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - - Serves as hashing function for collections. - - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Returns a singleton instance for this comparer type. - - - - - Utility methods for working with CLR types. - - - - Checks whether the specified type is a generic nullable type. - Type to check. - true if is nullable; false otherwise. - - - Gets a non-nullable version of the specified type. - Type to get non-nullable version for. - - if type is a reference type or a - non-nullable type; otherwise, the underlying value type. - - - - - Checks whether the specified can be assigned null. If it is a non-nullable - value type it creates the corresonding nullable type and returns it. - - The type to check. - The if it allows null or the corresponding nullable type. - - - Checks whether the specified can be assigned null. - Type to check. - true if type is a reference type or a Nullable type; false otherwise. - - - - Determines if two CLR types are equivalent. - - First type to compare. - Second type to compare. - true if the types are equivalent (they both represent the same type), or false otherwise. - This method abstracts away the necessity to call Type.IsEquivalentTo method in .NET 4 and higher but - use simple reference equality on platforms which don't have that method (like Silverlight). - - - - Type for Atom Syndication Format (Atom) feed annotationsAsArray. - - - - Gets or sets a collection of authors of a feed. - A collection of authors of a feed. - - - Gets or sets the categories of a feed. - The categories of a feed. - - - Gets or sets a collection of contributors of a feed. - A collection of contributors of a feed. - - - Gets or sets the generator of a feed. - The generator of a feed. - - - Gets or sets the URI of the icon for a feed. - The URI of the icon for a feed. - - - Gets or sets the collection of all Atom link information except for the next page and self links. - The collection of all Atom link information except for the next page and self links. - - - Gets or sets the URI for the feed's logo. - The URI for the feed’s logo. - - - Gets or sets the rights text of a feed. - The rights text of a feed. - - - Gets or sets the self link of the feed. This link should point to the source of the feed. - The self link of the feed. - - - Gets the next page link of the feed. This link should point to the next page of results. - - - Gets or sets the identifier for the feed if used as metadata of an Atom:source element. - The identifier for the feed if used as metadata of an Atom:source element. - - - Gets or sets the subtitle of a feed. - The subtitle of a feed. - - - Gets or sets the title of the feed. - The title of the feed. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - Type for Atom Syndication Format (Atom) entry annotationsAsArray. - - - - - The date/time when the entry was published. - - - - - Date/Time of last update to the source in string format. - - - - Gets or sets a collection of authors of an entry. - A collection of authors of an entry. - - - Gets or sets the ATOM metadata for the category element which stores the type name of the entry. - - - Gets or sets the categories of an entry. - The categories of an entry. - - - Gets or sets a collection of contributors of an entry. - A collection of contributors of an entry. - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - Gets or sets the collection of all Atom link information except for the self/edit links and the navigation property links. - The collection of all Atom link information except for the self/edit links and the navigation property links. - - - Gets or sets the date and time when the entry was published. - The date and time when the entry was published. - - - Gets or sets the rights text of an entry. - The rights text of an entry. - - - Gets or sets the source of an entry and if the entry was copied from a different stream the property contains the feed metadata of the original feed. - The source of an entry. - - - Gets or sets the summary of the entry. - The summary of the entry. - - - Gets or sets the title of the entry. - The title of the entry. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - The date/time when the entry was published. - - - This property is only used in WCF DS client mode (and replaces the 'Published' property then). - - - - - Date/Time of last update to the source in string format. - - - This property is only used in WCF DS client mode (and replaces the 'Updated' property then). - - - - - Atom metadata description for a link. - - - - The IRI value coming from EPM. - We use AtomLinkMetadata class to hold navigation links, association links etc. - They convert Href property to string based on baseURI and whether Href is absolute or not. - Also we do not want to rely on validation done by Uri class, so we are holding EPM values - mapped to link/@href on a separate field. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the URI of the link. - The URI of the link. - - - Gets or sets the link's relation type. - The link’s relation type. - - - Gets or sets the media type of the data returned by the link. - The media type of the data returned by the link. - - - Gets or sets the language tag (for example, en-US) of the resource pointed to by the link. - The language tag of the resource pointed to by the link. - - - Gets or sets a human-readable description of the link. - A human-readable description of the link. - - - Gets or sets a hint at the length of the content returned from the link. - A hint at the length of the content returned from the link. - - - - Atom metadata description for a category. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the string value identifying the category. - The string value identifying the category. - - - Gets or sets the URI that indicates the scheme of the category. - The URI that indicates the scheme of the category. - - - Gets or sets a human-readable label for display in user interfaces. - A human-readable label. - - - - Atom metadata description for a person. - - - - The name of the person. - - - The email of the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - Converts a string to an instance. - The instance created for name. - The name used in the person metadata. - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the name of the person (required). - The name of the person (required). - - - Gets or sets an IRI associated with the person. - An IRI associated with the person. - - - Gets or sets an email address associated with the person. - An email address associated with the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - - Atom metadata description of a content generator. - - - - Gets or sets the human readable name of the generator of the content. - The human readable name of the generator of the content. - - - Gets or sets the (optional) URI describing the generator of the content. - The (optional) URI describing the generator of the content. - - - Gets or sets the (optional) version of the generator. - The (optional) version of the generator. - - - - Helper methods related to the ATOM Format - - - - The length of the media type for ATOM payloads (application/atom+xml). - - - The length of the media type for ATOM payloads when terminated by a ';' (application/atom+xml;). - - - The length of the media type for links referencing a single entry (application/atom+xml;type=entry). - - - The length of the media type for links referencing a collection of entries (application/atom+xml;type=feed). - - - Parameter string for the media type for links referencing a single entry. - - - Parameter string for the media type for links referencing a collection of entries. - - - - Creates the value for the navigation property's link relation attribute. - - The link representing the navigation property for which the relation value is created. - The relation attribute value for the navigation property's link relation. - - - - Creates the value for the navigation property's type attribute. - - The link representing the navigation property for which the type value is created. - The type attribute value for the navigation property. - - - - Creates the value for the navigation property's association link relation attribute. - - The link representing the navigation property's association for which the relation value is created. - The relation attribute value for the navigation property's association link relation. - - - - Creates the value for the stream property's link relation attribute. - - The stream property to create the relation for. - 'true' if the relation is computed for an edit link; otherwise 'false'. - The relation attribute value for the stream property's link relation. - - - - Unescape the attribute value for ATOM link element. - - ATOM link relation attribute value. - - The unescaped relation attribute string if it's a valid URI. - null if relation attribute is not a valid URI. - - - - - Return name following the specified in the . - - ATOM link relation attribute value, unescaped parsed URI string. - Value which the rel attribute should start with. - - The name if the starts with the given . - If the value does not start with the a null value is returned. - - - - - Determines whether the type of a navigation link has one of the expected standard values. - - The navigation link type to check. - true if the navigation link type has a 'type' parameter with the value 'entry'; otherwise false. - true if the navigation link type has a 'type' parameter with the value 'feed'; otherwise false. - true if the navigation link type is the expected application/atom+xml; otherwise false. - - - - Helper methods used by the OData writer to write ATOM metadata. - - - - - Creates a new instance by merging the given - (if any) with the specified , - and (optional) . - - The metadata to merge with the , and (optional) . - The relation to use in the merged metadata. - The href to use in the merged metadata. - The (optional) title to use in the merged metadata. - The (optional) media type to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for , - , , or this method validates that they - are the same as the ones specified in the method arguments. - - - - - Creates a new instance by merging the given - (if any) with the specified and . - - The metadata to merge with the and . - The term to use in the merged metadata. - The scheme to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for or - this method validates that they are the same as the ones specified in the method arguments. - - - - - Helper to convert values to strings compliant to the ATOM format - - - - Used for settings the updated element properly. - - - - Converts a boolean to the corresponding ATOM string representation. - - The boolean value to convert. - The ATOM strings representing boolean literals. - - - - Converts a byte to the corresponding ATOM string representation. - - The byte value to convert. - The ATOM strings representing the byte value. - - - - Converts a decimal to the corresponding ATOM string representation. - - The decimal value to convert. - The ATOM strings representing the decimal value. - - - - Converts the given date/time value to the string appropriate for Atom format - - The date/time value to convert. - The string version of the date/time value in Atom format. - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - ToAtomString is used to write values in atom specific elements like updated, etc. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given timespan value to the string appropriate for Atom format - - The timespan value to convert. - The string version of the timespan value in Atom format. - - - - Converts the given double value to the string appropriate for Atom format - - The double value to convert. - The string version of the double value in Atom format. - - - - Converts the given Int16 value to the string appropriate for Atom format - - The Int16 value to convert. - The string version of the Int16 value in Atom format. - - - - Converts the given Int32 value to the string appropriate for Atom format. - - The Int32 value to convert. - The string version of the Int32 in Atom format. - - - - Converts the given Int64 value to the string appropriate for Atom format. - - The Int64 value to convert. - The string version of the Int64 in Atom format. - - - - Converts the given SByte value to the string appropriate for Atom format. - - The SByte value to convert. - The string version of the SByte in Atom format. - - - - Converts the given byte array value to the string appropriate for Atom format. - - The byte array to convert. - The string version of the byte array in Atom format. - - - - Converts the given Single value to the string appropriate for Atom format. - - The Single value to convert. - The string version of the Single in Atom format. - - - - Converts the given Guid value to the string appropriate for Atom format. - - The Guid value to convert. - The string version of the Guid in Atom format. - - - - Atom specific extension methods. - - - - Determines an extension method to get the for an annotatable entry. - An instance or null if no annotation of that type exists. - The entry instance to get the annotation from. - - - Determines an extension method to get the for an annotatable feed. - An instance or null if no annotation of that type exists. - The feed instance to get the annotation from. - - - Determines an extension method to get the for an annotatable navigation link. - An instance or null if no annotation of that type exists. - The navigation link instance to get the annotation from. - - - Determines an extension method to get the for an annotatable workspace. - An instance or null if no annotation of that type exists. - The workspace to get the annotation from. - - - Determines an extension method to get the for an annotatable (resource) collection. - An instance or null if no annotation of that type exists. - The (resource) collection to get the annotation from. - - - Determines an extension method to get the for an annotatable association link. - An instance or null if no annotation of that type exists. - The association link to get the annotation from. - - - - Write-only stream which buffers all synchronous write operations until FlushAsync is called. - - - - - The stream being wrapped. - - - - - Queue of buffers to write. - - - - - The last buffer in the bufferQueue. This is the buffer we're writing into. - - - - - Constructor - - The underlying async stream to wrap. Note that only asynchronous write operation will be invoked on this stream. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Clears any internal buffers without writing them to the underlying stream. - - - - - Synchronous flush operation. This will flush all buffered bytes to the underlying stream through synchronous writes. - - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Queues a new buffer to the queue of buffers - - - - - Prepares all buffers for flushing and returns the queue of buffers to flush. - - The queue of buffer to flush. - - - - Returns enumeration of tasks to run to flush all pending buffers to the underlying stream. - - The queue of buffers that need to be flushed. - Enumeration of tasks to run to flush all buffers. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Determines if the stream can read - this one cannot - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The size of a buffer to allocate (80 KB is the limit for large object heap, so use 79 to be sure to avoid LOB) - - - - - The byte buffer used to store the data. - - - - - Number of bytes being stored. - - - - - Constructor - creates a new buffer - - - - - Writes data into the buffer. - - The buffer containing the data to write. - The index to start at. - Number of bytes to write. - How many bytes were written. - - - - Writes the buffer to the specified stream. - - The stream to write the data into. - - - - Creates a task which writes the buffer to the specified stream. - - The stream to write the data into. - The task which represent the asynchronous write operation. - - - - Constant values related to the ATOM format. - - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Attribute use to add xml: namespaces specific attributes. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - XML attribute value to indicate the base URI for a document or element. - - - Name of the xml:lang attribute. - - - Name of the xml:space attribute. - - - 'preserve' value for the xml:space attribute. - - - XML namespace for data service annotations. - - - XML namespace prefix for data service annotations. - - - XML namespace for data services. - - - Prefix for data services namespace. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData attribute which indicates the null value for the element. - - - OData element name for the 'count' element - - - OData scheme namespace for data services category scheme in atom:category elements. - - - OData stream property 'mediaresource' Uri segment name used in named stream link relations. - - - OData stream property 'edit-media' Uri segment name used in named stream link relations. - - - OData stream property prefix for named stream 'mediaresource' related link relations. - - - OData stream property prefix for named stream 'edit-media' related link relations. - - - OData navigation properties 'related' Uri segment name used in navigation link relations. - - - OData navigation properties prefix for navigation link relations. - - - OData navigation properties 'relatedlinks' Uri segment name used in association link relations. - - - OData association link prefix for relation attribute. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Name of the error element for Xml error responses. - - - Name of the error code element for Xml error responses. - - - Name of the error message element for Xml error responses. - - - Name of the inner error message element for Xml error responses. - - - Name of the message element in inner errors for Xml error responses. - - - Name of the type element in inner errors for Xml error responses. - - - Name of the stack trace element in inner errors for Xml error responses. - - - Name of the inner error element nested in inner errors for Xml error responses. - - - Element name for the items in a collection. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - XML element name for the wrapper 'links' element around a sequence of Uris in response to a $links request. - - - XML element name for a Uri response to a $links request. - - - XML element name for a next link in a response to a $links request. - - - XML element name for an annotation in an ATOM payload. - - - Attribute name for m:annotation/@target. - - - Attribute name for m:annotation/@term. - - - Attribute name for m:annotation/@string. - - - Attribute name for m:annotation/@bool. - - - Attribute name for m:annotation/@decimal. - - - Attribute name for m:annotation/@int. - - - Attribute name for m:annotation/@float. - - - Schema namespace for Atom. - - - Prefix for the Atom namespace - empty since it is the default namespace. - - - Prefix for the Atom namespace used in cases where we need a non-empty prefix. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark type attribute in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark id element in Atom. - - - XML element name to mark title element in Atom. - - - XML element name to mark the subtitle element in Atom. - - - XML element name to mark the summary element in Atom. - - - XML element name to mark the 'published' element in Atom. - - - XML element name to mark the 'source' element in Atom. - - - XML element name to mark the 'rights' element in Atom. - - - XML element name to mark the 'logo' element in Atom. - - - XML element name to mark the 'author' element in Atom. - - - XML element name to mark the 'author name' element in Atom. - - - XML element name to mark the 'contributor' element in Atom. - - - XML element name to mark the 'generator' element in Atom. - - - XML attribute name of the 'uri' attribute of a 'generator' element in Atom. - - - XML attribute name of the 'version' attribute of a 'generator' element in Atom. - - - XML element name to mark the 'icon' element in Atom. - - - XML element name to mark the 'name' element in an Atom person construct. - - - XML element name to mark the 'uri' element in an Atom person construct. - - - XML element name to mark the 'email' element in an Atom person construct. - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'label' attribute for categories. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for self links. - - - XML element name to mark link element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the type attribute of a link in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - XML attribute name of the hreflang attribute of a link in Atom. - - - XML attribute name of the title attribute of a link in Atom. - - - XML attribute name of the length attribute of a link in Atom. - - - XML element name to mark href attribute element in Atom. - - - Atom source attribute name for the content of media link entries. - - - Atom link relation attribute value for edit-media links. - - - XML attribute value of the link relation attribute for next page links in Atom. - - - XML attribute value of the link relation attribute for delta links in Atom. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom metadata text construct kind: plain text - - - Atom metadata text construct kind: html - - - Atom metadata text construct kind: xhtml - - - Default title for service document workspaces. - - - 'true' literal - - - 'false' literal - - - IANA link relations namespace. - - - The Atom Publishing Protocol (APP) namespace: 'http://www.w3.org/2007/app'. - - - The name of the top-level 'service' element when writing service documents in Xml format. - - - The name of the 'workspace' element when writing service documents in Xml format. - - - The name of the 'collection' element when writing service documents in Xml format. - - - The name of the 'categories' element encountered while reading a service document in XML format. - - - The name of the 'accept' element encountered while reading a service document in XML format. - - - The name of the 'fixed' attribute of an inline categories element in APP. - - - The value 'yes' of the 'fixed' attribute of an inline categories element in APP. - - - The value 'no' of the 'fixed' attribute of an inline categories element in APP. - - - XML namespace for GeoRss format - - - XML namespace prefix for GeoRss format - - - XML namespace for GML format - - - XML namespace prefix for GML format - - - - Helper methods used by the OData writer for the JSON format. - - - - - Write an error message. - - The JSON writer to write the error. - Action to write the instance annotations. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the __metadata property with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Will write the function's name and start the JSONP scope if we are writing a response and the - JSONP function name is not null or empty. - - JsonWriter to write to. - Writer settings. - - - - If we are writing a response and the given Json Padding function name is not null or empty - this function will close the JSONP scope. - - JsonWriter to write to. - Writer settings. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The output context for which to convert the URI. - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Write an error message. - - JSON writer. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - Instance annotations for this error. - Action to write the instance annotations. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Write an inner error property and message. - - The JSON writer to write the error to. - Inner error details. - The property name for the inner error property. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - Class with utility methods to work with HTTP concepts - - - - Reads a Content-Type header and extracts the media type's name (type/subtype) and parameters. - The Content-Type header. - The media type in standard type/subtype form, without parameters. - The (optional) charset parameter of the media type. - The parameters of the media type not including the 'charset' parameter. - - - Builds a Content-Type header which includes media type and encoding information. - Media type to be used. - Encoding to be used in response, possibly null. - The value for the Content-Type header. - - - Returns all media types from the specified (non-blank) . - Non-blank text, as it appears on an HTTP Accepts header. - An enumerable object with key/value pairs of media type descriptions with their (optional) charset parameter values. - - - - Does an ordinal ignore case comparision of the given media type names. - - First media type name. - Second media type name. - returns true if the media type names are the same. - - - - Does an ordinal ignore case comparision of the given MIME type parameter name. - - First parameter name. - Second parameter name. - returns true if the parameter names are the same. - - - Gets the best encoding available for the specified charset request. - - The Accept-Charset header value (eg: "iso-8859-5, unicode-1-1;q=0.8"). - - The media type used to compute the default encoding for the payload. - The encoding to use for UTF-8 charsets; we use the one without the BOM. - The encoding to use if no encoding could be computed from the or . - An Encoding object appropriate to the specifed charset request. - - - - Reads the numeric part of a quality value substring, normalizing it to 0-1000 - rather than the standard 0.000-1.000 ranges. - - Text to read qvalue from. - Index into text where the qvalue starts. - After the method executes, the normalized qvalue. - - For more information, see RFC 2616.3.8. - - - - - Validates that the HTTP method string matches one of the supported HTTP methods. - - The HTTP method string to validate. - - - - Determines whether the given HTTP method is one that is accepted for queries. GET is accepted for queries. - - The HTTP method to check. - True if the given httpMethod is GET. - - - - Gets the string status message for a given Http response status code. - - The status code to get the status message for. - The string status message for the . - - - - Returns the encoding object for the specified charset name. - - The of the charset to get the encoding for. - The encoding object or null if such encoding is not supported. - - - - Reads a token or quoted-string value from the header. - - Name of the header. - Header text. - Parsing index in . - Returns true if the value is a quoted-string, false if the value is a token. - Func to create the appropriate exception to throw from the given error message. - The token or quoted-string value that was read from the header. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - - Enumerates each charset part in the specified Accept-Charset header. - - Non-null and non-empty header value for Accept-Charset. - - A (non-sorted) enumeration of CharsetPart elements, which include - a charset name and a quality (preference) value, normalized to 0-1000. - - - - Reads a media type definition as used in a Content-Type header. - Text to read. - A list of key/value pairs representing the s and their (optional) 'charset' parameters - parsed from the specified - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - The (optional) charset parameter value. - - - Reads the type and subtype specifications for a media type name. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - - Determines whether the specified character is valid in the quoted header values. - - Character to verify. - true if c is a valid in a quoted HTTP header value; false otherwise. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Converts the specified character from the ASCII range to a digit. - - Character to convert. - - The Int32 value for c, or -1 if it is an element separator. - - - - - Verfies whether the specified character is a valid separator in - an HTTP header list of element. - - Character to verify. - true if c is a valid character for separating elements; false otherwise. - - - - "Reads" a literal from the specified string by verifying that - the exact text can be found at the specified position. - - Text within which a literal should be checked. - Index in text where the literal should be found. - Literal to check at the specified position. - true if the end of string is found; false otherwise. - - - - Structure to represent a charset name with a quality value. - - - - Name of the charset. - - - Charset quality (desirability), normalized to 0-1000. - - - - Initializes a new CharsetPart with the specified values. - - Name of charset. - Charset quality (desirability), normalized to 0-1000. - - - - Writer class used to write all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message writer was created. - - - A flag indicating whether we are writing a request or a response message. - - - The message writer settings to use when writing the message payload. - - - The model. Non-null if we do have metadata available. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - Flag to ensure that only a single write method is called on the message writer. - - - True if Dispose() has been called on this message writer, False otherwise. - - - The output context we're using to write the payload. - This is null until the first write operation is called. - - - The payload kind of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The batch boundary string if the payload to be written is a batch request or response. - This is either set via the SetHeadersForPayload method or implicitly when the CreateBatchWriter method is called. - - - Flag to prevent writing more than one error to the payload. - - - The media type resolver to use when interpreting the content type. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - Creates a new for the given request message. - The request message for which to create the writer. - - - Creates a new for the given request message and message writer settings. - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given request message and message writer settings. - - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the writer. - - - Creates a new for the given response message and message writer settings. - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given response message and message writer settings. - - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates an to write a feed. - The created writer. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - Asynchronously creates an to write a feed. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write an entry. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - Asynchronously creates an to write an entry. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - The created collection writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection writer. - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - - - Creates an to write a batch of requests or responses. - The created batch writer. - - - Asynchronously creates an to write a batch of requests or responses. - A running task for the created batch writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - - - Writes a service document with the specified as the message payload. - The default workspace to write in the service document. - - - Asynchronously writes a service document with the specified as the message payload. - A task representing the asynchronous operation of writing the service document. - The default workspace to write in the service document. - - - Writes an as the message payload. - The property to write. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the property. - The property to write - - - Writes an as the message payload. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the error. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Writes the result of a $links query as the message payload. - The entity reference links to write as message payload. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - Asynchronously writes the result of a $links query as the message payload. - A task representing the asynchronous writing of the entity reference links. - The entity reference links to write as message payload. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - - - Writes a singleton result of a $links query as the message payload. - The entity reference link to write as the message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - Asynchronously writes a singleton result of a $links query as the message payload. - A running task representing the writing of the link. - The link result to write as the message payload. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property information for the link being written, or null if none is available. - A running task representing the writing of the link. - - - Writes a single value as the message body. - The value to write. - - - Asynchronously writes a single value as the message body. - A running task representing the writing of the value. - The value to write. - - - Writes the metadata document as the message body. - - - implementation to cleanup unmanaged resources of the writer. - - - - Sets the content-type and data service version headers on the message used by the message writer. - This method can be called if it is important to set all the message headers before calling any of the - write (or writer creation) methods on the . - If it is sufficient to set the headers when the write (or writer creation) methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - The kind of payload to be written with this message writer. - The used for the specified . - - - - If no headers have been set, sets the content-type and data service version headers on the message used by the message writer. - If headers have been set explicitly (via ODataUtils.SetHeaderForPayload) this method verifies that the payload kind used to - create the headers is the same as the one being passed in . - - The kind of payload to be written with this message writer. - - - - Ensures that the version of the OData protocol is set. - - - If a version is specified explicitly on the writer settings, it is used. - Otherwise the method tries to read the version from the message headers. - If there is a version header but the value cannot be parsed, we fail. - If there is no version header, we fall back to the default version. - - - - - Ensures that the OData format is computed and set; if needed, sets the content type - header of the message. - - - This method computes and ensures that a content type exists and computes the - OData format from it. If a content type is explicitly specified through - - or it will be used. If no - content type is specified in either place, the message headers are checked for - a content type header. - If the content type is computed from settings, the content type header is set on the message. - - - - - Verifies that feed writer can be created. - - - - - Verifies that entry writer can be created. - - - - - Verifies that collection writer can be created. - - The item type of the collection being written or null if no metadata is available. - - - - Verifies that batch writer can be created. - - - - - Verifies that parameter writer can be created. - - The function import whose parameters will be written. - - - - Verifies headers for parameter payload. - - - - - Verifies that service document can be written. - - The default workspace to write. - - - - Verifies that property can be written. - - The property to write. - - - - Verifies that top-level error can be written. - - The error to write. - - - - Verifies that in-stream error can be written. - - The error to write. - - - - Verifies that entity reference links can be written. - - The entity reference links to write as message payload. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Verifies headers for entity reference links. - - The entity reference links to write as message payload. - - - - Verifies that entity reference link can be written. - - The link result to write as message payload. - - - - Verifies that value can be written. - - The value to write. - The payload kind to use when writing this value. - - - - Verifies that metadata document can be written. - - - - - Verifies headers for metadata document. - - - - - Verifies that the ODataMessageWriter has not been disposed and has not been used before. An ODataMessageWriter - can only be used to write a single message payload but can't be reused later except for writing an in-stream error. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Verifies that, if a payload kind has been set via SetHeaders, the payload kind that - is being written is the same. - - The payload kind that is attempted to write. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - The result of the write operation. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - The message writer settings to use when writing the message payload. - - - - - The media type resolver to use when interpreting the content type. - - - - - Wrapper class around an IODataResponseMessageAsync to isolate our code from the interface implementation. - - - This class also implements the message interface since it is passed to the payload kind - detection logic on the format implementations and manages the buffering read stream. - - - - The response message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The response message to wrap. - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative number if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The result status code of the response message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Wrapper class around an IODataRequestMessageAsync to isolate our code from the interface implementation. - - - - The request message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The request message to wrap. - true if the request message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Synchronously get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The request Url for this request message. - - - - - The HTTP method used for this request message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Represents an association link. - - - - the metadata builder for this association link. - - - URI representing the Unified Resource Locator (Url) of the link. - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this association link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets the name of the association link. - The name of the associate link. - This is the name of the navigation property to which the association link belongs. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - This URL should point to a resource which can be used to retrieve or modify the association itself - not the URL to traverse the navigation property. - - - - Class representing an error payload. - - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Gets the collection of instance annotations from this instance. - - The collection of instance annotations - - - - Adds an instance annotation from the payload to this instance. - - The name of the instance annotation. - The value of the instance annotation. - - - Gets or sets the error code to be used in payloads. - The error code to be used in payloads. - - - Gets or sets the error message. - The error message. - - - Gets or sets the language for the exception Message. - The language for the exception Message. - - - Gets or sets the implementation specific debugging information to help determine the cause of the error. - The implementation specific debugging information. - - - - Collection of custom instance annotations. - - - - - Utility class to check feature availability in a certain version of OData. - - - - - Check whether the inline count feature is supported in the specified version. - - The version to check. - - - - Check whether CollectionValue properties are supported in the specified version. - - The version to check. - The name of the property which holds the collection. - - - - Check whether CollectionValue is supported in the specified version. - - The version to check. - - - - Check whether the next link feature is supported in the specified version. - - The version to check. - - - - Check whether the delta link feature is supported in the specified version. - - The version to check. - - - - Check whether the named streams feature is supported in the specified version. - - The version to check. - - - - Check whether the association links feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Type Scheme feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Data Namespace feature is supported in the specified version. - - The version to check. - - - - Check whether parameters in the payload are supported in the specified version. - - The version to check. - - - - Check whether the EPM on the specified entity type is supported in the specified version. - - The version to check. - The entity type to check. - The model containing annotations for the entity type. - - - - Check whether the spatial value is supported in the specified version. - - The version to check. - - - - Checks that the version specified on the request or the response is supported by this library. - - The version to check. - The message reader settings specified for the reader. - In internal drops we currently do not support protocol version 3. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in ODataWriterCore.WriteEnd - - - Unreachable codepath in ODataWriterCore.ValidateTransition - - - Unreachable codepath in ODataWriterCore.Scope.Create - - - Unreachable codepath in ODataWriterCore.DuplicatePropertyNamesChecker. - - - Unreachable codepath in ODataWriterCore.ParentNavigationLinkScope. - - - Unreachable codepath in ODataUtils.VersionString - - - Unreachable codepath in ODataUtilsInternal.ToDataServiceVersion - - - Unreachable codepath in ODataUtilsInternal.IsPayloadKindSupported - - - Unreachable codepath in ODataUtils.GetDefaultEncoding - - - Unreachable codepath in ODataUtils.ParseSerializableEpmAnnotations - - - Unreachable codepath in ODataMessageWriter.WriteProperty - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLink - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLinks - - - Unreachable codepath in ODataMessageWriter.WriteError - - - Unreachable codepath in ODataMessageWriter.WriteServiceDocument - - - Unreachable codepath in ODataMessageWriter.WriteMetadataDocument - - - Unreachable codepath in EpmSyndicationWriter.WriteEntryEpm when writing content target. - - - Unreachable codepath in EpmSyndicationWriter.CreateAtomTextConstruct when converting text kind from Syndication enumeration. - - - Unreachable codepath in EpmSyndicationWriter.WritePersonEpm. - - - Unhandled EpmTargetPathSegment.SegmentName in EpmSyndicationWriter.WriteParentSegment. - - - Unreachable codepath in ODataAtomConvert.ToString(AtomTextConstructKind) - - - Unreachable codepath in ODataCollectionWriter.CreateCollectionWriter - - - Unreachable codepath in ODataCollectionWriterCore.ValidateTransition - - - Unreachable codepath in ODataCollectionWriterCore.WriteEnd - - - Unreachable codepath in ODataParameterWriter.CreateParameterWriter - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.WriteEndImplementation - - - Unreachable codepath in ODataPathValidator.ValidateSegment root branch - - - Unreachable codepath in ODataPathValidator.ValidateSegment non-root branch - - - Unreachable codepath in ODataBatchWriter.ValidateTransition - - - Unreachable codepath in ODataBatchWriter.ToText(this HttpMethod). - - - Unreachable codepath in ODataBatchReader.ReadImplementation. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Completed. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Exception. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary because of invalid enum value. - - - Unreachable codepath in ODataBatchReaderStream.SkipToBoundary. - - - Unreachable codepath in ODataBatchReaderStream.ReadLine. - - - Unreachable codepath in ODataBatchReaderStream.ReadWithDelimiter. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ScanForBoundary. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ReadWithLength. - - - Unreachable codepath in JsonReader.Read. - - - Unreachable codepath in ODataReader.CreateReader. - - - Unreachable codepath in ODataReaderCore.ReadImplementation. - - - Unreachable codepath in ODataReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataVerboseJsonEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataVerboseJsonReader.ReadEntryStart. - - - Unreachable codepath in ODataVerboseJsonPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataCollectionReader.CreateReader. - - - Unreachable codepath in ODataCollectionReaderCore.ReadImplementation. - - - Unreachable codepath in ODataCollectionReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataParameterReaderCore.ReadImplementation. - - - Unreachable codepath in ODataParameterReaderCoreAsync.ReadAsynchronously. - - - The value from the parameter reader must be a primitive value, an ODataComplexValue or null - - - Unreachable codepath in ODataAtomReader.ReadAtNavigationLinkStartImplementation. - - - Unreachable codepath in ODataAtomPropertyAndValueDeserializer.ReadNonEntityValue. - - - Unreachable codepath in AtomValueUtils.ConvertStringToPrimitive. - - - Unreachable codepath in EdmCoreModel.PrimitiveType (unsupported type). - - - Unreachable codepath in EpmSyndicationReader.ReadEntryEpm when reading content target. - - - Unreachable codepath in EpmSyndicationReader.ReadParentSegment. - - - Unreachable codepath in EpmSyndicationReader.ReadPersonEpm. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found unexpected type kind. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found EPM for a primitive stream property. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the strict branch, unexpected type kind. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the lax branch, unexpected type kind. - - - Unreachable codepath in EpmExtensionMethods.ToAttributeValue(ODataSyndicationItemProperty) when found unexpected type syndication item property kind. - - - The ODataMetadataFormat.CreateOutputContextAsync was called, but this method is not yet supported. - - - The ODataMetadataFormat.CreateInputContextAsync was called, but this method is not yet supported. - - - An unsupported method or property has been called on the IDictionary implementation of the ODataModelFunctions. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.GetNonEntityValueKind. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataJsonLightReader.ReadEntryStart. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer_ReadTopLevelFeedAnnotations.ReadTopLevelFeedAnnotations. - - - Unreachable codepath in ODataJsonLightReader.ReadFeedEnd. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart.TypeKindFromPayloadFunc. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionEnd. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadSingleEntityReferenceLink. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadEntityReferenceLinksAnnotations. - - - Unreachable codepath in ODataJsonLightParameterDeserializer.ReadNextParameter. - - - Unreachable codepath in ODataJsonLightAnnotationGroupDeserializer.ReadAnnotationGroupDeclaration. - - - Unreachable codepath in EdmTypeWriterResolver.GetReturnType for function import group. - - - Unreachable codepath in the indexer of ODataVersionCache for unknown versions. - - - - Implementation of the ODataWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON entry and feed seriazlizer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the __count property for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - - - - Returns the current VerboseJsonFeedScope. - - - - - A scope for a verbose JSON feed. - - - - true if the __count was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the __count was already written, false otherwise. - - - - - Uri utility methods. - - - - - An absolute Uri to use as the base Uri for escaping a Uri fragment. - - - - - Returns an absolute URI constructed from the specified base URI and a relative URI - - The base URI to use. - The relative URI to use. - The absolute URI as a result of combining the base URI with the relative URI. - - - - A method to ensure that the original string of a relative URI is escaped. - - The relative to escape. - A relative URI instance with guaranteed escaped original string. - - - - Gets the escaped metadata reference property name. - - The metadata reference property name in question. - The Uri escaped metadata reference property name. - - - - OData representation of a Collection. - - - - Gets or sets the type of the collection value. - The type of the collection value. - - - Gets or sets the items in the bag value. - The items in the bag value. - - - - Configuration settings for OData message writers. - - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - fields and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - An instance representing any knobs that control the behavior of the writers - inside and outside of WCF Data Services. - - - - Stores the base uri for the metadata document along with a select clause. - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - Initializes a new instance of the class with default settings. - - - Initializes a new instance of the class with specified settings. - The specified settings. - - - Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. - The acceptable media types used to determine the content type of the message. This is a comma separated list of content types as specified in RFC 2616, Section 14.1. - The acceptable charsets to use to determine the encoding of the message. This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - Calling this method replaces any previously set content-type settings. - - - Sets the format to be used when writing the payload. This will automatically set a compatible content type header. - The format to use for writing the payload. - Calling this method replaces any previously set content-type settings. - - - Sets the customization XML format for Atom entry. - The start of the Atom entry XML customization callback. - The end of the Atom entry XML customization callback. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - This method only applies when writing ATOM format payloads. - When writing payloads in different formats, this method has no effect. - param name="atomStartEntryXmlCustomizationCallback" - If non-null this func will be called when a new (non-null) entry is to be written. - It takes two parameters: - - ODataEntry entry - which is the entry to be written. - - XmlWriter writer - which is the current XmlWriter used by the ODataWriter to write the entry. - It returns XmlWriter: - - null - means there's no need to customize the XML for this entry, and thus the original writer will be used to write the entry. - - non-null XmlWriter - the ODataWriter will use the new returned writer to write the entry. - Once the entry has been written the EndEntryXmlCustomizationCallback will be called and the writer will be passed to it. - Note that the ODataWriter will not dipose or otherwise clear the writer. - The callback must never return the same instance as the writer parameter! - param name="atomEndEntryXmlCustomizationCallback" - If non-null this action will be called when a (non-null) entry has been written. - The action takes three parameters: - - ODataEntry entry - which is the entry which was written. - - XmlWriter entryWriter - the XmlWriter used to write the entry. The action must dispose or otherwise clear this writer. - - XmlWriter parentWriter - the XmlWriter used to write the parent scope of the entry. This is the writer which will be used to write further - payload once this action returns. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - true if the server is configured to leave prefixes off all root elements and anything else in the same namespace, otherwise, false. - - - Enables the WCF data services client behavior. - The start of the entry XML customization callback. - The end of the entry XML customization callback. - The OData namespace. - The type scheme. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - - - - Sets the URI of the metadata document. - The URI of the metadata document. - - - Sets the URI of the metadata document. - The URI of the metadata document. - The select clause. - - - - Determines if there is a JSON padding function defined. - - True if the JsonPCallback property is not null or emtpy. - - - - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - - Gets or sets the OData protocol version to be used for writing payloads. - The OData protocol version to be used for writing payloads. - - - Gets or sets the document base URI which is used as base for all relative URIs. - The document base URI which is used as base for all relative URIs. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets a callback function use to wrap the response from server. - The callback function used to wrap the response from server. - If it has a value and we are writing a JSON response, then we will wrap the entirety of the response in - the provided function name and parenthesis for JSONP. Otherwise this value is ignored. - - - - Gets or sets a value that indicates whether the writer should automatically generate or omit metadata in JSON payloads based on the metadata level. - - - Payload metadata includes the type names of entries and property values as well as any information that may be computed automatically, such as edit links. - If, for example, ODataEntry.EditLink is not specified, then it will be automatically computed and written out in full metadata mode. - If ODataEntry.EditLink is specified, then that value will be considered an "override" of the default computed edit link, and will be written out in full and minimal metadata modes. It will not be written in no metadata mode. - - - - - Gets or sets a value that indicates whether the writer should put key values in their own URI segment when automatically building URIs. - If this value is false, automatically-generated URLs will take the form "../EntitySet('KeyValue')/..". - If this value is true, automatically-generated URLs will take the form "../EntitySet/KeyValue/..". - If this value is not set (null), decision will be made based on the "Com.Microsoft.Data.Services.Conventions.V1.UrlConventions" vocabulary - annotation on the IEdmEntityContainer, if available. The default behavior is to put key values inside parentheses and not a distinct URL segments. - This setting only applies to URLs that are automatically generated by the and does not modify URLs explicitly provided by the user. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - A null or empty accept header means that all content types are acceptable. - For response messages this is usually the 'Accept' header of the request message. - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - A null or empty accept charset header means that all charsets are acceptable. - For response messages this is usually the 'Accept-Charset' header of the request message. - - - - The writer behavior that holds all the knobs needed to make the writer - behave differently inside and outside of WCF Data Services. - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - properties and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - Gets the metadata document URI that has been set on the settings, or null if it has not been set. - - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - Constant values related to media types. - - - - Media type for requesting any media type. - - - 'application' - media type for application types. - - - 'text' - media type for text subtypes. - - - 'multipart' - media type. - - - 'atom+xml' - constant for atom+xml subtypes. - - - 'atomsvc+xml' - constant for atomsvc+xml subtypes. - - - 'xml' - constant for xml subtypes. - - - 'json' - constant for JSON subtypes. - - - 'plain' - constant for text subtypes. - - - 'javascript' - constant for javascript subtypes. - - - 'octet-stream' subtype. - - - 'mixed' subtype. - - - 'http' subtype. - - - Parameter name for 'type' parameters. - - - Parameter value for type 'entry'. - - - Parameter value for type 'feed'. - - - Parameter name for 'odata' parameters. - - - Parameter value for 'verbose' JSON. - - - JSON Light parameter value 'fullmetadata'. - - - JSON Light parameter value 'minimalmetadata'. - - - JSON Light parameter value 'nometadata'. - - - Parameter name for 'streaming' parameter. - - - JSON Light streaming parameter value 'true'. - - - JSON Light streaming parameter value 'false'. - - - Media type for XML bodies. - - - Media type for ATOM payloads. - - - Media type for links referencing a single entry. - - - Media type for links referencing a collection of entries. - - - Media type for JSON payloads. - - - Media type for binary raw content. - - - Media type for batch parts. - - - Media type for Xml bodies (deprecated). - - - Media type for raw content (except binary). - - - Media type for javascript content. - - - Media type for raw content (except binary). - - - The '*' wildcard usable in type names and subtype names. - - - Separator between mediat type and subtype. - - - - Helper methods used by the OData writer for the ATOM format. - - - - - Creates an Xml writer over the specified stream, with the provided settings and encoding. - - The stream to create the XmlWriter over. - The OData message writer settings used to control the settings of the Xml writer. - The encoding used for writing. - An instance configured with the provided settings and encoding. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write the m:etag attribute with the given string value. - - The Xml writer to write to. - The string value of the ETag. - - - - Write the m:null attribute with a value of 'true' - - The Xml writer to write to. - - - - Writes raw markup with the given writer, adding the xml:space="preserve" attribute to the element if the markup has leading or trailing whitespace. - - The to write to. - A string containing the text to write. - - - - Writes a string with the given writer, adding the xml:space="preserve" attribute to the element if the string has leading or trailing whitespace. - - The to write to. - The string to write as element text content. - - - - Creates a new XmlWriterSettings instance using the encoding. - - Configuration settings of the OData writer. - Encoding to use in the writer settings. - The Xml writer settings to use for this writer. - - - - Writes an xml:space="preserve" attribute if the given value starts or ends with whitespace. - - The writer to use for writing out the attribute string. - The value to check for insignificant whitespace. - - - - Utility methods around writing of ATOM values. - - - - The characters that are considered to be whitespace by XmlConvert. - - - - Converts the given value to the ATOM string representation - and uses the writer to write it. - - The writer to write the stringified value. - The value to be written. - - - Converts the specified value to a serializable string in ATOM format, or throws an exception if the value cannot be converted. - Non-null value to convert. - The specified value converted to an ATOM string. - - - - Reads a value of an XML element and converts it to the target primitive value. - - The XML reader to read the value from. - The primitive type reference to convert the value to. - The primitive value read. - This method does not read null values, it only reads the actual element value (not its attributes). - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - - - - Converts a given to a string appropriate for Atom format. - - The text construct kind to convert. - The string version of the text construct format in Atom format. - - - Converts the specified value to a serializable string in ATOM format. - Non-null value to convert. - The specified value converted to an ATOM string. - boolean value indicating conversion successful conversion - - - - Converts a string to a primitive value. - - The string text to convert. - Type to convert the string to. - The value converted to the target type. - This method does not convert null value. - - - - Reimplementation of XmlConvert.ToBoolean that accepts 'True' and 'False' in addition - to 'true' and 'false'. - - The string value read from the Xml reader. - The converted boolean value. - - - - Constant values used by the OData or HTTP protocol or OData library. - - - - - HTTP method name for GET requests. - - - - - HTTP method name for POST requests. - - - - - HTTP method name for PUT requests. - - - - - HTTP method name for DELETE requests. - - - - - HTTP method name for PATCH requests. - - - - - Custom HTTP method name for MERGE requests. - - - - - Name of the HTTP content type header. - - - - - Name of the OData 'DataServiceVersion' HTTP header. - - - - - Name of the HTTP content-ID header. - - - - - Name of the Content-Length HTTP header. - - - - - 'q' - HTTP q-value parameter name. - - - - Http Version in batching requests and response. - - - 'charset' - HTTP parameter name. - - - multi-part keyword in content-type to identify batch separator - - - Name of the HTTP content transfer encoding header. - - - Content-Transfer-Encoding value for batch payloads. - - - The default protocol version to use in ODataLib if none is specified. - - - The template used when computing a batch request boundary. - - - The template used when computing a batch response boundary. - - - The template used when computing a request changeset boundary. - - - The template used when computing a response changeset boundary. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - Weak etags in HTTP must end with ". - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The default maximum allowed recursion depth for recursive payload definitions, such as complex values inside complex values. - - - The default maximum number of bytes that should be read from a message. - - - The default maximum number of top-level operations and changesets per batch payload. - - - The default maximum number of operations per changeset. - - - The default maximum number of entity property mapping attributes for an entity type (on the type itself and all its base types). - - - The maximum recognized OData version by this library. - - - The '/' (forward slash) which is the URI segment separator. - - - The '/' (forward slash) which is the URI segment separator. - - - The '$links' segment name for constructing association links. - - - The '$value' segment name for the default stream value. - - - - Internal utility methods used in the OData library. - - - - - Converts a given to its representation. - - The instance to convert. - The representation of the . - - - - Sets the 'DataServiceVersion' HTTP header on the message based on the protocol version specified in the settings. - - The message to set the data service version header on. - The determining the protocol version to use. - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Checks whether a payload kind is supported in a request or a response. - - The to check. - true if the check is for a request; false for a response. - true if the is valid in a request or response respectively based on . - - - - Concats two enumerables. - - Element type of the enumerable. - Enumerable 1 to concat. - Enumerable 2 to concat. - Returns the combined enumerable. - - - - Gets the selected properties from the given . - - The instance to get the selected properties node from. - The selected properties node instance. - This can be a property on . Having it as an extension method here so we don't have to do the null check at the call site. - - - - OData writer for the ATOM format. - - - - Value for the atom:updated element. - - The writer will use the same default value for the atom:updated element in a given payload. While there is no requirement for this, - it saves us from re-querying the system time and converting it to string every time we write an item. - - - - The output context to write to. - - - The serializer to write payload with. - - - - Constructor creating an OData writer using the ATOM format. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the collection of to the ATOM payload. - - The collection of to write. - Helper class to track if an annotation has been writen. - - - - Writes the collection of for the given to the ATOM payload. - - The feed to write the for. - The current feed scope. - - - - Write the content of the given entry. - - The entry for which to write properties. - The of the entry (or null if not metadata is available). - The cache of properties. - The root of the EPM source tree, if there's an EPM applied. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link start atom:link element including the m:inline element if there's a parent navigation link. - - - - - Writes the navigation link end m:inline and end atom:link elements if there's a parent navigation link. - - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Writes custom extensions and the end element for a navigation link - - - - - Determines if XML customization should be applied to the entry and applies it. - - The entry to apply the customization to. - This method must be called before anything is written for the entry in question. - - - - Ends XML customization for the entry (if one was applied). - - The entry to end the customization for. - This method must be called after all the XML for a given entry is written. - - - - Returns the current AtomEntryScope. - - - - - Returns the current AtomFeedScope. - - - - - Enumeration of ATOM element flags, used to keep track of which elements were already written. - - - - The atom:id element. - - - The atom:link with rel='self'. - - - The atom:link with rel='edit'. - - - - A scope for an feed. - - - - true if the author element was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the author element was already written, false otherwise. - - - - - A scope for an entry in ATOM writer. - - - - Bit field of the ATOM elements written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The ATOM element which was written. - - - - Determines if the was already written for this entry scope. - - The ATOM element to test for. - true if the was already written for this entry scope; false otherwise. - - - - Enumeration representing the OData protocol version. - - - - Version 1.0. - - - Version 2.0. - - - Version 3.0. - - - - Writes text indented as per the indentation level setting - - - - - The indentation string to prepand to each line for each indentation level. - - - - - The underlying writer to write to. - - - - - Set to true if the writer should actually indent or not. - - - - - Number which specifies the level of indentation. Starts with 0 which means no indentation. - - - - - Set to true if indentation should be written before the next string is written. - - - - - Constructor - - The underlying writer to wrap. - Set to true if the writer should actually indent or not. - - - - Increases the level of indentation applied to the output. - - - - - Decreases the level of indentation applied to the output. - - - - - Clears the buffer of the current writer. - - - - - Writes the given string value to the underlying writer. - - String value to be written. - - - - Writes the given char value to the underlying writer. - - Char value to be written. - - - - Writes a new line. - - - - - Closes or disposes the underlying writer. - - - - - Writes the tabs depending on the indent level. - - - - - Returns the Encoding for the given writer. - - - - - Returns the new line character. - - - - - Constants for the JSON format. - - - - - "results" header for Json data array. - - - - - Text used to start a data object wrapper in JSON. - - - - - Data property name of the data object wrapper in JSON. - - - - - "id" header for the id of an Entry. - - - - - "__metadata" header for Json metadata object - - - - - "uri" header for the URI identifying the entry being represented. - - - - - "type" header for the type name of the entity - - - - - "etag" header for the ETag of an entity - - - - - "__mediaresource" property name for the metadata of a stream reference value. - - - - - "media_src" header for the MLE read link - - - - - "content_type" header for the MLE - - - - - "media_etag" header for the MLE - - - - - "edit_media" header for the MLE - - - - - "properties" header for the property metadata - - - - - "associationuri" header for the association link url of a navigation property - - - - - "__count" header for the inline count in a feed - - - - - "__next" header for the next link in a feed - - - - - "__deferred" header for the non-expanded link in an entry - - - - - "uri" header for the navigation link URL - - - - - The name of the property returned for a singleton $links query - - - - "actions" header for entry metadata. - - - "functions" header for entry metadata. - - - "title" header for "actions" and "functions" metadata. - - - "metadata" header for "actions" and "functions" metadata. - - - "target" header for "actions" and "functions" metadata. - - - - "error" header for the error payload - - - - - "code" header for the error code property - - - - - "message" header for the error message property - - - - - "lang" header for the error message language property - - - - - "value" header for the error message value property - - - - - "innererror" header for the inner error property - - - - - "message" header for an inner error (for Astoria compatibility) - - - - - "typename" header for an inner error (for Astoria compatibility) - - - - - "stacktrace" header for an inner error (for Astoria compatibility) - - - - - "internalexception" header for an inner, inner error property (for Astoria compatibility) - - - - - JSON datetime format. - - - - - JSON datetime offset format. - - - - - A plus sign for the date time offset format. - - - - - The fixed property name for the entity sets array in a service document payload. - - - - - The true value literal. - - - - - The false value literal. - - - - - The null value literal. - - - - - Character which starts the object scope. - - - - - Character which ends the object scope. - - - - - Character which starts the array scope. - - - - - Character which ends the array scope. - - - - - "(" Json Padding Function scope open parens. - - - - - ")" Json Padding Function scope close parens. - - - - - The separator between object members. - - - - - The separator between array elements. - - - - - The separator between the name and the value. - - - - - The quote character. - - - - - Writer for the JSON format. http://www.json.org - - - - - Writer to write text into. - - - - - Scope of the json text - object, array. - - - - - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - - Creates a new instance of Json writer. - - Writer to which text needs to be written. - If the output should be indented or not. - The json-based format to use when writing. - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Various scope types for Json writer. - - - - - Array scope. - - - - - Object scope. - - - - - JSON padding function scope. - - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - What to write at the beginning of this scope. - - - - - What to write at teh end of this scope. - - - - - Get/Set the object count for this scope. - - - - - Gets the scope type for this scope. - - - - - Class with utility methods to work with exceptions - - - - Type of OutOfMemoryException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - Checks the argument value for null and throws if it is null. - - Type of the argument, used to force usage only for reference types. - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value empty string and throws if it is empty. The value can be null though. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value for null or empty string and throws if it is null or empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being negative and throws if it is negative. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - Type of the collection. It does not matter. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Provides helper method for converting data values to and from the OData JSON format. - - - - - Const tick value for caculating tick values. - - - - - Characters which, if found inside a number, indicate that the number is a double when no other type information is available. - - - - - Map of special characters to strings. - - - - - Write a boolean value. - - The text writer to write the output to. - The boolean value to write. - - - - Write an integer value. - - The text writer to write the output to. - Integer value to be written. - - - - Write a float value. - - The text writer to write the output to. - Float value to be written. - - - - Write a short value. - - The text writer to write the output to. - Short value to be written. - - - - Write a long value. - - The text writer to write the output to. - Long value to be written. - - - - Write a double value. - - The text writer to write the output to. - Double value to be written. - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - Write a Guid value. - - The text writer to write the output to. - Guid value to be written. - - - - Write a decimal value - - The text writer to write the output to. - Decimal value to be written. - - - - Write a DateTime value - - The text writer to write the output to. - DateTime value to be written. - The format to write out the DateTime value in. - - - - Write a DateTimeOffset value. - - The text writer to write the output to. - DateTimeOffset value to be written. - The format to write out the DateTime value in. - - - - Write a TimeSpan value. - - The text writer to write the output to. - TimeSpan value to be written. - - - - Write a byte value. - - The text writer to write the output to. - Byte value to be written. - - - - Write an sbyte value. - - The text writer to write the output to. - SByte value to be written. - - - - Write a string value. - - The text writer to write the output to. - String value to be written. - - - - Returns the string value with special characters escaped. - - The text writer to write the output to. - Input string value. - - - - Converts the number of ticks from the JSON date time format to the one used in .NET DateTime or DateTimeOffset structure. - - The ticks to from the JSON date time format. - The ticks to use in the .NET DateTime of DateTimeOffset structure. - - - - Write the string value with quotes. - - The text writer to write the output to. - String value to be written. - - - - Converts the number of ticks from the .NET DateTime or DateTimeOffset structure to the ticks use in the JSON date time format. - - The ticks from the .NET DateTime of DateTimeOffset structure. - The ticks to use in the JSON date time format. - - - - Converts a given date time to its universal date time equivalent. - - The date time to convert to UTC - universal date time equivalent of the value. - - - - Creates the special character to escaped string map. - - The map of special characters to the corresponding escaped strings. - - - - OData representation of a complex value. - - - - Gets or sets the properties and values of the complex value. - The properties and values of the complex value. - - - Gets or sets the type of the complex value. - The type of the complex value. - - - - Describes a collection of entities. - - - - - URI representing the next page link. - - - - - URI representing the delta link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the number of items in the feed. - The number of items in the feed. - - - Gets or sets the URI that identifies the entity set represented by the feed. - The URI that identifies the entity set represented by the feed. - - - Gets or sets the URI representing the next page link. - The URI representing the next page link. - - - - URI representing the delta link. - - - - - Collection of custom instance annotations. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single link. - - - - the metadata builder for this navigation link. - - - URI representing the Unified Resource Locator (Url) of the link as provided by the user or seen on the wire (never computed). - - - true if the navigation link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - The association link URL for this navigation link as provided by the user or seen on the wire (never computed). - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this navigation link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets a value that indicates whether the navigation link represents a collection or an entry. - true if the navigation link represents a collection; false if the navigation represents an entry. - This property is required to have a value for ATOM payloads and is optional for JSON payloads. - - - Gets or sets the name of the link. - The name of the link. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - - - The association link URL for this navigation link. - - - - Represents a media resource. - - - - the metadata builder for this OData entry. - - - The name of the named stream this value belongs to; null for the default media resource. - - - Edit link for media resource. - - - Edit link for media resource. - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - Read link for media resource. - - - Read link for media resource. - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - Sets the metadata builder for this stream reference value. - - The metadata builder used to compute values from model annotations. - The property name for the named stream; null for the default media resource. - - - - Gets the metadata builder for this stream reference value. - - The metadata builder used to compute links. - - - Gets or sets the edit link for media resource. - The edit link for media resource. - - - Gets or sets the read link for media resource. - The read link for media resource. - - - Gets or sets the content media type. - The content media type. - - - Gets or sets the media resource ETag. - The media resource ETag. - - - - Represents a single property of an entry. - - - - - The value of this property, accessed and set by both and . - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the property name. - The property name. - - - Gets or sets the property value. - The property value. - - - - Property value, represented as an ODataValue. - - - This value is the same as , except that primitive types are wrapped - in an instance of ODataPrimitiveValue, and null values are represented by an instance of ODataNullValue. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single entity. - - - - the metadata builder for this OData entry. - - - The entry ETag, as provided by the user or seen on the wire (never computed). - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - The Entry ID, as provided by the user or seen on the wire (never computed). - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - Link used to edit the entry, as provided by the user or seen on the wire (never computed). - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - A link that can be used to read the entry, as provided by the user or seen on the wire (never computed). - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - The default media resource of the media link entry, as provided by the user or seen on the wire (never computed). - - - The entry properties provided by the user or seen on the wire (never computed). - - - The entry actions provided by the user or seen on the wire (never computed). - - - The entry functions provided by the user or seen on the wire (never computed). - - - - Provides additional serialization information to the for this . - - - - Gets or sets the entry ETag. - The entry ETag. - - - Gets or sets the Entry identifier. - The Entry identifier. - - - Gets or sets the link used to edit the entry. - The link used to edit the entry. - - - Gets or sets a link that can be used to read the entry. - The link that can be used to read the entry. - - - Gets or sets the default media resource of the media link entry. - The default media resource of the media link entry. - - - Gets or sets the association links. - The association links. - - - Gets or sets the entity actions. - The entity actions. - - - Gets or sets the entity functions. - The entity functions. - - - Gets or sets the entry properties. - The entry properties. - - Non-property content goes to annotations. - - - - Gets or sets the type name of the entry. - The type name of the entry. - - - - Collection of custom instance annotations. - - - - - The metadata builder for this OData entry. - - - - - Returns the entry's Id property that has been set directly, and was not computed using the metadata builder. - - - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's EditLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ReadLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ETag property that has been set directly, and was not computed using the metadata builder. - - - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - - Returns the default media resource of the media link entry that has been set directly and was not computed using the metadata builder. - - - Returns the entity properties that has been set directly and was not computed using the metadata builder. - - - Returns the entity actions that has been set directly and was not computed using the metadata builder. - - - Returns the entity functions that has been set directly and was not computed using the metadata builder. - - - - Provides additional serialization information to the for this . - - - - - Class with utility methods for working with and implementing Task based APIs - - - - - Already completed task. - - - - - Returns an already completed task instance with the specified result. - - Type of the result. - The value of the result. - An already completed task with the specified result. - - - - Returns an already completed task instance with the specified error. - - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task instance with the specified error. - - Type of the result. - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task for the specified synchronous operation. - - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over CompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation. - - The type of the result returned by the operation. This MUST NOT be a Task type. - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over GetCompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The type of the task result. - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted and it failed with exception of type TExceptionType. - - The type of the result of the task. - The exception type to catch. - The task to "append" the operation to. - The operation to execute if the faulted with an exception of type TExceptionType. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails and the exception is not of the TExceptionType, - if the exception type matches, the task will return the value returned by the catchBlock. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - Suppresses default exception handling of a Task that would otherwise reraise the exception on the finalizer thread. - The Task to be monitored. - The original Task. - - - Gets the TaskScheduler instance that should be used to schedule tasks. - Factory to get the scheduler for. - The scheduler for the specified factory. - - - Asynchronously iterates through an enumerable of tasks. - The target factory. - The enumerable containing the tasks to be iterated through. - A Task that represents the complete asynchronous operation. - - - - The func used as the continuation (the func in the ContinueWith) for FollowOnSuccess implementations. - - The type of the result of the operation to follow up with. - The task which just finished. - The task completion source to apply the result to. - The func to execute as the follow up action in case of success of the . - - - - The implementation helper for FollowOnSuccess methods which don't allow result type of Task. - - The type of the result of the followup operation, this MUST NOT be a Task type. - The task to follow with operation. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFault methods. - - The type of the result of the task. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFaultAndCatchException methods. - - The type of the result of the task. - The type of the exception to catch. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - Function which gets a task result. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns already completed task instance. - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The format '{0}' does not support writing a payload of kind '{1}'." - - - - - A string like "The format '{0}' does not support writing custom instance annotations." - - - - - A string like "The format '{0}' does not support reading a payload of kind '{1}'." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but the metadata document URI or the metadata for the item to be written was not specified for the writer. The metadata document URI and the metadata for the item to be written must be provided to the writer when using relative URI values." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but a base URI was not specified for the writer. A base URI must be set when using relative URI values." - - - - - A string like "The property '{0}' is a stream property, but it is not a property of an ODataEntry instance. In OData, stream properties must be properties of ODataEntry instances." - - - - - A string like "An invalid state transition has been detected in an OData writer. Cannot transition from state '{0}' to state '{1}'." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write a navigation link." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. You must first call ODataWriter.WriteEnd to finish writing a null ODataEntry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write an entry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing further can be written once the writer has completed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing can be written once the writer entered the error state." - - - - - A string like "ODataWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Entry', 'Feed', 'NavigationLink', and 'NavigationLinkWithContent'." - - - - - A string like "Multiple properties with the name '{0}' were detected in an entry or a complex value. In OData, duplicate property names are not allowed." - - - - - A string like "Multiple navigation links with the same name '{0}' for a singleton navigation property were detected on an entry. In OData, a singleton navigation property can have only one navigation link." - - - - - A string like "Multiple annotations with the name '{0}' were detected. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the property with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the instance annotation with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "An annotation with name '{0}' for property '{1}' was detected after the property, or after an annotation for another property. In OData, annotations for a property must be in a single group and must appear before the property they annotate." - - - - - A string like "Cannot convert a value of type '{0}' to the string representation of an Atom primitive value." - - - - - A string like "The value of type '{0}' is not supported and cannot be converted to a JSON representation." - - - - - A string like "The version '{0}' specified by the payload is higher than the maximum protocol version '{1}' specified by the ODataMessageReaderSettings.MaxProtocolVersion property." - - - - - A string like "The property '{0}' is not supported when ODataVersion is greater than '{1}'." - - - - - A string like "Parameters in the payload are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Association links are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The inline count feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The next link feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The delta link feature is only supported in version 3.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "A collection property '{0}' was detected; Collection properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {1}." - - - - - A string like "Collection types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Stream properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The entity property mapping specified on type '{0}' is only supported in version {1} of the OData protocol and higher versions. It is not supported in version {2}." - - - - - A string like "Geography and Geometry types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The '{0}' value for the href of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When an href is specified in metadata, the href values must match." - - - - - A string like "The '{0}' value for the title of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a title is specified in metadata, the titles must match." - - - - - A string like "The '{0}' value for the relation of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a relation is specified in metadata, the relations must match." - - - - - A string like "The '{0}' value for the media type of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. If a media type is specified in metadata, the media types must match." - - - - - A string like "An annotation of type string was expected for the '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' annotation, but an annotation of type '{1}' was found." - - - - - A string like "The '{0}' value for the term of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a term is specified in Atom metadata, the terms must match." - - - - - A string like "The '{0}' value for the scheme of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a scheme is specified in Atom metadata, the schemes must match." - - - - - A string like "The text kind '{1}' specified by the atom metadata property '{0}' conflicts with the text kind '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify text kinds, those text kinds must be equal." - - - - - A string like "The value '{1}' specified by the atom metadata property '{0}' conflicts with the value '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify a value, these values must be equal." - - - - - A string like "The content type '{0}' is not supported when writing raw values." - - - - - A string like "Cannot set message headers for the invalid payload kind '{0}'." - - - - - A string like "The payload kind '{0}' used in the last call to ODataUtils.SetHeadersForPayload is incompatible with the payload being written, which is of kind '{1}'." - - - - - A string like "The stream property '{0}' cannot be written to the payload as a top level property." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with an owning type '{0}' of kind '{1}'. The owning type of a property can only be of kind Complex or Entity." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with a producing function import with return type '{0}'. The producing function import for property payloads must return type which is either a primitive, complex, primitive collection of complex collection type." - - - - - A string like "The navigation property named '{0}' given to ODataMessageWriter.WriteEntityReferenceLinks represents a singleton property. When writing multiple entity reference links, the navigation property must be a collection." - - - - - A string like "A JsonPaddingFunctionName was specified, but the content-type '{0}' is not supported with Json Padding." - - - - - A string like "The type '{0}' specified as the collection's item type is not primitive or complex. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "Cannot create an ODataCollectionWriter for ODataFormat.{0}. Only ODataFormat.PlainXml and ODataFormat.Json are supported." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write the collection or to write nothing at all." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or to write the end of the collection." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or the end of the collection." - - - - - A string like "ODataCollectionWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Start', 'Collection', and 'Item'." - - - - - A string like "A collection with name '{0}' is being written with producing function import name '{1}'. If the producing function import is specified the collection name must be either null or match the name of the function import." - - - - - A string like "The producing function import '{0}' specified for the collection writer returns type '{1}' which is not a collection of primitive or complex values. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "An invalid HTTP method '{0}' was detected for a query operation. Query operations only support the HTTP 'GET' method." - - - - - A string like "An invalid HTTP method '{0}' was detected for a request in a change set. Requests in change sets only support the HTTP methods 'POST', 'PUT', 'DELETE', 'MERGE', and 'PATCH'." - - - - - A string like "The header with name '{0}' was not present in the header collection of the batch operation." - - - - - A string like "Multiple headers with names that match '{0}', when using a case insensitive comparison, have been added. When case-insensitive header names are used, at most one header can be added for each name." - - - - - A string like "The parameter '{0}' has already been written. Duplicate parameter names are not allowed in the parameter payload." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call WriteValue on a parameter that is not of Edm type kinds 'Primitive' or 'Complex'." - - - - - A string like "The value for parameter '{0}' is of type '{1}'. WriteValue can only write null, ODataComplexValue and primitive types that are not Stream type." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call CreateCollectionWriter on a parameter that is not of Edm type kind 'Collection'." - - - - - A string like "The name '{0}' is not a recognized parameter name for function import '{1}'." - - - - - A string like "The parameters {0} of the function import '{1}' could not be found when writing the parameter payload. All parameters present in the function import must be written to the parameter payload." - - - - - A string like "The current batch message contains too many parts. Only batch messages with a maximum number of '{0}' query operations and change sets are allowed." - - - - - A string like "The current change set contains too many operations. Only change sets with a maximum number of '{0}' operations are allowed." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader. When the relative URI is a reference to a content ID, the content ID does not exist in the current change set." - - - - - A string like "The method CreateOperationRequestMessage was called in state '{0}', which is not allowed. CreateOperationRequestMessage can only be called in state 'Operation'." - - - - - A string like "The method CreateOperationResponseMessage was called in state '{0}', which is not allowed. CreateOperationResponseMessage can only be called in state 'Operation'." - - - - - A string like "ODataBatchReader.ReadAsync or ODataBatchReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current batch message contains too many parts. A maximum number of '{0}' query operations and change sets are allowed in a batch message." - - - - - A string like "The current change set contains too many operations. A maximum number of '{0}' operations are allowed in a change set." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The message header '{0}' is invalid. The header value must be of the format '<header name>: <header value>'." - - - - - A string like "The request line '{0}' is invalid. The request line at the start of each operation must be of the format 'HttpMethod RequestUrl HttpVersion'." - - - - - A string like "The response line '{0}' is invalid. The response line at the start of each operation must be of the format 'HttpVersion StatusCode StatusCodeString'." - - - - - A string like "The HTTP version '{0}' used in a batch operation request or response is not valid. The value must be '{1}'." - - - - - A string like " The HTTP status code '{0}' is invalid. An HTTP status code must be an integer value." - - - - - A string like "A missing or invalid '{0}' header was found. The '{0}' header must be specified for each batch operation, and its value must be '{1}'." - - - - - A string like "The '{0}' header value '{1}' is invalid. When this is the start of the change set, the value must be '{2}'; otherwise it must be '{3}'." - - - - - A string like "The content length header '{0}' is not valid. The content length header must be a valid Int32 literal and must be greater than or equal to 0." - - - - - A string like "The header '{0}' was specified multiple times. Each header must appear only once in a batch part." - - - - - A string like "Invalid multi-byte encoding '{0}' detected. Multi-byte encodings other than UTF-8 are only supported for operation payloads. They are not supported in batch or change set parts." - - - - - A string like "Too many white spaces after a boundary delimiter and before the terminating line feed. For security reasons, the total number of characters for a boundary including white spaces must not exceed {0}." - - - - - A string like "The MIME type '{0}' is invalid or unspecified." - - - - - A string like "The MIME type '{0}' requires a '/' character between type and subtype, such as 'text/plain'." - - - - - A string like "The MIME type '{0}' requires a subtype definition." - - - - - A string like "The MIME type is missing a parameter value for a parameter with the name '{0}'." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the escape character '{3}' is not inside a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because it terminates with the escape character '{3}'. In a quoted-string, the escape characters must always be followed by a character." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the closing quote character was not found for the quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the character '{3}' is not allowed in a quoted-string. For more information, see RFC 2616, Sections 3.6 and 2.2." - - - - - A string like "The MIME type '{0}' requires a semi-colon character (';') before a parameter definition." - - - - - A string like "An invalid quality value was detected in the header string '{0}'; quality values must start with '0' or '1' but not with '{1}'." - - - - - A string like "An invalid quality value '{0}' was detected in the header string '{1}'; quality values must be in the range [0, 1]." - - - - - A string like "An error occurred when converting the character '{0}' to an integer." - - - - - A string like "The separator ',' was missing between charset values in the header '{0}'." - - - - - A string like "A separator character was missing between charset values in the header '{0}'." - - - - - A string like "An invalid (empty) charset name found in the header '{0}'." - - - - - A string like "An unexpected end of the q-Value was detected in the header '{0}'." - - - - - A string like "The expected literal '{0}' was not found at position '{1}' in the string '{2}'." - - - - - A string like "The string '{0}' cannot be converted into a supported HTTP method. The only supported HTTP methods are GET, DELETE, PUT, POST, PATCH and MERGE." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a recognized separator. The supported separators are ',', ';', and '='." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token is expected but a quoted-string is found instead." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token or a quoted-string is expected at this position but were not found." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a valid separator after a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the header value should not end with the separator '{3}'." - - - - - A string like "The character set '{0}' is not supported." - - - - - A string like "A supported MIME type could not be found that matches the acceptable MIME types for the request. The supported type(s) '{0}' do not match any of the acceptable MIME types '{1}'." - - - - - A string like "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) '{0}' matches the content type '{1}'." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "The content type '{0}' specifies a batch payload; however, the payload either does not include a batch boundary or includes more than one boundary. In OData, batch payload content types must specify exactly one batch boundary in the '{1}' parameter of the content type." - - - - - A string like "The '{0}' value provided for the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The value '{0}' of the targetNamespaceUri parameter provided to the EntityPropertyMappingAttribute does not have a valid URI format." - - - - - A string like "The PropertyName property value '{1}' set in the EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type." - - - - - A string like "The property '{0}' provided in the middle of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a complex type." - - - - - A string like "More than one EntityPropertyMappingAttribute on type '{0}' have a 'PropertyName' value '{1}'. In OData, an entity property cannot be mapped more than once." - - - - - A string like "The property '{0}' on type '{1}' is not present." - - - - - A string like "The property '{0}' defined on type '{1}' is not present in the instance of the type." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'Edm.Stream'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' does not have a primitive type. Only open primitive properties can be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid because it contains an empty segment." - - - - - A string like "The TargetName property paths '{0}' and '{1}' set in two EntityPropertyMappingAttribute instances are invalid because they would result in mixed content. Mixed content produced by entity property mappings is not supported." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the 'TargetName' property of EntityPropertyMappingAttribute." - - - - - A string like "More than one EntityPropertyMappingAttribute on the type '{0}' have the same 'TargetName' value '{1}'. The conflicting properties are '{2}' and '{3}'. In OData, target names of entity property mappings must be unique on a given type." - - - - - A string like "The property value corresponding to '{0}' property in SyndicationItemProperty could not be converted to the type DateTimeOffset." - - - - - A string like "The collection property '{0}' has no items but is mapped to the author element. Only non-empty collection properties can be mapped to the author element in an entry." - - - - - A string like "The property '{0}' on type '{1}' that is mapped to '{2}' has a 'null' value. Properties that are mapped to attributes cannot be null." - - - - - A string like "'{0}' is not a valid value for 'atom:link/@length' attribute. " - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'link/@rel' is not valid. Properties that are mapped to 'link/@rel' cannot have values that are Atom-defined simple identifiers, such as alternate, related, self, enclosure, via, describedby, service, edit, or edit-media; cannot be an Atom-defined simple identifier following the IANA namespace, such as 'http://www.iana.org/assignments/relation/edit'; and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'category/@scheme' is not valid. Properties that are mapped to 'category/@scheme' must have values that are URIs and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "Expected literal type token but found token '{0}'." - - - - - A string like "The relative URI '{0}' cannot be escaped because it starts with '{1}' and a base URI is not available. Relative URIs without a base URI cannot start with '/', '\\' or '..'." - - - - - A string like "The type '{0}' is not supported when converting to a URI literal." - - - - - A string like "The format '{0}' is not supported when converting to a URI literal. The supported formats are ODataFormat.JsonLight and ODataFormat.VerboseJson." - - - - - A string like "Type verification failed. Expected type '{0}' but received the value '{1}'." - - - - - A string like "Type verification failed. Expected type '{0}' but received non-matching null value with associated type '{1}'." - - - - - A string like "Type verification failed. Expected non-nullable type '{0}' but received a null value." - - - - - A string like "The value of type '{0}' could not be converted to the string representation of a raw primitive value." - - - - - A string like "A default MIME type could not be found for the requested payload in format '{0}'." - - - - - A string like "The value '{0}' of the DataServiceVersion HTTP header is invalid. Only '1.0', '2.0' and '3.0' are supported as values for the DataServiceVersion header." - - - - - A string like "The value returned by the '{0}' property cannot be modified until the end of the owning entry is reported by the reader." - - - - - A string like "A null value was found with the expected type '{0}[Nullable=False]'. The expected type '{0}[Nullable=False]' does not allow null values." - - - - - A string like "A null value was found for the property named '{0}', which has the expected type '{1}[Nullable=False]'. The expected type '{1}[Nullable=False]' does not allow null values." - - - - - A string like "Complex type '{1}' is a subtype of a base type '{0}'. Derived complex types are not supported." - - - - - A string like "Cannot convert a primitive value to the expected type '{0}'. See the inner exception for more details." - - - - - A string like "The base URI '{0}' specified in ODataMessageReaderSettings.BaseUri is invalid; it must be either null or an absolute URI." - - - - - A string like "An undeclared property '{0}' was found on type '{1}', which is marked as open; however, either the ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or the ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting is used. The ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting cannot be used with open types." - - - - - A string like "The metadata URI '{0}' references the entity set with name '{1}'; however, the name of the expected entity set is '{2}' and does not match the entity set referenced in the metadata URI." - - - - - A string like "The metadata URI '{0}' references the entity type with name '{1}'; however, the name of the expected entity type is '{2}' which is not compatible with the entity type with name '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the name of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the declaring type of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected producing function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' which returns a collection with item type '{2}'; however, the item type of the collection returned by the expected producing function import is '{3}'." - - - - - A string like "The metadata URI '{0}' references a property with name '{1}' on type '{2}'; however, a producing function import with name '{3}' was specified." - - - - - A string like "The metadata URI '{0}' references a function import with name '{1}'; however, an expected structural property with name '{2}' on type '{3}' was specified." - - - - - A string like "The collection name '{0}' was read from the payload; however, the name of the expected producing function import is '{1}'." - - - - - A string like "The property or function import name '{0}' was read from the payload; however, the name of the expected property or function import is '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the expected property with the same name is declared on type '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' and type '{2}' on declaring type '{3}'; however, the expected property type is '{4}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' and return type '{2}'; however, the expected return type is '{3}'." - - - - - A string like "The metadata URI '{0}' references the type '{1}'; however the expected type is '{2}'." - - - - - A string like "The metadata URI '{0}' refers to the item type '{1}' which is not assignable to the expected item type '{2}'." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The expected type can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The entity set can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The function import can only be specified if metadata is made available to the reader." - - - - - A string like "The producing function import '{0}' for a collection reader has the return type '{1}'. Only function imports returning collections of primitive or complex values can be specified as the producing function import for a collection reader." - - - - - A string like "The expected type for a collection reader is of kind '{0}'. Only types of Primitive or ComplexType kind can be specified as the expected type for a collection reader." - - - - - A string like "The expected type for a value is of kind '{0}'. Only types of Primitive kind can be specified as the expected type for reading a value." - - - - - A string like "The wildcard '*' was detected in the value '{0}' of the content type header. The value of the content type header cannot contain wildcards." - - - - - A string like "The navigation property '{0}' with singleton cardinality on type '{1}' was specified for reading a collection of entity reference links. A navigation property with collection cardinality has to be provided." - - - - - A string like "The content type '{0}' specifies a batch payload but does not include a batch boundary. In OData, batch payload content types must specify a batch boundary in the '{1}' parameter of the content type." - - - - - A string like "ODataReader.ReadAsync or ODataReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "Calling Read or ReadAsync on an ODataReader instance is not allowed in state '{0}'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed. A 'StartObject' or 'EndArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a feed. A 'StartObject' or 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was expected." - - - - - A string like "Cannot convert a value of type 'Edm.Int32' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Double' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Boolean' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTime' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTimeOffset' to the expected target type '{0}'." - - - - - A string like "Multiple '{0}' properties were found in the value of the '__metadata' property. In OData, the value of the '__metadata' property must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link wrapper object. In OData, an entity reference link wrapper must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an error or inner error object. In OData, an error or inner error must have at most one '{0}' property." - - - - - A string like "The '{0}' property in a feed wrapper has a null value. In OData, the '{0}' property must have a non-null value." - - - - - A string like "The '{0}' property in the value of the '__mediaresource' property has a null value. In OData, the '{0}' property must have a string value." - - - - - A string like "The '{0}' property for a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in the value of the '__metadata' property has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. If the payload contains a relative URI a base URI must be specified on the reader settings." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In OData, entity reference links must be objects." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a 'StartArray' node was expected." - - - - - A string like "Multiple '{0}' properties were found for a stream reference value. In OData, a stream reference value can only contain one '{0}' property." - - - - - A string like "Found a node of type '{1}' when starting to read the property value, however a node of type 'StartObject' was expected. The '{0}' property of an entry metadata must have an object value. " - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartObject' or 'StartArray' node was expected." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' is not an annotation. In OData, JSON Light annotation groups can only contain instance and property annotations." - - - - - A string like "Multiple annotation groups with name '{0}' were found in the payload. In OData, annotation group names must be unique for the entire payload and the same annotation group instance has to be used for its declaration and when referencing it." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}'. The 'Target' property value of these operations must be set to a non-null value." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}' and the same 'Target' property value of '{1}'. When multiple operations have the same 'Metadata' property value, their 'Target' property values must be unique." - - - - - A string like "A property with name '{0}' was found in the error object when reading a top-level error. In OData, a top-level error object must have exactly one property with name 'error'." - - - - - A string like "A property with name '{0}' was found in the message value of a top-level error. In OData, the message value of a top-level error value can only have properties with name 'lang' or 'value'." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected." - - - - - A string like "Multiple '{0}' properties were found in a collection. In OData, a collection can only have one '{0}' property." - - - - - A string like "The 'type' property value '{0}' is not a valid type name. The value of the 'type' property must be a non-empty string." - - - - - A string like "The 'type' property value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "Found a node of type '{0}' when starting to read the property value; however, a node of type 'StartObject' was expected. The '__metadata' property must have an object value." - - - - - A string like "ODataCollectionReader.ReadAsync or ODataCollectionReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current state of the collection reader is '{0}'; however, the expected item type of a collection reader can only be set in state '{1}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state. '{1}' must be called in this state, and the created reader must be in the 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state and '{1}' was called but the created reader is not in the 'Completed' state. The created reader must be in 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "You cannot call the method '{0}' in state '{1}'." - - - - - A string like "The '{0}' method has already been called for the parameter '{1}'. Only one create reader method call is allowed for each entry, feed, or collection parameter." - - - - - A string like "The parameter '{0}' in the request payload is not a valid parameter for the function import '{1}'." - - - - - A string like "Multiple parameters with the name '{0}' were found in the request payload." - - - - - A string like "One or more parameters of the function import '{0}' are missing from the request payload. The missing parameters are: {1}." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. The supported type kinds are Primitive, Complex, Primitive Collection and Complex Collection." - - - - - A string like "When trying to read a null collection parameter value in verbose JSON, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a 'null' value was expected." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a collection with a collection wrapper object. A 'StartObject' node was expected." - - - - - A string like "When trying to read the start of a collection without a collection wrapper object, a node of type '{0}' was read from the JSON reader; however, a 'StartArray' node was expected." - - - - - A string like "The 'Metadata' property on an {0} must be set to a non-null value." - - - - - A string like "The 'Target' property on an {0} must be set to a non-null value." - - - - - A string like "The '{0}' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "The property '{0}' does not exist on type '{1}'. Make sure to only use property names that are defined by the type." - - - - - A string like "A primitive value was specified; however, a value of the non-primitive type '{0}' was expected." - - - - - A string like "Unsupported primitive type. A primitive type could not be determined for an instance of type '{0}'." - - - - - A string like "An incompatible primitive type '{0}[Nullable={1}]' was found for an item that was expected to be of type '{2}[Nullable={3}]'." - - - - - A string like "Type name '{0}' is an invalid collection type name; a collection type name must be in the format 'Collection(<itemTypeName>)'." - - - - - A string like "A type named '{0}' could not be resolved by the model. When a model is available, each type name must resolve to a valid type." - - - - - A string like "Incompatible type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with type '{0}' was found, which is of kind '{1}'. Value can only be of kind 'Primitive', 'Complex' or 'Collection'." - - - - - A string like "The property '{0}' cannot be a stream property because it is not of kind EdmPrimitiveTypeKind.Stream." - - - - - A string like "The ETag value '{0}' is not valid. An ETag value must be a quoted string or 'W/' followed by a quoted string. Refer to HTTP RFC 2616 for details on valid ETag formats." - - - - - A string like "A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as '{0}', but the type specified in the metadata is '{1}'." - - - - - A string like "An open collection property '{0}' was found. In OData, open collection properties are not supported." - - - - - A string like "An open stream property '{0}' was found. In OData, open stream properties are not supported." - - - - - A string like "An invalid collection type kind '{0}' was found. In OData, collection types must be of kind 'Collection'." - - - - - A string like "An entry with type '{0}' was found with a media resource, but this entity type is not a media link entry (MLE). When the type is not an MLE entity, the entry cannot have a media resource." - - - - - A string like "An entry with type '{0}' was found without a media resource, but this entity type is a media link entry (MLE). When the type is an MLE entity, the entry must have a media resource." - - - - - A string like "An entry with type '{0}' was found, but it is not assignable to the expected type '{1}'. The type specified in the entry must be equal to either the expected type or a derived type." - - - - - A string like "A navigation property with name '{0}' was found on type '{1}', however this property was not declared. Open navigation properties are not supported; all navigation properties must be declared in metadata." - - - - - A string like "A property with name '{0}' on type '{1}' has kind '{2}', but it is expected to be of kind 'Navigation'." - - - - - A string like "The boundary delimiter '{0}' is invalid. A boundary delimiter must be non-null, be non-empty, and have a maximum of {1} characters." - - - - - A string like "The maximum recursion depth limit was reached. The depth of nested values in a single property cannot exceed {0}." - - - - - A string like "The depth limit for entries in nested expanded navigation links was reached. The number of nested expanded entries cannot exceed {0}." - - - - - A string like "A null value was found in a collection, but the expected collection item type '{0}' does not allow null values." - - - - - A string like "The property name '{0}' is invalid; property names must not contain any of the reserved characters {1}." - - - - - A string like "The maximum number of entity property mappings allowed on an entity type and all its base types has been exceeded. A total of {0} entity property mappings were found, but a maximum of {1} entity property mappings are allowed." - - - - - A string like "Encountered a property '{0}' that was expected to be a reference to a location in the $metadata document but does not contain a '#' character or is otherwise not a valid metadata reference property. A metadata reference property must contain a '#' and be a valid absolute URI or begin with a '#' and be a valid URI fragment." - - - - - A string like "A top level property with name '{0}' and a producing function import with name '{1}' is being written. If the producing function import is specified the property name must be either null or must match the function import name." - - - - - A string like "A duplicate value '{0}' was detected as the name of a resource collection. Resource collections must have unique names in a given workspace." - - - - - A string like "The base URI '{0}' specified in ODataMessageWriterSettings.BaseUri is invalid; it must either be null or an absolute URI." - - - - - A string like "The type '{0}' of an entry in an expanded link is not compatible with the element type '{1}' of the expanded link. Entries in an expanded link must have entity types that are assignable to the element type of the expanded link." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the actual payload is an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the actual payload is a feed." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the metadata declares it as an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the metadata declares it as feed." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is a feed, but the metadata declares it as an entry." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is an entry, but the metadata declares it as feed." - - - - - A string like "The collection property '{0}' has a null value, which is not allowed. In OData, collection properties cannot have null values." - - - - - A string like "The property '{0}[Nullable=False]' of type '{1}' has a null value, which is not allowed." - - - - - A string like "The stream property '{0}' has a null value, which is not allowed. In OData, stream properties cannot have null values." - - - - - A string like "An action or a function with metadata '{0}' was detected when writing a request; actions and functions are only supported in responses." - - - - - A string like "An association link with name '{0}' could not be written to the request payload. Association links are only supported in responses." - - - - - A string like "An stream property with name '{0}' could not be written to the request payload. Stream properties are only supported in responses." - - - - - A string like "The metadata document URI '{0}' specified in ODataMessageWriterSettings.MetadataDocumentUri is invalid; it must be either null or an absolute URI." - - - - - A string like "The ODataNavigationLink.Url property on an navigation link '{0}' is null. The ODataNavigationLink.Url property must be set to a non-null value that represents the entity or entities the navigation link references." - - - - - A string like "The ODataNavigationLink.IsCollection property on a navigation link '{0}' is null. The ODataNavigationLink.IsCollection property must be specified when writing a link into a request." - - - - - A string like "An XML node of type '{0}' was found in a string value. An element with a string value can only contain Text, CDATA, SignificantWhitespace, Whitespace or Comment nodes." - - - - - A string like "An XML node of type '{0}' was found at the root level. The root level of an OData payload must contain a single XML element and no text nodes." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and value 'true', it must be empty." - - - - - A string like "The metadata document could not be read from the message content.\r\n{0}" - - - - - A string like "The metadata document could not be written as specified.\r\n{0}" - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The required '{0}' attribute is missing on type '{1}'." - - - - - A string like "The required '{0}' attribute is missing on property '{1}' on type '{2}'." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to an AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to an AtomPub element." - - - - - A string like "The value for the annotation with namespace '{0}' and local name '{1}' is of type '{2}'. Only string values are supported." - - - - - A string like "A navigation link '{0}' was found with type 'feed', but its matching navigation property is of kind EntityReference. A navigation link with type 'feed' must match a navigation property of kind EntitySetReference." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. When the payload contains a relative URI, there must be an xml:base in the payload or else a base URI must specified in the reader settings." - - - - - A string like "A child element of the collection was named '{0}'. Each child element representing the value of the collection must be named 'element', and each must belong to the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level collection must have the root element in the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level property payload must have the root element in the '{1}' namespace." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and a value of 'true', it must be empty." - - - - - A string like "The element with name '{0}' is not a valid collection item. The name of the collection item element must be 'element' and it must belong to the '{1}' namespace." - - - - - A string like "The property '{0}' on type '{1}' was found in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element, and it is declared as a navigation property. Navigation properties in ATOM must be represented as {{http://www.w3.org/2005/Atom}}:link elements." - - - - - A string like "Writing null value for the instance annotation '{0}' is not allowed. The instance annotation '{0}' has the expected type '{1}[Nullable=False]'." - - - - - A string like "A node of type '{0}' was found where a node of type 'Element' was expected. An entry must be represented as an XML element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, an entry was expected. An entry must be represented as an {{http://www.w3.org/2005/Atom}}:entry element." - - - - - A string like "The 'type' attribute on element {{http://www.w3.org/2005/Atom}}:content is either missing or has an invalid value '{0}'. Only 'application/xml' and 'application/atom+xml' are supported as the value of the 'type' attribute on the {{http://www.w3.org/2005/Atom}}:content element." - - - - - A string like "An XML node '{0}' was found in the {{http://www.w3.org/2005/Atom}}:content element. The only valid child nodes of the {{http://www.w3.org/2005/Atom}}:content element are insignificant nodes and the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, a feed was expected. A feed must be represented as a {{http://www.w3.org/2005/Atom}}:feed element." - - - - - A string like "An element with name '{0}' in namespace 'http://www.w3.org/2005/Atom' was found inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element. Only 'entry' and 'feed' elements from the 'http://www.w3.org/2005/Atom' namespace, or elements from other namespaces are allowed inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Another expanded '{0}' was found in {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline, but it already contains an expanded feed or entry. Only one expanded feed or expanded entry is allowed in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Multiple edit links were found for the stream property '{0}'. Only one edit link is allowed for a given stream property." - - - - - A string like "Multiple read links were found for the stream property '{0}'. Only one read link is allowed for a given stream property." - - - - - A string like "Multiple content type values were found for the stream property '{0}'. When a stream property is represented as two {{http://www.w3.org/2005/Atom}}:link elements that both have the 'type' attribute, then both values must be the same." - - - - - A string like "Found a stream property '{0}', but there is already another property with the same name on the entity. The stream property name cannot conflict with the name of another property." - - - - - A string like "The 'metadata' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "The 'target' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on an entry. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on a feed. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Duplicate '{{{0}}}:{1}' elements were found. In OData, at most one '{{{0}}}:{1}' element is allowed." - - - - - A string like "The value of the 'type' attribute on the association link for the navigation property '{0}' is invalid. The value of the 'type' attribute on an association link must be 'application/xml'. " - - - - - A string like "Encountered an 'annotation' element with a 'target' attribute value of '{0}' and a term name of '{1}'. When an 'annotation' element occurs as a direct child of an 'entry' or 'feed' element, it must have either no 'target' attribute or a 'target' attribute with a value of '.'." - - - - - A string like "A root element with name '{0}' was found in namespace '{1}'. The root element of a service document must be named 'service' and it must belong to the 'http://www.w3.org/2007/app' namespace." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. With the exception of extension elements, a service document can contain only a single {{http://www.w3.org/2007/app}}:workspace element." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. A workspace element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:collection element." - - - - - A string like "An element with name '{0}' was fond in namespace 'http://www.w3.org/2007/app'. A {{http://www.w3.org/2007/app}}:collection element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:accept or {{http://www.w3.org/2007/app}}:categories element." - - - - - A string like "The type attribute with value '{0}' was fond on an Atom text construct element with local name '{1}'. The type attribute must be missing or else it must have a value 'text', 'html' or 'xhtml'." - - - - - A string like "Multiple '{0}' elements were found inside a '{1}' element. A '{1}' element cannot contain more than one '{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid root element for an error. The root element of an error must be 'error' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' namespace." - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in a top-level error value. In OData, the value of a top-level error value can have no more than one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element" - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in an inner error value. In OData, the value of an inner error value can have at most one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for an entity reference link. The start element of an entity reference link must be 'uri' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for entity reference links. The start element of entity reference links must be 'links' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "Multiple '{{{0}}}:{1}' elements were found in an entity reference links element. In OData, the value of an entity reference links element must have at most one '{{{0}}}:{1}' element." - - - - - A string like "The entity property mapping with source path '{0}' uses an open complex or collection property. Open complex or collection properties cannot be read through entity property mapping." - - - - - A string like "Multiple values were found for the non-collection property '{0}' on type '{1}' that is mapped to '{2}'." - - - - - A string like "A 'fixed' attribute with the value '{0}' was found on a 'categories' element. When the 'fixed' attribute is not missing, it must have a value of either 'yes' or 'no'." - - - - - A string like "Multiple 'title' elements were found inside a '{0}' element. A '{0}' element can only contain a single {{http://www.w3.org/2005/Atom}}:title element." - - - - - A string like "The specified resource collection name '{0}' does not match the specified title '{1}' as set in AtomResourceCollectionMetadata.Title." - - - - - A string like "An invalid item type kind '{0}' was found. Items in a collection can only be of type kind 'Primitive' or 'Complex', but not of type kind '{0}'." - - - - - A string like "An item of type kind '{0}' was found in a collection that otherwise has items of type kind '{1}'. In OData, all items in a collection must have the same type kind." - - - - - A string like "An item with type name '{0}' was found in a collection of items with type name '{1}'. In OData, all items in a collection must have the same type name." - - - - - A string like "An entry of type '{0}' was found in a feed that otherwise has entries of type '{1}'. In OData, all entries in a feed must have a common base type." - - - - - A string like "The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of {0} bytes has been read from the stream; however a maximum of {1} bytes is allowed." - - - - - A string like "The custom type resolver set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior returned 'null' when resolving the type '{0}'. When a custom type resolver is specified, it cannot return null." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "The property '{0}' is not declared on the non-open type '{1}'." - - - - - A string like "Multiple annotations for term '{0}' were found on element '{1}'. Only a single annotation for the term '{0}' can be specified." - - - - - A string like "Multiple annotations for term '{0}' with qualifier '{1}' were found on element '{2}'. Only a single annotation for the term '{0}' with the qualifier '{1}' can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. Only a single annotation for the term '{0}' without any qualifier can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. A single annotation for the term '{0}' with the qualifier '{3}' is expected." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The entity type '{0}' is not compatible with the base type '{1}' of the provided entity set '{2}'. When an entity type is specified for an OData feed or entry reader, it has to be the same or a subtype of the base type of the specified entity set." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON Light, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "The required property '{0}' was not found at the expected position in the payload. Instead, found a property named '{1}'." - - - - - A string like "The annotation '{0}' was targeting the instance annotation '{1}'. Only the '{2}' annotation is allowed to target an instance annotation." - - - - - A string like "The annotation '{0}' is found targeting the instance annotation '{1}'. However the value for the instance annotation '{1}' is not found immediately after. In JSON Light, an annotation targeting an instance annotation must be immediately followed by the value of the targeted instance annotation." - - - - - A string like "The base type '{0}' of the entity set specified for writing a JSON Light payload is not assignable from the specified entity type '{1}'. When an entity type is specified it has to be the same or derived from the base type of the entity set." - - - - - A string like "The annotation '{0}' was found. This annotation is either not recognized or not expected at the current position." - - - - - A string like "The property '{0}' has a property annotation '{1}'. This annotation is either not recognized or not expected at the current position." - - - - - A string like "An OData property annotation '{0}' was found. This property annotation is either not recognized or not expected at the current position." - - - - - A string like "A property with name '{0}' was found. This property is either not recognized or not expected at the current position." - - - - - A string like "A top-level property with name '{0}' was found in the payload; however, property and collection payloads must always have a top-level property with name '{1}'." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not a valid type name. The value of the 'odata.type' instance annotation must be a non-empty string." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "One or more property annotations for property '{0}' were found in the top-level property or collection payload without the property to annotate. Top-level property and collection payloads must contain a single property, with optional annotations for this property." - - - - - A string like "One or more property annotations for property '{0}' were found in the complex value without the property to annotate. Complex values must only contain property annotations for existing properties." - - - - - A string like "A complex property with an '{0}' property annotation was found. Complex properties must not have the '{0}' property annotation, instead the '{0}' should be specified as an instance annotation in the complex value." - - - - - A string like "The property '{0}' has a property annotation '{1}'. Primitive, complex, collection or open properties can only have an 'odata.type' property annotation." - - - - - A string like "The property with name '{0}' was found after the data property with name '{1}'. If a type is specified for a data property, it must appear before the data property." - - - - - A string like "An '{0}' annotation was read inside a JSON object representing a primitive value; type annotations for primitive values have to be property annotations of the owning property." - - - - - A string like "A top-level property with an invalid primitive null value was found. In OData, top-level properties with null value have to be serialized as JSON object with an '{0}' annotation that has the value '{1}'." - - - - - A string like "Encountered a metadata reference property '{0}' in a scope other than an entry. In OData, a property name with a '#' character indicates a reference into the metadata and is only supported for describing operations bound to an entry." - - - - - A string like "The property with name '{0}' was found in a null payload. In OData, no properties or OData annotations can appear in a null payload." - - - - - A string like "The metadata URI '{0}' references the null value; however the payload is not a null value payload." - - - - - A string like "The '{0}' instance or property annotation has a null value. In OData, the '{0}' instance or property annotation must have a non-null string value." - - - - - A string like "An '{0}' annotation was found with an invalid value. In OData, the only valid value for the '{0}' annotation is '{1}'." - - - - - A string like "The InstanceAnnotations collection has more than one instance annotations with the name '{0}'. All instance annotation names must be unique within the collection." - - - - - A string like "The metadata URI '{0}' was found in a service document payload. Metadata URIs for service documents must not have a fragment." - - - - - A string like "The metadata URI '{0}' is not valid for the expected payload kind '{1}'." - - - - - A string like "The metadata URI '{0}' references the entity set or type '{1}'. However, no entity set or type with name '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' references the property '{1}' on type '{2}'. However, type '{2}' does not declare a property with name '{1}' and is not an open type. " - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI containing an entity set and type cast must either have no suffix or end in '{2}'." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, no entity type '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, the entity type '{1}' is not a subtype of the entity type '{2}' which is the base type of the entity set with name '{3}'." - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI for an entity reference link containing a collection navigation property must end in '{2}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}'. However, a metadata URI for an entity reference link must reference a navigation property which '{1}' is not." - - - - - A string like "The metadata URI '{0}' references the singleton navigation property with name '{1}'. However, when a metadata URI for an entity reference link ends in '{2}' it must reference a collection navigation property." - - - - - A string like "The metadata URI '{0}' has a fragment with '{1}' parts. However, valid metadata URIs must have at most '{2}' parts." - - - - - A string like "The metadata URI '{0}' references the entity set or function import '{1}'. However, no entity set or function import with name '{1}' is declared in the metadata." - - - - - A string like "A '$select' query option was found for the payload kind '{0}'. In OData, a '$select' query option is only supported for payload kinds 'Entry' and 'Feed'." - - - - - A string like "The metadata URI '{0}' has $links in an invalid position. The Metadata URI must specify the entity set, optional type segment, $links, a navigation property." - - - - - A string like "The metadata URI '{0}' references the entity set '{1}'. However, no entity set name '{1}' is declared in the metadata." - - - - - A string like "The '{0}' instance annotation in an entry object is preceded by a property or property annotation. In OData, the '{0}' instance annotation must be before any property or property annotation in an entry object." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of the content of a feed; however, a node of type 'StartArray' was expected." - - - - - A string like "Did not find the required '{0}' property for the expected feed." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a node of type 'StartObject' or 'EndArray' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading a top-level feed. No property annotations, only instance annotations are allowed when reading top-level feeds." - - - - - A string like "A property with name '{0}' was found when reading a top-level feed. No properties other than the feed property with name '{1}' are allowed." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is declared to be of type '{1}'. In OData, only navigation properties and named streams can be represented as properties without values." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is an open property. In OData, open property must be represented as a property with value." - - - - - A string like "The stream property '{0}' has a property annotation '{1}'. Stream property can only have the 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaETag' and 'odata.mediaContentType' property annotations." - - - - - A string like "A stream property '{0}' has a value in the payload. In OData, stream property must not have a value, it must only use property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Deferred navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartArray' node was expected." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded entry navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded feed navigation links can only have the 'odata.navigationLinkUrl', 'odata.associationLinkUrl' and 'odata.nextLink' property annotations." - - - - - A string like "Multiple property annotations '{0}' were found when reading the expanded navigation link '{1}'. Only a single property annotation '{0}' can be specified for an expanded navigation link." - - - - - A string like "A property annotation '{0}' was found after the property '{1}' it is annotating. Only the 'odata.nextLink' property annotation can be used after the property it is annotating." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Navigation links in request payloads can only have the '{2}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has a property annotation '{1}' with an array value. Resource reference navigation properties can only have a property annotation '{1}' with a string value." - - - - - A string like "The resource set reference navigation property '{0}' has a property annotation '{1}' with a string value. Resource set reference navigation properties can only have a property annotation '{1}' with an array value." - - - - - A string like "The value of '{0}' property annotation is an empty array. The '{0}' property annotation must have a non-empty array as its value." - - - - - A string like "The navigation property '{0}' has no expanded value and no '{1}' property annotation. Navigation property in request without expanded value must have the '{1}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has both the '{1}' property annotation as well as a value. Resource reference navigation properties can have either '{1}' property annotations or values, but not both." - - - - - A string like "An undeclared property '{0}' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values." - - - - - A string like "Encountered the function import '{0}' which can not be resolved to an ODataAction or ODataFunction." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple target bindings encountered for the operation '{0}' but the 'target' property was not found in an operation value. To differentiate between multiple target bindings, each operation value must have exactly one 'target' property." - - - - - A string like "The '{0}' property of the operation '{1}' cannot have a null value." - - - - - A string like "Encountered a reference into metadata '{0}' which does not refer to the known metadata url '{1}'. Open metadata reference properties are not supported." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but the {1} annotation is missing from the payload. The payload must only contain absolute URIs or the {1} annotation must be on the payload." - - - - - A string like "The {0} annotation is missing from the payload." - - - - - A string like "When trying to read the start of a collection, the expected collection property with name '{0}' was not found." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A property or annotation for a property with name '{0}' or an instance annotation with name '{0}' was found after reading the items of a top-level collection. No additional properties or annotations are allowed after the collection property." - - - - - A string like "An 'odata.type' annotation with value '{0}' was found for a top-level collection payload; however, top-level collections must specify a collection type." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In JSON Light, entity reference links must be objects." - - - - - A string like "A property annotation with name '{0}' was detected when reading an entity reference link; entity reference links do not support property annotations." - - - - - A string like "An instance annotation with name '{0}' or a property annotation for the property with name '{0}' was found when reading an entity reference link. No OData property or instance annotations are allowed when reading entity reference links." - - - - - A string like "A property with name '{0}' was found when reading an entity reference link. No properties other than the entity reference link property with name '{1}' are allowed." - - - - - A string like "The required property '{0}' for an entity reference link was not found." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link object; however, a single '{0}' property was expected." - - - - - A string like "The '{0}' property of an entity reference link object cannot have a null value." - - - - - A string like "A property with name '{0}' or a property annotation for a property with name '{0}' was found when trying to read a collection of entity reference links; however, a property with name '{1}' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading an entity reference links payload. No property annotations, only instance annotations are allowed when reading entity reference links." - - - - - A string like "Did not find the required '{0}' property for an entity reference links payload." - - - - - A string like "The '{0}' property of an operation '{1}' in '{2}' cannot have a null value." - - - - - A string like "Found a node of type '{1}' when starting to read the '{0}' operations value, however a node of type 'StartObject' was expected. The '{0}' operations value must have an object value. " - - - - - A string like "The '{0}' operations object can only have one property for each distinct metadata; however, a duplicate of metadata '{1}' was found." - - - - - A string like "Found a node of type '{1}' when starting to read the value of the '{0}' property in '{2}'; however, a node of type 'StartArray' was expected. The value of each property in the '{2}' operations object must be an array value." - - - - - A string like "Found a node of type '{1}' when reading an item in the array value of the '{0}' property; however, a node of type 'StartObject' was expected. The items in the array value for the '{0}' property in the '{2}' operations object must be object values." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}' in '{2}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "The 'target' property was not found in an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple '{0}' properties were found in a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in a resource collection in a service document. In OData, a resource collection must have exactly one '{0}' property." - - - - - A string like "No '{0}' property was found for a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Encountered a resource collection without a '{0}' property. In service documents, resource collections must contain a '{0}' property." - - - - - A string like "An unrecognized property annotation '{0}' was found in a '{1}' object in a service document. OData property annotations are not allowed in workspaces." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a '{1}' object in a service document. OData instance annotations are not allowed in workspaces." - - - - - A string like "An unrecognized property annotation '{0}' was found in a resource collection in a service document. OData property annotations are not allowed in resource collections." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a resource collection in a service document. OData instance annotations are not allowed in resource collections." - - - - - A string like "Encountered unexpected property '{0}' in a resource collection. In service documents, resource collections may only have '{1}' and '{2}' properties." - - - - - A string like "Encountered unexpected property '{0}' in a service document. The top level object of a service document may only have a '{1}' property." - - - - - A string like "Encountered a property annotation for the property '{0}' which wasn't immediately followed by the property. Property annotations must occur directly before the property being annotated." - - - - - A string like "One or more property annotations for property '{0}' were found in a parameter payload without the property to annotate. Parameter payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported in JSON Light." - - - - - A string like "When trying to read a null collection parameter value in JSON Light, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a primitive 'null' value was expected." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. Only primitive, complex, primitive collection and complex collection types are supported." - - - - - A string like "An OData property annotation '{0}' was found in an error payload; however, error payloads do not support OData property annotations." - - - - - A string like "An OData instance annotation '{0}' was found in an error payload; however, error payloads do not support OData instance annotations." - - - - - A string like "One or more property annotations for property '{0}' were found in an error payload without the property to annotate. Error payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror', or custom instance annotations." - - - - - A string like "The entity type '{0}' has no key properties. Entity types must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "An ODataEntry of type '{0}' is found without key properties. When writing without a user model, each entry must contain at least one property whose 'ODataProperty.SerializationInfo.PropertyKind' set to 'ODataPropertyKind.Key'. When writing with a user model, the entity type '{0}' defined in the model must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "The property '{0}' on type '{1}' is a non-primitive value. All key and etag properties must be of primitive types." - - - - - A string like "The primitive property '{0}' on type '{1}' has a value which is not a primitive value." - - - - - A string like "The entity instance value of type '{0}' doesn't have a value for property '{1}'. To compute an entity's metadata, its key and concurrency-token property values must be provided." - - - - - A string like "Encountered an annotation group containing a property '{0}' which is not a valid annotation name." - - - - - A string like "Encountered an annotation group named '{0}' containing a property '{1}' which is not a valid annotation name." - - - - - A string like "Encountered a reference to an annotation group named '{0}', but no annotation group with that name has been defined at this point in the payload." - - - - - A string like "Encountered multiple annotation group named '{0}'. Annotation group names must be unique within a payload." - - - - - A string like "An ODataPrimitiveValue was instantiated with a value of type '{0}'. ODataPrimitiveValue can only wrap values which can be represented as primitive EDM types." - - - - - A string like "'{0}' is an invalid instance annotation name. An instance annotation name must contain a period that is not at the start or end of the name." - - - - - A string like "'{0}' is a reserved instance annotation name because it starts with '{1}'. Reserved names are not allowed for custom instance annotations." - - - - - A string like "'{0}' is an invalid instance annotation name." - - - - - A string like "The value of the 'type' attribute on an 'annotation' element was '{0}', which is incompatible with the '{1}' attribute." - - - - - A string like "Encountered the attribute '{0}' on a non-empty 'annotation' element. If attribute value notation is used to specify the annotation's value, then there can be no body to the element." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must contain at least one '.' separating the namespace and the name segments of an annotation." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must not contain a namespace or name segment that is empty." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. It must not contain '*' as part of a segment." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. '*' must be the last segment of the pattern." - - - - - A string like "A service operation with name '{0}' could not be found in the provided model." - - - - - A string like "Found multiple service operations with name '{0}' in a single entity container. Service operation overloads are not supported." - - - - - A string like "An entity set with name '{0}' could not be found in the provided model." - - - - - A string like "Only operands with primitive types are allowed in binary operators. Found operand types '{0}' and '{1}'." - - - - - A string like "Both operands of a binary operators must have the same type. Found different operand types '{0}' and '{1}'." - - - - - A string like "The specified URI '{0}' must be absolute." - - - - - A string like "Invalid value '{0}' for $skip query option found. The $skip query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $top query option found. The $top query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $inlinecount query option found. Valid values are '{1}'." - - - - - A string like "Query option '{0}' was specified more than once, but it must be specified at most once." - - - - - A string like "The CLR literal of type '{0}' is not supported to be written as a Uri part." - - - - - A string like "QueryToken '{0}' is not supported to be written as a Uri part." - - - - - A string like "Expression expected at position {0} in '{1}'." - - - - - A string like "'(' expected at position {0} in '{1}'." - - - - - A string like "')' or ',' expected at position {0} in '{1}'." - - - - - A string like "')' or operator expected at position {0} in '{1}'." - - - - - A string like "Expecting a Star token but got: '{0}'." - - - - - A string like "The range variable '{0}' has already been declared." - - - - - A string like "The URI '{0}' is not valid because it is not based on '{1}'." - - - - - A string like "The key value '{0}' was not recognized as a valid literal." - - - - - A string like "Unable to find property '{2}' on the instance type '{1}' of the structured type '{0}'." - - - - - A string like "An unsupported query token kind '{0}' was found." - - - - - A string like "Could not find an entity set for root segment '{0}'." - - - - - A string like "Type '{0}' is not an entity type. Key value can only be applied to an entity type." - - - - - A string like "Could not find a property named '{1}' on type '{0}'." - - - - - A string like "Property '{0}' is not declared on type '{1}' or is not a key property. Only key properties can be used in key lookups." - - - - - A string like "An unnamed key value was used in a key lookup on a type '{0}' which has more than one key property. Unnamed key value can only be used on a type with one key property." - - - - - A string like "A key property '{0}' was found twice in a key lookup. Each key property can be specified just once in a key lookup." - - - - - A string like "A key lookup on type '{0}' didn't specify values for all key properties. All key properties must be specified in a key lookup." - - - - - A string like "Expression of type '{0}' cannot be converted to type '{1}'." - - - - - A string like "Segment '{0}' which is a service operation returning non-queryable result has a key lookup. Only service operations returning queryable results can have a key lookup applied to them." - - - - - A string like "Service operation '{0}' of kind '{1}' returns type '{2}' which is not an entity type. Service operations of kind QueryWithMultipleResults or QueryWithSingleResult can only return entity types." - - - - - A string like "Service operation '{0}' is missing the required parameter '{1}'." - - - - - A string like "The parameter '{0}' with value '{1}' for the service operation '{2}' is not a valid literal of type '{3}'." - - - - - A string like "The MultiValue property '{0}' cannot be used in $filter or $orderby query expression. MultiValue properties are not supported with these query options." - - - - - A string like "The operand for a binary operator '{0}' is not a single value. Binary operators require both operands to be single values." - - - - - A string like "The operand for a unary operator '{0}' is not a single value. Unary operators require the operand to be a single value." - - - - - A string like "The parent value for a property access of a property '{0}' is not a single value. Property access can only be applied to a single value." - - - - - A string like "A binary operator with incompatible types was detected. Found operand types '{0}' and '{1}' for operator kind '{2}'." - - - - - A string like "A unary operator with an incompatible type was detected. Found operand type '{0}' for operator kind '{1}'." - - - - - A string like "An unknown function with name '{0}' was found. This may also be a key lookup on a navigation property, which is not allowed." - - - - - A string like "The argument for an invocation of a function with name '{0}' is not a single value. All arguments for this function must be single values." - - - - - A string like "No function signature for the function with name '{0}' matches the specified arguments. The function signatures considered are: {1}." - - - - - A string like "The system query option '{0}' is not supported." - - - - - A string like "A token of kind '{0}' was bound to the value null; this is invalid. A query token must always be bound to a non-null query node." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $top query option must specify a non-negative integer value." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $skip query option must specify a non-negative integer value." - - - - - A string like " The service operation '{0}' does not have an associated result kind. Without a result kind, a service operation cannot be bound." - - - - - A string like "Encountered invalid type cast. '{0}' is not assignable from '{1}'." - - - - - A string like "The parameter '{0}' is not in scope." - - - - - A string like "The Cast or IsOf expression has an invalid number of operands: number of operands is '{0}' and it should be 1 or 2." - - - - - A string like "The geo.length function has an invalid number of operands: number of operands is '{0}' and it should be 1." - - - - - A string like "The geo.intersects function has an invalid number of operands: number of operands is '{0}' and it should be 2." - - - - - A string like "The operator '{0}' is not supported in this release. " - - - - - A string like "'{0}' queries are not supported in this release." - - - - - A string like "Can only bind segments that are Navigation, Structural, Complex, or Collections. We found a segment '{0}' that isn't any of those. Please revise the query." - - - - - A string like "The '{0}' option cannot be applied to the query path. '{0}' can only be applied to a collection of entities. " - - - - - A string like "Cannot find a suitable overload for function '{0}' that takes '{1}' arguments." - - - - - A string like "Cannot compose function '{0}' to a parent doesn't represent a single value." - - - - - A string like "Found a function import for '{0}', but it is invalid for Filter/Orderby." - - - - - A string like "Found a built-in function '{0}' with a parent token. Built-in functions cannot have parent tokens. " - - - - - A string like "Found a function '{0}' on an open property. Functions on open properties are not supported." - - - - - A string like "'{0}' is not a valid InlineCount option." - - - - - A string like "The child type '{0}' in a cast was not an entity type. Casts can only be performed on entity types." - - - - - A string like "Invalid content-id '{0}' for batch reference segment." - - - - - A string like "Property '{0}' is of an unrecognized EdmPropertyKind." - - - - - A string like "Cant find the property '{0}' in the model." - - - - - A string like "Only properties specified in $expand can be traversed in $select query options. Selected item was '{0}'." - - - - - A string like "Found a type segment '{0}' that isn't an entity type." - - - - - A string like "Trying to follow type segments on a segment that isn't a type. Segment was '{0}'." - - - - - A string like "Found a system token, '{0}', while parsing a select clause." - - - - - A string like "Found an invalid segment, '{0}', while parsing a select clause." - - - - - A string like "The type '{0}' is not defined in the model." - - - - - A string like "Property '{0}' on type '{1}' is not a navigation property. Only navigation properties can be expanded." - - - - - A string like "An entity type '{0}' was given to NonEntityParameterQueryNode. Use EntityParameterQueryNode instead." - - - - - A string like "An EntityCollectionServiceOperationQueryNode was provided with a IEdmFunctionImport with return type '{0}', which is not an entity type." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is not structural." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is a collection." - - - - - A string like "A node of this kind requires the associated property to be a structural, collection type, but property '{0}' is not a collection." - - - - - A string like "Term '{0}' is not valid in a $select or $expand expression." - - - - - A string like "Functions are not allowed in a $select expression, but one was found in the expression '{0}'." - - - - - A string like "Top option must be an integer, its set to '{0}' instead." - - - - - A string like "Skip option must be an integer, its set to '{0}' instead." - - - - - A string like "Found system token '{0}' in select or expand clause '{1}'." - - - - - A string like "The URI '{0}' must be an absolute URI." - - - - - A string like "The result of parsing $expand contained at least {0} items, but the maximum allowed is {1}." - - - - - A string like "The result of parsing $expand was at least {0} items deep, but the maximum allowed is {1}." - - - - - A string like "The service operation '{0}' is missing a ODataServiceOperationResultKind attribute." - - - - - A string like "Multiple Service Operations with the name '{0}' were found. There can only be one Service Operation with a given name in a model." - - - - - A string like "The request URI is not valid. $links cannot be applied to the segment '{0}' since $links can only follow an entity segment." - - - - - A string like "The type '{0}' does not inherit from and is not a base type of '{1}'. The type of '{2}' must be related to the Type of the EntitySet." - - - - - A string like "Found a segment of type '{0} in an expand path, but only NavigationProperty and Type segments are allowed." - - - - - A string like "Found a segment of type '{0} in a select path, but only TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment or OpenPropertySegments are allowed." - - - - - A string like "The Entity Set of the operation '{0}' is not specified. This is most likely an error in the IEdmModel." - - - - - A string like "The target Entity Set of Navigation Property '{0}' could not be found. This is most likely an error in the IEdmModel." - - - - - A string like "The function overloads matching '{0}' are invalid. This is most likely an error in the IEdmModel." - - - - - A string like "Unable to resolve function overloads to a single function. There was more than one function in the model with name '{0}' and parameter names '{1}'." - - - - - A string like "Multiple action overloads were found with the same binding parameter for '{0}'." - - - - - A string like "The request URI is not valid. The segment '{0}' is not valid. Since the uri contains the '{1}' segment, there must be only one segment specified after that." - - - - - A string like "The request URI is not valid. The segment '{0}' must be the last segment in the URI because it is one of the following: $batch, $value, $metadata, a collection property, a named media resource, a service operation that does not return a value, or a service action." - - - - - A string like "The request URI is not valid. The segment '{0}' must refer to a navigation property since the previous segment identifier is '{1}'." - - - - - A string like "The request URI is not valid. There must a segment specified after the '{0}' segment and the segment must refer to a entity resource." - - - - - A string like "The request URI is not valid, $count cannot be applied to the segment '{0}' since $count can only follow a resource segment." - - - - - A string like "The request URI is not valid, since the segment '{0}' refers to a singleton, and the segment '{1}' can only follow a resource collection." - - - - - A string like "The request URI is not valid. Since the segment '{0}' refers to a collection, this must be the last segment in the request URI. All intermediate segments must refer to a single resource." - - - - - A string like "The request URI is not valid. The segment '{0}' cannot include key predicates, however it may end with empty parenthesis." - - - - - A string like "The segment '{1}' in the request URI is not valid. The segment '{0}' refers to a primitive property, function, or service operation, so the only supported value from the next segment is '$value'." - - - - - A string like "The type '{0}' specified in the URI is neither a base type nor a sub-type of the previously-specified type '{1}'." - - - - - A string like "Complex types can not be marked as 'Open'. Error occurred for type '{0}'." - - - - - A string like "Open navigation properties are not supported on OpenTypes. Property name: '{0}'." - - - - - A string like "The response requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service is set to {1}." - - - - - A string like "The number of keys specified in the URI does not match number of key properties for the resource '{0}'." - - - - - A string like "Resource not found for the segment '{0}'." - - - - - A string like "Batched service action '{0}' cannot be invoked because it was bound to an entity created in the same changeset." - - - - - A string like "Resource Not Found - '{0}' refers to a service operation or function which does not allow further composition." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "A non-negative integer value was expected, but the value '{0}' is not a valid non-negative integer." - - - - - A string like "A positive integer value was expected, but the value '{0}' is not a valid positive integer." - - - - - A string like "A positive long value was expected; however, the value '{0}' is not a valid positive long value." - - - - - A string like "An identifier was expected at position {0}." - - - - - A string like "There is an unterminated string literal at position {0} in '{1}'." - - - - - A string like "Syntax error: character '{0}' is not valid at position {1} in '{2}'." - - - - - A string like "Syntax error at position {0} in '{1}'." - - - - - A string like "There is an unterminated literal at position {0} in '{1}'." - - - - - A string like "A digit was expected at position {0} in '{1}'." - - - - - A string like "Unrecognized '{0}' literal '{1}' at '{2}' in '{3}'." - - - - - A string like "Invalid JSON. An unexpected comma was found in scope '{0}'. A comma is only valid between properties of an object or between elements of an array." - - - - - A string like "Invalid JSON. Unexpected token '{0}'." - - - - - A string like "Invalid JSON. A colon character ':' is expected after the property name '{0}', but none was found." - - - - - A string like "Invalid JSON. An unrecognized escape sequence '{0}' was found in a JSON string value." - - - - - A string like "Invalid JSON. The value '{0}' is not a valid number." - - - - - A string like "Invalid JSON. A comma character ',' was expected in scope '{0}'. Every two elements in an array and properties of an object must be separated by commas." - - - - - A string like "Invalid JSON. The property name '{0}' is not valid. The name of a property cannot be empty." - - - - - A string like "An unexpected '{1}' node was found when reading from the JSON reader. A '{0}' node was expected." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a double numeric value." - - - - - A string like "Value cannot be empty." - - - - - A string like "An asynchronous operation was requested on an IODataRequestMessage instance. For asynchronous operations to succeed, the request message instance must implement IODataRequestMessageAsync." - - - - - A string like "The IODataRequestMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataRequestMessage.GetStream or IODataRequestMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "An asynchronous operation was requested on an IODataResponseMessage instance. For asynchronous operations to succeed, the response message instance must implement IODataResponseMessageAsync." - - - - - A string like "The IODataResponseMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataResponseMessage.GetStream or IODataResponseMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "A writer or stream has been disposed with data still in the buffer. You must call Flush or FlushAsync before calling Dispose when some data has already been written." - - - - - A string like "Only a top-level feed can have the 'ODataFeed.Count' property value specified. Expanded links do not support inline counts." - - - - - A string like "The ODataFeed.Count must be null for request payloads. Inline counts are only supported in responses." - - - - - A string like "Cannot write a top-level feed with a writer that was created to write a top-level entry." - - - - - A string like "Cannot write a top-level entry with a writer that was created to write a top-level feed." - - - - - A string like "A synchronous operation was called on an asynchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An entity reference link was written without a surrounding navigation link. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing the content of a navigation link." - - - - - A string like "An entity reference link was written into a response. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing a request." - - - - - A string like "A deferred link was written into a request. In requests, each navigation link must have a feed, entry, or entity reference link written into it." - - - - - A string like "More than one item was written into the content of a navigation link. In OData, a navigation link can only contain more than one item in its content when it is a navigation link, ODataNavigationLink.IsCollection set to true, and the writer is writing a request." - - - - - A string like "The ODataFeed.DeltaLink property must be null for expanded feeds. Delta link is not supported on expanded feeds." - - - - - A string like "An error occurred while processing the OData message." - - - - - A string like "An error was read from the payload. See the 'Error' property for more details." - - - - - A string like "An error occurred while parsing part of the URI." - - - - - A string like "Version 3.0 of the OData protocol is not supported by this library. Please use version 1.0 or 2.0 instead." - - - - - A string like "An ODataCollectionStart with a 'null' name was passed to the ATOM collection writer. In ATOM, an ODataCollectionStart cannot have a 'null' name." - - - - - A string like "The startEntryXmlCustomizationCallback set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior can never return the same XmlWriter instance that was provided in its parameter." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Authors' enumerable; the author metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Categories' enumerable; the category metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Contributors' enumerable; the contributor metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Links' enumerable; the link metadata does not support null values." - - - - - A string like "The 'AtomLinkMetadata.Href' property is required and cannot be null." - - - - - A string like "The 'AtomCategoryMetadata.Term' property is required and cannot be null." - - - - - A string like "The 'AtomCategoriesMetadata.Href' property can only be set when no other property is set. When the 'Href' property is not null, the categories cannot have any 'Fixed' or 'Scheme' values, and the 'Categories' collection must be null or empty." - - - - - A string like "The ODataMessageWriter has already been used to write a message payload. An ODataMessageWriter can only be used once to write a payload for a given message." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "An error cannot be written to a request payload. Errors are only supported in responses." - - - - - A string like "A service document cannot be written to request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be written to request payloads. Metadata documents are only supported in responses." - - - - - A string like "Cannot write the value 'null' in raw format." - - - - - A string like "The WriteError method or the WriteErrorAsync method on the ODataMessageWriter has already been called to write an error payload. Only a single error payload can be written with each ODataMessageWriter instance." - - - - - A string like "The WriteError method or the WriteErrorAsync method on ODataMessageWriter cannot be called after the WriteValue method or the WriteValueAsync method is called. In OData, writing an in-stream error for raw values is not supported." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings in order to write a metadata document." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings when CreateODataParameterWriter is called with a non-null function import." - - - - - A string like "Both startEntryXmlCustomizationCallback and endEntryXmlCustomizationCallback must be either null or non-null." - - - - - A string like "A synchronous operation was called on an asynchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An ODataCollectionStart with an empty name was passed to the collection writer. An ODataCollectionStart cannot have an empty name." - - - - - A string like "Writing an in-stream error is not supported when writing a parameter payload." - - - - - A string like "CreateParameterWriter was called on a response message. A parameter payload is only allowed in a request message." - - - - - A string like "A synchronous operation was called on an asynchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "WriteStart can only be called once, and it must be called before writing anything else." - - - - - A string like "WriteValue and CreateCollectionWriter can only be called after WriteStart and before WriteEnd; they cannot be called until the previously created sub-writer is completed." - - - - - A string like "WriteEnd can only be called after WriteStart and after the previously created sub-writer has completed." - - - - - A string like "The writer is in either the 'Error' or 'Completed' state. No further writes can be performed on this writer." - - - - - A string like "ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync was called while a stream being used to write operation content, obtained from the operation message by using GetStream or GetStreamAsync, was still active. This is not allowed. ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync can only be called when an active stream for the operation content does not exist." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndBatch with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteStartChangeset with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndChangeset without an active change set; you must first call ODataBatchWriter.WriteStartChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After creating the writer, the only valid methods are ODataBatchWriter.WriteStartBatch and ODataBatchWriter.FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartBatch, the only valid methods on ODataBatchWriter are WriteStartChangeset, CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndChangeset, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling CreateOperationRequestMessage or CreateOperationResponseMessage, the only valid methods on ODataBatchWriter are WriteStartChangeset, WriteEndChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot use the batch writer while another writer is writing the content of an operation. Dispose the stream for the operation before continuing to use the ODataBatchWriter." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After writing the content of an operation, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndChangeset, WriteEndBatch and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteEndChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You can only call ODataBatchWriter.FlushAsync after ODataBatchWriter.WriteEndBatch has been called." - - - - - A string like "When writing a batch response, you cannot create a batch operation request message." - - - - - A string like "When writing a batch request, you cannot create a batch operation response message." - - - - - A string like "A synchronous operation was called on an asynchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "The WriteError and WriteErrorAsync methods on ODataMessageWriter cannot be called when a batch is being written by using ODataBatchWriter. In OData, writing an in-stream error for a batch payload is not supported." - - - - - A string like "An attempt to change the properties of the message or to retrieve the payload stream for the message has failed. Either the payload stream has already been requested or the processing of the message has been completed. In both cases, no more changes can be made to the message." - - - - - A string like "Cannot access a closed stream." - - - - - A string like "When reading a batch response, you cannot create a batch operation request message." - - - - - A string like "When reading a batch request, you cannot create a batch operation response message." - - - - - A string like "A request message for the operation has already been created. You cannot create a request message for the same operation multiple times." - - - - - A string like "A response message for the operation has already been created. You cannot create a response message for the same operation multiple times." - - - - - A string like "You cannot use a batch reader while the stream for the content of an operation is still active. You must first dispose the operation stream before further calls to the batch reader are made." - - - - - A string like "A synchronous operation was called on an asynchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An operation was detected, but no message was created for it. You must create a message for every operation found in a batch or change set." - - - - - A string like "The 'Content-Type' header is missing. The 'Content-Type' header must be specified for each MIME part of a batch message." - - - - - A string like "Nested change sets in a batch payload are not supported." - - - - - A string like "Encountered an unexpected end of input while reading the batch payload." - - - - - A string like "The MIME type is missing a parameter name for a parameter definition." - - - - - A string like "The value for the Content-Type header is missing." - - - - - A string like "An IEdmTypeReference must be provided with a matching IEdmModel. No model was provided." - - - - - A string like "A built-in model was detected when trying to save annotations. Annotations can only be saved to a user-defined model." - - - - - A string like "An invalid enum value was specified for the version number." - - - - - A string like "The MIME type annotation must not have a null value." - - - - - A string like "The HTTP method annotation must not have a null value." - - - - - A string like "The 'IsAlwaysBindable' annotation cannot be set to 'true' for a non-bindable function import." - - - - - A string like "The 'IsAlwaysBindable' annotation was found with a 'true' value in a non-bindable function import. The 'IsAlwaysBindable' annotation cannot be 'true' for a non-bindable function import." - - - - - A string like "No URI value was found for an entity reference link. A single URI value was expected." - - - - - A string like "A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value." - - - - - A string like "An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified." - - - - - A string like "The ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds is not set to ODataUndeclaredPropertyBehaviorKinds.None. When reading request payloads, the ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds property must be set to ODataUndeclaredPropertyBehaviorKinds.None; other values are not supported." - - - - - A string like "The ODataMessageReader has already been used to read a message payload. An ODataMessageReader can only be used once to read a payload for a given message." - - - - - A string like "A top-level error cannot be read from request payloads. Top-level errors are only supported in responses." - - - - - A string like "A service document cannot be read from request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be read from request payloads. Metadata documents are only supported in responses." - - - - - A string like "The expected type for property reading is of entity collection kind. Top-level properties can only be of primitive, complex, primitive collection or complex collection kind." - - - - - A string like "The expected type for property reading is of entity kind. Top-level properties cannot be of entity type." - - - - - A string like "The expected type for property reading is Edm.Stream. Top-level properties cannot be of stream type." - - - - - A string like "A missing or empty content type header was found when trying to read a message. The content type header is required." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "GetFormat was called before reading was started. GetFormat can only be called after a read method was called or a reader was created." - - - - - A string like "DetectPayloadKind or DetectPayloadKindAsync was called more than once; DetectPayloadKind or DetectPayloadKindAsync can only be called once." - - - - - A string like "Payload kind detection has not completed. Read or create methods cannot be called on the ODataMessageReader before payload kind detection is complete." - - - - - A string like "The ODataMessageReader is using the server behavior for WCF Data Services, as specified in its settings. Payload kind detection is not supported when using the WCF Data services server behavior." - - - - - A string like "A parameter payload cannot be read from a response payload. Parameter payloads are only supported in requests." - - - - - A string like "An attempt was made to modify the message. The message cannot be modified." - - - - - A string like "A synchronous operation was called on an asynchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "Parsing JSON feeds or entries without model is not supported." - - - - - A string like "Primitive values of type 'Edm.Decimal' and 'Edm.Int64' must be quoted in the payload. Make sure the value is quoted." - - - - - A string like "The top-level data wrapper object does not have a property 'd'. In JSON responses, a top-level data wrapper object with a 'd' property is expected." - - - - - A string like "Multiple 'd' properties were found in the top-level data wrapper object. In JSON, the top-level data wrapper object is expected to have a single 'd' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping a collection in protocol version 2.0 and greater." - - - - - A string like "Multiple 'results' properties were found for a collection. In OData, a collection cannot have more than one 'results' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping an entity reference link in protocol version 2.0 and greater." - - - - - A string like "Multiple 'uri' properties were found in an entity reference link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of an entity reference link object cannot have a null value." - - - - - A string like "Did not find the required 'results' property on the object wrapping a feed." - - - - - A string like "Multiple '__metadata' properties were found in an entry. In OData, an entry can only contain one '__metadata' property." - - - - - A string like "Multiple 'uri' properties were found in the deferred link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of a deferred link object cannot have a null value." - - - - - A string like "The 'uri' property was not found in a deferred link object. A single 'uri' property is expected." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "Found multiple 'results' properties in the object wrapping a feed in protocol version 2.0 and greater. In OData, the feed wrapping object can only contain a single 'results' property." - - - - - A string like "Could not parse an expected stream reference value. In OData, a stream reference value must be a JSON object with a single property called '__mediaresource'." - - - - - A string like "A stream property was found in a JSON request payload. Stream properties are only supported in responses." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the entire payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "Parsing a JSON top-level property without a model is not supported." - - - - - A string like "Either zero or more than one top-level properties were found. A top-level property must be represented as a JSON object with exactly one property." - - - - - A string like "Multiple '__metadata' properties were found in a complex value. In OData, a complex value can only have one '__metadata' property." - - - - - A string like "A collection was found without the 'results' property. In OData, each collection must be represented as a JSON object with a property 'results'." - - - - - A string like "Multiple 'EntitySets' properties were found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "No 'EntitySets' property was found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "A synchronous operation was called on an asynchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "A synchronous operation was called on an asynchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "Parsing JSON collections without model is not supported." - - - - - A string like "The 'Name' property on an ODataAssociationLink must be set to a non-empty string." - - - - - A string like "The 'Url' property on an ODataAssociationLink must be set to a non-null value that represents the association or associations the link references." - - - - - A string like "An empty type name was found; the name of a type cannot be an empty string." - - - - - A string like "The 'Url' property on a resource collection must be set to a non-null value." - - - - - A string like "A resource collection without a Url was detected; a resource collection must have a non-null Url value." - - - - - A string like "A null value was detected in the items of a collection property value; non-streaming instances of collection types do not support null values as items." - - - - - A string like "The 'Name' property on an ODataNavigationLink must be set to a non-empty string." - - - - - A string like "Nested collection instances are not allowed." - - - - - A string like "An ODataStreamReferenceValue item was found in a collection property value, which is not allowed. Collection properties can only have primitive and complex values as items." - - - - - A string like "A null value was detected when enumerating the collections in a workspace. Workspace collections cannot be null." - - - - - A string like "An ODataFeed without an ID was detected; in OData, a Feed must have a non-null, non-empty ID value." - - - - - A string like "The 'ODataEntry.Properties' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "An ODataProperty instance without a name was detected; an ODataProperty must have a non-null, non-empty name." - - - - - A string like "No TypeName was found for an ODataComplexValue of an open property, ODataEntry or custom instance annotation, even though metadata was specified. If a model is passed to the writer, each complex value on an open property, entry or custom instance annotation must have a type name." - - - - - A string like "The ODataFeed.NextPageLink must be null for request payloads. A next link is only supported in responses." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ContentType' property but without a ReadLink value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ReadLink' property but without a ContentType value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "An ODataStreamReferenceValue was detected with null values for both EditLink and ReadLink. In OData, a stream resource must have at least an edit link or a read link." - - - - - A string like "An ODataStreamReferenceValue was detected with an ETag but without an edit link. In OData, a stream resource must have an edit link to have an ETag." - - - - - A string like "An ODataStreamReferenceValue was detected with an empty string 'ContentType' property. In OData, a stream resource must either have a non-empty content type or it must be null." - - - - - A string like "An entry with an empty ID value was detected. In OData, an entry must either a non-empty ID value or no ID value." - - - - - A string like "An ODataEntityReferenceLink with a null Url was detected; an ODataEntityReferenceLink must have a non-null Url." - - - - - A string like "The 'ODataEntityReferenceLinks.Links' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "A JSON Padding function was specified on ODataMessageWriterSettings when trying to write a request message. JSON Padding is only for writing responses." - - - - - A string like "An Atom entry can be either a regular entry or a media link entry (MLE). This means that there cannot be data in both the {http://www.w3.org/2005/Atom}:content element, which indicates a regular entry, and the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:properties element, which indicates an MLE. " - - - - - A string like "An expanded feed was found in a navigation link of type entry; however, only an expanded entry can occur in a navigation link of type entry." - - - - - A string like "An expanded entry was found in a navigation link of type feed; however, only an expanded feed can occur in a navigation link of type feed." - - - - - A string like "A deferred entry was found in a navigation link of type feed; however, only a deferred feed can occur in a navigation link of type feed." - - - - - A string like "The entryXmlCustomizationCallback set in ODataMessageReaderSettings.EnableWcfDataServicesClientBehavior can never return the same XmlReader instance that was provided in its parameter." - - - - - A string like "Found a value with type name ''. Type name cannot be an empty string." - - - - - A string like "The root element of the collection cannot contain the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:type attribute or the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:null attribute." - - - - - A string like "Only collection properties that contain primitive types or complex types are supported." - - - - - A string like "The element {http://www.w3.org/2005/Atom}:content has non-empty content, and it has an attribute with name 'src'. When the {http://www.w3.org/2005/Atom}:content element has the 'src' attribute, it cannot also have content." - - - - - A string like "Multiple {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline elements were found in a {http://www.w3.org/2005/Atom}:link element. Each {http://www.w3.org/2005/Atom}:link element can contain no more than one {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline child element." - - - - - A string like "Found a stream property link with empty name. In OData, a stream property must have a non-empty name." - - - - - A string like "Encountered an 'annotation' element inside a nested feed. Annotations are not currently supported for nested feeds." - - - - - A string like "Encountered a 'Delta Link' element inside a nested feed. Delta Links are not supported for nested feeds." - - - - - A string like "The service document is missing the 'workspace' element. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'workspace' elements were found inside the service document. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'accept' elements were found inside a 'collection' element. A 'collection' element can only contain a single {http://www.w3.org/2007/app}:accept element." - - - - - A string like "The ODataMessageReaderSettings used to read a JSON Light payload do not specify a metadata document URI. For reading JSON Light payloads a metadata document URI is required." - - - - - A string like "ODataMessageReader.DetectPayloadKind was called for a request payload. Payload kind detection is only supported for responses in JSON Light." - - - - - A string like "Parsing JSON Light feeds or entries in requests without entity set is not supported. Pass in the entity set as a parameter to ODataMessageReader.CreateODataEntryReader or ODataMessageReader.CreateODataFeedReader method." - - - - - A string like "An attempt to read a collection request payload without specifying a producing function import or collection item type was detected. When reading collection payloads in requests, a producing function import or expected item type has to be provided." - - - - - A string like "An attempt to read an entity reference link in a request without specifying a navigation property was detected. When reading entity reference link payloads in requests, a navigation property has to be provided." - - - - - A string like "Parsing JSON Light payloads without a model is only supported for error payloads." - - - - - A string like "The 'BaseUri' on the 'ODataMessageReaderSettings' must be set to a non-null absolute URI to read JSON Light format." - - - - - A string like "An attempt to read a collection request payload without specifying a collection item type was detected. When reading collection payloads in requests, an expected item type has to be provided." - - - - - A string like "In JSON the item type must be specified when creating a collection writer." - - - - - A string like "The required instance annotation 'odata.metadata' was not found at the beginning of a response payload." - - - - - A string like "An attempt to write an entity reference link inside a navigation link after a feed has been written inside the same navigation link in a request was detected. In JSON Light requests, all entity reference links inside a navigation link have to be written before all feeds inside the same navigation link." - - - - - A string like "The ODataFeed.InstanceAnnotations collection must be empty for expanded feeds. Custom instance annotations are not supported on expanded feeds." - - - - - A string like "The ODataMessageWriterSettings used to write a JSON Light payload do not specify a metadata document URI. For writing JSON Light payloads a metadata document URI is required." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a complex value. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a collection property. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Found a resource collection without a name. When writing a service document in JSON Light, the Name property of a resource collection must not be null or empty." - - - - - A string like "When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being writen." - - - - - A string like "When writing a JSON response in full metadata mode with ODataMessageWriterSettings.AutoComputePayloadMetadataInJson set to true, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataEntry.TypeName must be set." - - - - - A string like "The collection type name for the top level collection is unknown. When writing a JSON response, the item type must be passed to the ODataMessageWriter.CreateCollectionWriter method or the ODataCollectionStartSerializationInfo must be set on the ODataCollectionStart." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLink method or the ODataEntityReferenceLinkSerializationInfo must be set on the ODataEntityReferenceLink." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link collection is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLinks method or the ODataEntityReferenceLinksSerializationInfo must be set on the ODataEntityReferenceLinks." - - - - - A string like "No top-level properties were found. A top-level property or collection in JSON Light must be represented as a JSON object with exactly one property which is not an annotation." - - - - - A string like "The 'odata.type' instance annotation in a complex object is not the first property of the object. In OData, the 'odata.type' instance annotation must be the first property of the complex object." - - - - - A string like "The value specified for the spatial property was not valid. You must specify a valid spatial value." - - - - - A string like "A null metadata URI was found in the payload. Metadata URIs must not be null." - - - - - A string like "No model was specified for the ODataMessageReader. A message reader requires a model for JSON Light payload to be specified in the ODataMessageReader constructor." - - - - - A string like "The IODataJsonLightModelResolver or IODataJsonLightModelResolverAsync returned a null or a core model. The model resolver must return a valid user model." - - - - - A string like "The 'odata.type' instance annotation in an entry object is preceded by an invalid property. In OData, the 'odata.type' instance annotation must be either the first property in the JSON object or the second if the 'odata.metadata' instance annotation is present." - - - - - A string like "A property annotation was found for a top-level feed; however, top-level feeds only support instance annotations." - - - - - A string like "A stream property was found in a JSON Light request payload. Stream properties are only supported in responses." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the whole payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "A metadata reference property was found in a JSON Light request payload. Metadata reference properties are only supported in responses." - - - - - A string like "An annotation group was found at an unexpected position in the payload. Annotation groups must be the first property of the object they are annotating and may not be nested." - - - - - A string like "Encountered an entry with a type defined in an annotation group and in the entry body. The type of an entry may only be specified once." - - - - - A string like "A property annotation was found for entity reference links; however, entity reference links only support instance annotations." - - - - - A string like "An OData property annotation was found for a parameter payload; however, parameter payloads do not support OData property annotations." - - - - - A string like "When parsing a select clause a '*' segment was found before last segment of a property path. In OData, a '*' segment can only appear as last segment of a property path." - - - - - A string like "When parsing a select clause a '*' segment was found immediately after a type segment in a property path. In OData, a '*' segment cannot appear following a type segment." - - - - - A string like "Encountered an annotation group declaration for which there was no 'name' property. All annotation group declarations must specify a non-empty name in the 'name' property." - - - - - A string like "Encountered multiple 'name' properties within a single annotation group declaration. An annotation group must contain exactly one 'name' property." - - - - - A string like "Cannot create an ODataPrimitiveValue from null; use ODataNullValue instead." - - - - - A string like "An InstanceAnnotationCollection was set on an object other than ODataError. Currently, instance annotations are only supported on ODataError." - - - - - A string like "The value of an instance annotation cannot be of type ODataStreamReferenceValue." - - - - - A string like "A type name was not provided for an instance of ODataComplexValue." - - - - - A string like "A type name was not provided for an instance of ODataCollectionValue." - - - - - A string like "Encountered an 'annotation' element without a 'term' attribute. All 'annotation' elements must have a 'term' attribute." - - - - - A string like "Encountered an 'annotation' element with more than one attribute from following set: 'int', 'string', 'decimal', 'float', and 'bool'. Only one such attribute may appear on an 'annotation' element." - - - - - A string like "If ODataMessageWriterSettings.AutoComputePayloadMetadataInJson is set to true, the entity set must be specified when writing JSON with full metadata." - - - - - A string like "Setting a metadata annotation on a primitive type is not supported." - - - - - A string like "The maximum depth setting must be a number greater than zero." - - - - - A string like "Recursion depth exceeded allowed limit." - - - - - A string like "Invalid to redefine visitor in nested Any/All queries." - - - - - A string like "Bad Request: there was an error in the query syntax." - - - - - A string like "Too many segments in URI." - - - - - A string like "Inner or start path segments must be navigation properties in $select." - - - - - A string like "Found a non-path property in a select token." - - - - - A string like "Cannot construct an ExpandItem from a navigation property whose type is not an entity." - - - - - A string like "An unsupported extension query token was found." - - - - - A string like "The $filter expression must evaluate to a single boolean value." - - - - - A string like "The $orderby expression must evaluate to a single value of primitive type." - - - - - A string like "A PropertyAccessQueryToken without a parent was encountered outside of $filter or $orderby expression. The PropertyAccessQueryToken without a parent token is only allowed inside $filter or $orderby expressions." - - - - - A string like "Found a Built in function without a Function Signature." - - - - - A string like "Encountered Root segment in non-root location." - - - - - A string like "A segment without an associated type was given as input." - - - - - A string like "Any/All may only be used following a collection." - - - - - A string like "The navigation property must not be null." - - - - - A string like "A navigation property can only follow single entity nodes." - - - - - A string like "The Any/All query expression must evaluate to a single boolean value." - - - - - A string like "Cast or IsOf Function must have a type in its arguments." - - - - - A string like "The Cast and IsOf functions do not support collection arguments or types." - - - - - A string like "The geo.length function was called with a non-single-value operand." - - - - - A string like "The geo.length function was called with a non-LineString operand." - - - - - A string like "The geo.intersects function was called with a non-single-value operand." - - - - - A string like "The geo.intersects function was called with invalid arg types." - - - - - A string like "Type argument with an invalid type name." - - - - - A string like "Collection open properties are not supported in this release." - - - - - A string like "Parameter names must be unique. There is most likely an error in the model." - - - - - A string like "Found a property token that isn't a path in the select syntactic tree." - - - - - A string like "Any selection that is expanded must have the same type qualifier on both selection and expansion." - - - - - A string like "Cannot delete selection items from an AllSelection, please create the SelectExpandClause with a Partial Selection instead." - - - - - A string like "Links segments must always be followed by a navigation property." - - - - - A string like "Trying to traverse a non-normalized expand tree." - - - - - A string like "Found a path within a select or expand query option that isn't ended by a non-type segment." - - - - - A string like "Trying to parse a type segment path that is too long." - - - - - A string like "The navigation property must have a target multiplicity of 'One' or 'ZeroOrOne' to create a SingleNavigationNode." - - - - - A string like "The navigation property must have a target multiplicity of 'Many' to create a CollectionNavigationNode." - - - - - A string like "Only static Entity Set reference expressions are supported currently." - - - - - A string like "An instance of CollectionFunctionCallNode can only be created with a primitive or complex collection type. For functions returning a collection of entities, use EntityCollectionFunctionCallNode instead." - - - - - A string like "An instance of EntityCollectionFunctionCallNode can only be created with an entity collection type. For functions returning a collection of primitive or complex values, use CollectionFunctionCallNode instead." - - - - - A string like "Only call AddTerms on ExpandTermTokens that have already been expanded by ExpandTerm." - - - - - A string like "Found a segment that isn't a path while parsing the path within a select or expand query option." - - - - - A string like "A service root URI must be provided to the ODataUriParser in order to use this method." - - - - - A string like "The limit must be greater than or equal to zero" - - - - - A string like "Functions are not supported in this version. Only Actions and Service Operations are supported." - - - - - A string like "$value cannot be applied to a collection." - - - - - A string like "A feed may contain a next page link, a delta link or neither, but must not contain both." - - - - - A string like "The last segment, and only the last segment, must be a navigation property in $expand." - - - - - A string like "The last segment in a $select cannot be a TypeSegment." - - - - - A string like "An operation can only be the last segment in $select." - - - - - A string like "A navigation property can only be the last segment in $select." - - - - - A string like "No type could be computed for this Segment since there were multiple possible operations with varying return types." - - - - - A string like "The return type from the operation is not possible with the given entity set." - - - - - A string like "Please construct this SingleValueFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Please construct this SingleEntityFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Calling the wrong overload to convert named values to type." - - - - - A string like "Cannot use a non-primitive type as a parameter." - - - - - A string like "Calling the wrong overload to convert positional values to type." - - - - - A string like "Empty segment encountered in request URL. Please make sure that a valid request URL is specified." - - - - - A string like "Bad Request - Error in query syntax." - - - - - A string like "The request URI is not valid, the segment $count cannot be applied to the root of the service." - - - - - A string like "$value must not be specified for spatial values." - - - - - A string like "Error processing request stream. In batch mode, a resource can be cross-referenced only for bind/unbind operations. " - - - - - A string like "Segments with multiple key values must specify them in 'name=value' form." - - - - - A string like "Forbidden" - - - - - A string like "Found an operation bound to a non-entity type." - - - - - A string like "Value cannot be null or empty." - - - - - A string like "Found an unbalanced bracket expression." - - - - - A string like "Invalid JSON. More than one value was found at the root of the JSON content. JSON content can only have one value at the root level, which is an array, an object or a primitive value." - - - - - A string like "Invalid JSON. Unexpected end of input was found in JSON content. Not all object and array scopes were closed." - - - - - A string like "Invalid JSON. A token was not recognized in the JSON content." - - - - - A string like "Invalid JSON. Unexpected end of input reached while processing a JSON string value." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 7b96dc902..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 999191371..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 6a7c47392..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/Microsoft.Data.OData.resources.dll deleted file mode 100644 index a9060aa80..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 19aebf5f9..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 32d701a3e..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/Microsoft.Data.OData.resources.dll deleted file mode 100644 index feef0cf58..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 841bc6f96..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/Microsoft.Data.OData.resources.dll deleted file mode 100644 index d7162fd17..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.OData.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.OData.dll deleted file mode 100644 index ae395d161..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.OData.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.OData.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.OData.xml deleted file mode 100644 index 2f00fe6eb..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.OData.xml +++ /dev/null @@ -1,55764 +0,0 @@ - - - - Microsoft.Data.OData - - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance which does not URL-encode the resulting string. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Gets the literal formatter for URL constants which does not URL-encode the string. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Gets the url convention for the given entity container based on its vocabulary annotations. - - The model the entity container belongs to. - The container to get the url convention for. - The url convention of the container. - - - - Gets the url convention for the given user setting and type context. - - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The type context for the entry or feed being written. - The convention to use when generating URLs. - - - - Determines whether or not the annotation indicates the 'KeyAsSegment' url-convention. - - The annotation to check. - True if the annotation indicates the 'KeyAsSegment' url convention; false otherwise. - - - - Determines whether or not the value is 'KeyAsSegment'. - - The value to check. - True if the value is 'KeyAsSegment'.; false otherwise. - - - - Determines whether or not the term is the url-convention term. - - The term to check. - True if the term is the url-convention term.; false otherwise. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that knows how to bind binary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a BinaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Promote the left and right operand types - - the operator kind - the left operand - the right operand - - - - Retrieve SingleValueNode bound with given query token. - - the query token kind - the query token - the corresponding SingleValueNode - - - - Encapsulates the state of metadata binding. - TODO : finish moving fields from MetadataBinder here and see if anything can be removed. - - - - - The configuration used for binding. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Constructs a with the given . - - The configuration used for binding. - - - - The model used for binding. - - - - - The configuration used for binding. - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Internal class for storing all the configuration information about the URI parser. Allows us to flow these values around without passing an actual parser. - - - - - Model to use for metadata binding. - - - - - Absolute URI of the service root. - - - - The conventions to use when parsing URLs. - - - - Initializes a new instance of . - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - Class that knows how to bind CastTokens. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a DottedIdentifierBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a DottedIdentifierToken and it's parent node (if needed). - - Token to bind to metadata. - State of the Binding. - A bound node representing the cast. - - - Use this class to perform late-bound operations on data service entity sets. - This class was copied from the product. - - - MethodInfo for object DataServiceProviderMethods.GetValue(this object value, string propertyName). - - - MethodInfo for IEnumerable<T> DataServiceProviderMethods.GetSequenceValue(this object value, string propertyName). - - - MethodInfo for Convert. - - - MethodInfo for TypeIs. - - - Method info for string comparison - - - Method info for Bool comparison - - - Method info for Bool? comparison - - - Method info for Guid comparison - - - Method info for Guid? comparison - - - Method info for byte array comparison. - - - Method info for byte array comparison. - - - Gets a named value from the specified object. - Object to get value from. - describing the property whose value needs to be fetched. - The requested value. - - - Gets a named value from the specified object as a sequence. - Object to get value from. - describing the property whose value needs to be fetched. - expected result type - The requested value as a sequence; null if not found. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference type to check for. - True if value is-a type; false otherwise. - - - - Compares 2 strings by ordinal, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are equal; false otherwise. - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are not equal; false otherwise. - - - - Helper class for throwing exceptions during URI parsing. - - - - Creates a new "Resource Not Found" exception. - segment identifier information for which resource was not found. - A new exception to indicate the requested resource cannot be found. - - - Creates a new "Resource Not Found" exception. - Plain text error message for this exception. - A new exception to indicate the requested resource cannot be found. - - - Creates a new exception to indicate a syntax error. - A new exception to indicate a syntax error. - - - - Creates a new exception to indicate BadRequest error. - - Plain text error message for this exception. - A new exception to indicate a bad request error. - - - Checks the specific value for syntax validity. - Whether syntax is valid. - This helper method is used to keep syntax check code more terse. - - - Checks the specifid value for syntax validity. - Whether syntax is valid. - segment indentifier for which the resource was null. - This helper method is used to keep syntax check code more terse. - - - - A component for walking an expand tree and determining if the depth or number of items exceed user-specified limits. - - - - - The maximum depth of any expand tree being validated. - - - - - The maximum number of expand items allowed in any expand tree being validated, including leaf and non-leaf nodes. - - - - - The current count when validating a particular tree. - - - - - Initializes a new instance of . - - The maximum depth of an expand tree. - The maximum number of expanded items allowed in a tree. - - - - Validates the given tree against the user-specified limits. - - The expand tree to validate. - - - - Recursively ensures that the maximum count/depth are not exceeded by walking the tree. - - The expand tree to walk and validate. - The current depth of the tree walk. - - - - Component for parsing function parameters in both $filter/$orderby expressions and in paths. - - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for filter/orderby. - - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters for path. - - The function name to use in error messages. - The contents of the parentheses portion of the current path segment. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for path. - - The split parameters from the syntactic parsing step. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The token kind that marks the end of the parameters. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The type representing a parameter. - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The callback to use for individual parameter parsing. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The current expression parameterToken from the lexer. - The parameter value if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The type used to represent a parameter. - The token from the syntactic parsing step. - The configuration for the URI Parser. - The type that the parameter is expected to resolve to. - Callback to create the final parameter from the parsed value. - The parameter if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - A token to represent a raw function parameter value that has not yet been parsed further. - - - - - Base class for all lexical tokens of OData query. - - - - - Base class for all annotatable types in OData library. - - - - The map of annotationsAsArray keyed by type. - - - - Collection of custom instance annotations. - - - - Gets or sets the annotation by type. - The annotation of type T or null if not present. - The type of the annotation. - - - Sets an annotation of type T. - The annotation to set. - The type of the annotation. - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Get the annotation of type . If the annotation is not found, create a new - instance of the annotation and call SetAnnotation on it then return the newly created instance. - - The type of the annotation. - The annotation of type . - - - - Gets the custom instance annotations. - - The custom instance annotations. - - - - Sets the custom instance annotations. - - The new value to set. - - - - Check whether a given (non-null) instance is of the specified type (no sub-type). - - The (non-null) instance to test. - The type to check for. - True if the types match; otherwise false. - - - - Replace an existing annotation of type T or add a new one - if no annotation of type T exists. - - The type of the annotation. - The annotation to set. - - - - Remove the annotation of type T from the set of annotations (if such an annotation exists). - We only allow a single occurence of an annotation of type T. - - The type of the annotation to remove. - - - - Empty list of arguments. - - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Creates a RawFunctionParameterValue - - the raw text of this parameter value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the raw text of the value. - - - - - Gets the kind of this token - - - - - A token to represent a parameter alias in a function call. - - - - - Creates a FunctionParameterAliasToken - - the alias being used for the parameter. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the alias. - - - - - Gets the kind of this token - - - - - A token to represent a parameter to a function call. - - - - - get an empty list of parameters - - - - - The name of the parameter - - - - - The value of this parameter - - - - - Creates a FunctionParameterToken - - the name of this parameter - the syntactically parsed value - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the name of this parameter - - - - - Gets the syntactically parsed value of this token. - - - - - Gets the kind of this token - - - - - Node representing a semantically parsed parameter to a function. - - - - - Base class for all semantic metadata bound nodes. - - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the kind of this node. - - - - - Gets the kind of this node. - - - - - The name of this parameter - - - - - The semantically parsed value of this parameter - - - - - Creates a NamedFunctionParameterNode to represent a semantically parsed parameter to a function. - - the name of this function - the already semantically parsed value of this parameter. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - Gets the name of this parameter - - - - - Gets the semantically parsed value of this parameter. - - - - - Gets the kind of this node - - - - - Gets the kind of this node. - - - - - Settings used by . - - - - - Default recursive call limit for Filter - - - - - Default recursive call limit for OrderBy - - - - - Default tree depth for Select and Expand - - - - - Default limit for the path parser. - - - - - the recursive depth of the Syntactic tree for a filter clause - - - - - the maximum depth of the syntactic tree for an orderby clause - - - - - the maximum number of segments in a path - - - - - the maximum depth of the Syntactic or Semantic tree for a Select or Expand clause - - - - - Flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Whether use the behavior that the WCF DS Server had before integration. - - - - - The maximum depth of the tree that results from parsing $expand. - - - - - The maximum number of instances that can appear in the tree that results from parsing $expand. - - - - - Initializes a new instance of with default values. - - - - Specifies whether the WCF data services server behavior is enabled. - - - - Gets or sets the maximum depth of the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or sets the maximum number of instances that can appear in the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or Sets the maximum recursive depth for a select and expand clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets a flag that indicates Whether use the behavior that the WCF DS Server had before integration. - - - - - Gets or sets a flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Gets or Sets the limit on the maximum depth of the filter tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or sets the maximum recursive depth for an orderby clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets the limit on the maximum number of segments that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - Unlike Filter, OrderBy, and SelectExpand, this Limit is more concrete, and will - limit the segments to exactly the number that is specified... i.e. a limit of - 20 will throw if and only if there are more than 20 segments in the path. - - Throws if the input value is negative. - - - - Bind an entire Uri to Metadata. - - - - - The current state of the binding algorithm. - - - - - pointer to the metadata bind method. - - - - - Create a new ODataUriSemanticBinder to bind an entire uri to Metadata. - - the current state of the binding algorithm - pointer to the metadata bind method. - - - - Binds a . - - The query descriptor token to bind. - The bound query descriptor. - - - - Bind an inline count option - - The inline count option to bind. - the top level path - an InlineCountKind representing this inline count option - - - - Bind a select and expand option. - - A syntax tree containing the select and expand options to bind - the top level path - The configuration to use for binding. - a select expand clause bound to metadata - - - - Bind a top option - - a syntax tree containing the top option to bind - the range variable that iterates over the top level collection - the top level path - a nullable long representing this top option - - - - Bind a skip option - - a syntax tree containing the skip option - the range variable that iterates over the top level collection - the top level path. - a nullable long representing this skip option - - - - Bind an orderby option - - a syntac tree containing the orderby option - the range variable that iterates over the top level collection - the top level path - an OrderByClause representing this orderby option - - - - Bind a filter option - - a syntactic tree containing the filter option - the range variable that iterates over the top level collection. - A filter clause representing this filter option - - - - Helper class to help bind function overloads. - This is shared between path and filter/orderby function resolution. - - - - - Given a list of possible functions and a list of parameter names, choose a single function that exactly matches - the parameter names. If more than one function matches, throw. - - - Binding parameters will be ignored in this method. Only non-binding parameters are matched. - - The list of function imports to search. - The list of non-binding parameter names to match. - Name of the function. Only used for error strings. - A single function import that matches the parameter names exactly. - - - - Try to resolve a function from the given inputs. - - The identifier of the function that we're trying to find - the names of the parameters to search for. - the type of the previous segment - the model to use to look up the function import - The single matching function found. - True if a function was matched, false otherwise. Will throw if the model has illegal function imports. - - - - Add semantic meaning to a Select or Expand token. - - - - - Add semantic meaning to a Select or Expand Token - - the top level entity type. - the top level entity set - the syntactically parsed expand token - the syntactically parsed select token - The configuration to use for parsing. - A select expand clause bound to metadata. - - - - Node to represent a function call that returns a Collection - - - - - Base class for all semantic metadata bound nodes which represent a composable collection of values. - - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - the name of this function - - - - - the list of function imports - - - - - the list of parameters provided to this function - - - - - the individual item type returned by this function - - - - - the collection type returned by this function - - - - - The semantically bound parent of this function. - - - - - Creates a CollectionFunctionCallNode to represent a function call that returns a collection - - The name of this function. - the list of function imports that this node should represent. - the list of already bound parameters to this function - the type of the collection returned by this function. - The parent of this CollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not a primitive or complex type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function. - - - - - Gets the list of function imports represeted by this node - - - - - Gets the list of parameters to this function - - - - - Gets the individual item type returned by this function - - - - - The type of the collection represented by this node. - - - - - Gets the semantically bound parent node of this CollectionFunctionCallNode. - - - - - Gets the kind of this node. - - - - - Translator that determines the entity set of a segment. - - - - - Translator interface for walking the Syntactic Tree. - - Generic type produced by the translator. - - - - Translate a TypeSegment - - the segment to Translate - Defined by the implementer - - - - Translate a NavigationPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate an EntitySetSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a KeySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a PropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a OperationSegment - - the segment to Translate - Defined by the implementer. - - - - Translate an OpenPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a CountSegment - - the segment to Translate - Defined by the implementer. - - - - Visit a NavigationPropertyLinkSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a ValueSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchReferenceSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a MetadataSegment - - the segment to Translate - Defined by the implementer. - - - - Determine the EntitySet of a NavigationPropertyLinkSegment - - The NavigationPropertyLinkSegment to look in. - The IEdmEntitySet of this NavigationPropertyLinkSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a TypeSegment - - The TypeSegment to look in. - The IEdmEntitySet of this TypeSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a NavigationPropertySegment - - The NavigationPropertySegment to look in. - The IEdmEntitySet of this NavigationPropertySegment - Throws if the input segment is null. - - - - Determine the EntitySet of an EntitySetSegment - - The EntitySetSegment to look in. - The IEdmEntitySet of this EntitySetSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a KeySegment - - The KeySegment to look in. - The IEdmEntitySet of this KeySegment - Throws if the input segment is null. - - - - Determine the EntitySet of a PropertySegment - - The PropertySegment to look in. - null, since a property doesn't necessarily have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of an OperationSegment - - The OperationSegment to look in. - The IEdmEntitySet of this OperationSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a CountSegment - - The CountSegment to look in. - null, since $count doesn't have an entitySet - Throws if the input segment is null. - - - - Determine the EntitySet of a OpenPropertySegment - - The OpenPropertySegment to look in. - null, since an OpenProperty doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a ValueSegment - - The ValueSegment to look in. - null, since $value doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchSegment - - The BatchSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchReferenceSegment - - The BatchReferenceSegment to look in. - The IEdmEntitySet of this BatchReferenceSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a MetadataSegment - - The MetadataSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Build a semantic tree for Expand based on an Expand syntactic tree. - - - - - The configuration used for binding. - - - - - The entity set at the current level expand. - - - - - The entity type at the current level expand. - - - - - Constructs a new ExpandBinder. - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Visit an ExpandToken - - the token to visit - a SelectExpand clause based on this ExpandToken - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Build a expand clause for a nested expand. - - A new SelectExpandClause. - - - - Generate an expand item based on an ExpandTermToken - - the expandTerm token to visit - the expand item for this expand term token. - - - - Build a new MetadataBinder to use for expand options. - - The entity set being expanded. - A new MetadataBinder ready to bind a Filter or Orderby clause. - - - - The model used for binding. - - - - - The top level entity type. - - - - - The top level entity set for this level. - - - - - The settings to use when binding. - - - - - The configuration used for binding. - - - - - Build an ExpandBinder based on global settings - - - - - Build an ExpandBinder based on global settings - - The entity type of the top level expand item. - The entity set of the top level expand item. - The configuration to use for binding. - An ExpandBinder strategy based on the global settings - - - - ExpandOption variant of an ExpandBinder, where the default selection item for a given level is based on the select at that level - instead of the top level select clause. If nothing is selected for a given expand in the ExpandOption syntax, then we by default - select all from that item, instead of selecting nothing (and therefore pruning the expand off of the tree). - - - - - Build the ExpandOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Interface for the SelectExpandTermParsing strategy - - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Lexer used to parse an expression. - - - - - are we parsing select. - - - - - the maximum allowable recursive depth. - - - - - The current recursion depth. - - - - - Create a SelectExpandTermParser - - the clause to parse - the maximum recursive depth - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Parses a select or expand term into a query token - - parsed query token - - - - Uses the ExpressionLexer to visit the next ExpressionToken, and delegates parsing of segments, type segments, identifiers, - and the star token to other methods. - - Previously parsed QueryToken, or null if this is the first token. - A parsed QueryToken representing the next part of the expression. - - - - Parses a segment; a expression that is followed by a slash. - - The parent of the segment node. - The lexical token representing the segment. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - The maximum recursive depth. - - - - - Build the ExpandOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token, and all available expand options. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Read a query option from the lexer. - - the query option as a string. - - - - Translator from the old expand syntax tree to the new Expand Option syntax tree - - - - - Normalize an expand syntax tree into the new ExpandOption syntax. - - the tree to normalize - a new tree, in the new ExpandOption syntax - - - - Invert the all of the paths in an expandToken, such that they are now in the same order as they are present in the - base url - - the tree to invert paths on - a new tree with all of its paths inverted - - - - Collapse all redundant terms in an expand tree - - the tree to collapse - A new tree with all redundant terms collapsed. - - - - Expand all the PathTokens in a particular term into their own separate terms. - - the term to expand - a new ExpandTermToken with each PathToken at its own level. - - - - add a new expandTermToken into an exisiting token, adding any additional levels and trees along the way. - - the exisiting (already expanded) token - the new (already expanded) token - the combined token, or, if the two are mutually exclusive, the same tokens - - - - Combine the child nodes of twoExpandTermTokens into one list of tokens - - the existing token to to - the new token containing terms to add - a combined list of the all child nodes of the two tokens. - - - - Add child options to a new dictionary - - the token with child nodes to add to the dictionary - dictionary to add child nodes to - - - - Adds the expand token to the dictionary or combines it with an existing or combines it with another existing token with an equivalent path. - - The combined terms dictionary. - The expanded term to add or combine. - - - - A set of extensions to for parsing literals. - - - - - Returns whether the is a primitive literal type: - Binary, Boolean, DateTime, Decimal, Double, Guid, In64, Integer, Null, Single, or String. - Internal for test use only - - InternalKind of token. - Whether the is a literal type. - - - Reads the next token, checks that it is a literal token type, converts to to a Common Language Runtime value as appropriate, and returns the value. - The expression lexer. - The value represented by the next token. - - - - Parses null literals. - - The expression lexer. - The literal token produced by building the given literal. - - - - Parses typed literals. - - The expression lexer. - Expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses a literal. - Precondition: lexer is at a literal token type: Boolean, DateTime, Decimal, Null, String, Int64, Integer, Double, Single, Guid, Binary. - - The expression lexer. - The literal query token or null if something else was found. - - - - Utilities needed by which are relatively simple and standalone. - - - - Suffix for single literals. - - - Suffix for single literals. - - - Whether the specified token identifier is a numeric literal. - Token to check. - true if it's a numeric literal; false otherwise. - - - - Checks if the is INF or NaN. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether equals to 'INF' - Internal for testing only - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Checks if the is INFf/INFF or NaNf/NaNF. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether EQUALS to 'INFf' or 'INFF'. - Internal for testing only. - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Class responsible for binding a syntactic filter expression into a bound tree of semantic nodes. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - State to use for binding. - - - - - Creates a FilterBinder. - - Method to use to visit the token tree and bind the tokens recursively. - State to use for binding. - - - - Binds the given filter token. - - The filter token to bind. - A FilterNode with the given path linked to it (if provided). - - - - Class that knows how to bind function call tokens. - - - - - Method to use for binding the parent node, if needed. - - - - - The names of functions that we don't bind to BuiltInFunctions - - - - - Constructs a FunctionCallBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Promotes types of arguments to match signature if possible. - - The signature to match the types to. - The types to promote. - - - - Checks that all arguments are SingleValueNodes - - The name of the function the arguments are from. - The arguments to validate. - Returns the types of the arguments provided. - - - - Finds the signature that best matches the arguments - - The name of the function - The types of the arguments - The signatures to match against - Returns the matching signature or throws - - - - Finds all signatures for the given function name. - - The function to get the signatures for. - The signatures which match the supplied function name. - - - - Binds the token to a SingleValueFunctionCallNode - - Token to bind - The current state of the binding algorithm - The resulting SingleValueFunctionCallNode - - - - Try to bind an end path token as a function call. Used for bound functions without parameters - that parse as end path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind an inner path token as a function call. Used for bound functions without parameters - that parse as inner path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind a as a function call. Used for container qualified functions without parameters. - - the dotted identifier token to bind - the semantically bound parent node for this dotted identifier - the current stat of the binding algorithm - a single value function call node representing the function call, if we found one. - true if we found a function for this token, false otherwise. - - - - Bind this function call token as a built in function - - the function call token to bidn - the current state of the binding algorithm - list of semantically bound arguments - A function call node bound to this function. - - - - Try to bind an identifier to a FunctionCallNode - - the identifier to bind - the semantically bound list of arguments. - a semantically bound parent node. - the current state of the binding algorithm - a single value function call node representing this funciton call, if we found one. - true if we found a function for this token. - - - - Determines whether this is a function that we don't bind to a BuiltInFunction - - name of the function - true if this is a function that we don't bind - - - - Build a SingleValueFunctionCallNode for a function that isn't bound to a BuiltInFunction - - original query token for this function - list of already bound query nodes for this function - The current state of the binding algorithm. - A single value function call node bound to this function. - - - - Validate the args list (adding the implicit range variable if necessary), and determine the correct return type for a cast function - - current binding state, used to get the implicit range variable if necessary - list of arguments, could be changed - the return type from this cast function - - - - Validate the arguments (adding the implicit range variable if necessary), and determine the correct return type - for an IsOf function - - the current state of the binding algorithm, used to get the implicit range variable if necessary - current list of args, can be changed - the correct return type for this function. - - - - Validate the arguments to either isof or cast - - the current state of the binding algorithm - flag to indicate which function we're validating - the list of arguments, which could be changed - the return type of the function. - - - - Try to get an IEdmTypeReference for a given type as a string, returns null if none exists - - the model for validation - the type name to find - an IEdmTypeReference for this type string. - - - - Implementation of IFunctionCallParser that allows functions calls and parses arguments with a provided method. - TODO : This implementation is incomplete. - - - - - Interface for a class that can parse an identifier as a function and return a representitive QueryToken. - - - - - Parses an identifier that represents a function. - - the syntactically bound parent of this identifier. - QueryToken representing this function. - - - - Reference to the lexer. - - - - - Reference to the lexer. - - - - - Method used to parse arguments. - - - - - Create a new FunctionCallParser. - - Lexer positioned at a function identifier. - Method to use for parsing individual arguments in the function. - - - - Parses an identifier that represents a function. - - Token for the parent of the function being parsed. - QueryToken representing this function. - - - - Parses argument lists. - - The lexical tokens representing the arguments. - - - - Parses comma-separated arguments. - - - Arguments can either be of the form a=1,b=2,c=3 or 1,2,3. - They cannot be mixed between those two styles. - - The lexical tokens representing the arguments. - - - - Read the list of arguments as a set of positional values - - A list of FunctionParameterTokens representing each argument - - - - Try to read the list of arguments as a set of named values - - the parsed list of arguments - true if the arguments were successfully read. - - - - Reference to the lexer. - - - - - Class that knows how to parse an identifier using an ExpressionLexer that is appropriately positioned. - - - - - Reference to the lexer. - - - - - parameters from the expression parser - - - - - Object to handle the parsing of things that look like function calls. - - - - - Parse an Identifier into the right QueryToken - - parameters passed in to the UriQueryExpressionParser - Object to use to handle parsing function calls. - - - - Parses identifiers. - - the syntactically bound parent of this identifier. - The lexical token representing the expression. - - - - Parses member access. - - Instance being accessed. - The lexical token representing the expression. - - - - Parses * (all member) access at the beginning of a select expression. - - Instance being accessed. - The lexical token representing the expression. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Visitor interface for walking the Path Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an SystemToken - - The SystemToken to visit - A user defined class - - - - Visit an NonSystemToken - - The NonSystemToken to visit - A user defined class - - - - Visitor interface for walking the Path Tree. - - - - - Visit an SystemToken - - The SystemToken to visit - - - - Visit an NonSystemToken - - The NonSystemToken to visit - - - - Visitor interface for walking the Syntactic Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a LiteralToken - - LiteralToken to visit - A ConstantNode bound to this LiteralToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits a EndPathToken - - The EndPathToken to bind - A PropertyAccessNode bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FunctionParameterToken - - The FunctionParameterTokenb to bind - A FunctionParametertoken bound to this UnaryOperatorToken - - - - Class that knows how to bind key values. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - Constructs a KeyBinder object using the given function to bind key values. - - Method to call to bind a value in a key. - - - - Binds key values to a key lookup on a collection. - - Already bound collection node. - The named value tokens to bind. - The bound key lookup. - - - - Binds a key property value. - - The named value to bind. - The type of a single item in a collection to apply the key value to. - The bound key property value node. - - - Provides a class used to represent a key for a resource. - - Internally, every key instance has a collection of values. These values - can be named or positional, depending on how they were specified - if parsed from a URI. - - - - Empty key singleton. - - - Named values. - - - Positional values. - - - Whether or not the key was formatted as a segment. - - - Initializes a new empty instance. - - - Initializes a new instance. - Named values. - Positional values for this instance. - Whether or not the key was formatted as a segment. - - One of namedValues or positionalValues should be non-null, but not both. - - - - Attempts to parse key values from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - - Creates a key instance from the given raw segment text with a single positional value. - - The segment text. - A key instance with the given segment text as its only value. - - - Attempts to parse nullable values (only positional values, no name-value pairs) from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the given values were parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Tries to convert values to the keys of the specified type. - The key properties to use for the conversion. - The converted key-value pairs. - true if all values were converted; false otherwise. - - - - Try to convert a value into an EDM primitive type - - the type to convert to - the value to convert - The converted value, if conversion succeeded. - true if the conversion was successful. - - - Attempts to parse key values from the specified text. - Text to parse (not null). - Set to true if the parser should accept named values - so syntax like Name='value'. If this is false, the parsing will fail on such constructs. - Set to true if the parser should accept null values. - If set to false, the parser will fail on null values. - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Creates a new instance if the specified value is null. - Type of variable. - Current value. - - - Whether the values have a name. - - - Checks whether this key has any values. - - - Returns a dictionary of named values when they AreValuesNamed is true. - - - Returns a list of values when they AreValuesNamed is false. - - - Number of values in the key. - - - - Class that knows how to bind a LambdaToken. - - - - - Method used to bind a parent token. - - - - - Constructs a LambdaBinder. - - Method used to bind a parent token. - - - - Binds a LambdaToken to metadata. - - Token to bind. - Object to hold the state of binding. - A metadata bound any or all node. - - - - Bind the parent of the LambdaToken - - the parent token - the bound parent node - - - - Bind the expression of the LambdaToken - - the expression token - the bound expression node - - - - Class that knows how to bind literal values. - - - - - Binds a literal value to a ConstantNode - - Literal token to bind. - Bound query node. - - - Use this class to parse literals from keys, etags, skiptokens, and filter/orderby expression constants. - - - - Default singleton instance of the literal parser. - - - - - Singleton instance of the literal parser for when keys-as-segments is turned on, which does not wrap the formatted strings in any quotes or type-markers. - - - - - Mapping between primitive CLR types and lightweight parser classes for that type. - - - - - Gets the literal parser for keys, based on whether the keys are formatted as segments. - - Whether or not the keys is formatted as a segment. - The literal parser to use. - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Gets the literal parser to use for ETags. - - - - - Default literal parser which has type-markers and single-quotes. Also supports arbitrary literals being re-encoded in binary form. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Tries to parse the literal by first removing required formatting for the expected type, then converting the resulting string. - - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Simplified literal parser for keys-as-segments which does not expect type-markers, single-quotes, etc. Does not support re-encoding literals as binary. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - If the string starts with '$', removes it. - Also asserts that the 2nd character is also '$', as otherwise the string would be treated as a system segment. - - The text. - The string value with a leading '$' removed, if the string started with one. - - - - Helper class for parsing a specific type of primitive literal. - - - - XML whitespace characters to trim around literals. - - - - The expected prefix for the literal. Null indicates no prefix is expected. - - - - - The expected suffix for the literal. Null indicates that no suffix is expected. - - - - - Whether or not the suffix is required. - - - - - The expected type for this parser. - - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected prefix for the literal. - - - - Initializes a new instance of the class. - - The expected type for this parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - Whether or not conversion was successful. - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - Whether or not the expected formatting was found and succesfully removed. - - - - Determines whether the values for the specified types should be - quoted in URI keys. - - Type to check. - - true if values of require quotes; false otherwise. - - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - - - - Primitive parser which uses a delegate for conversion. - - The expected CLR type when parsing. - - - - The delegate to use for conversion. - - - - - Initializes a new instance of the class. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - The expected prefix for the literal. - - - - Creates a primitive parser which wraps the given delegate and does not expect any extra markup in serialized literal. - - The delegate to use for conversion. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to start with one of the given prefixes. - - The delegate to use for conversion. - The expected prefix for the literal. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - A new primitive parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Parser specific to the Edm.Decimal type. - - - - - Initializes a new instance of the class. - - - - - Special helper to convert a string to a decimal that will allow more than what XmlConvert.ToDecimal supports by default. - - The text to convert. - The converted decimal value. - - - - Parser specific to the Edm.Binary type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - Returns the 4 bits that correspond to the specified character. - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - - - - Parser specific to the Edm.String type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - - Helper methods for metadata binding. - - - - - If the source node is not of the specified type, then we check if type promotion is possible and inject a convert node. - If the source node is the same type as the target type (or if the target type is null), we just return the source node as is. - - The source node to apply the convertion to. - The target primitive type. May be null - this method will do nothing in that case. - The converted query node, or the original source node unchanged. - - - - Retrieves type associated to a segment. - - The node to retrive the type from. - The type of the node, or item type for collections. - - - - Retrieves the type reference associated to a segment. - - The node to retrive the type reference from. - The Type reference of the node (item type reference for collections). - - - - Class to provide methods that wrap EdmLib calls that are normally not allows in ODataLib, but - are OK in the Uri Parser. These are OK to suppress because the Uri Parser - does not need to go through the behavior knob that the ODL reader/writer does. - This should only be used by the Uri Parser. - - - - - Wraps a call to IEdmModel.FindType. - - The model to search. - The qualified name of the type to find within the model. - The requested type, or null if no such type exists. - - - - Wraps call to FindTypeFromModel for a Collection type. - - the model to search - the name to find within the model - a type reference to the collection type, or null if no such type exists. - - - - Wraps a call to IEdmFunctionImport.ReturnType. - - The function import containing the return type. - Gets the return type of this function. - - - - Wraps a call to IEdmEntitySet.ElementType. - - The EntitySet to containing the element type. - The entity type contained in this entity set. - - - - Wraps a call to IEdmFunctionParameter.Type. - - The IEdmFunctionParameter containing the typ[e. - The type of this function parameter. - - - - Check whether the parent and child are properly related types - - the parent type - the child type - Throws if the two types are not related. - - - - Follow an ODataPath from an Expand to get the Final Nav Prop - - the path to follow - the navigation property at the end of that path. - Throws if the last segment in the path is not a nav prop. - - - - Follow an ODataPath from to get the most derived type - - the path to follow - the starting type before beginning to walk the path. - the most derived type in the path. - - - - Is this token a container - - the containerIdentifier of the container to find - which model to search - the container we found, if we found one - true if we find a container, false otherwise - - - - Returns true if this type is an EntityCollection - - The type to check - true if the type is an entity collection - - - - Checks whether all function imports have the same return type - - the list to check - true if the list of function imports all have the same return type - - - - Is this a valid binding type. i.e. is this an entity, entity colleciton, or complex type. - - the binding type - true if this binding type is valid - - - - NonOption variant of an ExpandBinder, where the default selection at each level is based on the top level select - clause. If that top level select is not populated, then we select all from this level, instead of selecting nothing. - - - - - Build the NonOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, apath to a property, - a wildcard, operation name, etc. - - - - - Build the NonOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Class responsible for binding a InnerPathToken into: - 1. SingleNavigationNode - 2. CollectionNavigationNode - 3. SinglePropertyAccessNode (complex) - 4. CollectionPropertyAccessNode (primitive | complex) - 5. KeyLookupNode - 6. SingleValueFunctionCallNode - 7. SingleEntityFunctionCallNode - - TODO The binder does support key lookup on collection navigation properties, however at this time - the synctactic parser does not set things up correctly to allow end-to-end scenarios to work. - - - - Bind method to use for binding a parent node, if needed. - - - - - Constructs a InnerPathTokenBinder. - - Bind method to use for binding a parent node, if needed. - - - - Ensures that the parent node is of entity type, throwing if it is not. - - Parent node to a navigation property. - The given parent node as a SingleEntityNode. - - - - Given a property name, if the associated type reference is strucutred, then this returns - the property of the structured type. Otherwise, it returns null. - - The parent type to be used to find binding options. - The string designated the property name to be bound. - The property associated with string and parent type. - - - - Builds an appropriate navigation query node (collection or single) for the given property and parent node. - - Navigation property. - Parent Node. - Named values (key values) that were included in the node we are binding, if any. - State of binding. - Object to perform binding on any key values that are present. - A new CollectionNavigationNode or SingleNavigationNode to capture the navigation propety access. - - - - Binds a . - This includes more than just navigations - it includes complex property access and primitive collections. - - The segment token to bind. - The state of binding. - The bound node. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Factory class to build IParameterQueryNodes. - - - - - Creates a for an implicit parameter ($it) from an . - - that the range variable is iterating over. - A new . - - - - Creates a ParameterQueryNode for an implicit parameter ($it). - - Element type the parameter represents. - Entity Set. May be null and must be null for non entities. - A new IParameterNode. - - - - Creates a RangeVariableReferenceNode for a given range variable - - Name of the rangeVariable. - A new SingleValueNode (either an Entity or NonEntity RangeVariableReferenceNode. - - - - Creates a ParameterQueryNode for an explicit parameter. - - Name of the parameter. - CollectionNode that the parameter is iterating over. - A new RangeVariable. - - - - Creates an AnyNode or an AllNode from the given - - State of binding. - Parent node to the lambda. - Bound Lambda expression. - The new range variable being added by this lambda node. - Token kind. - A new LambdaNode bound to metadata. - - - - Handler interface for walking the path semantic tree. - - - - - Handle a TypeSegment - - the segment to Handle - - - - Handle a NavigationPropertySegment - - the segment to Handle - - - - Handle an EntitySetSegment - - the segment to Handle - - - - Handle a KeySegment - - the segment to Handle - - - - Handle a PropertySegment - - the segment to Handle - - - - Handle an OperationSegment - - the segment to Handle - - - - Handle an OpenPropertySegment - - the segment to Handle - - - - Handle a CountSegment - - the segment to Handle - - - - Handle a LinksSegment - - the segment to Handle - - - - Handle a ValueSegment - - the segment to Handle - - - - Handle a BatchSegment - - the segment to Handle - - - - Handle a BatchReferenceSegment - - the segment to Handle - - - - Handle a MetadataSegment - - the segment to Handle - - - - Node to represent a function call that returns a collection of entities. - - - - - Base class for all semantically bound nodes which represent a composable collection of values. - - - - - Get the resouce type of a single entity from the collection represented by this node. - - - - - Get the EntitySet that contains this collection. - - - - - the name of this function. - - - - - list of function imports that this node represents. - - - - - list of parameters provided to this function - - - - - the type a single entity returned by this function - - - - - the type of the collection returned by this function - - - - - the set containing the entities returned by this function. - - - - - The semantically bound parent of this EntityCollectionFunctionCallNode. - - - - - Creates an EntityCollecitonFunctionCallNode to represent a function call that returns a collection of entities. - - The name of this function. - the list of function imports that this node represents. - the list of parameters to this function - the type the entity collection returned by this function. The element type must be an entity type. - the set containing entities returned by this function - the semantically bound parent of this EntityCollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not an entity type. - Throws if the input function imports is null - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function - - - - - Gets the list of function imports that this node represents. - - - - - Gets the list of parameters provided to this function. - - - - - Gets the individual item type returned by this function. - - - - - The type of the collection represented by this node. - - - - - Gets the individual entity type returned by this function. - - - - - Gets the entity set contaiing the entities returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Segment translator to determine whether a given is a collection. - - - - - Translate a NavigationPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an EntitySetSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a KeySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a PropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an OpenPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a CountSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a NavigationPropertyLinkSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchReferenceSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a ValueSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a MetadataSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - A segment representing $links or $ref - - - - - The semantic representation of a segment in a path. - - - - Returns the identifier for this segment i.e. string part without the keys. - - - Indicates whether this segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - Creates a new Segment and copies values from another Segment. - - Segment to copy values from. - - - - Creates a new Segment. - - - - - Translate a using an implemntation of. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - - - - Handle a using an implementation of a . - - An implementation of the handler interface. - - - - Check if this segment is equal to another segment. - - the other segment to check - true if the segments are equal. - - - - Copies over all the values of the internal-only properties from one segment to another. - - Ther segment to copy from. - - - - Gets the of this . - - This property can be null. Not all segments have a Type, such as a . - - - Returns the identifier for this segment i.e. string part without the keys. - - - Whether the segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - The navigation property this link or ref acts on. - - - - - Build a segment to represnt $links or $ref on a Nav prop - - The navigaiton property this link or ref acts on - The set of entities linked to by this . This can be null. - Throws if the input navigationProperty is null. - - - - Translate a - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - The other segment to check. - True if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property this link or ref acts on. - - - - - Gets the set of entities linked to by this . - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of or . - - - - - A representation of the path portion of an OData URI which is made up of s. - - - - - The segments that make up this path. - - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Get the segments enumerator - - The segments enumerator - - - - get the segments enumerator - - The segments enumerator. - - - - Walk this path using a translator - - the return type of the translator - a user defined translation path - an enumerable containing user defined objects for each segment - - - - Walk this path using a handler - - the handler that will be applied to each segment - - - - Checks if this path is equal to another path. - - The other path to compare it to - True if the two paths are equal - Throws if the input other is null. - - - - Add a segment to this path. - - the segment to add - Throws if the input newSegment is null. - - - - Gets the first segment in the path. Returns null if the path is empty. - - - - - Get the last segment in the path. Returns null if the path is empty. - - - - - Get the number of segments in this path. - - - - - Create an ODataPath object to represent a path semantically - - The list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Create an ODataPath object based on a single segment - - A list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Gets the navigation property for this expand path. - - the navigation property for this expand path. - - - - Ensure that this expand path contains only valid segment types. - - Throws if this list of segments doesn't match the requirements for a $expand - - - - Extension methods for . These method provide convenince functions. - TODO: Implement this class and it's visitors. These are stubs. - - - The values that these methods compute are not cached. - - - - - Computes the of the resource identified by this . - - Path to compute the type for. - The of the resource, or null if the path does not identify a - resource with a type. - - - - Computes the of the resource identified by this . - - Path to compute the set for. - The of the resource, or null if the path does not identify a - resource that is part of a set. - - - - Computes whether or not the resource identified by this is a collection. - - Path to perform the computation on. - True if the resource if a feed or collection of primitive or complex types. False otherwise. - - - Translates from an IPathSegment into an ODataPath - - - - Binds a collection of to metadata, creating a semantic ODataPath object. - - Collection of path segments. - The configuration to use when binding the path. - A semantic object to describe the path. - - - - Main Public API to parse an ODataURI. - - - - - The parser's configuration. - - - - - Build an ODataUriParser - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - A representing the metadata bound orderby expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parse a filter clause from an instantiated class. - - the filter clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A FilterClause representing the metadata bound filter expression. - - - - Parse an orderby clause from an instance of this class - - the orderby clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - An OrderByClause representing the metadata bound orderby expression. - - - - Parses a into a semantic object. - - - This is designed to parse the Path of a URL. If it is used to parse paths that are contained - within other places, such as $filter expressions, then it may not enforce correct rules. - - The absolute URI which holds the path to parse. - An representing the metadata-bound path expression. - Throws if the serviceRoot member is null, or if the input path is not an absolute uri. - - - - ParseSelectAndExpand from an instantiated class - - the select to parse - the expand to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. This can be null, if so that null will propagate through the resulting SelectExpandClause. - A SelectExpandClause with the semantic representation of select and expand terms - - - - Parse a full Uri into its contingent parts with semantic meaning attached to each part. - See . - - The full uri to parse. - An representing the full uri. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - - - - Parses the full Uri. - - The full uri to parse - An ODataUri representing the full uri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided. - - String representation of the filter expression. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided model. - - String representation of the orderby expression. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parses the and clauses on the given , binding - the text into a metadata-bound list of properties to be selected using the provided model. - - String representation of the select expression from the URI. - String representation of the expand expression from the URI. - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A representing the metadata bound orderby expression. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - Throws if the input inlineCount is not a valid $inlinecount value. - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - The exception that is thrown when path parsing detects an unrecognized or unresolvable token in a path (which servers should treat as a 404). - - - - - Exception type representing exceptions in the OData library. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - Plain text error message for this exception. - - - - Initializes a new instance of the DataServiceException class. - - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - - Component for controlling what convention are used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - Gets the internal representation of the user-specified convention. - - - - - Class to handle the binding of orderby tokens. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - Creates an OrderByBinder - - Method to use to visit the token tree and bind the tokens recursively. - - - - Processes the order-by tokens of a entityCollection (if any). - - State to use for binding. - The order-by tokens to bind. - An OrderByClause representing the orderby statements expressed in the tokens. - - - - Processes the specified order-by token. - - State to use for binding. - The next OrderBy node, or null if there is no orderby after this. - The order-by token to bind. - Returns the combined entityCollection including the ordering. - - - - Set of helpers and extensions to make it easier to convert the semantic path parser - to using and the related classes. - - - - - Returns whether the given type is a structural type that is open. - - The type to check. - Whether the type is both structural and open. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - Whether or not the type is an entity or entity collection type. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - The entity type. If the given type was a collection, this will be the element type. - Whether or not the type is an entity or entity collection type. - - - - Gets the target entity set for the given function import. - - The function import. - The source entity set. - The model. - The target entity set of the function import or null if it could not be determined. - - - - Throws an exception if the given type is an open complex type. - - The type to check. - - - - Reverse a Path - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an SystemToken - - The System token to visit - A user defined class - - - - Visit an NonSystemToken - - The System token to visit - A user defined class - - - - any children of the root, will always be null on first call - - - - - Build a PathReverser at the top level (with no child token) - - - - - Build a PathReverser based on a child token. - - the new child of this token - - - - Reverse a NonSystemToken - - the non system token to reverse - the reversed NonSystemToken - - - - Reverse a SystemToken - - the SystemToken to reverse - the reversed SystemToken - - - - Build the next level PathReverser - - the next level token - the next levels child token - the path token from the next level. - - - - Equality comparer for . - - - - - Determines whether the two paths are equivalent. - - The first path to compare. - The second path to compare. - Whether the two paths are equivalent. - - - - Returns a hash code for the given path. - - The path to hash. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Converts the token to a string that is sufficiently unique to be hashed or compared. - - The path token to convert to a string. - A string representing the path. - - - - Visitor interface for walking the Syntactic Tree. - - - - - Visit an SystemToken - - The System token to visit - - - - Visit an NonSystemToken - - The System token to visit - - - - Class that knows how to bind ParameterQueryTokens. - - - - - Binds a parameter token. - - The parameter token to bind. - The state of metadata binding. - The bound query node. - - - - Class that knows how to bind an end path token, which could be several things. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - The function call binder to use to bind this end path to a function if necessary. - - - - - Constructs a EndPathBinder object using the given function to bind parent token. - - Method to bind the EndPathToken's parent, if there is one. - - - - This method generates a for properties of open type - - EndPathToken to bind into an open property node. - Parent node of this open property - Will return a when open types are supported - - - - Generates a bound query node representing an given an already semantically bound parent node. - - The semantically bound source node of this end path token - The that will be bound to this node. Must not be primitive collection - QueryNode bound to this property. - - - - Constructs parent node from binding state - - Current binding state - The parent node. - - - - Binds a an end path token into a PropertyAccessToken, OpenPropertyToken, or FunctionCallToken. - - The property access token to bind. - State of the binding algorithm. - A Query node representing this endpath token, bound to metadata. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Provides values to describe the kind of thing targetted by a - client request. - - - - Nothing specific is being requested. - - - A top-level directory of service capabilities. - - - Entity Resource is requested - it can be a collection or a single value. - - - A single complex value is requested (eg: an Address). - - - A single value is requested (eg: a Picture property). - - - A single value is requested (eg: the raw stream of a Picture). - - - System metadata. - - - A data-service-defined operation that doesn't return anything. - - - The request is a batch request. - - - An open property is requested. - - - An open property value is requested. - - - A stream property value is requested. - - - A single collection of primitive or complex values is requested. - - - - Semantic parser for the path of the request URI. - - - - - regex pattern to match a contentID - - - - - The queue of segments remaining to be parsed. Should be populated and cleared out on each pass through the main path parsing loop. - - - - - The collection of segments that have been parsed so far. - - - - - The parser's current configuration. - - - - - Indicates that the next segment encountered must refer to something in 'metadata-space' and cannot be a key expression. - - - - - Initializes a new instance of . - - The parser's current configuration. - - - - Extracts the segment identifier and, if there are parenthesis in the segment, the expression in the parenthesis. - Will throw if identifier is not found or if the parenthesis expression is malformed. - - Internal only so it can be called from tests. Should not be used outside . - The segment text. - The identifier that was found. - The query portion that was found. Will be null after the call if no query portion was present. - - - Creates an array for the given . - Segments to process. - Segment information describing the given . - - - - Tries to find a single matching function import for the given identifier, parametes, and binding type. - - The identifier from the URI. - The parenthesis expression contianing parameters, if any. - The current binding type or null if there isn't one. - The configuration of the parser. - The parsed parameters from the parenthesis expression. - The single matching function import if one could be determined. - Whether or not a matching function import could be found. - - - Determines a matching target kind from the specified type. - ResourceType of element to get kind for. - An appropriate for the specified . - - - - Checks for single result, otherwise throws. - - indicates whether the current result is single result or not. - current segment identifier. - - - - Tries to get the next segment's text to parse. - - The segment text to parse. - Whether there was a next segment. - - - - Tries to get the next segment's text to parse. Should not be called except by the other overload which does not have the extra parameter. - - Whether the previous segment was an escape marker. - The segment text to parse. - Whether there was a next segment. - - - - Tries to handle the given text as a key if the URL conventions support it and it was not preceeded by an escape segment. - - The text which might be a key. - Whether or not the text was handled as a key. - - - - Throws if the given segment must be a leaf, as a later segment is being created. - - The previous segment which may need to be a leaf. - - - - Try to handle the segment as $count. - - The segment text to handle. - Whether the segment was $count. - - - - Tries to handle the segment as $links. If it is $links, then the rest of the path will be parsed/validated in this call. - - The text of the segment. - Whether the text was $links. - - - - Tries to bind a key from the parenthetical section of a segment. - - The section of the segment inside parentheses, or null if there was none. - - - - Try to handle the segment as $value. - - The segment text. - Whether the segment was $value. - - - - Creates a new segment for an open property. - - previous segment info. - name of the segment. - whether this segment has a query portion or not. - - - - Creates a named stream segment - - previous segment info. - stream property to create the segment for. - - - Creates the first for a request. - The text of the segment. - - - - Tries to parse the segment as a service operation - - The identifier for the segment. - The query portion - Whether or not the identifier referred to a service operation. - - - - Tries to parse a segment as a function or action. - - The previous segment before the operation to be invoked. - The name of the segment - The query portion - Whether or not the identifier referred to an action. - - - - Creates the next segment. - - The text for the next segment. - - - - Tries to bind the identifier as a property. - - The identifier to bind. - The property, if one was found. - Whether a property matching the identifier was found. - - - - Tries to create a type name segment if the given identifier refers to a known type. - - previous segment info. - The current raw segment identifier being interpreted. - Parenthesis expression of this segment. - Whether or not a type segment was created for the identifier. - - - - Creates a property segment - - previous segment info. - property to create the segment for. - query portion for this segment, if specified. - - - - Component for handling key expressions in URIs. - - - - Tries to create a key segment for the given filter if it is non empty. - Segment on which to compose. - Parenthesis expression of segment. - The key segment that was created if the key was non-empty. - Whether the key was non-empty. - - - - Tries to handle the current segment as a key property value. - - The segment text. - The previous segment. - The current url convention for the server. - The key segment that was created if the segment could be interpreted as a key. - Whether or not the segment was interpreted as a key. - - - - Determines whether the segment text is a system-reserved identifier like $'count'. - - The segment text. - - true if the segment text is a system-reserved identifier like $'count'; otherwise, false. - - - - - Parses the key properties based on the segment's target type, then creates a new segment for the key. - - The segment to apply the key to. - The key to apply. - The newly created key segment. - - - - Builds segments from tokens within $select. - - - - - Build a segment from a token. - - the token to bind - The model. - the entity type of the current scope based on type segments. - The segment created from the token. - - - - Build a wildcard selection item - - the token to bind to a wildcard - the model to search for this wildcard - the new wildcard selection item, if we found one - true if we successfully bound to a wildcard, false otherwise - - - - Tries to bind a given token as an Operation. - - Token to bind. - The model. - the current entity type to use as the binding type when looking for operations. - Bound segment if the token was bound to an operation successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Tries to bind a given token as an a declared structural or navigation property. - - Token to bind. - the entity type to search for this property - Bound segment if the token was bound to a declared property successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Build an ISelectExpandTermParser based on settings. - - - - - Build a new ISelectExpandTermParser, either with expand options or without, based on the global settings. - - the select or expand text to parse - pointer to the top level object - A new ISelectExpandTermParser - - - - Build a new ISelectExpandTermParser with default settings - - the clause to parse - A NonOptionSelectExpandTermParser - - - - Polish a combined select expand tree. - - - - - Prune off any unneccessary expands - - the clause to prune - a pruned tree. - - - - Visit a Select property and use it to decorate a SelectExpand Tree - - - - - The model used for binding. - - - - - the maximum recursive depth. - - - - - The expand tree to decorate. - - - - - The entity type for this level of the select - - - - - Build a property visitor to visit the select tree and decorate a SelectExpandClause - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visit a System Token - - the system token to visit - - - - Visit a NonSystemToken - - the non sytem token to visit - - - - process a nonsystemtoken as a path, following any type segments if necessary - - the token to process - - - - The expand tree that we're decorating - - - - - Translate a select tree into the right format to be used with an expand tree. - - - - - Normalize a SelectToken into something that can be used to trim an expand tree. - - The select token to normalize - Normalized SelectToken - - - - Class that represents a selection of all properties and functions on an entity. - - - - - Class that specifies what properties and functions have been specified to be selected for a given entity at the current level of the expand tree. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing an alias to another url in a batch. - - - - - The of the resource that this placeholder represents. - - - - - The entity set from the alias. - - - - - The contentId that this alias referrs to. - - - - - Build a BatchReferenceSegment - - The contentId of this segment is referring to - The of the resource that this placeholder represents. - The resulting entity set - Throws if the input edmType of contentID is null. - Throws if the contentID is not in the right format. - - - - Translate this into something else. - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of the interface. - - An implementation of the Handler interface. - Throws if the input Handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of the resource that this placeholder represents. - - - - - Gets the resulting entity set for this batch reference segment. - - - - - Gets the contentId this alias is referrring to - - - - - A segment representing $batch - - - - - Gets the singleton instance of the batch segment. - - - - - Build a segment to represent $batch. - - - - - Translate a into something else using an implementation of . - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of . - - An implementation of the Handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - The other segment to check. - True if the other segment is equivalent to this one. - Throws if the input other is null - - - - Gets the of this , which is always null. - - - - - Class to represent the selection of all the actions and functions in a specified container. - - - - - An item that has been selected by the query at the current level of the tree. - - - - - The whose actions and functions should be selected. - - - - - Creates an instance of this class with the specified . - - The whose actions and functions should be selected. - Throws if the input container is null. - - - - Gets the whose actions and functions should be selected. - - - - - A segment representing $count in a path - - - - - Return the singleton instance of Count - - - - - Build a segment representing $count - - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - throws if the input other is null. - - - - Gets the of this , which is always Edm.Int32. - - - - - Class that knows how to resolve an IEdmExpression to find its associated EntitySet. - This functionality is needed to determine what a EntitySets a FunctionImport applies to. - - - - - Resolves an IEdmExpression to an IEdmEntitySet. - - Expression to resolve. - The resolved EntitySet. - - - - A segment representing an EntitySet in a path. - - - - - The entity set represented by this segment. - - - - - Type of the entities in the set represented by this segment. - - - - - Build a segment representing an entity set - - The entity set represented by this segment. - Throws if the input entitySet is null. - - - - Translate an into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle an using the an instance of the . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the entity set represented by this segment. - - - - - Gets the of this . - This will always be an for the that this set contains. - - - - - This represents one level of expansion for a particular expansion tree. - - - - - The Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - The entity set for this expansion level. - - - - - The filter expand option for this expandItem. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The orderby expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - the top expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The skip option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The inlinecount option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The select that applies to this level, and any sub expand levels below this one. - - - - - Create an Expand item using a nav prop, its entity set and a SelectExpandClause - - the path to the navigation property for this expand item, including any type segments - the entity set for this ExpandItem - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Create an expand item, using a navigationProperty, its entity set, and any expand options. - - the path to the navigation property for this expand item, including any type segments - the entity set for this expand level. - A filter clause for this expand (can be null) - An Orderby clause for this expand (can be null) - A top clause for this expand (can be null) - A skip clause for this expand (can be null) - An Inlinecount clause for this expand (can be null) - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Gets the Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - Gets the EntitySet for this level. - - - - - The select and expand clause for this expanded navigation. - - - - - The filter clause for this expand item - - - - - Gets the orderby clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the top clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the skip clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the inlinecount clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - A list of all expanded items at the next level down. - - - - - The list of all expanded items at the next level down. - - - - - Constructor - - The list of all expanded items at the next level down. - - - - The list of all expanded items at the next level down. - - - - - A segment representing a key lookup in a path. - - - - - The set of key property names and the values to be used in searching for the given item. - - - - - The type of the item this key returns. - - - - - The entity set that this key is used to search. - - - - - Construct a Segment that represents a key lookup. - - The set of key property names and the values to be used in searching for the given item. - The type of the item this key returns. - The entity set that this key is used to search. - Throws if the input entity set is not related to the input type. - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the set of key property names and the values to be used in searching for the given item. - - - - - Gets the type of the item this key returns - - - - - Gets the entity set that this key is used to search. - - - - - A segment representing $metadata in a path. - - - - - Gets the singleton instance of MetadataSegment - - - - - Build a segment to represent $metadata - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this , which is always null. - - - - - Class that represents a selecting none of the properties or functions at this level, but there are still relevant expansions in this subtree. - - - - - Get the singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing a navigation property - - - - - The navigation property this segment represents. - - - - - Build a segment representing a navigation property. - - The navigation property this segment represents. - The set of the entities targetted by this navigation property. This can be null. - Throws if the input navigationProperty is null. - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Checks if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property represented by this NavigationPropertySegment. - - - - - Gets the set of the entities targetted by this Navigation Property. - This can be null. - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of , , - , , or . - - - - - Create an ODataSelectPath - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Create an ODataPath object based on a single segment - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Ensure that the segments given to us are valid select segments. - - Throws if the list of segments doesn't match the requirements for a path in $select - - - - A segment representing and open property - - - - - The name of this open property. - - - - - Build a segment to represent an open property. - - The name of this open property - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the name of this open property. - - - - - Gets the of this , which is always null. - The type of open properties is unknown at this time. - - - - - Represents a named parameter value for invoking an operation in an OData path. - - - - - Initializes a new instance of . - - The name of the parameter. Cannot be null or empty. - The value of the parameter. - - - - The name of the parameter. - - - - - The parameter value. - - - - - Class to represent the selection of a specific path. - - - - - The selected path. - - - - - Constructs a to indicate that a specific path is selected. - - The selected path. - Throws if the input selectedPath is null. - - - - Gets the selected path. - - - - - Class that represents a partial subset of items on a given type that have been selected at this level of the select expand tree. - - - - - The subset of items that has been selected at this level. - - - - - Creates a with the specified set of . - - The list of items on the that has been selected. - - - - The subset of items that has been selected at this level. - - - - - A segment representing a structural property - - - - - The structural property referred to by this segment - - - - - Build a segment based on a structural property - - The structural property that this segment represents. - Throws if the input property is null. - - - - Translate a using an instance of />. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the structural property that this segment represents. - - - - - Gets the of this . - - - - - Class representing the combined semantic meaning of any select or expand clauses in the uri. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - - Internal flag indicating that this clause was built using the legacy Selection and Expansion classes. In this case, we must - call ComputeFinalSelectedItems() before handing out the object publically. - - - - - The object that describes what properties and functions should be selected from the associated at this level. - - - - - The selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Constructs a from the given parameters. - - The selected properties and operations. This list should include any expanded navigation properties. - Flag indicating if all items have been selected at this level. - - - - Constructs a from the given parameters. - - The object that describes what properties and functions should be selected from the associated . - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - Add a selection item to the current selection. - - the new selection item to add - - - - Switch to an AllSelection at this level and recursively at all levels below this one. - This is non-reversable because once everything is selected, selecting a specific property or other item is redundant. - - - - - Initializes the selection for this clause as ExpansionsOnly if it is not already partial. - - - - - Computes the list of SelectItems that will be publically availible to consumers. - - - - - Gets the selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Gets the object that describes what properties and functions should be selected from the associated . - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Node representing a type segment that casts an entity collection node. - - - - - The entity collection node that we're casting. - - - - - The target type that we're casting our entity collection node to. - - - - - the type of the collection returned by this function - - - - - The EntitySet that our collection comes from. - - - - - Create a CollectionCastNode with the given source node and the given target type. - - Parent that is being cast. - Type to cast to. - Throws if the input source or entityType are null. - - - - Accept a that walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the entity collection node that we're casting. - - - - - Gets the type that we're casting all items in this collection to. - - - - - The type of the collection represented by this node. - - - - - Gets the entity type that we're casting all items in this collection to. - - - - - Gets the EntitySet that our collection comes from. - - - - - Gets the kind of this node. - - - - - Query node representing a collection navigation property. - - - - - The navigation property of the single entity this node represents. - - - - - The resouce type of a single entity item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - The parent node. - - - - - The EntitySet from which the collection of entities comes from. - - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The parent of this collection navigation node. - The collection node. - Throws if the input source or navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The source entity set. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the parent node of this Collection Navigation Node. - - - - - Gets the target multiplicity. - - - - - Gets the Navigation Property that defines this collection Node. - - The navigation property that defines this collection node. - - - - Gets a reference to the resource type a single entity in the collection. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity from the collection. - - - - - Gets the entity set containing this collection. - - - - - Gets the kind of this node. - - - - - The result of parsing a $filter query option. - - - - - The filter expression - this should evaluate to a single boolean value. - - - - - The parameter for the expression which represents a single value from the collection. - - - - - Creates a . - - The filter expression - this should evaluate to a single boolean value. Cannot be null. - The parameter for the expression which represents a single value from the collection. Cannot be null. - Throws if the input expression or rangeVariable is null. - - - - Gets the filter expression - this should evaluate to a single boolean value. - - - - - Gets the parameter for the expression which represents a single value from the collection. - - - - - Gets the type of item returned by this clause. - - - - - Represents the result of parsing the $orderby query option. - - - - - The order-by expression. - - - - - The direction to order. - - - - - The rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Creates an . - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - The order-by expression. Cannot be null. - The direction to order. - The rangeVariable for the expression which represents a single value from the collection we iterate over. - Throws if the input expression or rangeVariable is null. - - - - Gets the next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Gets the order-by expression. - - - - - Gets the direction to order. - - - - - Gets the rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - Gets the type of a single item from the collection returned after ordering. - - - - - A RangeVariable inside an any or all expression that doesn't refer to an entity set - - - - - A RangeVariable, which represents an iterator variable either over a collection, either of entities or not. - Exists outside of the main SemanticAST, but hooked in via a RangeVariableReferenceNode (either Non-Entity or Entity). - - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type of entity referenced by this rangeVariable - - - - - Gets the kind of this rangeVariable. - - - - - The name of the associated any/all parameter (null if none) - - - - - The Entity collection that this rangeVariable node iterates over - - - - - The Entity set of the collection this node iterates over. - - - - - The entity type of each item in the collection that this range variable iterates over. - - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity collection that this rangeVariable node iterates over - Throws if the input name or entityType is null. - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity set of the collection this node iterates over. - Throws if the input name or entityType is null. - - - - Gets the name of the associated any/all parameter (null if none) - - - - - Gets the Entity collection that this rangeVariable node iterates over - - - - - Gets the Entity set of the collection this node iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - Node to represent a range variable in an Any or All clause that referrs to an entity. - - - - - Base class for all semantic metadata bound nodes which represent a single composable entity value. - - - - - Base class for all semantic metadata bound nodes which represent a single composable value. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Gets the EntitySet containing this single entity. - - - - - Gets the type of this single entity. - - - - - The name of the associated range variable (null if none) - - - - - The entity type of the associated range variable. - - - - - The range variable that the node represents. - - - - - The entity set containing the collection that this range variable iterates over. - - - - - Creates an . - - The name of the associated range variable (null if none) - The actual range variable on the bind stack that this refers to - Throws if the input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangevariable (null if none) - - - - - Gets the entity type of the associated range variable. - - - - - Gets the entity type of the associated range variable. - - - - - Gets a reference to the range variable that this node represents. - - - - - Gets the entity set containing the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - A rangeVariable from an Any or All that doesn't refer to an entity set - - - - - The name of the associated rangeVariable - - - - - The collection that this rangeVariable node iterates over, can be null in the case of - single value nodes. - - - - - The type of the value the range variable represents - - - - - Creates a . - - The name of the associated range variable. - The type of the value the range variable represents. - The collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - Throws if the input name is null. - Throws if the input type reference is an entity type. - - - - Gets the name of the associated rangevariable. - - - - - Gets the type of the value the range variable represents. - - - - - Gets the collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - - - - - Gets the kind of this range variable. - - - - - A node that represents a rangeVariable that iterates over a non entity collection. - - - - - The name of the associated rangeVariable - - - - - The type item referred to by this rangeVariable. - - - - - Reference to a rangeVariable on the binding stack. - - - - - Creates a . - - The name of the associated rangeVariable - Reference to a rangeVariable on the binding stack. - Throws if input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type item referred to by this rangeVariable. - - - - - Gets the reference to a rangeVariable on the binding stack. - - - - - Gets the kind of this node. - - - - - Enumeration of the different kinds of RangeVariables. - - - - - A range variable that referrs to entity types. - - - - - A range variable that referrs to non-entity types. - - - - - A segment representing a call to an action, function, or service operation. - - - - - Sentinel type marking that we could not determine the return type for this segment. - - - - - The list of possible FunctionImport overloads for this segment. - - - - - the list of parameters to this operation. - - - - - The containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - The type of item returned by the operation(s), if known. - - - - - Build a segment representing a call to an operation - action, function, or service operation. - - A single function import that this segment will represent. - The containing the entities that this function returns. - Throws if the input operation is null. - - - - Build a segment representing a call to an operation - action, function, or service operation. - - The list of possible FunctionImport overloads for this segment. - The containing the entities that this function returns. - Throws if the input operations is null. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - The list of possible FunctionImport overloads for this segment. - The list of parameters supplied to this segment. - The containing the entities that this function returns. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handle interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Ensures that the entity set and computed return type make sense. - - Throws if the return type computed from the function call is null, or if the return type is not in the same hierarchy as the entity set provided. - - - - Gets the list of possible FunctionImport overloads for this segment. - - - - - Gets the list of parameters for this segment. - - - - - Gets the of this . - - - This value will be null for void service operations. - If there are multiple candidate operations with varying return types, then this property will throw. - - Throws if the type is unknown. - - - - Gets the containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - Node representing a function call which returns a single entity. - - - - - the name of this function - - - - - the list of funcitonImports represented by this node. - - - - - List of arguments provided to the function. - - - - - The return type of this function. - - - - - The EntitySet containing the single entity that this function returns. - - - - - The semantically bound parent of this function. - - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - the list of function imports this node represents. - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - The semantically bound parent of this function. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call - - - - - Gets the list of function imports that this node represents - - - - - Gets the list of arguments provided to the function. - - - - - Gets the return type of this function. - - - - - Gets the EntitySet containing the single entity that this function returns. - - - - - Gets the return type of this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Node representing an access to a collection property value. - - - - - The value containing the property. - - - - - The EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Constructs a new . - - The value containing the property. - The EDM property which is to be accessed. - Throws if the input source or property is null. - Throws if the input property is not a collection of structural properties - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing the property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - Gets the resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of the items in the read-only enumerable. - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Returns the (non-generic) enumerator to iterate through the items. - - The enumerator object to use. - - - - A segment representing a cast on the previous segment to another type. - - - - - The target type of this type segment. - - - - - The set containing the entities that we are casting. - - - - - Build a type segment using the given . - - The target type of this segment, which may be collection type. - The set containing the entities that we are casting. This can be null. - Throws if the input edmType is null. - Throws if the input edmType is not relaed to the type of elements in the input entitySet. - - - - Translate a into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this . - - - - - Gets the set containing the entities that we are casting. - - - - - Singleton sentinal instance of that indicates that $select has not been processed yet. Should never be exposed to the user. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - Represents an aliased parameter in a function call that has not yet been resolved to a specific value. - - - - - Represents the value of a property. - - - - - Indicates whether the given value is a null value. - - true if the value is an ODataNullValue, false otherwise. - - - - Initializes a new instance of . - - The alias provided as the parameter value. - The EDM type of the parameter represented by this alias. - - - - The EDM type of the parameter represented by this alias. - - - - - The alias provided as the parameter value. - - - - - Helper methods for the URI Parser. - - - - - Throws if the type is not related to the type of the given set. - - Type to check. - Second type, which should be related to the first type. - The segment that is checking this. - - - - A segment representing $value - - - - - The of this . - - - - - Build a segment to represnt $value. - - The type of the segment before $value. This may be null, for cases such as open properties. - Throws if the input previousType is a colleciton type. - - - - Translate a into another object using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of this . - - - - - Class to represent a '*' selection item, indicating that all structural properties should be selected. - - - - - Use a Select syntactic tree to populate the correct values for Selection in an already parsed - Expand Semantic Tree. - - - - - Visitor object to walk the select tree - - - - - Constructs a new SelectBinder. - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visits the top level select token - - the select token to visit - A new SelectExpandClause decorated with the information from the selectToken - - - - Visitor interface for walking the Semantic Tree. - - Generic type produced by the visitor. - - - - Visit an AllNode - - the node to visit - Defined by the implementer - - - - Visit an AnyNode - - the node to visit - Defined by the implementer - - - - Visit a BinaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a ConstantNode - - the node to visit - Defined by the implementer - - - - Visit a ConvertNode - - the node to visit - Defined by the implementer - - - - Visit an EntityCollectionCastNode - - the node to visit - Defined by the implementer - - - - Visit an EntityRangeVariableReferenceNode - - the node to visit - Defined by the implementer - - - - Visit a NonEntityRangeVariableNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityCastNode - - the node to visit - Defined by the implementer - - - - Visit a SingleNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a EntityCollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueOpenPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValuePropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a UnaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a NamedFunctionParameterNode. - - The node to visit. - Defined by the implementer - - - - Lexical token representing an expand operation. - - - - - The nav prop path for this ExpandTerm - - - - - the filter option for this expand term - - - - - the order by option for this expand term - - - - - the top option for this expand term - - - - - the skip option for this expand term. - - - - - the inlineCount option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - Create an expand term token using only a property - - the path to the navigation property - - - - Create an expand term using only the property and its subexpand/select - - the path to the navigation property for this expand term - the sub select for this token - the sub expand for this token - - - - Create an expand term token - - the nav prop for this expand term - the filter option for this expand term - the orderby option for this expand term - the top option for this expand term - the skip option for this expand term - the inlineCountOption for this expand term - the select option for this expand term - the expand option for this expand term - - - - Implement the visitor for this Token - - The type to return - A tree visitor that will visit this node. - Determined by the return type of the visitor. - - - - the nav property for this expand term - - - - - The filter option for this expand term. - - - - - the orderby option for this expand term. - - - - - the top option for this expand term. - - - - - the skip option for this expand term. - - - - - the inline count option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - the kind of this expand term. - - - - - Lexical token representing an expand operation. - - - - - The properties according to which to expand in the results. - - - - - Create a ExpandToken given the property-accesses of the expand query. - - The properties according to which to expand the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to expand in the results. - - - - - Lexical token representing a segment in a path. - - - - - - Lexical token representing a segment in a path. - - - - - - the next token in the path - - - - - build this segment token using the next token - - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - internal setter for the next token. - - the next token to set. - - - - Get the NextToken in the path - - - - - The name of the property to access. - - - - - Any named values for this NonSystemToken - - - - - The identifier for this token. - - - - - Build a NonSystemToken - - the identifier of this token - a list of named values for this token - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the list of named values for this token. - - - - - Get the identifier for this token. - - - - - Lexical token representing a segment in a path. - - - - - - The NextToken in the path(can either be the parent or the child depending on whether the tree has - been normalized for expand or not. - TODO: need to revisit this and the rest of the syntactic parser to make it ready for public consumption. - - - - - The name of the property to access. - - - - - Lexical token representing a System token such as $count - - - - - - The identifier for this SystemToken - - - - - Build a new System Token - - the identifier for this token. - the next token in the path - - - - Is this token namespace or container qualified. - - always false, since this is a system token. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the identifier for this token - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LiteralToken - - The LiteralToken to visit - A ConstantNode bound to this LambdaToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits an EndPathToken - - The EndPathToken to bind - A PropertyAccessClause bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FuntionParameterToken - - The FunctionParameterToken to bind - A user defined value - - - - Walk down a chain of type segments, checking that we find the correct type at each level. - - - - - Follow any type segments on the path, stopping at the first segment that isn't a type token. - - the first type segment - the model these types are contained in. - the maximum recursive depth - the top level entity type, will be overwritten with the last entity type in the chain - the first non type token in the path - A path with type segments added to it. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(BinaryOperatorKind), unrecognized kind of binary operator. - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(UnaryOperatorKind), unrecognized kind of unary operator. - - - Unreachable codepath in MetadataBinder.BindServiceOperation, unrecognized kind of service opertion. - - - Unreachable codepath in QueryExpressionTranslator.TranslateBinaryOperator, unrecognized kind of binary operator. - - - Unreachable codepath in UriPrimitiveTypeParser.HexCharToNibble - - - Unreachable codepath in UriQueryExpressionParser.ParseComparison - Was a new binary operator keyword without adding it to the switch in the ParseComparison? - - - Unreachable codepath in UriPrimitiveTypeParser.TryUriStringToPrimitive - Unsupported type was asked to be parsed. - - - Unreachable codepath in QueryNodeUtils.BinaryOperatorResultType, unrecognized kind of binary operator. - - - Unreachable codepath in QueryExpressionTranslator.TranslateUnaryOperator, unrecognized kind of unary operator. - - - Unreachable codepath in BinaryOperator.GetOperator, unrecognized kind of binary operator. - - - Unreachable codepath in ODataUriBuilder.WriteUnary, unrecognized kind of unary operator. - - - Unreachable codepath in ODataUriBuilderUtils.ToText(InlineCountKind), unrecognized kind of inline count. - - - - Query node representing an All query. - - - - - Node representing an Any/All query. - - - - - The collection of rangeVariables in scope for this Any or All. - - - - - The newest range variable added for by this Any or All. - - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - The newest range variable added for by this Any or All. - - - - Gets the collection of rangeVariables in scope for this Any or All. - - - - - Gets the newest range variable added for by this Any or All. - - - - - Gets or Sets the associated boolean expression - - - - - Gets or Sets the parent entity set or navigation property - - - - - Create an AllNode - - The name of the rangeVariables list. - - - - Create an AllNode - - The name of the rangeVariables list. - The new range variable being added by this all node - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the All Query - - - - - Lexical token representing the Any/All Query - - - - - The parent token. - - - - - The parameter which denotes source type. - - - - - The expression component of Any. - - - - - Create a AnyAllQueryToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The parent token. - - - - - The expression. - - - - - The parameter. - - - - - Create a AllToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Query node representing an Any query. - - - - - Create a AnyNode - - The name of the parameter list. - - - - Create a AnyNode - - The name of the parameter list. - The name of the new range variable being added by this AnyNode - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the Any Query - - - - - Create a AnyToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - In-memory annotation class to associate CLR instance types with - (non-primitive) EDM types. - - - - - true if reflection over the instance type is supported; otherwise false. - - - - - The instance type represented by this annotation. - - - - - In-memory annotation class to associate a result kind with a service operation. - - - - - The result kind of the service operation. - - - - - Annotation to hold information for a particular property. - - - - - true if reflection over the property is allowed; otherwise false. - - - - - Use this type to describe the kind of results returned by a service - operation. - - - - - A single direct value which cannot be further composed. - - - - - An enumeration of values which cannot be further composed. - - - - - A queryable object which returns multiple elements. - - - - - A queryable object which returns a single element. - - - - - No result return. - - - - - Lexical token representing a single nonroot segment in the query path. - - - - - The Identifier of the segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - The NextToken segment. - - - - - Create a new StartPathToken given the Identifier and NextToken and namedValues if any - - The Identifier of the segment, the identifier. - The NextToken segment, or null if this is the root segment. - The named values in the key lookup for this segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The Identifier of the segment, the identifier. - - - - - The NextToken segment, or null if this is the root segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - Utility methods used with the OData Query library. - - - - - Checks whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Sets whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Gets the result kind of the . - - The to check. - The containing the annotation. - The result kind of the or null if no result kind annotation exists. - - - - Sets the result kind of the . - - The to check. - The containing the annotation. - The result kind to set. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified ; if no such service operation exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified or null if no such service operation exists. - - - - Returns the instance type for the specified or null if none exists. - - The type reference to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - All primitive type references are guaranteed to have an instance type. - - - - Returns the instance type for the specified or null if none exists. - - The type to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - - - - Sets the instance type for the specified ; if null is specified an existing instance type will be removed. - - The type to get the instance type for. - Model containing annotations. - The instance type for the or null to remove an existing instance type. - - - - Checks whether reflection over the instance type is allowed or not. - - The type reference to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type reference to check. - The model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified ; if no such entity set exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified or null if no such entity set exists. - - - - Method that checks whether a function import is a service operation. - - The containing annotations. - The to check. - true if the represents a service operation; otherwise false. - - A is considered a service operation if it is annotated with an m:HttpMethod attribute. - - - - - Method that checks whether a function import is an action. - - The containing annotations. - The to check. - true if the represents an action; otherwise false. - - A is considered an action if it is side-effecting but not annotated with an m:HttpMethod attribute. - - - - - Class to wrap around BinaryOperatorKind that gives precedent meaning to it. - - - - Wrapper for Add operator kind. - - - Wrapper for And operator kind. - - - Wrapper for Divide operator kind. - - - Wrapper for Equal operator kind. - - - Wrapper for GreaterThanOrEqual operator kind. - - - Wrapper for GreaterThan operator kind. - - - Wrapper for LessThanOrEqual operator kind. - - - Wrapper for LessThan operator kind. - - - Wrapper for Modulo operator kind. - - - Wrapper for Multiply operator kind. - - - Wrapper for NotEqual operator kind. - - - Wrapper for Or operator kind. - - - Wrapper for Subtract operator kind. - - - - The text for this operator. - - - - - The precedence for this operator. - - - - - Whether it needs parentheses against other same operator. - - - - - Create a new BinaryOperator given its text, precedence, - and whether it needs parentheses against other same operator. - - The text for this operator. - The precedence for this operator in relative to other operators. - - Whether it needs parentheses - when nesting with other operators of same precedence. - - - - - Get the BinaryOperator wrapper for the given operatorKind. - - The kind to get wrapper for. - The binary operator for the specified . - - - - Whether it needs parentheses against other same operator. - - - - - The precedence for this operator. - - - - - The text for this operator. - - - - - Lexical token representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Create a new BinaryOperatorToken given the operator, left and right query. - - The operator represented by this node. - The left operand. - The right operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Enumeration of binary operators. - - - - - The logical or operator. - - - - - The logical and operator. - - - - - The eq operator. - - - - - The ne operator. - - - - - The gt operator. - - - - - The ge operator. - - - - - The lt operator. - - - - - The le operator. - - - - - The add operator. - - - - - The sub operator. - - - - - The mul operator. - - - - - The div operator. - - - - - The mod operator. - - - - - Class to handle writing an BinaryOperatorToken. - This class optimizes on reducing parentheses as base on operator precedence. - - - - - The parent ODataUriBuilder that invokes this binary operator builder. - - - - - Create a new BinaryOperatorToken for the given Uri builder to write BinaryOperatorToken. - - The parent builder of this builder. - - - - Write the given binary token as Uri part. - - To write as Uri part. - - - - Determine whether parentheses are needed around the left subtree base on the current operator. - - The current binary node's operator. - The left binary subtree. - True if need parenthese, false if not. - - - - Determine whether parentheses are needed around the right subtree base on the current operator. - - The current binary node's operator. - The right binary subtree. - True if need parentheses, false if not. - - - - Write the given binary token as Uri part. - - Whether parentheses are needed around the written expression. - To write as Uri part. - - - - Class containing definitions of all the built-in functions. - - - - - Dictionary of the name of the built-in function and all the signatures. - - - - - Returns a list of signatures for a function name. - - The name of the function to look for. - The list of signatures available for the function name. - true if the function was found, or false otherwise. - - - Builds a description of a list of function signatures. - Function name. - Function signatures. - A string with ';'-separated list of function signatures. - - - - Creates all of the spatial functions - - Dictionary of functions to add to. - - - - Builds the list of all built-in functions. - - Returns a dictionary of built in functions. - - - - Creates all string functions. - - Dictionary of functions to add to. - - - - Creates all date and time functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for date time functions. - - The array of signatures for a date time functions. - - - - Builds the set of signatures for timespan functions. - - The set of signatures for timespan functions. - - - - Creates all math functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for math functions. - - The array of signatures for math functions. - - - - Node representing a primitive constant value. - - - - - The primitive constant value. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - - - - - Create a ConstantNode - - This node's primitive value. - The literal text for this node's value, formatted according to the OData URI literal formatting rules. - Throws if the input literalText is null. - - - - Create a ConstantNode - - This node's primitive value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the primitive constant value. - - - - - Get or Set the literal text for this node's value, formatted according to the OData URI literal formatting rules. May be null if the text was not provided at construction time. - - - - - Gets the resouce type of the single value this node represents. - - - - - Gets the kind of the query node. - - - - - Node representing a conversion of primitive type to another type. - - - - - The source value to convert. - - - - - The target type that the source will be converted to. - - - - - Constructs a ConvertNode. - - The node to convert. - The type to convert the node to - Throws if the input source or typeReference is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Get the source value to convert. - - - - - Get the type we're converting to. - - - - - Get the kind of this node. - - - - - Query node representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Create a BinaryOperatorNode - - The binary operator type. - The left operand. - The right operand. - Throws if the left or right inputs are null. - Throws if the two operands don't have the same type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the left operand. - - - - - Gets the right operand. - - - - - Gets the resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Possible values of $inlinecount. - - - - - Do not include count in response. - - - - - Include the count of all entries in response. - - - - - Keyword enum values related to the URI query syntax - such as $metadata, $count, $value, etc. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - - Helper methods for with literals. - - - - - Parse the given text as a Geography literal. - - The text to parse. - The Geography object if succeeded, else a ParseErrorException is thrown. - - - - Parse the given text as a Geometry literal. - - The text to parse. - The Geometry object if succeeded, else a ParseErrorException is thrown. - - - - Convert to string the given Geography instance. - - Instance to convert. - Well-known text representation. - - - - Convert to string the given Geometry instance. - - Instance to convert. - Well-known text representation. - - - - The formatter to create/format text to and from spatial. - - - - - URI builder that constructes a from the parsed query tokens. - - - - - The query token to write to Uri. - - - - - The string builder to write the query token to. - - - - - Create a new Uri builder for the given token. - - The token to write out as Uri. - - - - Create a URI for the given queryDescriptor given the base service URI. - - The base service URI. - The query descriptor to create the result URI from. - An absolute URI that base on the baseUri and represent the queryDescriptor. - - - - Get the Uri string representation of the given CLR object literal. - - The object to return as literal. - Uri string represent if is a CLR literal. Throw exception if not. - - - - Write the descriptor token as URI part to this builder. - - To write as URI part. - - - - Append the given text to this builder. - - The text to append. - - - - Write the query token as URI part to this builder. - - To write as URI part. - - - - Write the Uri string representation of the given CLR object literal to the given builder. - - The to write the to. - The object to write as literal. - - - - Build the queryToken as Uri string part. - - The Uri part representing the queryToken. - - - - Write the binary token as URI part to this builder. - - To write as URI part. - - - - Write the function call token as URI part to this builder. - - To write as URI part. - - - - Writes a path to this builder. - - Array of segments. - - - - Write the literal token as URI part to this builder. - - To write as URI part. - - - - Write the orderby tokens as URI part to this builder. - - To write as URI part. - - - - Write the orderby token as URI part to this builder. - - To write as URI part. - - - - Write out a PathSegmentToken - - the pathSegmentToken to write. - - - - Write the property access token as URI part to this builder. - - To write as URI part. - - - - Write the navigation property token as URI part to this builder. - - To write as URI part. - - - - Write the given queryOption as Uri part. - - To write as URI part. - - - - Write ? or & depending on whether it is the start of the whole query or query part. - - True if start of whole query, false if not. - This is set to false after this method is called. - - - - Write the select token as URI part to this builder. - - To write as URI part. - - - - Write the expand token as URI part to this builder. - - To write as URI part. - - - - Write the star token as URI part to this builder. - - To write as URI part. - - - - Write the unary token as URI part to this builder. - - To write as URI part. - - - - Constants and utility methods for the OData URI builder. - - - - - The format for integer ToString output. - - - - - The format for float ToString output. - - - - - The format for byte ToString output. - - - - - The format for double ToString output. - - - - - The format for DateTime ToString output. - - - - - The format for DateTimeOffset ToString output. - - - - - The format for Decimal ToString output. - - - - - The format for Double ToString output. - - - - - Escape a string literal by replacing single ' with ''. - - Text to escape. - A string where all ' is replaced by ''. - - - - Returns the string representation of the inline count kind. - - The inline count kind to convert to string. - The string representation of the . - - - - Throw ODataException on the given QueryTokenKind as not supported for writing to Uri. - - QueryTokenKind that is not supported. - - - - Throw ODataException on the given CLR type as not supported for writing to Uri. - - CLR type that is not supported. - - - Use this class to perform late-bound operations on open properties. - This class was copied from the product. - - - MethodInfo for Add. - - - MethodInfo for AndAlso. - - - MethodInfo for Convert. - - - MethodInfo for Divide. - - - MethodInfo for Equal. - - - MethodInfo for GreaterThan. - - - MethodInfo for GreaterThanOrEqual. - - - MethodInfo for LessThan. - - - MethodInfo for LessThanOrEqual. - - - MethodInfo for Modulo. - - - MethodInfo for Multiply. - - - MethodInfo for Negate. - - - MethodInfo for Not. - - - MethodInfo for NotEqual. - - - MethodInfo for OrElse. - - - MethodInfo for Subtract. - - - MethodInfo for TypeIs. - - - MethodInfo for object OpenTypeMethods.GetValue(this object value, string propertyName). - - - Gets a named value from the specified object. - Object to get value from. - Name of property to get. - The requested value; null if not found. - - - Adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Performs logical and of two expressions. - Left value.Right value. - The result of logical and. - - - Divides two values. - Left value.Right value. - The divided value. - - - Checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Performs logical or of two expressions. - Left value.Right value. - The result of logical or. - - - Subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Negates (arithmetically) the specified value. - Value. - The negated value. - - - Negates (logically) the specified value. - Value. - The negated value. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference to check for. - True if value is-a type; false otherwise. - - - - Concats the given 2 string. - - first string. - second string. - returns a new instance of the concatenated string. - - - - Checks with the parameters are of string type, if no, then they throw. - Otherwise returns true if the target string ends with the given sub string - - target string - sub string - Returns true if the target string ends with the given sub string, otherwise return false. - - - - Returns the index of the given substring in the target string. - - target string - sub string to match - returns the index of the given substring in the target string if present, otherwise returns null. - - - - Returns the length of the given string value. If the value is not of string type, then it throws. - - value whose length needs to be calculated. - length of the string value. - - - - Replaces the given substring with the new string in the target string. - - target string - substring to be replaced. - new string that replaces the sub string. - returns a new string with the substring replaced with new string. - - - - Checks whether the target string starts with the substring. - - target string. - substring - returns true if the target string starts with the given sub string, otherwise returns false. - - - - Returns the substring given the starting index - - target string - starting index for the substring. - the substring given the starting index. - - - - Returns the substring from the target string. - - target string. - starting index for the substring. - length of the substring. - Returns the substring given the starting index and length. - - - - Checks whether the given string is a substring of the target string. - - substring to check for. - target string. - returns true if the target string contains the substring, otherwise returns false. - - - - Returns a copy of the target string converted to lowercase. - - target string - a new string instance with everything in lowercase. - - - - Returns a copy of the target string converted to uppercase. - - target string - a new string instance with everything in uppercase. - - - - Removes all leading and trailing white-space characters from the target string. - - target string. - returns the trimed string. - - - - Returns the year value of the given datetime. - - datetime object. - returns the year value of the given datetime. - - - - Returns the month value of the given datetime. - - datetime object. - returns the month value of the given datetime. - - - - Returns the day value of the given datetime. - - datetime object. - returns the day value of the given datetime. - - - - Returns the hour value of the given datetime. - - datetime object. - returns the hour value of the given datetime. - - - - Returns the minute value of the given datetime. - - datetime object. - returns the minute value of the given datetime. - - - - Returns the second value of the given datetime. - - datetime object. - returns the second value of the given datetime. - - - - Returns the ceiling of the given value - - decimal or double object. - returns the ceiling value for the given double or decimal value. - - - - returns the floor of the given value. - - decimal or double object. - returns the floor value for the given double or decimal value. - - - - Rounds the given value. - - decimal or double object. - returns the round value for the given double or decimal value. - - - Creates an expression that adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Creates a call expression that represents a conditional AND operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that divides two values. - Left value.Right value. - The divided value. - - - Creates an expression that checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Creates an expression that checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Creates an expression that checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Creates an expression that checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Creates an expression that checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Creates an expression that calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Creates an expression that multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Creates a call expression that represents a conditional OR operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Creates an expression that subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Creates an expression that negates (arithmetically) the specified value. - Value expression. - The negated value. - - - Creates an expression that negates (logically) the specified value. - Value expression. - The negated value. - - - - Returns the specified with a - type assignable to System.Object. - - Expression to convert. - - The specified with a type assignable - to System.Object. - - - - - Lexical token representing the parameter for an Any/All query. - - - - - The name of the Any/All parameter. - - - - - Create a new RangeVariableToken - - The name of the visitor for the Any/All query. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the parameter. - - - - - Lexical token representing a query option. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Create a new CustomQueryOptionToken given name and value. - - The name of the query option. - The value of the query option. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Helper methods for working with query tokens. - - - - - Try to parse the given string as a InlineCountKind. - - The string to be parsed. - A InlineCountKind value if successful. Null if not. - - - - Try to parse the given segment name as a KeywordKind. - - The segment name. - A KeywordKind value if successful. Null if not. - - - - Get the Uri name equivalent of the given KeywordKind. - - The KeywordKind to get name for. - A $ keyword that represent the given keyword. - - - - Lexical token representing a select operation. - - - - - The properties according to which to select the results. - - - - - Create a SelectToken given the property-accesses of the select query. - - The properties according to which to select the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to select the results. - - - - - Node representing a function call which returns a single value. - - - - - the name of this function. - - - - - The list of function imports - - - - - List of arguments to this function call. - - - - - The type of value returned by this function. - - - - - The semantically bound parent of this function - - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - List of arguments to this function call. - The type of value returned by this function. - Throws if the input name is null. - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - the list of functions to call - the list of arguments to this function - the type of the value returned by this function. - The semantically bound parent of this function. - Throws if the input functionImports is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call. - - - - - Gets the list of function imports. - - - - - Gets the list of arguments to this function call. - - - - - Gets The type of value returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Class representing a function signature using EDM types. - - - - The argument types for this function signature. - - - - Constructor taking all the argument types. - - The argument types for this function signature. - - - - The argument types for this function signature. - - - - - Class representing a function signature using EDM types. - - - - - The return type of this function signature. - - - - - Constructor taking all the argument types. - - The return type of this function signature. - The argument types for this function signature. - - - - The return type of this function signature. - - - - - Lexical token representing an all-properties access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a new StarToken given the NextToken (if any). - - The NextToken token to access the property on. Pass no if this property has no NextToken. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - the name of this token(inherited from PathToken), which in this case is always "*" - - - - - Helper methods for promoting argument types of operators and function calls. - - - Note that the lists of signatures are for matching primitive types to functions. - Equality (eq and ne) operators are a bit special since they are also defined for - entity and complex types. - - - - Function signatures for logical operators (and, or). - - - Function signatures for the 'not' operator. - - - Function signatures for arithmetic operators (add, sub, mul, div, mod). - - - Function signatures for relational operators (eq, ne, lt, le, gt, ge). - - - Function signatures for the 'negate' operator. - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type reference of left operand. - Type reference of right operand. - True if a valid function signature was found that matches the given types after any necessary promotions are made. - False if there is no binary operators - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type of the operand. - True if the type could be promoted; otherwise false. - - - Finds the best fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The best fitting function; null if none found or ambiguous. - - - Finds the exact fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The exact fitting function; null if no exact match was found. - - - Checks whether the source type is compatible with the target type. - Source type. - Target type. - true if source can be used in place of target; false otherwise. - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - Finds the best methods for the specified arguments given a candidate method enumeration. - The candidate function signatures. - The argument type references to match. - The number of "best match" methods. - - - Checks whether the specified method is applicable given the argument expressions. - The candidate function signature to check. - The argument types to match. - An applicable function signature if all argument types can be promoted; 'null' otherwise. - - - Promotes the specified expression to the given type if necessary. - The actual argument type. - The required type to promote to. - True if the could be promoted; otherwise false. - - - Finds the best applicable methods from the specified array that match the arguments. - The candidate function signatures. - The argument types to match. - Best applicable methods. - - - - Checks whether the type list has better argument matching against the - than the type list. - - Actual arguments types. - First type list to check. - Second type list to check. - - True if has better parameter matching than ; otherwise false. - - - - Checks which conversion is better. - Source type. - First candidate type to convert to. - Second candidate type to convert to. - - Return 1 if s -> t1 is a better conversion than s -> t2 - Return -1 if s -> t2 is a better conversion than s -> t1 - Return 0 if neither conversion is better - - - - - Tries to handle the special eq and ne operators, which have a broader definition than the other binary operators. - We try a few special cases and return true if we used one of them. Otherwise we return false, and - allow the regular function matching code to handle the primitive cases. - - Left type. - Right type. - True if this function was able to handle the promotion of these types, false otherwise. - - - Checks whether the specified type is a signed integral type. - Type reference to check. - true if is a signed integral type; false otherwise. - - - Checks whether the specified type is an unsigned integral type. - Type to check. - true if is an unsigned integral type; false otherwise. - - - Checks if the specified type is a decimal or nullable decimal type. - Type to check. - true if is either decimal or nullable decimal type; false otherwise. - - - Checks if the specified type is either double or single or the nullable variants. - Type to check. - true if is double, single or nullable double or single; false otherwise. - - - Gets a flag for the numeric kind of type. - Type to get numeric kind for. - The of the argument. - - - Numeric type kinds. - - - A type that is not numeric. - - - A type that is a char, single, double or decimal. - - - A type that is a signed integral. - - - A type that is an unsigned integral. - - - - Extension methods to make it easier to work with PropertyInfo objects on a type. - - - - - Gets the property info for the EDM property on the specified type. - - The type to get the property on. - Property instance to get the property info for. - Model containing annotations. - Returns the PropertyInfo object for the specified property. - The method searches this type as well as all its base types for the property. - - - - Annotation stored on a type to hold PropertyInfo objects for its properties. - - - - - Cache of property info objects already created for properties on the type the annotation is on. - - - - - Gets the property info annotation for the specified type or creates a new one if it doesn't exist. - - The type to get the annotation for. - The model containing annotations. - The property info annotation. - - - - Gets the property info for the EDM property declared on this type. - - The structured type to get the property on. - Property instance to get the property info for. - The model containing annotations. - Returns the PropertyInfo object for the specified EDM property. - - - - Node representing an access to a property value. - - - - - The value containing this property. - - - - - The EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Constructs a . - - The value containing this property. - The EDM property which is to be accessed. - Throws if input source or property is null. - Throws if input property is not structural, or is a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Node representing a type segment that casts a single entity parent node. - - - - - The entity that we're casting to a different type. - - - - - The target type that the source is cast to. - - - - - The EntitySet containing the source entity. - - - - - Created a SingleEntityCastNode with the given source node and the given type to cast to. - - Source that is being cast. - Type to cast to. - Throws if the input entityType is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the entity that we're casting to a different type. - - - - - Gets the target type that the source is cast to. - - - - - Gets the target type that the source is cast to. - - - - - Gets the EntitySet containing the source entity.. - - - - - Gets the kind of this query node. - - - - - Lexical token representing a type segment. - - - - - The Identifier of the type segment. - - - - - The parent segment. - - - - - Create a TypeSegmentQueryToken given the Identifier and the parent (if any) - - The Identifier of the type segment, including the namespace. - The parent segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The full name of the type. - - - - - The parent. - - - - - Node representing a unary operator. - - - - - The operand of the unary operator. - - - - - The operator represented by this node. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Creates a UnaryOperatorNode - - the kind of operator this node represents - the operand that this operator modifies - Throws if the input operand is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the operand of the unary operator. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this query node. - - - - - Helper methods for working with query nodes. - - - - - Checks whether a query node is a collection query node representing a collection of entities. - - The to check. - The converted or null if is not an entity collection node. - - - - Checks whether a query node is a collection query node representing a collection. - - The to check. - The converted or null if is not a collection node. - - - - Compute the result type of a binary operator based on the type of its operands and the operator kind. - - The type reference of the operators. - The kind of operator. - The result type reference of the binary operator. - - - Use this class to parse an expression in the OData URI format. - - Literals (non-normative "handy" reference - see spec for correct expression): - Null null - Boolean true | false - Int32 (digit+) - Int64 (digit+)(L|l) - Decimal (digit+ ['.' digit+])(M|m) - Float (digit+ ['.' digit+][e|E [+|-] digit+)(f|F) - Double (digit+ ['.' digit+][e|E [+|-] digit+) - String "'" .* "'" - DateTime datetime"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]"'" - DateTimeOffset datetimeoffset"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]-dd:mm"'" - Time time"'"dd:mm[ss[.fffffff]]"'" - Binary (binary|X)'digit*' - GUID guid'digit*' - - - - - For an identifier, EMD supports chars that match the regex [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}] - IsLetterOrDigit covers Ll, Lu, Lt, Lo, Lm, Nd, this set covers the rest - - - - Text being parsed. - - - Length of text being parsed. - - - flag to indicate whether to delimit on a semicolon. - - - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - Position on text being parsed. - - - Character being processed. - - - Token being processed. - - - Lexer ignores whitespace - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - - Determines if the next token can be processed without error without advancing the token. - - The next ExpressionToken. This value is undefined if error is defined. - Exception generated from trying to process the next token. - True if the next token can be processed, false otherwise. - - - Reads the next token, skipping whitespace as necessary, advancing the Lexer. - The next token. - Throws on error. - - - - Starting from an identifier, reads a sequence of dots and - identifiers, and returns the text for it, with whitespace - stripped. - - do we allow a star in this identifier - The dotted identifier starting at the current identifier. - - - Returns the next token without advancing the lexer. - The next token. - - - - Check whether the current identifier is a function. If so, expand the token text to the function signature - - True if the current identifier is a function call - - - Validates the current token is of the specified kind. - Expected token kind. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - Reads the next token, skipping whitespace as necessary. - Error that occurred while trying to process the next token. - The next token, which may be 'bad' if an error occurs. - - - - Expand the token selection if the next token matches the input token - - the list of token id to match - true if matched - - - Handles lexemes that are formed by an identifier followed by a quoted string. - This method modified the token field as necessary. - - - Advanced to the next character. - - - Parses a token that starts with a digit. - The kind of token recognized. - - - - Parses white spaces - - - - - Parses a complex value - - the starting delimiter - the ending delimiter. - - - - Advance the pointer to the next occurance of the given value, swallowing all characters in between. - - the ending delimiter. - - - Parses an identifier by advancing the current character. - - - Sets the text position. - New text position. - - - Validates the current character is a digit. - - - Token being processed. - - - Text being parsed. - - - Position on text being parsed. - - - - Gets if the current char is whitespace. - - - - - Gets if the current char is digit. - - - - - Is the current char a valid starting char for an identifier. - Valid starting chars for identifier include all that are supported by EDM ([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}]) and '_'. - - - - - Is the current char a valid non-starting char for an identifier. - Valid non-starting chars for identifier include all that are supported - by EDM [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}]. - This list includes '_', which is ConnectorPunctuation (Pc) - - - - This class implements IEqualityComparer for UnicodeCategory - - Using this class rather than EqualityComparer<T>.Default - saves from JIT'ing it in each AppDomain. - - - - - Checks whether two unicode categories are equal - - first unicode category - second unicode category - true if they are equal, false otherwise - - - - Gets a hash code for the specified unicode category - - the input value - The hash code for the given input unicode category, the underlying int - - - Use this class to represent a lexical expression token. - - - Token representing gt keyword - - - Token representing eq keyword - - - Token representing lt keyword - - - InternalKind of token. - - - Token text. - - - Position of token. - - - Provides a string representation of this token. - String representation of this token. - - - Gets the current identifier text. - The current identifier text. - - - Checks that this token has the specified identifier. - Identifier to check. - true if this is an identifier with the specified text. - - - Checks whether this token is a comparison operator. - - - Checks whether this token is an equality operator. - - - Checks whether this token is a valid token for a key value. - - - Checks whether this token is a valid token for a function parameter. - - - Enumeration values for token kinds. - - - Unknown. - - - End of text. - - - '=' - equality character. - - - Identifier. - - - NullLiteral. - - - BooleanLiteral. - - - StringLiteral. - - - IntegerLiteral. - - - Int64 literal. - - - Single literal. - - - DateTime literal. - - - DateTimeOffset literal. - - - Time literal. - - - Decimal literal. - - - Double literal. - - - GUID literal. - - - Binary literal. - - - Geography literal. - - - Geometry literal. - - - Exclamation. - - - OpenParen. - - - CloseParen. - - - Comma. - - - Colon. - - - Minus. - - - Slash. - - - Question. - - - Dot. - - - Star. - - - SemiColon - - - ParameterAlias - - - A Brace BracketedExpression is an expression within brackets or braces. It contains a JSON object or array. - - - - Lexical token representing a function call. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - the source token for this function call - - - - - Create a new FunctionCallToken using the given function name and argument values. - - The name of the function to call. - The argument values for the function. - - - - Create a new FunctionCallToken using the given function name and parameter tokens. - - The name of the function to call. - The arguments for the function. - The syntactically bound parent of this function - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - The syntactically bound parent of this function. - - - - - Node representing a key lookup on a collection. - - - - - The collection that this key is referring to. - - - - - The EntitySet containing the collection this key referrs to. - - - - - The resouce type of the single value the key referrs to. - - - - - List of the properties and their values that we use to look up our return value. - - - - - Constructs a KeyLookupNode. - - The collection that this key is referring to. - List of the properties and their values that we use to look up our return value. - Throws if the input source is null. - - - - Gets the collection that this key is referring to. - - - - - Gets the list of the properties and their values that we use to look up our return value. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the EntitySet that contains the collection this key referrs to. - - - - - Gets the kind for this node. - - - - - Class representing a single key property value in a key lookup. - - - - - Gets or sets the key property. - - - - - Gets or sets the value of the key property. - - - - - Class representing a single named value (name and value pair). - - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Create a new NamedValue lookup given name and value. - - The name of the value. Or null if the name was not used for this value. - The value - a literal. - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Lexical token representing a literal value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - The value of the literal. This is a parsed primitive value. - - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - The original text value of the literal. - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The value of the literal. This is a parsed primitive value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Binder which applies metadata to a lexical QueryToken tree and produces a bound semantic QueryNode tree. - - - - - Encapsulates the state of the metadate binding. - - - - - Constructs a MetadataBinder with the given . - This constructor gets used if you are not calling the top level entry point ParseQuery. - This is an at-your-own-risk constructor, since you must provide valid initial state. - - The initialState to use for binding. - - - - Processes the skip operator (if any) and returns the combined query. - - The skip amount or null if none was specified. - the skip clause - - - - Processes the top operator (if any) and returns the combined query. - - The top amount or null if none was specified. - the top clause - - - - Process the remaining query options (represent the set of custom query options after - service operation parameters and system query options have been removed). - - the current state of the binding algorithm. - pointer to a binder method. - The list of instances after binding. - - - - Visits a in the lexical tree and binds it to metadata producing a semantic . - - The query token on the input. - The bound query node output. - - - - Bind a function parameter token - - The token to bind. - A semantically bound FunctionCallNode - - - - Binds a InnerPathToken. - - Token to bind. - Either a SingleNavigationNode, CollectionNavigationNode, SinglePropertyAccessNode (complex), - or CollectionPropertyAccessNode (primitive or complex) that is the metadata-bound version of the given token. - - - - Binds a parameter token. - - The parameter token to bind. - The bound query node. - - - - Binds a literal token. - - The literal token to bind. - The bound literal token. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Binds a type startPath token. - - The type startPath token to bind. - The bound type startPath token. - - - - Binds a LambdaToken. - - The LambdaToken to bind. - A bound Any or All node. - - - - Binds a property access token. - - The property access token to bind. - The bound property access token. - - - - Binds a function call token. - - The function call token to bind. - The bound function call token. - - - - Encapsulates the state of the metadate binding. - - - - - Delegate for a function that visits a QueryToken and translates it into a bound QueryNode. - TODO : Eventually replace this with a real interface for a visitor. - - QueryToken to visit. - Metadata bound QueryNode. - - - - Enumeration of order by directions. - - - - - Ascending order. - - - - - Descending order. - - - - - Lexical token representing an order by operation. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Create a new OrderByToken given the expression and direction - - The expression according to which to order the results. - The direction of the ordering. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Lexical token representing the last segment in a path. - - - - - The Identifier of the property to access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a EndPathToken given the Identifier and the NextToken (if any) - - The Identifier of the property to access. - The NextToken token to access the property on. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - The Identifier of the property to access. - - - - - The root node of a query. Holds the query itself plus additional metadata about the query. - - - - - The top level path for this Uri. - - - - - Any custom query options for this Uri. - - - - - Any select or expand options in this uri. Can be null. - - - - - Any filter option in this uri. Can be null. - - - - - Any order by option in this uri. Can be null. - - - - - Any skip option in this uri. Can be null. - - - - - Any top option in this uri. Can be null. - - - - - Any inline count option in this uri. Can be null. - - - - - Create a new ODataUri. This contains the semantic meaning of the - entire uri. - - The top level path for this uri. - Any custom query options for this uri. Can be null. - Any $select or $expand option for this uri. Can be null. - Any $filter option for this uri. Can be null. - Any $orderby option for this uri. Can be null - Any $skip option for this uri. Can be null. - Any $top option for this uri. Can be null. - Any $inlinecount option for this uri. Can be null. - - - - Gets the top level path for this uri. - - - - - Gets any custom query options for this uri. - - - - - Gets any $select or $expand option for this uri. - - - - - Gets any $filter option for this uri. - - - - - Gets any $orderby option for this uri. - - - - - Gets any $skip option for this uri. - - - - - Gets any $top option for this uri. - - - - - Get any $inlinecount option for this uri. - - - - - Lexical token representing the entire query. - - - - - The default setting for the max depth. - - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Create a new SyntacticTree given its parts as arguments. - - The path for the query. Must not be null. - The filter for the query. If the property is null, there's no filter for this query. - Enumeration of order by tokens. - The select for the query. If the property is null, there's no select for this query. - The expansions for the query. If the property is null, there are no expandsion for this query. - The number of entities to skip in the result. - The (maximum) number of entities to include in the result. - Type of inlinecount in the response of the query. - The format for the query. - The query options for the query. - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - A new instance of which represents the query specified in the . - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - The maximum depth of any single query part. Security setting to guard against DoS attacks causing stack overflows and such. - A new instance of which represents the query specified in the . - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Public enumeration of kinds of query nodes. A subset of InternalQueryNodeKind - - - - - No query node kind... the default value. - - - - - A constant value. - - - - - A node that represents conversion from one type to another. - - - - - Non-entity node referencing a range variable. - - - - - Node used to represent a binary operator. - - - - - Node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection of entities. - - - - - Placeholder node referencing a rangeVariable on the binding stack that references an entity. - - - - - Node the represents a function call that returns a single entity. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - Internal enumeration of kinds of query nodes. A superset of QueryNodeKind - - - - - none... default value. - - - - - The constant value. - - - - - A node that signifies the promotion of a primitive type. - - - - - Non-entity node referencing a range variable. - - - - - Parameter node used to represent a binary operator. - - - - - Parameter node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection. - - - - - Entity node referencing a range variable. - - - - - SingleEntityFunctionCall node. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - The entity set node. - - - - - The key lookup on a collection. - - - - - Helper methods for working with query options. - - - - - Returns a query option value by its name and removes the query option from the collection. - - The collection of query options. - The name of the query option to get. - The value of the query option or null if no such query option exists. - - - - Node representing an entity set. - TODO : This should be deleted but it is used in many, many tests. - - - - - The entity set this node represents. - - - - - The resouce type of a single entity in the entity set. - - - - - the type of the collection returned by this function - - - - - Creates an - - The entity set this node represents - Throws if the input entitySet is null. - - - - Gets the resouce type of a single entity in the entity set. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity in the entity set. - - - - - Gets the entity set this node represents. - - - - - Gets the kind for this node. - - - - - Parser which consumes the URI format of primitive types and converts it to primitive types. - - - - Whitespace characters to trim around literals. - - - Determines whether the specified character is a valid hexadecimal digit. - Character to check. - true if is a valid hex digit; false otherwise. - - - Converts a string to a primitive value. - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of the WebConvert.TryKeyStringToPrimitive - - - - Try to parse a string value into a non-negative integer. - - The string value to parse. - The non-negative integer value parsed from the . - True if could successfully be parsed into a non-negative integer; otherwise returns false. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - Whether quotes were successfully removed. - Copy of WebConvert.TryRemoveQuotes. - - - - Converts a string to a byte[] value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToByteArray. - - - - Converts a string to a GUID value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToGuid. - - - - Converts a string to a DateTime value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTime. - - - - Converts a string to a DateTimeOffset value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTimeOffset. - - - - Converts a string to a Time value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToTime. - - - - Try to parse the given text to a Geography object. - - Text to parse. - Geography to return. - True if succeeds, false if not. - - - - Try to parse the given text to a Geometry object. - - Text to parse. - Geometry to return. - True if succeeds, false if not. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Checks whether the specified text is a correctly formatted quoted value. - - Text to check. - true if the text is correctly formatted, false otherwise. - Copy of WebConvert.IsKeyValueQuoted. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - The specified with single quotes removed. - Copy of WebConvert.RemoveQuotes. - - - - Returns the 4 bits that correspond to the specified character. - - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - This is a copy of WebConvert.HexCharToNibble. - - - - Enumeration of kinds of query tokens. - - - - - The binary operator. - - - - - The unary operator. - - - - - The literal value. - - - - - The function call. - - - - - The property access. - - - - - The order by operation. - - - - - A query option. - - - - - The Select query. - - - - - The *. - - - - - The Expand query. - - - - - Type segment. - - - - - Any query. - - - - - Non root segment. - - - - - type segment. - - - - - Parameter token. - - - - - All query. - - - - - ExpandTerm Token - - - - - FunctionParameterToken - - - - - FunctionParameterAlias - - - - - RawFunctionParameterValue - - - - - Lexical token representing a unary operator. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Create a new UnaryOperatorToken given the operator and operand - - The operator represented by this node. - The operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Enumeration of binary operators. - - - - - The unary - operator. - - - - - The not operator. - - - - - Constant values related to the URI query syntax. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A filter query option name. - - - An order by query option name. - - - A select query option name. - - - An expand query option name. - - - A skip query option name. - - - A valid value to denote all-properties access. - - - A top query option name. - - - A inline-count query option name. - - - A format query option name. - - - - Parser which consumes the query expression ($filter, $orderby) and produces the lexical object model. - - - - - The maximum number of recursion nesting allowed. - - - - - Set of parsed parameters - - - - - The current recursion depth. - - - - - The lexer being used for the parsing. - - - - - Constructor. - - The maximum depth of each part of the query - a recursion limit. - - - - Parses a literal. - - The lexer to use. - The literal query token or null if something else was found. - - - - Parses the $filter expression. - - The $filter expression string to parse. - The lexical token representing the filter. - - - - Parses the $orderby expression. - - The $orderby expression string to parse. - The enumeraion of lexical tokens representing order by tokens. - - - - Creates a new for the given filter or orderby expression. - - The expression. - The lexer for the expression, which will have already moved to the first token. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Parses typed literals. - - The lexer to use. - Expected type to be parsed. - The EDM type name of the expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses null literals. - - The lexer to use. - The literal token produced by building the given literal. - - - - Parses the expression. - - The lexical token representing the expression. - - - - Parses the or operator. - - The lexical token representing the expression. - - - - Parses the and operator. - - The lexical token representing the expression. - - - - Parses the eq, ne, lt, gt, le, ge operators. - - The lexical token representing the expression. - - - - Parses the add, sub operators. - - The lexical token representing the expression. - - - - Parses the mul, div, mod operators. - - The lexical token representing the expression. - - - - Parses the -, not unary operators. - - The lexical token representing the expression. - - - - Parses the primary expressions. - - The lexical token representing the expression. - - - - Handles the start of primary expressions. - - The lexical token representing the expression. - - - - Parses parenthesized expressions. - - The lexical token representing the expression. - - - - Parses the Any portion of the query - - The parent of the Any node. - The lexical token representing the Any query. - - - - Parses the All portion of the query - - The parent of the All node. - The lexical token representing the All query. - - - - Parses the Any/All portion of the query - - The parent of the Any/All node. - Denotes whether an Any or All is to be parsed. - The lexical token representing the Any/All query. - - - - Parses a segment. - - The parent of the segment node. - The lexical token representing the segment. - - - - Checks that the current token has the specified identifier. - - Identifier to check. - true if the current token is an identifier with the specified text. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - Delegate for a function that parses an expression and translates it into a QueryToken. - - A QueryToken - - - - Parser which consumes the URI path and produces the lexical object model. - - - - - The maximum number of segments allowed. - - - - - Constructor. - - The maximum number of segments for each part of the query. - - - - Parses the and returns a list of strings for each segment. - - The relative URI which holds the query to parse. - a list of strings for each segment in the uri. - - - - Returns list of segments in the specified path (eg: /abc/pqr -> abc, pqr). - - The absolute URI of the request. - The service base URI for the request. - List of unescaped segments. - - - - Class that knows how to bind unary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a UnaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Get the promoted type reference of the operand - - the operand - the operator kind - the type reference of the operand - - - - Retrieve SingleValueNode operand from given token. - - The token - the SingleValueNode operand - - - - Node representing a single navigation property. - - - - - The entity set that this NavigationProperty targets. - - - - - The previous node in the path. - - - - - The navigation property this node represents. - - - - - The type of entity that this NavigationProperty targets. - - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The previous node in the path. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The entity set that this of the previous segment. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the previous node in the path. - - - - - Gets the navigation property this node represents. - - - - - Gets the target multiplicity. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the entity set that this NavigationProperty targets. - - - - - Gets the kind of this query node. - - - - - Uri utility methods. - - - - - Determines whether the Uri instance is a - base of the specified Uri instance. - - - The check is host agnostic. For example, "http://host1.com/Service.svc" is a valid base Uri of "https://host2.org/Service.svc/Bla" - but is not a valid base for "http://host1.com/OtherService.svc/Bla". - - The candidate base URI. - The specified Uri instance to test. - true if the baseUri Uri instance is a base of uri; otherwise false. - - - - Parses query options from a specified URI into a dictionary. - - The uri to get the query options from. - The parsed query options. - This method returns with all the query options. - Note that it is valid to include multiple query options with the same name. - - - - is this selection item a structural or navigation property selection item. - - the selection item to check - true if this selection item is a structural property selection item. - - - Creates a URI suitable for host-agnostic comparison purposes. - URI to compare. - URI suitable for comparison. - - - - Check whether the Uri is the base of the Uri. - - The candidate base Uri. - The Uri to check. - True if the is the base of the Uri. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in the ATOM and Verbose JSON formats. - - - - - Class to validate and resolve the type name to be serialized. - - - - - Validates a type name to ensure that it's not an empty string and resolves it against the provided . - - The model to use. - The type name to validate. - The expected type kind for the given type name. - The type with the given name and kind if a user model was available, otherwise null. - - - - Resolves and validates the Edm type for the given . - - The model to use. - The type inferred from the model or null if the model is not a user model. - The value in question to resolve the type for. - true if the type name belongs to an open property, false otherwise. - A type for the or null if no metadata is available. - - - - Gets the type name from the given . - - The value to get the type name from. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type name for the given . - - - - Resolve a type name against the provided . If not payload type name is specified, - derive the type from the model type (if available). - - The model to use. - The type inferred from the model or null if the model is not a user model. - The type name to be resolved. - The expected type kind of the resolved type. - True if the type name belongs to an open property. - A type for the or null if no type name is specified and no metadata is available. - - - - Validates that the (optional) is the same as the (optional) . - - The (optional) type from the metadata definition (the expected type). - The (optional) type from the value (the actual type). - The type as derived from the and/or . - - - - Determines the type name for the given entry to write to the payload. - - The ODataEntry whose type name is to be written - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name for the given value to write to the payload. - - The value whose type name is to be written. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type resolved from the value. - The serialization type name annotation. - true if the type name belongs to an open property, false otherwise. - Returns the item type name of the collection type if is a collection value and its type name can be determined. - Type name to write to the payload, or null if no type should be written. - - - Atom metadata description for a categories element (app:categories). - - - Gets or sets a value that indicates whether the list of categories is fixed or an open set. - true if the list of categories is fixed; false if the list of categories is an open set. - - - Gets or sets the URI indicating the scheme of the categories without a scheme. - The URI indicating the scheme of the categories without a scheme. - - - Gets or sets the URI of the category document. - The URI of the category document. - - If this property is not null, the properties and must be both null - and the must be either null or empty collection. - - - - Gets or sets the atom category elements inside this categories element. - The atom category elements inside this categories element. - - - - Class responsible for storing and manipulating instance annotation data in ATOM payloads. - - - - - Backing field of the Target property. - - - - - Backing field of the Term property. - - - - - Backing field of the Value property. - - - - - Constructor. - - The target of the annotation. - The term whose value is being expressed through this annotation. - The annotation's value. - - - - Creates a new instance of this class by consuming xml from the given reader. - Creates an Atom-specific instance annotation from the format-independent representation of an annotation. - - The format-independent represetnation of an instance annotation. - The value of the target attribute on the m:annotation element, or null if the attribute should be omitted. - The created AtomInstanceAnnotation. - - - - Creates a new instance of this class by consuming xml from the given input context. - - The input context to use to create the annotation. - The property and value deserializer to use when reading values in the annotation element content. - The populated with the information from the 'm:annotation' XML element, as long as the value is a string. Returns null otherwise. - - Pre-Condition: XmlNodeType.Element - The annotation element to read. - Post-Condition: XmlNodeType.Any - The node after the end of the annotation element, or the same element as in the pre-condition if the annotation was skipped. - - - - - Retrieves the name of the attribute used in attribute value notation to indicate the given primitive type kind. - - The primitive type kind to look up. - The name of the corresponding attribute. - - - - Retrieves the Edm type represented by the given attribute name when using attribute value notation. - - The name of the attribute (must be one of "string", "int", "bool", "decimal", "float") - A nullable reference to the type represented by the attribute name, or null if the given name is not a valid attribute value notation name. - - - - Reads the current element's content as an ODataValue. - - The property and value deserializer to use to read values in ATOM. - The expected type of the annotation, may be null if the term is not defined in the model. - The deserialized value. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Reads an annotation's value from the annotation value notation specified on the current element. - - The expected type reference of the vocabulary term from the metadata. - The type reference indicated by the name of the attribute used in attribute value notation. - For example, if the attribute was called "string", this will be a reference to the string type. - The name of the attribute used by attribute avalue notation. - The value of the attribute used by attribute value notation. - The value of the "m:type" attribute on the annotation element. - true if the annotation element is empty, false otherwise. - The edm model instance. - The message reader settings instance. - The payload version to read. - The primitive value represented on this element via attribute value notation. - - - - The target of this annotation, as specified in the m:annotation/@target attribute. - - - - - The term of this annotation's value, as specified in the m:annotation/@term attribute. - - - - - The value of this annotation. - - - - - True if the annotation is targeting the xml element in which the annotation was found; false if the annotation is targeting a different element. - - - - - Xml writer which wraps another writer and fixes prefixes so that the root element is not prefix-qualified (same for everything else with the same prefix). - - - - - The wrapped writer. - - - - - The root prefix, once the first element of the document has been written. - - - - - Initializes a new instance of . - - The writer to wrap. - - - - When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. - - The to read from. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - contains invalid characters. - - - - When overridden in a derived class, writes out all the attributes found at the current position in the . - - The XmlReader from which to copy the attributes. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - The reader is not positioned on an element, attribute or XmlDeclaration node. - - - - When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. - - - The matching prefix or null if no matching namespace URI is found in the current scope. - - The namespace URI whose prefix you want to find. - is either null or String.Empty. - - - - When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). - - The name to write. - is not a valid NmToken; or is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The writer is closed or in error state. or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a string. - - String containing the text to write. - is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. - The number of bytes to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a character buffer. - - Character array containing the text to write. The position within the buffer indicating the start of the text to write. - The number of characters to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes text one buffer at a time. - - Character array containing the text to write. The position in the buffer indicating the start of the text to write. - The number of characters to write. - is null. - or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. - The parameter value is not valid. - - - - When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. - - The low surrogate. This must be a value between 0xDC00 and 0xDFFF. - The high surrogate. This must be a value between 0xD800 and 0xDBFF. - An invalid surrogate character pair was passed. - - - - When overridden in a derived class, writes the given text content. - - The text to write. The text string contains an invalid surrogate pair. - - - - When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. - - The namespace prefix of the attribute. The local name of the attribute. - The namespace URI for the attribute. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes the previous call. - - - - - When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. - - The text to place inside the CDATA block. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a comment <!--...--> containing the specified text. - - Text to place inside the comment. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. - - The name of the processing instruction. - The text to include in the processing instruction. - The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. - - - - When overridden in a derived class, writes out an entity reference as &name;. - - The name of the entity reference. - is either null or String.Empty. - - - - When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. - - The Unicode character for which to generate a character entity. - The character is in the surrogate pair character range, 0xd800 - 0xdfff. - - - - When overridden in a derived class, writes out the given white space. - - The string of white space characters. - The string contains non-white space characters. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0". - - This is not the first write method called after the constructor. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. - - If true, it writes "standalone=yes"; if false, it writes "standalone=no". - This is not the first write method called after the constructor. - - - - When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. - - The XML document is invalid. - - - - When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. - - The name of the DOCTYPE. This must be non-empty. - If non-null it also writes public override "pubid" "sysid" where and are replaced with the value of the given arguments. - If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. - If non-null it writes [subset] where subset is replaced with the value of this argument. - This method was called outside the prolog (after the root element). - The value for would result in invalid XML. - - - - When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. - - The namespace prefix of the element. The local name of the element. - The namespace URI to associate with the element. - The writer is closed. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - This results in an invalid XML document. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - - - - When overridden in a derived class, gets the current xml:lang scope. - - - The current xml:lang scope. - - - - - When overridden in a derived class, gets the state of the writer. - - - One of the values. - - - - - When overridden in a derived class, gets an representing the current xml:space scope. - - - An XmlSpace representing the current xml:space scope. - - - - - Gets the object used to create this instance. - - - The object used to create this writer instance. - - - - - Responsible for reading the annotation element in ATOM. - - - - - The input context to use when parsing the annotation element. - - - - Atomized string representation of the URI used for the OData metadata namespace. - - - Atomized name of the decimal attribute of an annotation element. - - - The property and value deserializer used to read values in ATOM. - - - - Creates a new ATOM annotation parser. - - The input context this annotation reader should use to read annotation elements. - The property and value deserializer to use to read the value of an annotation element. - - - - Attempts to read the current element as an annotation element. - - If this method returned true, this is the instance annotation information from the parsed element. - true if the element was an annotation element, false if it wasn't. - - Pre-Condition: XmlNodeType.Element - The element to read. - Post-Condition: XmlNodeType.EndElement - The end tag of the element (if the element was a non-empty annotation element). - XmlNodeType.Element - The same element as the pre-condition if this method returned false, or an empty annotation element. - - - - - OData ATOM deserializer for detecting the payload kind of an ATOM payload. - - - - - OData ATOM deserializer for properties and value types. - - - - - Base class for all OData ATOM deserializers. - - - - - Base class for all OData deserializers. - - - - The input context to use for reading. - - - - Constructor. - - The input context to read from. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message reader settings. - - - - - The OData version of the input. - - - - - true if the input is a response payload; false if it's a request payload. - - - - - The model to use. - - - - The ATOM input context to use for reading. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadStart(). - - - - - Reads till the end of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadEnd(). - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - An absolute URI to report. - - - - Given a string representation of a URI from the payload, this method will return an absolute or relative URI. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - If true, then this method will try to make the URI absolute, or fail otherwise. - An absolute or relative URI to report based on the value of the parameter. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - True if an empty element node should be added to the list. - The node types which should appear at this point. - - - - The XML reader to read the input from. - - - - - The ATOM input context to use for reading. - - - - The empty namespace used for attributes in no namespace. - - - OData attribute which indicates the null value for the element. - - - Element name for the items in a Collection. - - - XML element name to mark type attribute in Atom. - - - The Edm.String type from the core model. - - - The current recursion depth of values read by this deserializer, measured by the number of complex and collection values read so far. - - - - Constructor. - - The ATOM input context to read from. - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type of the property to read. - An representing the read property. - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Determines the kind of value to read based on the payload shape. - - The kind of type of the value to read. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - Post-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - - - - - Reads the 'type' and 'isNull' attributes of a value. - - The value of the 'type' attribute or null if no 'type' attribute exists. - The value of the 'isNull' attribute or null if no 'isNull' attribute exists. - - Pre-Condition: XmlNodeType.Element - The element to read attributes from. - Post-Condition: XmlNodeType.Element - The element to read attributes from. - - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The name of the property whose value is being read, if applicable (used for error reporting). - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Read a null value from the payload. - - The expected type reference (for validation purposes). - true to validate the value against the . - The name of the property whose value is being read, if applicable (used for error reporting). - The null value. - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads undeclared property in an element (primitive type value, or null value of complex type) - - The result ODataProperty. - - - - Reads a property. - - The expected property name to be read from the payload (or null if no expected property name was specified). - The expected type reference of the property value. - Behavior to use when reading null value for the property. - Whether any EPM mappings exist. - The ODataProperty representing the property in question; if null is returned from this method it means that the property is to be ignored. - - Pre-Condition: XmlNodeType.Element - The XML element representing the property to read. - Note that the method does NOT check for the property name neither it resolves the property against metadata. - Post-Condition: Any - The node after the property. - - - - - Read a primitive value from the reader. - - The type of the value to read. - The value read from the payload and converted as appropriate to the target type. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a complex value from the reader. - - The type reference of the value to read (or null if no type is available). - The name of the type specified in the payload. - The serialization type name for the complex value (possibly null). - The duplicate property names checker to use (cached), or null if new one should be created. - Whether any EPM mappings exist. - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.EndElement - the element has been read. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a collection from the reader. - - The type of the collection to read (or null if no type is available). - The name of the collection type specified in the payload. - The serialization type name for the collection value (possibly null). - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Constructor. - - The ATOM input context to read from. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - This method decides the payload kind based on the fully-qualified element name of the top-level Xml element - in the payload for entry, feed, entity reference link, error and service document payload kinds. It performs more checks - for properties and collection payloads as follows: - * If an m:type attribute is found => property - * If an m:null attribute is found => property - Otherwise the shape of the payload decides: - * If we only find d:element child nodes => collection or property - * If we find no child nodes => primitive property - * If we find anything else => complex property - - - - - Detects whether the current element represents a property payload, a collection payload or neither. - - An enumerable of zero, one or two payload kinds depending on whether a property, collection, both or neither were detected. - - - - OData ATOM serializer for collections. - - - - - OData ATOM serializer for properties and values. - - - - - Base class for all OData ATOM serializers. - - - - - Base class for all OData serializers. - - - - - The output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Validates association link before writing. - - The association link to validate. - The entity type of the entry the association link belongs to. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message writer settings. - - - - - The URL resolver. - - - - - The OData version of the output. - - - - - true if the output is a response payload; false if it's a request payload. - - - - - The model to use. - - - - - The ATOM output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - If set to true then this method will fail if the uri specified by is relative - and no base uri is specified. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Start writing an ATOM payload. - - - - - Finish writing an ATOM payload. - - This method MUST NOT be called after writing an in-stream error - as it would fail on unclosed elements (or try to close them). - - - - Writes a top-level error payload. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Write the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - An enumeration value to indicate what default namespace attributes to write. - - - - Writes the count. - - Count value. - True if the namespace declaration for the metadata namespace should be included; otherwise false. - - - - Write the base Uri of the document (if specified) and the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes an Xml element with empty content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - - - - Returns the which is to be used to write the content of the message. - - - - - The ODataAtomOutputContext used by the serializer. - - - - - Flags to describe a set of default namespaces. - - - - No namespaces. - - - OData namespace. - - - OData metadata namespace. - - - ATOM namespace - - - GeoRss namespace. - - - GML namespace. - - - All default namespaces. - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Writes a single property in ATOM format. - - The property to write out. - - - - Writes a collection of instance annotations in ATOM format. - - Instance annotation collection to write. - The tracker to track which instance annotations have been written. - - - - Writes a single instance annotation in ATOM format. - - The instance annotation to write. - - - - Write the given collection of properties. - - The of the entry (or null if not metadata is available). - Collection of cached properties for the entry. - true if we are writing a top level collection instead of an entry. - Action which is called before the properties are written, if there are any property. - Action which is called after the properties are written, if there are any property. - The checker instance for duplicate property names. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-properites we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a primitive value. - - The value to write. - The collection validator instance. - The expected type of the primitive value. - The optional type name annotation provided by the user on the OM for this primitive value. The annotation value will override whatever type name is being written. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - true if we are writing a collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Action called after the copmlex value is written, if it's actually written. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Write the items of a collection in ATOM format. - - The collection value to write. - The type reference of the collection value (or null if not metadata is available). - true if the type name belongs to an open property. - true if we are writing a top-level collection instead of an entry. - - - - Writes the value of a primitive instance annotation. - - The primitive value to write. - The expected type of the annotation from the metadata. - - - - Writes a single property in ATOM format. - - The property to write out. - The owning type for the or null if no metadata is available. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-property we're writing. (can be null) - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - true if the property was actually written, false otherwise. - - - - Writes a property with a complex value in ATOM format. - - The complex value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The type information for the property being written. - true if the type name belongs to an open property. - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a property with a collection value in ATOM format. - - The collection value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if writing a top-level collection payload instead of an entry. - Action which is called before the property is written, if it's going to be written. - The type reference of the collection value (or null if no metadata is available). - true if this property is undeclared and the owning type is open. - - - - Determines if the property with the specified value should be written into content or not. - - The owning type of the property to be checked. - The set of projected properties for the - The name of the property to be checked. - The property value to write. - The EPM source path segment for the property being written. - true if the property should be written into content, or false otherwise - - - - Writes a null property value in Atom format. - - The property type or null if we don't have any. - The name of the property to write out. - true if writing a top-level property payload; otherwise false. - true if we are writing a collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - - - - Writes the property start element. - - Action called before anything else is written (if it's not null). - The name of the property to write. - true if we are writing a collection instead of an entry. - true if writing a top-level property payload; otherwise false. - - - - Writes the property end element. - - - - - Writes the instance annotation start element. - - The the instance annotation to write. - - - - Writes the instance annotation end element. - - - - - Writes the m:type attribute for a property given the name of the type. - - The type name to write. - - - - Write the m:null attribute with a value of 'true' - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - OData ATOM serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The entity reference links to write. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - A flag indicating whether the link is written as top-level element or not; - this controls whether to include namespace declarations etc. - - - - - OData ATOM serializer for entries and feeds. - - - - - The serializer for writing ATOM metadata for entries. - - - - - The serializer for writing ATOM metadata for feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the start element for the m:properties element on the entry. - - - - - Writes the end element for the m:properties element on the entry. - - - - - Writes the type name category element for the entry. - - The type name to write. - The entry metadata if available. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Writes the entry atom:id element. - - The value of the ODataEntry.Id property to write. - - - - Writes the read link element for an entry. - - The read link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit link element for an entry. - - The edit link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit-media link for an entry. - - The media resource representing the MR of the entry to write. - - - - Write the metadata for an OData association link; makes sure any duplicate of the link's values duplicated in metadata are equal. - - The association link for which to write the metadata. - The instance the association link is defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Write the given feed metadata in atom format - - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - Writes the default empty author for a feed. - - - - - Writes the next page link for a feed. - - The feed to write the next page link for. - - - - Writes the delta link for a feed. - - The feed to write the delta link for. - - - - Writes a feed link. - - The feed that contains the link. - Relation attribute of the link. - href attribute of the link. - Function to get the AtomLinkMetadata for the feed link. - - - - Writes a stream property to the ATOM payload - - The stream property to create the payload for. - The instance for which the stream property defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes an operation (an action or a function). - - The association link to write. - - - - Writes the self or edit link. - - Uri object for the link. - The atom link metadata for the link to specify title, type, hreflang and length of the link. - Relationship value. Either "edit" or "self". - - - - OData ATOM serializer for ATOM metadata in an entry - - - - - Base class for all OData ATOM Metadata serializers. - - - - - Constructor. - - The output context to write to. - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes the 'atom:category' element given category metadata. - - The category information to write. - - - - Writes the 'atom:category' element with the specified attributes. - - The prefix to use for the 'category' element. - The value for the 'term' attribute (required). - The value for the 'scheme' attribute (optional). - The value for the 'label' attribute (optional). - - - - Write an empty author element that has the required name element - - - - - Writes the specified start/end tags and the specified person metadata as content - - The person metadata to write. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata attributes of a link in ATOM format - - The value for the 'rel' attribute. - The value for the 'href' attribute. - The value for the 'hreflang' attribute. - The value for the 'title' attribute. - The value for the 'type' attribute. - The value for the 'length' attribute. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The output context to write to. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - OData ATOM serializer for ATOM metadata in a feed - - - - - Constructor. - - The output context to write to. - - - - Write the given feed metadata in atom format - - The metadata to write. - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - The ATOM OData format. - - - - - Representation of an OData format. - - - - The ATOM format instance. - - - The verbose JSON format instance. - - - The JSON Light format instance. - - - The RAW format instance. - - - The batch format instance. - - - The metadata format instance. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - Specifies the ATOM format; we also use this for all Xml based formats (if ATOM can't be used). - The ATOM format. - - - Gets the verbose JSON format. - The verbose JSON format. - - - Specifies the JSON format. - The JSON format. - - - Specifies the RAW format; used for raw values. - The RAW format. - - - Gets the batch format instance. - The batch format instance. - - - Gets the metadata format instance. - The metadata format instance. - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - ATOM format output context. - - - - - Base class for all output contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this output context. - - - The message writer settings to be used for writing. - - - Set to true if this context is writing a response payload. - - - true if the input should be written synchronously; false if it should be written asynchronously. - - - The model to use. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - The type resolver to use. - - - - Constructor. - - The format for this output context. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message writer settings to be used for writing. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being written. - - - - - true if the output should be written synchronously; false if it should be written asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - - The type resolver to use. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The XML writer created for the root of the payload. - - This field is also used to determine if the output context has been disposed already. - In case of customized writers are used, this is always the root writer, never changed. - - - - The XML writer to write to. - In case of customized writers are used, this is the current writer to write to. - - - A stack used to track XML customization writers. - - At the beginning the root writer is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the writer returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomWriter, other writers don't use this. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initializes the ability to use customization writers. - - - This needs to be called before any of the writer customization functionality is used. - - - - - Pushes a writer on the top of the customization stack. - - The writer to push. - - - - Pops a writer from the top of the customization stack. - - The popped writer, the one which was on the top of the stack before the operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - Instance of this class describes a navigation link when it's found in the payload. - - - - The navigation link. - - - The navigation property for the link, is it's available. - - - - Constructor. - - The navigation link. - The navigation property for the link, if it's available. - - - The navigation link. - - - The navigation property for the link, if it's available. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - true if the item type was derived from the collection value; otherwise false. - - - The item type name extracted from the first non-null item. - - - - The primitive type denoted by the item type name or null if the type name is not a valid primitive type name. - - - - The item type kind from the first non-null item. - - - - Constructor. - - The item type name extracted from the collection type name. - - - - Validates a collection item that was read to make sure it is valid (i.e., has the correct - type name and type kind) with respect to the other items in the collection. - - The type name of the item from the payload. - The type kind of the item from the payload. - - - - Computes the expected type kind of an item from the type name read from the payload. - - The type name to compute the type kind from. - The primitive type for the specified type name or null if the type name is not a valid primitve type. - The of the type with the specified . - - - - Validate that the expected and actual type names and type kinds are compatible. - - The actual type name. - The actual type kind. - - - - If specified on a collection, returns the item type name that all items are expected to be compatible with; otherwise null. - - - - - If specified on a collection, returns the item type kind that all items are expected to be compatible with; otherwise EdmTypeKind.None. - - - - - Read-only stream which initially buffers all read data in order to replay it later. - Once no more buffered data exists it reads from the underlying stream directly. - - - - The list of buffered chunks of bytes as requested by callers. - - - - The stream being wrapped. - - - - The read position in the current buffer. - - - - true if the reader is not in buffering mode; otherwise false. - - - - - The current node in the buffer list to read from. - - - - - Constructor - - The underlying stream to wrap. Note that only read operations will be invoked on this stream. - - - - Not supported since the stream only allows reading. - - - - - Reads data from the buffer or the underlying stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Stops the buffering mode and turns the reader into normal read mode where first - the buffered data is re-read before the reads are performed on the underlying stream. - - - - - Stop buffering. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Moves the reader to the next buffer and drops already consumed - data if not in buffering mode. - - - - - Determines if the stream can read - this one can. - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - true if the stream is in buffering mode; otherwise false. - - - - - Interface used for substitutability of the metadata-centric responsibilities of an entry. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry without - needing to know where the metadata originated from. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of the metadata builder which only returns values which were explicitly set (never computing or modifying them). - - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Gets an instance of the metadata builder which never returns anything other than nulls. - - - - - Implementation of the metadata builder which only returns nulls. - - - - - Singleton instance of the null metadata builder. - - - - - Prevents a default instance of the class from being created. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - The entry whose payload metadata is being queried. - - - - - Creates a new no-op metadata builder. - - The entry whose payload metadata is being queried. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - - - - - Gets the ID of the entity. - - - The ID for the entity. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Default implementation of - - - - - Empty array of properties. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - - - - Creates an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - The entity type of the entry. - The metadata context to use. - The selected properties. - A new instance of . - - - - Gets the the CLR value for a primitive property. - - The entry to get the property value. - Name of the property. - The name of the entity type to get the property value. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Gets the CLR value for a primitive property. - - The name of the entity type to get the property value. - The ODataProperty to get the value from. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Validates that the entry has key properties. - - Key properties of the entry. - The entity type name of the entry. - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on serialization info. - - - - - Empty array of navigation properties. - - - - - Empty dictionary of stream properties. - - - - - Empty array of operations. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - - - - Gets the property name value pairs filtered by serialization property kind. - - The entry to get the properties from. - The serialization info property kind. - The entity type name of the entry. - The property name value pairs filtered by serialization property kind. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on the given model. - - - - - The entity type of the entry. - - - - - The metadata context to use. - - - - - The selected properties. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The entity type of the entry. - The metadata context to use. - The selected properties. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type name of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Interface used for substitutability of the metadata-centric responsibilities of . - - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Default implementation of . - - - - - The Edm Model. - - - - - EdmTypeResolver instance to resolve entity set base type. - - - - - Cache of operations that are always bindable to entity types. - - - - - true if we are reading or writing a response payload, false otherwise. - - - - - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - - - - The metadata document Uri. - - - - - The service base Uri. - - - - - Constructs an ODataMetadataContext. - - true if we are writing a response payload, false otherwise. - The Edm model. - The metadata document uri. - This overload should only be used by the writer. - - - - Constructs an ODataMetadataContext. - - true if we are reading a response payload, false otherwise. - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - EdmTypeResolver instance to resolve entity set base type. - The Edm model. - The metadata document Uri. - This overload should only be used by the reader. - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Generates operations which were omitted by the service because they fully match conventions/templates and are always available. - - - - The current entry metadata context. - - - The metadata context of the entry to generate the missing operations for. - - - The list of computed actions. - - - The list of computed functions. - - - - Initializes a new instance of the class. - - The metadata context of the entry to generate the missing operations for. - The current entry metadata context. - - - - Gets the computed missing Actions from the generator. - - The computed missing Actions. - - - - Gets the computed missing Functions from the generator. - - The computed missing Functions. - - - - Returns a hash set of function imports (actions and functions) in the given entry. - - The entry in question. - The edm model to resolve function imports. - The metadata document uri. - The hash set of function imports (actions and functions) in the given entry. - - - - Computes the operations that are missing from the payload but should be added by conventions onto the entry. - - - - - Interface used for substitutability, to answer basic questions regarding the type of the entry or feed. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry or feed without - needing to know where the metadata originated from. - - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Class responsible for logic specific to the JSON Light full metadata level (indicated by "odata=fullmetadata" in the media type). - - - The general rule-of-thumb for full-metadata payloads is that they include all "odata.*" annotations that would be included in minimal metadata mode, - plus any "odata.*" annotations that could be computed client-side if we the client had a model. - - - - - Class responsible for logic that varies based on the JSON Light metadata level. - - - - - Creates the appropriate metadata level based on the media type being written. - - The full media type being written. This media type must have a type/subtype of "application/json" - and should not imply verbose json (by including "odata=verbose" as a parameter). - The metadata document uri from the writer settings. - The edm model. - true if we are writing a response, false otherwise. - The JSON Light metadata level being written. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write will vary based on the metadata level. - If false, the type name writing rules will always match minimal metadata, - regardless of the actual metadata level being written. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - The Edm model. - - - - - The metadata document uri from the writer settings. - - - - - Constructs a new . - - The metadata document uri from the writer settings. - The Edm model. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Returns the metadata document URI which has been validated to be non-null. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON full metadata mode. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON Light. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light minimal metadata level (indicated by "odata=minimalmetadata" in the media type, or lack of an "odata" parameter in a v3 and above request). - - - The general rule-of-thumb for minimal-metadata payloads is that they include all "odata.*" annotations that can't be computed client-side, assuming the client has the server model available - as well as the ability to compute missing payload metadata based on the standard conventions. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - Not used in this implementation of the abstract method. - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON minimal metadata mode, - or the other metadata modes of JSON light when is false. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light no metadata level (indicated by "odata=nometadata" in the media type). - - - The general rule-of-thumb for no-metadata payloads is that they omit any "odata.*" annotations, - except for odata.nextlink and odata.count, since the client would get a inaccurate representation of the data available if they were left out. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON no metadata mode. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Reads payload as untyped object. - - - - - Base class for all OData JsonLight deserializers. - - - - The JsonLight input context to use for reading. - - - Context for entry etadata centric responsibilities. - - - Result of parsing the metadata URI for the payload (or null if none are available). - This field is only available after the ReadPayloadStart was called. - - - - Constructor. - - The JsonLight input context to read from. - - - - Parses the name of a property and returns the property name and annotation name if the property is a property annotation. - - The property name to parse. - The name of the annotated property, or null if the property is not a property annotation. - The annotation name, or null if the property is not a property annotation. - true if the is a property annotation, false otherwise. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The parsed metadata URI. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads and validates a string value from the json reader. - - The name of the annotation being read (used for error reporting). - The string that was read. - - - - Reads and validates a string value from the json reader and processes it as a Uri. - - The name of the annotation being read (used for error reporting). - The Uri that was read. - - - - Reads and validates a string value from the json reader and processes it as a long. - - The name of the annotation being read (used for error reporting). - The long that was read. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - Function callback to handle to resule of parse property. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns true if should be skipped by the reader; false otherwise. - - The custom instance annotation name in question. - Returns true if should be skipped by the reader; false otherwise. - - - - If is under the odata namespace but is not known to ODataLib, move the JSON reader forward to skip the - annotation name and value then return true; return false otherwise. - - - The unknown odata annotation is skipped so that when this version of the reader reads a feed produced by a future version of ODataLib - that contains an odata annotation that is not recognized on this version, we would simply ignore the annotation rather than failing. - Note that when we add new odata annotations that cannot be skipped, we would bump the protocol version. - - The annotation name in question. - Returns true if the annotation name and value is skipped; returns false otherwise. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - The name of the property or instance annotation found. - - PropertyWithValue - a property with value was found. The contains the name of the property. - The reader is positioned on the property value. - PropertyWithoutValue - a property without a value was found. The contains the name of the property. - The reader is positioned on the node after property annotations (so either a property or end of object). - ODataInstanceAnnotation - an odata instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - CustomInstanceAnnotation - a custom instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - MetadataReferenceProperty - a property which is a reference into the metadata was found. - The reader is positioned on the value of the property. - EndOfObject - end of the object scope was reached and no properties are to be reported. The is null. - This can only happen if there's a property annotation which is ignored (for example custom one) at the end of the object. - - - - - Process the current property annotation. - - The name being annotated. Can be a property or an instance annotation. - The annotation targeting the . - The duplicate property names checker. - Callback to read the property annotation value. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The value of the metadata URI annotation (or null if it was not found). - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the odata.metadata annotation. - - The payload kind for which to read the metadata URI. - The duplicate property names checker. - true if the method should fail if the metadata URI annotation is missing, false if that can be ignored. - The value of the metadata URI annotation. - - - - Context for entry metadata centric responsibilities. - - - - - Returns the which is to be used to read the content of the message. - - - - Result of parsing the metadata URI for the payload (or null if none are available). - This property is only available after the ReadPayloadStart was called. - - - - The Json lite input context to use for reading. - - - - - Gets the metadata document Uri from the MetadataUriParseResult. - - - - Possible results of parsing JSON object property. - - - An end of object was reached without any property to be reported. - - - A property with value was found. - - - A property without value was found. - - - A 'odata' instance annotation was found. - - - A custom instance annotation was found. - - - A metadata reference property was found. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads untyped value. - - primitive value or ODataComplexValue orODataCollectionValue. - - - - Reads json object value. - - ODataComplexValue with TypeName=null - - - - Read json array. - - ODataCollectionValue with TypeName=null - - - - The context object to answer basic questions regarding the type of the entry or feed. - - - - - Default Url convention. - - - - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - - Constructs an instance of . - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - Creates an instance of . - - The serialization info from the feed or entry instance. - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - A new instance of . - - - - Validate and return the given value. - - The type of the value to validate. - The value to validate. - The return value. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the serialization info. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The serialization info from the feed or entry instance. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the metadata. - - - - - The Edm model instance to use. - - - - - The entity set of the feed or entry. - - - - - The element type of the entity set of the feed or entry. - - - - - The expected entity type of the feed or entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - The entity set name of the feed or entry. - - - - - true if the entry is an media link entry or if the feed contains media link entries, false otherwise. - - - - - The url convention to use for the entity set. - - - - - Constructs an instance of . - - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Extension methods on the OData object model. - - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Class to provide additional serialization information to the for an . - - - - - The fully qualified type name of the collection to be written. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The fully qualified type name of the collection to be written. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - true if the navigation property navigates to a collection of entities; false otherwise. - - - - - The enum of property kinds. - - - - - Unspecified property kind or if the property is not a key property, an etag property or an open property. - - - - - The property is a key property. - - - - - The property is an etag property - - - - - The property is an open property - - - - - Class to provide additional serialization information to the for an . - - - - - The kind of the property - - - - - Class to provide additional serialization information to the for an . - - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Class to represent a HTTP header value element. - - - - - Internal constructor to create a new instance of . - - The name of the preference. - The value of the preference. - The enumeration of preference parameter key value pairs. - - - - Converts the current to string. - - The string for . - - - - Appends the and to as name=value. - - The string builder to append to. - The name to append. - The value to append. - - - - The name of the preference. - - - - - The value of the preference. - - - - - The enumeration of preference parameter key value pairs. - - - - - Extension methods for http header values. - - - - - Constructs a new instance of . - - - - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - - - Lexer to parse HTTP header values. - - - - - The ',' separator. - - - - - The ';' separator. - - - - - The '=' separator. - - - - - The name of the HTTP header being parsed. - - - - - The value of the HTTP header being parsed. - - - - - The starting index to the next item to be parsed. - - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - The start index of the next item to be parsed. - - - - Constructs a new instance of the HTTP header value item. - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The newly created instance of . - - - - Reads the content of a HTTP header from this instance to a new instance. - - A new instance populated with the content from this instance. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - Reads a from and advances the forward. - - The lexer to read from. - The that was read. - - - - Reads a token or token=(token|quoted-string) from the , convert it to a key value pair and advances the . - - The lexer to read from. - The converted key value pair. - - - - Returns true if we've parsed to the end of the header value, false otherwise. - - Returns true if we've parsed to the end of the header value, false otherwise. - - - - Reads a token or quoted-string value from the header. - - The token or quoted-string value that was read from the header. - - - - Reads a token from the header. - - The token item that was read from the header. - - - - Reads a separator from the header. - - The separator item that was read from the header. - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - The type of the current parsed item. - - - - - The item type enum. - - - - Currently at the start of the header value. - - - The current item is a token. - - - The current item is a quoted-string. - - - The current item is the header element separator ','. - - - The current item is the parameter separator ';'. - - - The current item is the value separator '='. - - - At the end of the header value. - - - - Represents the start of the http header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a token in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the token. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a quoted-string in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the quoted string, unescaped and without quotes. - The original text of the quoted string, escaped and with quotes. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a separator in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the separator. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents the end of the http header value. - - - - - Static instance of the end item. - - - - - Constructs a new instance of . - - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Filter class to determine whether or not to read an annotation. - - - - - Filter that maches all annotation names. - - - - - Filter than maches no annotation names. - - - - - Separator for annotation filter patterns. - - - - - Patterns to match, sorted in the order of higher to lower priorities to match. - - - - - Private constructor to create a filter from comma delimited patterns to match to include or exclude annotations. - - Patters to match to include or exclude annotations. - - - - Create a filter from comma delimited patterns to match to include or exclude annotations. - - Comma delimited patterns to match to include or exclude annotations. - The newly created filter. - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read all annotations. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read no annotation. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter pattern class to determine whether an annotation name matches the pattern. - - - - - The '.' namespace separator. - - - - - The '-' operator to indicate that the annotation should be excluded from read when it matches the pattern. - - - - - The wild card constant. - - - - - String constant for .* - - - - - The "*" pattern that includes all annotations. - - - - - The "-*" pattern that excludes all annotations. - - - - - The pattern to match. - - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - Constructs a pattern instance to determine whether an annotation name matches the pattern. - - The pattern to match. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Compares the priority of current pattern with the priority of . - - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means this pattern has higher priority than . - 0 means this pattern has the same priority as . - 1 means this pattern has lower priority than . - - A pattern to compare with this pattern. - - - - Creates a pattern instance to determine whether an annotation name matches the pattern. - - The pattern for this instance. - The newly created instance. - - - - Sorts the patterns in the array from highest to lowest priorities. - - The source array to sort. When the method returns the items in this array instance will be rearragned. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Compares the priority of with . - - The left hand side pattern to compare. - The right hand side pattern to compare. - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means has higher priority than . - 0 means has same priority as . - 1 means has lower priority than . - - - - - Removes the exclude operator from the given pattern string. - - The input pattern to the method and will return the pattern without the exclude operator if it's found. - Returns true if the exclude operator is found and removed from the input pattern; false otherwise. - - - - Validates the pattern. - - The pattern to validate. - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - The wild card pattern that matches everything. - - - - - Constructs the wild card pattern. - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match any annotation name that starts with this pattern. - - - - - Constructs the starts with pattern. - - The pattern to start with. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match a annotation name that is exactly the same as this pattern. - - - - - Constructs the exact match pattern. - - The exact pattern to match - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Contract for providing implementations of more specific lookups needed for parsing OData URIs that are not efficiently answered - by existing APIs in and its related interfaces. - - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds an entity set given a name that may be container qualified. If no container name is provided, the default container should be used. - - The name which might be container qualified. If no container name is provided, the default container should be used. - The entity set if one was found or null. - - - - Finds a service operation for the given name. - - The name of the service operation to find. May be qualified with an entity container name. - The function import representing a service operation or null if one could not be found with the given name. - - - - Finds a function or action bound to the specific type with the given name. - - The binding type. - The name of the function imports to find. May be qualified with an entity container name. - The parameter names of the non-binding parameters, if provided in the request URI. - The function import that matches the search criteria or null if there was no match. - - - - Represents an instance annotation. - - - - - Constructs a new instance. - - The name of the instance annotation. - The value of the instance annotation. - - - - Validates that the given is a valid instance annotation name. - - Name to validate. - - - - Validates the given is a valid instance annotation value. - - Value to validate. - - - - Instance annotation name. - - - - - Instance annotation value. - - - - - Extension methods to IODataRequestMessage and IODataResponseMessage. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Gets the instance to get or set preferences on the "Prefer" header of the . - - The request message to get or set the "Prefer" header. - Returns the instance to get or set preferences on the "Prefer" header of the . - - - - Gets the instance to get or set preferences on the "Preference-Applied" header of the . - - The response message to get or set the "Preference-Applied" header. - Returns the instance to get or set preferences on the "Preference-Applied" header of the . - - - - Base Configuration settings for OData message readers. - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - The check characters. - - - The enable atom metadata reading. - - - The annotation filter. - - - - Initializes a new instance of the class. - - - - - Copy constructor. - - The instance to copy. - - - - Flag to control whether the reader should check for valid Xml characters or not. - - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - - - Func to evaluate whether an annotation should be read or skipped by the reader. The func should return true if the annotation should - be read and false if the annotation should be skipped. A null value indicates that all annotations should be skipped. - - - - - Base Configuration settings for OData message writers. - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - The check characters. - - - The indent. - - - - Constructor to create default settings for OData writers. - - - - - Copy constructor to create a copy of the settings for OData writers. - - Settings to create a copy from. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Class to set the "Prefer" header on an or - the "Preference-Applied" header on an . - - - - - The return-no-content preference token. - - - - - The return-content preference token. - - - - - The odata-annotations preference-extensions token. - - - - - The Prefer header name. - - - - - The Preference-Applied header name. - - - - - Empty header parameters - - - - - The return-no-content preference. - - - - - The return-content preference. - - - - - The message to set the preference header to and to get the preference header from. - - - - - "Prefer" if message is an IODataRequestMessage; "Preference-Applied" if message is an IODataResponseMessage. - - - - - Dictionary of preferences in the header - - - - - Internal constructor to instantiate an from an . - - The request message to get and set the "Prefer" header. - - - - Internal constructor to instantiate an from an . - - The response message to get and set the "Preference-Applied" header. - - - - Adds quotes around the given text value. - - text to quote. - Returns the quoted text. - - - - Returns true if the given preference exists in the header, false otherwise. - - Preference in question. - Returns true if the given preference exists in the header, false otherwise. - - - - Clears the from the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to clear. - - - - Sets the to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to set. - - If is already on the header, this method does a replace rather than adding another instance of the same preference. - - - - - Gets the from the "Prefer" header from the underlying or - the "Preference-Applied" header from the underlying . - - The preference to get. - Returns a key value pair of the and its value. The Value property of the key value pair may be null since not - all preferences have value. If the is missing from the header, null is returned. - - - - Parses the current preference values to a dictionary of preference and value pairs. - - Returns a dictionary of preference and value pairs; null if the preference header has not been set. - - - - Sets the "Prefer" or the "Preference-Applied" header to the underlying message. - - - - - Property to get and set the "return-content" and "return-no-content" preferences to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - Setting true sets the "return-content" preference and clears the "return-no-content" preference. - Setting false sets the "return-no-content" preference and clears the "return-content" preference. - Setting null clears the "return-content" and "return-no-content" preferences. - Returns true if the "return-content" preference is on the header. Otherwise returns false if the "return-no-content" is on the header. - Returning null indicates that "return-content" and "return-no-content" are not on the header. - - - - - Property to get and set the "odata.include-annotations" preference with the given filter to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - If the "odata-annotations" preference is already on the header, set replaces the existing instance. - Returning null indicates that the "odata.include-annotations" preference is not on the header. - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - - - - Dictionary of preferences in the header. - - - - - Extension methods for ReadOnlyEnumerable and ReadOnlyEnumerableOfT - - - - - true if is the same instance as ReadOnlyEnumerableOfT.Empty(). false otherwise. - - The element type of the enumerable. - The enumerable in question. - Returns true if is the empty ReadOnlyEnumerableOfT. false otherwise. - - - - Casts an IEnumerableOfT to ReadOnlyEnumerableOfT. - - The element type of the enumerable. - The source enumerable. - The name of the collection to report in case there's an error. - The casted ReadOnlyEnumerableOfT. - - - - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - The element type of the enumerable. - The source enumerable in question. - The name of the collection to report in case there's an error. - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - - - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - The element type of the enumerable. - The source enumerable to concat. - The name of the collection to report in case there's an error. - Item to concat to the source enumerable. - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - - - Adds an ODataAction to an entry. - - The entry to add the action. - The action to add. - - - - Adds an ODataFunction to an entry. - - The entry to add the function. - The function to add. - - - - Adds an association link to an entry. - - The entry to add the association link to. - The association link to add. - - - - Implementation of OData entity metadata builder based on OData protocol conventions. - - - - The URI builder to use. - - - The context to answer basic metadata questions about the entry. - - - The metadata context. - - - The list of navigation links that have been processed. - - - The edit link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The read link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The computed ETag. - - - true if the etag value has been computed, false otherwise. - - - The computed ID of this entity instance. - - This is always built from the key properties, and never comes from the entry. - - - - A computed uri that is equivalent to the ID or the edit-link without a type segment. - - - The computed MediaResource for MLEs. - - - The list of computed stream properties. - - - The enumerator for unprocessed navigation links. - - - The missing operation generator for the current entry. - - - - Constructor - - The context to answer basic metadata questions about the entry. - The metadata context. - The uri builder to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Computes the edit link. - - Uri that was computed based on the computed Id and possible type segment. - - - - Computes and sets the field for the computed Id. - - - - - Computes all projected or missing stream properties. - - Non-computed properties from the entity. - The the computed stream properties for the entry. - - - - Lazy evaluated computed entity Id. This is always a computed value and never comes from the entry. - - - - - Lazy evaluated computed entity instance uri. This is always a computed value and never comes from the entry. - - - - - The missig operation generator for the current entry. - - - - - Implementation of OData URI builder based on OData protocol conventions. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - The base URI of the service. This will be used as the base URI for all entity containers. - - - The specific url-convention to use. - - - The specific key-serializer to use based on the convention. - - - - Constructor. - - The base URI of the service. This will be used as the base URI for all entity containers. - The specific url convention to use. - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Validates the base URI parameter to be a non-null absolute URI. - - The base URI parameter to validate. - - - - Appends a segment to the specified base URI. - - The base Uri to append the segment to. - The segment to append. - True if the new segment should be escaped, otherwise False. - New URI with the appended segment and no trailing slash added. - - - - Gets the CLR value of a primitive key property. - - The key property name. - The key property value. - The entity type name we are validating the key value for. - The primitive value of the key property. - - - - Appends the key expression for the given entity to the given - - The builder to append onto. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - - - - Annotation to capture all of the custom instance annotations on an ODataAnnotatable. - - - Currently only , , and supports instance annotations. - Additionally, instance annotations will only be serialized in Json. - - - - - Backing dictionary of instance annotation term name/object pairs. - - - - - Creates a new to hold instance annotations for an . - - - - - Determines whether the contains an element with the specified key. - - - true if the ICollection> contains an element with the key; otherwise, false. - - The key to locate in the . - is null. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Removes all items from the . - - The is read-only. - - - - Adds an element with the provided 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 null. - An element with the same key already exists in the .The is read-only. - - - - Removes the element with the specified key from the . - - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - The key of the element to remove. is null.The is read-only. - - - - Gets the value associated with the specified key. - - - true if the object that implements contains an element with the specified key; otherwise, false. - - The key whose value to get.When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. is null. - - - - Gets an enumerator for this object. - - An enumerator for this object. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - - Gets or sets the element with the specified key. - - - The element with the specified key. - - The key of the element to get or set. - is null. - The property is retrieved and is not found. - The property is set and the is read-only. - - - - Helper class to track if an annotation has been written. - - - - - Maintains the write status for each annotation using its key. - If a key exists in the list then it is considered written. - - - - - Creates a new to hold write status for instance annotations contained in . - - - - - Check if an annotation is already written. - - true if the annotation is written; otherwise false. - The key of the element to check if its written. - - - - Mark an annotation as written. - - true if the annotation was unmarked before; otherwise false. - The key of the element to mark as written. - - - - Well known OData annotation names reserved for OData Lib. - - - - The OData Metadata annotation name. - - - The OData 'null' annotation name. - - - The OData Type annotation name. - - - The OData ID annotation name. - - - The OData etag annotation name. - - - The OData edit link annotation name. - - - The OData read link annotation name. - - - The OData media edit link annotation name. - - - The OData media read link annotation name. - - - The OData media content type annotation name. - - - The OData media etag annotation name. - - - The 'odata.count' annotation name. - - - The 'odata.nextLink' annotation name. - - - The 'odata.navigationLinkUrl' annotation name. - - - The 'odata.bind' annotation name. - - - The 'odata.associationLinkUrl' annotation name. - - - The 'odata.annotationGroup' annotation name. - - - The 'odata.annotationGroupReference' annotation name. - - - The 'odata.error' annotation name. - - - The 'odata.deltaLink' annotation name. - - - - Hash set of known odata annotation names that have special meanings to OData Lib. - - - - - Returns true if the starts with "odata.", false otherwise. - - The name of the annotation in question. - Returns true if the starts with "odata.", false otherwise. - - - - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - The annotation name in question. - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - - - Validates that the is not a reserved OData instance annotation. - - The instance annotation name to check. - - - - Defines an interface for a class that can write OData values in Json Light. - This is used internally for mocking. - - - - - Writes a null value. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - - - - Writes a primitive value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a for checking duplication properties inside complex values. - - A new instance. - - - - JsonWriter this value serializer will use. - - - - - Version of OData being written. - - - - - Model to use for type resolution and verification when writing. - - - - - The message writer settings to use when writing the message payload. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - The character array used for splitting apart the operation parameter type names in a metadata link. Contains ','. - - - - - The set of characters to trim from the parameters of an operation. Contains '(' and ')'. - - - - - Determines if the specified property name is a name of a metadata reference property. - - The name of the property. - true if is a name of a metadata reference property, false otherwise. - - - - Gets the fully qualified function import name from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The first parameter name, if any are present in the given string. - The fully qualified function import name. - - - - Gets the Uri fragment from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The Uri fragment which corresponds to action/function names, etc. - - - - Converts the metadata reference property name to an absolute Uri. - - The metadata document uri. - The metadata reference property name. - The absolute Uri for the metadata reference property name. - - - - Calculates the metadata reference name for the given function import. When there is no overload to the function, this method will - return the container qualified function import name. When there is overload to the function this method will - return FQFN([comma separated parameter type names]) to disambiguate between different overloads. - - The function import in question. - The metadata reference name for the given function import. - - - - Creates an ODataAction or ODataFunction from a function import. - - The metadata document uri. - The metadata reference property name. - The function import to create the ODataOperation for. - true if the created ODataOperation is an ODataAction, false otherwise. - The created ODataAction or ODataFunction. - - - - Responsible for reading annotation groups (both declarations and references) in JSON Light. - - - - - Mapping of all the annotation groups encountered so far, keyed by name. - - - - - Initializes a new . - - The JSON light input context. - - - - Reads the current property node as an annotaion group, if the property name matches. Otherwise, it does not move the reader. - - Fired whenever an OData property annotation is seen. Takes the name of the property annotation and should read and return the annotation's value. - Fired whenever an OData instance annotation is seen. Takes the name of the instance annotation and should read and return the annotation's value. - The annotation group which was read, or null if we did not encounter an annotation group. - - Pre-Condition: JsonNodeType.Property: The property to consider as an annotion group. - Post-Condition: JsonNodeType.Property: If the property is not an annotation group, the reader will not move. - Any: The node after the annotation group property, if one was read. - - - - - Adds the given annotation group to the set of groups which can be retrieved by annotation group references. - - The annotation group to add. - - - - Checks to see that the name of the given annotation group has not yet been set. Throws otherwise. - - The annotation group to check. - - - - Returns whether the given property name indicates this property contains the name of the annotation group. - - The property name to check. - true if the property name is annotation group name property, false otherwise. - - - - Verifies that the name of the given annotation group was set, and throws otherwise. - - The annnotation group to check. - - - - Verifies that the given property name is a valid annotation name, and throws if not. - - The property name to check. - The annotation group which this property would be added to. - - - - Creates an ODataException to throw when a non-annotation property is found inside an annotation group. - - The name of the property found inside an annotation group. - The annotation group it was found in. - An ODataException with an appropriate message, including the annotation group name if one is available. - - - - Reads an annotation group reference and returns the existing annotation group instance with that name. - - The annotation group which was referenced. - This method will throw if no matching annotation group is found. - - - - Reads an annotation group declaration and returns a newly created annotation group instance. - - Function which takes the name of an OData property annotation and reads and returns the value of the annotation. - Function which takes the name of an OData instance annotation and reads and returns the value of the annotation. - The annotation group which was read. - - Pre-Condition: JsonNodeType.StartObject: The property to consider as an annotion group declaration or reference. - Any: Any other node type will throw an exception. - Post-Condition: Any: The node after the annotation group property value. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Validates that a string is either a valid absolute URI, or (if it begins with '#') it is a valid URI fragment. - - The metadata document uri. - The property name to validate. - - - - Validates an operation is valid. - - The metadata document uri. - The operation to validate. - - - - Determines if the specified property name is a name of an open metadata reference property. - - The metadata document uri. - The property name in question. - true if the specified property name is a name of an open metadata reference property; false otherwise. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - - - - JSON Ligth specific state which is created during payload kind detection and reused during standard reading if available. - - - - The parsed metadata URI. - - - - Constructor. - - The parsed metadata URI. - - - The parsed metadata URI. - - - - Interface for a class that can write arbitrary JSON. - Internally we want the interface for mocks. - - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Class responsible for writing a collection of . - - - - - Value serializer, responsible for serializing the annotation values. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructs a that can write a collection of . - - The to use for writing values of instance annotations. - The that is also used internally will be acquired from the this instance. - The oracle to use to determine the type name to write for entries and values. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - The tracker to track if instance annotations are written. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - - - - Writes an instance annotation. - - The instance annotation to write. - - - - JsonWriter instance to use for writing term names. - - - - - OData JsonLight serializer for value types. - - - - - Base class for all OData JsonLight serializers. - - - - - The JsonLight output context to write to. - - - - - Instance annotation writer. - - - - - Set to true when odata.metadata is writen; set to false otherwise. - When value is false, all URIs writen to the payload must be absolute. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the end of the entire JSON payload. - - - - - Writes the metadata URI property and the specified value into the payload. - - The metadata URI to write. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Returns the string representation of the URI - - The uri to process. - Returns the string representation of the URI. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - Instance annotation writer. - - - - - The current recursion depth of values written by this serializer. - - - - - Property serializer. - - - - - Initializes a new instance of the class. - - The property serializer to use when writing complex values. - - - - Initializes a new instance of the class. - - The output context to use. - - - - Writes a null value to the wire. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a new instance of a duplicate property names checker. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - The newly created instance of duplicate property names checker. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Returns the which is to be used to write the content of the message. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The OData version of the output. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The model to use. - - - - - The message writer settings to use when writing the message payload. - - - - - Gets the property serializer. - - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - Responsible for resolving the element type of an entity set with reader (i.e., looser) semantics. - - - - - Class responsible for determining the entity type of an entity set. - - - - - Returns the element type of the given entity set. - - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type. - - The function parameter to get the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - The model to use or null if no model is available. - - - Reader behavior if the caller is a reader, null if no reader behavior is available. - - - The version of the payload being read. - - - Creates a new entity set element type resolver with all the information needed when resolving for reading scenarios. - The model to use or null if no model is available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for read and calls the client type resolver to resolve type when it is specified. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Resolves the given type reference if a client type resolver is available. - - Type reference to resolve. - The resolved type reference. - - - - Resolves the given type if a client type resolver is available. - - Type to resolve. - The resolved type. - - - - Responsible for resolving the element type of an entity set with writer semantics. - - - - - Singleton instance of the resolver. - - - - - Private constructor to ensure all access goes through the singleton Instance. - - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for write. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader and which support true async operations. - - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData collection readers. - - - - Reads the next item from the message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent item that has been read. - The most recent item that has been read. - - This property returns an when in state ODataCollectionReaderState.CollectionStart - or ODataCollectionReaderState.CollectionEnd. It returns either a primitive value, an or 'null' when - in state ODataCollectionReaderState.Value and 'null' in all other states. - - - - The input context to read from. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - The expected item type reference for the items in the collection. - If an expected type is specified the collection has to be homogeneous. - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Should be false since no more nodes can be read from the reader after the collection ends. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The state of the collection element - empty or not-empty. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - The item associated with the replacement state. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The most recent item that has been read. - - - - - The state of the collection element - empty or non-empty. - - - Only used by ATOM. - - - - - The expected item type for the items in the collection. - - - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - - Returns true if we are reading a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - - - - A collection reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - True, if the collection element attached to this scope is empty. False otherwise. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The state of the collection element - empty or not-empty - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The state of the Collection Element - empty or non-empty. - - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Simple structure for storing both a base URI and the select clause for generating metadata links in JSON-Light payloads. - - - - The base uri to the metadata document. - - - The select clause to include when generating metadata links. - - - - Initializes a new instance of . - - The base uri to the metadata document. - - - - Gets the base uri to the metadata document. - - - - - Gets the select clause to include when generating metadata links. - - - - - Represents a null property value. - - - - - Indicates whether the given value is a null value. - - true, since this object always represents a null value. - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader with truly async operations. - - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader. - - - - Base class for OData parameter readers. - - - Creates an to read the collection value when the state is ODataParameterReaderState.Collection. - An to read the collection value when the state is ODataParameterReaderState.Collection. - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - - - Reads the next parameter from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next item from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the name of the current parameter that is being read. - The name of the current parameter that is being read. - - - Gets the value of the current parameter that is being read. - The value of the current parameter that is being read. - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - An interface that allows the creator of a reader/writer to listen for status changes of the created reader/writer. - - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - The input context to read from. - - - The function import whose parameters are being read. - - - Stack of reader scopes to keep track of the current context of the reader. - - - Hash set to keep track of all the parameters read from the payload. - - - Tracks the state of the sub-reader. - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - This method creates an to read the collection value when the state is ODataParameterReaderState.Collection. - - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - Returns an to read the collection value when the state is ODataParameterReaderState.Collection. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next item from the message payload. - - A task that when completed indicates whether more items were read. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - Returns the type reference of the parameter in question. - - Name of the parameter in question. - Returns the type reference of the parameter in question. - - - - Creates a new for the specified with the provided - and and pushes it on the stack of scopes. - - The to use for the new scope. - The paramter name to attach with the state in the new scope. - The paramter value to attach with the state in the new scope. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called when the a parameter was completed. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Gets the corresponding create reader method name for the given state. - - State in question. - Returns the name of the method to create the correct reader for the given state. - - - - Verifies that one of CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() can be called. - - The expected state of the reader. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - Verifies that an asynchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The name of the current parameter that is being read. - - - - - The value of the current parameter that is being read. - - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - The function import whose parameters are being read. - - - - Enum to track the state of the sub-reader. - - - No sub-reader has been created for the current parameter. - - - CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() has been called for the current parameter - and the newly created reader is not in Completed state. - If the sub-reader is in Error state, the ODataParameterReader will enter ODataParameterReaderState.Error. - - - The created sub-reader is in Completed state. - - - - A parameter reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The parameter name attached to this scope. - - - The parameter value attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The parameter name attached to this scope. - The parameter value attached to this scope. - - - - The reader state of this scope. - - - - - The parameter name attached to this scope. - - - - - The parameter value attached to this scope. - - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Represents a primitive property value. - - - - - Creates a new primitive value from the given CLR value. - - The primitive to wrap. - The primitive value should not be an instance of ODataValue. - - - - Gets the underlying CLR object wrapped by this . - - The underlying primitive CLR value. - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader with true async operations. - - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData readers. - - - - Reads the next from the message payload. - true if more items were read; otherwise false. - - - Asynchronously reads the next from the message payload. - A task that when completed indicates whether more items were read. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent that has been read. - The most recent that has been read. - - - The input to read the payload from. - - - true if the reader was created for reading a feed; false when it was created for reading an entry. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - The to use for entries in this feed. - Only applies when reading a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - - - Pushes the on the stack of scopes. - - The scope to enter. - - - - Replaces the current scope with the specified . - - The scope to replace the current scope with. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called to transition into the EntryEnd state. - - The scope for the EntryEnd state. - - - - If an entity type name is found in the payload this method is called to apply it to the current scope. - This method should be called even if the type name was not found in which case a null should be passed in. - The method validates that some type will be available as the current entity type after it returns (if we are parsing using metadata). - - The entity type name found in the payload or null if no type was specified in the payload. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Returns the current item as . Must only be called if the item actually is an entry. - - - - - Returns the current item as . Must only be called if the item actually is a feed. - - - - - Returns the current item as . Must only be called if the item actually is a navigation link. - - - - - Returns the current item as . Must only be called if the item actually is an entity reference link. - - - - - Returns the expected entity type for the current scope. - - - - - Returns the entity set for the current scope. - - - - - Returns the current scope. - - - - - Returns the scope of the entity owning the current link. - - - - - A flag indicating whether the reader is at the top level. - - - - - If the current scope is a content of an expanded link, this returns the parent navigation link scope, otherwise null. - - - - - True if we are reading an entry or feed that is the direct content of an expanded link. Otherwise false. - - - - - Set to true if a feed is being read. - - - - - Returns true if we are reading a nested payload, e.g. an entry or a feed within a parameters payload. - - - - - Validator to validate consistency of entries in top-level feeds. - - We only use this for top-level feeds since we support collection validation for - feeds only when metadata is available and in these cases we already validate the - types of the entries in nested feeds. - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The entity set we are going to read entities for. - The expected entity type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - EntityReferenceLink - it's null, no need for types on entity reference links. - In all cases the specified type must be an entity type. - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The entity set we are reading entries from (possibly null). - - - - - The entity type for this scope. Can be either the expected one if the real one - was not found yet, or the one specified in the payload itself (the real one). - - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - - - Asynchronously reads the next from the message payload. - - A task that when completed indicates whether more items were read. - The base class already implements this but only for fully synchronous readers, the implementation here - allows fully asynchronous readers. - - - - Simple ODataVersion specific cache. - - The type of the item being cached. - - - - Lazy constructing T for ODataVersion.V1. - - - - - Lazy constructing T for ODataVersion.V2. - - - - - Lazy constructing T for ODataVersion.V3. - - - - - Constructs an instance of the ODataVersionCache. - - The method to call to create a new instance of for a given ODataVersion. - - - - Indexer to get the cached item when given the ODataVersion. - - The ODataVersion to look up. - The cached item. - - - - Class that hanldes writing top level raw values to a stream. - - - - - Writer settings. - - - - - Underlying stream. - - - - - Encoding that the TextWriter should use. - - - - - TextWriter instance for writing values. - - - - - Initializes a new instance of the class. - Initializes the TextWriter. - - The writer settings. - The stream. It should be the same underlying stream the TextWriter uses. - The encoding to use in the text writer. - - - - Disposes the RawValueWriter. It flushes itself and then disposes its inner TextWriter. - - - - - Start writing a raw output. This should only be called once. - - - - - End the writing of a raw output. This should be the last thing called. - - - - - Converts the specified into its raw format and writes it to the output. - The value has to be of primitive type. Only one WriteRawValue call should be made before this object gets disposed. - - The (non-binary) value to write. - We do not accept binary values here; WriteBinaryValue should be used for binary data. - - - - Flushes the RawValueWriter. - The call gets pushed to the TextWriter (if there is one). In production code, this is StreamWriter.Flush, which turns into Stream.Flush. - In the synchronous case the underlying stream is the message stream itself, which will then Flush as well. - In the async case the underlying stream is the async buffered stream, which ignores Flush call. - - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Gets the text writer. - - - - - Class with utility methods to deal with values in ODataLib. - - - - - Converts an object to an ODataValue. If the given object is already an ODataValue (such as an ODataCompleValue, ODataCollectionValue, etc.), the original object will be returned. - - The object to convert to an ODataValue - The given object as an ODataValue. - - - - Converts an ODataValue to the old style of representing values, where null values are null and primitive values are just the direct primitive (no longer wrapped by ODataPrimitiveValue). - All other value types, such as ODataComplexValue and ODataCollectionValue are returned unchanged. - - The value to convert. - The value behind the given ODataValue. - - - - Represents a tree of selected properties based on the $select query option. - - - When reading, it controls the template expansion in JSON Light. - - - - The separator character used to separate property names in a path. - - - The separator character used to separate paths from each other. - - - Singleton which indicates that the nothing is selected. - - - Singleton which indicates that the entire subtree is selected. - - - An empty set of stream properties to return when nothing is selected. - - - An empty set of navigation properties to return when nothing is selected. - - - The type of the current node. - - - The list of selected properties at the current level. - - - A dictionary of property name to child nodes. - - - Indicates that this node had a wildcard selection and all properties at this level should be reported. - - - - Constructor. - - The string representation of the selected property hierarchy using - the same format as in the $select query option. - - - - Prevents a default instance of the class from being created. - - Type of the selection. - - - - Creates a node from the given raw $select query option value. - - The value of the $select query option. - A tree representation of the selected properties specified in the query option. - - - - Recursively combines the left and right nodes. Used when there are type segments present in the select paths which - causes there to be multiple children for the same property/navigation. - - The left node. - The right node. - The combined node. - - - - Gets the selected properties node for the specified navigation property. - - The current entity type. - The name of the navigation property. - The selected properties node for the property with name . - - - - Gets the selected navigation properties for the current node. - - The current entity type. - The set of selected navigation properties. - - - - Gets the selected stream properties for the current node. - - The current entity type. - The selected stream properties. - - - - Determines whether or not the given operation is selected and takes type-segments into account. - - The current entity type. - The operation. - Whether or not the operation name must be container qualified in the $select string. - - true if the operation is selected; otherwise, false. - - - - - Gets an enumerable containing the given type and all of its base/ancestor types. - - The starting entity type. Will be included in the returned enumeration. - An enumerable containing the given type and all of its base/ancestor types. - - - - Creates a new hash set for storing the names of selected properties. - - The initial set of selected properties to store in the hash set. - The hash set. - - - - Creates a new hash set for storing the names of selected properties. - - The hash set. - - - - Gets the possible identifiers that could cause the given operation to be selected. - - The operation. - Whether the operations must be container qualified. - The identifiers to look for in the $select string when determining if this action is selected. - - - - Gets the matching type segments for the given type based on this node's children. - - The entity type to match. - All child nodes which start with a type segment in the given types hierarchy. - - - - Parses the segments of a path in the select clause. - - The segments of the select path. - The index of the segment to parse. - - - - Ensures that a child annotation for the specified segment name already exists; if not creates one. - - The segment name to get the child annotation for. - The existing or newly created child annotation for the . - - - - Determines whether or not the given operation is selected without taking type segments into account. - - The operation. - Whether the operations must be container qualified. - - true if the operation is selected; otherwise, false. - - - - - Enum representing the different special cases of selection. - - - - - Represents the case where no properties are selected. - - - - - Represents the case where an entire subtree is selected. - - - - - The normal case where a partial subtree has been selected. - - - - - Class representing an annotation group in the JSON Light format. - - - - The name of the annotation group. - - - The (instance and property) annotations included in this annotation group. - - - - The name of the annotation group. - - The name has to be unique across the whole JSON Light payload. - - - - The (instance and property) annotations included in this annotation group. - - The keys in the dictionary are the names of the annotations, the values are their values. - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Tries to get a stream property of the specified name. - - The instance of the entity to get the stream property for. - The stream property name to find. - The stream property found. - true if the stream property was found or if the stream property name was null (default stream). - false if the stream property doesn't exist. - - - - Gets the the CLR value for a primitive property. - - The structured value. - Name of the property. - The clr value of the property. - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Class which holds information about navigation link to be reported by the reader. - - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link has a value (is expanded). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - List of entity reference links to be reported to the navigation link. - - - If the navigation link is a singleton this will hold up to 1 item. - If the navigation link is a collection this will hold any number of items. - When the entity reference link is reported it is removed from this list. - - - - - Constructor. - - The navigation link to report. - The navigation property for which the link will be reported. - true if the navigation link is expanded. - - - - Creates a navigation link info for a deferred link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded entry link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded feed link. - - The navigation link to report. - The navigation property for which the link will be reported. - The expanded feed for the navigation link to report. - The navigation link info created. - - - - Creates a navigation link info for a singleton entity reference link. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference link for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a collection of entity reference links. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference links for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a projected navigation link that is missing from the payload. - - The navigation property for which the link will be reported. - The navigation link info created. - - - - Gets the next entity reference link to report and removes it from the internal storage. - - The entity reference link to report or null. - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link is expanded (has a value). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - true if the link info has entity reference link which was not yet reported, false otherwise. - - - - - OData JsonLight deserializer for parameter payloads. - - - - - OData JsonLight deserializer for properties and value types. - - - - A sentinel value indicating a missing property value. - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JsonLight input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - An representing the read property. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - A task which returns an representing the read property. - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Gets and validates the type name annotation for the specified property. - - The duplicate property names checker in use for the entry content. - The name of the property to get the type name for. - The type name for the property or null if no type name was found. - - - - Tries to read an annotation as OData type name annotation. - - The annotation name on which value the reader is positioned on. - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - JsonNodeType.PrimitiveValue - the reader didn't move - JsonNodeType.StartObject - JsonNodeType.StartArray - - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - Reads the value of the odata.type annotation. - - The type name read from the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation, will fail if it's not PrimitiveValue - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - - - - - Reads top-level property payload property annotation value. - - The name of the property annotation. - The value of the annotation read. - - - - Tries to read an annotation as OData type name annotation. - - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.Property - the property that possibly is an odata.type instance annotation - Post-Condition: JsonNodeType.Property - the next property after the annotation or if the reader did not move - JsonNodeType.EndObject - end of the parent object - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - The duplicate property names checker to use. - An representing the read property. - - The method assumes that the ReadPayloadStart has already been called and it will not call ReadPayloadEnd. - - - - - Updates the expected type based on the metadata URI if there is one. - - The expected property type reference provided by the user through public APIs, or null if one was not provided. - The expected type reference updated based on the metadata uri, if there is one. - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartArray - Post-Condition: almost anything - the node after the collection value (after the EndArray) - - - - - Reads a primitive value. - - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The expected type reference of the value, or null if none is available. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: insideJsonObjectValue == false -> none - Fails if the current node is not a JsonNodeType.PrimitiveValue - insideJsonObjectValue == true -> JsonNodeType.Property or JsonNodeType.EndObject - the first property of the value object, - or the second property if first was odata.type, or the end-object. - Post-Condition: almost anything - the node after the primitive value. - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - this is always initialized as necessary, do not clear. - The value of the complex value. - - Pre-Condition: JsonNodeType.Property - the first property of the complex value object, or the second one if the first one was odata.type. - JsonNodeType.EndObject - the end object of the complex value object. - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the payload type name from a JSON object (if it exists). - - The duplicate property names checker to track the detected 'odata.type' annotation (if any). - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The value of the odata.type annotation or null if no such annotation exists. - true if a type name was read from the payload; otherwise false. - - Precondition: StartObject the start of a JSON object - Postcondition: Property the first property of the object if no 'odata.type' annotation exists as first property - or the first property after the 'odata.type' annotation. - EndObject for an empty JSON object or an object with only the 'odata.type' annotation - - - - - Detects whether we are currently reading a complex property or not. This can be determined from metadata (if we have it) - or from the presence of the odata.type instance annotation in the payload. - - The duplicate property names checker in use for the entry content. - The expected type reference of the property to read. - The type name of the complex value if found in the payload; otherwise null. - true if we are reading a complex property; otherwise false. - - This method does not move the reader. - - - - - Tries to read a top-level null value from the JSON reader. - - true if a null value could be read from the JSON reader; otherwise false. - If the method detects the odata.null annotation, it will read it; otherwise the reader does not move. - - - - Make sure that we don't find any other odata.* annotations or properties after reading a payload with the odata.null annotation or the odata.metadata annotation with value ending #Edm.Null - - The duplicate property names checker to use. - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - OData property annotation reader for parameter payloads. - OData property annotations are not supported in parameter payloads. - - - The JSON Light parameter reader. - - - - Constructor. - - The JSON Light parameter reader. - The JsonLight input context to read from. - - - - Reads the next parameter from the parameters payload. - - The duplicate property names checker used to read a parameter payload. - true if a parameter was read from the payload; otherwise false. - - Pre-Condition: Property or EndObject the property node of the parameter to read or the end object node if there are not parameters - Post-Condition: Property or EndObject the node after the property value of a primitive, complex or null collection parameter - Any the start of the value representing a non-null collection parameter (the collection reader will fail if this is not a StartArray node) - - - - - Parser for odata metadata URIs used in JSON Lite. - - - - The start of the select query option (including the '=' character). - - - The model to use when resolving the target of the URI. - - - The result of parsing the metadata URI. - - - - Initializes a new instance of the class. - - The model to use when resolving the target of the URI. - The metadata URI read from the payload. - - - - Creates a metadata URI parser and parses the metadata URI read from the payload. - - The model to use when resolving the target of the URI. - The string value of the odata.metadata annotation read from the payload. - The payload kind we expect the metadata URI to conform to. - The OData version to use for determining the set of built-in functions available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The result from parsing the metadata URI. - - - - Extracts the value of the $select query option from the specified fragment. - - The fragment to extract the $select query option from. - The value of the $select query option or null if none exists. - - - - Parses a metadata URI read from the payload into its parts. - - - - - Applies the model and validates the metadata URI against it. - - The payload kind we expect the metadata URI to conform to. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - - Parses the fragment of a metadata URI. - - The fragment to parse - Reader behavior if the caller is a reader, null if no reader behavior is available. - The OData version to use for determining the set of built-in functions available. - The detected payload kind based on parsing the fragment. - - - - Returns the parse results of the metadata uri if it has a AssociationLink in the uri - - Edm Type Resolver to determine entityset type element. - Number of split parts the metadata fragment is split into. - The actual metadata fragment parts. - The reader behavior. - The odata version. - Returns with an EntityReferenceLink or Links depending on the Uri, sets the parse results with the navigation, and set - - - - Set the EntityLinks Parse results. - - Navigation property to add to the results. - Single element string, used to confirm if this is an error case or not. - Returns ReferenceLink or Collection Link based on the navigation and at element - - - - Parses the fragment of an entity reference link metadata URI. - - Edm Type Resolver used to get the ElementType of the entity set. - Entity Set used as a starting point to find the navigation property - The name of the type declaring the navigation property. - The name of the navigation property. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved navigation property. - - - - Validate the Metadata Uri Fragment is @Element for a $links metadata uri, will throw a $links specific error - - Element selector. - - - - Validate the Metadata Uri Fragment is @Element for a non $links metadata uri, throws if its not correct - - Element selector. - - - - Resolves a navigation property name to an IEdmNavigationProperty. - - Entity Type to look for the navigation property on. - Navigation property name to find. - Returns the navigation property of throws an exception if it cannot be found. - - - - Resolves the entity set. - - The entity set part. - The resolved entity set. - Returns the OData Payload Kind - - - - Resolves an entity set with an optional type cast and updates the parse result. - - The entity set to resolve the type cast against. - The optional type cast. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type of the given entity set. - The resolved entity type. - - - - Resolves a type. - - The type name. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved Edm type. - - - - Interface representing a state of the JSON writer for entry. - - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entry being written. - - - - - The entity type for the entry (if available) - - - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - - - The serialization info for the current entry. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Constants for the JSON Lite format. - - - - The prefix for OData annotation names. - - - The separator of property annotations. - - - The value 'true' for the OData null annotation. - - - The 'value' property name for the Json Light value property. - - - The name of the property returned for a singleton $links query. - - - The name of the property returned for a URL of a workspace collection. - - - The name of the property returned for a name of a workspace collection. - - - The 'name' property name of an annotation group declaration. - - - The name of the $select query option. - - - The '=' character used to separate a query option name from its value. - - - The '&' separator character between query options. - - - The hash sign acting as fragment indicator in a metadata URI. - - - The slash sign used as separator in the fragment of a metadata URI. - - - The @Element token that indicates that the payload is a single item from a set. - - - The '(' used to mark the start of function parameters in the fragment of a metadata URI. - - - The ')' used to mark the end of function parameters in the fragment of a metadata URI. - - - The "," to use as the separator for the function parameters in the fragment of a metadata URI. - - - The token that indicates the payload is a property with null value. - - - - Builder class to construct the metadata pointers for the Json Light format for the various payload kinds. - - - - - Creates a metadata uri builder after validating user input. - - The JSON Light metadata level being written. - if set to true indicates that a response is being written. - The writer settings. - The Edm model instance. - The metadata uri builder to use while writing. - - - - Creates a metadata uri builder for the given base metadata document uri. - DEVNOTE: specifically for unit testing. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - A new metadata uri builder. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which uses a user-provided uri and $select clause. - - - - - The base metadata document uri and $select clause provided by the user. - - - - - The Edm model instance. - - - - - if set to true indicates that a response is being written. - - - - - Initializes a new instance of the class. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the metadata URI type name based on the given property. - - The property. - The type name for the metadata URI. - - - - Gets the entity set name for the metadata Uri. - - The entity set in question. - The model instance. - Returns the entity set name for the metadata Uri. - - - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - The entity set in question. - The eneity type in question. - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - - - - Creates the metadata URI for a type. - - The non-null, absolute metadata document URI. - The fully qualified type name to create the metadata URI for. - Returns the metadata URI for a value based on its type. - - - - Creates the metadata URI for a feed or entry. - - The non-null, absolute metadata document URI. - The Edm model instance. - The context object to answer basic questions regarding the type of the entry or feed. - true if the metadata URI is built for an entry, false if the metadata URI is built for a feed. - true if the metadata URI is for a response payload, false if the metadata URI is for a request payload. - Returns the metadata URI for the feed or entry. - - - - Creates the metadata URI for an entity set. - - The non-null, absolute metadata document URI. - The fully qualified entity set name for which to create the metadata URI. - The fully qualified entity type name of the entries in the result. This has to be an entity type derived - from the result entity set's base type or null to use its base type. - Navigation Property name to create a $link metadata uri to, if not null a $link uri will be created - true to append the '@Element" item selector at the end of the metadata URI; otherwise false. - The metadata URI for the . - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which never actually builds anything. Used for the case where 'nometadata' is explicitly requested in the media type. - - - - - Singleton instance of . - - - - - Prevents a default instance of the class from being created. - - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - The result of parsing an OData metadata URI in JSON Lite. - - - - The metadata URI read from the payload in its unparsed form. - - - The metadata document URI as read from the payload. - - - The fragment portion of the metadata URI. - - - The $select query option. - - - The resolved entity set as specified in the metadata URI. - - - The resolved structured type as specified in the metadata URI. - - - The navigation property as specified in the metadata URI. - - - The detected payload kinds from parsing the metadata URI. - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - Initializes a new instance of the class. - - The metadata URI read from the payload in its unparsed form. - - - - The metadata URI read from the payload in its unparsed form. - - - - - The metadata document URI as read from the payload. - - This is the metadata URI as read from the payload without the fragment. - - - - The fragment portion of the metadata URI. - - - - - The $select query option. - - - - - The resolved entity set as specified in the metadata URI. - - - - - The resolved structured type as specified in the metadata URI. - - - - - The navigation property as specified in the metadata URI. - - - - - The detected payload kinds from parsing the metadata URI. - - - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - - Reader for the JSON Lite format that supports look-ahead and re-ordering of payloads. - - - - - Reader for the JSON format (http://www.json.org) that supports look-ahead. - - - - - Reader for the JSON format. http://www.json.org - - - - - The initial size of the buffer of characters. - - - 4K (page size) divided by the size of a single character 2 and a little less - so that array structures also fit into that page. - The goal is for the entire buffer to fit into one page so that we don't cause - too many L1 cache misses. - - - - - Maximum number of characters to move in the buffer. If the current token size is bigger than this, we will allocate a larger buffer. - - This threshold is copied from the XmlReader implementation. - - - - The text which every date time value starts with. - - - - - The text which every date time value ends with. - - - - - The text reader to read input characters from. - - - - - Stack of scopes. - - - At the begining the Root scope is pushed to the stack and stays there for the entire parsing - (so that we don't have to check for empty stack and also to track the number of root-level values) - Each time a new object or array is started the Object or Array scope is pushed to the stack. - If a property inside an Object is found, the Property scope is pushed to the stack. - The Property is popped once we find the value for the property. - The Object and Array scopes are popped when their end is found. - - - - true if annotations are allowed and thus the reader has to - accept more characters in property names than we do normally; otherwise false. - - - true if the reader should recognize ASP.NET JSON DateTime and DateTimeOffset format "\/Date(...)\/". - false if the reader should not recognize such strings and read them as arbitrary string. - - - - End of input from the reader was already reached. - - This is used to avoid calling Read on the text reader multiple times - even though it already reported the end of input. - - - - Buffer of characters from the input. - - - - - Number of characters available in the input buffer. - - This can have value of 0 to characterBuffer.Length. - - - - Index into the characterBuffer which points to the first character - of the token being currently processed (while in the Read method) - or of the next token to be processed (while in the caller code). - - This can have value from 0 to storedCharacterCount. - - - - The last reported node type. - - - - - The value of the last reported node. - - - - - Cached string builder to be used when constructing string values (needed to resolve escape sequences). - - The string builder instance is cached to avoid excessive allocation when many string values with escape sequences - are found in the payload. - - - - Constructor. - - The text reader to read input characters from. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Determines if a given character is a whitespace character. - - The character to test. - true if the is a whitespace; false otherwise. - Note that the behavior of this method is different from Char.IsWhitespace, since that method - returns true for all characters defined as whitespace by the Unicode spec (which is a lot of characters), - this one on the other hand recognizes just the whitespaces as defined by the JSON spec. - - - - Parses a date time primitive value. - - The string value to parse. - The parsed date time value, or null if the string value doesn't represent a date time value. - - - - Parses a "value", that is an array, object or primitive value. - - The node type to report to the user. - - - - Parses a property name and the colon after it. - - The node type to report to the user. - - - - Parses a primitive string value. - - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses a primitive string value. - - Set to true if the first character in the string was a backslash. This is used when parsing DateTime values - since they must start with an escaped slash character (\/). - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses the null primitive value. - - Always returns null if successful. Otherwise throws. - Assumes that the current token position points to the 'n' character. - - - - Parses the true or false primitive values. - - true of false boolean value if successful. Otherwise throws. - Assumes that the current token position points to the 't' or 'f' character. - - - - Parses the number primitive values. - - Int32 or Double value if successful. Otherwise throws. - Assumes that the current token position points to the first character of the number, so either digit, dot or dash. - - - - Parses a name token. - - The value of the name token. - Name tokens are (for backward compat reasons) either - - string value quoted with double quotes. - - string value quoted with single quotes. - - sequence of letters, digits, underscores and dollar signs (without quoted and in any order). - - - - Called when end of input is reached. - - Always returns false, used for easy readability of the callers. - - - - Creates a new scope of type and pushes the stack. - - The scope type to push. - - - - Pops a scope from the stack. - - - - - Pops a property scope if it's present on the stack. - - - - - Skips all whitespace characters in the input. - - true if a non-whitespace character was found in which case the tokenStartIndex is pointing at that character. - false if there are no non-whitespace characters left in the input. - - - - Ensures that a specified number of characters after the token start is available in the buffer. - - The number of character after the token to make available. - true if at least the required number of characters is available; false if end of input was reached. - - - - Consumes the characters starting at the start of the token - and returns them as a string. - - The number of characters after the token start to consume. - The string value of the consumed token. - - - - Reads more characters from the input. - - true if more characters are available; false if end of input was reached. - This may move characters in the characterBuffer, so after this is called - all indeces to the characterBuffer are invalid except for tokenStartIndex. - - - - The value of the last reported node. - - This is non-null only if the last node was a PrimitiveValue or Property. - If the last node is a PrimitiveValue this property returns the value: - - null if the null token was found. - - boolean if the true or false token was found. - - string if a string token was found. - - DateTime if a string token formatted as DateTime was found. - - Int32 if a number which fits into the Int32 was found. - - Double if a number which doesn't fit into Int32 was found. - If the last node is a Property this property returns a string which is the name of the property. - - - - - The type of the last node read. - - - - - Various scope types for Json writer. - - - - - Root scope - the top-level of the JSON content. - - This scope is only once on the stack and that is at the bottom, always. - It's used to track the fact that only one top-level value is allowed. - - - - Array scope - inside an array. - - This scope is pushed when [ is found and is active before the first and between the elements in the array. - Between the elements it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Object scope - inside the object (but not in a property value). - - This scope is pushed when { is found and is active before the first and between the properties in the object. - Between the properties it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Property scope - after the property name and colon and througout the value. - - This scope is pushed when a property name and colon is found. - The scope remains on the stack while the property value is parsed, but once the property value ends, it's immediately removed - so that it doesn't appear on the stack after the value (ever). - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - Get/Set the number of values found under the current scope. - - - - - Gets the scope type for this scope. - - - - The (possibly empty) list of buffered nodes. - This is a circular linked list where this field points to the first item of the list. - - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - - The maximumum number of recursive internalexception objects to allow when reading in-stream errors. - - - - The name of the property that denotes an in-stream error. - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - - Debug flag to ensure we do not re-enter the instance while reading ahead and trying to parse an in-stream error. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Constructor. - - The text reader to read input characters from. - The name of the property that denotes an in-stream error. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Puts the reader into the state where it buffers read nodes. - - - - - Creates a bookmark at the current position of the reader. - - The bookmark object, it should be treated as a black box by the caller. - - - - Moves the reader to the bookmarked position. - - The bookmark object to move to. - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - A method to detect whether the current property value represents an in-stream error. - - The read from the payload. - true if the current value is an in-stream error value; otherwise false. - - - - Reads the next node from the input. If we have still nodes in the buffer, takes the node - from there. Otherwise reads a new node from the underlying reader and buffers it (depending on the current mode). - - true if a new node was found, or false if end of input was reached. - - If the parsingInStreamError field is false, the method will read ahead for every StartObject node read from the input to check whether the JSON object - represents an in-stream error. If so, it throws an . If false, this check will not happen. - This parsingInStremError field is set to true when trying to parse an in-stream error; in normal operation it is false. - - - - - Called whenever we find a new object value in the payload. - The base class implementation reads ahead and tries to parse it as an in-stream error payload. If it finds one it will throw it. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads the next node from the JSON reader and if a start-object node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Try to read an error structure from the stream. Return null if no error structure can be read. - - An instance that was read from the reader or null if none could be read. - true if an instance that was read; otherwise false. - - - - Try to read the message property value of an error value. - - An instance to set the read message property values on. - true if the message property values could be read; otherwise false. - - - - Try to read an inner error property value. - - An instance that was read from the reader or null if none could be read. - The number of times this method has been called recursively. - true if an instance that was read; otherwise false. - - - - Reads the string value of a property. - - The string value read if the method returns true; otherwise null. - true if a string value (or null) was read as property value of the current property; otherwise false. - - - - Skips over a JSON value (primitive, object or array) while parsing in-stream errors. - Note that the SkipValue extension method can not be used in this case as this method has to - access the base instance's NodeType and call ReadInternal. - - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Removes the head node from the buffer. - - - - - The type of the last node read. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - The value of the last reported node. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Private class used to buffer nodes when reading in buffering mode. - - - - The type of the node read. - - - The value of the node. - - - - Constructor. - - The type of the node read. - The value of the node. - - - - The type of the node read. - - - - - The value of the node. - - - - - The previous node in the list of nodes. - - - - - The next node in the list of nodes. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Buffers and re-orders an object value for later consumption by the JsonLight reader. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads a property name from the JSON reader and determines if it's a regular property, an instance annotation or a property annotation. - - The name of the regular property which the reader is positioned on or which a property annotation belongs to. - The name of the instance or property annotation, or null if the reader is on a regular property. - - - - Reads over a value buffering it. - - - - - A data structure to represent the buffered object with information about its properties, - their order and annotations. - - - - The cache for properties. - The key is the property or instance annotation name, - the value are the buffered properties grouped by property name (incl. annotation properties). - - - The set of data property names. - Data properties are the properties that are neither an instance annotation property nor a property annotation. - - - A list of property names with their annotation name. - This is needed to properly maintain the relative order of annotation properties if no data - property for the annotation property exists in the object. - - - - Constructor. - - - - - Adds a new buffered property to the list of buffered properties for this object. - - The name of the data property (null for instance annotations). - The name of the annotation (null for data properties). - The buffered property to add. - - - - Reorders the buffered properties to conform to the required payload order. - - The required order is: odata.metadata comes first, odata.type comes next, then all odata.* property annotations - and finally, we preserve the relative order of custom annotations and data properties. - - - - Sort the data properties and property annotations stored for a particular property name. - - The list of buffered properties to sort. - The sorted enumerable of buffered properties. - The sort order is for all odata.* property annotations to come before the data property - but otherwise preserve the relative order of custom property annotations with regard to the position of the data property. - - - - Checks whether an annotation name is an odata.* annotation. - - The annotation name to check. - true if the annotation name represents an odata.* annotation; otherwise false. - - - - Checks whether an annotation name is a odata.metadata annotation. - - The annotation name to check. - true if the annotation name represents an odata.metadata annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroup annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroup annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroupReference annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroupReference annotation; otherwise false. - - - - Checks whether an annotation name is a odata.type annotation. - - The annotation name to check. - true if the annotation name represents an odata.type annotation; otherwise false. - - - - Checks whether an annotation name is a odata.id annotation. - - The annotation name to check. - true if the annotation name represents an odata.id annotation; otherwise false. - - - - Checks whether an annotation name is a odata.etag annotation. - - The annotation name to check. - true if the annotation name represents an odata.etag annotation; otherwise false. - - - - Sorts the property names for an object. - - The sorted enumerable of property names. - The sort order is to put odata.metadata first, then odata.type, odata.id, and odata.etag, followed by all other odata.* instance annotations. - For the rest, we preserve the relative order of custom annotations with regard to the data property. - Note that we choose the position of the first property annotation in cases where no data property for a set of - property annotations exists. - - - - The node in the linked list of buffered nodes where this object starts. - - - - - The current buffered property being processed. - - - - - A data structure to represent a buffered property. - - - - - Reorders the buffered property to be positioned after the node. - - The node after which to insert this buffered property. - - - - The annotation name for this buffered property (either instance annotation or property annotation). - - - - - The node in the linked list of buffered nodes that represents the property name of the buffered property. - - - - - The node in the linked list of buffered nodes that represents the end of the property value of the buffered property. - - - - - Interface representing a context necessary for reading JSON operations values. - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - Base class for all JSON output contexts. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The text writer created for the output stream. - - - The JSON writer to write to. - This field is also used to determine if the output context has been disposed already. - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the which is to be used to write the content of the message. - - - - - Helper methods used by the OData reader for the Verbose JSON and JSON Light formats. - - - - - Try and parse spatial type from the json payload. - - The JSON reader to read from. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - Expected edm property type. - true to validate null values; otherwise false. - The recursion depth to start with. - The name of the property whose value is being read, if applicable (used for error reporting). - An instance of the spatial type. - - - - Tries to read a null value from the JSON reader. - - The JSON reader to read from. - The input context with all the settings. - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - true if a null value could be read from the JSON reader; otherwise false. - If the method detects a null value it will read it (position the reader after the null value); - otherwise the reader does not move. - - - - Reads the json object value from the jsonReader - - Json reader to read payload from the wire. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - The recursion depth to start with. - an instance of IDictionary containing the spatial value. - - - - Read the json array from the reader. - - JsonReader instance. - The input context with all the settings. - The recursion depth to start with. - a list of json objects. - - - - Reader for the JSON format that supports look-ahead and deduplicates properties. - - - This reader will buffer the entire object record whenever it finds the start of the object record. - It then goes through all its properties and removes duplicates. - It then reports the object record as if there were no duplicates in it. - If there was a duplicate property it will be reported at the position the first occurence of the property was found - but with the value of the last occurence. - This is to implement WCF DS Server compatibility behavior. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Removes duplicate properties in the current object record. - - - This method assumes that we are buffering and that the current buffered node is a StartObject. - It then goes, buffers the entire object record (and all its children) and removes duplicate properties (using the WCF DS Server algorithm). - It will remove duplicate properties on any objects in the subtree of the top-level object as well (behaves recursively). - The method also checks for in-stream errors and throws if it finds one. - - - - - Private class used to store information necessary to deduplicate properties of a single JSON object record. - - - This class is a dictionary - Key is the name of a property in the object record. - Value is a list of property deduplication records in the order we find the properties in the payload. - - - - - Points to the property record which is currently being constructed. - - - - - Private class used to store information necessary to deduplicate a single JSON property. - - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - - - Constructor. - - The property node to create the record for. - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - Observation: Even if the value itself is an object for which we will do the property deduplication and thus we will shuffle its nodes around, - in that case the last value node will point to the end object node which will not change during the deduplication process. - - - - - Annotation which stores the EDM type information of a value. - - - This annotation will be used on ODataEntry, ODataComplexValue and ODataCollectionValue. - - - - The EDM type of the value this annotation is on. - - - The entity set of the value this annotation is on. Only applies to entity values. - - - - Creates a new instance of the type annotation for an entity value. - - The entity set the entity belongs to (required). - The entity type of the entity value if not the base type of the entity set (optional). - - - - Creates a new instance of the type annotation for a complex value. - - The type of the complex value (required). - - - - Creates a new instance of the type annotation for a collection value. - - The type of the collection value (required). - - - - The EDM type of the value. - - - - - The entity set the value belongs to (only applies to entity values). - - - - - An implementation of an OData collection value. - - - - - The to convert into an . - - - - - Creates a new instance of an . - - The to create the collection value for. - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - An implementation of an OData entry or complex value. - - - - Static, un-typed instance for use in ODataLib. - - - - Creates a new Edm null value with the specified type. - - The type of the null value (if available). - - - - Gets the kind of this value. - - - - - Class with utility methods to deal with EDM values over OData OM instances. - - - - - Converts an into the corresponding . - - The non-null to convert. - The declaring type of the property. - An implementation of the value. - - - - Converts an OData value into the corresponding . - - The value to convert. - The of the value or null if no type reference is available. - An implementation of the . - - - - An implementation of an OData entry or complex value. - - - - Properties of an OData entry or complex value. - - - The type of this structured value. - - - - Creates a new Edm structured value from an OData entry. - - The to create the structured value for. - - - - Creates a new Edm structured value from an OData complex value. - - The to create the structured value for. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Interface representing a state of the JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. May be null. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - OData JsonLight deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - The duplicate property names checker used to keep track of the properties and annotations - in the collection wrapper object. - true if we are reading a nested collection inside a paramter payload; otherwise false. - The expected item type reference or null if none is expected. - The validated actual item type reference (if specified in the payload) or the expected item type reference. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: Any: the start of a nested collection value; if this is not a 'StartArray' node this method will fail. - JsonNodeType.Property: the first property of the collection wrapper object after the metadata URI. - JsonNodeType.EndObject: when the collection wrapper object has no properties (other than the metadata URI). - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level instance annotations. - - true if we are reading a nested collection inside a paramter payload; otherwise false. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: All of the collection payload has been consumed. - - - - - OData collection reader for the JsonLight format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the collection reader logic when in state 'Start'. - - Task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - Task which returns true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Task which should return false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the collection reader logic when in state 'Start'. - - The duplicate property names checker for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - OData JsonLight serializer for collections. - - - - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - - Writes the start of a collection. - - The collection start to write. - The item type of the collection or null if no metadata is available. - - - - Writes the end of a collection. - - - - - ODataCollectionWriter for the JsonLight format. - - - - - Base class for OData collection writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData collection writers. - - - - Start writing a collection. - The representing the collection. - - - Asynchronously start writing a collection. - A task instance that represents the asynchronous write operation. - The representing the collection. - - - Starts writing an entry. - The collection item to write. - - - Asynchronously start writing a collection item. - A task instance that represents the asynchronous write operation. - The collection item to write. - - - Finishes writing a collection. - - - Asynchronously finish writing a collection. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - An interface that allows the implementations of the writers to get notified if an in-stream error is to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - The output context to write to. - - - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - Stack of writer scopes to keep track of the current context of the writer. - - - The expected type of the items in the collection or null if no expected item type exists. - - - Checker to detect duplicate property names on complex collection items. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a collection. - - The representing the collection. - - - - Asynchronously start writing a collection. - - The representing the collection. - A task instance that represents the asynchronous write operation. - - - - Write a collection item. - - The collection item to write. - - - - Asynchronously start writing a collection item. - - The collection item to write. - A task instance that represents the asynchronous write operation. - - - - Finish writing a collection. - - - - - Asynchronously finish writing a collection. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - The representing the collection. - - - - Start writing a collection - implementation of the actual functionality. - - The representing the collection. - - - - Verify that calling WriteItem is valid. - - true if the call is to be synchronous; false otherwise. - - - - Write a collection item - implementation of the actual functionality. - - The collection item to write. - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a collection - implementation of the actual functionality. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Notifies the implementer of the interface of relevant state changes in the writer. - - The new writer state. - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - The item associated with the new state. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - The current state of the writer. - - - - Checker to detect duplicate property names on complex collection items. - - - - The collection validator instance. - - - - - The item type of the collection being written or null if no metadata is available. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer has started writing and is writing the wrapper elements for the - collection items (if any). No or all items have been written. - - - - The writer is in a state where collection items can be written. - - - The writer has completed; nothing can be written anymore. - - - Writer has written an error; nothing can be written anymore. - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - - The output context to write to. - - - - - The JsonLight collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - OData JsonLight deserializer for entity reference links. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - An representing the read entity reference link. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - A task which returns an representing the read entity reference link. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read entity reference link. - - - - Reads the entity reference link instance annotations. - - The to read the annotations for. - The duplicate property names checker for the entity reference links scope. - true when parsing the instance annotations before the 'value' property; - false when parsing the instance annotations after the 'value' property. - - Pre-Condition: JsonNodeType.Property The first property in the payload (or the first property after the metadata URI in responses) - JsonNodeType.EndObject The end of the entity reference links object - Post-Condition: JsonNodeType.EndObject When the end of the entity reference links object is reached - Any The first node of the value of the 'url' property (if found) - - - - - Reads the odata.nextlink value of an entity reference links nextlink annotation. - - The entity reference links to read the next link value for; the value of the nextlink will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of an entity reference links count annotation. - - The entity reference links to read the count value for; the value of the count will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Read an entity reference link. - - The duplicate property names checker to check for duplicate properties and - duplicate annotations; this is a separate instance per entity reference link. - true if we are reading a singleton entity reference link at the top level; false if we are reading - an entity reference link as part of a collection of entity reference links. - An instance of which was read. - - Pre-Condition: StartObject when the entity reference link is part of a collection - Property the first property in the entity reference link (for a top-level link) - EndObject the end object node of an entity reference link (for a top-level link) - Post-Condition: EndInput for a top-level object - EndArray for the last link in a collection of links - Any for the first node of the next link in a collection of links - - - - - OData JsonLight serializer for entity reference links. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - true if the entity reference link being written is at the top level of the payload. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes the next link property, which consists of the property name and value. - - The non-null value of the next link to write. - - - - Writes the odata.count property, which consists of the property name and value. - - The value of the count property to write. - - - - OData JsonLight deserializer for entries and feeds. - - - - The annotation group deserializer for reading annotation groups. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of the JSON array for the content of the feed. - - - Pre-Condition: JsonNodeType.StartArray: The start of the feed property array; this method will fail if the node is anything else. - Post-Condition: JsonNodeType.StartObject: The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of the array containing the feed content. - - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.Property if the feed is part of an expanded navigation link and there are more properties in the object - JsonNodeType.EndObject if the feed is a top-level feed or the expanded navigation link is the last property of the payload - - - - - Reads the entry type name annotation (odata.type) - - The state of the reader for entry to read. - - Pre-Condition: JsonNodeType.Property The first property after the odata.metadata in the entry object. - JsonNodeType.EndObject End of the entry object. - Post-Condition: JsonNodeType.Property The property after the odata.type (if there was any), or the property on which the method was called. - JsonNodeType.EndObject End of the entry object. - - This method fills the ODataEntry.TypeName property if the type name is found in the payload. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.Property If we've read a deferred link (this is the property after the deferred link) - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null - - - - - Validates entry metadata. - - The entry state to use. - - - - Reads the feed instance annotations for a top-level feed. - - The to read the instance annotations for. - The duplicate property names checker for the top-level scope. - true when parsing the instance annotations before the feed property; - false when parsing the instance annotations after the feed property. - true if we should scan ahead for the annotations and ignore the actual data properties (used with - the reordering reader); otherwise false. - - - - Reads a value of property annotation on the entry level. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property annotation - - - - - Reads an annotation group if one exists, and updates the given entry with the annotations from the annotation group. - - The state for the entry which should get the annotations. - - - - Reads instance annotation in the entry object. - - The name of the instance annotation found. - true if a non-annotation property has already been encountered. - true if the 'odata.type' annotation has already been encountered, or should have been by now. - The duplicate property names checker for the entry being read. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads instance annotation in the entry object. - - The state of the reader for entry to read. - The name of the instance annotation found. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of the instance annotation. - - The duplicate property names checker instance. - The name of the instance annotation. - Returns the value of the instance annotation. - - - - Reads the value of a feed annotation (count or next link). - - The name of the annotation found. - The feed to read the annotation for; if non-null, the annotation value will be assigned to the feed. - The duplicate property names checker instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the annotation - Post-Condition: JsonNodeType.EndObject The end of the feed object - JsonNodeType.Property The next annotation after the current annotation - - - - - Reads entry property which doesn't have value, just annotations. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.EndObject The end of the entry object. - JsonNodeType.Property The property after the one we're to read. - Post-Condition: JsonNodeType.EndObject This method doesn't move the reader. - JsonNodeType.Property - - - - - Reads any next link annotation immediately after the end of a feed. - - The feed being read. - The information about the expanded link. This must be non-null if we're reading an expanded feed, and must be null if we're reading a top-level feed. - The top-level duplicate property names checker, if we're reading a top-level feed. - - - - Reads the information of a deferred link. - - The state of the reader for entry to read. - The name of the navigation property for which to read the deferred link. - The navigation property for which to read the deferred link. This can be null. - Returns the navigation link info for the deferred navigation link read. - - This method doesn't move the reader. - - - - - Reads expanded entry navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads expanded feed navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads entity reference link for a singleton navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference link. - true if the navigation link is expanded. - The navigation link info for the entity reference link read. - - This method doesn't move the reader. - - - - - Reads entity reference links for a collection navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference links. - true if the navigation link is expanded. - The navigation link info for the entity reference links read. - - This method doesn't move the reader. - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Checks if there is a next link annotation immediately after an expanded feed, and reads and stores it if there is one. - We fail here if we encounter any other property annotation for the expanded navigation (since these should come before the property itself). - - The feed that was just read. - The information for the current expanded navigation link being read. - - - - Applies the all the annotations from the given annotation group to an entry. - - The state for the entry which should get the annotations. - The annotation group to apply. - - - - Sets specified media resource on an entry and hooks up metadata builder. - - The entry state to use. - The media resource to set. - - - - Reads entry property (which is neither instance nor property annotation) which has a value. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Read an entry-level data property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - The type name specified for the property in property annotation, or null if no such type name is available. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: JsonNodeType.PrimitiveValue: propertyWithValue is true and the reader is positioned on the first node of the property value. - JsonNodeType.StartObject: - JsonNodeType.StartArray: - JsonNodeType.Property: propertyWithValue is false and the reader is positioned on the node after the property. - JsonNodeType.EndObject: - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link info instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value from the property annotations. - - The state of the reader for entry to read. - The name of the stream property to read the value for. - The newly created stream reference value. - - - - Reads one operation for the entry being read. - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - true if the operation value is inside an array, i.e. multiple targets for the operation; false otherwise. - - Pre-Condition: JsonNodeType.StartObject: first node of the operation value. - Post-Condition: JsonNodeType.Property: the property after the current operation being read when there is one target for the operation. - JsonNodeType.StartObject: the first node of the next operation value when there are multiple targets for the operation. - JsonNodeType.EndArray: the end-array of the operation values when there are multiple target for the operation. - - - - - Sets the metadata builder for the operation. - - The state of the reader for entry to read. - The operation to set the metadata builder on. - - - - Creates a new instance of ODataAction or ODataFunction for the . - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - A new instance of ODataAction or ODataFunction for the . - - - - Read the metadata reference property value for the entry being read. - - The state of the reader for entry to read. - The name of the metadata reference property being read. - - Pre-Condition: JsonNodeType.Property: first node of the metadata reference property's value. Currently - actions and functions are the only supported metadata reference property, - we will throw if this is not a start object or start array node. - Post-Condition: JsonNodeType.Property: the property after the annotation value - JsonNodeType.EndObject: the end-object of the entry - - - - - Validates that we can read metadata reference property. - - - - - Validates that the value of a JSON property can represent expanded navigation link. - - true if the property is entity set reference property; false for a resource reference property, null if unknown. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData JsonLight serializer for entries and feeds. - - - - - OData JsonLight serializer for properties. - - - - - Serializer to use to write property values. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Test to see if is an open property or not. - - The property in question. - The owning type of the property. - The metadata of the property. - true if the property is an open property; false if it is not, or if openness cannot be determined - - - - Writes a name/value pair for a property. - - The property to write out. - The owning type for the or null if no metadata is available. - true when writing a top-level property; false for nested properties. - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property. - - The name of the property to write. - The stream reference value to be written - - - - Writes the type name on the wire. - - Name of the property. - Type name of the property. - true when writing a top-level property; false for nested properties. - - - - Gets the json light value writer. - - - - A map from annotation group name to annotation group for all annotation groups - encountered so far in this payload. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes an annotation group declaration or annotation group reference if specified for the entry. - - The entry to write the annotation group declaration or reference for. - - - - Writes the metadata properties for an entry which can only occur at the start. - - The entry state for which to write the metadata properties. - - - - Writes the metadata properties for an entry which can occur both at the start or at the end. - - The entry state for which to write the metadata properties. - - This method will only write properties which were not written yet. - - - - - Writes the metadata properties for an entry which can only occur at the end. - - The entry state for which to write the metadata properties. - The duplicate names checker for properties of this entry. - - - - Writes the navigation link metadata. - - The navigation link to write the metadata for. - The checker instance for duplicate property names. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - true when writing the entry's actions; false when writing the entry's functions. - - - - Tries to writes the metadata URI property for an entry into the payload if one is available. - - The context object to answer basic questions regarding the type of the entry. - - - - Tries to writes the metadata URI property for a feed into the payload if one is available. - - The context object to answer basic questions regarding the type of the feed. - - - - Writes an association link property annotation. - - The name of the navigation property for which to write the association link. - The association link URL to write. - - - - Gets the metadata reference fragment from the operation metadata uri. - i.e. if the operation metadata uri is {absolute metadata document uri}#{container-qualified-operation-name}, - this method will return #{container-qualified-operation-name}. - - Operation in question. - The metadata reference fragment from the operation metadata uri. - - - - Returns the target uri string from the given operation. - - Operation in question. - Returns the target uri string from the given operation. - - - - Validates a group of operations with the same Metadata Uri. - - Operations to validate. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Gets the base Uri of the metadata document uri, if it has been set. - - - - - OData JsonLight deserializer for errors. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - A task which returns an representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.Property - The first property of the top level object. - JsonNodeType.EndObject - If there are no properties in the top level object. - any - Will throw if anything else. - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads all the properties in a single JSON object scope, calling for each non-annotation property encountered. - - - An action which takes the name of the current property and processes the property value as necessary. - At the start of this action, the reader is positioned at the property value node. - The action should leave the reader positioned on the node after the property value. - - - - This method should only be used for scopes where we allow (and ignore) annotations in a custom namespace, i.e. scopes which directly correspond to a class in the OM. - - Pre-Condition: JsonNodeType.StartObject - The start of the JSON object being processed. - any - Will throw if not StartObject. - Post-Condition: any - The node after the EndObject node for the JSON object being processed. - - - - - Reads a value of property annotation on an error payload. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code, or throw if ther is something unexpected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the error object - JsonNodeType.Property The next property after the property annotation - - - - - Reads the JSON object which is the value of the "odata.error" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "odata.error" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "odata.error" object's EndNode. - - - - - Reads the JSON object which is the value of the "message" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "message" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "message" object's EndNode. - - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: JsonNodeType.StartObject - The start of the "innererror" object. - any - will throw if not StartObject. - Post-Condition: any - The node after the "innererror" object's EndNode. - - - - - Reads a property value which occurs in the "innererror" object scope. - - The number of parent inner errors for this inner error. - The object to update with the data from this property value. - The name of the property whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "innererror" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "odata.error" object scope. - - The object to update with the data from this property value. - The name of the property whose value is to be read. - DuplicatePropertyNamesChecker to use for extracting property annotations - targetting any custom instance annotations on the error. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "odata.error" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "message" object scope. - - The object to update with the data from this property value. - The name of the propety whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "message" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - The JsonLight OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Implementation of the OData input for JsonLight OData format. - - - - - Base class for all input contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this input context. - - - The message reader settings to be used for reading. - - - The protocol version to use when reading the payload. - - - Set to true if this context is reading a response payload. - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The model to use. - - - The type resolver to use. - - - Set to true if the input was disposed. - - - - Constructor. - - The format for this input context. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - The newly created . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly created . - - - - Create a . - - The batch boundary to use. - The newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Check if the object has been disposed. - - If the object has already been disposed. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Method to use the custom URL resolver to resolve a base URI and a payload URI. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Disposes the input context. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message reader settings to be used for reading. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being read. - - - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The type resolver to use. - - - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS client compatibility API behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - true if the default API behavior should be used; otherwise false. - - - - JSON Light specific state stored during payload kind detection. - - - The text reader created for the input stream. - - The ODataJsonLightInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The content type of the message to read. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - Constructor. - The format for this input context. - The reader to use. - The content type of the message to read. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Verifies that CreateEntryReader or CreateFeedReader can be called. - - The entity set we are going to read entities for. - The expected entity type for the entry/entries to be read. - - - - Verifies that CreateCollectionReader can be called. - - The expected type reference for the items in the collection. - - - - Verifies that ReadEntityReferenceLink can be called. - - The navigation property for which to read the entity reference link. - - - - Verifies that ReadProperty can be called. - - - - - Verifies that DetectPayloadKind can be called. - - - - - Verifies that a user model is available for reading. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Returns the which is to be used to read the content of the message. - - - - - JSON Light specific state stored during payload kind detection. - - - - - JsonLight format output context. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The specific media type being written. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Creates a metadata uri builder for the current output context. - - The metadata uri builder to use when writing. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - OData parameter reader for the Json Light format. - - - - The input to read the payload from. - - - The parameter deserializer to read the parameter input with. - - - The duplicate property names checker to use for the parameter payload. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - ODataParameterWriter for the JsonLight format. - - - - - Base class for OData parameter writers that verifies a proper sequence of write calls on the writer. - - - - Base class for OData collection writers. - - - Start writing a parameter payload. - - - Asynchronously start writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Start writing a value parameter. - The name of the parameter to write. - The value of the parameter to write. - - - Asynchronously start writing a value parameter. - A task instance that represents the asynchronous write operation. - The name of the parameter to write. - The value of the parameter to write. - - - Creates an to write the value of a collection parameter. - The newly created . - The name of the collection parameter to write. - - - Asynchronously creates an to write the value of a collection parameter. - The asynchronously created . - The name of the collection parameter to write. - - - Finish writing a parameter payload. - - - Asynchronously finish writing a parameter payload. - A task instance that represents the asynchronous write operation. - - - Flushes the write buffer to the underlying stream. - - - Asynchronously flushes the write buffer to the underlying stream. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - The function import whose parameters will be written. - - - Stack of writer scopes to keep track of the current context of the writer. - - - Parameter names that have already been written, used to detect duplicate writes on a parameter. - - - Checker to detect duplicate property names on complex parameter values. - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a parameter payload. - - - - - Asynchronously start writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - Start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - - - - Asynchronously start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - A task instance that represents the asynchronous write operation. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The newly created . - - - - Asynchronously creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - A running task for the created writer. - - - - Finish writing a parameter payload. - - - - - Asynchronously finish writing a parameter payload. - - A task instance that represents the asynchronous write operation. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Writes a value parameter (either primitive or complex). - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Finish writing an OData payload. - - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - - - - Start writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the parameter with name can be written and returns the - type reference of the parameter. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling WriteValue is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The value of the parameter to write. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling CreateCollectionWriter is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The expected item type of the items in the collection or null if no item type is available. - - - - Gets the type reference of the parameter in question. Returns null if no function import was specified to the writer. - - The name of the parameter in question. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Write a value parameter - implementation of the actual functionality. - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - If an is specified, then this method ensures that all parameters present in the - function import are written to the payload. - - The binding parameter is optional in the payload. Hence this method will not check for missing binding parameter. - - - - Finish writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the current state is not Error or Completed. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Catch any exception thrown by the function passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The return type of . - The function to execute. - Returns the return value from executing . - - - - Enters the Error scope if we are not already in Error state. - - - - - Verifies that the transition from the current state into new state is valid and enter a new writer scope. - - The writer state to transition into. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Start' scope with a 'Completed' scope. - - Note that this method is never called once the writer is in 'Error' state. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - - - - Verify that the transition from the current state into new state is valid. - - The new writer state to transition into. - - - Checker to detect duplicate property names on complex parameter values. - - - - The current state of the writer. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer is in a state where the next parameter can be written. - The writer enters this state after WriteStart() or after the previous parameter is written. - - - - One of the create writer method has been called and the created sub writer is not in Completed state. - - - The writer has completed; nothing can be written anymore. - - - An error had occured while writing the payload; nothing can be written anymore. - - - - The output context to write to. - - - - - The JsonLight property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - OData JsonLight deserializer for detecting the payload kind of a JsonLight payload. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - A task which returns an enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - OData reader for the JsonLight format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - The scope associated with the top level of this payload. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'Start'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - A task which returns true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - A task which returns true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'Start'. - - The duplicate property names checker to use for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry or - reporting projected navigation links missing in the payload - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of the JSON array for the content of the feed and sets up the reader state correctly. - - The feed to read the contents for. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: The first node of the feed property value; this method will throw if the node is not - JsonNodeType.StartArray - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the end of the current feed. - - - - - Reads the start of an expanded entry (null or non-null). - - The navigation link that is being expanded. - - Pre-Condition: JsonNodeType.StartObject The start of the entry object - JsonNodeType.PrimitiveValue (null) The null entry value - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next, or the null value of the current null entry - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the start of an entry and sets up the reader state correctly - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: JsonNodeType.StartObject If the entry is in a feed - the start of the entry object - JsonNodeType.Property If the entry is a top-level entry and has at least one property - JsonNodeType.EndObject If the entry is a top-level entry and has no properties - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Reads the next item in a navigation link content in a request payload. - - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link info for the navigation link to start. - - - - Replaces the current scope with a new scope with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonLightFeedScope - - - - - Returns current scope cast to JsonLightNavigationLinkScope - - - - - A reader top-level scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type of the top-level entry or entries in the top-level feed. - In all cases the specified type must be an entity type. - - - - The duplicate property names checker for the top level scope represented by the current state. - - - - - A reader entry scope; keeping track of the current reader state and an item associated with this state. - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - Constructor creating a new reader scope. - - The reader state of the new scope that is being created. - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The duplicate property names checker for this entry scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - In all cases the specified type must be an entity type. - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - true if we have started processing missing projected navigation links, false otherwise. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - A reader feed scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - In all cases the specified type must be an entity type. - - - - The selected properties that should be expanded during template evaluation. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The navigation link info attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - The navigation link info for the navigation link to report. - This is only used on a StartNavigationLink scope in responses. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Determines if the specified is an OData annotation property name. - - The property name to test. - true if the property name is an OData annotation property name, false otherwise. - - - - Determines if the specified property name is a name of an annotation property. - - The name of the property. - true if is a name of an annotation property, false otherwise. - - This method returns true both for normal annotation as well as property annotations. - - - - - Validates that the annotation string value is valid. - - The value of the annotation. - The name of the (instance or property) annotation (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JsonLight. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - Object which is in sync with the property type. - - - - OData JsonLight deserializer for service documents. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - A task which returns an representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - The duplicate property names checker to use for the top-level scope. - An representing the read service document. - - Pre-Condition: JsonNodeType.Property The property right after the metadata URI property. - JsonNodeType.EndObject The EndObject of the service document. - Post-Condition: Any The node after the EndObject of the service document. - - - - - Reads a resource collection within a service document. - - The to use for parsing annotations within the resource collection object. - A representing the read resource collection. - - Pre-Condition: JsonNodeType.StartObject: The beginning of the JSON object representing the resource collection. - other: Will throw with an appropriate message on any other node type encountered. - Post-Condition: JsonNodeType.StartObject: The beginning of the next resource collection in the array. - JsonNodeType.EndArray: The end of the array. - other: Any other node type occuring after the end object of the current resource collection. (Would be invalid). - - - - - OData JsonLight serializer for service documents. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JsonLight format. - - The default workspace to write in the service document. - - - - Implementation of the ODataWriter for the JsonLight format. - - - - - Base class for OData writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData writers. - - - - Starts the writing of a feed. - The feed or collection to write. - - - Asynchronously start writing a feed. - A task instance that represents the asynchronous write operation. - The feed or collection to write. - - - Starts the writing of an entry. - The entry or item to write. - - - Asynchronously start writing an entry. - A task instance that represents the asynchronous write operation. - The entry or item to write. - - - Starts the writing of a navigation link. - The navigation link to write. - - - Asynchronously start writing a navigation link. - A task instance that represents the asynchronous write operation. - The navigation link to writer. - - - Finishes the writing of a feed, an entry, or a navigation link. - - - Asynchronously finish writing a feed, entry, or navigation link. - A task instance that represents the asynchronous write operation. - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - A task instance that represents the asynchronous write operation. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - The output context to write to. - - - True if the writer was created for writing a feed; false when it was created for writing an entry. - - - Stack of writer scopes to keep track of the current context of the writer. - - - - The to use for entries in this feed. - Only applies when writing a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Flushes the write buffer to the underlying stream. - - - - - Asynchronously flushes the write buffer to the underlying stream. - - A task instance that represents the asynchronous operation. - - - - Start writing a feed. - - Feed/collection to write. - - - - Asynchronously start writing a feed. - - Feed/collection to write. - A task instance that represents the asynchronous write operation. - - - - Start writing an entry. - - Entry/item to write. - - - - Asynchronously start writing an entry. - - Entry/item to write. - A task instance that represents the asynchronous write operation. - - - - Start writing a navigation link. - - Navigation link to write. - - - - Asynchronously start writing a navigation link. - - Navigation link to writer. - A task instance that represents the asynchronous write operation. - - - - Finish writing a feed/entry/navigation link. - - - - - Asynchronously finish writing a feed/entry/navigation link. - - A task instance that represents the asynchronous write operation. - - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - Asynchronously writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - A task instance that represents the asynchronous write operation. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Gets the projected properties annotation for the specified scope. - - The scope to get the projected properties annotation for. - The projected properties annotation for . - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing an OData payload. - - - - - Finish writing a feed. - - The feed to write. - - - - Write a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link into a navigation link content. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Gets the serialization info for the given entry. - - The entry to get the serialization info for. - The serialization info for the given entry. - - - - Creates a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created navigation link scope. - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Gets the type of the entry and validates it against the model. - - The entry to get the type for. - The validated entity type. - - - - Validates that the ODataFeed.DeltaLink is null for the given expanded feed. - - The expanded feed in question. - - - - Verifies that calling WriteStart feed is valid. - - true if the call is to be synchronous; false otherwise. - Feed/collection to write. - - - - Start writing a feed - implementation of the actual functionality. - - The feed to write. - - - - Verifies that calling WriteStart entry is valid. - - true if the call is to be synchronous; false otherwise. - Entry/item to write. - - - - Start writing an entry - implementation of the actual functionality. - - Entry/item to write. - - - - Verifies that calling WriteStart navigation link is valid. - - true if the call is to be synchronous; false otherwise. - Navigation link to write. - - - - Start writing a navigation link - implementation of the actual functionality. - - Navigation link to write. - - - - Verify that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a feed/entry/navigation link. - - - - - Marks the navigation currently being written as processed in the parent entity's metadata builder. - This is needed so that at the end of writing the entry we can query for all the unwritten navigation properties - defined on the entity type and write out their metadata in fullmetadata mode. - - The navigation link being written. - - - - Verifies that calling WriteEntityReferenceLink is valid. - - The entity reference link to write. - true if the call is to be synchronous; false otherwise. - - - - Write an entity reference link. - - The entity reference link to write. - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Enters the 'ExceptionThrown' state and then throws an ODataException with the specified error message. - - The error message for the exception. - The OData item to associate with the 'ExceptionThrown' state. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Checks whether we are currently writing a navigation link and switches to NavigationLinkWithContent state if we do. - - - What kind of payload kind is being written as the content of a navigation link. - Only Feed, Entry or EntityRefernceLink are allowed. - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Promotes the current navigation link scope to a navigation link scope with content. - - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Create a new writer scope. - - The writer state of the scope to create. - The item attached to the scope to create. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - The current scope for the writer. - - - - - The current state of the writer. - - - - - true if the writer should not write any input specified and should just skip it. - - - - - A flag indicating whether the writer is at the top level. - - - - - Returns the immediate parent link which is being expanded, or null if no such link exists - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the number of entries seen so far on the current feed scope. - - Can only be accessed on a feed scope. - - - - Checker to detect duplicate property names. - - - - - The entity type of the current entry. - - - - - Returns the parent navigation link scope of an entry in an expanded link (if it exists). - The entry can either be the content of the expanded link directly or nested inside a feed. - - The parent navigation scope of an entry in an expanded link (if it exists). - - - - Validator to validate consistency of collection items (or null if no such validator applies to the current scope). - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - The writer is currently writing an entry. - - - The writer is currently writing a feed. - - - The writer is currently writing a navigation link (possibly an expanded link but we don't know yet). - - This state is used when a navigation link was started but we didn't see any children for it yet. - - - - The writer is currently writing a navigation link with content. - - This state is used when a navigation link with either an entity reference link or expanded feed/entry was written. - - - - The writer has completed; nothing can be written anymore. - - - The writer is in error state; nothing can be written anymore. - - - - Lightweight wrapper for the stack of scopes which exposes a few helper properties for getting parent scopes. - - - - - Use a list to store the scopes instead of a true stack so that parent/grandparent lookups will be fast. - - - - - Initializes a new instance of the class. - - - - - Pushes the specified scope onto the stack. - - The scope. - - - - Pops the current scope off the stack. - - The popped scope. - - - - Peeks at the current scope on the top of the stack. - - The current scope at the top of the stack. - - - - Gets the count of items in the stack. - - - - - Gets the scope below the current scope on top of the stack. - - - - - Gets the scope below the parent of the current scope on top of the stack. - - - - - Gets the scope below the current scope on top of the stack or null if there is only one item on the stack or the stack is empty. - - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - Set to true if the content of the scope should not be written. - This is used when writing navigation links which were not projected on the owning entry. - - - The selected properties for the current scope. - - - The entity set we are going to write entities for. - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of this scope should not be written. - The selected properties of this scope. - - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - The entity set we are going to write entities for. - - - The selected properties for the current scope. - - - - Set to true if the content of this scope should not be written. - - - - - A scope for an feed. - - - - The serialization info for the current feed. - - - The number of entries in this feed seen so far. - - - Maintains the write status for each annotation using its key. - - - The type context to answer basic questions regarding the type info of the entry. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The number of entries in this feed seen so far. - - - - - Tracks the write status of the annotations. - - - - - A scope for an entry. - - - - Checker to detect duplicate property names. - - - The serialization info for the current entry. - - - The value from ODataEntry.TypeName. - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - The type context to answer basic questions regarding the type info of the entry. - - - Maintains the write status for each annotation using its key. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entity type which was derived from the model, i.e. the expected entity type, which may be either the same as entity type or its base type. - For example, if we are writing a feed of Customers and the current entry is of DerivedCustomer, this.EntityTypeFromMetadata would be Customer and this.EntityType would be DerivedCustomer. - - - - - The serialization info for the current entry. - - - - - Checker to detect duplicate property names. - - - - - Tracks the write status of the annotations. - - - - - A scope for a navigation link. - - - - - Constructor to create a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this navigation link scope and sets a new writer state. - - The to set. - The cloned navigation link scope with the specified writer state. - - - - The output context to write to. - - - - - The JsonLight entry and feed serializer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Creates a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created JSON Light navigation link scope. - - - - Writes the odata.count annotation for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.nextLink annotation for a feed if it has not been written yet (and the next link is specified on the feed). - - The feed to write the next link for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.deltaLink annotation for a feed if it has not been written yet (and the delta link is specified on the feed). - - The feed to write the delta link for. - - - - Validates that the ODataFeed.InstanceAnnotations collection is empty for the given expanded feed. - - The expanded feed in question. - - - - Returns the current JsonLightEntryScope. - - - - - Returns the current JsonLightFeedScope. - - - - - A scope for a JSON lite feed. - - - - true if the odata.count was already written, false otherwise. - - - true if the odata.nextLink was already written, false otherwise. - - - true if the odata.deltaLink was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the odata.count annotation was already written, false otherwise. - - - - - true if the odata.nextLink annotation was already written, false otherwise. - - - - - true if the odata.deltaLink annotation was already written, false otherwise. - - - - - A scope for an entry in JSON Light writer. - - - - Bit field of the JSON Light metadata properties written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The metadta property which was written. - - - - Determines if the was already written for this entry scope. - - The metadata property to test for. - true if the was already written for this entry scope; false otherwise. - - - - The entry being written. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Enumeration of JSON Light metadata property flags, used to keep track of which properties were already written. - - - - The odata.editLink property. - - - The odata.readLink property. - - - The odata.mediaEditLink property. - - - The odata.mediaReadLink property. - - - The odata.mediaContentType property. - - - The odata.mediaETag property. - - - - A scope for a JSON Light navigation link. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - Constructor to create a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this JSON Light navigation link scope and sets a new writer state. - - The writer state to set. - The cloned navigation link scope with the specified writer state. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - - Helper methods used by the OData writer for the JsonLight format. - - - - - Writes the odata.type instance annotation with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Writes the odata.type propert annotation for the specified property with the specified type name. - - The JSON writer to write to. - The name of the property for which to write the odata.type annotation. - The type name to write. - - - - Writes the 'value' property name. - - The JSON writer to write to. - - - - Write a JSON property name which represents a property annotation. - - The JSON writer to write to. - The name of the property to annotate. - The name of the annotation to write. - - - - Enumeration describing the various serialization formats for dates in JSON - - - - - Represents a DateTime value in the OData format of \/Date(ticksrepresentingdatetime)\/ - - - - - Represents a DateTime value in the ISO 8601 format of YYYY-MM-DDThh:mm:ss.sTZD eg 1997-07-16T19:20:30.45+01:00 - - - - - Class with the responsibility of resolving media types (MIME types) into formats and payload kinds. - - - - application/atom+xml media type - - - application/xml media type - - - text/xml media type - - - application/json media type - - - application/json;odata=verbose media type - - - - An array that maps stores the supported media types for all . - - - The set of supported media types is ordered (desc) by their precedence/priority with respect to (1) format and (2) media type. - As a result the default media type for a given payloadKind is the first entry in the MediaTypeWithFormat array. - - - - Cache for MediaTypeResolvers for each version. - - - - The version the media type resolver is used with. - - - - - Array of supported media types and formats for each payload kind. - The index into the array matches the order of the ODataPayloadKind enum. - - - - - The set of payload kinds which are supported for the JSON formats. - - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Gets the supported media types and formats for the given payload kind. - - The payload kind to get media types for. - An array of media type / format pairs, sorted by priority. - - - - Checks for an illegal media type that cannot be caught during content negotiation/resolution - since it would match an unsupported media type. - - The parsed media type to check. - true if the media type is illegal (and we should fail); otherwise false. - - - - Clones the default media types. - - The cloned media type table. - - - - Inserts the specified media type before the first occurrence of . - - The media type list to insert into. - The media type to insert. - The format of the media type before which should be inserted. - - - - Configure the media type tables so that Json Light is the first JSON format in the table. - - - This is only used in V3 and beyond. - - - - - Adds the given media type/format for all the payload kinds which support JSON. - - The media type/format pair to add. - - - - Inserts the given media type/format for all the payload kinds which support JSON before the first media type with the given format. - - The media type/format pair to add. - The format of the media type before which should be inserted. - - - - Additional media types per payload kind for the WCF DS client on pre-v3 payloads. - Anything that normally accepts application/atom+xml should also accept application/xml, and vice versa. - - - - - Accesses the default media type resolver. - - - - - A helper class to associate a with a media type. - - - - The media type. - - - - The for this media type. - - - - - A dictionary implementation with special key-matching semantics; it accepts case-insensitive matches - but prefers a case-sensitive one (if present). - - As an implementation choice we did not use a second dictionary to maintain a cache of case-insensitive - keys since we don't want to pay the price of an extra dictionary for cases where the looked up keys - match case sensitively (as per spec, should be the default case). - - - The backing dictionary using case-sensitive key comparison. - - - - Constructor. - - - - - Adds an element with the provided key and value to the dictionary. - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - - - Determines whether the dictionary contains an element with the specified key using case-sensitive comparison. - - The key to locate in the dictionary. - true if the dictionary contains an element with the ; otherwise, false. - This method will only try to match the key using case-sensitive comparison. - - - - Removes the entry with the specified from the headers. - - The key of the item to remove. - true if the item with the specified was removed; otherwise false. - - - - Gets the value associated with the specified key. - - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - true if the dictionary contains an element with the specified key; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Finds in the case sensitive dictionary ignoring the case for comparison. - - The key to find. - The key from the case sensitive dictionary that matched the or null if no match was found. - This method throws if multiple case insensitive matches for the specified exist. - - - - Gets or sets the element with the specified key. - - The key of the element to get or set. - The element with the specified key. - - - - Factory class for the various wrapper streams around the actual message stream. - - - - - Creates a non-disposing stream. - - The inner to wrap. - A stream wrapping the that ignores calls to Dispose. - - - - Creates a stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that - enforces the maximum number of bytes to be read from the stream. - - - - Creates a non-disposing stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that ignores calls to Dispose and - enforces the maximum number of bytes to be read from the stream. - - - - Checks whether the provided stream already ignores calls to Dispose. - - The to check. - true if the ignores calls to Dispose; otherwise false. - - - - Stream wrapper that supports counting the total number of bytes read from the stream and ensures - that they don't exceed a specified maximum (used for security purposes) and ignoring calls - to Dispose if the underlying stream should not be disposed. - - - - The maximum number of bytes to be read from the stream before reporting an error. - - - true to not dispose the inner stream when Dispose is called; otherwise false. - - - Stream that is being wrapped. - - - The total number of bytes read from the stream so far. - - - - Constructs an instance of the byte counting stream wrapper class. - - Stream that is being wrapped. - true if calls to Dispose should be ignored; otherwise false. - The maximum number of bytes to be read from the stream before reporting an error. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - - - - Dispose this wrapping stream and the underlying stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Increases the number of total bytes read from the stream. - - The number of bytes read from the stream during the last read operation. - Since we don't own the underlying stream we also have to prepare for streams returning < 0 bytes read. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - true if the wrapping stream ignores calls to Dispose; otherwise false. - - - - OData Verbose JSON deserializer for detecting the payload kind of a JSON payload. - - - - - OData Verbose JSON deserializer for properties and value types. - - - - - Base class for all OData Verbose JSON deserializers. - - - - The JSON input context to use for reading. - - - - Constructor. - - The JSON input context to read from. - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - true if the payload URI needs to be translated into an absolute URI; otherwise false. - An absolute URI to report. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns the which is to be used to read the content of the message. - - - - - The Verbose Json input context to use for reading. - - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JSON input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Reads an entry, complex or collection content in buffering mode until it finds the type name in the __metadata object - or hits the end of the object. If called for a primitive value, returns 'null' (since primitive types cannot have - type names in JSON) - - The type name as read from the __metadata object; null if none was found. - - This method does not move the reader. - Pre-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - Post-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - - - - - Reads a primitive value, complex value or collection. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the type name from the value of a __metadata property. All other properties in the __metadata property value are ignored. - - The type name found, or null if none was found. - - This method can be used in buffering and non-buffering mode. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: JsonNodeType.Property - the next property after the __metadata property value. - JsonNodeType.EndObject - if the __metadata property was the last property in the object. - - - - - Reads a primitive value. - - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: none - Fails if the current node is not a JsonNodeType.PrimitiveValue - Post-Condition: almost anything - the node after the primitive value. - - Made internal only for testability. - - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the collection value (after the EndObject) - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - if null the method should create a new one if necessary. - The value of the complex value. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject or JsonNodeType.PrimitiveValue (with null value) - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - Pre-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - - - - - Determines if the top-level property payload should be read as usual, or without the property wrapper. - - The expected type reference for the property value to read. - true if the property payload should be read without the property wrapper, false if it should be read as usual with the property wrapper. - This method is to support backward compat behavior for WCF DS Server, which can read open property values without property wrapper. - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - The set of detected payload kinds. - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Detects the payload kind(s). - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects whether a JSON payload where the current node is a start array node represents - a feed, a set of entity reference links, a collection or a combination of them. - - true if the array is a top-level array; if it is a property value false. - - This method does not move the reader. - Pre-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - Post-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - - - - - Read the value of the __metadata property and compute the payload kind based on the type name. - - This method checks whether it can determine the type kind from the type name; if we - find a primitive or collection type we set the result to empty since such payloads are not supported. - Otherwise we'll treat the payload as an entry since top-level complex values are not supported either. - Pre-Condition: Any The first node of the __metadata property value - Post-Condition: Property or EndObject This method reads the entire value of the __metadata object and positions - the reader on the next property or on the EndObject node if this is the last property. - - - - - Process the array value of an 'EntitySets' property to determine whether it should be treated as service document payload. - - - This method does not move the Json reader. - Pre-Condition: StartArray The start of the array value of the 'EntitySets' property - Post-Condition: StartArray The start of the array value of the 'EntitySets' property - - - - - Adds the set of specified payload kinds to the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to add. - - - - Removes the set of specified payload kinds from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to remove. - - - - Adds or removes the set of specified payload kinds to/from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The function that implements the 'Add' or 'Remove' action. - The payload kinds to add/remove. - - - Quotas to use for limiting resource consumption when reading or writing OData messages. - - - The maximum number of top level query operations and changesets allowed in a single batch. - - - The maximum number of operations allowed in a single changeset. - - - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - The maximum number of bytes that should be read from the message. - - - The maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy. - - - Gets or sets the maximum number of top level query operations and changesets allowed in a single batch. - The maximum number of top level query operations and changesets allowed in a single batch. - - - Gets or sets the maximum number of operations allowed in a single changeset. - The maximum number of operations allowed in a single changeset. - - - Gets or sets the maximum depth of nesting allowed when reading or writing recursive payloads. - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - Gets or sets the maximum number of bytes that should be read from the message. - The maximum number of bytes that should be read from the message. - - - Gets or sets the maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - The maximum number of entity mapping attributes to be found for an entity type. - - - - Represents the set of information available for payload kind detection. - - This class is used to represent the input to run payload kind detection using - . See the documentation of that method for more - information. - - - The parsed content type as . - - - The encoding specified in the charset parameter of contentType or the default encoding from MediaType. - - - The being used for reading the message. - - - The for the payload. - - - The possible payload kinds based on content type negotiation. - - - Format specific state created during payload kind detection for that format. - - This instance will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - Constructor. - - The parsed content type as . - The encoding from the content type or the default encoding from . - The being used for reading the message. - The for the payload. - The possible payload kinds based on content type negotiation. - - - - The encoding derived from the content type or the default encoding. - - The encoding derived from the content type or the default encoding. - - - - Sets a format specific state created during payload kind detection. - - A format specific state, the value is opaque to the message reader, it only stores the reference. - - The state will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - The being used for reading the message. - - - - - The for the payload. - - - - - The possible payload kinds based on content type negotiation. - - - - - The being used for reading the message. - - - - - The format specific payload kind detection state. - - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Represents the result of running payload kind detection for a specified payload kind and format. - This class is used to represent the result of running payload kind detection using - . See the documentation of that method for more - information. - - - The detected payload kind. - - - The format for the detected payload kind. - - - - Constructor. - - The detected payload kind. - The format for the detected payload kind. - - - Gets the detected payload kind. - The detected payload kind. - - - Gets the format for the detected payload kind. - The format for the detected payload kind. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - - The base type for all entries in the feed. - - - - - Constructor. - - - - - Validates the type of an entry in a top-level feed. - - The type of the entry. - - - - OData ATOM serializer for ATOM metadata in a service document - - - - - Constructor. - - The output context to write to. - - - - Writes the ATOM metadata for a single workspace element. - - The workspace element to get the metadata for and write it. - - - - Writes the ATOM metadata for a single (resource) collection element. - - The collection element to get the metadata for and write it. - - - - OData ATOM serializer for service documents. - - - - - The serializer for service document ATOM metadata. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in ATOM/XML format. - - The default workspace to write in the service document. - - - - Extension methods for the JSON writer. - - - - - Writes the json object value to the . - - The to write to. - Writes the given json object value to the underlying json writer. - Called when the top-level object is started to possibly inject first property into the object. - The OData protocol version to be used for writing payloads. - - - - Writes a primitive value. - - The to write to. - The value to write. - The OData protocol version to be used for writing payloads. - - - - Writes the json array value. - - The to write to. - Writes the json array value to the underlying json writer. - The OData protocol version to be used for writing payloads. - - - - Writes the json value (primitive, IDictionary or IEnumerable) to the underlying json writer. - - The to write to. - value to write. - The OData protocol version to be used for writing payloads. - - - - OData Verbose JSON serializer for collections. - - - - - OData Verbose JSON serializer for properties and value types. - - - - - Base class for all OData Verbose JSON serializers. - - - - - The Verbose JSON output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the start of the entire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Writes the end of the enitire JSON payload. - - - - - Writes the end of the enitire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - When set to true the "d" response wrapper won't be written even in responses - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Converts the specified URI into an absolute URI. - - The uri to process. - An absolute URI which is either the specified if it was absolute, - or it's a combination of the BaseUri and the relative . - The return value is the string representation of the URI. - This method will fail if the specified is relative and there's no base URI available. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The collection validator instance. - The expected type reference of the primitive value. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes the metadata content for a media resource or a named stream - - The stream reference value for which to write the metadata - - - - Writes the etag property with the given string value. - - The name of the ETag, e.g. media_etag or etag - The value of the ETag - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Writes a name/value pair for a property. - - The property to write out. - The of the entry or complex type containing the property (or null if not metadata is available). - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property value. - - The stream reference value to be written - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of a collection. - - - - - Writes the end of a collection. - - - - - OData Verbose JSON serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - true if the 'results' wrapper should be included into the payload; otherwise false. - - - - OData Verbose JSON serializer for entries and feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the __metadata property and its content for an entry - - The entry for which to write the metadata. - Set of projected properties, or null if all properties should be written. - The entity type of the entry to write. - The duplicate property names checker to use. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - The name of the property used for the operations. - true when writing the entry's actions; false when writing the entry's functions. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the metadata content for an association link - - The association link to write. - The checker instance for duplicate property names. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Verbose JSON format output context. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - A task representing the asynchronous operation of writing the service document. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as message payload. - - The property to write - A task representing the asynchronous operation of writing the property. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - A task representing the asynchronous operation of writing the error. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - It is the responsibility of this method to flush the output before the task finishes. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - A running task representing the writing of the link. - It is the responsibility of this method to flush the output before the task finishes. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - OData Verbose JSON serializer for service documents. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JSON format. - - The default workspace to write in the service document. - - - - Stream wrapper for the message stream to ignore the Stream.Dispose method so that readers/writers on top of - it can be disposed without affecting it. - - - - - Stream that is being wrapped. - - - - - Constructs an instance of the stream wrapper class. - - Stream that is being wrapped. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - - RAW format output context. - - - - The message output stream. - - - The XmlWriter to write to. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - RAW format output context. Used by RAW values and batch. - - - - The encoding to use for the output. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The output stream to write to (both sync and async cases). - - - Listener to notify when writing in-stream errors. - - - RawValueWriter used to write actual values to the stream. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Asynchronously flush the writer. - - Task which represents the pending flush operation. - The method should not throw directly if the flush operation itself fails, it should instead return a faulted task. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - Task which represents the pending write operation. - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to make sure that all the data up to this point are written before - the in-stream error is written. - It is the responsibility of this method to flush the output before the task finishes. - - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Asynchronously creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - A running task for the created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Asynchronously writes a single value as the message body. - - The value to write. - A running task representing the writing of the value. - It is the responsibility of this method to flush the output before the task finishes. - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Closes the text writer. - - - - - Verifies the output context was not yet disposed, fails otherwise. - - - - - Flushes all buffered data to the underlying stream synchronously. - - - - - Flushes all buffered data to the underlying stream asynchronously. - - Task which represents the pending operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes a single value as the message body. - - The value to write. - Once the method returns all the data should be written, the only other call after this will be Dispose on the output context. - - - - Creates a batch writer. - - The boundary string for the batch structure itself. - The newly created batch writer. - - - - The output stream to write the payload to. - - - - - The text writer to use to write text into the payload. - - - InitializeRawValueWriter must be called before this is used. - - Also, within this class we should be using RawValueWriter for everything. Ideally we wouldn't leak the TextWriter out, but - the Batch writer needs it at the moment. - - - - Represents the behavior of readers when reading property with null value. - - - - The default behavior - this means validate the null value against the declared type - and then report the null value. - - - - - This means to not report the value and not validate it against the model. - - - This setting can be used to correctly work with clients that send null values - for uninitialized properties in requests instead of omitting them altogether. - - - - - This means to report the value, but not validate it against the model. - - - - - The verbose JSON OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The $batch OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The metadata OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - Additional information available for the payload kind detection. - An enumerable of zero or one payload kinds depending on whether the metadata payload kind was detected or not. - - - Enumerates the behavior of readers when reading undeclared property. - - - - The default behavior - the reader will fail if it finds a property which is not declared by the model - and the type is not open. - - - - - The reader will skip reading the property if it's not declared by the model and the current type is not open. - - - This flag can only be used when reading responses. - All information about the undeclared property is going to be ignored, so for example ATOM metadata related to that property - will not be reported either. - - - - - The reader will read and report link properties which are not declared by the model. - - - This flag can only be used when reading responses. - If a link property in the payload is defined in the model it will be read as usual. If it is not declared - it will still be read and reported, but it won't be validated against the model. - - Link properties are: - - Navigation links - - Association links - - Stream properties - - - - This type provides constants used in URI query expressions. - - - "$it" keyword for expressions. - - - "add" keyword for expressions. - - - "and" keyword for expressions. - - - "asc" keyword for expressions. - - - "desc" keyword for expressions. - - - "div" keyword for expressions. - - - "mod" keyword for expressions. - - - "mul" keyword for expressions. - - - "not" keyword for expressions. - - - "or" keyword for expressions. - - - "sub" keyword for expressions. - - - '-' constant to represent an negate unary operator. - - - '=' constant to represent an assignment in name=value. - - - ',' constant to represent an value list separator. - - - '/' constant to represent the forward slash used in a query. - - - '(' constant to represent an open parenthesis. - - - ')' constant to represent an closed parenthesis. - - - '?' constant to represent the start of the query part. - - - '&' constant to represent the concatenation of query parts. - - - '\'' constant to represent a single quote as prefix/suffix for literals. - - - "''" constant to represent a single-quote escape character in a string literal. - - - " " constant to represent a space character in a Uri query part. - - - The 'allpages' value for the '$inlinecount' query option - - - The 'none' value for the '$inlinecount' query option - - - "eq" keyword for expressions. - - - "false" keyword for expressions. - - - "gt" keyword for expressions. - - - "ge" keyword for expressions. - - - "lt" keyword for expressions. - - - "le" keyword for expressions. - - - "ne" keyword for expressions. - - - "null" keyword for expressions. - - - "true" keyword for expressions. - - - "cast" function - - - "isof function - - - Spatial length function - - - Spatial intersects function. - - - "INF" literal used to represent infinity. - - - "NaN" literal used to represent not-a-number values. - - - 'datetime' constant prefixed to datetime literals. - - - 'datetimeoffset' constant prefixed to datetimeoffset literals. - - - 'time' constant prefixed to time literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'geography' constant prefixed to geography literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'binary' constant prefixed to binary literals. - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - 'M': Suffix for decimal type's string representation - - - 'datetime' constant prefixed to datetime literals. - - - the filter query option - - - the orderby query option - - - the top query option - - - the skip query option - - - the inlinecount query option - - - the select query option - - - the expand query option - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch writer (via IODataBatchOperationListener) - to properly flush buffered data and move the batch writer's state machine forward. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to an IODataBatchOperationListener instance. - - - - Listener interface to be notified of operation changes. - - - - Constructor. - - Listener interface to be notified of operation changes. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Disposes the object. - - True if called from Dispose; false if called form the finalizer. - - - - Validates that the stream was not already disposed. - - - - The batch stream underlying this operation stream. - - - - Constructor. - - The underlying stream to write the message to. - Listener interface to be notified of operation changes. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Flush the stream to the underlying batch stream. - - - - - Dispose the operation stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Determines if the stream can read - this one can't - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. Setting of the position is not supported since the stream doesn't support seeking. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch reader (via IODataBatchOperationListener) - to prevent clients to use the batch reader while a content stream is still in use. - - - - - The batch stream underlying this operation stream. - - - - - Constructor. - - The underlying stream to read from. - Listener interface to be notified of operation changes. - - - - Flush the stream; not supported for a read stream. - - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Create a batch operation read stream over the specified batch stream with a given content length. - - The batch stream underlying the operation stream to create. - The batch operation listener. - The content length of the operation stream. - A to read the content of a batch operation from. - - - - Create a batch operation read stream over the specified batch stream using the batch delimiter to detect the end of the stream. - - The batch stream underlying the operation stream to create. - The batch operation listener. - A to read the content of a batch operation from. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can't - - - - - Returns the length of the stream. Not supported by this stream. - - - - - Gets or sets the position in the stream. Not supported by this stream. - - - - - A batch operation stream with the content length specified. - - - - The length of the operation content. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - The total length of the stream. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - A batch operation read stream with no content length so we have to check for the boundary. - - - - true if the stream has been exhausted and no further reads can happen; otherwise false. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Helper methods used by the ODataBatchWriter and ODataBatchReader (and related classes). - - - - - Creates the URI for a batch request operation. - - The uri to process. - The base Uri to use. - An optional custom URL resolver to resolve URLs for writing them into the payload. - An URI to be used in the request line of a batch request operation. It uses the - first and falls back to the defaullt URI building schema if the no URL resolver is specified or the URL resolver - returns null. In the default scheme, the method either returns the specified if it was absolute, - or it's combination with the if it was relative. - - This method will fail if no custom resolution is implemented and the specified is - relative and there's no base URI available. - - - - - Creates a batch operation stream from the specified batch stream. - - The batch stream to create the operation read stream for. - The headers of the current part; based on the header we create different, optimized stream implementations. - The operation listener to be passed to the newly created read stream. - A new instance. - - - - Creates a batch operation write stream over the specified output stream. - - The output stream to create the operation write stream over. - The operation listener to be passed to the newly created write stream. - A new instance. - - - - Grows the specified byte array by the specified amount. - - The byte array to grow. - The number of bytes currently in the buffer. - The number of bytes to be added to the array. - - - - An enumeration representing the result of a scan operation through - the batch reader stream's buffer. - - - - No match with the requested boundary was found (not even a partial one). - - - A partial match with the requested boundary was found. - - - A complete match with the requested boundary was found. - - This is only returned if we could also check whether the boundary is an end - boundary or not; otherwise a partial match is returned. - - - - - This class represents the internal buffer of the . - - - - The size of the look-ahead buffer. - - - Length of the longest supported line terminator character sequence; makes the code easier to read. - - - The length of two '-' characters to make the code easier to read. - - - The byte array storing the actual bytes of the buffer. - - - The current position inside the buffer. - This is the position of the byte that is the next to be read. - - - The number of (not yet consumed) bytes currently in the buffer. - - - - Skip to the specified position in the buffer. - Adjust the current position and the number of bytes in the buffer. - - The position to skip to. - - - - Refills the buffer from the specified stream. - - The stream to refill the buffer from. - The index in the current buffer starting from which the - currently buffered data should be preserved. - true if the underlying stream got exhausted while refilling. - This method will first shift any data that is to be preserved to the beginning - of the buffer and then refill the rest of the buffer from the . - - - - Scans the current buffer for a line end. - - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - - - - Scans the current buffer for the specified boundary. - - The boundary strings to search for; this enumerable is sorted from the inner-most boundary - to the top-most boundary. The boundary strings don't include the leading line terminator or the leading dashes. - Stop if no boundary (or boundary start) is found after this number of bytes. - The start position of the boundary or -1 if not found. - Note that the start position is the first byte of the leading line terminator. - The end position of the boundary or -1 if not found. - Note that the end position is the last byte of the trailing line terminator. - true if the boundary is an end boundary (followed by two dashes); otherwise false. - true if the detected boundary is the parent boundary; otherwise false. - An enumeration value indicating whether the boundary was completely, partially or not found in the buffer. - - - - Scans the current buffer for a boundary start, which is either a line feed or two dashes (since we don't require the leading line feed). - - The index at which to start scanning for the boundary start. - Stop if no boundary start was found after this number of non end-of-line bytes. - The start position of the line end or -1 if not found. - The start position of the boundary delimiter or -1 if not found. - An enumeration value indicating whether the boundary start was completely, partially or not found in the buffer. - - - - Scans the current buffer for a line end. - - The index at which to start scanning for the line terminator. - Stop if no line end (or beginning of line end) was found after this number of non end-of-line bytes. - true if only whitespace data bytes are expected before the end-of-line characters; otherwise false. - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - true if the end of the buffer was reached while scanning for the line end; otherwise false. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - This method only returns if we found the start - of a line terminator at the last character in the buffer. - - - - Check whether the bytes in the buffer at the specified start index match the expected boundary string. - - The start of the line feed preceding the boundary (if present). - The start position of the boundary delimiter. - The boundary string to check for. - If a match is detected, the start of the boundary delimiter, - i.e., either the start of the leading line feed or of the leading dashes. - If a match is detected, the position of the boundary end; otherwise -1. - true if the detected boundary is an end boundary; otherwise false. - An indicating whether a match, a partial match or no match was found. - - - - Try to match the specified boundary string starting at the specified position. - - The boundary string to search for; this does not include - the leading line terminator or the leading dashes. - The index at which to start matching the boundary. - The number of characters to match. - true if the boundary string is used in an end boundary; otherwise false. - true if it was established that the buffer starting at - matches the ; otherwise false. - This method also returns false if the boundary string was completly matched against the - buffer but it could not be determined whether it is used in an end boundary or not. - - - - Shifts all bytes in the buffer after a specified start index to the beginning of the buffer. - - The start index where to start shifting. - - - - The byte array that acts as the actual storage of the buffered data. - - - - - The current position inside the buffer. - - This is the position of the byte that is the next to be read. - - - - The number of (not yet consumed) bytes currently in the buffer. - - - - - Indexer into the byte buffer. - - The position in the buffer to get. - The byte at position in the buffer. - - - - Class used by the to read the various pieces of a batch payload. - - - This stream separates a batch payload into multiple parts by scanning ahead and matching - a boundary string against the current payload. - - - - - The default length for the line buffer byte array used to read lines; expecting lines to normally be less than 2000 bytes. - - - - - The byte array used for reading lines from the stream. We cache the byte array on the stream instance - rather than allocating a new one for each ReadLine call. - - - - The input context to read the content from. - - - The boundary string for the batch structure itself. - - - The buffer used by the batch reader stream to scan for boundary strings. - - - The encoding to use to read from the batch stream. - - - The boundary string for a changeset (or null if not in a changeset part). - - - The encoding for a given changeset. - - - - true if the underlying stream was exhausted during a read operation; we won't try to read from the - underlying stream again once it was exhausted. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - - - - Resets the changeset boundary at the end of the changeset. - - - - - Skips all the data in the stream until a boundary is found. - - true if the boundary that was found is an end boundary; otherwise false. - true if the detected boundary is a parent boundary (i.e., the expected boundary is missing). - true if a boundary was found; otherwise false. - - - - Reads from the batch stream while ensuring that we stop reading at each boundary. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads from the batch stream without checking for a boundary delimiter since we - know the length of the stream. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads the headers of a part. - - true if the start of a changeset part was detected; otherwise false. - - - - Reads the headers of a batch part or an operation. - - A dictionary of header names to header values; never null. - - - - Read and return the next line from the batch stream, skipping all empty lines. - - This method will throw if end-of-input was reached while looking for the next line. - The text of the first non-empty line (not including any terminating newline characters). - - - - Parses a header line and validates that it has the correct format. - - The header line to validate. - The name of the header. - The value of the header. - - - - Reads a line (all bytes until a line feed) from the underlying stream. - - Returns the string that was read from the underyling stream (not including a terminating line feed), or null if the end of input was reached. - - - - Ensure that a batch encoding exists; if not, detect it from the first couple of bytes of the stream. - - - - Detect the encoding based data from the stream. - The encoding discovered from the bytes in the buffer or the fallback encoding. - - We don't have to skip a potential preamble of the encoding since the batch reader - will skip over everything (incl. the potential preamble) until it finds the first - boundary. - - - - - Reads and validates the headers of a batch part. - - true if the headers indicate a changset part; otherwise false. - A dictionary of header names to header values; never null. - - - - Validates the headers that have been read for a part. - - The set of headers to validate. - true if the headers indicate a changset part; otherwise false. - The set of validated headers. - - An operation part is required to have content type 'application/http' and content transfer - encoding 'binary'. A changeset is required to have content type 'multipart/mixed'. - Note that we allow additional headers for batch parts; clients of the library can choose - to be more strict. - - - - - Parse the content type header value to retrieve the boundary and encoding of a changeset. - - The content type to parse. - - - - The boundary string for the batch structure itself. - - - - - The boundary string for the current changeset (only set when reading a changeset - or an operation in a changeset). - - When not reading a changeset (or operation in a changeset) this field is null. - - - - The current boundary string to be used for reading with delimiter. - - This is the changeset boundary when reading a changeset or the batch boundary otherwise. - - - - The current encoding to use when reading from the stream. - - This is the changeset encoding when reading a changeset or the batch encoding otherwise. - - - Enumeration with all the states the batch reader can be in. - - - The state the batch reader is in after having been created. - - - The batch reader detected an operation. - In this state the start boundary, the request/response line - and the operation headers have already been read. - - - The batch reader detected the start of a change set. - In this state the start boundary and the change set - headers have already been read. - - - The batch reader completed reading a change set. - - - The batch reader completed reading the batch payload. - The batch reader cannot be used in this state anymore. - - - The batch reader encountered an error reading the batch payload. - The batch reader cannot be used in this state anymore. - - - - ODataParameterWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Class to represent a null value with or without type information for URI paremeters. - - This class is only intended for use as a sentinal for null values in URI parameters. It cannot be used elsewhere. - - - - String representation of the type of this null value. 'null' indicates that no type information was provided. - - - - - Handles serialization and deserialization for types derived from Geometry. - This file is currently compiled by ODataLib and Astoria server, because it contains - functionality related to both serialization and deserialization, but deserialization - is not yet integrated into Astoria. Once that integration happens this functionality - should be fully contained within ODataLib only. - - - - - Interface used for serialization and deserialization of primitive types. - - - - - Create an instance of a primitive type from the value in an Xml reader. - - The Xml reader to use to read the value. - An instance of the primitive type. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Create a Geometry instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geometry instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - OData ATOM deserializer for ATOM metadata on feeds. - - - - - Base class for all OData ATOM Metadata deserializers. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a person (author/contributor) element. - - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - The person metadata object with the read values. - - Pre-Condition: XmlNodeType.Element (atom:contributor/atom:author) - the atom:author/atom:contributor element to read. - Post-Condition: Any - the node after the atom:author/atom:contributor element which was read. - - - - - Reads the element value as DateTimeOffset value. - - The DateTimeOffset value of the element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is not used in WCF DS client mode. - - - - - Reads the element value as of a date construct as string value. - - The string value of the date construct element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is only used in WCF DS client mode. - - - - - Read the ATOM text construct element. - - The element read represented as ATOM text construct. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the current XML element and returns it as a string. - - The string value read. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - - - - Reads an "atom:title" element and returns an . - - An with the title information. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Determines if we need to read a child element (either for EPM or for ATOM metadata). - - The parent EPM target path segment. - The name of the element/segment to read. - The EPM target path subsegment which describes the element, or null if there's none. - true if the subelement should be read, false otherwise. - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - The empty namespace used for attributes in no namespace. - - - - Constructor. - - The ATOM input context to read from. - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - Reads an element in the ATOM namespace in feed or source content. - - The atom feed metadata object to store metadata details in. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - If the the property InSourceElement is true (i.e., we're reading within source content), then the value - of the atom:id element will be stored in the feed metadata as SourceId, otherwise it will be ignored. - - - - - Reads the atom:link element and returns a new ATOM link metadata object. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads an atom:author element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads an atom:category element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads an atom:contributor element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Reads an atom:generator element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:generator) - the atom:generator element to read. - Post-Condition: Any - the node after the atom:generator element which was read. - - - - - Reads an atom:icon element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:id element in a source element. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:link element into the Links collection of feed metadata (i.e., links that are not special to the OData protocol). - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the atom:link element which was read. - - - - - Reads an atom:logo element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:logo) - the atom:logo element to read. - Post-Condition: Any - the node after the atom:logo element which was read. - - - - - Reads an atom:rights element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:rights) - the atom:rights element to read. - Post-Condition: Any - the node after the atom:rights element which was read. - - - - - Reads an atom:subtitle element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:subtitle) - the atom:subtitle element to read. - Post-Condition: Any - the node after the atom:subtitle element which was read. - - - - - Reads an atom:title element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:title) - the atom:title element to read. - Post-Condition: Any - the node after the atom:title element which was read. - - - - - Reads an atom:updated element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:updated) - the atom:updated element to read. - Post-Condition: Any - the node after the atom:updated element which was read. - - - - - Reads an atom:* element whose value is a URI. - - The which was read. - - - - Fails with the appropriate exception message if the given value is not null. - - The metadata value to ensure is null. - - - - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - - OData parameter reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The property and value deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Checks to see if we are at the end of the parameters payload. - - Returns true if we are at the ending '}' of the parameters payload. - - - - Reads the end '}' of the parameters payload. - - - - - Reads the next parameter from the parameters payload. - - - - - OData ATOM deserializer for ATOM metadata in a service document - - - - Schema namespace for Atom. - - - The name of the 'category' element in a service document. - - - The name of the 'href' attribute in an 'app:categories' element. - - - The name of the 'fixed' attribute in an 'app:categories' element. - - - The name of the 'scheme' attribute in an 'app:categories' or 'atom:category' element. - - - The name of the 'term' attribute in an 'atom:category' element. - - - The name of the 'label' attribute in an 'atom:category' element. - - - The empty namespace - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an atom:title element and adds the new information to . - - The non-null workspace metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Reads an atom:title element and adds the new information to and (if ATOM metadata reading is on) . - - The collection metadata object to augment, or null if metadata reading is not on. - The non-null collection info object being populated. - - Pre-Condition: XmlNodeType.Element - The start of the title element. - Post-Condition: Any - The next node after the title element. - - - - - Reads an app:categories element as well as each atom:category element contained within it, and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:categories element. - Post-Condition: Any - The next node after the app:categories element. - - - - - Reads an "app:accept" element and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:accept element. - Post-Condition: Any - The next node after the app:accept element. - - - - - Reads an "atom:category" element and returns the data as an object. - - An object with its properties filled in according to what was found in the XML. - - Pre-Condition: XmlNodeType.Element - The start of the atom:category element. - Post-Condition: Any - The next node after the atom:category element. - - - - Enumeration of all possible states of an . - - - The reader is at the start; nothing has been read yet. - In this state the Name and Value properties of the returns null. - - - The reader read a primitive or a complex parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns the value read (e.g. a primitive value, an ODataComplexValue or null). - - - The reader is reading a collection parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns null. The CreateCollectionReader() method on the - must be called to get the reader to read the collection value. - - - The reader has thrown an exception; nothing can be read from the reader anymore. - In this state the Name and Value properties of the return null. - - - The reader has completed; nothing can be read anymore. - In this state the Name and Value properties of the return null. - - - - Implementation of the batch-specific URL resolver that resolves cross-referencing URLs properly. - - - - Supports custom resolution of URLs found in the payload. - - This interface can be implemented on messages (see and - ). When a message implementing this interface is - passed to an or , the - message writer/reader will use this interface for custom URL resolution. - On writers this means that whenever a URI is written into the payload the resolution - method on this interface is called to resolve a base URI and a payload URI to the - actual URI to be written to the payload. If the method returns null from a resolution - call the default resolution will be used. - On readers this means that a base URI (either from the payload or the reader settings) and - the URI read from the payload are passed to the method. The result is what is being reported - on the OData OM instances. Again if the resolution method returns null the default resolution - kicks in. - - - - Implements a custom URL resolution scheme. This method returns null if no custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - An instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - The URL resolver from the batch message. - - - A hashset with all content IDs used so far in the batch; this is used for cross-referencing URL resolution. - - - - Constructor. - - The URL resolver from the batch message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Add the content ID to the hashset of valid content IDs. - - The (non-null) content ID to add. - - - - Checks whether a given (non-null) content ID is already in the content ID cache. - - The content ID to check for. - true if the content ID cache already contains a content ID with value ; otherwise false. - - - - Resets the cache of content IDs. This is called at the end of each changeset - since content IDs are only unique within a changeset. - - - - - The URL resolver from the batch message. - - - - Exception type representing exception when Content-Type of a message is not supported. - - - Creates a new instance of the class. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class. - Plain text error message for this exception. - - - Creates a new instance of the class. - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - - Utility functions for writing values for use in a URL. - - - - - Converts a primitive to a string for use in a Url. - - Value to convert. - OData version to be compliant with. - A string representation of to be added to a Url. - - - - Converts the given string to an ODataComplexValue or ODataCollectionValue and returns it. - Tries in both JSON light and Verbose JSON. - - Does not handle primitive values. - Value to be deserialized. - ODataVersion to be compliant with. - Model to use for verification. - Expected type reference from deserialization. If null, verification will be skipped. - An ODataComplexValue or ODataCollectionValue that results from the deserialization of . - - - - Verifies that the given is or can be coerced to , and coerces it if necessary. - - An EDM primitive value to verify. - Model to verify against. - Expected type reference. - The version to use for reading. - Coerced version of the . - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Converts an to a string for use in a Url. - - Instance to convert. - A string representation of to be added to a Url. - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. Collection requires >= V3. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Write a literal value in JSON Verbose format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Write a literal value in JSON Light format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Coerces the given to the appropriate CLR type based on . - - Primitive value to coerce. - Edm primitive type to check against. - as the corresponding CLR type indicated by , or null if unable to coerce. - - - - URI Utility methods. - - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - A CLR object that the represents. - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - Optional model to perform verification against. - Optional IEdmTypeReference to perform verification against. - Callers must provide a containing this type if it is specified. - A CLR object that the represents. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - No type verification is used. - - Value to be converted. - Version to be compliant with. - A string representation of for use in a Url. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - A string representation of for use in a Url. - - - - Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - ODataFormat to use for structured values such as complex types and collections. - A string representation of for use in a Url. - - - - The RAW OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - A task that when completed returns the set of s - that are supported with the specified payload. - - - - Asynchronously creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - Task which when completed returned the newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - Task which represents the pending create operation. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Semantic node that represents a single-value open property access, which is not bound to an EDM model. - - - - - The value containing this property. - - - - - The name of the open property to be bound outside the EDM model. - - - - - Constructs a . - - The value containing this property. - The name of the open property to be bound outside the EDM model. - Throws if the input source or openPropertyName is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the name of the open property to be bound outside the EDM model. - - - - - Gets the type of the single value this node represents. - - - The value of this property will always be null for open properties. - - - - - Gets the kind of this query node. - - - - Enumeration used to identify text content of syndication item. - - - - Plaintext - - - - - HTML - - - - - XHTML - - - - Enumeration type that is used to identify the syndication item element or attribute in the Open Data Protocol (OData) feed to which an entity property is mapped. - - Potentially the following atom specific elements could also be considered: - * Content? - * Id - * Source? - - - - - User specified a non-syndication property - - - - - author/email - - - - - author/name - - - - - author/uri - - - - - contributor/email - - - - - contributor/name - - - - - contributor/uri - - - - - updated - - - - - published - - - - - rights - - - - - summary - - - - - title - - - - Attribute that specifies a custom mapping between properties of an entity type and elements of an entry in an Open Data Protocol (OData) feed returned by the data service.  - - - - Source property path. - - - - - Target Xml element/attribute. - - - - - If mapping to syndication element, the name of syndication item. - - - - - If mapping to syndication content, the content type of syndication item. - - - - - If mapping to non-syndication element/attribute, the namespace prefix for the - target element/attribute. - - - - - If mapping to non-syndication element/attribute, the namespace for the - target element/attribute. - - - - - The content can optionally be kept in the original location along with the - newly mapping location by setting this option to true, false by default. - - - - Creates a new instance of the . - The name of the property, as string, of the entity type that is mapped to the specified property of the feed item. - A value that represents the element in the feed to which to map the property. This value must be set to None if the is not null. - A value that identifies the format of the content to display in the feed. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Creates an instance of the to map a property to a custom feed element. - The name of the property of the entity type, as string, that is mapped to the specified property in the feed. - The name of the target, as string, in the resulting feed to which the property is mapped. - This parameter, together with , specifies the namespace in which the element exists. - Specifies the namespace URI of the element, as string, specified by the property. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Gets the name of the property of the syndication item that will be mapped to the specified element of the feed. - String value that contains property name. - - - Gets the name of the custom target in the feed to which the property is mapped. - String value with target XML element or attribute. - - - Gets the syndication item in the entry targeted by the mapping. - A value that is the target of the mapping. - - - Gets a string value that, together with , specifies the namespace in which the element exists. - String value that contains the target namespace prefix. - - - Gets a string value that specifies the namespace URI of the element specified by the property. - String that contains the namespace URI. - - - Gets the type of content of the property mapped by . - A string that identifies the type of content in the feed element. - - - Gets a Boolean value that indicates whether a property value should be repeated both in the content section of the feed and in the mapped location. - A value that is true when the property is mapped into both locations in the feed; otherwise, false. - - - - Enumeration for the different kinds of reader and writer behaviors - supported in the OData library. - - - - The default behavior of the OData library. - - - The behavior of the WCF Data Services server. - - - The behavior of the WCF Data Services client. - - - - Class that captures all the information needed to make readers behave - differently when used inside of WCF Data Services or outside. - - - - The default reader behavior for the OData library. - - - The API behavior kind of this behavior. - - - Custom type resolver used by the WCF DS Client. - - This function is used instead of calling the IEdmModel.FindType. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - - true if the server uses a V1 provider; otherwise false. - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - Determines whether operations bound to the given type must be container qualified. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - true if the server uses a V1 provider; otherwise false. - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the reader behavior for the WCF Data Services client. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - The created reader behavior. - - - - Create the reader behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created reader behavior. - - - - Resets the format behavior of the current reader behavior to the default format behavior. - - - - - Get the default reader behavior for the OData library. - - The default reader behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one - of the duplicate property names refers to a named stream property, - an association link or a collection. - - - - - true if the server is using V1 provider; false otherwise. - - - - - Custom type resolver used by the WCF DS Client. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - Determines whether operations bound to the given entity type must be container qualified. - - - - Class that captures all the information needed to make writer behave - differently when used inside of WCF Data Services or outside. - - - - The default writer behavior for the OData library. - - - The API behavior kind of this behavior. - - - true if the server uses a V1 provider; otherwise false. - - - true to allow null values for non-nullable primitive types; otherwise false. - - - - If set to true, allows the writers to write duplicate properties of entries and complex values - (i.e., properties that have the same name). Defaults to 'false'. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - true if the server uses a V1 provider; otherwise false. - - true to allow null values for non-nullable primitive types; otherwise false. - - - If set to true, allows the writers to write duplicate properties of entries - and complex values (i.e., properties that have the same name). - - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the writer behavior for the WCF Data Services client. - - Custom data namespace. - Custom type scheme to use when resolving types. - The created writer behavior. - - - - Create the writer behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created writer behavior. - - - - Resets the format behavior of the current writer behavior to the default format behavior. - - - - - Get the default writer behavior. - - The default writer behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - EPM mappings are defined on entity types but not on complex types. For entity types, the EPM mapping for each of its primitive properties stay the same. - For complex types however, the EPM mappings changes depending on the entity type each complex property is declared on. - For example, if the "Customer" entity type has the properties Address1 and Address2 both of the complex type "Address". If properties in Address1 - are not mapped while properties in Address2 are mapped with KeepInContent=false, when we serialze the Address type in atom format, we keep properties of - Address1 in content while skipping properties of Address2 from the content. Thus the same complex type can get serialized differently for each instance - of the type. - - Astoria has a bug for V1 providers in which it creates and caches EPM information on the complex type itself the first time it serializes - an instance of the complex type. So subsequent writes will serialize the complex type the same way regardless of its EPM mapping. - This creates the following 2 problems: - 1. If a primitive property of a complex type is not part of a EPM mapping or has KeepInContent=true the first time it's serialized, the property will always - be serialized in the content for the remaining lifetime of the service, even for instances where KeepInContent=false. - 2. If a primitive property of a complex type has KeepInContent=false the first time it's serialized, the property will always be missing in the content - for the remaining lifetime of the service, even for instances that do not belong to a EPM mapping or have KeepInContent=true. - Unfortunately we cannot fix issue 1 because it can break existing third party clients. We have to fix issue 2 because it is a data corruption issue. - - The solution is to remember on the first write whether a primitive property of a complex type is serialized in content or not. On subsequent writes - to the same property, we will always keep it in content if the initial write is in content. Otherwise we calculate whether it should be in content - based on ShouldWritePropertyInContent. - - NOTE: this assumes that the complex type in question does not change throughout the lifetime of the service. - - See bug 174185. - - - - - If set to true, the writers will allow writing null values even if the metadata specifies a non-nullable primitive type. - - - - - If set to true, allows the writers to write duplicate properties of entries and complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one of the duplicate property names refers to - a named stream property, an association link or a collection. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - - OData ATOM deserializer for error payloads. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the content of an error element. - - The Xml reader to read the error payload from. - The maximumum number of recursive internalexception elements to allow. - The representing the error. - - This method is used to read top-level errors as well as in-stream errors (from inside the buffering Xml reader). - Pre-Condition: XmlNodeType.Element - The m:error start element. - Post-Condition: XmlNodeType.EndElement - The m:error end-element. - XmlNodeType.Element - The empty m:error start element. - - - - - Reads a top-level error. - - An representing the read error. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the m:error end element or the empty m:error element node. - - - - - Verifies that the specified element was not yet found in a top-level error element. - - - The bit field which stores which elements of an error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Verifies that the specified element was not yet found in an inner error element. - - - The bit field which stores which elements of an inner error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Reads the content of an inner error element. - - The (buffering) Xml reader to read the error payload from. - The number of times this function has been called recursively. - The maximumum number of recursive internalexception elements to allow. - The representing the inner error. - - Pre-Condition: XmlNodeType.Element - the m:innererror or m:internalexception element - Post-Condition: Any - the node after the m:innererror/m:internalexception end element or the node after the empty m:innererror/m:internalexception element node. - - - - - An enumeration of the various kinds of elements in an m:error element. - - - - No duplicates. - - - The 'code' element of the error element. - - - The 'message' element of the error element. - - - The 'innererror' element of the error element. - - - - An enumeration of the various kinds of elements in an internal error element. - - - - No duplicates. - - - The 'message' element of the inner error element. - - - The 'type' element of the inner error element. - - - The 'stacktrace' element of the inner error element. - - - The 'internalexception' element of the inner error element. - - - - Reader for the EPM custom-only. Read the EPM properties from cached values. - - - - - Base class for EPM readers. - - - - The input context currently in use. - - - The reader entry state to use for the entry to which the EPM is applied. - - - - Constructor. - - The reader entry state to use for the entry to which the EPM is applied. - The input context currently in use. - - - - Sets the value read from EPM to a property on an entry. - - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets the value read from EPM to a property on an entry. - - The target list, which is a list of properties (on entry or complex value). - The type of the value on which to set the property (can be entity or complex). - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets a property value for a segment of the EPM source path. - - The EPM info according to which we are mapping the value to properties. - The index in the epmInfo.PropertyValuePath for the source segment for which to set the value. - The structural type of the parent segment. - The list of properties of the parent segment, this method may add to this list. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Creates and adds a new property to the list of properties for an EPM. - - The list of properties to add the property to. - The name of the property to add. - The value of the property to add. - true if the new property should be checked for duplicates against the entry properties; false otherwise. - This should be true if the is the list of properties for the entry, and false in all other cases. - - - The reader entry state to use for the entry to which the EPM is applied. - - - The version of OData protocol to use. - - - The reader settings to use. - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the custom EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Cache for values read during deserialization of custom EPM. - - - - - List of custom EPM values read. - This is a map from EPM info to the value read from the payload. - - - The list order is the order in which the values were read from the payload. - They will be applied to the entry properties in that order (this needs to be maintained). - The key is the EPM info for the mapping according to which the value was read. - The value is the string value read from the content (not converted in any way). - null value means true null value should be used. - If the value was missing from the payload there will be no record of it in this list. - - - - - Constructor. - - - - - Determines if the cache already contains a value for the specified EPM mapping. - - The EPM info for the EPM mapping to look for. - true if the cache already contains a value for this mapping, false otherwise. - - - - Adds a value to cache. - - The EPM info for the mapping according to which the value was read. - The value to cache. - - The method will only store the first value for any given EPM info, since in custom EPM - only the first occurrence of the element/attribute is used, the others are ignored. - - - - - The list of stored custom EPM values (key is the EPM info, value is the string value read for it). - The list is in the order in which the values were read from the payload. - - - - - OData ATOM deserializer for EPM. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an extension element in non-ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element in non-ATOM namespace to read. - Post-Condition: Any - the node after the extension element which was read. - - - - - Reads an element for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the parent element to which the element belongs. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element which was read. - - The method works on any element, it checks if the element should be used for EPM or not. - - - - - Reads an attribute for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the element to which the attribute belongs. - - Pre-Condition: XmlNodeType.Attribute - the attribute to read. - Post-Condition: XmlNodeType.Attribute - the same attribute, the method doesn't move the reader. - - The method works on any attribute, it checks if the attribute should be used for EPM or not. - - - - - OData ATOM deserializer for entity reference links. - - - - OData element name for the 'links' element - - - OData element name for the 'count' element - - - OData element name for the 'next' element - - - OData element name for the 'uri' element - - - - Constructor. - - The ATOM input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a top-level entity reference link. - - An instance representing the read entity reference link. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Verifies that the specified element was not yet found in the entity reference links element. - - The bit field which stores which elements of an inner error were found so far. - The bit mask for the element to check. - The namespace name of the element ot check (used for error reporting). - The name of the element to check (used for error reporting). - - - - Reads all top-level entity reference links and the (optional) inline count and next link elements. - - An instance representing the read entity reference links. - - Pre-Condition: XmlNodeType.Element - The 'd:links' element. - Post-Condtion: any - The node after the 'd:links' end element (or empty 'd:links' element). - - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: XmlNodeType.Element - the 'd:uri' element to read. - Post-Condition: Any - the node after the 'd:uri' element which was read. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No duplicates. - - - The 'm:count' element of the 'links' element. - - - The 'd:next' element of the 'links' element. - - - - Class with utility methods for dealing with OData metadata that are shared with the OData.Query project. - - - - - Checks whether a type reference refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type reference; otherwise false. - - - - Checks whether a type refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type; otherwise false. - - - - Checks whether a type reference refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type reference; otherwise false. - - - - Checks whether a type refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type; otherwise false. - - - - Checks whether a type reference refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type reference; otherwise false. - - - - Checks whether a type refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type; otherwise false. - - - - Checks whether a type reference is considered a value type in OData. - - The to check. - true if the is considered a value type; otherwise false. - - The notion of value type in the OData space is driven by the IDSMP requirements where - Clr types denote the primitive types. - - - - - Checks whether a type reference refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Checks whether a type refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Determines if a is convertibale according to OData rules to the - . - - The type which is to be converted. - The type to which we want to convert. - true if the source type is convertible to the target type; otherwise false. - - - Represents an annotation to hold information for a particular property. - - - Gets the behavior for readers when reading property with null value. - The behavior for readers when reading property with null value. - - - Represents an OData action. - - - - Represents a function or an action. - - - - the metadata builder for this operation. - - - A human-readable description of the or the . - - - true if a title was provided by the user or seen on the wire, false otherwise. - - - A human-readable description of the or the , computed by the metadata builder. - - - The URI to invoke the or the . - - - true if a target was provided by the user or seen on the wire, false otherwise. - - - The URI to invoke the or the , computed by the metadata builder. - - - The cached full name of the operation to use. - - - The binding parameter type name for this operation. - - - - Sets the metadata builder for this operation. - - The metadata builder used to compute values from model annotations. - The metadata document Uri. - - - - Gets the metadata builder for this operation. - - The metadata builder used to compute values. - - - Gets or sets the URI to get metadata for the . - The URI to get metadata for the . - - - Gets or sets a human-readable description of the . - A human-readable description of the . - - - Gets or sets the URI to invoke the . - The URI to invoke the . - - - Represents an OData function. - - - - Implementation of the OData input for metadata documents. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Disposes the input context. - - - - - This methods reads the metadata from the input and returns an - representing the read metadata information. - - An instance representing the read metadata. - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - A method that determines whether a given model is a user model or one of the built-in core models - that can only used for primitive type resolution. - - The model to check. - true if the is a user model; otherwise false. - - - - Checks whether the provided is a supported primitive type. - - The CLR type to check. - true if the is a supported primitive type; otherwise false. - - - - Returns all the entity types in a model. - - The to get the entity types for (must not be null). - An enumerable of all instances in the . - - - - Creates a collection value type for the specified . - - The for the item type. - The created . - - - - Creates a collection type for the specified . - - The for the item type. - The created . - - - - Checks if the type reference is assignable from the type reference. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - Note that this method only checks the type definition for assignability; it does not consider nullability - or any other facets of the type reference. - - - - Checks if the type is assignable from the type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the structured type and the structured type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Checks if the primitive type and the primitive type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Returns the base type of a primitive type. - - The to get the base type for. - The base type of the or null if no base type exists. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Resolves the name of a primitive type. - - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Get the of the item type of the . - - The collection type to get the item type for. - The item type of the . - - - - Returns the IEdmCollectionType implementation with the given IEdmType as element type. - - IEdmType instance which is the element type. - An instance using the as Collection item type. - - - - Returns the IEdmCollectionType implementation with the given IEdmTypeReference as element type. - - IEdmTypeReference instance which is the element type. - An instance using the as Collection item type. - - - - Checks whether a type reference is a Geography type. - - The to check. - true if the is a Geography type; otherwise false. - - - - Checks whether a type reference is a Geometry type. - - The to check. - true if the is a Geometry type; otherwise false. - - - - Returns CollectionValue item type name or null if the provided type name is not a collectionValue. - - CollectionValue type name read from payload. - CollectionValue element type name or null if not a collectionValue. - - - - Gets the name of a function import group. - - The function import group in question. - The name of the function import group. - - - - Gets the full name of a function import group. - - The function import group in question. - The full name of the function import group. - - - - Name of the function import with parameters. - - Function import in question. - Name of the function import with parameters. - - - - Full name of the function import with parameters. - - Function import in question. - Full name of the function import with parameters. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the full name of the definition referred to by the type reference. - - The type reference to get the full name for. - The full name of this . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Gets the full name of the type. - - The type to get the full name for. - The full name of the . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Clones the specified type reference. - - The type reference to clone. - true to make the cloned type reference nullable; false to make it non-nullable. - The cloned instance. - - - - Gets the multiplicity of a navigation property. - - Reference to the calling object. - The multiplicity of the navigation property in question. - This has been added to EdmLib, but EdmLib won't be released for a while. - If you need to use this functionality before we release EdmLib, then use this method. Change your calls - to use the real method whenever we release EdmLib again. - - - - Checks if the is assignable to . - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the primitive type is a geography or geometry type. - - The type to check. - true, if the is a geography or geometry type. - - - - Checks if the primitive type is assignable to primitive type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - The CLR type for the primitive type reference. - - - - Turns a into the corresponding non-nullable . - - The type to convert. - A non-nullable type reference for the . - - - - Determines whether the provided is an open type. - - The type to check. - true if the is an open type; otherwise false. - - - - Determines whether the provided is a stream. - - The type to check. - true if the represents a stream; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Returns the primitive type reference for the given Clr type. - - The Clr type to resolve. - The primitive type reference for the given Clr type. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. - The group with the specified name or null if no such function import exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The group with the specified name or null if no such function import exists. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) - The resolved function import or function import group. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The resolved function import or function import group. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - Whether the returned type should be a nullable variant or not. - The CLR type for the primitive type reference. - - - - Returns Collection item type name or null if the provided type name is not a collection. - - Collection type name. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't berecognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - - - - - Gets the function import parameter types in string. - - Function import in question. - Comma separated function import parameter types enclosed in parantheses. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - Constant values used related to EPM (entity property mapping). - - - - Attribute name for the FC_KeepInContent attribute used for EPM. - - - Attribute name for the FC_ContentKind attribute used for EPM. - - - Attribute name for the FC_SourcePath attribute used for EPM. - - - Attribute name for the FC_TargetPath attribute used for EPM. - - - Attribute name for the target namespace prefix (FC_NsPrefix) attribute used for custom EPM. - - - Attribute name for the target namespace Uri (FC_NsUri) attribute used for custom EPM. - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - String value for the syndication content kind 'text'. - - - String value for the syndication content kind 'HTML'. - - - String value for the syndication content kind 'XHTML'. - - - - Builder class for the name of EPM attributes as serialized in CSDL. - This class keeps track of the number of mappings for a given type/property and appends post fixes to the names as needed. - - - - Separator character for building attribute names. - - - Current index. - The first time the name builder is used the names have no suffix. - The second time (after calling MoveNext once) - the name builder will use suffix '_1', then suffix '_2' and so on. - - - - Suffix for current attribute names. - - - Constructor - - - Move to next attribute name generation. - - - Current keep-in-content attribute name. - - - Current source path attribute name. - - - Current target path attribute name. - - - Current content kind attribute name. - - - Current namespace prefix attribute name. - - - Current namespace Uri attribute name. - - - - Annotation stored on an entity type to hold entity property mapping information. - - - - - A list of the EPM mappings this cache was constructed for. - Used to determine whether the cache is dirty or not. - - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - EDM model. - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - Constructor. - - The EPM mappings to create the cache for. - The EDM model. - The total number of entity property mappings - for the entity type that this cache is created for (on the type itself and all its base types). - - - - Initializes the EPM annotation with EPM information from the specified type. - - Entity type to use the EPM infromation from. - Entity type for this the EPM information is being built. - - - - Checks whether the current cache is dirty with respect to the . - - The EPM mappings to check this cache against. - true if the are not the same as the ones the cache has been created for (or have changed). - - - - Does given property in the attribute exist in the specified type. - - The type to inspect. - Attribute which has PropertyName. - true if property exists in the specified type, false otherwise. - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - All EntityPropertyMapping attributes. - - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - - Represents an enumerable of that new items can be added to. - - - - List of the mappings represented by this enumerable. - - - Creates a new instance of the class. - - - Creates a new instance of the class. - An enumerable of used to initialize the instance. This argument must not be null. - - - Adds the mapping to the list of all mappings represented by this class. - The to add to the enumerable represented by this class. - - - Returns an enumerator for the instances in this enumerable. - An enumerator for the instances in this enumerable. - - - Returns a non-generic enumerator for the instances in this enumerable. - A non-generic enumerator for the instances in this enumerable. - - - - The count of mappings stored in this collection. - - - - - Helper methods used by the OData reader for the Verbose JSON format. - - - - - Compares the against the list of supported feed-level properties and - returns the kind of property. - - The name of the property to check. - The kind of feed-level property of the property with name . - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Checks whether the specified property has already been found before. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - true if the property has not been read before; otherwise false. - - - - Validates that the string property in __metadata is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Verifies that the specified property was not yet found. - - The bit field which stores which metadata properties were found so far. - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in an entity reference links collection is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the count property in an OData-owned object wrapper is valid. - - The value of the property. - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an entity reference link collection were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in __mediaresource is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the property in feed wrapper is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JSON. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - The version of the payload being read. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - true if the conversion should use the V1 provider behavior, false if the default behavior should be used. - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Converts the given datetime value into the allowed target types. - - DateTime value as read by the JsonReader. - Target type to which the datetime value needs to be converted. - Type reference to which the value needs to be converted. - ODataReaderBehavior instance. - Object which is in sync with the target type. - - - - Checks if the given type is a V1 primitive type or not. - - Type instance. - True if the given target type is a V1 primitive type otherwise returns false. - - - - An enumeration of the various kinds of properties on a feed wrapper object. - - - - An unsupported property at the feed level. - - - The inline count property of a feed. - - - The results property of a feed. - - - The next page link property of a feed. - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - An unsupported property at the wrapper level. - - - The inline count property of an entity reference links wrapper. - - - The results property of an entity reference links wrapper. - - - The next page link property of an entity reference links wrapper. - - - - Enumeration of all properties in error payloads, the value of the enum is the bitmask which identifies - a bit per property. - - - We only use a single enumeration for both top-level as well as inner errors. - This means that some bits are never set for top-level (or inner errors). - - - - No property found yet. - - - The "error" of the top-level object. - - - The "code" property. - - - The "message" property of either the error object or the inner error object. - - - The "lang" property of the message object. - - - The "value" property of the message object. - - - The "innererror" or "internalexception" property of the error object or an inner error object. - - - The "type" property of an inner error object. - - - The "stacktrace" property of an inner error object. - - - - Enumeration of all properties in __metadata, the value of the enum is the bitmask which identifies - a bit per property. - - - - No property found yet. - - - The "uri" property. - - - The "type" property. - - - The "etag" property. - - - The "media_src" property. - - - The "edit_media" property. - - - The "content_type" property. - - - The "media_etag" property. - - - The "properties" property. - - - The "id" property. - - - The "actions" property. - - - The "functions" property. - - - - OData reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndArray if the feed is not wrapped in the 'results' wrapper - JsonNodeType.EndObject if the feed is wrapped in the 'results' wrapper - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or wrapped feed inside expanded link) - JsonNodeType.StartArray feed not wrapped with 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) expanded null entry - Post-Condition: JsonNodeType.StartArray: expanded link with a feed that is not wrapped with 'results' wrapper - JsonNodeType.StartObject expanded link with a feed that is warpped with 'results' wrapper - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNoteType.Primitive (null) If an expanded link with null entity instance was found. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of a feed and sets up the reader state correctly. - - true if the feed is inside an expanded link. - - Pre-Condition: The first node of the feed; this method will throw if the node is not - JsonNodeType.StartArray: a feed without 'results' wrapper - JsonNodeType.StartObject: a feed with 'results' wrapper - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the next node in the content of an expanded navigation link which represents a collection and is in a request payload. - - - This method deals with all the special cases in request payload expanded navigation link for collections. - It should be called when the array start of the content of such a link was already read. - It should be called in these cases: - - Start of the navigation link (to report the first content item of it) - - Entity reference link was reported (to report the next item of the navigation link content) - - Feed end was reported, to report the next non-entry item in the navigation link content - - Entry end was reported, to determine if the next entry should be reported, or if the feed should be closed. - - - - - Reads the start of an entry and sets up the reader state correctly - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (deferred link or entry or >=v2 feed wrapper) - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.PrimitiveValue (null) The null value of the navigation link property value to read next (expanded null entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the __metadata property for an entry and resolves its type. - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link to start. - The navigation property for the navigation link to start. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonScope - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Interface representing a state of the Verbose JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that during parsing of the entry represented by this state, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Flag which indicates that during parsing of the entry represented by this scope, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Flag which is only used on a StartFeed scope. - true - if the feed is the special feed reported as content of an expanded navigation link in request. - false - if the feed is any other (regular) feed. - - - - - Flag which is used to remember whether the feed was wrapped in with 'results' wrapper and which indicates - whether to expect (and read) '}' character at the end of the feed. Used on StartFeed scope for top level - feeds and on NavigationLinkStart scope for nested expanded feed. - true - if the feed was wrapped in results wrapper - false - if the feed was not wrapped in results wrapper - - - - - Flag which is only used on a StartNavigationLink scope in requests. - true - we already found some content for the navigation link in question and it was (or is going to be) reported to the caller. - false - we haven't found any content for the navigation link yet. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - Extension methods to make it easier to work with EPM. - - - - - All supported base names for serializable EPM annotations. - - - - - FC_TargetPath to enum mapping. - - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Determines if the has any EPM defined on it (or its base types). - - The model containing the annotations. - The entity type to test for presence of EPM. - true if the has EPM; false otherwise. - - - - Returns the EPM information for an entity type. - - The model containing the annotations. - The entity type to get the EPM information for. - Returns the EPM information for an entity type. If there's no such information, this returns null. - - - - Returns the cached EPM information for an entity type. - - The model containing the annotations. - The entity type to get the cached EPM information for. - Returns the cached EPM information for an entity type. If there's no cached information, this returns null. - - - - Gets all the annotations bindings in order to remove all EPM related annotations from a given . - - The model containing the annotations. - The annotatable to get the EPM annotations for. - A dictionary of local annotation name to annotation binding mappings for all serializable EPM annotations on . - - - - Removes the in-memory EPM annotations from an entity type; potentially also drops an existing EPM cache. - - The containing the annotation. - The to remove the EPM annotation from. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations for. - The EPM cache for the owning entity type. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations on. - All the EPM annotations to be saved. - true if the source path should be saved explicitly; otherwise false. - true if the prefix of the source path should be removed; otherwise false. - - - - Returns the cached keep-in-content annotation for the primitive properties of a complex type. - - The model containing the annotation. - The complex type to get the cached keep-in-content annotation for. - Returns the keep-in-content annotation for a type. If there's no such annotation this returns null. - - - - Maps the enumeration of allowed values to their string representations. - - Value of the given in - the contstructor. - String representing the xml element path in the syndication property. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the entity type belongs to. - The to load the EPM annotations for. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the annotatable belongs to. - The to load the EPM annotations for. - The collection of EPM annotations to add newly loaded annotations to. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - - - - Given a gets the corresponding syndication property. - - Target path in the form of a syndication property name. - - Enumeration value of a or SyndicationItemProperty.CustomProperty - if the does not map to any syndication property name. - - - - - Translates a content kind enumeration value to the corresponding string attribute value for serialization to CSDL. - - The content kind to translate. - A string corresponding to the value. - - - - Translates a syndication item property enumeration value to the corresponding string attribute value for serialization to CSDL. - - The syndication item property to translate. - A string corresponding to the value. - - - - Maps the string to an enumeration value of the enumeration. - - The content kind string to map. - The suffix of the attribute name currently being parsed or validated.Only used in error messages. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The name of the property to parse the EPM annotations for. Only used in error messages. - An value if the could be successfully mapped; otherwise throws. - - - - Parses the serializable EPM annotations of the , groups them by suffix - and translates them into a set of structs. - - The containing the annotations. - The to parse the EPM annotations for. - The name of the type for which the annotations are parsed or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - An enumerable of that represents all the parsed annotations grouped by their suffix. - - - - Validates the annotation values parsed for an EPM mapping. - - The to validate. - The name of the type for which the annotations are validated or that declares the . Only used in error messages. - The property for which the annotations are validated; null if the annotations are for a type. - An instance that represents the mapping created from the . - - - - Removes an existing EPM cache annotation. - - The containing the annotations. - The to remove the EPM cache from. - - - - Checks whether a given OData annotation is an EPM related annotation. - - The instance to check. - true if the annotation is EPM related; otherwise false. - - - - Checks whether a given serializable annotation represents part of an EPM mapping. - - The annotation to check. - The base name of the EPM annotation. - The suffix of the EPM annotation or null if not an EPM annotation. - true if the is an EPM annotation; otherwise false. - - - - Converts the value of the to a string. - - The to convert. - The string representation of the converted annotation value. - - - - Checks that two strings are the same references (and asserts that if they are not they also - don't have the same value). - - The first string to compare. - The second string to compare. - true if the and are the same reference; otherwise false; - - - - Checks whether the has EPM defined for it (either directly - on the type or on one of the base types). - - The containing the annotation. - The to check. - true if the has EPM defined; otherwise false. - - - - Gets the annotation binding with the OData metadata namespace and the specified for the . - - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - An instance that represnets the annotation with the specified name and value. - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel instance containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - true if the cache was modified; otherwise false. - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Private struct to store the values of the serializable EPM annotations during loading. - - - - The string value of the FC_SourcePath attribute (or null if not present). - - - The string value of the FC_TargetPath attribute (or null if not present). - - - The string value of the FC_KeepInContent attribute (or null if not present). - - - The string value of the FC_ContentKind attribute (or null if not present). - - - The string value of the FC_NsUri attribute (or null if not present). - - - The string value of the FC_NsPrefix attribute (or null if not present). - - - The attribute suffix used for the attribute names. - - - - Representation of each node in the EpmSourceTree. - - - - - Name of the property under the parent type. - - This fields is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - StartPath property name - - - - Name of the property under the parent type. - - This property is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionValueItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the tree. - - - - - corresponding to this tree. - - - - - Constructor which creates an empty root. - - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - - Validates the source tree. - - The entity type for which the validation is performed. - - - - Validates the specified segment and all its subsegments. - - The path segment to validate. - The type of the property represented by this segment (null for open properties). - - - - Returns the type of the property on the specified type. - - The type to look for the property on. - The name of the property to look for. - The type of the property specified. - - - - Root of the tree - - - - - Representation of each node in the EpmTargetTree. - - - - - Name of the xml element/attribute. - - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - - Cached attribute name if the segment represents an attribute. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - If this is a non-leaf element, the child elements/attributes collection. - - - - - Parent element of this element/attribute. - - - - - The EPM info object for this target segment, if there's any. - - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the EpmTargetTree. - - - - - Used for creating non-root nodes in the syndication/custom trees. - - Name of xml element/attribute - URI of the namespace for - Namespace prefix to be used for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - - Name of the xml element/attribute. - - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the property should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root node should not be accessed directly - from anywhere so far. - - - - Retruns name of the attribute the property is mapped to. Must not be called if a property is mapped to an element. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - EntityPropertyMappingInfo corresponding to current segement. - - - - - Whether this node corresponds to ResourceType or ClientType property values. - - - - - Does this node correspond to xml attribute. - - - - - Parent node in the tree (always an element if present). - - - - - Sub-nodes of this node. Only exist if current node is an element node. - - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Number of properties that have V2 mapping with KeepInContent false. - - - - - Initializes the sub-trees for syndication and non-syndication content. - - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Validates the target tree. - - This also cleans up the tree if necessary. - - - - Checks if mappings could potentially result in mixed content and dis-allows it. - - StartPath being processed. - A list of ancestor attributes that have content. - Can contain a maximum of one attribute when the method is called, must never contain more than two. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - string with the correct value for the target path - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Minimum protocol version required to serialize this target tree. - - - - - Class with utility methods for reading ATOM metadata. - - - - - Creates a new instance of ATOM entry metadata. - - The newly created ATOM entry metadata. - - - - Creates a new instance of ATOM feed metadata. - - The newly created ATOM feed metadata. - - - - Adds a new author to entry metadata. - - The entry metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to entry metadata. - - The entry metadata to add the contributor to. - The contributor metadata to add. - - - - Adds a new link to entry metadata. - - The entry metadata to add the link to. - The link metadata to add. - - - - Adds a new link to feed metadata. - - The feed metadata to add the link to. - The link metadata to add. - - - - Adds a new category to entry metadata. - - The entry metadata to add the category to. - The category metadata to add. - - - - Adds a new category to feed metadata. - - The feed metadata to add the category to. - The category metadata to add. - - - - Adds a new author to feed metadata. - - The feed metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to feed metadata. - - The feed metadata to add the contributor to. - The author metadata to add. - - - - Reader for the EPM syndication-only. Read the EPM properties from ATOM metadata OM. - - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the syndication EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Reads a leaf segment which maps to a property value. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads a non-leaf segment which has sub segments. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads EPM values from a person construct (author or contributor). - - The target list, this can be either a list of properties (on entry or complex value), - or a list of items (for a collection of primitive types). - The type of the value on which to set the property (can be entity, complex or primitive). - The target segment which points to either author or contributor element. - The person ATOM metadata to read from. - - - - Reads the value of the ATOM text construct and sets it to the EPM. - - The EPM target segment for the value to read. - The text construct to read it from (can be null). - - - - Base class for EPM writers. - - - - The output context currently in use. - - - - Constructor. - - The output context currently in use. - - - - Reads a property value starting on an entry. - - The EPM info which describes the mapping for which to read the property value. - The EPM value cache for the entry to read from. - The type of the entry. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting on a complex value. - - The EPM info which describes the mapping for which to read the property value. - The complex value to start with. - The EPM value cache to use. - The index in the property value path to start with. - The type of the complex value. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting with the specified index to the property value path. - - The EPM info which describes the mapping for which to read the property value. - The enumeration of properties to search for the first property in the property value path. - The index in the property value path to start with. - The type of the entry or complex value the enumeration belongs to. - The EPM value cache to use. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - The version of OData protocol to use. - - - The settings to control the behavior of the writer. - - - - Interface representing a state of the ATOM reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element. - - - - - Flag which indicates whether we have found a content element . - - - - - Flag which indicates whether we have found a category element with the required type name. - - - - - Flag which indicates whether we have found a m:properties element. - - - - - Flag indicating if we have already made a decision about the current entry and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - Interface representing a state of the ATOM reader for feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - The ATOM feed metadata to fill as we read the content of the feed. - - - - - Flag which indicates if a m:count element was found. - - - - - Flag which indicates if a link[@rel='next'] element was found. - - - - - Flag which indicates if a link[@rel='self'] element was found. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - OData ATOM deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start element of a collection. - - true, if the collection element is empty; false otherwise. - An representing the collection-level information. Currently this only contains - the name of the collection. - - Pre-Condition: XmlNodeType.Element - The start element of the collection. - Post-Condition: Any - The next node after the start element node of the collection or the - empty collection element node. - - - - - Reads the end of a collection. - - - Pre-condition: XmlNodeType.EndElement - The end element of the collection. - XmlNodeType.Element - The start element of the collection, if the element is empty. - Post-condition: Any - Next node after the end element of the collection. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: XmlNodeType.Element - The start element node of the item in the collection. - Post-Condition: Any - The next node after the end tag of the item. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the OData namespace - is found or the reader.EOF is reached. - - - - - Possible content types of expanded navigation link in ATOM. - - - - No content found, no m:inline. - - - Empty content found, m:inline without anything in it. Usually represents null entry. - - - Expanded entry found. - - - Expanded feed found. - - - - OData ATOM deserializer for entries and feeds. - - - - Schema namespace for Atom. - - - XML element name to mark entry element in Atom. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - XML element name to mark content element in Atom. - - - XML element name to mark link element in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark feed element in Atom. - - - XML element name to mark id element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - Atom source attribute name for the content of media link entries. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData element name for the 'count' element - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - - The reader used to parse annotation elements. - - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Ensure a media resource is created for the specified entry. - - The reader entry state for the entry being read. - If set to true, this method will validate that marking the entry as MLE - doesn't collide with it already being marked as non-MLE. - - - - Verified that the reader is positioned on the atom:entry start element node. - - - - - Read the start of the entry. - This method verifies that the current element is atom:entry and it reads the ETag from it. - - The entry instance to fill the properties on. - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not element called atom:entry - Post-Condition: XmlNodeType.Element - The atom:entry element - - - - - Reads the content of an entry (child nodes of the atom:entry, not the atom:content element). - - The reader entry state for the entry being read. - A descriptor representing the navigation link detected; - null if no navigation link was found and the end of the entry was reached. - - Pre-Condition: Anything but Attribute - the child node of the atom:entry element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:entry - The end of the atom:entry element if no nav. link was found and the end of the entry was reached. - XmlNodeType.Element atom:link - The start tag of the atom:link element representing a navigation link. - - - - - Read the end of the entry. - - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The atom:entry empty element to read end of. - XmlNodeType.EndElement atom:entry - The end element of atom:entry to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the start of the feed. - This method verifies that the current element is atom:feed. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not called atom:feed (but won't validate that it's an element) - Post-Condition: XmlNodeType.Element - The atom:feed element - - - - - Reads the content of a feed (child nodes of the atom:feed). - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if an entry was found or false if no more entries were found in the feed. - - Pre-Condition: Anything but Attribute - the child node of the atom:feed element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:feed - The end of the atom:feed element if no entry was found and the end of the feed was reached. - XmlNodeType.Element atom:entry - The start tag of the atom:entry element representing an entry in the feed. - - - - - Read the end of the feed. - - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The atom:feed empty element to read end of. - XmlNodeType.EndElement atom:feed - The end element of atom:feed to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the content of the navigation link before any expansion was found. - - - An enumeration value indicating what content was found: - None - no m:inline was found, the link is deferred. The reader is positioned on the atom:link end element. - Empty - empty m:inline was found - usually means null entry. The reader is positioned on empty start m:inline or end element m:inline. - Entry - expanded entry was found. The reader is positioned on the atom:entry element. - Feed - expanded feed was found. The reader is positioned on the atom:feed element. - - - Pre-Condition: Any - a node in the atom:link content. - Post-Condition: XmlNodeType.EndElement atom:link - the end of the navigation link was reached. - XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.Element (empty) m:inline - empty inline was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Determines if the reader is positioned on the m:inline end element or empty m:inline start element. - - true if the reader is on m:inline end element or m:inline empty start element; false otherwise. - - - - Skips everything until an end-element for atom:link is found. - - - This method should only be used to skip the rest of the link content after the ReadNavigationLinkContentBeforeExpansion was called. - Pre-Condition: XmlNodeType.Element atom:entry - start of the expanded entry - XmlNodeType.Element atom:feed - start of the expanded feed - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the content of the navigation link after the expansion was found. - The method returns when the entire atom:link was read. - - - true if the reader is positioned on the empty start tag or end tag of the m:inline element. - false if the reader is inside m:inline (or on the end tag of m:inline). - - - Pre-Condition: Any - child node of the m:inline element (emptyInline == false) - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the end of the navigation link. - - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: Any - The node right after the link element. - - - - - Reads the entry content in buffering mode and looks for the type name (the category element with the right attributes). - - The type name if one of found or null if none was found. - - Pre-Condition: XmlNodeType.Element - the atom:entry element - Post-Condition: XmlNodeType.Element - the atom:entry element on which the reader started. - - - - - Returns an existing stream property value if it already exists in the list of OData properties otherwise creates a new - ODataProperty for the stream property and returns the value of that property. - - The reader entry state for the entry being read. - The name of the stream property to return. - A new or an existing stream property value. - - - - If the is true, then the default behavior should throw. - - This method assumes the reader is positioned on the duplicated element. - Used to determine if duplicate check should throw an exception. - - - - Reads an ATOM element inside the atom:entry from the input. - - The reader entry state for the entry being read. - - If the atom element is representing a navigation link a descriptor for that link is returned, - otherwise null. - - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element if it's not a navigation link. - XmlNodeType.Element atom:link - The start tag of atom:link if it's a navigation link. - - - - - Reads the atom:content element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:content - The atom:content element to read. - Post-Condition: Any - The node after the atom:content element. - - - - - Reads the attributes of the <atom:content> element. - - The content type attribute value (or null if not found). - The content source attribute value (or null if not found). - - - - Reads the atom:id element in the atom:entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:id - The atom:id element to read. - Post-Condition: Any - The node after the atom:id element. - - - - - Reads the atom:link element in atom:entry. - - The reader entry state for the entry being read. - - If the link is a navigation link the method returns a descriptor representing that link, - otherwise the method returns null. - - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if it's not a navigation link. - XmlNodeType.Element atom:link - The atom:link start tag if it's a navigation link. - - - - - Reads the atom:link element with one of the standard relation values in the atom:entry element. - - The reader entry state for the entry being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a navigation link in entry element. - - The reader entry state for the entry being read. - The value of the rel attribute of the link to read, unescaped parsed URI. - The value of the href attribute of the link to read. - A descriptor of a navigation link if a navigation link was found; null otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element - the reader doesn't move - - - - - Reads a stream property edit or read link in an atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true if the link is a stream property read or edit link; otherwise false. - true, if the named stream was read successfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a stream property link in an atom:entry. - - The reader entry state for the entry being read. - The name of the stream property that is being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if we are reading an edit link; otherwise false. - true if the stream property link was read; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an association link in atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true, if the association link was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an m:action or m:function in atom:entry. - - The reader entry state for the entry being read. - true, if the m:action or m:function was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element m:action|m:function - The m:action or m:function element to read. - Post-Condition: Any - The node after the m:action or m:function element if it was read by this method. - XmlNodeType.Element m:action|m:function - The m:action or m:function element to read if it was not read by this method. - - - - - Reads an ATOM element inside the atom:feed from the input. - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if the atom:entry element was found and the reader was not moved; - false otherwise and the reader is positioned on the next node after the ATOM element. - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element which was consumed. - XmlNodeType.Element atom:entry - The start of the atom:entry element (the reader did not move in this case). - - - - - Reads the atom:link element with one of the standard relation values in the atom:feed element. - - The reader feed state for the feed being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if the feed is inside an expanded link. - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads the Atom metadata for the link if metadata is required to be read, skip it otherwise. - - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - Action for adding AtomLinkMetadata to the AtomFeedMetadata - - - - Reads the atom:link element's rel and href attributes. - - The value of the rel attribute or null if no such attribute was found. - The value of the href attribute or null if no such attribute was found. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - The atom:link element to read - the reader doesn't not move. - - - - - Reads the content of navigation link. - - - true if m:inline was found, - false if the end of the atom:link was found. - - - Pre-Condition: Any - a child node of the atom:link element. - Post-Condition: XmlNodeType.Element m:inline - the m:inline was found, the method returns true. - XmlNodeType.EndElement atom:link - the atom:link end element, end of the navigation link, the method returns false. - - - - - Reads content of the m:inline element. - - - Enumeration denoting what was found in the content. - Empty - The end of the m:inline element was found - the reader is positioned on the m:inline end element. - Entry - An expanded entry was found - the reader is positioned on atom:entry element. - Feed - An expanded feed was found - the reader is positioned on atom:feed element. - None - will never be returned. - - - Pre-Condition: Any - child node of the m:inline element. - Post-Condition: XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Verifies that the specified content type of an atom:content element matches the expected value. - - The content type value read from the payload. - The verified media type name (without parameters or charset) of the content type. - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - - OData ATOM deserializer for ATOM metadata on entries. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an element in ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads the atom:link element in the entry content. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link, or null if link info doesn't need to be stored. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: XmlNodeType.Element (atom:link) - the atom:link element which was read. - - - - - Reads the atom:category element in the entry content. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:category element. - - The ATOM category metadata read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:source element in the entry content. - - The information in the source element as . - - Pre-Condition: XmlNodeType.Element (atom:source) - the atom:source element to read. - Post-Condition: Any - the node after the atom:source which was read. - - - - - Reads an author element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads a contributor element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Determines if a person element should be read or skipped. - - true if some elements from the collection in question already exist; false if this is the first one. - true if the collection element should be read; false if it should be skipped. - - - - Determines if we should read an element which is allowed to appear only once in ATOM. - - true if we already found such element before; false if this is the first occurence. - true if the element should be processed; false if the element should be skipped. - The method may throw if multiple occurences of such element occure and they should be treated as an error. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - /// OData ATOM deserializer for service document. - - - - The name of the top-level service document element. - - - The name of the 'workspace' element of a service document. - - - href attribute name in Atom. - - - The name of the 'collection' element of a service document. - - - The name of the 'categories' element of a service document. - - - The name of the 'accept' element of a service document. - - - The Atom Publishing Protocol (APP) namespace. - - - The ATOM namespace. - - - The name of the 'title' element of a service document. - - - The emtpy namespace used for attributes in no namespace. - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: XmlNodeType.Element - The start element of the service document. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a workspace of a service document. - - An representing the workspace of a service document. - - Pre-Condition: Any - the next node after the service element. - Post-Condition: Any - The next node after the workspace element. - - - - - Reads a resource collection element of a workspace of the service document. - - An representing the resource collection in a workspace of a service document. - - Pre-Condition: XmlNodeType.Element - the collection element inside the workspace. - Post-Condition: Any - The next node after the collection element. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the ATOM - publishing namespace is found. - - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Handles serialization and deserialization for types derived from Geography. - - - - - Create a geography instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geography instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Annotation which stores a hashset of property names of a complex type that returned KeepInContent == true - when written the first time. See the comments on ODataWriterBehavior.UseV1ProviderBehavior for more details. - - - - - A hash set with the property names of properties that are kept in the content. - - - - - Constructor. - - Enumeration of property names that are kept in content. - - - - Determines if a property is in a list of properties that are kept in the content. - - The name of the property to lookup. - true if the property is kept in the content; false otherwise. - - - - Atom metadata description for a text construct (plain text, html or xhtml). - - - - Converts a string to an instance. - The instance created for text. - The to convert to an . - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the kind of the text construct (plain text, html, xhtml). - The kind of the text construct. - - - Gets or sets the text content. - The text content. - - - - Enumeration for classifying the different kinds of text content in ATOM metadata. - - - - Plain text. - - - Html text. - - - XHtml text. - - - - XML reader which supports look-ahead. - - - - The "http://www.w3.org/XML/1998/namespace" namespace for the "xml" prefix. - - - The "base" name for the XML base attribute. - - - The 'lang' attribute local name of the xml:lang attribute. - - - XML namespace for data service annotations. - - - XML namespace for data services. This is to provide compatibility with WCF DS client which accepts custom data namespace value. - - - The 'error' local name of the error element. - - - The underlying XML reader this buffering reader is wrapping. - - - The (possibly empty) list of buffered nodes. - This list stores only non-attribute nodes, attributes are stored in a separate list on an element node. - - - - A special buffered node instance which represents the end of input. - We always have just one instance and compare references. - - - - Flag to control if the xml:base attributes should be processed when reading. - - - The maximumum number of recursive internalexception elements to allow when reading in-stream errors. - - - The base URI for the document. - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - A pointer into the linked list of attribute nodes which is only used if the currentBufferedNodeToReport is the attribute value node (not the attribute itself). - In that case it points to the current attribute node. - In all other cases this node is null. - - - - A pointer either into the bufferedNodes list or into the list of attributes on a buffered element node - which points to the node which should be reported to the user. - - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - Flag to control whether in-stream errors should be detected when reading. - - - The stack of XML base URI definitions. - - - The XML base stack state when the buffering started. This is only used when in buffering mode. - - - Constructor - The reader to wrap. - If this reader is wrapping an inner reader of some kind, this parameter should pass the xml:base effective value of the parent. - The base URI for the document. - Flag to control if the xml:base attributes should be processed when reading. - The maximum number of recursive internalexception elements to allow when reading in-stream errors. - XML namespace for data services. - - - - Reads the next node from the input. - - true if another node is available and the reader has moved to it; false if end of input was reached. - - - - Moves the reader to the element which owns the current attribute. - - true if the reader has moved (that is the current node was an attribute); - false if the reader didn't move (the reader was already positioned on an element or other node). - - - - Moves the reader to the first attribute of the current element. - - true if the reader moved to the first attribute; false if there are no attribute for the current node (the reader didn't move). - - - - Moves the reader to the next attribute on the current element. - - true if the reader moved to the next attribute (if the node was an element it moves to the first attribute); - false if the reader didn't move (no attributes for the current node). - - - - Reads the next node from the value of an attribute. - - true if next node was available; false if end of the attribute value was reached. - - - - Returns the value of an attribute based on its index. - - The index of the attribute, starts at 0. - The value of the attribute at index . - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - The value of the attribute with specified and . - - - - Returns the value of an attribute based on its name. - - The name of the attribute. (prefix:localname) - The value of the attribute with specified . - - - - Looks up a namespace URI based on the prefix. - - The prefix to search for. - The namespace URI for the specified . - - - - Moves the reader to the attribute specified by fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - true if the attribute specified by and was found and the reader is positioned on it; - false otherwise. - - - - Moves the reader to the attribute specified by name. - - The name of the attribute (prefix:localname). - true if the attribute specified by was found and the reader is positioned on it; - false otherwise. - - - - Resolves the current entity node. - - - - - Puts the reader into the state where it buffers read nodes. - - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - The actual implementatin of the Read method. Moves the reader to the next node. - - true if the reader should not check for in-stream errors; otherwise false. - true if next node is available and the reader has moved; false if end-of-input was reached. - - - - Reads the next node from the XML reader and if m:error element node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Determines if the specified node is the end of input node. - - The buffered node to test. - true if the node is the special end of input node, false otherwise. - - - - Buffers the current reader state into a node. - - The newly created buffered node. - - - - Returns the current element node (or node which acts like an element, it doesn't have to be of type Element). - - The current element node. - - - - Finds the buffered node for the attribute specified by its index. - - The index of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its local name and namespace URI. - - The local name of the attribute. - The namespace URI of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its qualified name. - - The qualified name of the attribute to find, that is prefix:localName. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - If the reader is positioned on the attribute value node, this moves it to the owning attribute node. - - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. This string must already be atomized against the reader's nametable. - The namespace URI of the attribute. This string must already be atomized against the reader's nametable. - The value of the attribute with specified and . - - Behaves the same as GetAttribute, but it assumes that the parameters are already atomized against our nametable. - This allows the method to be much faster. - - - - - Validates internal state of the reader - debug only. - - - - - Returns the type of the current node. - - - - - Returns true if the reader is positioned on an empty element. - - - - - Returns the local name of the current node. - - - - - Returns the prefix of the current node. - - - - - Returns the namespace URI of the current node. - - - - - Returns the value of the current node. - - - - - Returns the depth of the current node. - - - - - Returns true if the end of input was reached. - - - - - Returns the current state of the reader. - - We need to support ReadState in order for Skip to work without us implementing it again. - - - - Returns the nametable used by the reader. - - - - - Returns the number of attributes on the node. - - - - - Returns the base URI of the node - note that this is not based on the xml:base attribute, just the input streams. - - - - - Returns true if the current node has a value. - - - - - The active XML base URI for the current node. - - - - - The active XML base URI for the parent node (parent element) of the current node. - - - - - Flag to control whether in-stream errors should be detected when reading. - - - - - Class representing one buffered XML node - - - - - The list of attribute nodes, if this node is an element node. - - - - - Constructor. - - The XML reader to get all the interesting values from. The reader - is positioned on the node which the new buffered node should buffer. - - - - Constructor for an attribute value node - - The value of the attribute value node to create. - The parent attribute depth. - The nametable to use. - - - - Constructor for end of input node. - - The atomized instance of an empty string. - - - - Creates a special node which represents the end of input. - - The nametable of the underlying reader. - The newly created node. - - - The type of the buffered node. - - - The namespace URI of the buffered node. - - - The local name of the buffered node. - - - The prefix of the buffered node. - - - The value of the buffered node. - - - The depth of the buffered node. - - - Denotes if the buffered node is an empty element. - - - List of attributes. If the node is not element, this will be null. - - - - Helper class to store XML base URI definition for a specific depth of the reader. - - - - - Constructor. - - The XML base URI for the definition. - The depth of the XML reader for the definition. - - - The base URI for this definition. - - - The depth of the XmlReader on which this XML base is defined. - - - - Atom metadata for stream reference values. - - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - - OData collection reader for ATOM format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type reference for the items in the collection. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the collection element node or the empty collection element node. - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the collection element or the empty collection element node. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the end tag of the item. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: Any - the next node after the end tag of the collection element. - Post-Condtion: XmlNodeType.None - the reader is at the end of the input. - - - - - Implementation of the OData input for ATOM OData format. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - If entry XML customization is used this is the reader for the current entry. - - - A stack used to track XML customization readers. - - At the beginning the base reader is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the reader returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomReader, other readers don't use this. - - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The or producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - Initializes the ability to use customization readers. - - - This needs to be called before any of the reader customization functionality is used. - - - - - Pushes a reader on the top of the customization stack. - - The reader to push. - The xml:base URI to use as the base uri for all of the payload read from that reader. - - - - Pops a reader from the top of the customization stack. - - The popped reader, the one which was on the top of the stack before the operation. - - - - Disposes the input context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - This methods creates and reads a service document from the input and returns - an representing the service document. - - An representing the service document. - - - - Read a top-level error. - - An representing the read error. - - - - Reads top-level entity reference links. - - An representing the read entity reference link. - - - - Reads a top-level entity reference link. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - Helper methods used by the OData reader for the ATOM format. - - - - - Creates an Xml reader over the specified stream with the provided settings. - - The stream to create the XmlReader over. - The encoding to use to read the input. - The OData message reader settings used to control the settings of the Xml reader. - An instance configured with the provided settings. - - - - Parses the value of the m:null attribute and returns a boolean. - - The string value of the m:null attribute. - true if the value denotes that the element should be null; false otherwise. - - - - Creates a new XmlReaderSettings instance using the encoding. - - Configuration settings of the OData reader. - The Xml reader settings to use for this reader. - - - - OData reader for the ATOM format. - - - - The input to read the payload from. - - - The deserializer to use to read input. - - - Stack of entry and feed deserializers, we need to create a new one for each XML customization - so that the strings get atomized again and so that we can return to the original one without reatomizing everything. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading top-level entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the top-level entry (if there were no nav. links. in it). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the top-level entry. - XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry). - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry - The start tag of the first entry element to read. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry (empty) - The empty start tag of the first entry in the feed. - XmlNodeType.EndElement atom:entry - The end tag of the first entry in the feed (if it had no nav. links). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the first entry in the feed. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The empty start tag of atom:feed - XmlNodeType.EndElement atom:feed - The end element of the atom:feed - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: Any - The node right after the top-level atom:feed element - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end element of the atom:entry. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: Any - The node right after the top-level atom:entry element. - XmlNodeType.EndElement atom:feed - The end element of the parent feed for the entry. - XmlNodeType.Element (empty) atom:entry - The empty start tag of the next entry in the parent feed. - XmlNodeType.EndElement atom:entry - The end element of the next entry in the parent feed (if it had no nav. links). - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the next entry in the parent feed. - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - the atom:link element representing the navigation link. - Post-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link of a deferred navigation link. - XmlNodeType.Element atom:entry - the atom:entry element of the expanded entry. - XmlNodeType.Element atom:feed - the atom:feed element of the expanded feed. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: XmlNodeType.EndElement atom:entry - the end element atom:entry of the parent entry if there are no more navigation links. - XmlNodeType.Element atom:link - the atom:link element of the next navigation link of the parent entry. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of an entity reference link. - XmlNodeType.EndElement atom:link - the end element atom:link of the entity reference link. - Post-Condition: Unchanged - the reader doesn't change its position. - - - - - Reads the start of a feed and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:feed. - Post-Condition: XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry) - - - - - Reads the start of an entry and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:entry. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the entry (if there were no nav. links. in it) - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the entry. - - - - - End the entry. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link descriptor for the navigation link to start. - - - - Moves the reader from the start state of a non-expanded navigation link. - - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Replaces the current scope with a new FeedEnd scope and the item of the current scope. - - - - - Returns the current entry state. - - - - - Returns the current feed state. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property have null value, we don't know for sure yet (both are possible), it it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - Bitfield to track the current state of the ATOM scope. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The ATOM feed metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The cache for values read from custom EPM. - - - This is lazily initialized only when it's actually needed. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Sets the bit identified by the if is true, otherwise clears it. - - Indicates if the should be set - Identifies the bit to set in atomScopeState - - - - Returns true if the bit identified by is set, false otherwise. - - Identifies the bit to set in atomScopeState - True if the bit identified by the is set, false otherwise - - - - Flag which indicates that the element representing the current state is empty. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - trye if the EpmCustomReaderValueCache has been initialized; false otherwise. - - - - - true if the AtomEntryMetadata has been initialized; false otherwise. - - - - - The navigation property retrieved from the metadata when reading a navigation link. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element for this entry. - - - - - Flag which indicates whether we have found a content element for this entry. - - - - - Flag which indicates whether we have found a category element for this entry. - - - - - Flag which indicates whether we have found a m:properties element for this entry. - - - - - Flag which indicates whether we have found a m:count elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='next'] elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='self'] elemnent for this feed. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - The feed metadata to fill as we read the content of a feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No state information. - - - Empty element. - - - A read link has been detected for this entry. - - - An edit link has been detected for this entry. - - - An id link has been detected for this entry. - - - A content element has been detected for this entry. - - - A category element which has the required type name has been detected for this entry. - - - A m:properties element has been detected for this entry. - - - A m:count link has been detected for this feed. - - - A link[@rel='next'] link has been detected for this feed. - - - A link[@rel='self'] link has been detected for this feed. - - - An edit-media link has been detected for this entry. - - - A link[@rel='http://docs.oasis-open.org/odata/ns/delta'] has been detected for this entry. - - - - Extension methods for the XML reader. - - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: Any - the node after the element. - - This method is similar to ReadElementContentAsString with one difference: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - - - - Reads the value of the first text, CDATA or significant whitespace node. - - The reader to read from. - The value of the first text, CDATA or significant whitespace node. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - This method is similar to ReadElementContentAsString with two differences: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - It leaves the reader positioned on the EndElement node (or the start node if it was empty). - - - - - Reads from the XML reader skipping insignificant nodes. - - The XML reader to read from. - Do not use MoveToContent since for backward compatibility reasons we skip over nodes reported as Text which have - whitespace only content (even though the XmlReader should report those as Whitespace). - - - - Skips the content of the element and leaves the reader on the end element (or empty start element) - - The reader to read from. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - - - - - Reads from the input until the first element is found. - - The XML reader to read from. - - Pre-Condition: XmlNodeType.None - the reader hasn't been used yet. - Post-Condition: XmlNodeType.Element - the reader is positioned on the root/first element. - Note that the method will fail if the top-level contains any significant node other than the root element - or if no root element is found. - - - - - Reads till the end of the input payload. - - The XML reader to read from. - - Pre-Condition: any - the reader will verify that only insignificant node is present. - Post-Condition: XmlNodeType.None - the reader is at the end of the input. - - - - - Determines if the current node's namespace equals to the specified - - The XML reader to get the current node from. - The namespace URI to compare, this must be a string already atomized in the name table. - true if the current node is in the specified namespace; false otherwise. - - - - Determines if the current node's local name equals to the specified - - The XML reader to get the current node from. - The local name to compare, this must be a string already atomized in the name table. - true if the current node has the specified local name; false otherwise. - - - - Tries to read the current element as an empty element (no or empty content). - - The XML reader to read from. - true if the reader was on an empty element; false otherwise. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - any other - the first child node of the element, in this case the method returns false. - - - - - Reads to the next element encountered in an Xml payload. - - The to read from. - true if the method reached the next element; otherwise false. - - - - Checks whether the specifies string is null or blank. - - Text to check. - true if text is null, empty, or all whitespace characters. - - - - Helper class to verify that no duplicate properties are specified for entries and complex values. - - - - Special value for the property annotations which is used to mark the annotations as processed. - - - true if duplicate properties are allowed; otherwise false. - - See the comment on ODataWriterBehavior.AllowDuplicatePropertyNames or - ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - - - true if we're processing a response; false if it's a request. - - - - A cache of property names to detect duplicate property names. The value stored - for a given property name indicates what should happen if another property with the same name is found. - See the comments on for more details. - - - - - Constructor. - - true if duplicate properties are allowed; otherwise false. - true if we're processing a response; false if it's a request. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The property to be checked. - - - - Checks the for duplicate property names in an entry when the navigation link - has started but we don't know yet if it's expanded or not. - - The navigation link to be checked. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - The association link with the same name if there already was one. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The association link to be checked. - The navigation link with the same name as the association link if there's one. - - - - Clear the internal data structures of the checker so it can be reused. - - - - - Adds an OData annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - The valud of the annotation to add. - - - - Adds a custom annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - - - - Returns OData annotations for the specified property with name . - - The name of the property to return the annotations for. - Enumeration of pairs of OData annotation name and and the annotation value, or null if there are no OData annotations for the property. - - - - Marks the property to note that all its annotations were already processed. - - The property name to mark. - - Properties marked like this will fail if there are more annotations found for them in the payload. - - - - - Returns the names of all properties which have not been marked as processed through . - - A set of property names. - - - - Throw if property is processed already. - - Name of the property. - DuplicationRecord of the property. - - - - Indicates whether a property's annotations have not yet been processed. - - The name of the property to check. - true if the property associated with the given name has unprocessed annotations. - - - - Decides whether a the given supports duplicates (if allowed by the settings). - - The property to check. - true if the supports duplicates (if allowed by the settings); otherwise false. - - - - Determines the effective value for the isCollection flag. - - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - The effective value of the isCollection flag. Note that we can't rely on singleton links which are not expanded since - those can appear even in cases where the actual navigation property is a collection. - We allow singleton deferred links for collection properties in requests, as that is one way of expressing a bind operation. - - - - Sets the properties on a duplication record for a navigation link. - - The duplication record to modify. - The navigation link found for this property. - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - - - - Tries to get an existing duplication record for the specified . - - The property name to look for. - The existing duplication if one was already found. - true if a duplication record already exists, false otherwise. - This method also initializes the cache if it was not initialized yet. - - - - Checks for duplication of a navigation link against an existing duplication record. - - The name of the navigation link. - The existing duplication record. - This only performs checks possible without the knowledge of whether the link was expanded or not. - - - - Gets a duplication record to use for adding property annotation. - - The name of the property to get the duplication record for. - The name of the annotation being added (only for error reporting). - The duplication record to use. This will never be null. - - - - An enumeration to represent the duplication kind of a given property name. - - - This enumeration is used to determine what should happen if two properties with the same name are detected on an entry or complex value. - When the first property is found, the initial value is set based on the kind of property found and the general setting to allow or disallow duplicate properties. - When a second property with the same name is found, the duplication kind can be 'upgraded' (e.g., from association link to navigation property), 'ignored' (e.g. - when finding the association link for an existing navigation property or when duplicate properties are allowed by the settings) or 'fail' - (e.g., when duplicate properties are not allowed). - - - - We don't know enough about the property to determine its duplication kind yet, we've just seen a property annotation for it. - - - Duplicates for this property name are not allowed. - - - This kind indicates that duplicates are allowed (if the settings allow duplicates). - - - A navigation link or association link was reported. - - - - A record of a single property for duplicate property names checking. - - - - - Constructor. - - The duplication kind of the record to create. - - - - The duplication kind of the record to create. - - - - - The navigation link if it was already found for this property. - - - - - The association link if it was already found for this property. - - - - - true if we know for sure that the navigation property with the property name is a collection, - false if we know for sure that the navigation property with the property name is a singleton, - null if we don't know the cardinality of the navigation property for sure (yet). - - - - - Dictionary of OData annotations for the property for which the duplication record is stored. - - - The key of the dictionary is the fully qualified annotation name (i.e. odata.type), - the value is the parsed value of the annotation (this is annotation specific). - - - - - Hashset of custom annotations for the property for which the duplication record is stored. - - - This is just a hashset for now since we don't read custom annotations, we just need to check for duplicates. - - - - - Utility methods serializing the xml error payload - - - - Default language for error messages if not specified. - - This constant is included here since this file is compiled into WCF DS Server as well - so we can't compile in the ODataConstants. - - - - - Extracts error details from an . - - The ODataError instance to extract the error details from. - A data service-defined string which serves as a substatus to the HTTP response code. - A human readable message describing the error. - The language identifier representing the language the error message is in. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write an error message. - - The Xml writer to write to. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - The maximumum number of nested inner errors to allow. - - - - Writes the inner exception information in debug mode. - - The Xml writer to write to. - The inner error to write. - The local name of the element representing the inner error. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - OData JSON deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JSON input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: JsonNodeType.StartArray: for a V1 collection - JsonNodeType.StartObject: for a >=V2 collection - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level properties if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: V1 collection - EndObject V1 collection in response - EndObject wrapped collection with no extra properties after the 'results' property - Property wrapped collection with extra properties after the 'results' property - - - - - OData JSON deserializer for entity reference links. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Reads the properties of an entity reference link. - - The instance to set the read property values on. - The bit field with all the properties already read. - true if the method found the 'results' property; otherwise false. - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: any node - This method will throw if the node type is not a StartObject node - Post-Condition: any node - - - - - OData Verbose JSON deserializer for entries and feeds. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Reads the start of a feed; this includes feed-level properties if the version permits it. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.StartArray: for a feed without 'results' wrapper - JsonNodeType.StartObject: for a feed wrapped with 'results' wrapper - Post-Condition: Any start node The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of a feed; this includes feed-level properties if the version permits them. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.EndArray if the feed is not wrapped - JsonNodeType.EndObject if the feed is wrapped - - - - - Reads the start of an entry (non-null) - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.Property The first property of the entry - JsonNodeType.EndObject The end of the property object - - - - - Reads the entry metadata property. - - The state of the reader for entry to read. - - This method does not move the reader. - Pre-Condition: JsonNodeType.Object The start object of the __metadata property value. - Post-Condition: JsonNodeType.EndObject The end object of the __metadtaa property value. - - - - - Validates entry metadata properties against the model. - - The state of the reader for entry to read. - - This method must be called only after the ReadEntryMetadata was already called. - It should be called always, regardless of whether the __metadata property was found ot not. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - If a navigation link was found this parameter will hold the navigation property for that link, otherwise it's null. - A instance representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or feed with 'results' wrapper inside expanded link) - JsonNodeType.StartArray feed without 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Reads the Url of a non-expanded link and moves the reader forward to the position after the link. - - The navigation link to set the Url on. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the deferred link - Post-Condition: JsonNodeType.Property: the next property after the deferred link - JsonNodeType.EndObject the end of the owning entry if the deferred link is the last property - - - - - Reads the entity reference link and moves the reader forward to the position after the link. - - The entity reference link read from the payload. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the entity reference link - Post-Condition: JsonNodeType.Property: the next property after the entity reference link - JsonNodeType.EndObject: the end of the owning entry if the entity reference link is the last property - JsonNodeType.EndArray: the end of the owning array (if the entity reference link is part of expanded feed) - Any: the next item in the owning array (if the entity reference link is part of expanded feed) - - - - - Analyzes the current navigation property node to determine whether it represents a deferred link. - - true if we already detected a navigation link and now determine its kind; false if we are detecting a deferred navigation link. - true if the current navigation property represents a deferred link; false for an expanded navigation link. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Analyzes the current node to determine whether it represents an entity reference link. - - true if the current node represents an entity reference link; false is it's an entry or something else. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Read a feed-level property (e.g., __count, __next, etc.) and check its version compliance. - This method fails on properties that are not recognized as feed-level properties. - - The instance to fill with the data read. - The name of the property being read. - true if the feed is inside an expanded link. - - Pre-Condition: The reader is on the first node of the feed-level property's value. - Post-Condition: JsonNodeType.Property: the next feed property to read or - JsonNodeType.EndObject: the end of the results wrapper - - - - - Read an entry-level property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value. - - The value of the stream property. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the stream reference (after the EndObject) - - - - - Reads the uri property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'uri' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the id property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'id' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the etag property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_src property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_src' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the edit_media property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'edit_media' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the content_type property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'content_type' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_etag property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the actions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'actions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the functions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'functions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Read the property metadata for the properties of an entry being read. - - The entry state for the current reader. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'properties' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - This method will not validate anything against the model because it will read the type name and thus it can't rely - on knowing the actual type of the entry being read. - - - - - Read the 'actions' or 'functions' metadata for the entry being read. - - The the 'actions' or 'functions' metadata is read for. - When True the 'actions' metadata is being read, otherwise 'functions' metadata is being read. - - Pre-Condition: first node of the 'actions' or 'functions' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the stream reference metadata from the value of the __mediaresource property. - - The value of the stream reference with the metadata properties filled. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: Either a property node or an EndObject node. - - - - - Tries to resolve the payload URI using the custom URI resolver. If the custom resolver fails, it returns the actual URI from the payload. - - the URI to be resolved. - A resolved URI or the URI from the payload, if the custom resolver fails. - - - - Validates that the value of a JSON property can represent navigation link. - - true if the property is entity set reference property; false for a resource reference property. - - - - Determines whether a property of an entry should be skipped during reading. - - true if the current property should be skipped; otherwise false. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData Verbose JSON deserializer for errors. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a top-level error. - - An representing the read error. - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: any - will throw if not StartObject - Post-Condition: JsonNodeType.Property - The next property in the error value - JsonNodeType.EndObject - The end of the error value - - - - - Implementation of the OData input for Verbose JSON OData format. - - - - The text reader created for the input stream. - - The ODataJsonInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The reader to read data from. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - Task which when completed returns the newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - Task which when completed returns the newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Asynchronously create a . - - The expected type reference for the items in the collection. - Task which when completed returns the newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Asynchronously create a . - - The function import whose parameters are being read. - Task which when completed returns the newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Asynchronously read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - Task which when completed returns an representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Asynchronously read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - Task which when completed returns an representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Asynchronously read a top-level error. - - Task which when completed returns an representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Asynchronously read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - Task which when completed returns an representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Asynchronously read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - Task which when completed returns an representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - OData JSON deserializer for service documents. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Class representing implementation specific debugging information to help determine the cause of the error. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class with exception object. - The used to create the inner error. - - - Gets or sets the error message. - The error message. - - - Gets or sets the type name of this error, for example, the type name of an exception. - The type name of this error. - - - Gets or sets the stack trace for this error. - The stack trace for this error. - - - Gets or sets the nested implementation specific debugging information. - The nested implementation specific debugging information. - - - - OData representation of a top-level collection. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the name of the collection (ATOM only). - The name of the collection. - - - - Provides additional serialization information to the for this . - - - - - OData collection reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Set to true if collections are expected to have the 'results' wrapper. - Collections are only expected to have a results wrapper if - (a) the protocol version is >= 2 AND - (b) we are reading a response - NOTE: OIPI does not specify a format for >= v2 collections in requests; we thus use the v1 format and consequently do not expect a result wrapper. - - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state, the Item property of the returns null. - - - - The reader has started reading and is reading the start element of the collection wrapper (if any). - No items have been read. - - - In this state, the Item property of the returns - an instance of . - - - - - The reader read an item from the collection. - - In this state, the Item property of the returns the read item (a primitive value, an ODataComplexValue or null). - - - - The reader has finished reading and is reading the end element of the collection wrapper (if any). - All items have been read. - - - In this state, the Item property of the returns the same - instance of as in state CollectionStart. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state, the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state, the Item property of the returns null. - - - - - Exception type representing an in-stream error parsed when reading a payload. - - - - The value containing instance representing the error - read from the payload. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an object. - The instance representing the error read from the payload. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message and an object. - The plain text error message for this exception. - The instance representing the error read from the payload. - - - Creates a new instance of the class with an error message, an inner exception, and an object. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - The instance representing the error read from the payload. - - - Gets the instance representing the error read from the payload. - The instance representing the error read from the payload. - - - - Implement the ISafeSerializationData interface to contain custom exception data in a partially trusted assembly. - Use this interface in post-ORCAS to replace the Exception.GetObjectData method, which is marked with the SecurityCriticalAttribute. - - - - - Gets or sets the object. - - - - - Implementation of the OData input for RAW OData format (raw value and batch). - - - - Use a buffer size of 4k that is read from the stream at a time. - - - The to read. - - - The encoding to use to read from the batch stream. - - - The input stream to read the data from. - - - The text reader to read non-binary values from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - The to read. - - - - Create a . - - The batch boundary to use. - The newly created . - - - - Asynchronously create a . - - The batch boundary to use. - Task which when completed returns the newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Asynchronously read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - Task which when completed returns an representing the read value. - - - - Disposes the input context. - - - - - Create a . - - The batch boundary to use. - If the reader should be created for synchronous or asynchronous API. - The newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Read the binary value from the stream. - - A byte array containing all the data read. - - - - Reads the content of a text reader as string and, if is specified and primitive type conversion - is enabled, converts the string to the expected type. - - The expected type of the value being read or null if no type conversion should be performed. - The raw value that was read from the text reader either as string or converted to the provided . - - - - The stream of the raw input context. - - - - - Handles serialization and deserialization for a specified set of primitive types. - - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Set of type converters that implement their own conversion using IPrimitiveTypeConverter. - - - Set of type converters that are known to this instance which convert values based on the ISpatial type. - - - - Create a new instance of the converter. - - Set of type converters to register for the ISpatial based values. - - - - Try to create an object of type from the value in . - - XmlReader to use to read the value. - Expected type of the value in the reader. - Object of type , null if no object could be created. - True if the value was converted to the specified type, otherwise false. - - - - Try to write the XML representation of to the specified - - Object to convert to XML representation. - XmlWriter to use to write the converted value. - True if the value was written, otherwise false. - - - - Try to write the Verbose JSON representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - Type name of the instance. If the type name is null, the type name is not written. - The OData protocol version to be used for writing payloads. - - - - Try to write the JSON Lite representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - The OData protocol version to be used for writing payloads. - - - - Tries to write the value of object instance using a registered primitive type converter. - - Object to write. - Method to use when writing the value, if a registered converter is found for the type. - True if the value was written using a registered primitive type converter, otherwise false. - - - - Get the primitive type converter for the given type. - - Clr type whose primitive type converter needs to be returned. - Converter for the given clr type. - True if a converter was found for the given type, otherwise returns false. - - - PrimitiveConverter instance for use by the Atom and Json readers and writers. - - - - Annotation which stores a list of projected properties for an entry. - - - - The special '*' segment indicating that all properties are selected. - - - - Cached projected properties annotation with no properties projected. - - - - - Cached projected properties annotation with all properties projected. - - - - - A hash set with the projected property names. - - - - Initializes a new instance of the class. - The enumeration of projected property names. - - - - Constructor. - - - - - Determines if a property is in a list of projected properties. - - The name of the property to lookup. - true if the property is projected; false otherwise. - Note that we allow null and empty property names here for the lookup just so that - we don't have to validate before we skip them. If we would not skip them, the writing would fail later on anyway. - - - - Adds the specified property name to the set of projected properties (if it is not already included). - - The name of the property to include in the set of projected properties. - - - - Removes the specified property name from the set of projected properties. - - The name of the property to remove from the set of projected properties. - - - - Projected properties annotation with no properties projected. - - - - - Projected properties annotation with all properties projected. - - - - - The set of projected property names. - - - - - Class with utility methods for reading OData content. - - - - - Creates a new instance to return to the user. - - The newly created entry. - The method populates the Properties property with an empty read only enumeration. - - - Checks for duplicate navigation links and if there already is an association link with the same name - sets the association link URL on the navigation link. - The duplicate property names checker for the current scope. - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - - - Checks that for duplicate association links and if there already is a navigation link with the same name - sets the association link URL on that navigation link. - The duplicate property names checker for the current scope. - The association link to be checked. - - - - Adds an association link to an entry. - - The entry to get or create the association link for. - The navigation property to get or create the association link for. - The association link that we either retrieved or created for the . - - - - Returns true if the specified is set in the . - - The value of the setting to test. - The flag to test. - true if the flas is present, flase otherwise. - - - - Gets the expected property name from the specified property or function import. - - The to get the expected property name for (or null if none is specified). - The expected name of the property to be read from the payload. - - - - Class with utility methods for validating OData content when reading. - - - - - Validates that message reader settings are correct. - - The message reader settings to validate. - true if the settings were specified when reading a response, false when reading a request. - - - - Validates an entity reference link. - - The entity reference link to check. - - - - Validates a stream reference property. - - The stream property to check. - The owning type of the stream property or null if no metadata is available. - The stream property defined by the model. - The message reader settings being used. - - - - Validate a null value. - - The used to read the payload. - The expected type of the null value. - The message reader settings. - true to validate the the null value; false to only check whether the type is supported. - The version used to read the payload. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Validates an to ensure all required information is specified and valid. - - The entry to validate. - - - - Finds a defined property from the model if one is available. - The structured type can be null if no metadata is available. - - The name of the property to find. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - true if the property should be completely ignored and not parsed/reported, in this case the return value is null. - false if the property should be parsed and reported as usual. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that the expected property name matches the property name read from the payload. - - The expected property name. - The property name read from the payload. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The message reader settings being used. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Creates an exception used when primitive type conversion fails. - - The target type reference to which the conversion failed. - Possible inner exception with more information about the failure. - The exception object to throw. - - - - Resolved the payload type name to the type. - - The model to use for the resolution. - The expected type reference, or null if no expected type is available. - The payload type name to resolve. - The default payload type kind, this is used when the resolution is not possible, - but the type name is not empty. (Should be either Complex or Entity). - Reader behavior to use for compatibility. - The version of the payload being read. - This is set to the detected payload type kind, or None if the type was not specified. - The resolved type. This may be null if either no user-specified model is specified, or the type name is not recognized by the model. - The method detects the payload kind even if the model does not recognize the type. It figures out primitive and collection types always, - and uses the for the rest. - - - - Resolves and validates the payload type against the expected type and returns the target type. - - The expected type kind for the value. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The expected type reference, or null if no expected type is available. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - A func to compute the type kind from the payload shape if it could not be determined from the expected type or the payload type. - The target type kind to be used to read the payload. - Potentially non-null instance of an annotation to put on the value reported from the reader. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Resolves the primitive payload type versus the expected type and validates that such combination is allowed. - - The expected type reference, if any. - The kind of the payload type, or None if the detection was not possible. - The resolved payload type, or null if no payload type was specified. - The name of the payload type, or null if no payload type was specified. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The model to use. - The message reader settings to use. - The version of the payload being read. - The target type reference to use for parsing the value. This method never returns null. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type kind, this may be the one from the type itself, or one detected without resolving the type. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Validates that the specified encoding is supported in batch/changeset envelopes (headers, boundaries, preamble, etc.). - - The to check. - - - - Validates whether the specified type reference is supported in the current version. - - The type reference to check. - The version currently used. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - entity set and entity type when reading a feed or entry payload. This method updates - the if the metadata URI specifies more derived information. - - The parse result of the metadata URI from the payload. - The top-level scope representing the reader state. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - navigation property. - - The parse result of the metadata URI from the payload. - The expected navigation property. - This method is used to validate metadata URIs for both singleton entity reference links - and collections of entity reference links. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - collection item type when reading collection payloads. - - The parse result of the metadata URI from the payload. - The expected item type of the collection items. - The actual item type of the collection items. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - The header for the operation, either 'actions' or 'functions'. - - - - Resolves the payload type if there's no expected type. - - The expected type kind for the value. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when the strict validation is disabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when strict validation is enabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Verifies that payload type is defined if the payload type name is present. - - The type name from the payload. - The resolved type from the model. - - - - Verifies that complex type is valid against the expected type. - - The expected type reference. - The payload type. - true if the method should fail if the doesn't match the ; - false if the method should just return in that case. - - The method verifies that the is not a derived complex type of the - and always fails in that case. - - - - - Verifies that in case of collection types, the item type is valid. - - The expected type reference. - The payload type. - - This method verifies that item type is not a derived complex type, we want to explicitly disallow that case for possible future enablement. - - - - - Conditionally creates the annotation to put on the read value in order to retain the type name from the payload. - - The payload type name. - The type reference into which we're going to parse. - The annotation to report to the reader for adding on the read value. - - - - Computes the type kind to be used to read the payload from the expected type, the payload type and - possibly the payload shape. - - The expected type reference used to read the payload value. - true when resolving a type name for an entity value; false for a non-entity value. - The type name read from the payload. - The type kind of the payload value. - The message reader settings. - A func to determine the type kind of the value by analyzing the payload data. - The type kind to be used to read the payload. - - - - Gets the expected type kind based on the given , or EdmTypeKind.None if no specific type should be expected. - - The expected type reference. - The message reader settings. - The expected type kind based on the settings and type reference, or EdmTypeKind.None if no specific type should be expected. - - - - Determines if the expect value type and the current settings mandate us to validate type kinds of payload values. - - The message reader settings. - The expected type reference for the value infered from the model. - The type kind of the payload value. - true if the payload value kind must be verified, false otherwise. - This method deals with the strict versus lax behavior, as well as with the behavior when primitive type conversion is disabled. - - - - Validates that the specified allows null values. - - The expected type for the value, or null if no such type is available. - true to validate the null value; otherwise false. - The model to use to get the data service version. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Create and throw exception that a null value was found when the expected type is non-nullable. - - The expected type for this value. - The name of the property whose value is being read, if applicable. - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Implementation of IEnumerable>T< which is based on a List>T< - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of a single item in the enumeration. - - - - The IEnumerable to wrap. - - - - - The empty instance of ReadOnlyEnumerableOfT. - - - - - Constructor which initializes the enumerable with an empty list storage. - - - - - Constructor. - - The list of values to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Gets the empty instance of ReadOnlyEnumerableOfT. - - Returns the empty instance of ReadOnlyEnumerableOfT. - - - - This internal method adds to the wrapped source list. From the public's perspective, this enumerable is still readonly. - - Item to add to the source list. - - - - Annotation which stores the type name to serialize. - - - This annotation will be recognized on ODataEntry, ODataComplexValue, ODataCollectionValue and ODataPrimitiveValue. - - - - Gets or sets the type name to serialize, for the annotated item. - The type name to serialize, for the annotated item. - - If this property is null, no type name will be written. - If this property is non-null, the property value will be used as the type name written to the payload. - If this annotation is present, it always overrides the type name specified on the annotated item. - If this annotation is not present, the value of the TypeName property on the ODataEntry, ODataComplexValue or ODataCollectionValue - is used as the type name in the payload. - - - - - Uri utility methods. - - - - - Returns the unescaped string representation of the Uri; if the Uri is absolute returns the absolute Uri otherwise the original string. - - The Uri to convert to a string. - For absolute Uris the string representation of the absolute Uri; otherwise the Uri's original string. - - - - Class with utility methods for validating OData content when writing. - - - - - Validates that message writer settings are correct. - - The message writer settings to validate. - True if we are writing a response. - - - - Validates an for not being null. - - The property to validate for not being null. - - - - Validates a property name to ensure all required information is specified. - - The property name to validate.. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Validates an entry in an expanded link to make sure the entity types match. - - The of the entry. - The type of the parent navigation property. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - The version of the OData protocol used for checking. - true if we are writing a response; otherwise false. - - - - Validates that an can be written. - - The operation (an action or a function) to validate. - true if writing a response; otherwise false. - - - - Validates an to ensure all required information is specified and valid on the WriteEnd call. - - The feed to validate. - Flag indicating whether the feed is written as part of a request or a response. - The version of the OData protocol used for checking. - - - - Validates an to ensure all required information is specified and valid on WriteStart call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid on WriteEnd call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid. - - The stream reference to validate. - true if is the default stream for an entity; false if it is a named stream property value. - - - - Validates a named stream property to ensure it's not null and it's name if correct. - - The stream reference property to validate. - Property metadata to validate against. - The version of the OData protocol used for checking. - true when writing a response; otherwise false. - This does NOT validate the value of the stream property, just the property itself. - - - - Validates that the specified is not null. - - The entity reference link to validate. - This should be called only for entity reference links inside the ODataEntityReferenceLinks.Links collection. - - - - Validates an entity reference link instance. - - The entity reference link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The navigation link to validate. - The declaring the navigation property; or null if metadata is not available. - The of the expanded content of this navigation link or null for deferred links. - The type of the navigation property for this navigation link; or null if no was specified. - - - - Validates that the specified navigation link has a Url. - - The navigation link to validate. - - - - Validates that the sepcified navigation link has cardinality, that is it has the IsCollection value set. - - The navigation link to validate. - - - - Validates that the expected property allows null value. - - The expected property type or null if we don't have any. - The name of the property. - The instance controlling the behavior of the writer. - The model to use to get the data service version. - - - - Validates the value of the Id property on an entry. - - The id value for an entry to validate. - - - - Extension methods for the JSON reader. - - - - - Reads the next node from the and verifies that it is a StartObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an StartArray node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndArray node. - - The to read from. - - - - Verifies that the current node is a property node and returns the property name. - - The to read from. - The property name of the current property node. - - - - Reads the next node from the , verifies that it is a Property node and returns the property name. - - The to read from. - The property name of the property node read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node. - - The to read from. - The primitive value read from the reader. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The name of the property for which to read the string; used in error messages only. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type double. - - The to read from. - The double value read from the reader; throws an exception if no double value could be read. - - - - Skips over a JSON value (primitive, object or array). - - The to read from. - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Reads the next node. Use this instead of the direct call to Read since this asserts that there actually is a next node. - - The to read from. - The node type of the node that reader is positioned on after reading. - - - - Determines if the reader is on a value node. - - The reader to inspect. - true if the reader is on PrimitiveValue, StartObject or StartArray node, false otherwise. - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Creates an exception instance that is appropriate for the current library being built. - Allows the code in this class to be shared between ODataLib and the common spatial library. - - String to use for the exception messag. - Exception to be thrown. - - - - Reads the next node from the and verifies that it is of the expected node type. - - The to read from. - The expected of the read node. - - - - Validates that the reader is positioned on the specified node type. - - The to use. - The expected node type. - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state the Item property of the returns null. - - - The start of a feed has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the FeedEnd state is reached. - - - - The end of a feed has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of an entry has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the EntryEnd state is reached. - - - - The end of an entry has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of a navigation link has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the LinkEnd state is reached. - - - - The end of a navigation link has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - An entity reference link was read. - - In this state the Item property of the returns - an which is fully populated. - Note that there's no End state for this item. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state the Item property of the returns null. - - - - - Class for reading OData batch messages; also verifies the proper sequence of read calls on the reader. - - - - - An interface that allows creators of a to listen for status changes - of the operation stream. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - A task representing any async operation that is running in reaction to the - status change (or null if no such action is required). - - - - - This method notifies the implementer of this interface that the content stream of a batch operation has been disposed. - - - - The input context to read the content from. - - - The batch stream used by the batch reader to devide a batch payload into parts. - - - True if the writer was created for synchronous operation; false for asynchronous. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The current state of the batch reader. - - - The current size of the batch message, i.e., how many query operations and changesets have been read. - - - The current size of the active changeset, i.e., how many operations have been read for the changeset. - - - An enumeration tracking the state of the current batch operation. - - - The value of the content ID header of the current part. - - The content ID header of the current part should only be visible to subsequent parts - so we can only add it to the URL resolver once we are done with the current part. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - true if the reader is created for synchronous operation; false for asynchronous. - - - Reads the next part from the batch message payload. - True if more items were read; otherwise false. - - - Asynchronously reads the next part from the batch message payload. - A task that when completed indicates whether more items were read. - - - Returns an for reading the content of a batch operation. - A request message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a request message for reading the content of a batch operation. - - - Returns an for reading the content of a batch operation. - A response message for reading the content of a batch operation. - - - Asynchronously returns an for reading the content of a batch operation. - A task that when completed returns a response message for reading the content of a batch operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the reader; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - Returns the next state of the batch reader after an end boundary has been found. - - The next state of the batch reader. - - - - Reads the next part from the batch message payload. - - true if more information was read; otherwise false. - - - - Asynchronously reads the next part from the batch message payload. - - A task that when completed indicates whether more information was read. - - - - Continues reading from the batch message payload. - - true if more items were read; otherwise false. - - - - Skips all data in the stream until the next part is detected; then reads the part's request/response line and headers. - - The next state of the batch reader after skipping to the next part and reading the part's beginning. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Parses the request line of a batch operation request. - - The request line as a string. - The parsed HTTP method of the request. - The parsed of the request. - - - - Parses the response line of a batch operation response. - - The response line as a string. - The parsed status code from the response line. - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling CreateOperationResponseMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Validates that the batch reader is ready to process a new read or create message request. - - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - - Sets the 'Exception' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state Exception and then rethrow the exception. - - The type of the result returned from the . - The action to execute. - The result of the . - - - Gets the current state of the batch reader. - The current state of the batch reader. - - - - An enumeration to track the state of a batch operation. - - - - No action has been performed on the operation. - - - The batch message for the operation has been created and returned to the caller. - - - The stream of the batch operation message has been requested. - - - The stream of the batch operation message has been disposed. - - - - Configuration settings for OData message readers. - - - - - A instance representing any knobs that control the behavior of the readers - inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class. - The other message reader settings. - - - Sets the atom entry XML customization callback. - The atom entry XML customization callback. - - This method only affects ATOM format payloads. For payloads of other formats this method has no effect. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true to use V1 provider; otherwise, false. - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - Callback to determine whether operations bound to a particular entity type must be qualified with a container name when appearing in a $select clause. - - - - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - - Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. - The base URI. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the model or provided as an expected type. Note that values will still be converted to the type specified in the payload itself. - true if primitive values and report values are not converted; false if all primitive values are converted to the type specified in the model or provided as an expected type. The default value is false. - - - Gets or sets the behavior the reader should use when it finds undeclared property. - The behavior the reader should use when it finds undeclared property. - - This setting has no effect if there's no model specified for the reader. - This setting must be set to Default when reading request payloads. - - Detailed behavior description: - ODataUndeclaredPropertyBehaviorKind.Default - If an undeclared property is found reading fails. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will fail. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - the link will be read and reported as a deferred navigation link. - - __mediaresource value is found - the link will be read and reported as a stream property - - If nothing from the above matches the reading fails. - - Undeclared association links inside __metadata/properties will be read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value - it will be read as navigation/association link - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - Any other property (that is property with a value or property with no annotation mentioned above) will fail. - - ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared property inside m:properties is ignored (not even read). - - Undeclared navigation link, stream property link or association link fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - fail as undeclared deferred nav. link. - - __mediaresource value is found - fail as undeclared stream property. - - All other properties are ignored and not read. - - Undeclared association links inside __metadata/properties fail. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it (deferred or expanded navigation link) - - fail as undeclared navigation property - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - fail as undeclared stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty | ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will be read and the navigation link part will be reported, - the expanded content will be ignored and not read or reported. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties will be ignored and not read. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - read and report a deferred navigation link. - - __mediaresource value is found - read and report stream property. - - All other properties are ignore and not read. - - Undeclared association links inside __metadata/properties are read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value (deferred navigation link) - - it will be read as navigation/association link - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and with value (expanded navigation link) - - it will be read, the navigation and association link will be reported and the content will be ignored. - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - Note that there's one difference between ATOM/JSON Light and Verbose JSON. In ATOM and JSON Light expanded links are treated as both - undeclared link and a value property. The URLs are the link part, the expanded content is the value part. - In Verbose JSON expanded links are treated as a value property as a whole. Since in JSON expanded links don't actually have - the link part (the payload doesn't contain the "href") this is not such a big difference. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets the maximum OData protocol version the reader should accept and understand. - The maximum OData protocol version the reader should accept and understand. - - If the payload to be read has higher DataServiceVersion than the value specified for this property - the reader will fail. - Reader will also not report features which require higher version than specified for this property. - It may either ignore such features in the payload or fail on them. - - - - - false - metadata validation is strict, the input must exactly match against the model. - true - metadata validation is lax, the input doesn't have to match the model in all cases. - This property has effect only if the metadata model is specified. - - - Strict metadata validation: - Primitive values: The wire type must be convertible to the expected type. - Complex values: The wire type must resolve against the model and it must exactly match the expected type. - Entities: The wire type must resolve against the model and it must be assignable to the expected type. - Collections: The wire type must exactly match the expected type. - If no expected type is available we use the payload type. - Lax metadata validation: - Primitive values: If expected type is available, we ignore the wire type. - Complex values: The wire type is used if the model defines it. If the model doesn't define such a type, the expected type is used. - If the wire type is not equal to the expected type, but it's assignable, we fail because we don't support complex type inheritance. - If the wire type if not assignable we use the expected type. - Entities: same as complex values except that if the payload type is assignable we use the payload type. This allows derived entity types. - Collections: If expected type is available, we ignore the wire type, except we fail if the item type is a derived complex type. - If no expected type is available we use the payload type and it must resolve against the model. - If DisablePrimitiveTypeConversion is on, the rules for primitive values don't apply - and the primitive values are always read with the type from the wire. - - - - - The reader behavior that holds all the knobs needed to make the reader - behave differently inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - - Whether or not to report any undeclared link properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Whether or not to ignore any undeclared value properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Reader class used to read all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message reader was created. - - - A flag indicating whether we are reading a request or a response message. - - - The message reader settings to use when reading the message payload. - - - The model. Non-null if we do have metadata available. - - - The to be used for reading the payload. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The resolver to use when determining an entity set's element type. - - - Flag to ensure that only a single read method is called on the message reader. - - - true if Dispose() has been called on this message reader, false otherwise. - - - The input context used to read the message content. - - - The payload kind of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The parsed from the content type header. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The batch boundary string if the payload to be read is a batch request or response. - This is set implicitly when the CreateBatchReader method is called. - - - The media type resolver to use when interpreting the incoming content type. - - - Storage for format specific states from payload kind detection. - - - Creates a new for the given request message. - The request message for which to create the reader. - - - Creates a new for the given request message and message reader settings. - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given request message and message reader settings. - - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the reader. - - - Creates a new for the given response message and message reader settings. - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given response message and message reader settings. - - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Creates an to read a feed. - The created reader. - - - - Creates an to read a feed. - - The expected base type for the entities in the feed. - The created reader. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - The created reader. - - - Asynchronously creates an to read a feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The expected base type for the entities in the feed. - A running task for the created reader. - - - - Asynchronously creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - A running task for the created reader. - - - Creates an to read an entry. - The created reader. - - - - Creates an to read an entry. - - The expected entity type for the entry to be read. - The created reader. - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The created reader. - - - Asynchronously creates an to read an entry. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The expected entity type for the entry to be read. - A running task for the created reader. - - - - Asynchronously creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - A running task for the created reader. - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - The created collection reader. - - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - The created collection reader. - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection reader. - - - - Asynchronously creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - A running task for the created collection reader. - - - Creates an to read a batch of requests or responses. - The created batch reader. - - - Asynchronously creates an to read a batch of requests or responses. - A running task for the created batch reader. - - - - Creates an to read the parameters for . - - The function import whose parameters are being read. - The created parameter reader. - - - - Asynchronously creates an to read the parameters for . - - The function import whose parameters are being read. - A running task for the created parameter reader. - - - Reads a service document payload. - The service document read. - - - Asynchronously reads a service document payload. - A task representing the asynchronous operation of reading the service document. - - - Reads an as message payload. - The property read from the payload. - - - - Reads an as message payload. - - The expected type reference of the property to read. - The property read from the payload. - - - - Reads an as message payload. - - The metadata of the property to read. - The property read from the payload. - - - Asynchronously reads an as message payload. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The expected type reference of the property to read. - A task representing the asynchronous operation of reading the property. - - - - Asynchronously reads an as message payload. - - The metadata of the property to read. - A task representing the asynchronous operation of reading the property. - - - Reads an as the message payload. - The read from the message payload. - - - Asynchronously reads an as the message payload. - A task representing the asynchronous operation of reading the error. - - - Reads the result of a $links query (entity reference links) as the message payload. - The entity reference links read as message payload. - - - - Reads the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - The entity reference links read as message payload. - - - Asynchronously reads the result of a $links query as the message payload. - A task representing the asynchronous reading of the entity reference links. - - - - Asynchronously reads the result of a $links query as the message payload. - - The navigation property for which to read the entity reference links. - A task representing the asynchronous reading of the entity reference links. - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - The entity reference link read from the message payload. - - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - The entity reference link read from the message payload. - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - A running task representing the reading of the entity reference link. - - - - Asynchronously reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - A running task representing the reading of the entity reference link. - - - - Reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The read value. - - - - Asynchronously reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - A running task representing the reading of the value. - - - Reads the message body as metadata document. - Returns . - - - implementation to cleanup unmanaged resources of the reader. - - - - Determines the format of the payload being read and returns it. - - The format of the payload being read by this reader. - - The format of the payload is determined when starting to read the message; - if this method is called before reading has started it will throw. - - - - - Processes the content type header of the message to determine the format of the payload, the encoding, and the payload kind. - - All possible kinds of payload to be read with this message reader; must not include ODataPayloadKind.Unsupported. - - - - Gets the content type header of the message and validates that it is present and not empty. - - The content type header of the message. - - - - Verify arguments for creation of an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entities in the feed. - - - - Verify arguments for creation of an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - - - - Verify arguments for creation of an to read a collection of primitive or complex values - (as result of a service operation invocation). - - The expected type for the items in the collection. - - - - Verify arguments for creation of a batch as the message body. - - - - - Verify arguments for creation of an to read the parameters for . - - The function import whose parameters are being read. - - - - Verify arguments for reading of a service document payload. - - - - - Verify arguments for reading of a metadata document payload. - - - - - Verify arguments for reading of an as message payload. - - The metadata of the property to read. - - - - Verify arguments for reading of an as message payload. - - The expected type reference of the property to read. - - - - Verify arguments for reading of an as the message payload. - - - - - Verify arguments for reading of the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - - - - Verify arguments for reading of a singleton result of a $links query (entity reference link) as the message payload. - - - - - Verify arguments for reading of a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The payload kinds allowed for the given expected type. - - - - Verifies that the ODataMessageReader has not been used before; an ODataMessageReader can only be used to - read a single message payload but cannot be reused later. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Method which creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - The read value from the input. - - - - Gets all the supported payload kinds for a given content type across all formats and returns them. - - The set of supported payload kinds for the content type of the message. - true if no or a single payload kind was found for the content type; false if more than one payload kind was found. - - - - Compares two payload kind detection results. - - The first . - The second . - -1 if is considered less than , - 0 if the kinds are considered equal, 1 if is considered greater than . - - - - Get an enumerable of tasks to get the supported payload kinds for all formats. - - All payload kinds for which we found matches in some format based on the content type. - The list of combined detection results after sniffing. - A lazy enumerable of tasks to get the supported payload kinds for all formats. - - - - Method which asynchronously creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - A task which when completed return the read value from the input. - - - - The message reader settings to use when reading the message payload. - - - - - The media type resolver to use when interpreting the incoming content type. - - - - - Enumeration of all JSON node type. - - - - - No node - invalid value. - - - - - Start of JSON object record, the { character. - - - - - End of JSON object record, the } character. - - - - - Start of JSON array, the [ character. - - - - - End of JSON array, the ] character. - - - - - Property, the name of the property (the value will be reported as a separate node or nodes) - - - - - Primitive value, that is either null, true, false, number or string. - - - - - End of input reached. - - - - - Utility methods used with the OData library. - - - - String representation of the version 1.0 of the OData protocol. - - - String representation of the version 2.0 of the OData protocol. - - - String representation of the version 3.0 of the OData protocol. - - - Sets the content-type and data service version headers on the message used by the message writer. - The content-type and data service version headers on the message used by the message writer. - The message writer to set the headers for. - The kind of payload to be written with the message writer. - - This method can be called if it is important to set all the message headers before calling any of the - write methods on the . - If it is sufficient to set the headers when the write methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - - - Returns the format used by the message reader for reading the payload. - The format used by the messageReader for reading the payload. - The to get the read format from. - This method must only be called once reading has started. - This means that a read method has been called on the or that a reader (for entries, feeds, collections, etc.) has been created. - If the method is called prior to that it will throw. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The to process. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The containing the annotations. - The to process. - - - - Checks whether the has a default stream. - - The containing the annotation. - The to check. - true if the entity type has a default stream; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to add a default stream to the entity type; false to remove an existing default stream (if any). - - - - Checks whether the is the default entity container. - - The containing the annotation. - The to check. - true if the is the default container; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to set the as the default container; false to remove an existing default container annotation (if any). - - - - Checks whether the has a MIME type annotation. - - The containing the annotation. - The to check. - The (non-null) value of the MIME type annotation of the or null if no MIME type annotation exists. - - - - Sets the MIME type annotation of the to . - - The containing the annotation. - The to modify. - The MIME type value to set as annotation value; if null, an existing annotation will be removed. - The MIME type annotation is only supported on service operations and primitive properties for serialization purposes. - - - - Checks whether the has an HttpMethod annotation. - - The containing the annotation. - The to check. - The (non-null) value of the HttpMethod annotation of the or null if no such annotation exists. - - - - Sets the HttpMethod annotation of the to . - - The contatining the annotation. - The to modify. - The HttpMethod value to set as annotation value; if null, an existing annotation will be removed. - The HttpMethod annotation is only supported on service operations for serialization purposes. - - - - Gets the value of IsAlwaysBindable annotation on the . - - The containing the annotation. - The to get the annotation from. - The value of the annotation if it exists; false otherwise. - Thrown if the IsAlwaysBindable annotation is set to true for a non-bindable . - - - - Sets the value of IsAlwaysBindable annotation of the to - - The containing the annotation. - The to set the annotation on. - The value of the annotation to set. - Thrown if IsAlwaysBindable is set to true for a non-bindable . - - - - Gets the reader behavior for null property value on the specified property. - - The model containing the annotation. - The property to check. - The behavior to use when reading null value for this property. - - - - Adds a transient annotation to indicate how null values for the specified property should be read. - - The containing the annotations. - The to modify. - The new behavior for reading null values for this property. - - - Displays the OData version to string representation. - The OData version. - The OData version. - - - Displays a string to OData version representation. - The OData version. - The OData version. - - - - Translates the to a func that would evalutate whether the filter would match a given annotation name. - The func would evaluate to true if the matches the annotation name that's passed to the it, and false otherwise. - - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - Returns a func which would evaluate to true if the matches the annotation name that's passed to the it, - and false otherwise. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - Assumes that the entity type and the model have been validated. - - The containing the annotations. - The to process. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true to search the base type hierarchy of the structured type for the annotation; otherwise false. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method will throw. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method wil throw. - - - - Sets the as value of the annotation - on the . - - The model containing the annotation. - The annotatable to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Class which takes an input stream, buffers the entire content asynchronously and exposes it as a stream - which can be read synchronously. - - - - - List of buffers which store the data. - - - - - The input stream to read from. This is used only during the buffering and is set to null once we've buffered everything. - - - - - Points to the buffer currently being processed. - When writing into the buffers this points to the last buffer to which the bytes should be written. - When reading from the buffers this points to the buffer from which we are currently reading. - - - - - Number of bytes read from the current buffer. - - - - - Private constructor. - - The stream to read from. - - - - Flush the stream to the underlying storage. This operation is not supported by this stream. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Given the this method returns a task which will asynchronously - read the entire content of that stream and return a new synchronous stream from which the data can be read. - - The input stream to asynchronously buffer. - A task which returns the buffered stream. - - - - Resets the stream to the begining and prepares it for reading. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Returns enumeration of tasks to run to buffer the entire input stream. - - Enumeration of tasks to run to buffer the input stream. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Adds a new buffer to the list and makes it the current buffer. - - The newly added buffer. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The minimum size to ask for when reading from underlying stream. - - - - - The size of a buffer to allocate - use 64KB to be aligned which makes it likely that the underlying levels - will be able to process the request in one go. - - - - - The byte buffer which stored the data. - - - - - Constructor - creates a new buffer; - - - - - Marks specified count of bytes as written starting at the OffsetToWriteTo. - - The number of bytes to mark as written. - - - - The byte buffer. - - - - - The offset into the buffer to which more data can be written. - - - - - The number of bytes stored in the buffer. - - - - - The number of bytes not yet used in the buffer. - - - - - Generic utility methods. - - - - - Calls IDisposable.Dispose() on the argument if it is not null - and is an IDisposable. - - The instance to dispose. - 'True' if IDisposable.Dispose() was called; 'false' otherwise. - - - - Asynchronously flushes a stream. - - The stream to flush. - Task which represents the pending Flush operation. - - - - Perform a stable sort of the using the specified . - - The type of the items in the array to sort. - The array to sort. - The comparison to use to compare items in the array - Array of KeyValuePairs where the sequence of Values is the sorted representation of . - - - - Stable comparer of a sequence of key/value pairs where each pair - knows its position in the sequence and its value. - - The type of the values in the sequence. - - - - The to compare the values. - - - - - Constructor. - - The to compare the values. - - - - Compares two key/value pairs by first comparing their value. If the values are equal, - the position in the array determines the relative order (and preserves the original relative order). - - First key/value pair. - Second key/value pair. - - A value < 0 if is less than . - The value 0 if is equal to . Note this only happens when comparing the same items when used in StableSort. - A value > 0 if is greater than . - - This method will never return the value 0 since the input sequence is constructed in a way - that all key/value pairs have unique indeces. - - - - Class with utility methods for dealing with OData metadata. - - - - - Returns the annotation in the OData metadata namespace with the specified . - - The containing the annotation. - The to get the annotation from. - The local name of the annotation to find. - The value of the annotation in the OData metadata namespace and with the specified . - true if an annotation with the specified local name was found; otherwise false. - - - - Sets the annotation with the OData metadata namespace and the specified on the . - - The containing the annotations."/> - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Gets all the serializable annotations in the OData metadata namespace on the . - - The containing the annotations."/> - The to get the annotations from. - All annotations in the OData metadata namespace; or null if no annotations are found. - - - - Gets the EDM type of an OData instance from the of the instance (if available). - - The OData instance to get the EDM type for. - The EDM type of the if available in the annotation. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used by writers. - Thus it implements the strict speced behavior. - - The model to use. - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used be readers. - Thus it can be a bit looser. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Custom type resolver to use, if null the model is used directly. - The version to use when resolving the type name. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Calculates the operations that are always bindable to the given type. - - The binding type in question. - The model to search for operations. - The edm type resolver to get the parameter type. - An enumeration of operations that are always bindable to the given type. - - - - Looks up the given term name in the given model, and returns the term's type if a matching term was found. - - The name of the term to lookup, including the namespace. - The model to look in. - The type of the term in the model, or null if no matching term was found. - - - - Gets the nullable type reference for a payload type; if the payload type is null, uses Edm.String. - - The payload type to get the type reference for. - The nullable for the . - - - - Class with utility methods for validating OData content (applicable for readers and writers). - - - - Maximum batch boundary length supported (not includeding leading CRLF or '-'). - - - The set of characters that are invalid in property names. - Keep this array in sync with MetadataProviderUtils.InvalidCharactersInPropertyNames in Astoria. - - - - Validates that an open property value is supported. - - The name of the open property. - The value of the open property. - - - - Validates a type kind for a value type. - - The type kind. - The name of the type (used for error reporting only). - - - - Validates that is a valid type name for a collection and returns its item type name. - - The name of the collection type. - The item type name for the . - - - - Validates that the is assignable to the - and fails if it's not. - - The expected entity type reference, the base type of the entities expected. - The payload entity type reference to validate. - - - - Validates that the represents a collection type. - - The type reference to validate. - The instance representing the collection passed as . - - - - Validates an item of a collection to ensure it is not of collection and stream reference types. - - The collection item. - True if the items in the collection are streamable, false otherwise. - - - - Validates a null collection item against the expected type. - - The expected item type or null if no expected item type exists. - The instance controlling the behavior of the writer. - - - - Validates a stream reference property to ensure it's not null and its name if correct. - - The stream reference property to validate. - Property metadata to validate against. - - - - Validates an to ensure it's not null. - - The association link to ensure it's not null. - - - - Validates the name for an association link. - - The name of the association link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - - - - Increases the given recursion depth, and then verifies that it doesn't exceed the recursion depth limit. - - The current depth of the payload element hierarchy. - The maximum allowed recursion depth. - - - - Validates an to ensure it's not null. - - The operation to ensure it's not null. - Whether is an . - - - - Validates an to ensure its metadata is specified and valid. - - The operation to validate. - - - - Validates an to ensure its target is specified and valid. - - The operation to validate. - - - - Validates that the specified is a valid entry as per the specified type. - - The entry to validate. - Optional entity type to validate the entry against. - Model containing the entity type. - true if the validation of the default MediaResource should be done; false otherwise. - If the is available only entry-level tests are performed, properties and such are not validated. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The expected type for the value. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The primitive type reference for the value - some callers have this already, so we save the lookup here. - The expected type for the value. - - Some callers have the primitive type reference already resolved (from the value type) - so this method is an optimized version to not lookup the primitive type reference again. - - - - - Validates that the expected primitive type matches the actual primitive type. - - The expected type. - The actual type. - - - - Validates a resource collection. - - The resource collection to validate. - - - - Validates a resource collection Url. - - The resource collection url to validate. - - - - Validates that the observed type kind is the expected type kind. - - The actual type kind to compare. - The expected type kind to compare against. - The name of the type to use in the error. - - - - Validates that a boundary delimiter is valid (non-null, less than 70 chars, only valid chars, etc.) - - The boundary delimiter to test. - - - - Null validation of complex properties will be skipped if edm version is less than v3 and data service version exists. - In such cases, the provider decides what should be done if a null value is stored on a non-nullable complex property. - - The model containing the complex property. - True if complex property should be validated for null values. - - - - Validates that a property name is valid in OData. - - The property name to validate. - true if the property name is valid, otherwise false. - - - - Validates a property name to check whether it contains reserved characters. - - The property name to check. - - - - Validates that the total number of entity property mapping attributes on the base entity type and the current - entity type does not exceed the specified security limit. - - The EPM cache of the base entity type or null if no base entity type exists. - The EPM collection of the current entity type. - The maximum number of mappings allowed for an entity type (on the type itself and all its base types). - The total number of entity property mappings for the current entity type. - - - - Class with utility methods for writing OData content. - - - - - Determines if a property should be written or skipped. - - The projected properties annotation to use (can be null). - The name of the property to check. - true if the property should be skipped, false to write the property. - - - - Class with utility methods to work with media types. - - - - An array of all the supported payload kinds. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Given the Accept and the Accept-Charset headers of the request message computes the media type, encoding and - to be used for the response message. - - The message writer settings to use for serializing the response payload. - The kind of payload to be serialized as part of the response message. - The media type resolver to use when interpreting the content type. - The media type to be used in the response message. - The encoding to be used in the response message. - The used when serializing the response. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The batch boundary read from the content type for batch payloads; otherwise null. - The for the . - - - - Gets all payload kinds and their corresponding formats that match the specified content type header. - - The content type header to get the payload kinds for. - The media type resolver to use when interpreting the content type. - The parsed content type as . - The encoding from the content type or the default encoding from . - The list of payload kinds and formats supported for the specified . - - - - Checks whether two media types with subtypes (but without parameters) are equal. - - The first media type and subtype. - The second media type and subtype. - true if the is equal to ; otherwise false. - - - - Checks whether a media type starts with the expected type and subtype. - - The media type to check. - The type and subtype the should start with. - true if the starts with ; otherwise false. - - - - Checks whether the specified media type has a parameter with the expected value. - - The media type to check the parameters for. - The name of the expected parameter. - The value of the expected parameter. - true if the has a parameter called - with value ; otherwise false. - - - - Determines whether the media type has a 'streaming' parameter with the value 'true'. - - The media type to check. - - true if the media type has a 'streaming' parameter with the value 'true'; otherwise, false. - - - - - Checks for wildcard characters in the . - - The to check. - - - - JSONP - instead of writing 'application/json', we write 'text/javascript'. In all other ways we pretend it is JSON - - Original content-type value string. - New content-type value string. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The for the . - - - - Parses the specified content type header into a media type instance. - - The content type header to parse. - The optional charset specified with the content type. - The of the parsed . - - - - Gets the default media type for a given payload kind in a given format. - - A list of supported media types and formats. - The user-specified format in which to write the payload (can be null). - The default format for the specified payload kind - The default media type for the given payload kind and format. - - - - Parses the accepted charsets and matches them against the supported encodings for the given . - - The Accept-Charset header of the request. - The for which to compute the encoding. - The media type used to compute the default encoding for the payload. - true if the default encoding should be returned if no acceptable charset is found; otherwise false. - The encoding to be used for the response. - - - - Matches the supported media types against the list of media types specified in the Accept header or ContentType header of the message. Matching follows the - rules for media type matching as described in RFC 2616. - - The set of media types to be matched against the . - The set of media types the will be matched against. - The best found during the matching process or null if no match was found. - - - - Converts all occurrences of the 'application/json' media type to 'application/json;odata=minimalmetadata'. - This is necessary because for an accept header 'application/json, application/json;odata=verbose' - we want the result to be 'application/json;odata=minimalmetadata' although this is not compliant with the - default conneg rules (where application/json;odata=verbose would win). - - The parsed acceptable media types. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Class representing the result of matching two instances. - - - - The default quality value (in the normalized range from 0 .. 1000). - - - Index of the source type in the list of all source types. - - - Index of the target type in the list of all target types. - - - - Constructor. - - The source to match against the target type. - The target to match against the source type. - Index of the source type in the list of all source types. - Index of the target type in the list of all target types. - - - - Implementation of . - - The to compare against. - - -1 if this instance is a worse match than . - 0 if both matches are the same. - 1 if is a better match than this instance. - - - - Selects a quality value for the specified type. - The text representation of the quality value. - The quality value, in range from 0 through 1000. - See http://tools.ietf.org/html/rfc2616#section-14.1 for further details. - - - - Tries to find a parameter with the specified in the given list of parameters. - Does not include accept extensions (i.e., parameters after the q quality value parameter) - - The list of parameters to search. - The name of the parameter to find. - The parameter value of the parameter with the specified . - True if a parameter with the specified was found; otherwise false. - - - - Returns a flag indicating whether a given media type parameter name is the Http quality value parameter. - - The parameter name to check. - True if the parameter name is for the quality value; otherwise false. - - - - Matches the source type against the media type. - - The source to match against the target type. - The target to match against the source type. - - - - Index of the source type in the list of all source types. - - - - - Index of the target type in the list of all target types. - - - - - Represents the number of non-* matching type name parts or -1 if not matching at all. - - - - - Represents the number of matching parameters or -1 if neither the source type nor the target type have parameters. - - - - The quality value of the target type (or -1 if none is specified). - - - - The number of parameters of the source type that are used for comparison. All accept-parameters are ignored. - - - - - true if this represents a valid match (i.e., the source and target types match/are compatible); otherwise false. - - - Two types are considered compatible if at least one type name part matches (or we are dealing with a wildcard) - and all the parameters in the source type have been matched. - - - - - Represents a collection of entity reference links (the result of a $links query). - Might include an inline count and a next link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the optional inline count of the $links collection. - The optional inline count of the $links collection. - - - Gets or sets the optional next link of the $links collection. - The optional next link of the $links collection. - - - Gets or sets the enumerable of instances representing the links of the referenced entities. - The enumerable of instances. - These links should be usable to retrieve or modify the referenced entities. - - - - Provides additional serialization information to the for this . - - - - - Represents an entity reference link (the result of a $link query). - - - - - Base class for Feed and Entry. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the URI representing the URL of the referenced entity. - The URI representing the URL of the referenced entity. - This URL should be usable to retrieve or modify the referenced entity. - - - - Provides additional serialization information to the for this . - - - - - Interface for synchronous OData request messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Interface for synchronous OData response messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - - Implementation class wrapped by the and - implementations. - - - - - Base class for the internal wrappers around IODataRequestMessageAsync and IODataResponseMessageAsync. - - - - true if the message is being written; false when it is read. - - - true if the stream returned should ignore dispose calls. - - - The maximum size of the message in bytes (or null if no maximum applies). - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - The buffering read stream used for payload kind detection; only non-null inside of payload kind detection. - - - - Constructs a new ODataMessage. - - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value for the header with name . - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - We need this method since the input contexts don't get access to the actual instance of the message given to us by the user - instead they get this class, and thus they can't just cast to get to the interface they want. - - - - Synchronously get the stream backing this message. - - A function that returns the stream backing the message. - true if the message is a request message; false for a response message. - The backing the message. - - - - Asynchronously get the stream backing this message. - - A function that returns a task for the stream backing the message. - true if the message is a request message; false for a response message. - A task that when completed returns the stream backing the message. - - - - Verifies that setting a header is allowed - - - We allow modifying the headers only if we are writing the message and we are not - detecting the payload kind. - - - - - Validates that a given message stream can be used. - - The stream to validate. - true if the message is a request message; false for a response message. - - - - Validates that a given task providing the message stream can be used. - - The task to validate. - true if the message is a request message; false for a response message. - - - - Gets the buffering read stream if one is available; otherwise returns null. - - The currently being used or null if no buffering stream is currently being used. - - - - Returns an enumerable over all the headers for this message. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - Listener interface to be notified of operation changes. - - - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - - - A function to retrieve the content stream for this batch operation message. - - - The set of headers for this operation. - - - - Constructor. Base class constructor to create a message for an operation of a batch request/response. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - true if the request message is being written; false when it is read. - - - - Returns a value of an HTTP header of this operation. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header of this operation. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Indicates that the headers and request/response line have been read or written. - Can be called only once per batch part and headers cannot be modified - anymore after this method was called. - - - - - Verifies that writing of the message has not been completed; this is called from all methods - that are only valid to be called before the message content is written or the message - - - - - Returns an enumerable over all the headers for this message. - - - - - Message representing an operation in a batch response. - - - - - Interface for asynchronous OData response messages. - - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - The result status code of the response message. - - - - Constructor. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or null if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Method to implement a custom URL resolution scheme. This method returns null if not custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation response message that can be used to write the operation content to. - - The output stream underlying the operation message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to write the operation content. - - - - Creates an operation response message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The status code to use for the operation response message. - The headers to use for the operation response message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to read the operation content. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - - Returns the actual operation message which is being wrapped. - - - - - Message representing an operation in a batch request. - - - - - Interface for asynchronous OData request messages. - - - - Asynchronously get the stream backing for this message. - The stream for this message. - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - - Constructor. Creates a request message for an operation of a batch request. - - A function to create the content stream. - The HTTP method used for this request message. - The request Url for this request message. - The headers for the this request message. - Listener interface to be notified of operation changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Asynchronously get the stream backing for this message. - The stream backing for this message. - - - Implements a custom URL resolution scheme. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation request message that can be used to write the operation content to. - - The output stream underlying the operation message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The operation listener. - The (optional) URL resolver for the message to create. - An to write the request content to. - - - - Creates an operation request message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The headers to use for the operation request message. - The operation listener. - The (optional) URL resolver for the message to create. - An to read the request content from. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or Sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Returns the actual operation message which is being wrapped. - - - - - Helper methods used by the ODataBatchWriter. - - - - - Creates a new batch boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created batch boundary as string. - - - - Creates a new changeset boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created changeset boundary as string. - - - - Creates the multipart/mixed content type with the specified boundary (if any). - - The boundary to be used for this operation or null if no boundary should be included. - The multipart/mixed content type with the specified boundary (if any). - - - - Write the start boundary. - - Writer to which the boundary needs to be written. - Boundary string. - true if this is the first start boundary. - - - - Write the end boundary. - - Writer to which the end boundary needs to be written. - Boundary string. - true if there was no start boundary written before this end boundary. - - - - Writes the headers, (optional) Content-ID and the request line - - Writer to write to. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Writes the headers and response line. - - Writer to write to. - - - - Writes the preamble for a change set (e.g., the content-type header). - - Writer to write to. - The boundary string to use for the change set. - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute. - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property. - - - - - Type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource (not including the root segment). - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - Type whose property is to be read. This can be different from defining type when inheritance is involved. - - - - Sets path to the source property. - - The path as an array of source path segments. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object. - - - - - Entity type that has the . - - - - - Entity type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping. - - - - - Writer for the EPM custom-only. Writes the EPM custom mapping properties into XmlWriter. - - - - - Constructor. - - The output context currently in use. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - - - - Writes a namespace declaration attribute for the namespace required by the target segment. - - The writer to write the declaration to. - The target segment to write the declaration for. - The name of the prefix if it was already declared. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - - - - Writes an EPM element target. - - The writer to write to. - The target segment describing the element to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Writes an EPM attribute target. - - The writer to write to. - The target segment describing the attribute to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - The entry EPM value cache to use. - The entity type of the entry being processed. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Writer for the EPM syndication-only. Writes the EPM properties into ATOM metadata OM. - - - - The EPM target tree to use. - - - Atom entry metadata to write to. - - - - Constructor. - - The EPM target tree to use. - The output context currently in use. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - The ATOM metadata OM with the EPM values populated. - - - - Creates a text ATOM value. - - The text value to use. - The content kind of the value. - The Atom text value. - - - - Given an object returns the corresponding DateTimeOffset value through conversions. - - Object containing property value. - The target syndication property for the mapping (used for exception messages). - The current settings to control the behavior of the writer. - DateTimeOffset after conversion. - - - - Given an object returns the corresponding string representation of the value. - - Object containing property value. - The current settings to control the behavior of the writer. - String representation of the property value. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The entry properties value cache to use to access the properties. - The type of the entry. - The ATOM metadata OM with the EPM values populated. - - - - Writes a non-leaf segment which has sub segments. - - The segment being written - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - - - - Writes EPM value to a person construct (author or contributor). - - The target segment which points to either author or contributor element. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The person metadata or null if no person metadata should be written for this mapping. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Atom metadata description for a workspace. - - - - Gets or sets the title of the workspace. - The title of the workspace. - - - - Atom metadata description for a collection (in a workspace). - - - - Gets or sets the title of the collection. - The title of the collection. - - - Gets or sets the accept range of media types for this collection. - The accept range of media types for this collection. - - - Gets or sets the categories for this collection. - The categories for this collection. - - - - Caches values of properties and items enumerations so that we only ever enumerate these once even if they were use in EPM. - - - - - Caches either ComplexValue properties enumeration or Collection items enumeration. - - The key is the complex value, or collection for the property in question. - For complex property, the value is a List of ODataProperty which stores the enumeration ODataComplexValue.Properties cache. - For collection property, the value is a List of object which stores the enumeration ODataCollectionValue.Items cache. - The items are either EpmCollectionItemCache instances in which case the value of the item is cached inside that instance, - or it's any other type in which case the value of the item is that instance. - - - - Creates a new empty cache. - - - - - Returns the properties for the specified complex value. - - The EPM value cache to use (can be null). - The complex value to get the properties for. - If we're writing content of an entry or not. - The properties enumeration for the complex value. - - - - Caches and returns the properties for the specified complex value. - - The complex value to cache the properties for. - The cached properties enumeration for the complex value. - This method assumes that the complex value's properties are not cached yet. - - - - Returns the properties for the specified complex value. - - The complex value to get the properties for. - true if we're writing entry content or false when writing out-of-content EPM. - The properties enumeration for the complex value. - - - - Caches values of properties enumerations on an entry and then EPM values for the rest of property values. - - - - - Caches the ODataEntry.Properties enumeration. - - - - - Creates a new cache. - - The entry for which to create the properties cache. - - - - Returns enumeration of properties (excluding stream properties) for the entry. - - - - - Returns enumeration of stream properties for the entry. - - - - - Helper methods for EPM writers. - - - - - Given a property value returns the text value to be used in EPM. - - The value of the property. - The text representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Gets the for the specified - from the . - - The EPM source path segment for the parent of the property being written. - The name of the property to get the for. - The for the specified or null if none exists. - - - - Gets the for the specified . - - The EPM source path segment to get the from. - The for the specified or null if none exists. - - - - Returns an for a given property provided the parent . - - The parent to get the property segment from. - The name of the property to get the for. - An for a given property provided the parent . - - - - Cache all the properties and collection item enumerations needed for EPM processing. - - The property value cache to cache the EPM related properties in. - The source tree describing all properties taking part in entity property mappings. - - - - Cache the property and collection item enumerations needed in EPM mappings. We do this for syndication and custom - mappings. - - The property value cache to use for caching. - The source path segments to cache. - The values to compute the segments against. - - - - Gets the property value as the requested type. - - The expected type of the property value. - The properties to search. - The name of the property to get the value for. - The property value as or null if no property - with name or with the expected type exists. - true if a property of the expected type was found; otherwise false. - - - - Helper methods used to merge Atom metadata from EPM with those specified through annotations. - - - - - Merges custom and EPM ATOM metadata. - - The custom ATOM metadata, or null if there were no custom ATOM metadata. - The EPM ATOM metadata, or null if there are no EPM mappings to syndication targets. - The instance configuring the writer. - The merged ATOM metadata to write to the output. - The merge means that if one of the sides has null, the other is used, otherwise if both are non-null - we verify that the values are the same, otherwise we throw. - - - - Merges enumerations of person metadata. - - The enumeration of custom person metadata. - The enumeration of EPM person metadata. - The type of syndication mapping, one of AtomLinkMetadata, AtomCategoryMetadata, AtomPersonMetadata, - The merged enumeration. - - - - Merges ATOM text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged ATOM text value. - - - - Merges text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged text value. - - - - Merges date time offset values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the value, used for error reporting. - The merged date time offset value. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Class for writing OData batch messages; also verifies the proper sequence of write calls on the writer. - - - - The output context to write to. - - - The boundary string for the batch structure itself. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The state the writer currently is in. - - - - The boundary string for the current changeset (only set when writing a changeset, - e.g., after WriteStartChangeSet has been called and before WriteEndChangeSet is called). - - When not writing a changeset this field is null. - - - - A flag to indicate whether the batch start boundary has been written or not; important to support writing of empty batches. - - - - - A flags to indicate whether the current changeset start boundary has been written or not. - This is false if a changeset has been started by no changeset boundary was written, and true once the first changeset - boundary for the current changeset has been written. - - - - The request message for the operation that is currently written if it's a request; - or null if no part is written right now or it's a response part. - - - The response message for the operation that is currently written if it's a response; - or null if no part is written right now or it's a request part. - - - - The value of the Content-ID header of the current operation (or null if no Content-ID header exists). - - - Note that the current Content-ID header is not included immediately in the content ID cache - since the current content ID will only be visible to subsequent operations. - - - - The current size of the batch message, i.e., how many query operations and changesets have been written. - - - The current size of the active changeset, i.e., how many request have been written for the changeset. - - - - Constructor. - - The output context to write to. - The boundary string for the batch structure itself. - - - Starts a new batch; can be only called once and as first call. - - - Asynchronously starts a new batch; can be only called once and as first call. - A task instance that represents the asynchronous write operation. - - - Ends a batch; can only be called after WriteStartBatch has been called and if no other active changeset or operation exist. - - - Asynchronously ends a batch; can only be called after WriteStartBatch has been called and if no other active change set or operation exist. - A task instance that represents the asynchronous write operation. - - - Starts a new changeset; can only be called after WriteStartBatch and if no other active operation or changeset exists. - - - Asynchronously starts a new change set; can only be called after WriteStartBatch and if no other active operation or change set exists. - A task instance that represents the asynchronous write operation. - - - Ends an active changeset; this can only be called after WriteStartChangeset and only once for each changeset. - - - Asynchronously ends an active change set; this can only be called after WriteStartChangeset and only once for each change set. - A task instance that represents the asynchronous write operation. - - - Creates an for writing an operation of a batch request. - The message that can be used to write the request operation. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - Creates a message for asynchronously writing an operation of a batch request. - The message that can be used to asynchronously write the request operation. - The HTTP method to be used for this request operation. - The URI to be used for this request operation. - - - Creates a message for writing an operation of a batch response. - The message that can be used to write the response operation. - - - Asynchronously creates an for writing an operation of a batch response. - A task that when completed returns the newly created operation response message. - - - Flushes the write buffer to the underlying stream. - - - Flushes the write buffer to the underlying stream asynchronously. - A task instance that represents the asynchronous operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - A task representing any action that is running as part of the status change of the operation; - null if no such action exists. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Verifies that calling WriteStartBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new batch - implementation of the actual functionality. - - - - - Verifies that calling WriteEndBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends a batch - implementation of the actual functionality. - - - - - Verifies that calling WriteStartChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new changeset - implementation of the actual functionality. - - - - - Verifies that calling WriteEndChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends an active changeset - implementation of the actual functionality. - - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Creates an for writing an operation of a batch request - implementation of the actual functionality. - - The Http method to be used for this request operation. - The Uri to be used for this request operation. - The message that can be used to write the request operation. - - - - Verifies that calling CreateOperationResponseMessage is valid. - - true if the call is to be synchronous; false otherwise. - - - - Creates an for writing an operation of a batch response - implementation of the actual functionality. - - The message that can be used to write the response operation. - - - - Writes all the pending headers and prepares the writer to write a content of the operation. - - - - - Disposes the batch writer and set the 'OperationStreamRequested' batch writer state; - called after the flush operation(s) have completed. - - - - - Remember a non-null Content-ID header for change set request operations. - If a non-null content ID header is specified for a change set request operation, record it in the URL resolver. - - The Content-ID header value read from the message. - - Note that the content ID of this operation will only - become visible once this operation has been written - and OperationCompleted has been called on the URL resolver. - - - - - Verifies that the writer is in correct state for the Flush operation. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Sets a new writer state; verifies that the transition from the current state into new state is valid. - - The writer state to transition into. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Validates that the batch writer is ready to process a new write request. - - - - - Write any pending headers for the current operation message (if any). - - - A flag to control whether after writing the pending data we report writing the message to be completed or not. - - - - - Writes the start boundary for an operation. This is either the batch or the changeset boundary. - - - - - Sets the 'Error' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - The request message for the operation that is currently written if it's a request; or null if no operation is written right now or it's a response operation. - - - The response message for the operation that is currently written if it's a response; - or null if no operation is written right now or it's a request operation. - - - The message for the operation that is currently written; or null if no operation is written right now. - - - - An enumeration representing the current state of the writer. - - - - The writer is in initial state; nothing has been written yet. - - - WriteStartBatch has been called. - - - WriteStartChangeSet has been called. - - - CreateOperationRequestMessage/CreateOperationResponseMessage has been called. - - - - ODataMessage.GetStreamAsync() has been called on an operation which caused a to be created; - the batch writer is unusable while an operation is being written. - - - - The stream for writing the content of an operation has been disposed. The batch writer can now be used again. - - - WriteEndChangeSet has been called. - - - WriteEndBatch has been called. - - - The writer is in error state; nothing can be written anymore except the error payload. - - - - Class representing a media type definition. - - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - The parameters specified on the media type. - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - - Converts the current to a string representation suitable for use in a content-type header. - - The string representation of media type. - - - - Converts the current to a string representation suitable for use in a content-type header. - - The encoding to use when converting the media type into text. - The string representation of the current media type. - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Returns the full media type in standard type/subtype form, without parameters. - - - Returns the subtype part of the media type. - - - Returns the type part of the media type. - - - media type parameters - - - - ODataCollectionWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The Verbose JSON collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - ODataCollectionWriter for the ATOM format. - - - - The output context to write to. - - - The collection serializer to use for writing. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Enumeration representing the different kinds of payloads ODatLib can write. - - - - Payload kind for a feed. - - - Payload kind for an entry. - - - Payload kind for a property. - - - Payload kind for an entity reference link. - - - Payload kind for entity reference links. - - - Payload kind for a raw value. - - - Payload kind for a binary value. - - - Payload kind for a collection. - - - Payload kind for a service document. - - - Payload kind for a metadata document. - - - Payload kind for an error. - - - Payload kind for a batch. - - - Payload kind for parameters for a service action. - - - Unknown format - - - - Class representing a resource collection in a workspace of a data service. - - - - Gets or sets the URI representing the Unified Resource Locator (URL) to the collection. - The URI representing the Unified Resource Locator (URL) to the collection. - - - Gets or sets the name of the collection; this is the entity set name in JSON and the HREF in Atom. - The name of the collection. - - This property is required when reading and writing the JSON light format, but has no meaning in the Verbose JSON format. - If present in ATOM, it will be used to populate the title element. - - - - - Class representing the a workspace of a data service. - - - - Gets or sets the set of collections in the workspace. - The set of collections in the workspace. - - - - Constant values used in the EDM. - - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - Represents a Time instance as an interval measured in milliseconds from an instance of DateTime. - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - Represents an interval measured in milliseconds. - - - edm stream primitive type name - - - edm geography primitive type name - - - Represents a geography Point type. - - - Represents a geography LineString type. - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - The namespace for Edmx V1. - - - The namespace for Edmx V2. - - - The namespace for Edmx V3. - - - The element name of the top-level <Edmx> metadata envelope. - - - The attribute name used on entity types to indicate that they are MLEs. - - - The attribute name used on service operations and primitive properties to indicate their MIME type. - - - The attribute name used on service operations to indicate their HTTP method. - - - The attribute name used on a service operation to indicate whether all instances of the binding parameter - type can be bound to that service operation. - - - The attribute name used on an entity container to mark it as the default entity container. - - - 'true' literal - - - 'false' literal - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accessed statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - - Single instance per 'T' for comparison. - - - - - Initializes a new ReferenceEqualityComparer instance. - - - - - Determines whether two objects are the same. - - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - - Serves as hashing function for collections. - - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Returns a singleton instance for this comparer type. - - - - - Utility methods for working with CLR types. - - - - Checks whether the specified type is a generic nullable type. - Type to check. - true if is nullable; false otherwise. - - - Gets a non-nullable version of the specified type. - Type to get non-nullable version for. - - if type is a reference type or a - non-nullable type; otherwise, the underlying value type. - - - - - Checks whether the specified can be assigned null. If it is a non-nullable - value type it creates the corresonding nullable type and returns it. - - The type to check. - The if it allows null or the corresponding nullable type. - - - Checks whether the specified can be assigned null. - Type to check. - true if type is a reference type or a Nullable type; false otherwise. - - - - Determines if two CLR types are equivalent. - - First type to compare. - Second type to compare. - true if the types are equivalent (they both represent the same type), or false otherwise. - This method abstracts away the necessity to call Type.IsEquivalentTo method in .NET 4 and higher but - use simple reference equality on platforms which don't have that method (like Silverlight). - - - - Type for Atom Syndication Format (Atom) feed annotationsAsArray. - - - - Gets or sets a collection of authors of a feed. - A collection of authors of a feed. - - - Gets or sets the categories of a feed. - The categories of a feed. - - - Gets or sets a collection of contributors of a feed. - A collection of contributors of a feed. - - - Gets or sets the generator of a feed. - The generator of a feed. - - - Gets or sets the URI of the icon for a feed. - The URI of the icon for a feed. - - - Gets or sets the collection of all Atom link information except for the next page and self links. - The collection of all Atom link information except for the next page and self links. - - - Gets or sets the URI for the feed's logo. - The URI for the feed’s logo. - - - Gets or sets the rights text of a feed. - The rights text of a feed. - - - Gets or sets the self link of the feed. This link should point to the source of the feed. - The self link of the feed. - - - Gets the next page link of the feed. This link should point to the next page of results. - - - Gets or sets the identifier for the feed if used as metadata of an Atom:source element. - The identifier for the feed if used as metadata of an Atom:source element. - - - Gets or sets the subtitle of a feed. - The subtitle of a feed. - - - Gets or sets the title of the feed. - The title of the feed. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - Type for Atom Syndication Format (Atom) entry annotationsAsArray. - - - - - The date/time when the entry was published. - - - - - Date/Time of last update to the source in string format. - - - - Gets or sets a collection of authors of an entry. - A collection of authors of an entry. - - - Gets or sets the ATOM metadata for the category element which stores the type name of the entry. - - - Gets or sets the categories of an entry. - The categories of an entry. - - - Gets or sets a collection of contributors of an entry. - A collection of contributors of an entry. - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - Gets or sets the collection of all Atom link information except for the self/edit links and the navigation property links. - The collection of all Atom link information except for the self/edit links and the navigation property links. - - - Gets or sets the date and time when the entry was published. - The date and time when the entry was published. - - - Gets or sets the rights text of an entry. - The rights text of an entry. - - - Gets or sets the source of an entry and if the entry was copied from a different stream the property contains the feed metadata of the original feed. - The source of an entry. - - - Gets or sets the summary of the entry. - The summary of the entry. - - - Gets or sets the title of the entry. - The title of the entry. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - The date/time when the entry was published. - - - This property is only used in WCF DS client mode (and replaces the 'Published' property then). - - - - - Date/Time of last update to the source in string format. - - - This property is only used in WCF DS client mode (and replaces the 'Updated' property then). - - - - - Atom metadata description for a link. - - - - The IRI value coming from EPM. - We use AtomLinkMetadata class to hold navigation links, association links etc. - They convert Href property to string based on baseURI and whether Href is absolute or not. - Also we do not want to rely on validation done by Uri class, so we are holding EPM values - mapped to link/@href on a separate field. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the URI of the link. - The URI of the link. - - - Gets or sets the link's relation type. - The link’s relation type. - - - Gets or sets the media type of the data returned by the link. - The media type of the data returned by the link. - - - Gets or sets the language tag (for example, en-US) of the resource pointed to by the link. - The language tag of the resource pointed to by the link. - - - Gets or sets a human-readable description of the link. - A human-readable description of the link. - - - Gets or sets a hint at the length of the content returned from the link. - A hint at the length of the content returned from the link. - - - - Atom metadata description for a category. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the string value identifying the category. - The string value identifying the category. - - - Gets or sets the URI that indicates the scheme of the category. - The URI that indicates the scheme of the category. - - - Gets or sets a human-readable label for display in user interfaces. - A human-readable label. - - - - Atom metadata description for a person. - - - - The name of the person. - - - The email of the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - Converts a string to an instance. - The instance created for name. - The name used in the person metadata. - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the name of the person (required). - The name of the person (required). - - - Gets or sets an IRI associated with the person. - An IRI associated with the person. - - - Gets or sets an email address associated with the person. - An email address associated with the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - - Atom metadata description of a content generator. - - - - Gets or sets the human readable name of the generator of the content. - The human readable name of the generator of the content. - - - Gets or sets the (optional) URI describing the generator of the content. - The (optional) URI describing the generator of the content. - - - Gets or sets the (optional) version of the generator. - The (optional) version of the generator. - - - - Helper methods related to the ATOM Format - - - - The length of the media type for ATOM payloads (application/atom+xml). - - - The length of the media type for ATOM payloads when terminated by a ';' (application/atom+xml;). - - - The length of the media type for links referencing a single entry (application/atom+xml;type=entry). - - - The length of the media type for links referencing a collection of entries (application/atom+xml;type=feed). - - - Parameter string for the media type for links referencing a single entry. - - - Parameter string for the media type for links referencing a collection of entries. - - - - Creates the value for the navigation property's link relation attribute. - - The link representing the navigation property for which the relation value is created. - The relation attribute value for the navigation property's link relation. - - - - Creates the value for the navigation property's type attribute. - - The link representing the navigation property for which the type value is created. - The type attribute value for the navigation property. - - - - Creates the value for the navigation property's association link relation attribute. - - The link representing the navigation property's association for which the relation value is created. - The relation attribute value for the navigation property's association link relation. - - - - Creates the value for the stream property's link relation attribute. - - The stream property to create the relation for. - 'true' if the relation is computed for an edit link; otherwise 'false'. - The relation attribute value for the stream property's link relation. - - - - Unescape the attribute value for ATOM link element. - - ATOM link relation attribute value. - - The unescaped relation attribute string if it's a valid URI. - null if relation attribute is not a valid URI. - - - - - Return name following the specified in the . - - ATOM link relation attribute value, unescaped parsed URI string. - Value which the rel attribute should start with. - - The name if the starts with the given . - If the value does not start with the a null value is returned. - - - - - Determines whether the type of a navigation link has one of the expected standard values. - - The navigation link type to check. - true if the navigation link type has a 'type' parameter with the value 'entry'; otherwise false. - true if the navigation link type has a 'type' parameter with the value 'feed'; otherwise false. - true if the navigation link type is the expected application/atom+xml; otherwise false. - - - - Helper methods used by the OData writer to write ATOM metadata. - - - - - Creates a new instance by merging the given - (if any) with the specified , - and (optional) . - - The metadata to merge with the , and (optional) . - The relation to use in the merged metadata. - The href to use in the merged metadata. - The (optional) title to use in the merged metadata. - The (optional) media type to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for , - , , or this method validates that they - are the same as the ones specified in the method arguments. - - - - - Creates a new instance by merging the given - (if any) with the specified and . - - The metadata to merge with the and . - The term to use in the merged metadata. - The scheme to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for or - this method validates that they are the same as the ones specified in the method arguments. - - - - - Helper to convert values to strings compliant to the ATOM format - - - - Used for settings the updated element properly. - - - - Converts a boolean to the corresponding ATOM string representation. - - The boolean value to convert. - The ATOM strings representing boolean literals. - - - - Converts a byte to the corresponding ATOM string representation. - - The byte value to convert. - The ATOM strings representing the byte value. - - - - Converts a decimal to the corresponding ATOM string representation. - - The decimal value to convert. - The ATOM strings representing the decimal value. - - - - Converts the given date/time value to the string appropriate for Atom format - - The date/time value to convert. - The string version of the date/time value in Atom format. - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - ToAtomString is used to write values in atom specific elements like updated, etc. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given timespan value to the string appropriate for Atom format - - The timespan value to convert. - The string version of the timespan value in Atom format. - - - - Converts the given double value to the string appropriate for Atom format - - The double value to convert. - The string version of the double value in Atom format. - - - - Converts the given Int16 value to the string appropriate for Atom format - - The Int16 value to convert. - The string version of the Int16 value in Atom format. - - - - Converts the given Int32 value to the string appropriate for Atom format. - - The Int32 value to convert. - The string version of the Int32 in Atom format. - - - - Converts the given Int64 value to the string appropriate for Atom format. - - The Int64 value to convert. - The string version of the Int64 in Atom format. - - - - Converts the given SByte value to the string appropriate for Atom format. - - The SByte value to convert. - The string version of the SByte in Atom format. - - - - Converts the given byte array value to the string appropriate for Atom format. - - The byte array to convert. - The string version of the byte array in Atom format. - - - - Converts the given Single value to the string appropriate for Atom format. - - The Single value to convert. - The string version of the Single in Atom format. - - - - Converts the given Guid value to the string appropriate for Atom format. - - The Guid value to convert. - The string version of the Guid in Atom format. - - - - Atom specific extension methods. - - - - Determines an extension method to get the for an annotatable entry. - An instance or null if no annotation of that type exists. - The entry instance to get the annotation from. - - - Determines an extension method to get the for an annotatable feed. - An instance or null if no annotation of that type exists. - The feed instance to get the annotation from. - - - Determines an extension method to get the for an annotatable navigation link. - An instance or null if no annotation of that type exists. - The navigation link instance to get the annotation from. - - - Determines an extension method to get the for an annotatable workspace. - An instance or null if no annotation of that type exists. - The workspace to get the annotation from. - - - Determines an extension method to get the for an annotatable (resource) collection. - An instance or null if no annotation of that type exists. - The (resource) collection to get the annotation from. - - - Determines an extension method to get the for an annotatable association link. - An instance or null if no annotation of that type exists. - The association link to get the annotation from. - - - - Write-only stream which buffers all synchronous write operations until FlushAsync is called. - - - - - The stream being wrapped. - - - - - Queue of buffers to write. - - - - - The last buffer in the bufferQueue. This is the buffer we're writing into. - - - - - Constructor - - The underlying async stream to wrap. Note that only asynchronous write operation will be invoked on this stream. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Clears any internal buffers without writing them to the underlying stream. - - - - - Synchronous flush operation. This will flush all buffered bytes to the underlying stream through synchronous writes. - - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Asynchronous flush operation. This will flush all buffered bytes to the underlying stream through asynchronous writes. - - The task representing the asynchronous flush operation. - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Queues a new buffer to the queue of buffers - - - - - Prepares all buffers for flushing and returns the queue of buffers to flush. - - The queue of buffer to flush. - - - - Returns enumeration of tasks to run to flush all pending buffers to the underlying stream. - - The queue of buffers that need to be flushed. - Enumeration of tasks to run to flush all buffers. - This method relies on lazy eval of the enumerator, never enumerate through it synchronously. - - - - Determines if the stream can read - this one cannot - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The size of a buffer to allocate (80 KB is the limit for large object heap, so use 79 to be sure to avoid LOB) - - - - - The byte buffer used to store the data. - - - - - Number of bytes being stored. - - - - - Constructor - creates a new buffer - - - - - Writes data into the buffer. - - The buffer containing the data to write. - The index to start at. - Number of bytes to write. - How many bytes were written. - - - - Writes the buffer to the specified stream. - - The stream to write the data into. - - - - Creates a task which writes the buffer to the specified stream. - - The stream to write the data into. - The task which represent the asynchronous write operation. - - - - Constant values related to the ATOM format. - - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Attribute use to add xml: namespaces specific attributes. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - XML attribute value to indicate the base URI for a document or element. - - - Name of the xml:lang attribute. - - - Name of the xml:space attribute. - - - 'preserve' value for the xml:space attribute. - - - XML namespace for data service annotations. - - - XML namespace prefix for data service annotations. - - - XML namespace for data services. - - - Prefix for data services namespace. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData attribute which indicates the null value for the element. - - - OData element name for the 'count' element - - - OData scheme namespace for data services category scheme in atom:category elements. - - - OData stream property 'mediaresource' Uri segment name used in named stream link relations. - - - OData stream property 'edit-media' Uri segment name used in named stream link relations. - - - OData stream property prefix for named stream 'mediaresource' related link relations. - - - OData stream property prefix for named stream 'edit-media' related link relations. - - - OData navigation properties 'related' Uri segment name used in navigation link relations. - - - OData navigation properties prefix for navigation link relations. - - - OData navigation properties 'relatedlinks' Uri segment name used in association link relations. - - - OData association link prefix for relation attribute. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Name of the error element for Xml error responses. - - - Name of the error code element for Xml error responses. - - - Name of the error message element for Xml error responses. - - - Name of the inner error message element for Xml error responses. - - - Name of the message element in inner errors for Xml error responses. - - - Name of the type element in inner errors for Xml error responses. - - - Name of the stack trace element in inner errors for Xml error responses. - - - Name of the inner error element nested in inner errors for Xml error responses. - - - Element name for the items in a collection. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - XML element name for the wrapper 'links' element around a sequence of Uris in response to a $links request. - - - XML element name for a Uri response to a $links request. - - - XML element name for a next link in a response to a $links request. - - - XML element name for an annotation in an ATOM payload. - - - Attribute name for m:annotation/@target. - - - Attribute name for m:annotation/@term. - - - Attribute name for m:annotation/@string. - - - Attribute name for m:annotation/@bool. - - - Attribute name for m:annotation/@decimal. - - - Attribute name for m:annotation/@int. - - - Attribute name for m:annotation/@float. - - - Schema namespace for Atom. - - - Prefix for the Atom namespace - empty since it is the default namespace. - - - Prefix for the Atom namespace used in cases where we need a non-empty prefix. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark type attribute in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark id element in Atom. - - - XML element name to mark title element in Atom. - - - XML element name to mark the subtitle element in Atom. - - - XML element name to mark the summary element in Atom. - - - XML element name to mark the 'published' element in Atom. - - - XML element name to mark the 'source' element in Atom. - - - XML element name to mark the 'rights' element in Atom. - - - XML element name to mark the 'logo' element in Atom. - - - XML element name to mark the 'author' element in Atom. - - - XML element name to mark the 'author name' element in Atom. - - - XML element name to mark the 'contributor' element in Atom. - - - XML element name to mark the 'generator' element in Atom. - - - XML attribute name of the 'uri' attribute of a 'generator' element in Atom. - - - XML attribute name of the 'version' attribute of a 'generator' element in Atom. - - - XML element name to mark the 'icon' element in Atom. - - - XML element name to mark the 'name' element in an Atom person construct. - - - XML element name to mark the 'uri' element in an Atom person construct. - - - XML element name to mark the 'email' element in an Atom person construct. - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'label' attribute for categories. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for self links. - - - XML element name to mark link element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the type attribute of a link in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - XML attribute name of the hreflang attribute of a link in Atom. - - - XML attribute name of the title attribute of a link in Atom. - - - XML attribute name of the length attribute of a link in Atom. - - - XML element name to mark href attribute element in Atom. - - - Atom source attribute name for the content of media link entries. - - - Atom link relation attribute value for edit-media links. - - - XML attribute value of the link relation attribute for next page links in Atom. - - - XML attribute value of the link relation attribute for delta links in Atom. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom metadata text construct kind: plain text - - - Atom metadata text construct kind: html - - - Atom metadata text construct kind: xhtml - - - Default title for service document workspaces. - - - 'true' literal - - - 'false' literal - - - IANA link relations namespace. - - - The Atom Publishing Protocol (APP) namespace: 'http://www.w3.org/2007/app'. - - - The name of the top-level 'service' element when writing service documents in Xml format. - - - The name of the 'workspace' element when writing service documents in Xml format. - - - The name of the 'collection' element when writing service documents in Xml format. - - - The name of the 'categories' element encountered while reading a service document in XML format. - - - The name of the 'accept' element encountered while reading a service document in XML format. - - - The name of the 'fixed' attribute of an inline categories element in APP. - - - The value 'yes' of the 'fixed' attribute of an inline categories element in APP. - - - The value 'no' of the 'fixed' attribute of an inline categories element in APP. - - - XML namespace for GeoRss format - - - XML namespace prefix for GeoRss format - - - XML namespace for GML format - - - XML namespace prefix for GML format - - - - Helper methods used by the OData writer for the JSON format. - - - - - Write an error message. - - The JSON writer to write the error. - Action to write the instance annotations. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the __metadata property with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Will write the function's name and start the JSONP scope if we are writing a response and the - JSONP function name is not null or empty. - - JsonWriter to write to. - Writer settings. - - - - If we are writing a response and the given Json Padding function name is not null or empty - this function will close the JSONP scope. - - JsonWriter to write to. - Writer settings. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The output context for which to convert the URI. - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Write an error message. - - JSON writer. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - Instance annotations for this error. - Action to write the instance annotations. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Write an inner error property and message. - - The JSON writer to write the error to. - Inner error details. - The property name for the inner error property. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - Class with utility methods to work with HTTP concepts - - - - Reads a Content-Type header and extracts the media type's name (type/subtype) and parameters. - The Content-Type header. - The media type in standard type/subtype form, without parameters. - The (optional) charset parameter of the media type. - The parameters of the media type not including the 'charset' parameter. - - - Builds a Content-Type header which includes media type and encoding information. - Media type to be used. - Encoding to be used in response, possibly null. - The value for the Content-Type header. - - - Returns all media types from the specified (non-blank) . - Non-blank text, as it appears on an HTTP Accepts header. - An enumerable object with key/value pairs of media type descriptions with their (optional) charset parameter values. - - - - Does an ordinal ignore case comparision of the given media type names. - - First media type name. - Second media type name. - returns true if the media type names are the same. - - - - Does an ordinal ignore case comparision of the given MIME type parameter name. - - First parameter name. - Second parameter name. - returns true if the parameter names are the same. - - - Gets the best encoding available for the specified charset request. - - The Accept-Charset header value (eg: "iso-8859-5, unicode-1-1;q=0.8"). - - The media type used to compute the default encoding for the payload. - The encoding to use for UTF-8 charsets; we use the one without the BOM. - The encoding to use if no encoding could be computed from the or . - An Encoding object appropriate to the specifed charset request. - - - - Reads the numeric part of a quality value substring, normalizing it to 0-1000 - rather than the standard 0.000-1.000 ranges. - - Text to read qvalue from. - Index into text where the qvalue starts. - After the method executes, the normalized qvalue. - - For more information, see RFC 2616.3.8. - - - - - Validates that the HTTP method string matches one of the supported HTTP methods. - - The HTTP method string to validate. - - - - Determines whether the given HTTP method is one that is accepted for queries. GET is accepted for queries. - - The HTTP method to check. - True if the given httpMethod is GET. - - - - Gets the string status message for a given Http response status code. - - The status code to get the status message for. - The string status message for the . - - - - Returns the encoding object for the specified charset name. - - The of the charset to get the encoding for. - The encoding object or null if such encoding is not supported. - - - - Reads a token or quoted-string value from the header. - - Name of the header. - Header text. - Parsing index in . - Returns true if the value is a quoted-string, false if the value is a token. - Func to create the appropriate exception to throw from the given error message. - The token or quoted-string value that was read from the header. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - - Enumerates each charset part in the specified Accept-Charset header. - - Non-null and non-empty header value for Accept-Charset. - - A (non-sorted) enumeration of CharsetPart elements, which include - a charset name and a quality (preference) value, normalized to 0-1000. - - - - Reads a media type definition as used in a Content-Type header. - Text to read. - A list of key/value pairs representing the s and their (optional) 'charset' parameters - parsed from the specified - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - The (optional) charset parameter value. - - - Reads the type and subtype specifications for a media type name. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - - Determines whether the specified character is valid in the quoted header values. - - Character to verify. - true if c is a valid in a quoted HTTP header value; false otherwise. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Converts the specified character from the ASCII range to a digit. - - Character to convert. - - The Int32 value for c, or -1 if it is an element separator. - - - - - Verfies whether the specified character is a valid separator in - an HTTP header list of element. - - Character to verify. - true if c is a valid character for separating elements; false otherwise. - - - - "Reads" a literal from the specified string by verifying that - the exact text can be found at the specified position. - - Text within which a literal should be checked. - Index in text where the literal should be found. - Literal to check at the specified position. - true if the end of string is found; false otherwise. - - - - Structure to represent a charset name with a quality value. - - - - Name of the charset. - - - Charset quality (desirability), normalized to 0-1000. - - - - Initializes a new CharsetPart with the specified values. - - Name of charset. - Charset quality (desirability), normalized to 0-1000. - - - - Writer class used to write all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message writer was created. - - - A flag indicating whether we are writing a request or a response message. - - - The message writer settings to use when writing the message payload. - - - The model. Non-null if we do have metadata available. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - Flag to ensure that only a single write method is called on the message writer. - - - True if Dispose() has been called on this message writer, False otherwise. - - - The output context we're using to write the payload. - This is null until the first write operation is called. - - - The payload kind of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The batch boundary string if the payload to be written is a batch request or response. - This is either set via the SetHeadersForPayload method or implicitly when the CreateBatchWriter method is called. - - - Flag to prevent writing more than one error to the payload. - - - The media type resolver to use when interpreting the content type. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - Creates a new for the given request message. - The request message for which to create the writer. - - - Creates a new for the given request message and message writer settings. - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given request message and message writer settings. - - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the writer. - - - Creates a new for the given response message and message writer settings. - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given response message and message writer settings. - - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates an to write a feed. - The created writer. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - Asynchronously creates an to write a feed. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write an entry. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - Asynchronously creates an to write an entry. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - A running task for the created writer. - - - - Asynchronously creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - A running task for the created writer. - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - The created collection writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - A running task for the created collection writer. - - - - Asynchronously creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - A running task for the created collection writer. - - - Creates an to write a batch of requests or responses. - The created batch writer. - - - Asynchronously creates an to write a batch of requests or responses. - A running task for the created batch writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Asynchronously creates an to write a parameter payload. - - The function import whose parameters will be written. - A running task for the created parameter writer. - - - Writes a service document with the specified as the message payload. - The default workspace to write in the service document. - - - Asynchronously writes a service document with the specified as the message payload. - A task representing the asynchronous operation of writing the service document. - The default workspace to write in the service document. - - - Writes an as the message payload. - The property to write. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the property. - The property to write - - - Writes an as the message payload. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Asynchronously writes an as the message payload. - A task representing the asynchronous operation of writing the error. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Writes the result of a $links query as the message payload. - The entity reference links to write as message payload. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - Asynchronously writes the result of a $links query as the message payload. - A task representing the asynchronous writing of the entity reference links. - The entity reference links to write as message payload. - - - - Asynchronously writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - A task representing the asynchronous writing of the entity reference links. - - - Writes a singleton result of a $links query as the message payload. - The entity reference link to write as the message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - Asynchronously writes a singleton result of a $links query as the message payload. - A running task representing the writing of the link. - The link result to write as the message payload. - - - - Asynchronously writes a singleton result of a $links query as the message payload. - - The link result to write as message payload. - The entity set of the navigation property. - The navigation property information for the link being written, or null if none is available. - A running task representing the writing of the link. - - - Writes a single value as the message body. - The value to write. - - - Asynchronously writes a single value as the message body. - A running task representing the writing of the value. - The value to write. - - - Writes the metadata document as the message body. - - - implementation to cleanup unmanaged resources of the writer. - - - - Sets the content-type and data service version headers on the message used by the message writer. - This method can be called if it is important to set all the message headers before calling any of the - write (or writer creation) methods on the . - If it is sufficient to set the headers when the write (or writer creation) methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - The kind of payload to be written with this message writer. - The used for the specified . - - - - If no headers have been set, sets the content-type and data service version headers on the message used by the message writer. - If headers have been set explicitly (via ODataUtils.SetHeaderForPayload) this method verifies that the payload kind used to - create the headers is the same as the one being passed in . - - The kind of payload to be written with this message writer. - - - - Ensures that the version of the OData protocol is set. - - - If a version is specified explicitly on the writer settings, it is used. - Otherwise the method tries to read the version from the message headers. - If there is a version header but the value cannot be parsed, we fail. - If there is no version header, we fall back to the default version. - - - - - Ensures that the OData format is computed and set; if needed, sets the content type - header of the message. - - - This method computes and ensures that a content type exists and computes the - OData format from it. If a content type is explicitly specified through - - or it will be used. If no - content type is specified in either place, the message headers are checked for - a content type header. - If the content type is computed from settings, the content type header is set on the message. - - - - - Verifies that feed writer can be created. - - - - - Verifies that entry writer can be created. - - - - - Verifies that collection writer can be created. - - The item type of the collection being written or null if no metadata is available. - - - - Verifies that batch writer can be created. - - - - - Verifies that parameter writer can be created. - - The function import whose parameters will be written. - - - - Verifies headers for parameter payload. - - - - - Verifies that service document can be written. - - The default workspace to write. - - - - Verifies that property can be written. - - The property to write. - - - - Verifies that top-level error can be written. - - The error to write. - - - - Verifies that in-stream error can be written. - - The error to write. - - - - Verifies that entity reference links can be written. - - The entity reference links to write as message payload. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Verifies headers for entity reference links. - - The entity reference links to write as message payload. - - - - Verifies that entity reference link can be written. - - The link result to write as message payload. - - - - Verifies that value can be written. - - The value to write. - The payload kind to use when writing this value. - - - - Verifies that metadata document can be written. - - - - - Verifies headers for metadata document. - - - - - Verifies that the ODataMessageWriter has not been disposed and has not been used before. An ODataMessageWriter - can only be used to write a single message payload but can't be reused later except for writing an in-stream error. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Verifies that, if a payload kind has been set via SetHeaders, the payload kind that - is being written is the same. - - The payload kind that is attempted to write. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - The result of the write operation. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - Task which represents the pending write operation. - - - - The message writer settings to use when writing the message payload. - - - - - The media type resolver to use when interpreting the content type. - - - - - Wrapper class around an IODataResponseMessageAsync to isolate our code from the interface implementation. - - - This class also implements the message interface since it is passed to the payload kind - detection logic on the format implementations and manages the buffering read stream. - - - - The response message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The response message to wrap. - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative number if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The result status code of the response message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Wrapper class around an IODataRequestMessageAsync to isolate our code from the interface implementation. - - - - The request message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The request message to wrap. - true if the request message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Synchronously get the stream backing this message. - - The stream for this message. - - - - Asynchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The request Url for this request message. - - - - - The HTTP method used for this request message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Represents an association link. - - - - the metadata builder for this association link. - - - URI representing the Unified Resource Locator (Url) of the link. - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this association link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets the name of the association link. - The name of the associate link. - This is the name of the navigation property to which the association link belongs. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - This URL should point to a resource which can be used to retrieve or modify the association itself - not the URL to traverse the navigation property. - - - - Class representing an error payload. - - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Gets the collection of instance annotations from this instance. - - The collection of instance annotations - - - - Adds an instance annotation from the payload to this instance. - - The name of the instance annotation. - The value of the instance annotation. - - - Gets or sets the error code to be used in payloads. - The error code to be used in payloads. - - - Gets or sets the error message. - The error message. - - - Gets or sets the language for the exception Message. - The language for the exception Message. - - - Gets or sets the implementation specific debugging information to help determine the cause of the error. - The implementation specific debugging information. - - - - Collection of custom instance annotations. - - - - - Utility class to check feature availability in a certain version of OData. - - - - - Check whether the inline count feature is supported in the specified version. - - The version to check. - - - - Check whether CollectionValue properties are supported in the specified version. - - The version to check. - The name of the property which holds the collection. - - - - Check whether CollectionValue is supported in the specified version. - - The version to check. - - - - Check whether the next link feature is supported in the specified version. - - The version to check. - - - - Check whether the delta link feature is supported in the specified version. - - The version to check. - - - - Check whether the named streams feature is supported in the specified version. - - The version to check. - - - - Check whether the association links feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Type Scheme feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Data Namespace feature is supported in the specified version. - - The version to check. - - - - Check whether parameters in the payload are supported in the specified version. - - The version to check. - - - - Check whether the EPM on the specified entity type is supported in the specified version. - - The version to check. - The entity type to check. - The model containing annotations for the entity type. - - - - Check whether the spatial value is supported in the specified version. - - The version to check. - - - - Checks that the version specified on the request or the response is supported by this library. - - The version to check. - The message reader settings specified for the reader. - In internal drops we currently do not support protocol version 3. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in ODataWriterCore.WriteEnd - - - Unreachable codepath in ODataWriterCore.ValidateTransition - - - Unreachable codepath in ODataWriterCore.Scope.Create - - - Unreachable codepath in ODataWriterCore.DuplicatePropertyNamesChecker. - - - Unreachable codepath in ODataWriterCore.ParentNavigationLinkScope. - - - Unreachable codepath in ODataUtils.VersionString - - - Unreachable codepath in ODataUtilsInternal.ToDataServiceVersion - - - Unreachable codepath in ODataUtilsInternal.IsPayloadKindSupported - - - Unreachable codepath in ODataUtils.GetDefaultEncoding - - - Unreachable codepath in ODataUtils.ParseSerializableEpmAnnotations - - - Unreachable codepath in ODataMessageWriter.WriteProperty - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLink - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLinks - - - Unreachable codepath in ODataMessageWriter.WriteError - - - Unreachable codepath in ODataMessageWriter.WriteServiceDocument - - - Unreachable codepath in ODataMessageWriter.WriteMetadataDocument - - - Unreachable codepath in EpmSyndicationWriter.WriteEntryEpm when writing content target. - - - Unreachable codepath in EpmSyndicationWriter.CreateAtomTextConstruct when converting text kind from Syndication enumeration. - - - Unreachable codepath in EpmSyndicationWriter.WritePersonEpm. - - - Unhandled EpmTargetPathSegment.SegmentName in EpmSyndicationWriter.WriteParentSegment. - - - Unreachable codepath in ODataAtomConvert.ToString(AtomTextConstructKind) - - - Unreachable codepath in ODataCollectionWriter.CreateCollectionWriter - - - Unreachable codepath in ODataCollectionWriterCore.ValidateTransition - - - Unreachable codepath in ODataCollectionWriterCore.WriteEnd - - - Unreachable codepath in ODataParameterWriter.CreateParameterWriter - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.WriteEndImplementation - - - Unreachable codepath in ODataPathValidator.ValidateSegment root branch - - - Unreachable codepath in ODataPathValidator.ValidateSegment non-root branch - - - Unreachable codepath in ODataBatchWriter.ValidateTransition - - - Unreachable codepath in ODataBatchWriter.ToText(this HttpMethod). - - - Unreachable codepath in ODataBatchReader.ReadImplementation. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Completed. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Exception. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary because of invalid enum value. - - - Unreachable codepath in ODataBatchReaderStream.SkipToBoundary. - - - Unreachable codepath in ODataBatchReaderStream.ReadLine. - - - Unreachable codepath in ODataBatchReaderStream.ReadWithDelimiter. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ScanForBoundary. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ReadWithLength. - - - Unreachable codepath in JsonReader.Read. - - - Unreachable codepath in ODataReader.CreateReader. - - - Unreachable codepath in ODataReaderCore.ReadImplementation. - - - Unreachable codepath in ODataReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataVerboseJsonEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataVerboseJsonReader.ReadEntryStart. - - - Unreachable codepath in ODataVerboseJsonPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataCollectionReader.CreateReader. - - - Unreachable codepath in ODataCollectionReaderCore.ReadImplementation. - - - Unreachable codepath in ODataCollectionReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataParameterReaderCore.ReadImplementation. - - - Unreachable codepath in ODataParameterReaderCoreAsync.ReadAsynchronously. - - - The value from the parameter reader must be a primitive value, an ODataComplexValue or null - - - Unreachable codepath in ODataAtomReader.ReadAtNavigationLinkStartImplementation. - - - Unreachable codepath in ODataAtomPropertyAndValueDeserializer.ReadNonEntityValue. - - - Unreachable codepath in AtomValueUtils.ConvertStringToPrimitive. - - - Unreachable codepath in EdmCoreModel.PrimitiveType (unsupported type). - - - Unreachable codepath in EpmSyndicationReader.ReadEntryEpm when reading content target. - - - Unreachable codepath in EpmSyndicationReader.ReadParentSegment. - - - Unreachable codepath in EpmSyndicationReader.ReadPersonEpm. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found unexpected type kind. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found EPM for a primitive stream property. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the strict branch, unexpected type kind. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the lax branch, unexpected type kind. - - - Unreachable codepath in EpmExtensionMethods.ToAttributeValue(ODataSyndicationItemProperty) when found unexpected type syndication item property kind. - - - The ODataMetadataFormat.CreateOutputContextAsync was called, but this method is not yet supported. - - - The ODataMetadataFormat.CreateInputContextAsync was called, but this method is not yet supported. - - - An unsupported method or property has been called on the IDictionary implementation of the ODataModelFunctions. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.GetNonEntityValueKind. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataJsonLightReader.ReadEntryStart. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer_ReadTopLevelFeedAnnotations.ReadTopLevelFeedAnnotations. - - - Unreachable codepath in ODataJsonLightReader.ReadFeedEnd. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart.TypeKindFromPayloadFunc. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionEnd. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadSingleEntityReferenceLink. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadEntityReferenceLinksAnnotations. - - - Unreachable codepath in ODataJsonLightParameterDeserializer.ReadNextParameter. - - - Unreachable codepath in ODataJsonLightAnnotationGroupDeserializer.ReadAnnotationGroupDeclaration. - - - Unreachable codepath in EdmTypeWriterResolver.GetReturnType for function import group. - - - Unreachable codepath in the indexer of ODataVersionCache for unknown versions. - - - - Implementation of the ODataWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON entry and feed seriazlizer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the __count property for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - - - - Returns the current VerboseJsonFeedScope. - - - - - A scope for a verbose JSON feed. - - - - true if the __count was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the __count was already written, false otherwise. - - - - - Uri utility methods. - - - - - An absolute Uri to use as the base Uri for escaping a Uri fragment. - - - - - Returns an absolute URI constructed from the specified base URI and a relative URI - - The base URI to use. - The relative URI to use. - The absolute URI as a result of combining the base URI with the relative URI. - - - - A method to ensure that the original string of a relative URI is escaped. - - The relative to escape. - A relative URI instance with guaranteed escaped original string. - - - - Gets the escaped metadata reference property name. - - The metadata reference property name in question. - The Uri escaped metadata reference property name. - - - - OData representation of a Collection. - - - - Gets or sets the type of the collection value. - The type of the collection value. - - - Gets or sets the items in the bag value. - The items in the bag value. - - - - Configuration settings for OData message writers. - - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - fields and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - An instance representing any knobs that control the behavior of the writers - inside and outside of WCF Data Services. - - - - Stores the base uri for the metadata document along with a select clause. - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - Initializes a new instance of the class with default settings. - - - Initializes a new instance of the class with specified settings. - The specified settings. - - - Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. - The acceptable media types used to determine the content type of the message. This is a comma separated list of content types as specified in RFC 2616, Section 14.1. - The acceptable charsets to use to determine the encoding of the message. This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - Calling this method replaces any previously set content-type settings. - - - Sets the format to be used when writing the payload. This will automatically set a compatible content type header. - The format to use for writing the payload. - Calling this method replaces any previously set content-type settings. - - - Sets the customization XML format for Atom entry. - The start of the Atom entry XML customization callback. - The end of the Atom entry XML customization callback. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - This method only applies when writing ATOM format payloads. - When writing payloads in different formats, this method has no effect. - param name="atomStartEntryXmlCustomizationCallback" - If non-null this func will be called when a new (non-null) entry is to be written. - It takes two parameters: - - ODataEntry entry - which is the entry to be written. - - XmlWriter writer - which is the current XmlWriter used by the ODataWriter to write the entry. - It returns XmlWriter: - - null - means there's no need to customize the XML for this entry, and thus the original writer will be used to write the entry. - - non-null XmlWriter - the ODataWriter will use the new returned writer to write the entry. - Once the entry has been written the EndEntryXmlCustomizationCallback will be called and the writer will be passed to it. - Note that the ODataWriter will not dipose or otherwise clear the writer. - The callback must never return the same instance as the writer parameter! - param name="atomEndEntryXmlCustomizationCallback" - If non-null this action will be called when a (non-null) entry has been written. - The action takes three parameters: - - ODataEntry entry - which is the entry which was written. - - XmlWriter entryWriter - the XmlWriter used to write the entry. The action must dispose or otherwise clear this writer. - - XmlWriter parentWriter - the XmlWriter used to write the parent scope of the entry. This is the writer which will be used to write further - payload once this action returns. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - true if the server is configured to leave prefixes off all root elements and anything else in the same namespace, otherwise, false. - - - Enables the WCF data services client behavior. - The start of the entry XML customization callback. - The end of the entry XML customization callback. - The OData namespace. - The type scheme. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - - - - Sets the URI of the metadata document. - The URI of the metadata document. - - - Sets the URI of the metadata document. - The URI of the metadata document. - The select clause. - - - - Determines if there is a JSON padding function defined. - - True if the JsonPCallback property is not null or emtpy. - - - - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - - Gets or sets the OData protocol version to be used for writing payloads. - The OData protocol version to be used for writing payloads. - - - Gets or sets the document base URI which is used as base for all relative URIs. - The document base URI which is used as base for all relative URIs. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets a callback function use to wrap the response from server. - The callback function used to wrap the response from server. - If it has a value and we are writing a JSON response, then we will wrap the entirety of the response in - the provided function name and parenthesis for JSONP. Otherwise this value is ignored. - - - - Gets or sets a value that indicates whether the writer should automatically generate or omit metadata in JSON payloads based on the metadata level. - - - Payload metadata includes the type names of entries and property values as well as any information that may be computed automatically, such as edit links. - If, for example, ODataEntry.EditLink is not specified, then it will be automatically computed and written out in full metadata mode. - If ODataEntry.EditLink is specified, then that value will be considered an "override" of the default computed edit link, and will be written out in full and minimal metadata modes. It will not be written in no metadata mode. - - - - - Gets or sets a value that indicates whether the writer should put key values in their own URI segment when automatically building URIs. - If this value is false, automatically-generated URLs will take the form "../EntitySet('KeyValue')/..". - If this value is true, automatically-generated URLs will take the form "../EntitySet/KeyValue/..". - If this value is not set (null), decision will be made based on the "Com.Microsoft.Data.Services.Conventions.V1.UrlConventions" vocabulary - annotation on the IEdmEntityContainer, if available. The default behavior is to put key values inside parentheses and not a distinct URL segments. - This setting only applies to URLs that are automatically generated by the and does not modify URLs explicitly provided by the user. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - A null or empty accept header means that all content types are acceptable. - For response messages this is usually the 'Accept' header of the request message. - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - A null or empty accept charset header means that all charsets are acceptable. - For response messages this is usually the 'Accept-Charset' header of the request message. - - - - The writer behavior that holds all the knobs needed to make the writer - behave differently inside and outside of WCF Data Services. - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - properties and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - Gets the metadata document URI that has been set on the settings, or null if it has not been set. - - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - Constant values related to media types. - - - - Media type for requesting any media type. - - - 'application' - media type for application types. - - - 'text' - media type for text subtypes. - - - 'multipart' - media type. - - - 'atom+xml' - constant for atom+xml subtypes. - - - 'atomsvc+xml' - constant for atomsvc+xml subtypes. - - - 'xml' - constant for xml subtypes. - - - 'json' - constant for JSON subtypes. - - - 'plain' - constant for text subtypes. - - - 'javascript' - constant for javascript subtypes. - - - 'octet-stream' subtype. - - - 'mixed' subtype. - - - 'http' subtype. - - - Parameter name for 'type' parameters. - - - Parameter value for type 'entry'. - - - Parameter value for type 'feed'. - - - Parameter name for 'odata' parameters. - - - Parameter value for 'verbose' JSON. - - - JSON Light parameter value 'fullmetadata'. - - - JSON Light parameter value 'minimalmetadata'. - - - JSON Light parameter value 'nometadata'. - - - Parameter name for 'streaming' parameter. - - - JSON Light streaming parameter value 'true'. - - - JSON Light streaming parameter value 'false'. - - - Media type for XML bodies. - - - Media type for ATOM payloads. - - - Media type for links referencing a single entry. - - - Media type for links referencing a collection of entries. - - - Media type for JSON payloads. - - - Media type for binary raw content. - - - Media type for batch parts. - - - Media type for Xml bodies (deprecated). - - - Media type for raw content (except binary). - - - Media type for javascript content. - - - Media type for raw content (except binary). - - - The '*' wildcard usable in type names and subtype names. - - - Separator between mediat type and subtype. - - - - Helper methods used by the OData writer for the ATOM format. - - - - - Creates an Xml writer over the specified stream, with the provided settings and encoding. - - The stream to create the XmlWriter over. - The OData message writer settings used to control the settings of the Xml writer. - The encoding used for writing. - An instance configured with the provided settings and encoding. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write the m:etag attribute with the given string value. - - The Xml writer to write to. - The string value of the ETag. - - - - Write the m:null attribute with a value of 'true' - - The Xml writer to write to. - - - - Writes raw markup with the given writer, adding the xml:space="preserve" attribute to the element if the markup has leading or trailing whitespace. - - The to write to. - A string containing the text to write. - - - - Writes a string with the given writer, adding the xml:space="preserve" attribute to the element if the string has leading or trailing whitespace. - - The to write to. - The string to write as element text content. - - - - Creates a new XmlWriterSettings instance using the encoding. - - Configuration settings of the OData writer. - Encoding to use in the writer settings. - The Xml writer settings to use for this writer. - - - - Writes an xml:space="preserve" attribute if the given value starts or ends with whitespace. - - The writer to use for writing out the attribute string. - The value to check for insignificant whitespace. - - - - Utility methods around writing of ATOM values. - - - - The characters that are considered to be whitespace by XmlConvert. - - - - Converts the given value to the ATOM string representation - and uses the writer to write it. - - The writer to write the stringified value. - The value to be written. - - - Converts the specified value to a serializable string in ATOM format, or throws an exception if the value cannot be converted. - Non-null value to convert. - The specified value converted to an ATOM string. - - - - Reads a value of an XML element and converts it to the target primitive value. - - The XML reader to read the value from. - The primitive type reference to convert the value to. - The primitive value read. - This method does not read null values, it only reads the actual element value (not its attributes). - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - - - - Converts a given to a string appropriate for Atom format. - - The text construct kind to convert. - The string version of the text construct format in Atom format. - - - Converts the specified value to a serializable string in ATOM format. - Non-null value to convert. - The specified value converted to an ATOM string. - boolean value indicating conversion successful conversion - - - - Converts a string to a primitive value. - - The string text to convert. - Type to convert the string to. - The value converted to the target type. - This method does not convert null value. - - - - Reimplementation of XmlConvert.ToBoolean that accepts 'True' and 'False' in addition - to 'true' and 'false'. - - The string value read from the Xml reader. - The converted boolean value. - - - - Constant values used by the OData or HTTP protocol or OData library. - - - - - HTTP method name for GET requests. - - - - - HTTP method name for POST requests. - - - - - HTTP method name for PUT requests. - - - - - HTTP method name for DELETE requests. - - - - - HTTP method name for PATCH requests. - - - - - Custom HTTP method name for MERGE requests. - - - - - Name of the HTTP content type header. - - - - - Name of the OData 'DataServiceVersion' HTTP header. - - - - - Name of the HTTP content-ID header. - - - - - Name of the Content-Length HTTP header. - - - - - 'q' - HTTP q-value parameter name. - - - - Http Version in batching requests and response. - - - 'charset' - HTTP parameter name. - - - multi-part keyword in content-type to identify batch separator - - - Name of the HTTP content transfer encoding header. - - - Content-Transfer-Encoding value for batch payloads. - - - The default protocol version to use in ODataLib if none is specified. - - - The template used when computing a batch request boundary. - - - The template used when computing a batch response boundary. - - - The template used when computing a request changeset boundary. - - - The template used when computing a response changeset boundary. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - Weak etags in HTTP must end with ". - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The default maximum allowed recursion depth for recursive payload definitions, such as complex values inside complex values. - - - The default maximum number of bytes that should be read from a message. - - - The default maximum number of top-level operations and changesets per batch payload. - - - The default maximum number of operations per changeset. - - - The default maximum number of entity property mapping attributes for an entity type (on the type itself and all its base types). - - - The maximum recognized OData version by this library. - - - The '/' (forward slash) which is the URI segment separator. - - - The '/' (forward slash) which is the URI segment separator. - - - The '$links' segment name for constructing association links. - - - The '$value' segment name for the default stream value. - - - - Internal utility methods used in the OData library. - - - - - Converts a given to its representation. - - The instance to convert. - The representation of the . - - - - Sets the 'DataServiceVersion' HTTP header on the message based on the protocol version specified in the settings. - - The message to set the data service version header on. - The determining the protocol version to use. - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Checks whether a payload kind is supported in a request or a response. - - The to check. - true if the check is for a request; false for a response. - true if the is valid in a request or response respectively based on . - - - - Concats two enumerables. - - Element type of the enumerable. - Enumerable 1 to concat. - Enumerable 2 to concat. - Returns the combined enumerable. - - - - Gets the selected properties from the given . - - The instance to get the selected properties node from. - The selected properties node instance. - This can be a property on . Having it as an extension method here so we don't have to do the null check at the call site. - - - - OData writer for the ATOM format. - - - - Value for the atom:updated element. - - The writer will use the same default value for the atom:updated element in a given payload. While there is no requirement for this, - it saves us from re-querying the system time and converting it to string every time we write an item. - - - - The output context to write to. - - - The serializer to write payload with. - - - - Constructor creating an OData writer using the ATOM format. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Flush the output. - - Task representing the pending flush operation. - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the collection of to the ATOM payload. - - The collection of to write. - Helper class to track if an annotation has been writen. - - - - Writes the collection of for the given to the ATOM payload. - - The feed to write the for. - The current feed scope. - - - - Write the content of the given entry. - - The entry for which to write properties. - The of the entry (or null if not metadata is available). - The cache of properties. - The root of the EPM source tree, if there's an EPM applied. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link start atom:link element including the m:inline element if there's a parent navigation link. - - - - - Writes the navigation link end m:inline and end atom:link elements if there's a parent navigation link. - - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Writes custom extensions and the end element for a navigation link - - - - - Determines if XML customization should be applied to the entry and applies it. - - The entry to apply the customization to. - This method must be called before anything is written for the entry in question. - - - - Ends XML customization for the entry (if one was applied). - - The entry to end the customization for. - This method must be called after all the XML for a given entry is written. - - - - Returns the current AtomEntryScope. - - - - - Returns the current AtomFeedScope. - - - - - Enumeration of ATOM element flags, used to keep track of which elements were already written. - - - - The atom:id element. - - - The atom:link with rel='self'. - - - The atom:link with rel='edit'. - - - - A scope for an feed. - - - - true if the author element was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the author element was already written, false otherwise. - - - - - A scope for an entry in ATOM writer. - - - - Bit field of the ATOM elements written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The ATOM element which was written. - - - - Determines if the was already written for this entry scope. - - The ATOM element to test for. - true if the was already written for this entry scope; false otherwise. - - - - Enumeration representing the OData protocol version. - - - - Version 1.0. - - - Version 2.0. - - - Version 3.0. - - - - Writes text indented as per the indentation level setting - - - - - The indentation string to prepand to each line for each indentation level. - - - - - The underlying writer to write to. - - - - - Set to true if the writer should actually indent or not. - - - - - Number which specifies the level of indentation. Starts with 0 which means no indentation. - - - - - Set to true if indentation should be written before the next string is written. - - - - - Constructor - - The underlying writer to wrap. - Set to true if the writer should actually indent or not. - - - - Increases the level of indentation applied to the output. - - - - - Decreases the level of indentation applied to the output. - - - - - Clears the buffer of the current writer. - - - - - Writes the given string value to the underlying writer. - - String value to be written. - - - - Writes the given char value to the underlying writer. - - Char value to be written. - - - - Writes a new line. - - - - - Closes or disposes the underlying writer. - - - - - Writes the tabs depending on the indent level. - - - - - Returns the Encoding for the given writer. - - - - - Returns the new line character. - - - - - Constants for the JSON format. - - - - - "results" header for Json data array. - - - - - Text used to start a data object wrapper in JSON. - - - - - Data property name of the data object wrapper in JSON. - - - - - "id" header for the id of an Entry. - - - - - "__metadata" header for Json metadata object - - - - - "uri" header for the URI identifying the entry being represented. - - - - - "type" header for the type name of the entity - - - - - "etag" header for the ETag of an entity - - - - - "__mediaresource" property name for the metadata of a stream reference value. - - - - - "media_src" header for the MLE read link - - - - - "content_type" header for the MLE - - - - - "media_etag" header for the MLE - - - - - "edit_media" header for the MLE - - - - - "properties" header for the property metadata - - - - - "associationuri" header for the association link url of a navigation property - - - - - "__count" header for the inline count in a feed - - - - - "__next" header for the next link in a feed - - - - - "__deferred" header for the non-expanded link in an entry - - - - - "uri" header for the navigation link URL - - - - - The name of the property returned for a singleton $links query - - - - "actions" header for entry metadata. - - - "functions" header for entry metadata. - - - "title" header for "actions" and "functions" metadata. - - - "metadata" header for "actions" and "functions" metadata. - - - "target" header for "actions" and "functions" metadata. - - - - "error" header for the error payload - - - - - "code" header for the error code property - - - - - "message" header for the error message property - - - - - "lang" header for the error message language property - - - - - "value" header for the error message value property - - - - - "innererror" header for the inner error property - - - - - "message" header for an inner error (for Astoria compatibility) - - - - - "typename" header for an inner error (for Astoria compatibility) - - - - - "stacktrace" header for an inner error (for Astoria compatibility) - - - - - "internalexception" header for an inner, inner error property (for Astoria compatibility) - - - - - JSON datetime format. - - - - - JSON datetime offset format. - - - - - A plus sign for the date time offset format. - - - - - The fixed property name for the entity sets array in a service document payload. - - - - - The true value literal. - - - - - The false value literal. - - - - - The null value literal. - - - - - Character which starts the object scope. - - - - - Character which ends the object scope. - - - - - Character which starts the array scope. - - - - - Character which ends the array scope. - - - - - "(" Json Padding Function scope open parens. - - - - - ")" Json Padding Function scope close parens. - - - - - The separator between object members. - - - - - The separator between array elements. - - - - - The separator between the name and the value. - - - - - The quote character. - - - - - Writer for the JSON format. http://www.json.org - - - - - Writer to write text into. - - - - - Scope of the json text - object, array. - - - - - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - - Creates a new instance of Json writer. - - Writer to which text needs to be written. - If the output should be indented or not. - The json-based format to use when writing. - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Various scope types for Json writer. - - - - - Array scope. - - - - - Object scope. - - - - - JSON padding function scope. - - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - What to write at the beginning of this scope. - - - - - What to write at teh end of this scope. - - - - - Get/Set the object count for this scope. - - - - - Gets the scope type for this scope. - - - - - Class with utility methods to work with exceptions - - - - Type of OutOfMemoryException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - Checks the argument value for null and throws if it is null. - - Type of the argument, used to force usage only for reference types. - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value empty string and throws if it is empty. The value can be null though. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value for null or empty string and throws if it is null or empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being negative and throws if it is negative. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - Type of the collection. It does not matter. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Provides helper method for converting data values to and from the OData JSON format. - - - - - Const tick value for caculating tick values. - - - - - Characters which, if found inside a number, indicate that the number is a double when no other type information is available. - - - - - Map of special characters to strings. - - - - - Write a boolean value. - - The text writer to write the output to. - The boolean value to write. - - - - Write an integer value. - - The text writer to write the output to. - Integer value to be written. - - - - Write a float value. - - The text writer to write the output to. - Float value to be written. - - - - Write a short value. - - The text writer to write the output to. - Short value to be written. - - - - Write a long value. - - The text writer to write the output to. - Long value to be written. - - - - Write a double value. - - The text writer to write the output to. - Double value to be written. - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - Write a Guid value. - - The text writer to write the output to. - Guid value to be written. - - - - Write a decimal value - - The text writer to write the output to. - Decimal value to be written. - - - - Write a DateTime value - - The text writer to write the output to. - DateTime value to be written. - The format to write out the DateTime value in. - - - - Write a DateTimeOffset value. - - The text writer to write the output to. - DateTimeOffset value to be written. - The format to write out the DateTime value in. - - - - Write a TimeSpan value. - - The text writer to write the output to. - TimeSpan value to be written. - - - - Write a byte value. - - The text writer to write the output to. - Byte value to be written. - - - - Write an sbyte value. - - The text writer to write the output to. - SByte value to be written. - - - - Write a string value. - - The text writer to write the output to. - String value to be written. - - - - Returns the string value with special characters escaped. - - The text writer to write the output to. - Input string value. - - - - Converts the number of ticks from the JSON date time format to the one used in .NET DateTime or DateTimeOffset structure. - - The ticks to from the JSON date time format. - The ticks to use in the .NET DateTime of DateTimeOffset structure. - - - - Write the string value with quotes. - - The text writer to write the output to. - String value to be written. - - - - Converts the number of ticks from the .NET DateTime or DateTimeOffset structure to the ticks use in the JSON date time format. - - The ticks from the .NET DateTime of DateTimeOffset structure. - The ticks to use in the JSON date time format. - - - - Converts a given date time to its universal date time equivalent. - - The date time to convert to UTC - universal date time equivalent of the value. - - - - Creates the special character to escaped string map. - - The map of special characters to the corresponding escaped strings. - - - - OData representation of a complex value. - - - - Gets or sets the properties and values of the complex value. - The properties and values of the complex value. - - - Gets or sets the type of the complex value. - The type of the complex value. - - - - Describes a collection of entities. - - - - - URI representing the next page link. - - - - - URI representing the delta link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the number of items in the feed. - The number of items in the feed. - - - Gets or sets the URI that identifies the entity set represented by the feed. - The URI that identifies the entity set represented by the feed. - - - Gets or sets the URI representing the next page link. - The URI representing the next page link. - - - - URI representing the delta link. - - - - - Collection of custom instance annotations. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single link. - - - - the metadata builder for this navigation link. - - - URI representing the Unified Resource Locator (Url) of the link as provided by the user or seen on the wire (never computed). - - - true if the navigation link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - The association link URL for this navigation link as provided by the user or seen on the wire (never computed). - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this navigation link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets a value that indicates whether the navigation link represents a collection or an entry. - true if the navigation link represents a collection; false if the navigation represents an entry. - This property is required to have a value for ATOM payloads and is optional for JSON payloads. - - - Gets or sets the name of the link. - The name of the link. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - - - The association link URL for this navigation link. - - - - Represents a media resource. - - - - the metadata builder for this OData entry. - - - The name of the named stream this value belongs to; null for the default media resource. - - - Edit link for media resource. - - - Edit link for media resource. - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - Read link for media resource. - - - Read link for media resource. - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - Sets the metadata builder for this stream reference value. - - The metadata builder used to compute values from model annotations. - The property name for the named stream; null for the default media resource. - - - - Gets the metadata builder for this stream reference value. - - The metadata builder used to compute links. - - - Gets or sets the edit link for media resource. - The edit link for media resource. - - - Gets or sets the read link for media resource. - The read link for media resource. - - - Gets or sets the content media type. - The content media type. - - - Gets or sets the media resource ETag. - The media resource ETag. - - - - Represents a single property of an entry. - - - - - The value of this property, accessed and set by both and . - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the property name. - The property name. - - - Gets or sets the property value. - The property value. - - - - Property value, represented as an ODataValue. - - - This value is the same as , except that primitive types are wrapped - in an instance of ODataPrimitiveValue, and null values are represented by an instance of ODataNullValue. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single entity. - - - - the metadata builder for this OData entry. - - - The entry ETag, as provided by the user or seen on the wire (never computed). - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - The Entry ID, as provided by the user or seen on the wire (never computed). - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - Link used to edit the entry, as provided by the user or seen on the wire (never computed). - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - A link that can be used to read the entry, as provided by the user or seen on the wire (never computed). - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - The default media resource of the media link entry, as provided by the user or seen on the wire (never computed). - - - The entry properties provided by the user or seen on the wire (never computed). - - - The entry actions provided by the user or seen on the wire (never computed). - - - The entry functions provided by the user or seen on the wire (never computed). - - - - Provides additional serialization information to the for this . - - - - Gets or sets the entry ETag. - The entry ETag. - - - Gets or sets the Entry identifier. - The Entry identifier. - - - Gets or sets the link used to edit the entry. - The link used to edit the entry. - - - Gets or sets a link that can be used to read the entry. - The link that can be used to read the entry. - - - Gets or sets the default media resource of the media link entry. - The default media resource of the media link entry. - - - Gets or sets the association links. - The association links. - - - Gets or sets the entity actions. - The entity actions. - - - Gets or sets the entity functions. - The entity functions. - - - Gets or sets the entry properties. - The entry properties. - - Non-property content goes to annotations. - - - - Gets or sets the type name of the entry. - The type name of the entry. - - - - Collection of custom instance annotations. - - - - - The metadata builder for this OData entry. - - - - - Returns the entry's Id property that has been set directly, and was not computed using the metadata builder. - - - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's EditLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ReadLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ETag property that has been set directly, and was not computed using the metadata builder. - - - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - - Returns the default media resource of the media link entry that has been set directly and was not computed using the metadata builder. - - - Returns the entity properties that has been set directly and was not computed using the metadata builder. - - - Returns the entity actions that has been set directly and was not computed using the metadata builder. - - - Returns the entity functions that has been set directly and was not computed using the metadata builder. - - - - Provides additional serialization information to the for this . - - - - - Class with utility methods for working with and implementing Task based APIs - - - - - Already completed task. - - - - - Returns an already completed task instance with the specified result. - - Type of the result. - The value of the result. - An already completed task with the specified result. - - - - Returns an already completed task instance with the specified error. - - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task instance with the specified error. - - Type of the result. - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task for the specified synchronous operation. - - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over CompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation. - - The type of the result returned by the operation. This MUST NOT be a Task type. - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over GetCompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The type of the task result. - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted and it failed with exception of type TExceptionType. - - The type of the result of the task. - The exception type to catch. - The task to "append" the operation to. - The operation to execute if the faulted with an exception of type TExceptionType. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails and the exception is not of the TExceptionType, - if the exception type matches, the task will return the value returned by the catchBlock. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - Suppresses default exception handling of a Task that would otherwise reraise the exception on the finalizer thread. - The Task to be monitored. - The original Task. - - - Gets the TaskScheduler instance that should be used to schedule tasks. - Factory to get the scheduler for. - The scheduler for the specified factory. - - - Asynchronously iterates through an enumerable of tasks. - The target factory. - The enumerable containing the tasks to be iterated through. - A Task that represents the complete asynchronous operation. - - - - The func used as the continuation (the func in the ContinueWith) for FollowOnSuccess implementations. - - The type of the result of the operation to follow up with. - The task which just finished. - The task completion source to apply the result to. - The func to execute as the follow up action in case of success of the . - - - - The implementation helper for FollowOnSuccess methods which don't allow result type of Task. - - The type of the result of the followup operation, this MUST NOT be a Task type. - The task to follow with operation. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFault methods. - - The type of the result of the task. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFaultAndCatchException methods. - - The type of the result of the task. - The type of the exception to catch. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - Function which gets a task result. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns already completed task instance. - - - - - Replacement for TypeCode enum. - - - - Indicates that no specific TypeCode exists for this type. - - - Boolean - - - Char - - - Signed 8-bit integer - - - Unsigned 8-bit integer - - - Signed 16-bit integer - - - Unsigned 16-bit integer - - - Signed 32-bit integer - - - Unsigned 32-bit integer - - - Signed 64-bit integer - - - Unsigned 64-bit integer - - - IEEE 32-bit float - - - IEEE 64-bit double - - - Decimal - - - DateTime - - - Unicode character string - - - Specifies that the case of the member name should not be considered when binding. - - - Specifies that only members declared at the level of the supplied type's hierarchy should be - considered. Inherited members are not considered. - - - Specifies that instance members are to be included in the search. - - - Specifies that static members are to be included in the search. - - - Specifies that public members are to be included in the search. - - - Specifies that non-public members are to be included in the search. - - - Specifies that public and protected static members up the hierarchy should - be returned. Private static members in inherited classes are not returned. - Static members include fields, methods, events, and properties. Nested types are not returned. - - - Specifies that types of the supplied arguments must exactly match the types - of the corresponding formal parameters. Reflection throws an exception if - the caller supplies a non-null Binder object, since that implies that the - caller is supplying BindToXXX implementations that will pick the appropriate method. - - - Returns the set of members whose parameter count matches the number of supplied - arguments. This binding flag is used for methods with parameters that have - default values and methods with variable arguments (varargs). This flag should - only be used with System.Type.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[]). - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Map of TypeCodes used with GetTypeCode method. Only initialized if that method is called. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Replacement for Type.IsAssignableFrom(Type) - - Type on which to call this helper method. - Type to test for assignability. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.IsSubclassOf(Type). - - Type on which to call this helper method. - Type to test if typeType is a subclass. - True if thisType is a subclass of otherType, otherwise false. - - TODO: Dev11:279438 is going to add this back to TypeInfo. This method will still be needed since it works on Type, but the - implementation should just be able to call the TypeInfo version directly instead of the full implementation here. - - - - - Replacement for GetMethod(string). - - Type on which to call this helper method. - Method to find on the specified type. - MethodInfo if one was found for the specified type, otherwise false. - - - - Replacement for Type.GetMethod(string, Type[]). - - Type on which to call this helper method. - Name of method to find on the specified type. - Array of arguments to the method. - MethodInfo if one was found for the specified type, otherwise false. - - - - Gets a MethodInfo from the specified type. Replaces uses of Type.GetMember. - - Type on which to call this helper method. - Name of the method to find. - True if the method is public, false otherwise. - True if the method is static, false otherwise. - Number of generics arguments the method has. - MethodInfo for the method that was found. - - - - Replacement for Type.GetProperty(string, Type). - - Type on which to call this helper method. - Name of public property to find on the specified type. - Return type for the property. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for Type.GetProperty(string). - - Type on which to call this helper method. - Name of public property to find on the specified type. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for PropertyInfo.GetGetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public get accessor of the specified PropertyInfo, or null if there is no get accessor or it is non-public. - - - - Replacement for PropertyInfo.GetSetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public set accessor of the specified PropertyInfo, or null if there is no set accessor or it is non-public. - - - - Replacement for MethodInfo.GetBaseDefinition(). - - MethodInfo on which to call this helper method. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetProperties(). - - Type on which to call this helper method. - Enumerable of all instance and static public properties on the type. - - - - Replacement for Type.GetFields(string). - - Type on which to call this helper method. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetFields(bindingAttr). - - Type on which to call this helper method. - True if method should search only public fields, false if it should search only non-public fields. - True if method should search only static fields, false if it should search only instance fields. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetCustomAttributes(Type, bool). - - Type on which to call this helper method. - Attribute type to find on the specified type. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetCustomAttributes(bool). - - Type on which to call this helper method. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetGenericArguments(). - - Type on which to call this helper method. - Array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition. - - - - Replacement for Type.GetInterfaces(). - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInstanceOfType(object). - - Type on which to call this helper method. - Object to test to see if it's an instance of the specified type. - See documentation for method being accessed in the body of the method. - - - - Replacement for Stream.Close(). - - Stream on which to call this helper method. - - Many Close methods have been eliminated on WinRT, the recommended pattern is to just use Dispose instead. - - - - - Replacement for Assembly.GetType(string, bool). - - Assembly on which to call this helper method. - Name of the type to get from the assembly. - True if an exception should be thrown if the type cannot be found, otherwise false. - Type instance if the type could be found in the assembly, otherwise null. - - TODO: Dev11:279441 will add a new method called Assembly.GetDefinedType(string) that returns a TypeInfo and will throw like Assembly.GetType(string, true) used to. - This helper method will still be needed but should be updated to use the new implementation once it exists. - - - - - Replacement for Assembly.GetTypes(). - - Assembly on which to call this helper method. - Enumerable of the types in the assembly. - - - - Replacement for GetField(string). - - Type on which to call this helper method. - Method to find on the specified type. - FieldInfo if one was found for the specified type, otherwise false. - - - - Checks if the specified PropertyInfo is an instance property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is an instance method. - - - - Checks if the specified PropertyInfo is a public property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is public. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Manages the type code mapping used to provide the GetTypeCode functionality. - - - - - Dictionary of types and their type codes. - - - - - Constructor for the map. - - - - - Method that does the lookup in the type map, given a type. - - Type for which to find the type code. - TypeCode for the specified type if it's in the map, otherwise TypeCode.Object. - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The format '{0}' does not support writing a payload of kind '{1}'." - - - - - A string like "The format '{0}' does not support writing custom instance annotations." - - - - - A string like "The format '{0}' does not support reading a payload of kind '{1}'." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but the metadata document URI or the metadata for the item to be written was not specified for the writer. The metadata document URI and the metadata for the item to be written must be provided to the writer when using relative URI values." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but a base URI was not specified for the writer. A base URI must be set when using relative URI values." - - - - - A string like "The property '{0}' is a stream property, but it is not a property of an ODataEntry instance. In OData, stream properties must be properties of ODataEntry instances." - - - - - A string like "An invalid state transition has been detected in an OData writer. Cannot transition from state '{0}' to state '{1}'." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write a navigation link." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. You must first call ODataWriter.WriteEnd to finish writing a null ODataEntry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write an entry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing further can be written once the writer has completed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing can be written once the writer entered the error state." - - - - - A string like "ODataWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Entry', 'Feed', 'NavigationLink', and 'NavigationLinkWithContent'." - - - - - A string like "Multiple properties with the name '{0}' were detected in an entry or a complex value. In OData, duplicate property names are not allowed." - - - - - A string like "Multiple navigation links with the same name '{0}' for a singleton navigation property were detected on an entry. In OData, a singleton navigation property can have only one navigation link." - - - - - A string like "Multiple annotations with the name '{0}' were detected. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the property with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the instance annotation with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "An annotation with name '{0}' for property '{1}' was detected after the property, or after an annotation for another property. In OData, annotations for a property must be in a single group and must appear before the property they annotate." - - - - - A string like "Cannot convert a value of type '{0}' to the string representation of an Atom primitive value." - - - - - A string like "The value of type '{0}' is not supported and cannot be converted to a JSON representation." - - - - - A string like "The version '{0}' specified by the payload is higher than the maximum protocol version '{1}' specified by the ODataMessageReaderSettings.MaxProtocolVersion property." - - - - - A string like "The property '{0}' is not supported when ODataVersion is greater than '{1}'." - - - - - A string like "Parameters in the payload are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Association links are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The inline count feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The next link feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The delta link feature is only supported in version 3.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "A collection property '{0}' was detected; Collection properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {1}." - - - - - A string like "Collection types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Stream properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The entity property mapping specified on type '{0}' is only supported in version {1} of the OData protocol and higher versions. It is not supported in version {2}." - - - - - A string like "Geography and Geometry types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The '{0}' value for the href of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When an href is specified in metadata, the href values must match." - - - - - A string like "The '{0}' value for the title of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a title is specified in metadata, the titles must match." - - - - - A string like "The '{0}' value for the relation of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a relation is specified in metadata, the relations must match." - - - - - A string like "The '{0}' value for the media type of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. If a media type is specified in metadata, the media types must match." - - - - - A string like "An annotation of type string was expected for the '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' annotation, but an annotation of type '{1}' was found." - - - - - A string like "The '{0}' value for the term of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a term is specified in Atom metadata, the terms must match." - - - - - A string like "The '{0}' value for the scheme of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a scheme is specified in Atom metadata, the schemes must match." - - - - - A string like "The text kind '{1}' specified by the atom metadata property '{0}' conflicts with the text kind '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify text kinds, those text kinds must be equal." - - - - - A string like "The value '{1}' specified by the atom metadata property '{0}' conflicts with the value '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify a value, these values must be equal." - - - - - A string like "The content type '{0}' is not supported when writing raw values." - - - - - A string like "Cannot set message headers for the invalid payload kind '{0}'." - - - - - A string like "The payload kind '{0}' used in the last call to ODataUtils.SetHeadersForPayload is incompatible with the payload being written, which is of kind '{1}'." - - - - - A string like "The stream property '{0}' cannot be written to the payload as a top level property." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with an owning type '{0}' of kind '{1}'. The owning type of a property can only be of kind Complex or Entity." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with a producing function import with return type '{0}'. The producing function import for property payloads must return type which is either a primitive, complex, primitive collection of complex collection type." - - - - - A string like "The navigation property named '{0}' given to ODataMessageWriter.WriteEntityReferenceLinks represents a singleton property. When writing multiple entity reference links, the navigation property must be a collection." - - - - - A string like "A JsonPaddingFunctionName was specified, but the content-type '{0}' is not supported with Json Padding." - - - - - A string like "The type '{0}' specified as the collection's item type is not primitive or complex. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "Cannot create an ODataCollectionWriter for ODataFormat.{0}. Only ODataFormat.PlainXml and ODataFormat.Json are supported." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write the collection or to write nothing at all." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or to write the end of the collection." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or the end of the collection." - - - - - A string like "ODataCollectionWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Start', 'Collection', and 'Item'." - - - - - A string like "A collection with name '{0}' is being written with producing function import name '{1}'. If the producing function import is specified the collection name must be either null or match the name of the function import." - - - - - A string like "The producing function import '{0}' specified for the collection writer returns type '{1}' which is not a collection of primitive or complex values. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "An invalid HTTP method '{0}' was detected for a query operation. Query operations only support the HTTP 'GET' method." - - - - - A string like "An invalid HTTP method '{0}' was detected for a request in a change set. Requests in change sets only support the HTTP methods 'POST', 'PUT', 'DELETE', 'MERGE', and 'PATCH'." - - - - - A string like "The header with name '{0}' was not present in the header collection of the batch operation." - - - - - A string like "Multiple headers with names that match '{0}', when using a case insensitive comparison, have been added. When case-insensitive header names are used, at most one header can be added for each name." - - - - - A string like "The parameter '{0}' has already been written. Duplicate parameter names are not allowed in the parameter payload." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call WriteValue on a parameter that is not of Edm type kinds 'Primitive' or 'Complex'." - - - - - A string like "The value for parameter '{0}' is of type '{1}'. WriteValue can only write null, ODataComplexValue and primitive types that are not Stream type." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call CreateCollectionWriter on a parameter that is not of Edm type kind 'Collection'." - - - - - A string like "The name '{0}' is not a recognized parameter name for function import '{1}'." - - - - - A string like "The parameters {0} of the function import '{1}' could not be found when writing the parameter payload. All parameters present in the function import must be written to the parameter payload." - - - - - A string like "The current batch message contains too many parts. Only batch messages with a maximum number of '{0}' query operations and change sets are allowed." - - - - - A string like "The current change set contains too many operations. Only change sets with a maximum number of '{0}' operations are allowed." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader. When the relative URI is a reference to a content ID, the content ID does not exist in the current change set." - - - - - A string like "The method CreateOperationRequestMessage was called in state '{0}', which is not allowed. CreateOperationRequestMessage can only be called in state 'Operation'." - - - - - A string like "The method CreateOperationResponseMessage was called in state '{0}', which is not allowed. CreateOperationResponseMessage can only be called in state 'Operation'." - - - - - A string like "ODataBatchReader.ReadAsync or ODataBatchReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current batch message contains too many parts. A maximum number of '{0}' query operations and change sets are allowed in a batch message." - - - - - A string like "The current change set contains too many operations. A maximum number of '{0}' operations are allowed in a change set." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The message header '{0}' is invalid. The header value must be of the format '<header name>: <header value>'." - - - - - A string like "The request line '{0}' is invalid. The request line at the start of each operation must be of the format 'HttpMethod RequestUrl HttpVersion'." - - - - - A string like "The response line '{0}' is invalid. The response line at the start of each operation must be of the format 'HttpVersion StatusCode StatusCodeString'." - - - - - A string like "The HTTP version '{0}' used in a batch operation request or response is not valid. The value must be '{1}'." - - - - - A string like " The HTTP status code '{0}' is invalid. An HTTP status code must be an integer value." - - - - - A string like "A missing or invalid '{0}' header was found. The '{0}' header must be specified for each batch operation, and its value must be '{1}'." - - - - - A string like "The '{0}' header value '{1}' is invalid. When this is the start of the change set, the value must be '{2}'; otherwise it must be '{3}'." - - - - - A string like "The content length header '{0}' is not valid. The content length header must be a valid Int32 literal and must be greater than or equal to 0." - - - - - A string like "The header '{0}' was specified multiple times. Each header must appear only once in a batch part." - - - - - A string like "Invalid multi-byte encoding '{0}' detected. Multi-byte encodings other than UTF-8 are only supported for operation payloads. They are not supported in batch or change set parts." - - - - - A string like "Too many white spaces after a boundary delimiter and before the terminating line feed. For security reasons, the total number of characters for a boundary including white spaces must not exceed {0}." - - - - - A string like "The MIME type '{0}' is invalid or unspecified." - - - - - A string like "The MIME type '{0}' requires a '/' character between type and subtype, such as 'text/plain'." - - - - - A string like "The MIME type '{0}' requires a subtype definition." - - - - - A string like "The MIME type is missing a parameter value for a parameter with the name '{0}'." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the escape character '{3}' is not inside a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because it terminates with the escape character '{3}'. In a quoted-string, the escape characters must always be followed by a character." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the closing quote character was not found for the quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the character '{3}' is not allowed in a quoted-string. For more information, see RFC 2616, Sections 3.6 and 2.2." - - - - - A string like "The MIME type '{0}' requires a semi-colon character (';') before a parameter definition." - - - - - A string like "An invalid quality value was detected in the header string '{0}'; quality values must start with '0' or '1' but not with '{1}'." - - - - - A string like "An invalid quality value '{0}' was detected in the header string '{1}'; quality values must be in the range [0, 1]." - - - - - A string like "An error occurred when converting the character '{0}' to an integer." - - - - - A string like "The separator ',' was missing between charset values in the header '{0}'." - - - - - A string like "A separator character was missing between charset values in the header '{0}'." - - - - - A string like "An invalid (empty) charset name found in the header '{0}'." - - - - - A string like "An unexpected end of the q-Value was detected in the header '{0}'." - - - - - A string like "The expected literal '{0}' was not found at position '{1}' in the string '{2}'." - - - - - A string like "The string '{0}' cannot be converted into a supported HTTP method. The only supported HTTP methods are GET, DELETE, PUT, POST, PATCH and MERGE." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a recognized separator. The supported separators are ',', ';', and '='." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token is expected but a quoted-string is found instead." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token or a quoted-string is expected at this position but were not found." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a valid separator after a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the header value should not end with the separator '{3}'." - - - - - A string like "The character set '{0}' is not supported." - - - - - A string like "A supported MIME type could not be found that matches the acceptable MIME types for the request. The supported type(s) '{0}' do not match any of the acceptable MIME types '{1}'." - - - - - A string like "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) '{0}' matches the content type '{1}'." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "The content type '{0}' specifies a batch payload; however, the payload either does not include a batch boundary or includes more than one boundary. In OData, batch payload content types must specify exactly one batch boundary in the '{1}' parameter of the content type." - - - - - A string like "The '{0}' value provided for the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The value '{0}' of the targetNamespaceUri parameter provided to the EntityPropertyMappingAttribute does not have a valid URI format." - - - - - A string like "The PropertyName property value '{1}' set in the EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type." - - - - - A string like "The property '{0}' provided in the middle of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a complex type." - - - - - A string like "More than one EntityPropertyMappingAttribute on type '{0}' have a 'PropertyName' value '{1}'. In OData, an entity property cannot be mapped more than once." - - - - - A string like "The property '{0}' on type '{1}' is not present." - - - - - A string like "The property '{0}' defined on type '{1}' is not present in the instance of the type." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'Edm.Stream'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' does not have a primitive type. Only open primitive properties can be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid because it contains an empty segment." - - - - - A string like "The TargetName property paths '{0}' and '{1}' set in two EntityPropertyMappingAttribute instances are invalid because they would result in mixed content. Mixed content produced by entity property mappings is not supported." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the 'TargetName' property of EntityPropertyMappingAttribute." - - - - - A string like "More than one EntityPropertyMappingAttribute on the type '{0}' have the same 'TargetName' value '{1}'. The conflicting properties are '{2}' and '{3}'. In OData, target names of entity property mappings must be unique on a given type." - - - - - A string like "The property value corresponding to '{0}' property in SyndicationItemProperty could not be converted to the type DateTimeOffset." - - - - - A string like "The collection property '{0}' has no items but is mapped to the author element. Only non-empty collection properties can be mapped to the author element in an entry." - - - - - A string like "The property '{0}' on type '{1}' that is mapped to '{2}' has a 'null' value. Properties that are mapped to attributes cannot be null." - - - - - A string like "'{0}' is not a valid value for 'atom:link/@length' attribute. " - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'link/@rel' is not valid. Properties that are mapped to 'link/@rel' cannot have values that are Atom-defined simple identifiers, such as alternate, related, self, enclosure, via, describedby, service, edit, or edit-media; cannot be an Atom-defined simple identifier following the IANA namespace, such as 'http://www.iana.org/assignments/relation/edit'; and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'category/@scheme' is not valid. Properties that are mapped to 'category/@scheme' must have values that are URIs and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "Expected literal type token but found token '{0}'." - - - - - A string like "The relative URI '{0}' cannot be escaped because it starts with '{1}' and a base URI is not available. Relative URIs without a base URI cannot start with '/', '\\' or '..'." - - - - - A string like "The type '{0}' is not supported when converting to a URI literal." - - - - - A string like "The format '{0}' is not supported when converting to a URI literal. The supported formats are ODataFormat.JsonLight and ODataFormat.VerboseJson." - - - - - A string like "Type verification failed. Expected type '{0}' but received the value '{1}'." - - - - - A string like "Type verification failed. Expected type '{0}' but received non-matching null value with associated type '{1}'." - - - - - A string like "Type verification failed. Expected non-nullable type '{0}' but received a null value." - - - - - A string like "The value of type '{0}' could not be converted to the string representation of a raw primitive value." - - - - - A string like "A default MIME type could not be found for the requested payload in format '{0}'." - - - - - A string like "The value '{0}' of the DataServiceVersion HTTP header is invalid. Only '1.0', '2.0' and '3.0' are supported as values for the DataServiceVersion header." - - - - - A string like "The value returned by the '{0}' property cannot be modified until the end of the owning entry is reported by the reader." - - - - - A string like "A null value was found with the expected type '{0}[Nullable=False]'. The expected type '{0}[Nullable=False]' does not allow null values." - - - - - A string like "A null value was found for the property named '{0}', which has the expected type '{1}[Nullable=False]'. The expected type '{1}[Nullable=False]' does not allow null values." - - - - - A string like "Complex type '{1}' is a subtype of a base type '{0}'. Derived complex types are not supported." - - - - - A string like "Cannot convert a primitive value to the expected type '{0}'. See the inner exception for more details." - - - - - A string like "The base URI '{0}' specified in ODataMessageReaderSettings.BaseUri is invalid; it must be either null or an absolute URI." - - - - - A string like "An undeclared property '{0}' was found on type '{1}', which is marked as open; however, either the ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or the ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting is used. The ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting cannot be used with open types." - - - - - A string like "The metadata URI '{0}' references the entity set with name '{1}'; however, the name of the expected entity set is '{2}' and does not match the entity set referenced in the metadata URI." - - - - - A string like "The metadata URI '{0}' references the entity type with name '{1}'; however, the name of the expected entity type is '{2}' which is not compatible with the entity type with name '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the name of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the declaring type of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected producing function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' which returns a collection with item type '{2}'; however, the item type of the collection returned by the expected producing function import is '{3}'." - - - - - A string like "The metadata URI '{0}' references a property with name '{1}' on type '{2}'; however, a producing function import with name '{3}' was specified." - - - - - A string like "The metadata URI '{0}' references a function import with name '{1}'; however, an expected structural property with name '{2}' on type '{3}' was specified." - - - - - A string like "The collection name '{0}' was read from the payload; however, the name of the expected producing function import is '{1}'." - - - - - A string like "The property or function import name '{0}' was read from the payload; however, the name of the expected property or function import is '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the expected property with the same name is declared on type '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' and type '{2}' on declaring type '{3}'; however, the expected property type is '{4}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' and return type '{2}'; however, the expected return type is '{3}'." - - - - - A string like "The metadata URI '{0}' references the type '{1}'; however the expected type is '{2}'." - - - - - A string like "The metadata URI '{0}' refers to the item type '{1}' which is not assignable to the expected item type '{2}'." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The expected type can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The entity set can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The function import can only be specified if metadata is made available to the reader." - - - - - A string like "The producing function import '{0}' for a collection reader has the return type '{1}'. Only function imports returning collections of primitive or complex values can be specified as the producing function import for a collection reader." - - - - - A string like "The expected type for a collection reader is of kind '{0}'. Only types of Primitive or ComplexType kind can be specified as the expected type for a collection reader." - - - - - A string like "The expected type for a value is of kind '{0}'. Only types of Primitive kind can be specified as the expected type for reading a value." - - - - - A string like "The wildcard '*' was detected in the value '{0}' of the content type header. The value of the content type header cannot contain wildcards." - - - - - A string like "The navigation property '{0}' with singleton cardinality on type '{1}' was specified for reading a collection of entity reference links. A navigation property with collection cardinality has to be provided." - - - - - A string like "The content type '{0}' specifies a batch payload but does not include a batch boundary. In OData, batch payload content types must specify a batch boundary in the '{1}' parameter of the content type." - - - - - A string like "ODataReader.ReadAsync or ODataReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "Calling Read or ReadAsync on an ODataReader instance is not allowed in state '{0}'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed. A 'StartObject' or 'EndArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a feed. A 'StartObject' or 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was expected." - - - - - A string like "Cannot convert a value of type 'Edm.Int32' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Double' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Boolean' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTime' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTimeOffset' to the expected target type '{0}'." - - - - - A string like "Multiple '{0}' properties were found in the value of the '__metadata' property. In OData, the value of the '__metadata' property must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link wrapper object. In OData, an entity reference link wrapper must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an error or inner error object. In OData, an error or inner error must have at most one '{0}' property." - - - - - A string like "The '{0}' property in a feed wrapper has a null value. In OData, the '{0}' property must have a non-null value." - - - - - A string like "The '{0}' property in the value of the '__mediaresource' property has a null value. In OData, the '{0}' property must have a string value." - - - - - A string like "The '{0}' property for a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in the value of the '__metadata' property has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. If the payload contains a relative URI a base URI must be specified on the reader settings." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In OData, entity reference links must be objects." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a 'StartArray' node was expected." - - - - - A string like "Multiple '{0}' properties were found for a stream reference value. In OData, a stream reference value can only contain one '{0}' property." - - - - - A string like "Found a node of type '{1}' when starting to read the property value, however a node of type 'StartObject' was expected. The '{0}' property of an entry metadata must have an object value. " - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartObject' or 'StartArray' node was expected." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' is not an annotation. In OData, JSON Light annotation groups can only contain instance and property annotations." - - - - - A string like "Multiple annotation groups with name '{0}' were found in the payload. In OData, annotation group names must be unique for the entire payload and the same annotation group instance has to be used for its declaration and when referencing it." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}'. The 'Target' property value of these operations must be set to a non-null value." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}' and the same 'Target' property value of '{1}'. When multiple operations have the same 'Metadata' property value, their 'Target' property values must be unique." - - - - - A string like "A property with name '{0}' was found in the error object when reading a top-level error. In OData, a top-level error object must have exactly one property with name 'error'." - - - - - A string like "A property with name '{0}' was found in the message value of a top-level error. In OData, the message value of a top-level error value can only have properties with name 'lang' or 'value'." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected." - - - - - A string like "Multiple '{0}' properties were found in a collection. In OData, a collection can only have one '{0}' property." - - - - - A string like "The 'type' property value '{0}' is not a valid type name. The value of the 'type' property must be a non-empty string." - - - - - A string like "The 'type' property value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "Found a node of type '{0}' when starting to read the property value; however, a node of type 'StartObject' was expected. The '__metadata' property must have an object value." - - - - - A string like "ODataCollectionReader.ReadAsync or ODataCollectionReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current state of the collection reader is '{0}'; however, the expected item type of a collection reader can only be set in state '{1}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state. '{1}' must be called in this state, and the created reader must be in the 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state and '{1}' was called but the created reader is not in the 'Completed' state. The created reader must be in 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "You cannot call the method '{0}' in state '{1}'." - - - - - A string like "The '{0}' method has already been called for the parameter '{1}'. Only one create reader method call is allowed for each entry, feed, or collection parameter." - - - - - A string like "The parameter '{0}' in the request payload is not a valid parameter for the function import '{1}'." - - - - - A string like "Multiple parameters with the name '{0}' were found in the request payload." - - - - - A string like "One or more parameters of the function import '{0}' are missing from the request payload. The missing parameters are: {1}." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. The supported type kinds are Primitive, Complex, Primitive Collection and Complex Collection." - - - - - A string like "When trying to read a null collection parameter value in verbose JSON, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a 'null' value was expected." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a collection with a collection wrapper object. A 'StartObject' node was expected." - - - - - A string like "When trying to read the start of a collection without a collection wrapper object, a node of type '{0}' was read from the JSON reader; however, a 'StartArray' node was expected." - - - - - A string like "The 'Metadata' property on an {0} must be set to a non-null value." - - - - - A string like "The 'Target' property on an {0} must be set to a non-null value." - - - - - A string like "The '{0}' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "The property '{0}' does not exist on type '{1}'. Make sure to only use property names that are defined by the type." - - - - - A string like "A primitive value was specified; however, a value of the non-primitive type '{0}' was expected." - - - - - A string like "Unsupported primitive type. A primitive type could not be determined for an instance of type '{0}'." - - - - - A string like "An incompatible primitive type '{0}[Nullable={1}]' was found for an item that was expected to be of type '{2}[Nullable={3}]'." - - - - - A string like "Type name '{0}' is an invalid collection type name; a collection type name must be in the format 'Collection(<itemTypeName>)'." - - - - - A string like "A type named '{0}' could not be resolved by the model. When a model is available, each type name must resolve to a valid type." - - - - - A string like "Incompatible type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with type '{0}' was found, which is of kind '{1}'. Value can only be of kind 'Primitive', 'Complex' or 'Collection'." - - - - - A string like "The property '{0}' cannot be a stream property because it is not of kind EdmPrimitiveTypeKind.Stream." - - - - - A string like "The ETag value '{0}' is not valid. An ETag value must be a quoted string or 'W/' followed by a quoted string. Refer to HTTP RFC 2616 for details on valid ETag formats." - - - - - A string like "A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as '{0}', but the type specified in the metadata is '{1}'." - - - - - A string like "An open collection property '{0}' was found. In OData, open collection properties are not supported." - - - - - A string like "An open stream property '{0}' was found. In OData, open stream properties are not supported." - - - - - A string like "An invalid collection type kind '{0}' was found. In OData, collection types must be of kind 'Collection'." - - - - - A string like "An entry with type '{0}' was found with a media resource, but this entity type is not a media link entry (MLE). When the type is not an MLE entity, the entry cannot have a media resource." - - - - - A string like "An entry with type '{0}' was found without a media resource, but this entity type is a media link entry (MLE). When the type is an MLE entity, the entry must have a media resource." - - - - - A string like "An entry with type '{0}' was found, but it is not assignable to the expected type '{1}'. The type specified in the entry must be equal to either the expected type or a derived type." - - - - - A string like "A navigation property with name '{0}' was found on type '{1}', however this property was not declared. Open navigation properties are not supported; all navigation properties must be declared in metadata." - - - - - A string like "A property with name '{0}' on type '{1}' has kind '{2}', but it is expected to be of kind 'Navigation'." - - - - - A string like "The boundary delimiter '{0}' is invalid. A boundary delimiter must be non-null, be non-empty, and have a maximum of {1} characters." - - - - - A string like "The maximum recursion depth limit was reached. The depth of nested values in a single property cannot exceed {0}." - - - - - A string like "The depth limit for entries in nested expanded navigation links was reached. The number of nested expanded entries cannot exceed {0}." - - - - - A string like "A null value was found in a collection, but the expected collection item type '{0}' does not allow null values." - - - - - A string like "The property name '{0}' is invalid; property names must not contain any of the reserved characters {1}." - - - - - A string like "The maximum number of entity property mappings allowed on an entity type and all its base types has been exceeded. A total of {0} entity property mappings were found, but a maximum of {1} entity property mappings are allowed." - - - - - A string like "Encountered a property '{0}' that was expected to be a reference to a location in the $metadata document but does not contain a '#' character or is otherwise not a valid metadata reference property. A metadata reference property must contain a '#' and be a valid absolute URI or begin with a '#' and be a valid URI fragment." - - - - - A string like "A top level property with name '{0}' and a producing function import with name '{1}' is being written. If the producing function import is specified the property name must be either null or must match the function import name." - - - - - A string like "A duplicate value '{0}' was detected as the name of a resource collection. Resource collections must have unique names in a given workspace." - - - - - A string like "The base URI '{0}' specified in ODataMessageWriterSettings.BaseUri is invalid; it must either be null or an absolute URI." - - - - - A string like "The type '{0}' of an entry in an expanded link is not compatible with the element type '{1}' of the expanded link. Entries in an expanded link must have entity types that are assignable to the element type of the expanded link." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the actual payload is an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the actual payload is a feed." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the metadata declares it as an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the metadata declares it as feed." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is a feed, but the metadata declares it as an entry." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is an entry, but the metadata declares it as feed." - - - - - A string like "The collection property '{0}' has a null value, which is not allowed. In OData, collection properties cannot have null values." - - - - - A string like "The property '{0}[Nullable=False]' of type '{1}' has a null value, which is not allowed." - - - - - A string like "The stream property '{0}' has a null value, which is not allowed. In OData, stream properties cannot have null values." - - - - - A string like "An action or a function with metadata '{0}' was detected when writing a request; actions and functions are only supported in responses." - - - - - A string like "An association link with name '{0}' could not be written to the request payload. Association links are only supported in responses." - - - - - A string like "An stream property with name '{0}' could not be written to the request payload. Stream properties are only supported in responses." - - - - - A string like "The metadata document URI '{0}' specified in ODataMessageWriterSettings.MetadataDocumentUri is invalid; it must be either null or an absolute URI." - - - - - A string like "The ODataNavigationLink.Url property on an navigation link '{0}' is null. The ODataNavigationLink.Url property must be set to a non-null value that represents the entity or entities the navigation link references." - - - - - A string like "The ODataNavigationLink.IsCollection property on a navigation link '{0}' is null. The ODataNavigationLink.IsCollection property must be specified when writing a link into a request." - - - - - A string like "An XML node of type '{0}' was found in a string value. An element with a string value can only contain Text, CDATA, SignificantWhitespace, Whitespace or Comment nodes." - - - - - A string like "An XML node of type '{0}' was found at the root level. The root level of an OData payload must contain a single XML element and no text nodes." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and value 'true', it must be empty." - - - - - A string like "The metadata document could not be read from the message content.\r\n{0}" - - - - - A string like "The metadata document could not be written as specified.\r\n{0}" - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The required '{0}' attribute is missing on type '{1}'." - - - - - A string like "The required '{0}' attribute is missing on property '{1}' on type '{2}'." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to an AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to an AtomPub element." - - - - - A string like "The value for the annotation with namespace '{0}' and local name '{1}' is of type '{2}'. Only string values are supported." - - - - - A string like "A navigation link '{0}' was found with type 'feed', but its matching navigation property is of kind EntityReference. A navigation link with type 'feed' must match a navigation property of kind EntitySetReference." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. When the payload contains a relative URI, there must be an xml:base in the payload or else a base URI must specified in the reader settings." - - - - - A string like "A child element of the collection was named '{0}'. Each child element representing the value of the collection must be named 'element', and each must belong to the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level collection must have the root element in the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level property payload must have the root element in the '{1}' namespace." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and a value of 'true', it must be empty." - - - - - A string like "The element with name '{0}' is not a valid collection item. The name of the collection item element must be 'element' and it must belong to the '{1}' namespace." - - - - - A string like "The property '{0}' on type '{1}' was found in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element, and it is declared as a navigation property. Navigation properties in ATOM must be represented as {{http://www.w3.org/2005/Atom}}:link elements." - - - - - A string like "Writing null value for the instance annotation '{0}' is not allowed. The instance annotation '{0}' has the expected type '{1}[Nullable=False]'." - - - - - A string like "A node of type '{0}' was found where a node of type 'Element' was expected. An entry must be represented as an XML element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, an entry was expected. An entry must be represented as an {{http://www.w3.org/2005/Atom}}:entry element." - - - - - A string like "The 'type' attribute on element {{http://www.w3.org/2005/Atom}}:content is either missing or has an invalid value '{0}'. Only 'application/xml' and 'application/atom+xml' are supported as the value of the 'type' attribute on the {{http://www.w3.org/2005/Atom}}:content element." - - - - - A string like "An XML node '{0}' was found in the {{http://www.w3.org/2005/Atom}}:content element. The only valid child nodes of the {{http://www.w3.org/2005/Atom}}:content element are insignificant nodes and the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, a feed was expected. A feed must be represented as a {{http://www.w3.org/2005/Atom}}:feed element." - - - - - A string like "An element with name '{0}' in namespace 'http://www.w3.org/2005/Atom' was found inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element. Only 'entry' and 'feed' elements from the 'http://www.w3.org/2005/Atom' namespace, or elements from other namespaces are allowed inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Another expanded '{0}' was found in {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline, but it already contains an expanded feed or entry. Only one expanded feed or expanded entry is allowed in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Multiple edit links were found for the stream property '{0}'. Only one edit link is allowed for a given stream property." - - - - - A string like "Multiple read links were found for the stream property '{0}'. Only one read link is allowed for a given stream property." - - - - - A string like "Multiple content type values were found for the stream property '{0}'. When a stream property is represented as two {{http://www.w3.org/2005/Atom}}:link elements that both have the 'type' attribute, then both values must be the same." - - - - - A string like "Found a stream property '{0}', but there is already another property with the same name on the entity. The stream property name cannot conflict with the name of another property." - - - - - A string like "The 'metadata' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "The 'target' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on an entry. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on a feed. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Duplicate '{{{0}}}:{1}' elements were found. In OData, at most one '{{{0}}}:{1}' element is allowed." - - - - - A string like "The value of the 'type' attribute on the association link for the navigation property '{0}' is invalid. The value of the 'type' attribute on an association link must be 'application/xml'. " - - - - - A string like "Encountered an 'annotation' element with a 'target' attribute value of '{0}' and a term name of '{1}'. When an 'annotation' element occurs as a direct child of an 'entry' or 'feed' element, it must have either no 'target' attribute or a 'target' attribute with a value of '.'." - - - - - A string like "A root element with name '{0}' was found in namespace '{1}'. The root element of a service document must be named 'service' and it must belong to the 'http://www.w3.org/2007/app' namespace." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. With the exception of extension elements, a service document can contain only a single {{http://www.w3.org/2007/app}}:workspace element." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. A workspace element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:collection element." - - - - - A string like "An element with name '{0}' was fond in namespace 'http://www.w3.org/2007/app'. A {{http://www.w3.org/2007/app}}:collection element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:accept or {{http://www.w3.org/2007/app}}:categories element." - - - - - A string like "The type attribute with value '{0}' was fond on an Atom text construct element with local name '{1}'. The type attribute must be missing or else it must have a value 'text', 'html' or 'xhtml'." - - - - - A string like "Multiple '{0}' elements were found inside a '{1}' element. A '{1}' element cannot contain more than one '{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid root element for an error. The root element of an error must be 'error' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' namespace." - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in a top-level error value. In OData, the value of a top-level error value can have no more than one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element" - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in an inner error value. In OData, the value of an inner error value can have at most one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for an entity reference link. The start element of an entity reference link must be 'uri' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for entity reference links. The start element of entity reference links must be 'links' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "Multiple '{{{0}}}:{1}' elements were found in an entity reference links element. In OData, the value of an entity reference links element must have at most one '{{{0}}}:{1}' element." - - - - - A string like "The entity property mapping with source path '{0}' uses an open complex or collection property. Open complex or collection properties cannot be read through entity property mapping." - - - - - A string like "Multiple values were found for the non-collection property '{0}' on type '{1}' that is mapped to '{2}'." - - - - - A string like "A 'fixed' attribute with the value '{0}' was found on a 'categories' element. When the 'fixed' attribute is not missing, it must have a value of either 'yes' or 'no'." - - - - - A string like "Multiple 'title' elements were found inside a '{0}' element. A '{0}' element can only contain a single {{http://www.w3.org/2005/Atom}}:title element." - - - - - A string like "The specified resource collection name '{0}' does not match the specified title '{1}' as set in AtomResourceCollectionMetadata.Title." - - - - - A string like "An invalid item type kind '{0}' was found. Items in a collection can only be of type kind 'Primitive' or 'Complex', but not of type kind '{0}'." - - - - - A string like "An item of type kind '{0}' was found in a collection that otherwise has items of type kind '{1}'. In OData, all items in a collection must have the same type kind." - - - - - A string like "An item with type name '{0}' was found in a collection of items with type name '{1}'. In OData, all items in a collection must have the same type name." - - - - - A string like "An entry of type '{0}' was found in a feed that otherwise has entries of type '{1}'. In OData, all entries in a feed must have a common base type." - - - - - A string like "The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of {0} bytes has been read from the stream; however a maximum of {1} bytes is allowed." - - - - - A string like "The custom type resolver set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior returned 'null' when resolving the type '{0}'. When a custom type resolver is specified, it cannot return null." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "The property '{0}' is not declared on the non-open type '{1}'." - - - - - A string like "Multiple annotations for term '{0}' were found on element '{1}'. Only a single annotation for the term '{0}' can be specified." - - - - - A string like "Multiple annotations for term '{0}' with qualifier '{1}' were found on element '{2}'. Only a single annotation for the term '{0}' with the qualifier '{1}' can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. Only a single annotation for the term '{0}' without any qualifier can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. A single annotation for the term '{0}' with the qualifier '{3}' is expected." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The entity type '{0}' is not compatible with the base type '{1}' of the provided entity set '{2}'. When an entity type is specified for an OData feed or entry reader, it has to be the same or a subtype of the base type of the specified entity set." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON Light, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "The required property '{0}' was not found at the expected position in the payload. Instead, found a property named '{1}'." - - - - - A string like "The annotation '{0}' was targeting the instance annotation '{1}'. Only the '{2}' annotation is allowed to target an instance annotation." - - - - - A string like "The annotation '{0}' is found targeting the instance annotation '{1}'. However the value for the instance annotation '{1}' is not found immediately after. In JSON Light, an annotation targeting an instance annotation must be immediately followed by the value of the targeted instance annotation." - - - - - A string like "The base type '{0}' of the entity set specified for writing a JSON Light payload is not assignable from the specified entity type '{1}'. When an entity type is specified it has to be the same or derived from the base type of the entity set." - - - - - A string like "The annotation '{0}' was found. This annotation is either not recognized or not expected at the current position." - - - - - A string like "The property '{0}' has a property annotation '{1}'. This annotation is either not recognized or not expected at the current position." - - - - - A string like "An OData property annotation '{0}' was found. This property annotation is either not recognized or not expected at the current position." - - - - - A string like "A property with name '{0}' was found. This property is either not recognized or not expected at the current position." - - - - - A string like "A top-level property with name '{0}' was found in the payload; however, property and collection payloads must always have a top-level property with name '{1}'." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not a valid type name. The value of the 'odata.type' instance annotation must be a non-empty string." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "One or more property annotations for property '{0}' were found in the top-level property or collection payload without the property to annotate. Top-level property and collection payloads must contain a single property, with optional annotations for this property." - - - - - A string like "One or more property annotations for property '{0}' were found in the complex value without the property to annotate. Complex values must only contain property annotations for existing properties." - - - - - A string like "A complex property with an '{0}' property annotation was found. Complex properties must not have the '{0}' property annotation, instead the '{0}' should be specified as an instance annotation in the complex value." - - - - - A string like "The property '{0}' has a property annotation '{1}'. Primitive, complex, collection or open properties can only have an 'odata.type' property annotation." - - - - - A string like "The property with name '{0}' was found after the data property with name '{1}'. If a type is specified for a data property, it must appear before the data property." - - - - - A string like "An '{0}' annotation was read inside a JSON object representing a primitive value; type annotations for primitive values have to be property annotations of the owning property." - - - - - A string like "A top-level property with an invalid primitive null value was found. In OData, top-level properties with null value have to be serialized as JSON object with an '{0}' annotation that has the value '{1}'." - - - - - A string like "Encountered a metadata reference property '{0}' in a scope other than an entry. In OData, a property name with a '#' character indicates a reference into the metadata and is only supported for describing operations bound to an entry." - - - - - A string like "The property with name '{0}' was found in a null payload. In OData, no properties or OData annotations can appear in a null payload." - - - - - A string like "The metadata URI '{0}' references the null value; however the payload is not a null value payload." - - - - - A string like "The '{0}' instance or property annotation has a null value. In OData, the '{0}' instance or property annotation must have a non-null string value." - - - - - A string like "An '{0}' annotation was found with an invalid value. In OData, the only valid value for the '{0}' annotation is '{1}'." - - - - - A string like "The InstanceAnnotations collection has more than one instance annotations with the name '{0}'. All instance annotation names must be unique within the collection." - - - - - A string like "The metadata URI '{0}' was found in a service document payload. Metadata URIs for service documents must not have a fragment." - - - - - A string like "The metadata URI '{0}' is not valid for the expected payload kind '{1}'." - - - - - A string like "The metadata URI '{0}' references the entity set or type '{1}'. However, no entity set or type with name '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' references the property '{1}' on type '{2}'. However, type '{2}' does not declare a property with name '{1}' and is not an open type. " - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI containing an entity set and type cast must either have no suffix or end in '{2}'." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, no entity type '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, the entity type '{1}' is not a subtype of the entity type '{2}' which is the base type of the entity set with name '{3}'." - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI for an entity reference link containing a collection navigation property must end in '{2}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}'. However, a metadata URI for an entity reference link must reference a navigation property which '{1}' is not." - - - - - A string like "The metadata URI '{0}' references the singleton navigation property with name '{1}'. However, when a metadata URI for an entity reference link ends in '{2}' it must reference a collection navigation property." - - - - - A string like "The metadata URI '{0}' has a fragment with '{1}' parts. However, valid metadata URIs must have at most '{2}' parts." - - - - - A string like "The metadata URI '{0}' references the entity set or function import '{1}'. However, no entity set or function import with name '{1}' is declared in the metadata." - - - - - A string like "A '$select' query option was found for the payload kind '{0}'. In OData, a '$select' query option is only supported for payload kinds 'Entry' and 'Feed'." - - - - - A string like "The metadata URI '{0}' has $links in an invalid position. The Metadata URI must specify the entity set, optional type segment, $links, a navigation property." - - - - - A string like "The metadata URI '{0}' references the entity set '{1}'. However, no entity set name '{1}' is declared in the metadata." - - - - - A string like "The '{0}' instance annotation in an entry object is preceded by a property or property annotation. In OData, the '{0}' instance annotation must be before any property or property annotation in an entry object." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of the content of a feed; however, a node of type 'StartArray' was expected." - - - - - A string like "Did not find the required '{0}' property for the expected feed." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a node of type 'StartObject' or 'EndArray' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading a top-level feed. No property annotations, only instance annotations are allowed when reading top-level feeds." - - - - - A string like "A property with name '{0}' was found when reading a top-level feed. No properties other than the feed property with name '{1}' are allowed." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is declared to be of type '{1}'. In OData, only navigation properties and named streams can be represented as properties without values." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is an open property. In OData, open property must be represented as a property with value." - - - - - A string like "The stream property '{0}' has a property annotation '{1}'. Stream property can only have the 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaETag' and 'odata.mediaContentType' property annotations." - - - - - A string like "A stream property '{0}' has a value in the payload. In OData, stream property must not have a value, it must only use property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Deferred navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartArray' node was expected." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded entry navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded feed navigation links can only have the 'odata.navigationLinkUrl', 'odata.associationLinkUrl' and 'odata.nextLink' property annotations." - - - - - A string like "Multiple property annotations '{0}' were found when reading the expanded navigation link '{1}'. Only a single property annotation '{0}' can be specified for an expanded navigation link." - - - - - A string like "A property annotation '{0}' was found after the property '{1}' it is annotating. Only the 'odata.nextLink' property annotation can be used after the property it is annotating." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Navigation links in request payloads can only have the '{2}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has a property annotation '{1}' with an array value. Resource reference navigation properties can only have a property annotation '{1}' with a string value." - - - - - A string like "The resource set reference navigation property '{0}' has a property annotation '{1}' with a string value. Resource set reference navigation properties can only have a property annotation '{1}' with an array value." - - - - - A string like "The value of '{0}' property annotation is an empty array. The '{0}' property annotation must have a non-empty array as its value." - - - - - A string like "The navigation property '{0}' has no expanded value and no '{1}' property annotation. Navigation property in request without expanded value must have the '{1}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has both the '{1}' property annotation as well as a value. Resource reference navigation properties can have either '{1}' property annotations or values, but not both." - - - - - A string like "An undeclared property '{0}' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values." - - - - - A string like "Encountered the function import '{0}' which can not be resolved to an ODataAction or ODataFunction." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple target bindings encountered for the operation '{0}' but the 'target' property was not found in an operation value. To differentiate between multiple target bindings, each operation value must have exactly one 'target' property." - - - - - A string like "The '{0}' property of the operation '{1}' cannot have a null value." - - - - - A string like "Encountered a reference into metadata '{0}' which does not refer to the known metadata url '{1}'. Open metadata reference properties are not supported." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but the {1} annotation is missing from the payload. The payload must only contain absolute URIs or the {1} annotation must be on the payload." - - - - - A string like "The {0} annotation is missing from the payload." - - - - - A string like "When trying to read the start of a collection, the expected collection property with name '{0}' was not found." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A property or annotation for a property with name '{0}' or an instance annotation with name '{0}' was found after reading the items of a top-level collection. No additional properties or annotations are allowed after the collection property." - - - - - A string like "An 'odata.type' annotation with value '{0}' was found for a top-level collection payload; however, top-level collections must specify a collection type." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In JSON Light, entity reference links must be objects." - - - - - A string like "A property annotation with name '{0}' was detected when reading an entity reference link; entity reference links do not support property annotations." - - - - - A string like "An instance annotation with name '{0}' or a property annotation for the property with name '{0}' was found when reading an entity reference link. No OData property or instance annotations are allowed when reading entity reference links." - - - - - A string like "A property with name '{0}' was found when reading an entity reference link. No properties other than the entity reference link property with name '{1}' are allowed." - - - - - A string like "The required property '{0}' for an entity reference link was not found." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link object; however, a single '{0}' property was expected." - - - - - A string like "The '{0}' property of an entity reference link object cannot have a null value." - - - - - A string like "A property with name '{0}' or a property annotation for a property with name '{0}' was found when trying to read a collection of entity reference links; however, a property with name '{1}' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading an entity reference links payload. No property annotations, only instance annotations are allowed when reading entity reference links." - - - - - A string like "Did not find the required '{0}' property for an entity reference links payload." - - - - - A string like "The '{0}' property of an operation '{1}' in '{2}' cannot have a null value." - - - - - A string like "Found a node of type '{1}' when starting to read the '{0}' operations value, however a node of type 'StartObject' was expected. The '{0}' operations value must have an object value. " - - - - - A string like "The '{0}' operations object can only have one property for each distinct metadata; however, a duplicate of metadata '{1}' was found." - - - - - A string like "Found a node of type '{1}' when starting to read the value of the '{0}' property in '{2}'; however, a node of type 'StartArray' was expected. The value of each property in the '{2}' operations object must be an array value." - - - - - A string like "Found a node of type '{1}' when reading an item in the array value of the '{0}' property; however, a node of type 'StartObject' was expected. The items in the array value for the '{0}' property in the '{2}' operations object must be object values." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}' in '{2}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "The 'target' property was not found in an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple '{0}' properties were found in a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in a resource collection in a service document. In OData, a resource collection must have exactly one '{0}' property." - - - - - A string like "No '{0}' property was found for a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Encountered a resource collection without a '{0}' property. In service documents, resource collections must contain a '{0}' property." - - - - - A string like "An unrecognized property annotation '{0}' was found in a '{1}' object in a service document. OData property annotations are not allowed in workspaces." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a '{1}' object in a service document. OData instance annotations are not allowed in workspaces." - - - - - A string like "An unrecognized property annotation '{0}' was found in a resource collection in a service document. OData property annotations are not allowed in resource collections." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a resource collection in a service document. OData instance annotations are not allowed in resource collections." - - - - - A string like "Encountered unexpected property '{0}' in a resource collection. In service documents, resource collections may only have '{1}' and '{2}' properties." - - - - - A string like "Encountered unexpected property '{0}' in a service document. The top level object of a service document may only have a '{1}' property." - - - - - A string like "Encountered a property annotation for the property '{0}' which wasn't immediately followed by the property. Property annotations must occur directly before the property being annotated." - - - - - A string like "One or more property annotations for property '{0}' were found in a parameter payload without the property to annotate. Parameter payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported in JSON Light." - - - - - A string like "When trying to read a null collection parameter value in JSON Light, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a primitive 'null' value was expected." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. Only primitive, complex, primitive collection and complex collection types are supported." - - - - - A string like "An OData property annotation '{0}' was found in an error payload; however, error payloads do not support OData property annotations." - - - - - A string like "An OData instance annotation '{0}' was found in an error payload; however, error payloads do not support OData instance annotations." - - - - - A string like "One or more property annotations for property '{0}' were found in an error payload without the property to annotate. Error payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror', or custom instance annotations." - - - - - A string like "The entity type '{0}' has no key properties. Entity types must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "An ODataEntry of type '{0}' is found without key properties. When writing without a user model, each entry must contain at least one property whose 'ODataProperty.SerializationInfo.PropertyKind' set to 'ODataPropertyKind.Key'. When writing with a user model, the entity type '{0}' defined in the model must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "The property '{0}' on type '{1}' is a non-primitive value. All key and etag properties must be of primitive types." - - - - - A string like "The primitive property '{0}' on type '{1}' has a value which is not a primitive value." - - - - - A string like "The entity instance value of type '{0}' doesn't have a value for property '{1}'. To compute an entity's metadata, its key and concurrency-token property values must be provided." - - - - - A string like "Encountered an annotation group containing a property '{0}' which is not a valid annotation name." - - - - - A string like "Encountered an annotation group named '{0}' containing a property '{1}' which is not a valid annotation name." - - - - - A string like "Encountered a reference to an annotation group named '{0}', but no annotation group with that name has been defined at this point in the payload." - - - - - A string like "Encountered multiple annotation group named '{0}'. Annotation group names must be unique within a payload." - - - - - A string like "An ODataPrimitiveValue was instantiated with a value of type '{0}'. ODataPrimitiveValue can only wrap values which can be represented as primitive EDM types." - - - - - A string like "'{0}' is an invalid instance annotation name. An instance annotation name must contain a period that is not at the start or end of the name." - - - - - A string like "'{0}' is a reserved instance annotation name because it starts with '{1}'. Reserved names are not allowed for custom instance annotations." - - - - - A string like "'{0}' is an invalid instance annotation name." - - - - - A string like "The value of the 'type' attribute on an 'annotation' element was '{0}', which is incompatible with the '{1}' attribute." - - - - - A string like "Encountered the attribute '{0}' on a non-empty 'annotation' element. If attribute value notation is used to specify the annotation's value, then there can be no body to the element." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must contain at least one '.' separating the namespace and the name segments of an annotation." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must not contain a namespace or name segment that is empty." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. It must not contain '*' as part of a segment." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. '*' must be the last segment of the pattern." - - - - - A string like "A service operation with name '{0}' could not be found in the provided model." - - - - - A string like "Found multiple service operations with name '{0}' in a single entity container. Service operation overloads are not supported." - - - - - A string like "An entity set with name '{0}' could not be found in the provided model." - - - - - A string like "Only operands with primitive types are allowed in binary operators. Found operand types '{0}' and '{1}'." - - - - - A string like "Both operands of a binary operators must have the same type. Found different operand types '{0}' and '{1}'." - - - - - A string like "The specified URI '{0}' must be absolute." - - - - - A string like "Invalid value '{0}' for $skip query option found. The $skip query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $top query option found. The $top query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $inlinecount query option found. Valid values are '{1}'." - - - - - A string like "Query option '{0}' was specified more than once, but it must be specified at most once." - - - - - A string like "The CLR literal of type '{0}' is not supported to be written as a Uri part." - - - - - A string like "QueryToken '{0}' is not supported to be written as a Uri part." - - - - - A string like "Expression expected at position {0} in '{1}'." - - - - - A string like "'(' expected at position {0} in '{1}'." - - - - - A string like "')' or ',' expected at position {0} in '{1}'." - - - - - A string like "')' or operator expected at position {0} in '{1}'." - - - - - A string like "Expecting a Star token but got: '{0}'." - - - - - A string like "The range variable '{0}' has already been declared." - - - - - A string like "The URI '{0}' is not valid because it is not based on '{1}'." - - - - - A string like "The key value '{0}' was not recognized as a valid literal." - - - - - A string like "Unable to find property '{2}' on the instance type '{1}' of the structured type '{0}'." - - - - - A string like "An unsupported query token kind '{0}' was found." - - - - - A string like "Could not find an entity set for root segment '{0}'." - - - - - A string like "Type '{0}' is not an entity type. Key value can only be applied to an entity type." - - - - - A string like "Could not find a property named '{1}' on type '{0}'." - - - - - A string like "Property '{0}' is not declared on type '{1}' or is not a key property. Only key properties can be used in key lookups." - - - - - A string like "An unnamed key value was used in a key lookup on a type '{0}' which has more than one key property. Unnamed key value can only be used on a type with one key property." - - - - - A string like "A key property '{0}' was found twice in a key lookup. Each key property can be specified just once in a key lookup." - - - - - A string like "A key lookup on type '{0}' didn't specify values for all key properties. All key properties must be specified in a key lookup." - - - - - A string like "Expression of type '{0}' cannot be converted to type '{1}'." - - - - - A string like "Segment '{0}' which is a service operation returning non-queryable result has a key lookup. Only service operations returning queryable results can have a key lookup applied to them." - - - - - A string like "Service operation '{0}' of kind '{1}' returns type '{2}' which is not an entity type. Service operations of kind QueryWithMultipleResults or QueryWithSingleResult can only return entity types." - - - - - A string like "Service operation '{0}' is missing the required parameter '{1}'." - - - - - A string like "The parameter '{0}' with value '{1}' for the service operation '{2}' is not a valid literal of type '{3}'." - - - - - A string like "The MultiValue property '{0}' cannot be used in $filter or $orderby query expression. MultiValue properties are not supported with these query options." - - - - - A string like "The operand for a binary operator '{0}' is not a single value. Binary operators require both operands to be single values." - - - - - A string like "The operand for a unary operator '{0}' is not a single value. Unary operators require the operand to be a single value." - - - - - A string like "The parent value for a property access of a property '{0}' is not a single value. Property access can only be applied to a single value." - - - - - A string like "A binary operator with incompatible types was detected. Found operand types '{0}' and '{1}' for operator kind '{2}'." - - - - - A string like "A unary operator with an incompatible type was detected. Found operand type '{0}' for operator kind '{1}'." - - - - - A string like "An unknown function with name '{0}' was found. This may also be a key lookup on a navigation property, which is not allowed." - - - - - A string like "The argument for an invocation of a function with name '{0}' is not a single value. All arguments for this function must be single values." - - - - - A string like "No function signature for the function with name '{0}' matches the specified arguments. The function signatures considered are: {1}." - - - - - A string like "The system query option '{0}' is not supported." - - - - - A string like "A token of kind '{0}' was bound to the value null; this is invalid. A query token must always be bound to a non-null query node." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $top query option must specify a non-negative integer value." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $skip query option must specify a non-negative integer value." - - - - - A string like " The service operation '{0}' does not have an associated result kind. Without a result kind, a service operation cannot be bound." - - - - - A string like "Encountered invalid type cast. '{0}' is not assignable from '{1}'." - - - - - A string like "The parameter '{0}' is not in scope." - - - - - A string like "The Cast or IsOf expression has an invalid number of operands: number of operands is '{0}' and it should be 1 or 2." - - - - - A string like "The geo.length function has an invalid number of operands: number of operands is '{0}' and it should be 1." - - - - - A string like "The geo.intersects function has an invalid number of operands: number of operands is '{0}' and it should be 2." - - - - - A string like "The operator '{0}' is not supported in this release. " - - - - - A string like "'{0}' queries are not supported in this release." - - - - - A string like "Can only bind segments that are Navigation, Structural, Complex, or Collections. We found a segment '{0}' that isn't any of those. Please revise the query." - - - - - A string like "The '{0}' option cannot be applied to the query path. '{0}' can only be applied to a collection of entities. " - - - - - A string like "Cannot find a suitable overload for function '{0}' that takes '{1}' arguments." - - - - - A string like "Cannot compose function '{0}' to a parent doesn't represent a single value." - - - - - A string like "Found a function import for '{0}', but it is invalid for Filter/Orderby." - - - - - A string like "Found a built-in function '{0}' with a parent token. Built-in functions cannot have parent tokens. " - - - - - A string like "Found a function '{0}' on an open property. Functions on open properties are not supported." - - - - - A string like "'{0}' is not a valid InlineCount option." - - - - - A string like "The child type '{0}' in a cast was not an entity type. Casts can only be performed on entity types." - - - - - A string like "Invalid content-id '{0}' for batch reference segment." - - - - - A string like "Property '{0}' is of an unrecognized EdmPropertyKind." - - - - - A string like "Cant find the property '{0}' in the model." - - - - - A string like "Only properties specified in $expand can be traversed in $select query options. Selected item was '{0}'." - - - - - A string like "Found a type segment '{0}' that isn't an entity type." - - - - - A string like "Trying to follow type segments on a segment that isn't a type. Segment was '{0}'." - - - - - A string like "Found a system token, '{0}', while parsing a select clause." - - - - - A string like "Found an invalid segment, '{0}', while parsing a select clause." - - - - - A string like "The type '{0}' is not defined in the model." - - - - - A string like "Property '{0}' on type '{1}' is not a navigation property. Only navigation properties can be expanded." - - - - - A string like "An entity type '{0}' was given to NonEntityParameterQueryNode. Use EntityParameterQueryNode instead." - - - - - A string like "An EntityCollectionServiceOperationQueryNode was provided with a IEdmFunctionImport with return type '{0}', which is not an entity type." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is not structural." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is a collection." - - - - - A string like "A node of this kind requires the associated property to be a structural, collection type, but property '{0}' is not a collection." - - - - - A string like "Term '{0}' is not valid in a $select or $expand expression." - - - - - A string like "Functions are not allowed in a $select expression, but one was found in the expression '{0}'." - - - - - A string like "Top option must be an integer, its set to '{0}' instead." - - - - - A string like "Skip option must be an integer, its set to '{0}' instead." - - - - - A string like "Found system token '{0}' in select or expand clause '{1}'." - - - - - A string like "The URI '{0}' must be an absolute URI." - - - - - A string like "The result of parsing $expand contained at least {0} items, but the maximum allowed is {1}." - - - - - A string like "The result of parsing $expand was at least {0} items deep, but the maximum allowed is {1}." - - - - - A string like "The service operation '{0}' is missing a ODataServiceOperationResultKind attribute." - - - - - A string like "Multiple Service Operations with the name '{0}' were found. There can only be one Service Operation with a given name in a model." - - - - - A string like "The request URI is not valid. $links cannot be applied to the segment '{0}' since $links can only follow an entity segment." - - - - - A string like "The type '{0}' does not inherit from and is not a base type of '{1}'. The type of '{2}' must be related to the Type of the EntitySet." - - - - - A string like "Found a segment of type '{0} in an expand path, but only NavigationProperty and Type segments are allowed." - - - - - A string like "Found a segment of type '{0} in a select path, but only TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment or OpenPropertySegments are allowed." - - - - - A string like "The Entity Set of the operation '{0}' is not specified. This is most likely an error in the IEdmModel." - - - - - A string like "The target Entity Set of Navigation Property '{0}' could not be found. This is most likely an error in the IEdmModel." - - - - - A string like "The function overloads matching '{0}' are invalid. This is most likely an error in the IEdmModel." - - - - - A string like "Unable to resolve function overloads to a single function. There was more than one function in the model with name '{0}' and parameter names '{1}'." - - - - - A string like "Multiple action overloads were found with the same binding parameter for '{0}'." - - - - - A string like "The request URI is not valid. The segment '{0}' is not valid. Since the uri contains the '{1}' segment, there must be only one segment specified after that." - - - - - A string like "The request URI is not valid. The segment '{0}' must be the last segment in the URI because it is one of the following: $batch, $value, $metadata, a collection property, a named media resource, a service operation that does not return a value, or a service action." - - - - - A string like "The request URI is not valid. The segment '{0}' must refer to a navigation property since the previous segment identifier is '{1}'." - - - - - A string like "The request URI is not valid. There must a segment specified after the '{0}' segment and the segment must refer to a entity resource." - - - - - A string like "The request URI is not valid, $count cannot be applied to the segment '{0}' since $count can only follow a resource segment." - - - - - A string like "The request URI is not valid, since the segment '{0}' refers to a singleton, and the segment '{1}' can only follow a resource collection." - - - - - A string like "The request URI is not valid. Since the segment '{0}' refers to a collection, this must be the last segment in the request URI. All intermediate segments must refer to a single resource." - - - - - A string like "The request URI is not valid. The segment '{0}' cannot include key predicates, however it may end with empty parenthesis." - - - - - A string like "The segment '{1}' in the request URI is not valid. The segment '{0}' refers to a primitive property, function, or service operation, so the only supported value from the next segment is '$value'." - - - - - A string like "The type '{0}' specified in the URI is neither a base type nor a sub-type of the previously-specified type '{1}'." - - - - - A string like "Complex types can not be marked as 'Open'. Error occurred for type '{0}'." - - - - - A string like "Open navigation properties are not supported on OpenTypes. Property name: '{0}'." - - - - - A string like "The response requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service is set to {1}." - - - - - A string like "The number of keys specified in the URI does not match number of key properties for the resource '{0}'." - - - - - A string like "Resource not found for the segment '{0}'." - - - - - A string like "Batched service action '{0}' cannot be invoked because it was bound to an entity created in the same changeset." - - - - - A string like "Resource Not Found - '{0}' refers to a service operation or function which does not allow further composition." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "A non-negative integer value was expected, but the value '{0}' is not a valid non-negative integer." - - - - - A string like "A positive integer value was expected, but the value '{0}' is not a valid positive integer." - - - - - A string like "A positive long value was expected; however, the value '{0}' is not a valid positive long value." - - - - - A string like "An identifier was expected at position {0}." - - - - - A string like "There is an unterminated string literal at position {0} in '{1}'." - - - - - A string like "Syntax error: character '{0}' is not valid at position {1} in '{2}'." - - - - - A string like "Syntax error at position {0} in '{1}'." - - - - - A string like "There is an unterminated literal at position {0} in '{1}'." - - - - - A string like "A digit was expected at position {0} in '{1}'." - - - - - A string like "Unrecognized '{0}' literal '{1}' at '{2}' in '{3}'." - - - - - A string like "Invalid JSON. An unexpected comma was found in scope '{0}'. A comma is only valid between properties of an object or between elements of an array." - - - - - A string like "Invalid JSON. Unexpected token '{0}'." - - - - - A string like "Invalid JSON. A colon character ':' is expected after the property name '{0}', but none was found." - - - - - A string like "Invalid JSON. An unrecognized escape sequence '{0}' was found in a JSON string value." - - - - - A string like "Invalid JSON. The value '{0}' is not a valid number." - - - - - A string like "Invalid JSON. A comma character ',' was expected in scope '{0}'. Every two elements in an array and properties of an object must be separated by commas." - - - - - A string like "Invalid JSON. The property name '{0}' is not valid. The name of a property cannot be empty." - - - - - A string like "An unexpected '{1}' node was found when reading from the JSON reader. A '{0}' node was expected." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a double numeric value." - - - - - A string like "Value cannot be empty." - - - - - A string like "An asynchronous operation was requested on an IODataRequestMessage instance. For asynchronous operations to succeed, the request message instance must implement IODataRequestMessageAsync." - - - - - A string like "The IODataRequestMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataRequestMessage.GetStream or IODataRequestMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "An asynchronous operation was requested on an IODataResponseMessage instance. For asynchronous operations to succeed, the response message instance must implement IODataResponseMessageAsync." - - - - - A string like "The IODataResponseMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataResponseMessage.GetStream or IODataResponseMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "A writer or stream has been disposed with data still in the buffer. You must call Flush or FlushAsync before calling Dispose when some data has already been written." - - - - - A string like "Only a top-level feed can have the 'ODataFeed.Count' property value specified. Expanded links do not support inline counts." - - - - - A string like "The ODataFeed.Count must be null for request payloads. Inline counts are only supported in responses." - - - - - A string like "Cannot write a top-level feed with a writer that was created to write a top-level entry." - - - - - A string like "Cannot write a top-level entry with a writer that was created to write a top-level feed." - - - - - A string like "A synchronous operation was called on an asynchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An entity reference link was written without a surrounding navigation link. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing the content of a navigation link." - - - - - A string like "An entity reference link was written into a response. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing a request." - - - - - A string like "A deferred link was written into a request. In requests, each navigation link must have a feed, entry, or entity reference link written into it." - - - - - A string like "More than one item was written into the content of a navigation link. In OData, a navigation link can only contain more than one item in its content when it is a navigation link, ODataNavigationLink.IsCollection set to true, and the writer is writing a request." - - - - - A string like "The ODataFeed.DeltaLink property must be null for expanded feeds. Delta link is not supported on expanded feeds." - - - - - A string like "An error occurred while processing the OData message." - - - - - A string like "An error was read from the payload. See the 'Error' property for more details." - - - - - A string like "An error occurred while parsing part of the URI." - - - - - A string like "Version 3.0 of the OData protocol is not supported by this library. Please use version 1.0 or 2.0 instead." - - - - - A string like "An ODataCollectionStart with a 'null' name was passed to the ATOM collection writer. In ATOM, an ODataCollectionStart cannot have a 'null' name." - - - - - A string like "The startEntryXmlCustomizationCallback set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior can never return the same XmlWriter instance that was provided in its parameter." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Authors' enumerable; the author metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Categories' enumerable; the category metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Contributors' enumerable; the contributor metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Links' enumerable; the link metadata does not support null values." - - - - - A string like "The 'AtomLinkMetadata.Href' property is required and cannot be null." - - - - - A string like "The 'AtomCategoryMetadata.Term' property is required and cannot be null." - - - - - A string like "The 'AtomCategoriesMetadata.Href' property can only be set when no other property is set. When the 'Href' property is not null, the categories cannot have any 'Fixed' or 'Scheme' values, and the 'Categories' collection must be null or empty." - - - - - A string like "The ODataMessageWriter has already been used to write a message payload. An ODataMessageWriter can only be used once to write a payload for a given message." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "An error cannot be written to a request payload. Errors are only supported in responses." - - - - - A string like "A service document cannot be written to request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be written to request payloads. Metadata documents are only supported in responses." - - - - - A string like "Cannot write the value 'null' in raw format." - - - - - A string like "The WriteError method or the WriteErrorAsync method on the ODataMessageWriter has already been called to write an error payload. Only a single error payload can be written with each ODataMessageWriter instance." - - - - - A string like "The WriteError method or the WriteErrorAsync method on ODataMessageWriter cannot be called after the WriteValue method or the WriteValueAsync method is called. In OData, writing an in-stream error for raw values is not supported." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings in order to write a metadata document." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings when CreateODataParameterWriter is called with a non-null function import." - - - - - A string like "Both startEntryXmlCustomizationCallback and endEntryXmlCustomizationCallback must be either null or non-null." - - - - - A string like "A synchronous operation was called on an asynchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An ODataCollectionStart with an empty name was passed to the collection writer. An ODataCollectionStart cannot have an empty name." - - - - - A string like "Writing an in-stream error is not supported when writing a parameter payload." - - - - - A string like "CreateParameterWriter was called on a response message. A parameter payload is only allowed in a request message." - - - - - A string like "A synchronous operation was called on an asynchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "WriteStart can only be called once, and it must be called before writing anything else." - - - - - A string like "WriteValue and CreateCollectionWriter can only be called after WriteStart and before WriteEnd; they cannot be called until the previously created sub-writer is completed." - - - - - A string like "WriteEnd can only be called after WriteStart and after the previously created sub-writer has completed." - - - - - A string like "The writer is in either the 'Error' or 'Completed' state. No further writes can be performed on this writer." - - - - - A string like "ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync was called while a stream being used to write operation content, obtained from the operation message by using GetStream or GetStreamAsync, was still active. This is not allowed. ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync can only be called when an active stream for the operation content does not exist." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndBatch with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteStartChangeset with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndChangeset without an active change set; you must first call ODataBatchWriter.WriteStartChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After creating the writer, the only valid methods are ODataBatchWriter.WriteStartBatch and ODataBatchWriter.FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartBatch, the only valid methods on ODataBatchWriter are WriteStartChangeset, CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndChangeset, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling CreateOperationRequestMessage or CreateOperationResponseMessage, the only valid methods on ODataBatchWriter are WriteStartChangeset, WriteEndChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot use the batch writer while another writer is writing the content of an operation. Dispose the stream for the operation before continuing to use the ODataBatchWriter." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After writing the content of an operation, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndChangeset, WriteEndBatch and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteEndChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You can only call ODataBatchWriter.FlushAsync after ODataBatchWriter.WriteEndBatch has been called." - - - - - A string like "When writing a batch response, you cannot create a batch operation request message." - - - - - A string like "When writing a batch request, you cannot create a batch operation response message." - - - - - A string like "A synchronous operation was called on an asynchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "The WriteError and WriteErrorAsync methods on ODataMessageWriter cannot be called when a batch is being written by using ODataBatchWriter. In OData, writing an in-stream error for a batch payload is not supported." - - - - - A string like "An attempt to change the properties of the message or to retrieve the payload stream for the message has failed. Either the payload stream has already been requested or the processing of the message has been completed. In both cases, no more changes can be made to the message." - - - - - A string like "Cannot access a closed stream." - - - - - A string like "When reading a batch response, you cannot create a batch operation request message." - - - - - A string like "When reading a batch request, you cannot create a batch operation response message." - - - - - A string like "A request message for the operation has already been created. You cannot create a request message for the same operation multiple times." - - - - - A string like "A response message for the operation has already been created. You cannot create a response message for the same operation multiple times." - - - - - A string like "You cannot use a batch reader while the stream for the content of an operation is still active. You must first dispose the operation stream before further calls to the batch reader are made." - - - - - A string like "A synchronous operation was called on an asynchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An operation was detected, but no message was created for it. You must create a message for every operation found in a batch or change set." - - - - - A string like "The 'Content-Type' header is missing. The 'Content-Type' header must be specified for each MIME part of a batch message." - - - - - A string like "Nested change sets in a batch payload are not supported." - - - - - A string like "Encountered an unexpected end of input while reading the batch payload." - - - - - A string like "The MIME type is missing a parameter name for a parameter definition." - - - - - A string like "The value for the Content-Type header is missing." - - - - - A string like "An IEdmTypeReference must be provided with a matching IEdmModel. No model was provided." - - - - - A string like "A built-in model was detected when trying to save annotations. Annotations can only be saved to a user-defined model." - - - - - A string like "An invalid enum value was specified for the version number." - - - - - A string like "The MIME type annotation must not have a null value." - - - - - A string like "The HTTP method annotation must not have a null value." - - - - - A string like "The 'IsAlwaysBindable' annotation cannot be set to 'true' for a non-bindable function import." - - - - - A string like "The 'IsAlwaysBindable' annotation was found with a 'true' value in a non-bindable function import. The 'IsAlwaysBindable' annotation cannot be 'true' for a non-bindable function import." - - - - - A string like "No URI value was found for an entity reference link. A single URI value was expected." - - - - - A string like "A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value." - - - - - A string like "An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified." - - - - - A string like "The ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds is not set to ODataUndeclaredPropertyBehaviorKinds.None. When reading request payloads, the ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds property must be set to ODataUndeclaredPropertyBehaviorKinds.None; other values are not supported." - - - - - A string like "The ODataMessageReader has already been used to read a message payload. An ODataMessageReader can only be used once to read a payload for a given message." - - - - - A string like "A top-level error cannot be read from request payloads. Top-level errors are only supported in responses." - - - - - A string like "A service document cannot be read from request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be read from request payloads. Metadata documents are only supported in responses." - - - - - A string like "The expected type for property reading is of entity collection kind. Top-level properties can only be of primitive, complex, primitive collection or complex collection kind." - - - - - A string like "The expected type for property reading is of entity kind. Top-level properties cannot be of entity type." - - - - - A string like "The expected type for property reading is Edm.Stream. Top-level properties cannot be of stream type." - - - - - A string like "A missing or empty content type header was found when trying to read a message. The content type header is required." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "GetFormat was called before reading was started. GetFormat can only be called after a read method was called or a reader was created." - - - - - A string like "DetectPayloadKind or DetectPayloadKindAsync was called more than once; DetectPayloadKind or DetectPayloadKindAsync can only be called once." - - - - - A string like "Payload kind detection has not completed. Read or create methods cannot be called on the ODataMessageReader before payload kind detection is complete." - - - - - A string like "The ODataMessageReader is using the server behavior for WCF Data Services, as specified in its settings. Payload kind detection is not supported when using the WCF Data services server behavior." - - - - - A string like "A parameter payload cannot be read from a response payload. Parameter payloads are only supported in requests." - - - - - A string like "An attempt was made to modify the message. The message cannot be modified." - - - - - A string like "A synchronous operation was called on an asynchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "Parsing JSON feeds or entries without model is not supported." - - - - - A string like "Primitive values of type 'Edm.Decimal' and 'Edm.Int64' must be quoted in the payload. Make sure the value is quoted." - - - - - A string like "The top-level data wrapper object does not have a property 'd'. In JSON responses, a top-level data wrapper object with a 'd' property is expected." - - - - - A string like "Multiple 'd' properties were found in the top-level data wrapper object. In JSON, the top-level data wrapper object is expected to have a single 'd' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping a collection in protocol version 2.0 and greater." - - - - - A string like "Multiple 'results' properties were found for a collection. In OData, a collection cannot have more than one 'results' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping an entity reference link in protocol version 2.0 and greater." - - - - - A string like "Multiple 'uri' properties were found in an entity reference link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of an entity reference link object cannot have a null value." - - - - - A string like "Did not find the required 'results' property on the object wrapping a feed." - - - - - A string like "Multiple '__metadata' properties were found in an entry. In OData, an entry can only contain one '__metadata' property." - - - - - A string like "Multiple 'uri' properties were found in the deferred link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of a deferred link object cannot have a null value." - - - - - A string like "The 'uri' property was not found in a deferred link object. A single 'uri' property is expected." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "Found multiple 'results' properties in the object wrapping a feed in protocol version 2.0 and greater. In OData, the feed wrapping object can only contain a single 'results' property." - - - - - A string like "Could not parse an expected stream reference value. In OData, a stream reference value must be a JSON object with a single property called '__mediaresource'." - - - - - A string like "A stream property was found in a JSON request payload. Stream properties are only supported in responses." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the entire payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "Parsing a JSON top-level property without a model is not supported." - - - - - A string like "Either zero or more than one top-level properties were found. A top-level property must be represented as a JSON object with exactly one property." - - - - - A string like "Multiple '__metadata' properties were found in a complex value. In OData, a complex value can only have one '__metadata' property." - - - - - A string like "A collection was found without the 'results' property. In OData, each collection must be represented as a JSON object with a property 'results'." - - - - - A string like "Multiple 'EntitySets' properties were found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "No 'EntitySets' property was found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "A synchronous operation was called on an asynchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "A synchronous operation was called on an asynchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "Parsing JSON collections without model is not supported." - - - - - A string like "The 'Name' property on an ODataAssociationLink must be set to a non-empty string." - - - - - A string like "The 'Url' property on an ODataAssociationLink must be set to a non-null value that represents the association or associations the link references." - - - - - A string like "An empty type name was found; the name of a type cannot be an empty string." - - - - - A string like "The 'Url' property on a resource collection must be set to a non-null value." - - - - - A string like "A resource collection without a Url was detected; a resource collection must have a non-null Url value." - - - - - A string like "A null value was detected in the items of a collection property value; non-streaming instances of collection types do not support null values as items." - - - - - A string like "The 'Name' property on an ODataNavigationLink must be set to a non-empty string." - - - - - A string like "Nested collection instances are not allowed." - - - - - A string like "An ODataStreamReferenceValue item was found in a collection property value, which is not allowed. Collection properties can only have primitive and complex values as items." - - - - - A string like "A null value was detected when enumerating the collections in a workspace. Workspace collections cannot be null." - - - - - A string like "An ODataFeed without an ID was detected; in OData, a Feed must have a non-null, non-empty ID value." - - - - - A string like "The 'ODataEntry.Properties' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "An ODataProperty instance without a name was detected; an ODataProperty must have a non-null, non-empty name." - - - - - A string like "No TypeName was found for an ODataComplexValue of an open property, ODataEntry or custom instance annotation, even though metadata was specified. If a model is passed to the writer, each complex value on an open property, entry or custom instance annotation must have a type name." - - - - - A string like "The ODataFeed.NextPageLink must be null for request payloads. A next link is only supported in responses." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ContentType' property but without a ReadLink value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ReadLink' property but without a ContentType value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "An ODataStreamReferenceValue was detected with null values for both EditLink and ReadLink. In OData, a stream resource must have at least an edit link or a read link." - - - - - A string like "An ODataStreamReferenceValue was detected with an ETag but without an edit link. In OData, a stream resource must have an edit link to have an ETag." - - - - - A string like "An ODataStreamReferenceValue was detected with an empty string 'ContentType' property. In OData, a stream resource must either have a non-empty content type or it must be null." - - - - - A string like "An entry with an empty ID value was detected. In OData, an entry must either a non-empty ID value or no ID value." - - - - - A string like "An ODataEntityReferenceLink with a null Url was detected; an ODataEntityReferenceLink must have a non-null Url." - - - - - A string like "The 'ODataEntityReferenceLinks.Links' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "A JSON Padding function was specified on ODataMessageWriterSettings when trying to write a request message. JSON Padding is only for writing responses." - - - - - A string like "An Atom entry can be either a regular entry or a media link entry (MLE). This means that there cannot be data in both the {http://www.w3.org/2005/Atom}:content element, which indicates a regular entry, and the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:properties element, which indicates an MLE. " - - - - - A string like "An expanded feed was found in a navigation link of type entry; however, only an expanded entry can occur in a navigation link of type entry." - - - - - A string like "An expanded entry was found in a navigation link of type feed; however, only an expanded feed can occur in a navigation link of type feed." - - - - - A string like "A deferred entry was found in a navigation link of type feed; however, only a deferred feed can occur in a navigation link of type feed." - - - - - A string like "The entryXmlCustomizationCallback set in ODataMessageReaderSettings.EnableWcfDataServicesClientBehavior can never return the same XmlReader instance that was provided in its parameter." - - - - - A string like "Found a value with type name ''. Type name cannot be an empty string." - - - - - A string like "The root element of the collection cannot contain the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:type attribute or the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:null attribute." - - - - - A string like "Only collection properties that contain primitive types or complex types are supported." - - - - - A string like "The element {http://www.w3.org/2005/Atom}:content has non-empty content, and it has an attribute with name 'src'. When the {http://www.w3.org/2005/Atom}:content element has the 'src' attribute, it cannot also have content." - - - - - A string like "Multiple {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline elements were found in a {http://www.w3.org/2005/Atom}:link element. Each {http://www.w3.org/2005/Atom}:link element can contain no more than one {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline child element." - - - - - A string like "Found a stream property link with empty name. In OData, a stream property must have a non-empty name." - - - - - A string like "Encountered an 'annotation' element inside a nested feed. Annotations are not currently supported for nested feeds." - - - - - A string like "Encountered a 'Delta Link' element inside a nested feed. Delta Links are not supported for nested feeds." - - - - - A string like "The service document is missing the 'workspace' element. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'workspace' elements were found inside the service document. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'accept' elements were found inside a 'collection' element. A 'collection' element can only contain a single {http://www.w3.org/2007/app}:accept element." - - - - - A string like "The ODataMessageReaderSettings used to read a JSON Light payload do not specify a metadata document URI. For reading JSON Light payloads a metadata document URI is required." - - - - - A string like "ODataMessageReader.DetectPayloadKind was called for a request payload. Payload kind detection is only supported for responses in JSON Light." - - - - - A string like "Parsing JSON Light feeds or entries in requests without entity set is not supported. Pass in the entity set as a parameter to ODataMessageReader.CreateODataEntryReader or ODataMessageReader.CreateODataFeedReader method." - - - - - A string like "An attempt to read a collection request payload without specifying a producing function import or collection item type was detected. When reading collection payloads in requests, a producing function import or expected item type has to be provided." - - - - - A string like "An attempt to read an entity reference link in a request without specifying a navigation property was detected. When reading entity reference link payloads in requests, a navigation property has to be provided." - - - - - A string like "Parsing JSON Light payloads without a model is only supported for error payloads." - - - - - A string like "The 'BaseUri' on the 'ODataMessageReaderSettings' must be set to a non-null absolute URI to read JSON Light format." - - - - - A string like "An attempt to read a collection request payload without specifying a collection item type was detected. When reading collection payloads in requests, an expected item type has to be provided." - - - - - A string like "In JSON the item type must be specified when creating a collection writer." - - - - - A string like "The required instance annotation 'odata.metadata' was not found at the beginning of a response payload." - - - - - A string like "An attempt to write an entity reference link inside a navigation link after a feed has been written inside the same navigation link in a request was detected. In JSON Light requests, all entity reference links inside a navigation link have to be written before all feeds inside the same navigation link." - - - - - A string like "The ODataFeed.InstanceAnnotations collection must be empty for expanded feeds. Custom instance annotations are not supported on expanded feeds." - - - - - A string like "The ODataMessageWriterSettings used to write a JSON Light payload do not specify a metadata document URI. For writing JSON Light payloads a metadata document URI is required." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a complex value. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a collection property. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Found a resource collection without a name. When writing a service document in JSON Light, the Name property of a resource collection must not be null or empty." - - - - - A string like "When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being writen." - - - - - A string like "When writing a JSON response in full metadata mode with ODataMessageWriterSettings.AutoComputePayloadMetadataInJson set to true, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataEntry.TypeName must be set." - - - - - A string like "The collection type name for the top level collection is unknown. When writing a JSON response, the item type must be passed to the ODataMessageWriter.CreateCollectionWriter method or the ODataCollectionStartSerializationInfo must be set on the ODataCollectionStart." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLink method or the ODataEntityReferenceLinkSerializationInfo must be set on the ODataEntityReferenceLink." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link collection is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLinks method or the ODataEntityReferenceLinksSerializationInfo must be set on the ODataEntityReferenceLinks." - - - - - A string like "No top-level properties were found. A top-level property or collection in JSON Light must be represented as a JSON object with exactly one property which is not an annotation." - - - - - A string like "The 'odata.type' instance annotation in a complex object is not the first property of the object. In OData, the 'odata.type' instance annotation must be the first property of the complex object." - - - - - A string like "The value specified for the spatial property was not valid. You must specify a valid spatial value." - - - - - A string like "A null metadata URI was found in the payload. Metadata URIs must not be null." - - - - - A string like "No model was specified for the ODataMessageReader. A message reader requires a model for JSON Light payload to be specified in the ODataMessageReader constructor." - - - - - A string like "The IODataJsonLightModelResolver or IODataJsonLightModelResolverAsync returned a null or a core model. The model resolver must return a valid user model." - - - - - A string like "The 'odata.type' instance annotation in an entry object is preceded by an invalid property. In OData, the 'odata.type' instance annotation must be either the first property in the JSON object or the second if the 'odata.metadata' instance annotation is present." - - - - - A string like "A property annotation was found for a top-level feed; however, top-level feeds only support instance annotations." - - - - - A string like "A stream property was found in a JSON Light request payload. Stream properties are only supported in responses." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the whole payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "A metadata reference property was found in a JSON Light request payload. Metadata reference properties are only supported in responses." - - - - - A string like "An annotation group was found at an unexpected position in the payload. Annotation groups must be the first property of the object they are annotating and may not be nested." - - - - - A string like "Encountered an entry with a type defined in an annotation group and in the entry body. The type of an entry may only be specified once." - - - - - A string like "A property annotation was found for entity reference links; however, entity reference links only support instance annotations." - - - - - A string like "An OData property annotation was found for a parameter payload; however, parameter payloads do not support OData property annotations." - - - - - A string like "When parsing a select clause a '*' segment was found before last segment of a property path. In OData, a '*' segment can only appear as last segment of a property path." - - - - - A string like "When parsing a select clause a '*' segment was found immediately after a type segment in a property path. In OData, a '*' segment cannot appear following a type segment." - - - - - A string like "Encountered an annotation group declaration for which there was no 'name' property. All annotation group declarations must specify a non-empty name in the 'name' property." - - - - - A string like "Encountered multiple 'name' properties within a single annotation group declaration. An annotation group must contain exactly one 'name' property." - - - - - A string like "Cannot create an ODataPrimitiveValue from null; use ODataNullValue instead." - - - - - A string like "An InstanceAnnotationCollection was set on an object other than ODataError. Currently, instance annotations are only supported on ODataError." - - - - - A string like "The value of an instance annotation cannot be of type ODataStreamReferenceValue." - - - - - A string like "A type name was not provided for an instance of ODataComplexValue." - - - - - A string like "A type name was not provided for an instance of ODataCollectionValue." - - - - - A string like "Encountered an 'annotation' element without a 'term' attribute. All 'annotation' elements must have a 'term' attribute." - - - - - A string like "Encountered an 'annotation' element with more than one attribute from following set: 'int', 'string', 'decimal', 'float', and 'bool'. Only one such attribute may appear on an 'annotation' element." - - - - - A string like "If ODataMessageWriterSettings.AutoComputePayloadMetadataInJson is set to true, the entity set must be specified when writing JSON with full metadata." - - - - - A string like "Setting a metadata annotation on a primitive type is not supported." - - - - - A string like "The maximum depth setting must be a number greater than zero." - - - - - A string like "Recursion depth exceeded allowed limit." - - - - - A string like "Invalid to redefine visitor in nested Any/All queries." - - - - - A string like "Bad Request: there was an error in the query syntax." - - - - - A string like "Too many segments in URI." - - - - - A string like "Inner or start path segments must be navigation properties in $select." - - - - - A string like "Found a non-path property in a select token." - - - - - A string like "Cannot construct an ExpandItem from a navigation property whose type is not an entity." - - - - - A string like "An unsupported extension query token was found." - - - - - A string like "The $filter expression must evaluate to a single boolean value." - - - - - A string like "The $orderby expression must evaluate to a single value of primitive type." - - - - - A string like "A PropertyAccessQueryToken without a parent was encountered outside of $filter or $orderby expression. The PropertyAccessQueryToken without a parent token is only allowed inside $filter or $orderby expressions." - - - - - A string like "Found a Built in function without a Function Signature." - - - - - A string like "Encountered Root segment in non-root location." - - - - - A string like "A segment without an associated type was given as input." - - - - - A string like "Any/All may only be used following a collection." - - - - - A string like "The navigation property must not be null." - - - - - A string like "A navigation property can only follow single entity nodes." - - - - - A string like "The Any/All query expression must evaluate to a single boolean value." - - - - - A string like "Cast or IsOf Function must have a type in its arguments." - - - - - A string like "The Cast and IsOf functions do not support collection arguments or types." - - - - - A string like "The geo.length function was called with a non-single-value operand." - - - - - A string like "The geo.length function was called with a non-LineString operand." - - - - - A string like "The geo.intersects function was called with a non-single-value operand." - - - - - A string like "The geo.intersects function was called with invalid arg types." - - - - - A string like "Type argument with an invalid type name." - - - - - A string like "Collection open properties are not supported in this release." - - - - - A string like "Parameter names must be unique. There is most likely an error in the model." - - - - - A string like "Found a property token that isn't a path in the select syntactic tree." - - - - - A string like "Any selection that is expanded must have the same type qualifier on both selection and expansion." - - - - - A string like "Cannot delete selection items from an AllSelection, please create the SelectExpandClause with a Partial Selection instead." - - - - - A string like "Links segments must always be followed by a navigation property." - - - - - A string like "Trying to traverse a non-normalized expand tree." - - - - - A string like "Found a path within a select or expand query option that isn't ended by a non-type segment." - - - - - A string like "Trying to parse a type segment path that is too long." - - - - - A string like "The navigation property must have a target multiplicity of 'One' or 'ZeroOrOne' to create a SingleNavigationNode." - - - - - A string like "The navigation property must have a target multiplicity of 'Many' to create a CollectionNavigationNode." - - - - - A string like "Only static Entity Set reference expressions are supported currently." - - - - - A string like "An instance of CollectionFunctionCallNode can only be created with a primitive or complex collection type. For functions returning a collection of entities, use EntityCollectionFunctionCallNode instead." - - - - - A string like "An instance of EntityCollectionFunctionCallNode can only be created with an entity collection type. For functions returning a collection of primitive or complex values, use CollectionFunctionCallNode instead." - - - - - A string like "Only call AddTerms on ExpandTermTokens that have already been expanded by ExpandTerm." - - - - - A string like "Found a segment that isn't a path while parsing the path within a select or expand query option." - - - - - A string like "A service root URI must be provided to the ODataUriParser in order to use this method." - - - - - A string like "The limit must be greater than or equal to zero" - - - - - A string like "Functions are not supported in this version. Only Actions and Service Operations are supported." - - - - - A string like "$value cannot be applied to a collection." - - - - - A string like "A feed may contain a next page link, a delta link or neither, but must not contain both." - - - - - A string like "The last segment, and only the last segment, must be a navigation property in $expand." - - - - - A string like "The last segment in a $select cannot be a TypeSegment." - - - - - A string like "An operation can only be the last segment in $select." - - - - - A string like "A navigation property can only be the last segment in $select." - - - - - A string like "No type could be computed for this Segment since there were multiple possible operations with varying return types." - - - - - A string like "The return type from the operation is not possible with the given entity set." - - - - - A string like "Please construct this SingleValueFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Please construct this SingleEntityFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Calling the wrong overload to convert named values to type." - - - - - A string like "Cannot use a non-primitive type as a parameter." - - - - - A string like "Calling the wrong overload to convert positional values to type." - - - - - A string like "Empty segment encountered in request URL. Please make sure that a valid request URL is specified." - - - - - A string like "Bad Request - Error in query syntax." - - - - - A string like "The request URI is not valid, the segment $count cannot be applied to the root of the service." - - - - - A string like "$value must not be specified for spatial values." - - - - - A string like "Error processing request stream. In batch mode, a resource can be cross-referenced only for bind/unbind operations. " - - - - - A string like "Segments with multiple key values must specify them in 'name=value' form." - - - - - A string like "Forbidden" - - - - - A string like "Found an operation bound to a non-entity type." - - - - - A string like "Value cannot be null or empty." - - - - - A string like "Found an unbalanced bracket expression." - - - - - A string like "Invalid JSON. More than one value was found at the root of the JSON content. JSON content can only have one value at the root level, which is an array, an object or a primitive value." - - - - - A string like "Invalid JSON. Unexpected end of input was found in JSON content. Not all object and array scopes were closed." - - - - - A string like "Invalid JSON. A token was not recognized in the JSON content." - - - - - A string like "Invalid JSON. Unexpected end of input reached while processing a JSON string value." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 10b18a911..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 27810209d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 4860b816c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 456bb0922..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 3361607d4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 06a478941..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 21ace1b79..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.OData.resources.dll deleted file mode 100644 index bd4389e76..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 17f076f1f..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/Microsoft.Data.OData.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/Microsoft.Data.OData.dll deleted file mode 100644 index 1631523f8..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/Microsoft.Data.OData.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/Microsoft.Data.OData.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/Microsoft.Data.OData.xml deleted file mode 100644 index 12e56c417..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/Microsoft.Data.OData.xml +++ /dev/null @@ -1,52770 +0,0 @@ - - - - Microsoft.Data.OData - - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance which does not URL-encode the resulting string. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Gets the literal formatter for URL constants which does not URL-encode the string. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Gets the url convention for the given entity container based on its vocabulary annotations. - - The model the entity container belongs to. - The container to get the url convention for. - The url convention of the container. - - - - Gets the url convention for the given user setting and type context. - - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The type context for the entry or feed being written. - The convention to use when generating URLs. - - - - Determines whether or not the annotation indicates the 'KeyAsSegment' url-convention. - - The annotation to check. - True if the annotation indicates the 'KeyAsSegment' url convention; false otherwise. - - - - Determines whether or not the value is 'KeyAsSegment'. - - The value to check. - True if the value is 'KeyAsSegment'.; false otherwise. - - - - Determines whether or not the term is the url-convention term. - - The term to check. - True if the term is the url-convention term.; false otherwise. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that knows how to bind binary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a BinaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Promote the left and right operand types - - the operator kind - the left operand - the right operand - - - - Retrieve SingleValueNode bound with given query token. - - the query token kind - the query token - the corresponding SingleValueNode - - - - Encapsulates the state of metadata binding. - TODO : finish moving fields from MetadataBinder here and see if anything can be removed. - - - - - The configuration used for binding. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Constructs a with the given . - - The configuration used for binding. - - - - The model used for binding. - - - - - The configuration used for binding. - - - - - If there is a $filter or $orderby, then this member holds the reference to the parameter node for the - implicit parameter ($it) for all expressions. - - - - - The dictionary used to store mappings between Any visitor and corresponding segment paths - - - - - Collection of query option tokens associated with the currect query being processed. - If a given query option is bound it should be removed from this collection. - - - - - Internal class for storing all the configuration information about the URI parser. Allows us to flow these values around without passing an actual parser. - - - - - Model to use for metadata binding. - - - - - Absolute URI of the service root. - - - - The conventions to use when parsing URLs. - - - - Initializes a new instance of . - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - Class that knows how to bind CastTokens. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a DottedIdentifierBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a DottedIdentifierToken and it's parent node (if needed). - - Token to bind to metadata. - State of the Binding. - A bound node representing the cast. - - - Use this class to perform late-bound operations on data service entity sets. - This class was copied from the product. - - - MethodInfo for object DataServiceProviderMethods.GetValue(this object value, string propertyName). - - - MethodInfo for IEnumerable<T> DataServiceProviderMethods.GetSequenceValue(this object value, string propertyName). - - - MethodInfo for Convert. - - - MethodInfo for TypeIs. - - - Method info for string comparison - - - Method info for Bool comparison - - - Method info for Bool? comparison - - - Method info for Guid comparison - - - Method info for Guid? comparison - - - Method info for byte array comparison. - - - Method info for byte array comparison. - - - Gets a named value from the specified object. - Object to get value from. - describing the property whose value needs to be fetched. - The requested value. - - - Gets a named value from the specified object as a sequence. - Object to get value from. - describing the property whose value needs to be fetched. - expected result type - The requested value as a sequence; null if not found. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference type to check for. - True if value is-a type; false otherwise. - - - - Compares 2 strings by ordinal, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable booleans with true greater than false, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - - Compares 2 nullable guids by byte order, used to obtain MethodInfo for comparison operator expression parameter - - Left Parameter - Right Parameter - 0 for equality, -1 for left less than right, 1 for left greater than right - - Do not change the name of this function because LINQ to SQL is sensitive about the - method name, so is EF probably. - - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are equal; false otherwise. - - - Compares two byte arrays for equality. - First byte array. - Second byte array. - true if the arrays are not equal; false otherwise. - - - - Helper class for throwing exceptions during URI parsing. - - - - Creates a new "Resource Not Found" exception. - segment identifier information for which resource was not found. - A new exception to indicate the requested resource cannot be found. - - - Creates a new "Resource Not Found" exception. - Plain text error message for this exception. - A new exception to indicate the requested resource cannot be found. - - - Creates a new exception to indicate a syntax error. - A new exception to indicate a syntax error. - - - - Creates a new exception to indicate BadRequest error. - - Plain text error message for this exception. - A new exception to indicate a bad request error. - - - Checks the specific value for syntax validity. - Whether syntax is valid. - This helper method is used to keep syntax check code more terse. - - - Checks the specifid value for syntax validity. - Whether syntax is valid. - segment indentifier for which the resource was null. - This helper method is used to keep syntax check code more terse. - - - - A component for walking an expand tree and determining if the depth or number of items exceed user-specified limits. - - - - - The maximum depth of any expand tree being validated. - - - - - The maximum number of expand items allowed in any expand tree being validated, including leaf and non-leaf nodes. - - - - - The current count when validating a particular tree. - - - - - Initializes a new instance of . - - The maximum depth of an expand tree. - The maximum number of expanded items allowed in a tree. - - - - Validates the given tree against the user-specified limits. - - The expand tree to validate. - - - - Recursively ensures that the maximum count/depth are not exceeded by walking the tree. - - The expand tree to walk and validate. - The current depth of the tree walk. - - - - Component for parsing function parameters in both $filter/$orderby expressions and in paths. - - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for filter/orderby. - - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters for path. - - The function name to use in error messages. - The contents of the parentheses portion of the current path segment. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters for path. - - The split parameters from the syntactic parsing step. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The lexer to read from. - The token kind that marks the end of the parameters. - The parameters if they were successfully split. - Whether the parameters could be split. - - - - Tries to parse a collection of function parameters. Allows path and filter to share the core algorithm while representing parameters differently. - - The type representing a parameter. - The syntactically split parameters to parse. - The configuration for the URI Parser. - The function import for the function whose parameters are being parsed. - The callback to use for individual parameter parsing. - The parameters if they were successfully parsed. - Whether the parameters could be parsed. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The current expression parameterToken from the lexer. - The parameter value if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - Tries to create a parameter using any representation based on the provided delegate for creating it from a converted value. - - The type used to represent a parameter. - The token from the syntactic parsing step. - The configuration for the URI Parser. - The type that the parameter is expected to resolve to. - Callback to create the final parameter from the parsed value. - The parameter if one was successfully created. - Whether the parameter could be created from the parameterToken. - - - - A token to represent a raw function parameter value that has not yet been parsed further. - - - - - Base class for all lexical tokens of OData query. - - - - - Base class for all annotatable types in OData library. - - - - The map of annotationsAsArray keyed by type. - - - - Collection of custom instance annotations. - - - - Gets or sets the annotation by type. - The annotation of type T or null if not present. - The type of the annotation. - - - Sets an annotation of type T. - The annotation to set. - The type of the annotation. - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Get the annotation of type . If the annotation is not found, create a new - instance of the annotation and call SetAnnotation on it then return the newly created instance. - - The type of the annotation. - The annotation of type . - - - - Gets the custom instance annotations. - - The custom instance annotations. - - - - Sets the custom instance annotations. - - The new value to set. - - - - Check whether a given (non-null) instance is of the specified type (no sub-type). - - The (non-null) instance to test. - The type to check for. - True if the types match; otherwise false. - - - - Replace an existing annotation of type T or add a new one - if no annotation of type T exists. - - The type of the annotation. - The annotation to set. - - - - Remove the annotation of type T from the set of annotations (if such an annotation exists). - We only allow a single occurence of an annotation of type T. - - The type of the annotation to remove. - - - - Empty list of arguments. - - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Creates a RawFunctionParameterValue - - the raw text of this parameter value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the raw text of the value. - - - - - Gets the kind of this token - - - - - A token to represent a parameter alias in a function call. - - - - - Creates a FunctionParameterAliasToken - - the alias being used for the parameter. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the alias. - - - - - Gets the kind of this token - - - - - A token to represent a parameter to a function call. - - - - - get an empty list of parameters - - - - - The name of the parameter - - - - - The value of this parameter - - - - - Creates a FunctionParameterToken - - the name of this parameter - the syntactically parsed value - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the name of this parameter - - - - - Gets the syntactically parsed value of this token. - - - - - Gets the kind of this token - - - - - Node representing a semantically parsed parameter to a function. - - - - - Base class for all semantic metadata bound nodes. - - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the kind of this node. - - - - - Gets the kind of this node. - - - - - The name of this parameter - - - - - The semantically parsed value of this parameter - - - - - Creates a NamedFunctionParameterNode to represent a semantically parsed parameter to a function. - - the name of this function - the already semantically parsed value of this parameter. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - Gets the name of this parameter - - - - - Gets the semantically parsed value of this parameter. - - - - - Gets the kind of this node - - - - - Gets the kind of this node. - - - - - Settings used by . - - - - - Default recursive call limit for Filter - - - - - Default recursive call limit for OrderBy - - - - - Default tree depth for Select and Expand - - - - - Default limit for the path parser. - - - - - the recursive depth of the Syntactic tree for a filter clause - - - - - the maximum depth of the syntactic tree for an orderby clause - - - - - the maximum number of segments in a path - - - - - the maximum depth of the Syntactic or Semantic tree for a Select or Expand clause - - - - - Flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Whether use the behavior that the WCF DS Server had before integration. - - - - - The maximum depth of the tree that results from parsing $expand. - - - - - The maximum number of instances that can appear in the tree that results from parsing $expand. - - - - - Initializes a new instance of with default values. - - - - Specifies whether the WCF data services server behavior is enabled. - - - - Gets or sets the maximum depth of the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or sets the maximum number of instances that can appear in the tree that results from parsing $expand. - - - This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. - Further, redundant expansions will be pruned before validation and will not count towards the maximum. - - - - - Gets or Sets the maximum recursive depth for a select and expand clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets a flag that indicates Whether use the behavior that the WCF DS Server had before integration. - - - - - Gets or sets a flag that indiactes whether or not inlined query options like $filter within $expand clauses as supported. - - - - - Gets or Sets the limit on the maximum depth of the filter tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or sets the maximum recursive depth for an orderby clause, which limits the maximum depth of the tree that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - The number here doesn't necessarily correspond exactly with the actual maximum recursive depth of the syntactic tree, - i.e a limit of 20 doesn't necessarily mean that a tree will have depth exactly 20, it may have depth 10 (but never over 20). - Think of it more as an upper bound. - - Throws if the input value is negative. - - - - Gets or Sets the limit on the maximum number of segments that can be parsed by the - syntactic parser. This guarantees a set level of performance. - - - Unlike Filter, OrderBy, and SelectExpand, this Limit is more concrete, and will - limit the segments to exactly the number that is specified... i.e. a limit of - 20 will throw if and only if there are more than 20 segments in the path. - - Throws if the input value is negative. - - - - Bind an entire Uri to Metadata. - - - - - The current state of the binding algorithm. - - - - - pointer to the metadata bind method. - - - - - Create a new ODataUriSemanticBinder to bind an entire uri to Metadata. - - the current state of the binding algorithm - pointer to the metadata bind method. - - - - Binds a . - - The query descriptor token to bind. - The bound query descriptor. - - - - Bind an inline count option - - The inline count option to bind. - the top level path - an InlineCountKind representing this inline count option - - - - Bind a select and expand option. - - A syntax tree containing the select and expand options to bind - the top level path - The configuration to use for binding. - a select expand clause bound to metadata - - - - Bind a top option - - a syntax tree containing the top option to bind - the range variable that iterates over the top level collection - the top level path - a nullable long representing this top option - - - - Bind a skip option - - a syntax tree containing the skip option - the range variable that iterates over the top level collection - the top level path. - a nullable long representing this skip option - - - - Bind an orderby option - - a syntac tree containing the orderby option - the range variable that iterates over the top level collection - the top level path - an OrderByClause representing this orderby option - - - - Bind a filter option - - a syntactic tree containing the filter option - the range variable that iterates over the top level collection. - A filter clause representing this filter option - - - - Helper class to help bind function overloads. - This is shared between path and filter/orderby function resolution. - - - - - Given a list of possible functions and a list of parameter names, choose a single function that exactly matches - the parameter names. If more than one function matches, throw. - - - Binding parameters will be ignored in this method. Only non-binding parameters are matched. - - The list of function imports to search. - The list of non-binding parameter names to match. - Name of the function. Only used for error strings. - A single function import that matches the parameter names exactly. - - - - Try to resolve a function from the given inputs. - - The identifier of the function that we're trying to find - the names of the parameters to search for. - the type of the previous segment - the model to use to look up the function import - The single matching function found. - True if a function was matched, false otherwise. Will throw if the model has illegal function imports. - - - - Add semantic meaning to a Select or Expand token. - - - - - Add semantic meaning to a Select or Expand Token - - the top level entity type. - the top level entity set - the syntactically parsed expand token - the syntactically parsed select token - The configuration to use for parsing. - A select expand clause bound to metadata. - - - - Node to represent a function call that returns a Collection - - - - - Base class for all semantic metadata bound nodes which represent a composable collection of values. - - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - the name of this function - - - - - the list of function imports - - - - - the list of parameters provided to this function - - - - - the individual item type returned by this function - - - - - the collection type returned by this function - - - - - The semantically bound parent of this function. - - - - - Creates a CollectionFunctionCallNode to represent a function call that returns a collection - - The name of this function. - the list of function imports that this node should represent. - the list of already bound parameters to this function - the type of the collection returned by this function. - The parent of this CollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not a primitive or complex type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function. - - - - - Gets the list of function imports represeted by this node - - - - - Gets the list of parameters to this function - - - - - Gets the individual item type returned by this function - - - - - The type of the collection represented by this node. - - - - - Gets the semantically bound parent node of this CollectionFunctionCallNode. - - - - - Gets the kind of this node. - - - - - Translator that determines the entity set of a segment. - - - - - Translator interface for walking the Syntactic Tree. - - Generic type produced by the translator. - - - - Translate a TypeSegment - - the segment to Translate - Defined by the implementer - - - - Translate a NavigationPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate an EntitySetSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a KeySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a PropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a OperationSegment - - the segment to Translate - Defined by the implementer. - - - - Translate an OpenPropertySegment - - the segment to Translate - Defined by the implementer. - - - - Translate a CountSegment - - the segment to Translate - Defined by the implementer. - - - - Visit a NavigationPropertyLinkSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a ValueSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a BatchReferenceSegment - - the segment to Translate - Defined by the implementer. - - - - Translate a MetadataSegment - - the segment to Translate - Defined by the implementer. - - - - Determine the EntitySet of a NavigationPropertyLinkSegment - - The NavigationPropertyLinkSegment to look in. - The IEdmEntitySet of this NavigationPropertyLinkSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a TypeSegment - - The TypeSegment to look in. - The IEdmEntitySet of this TypeSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a NavigationPropertySegment - - The NavigationPropertySegment to look in. - The IEdmEntitySet of this NavigationPropertySegment - Throws if the input segment is null. - - - - Determine the EntitySet of an EntitySetSegment - - The EntitySetSegment to look in. - The IEdmEntitySet of this EntitySetSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a KeySegment - - The KeySegment to look in. - The IEdmEntitySet of this KeySegment - Throws if the input segment is null. - - - - Determine the EntitySet of a PropertySegment - - The PropertySegment to look in. - null, since a property doesn't necessarily have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of an OperationSegment - - The OperationSegment to look in. - The IEdmEntitySet of this OperationSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a CountSegment - - The CountSegment to look in. - null, since $count doesn't have an entitySet - Throws if the input segment is null. - - - - Determine the EntitySet of a OpenPropertySegment - - The OpenPropertySegment to look in. - null, since an OpenProperty doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a ValueSegment - - The ValueSegment to look in. - null, since $value doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchSegment - - The BatchSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Determine the EntitySet of a BatchReferenceSegment - - The BatchReferenceSegment to look in. - The IEdmEntitySet of this BatchReferenceSegment - Throws if the input segment is null. - - - - Determine the EntitySet of a MetadataSegment - - The MetadataSegment to look in. - null, since $batch doesn't have an entity set - Throws if the input segment is null. - - - - Build a semantic tree for Expand based on an Expand syntactic tree. - - - - - The configuration used for binding. - - - - - The entity set at the current level expand. - - - - - The entity type at the current level expand. - - - - - Constructs a new ExpandBinder. - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Visit an ExpandToken - - the token to visit - a SelectExpand clause based on this ExpandToken - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Build a expand clause for a nested expand. - - A new SelectExpandClause. - - - - Generate an expand item based on an ExpandTermToken - - the expandTerm token to visit - the expand item for this expand term token. - - - - Build a new MetadataBinder to use for expand options. - - The entity set being expanded. - A new MetadataBinder ready to bind a Filter or Orderby clause. - - - - The model used for binding. - - - - - The top level entity type. - - - - - The top level entity set for this level. - - - - - The settings to use when binding. - - - - - The configuration used for binding. - - - - - Build an ExpandBinder based on global settings - - - - - Build an ExpandBinder based on global settings - - The entity type of the top level expand item. - The entity set of the top level expand item. - The configuration to use for binding. - An ExpandBinder strategy based on the global settings - - - - ExpandOption variant of an ExpandBinder, where the default selection item for a given level is based on the select at that level - instead of the top level select clause. If nothing is selected for a given expand in the ExpandOption syntax, then we by default - select all from that item, instead of selecting nothing (and therefore pruning the expand off of the tree). - - - - - Build the ExpandOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Object that knows how to parse a single term within a select expression. That is, a path to a property, - a wildcard, operation name, etc. - - - - - Interface for the SelectExpandTermParsing strategy - - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Lexer used to parse an expression. - - - - - are we parsing select. - - - - - the maximum allowable recursive depth. - - - - - The current recursion depth. - - - - - Create a SelectExpandTermParser - - the clause to parse - the maximum recursive depth - - - - Parses a full $select expression. - - The lexical token representing the select. - - - - Parses a full $expand expression. - - The lexical token representing the select. - - - - Parses a single term in a comma seperated list of things to select. - - is this an inner or outer select term - A token representing thing to select. - - - - Parses a single term in a comma seperated list of things to expand. - - is this an inner or outer term. - A token representing thing to expand. - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Parses a select or expand term into a query token - - parsed query token - - - - Uses the ExpressionLexer to visit the next ExpressionToken, and delegates parsing of segments, type segments, identifiers, - and the star token to other methods. - - Previously parsed QueryToken, or null if this is the first token. - A parsed QueryToken representing the next part of the expression. - - - - Parses a segment; a expression that is followed by a slash. - - The parent of the segment node. - The lexical token representing the segment. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - The maximum recursive depth. - - - - - Build the ExpandOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token, and all available expand options. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Read a query option from the lexer. - - the query option as a string. - - - - Translator from the old expand syntax tree to the new Expand Option syntax tree - - - - - Normalize an expand syntax tree into the new ExpandOption syntax. - - the tree to normalize - a new tree, in the new ExpandOption syntax - - - - Invert the all of the paths in an expandToken, such that they are now in the same order as they are present in the - base url - - the tree to invert paths on - a new tree with all of its paths inverted - - - - Collapse all redundant terms in an expand tree - - the tree to collapse - A new tree with all redundant terms collapsed. - - - - Expand all the PathTokens in a particular term into their own separate terms. - - the term to expand - a new ExpandTermToken with each PathToken at its own level. - - - - add a new expandTermToken into an exisiting token, adding any additional levels and trees along the way. - - the exisiting (already expanded) token - the new (already expanded) token - the combined token, or, if the two are mutually exclusive, the same tokens - - - - Combine the child nodes of twoExpandTermTokens into one list of tokens - - the existing token to to - the new token containing terms to add - a combined list of the all child nodes of the two tokens. - - - - Add child options to a new dictionary - - the token with child nodes to add to the dictionary - dictionary to add child nodes to - - - - Adds the expand token to the dictionary or combines it with an existing or combines it with another existing token with an equivalent path. - - The combined terms dictionary. - The expanded term to add or combine. - - - - A set of extensions to for parsing literals. - - - - - Returns whether the is a primitive literal type: - Binary, Boolean, DateTime, Decimal, Double, Guid, In64, Integer, Null, Single, or String. - Internal for test use only - - InternalKind of token. - Whether the is a literal type. - - - Reads the next token, checks that it is a literal token type, converts to to a Common Language Runtime value as appropriate, and returns the value. - The expression lexer. - The value represented by the next token. - - - - Parses null literals. - - The expression lexer. - The literal token produced by building the given literal. - - - - Parses typed literals. - - The expression lexer. - Expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses a literal. - Precondition: lexer is at a literal token type: Boolean, DateTime, Decimal, Null, String, Int64, Integer, Double, Single, Guid, Binary. - - The expression lexer. - The literal query token or null if something else was found. - - - - Utilities needed by which are relatively simple and standalone. - - - - Suffix for single literals. - - - Suffix for single literals. - - - Whether the specified token identifier is a numeric literal. - Token to check. - true if it's a numeric literal; false otherwise. - - - - Checks if the is INF or NaN. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether equals to 'INF' - Internal for testing only - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Checks if the is INFf/INFF or NaNf/NaNF. - Internal for testing only. - - Input token. - true if match found, false otherwise. - - - - Checks whether EQUALS to 'INFf' or 'INFF'. - Internal for testing only. - - Text to look in. - true if the substring is equal using an ordinal comparison; false otherwise. - - - - Class responsible for binding a syntactic filter expression into a bound tree of semantic nodes. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - State to use for binding. - - - - - Creates a FilterBinder. - - Method to use to visit the token tree and bind the tokens recursively. - State to use for binding. - - - - Binds the given filter token. - - The filter token to bind. - A FilterNode with the given path linked to it (if provided). - - - - Class that knows how to bind function call tokens. - - - - - Method to use for binding the parent node, if needed. - - - - - The names of functions that we don't bind to BuiltInFunctions - - - - - Constructs a FunctionCallBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Promotes types of arguments to match signature if possible. - - The signature to match the types to. - The types to promote. - - - - Checks that all arguments are SingleValueNodes - - The name of the function the arguments are from. - The arguments to validate. - Returns the types of the arguments provided. - - - - Finds the signature that best matches the arguments - - The name of the function - The types of the arguments - The signatures to match against - Returns the matching signature or throws - - - - Finds all signatures for the given function name. - - The function to get the signatures for. - The signatures which match the supplied function name. - - - - Binds the token to a SingleValueFunctionCallNode - - Token to bind - The current state of the binding algorithm - The resulting SingleValueFunctionCallNode - - - - Try to bind an end path token as a function call. Used for bound functions without parameters - that parse as end path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind an inner path token as a function call. Used for bound functions without parameters - that parse as inner path tokens syntactically - - the end path token to bind - the parent node to this end path token. - the current state of the binding algorithm - a single value function call node representing the function call, if it exists - true if we found a function for this token, false otherwise. - - - - Try to bind a as a function call. Used for container qualified functions without parameters. - - the dotted identifier token to bind - the semantically bound parent node for this dotted identifier - the current stat of the binding algorithm - a single value function call node representing the function call, if we found one. - true if we found a function for this token, false otherwise. - - - - Bind this function call token as a built in function - - the function call token to bidn - the current state of the binding algorithm - list of semantically bound arguments - A function call node bound to this function. - - - - Try to bind an identifier to a FunctionCallNode - - the identifier to bind - the semantically bound list of arguments. - a semantically bound parent node. - the current state of the binding algorithm - a single value function call node representing this funciton call, if we found one. - true if we found a function for this token. - - - - Determines whether this is a function that we don't bind to a BuiltInFunction - - name of the function - true if this is a function that we don't bind - - - - Build a SingleValueFunctionCallNode for a function that isn't bound to a BuiltInFunction - - original query token for this function - list of already bound query nodes for this function - The current state of the binding algorithm. - A single value function call node bound to this function. - - - - Validate the args list (adding the implicit range variable if necessary), and determine the correct return type for a cast function - - current binding state, used to get the implicit range variable if necessary - list of arguments, could be changed - the return type from this cast function - - - - Validate the arguments (adding the implicit range variable if necessary), and determine the correct return type - for an IsOf function - - the current state of the binding algorithm, used to get the implicit range variable if necessary - current list of args, can be changed - the correct return type for this function. - - - - Validate the arguments to either isof or cast - - the current state of the binding algorithm - flag to indicate which function we're validating - the list of arguments, which could be changed - the return type of the function. - - - - Try to get an IEdmTypeReference for a given type as a string, returns null if none exists - - the model for validation - the type name to find - an IEdmTypeReference for this type string. - - - - Implementation of IFunctionCallParser that allows functions calls and parses arguments with a provided method. - TODO : This implementation is incomplete. - - - - - Interface for a class that can parse an identifier as a function and return a representitive QueryToken. - - - - - Parses an identifier that represents a function. - - the syntactically bound parent of this identifier. - QueryToken representing this function. - - - - Reference to the lexer. - - - - - Reference to the lexer. - - - - - Method used to parse arguments. - - - - - Create a new FunctionCallParser. - - Lexer positioned at a function identifier. - Method to use for parsing individual arguments in the function. - - - - Parses an identifier that represents a function. - - Token for the parent of the function being parsed. - QueryToken representing this function. - - - - Parses argument lists. - - The lexical tokens representing the arguments. - - - - Parses comma-separated arguments. - - - Arguments can either be of the form a=1,b=2,c=3 or 1,2,3. - They cannot be mixed between those two styles. - - The lexical tokens representing the arguments. - - - - Read the list of arguments as a set of positional values - - A list of FunctionParameterTokens representing each argument - - - - Try to read the list of arguments as a set of named values - - the parsed list of arguments - true if the arguments were successfully read. - - - - Reference to the lexer. - - - - - Class that knows how to parse an identifier using an ExpressionLexer that is appropriately positioned. - - - - - Reference to the lexer. - - - - - parameters from the expression parser - - - - - Object to handle the parsing of things that look like function calls. - - - - - Parse an Identifier into the right QueryToken - - parameters passed in to the UriQueryExpressionParser - Object to use to handle parsing function calls. - - - - Parses identifiers. - - the syntactically bound parent of this identifier. - The lexical token representing the expression. - - - - Parses member access. - - Instance being accessed. - The lexical token representing the expression. - - - - Parses * (all member) access at the beginning of a select expression. - - Instance being accessed. - The lexical token representing the expression. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Visitor interface for walking the Path Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an SystemToken - - The SystemToken to visit - A user defined class - - - - Visit an NonSystemToken - - The NonSystemToken to visit - A user defined class - - - - Visitor interface for walking the Path Tree. - - - - - Visit an SystemToken - - The SystemToken to visit - - - - Visit an NonSystemToken - - The NonSystemToken to visit - - - - Visitor interface for walking the Syntactic Tree. - - Return type for the visitor methods on this visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a LiteralToken - - LiteralToken to visit - A ConstantNode bound to this LiteralToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits a EndPathToken - - The EndPathToken to bind - A PropertyAccessNode bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FunctionParameterToken - - The FunctionParameterTokenb to bind - A FunctionParametertoken bound to this UnaryOperatorToken - - - - Class that knows how to bind key values. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - Constructs a KeyBinder object using the given function to bind key values. - - Method to call to bind a value in a key. - - - - Binds key values to a key lookup on a collection. - - Already bound collection node. - The named value tokens to bind. - The bound key lookup. - - - - Binds a key property value. - - The named value to bind. - The type of a single item in a collection to apply the key value to. - The bound key property value node. - - - Provides a class used to represent a key for a resource. - - Internally, every key instance has a collection of values. These values - can be named or positional, depending on how they were specified - if parsed from a URI. - - - - Empty key singleton. - - - Named values. - - - Positional values. - - - Whether or not the key was formatted as a segment. - - - Initializes a new empty instance. - - - Initializes a new instance. - Named values. - Positional values for this instance. - Whether or not the key was formatted as a segment. - - One of namedValues or positionalValues should be non-null, but not both. - - - - Attempts to parse key values from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - - Creates a key instance from the given raw segment text with a single positional value. - - The segment text. - A key instance with the given segment text as its only value. - - - Attempts to parse nullable values (only positional values, no name-value pairs) from the specified text. - Text to parse (not null). - After invocation, the parsed key instance. - - true if the given values were parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Tries to convert values to the keys of the specified type. - The key properties to use for the conversion. - The converted key-value pairs. - true if all values were converted; false otherwise. - - - - Try to convert a value into an EDM primitive type - - the type to convert to - the value to convert - The converted value, if conversion succeeded. - true if the conversion was successful. - - - Attempts to parse key values from the specified text. - Text to parse (not null). - Set to true if the parser should accept named values - so syntax like Name='value'. If this is false, the parsing will fail on such constructs. - Set to true if the parser should accept null values. - If set to false, the parser will fail on null values. - After invocation, the parsed key instance. - - true if the key instance was parsed; false if there was a - syntactic error. - - - The returned instance contains only string values. To get typed values, a call to - TryConvertValues is necessary. - - - - Creates a new instance if the specified value is null. - Type of variable. - Current value. - - - Whether the values have a name. - - - Checks whether this key has any values. - - - Returns a dictionary of named values when they AreValuesNamed is true. - - - Returns a list of values when they AreValuesNamed is false. - - - Number of values in the key. - - - - Class that knows how to bind a LambdaToken. - - - - - Method used to bind a parent token. - - - - - Constructs a LambdaBinder. - - Method used to bind a parent token. - - - - Binds a LambdaToken to metadata. - - Token to bind. - Object to hold the state of binding. - A metadata bound any or all node. - - - - Bind the parent of the LambdaToken - - the parent token - the bound parent node - - - - Bind the expression of the LambdaToken - - the expression token - the bound expression node - - - - Class that knows how to bind literal values. - - - - - Binds a literal value to a ConstantNode - - Literal token to bind. - Bound query node. - - - Use this class to parse literals from keys, etags, skiptokens, and filter/orderby expression constants. - - - - Default singleton instance of the literal parser. - - - - - Singleton instance of the literal parser for when keys-as-segments is turned on, which does not wrap the formatted strings in any quotes or type-markers. - - - - - Mapping between primitive CLR types and lightweight parser classes for that type. - - - - - Gets the literal parser for keys, based on whether the keys are formatted as segments. - - Whether or not the keys is formatted as a segment. - The literal parser to use. - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Gets the literal parser to use for ETags. - - - - - Default literal parser which has type-markers and single-quotes. Also supports arbitrary literals being re-encoded in binary form. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Tries to parse the literal by first removing required formatting for the expected type, then converting the resulting string. - - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - Simplified literal parser for keys-as-segments which does not expect type-markers, single-quotes, etc. Does not support re-encoding literals as binary. - - - - Converts a string to a primitive value. - Type to convert string to. - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - - - - If the string starts with '$', removes it. - Also asserts that the 2nd character is also '$', as otherwise the string would be treated as a system segment. - - The text. - The string value with a leading '$' removed, if the string started with one. - - - - Helper class for parsing a specific type of primitive literal. - - - - XML whitespace characters to trim around literals. - - - - The expected prefix for the literal. Null indicates no prefix is expected. - - - - - The expected suffix for the literal. Null indicates that no suffix is expected. - - - - - Whether or not the suffix is required. - - - - - The expected type for this parser. - - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Initializes a new instance of the class. - - The expected type for this parser. - The expected prefix for the literal. - - - - Initializes a new instance of the class. - - The expected type for this parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - Whether or not conversion was successful. - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - Whether or not the expected formatting was found and succesfully removed. - - - - Determines whether the values for the specified types should be - quoted in URI keys. - - Type to check. - - true if values of require quotes; false otherwise. - - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - - - - Primitive parser which uses a delegate for conversion. - - The expected CLR type when parsing. - - - - The delegate to use for conversion. - - - - - Initializes a new instance of the class. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - - - - Prevents a default instance of the class from being created. - - The delegate to use for conversion. - The expected prefix for the literal. - - - - Creates a primitive parser which wraps the given delegate and does not expect any extra markup in serialized literal. - - The delegate to use for conversion. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to start with one of the given prefixes. - - The delegate to use for conversion. - The expected prefix for the literal. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - A new primitive parser. - - - - Creates a primitive parser which wraps the given delegate and expects serialized literals to end with the given suffix. - - The delegate to use for conversion. - The expected suffix for the literal. Null indicates that no suffix is expected. - Whether or not the suffix is required. - A new primitive parser. - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Parser specific to the Edm.Decimal type. - - - - - Initializes a new instance of the class. - - - - - Special helper to convert a string to a decimal that will allow more than what XmlConvert.ToDecimal supports by default. - - The text to convert. - The converted decimal value. - - - - Parser specific to the Edm.Binary type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - Returns the 4 bits that correspond to the specified character. - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - - - - Parser specific to the Edm.String type. - - - - - Initializes a new instance of the class. - - - - - Tries to convert the given text into this parser's expected type. Conversion only, formatting should already have been removed. - - The text to convert. - The target value. - - Whether or not conversion was successful. - - - - - Tries to remove formatting specific to this parser's expected type. - - The text to remove formatting from. - - Whether or not the expected formatting was found and succesfully removed. - - - - - Helper methods for metadata binding. - - - - - If the source node is not of the specified type, then we check if type promotion is possible and inject a convert node. - If the source node is the same type as the target type (or if the target type is null), we just return the source node as is. - - The source node to apply the convertion to. - The target primitive type. May be null - this method will do nothing in that case. - The converted query node, or the original source node unchanged. - - - - Retrieves type associated to a segment. - - The node to retrive the type from. - The type of the node, or item type for collections. - - - - Retrieves the type reference associated to a segment. - - The node to retrive the type reference from. - The Type reference of the node (item type reference for collections). - - - - Class to provide methods that wrap EdmLib calls that are normally not allows in ODataLib, but - are OK in the Uri Parser. These are OK to suppress because the Uri Parser - does not need to go through the behavior knob that the ODL reader/writer does. - This should only be used by the Uri Parser. - - - - - Wraps a call to IEdmModel.FindType. - - The model to search. - The qualified name of the type to find within the model. - The requested type, or null if no such type exists. - - - - Wraps call to FindTypeFromModel for a Collection type. - - the model to search - the name to find within the model - a type reference to the collection type, or null if no such type exists. - - - - Wraps a call to IEdmFunctionImport.ReturnType. - - The function import containing the return type. - Gets the return type of this function. - - - - Wraps a call to IEdmEntitySet.ElementType. - - The EntitySet to containing the element type. - The entity type contained in this entity set. - - - - Wraps a call to IEdmFunctionParameter.Type. - - The IEdmFunctionParameter containing the typ[e. - The type of this function parameter. - - - - Check whether the parent and child are properly related types - - the parent type - the child type - Throws if the two types are not related. - - - - Follow an ODataPath from an Expand to get the Final Nav Prop - - the path to follow - the navigation property at the end of that path. - Throws if the last segment in the path is not a nav prop. - - - - Follow an ODataPath from to get the most derived type - - the path to follow - the starting type before beginning to walk the path. - the most derived type in the path. - - - - Is this token a container - - the containerIdentifier of the container to find - which model to search - the container we found, if we found one - true if we find a container, false otherwise - - - - Returns true if this type is an EntityCollection - - The type to check - true if the type is an entity collection - - - - Checks whether all function imports have the same return type - - the list to check - true if the list of function imports all have the same return type - - - - Is this a valid binding type. i.e. is this an entity, entity colleciton, or complex type. - - the binding type - true if this binding type is valid - - - - NonOption variant of an ExpandBinder, where the default selection at each level is based on the top level select - clause. If that top level select is not populated, then we select all from this level, instead of selecting nothing. - - - - - Build the NonOption variant of an ExpandBinder - - The configuration used for binding. - The entity type of the top level expand item. - The entity set of the top level expand item. - - - - Generate a SubExpand based on the current nav property and the curren token - - the current navigation property - the current token - a new SelectExpand clause bound to the current token and nav prop - - - - Decorate an expand tree using a select token. - - the already built sub expand - the current navigation property - the select token to use - A new SelectExpand clause decorated with the select token. - - - - Object that knows how to parse a single term within a select expression. That is, apath to a property, - a wildcard, operation name, etc. - - - - - Build the NonOption strategy. - - the clause to parse - max recursive depth - - - - Build the list of expand options - Depends on whether options are allowed or not. - - is this an inner expand term - the current level token, as a PathToken - An expand term token based on the path token. - - - - determine whether we're at the end of a select or expand term - - flag to indicate whether this is an outer or inner select. - true if we are not at the end of a select term. - - - - Class responsible for binding a InnerPathToken into: - 1. SingleNavigationNode - 2. CollectionNavigationNode - 3. SinglePropertyAccessNode (complex) - 4. CollectionPropertyAccessNode (primitive | complex) - 5. KeyLookupNode - 6. SingleValueFunctionCallNode - 7. SingleEntityFunctionCallNode - - TODO The binder does support key lookup on collection navigation properties, however at this time - the synctactic parser does not set things up correctly to allow end-to-end scenarios to work. - - - - Bind method to use for binding a parent node, if needed. - - - - - Constructs a InnerPathTokenBinder. - - Bind method to use for binding a parent node, if needed. - - - - Ensures that the parent node is of entity type, throwing if it is not. - - Parent node to a navigation property. - The given parent node as a SingleEntityNode. - - - - Given a property name, if the associated type reference is strucutred, then this returns - the property of the structured type. Otherwise, it returns null. - - The parent type to be used to find binding options. - The string designated the property name to be bound. - The property associated with string and parent type. - - - - Builds an appropriate navigation query node (collection or single) for the given property and parent node. - - Navigation property. - Parent Node. - Named values (key values) that were included in the node we are binding, if any. - State of binding. - Object to perform binding on any key values that are present. - A new CollectionNavigationNode or SingleNavigationNode to capture the navigation propety access. - - - - Binds a . - This includes more than just navigations - it includes complex property access and primitive collections. - - The segment token to bind. - The state of binding. - The bound node. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Factory class to build IParameterQueryNodes. - - - - - Creates a for an implicit parameter ($it) from an . - - that the range variable is iterating over. - A new . - - - - Creates a ParameterQueryNode for an implicit parameter ($it). - - Element type the parameter represents. - Entity Set. May be null and must be null for non entities. - A new IParameterNode. - - - - Creates a RangeVariableReferenceNode for a given range variable - - Name of the rangeVariable. - A new SingleValueNode (either an Entity or NonEntity RangeVariableReferenceNode. - - - - Creates a ParameterQueryNode for an explicit parameter. - - Name of the parameter. - CollectionNode that the parameter is iterating over. - A new RangeVariable. - - - - Creates an AnyNode or an AllNode from the given - - State of binding. - Parent node to the lambda. - Bound Lambda expression. - The new range variable being added by this lambda node. - Token kind. - A new LambdaNode bound to metadata. - - - - Handler interface for walking the path semantic tree. - - - - - Handle a TypeSegment - - the segment to Handle - - - - Handle a NavigationPropertySegment - - the segment to Handle - - - - Handle an EntitySetSegment - - the segment to Handle - - - - Handle a KeySegment - - the segment to Handle - - - - Handle a PropertySegment - - the segment to Handle - - - - Handle an OperationSegment - - the segment to Handle - - - - Handle an OpenPropertySegment - - the segment to Handle - - - - Handle a CountSegment - - the segment to Handle - - - - Handle a LinksSegment - - the segment to Handle - - - - Handle a ValueSegment - - the segment to Handle - - - - Handle a BatchSegment - - the segment to Handle - - - - Handle a BatchReferenceSegment - - the segment to Handle - - - - Handle a MetadataSegment - - the segment to Handle - - - - Node to represent a function call that returns a collection of entities. - - - - - Base class for all semantically bound nodes which represent a composable collection of values. - - - - - Get the resouce type of a single entity from the collection represented by this node. - - - - - Get the EntitySet that contains this collection. - - - - - the name of this function. - - - - - list of function imports that this node represents. - - - - - list of parameters provided to this function - - - - - the type a single entity returned by this function - - - - - the type of the collection returned by this function - - - - - the set containing the entities returned by this function. - - - - - The semantically bound parent of this EntityCollectionFunctionCallNode. - - - - - Creates an EntityCollecitonFunctionCallNode to represent a function call that returns a collection of entities. - - The name of this function. - the list of function imports that this node represents. - the list of parameters to this function - the type the entity collection returned by this function. The element type must be an entity type. - the set containing entities returned by this function - the semantically bound parent of this EntityCollectionFunctionCallNode. - Throws if the provided name is null. - Throws if the provided collection type reference is null. - Throws if the element type of the provided collection type reference is not an entity type. - Throws if the input function imports is null - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of this function - - - - - Gets the list of function imports that this node represents. - - - - - Gets the list of parameters provided to this function. - - - - - Gets the individual item type returned by this function. - - - - - The type of the collection represented by this node. - - - - - Gets the individual entity type returned by this function. - - - - - Gets the entity set contaiing the entities returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Segment translator to determine whether a given is a collection. - - - - - Translate a NavigationPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an EntitySetSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a KeySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a PropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate an OpenPropertySegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a CountSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a NavigationPropertyLinkSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a BatchReferenceSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a ValueSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - Translate a MetadataSegment - - the segment to Translate - UserDefinedValue - Throws if the input segment is null. - - - - A segment representing $links or $ref - - - - - The semantic representation of a segment in a path. - - - - Returns the identifier for this segment i.e. string part without the keys. - - - Indicates whether this segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - Creates a new Segment and copies values from another Segment. - - Segment to copy values from. - - - - Creates a new Segment. - - - - - Translate a using an implemntation of. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - - - - Handle a using an implementation of a . - - An implementation of the handler interface. - - - - Check if this segment is equal to another segment. - - the other segment to check - true if the segments are equal. - - - - Copies over all the values of the internal-only properties from one segment to another. - - Ther segment to copy from. - - - - Gets the of this . - - This property can be null. Not all segments have a Type, such as a . - - - Returns the identifier for this segment i.e. string part without the keys. - - - Whether the segment targets a single result or not. - - - The entity set targetted by this segment. Can be null. - - - The type targetted by this segment. Can be null. - - - The kind of resource targeted by this segment. - - - - The navigation property this link or ref acts on. - - - - - Build a segment to represnt $links or $ref on a Nav prop - - The navigaiton property this link or ref acts on - The set of entities linked to by this . This can be null. - Throws if the input navigationProperty is null. - - - - Translate a - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - The other segment to check. - True if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property this link or ref acts on. - - - - - Gets the set of entities linked to by this . - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of or . - - - - - A representation of the path portion of an OData URI which is made up of s. - - - - - The segments that make up this path. - - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Creates a new instance of containing the given segments. - - The segments that make up the path. - Throws if input segments is null. - - - - Get the segments enumerator - - The segments enumerator - - - - get the segments enumerator - - The segments enumerator. - - - - Walk this path using a translator - - the return type of the translator - a user defined translation path - an enumerable containing user defined objects for each segment - - - - Walk this path using a handler - - the handler that will be applied to each segment - - - - Checks if this path is equal to another path. - - The other path to compare it to - True if the two paths are equal - Throws if the input other is null. - - - - Add a segment to this path. - - the segment to add - Throws if the input newSegment is null. - - - - Gets the first segment in the path. Returns null if the path is empty. - - - - - Get the last segment in the path. Returns null if the path is empty. - - - - - Get the number of segments in this path. - - - - - Create an ODataPath object to represent a path semantically - - The list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Create an ODataPath object based on a single segment - - A list of segments in the path. - Throws if this list of segments doesn't match the requirements for a $expand - - - - Gets the navigation property for this expand path. - - the navigation property for this expand path. - - - - Ensure that this expand path contains only valid segment types. - - Throws if this list of segments doesn't match the requirements for a $expand - - - - Extension methods for . These method provide convenince functions. - TODO: Implement this class and it's visitors. These are stubs. - - - The values that these methods compute are not cached. - - - - - Computes the of the resource identified by this . - - Path to compute the type for. - The of the resource, or null if the path does not identify a - resource with a type. - - - - Computes the of the resource identified by this . - - Path to compute the set for. - The of the resource, or null if the path does not identify a - resource that is part of a set. - - - - Computes whether or not the resource identified by this is a collection. - - Path to perform the computation on. - True if the resource if a feed or collection of primitive or complex types. False otherwise. - - - Translates from an IPathSegment into an ODataPath - - - - Binds a collection of to metadata, creating a semantic ODataPath object. - - Collection of path segments. - The configuration to use when binding the path. - A semantic object to describe the path. - - - - Main Public API to parse an ODataURI. - - - - - The parser's configuration. - - - - - Build an ODataUriParser - - Model to use for metadata binding. - Absolute URI of the service root. - Throws if input model is null. - Throws if the input serviceRoot is not an AbsoluteUri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the filter expression. - Model to use for metadata binding. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - A representing the metadata bound orderby expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided . - - String representation of the orderby expression. - Model to use for metadata binding. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parse a filter clause from an instantiated class. - - the filter clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A FilterClause representing the metadata bound filter expression. - - - - Parse an orderby clause from an instance of this class - - the orderby clause to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - An OrderByClause representing the metadata bound orderby expression. - - - - Parses a into a semantic object. - - - This is designed to parse the Path of a URL. If it is used to parse paths that are contained - within other places, such as $filter expressions, then it may not enforce correct rules. - - The absolute URI which holds the path to parse. - An representing the metadata-bound path expression. - Throws if the serviceRoot member is null, or if the input path is not an absolute uri. - - - - ParseSelectAndExpand from an instantiated class - - the select to parse - the expand to parse - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. This can be null, if so that null will propagate through the resulting SelectExpandClause. - A SelectExpandClause with the semantic representation of select and expand terms - - - - Parse a full Uri into its contingent parts with semantic meaning attached to each part. - See . - - The full uri to parse. - An representing the full uri. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - - - - Parses the full Uri. - - The full uri to parse - An ODataUri representing the full uri - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided. - - String representation of the filter expression. - Type that the filter clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound filter expression. - - - - Parses a clause on the given , binding - the text into semantic nodes using the provided model. - - String representation of the orderby expression. - Type that the orderby clause refers to. - EntitySet that the elements beign filtered are from. - A representing the metadata bound orderby expression. - - - - Parses the and clauses on the given , binding - the text into a metadata-bound list of properties to be selected using the provided model. - - String representation of the select expression from the URI. - String representation of the expand expression from the URI. - Type that the select and expand clauses are projecting. - EntitySet that the elements being filtered are from. - A representing the metadata bound orderby expression. - - - - Parses an inline count option - - The inline count string from the query - An InlineCountKind representing that inline count option. - Throws if the input inlineCount is not a valid $inlinecount value. - - - - The settings for this instance of . Refer to the documentation for the individual properties of for more information. - - - - - Gets the model for this ODataUriParser - - - - - Gets the absolute URI of the service root. - - - - - Gets or Sets the to use while parsing, specifically - whether to recognize keys as segments or not. - - Throws if the input value is null. - - - - Gets or Sets a callback that returns a BatchReferenceSegment (to be used for $0 in batch) - - - - - Gets or sets a callback that returns the raw string value for an aliased function parameter. - - - - - The exception that is thrown when path parsing detects an unrecognized or unresolvable token in a path (which servers should treat as a 404). - - - - - Exception type representing exceptions in the OData library. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - - Initializes a new instance of the ODataUnrecognizedPathException class. - - Plain text error message for this exception. - - - - Initializes a new instance of the DataServiceException class. - - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - - Component for controlling what convention are used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - Gets the internal representation of the user-specified convention. - - - - - Class to handle the binding of orderby tokens. - - - - - Method to use to visit the token tree and bind the tokens recursively. - - - - - Creates an OrderByBinder - - Method to use to visit the token tree and bind the tokens recursively. - - - - Processes the order-by tokens of a entityCollection (if any). - - State to use for binding. - The order-by tokens to bind. - An OrderByClause representing the orderby statements expressed in the tokens. - - - - Processes the specified order-by token. - - State to use for binding. - The next OrderBy node, or null if there is no orderby after this. - The order-by token to bind. - Returns the combined entityCollection including the ordering. - - - - Set of helpers and extensions to make it easier to convert the semantic path parser - to using and the related classes. - - - - - Returns whether the given type is a structural type that is open. - - The type to check. - Whether the type is both structural and open. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - Whether or not the type is an entity or entity collection type. - - - - Returns whether or not the type is an entity or entity collection type. - - The type to check. - The entity type. If the given type was a collection, this will be the element type. - Whether or not the type is an entity or entity collection type. - - - - Gets the target entity set for the given function import. - - The function import. - The source entity set. - The model. - The target entity set of the function import or null if it could not be determined. - - - - Throws an exception if the given type is an open complex type. - - The type to check. - - - - Reverse a Path - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an SystemToken - - The System token to visit - A user defined class - - - - Visit an NonSystemToken - - The System token to visit - A user defined class - - - - any children of the root, will always be null on first call - - - - - Build a PathReverser at the top level (with no child token) - - - - - Build a PathReverser based on a child token. - - the new child of this token - - - - Reverse a NonSystemToken - - the non system token to reverse - the reversed NonSystemToken - - - - Reverse a SystemToken - - the SystemToken to reverse - the reversed SystemToken - - - - Build the next level PathReverser - - the next level token - the next levels child token - the path token from the next level. - - - - Equality comparer for . - - - - - Determines whether the two paths are equivalent. - - The first path to compare. - The second path to compare. - Whether the two paths are equivalent. - - - - Returns a hash code for the given path. - - The path to hash. - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Converts the token to a string that is sufficiently unique to be hashed or compared. - - The path token to convert to a string. - A string representing the path. - - - - Visitor interface for walking the Syntactic Tree. - - - - - Visit an SystemToken - - The System token to visit - - - - Visit an NonSystemToken - - The System token to visit - - - - Class that knows how to bind ParameterQueryTokens. - - - - - Binds a parameter token. - - The parameter token to bind. - The state of metadata binding. - The bound query node. - - - - Class that knows how to bind an end path token, which could be several things. - - - - - Method to bind the value of a key. - TODO : Make it of return type SingleValueQueryNode. - - - - - The function call binder to use to bind this end path to a function if necessary. - - - - - Constructs a EndPathBinder object using the given function to bind parent token. - - Method to bind the EndPathToken's parent, if there is one. - - - - This method generates a for properties of open type - - EndPathToken to bind into an open property node. - Parent node of this open property - Will return a when open types are supported - - - - Generates a bound query node representing an given an already semantically bound parent node. - - The semantically bound source node of this end path token - The that will be bound to this node. Must not be primitive collection - QueryNode bound to this property. - - - - Constructs parent node from binding state - - Current binding state - The parent node. - - - - Binds a an end path token into a PropertyAccessToken, OpenPropertyToken, or FunctionCallToken. - - The property access token to bind. - State of the binding algorithm. - A Query node representing this endpath token, bound to metadata. - - - - Determines the parent node. If the token has a parent, that token is bound. If not, then we - use the implicit parameter from the BindingState as the parent node. - - Token to determine the parent node for. - Current state of binding. - A SingleValueQueryNode that is the parent node of the . - - - - Provides values to describe the kind of thing targetted by a - client request. - - - - Nothing specific is being requested. - - - A top-level directory of service capabilities. - - - Entity Resource is requested - it can be a collection or a single value. - - - A single complex value is requested (eg: an Address). - - - A single value is requested (eg: a Picture property). - - - A single value is requested (eg: the raw stream of a Picture). - - - System metadata. - - - A data-service-defined operation that doesn't return anything. - - - The request is a batch request. - - - An open property is requested. - - - An open property value is requested. - - - A stream property value is requested. - - - A single collection of primitive or complex values is requested. - - - - Semantic parser for the path of the request URI. - - - - - regex pattern to match a contentID - - - - - The queue of segments remaining to be parsed. Should be populated and cleared out on each pass through the main path parsing loop. - - - - - The collection of segments that have been parsed so far. - - - - - The parser's current configuration. - - - - - Indicates that the next segment encountered must refer to something in 'metadata-space' and cannot be a key expression. - - - - - Initializes a new instance of . - - The parser's current configuration. - - - - Extracts the segment identifier and, if there are parenthesis in the segment, the expression in the parenthesis. - Will throw if identifier is not found or if the parenthesis expression is malformed. - - Internal only so it can be called from tests. Should not be used outside . - The segment text. - The identifier that was found. - The query portion that was found. Will be null after the call if no query portion was present. - - - Creates an array for the given . - Segments to process. - Segment information describing the given . - - - - Tries to find a single matching function import for the given identifier, parametes, and binding type. - - The identifier from the URI. - The parenthesis expression contianing parameters, if any. - The current binding type or null if there isn't one. - The configuration of the parser. - The parsed parameters from the parenthesis expression. - The single matching function import if one could be determined. - Whether or not a matching function import could be found. - - - Determines a matching target kind from the specified type. - ResourceType of element to get kind for. - An appropriate for the specified . - - - - Checks for single result, otherwise throws. - - indicates whether the current result is single result or not. - current segment identifier. - - - - Tries to get the next segment's text to parse. - - The segment text to parse. - Whether there was a next segment. - - - - Tries to get the next segment's text to parse. Should not be called except by the other overload which does not have the extra parameter. - - Whether the previous segment was an escape marker. - The segment text to parse. - Whether there was a next segment. - - - - Tries to handle the given text as a key if the URL conventions support it and it was not preceeded by an escape segment. - - The text which might be a key. - Whether or not the text was handled as a key. - - - - Throws if the given segment must be a leaf, as a later segment is being created. - - The previous segment which may need to be a leaf. - - - - Try to handle the segment as $count. - - The segment text to handle. - Whether the segment was $count. - - - - Tries to handle the segment as $links. If it is $links, then the rest of the path will be parsed/validated in this call. - - The text of the segment. - Whether the text was $links. - - - - Tries to bind a key from the parenthetical section of a segment. - - The section of the segment inside parentheses, or null if there was none. - - - - Try to handle the segment as $value. - - The segment text. - Whether the segment was $value. - - - - Creates a new segment for an open property. - - previous segment info. - name of the segment. - whether this segment has a query portion or not. - - - - Creates a named stream segment - - previous segment info. - stream property to create the segment for. - - - Creates the first for a request. - The text of the segment. - - - - Tries to parse the segment as a service operation - - The identifier for the segment. - The query portion - Whether or not the identifier referred to a service operation. - - - - Tries to parse a segment as a function or action. - - The previous segment before the operation to be invoked. - The name of the segment - The query portion - Whether or not the identifier referred to an action. - - - - Creates the next segment. - - The text for the next segment. - - - - Tries to bind the identifier as a property. - - The identifier to bind. - The property, if one was found. - Whether a property matching the identifier was found. - - - - Tries to create a type name segment if the given identifier refers to a known type. - - previous segment info. - The current raw segment identifier being interpreted. - Parenthesis expression of this segment. - Whether or not a type segment was created for the identifier. - - - - Creates a property segment - - previous segment info. - property to create the segment for. - query portion for this segment, if specified. - - - - Component for handling key expressions in URIs. - - - - Tries to create a key segment for the given filter if it is non empty. - Segment on which to compose. - Parenthesis expression of segment. - The key segment that was created if the key was non-empty. - Whether the key was non-empty. - - - - Tries to handle the current segment as a key property value. - - The segment text. - The previous segment. - The current url convention for the server. - The key segment that was created if the segment could be interpreted as a key. - Whether or not the segment was interpreted as a key. - - - - Determines whether the segment text is a system-reserved identifier like $'count'. - - The segment text. - - true if the segment text is a system-reserved identifier like $'count'; otherwise, false. - - - - - Parses the key properties based on the segment's target type, then creates a new segment for the key. - - The segment to apply the key to. - The key to apply. - The newly created key segment. - - - - Builds segments from tokens within $select. - - - - - Build a segment from a token. - - the token to bind - The model. - the entity type of the current scope based on type segments. - The segment created from the token. - - - - Build a wildcard selection item - - the token to bind to a wildcard - the model to search for this wildcard - the new wildcard selection item, if we found one - true if we successfully bound to a wildcard, false otherwise - - - - Tries to bind a given token as an Operation. - - Token to bind. - The model. - the current entity type to use as the binding type when looking for operations. - Bound segment if the token was bound to an operation successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Tries to bind a given token as an a declared structural or navigation property. - - Token to bind. - the entity type to search for this property - Bound segment if the token was bound to a declared property successfully, or null. - True if the token was bound successfully, or false otherwise. - - - - Build an ISelectExpandTermParser based on settings. - - - - - Build a new ISelectExpandTermParser, either with expand options or without, based on the global settings. - - the select or expand text to parse - pointer to the top level object - A new ISelectExpandTermParser - - - - Build a new ISelectExpandTermParser with default settings - - the clause to parse - A NonOptionSelectExpandTermParser - - - - Polish a combined select expand tree. - - - - - Prune off any unneccessary expands - - the clause to prune - a pruned tree. - - - - Visit a Select property and use it to decorate a SelectExpand Tree - - - - - The model used for binding. - - - - - the maximum recursive depth. - - - - - The expand tree to decorate. - - - - - The entity type for this level of the select - - - - - Build a property visitor to visit the select tree and decorate a SelectExpandClause - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visit a System Token - - the system token to visit - - - - Visit a NonSystemToken - - the non sytem token to visit - - - - process a nonsystemtoken as a path, following any type segments if necessary - - the token to process - - - - The expand tree that we're decorating - - - - - Translate a select tree into the right format to be used with an expand tree. - - - - - Normalize a SelectToken into something that can be used to trim an expand tree. - - The select token to normalize - Normalized SelectToken - - - - Class that represents a selection of all properties and functions on an entity. - - - - - Class that specifies what properties and functions have been specified to be selected for a given entity at the current level of the expand tree. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing an alias to another url in a batch. - - - - - The of the resource that this placeholder represents. - - - - - The entity set from the alias. - - - - - The contentId that this alias referrs to. - - - - - Build a BatchReferenceSegment - - The contentId of this segment is referring to - The of the resource that this placeholder represents. - The resulting entity set - Throws if the input edmType of contentID is null. - Throws if the contentID is not in the right format. - - - - Translate this into something else. - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of the interface. - - An implementation of the Handler interface. - Throws if the input Handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of the resource that this placeholder represents. - - - - - Gets the resulting entity set for this batch reference segment. - - - - - Gets the contentId this alias is referrring to - - - - - A segment representing $batch - - - - - Gets the singleton instance of the batch segment. - - - - - Build a segment to represent $batch. - - - - - Translate a into something else using an implementation of . - - Type that the translator will return after translating this segment. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an implementation of . - - An implementation of the Handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - The other segment to check. - True if the other segment is equivalent to this one. - Throws if the input other is null - - - - Gets the of this , which is always null. - - - - - Class to represent the selection of all the actions and functions in a specified container. - - - - - An item that has been selected by the query at the current level of the tree. - - - - - The whose actions and functions should be selected. - - - - - Creates an instance of this class with the specified . - - The whose actions and functions should be selected. - Throws if the input container is null. - - - - Gets the whose actions and functions should be selected. - - - - - A segment representing $count in a path - - - - - Return the singleton instance of Count - - - - - Build a segment representing $count - - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - throws if the input other is null. - - - - Gets the of this , which is always Edm.Int32. - - - - - Class that knows how to resolve an IEdmExpression to find its associated EntitySet. - This functionality is needed to determine what a EntitySets a FunctionImport applies to. - - - - - Resolves an IEdmExpression to an IEdmEntitySet. - - Expression to resolve. - The resolved EntitySet. - - - - A segment representing an EntitySet in a path. - - - - - The entity set represented by this segment. - - - - - Type of the entities in the set represented by this segment. - - - - - Build a segment representing an entity set - - The entity set represented by this segment. - Throws if the input entitySet is null. - - - - Translate an into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle an using the an instance of the . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the entity set represented by this segment. - - - - - Gets the of this . - This will always be an for the that this set contains. - - - - - This represents one level of expansion for a particular expansion tree. - - - - - The Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - The entity set for this expansion level. - - - - - The filter expand option for this expandItem. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The orderby expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - the top expand option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The skip option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The inlinecount option for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - The select that applies to this level, and any sub expand levels below this one. - - - - - Create an Expand item using a nav prop, its entity set and a SelectExpandClause - - the path to the navigation property for this expand item, including any type segments - the entity set for this ExpandItem - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Create an expand item, using a navigationProperty, its entity set, and any expand options. - - the path to the navigation property for this expand item, including any type segments - the entity set for this expand level. - A filter clause for this expand (can be null) - An Orderby clause for this expand (can be null) - A top clause for this expand (can be null) - A skip clause for this expand (can be null) - An Inlinecount clause for this expand (can be null) - This level select and any sub expands for this expand item. - Throws if input pathToNavigationProperty is null. - - - - Gets the Path for this expand level. - This path includes zero or more type segments followed by exactly one Navigation Property. - - - - - Gets the EntitySet for this level. - - - - - The select and expand clause for this expanded navigation. - - - - - The filter clause for this expand item - - - - - Gets the orderby clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the top clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the skip clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - Gets the inlinecount clause for this expand item. Can be null if not specified(and will always be null in NonOptionMode). - - - - - A list of all expanded items at the next level down. - - - - - The list of all expanded items at the next level down. - - - - - Constructor - - The list of all expanded items at the next level down. - - - - The list of all expanded items at the next level down. - - - - - A segment representing a key lookup in a path. - - - - - The set of key property names and the values to be used in searching for the given item. - - - - - The type of the item this key returns. - - - - - The entity set that this key is used to search. - - - - - Construct a Segment that represents a key lookup. - - The set of key property names and the values to be used in searching for the given item. - The type of the item this key returns. - The entity set that this key is used to search. - Throws if the input entity set is not related to the input type. - - - - Translate a using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the set of key property names and the values to be used in searching for the given item. - - - - - Gets the type of the item this key returns - - - - - Gets the entity set that this key is used to search. - - - - - A segment representing $metadata in a path. - - - - - Gets the singleton instance of MetadataSegment - - - - - Build a segment to represent $metadata - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this , which is always null. - - - - - Class that represents a selecting none of the properties or functions at this level, but there are still relevant expansions in this subtree. - - - - - Get the singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - A segment representing a navigation property - - - - - The navigation property this segment represents. - - - - - Build a segment representing a navigation property. - - The navigation property this segment represents. - The set of the entities targetted by this navigation property. This can be null. - Throws if the input navigationProperty is null. - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Translate a to walk a tree of s. - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Checks if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the navigation property represented by this NavigationPropertySegment. - - - - - Gets the set of the entities targetted by this Navigation Property. - This can be null. - - - - - Gets the of this . - - - - - A specific type of which can only contain instances of , , - , , or . - - - - - Create an ODataSelectPath - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Create an ODataPath object based on a single segment - - The list of segments that makes up this path. - Throws if the list of segments doesn't match the requirements for a path in $select - - - - Ensure that the segments given to us are valid select segments. - - Throws if the list of segments doesn't match the requirements for a path in $select - - - - A segment representing and open property - - - - - The name of this open property. - - - - - Build a segment to represent an open property. - - The name of this open property - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the name of this open property. - - - - - Gets the of this , which is always null. - The type of open properties is unknown at this time. - - - - - Represents a named parameter value for invoking an operation in an OData path. - - - - - Initializes a new instance of . - - The name of the parameter. Cannot be null or empty. - The value of the parameter. - - - - The name of the parameter. - - - - - The parameter value. - - - - - Class to represent the selection of a specific path. - - - - - The selected path. - - - - - Constructs a to indicate that a specific path is selected. - - The selected path. - Throws if the input selectedPath is null. - - - - Gets the selected path. - - - - - Class that represents a partial subset of items on a given type that have been selected at this level of the select expand tree. - - - - - The subset of items that has been selected at this level. - - - - - Creates a with the specified set of . - - The list of items on the that has been selected. - - - - The subset of items that has been selected at this level. - - - - - A segment representing a structural property - - - - - The structural property referred to by this segment - - - - - Build a segment based on a structural property - - The structural property that this segment represents. - Throws if the input property is null. - - - - Translate a using an instance of />. - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the structural property that this segment represents. - - - - - Gets the of this . - - - - - Class representing the combined semantic meaning of any select or expand clauses in the uri. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - - Internal flag indicating that this clause was built using the legacy Selection and Expansion classes. In this case, we must - call ComputeFinalSelectedItems() before handing out the object publically. - - - - - The object that describes what properties and functions should be selected from the associated at this level. - - - - - The selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Constructs a from the given parameters. - - The selected properties and operations. This list should include any expanded navigation properties. - Flag indicating if all items have been selected at this level. - - - - Constructs a from the given parameters. - - The object that describes what properties and functions should be selected from the associated . - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - - - Add a selection item to the current selection. - - the new selection item to add - - - - Switch to an AllSelection at this level and recursively at all levels below this one. - This is non-reversable because once everything is selected, selecting a specific property or other item is redundant. - - - - - Initializes the selection for this clause as ExpansionsOnly if it is not already partial. - - - - - Computes the list of SelectItems that will be publically availible to consumers. - - - - - Gets the selected properties and operations. - - This list includes expanded navigations properties, which may have additional nested selections and expansions. - - - - Gets a flag indicating that everything at this level has been selected. - - - If true, then all structural properties, bound actions and functions, and all navigations in the SelectedItems list have been selected. - - - - - Gets the object that describes what properties and functions should be selected from the associated . - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Mapping that contains the set of navigation properties for the associated entity that should be expanded, and respective details about the expansions. - - TODO : Note that this is a legacy internal concept. - At the last minute we changed the public API but chose not to change how the implementation work to manage risk. - We should clean this up and remove this property. - - - - - Node representing a type segment that casts an entity collection node. - - - - - The entity collection node that we're casting. - - - - - The target type that we're casting our entity collection node to. - - - - - the type of the collection returned by this function - - - - - The EntitySet that our collection comes from. - - - - - Create a CollectionCastNode with the given source node and the given target type. - - Parent that is being cast. - Type to cast to. - Throws if the input source or entityType are null. - - - - Accept a that walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the entity collection node that we're casting. - - - - - Gets the type that we're casting all items in this collection to. - - - - - The type of the collection represented by this node. - - - - - Gets the entity type that we're casting all items in this collection to. - - - - - Gets the EntitySet that our collection comes from. - - - - - Gets the kind of this node. - - - - - Query node representing a collection navigation property. - - - - - The navigation property of the single entity this node represents. - - - - - The resouce type of a single entity item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - The parent node. - - - - - The EntitySet from which the collection of entities comes from. - - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The parent of this collection navigation node. - The collection node. - Throws if the input source or navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The source entity set. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Creates a CollectionNavigationNode. - - The navigation property that defines the collection node. - The collection node. - Throws if the input navigation property is null. - Throws if the input navigation doesn't target a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the parent node of this Collection Navigation Node. - - - - - Gets the target multiplicity. - - - - - Gets the Navigation Property that defines this collection Node. - - The navigation property that defines this collection node. - - - - Gets a reference to the resource type a single entity in the collection. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity from the collection. - - - - - Gets the entity set containing this collection. - - - - - Gets the kind of this node. - - - - - The result of parsing a $filter query option. - - - - - The filter expression - this should evaluate to a single boolean value. - - - - - The parameter for the expression which represents a single value from the collection. - - - - - Creates a . - - The filter expression - this should evaluate to a single boolean value. Cannot be null. - The parameter for the expression which represents a single value from the collection. Cannot be null. - Throws if the input expression or rangeVariable is null. - - - - Gets the filter expression - this should evaluate to a single boolean value. - - - - - Gets the parameter for the expression which represents a single value from the collection. - - - - - Gets the type of item returned by this clause. - - - - - Represents the result of parsing the $orderby query option. - - - - - The order-by expression. - - - - - The direction to order. - - - - - The rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Creates an . - - The next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - The order-by expression. Cannot be null. - The direction to order. - The rangeVariable for the expression which represents a single value from the collection we iterate over. - Throws if the input expression or rangeVariable is null. - - - - Gets the next orderby to perform after performing this orderby, can be null in the case of only a single orderby expression. - - - - - Gets the order-by expression. - - - - - Gets the direction to order. - - - - - Gets the rangeVariable for the expression which represents a single value from the collection we iterate over. - - - - - Gets the type of a single item from the collection returned after ordering. - - - - - A RangeVariable inside an any or all expression that doesn't refer to an entity set - - - - - A RangeVariable, which represents an iterator variable either over a collection, either of entities or not. - Exists outside of the main SemanticAST, but hooked in via a RangeVariableReferenceNode (either Non-Entity or Entity). - - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type of entity referenced by this rangeVariable - - - - - Gets the kind of this rangeVariable. - - - - - The name of the associated any/all parameter (null if none) - - - - - The Entity collection that this rangeVariable node iterates over - - - - - The Entity set of the collection this node iterates over. - - - - - The entity type of each item in the collection that this range variable iterates over. - - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity collection that this rangeVariable node iterates over - Throws if the input name or entityType is null. - - - - Creates a . - - The name of the associated any/all parameter (null if none) - The entity type of each item in the collection that this range variable iterates over. - The Entity set of the collection this node iterates over. - Throws if the input name or entityType is null. - - - - Gets the name of the associated any/all parameter (null if none) - - - - - Gets the Entity collection that this rangeVariable node iterates over - - - - - Gets the Entity set of the collection this node iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the entity type of each item in the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - Node to represent a range variable in an Any or All clause that referrs to an entity. - - - - - Base class for all semantic metadata bound nodes which represent a single composable entity value. - - - - - Base class for all semantic metadata bound nodes which represent a single composable value. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Gets the EntitySet containing this single entity. - - - - - Gets the type of this single entity. - - - - - The name of the associated range variable (null if none) - - - - - The entity type of the associated range variable. - - - - - The range variable that the node represents. - - - - - The entity set containing the collection that this range variable iterates over. - - - - - Creates an . - - The name of the associated range variable (null if none) - The actual range variable on the bind stack that this refers to - Throws if the input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangevariable (null if none) - - - - - Gets the entity type of the associated range variable. - - - - - Gets the entity type of the associated range variable. - - - - - Gets a reference to the range variable that this node represents. - - - - - Gets the entity set containing the collection that this range variable iterates over. - - - - - Gets the kind of this node. - - - - - A rangeVariable from an Any or All that doesn't refer to an entity set - - - - - The name of the associated rangeVariable - - - - - The collection that this rangeVariable node iterates over, can be null in the case of - single value nodes. - - - - - The type of the value the range variable represents - - - - - Creates a . - - The name of the associated range variable. - The type of the value the range variable represents. - The collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - Throws if the input name is null. - Throws if the input type reference is an entity type. - - - - Gets the name of the associated rangevariable. - - - - - Gets the type of the value the range variable represents. - - - - - Gets the collection that this rangeVariable node iterates over, can be null in the case of single value nodes. - - - - - Gets the kind of this range variable. - - - - - A node that represents a rangeVariable that iterates over a non entity collection. - - - - - The name of the associated rangeVariable - - - - - The type item referred to by this rangeVariable. - - - - - Reference to a rangeVariable on the binding stack. - - - - - Creates a . - - The name of the associated rangeVariable - Reference to a rangeVariable on the binding stack. - Throws if input name or rangeVariable is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the associated rangeVariable. - - - - - Gets the type item referred to by this rangeVariable. - - - - - Gets the reference to a rangeVariable on the binding stack. - - - - - Gets the kind of this node. - - - - - Enumeration of the different kinds of RangeVariables. - - - - - A range variable that referrs to entity types. - - - - - A range variable that referrs to non-entity types. - - - - - A segment representing a call to an action, function, or service operation. - - - - - Sentinel type marking that we could not determine the return type for this segment. - - - - - The list of possible FunctionImport overloads for this segment. - - - - - the list of parameters to this operation. - - - - - The containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - The type of item returned by the operation(s), if known. - - - - - Build a segment representing a call to an operation - action, function, or service operation. - - A single function import that this segment will represent. - The containing the entities that this function returns. - Throws if the input operation is null. - - - - Build a segment representing a call to an operation - action, function, or service operation. - - The list of possible FunctionImport overloads for this segment. - The containing the entities that this function returns. - Throws if the input operations is null. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - The list of possible FunctionImport overloads for this segment. - The list of parameters supplied to this segment. - The containing the entities that this function returns. - - - - Creates a segment representing a call to an operation - action, function or service operation. - - - - - Translate a . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a . - - An implementation of the handle interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Ensures that the entity set and computed return type make sense. - - Throws if the return type computed from the function call is null, or if the return type is not in the same hierarchy as the entity set provided. - - - - Gets the list of possible FunctionImport overloads for this segment. - - - - - Gets the list of parameters for this segment. - - - - - Gets the of this . - - - This value will be null for void service operations. - If there are multiple candidate operations with varying return types, then this property will throw. - - Throws if the type is unknown. - - - - Gets the containing the entities that this function returns. - This will be null if entities are not returned by this operation, or if there is any ambiguity. - - - - - Node representing a function call which returns a single entity. - - - - - the name of this function - - - - - the list of funcitonImports represented by this node. - - - - - List of arguments provided to the function. - - - - - The return type of this function. - - - - - The EntitySet containing the single entity that this function returns. - - - - - The semantically bound parent of this function. - - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Create a SingleEntityFunctionCallNode - - The name of the function to call - the list of function imports this node represents. - List of arguments provided to the function. Can be null. - The return type of this function. - The EntitySet containing the single entity that this function returns. - The semantically bound parent of this function. - Throws if the input name, returnedEntityTypeReference, or entitySet is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call - - - - - Gets the list of function imports that this node represents - - - - - Gets the list of arguments provided to the function. - - - - - Gets the return type of this function. - - - - - Gets the EntitySet containing the single entity that this function returns. - - - - - Gets the return type of this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Node representing an access to a collection property value. - - - - - The value containing the property. - - - - - The EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - The resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Constructs a new . - - The value containing the property. - The EDM property which is to be accessed. - Throws if the input source or property is null. - Throws if the input property is not a collection of structural properties - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing the property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, collection properties are supported by this node. - - - - Gets the resouce type of a single item from the collection represented by this node. - - - - - The type of the collection represented by this node. - - - - - Gets the kind of this node. - - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of the items in the read-only enumerable. - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Returns the (non-generic) enumerator to iterate through the items. - - The enumerator object to use. - - - - A segment representing a cast on the previous segment to another type. - - - - - The target type of this type segment. - - - - - The set containing the entities that we are casting. - - - - - Build a type segment using the given . - - The target type of this segment, which may be collection type. - The set containing the entities that we are casting. This can be null. - Throws if the input edmType is null. - Throws if the input edmType is not relaed to the type of elements in the input entitySet. - - - - Translate a into another type using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the handler interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - Throws if the input other is null. - - - - Gets the of this . - - - - - Gets the set containing the entities that we are casting. - - - - - Singleton sentinal instance of that indicates that $select has not been processed yet. Should never be exposed to the user. - - - - - Singleton instance of . - - - - - Creates the singleton instance of this class. - - - - - Represents an aliased parameter in a function call that has not yet been resolved to a specific value. - - - - - Represents the value of a property. - - - - - Indicates whether the given value is a null value. - - true if the value is an ODataNullValue, false otherwise. - - - - Initializes a new instance of . - - The alias provided as the parameter value. - The EDM type of the parameter represented by this alias. - - - - The EDM type of the parameter represented by this alias. - - - - - The alias provided as the parameter value. - - - - - Helper methods for the URI Parser. - - - - - Throws if the type is not related to the type of the given set. - - Type to check. - Second type, which should be related to the first type. - The segment that is checking this. - - - - A segment representing $value - - - - - The of this . - - - - - Build a segment to represnt $value. - - The type of the segment before $value. This may be null, for cases such as open properties. - Throws if the input previousType is a colleciton type. - - - - Translate a into another object using an instance of . - - Type that the translator will return after visiting this token. - An implementation of the translator interface. - An object whose type is determined by the type parameter of the translator. - Throws if the input translator is null. - - - - Handle a using an instance of . - - An implementation of the translator interface. - Throws if the input handler is null. - - - - Check if this segment is equal to another segment. - - the other segment to check. - true if the other segment is equal. - - - - Gets the of this . - - - - - Class to represent a '*' selection item, indicating that all structural properties should be selected. - - - - - Use a Select syntactic tree to populate the correct values for Selection in an already parsed - Expand Semantic Tree. - - - - - Visitor object to walk the select tree - - - - - Constructs a new SelectBinder. - - The model used for binding. - The entity type that the $select is being applied to. - the maximum recursive depth. - The already built expand clause to decorate - - - - Visits the top level select token - - the select token to visit - A new SelectExpandClause decorated with the information from the selectToken - - - - Visitor interface for walking the Semantic Tree. - - Generic type produced by the visitor. - - - - Visit an AllNode - - the node to visit - Defined by the implementer - - - - Visit an AnyNode - - the node to visit - Defined by the implementer - - - - Visit a BinaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a ConstantNode - - the node to visit - Defined by the implementer - - - - Visit a ConvertNode - - the node to visit - Defined by the implementer - - - - Visit an EntityCollectionCastNode - - the node to visit - Defined by the implementer - - - - Visit an EntityRangeVariableReferenceNode - - the node to visit - Defined by the implementer - - - - Visit a NonEntityRangeVariableNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityCastNode - - the node to visit - Defined by the implementer - - - - Visit a SingleNavigationNode - - the node to visit - Defined by the implementer - - - - Visit a SingleEntityFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a EntityCollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a CollectionFunctionCallNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValueOpenPropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a SingleValuePropertyAccessNode - - the node to visit - Defined by the implementer - - - - Visit a UnaryOperatorNode - - the node to visit - Defined by the implementer - - - - Visit a NamedFunctionParameterNode. - - The node to visit. - Defined by the implementer - - - - Lexical token representing an expand operation. - - - - - The nav prop path for this ExpandTerm - - - - - the filter option for this expand term - - - - - the order by option for this expand term - - - - - the top option for this expand term - - - - - the skip option for this expand term. - - - - - the inlineCount option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - Create an expand term token using only a property - - the path to the navigation property - - - - Create an expand term using only the property and its subexpand/select - - the path to the navigation property for this expand term - the sub select for this token - the sub expand for this token - - - - Create an expand term token - - the nav prop for this expand term - the filter option for this expand term - the orderby option for this expand term - the top option for this expand term - the skip option for this expand term - the inlineCountOption for this expand term - the select option for this expand term - the expand option for this expand term - - - - Implement the visitor for this Token - - The type to return - A tree visitor that will visit this node. - Determined by the return type of the visitor. - - - - the nav property for this expand term - - - - - The filter option for this expand term. - - - - - the orderby option for this expand term. - - - - - the top option for this expand term. - - - - - the skip option for this expand term. - - - - - the inline count option for this expand term. - - - - - the select option for this expand term. - - - - - the expand option for this expand term. - - - - - the kind of this expand term. - - - - - Lexical token representing an expand operation. - - - - - The properties according to which to expand in the results. - - - - - Create a ExpandToken given the property-accesses of the expand query. - - The properties according to which to expand the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to expand in the results. - - - - - Lexical token representing a segment in a path. - - - - - - Lexical token representing a segment in a path. - - - - - - the next token in the path - - - - - build this segment token using the next token - - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - internal setter for the next token. - - the next token to set. - - - - Get the NextToken in the path - - - - - The name of the property to access. - - - - - Any named values for this NonSystemToken - - - - - The identifier for this token. - - - - - Build a NonSystemToken - - the identifier of this token - a list of named values for this token - the next token in the path - - - - Is this token namespace or container qualified. - - true if this token is namespace or container qualified. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the list of named values for this token. - - - - - Get the identifier for this token. - - - - - Lexical token representing a segment in a path. - - - - - - The NextToken in the path(can either be the parent or the child depending on whether the tree has - been normalized for expand or not. - TODO: need to revisit this and the rest of the syntactic parser to make it ready for public consumption. - - - - - The name of the property to access. - - - - - Lexical token representing a System token such as $count - - - - - - The identifier for this SystemToken - - - - - Build a new System Token - - the identifier for this token. - the next token in the path - - - - Is this token namespace or container qualified. - - always false, since this is a system token. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Accept a to walk a tree of s. - - An implementation of the visitor interface. - - - - Get the identifier for this token - - - - - Visitor interface for walking the Syntactic Tree. - - Generic type produced by the visitor. - - - - Visit an AllToken - - The All token to visit - An AllNode bound to this token - - - - Visits an AnyToken - - The Any token to visit - An AnyNode that's bound to this token - - - - Visits a BinaryOperatorToken - - The Binary operator token to visit. - A BinaryOperatorNode thats bound to this token - - - - Visits a DottedIdentifierToken - - The DottedIdentifierToken to visit - Either a SingleEntityCastNode, or EntityCollectionCastNode bound to this DottedIdentifierToken - - - - Visits an ExpandToken - - The ExpandToken to visit - A QueryNode bound to this ExpandToken - - - - Visits an ExpandTermToken - - The ExpandTermToken to visit - A QueryNode bound to this ExpandTermToken - - - - Visits a FunctionCallToken - - The FunctionCallToken to visit - A SingleValueFunctionCallNode bound to this FunctionCallToken - - - - Visits a LiteralToken - - The LiteralToken to visit - A ConstantNode bound to this LambdaToken - - - - Visits a LambdaToken - - The LambdaToken to visit - A LambdaNode bound to this LambdaToken - - - - Visits a InnerPathToken - - The InnerPathToken to bind - A SingleValueNode or SingleEntityNode bound to this InnerPathToken - - - - Visits an OrderByToken - - The OrderByToken to bind - An OrderByClause bound to this OrderByToken - - - - Visits an EndPathToken - - The EndPathToken to bind - A PropertyAccessClause bound to this EndPathToken - - - - Visits a CustomQueryOptionToken - - The CustomQueryOptionToken to bind - A CustomQueryOptionNode bound to this CustomQueryOptionToken - - - - Visits a RangeVariableToken - - The RangeVariableToken to bind - An Entity or NonEntity RangeVariableReferenceNode bound to this RangeVariableToken - - - - Visits a SelectToken - - The SelectToken to bind - A QueryNode bound to this SelectToken - - - - Visits a StarToken - - The StarToken to bind - A QueryNode bound to this StarToken - - - - Visits a UnaryOperatorToken - - The UnaryOperatorToken to bind - A UnaryOperatorNode bound to this UnaryOperatorToken - - - - Visits a FuntionParameterToken - - The FunctionParameterToken to bind - A user defined value - - - - Walk down a chain of type segments, checking that we find the correct type at each level. - - - - - Follow any type segments on the path, stopping at the first segment that isn't a type token. - - the first type segment - the model these types are contained in. - the maximum recursive depth - the top level entity type, will be overwritten with the last entity type in the chain - the first non type token in the path - A path with type segments added to it. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(BinaryOperatorKind), unrecognized kind of binary operator. - - - Unreachable codepath in TypePromotionUtils.GetFunctionSignatures(UnaryOperatorKind), unrecognized kind of unary operator. - - - Unreachable codepath in MetadataBinder.BindServiceOperation, unrecognized kind of service opertion. - - - Unreachable codepath in QueryExpressionTranslator.TranslateBinaryOperator, unrecognized kind of binary operator. - - - Unreachable codepath in UriPrimitiveTypeParser.HexCharToNibble - - - Unreachable codepath in UriQueryExpressionParser.ParseComparison - Was a new binary operator keyword without adding it to the switch in the ParseComparison? - - - Unreachable codepath in UriPrimitiveTypeParser.TryUriStringToPrimitive - Unsupported type was asked to be parsed. - - - Unreachable codepath in QueryNodeUtils.BinaryOperatorResultType, unrecognized kind of binary operator. - - - Unreachable codepath in QueryExpressionTranslator.TranslateUnaryOperator, unrecognized kind of unary operator. - - - Unreachable codepath in BinaryOperator.GetOperator, unrecognized kind of binary operator. - - - Unreachable codepath in ODataUriBuilder.WriteUnary, unrecognized kind of unary operator. - - - Unreachable codepath in ODataUriBuilderUtils.ToText(InlineCountKind), unrecognized kind of inline count. - - - - Query node representing an All query. - - - - - Node representing an Any/All query. - - - - - The collection of rangeVariables in scope for this Any or All. - - - - - The newest range variable added for by this Any or All. - - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - - - - Create a LambdaNode - - The collection of rangeVariables in scope for this Any or All. - The newest range variable added for by this Any or All. - - - - Gets the collection of rangeVariables in scope for this Any or All. - - - - - Gets the newest range variable added for by this Any or All. - - - - - Gets or Sets the associated boolean expression - - - - - Gets or Sets the parent entity set or navigation property - - - - - Create an AllNode - - The name of the rangeVariables list. - - - - Create an AllNode - - The name of the rangeVariables list. - The new range variable being added by this all node - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the All Query - - - - - Lexical token representing the Any/All Query - - - - - The parent token. - - - - - The parameter which denotes source type. - - - - - The expression component of Any. - - - - - Create a AnyAllQueryToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The parent token. - - - - - The expression. - - - - - The parameter. - - - - - Create a AllToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - Query node representing an Any query. - - - - - Create a AnyNode - - The name of the parameter list. - - - - Create a AnyNode - - The name of the parameter list. - The name of the new range variable being added by this AnyNode - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - The resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Lexical token representing the Any Query - - - - - Create a AnyToken given the expression, parameter, and parent - - The associated expression. - The parameter denoting source type. - The parent token. Pass null if this property has no parent. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - In-memory annotation class to associate CLR instance types with - (non-primitive) EDM types. - - - - - true if reflection over the instance type is supported; otherwise false. - - - - - The instance type represented by this annotation. - - - - - In-memory annotation class to associate a result kind with a service operation. - - - - - The result kind of the service operation. - - - - - Annotation to hold information for a particular property. - - - - - true if reflection over the property is allowed; otherwise false. - - - - - Use this type to describe the kind of results returned by a service - operation. - - - - - A single direct value which cannot be further composed. - - - - - An enumeration of values which cannot be further composed. - - - - - A queryable object which returns multiple elements. - - - - - A queryable object which returns a single element. - - - - - No result return. - - - - - Lexical token representing a single nonroot segment in the query path. - - - - - The Identifier of the segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - The NextToken segment. - - - - - Create a new StartPathToken given the Identifier and NextToken and namedValues if any - - The Identifier of the segment, the identifier. - The NextToken segment, or null if this is the root segment. - The named values in the key lookup for this segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The Identifier of the segment, the identifier. - - - - - The NextToken segment, or null if this is the root segment. - - - - - The named values in the key lookup for this segment. - If the segment has no key lookup, then this property is null. - If the segment has empty key lookup (), then this property is an empty collection. - - - - - Utility methods used with the OData Query library. - - - - - Checks whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Sets whether reflection over the property is allowed or not. - - The property to check. - The model containing annotations. - true if reflection over the property is allowed; otherwise false. - - - - Gets the result kind of the . - - The to check. - The containing the annotation. - The result kind of the or null if no result kind annotation exists. - - - - Sets the result kind of the . - - The to check. - The containing the annotation. - The result kind to set. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified ; if no such service operation exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the service operation to look up. - An instance with the specified or null if no such service operation exists. - - - - Returns the instance type for the specified or null if none exists. - - The type reference to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - All primitive type references are guaranteed to have an instance type. - - - - Returns the instance type for the specified or null if none exists. - - The type to get the instance type for. - The model containing annotations. - The instance type for the or null if no instance type exists. - - - - Sets the instance type for the specified ; if null is specified an existing instance type will be removed. - - The type to get the instance type for. - Model containing annotations. - The instance type for the or null to remove an existing instance type. - - - - Checks whether reflection over the instance type is allowed or not. - - The type reference to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type reference to check. - The model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Sets whether reflection over the instance type is allowed or not. - - The type to check. - Model containing annotations. - true if reflection over the instance type is allowed; otherwise false. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified ; if no such entity set exists the method throws. - - - - Resolves a name to an instance. - - The model to resolve the name against. - The name of the entity set to look up. - An instance with the specified or null if no such entity set exists. - - - - Method that checks whether a function import is a service operation. - - The containing annotations. - The to check. - true if the represents a service operation; otherwise false. - - A is considered a service operation if it is annotated with an m:HttpMethod attribute. - - - - - Method that checks whether a function import is an action. - - The containing annotations. - The to check. - true if the represents an action; otherwise false. - - A is considered an action if it is side-effecting but not annotated with an m:HttpMethod attribute. - - - - - Class to wrap around BinaryOperatorKind that gives precedent meaning to it. - - - - Wrapper for Add operator kind. - - - Wrapper for And operator kind. - - - Wrapper for Divide operator kind. - - - Wrapper for Equal operator kind. - - - Wrapper for GreaterThanOrEqual operator kind. - - - Wrapper for GreaterThan operator kind. - - - Wrapper for LessThanOrEqual operator kind. - - - Wrapper for LessThan operator kind. - - - Wrapper for Modulo operator kind. - - - Wrapper for Multiply operator kind. - - - Wrapper for NotEqual operator kind. - - - Wrapper for Or operator kind. - - - Wrapper for Subtract operator kind. - - - - The text for this operator. - - - - - The precedence for this operator. - - - - - Whether it needs parentheses against other same operator. - - - - - Create a new BinaryOperator given its text, precedence, - and whether it needs parentheses against other same operator. - - The text for this operator. - The precedence for this operator in relative to other operators. - - Whether it needs parentheses - when nesting with other operators of same precedence. - - - - - Get the BinaryOperator wrapper for the given operatorKind. - - The kind to get wrapper for. - The binary operator for the specified . - - - - Whether it needs parentheses against other same operator. - - - - - The precedence for this operator. - - - - - The text for this operator. - - - - - Lexical token representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Create a new BinaryOperatorToken given the operator, left and right query. - - The operator represented by this node. - The left operand. - The right operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Enumeration of binary operators. - - - - - The logical or operator. - - - - - The logical and operator. - - - - - The eq operator. - - - - - The ne operator. - - - - - The gt operator. - - - - - The ge operator. - - - - - The lt operator. - - - - - The le operator. - - - - - The add operator. - - - - - The sub operator. - - - - - The mul operator. - - - - - The div operator. - - - - - The mod operator. - - - - - Class to handle writing an BinaryOperatorToken. - This class optimizes on reducing parentheses as base on operator precedence. - - - - - The parent ODataUriBuilder that invokes this binary operator builder. - - - - - Create a new BinaryOperatorToken for the given Uri builder to write BinaryOperatorToken. - - The parent builder of this builder. - - - - Write the given binary token as Uri part. - - To write as Uri part. - - - - Determine whether parentheses are needed around the left subtree base on the current operator. - - The current binary node's operator. - The left binary subtree. - True if need parenthese, false if not. - - - - Determine whether parentheses are needed around the right subtree base on the current operator. - - The current binary node's operator. - The right binary subtree. - True if need parentheses, false if not. - - - - Write the given binary token as Uri part. - - Whether parentheses are needed around the written expression. - To write as Uri part. - - - - Class containing definitions of all the built-in functions. - - - - - Dictionary of the name of the built-in function and all the signatures. - - - - - Returns a list of signatures for a function name. - - The name of the function to look for. - The list of signatures available for the function name. - true if the function was found, or false otherwise. - - - Builds a description of a list of function signatures. - Function name. - Function signatures. - A string with ';'-separated list of function signatures. - - - - Creates all of the spatial functions - - Dictionary of functions to add to. - - - - Builds the list of all built-in functions. - - Returns a dictionary of built in functions. - - - - Creates all string functions. - - Dictionary of functions to add to. - - - - Creates all date and time functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for date time functions. - - The array of signatures for a date time functions. - - - - Builds the set of signatures for timespan functions. - - The set of signatures for timespan functions. - - - - Creates all math functions. - - Dictionary of functions to add to. - - - - Builds an array of signatures for math functions. - - The array of signatures for math functions. - - - - Node representing a primitive constant value. - - - - - The primitive constant value. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - - - - - Create a ConstantNode - - This node's primitive value. - The literal text for this node's value, formatted according to the OData URI literal formatting rules. - Throws if the input literalText is null. - - - - Create a ConstantNode - - This node's primitive value. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the primitive constant value. - - - - - Get or Set the literal text for this node's value, formatted according to the OData URI literal formatting rules. May be null if the text was not provided at construction time. - - - - - Gets the resouce type of the single value this node represents. - - - - - Gets the kind of the query node. - - - - - Node representing a conversion of primitive type to another type. - - - - - The source value to convert. - - - - - The target type that the source will be converted to. - - - - - Constructs a ConvertNode. - - The node to convert. - The type to convert the node to - Throws if the input source or typeReference is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Get the source value to convert. - - - - - Get the type we're converting to. - - - - - Get the kind of this node. - - - - - Query node representing a binary operator. - - - - - The operator represented by this node. - - - - - The left operand. - - - - - The right operand. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Create a BinaryOperatorNode - - The binary operator type. - The left operand. - The right operand. - Throws if the left or right inputs are null. - Throws if the two operands don't have the same type. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the left operand. - - - - - Gets the right operand. - - - - - Gets the resource type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Possible values of $inlinecount. - - - - - Do not include count in response. - - - - - Include the count of all entries in response. - - - - - Keyword enum values related to the URI query syntax - such as $metadata, $count, $value, etc. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - - Helper methods for with literals. - - - - - Parse the given text as a Geography literal. - - The text to parse. - The Geography object if succeeded, else a ParseErrorException is thrown. - - - - Parse the given text as a Geometry literal. - - The text to parse. - The Geometry object if succeeded, else a ParseErrorException is thrown. - - - - Convert to string the given Geography instance. - - Instance to convert. - Well-known text representation. - - - - Convert to string the given Geometry instance. - - Instance to convert. - Well-known text representation. - - - - The formatter to create/format text to and from spatial. - - - - - URI builder that constructes a from the parsed query tokens. - - - - - The query token to write to Uri. - - - - - The string builder to write the query token to. - - - - - Create a new Uri builder for the given token. - - The token to write out as Uri. - - - - Create a URI for the given queryDescriptor given the base service URI. - - The base service URI. - The query descriptor to create the result URI from. - An absolute URI that base on the baseUri and represent the queryDescriptor. - - - - Get the Uri string representation of the given CLR object literal. - - The object to return as literal. - Uri string represent if is a CLR literal. Throw exception if not. - - - - Write the descriptor token as URI part to this builder. - - To write as URI part. - - - - Append the given text to this builder. - - The text to append. - - - - Write the query token as URI part to this builder. - - To write as URI part. - - - - Write the Uri string representation of the given CLR object literal to the given builder. - - The to write the to. - The object to write as literal. - - - - Build the queryToken as Uri string part. - - The Uri part representing the queryToken. - - - - Write the binary token as URI part to this builder. - - To write as URI part. - - - - Write the function call token as URI part to this builder. - - To write as URI part. - - - - Writes a path to this builder. - - Array of segments. - - - - Write the literal token as URI part to this builder. - - To write as URI part. - - - - Write the orderby tokens as URI part to this builder. - - To write as URI part. - - - - Write the orderby token as URI part to this builder. - - To write as URI part. - - - - Write out a PathSegmentToken - - the pathSegmentToken to write. - - - - Write the property access token as URI part to this builder. - - To write as URI part. - - - - Write the navigation property token as URI part to this builder. - - To write as URI part. - - - - Write the given queryOption as Uri part. - - To write as URI part. - - - - Write ? or & depending on whether it is the start of the whole query or query part. - - True if start of whole query, false if not. - This is set to false after this method is called. - - - - Write the select token as URI part to this builder. - - To write as URI part. - - - - Write the expand token as URI part to this builder. - - To write as URI part. - - - - Write the star token as URI part to this builder. - - To write as URI part. - - - - Write the unary token as URI part to this builder. - - To write as URI part. - - - - Constants and utility methods for the OData URI builder. - - - - - The format for integer ToString output. - - - - - The format for float ToString output. - - - - - The format for byte ToString output. - - - - - The format for double ToString output. - - - - - The format for DateTime ToString output. - - - - - The format for DateTimeOffset ToString output. - - - - - The format for Decimal ToString output. - - - - - The format for Double ToString output. - - - - - Escape a string literal by replacing single ' with ''. - - Text to escape. - A string where all ' is replaced by ''. - - - - Returns the string representation of the inline count kind. - - The inline count kind to convert to string. - The string representation of the . - - - - Throw ODataException on the given QueryTokenKind as not supported for writing to Uri. - - QueryTokenKind that is not supported. - - - - Throw ODataException on the given CLR type as not supported for writing to Uri. - - CLR type that is not supported. - - - Use this class to perform late-bound operations on open properties. - This class was copied from the product. - - - MethodInfo for Add. - - - MethodInfo for AndAlso. - - - MethodInfo for Convert. - - - MethodInfo for Divide. - - - MethodInfo for Equal. - - - MethodInfo for GreaterThan. - - - MethodInfo for GreaterThanOrEqual. - - - MethodInfo for LessThan. - - - MethodInfo for LessThanOrEqual. - - - MethodInfo for Modulo. - - - MethodInfo for Multiply. - - - MethodInfo for Negate. - - - MethodInfo for Not. - - - MethodInfo for NotEqual. - - - MethodInfo for OrElse. - - - MethodInfo for Subtract. - - - MethodInfo for TypeIs. - - - MethodInfo for object OpenTypeMethods.GetValue(this object value, string propertyName). - - - Gets a named value from the specified object. - Object to get value from. - Name of property to get. - The requested value; null if not found. - - - Adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Performs logical and of two expressions. - Left value.Right value. - The result of logical and. - - - Divides two values. - Left value.Right value. - The divided value. - - - Checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Performs logical or of two expressions. - Left value.Right value. - The result of logical or. - - - Subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Negates (arithmetically) the specified value. - Value. - The negated value. - - - Negates (logically) the specified value. - Value. - The negated value. - - - Performs an type cast on the specified value. - Value. - Type reference to check for. - Casted value. - - - Performs an type check on the specified value. - Value. - Type reference to check for. - True if value is-a type; false otherwise. - - - - Concats the given 2 string. - - first string. - second string. - returns a new instance of the concatenated string. - - - - Checks with the parameters are of string type, if no, then they throw. - Otherwise returns true if the target string ends with the given sub string - - target string - sub string - Returns true if the target string ends with the given sub string, otherwise return false. - - - - Returns the index of the given substring in the target string. - - target string - sub string to match - returns the index of the given substring in the target string if present, otherwise returns null. - - - - Returns the length of the given string value. If the value is not of string type, then it throws. - - value whose length needs to be calculated. - length of the string value. - - - - Replaces the given substring with the new string in the target string. - - target string - substring to be replaced. - new string that replaces the sub string. - returns a new string with the substring replaced with new string. - - - - Checks whether the target string starts with the substring. - - target string. - substring - returns true if the target string starts with the given sub string, otherwise returns false. - - - - Returns the substring given the starting index - - target string - starting index for the substring. - the substring given the starting index. - - - - Returns the substring from the target string. - - target string. - starting index for the substring. - length of the substring. - Returns the substring given the starting index and length. - - - - Checks whether the given string is a substring of the target string. - - substring to check for. - target string. - returns true if the target string contains the substring, otherwise returns false. - - - - Returns a copy of the target string converted to lowercase. - - target string - a new string instance with everything in lowercase. - - - - Returns a copy of the target string converted to uppercase. - - target string - a new string instance with everything in uppercase. - - - - Removes all leading and trailing white-space characters from the target string. - - target string. - returns the trimed string. - - - - Returns the year value of the given datetime. - - datetime object. - returns the year value of the given datetime. - - - - Returns the month value of the given datetime. - - datetime object. - returns the month value of the given datetime. - - - - Returns the day value of the given datetime. - - datetime object. - returns the day value of the given datetime. - - - - Returns the hour value of the given datetime. - - datetime object. - returns the hour value of the given datetime. - - - - Returns the minute value of the given datetime. - - datetime object. - returns the minute value of the given datetime. - - - - Returns the second value of the given datetime. - - datetime object. - returns the second value of the given datetime. - - - - Returns the ceiling of the given value - - decimal or double object. - returns the ceiling value for the given double or decimal value. - - - - returns the floor of the given value. - - decimal or double object. - returns the floor value for the given double or decimal value. - - - - Rounds the given value. - - decimal or double object. - returns the round value for the given double or decimal value. - - - Creates an expression that adds two values with no overflow checking. - Left value.Right value. - The added value. - - - Creates a call expression that represents a conditional AND operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that divides two values. - Left value.Right value. - The divided value. - - - Creates an expression that checks whether two values are equal. - Left value.Right value. - true if left equals right; false otherwise. - - - Creates an expression that checks whether the left value is greater than the right value. - Left value.Right value. - true if left is greater than right; false otherwise. - - - Creates an expression that checks whether the left value is greater than or equal to the right value. - Left value.Right value. - true if left is greater than or equal to right; false otherwise. - - - Creates an expression that checks whether the left value is less than the right value. - Left value.Right value. - true if left is less than right; false otherwise. - - - Creates an expression that checks whether the left value is less than or equal to the right value. - Left value.Right value. - true if left is less than or equal to right; false otherwise. - - - Creates an expression that calculates the remainder of dividing the left value by the right value. - Left value.Right value. - The remainder value. - - - Creates an expression that multiplies two values with no overflow checking. - Left value.Right value. - The multiplication value. - - - Creates a call expression that represents a conditional OR operation that evaluates the second operand only if it has to. - Left value.Right value. - The conditional expression; null if the expressions aren't of the right type. - - - Creates an expression that checks whether two values are not equal. - Left value.Right value. - true if left is does not equal right; false otherwise. - - - Creates an expression that subtracts the right value from the left value. - Left value.Right value. - The subtraction value. - - - Creates an expression that negates (arithmetically) the specified value. - Value expression. - The negated value. - - - Creates an expression that negates (logically) the specified value. - Value expression. - The negated value. - - - - Returns the specified with a - type assignable to System.Object. - - Expression to convert. - - The specified with a type assignable - to System.Object. - - - - - Lexical token representing the parameter for an Any/All query. - - - - - The name of the Any/All parameter. - - - - - Create a new RangeVariableToken - - The name of the visitor for the Any/All query. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the parameter. - - - - - Lexical token representing a query option. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Create a new CustomQueryOptionToken given name and value. - - The name of the query option. - The value of the query option. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the query option. - - - - - The value of the query option. - - - - - Helper methods for working with query tokens. - - - - - Try to parse the given string as a InlineCountKind. - - The string to be parsed. - A InlineCountKind value if successful. Null if not. - - - - Try to parse the given segment name as a KeywordKind. - - The segment name. - A KeywordKind value if successful. Null if not. - - - - Get the Uri name equivalent of the given KeywordKind. - - The KeywordKind to get name for. - A $ keyword that represent the given keyword. - - - - Lexical token representing a select operation. - - - - - The properties according to which to select the results. - - - - - Create a SelectToken given the property-accesses of the select query. - - The properties according to which to select the results. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The properties according to which to select the results. - - - - - Node representing a function call which returns a single value. - - - - - the name of this function. - - - - - The list of function imports - - - - - List of arguments to this function call. - - - - - The type of value returned by this function. - - - - - The semantically bound parent of this function - - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - List of arguments to this function call. - The type of value returned by this function. - Throws if the input name is null. - - - - Create a SingleValueFunctionCallNode - - The name of the function to call - the list of functions to call - the list of arguments to this function - the type of the value returned by this function. - The semantically bound parent of this function. - Throws if the input functionImports is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the name of the function to call. - - - - - Gets the list of function imports. - - - - - Gets the list of arguments to this function call. - - - - - Gets The type of value returned by this function. - - - - - Gets the semantically bound parent of this function. - - - - - Gets the kind of this node. - - - - - Class representing a function signature using EDM types. - - - - The argument types for this function signature. - - - - Constructor taking all the argument types. - - The argument types for this function signature. - - - - The argument types for this function signature. - - - - - Class representing a function signature using EDM types. - - - - - The return type of this function signature. - - - - - Constructor taking all the argument types. - - The return type of this function signature. - The argument types for this function signature. - - - - The return type of this function signature. - - - - - Lexical token representing an all-properties access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a new StarToken given the NextToken (if any). - - The NextToken token to access the property on. Pass no if this property has no NextToken. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - the name of this token(inherited from PathToken), which in this case is always "*" - - - - - Helper methods for promoting argument types of operators and function calls. - - - Note that the lists of signatures are for matching primitive types to functions. - Equality (eq and ne) operators are a bit special since they are also defined for - entity and complex types. - - - - Function signatures for logical operators (and, or). - - - Function signatures for the 'not' operator. - - - Function signatures for arithmetic operators (add, sub, mul, div, mod). - - - Function signatures for relational operators (eq, ne, lt, le, gt, ge). - - - Function signatures for the 'negate' operator. - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type reference of left operand. - Type reference of right operand. - True if a valid function signature was found that matches the given types after any necessary promotions are made. - False if there is no binary operators - - - Checks that the operands (possibly promoted) are valid for the specified operation. - The operator kind to promote the operand types for. - Type of the operand. - True if the type could be promoted; otherwise false. - - - Finds the best fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The best fitting function; null if none found or ambiguous. - - - Finds the exact fitting function for the specified arguments. - Functions to consider. - Types of the arguments for the function. - The exact fitting function; null if no exact match was found. - - - Checks whether the source type is compatible with the target type. - Source type. - Target type. - true if source can be used in place of target; false otherwise. - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - - Gets the correct set of function signatures for type promotion for a given binary operator. - - The operator kind to get the signatures for. - The set of signatures for the specified . - - - Finds the best methods for the specified arguments given a candidate method enumeration. - The candidate function signatures. - The argument type references to match. - The number of "best match" methods. - - - Checks whether the specified method is applicable given the argument expressions. - The candidate function signature to check. - The argument types to match. - An applicable function signature if all argument types can be promoted; 'null' otherwise. - - - Promotes the specified expression to the given type if necessary. - The actual argument type. - The required type to promote to. - True if the could be promoted; otherwise false. - - - Finds the best applicable methods from the specified array that match the arguments. - The candidate function signatures. - The argument types to match. - Best applicable methods. - - - - Checks whether the type list has better argument matching against the - than the type list. - - Actual arguments types. - First type list to check. - Second type list to check. - - True if has better parameter matching than ; otherwise false. - - - - Checks which conversion is better. - Source type. - First candidate type to convert to. - Second candidate type to convert to. - - Return 1 if s -> t1 is a better conversion than s -> t2 - Return -1 if s -> t2 is a better conversion than s -> t1 - Return 0 if neither conversion is better - - - - - Tries to handle the special eq and ne operators, which have a broader definition than the other binary operators. - We try a few special cases and return true if we used one of them. Otherwise we return false, and - allow the regular function matching code to handle the primitive cases. - - Left type. - Right type. - True if this function was able to handle the promotion of these types, false otherwise. - - - Checks whether the specified type is a signed integral type. - Type reference to check. - true if is a signed integral type; false otherwise. - - - Checks whether the specified type is an unsigned integral type. - Type to check. - true if is an unsigned integral type; false otherwise. - - - Checks if the specified type is a decimal or nullable decimal type. - Type to check. - true if is either decimal or nullable decimal type; false otherwise. - - - Checks if the specified type is either double or single or the nullable variants. - Type to check. - true if is double, single or nullable double or single; false otherwise. - - - Gets a flag for the numeric kind of type. - Type to get numeric kind for. - The of the argument. - - - Numeric type kinds. - - - A type that is not numeric. - - - A type that is a char, single, double or decimal. - - - A type that is a signed integral. - - - A type that is an unsigned integral. - - - - Extension methods to make it easier to work with PropertyInfo objects on a type. - - - - - Gets the property info for the EDM property on the specified type. - - The type to get the property on. - Property instance to get the property info for. - Model containing annotations. - Returns the PropertyInfo object for the specified property. - The method searches this type as well as all its base types for the property. - - - - Annotation stored on a type to hold PropertyInfo objects for its properties. - - - - - Cache of property info objects already created for properties on the type the annotation is on. - - - - - Gets the property info annotation for the specified type or creates a new one if it doesn't exist. - - The type to get the annotation for. - The model containing annotations. - The property info annotation. - - - - Gets the property info for the EDM property declared on this type. - - The structured type to get the property on. - Property instance to get the property info for. - The model containing annotations. - Returns the PropertyInfo object for the specified EDM property. - - - - Node representing an access to a property value. - - - - - The value containing this property. - - - - - The EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Constructs a . - - The value containing this property. - The EDM property which is to be accessed. - Throws if input source or property is null. - Throws if input property is not structural, or is a collection. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the EDM property which is to be accessed. - - Only non-entity, non-collection properties are supported by this node. - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this node. - - - - - Node representing a type segment that casts a single entity parent node. - - - - - The entity that we're casting to a different type. - - - - - The target type that the source is cast to. - - - - - The EntitySet containing the source entity. - - - - - Created a SingleEntityCastNode with the given source node and the given type to cast to. - - Source that is being cast. - Type to cast to. - Throws if the input entityType is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - Gets the entity that we're casting to a different type. - - - - - Gets the target type that the source is cast to. - - - - - Gets the target type that the source is cast to. - - - - - Gets the EntitySet containing the source entity.. - - - - - Gets the kind of this query node. - - - - - Lexical token representing a type segment. - - - - - The Identifier of the type segment. - - - - - The parent segment. - - - - - Create a TypeSegmentQueryToken given the Identifier and the parent (if any) - - The Identifier of the type segment, including the namespace. - The parent segment. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The full name of the type. - - - - - The parent. - - - - - Node representing a unary operator. - - - - - The operand of the unary operator. - - - - - The operator represented by this node. - - - - - Cache for the TypeReference after it has been calculated for the current state of the node. - This can be an expensive calculation so we want to avoid doing it repeatedly. - - - - - Creates a UnaryOperatorNode - - the kind of operator this node represents - the operand that this operator modifies - Throws if the input operand is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the operator represented by this node. - - - - - Gets the operand of the unary operator. - - - - - Gets the type of the single value this node represents. - - - - - Gets the kind of this query node. - - - - - Helper methods for working with query nodes. - - - - - Checks whether a query node is a collection query node representing a collection of entities. - - The to check. - The converted or null if is not an entity collection node. - - - - Checks whether a query node is a collection query node representing a collection. - - The to check. - The converted or null if is not a collection node. - - - - Compute the result type of a binary operator based on the type of its operands and the operator kind. - - The type reference of the operators. - The kind of operator. - The result type reference of the binary operator. - - - Use this class to parse an expression in the OData URI format. - - Literals (non-normative "handy" reference - see spec for correct expression): - Null null - Boolean true | false - Int32 (digit+) - Int64 (digit+)(L|l) - Decimal (digit+ ['.' digit+])(M|m) - Float (digit+ ['.' digit+][e|E [+|-] digit+)(f|F) - Double (digit+ ['.' digit+][e|E [+|-] digit+) - String "'" .* "'" - DateTime datetime"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]"'" - DateTimeOffset datetimeoffset"'"dddd-dd-dd[T|' ']dd:mm[ss[.fffffff]]-dd:mm"'" - Time time"'"dd:mm[ss[.fffffff]]"'" - Binary (binary|X)'digit*' - GUID guid'digit*' - - - - - For an identifier, EMD supports chars that match the regex [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}] - IsLetterOrDigit covers Ll, Lu, Lt, Lo, Lm, Nd, this set covers the rest - - - - Text being parsed. - - - Length of text being parsed. - - - flag to indicate whether to delimit on a semicolon. - - - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - Position on text being parsed. - - - Character being processed. - - - Token being processed. - - - Lexer ignores whitespace - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - - - Initializes a new . - Expression to parse. - If true, this constructor will call NextToken() to move to the first token. - If true, the lexer will tokenize based on semicolons as well. - Whether the lexer is being used to parse function parameters. If true, will allow/recognize parameter aliases and typed nulls. - - - - Determines if the next token can be processed without error without advancing the token. - - The next ExpressionToken. This value is undefined if error is defined. - Exception generated from trying to process the next token. - True if the next token can be processed, false otherwise. - - - Reads the next token, skipping whitespace as necessary, advancing the Lexer. - The next token. - Throws on error. - - - - Starting from an identifier, reads a sequence of dots and - identifiers, and returns the text for it, with whitespace - stripped. - - do we allow a star in this identifier - The dotted identifier starting at the current identifier. - - - Returns the next token without advancing the lexer. - The next token. - - - - Check whether the current identifier is a function. If so, expand the token text to the function signature - - True if the current identifier is a function call - - - Validates the current token is of the specified kind. - Expected token kind. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - Reads the next token, skipping whitespace as necessary. - Error that occurred while trying to process the next token. - The next token, which may be 'bad' if an error occurs. - - - - Expand the token selection if the next token matches the input token - - the list of token id to match - true if matched - - - Handles lexemes that are formed by an identifier followed by a quoted string. - This method modified the token field as necessary. - - - Advanced to the next character. - - - Parses a token that starts with a digit. - The kind of token recognized. - - - - Parses white spaces - - - - - Parses a complex value - - the starting delimiter - the ending delimiter. - - - - Advance the pointer to the next occurance of the given value, swallowing all characters in between. - - the ending delimiter. - - - Parses an identifier by advancing the current character. - - - Sets the text position. - New text position. - - - Validates the current character is a digit. - - - Token being processed. - - - Text being parsed. - - - Position on text being parsed. - - - - Gets if the current char is whitespace. - - - - - Gets if the current char is digit. - - - - - Is the current char a valid starting char for an identifier. - Valid starting chars for identifier include all that are supported by EDM ([\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}]) and '_'. - - - - - Is the current char a valid non-starting char for an identifier. - Valid non-starting chars for identifier include all that are supported - by EDM [\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Lm}\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Cf}]. - This list includes '_', which is ConnectorPunctuation (Pc) - - - - This class implements IEqualityComparer for UnicodeCategory - - Using this class rather than EqualityComparer<T>.Default - saves from JIT'ing it in each AppDomain. - - - - - Checks whether two unicode categories are equal - - first unicode category - second unicode category - true if they are equal, false otherwise - - - - Gets a hash code for the specified unicode category - - the input value - The hash code for the given input unicode category, the underlying int - - - Use this class to represent a lexical expression token. - - - Token representing gt keyword - - - Token representing eq keyword - - - Token representing lt keyword - - - InternalKind of token. - - - Token text. - - - Position of token. - - - Provides a string representation of this token. - String representation of this token. - - - Gets the current identifier text. - The current identifier text. - - - Checks that this token has the specified identifier. - Identifier to check. - true if this is an identifier with the specified text. - - - Checks whether this token is a comparison operator. - - - Checks whether this token is an equality operator. - - - Checks whether this token is a valid token for a key value. - - - Checks whether this token is a valid token for a function parameter. - - - Enumeration values for token kinds. - - - Unknown. - - - End of text. - - - '=' - equality character. - - - Identifier. - - - NullLiteral. - - - BooleanLiteral. - - - StringLiteral. - - - IntegerLiteral. - - - Int64 literal. - - - Single literal. - - - DateTime literal. - - - DateTimeOffset literal. - - - Time literal. - - - Decimal literal. - - - Double literal. - - - GUID literal. - - - Binary literal. - - - Geography literal. - - - Geometry literal. - - - Exclamation. - - - OpenParen. - - - CloseParen. - - - Comma. - - - Colon. - - - Minus. - - - Slash. - - - Question. - - - Dot. - - - Star. - - - SemiColon - - - ParameterAlias - - - A Brace BracketedExpression is an expression within brackets or braces. It contains a JSON object or array. - - - - Lexical token representing a function call. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - the source token for this function call - - - - - Create a new FunctionCallToken using the given function name and argument values. - - The name of the function to call. - The argument values for the function. - - - - Create a new FunctionCallToken using the given function name and parameter tokens. - - The name of the function to call. - The arguments for the function. - The syntactically bound parent of this function - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The name of the function to call. - - - - - The arguments for the function. - - - - - The syntactically bound parent of this function. - - - - - Node representing a key lookup on a collection. - - - - - The collection that this key is referring to. - - - - - The EntitySet containing the collection this key referrs to. - - - - - The resouce type of the single value the key referrs to. - - - - - List of the properties and their values that we use to look up our return value. - - - - - Constructs a KeyLookupNode. - - The collection that this key is referring to. - List of the properties and their values that we use to look up our return value. - Throws if the input source is null. - - - - Gets the collection that this key is referring to. - - - - - Gets the list of the properties and their values that we use to look up our return value. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the resouce type of the single value that the key referrs to. - - - - - Gets the EntitySet that contains the collection this key referrs to. - - - - - Gets the kind for this node. - - - - - Class representing a single key property value in a key lookup. - - - - - Gets or sets the key property. - - - - - Gets or sets the value of the key property. - - - - - Class representing a single named value (name and value pair). - - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Create a new NamedValue lookup given name and value. - - The name of the value. Or null if the name was not used for this value. - The value - a literal. - - - - The name of the value. Or null if the name was not used for this value. - - - - - The value - a literal. - - - - - Lexical token representing a literal value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - The value of the literal. This is a parsed primitive value. - - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - - - - Create a new LiteralToken given value and originalText - - The value of the literal. This is a parsed primitive value. - The original text value of the literal. - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The value of the literal. This is a parsed primitive value. - - - - - The original text value of the literal. - - This is used only internally to simulate correct compat behavior with WCF DS. - We should only use this during type promotion when applying metadata. - - - - Binder which applies metadata to a lexical QueryToken tree and produces a bound semantic QueryNode tree. - - - - - Encapsulates the state of the metadate binding. - - - - - Constructs a MetadataBinder with the given . - This constructor gets used if you are not calling the top level entry point ParseQuery. - This is an at-your-own-risk constructor, since you must provide valid initial state. - - The initialState to use for binding. - - - - Processes the skip operator (if any) and returns the combined query. - - The skip amount or null if none was specified. - the skip clause - - - - Processes the top operator (if any) and returns the combined query. - - The top amount or null if none was specified. - the top clause - - - - Process the remaining query options (represent the set of custom query options after - service operation parameters and system query options have been removed). - - the current state of the binding algorithm. - pointer to a binder method. - The list of instances after binding. - - - - Visits a in the lexical tree and binds it to metadata producing a semantic . - - The query token on the input. - The bound query node output. - - - - Bind a function parameter token - - The token to bind. - A semantically bound FunctionCallNode - - - - Binds a InnerPathToken. - - Token to bind. - Either a SingleNavigationNode, CollectionNavigationNode, SinglePropertyAccessNode (complex), - or CollectionPropertyAccessNode (primitive or complex) that is the metadata-bound version of the given token. - - - - Binds a parameter token. - - The parameter token to bind. - The bound query node. - - - - Binds a literal token. - - The literal token to bind. - The bound literal token. - - - - Binds a binary operator token. - - The binary operator token to bind. - The bound binary operator token. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Binds a type startPath token. - - The type startPath token to bind. - The bound type startPath token. - - - - Binds a LambdaToken. - - The LambdaToken to bind. - A bound Any or All node. - - - - Binds a property access token. - - The property access token to bind. - The bound property access token. - - - - Binds a function call token. - - The function call token to bind. - The bound function call token. - - - - Encapsulates the state of the metadate binding. - - - - - Delegate for a function that visits a QueryToken and translates it into a bound QueryNode. - TODO : Eventually replace this with a real interface for a visitor. - - QueryToken to visit. - Metadata bound QueryNode. - - - - Enumeration of order by directions. - - - - - Ascending order. - - - - - Descending order. - - - - - Lexical token representing an order by operation. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Create a new OrderByToken given the expression and direction - - The expression according to which to order the results. - The direction of the ordering. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The direction of the ordering. - - - - - The expression according to which to order the results. - - - - - Lexical token representing the last segment in a path. - - - - - The Identifier of the property to access. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - Create a EndPathToken given the Identifier and the NextToken (if any) - - The Identifier of the property to access. - The NextToken token to access the property on. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The NextToken token to access the property on. - If this is null, then the property access has no NextToken. That usually means to access the property - on the implicit parameter for the expression, the result on which the expression is being applied. - - - - - The Identifier of the property to access. - - - - - The root node of a query. Holds the query itself plus additional metadata about the query. - - - - - The top level path for this Uri. - - - - - Any custom query options for this Uri. - - - - - Any select or expand options in this uri. Can be null. - - - - - Any filter option in this uri. Can be null. - - - - - Any order by option in this uri. Can be null. - - - - - Any skip option in this uri. Can be null. - - - - - Any top option in this uri. Can be null. - - - - - Any inline count option in this uri. Can be null. - - - - - Create a new ODataUri. This contains the semantic meaning of the - entire uri. - - The top level path for this uri. - Any custom query options for this uri. Can be null. - Any $select or $expand option for this uri. Can be null. - Any $filter option for this uri. Can be null. - Any $orderby option for this uri. Can be null - Any $skip option for this uri. Can be null. - Any $top option for this uri. Can be null. - Any $inlinecount option for this uri. Can be null. - - - - Gets the top level path for this uri. - - - - - Gets any custom query options for this uri. - - - - - Gets any $select or $expand option for this uri. - - - - - Gets any $filter option for this uri. - - - - - Gets any $orderby option for this uri. - - - - - Gets any $skip option for this uri. - - - - - Gets any $top option for this uri. - - - - - Get any $inlinecount option for this uri. - - - - - Lexical token representing the entire query. - - - - - The default setting for the max depth. - - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Create a new SyntacticTree given its parts as arguments. - - The path for the query. Must not be null. - The filter for the query. If the property is null, there's no filter for this query. - Enumeration of order by tokens. - The select for the query. If the property is null, there's no select for this query. - The expansions for the query. If the property is null, there are no expandsion for this query. - The number of entities to skip in the result. - The (maximum) number of entities to include in the result. - Type of inlinecount in the response of the query. - The format for the query. - The query options for the query. - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - A new instance of which represents the query specified in the . - - - - Parses the and returns a new instance of - describing the query specified by the uri. - - The absolute URI which holds the query to parse. This must be a path relative to the . - The base URI of the service. - The maximum depth of any single query part. Security setting to guard against DoS attacks causing stack overflows and such. - A new instance of which represents the query specified in the . - - - - The path for the query. - - - - - The filter for the query. If the property is null, there's no filter for this query. - - - - - Enumeration of order by tokens. The order by operations must be applied in the order in which - they are listed in this enumeration. - - - - - The select for the query. If the property is null, there's no select for this query. - - - - - The expand for the query. If the property is null, there's no expand for this query. - - - - - The number of entities to skip in the result. - - - - - The (maximum) number of entities to include in the result. - - - - - The format for the query. - - - - - Type of inlinecount in the response of the query. - - - - - The query options for the query; these include non-system query options starting with '$', - service operation arguments and custom query options. - - - - - Public enumeration of kinds of query nodes. A subset of InternalQueryNodeKind - - - - - No query node kind... the default value. - - - - - A constant value. - - - - - A node that represents conversion from one type to another. - - - - - Non-entity node referencing a range variable. - - - - - Node used to represent a binary operator. - - - - - Node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection of entities. - - - - - Placeholder node referencing a rangeVariable on the binding stack that references an entity. - - - - - Node the represents a function call that returns a single entity. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - Internal enumeration of kinds of query nodes. A superset of QueryNodeKind - - - - - none... default value. - - - - - The constant value. - - - - - A node that signifies the promotion of a primitive type. - - - - - Non-entity node referencing a range variable. - - - - - Parameter node used to represent a binary operator. - - - - - Parameter node used to represent a unary operator. - - - - - Node describing access to a property which is a single (non-collection) non-entity value. - - - - - Node describing access to a property which is a non-entity collection value. - - - - - Function call returning a single value. - - - - - Any query. - - - - - Node for a navigation property with target multiplicity Many. - - - - - Node for a navigation property with target multiplicity ZeroOrOne or One. - - - - - Single-value property access that refers to an open property. - - - - - Cast on a single thing. - - - - - All query. - - - - - Cast on a collection. - - - - - Entity node referencing a range variable. - - - - - SingleEntityFunctionCall node. - - - - - Node that represents a function call that returns a collection. - - - - - Node that represents a funciton call that returns a collection of entities. - - - - - Node that represents a named function parameter. - - - - - The entity set node. - - - - - The key lookup on a collection. - - - - - Helper methods for working with query options. - - - - - Returns a query option value by its name and removes the query option from the collection. - - The collection of query options. - The name of the query option to get. - The value of the query option or null if no such query option exists. - - - - Node representing an entity set. - TODO : This should be deleted but it is used in many, many tests. - - - - - The entity set this node represents. - - - - - The resouce type of a single entity in the entity set. - - - - - the type of the collection returned by this function - - - - - Creates an - - The entity set this node represents - Throws if the input entitySet is null. - - - - Gets the resouce type of a single entity in the entity set. - - - - - The type of the collection represented by this node. - - - - - Gets the resouce type of a single entity in the entity set. - - - - - Gets the entity set this node represents. - - - - - Gets the kind for this node. - - - - - Parser which consumes the URI format of primitive types and converts it to primitive types. - - - - Whitespace characters to trim around literals. - - - Determines whether the specified character is a valid hexadecimal digit. - Character to check. - true if is a valid hex digit; false otherwise. - - - Converts a string to a primitive value. - String text to convert. - Type to convert string to. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of the WebConvert.TryKeyStringToPrimitive - - - - Try to parse a string value into a non-negative integer. - - The string value to parse. - The non-negative integer value parsed from the . - True if could successfully be parsed into a non-negative integer; otherwise returns false. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - Whether quotes were successfully removed. - Copy of WebConvert.TryRemoveQuotes. - - - - Converts a string to a byte[] value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToByteArray. - - - - Converts a string to a GUID value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToGuid. - - - - Converts a string to a DateTime value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTime. - - - - Converts a string to a DateTimeOffset value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToDateTimeOffset. - - - - Converts a string to a Time value. - - String text to convert. - After invocation, converted value. - true if the value was converted; false otherwise. - Copy of WebConvert.TryKeyStringToTime. - - - - Try to parse the given text to a Geography object. - - Text to parse. - Geography to return. - True if succeeds, false if not. - - - - Try to parse the given text to a Geometry object. - - Text to parse. - Geometry to return. - True if succeeds, false if not. - - - - Check and strip the input for literal - - The suffix value - The string to check - A string that has been striped of the suffix - Copy of WebConvert.TryRemoveLiteralSuffix. - - - - Tries to remove a literal from the specified . - - Prefix to remove; one-letter prefixes are case-sensitive, others insensitive. - Text to attempt to remove prefix from. - true if the prefix was found and removed; false otherwise. - Copy of WebConvert.TryRemoveLiteralPrefix. - - - - Checks whether the specified text is a correctly formatted quoted value. - - Text to check. - true if the text is correctly formatted, false otherwise. - Copy of WebConvert.IsKeyValueQuoted. - - - - Removes quotes from the single-quotes text. - - Text to remove quotes from. - The specified with single quotes removed. - Copy of WebConvert.RemoveQuotes. - - - - Returns the 4 bits that correspond to the specified character. - - Character in the 0-F range to be converted. - The 4 bits that correspond to the specified character. - Thrown when 'c' is not in the '0'-'9','a'-'f' range. - This is a copy of WebConvert.HexCharToNibble. - - - - Enumeration of kinds of query tokens. - - - - - The binary operator. - - - - - The unary operator. - - - - - The literal value. - - - - - The function call. - - - - - The property access. - - - - - The order by operation. - - - - - A query option. - - - - - The Select query. - - - - - The *. - - - - - The Expand query. - - - - - Type segment. - - - - - Any query. - - - - - Non root segment. - - - - - type segment. - - - - - Parameter token. - - - - - All query. - - - - - ExpandTerm Token - - - - - FunctionParameterToken - - - - - FunctionParameterAlias - - - - - RawFunctionParameterValue - - - - - Lexical token representing a unary operator. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Create a new UnaryOperatorToken given the operator and operand - - The operator represented by this node. - The operand. - - - - Accept a to walk a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - - - - The kind of the query token. - - - - - The operator represented by this node. - - - - - The operand. - - - - - Enumeration of binary operators. - - - - - The unary - operator. - - - - - The not operator. - - - - - Constant values related to the URI query syntax. - - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates batch is being requested. - - - A segment name in a URI that indicates that this is an entity reference link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A filter query option name. - - - An order by query option name. - - - A select query option name. - - - An expand query option name. - - - A skip query option name. - - - A valid value to denote all-properties access. - - - A top query option name. - - - A inline-count query option name. - - - A format query option name. - - - - Parser which consumes the query expression ($filter, $orderby) and produces the lexical object model. - - - - - The maximum number of recursion nesting allowed. - - - - - Set of parsed parameters - - - - - The current recursion depth. - - - - - The lexer being used for the parsing. - - - - - Constructor. - - The maximum depth of each part of the query - a recursion limit. - - - - Parses a literal. - - The lexer to use. - The literal query token or null if something else was found. - - - - Parses the $filter expression. - - The $filter expression string to parse. - The lexical token representing the filter. - - - - Parses the $orderby expression. - - The $orderby expression string to parse. - The enumeraion of lexical tokens representing order by tokens. - - - - Creates a new for the given filter or orderby expression. - - The expression. - The lexer for the expression, which will have already moved to the first token. - - - Creates an exception for a parse error. - Message text. - A new Exception. - - - - Parses typed literals. - - The lexer to use. - Expected type to be parsed. - The EDM type name of the expected type to be parsed. - The literal token produced by building the given literal. - - - - Parses null literals. - - The lexer to use. - The literal token produced by building the given literal. - - - - Parses the expression. - - The lexical token representing the expression. - - - - Parses the or operator. - - The lexical token representing the expression. - - - - Parses the and operator. - - The lexical token representing the expression. - - - - Parses the eq, ne, lt, gt, le, ge operators. - - The lexical token representing the expression. - - - - Parses the add, sub operators. - - The lexical token representing the expression. - - - - Parses the mul, div, mod operators. - - The lexical token representing the expression. - - - - Parses the -, not unary operators. - - The lexical token representing the expression. - - - - Parses the primary expressions. - - The lexical token representing the expression. - - - - Handles the start of primary expressions. - - The lexical token representing the expression. - - - - Parses parenthesized expressions. - - The lexical token representing the expression. - - - - Parses the Any portion of the query - - The parent of the Any node. - The lexical token representing the Any query. - - - - Parses the All portion of the query - - The parent of the All node. - The lexical token representing the All query. - - - - Parses the Any/All portion of the query - - The parent of the Any/All node. - Denotes whether an Any or All is to be parsed. - The lexical token representing the Any/All query. - - - - Parses a segment. - - The parent of the segment node. - The lexical token representing the segment. - - - - Checks that the current token has the specified identifier. - - Identifier to check. - true if the current token is an identifier with the specified text. - - - - Marks the fact that a recursive method was entered, and checks that the depth is allowed. - - - - - Marks the fact that a recursive method is leaving. - - - - - Delegate for a function that parses an expression and translates it into a QueryToken. - - A QueryToken - - - - Parser which consumes the URI path and produces the lexical object model. - - - - - The maximum number of segments allowed. - - - - - Constructor. - - The maximum number of segments for each part of the query. - - - - Parses the and returns a list of strings for each segment. - - The relative URI which holds the query to parse. - a list of strings for each segment in the uri. - - - - Returns list of segments in the specified path (eg: /abc/pqr -> abc, pqr). - - The absolute URI of the request. - The service base URI for the request. - List of unescaped segments. - - - - Class that knows how to bind unary operators. - - - - - Method to use for binding the parent node, if needed. - - - - - Constructs a UnaryOperatorBinder with the given method to be used binding the parent token if needed. - - Method to use for binding the parent token, if needed. - - - - Binds a unary operator token. - - The unary operator token to bind. - The bound unary operator token. - - - - Get the promoted type reference of the operand - - the operand - the operator kind - the type reference of the operand - - - - Retrieve SingleValueNode operand from given token. - - The token - the SingleValueNode operand - - - - Node representing a single navigation property. - - - - - The entity set that this NavigationProperty targets. - - - - - The previous node in the path. - - - - - The navigation property this node represents. - - - - - The type of entity that this NavigationProperty targets. - - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The previous node in the path. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Constructs a SingleNavigationNode. - - The navigation property this node represents. - The entity set that this of the previous segment. - Throws if the input navigationProperty or source is null. - Throws if the input navigationProperty targets more than one entity. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the previous node in the path. - - - - - Gets the navigation property this node represents. - - - - - Gets the target multiplicity. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the type of entity that this NavigationProperty targets. - - - - - Gets the entity set that this NavigationProperty targets. - - - - - Gets the kind of this query node. - - - - - Uri utility methods. - - - - - Determines whether the Uri instance is a - base of the specified Uri instance. - - - The check is host agnostic. For example, "http://host1.com/Service.svc" is a valid base Uri of "https://host2.org/Service.svc/Bla" - but is not a valid base for "http://host1.com/OtherService.svc/Bla". - - The candidate base URI. - The specified Uri instance to test. - true if the baseUri Uri instance is a base of uri; otherwise false. - - - - Parses query options from a specified URI into a dictionary. - - The uri to get the query options from. - The parsed query options. - This method returns with all the query options. - Note that it is valid to include multiple query options with the same name. - - - - is this selection item a structural or navigation property selection item. - - the selection item to check - true if this selection item is a structural property selection item. - - - Creates a URI suitable for host-agnostic comparison purposes. - URI to compare. - URI suitable for comparison. - - - - Check whether the Uri is the base of the Uri. - - The candidate base Uri. - The Uri to check. - True if the is the base of the Uri. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in the ATOM and Verbose JSON formats. - - - - - Class to validate and resolve the type name to be serialized. - - - - - Validates a type name to ensure that it's not an empty string and resolves it against the provided . - - The model to use. - The type name to validate. - The expected type kind for the given type name. - The type with the given name and kind if a user model was available, otherwise null. - - - - Resolves and validates the Edm type for the given . - - The model to use. - The type inferred from the model or null if the model is not a user model. - The value in question to resolve the type for. - true if the type name belongs to an open property, false otherwise. - A type for the or null if no metadata is available. - - - - Gets the type name from the given . - - The value to get the type name from. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type name for the given . - - - - Resolve a type name against the provided . If not payload type name is specified, - derive the type from the model type (if available). - - The model to use. - The type inferred from the model or null if the model is not a user model. - The type name to be resolved. - The expected type kind of the resolved type. - True if the type name belongs to an open property. - A type for the or null if no type name is specified and no metadata is available. - - - - Validates that the (optional) is the same as the (optional) . - - The (optional) type from the metadata definition (the expected type). - The (optional) type from the value (the actual type). - The type as derived from the and/or . - - - - Determines the type name for the given entry to write to the payload. - - The ODataEntry whose type name is to be written - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name for the given value to write to the payload. - - The value whose type name is to be written. This can be an ODataPrimitiveValue, an ODataComplexValue, an ODataCollectionValue or a Clr primitive object. - The type resolved from the value. - The serialization type name annotation. - true if the type name belongs to an open property, false otherwise. - Returns the item type name of the collection type if is a collection value and its type name can be determined. - Type name to write to the payload, or null if no type should be written. - - - Atom metadata description for a categories element (app:categories). - - - Gets or sets a value that indicates whether the list of categories is fixed or an open set. - true if the list of categories is fixed; false if the list of categories is an open set. - - - Gets or sets the URI indicating the scheme of the categories without a scheme. - The URI indicating the scheme of the categories without a scheme. - - - Gets or sets the URI of the category document. - The URI of the category document. - - If this property is not null, the properties and must be both null - and the must be either null or empty collection. - - - - Gets or sets the atom category elements inside this categories element. - The atom category elements inside this categories element. - - - - Class responsible for storing and manipulating instance annotation data in ATOM payloads. - - - - - Backing field of the Target property. - - - - - Backing field of the Term property. - - - - - Backing field of the Value property. - - - - - Constructor. - - The target of the annotation. - The term whose value is being expressed through this annotation. - The annotation's value. - - - - Creates a new instance of this class by consuming xml from the given reader. - Creates an Atom-specific instance annotation from the format-independent representation of an annotation. - - The format-independent represetnation of an instance annotation. - The value of the target attribute on the m:annotation element, or null if the attribute should be omitted. - The created AtomInstanceAnnotation. - - - - Creates a new instance of this class by consuming xml from the given input context. - - The input context to use to create the annotation. - The property and value deserializer to use when reading values in the annotation element content. - The populated with the information from the 'm:annotation' XML element, as long as the value is a string. Returns null otherwise. - - Pre-Condition: XmlNodeType.Element - The annotation element to read. - Post-Condition: XmlNodeType.Any - The node after the end of the annotation element, or the same element as in the pre-condition if the annotation was skipped. - - - - - Retrieves the name of the attribute used in attribute value notation to indicate the given primitive type kind. - - The primitive type kind to look up. - The name of the corresponding attribute. - - - - Retrieves the Edm type represented by the given attribute name when using attribute value notation. - - The name of the attribute (must be one of "string", "int", "bool", "decimal", "float") - A nullable reference to the type represented by the attribute name, or null if the given name is not a valid attribute value notation name. - - - - Reads the current element's content as an ODataValue. - - The property and value deserializer to use to read values in ATOM. - The expected type of the annotation, may be null if the term is not defined in the model. - The deserialized value. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Reads an annotation's value from the annotation value notation specified on the current element. - - The expected type reference of the vocabulary term from the metadata. - The type reference indicated by the name of the attribute used in attribute value notation. - For example, if the attribute was called "string", this will be a reference to the string type. - The name of the attribute used by attribute avalue notation. - The value of the attribute used by attribute value notation. - The value of the "m:type" attribute on the annotation element. - true if the annotation element is empty, false otherwise. - The edm model instance. - The message reader settings instance. - The payload version to read. - The primitive value represented on this element via attribute value notation. - - - - The target of this annotation, as specified in the m:annotation/@target attribute. - - - - - The term of this annotation's value, as specified in the m:annotation/@term attribute. - - - - - The value of this annotation. - - - - - True if the annotation is targeting the xml element in which the annotation was found; false if the annotation is targeting a different element. - - - - - Xml writer which wraps another writer and fixes prefixes so that the root element is not prefix-qualified (same for everything else with the same prefix). - - - - - The wrapped writer. - - - - - The root prefix, once the first element of the document has been written. - - - - - Initializes a new instance of . - - The writer to wrap. - - - - When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling. - - The to read from. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - contains invalid characters. - - - - When overridden in a derived class, writes out all the attributes found at the current position in the . - - The XmlReader from which to copy the attributes. - true to copy the default attributes from the XmlReader; otherwise, false. - is null. - The reader is not positioned on an element, attribute or XmlDeclaration node. - - - - When overridden in a derived class, returns the closest prefix defined in the current namespace scope for the namespace URI. - - - The matching prefix or null if no matching namespace URI is found in the current scope. - - The namespace URI whose prefix you want to find. - is either null or String.Empty. - - - - When overridden in a derived class, flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - When overridden in a derived class, writes out the specified name, ensuring it is a valid NmToken according to the W3C XML 1.0 recommendation (http://www.w3.org/TR/1998/REC-xml-19980210#NT-Name). - - The name to write. - is not a valid NmToken; or is either null or String.Empty. - - - - When overridden in a derived class, closes this stream and the underlying stream. - - A call is made to write more output after Close has been called or the result of this call is an invalid XML document. - - - - When overridden in a derived class, encodes the specified binary bytes as BinHex and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. The number of bytes to write. is null. The writer is closed or in error state. or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a string. - - String containing the text to write. - is either null or String.Empty. - - - - When overridden in a derived class, encodes the specified binary bytes as Base64 and writes out the resulting text. - - Byte array to encode. The position in the buffer indicating the start of the bytes to write. - The number of bytes to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes raw markup manually from a character buffer. - - Character array containing the text to write. The position within the buffer indicating the start of the text to write. - The number of characters to write. is null. - or is less than zero. -or-The buffer length minus is less than . - - - - When overridden in a derived class, writes text one buffer at a time. - - Character array containing the text to write. The position in the buffer indicating the start of the text to write. - The number of characters to write. - is null. - or is less than zero. -or-The buffer length minus is less than ; the call results in surrogate pair characters being split or an invalid surrogate pair being written. - The parameter value is not valid. - - - - When overridden in a derived class, generates and writes the surrogate character entity for the surrogate character pair. - - The low surrogate. This must be a value between 0xDC00 and 0xDFFF. - The high surrogate. This must be a value between 0xD800 and 0xDBFF. - An invalid surrogate character pair was passed. - - - - When overridden in a derived class, writes the given text content. - - The text to write. The text string contains an invalid surrogate pair. - - - - When overridden in a derived class, writes the start of an attribute with the specified prefix, local name, and namespace URI. - - The namespace prefix of the attribute. The local name of the attribute. - The namespace URI for the attribute. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes the previous call. - - - - - When overridden in a derived class, writes out a <![CDATA[...]]> block containing the specified text. - - The text to place inside the CDATA block. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a comment <!--...--> containing the specified text. - - Text to place inside the comment. - The text would result in a non-well formed XML document. - - - - When overridden in a derived class, writes out a processing instruction with a space between the name and text as follows: <?name text?>. - - The name of the processing instruction. - The text to include in the processing instruction. - The text would result in a non-well formed XML document. is either null or String.Empty.This method is being used to create an XML declaration after has already been called. - - - - When overridden in a derived class, writes out an entity reference as &name;. - - The name of the entity reference. - is either null or String.Empty. - - - - When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value. - - The Unicode character for which to generate a character entity. - The character is in the surrogate pair character range, 0xd800 - 0xdfff. - - - - When overridden in a derived class, writes out the given white space. - - The string of white space characters. - The string contains non-white space characters. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0". - - This is not the first write method called after the constructor. - - - - When overridden in a derived class, writes the XML declaration with the version "1.0" and the standalone attribute. - - If true, it writes "standalone=yes"; if false, it writes "standalone=no". - This is not the first write method called after the constructor. - - - - When overridden in a derived class, closes any open elements or attributes and puts the writer back in the Start state. - - The XML document is invalid. - - - - When overridden in a derived class, writes the DOCTYPE declaration with the specified name and optional attributes. - - The name of the DOCTYPE. This must be non-empty. - If non-null it also writes public override "pubid" "sysid" where and are replaced with the value of the given arguments. - If is null and is non-null it writes SYSTEM "sysid" where is replaced with the value of this argument. - If non-null it writes [subset] where subset is replaced with the value of this argument. - This method was called outside the prolog (after the root element). - The value for would result in invalid XML. - - - - When overridden in a derived class, writes the specified start tag and associates it with the given namespace and prefix. - - The namespace prefix of the element. The local name of the element. - The namespace URI to associate with the element. - The writer is closed. - There is a character in the buffer that is a valid XML character but is not valid for the output encoding. For example, if the output encoding is ASCII, you should only use characters from the range of 0 to 127 for element and attribute names. The invalid character might be in the argument of this method or in an argument of previous methods that were writing to the buffer. Such characters are escaped by character entity references when possible (for example, in text nodes or attribute values). However, the character entity reference is not allowed in element and attribute names, comments, processing instructions, or CDATA sections. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - This results in an invalid XML document. - - - - When overridden in a derived class, closes one element and pops the corresponding namespace scope. - - - - - When overridden in a derived class, gets the current xml:lang scope. - - - The current xml:lang scope. - - - - - When overridden in a derived class, gets the state of the writer. - - - One of the values. - - - - - When overridden in a derived class, gets an representing the current xml:space scope. - - - An XmlSpace representing the current xml:space scope. - - - - - Gets the object used to create this instance. - - - The object used to create this writer instance. - - - - - Responsible for reading the annotation element in ATOM. - - - - - The input context to use when parsing the annotation element. - - - - Atomized string representation of the URI used for the OData metadata namespace. - - - Atomized name of the decimal attribute of an annotation element. - - - The property and value deserializer used to read values in ATOM. - - - - Creates a new ATOM annotation parser. - - The input context this annotation reader should use to read annotation elements. - The property and value deserializer to use to read the value of an annotation element. - - - - Attempts to read the current element as an annotation element. - - If this method returned true, this is the instance annotation information from the parsed element. - true if the element was an annotation element, false if it wasn't. - - Pre-Condition: XmlNodeType.Element - The element to read. - Post-Condition: XmlNodeType.EndElement - The end tag of the element (if the element was a non-empty annotation element). - XmlNodeType.Element - The same element as the pre-condition if this method returned false, or an empty annotation element. - - - - - OData ATOM deserializer for detecting the payload kind of an ATOM payload. - - - - - OData ATOM deserializer for properties and value types. - - - - - Base class for all OData ATOM deserializers. - - - - - Base class for all OData deserializers. - - - - The input context to use for reading. - - - - Constructor. - - The input context to read from. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message reader settings. - - - - - The OData version of the input. - - - - - true if the input is a response payload; false if it's a request payload. - - - - - The model to use. - - - - The ATOM input context to use for reading. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadStart(). - - - - - Reads till the end of the payload. Wraps the call to XmlReaderExtensions.ReadPayloadEnd(). - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - An absolute URI to report. - - - - Given a string representation of a URI from the payload, this method will return an absolute or relative URI. - - The URI string from the payload to process. - The (optional) Xml base URI as specified in the payload. - If true, then this method will try to make the URI absolute, or fail otherwise. - An absolute or relative URI to report based on the value of the parameter. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Asserts that the XML reader is positioned on one of the specified node types. - - True if an empty element node should be added to the list. - The node types which should appear at this point. - - - - The XML reader to read the input from. - - - - - The ATOM input context to use for reading. - - - - The empty namespace used for attributes in no namespace. - - - OData attribute which indicates the null value for the element. - - - Element name for the items in a Collection. - - - XML element name to mark type attribute in Atom. - - - The Edm.String type from the core model. - - - The current recursion depth of values read by this deserializer, measured by the number of complex and collection values read so far. - - - - Constructor. - - The ATOM input context to read from. - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type of the property to read. - An representing the read property. - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Determines the kind of value to read based on the payload shape. - - The kind of type of the value to read. - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - Post-Condition: XmlNodeType.Element - The XML element containing the value to get the kind for. - - - - - Reads the 'type' and 'isNull' attributes of a value. - - The value of the 'type' attribute or null if no 'type' attribute exists. - The value of the 'isNull' attribute or null if no 'isNull' attribute exists. - - Pre-Condition: XmlNodeType.Element - The element to read attributes from. - Post-Condition: XmlNodeType.Element - The element to read attributes from. - - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads the primitive, complex or collection value. - - The expected type reference of the value. - The duplicate property names checker to use (cached), or null if new one should be created. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate a null value (i.e., throw if a null value is being written for a non-nullable property); otherwise false. - Whether any EPM mappings exist. - The name of the property whose value is being read, if applicable (used for error reporting). - The value read (null, primitive CLR value, ODataComplexValue or ODataCollectionValue). - - Pre-Condition: XmlNodeType.Element - The XML element containing the value to read (also the attributes will be read from it) - Post-Condition: XmlNodeType.EndElement - The end tag of the element. - XmlNodeType.Element - The empty element node. - - - - - Read a null value from the payload. - - The expected type reference (for validation purposes). - true to validate the value against the . - The name of the property whose value is being read, if applicable (used for error reporting). - The null value. - - - - Reads the content of a properties in an element (complex value, m:properties, ...) - - The type which should declare the properties to be read. Optional. - The list of properties to add properties to. - The duplicate property names checker to use. - Whether any EPM mappings exist. - - Pre-Condition: XmlNodeType.Element - The element to read properties from. - Post-Condition: XmlNodeType.Element - The element to read properties from if it is an empty element. - XmlNodeType.EndElement - The end element of the element to read properties from. - - - - - Reads undeclared property in an element (primitive type value, or null value of complex type) - - The result ODataProperty. - - - - Reads a property. - - The expected property name to be read from the payload (or null if no expected property name was specified). - The expected type reference of the property value. - Behavior to use when reading null value for the property. - Whether any EPM mappings exist. - The ODataProperty representing the property in question; if null is returned from this method it means that the property is to be ignored. - - Pre-Condition: XmlNodeType.Element - The XML element representing the property to read. - Note that the method does NOT check for the property name neither it resolves the property against metadata. - Post-Condition: Any - The node after the property. - - - - - Read a primitive value from the reader. - - The type of the value to read. - The value read from the payload and converted as appropriate to the target type. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a complex value from the reader. - - The type reference of the value to read (or null if no type is available). - The name of the type specified in the payload. - The serialization type name for the complex value (possibly null). - The duplicate property names checker to use (cached), or null if new one should be created. - Whether any EPM mappings exist. - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.EndElement - the element has been read. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Read a collection from the reader. - - The type of the collection to read (or null if no type is available). - The name of the collection type specified in the payload. - The serialization type name for the collection value (possibly null). - The value read from the payload. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - Note that this method will not read null values, those should be handled by the caller already. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Constructor. - - The ATOM input context to read from. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - This method decides the payload kind based on the fully-qualified element name of the top-level Xml element - in the payload for entry, feed, entity reference link, error and service document payload kinds. It performs more checks - for properties and collection payloads as follows: - * If an m:type attribute is found => property - * If an m:null attribute is found => property - Otherwise the shape of the payload decides: - * If we only find d:element child nodes => collection or property - * If we find no child nodes => primitive property - * If we find anything else => complex property - - - - - Detects whether the current element represents a property payload, a collection payload or neither. - - An enumerable of zero, one or two payload kinds depending on whether a property, collection, both or neither were detected. - - - - OData ATOM serializer for collections. - - - - - OData ATOM serializer for properties and values. - - - - - Base class for all OData ATOM serializers. - - - - - Base class for all OData serializers. - - - - - The output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Validates association link before writing. - - The association link to validate. - The entity type of the entry the association link belongs to. - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - The message writer settings. - - - - - The URL resolver. - - - - - The OData version of the output. - - - - - true if the output is a response payload; false if it's a request payload. - - - - - The model to use. - - - - - The ATOM output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Converts the given Uri to a string. - If the provided baseUri is not null and is a base Uri of the Uri - the method returns the string form of the relative Uri. - - The Uri to convert. - If set to true then this method will fail if the uri specified by is relative - and no base uri is specified. - The string form of the Uri. If the Uri is absolute it returns the - string form of the . If the Uri is not absolute - it returns the original string of the Uri. - - - - Start writing an ATOM payload. - - - - - Finish writing an ATOM payload. - - This method MUST NOT be called after writing an in-stream error - as it would fail on unclosed elements (or try to close them). - - - - Writes a top-level error payload. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Write the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - An enumeration value to indicate what default namespace attributes to write. - - - - Writes the count. - - Count value. - True if the namespace declaration for the metadata namespace should be included; otherwise false. - - - - Write the base Uri of the document (if specified) and the namespaces for OData (prefix 'd') and OData metadata (prefix 'm') - - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes an Xml element with empty content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - - - - Returns the which is to be used to write the content of the message. - - - - - The ODataAtomOutputContext used by the serializer. - - - - - Flags to describe a set of default namespaces. - - - - No namespaces. - - - OData namespace. - - - OData metadata namespace. - - - ATOM namespace - - - GeoRss namespace. - - - GML namespace. - - - All default namespaces. - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Writes a single property in ATOM format. - - The property to write out. - - - - Writes a collection of instance annotations in ATOM format. - - Instance annotation collection to write. - The tracker to track which instance annotations have been written. - - - - Writes a single instance annotation in ATOM format. - - The instance annotation to write. - - - - Write the given collection of properties. - - The of the entry (or null if not metadata is available). - Collection of cached properties for the entry. - true if we are writing a top level collection instead of an entry. - Action which is called before the properties are written, if there are any property. - Action which is called after the properties are written, if there are any property. - The checker instance for duplicate property names. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-properites we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a primitive value. - - The value to write. - The collection validator instance. - The expected type of the primitive value. - The optional type name annotation provided by the user on the OM for this primitive value. The annotation value will override whatever type name is being written. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - true if we are writing a collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Action called after the copmlex value is written, if it's actually written. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Write the items of a collection in ATOM format. - - The collection value to write. - The type reference of the collection value (or null if not metadata is available). - true if the type name belongs to an open property. - true if we are writing a top-level collection instead of an entry. - - - - Writes the value of a primitive instance annotation. - - The primitive value to write. - The expected type of the annotation from the metadata. - - - - Writes a single property in ATOM format. - - The property to write out. - The owning type for the or null if no metadata is available. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The EPM source path segment which points to the property which sub-property we're writing. (can be null) - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - true if the property was actually written, false otherwise. - - - - Writes a property with a complex value in ATOM format. - - The complex value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if we are writing a top-level collection instead of an entry. - Action called before the complex value is written, if it's actually written. - Cache of values used in EPM so that we avoid multiple enumerations of properties/items. (can be null) - The type information for the property being written. - true if the type name belongs to an open property. - The EPM source path segment which points to the property we're writing. (can be null) - Set of projected properties, or null if all properties should be written. - true if anything was written, false otherwise. - - - - Writes a property with a collection value in ATOM format. - - The collection value to write. - The name of the property being written. - true if writing a top-level property payload; otherwise false. - true if writing a top-level collection payload instead of an entry. - Action which is called before the property is written, if it's going to be written. - The type reference of the collection value (or null if no metadata is available). - true if this property is undeclared and the owning type is open. - - - - Determines if the property with the specified value should be written into content or not. - - The owning type of the property to be checked. - The set of projected properties for the - The name of the property to be checked. - The property value to write. - The EPM source path segment for the property being written. - true if the property should be written into content, or false otherwise - - - - Writes a null property value in Atom format. - - The property type or null if we don't have any. - The name of the property to write out. - true if writing a top-level property payload; otherwise false. - true if we are writing a collection instead of an entry. - Action which is called before the property is written, if it's going to be written. - - - - Writes the property start element. - - Action called before anything else is written (if it's not null). - The name of the property to write. - true if we are writing a collection instead of an entry. - true if writing a top-level property payload; otherwise false. - - - - Writes the property end element. - - - - - Writes the instance annotation start element. - - The the instance annotation to write. - - - - Writes the instance annotation end element. - - - - - Writes the m:type attribute for a property given the name of the type. - - The type name to write. - - - - Write the m:null attribute with a value of 'true' - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - OData ATOM serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The entity reference links to write. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - A flag indicating whether the link is written as top-level element or not; - this controls whether to include namespace declarations etc. - - - - - OData ATOM serializer for entries and feeds. - - - - - The serializer for writing ATOM metadata for entries. - - - - - The serializer for writing ATOM metadata for feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the start element for the m:properties element on the entry. - - - - - Writes the end element for the m:properties element on the entry. - - - - - Writes the type name category element for the entry. - - The type name to write. - The entry metadata if available. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Writes the entry atom:id element. - - The value of the ODataEntry.Id property to write. - - - - Writes the read link element for an entry. - - The read link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit link element for an entry. - - The edit link URL. - The ATOM entry metatadata for the current entry. - - - - Writes the edit-media link for an entry. - - The media resource representing the MR of the entry to write. - - - - Write the metadata for an OData association link; makes sure any duplicate of the link's values duplicated in metadata are equal. - - The association link for which to write the metadata. - The instance the association link is defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Write the given feed metadata in atom format - - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - Writes the default empty author for a feed. - - - - - Writes the next page link for a feed. - - The feed to write the next page link for. - - - - Writes the delta link for a feed. - - The feed to write the delta link for. - - - - Writes a feed link. - - The feed that contains the link. - Relation attribute of the link. - href attribute of the link. - Function to get the AtomLinkMetadata for the feed link. - - - - Writes a stream property to the ATOM payload - - The stream property to create the payload for. - The instance for which the stream property defined on. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes an operation (an action or a function). - - The association link to write. - - - - Writes the self or edit link. - - Uri object for the link. - The atom link metadata for the link to specify title, type, hreflang and length of the link. - Relationship value. Either "edit" or "self". - - - - OData ATOM serializer for ATOM metadata in an entry - - - - - Base class for all OData ATOM Metadata serializers. - - - - - Constructor. - - The output context to write to. - - - - Writes an Xml element with the specified primitive value as content. - - The prefix for the element's namespace. - The local name of the element. - The namespace of the element. - The value to be used as element content. - - - - Writes the 'atom:category' element given category metadata. - - The category information to write. - - - - Writes the 'atom:category' element with the specified attributes. - - The prefix to use for the 'category' element. - The value for the 'term' attribute (required). - The value for the 'scheme' attribute (optional). - The value for the 'label' attribute (optional). - - - - Write an empty author element that has the required name element - - - - - Writes the specified start/end tags and the specified person metadata as content - - The person metadata to write. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata of a link in ATOM format - - The link metadata to write. - The (optional) ETag for a link. - - - - Write the metadata attributes of a link in ATOM format - - The value for the 'rel' attribute. - The value for the 'href' attribute. - The value for the 'hreflang' attribute. - The value for the 'title' attribute. - The value for the 'type' attribute. - The value for the 'length' attribute. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The output context to write to. - - - - Write the ATOM metadata for an entry - - The entry metadata to write. - The ATOM metadata for the entry which came from EPM. - Value for the atom:updated element. - - - - Feed ATOM metadata serializer for serializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - OData ATOM serializer for ATOM metadata in a feed - - - - - Constructor. - - The output context to write to. - - - - Write the given feed metadata in atom format - - The metadata to write. - The feed for which to write the meadata or null if it is the metadata of an atom:source element. - Value for the atom:updated element. - Set to true if the author element was written, false otherwise. - - - - The ATOM OData format. - - - - - Representation of an OData format. - - - - The ATOM format instance. - - - The verbose JSON format instance. - - - The JSON Light format instance. - - - The RAW format instance. - - - The batch format instance. - - - The metadata format instance. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - Specifies the ATOM format; we also use this for all Xml based formats (if ATOM can't be used). - The ATOM format. - - - Gets the verbose JSON format. - The verbose JSON format. - - - Specifies the JSON format. - The JSON format. - - - Specifies the RAW format; used for raw values. - The RAW format. - - - Gets the batch format instance. - The batch format instance. - - - Gets the metadata format instance. - The metadata format instance. - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - ATOM format output context. - - - - - Base class for all output contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this output context. - - - The message writer settings to be used for writing. - - - Set to true if this context is writing a response payload. - - - true if the input should be written synchronously; false if it should be written asynchronously. - - - The model to use. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - The type resolver to use. - - - - Constructor. - - The format for this output context. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - - The write must flush the output when it's finished (inside the last Write call). - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message writer settings to be used for writing. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being written. - - - - - true if the output should be written synchronously; false if it should be written asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - - The type resolver to use. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The XML writer created for the root of the payload. - - This field is also used to determine if the output context has been disposed already. - In case of customized writers are used, this is always the root writer, never changed. - - - - The XML writer to write to. - In case of customized writers are used, this is the current writer to write to. - - - A stack used to track XML customization writers. - - At the beginning the root writer is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the writer returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomWriter, other writers don't use this. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Initializes the ability to use customization writers. - - - This needs to be called before any of the writer customization functionality is used. - - - - - Pushes a writer on the top of the customization stack. - - The writer to push. - - - - Pops a writer from the top of the customization stack. - - The popped writer, the one which was on the top of the stack before the operation. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - Instance of this class describes a navigation link when it's found in the payload. - - - - The navigation link. - - - The navigation property for the link, is it's available. - - - - Constructor. - - The navigation link. - The navigation property for the link, if it's available. - - - The navigation link. - - - The navigation property for the link, if it's available. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - true if the item type was derived from the collection value; otherwise false. - - - The item type name extracted from the first non-null item. - - - - The primitive type denoted by the item type name or null if the type name is not a valid primitive type name. - - - - The item type kind from the first non-null item. - - - - Constructor. - - The item type name extracted from the collection type name. - - - - Validates a collection item that was read to make sure it is valid (i.e., has the correct - type name and type kind) with respect to the other items in the collection. - - The type name of the item from the payload. - The type kind of the item from the payload. - - - - Computes the expected type kind of an item from the type name read from the payload. - - The type name to compute the type kind from. - The primitive type for the specified type name or null if the type name is not a valid primitve type. - The of the type with the specified . - - - - Validate that the expected and actual type names and type kinds are compatible. - - The actual type name. - The actual type kind. - - - - If specified on a collection, returns the item type name that all items are expected to be compatible with; otherwise null. - - - - - If specified on a collection, returns the item type kind that all items are expected to be compatible with; otherwise EdmTypeKind.None. - - - - - Read-only stream which initially buffers all read data in order to replay it later. - Once no more buffered data exists it reads from the underlying stream directly. - - - - The list of buffered chunks of bytes as requested by callers. - - - - The stream being wrapped. - - - - The read position in the current buffer. - - - - true if the reader is not in buffering mode; otherwise false. - - - - - The current node in the buffer list to read from. - - - - - Constructor - - The underlying stream to wrap. Note that only read operations will be invoked on this stream. - - - - Not supported since the stream only allows reading. - - - - - Reads data from the buffer or the underlying stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. This operation is not supported by this stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Stops the buffering mode and turns the reader into normal read mode where first - the buffered data is re-read before the reads are performed on the underlying stream. - - - - - Stop buffering. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Moves the reader to the next buffer and drops already consumed - data if not in buffering mode. - - - - - Determines if the stream can read - this one can. - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one cannot - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - true if the stream is in buffering mode; otherwise false. - - - - - Interface used for substitutability of the metadata-centric responsibilities of an entry. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry without - needing to know where the metadata originated from. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of the metadata builder which only returns values which were explicitly set (never computing or modifying them). - - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Gets an instance of the metadata builder which never returns anything other than nulls. - - - - - Implementation of the metadata builder which only returns nulls. - - - - - Singleton instance of the null metadata builder. - - - - - Prevents a default instance of the class from being created. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - The entry whose payload metadata is being queried. - - - - - Creates a new no-op metadata builder. - - The entry whose payload metadata is being queried. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - - - - - Gets the ID of the entity. - - - The ID for the entity. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Default implementation of - - - - - Empty array of properties. - - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - - - - Creates an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - The entity type of the entry. - The metadata context to use. - The selected properties. - A new instance of . - - - - Gets the the CLR value for a primitive property. - - The entry to get the property value. - Name of the property. - The name of the entity type to get the property value. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Gets the CLR value for a primitive property. - - The name of the entity type to get the property value. - The ODataProperty to get the value from. - true if the property is a key property, false otherwise. - The clr value of the property. - - - - Validates that the entry has key properties. - - Key properties of the entry. - The entity type name of the entry. - - - - The entry instance. - - - - - The context object to answer basic questions regarding the type of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on serialization info. - - - - - Empty array of navigation properties. - - - - - Empty dictionary of stream properties. - - - - - Empty array of operations. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The serialization info of the entry for writing without model. - - - - Gets the property name value pairs filtered by serialization property kind. - - The entry to get the properties from. - The serialization info property kind. - The entity type name of the entry. - The property name value pairs filtered by serialization property kind. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type of the entry, i.e. ODataEntry.TypeName. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Implementation of based on the given model. - - - - - The entity type of the entry. - - - - - The metadata context to use. - - - - - The selected properties. - - - - - Constructs an instance of . - - The entry instance. - The context object to answer basic questions regarding the type of the entry. - The entity type of the entry. - The metadata context to use. - The selected properties. - - - - The key property name and value pairs of the entry. - - - - - The ETag property name and value pairs of the entry. - - - - - The actual entity type name of the entry. - - - - - The selected navigation properties. - - - - - The selected stream properties. - - - - - The selected always bindable operations. - - - - - Interface used for substitutability of the metadata-centric responsibilities of . - - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Default implementation of . - - - - - The Edm Model. - - - - - EdmTypeResolver instance to resolve entity set base type. - - - - - Cache of operations that are always bindable to entity types. - - - - - true if we are reading or writing a response payload, false otherwise. - - - - - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - - - - The metadata document Uri. - - - - - The service base Uri. - - - - - Constructs an ODataMetadataContext. - - true if we are writing a response payload, false otherwise. - The Edm model. - The metadata document uri. - This overload should only be used by the writer. - - - - Constructs an ODataMetadataContext. - - true if we are reading a response payload, false otherwise. - Callback to determine whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - EdmTypeResolver instance to resolve entity set base type. - The Edm model. - The metadata document Uri. - This overload should only be used by the reader. - - - - Gets an entity metadata builder for the given entry. - - Entry state to use as reference for information needed by the builder. - An entity metadata builder. - - - - Gets the list of operations that are always bindable to a type. - - The binding type in question. - The list of operations that are always bindable to a type. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the Edm Model. - - - - - Gets the service base Uri. - - - - - Gets the metadata document uri. - - - - - Generates operations which were omitted by the service because they fully match conventions/templates and are always available. - - - - The current entry metadata context. - - - The metadata context of the entry to generate the missing operations for. - - - The list of computed actions. - - - The list of computed functions. - - - - Initializes a new instance of the class. - - The metadata context of the entry to generate the missing operations for. - The current entry metadata context. - - - - Gets the computed missing Actions from the generator. - - The computed missing Actions. - - - - Gets the computed missing Functions from the generator. - - The computed missing Functions. - - - - Returns a hash set of function imports (actions and functions) in the given entry. - - The entry in question. - The edm model to resolve function imports. - The metadata document uri. - The hash set of function imports (actions and functions) in the given entry. - - - - Computes the operations that are missing from the payload but should be added by conventions onto the entry. - - - - - Interface used for substitutability, to answer basic questions regarding the type of the entry or feed. - Metadata may come from a user-provided model or from the SetSerializationInfo() method on a feed or entry. The latter is considered the "no-model" case since only strings - are provided, and there is no interconnectedness. The goal of this interface is to provide a way to query the metadata information available on an entry or feed without - needing to know where the metadata originated from. - - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Class responsible for logic specific to the JSON Light full metadata level (indicated by "odata=fullmetadata" in the media type). - - - The general rule-of-thumb for full-metadata payloads is that they include all "odata.*" annotations that would be included in minimal metadata mode, - plus any "odata.*" annotations that could be computed client-side if we the client had a model. - - - - - Class responsible for logic that varies based on the JSON Light metadata level. - - - - - Creates the appropriate metadata level based on the media type being written. - - The full media type being written. This media type must have a type/subtype of "application/json" - and should not imply verbose json (by including "odata=verbose" as a parameter). - The metadata document uri from the writer settings. - The edm model. - true if we are writing a response, false otherwise. - The JSON Light metadata level being written. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write will vary based on the metadata level. - If false, the type name writing rules will always match minimal metadata, - regardless of the actual metadata level being written. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - The Edm model. - - - - - The metadata document uri from the writer settings. - - - - - Constructs a new . - - The metadata document uri from the writer settings. - The Edm model. - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Returns the metadata document URI which has been validated to be non-null. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON full metadata mode. - - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON Light. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light minimal metadata level (indicated by "odata=minimalmetadata" in the media type, or lack of an "odata" parameter in a v3 and above request). - - - The general rule-of-thumb for minimal-metadata payloads is that they include all "odata.*" annotations that can't be computed client-side, assuming the client has the server model available - as well as the ability to compute missing payload metadata based on the standard conventions. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - Not used in this implementation of the abstract method. - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON minimal metadata mode, - or the other metadata modes of JSON light when is false. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Class responsible for logic specific to the JSON Light no metadata level (indicated by "odata=nometadata" in the media type). - - - The general rule-of-thumb for no-metadata payloads is that they omit any "odata.*" annotations, - except for odata.nextlink and odata.count, since the client would get a inaccurate representation of the data available if they were left out. - - - - - Returns the oracle to use when determing the type name to write for entries and values. - - - If true, the type name to write according to full metadata rules. - If false, the type name writing according to minimal metadata rules. - This is for backwards compatibility. - - An oracle that can be queried to determine the type name to write. - - - - Indicates whether the "odata.metadata" URI should be written based on the current metadata level. - - true if the metadata URI should be written, false otherwise. - - - - Creates the metadata builder for the given entry. If such a builder is set, asking for payload - metadata properties (like EditLink) of the entry may return a value computed by convention, - depending on the metadata level and whether the user manually set an edit link or not. - - The entry to create the metadata builder for. - The context object to answer basic questions regarding the type of the entry or feed. - The serialization info for the entry. - The entity type of the entry. - The selected properties of this scope. - true if the entity metadata builder to create should be for a response payload; false for a request. - true if keys should go in seperate segments in auto-generated URIs, false if they should go in parentheses. - A null value means the user hasn't specified a preference and we should look for an annotation in the entity container, if available. - The created metadata builder. - - - - Injects the appropriate metadata builder based on the metadata level. - - The entry to inject the builder. - The metadata builder to inject. - - - - Class responsible for determining the type name that should be written on the wire for entries and values in JSON no metadata mode. - - - - - Determines the entity type name to write to the payload. - - The expected type name, e.g. the base type of the set or the nav prop. - The ODataEntry whose type is to be written. - Type name to write to the payload, or null if no type name should be written. - - - - Determines the type name to write to the payload. Json Light type names are only written into the payload for open properties - or if the payload type name is more derived than the model type name. - - The ODataValue whose type name is to be written. - The type as expected by the model. - The type resolved from the value. - true if the type name belongs to an open property, false otherwise. - Type name to write to the payload, or null if no type should be written. - - - - Reads payload as untyped object. - - - - - Base class for all OData JsonLight deserializers. - - - - The JsonLight input context to use for reading. - - - Context for entry etadata centric responsibilities. - - - Result of parsing the metadata URI for the payload (or null if none are available). - This field is only available after the ReadPayloadStart was called. - - - - Constructor. - - The JsonLight input context to read from. - - - - Parses the name of a property and returns the property name and annotation name if the property is a property annotation. - - The property name to parse. - The name of the annotated property, or null if the property is not a property annotation. - The annotation name, or null if the property is not a property annotation. - true if the is a property annotation, false otherwise. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads and validates a string value from the json reader. - - The name of the annotation being read (used for error reporting). - The string that was read. - - - - Reads and validates a string value from the json reader and processes it as a Uri. - - The name of the annotation being read (used for error reporting). - The Uri that was read. - - - - Reads and validates a string value from the json reader and processes it as a long. - - The name of the annotation being read (used for error reporting). - The long that was read. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - Function callback to handle to resule of parse property. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns true if should be skipped by the reader; false otherwise. - - The custom instance annotation name in question. - Returns true if should be skipped by the reader; false otherwise. - - - - If is under the odata namespace but is not known to ODataLib, move the JSON reader forward to skip the - annotation name and value then return true; return false otherwise. - - - The unknown odata annotation is skipped so that when this version of the reader reads a feed produced by a future version of ODataLib - that contains an odata annotation that is not recognized on this version, we would simply ignore the annotation rather than failing. - Note that when we add new odata annotations that cannot be skipped, we would bump the protocol version. - - The annotation name in question. - Returns true if the annotation name and value is skipped; returns false otherwise. - - - - Parses JSON object property starting with the current position of the JSON reader. - - The duplicate property names checker to use, it will also store the property annotations found. - Function called to read property annotation value. - The name of the property or instance annotation found. - - PropertyWithValue - a property with value was found. The contains the name of the property. - The reader is positioned on the property value. - PropertyWithoutValue - a property without a value was found. The contains the name of the property. - The reader is positioned on the node after property annotations (so either a property or end of object). - ODataInstanceAnnotation - an odata instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - CustomInstanceAnnotation - a custom instance annotation was found. The contains the name of the annotation. - The reader is positioned on the value of the annotation. - MetadataReferenceProperty - a property which is a reference into the metadata was found. - The reader is positioned on the value of the property. - EndOfObject - end of the object scope was reached and no properties are to be reported. The is null. - This can only happen if there's a property annotation which is ignored (for example custom one) at the end of the object. - - - - - Process the current property annotation. - - The name being annotated. Can be a property or an instance annotation. - The annotation targeting the . - The duplicate property names checker. - Callback to read the property annotation value. - - - - Read the start of the top-level data wrapper in JSON responses. - - The kind of payload we are reading; this guides the parsing of the metadata URI. - The duplicate property names checker. - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if we allow a comletely empty payload; otherwise false. - The value of the metadata URI annotation (or null if it was not found). - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first property of the payload after having read (or skipped) the metadata URI property. - Or the reader is positioned on an end-object node if there are no properties (other than the metadata URI which is required in responses and optional in requests). - - - - - Reads the odata.metadata annotation. - - The payload kind for which to read the metadata URI. - The duplicate property names checker. - true if the method should fail if the metadata URI annotation is missing, false if that can be ignored. - The value of the metadata URI annotation. - - - - Context for entry metadata centric responsibilities. - - - - - Returns the which is to be used to read the content of the message. - - - - Result of parsing the metadata URI for the payload (or null if none are available). - This property is only available after the ReadPayloadStart was called. - - - - The Json lite input context to use for reading. - - - - - Gets the metadata document Uri from the MetadataUriParseResult. - - - - Possible results of parsing JSON object property. - - - An end of object was reached without any property to be reported. - - - A property with value was found. - - - A property without value was found. - - - A 'odata' instance annotation was found. - - - A custom instance annotation was found. - - - A metadata reference property was found. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads untyped value. - - primitive value or ODataComplexValue orODataCollectionValue. - - - - Reads json object value. - - ODataComplexValue with TypeName=null - - - - Read json array. - - ODataCollectionValue with TypeName=null - - - - The context object to answer basic questions regarding the type of the entry or feed. - - - - - Default Url convention. - - - - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - - Constructs an instance of . - - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - - - - Creates an instance of . - - The serialization info from the feed or entry instance. - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - If true, throw if any of the set or type name cannot be determined; if false, return null when any of the set or type name cannot determined. - A new instance of . - - - - Validate and return the given value. - - The type of the value to validate. - The value to validate. - The return value. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the serialization info. - - - - - The serialization info of the entry for writing without model. - - - - - Constructs an instance of . - - The serialization info from the feed or entry instance. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - The context object to answer basic questions regarding the type of the entry or feed based on the metadata. - - - - - The Edm model instance to use. - - - - - The entity set of the feed or entry. - - - - - The element type of the entity set of the feed or entry. - - - - - The expected entity type of the feed or entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - The entity set name of the feed or entry. - - - - - true if the entry is an media link entry or if the feed contains media link entries, false otherwise. - - - - - The url convention to use for the entity set. - - - - - Constructs an instance of . - - The entity set of the feed or entry. - The element type of the entity set. - The expected entity type of the feed or entry. - The Edm model instance to use. - - - - The entity set name of the feed or entry. - - - - - The element type name of the entity set of the feed or entry. - - - - - The expected entity type name of the entry. - For example, in the request URI 'http://example.com/Service.svc/People/Namespace.VIP_Person', the expected entity type is Namespace.VIP_Person. - (The entity set element type name in this example may be Person, and the actual entity type of a particular entity might be a type more derived than VIP_Person) - - - - - true if the entry is an MLE, false otherwise. - - - - - The Url convention to use for the entity set. - - - - - Extension methods on the OData object model. - - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Provide additional serialization information to the for . - - The instance to set the serialization info. - The serialization info to set. - - - - Class to provide additional serialization information to the for an . - - - - - The fully qualified type name of the collection to be written. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The fully qualified type name of the collection to be written. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference links for. - - - - - Class to provide additional serialization information to the for an . - - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The source entity set name of the navigation property. Should be fully qualified if the entity set is not in the default container. - - - - - The fully qualified type name of the declaring entity type of the navigation property if the declaring entity type is not the base type of the source entity set. - Should be null if the declaring entity type is the base type of the source entity set. - - - - - The name of the navigation property to write the entity reference link for. - - - - - true if the navigation property navigates to a collection of entities; false otherwise. - - - - - The enum of property kinds. - - - - - Unspecified property kind or if the property is not a key property, an etag property or an open property. - - - - - The property is a key property. - - - - - The property is an etag property - - - - - The property is an open property - - - - - Class to provide additional serialization information to the for an . - - - - - The kind of the property - - - - - Class to provide additional serialization information to the for an . - - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Validates the instance. - - The serialization info instance to validate. - The instance. - - - - The entity set name of the entry to be written. Should be fully qualified if the entity set is not in the default container. - - - - - The namespace qualified element type name of the entity set. - - - - - The namespace qualified type name of the expected entity type. - - - - - Class to represent a HTTP header value element. - - - - - Internal constructor to create a new instance of . - - The name of the preference. - The value of the preference. - The enumeration of preference parameter key value pairs. - - - - Converts the current to string. - - The string for . - - - - Appends the and to as name=value. - - The string builder to append to. - The name to append. - The value to append. - - - - The name of the preference. - - - - - The value of the preference. - - - - - The enumeration of preference parameter key value pairs. - - - - - Extension methods for http header values. - - - - - Constructs a new instance of . - - - - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - Returns the HTTP header value string which can be used to set the header on the requst and response messages. - - - - Lexer to parse HTTP header values. - - - - - The ',' separator. - - - - - The ';' separator. - - - - - The '=' separator. - - - - - The name of the HTTP header being parsed. - - - - - The value of the HTTP header being parsed. - - - - - The starting index to the next item to be parsed. - - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - The start index of the next item to be parsed. - - - - Constructs a new instance of the HTTP header value item. - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The newly created instance of . - - - - Reads the content of a HTTP header from this instance to a new instance. - - A new instance populated with the content from this instance. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - Reads a from and advances the forward. - - The lexer to read from. - The that was read. - - - - Reads a token or token=(token|quoted-string) from the , convert it to a key value pair and advances the . - - The lexer to read from. - The converted key value pair. - - - - Returns true if we've parsed to the end of the header value, false otherwise. - - Returns true if we've parsed to the end of the header value, false otherwise. - - - - Reads a token or quoted-string value from the header. - - The token or quoted-string value that was read from the header. - - - - Reads a token from the header. - - The token item that was read from the header. - - - - Reads a separator from the header. - - The separator item that was read from the header. - - - - The value of the current parsed item. If the item type is quoted-string, this returns the unescaped and unquoted string value. For other item types, - the value is the same as the original text from the header. - - - - - The original text of the current parsed item. If the item type is quoted-string, this returns the escaped and quoted string value straight from the header. - For other item types, the original text is the same as the item value. - - - - - The type of the current parsed item. - - - - - The item type enum. - - - - Currently at the start of the header value. - - - The current item is a token. - - - The current item is a quoted-string. - - - The current item is the header element separator ','. - - - The current item is the parameter separator ';'. - - - The current item is the value separator '='. - - - At the end of the header value. - - - - Represents the start of the http header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a token in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the token. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a quoted-string in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the quoted string, unescaped and without quotes. - The original text of the quoted string, escaped and with quotes. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents a separator in the HTTP header value. - - - - - Constructs a new instance of . - - The name of the HTTP header being parsed. - The value of the HTTP header being parsed. - The value of the separator. - The start index of the next item. - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Represents the end of the http header value. - - - - - Static instance of the end item. - - - - - Constructs a new instance of . - - - - - Returns an instance of to parse the rest of the items on the header value. - Parsing is based on this grammar: - header = "header-name" ":" 1#element - element = token [ BWS "=" BWS (token | quoted-string) ] - *( OWS ";" [ OWS parameter ] ) - parameter = token [ BWS "=" BWS (token | quoted-string) ] - - Returns an instance of to parse the rest of the items on the header value. - - - - The type of the current item. - - - - - Filter class to determine whether or not to read an annotation. - - - - - Filter that maches all annotation names. - - - - - Filter than maches no annotation names. - - - - - Separator for annotation filter patterns. - - - - - Patterns to match, sorted in the order of higher to lower priorities to match. - - - - - Private constructor to create a filter from comma delimited patterns to match to include or exclude annotations. - - Patters to match to include or exclude annotations. - - - - Create a filter from comma delimited patterns to match to include or exclude annotations. - - Comma delimited patterns to match to include or exclude annotations. - The newly created filter. - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read all annotations. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter to read no annotation. - - - - - Private default constructor. - - - - - Returns true to indicate that the annotation with the name should be read, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be read, false otherwise. - - - - Filter pattern class to determine whether an annotation name matches the pattern. - - - - - The '.' namespace separator. - - - - - The '-' operator to indicate that the annotation should be excluded from read when it matches the pattern. - - - - - The wild card constant. - - - - - String constant for .* - - - - - The "*" pattern that includes all annotations. - - - - - The "-*" pattern that excludes all annotations. - - - - - The pattern to match. - - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - Constructs a pattern instance to determine whether an annotation name matches the pattern. - - The pattern to match. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Compares the priority of current pattern with the priority of . - - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means this pattern has higher priority than . - 0 means this pattern has the same priority as . - 1 means this pattern has lower priority than . - - A pattern to compare with this pattern. - - - - Creates a pattern instance to determine whether an annotation name matches the pattern. - - The pattern for this instance. - The newly created instance. - - - - Sorts the patterns in the array from highest to lowest priorities. - - The source array to sort. When the method returns the items in this array instance will be rearragned. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Compares the priority of with . - - The left hand side pattern to compare. - The right hand side pattern to compare. - - A 32-bit signed integer that indicates the relative priority of the patterns being compared. The return value has the following meanings: - -1 means has higher priority than . - 0 means has same priority as . - 1 means has lower priority than . - - - - - Removes the exclude operator from the given pattern string. - - The input pattern to the method and will return the pattern without the exclude operator if it's found. - Returns true if the exclude operator is found and removed from the input pattern; false otherwise. - - - - Validates the pattern. - - The pattern to validate. - - - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - - The wild card pattern that matches everything. - - - - - Constructs the wild card pattern. - - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match any annotation name that starts with this pattern. - - - - - Constructs the starts with pattern. - - The pattern to start with. - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Pattern class to match a annotation name that is exactly the same as this pattern. - - - - - Constructs the exact match pattern. - - The exact pattern to match - true if the annotation should be excluded from reading when its name matches this pattern; false otherwise. - - - - Match the given annotation name against the pattern. - - Annotation name in question. - Returns true if the given annotation name matches the pattern, false otherwise. - - - - Contract for providing implementations of more specific lookups needed for parsing OData URIs that are not efficiently answered - by existing APIs in and its related interfaces. - - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds an entity set given a name that may be container qualified. If no container name is provided, the default container should be used. - - The name which might be container qualified. If no container name is provided, the default container should be used. - The entity set if one was found or null. - - - - Finds a service operation for the given name. - - The name of the service operation to find. May be qualified with an entity container name. - The function import representing a service operation or null if one could not be found with the given name. - - - - Finds a function or action bound to the specific type with the given name. - - The binding type. - The name of the function imports to find. May be qualified with an entity container name. - The parameter names of the non-binding parameters, if provided in the request URI. - The function import that matches the search criteria or null if there was no match. - - - - Represents an instance annotation. - - - - - Constructs a new instance. - - The name of the instance annotation. - The value of the instance annotation. - - - - Validates that the given is a valid instance annotation name. - - Name to validate. - - - - Validates the given is a valid instance annotation value. - - Value to validate. - - - - Instance annotation name. - - - - - Instance annotation value. - - - - - Extension methods to IODataRequestMessage and IODataResponseMessage. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Gets the instance to get or set preferences on the "Prefer" header of the . - - The request message to get or set the "Prefer" header. - Returns the instance to get or set preferences on the "Prefer" header of the . - - - - Gets the instance to get or set preferences on the "Preference-Applied" header of the . - - The response message to get or set the "Preference-Applied" header. - Returns the instance to get or set preferences on the "Preference-Applied" header of the . - - - - Base Configuration settings for OData message readers. - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - The check characters. - - - The enable atom metadata reading. - - - The annotation filter. - - - - Initializes a new instance of the class. - - - - - Copy constructor. - - The instance to copy. - - - - Flag to control whether the reader should check for valid Xml characters or not. - - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Quotas to use for limiting resource consumption when reading an OData message. - - - - - Func to evaluate whether an annotation should be read or skipped by the reader. The func should return true if the annotation should - be read and false if the annotation should be skipped. A null value indicates that all annotations should be skipped. - - - - - Base Configuration settings for OData message writers. - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - The check characters. - - - The indent. - - - - Constructor to create default settings for OData writers. - - - - - Copy constructor to create a copy of the settings for OData writers. - - Settings to create a copy from. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Class to set the "Prefer" header on an or - the "Preference-Applied" header on an . - - - - - The return-no-content preference token. - - - - - The return-content preference token. - - - - - The odata-annotations preference-extensions token. - - - - - The Prefer header name. - - - - - The Preference-Applied header name. - - - - - Empty header parameters - - - - - The return-no-content preference. - - - - - The return-content preference. - - - - - The message to set the preference header to and to get the preference header from. - - - - - "Prefer" if message is an IODataRequestMessage; "Preference-Applied" if message is an IODataResponseMessage. - - - - - Dictionary of preferences in the header - - - - - Internal constructor to instantiate an from an . - - The request message to get and set the "Prefer" header. - - - - Internal constructor to instantiate an from an . - - The response message to get and set the "Preference-Applied" header. - - - - Adds quotes around the given text value. - - text to quote. - Returns the quoted text. - - - - Returns true if the given preference exists in the header, false otherwise. - - Preference in question. - Returns true if the given preference exists in the header, false otherwise. - - - - Clears the from the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to clear. - - - - Sets the to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - - The preference to set. - - If is already on the header, this method does a replace rather than adding another instance of the same preference. - - - - - Gets the from the "Prefer" header from the underlying or - the "Preference-Applied" header from the underlying . - - The preference to get. - Returns a key value pair of the and its value. The Value property of the key value pair may be null since not - all preferences have value. If the is missing from the header, null is returned. - - - - Parses the current preference values to a dictionary of preference and value pairs. - - Returns a dictionary of preference and value pairs; null if the preference header has not been set. - - - - Sets the "Prefer" or the "Preference-Applied" header to the underlying message. - - - - - Property to get and set the "return-content" and "return-no-content" preferences to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - Setting true sets the "return-content" preference and clears the "return-no-content" preference. - Setting false sets the "return-no-content" preference and clears the "return-content" preference. - Setting null clears the "return-content" and "return-no-content" preferences. - Returns true if the "return-content" preference is on the header. Otherwise returns false if the "return-no-content" is on the header. - Returning null indicates that "return-content" and "return-no-content" are not on the header. - - - - - Property to get and set the "odata.include-annotations" preference with the given filter to the "Prefer" header on the underlying IODataRequestMessage or - the "Preference-Applied" header on the underlying IODataResponseMessage. - If the "odata-annotations" preference is already on the header, set replaces the existing instance. - Returning null indicates that the "odata.include-annotations" preference is not on the header. - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - - - - Dictionary of preferences in the header. - - - - - Extension methods for ReadOnlyEnumerable and ReadOnlyEnumerableOfT - - - - - true if is the same instance as ReadOnlyEnumerableOfT.Empty(). false otherwise. - - The element type of the enumerable. - The enumerable in question. - Returns true if is the empty ReadOnlyEnumerableOfT. false otherwise. - - - - Casts an IEnumerableOfT to ReadOnlyEnumerableOfT. - - The element type of the enumerable. - The source enumerable. - The name of the collection to report in case there's an error. - The casted ReadOnlyEnumerableOfT. - - - - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - The element type of the enumerable. - The source enumerable in question. - The name of the collection to report in case there's an error. - Returns the as ReadOnlyEnumerableOfT or - a new instance of ReadOnlyEnumerableOfT if is the same instance as ReadOnlyEnumerableOfT.Empty(). - - - - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - The element type of the enumerable. - The source enumerable to concat. - The name of the collection to report in case there's an error. - Item to concat to the source enumerable. - Returns a ReadOnlyEnumerableOfT that is the result of plus . - - - - Adds an ODataAction to an entry. - - The entry to add the action. - The action to add. - - - - Adds an ODataFunction to an entry. - - The entry to add the function. - The function to add. - - - - Adds an association link to an entry. - - The entry to add the association link to. - The association link to add. - - - - Implementation of OData entity metadata builder based on OData protocol conventions. - - - - The URI builder to use. - - - The context to answer basic metadata questions about the entry. - - - The metadata context. - - - The list of navigation links that have been processed. - - - The edit link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The read link. - This is lazily evaluated. It may be retrieved from the entry or computed. - - - The computed ETag. - - - true if the etag value has been computed, false otherwise. - - - The computed ID of this entity instance. - - This is always built from the key properties, and never comes from the entry. - - - - A computed uri that is equivalent to the ID or the edit-link without a type segment. - - - The computed MediaResource for MLEs. - - - The list of computed stream properties. - - - The enumerator for unprocessed navigation links. - - - The missing operation generator for the current entry. - - - - Constructor - - The context to answer basic metadata questions about the entry. - The metadata context. - The uri builder to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the default media resource of the entity. - - - The the default media resource of the entity. - Or null if the entity is not an MLE. - - - - - Gets the entity properties. - - Non-computed properties from the entity. - The the computed and non-computed entity properties. - - - - Gets the list of computed and non-computed actions for the entity. - - The list of computed and non-computed actions for the entity. - - - - Gets the list of computed and non-computed functions for the entity. - - The list of computed and non-computed functions for the entity. - - - - Marks the given navigation link as processed. - - The navigation link we've already processed. - - - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - Returns the next unprocessed navigation link or null if there's no more navigation links to process. - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Computes the edit link. - - Uri that was computed based on the computed Id and possible type segment. - - - - Computes and sets the field for the computed Id. - - - - - Computes all projected or missing stream properties. - - Non-computed properties from the entity. - The the computed stream properties for the entry. - - - - Lazy evaluated computed entity Id. This is always a computed value and never comes from the entry. - - - - - Lazy evaluated computed entity instance uri. This is always a computed value and never comes from the entry. - - - - - The missig operation generator for the current entry. - - - - - Implementation of OData URI builder based on OData protocol conventions. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - The base URI of the service. This will be used as the base URI for all entity containers. - - - The specific url-convention to use. - - - The specific key-serializer to use based on the convention. - - - - Constructor. - - The base URI of the service. This will be used as the base URI for all entity containers. - The specific url convention to use. - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Builds the entity instance URI with the given key property values. - - The URI to append to. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - The entity instance URI. - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Validates the base URI parameter to be a non-null absolute URI. - - The base URI parameter to validate. - - - - Appends a segment to the specified base URI. - - The base Uri to append the segment to. - The segment to append. - True if the new segment should be escaped, otherwise False. - New URI with the appended segment and no trailing slash added. - - - - Gets the CLR value of a primitive key property. - - The key property name. - The key property value. - The entity type name we are validating the key value for. - The primitive value of the key property. - - - - Appends the key expression for the given entity to the given - - The builder to append onto. - The list of name value pair for key properties. - The full name of the entity type we are building the key expression for. - - - - Annotation to capture all of the custom instance annotations on an ODataAnnotatable. - - - Currently only , , and supports instance annotations. - Additionally, instance annotations will only be serialized in Json. - - - - - Backing dictionary of instance annotation term name/object pairs. - - - - - Creates a new to hold instance annotations for an . - - - - - Determines whether the contains an element with the specified key. - - - true if the ICollection> contains an element with the key; otherwise, false. - - The key to locate in the . - is null. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - 1 - - - - Removes all items from the . - - The is read-only. - - - - Adds an element with the provided 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 null. - An element with the same key already exists in the .The is read-only. - - - - Removes the element with the specified key from the . - - - true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . - - The key of the element to remove. is null.The is read-only. - - - - Gets the value associated with the specified key. - - - true if the object that implements contains an element with the specified key; otherwise, false. - - The key whose value to get.When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. is null. - - - - Gets an enumerator for this object. - - An enumerator for this object. - - - - Gets the number of elements contained in the . - - - The number of elements contained in the . - - - - - Gets or sets the element with the specified key. - - - The element with the specified key. - - The key of the element to get or set. - is null. - The property is retrieved and is not found. - The property is set and the is read-only. - - - - Helper class to track if an annotation has been written. - - - - - Maintains the write status for each annotation using its key. - If a key exists in the list then it is considered written. - - - - - Creates a new to hold write status for instance annotations contained in . - - - - - Check if an annotation is already written. - - true if the annotation is written; otherwise false. - The key of the element to check if its written. - - - - Mark an annotation as written. - - true if the annotation was unmarked before; otherwise false. - The key of the element to mark as written. - - - - Well known OData annotation names reserved for OData Lib. - - - - The OData Metadata annotation name. - - - The OData 'null' annotation name. - - - The OData Type annotation name. - - - The OData ID annotation name. - - - The OData etag annotation name. - - - The OData edit link annotation name. - - - The OData read link annotation name. - - - The OData media edit link annotation name. - - - The OData media read link annotation name. - - - The OData media content type annotation name. - - - The OData media etag annotation name. - - - The 'odata.count' annotation name. - - - The 'odata.nextLink' annotation name. - - - The 'odata.navigationLinkUrl' annotation name. - - - The 'odata.bind' annotation name. - - - The 'odata.associationLinkUrl' annotation name. - - - The 'odata.annotationGroup' annotation name. - - - The 'odata.annotationGroupReference' annotation name. - - - The 'odata.error' annotation name. - - - The 'odata.deltaLink' annotation name. - - - - Hash set of known odata annotation names that have special meanings to OData Lib. - - - - - Returns true if the starts with "odata.", false otherwise. - - The name of the annotation in question. - Returns true if the starts with "odata.", false otherwise. - - - - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - The annotation name in question. - Returns true if the starts with "odata." and is not one of the reserved odata annotation names; returns false otherwise. - - - - Validates that the is not a reserved OData instance annotation. - - The instance annotation name to check. - - - - Defines an interface for a class that can write OData values in Json Light. - This is used internally for mocking. - - - - - Writes a null value. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - - - - Writes a primitive value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a for checking duplication properties inside complex values. - - A new instance. - - - - JsonWriter this value serializer will use. - - - - - Version of OData being written. - - - - - Model to use for type resolution and verification when writing. - - - - - The message writer settings to use when writing the message payload. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - The character array used for splitting apart the operation parameter type names in a metadata link. Contains ','. - - - - - The set of characters to trim from the parameters of an operation. Contains '(' and ')'. - - - - - Determines if the specified property name is a name of a metadata reference property. - - The name of the property. - true if is a name of a metadata reference property, false otherwise. - - - - Gets the fully qualified function import name from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The first parameter name, if any are present in the given string. - The fully qualified function import name. - - - - Gets the Uri fragment from the metadata reference property name. - - The metadata document Uri. - The metadata reference property name. - The Uri fragment which corresponds to action/function names, etc. - - - - Converts the metadata reference property name to an absolute Uri. - - The metadata document uri. - The metadata reference property name. - The absolute Uri for the metadata reference property name. - - - - Calculates the metadata reference name for the given function import. When there is no overload to the function, this method will - return the container qualified function import name. When there is overload to the function this method will - return FQFN([comma separated parameter type names]) to disambiguate between different overloads. - - The function import in question. - The metadata reference name for the given function import. - - - - Creates an ODataAction or ODataFunction from a function import. - - The metadata document uri. - The metadata reference property name. - The function import to create the ODataOperation for. - true if the created ODataOperation is an ODataAction, false otherwise. - The created ODataAction or ODataFunction. - - - - Responsible for reading annotation groups (both declarations and references) in JSON Light. - - - - - Mapping of all the annotation groups encountered so far, keyed by name. - - - - - Initializes a new . - - The JSON light input context. - - - - Reads the current property node as an annotaion group, if the property name matches. Otherwise, it does not move the reader. - - Fired whenever an OData property annotation is seen. Takes the name of the property annotation and should read and return the annotation's value. - Fired whenever an OData instance annotation is seen. Takes the name of the instance annotation and should read and return the annotation's value. - The annotation group which was read, or null if we did not encounter an annotation group. - - Pre-Condition: JsonNodeType.Property: The property to consider as an annotion group. - Post-Condition: JsonNodeType.Property: If the property is not an annotation group, the reader will not move. - Any: The node after the annotation group property, if one was read. - - - - - Adds the given annotation group to the set of groups which can be retrieved by annotation group references. - - The annotation group to add. - - - - Checks to see that the name of the given annotation group has not yet been set. Throws otherwise. - - The annotation group to check. - - - - Returns whether the given property name indicates this property contains the name of the annotation group. - - The property name to check. - true if the property name is annotation group name property, false otherwise. - - - - Verifies that the name of the given annotation group was set, and throws otherwise. - - The annnotation group to check. - - - - Verifies that the given property name is a valid annotation name, and throws if not. - - The property name to check. - The annotation group which this property would be added to. - - - - Creates an ODataException to throw when a non-annotation property is found inside an annotation group. - - The name of the property found inside an annotation group. - The annotation group it was found in. - An ODataException with an appropriate message, including the annotation group name if one is available. - - - - Reads an annotation group reference and returns the existing annotation group instance with that name. - - The annotation group which was referenced. - This method will throw if no matching annotation group is found. - - - - Reads an annotation group declaration and returns a newly created annotation group instance. - - Function which takes the name of an OData property annotation and reads and returns the value of the annotation. - Function which takes the name of an OData instance annotation and reads and returns the value of the annotation. - The annotation group which was read. - - Pre-Condition: JsonNodeType.StartObject: The property to consider as an annotion group declaration or reference. - Any: Any other node type will throw an exception. - Post-Condition: Any: The node after the annotation group property value. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Validates that a string is either a valid absolute URI, or (if it begins with '#') it is a valid URI fragment. - - The metadata document uri. - The property name to validate. - - - - Validates an operation is valid. - - The metadata document uri. - The operation to validate. - - - - Determines if the specified property name is a name of an open metadata reference property. - - The metadata document uri. - The property name in question. - true if the specified property name is a name of an open metadata reference property; false otherwise. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - - - - JSON Ligth specific state which is created during payload kind detection and reused during standard reading if available. - - - - The parsed metadata URI. - - - - Constructor. - - The parsed metadata URI. - - - The parsed metadata URI. - - - - Interface for a class that can write arbitrary JSON. - Internally we want the interface for mocks. - - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Class responsible for writing a collection of . - - - - - Value serializer, responsible for serializing the annotation values. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructs a that can write a collection of . - - The to use for writing values of instance annotations. - The that is also used internally will be acquired from the this instance. - The oracle to use to determine the type name to write for entries and values. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - The tracker to track if instance annotations are written. - - - - Writes all the instance annotations specified in . - - Collection of instance annotations to write. - - - - Writes an instance annotation. - - The instance annotation to write. - - - - JsonWriter instance to use for writing term names. - - - - - OData JsonLight serializer for value types. - - - - - Base class for all OData JsonLight serializers. - - - - - The JsonLight output context to write to. - - - - - Instance annotation writer. - - - - - Set to true when odata.metadata is writen; set to false otherwise. - When value is false, all URIs writen to the payload must be absolute. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the end of the entire JSON payload. - - - - - Writes the metadata URI property and the specified value into the payload. - - The metadata URI to write. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Returns the string representation of the URI - - The uri to process. - Returns the string representation of the URI. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - Instance annotation writer. - - - - - The current recursion depth of values written by this serializer. - - - - - Property serializer. - - - - - Initializes a new instance of the class. - - The property serializer to use when writing complex values. - - - - Initializes a new instance of the class. - - The output context to use. - - - - Writes a null value to the wire. - - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true when writing a top-level property; false for nested properties. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - Whether or not a top-level property is being written. - Whether or not the value is being written for a URI. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The expected type reference of the primitive value. - - - - Creates a new instance of a duplicate property names checker. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - The newly created instance of duplicate property names checker. - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Returns the which is to be used to write the content of the message. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The OData version of the output. - Both ODataJsonLightSerializer and IODataJsonLightValueSerializer define this, so we pass through to our base class. - - - - - The model to use. - - - - - The message writer settings to use when writing the message payload. - - - - - Gets the property serializer. - - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - Responsible for resolving the element type of an entity set with reader (i.e., looser) semantics. - - - - - Class responsible for determining the entity type of an entity set. - - - - - Returns the element type of the given entity set. - - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type. - - The function parameter to get the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - The model to use or null if no model is available. - - - Reader behavior if the caller is a reader, null if no reader behavior is available. - - - The version of the payload being read. - - - Creates a new entity set element type resolver with all the information needed when resolving for reading scenarios. - The model to use or null if no model is available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for read and calls the client type resolver to resolve type when it is specified. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Resolves the given type reference if a client type resolver is available. - - Type reference to resolve. - The resolved type reference. - - - - Resolves the given type if a client type resolver is available. - - Type to resolve. - The resolved type. - - - - Responsible for resolving the element type of an entity set with writer semantics. - - - - - Singleton instance of the resolver. - - - - - Private constructor to ensure all access goes through the singleton Instance. - - - - Returns the element type of the given entity set. - The entity set to get the element type of. - The representing the element type of the . - - - - Returns the return type of the given function import. - - The function import to get the return type from. - The representing the return type fo the . - - - - Returns the return type of the given function import group. - - The function import group to get the return type from. - The representing the return type fo the . - - - - Gets the function parameter type for write. - - The function parameter to resolve the type for. - The representing the type on the function parameter; or null if no such type could be found. - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader and which support true async operations. - - - - - Base class for OData collection readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData collection readers. - - - - Reads the next item from the message payload. - True if more items were read; otherwise false. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent item that has been read. - The most recent item that has been read. - - This property returns an when in state ODataCollectionReaderState.CollectionStart - or ODataCollectionReaderState.CollectionEnd. It returns either a primitive value, an or 'null' when - in state ODataCollectionReaderState.Value and 'null' in all other states. - - - - The input context to read from. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - The expected item type reference for the items in the collection. - If an expected type is specified the collection has to be homogeneous. - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - Should be false since no more nodes can be read from the reader after the collection ends. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The state of the collection element - empty or not-empty. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - The item associated with the replacement state. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The most recent item that has been read. - - - - - The state of the collection element - empty or non-empty. - - - Only used by ATOM. - - - - - The expected item type for the items in the collection. - - - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - - Returns true if we are reading a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - - - - A collection reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - True, if the collection element attached to this scope is empty. False otherwise. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The state of the collection element - empty or not-empty - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The state of the Collection Element - empty or non-empty. - - - - - Constructor. - - The input to read from. - The expected type reference for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Simple structure for storing both a base URI and the select clause for generating metadata links in JSON-Light payloads. - - - - The base uri to the metadata document. - - - The select clause to include when generating metadata links. - - - - Initializes a new instance of . - - The base uri to the metadata document. - - - - Gets the base uri to the metadata document. - - - - - Gets the select clause to include when generating metadata links. - - - - - Represents a null property value. - - - - - Indicates whether the given value is a null value. - - true, since this object always represents a null value. - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader with truly async operations. - - - - - Base class for OData parameter readers that verifies a proper sequence of read calls on the reader. - - - - Base class for OData parameter readers. - - - Creates an to read the collection value when the state is ODataParameterReaderState.Collection. - An to read the collection value when the state is ODataParameterReaderState.Collection. - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - - - Reads the next parameter from the message payload. - true if more items were read; otherwise false. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the name of the current parameter that is being read. - The name of the current parameter that is being read. - - - Gets the value of the current parameter that is being read. - The value of the current parameter that is being read. - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - An interface that allows the creator of a reader/writer to listen for status changes of the created reader/writer. - - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - The input context to read from. - - - The function import whose parameters are being read. - - - Stack of reader scopes to keep track of the current context of the reader. - - - Hash set to keep track of all the parameters read from the payload. - - - Tracks the state of the sub-reader. - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - This method creates an to read the collection value when the state is ODataParameterReaderState.Collection. - - - When the state is ODataParameterReaderState.Collection, the Name property of the returns the name of the parameter - and the Value property of the returns null. Calling this method in any other state will cause an ODataException to be thrown. - - Returns an to read the collection value when the state is ODataParameterReaderState.Collection. - - - - Reads the next item from the message payload. - - true if more items were read; otherwise false. - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - Returns the type reference of the parameter in question. - - Name of the parameter in question. - Returns the type reference of the parameter in question. - - - - Creates a new for the specified with the provided - and and pushes it on the stack of scopes. - - The to use for the new scope. - The paramter name to attach with the state in the new scope. - The paramter value to attach with the state in the new scope. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called when the a parameter was completed. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the parameter reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state Value, Entry, Feed or Collection state. - - true if more items can be read from the reader; otherwise false. - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Gets the corresponding create reader method name for the given state. - - State in question. - Returns the name of the method to create the correct reader for the given state. - - - - Verifies that one of CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() can be called. - - The expected state of the reader. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a synchronous operation is allowed on this reader. - - - - - The current state of the reader. - - - - - The name of the current parameter that is being read. - - - - - The value of the current parameter that is being read. - - - This property returns a primitive value, an ODataComplexValue or null when State is ODataParameterReaderState.Value. - This property returns null when State is ODataParameterReaderState.Entry, ODataParameterReaderState.Feed or ODataParameterReaderState.Collection. - - - - - The function import whose parameters are being read. - - - - Enum to track the state of the sub-reader. - - - No sub-reader has been created for the current parameter. - - - CreateEntryReader(), CreateFeedReader() or CreateCollectionReader() has been called for the current parameter - and the newly created reader is not in Completed state. - If the sub-reader is in Error state, the ODataParameterReader will enter ODataParameterReaderState.Error. - - - The created sub-reader is in Completed state. - - - - A parameter reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The parameter name attached to this scope. - - - The parameter value attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The parameter name attached to this scope. - The parameter value attached to this scope. - - - - The reader state of this scope. - - - - - The parameter name attached to this scope. - - - - - The parameter value attached to this scope. - - - - - Constructor. - - The input to read from. - The function import whose parameters are being read. - - - - Represents a primitive property value. - - - - - Creates a new primitive value from the given CLR value. - - The primitive to wrap. - The primitive value should not be an instance of ODataValue. - - - - Gets the underlying CLR object wrapped by this . - - The underlying primitive CLR value. - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader with true async operations. - - - - - Base class for OData readers that verifies a proper sequence of read calls on the reader. - - - - - Base class for OData readers. - - - - Reads the next from the message payload. - true if more items were read; otherwise false. - - - Gets the current state of the reader. - The current state of the reader. - - - Gets the most recent that has been read. - The most recent that has been read. - - - The input to read the payload from. - - - true if the reader was created for reading a feed; false when it was created for reading an entry. - - - Stack of reader scopes to keep track of the current context of the reader. - - - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - The to use for entries in this feed. - Only applies when reading a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - - - Pushes the on the stack of scopes. - - The scope to enter. - - - - Replaces the current scope with the specified . - - The scope to replace the current scope with. - - - - Removes the current scope from the stack of all scopes. - - The expected state of the current scope (to be popped). - - - - Called to transition into the EntryEnd state. - - The scope for the EntryEnd state. - - - - If an entity type name is found in the payload this method is called to apply it to the current scope. - This method should be called even if the type name was not found in which case a null should be passed in. - The method validates that some type will be available as the current entity type after it returns (if we are parsing using metadata). - - The entity type name found in the payload or null if no type was specified in the payload. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Catch any exception thrown by the action passed in; in the exception case move the reader into - state ExceptionThrown and then rethrow the exception. - - The type returned from the to execute. - The action to execute. - The result of executing the . - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Returns the current item as . Must only be called if the item actually is an entry. - - - - - Returns the current item as . Must only be called if the item actually is a feed. - - - - - Returns the current item as . Must only be called if the item actually is a navigation link. - - - - - Returns the current item as . Must only be called if the item actually is an entity reference link. - - - - - Returns the expected entity type for the current scope. - - - - - Returns the entity set for the current scope. - - - - - Returns the current scope. - - - - - Returns the scope of the entity owning the current link. - - - - - A flag indicating whether the reader is at the top level. - - - - - If the current scope is a content of an expanded link, this returns the parent navigation link scope, otherwise null. - - - - - True if we are reading an entry or feed that is the direct content of an expanded link. Otherwise false. - - - - - Set to true if a feed is being read. - - - - - Returns true if we are reading a nested payload, e.g. an entry or a feed within a parameters payload. - - - - - Validator to validate consistency of entries in top-level feeds. - - We only use this for top-level feeds since we support collection validation for - feeds only when metadata is available and in these cases we already validate the - types of the entries in nested feeds. - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - The reader state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The entity set we are going to read entities for. - The expected entity type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - EntityReferenceLink - it's null, no need for types on entity reference links. - In all cases the specified type must be an entity type. - - - - The reader state of this scope. - - - - - The item attached to this scope. - - - - - The entity set we are reading entries from (possibly null). - - - - - The entity type for this scope. Can be either the expected one if the real one - was not found yet, or the one specified in the payload itself (the real one). - - - - - Constructor. - - The input to read the payload from. - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Simple ODataVersion specific cache. - - The type of the item being cached. - - - - Lazy constructing T for ODataVersion.V1. - - - - - Lazy constructing T for ODataVersion.V2. - - - - - Lazy constructing T for ODataVersion.V3. - - - - - Constructs an instance of the ODataVersionCache. - - The method to call to create a new instance of for a given ODataVersion. - - - - Indexer to get the cached item when given the ODataVersion. - - The ODataVersion to look up. - The cached item. - - - - Class that hanldes writing top level raw values to a stream. - - - - - Writer settings. - - - - - Underlying stream. - - - - - Encoding that the TextWriter should use. - - - - - TextWriter instance for writing values. - - - - - Initializes a new instance of the class. - Initializes the TextWriter. - - The writer settings. - The stream. It should be the same underlying stream the TextWriter uses. - The encoding to use in the text writer. - - - - Disposes the RawValueWriter. It flushes itself and then disposes its inner TextWriter. - - - - - Start writing a raw output. This should only be called once. - - - - - End the writing of a raw output. This should be the last thing called. - - - - - Converts the specified into its raw format and writes it to the output. - The value has to be of primitive type. Only one WriteRawValue call should be made before this object gets disposed. - - The (non-binary) value to write. - We do not accept binary values here; WriteBinaryValue should be used for binary data. - - - - Flushes the RawValueWriter. - The call gets pushed to the TextWriter (if there is one). In production code, this is StreamWriter.Flush, which turns into Stream.Flush. - In the synchronous case the underlying stream is the message stream itself, which will then Flush as well. - In the async case the underlying stream is the async buffered stream, which ignores Flush call. - - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Gets the text writer. - - - - - Class with utility methods to deal with values in ODataLib. - - - - - Converts an object to an ODataValue. If the given object is already an ODataValue (such as an ODataCompleValue, ODataCollectionValue, etc.), the original object will be returned. - - The object to convert to an ODataValue - The given object as an ODataValue. - - - - Converts an ODataValue to the old style of representing values, where null values are null and primitive values are just the direct primitive (no longer wrapped by ODataPrimitiveValue). - All other value types, such as ODataComplexValue and ODataCollectionValue are returned unchanged. - - The value to convert. - The value behind the given ODataValue. - - - - Represents a tree of selected properties based on the $select query option. - - - When reading, it controls the template expansion in JSON Light. - - - - The separator character used to separate property names in a path. - - - The separator character used to separate paths from each other. - - - Singleton which indicates that the nothing is selected. - - - Singleton which indicates that the entire subtree is selected. - - - An empty set of stream properties to return when nothing is selected. - - - An empty set of navigation properties to return when nothing is selected. - - - The type of the current node. - - - The list of selected properties at the current level. - - - A dictionary of property name to child nodes. - - - Indicates that this node had a wildcard selection and all properties at this level should be reported. - - - - Constructor. - - The string representation of the selected property hierarchy using - the same format as in the $select query option. - - - - Prevents a default instance of the class from being created. - - Type of the selection. - - - - Creates a node from the given raw $select query option value. - - The value of the $select query option. - A tree representation of the selected properties specified in the query option. - - - - Recursively combines the left and right nodes. Used when there are type segments present in the select paths which - causes there to be multiple children for the same property/navigation. - - The left node. - The right node. - The combined node. - - - - Gets the selected properties node for the specified navigation property. - - The current entity type. - The name of the navigation property. - The selected properties node for the property with name . - - - - Gets the selected navigation properties for the current node. - - The current entity type. - The set of selected navigation properties. - - - - Gets the selected stream properties for the current node. - - The current entity type. - The selected stream properties. - - - - Determines whether or not the given operation is selected and takes type-segments into account. - - The current entity type. - The operation. - Whether or not the operation name must be container qualified in the $select string. - - true if the operation is selected; otherwise, false. - - - - - Gets an enumerable containing the given type and all of its base/ancestor types. - - The starting entity type. Will be included in the returned enumeration. - An enumerable containing the given type and all of its base/ancestor types. - - - - Creates a new hash set for storing the names of selected properties. - - The initial set of selected properties to store in the hash set. - The hash set. - - - - Creates a new hash set for storing the names of selected properties. - - The hash set. - - - - Gets the possible identifiers that could cause the given operation to be selected. - - The operation. - Whether the operations must be container qualified. - The identifiers to look for in the $select string when determining if this action is selected. - - - - Gets the matching type segments for the given type based on this node's children. - - The entity type to match. - All child nodes which start with a type segment in the given types hierarchy. - - - - Parses the segments of a path in the select clause. - - The segments of the select path. - The index of the segment to parse. - - - - Ensures that a child annotation for the specified segment name already exists; if not creates one. - - The segment name to get the child annotation for. - The existing or newly created child annotation for the . - - - - Determines whether or not the given operation is selected without taking type segments into account. - - The operation. - Whether the operations must be container qualified. - - true if the operation is selected; otherwise, false. - - - - - Enum representing the different special cases of selection. - - - - - Represents the case where no properties are selected. - - - - - Represents the case where an entire subtree is selected. - - - - - The normal case where a partial subtree has been selected. - - - - - Class representing an annotation group in the JSON Light format. - - - - The name of the annotation group. - - - The (instance and property) annotations included in this annotation group. - - - - The name of the annotation group. - - The name has to be unique across the whole JSON Light payload. - - - - The (instance and property) annotations included in this annotation group. - - The keys in the dictionary are the names of the annotations, the values are their values. - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Tries to get a stream property of the specified name. - - The instance of the entity to get the stream property for. - The stream property name to find. - The stream property found. - true if the stream property was found or if the stream property name was null (default stream). - false if the stream property doesn't exist. - - - - Gets the the CLR value for a primitive property. - - The structured value. - Name of the property. - The clr value of the property. - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Class which holds information about navigation link to be reported by the reader. - - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link has a value (is expanded). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - List of entity reference links to be reported to the navigation link. - - - If the navigation link is a singleton this will hold up to 1 item. - If the navigation link is a collection this will hold any number of items. - When the entity reference link is reported it is removed from this list. - - - - - Constructor. - - The navigation link to report. - The navigation property for which the link will be reported. - true if the navigation link is expanded. - - - - Creates a navigation link info for a deferred link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded entry link. - - The navigation link to report. - The navigation property for which the link will be reported. - The navigation link info created. - - - - Creates a navigation link info for an expanded feed link. - - The navigation link to report. - The navigation property for which the link will be reported. - The expanded feed for the navigation link to report. - The navigation link info created. - - - - Creates a navigation link info for a singleton entity reference link. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference link for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a collection of entity reference links. - - The navigation link to report. - The navigation property for which the link will be reported. - The entity reference links for the navigation link to report. - true if the navigation link is expanded. - The navigation link info created. - - - - Creates a navigation link info for a projected navigation link that is missing from the payload. - - The navigation property for which the link will be reported. - The navigation link info created. - - - - Gets the next entity reference link to report and removes it from the internal storage. - - The entity reference link to report or null. - - - - The navigation link to report. - - - - - The navigation property for which the link will be reported. - - - - - true if the navigation link is expanded (has a value). - - - - - The expanded feed for expanded navigation link to be reported. - - - - - true if the link info has entity reference link which was not yet reported, false otherwise. - - - - - OData JsonLight deserializer for parameter payloads. - - - - - OData JsonLight deserializer for properties and value types. - - - - A sentinel value indicating a missing property value. - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JsonLight input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - An representing the read property. - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive value, complex value or collection. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Gets and validates the type name annotation for the specified property. - - The duplicate property names checker in use for the entry content. - The name of the property to get the type name for. - The type name for the property or null if no type name was found. - - - - Tries to read an annotation as OData type name annotation. - - The annotation name on which value the reader is positioned on. - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - JsonNodeType.PrimitiveValue - the reader didn't move - JsonNodeType.StartObject - JsonNodeType.StartArray - - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - Reads the value of the odata.type annotation. - - The type name read from the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the annotation, will fail if it's not PrimitiveValue - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.Property - the next property after the annotation - JsonNodeType.EndObject - end of the parent object - - - - - Reads top-level property payload property annotation value. - - The name of the property annotation. - The value of the annotation read. - - - - Tries to read an annotation as OData type name annotation. - - The read value of the annotation (string). - true if the annotation is an OData type name annotation, false otherwise. - - Pre-Condition: JsonNodeType.Property - the property that possibly is an odata.type instance annotation - Post-Condition: JsonNodeType.Property - the next property after the annotation or if the reader did not move - JsonNodeType.EndObject - end of the parent object - If the method returns true, it consumed the value of the annotation from the reader. - If it returns false, it didn't move the reader. - - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The expected type reference of the property to read. - The duplicate property names checker to use. - An representing the read property. - - The method assumes that the ReadPayloadStart has already been called and it will not call ReadPayloadEnd. - - - - - Updates the expected type based on the metadata URI if there is one. - - The expected property type reference provided by the user through public APIs, or null if one was not provided. - The expected type reference updated based on the metadata uri, if there is one. - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartArray - Post-Condition: almost anything - the node after the collection value (after the EndArray) - - - - - Reads a primitive value. - - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The expected type reference of the value, or null if none is available. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: insideJsonObjectValue == false -> none - Fails if the current node is not a JsonNodeType.PrimitiveValue - insideJsonObjectValue == true -> JsonNodeType.Property or JsonNodeType.EndObject - the first property of the value object, - or the second property if first was odata.type, or the end-object. - Post-Condition: almost anything - the node after the primitive value. - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - this is always initialized as necessary, do not clear. - The value of the complex value. - - Pre-Condition: JsonNodeType.Property - the first property of the complex value object, or the second one if the first one was odata.type. - JsonNodeType.EndObject - the end object of the complex value object. - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads a primitive, complex or collection value. - - The type name read from the payload as a property annotation, or null if none is available. - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - true if we are reading a top-level property value; otherwise false. - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - If true: when no type info, read raw value as primitive (not including spatial type), untyped complex or untype collection. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the payload type name from a JSON object (if it exists). - - The duplicate property names checker to track the detected 'odata.type' annotation (if any). - true if we are reading a complex value and the reader is already positioned inside the complex value; otherwise false. - The value of the odata.type annotation or null if no such annotation exists. - true if a type name was read from the payload; otherwise false. - - Precondition: StartObject the start of a JSON object - Postcondition: Property the first property of the object if no 'odata.type' annotation exists as first property - or the first property after the 'odata.type' annotation. - EndObject for an empty JSON object or an object with only the 'odata.type' annotation - - - - - Detects whether we are currently reading a complex property or not. This can be determined from metadata (if we have it) - or from the presence of the odata.type instance annotation in the payload. - - The duplicate property names checker in use for the entry content. - The expected type reference of the property to read. - The type name of the complex value if found in the payload; otherwise null. - true if we are reading a complex property; otherwise false. - - This method does not move the reader. - - - - - Tries to read a top-level null value from the JSON reader. - - true if a null value could be read from the JSON reader; otherwise false. - If the method detects the odata.null annotation, it will read it; otherwise the reader does not move. - - - - Make sure that we don't find any other odata.* annotations or properties after reading a payload with the odata.null annotation or the odata.metadata annotation with value ending #Edm.Null - - The duplicate property names checker to use. - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - OData property annotation reader for parameter payloads. - OData property annotations are not supported in parameter payloads. - - - The JSON Light parameter reader. - - - - Constructor. - - The JSON Light parameter reader. - The JsonLight input context to read from. - - - - Reads the next parameter from the parameters payload. - - The duplicate property names checker used to read a parameter payload. - true if a parameter was read from the payload; otherwise false. - - Pre-Condition: Property or EndObject the property node of the parameter to read or the end object node if there are not parameters - Post-Condition: Property or EndObject the node after the property value of a primitive, complex or null collection parameter - Any the start of the value representing a non-null collection parameter (the collection reader will fail if this is not a StartArray node) - - - - - Parser for odata metadata URIs used in JSON Lite. - - - - The start of the select query option (including the '=' character). - - - The model to use when resolving the target of the URI. - - - The result of parsing the metadata URI. - - - - Initializes a new instance of the class. - - The model to use when resolving the target of the URI. - The metadata URI read from the payload. - - - - Creates a metadata URI parser and parses the metadata URI read from the payload. - - The model to use when resolving the target of the URI. - The string value of the odata.metadata annotation read from the payload. - The payload kind we expect the metadata URI to conform to. - The OData version to use for determining the set of built-in functions available. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The result from parsing the metadata URI. - - - - Extracts the value of the $select query option from the specified fragment. - - The fragment to extract the $select query option from. - The value of the $select query option or null if none exists. - - - - Parses a metadata URI read from the payload into its parts. - - - - - Applies the model and validates the metadata URI against it. - - The payload kind we expect the metadata URI to conform to. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - - - - Parses the fragment of a metadata URI. - - The fragment to parse - Reader behavior if the caller is a reader, null if no reader behavior is available. - The OData version to use for determining the set of built-in functions available. - The detected payload kind based on parsing the fragment. - - - - Returns the parse results of the metadata uri if it has a AssociationLink in the uri - - Edm Type Resolver to determine entityset type element. - Number of split parts the metadata fragment is split into. - The actual metadata fragment parts. - The reader behavior. - The odata version. - Returns with an EntityReferenceLink or Links depending on the Uri, sets the parse results with the navigation, and set - - - - Set the EntityLinks Parse results. - - Navigation property to add to the results. - Single element string, used to confirm if this is an error case or not. - Returns ReferenceLink or Collection Link based on the navigation and at element - - - - Parses the fragment of an entity reference link metadata URI. - - Edm Type Resolver used to get the ElementType of the entity set. - Entity Set used as a starting point to find the navigation property - The name of the type declaring the navigation property. - The name of the navigation property. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved navigation property. - - - - Validate the Metadata Uri Fragment is @Element for a $links metadata uri, will throw a $links specific error - - Element selector. - - - - Validate the Metadata Uri Fragment is @Element for a non $links metadata uri, throws if its not correct - - Element selector. - - - - Resolves a navigation property name to an IEdmNavigationProperty. - - Entity Type to look for the navigation property on. - Navigation property name to find. - Returns the navigation property of throws an exception if it cannot be found. - - - - Resolves the entity set. - - The entity set part. - The resolved entity set. - Returns the OData Payload Kind - - - - Resolves an entity set with an optional type cast and updates the parse result. - - The entity set to resolve the type cast against. - The optional type cast. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type of the given entity set. - The resolved entity type. - - - - Resolves a type. - - The type name. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The resolved Edm type. - - - - Interface representing a state of the JSON writer for entry. - - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entry being written. - - - - - The entity type for the entry (if available) - - - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - - - The serialization info for the current entry. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Constants for the JSON Lite format. - - - - The prefix for OData annotation names. - - - The separator of property annotations. - - - The value 'true' for the OData null annotation. - - - The 'value' property name for the Json Light value property. - - - The name of the property returned for a singleton $links query. - - - The name of the property returned for a URL of a workspace collection. - - - The name of the property returned for a name of a workspace collection. - - - The 'name' property name of an annotation group declaration. - - - The name of the $select query option. - - - The '=' character used to separate a query option name from its value. - - - The '&' separator character between query options. - - - The hash sign acting as fragment indicator in a metadata URI. - - - The slash sign used as separator in the fragment of a metadata URI. - - - The @Element token that indicates that the payload is a single item from a set. - - - The '(' used to mark the start of function parameters in the fragment of a metadata URI. - - - The ')' used to mark the end of function parameters in the fragment of a metadata URI. - - - The "," to use as the separator for the function parameters in the fragment of a metadata URI. - - - The token that indicates the payload is a property with null value. - - - - Builder class to construct the metadata pointers for the Json Light format for the various payload kinds. - - - - - Creates a metadata uri builder after validating user input. - - The JSON Light metadata level being written. - if set to true indicates that a response is being written. - The writer settings. - The Edm model instance. - The metadata uri builder to use while writing. - - - - Creates a metadata uri builder for the given base metadata document uri. - DEVNOTE: specifically for unit testing. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - A new metadata uri builder. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which uses a user-provided uri and $select clause. - - - - - The base metadata document uri and $select clause provided by the user. - - - - - The Edm model instance. - - - - - if set to true indicates that a response is being written. - - - - - Initializes a new instance of the class. - - The non-null, absolute metadata document URI. - The Edm model instance. - if set to true indicates that a response is being written. - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the metadata URI type name based on the given property. - - The property. - The type name for the metadata URI. - - - - Gets the entity set name for the metadata Uri. - - The entity set in question. - The model instance. - Returns the entity set name for the metadata Uri. - - - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - The entity set in question. - The eneity type in question. - - Returns the fully qualified name of if it is a derived type of the ; - returns null if is the root type of . - - - - - Creates the metadata URI for a type. - - The non-null, absolute metadata document URI. - The fully qualified type name to create the metadata URI for. - Returns the metadata URI for a value based on its type. - - - - Creates the metadata URI for a feed or entry. - - The non-null, absolute metadata document URI. - The Edm model instance. - The context object to answer basic questions regarding the type of the entry or feed. - true if the metadata URI is built for an entry, false if the metadata URI is built for a feed. - true if the metadata URI is for a response payload, false if the metadata URI is for a request payload. - Returns the metadata URI for the feed or entry. - - - - Creates the metadata URI for an entity set. - - The non-null, absolute metadata document URI. - The fully qualified entity set name for which to create the metadata URI. - The fully qualified entity type name of the entries in the result. This has to be an entity type derived - from the result entity set's base type or null to use its base type. - Navigation Property name to create a $link metadata uri to, if not null a $link uri will be created - true to append the '@Element" item selector at the end of the metadata URI; otherwise false. - The metadata URI for the . - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - Metadata uri builder which never actually builds anything. Used for the case where 'nometadata' is explicitly requested in the media type. - - - - - Singleton instance of . - - - - - Prevents a default instance of the class from being created. - - - - - Creates the metadata URI for a feed based on the entity set the entries in the feed belong to. - - The context object to answer basic questions regarding the type of the feed. - Returns the metadata URI for a feed based on the entity set the entries in the feed belong to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entry based on the entity set it belongs to. - - The context object to answer basic questions regarding the type of the entry. - Returns the metadata URI for an entry based on the entity set it belongs to. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a property based on its value. - - The property to create the metadata URI for. - Returns the metadata URI for a property based on its owning type. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an entity reference link. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for a collection of entity reference links. - - Serialization information to generate the metadata uri. - The entity set of the declaring type of the navigation property - The navigation property to create the metadata URI for. - Returns the metadata URI for an entity reference link or a collection of entity reference links. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for an operation (function, action, service op) based on its function import. - - Serialization information to generate the metadata uri. - The item type of the collection. - Returns the metadata URI for an operation (function, action, service op) based on its function import. - true if we have successfully built the metadata URI; false otherwise. - - - - Creates the metadata URI for the service document. - - Returns the metadata URI for the service document. - true if we have successfully built the metadata URI; false otherwise. - - - - Gets the base URI of the metadata document uri. May be null to indicate that there is no metadata document uri. - - - - - The result of parsing an OData metadata URI in JSON Lite. - - - - The metadata URI read from the payload in its unparsed form. - - - The metadata document URI as read from the payload. - - - The fragment portion of the metadata URI. - - - The $select query option. - - - The resolved entity set as specified in the metadata URI. - - - The resolved structured type as specified in the metadata URI. - - - The navigation property as specified in the metadata URI. - - - The detected payload kinds from parsing the metadata URI. - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - Initializes a new instance of the class. - - The metadata URI read from the payload in its unparsed form. - - - - The metadata URI read from the payload in its unparsed form. - - - - - The metadata document URI as read from the payload. - - This is the metadata URI as read from the payload without the fragment. - - - - The fragment portion of the metadata URI. - - - - - The $select query option. - - - - - The resolved entity set as specified in the metadata URI. - - - - - The resolved structured type as specified in the metadata URI. - - - - - The navigation property as specified in the metadata URI. - - - - - The detected payload kinds from parsing the metadata URI. - - - - - true if we just parsed the metadata Uri for null properties, i.e. ~/$metadata#Edm.Null; false otherwise. - - - - - Reader for the JSON Lite format that supports look-ahead and re-ordering of payloads. - - - - - Reader for the JSON format (http://www.json.org) that supports look-ahead. - - - - - Reader for the JSON format. http://www.json.org - - - - - The initial size of the buffer of characters. - - - 4K (page size) divided by the size of a single character 2 and a little less - so that array structures also fit into that page. - The goal is for the entire buffer to fit into one page so that we don't cause - too many L1 cache misses. - - - - - Maximum number of characters to move in the buffer. If the current token size is bigger than this, we will allocate a larger buffer. - - This threshold is copied from the XmlReader implementation. - - - - The text which every date time value starts with. - - - - - The text which every date time value ends with. - - - - - The text reader to read input characters from. - - - - - Stack of scopes. - - - At the begining the Root scope is pushed to the stack and stays there for the entire parsing - (so that we don't have to check for empty stack and also to track the number of root-level values) - Each time a new object or array is started the Object or Array scope is pushed to the stack. - If a property inside an Object is found, the Property scope is pushed to the stack. - The Property is popped once we find the value for the property. - The Object and Array scopes are popped when their end is found. - - - - true if annotations are allowed and thus the reader has to - accept more characters in property names than we do normally; otherwise false. - - - true if the reader should recognize ASP.NET JSON DateTime and DateTimeOffset format "\/Date(...)\/". - false if the reader should not recognize such strings and read them as arbitrary string. - - - - End of input from the reader was already reached. - - This is used to avoid calling Read on the text reader multiple times - even though it already reported the end of input. - - - - Buffer of characters from the input. - - - - - Number of characters available in the input buffer. - - This can have value of 0 to characterBuffer.Length. - - - - Index into the characterBuffer which points to the first character - of the token being currently processed (while in the Read method) - or of the next token to be processed (while in the caller code). - - This can have value from 0 to storedCharacterCount. - - - - The last reported node type. - - - - - The value of the last reported node. - - - - - Cached string builder to be used when constructing string values (needed to resolve escape sequences). - - The string builder instance is cached to avoid excessive allocation when many string values with escape sequences - are found in the payload. - - - - Constructor. - - The text reader to read input characters from. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Determines if a given character is a whitespace character. - - The character to test. - true if the is a whitespace; false otherwise. - Note that the behavior of this method is different from Char.IsWhitespace, since that method - returns true for all characters defined as whitespace by the Unicode spec (which is a lot of characters), - this one on the other hand recognizes just the whitespaces as defined by the JSON spec. - - - - Parses a date time primitive value. - - The string value to parse. - The parsed date time value, or null if the string value doesn't represent a date time value. - - - - Parses a "value", that is an array, object or primitive value. - - The node type to report to the user. - - - - Parses a property name and the colon after it. - - The node type to report to the user. - - - - Parses a primitive string value. - - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses a primitive string value. - - Set to true if the first character in the string was a backslash. This is used when parsing DateTime values - since they must start with an escaped slash character (\/). - The value of the string primitive value. - - Assumes that the current token position points to the opening quote. - Note that the string parsing can never end with EndOfInput, since we're already seen the quote. - So it can either return a string succesfully or fail. - - - - Parses the null primitive value. - - Always returns null if successful. Otherwise throws. - Assumes that the current token position points to the 'n' character. - - - - Parses the true or false primitive values. - - true of false boolean value if successful. Otherwise throws. - Assumes that the current token position points to the 't' or 'f' character. - - - - Parses the number primitive values. - - Int32 or Double value if successful. Otherwise throws. - Assumes that the current token position points to the first character of the number, so either digit, dot or dash. - - - - Parses a name token. - - The value of the name token. - Name tokens are (for backward compat reasons) either - - string value quoted with double quotes. - - string value quoted with single quotes. - - sequence of letters, digits, underscores and dollar signs (without quoted and in any order). - - - - Called when end of input is reached. - - Always returns false, used for easy readability of the callers. - - - - Creates a new scope of type and pushes the stack. - - The scope type to push. - - - - Pops a scope from the stack. - - - - - Pops a property scope if it's present on the stack. - - - - - Skips all whitespace characters in the input. - - true if a non-whitespace character was found in which case the tokenStartIndex is pointing at that character. - false if there are no non-whitespace characters left in the input. - - - - Ensures that a specified number of characters after the token start is available in the buffer. - - The number of character after the token to make available. - true if at least the required number of characters is available; false if end of input was reached. - - - - Consumes the characters starting at the start of the token - and returns them as a string. - - The number of characters after the token start to consume. - The string value of the consumed token. - - - - Reads more characters from the input. - - true if more characters are available; false if end of input was reached. - This may move characters in the characterBuffer, so after this is called - all indeces to the characterBuffer are invalid except for tokenStartIndex. - - - - The value of the last reported node. - - This is non-null only if the last node was a PrimitiveValue or Property. - If the last node is a PrimitiveValue this property returns the value: - - null if the null token was found. - - boolean if the true or false token was found. - - string if a string token was found. - - DateTime if a string token formatted as DateTime was found. - - Int32 if a number which fits into the Int32 was found. - - Double if a number which doesn't fit into Int32 was found. - If the last node is a Property this property returns a string which is the name of the property. - - - - - The type of the last node read. - - - - - Various scope types for Json writer. - - - - - Root scope - the top-level of the JSON content. - - This scope is only once on the stack and that is at the bottom, always. - It's used to track the fact that only one top-level value is allowed. - - - - Array scope - inside an array. - - This scope is pushed when [ is found and is active before the first and between the elements in the array. - Between the elements it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Object scope - inside the object (but not in a property value). - - This scope is pushed when { is found and is active before the first and between the properties in the object. - Between the properties it's active when the parser is in front of the comma, the parser is never after comma as then - it always immediately processed the next token. - - - - Property scope - after the property name and colon and througout the value. - - This scope is pushed when a property name and colon is found. - The scope remains on the stack while the property value is parsed, but once the property value ends, it's immediately removed - so that it doesn't appear on the stack after the value (ever). - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - Get/Set the number of values found under the current scope. - - - - - Gets the scope type for this scope. - - - - The (possibly empty) list of buffered nodes. - This is a circular linked list where this field points to the first item of the list. - - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - - The maximumum number of recursive internalexception objects to allow when reading in-stream errors. - - - - The name of the property that denotes an in-stream error. - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - - Debug flag to ensure we do not re-enter the instance while reading ahead and trying to parse an in-stream error. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Constructor. - - The text reader to read input characters from. - The name of the property that denotes an in-stream error. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - The specific JSON-based format expected by the reader. - - - - Reads the next node from the input. - - true if a new node was found, or false if end of input was reached. - - - - Puts the reader into the state where it buffers read nodes. - - - - - Creates a bookmark at the current position of the reader. - - The bookmark object, it should be treated as a black box by the caller. - - - - Moves the reader to the bookmarked position. - - The bookmark object to move to. - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - A method to detect whether the current property value represents an in-stream error. - - The read from the payload. - true if the current value is an in-stream error value; otherwise false. - - - - Reads the next node from the input. If we have still nodes in the buffer, takes the node - from there. Otherwise reads a new node from the underlying reader and buffers it (depending on the current mode). - - true if a new node was found, or false if end of input was reached. - - If the parsingInStreamError field is false, the method will read ahead for every StartObject node read from the input to check whether the JSON object - represents an in-stream error. If so, it throws an . If false, this check will not happen. - This parsingInStremError field is set to true when trying to parse an in-stream error; in normal operation it is false. - - - - - Called whenever we find a new object value in the payload. - The base class implementation reads ahead and tries to parse it as an in-stream error payload. If it finds one it will throw it. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads the next node from the JSON reader and if a start-object node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Try to read an error structure from the stream. Return null if no error structure can be read. - - An instance that was read from the reader or null if none could be read. - true if an instance that was read; otherwise false. - - - - Try to read the message property value of an error value. - - An instance to set the read message property values on. - true if the message property values could be read; otherwise false. - - - - Try to read an inner error property value. - - An instance that was read from the reader or null if none could be read. - The number of times this method has been called recursively. - true if an instance that was read; otherwise false. - - - - Reads the string value of a property. - - The string value read if the method returns true; otherwise null. - true if a string value (or null) was read as property value of the current property; otherwise false. - - - - Skips over a JSON value (primitive, object or array) while parsing in-stream errors. - Note that the SkipValue extension method can not be used in this case as this method has to - access the base instance's NodeType and call ReadInternal. - - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Removes the head node from the buffer. - - - - - The type of the last node read. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - The value of the last reported node. - - - Depending on whether buffering is on or off this will return the node type of the last - buffered read or the node type of the last unbuffered read. - - - - - true if the parser should check for in-stream errors whenever a start-object node is encountered; otherwise false. - This is set to false for parsing of top-level errors where we don't want the in-stream error detection code to kick in. - - - - - Private class used to buffer nodes when reading in buffering mode. - - - - The type of the node read. - - - The value of the node. - - - - Constructor. - - The type of the node read. - The value of the node. - - - - The type of the node read. - - - - - The value of the node. - - - - - The previous node in the list of nodes. - - - - - The next node in the list of nodes. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Buffers and re-orders an object value for later consumption by the JsonLight reader. - - - This method is called when the reader is in the buffering mode and can read ahead (buffering) as much as it needs to - once it returns the reader will be returned to the position before the method was called. - The reader is always positioned on a start object when this method is called. - - - - - Reads a property name from the JSON reader and determines if it's a regular property, an instance annotation or a property annotation. - - The name of the regular property which the reader is positioned on or which a property annotation belongs to. - The name of the instance or property annotation, or null if the reader is on a regular property. - - - - Reads over a value buffering it. - - - - - A data structure to represent the buffered object with information about its properties, - their order and annotations. - - - - The cache for properties. - The key is the property or instance annotation name, - the value are the buffered properties grouped by property name (incl. annotation properties). - - - The set of data property names. - Data properties are the properties that are neither an instance annotation property nor a property annotation. - - - A list of property names with their annotation name. - This is needed to properly maintain the relative order of annotation properties if no data - property for the annotation property exists in the object. - - - - Constructor. - - - - - Adds a new buffered property to the list of buffered properties for this object. - - The name of the data property (null for instance annotations). - The name of the annotation (null for data properties). - The buffered property to add. - - - - Reorders the buffered properties to conform to the required payload order. - - The required order is: odata.metadata comes first, odata.type comes next, then all odata.* property annotations - and finally, we preserve the relative order of custom annotations and data properties. - - - - Sort the data properties and property annotations stored for a particular property name. - - The list of buffered properties to sort. - The sorted enumerable of buffered properties. - The sort order is for all odata.* property annotations to come before the data property - but otherwise preserve the relative order of custom property annotations with regard to the position of the data property. - - - - Checks whether an annotation name is an odata.* annotation. - - The annotation name to check. - true if the annotation name represents an odata.* annotation; otherwise false. - - - - Checks whether an annotation name is a odata.metadata annotation. - - The annotation name to check. - true if the annotation name represents an odata.metadata annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroup annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroup annotation; otherwise false. - - - - Checks whether an annotation name is a odata.annotationGroupReference annotation. - - The annotation name to check. - true if the annotation name represents an odata.annotationGroupReference annotation; otherwise false. - - - - Checks whether an annotation name is a odata.type annotation. - - The annotation name to check. - true if the annotation name represents an odata.type annotation; otherwise false. - - - - Checks whether an annotation name is a odata.id annotation. - - The annotation name to check. - true if the annotation name represents an odata.id annotation; otherwise false. - - - - Checks whether an annotation name is a odata.etag annotation. - - The annotation name to check. - true if the annotation name represents an odata.etag annotation; otherwise false. - - - - Sorts the property names for an object. - - The sorted enumerable of property names. - The sort order is to put odata.metadata first, then odata.type, odata.id, and odata.etag, followed by all other odata.* instance annotations. - For the rest, we preserve the relative order of custom annotations with regard to the data property. - Note that we choose the position of the first property annotation in cases where no data property for a set of - property annotations exists. - - - - The node in the linked list of buffered nodes where this object starts. - - - - - The current buffered property being processed. - - - - - A data structure to represent a buffered property. - - - - - Reorders the buffered property to be positioned after the node. - - The node after which to insert this buffered property. - - - - The annotation name for this buffered property (either instance annotation or property annotation). - - - - - The node in the linked list of buffered nodes that represents the property name of the buffered property. - - - - - The node in the linked list of buffered nodes that represents the end of the property value of the buffered property. - - - - - Interface representing a context necessary for reading JSON operations values. - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - Base class for all JSON output contexts. - - - - An in-stream error listener to notify when in-stream error is to be written. Or null if we don't need to notify anybody. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The text writer created for the output stream. - - - The JSON writer to write to. - This field is also used to determine if the output context has been disposed already. - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Synchronously flush the writer. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the which is to be used to write the content of the message. - - - - - Helper methods used by the OData reader for the Verbose JSON and JSON Light formats. - - - - - Try and parse spatial type from the json payload. - - The JSON reader to read from. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - Expected edm property type. - true to validate null values; otherwise false. - The recursion depth to start with. - The name of the property whose value is being read, if applicable (used for error reporting). - An instance of the spatial type. - - - - Tries to read a null value from the JSON reader. - - The JSON reader to read from. - The input context with all the settings. - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - true if a null value could be read from the JSON reader; otherwise false. - If the method detects a null value it will read it (position the reader after the null value); - otherwise the reader does not move. - - - - Reads the json object value from the jsonReader - - Json reader to read payload from the wire. - true if the reader is positioned on the first property of the value which is a JSON Object - (or the second property if the first one was odata.type). - The input context with all the settings. - The recursion depth to start with. - an instance of IDictionary containing the spatial value. - - - - Read the json array from the reader. - - JsonReader instance. - The input context with all the settings. - The recursion depth to start with. - a list of json objects. - - - - Reader for the JSON format that supports look-ahead and deduplicates properties. - - - This reader will buffer the entire object record whenever it finds the start of the object record. - It then goes through all its properties and removes duplicates. - It then reports the object record as if there were no duplicates in it. - If there was a duplicate property it will be reported at the position the first occurence of the property was found - but with the value of the last occurence. - This is to implement WCF DS Server compatibility behavior. - - - - - Constructor. - - The text reader to read input characters from. - The maximum number of recursive internalexception objects to allow when reading in-stream errors. - - - - Called whenever we find a new object value in the payload. - Removes duplicate properties in the current object record. - - - This method assumes that we are buffering and that the current buffered node is a StartObject. - It then goes, buffers the entire object record (and all its children) and removes duplicate properties (using the WCF DS Server algorithm). - It will remove duplicate properties on any objects in the subtree of the top-level object as well (behaves recursively). - The method also checks for in-stream errors and throws if it finds one. - - - - - Private class used to store information necessary to deduplicate properties of a single JSON object record. - - - This class is a dictionary - Key is the name of a property in the object record. - Value is a list of property deduplication records in the order we find the properties in the payload. - - - - - Points to the property record which is currently being constructed. - - - - - Private class used to store information necessary to deduplicate a single JSON property. - - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - - - Constructor. - - The property node to create the record for. - - - - The node in the buffered nodes list which points to the property node - which this deduplication record describes. - - - - - The node in the buffered nodes list which points to the last node of the value of the property node - this deduplication record describes. - - - Observation: Even if the value itself is an object for which we will do the property deduplication and thus we will shuffle its nodes around, - in that case the last value node will point to the end object node which will not change during the deduplication process. - - - - - Annotation which stores the EDM type information of a value. - - - This annotation will be used on ODataEntry, ODataComplexValue and ODataCollectionValue. - - - - The EDM type of the value this annotation is on. - - - The entity set of the value this annotation is on. Only applies to entity values. - - - - Creates a new instance of the type annotation for an entity value. - - The entity set the entity belongs to (required). - The entity type of the entity value if not the base type of the entity set (optional). - - - - Creates a new instance of the type annotation for a complex value. - - The type of the complex value (required). - - - - Creates a new instance of the type annotation for a collection value. - - The type of the collection value (required). - - - - The EDM type of the value. - - - - - The entity set the value belongs to (only applies to entity values). - - - - - An implementation of an OData collection value. - - - - - The to convert into an . - - - - - Creates a new instance of an . - - The to create the collection value for. - - - - Gets the values stored in this collection. - - - - - Gets the kind of this value. - - - - - An implementation of an OData entry or complex value. - - - - Static, un-typed instance for use in ODataLib. - - - - Creates a new Edm null value with the specified type. - - The type of the null value (if available). - - - - Gets the kind of this value. - - - - - Class with utility methods to deal with EDM values over OData OM instances. - - - - - Converts an into the corresponding . - - The non-null to convert. - The declaring type of the property. - An implementation of the value. - - - - Converts an OData value into the corresponding . - - The value to convert. - The of the value or null if no type reference is available. - An implementation of the . - - - - An implementation of an OData entry or complex value. - - - - Properties of an OData entry or complex value. - - - The type of this structured value. - - - - Creates a new Edm structured value from an OData entry. - - The to create the structured value for. - - - - Creates a new Edm structured value from an OData complex value. - - The to create the structured value for. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - The found property, or null if no property was found. - - - - Gets the property values of this structured value. - - - - - Gets the kind of this value. - - - - - Interface representing a state of the JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. May be null. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - OData JsonLight deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - The duplicate property names checker used to keep track of the properties and annotations - in the collection wrapper object. - true if we are reading a nested collection inside a paramter payload; otherwise false. - The expected item type reference or null if none is expected. - The validated actual item type reference (if specified in the payload) or the expected item type reference. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: Any: the start of a nested collection value; if this is not a 'StartArray' node this method will fail. - JsonNodeType.Property: the first property of the collection wrapper object after the metadata URI. - JsonNodeType.EndObject: when the collection wrapper object has no properties (other than the metadata URI). - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level instance annotations. - - true if we are reading a nested collection inside a paramter payload; otherwise false. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: All of the collection payload has been consumed. - - - - - OData collection reader for the JsonLight format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Implementation of the collection reader logic when in state 'Start'. - - The duplicate property names checker for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - OData JsonLight serializer for collections. - - - - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - true when writing a top-level collection that requires the 'value' wrapper object; otherwise false. - - - - Writes the start of a collection. - - The collection start to write. - The item type of the collection or null if no metadata is available. - - - - Writes the end of a collection. - - - - - ODataCollectionWriter for the JsonLight format. - - - - - Base class for OData collection writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData collection writers. - - - - Start writing a collection. - The representing the collection. - - - Starts writing an entry. - The collection item to write. - - - Finishes writing a collection. - - - Flushes the write buffer to the underlying stream. - - - - An interface that allows the implementations of the writers to get notified if an in-stream error is to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - The output context to write to. - - - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - Stack of writer scopes to keep track of the current context of the writer. - - - The expected type of the items in the collection or null if no expected item type exists. - - - Checker to detect duplicate property names on complex collection items. - - - The collection validator instance if no expected item type has been specified; otherwise null. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Flushes the write buffer to the underlying stream. - - - - - Start writing a collection. - - The representing the collection. - - - - Write a collection item. - - The collection item to write. - - - - Finish writing a collection. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - The representing the collection. - - - - Start writing a collection - implementation of the actual functionality. - - The representing the collection. - - - - Verify that calling WriteItem is valid. - - true if the call is to be synchronous; false otherwise. - - - - Write a collection item - implementation of the actual functionality. - - The collection item to write. - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a collection - implementation of the actual functionality. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Notifies the implementer of the interface of relevant state changes in the writer. - - The new writer state. - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - The item associated with the new state. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - The current state of the writer. - - - - Checker to detect duplicate property names on complex collection items. - - - - The collection validator instance. - - - - - The item type of the collection being written or null if no metadata is available. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer has started writing and is writing the wrapper elements for the - collection items (if any). No or all items have been written. - - - - The writer is in a state where collection items can be written. - - - The writer has completed; nothing can be written anymore. - - - Writer has written an error; nothing can be written anymore. - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - - The output context to write to. - - - - - The JsonLight collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - OData JsonLight deserializer for entity reference links. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - An representing the read entity reference link. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - The navigation property for which to read the entity reference links. - The duplicate property names checker to use for the top-level scope. - An representing the read entity reference link. - - - - Reads the entity reference link instance annotations. - - The to read the annotations for. - The duplicate property names checker for the entity reference links scope. - true when parsing the instance annotations before the 'value' property; - false when parsing the instance annotations after the 'value' property. - - Pre-Condition: JsonNodeType.Property The first property in the payload (or the first property after the metadata URI in responses) - JsonNodeType.EndObject The end of the entity reference links object - Post-Condition: JsonNodeType.EndObject When the end of the entity reference links object is reached - Any The first node of the value of the 'url' property (if found) - - - - - Reads the odata.nextlink value of an entity reference links nextlink annotation. - - The entity reference links to read the next link value for; the value of the nextlink will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of an entity reference links count annotation. - - The entity reference links to read the count value for; the value of the count will be assigned to this instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation - Post-Condition: JsonNodeType.EndObject The end of the entity reference links object - JsonNodeType.Property The next property after the instance annotation - - - - - Read an entity reference link. - - The duplicate property names checker to check for duplicate properties and - duplicate annotations; this is a separate instance per entity reference link. - true if we are reading a singleton entity reference link at the top level; false if we are reading - an entity reference link as part of a collection of entity reference links. - An instance of which was read. - - Pre-Condition: StartObject when the entity reference link is part of a collection - Property the first property in the entity reference link (for a top-level link) - EndObject the end object node of an entity reference link (for a top-level link) - Post-Condition: EndInput for a top-level object - EndArray for the last link in a collection of links - Any for the first node of the next link in a collection of links - - - - - OData JsonLight serializer for entity reference links. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - The entity set of the navigation property - The navigation property for which the entity reference link is being written, or null if none is available. - true if the entity reference link being written is at the top level of the payload. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - The entity set of the navigation property - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes the next link property, which consists of the property name and value. - - The non-null value of the next link to write. - - - - Writes the odata.count property, which consists of the property name and value. - - The value of the count property to write. - - - - OData JsonLight deserializer for entries and feeds. - - - - The annotation group deserializer for reading annotation groups. - - - - Constructor. - - The JsonLight input context to read from. - - - - Reads the start of the JSON array for the content of the feed. - - - Pre-Condition: JsonNodeType.StartArray: The start of the feed property array; this method will fail if the node is anything else. - Post-Condition: JsonNodeType.StartObject: The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of the array containing the feed content. - - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.Property if the feed is part of an expanded navigation link and there are more properties in the object - JsonNodeType.EndObject if the feed is a top-level feed or the expanded navigation link is the last property of the payload - - - - - Reads the entry type name annotation (odata.type) - - The state of the reader for entry to read. - - Pre-Condition: JsonNodeType.Property The first property after the odata.metadata in the entry object. - JsonNodeType.EndObject End of the entry object. - Post-Condition: JsonNodeType.Property The property after the odata.type (if there was any), or the property on which the method was called. - JsonNodeType.EndObject End of the entry object. - - This method fills the ODataEntry.TypeName property if the type name is found in the payload. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.Property If we've read a deferred link (this is the property after the deferred link) - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null - - - - - Validates entry metadata. - - The entry state to use. - - - - Reads the feed instance annotations for a top-level feed. - - The to read the instance annotations for. - The duplicate property names checker for the top-level scope. - true when parsing the instance annotations before the feed property; - false when parsing the instance annotations after the feed property. - true if we should scan ahead for the annotations and ignore the actual data properties (used with - the reordering reader); otherwise false. - - - - Reads a value of property annotation on the entry level. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property annotation - - - - - Reads an annotation group if one exists, and updates the given entry with the annotations from the annotation group. - - The state for the entry which should get the annotations. - - - - Reads instance annotation in the entry object. - - The name of the instance annotation found. - true if a non-annotation property has already been encountered. - true if the 'odata.type' annotation has already been encountered, or should have been by now. - The duplicate property names checker for the entry being read. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads instance annotation in the entry object. - - The state of the reader for entry to read. - The name of the instance annotation found. - The value of the annotation. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the instance annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the instance annotation - - - - - Reads the value of the instance annotation. - - The duplicate property names checker instance. - The name of the instance annotation. - Returns the value of the instance annotation. - - - - Reads the value of a feed annotation (count or next link). - - The name of the annotation found. - The feed to read the annotation for; if non-null, the annotation value will be assigned to the feed. - The duplicate property names checker instance. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the annotation - Post-Condition: JsonNodeType.EndObject The end of the feed object - JsonNodeType.Property The next annotation after the current annotation - - - - - Reads entry property which doesn't have value, just annotations. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.EndObject The end of the entry object. - JsonNodeType.Property The property after the one we're to read. - Post-Condition: JsonNodeType.EndObject This method doesn't move the reader. - JsonNodeType.Property - - - - - Reads any next link annotation immediately after the end of a feed. - - The feed being read. - The information about the expanded link. This must be non-null if we're reading an expanded feed, and must be null if we're reading a top-level feed. - The top-level duplicate property names checker, if we're reading a top-level feed. - - - - Reads the information of a deferred link. - - The state of the reader for entry to read. - The name of the navigation property for which to read the deferred link. - The navigation property for which to read the deferred link. This can be null. - Returns the navigation link info for the deferred navigation link read. - - This method doesn't move the reader. - - - - - Reads expanded entry navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads expanded feed navigation link. - - The state of the reader for entry to read. - The navigation property for which to read the expanded link. - The navigation link info for the expanded link read. - - This method doesn't move the reader. - - - - - Reads entity reference link for a singleton navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference link. - true if the navigation link is expanded. - The navigation link info for the entity reference link read. - - This method doesn't move the reader. - - - - - Reads entity reference links for a collection navigation link in request. - - The state of the reader for entry to read. - The navigation property for which to read the entity reference links. - true if the navigation link is expanded. - The navigation link info for the entity reference links read. - - This method doesn't move the reader. - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Checks if there is a next link annotation immediately after an expanded feed, and reads and stores it if there is one. - We fail here if we encounter any other property annotation for the expanded navigation (since these should come before the property itself). - - The feed that was just read. - The information for the current expanded navigation link being read. - - - - Applies the all the annotations from the given annotation group to an entry. - - The state for the entry which should get the annotations. - The annotation group to apply. - - - - Sets specified media resource on an entry and hooks up metadata builder. - - The entry state to use. - The media resource to set. - - - - Reads entry property (which is neither instance nor property annotation) which has a value. - - The state of the reader for entry to read. - The name of the property read. - A reader navigation link info representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the entry object - JsonNodeType.Property The next property after the property - JsonNodeType.StartObject Expanded entry - JsonNodeType.StartArray Expanded feed - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Read an entry-level data property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - The type name specified for the property in property annotation, or null if no such type name is available. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - true if the property has a value, false if it doesn't. - - Pre-Condition: JsonNodeType.PrimitiveValue: propertyWithValue is true and the reader is positioned on the first node of the property value. - JsonNodeType.StartObject: - JsonNodeType.StartArray: - JsonNodeType.Property: propertyWithValue is false and the reader is positioned on the node after the property. - JsonNodeType.EndObject: - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link info instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value from the property annotations. - - The state of the reader for entry to read. - The name of the stream property to read the value for. - The newly created stream reference value. - - - - Reads one operation for the entry being read. - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - true if the operation value is inside an array, i.e. multiple targets for the operation; false otherwise. - - Pre-Condition: JsonNodeType.StartObject: first node of the operation value. - Post-Condition: JsonNodeType.Property: the property after the current operation being read when there is one target for the operation. - JsonNodeType.StartObject: the first node of the next operation value when there are multiple targets for the operation. - JsonNodeType.EndArray: the end-array of the operation values when there are multiple target for the operation. - - - - - Sets the metadata builder for the operation. - - The state of the reader for entry to read. - The operation to set the metadata builder on. - - - - Creates a new instance of ODataAction or ODataFunction for the . - - The Json operation deserializer context. - The state of the reader for entry to read. - The name of the metadata reference property being read. - A new instance of ODataAction or ODataFunction for the . - - - - Read the metadata reference property value for the entry being read. - - The state of the reader for entry to read. - The name of the metadata reference property being read. - - Pre-Condition: JsonNodeType.Property: first node of the metadata reference property's value. Currently - actions and functions are the only supported metadata reference property, - we will throw if this is not a start object or start array node. - Post-Condition: JsonNodeType.Property: the property after the annotation value - JsonNodeType.EndObject: the end-object of the entry - - - - - Validates that we can read metadata reference property. - - - - - Validates that the value of a JSON property can represent expanded navigation link. - - true if the property is entity set reference property; false for a resource reference property, null if unknown. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData JsonLight serializer for entries and feeds. - - - - - OData JsonLight serializer for properties. - - - - - Serializer to use to write property values. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Test to see if is an open property or not. - - The property in question. - The owning type of the property. - The metadata of the property. - true if the property is an open property; false if it is not, or if openness cannot be determined - - - - Writes a name/value pair for a property. - - The property to write out. - The owning type for the or null if no metadata is available. - true when writing a top-level property; false for nested properties. - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property. - - The name of the property to write. - The stream reference value to be written - - - - Writes the type name on the wire. - - Name of the property. - Type name of the property. - true when writing a top-level property; false for nested properties. - - - - Gets the json light value writer. - - - - A map from annotation group name to annotation group for all annotation groups - encountered so far in this payload. - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes an annotation group declaration or annotation group reference if specified for the entry. - - The entry to write the annotation group declaration or reference for. - - - - Writes the metadata properties for an entry which can only occur at the start. - - The entry state for which to write the metadata properties. - - - - Writes the metadata properties for an entry which can occur both at the start or at the end. - - The entry state for which to write the metadata properties. - - This method will only write properties which were not written yet. - - - - - Writes the metadata properties for an entry which can only occur at the end. - - The entry state for which to write the metadata properties. - The duplicate names checker for properties of this entry. - - - - Writes the navigation link metadata. - - The navigation link to write the metadata for. - The checker instance for duplicate property names. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - true when writing the entry's actions; false when writing the entry's functions. - - - - Tries to writes the metadata URI property for an entry into the payload if one is available. - - The context object to answer basic questions regarding the type of the entry. - - - - Tries to writes the metadata URI property for a feed into the payload if one is available. - - The context object to answer basic questions regarding the type of the feed. - - - - Writes an association link property annotation. - - The name of the navigation property for which to write the association link. - The association link URL to write. - - - - Gets the metadata reference fragment from the operation metadata uri. - i.e. if the operation metadata uri is {absolute metadata document uri}#{container-qualified-operation-name}, - this method will return #{container-qualified-operation-name}. - - Operation in question. - The metadata reference fragment from the operation metadata uri. - - - - Returns the target uri string from the given operation. - - Operation in question. - Returns the target uri string from the given operation. - - - - Validates a group of operations with the same Metadata Uri. - - Operations to validate. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Gets the base Uri of the metadata document uri, if it has been set. - - - - - OData JsonLight deserializer for errors. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.None - The reader must not have been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a top-level error. - - An representing the read error. - - Pre-Condition: JsonNodeType.Property - The first property of the top level object. - JsonNodeType.EndObject - If there are no properties in the top level object. - any - Will throw if anything else. - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads all the properties in a single JSON object scope, calling for each non-annotation property encountered. - - - An action which takes the name of the current property and processes the property value as necessary. - At the start of this action, the reader is positioned at the property value node. - The action should leave the reader positioned on the node after the property value. - - - - This method should only be used for scopes where we allow (and ignore) annotations in a custom namespace, i.e. scopes which directly correspond to a class in the OM. - - Pre-Condition: JsonNodeType.StartObject - The start of the JSON object being processed. - any - Will throw if not StartObject. - Post-Condition: any - The node after the EndObject node for the JSON object being processed. - - - - - Reads a value of property annotation on an error payload. - - The name of the property annotation to read. - The value of the property annotation. - - This method should read the property annotation value and return a representation of the value which will be later - consumed by the entry reading code, or throw if ther is something unexpected. - - Pre-Condition: JsonNodeType.PrimitiveValue The value of the property annotation property - JsonNodeType.StartObject - JsonNodeType.StartArray - Post-Condition: JsonNodeType.EndObject The end of the error object - JsonNodeType.Property The next property after the property annotation - - - - - Reads the JSON object which is the value of the "odata.error" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "odata.error" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "odata.error" object's EndNode. - - - - - Reads the JSON object which is the value of the "message" property. - - The object to update with data from the payload. - - Pre-Condition: JsonNodeType.StartObject - The start of the "message" object. - any - Will throw if not StartObject. - Post-Condition: any - The node after the "message" object's EndNode. - - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: JsonNodeType.StartObject - The start of the "innererror" object. - any - will throw if not StartObject. - Post-Condition: any - The node after the "innererror" object's EndNode. - - - - - Reads a property value which occurs in the "innererror" object scope. - - The number of parent inner errors for this inner error. - The object to update with the data from this property value. - The name of the property whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "innererror" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "odata.error" object scope. - - The object to update with the data from this property value. - The name of the property whose value is to be read. - DuplicatePropertyNamesChecker to use for extracting property annotations - targetting any custom instance annotations on the error. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "odata.error" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - Reads a property value which occurs in the "message" object scope. - - The object to update with the data from this property value. - The name of the propety whose value is to be read. - - Pre-Condition: any - The value of the property being read. - Post-Condition: JsonNodeType.Property - The property after the one being read. - JsonNodeType.EndObject - The end of the "message" object. - any - Anything else after the property value is an invalid payload (but won't fail in this method). - - - - - The JsonLight OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - The message being read. - true if reading a response message; otherwise false. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Implementation of the OData input for JsonLight OData format. - - - - - Base class for all input contexts, defines the interface - to be implemented by the specific formats. - - - - The format for this input context. - - - The message reader settings to be used for reading. - - - The protocol version to use when reading the payload. - - - Set to true if this context is reading a response payload. - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The model to use. - - - The type resolver to use. - - - Set to true if the input was disposed. - - - - Constructor. - - The format for this input context. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - IDisposable.Dispose() implementation to cleanup unmanaged resources of the context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - The newly created . - - - - Create a . - - The batch boundary to use. - The newly created . - - Since we don't want to support batch format extensibility (at least not yet) this method should remain internal. - - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Read the property from the input and - return an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Read a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Read a top-level value. - - The expected type reference for the value to be read; null if no expected type is available. - An representing the read value. - - - - Check if the object has been disposed. - - If the object has already been disposed. - - - - Asserts that the input context was created for synchronous operation. - - - - - Asserts that the input context was created for asynchronous operation. - - - - - Creates a new instance of a duplicate property names checker. - - The newly created instance of duplicate property names checker. - - - - Method to use the custom URL resolver to resolve a base URI and a payload URI. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Disposes the input context. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Creates an exception which reports that the specified payload kind if not support by this format. - - The payload kind which is not supported. - An exception to throw. - - - - The message reader settings to be used for reading. - - - - - The version of the OData protocol to use. - - - - - Set to true if a response is being read. - - - - - true if the input should be read synchronously; false if it should be read asynchronously. - - - - - The model to use or null if no metadata is available. - - - - - The type resolver to use. - - - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - - true if the WCF DS client compatibility format behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility format behavior should be used; otherwise false. - - - - - true if the default format behavior should be used; otherwise false. - - - - - true if the WCF DS client compatibility API behavior should be used; otherwise false. - - - - - true if the WCF DS server compatibility API behavior should be used; otherwise false. - - - - - true if the default API behavior should be used; otherwise false. - - - - JSON Light specific state stored during payload kind detection. - - - The text reader created for the input stream. - - The ODataJsonLightInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The content type of the message to read. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - Constructor. - The format for this input context. - The reader to use. - The content type of the message to read. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - JSON Ligth specific state stored during payload kind detection (or null if no payload kind detection happened). - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Verifies that CreateEntryReader or CreateFeedReader can be called. - - The entity set we are going to read entities for. - The expected entity type for the entry/entries to be read. - - - - Verifies that CreateCollectionReader can be called. - - The expected type reference for the items in the collection. - - - - Verifies that ReadEntityReferenceLink can be called. - - The navigation property for which to read the entity reference link. - - - - Verifies that ReadProperty can be called. - - - - - Verifies that DetectPayloadKind can be called. - - - - - Verifies that a user model is available for reading. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Returns the which is to be used to read the content of the message. - - - - - JSON Light specific state stored during payload kind detection. - - - - - JsonLight format output context. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The specific media type being written. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Creates a metadata uri builder for the current output context. - - The metadata uri builder to use when writing. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - The json metadata level (i.e., fullmetadata, nometadata, minimalmetadata) being written. - - - - - OData parameter reader for the Json Light format. - - - - The input to read the payload from. - - - The parameter deserializer to read the parameter input with. - - - The duplicate property names checker to use for the parameter payload. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - Pre-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - Post-Condition: Any: the reader should be on the start array node of the collection value; if it is not we let the collection reader fail. - NOTE: this method does not move the reader. - - - - - ODataParameterWriter for the JsonLight format. - - - - - Base class for OData parameter writers that verifies a proper sequence of write calls on the writer. - - - - Base class for OData collection writers. - - - Start writing a parameter payload. - - - Start writing a value parameter. - The name of the parameter to write. - The value of the parameter to write. - - - Creates an to write the value of a collection parameter. - The newly created . - The name of the collection parameter to write. - - - Finish writing a parameter payload. - - - Flushes the write buffer to the underlying stream. - - - The output context to write to. - - - The function import whose parameters will be written. - - - Stack of writer scopes to keep track of the current context of the writer. - - - Parameter names that have already been written, used to detect duplicate writes on a parameter. - - - Checker to detect duplicate property names on complex parameter values. - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Flushes the write buffer to the underlying stream. - - - - - Start writing a parameter payload. - - - - - Start writing a value parameter. - - The name of the parameter to write. - The value of the parameter to write. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The newly created . - - - - Finish writing a parameter payload. - - - - - This method notifies the implementer of this interface that the created reader is in Exception state. - - - - - This method notifies the implementer of this interface that the created reader is in Completed state. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Writes a value parameter (either primitive or complex). - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Finish writing an OData payload. - - - - - Verifies that calling WriteStart is valid. - - true if the call is to be synchronous; false otherwise. - - - - Start writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the parameter with name can be written and returns the - type reference of the parameter. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling WriteValue is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The value of the parameter to write. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Verify that calling CreateCollectionWriter is valid. - - true if the call is to be synchronous; false otherwise. - The name of the parameter to be written. - The expected item type of the items in the collection or null if no item type is available. - - - - Gets the type reference of the parameter in question. Returns null if no function import was specified to the writer. - - The name of the parameter in question. - The type reference of the parameter; null if no function import was specified to the writer. - - - - Write a value parameter - implementation of the actual functionality. - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates an to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Verifies that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - If an is specified, then this method ensures that all parameters present in the - function import are written to the payload. - - The binding parameter is optional in the payload. Hence this method will not check for missing binding parameter. - - - - Finish writing a parameter payload - implementation of the actual functionality. - - - - - Verifies that the current state is not Error or Completed. - - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Catch any exception thrown by the function passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The return type of . - The function to execute. - Returns the return value from executing . - - - - Enters the Error scope if we are not already in Error state. - - - - - Verifies that the transition from the current state into new state is valid and enter a new writer scope. - - The writer state to transition into. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Start' scope with a 'Completed' scope. - - Note that this method is never called once the writer is in 'Error' state. - - - - Replaces the current scope with a new scope; checks that the transition is valid. - - The new state to transition into. - - - - Verify that the transition from the current state into new state is valid. - - The new writer state to transition into. - - - Checker to detect duplicate property names on complex parameter values. - - - - The current state of the writer. - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - - The writer is in a state where the next parameter can be written. - The writer enters this state after WriteStart() or after the previous parameter is written. - - - - One of the create writer method has been called and the created sub writer is not in Completed state. - - - The writer has completed; nothing can be written anymore. - - - An error had occured while writing the payload; nothing can be written anymore. - - - - The output context to write to. - - - - - The JsonLight property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - OData JsonLight deserializer for detecting the payload kind of a JsonLight payload. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects the payload kind(s). - - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - OData reader for the JsonLight format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - The scope associated with the top level of this payload. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Implementation of the reader logic when in state 'Start'. - - The duplicate property names checker to use for the top-level scope. - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property if the feed has further instance or property annotations after the feed property - JsonNodeType.EndObject if the feed has no further instance or property annotations after the feed property - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject Start of the expanded entry of the navigation link to read next. - JsonNodeType.StartArray Start of the expanded feed of the navigation link to read next. - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next. - JsonNodeType.Property The next property after a deferred link or entity reference link - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject start of an expanded entry - JsonNodeType.StartArray start of an expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - Post-Condition: JsonNodeType.StartArray: start of expanded entry - JsonNodeType.StartObject start of expanded feed - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry or - reporting projected navigation links missing in the payload - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: navigation link is last property in owning entry or - reporting projected navigation links missing in the payload - JsonNodeType.Property: there are more properties after the navigation link in the owning entry - Post-Condition: JsonNodeType.StartObject start of the expanded entry navigation link to read next - JsonNodeType.StartArray start of the expanded feed navigation link to read next - JsonNoteType.Primitive (null) expanded null entry navigation link to read next - JsonNoteType.Property property after deferred link or entity reference link - JsonNodeType.EndObject end of the parent entry - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of the JSON array for the content of the feed and sets up the reader state correctly. - - The feed to read the contents for. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: The first node of the feed property value; this method will throw if the node is not - JsonNodeType.StartArray - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the end of the current feed. - - - - - Reads the start of an expanded entry (null or non-null). - - The navigation link that is being expanded. - - Pre-Condition: JsonNodeType.StartObject The start of the entry object - JsonNodeType.PrimitiveValue (null) The null entry value - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next, or the null value of the current null entry - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the start of an entry and sets up the reader state correctly - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - Pre-Condition: JsonNodeType.StartObject If the entry is in a feed - the start of the entry object - JsonNodeType.Property If the entry is a top-level entry and has at least one property - JsonNodeType.EndObject If the entry is a top-level entry and has no properties - Post-Condition: JsonNodeType.StartObject Start of expanded entry of the navigation link to read next - JsonNodeType.StartArray Start of expanded feed of the navigation link to read next - JsonNodeType.PrimitiveValue (null) Expanded null entry of the navigation link to read next - JsonNodeType.Property Property after deferred link or expanded entity reference - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Reads the next item in a navigation link content in a request payload. - - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - The duplicate property names checker to use for the entry; - or null if a new one should be created. - The selected properties node capturing what properties should be expanded during template evaluation. - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link info for the navigation link to start. - - - - Replaces the current scope with a new scope with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonLightFeedScope - - - - - Returns current scope cast to JsonLightNavigationLinkScope - - - - - A reader top-level scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type of the top-level entry or entries in the top-level feed. - In all cases the specified type must be an entity type. - - - - The duplicate property names checker for the top level scope represented by the current state. - - - - - A reader entry scope; keeping track of the current reader state and an item associated with this state. - - - - The set of names of the navigation properties we have read so far while reading the entry. - - - - Constructor creating a new reader scope. - - The reader state of the new scope that is being created. - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The duplicate property names checker for this entry scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - In all cases the specified type must be an entity type. - - - - The metadata builder instance for the entry. - - - - - Flag which indicates that during parsing of the entry represented by this state, - any property which is not an instance annotation was found. This includes property annotations - for property which is not present in the payload. - - - This is used to detect incorrect ordering of the payload (for example odata.id must not come after the first property). - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link info in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The selected properties that should be expanded during template evaluation. - - - - - The set of names of the navigation properties we have read so far while reading the entry. - true if we have started processing missing projected navigation links, false otherwise. - - - - - true if we have started processing missing projected navigation links, false otherwise. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - A reader feed scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The item attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The selected properties node capturing what properties should be expanded during template evaluation. - The has the following meaning - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - In all cases the specified type must be an entity type. - - - - The selected properties that should be expanded during template evaluation. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Constructor creating a new reader scope. - - The navigation link info attached to this scope. - The entity set we are going to read entities for. - The expected type for the scope. - The has the following meaning - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - The navigation link info for the navigation link to report. - This is only used on a StartNavigationLink scope in responses. - - - - - Helper methods used by the OData reader for the JsonLight format. - - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Determines if the specified is an OData annotation property name. - - The property name to test. - true if the property name is an OData annotation property name, false otherwise. - - - - Determines if the specified property name is a name of an annotation property. - - The name of the property. - true if is a name of an annotation property, false otherwise. - - This method returns true both for normal annotation as well as property annotations. - - - - - Validates that the annotation string value is valid. - - The value of the annotation. - The name of the (instance or property) annotation (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JsonLight. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - Object which is in sync with the property type. - - - - OData JsonLight deserializer for service documents. - - - - - Constructor. - - The JsonLight input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: JsonNodeType.EndOfInput - - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - The duplicate property names checker to use for the top-level scope. - An representing the read service document. - - Pre-Condition: JsonNodeType.Property The property right after the metadata URI property. - JsonNodeType.EndObject The EndObject of the service document. - Post-Condition: Any The node after the EndObject of the service document. - - - - - Reads a resource collection within a service document. - - The to use for parsing annotations within the resource collection object. - A representing the read resource collection. - - Pre-Condition: JsonNodeType.StartObject: The beginning of the JSON object representing the resource collection. - other: Will throw with an appropriate message on any other node type encountered. - Post-Condition: JsonNodeType.StartObject: The beginning of the next resource collection in the array. - JsonNodeType.EndArray: The end of the array. - other: Any other node type occuring after the end object of the current resource collection. (Would be invalid). - - - - - OData JsonLight serializer for service documents. - - - - The metadata uri builder to use. - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JsonLight format. - - The default workspace to write in the service document. - - - - Implementation of the ODataWriter for the JsonLight format. - - - - - Base class for OData writers that verifies a proper sequence of write calls on the writer. - - - - - Base class for OData writers. - - - - Starts the writing of a feed. - The feed or collection to write. - - - Starts the writing of an entry. - The entry or item to write. - - - Starts the writing of a navigation link. - The navigation link to write. - - - Finishes the writing of a feed, an entry, or a navigation link. - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - Flushes the write buffer to the underlying stream. - - - The output context to write to. - - - True if the writer was created for writing a feed; false when it was created for writing an entry. - - - Stack of writer scopes to keep track of the current context of the writer. - - - - The to use for entries in this feed. - Only applies when writing a top-level feed; otherwise null. - - - - The number of entries which have been started but not yet ended. - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Flushes the write buffer to the underlying stream. - - - - - Start writing a feed. - - Feed/collection to write. - - - - Start writing an entry. - - Entry/item to write. - - - - Start writing a navigation link. - - Navigation link to write. - - - - Finish writing a feed/entry/navigation link. - - - - - Writes an entity reference link, which is used to represent binding to an existing resource in a request payload. - - The entity reference link to write. - - This method can only be called for writing request messages. The entity reference link must be surrounded - by a navigation link written through WriteStart/WriteEnd. - The will be ignored in that case and the Uri from the will be used - as the binding URL to be written. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Gets the projected properties annotation for the specified scope. - - The scope to get the projected properties annotation for. - The projected properties annotation for . - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing an OData payload. - - - - - Finish writing a feed. - - The feed to write. - - - - Write a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link into a navigation link content. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Gets the serialization info for the given entry. - - The entry to get the serialization info for. - The serialization info for the given entry. - - - - Creates a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created navigation link scope. - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Gets the type of the entry and validates it against the model. - - The entry to get the type for. - The validated entity type. - - - - Validates that the ODataFeed.DeltaLink is null for the given expanded feed. - - The expanded feed in question. - - - - Verifies that calling WriteStart feed is valid. - - true if the call is to be synchronous; false otherwise. - Feed/collection to write. - - - - Start writing a feed - implementation of the actual functionality. - - The feed to write. - - - - Verifies that calling WriteStart entry is valid. - - true if the call is to be synchronous; false otherwise. - Entry/item to write. - - - - Start writing an entry - implementation of the actual functionality. - - Entry/item to write. - - - - Verifies that calling WriteStart navigation link is valid. - - true if the call is to be synchronous; false otherwise. - Navigation link to write. - - - - Start writing a navigation link - implementation of the actual functionality. - - Navigation link to write. - - - - Verify that calling WriteEnd is valid. - - true if the call is to be synchronous; false otherwise. - - - - Finish writing a feed/entry/navigation link. - - - - - Marks the navigation currently being written as processed in the parent entity's metadata builder. - This is needed so that at the end of writing the entry we can query for all the unwritten navigation properties - defined on the entity type and write out their metadata in fullmetadata mode. - - The navigation link being written. - - - - Verifies that calling WriteEntityReferenceLink is valid. - - The entity reference link to write. - true if the call is to be synchronous; false otherwise. - - - - Write an entity reference link. - - The entity reference link to write. - - - - Verifies that calling Flush is valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Enters the 'ExceptionThrown' state and then throws an ODataException with the specified error message. - - The error message for the exception. - The OData item to associate with the 'ExceptionThrown' state. - - - - Checks whether we are currently writing the first top-level element; if so call StartPayload - - - - - Checks whether we are currently writing a navigation link and switches to NavigationLinkWithContent state if we do. - - - What kind of payload kind is being written as the content of a navigation link. - Only Feed, Entry or EntityRefernceLink are allowed. - - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Increments the nested entry count by one and fails if the new value exceeds the maxiumum nested entry depth limit. - - - - - Decrements the nested entry count by one. - - - - - Enter a new writer scope; verifies that the transition from the current state into new state is valid - and attaches the item to the new scope. - - The writer state to transition into. - The item to associate with the new scope. - - - - Leave the current writer scope and return to the previous scope. - When reaching the top-level replace the 'Started' scope with a 'Completed' scope. - - Note that this method is never called once an error has been written or a fatal exception has been thrown. - - - - Promotes the current navigation link scope to a navigation link scope with content. - - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Create a new writer scope. - - The writer state of the scope to create. - The item attached to the scope to create. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - The current scope for the writer. - - - - - The current state of the writer. - - - - - true if the writer should not write any input specified and should just skip it. - - - - - A flag indicating whether the writer is at the top level. - - - - - Returns the immediate parent link which is being expanded, or null if no such link exists - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the entity type of the immediate parent entry for which a navigation link is being written. - - - - - Returns the number of entries seen so far on the current feed scope. - - Can only be accessed on a feed scope. - - - - Checker to detect duplicate property names. - - - - - The entity type of the current entry. - - - - - Returns the parent navigation link scope of an entry in an expanded link (if it exists). - The entry can either be the content of the expanded link directly or nested inside a feed. - - The parent navigation scope of an entry in an expanded link (if it exists). - - - - Validator to validate consistency of collection items (or null if no such validator applies to the current scope). - - - - - An enumeration representing the current state of the writer. - - - - The writer is at the start; nothing has been written yet. - - - The writer is currently writing an entry. - - - The writer is currently writing a feed. - - - The writer is currently writing a navigation link (possibly an expanded link but we don't know yet). - - This state is used when a navigation link was started but we didn't see any children for it yet. - - - - The writer is currently writing a navigation link with content. - - This state is used when a navigation link with either an entity reference link or expanded feed/entry was written. - - - - The writer has completed; nothing can be written anymore. - - - The writer is in error state; nothing can be written anymore. - - - - Lightweight wrapper for the stack of scopes which exposes a few helper properties for getting parent scopes. - - - - - Use a list to store the scopes instead of a true stack so that parent/grandparent lookups will be fast. - - - - - Initializes a new instance of the class. - - - - - Pushes the specified scope onto the stack. - - The scope. - - - - Pops the current scope off the stack. - - The popped scope. - - - - Peeks at the current scope on the top of the stack. - - The current scope at the top of the stack. - - - - Gets the count of items in the stack. - - - - - Gets the scope below the current scope on top of the stack. - - - - - Gets the scope below the parent of the current scope on top of the stack. - - - - - Gets the scope below the current scope on top of the stack or null if there is only one item on the stack or the stack is empty. - - - - - A writer scope; keeping track of the current writer state and an item associated with this state. - - - - The writer state of this scope. - - - The item attached to this scope. - - - Set to true if the content of the scope should not be written. - This is used when writing navigation links which were not projected on the owning entry. - - - The selected properties for the current scope. - - - The entity set we are going to write entities for. - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - Constructor creating a new writer scope. - - The writer state of this scope. - The item attached to this scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of this scope should not be written. - The selected properties of this scope. - - - - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - - - The writer state of this scope. - - - - - The item attached to this scope. - - - - The entity set we are going to write entities for. - - - The selected properties for the current scope. - - - - Set to true if the content of this scope should not be written. - - - - - A scope for an feed. - - - - The serialization info for the current feed. - - - The number of entries in this feed seen so far. - - - Maintains the write status for each annotation using its key. - - - The type context to answer basic questions regarding the type info of the entry. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The number of entries in this feed seen so far. - - - - - Tracks the write status of the annotations. - - - - - A scope for an entry. - - - - Checker to detect duplicate property names. - - - The serialization info for the current entry. - - - The value from ODataEntry.TypeName. - - - The entity type which was derived from the model (may be either the same as entity type or its base type. - - - The type context to answer basic questions regarding the type info of the entry. - - - Maintains the write status for each annotation using its key. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Gets or creates the type context to answer basic questions regarding the type info of the entry. - - The Edm model to use. - True if writing a response payload, false otherwise. - The type context to answer basic questions regarding the type info of the entry. - - - - The entity type which was derived from the model, i.e. the expected entity type, which may be either the same as entity type or its base type. - For example, if we are writing a feed of Customers and the current entry is of DerivedCustomer, this.EntityTypeFromMetadata would be Customer and this.EntityType would be DerivedCustomer. - - - - - The serialization info for the current entry. - - - - - Checker to detect duplicate property names. - - - - - Tracks the write status of the annotations. - - - - - A scope for a navigation link. - - - - - Constructor to create a new navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this navigation link scope and sets a new writer state. - - The to set. - The cloned navigation link scope with the specified writer state. - - - - The output context to write to. - - - - - The JsonLight entry and feed serializer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Place where derived writers can perform custom steps before the entry is writen, at the begining of WriteStartEntryImplementation. - - Entry to write. - The context object to answer basic questions regarding the type of the entry or feed. - The selected properties of this scope. - - - - Validates the media resource on the entry. - - The entry to validate. - The entity type of the entry. - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Creates a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly created JSON Light navigation link scope. - - - - Writes the odata.count annotation for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.nextLink annotation for a feed if it has not been written yet (and the next link is specified on the feed). - - The feed to write the next link for. - The name of the expanded nav property or null for a top-level feed. - - - - Writes the odata.deltaLink annotation for a feed if it has not been written yet (and the delta link is specified on the feed). - - The feed to write the delta link for. - - - - Validates that the ODataFeed.InstanceAnnotations collection is empty for the given expanded feed. - - The expanded feed in question. - - - - Returns the current JsonLightEntryScope. - - - - - Returns the current JsonLightFeedScope. - - - - - A scope for a JSON lite feed. - - - - true if the odata.count was already written, false otherwise. - - - true if the odata.nextLink was already written, false otherwise. - - - true if the odata.deltaLink was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the odata.count annotation was already written, false otherwise. - - - - - true if the odata.nextLink annotation was already written, false otherwise. - - - - - true if the odata.deltaLink annotation was already written, false otherwise. - - - - - A scope for an entry in JSON Light writer. - - - - Bit field of the JSON Light metadata properties written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The metadta property which was written. - - - - Determines if the was already written for this entry scope. - - The metadata property to test for. - true if the was already written for this entry scope; false otherwise. - - - - The entry being written. - - - - - Flag which indicates that the odata.editLink metadata property has been written. - - - - - Flag which indicates that the odata.readLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaEditLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaReadLink metadata property has been written. - - - - - Flag which indicates that the odata.mediaContentType metadata property has been written. - - - - - Flag which indicates that the odata.mediaETag metadata property has been written. - - - - - Enumeration of JSON Light metadata property flags, used to keep track of which properties were already written. - - - - The odata.editLink property. - - - The odata.readLink property. - - - The odata.mediaEditLink property. - - - The odata.mediaReadLink property. - - - The odata.mediaContentType property. - - - The odata.mediaETag property. - - - - A scope for a JSON Light navigation link. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - Constructor to create a new JSON Light navigation link scope. - - The writer state for the new scope. - The navigation link for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - Clones this JSON Light navigation link scope and sets a new writer state. - - The writer state to set. - The cloned navigation link scope with the specified writer state. - - - - true if we have already written an entity reference link for this navigation link in requests; otherwise false. - - - - - true if we have written at least one feed for this navigation link in requests; otherwise false. - - - - - Helper methods used by the OData writer for the JsonLight format. - - - - - Writes the odata.type instance annotation with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Writes the odata.type propert annotation for the specified property with the specified type name. - - The JSON writer to write to. - The name of the property for which to write the odata.type annotation. - The type name to write. - - - - Writes the 'value' property name. - - The JSON writer to write to. - - - - Write a JSON property name which represents a property annotation. - - The JSON writer to write to. - The name of the property to annotate. - The name of the annotation to write. - - - - Enumeration describing the various serialization formats for dates in JSON - - - - - Represents a DateTime value in the OData format of \/Date(ticksrepresentingdatetime)\/ - - - - - Represents a DateTime value in the ISO 8601 format of YYYY-MM-DDThh:mm:ss.sTZD eg 1997-07-16T19:20:30.45+01:00 - - - - - Class with the responsibility of resolving media types (MIME types) into formats and payload kinds. - - - - application/atom+xml media type - - - application/xml media type - - - text/xml media type - - - application/json media type - - - application/json;odata=verbose media type - - - - An array that maps stores the supported media types for all . - - - The set of supported media types is ordered (desc) by their precedence/priority with respect to (1) format and (2) media type. - As a result the default media type for a given payloadKind is the first entry in the MediaTypeWithFormat array. - - - - Cache for MediaTypeResolvers for each version. - - - - The version the media type resolver is used with. - - - - - Array of supported media types and formats for each payload kind. - The index into the array matches the order of the ODataPayloadKind enum. - - - - - The set of payload kinds which are supported for the JSON formats. - - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - - - - Creates a new media type resolver for writers with the mappings for the specified version. - - The version used to write the payload. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Creates a new media type resolver for readers with the mappings for the specified version and behavior kind. - - The version used to read the payload. - The format behavior kind used. - A new media type resolver for readers with the mappings for the specified version and behavior kind. - - - - Gets the supported media types and formats for the given payload kind. - - The payload kind to get media types for. - An array of media type / format pairs, sorted by priority. - - - - Checks for an illegal media type that cannot be caught during content negotiation/resolution - since it would match an unsupported media type. - - The parsed media type to check. - true if the media type is illegal (and we should fail); otherwise false. - - - - Clones the default media types. - - The cloned media type table. - - - - Inserts the specified media type before the first occurrence of . - - The media type list to insert into. - The media type to insert. - The format of the media type before which should be inserted. - - - - Configure the media type tables so that Json Light is the first JSON format in the table. - - - This is only used in V3 and beyond. - - - - - Adds the given media type/format for all the payload kinds which support JSON. - - The media type/format pair to add. - - - - Inserts the given media type/format for all the payload kinds which support JSON before the first media type with the given format. - - The media type/format pair to add. - The format of the media type before which should be inserted. - - - - Additional media types per payload kind for the WCF DS client on pre-v3 payloads. - Anything that normally accepts application/atom+xml should also accept application/xml, and vice versa. - - - - - Accesses the default media type resolver. - - - - - A helper class to associate a with a media type. - - - - The media type. - - - - The for this media type. - - - - - A dictionary implementation with special key-matching semantics; it accepts case-insensitive matches - but prefers a case-sensitive one (if present). - - As an implementation choice we did not use a second dictionary to maintain a cache of case-insensitive - keys since we don't want to pay the price of an extra dictionary for cases where the looked up keys - match case sensitively (as per spec, should be the default case). - - - The backing dictionary using case-sensitive key comparison. - - - - Constructor. - - - - - Adds an element with the provided key and value to the dictionary. - - The object to use as the key of the element to add. - The object to use as the value of the element to add. - - - - Determines whether the dictionary contains an element with the specified key using case-sensitive comparison. - - The key to locate in the dictionary. - true if the dictionary contains an element with the ; otherwise, false. - This method will only try to match the key using case-sensitive comparison. - - - - Removes the entry with the specified from the headers. - - The key of the item to remove. - true if the item with the specified was removed; otherwise false. - - - - Gets the value associated with the specified key. - - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; - otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized. - true if the dictionary contains an element with the specified key; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Returns an enumerator that iterates through the collection. - - An enumerator that can be used to iterate through the collection. - - - - Finds in the case sensitive dictionary ignoring the case for comparison. - - The key to find. - The key from the case sensitive dictionary that matched the or null if no match was found. - This method throws if multiple case insensitive matches for the specified exist. - - - - Gets or sets the element with the specified key. - - The key of the element to get or set. - The element with the specified key. - - - - Factory class for the various wrapper streams around the actual message stream. - - - - - Creates a non-disposing stream. - - The inner to wrap. - A stream wrapping the that ignores calls to Dispose. - - - - Creates a stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that - enforces the maximum number of bytes to be read from the stream. - - - - Creates a non-disposing stream with a given maximum size. - - The inner to wrap. - The maximum number of bytes to be read from the . - A stream wrapping the that ignores calls to Dispose and - enforces the maximum number of bytes to be read from the stream. - - - - Checks whether the provided stream already ignores calls to Dispose. - - The to check. - true if the ignores calls to Dispose; otherwise false. - - - - Stream wrapper that supports counting the total number of bytes read from the stream and ensures - that they don't exceed a specified maximum (used for security purposes) and ignoring calls - to Dispose if the underlying stream should not be disposed. - - - - The maximum number of bytes to be read from the stream before reporting an error. - - - true to not dispose the inner stream when Dispose is called; otherwise false. - - - Stream that is being wrapped. - - - The total number of bytes read from the stream so far. - - - - Constructs an instance of the byte counting stream wrapper class. - - Stream that is being wrapped. - true if calls to Dispose should be ignored; otherwise false. - The maximum number of bytes to be read from the stream before reporting an error. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Dispose this wrapping stream and the underlying stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Increases the number of total bytes read from the stream. - - The number of bytes read from the stream during the last read operation. - Since we don't own the underlying stream we also have to prepare for streams returning < 0 bytes read. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - true if the wrapping stream ignores calls to Dispose; otherwise false. - - - - OData Verbose JSON deserializer for detecting the payload kind of a JSON payload. - - - - - OData Verbose JSON deserializer for properties and value types. - - - - - Base class for all OData Verbose JSON deserializers. - - - - The JSON input context to use for reading. - - - - Constructor. - - The JSON input context to read from. - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Read the start of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the payload (this can be the first node or the value of the 'd' property node) - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Reads the end of the top-level data wrapper in JSON responses. - - true if we are deserializing a nested payload, e.g. an entry, a feed or a collection within a parameters payload. - true if the response "d" wrapper should be in the payload, false otherwise. - - Pre-Condition: any node: when reading response or a nested payload, will fail if find anything else then EndObject. - JsonNodeType.EndOfInput: otherwise - Post-Condition: JsonNodeType.EndOfInput - - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - true if the payload URI needs to be translated into an absolute URI; otherwise false. - An absolute URI to report. - - - - Asserts that the JSON reader is positioned on one of the specified node types. - - The node types which should appear at this point. - - - - Returns the which is to be used to read the content of the message. - - - - - The Verbose Json input context to use for reading. - - - - - The current recursion depth of values read by this deserializer, measured by the number of complex, collection, JSON object and JSON array values read so far. - - - - - Constructor. - - The JSON input context to read from. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Reads an entry, complex or collection content in buffering mode until it finds the type name in the __metadata object - or hits the end of the object. If called for a primitive value, returns 'null' (since primitive types cannot have - type names in JSON) - - The type name as read from the __metadata object; null if none was found. - - This method does not move the reader. - Pre-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - Post-Condition: JsonNodeType.PrimitiveValue A primitive value - JsonNodeType.StartObject Any non-primitive value - - - - - Reads a primitive value, complex value or collection. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Reads the type name from the value of a __metadata property. All other properties in the __metadata property value are ignored. - - The type name found, or null if none was found. - - This method can be used in buffering and non-buffering mode. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: JsonNodeType.Property - the next property after the __metadata property value. - JsonNodeType.EndObject - if the __metadata property was the last property in the object. - - - - - Reads a primitive value. - - The expected type reference of the value. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - The value of the primitive value. - - Pre-Condition: none - Fails if the current node is not a JsonNodeType.PrimitiveValue - Post-Condition: almost anything - the node after the primitive value. - - Made internal only for testability. - - - - - Reads a collection value. - - The collection type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The value of the collection. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the collection value (after the EndObject) - - - - - Reads a complex value. - - The expected type reference of the value. - The type name read from the payload. - The serialization type name for the collection value (possibly null). - The duplicate property names checker to use - if null the method should create a new one if necessary. - The value of the complex value. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject or JsonNodeType.PrimitiveValue (with null value) - Post-Condition: almost anything - the node after the complex value (after the EndObject) - - - - - Reads a primitive, complex or collection value. - - The expected type reference of the property value. - The duplicate property names checker to use - if null the method should create a new one if necessary. - The collection validator instance if no expected item type has been specified; otherwise null. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable. - The value of the property read. - - Pre-Condition: JsonNodeType.PrimitiveValue - the value of the property is a primitive value - JsonNodeType.StartObject - the value of the property is an object - JsonNodeType.StartArray - the value of the property is an array - method will fail in this case. - Post-Condition: almost anything - the node after the property value. - - Returns the value of the property read, which can be one of: - - null - - primitive value - - - - - - - - - Determines the value kind for a non-entity value (that is top-level property value, property value on a complex type, item in a collection) - - The type kind of the property value. - - Doesn't move the JSON reader. - Pre-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue - JsonNodeType.StartObject - - - - - Determines if the top-level property payload should be read as usual, or without the property wrapper. - - The expected type reference for the property value to read. - true if the property payload should be read without the property wrapper, false if it should be read as usual with the property wrapper. - This method is to support backward compat behavior for WCF DS Server, which can read open property values without property wrapper. - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - The set of detected payload kinds. - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Detects the payload kind(s). - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Detects whether a JSON payload where the current node is a start array node represents - a feed, a set of entity reference links, a collection or a combination of them. - - true if the array is a top-level array; if it is a property value false. - - This method does not move the reader. - Pre-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - Post-Condition: JsonNodeType.StartArray The StartArray node of the feed or entity reference links array (if at the top-level) - - - - - Read the value of the __metadata property and compute the payload kind based on the type name. - - This method checks whether it can determine the type kind from the type name; if we - find a primitive or collection type we set the result to empty since such payloads are not supported. - Otherwise we'll treat the payload as an entry since top-level complex values are not supported either. - Pre-Condition: Any The first node of the __metadata property value - Post-Condition: Property or EndObject This method reads the entire value of the __metadata object and positions - the reader on the next property or on the EndObject node if this is the last property. - - - - - Process the array value of an 'EntitySets' property to determine whether it should be treated as service document payload. - - - This method does not move the Json reader. - Pre-Condition: StartArray The start of the array value of the 'EntitySets' property - Post-Condition: StartArray The start of the array value of the 'EntitySets' property - - - - - Adds the set of specified payload kinds to the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to add. - - - - Removes the set of specified payload kinds from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The payload kinds to remove. - - - - Adds or removes the set of specified payload kinds to/from the detected payload kinds (if the specified - payload kinds are valid for the current request/response). - - The function that implements the 'Add' or 'Remove' action. - The payload kinds to add/remove. - - - Quotas to use for limiting resource consumption when reading or writing OData messages. - - - The maximum number of top level query operations and changesets allowed in a single batch. - - - The maximum number of operations allowed in a single changeset. - - - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - The maximum number of bytes that should be read from the message. - - - The maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The instance to copy. - - - Gets or sets the maximum number of top level query operations and changesets allowed in a single batch. - The maximum number of top level query operations and changesets allowed in a single batch. - - - Gets or sets the maximum number of operations allowed in a single changeset. - The maximum number of operations allowed in a single changeset. - - - Gets or sets the maximum depth of nesting allowed when reading or writing recursive payloads. - The maximum depth of nesting allowed when reading or writing recursive payloads. - - - Gets or sets the maximum number of bytes that should be read from the message. - The maximum number of bytes that should be read from the message. - - - Gets or sets the maximum number of entity mapping attributes to be found for an entity type (on the type itself and all its base types). - The maximum number of entity mapping attributes to be found for an entity type. - - - - Represents the set of information available for payload kind detection. - - This class is used to represent the input to run payload kind detection using - . See the documentation of that method for more - information. - - - The parsed content type as . - - - The encoding specified in the charset parameter of contentType or the default encoding from MediaType. - - - The being used for reading the message. - - - The for the payload. - - - The possible payload kinds based on content type negotiation. - - - Format specific state created during payload kind detection for that format. - - This instance will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - Constructor. - - The parsed content type as . - The encoding from the content type or the default encoding from . - The being used for reading the message. - The for the payload. - The possible payload kinds based on content type negotiation. - - - - The encoding derived from the content type or the default encoding. - - The encoding derived from the content type or the default encoding. - - - - Sets a format specific state created during payload kind detection. - - A format specific state, the value is opaque to the message reader, it only stores the reference. - - The state will be stored on the message reader and passed to the format if it will be used - for actually reading the payload. - Format can store information which was already extracted from the payload during payload kind detection - and which it wants to avoid to recompute again during actual reading. - - - - - The being used for reading the message. - - - - - The for the payload. - - - - - The possible payload kinds based on content type negotiation. - - - - - The being used for reading the message. - - - - - The format specific payload kind detection state. - - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Represents the result of running payload kind detection for a specified payload kind and format. - This class is used to represent the result of running payload kind detection using - . See the documentation of that method for more - information. - - - The detected payload kind. - - - The format for the detected payload kind. - - - - Constructor. - - The detected payload kind. - The format for the detected payload kind. - - - Gets the detected payload kind. - The detected payload kind. - - - Gets the format for the detected payload kind. - The format for the detected payload kind. - - - - Helper class to verify that all items of a collection are of the same kind and type. - - This class is only used if no expected item type is specified for the collection; - otherwise all items are already validated against the expected item type. - - - - The base type for all entries in the feed. - - - - - Constructor. - - - - - Validates the type of an entry in a top-level feed. - - The type of the entry. - - - - OData ATOM serializer for ATOM metadata in a service document - - - - - Constructor. - - The output context to write to. - - - - Writes the ATOM metadata for a single workspace element. - - The workspace element to get the metadata for and write it. - - - - Writes the ATOM metadata for a single (resource) collection element. - - The collection element to get the metadata for and write it. - - - - OData ATOM serializer for service documents. - - - - - The serializer for service document ATOM metadata. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in ATOM/XML format. - - The default workspace to write in the service document. - - - - Extension methods for the JSON writer. - - - - - Writes the json object value to the . - - The to write to. - Writes the given json object value to the underlying json writer. - Called when the top-level object is started to possibly inject first property into the object. - The OData protocol version to be used for writing payloads. - - - - Writes a primitive value. - - The to write to. - The value to write. - The OData protocol version to be used for writing payloads. - - - - Writes the json array value. - - The to write to. - Writes the json array value to the underlying json writer. - The OData protocol version to be used for writing payloads. - - - - Writes the json value (primitive, IDictionary or IEnumerable) to the underlying json writer. - - The to write to. - value to write. - The OData protocol version to be used for writing payloads. - - - - OData Verbose JSON serializer for collections. - - - - - OData Verbose JSON serializer for properties and value types. - - - - - Base class for all OData Verbose JSON serializers. - - - - - The Verbose JSON output context to write to. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of the entire JSON payload. - - - - - Writes the start of the entire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Writes the end of the enitire JSON payload. - - - - - Writes the end of the enitire JSON payload. - - When set to true the "d" response wrapper won't be written even in responses - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - - - - Helper method to write the data wrapper around a JSON payload. - - The action that writes the actual JSON payload that is being wrapped. - When set to true the "d" response wrapper won't be written even in responses - - - - Write a top-level error message. - - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - - - - Converts the specified URI into an absolute URI. - - The uri to process. - An absolute URI which is either the specified if it was absolute, - or it's a combination of the BaseUri and the relative . - The return value is the string representation of the URI. - This method will fail if the specified is relative and there's no base URI available. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Returns the which is to be used to write the content of the message. - - - - - Returns the which is to be used to write the content of the message. - - - - - The current recursion depth of values written by this serializer. - - - - - Constructor. - - The output context to write to. - - - - Write an to the given stream. This method creates an - async buffered stream and writes the property to it. - - The property to write. - - - - Writes property names and value pairs. - - The of the entry (or null if not metadata is available). - The enumeration of properties to write out. - - Whether the properties are being written for complex value. Also used for detecting whether stream properties - are allowed as named stream properties should only be defined on ODataEntry instances - - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a primitive value. - Uses a registered primitive type converter to write the value if one is registered for the type, otherwise directly writes the value. - - The value to write. - The collection validator instance. - The expected type reference of the primitive value. - - - - Writes out the value of a complex property. - - The complex value to write. - The metadata type for the complex value. - true if the type name belongs to an open property. - The checker instance for duplicate property names. - The collection validator instance to validate the type names and type kinds of collection items; null if no validation is needed. - The current recursion depth should be a value, measured by the number of complex and collection values between - this complex value and the top-level payload, not including this one. - - - - Writes out the value of a collection property. - - The collection value to write. - The metadata type reference for the collection. - true if the type name belongs to an open property. - The current recursion depth is measured by the number of complex and collection values between - this one and the top-level payload, not including this one. - - - - Writes the metadata content for a media resource or a named stream - - The stream reference value for which to write the metadata - - - - Writes the etag property with the given string value. - - The name of the ETag, e.g. media_etag or etag - The value of the ETag - - - - Asserts that the current recursion depth of values is zero. This should be true on all calls into this class from outside of this class. - - - - - Writes a name/value pair for a property. - - The property to write out. - The of the entry or complex type containing the property (or null if not metadata is available). - Should pass in true if we are writing a property of an ODataEntry instance, false otherwise. - Named stream properties should only be defined on ODataEntry instances. - The checker instance for duplicate property names. - Set of projected properties, or null if all properties should be written. - - - - Writes a stream property value. - - The stream reference value to be written - - - - Increases the recursion depth of values by 1. This will throw if the recursion depth exceeds the current limit. - - - - - Decreases the recursion depth of values by 1. - - - - - Constructor. - - The output context to write to. - - - - Writes the start of a collection. - - - - - Writes the end of a collection. - - - - - OData Verbose JSON serializer for entity reference links. - - - - - Constructor. - - The output context to write to. - - - - Writes a single top-level Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - - - - Writes a single Uri in response to a $links query. - - The entity reference link to write out. - - - - Writes a set of links (Uris) in response to a $links query; includes optional count and next-page-link information. - - The set of entity reference links to write out. - true if the 'results' wrapper should be included into the payload; otherwise false. - - - - OData Verbose JSON serializer for entries and feeds. - - - - - Constructor. - - The output context to write to. - - - - Writes the __metadata property and its content for an entry - - The entry for which to write the metadata. - Set of projected properties, or null if all properties should be written. - The entity type of the entry to write. - The duplicate property names checker to use. - - - - Writes "actions" or "functions" metadata. - - The operations to write. - The name of the property used for the operations. - true when writing the entry's actions; false when writing the entry's functions. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the metadata content for an association link - - The association link to write. - The checker instance for duplicate property names. - - - - Writes a group of operation (all actions or all functions) that have the same "metadata". - - - Expects the actions or functions scope to already be open. - - A grouping of operations that are all actions or all functions and share the same "metadata". - - - - Writes an operation (an action or a function). - - - Expects the write to already have written the "rel value" and opened an array. - - The operation to write. - - - - Verbose JSON format output context. - - - - - The oracle to use to determine the type name to write for entries and values. - - - - - Constructor. - - The format for this output context. - The text writer to write to. - Configuration settings of the OData writer. - The model to use. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as message payload. - - The property to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - It is the responsibility of this method to flush the output before the method returns. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - It is the responsibility of this method to flush the output before the method returns. - - - - Creates an to write a feed. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - - Writes an in-stream error. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes an as message payload. - - The property to write. - - - - Writes a service document with the specified - as message payload. - - The default workspace to write in the service document. - - - - Writes an as the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - - - - Returns the oracle to use when determining the type name to write for entries and values. - - - - - OData Verbose JSON serializer for service documents. - - - - - Constructor. - - The output context to write to. - - - - Writes a service document in JSON format. - - The default workspace to write in the service document. - - - - Stream wrapper for the message stream to ignore the Stream.Dispose method so that readers/writers on top of - it can be disposed without affecting it. - - - - - Stream that is being wrapped. - - - - - Constructs an instance of the stream wrapper class. - - Stream that is being wrapped. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Begins a read operation from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The async callback. - The async state. - Async result representing the asynchornous operation. - - - - Ends a read operation from the stream. - - The async result representing the read operation. - The number of bytes actually read. - - - - Seeks the stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Begins an asynchronous write operation to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The async callback. - The async state. - Async result representing the write operation. - - - - Ends the asynchronous write operation. - - Async result representing the write operation. - - - - Determines if the stream can read. - - - - - Determines if the stream can seek. - - - - - Determines if the stream can write. - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. - - - - - RAW format output context. - - - - The message output stream. - - - The XmlWriter to write to. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Writes the metadata document as the message body. - - It is the responsibility of this method to flush the output before the method returns. - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - RAW format output context. Used by RAW values and batch. - - - - The encoding to use for the output. - - - The message output stream. - - - The asynchronous output stream if we're writing asynchronously. - - - The output stream to write to (both sync and async cases). - - - Listener to notify when writing in-stream errors. - - - RawValueWriter used to write actual values to the stream. - - - - Constructor. - - The format for this output context. - The message stream to write the payload to. - The encoding to use for the payload. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - true if the output should be written synchronously; false if it should be written asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - - Synchronously flush the writer. - - - - - Writes an into the message payload. - - The error to write. - - A flag indicating whether debug information (e.g., the inner error from the ) should - be included in the payload. This should only be used in debug scenarios. - - - This method is called if the ODataMessageWriter.WriteError is called once some other - write operation has already started. - The method should write the in-stream error representation for the specific format into the current payload. - Before the method is called no flush is performed on the output context or any active writer. - It is the responsibility of this method to flush the output before the method returns. - - - - - Creates an to write a batch of requests or responses. - - The boundary string for the batch structure itself. - The created batch writer. - We don't plan to make this public! - The write must flush the output when it's finished (inside the last Write call). - - - - Writes a single value as the message body. - - The value to write. - It is the responsibility of this method to flush the output before the method returns. - - - - Initialized a new text writer over the message payload stream. - - This can only be called if the text writer was not yet initialized or it has been closed. - It can be called several times with CloseWriter calls in between though. - - - - Closes the text writer. - - - - - Verifies the output context was not yet disposed, fails otherwise. - - - - - Flushes all buffered data to the underlying stream synchronously. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Writes a single value as the message body. - - The value to write. - Once the method returns all the data should be written, the only other call after this will be Dispose on the output context. - - - - Creates a batch writer. - - The boundary string for the batch structure itself. - The newly created batch writer. - - - - The output stream to write the payload to. - - - - - The text writer to use to write text into the payload. - - - InitializeRawValueWriter must be called before this is used. - - Also, within this class we should be using RawValueWriter for everything. Ideally we wouldn't leak the TextWriter out, but - the Batch writer needs it at the moment. - - - - Represents the behavior of readers when reading property with null value. - - - - The default behavior - this means validate the null value against the declared type - and then report the null value. - - - - - This means to not report the value and not validate it against the model. - - - This setting can be used to correctly work with clients that send null values - for uninitialized properties in requests instead of omitting them altogether. - - - - - This means to report the value, but not validate it against the model. - - - - - The verbose JSON OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - Additional information available for the payload kind detection. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The $batch OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - The metadata OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Detects the payload kind(s) from the message stream. - - The message stream to read from for payload kind detection. - Additional information available for the payload kind detection. - An enumerable of zero or one payload kinds depending on whether the metadata payload kind was detected or not. - - - Enumerates the behavior of readers when reading undeclared property. - - - - The default behavior - the reader will fail if it finds a property which is not declared by the model - and the type is not open. - - - - - The reader will skip reading the property if it's not declared by the model and the current type is not open. - - - This flag can only be used when reading responses. - All information about the undeclared property is going to be ignored, so for example ATOM metadata related to that property - will not be reported either. - - - - - The reader will read and report link properties which are not declared by the model. - - - This flag can only be used when reading responses. - If a link property in the payload is defined in the model it will be read as usual. If it is not declared - it will still be read and reported, but it won't be validated against the model. - - Link properties are: - - Navigation links - - Association links - - Stream properties - - - - This type provides constants used in URI query expressions. - - - "$it" keyword for expressions. - - - "add" keyword for expressions. - - - "and" keyword for expressions. - - - "asc" keyword for expressions. - - - "desc" keyword for expressions. - - - "div" keyword for expressions. - - - "mod" keyword for expressions. - - - "mul" keyword for expressions. - - - "not" keyword for expressions. - - - "or" keyword for expressions. - - - "sub" keyword for expressions. - - - '-' constant to represent an negate unary operator. - - - '=' constant to represent an assignment in name=value. - - - ',' constant to represent an value list separator. - - - '/' constant to represent the forward slash used in a query. - - - '(' constant to represent an open parenthesis. - - - ')' constant to represent an closed parenthesis. - - - '?' constant to represent the start of the query part. - - - '&' constant to represent the concatenation of query parts. - - - '\'' constant to represent a single quote as prefix/suffix for literals. - - - "''" constant to represent a single-quote escape character in a string literal. - - - " " constant to represent a space character in a Uri query part. - - - The 'allpages' value for the '$inlinecount' query option - - - The 'none' value for the '$inlinecount' query option - - - "eq" keyword for expressions. - - - "false" keyword for expressions. - - - "gt" keyword for expressions. - - - "ge" keyword for expressions. - - - "lt" keyword for expressions. - - - "le" keyword for expressions. - - - "ne" keyword for expressions. - - - "null" keyword for expressions. - - - "true" keyword for expressions. - - - "cast" function - - - "isof function - - - Spatial length function - - - Spatial intersects function. - - - "INF" literal used to represent infinity. - - - "NaN" literal used to represent not-a-number values. - - - 'datetime' constant prefixed to datetime literals. - - - 'datetimeoffset' constant prefixed to datetimeoffset literals. - - - 'time' constant prefixed to time literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'geography' constant prefixed to geography literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'binary' constant prefixed to binary literals. - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - 'M': Suffix for decimal type's string representation - - - 'datetime' constant prefixed to datetime literals. - - - the filter query option - - - the orderby query option - - - the top query option - - - the skip query option - - - the inlinecount query option - - - the select query option - - - the expand query option - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch writer (via IODataBatchOperationListener) - to properly flush buffered data and move the batch writer's state machine forward. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to an IODataBatchOperationListener instance. - - - - Listener interface to be notified of operation changes. - - - - Constructor. - - Listener interface to be notified of operation changes. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Disposes the object. - - True if called from Dispose; false if called form the finalizer. - - - - Validates that the stream was not already disposed. - - - - The batch stream underlying this operation stream. - - - - Constructor. - - The underlying stream to write the message to. - Listener interface to be notified of operation changes. - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - The callback to be called when the asynchronous operation completes. - A custom state object to be associated with the asynchronous operation. - An for the asynchronous writing of the buffer to the stream. - - - - Finish the asynchronous write operation. - - The returned from BaginWrite. - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Flush the stream to the underlying batch stream. - - - - - Dispose the operation stream. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Determines if the stream can read - this one can't - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream. - - - - - Gets or sets the position in the stream. Setting of the position is not supported since the stream doesn't support seeking. - - - - - A stream handed to clients from ODataBatchOperationMessage.GetStream or ODataBatchOperationMessage.GetStreamAsync. - This stream communicates status changes to the owning batch reader (via IODataBatchOperationListener) - to prevent clients to use the batch reader while a content stream is still in use. - - - - - The batch stream underlying this operation stream. - - - - - Constructor. - - The underlying stream to read from. - Listener interface to be notified of operation changes. - - - - Flush the stream; not supported for a read stream. - - - - - Sets the length of the stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Create a batch operation read stream over the specified batch stream with a given content length. - - The batch stream underlying the operation stream to create. - The batch operation listener. - The content length of the operation stream. - A to read the content of a batch operation from. - - - - Create a batch operation read stream over the specified batch stream using the batch delimiter to detect the end of the stream. - - The batch stream underlying the operation stream to create. - The batch operation listener. - A to read the content of a batch operation from. - - - - Determines if the stream can read - this one can - - - - - Determines if the stream can seek - this one can't - - - - - Determines if the stream can write - this one can't - - - - - Returns the length of the stream. Not supported by this stream. - - - - - Gets or sets the position in the stream. Not supported by this stream. - - - - - A batch operation stream with the content length specified. - - - - The length of the operation content. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - The total length of the stream. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - A batch operation read stream with no content length so we have to check for the boundary. - - - - true if the stream has been exhausted and no further reads can happen; otherwise false. - - - - Constructor. - - The underlying batch stream to write the message to. - Listener interface to be notified of operation changes. - - - - Reads data from the stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Helper methods used by the ODataBatchWriter and ODataBatchReader (and related classes). - - - - - Creates the URI for a batch request operation. - - The uri to process. - The base Uri to use. - An optional custom URL resolver to resolve URLs for writing them into the payload. - An URI to be used in the request line of a batch request operation. It uses the - first and falls back to the defaullt URI building schema if the no URL resolver is specified or the URL resolver - returns null. In the default scheme, the method either returns the specified if it was absolute, - or it's combination with the if it was relative. - - This method will fail if no custom resolution is implemented and the specified is - relative and there's no base URI available. - - - - - Creates a batch operation stream from the specified batch stream. - - The batch stream to create the operation read stream for. - The headers of the current part; based on the header we create different, optimized stream implementations. - The operation listener to be passed to the newly created read stream. - A new instance. - - - - Creates a batch operation write stream over the specified output stream. - - The output stream to create the operation write stream over. - The operation listener to be passed to the newly created write stream. - A new instance. - - - - Grows the specified byte array by the specified amount. - - The byte array to grow. - The number of bytes currently in the buffer. - The number of bytes to be added to the array. - - - - An enumeration representing the result of a scan operation through - the batch reader stream's buffer. - - - - No match with the requested boundary was found (not even a partial one). - - - A partial match with the requested boundary was found. - - - A complete match with the requested boundary was found. - - This is only returned if we could also check whether the boundary is an end - boundary or not; otherwise a partial match is returned. - - - - - This class represents the internal buffer of the . - - - - The size of the look-ahead buffer. - - - Length of the longest supported line terminator character sequence; makes the code easier to read. - - - The length of two '-' characters to make the code easier to read. - - - The byte array storing the actual bytes of the buffer. - - - The current position inside the buffer. - This is the position of the byte that is the next to be read. - - - The number of (not yet consumed) bytes currently in the buffer. - - - - Skip to the specified position in the buffer. - Adjust the current position and the number of bytes in the buffer. - - The position to skip to. - - - - Refills the buffer from the specified stream. - - The stream to refill the buffer from. - The index in the current buffer starting from which the - currently buffered data should be preserved. - true if the underlying stream got exhausted while refilling. - This method will first shift any data that is to be preserved to the beginning - of the buffer and then refill the rest of the buffer from the . - - - - Scans the current buffer for a line end. - - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - - - - Scans the current buffer for the specified boundary. - - The boundary strings to search for; this enumerable is sorted from the inner-most boundary - to the top-most boundary. The boundary strings don't include the leading line terminator or the leading dashes. - Stop if no boundary (or boundary start) is found after this number of bytes. - The start position of the boundary or -1 if not found. - Note that the start position is the first byte of the leading line terminator. - The end position of the boundary or -1 if not found. - Note that the end position is the last byte of the trailing line terminator. - true if the boundary is an end boundary (followed by two dashes); otherwise false. - true if the detected boundary is the parent boundary; otherwise false. - An enumeration value indicating whether the boundary was completely, partially or not found in the buffer. - - - - Scans the current buffer for a boundary start, which is either a line feed or two dashes (since we don't require the leading line feed). - - The index at which to start scanning for the boundary start. - Stop if no boundary start was found after this number of non end-of-line bytes. - The start position of the line end or -1 if not found. - The start position of the boundary delimiter or -1 if not found. - An enumeration value indicating whether the boundary start was completely, partially or not found in the buffer. - - - - Scans the current buffer for a line end. - - The index at which to start scanning for the line terminator. - Stop if no line end (or beginning of line end) was found after this number of non end-of-line bytes. - true if only whitespace data bytes are expected before the end-of-line characters; otherwise false. - The start position of the line terminator or -1 if not found. - The end position of the line terminator or -1 if not found. - true if the end of the buffer was reached while scanning for the line end; otherwise false. - An enumeration value indicating whether the line termintor was found completely, partially or not at all. - This method only returns if we found the start - of a line terminator at the last character in the buffer. - - - - Check whether the bytes in the buffer at the specified start index match the expected boundary string. - - The start of the line feed preceding the boundary (if present). - The start position of the boundary delimiter. - The boundary string to check for. - If a match is detected, the start of the boundary delimiter, - i.e., either the start of the leading line feed or of the leading dashes. - If a match is detected, the position of the boundary end; otherwise -1. - true if the detected boundary is an end boundary; otherwise false. - An indicating whether a match, a partial match or no match was found. - - - - Try to match the specified boundary string starting at the specified position. - - The boundary string to search for; this does not include - the leading line terminator or the leading dashes. - The index at which to start matching the boundary. - The number of characters to match. - true if the boundary string is used in an end boundary; otherwise false. - true if it was established that the buffer starting at - matches the ; otherwise false. - This method also returns false if the boundary string was completly matched against the - buffer but it could not be determined whether it is used in an end boundary or not. - - - - Shifts all bytes in the buffer after a specified start index to the beginning of the buffer. - - The start index where to start shifting. - - - - The byte array that acts as the actual storage of the buffered data. - - - - - The current position inside the buffer. - - This is the position of the byte that is the next to be read. - - - - The number of (not yet consumed) bytes currently in the buffer. - - - - - Indexer into the byte buffer. - - The position in the buffer to get. - The byte at position in the buffer. - - - - Class used by the to read the various pieces of a batch payload. - - - This stream separates a batch payload into multiple parts by scanning ahead and matching - a boundary string against the current payload. - - - - - The default length for the line buffer byte array used to read lines; expecting lines to normally be less than 2000 bytes. - - - - - The byte array used for reading lines from the stream. We cache the byte array on the stream instance - rather than allocating a new one for each ReadLine call. - - - - The input context to read the content from. - - - The boundary string for the batch structure itself. - - - The buffer used by the batch reader stream to scan for boundary strings. - - - The encoding to use to read from the batch stream. - - - The boundary string for a changeset (or null if not in a changeset part). - - - The encoding for a given changeset. - - - - true if the underlying stream was exhausted during a read operation; we won't try to read from the - underlying stream again once it was exhausted. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - - - - Resets the changeset boundary at the end of the changeset. - - - - - Skips all the data in the stream until a boundary is found. - - true if the boundary that was found is an end boundary; otherwise false. - true if the detected boundary is a parent boundary (i.e., the expected boundary is missing). - true if a boundary was found; otherwise false. - - - - Reads from the batch stream while ensuring that we stop reading at each boundary. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads from the batch stream without checking for a boundary delimiter since we - know the length of the stream. - - The byte array to read bytes into. - The offset in the buffer where to start reading bytes into. - The number of bytes to read. - The number of bytes actually read. - - - - Reads the headers of a part. - - true if the start of a changeset part was detected; otherwise false. - - - - Reads the headers of a batch part or an operation. - - A dictionary of header names to header values; never null. - - - - Read and return the next line from the batch stream, skipping all empty lines. - - This method will throw if end-of-input was reached while looking for the next line. - The text of the first non-empty line (not including any terminating newline characters). - - - - Parses a header line and validates that it has the correct format. - - The header line to validate. - The name of the header. - The value of the header. - - - - Reads a line (all bytes until a line feed) from the underlying stream. - - Returns the string that was read from the underyling stream (not including a terminating line feed), or null if the end of input was reached. - - - - Ensure that a batch encoding exists; if not, detect it from the first couple of bytes of the stream. - - - - Detect the encoding based data from the stream. - The encoding discovered from the bytes in the buffer or the fallback encoding. - - We don't have to skip a potential preamble of the encoding since the batch reader - will skip over everything (incl. the potential preamble) until it finds the first - boundary. - - - - - Reads and validates the headers of a batch part. - - true if the headers indicate a changset part; otherwise false. - A dictionary of header names to header values; never null. - - - - Validates the headers that have been read for a part. - - The set of headers to validate. - true if the headers indicate a changset part; otherwise false. - The set of validated headers. - - An operation part is required to have content type 'application/http' and content transfer - encoding 'binary'. A changeset is required to have content type 'multipart/mixed'. - Note that we allow additional headers for batch parts; clients of the library can choose - to be more strict. - - - - - Parse the content type header value to retrieve the boundary and encoding of a changeset. - - The content type to parse. - - - - The boundary string for the batch structure itself. - - - - - The boundary string for the current changeset (only set when reading a changeset - or an operation in a changeset). - - When not reading a changeset (or operation in a changeset) this field is null. - - - - The current boundary string to be used for reading with delimiter. - - This is the changeset boundary when reading a changeset or the batch boundary otherwise. - - - - The current encoding to use when reading from the stream. - - This is the changeset encoding when reading a changeset or the batch encoding otherwise. - - - Enumeration with all the states the batch reader can be in. - - - The state the batch reader is in after having been created. - - - The batch reader detected an operation. - In this state the start boundary, the request/response line - and the operation headers have already been read. - - - The batch reader detected the start of a change set. - In this state the start boundary and the change set - headers have already been read. - - - The batch reader completed reading a change set. - - - The batch reader completed reading the batch payload. - The batch reader cannot be used in this state anymore. - - - The batch reader encountered an error reading the batch payload. - The batch reader cannot be used in this state anymore. - - - - ODataParameterWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON property and value serializer to use. - - - - - Constructor. - - The output context to write to. - The function import whose parameters will be written. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Writes a value parameter (either primitive or complex) - - The name of the parameter to write. - The value of the parameter to write. - The expected type reference of the parameter value. - - - - Creates a format specific to write the value of a collection parameter. - - The name of the collection parameter to write. - The type reference of the expected item type or null if no expected item type exists. - The newly created . - - - - Class to represent a null value with or without type information for URI paremeters. - - This class is only intended for use as a sentinal for null values in URI parameters. It cannot be used elsewhere. - - - - String representation of the type of this null value. 'null' indicates that no type information was provided. - - - - - Handles serialization and deserialization for types derived from Geometry. - This file is currently compiled by ODataLib and Astoria server, because it contains - functionality related to both serialization and deserialization, but deserialization - is not yet integrated into Astoria. Once that integration happens this functionality - should be fully contained within ODataLib only. - - - - - Interface used for serialization and deserialization of primitive types. - - - - - Create an instance of a primitive type from the value in an Xml reader. - - The Xml reader to use to read the value. - An instance of the primitive type. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Create a Geometry instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geometry instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json object. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - OData ATOM deserializer for ATOM metadata on feeds. - - - - - Base class for all OData ATOM Metadata deserializers. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a person (author/contributor) element. - - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - The person metadata object with the read values. - - Pre-Condition: XmlNodeType.Element (atom:contributor/atom:author) - the atom:author/atom:contributor element to read. - Post-Condition: Any - the node after the atom:author/atom:contributor element which was read. - - - - - Reads the element value as DateTimeOffset value. - - The DateTimeOffset value of the element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is not used in WCF DS client mode. - - - - - Reads the element value as of a date construct as string value. - - The string value of the date construct element. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - This method is only used in WCF DS client mode. - - - - - Read the ATOM text construct element. - - The element read represented as ATOM text construct. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the current XML element and returns it as a string. - - The string value read. - - Pre-Condition: XmlNodeType.Element - the element which value to read. - Post-Condition: Any - the node after the element. - - - - - Reads an "atom:title" element and returns an . - - An with the title information. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Determines if we need to read a child element (either for EPM or for ATOM metadata). - - The parent EPM target path segment. - The name of the element/segment to read. - The EPM target path subsegment which describes the element, or null if there's none. - true if the subelement should be read, false otherwise. - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - The empty namespace used for attributes in no namespace. - - - - Constructor. - - The ATOM input context to read from. - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - Reads an element in the ATOM namespace in feed or source content. - - The atom feed metadata object to store metadata details in. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - If the the property InSourceElement is true (i.e., we're reading within source content), then the value - of the atom:id element will be stored in the feed metadata as SourceId, otherwise it will be ignored. - - - - - Reads the atom:link element and returns a new ATOM link metadata object. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads an atom:author element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads an atom:category element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads an atom:contributor element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Reads an atom:generator element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:generator) - the atom:generator element to read. - Post-Condition: Any - the node after the atom:generator element which was read. - - - - - Reads an atom:icon element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:id element in a source element. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:icon) - the atom:icon element to read. - Post-Condition: Any - the node after the atom:icon element which was read. - - - - - Reads an atom:link element into the Links collection of feed metadata (i.e., links that are not special to the OData protocol). - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: Any - the node after the atom:link element which was read. - - - - - Reads an atom:logo element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:logo) - the atom:logo element to read. - Post-Condition: Any - the node after the atom:logo element which was read. - - - - - Reads an atom:rights element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:rights) - the atom:rights element to read. - Post-Condition: Any - the node after the atom:rights element which was read. - - - - - Reads an atom:subtitle element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:subtitle) - the atom:subtitle element to read. - Post-Condition: Any - the node after the atom:subtitle element which was read. - - - - - Reads an atom:title element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:title) - the atom:title element to read. - Post-Condition: Any - the node after the atom:title element which was read. - - - - - Reads an atom:updated element in a feed. - - The feed metadata to augment. - - Pre-Condition: XmlNodeType.Element (atom:updated) - the atom:updated element to read. - Post-Condition: Any - the node after the atom:updated element which was read. - - - - - Reads an atom:* element whose value is a URI. - - The which was read. - - - - Fails with the appropriate exception message if the given value is not null. - - The metadata value to ensure is null. - - - - Whether this deserializer is reading feed metadata for a source element (true) or a feed element (false). - - - - - OData parameter reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The property and value deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The function import whose parameters are being read. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Implementation of the reader logic on the subsequent reads after the first parameter is read. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.Property or JsonNodeType.EndObject: assumes the last read puts the reader at the begining of the next parameter or at the end of the payload. - Post-Condition: When the new state is Value, the reader is positioned at the closing '}' or at the name of the next parameter. - When the new state is Entry, the reader is positioned at the starting '{' of the entry payload. - When the new state is Feed or Collection, the reader is positioned at the starting '[' of the feed or collection payload. - - - - - Creates an to read the collection with type . - - Expected item type reference of the collection to read. - An to read the collection with type . - - - - Checks to see if we are at the end of the parameters payload. - - Returns true if we are at the ending '}' of the parameters payload. - - - - Reads the end '}' of the parameters payload. - - - - - Reads the next parameter from the parameters payload. - - - - - OData ATOM deserializer for ATOM metadata in a service document - - - - Schema namespace for Atom. - - - The name of the 'category' element in a service document. - - - The name of the 'href' attribute in an 'app:categories' element. - - - The name of the 'fixed' attribute in an 'app:categories' element. - - - The name of the 'scheme' attribute in an 'app:categories' or 'atom:category' element. - - - The name of the 'term' attribute in an 'atom:category' element. - - - The name of the 'label' attribute in an 'atom:category' element. - - - The empty namespace - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an atom:title element and adds the new information to . - - The non-null workspace metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the atom:title element. - Post-Condition: Any - The next node after the atom:title element. - - - - - Reads an atom:title element and adds the new information to and (if ATOM metadata reading is on) . - - The collection metadata object to augment, or null if metadata reading is not on. - The non-null collection info object being populated. - - Pre-Condition: XmlNodeType.Element - The start of the title element. - Post-Condition: Any - The next node after the title element. - - - - - Reads an app:categories element as well as each atom:category element contained within it, and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:categories element. - Post-Condition: Any - The next node after the app:categories element. - - - - - Reads an "app:accept" element and adds the new information to . - - The non-null collection metadata object to augment. - - Pre-Condition: XmlNodeType.Element - The start of the app:accept element. - Post-Condition: Any - The next node after the app:accept element. - - - - - Reads an "atom:category" element and returns the data as an object. - - An object with its properties filled in according to what was found in the XML. - - Pre-Condition: XmlNodeType.Element - The start of the atom:category element. - Post-Condition: Any - The next node after the atom:category element. - - - - Enumeration of all possible states of an . - - - The reader is at the start; nothing has been read yet. - In this state the Name and Value properties of the returns null. - - - The reader read a primitive or a complex parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns the value read (e.g. a primitive value, an ODataComplexValue or null). - - - The reader is reading a collection parameter. - In this state the Name property of the returns the name of the parameter - and the Value property of the returns null. The CreateCollectionReader() method on the - must be called to get the reader to read the collection value. - - - The reader has thrown an exception; nothing can be read from the reader anymore. - In this state the Name and Value properties of the return null. - - - The reader has completed; nothing can be read anymore. - In this state the Name and Value properties of the return null. - - - - Implementation of the batch-specific URL resolver that resolves cross-referencing URLs properly. - - - - Supports custom resolution of URLs found in the payload. - - This interface can be implemented on messages (see and - ). When a message implementing this interface is - passed to an or , the - message writer/reader will use this interface for custom URL resolution. - On writers this means that whenever a URI is written into the payload the resolution - method on this interface is called to resolve a base URI and a payload URI to the - actual URI to be written to the payload. If the method returns null from a resolution - call the default resolution will be used. - On readers this means that a base URI (either from the payload or the reader settings) and - the URI read from the payload are passed to the method. The result is what is being reported - on the OData OM instances. Again if the resolution method returns null the default resolution - kicks in. - - - - Implements a custom URL resolution scheme. This method returns null if no custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - An instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - The URL resolver from the batch message. - - - A hashset with all content IDs used so far in the batch; this is used for cross-referencing URL resolution. - - - - Constructor. - - The URL resolver from the batch message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Add the content ID to the hashset of valid content IDs. - - The (non-null) content ID to add. - - - - Checks whether a given (non-null) content ID is already in the content ID cache. - - The content ID to check for. - true if the content ID cache already contains a content ID with value ; otherwise false. - - - - Resets the cache of content IDs. This is called at the end of each changeset - since content IDs are only unique within a changeset. - - - - - The URL resolver from the batch message. - - - - Exception type representing exception when Content-Type of a message is not supported. - - - Creates a new instance of the class. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class. - Plain text error message for this exception. - - - Creates a new instance of the class. - Plain text error message for this exception. - Exception that caused this exception to be thrown. - - - - Utility functions for writing values for use in a URL. - - - - - Converts a primitive to a string for use in a Url. - - Value to convert. - OData version to be compliant with. - A string representation of to be added to a Url. - - - - Converts the given string to an ODataComplexValue or ODataCollectionValue and returns it. - Tries in both JSON light and Verbose JSON. - - Does not handle primitive values. - Value to be deserialized. - ODataVersion to be compliant with. - Model to use for verification. - Expected type reference from deserialization. If null, verification will be skipped. - An ODataComplexValue or ODataCollectionValue that results from the deserialization of . - - - - Verifies that the given is or can be coerced to , and coerces it if necessary. - - An EDM primitive value to verify. - Model to verify against. - Expected type reference. - The version to use for reading. - Coerced version of the . - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Converts an to a string for use in a Url. - - Instance to convert. - A string representation of to be added to a Url. - - - - Converts a to a string for use in a Url. - - Instance to convert. - Model to be used for validation. User model is optional. The EdmLib core model is expected as a minimum. - Version to be compliant with. Collection requires >= V3. - ODataFormat to use for the format of the literal. - A string representation of to be added to a Url. - - - - Write a literal value in JSON Verbose format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Write a literal value in JSON Light format. - - EDM Model to use for validation and type lookups. - Settings to use when writing. - TextWriter to use as the output for the value. - Delegate to use to actually write the value. - - - - Coerces the given to the appropriate CLR type based on . - - Primitive value to coerce. - Edm primitive type to check against. - as the corresponding CLR type indicated by , or null if unable to coerce. - - - - URI Utility methods. - - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - A CLR object that the represents. - - - - Converts the given to a corresponding CLR type. Expects the - to have already been properly unescaped from an actual Uri. - - Value from a Uri to be converted. - Version to be compliant with. - Optional model to perform verification against. - Optional IEdmTypeReference to perform verification against. - Callers must provide a containing this type if it is specified. - A CLR object that the represents. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - No type verification is used. - - Value to be converted. - Version to be compliant with. - A string representation of for use in a Url. - - - - Converts the given object to a string for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - A string representation of for use in a Url. - - - - Converts the given object to a string in the specified format for use in a Uri. Does not perform any of the escaping that provides. - Will perform type verification based on the given model if possible. - - Value to be converted. - Version to be compliant with. - Optional model to perform verification against. - ODataFormat to use for structured values such as complex types and collections. - A string representation of for use in a Url. - - - - The RAW OData format. - - - - - The text representation - the name of the format. - - The name of the format. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The response message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Detects the payload kinds supported by this format for the specified message payload. - - The request message with the payload stream. - Additional information available for the payload kind detection. - The set of s that are supported with the specified payload. - - - - Creates an instance of the input context for this format. - - The to read. - The message to use. - The content type of the message to read. - The encoding to use. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - Format specific state stored during payload kind detection - using the . - The newly created input context. - - - - Creates an instance of the output context for this format. - - The message to use. - The specific media type being written. - The encoding to use. - Configuration settings of the OData writer. - true if writing a response message; otherwise false. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - The newly created output context. - - - - Detects the payload kind(s) from the message stream. - - The content type of the message. - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Semantic node that represents a single-value open property access, which is not bound to an EDM model. - - - - - The value containing this property. - - - - - The name of the open property to be bound outside the EDM model. - - - - - Constructs a . - - The value containing this property. - The name of the open property to be bound outside the EDM model. - Throws if the input source or openPropertyName is null. - - - - Accept a that walks a tree of s. - - Type that the visitor will return after visiting this token. - An implementation of the visitor interface. - An object whose type is determined by the type parameter of the visitor. - Throws if the input visitor is null. - - - - Gets the value containing this property. - - - - - Gets the name of the open property to be bound outside the EDM model. - - - - - Gets the type of the single value this node represents. - - - The value of this property will always be null for open properties. - - - - - Gets the kind of this query node. - - - - Enumeration used to identify text content of syndication item. - - - - Plaintext - - - - - HTML - - - - - XHTML - - - - Enumeration type that is used to identify the syndication item element or attribute in the Open Data Protocol (OData) feed to which an entity property is mapped. - - Potentially the following atom specific elements could also be considered: - * Content? - * Id - * Source? - - - - - User specified a non-syndication property - - - - - author/email - - - - - author/name - - - - - author/uri - - - - - contributor/email - - - - - contributor/name - - - - - contributor/uri - - - - - updated - - - - - published - - - - - rights - - - - - summary - - - - - title - - - - Attribute that specifies a custom mapping between properties of an entity type and elements of an entry in an Open Data Protocol (OData) feed returned by the data service.  - - - - Source property path. - - - - - Target Xml element/attribute. - - - - - If mapping to syndication element, the name of syndication item. - - - - - If mapping to syndication content, the content type of syndication item. - - - - - If mapping to non-syndication element/attribute, the namespace prefix for the - target element/attribute. - - - - - If mapping to non-syndication element/attribute, the namespace for the - target element/attribute. - - - - - The content can optionally be kept in the original location along with the - newly mapping location by setting this option to true, false by default. - - - - Creates a new instance of the . - The name of the property, as string, of the entity type that is mapped to the specified property of the feed item. - A value that represents the element in the feed to which to map the property. This value must be set to None if the is not null. - A value that identifies the format of the content to display in the feed. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Creates an instance of the to map a property to a custom feed element. - The name of the property of the entity type, as string, that is mapped to the specified property in the feed. - The name of the target, as string, in the resulting feed to which the property is mapped. - This parameter, together with , specifies the namespace in which the element exists. - Specifies the namespace URI of the element, as string, specified by the property. - Boolean value that is true when the property being mapped must appear both in its mapped-to location and in the content section of the feed. - - - Gets the name of the property of the syndication item that will be mapped to the specified element of the feed. - String value that contains property name. - - - Gets the name of the custom target in the feed to which the property is mapped. - String value with target XML element or attribute. - - - Gets the syndication item in the entry targeted by the mapping. - A value that is the target of the mapping. - - - Gets a string value that, together with , specifies the namespace in which the element exists. - String value that contains the target namespace prefix. - - - Gets a string value that specifies the namespace URI of the element specified by the property. - String that contains the namespace URI. - - - Gets the type of content of the property mapped by . - A string that identifies the type of content in the feed element. - - - Gets a Boolean value that indicates whether a property value should be repeated both in the content section of the feed and in the mapped location. - A value that is true when the property is mapped into both locations in the feed; otherwise, false. - - - - Enumeration for the different kinds of reader and writer behaviors - supported in the OData library. - - - - The default behavior of the OData library. - - - The behavior of the WCF Data Services server. - - - The behavior of the WCF Data Services client. - - - - Class that captures all the information needed to make readers behave - differently when used inside of WCF Data Services or outside. - - - - The default reader behavior for the OData library. - - - The API behavior kind of this behavior. - - - Custom type resolver used by the WCF DS Client. - - This function is used instead of calling the IEdmModel.FindType. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - - true if the server uses a V1 provider; otherwise false. - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - Determines whether operations bound to the given type must be container qualified. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - true if the server uses a V1 provider; otherwise false. - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the reader behavior for the WCF Data Services client. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType is it's specified. - The first parameter to the function is the expected type (the type infered from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. - The created reader behavior. - - - - Create the reader behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created reader behavior. - - - - Resets the format behavior of the current reader behavior to the default format behavior. - - - - - Get the default reader behavior for the OData library. - - The default reader behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - If set to true, allows the writers to write duplicate properties of entries and - complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one - of the duplicate property names refers to a named stream property, - an association link or a collection. - - - - - true if the server is using V1 provider; false otherwise. - - - - - Custom type resolver used by the WCF DS Client. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - Determines whether operations bound to the given entity type must be container qualified. - - - - Class that captures all the information needed to make writer behave - differently when used inside of WCF Data Services or outside. - - - - The default writer behavior for the OData library. - - - The API behavior kind of this behavior. - - - true if the server uses a V1 provider; otherwise false. - - - true to allow null values for non-nullable primitive types; otherwise false. - - - - If set to true, allows the writers to write duplicate properties of entries and complex values - (i.e., properties that have the same name). Defaults to 'false'. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - The format behavior kind of this behavior. - - - - Constructor. - - The format behavior kind of this behavior. - The API behavior kind of this behavior. - true if the server uses a V1 provider; otherwise false. - - true to allow null values for non-nullable primitive types; otherwise false. - - - If set to true, allows the writers to write duplicate properties of entries - and complex values (i.e., properties that have the same name). - - Custom data namespace. - Custom type scheme to use when resolving types. - - - - Create the writer behavior for the WCF Data Services client. - - Custom data namespace. - Custom type scheme to use when resolving types. - The created writer behavior. - - - - Create the writer behavior for the WCF Data Services server. - - true if the server uses a V1 provider; otherwise false. - The created writer behavior. - - - - Resets the format behavior of the current writer behavior to the default format behavior. - - - - - Get the default writer behavior. - - The default writer behavior. - - - - Used to specify custom type scheme. Used for compatibility with WCF DS Client. - - - - - Used to specify custom data namespace. Used for compatibility with WCF DS Client. - - - - - EPM mappings are defined on entity types but not on complex types. For entity types, the EPM mapping for each of its primitive properties stay the same. - For complex types however, the EPM mappings changes depending on the entity type each complex property is declared on. - For example, if the "Customer" entity type has the properties Address1 and Address2 both of the complex type "Address". If properties in Address1 - are not mapped while properties in Address2 are mapped with KeepInContent=false, when we serialze the Address type in atom format, we keep properties of - Address1 in content while skipping properties of Address2 from the content. Thus the same complex type can get serialized differently for each instance - of the type. - - Astoria has a bug for V1 providers in which it creates and caches EPM information on the complex type itself the first time it serializes - an instance of the complex type. So subsequent writes will serialize the complex type the same way regardless of its EPM mapping. - This creates the following 2 problems: - 1. If a primitive property of a complex type is not part of a EPM mapping or has KeepInContent=true the first time it's serialized, the property will always - be serialized in the content for the remaining lifetime of the service, even for instances where KeepInContent=false. - 2. If a primitive property of a complex type has KeepInContent=false the first time it's serialized, the property will always be missing in the content - for the remaining lifetime of the service, even for instances that do not belong to a EPM mapping or have KeepInContent=true. - Unfortunately we cannot fix issue 1 because it can break existing third party clients. We have to fix issue 2 because it is a data corruption issue. - - The solution is to remember on the first write whether a primitive property of a complex type is serialized in content or not. On subsequent writes - to the same property, we will always keep it in content if the initial write is in content. Otherwise we calculate whether it should be in content - based on ShouldWritePropertyInContent. - - NOTE: this assumes that the complex type in question does not change throughout the lifetime of the service. - - See bug 174185. - - - - - If set to true, the writers will allow writing null values even if the metadata specifies a non-nullable primitive type. - - - - - If set to true, allows the writers to write duplicate properties of entries and complex values (i.e., properties that have the same name). Defaults to 'false'. - - - Independently of this setting duplicate property names are never allowed if one of the duplicate property names refers to - a named stream property, an association link or a collection. - - - - The format behavior kind of this behavior. - - - The API behavior kind of this behavior. - - - - OData ATOM deserializer for error payloads. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the content of an error element. - - The Xml reader to read the error payload from. - The maximumum number of recursive internalexception elements to allow. - The representing the error. - - This method is used to read top-level errors as well as in-stream errors (from inside the buffering Xml reader). - Pre-Condition: XmlNodeType.Element - The m:error start element. - Post-Condition: XmlNodeType.EndElement - The m:error end-element. - XmlNodeType.Element - The empty m:error start element. - - - - - Reads a top-level error. - - An representing the read error. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the m:error end element or the empty m:error element node. - - - - - Verifies that the specified element was not yet found in a top-level error element. - - - The bit field which stores which elements of an error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Verifies that the specified element was not yet found in an inner error element. - - - The bit field which stores which elements of an inner error were found so far. - - The bit mask for the element to check. - The name of the element to check (used for error reporting). - - - - Reads the content of an inner error element. - - The (buffering) Xml reader to read the error payload from. - The number of times this function has been called recursively. - The maximumum number of recursive internalexception elements to allow. - The representing the inner error. - - Pre-Condition: XmlNodeType.Element - the m:innererror or m:internalexception element - Post-Condition: Any - the node after the m:innererror/m:internalexception end element or the node after the empty m:innererror/m:internalexception element node. - - - - - An enumeration of the various kinds of elements in an m:error element. - - - - No duplicates. - - - The 'code' element of the error element. - - - The 'message' element of the error element. - - - The 'innererror' element of the error element. - - - - An enumeration of the various kinds of elements in an internal error element. - - - - No duplicates. - - - The 'message' element of the inner error element. - - - The 'type' element of the inner error element. - - - The 'stacktrace' element of the inner error element. - - - The 'internalexception' element of the inner error element. - - - - Reader for the EPM custom-only. Read the EPM properties from cached values. - - - - - Base class for EPM readers. - - - - The input context currently in use. - - - The reader entry state to use for the entry to which the EPM is applied. - - - - Constructor. - - The reader entry state to use for the entry to which the EPM is applied. - The input context currently in use. - - - - Sets the value read from EPM to a property on an entry. - - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets the value read from EPM to a property on an entry. - - The target list, which is a list of properties (on entry or complex value). - The type of the value on which to set the property (can be entity or complex). - The EPM info for the mapping for which the value was read. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Sets a property value for a segment of the EPM source path. - - The EPM info according to which we are mapping the value to properties. - The index in the epmInfo.PropertyValuePath for the source segment for which to set the value. - The structural type of the parent segment. - The list of properties of the parent segment, this method may add to this list. - The property value read, if the value was specified as null then this should be null, - if the value was missing the method should not be called at all. - For primitive properties this should be the string value, for all other properties this should be the exact value type. - - - - Creates and adds a new property to the list of properties for an EPM. - - The list of properties to add the property to. - The name of the property to add. - The value of the property to add. - true if the new property should be checked for duplicates against the entry properties; false otherwise. - This should be true if the is the list of properties for the entry, and false in all other cases. - - - The reader entry state to use for the entry to which the EPM is applied. - - - The version of OData protocol to use. - - - The reader settings to use. - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the custom EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Cache for values read during deserialization of custom EPM. - - - - - List of custom EPM values read. - This is a map from EPM info to the value read from the payload. - - - The list order is the order in which the values were read from the payload. - They will be applied to the entry properties in that order (this needs to be maintained). - The key is the EPM info for the mapping according to which the value was read. - The value is the string value read from the content (not converted in any way). - null value means true null value should be used. - If the value was missing from the payload there will be no record of it in this list. - - - - - Constructor. - - - - - Determines if the cache already contains a value for the specified EPM mapping. - - The EPM info for the EPM mapping to look for. - true if the cache already contains a value for this mapping, false otherwise. - - - - Adds a value to cache. - - The EPM info for the mapping according to which the value was read. - The value to cache. - - The method will only store the first value for any given EPM info, since in custom EPM - only the first occurrence of the element/attribute is used, the others are ignored. - - - - - The list of stored custom EPM values (key is the EPM info, value is the string value read for it). - The list is in the order in which the values were read from the payload. - - - - - OData ATOM deserializer for EPM. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an extension element in non-ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element in non-ATOM namespace to read. - Post-Condition: Any - the node after the extension element which was read. - - - - - Reads an element for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the parent element to which the element belongs. - true if a mapping for the current custom element was found and the element was read; otherwise false. - - Pre-Condition: XmlNodeType.Element - the element to read. - Post-Condition: Any - the node after the element which was read. - - The method works on any element, it checks if the element should be used for EPM or not. - - - - - Reads an attribute for custom EPM. - - The reader entry state for the entry being read. - The EPM target segment for the element to which the attribute belongs. - - Pre-Condition: XmlNodeType.Attribute - the attribute to read. - Post-Condition: XmlNodeType.Attribute - the same attribute, the method doesn't move the reader. - - The method works on any attribute, it checks if the attribute should be used for EPM or not. - - - - - OData ATOM deserializer for entity reference links. - - - - OData element name for the 'links' element - - - OData element name for the 'count' element - - - OData element name for the 'next' element - - - OData element name for the 'uri' element - - - - Constructor. - - The ATOM input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a top-level entity reference link. - - An instance representing the read entity reference link. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Verifies that the specified element was not yet found in the entity reference links element. - - The bit field which stores which elements of an inner error were found so far. - The bit mask for the element to check. - The namespace name of the element ot check (used for error reporting). - The name of the element to check (used for error reporting). - - - - Reads all top-level entity reference links and the (optional) inline count and next link elements. - - An instance representing the read entity reference links. - - Pre-Condition: XmlNodeType.Element - The 'd:links' element. - Post-Condtion: any - The node after the 'd:links' end element (or empty 'd:links' element). - - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: XmlNodeType.Element - the 'd:uri' element to read. - Post-Condition: Any - the node after the 'd:uri' element which was read. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No duplicates. - - - The 'm:count' element of the 'links' element. - - - The 'd:next' element of the 'links' element. - - - - Class with utility methods for dealing with OData metadata that are shared with the OData.Query project. - - - - - Checks whether a type reference refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type reference; otherwise false. - - - - Checks whether a type refers to an OData primitive type (i.e., a primitive, non-stream type). - - The (non-null) to check. - true if the is an OData primitive type; otherwise false. - - - - Checks whether a type reference refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type reference; otherwise false. - - - - Checks whether a type refers to an OData complex type. - - The (non-null) to check. - true if the is an OData complex type; otherwise false. - - - - Checks whether a type reference refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type reference; otherwise false. - - - - Checks whether a type refers to an OData entity type. - - The (non-null) to check. - true if the is an OData entity type; otherwise false. - - - - Checks whether a type reference is considered a value type in OData. - - The to check. - true if the is considered a value type; otherwise false. - - The notion of value type in the OData space is driven by the IDSMP requirements where - Clr types denote the primitive types. - - - - - Checks whether a type reference refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Checks whether a type refers to a OData collection value type of non-entity elements. - - The (non-null) to check. - true if the is a non-entity OData collection value type; otherwise false. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Determines if a is convertibale according to OData rules to the - . - - The type which is to be converted. - The type to which we want to convert. - true if the source type is convertible to the target type; otherwise false. - - - Represents an annotation to hold information for a particular property. - - - Gets the behavior for readers when reading property with null value. - The behavior for readers when reading property with null value. - - - Represents an OData action. - - - - Represents a function or an action. - - - - the metadata builder for this operation. - - - A human-readable description of the or the . - - - true if a title was provided by the user or seen on the wire, false otherwise. - - - A human-readable description of the or the , computed by the metadata builder. - - - The URI to invoke the or the . - - - true if a target was provided by the user or seen on the wire, false otherwise. - - - The URI to invoke the or the , computed by the metadata builder. - - - The cached full name of the operation to use. - - - The binding parameter type name for this operation. - - - - Sets the metadata builder for this operation. - - The metadata builder used to compute values from model annotations. - The metadata document Uri. - - - - Gets the metadata builder for this operation. - - The metadata builder used to compute values. - - - Gets or sets the URI to get metadata for the . - The URI to get metadata for the . - - - Gets or sets a human-readable description of the . - A human-readable description of the . - - - Gets or sets the URI to invoke the . - The URI to invoke the . - - - Represents an OData function. - - - - Implementation of the OData input for metadata documents. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Read a metadata document. - This method reads the metadata document from the input and returns - an that represents the read metadata document. - - An representing the read metadata document. - - - - Disposes the input context. - - - - - This methods reads the metadata from the input and returns an - representing the read metadata information. - - An instance representing the read metadata. - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - A method that determines whether a given model is a user model or one of the built-in core models - that can only used for primitive type resolution. - - The model to check. - true if the is a user model; otherwise false. - - - - Checks whether the provided is a supported primitive type. - - The CLR type to check. - true if the is a supported primitive type; otherwise false. - - - - Returns all the entity types in a model. - - The to get the entity types for (must not be null). - An enumerable of all instances in the . - - - - Creates a collection value type for the specified . - - The for the item type. - The created . - - - - Creates a collection type for the specified . - - The for the item type. - The created . - - - - Checks if the type reference is assignable from the type reference. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - Note that this method only checks the type definition for assignability; it does not consider nullability - or any other facets of the type reference. - - - - Checks if the type is assignable from the type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the structured type and the structured type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Checks if the primitive type and the primitive type - have a common base type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - The common base type or null if no common base type exists. - - - - Returns the base type of a primitive type. - - The to get the base type for. - The base type of the or null if no base type exists. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Casts an to a or returns null if this is not supported. - - The type reference to convert. - An instance or null if the cannot be converted. - - - - Resolves the name of a primitive type. - - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Get the of the item type of the . - - The collection type to get the item type for. - The item type of the . - - - - Returns the IEdmCollectionType implementation with the given IEdmType as element type. - - IEdmType instance which is the element type. - An instance using the as Collection item type. - - - - Returns the IEdmCollectionType implementation with the given IEdmTypeReference as element type. - - IEdmTypeReference instance which is the element type. - An instance using the as Collection item type. - - - - Checks whether a type reference is a Geography type. - - The to check. - true if the is a Geography type; otherwise false. - - - - Checks whether a type reference is a Geometry type. - - The to check. - true if the is a Geometry type; otherwise false. - - - - Returns CollectionValue item type name or null if the provided type name is not a collectionValue. - - CollectionValue type name read from payload. - CollectionValue element type name or null if not a collectionValue. - - - - Gets the name of a function import group. - - The function import group in question. - The name of the function import group. - - - - Gets the full name of a function import group. - - The function import group in question. - The full name of the function import group. - - - - Name of the function import with parameters. - - Function import in question. - Name of the function import with parameters. - - - - Full name of the function import with parameters. - - Function import in question. - Full name of the function import with parameters. - - - - Determines whether operations bound to this type must be qualified with the operation they belong to when appearing in a $select clause. - - The entity type the operations are bound to. - True if the operations must be container qualified, otherwise false. - - - - Gets the full name of the definition referred to by the type reference. - - The type reference to get the full name for. - The full name of this . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Gets the full name of the type. - - The type to get the full name for. - The full name of the . - - Note that this method is different from the EdmLib FullName extension method in that it also returns - names for collection types. For EdmLib, collection types are functions and thus don't have a full name. - The name/string they use in CSDL is just shorthand for them. - - - - - Clones the specified type reference. - - The type reference to clone. - true to make the cloned type reference nullable; false to make it non-nullable. - The cloned instance. - - - - Gets the multiplicity of a navigation property. - - Reference to the calling object. - The multiplicity of the navigation property in question. - This has been added to EdmLib, but EdmLib won't be released for a while. - If you need to use this functionality before we release EdmLib, then use this method. Change your calls - to use the real method whenever we release EdmLib again. - - - - Checks if the is assignable to . - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Checks if the primitive type is a geography or geometry type. - - The type to check. - true, if the is a geography or geometry type. - - - - Checks if the primitive type is assignable to primitive type. - In other words, if is a subtype of or not. - - Type of the base type. - Type of the sub type. - true, if the is assignable to . Otherwise returns false. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - The CLR type for the primitive type reference. - - - - Turns a into the corresponding non-nullable . - - The type to convert. - A non-nullable type reference for the . - - - - Determines whether the provided is an open type. - - The type to check. - true if the is an open type; otherwise false. - - - - Determines whether the provided is a stream. - - The type to check. - true if the represents a stream; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Checks whether the specified is defined for the type . - - The type to check the properties on. - The property to check for. - true if the is defined for the ; otherwise false. - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Returns the primitive type reference for the given Clr type. - - The Clr type to resolve. - The primitive type reference for the given Clr type. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. - The group with the specified name or null if no such function import exists. - - - - Finds the function import group with the specified container and name. If the name contains the function parameters, this - method will return the function import with matching parameters. - - The model to find the function import in. - The container qualified name of the function import. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The group with the specified name or null if no such function import exists. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) - The resolved function import or function import group. - - - - Resolves a function import or function import group. - - The entity container. - The function import name to resolve. May contain parameter type names, e.g. Function1(P1Type,P2Type) only if is true. - Whether parameter type names are allowed to appear in the function import name to resolve. - The resolved function import or function import group. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Finds all function imports with the given name which are bindable to an instance of the giving binding type or a more derived type. - - The model to find the function import in. - The binding entity type. - The name of the function imports to find. May be qualified with an entity container name. - The function imports that match the search criteria. - - - - Returns the primitive CLR type for the specified primitive type reference. - - The primitive type to resolve. - Whether the returned type should be a nullable variant or not. - The CLR type for the primitive type reference. - - - - Returns Collection item type name or null if the provided type name is not a collection. - - Collection type name. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't berecognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - - - - - Gets the function import parameter types in string. - - Function import in question. - Comma separated function import parameter types enclosed in parantheses. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - Constant values used related to EPM (entity property mapping). - - - - Attribute name for the FC_KeepInContent attribute used for EPM. - - - Attribute name for the FC_ContentKind attribute used for EPM. - - - Attribute name for the FC_SourcePath attribute used for EPM. - - - Attribute name for the FC_TargetPath attribute used for EPM. - - - Attribute name for the target namespace prefix (FC_NsPrefix) attribute used for custom EPM. - - - Attribute name for the target namespace Uri (FC_NsUri) attribute used for custom EPM. - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - Target path for author/email - - - Target path for author/name - - - Target path for author/uri - - - Target path for contributor/email - - - Target path for contributor/name - - - Target path for contributor/uri - - - Target path for updated - - - Target path for published - - - Target path for rights - - - Target path for summary - - - Target path for title - - - String value for the syndication content kind 'text'. - - - String value for the syndication content kind 'HTML'. - - - String value for the syndication content kind 'XHTML'. - - - - Builder class for the name of EPM attributes as serialized in CSDL. - This class keeps track of the number of mappings for a given type/property and appends post fixes to the names as needed. - - - - Separator character for building attribute names. - - - Current index. - The first time the name builder is used the names have no suffix. - The second time (after calling MoveNext once) - the name builder will use suffix '_1', then suffix '_2' and so on. - - - - Suffix for current attribute names. - - - Constructor - - - Move to next attribute name generation. - - - Current keep-in-content attribute name. - - - Current source path attribute name. - - - Current target path attribute name. - - - Current content kind attribute name. - - - Current namespace prefix attribute name. - - - Current namespace Uri attribute name. - - - - Annotation stored on an entity type to hold entity property mapping information. - - - - - A list of the EPM mappings this cache was constructed for. - Used to determine whether the cache is dirty or not. - - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - EDM model. - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - Constructor. - - The EPM mappings to create the cache for. - The EDM model. - The total number of entity property mappings - for the entity type that this cache is created for (on the type itself and all its base types). - - - - Initializes the EPM annotation with EPM information from the specified type. - - Entity type to use the EPM infromation from. - Entity type for this the EPM information is being built. - - - - Checks whether the current cache is dirty with respect to the . - - The EPM mappings to check this cache against. - true if the are not the same as the ones the cache has been created for (or have changed). - - - - Does given property in the attribute exist in the specified type. - - The type to inspect. - Attribute which has PropertyName. - true if property exists in the specified type, false otherwise. - - - - Inherited EntityPropertyMapping attributes. - - - - - Own EntityPropertyMapping attributes. - - - - - EPM source tree for the type this annotation belongs to. - - - - - EPM target tree for the type this annotation belongs to. - - - - - All EntityPropertyMapping attributes. - - - - - The total number of entity property mappings for the entity type that this cache is created for (on the type itself and all its base types). - - - - - Represents an enumerable of that new items can be added to. - - - - List of the mappings represented by this enumerable. - - - Creates a new instance of the class. - - - Creates a new instance of the class. - An enumerable of used to initialize the instance. This argument must not be null. - - - Adds the mapping to the list of all mappings represented by this class. - The to add to the enumerable represented by this class. - - - Returns an enumerator for the instances in this enumerable. - An enumerator for the instances in this enumerable. - - - Returns a non-generic enumerator for the instances in this enumerable. - A non-generic enumerator for the instances in this enumerable. - - - - The count of mappings stored in this collection. - - - - - Helper methods used by the OData reader for the Verbose JSON format. - - - - - Compares the against the list of supported feed-level properties and - returns the kind of property. - - The name of the property to check. - The kind of feed-level property of the property with name . - - - - Converts the given JSON value to the expected type as per OData conversion rules for JSON values. - - Value to the converted. - Type reference to which the value needs to be converted. - The message reader settings used for reading. - The version of the OData protocol used for reading. - true to validate null values; otherwise false. - The name of the property whose value is being read, if applicable (used for error reporting). - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Ensure that the is not null; if so create a new instance. - - The type of the instance to check. - The instance to check for null. - - - - Checks whether the specified property has already been found before. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - true if the property has not been read before; otherwise false. - - - - Validates that the string property in __metadata is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Verifies that the specified property was not yet found. - - The bit field which stores which metadata properties were found so far. - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in an entity reference links collection is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the count property in an OData-owned object wrapper is valid. - - The value of the property. - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an entity reference link collection were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Verifies that the specified property was not yet found. - - - The bit field which stores which properties of an error or inner error were found so far. - - The bit mask for the property to check. - The name of the property to check (used for error reporting). - - - - Validates that the string property in __mediaresource is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Validates that the property in feed wrapper is valid. - - The value of the property. - The name of the property (used for error reporting). - - - - Gets the payload type name for an OData OM instance for JSON. - - The payload item to get the type name for. - The type name as read from the payload item (or constructed for primitive items). - - - - Converts the given JSON string value to the expected type as per OData conversion rules for JSON values. - - String value to the converted. - Target type to which the string value needs to be converted. - The version of the payload being read. - Object which is in sync with the target type. - - - - Converts the given JSON int value to the expected type as per OData conversion rules for JSON values. - - Int32 value to the converted. - Target type to which the int value needs to be converted. - Type reference to which the value needs to be converted. - true if the conversion should use the V1 provider behavior, false if the default behavior should be used. - Object which is in sync with the property type (modulo the V1 exception of converting numbers to non-compatible target types). - - - - Converts the given datetime value into the allowed target types. - - DateTime value as read by the JsonReader. - Target type to which the datetime value needs to be converted. - Type reference to which the value needs to be converted. - ODataReaderBehavior instance. - Object which is in sync with the target type. - - - - Checks if the given type is a V1 primitive type or not. - - Type instance. - True if the given target type is a V1 primitive type otherwise returns false. - - - - An enumeration of the various kinds of properties on a feed wrapper object. - - - - An unsupported property at the feed level. - - - The inline count property of a feed. - - - The results property of a feed. - - - The next page link property of a feed. - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - An unsupported property at the wrapper level. - - - The inline count property of an entity reference links wrapper. - - - The results property of an entity reference links wrapper. - - - The next page link property of an entity reference links wrapper. - - - - Enumeration of all properties in error payloads, the value of the enum is the bitmask which identifies - a bit per property. - - - We only use a single enumeration for both top-level as well as inner errors. - This means that some bits are never set for top-level (or inner errors). - - - - No property found yet. - - - The "error" of the top-level object. - - - The "code" property. - - - The "message" property of either the error object or the inner error object. - - - The "lang" property of the message object. - - - The "value" property of the message object. - - - The "innererror" or "internalexception" property of the error object or an inner error object. - - - The "type" property of an inner error object. - - - The "stacktrace" property of an inner error object. - - - - Enumeration of all properties in __metadata, the value of the enum is the bitmask which identifies - a bit per property. - - - - No property found yet. - - - The "uri" property. - - - The "type" property. - - - The "etag" property. - - - The "media_src" property. - - - The "edit_media" property. - - - The "content_type" property. - - - The "media_etag" property. - - - The "properties" property. - - - The "id" property. - - - The "actions" property. - - - The "functions" property. - - - - OData reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The entry and feed deserializer to read input with. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - If not null, the Json reader will notify the implementer of the interface of relevant state changes in the Json reader. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: when reading a feed: the reader is positioned on the first item in the feed or the end array node of an empty feed - when reading an entry: the first node of the first navigation link value, null for a null expanded link or an end object - node if there are no navigation links. - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: Any start node - The first entry in the feed - JsonNodeType.EndArray - The end of the feed - Post-Condition: The reader is positioned over the StartObject node of the first entry in the feed or - on the node following the feed end in case of an empty feed - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndArray if the feed is not wrapped in the 'results' wrapper - JsonNodeType.EndObject if the feed is wrapped in the 'results' wrapper - Post-Condition: JsonNodeType.EndOfInput for a top-level feed when not reading a nested payload - JsonNodeType.Property more properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndObject no further properties exist on the owning entry after the expanded link containing the feed - JsonNodeType.EndArray end of expanded link in request, in this case the feed doesn't actually own the array object and it won't read it. - Any in case of expanded feed in request, this might be the next item in the expanded array, which is not an entry - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (feed wrapped in 'results' wrapper) - JsonNodeType.StartArray The first node of the navigation link property value to read next (feed not wrapped in 'results' wrapper) - JsonNodeType.PrimitiveValue (null) The null expanded entry value (representing the end of that entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject end of object of the entry - JsonNodeType.PrimitiveValue (null) end of null expanded entry - Post-Condition: The reader is positioned on the first node after the entry's end-object node - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or wrapped feed inside expanded link) - JsonNodeType.StartArray feed not wrapped with 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) expanded null entry - Post-Condition: JsonNodeType.StartArray: expanded link with a feed that is not wrapped with 'results' wrapper - JsonNodeType.StartObject expanded link with a feed that is warpped with 'results' wrapper - JsonNodeType.PrimitiveValue (null) expanded null entry - JsonNodeType.Property deferred link with more properties in owning entry - JsonNodeType.EndObject deferred link as last property of the owning entry - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNoteType.Primitive (null) If an expanded link with null entity instance was found. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - This method doesn't move the reader - Pre-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - Post-Condition: JsonNodeType.EndObject: expanded link property is last property in owning entry - JsonNodeType.Property: there are more properties after the expanded link property in the owning entry - Any: expanded collection link - the node after the entity reference link. - - - - - Reads the start of a feed and sets up the reader state correctly. - - true if the feed is inside an expanded link. - - Pre-Condition: The first node of the feed; this method will throw if the node is not - JsonNodeType.StartArray: a feed without 'results' wrapper - JsonNodeType.StartObject: a feed with 'results' wrapper - Post-Condition: The reader is positioned on the first item in the feed, or on the end array of the feed. - - - - - Reads the next node in the content of an expanded navigation link which represents a collection and is in a request payload. - - - This method deals with all the special cases in request payload expanded navigation link for collections. - It should be called when the array start of the content of such a link was already read. - It should be called in these cases: - - Start of the navigation link (to report the first content item of it) - - Entity reference link was reported (to report the next item of the navigation link content) - - Feed end was reported, to report the next non-entry item in the navigation link content - - Entry end was reported, to determine if the next entry should be reported, or if the feed should be closed. - - - - - Reads the start of an entry and sets up the reader state correctly - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.StartObject The first node of the navigation link property value to read next (deferred link or entry or >=v2 feed wrapper) - JsonNodeType.StartArray The first node of the navigation link property value with a non-wrapped feed to read next - JsonNodeType.PrimitiveValue (null) The null value of the navigation link property value to read next (expanded null entry) - JsonNodeType.EndObject If no (more) properties exist in the entry's content - - - - - Reads the __metadata property for an entry and resolves its type. - - - - - Verifies that the current item is an instance, - sets the cardinality of the link (IsCollection property) and moves the reader - into state 'NavigationLinkEnd'. - - A flag indicating whether the link represents a collection or not. - - - - Starts the entry, initializing the scopes and such. This method starts a non-null entry only. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link to start. - The navigation property for the navigation link to start. - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Called to transition into the EntryEnd state. - - - - - Returns the current entry state. - - - - - Returns current scope cast to JsonScope - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Interface representing a state of the Verbose JSON reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that during parsing of the entry represented by this state, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Flag which indicates that during parsing of the entry represented by this scope, - the __metadata property was already found. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link in this property. So this will only ever store the first navigation link of an entry. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation property in this property. So this will only ever store the first navigation proeprty of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - Flag which is only used on a StartFeed scope. - true - if the feed is the special feed reported as content of an expanded navigation link in request. - false - if the feed is any other (regular) feed. - - - - - Flag which is used to remember whether the feed was wrapped in with 'results' wrapper and which indicates - whether to expect (and read) '}' character at the end of the feed. Used on StartFeed scope for top level - feeds and on NavigationLinkStart scope for nested expanded feed. - true - if the feed was wrapped in results wrapper - false - if the feed was not wrapped in results wrapper - - - - - Flag which is only used on a StartNavigationLink scope in requests. - true - we already found some content for the navigation link in question and it was (or is going to be) reported to the caller. - false - we haven't found any content for the navigation link yet. - - - - - The entry being read. - - - - - The entity type for the entry (if available). - - - - - Extension methods to make it easier to work with EPM. - - - - - All supported base names for serializable EPM annotations. - - - - - FC_TargetPath to enum mapping. - - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Determines if the has any EPM defined on it (or its base types). - - The model containing the annotations. - The entity type to test for presence of EPM. - true if the has EPM; false otherwise. - - - - Returns the EPM information for an entity type. - - The model containing the annotations. - The entity type to get the EPM information for. - Returns the EPM information for an entity type. If there's no such information, this returns null. - - - - Returns the cached EPM information for an entity type. - - The model containing the annotations. - The entity type to get the cached EPM information for. - Returns the cached EPM information for an entity type. If there's no cached information, this returns null. - - - - Gets all the annotations bindings in order to remove all EPM related annotations from a given . - - The model containing the annotations. - The annotatable to get the EPM annotations for. - A dictionary of local annotation name to annotation binding mappings for all serializable EPM annotations on . - - - - Removes the in-memory EPM annotations from an entity type; potentially also drops an existing EPM cache. - - The containing the annotation. - The to remove the EPM annotation from. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations for. - The EPM cache for the owning entity type. - - - - Saves the EPM annotations on the given . - - The containing the annotations. - The to save the EPM annotations on. - All the EPM annotations to be saved. - true if the source path should be saved explicitly; otherwise false. - true if the prefix of the source path should be removed; otherwise false. - - - - Returns the cached keep-in-content annotation for the primitive properties of a complex type. - - The model containing the annotation. - The complex type to get the cached keep-in-content annotation for. - Returns the keep-in-content annotation for a type. If there's no such annotation this returns null. - - - - Maps the enumeration of allowed values to their string representations. - - Value of the given in - the contstructor. - String representing the xml element path in the syndication property. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the entity type belongs to. - The to load the EPM annotations for. - - - - Loads the serializable EPM annotations on the given into their in-memory representation. - - The model the annotatable belongs to. - The to load the EPM annotations for. - The collection of EPM annotations to add newly loaded annotations to. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - - - - Given a gets the corresponding syndication property. - - Target path in the form of a syndication property name. - - Enumeration value of a or SyndicationItemProperty.CustomProperty - if the does not map to any syndication property name. - - - - - Translates a content kind enumeration value to the corresponding string attribute value for serialization to CSDL. - - The content kind to translate. - A string corresponding to the value. - - - - Translates a syndication item property enumeration value to the corresponding string attribute value for serialization to CSDL. - - The syndication item property to translate. - A string corresponding to the value. - - - - Maps the string to an enumeration value of the enumeration. - - The content kind string to map. - The suffix of the attribute name currently being parsed or validated.Only used in error messages. - The name of the type for which to load the annotations or that declares the . Only used in error messages. - The name of the property to parse the EPM annotations for. Only used in error messages. - An value if the could be successfully mapped; otherwise throws. - - - - Parses the serializable EPM annotations of the , groups them by suffix - and translates them into a set of structs. - - The containing the annotations. - The to parse the EPM annotations for. - The name of the type for which the annotations are parsed or that declares the . Only used in error messages. - The property to parse the EPM annotations for. - An enumerable of that represents all the parsed annotations grouped by their suffix. - - - - Validates the annotation values parsed for an EPM mapping. - - The to validate. - The name of the type for which the annotations are validated or that declares the . Only used in error messages. - The property for which the annotations are validated; null if the annotations are for a type. - An instance that represents the mapping created from the . - - - - Removes an existing EPM cache annotation. - - The containing the annotations. - The to remove the EPM cache from. - - - - Checks whether a given OData annotation is an EPM related annotation. - - The instance to check. - true if the annotation is EPM related; otherwise false. - - - - Checks whether a given serializable annotation represents part of an EPM mapping. - - The annotation to check. - The base name of the EPM annotation. - The suffix of the EPM annotation or null if not an EPM annotation. - true if the is an EPM annotation; otherwise false. - - - - Converts the value of the to a string. - - The to convert. - The string representation of the converted annotation value. - - - - Checks that two strings are the same references (and asserts that if they are not they also - don't have the same value). - - The first string to compare. - The second string to compare. - true if the and are the same reference; otherwise false; - - - - Checks whether the has EPM defined for it (either directly - on the type or on one of the base types). - - The containing the annotation. - The to check. - true if the has EPM defined; otherwise false. - - - - Gets the annotation binding with the OData metadata namespace and the specified for the . - - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - An instance that represnets the annotation with the specified name and value. - - - - Ensures that an up-to-date EPM cache exists for the specified . - If no cache exists, a new one will be created based on the public mappings (if any). - If the public mappings have changed (and the cache is thus dirty), the method re-constructs the cache. - If all public mappings have been removed, the method also removes the EPM cache. - - IEdmModel instance containing the annotations. - IEdmEntityType instance for which to ensure the EPM cache. - The maximum allowed number of entity property mappings - for a given entity type (on the type itself and all its base types). - true if the cache was modified; otherwise false. - An instance of , if there are any EPM mappings for the given entity type, otherwise returns null. - - - - Private struct to store the values of the serializable EPM annotations during loading. - - - - The string value of the FC_SourcePath attribute (or null if not present). - - - The string value of the FC_TargetPath attribute (or null if not present). - - - The string value of the FC_KeepInContent attribute (or null if not present). - - - The string value of the FC_ContentKind attribute (or null if not present). - - - The string value of the FC_NsUri attribute (or null if not present). - - - The string value of the FC_NsPrefix attribute (or null if not present). - - - The attribute suffix used for the attribute names. - - - - Representation of each node in the EpmSourceTree. - - - - - Name of the property under the parent type. - - This fields is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - StartPath property name - - - - Name of the property under the parent type. - - This property is used to differentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionValueItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - - List of sub-properties if this segment corresponds to a complex type. - - - - - Corresponding EntityPropertyMappingInfo. - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the tree. - - - - - corresponding to this tree. - - - - - Constructor which creates an empty root. - - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - - Validates the source tree. - - The entity type for which the validation is performed. - - - - Validates the specified segment and all its subsegments. - - The path segment to validate. - The type of the property represented by this segment (null for open properties). - - - - Returns the type of the property on the specified type. - - The type to look for the property on. - The name of the property to look for. - The type of the property specified. - - - - Root of the tree - - - - - Representation of each node in the EpmTargetTree. - - - - - Name of the xml element/attribute. - - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - - Cached attribute name if the segment represents an attribute. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - If this is a non-leaf element, the child elements/attributes collection. - - - - - Parent element of this element/attribute. - - - - - The EPM info object for this target segment, if there's any. - - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the EpmTargetTree. - - - - - Used for creating non-root nodes in the syndication/custom trees. - - Name of xml element/attribute - URI of the namespace for - Namespace prefix to be used for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - - Name of the xml element/attribute. - - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the property should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root node should not be accessed directly - from anywhere so far. - - - - Retruns name of the attribute the property is mapped to. Must not be called if a property is mapped to an element. - - - - - URI of the namespace to which the belongs. - - - - - Prefix to be used in xml document for . - - - - - EntityPropertyMappingInfo corresponding to current segement. - - - - - Whether this node corresponds to ResourceType or ClientType property values. - - - - - Does this node correspond to xml attribute. - - - - - Parent node in the tree (always an element if present). - - - - - Sub-nodes of this node. Only exist if current node is an element node. - - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a type. - - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Number of properties that have V2 mapping with KeepInContent false. - - - - - Initializes the sub-trees for syndication and non-syndication content. - - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the . - - EnitityPropertyMappingInfo holding the target path - - - - Validates the target tree. - - This also cleans up the tree if necessary. - - - - Checks if mappings could potentially result in mixed content and dis-allows it. - - StartPath being processed. - A list of ancestor attributes that have content. - Can contain a maximum of one attribute when the method is called, must never contain more than two. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - string with the correct value for the target path - - - - Root of the sub-tree for syndication content. - - - - - Root of the sub-tree for custom content. - - - - - Minimum protocol version required to serialize this target tree. - - - - - Class with utility methods for reading ATOM metadata. - - - - - Creates a new instance of ATOM entry metadata. - - The newly created ATOM entry metadata. - - - - Creates a new instance of ATOM feed metadata. - - The newly created ATOM feed metadata. - - - - Adds a new author to entry metadata. - - The entry metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to entry metadata. - - The entry metadata to add the contributor to. - The contributor metadata to add. - - - - Adds a new link to entry metadata. - - The entry metadata to add the link to. - The link metadata to add. - - - - Adds a new link to feed metadata. - - The feed metadata to add the link to. - The link metadata to add. - - - - Adds a new category to entry metadata. - - The entry metadata to add the category to. - The category metadata to add. - - - - Adds a new category to feed metadata. - - The feed metadata to add the category to. - The category metadata to add. - - - - Adds a new author to feed metadata. - - The feed metadata to add the author to. - The author metadata to add. - - - - Adds a new contributor to feed metadata. - - The feed metadata to add the contributor to. - The author metadata to add. - - - - Reader for the EPM syndication-only. Read the EPM properties from ATOM metadata OM. - - - - - Constructor. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads the syndication EPM for an entry. - - The reader entry state for the entry to which the EPM is applied. - The input context currently in use. - - - - Reads an EPM for the entire entry. - - - - - Reads a leaf segment which maps to a property value. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads a non-leaf segment which has sub segments. - - The segment being read. - The ATOM entry metadata to read from. - - - - Reads EPM values from a person construct (author or contributor). - - The target list, this can be either a list of properties (on entry or complex value), - or a list of items (for a collection of primitive types). - The type of the value on which to set the property (can be entity, complex or primitive). - The target segment which points to either author or contributor element. - The person ATOM metadata to read from. - - - - Reads the value of the ATOM text construct and sets it to the EPM. - - The EPM target segment for the value to read. - The text construct to read it from (can be null). - - - - Base class for EPM writers. - - - - The output context currently in use. - - - - Constructor. - - The output context currently in use. - - - - Reads a property value starting on an entry. - - The EPM info which describes the mapping for which to read the property value. - The EPM value cache for the entry to read from. - The type of the entry. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting on a complex value. - - The EPM info which describes the mapping for which to read the property value. - The complex value to start with. - The EPM value cache to use. - The index in the property value path to start with. - The type of the complex value. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - - Reads a property value starting with the specified index to the property value path. - - The EPM info which describes the mapping for which to read the property value. - The enumeration of properties to search for the first property in the property value path. - The index in the property value path to start with. - The type of the entry or complex value the enumeration belongs to. - The EPM value cache to use. - The value of the property (may be null), or null if the property itself was not found due to one of its parent properties being null. - - - The version of OData protocol to use. - - - The settings to control the behavior of the writer. - - - - Interface representing a state of the ATOM reader for entry. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this empty (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element. - - - - - Flag which indicates whether we have found a content element . - - - - - Flag which indicates whether we have found a category element with the required type name. - - - - - Flag which indicates whether we have found a m:properties element. - - - - - Flag indicating if we have already made a decision about the current entry and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - Interface representing a state of the ATOM reader for feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - The ATOM feed metadata to fill as we read the content of the feed. - - - - - Flag which indicates if a m:count element was found. - - - - - Flag which indicates if a link[@rel='next'] element was found. - - - - - Flag which indicates if a link[@rel='self'] element was found. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - OData ATOM deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The ATOM input context to read from. - - - - Reads the start element of a collection. - - true, if the collection element is empty; false otherwise. - An representing the collection-level information. Currently this only contains - the name of the collection. - - Pre-Condition: XmlNodeType.Element - The start element of the collection. - Post-Condition: Any - The next node after the start element node of the collection or the - empty collection element node. - - - - - Reads the end of a collection. - - - Pre-condition: XmlNodeType.EndElement - The end element of the collection. - XmlNodeType.Element - The start element of the collection, if the element is empty. - Post-condition: Any - Next node after the end element of the collection. - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: XmlNodeType.Element - The start element node of the item in the collection. - Post-Condition: Any - The next node after the end tag of the item. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the OData namespace - is found or the reader.EOF is reached. - - - - - Possible content types of expanded navigation link in ATOM. - - - - No content found, no m:inline. - - - Empty content found, m:inline without anything in it. Usually represents null entry. - - - Expanded entry found. - - - Expanded feed found. - - - - OData ATOM deserializer for entries and feeds. - - - - Schema namespace for Atom. - - - XML element name to mark entry element in Atom. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - XML element name to mark content element in Atom. - - - XML element name to mark link element in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark feed element in Atom. - - - XML element name to mark id element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - Atom source attribute name for the content of media link entries. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData element name for the 'count' element - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - - The reader used to parse annotation elements. - - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Ensure a media resource is created for the specified entry. - - The reader entry state for the entry being read. - If set to true, this method will validate that marking the entry as MLE - doesn't collide with it already being marked as non-MLE. - - - - Verified that the reader is positioned on the atom:entry start element node. - - - - - Read the start of the entry. - This method verifies that the current element is atom:entry and it reads the ETag from it. - - The entry instance to fill the properties on. - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not element called atom:entry - Post-Condition: XmlNodeType.Element - The atom:entry element - - - - - Reads the content of an entry (child nodes of the atom:entry, not the atom:content element). - - The reader entry state for the entry being read. - A descriptor representing the navigation link detected; - null if no navigation link was found and the end of the entry was reached. - - Pre-Condition: Anything but Attribute - the child node of the atom:entry element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:entry - The end of the atom:entry element if no nav. link was found and the end of the entry was reached. - XmlNodeType.Element atom:link - The start tag of the atom:link element representing a navigation link. - - - - - Read the end of the entry. - - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The atom:entry empty element to read end of. - XmlNodeType.EndElement atom:entry - The end element of atom:entry to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the start of the feed. - This method verifies that the current element is atom:feed. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not called atom:feed (but won't validate that it's an element) - Post-Condition: XmlNodeType.Element - The atom:feed element - - - - - Reads the content of a feed (child nodes of the atom:feed). - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if an entry was found or false if no more entries were found in the feed. - - Pre-Condition: Anything but Attribute - the child node of the atom:feed element, can be pretty much anything, the method will skip over insignificant nodes and text nodes if found. - Post-Condition: XmlNodeType.EndElement atom:feed - The end of the atom:feed element if no entry was found and the end of the feed was reached. - XmlNodeType.Element atom:entry - The start tag of the atom:entry element representing an entry in the feed. - - - - - Read the end of the feed. - - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The atom:feed empty element to read end of. - XmlNodeType.EndElement atom:feed - The end element of atom:feed to read. - Post-Condition: Any - The node right after the entry element. - - - - - Read the content of the navigation link before any expansion was found. - - - An enumeration value indicating what content was found: - None - no m:inline was found, the link is deferred. The reader is positioned on the atom:link end element. - Empty - empty m:inline was found - usually means null entry. The reader is positioned on empty start m:inline or end element m:inline. - Entry - expanded entry was found. The reader is positioned on the atom:entry element. - Feed - expanded feed was found. The reader is positioned on the atom:feed element. - - - Pre-Condition: Any - a node in the atom:link content. - Post-Condition: XmlNodeType.EndElement atom:link - the end of the navigation link was reached. - XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.Element (empty) m:inline - empty inline was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Determines if the reader is positioned on the m:inline end element or empty m:inline start element. - - true if the reader is on m:inline end element or m:inline empty start element; false otherwise. - - - - Skips everything until an end-element for atom:link is found. - - - This method should only be used to skip the rest of the link content after the ReadNavigationLinkContentBeforeExpansion was called. - Pre-Condition: XmlNodeType.Element atom:entry - start of the expanded entry - XmlNodeType.Element atom:feed - start of the expanded feed - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the content of the navigation link after the expansion was found. - The method returns when the entire atom:link was read. - - - true if the reader is positioned on the empty start tag or end tag of the m:inline element. - false if the reader is inside m:inline (or on the end tag of m:inline). - - - Pre-Condition: Any - child node of the m:inline element (emptyInline == false) - XmlNodeType.Element (empty) m:inline - empty m:inline element (emptyInline = true) - XmlNodeType.EndElement m:inline - end of the m:inline element. - Post-Condition: XmlNodeType.EndElement atom:link - the end element of the navigation link. - - - - - Read the end of the navigation link. - - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: Any - The node right after the link element. - - - - - Reads the entry content in buffering mode and looks for the type name (the category element with the right attributes). - - The type name if one of found or null if none was found. - - Pre-Condition: XmlNodeType.Element - the atom:entry element - Post-Condition: XmlNodeType.Element - the atom:entry element on which the reader started. - - - - - Returns an existing stream property value if it already exists in the list of OData properties otherwise creates a new - ODataProperty for the stream property and returns the value of that property. - - The reader entry state for the entry being read. - The name of the stream property to return. - A new or an existing stream property value. - - - - If the is true, then the default behavior should throw. - - This method assumes the reader is positioned on the duplicated element. - Used to determine if duplicate check should throw an exception. - - - - Reads an ATOM element inside the atom:entry from the input. - - The reader entry state for the entry being read. - - If the atom element is representing a navigation link a descriptor for that link is returned, - otherwise null. - - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element if it's not a navigation link. - XmlNodeType.Element atom:link - The start tag of atom:link if it's a navigation link. - - - - - Reads the atom:content element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:content - The atom:content element to read. - Post-Condition: Any - The node after the atom:content element. - - - - - Reads the attributes of the <atom:content> element. - - The content type attribute value (or null if not found). - The content source attribute value (or null if not found). - - - - Reads the atom:id element in the atom:entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element atom:id - The atom:id element to read. - Post-Condition: Any - The node after the atom:id element. - - - - - Reads the atom:link element in atom:entry. - - The reader entry state for the entry being read. - - If the link is a navigation link the method returns a descriptor representing that link, - otherwise the method returns null. - - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if it's not a navigation link. - XmlNodeType.Element atom:link - The atom:link start tag if it's a navigation link. - - - - - Reads the atom:link element with one of the standard relation values in the atom:entry element. - - The reader entry state for the entry being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a navigation link in entry element. - - The reader entry state for the entry being read. - The value of the rel attribute of the link to read, unescaped parsed URI. - The value of the href attribute of the link to read. - A descriptor of a navigation link if a navigation link was found; null otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - the start tag of the atom:link element - the reader doesn't move - - - - - Reads a stream property edit or read link in an atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true if the link is a stream property read or edit link; otherwise false. - true, if the named stream was read successfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a stream property link in an atom:entry. - - The reader entry state for the entry being read. - The name of the stream property that is being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if we are reading an edit link; otherwise false. - true if the stream property link was read; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an association link in atom:entry. - - The reader entry state for the entry being read. - The rel attribute value for the link, unescaped parsed URI. - The href attribute value for the link (or null if the href attribute was not present). - true, if the association link was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads a an m:action or m:function in atom:entry. - - The reader entry state for the entry being read. - true, if the m:action or m:function was read succesfully, false otherwise. - - Pre-Condition: XmlNodeType.Element m:action|m:function - The m:action or m:function element to read. - Post-Condition: Any - The node after the m:action or m:function element if it was read by this method. - XmlNodeType.Element m:action|m:function - The m:action or m:function element to read if it was not read by this method. - - - - - Reads an ATOM element inside the atom:feed from the input. - - The reader feed state for the feed being read. - true if the feed is inside an expanded link. - true if the atom:entry element was found and the reader was not moved; - false otherwise and the reader is positioned on the next node after the ATOM element. - - Pre-Condition: XmlNodeType.Element in ATOM namespace - The element in ATOM namespace to read. - Post-Condition: Any - The node after the ATOM element which was consumed. - XmlNodeType.Element atom:entry - The start of the atom:entry element (the reader did not move in this case). - - - - - Reads the atom:link element with one of the standard relation values in the atom:feed element. - - The reader feed state for the feed being read. - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - true if the feed is inside an expanded link. - If the rel was one of the recognized standard relations and this method read the link - the return value is true. Otherwise the method doesn't move the reader and returns false. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: Any - The node after the atom:link element if the link was read by this method. - XmlNodeType.Element atom:link - The atom:link element to read if the link was not read by this method. - - - - - Reads the Atom metadata for the link if metadata is required to be read, skip it otherwise. - - The rel attribute value for the link. - The href attribute value for the link (or null if the href attribute was not present). - Action for adding AtomLinkMetadata to the AtomFeedMetadata - - - - Reads the atom:link element's rel and href attributes. - - The value of the rel attribute or null if no such attribute was found. - The value of the href attribute or null if no such attribute was found. - - Pre-Condition: XmlNodeType.Element atom:link - The atom:link element to read. - Post-Condition: XmlNodeType.Element atom:link - The atom:link element to read - the reader doesn't not move. - - - - - Reads the content of navigation link. - - - true if m:inline was found, - false if the end of the atom:link was found. - - - Pre-Condition: Any - a child node of the atom:link element. - Post-Condition: XmlNodeType.Element m:inline - the m:inline was found, the method returns true. - XmlNodeType.EndElement atom:link - the atom:link end element, end of the navigation link, the method returns false. - - - - - Reads content of the m:inline element. - - - Enumeration denoting what was found in the content. - Empty - The end of the m:inline element was found - the reader is positioned on the m:inline end element. - Entry - An expanded entry was found - the reader is positioned on atom:entry element. - Feed - An expanded feed was found - the reader is positioned on atom:feed element. - None - will never be returned. - - - Pre-Condition: Any - child node of the m:inline element. - Post-Condition: XmlNodeType.Element atom:feed - an expanded feed was found. - XmlNodeType.Element atom:entry - an expanded entry was found. - XmlNodeType.EndElement m:inline - empty inline was found. - - - - - Verifies that the specified content type of an atom:content element matches the expected value. - - The content type value read from the payload. - The verified media type name (without parameters or charset) of the content type. - - - - ATOM deserializer for ATOM metadata on entries. - This is created on-demand only when needed, but then it's cached. - - - - - ATOM deserializer for ATOM metadata on feeds. - This is created on-demand only when needed, but then it's cached. - - - - - Flag indicating if ATOM metadata is required to be read by the user. - - - - - OData ATOM deserializer for ATOM metadata on entries. - - - - The empty namespace used for attributes in no namespace. - - - Schema namespace for Atom. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads an element in ATOM namespace in the content of the entry element. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:*) - the ATOM element to read. - Post-Condition: Any - the node after the ATOM element which was read. - - - - - Reads the atom:link element in the entry content. - - The value of the rel attribute for the link element. - The value of the href attribute for the link element. - An instance storing the information about this link, or null if link info doesn't need to be stored. - - Pre-Condition: XmlNodeType.Element (atom:link) - the atom:link element to read. - Post-Condition: XmlNodeType.Element (atom:link) - the atom:link element which was read. - - - - - Reads the atom:category element in the entry content. - - The reader entry state for the entry being read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:category element. - - The ATOM category metadata read. - - Pre-Condition: XmlNodeType.Element (atom:category) - the atom:category element to read. - Post-Condition: Any - the node after the atom:category which was read. - - - - - Reads the atom:source element in the entry content. - - The information in the source element as . - - Pre-Condition: XmlNodeType.Element (atom:source) - the atom:source element to read. - Post-Condition: Any - the node after the atom:source which was read. - - - - - Reads an author element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:author) - the atom:author element to read. - Post-Condition: Any - the node after the atom:author element which was read. - - - - - Reads a contributor element. - - The reader entry state for the entry being read. - The EPM target path segment for the element to read, or null if no EPM for that element is defined. - - Pre-Condition: XmlNodeType.Element (atom:contributor) - the atom:contributor element to read. - Post-Condition: Any - the node after the atom:contributor element which was read. - - - - - Determines if a person element should be read or skipped. - - true if some elements from the collection in question already exist; false if this is the first one. - true if the collection element should be read; false if it should be skipped. - - - - Determines if we should read an element which is allowed to appear only once in ATOM. - - true if we already found such element before; false if this is the first occurence. - true if the element should be processed; false if the element should be skipped. - The method may throw if multiple occurences of such element occure and they should be treated as an error. - - - - Feed ATOM metadata deserializer for deserializing the atom:source element in an entry. - This is created on-demand only when needed, but then it's cached. - - - - - /// OData ATOM deserializer for service document. - - - - The name of the top-level service document element. - - - The name of the 'workspace' element of a service document. - - - href attribute name in Atom. - - - The name of the 'collection' element of a service document. - - - The name of the 'categories' element of a service document. - - - The name of the 'accept' element of a service document. - - - The Atom Publishing Protocol (APP) namespace. - - - The ATOM namespace. - - - The name of the 'title' element of a service document. - - - The emtpy namespace used for attributes in no namespace. - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Constructor. - - The ATOM input context to read from. - - - - Reads a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - Pre-Condition: XmlNodeType.Element - The start element of the service document. - Post-Condtion: XmlNodeType.None - The reader must be at the end of the input. - - - - - Reads a workspace of a service document. - - An representing the workspace of a service document. - - Pre-Condition: Any - the next node after the service element. - Post-Condition: Any - The next node after the workspace element. - - - - - Reads a resource collection element of a workspace of the service document. - - An representing the resource collection in a workspace of a service document. - - Pre-Condition: XmlNodeType.Element - the collection element inside the workspace. - Post-Condition: Any - The next node after the collection element. - - - - - Reads from the Xml reader skipping all nodes until an Element or an EndElement in the ATOM - publishing namespace is found. - - - - - ATOM deserializer for ATOM metadata on service documents. - This is created on-demand only when needed, but then it's cached. - - - - - Handles serialization and deserialization for types derived from Geography. - - - - - Create a geography instance from the value in an Xml reader. - - The Xml reader to use to read the value. - In order to be consistent with how we are reading other types of property values elsewhere in the product, the reader - is expected to be placed at the beginning of the element when entering this method. After this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. The deserializer that uses this value expects - the reader to be in these states when entering and leaving the method. - - Geography instance that was read. - - - - Write the Atom representation of an instance of a primitive type to an XmlWriter. - - The instance to write. - The Xml writer to use to write the instance. - - - - Write the Verbose Json representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - Type name of the instance to write. If the type name is null, the type name will not be written in the payload. - The OData protocol version to be used for writing payloads. - - - - Write the Json Lite representation of an instance of a primitive type to a json writer. - - The instance to write. - Instance of JsonWriter. - The OData protocol version to be used for writing payloads. - - - - Annotation which stores a hashset of property names of a complex type that returned KeepInContent == true - when written the first time. See the comments on ODataWriterBehavior.UseV1ProviderBehavior for more details. - - - - - A hash set with the property names of properties that are kept in the content. - - - - - Constructor. - - Enumeration of property names that are kept in content. - - - - Determines if a property is in a list of properties that are kept in the content. - - The name of the property to lookup. - true if the property is kept in the content; false otherwise. - - - - Atom metadata description for a text construct (plain text, html or xhtml). - - - - Converts a string to an instance. - The instance created for text. - The to convert to an . - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the kind of the text construct (plain text, html, xhtml). - The kind of the text construct. - - - Gets or sets the text content. - The text content. - - - - Enumeration for classifying the different kinds of text content in ATOM metadata. - - - - Plain text. - - - Html text. - - - XHtml text. - - - - XML reader which supports look-ahead. - - - - The "http://www.w3.org/XML/1998/namespace" namespace for the "xml" prefix. - - - The "base" name for the XML base attribute. - - - The 'lang' attribute local name of the xml:lang attribute. - - - XML namespace for data service annotations. - - - XML namespace for data services. This is to provide compatibility with WCF DS client which accepts custom data namespace value. - - - The 'error' local name of the error element. - - - The underlying XML reader this buffering reader is wrapping. - - - The (possibly empty) list of buffered nodes. - This list stores only non-attribute nodes, attributes are stored in a separate list on an element node. - - - - A special buffered node instance which represents the end of input. - We always have just one instance and compare references. - - - - Flag to control if the xml:base attributes should be processed when reading. - - - The maximumum number of recursive internalexception elements to allow when reading in-stream errors. - - - The base URI for the document. - - - A pointer into the bufferedNodes list to track the most recent position of the current buffered node. - - - - A pointer into the linked list of attribute nodes which is only used if the currentBufferedNodeToReport is the attribute value node (not the attribute itself). - In that case it points to the current attribute node. - In all other cases this node is null. - - - - A pointer either into the bufferedNodes list or into the list of attributes on a buffered element node - which points to the node which should be reported to the user. - - - - A flag indicating whether the reader is in buffering mode or not. - - - - A flag indicating that the last node for non-buffering read was taken from the buffer; we leave the - node in the buffer until the next Read call. - - - - Flag to control whether in-stream errors should be detected when reading. - - - The stack of XML base URI definitions. - - - The XML base stack state when the buffering started. This is only used when in buffering mode. - - - Constructor - The reader to wrap. - If this reader is wrapping an inner reader of some kind, this parameter should pass the xml:base effective value of the parent. - The base URI for the document. - Flag to control if the xml:base attributes should be processed when reading. - The maximum number of recursive internalexception elements to allow when reading in-stream errors. - XML namespace for data services. - - - - Reads the next node from the input. - - true if another node is available and the reader has moved to it; false if end of input was reached. - - - - Moves the reader to the element which owns the current attribute. - - true if the reader has moved (that is the current node was an attribute); - false if the reader didn't move (the reader was already positioned on an element or other node). - - - - Moves the reader to the first attribute of the current element. - - true if the reader moved to the first attribute; false if there are no attribute for the current node (the reader didn't move). - - - - Moves the reader to the next attribute on the current element. - - true if the reader moved to the next attribute (if the node was an element it moves to the first attribute); - false if the reader didn't move (no attributes for the current node). - - - - Reads the next node from the value of an attribute. - - true if next node was available; false if end of the attribute value was reached. - - - - Closes the reader and the underlying input. - - - - - Returns the value of an attribute based on its index. - - The index of the attribute, starts at 0. - The value of the attribute at index . - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - The value of the attribute with specified and . - - - - Returns the value of an attribute based on its name. - - The name of the attribute. (prefix:localname) - The value of the attribute with specified . - - - - Looks up a namespace URI based on the prefix. - - The prefix to search for. - The namespace URI for the specified . - - - - Moves the reader to the attribute specified by fully qualified name. - - The local name of the attribute. - The namespace URI of the attribute. - true if the attribute specified by and was found and the reader is positioned on it; - false otherwise. - - - - Moves the reader to the attribute specified by name. - - The name of the attribute (prefix:localname). - true if the attribute specified by was found and the reader is positioned on it; - false otherwise. - - - - Resolves the current entity node. - - - - - Puts the reader into the state where it buffers read nodes. - - - - - Puts the reader into the state where no buffering happen on read. - Either buffered nodes are consumed or new nodes are read (and not buffered). - - - - - The actual implementatin of the Read method. Moves the reader to the next node. - - true if the reader should not check for in-stream errors; otherwise false. - true if next node is available and the reader has moved; false if end-of-input was reached. - - - - Reads the next node from the XML reader and if m:error element node is detected starts reading ahead and - tries to parse an in-stream error. - - true if a new node was found, or false if end of input was reached. - - - - Determines if the specified node is the end of input node. - - The buffered node to test. - true if the node is the special end of input node, false otherwise. - - - - Buffers the current reader state into a node. - - The newly created buffered node. - - - - Returns the current element node (or node which acts like an element, it doesn't have to be of type Element). - - The current element node. - - - - Finds the buffered node for the attribute specified by its index. - - The index of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its local name and namespace URI. - - The local name of the attribute. - The namespace URI of the attribute. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - Finds the buffered node for the attribute specified by its qualified name. - - The qualified name of the attribute to find, that is prefix:localName. - The linked list node of the found attribute, or null if no such attribute could be found. - - - - If the reader is positioned on the attribute value node, this moves it to the owning attribute node. - - - - - Returns the value of an attribute based on its fully qualified name. - - The local name of the attribute. This string must already be atomized against the reader's nametable. - The namespace URI of the attribute. This string must already be atomized against the reader's nametable. - The value of the attribute with specified and . - - Behaves the same as GetAttribute, but it assumes that the parameters are already atomized against our nametable. - This allows the method to be much faster. - - - - - Validates internal state of the reader - debug only. - - - - - Returns the type of the current node. - - - - - Returns true if the reader is positioned on an empty element. - - - - - Returns the local name of the current node. - - - - - Returns the prefix of the current node. - - - - - Returns the namespace URI of the current node. - - - - - Returns the value of the current node. - - - - - Returns the depth of the current node. - - - - - Returns true if the end of input was reached. - - - - - Returns the current state of the reader. - - We need to support ReadState in order for Skip to work without us implementing it again. - - - - Returns the nametable used by the reader. - - - - - Returns the number of attributes on the node. - - - - - Returns the base URI of the node - note that this is not based on the xml:base attribute, just the input streams. - - - - - Returns true if the current node has a value. - - - - - The active XML base URI for the current node. - - - - - The active XML base URI for the parent node (parent element) of the current node. - - - - - Flag to control whether in-stream errors should be detected when reading. - - - - - Class representing one buffered XML node - - - - - The list of attribute nodes, if this node is an element node. - - - - - Constructor. - - The XML reader to get all the interesting values from. The reader - is positioned on the node which the new buffered node should buffer. - - - - Constructor for an attribute value node - - The value of the attribute value node to create. - The parent attribute depth. - The nametable to use. - - - - Constructor for end of input node. - - The atomized instance of an empty string. - - - - Creates a special node which represents the end of input. - - The nametable of the underlying reader. - The newly created node. - - - The type of the buffered node. - - - The namespace URI of the buffered node. - - - The local name of the buffered node. - - - The prefix of the buffered node. - - - The value of the buffered node. - - - The depth of the buffered node. - - - Denotes if the buffered node is an empty element. - - - List of attributes. If the node is not element, this will be null. - - - - Helper class to store XML base URI definition for a specific depth of the reader. - - - - - Constructor. - - The XML base URI for the definition. - The depth of the XML reader for the definition. - - - The base URI for this definition. - - - The depth of the XmlReader on which this XML base is defined. - - - - Atom metadata for stream reference values. - - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - - OData collection reader for ATOM format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type reference for the items in the collection. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.None - assumes that the Xml reader has not been used yet. - Post-Condition: Any - the next node after the collection element node or the empty collection element node. - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the collection element or the empty collection element node. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: Any - the next node after the end tag of the item. - Post-Condition: Any - the next node after the end tag of the item or the collection. - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ends. - - Pre-Condition: Any - the next node after the end tag of the collection element. - Post-Condtion: XmlNodeType.None - the reader is at the end of the input. - - - - - Implementation of the OData input for ATOM OData format. - - - - The XML reader used to parse the input. - Do not use this to actually read the input, instead use the xmlReader. - - - The XML reader to read from. - If entry XML customization is used this is the reader for the current entry. - - - A stack used to track XML customization readers. - - At the beginning the base reader is pushed to the stack. - Each non-null entry has an item on this stack. - If the XML customization was used for a given entry the reader returned by the customization will be pushed to the stack for it. - This is only used from ODataAtomReader, other readers don't use this. - - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Detects the payload kind(s) of the payload. - - Additional information available for the payload kind detection. - An enumerable of zero or more payload kinds depending on what payload kinds were detected. - - - - Initializes the ability to use customization readers. - - - This needs to be called before any of the reader customization functionality is used. - - - - - Pushes a reader on the top of the customization stack. - - The reader to push. - The xml:base URI to use as the base uri for all of the payload read from that reader. - - - - Pops a reader from the top of the customization stack. - - The popped reader, the one which was on the top of the stack before the operation. - - - - Disposes the input context. - - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - This methods creates and reads a service document from the input and returns - an representing the service document. - - An representing the service document. - - - - Read a top-level error. - - An representing the read error. - - - - Reads top-level entity reference links. - - An representing the read entity reference link. - - - - Reads a top-level entity reference link. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - Helper methods used by the OData reader for the ATOM format. - - - - - Creates an Xml reader over the specified stream with the provided settings. - - The stream to create the XmlReader over. - The encoding to use to read the input. - The OData message reader settings used to control the settings of the Xml reader. - An instance configured with the provided settings. - - - - Parses the value of the m:null attribute and returns a boolean. - - The string value of the m:null attribute. - true if the value denotes that the element should be null; false otherwise. - - - - Creates a new XmlReaderSettings instance using the encoding. - - Configuration settings of the OData reader. - The Xml reader settings to use for this reader. - - - - OData reader for the ATOM format. - - - - The input to read the payload from. - - - The deserializer to use to read input. - - - Stack of entry and feed deserializers, we need to create a new one for each XML customization - so that the strings get atomized again and so that we can return to the original one without reatomizing everything. - - - - Constructor. - - The input to read the payload from. - The entity set we are going to read entities for. - The expected entity type for the entry to be read (in case of entry reader) or entries in the feed to be read (in case of feed reader). - true if the reader is created for reading a feed; false when it is created for reading an entry. - - - - Implementation of the reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: PayloadStart - assumes that the XML reader has not been used yet. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading top-level entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the top-level entry (if there were no nav. links. in it). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the top-level entry. - XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry). - - - - - Implementation of the reader logic when in state 'FeedStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry - The start tag of the first entry element to read. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: XmlNodeType.Element atom:feed (empty) - The empty start tag of atom:feed. - XmlNodeType.EndElement atom:feed - The end tag of the atom:feed. - XmlNodeType.Element atom:entry (empty) - The empty start tag of the first entry in the feed. - XmlNodeType.EndElement atom:entry - The end tag of the first entry in the feed (if it had no nav. links). - XmlNodeType.Element atom:link - the atom:link element representing the first navigation link in the first entry in the feed. - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - - - - - Implementation of the reader logic when in state 'FeedEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:feed - The empty start tag of atom:feed - XmlNodeType.EndElement atom:feed - The end element of the atom:feed - XmlNodeType.Element m:inline (empty) - The empty start tag of an expanded navigation link m:inline element which we report as empty feed. - XmlNodeType.EndElement m:inline - The end tag of an expanded navigation link m:inline element which we report as empty feed. - Post-Condition: Any - The node right after the top-level atom:feed element - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'EntryStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: XmlNodeType.Element atom:entry (empty) - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end tag of the atom:entry. - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'EntryEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:entry - The empty start tag of atom:entry. - XmlNodeType.EndElement atom:entry - The end element of the atom:entry. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - Post-Condition: Any - The node right after the top-level atom:entry element. - XmlNodeType.EndElement atom:feed - The end element of the parent feed for the entry. - XmlNodeType.Element (empty) atom:entry - The empty start tag of the next entry in the parent feed. - XmlNodeType.EndElement atom:entry - The end element of the next entry in the parent feed (if it had no nav. links). - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the next entry in the parent feed. - XmlNodeType.EndElement atom:link - The end of parent expanded link. - - - - - Implementation of the reader logic when in state 'NavigationLinkStart'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element atom:link - the atom:link element representing the navigation link. - Post-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link of a deferred navigation link. - XmlNodeType.Element atom:entry - the atom:entry element of the expanded entry. - XmlNodeType.Element atom:feed - the atom:feed element of the expanded feed. - XmlNodeType.Element (empty) m:inline - the empty m:inline element of an expanded null entry. - XmlNodeType.EndElement m:inline - the end element m:inline of an expanded null entry. - - - - - Implementation of the reader logic when in state 'NavigationLinkEnd'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of a deferred navigation link. - XmlNodeType.EndElement atom:link - the end element atom:link. - Post-Condition: XmlNodeType.EndElement atom:entry - the end element atom:entry of the parent entry if there are no more navigation links. - XmlNodeType.Element atom:link - the atom:link element of the next navigation link of the parent entry. - - - - - Implementation of the reader logic when in state 'EntityReferenceLink'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: XmlNodeType.Element (empty) atom:link - the empty atom:link element of an entity reference link. - XmlNodeType.EndElement atom:link - the end element atom:link of the entity reference link. - Post-Condition: Unchanged - the reader doesn't change its position. - - - - - Reads the start of a feed and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:feed. - Post-Condition: XmlNodeType.Element (empty) atom:feed - The feed element when reading top-level feed and the feed element is empty. - XmlNodeType.EndElement atom:feed - The end element of the top-level feed (if there were no entries in it). - XmlNodeType.Element atom:entry - if the feed contains an entry (the start tag of the first entry) - - - - - Reads the start of an entry and sets up the reader state correctly. - - - Pre-Condition: XmlNodeType.Element - The method will fail if it's not atom:entry. - Post-Condition: XmlNodeType.Element (empty) atom:entry - The entry element when reading entry and the entry element is empty. - XmlNodeType.EndElement atom:entry - The end element of the entry (if there were no nav. links. in it) - XmlNodeType.Element atom:link - The start tag of the atom:link which represents the first navigation link in the entry. - - - - - End the entry. - - - - - Starts the navigation link. - Does metadata validation of the navigation link and sets up the reader to report it. - - The navigation link descriptor for the navigation link to start. - - - - Moves the reader from the start state of a non-expanded navigation link. - - - - - Creates a new for the specified and - with the provided and pushes it on the stack of scopes. - - The to use for the new scope. - The item to attach with the state in the new scope. - The expected type for the new scope. - - - - Replaces the current scope with a new with the specified and - the item of the current scope. - - The to use for the new scope. - - - - Replaces the current scope with a new FeedEnd scope and the item of the current scope. - - - - - Returns the current entry state. - - - - - Returns the current feed state. - - - - - A reader scope; keeping track of the current reader state and an item associated with this state. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property have null value, we don't know for sure yet (both are possible), it it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - Bitfield to track the current state of the ATOM scope. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The ATOM feed metadata to fill as we read the content of the entry. - - - This is lazily initialized only when it's actually needed. - - - - - The cache for values read from custom EPM. - - - This is lazily initialized only when it's actually needed. - - - - - Constructor creating a new reader scope. - - The reader state of this scope. - The item attached to this scope. - The expected type for the scope. - The has the following meanings for given state: - Start - it's the expected base type of the top-level entry or entries in the top-level feed. - FeedStart - it's the expected base type of the entries in the feed. - note that it might be a more derived type than the base type of the entity set for the feed. - EntryStart - it's the expected base type of the entry. If the entry has no type name specified - this type will be assumed. Otherwise the specified type name must be - the expected type or a more derived type. - NavigationLinkStart - it's the expected base type the entries in the expanded link (either the single entry - or entries in the expanded feed). - In all cases the specified type must be an entity type. - - - - Sets the bit identified by the if is true, otherwise clears it. - - Indicates if the should be set - Identifies the bit to set in atomScopeState - - - - Returns true if the bit identified by is set, false otherwise. - - Identifies the bit to set in atomScopeState - True if the bit identified by the is set, false otherwise - - - - Flag which indicates that the element representing the current state is empty. - - - - - Flag indicating if we have already made a decision about the current Entry (represented by this scope) - and its being MLE or not. - If this property has a null value, we don't know for sure yet (both are possible), if it has non-null value - then we already know for sure and if we find something different we should fail. - - - - - If the reader finds a navigation link to report, but it must first report the parent entry - it will store the navigation link descriptor in this property. So this will only ever store the first navigation link of an entry. - - - - - The duplicate property names checker for the entry represented by the current state. - - - - - The EPM information for the entry, or null if there's no EPM for this entry. - - - - - trye if the EpmCustomReaderValueCache has been initialized; false otherwise. - - - - - true if the AtomEntryMetadata has been initialized; false otherwise. - - - - - The navigation property retrieved from the metadata when reading a navigation link. - - - - - The entry being read. - - - - - The entity type for the entry (if available) - - - - - Flag which indicates that the ATOM entry element representing the entry is empty. - - - - - Flag which indicates whether we have found a read link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an edit-media link for this entry (even if it had a null URI value). - - - - - Flag which indicates whether we have found an id element for this entry. - - - - - Flag which indicates whether we have found a content element for this entry. - - - - - Flag which indicates whether we have found a category element for this entry. - - - - - Flag which indicates whether we have found a m:properties element for this entry. - - - - - Flag which indicates whether we have found a m:count elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='next'] elemnent for this feed. - - - - - Flag which indicates whether we have found a link[@rel='self'] elemnent for this feed. - - - - - Flag which indicates if a link[@rel='http://docs.oasis-open.org/odata/ns/delta'] element was found. - - - - - The ATOM entry metadata to fill as we read the content of the entry. - - - - - The cache for values read from custom EPM. - - - This should only be accessed if there's CachedEpm available for this entry. - - - - - The feed metadata to fill as we read the content of a feed. - - - - - The feed being read. - - - - - Flag which indicates that the ATOM feed element representing the feed is empty. - - - - - An enumeration of the various kinds of properties on an entity reference link collection. - - - - No state information. - - - Empty element. - - - A read link has been detected for this entry. - - - An edit link has been detected for this entry. - - - An id link has been detected for this entry. - - - A content element has been detected for this entry. - - - A category element which has the required type name has been detected for this entry. - - - A m:properties element has been detected for this entry. - - - A m:count link has been detected for this feed. - - - A link[@rel='next'] link has been detected for this feed. - - - A link[@rel='self'] link has been detected for this feed. - - - An edit-media link has been detected for this entry. - - - A link[@rel='http://docs.oasis-open.org/odata/ns/delta'] has been detected for this entry. - - - - Extension methods for the XML reader. - - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: Any - the node after the element. - - This method is similar to ReadElementContentAsString with one difference: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - - - - Reads the value of the first text, CDATA or significant whitespace node. - - The reader to read from. - The value of the first text, CDATA or significant whitespace node. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - Post-Condition: Any - the node after the element. - - - - - Reads the value of the element as a string. - - The reader to read from. - The string value of the element. - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - This method is similar to ReadElementContentAsString with two differences: - - It ignores Whitespace nodes - this is needed for compatiblity, WCF DS ignores insignificant whitespaces - it does that by setting the IgnoreWhitespace option on reader settings, ODataLib can't do that - cause it doesn't always control the creation of the XmlReader, so it has to explicitely ignore - insignificant whitespaces. - - It leaves the reader positioned on the EndElement node (or the start node if it was empty). - - - - - Reads from the XML reader skipping insignificant nodes. - - The XML reader to read from. - Do not use MoveToContent since for backward compatibility reasons we skip over nodes reported as Text which have - whitespace only content (even though the XmlReader should report those as Whitespace). - - - - Skips the content of the element and leaves the reader on the end element (or empty start element) - - The reader to read from. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - - - - - Reads from the input until the first element is found. - - The XML reader to read from. - - Pre-Condition: XmlNodeType.None - the reader hasn't been used yet. - Post-Condition: XmlNodeType.Element - the reader is positioned on the root/first element. - Note that the method will fail if the top-level contains any significant node other than the root element - or if no root element is found. - - - - - Reads till the end of the input payload. - - The XML reader to read from. - - Pre-Condition: any - the reader will verify that only insignificant node is present. - Post-Condition: XmlNodeType.None - the reader is at the end of the input. - - - - - Determines if the current node's namespace equals to the specified - - The XML reader to get the current node from. - The namespace URI to compare, this must be a string already atomized in the name table. - true if the current node is in the specified namespace; false otherwise. - - - - Determines if the current node's local name equals to the specified - - The XML reader to get the current node from. - The local name to compare, this must be a string already atomized in the name table. - true if the current node has the specified local name; false otherwise. - - - - Tries to read the current element as an empty element (no or empty content). - - The XML reader to read from. - true if the reader was on an empty element; false otherwise. - - Pre-Condition: XmlNodeType.Element - the element to read - XmlNodeType.Attribute - attribute on the element to read - Post-Condition: XmlNodeType.Element - if the element was empty element with no content. - XmlNodeType.EndElement - if the element was element with empty content. - any other - the first child node of the element, in this case the method returns false. - - - - - Reads to the next element encountered in an Xml payload. - - The to read from. - true if the method reached the next element; otherwise false. - - - - Checks whether the specifies string is null or blank. - - Text to check. - true if text is null, empty, or all whitespace characters. - - - - Helper class to verify that no duplicate properties are specified for entries and complex values. - - - - Special value for the property annotations which is used to mark the annotations as processed. - - - true if duplicate properties are allowed; otherwise false. - - See the comment on ODataWriterBehavior.AllowDuplicatePropertyNames or - ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - - - true if we're processing a response; false if it's a request. - - - - A cache of property names to detect duplicate property names. The value stored - for a given property name indicates what should happen if another property with the same name is found. - See the comments on for more details. - - - - - Constructor. - - true if duplicate properties are allowed; otherwise false. - true if we're processing a response; false if it's a request. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The property to be checked. - - - - Checks the for duplicate property names in an entry when the navigation link - has started but we don't know yet if it's expanded or not. - - The navigation link to be checked. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - The association link with the same name if there already was one. - - - - Check the for duplicate property names in an entry or complex value. - If not explicitly allowed throw when duplicate properties are detected. - If duplicate properties are allowed see the comment on ODataWriterBehavior.AllowDuplicatePropertyNames - or ODataReaderBehavior.AllowDuplicatePropertyNames for further details. - - The association link to be checked. - The navigation link with the same name as the association link if there's one. - - - - Clear the internal data structures of the checker so it can be reused. - - - - - Adds an OData annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - The valud of the annotation to add. - - - - Adds a custom annotation to a property. - - The name of the property to add annotation to. string.empty means the annotation is for the current scope. - The name of the annotation to add. - - - - Returns OData annotations for the specified property with name . - - The name of the property to return the annotations for. - Enumeration of pairs of OData annotation name and and the annotation value, or null if there are no OData annotations for the property. - - - - Marks the property to note that all its annotations were already processed. - - The property name to mark. - - Properties marked like this will fail if there are more annotations found for them in the payload. - - - - - Returns the names of all properties which have not been marked as processed through . - - A set of property names. - - - - Throw if property is processed already. - - Name of the property. - DuplicationRecord of the property. - - - - Indicates whether a property's annotations have not yet been processed. - - The name of the property to check. - true if the property associated with the given name has unprocessed annotations. - - - - Decides whether a the given supports duplicates (if allowed by the settings). - - The property to check. - true if the supports duplicates (if allowed by the settings); otherwise false. - - - - Determines the effective value for the isCollection flag. - - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - The effective value of the isCollection flag. Note that we can't rely on singleton links which are not expanded since - those can appear even in cases where the actual navigation property is a collection. - We allow singleton deferred links for collection properties in requests, as that is one way of expressing a bind operation. - - - - Sets the properties on a duplication record for a navigation link. - - The duplication record to modify. - The navigation link found for this property. - true if the navigation link is expanded, false otherwise. - true if the navigation link is marked as collection, false if it's marked as singletong or null if we don't know. - - - - Tries to get an existing duplication record for the specified . - - The property name to look for. - The existing duplication if one was already found. - true if a duplication record already exists, false otherwise. - This method also initializes the cache if it was not initialized yet. - - - - Checks for duplication of a navigation link against an existing duplication record. - - The name of the navigation link. - The existing duplication record. - This only performs checks possible without the knowledge of whether the link was expanded or not. - - - - Gets a duplication record to use for adding property annotation. - - The name of the property to get the duplication record for. - The name of the annotation being added (only for error reporting). - The duplication record to use. This will never be null. - - - - An enumeration to represent the duplication kind of a given property name. - - - This enumeration is used to determine what should happen if two properties with the same name are detected on an entry or complex value. - When the first property is found, the initial value is set based on the kind of property found and the general setting to allow or disallow duplicate properties. - When a second property with the same name is found, the duplication kind can be 'upgraded' (e.g., from association link to navigation property), 'ignored' (e.g. - when finding the association link for an existing navigation property or when duplicate properties are allowed by the settings) or 'fail' - (e.g., when duplicate properties are not allowed). - - - - We don't know enough about the property to determine its duplication kind yet, we've just seen a property annotation for it. - - - Duplicates for this property name are not allowed. - - - This kind indicates that duplicates are allowed (if the settings allow duplicates). - - - A navigation link or association link was reported. - - - - A record of a single property for duplicate property names checking. - - - - - Constructor. - - The duplication kind of the record to create. - - - - The duplication kind of the record to create. - - - - - The navigation link if it was already found for this property. - - - - - The association link if it was already found for this property. - - - - - true if we know for sure that the navigation property with the property name is a collection, - false if we know for sure that the navigation property with the property name is a singleton, - null if we don't know the cardinality of the navigation property for sure (yet). - - - - - Dictionary of OData annotations for the property for which the duplication record is stored. - - - The key of the dictionary is the fully qualified annotation name (i.e. odata.type), - the value is the parsed value of the annotation (this is annotation specific). - - - - - Hashset of custom annotations for the property for which the duplication record is stored. - - - This is just a hashset for now since we don't read custom annotations, we just need to check for duplicates. - - - - - Utility methods serializing the xml error payload - - - - Default language for error messages if not specified. - - This constant is included here since this file is compiled into WCF DS Server as well - so we can't compile in the ODataConstants. - - - - - Extracts error details from an . - - The ODataError instance to extract the error details from. - A data service-defined string which serves as a substatus to the HTTP response code. - A human readable message describing the error. - The language identifier representing the language the error message is in. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write an error message. - - The Xml writer to write to. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - The maximumum number of nested inner errors to allow. - - - - Writes the inner exception information in debug mode. - - The Xml writer to write to. - The inner error to write. - The local name of the element representing the inner error. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - OData JSON deserializer for collections. - - - - Cached duplicate property names checker to use if the items are complex values. - - - - Constructor. - - The JSON input context to read from. - - - - Reads the start of a collection; this includes collection-level properties (e.g., the 'results' property) if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - An representing the collection-level information. Currently this is only the name of the collection in ATOM. - - Pre-Condition: JsonNodeType.StartArray: for a V1 collection - JsonNodeType.StartObject: for a >=V2 collection - Post-Condition: JsonNodeType.StartArray: the start of the array of the collection items - - - - - Reads an item in the collection. - - The expected type of the item to read. - The collection validator instance if no expected item type has been specified; otherwise null. - The value of the collection item that was read; this can be an ODataComplexValue, a primitive value or 'null'. - - Pre-Condition: The first node of the item in the collection - NOTE: this method will throw if the node is not - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no more items in the collection - - - - - Reads the end of a collection; this includes collection-level properties if the version permits it. - - true if the results wrapper should be in the payload being read; false otherwise. - - Pre-Condition: EndArray node: End of the collection content array - Post-Condition: EndOfInput: V1 collection - EndObject V1 collection in response - EndObject wrapped collection with no extra properties after the 'results' property - Property wrapped collection with extra properties after the 'results' property - - - - - OData JSON deserializer for entity reference links. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Reads the properties of an entity reference link. - - The instance to set the read property values on. - The bit field with all the properties already read. - true if the method found the 'results' property; otherwise false. - - - - Read an entity reference link. - - An instance of which was read. - - Pre-Condition: any node - This method will throw if the node type is not a StartObject node - Post-Condition: any node - - - - - OData Verbose JSON deserializer for entries and feeds. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Reads the start of a feed; this includes feed-level properties if the version permits it. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.StartArray: for a feed without 'results' wrapper - JsonNodeType.StartObject: for a feed wrapped with 'results' wrapper - Post-Condition: Any start node The first item in the feed - JsonNodeType.EndArray: The end of the feed - - - - - Reads the end of a feed; this includes feed-level properties if the version permits them. - - The instance to fill with the data read. - A flag indicating whether we expect the results wrapper for feeds to be present. - true if the feed is inside an expanded link. - - Pre-Condition: JsonNodeType.EndArray - Post-Condition: JsonNodeType.EndArray if the feed is not wrapped - JsonNodeType.EndObject if the feed is wrapped - - - - - Reads the start of an entry (non-null) - - - Pre-Condition: JsonNodeType.StartObject Will fail if it's anything else - Post-Condition: JsonNodeType.Property The first property of the entry - JsonNodeType.EndObject The end of the property object - - - - - Reads the entry metadata property. - - The state of the reader for entry to read. - - This method does not move the reader. - Pre-Condition: JsonNodeType.Object The start object of the __metadata property value. - Post-Condition: JsonNodeType.EndObject The end object of the __metadtaa property value. - - - - - Validates entry metadata properties against the model. - - The state of the reader for entry to read. - - This method must be called only after the ReadEntryMetadata was already called. - It should be called always, regardless of whether the __metadata property was found ot not. - - - - - Reads the content of an entry until a navigation link is detected. - - The state of the reader for entry to read. - If a navigation link was found this parameter will hold the navigation property for that link, otherwise it's null. - A instance representing the navigation link detected while reading the entry contents; null if no navigation link was detected. - - Pre-Condition: JsonNodeType.Property The property to read - JsonNodeType.EndObject If no (more) properties exist in the entry's content - Post-Condition: JsonNodeType.EndObject If no (more) properties exist in the entry's content - JsonNodeType.StartObject The first node of the navigation link property value to read next - (deferred link or entry inside expanded link or feed with 'results' wrapper inside expanded link) - JsonNodeType.StartArray feed without 'results' wrapper inside of expanded link - JsonNodeType.PrimitiveValue (null) Expanded null entry - - - - - Reads the Url of a non-expanded link and moves the reader forward to the position after the link. - - The navigation link to set the Url on. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the deferred link - Post-Condition: JsonNodeType.Property: the next property after the deferred link - JsonNodeType.EndObject the end of the owning entry if the deferred link is the last property - - - - - Reads the entity reference link and moves the reader forward to the position after the link. - - The entity reference link read from the payload. - - Pre-Condition: JsonNodeType.StartObject: the start of the object representing the entity reference link - Post-Condition: JsonNodeType.Property: the next property after the entity reference link - JsonNodeType.EndObject: the end of the owning entry if the entity reference link is the last property - JsonNodeType.EndArray: the end of the owning array (if the entity reference link is part of expanded feed) - Any: the next item in the owning array (if the entity reference link is part of expanded feed) - - - - - Analyzes the current navigation property node to determine whether it represents a deferred link. - - true if we already detected a navigation link and now determine its kind; false if we are detecting a deferred navigation link. - true if the current navigation property represents a deferred link; false for an expanded navigation link. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Analyzes the current node to determine whether it represents an entity reference link. - - true if the current node represents an entity reference link; false is it's an entry or something else. - - This method does not move the reader. - Pre-Condition: The first node of the property value - Post-Condition: The first node of the property value - - - - - Adds a new property to an entry. - - The entry state for the entry to add the property to. - The name of the property to add. - The value of the property to add. - - - - Read a feed-level property (e.g., __count, __next, etc.) and check its version compliance. - This method fails on properties that are not recognized as feed-level properties. - - The instance to fill with the data read. - The name of the property being read. - true if the feed is inside an expanded link. - - Pre-Condition: The reader is on the first node of the feed-level property's value. - Post-Condition: JsonNodeType.Property: the next feed property to read or - JsonNodeType.EndObject: the end of the results wrapper - - - - - Read an entry-level property and check its version compliance. - - The state of the reader for entry to read. - The EDM property of the property being read, or null if the property is an open property. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an open property. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - - - - Read an undeclared property. That is a property which is not declared by the model, but the owning type is not an open type. - - The state of the reader for entry to read. - The name of the open property to read. - - Pre-Condition: The reader is positioned on the first node of the property value - Post-Condition: JsonNodeType.Property: the next property of the entry - JsonNodeType.EndObject: the end-object node of the entry - - A navigation link instance if the propery read is a navigation link which should be reported to the caller. - Otherwise null if the property was either ignored or read and added to the list of properties on the entry. - - - - Reads a stream property value. - - The value of the stream property. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: almost anything - the node after the stream reference (after the EndObject) - - - - - Reads the uri property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'uri' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the id property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'id' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the etag property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_src property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_src' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the edit_media property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'edit_media' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the content_type property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'content_type' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the media_etag property in metadata value. - - The bit fields with all the properties found in metadata value so far. - The media resource value for the entry. - - Pre-Condition: first node of the 'media_etag' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the actions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'actions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the functions property in metadata value. - - The entry being read. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'functions' property's value - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Read the property metadata for the properties of an entry being read. - - The entry state for the current reader. - The bit fields with all the properties found in metadata value so far. - - Pre-Condition: first node of the 'properties' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - This method will not validate anything against the model because it will read the type name and thus it can't rely - on knowing the actual type of the entry being read. - - - - - Read the 'actions' or 'functions' metadata for the entry being read. - - The the 'actions' or 'functions' metadata is read for. - When True the 'actions' metadata is being read, otherwise 'functions' metadata is being read. - - Pre-Condition: first node of the 'actions' or 'functions' property's value (we will throw if this is not a start object node) - Post-Condition: JsonNodeType.Property: the next metadata property - JsonNodeType.EndObject: the end-object node of the metadata object - - - - - Reads the stream reference metadata from the value of the __mediaresource property. - - The value of the stream reference with the metadata properties filled. - - Pre-Condition: Fails if the current node is not a JsonNodeType.StartObject - Post-Condition: Either a property node or an EndObject node. - - - - - Tries to resolve the payload URI using the custom URI resolver. If the custom resolver fails, it returns the actual URI from the payload. - - the URI to be resolved. - A resolved URI or the URI from the payload, if the custom resolver fails. - - - - Validates that the value of a JSON property can represent navigation link. - - true if the property is entity set reference property; false for a resource reference property. - - - - Determines whether a property of an entry should be skipped during reading. - - true if the current property should be skipped; otherwise false. - - - - Operations deserializer context to pass to JSON operations reader. - - - - - The entry to add operations to. - - - - - The deserializer to use. - - - - - Constructor. - - The entry to add operations to. - The deserializer to use. - - - - Given a URI from the payload, this method will try to make it absolute, or fail otherwise. - - The URI string from the payload to process. - An absolute URI to report. - - - - Adds the specified action to the current entry. - - The action whcih is fully populated with the data from the payload. - - - - Adds the specified function to the current entry. - - The function whcih is fully populated with the data from the payload. - - - - The JSON reader to read the operations value from. - - - - - OData Verbose JSON deserializer for errors. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a top-level error. - - An representing the read error. - - - - Reads an inner error payload. - - The number of times this method has been called recursively. - An representing the read inner error. - - Pre-Condition: any - will throw if not StartObject - Post-Condition: JsonNodeType.Property - The next property in the error value - JsonNodeType.EndObject - The end of the error value - - - - - Implementation of the OData input for Verbose JSON OData format. - - - - The text reader created for the input stream. - - The ODataJsonInputContext instance owns the textReader instance and thus disposes it. - We further set this field to null when the input is disposed and use it for checks whether the instance has already been disposed. - - - - The JSON reader to read from. - - - Constructor. - The format for this input context. - The reader to read data from. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - This method creates an reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - The navigation property for which to read the entity reference links. - An representing the read links. - - - - Reads a top-level entity reference link. - - The navigation property for which to read the entity reference link. - An representing the read entity reference link. - - - - Detects the payload kind(s) from the message stream. - - An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream. - - - - Disposes the input context. - - - - - Helper method to create a TextReader over the message stream. This is needed by the constructor to dispose the message stream if the creation fails - since this is called from the constructor in place where exception handling is not possible. - - The stream to read data from. - The encoding to use to read the input. - The newly created text reader. - - - - Verifies that CreateParameterReader can be called. - - The function import whose parameters are being read. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entries in the feed. - The newly created . - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The newly created . - - - - Create a . - - The expected type reference for the items in the collection. - Newly create . - - - - Create a . - - The function import whose parameters are being read. - The newly created . - - - - This method creates and reads the property from the input and - returns an representing the read property. - - The producing the property to be read. - The expected type reference of the property to read. - An representing the read property. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Read a top-level error. - - An representing the read error. - - - - Read a set of top-level entity reference links. - - An representing the read links. - - - - Reads a top-level entity reference link - implementation of the actual functionality. - - An representing the read entity reference link. - - - - Returns the which is to be used to read the content of the message. - - - - - OData JSON deserializer for service documents. - - - - - Constructor. - - The Verbose JSON input context to read from. - - - - Read a service document. - This method reads the service document from the input and returns - an that represents the read service document. - - An representing the read service document. - - - - Class representing implementation specific debugging information to help determine the cause of the error. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class with exception object. - The used to create the inner error. - - - Gets or sets the error message. - The error message. - - - Gets or sets the type name of this error, for example, the type name of an exception. - The type name of this error. - - - Gets or sets the stack trace for this error. - The stack trace for this error. - - - Gets or sets the nested implementation specific debugging information. - The nested implementation specific debugging information. - - - - OData representation of a top-level collection. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the name of the collection (ATOM only). - The name of the collection. - - - - Provides additional serialization information to the for this . - - - - - OData collection reader for the Verbose JSON format. - - - - The input to read the payload from. - - - The collection deserializer to use to read from the input. - - - - Constructor. - - The input to read the payload from. - The expected type for the items in the collection. - If not null, the reader will notify the implementer of the interface of relevant state changes in the reader. - - - - Implementation of the collection reader logic when in state 'Start'. - - true if more items can be read from the reader; otherwise false. - - Pre-Condition: JsonNodeType.None: assumes that the JSON reader has not been used yet when not reading a nested payload. - Post-Condition: The reader is positioned on the first node of the first item or the EndArray node of an empty item array - - - - - Implementation of the reader logic when in state 'CollectionStart'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the first item in the collection or the EndArray node of the (empty) item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for an empty item array of the collection - JsonNodeType.StartObject: for a complex value as first item - JsonNodeType.PrimitiveValue: for a primitive value as first item - Post-Condition: The reader is positioned on the first node of the second item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'Value'. - - true if more nodes can be read from the reader; otherwise false. - - Pre-Condition: The first node of the next item in the collection or the EndArray node of the item array - NOTE: this method will throw if the node is not - JsonNodeType.EndArray: for the end of the item array of the collection - JsonNodeType.StartObject: for a complex item - JsonNodeType.PrimitiveValue: for a primitive item - Post-Condition: The reader is positioned on the first node of the next item or an EndArray node if there are no items in the collection - - - - - Implementation of the reader logic when in state 'CollectionEnd'. - - false since no more nodes can be read from the reader after the collection ended. - - Pre-Condition: JsonNodeType.EndArray the end of the item array of the collection - Post-Condition: JsonNodeType.EndOfInput nothing else to read when not reading a nested payload - - - - - Set to true if collections are expected to have the 'results' wrapper. - Collections are only expected to have a results wrapper if - (a) the protocol version is >= 2 AND - (b) we are reading a response - NOTE: OIPI does not specify a format for >= v2 collections in requests; we thus use the v1 format and consequently do not expect a result wrapper. - - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state, the Item property of the returns null. - - - - The reader has started reading and is reading the start element of the collection wrapper (if any). - No items have been read. - - - In this state, the Item property of the returns - an instance of . - - - - - The reader read an item from the collection. - - In this state, the Item property of the returns the read item (a primitive value, an ODataComplexValue or null). - - - - The reader has finished reading and is reading the end element of the collection wrapper (if any). - All items have been read. - - - In this state, the Item property of the returns the same - instance of as in state CollectionStart. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state, the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state, the Item property of the returns null. - - - - - Exception type representing an in-stream error parsed when reading a payload. - - - - The value containing instance representing the error - read from the payload. - - - - Creates a new instance of the class with default values. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message. - The plain text error message for this exception. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an error message and an inner exception. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - - The Error property will be initialized with an empty instance. - - - - Creates a new instance of the class with an object. - The instance representing the error read from the payload. - - The Message property is initialized to a system-supplied message - that describes the error. This message takes into account the - current system culture. - - - - Creates a new instance of the class with an error message and an object. - The plain text error message for this exception. - The instance representing the error read from the payload. - - - Creates a new instance of the class with an error message, an inner exception, and an object. - The plain text error message for this exception. - The inner exception that is the cause of this exception to be thrown. - The instance representing the error read from the payload. - - - Gets the instance representing the error read from the payload. - The instance representing the error read from the payload. - - - - Implement the ISafeSerializationData interface to contain custom exception data in a partially trusted assembly. - Use this interface in post-ORCAS to replace the Exception.GetObjectData method, which is marked with the SecurityCriticalAttribute. - - - - - Gets or sets the object. - - - - - Implementation of the OData input for RAW OData format (raw value and batch). - - - - Use a buffer size of 4k that is read from the stream at a time. - - - The to read. - - - The encoding to use to read from the batch stream. - - - The input stream to read the data from. - - - The text reader to read non-binary values from. - - - Constructor. - The format for this input context. - The stream to read data from. - The encoding to use to read the input. - Configuration settings of the OData reader. - The OData protocol version to be used for reading the payload. - true if reading a response message; otherwise false. - true if the input should be read synchronously; false if it should be read asynchronously. - The model to use. - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - The to read. - - - - Create a . - - The batch boundary to use. - The newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Disposes the input context. - - - - - Create a . - - The batch boundary to use. - If the reader should be created for synchronous or asynchronous API. - The newly created . - - - - Read a top-level value. - - The expected primitive type for the value to be read; null if no expected type is available. - An representing the read value. - - - - Read the binary value from the stream. - - A byte array containing all the data read. - - - - Reads the content of a text reader as string and, if is specified and primitive type conversion - is enabled, converts the string to the expected type. - - The expected type of the value being read or null if no type conversion should be performed. - The raw value that was read from the text reader either as string or converted to the provided . - - - - The stream of the raw input context. - - - - - Handles serialization and deserialization for a specified set of primitive types. - - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Instance of GeographyTypeConverter to register for all Geography types. - - - Set of type converters that implement their own conversion using IPrimitiveTypeConverter. - - - Set of type converters that are known to this instance which convert values based on the ISpatial type. - - - - Create a new instance of the converter. - - Set of type converters to register for the ISpatial based values. - - - - Try to create an object of type from the value in . - - XmlReader to use to read the value. - Expected type of the value in the reader. - Object of type , null if no object could be created. - True if the value was converted to the specified type, otherwise false. - - - - Try to write the XML representation of to the specified - - Object to convert to XML representation. - XmlWriter to use to write the converted value. - True if the value was written, otherwise false. - - - - Try to write the Verbose JSON representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - Type name of the instance. If the type name is null, the type name is not written. - The OData protocol version to be used for writing payloads. - - - - Try to write the JSON Lite representation of using a registered primitive type converter - - Object to convert to JSON representation. - JsonWriter instance to write to. - The OData protocol version to be used for writing payloads. - - - - Tries to write the value of object instance using a registered primitive type converter. - - Object to write. - Method to use when writing the value, if a registered converter is found for the type. - True if the value was written using a registered primitive type converter, otherwise false. - - - - Get the primitive type converter for the given type. - - Clr type whose primitive type converter needs to be returned. - Converter for the given clr type. - True if a converter was found for the given type, otherwise returns false. - - - PrimitiveConverter instance for use by the Atom and Json readers and writers. - - - - Annotation which stores a list of projected properties for an entry. - - - - The special '*' segment indicating that all properties are selected. - - - - Cached projected properties annotation with no properties projected. - - - - - Cached projected properties annotation with all properties projected. - - - - - A hash set with the projected property names. - - - - Initializes a new instance of the class. - The enumeration of projected property names. - - - - Constructor. - - - - - Determines if a property is in a list of projected properties. - - The name of the property to lookup. - true if the property is projected; false otherwise. - Note that we allow null and empty property names here for the lookup just so that - we don't have to validate before we skip them. If we would not skip them, the writing would fail later on anyway. - - - - Adds the specified property name to the set of projected properties (if it is not already included). - - The name of the property to include in the set of projected properties. - - - - Removes the specified property name from the set of projected properties. - - The name of the property to remove from the set of projected properties. - - - - Projected properties annotation with no properties projected. - - - - - Projected properties annotation with all properties projected. - - - - - The set of projected property names. - - - - - Class with utility methods for reading OData content. - - - - - Creates a new instance to return to the user. - - The newly created entry. - The method populates the Properties property with an empty read only enumeration. - - - Checks for duplicate navigation links and if there already is an association link with the same name - sets the association link URL on the navigation link. - The duplicate property names checker for the current scope. - The navigation link to be checked. - true if the link is expanded, false otherwise. - true if the navigation link is a collection, false if it's a singleton or null if we don't know. - - - Checks that for duplicate association links and if there already is a navigation link with the same name - sets the association link URL on that navigation link. - The duplicate property names checker for the current scope. - The association link to be checked. - - - - Adds an association link to an entry. - - The entry to get or create the association link for. - The navigation property to get or create the association link for. - The association link that we either retrieved or created for the . - - - - Returns true if the specified is set in the . - - The value of the setting to test. - The flag to test. - true if the flas is present, flase otherwise. - - - - Gets the expected property name from the specified property or function import. - - The to get the expected property name for (or null if none is specified). - The expected name of the property to be read from the payload. - - - - Class with utility methods for validating OData content when reading. - - - - - Validates that message reader settings are correct. - - The message reader settings to validate. - true if the settings were specified when reading a response, false when reading a request. - - - - Validates an entity reference link. - - The entity reference link to check. - - - - Validates a stream reference property. - - The stream property to check. - The owning type of the stream property or null if no metadata is available. - The stream property defined by the model. - The message reader settings being used. - - - - Validate a null value. - - The used to read the payload. - The expected type of the null value. - The message reader settings. - true to validate the the null value; false to only check whether the type is supported. - The version used to read the payload. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Validates an to ensure all required information is specified and valid. - - The entry to validate. - - - - Finds a defined property from the model if one is available. - The structured type can be null if no metadata is available. - - The name of the property to find. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - true if the property should be completely ignored and not parsed/reported, in this case the return value is null. - false if the property should be parsed and reported as usual. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that the expected property name matches the property name read from the payload. - - The expected property name. - The property name read from the payload. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The message reader settings being used. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The message reader settings being used. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Creates an exception used when primitive type conversion fails. - - The target type reference to which the conversion failed. - Possible inner exception with more information about the failure. - The exception object to throw. - - - - Resolved the payload type name to the type. - - The model to use for the resolution. - The expected type reference, or null if no expected type is available. - The payload type name to resolve. - The default payload type kind, this is used when the resolution is not possible, - but the type name is not empty. (Should be either Complex or Entity). - Reader behavior to use for compatibility. - The version of the payload being read. - This is set to the detected payload type kind, or None if the type was not specified. - The resolved type. This may be null if either no user-specified model is specified, or the type name is not recognized by the model. - The method detects the payload kind even if the model does not recognize the type. It figures out primitive and collection types always, - and uses the for the rest. - - - - Resolves and validates the payload type against the expected type and returns the target type. - - The expected type kind for the value. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The expected type reference, or null if no expected type is available. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - A func to compute the type kind from the payload shape if it could not be determined from the expected type or the payload type. - The target type kind to be used to read the payload. - Potentially non-null instance of an annotation to put on the value reported from the reader. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Resolves the primitive payload type versus the expected type and validates that such combination is allowed. - - The expected type reference, if any. - The kind of the payload type, or None if the detection was not possible. - The resolved payload type, or null if no payload type was specified. - The name of the payload type, or null if no payload type was specified. - The default payload type if none is specified in the payload; - for ATOM this is Edm.String, for JSON it is null since there is no payload type name for primitive types in the payload. - The model to use. - The message reader settings to use. - The version of the payload being read. - The target type reference to use for parsing the value. This method never returns null. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type kind, this may be the one from the type itself, or one detected without resolving the type. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The payload type name, or null if no payload type was specified. - The model to use. - The message reader settings to use. - The version of the payload being read. - - The target type reference to use for parsing the value. - If there is no user specified model, this will return null. - If there is a user specified model, this method never returns null. - - - This method cannot be used for primitive type resolution. Primitive type resolution is format dependent and format specific methods should be used instead. - - - - - Validates that the specified encoding is supported in batch/changeset envelopes (headers, boundaries, preamble, etc.). - - The to check. - - - - Validates whether the specified type reference is supported in the current version. - - The type reference to check. - The version currently used. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - entity set and entity type when reading a feed or entry payload. This method updates - the if the metadata URI specifies more derived information. - - The parse result of the metadata URI from the payload. - The top-level scope representing the reader state. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - navigation property. - - The parse result of the metadata URI from the payload. - The expected navigation property. - This method is used to validate metadata URIs for both singleton entity reference links - and collections of entity reference links. - - - - Validates that the parsed metadata URI from the payload is consistent with the expected - collection item type when reading collection payloads. - - The parse result of the metadata URI from the payload. - The expected item type of the collection items. - The actual item type of the collection items. - - - - Validates that the property in an operation (an action or a function) is valid. - - The value of the property. - The name of the property (used for error reporting). - The metadata value for the operation (used for error reporting). - The header for the operation, either 'actions' or 'functions'. - - - - Resolves the payload type if there's no expected type. - - The expected type kind for the value. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when the strict validation is disabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Resolves the payload type versus the expected type and validates that such combination is allowed when strict validation is enabled. - - The expected type kind for the value. - The expected type reference, or null if no expected type is available. - The payload type, or null if the payload type was not specified, or it didn't resolve against the model. - The target type reference to use for parsing the value. - - - - Verifies that payload type is defined if the payload type name is present. - - The type name from the payload. - The resolved type from the model. - - - - Verifies that complex type is valid against the expected type. - - The expected type reference. - The payload type. - true if the method should fail if the doesn't match the ; - false if the method should just return in that case. - - The method verifies that the is not a derived complex type of the - and always fails in that case. - - - - - Verifies that in case of collection types, the item type is valid. - - The expected type reference. - The payload type. - - This method verifies that item type is not a derived complex type, we want to explicitly disallow that case for possible future enablement. - - - - - Conditionally creates the annotation to put on the read value in order to retain the type name from the payload. - - The payload type name. - The type reference into which we're going to parse. - The annotation to report to the reader for adding on the read value. - - - - Computes the type kind to be used to read the payload from the expected type, the payload type and - possibly the payload shape. - - The expected type reference used to read the payload value. - true when resolving a type name for an entity value; false for a non-entity value. - The type name read from the payload. - The type kind of the payload value. - The message reader settings. - A func to determine the type kind of the value by analyzing the payload data. - The type kind to be used to read the payload. - - - - Gets the expected type kind based on the given , or EdmTypeKind.None if no specific type should be expected. - - The expected type reference. - The message reader settings. - The expected type kind based on the settings and type reference, or EdmTypeKind.None if no specific type should be expected. - - - - Determines if the expect value type and the current settings mandate us to validate type kinds of payload values. - - The message reader settings. - The expected type reference for the value infered from the model. - The type kind of the payload value. - true if the payload value kind must be verified, false otherwise. - This method deals with the strict versus lax behavior, as well as with the behavior when primitive type conversion is disabled. - - - - Validates that the specified allows null values. - - The expected type for the value, or null if no such type is available. - true to validate the null value; otherwise false. - The model to use to get the data service version. - The name of the property whose value is being read, if applicable (used for error reporting). - - - - Create and throw exception that a null value was found when the expected type is non-nullable. - - The expected type for this value. - The name of the property whose value is being read, if applicable. - - - - Implementation of IEnumerable which is based on another IEnumerable - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - - - - The IEnumerable to wrap. - - - - - Constructor. - - The enumerable to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Implementation of IEnumerable>T< which is based on a List>T< - but only exposes readonly access to that collection. This class doesn't implement - any other public interfaces or public API unlike most other IEnumerable implementations - which also implement other public interfaces. - - The type of a single item in the enumeration. - - - - The IEnumerable to wrap. - - - - - The empty instance of ReadOnlyEnumerableOfT. - - - - - Constructor which initializes the enumerable with an empty list storage. - - - - - Constructor. - - The list of values to wrap. - - - - Returns the enumerator to iterate through the items. - - The enumerator object to use. - - - - Gets the empty instance of ReadOnlyEnumerableOfT. - - Returns the empty instance of ReadOnlyEnumerableOfT. - - - - This internal method adds to the wrapped source list. From the public's perspective, this enumerable is still readonly. - - Item to add to the source list. - - - - Annotation which stores the type name to serialize. - - - This annotation will be recognized on ODataEntry, ODataComplexValue, ODataCollectionValue and ODataPrimitiveValue. - - - - Gets or sets the type name to serialize, for the annotated item. - The type name to serialize, for the annotated item. - - If this property is null, no type name will be written. - If this property is non-null, the property value will be used as the type name written to the payload. - If this annotation is present, it always overrides the type name specified on the annotated item. - If this annotation is not present, the value of the TypeName property on the ODataEntry, ODataComplexValue or ODataCollectionValue - is used as the type name in the payload. - - - - - Uri utility methods. - - - - - Returns the unescaped string representation of the Uri; if the Uri is absolute returns the absolute Uri otherwise the original string. - - The Uri to convert to a string. - For absolute Uris the string representation of the absolute Uri; otherwise the Uri's original string. - - - - Class with utility methods for validating OData content when writing. - - - - - Validates that message writer settings are correct. - - The message writer settings to validate. - True if we are writing a response. - - - - Validates an for not being null. - - The property to validate for not being null. - - - - Validates a property name to ensure all required information is specified. - - The property name to validate.. - - - - Validates that a property with the specified name exists on a given structured type. - The structured type can be null if no metadata is available. - - The name of the property to validate. - The owning type of the property with name - or null if no metadata is available. - The instance representing the property with name - or null if no metadata is available. - - - - Validates that a navigation property with the specified name exists on a given entity type. - The entity type can be null if no metadata is available. - - The name of the property to validate. - The owning entity type or null if no metadata is available. - The instance representing the navigation property with name - or null if no metadata is available. - - - - Validates an entry in an expanded link to make sure the entity types match. - - The of the entry. - The type of the parent navigation property. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - The version of the OData protocol used for checking. - true if we are writing a response; otherwise false. - - - - Validates that an can be written. - - The operation (an action or a function) to validate. - true if writing a response; otherwise false. - - - - Validates an to ensure all required information is specified and valid on the WriteEnd call. - - The feed to validate. - Flag indicating whether the feed is written as part of a request or a response. - The version of the OData protocol used for checking. - - - - Validates an to ensure all required information is specified and valid on WriteStart call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid on WriteEnd call. - - The entry to validate. - - - - Validates an to ensure all required information is specified and valid. - - The stream reference to validate. - true if is the default stream for an entity; false if it is a named stream property value. - - - - Validates a named stream property to ensure it's not null and it's name if correct. - - The stream reference property to validate. - Property metadata to validate against. - The version of the OData protocol used for checking. - true when writing a response; otherwise false. - This does NOT validate the value of the stream property, just the property itself. - - - - Validates that the specified is not null. - - The entity reference link to validate. - This should be called only for entity reference links inside the ODataEntityReferenceLinks.Links collection. - - - - Validates an entity reference link instance. - - The entity reference link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The navigation link to validate. - The declaring the navigation property; or null if metadata is not available. - The of the expanded content of this navigation link or null for deferred links. - The type of the navigation property for this navigation link; or null if no was specified. - - - - Validates that the specified navigation link has a Url. - - The navigation link to validate. - - - - Validates that the sepcified navigation link has cardinality, that is it has the IsCollection value set. - - The navigation link to validate. - - - - Validates that the expected property allows null value. - - The expected property type or null if we don't have any. - The name of the property. - The instance controlling the behavior of the writer. - The model to use to get the data service version. - - - - Validates the value of the Id property on an entry. - - The id value for an entry to validate. - - - - Extension methods for the JSON reader. - - - - - Reads the next node from the and verifies that it is a StartObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndObject node. - - The to read from. - - - - Reads the next node from the and verifies that it is an StartArray node. - - The to read from. - - - - Reads the next node from the and verifies that it is an EndArray node. - - The to read from. - - - - Verifies that the current node is a property node and returns the property name. - - The to read from. - The property name of the current property node. - - - - Reads the next node from the , verifies that it is a Property node and returns the property name. - - The to read from. - The property name of the property node read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node. - - The to read from. - The primitive value read from the reader. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type string. - - The to read from. - The name of the property for which to read the string; used in error messages only. - The string value read from the reader; throws an exception if no string value could be read. - - - - Reads the next node from the and verifies that it is a PrimitiveValue node of type double. - - The to read from. - The double value read from the reader; throws an exception if no double value could be read. - - - - Skips over a JSON value (primitive, object or array). - - The to read from. - - Pre-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.StartArray or JsonNodeType.StartObject - Post-Condition: JsonNodeType.PrimitiveValue, JsonNodeType.EndArray or JsonNodeType.EndObject - - - - - Reads the next node. Use this instead of the direct call to Read since this asserts that there actually is a next node. - - The to read from. - The node type of the node that reader is positioned on after reading. - - - - Determines if the reader is on a value node. - - The reader to inspect. - true if the reader is on PrimitiveValue, StartObject or StartArray node, false otherwise. - - - - Asserts that the reader is not buffer. - - The to read from. - - - - Asserts that the reader is buffer. - - The to read from. - - - - Creates an exception instance that is appropriate for the current library being built. - Allows the code in this class to be shared between ODataLib and the common spatial library. - - String to use for the exception messag. - Exception to be thrown. - - - - Reads the next node from the and verifies that it is of the expected node type. - - The to read from. - The expected of the read node. - - - - Validates that the reader is positioned on the specified node type. - - The to use. - The expected node type. - - - - Enumeration of all possible states of an . - - - - The reader is at the start; nothing has been read yet. - In this state the Item property of the returns null. - - - The start of a feed has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the FeedEnd state is reached. - - - - The end of a feed has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of an entry has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the EntryEnd state is reached. - - - - The end of an entry has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - The start of a navigation link has been read. - - In this state the Item property of the returns - an but no properties may be filled in until the LinkEnd state is reached. - - - - The end of a navigation link has been read. - - In this state the Item property of the returns - an with all properties filled in. - - - - An entity reference link was read. - - In this state the Item property of the returns - an which is fully populated. - Note that there's no End state for this item. - - - - The reader has thrown an exception; nothing can be read from the reader anymore. - - In this state the Item property of the returns null. - - - - The reader has completed; nothing can be read anymore. - - In this state the Item property of the returns null. - - - - - Class for reading OData batch messages; also verifies the proper sequence of read calls on the reader. - - - - - An interface that allows creators of a to listen for status changes - of the operation stream. - - - - - This method notifies the implementer of this interface that the content stream for a batch operation has been requested. - - - - - This method notifies the implementer of this interface that the content stream of a batch operation has been disposed. - - - - The input context to read the content from. - - - The batch stream used by the batch reader to devide a batch payload into parts. - - - True if the writer was created for synchronous operation; false for asynchronous. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The current state of the batch reader. - - - The current size of the batch message, i.e., how many query operations and changesets have been read. - - - The current size of the active changeset, i.e., how many operations have been read for the changeset. - - - An enumeration tracking the state of the current batch operation. - - - The value of the content ID header of the current part. - - The content ID header of the current part should only be visible to subsequent parts - so we can only add it to the URL resolver once we are done with the current part. - - - - - Constructor. - - The input context to read the content from. - The boundary string for the batch structure itself. - The encoding to use to read from the batch stream. - true if the reader is created for synchronous operation; false for asynchronous. - - - Reads the next part from the batch message payload. - True if more items were read; otherwise false. - - - Returns an for reading the content of a batch operation. - A request message for reading the content of a batch operation. - - - Returns an for reading the content of a batch operation. - A response message for reading the content of a batch operation. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - Returns the next state of the batch reader after an end boundary has been found. - - The next state of the batch reader. - - - - Reads the next part from the batch message payload. - - true if more information was read; otherwise false. - - - - Continues reading from the batch message payload. - - true if more items were read; otherwise false. - - - - Skips all data in the stream until the next part is detected; then reads the part's request/response line and headers. - - The next state of the batch reader after skipping to the next part and reading the part's beginning. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Returns the cached for reading the content of an operation - in a batch request. - - The message that can be used to read the content of the batch request operation from. - - - - Parses the request line of a batch operation request. - - The request line as a string. - The parsed HTTP method of the request. - The parsed of the request. - - - - Parses the response line of a batch operation response. - - The response line as a string. - The parsed status code from the response line. - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling CreateOperationResponseMessage if valid. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that calling Read is valid. - - true if the call is to be synchronous; false otherwise. - - - - Validates that the batch reader is ready to process a new read or create message request. - - - - - Verifies that a call is allowed to the reader. - - true if the call is to be synchronous; false otherwise. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - - Sets the 'Exception' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state Exception and then rethrow the exception. - - The type of the result returned from the . - The action to execute. - The result of the . - - - Gets the current state of the batch reader. - The current state of the batch reader. - - - - An enumeration to track the state of a batch operation. - - - - No action has been performed on the operation. - - - The batch message for the operation has been created and returned to the caller. - - - The stream of the batch operation message has been requested. - - - The stream of the batch operation message has been disposed. - - - - Configuration settings for OData message readers. - - - - - A instance representing any knobs that control the behavior of the readers - inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - Initializes a new instance of the class with default values. - - - Initializes a new instance of the class. - The other message reader settings. - - - Sets the atom entry XML customization callback. - The atom entry XML customization callback. - - This method only affects ATOM format payloads. For payloads of other formats this method has no effect. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true to use V1 provider; otherwise, false. - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - - - - Enables the same behavior that the WCF Data Services client has. Also, lets the user set the values for custom data namespace and type scheme. - - Custom type resolver which takes both expected type and type name. - This function is used instead of the IEdmModel.FindType if it's specified. - The first parameter to the function is the expected type (the type inferred from the parent property or specified by the external caller). - The second parameter is the type name from the payload. - The function should return the resolved type, or null if no such type was found. - Custom data namespace. - Custom type scheme to use when resolving types. This should be validated to be a valid URI, this method will not check that. - - If non-null this func will be called when an entry start is found and the entry is to be read. - It takes three parameters: - - ODataEntry entry - which is the entry to be read. - - XmlReader reader - which is the current XmlReader used by the ODataReader to read the entry. The reader is positioned on the atom:entry start element tag. - Note that the reader might not be the exact instance of the reader create by the parent entry customization or passed in by other means to the ODataReader, - the ODataReader sometimes needs to wrap the readers and the wrapped XmlReader might be passed in here. - - Uri - the current xml:base URI value for the reader. If there is no active xml:base this parameter is passed a null value. - It returns XmlReader: - - null - means there's no need for customization and the original XmlReader will be used to read the entry. - - non-null XmlReader - an XmlReader which the ODataReader will use to read the entry. This reader must be positioned on the atom:entry start element tag. - The ODataReader will not close or dispose the reader. It will read from it and leave the reader positioned on the atom:entry end element tag - (or the empty atom:entry start tag). - Once the ODataReader reports the ODataReaderState.EntryEnd for the entry, it will not use this XmlReader anymore. - After the ODataReaderState.EntryEnd is reported the parent reader (the parameter to the func) is expected to be positioned on the node AFTER - the atom:entry end element tag (or after the atom:entry empty start tag). - Note that this means that the ODataReader will only read till the end tag on the inner reader, but it expects the parent reader to move after the end tag. - It's the resposibility of the caller to move the parent read after the end tag manually if necessary. - The func must NOT return the same XmlReader instance as the XmlReader passed to it. - - Callback to determine whether operations bound to a particular entity type must be qualified with a container name when appearing in a $select clause. - - - - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should be skipped, false otherwise. - - - Gets or sets the document base URI (used as base for all relative URIs). If this is set, it must be an absolute URI. - The base URI. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether not to convert all primitive values to the type specified in the model or provided as an expected type. Note that values will still be converted to the type specified in the payload itself. - true if primitive values and report values are not converted; false if all primitive values are converted to the type specified in the model or provided as an expected type. The default value is false. - - - Gets or sets the behavior the reader should use when it finds undeclared property. - The behavior the reader should use when it finds undeclared property. - - This setting has no effect if there's no model specified for the reader. - This setting must be set to Default when reading request payloads. - - Detailed behavior description: - ODataUndeclaredPropertyBehaviorKind.Default - If an undeclared property is found reading fails. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will fail. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - the link will be read and reported as a deferred navigation link. - - __mediaresource value is found - the link will be read and reported as a stream property - - If nothing from the above matches the reading fails. - - Undeclared association links inside __metadata/properties will be read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value - it will be read as navigation/association link - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - Any other property (that is property with a value or property with no annotation mentioned above) will fail. - - ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared property inside m:properties is ignored (not even read). - - Undeclared navigation link, stream property link or association link fail. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - fail as undeclared deferred nav. link. - - __mediaresource value is found - fail as undeclared stream property. - - All other properties are ignored and not read. - - Undeclared association links inside __metadata/properties fail. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it (deferred or expanded navigation link) - - fail as undeclared navigation property - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - fail as undeclared stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - ODataUndeclaredPropertyBehaviorKind.ReportUndeclaredLinkProperty | ODataUndeclaredPropertyBehaviorKind.IgnoreUndeclaredValueProperty - ATOM - - Undeclared deferred navigation link will be read and reported. - - Undeclared expanded navigation link will be read and the navigation link part will be reported, - the expanded content will be ignored and not read or reported. - - Undeclared stream property link (both read and edit) will be read and reported. - - Undeclared association link will be read and reported. - - Undeclared properties inside m:properties will be ignored and not read. - Verbose JSON - - If an undeclared property is found a detection logic will run: - - __deferred value is found - read and report a deferred navigation link. - - __mediaresource value is found - read and report stream property. - - All other properties are ignore and not read. - - Undeclared association links inside __metadata/properties are read and reported. - JSON Light - - If an undeclared property is found a detection logic will run: - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and no value (deferred navigation link) - - it will be read as navigation/association link - - The property has 'odata.navigationLink' or 'odata.associationLink' annotation on it and with value (expanded navigation link) - - it will be read, the navigation and association link will be reported and the content will be ignored. - - The property has 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaContentType' or 'odata.mediaETag' on it and no value - - it will be read as a stream property. - - The property has a value and no annotation mentioned above - the property is ignored and not read. - - Note that there's one difference between ATOM/JSON Light and Verbose JSON. In ATOM and JSON Light expanded links are treated as both - undeclared link and a value property. The URLs are the link part, the expanded content is the value part. - In Verbose JSON expanded links are treated as a value property as a whole. Since in JSON expanded links don't actually have - the link part (the payload doesn't contain the "href") this is not such a big difference. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets the maximum OData protocol version the reader should accept and understand. - The maximum OData protocol version the reader should accept and understand. - - If the payload to be read has higher DataServiceVersion than the value specified for this property - the reader will fail. - Reader will also not report features which require higher version than specified for this property. - It may either ignore such features in the payload or fail on them. - - - - - false - metadata validation is strict, the input must exactly match against the model. - true - metadata validation is lax, the input doesn't have to match the model in all cases. - This property has effect only if the metadata model is specified. - - - Strict metadata validation: - Primitive values: The wire type must be convertible to the expected type. - Complex values: The wire type must resolve against the model and it must exactly match the expected type. - Entities: The wire type must resolve against the model and it must be assignable to the expected type. - Collections: The wire type must exactly match the expected type. - If no expected type is available we use the payload type. - Lax metadata validation: - Primitive values: If expected type is available, we ignore the wire type. - Complex values: The wire type is used if the model defines it. If the model doesn't define such a type, the expected type is used. - If the wire type is not equal to the expected type, but it's assignable, we fail because we don't support complex type inheritance. - If the wire type if not assignable we use the expected type. - Entities: same as complex values except that if the payload type is assignable we use the payload type. This allows derived entity types. - Collections: If expected type is available, we ignore the wire type, except we fail if the item type is a derived complex type. - If no expected type is available we use the payload type and it must resolve against the model. - If DisablePrimitiveTypeConversion is on, the rules for primitive values don't apply - and the primitive values are always read with the type from the wire. - - - - - The reader behavior that holds all the knobs needed to make the reader - behave differently inside and outside of WCF Data Services. - - - - - ATOM entry XML customization callback. - - - - - Whether or not to report any undeclared link properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Whether or not to ignore any undeclared value properties in the payload. Computed from the UndeclaredPropertyBehaviorKinds enum property. - - - - - Reader class used to read all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message reader was created. - - - A flag indicating whether we are reading a request or a response message. - - - The message reader settings to use when reading the message payload. - - - The model. Non-null if we do have metadata available. - - - The to be used for reading the payload. - - - The optional URL resolver to perform custom URL resolution for URLs read from the payload. - - - The resolver to use when determining an entity set's element type. - - - Flag to ensure that only a single read method is called on the message reader. - - - true if Dispose() has been called on this message reader, false otherwise. - - - The input context used to read the message content. - - - The payload kind of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The parsed from the content type header. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The of the payload to be read with this reader. - This field is set implicitly when one of the read (or reader creation) methods is called. - - - The batch boundary string if the payload to be read is a batch request or response. - This is set implicitly when the CreateBatchReader method is called. - - - The media type resolver to use when interpreting the incoming content type. - - - Storage for format specific states from payload kind detection. - - - Creates a new for the given request message. - The request message for which to create the reader. - - - Creates a new for the given request message and message reader settings. - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given request message and message reader settings. - - The request message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the reader. - - - Creates a new for the given response message and message reader settings. - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - - - - Creates a new ODataMessageReader for the given response message and message reader settings. - - The response message for which to create the reader. - The message reader settings to use for reading the message payload. - The model to use. - - - Determines the potential payload kinds and formats of the payload being read and returns it. - The set of potential payload kinds and formats for the payload being read by this reader. - When this method is called it first analyzes the content type and determines whether there - are multiple matching payload kinds registered for the message's content type. If there are, it then - runs the payload kind detection on all formats that have a matching payload kind registered. - Note that this method can return multiple results if a payload is valid for multiple payload kinds but - will always at most return a single result per payload kind. - - - - Creates an to read a feed. - The created reader. - - - - Creates an to read a feed. - - The expected base type for the entities in the feed. - The created reader. - - - - Creates an to read a feed. - - The entity set we are going to read entities for. - The expected base type for the entities in the feed. - The created reader. - - - Creates an to read an entry. - The created reader. - - - - Creates an to read an entry. - - The expected entity type for the entry to be read. - The created reader. - - - - Creates an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - The created reader. - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - The created collection reader. - - - - Creates an to read a collection of primitive or complex values (as result of a service operation invocation). - - The expected type reference for the items in the collection. - The created collection reader. - - - Creates an to read a batch of requests or responses. - The created batch reader. - - - - Creates an to read the parameters for . - - The function import whose parameters are being read. - The created parameter reader. - - - Reads a service document payload. - The service document read. - - - Reads an as message payload. - The property read from the payload. - - - - Reads an as message payload. - - The expected type reference of the property to read. - The property read from the payload. - - - - Reads an as message payload. - - The metadata of the property to read. - The property read from the payload. - - - Reads an as the message payload. - The read from the message payload. - - - Reads the result of a $links query (entity reference links) as the message payload. - The entity reference links read as message payload. - - - - Reads the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - The entity reference links read as message payload. - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - The entity reference link read from the message payload. - - - - Reads a singleton result of a $links query (entity reference link) as the message payload. - - The navigation property for which to read the entity reference link. - The entity reference link read from the message payload. - - - - Reads a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The read value. - - - Reads the message body as metadata document. - Returns . - - - implementation to cleanup unmanaged resources of the reader. - - - - Determines the format of the payload being read and returns it. - - The format of the payload being read by this reader. - - The format of the payload is determined when starting to read the message; - if this method is called before reading has started it will throw. - - - - - Processes the content type header of the message to determine the format of the payload, the encoding, and the payload kind. - - All possible kinds of payload to be read with this message reader; must not include ODataPayloadKind.Unsupported. - - - - Gets the content type header of the message and validates that it is present and not empty. - - The content type header of the message. - - - - Verify arguments for creation of an to read a feed. - - The entity set we are going to read entities for. - The expected base entity type for the entities in the feed. - - - - Verify arguments for creation of an to read an entry. - - The entity set we are going to read entities for. - The expected entity type for the entry to be read. - - - - Verify arguments for creation of an to read a collection of primitive or complex values - (as result of a service operation invocation). - - The expected type for the items in the collection. - - - - Verify arguments for creation of a batch as the message body. - - - - - Verify arguments for creation of an to read the parameters for . - - The function import whose parameters are being read. - - - - Verify arguments for reading of a service document payload. - - - - - Verify arguments for reading of a metadata document payload. - - - - - Verify arguments for reading of an as message payload. - - The metadata of the property to read. - - - - Verify arguments for reading of an as message payload. - - The expected type reference of the property to read. - - - - Verify arguments for reading of an as the message payload. - - - - - Verify arguments for reading of the result of a $links query (entity reference links) as the message payload. - - The navigation property for which to read the entity reference links. - - - - Verify arguments for reading of a singleton result of a $links query (entity reference link) as the message payload. - - - - - Verify arguments for reading of a single value as the message body. - - The expected type reference for the value to be read; null if no expected type is available. - The payload kinds allowed for the given expected type. - - - - Verifies that the ODataMessageReader has not been used before; an ODataMessageReader can only be used to - read a single message payload but cannot be reused later. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Method which creates an input context around the input message and calls a func to read the input. - - The type returned by the read method. - The read function which will be called over the created input context. - All possible kinds of payload to read. - The read value from the input. - - - - Gets all the supported payload kinds for a given content type across all formats and returns them. - - The set of supported payload kinds for the content type of the message. - true if no or a single payload kind was found for the content type; false if more than one payload kind was found. - - - - Compares two payload kind detection results. - - The first . - The second . - -1 if is considered less than , - 0 if the kinds are considered equal, 1 if is considered greater than . - - - - The message reader settings to use when reading the message payload. - - - - - The media type resolver to use when interpreting the incoming content type. - - - - - Enumeration of all JSON node type. - - - - - No node - invalid value. - - - - - Start of JSON object record, the { character. - - - - - End of JSON object record, the } character. - - - - - Start of JSON array, the [ character. - - - - - End of JSON array, the ] character. - - - - - Property, the name of the property (the value will be reported as a separate node or nodes) - - - - - Primitive value, that is either null, true, false, number or string. - - - - - End of input reached. - - - - - Utility methods used with the OData library. - - - - String representation of the version 1.0 of the OData protocol. - - - String representation of the version 2.0 of the OData protocol. - - - String representation of the version 3.0 of the OData protocol. - - - Sets the content-type and data service version headers on the message used by the message writer. - The content-type and data service version headers on the message used by the message writer. - The message writer to set the headers for. - The kind of payload to be written with the message writer. - - This method can be called if it is important to set all the message headers before calling any of the - write methods on the . - If it is sufficient to set the headers when the write methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - - - Returns the format used by the message reader for reading the payload. - The format used by the messageReader for reading the payload. - The to get the read format from. - This method must only be called once reading has started. - This means that a read method has been called on the or that a reader (for entries, feeds, collections, etc.) has been created. - If the method is called prior to that it will throw. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - - - - Loads the supported, OData-specific serializable annotations into their in-memory representations. - - The containing the annotations. - The to process. - The maximum number of entity mapping attributes to be found - for an entity type (on the type itself and all its base types). - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The to process. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - - The containing the annotations. - The to process. - - - - Checks whether the has a default stream. - - The containing the annotation. - The to check. - true if the entity type has a default stream; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to add a default stream to the entity type; false to remove an existing default stream (if any). - - - - Checks whether the is the default entity container. - - The containing the annotation. - The to check. - true if the is the default container; otherwise false. - - - - Adds or removes a default stream to/from the . - - The containing the annotation. - The to modify. - true to set the as the default container; false to remove an existing default container annotation (if any). - - - - Checks whether the has a MIME type annotation. - - The containing the annotation. - The to check. - The (non-null) value of the MIME type annotation of the or null if no MIME type annotation exists. - - - - Sets the MIME type annotation of the to . - - The containing the annotation. - The to modify. - The MIME type value to set as annotation value; if null, an existing annotation will be removed. - The MIME type annotation is only supported on service operations and primitive properties for serialization purposes. - - - - Checks whether the has an HttpMethod annotation. - - The containing the annotation. - The to check. - The (non-null) value of the HttpMethod annotation of the or null if no such annotation exists. - - - - Sets the HttpMethod annotation of the to . - - The contatining the annotation. - The to modify. - The HttpMethod value to set as annotation value; if null, an existing annotation will be removed. - The HttpMethod annotation is only supported on service operations for serialization purposes. - - - - Gets the value of IsAlwaysBindable annotation on the . - - The containing the annotation. - The to get the annotation from. - The value of the annotation if it exists; false otherwise. - Thrown if the IsAlwaysBindable annotation is set to true for a non-bindable . - - - - Sets the value of IsAlwaysBindable annotation of the to - - The containing the annotation. - The to set the annotation on. - The value of the annotation to set. - Thrown if IsAlwaysBindable is set to true for a non-bindable . - - - - Gets the reader behavior for null property value on the specified property. - - The model containing the annotation. - The property to check. - The behavior to use when reading null value for this property. - - - - Adds a transient annotation to indicate how null values for the specified property should be read. - - The containing the annotations. - The to modify. - The new behavior for reading null values for this property. - - - Displays the OData version to string representation. - The OData version. - The OData version. - - - Displays a string to OData version representation. - The OData version. - The OData version. - - - - Translates the to a func that would evalutate whether the filter would match a given annotation name. - The func would evaluate to true if the matches the annotation name that's passed to the it, and false otherwise. - - - The filter string may be a comma delimited list of any of the following supported patterns: - "*" -- Matches all annotation names. - "ns.*" -- Matches all annotation names under the namespace "ns". - "ns.name" -- Matches only the annotation name "ns.name". - "-" -- The exclude operator may be used with any of the supported pattern, for example: - "-ns.*" -- Excludes all annotation names under the namespace "ns". - "-ns.name" -- Excludes only the annotation name "ns.name". - Null or empty filter is equivalent to "-*". - - The relative priority of the pattern is base on the relative specificity of the patterns being compared. If pattern1 is under the namespace pattern2, - pattern1 is more specific than pattern2 because pattern1 matches a subset of what pattern2 matches. We give higher priority to the pattern that is more specific. - For example: - "ns.*" has higher priority than "*" - "ns.name" has higher priority than "ns.*" - "ns1.name" has same priority as "ns2.*" - - Patterns with the exclude operator takes higher precedence than the same pattern without. - For example: "-ns.name" has higher priority than "ns.name". - - Examples: - "ns1.*,ns.name" -- Matches any annotation name under the "ns1" namespace and the "ns.name" annotation. - "*,-ns.*,ns.name" -- Matches any annotation name outside of the "ns" namespace and only "ns.name" under the "ns" namespace. - - Returns a func which would evaluate to true if the matches the annotation name that's passed to the it, - and false otherwise. - - - - Turns the in-memory representations of the supported, OData-specific annotations into their serializable form. - Assumes that the entity type and the model have been validated. - - The containing the annotations. - The to process. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true to search the base type hierarchy of the structured type for the annotation; otherwise false. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method will throw. - - - - Gets a boolean value for the OData metadata annotation on - the . - - The model containing the annotation. - The annotatable to get the annotation from. - The local name of the annotation to get. - true if the annotation exists and has the value 'true'; false if the annotation does not exist or has the value 'false'. - true if the annotation with the specified local names exists; otherwise false. - If the annotation exists but does not have a valid boolean value this method wil throw. - - - - Sets the as value of the annotation - on the . - - The model containing the annotation. - The annotatable to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Generic utility methods. - - - - - Calls IDisposable.Dispose() on the argument if it is not null - and is an IDisposable. - - The instance to dispose. - 'True' if IDisposable.Dispose() was called; 'false' otherwise. - - - - Perform a stable sort of the using the specified . - - The type of the items in the array to sort. - The array to sort. - The comparison to use to compare items in the array - Array of KeyValuePairs where the sequence of Values is the sorted representation of . - - - - Stable comparer of a sequence of key/value pairs where each pair - knows its position in the sequence and its value. - - The type of the values in the sequence. - - - - The to compare the values. - - - - - Constructor. - - The to compare the values. - - - - Compares two key/value pairs by first comparing their value. If the values are equal, - the position in the array determines the relative order (and preserves the original relative order). - - First key/value pair. - Second key/value pair. - - A value < 0 if is less than . - The value 0 if is equal to . Note this only happens when comparing the same items when used in StableSort. - A value > 0 if is greater than . - - This method will never return the value 0 since the input sequence is constructed in a way - that all key/value pairs have unique indeces. - - - - Class with utility methods for dealing with OData metadata. - - - - - Returns the annotation in the OData metadata namespace with the specified . - - The containing the annotation. - The to get the annotation from. - The local name of the annotation to find. - The value of the annotation in the OData metadata namespace and with the specified . - true if an annotation with the specified local name was found; otherwise false. - - - - Sets the annotation with the OData metadata namespace and the specified on the . - - The containing the annotations."/> - The to set the annotation on. - The local name of the annotation to set. - The value of the annotation to set. - - - - Gets all the serializable annotations in the OData metadata namespace on the . - - The containing the annotations."/> - The to get the annotations from. - All annotations in the OData metadata namespace; or null if no annotations are found. - - - - Gets the EDM type of an OData instance from the of the instance (if available). - - The OData instance to get the EDM type for. - The EDM type of the if available in the annotation. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used by writers. - Thus it implements the strict speced behavior. - - The model to use. - The name of the type to resolve. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. Uses the semantics used be readers. - Thus it can be a bit looser. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Reader behavior if the caller is a reader, null if no reader behavior is available. - The version of the payload being read. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Resolves the name of a primitive, complex, entity or collection type to the respective type. - - The model to use. - The expected type for the type name being resolved, or null if none is available. - The name of the type to resolve. - Custom type resolver to use, if null the model is used directly. - The version to use when resolving the type name. - The type kind of the type, if it could be determined. This will be None if we couldn't tell. It might be filled - even if the method returns null, for example for Collection types with item types which are not recognized. - The representing the type specified by the ; - or null if no such type could be found. - - - - Calculates the operations that are always bindable to the given type. - - The binding type in question. - The model to search for operations. - The edm type resolver to get the parameter type. - An enumeration of operations that are always bindable to the given type. - - - - Looks up the given term name in the given model, and returns the term's type if a matching term was found. - - The name of the term to lookup, including the namespace. - The model to look in. - The type of the term in the model, or null if no matching term was found. - - - - Gets the nullable type reference for a payload type; if the payload type is null, uses Edm.String. - - The payload type to get the type reference for. - The nullable for the . - - - - Class with utility methods for validating OData content (applicable for readers and writers). - - - - Maximum batch boundary length supported (not includeding leading CRLF or '-'). - - - The set of characters that are invalid in property names. - Keep this array in sync with MetadataProviderUtils.InvalidCharactersInPropertyNames in Astoria. - - - - Validates that an open property value is supported. - - The name of the open property. - The value of the open property. - - - - Validates a type kind for a value type. - - The type kind. - The name of the type (used for error reporting only). - - - - Validates that is a valid type name for a collection and returns its item type name. - - The name of the collection type. - The item type name for the . - - - - Validates that the is assignable to the - and fails if it's not. - - The expected entity type reference, the base type of the entities expected. - The payload entity type reference to validate. - - - - Validates that the represents a collection type. - - The type reference to validate. - The instance representing the collection passed as . - - - - Validates an item of a collection to ensure it is not of collection and stream reference types. - - The collection item. - True if the items in the collection are streamable, false otherwise. - - - - Validates a null collection item against the expected type. - - The expected item type or null if no expected item type exists. - The instance controlling the behavior of the writer. - - - - Validates a stream reference property to ensure it's not null and its name if correct. - - The stream reference property to validate. - Property metadata to validate against. - - - - Validates an to ensure it's not null. - - The association link to ensure it's not null. - - - - Validates the name for an association link. - - The name of the association link to validate. - - - - Validates an to ensure all required information is specified and valid. - - The association link to validate. - - - - Increases the given recursion depth, and then verifies that it doesn't exceed the recursion depth limit. - - The current depth of the payload element hierarchy. - The maximum allowed recursion depth. - - - - Validates an to ensure it's not null. - - The operation to ensure it's not null. - Whether is an . - - - - Validates an to ensure its metadata is specified and valid. - - The operation to validate. - - - - Validates an to ensure its target is specified and valid. - - The operation to validate. - - - - Validates that the specified is a valid entry as per the specified type. - - The entry to validate. - Optional entity type to validate the entry against. - Model containing the entity type. - true if the validation of the default MediaResource should be done; false otherwise. - If the is available only entry-level tests are performed, properties and such are not validated. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The expected type for the value. - - - - Validates that a given primitive value is of the expected (primitive) type. - - The value to check. - The primitive type reference for the value - some callers have this already, so we save the lookup here. - The expected type for the value. - - Some callers have the primitive type reference already resolved (from the value type) - so this method is an optimized version to not lookup the primitive type reference again. - - - - - Validates that the expected primitive type matches the actual primitive type. - - The expected type. - The actual type. - - - - Validates a resource collection. - - The resource collection to validate. - - - - Validates a resource collection Url. - - The resource collection url to validate. - - - - Validates that the observed type kind is the expected type kind. - - The actual type kind to compare. - The expected type kind to compare against. - The name of the type to use in the error. - - - - Validates that a boundary delimiter is valid (non-null, less than 70 chars, only valid chars, etc.) - - The boundary delimiter to test. - - - - Null validation of complex properties will be skipped if edm version is less than v3 and data service version exists. - In such cases, the provider decides what should be done if a null value is stored on a non-nullable complex property. - - The model containing the complex property. - True if complex property should be validated for null values. - - - - Validates that a property name is valid in OData. - - The property name to validate. - true if the property name is valid, otherwise false. - - - - Validates a property name to check whether it contains reserved characters. - - The property name to check. - - - - Validates that the total number of entity property mapping attributes on the base entity type and the current - entity type does not exceed the specified security limit. - - The EPM cache of the base entity type or null if no base entity type exists. - The EPM collection of the current entity type. - The maximum number of mappings allowed for an entity type (on the type itself and all its base types). - The total number of entity property mappings for the current entity type. - - - - Class with utility methods for writing OData content. - - - - - Determines if a property should be written or skipped. - - The projected properties annotation to use (can be null). - The name of the property to check. - true if the property should be skipped, false to write the property. - - - - Class with utility methods to work with media types. - - - - An array of all the supported payload kinds. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Given the Accept and the Accept-Charset headers of the request message computes the media type, encoding and - to be used for the response message. - - The message writer settings to use for serializing the response payload. - The kind of payload to be serialized as part of the response message. - The media type resolver to use when interpreting the content type. - The media type to be used in the response message. - The encoding to be used in the response message. - The used when serializing the response. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The batch boundary read from the content type for batch payloads; otherwise null. - The for the . - - - - Gets all payload kinds and their corresponding formats that match the specified content type header. - - The content type header to get the payload kinds for. - The media type resolver to use when interpreting the content type. - The parsed content type as . - The encoding from the content type or the default encoding from . - The list of payload kinds and formats supported for the specified . - - - - Checks whether two media types with subtypes (but without parameters) are equal. - - The first media type and subtype. - The second media type and subtype. - true if the is equal to ; otherwise false. - - - - Checks whether a media type starts with the expected type and subtype. - - The media type to check. - The type and subtype the should start with. - true if the starts with ; otherwise false. - - - - Checks whether the specified media type has a parameter with the expected value. - - The media type to check the parameters for. - The name of the expected parameter. - The value of the expected parameter. - true if the has a parameter called - with value ; otherwise false. - - - - Determines whether the media type has a 'streaming' parameter with the value 'true'. - - The media type to check. - - true if the media type has a 'streaming' parameter with the value 'true'; otherwise, false. - - - - - Checks for wildcard characters in the . - - The to check. - - - - JSONP - instead of writing 'application/json', we write 'text/javascript'. In all other ways we pretend it is JSON - - Original content-type value string. - New content-type value string. - - - - Determine the to use for the given . If no supported content type - is found an exception is thrown. - - The name of the content type to be checked. - All possiblel kinds of payload that can be read with this content type. - The media type resolver to use when interpreting the content type. - The media type parsed from the . - The encoding from the content type or the default encoding for the . - - The payload kind that was selected form the list of for the - specified . - - The for the . - - - - Parses the specified content type header into a media type instance. - - The content type header to parse. - The optional charset specified with the content type. - The of the parsed . - - - - Gets the default media type for a given payload kind in a given format. - - A list of supported media types and formats. - The user-specified format in which to write the payload (can be null). - The default format for the specified payload kind - The default media type for the given payload kind and format. - - - - Parses the accepted charsets and matches them against the supported encodings for the given . - - The Accept-Charset header of the request. - The for which to compute the encoding. - The media type used to compute the default encoding for the payload. - true if the default encoding should be returned if no acceptable charset is found; otherwise false. - The encoding to be used for the response. - - - - Matches the supported media types against the list of media types specified in the Accept header or ContentType header of the message. Matching follows the - rules for media type matching as described in RFC 2616. - - The set of media types to be matched against the . - The set of media types the will be matched against. - The best found during the matching process or null if no match was found. - - - - Converts all occurrences of the 'application/json' media type to 'application/json;odata=minimalmetadata'. - This is necessary because for an accept header 'application/json, application/json;odata=verbose' - we want the result to be 'application/json;odata=minimalmetadata' although this is not compliant with the - default conneg rules (where application/json;odata=verbose would win). - - The parsed acceptable media types. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - - Class representing the result of matching two instances. - - - - The default quality value (in the normalized range from 0 .. 1000). - - - Index of the source type in the list of all source types. - - - Index of the target type in the list of all target types. - - - - Constructor. - - The source to match against the target type. - The target to match against the source type. - Index of the source type in the list of all source types. - Index of the target type in the list of all target types. - - - - Implementation of . - - The to compare against. - - -1 if this instance is a worse match than . - 0 if both matches are the same. - 1 if is a better match than this instance. - - - - Selects a quality value for the specified type. - The text representation of the quality value. - The quality value, in range from 0 through 1000. - See http://tools.ietf.org/html/rfc2616#section-14.1 for further details. - - - - Tries to find a parameter with the specified in the given list of parameters. - Does not include accept extensions (i.e., parameters after the q quality value parameter) - - The list of parameters to search. - The name of the parameter to find. - The parameter value of the parameter with the specified . - True if a parameter with the specified was found; otherwise false. - - - - Returns a flag indicating whether a given media type parameter name is the Http quality value parameter. - - The parameter name to check. - True if the parameter name is for the quality value; otherwise false. - - - - Matches the source type against the media type. - - The source to match against the target type. - The target to match against the source type. - - - - Index of the source type in the list of all source types. - - - - - Index of the target type in the list of all target types. - - - - - Represents the number of non-* matching type name parts or -1 if not matching at all. - - - - - Represents the number of matching parameters or -1 if neither the source type nor the target type have parameters. - - - - The quality value of the target type (or -1 if none is specified). - - - - The number of parameters of the source type that are used for comparison. All accept-parameters are ignored. - - - - - true if this represents a valid match (i.e., the source and target types match/are compatible); otherwise false. - - - Two types are considered compatible if at least one type name part matches (or we are dealing with a wildcard) - and all the parameters in the source type have been matched. - - - - - Represents a collection of entity reference links (the result of a $links query). - Might include an inline count and a next link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the optional inline count of the $links collection. - The optional inline count of the $links collection. - - - Gets or sets the optional next link of the $links collection. - The optional next link of the $links collection. - - - Gets or sets the enumerable of instances representing the links of the referenced entities. - The enumerable of instances. - These links should be usable to retrieve or modify the referenced entities. - - - - Provides additional serialization information to the for this . - - - - - Represents an entity reference link (the result of a $link query). - - - - - Base class for Feed and Entry. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the URI representing the URL of the referenced entity. - The URI representing the URL of the referenced entity. - This URL should be usable to retrieve or modify the referenced entity. - - - - Provides additional serialization information to the for this . - - - - - Interface for synchronous OData request messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Interface for synchronous OData response messages. - - - - Returns a value of an HTTP header. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - - Implementation class wrapped by the and - implementations. - - - - - Base class for the internal wrappers around IODataRequestMessageAsync and IODataResponseMessageAsync. - - - - true if the message is being written; false when it is read. - - - true if the stream returned should ignore dispose calls. - - - The maximum size of the message in bytes (or null if no maximum applies). - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - The buffering read stream used for payload kind detection; only non-null inside of payload kind detection. - - - - Constructs a new ODataMessage. - - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value for the header with name . - - - - Get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - We need this method since the input contexts don't get access to the actual instance of the message given to us by the user - instead they get this class, and thus they can't just cast to get to the interface they want. - - - - Synchronously get the stream backing this message. - - A function that returns the stream backing the message. - true if the message is a request message; false for a response message. - The backing the message. - - - - Verifies that setting a header is allowed - - - We allow modifying the headers only if we are writing the message and we are not - detecting the payload kind. - - - - - Validates that a given message stream can be used. - - The stream to validate. - true if the message is a request message; false for a response message. - - - - Gets the buffering read stream if one is available; otherwise returns null. - - The currently being used or null if no buffering stream is currently being used. - - - - Returns an enumerable over all the headers for this message. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - - true to use a buffering read stream wrapper around the actual message stream; otherwise false. - - - - Listener interface to be notified of operation changes. - - - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - - - A function to retrieve the content stream for this batch operation message. - - - The set of headers for this operation. - - - - Constructor. Base class constructor to create a message for an operation of a batch request/response. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The URL resolver to perform custom URL resolution for URLs read or written from/to the payload. - true if the request message is being written; false when it is read. - - - - Returns a value of an HTTP header of this operation. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header of this operation. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - Method to implement a custom URL resolution scheme. - This method returns null if not custom resolution is desired. - If the method returns a non-null URL that value will be used without further validation. - - The (optional) base URI to use for the resolution. - The URI read from the payload. - - A instance that reflects the custom resolution of the method arguments - into a URL or null if no custom resolution is desired; in that case the default resolution is used. - - - - - Indicates that the headers and request/response line have been read or written. - Can be called only once per batch part and headers cannot be modified - anymore after this method was called. - - - - - Verifies that writing of the message has not been completed; this is called from all methods - that are only valid to be called before the message content is written or the message - - - - - Returns an enumerable over all the headers for this message. - - - - - Message representing an operation in a batch response. - - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - The result status code of the response message. - - - - Constructor. - - A function to retrieve the content stream for this batch operation message. - The headers of the batch operation message. - Listener interface to be notified of part changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or null if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Method to implement a custom URL resolution scheme. This method returns null if not custom resolution is desired. If the method returns a non-null URL that value will be used without further validation. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation response message that can be used to write the operation content to. - - The output stream underlying the operation message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to write the operation content. - - - - Creates an operation response message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The status code to use for the operation response message. - The headers to use for the operation response message. - The operation listener. - The (optional) URL resolver for the message to create. - An that can be used to read the operation content. - - - Gets or sets the result status code of the response message. - The result status code of the response message. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - - Returns the actual operation message which is being wrapped. - - - - - Message representing an operation in a batch request. - - - - - The actual implementation of the message. - We don't derive from this class since we want the actual implementation to remain internal - while this class is public. - - - - - Constructor. Creates a request message for an operation of a batch request. - - A function to create the content stream. - The HTTP method used for this request message. - The request Url for this request message. - The headers for the this request message. - Listener interface to be notified of operation changes. - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - true if the request message is being written; false when it is read. - - - Returns a value of an HTTP header of this operation. - The value of the HTTP header, or null if no such header was present on the message. - The name of the header to get. - - - Sets the value of an HTTP header of this operation. - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - Gets the stream backing for this message. - The stream backing for this message. - - - Implements a custom URL resolution scheme. - A instance that reflects the custom resolution of the method arguments into a URL or null if no custom resolution is desired; in that case the default resolution is used. - The (optional) base URI to use for the resolution. - The URI read from the payload. - - - - Creates an operation request message that can be used to write the operation content to. - - The output stream underlying the operation message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The operation listener. - The (optional) URL resolver for the message to create. - An to write the request content to. - - - - Creates an operation request message that can be used to read the operation content from. - - The batch stream underyling the operation response message. - The HTTP method to use for the message to create. - The request URL for the message to create. - The headers to use for the operation request message. - The operation listener. - The (optional) URL resolver for the message to create. - An to read the request content from. - - - Gets an enumerable over all the headers for this message. - An enumerable over all the headers for this message. - - - Gets or sets the request URL for this request message. - The request URL for this request message. - - - Gets or Sets the HTTP method used for this request message. - The HTTP method used for this request message. - - - - Returns the actual operation message which is being wrapped. - - - - - Helper methods used by the ODataBatchWriter. - - - - - Creates a new batch boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created batch boundary as string. - - - - Creates a new changeset boundary string based on a randomly created GUID. - - A flag indicating whether the boundary should be created for a request or a resonse. - The newly created changeset boundary as string. - - - - Creates the multipart/mixed content type with the specified boundary (if any). - - The boundary to be used for this operation or null if no boundary should be included. - The multipart/mixed content type with the specified boundary (if any). - - - - Write the start boundary. - - Writer to which the boundary needs to be written. - Boundary string. - true if this is the first start boundary. - - - - Write the end boundary. - - Writer to which the end boundary needs to be written. - Boundary string. - true if there was no start boundary written before this end boundary. - - - - Writes the headers, (optional) Content-ID and the request line - - Writer to write to. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Writes the headers and response line. - - Writer to write to. - - - - Writes the preamble for a change set (e.g., the content-type header). - - Writer to write to. - The boundary string to use for the change set. - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute. - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property. - - - - - Type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource (not including the root segment). - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - Type whose property is to be read. This can be different from defining type when inheritance is involved. - - - - Sets path to the source property. - - The path as an array of source path segments. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object. - - - - - Entity type that has the . - - - - - Entity type whose property is to be read. - - - - - Path to the property value. Stored as an array of source path segments which describe the path from the entry to the property in question. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping. - - - - - Writer for the EPM custom-only. Writes the EPM custom mapping properties into XmlWriter. - - - - - Constructor. - - The output context currently in use. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - - - - Writes a namespace declaration attribute for the namespace required by the target segment. - - The writer to write the declaration to. - The target segment to write the declaration for. - The name of the prefix if it was already declared. - - - - Writes the custom mapped EPM properties to an XML writer which is expected to be positioned such to write - a child element of the entry element. - - The XmlWriter to write to. - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - - - - Writes an EPM element target. - - The writer to write to. - The target segment describing the element to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Writes an EPM attribute target. - - The writer to write to. - The target segment describing the attribute to write. - The entry properties value cache to use to access the properties. - The type of the entry. - The name of the prefix if it was already declared. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - The entry EPM value cache to use. - The entity type of the entry being processed. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Writer for the EPM syndication-only. Writes the EPM properties into ATOM metadata OM. - - - - The EPM target tree to use. - - - Atom entry metadata to write to. - - - - Constructor. - - The EPM target tree to use. - The output context currently in use. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The EPM target tree to use. - The entry properties value cache to use to access the properties. - The type of the entry. - The output context currently in use. - The ATOM metadata OM with the EPM values populated. - - - - Creates a text ATOM value. - - The text value to use. - The content kind of the value. - The Atom text value. - - - - Given an object returns the corresponding DateTimeOffset value through conversions. - - Object containing property value. - The target syndication property for the mapping (used for exception messages). - The current settings to control the behavior of the writer. - DateTimeOffset after conversion. - - - - Given an object returns the corresponding string representation of the value. - - Object containing property value. - The current settings to control the behavior of the writer. - String representation of the property value. - - - - Writes the syndication part of EPM for an entry into ATOM metadata OM. - - The entry properties value cache to use to access the properties. - The type of the entry. - The ATOM metadata OM with the EPM values populated. - - - - Writes a non-leaf segment which has sub segments. - - The segment being written - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - - - - Writes EPM value to a person construct (author or contributor). - - The target segment which points to either author or contributor element. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The person metadata or null if no person metadata should be written for this mapping. - - - - Given a target segment the method returns the text value of the property mapped to that segment to be used in EPM. - - The target segment to read the value for. - EPM value cache to use to get property values, or a primitive value - The type of the entry or collection item. - The test representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Atom metadata description for a workspace. - - - - Gets or sets the title of the workspace. - The title of the workspace. - - - - Atom metadata description for a collection (in a workspace). - - - - Gets or sets the title of the collection. - The title of the collection. - - - Gets or sets the accept range of media types for this collection. - The accept range of media types for this collection. - - - Gets or sets the categories for this collection. - The categories for this collection. - - - - Caches values of properties and items enumerations so that we only ever enumerate these once even if they were use in EPM. - - - - - Caches either ComplexValue properties enumeration or Collection items enumeration. - - The key is the complex value, or collection for the property in question. - For complex property, the value is a List of ODataProperty which stores the enumeration ODataComplexValue.Properties cache. - For collection property, the value is a List of object which stores the enumeration ODataCollectionValue.Items cache. - The items are either EpmCollectionItemCache instances in which case the value of the item is cached inside that instance, - or it's any other type in which case the value of the item is that instance. - - - - Creates a new empty cache. - - - - - Returns the properties for the specified complex value. - - The EPM value cache to use (can be null). - The complex value to get the properties for. - If we're writing content of an entry or not. - The properties enumeration for the complex value. - - - - Caches and returns the properties for the specified complex value. - - The complex value to cache the properties for. - The cached properties enumeration for the complex value. - This method assumes that the complex value's properties are not cached yet. - - - - Returns the properties for the specified complex value. - - The complex value to get the properties for. - true if we're writing entry content or false when writing out-of-content EPM. - The properties enumeration for the complex value. - - - - Caches values of properties enumerations on an entry and then EPM values for the rest of property values. - - - - - Caches the ODataEntry.Properties enumeration. - - - - - Creates a new cache. - - The entry for which to create the properties cache. - - - - Returns enumeration of properties (excluding stream properties) for the entry. - - - - - Returns enumeration of stream properties for the entry. - - - - - Helper methods for EPM writers. - - - - - Given a property value returns the text value to be used in EPM. - - The value of the property. - The text representation of the value, or the method throws if the text representation was not possible to obtain. - - - - Gets the for the specified - from the . - - The EPM source path segment for the parent of the property being written. - The name of the property to get the for. - The for the specified or null if none exists. - - - - Gets the for the specified . - - The EPM source path segment to get the from. - The for the specified or null if none exists. - - - - Returns an for a given property provided the parent . - - The parent to get the property segment from. - The name of the property to get the for. - An for a given property provided the parent . - - - - Cache all the properties and collection item enumerations needed for EPM processing. - - The property value cache to cache the EPM related properties in. - The source tree describing all properties taking part in entity property mappings. - - - - Cache the property and collection item enumerations needed in EPM mappings. We do this for syndication and custom - mappings. - - The property value cache to use for caching. - The source path segments to cache. - The values to compute the segments against. - - - - Gets the property value as the requested type. - - The expected type of the property value. - The properties to search. - The name of the property to get the value for. - The property value as or null if no property - with name or with the expected type exists. - true if a property of the expected type was found; otherwise false. - - - - Helper methods used to merge Atom metadata from EPM with those specified through annotations. - - - - - Merges custom and EPM ATOM metadata. - - The custom ATOM metadata, or null if there were no custom ATOM metadata. - The EPM ATOM metadata, or null if there are no EPM mappings to syndication targets. - The instance configuring the writer. - The merged ATOM metadata to write to the output. - The merge means that if one of the sides has null, the other is used, otherwise if both are non-null - we verify that the values are the same, otherwise we throw. - - - - Merges enumerations of person metadata. - - The enumeration of custom person metadata. - The enumeration of EPM person metadata. - The type of syndication mapping, one of AtomLinkMetadata, AtomCategoryMetadata, AtomPersonMetadata, - The merged enumeration. - - - - Merges ATOM text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged ATOM text value. - - - - Merges text values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the text value, used for error reporting. - The merged text value. - - - - Merges date time offset values. - - The custom value. - The EPM value. - The name of the ATOM property which holds the value, used for error reporting. - The merged date time offset value. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Tries to merge custom and EPM values if one of them is null. - - The type of the value to merge. - The custom value. - The EPM value. - The merge value if the merge was possible. - true if one of the values was null and thus the other was returned in ; - false if both were not null and thus full merge will have to be performed. - - - - Class for writing OData batch messages; also verifies the proper sequence of write calls on the writer. - - - - The output context to write to. - - - The boundary string for the batch structure itself. - - - The batch-specific URL resolver that stores the content IDs found in a changeset and supports resolving cross-referencing URLs. - - - The state the writer currently is in. - - - - The boundary string for the current changeset (only set when writing a changeset, - e.g., after WriteStartChangeSet has been called and before WriteEndChangeSet is called). - - When not writing a changeset this field is null. - - - - A flag to indicate whether the batch start boundary has been written or not; important to support writing of empty batches. - - - - - A flags to indicate whether the current changeset start boundary has been written or not. - This is false if a changeset has been started by no changeset boundary was written, and true once the first changeset - boundary for the current changeset has been written. - - - - The request message for the operation that is currently written if it's a request; - or null if no part is written right now or it's a response part. - - - The response message for the operation that is currently written if it's a response; - or null if no part is written right now or it's a request part. - - - - The value of the Content-ID header of the current operation (or null if no Content-ID header exists). - - - Note that the current Content-ID header is not included immediately in the content ID cache - since the current content ID will only be visible to subsequent operations. - - - - The current size of the batch message, i.e., how many query operations and changesets have been written. - - - The current size of the active changeset, i.e., how many request have been written for the changeset. - - - - Constructor. - - The output context to write to. - The boundary string for the batch structure itself. - - - Starts a new batch; can be only called once and as first call. - - - Ends a batch; can only be called after WriteStartBatch has been called and if no other active changeset or operation exist. - - - Starts a new changeset; can only be called after WriteStartBatch and if no other active operation or changeset exists. - - - Ends an active changeset; this can only be called after WriteStartChangeset and only once for each changeset. - - - Creates an for writing an operation of a batch request. - The message that can be used to write the request operation. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - Creates a message for writing an operation of a batch response. - The message that can be used to write the response operation. - - - Flushes the write buffer to the underlying stream. - - - - This method is called to notify that the content stream for a batch operation has been requested. - - - - - This method is called to notify that the content stream of a batch operation has been disposed. - - - - - This method notifies the listener, that an in-stream error is to be written. - - - This listener can choose to fail, if the currently written payload doesn't support in-stream error at this position. - If the listener returns, the writer should not allow any more writing, since the in-stream error is the last thing in the payload. - - - - - Determines whether a given writer state is considered an error state. - - The writer state to check. - True if the writer state is an error state; otherwise false. - - - - Verifies that calling WriteStartBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new batch - implementation of the actual functionality. - - - - - Verifies that calling WriteEndBatch is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends a batch - implementation of the actual functionality. - - - - - Verifies that calling WriteStartChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Starts a new changeset - implementation of the actual functionality. - - - - - Verifies that calling WriteEndChangeset is valid. - - true if the call is to be synchronous; false otherwise. - - - - Ends an active changeset - implementation of the actual functionality. - - - - - Verifies that calling CreateOperationRequestMessage if valid. - - true if the call is to be synchronous; false otherwise. - The Http method to be used for this request operation. - The Uri to be used for this request operation. - - - - Creates an for writing an operation of a batch request - implementation of the actual functionality. - - The Http method to be used for this request operation. - The Uri to be used for this request operation. - The message that can be used to write the request operation. - - - - Verifies that calling CreateOperationResponseMessage is valid. - - true if the call is to be synchronous; false otherwise. - - - - Creates an for writing an operation of a batch response - implementation of the actual functionality. - - The message that can be used to write the response operation. - - - - Writes all the pending headers and prepares the writer to write a content of the operation. - - - - - Disposes the batch writer and set the 'OperationStreamRequested' batch writer state; - called after the flush operation(s) have completed. - - - - - Remember a non-null Content-ID header for change set request operations. - If a non-null content ID header is specified for a change set request operation, record it in the URL resolver. - - The Content-ID header value read from the message. - - Note that the content ID of this operation will only - become visible once this operation has been written - and OperationCompleted has been called on the URL resolver. - - - - - Verifies that the writer is in correct state for the Flush operation. - - true if the call is to be synchronous; false otherwise. - - - - Verifies that a call is allowed to the writer. - - true if the call is to be synchronous; false otherwise. - - - - Catch any exception thrown by the action passed in; in the exception case move the writer into - state ExceptionThrown and then rethrow the exception. - - The action to execute. - - - - Sets a new writer state; verifies that the transition from the current state into new state is valid. - - The writer state to transition into. - - - - Verify that the transition from the current state into new state is valid . - - The new writer state to transition into. - - - - Validates that the batch writer is ready to process a new write request. - - - - - Write any pending headers for the current operation message (if any). - - - A flag to control whether after writing the pending data we report writing the message to be completed or not. - - - - - Writes the start boundary for an operation. This is either the batch or the changeset boundary. - - - - - Sets the 'Error' state and then throws an ODataException with the specified error message. - - The error message for the exception. - - - - Increases the size of the current batch message; throws if the allowed limit is exceeded. - - - - - Increases the size of the current change set; throws if the allowed limit is exceeded. - - - - - Resets the size of the current change set to 0. - - - - The request message for the operation that is currently written if it's a request; or null if no operation is written right now or it's a response operation. - - - The response message for the operation that is currently written if it's a response; - or null if no operation is written right now or it's a request operation. - - - The message for the operation that is currently written; or null if no operation is written right now. - - - - An enumeration representing the current state of the writer. - - - - The writer is in initial state; nothing has been written yet. - - - WriteStartBatch has been called. - - - WriteStartChangeSet has been called. - - - CreateOperationRequestMessage/CreateOperationResponseMessage has been called. - - - - ODataMessage.GetStreamAsync() has been called on an operation which caused a to be created; - the batch writer is unusable while an operation is being written. - - - - The stream for writing the content of an operation has been disposed. The batch writer can now be used again. - - - WriteEndChangeSet has been called. - - - WriteEndBatch has been called. - - - The writer is in error state; nothing can be written anymore except the error payload. - - - - Class representing a media type definition. - - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - The parameters specified on the media type. - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - - Converts the current to a string representation suitable for use in a content-type header. - - The string representation of media type. - - - - Converts the current to a string representation suitable for use in a content-type header. - - The encoding to use when converting the media type into text. - The string representation of the current media type. - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Returns the full media type in standard type/subtype form, without parameters. - - - Returns the subtype part of the media type. - - - Returns the type part of the media type. - - - media type parameters - - - - ODataCollectionWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The Verbose JSON collection serializer to use. - - - - - Constructor for creating a collection writer to use when writing operation result payloads. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Constructor for creating a collection writer to use when writing parameter payloads. - - The output context to write to. - The type reference of the expected item type or null if no expected item type exists. - If not null, the writer will notify the implementer of the interface of relevant state changes in the writer. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - ODataCollectionWriter for the ATOM format. - - - - The output context to write to. - - - The collection serializer to use for writing. - - - - Constructor. - - The output context to write to. - The item type of the collection being written or null if no metadata is available. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing a collection. - - The representing the collection. - - - - Finish writing a collection. - - - - - Writes a collection item (either primitive or complex) - - The collection item to write. - The expected type of the collection item or null if no expected item type exists. - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Enumeration representing the different kinds of payloads ODatLib can write. - - - - Payload kind for a feed. - - - Payload kind for an entry. - - - Payload kind for a property. - - - Payload kind for an entity reference link. - - - Payload kind for entity reference links. - - - Payload kind for a raw value. - - - Payload kind for a binary value. - - - Payload kind for a collection. - - - Payload kind for a service document. - - - Payload kind for a metadata document. - - - Payload kind for an error. - - - Payload kind for a batch. - - - Payload kind for parameters for a service action. - - - Unknown format - - - - Class representing a resource collection in a workspace of a data service. - - - - Gets or sets the URI representing the Unified Resource Locator (URL) to the collection. - The URI representing the Unified Resource Locator (URL) to the collection. - - - Gets or sets the name of the collection; this is the entity set name in JSON and the HREF in Atom. - The name of the collection. - - This property is required when reading and writing the JSON light format, but has no meaning in the Verbose JSON format. - If present in ATOM, it will be used to populate the title element. - - - - - Class representing the a workspace of a data service. - - - - Gets or sets the set of collections in the workspace. - The set of collections in the workspace. - - - - Constant values used in the EDM. - - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - Represents a Time instance as an interval measured in milliseconds from an instance of DateTime. - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - Represents an interval measured in milliseconds. - - - edm stream primitive type name - - - edm geography primitive type name - - - Represents a geography Point type. - - - Represents a geography LineString type. - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - The namespace for Edmx V1. - - - The namespace for Edmx V2. - - - The namespace for Edmx V3. - - - The element name of the top-level <Edmx> metadata envelope. - - - The attribute name used on entity types to indicate that they are MLEs. - - - The attribute name used on service operations and primitive properties to indicate their MIME type. - - - The attribute name used on service operations to indicate their HTTP method. - - - The attribute name used on a service operation to indicate whether all instances of the binding parameter - type can be bound to that service operation. - - - The attribute name used on an entity container to mark it as the default entity container. - - - 'true' literal - - - 'false' literal - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accessed statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - - Single instance per 'T' for comparison. - - - - - Initializes a new ReferenceEqualityComparer instance. - - - - - Determines whether two objects are the same. - - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - - Serves as hashing function for collections. - - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Returns a singleton instance for this comparer type. - - - - - Utility methods for working with CLR types. - - - - Checks whether the specified type is a generic nullable type. - Type to check. - true if is nullable; false otherwise. - - - Gets a non-nullable version of the specified type. - Type to get non-nullable version for. - - if type is a reference type or a - non-nullable type; otherwise, the underlying value type. - - - - - Checks whether the specified can be assigned null. If it is a non-nullable - value type it creates the corresonding nullable type and returns it. - - The type to check. - The if it allows null or the corresponding nullable type. - - - Checks whether the specified can be assigned null. - Type to check. - true if type is a reference type or a Nullable type; false otherwise. - - - - Determines if two CLR types are equivalent. - - First type to compare. - Second type to compare. - true if the types are equivalent (they both represent the same type), or false otherwise. - This method abstracts away the necessity to call Type.IsEquivalentTo method in .NET 4 and higher but - use simple reference equality on platforms which don't have that method (like Silverlight). - - - - Type for Atom Syndication Format (Atom) feed annotationsAsArray. - - - - Gets or sets a collection of authors of a feed. - A collection of authors of a feed. - - - Gets or sets the categories of a feed. - The categories of a feed. - - - Gets or sets a collection of contributors of a feed. - A collection of contributors of a feed. - - - Gets or sets the generator of a feed. - The generator of a feed. - - - Gets or sets the URI of the icon for a feed. - The URI of the icon for a feed. - - - Gets or sets the collection of all Atom link information except for the next page and self links. - The collection of all Atom link information except for the next page and self links. - - - Gets or sets the URI for the feed's logo. - The URI for the feed’s logo. - - - Gets or sets the rights text of a feed. - The rights text of a feed. - - - Gets or sets the self link of the feed. This link should point to the source of the feed. - The self link of the feed. - - - Gets the next page link of the feed. This link should point to the next page of results. - - - Gets or sets the identifier for the feed if used as metadata of an Atom:source element. - The identifier for the feed if used as metadata of an Atom:source element. - - - Gets or sets the subtitle of a feed. - The subtitle of a feed. - - - Gets or sets the title of the feed. - The title of the feed. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - Type for Atom Syndication Format (Atom) entry annotationsAsArray. - - - - - The date/time when the entry was published. - - - - - Date/Time of last update to the source in string format. - - - - Gets or sets a collection of authors of an entry. - A collection of authors of an entry. - - - Gets or sets the ATOM metadata for the category element which stores the type name of the entry. - - - Gets or sets the categories of an entry. - The categories of an entry. - - - Gets or sets a collection of contributors of an entry. - A collection of contributors of an entry. - - - Gets or sets an Atom link metadata for the self link. - An Atom link metadata for the self link. - - - Gets or sets an Atom link metadata for the edit link. - An Atom link metadata for the edit link. - - - Gets or sets the collection of all Atom link information except for the self/edit links and the navigation property links. - The collection of all Atom link information except for the self/edit links and the navigation property links. - - - Gets or sets the date and time when the entry was published. - The date and time when the entry was published. - - - Gets or sets the rights text of an entry. - The rights text of an entry. - - - Gets or sets the source of an entry and if the entry was copied from a different stream the property contains the feed metadata of the original feed. - The source of an entry. - - - Gets or sets the summary of the entry. - The summary of the entry. - - - Gets or sets the title of the entry. - The title of the entry. - - - Gets or sets the date and time of last update to the source. - The date and time of last update to the source. - - - - The date/time when the entry was published. - - - This property is only used in WCF DS client mode (and replaces the 'Published' property then). - - - - - Date/Time of last update to the source in string format. - - - This property is only used in WCF DS client mode (and replaces the 'Updated' property then). - - - - - Atom metadata description for a link. - - - - The IRI value coming from EPM. - We use AtomLinkMetadata class to hold navigation links, association links etc. - They convert Href property to string based on baseURI and whether Href is absolute or not. - Also we do not want to rely on validation done by Uri class, so we are holding EPM values - mapped to link/@href on a separate field. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the URI of the link. - The URI of the link. - - - Gets or sets the link's relation type. - The link’s relation type. - - - Gets or sets the media type of the data returned by the link. - The media type of the data returned by the link. - - - Gets or sets the language tag (for example, en-US) of the resource pointed to by the link. - The language tag of the resource pointed to by the link. - - - Gets or sets a human-readable description of the link. - A human-readable description of the link. - - - Gets or sets a hint at the length of the content returned from the link. - A hint at the length of the content returned from the link. - - - - Atom metadata description for a category. - - - - Initializes a new instance of the class. - - - - Copy constructor. - - The instance to copy the values from; can be null. - - - Gets or sets the string value identifying the category. - The string value identifying the category. - - - Gets or sets the URI that indicates the scheme of the category. - The URI that indicates the scheme of the category. - - - Gets or sets a human-readable label for display in user interfaces. - A human-readable label. - - - - Atom metadata description for a person. - - - - The name of the person. - - - The email of the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - Converts a string to an instance. - The instance created for name. - The name used in the person metadata. - - - - Implicit conversion from string to . - - The to convert to an . - The result. - - - Gets or sets the name of the person (required). - The name of the person (required). - - - Gets or sets an IRI associated with the person. - An IRI associated with the person. - - - Gets or sets an email address associated with the person. - An email address associated with the person. - - - The URI value comming from EPM. - In WCF DS when mapping a property through EPM to person/uri element we convert the value of the property to string - and then set the syndication APIs Uri property which is also of type string. Syndication API doesn't do any validation on the value - and just writes it out. So it's risky to try to convert the string to a Uri instance due to the unknown validation the Uri class - might be doing. Instead we use internal property to set from EPM. - - - - Atom metadata description of a content generator. - - - - Gets or sets the human readable name of the generator of the content. - The human readable name of the generator of the content. - - - Gets or sets the (optional) URI describing the generator of the content. - The (optional) URI describing the generator of the content. - - - Gets or sets the (optional) version of the generator. - The (optional) version of the generator. - - - - Helper methods related to the ATOM Format - - - - The length of the media type for ATOM payloads (application/atom+xml). - - - The length of the media type for ATOM payloads when terminated by a ';' (application/atom+xml;). - - - The length of the media type for links referencing a single entry (application/atom+xml;type=entry). - - - The length of the media type for links referencing a collection of entries (application/atom+xml;type=feed). - - - Parameter string for the media type for links referencing a single entry. - - - Parameter string for the media type for links referencing a collection of entries. - - - - Creates the value for the navigation property's link relation attribute. - - The link representing the navigation property for which the relation value is created. - The relation attribute value for the navigation property's link relation. - - - - Creates the value for the navigation property's type attribute. - - The link representing the navigation property for which the type value is created. - The type attribute value for the navigation property. - - - - Creates the value for the navigation property's association link relation attribute. - - The link representing the navigation property's association for which the relation value is created. - The relation attribute value for the navigation property's association link relation. - - - - Creates the value for the stream property's link relation attribute. - - The stream property to create the relation for. - 'true' if the relation is computed for an edit link; otherwise 'false'. - The relation attribute value for the stream property's link relation. - - - - Unescape the attribute value for ATOM link element. - - ATOM link relation attribute value. - - The unescaped relation attribute string if it's a valid URI. - null if relation attribute is not a valid URI. - - - - - Return name following the specified in the . - - ATOM link relation attribute value, unescaped parsed URI string. - Value which the rel attribute should start with. - - The name if the starts with the given . - If the value does not start with the a null value is returned. - - - - - Determines whether the type of a navigation link has one of the expected standard values. - - The navigation link type to check. - true if the navigation link type has a 'type' parameter with the value 'entry'; otherwise false. - true if the navigation link type has a 'type' parameter with the value 'feed'; otherwise false. - true if the navigation link type is the expected application/atom+xml; otherwise false. - - - - Helper methods used by the OData writer to write ATOM metadata. - - - - - Creates a new instance by merging the given - (if any) with the specified , - and (optional) . - - The metadata to merge with the , and (optional) . - The relation to use in the merged metadata. - The href to use in the merged metadata. - The (optional) title to use in the merged metadata. - The (optional) media type to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for , - , , or this method validates that they - are the same as the ones specified in the method arguments. - - - - - Creates a new instance by merging the given - (if any) with the specified and . - - The metadata to merge with the and . - The term to use in the merged metadata. - The scheme to use in the merged metadata. - A new instance created by merging all the arguments. - - If the already holds values for or - this method validates that they are the same as the ones specified in the method arguments. - - - - - Helper to convert values to strings compliant to the ATOM format - - - - Used for settings the updated element properly. - - - - Converts a boolean to the corresponding ATOM string representation. - - The boolean value to convert. - The ATOM strings representing boolean literals. - - - - Converts a byte to the corresponding ATOM string representation. - - The byte value to convert. - The ATOM strings representing the byte value. - - - - Converts a decimal to the corresponding ATOM string representation. - - The decimal value to convert. - The ATOM strings representing the decimal value. - - - - Converts the given date/time value to the string appropriate for Atom format - - The date/time value to convert. - The string version of the date/time value in Atom format. - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given DateTimeOffset value to string appropriate for Atom format. - ToAtomString is used to write values in atom specific elements like updated, etc. - - Given DateTimeOffset value. - Atom format string representation of . - - - - Converts the given timespan value to the string appropriate for Atom format - - The timespan value to convert. - The string version of the timespan value in Atom format. - - - - Converts the given double value to the string appropriate for Atom format - - The double value to convert. - The string version of the double value in Atom format. - - - - Converts the given Int16 value to the string appropriate for Atom format - - The Int16 value to convert. - The string version of the Int16 value in Atom format. - - - - Converts the given Int32 value to the string appropriate for Atom format. - - The Int32 value to convert. - The string version of the Int32 in Atom format. - - - - Converts the given Int64 value to the string appropriate for Atom format. - - The Int64 value to convert. - The string version of the Int64 in Atom format. - - - - Converts the given SByte value to the string appropriate for Atom format. - - The SByte value to convert. - The string version of the SByte in Atom format. - - - - Converts the given byte array value to the string appropriate for Atom format. - - The byte array to convert. - The string version of the byte array in Atom format. - - - - Converts the given Single value to the string appropriate for Atom format. - - The Single value to convert. - The string version of the Single in Atom format. - - - - Converts the given Guid value to the string appropriate for Atom format. - - The Guid value to convert. - The string version of the Guid in Atom format. - - - - Atom specific extension methods. - - - - Determines an extension method to get the for an annotatable entry. - An instance or null if no annotation of that type exists. - The entry instance to get the annotation from. - - - Determines an extension method to get the for an annotatable feed. - An instance or null if no annotation of that type exists. - The feed instance to get the annotation from. - - - Determines an extension method to get the for an annotatable navigation link. - An instance or null if no annotation of that type exists. - The navigation link instance to get the annotation from. - - - Determines an extension method to get the for an annotatable workspace. - An instance or null if no annotation of that type exists. - The workspace to get the annotation from. - - - Determines an extension method to get the for an annotatable (resource) collection. - An instance or null if no annotation of that type exists. - The (resource) collection to get the annotation from. - - - Determines an extension method to get the for an annotatable association link. - An instance or null if no annotation of that type exists. - The association link to get the annotation from. - - - - Write-only stream which buffers all synchronous write operations until FlushAsync is called. - - - - - The stream being wrapped. - - - - - Queue of buffers to write. - - - - - The last buffer in the bufferQueue. This is the buffer we're writing into. - - - - - Constructor - - The underlying async stream to wrap. Note that only asynchronous write operation will be invoked on this stream. - - - - Flush the stream to the underlying storage. - - - - - Reads data from the stream. This operation is not supported by this stream. - - The buffer to read the data to. - The offset in the buffer to write to. - The number of bytes to read. - The number of bytes actually read. - - - - Seeks the stream. This operation is not supported by this stream. - - The offset to seek to. - The origin of the seek operation. - The new position in the stream. - - - - Sets the length of the stream. This operation is not supported by this stream. - - The length in bytes to set. - - - - Writes to the stream. - - The buffer to get data from. - The offset in the buffer to start from. - The number of bytes to write. - - - - Clears any internal buffers without writing them to the underlying stream. - - - - - Synchronous flush operation. This will flush all buffered bytes to the underlying stream through synchronous writes. - - - - - Disposes the object. - - True if called from Dispose; false if called from the finalizer. - - - - Queues a new buffer to the queue of buffers - - - - - Prepares all buffers for flushing and returns the queue of buffers to flush. - - The queue of buffer to flush. - - - - Determines if the stream can read - this one cannot - - - - - Determines if the stream can seek - this one cannot - - - - - Determines if the stream can write - this one can - - - - - Returns the length of the stream, which this implementation doesn't support. - - - - - Gets or sets the position in the stream, this stream doesn't support seeking, so position is also unsupported. - - - - - Class to wrap a byte buffer used to store portion of the buffered data. - - - - - The size of a buffer to allocate (80 KB is the limit for large object heap, so use 79 to be sure to avoid LOB) - - - - - The byte buffer used to store the data. - - - - - Number of bytes being stored. - - - - - Constructor - creates a new buffer - - - - - Writes data into the buffer. - - The buffer containing the data to write. - The index to start at. - Number of bytes to write. - How many bytes were written. - - - - Writes the buffer to the specified stream. - - The stream to write the data into. - - - - Constant values related to the ATOM format. - - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Attribute use to add xml: namespaces specific attributes. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - XML attribute value to indicate the base URI for a document or element. - - - Name of the xml:lang attribute. - - - Name of the xml:space attribute. - - - 'preserve' value for the xml:space attribute. - - - XML namespace for data service annotations. - - - XML namespace prefix for data service annotations. - - - XML namespace for data services. - - - Prefix for data services namespace. - - - OData attribute which indicates the etag value for the declaring entry element. - - - OData attribute which indicates the null value for the element. - - - OData element name for the 'count' element - - - OData scheme namespace for data services category scheme in atom:category elements. - - - OData stream property 'mediaresource' Uri segment name used in named stream link relations. - - - OData stream property 'edit-media' Uri segment name used in named stream link relations. - - - OData stream property prefix for named stream 'mediaresource' related link relations. - - - OData stream property prefix for named stream 'edit-media' related link relations. - - - OData navigation properties 'related' Uri segment name used in navigation link relations. - - - OData navigation properties prefix for navigation link relations. - - - OData navigation properties 'relatedlinks' Uri segment name used in association link relations. - - - OData association link prefix for relation attribute. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Name of the error element for Xml error responses. - - - Name of the error code element for Xml error responses. - - - Name of the error message element for Xml error responses. - - - Name of the inner error message element for Xml error responses. - - - Name of the message element in inner errors for Xml error responses. - - - Name of the type element in inner errors for Xml error responses. - - - Name of the stack trace element in inner errors for Xml error responses. - - - Name of the inner error element nested in inner errors for Xml error responses. - - - Element name for the items in a collection. - - - Element name for m:action. - - - Element name for m:function. - - - Attribute name for m:action|m:function/@metadata. - - - Attribute name for m:action|m:function/@title. - - - Attribute name for m:action|m:function/@target. - - - XML element name for the wrapper 'links' element around a sequence of Uris in response to a $links request. - - - XML element name for a Uri response to a $links request. - - - XML element name for a next link in a response to a $links request. - - - XML element name for an annotation in an ATOM payload. - - - Attribute name for m:annotation/@target. - - - Attribute name for m:annotation/@term. - - - Attribute name for m:annotation/@string. - - - Attribute name for m:annotation/@bool. - - - Attribute name for m:annotation/@decimal. - - - Attribute name for m:annotation/@int. - - - Attribute name for m:annotation/@float. - - - Schema namespace for Atom. - - - Prefix for the Atom namespace - empty since it is the default namespace. - - - Prefix for the Atom namespace used in cases where we need a non-empty prefix. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark type attribute in Atom. - - - Element containing property values when 'content' is used for media link entries - - - XML element name to mark id element in Atom. - - - XML element name to mark title element in Atom. - - - XML element name to mark the subtitle element in Atom. - - - XML element name to mark the summary element in Atom. - - - XML element name to mark the 'published' element in Atom. - - - XML element name to mark the 'source' element in Atom. - - - XML element name to mark the 'rights' element in Atom. - - - XML element name to mark the 'logo' element in Atom. - - - XML element name to mark the 'author' element in Atom. - - - XML element name to mark the 'author name' element in Atom. - - - XML element name to mark the 'contributor' element in Atom. - - - XML element name to mark the 'generator' element in Atom. - - - XML attribute name of the 'uri' attribute of a 'generator' element in Atom. - - - XML attribute name of the 'version' attribute of a 'generator' element in Atom. - - - XML element name to mark the 'icon' element in Atom. - - - XML element name to mark the 'name' element in an Atom person construct. - - - XML element name to mark the 'uri' element in an Atom person construct. - - - XML element name to mark the 'email' element in an Atom person construct. - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'scheme' - XML attribute name for ATOM 'label' attribute for categories. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for self links. - - - XML element name to mark link element in Atom. - - - XML attribute name of the link relation attribute in Atom. - - - XML attribute name of the type attribute of a link in Atom. - - - XML attribute name of the href attribute of a link in Atom. - - - XML attribute name of the hreflang attribute of a link in Atom. - - - XML attribute name of the title attribute of a link in Atom. - - - XML attribute name of the length attribute of a link in Atom. - - - XML element name to mark href attribute element in Atom. - - - Atom source attribute name for the content of media link entries. - - - Atom link relation attribute value for edit-media links. - - - XML attribute value of the link relation attribute for next page links in Atom. - - - XML attribute value of the link relation attribute for delta links in Atom. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom metadata text construct kind: plain text - - - Atom metadata text construct kind: html - - - Atom metadata text construct kind: xhtml - - - Default title for service document workspaces. - - - 'true' literal - - - 'false' literal - - - IANA link relations namespace. - - - The Atom Publishing Protocol (APP) namespace: 'http://www.w3.org/2007/app'. - - - The name of the top-level 'service' element when writing service documents in Xml format. - - - The name of the 'workspace' element when writing service documents in Xml format. - - - The name of the 'collection' element when writing service documents in Xml format. - - - The name of the 'categories' element encountered while reading a service document in XML format. - - - The name of the 'accept' element encountered while reading a service document in XML format. - - - The name of the 'fixed' attribute of an inline categories element in APP. - - - The value 'yes' of the 'fixed' attribute of an inline categories element in APP. - - - The value 'no' of the 'fixed' attribute of an inline categories element in APP. - - - XML namespace for GeoRss format - - - XML namespace prefix for GeoRss format - - - XML namespace for GML format - - - XML namespace prefix for GML format - - - - Helper methods used by the OData writer for the JSON format. - - - - - Write an error message. - - The JSON writer to write the error. - Action to write the instance annotations. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Writes the __metadata property with the specified type name. - - The JSON writer to write to. - The type name to write. - - - - Will write the function's name and start the JSONP scope if we are writing a response and the - JSONP function name is not null or empty. - - JsonWriter to write to. - Writer settings. - - - - If we are writing a response and the given Json Padding function name is not null or empty - this function will close the JSONP scope. - - JsonWriter to write to. - Writer settings. - - - - Returns the string representation of the URI; Converts the URI into an absolute URI if the parameter is set to true. - - The output context for which to convert the URI. - The uri to process. - true, if the URI needs to be translated into an absolute URI; false otherwise. - If the parameter is set to true, then a string representation of an absolute URI which is either the - specified if it was absolute, or it's a combination of the BaseUri and the relative ; - otherwise a string representation of the specified . - - This method will fail if is set to true and the specified is relative and there's no base URI available. - - - - Write an error message. - - JSON writer. - The code of the error. - The message of the error. - The language of the message. - Inner error details that will be included in debug mode (if present). - Instance annotations for this error. - Action to write the instance annotations. - The maximumum number of nested inner errors to allow. - true if we're writing JSON lite, false if we're writing verbose JSON. - - - - Write an inner error property and message. - - The JSON writer to write the error to. - Inner error details. - The property name for the inner error property. - The number of times this method has been called recursively. - The maximumum number of nested inner errors to allow. - - - - Class with utility methods to work with HTTP concepts - - - - Reads a Content-Type header and extracts the media type's name (type/subtype) and parameters. - The Content-Type header. - The media type in standard type/subtype form, without parameters. - The (optional) charset parameter of the media type. - The parameters of the media type not including the 'charset' parameter. - - - Builds a Content-Type header which includes media type and encoding information. - Media type to be used. - Encoding to be used in response, possibly null. - The value for the Content-Type header. - - - Returns all media types from the specified (non-blank) . - Non-blank text, as it appears on an HTTP Accepts header. - An enumerable object with key/value pairs of media type descriptions with their (optional) charset parameter values. - - - - Does an ordinal ignore case comparision of the given media type names. - - First media type name. - Second media type name. - returns true if the media type names are the same. - - - - Does an ordinal ignore case comparision of the given MIME type parameter name. - - First parameter name. - Second parameter name. - returns true if the parameter names are the same. - - - Gets the best encoding available for the specified charset request. - - The Accept-Charset header value (eg: "iso-8859-5, unicode-1-1;q=0.8"). - - The media type used to compute the default encoding for the payload. - The encoding to use for UTF-8 charsets; we use the one without the BOM. - The encoding to use if no encoding could be computed from the or . - An Encoding object appropriate to the specifed charset request. - - - - Reads the numeric part of a quality value substring, normalizing it to 0-1000 - rather than the standard 0.000-1.000 ranges. - - Text to read qvalue from. - Index into text where the qvalue starts. - After the method executes, the normalized qvalue. - - For more information, see RFC 2616.3.8. - - - - - Validates that the HTTP method string matches one of the supported HTTP methods. - - The HTTP method string to validate. - - - - Determines whether the given HTTP method is one that is accepted for queries. GET is accepted for queries. - - The HTTP method to check. - True if the given httpMethod is GET. - - - - Gets the string status message for a given Http response status code. - - The status code to get the status message for. - The string status message for the . - - - - Returns the encoding object for the specified charset name. - - The of the charset to get the encoding for. - The encoding object or null if such encoding is not supported. - - - - Reads a token or quoted-string value from the header. - - Name of the header. - Header text. - Parsing index in . - Returns true if the value is a quoted-string, false if the value is a token. - Func to create the appropriate exception to throw from the given error message. - The token or quoted-string value that was read from the header. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - - Enumerates each charset part in the specified Accept-Charset header. - - Non-null and non-empty header value for Accept-Charset. - - A (non-sorted) enumeration of CharsetPart elements, which include - a charset name and a quality (preference) value, normalized to 0-1000. - - - - Reads a media type definition as used in a Content-Type header. - Text to read. - A list of key/value pairs representing the s and their (optional) 'charset' parameters - parsed from the specified - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - The (optional) charset parameter value. - - - Reads the type and subtype specifications for a media type name. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - - Determines whether the specified character is valid in the quoted header values. - - Character to verify. - true if c is a valid in a quoted HTTP header value; false otherwise. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Converts the specified character from the ASCII range to a digit. - - Character to convert. - - The Int32 value for c, or -1 if it is an element separator. - - - - - Verfies whether the specified character is a valid separator in - an HTTP header list of element. - - Character to verify. - true if c is a valid character for separating elements; false otherwise. - - - - "Reads" a literal from the specified string by verifying that - the exact text can be found at the specified position. - - Text within which a literal should be checked. - Index in text where the literal should be found. - Literal to check at the specified position. - true if the end of string is found; false otherwise. - - - - Structure to represent a charset name with a quality value. - - - - Name of the charset. - - - Charset quality (desirability), normalized to 0-1000. - - - - Initializes a new CharsetPart with the specified values. - - Name of charset. - Charset quality (desirability), normalized to 0-1000. - - - - Writer class used to write all OData payloads (entries, feeds, metadata documents, service documents, etc.). - - - - The message for which the message writer was created. - - - A flag indicating whether we are writing a request or a response message. - - - The message writer settings to use when writing the message payload. - - - The model. Non-null if we do have metadata available. - - - The optional URL resolver to perform custom URL resolution for URLs written to the payload. - - - Flag to ensure that only a single write method is called on the message writer. - - - True if Dispose() has been called on this message writer, False otherwise. - - - The output context we're using to write the payload. - This is null until the first write operation is called. - - - The payload kind of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - The batch boundary string if the payload to be written is a batch request or response. - This is either set via the SetHeadersForPayload method or implicitly when the CreateBatchWriter method is called. - - - Flag to prevent writing more than one error to the payload. - - - The media type resolver to use when interpreting the content type. - - - The of the payload to be written with this writer. - This is either set via the SetHeadersForPayload method or implicitly when one of the write (or writer creation) methods is called. - - - Creates a new for the given request message. - The request message for which to create the writer. - - - Creates a new for the given request message and message writer settings. - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given request message and message writer settings. - - The request message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates a new for the given response message. - The response message for which to create the writer. - - - Creates a new for the given response message and message writer settings. - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - - - - Creates a new ODataMessageWriter for the given response message and message writer settings. - - The response message for which to create the writer. - The message writer settings to use for writing the message payload. - The model to use. - - - Creates an to write a feed. - The created writer. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - - - - Creates an to write a feed. - - The created writer. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - - - Creates an to write an entry. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The created writer. - - - - Creates an to write an entry. - - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - The created writer. - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - The created collection writer. - - - - Creates an to write a collection of primitive or complex values (as result of a service operation invocation). - - The item type of the collection being written or null if no metadata is available. - The created collection writer. - - - Creates an to write a batch of requests or responses. - The created batch writer. - - - - Creates an to write a parameter payload. - - The function import whose parameters will be written. - The created parameter writer. - - - Writes a service document with the specified as the message payload. - The default workspace to write in the service document. - - - Writes an as the message payload. - The property to write. - - - Writes an as the message payload. - The error to write. - A flag indicating whether debug information (for example, the inner error from the ) should be included in the payload. This should only be used in debug scenarios. - - - Writes the result of a $links query as the message payload. - The entity reference links to write as message payload. - - - - Writes the result of a $links query as the message payload. - - The entity reference links to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference links are being written, or null if none is available. - - - Writes a singleton result of a $links query as the message payload. - The entity reference link to write as the message payload. - - - - Writes a singleton result of a $links query as the message payload. - - The entity reference link to write as message payload. - The entity set of the navigation property. - The navigation property for which the entity reference link is being written, or null if none is available. - - - Writes a single value as the message body. - The value to write. - - - Writes the metadata document as the message body. - - - implementation to cleanup unmanaged resources of the writer. - - - - Sets the content-type and data service version headers on the message used by the message writer. - This method can be called if it is important to set all the message headers before calling any of the - write (or writer creation) methods on the . - If it is sufficient to set the headers when the write (or writer creation) methods on the - are called, you don't have to call this method and setting the headers will happen automatically. - - The kind of payload to be written with this message writer. - The used for the specified . - - - - If no headers have been set, sets the content-type and data service version headers on the message used by the message writer. - If headers have been set explicitly (via ODataUtils.SetHeaderForPayload) this method verifies that the payload kind used to - create the headers is the same as the one being passed in . - - The kind of payload to be written with this message writer. - - - - Ensures that the version of the OData protocol is set. - - - If a version is specified explicitly on the writer settings, it is used. - Otherwise the method tries to read the version from the message headers. - If there is a version header but the value cannot be parsed, we fail. - If there is no version header, we fall back to the default version. - - - - - Ensures that the OData format is computed and set; if needed, sets the content type - header of the message. - - - This method computes and ensures that a content type exists and computes the - OData format from it. If a content type is explicitly specified through - - or it will be used. If no - content type is specified in either place, the message headers are checked for - a content type header. - If the content type is computed from settings, the content type header is set on the message. - - - - - Verifies that feed writer can be created. - - - - - Verifies that entry writer can be created. - - - - - Verifies that collection writer can be created. - - The item type of the collection being written or null if no metadata is available. - - - - Verifies that batch writer can be created. - - - - - Verifies that parameter writer can be created. - - The function import whose parameters will be written. - - - - Verifies headers for parameter payload. - - - - - Verifies that service document can be written. - - The default workspace to write. - - - - Verifies that property can be written. - - The property to write. - - - - Verifies that top-level error can be written. - - The error to write. - - - - Verifies that in-stream error can be written. - - The error to write. - - - - Verifies that entity reference links can be written. - - The entity reference links to write as message payload. - The navigation property for which the entity reference links are being written, or null if none is available. - - - - Verifies headers for entity reference links. - - The entity reference links to write as message payload. - - - - Verifies that entity reference link can be written. - - The link result to write as message payload. - - - - Verifies that value can be written. - - The value to write. - The payload kind to use when writing this value. - - - - Verifies that metadata document can be written. - - - - - Verifies headers for metadata document. - - - - - Verifies that the ODataMessageWriter has not been disposed and has not been used before. An ODataMessageWriter - can only be used to write a single message payload but can't be reused later except for writing an in-stream error. - - - - - Check if the object has been disposed. Throws an ObjectDisposedException if the object has already been disposed. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Verifies that, if a payload kind has been set via SetHeaders, the payload kind that - is being written is the same. - - The payload kind that is attempted to write. - - - - Creates an output context and invokes a write operation on it. - - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - - - - Creates an output context and invokes a write operation on it. - - The type of the result of the write operation. - The payload kind to write. - Optional action which will be called after the headers has been verified to perform payload specific verification. - The write operation to invoke on the output. - The result of the write operation. - - - - The message writer settings to use when writing the message payload. - - - - - The media type resolver to use when interpreting the content type. - - - - - Wrapper class around an IODataResponseMessageAsync to isolate our code from the interface implementation. - - - This class also implements the message interface since it is passed to the payload kind - detection logic on the format implementations and manages the buffering read stream. - - - - The response message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The response message to wrap. - true if the message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative number if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The result status code of the response message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Wrapper class around an IODataRequestMessageAsync to isolate our code from the interface implementation. - - - - The request message this class is wrapping. - - - - Constructs an internal wrapper around the - that isolates the internal implementation of the ODataLib from the interface. - - The request message to wrap. - true if the request message is being written; false when it is read. - true if the stream returned should ignore dispose calls. - The maximum size of the message in bytes (or a negative value if no maximum applies). - - - - Returns a value of an HTTP header. - - The name of the header to get. - The value of the HTTP header, or null if no such header was present on the message. - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Synchronously get the stream backing this message. - - The stream for this message. - - - - Queries the message for the specified interface type. - - The type of the interface to query for. - The instance of the interface asked for or null if it was not implemented by the message. - - - - The request Url for this request message. - - - - - The HTTP method used for this request message. - - - - - Returns an enumerable over all the headers for this message. - - - - - Represents an association link. - - - - the metadata builder for this association link. - - - URI representing the Unified Resource Locator (Url) of the link. - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this association link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets the name of the association link. - The name of the associate link. - This is the name of the navigation property to which the association link belongs. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - This URL should point to a resource which can be used to retrieve or modify the association itself - not the URL to traverse the navigation property. - - - - Class representing an error payload. - - - - - Verifies that can be added as an annotation of this. - - Annotation instance. - - - - Gets the collection of instance annotations from this instance. - - The collection of instance annotations - - - - Adds an instance annotation from the payload to this instance. - - The name of the instance annotation. - The value of the instance annotation. - - - Gets or sets the error code to be used in payloads. - The error code to be used in payloads. - - - Gets or sets the error message. - The error message. - - - Gets or sets the language for the exception Message. - The language for the exception Message. - - - Gets or sets the implementation specific debugging information to help determine the cause of the error. - The implementation specific debugging information. - - - - Collection of custom instance annotations. - - - - - Utility class to check feature availability in a certain version of OData. - - - - - Check whether the inline count feature is supported in the specified version. - - The version to check. - - - - Check whether CollectionValue properties are supported in the specified version. - - The version to check. - The name of the property which holds the collection. - - - - Check whether CollectionValue is supported in the specified version. - - The version to check. - - - - Check whether the next link feature is supported in the specified version. - - The version to check. - - - - Check whether the delta link feature is supported in the specified version. - - The version to check. - - - - Check whether the named streams feature is supported in the specified version. - - The version to check. - - - - Check whether the association links feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Type Scheme feature is supported in the specified version. - - The version to check. - - - - Check whether the custom Data Namespace feature is supported in the specified version. - - The version to check. - - - - Check whether parameters in the payload are supported in the specified version. - - The version to check. - - - - Check whether the EPM on the specified entity type is supported in the specified version. - - The version to check. - The entity type to check. - The model containing annotations for the entity type. - - - - Check whether the spatial value is supported in the specified version. - - The version to check. - - - - Checks that the version specified on the request or the response is supported by this library. - - The version to check. - The message reader settings specified for the reader. - In internal drops we currently do not support protocol version 3. - - - - An enumeration that lists the internal errors. - - - - Unreachable codepath in ODataWriterCore.WriteEnd - - - Unreachable codepath in ODataWriterCore.ValidateTransition - - - Unreachable codepath in ODataWriterCore.Scope.Create - - - Unreachable codepath in ODataWriterCore.DuplicatePropertyNamesChecker. - - - Unreachable codepath in ODataWriterCore.ParentNavigationLinkScope. - - - Unreachable codepath in ODataUtils.VersionString - - - Unreachable codepath in ODataUtilsInternal.ToDataServiceVersion - - - Unreachable codepath in ODataUtilsInternal.IsPayloadKindSupported - - - Unreachable codepath in ODataUtils.GetDefaultEncoding - - - Unreachable codepath in ODataUtils.ParseSerializableEpmAnnotations - - - Unreachable codepath in ODataMessageWriter.WriteProperty - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLink - - - Unreachable codepath in ODataMessageWriter.WriteEntityReferenceLinks - - - Unreachable codepath in ODataMessageWriter.WriteError - - - Unreachable codepath in ODataMessageWriter.WriteServiceDocument - - - Unreachable codepath in ODataMessageWriter.WriteMetadataDocument - - - Unreachable codepath in EpmSyndicationWriter.WriteEntryEpm when writing content target. - - - Unreachable codepath in EpmSyndicationWriter.CreateAtomTextConstruct when converting text kind from Syndication enumeration. - - - Unreachable codepath in EpmSyndicationWriter.WritePersonEpm. - - - Unhandled EpmTargetPathSegment.SegmentName in EpmSyndicationWriter.WriteParentSegment. - - - Unreachable codepath in ODataAtomConvert.ToString(AtomTextConstructKind) - - - Unreachable codepath in ODataCollectionWriter.CreateCollectionWriter - - - Unreachable codepath in ODataCollectionWriterCore.ValidateTransition - - - Unreachable codepath in ODataCollectionWriterCore.WriteEnd - - - Unreachable codepath in ODataParameterWriter.CreateParameterWriter - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.ValidateTransition - - - Unreachable codepath in ODataParameterWriter.WriteEndImplementation - - - Unreachable codepath in ODataPathValidator.ValidateSegment root branch - - - Unreachable codepath in ODataPathValidator.ValidateSegment non-root branch - - - Unreachable codepath in ODataBatchWriter.ValidateTransition - - - Unreachable codepath in ODataBatchWriter.ToText(this HttpMethod). - - - Unreachable codepath in ODataBatchReader.ReadImplementation. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Completed. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary in state Exception. - - - Unreachable codepath in ODataBatchReader.GetEndBoundary because of invalid enum value. - - - Unreachable codepath in ODataBatchReaderStream.SkipToBoundary. - - - Unreachable codepath in ODataBatchReaderStream.ReadLine. - - - Unreachable codepath in ODataBatchReaderStream.ReadWithDelimiter. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ScanForBoundary. - - - Unreachable codepath in ODataBatchReaderStreamBuffer.ReadWithLength. - - - Unreachable codepath in JsonReader.Read. - - - Unreachable codepath in ODataReader.CreateReader. - - - Unreachable codepath in ODataReaderCore.ReadImplementation. - - - Unreachable codepath in ODataReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataVerboseJsonEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataVerboseJsonReader.ReadEntryStart. - - - Unreachable codepath in ODataVerboseJsonPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataCollectionReader.CreateReader. - - - Unreachable codepath in ODataCollectionReaderCore.ReadImplementation. - - - Unreachable codepath in ODataCollectionReaderCoreAsync.ReadAsynchronously. - - - Unreachable codepath in ODataParameterReaderCore.ReadImplementation. - - - Unreachable codepath in ODataParameterReaderCoreAsync.ReadAsynchronously. - - - The value from the parameter reader must be a primitive value, an ODataComplexValue or null - - - Unreachable codepath in ODataAtomReader.ReadAtNavigationLinkStartImplementation. - - - Unreachable codepath in ODataAtomPropertyAndValueDeserializer.ReadNonEntityValue. - - - Unreachable codepath in AtomValueUtils.ConvertStringToPrimitive. - - - Unreachable codepath in EdmCoreModel.PrimitiveType (unsupported type). - - - Unreachable codepath in EpmSyndicationReader.ReadEntryEpm when reading content target. - - - Unreachable codepath in EpmSyndicationReader.ReadParentSegment. - - - Unreachable codepath in EpmSyndicationReader.ReadPersonEpm. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found unexpected type kind. - - - Unreachable codepath in EpmReader.SetEpmValueForSegment when found EPM for a primitive stream property. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the strict branch, unexpected type kind. - - - Unreachable codepath in ReaderValidationUtils.ResolveAndValidateTypeName in the lax branch, unexpected type kind. - - - Unreachable codepath in EpmExtensionMethods.ToAttributeValue(ODataSyndicationItemProperty) when found unexpected type syndication item property kind. - - - The ODataMetadataFormat.CreateOutputContextAsync was called, but this method is not yet supported. - - - The ODataMetadataFormat.CreateInputContextAsync was called, but this method is not yet supported. - - - An unsupported method or property has been called on the IDictionary implementation of the ODataModelFunctions. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.ReadPropertyValue. - - - Unreachable codepath in ODataJsonLightPropertyAndValueDeserializer.GetNonEntityValueKind. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer.ReadFeedProperty. - - - Unreachable codepath in ODataJsonLightReader.ReadEntryStart. - - - Unreachable codepath in ODataJsonLightEntryAndFeedDeserializer_ReadTopLevelFeedAnnotations.ReadTopLevelFeedAnnotations. - - - Unreachable codepath in ODataJsonLightReader.ReadFeedEnd. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionStart.TypeKindFromPayloadFunc. - - - Unreachable codepath in ODataJsonLightCollectionDeserializer.ReadCollectionEnd. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadSingleEntityReferenceLink. - - - Unreachable codepath in ODataJsonLightEntityReferenceLinkDeserializer.ReadEntityReferenceLinksAnnotations. - - - Unreachable codepath in ODataJsonLightParameterDeserializer.ReadNextParameter. - - - Unreachable codepath in ODataJsonLightAnnotationGroupDeserializer.ReadAnnotationGroupDeclaration. - - - Unreachable codepath in EdmTypeWriterResolver.GetReturnType for function import group. - - - Unreachable codepath in the indexer of ODataVersionCache for unknown versions. - - - - Implementation of the ODataWriter for the Verbose JSON format. - - - - - The output context to write to. - - - - - The JSON entry and feed seriazlizer to use. - - - - - Constructor. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Starts writing a payload (called exactly once before anything else) - - - - - Ends writing a payload (called exactly once after everything else in case of success) - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a deferred (non-expanded) navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the __count property for a feed if it has not been written yet (and the count is specified on the feed). - - The feed to write the count for. - - - - Returns the current VerboseJsonFeedScope. - - - - - A scope for a verbose JSON feed. - - - - true if the __count was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the __count was already written, false otherwise. - - - - - Uri utility methods. - - - - - An absolute Uri to use as the base Uri for escaping a Uri fragment. - - - - - Returns an absolute URI constructed from the specified base URI and a relative URI - - The base URI to use. - The relative URI to use. - The absolute URI as a result of combining the base URI with the relative URI. - - - - A method to ensure that the original string of a relative URI is escaped. - - The relative to escape. - A relative URI instance with guaranteed escaped original string. - - - - Gets the escaped metadata reference property name. - - The metadata reference property name in question. - The Uri escaped metadata reference property name. - - - - OData representation of a Collection. - - - - Gets or sets the type of the collection value. - The type of the collection value. - - - Gets or sets the items in the bag value. - The items in the bag value. - - - - Configuration settings for OData message writers. - - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - fields and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - An instance representing any knobs that control the behavior of the writers - inside and outside of WCF Data Services. - - - - Stores the base uri for the metadata document along with a select clause. - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - Initializes a new instance of the class with default settings. - - - Initializes a new instance of the class with specified settings. - The specified settings. - - - Sets the acceptable media types and character sets from which the content type will be computed when writing the payload. - The acceptable media types used to determine the content type of the message. This is a comma separated list of content types as specified in RFC 2616, Section 14.1. - The acceptable charsets to use to determine the encoding of the message. This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - Calling this method replaces any previously set content-type settings. - - - Sets the format to be used when writing the payload. This will automatically set a compatible content type header. - The format to use for writing the payload. - Calling this method replaces any previously set content-type settings. - - - Sets the customization XML format for Atom entry. - The start of the Atom entry XML customization callback. - The end of the Atom entry XML customization callback. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - This method only applies when writing ATOM format payloads. - When writing payloads in different formats, this method has no effect. - param name="atomStartEntryXmlCustomizationCallback" - If non-null this func will be called when a new (non-null) entry is to be written. - It takes two parameters: - - ODataEntry entry - which is the entry to be written. - - XmlWriter writer - which is the current XmlWriter used by the ODataWriter to write the entry. - It returns XmlWriter: - - null - means there's no need to customize the XML for this entry, and thus the original writer will be used to write the entry. - - non-null XmlWriter - the ODataWriter will use the new returned writer to write the entry. - Once the entry has been written the EndEntryXmlCustomizationCallback will be called and the writer will be passed to it. - Note that the ODataWriter will not dipose or otherwise clear the writer. - The callback must never return the same instance as the writer parameter! - param name="atomEndEntryXmlCustomizationCallback" - If non-null this action will be called when a (non-null) entry has been written. - The action takes three parameters: - - ODataEntry entry - which is the entry which was written. - - XmlWriter entryWriter - the XmlWriter used to write the entry. The action must dispose or otherwise clear this writer. - - XmlWriter parentWriter - the XmlWriter used to write the parent scope of the entry. This is the writer which will be used to write further - payload once this action returns. - - - - Enables the default behavior. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - - - Specifies whether the WCF data services server behavior is enabled. - true if the server uses V1 provider, otherwise, false. - true if the server is configured to leave prefixes off all root elements and anything else in the same namespace, otherwise, false. - - - Enables the WCF data services client behavior. - The start of the entry XML customization callback. - The end of the entry XML customization callback. - The OData namespace. - The type scheme. - - Either both and must be null, or both must be non-null. - The XmlWriter returned by the startEntryXmlCustomizationCallback is not owned by the ODataWriter and it won't be Disposed or Flushed or cleared - in any way by it. It's the responsibility of the caller to flush/dispose it inside the endEntryXmlCustomizationCallback and also in case of an exception. - In case an exception is thrown while a new writer is used to write an entry, only the original XmlWriter will be disposed - and no endEntryXmlCustomizationCallback will be called. - It's the responsibility of this callback to write the entry payload written to the entryWriter into the parentWriter at this point. - The ODataWriter assumes that once this callback returns the entry was already written and it will continue onward. - If expanded entries are being written this callback may get called multiple times without the corresponding end callback in between. - It's the responsibility of the callback and the caller to be able to handle nested entries. - - - - Sets the URI of the metadata document. - The URI of the metadata document. - - - Sets the URI of the metadata document. - The URI of the metadata document. - The select clause. - - - - Determines if there is a JSON padding function defined. - - True if the JsonPCallback property is not null or emtpy. - - - - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - The name of the annotation in question. - Returns true to indicate that the annotation with the name should not be writen, false otherwise. - - - Gets or sets the OData protocol version to be used for writing payloads. - The OData protocol version to be used for writing payloads. - - - Gets or sets the document base URI which is used as base for all relative URIs. - The document base URI which is used as base for all relative URIs. - - Note that for typical OData services this should end with a slash character. For example "http://services.odata.org/OData/OData.svc/" will work as expected, - that is a relative URI "Products(0)" will correctly combine with the base to produce "http://services.odata.org/OData/OData.svc/Products(0)". - If the URI would not end with a slash, the last segment is not considered when base and relative URIs are combined. - So for example this base URI "http://services.odata.org/OData/OData.svc" combined with relative URI "Products(0)" would produce - "http://services.odata.org/OData/Products(0)", which is typically not the desired result. - - - - Gets or sets a value that indicates whether the message stream will not be disposed after finishing writing with the message. - true if the message stream will not be disposed after finishing writing with the message; otherwise false. The default value is false. - - - Gets or sets a callback function use to wrap the response from server. - The callback function used to wrap the response from server. - If it has a value and we are writing a JSON response, then we will wrap the entirety of the response in - the provided function name and parenthesis for JSONP. Otherwise this value is ignored. - - - - Gets or sets a value that indicates whether the writer should automatically generate or omit metadata in JSON payloads based on the metadata level. - - - Payload metadata includes the type names of entries and property values as well as any information that may be computed automatically, such as edit links. - If, for example, ODataEntry.EditLink is not specified, then it will be automatically computed and written out in full metadata mode. - If ODataEntry.EditLink is specified, then that value will be considered an "override" of the default computed edit link, and will be written out in full and minimal metadata modes. It will not be written in no metadata mode. - - - - - Gets or sets a value that indicates whether the writer should put key values in their own URI segment when automatically building URIs. - If this value is false, automatically-generated URLs will take the form "../EntitySet('KeyValue')/..". - If this value is true, automatically-generated URLs will take the form "../EntitySet/KeyValue/..". - If this value is not set (null), decision will be made based on the "Com.Microsoft.Data.Services.Conventions.V1.UrlConventions" vocabulary - annotation on the IEdmEntityContainer, if available. The default behavior is to put key values inside parentheses and not a distinct URL segments. - This setting only applies to URLs that are automatically generated by the and does not modify URLs explicitly provided by the user. - - - - - If set to true, then the root element of each payload will be written in the default (non-prefix-qualified) namespace of the document. - All other elements in the same namespace will also not have prefixes. - - - - - The acceptable media types used to determine the content type of the message. - This is a comma separated list of content types as specified in RFC 2616, Section 14.1 - - A null or empty accept header means that all content types are acceptable. - For response messages this is usually the 'Accept' header of the request message. - - - - The acceptable charsets used to the determine the encoding of the message. - This is a comma separated list of charsets as specified in RFC 2616, Section 14.2 - - A null or empty accept charset header means that all charsets are acceptable. - For response messages this is usually the 'Accept-Charset' header of the request message. - - - - The writer behavior that holds all the knobs needed to make the writer - behave differently inside and outside of WCF Data Services. - - - - - The format to use when writing the payload; this replaces the 'AcceptHeader' and 'AcceptCharSetHeader' - properties and uses the default values for the respective format. If null is specified - the default format and the default media type will be picked depending on the writer these settings are used with. - - - - - true if the Format property should be used to compute the media type; - false if AcceptableMediaTypes and AcceptableCharsets should be used. - null if neither the format nor the acceptable media types/charsets have been set. - - - - - The start ATOM entry callback for XML customization of entries. - - - - - The end ATOM entry callback for XML customization of entries. - - - - - Gets the metadata document URI that has been set on the settings, or null if it has not been set. - - - - - Func to evaluate whether an annotation should be writen by the writer. The func should return true if the annotation should - be writen and false if the annotation should be skipped. - - - - - Constant values related to media types. - - - - Media type for requesting any media type. - - - 'application' - media type for application types. - - - 'text' - media type for text subtypes. - - - 'multipart' - media type. - - - 'atom+xml' - constant for atom+xml subtypes. - - - 'atomsvc+xml' - constant for atomsvc+xml subtypes. - - - 'xml' - constant for xml subtypes. - - - 'json' - constant for JSON subtypes. - - - 'plain' - constant for text subtypes. - - - 'javascript' - constant for javascript subtypes. - - - 'octet-stream' subtype. - - - 'mixed' subtype. - - - 'http' subtype. - - - Parameter name for 'type' parameters. - - - Parameter value for type 'entry'. - - - Parameter value for type 'feed'. - - - Parameter name for 'odata' parameters. - - - Parameter value for 'verbose' JSON. - - - JSON Light parameter value 'fullmetadata'. - - - JSON Light parameter value 'minimalmetadata'. - - - JSON Light parameter value 'nometadata'. - - - Parameter name for 'streaming' parameter. - - - JSON Light streaming parameter value 'true'. - - - JSON Light streaming parameter value 'false'. - - - Media type for XML bodies. - - - Media type for ATOM payloads. - - - Media type for links referencing a single entry. - - - Media type for links referencing a collection of entries. - - - Media type for JSON payloads. - - - Media type for binary raw content. - - - Media type for batch parts. - - - Media type for Xml bodies (deprecated). - - - Media type for raw content (except binary). - - - Media type for javascript content. - - - Media type for raw content (except binary). - - - The '*' wildcard usable in type names and subtype names. - - - Separator between mediat type and subtype. - - - - Helper methods used by the OData writer for the ATOM format. - - - - - Creates an Xml writer over the specified stream, with the provided settings and encoding. - - The stream to create the XmlWriter over. - The OData message writer settings used to control the settings of the Xml writer. - The encoding used for writing. - An instance configured with the provided settings and encoding. - - - - Write an error message. - - The Xml writer to write to. - The error instance to write. - A flag indicating whether error details should be written (in debug mode only) or not. - The maximumum number of nested inner errors to allow. - - - - Write the m:etag attribute with the given string value. - - The Xml writer to write to. - The string value of the ETag. - - - - Write the m:null attribute with a value of 'true' - - The Xml writer to write to. - - - - Writes raw markup with the given writer, adding the xml:space="preserve" attribute to the element if the markup has leading or trailing whitespace. - - The to write to. - A string containing the text to write. - - - - Writes a string with the given writer, adding the xml:space="preserve" attribute to the element if the string has leading or trailing whitespace. - - The to write to. - The string to write as element text content. - - - - Creates a new XmlWriterSettings instance using the encoding. - - Configuration settings of the OData writer. - Encoding to use in the writer settings. - The Xml writer settings to use for this writer. - - - - Writes an xml:space="preserve" attribute if the given value starts or ends with whitespace. - - The writer to use for writing out the attribute string. - The value to check for insignificant whitespace. - - - - Utility methods around writing of ATOM values. - - - - The characters that are considered to be whitespace by XmlConvert. - - - - Converts the given value to the ATOM string representation - and uses the writer to write it. - - The writer to write the stringified value. - The value to be written. - - - Converts the specified value to a serializable string in ATOM format, or throws an exception if the value cannot be converted. - Non-null value to convert. - The specified value converted to an ATOM string. - - - - Reads a value of an XML element and converts it to the target primitive value. - - The XML reader to read the value from. - The primitive type reference to convert the value to. - The primitive value read. - This method does not read null values, it only reads the actual element value (not its attributes). - - Pre-Condition: XmlNodeType.Element - the element to read the value for. - XmlNodeType.Attribute - an attribute on the element to read the value for. - Post-Condition: XmlNodeType.Element - the element was empty. - XmlNodeType.EndElement - the element had some value. - - - - - Converts a given to a string appropriate for Atom format. - - The text construct kind to convert. - The string version of the text construct format in Atom format. - - - Converts the specified value to a serializable string in ATOM format. - Non-null value to convert. - The specified value converted to an ATOM string. - boolean value indicating conversion successful conversion - - - - Converts a string to a primitive value. - - The string text to convert. - Type to convert the string to. - The value converted to the target type. - This method does not convert null value. - - - - Reimplementation of XmlConvert.ToBoolean that accepts 'True' and 'False' in addition - to 'true' and 'false'. - - The string value read from the Xml reader. - The converted boolean value. - - - - Constant values used by the OData or HTTP protocol or OData library. - - - - - HTTP method name for GET requests. - - - - - HTTP method name for POST requests. - - - - - HTTP method name for PUT requests. - - - - - HTTP method name for DELETE requests. - - - - - HTTP method name for PATCH requests. - - - - - Custom HTTP method name for MERGE requests. - - - - - Name of the HTTP content type header. - - - - - Name of the OData 'DataServiceVersion' HTTP header. - - - - - Name of the HTTP content-ID header. - - - - - Name of the Content-Length HTTP header. - - - - - 'q' - HTTP q-value parameter name. - - - - Http Version in batching requests and response. - - - 'charset' - HTTP parameter name. - - - multi-part keyword in content-type to identify batch separator - - - Name of the HTTP content transfer encoding header. - - - Content-Transfer-Encoding value for batch payloads. - - - The default protocol version to use in ODataLib if none is specified. - - - The template used when computing a batch request boundary. - - - The template used when computing a batch response boundary. - - - The template used when computing a request changeset boundary. - - - The template used when computing a response changeset boundary. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - Weak etags in HTTP must end with ". - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The default maximum allowed recursion depth for recursive payload definitions, such as complex values inside complex values. - - - The default maximum number of bytes that should be read from a message. - - - The default maximum number of top-level operations and changesets per batch payload. - - - The default maximum number of operations per changeset. - - - The default maximum number of entity property mapping attributes for an entity type (on the type itself and all its base types). - - - The maximum recognized OData version by this library. - - - The '/' (forward slash) which is the URI segment separator. - - - The '/' (forward slash) which is the URI segment separator. - - - The '$links' segment name for constructing association links. - - - The '$value' segment name for the default stream value. - - - - Internal utility methods used in the OData library. - - - - - Converts a given to its representation. - - The instance to convert. - The representation of the . - - - - Sets the 'DataServiceVersion' HTTP header on the message based on the protocol version specified in the settings. - - The message to set the data service version header on. - The determining the protocol version to use. - - - - Reads the DataServiceVersion header from the and parses it. - If no DataServiceVersion header is found it sets the default version to be used for reading. - - The message to get the data service version header from. - The default version to use if the header was not specified. - - The retrieved from the DataServiceVersion header of the message. - The default version if none is specified in the header. - - - - - Checks whether a payload kind is supported in a request or a response. - - The to check. - true if the check is for a request; false for a response. - true if the is valid in a request or response respectively based on . - - - - Concats two enumerables. - - Element type of the enumerable. - Enumerable 1 to concat. - Enumerable 2 to concat. - Returns the combined enumerable. - - - - Gets the selected properties from the given . - - The instance to get the selected properties node from. - The selected properties node instance. - This can be a property on . Having it as an extension method here so we don't have to do the null check at the call site. - - - - OData writer for the ATOM format. - - - - Value for the atom:updated element. - - The writer will use the same default value for the atom:updated element in a given payload. While there is no requirement for this, - it saves us from re-querying the system time and converting it to string every time we write an item. - - - - The output context to write to. - - - The serializer to write payload with. - - - - Constructor creating an OData writer using the ATOM format. - - The output context to write to. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - True if the writer is created for writing a feed; false when it is created for writing an entry. - - - - Check if the object has been disposed; called from all public API methods. Throws an ObjectDisposedException if the object - has already been disposed. - - - - - Flush the output. - - - - - Start writing an OData payload. - - - - - Finish writing an OData payload. - - - - - Start writing an entry. - - The entry to write. - - - - Finish writing an entry. - - The entry to write. - - - - Start writing a feed. - - The feed to write. - - - - Finish writing a feed. - - The feed to write. - - - - Start writing a navigation link. - - The navigation link to write. - - - - Start writing a navigation link with content. - - The navigation link to write. - - - - Finish writing a navigation link with content. - - The navigation link to write. - - - - Write an entity reference link. - - The parent navigation link which is being written around the entity reference link. - The entity reference link to write. - - - - Create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Create a new entry scope. - - The entry for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - The newly create scope. - - - - Writes the collection of to the ATOM payload. - - The collection of to write. - Helper class to track if an annotation has been writen. - - - - Writes the collection of for the given to the ATOM payload. - - The feed to write the for. - The current feed scope. - - - - Write the content of the given entry. - - The entry for which to write properties. - The of the entry (or null if not metadata is available). - The cache of properties. - The root of the EPM source tree, if there's an EPM applied. - Set of projected properties, or null if all properties should be written. - - - - Writes the navigation link start atom:link element including the m:inline element if there's a parent navigation link. - - - - - Writes the navigation link end m:inline and end atom:link elements if there's a parent navigation link. - - - - - Writes the navigation link's start element and atom metadata. - - The navigation link to write. - Url to use for the navigation link. If this is specified the Url property on the - will be ignored. If this parameter is null, the Url from the navigation link is used. - - - - Writes custom extensions and the end element for a navigation link - - - - - Determines if XML customization should be applied to the entry and applies it. - - The entry to apply the customization to. - This method must be called before anything is written for the entry in question. - - - - Ends XML customization for the entry (if one was applied). - - The entry to end the customization for. - This method must be called after all the XML for a given entry is written. - - - - Returns the current AtomEntryScope. - - - - - Returns the current AtomFeedScope. - - - - - Enumeration of ATOM element flags, used to keep track of which elements were already written. - - - - The atom:id element. - - - The atom:link with rel='self'. - - - The atom:link with rel='edit'. - - - - A scope for an feed. - - - - true if the author element was already written, false otherwise. - - - - Constructor to create a new feed scope. - - The feed for the new scope. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - The selected properties of this scope. - - - - true if the author element was already written, false otherwise. - - - - - A scope for an entry in ATOM writer. - - - - Bit field of the ATOM elements written so far. - - - - Constructor to create a new entry scope. - - The entry for the new scope. - The serialization info for the current entry. - The entity set we are going to write entities for. - The entity type for the entries in the feed to be written (or null if the entity set base type should be used). - true if the content of the scope to create should not be written. - true if we are writing a response, false if it's a request. - The instance controlling the behavior of the writer. - The selected properties of this scope. - - - - Marks the as written in this entry scope. - - The ATOM element which was written. - - - - Determines if the was already written for this entry scope. - - The ATOM element to test for. - true if the was already written for this entry scope; false otherwise. - - - - Enumeration representing the OData protocol version. - - - - Version 1.0. - - - Version 2.0. - - - Version 3.0. - - - - Writes text indented as per the indentation level setting - - - - - The indentation string to prepand to each line for each indentation level. - - - - - The underlying writer to write to. - - - - - Set to true if the writer should actually indent or not. - - - - - Number which specifies the level of indentation. Starts with 0 which means no indentation. - - - - - Set to true if indentation should be written before the next string is written. - - - - - Constructor - - The underlying writer to wrap. - Set to true if the writer should actually indent or not. - - - - Increases the level of indentation applied to the output. - - - - - Decreases the level of indentation applied to the output. - - - - - Closes the underlying writer. - - - - - Clears the buffer of the current writer. - - - - - Writes the given string value to the underlying writer. - - String value to be written. - - - - Writes the given char value to the underlying writer. - - Char value to be written. - - - - Writes a new line. - - - - - Closes or disposes the underlying writer. - - - - - Writes the tabs depending on the indent level. - - - - - Returns the Encoding for the given writer. - - - - - Returns the new line character. - - - - - Constants for the JSON format. - - - - - "results" header for Json data array. - - - - - Text used to start a data object wrapper in JSON. - - - - - Data property name of the data object wrapper in JSON. - - - - - "id" header for the id of an Entry. - - - - - "__metadata" header for Json metadata object - - - - - "uri" header for the URI identifying the entry being represented. - - - - - "type" header for the type name of the entity - - - - - "etag" header for the ETag of an entity - - - - - "__mediaresource" property name for the metadata of a stream reference value. - - - - - "media_src" header for the MLE read link - - - - - "content_type" header for the MLE - - - - - "media_etag" header for the MLE - - - - - "edit_media" header for the MLE - - - - - "properties" header for the property metadata - - - - - "associationuri" header for the association link url of a navigation property - - - - - "__count" header for the inline count in a feed - - - - - "__next" header for the next link in a feed - - - - - "__deferred" header for the non-expanded link in an entry - - - - - "uri" header for the navigation link URL - - - - - The name of the property returned for a singleton $links query - - - - "actions" header for entry metadata. - - - "functions" header for entry metadata. - - - "title" header for "actions" and "functions" metadata. - - - "metadata" header for "actions" and "functions" metadata. - - - "target" header for "actions" and "functions" metadata. - - - - "error" header for the error payload - - - - - "code" header for the error code property - - - - - "message" header for the error message property - - - - - "lang" header for the error message language property - - - - - "value" header for the error message value property - - - - - "innererror" header for the inner error property - - - - - "message" header for an inner error (for Astoria compatibility) - - - - - "typename" header for an inner error (for Astoria compatibility) - - - - - "stacktrace" header for an inner error (for Astoria compatibility) - - - - - "internalexception" header for an inner, inner error property (for Astoria compatibility) - - - - - JSON datetime format. - - - - - JSON datetime offset format. - - - - - A plus sign for the date time offset format. - - - - - The fixed property name for the entity sets array in a service document payload. - - - - - The true value literal. - - - - - The false value literal. - - - - - The null value literal. - - - - - Character which starts the object scope. - - - - - Character which ends the object scope. - - - - - Character which starts the array scope. - - - - - Character which ends the array scope. - - - - - "(" Json Padding Function scope open parens. - - - - - ")" Json Padding Function scope close parens. - - - - - The separator between object members. - - - - - The separator between array elements. - - - - - The separator between the name and the value. - - - - - The quote character. - - - - - Writer for the JSON format. http://www.json.org - - - - - Writer to write text into. - - - - - Scope of the json text - object, array. - - - - - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - - Creates a new instance of Json writer. - - Writer to which text needs to be written. - If the output should be indented or not. - The json-based format to use when writing. - - - - Start the padding function scope. - - - - - End the padding function scope. - - - - - Start the object scope. - - - - - End the current object scope. - - - - - Start the array scope. - - - - - End the current array scope. - - - - - Write the "d" wrapper text. - - - - - Write the "results" header for the data array. - - - - - Write the name for the object property. - - Name of the object property. - - - - Writes a function name for JSON padding. - - Name of the padding function to write. - - - - Write a boolean value. - - Boolean value to be written. - - - - Write an integer value. - - Integer value to be written. - - - - Write a float value. - - Float value to be written. - - - - Write a short value. - - Short value to be written. - - - - Write a long value. - - Long value to be written. - - - - Write a double value. - - Double value to be written. - - - - Write a Guid value. - - Guid value to be written. - - - - Write a decimal value - - Decimal value to be written. - - - - Write a DateTime value - - DateTime value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a DateTimeOffset value - - DateTimeOffset value to be written. - The OData protocol version to be used for writing payloads. - - - - Writes a TimeSpan value - - TimeSpan value to be written. - - - - Write a byte value. - - Byte value to be written. - - - - Write an sbyte value. - - SByte value to be written. - - - - Write a string value. - - String value to be written. - - - - Clears all buffers for the current writer. - - - - - Writes a separator of a value if it's needed for the next value to be written. - - - - - Start the scope given the scope type. - - The scope type to start. - - - - Various scope types for Json writer. - - - - - Array scope. - - - - - Object scope. - - - - - JSON padding function scope. - - - - - Class representing scope information. - - - - - The type of the scope. - - - - - Constructor. - - The type of the scope. - - - - What to write at the beginning of this scope. - - - - - What to write at teh end of this scope. - - - - - Get/Set the object count for this scope. - - - - - Gets the scope type for this scope. - - - - - Class with utility methods to work with exceptions - - - - Type of OutOfMemoryException. - - - Type of StackOverflowException. - - - Type of ThreadAbortException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - Checks the argument value for null and throws if it is null. - - Type of the argument, used to force usage only for reference types. - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value empty string and throws if it is empty. The value can be null though. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the argument string value for null or empty string and throws if it is null or empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being negative and throws if it is negative. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for being greater than zero and throws if it is not positive. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - - - - Checks the for not being empty. - - Argument whose value needs to be checked. - Name of the argument, used for exception message. - Type of the collection. It does not matter. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Provides helper method for converting data values to and from the OData JSON format. - - - - - Const tick value for caculating tick values. - - - - - Characters which, if found inside a number, indicate that the number is a double when no other type information is available. - - - - - Map of special characters to strings. - - - - - Write a boolean value. - - The text writer to write the output to. - The boolean value to write. - - - - Write an integer value. - - The text writer to write the output to. - Integer value to be written. - - - - Write a float value. - - The text writer to write the output to. - Float value to be written. - - - - Write a short value. - - The text writer to write the output to. - Short value to be written. - - - - Write a long value. - - The text writer to write the output to. - Long value to be written. - - - - Write a double value. - - The text writer to write the output to. - Double value to be written. - If true, all double values will be written so that they either have an 'E' for scientific notation or contain a decimal point. - - - - Write a Guid value. - - The text writer to write the output to. - Guid value to be written. - - - - Write a decimal value - - The text writer to write the output to. - Decimal value to be written. - - - - Write a DateTime value - - The text writer to write the output to. - DateTime value to be written. - The format to write out the DateTime value in. - - - - Write a DateTimeOffset value. - - The text writer to write the output to. - DateTimeOffset value to be written. - The format to write out the DateTime value in. - - - - Write a TimeSpan value. - - The text writer to write the output to. - TimeSpan value to be written. - - - - Write a byte value. - - The text writer to write the output to. - Byte value to be written. - - - - Write an sbyte value. - - The text writer to write the output to. - SByte value to be written. - - - - Write a string value. - - The text writer to write the output to. - String value to be written. - - - - Returns the string value with special characters escaped. - - The text writer to write the output to. - Input string value. - - - - Converts the number of ticks from the JSON date time format to the one used in .NET DateTime or DateTimeOffset structure. - - The ticks to from the JSON date time format. - The ticks to use in the .NET DateTime of DateTimeOffset structure. - - - - Write the string value with quotes. - - The text writer to write the output to. - String value to be written. - - - - Converts the number of ticks from the .NET DateTime or DateTimeOffset structure to the ticks use in the JSON date time format. - - The ticks from the .NET DateTime of DateTimeOffset structure. - The ticks to use in the JSON date time format. - - - - Converts a given date time to its universal date time equivalent. - - The date time to convert to UTC - universal date time equivalent of the value. - - - - Creates the special character to escaped string map. - - The map of special characters to the corresponding escaped strings. - - - - OData representation of a complex value. - - - - Gets or sets the properties and values of the complex value. - The properties and values of the complex value. - - - Gets or sets the type of the complex value. - The type of the complex value. - - - - Describes a collection of entities. - - - - - URI representing the next page link. - - - - - URI representing the delta link. - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the number of items in the feed. - The number of items in the feed. - - - Gets or sets the URI that identifies the entity set represented by the feed. - The URI that identifies the entity set represented by the feed. - - - Gets or sets the URI representing the next page link. - The URI representing the next page link. - - - - URI representing the delta link. - - - - - Collection of custom instance annotations. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single link. - - - - the metadata builder for this navigation link. - - - URI representing the Unified Resource Locator (Url) of the link as provided by the user or seen on the wire (never computed). - - - true if the navigation link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - The association link URL for this navigation link as provided by the user or seen on the wire (never computed). - - - true if the association link has been set by the user or seen on the wire or computed by the metadata builder, false otherwise. - - - - Sets the metadata builder for this navigation link. - - The metadata builder used to compute values from model annotations. - - - Gets or sets a value that indicates whether the navigation link represents a collection or an entry. - true if the navigation link represents a collection; false if the navigation represents an entry. - This property is required to have a value for ATOM payloads and is optional for JSON payloads. - - - Gets or sets the name of the link. - The name of the link. - - - Gets or sets the URI representing the Unified Resource Locator (URL) of the link. - The URI representing the Unified Resource Locator (URL) of the link. - - - The association link URL for this navigation link. - - - - Represents a media resource. - - - - the metadata builder for this OData entry. - - - The name of the named stream this value belongs to; null for the default media resource. - - - Edit link for media resource. - - - Edit link for media resource. - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - Read link for media resource. - - - Read link for media resource. - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - Sets the metadata builder for this stream reference value. - - The metadata builder used to compute values from model annotations. - The property name for the named stream; null for the default media resource. - - - - Gets the metadata builder for this stream reference value. - - The metadata builder used to compute links. - - - Gets or sets the edit link for media resource. - The edit link for media resource. - - - Gets or sets the read link for media resource. - The read link for media resource. - - - Gets or sets the content media type. - The content media type. - - - Gets or sets the media resource ETag. - The media resource ETag. - - - - Represents a single property of an entry. - - - - - The value of this property, accessed and set by both and . - - - - - Provides additional serialization information to the for this . - - - - Gets or sets the property name. - The property name. - - - Gets or sets the property value. - The property value. - - - - Property value, represented as an ODataValue. - - - This value is the same as , except that primitive types are wrapped - in an instance of ODataPrimitiveValue, and null values are represented by an instance of ODataNullValue. - - - - - Provides additional serialization information to the for this . - - - - - Represents a single entity. - - - - the metadata builder for this OData entry. - - - The entry ETag, as provided by the user or seen on the wire (never computed). - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - The Entry ID, as provided by the user or seen on the wire (never computed). - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - Link used to edit the entry, as provided by the user or seen on the wire (never computed). - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - A link that can be used to read the entry, as provided by the user or seen on the wire (never computed). - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - The default media resource of the media link entry, as provided by the user or seen on the wire (never computed). - - - The entry properties provided by the user or seen on the wire (never computed). - - - The entry actions provided by the user or seen on the wire (never computed). - - - The entry functions provided by the user or seen on the wire (never computed). - - - - Provides additional serialization information to the for this . - - - - Gets or sets the entry ETag. - The entry ETag. - - - Gets or sets the Entry identifier. - The Entry identifier. - - - Gets or sets the link used to edit the entry. - The link used to edit the entry. - - - Gets or sets a link that can be used to read the entry. - The link that can be used to read the entry. - - - Gets or sets the default media resource of the media link entry. - The default media resource of the media link entry. - - - Gets or sets the association links. - The association links. - - - Gets or sets the entity actions. - The entity actions. - - - Gets or sets the entity functions. - The entity functions. - - - Gets or sets the entry properties. - The entry properties. - - Non-property content goes to annotations. - - - - Gets or sets the type name of the entry. - The type name of the entry. - - - - Collection of custom instance annotations. - - - - - The metadata builder for this OData entry. - - - - - Returns the entry's Id property that has been set directly, and was not computed using the metadata builder. - - - - - true if an id was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's EditLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if an edit link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ReadLink property that has been set directly, and was not computed using the metadata builder. - - - - - true if a read link was provided by the user or seen on the wire, false otherwise. - - - - - Returns the entry's ETag property that has been set directly, and was not computed using the metadata builder. - - - - - true if an etag was provided by the user or seen on the wire, false otherwise. - - - - Returns the default media resource of the media link entry that has been set directly and was not computed using the metadata builder. - - - Returns the entity properties that has been set directly and was not computed using the metadata builder. - - - Returns the entity actions that has been set directly and was not computed using the metadata builder. - - - Returns the entity functions that has been set directly and was not computed using the metadata builder. - - - - Provides additional serialization information to the for this . - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Constructs a new sys description. - - - description text. - - - - - Retrieves the description text. - - - description - - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The format '{0}' does not support writing a payload of kind '{1}'." - - - - - A string like "The format '{0}' does not support writing custom instance annotations." - - - - - A string like "The format '{0}' does not support reading a payload of kind '{1}'." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but the metadata document URI or the metadata for the item to be written was not specified for the writer. The metadata document URI and the metadata for the item to be written must be provided to the writer when using relative URI values." - - - - - A string like "A relative URI value '{0}' was specified in the data to write, but a base URI was not specified for the writer. A base URI must be set when using relative URI values." - - - - - A string like "The property '{0}' is a stream property, but it is not a property of an ODataEntry instance. In OData, stream properties must be properties of ODataEntry instances." - - - - - A string like "An invalid state transition has been detected in an OData writer. Cannot transition from state '{0}' to state '{1}'." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write a navigation link." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. You must first call ODataWriter.WriteEnd to finish writing a null ODataEntry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid action in state '{0}' is to write an entry." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an entry or a feed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing further can be written once the writer has completed." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. Nothing can be written once the writer entered the error state." - - - - - A string like "ODataWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Entry', 'Feed', 'NavigationLink', and 'NavigationLinkWithContent'." - - - - - A string like "Multiple properties with the name '{0}' were detected in an entry or a complex value. In OData, duplicate property names are not allowed." - - - - - A string like "Multiple navigation links with the same name '{0}' for a singleton navigation property were detected on an entry. In OData, a singleton navigation property can have only one navigation link." - - - - - A string like "Multiple annotations with the name '{0}' were detected. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the property with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "Multiple annotations with the name '{0}' were detected for the instance annotation with name '{1}'. In OData, duplicate annotations are not allowed." - - - - - A string like "An annotation with name '{0}' for property '{1}' was detected after the property, or after an annotation for another property. In OData, annotations for a property must be in a single group and must appear before the property they annotate." - - - - - A string like "Cannot convert a value of type '{0}' to the string representation of an Atom primitive value." - - - - - A string like "The value of type '{0}' is not supported and cannot be converted to a JSON representation." - - - - - A string like "The version '{0}' specified by the payload is higher than the maximum protocol version '{1}' specified by the ODataMessageReaderSettings.MaxProtocolVersion property." - - - - - A string like "The property '{0}' is not supported when ODataVersion is greater than '{1}'." - - - - - A string like "Parameters in the payload are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Association links are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The inline count feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The next link feature is only supported in version 2.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "The delta link feature is only supported in version 3.0 of the OData protocol and higher versions. It is not supported in version {0}." - - - - - A string like "A collection property '{0}' was detected; Collection properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {1}." - - - - - A string like "Collection types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "Stream properties are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The entity property mapping specified on type '{0}' is only supported in version {1} of the OData protocol and higher versions. It is not supported in version {2}." - - - - - A string like "Geography and Geometry types are only supported in version 3.0 of the OData protocol and higher versions. They are not supported in version {0}." - - - - - A string like "The '{0}' value for the href of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When an href is specified in metadata, the href values must match." - - - - - A string like "The '{0}' value for the title of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a title is specified in metadata, the titles must match." - - - - - A string like "The '{0}' value for the relation of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. When a relation is specified in metadata, the relations must match." - - - - - A string like "The '{0}' value for the media type of a link, which was either specified or computed, does not match the '{1}' value specified in the metadata of the link. If a media type is specified in metadata, the media types must match." - - - - - A string like "An annotation of type string was expected for the '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' annotation, but an annotation of type '{1}' was found." - - - - - A string like "The '{0}' value for the term of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a term is specified in Atom metadata, the terms must match." - - - - - A string like "The '{0}' value for the scheme of a category, which was either specified or computed, does not match the value '{1}' specified in the ATOM metadata of the category. When a scheme is specified in Atom metadata, the schemes must match." - - - - - A string like "The text kind '{1}' specified by the atom metadata property '{0}' conflicts with the text kind '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify text kinds, those text kinds must be equal." - - - - - A string like "The value '{1}' specified by the atom metadata property '{0}' conflicts with the value '{2}' mapped to this property by using entity property mapping. When both the metadata and the entity property mapping specify a value, these values must be equal." - - - - - A string like "The content type '{0}' is not supported when writing raw values." - - - - - A string like "Cannot set message headers for the invalid payload kind '{0}'." - - - - - A string like "The payload kind '{0}' used in the last call to ODataUtils.SetHeadersForPayload is incompatible with the payload being written, which is of kind '{1}'." - - - - - A string like "The stream property '{0}' cannot be written to the payload as a top level property." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with an owning type '{0}' of kind '{1}'. The owning type of a property can only be of kind Complex or Entity." - - - - - A string like "The ODataMessageWriter.WriteProperty method was called with a producing function import with return type '{0}'. The producing function import for property payloads must return type which is either a primitive, complex, primitive collection of complex collection type." - - - - - A string like "The navigation property named '{0}' given to ODataMessageWriter.WriteEntityReferenceLinks represents a singleton property. When writing multiple entity reference links, the navigation property must be a collection." - - - - - A string like "A JsonPaddingFunctionName was specified, but the content-type '{0}' is not supported with Json Padding." - - - - - A string like "The type '{0}' specified as the collection's item type is not primitive or complex. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "Cannot create an ODataCollectionWriter for ODataFormat.{0}. Only ODataFormat.PlainXml and ODataFormat.Json are supported." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write the collection or to write nothing at all." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or to write the end of the collection." - - - - - A string like "Cannot transition from state '{0}' to state '{1}'. The only valid actions in state '{0}' are to write an item or the end of the collection." - - - - - A string like "ODataCollectionWriter.WriteEnd was called in an invalid state ('{0}'); WriteEnd is only supported in states 'Start', 'Collection', and 'Item'." - - - - - A string like "A collection with name '{0}' is being written with producing function import name '{1}'. If the producing function import is specified the collection name must be either null or match the name of the function import." - - - - - A string like "The producing function import '{0}' specified for the collection writer returns type '{1}' which is not a collection of primitive or complex values. An ODataCollectionWriter can only write collections of primitive or complex values." - - - - - A string like "An invalid HTTP method '{0}' was detected for a query operation. Query operations only support the HTTP 'GET' method." - - - - - A string like "An invalid HTTP method '{0}' was detected for a request in a change set. Requests in change sets only support the HTTP methods 'POST', 'PUT', 'DELETE', 'MERGE', and 'PATCH'." - - - - - A string like "The header with name '{0}' was not present in the header collection of the batch operation." - - - - - A string like "Multiple headers with names that match '{0}', when using a case insensitive comparison, have been added. When case-insensitive header names are used, at most one header can be added for each name." - - - - - A string like "The parameter '{0}' has already been written. Duplicate parameter names are not allowed in the parameter payload." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call WriteValue on a parameter that is not of Edm type kinds 'Primitive' or 'Complex'." - - - - - A string like "The value for parameter '{0}' is of type '{1}'. WriteValue can only write null, ODataComplexValue and primitive types that are not Stream type." - - - - - A string like "The parameter '{0}' is of Edm type kind '{1}'. You cannot call CreateCollectionWriter on a parameter that is not of Edm type kind 'Collection'." - - - - - A string like "The name '{0}' is not a recognized parameter name for function import '{1}'." - - - - - A string like "The parameters {0} of the function import '{1}' could not be found when writing the parameter payload. All parameters present in the function import must be written to the parameter payload." - - - - - A string like "The current batch message contains too many parts. Only batch messages with a maximum number of '{0}' query operations and change sets are allowed." - - - - - A string like "The current change set contains too many operations. Only change sets with a maximum number of '{0}' operations are allowed." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader." - - - - - A string like "The relative URI '{0}' was specified in a batch operation, but a base URI was not specified for the batch writer or batch reader. When the relative URI is a reference to a content ID, the content ID does not exist in the current change set." - - - - - A string like "The method CreateOperationRequestMessage was called in state '{0}', which is not allowed. CreateOperationRequestMessage can only be called in state 'Operation'." - - - - - A string like "The method CreateOperationResponseMessage was called in state '{0}', which is not allowed. CreateOperationResponseMessage can only be called in state 'Operation'." - - - - - A string like "ODataBatchReader.ReadAsync or ODataBatchReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current batch message contains too many parts. A maximum number of '{0}' query operations and change sets are allowed in a batch message." - - - - - A string like "The current change set contains too many operations. A maximum number of '{0}' operations are allowed in a change set." - - - - - A string like "The content ID '{0}' was found more than once in the same change set. Content IDs have to be unique across all operations of a change set." - - - - - A string like "The message header '{0}' is invalid. The header value must be of the format '<header name>: <header value>'." - - - - - A string like "The request line '{0}' is invalid. The request line at the start of each operation must be of the format 'HttpMethod RequestUrl HttpVersion'." - - - - - A string like "The response line '{0}' is invalid. The response line at the start of each operation must be of the format 'HttpVersion StatusCode StatusCodeString'." - - - - - A string like "The HTTP version '{0}' used in a batch operation request or response is not valid. The value must be '{1}'." - - - - - A string like " The HTTP status code '{0}' is invalid. An HTTP status code must be an integer value." - - - - - A string like "A missing or invalid '{0}' header was found. The '{0}' header must be specified for each batch operation, and its value must be '{1}'." - - - - - A string like "The '{0}' header value '{1}' is invalid. When this is the start of the change set, the value must be '{2}'; otherwise it must be '{3}'." - - - - - A string like "The content length header '{0}' is not valid. The content length header must be a valid Int32 literal and must be greater than or equal to 0." - - - - - A string like "The header '{0}' was specified multiple times. Each header must appear only once in a batch part." - - - - - A string like "Invalid multi-byte encoding '{0}' detected. Multi-byte encodings other than UTF-8 are only supported for operation payloads. They are not supported in batch or change set parts." - - - - - A string like "Too many white spaces after a boundary delimiter and before the terminating line feed. For security reasons, the total number of characters for a boundary including white spaces must not exceed {0}." - - - - - A string like "The MIME type '{0}' is invalid or unspecified." - - - - - A string like "The MIME type '{0}' requires a '/' character between type and subtype, such as 'text/plain'." - - - - - A string like "The MIME type '{0}' requires a subtype definition." - - - - - A string like "The MIME type is missing a parameter value for a parameter with the name '{0}'." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the escape character '{3}' is not inside a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because it terminates with the escape character '{3}'. In a quoted-string, the escape characters must always be followed by a character." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the closing quote character was not found for the quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the character '{3}' is not allowed in a quoted-string. For more information, see RFC 2616, Sections 3.6 and 2.2." - - - - - A string like "The MIME type '{0}' requires a semi-colon character (';') before a parameter definition." - - - - - A string like "An invalid quality value was detected in the header string '{0}'; quality values must start with '0' or '1' but not with '{1}'." - - - - - A string like "An invalid quality value '{0}' was detected in the header string '{1}'; quality values must be in the range [0, 1]." - - - - - A string like "An error occurred when converting the character '{0}' to an integer." - - - - - A string like "The separator ',' was missing between charset values in the header '{0}'." - - - - - A string like "A separator character was missing between charset values in the header '{0}'." - - - - - A string like "An invalid (empty) charset name found in the header '{0}'." - - - - - A string like "An unexpected end of the q-Value was detected in the header '{0}'." - - - - - A string like "The expected literal '{0}' was not found at position '{1}' in the string '{2}'." - - - - - A string like "The string '{0}' cannot be converted into a supported HTTP method. The only supported HTTP methods are GET, DELETE, PUT, POST, PATCH and MERGE." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a recognized separator. The supported separators are ',', ';', and '='." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token is expected but a quoted-string is found instead." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because a token or a quoted-string is expected at this position but were not found." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because '{3}' is not a valid separator after a quoted-string." - - - - - A string like "An error occurred when parsing the HTTP header '{0}'. The header value '{1}' is incorrect at position '{2}' because the header value should not end with the separator '{3}'." - - - - - A string like "The character set '{0}' is not supported." - - - - - A string like "A supported MIME type could not be found that matches the acceptable MIME types for the request. The supported type(s) '{0}' do not match any of the acceptable MIME types '{1}'." - - - - - A string like "A supported MIME type could not be found that matches the content type of the response. None of the supported type(s) '{0}' matches the content type '{1}'." - - - - - A string like "The specified content type '{0}' contains either no media type or more than one media type, which is not allowed. You must specify exactly one media type as the content type." - - - - - A string like "The content type '{0}' specifies a batch payload; however, the payload either does not include a batch boundary or includes more than one boundary. In OData, batch payload content types must specify exactly one batch boundary in the '{1}' parameter of the content type." - - - - - A string like "The '{0}' value provided for the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The value '{0}' of the targetNamespaceUri parameter provided to the EntityPropertyMappingAttribute does not have a valid URI format." - - - - - A string like "The PropertyName property value '{1}' set in the EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a primitive type or a collection type." - - - - - A string like "The property '{0}' provided in the middle of the PropertyName property of the EntityPropertyMappingAttribute on a type is not a complex type." - - - - - A string like "More than one EntityPropertyMappingAttribute on type '{0}' have a 'PropertyName' value '{1}'. In OData, an entity property cannot be mapped more than once." - - - - - A string like "The property '{0}' on type '{1}' is not present." - - - - - A string like "The property '{0}' defined on type '{1}' is not present in the instance of the type." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'Edm.Stream'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The open property '{0}' on the type '{1}' does not have a primitive type. Only open primitive properties can be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid because it contains an empty segment." - - - - - A string like "The TargetName property paths '{0}' and '{1}' set in two EntityPropertyMappingAttribute instances are invalid because they would result in mixed content. Mixed content produced by entity property mappings is not supported." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the 'TargetName' property of EntityPropertyMappingAttribute." - - - - - A string like "More than one EntityPropertyMappingAttribute on the type '{0}' have the same 'TargetName' value '{1}'. The conflicting properties are '{2}' and '{3}'. In OData, target names of entity property mappings must be unique on a given type." - - - - - A string like "The property value corresponding to '{0}' property in SyndicationItemProperty could not be converted to the type DateTimeOffset." - - - - - A string like "The collection property '{0}' has no items but is mapped to the author element. Only non-empty collection properties can be mapped to the author element in an entry." - - - - - A string like "The property '{0}' on type '{1}' that is mapped to '{2}' has a 'null' value. Properties that are mapped to attributes cannot be null." - - - - - A string like "'{0}' is not a valid value for 'atom:link/@length' attribute. " - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'link/@rel' is not valid. Properties that are mapped to 'link/@rel' cannot have values that are Atom-defined simple identifiers, such as alternate, related, self, enclosure, via, describedby, service, edit, or edit-media; cannot be an Atom-defined simple identifier following the IANA namespace, such as 'http://www.iana.org/assignments/relation/edit'; and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "The value '{0}' for the property '{1}' on type '{2}' that is mapped to 'category/@scheme' is not valid. Properties that are mapped to 'category/@scheme' must have values that are URIs and cannot begin with the namespace 'http://schemas.microsoft.com/ado/2007/08/dataservices'." - - - - - A string like "Expected literal type token but found token '{0}'." - - - - - A string like "The relative URI '{0}' cannot be escaped because it starts with '{1}' and a base URI is not available. Relative URIs without a base URI cannot start with '/', '\\' or '..'." - - - - - A string like "The type '{0}' is not supported when converting to a URI literal." - - - - - A string like "The format '{0}' is not supported when converting to a URI literal. The supported formats are ODataFormat.JsonLight and ODataFormat.VerboseJson." - - - - - A string like "Type verification failed. Expected type '{0}' but received the value '{1}'." - - - - - A string like "Type verification failed. Expected type '{0}' but received non-matching null value with associated type '{1}'." - - - - - A string like "Type verification failed. Expected non-nullable type '{0}' but received a null value." - - - - - A string like "The value of type '{0}' could not be converted to the string representation of a raw primitive value." - - - - - A string like "A default MIME type could not be found for the requested payload in format '{0}'." - - - - - A string like "The value '{0}' of the DataServiceVersion HTTP header is invalid. Only '1.0', '2.0' and '3.0' are supported as values for the DataServiceVersion header." - - - - - A string like "The value returned by the '{0}' property cannot be modified until the end of the owning entry is reported by the reader." - - - - - A string like "A null value was found with the expected type '{0}[Nullable=False]'. The expected type '{0}[Nullable=False]' does not allow null values." - - - - - A string like "A null value was found for the property named '{0}', which has the expected type '{1}[Nullable=False]'. The expected type '{1}[Nullable=False]' does not allow null values." - - - - - A string like "Complex type '{1}' is a subtype of a base type '{0}'. Derived complex types are not supported." - - - - - A string like "Cannot convert a primitive value to the expected type '{0}'. See the inner exception for more details." - - - - - A string like "The base URI '{0}' specified in ODataMessageReaderSettings.BaseUri is invalid; it must be either null or an absolute URI." - - - - - A string like "An undeclared property '{0}' was found on type '{1}', which is marked as open; however, either the ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or the ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting is used. The ODataUndeclaredPropertyBehaviorKinds.IgnoreUndeclaredValueProperty or ODataUndeclaredPropertyBehaviorKinds.ReportUndeclaredLinkProperty setting cannot be used with open types." - - - - - A string like "The metadata URI '{0}' references the entity set with name '{1}'; however, the name of the expected entity set is '{2}' and does not match the entity set referenced in the metadata URI." - - - - - A string like "The metadata URI '{0}' references the entity type with name '{1}'; however, the name of the expected entity type is '{2}' which is not compatible with the entity type with name '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the name of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the declaring type of the expected property is '{3}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected producing function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' which returns a collection with item type '{2}'; however, the item type of the collection returned by the expected producing function import is '{3}'." - - - - - A string like "The metadata URI '{0}' references a property with name '{1}' on type '{2}'; however, a producing function import with name '{3}' was specified." - - - - - A string like "The metadata URI '{0}' references a function import with name '{1}'; however, an expected structural property with name '{2}' on type '{3}' was specified." - - - - - A string like "The collection name '{0}' was read from the payload; however, the name of the expected producing function import is '{1}'." - - - - - A string like "The property or function import name '{0}' was read from the payload; however, the name of the expected property or function import is '{1}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' on type '{2}'; however, the expected property with the same name is declared on type '{3}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}' and type '{2}' on declaring type '{3}'; however, the expected property type is '{4}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}'; however, the name of the expected function import is '{2}'." - - - - - A string like "The metadata URI '{0}' references the function import with name '{1}' and return type '{2}'; however, the expected return type is '{3}'." - - - - - A string like "The metadata URI '{0}' references the type '{1}'; however the expected type is '{2}'." - - - - - A string like "The metadata URI '{0}' refers to the item type '{1}' which is not assignable to the expected item type '{2}'." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The expected type can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The entity set can only be specified if metadata is made available to the reader." - - - - - A string like "The parameter '{0}' is specified with a non-null value, but no metadata is available for the reader. The function import can only be specified if metadata is made available to the reader." - - - - - A string like "The producing function import '{0}' for a collection reader has the return type '{1}'. Only function imports returning collections of primitive or complex values can be specified as the producing function import for a collection reader." - - - - - A string like "The expected type for a collection reader is of kind '{0}'. Only types of Primitive or ComplexType kind can be specified as the expected type for a collection reader." - - - - - A string like "The expected type for a value is of kind '{0}'. Only types of Primitive kind can be specified as the expected type for reading a value." - - - - - A string like "The wildcard '*' was detected in the value '{0}' of the content type header. The value of the content type header cannot contain wildcards." - - - - - A string like "The navigation property '{0}' with singleton cardinality on type '{1}' was specified for reading a collection of entity reference links. A navigation property with collection cardinality has to be provided." - - - - - A string like "The content type '{0}' specifies a batch payload but does not include a batch boundary. In OData, batch payload content types must specify a batch boundary in the '{1}' parameter of the content type." - - - - - A string like "ODataReader.ReadAsync or ODataReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "Calling Read or ReadAsync on an ODataReader instance is not allowed in state '{0}'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed. A 'StartObject' or 'EndArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a feed. A 'StartObject' or 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entry. A 'StartObject' node was expected." - - - - - A string like "Cannot convert a value of type 'Edm.Int32' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Double' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.Boolean' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTime' to the expected target type '{0}'." - - - - - A string like "Cannot convert a value of type 'Edm.DateTimeOffset' to the expected target type '{0}'." - - - - - A string like "Multiple '{0}' properties were found in the value of the '__metadata' property. In OData, the value of the '__metadata' property must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link wrapper object. In OData, an entity reference link wrapper must have at most one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in an error or inner error object. In OData, an error or inner error must have at most one '{0}' property." - - - - - A string like "The '{0}' property in a feed wrapper has a null value. In OData, the '{0}' property must have a non-null value." - - - - - A string like "The '{0}' property in the value of the '__mediaresource' property has a null value. In OData, the '{0}' property must have a string value." - - - - - A string like "The '{0}' property for a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in a collection of entity reference links has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "The '{0}' property in the value of the '__metadata' property has a null value. In OData, the '{0}' property must have a non-null string value." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. If the payload contains a relative URI a base URI must be specified on the reader settings." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In OData, entity reference links must be objects." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a 'StartArray' node was expected." - - - - - A string like "Multiple '{0}' properties were found for a stream reference value. In OData, a stream reference value can only contain one '{0}' property." - - - - - A string like "Found a node of type '{1}' when starting to read the property value, however a node of type 'StartObject' was expected. The '{0}' property of an entry metadata must have an object value. " - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartObject' or 'StartArray' node was expected." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' is not an annotation. In OData, JSON Light annotation groups can only contain instance and property annotations." - - - - - A string like "Multiple annotation groups with name '{0}' were found in the payload. In OData, annotation group names must be unique for the entire payload and the same annotation group instance has to be used for its declaration and when referencing it." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}'. The 'Target' property value of these operations must be set to a non-null value." - - - - - A string like "Multiple operations have the same 'Metadata' property value of '{0}' and the same 'Target' property value of '{1}'. When multiple operations have the same 'Metadata' property value, their 'Target' property values must be unique." - - - - - A string like "A property with name '{0}' was found in the error object when reading a top-level error. In OData, a top-level error object must have exactly one property with name 'error'." - - - - - A string like "A property with name '{0}' was found in the message value of a top-level error. In OData, the message value of a top-level error value can only have properties with name 'lang' or 'value'." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror'." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read a value of a property; however, a 'PrimitiveValue' or 'StartObject' node was expected." - - - - - A string like "Multiple '{0}' properties were found in a collection. In OData, a collection can only have one '{0}' property." - - - - - A string like "The 'type' property value '{0}' is not a valid type name. The value of the 'type' property must be a non-empty string." - - - - - A string like "The 'type' property value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "Found a node of type '{0}' when starting to read the property value; however, a node of type 'StartObject' was expected. The '__metadata' property must have an object value." - - - - - A string like "ODataCollectionReader.ReadAsync or ODataCollectionReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "The current state of the collection reader is '{0}'; however, the expected item type of a collection reader can only be set in state '{1}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in an invalid state. No further calls can be made to the reader in state '{0}'." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state. '{1}' must be called in this state, and the created reader must be in the 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "ODataParameterReader.ReadAsync or ODataParameterReader.Read was called in the '{0}' state and '{1}' was called but the created reader is not in the 'Completed' state. The created reader must be in 'Completed' state before the next ODataParameterReader.ReadAsync or ODataParameterReader.Read can be called." - - - - - A string like "You cannot call the method '{0}' in state '{1}'." - - - - - A string like "The '{0}' method has already been called for the parameter '{1}'. Only one create reader method call is allowed for each entry, feed, or collection parameter." - - - - - A string like "The parameter '{0}' in the request payload is not a valid parameter for the function import '{1}'." - - - - - A string like "Multiple parameters with the name '{0}' were found in the request payload." - - - - - A string like "One or more parameters of the function import '{0}' are missing from the request payload. The missing parameters are: {1}." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. The supported type kinds are Primitive, Complex, Primitive Collection and Complex Collection." - - - - - A string like "When trying to read a null collection parameter value in verbose JSON, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a 'null' value was expected." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of a collection with a collection wrapper object. A 'StartObject' node was expected." - - - - - A string like "When trying to read the start of a collection without a collection wrapper object, a node of type '{0}' was read from the JSON reader; however, a 'StartArray' node was expected." - - - - - A string like "The 'Metadata' property on an {0} must be set to a non-null value." - - - - - A string like "The 'Target' property on an {0} must be set to a non-null value." - - - - - A string like "The '{0}' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "The property '{0}' does not exist on type '{1}'. Make sure to only use property names that are defined by the type." - - - - - A string like "A primitive value was specified; however, a value of the non-primitive type '{0}' was expected." - - - - - A string like "Unsupported primitive type. A primitive type could not be determined for an instance of type '{0}'." - - - - - A string like "An incompatible primitive type '{0}[Nullable={1}]' was found for an item that was expected to be of type '{2}[Nullable={3}]'." - - - - - A string like "Type name '{0}' is an invalid collection type name; a collection type name must be in the format 'Collection(<itemTypeName>)'." - - - - - A string like "A type named '{0}' could not be resolved by the model. When a model is available, each type name must resolve to a valid type." - - - - - A string like "Incompatible type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with type '{0}' was found, which is of kind '{1}'. Value can only be of kind 'Primitive', 'Complex' or 'Collection'." - - - - - A string like "The property '{0}' cannot be a stream property because it is not of kind EdmPrimitiveTypeKind.Stream." - - - - - A string like "The ETag value '{0}' is not valid. An ETag value must be a quoted string or 'W/' followed by a quoted string. Refer to HTTP RFC 2616 for details on valid ETag formats." - - - - - A string like "A value was encountered that has a type name that is incompatible with the metadata. The value specified its type as '{0}', but the type specified in the metadata is '{1}'." - - - - - A string like "An open collection property '{0}' was found. In OData, open collection properties are not supported." - - - - - A string like "An open stream property '{0}' was found. In OData, open stream properties are not supported." - - - - - A string like "An invalid collection type kind '{0}' was found. In OData, collection types must be of kind 'Collection'." - - - - - A string like "An entry with type '{0}' was found with a media resource, but this entity type is not a media link entry (MLE). When the type is not an MLE entity, the entry cannot have a media resource." - - - - - A string like "An entry with type '{0}' was found without a media resource, but this entity type is a media link entry (MLE). When the type is an MLE entity, the entry must have a media resource." - - - - - A string like "An entry with type '{0}' was found, but it is not assignable to the expected type '{1}'. The type specified in the entry must be equal to either the expected type or a derived type." - - - - - A string like "A navigation property with name '{0}' was found on type '{1}', however this property was not declared. Open navigation properties are not supported; all navigation properties must be declared in metadata." - - - - - A string like "A property with name '{0}' on type '{1}' has kind '{2}', but it is expected to be of kind 'Navigation'." - - - - - A string like "The boundary delimiter '{0}' is invalid. A boundary delimiter must be non-null, be non-empty, and have a maximum of {1} characters." - - - - - A string like "The maximum recursion depth limit was reached. The depth of nested values in a single property cannot exceed {0}." - - - - - A string like "The depth limit for entries in nested expanded navigation links was reached. The number of nested expanded entries cannot exceed {0}." - - - - - A string like "A null value was found in a collection, but the expected collection item type '{0}' does not allow null values." - - - - - A string like "The property name '{0}' is invalid; property names must not contain any of the reserved characters {1}." - - - - - A string like "The maximum number of entity property mappings allowed on an entity type and all its base types has been exceeded. A total of {0} entity property mappings were found, but a maximum of {1} entity property mappings are allowed." - - - - - A string like "Encountered a property '{0}' that was expected to be a reference to a location in the $metadata document but does not contain a '#' character or is otherwise not a valid metadata reference property. A metadata reference property must contain a '#' and be a valid absolute URI or begin with a '#' and be a valid URI fragment." - - - - - A string like "A top level property with name '{0}' and a producing function import with name '{1}' is being written. If the producing function import is specified the property name must be either null or must match the function import name." - - - - - A string like "A duplicate value '{0}' was detected as the name of a resource collection. Resource collections must have unique names in a given workspace." - - - - - A string like "The base URI '{0}' specified in ODataMessageWriterSettings.BaseUri is invalid; it must either be null or an absolute URI." - - - - - A string like "The type '{0}' of an entry in an expanded link is not compatible with the element type '{1}' of the expanded link. Entries in an expanded link must have entity types that are assignable to the element type of the expanded link." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the actual payload is an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the actual payload is a feed." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is a feed, but the metadata declares it as an entry." - - - - - A string like "The ODataNavigationLink with the URL value '{0}' specifies in its 'IsCollection' property that its payload is an entry, but the metadata declares it as feed." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is a feed, but the metadata declares it as an entry." - - - - - A string like "The content of the ODataNavigationLink with the URL value '{0}' is an entry, but the metadata declares it as feed." - - - - - A string like "The collection property '{0}' has a null value, which is not allowed. In OData, collection properties cannot have null values." - - - - - A string like "The property '{0}[Nullable=False]' of type '{1}' has a null value, which is not allowed." - - - - - A string like "The stream property '{0}' has a null value, which is not allowed. In OData, stream properties cannot have null values." - - - - - A string like "An action or a function with metadata '{0}' was detected when writing a request; actions and functions are only supported in responses." - - - - - A string like "An association link with name '{0}' could not be written to the request payload. Association links are only supported in responses." - - - - - A string like "An stream property with name '{0}' could not be written to the request payload. Stream properties are only supported in responses." - - - - - A string like "The metadata document URI '{0}' specified in ODataMessageWriterSettings.MetadataDocumentUri is invalid; it must be either null or an absolute URI." - - - - - A string like "The ODataNavigationLink.Url property on an navigation link '{0}' is null. The ODataNavigationLink.Url property must be set to a non-null value that represents the entity or entities the navigation link references." - - - - - A string like "The ODataNavigationLink.IsCollection property on a navigation link '{0}' is null. The ODataNavigationLink.IsCollection property must be specified when writing a link into a request." - - - - - A string like "An XML node of type '{0}' was found in a string value. An element with a string value can only contain Text, CDATA, SignificantWhitespace, Whitespace or Comment nodes." - - - - - A string like "An XML node of type '{0}' was found at the root level. The root level of an OData payload must contain a single XML element and no text nodes." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and value 'true', it must be empty." - - - - - A string like "The metadata document could not be read from the message content.\r\n{0}" - - - - - A string like "The metadata document could not be written as specified.\r\n{0}" - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'true' or 'false'." - - - - - A string like "The value of the '{0}' attribute on type '{1}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The value of the '{0}' attribute on property '{1}' of type '{2}' is not allowed. Supported values are 'text', 'html' and 'xhtml'." - - - - - A string like "The required '{0}' attribute is missing on type '{1}'." - - - - - A string like "The required '{0}' attribute is missing on property '{1}' on type '{2}'." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to a non-AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on type '{1}' when a property is mapped to an AtomPub element." - - - - - A string like "The '{0}' attribute is not allowed on property '{1}' on type '{2}' when the property is mapped to an AtomPub element." - - - - - A string like "The value for the annotation with namespace '{0}' and local name '{1}' is of type '{2}'. Only string values are supported." - - - - - A string like "A navigation link '{0}' was found with type 'feed', but its matching navigation property is of kind EntityReference. A navigation link with type 'feed' must match a navigation property of kind EntitySetReference." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but no base URI for it was found. When the payload contains a relative URI, there must be an xml:base in the payload or else a base URI must specified in the reader settings." - - - - - A string like "A child element of the collection was named '{0}'. Each child element representing the value of the collection must be named 'element', and each must belong to the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level collection must have the root element in the '{1}' namespace." - - - - - A string like "A root element in namespace '{0}' was found. A top-level property payload must have the root element in the '{1}' namespace." - - - - - A string like "The element '{0}' has non-empty content, an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null, and value of 'true'. When an element has an attribute with name {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:null and a value of 'true', it must be empty." - - - - - A string like "The element with name '{0}' is not a valid collection item. The name of the collection item element must be 'element' and it must belong to the '{1}' namespace." - - - - - A string like "The property '{0}' on type '{1}' was found in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element, and it is declared as a navigation property. Navigation properties in ATOM must be represented as {{http://www.w3.org/2005/Atom}}:link elements." - - - - - A string like "Writing null value for the instance annotation '{0}' is not allowed. The instance annotation '{0}' has the expected type '{1}[Nullable=False]'." - - - - - A string like "A node of type '{0}' was found where a node of type 'Element' was expected. An entry must be represented as an XML element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, an entry was expected. An entry must be represented as an {{http://www.w3.org/2005/Atom}}:entry element." - - - - - A string like "The 'type' attribute on element {{http://www.w3.org/2005/Atom}}:content is either missing or has an invalid value '{0}'. Only 'application/xml' and 'application/atom+xml' are supported as the value of the 'type' attribute on the {{http://www.w3.org/2005/Atom}}:content element." - - - - - A string like "An XML node '{0}' was found in the {{http://www.w3.org/2005/Atom}}:content element. The only valid child nodes of the {{http://www.w3.org/2005/Atom}}:content element are insignificant nodes and the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:properties element." - - - - - A string like "An element with name '{0}' in namespace '{1}' was found; however, a feed was expected. A feed must be represented as a {{http://www.w3.org/2005/Atom}}:feed element." - - - - - A string like "An element with name '{0}' in namespace 'http://www.w3.org/2005/Atom' was found inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element. Only 'entry' and 'feed' elements from the 'http://www.w3.org/2005/Atom' namespace, or elements from other namespaces are allowed inside the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Another expanded '{0}' was found in {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline, but it already contains an expanded feed or entry. Only one expanded feed or expanded entry is allowed in the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:inline element." - - - - - A string like "Multiple edit links were found for the stream property '{0}'. Only one edit link is allowed for a given stream property." - - - - - A string like "Multiple read links were found for the stream property '{0}'. Only one read link is allowed for a given stream property." - - - - - A string like "Multiple content type values were found for the stream property '{0}'. When a stream property is represented as two {{http://www.w3.org/2005/Atom}}:link elements that both have the 'type' attribute, then both values must be the same." - - - - - A string like "Found a stream property '{0}', but there is already another property with the same name on the entity. The stream property name cannot conflict with the name of another property." - - - - - A string like "The 'metadata' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "The 'target' attribute on the {{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0} element is missing." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on an entry. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Multiple 'link' elements with a relation of '{0}' were found on a feed. In OData, at most one link element with a '{0}' relation is allowed." - - - - - A string like "Duplicate '{{{0}}}:{1}' elements were found. In OData, at most one '{{{0}}}:{1}' element is allowed." - - - - - A string like "The value of the 'type' attribute on the association link for the navigation property '{0}' is invalid. The value of the 'type' attribute on an association link must be 'application/xml'. " - - - - - A string like "Encountered an 'annotation' element with a 'target' attribute value of '{0}' and a term name of '{1}'. When an 'annotation' element occurs as a direct child of an 'entry' or 'feed' element, it must have either no 'target' attribute or a 'target' attribute with a value of '.'." - - - - - A string like "A root element with name '{0}' was found in namespace '{1}'. The root element of a service document must be named 'service' and it must belong to the 'http://www.w3.org/2007/app' namespace." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. With the exception of extension elements, a service document can contain only a single {{http://www.w3.org/2007/app}}:workspace element." - - - - - A string like "An element with name '{0}' was found in namespace 'http://www.w3.org/2007/app'. A workspace element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:collection element." - - - - - A string like "An element with name '{0}' was fond in namespace 'http://www.w3.org/2007/app'. A {{http://www.w3.org/2007/app}}:collection element can only contain the {{http://www.w3.org/2005/Atom}}:title element, extension elements, and the {{http://www.w3.org/2007/app}}:accept or {{http://www.w3.org/2007/app}}:categories element." - - - - - A string like "The type attribute with value '{0}' was fond on an Atom text construct element with local name '{1}'. The type attribute must be missing or else it must have a value 'text', 'html' or 'xhtml'." - - - - - A string like "Multiple '{0}' elements were found inside a '{1}' element. A '{1}' element cannot contain more than one '{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid root element for an error. The root element of an error must be 'error' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices/metadata' namespace." - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in a top-level error value. In OData, the value of a top-level error value can have no more than one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element" - - - - - A string like "Multiple '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' elements were found in an inner error value. In OData, the value of an inner error value can have at most one '{{http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}}:{0}' element." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for an entity reference link. The start element of an entity reference link must be 'uri' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "The element with name '{0}' in namespace '{1}' is not a valid start element for entity reference links. The start element of entity reference links must be 'links' and it must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "Multiple '{{{0}}}:{1}' elements were found in an entity reference links element. In OData, the value of an entity reference links element must have at most one '{{{0}}}:{1}' element." - - - - - A string like "The entity property mapping with source path '{0}' uses an open complex or collection property. Open complex or collection properties cannot be read through entity property mapping." - - - - - A string like "Multiple values were found for the non-collection property '{0}' on type '{1}' that is mapped to '{2}'." - - - - - A string like "A 'fixed' attribute with the value '{0}' was found on a 'categories' element. When the 'fixed' attribute is not missing, it must have a value of either 'yes' or 'no'." - - - - - A string like "Multiple 'title' elements were found inside a '{0}' element. A '{0}' element can only contain a single {{http://www.w3.org/2005/Atom}}:title element." - - - - - A string like "The specified resource collection name '{0}' does not match the specified title '{1}' as set in AtomResourceCollectionMetadata.Title." - - - - - A string like "An invalid item type kind '{0}' was found. Items in a collection can only be of type kind 'Primitive' or 'Complex', but not of type kind '{0}'." - - - - - A string like "An item of type kind '{0}' was found in a collection that otherwise has items of type kind '{1}'. In OData, all items in a collection must have the same type kind." - - - - - A string like "An item with type name '{0}' was found in a collection of items with type name '{1}'. In OData, all items in a collection must have the same type name." - - - - - A string like "An entry of type '{0}' was found in a feed that otherwise has entries of type '{1}'. In OData, all entries in a feed must have a common base type." - - - - - A string like "The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read operation, a total of {0} bytes has been read from the stream; however a maximum of {1} bytes is allowed." - - - - - A string like "The custom type resolver set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior returned 'null' when resolving the type '{0}'. When a custom type resolver is specified, it cannot return null." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "The property '{0}' is not declared on the non-open type '{1}'." - - - - - A string like "Multiple annotations for term '{0}' were found on element '{1}'. Only a single annotation for the term '{0}' can be specified." - - - - - A string like "Multiple annotations for term '{0}' with qualifier '{1}' were found on element '{2}'. Only a single annotation for the term '{0}' with the qualifier '{1}' can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. Only a single annotation for the term '{0}' without any qualifier can be specified." - - - - - A string like "An annotation for term '{0}' with an invalid qualifier '{1}' was found on element '{2}'. A single annotation for the term '{0}' with the qualifier '{3}' is expected." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The entity type '{0}' is not compatible with the base type '{1}' of the provided entity set '{2}'. When an entity type is specified for an OData feed or entry reader, it has to be the same or a subtype of the base type of the specified entity set." - - - - - A string like "The parameter '{0}' is specified with a null value. For JSON Light, the '{0}' argument to the 'CreateParameterReader' method cannot be null." - - - - - A string like "The required property '{0}' was not found at the expected position in the payload. Instead, found a property named '{1}'." - - - - - A string like "The annotation '{0}' was targeting the instance annotation '{1}'. Only the '{2}' annotation is allowed to target an instance annotation." - - - - - A string like "The annotation '{0}' is found targeting the instance annotation '{1}'. However the value for the instance annotation '{1}' is not found immediately after. In JSON Light, an annotation targeting an instance annotation must be immediately followed by the value of the targeted instance annotation." - - - - - A string like "The base type '{0}' of the entity set specified for writing a JSON Light payload is not assignable from the specified entity type '{1}'. When an entity type is specified it has to be the same or derived from the base type of the entity set." - - - - - A string like "The annotation '{0}' was found. This annotation is either not recognized or not expected at the current position." - - - - - A string like "The property '{0}' has a property annotation '{1}'. This annotation is either not recognized or not expected at the current position." - - - - - A string like "An OData property annotation '{0}' was found. This property annotation is either not recognized or not expected at the current position." - - - - - A string like "A property with name '{0}' was found. This property is either not recognized or not expected at the current position." - - - - - A string like "A top-level property with name '{0}' was found in the payload; however, property and collection payloads must always have a top-level property with name '{1}'." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not a valid type name. The value of the 'odata.type' instance annotation must be a non-empty string." - - - - - A string like "The 'odata.type' instance annotation value '{0}' is not valid. The type name can only be specified when the primitive property is a spatial property. Please make sure that the type name is either a spatial type name or a non-primitive type name." - - - - - A string like "One or more property annotations for property '{0}' were found in the top-level property or collection payload without the property to annotate. Top-level property and collection payloads must contain a single property, with optional annotations for this property." - - - - - A string like "One or more property annotations for property '{0}' were found in the complex value without the property to annotate. Complex values must only contain property annotations for existing properties." - - - - - A string like "A complex property with an '{0}' property annotation was found. Complex properties must not have the '{0}' property annotation, instead the '{0}' should be specified as an instance annotation in the complex value." - - - - - A string like "The property '{0}' has a property annotation '{1}'. Primitive, complex, collection or open properties can only have an 'odata.type' property annotation." - - - - - A string like "The property with name '{0}' was found after the data property with name '{1}'. If a type is specified for a data property, it must appear before the data property." - - - - - A string like "An '{0}' annotation was read inside a JSON object representing a primitive value; type annotations for primitive values have to be property annotations of the owning property." - - - - - A string like "A top-level property with an invalid primitive null value was found. In OData, top-level properties with null value have to be serialized as JSON object with an '{0}' annotation that has the value '{1}'." - - - - - A string like "Encountered a metadata reference property '{0}' in a scope other than an entry. In OData, a property name with a '#' character indicates a reference into the metadata and is only supported for describing operations bound to an entry." - - - - - A string like "The property with name '{0}' was found in a null payload. In OData, no properties or OData annotations can appear in a null payload." - - - - - A string like "The metadata URI '{0}' references the null value; however the payload is not a null value payload." - - - - - A string like "The '{0}' instance or property annotation has a null value. In OData, the '{0}' instance or property annotation must have a non-null string value." - - - - - A string like "An '{0}' annotation was found with an invalid value. In OData, the only valid value for the '{0}' annotation is '{1}'." - - - - - A string like "The InstanceAnnotations collection has more than one instance annotations with the name '{0}'. All instance annotation names must be unique within the collection." - - - - - A string like "The metadata URI '{0}' was found in a service document payload. Metadata URIs for service documents must not have a fragment." - - - - - A string like "The metadata URI '{0}' is not valid for the expected payload kind '{1}'." - - - - - A string like "The metadata URI '{0}' references the entity set or type '{1}'. However, no entity set or type with name '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' references the property '{1}' on type '{2}'. However, type '{2}' does not declare a property with name '{1}' and is not an open type. " - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI containing an entity set and type cast must either have no suffix or end in '{2}'." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, no entity type '{1}' is declared in the metadata." - - - - - A string like "The metadata URI '{0}' includes a type cast to entity type '{1}'. However, the entity type '{1}' is not a subtype of the entity type '{2}' which is the base type of the entity set with name '{3}'." - - - - - A string like "The metadata URI '{0}' ends with the suffix '{1}'. However, a metadata URI for an entity reference link containing a collection navigation property must end in '{2}'." - - - - - A string like "The metadata URI '{0}' references the property with name '{1}'. However, a metadata URI for an entity reference link must reference a navigation property which '{1}' is not." - - - - - A string like "The metadata URI '{0}' references the singleton navigation property with name '{1}'. However, when a metadata URI for an entity reference link ends in '{2}' it must reference a collection navigation property." - - - - - A string like "The metadata URI '{0}' has a fragment with '{1}' parts. However, valid metadata URIs must have at most '{2}' parts." - - - - - A string like "The metadata URI '{0}' references the entity set or function import '{1}'. However, no entity set or function import with name '{1}' is declared in the metadata." - - - - - A string like "A '$select' query option was found for the payload kind '{0}'. In OData, a '$select' query option is only supported for payload kinds 'Entry' and 'Feed'." - - - - - A string like "The metadata URI '{0}' has $links in an invalid position. The Metadata URI must specify the entity set, optional type segment, $links, a navigation property." - - - - - A string like "The metadata URI '{0}' references the entity set '{1}'. However, no entity set name '{1}' is declared in the metadata." - - - - - A string like "The '{0}' instance annotation in an entry object is preceded by a property or property annotation. In OData, the '{0}' instance annotation must be before any property or property annotation in an entry object." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of the content of a feed; however, a node of type 'StartArray' was expected." - - - - - A string like "Did not find the required '{0}' property for the expected feed." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the entries of a feed; however, a node of type 'StartObject' or 'EndArray' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading a top-level feed. No property annotations, only instance annotations are allowed when reading top-level feeds." - - - - - A string like "A property with name '{0}' was found when reading a top-level feed. No properties other than the feed property with name '{1}' are allowed." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is declared to be of type '{1}'. In OData, only navigation properties and named streams can be represented as properties without values." - - - - - A string like "A property '{0}' which only has property annotations in the payload but no property value is an open property. In OData, open property must be represented as a property with value." - - - - - A string like "The stream property '{0}' has a property annotation '{1}'. Stream property can only have the 'odata.mediaEditLink', 'odata.mediaReadLink', 'odata.mediaETag' and 'odata.mediaContentType' property annotations." - - - - - A string like "A stream property '{0}' has a value in the payload. In OData, stream property must not have a value, it must only use property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Deferred navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of a resource reference navigation link; however, a 'StartObject' node or 'PrimitiveValue' node with null value was expected." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the contents of an entity set reference navigation link; however, a 'StartArray' node was expected." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded entry navigation links can only have the 'odata.navigationLinkUrl' and 'odata.associationLinkUrl' property annotations." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Expanded feed navigation links can only have the 'odata.navigationLinkUrl', 'odata.associationLinkUrl' and 'odata.nextLink' property annotations." - - - - - A string like "Multiple property annotations '{0}' were found when reading the expanded navigation link '{1}'. Only a single property annotation '{0}' can be specified for an expanded navigation link." - - - - - A string like "A property annotation '{0}' was found after the property '{1}' it is annotating. Only the 'odata.nextLink' property annotation can be used after the property it is annotating." - - - - - A string like "An annotation group member with an empty name was found for the annotation group with name '{0}'. In OData, annotation group members must have a non-null, non-empty names." - - - - - A string like "An annotation group member with name '{0}' in annotation group '{1}' has an invalid value. In OData, annotation group member values must be strings; values of type '{2}' are not supported." - - - - - A string like "The navigation property '{0}' has a property annotation '{1}'. Navigation links in request payloads can only have the '{2}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has a property annotation '{1}' with an array value. Resource reference navigation properties can only have a property annotation '{1}' with a string value." - - - - - A string like "The resource set reference navigation property '{0}' has a property annotation '{1}' with a string value. Resource set reference navigation properties can only have a property annotation '{1}' with an array value." - - - - - A string like "The value of '{0}' property annotation is an empty array. The '{0}' property annotation must have a non-empty array as its value." - - - - - A string like "The navigation property '{0}' has no expanded value and no '{1}' property annotation. Navigation property in request without expanded value must have the '{1}' property annotation." - - - - - A string like "The resource reference navigation property '{0}' has both the '{1}' property annotation as well as a value. Resource reference navigation properties can have either '{1}' property annotations or values, but not both." - - - - - A string like "An undeclared property '{0}' which only has property annotations in the payload but no property value was found in the payload. In OData, only declared navigation properties and declared named streams can be represented as properties without values." - - - - - A string like "Encountered the function import '{0}' which can not be resolved to an ODataAction or ODataFunction." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple target bindings encountered for the operation '{0}' but the 'target' property was not found in an operation value. To differentiate between multiple target bindings, each operation value must have exactly one 'target' property." - - - - - A string like "The '{0}' property of the operation '{1}' cannot have a null value." - - - - - A string like "Encountered a reference into metadata '{0}' which does not refer to the known metadata url '{1}'. Open metadata reference properties are not supported." - - - - - A string like "A relative URI value '{0}' was specified in the payload, but the {1} annotation is missing from the payload. The payload must only contain absolute URIs or the {1} annotation must be on the payload." - - - - - A string like "The {0} annotation is missing from the payload." - - - - - A string like "When trying to read the start of a collection, the expected collection property with name '{0}' was not found." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the items of a collection; however, a 'StartArray' node was expected." - - - - - A string like "A property or annotation for a property with name '{0}' or an instance annotation with name '{0}' was found after reading the items of a top-level collection. No additional properties or annotations are allowed after the collection property." - - - - - A string like "An 'odata.type' annotation with value '{0}' was found for a top-level collection payload; however, top-level collections must specify a collection type." - - - - - A string like "A node of type '{0}' was read from the JSON reader when trying to read the start of an entity reference link. In JSON Light, entity reference links must be objects." - - - - - A string like "A property annotation with name '{0}' was detected when reading an entity reference link; entity reference links do not support property annotations." - - - - - A string like "An instance annotation with name '{0}' or a property annotation for the property with name '{0}' was found when reading an entity reference link. No OData property or instance annotations are allowed when reading entity reference links." - - - - - A string like "A property with name '{0}' was found when reading an entity reference link. No properties other than the entity reference link property with name '{1}' are allowed." - - - - - A string like "The required property '{0}' for an entity reference link was not found." - - - - - A string like "Multiple '{0}' properties were found in an entity reference link object; however, a single '{0}' property was expected." - - - - - A string like "The '{0}' property of an entity reference link object cannot have a null value." - - - - - A string like "A property with name '{0}' or a property annotation for a property with name '{0}' was found when trying to read a collection of entity reference links; however, a property with name '{1}' was expected." - - - - - A string like "A property annotation for a property with name '{0}' was found when reading an entity reference links payload. No property annotations, only instance annotations are allowed when reading entity reference links." - - - - - A string like "Did not find the required '{0}' property for an entity reference links payload." - - - - - A string like "The '{0}' property of an operation '{1}' in '{2}' cannot have a null value." - - - - - A string like "Found a node of type '{1}' when starting to read the '{0}' operations value, however a node of type 'StartObject' was expected. The '{0}' operations value must have an object value. " - - - - - A string like "The '{0}' operations object can only have one property for each distinct metadata; however, a duplicate of metadata '{1}' was found." - - - - - A string like "Found a node of type '{1}' when starting to read the value of the '{0}' property in '{2}'; however, a node of type 'StartArray' was expected. The value of each property in the '{2}' operations object must be an array value." - - - - - A string like "Found a node of type '{1}' when reading an item in the array value of the '{0}' property; however, a node of type 'StartObject' was expected. The items in the array value for the '{0}' property in the '{2}' operations object must be object values." - - - - - A string like "Multiple '{0}' properties were found for an operation '{1}' in '{2}'. In OData, an operation can have at most one '{0}' property." - - - - - A string like "Multiple 'target' properties were found for an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "The 'target' property was not found in an operation '{0}' in '{1}'. In OData, an operation must have exactly one 'target' property." - - - - - A string like "Multiple '{0}' properties were found in a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Multiple '{0}' properties were found in a resource collection in a service document. In OData, a resource collection must have exactly one '{0}' property." - - - - - A string like "No '{0}' property was found for a service document. In OData, a service document must have exactly one '{0}' property." - - - - - A string like "Encountered a resource collection without a '{0}' property. In service documents, resource collections must contain a '{0}' property." - - - - - A string like "An unrecognized property annotation '{0}' was found in a '{1}' object in a service document. OData property annotations are not allowed in workspaces." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a '{1}' object in a service document. OData instance annotations are not allowed in workspaces." - - - - - A string like "An unrecognized property annotation '{0}' was found in a resource collection in a service document. OData property annotations are not allowed in resource collections." - - - - - A string like "An unrecognized instance annotation '{0}' was found in a resource collection in a service document. OData instance annotations are not allowed in resource collections." - - - - - A string like "Encountered unexpected property '{0}' in a resource collection. In service documents, resource collections may only have '{1}' and '{2}' properties." - - - - - A string like "Encountered unexpected property '{0}' in a service document. The top level object of a service document may only have a '{1}' property." - - - - - A string like "Encountered a property annotation for the property '{0}' which wasn't immediately followed by the property. Property annotations must occur directly before the property being annotated." - - - - - A string like "One or more property annotations for property '{0}' were found in a parameter payload without the property to annotate. Parameter payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "The parameter '{0}' is of the '{1}' primitive type, which is not supported in JSON Light." - - - - - A string like "When trying to read a null collection parameter value in JSON Light, a node of type '{0}' with the value '{1}' was read from the JSON reader; however, a primitive 'null' value was expected." - - - - - A string like "The parameter '{0}' is of an unsupported type kind '{1}'. Only primitive, complex, primitive collection and complex collection types are supported." - - - - - A string like "An OData property annotation '{0}' was found in an error payload; however, error payloads do not support OData property annotations." - - - - - A string like "An OData instance annotation '{0}' was found in an error payload; however, error payloads do not support OData instance annotations." - - - - - A string like "One or more property annotations for property '{0}' were found in an error payload without the property to annotate. Error payloads must not contain property annotations for properties that are not in the payload." - - - - - A string like "A property with name '{0}' was found in the error value of a top-level error. In OData, a top-level error value can only have properties with name 'code', 'message', or 'innererror', or custom instance annotations." - - - - - A string like "The entity type '{0}' has no key properties. Entity types must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "An ODataEntry of type '{0}' is found without key properties. When writing without a user model, each entry must contain at least one property whose 'ODataProperty.SerializationInfo.PropertyKind' set to 'ODataPropertyKind.Key'. When writing with a user model, the entity type '{0}' defined in the model must define at least one key property." - - - - - A string like "The key property '{0}' on type '{1}' has a null value. Key properties must not have null values." - - - - - A string like "The property '{0}' on type '{1}' is a non-primitive value. All key and etag properties must be of primitive types." - - - - - A string like "The primitive property '{0}' on type '{1}' has a value which is not a primitive value." - - - - - A string like "The entity instance value of type '{0}' doesn't have a value for property '{1}'. To compute an entity's metadata, its key and concurrency-token property values must be provided." - - - - - A string like "Encountered an annotation group containing a property '{0}' which is not a valid annotation name." - - - - - A string like "Encountered an annotation group named '{0}' containing a property '{1}' which is not a valid annotation name." - - - - - A string like "Encountered a reference to an annotation group named '{0}', but no annotation group with that name has been defined at this point in the payload." - - - - - A string like "Encountered multiple annotation group named '{0}'. Annotation group names must be unique within a payload." - - - - - A string like "An ODataPrimitiveValue was instantiated with a value of type '{0}'. ODataPrimitiveValue can only wrap values which can be represented as primitive EDM types." - - - - - A string like "'{0}' is an invalid instance annotation name. An instance annotation name must contain a period that is not at the start or end of the name." - - - - - A string like "'{0}' is a reserved instance annotation name because it starts with '{1}'. Reserved names are not allowed for custom instance annotations." - - - - - A string like "'{0}' is an invalid instance annotation name." - - - - - A string like "The value of the 'type' attribute on an 'annotation' element was '{0}', which is incompatible with the '{1}' attribute." - - - - - A string like "Encountered the attribute '{0}' on a non-empty 'annotation' element. If attribute value notation is used to specify the annotation's value, then there can be no body to the element." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must contain at least one '.' separating the namespace and the name segments of an annotation." - - - - - A string like "The pattern '{0}' is not a valid pattern to match an annotation. It must not contain a namespace or name segment that is empty." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. It must not contain '*' as part of a segment." - - - - - A string like "The pattern '{0}' is not a supported pattern to match an annotation. '*' must be the last segment of the pattern." - - - - - A string like "A service operation with name '{0}' could not be found in the provided model." - - - - - A string like "Found multiple service operations with name '{0}' in a single entity container. Service operation overloads are not supported." - - - - - A string like "An entity set with name '{0}' could not be found in the provided model." - - - - - A string like "Only operands with primitive types are allowed in binary operators. Found operand types '{0}' and '{1}'." - - - - - A string like "Both operands of a binary operators must have the same type. Found different operand types '{0}' and '{1}'." - - - - - A string like "The specified URI '{0}' must be absolute." - - - - - A string like "Invalid value '{0}' for $skip query option found. The $skip query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $top query option found. The $top query option requires a non-negative integer value." - - - - - A string like "Invalid value '{0}' for $inlinecount query option found. Valid values are '{1}'." - - - - - A string like "Query option '{0}' was specified more than once, but it must be specified at most once." - - - - - A string like "The CLR literal of type '{0}' is not supported to be written as a Uri part." - - - - - A string like "QueryToken '{0}' is not supported to be written as a Uri part." - - - - - A string like "Expression expected at position {0} in '{1}'." - - - - - A string like "'(' expected at position {0} in '{1}'." - - - - - A string like "')' or ',' expected at position {0} in '{1}'." - - - - - A string like "')' or operator expected at position {0} in '{1}'." - - - - - A string like "Expecting a Star token but got: '{0}'." - - - - - A string like "The range variable '{0}' has already been declared." - - - - - A string like "The URI '{0}' is not valid because it is not based on '{1}'." - - - - - A string like "The key value '{0}' was not recognized as a valid literal." - - - - - A string like "Unable to find property '{2}' on the instance type '{1}' of the structured type '{0}'." - - - - - A string like "An unsupported query token kind '{0}' was found." - - - - - A string like "Could not find an entity set for root segment '{0}'." - - - - - A string like "Type '{0}' is not an entity type. Key value can only be applied to an entity type." - - - - - A string like "Could not find a property named '{1}' on type '{0}'." - - - - - A string like "Property '{0}' is not declared on type '{1}' or is not a key property. Only key properties can be used in key lookups." - - - - - A string like "An unnamed key value was used in a key lookup on a type '{0}' which has more than one key property. Unnamed key value can only be used on a type with one key property." - - - - - A string like "A key property '{0}' was found twice in a key lookup. Each key property can be specified just once in a key lookup." - - - - - A string like "A key lookup on type '{0}' didn't specify values for all key properties. All key properties must be specified in a key lookup." - - - - - A string like "Expression of type '{0}' cannot be converted to type '{1}'." - - - - - A string like "Segment '{0}' which is a service operation returning non-queryable result has a key lookup. Only service operations returning queryable results can have a key lookup applied to them." - - - - - A string like "Service operation '{0}' of kind '{1}' returns type '{2}' which is not an entity type. Service operations of kind QueryWithMultipleResults or QueryWithSingleResult can only return entity types." - - - - - A string like "Service operation '{0}' is missing the required parameter '{1}'." - - - - - A string like "The parameter '{0}' with value '{1}' for the service operation '{2}' is not a valid literal of type '{3}'." - - - - - A string like "The MultiValue property '{0}' cannot be used in $filter or $orderby query expression. MultiValue properties are not supported with these query options." - - - - - A string like "The operand for a binary operator '{0}' is not a single value. Binary operators require both operands to be single values." - - - - - A string like "The operand for a unary operator '{0}' is not a single value. Unary operators require the operand to be a single value." - - - - - A string like "The parent value for a property access of a property '{0}' is not a single value. Property access can only be applied to a single value." - - - - - A string like "A binary operator with incompatible types was detected. Found operand types '{0}' and '{1}' for operator kind '{2}'." - - - - - A string like "A unary operator with an incompatible type was detected. Found operand type '{0}' for operator kind '{1}'." - - - - - A string like "An unknown function with name '{0}' was found. This may also be a key lookup on a navigation property, which is not allowed." - - - - - A string like "The argument for an invocation of a function with name '{0}' is not a single value. All arguments for this function must be single values." - - - - - A string like "No function signature for the function with name '{0}' matches the specified arguments. The function signatures considered are: {1}." - - - - - A string like "The system query option '{0}' is not supported." - - - - - A string like "A token of kind '{0}' was bound to the value null; this is invalid. A query token must always be bound to a non-null query node." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $top query option must specify a non-negative integer value." - - - - - A string like "The value '{0}' is not a non-negative integer value. In OData, the $skip query option must specify a non-negative integer value." - - - - - A string like " The service operation '{0}' does not have an associated result kind. Without a result kind, a service operation cannot be bound." - - - - - A string like "Encountered invalid type cast. '{0}' is not assignable from '{1}'." - - - - - A string like "The parameter '{0}' is not in scope." - - - - - A string like "The Cast or IsOf expression has an invalid number of operands: number of operands is '{0}' and it should be 1 or 2." - - - - - A string like "The geo.length function has an invalid number of operands: number of operands is '{0}' and it should be 1." - - - - - A string like "The geo.intersects function has an invalid number of operands: number of operands is '{0}' and it should be 2." - - - - - A string like "The operator '{0}' is not supported in this release. " - - - - - A string like "'{0}' queries are not supported in this release." - - - - - A string like "Can only bind segments that are Navigation, Structural, Complex, or Collections. We found a segment '{0}' that isn't any of those. Please revise the query." - - - - - A string like "The '{0}' option cannot be applied to the query path. '{0}' can only be applied to a collection of entities. " - - - - - A string like "Cannot find a suitable overload for function '{0}' that takes '{1}' arguments." - - - - - A string like "Cannot compose function '{0}' to a parent doesn't represent a single value." - - - - - A string like "Found a function import for '{0}', but it is invalid for Filter/Orderby." - - - - - A string like "Found a built-in function '{0}' with a parent token. Built-in functions cannot have parent tokens. " - - - - - A string like "Found a function '{0}' on an open property. Functions on open properties are not supported." - - - - - A string like "'{0}' is not a valid InlineCount option." - - - - - A string like "The child type '{0}' in a cast was not an entity type. Casts can only be performed on entity types." - - - - - A string like "Invalid content-id '{0}' for batch reference segment." - - - - - A string like "Property '{0}' is of an unrecognized EdmPropertyKind." - - - - - A string like "Cant find the property '{0}' in the model." - - - - - A string like "Only properties specified in $expand can be traversed in $select query options. Selected item was '{0}'." - - - - - A string like "Found a type segment '{0}' that isn't an entity type." - - - - - A string like "Trying to follow type segments on a segment that isn't a type. Segment was '{0}'." - - - - - A string like "Found a system token, '{0}', while parsing a select clause." - - - - - A string like "Found an invalid segment, '{0}', while parsing a select clause." - - - - - A string like "The type '{0}' is not defined in the model." - - - - - A string like "Property '{0}' on type '{1}' is not a navigation property. Only navigation properties can be expanded." - - - - - A string like "An entity type '{0}' was given to NonEntityParameterQueryNode. Use EntityParameterQueryNode instead." - - - - - A string like "An EntityCollectionServiceOperationQueryNode was provided with a IEdmFunctionImport with return type '{0}', which is not an entity type." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is not structural." - - - - - A string like "A node of this kind requires the associated property to be a structural, non-collection type, but property '{0}' is a collection." - - - - - A string like "A node of this kind requires the associated property to be a structural, collection type, but property '{0}' is not a collection." - - - - - A string like "Term '{0}' is not valid in a $select or $expand expression." - - - - - A string like "Functions are not allowed in a $select expression, but one was found in the expression '{0}'." - - - - - A string like "Top option must be an integer, its set to '{0}' instead." - - - - - A string like "Skip option must be an integer, its set to '{0}' instead." - - - - - A string like "Found system token '{0}' in select or expand clause '{1}'." - - - - - A string like "The URI '{0}' must be an absolute URI." - - - - - A string like "The result of parsing $expand contained at least {0} items, but the maximum allowed is {1}." - - - - - A string like "The result of parsing $expand was at least {0} items deep, but the maximum allowed is {1}." - - - - - A string like "The service operation '{0}' is missing a ODataServiceOperationResultKind attribute." - - - - - A string like "Multiple Service Operations with the name '{0}' were found. There can only be one Service Operation with a given name in a model." - - - - - A string like "The request URI is not valid. $links cannot be applied to the segment '{0}' since $links can only follow an entity segment." - - - - - A string like "The type '{0}' does not inherit from and is not a base type of '{1}'. The type of '{2}' must be related to the Type of the EntitySet." - - - - - A string like "Found a segment of type '{0} in an expand path, but only NavigationProperty and Type segments are allowed." - - - - - A string like "Found a segment of type '{0} in a select path, but only TypeSegment, NavigationPropertySegment, PropertySegment, OperationSegment or OpenPropertySegments are allowed." - - - - - A string like "The Entity Set of the operation '{0}' is not specified. This is most likely an error in the IEdmModel." - - - - - A string like "The target Entity Set of Navigation Property '{0}' could not be found. This is most likely an error in the IEdmModel." - - - - - A string like "The function overloads matching '{0}' are invalid. This is most likely an error in the IEdmModel." - - - - - A string like "Unable to resolve function overloads to a single function. There was more than one function in the model with name '{0}' and parameter names '{1}'." - - - - - A string like "Multiple action overloads were found with the same binding parameter for '{0}'." - - - - - A string like "The request URI is not valid. The segment '{0}' is not valid. Since the uri contains the '{1}' segment, there must be only one segment specified after that." - - - - - A string like "The request URI is not valid. The segment '{0}' must be the last segment in the URI because it is one of the following: $batch, $value, $metadata, a collection property, a named media resource, a service operation that does not return a value, or a service action." - - - - - A string like "The request URI is not valid. The segment '{0}' must refer to a navigation property since the previous segment identifier is '{1}'." - - - - - A string like "The request URI is not valid. There must a segment specified after the '{0}' segment and the segment must refer to a entity resource." - - - - - A string like "The request URI is not valid, $count cannot be applied to the segment '{0}' since $count can only follow a resource segment." - - - - - A string like "The request URI is not valid, since the segment '{0}' refers to a singleton, and the segment '{1}' can only follow a resource collection." - - - - - A string like "The request URI is not valid. Since the segment '{0}' refers to a collection, this must be the last segment in the request URI. All intermediate segments must refer to a single resource." - - - - - A string like "The request URI is not valid. The segment '{0}' cannot include key predicates, however it may end with empty parenthesis." - - - - - A string like "The segment '{1}' in the request URI is not valid. The segment '{0}' refers to a primitive property, function, or service operation, so the only supported value from the next segment is '$value'." - - - - - A string like "The type '{0}' specified in the URI is neither a base type nor a sub-type of the previously-specified type '{1}'." - - - - - A string like "Complex types can not be marked as 'Open'. Error occurred for type '{0}'." - - - - - A string like "Open navigation properties are not supported on OpenTypes. Property name: '{0}'." - - - - - A string like "The response requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service is set to {1}." - - - - - A string like "The number of keys specified in the URI does not match number of key properties for the resource '{0}'." - - - - - A string like "Resource not found for the segment '{0}'." - - - - - A string like "Batched service action '{0}' cannot be invoked because it was bound to an entity created in the same changeset." - - - - - A string like "Resource Not Found - '{0}' refers to a service operation or function which does not allow further composition." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "A non-negative integer value was expected, but the value '{0}' is not a valid non-negative integer." - - - - - A string like "A positive integer value was expected, but the value '{0}' is not a valid positive integer." - - - - - A string like "A positive long value was expected; however, the value '{0}' is not a valid positive long value." - - - - - A string like "An identifier was expected at position {0}." - - - - - A string like "There is an unterminated string literal at position {0} in '{1}'." - - - - - A string like "Syntax error: character '{0}' is not valid at position {1} in '{2}'." - - - - - A string like "Syntax error at position {0} in '{1}'." - - - - - A string like "There is an unterminated literal at position {0} in '{1}'." - - - - - A string like "A digit was expected at position {0} in '{1}'." - - - - - A string like "Unrecognized '{0}' literal '{1}' at '{2}' in '{3}'." - - - - - A string like "Invalid JSON. An unexpected comma was found in scope '{0}'. A comma is only valid between properties of an object or between elements of an array." - - - - - A string like "Invalid JSON. Unexpected token '{0}'." - - - - - A string like "Invalid JSON. A colon character ':' is expected after the property name '{0}', but none was found." - - - - - A string like "Invalid JSON. An unrecognized escape sequence '{0}' was found in a JSON string value." - - - - - A string like "Invalid JSON. The value '{0}' is not a valid number." - - - - - A string like "Invalid JSON. A comma character ',' was expected in scope '{0}'. Every two elements in an array and properties of an object must be separated by commas." - - - - - A string like "Invalid JSON. The property name '{0}' is not valid. The name of a property cannot be empty." - - - - - A string like "An unexpected '{1}' node was found when reading from the JSON reader. A '{0}' node was expected." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a double numeric value." - - - - - A string like "Value cannot be empty." - - - - - A string like "An asynchronous operation was requested on an IODataRequestMessage instance. For asynchronous operations to succeed, the request message instance must implement IODataRequestMessageAsync." - - - - - A string like "The IODataRequestMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataRequestMessage.GetStream or IODataRequestMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "An asynchronous operation was requested on an IODataResponseMessage instance. For asynchronous operations to succeed, the response message instance must implement IODataResponseMessageAsync." - - - - - A string like "The IODataResponseMessageAsync.GetStreamAsync method returned null. An asynchronous method that returns a task can never return null." - - - - - A string like "The IODataResponseMessage.GetStream or IODataResponseMessageAsync.GetStreamAsync method returned a null stream value. The message can never return a null stream." - - - - - A string like "A writer or stream has been disposed with data still in the buffer. You must call Flush or FlushAsync before calling Dispose when some data has already been written." - - - - - A string like "Only a top-level feed can have the 'ODataFeed.Count' property value specified. Expanded links do not support inline counts." - - - - - A string like "The ODataFeed.Count must be null for request payloads. Inline counts are only supported in responses." - - - - - A string like "Cannot write a top-level feed with a writer that was created to write a top-level entry." - - - - - A string like "Cannot write a top-level entry with a writer that was created to write a top-level feed." - - - - - A string like "A synchronous operation was called on an asynchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous writer. Calls on a writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An entity reference link was written without a surrounding navigation link. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing the content of a navigation link." - - - - - A string like "An entity reference link was written into a response. The WriteEntityReferenceLink or WriteEntityReferenceLinkAsync methods can only be used when writing a request." - - - - - A string like "A deferred link was written into a request. In requests, each navigation link must have a feed, entry, or entity reference link written into it." - - - - - A string like "More than one item was written into the content of a navigation link. In OData, a navigation link can only contain more than one item in its content when it is a navigation link, ODataNavigationLink.IsCollection set to true, and the writer is writing a request." - - - - - A string like "The ODataFeed.DeltaLink property must be null for expanded feeds. Delta link is not supported on expanded feeds." - - - - - A string like "An error occurred while processing the OData message." - - - - - A string like "An error was read from the payload. See the 'Error' property for more details." - - - - - A string like "An error occurred while parsing part of the URI." - - - - - A string like "Version 3.0 of the OData protocol is not supported by this library. Please use version 1.0 or 2.0 instead." - - - - - A string like "An ODataCollectionStart with a 'null' name was passed to the ATOM collection writer. In ATOM, an ODataCollectionStart cannot have a 'null' name." - - - - - A string like "The startEntryXmlCustomizationCallback set in ODataMessageWriterSettings.EnableWcfDataServicesClientBehavior can never return the same XmlWriter instance that was provided in its parameter." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Authors' enumerable; the author metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Categories' enumerable; the category metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Contributors' enumerable; the contributor metadata does not support null values." - - - - - A string like "A null value was detected in the 'AtomEntryMetadata.Links' enumerable; the link metadata does not support null values." - - - - - A string like "The 'AtomLinkMetadata.Href' property is required and cannot be null." - - - - - A string like "The 'AtomCategoryMetadata.Term' property is required and cannot be null." - - - - - A string like "The 'AtomCategoriesMetadata.Href' property can only be set when no other property is set. When the 'Href' property is not null, the categories cannot have any 'Fixed' or 'Scheme' values, and the 'Categories' collection must be null or empty." - - - - - A string like "The ODataMessageWriter has already been used to write a message payload. An ODataMessageWriter can only be used once to write a payload for a given message." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "An error cannot be written to a request payload. Errors are only supported in responses." - - - - - A string like "A service document cannot be written to request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be written to request payloads. Metadata documents are only supported in responses." - - - - - A string like "Cannot write the value 'null' in raw format." - - - - - A string like "The WriteError method or the WriteErrorAsync method on the ODataMessageWriter has already been called to write an error payload. Only a single error payload can be written with each ODataMessageWriter instance." - - - - - A string like "The WriteError method or the WriteErrorAsync method on ODataMessageWriter cannot be called after the WriteValue method or the WriteValueAsync method is called. In OData, writing an in-stream error for raw values is not supported." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings in order to write a metadata document." - - - - - A string like "No model was specified in the ODataMessageWriterSettings; a model has to be provided in the ODataMessageWriterSettings when CreateODataParameterWriter is called with a non-null function import." - - - - - A string like "Both startEntryXmlCustomizationCallback and endEntryXmlCustomizationCallback must be either null or non-null." - - - - - A string like "A synchronous operation was called on an asynchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection writer. All calls on a collection writer instance must be either synchronous or asynchronous." - - - - - A string like "An ODataCollectionStart with an empty name was passed to the collection writer. An ODataCollectionStart cannot have an empty name." - - - - - A string like "Writing an in-stream error is not supported when writing a parameter payload." - - - - - A string like "CreateParameterWriter was called on a response message. A parameter payload is only allowed in a request message." - - - - - A string like "A synchronous operation was called on an asynchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter writer. All calls on a parameter writer instance must be either synchronous or asynchronous." - - - - - A string like "WriteStart can only be called once, and it must be called before writing anything else." - - - - - A string like "WriteValue and CreateCollectionWriter can only be called after WriteStart and before WriteEnd; they cannot be called until the previously created sub-writer is completed." - - - - - A string like "WriteEnd can only be called after WriteStart and after the previously created sub-writer has completed." - - - - - A string like "The writer is in either the 'Error' or 'Completed' state. No further writes can be performed on this writer." - - - - - A string like "ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync was called while a stream being used to write operation content, obtained from the operation message by using GetStream or GetStreamAsync, was still active. This is not allowed. ODataBatchWriter.Flush or ODataBatchWriter.FlushAsync can only be called when an active stream for the operation content does not exist." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndBatch with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteStartChangeset with an active change set; you must first call ODataBatchWriter.WriteEndChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot call ODataBatchWriter.WriteEndChangeset without an active change set; you must first call ODataBatchWriter.WriteStartChangeset." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After creating the writer, the only valid methods are ODataBatchWriter.WriteStartBatch and ODataBatchWriter.FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartBatch, the only valid methods on ODataBatchWriter are WriteStartChangeset, CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteStartChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteEndChangeset, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling CreateOperationRequestMessage or CreateOperationResponseMessage, the only valid methods on ODataBatchWriter are WriteStartChangeset, WriteEndChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You cannot use the batch writer while another writer is writing the content of an operation. Dispose the stream for the operation before continuing to use the ODataBatchWriter." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After writing the content of an operation, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndChangeset, WriteEndBatch and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. After calling WriteEndChangeset, the only valid methods on ODataBatchWriter are CreateOperationRequestMessage, CreateOperationResponseMessage, WriteStartChangeset, WriteEndBatch, and FlushAsync." - - - - - A string like "An invalid method call on ODataBatchWriter was detected. You can only call ODataBatchWriter.FlushAsync after ODataBatchWriter.WriteEndBatch has been called." - - - - - A string like "When writing a batch response, you cannot create a batch operation request message." - - - - - A string like "When writing a batch request, you cannot create a batch operation response message." - - - - - A string like "A synchronous operation was called on an asynchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch writer. Calls on a batch writer instance must be either all synchronous or all asynchronous." - - - - - A string like "The WriteError and WriteErrorAsync methods on ODataMessageWriter cannot be called when a batch is being written by using ODataBatchWriter. In OData, writing an in-stream error for a batch payload is not supported." - - - - - A string like "An attempt to change the properties of the message or to retrieve the payload stream for the message has failed. Either the payload stream has already been requested or the processing of the message has been completed. In both cases, no more changes can be made to the message." - - - - - A string like "Cannot access a closed stream." - - - - - A string like "When reading a batch response, you cannot create a batch operation request message." - - - - - A string like "When reading a batch request, you cannot create a batch operation response message." - - - - - A string like "A request message for the operation has already been created. You cannot create a request message for the same operation multiple times." - - - - - A string like "A response message for the operation has already been created. You cannot create a response message for the same operation multiple times." - - - - - A string like "You cannot use a batch reader while the stream for the content of an operation is still active. You must first dispose the operation stream before further calls to the batch reader are made." - - - - - A string like "A synchronous operation was called on an asynchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous batch reader. Calls on a batch reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An operation was detected, but no message was created for it. You must create a message for every operation found in a batch or change set." - - - - - A string like "The 'Content-Type' header is missing. The 'Content-Type' header must be specified for each MIME part of a batch message." - - - - - A string like "Nested change sets in a batch payload are not supported." - - - - - A string like "Encountered an unexpected end of input while reading the batch payload." - - - - - A string like "The MIME type is missing a parameter name for a parameter definition." - - - - - A string like "The value for the Content-Type header is missing." - - - - - A string like "An IEdmTypeReference must be provided with a matching IEdmModel. No model was provided." - - - - - A string like "A built-in model was detected when trying to save annotations. Annotations can only be saved to a user-defined model." - - - - - A string like "An invalid enum value was specified for the version number." - - - - - A string like "The MIME type annotation must not have a null value." - - - - - A string like "The HTTP method annotation must not have a null value." - - - - - A string like "The 'IsAlwaysBindable' annotation cannot be set to 'true' for a non-bindable function import." - - - - - A string like "The 'IsAlwaysBindable' annotation was found with a 'true' value in a non-bindable function import. The 'IsAlwaysBindable' annotation cannot be 'true' for a non-bindable function import." - - - - - A string like "No URI value was found for an entity reference link. A single URI value was expected." - - - - - A string like "A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value." - - - - - A string like "An entry without a type name was found, but no expected type was specified. To allow entries without type information, the expected type must also be specified when the model is specified." - - - - - A string like "The ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds is not set to ODataUndeclaredPropertyBehaviorKinds.None. When reading request payloads, the ODataMessageReaderSettings.UndeclaredPropertyBehaviorKinds property must be set to ODataUndeclaredPropertyBehaviorKinds.None; other values are not supported." - - - - - A string like "The ODataMessageReader has already been used to read a message payload. An ODataMessageReader can only be used once to read a payload for a given message." - - - - - A string like "A top-level error cannot be read from request payloads. Top-level errors are only supported in responses." - - - - - A string like "A service document cannot be read from request payloads. Service documents are only supported in responses." - - - - - A string like "A metadata document cannot be read from request payloads. Metadata documents are only supported in responses." - - - - - A string like "The expected type for property reading is of entity collection kind. Top-level properties can only be of primitive, complex, primitive collection or complex collection kind." - - - - - A string like "The expected type for property reading is of entity kind. Top-level properties cannot be of entity type." - - - - - A string like "The expected type for property reading is Edm.Stream. Top-level properties cannot be of stream type." - - - - - A string like "A missing or empty content type header was found when trying to read a message. The content type header is required." - - - - - A string like "Top-level entity reference link collection payloads are not allowed in requests." - - - - - A string like "GetFormat was called before reading was started. GetFormat can only be called after a read method was called or a reader was created." - - - - - A string like "DetectPayloadKind or DetectPayloadKindAsync was called more than once; DetectPayloadKind or DetectPayloadKindAsync can only be called once." - - - - - A string like "Payload kind detection has not completed. Read or create methods cannot be called on the ODataMessageReader before payload kind detection is complete." - - - - - A string like "The ODataMessageReader is using the server behavior for WCF Data Services, as specified in its settings. Payload kind detection is not supported when using the WCF Data services server behavior." - - - - - A string like "A parameter payload cannot be read from a response payload. Parameter payloads are only supported in requests." - - - - - A string like "An attempt was made to modify the message. The message cannot be modified." - - - - - A string like "A synchronous operation was called on an asynchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous reader. Calls on a reader instance must be either all synchronous or all asynchronous." - - - - - A string like "Parsing JSON feeds or entries without model is not supported." - - - - - A string like "Primitive values of type 'Edm.Decimal' and 'Edm.Int64' must be quoted in the payload. Make sure the value is quoted." - - - - - A string like "The top-level data wrapper object does not have a property 'd'. In JSON responses, a top-level data wrapper object with a 'd' property is expected." - - - - - A string like "Multiple 'd' properties were found in the top-level data wrapper object. In JSON, the top-level data wrapper object is expected to have a single 'd' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping a collection in protocol version 2.0 and greater." - - - - - A string like "Multiple 'results' properties were found for a collection. In OData, a collection cannot have more than one 'results' property." - - - - - A string like "Did not find the required 'results' property on the object wrapping an entity reference link in protocol version 2.0 and greater." - - - - - A string like "Multiple 'uri' properties were found in an entity reference link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of an entity reference link object cannot have a null value." - - - - - A string like "Did not find the required 'results' property on the object wrapping a feed." - - - - - A string like "Multiple '__metadata' properties were found in an entry. In OData, an entry can only contain one '__metadata' property." - - - - - A string like "Multiple 'uri' properties were found in the deferred link object; however, a single 'uri' property was expected." - - - - - A string like "The 'uri' property of a deferred link object cannot have a null value." - - - - - A string like "The 'uri' property was not found in a deferred link object. A single 'uri' property is expected." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "Found multiple 'results' properties in the object wrapping a feed in protocol version 2.0 and greater. In OData, the feed wrapping object can only contain a single 'results' property." - - - - - A string like "Could not parse an expected stream reference value. In OData, a stream reference value must be a JSON object with a single property called '__mediaresource'." - - - - - A string like "A stream property was found in a JSON request payload. Stream properties are only supported in responses." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the entire payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "Parsing a JSON top-level property without a model is not supported." - - - - - A string like "Either zero or more than one top-level properties were found. A top-level property must be represented as a JSON object with exactly one property." - - - - - A string like "Multiple '__metadata' properties were found in a complex value. In OData, a complex value can only have one '__metadata' property." - - - - - A string like "A collection was found without the 'results' property. In OData, each collection must be represented as a JSON object with a property 'results'." - - - - - A string like "Multiple 'EntitySets' properties were found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "No 'EntitySets' property was found for a service document. In OData, a service document must have exactly one 'EntitySets' property." - - - - - A string like "A synchronous operation was called on an asynchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous collection reader. All calls on a collection reader instance must be either synchronous or asynchronous." - - - - - A string like "A synchronous operation was called on an asynchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "An asynchronous operation was called on a synchronous parameter reader. All calls on a parameter reader instance must be either synchronous or asynchronous." - - - - - A string like "Parsing JSON collections without model is not supported." - - - - - A string like "The 'Name' property on an ODataAssociationLink must be set to a non-empty string." - - - - - A string like "The 'Url' property on an ODataAssociationLink must be set to a non-null value that represents the association or associations the link references." - - - - - A string like "An empty type name was found; the name of a type cannot be an empty string." - - - - - A string like "The 'Url' property on a resource collection must be set to a non-null value." - - - - - A string like "A resource collection without a Url was detected; a resource collection must have a non-null Url value." - - - - - A string like "A null value was detected in the items of a collection property value; non-streaming instances of collection types do not support null values as items." - - - - - A string like "The 'Name' property on an ODataNavigationLink must be set to a non-empty string." - - - - - A string like "Nested collection instances are not allowed." - - - - - A string like "An ODataStreamReferenceValue item was found in a collection property value, which is not allowed. Collection properties can only have primitive and complex values as items." - - - - - A string like "A null value was detected when enumerating the collections in a workspace. Workspace collections cannot be null." - - - - - A string like "An ODataFeed without an ID was detected; in OData, a Feed must have a non-null, non-empty ID value." - - - - - A string like "The 'ODataEntry.Properties' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "An ODataProperty instance without a name was detected; an ODataProperty must have a non-null, non-empty name." - - - - - A string like "No TypeName was found for an ODataComplexValue of an open property, ODataEntry or custom instance annotation, even though metadata was specified. If a model is passed to the writer, each complex value on an open property, entry or custom instance annotation must have a type name." - - - - - A string like "The ODataFeed.NextPageLink must be null for request payloads. A next link is only supported in responses." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ContentType' property but without a ReadLink value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "A default stream ODataStreamReferenceValue was detected with a 'ReadLink' property but without a ContentType value. In OData, a default stream must either have both a content type and a read link, or neither of them." - - - - - A string like "An ODataStreamReferenceValue was detected with null values for both EditLink and ReadLink. In OData, a stream resource must have at least an edit link or a read link." - - - - - A string like "An ODataStreamReferenceValue was detected with an ETag but without an edit link. In OData, a stream resource must have an edit link to have an ETag." - - - - - A string like "An ODataStreamReferenceValue was detected with an empty string 'ContentType' property. In OData, a stream resource must either have a non-empty content type or it must be null." - - - - - A string like "An entry with an empty ID value was detected. In OData, an entry must either a non-empty ID value or no ID value." - - - - - A string like "An ODataEntityReferenceLink with a null Url was detected; an ODataEntityReferenceLink must have a non-null Url." - - - - - A string like "The 'ODataEntityReferenceLinks.Links' enumerable contains a null item. This enumerable cannot contain null items." - - - - - A string like "A JSON Padding function was specified on ODataMessageWriterSettings when trying to write a request message. JSON Padding is only for writing responses." - - - - - A string like "An Atom entry can be either a regular entry or a media link entry (MLE). This means that there cannot be data in both the {http://www.w3.org/2005/Atom}:content element, which indicates a regular entry, and the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:properties element, which indicates an MLE. " - - - - - A string like "An expanded feed was found in a navigation link of type entry; however, only an expanded entry can occur in a navigation link of type entry." - - - - - A string like "An expanded entry was found in a navigation link of type feed; however, only an expanded feed can occur in a navigation link of type feed." - - - - - A string like "A deferred entry was found in a navigation link of type feed; however, only a deferred feed can occur in a navigation link of type feed." - - - - - A string like "The entryXmlCustomizationCallback set in ODataMessageReaderSettings.EnableWcfDataServicesClientBehavior can never return the same XmlReader instance that was provided in its parameter." - - - - - A string like "Found a value with type name ''. Type name cannot be an empty string." - - - - - A string like "The root element of the collection cannot contain the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:type attribute or the {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:null attribute." - - - - - A string like "Only collection properties that contain primitive types or complex types are supported." - - - - - A string like "The element {http://www.w3.org/2005/Atom}:content has non-empty content, and it has an attribute with name 'src'. When the {http://www.w3.org/2005/Atom}:content element has the 'src' attribute, it cannot also have content." - - - - - A string like "Multiple {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline elements were found in a {http://www.w3.org/2005/Atom}:link element. Each {http://www.w3.org/2005/Atom}:link element can contain no more than one {http://schemas.microsoft.com/ado/2007/08/dataservices/metadata}:inline child element." - - - - - A string like "Found a stream property link with empty name. In OData, a stream property must have a non-empty name." - - - - - A string like "Encountered an 'annotation' element inside a nested feed. Annotations are not currently supported for nested feeds." - - - - - A string like "Encountered a 'Delta Link' element inside a nested feed. Delta Links are not supported for nested feeds." - - - - - A string like "The service document is missing the 'workspace' element. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'workspace' elements were found inside the service document. A service document must contain a single {http://www.w3.org/2007/app}:workspace element." - - - - - A string like "Multiple 'accept' elements were found inside a 'collection' element. A 'collection' element can only contain a single {http://www.w3.org/2007/app}:accept element." - - - - - A string like "The ODataMessageReaderSettings used to read a JSON Light payload do not specify a metadata document URI. For reading JSON Light payloads a metadata document URI is required." - - - - - A string like "ODataMessageReader.DetectPayloadKind was called for a request payload. Payload kind detection is only supported for responses in JSON Light." - - - - - A string like "Parsing JSON Light feeds or entries in requests without entity set is not supported. Pass in the entity set as a parameter to ODataMessageReader.CreateODataEntryReader or ODataMessageReader.CreateODataFeedReader method." - - - - - A string like "An attempt to read a collection request payload without specifying a producing function import or collection item type was detected. When reading collection payloads in requests, a producing function import or expected item type has to be provided." - - - - - A string like "An attempt to read an entity reference link in a request without specifying a navigation property was detected. When reading entity reference link payloads in requests, a navigation property has to be provided." - - - - - A string like "Parsing JSON Light payloads without a model is only supported for error payloads." - - - - - A string like "The 'BaseUri' on the 'ODataMessageReaderSettings' must be set to a non-null absolute URI to read JSON Light format." - - - - - A string like "An attempt to read a collection request payload without specifying a collection item type was detected. When reading collection payloads in requests, an expected item type has to be provided." - - - - - A string like "In JSON the item type must be specified when creating a collection writer." - - - - - A string like "The required instance annotation 'odata.metadata' was not found at the beginning of a response payload." - - - - - A string like "An attempt to write an entity reference link inside a navigation link after a feed has been written inside the same navigation link in a request was detected. In JSON Light requests, all entity reference links inside a navigation link have to be written before all feeds inside the same navigation link." - - - - - A string like "The ODataFeed.InstanceAnnotations collection must be empty for expanded feeds. Custom instance annotations are not supported on expanded feeds." - - - - - A string like "The ODataMessageWriterSettings used to write a JSON Light payload do not specify a metadata document URI. For writing JSON Light payloads a metadata document URI is required." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a complex value. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Neither an expected type nor a type name in the OData object model was provided for a collection property. When writing a request payload, either an expected type or a type name has to be specified." - - - - - A string like "Found a resource collection without a name. When writing a service document in JSON Light, the Name property of a resource collection must not be null or empty." - - - - - A string like "When writing a JSON response, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataFeedAndEntrySerializationInfo must be set on the ODataEntry or ODataFeed that is being writen." - - - - - A string like "When writing a JSON response in full metadata mode with ODataMessageWriterSettings.AutoComputePayloadMetadataInJson set to true, a user model must be specified and the entity set and entity type must be passed to the ODataMessageWriter.CreateEntryWriter method or the ODataEntry.TypeName must be set." - - - - - A string like "The collection type name for the top level collection is unknown. When writing a JSON response, the item type must be passed to the ODataMessageWriter.CreateCollectionWriter method or the ODataCollectionStartSerializationInfo must be set on the ODataCollectionStart." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLink method or the ODataEntityReferenceLinkSerializationInfo must be set on the ODataEntityReferenceLink." - - - - - A string like "The entity set name or navigation property name for the top level entity reference link collection is unknown. When writing a JSON response, the entity set and navigation property must be passed to the ODataMessageWriter.WriteEntityReferenceLinks method or the ODataEntityReferenceLinksSerializationInfo must be set on the ODataEntityReferenceLinks." - - - - - A string like "No top-level properties were found. A top-level property or collection in JSON Light must be represented as a JSON object with exactly one property which is not an annotation." - - - - - A string like "The 'odata.type' instance annotation in a complex object is not the first property of the object. In OData, the 'odata.type' instance annotation must be the first property of the complex object." - - - - - A string like "The value specified for the spatial property was not valid. You must specify a valid spatial value." - - - - - A string like "A null metadata URI was found in the payload. Metadata URIs must not be null." - - - - - A string like "No model was specified for the ODataMessageReader. A message reader requires a model for JSON Light payload to be specified in the ODataMessageReader constructor." - - - - - A string like "The IODataJsonLightModelResolver or IODataJsonLightModelResolverAsync returned a null or a core model. The model resolver must return a valid user model." - - - - - A string like "The 'odata.type' instance annotation in an entry object is preceded by an invalid property. In OData, the 'odata.type' instance annotation must be either the first property in the JSON object or the second if the 'odata.metadata' instance annotation is present." - - - - - A string like "A property annotation was found for a top-level feed; however, top-level feeds only support instance annotations." - - - - - A string like "A stream property was found in a JSON Light request payload. Stream properties are only supported in responses." - - - - - A string like "A 'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property; however, a 'StartArray' node, a 'StartObject' node, or a 'PrimitiveValue' node with null value was expected." - - - - - A string like "An annotation group with a null or empty name was found for an entry. In OData, annotation groups must have a non-null, non-empty name that is unique across the whole payload." - - - - - A string like "A JSON Light annotation group was detected when writing a request payload. In OData, JSON Light annotation groups are only supported in responses." - - - - - A string like "A metadata reference property was found in a JSON Light request payload. Metadata reference properties are only supported in responses." - - - - - A string like "An annotation group was found at an unexpected position in the payload. Annotation groups must be the first property of the object they are annotating and may not be nested." - - - - - A string like "Encountered an entry with a type defined in an annotation group and in the entry body. The type of an entry may only be specified once." - - - - - A string like "A property annotation was found for entity reference links; however, entity reference links only support instance annotations." - - - - - A string like "An OData property annotation was found for a parameter payload; however, parameter payloads do not support OData property annotations." - - - - - A string like "When parsing a select clause a '*' segment was found before last segment of a property path. In OData, a '*' segment can only appear as last segment of a property path." - - - - - A string like "When parsing a select clause a '*' segment was found immediately after a type segment in a property path. In OData, a '*' segment cannot appear following a type segment." - - - - - A string like "Encountered an annotation group declaration for which there was no 'name' property. All annotation group declarations must specify a non-empty name in the 'name' property." - - - - - A string like "Encountered multiple 'name' properties within a single annotation group declaration. An annotation group must contain exactly one 'name' property." - - - - - A string like "Cannot create an ODataPrimitiveValue from null; use ODataNullValue instead." - - - - - A string like "An InstanceAnnotationCollection was set on an object other than ODataError. Currently, instance annotations are only supported on ODataError." - - - - - A string like "The value of an instance annotation cannot be of type ODataStreamReferenceValue." - - - - - A string like "A type name was not provided for an instance of ODataComplexValue." - - - - - A string like "A type name was not provided for an instance of ODataCollectionValue." - - - - - A string like "Encountered an 'annotation' element without a 'term' attribute. All 'annotation' elements must have a 'term' attribute." - - - - - A string like "Encountered an 'annotation' element with more than one attribute from following set: 'int', 'string', 'decimal', 'float', and 'bool'. Only one such attribute may appear on an 'annotation' element." - - - - - A string like "If ODataMessageWriterSettings.AutoComputePayloadMetadataInJson is set to true, the entity set must be specified when writing JSON with full metadata." - - - - - A string like "Setting a metadata annotation on a primitive type is not supported." - - - - - A string like "The maximum depth setting must be a number greater than zero." - - - - - A string like "Recursion depth exceeded allowed limit." - - - - - A string like "Invalid to redefine visitor in nested Any/All queries." - - - - - A string like "Bad Request: there was an error in the query syntax." - - - - - A string like "Too many segments in URI." - - - - - A string like "Inner or start path segments must be navigation properties in $select." - - - - - A string like "Found a non-path property in a select token." - - - - - A string like "Cannot construct an ExpandItem from a navigation property whose type is not an entity." - - - - - A string like "An unsupported extension query token was found." - - - - - A string like "The $filter expression must evaluate to a single boolean value." - - - - - A string like "The $orderby expression must evaluate to a single value of primitive type." - - - - - A string like "A PropertyAccessQueryToken without a parent was encountered outside of $filter or $orderby expression. The PropertyAccessQueryToken without a parent token is only allowed inside $filter or $orderby expressions." - - - - - A string like "Found a Built in function without a Function Signature." - - - - - A string like "Encountered Root segment in non-root location." - - - - - A string like "A segment without an associated type was given as input." - - - - - A string like "Any/All may only be used following a collection." - - - - - A string like "The navigation property must not be null." - - - - - A string like "A navigation property can only follow single entity nodes." - - - - - A string like "The Any/All query expression must evaluate to a single boolean value." - - - - - A string like "Cast or IsOf Function must have a type in its arguments." - - - - - A string like "The Cast and IsOf functions do not support collection arguments or types." - - - - - A string like "The geo.length function was called with a non-single-value operand." - - - - - A string like "The geo.length function was called with a non-LineString operand." - - - - - A string like "The geo.intersects function was called with a non-single-value operand." - - - - - A string like "The geo.intersects function was called with invalid arg types." - - - - - A string like "Type argument with an invalid type name." - - - - - A string like "Collection open properties are not supported in this release." - - - - - A string like "Parameter names must be unique. There is most likely an error in the model." - - - - - A string like "Found a property token that isn't a path in the select syntactic tree." - - - - - A string like "Any selection that is expanded must have the same type qualifier on both selection and expansion." - - - - - A string like "Cannot delete selection items from an AllSelection, please create the SelectExpandClause with a Partial Selection instead." - - - - - A string like "Links segments must always be followed by a navigation property." - - - - - A string like "Trying to traverse a non-normalized expand tree." - - - - - A string like "Found a path within a select or expand query option that isn't ended by a non-type segment." - - - - - A string like "Trying to parse a type segment path that is too long." - - - - - A string like "The navigation property must have a target multiplicity of 'One' or 'ZeroOrOne' to create a SingleNavigationNode." - - - - - A string like "The navigation property must have a target multiplicity of 'Many' to create a CollectionNavigationNode." - - - - - A string like "Only static Entity Set reference expressions are supported currently." - - - - - A string like "An instance of CollectionFunctionCallNode can only be created with a primitive or complex collection type. For functions returning a collection of entities, use EntityCollectionFunctionCallNode instead." - - - - - A string like "An instance of EntityCollectionFunctionCallNode can only be created with an entity collection type. For functions returning a collection of primitive or complex values, use CollectionFunctionCallNode instead." - - - - - A string like "Only call AddTerms on ExpandTermTokens that have already been expanded by ExpandTerm." - - - - - A string like "Found a segment that isn't a path while parsing the path within a select or expand query option." - - - - - A string like "A service root URI must be provided to the ODataUriParser in order to use this method." - - - - - A string like "The limit must be greater than or equal to zero" - - - - - A string like "Functions are not supported in this version. Only Actions and Service Operations are supported." - - - - - A string like "$value cannot be applied to a collection." - - - - - A string like "A feed may contain a next page link, a delta link or neither, but must not contain both." - - - - - A string like "The last segment, and only the last segment, must be a navigation property in $expand." - - - - - A string like "The last segment in a $select cannot be a TypeSegment." - - - - - A string like "An operation can only be the last segment in $select." - - - - - A string like "A navigation property can only be the last segment in $select." - - - - - A string like "No type could be computed for this Segment since there were multiple possible operations with varying return types." - - - - - A string like "The return type from the operation is not possible with the given entity set." - - - - - A string like "Please construct this SingleValueFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Please construct this SingleEntityFunctionCallNode using the IEnumerable<IEdmFunctionImport> overload before accessing FunctionImports." - - - - - A string like "Calling the wrong overload to convert named values to type." - - - - - A string like "Cannot use a non-primitive type as a parameter." - - - - - A string like "Calling the wrong overload to convert positional values to type." - - - - - A string like "Empty segment encountered in request URL. Please make sure that a valid request URL is specified." - - - - - A string like "Bad Request - Error in query syntax." - - - - - A string like "The request URI is not valid, the segment $count cannot be applied to the root of the service." - - - - - A string like "$value must not be specified for spatial values." - - - - - A string like "Error processing request stream. In batch mode, a resource can be cross-referenced only for bind/unbind operations. " - - - - - A string like "Segments with multiple key values must specify them in 'name=value' form." - - - - - A string like "Forbidden" - - - - - A string like "Found an operation bound to a non-entity type." - - - - - A string like "Value cannot be null or empty." - - - - - A string like "Found an unbalanced bracket expression." - - - - - A string like "Invalid JSON. More than one value was found at the root of the JSON content. JSON content can only have one value at the root level, which is an array, an object or a primitive value." - - - - - A string like "Invalid JSON. Unexpected end of input was found in JSON content. Not all object and array scopes were closed." - - - - - A string like "Invalid JSON. A token was not recognized in the JSON content." - - - - - A string like "Invalid JSON. Unexpected end of input reached while processing a JSON string value." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/de/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/de/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 8060aa5f7..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/de/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/es/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/es/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 1797acab1..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/es/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/fr/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/fr/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 9dea183c3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/fr/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/it/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/it/Microsoft.Data.OData.resources.dll deleted file mode 100644 index e689aeb9e..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/it/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ja/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ja/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 9a7b0b9da..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ja/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ko/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ko/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 1c41c88a9..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ko/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ru/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ru/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 715ef13b4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/ru/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.OData.resources.dll deleted file mode 100644 index efb66d4aa..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.OData.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.OData.resources.dll deleted file mode 100644 index 4c2d979ab..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.OData.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.OData.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/Microsoft.Data.Services.Client.5.6.4.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/Microsoft.Data.Services.Client.5.6.4.nupkg deleted file mode 100644 index 09409e031..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/Microsoft.Data.Services.Client.5.6.4.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/Microsoft.Data.Services.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/Microsoft.Data.Services.Client.dll deleted file mode 100644 index 28679b958..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/Microsoft.Data.Services.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/Microsoft.Data.Services.Client.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/Microsoft.Data.Services.Client.xml deleted file mode 100644 index 3cd4be3b6..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/Microsoft.Data.Services.Client.xml +++ /dev/null @@ -1,22299 +0,0 @@ - - - - Microsoft.Data.Services.Client - - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Tries to convert the given value if it is of a type specific to the client library but still able to be mapped to EDM. - - The value to convert. - The expected type of the value or null. - The converted value, if conversion was possible. - Whether or not conversion was possible. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Common defintions and functions for ALL product assemblies - - - Common defintions and functions for the server and client lib - - - - Type of OutOfMemoryException. - - - Type of StackOverflowException. - - - Type of ThreadAbortException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - List of types unsupported by the client - - - - - Test whether a type is unsupported by the client lib - - The type to test - Returns true if the type is not supported - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't be recognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - If the type name is not recognized as a collection it will be eventually passed to type resolver if it is not a known primitive type. - - - - - Convert the DataServiceProtocolVersion to ODataVersion. - - DataServiceProtocolVersion value to convert. - an ODataVersion value for the given DataServiceProtocolVersion value. - - - - Converts the given version instance to ODataVersion enum. - - Version instance containing the response payload. - ODataVersion enum value for the given version. - - - - Gets the type name (without namespace) of the specified , - appropriate as an externally-visible type name. - - Type to get name for. - The type name for . - - - - Gets the type namespace of the specified , - appropriate as an externally-visible type name. - - Type to get namespace for. - The namespace for . - - - Tries to read a WCF Data Service version string. - Text to read. - Parsed version and trailing text. - true if the version was read successfully; false otherwise. - - - - Set the message quota limits for WCF Data services server. - - Instance of ODataMessageQuotas. - - - Provides helper methods for processing HTTP requests. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - Reads a Content-Type header and extracts the MIME type/subtype. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - parameters of content type - - - Builds a Content-Type given the mime type and all the parameters. - The MIME type in standard type/subtype form, without parameters. - Parameters to be appended in the mime type. - content type containing the mime type and all the parameters. - - - Reads a Content-Type header and extracts the MIME type/subtype and encoding. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - Encoding (possibly null). - parameters of content type - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Reads the type and subtype specifications for a MIME type. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - Reads a media type definition as used in a Content-Type header. - Text to read. - The defined by the specified - All syntactic errors will produce a 400 - Bad Request status code. - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - - - - Reads Mime type parameter value for a particular parameter in the Content-Type/Accept headers. - - Name of parameter. - Header text. - Parsing index in . - String representing the value of the parameter. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Class to store media parameter information. - - - - Creates a new instance of MediaParameter. - - Name of the parameter. - Value of the parameter. - True if the value of the parameter is quoted, otherwise false. - - - - Gets the original value of the parameter. - - the original value of the parameter. - - - Gets the name of the parameter. - - - Value of the parameter. - - - true if the value is quoted, otherwise false. - - - Use this class to represent a media type definition. - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - Returns the MIME type in standard type/subtype form, without parameters. - - - media type parameters - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmComplexTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets the properties declared immediately within this type. - - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmEntityTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets or sets the structural properties of the entity type that make up the entity key. - - - - - Gets the properties declared immediately within this type. - - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that contains all the constants for various schemas. - - - - "InitializeService" method name for service initialize. - - - id of the corresponding body - - - byte-length of the corresponding body - - - mime-type of the corresponding body - - - content disposition of the response (a hint how to handle the response) - - - 'DataServiceVersion' - HTTP header name for data service version. - - - 'MaxDataServiceVersion' - HTTP header name for maximum understood data service version. - - - - 'Prefer' - HTTP request header name for client preferences. - Refer to: http://tools.ietf.org/id/draft-snell-http-prefer-02.txt for details. - - - - Return no content Prefer header hint value. - - - Return content Prefer header hint value. - - - 'no-cache' - HTTP value for Cache-Control header. - - - 'charset' - HTTP parameter name. - - - HTTP method name for GET requests. - - - HTTP method name for POST requests. - - - Http Put Method name - basically used for updating resource. - - - HTTP method name for delete requests. - - - HTTP method name for MERGE requests. - - - HTTP method name for PATCH requests. - - - HTTP query string parameter value for expand. - - - HTTP query string parameter value for filtering. - - - HTTP query string parameter value for ordering. - - - HTTP query string parameter value for skipping elements. - - - HTTP query string parameter value for limiting the number of elements. - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for skipping results based on paging. - - - Property prefix for the skip token property in expanded results for a skip token - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for projection. - - - HTTP query string parameter for specifying the requested content-type of the response. - - - HTTP query string parameter for specifying the a callback function name for JSONP (JSON padding). - - - 'q' - HTTP q-value parameter name. - - - 'X-HTTP-Method' - HTTP header name for requests that want to tunnel a method through POST. - - - HTTP name for Accept header - - - HTTP name for Accept-Charset header - - - HTTP name for If-Match header - - - HTTP name for If-None-Match header - - - HTTP name for User-Agent header - - - multi-part keyword in content-type to identify batch separator - - - 'X-Content-Type-Options' - HTTP header for Internet Explorer 8 and 9 to specify options for content-type handling. - - - An 'X-Content-Type-Options' HTTP header argument to instruct IE8/9 not to sniff the content and instead display it according to the content-type header. - - - multi-part mixed batch separator - - - multi-part mixed changeset separator - - - 'Allow' - HTTP response header for allowed verbs. - - - HTTP name for Cache-Control header. - - - HTTP name for ETag header - - - HTTP name for location header - - - HTTP name for DataServiceId header - - - HTTP name for Status-Code header - - - multi-part mixed batch separator for response stream - - - multi-part mixed changeset separator - - - Content-Transfer-Encoding header for batch requests. - - - Http Version in batching requests and response. - - - To checks if the resource exists or not. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The mime type that client wants the response to be in. - - - The character set the client wants the response to be in. - - - The name of the Cookie HTTP header - - - The Slug header name. Used by ATOM to hint the server on which MR is being POSTed. - - - MIME type for requesting any media type. - - - MIME type general binary bodies (http://www.iana.org/assignments/media-types/application/). - - - 'application' - MIME type for application types. - - - 'json' - constant for MIME JSON subtypes. - - - 'xml' - constant for MIME xml subtypes. - - - 'odata' - parameter name for JSON MIME types. - - - MIME type for changeset multipart/mixed - - - MIME type for plain text bodies. - - - 'text' - MIME type for text subtypes. - - - MIME type for XML bodies (deprecated). - - - Content-Transfer-Encoding value for batch requests. - - - Default encoding used for writing textual media link entries - - - A prefix that turns an absolute-path URI into an absolute-URI. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates that this is a link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A const value for the query parameter $inlinecount to set counting mode to inline - - - A const value for the query parameter $inlinecount to set counting mode to none - - - Uri method name for Enumerable.Any(). - - - Uri method name for Enumerable.All(). - - - Implicit parameter "it" used for Queryable.Where lambda. - - - "Binary" - WCF element name for binary content in XML-wrapping streams. - - - Schema Namespace prefix for atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - 'author' - XML element name for ATOM 'author' element for entries. - - - 'contributor' - XML element name for ATOM 'author' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - XML element name to mark link element in Atom. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - XML element name to mark id element in Atom. - - - XML element name to mark link relation attribute in Atom. - - - Atom attribute that indicates the actual location for an entry's content. - - - XML element string for "next" links: [atom:link rel="next"] - - - Type of content for syndication property which can be one of Plaintext, Html or XHtml - - - Whether to keep the property value in the content section - - - TargetNamespace prefix for non-syndication mapping - - - TargetNamespace URI for non-syndication mapping - - - Target element or attribute name - - - Source property name - - - author/email - - - author/name - - - author/uri - - - published - - - rights - - - summary - - - title - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - contributor/email - - - contributor/name - - - contributor/uri - - - updated - - - Plaintext - - - HTML - - - XHTML - - - XML element name to mark href attribute element in Atom. - - - XML attribute name to mark the hreflang attribute in Atom. - - - XML element name to mark summary element in Atom. - - - XML element name to mark author/name or contributor/name element in Atom. - - - XML element name to mark author/email or contributor/email element in Atom. - - - XML element name to mark author/uri or contributor/uri element in Atom. - - - XML element name to mark published element in Atom. - - - XML element name to mark rights element in Atom. - - - XML element name to mark 'collection' element in APP. - - - XML element name to mark 'service' element in APP. - - - XML value for a default workspace in APP. - - - XML element name to mark 'workspace' element in APP. - - - XML element name to mark title element in Atom. - - - XML attribute name to specify the type of the element. - - - Atom link relation attribute value for self links. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for edit-media links. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom attribute which indicates the null value for the element. - - - Atom attribute which indicates the etag value for the declaring entry element. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element containing property values when 'content' is used for media link entries - - - 'count' element - - - 'element', the XML element name for items in enumerations. - - - XML element name for an error. - - - XML element name for an error code. - - - XML element name for the inner error details. - - - XML element name for an internal exception. - - - XML element name for an exception type. - - - XML element name for an exception stack trace. - - - XML element name for an error message. - - - 'false' literal, as used in XML. - - - 'true' literal, as used in XML. - - - XML attribute value to indicate the base URI for a document or element. - - - 'lang' XML attribute name for annotation language. - - - XML attribute name for whitespace parsing control. - - - XML attribute value to indicate whitespace should be preserved. - - - XML attribute name to pass to the XMLReader.GetValue API to get the xml:base attribute value. - - - Schema Namespace For Edm. - - - Schema Namespace For Edm 1.1. - - - Schema Namespace For Edm 1.2. - - - XML namespace for annotations in EDM such as 'StoreGeneratedPattern' - - - XML namespace for data services. - - - XML namespace for data service annotations. - - - XML namespace for data service links. - - - XML namespace for data service related $links. - - - XML namespace for data service named media resources. - - - XML namespace for data service edit-media link for named media resources. - - - ATOM Scheme Namespace For DataWeb. - - - Schema Namespace for Atom Publishing Protocol. - - - Schema Namespace For Atom. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - Schema Namespace Prefix For DataWeb. - - - 'adsm' - namespace prefix for DataWebMetadataNamespace. - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Edmx namespace in metadata document. - - - Prefix for Edmx Namespace in metadata document. - - - IANA link relations namespace. - - - The empty namespace. - - - Association Element Name in csdl. - - - AssociationSet Element Name in csdl. - - - ComplexType Element Name in csdl. - - - Dependent Element Name in csdl. - - - The name of the EDM collection type. - - - - Attribute name used to indicate the real type of an EDM property or parameter, in cases where it needs to be different - from the Type attribute of the Property or Parameter element. This is used to support collection types and binary keys, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing properties that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - TypeRef element name in CSDL document. - - - EntitySet attribute name in CSDL documents. - - - EntitySetPath attribute name in CSDL documents. - - - ExtensionMethod attribute name in CSDL documents. - - - Composable attribute name in CSDL documents. - - - SideEffecting attribute name in CSDL documents. - - - FunctionImport element name in CSDL documents. - - - Mode attribute name in CSDL documents. - - - Mode attribute value for 'in' direction in CSDL documents. - - - Parameter element name in CSDL documents. - - - ReturnType attribute name in CSDL documents. - - - - Attribute name used to indicate the real type of an EDM function import return type, in cases where it needs to be different - from the ReturnType attribute of the function import element. This is used to support special primitive types, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing function imports that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - End Element Name in csdl. - - - EntityType Element Name in csdl. - - - EntityContainer Element Name in csdl. - - - Key Element Name in csdl. - - - NavigationProperty Element Name in csdl. - - - OnDelete Element Name in csdl. - - - Principal Element Name in csdl. - - - Property Element Name in csdl. - - - PropetyRef Element Name in csdl. - - - ReferentialConstraint Element Name in csdl. - - - Role Element Name in csdl. - - - Schema Element Name in csdl. - - - Edmx Element Name in the metadata document. - - - Edmx DataServices Element Name in the metadata document. - - - Version attribute for the root Edmx Element in the metadata document. - - - Value of the version attribute in the root edmx element in metadata document. - - - Element name for m:action. - - - Element name for m:function - - - maps to m:action|m:function\@metadata - - - maps to m:action|m:function\@target - - - maps to m:action|m:function\@title - - - BaseType attribute Name in csdl. - - - EntitySet attribute and Element Name in csdl. - - - EntitySetPath attribute and Element Name in csdl. - - - FromRole attribute Name in csdl. - - - Abstract attribute Name in csdl. - - - Multiplicity attribute Name in csdl. - - - Name attribute Name in csdl. - - - Namespace attribute Element Name in csdl. - - - ToRole attribute Name in csdl. - - - Type attribute Name in csdl. - - - Relationship attribute Name in csdl. - - - Using element Name in csdl. - - - Value for Many multiplicity in csdl. - - - Value for One multiplicity in csdl. - - - Value for ZeroOrOne multiplicity in csdl. - - - Nullable facet name in CSDL. - - - The attribute name of the 'Precision' facet. - - - The attribute name of the 'Scale' facet. - - - The attribute name of the 'MaxLength' facet. - - - The attribute name of the 'FixedLength' facet. - - - The attribute name of the 'Unicode' facet. - - - The attribute name of the 'Collation' facet. - - - The attribute name of the 'SRID' facet. - - - Name of the concurrency attribute. - - - Name of the default value attribute. - - - The special value for the 'MaxLength' facet to indicate that it has the max length. - - - The attribute name of the 'StoreGeneratedPattern' annotation - - - The 'Computed' value for the 'StoreGeneratedPattern' annotation - - - The 'Identity' value for the 'StoreGeneratedPattern' annotation - - - 'MimeType' - attribute name for property MIME type attributes. - - - 'OpenType' - attribute name to indicate a type is an OpenType property. - - - 'HasStream' - attribute name to indicate a type has a default stream property. - - - 'true' - attribute value to indicate a type has a default stream property. - - - Attribute to indicate whether this is a default entity container or not. - - - Attribute name in the csdl to indicate whether the service operation must be called using POST or GET verb. - - - uri element name for link bind/unbind operations - - - next element name for link paging - - - XML element name for writing out collection of links. - - - JSON property name for an error. - - - JSON property name for an error code. - - - JSON property name for the inner error details. - - - JSON property name for an internal exception. - - - JSON property name for an error message. - - - JSON property name for an exception stack trace. - - - JSON property name for an exception type. - - - JSON property name for an error message value. - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - edm stream primitive type name - - - edm string indicating that the value may be collection. - - - Edm Geography type name - - - Edm Geodetic point type name - - - Edm Geodetic linestring type name - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - edm string primitive type name - - - edm string primitive type name - - - '1.0' - the version 1.0 text for a data service. - - - '2.0' - the version 2.0 text for a data service. - - - '3.0' - the version 3.0 text for a data service. - - - '2.0;' - the text for the current server version text. - - - 1 - the version 1 text for a data service. - - - 0 - the current minor version for a data service. - - - 'binary' constant prefixed to binary literals. - - - 'datetime' constant prefixed to datetime literals. - - - 'guid' constant prefixed to guid literals. - - - 'geography' constant prefixed to geography literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'guid' constant prefixed to guid literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'M': Suffix for decimal type's string representation - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - null liternal that needs to be return in ETag value when the value is null - - - Incoming message property name for the original reqeust uri - - - Incoming message property name for the original root service uri - - - - GeoRss namespace - - - - - The "georss" prefix - - - - - Gml Namespace - - - - - Gml Prefix - - - - - Embedded Gml tag inside Georss - - - - - GeoRss representation of a point - - - - - GeoRss representation of a line - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml representation of a linestring - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Root of the tree - - - corresponding to this tree - - - Default constructor creates a null root - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - Validates the source tree. - The resource type for which the validation is performed. - - - Validates the specified segment and all its subsegments. - The path segment to validate. - The resource type of the property represented by this segment (null for open properties). - - - - Returns a client type of the property on the specified resource type. - - The client type to look for the property on. - The name of the property to look for. - The type of the property specified. Note that for collection properties this returns the type of the item of the collection property. - - - - Root of the tree - - - - - Representation of each node in the - - - - Name of the property under the parent resource type - This fields is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - List of sub-properties if this segment corresponds to a complex type - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - Segment property name - - - Name of the property under the parent resource type - This property is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - List of sub-properties if this segment corresponds to a complex type - - - Corresponding EntityPropertyMappingInfo - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Number of properties that have V2 mapping with KeepInContent false - - - Initializes the sub-trees for syndication and non-syndication content - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - Validates the target tree. - This also cleans up the tree if necessary. - - - Checks if mappings could potentially result in mixed content and dis-allows it. - Segment being processed. - Does any of the ancestors have content. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - String with the correct value for the target path - - - Root of the sub-tree for syndication content - - - Root of the sub-tree for custom content - - - - Minimum DSPV required to serialize this target tree. - - - - - Representation of each node in the - - - - Name of the xml element/attribute - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - URI of the namespace to which the belongs - - - If this is a non-leaf element, the child elements/attributes collection - - - Parent element of this element/attribute - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the - - - - Used for creating non-root nodes in the syndication/custom trees - Name of xml element/attribute - URI of the namespace for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - Name of the xml element/attribute - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the proeprty should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root not should not be accessed directly - from anywhere so far. - - - URI of the namespace to which the belongs - - - EntityPropertyMappingInfo corresponding to current segement - - - Whether this node corresponds to ResourceType or ClientType property values - - - Does this node correspond to xml attribute - - - Parent node in the tree (always an element if present) - - - Sub-nodes of this node. Only exist if current node is an element node - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - ClientType whose property is to be read. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object - - - - - Type that has the - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Take a URI string and escape the data portion of it - - - - - Sensitive characters that we should always skip - This should be the set of Http control characters intersecting with - the set of characters OData literal format allows outside of strings - (In V3: only +, as used in double literals ex. 3E+8) - - - - - input string - - - - - output string - - - - - the current index - - - - - current quoted data string - - - - - constructor - - The string to be escaped. - - - - Escape a URI string's data string portion - - The input string - The escaped string - - - - Build a new escaped string - - The escaped string - - - - Read quoted string - - The character that started the quote - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Holds information about a ServiceAction. - - - Holds information about a service operation. - - - Abstract class from which is derived. - - - change order - - - was content generated for the entity - - - was this entity save result processed - 0 - no processed, otherwise reflects the previous state - - - last save exception per entry - - - State of the modified entity or link. - - - - constructor - - entity state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - When overridden in a derived class, gets the state of the object at the time this instance was constructed. - An of the object returned at the time this instance was constructed. - - - true if resource, false if link - - - changeOrder - - - was content generated for the entity - - - was this entity save result processed - - - last save exception per entry - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - Maps to m:action\@title. Human-readable description of the service operation. - - - maps to m:action\@metadata. Identifies the service operation. - - - maps to m:action\@target. The URI to invoke the service operation. - - - - Creates a new instance of the Operation descriptor. - - - - - Nothing to clear in case of operation descriptor. - - - - Human-readable description of the service operation. - - - Identifies the service operation. - - - The URI to invoke the service operation. - - - - this is an operation descriptor. - - - - - Base class for building the request and handling the response - - - - - Implementation of IAsyncResult - - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - Originating object, used to validate End* - - - Originating method on source, to differentiate between different methods from same source - - - wrapped request - - - User callback passed to Begin* - - - User state passed to Begin* - - - wait handle for user to wait until done, we only use this within lock of asyncWaitDisposeLock. - - - Holding exception to throw as a nested exception during to End* - - - Abortable request - - - true unless something completes asynchronously - - - true when really completed for the user - - - true when no more changes are pending, 0 false, 1 completed, 2 aborted - - - verify we only invoke the user callback once, 0 false, 1 true - - - non-zero after End*, 0 false, 1, true - - - true if the AsyncWaitHandle has already been disposed. - - - delay created object to lock to prevent using disposed asyncWait handle. - - - - ctor - - source object of async request - async method name on source object - user callback to invoke when complete - user state - - - - common handler for EndExecuteBatch & EndSaveChanges - - derived type of the AsyncResult - source object of async request - async method name on source object - the asyncResult being ended - data service response for batch - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - Returns the async result from the BeginXXX method. - - CompletedSynchronously (for System.Net networking stack) means "was the operation completed before the first time - that somebody asked if it was completed synchronously"? They do this because some of their asynchronous operations - (particularly those in the Socket class) will avoid the cost of capturing and transferring the ExecutionContext - to the callback thread by checking CompletedSynchronously, and calling the callback from within BeginXxx instead of - on the completion port thread if the native winsock call completes quickly. - - For other operations however (notably those in HttpWebRequest), they use the same underlying IAsyncResult implementation, - but do NOT check CompletedSynchronously before returning from BeginXxx. That means that CompletedSynchronously will - be false if and only if you checked it from the thread which called BeginXxx BEFORE the operation completed. It will - then continue to be false even after IsCompleted becomes true. - - Note that CompletedSynchronously == true does not guarantee anything about how much of your callback has executed. - - The usual pattern for handling synchronous completion is that both the caller and callback should check CompletedSynchronously. - If its true, the callback should do nothing and the caller should call EndRead and process the result. - This guarantees that the caller and callback are not accessing the stream or buffer concurrently without the need - for explicit synchronization between the two. - - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - Please see remarks on the other InvokeAsync() overload. - Also note that the InvokeTask method above is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Sets the CompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - Set the AsyncWait and invoke the user callback. - - If the background thread gets a ThreadAbort, the userCallback will never be invoked. - This is why it's generally important to never wait forever, but to have more specific - time limit. Also then cancel the operation, to make sure its stopped, to avoid - multi-threading if your wait time limit was just too short. - - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - exception object from background thread - true if the exception (like StackOverflow or ThreadAbort) should be rethrown - - - Set the async result as completed and aborted. - - - Set the async result as completed. - - - verify they have the same reference - the actual thing - the expected thing - error code if they are not - - - invoked for derived classes to cleanup before callback is invoked - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - the request in progress - error code if null or completed - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - the request object - exception object from background thread - true if the exception should be rethrown - - - handle request.BeginGetRequestStream with request.EndGetRequestStream and then write out request stream - async result - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread after the - BeginXXX method returns. It checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - The IAsyncResult that represents the asynchronous operation we just called, which could still be pending - Callback to be invoked when IAsyncResult.CompletedSynchronously is true. - Returns an IAsyncResult that represents the asynchronous operation we just called, which could still be pending - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that PostInvokeTask below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method returns an AsyncCallback which we can pass - to the BeginXXX methods in the caller thread. The returned callback will only run the wrapped callback if - IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - callback to be wrapped - Returnes a callback which will only run the wrapped callback if IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that the GetDataServiceTaskCallback method below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Sets the async wait handle - - - - - Callback for Stream.BeginRead on the request content input stream. Calls request content output stream BeginWrite - and in case of synchronous also the next BeginRead. - - The asynchronous result associated with the completed operation. - - - handle requestStream.BeginWrite with requestStream.EndWrite then BeginGetResponse. - async result - - - user state object parameter - - - wait handle for when waiting is required - if displayed by debugger, it undesirable to create the WaitHandle - - - did the result complete synchronously? - - - is the result complete? - - - is the result complete? - - - abort the result - - - - WebRequest available for DataServiceContext.CancelRequest - - - - first exception that happened - - - - This delegate exists to workaround limitations in the WP7 runtime. - When limitations on the number of parameters to Func<> are resolved, this can be subsumed by the following: - Func<byte[], int, int, AsyncCallback, object, IAsyncResult> - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - - - Wraps PerRequest and context reference together to save state information. - Used instead of KeyValuePair in order to avoid FxCop CA908. - - - - the request wrapper. - - - - Constructor for the state object - - See PerRequest field. - - - wrap the full request - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - - did the sequence (BeginGetRequest, EndGetRequest, ... complete. 0 = In Progress, 1 = Completed, 2 = Aborted - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - True if Dispose is called. - - - Synchronize the Dispose method calls. - - - Did the request complete all of its steps synchronously? 1 represents true and 0 represents false. - Note that there is no overload for Interlocked.CompareExchange that takes booleans, we workaround using the overload for int. - - - ctor - - - - Sets the RequestCompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - - Change the request status to completed - - - - - Change the request status to aborted - - - - - dispose of the request object - - - - active web request - - - active web request stream - - - content to write to request stream - - - web response - - - async web response stream - - - did the request complete all of its steps synchronously? - - - - Short cut for testing if request has finished (either completed or aborted) - - - - - Short cut for testing request status is 2 (Aborted) - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - - The length of the valid content in the RequestContentBuffer - Once the data is read from the request content stream into the RequestContent buffer - this length is set to the amount of data read. - When the data is written into the request stream it is set back to 0. - - - - where to pull the changes from - - - serializer to serialize the request data. - - - sorted list of entries by change order - - - option in use for SaveChanges - - - batch web response - - - The ResourceBox or RelatedEnd currently in flight - - - what kind of request are we processing - POST MR or PUT MR - - - - If the is set to anything but None, - this field holds a stream needs to be send in the request. - This can be null in the case where the content of MR is empty. (In which case - we will not try to open the request stream and thus avoid additional async call). - - - - temporary buffer when cache results from CUD op in non-batching save changes - - - - constructor for operations - - context - method - queries - options - user callback - user state object - - - - factory method for SaveResult - - context - method - queries - options - user callback - user state object - a new instance of SaveResult or BatchSaveResult, depending on the options value. - - - - Handle response by looking at status and possibly throwing an exception. - - The request info. - response status code - Version string on the response header; possibly null. - delegate to get response stream - throw or return on failure - Parsed response version (null if no version was specified). - exception on failure - - - - get the response text into a string - - method to get response stream - status code - text - - - process the batch - data service response - - - Get the value of HttpMethod enum from link resource state - Instance of LinkDescriptor containing the link state and type of link. - HttpMethod enum value for the link descriptor state. - - - - Apply the response preferences for the client. - - Headers to which preferences will be added. - HTTP method. - Response preference. - Request version so far for the request. The method may modify it. - - - - Handle response. - - an instance of the DataServiceResponse. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - Get the value of the HttpMethod enum from entity resource state - resource state - The version of the request determined so far. The method may modify this if needed. - HttpMethod value from the entity resource state. - - - - Create request message for the descriptor at the given index. - - Index into changed entries - IODataRequestMessage that needs to be used for writing the payload. - true, if any request payload was generated, else false. - - - Set the AsyncWait and invoke the user callback. - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - operation with HttpWebResponse - status code of the response. - response headers. - - - - Handle operation response - - descriptor whose response is getting processed. - content headers as returned in the response. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - cleanup work to do once the batch / savechanges is complete - - - - Create the response info instance to be passed to the materializer. - - entity descriptor whose response is getting handled. - instance of the response info class. - - - - enumerate the related Modified/Unchanged links for an added item - - entity - related links - - During a non-batch SaveChanges, an Added entity can become an Unchanged entity - and should be included in the set of related links for the second Added entity. - - - - flag results as being processed - result descriptor being processed - count of related links that were also processed - - - - Generate the link payload. - - binding - An instance of ODataRequestMessage for the link request. - - - - Create ODataRequestMessage for the given entity. - - resource - An instance of ODataRequestMessage for the given entity. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Figures out value to be written in DataServiceVersion HTTP header for the given entity based on features used in this entity. - - Entity type for which data service version needs to be determined. - The resource state for the entity. - Data service version for the given entity and state. - - - Checks whether a WCF Data Service version string can be handled. - Version string on the response header; possibly null. - The response version parsed into a instance - if the version was valid and can be handled, otherwise null. - true if the version can be handled; false otherwise. - - - Handle changeset response. - headers of changeset response - - - - Validates that the link descriptor source and target have identities. - - The binding. - The source resource. - The target resource. - - - - Serialize supported data service versions to a string that will be used in the exception message. - The string contains versions in single quotes separated by comma followed by a single space (e.g. "'1.0', '2.0'"). - - Supported data service versions in single quotes separated by comma followed by a space. - - - - Appends the target entity key to the uri if the binding is in the deleted state and the property is a collection. - - The link URI so far. - The binding. - The target's entity descriptor. - The original link uri or one with the target entity key appended. - - - - Generate a request for the given entity. - - Instance of EntityDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - True if the payload was generated, otherwise false. - - - - Generate a request for the given link. - - Instance of LinkDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - - - Handle changeset response. - descriptor whose response is getting handled. - response headers. - - - Handle changeset response for the given entity descriptor. - entity descriptor whose response is getting handled. - ETag header value from the server response (or null if no etag or if there is an actual response) - - - - Handle the PUT response sent by the server - - descriptor, whose response is getting handled. - response headers. - - - Handle response to deleted entity. - deleted entity - - - handle responseStream.BeginRead with responseStream.EndRead - async result - - - - Materialize the response payload. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - etag value, if specified in the response header. - - - returns true if its a batch, otherwise returns false. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In sync case, this is the actual response stream, as returned by the http request. - - - - - returns true if the response payload needs to be processed. - - - - - enum which says what kind of request we are currently processing - - - - This request doesn't involve Media Resource or named stream. - - - This request is a POST to a MLE and the body contains the content of the MR. - - - This request is a PUT to MR and the body contains the content of the MR. - - - - Async read state - - - - PerRequest class which tracks the request and response stream - - - total number of byte copied. - - - - constructor - - Perrequest class - - - - Returns the total number of byte copied till now. - - - - - Handles the batch requests and responses (both sync and async) - - - - The size of the copy buffer to create. - - - Array of queries being executed - - - Response stream containing the entire batch response. - - - Instance of ODataBatchWriter used to write current batch request. - - - The message reader used to read the batch response. - - - Object representing the current operation response. - - - Buffer used for caching operation response body streams. - - - - constructor for BatchSaveResult - - context - method - queries - options - user callback - user state object - - - initial the async batch save changeset - - - - Synchronous batch request - - - - Read and store response data for the current change - The completed per request object - This is called only from the async code paths, when the response to the batch has been read fully. - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle response. - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - This can only be called from inside the HandleBatchResponse or during enumeration of the responses. - This is used when processing responses for update operations. - - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Creates the type of the multi part MIME content. - - A multipart mime header with a generated batch boundary - - - - Creates a ODataRequestMessage for batch request. - - Returns an instance of ODataRequestMessage for the batch request. - - - - Generate the batch request for all changes to save. - - Returns the instance of ODataRequestMessage containing all the headers and payload for the batch request. - - - - process the batch response - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - process the batch response - - The batch reader to use for reading the batch response. - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - The message reader for the entire batch response is stored in the this.batchMessageReader. - The message reader is disposable, but this method should not dispose it itself. It will be either disposed by the caller (in case of exception) - or the ownership will be passed to the returned response object (in case of success). - In could also be diposed indirectly by this method when it enumerates through the responses. - - - - - process the batch response - - The batch reader to use for reading the batch response. - enumerable of QueryResponse or null - - The batch message reader for the entire batch response is stored in this.batchMessageReader. - Note that this method takes over the ownership of this reader and must Dispose it if it successfully returns. - - - - - Processed the operation response reported by the batch reader. - This is a side-effecting method that is tied deeply to how it is used in the batch processing pipeline. - - The batch reader to get the operation response from. - True if the current operation is inside a changeset (implying CUD, not query) - An exception if the operation response is an error response, null for success response. - - - - Validate the content-id. - - The response headers for the operation response being processed. - Returns the correct ChangedEntries index. - - - returns true since this class handles batch requests. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - This is the stream which holds the entire batch response, when we process any given part those streams are enumerated through - a different field (currentOperationResponseContentStream). - - - - - returns true if the response payload needs to be processed. - - - - - Stores information about the currenly processed operation response. - - - - The HTTP response status code for the current operation response. - - - The HTTP headers for the current operation response. - - - The content stream for the current operation response. - - - - Constructor. - - The status code of the response. - The response headers. - An in-memory copy of the response stream. - - - - Creates IODataResponseMessage for the operation response. - - - IODataResponseMessage for the operation response. - null if the operation response has empty content. - - - - - The status code of the operation response. - - - - - The content stream of the operation response. - - - - - true if the content stream is empty, false otherwise. - - - - - The response headers for the operation response. - - - - Represents a parameter associated with a service action. - - - Represents a parameter passed to a service action, service function or a service operation when it is Executed. - - - The name of the operation parameter. - - - The value of the operation parameter. - - - Initializes a new instance of the class. - The name of the operation parameter. - The value of the operation parameter. - - - Gets the name of the operation parameter. - The name of the operation parameter. - - - Gets the value of the operation parameter. - The value of the operation parameter. - - - Instantiates a new BodyOperationParameter - The name of the body operation parameter. - The value of the body operation parameter. - - - - EventArgs for the BuildingRequest event. - - - - - Uri of the outgoing request. - - - - - Initializes a new instance of the class. - - The method. - The request URI. - The request headers. - Descriptor for this request; or null if there isn't one. - The http stack. - - - - Retrieves a new RequestMessageArgs with any custom query parameters added. - - A new RequestMessageArgs instance that takes new custom query options into account. - - - - Gets the Request HTTP Method that the outgoing request will use. - - - - - The Uri of the outgoing request. The Uri may be altered. No error checking will be performed against any changes made. - - - - - The headers for this request. Adding new custom headers is supported. Behavior is undefined for changing existing headers or adding - system headers. No error checking will be performed against any changes made. - - - - - Descriptor for this request if there is one; null otherwise. - - - - - Gets the http stack. - - - The reason for having this property is that this is request specific - and cannot be taken from the context. For e.g. In silverlight, irrespective - of the value of HttpStack property, for stream requests (get or update), we - use ClientHttp. - - - - - Returns the set of headers as HeaderCollection instance. - - - - - Implementation of which wraps client-side objects. - - - - - Initializes a new instance of the class. - - The type of the collection. - The elements of the collection. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the values stored in this collection. - - - - - Non-delayed implementation of - - - - - Initializes a new instance of the class. - - The value. - - - - Gets the data stored in this value. - - - - - EdmModel describing the client metadata - - - - A cache that maps a client Clr type to it corresponding Edm type. - - - A cache that maps a client type name to the corresponding client type annotation. - - - The annotations manager. - - - The max protocol version this Edm model is created for. - - - Referenced core model. - - - - Constructor. - - The protocol version this Edm model is created for. - - - - Return the entity container with the given name. - - Name of the entity container. - EntityContainer with the given name. - - - - Searches for a schema element with the given name in this model and returns null if no such schema element exists. - - The qualified name of the schema element being found. - The requested schema element, or null if no such schema element exists. - - - - Searches for functions with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the type. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get the client type annotation for the given name. - - Name of the type. - An instance of ClientTypeAnnotation for the type with the given name. - - - Returns and its base types, in the order of most base type first and last. - Type instance in question. - Returns the list of key properties if is an entity type; null otherwise. - true if has any (declared or inherited) properties; otherwise false. - Returns and its base types, in the order of most base type first and last. - - - - Find properties with dynamic MIME type related properties and - set the references from each ClientProperty to its related MIME type property - - Client edm type instance to wire up the mime type properties. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get or create a client EDM type instance. - - The base type of this structured type. - type to wrap - List of key properties to add to if the type is an entity type; null otherwise. - true if is an entity type; false otherwise. - true if the is known to have properties; false if is known to have no properties; null if nothing is known about the properties. - client type - - - - Creates an Edm property. - - Type declaring this property. - PropertyInfo instance for this property. - Returns a new instance of Edm property. - - - - Gets or creates client type annotation. - - The EdmType to use for creating client type annotation - The Clr type to create client type annotation for. - Client type annotation - - - - Returns all the vocabulary annotations defined in the model. - - - - - Returns all the referenced models. - - - - - Returns all the schema elements. - - - - - Returns the model's annotations manager. - - - - - Gets the max protocol version of the model. - - - - - Cache value for the type cache. - - - - The cached EDM type. - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - Creates a new instance of the EDM type cache value. - - The cached EDM type. - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - The cached EDM type. - - - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - - Implementation of which wraps client-side objects. - - - - The structured value this instance is wrapping. - - - The client-side metadata about this value. - - - The model. - - - - Initializes a new instance of the class. - - The structured value. - The model. - The client type annotation. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - - The found property, or null if no property was found. - - - - - Builds an edm property value from the given annotation. - - The property annotation. - The property value - - - - Converts a clr value to an edm value. - - The property value. - Type of the property. - - The converted value - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the property values of this structured value. - - - - - Helper class to wrap the stream with the content of the request. - We need to remember if the stream came from us (IsKnownMemoryStream is true) - or if it came from outside. For backward compatibility we set the Content-Length for our streams - since they are always MemoryStream and thus know their length. - For outside streams (content of the MR requests) we don't set Content-Length since the stream - might not be able to answer to the Length call. - - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Constructor - - The stream with the request content - The stream was create by us and it's a MemoryStream - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Implementation of which uses OData conventions. - - - - The entity instance to build metadata for. - - - The name of the set the entity instance belongs to. - - - The base uri of the service. - - - The convention-based uri builder to use. - - - - Initializes a new instance of the class. - - The base URI of the service. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Initializes a new instance of the class. - - The URI resolver to use. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Implementation of that uses conventions. - - - - The uri resolver to use for entity sets. - - - The user specified conventions. - - - - Initializes a new instance of the class. - - The uri resolver to use. - The user specified conventions to use. - - - - Appends to create the URI for an entity set. - - The URI to append to - The entity set name. - - The entity set URI. - - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Client writer settings shim class to restrict settings to the base for OData message writers. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Client reader settings shim class to restrict settings to the base for OData message reader. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Func to evaluate whether an instance annotation should be read or skipped by the reader. The func should return true if the instance annotation should - be read and false if the instance annotation should be skipped. - - - - - Materializer for LoadProperty API call for navigation properties. - - - - - Materializes feeds and entities from an ODataReader - - - - - Used to materialize entities from a objects. - - - - - Use this class to materialize objects provided from an . - - - - Empty navigation links collection - - - Empty property collection - - - Collection->Next Link Table for nested links - - - The collection value materialization policy. - - - The complex value materializer policy. - - - The materialization policy used to materialize primitive values. - - - The converter to use when assigning values of primitive properties. - - - - Initializes a new instance of the class. - - The materializer context. - The expected type. - - - - Creates an for a response. - - The response message. - The response context. - The type to materialize. - The query components for the request. - The projection plan. - expected payload kind. - A materializer specialized for the given response. - - - Reads the next value from the input content. - true if another value is available after reading; false otherwise. - - After invocation, the currentValue field (and CurrentValue property) will - reflect the value materialized from the parser; possibly null if the - result is true (for null values); always null if the result is false. - - - - - Disposes the materializer - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Creates an for a given message and context using - WCF DS client settings. - - The response message - The response context - Type of the message. - The message reader. - - - - Verifies that the object is not disposed. - - - - - Implementation of . - - Return value of - - - - Called when IDisposable.Dispose is called. - - - - Current value being materialized; possibly null. - - This will typically be an entity if - is assigned, but may contain a string for example if a top-level - primitive of type string is found. - - - - Feed being materialized; possibly null. - - - Entry being materialized; possibly null. - - - Table storing the next links assoicated with the current payload - - - Whether we have finished processing the current data stream. - - - - Returns true if the underlying object used for counting is available - - - - - The count tag's value, if requested - - The count value returned from the server - - - Function to materialize an entry and produce a value. - - - - Gets the materializer context - - - - - Returns true if the materializer has been disposed - - - - - Gets the expected type. - - - The expected type. - - - - - Gets the collection value materialization policy. - - - - - Gets the complex value materialization policy. - - - - - The converter to use when assigning values of primitive properties. - - - - - The policy used to materialize primitive values. - - - - - The format of the response being materialized. - - - - The value of the current materialized entity. - - - The materializer plan. - - - The entry value materializer policy. - - - - Initializes a new instance of the class. - - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates an entry materialization plan that is payload-driven. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Creates an entry materialization plan that is payload-driven and does not traverse expanded links. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - Note that if the target is a collection, the result is always false, - as the model does not allow null feeds (but instead gets an empty - collection, possibly with continuation tokens and such). - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - - Ensures that an entry of is - available on the specified . - - Materilizer used for logging. - Entry to ensure. - Required type. - - As the 'Projection' suffix suggests, this method should only - be used during projection operations; it purposefully avoid - "source tree" type usage and POST reply entry resolution. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Projects a simple value from the specified . - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - Helper method for constructor of DataServiceCollection. - Element type for collection. - The enumerable which has the continuation on it. - The DataServiceCollection to apply the continuation to. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Reads the next feed or entry. - - True if an entry was read, otherwise false - - - - Checks that the specified isn't null. - - Entry to check. - Name of entry being accessed. - - - Creates an entry materialization plan for a given projection. - Query components for plan to materialize. - A materialization plan. - - - Materializes the result of a projection into a list. - Materializer to use for the operation. - Target list. - Expected type for nested object. - Entries to materialize from. - - This method supports projections and as such does shallow payload-driven - materialization of entities. - - - - Gets a property from the specified list, throwing if not found. - List to get value from. - Property name to look up. - The specified property (never null). - - - Merges a list into the property of a given . - Entry to merge into. - Property on entry to merge into. - List of materialized values. - Next link for feed from which the materialized values come from. - Projection plan for the list. - - This method will handle entries that shouldn't be updated correctly. - - - - - Gets the Entity Materializer Context - - - - - Target instance that the materializer expects to update. - - - - - Current value being materialized; possibly null. - - - - - Function to materialize an entry and produce a value. - - - - - Gets the entry value materialization policy. - - - The entry value materialization policy. - - - - The enty or feed reader. - - - The message reader. - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - - This method is for parsing CUD operation payloads which should contain - 1 a single entry - 2 An Error - - the message for the payload - The current ResponseInfo object - The expected type - the MaterializerEntry that was read - - - - Called when IDisposable.Dispose is called. - - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Response Info object. - - - - - Items that have been read from the feed or entry. - - - - - Iteration of the entity collection reader. - - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - LoadProperty Response Info object. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Arguments for creating an instance of DataServiceClientRequestMessage. - - - - The actual method. - - - - Initializes a new instance of the class. - - Method of the request. - The Request Uri. - True if the default credentials need to be sent with the request. Otherwise false. - True if the request message must use POST verb for the request and pass the actual verb in X-HTTP-Method header, otherwise false. - The set of headers for the request. - - - - Gets the method. - - - - - Gets the request URI. - - - - - Returns whether the request message should use Post-Tunneling. - - - - - Gets the headers. - - - - - Gets the actual method. Indicates correct method to use in the post tunneling case. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Represents the type of HTTP implementation to use when accessing the data service.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - - Automatically choose the HTTP stack - When possible XmlHttp stack will be used, otherwise the Client stack will be used - - - - - Arguments used to configure the odata message reader settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Arguments used to configure the odata message writer settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Configurations on the behavior of the Client. - - - - - Creates a data service client configurations class - - The sender for the Reading Atom event. - - - - Gets the response configuration pipeline. - - - - - Gets the request pipeline. - - - - - Use this class to materialize objects provided from an . - - - - - Class responsible for materializing from OData to Objects - - - - - Creates the specified edm type. - - Type of the edm. - The type. - In the future this class will have Materialize and Update will be adding this in upcoming changes - A created object - - - The materializer context. - - - The complex value materialization policy. - - - The primitive value materialization policy. - - - - Initializes a new instance of the class. - - The context. - The primitive policy. - - - - Creates Collection instance of store Collection items. - - ODataProperty instance representing the Collection as seen in the atom payload. - CLR type of the Collection as defined by the user. - Newly created Collection instance. Never null. - - - - Creates the collection instance. - - The edm collection type reference. - Type of the client collection. - New Collection Instance. - - - - Applies collectionValue item to the provided . - - Atom property containing materialized Collection items. - Collection instance. Must implement ICollection<T> where T is either primitive or complex type (not an entity). - Type of items in the Collection. Note: this could be calculated from collectionInstance but we already have it in upstream methods. - Action called actually add a Collection item to - - - - Applies the collection data values to a collection instance. - - The items. - Name of the wire type. - The collection instance. - Type of the collection item. - The add value to backing I collection instance. - - - - Creates Collection instance of store Collection items. - - The edm collection type reference. - Type of the client collection. - Error to throw. - - Newly created Collection instance. Never null. - - - - - Gets the complex value materialization policy. - - - The complex value materialization policy. - - - - - Use this class to materialize objects provided from an . - - - - - Contains logic on how to materialize properties into an instance - - - - The collection value materialization policy. - - - The primitive property converter. - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a primitive value. No op for non-primitive values. - Type of value to set. - Property holding value. - - - - Applies the values of the specified to a given . - - Type to which properties will be applied. - Properties to assign to the specified . - Instance on which values will be applied. - - - Applies a data value to the specified . - Type to which a property value will be applied. - Property with value to apply. - Instance on which value will be applied. - - - - Materializes the primitive data values in the given list of . - - Actual type for properties being materialized. - List of values to materialize. - - Whether properties missing from the client types should be ignored. - - - Values are materialized in-place withi each - instance. - - - - - Gets the collection value materialization policy. - - - The collection value materialization policy. - - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Gets the materializer context. - - - The materializer context. - - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a complex type property. - Type of the complex type to set. - The OData complex value. - - - - Determines if there is an existing entity or whether a new one is created - - - - Target instance that the materializer expects to update. - - - - Initializes a new instance of the class. - - The entity tracker. - The merge option. - The model. - The context. - - - Resolved or creates an instance on the specified . - Entry on which to resolve or create an instance. - Expected type for the . - - After invocation, the ResolvedObject value of the - will be assigned, along with the ActualType value. - - True if an existing entity is found. - - - - Tries to resolve the specified entry as an entry that has already been created in this materialization session or is already in the context. - - Entry to resolve. - Expected type of the entry. - True if the entry was resolved, otherwise False. - - - Tries to resolve the object as the target one in a POST refresh. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - Tries to resolve the object as one from the context (only if tracking is enabled). - Entry to resolve. - Expected entry type for the specified . - true if the entity was resolved; false otherwise. - - - Tries to resolve the object from those created in this materialization session. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - - Gets the value of the MergeOption - - - - - Gets the Context - - Implementation Note, only used in when a new DataServiceCollection, - would like to remove this dependency but would need to change projection - plan, might happen in a subsequent refactor - - - - - Gets the materialization log. - - - - - Gets the entity tracker. - - - - - Gets the model. - - - - - Target instance that the materializer expects to update. - - - - - Used to materialize entities from an to an object. - - - - Collection->Next Link Table for nested links - - - - Initializes a new instance of the class. - - The context. - The entity tracking adapter. - The lazy primitive property converter. - The next link table. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client Model. - whether to do the entity check or not. - The type - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client model. - whether to do the entity check or not. - - - Materializes the specified . - Entry with object to materialize. - Expected type for the entry. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Applies the values of the enumeration to the - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Whether this is a continuation request. - - - Records the fact that a rel='next' link was found for the specified . - Collection to add link to. - Link (possibly null). - Projection plan for the collection (null allowed only if link is null). - - - Records the fact that a was found but won't be modified. - Collection to add link to. - - - "Resolved" the entity in the by instantiating it. - Entry to resolve. - Type to create. - - After invocation, entry.ResolvedObject is exactly of type . - - - - - Matches the given item type with the corresponding collection element type. - - Item type. - Collection element type. - - - - Materializes the link properties if any with the url in the response payload - - Actual client type that is getting materialized. - MaterializerEntry instance containing all the links that came in the response. - - - - Populates the collection property on the entry's resolved object with the given items enumerator. - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Collection instance that was populated. - - - - Gets or creates a collection property on the specified . - - Instance on which to get/create the collection. - Collection property on the . - Is this collection being created for LoadProperty scenario. - - The collection corresponding to the specified ; - never null. - - - - - Applies the values of a nested to the collection - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Whether links that are expanded should be materialized. - - - Materializes the specified . - Entry with object to materialize. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Gets the Entity Materializer Context - - - - - Contains an odata reader that is wrapped - - - - The reader. - - - The payload reading events. - - - - Prevents a default instance of the class from being created. - - The reader. - The data service response pipeling configuration object. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Creates and Wraps an ODataReader for feeds or entries. - - The message reader. - The message type. - The expected EDM type. - The data service response pipeling configuration object. - A reader. - - - - Wraps an ODataReader - - The reader. - The data service response pipeling configuration object. - A reader. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Converter for primitive values which do not match the client property types. This can happen for two reasons: - 1) The client property types do not exist in the protocol (Uri, XElement, etc) - 2) The values were read using the service's model, and the client types are slightly different (ie float vs double, int vs long). - - - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - Geo JSON formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - Gml formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - - Initializes a new instance of the class. - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - - Converts a value to primitive value. - - The value. - Type of the property. - The converted value if the value can be converted - - - - Converts a non-spatial primitive value to the target type. - - The value to convert. - The target type of the conversion. - The converted value. - - - - Converts the value to the target type if needed. - - The value to convert. - The target type. - The converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The value to convert. - The target type of the conversion. - The original or converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The type of the value being converted. - The target type of the conversion. - The value to convert. - The original or converted value. - - - - Creates a policy that is used for materializing Primitive values - - - - MaterializerContext used to resolve types for materialization. - - - - primitive property converter used to convert the property have the value has been materialized. - - - - Initializes a new instance of the class. - - The context. - The lazy primitive property converter. - - - - Materializes the primitive data value. - - Type of the collection item. - Name of the wire type. - The item. - Materialized primitive data value. - - - - Materializes the primitive data value collection element. - - The collection item type. - Name of the wire type. - The item. - Materialized primitive collection element value - - - Materializes a primitive value. No op or non-primitive values. - Type of value to set. - Type name from the payload. - Value of primitive provided by ODL. - The exception message if the value is null. - The materialized value. - true if the value was set; false if it wasn't (typically because it's a complex value). - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Materialized Entity arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - This class represents the contract WCF Data Services client with the request message. - - - - Http method. - - - - Initializes a new instance of the class. - - The actual method. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or sets the request url. - - - - - Gets or sets the method for this request. - - - - - Gets or set the credentials for this request. - - - - - Gets or sets the timeout (in seconds) for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - Gets or the actual method. In post tunneling situations method will be POST instead of the specified verb method. - - - - - The writing entity reference link arguments - - - - - Initializes a new instance of the class. - - The entity reference link. - The source. - The target. - - - - Gets the feed. - - - The feed. - - - - - Gets the source. - - - - - Gets the target. - - - - - Writing entry arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - Writing navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - The source. - The target. - - - - Gets the link. - - - The link. - - - - - Gets the source. - - - - - Gets the target. - - - - - Class that holds a variety of events for writing the payload from the OData to the wire - - - - Actions to execute before start entry called. - - - Actions to execute before end entry called. - - - Actions to execute before entity reference link written. - - - Actions to execute after before start navigation link called. - - - Actions to execute before end navigation link called. - - - The message writer setting configurations. - - - The delegate that represents how a message is created. - - - - Creates a request pipeline configuration class - - - - - Called when [message writer created]. - - The args. - The request pipeline configuration. - - - - Called when [entry starting]. - - The action. - The request pipeline configuration. - - - - Called when [entry ending]. - - The action. - The request pipeline configuration. - - - - Called when [entity reference link]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link starting]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link end]. - - The action. - The request pipeline configuration. - - - - Called when [create message writer settings configurations]. - - The writer settings. - - - - Fires before entry end. - - The entry. - The entity. - - - - Fires before entry start. - - The entry. - The entity. - - - - Fires before navigation end. - - The link. - The source. - The target. - - - - Fires before navigation start. - - The link. - The source. - The target. - - - - Fires before writing the on entity reference link. - - The entity reference link. - The source. - The target. - - - - Gets the request message to be used for sending the request. By providing a custom message, users - can replace the transport layer. - - - - - Determines if OnMessageCreating is being used or not. - - - - - Gets or sets the a value indicating whether the context is using the sending request event or not. - - - - - The reading navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - - - - Gets the link. - - - The link. - - - - - The reading feed arguments - - - - - Initializes a new instance of the class. - - The feed. - - - - Gets the feed. - - - The feed. - - - - - Entity Tracker base, allows more decoupling for testing. - - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - - Contains state and methods required to materialize odata collection, complex and primitive values - - - - - Context for materialization of OData values - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Gets a value indicating whether Ignore missing properties is set or not - - - - - Gets a value indicated the Client Edm Model - - - - - Gets the materialization Events - - - - - Initializes a materializer context - - Response information used to initialize with the materializer - - - - Resolved the given edm type to clr type. - - Expected Clr type. - Edm name of the type returned by the resolver. - an instance of ClientTypeAnnotation with the given name. - - - - Resolves the EDM type for the given CLR type. - - The client side CLR type. - The resolved EDM type. - - - - Gets a value indicating whether to ignore missing properties when materializing values - - - - - Gets a Client Edm model used to materialize values - - - - - Gets the materialization Events - - - - - Gets the Response information that backs the information on the context - - - - - The reading entry args - - - - - Initializes a new instance of the class. - - The entry. - - - - Gets the entry. - - - The entry. - - - - - Class that is responsible for configuration of actions that are invoked from a response - - - - Actions to be run when reading start entry called - - - Actions to be run when reading end entry called - - - Actions to be run when reading start feed called - - - Actions to be run when reading end feed called - - - Actions to be run when reading start link called - - - Actions to be run when reading end link called - - - Actions to be run after an entry has been materialized - - - The message reader setting configurations. - - - The sender. - - - - Creates a Data service client response pipeline class - - The sender for the Reading Atom event. - - - - Called when [reader settings created]. - - The reader message settings configuration. - The response pipeline configuration. - - - - Called when [read start entry]. - - The action. - The response pipeline configuration. - - - - Called when [read end entry]. - - The action. - The response pipeline configuration. - - - - Called when [read start feed]. - - The action. - The response pipeline configuration. - - - - Called when [read end feed]. - - The action. - The response pipeline configuration. - - - - Called when [read start navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [read end navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [entity materialized]. - - The action. - The response pipeline configuration. - - - - Executes actions that configure reader settings. - - The reader settings. - - - - Executes the on entry end actions. - - The entry. - - - - Executes the on entry start actions. - - The entry. - - - - Executes the on feed end actions. - - The feed. - - - - Executes the on feed start actions. - - The feed. - - - - Executes the on navigation end actions. - - The link. - - - - Executes the on navigation start actions. - - The link. - - - - Fires after the entry was materialized - - The entry. - The entity. - - - - Fires the reading atom entity event. - - The materializer entry. - - - - Fires the end entry events. - - The entry. - - - - Internal event instance used by the public ReadingEntity event. - - - - - Gets a value indicating whether this instance has handlers. - - - true if this instance has handlers; otherwise, false. - - - - - Gets a value indicating whether this instance has atom reading entity handlers. - - - true if this instance has atom reading entity handlers; otherwise, false. - - - - - Gets whether there is a reading entity handler - - - - - Class for reading top level feeds or entries and adapting it for the materializer - - - - The odata format being read. - - - The reader. - - - The Client Edm Model used to determine type information. - - - MergeOption information to determine how to merge descriptors. - - - An enumerator of values. - - - The current feed. - - - The current entry. - - - - Initializes a new instance of the class. - - The messageReader that is used to get the format of the reader. - The reader. - The model. - The mergeOption. - - - - Initializes a new instance of the class. Used for tests so no ODataMessageReader is required - - The format of the reader. - The reader. - The model. - The mergeOption. - - - - The count tag's value, if requested - - Should read pull if no feed exists. - The count value returned from the server - - - - Read a feed or entry, with the expected type. - - true if a value was read, otherwise false - - - - Disposes the reader - - - - - Tries to read a feed or entry. - - if set to true [lazy]. - The feed. - The entry. - true if a value was read, otherwise false - - - - Tries to read the start of a feed or entry. - - true if a value was read, otherwise false - - - - Tries to read a feed. - - if set to true [lazy]. - The feed. - true if a value was read, otherwise false - - - - Reads the remainder of a feed. - - if set to true [lazy]. - A feed. - - - - Lazily reads entries. - - An enumerable that will lazily read entries when enumerated. - - - - Tries to read an entry. - - The entry. - true if a value was read, otherwise false - - - - Reads the remainder of an entry. - - An entry. - - - - Reads a navigation link. - - A navigation link. - - - - Tries to read from the ODataReader. - - True if a value is read, otherwise false - - - - Reads from the reader and asserts the reader is in the expected state. - - The expected state. - - - - Asserts that an item could be read. - - - - - Asserts the reader is in the expected state. - - The expected state. - - - - Gets the current feed. - - - - - Gets the current entry. - - - - - Gets a value indicating whether this instance is end of stream. - - - true if this instance is end of stream; otherwise, false. - - - - - Useful extension methods for IDictionary - - - - - If the key exists in the dictionary, returns it. Otherwise creates a new value, adds it to the dictionary, and returns it. - - The type of the key. - The type of the value. - The dictionary to look in. - The key to find/add. - A callback to create a new value if one is not found. - The new or found value. - - - - Sets a range of values in the dictionary. A set operation is performed on each value in - - The type of the key. - The type of the value. - The dictionary to set the values in. - Enumerable of key-value pairs to set in . - - - - Tracks the user-preferred format which the client should use when making requests. - - - - MIME type for ATOM bodies (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies (implies light in V3, verbose otherwise) (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode with all metadata. - - - MIME type for JSON bodies in verbose mode (http://www.iana.org/assignments/media-types/application/). - - - OData parameter value for verbose. - - - MIME type for changeset multipart/mixed - - - MIME type for XML bodies. - - - Combined accept header value for either 'application/atom+xml' or 'application/xml'. - - - text for the utf8 encoding - - - The character set the client wants the response to be in. - - - The context this format instance is associated with. - - - - Initializes a new instance of the class. - - DataServiceContext instance associated with this format. - - - - Indicates that the client should use the efficient JSON format. - - The model of the service. - - - - Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model. - - - - - Indicates that the client should use the Atom format. - - - - - Sets the value of the Accept header to the appropriate value for the current format. - - The headers to modify. - - - - Sets the value of the Accept header for a query. - - The headers to modify. - The query components for the request. - - - - Sets the value of the Accept header for a stream request (will set it to '*/*'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'text/plain'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'multipart/mixed'). - - The headers to modify. - - - - Sets the value of the ContentType header on the specified entry request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the Content-Type header a request with operation parameters to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the ContentType header on the specified links request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Validates that we can write the request format. - - The request message to get the format from. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Validates that we can read the response format. - - The response message to get the format from. - - - - Throws InvalidOperationException for JSON Light without a model. - - - - - Throws NotSupportedException for JSON Verbose format. - - Content-type to appear on the message. - - - - Validates that we can read or write a message with the given content-type value. - - The content-type value in question. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Sets the request's content type header. - - Dictionary of request headers. - content type - - - - Sets the accept header to the given value and the charset to UTF-8. - - The headers to update. - The media type for the accept header. - - - - Chooses between using JSON-Light and the context-dependent media type for when Atom is selected based on the user-selected format. - - The value if using atom. - - Whether or not the select query option is present in the request URI. - If true, indicates that the client should ask the server to include all metadata in a JSON-Light response. - - The media type to use (either JSON-Light or the provided value) - - - - Gets the current format. Defaults to Atom if nothing else has been specified. - - - - - Invoked when using the parameterless UseJson method in order to get the service model. - - - - - True if the format has been configured to use Atom, otherwise False. - - - - - ODataFormat to use when writing URI literals. - - - - - Gets the service model. - - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result. - - - URI to next page of data. - - - Projection plan for results of next page. - - - Initializes a new instance. - URI to next page of data. - Projection plan for results of next page. - - - Returns the next link URI as a string. - A string representation of the next link URI. - - - Creates a new instance. - Link to next page of data (possibly null). - Plan to materialize the data (only null if nextLinkUri is null). - A new continuation object; null if nextLinkUri is null. - - - - Initializes a new instance that can - be used for this continuation. - - A new initializes . - - - Gets the URI that is used to return the next page of data from a paged query result. - A URI that returns the next page of data. - - - Type of element to be paged over. - - - Projection plan for the next page of data; null if not available. - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result.  - The type of continuation token. - - - Initializes a new typed instance. - URI to next page of data. - Projection plan for results of next page. - - - Type of element to be paged over. - - - Determines whether the client requests that the data service return inserted or updated entity data as an entry in the response message. - - - default option, no Prefer header is sent. - - - Prefer header with value return-content is sent with all PUT/MERGE/POST requests to entities. - - - Prefer header with value return-no-content is sent with all PUT/MERGE/POST requests to entities. - - - Stream wrapper for MR POST/PUT which also holds the information if the stream should be closed or not. - - - Arguments for the request when POST/PUT of the stream is issued. - - - The stream we are wrapping. - Can be null in which case we didn't open it yet. - - - Set to true if the stream should be closed once we're done with it. - - - - Constructor - - The stream to use. - Should the stream be closed before SaveChanges returns. - Additional arguments to apply to the request before sending it. - - - - Close the stream if required. - This is so that callers can simply call this method and don't have to care about the settings. - - - - The stream to use. - - - - Arguments to be used for creation of the HTTP request when POST/PUT for the MR is issued. - - - - Represents the URL of a binary resource stream. - - - name of the stream whose link needs to be populated. - - - self link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - edit link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - content type of the stream. - - - etag for the stream. - - - - Internal constructor to be used by the projection plan compiler, so that we capture the ri - - name of the stream. - - - - One of the properties changed its value - - property name - - - - PropertyChanged Event - - - - The name of the binary resource stream. - The name of the binary resource stream. - - - The URI that returns the binary resource stream. - The URI of the stream. - - - Gets the URI used to edit the binary resource stream. - The URI used to edit the stream. - - - Gets the MIME Content-Type of the binary resource stream. - The Content-Type value for the stream. - - - The eTag value that is used to determine concurrency for a binary resource stream. - The value of the eTag header for the stream. - - - - Class to describe errors thrown by transport layer. - - - - - Contains the state for this exception. - - - - - Constructs a new instance of DataServiceTransportException. - - ResponseMessage from the exception so that the error payload can be read. - Actual exception that this exception is wrapping. - - - - Gets the response message for this exception. - - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Called when deserialization of the exception is complete. - - The deserialized exception. - - - - Gets or sets the response message for this exception. - - - - - Generates proxy methods for external callers to call internal methods - All lambda_methods are considered external. When these methods need - to access internal resources, a proxy must be used. Otherwise the call - will fail for partial trust scenario. - - - - - Dynamically generated proxy methods for external callers (lambda_method are external callers) - - - - - Builds an expression to best call the specified . - - The original method or constructor - The arguments with which to call the method. - An expression to call the argument method or constructor - - - - Determines whether this assembly has enough permissions to create - s that can be hosted within this assembly - and also skip visibility checks (access modifier checks) in order to call potentially - internal user types (e.g., anonymous types). - - True if this assembly has enough permissions. Otherwise, false. - - - - Build a externally visible to call the argument method. - - The original method or constructor - The arguments with which to call the method. - An expression to call the argument method or constructor - - - - Create a new dynamic method - - the name - the return type - the parameter types - a new instance of dynamic method - - - - Wraps the specified in an expression that invokes it. - - The method to wrap in an expression. - The arguments with which to invoke the . - An expression which invokes the with the specified . - - - - context - - - - Storage for the client model. - - - Set of tracked resources - - - Set of tracked resources by Identity - - - Set of tracked bindings - - - change order - - - - Creates a new instance of EntityTracker class which tracks all instances of entities and links tracked by the context. - - max protocol version that the client understands. - - - Gets the entity descriptor corresponding to a particular entity - Entity for which to find the entity descriptor - EntityDescriptor for the or null if not found - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - - checks whether there is a tracked entity with the given identity. - - identity of the entity. - returns the entity if the identity matches, otherwise returns null. - - - - Adds the given entity descriptors to the list of the tracked entity descriptors. - - entity descriptor instance to be added. - - - the work to detach a resource - resource to detach - true if detached - - - remove the identity attached to the resource - resource with an identity to detach to detach - - - - Gets the link descriptor corresponding to a particular link b/w source and target objects - - Source entity - Property of - Target entity - LinkDescriptor for the relationship b/w source and target entities or null if not found - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - - find and detach link for reference property - - source entity - source entity property name for target entity - target entity - link merge option - true if found and not removed - - - - Add the given link to the link descriptor collection - - link descriptor to add - throws argument exception if the link already exists - - - - Remove the link from the list of tracked link descriptors. - - link to be removed. - true if the link was tracked and now removed, otherwise returns false. - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - use location from header to generate initial edit and identity - entity in added state - identity as specified in the response header - location header or dataserviceid header. - editlink as specified in the response header - location header. - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - increment the resource change for sorting during submit changes - - the resource to update the change order - - - create this.identityToResource when necessary - - - create this.bindings when necessary - - - - Ensure an identity is unique and does not point to another resource - - The identity - The entity descriptor - - - - Returns a collection of all the links (ie. associations) currently being tracked by the context. - If no links are being tracked, a collection with 0 elements is returned. - - - - - Returns a collection of all the resources currently being tracked by the context. - If no resources are being tracked, a collection with 0 elements is returned. - - - - Holds information about a ServiceFunction. - - - - This is a just a pass through implementation of IODataRequestMessage. This class is used - for wrapping the inner batch requests or in silverlight when we are using the - non-silverlight http stack, we need to fire IODataRequestMessage which throws - when GetStream is called. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - Boolean flag to allow calls to GetStream() on this instance - We want to allow this because WritingRequest and ReadingResponse events on the Windows Phone platform - requires that we pass a readable stream to user code as arguments. - - - - - request stream - - - - - dictionary containing http headers. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - boolean flag to allow calls to GetStream() on this instance - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Gets or set the credentials for this request. - - - - - Gets or sets the timeout (in seconds) for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - internal headers dictionary - - - - Response from an Invoke call. - - - Operation response base class - - - Http headers of the response. - - - Http status code of the response. - - - exception to throw during get results - - - - constructor - - HTTP headers - - - When overridden in a derived class, contains the HTTP response headers associated with a single operation. - object that contains name value pairs of headers and values. - - - When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. - Integer value that contains response code. - - - Gets error thrown by the operation. - An object that contains the error. - - - Http headers of the response. - - - Consutrcts an InvokeResponse identical to an OperationResponse. - The HTTP headers. - - - Encapsulates information about a link, or relationship, between entities. - - - navigation URI to the related entity. - - - association URI to the related entity. - - - the navigation property name - - - - Creates a LinkInfo with a given properyName - - the name of the navigation property - - - Gets the name of the link. - The name of the link. - - - Gets the URI that is the navigation property representation of the link. - The navigation link URI. - - - Gets the URI that is the association link. - The URI of the association link. - - - wrapper around loading a property from a response - - - - Wrapper HttpWebRequest & HttWebResponse - - - - Originating service request - - - The request info. - - - Originating WebRequest - - - reusuable async copy buffer - - - content to write to request stream - - - web response, closed when completed - - - Response info once it's available - - - buffer when copying async stream to response stream cache - - - response stream, returned to other parts of the system - with async, the asyncResponseStream is copied into this stream - - - copy of HttpWebResponse.ContentType - - - copy of HttpWebResponse.ContentLength - - - copy of HttpWebResponse.StatusCode - - - - does this own the response stream or does the container of this QueryAsyncResult? - - - - - if the BeginRead has been called with asyncStreamCopyBuffer, but EndRead has not. - do not return the buffer to general pool if any question of it being in use. - - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - the stream containing the request data. - - - - Ends the asynchronous query request. - - Element type of the result. - Source object of async request. - async method name. - The asyncResult being ended. - Data service response. - - - wrapper for HttpWebResponse.GetResponseStream - stream - - - start the asynchronous request - - - Synchronous web request - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Create materializer on top of response stream - - Precompiled projection plan (possibly null). - A materializer instance ready to deserialize ther result - - - - Processes the result for successfull request and produces the actual result of the request. - - Element type of the result. - The plan to use for the projection, if available in precompiled form. - A instance of QueryResponseResult created on top of of the request. - - - cleanup work to do once the request has completed - - - - Create the ResponseInfo. - - ResponseInfo object. - - - get stream which of copy buffer (via response stream) will be copied into - writtable stream, happens before GetAsyncResponseStreamCopyBuffer - - - get buffer which response stream will be copied into - writtable stream - - - returning a buffer after being done with it - buffer to return - - - set the http web response - response object - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - async result - error code if null or completed - - - - Make async calls to read the response stream. - - the state containing the information about the asynchronous operation. - - - handle responseStream.BeginRead with responseStream.EndRead - async result - - - - Creates an instance of for the given plan. - - The projection plan. - expected payload kind. - A new materializer instance - - - HttpWebResponse.ContentLength - - - HttpWebResponse.ContentType - - - HttpWebResponse.StatusCode - - - entity whose property is being loaded - - - Projection plan for loading results; possibly null. - - - name of the property on the entity that is being loaded - - - constructor - entity - name of collection or reference property to load - Originating context - Originating WebRequest - user callback - user state - request object. - Projection plan for materialization; possibly null. - Whether this request is a continuation request. - - - - loading a property from a response - - QueryOperationResponse instance containing information about the response. - - - - Creates the ResponseInfo object. - - ResponseInfo object. - - - - Reads the data from the response stream into a buffer using the content length. - - Response stream. - Length of data to read. - byte array containing read data. - - - Reads the data from the response stream in chunks. - Response stream. - byte array containing read data. - - - - Load property data from an ATOM response - - The property being loaded - property values as IEnumerable. - - - - Load property data form a raw response - - The property being loaded - property values as IEnumerable. - - - - Used to materialize a collection of primitive or complex values from an . - - - - - Used to materialize a value from an . - - - - Optional field that indicates if we should expect a single result to materialize, as opposed to a collection. - - - Reader for a message that contains a value or property. - - - Has the value been read. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Implementation of Read>. - - - Return value of Read/> - - - - - Called when IDisposable.Dispose is called. - - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Function to materialize an entry and produce a value. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Class that wraps the collection reader to get values from the collection reader - - - - - Collection Reader - - - - - Initializes a new instance of the class. - - The collection reader. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Gets the current element in the collection. - - The current element in the collection. - The enumerator is positioned before the first element of the collection or after the last element.-or- The collection was modified after the enumerator was created. - - - - Materializes entities from a sequence of ODataEntry objects - - - - The format of the response being materialized. - - - The entries enumerator - - - Is the enumerator finished. - - - - Initializes a new instance of the class. - - The entries. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - The format. - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Called when IDisposable.Dispose is called. - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Whether we have finished processing the current data stream. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Use this class to invoke projection methods from . - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - Projects a simple value from the specified . - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - - Extension methods for ODataItems - - - - - Gets the materialized value. - - The property. - The materialized value. - - - - Determines whether a value has been materialized. - - The property. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The property. - The materialized value. - - - - Gets the materialized value. - - The complex value. - The materialized value. - - - - Determines whether a value has been materialized. - - The complex value. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The complex value. - The materialized value. - - - - Gets the materialized value. - - The annotatable object. - The materialized value - - - - Determines whether a value has been materialized. - - The annotatable object. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The annotatable object. - The materialized value. - - - - Annotation class for the materialized value - - - - - Gets or sets the value. - - - The value. - - - - - Materializes from $links - - - - The links value read from the message. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads from message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Reads the links. - - - - - Gets the count value. - - - - - Current value being materialized; possibly null. - - - - - Returns true if the underlying object used for counting is available - - - - - Used to materialize a property from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Used to materialize a value from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - Is a single result expected. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - To cache the entity instance as annotation for firing ReadingEntity event - - - - XDocument instance to cache the payload. - - - BaseUri for the entry payload. - - - - Creates a new instance of ReadingEntityInfo - - XElement containing the entry payload. - base uri for the entry payload. - - - - Returns the new XmlReader to cache the payload for firing ReadingEntity event. - - ODataEntry instance that is currently getting deserialized. - XmlReader that is used to read the payload. - BaseUri for the entry payload. - XmlReader instance that needs to be used to read the payload for the given odataentry. - - - - Use this class to analyze a member assignment and figure out the - target path for a member-init on an entity type. - - - This class will also detect cases in which the assignment - expression refers to cases which we shouldn't handle during - materialization, such as references to multiple entity types - as sources (or refering to no source at all). - - - - - base vistor class for walking an expression tree bottom up. - - - - - Main visit method for ALinqExpressionVisitor - - The expression to visit - The visited expression - - - - MemberBinding visit method - - The MemberBinding expression to visit - The visited MemberBinding expression - - - - ElementInit visit method - - The ElementInit expression to visit - The visited ElementInit expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Expression list visit method - - The expression list to visit - The visited expression list - - - - MemberAssignment visit method - - The MemberAssignment to visit - The visited MemberAssignmentt - - - - MemberMemberBinding visit method - - The MemberMemberBinding to visit - The visited MemberMemberBinding - - - - MemberListBinding visit method - - The MemberListBinding to visit - The visited MemberListBinding - - - - Binding List visit method - - The Binding list to visit - The visited Binding list - - - - ElementInit expression list visit method - - The ElementInit expression list to visit - The visited ElementInit expression list - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - Empty expression array; immutable. - - - Entity in scope for the lambda that's providing the parameter. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found for this analysis. - - - Path traversed from the entry field. - - - Initializes a new instance. - Entity in scope for the lambda that's providing the parameter. - - - Analyzes an assignment from a member-init expression. - Entity in scope for the lambda that's providing the parameter. - The expression to analyze. - The analysis results. - - - - Checks whether the this and a - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses (null if this is the first). - An exception to be thrown if assignments are not compatible; null otherwise. - - This method does not set the IncompatibleAssignmentsException property on either - analysis instance. - - - - Visits the specified . - Expression to visit. - The visited expression. - This method is overriden to short-circuit analysis once an error is found. - - - Visits a conditional expression. - Expression to visit. - The same expression. - - There are three expressions of interest: the Test, the IfTrue - branch, and the IfFalse branch. If this is a NullCheck expression, - then we can traverse the non-null branch, which will be the - correct path of the resulting value. - - - - Parameter visit method. - Parameter to visit. - The same expression. - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - Visits a nested member init. - Expression to visit. - The same expression. - - - Visits a member access expression. - Access to visit. - The same expression. - - - Visits a method call expression. - Method call to visit. - The same call. - - - Gets the expressions that go beyond the last entity. - An array of member expressions coming after the last entity. - Currently a single member access is supported. - - - Gets the expressions that "walk down" to the last entity, ignoring the last expression. - An array of member expressions down to, but excluding, the last entity. - - - Gets the expressions that "walk down" to the last entity. - whether to ignore the last expression or not. - An array of member expressions down to the last entity. - - - - Checks whether the and - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - An exception to be thrown if assignments are not compatible; null otherwise. - - - Creates an exception to be used when CheckCompatibleAssignment fails. - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - A new exception with diagnostic information. - - - - If there is a MemberInitExpression 'new Person { ID = p.ID, Friend = new Person { ID = p.Friend.ID }}' - or a NewExpression 'new { ID = p.ID, Friend = new { ID = p.Friend.ID }}', - this method validates against the RHS of the member assigment, the expression "p.ID" for example. - - The expression to validate. - Type of the MemberInit or the New expression. - The outter nested initializer of the current initializer we are checking. - true if the expression to assign is fine; false otherwise. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found during analysis. - - - - Helper class for creating ODataLib readers, settings, and other read-related classes based on an instance of . - - - - The current response info. - - - - Initializes a new instance of the class. - - The response info. - - - - Create message reader settings for consuming responses. - - Optional XML entry customization callback to be used. - Newly created message reader settings. - - - - Creates a new the reader for the given response message and settings. - - The response message. - The settings. - Newly created message reader. - - - - Helper class for creating ODataLib writers, settings, and other write-related classes based on an instance of . - - - - The current request info. - - - - Initializes a new instance of the class. - - The request info. - - - - Create message writer settings for producing requests. - - Optional XML entry customization callback to be used for the start of entries. - Optional XML entry customization callback to be used for the end of entries. - if set to true indicates that this is a part of a batch request. - Newly created message writer settings. - - - - Creates a writer for the given request message and settings. - - The request message. - The writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - Newly created writer. - - - - Creates a request message with the given arguments. - - The request message args. - Newly created request message. - - - - IODataRequestMessage interface implementation. - - - - Request Url. - - - RequestInfo instance. - - - - Creates a new instance of ODataRequestMessage. This constructor is used for top level requests. - - RequestMessage that needs to be wrapped. - Request Info. - Descriptor for this request. - - - - Create a request message for a batch part from the batch writer. This method copies request headers - from in addition to the method and Uri. - - ODataBatchWriter instance to build operation message from. - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create a request message for a non-batch requests and outer $batch request. This method copies request headers - from in addition to the method and Uri. - - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Abort the current request. - - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Sets the request stream. - - The content stream to copy into the request stream. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the content length header for the given request message. - - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Adds the given header to the list of header whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Fires the following events, in order - 1. WritingRequest - 2. SendingRequest2 - - Descriptor for which this request is getting generated. - - - - FireSendingRequest2 event. - - Descriptor for which this request is getting generated. - - - - Descriptor for this request; or null if there isn't one. - - - - - Return the stream containing the request payload. - - - - - Gets or sets a value that indicates whether to send request data in segments. - - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - This is a just a pass through implementation of IODataRequestMessage. - In order to keep the sync and non-async code the same, we write all requests into an cached stream and then copy - it to the underlying network stream in sync or async manner. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - The cached request stream. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for non-batch requests and $batch requests. - - - - - Wrapper for the top-level request messages which caches the request stream as it is written. In order to keep the sync and non-async - code the same, we write all requests into an cached stream and then copy it to the underlying network stream in sync or async manner. - - - - - Creates a new instance of ODataOuterRequestMessage. - - DataServiceClientRequestMessage instance. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for inner batch operations. - - - - - Inner batch request that ODataLib creates. - - - - - Creates a new instance of InnerBatchRequestMessageWrapper; - - Instance of DataServiceClientRequestMessage that represents this request. - Instance of IODataRequestMessage created by ODataLib. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - Use this class to represent an annotated list of path segments. - - - Initializes a new instance. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - Member to initialize the path with. - - - Provides a string representation of this object. - A string representation of this object, suitable for debugging. - - - Parameter expression in the source tree. - - - Expression to get the entry for in the target tree. - - - Expression to get the expected root type in the target tree. - - - - Use this class to help keep track of projection paths built - while compiling a projection-based materialization plan. - - - - Stack of whether entities are in scope. - - - Registers rewrites for member initialization blocks. - - - Stack of lambda expressions in scope. - - - - Stack of expected type expression for . - - - - Stack of 'entry' parameter expressions. - - - Stack of projection (target-tree) types for parameters. - - - Initializes a new instance. - - - Provides a string representation of this object. - String representation of this object. - - - Records that a lambda scope has been entered when visiting a projection. - Lambda being visited. - Expression to the entry parameter from the target tree. - Expression to the entry-expected-type from the target tree. - - - - Records that a member initialization expression has been entered - when visting a projection. - - Expression for initialization. - - - Gets a rewrite for the specified expression; null if none is found. - Expression to match. - A rewrite for the expression; possibly null. - - - Records that a lambda scope has been left when visting a projection. - - - - Records that a member initialization expression has been left when - visting a projection. - - - - Registers a member initialization rewrite. - Root of member access path, typically a source tree parameter of entity type. - Sequence of names to match. - Rewrite expression for names. - - - Revokes the latest rewrite registered on the specified . - Root of rewrites to revoke. - Names to revoke. - - - Whether the current scope is acting on an entity. - - - Expression for the expected type parameter. - - - Whether any rewrites have been registered. - - - Expression for the entity parameter in the source tree lambda. - - - Expression for the entry parameter in the target tree. - - - Use this class to record how rewrites should occur under nested member initializations. - - - Sequence of member names to match. - - - Root of member access path, typically a source tree parameter of entity type. - - - Rewrite expressions for the last member path. - - - - Use this class to represent a step in a path of segments - over a parsed tree used during projection-driven materialization. - - - - Initializes a new instance. - Path on which this segment is located. - Name of member to access when traversing a property; possibly null. - - Type that we expect to project out; typically the same as , but may be adjusted. - - - - Initializes a new instance. - Path on which this segment is located. - Member expression for the projection path; possibly null. - - - Name of member to access when traversing a property; possibly null. - - - - Type that we expect to project out; typically the same as , but may be adjusted. - - - In particular, this type will be adjusted for nested narrowing entity types. - - For example: - from c in ctx.Customers select new NarrowCustomer() { - ID = c.ID, - BestFriend = new NarrowCustomer() { ID = c.BestFriend.ID } - } - - In this case, ID will match types on both sides, but BestFriend - will be of type Customer in the member access of the source tree - and we want to project out a member-initialized NarrowCustomer - in the target tree. - - - - - Contains the TypeAs at the source of the member access, null otherwise - e.g. (p as Employee).Manager - - - - Path on which this segment is located. - - - Use this class to store a materialization plan used with projections. - - - Runs this plan. - Materializer under which materialization should happen. - Root entry to materialize. - Expected type for the . - The materialized object. - - - Last segment type for query. - This typically matches the expected element type at runtime. - - - Provides a method to materialize a payload. - - - Expected type to project. - - - - Use this class to create a for a given projection lambda. - - - - Creates dynamic methods that wrap calls to internal methods. - - - Annotations being tracked on this tree. - - - Expression that refers to the materializer. - - - Tracks rewrite-to-source rewrites introduced by expression normalizer. - - - Number to suffix to identifiers to help with debugging. - - - Path builder used to help with tracking state while compiling. - - - Whether the top level projection has been found. - - - - Initializes a new instance. - - Rewrites introduces by normalizer. - - - Creates a projection plan from the specified . - Projection expression. - Tracks rewrite-to-source rewrites introduced by expression normalizer. - A new instance. - - - Binary visit method. - Binary expression to visit. - (Possibly rewritten) binary expression. - - This override is introduced because binary expressions are one of - the scopes at which normalization happens. - - - - Visits the specified expression. - Expression to check. - The visited expression. - - This override allows us to check for rewrites created by - ExpressionNormalizer.CreateCompareExpression. - - - - Unary visit method. - Unary expression to visit. - (Possibly rewritten) unary expression. - - This override is introduced because unary expressions are one of - the scopes at which normalization happens. - - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - Parameter visit method. - Parameter to visit. - Resulting expression. - - The parameter may get rewritten as a materializing projection if - it refers to an entity outside of member binding. In this case, - it becomes a standalone tracked entity. - - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - A MemberInitExpression on a knownEntityType implies that we - want to materialize the thing. - - - - Visits a method call expression. - Expression to visit. - A (possibly rewritten) expression for . - - - - Visit - - Expression to visit - an expression - - - LambdaExpression visit method. - The LambdaExpression to visit - The visited LambdaExpression - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Type arguments for method (possibly null). - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - - Rebind a call to DataServiceCollection constructor - - the constructor info - arguments to the constructor - An expression that calls the DSC constructor - - - Creates an expression that calls ProjectionCheckValueForPathIsNull. - Expression for root entry for paths. - Expression for expected type for entry. - Path to check null value for. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - Path to convert result for. - A new expression with the call instance. - - - - Rebinds a conditional that performs a null check on an entity. - - Conditional expression. - Results of null check analysis. - The rebound expression. - - Do a rewrite to avoid creating a type in the null check: - a.b == null ? null : [a.b]-based expression - becomes - ProjectionIsNull(a.b) ? null : [a.b]-based expression - - - - - Rebinds the specified expression by gathering - annotated paths and returning an expression that calls the - ProjectionGetEntity method. - - Member initialization expression. - A new expression suitable for materialization. - - - - Creates an expression that gets the deepest entry that will be found on the - specified (for the target tree). - - Path of expressions to walk. - An expression that invokes ProjectionGetEntry on the target tree. - - - Gets an expression before its rewrite. - Expression to check. - The expression before normalization. - - - Rebinds the specified parameter expression as a path-based access. - Expression to rebind. - Annotation for the expression to rebind. - The rebound expression. - - - Rebinds the specified member access expression into a path-based value retrieval method call. - Member expression. - Annotation for the base portion of the expression. - A rebound expression. - - - Rewrites NewExpression for DataServiceCollection to a constructor proxy method call. - The proxy is required for partially trusted appdomains. Paging information is preserved in the materializer. - NewExpression to create a collection - The rewritten expression. - - - Rewrites a call to Select() by adding to the current paths to project out. - Call expression. - Expression with annotated path to include in member binding. - - - Rewrites a call to ToList in the specified method. - Call expression. - Expression with annotated path to include in member binding. - - All that is necessary here is to rewrite the call to Select() and indicate - that the target type is a given List<T>. - - TODO: we're not bubbling this all the way to the GetOrCreateCollection method - does it matter? - - - - Rewrites a method call used in a sequence method (possibly over entity types). - Call expression. - Expression that can be called directly to yield the expected value. - - - Returns a method call that returns a list from a typed enumerable. - Expression to convert. - Target type to return. - The new expression. - - - Annotates an expression, typically from the target tree. - - - Segment that marks the path found to an expression. - - - - class for the event. - Exposes the ResponseMessage to the user. - - - - - Initializes a new instance of the class for a - non-batch or top level $batch response. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - - - - Initializes a new instance of the class. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - Indicates if this response is to an inner batch query or operation. - - - - Gets the response message that the client is receiving. - - - - - True if the response is an inner batch operation or query; false otherwise. - - - - - Descriptor for the request that the client is receiving the response for. - The descriptor may be null for certain types of requests, like most GET requests - and the top level $batch request. - - - - - Collection for header name/value pairs which is known to be case insensitive. - - - - - Case-insensitive dictionary for storing the header name/value pairs. - - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of . - - The response message to pull the headers from. - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of which is empty. - - - - - Adds default system headers - Currently it sets User-Agent header as default system header - - - - - Tries to get the value of the header with the given name, if it is in the collection. - - The header name to look for. - The header value, if it was in the collection. - Whether or not the header was in the collection. - - - - Gets the value of the header, or null if it is not in the collection. - - The header name to look for. - The header value or null. - - - - Sets a header value. Will remove the header from the underlying dictionary if the new value is null. - - The header name to set. - The new value of the header. - - - - Sets multiple header values at once. - - The headers to set. - - - - Gets an enumeration of the header values in the collection. - - An enumeration of the header values in the collection. - - - - Sets the request DataServiceVersion and MaxDataServiceVersion. - - DSV to set the request to. - Max protocol version, which MDSV will essentially be set to. - - - - Sets the header if it was previously unset. - - The header to set. - The new header value. - - - - Sets UserAgent header - - - - - Creates a copy of the current header collection which uses a different dictionary to store headers. - - A copy of the current headers. - - - - Gets the DataServiceVersion as a Version object if it is encoded as a proper version string with an optional Util.VersionSuffix ending. - - The DataServiceVersion header as a Version object. - - - - Gets the underlying dictionary the headers are stored in. Should only be used when absolutely necessary for maintaining public API. - - - - - Gets the names of all the headers in the collection. - - - - - Class which wraps the dataservicecontext and exposes information required for - generating request to send to the server - - - - The type resolver for the current request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - Whether this is a continuation request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. The reasons for doing this are to give us a place - to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - ODataRequestMessageWrapper instance - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - The entity descriptor. - The server type name for the entity. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - Client type annotation. - The server type name for the entity. - - - - Infers the server type name for the entity tracked in the given descriptor based on the server model. - - The descriptor containing the entity to get the type name for. - The type name or null if it could not be inferred. - - - - Fires the WritingEvent event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Returns the instance of ResponseInfo class, which provides all the information for response handling. - - merge option to use for handling the response conflicts. - If this parameter is null the default MergeOption value from the context is used. - instance of response info class. - - - - Returns the instance of LoadPropertyResponseInfo class, which provides information for LoadProperty response handling. - - Merge option to use for conflict handling. - Entity whose property is being loaded. - Property which is being loaded. - Instance of the LoadPropertyResponseInfo class. - - - - Validates that the response version can be accepted as a response for this request - - The version of the response (possibly null if none was specified) - Exception if the version can't be accepted, otherwise null. - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Returns an instance of the IODataRequestMessage - - Arguments for creating the request message. - an instance of the IODataRequestMessage - - - - Asks the context to Fire the BuildingRequest event and get RequestMessageArgs. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - The writing helper to use. - - - context instance. - - - - Whether this is a continuation request. - - - - Gets the URI used to indicate what type scheme is used by the service. - - - Override the namespace used for the data parts of the ATOM entries - - - Gets the configurations. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - Indicates if there are subscribers for the WritingEntity event - - - Whether to ignore extra properties in the response payload. - - - True if the context's ResolveName property has been set, otherwise false. - - - True if the context's ResolveName property can be determined to be a user-supplied value, instead of the one provided by codegen. - - - Gets the BaseUriResolver - - - Gets the response preference for Add and Update operations. - - - The maximum protocol version the client should understand. - - - - Returns true if there are subscribers to SendingRequest event. - - - - - Returns true if there are subscribers to SendingRequest event. - - - - - True if the user could have modified a part of the request. This lets us turn off assertions that normally - prevent us from making certain mistakes we don't mind the user intentionally ignoring. - - - - - Gets the authentication information used by each query created using the context object. - - - - - Get the timeout span in seconds to use for the underlying HTTP request to the data service. - - - - - Whether to use post-tunneling for PUT/DELETE. - - - - - Gets the client model. - - - - - Gets the tracker for the user-specified format to use for requests. - - - - - Gets the type resolver. - - - - - Gets the URL conventions the user set on the context. - - - - - The HTTP stack to use in Silverlight. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - - Wrappers the context and only exposes information required for - processing the response from the server - - - - The request that led to this response. - - - MergeOption to use to process the response. - - - - Creates a new instance of the ResponseInfo class which exposes all the information from - the context required for processing the response from the server. - - The request info - mergeOption - - - The reading helper to use. - - - - Whether this is a continuation request. - - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Override the namespace used for the data parts of the ATOM entries - - - MergeOption to use to merge the entities from the response and one present in the client. - - - Whether to ignore extra properties in the response payload. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - A flag indicating if the data service context is applying changes - - - Gets the type resolver instance. - - - Gets the BaseUriResolver - - - return the protocol version as specified in the client. - - - - Gets the client model. - - - - - Returns the DataServiceContext - Should be only used in DataServiceCollection constructor, where - we need to infer the context from the results. - - context instance. - - - - Gets the reading pipeline configuration - - - - - Information used for handling response to a LoadProperty request. - - - - - Constructs a new instance. - - Information about the request. - Merge option. - Entity whose property is being loaded. - Property which is being loaded. - - - - Entity whose property is being loaded. - - - - - Property being loaded. - - - - Event args for the SendingRequest2 event. - - - - Creates a new instance of SendingRequest2EventsArgs - - request message. - Descriptor that represents this change. - True if this args represents a request within a batch, otherwise false. - - - The web request reported through this event. The handler may modify or replace it. - - - The request header collection. - - - Returns true if this event is fired for request within a batch, otherwise returns false. - - - - Forwards calls to an OData Writer - - - - The odataWriter. - - - The payload writing events. - - - - Prevents a default instance of the class from being created. - - The odata writer. - The request pipeline configuration. - - - - Creates the odata entry writer. - - We never create a feed writer as the client doesn't support deep insert, if we did this would need to change - The message writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Creates the odata entry writer for testing purposes only - - The odata writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Writes the start. - - The entry. - The entity. - - - - Writes the end. - - The entry. - The entity. - - - - Writes the end. - - The link. - The source. - The target. - - - - Writes the end Actions. - - The link. - The source. - The target. - - - - Writes the navigation link end. - - - - - Writes the start. - - The navigation link. - The source. - The target. - - - - Writes the start for Navigation link. - - The navigation link. - The source. - The target. - - - - Writes the start for a collection of navigation links. - - The navigation link. - - - - Writes the entity reference link. - - The reference link. - The source. - The target. - - - IODataRequestMessage interface implementation. - - - Request Url. - - - The effective HTTP method. - - - RequestInfo instance. - - - HttpWebRequest instance. - - - List of header value to reset after SendingRequest event is fired. - - - True if the FireSendingRequest method is already called, otherwise false. - - - True if SendingRequest2Event is currently invoked, otherwise false. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - RequestInfo instance. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns a response from an Internet resource. - - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the Content length of the Http web request - - Http web request to set the content length on - Length to set - - - - Sets the accept charset. - - The HTTP web request. - The header value. - - - - Attempts to set the UserAgent property if it exists other wise returns false - - The http web request. - The value of the user agent. - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - This method is called just before firing SendingRequest2 event. - - - - - This method is called immd. after SendingRequest2 event has been fired. - - - - - Set the header values on the request. - - IODataRequestMessage instance containing all the headers. - Dictionary of cached headers. - The Effective http method. - - - - Create an instance of HttpWebRequest from the given IODataRequestMessage instance. This method - is also responsible for firing SendingRequest event. - - Http Method. - Request Url. - DataServiceClientRequestMessageArgs instance. - an instance of HttpWebRequest. - - - - Sets the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to apply the header to. - Name of the header. - Value of the header. - - - - Get the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to get the header value from. - Name of the header. - the value of the header with the given name. - - - - Convert the WebException into DataServiceWebException. - - WebException instance. - an instance of DataServiceWebException that abstracts the WebException. - - - - Fire SendingRequest event if its conditions are met. - If the user has a handler for BuildingRequest, we will throw. - If the user has no BuildingRequest handlers but does have a SendingRequest2 handler, we silently do not fire this event (this is shipped 5.0 behavior). - - - - Returns the request url. - - - Returns the method for this request. - - - Returns the collection of request headers. - - - Returns the underlying HttpWebRequest - - - - Gets or set the credentials for this request. - - - - - Gets or sets the timeout (in seconds) for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - IODataResponseMessage interface implementation - - - - Cached headers. - - - A func which returns the response stream. - - - The response status code. - - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Constructor. - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to read the response payload. - - Stream from which the response payload can be read. - - - - Close the underlying HttpWebResponse. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the collection of response headers. - - - - - Gets the underlying . - - - - - The response status code. - - - - - Component for converting properties on client types into instance of in order to serialize insert/update payloads. - - - - - The request info. - - - - - Initializes a new instance of the class. - - The request info. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The server type name of the entity whose properties are being populated. - The properties to populate into instance of ODataProperty. - Populated ODataProperty instances for the given properties. - - - - Creates and returns an ODataComplexValue from the given value. - - The value type. - The complex value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - True, if the value is an item in a collection, false otherwise. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataComplexValue representing the given value. - - - - Creates and returns an ODataCollectionValue from the given value. - - The type of the value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - The value. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataCollectionValue representing the given value. - - - - Returns the primitive property value. - - Value of the property. - Type of the property. - Returns the value of the primitive property. - - - - Gets the specified type name as an EDM Collection type, e.g. Collection(Edm.String) - - Type name of the items in the collection. - Collection type name for the specified item type name. - - - - Creates and returns an for the given primitive value. - - The property being converted. - The property value to convert.. - An ODataValue representing the given value. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The properties to populate into instance of ODataProperty. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - Populated ODataProperty instances for the given properties. - - - - Tries to convert the given value into an instance of . - - The property being converted. - The property value to convert.. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - The odata value if one was created. - Whether or not the value was converted. - - - - Returns the value of the complex property. - - Property which contains name, type, is key (if false and null value, will throw). - property value - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataComplexValue containing the value of the properties of the given complex type. - - - - Returns the value of the collection property. - - Collection property details. Must not be null. - Collection instance. - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataCollectionValue representing the value of the property. - - - - Adds a type annotation to the value if it is primitive and not defined on the server. - - The server type name of the entity whose properties are being populated. - The current property. - The already converted value of the property. - - - - Convert between primitive types to string and xml representation - - - - - Constructor - - - - - Create a parser token from xml feed - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - token - - - - Create a parser token from text representation ($value end points) - - The text form reprensentation - token - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - MethodInfo for the ToArray method on the Binary type. - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Converts the System.Data.Linq.Binary to byte[] by calling the ToArray method on the Binary type. - - Instance of Binary type. - Byte[] instance containing the value of the Binary type. - - - - The delay loaded binary type - - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between an instance of geography and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of geometry and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of DataServiceStreamLink and its xml representation. - There is never a scenario in client which requires to do this, but since a converter - is required, adding one which does nothing for namedstream. - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Represent a Primitive Type on the client - - - 1) Performance - For performance reasons we use several dictionaries here: - - clrMapping contains well known primitive types. Initialized in the static constructor and never changed - after initialization. Therefore it is safe to read without locks. Also see comment about Binary type below - - derivedPrimitiveTypeMapping - a map for custom primitive types derived from well known primitive types - - especially spatial types. New items may be added at runtime so reads and writes must be locked - - knownNonPrimitiveTypes - a HashSet of types we have seen and determined they are not primitive. Used - to shortcircuit logic for finding derived primitive types for types we know are not primitive. - To get a primitive type one *MUST NOT* clrMapping since clrMapping will not contain custom primitive types - but call TryGetPrimitiveType method that knows how to handle multiple dictionaries. - 2) System.Data.Linq.Binary - We want to avoid static dependency on System.Data.Linq.dll. On the other hand System.Data.Linq.Binary is - a well known primitive type. For performance reasons and to avoid locking the clrMapping is only initialized - in the static ctor when we don't have System.Data.Linq.Binary type handy. Therefore we use the dummy BinaryTypeSub - type during initialization. As a result to get a well known primitive type one *MUST NOT* use the clrMapping - dictionary directly but call TryGetWellKnownPrimitiveType() method which knows how to handle BinaryType. - - - - - Clr Type - Primitive Type mapping for well known primitive types - - - It is being initialized in the static constructor and must not change - later. This way we can avoid locking it. - - - - - Clr Type - Primitive Type mapping for custom derived primitive type (e.g. spatial types) - - - This dictionary contains type mapping for custom derived primitive types (e.g. spatial) that - are types discovered at runtime and added as we go. Any access to this dictionary requires locking. - - - - - Edm Type - Primitive Type mapping - - - - - Cache containing known non-primitive types. Any access to this hashset requires locking. - - - - - Static Constructor - - - - - Constructor - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - A PrimitiveXmlConverter that provides convertion between instances of this type to its Xml representation and back - Whether this primitive type can be mapped from the Edm type name - - - - Try retrieve a primitive type metadata from a clr type - - The Clr Type - The returning primitive type - True if the type is found - - See remarks for the class. - - - - - Try retrieve a primitive type metadata from a Edm Type Name - - Edm Type Name - The returning primitive type - True if the type is found - - - - Is this a known primitive type (including string,byte[],uri) - - type to analyze - true if known primitive type - - - - Is this a known primitive type or a nullable based on a primitive type (including string,byte[],uri) - - type to analyze, possibly nullable - true if known primitive type or a nullable based on a primitive type - - - - Delete the type from known type table - - The clr type - The edm type name to remove, or null - This is a test clean up hook. MUST NOT BE CALLED FROM PRODUCT CODE. - - - - Register a known type as primitive type - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - The Type Converter - Whether this mapping should have a reverse mapping from Edm - - This method is internal only for testing purposes. - IN PRODUCT MUST BE CALLED ONLY FROM THE STATIC CTOR OF THE PrimitiveType CLASS. - - - - - Creates a new instance of the corresponding IEdmPrimitiveType - - Returns a new instance of the corresponding IEdmPrimitiveType - - - - Populate the mapping table - - - MUST NOT BE CALLED FROM PRODUCT CODE OTHER THAN STATIC CTOR OF PrimitiveType class. - - - - - Tries to get a well known PrimitiveType for a clr type. Contains logic to handle Binary type. - - The clr type to get well known PrimitiveType for. - PrimitiveType for the if exists. Otherwise null. - true if a PrimitiveType for the was found. Otherwise false. - - - - Whether the is System.Data.Linq.Binary. - - Type to check. - true if is System.Data.Linq.Binary. Otherwise false. - - - - The Clr Type - - - - - The Edm Type Name - - - - - A PrimitiveXmlConverter that provides convertion between - instances of this type to its Xml representation and back - - - - - This type has a reverse edm type mapping - - - Some known primitive types have shared edm type mapping - Only one of these shared type can contain a reverse mapping - - - - - Gets the types EDM primitive type kind - - - - - There is no static dependency on System.Data.Linq where Binary type lives. We - will use this type to Substitute for the missing Binary type. - - - - - Represents a definition of an EDM primitive type. - - - - - Namespace of the type. - - - - - Name of the type. - - - - - The kind of primitive. - - - - - Creates an instance of the client EDM primitive type. - - Namespace of the type. - Name of the type. - Kind fo the primitive type. - - - - Creates a new instance of the IEdmPrimitiveType - - Kind of primitive type. - Returns a new instance of the IEdmPrimitiveType - - - - Name of the type. - - - - - Namespace of the type. - - - - - Kind of the primitive type. - - - - - The kind of this schema element. - - - - - Kind of this type. - - - - - A parser token - - - - - Materialize this token using a PrimitiveTypeConverter - - The primitive type - A materialized instance - - - - Textual based parser token - - - - - Constructor - - Textual value - - - - Materialize by calling the Parse method on the converter - - clrType - A materialized instance - - - - The text property - - - - - Instance based parser token, where the token is the materialized instance - - The instance type - - - - Constructor - - The instance - - - - Materialize by returning the instance - - A primitive type converter - The instance - - - - The instance - - - - Equality comparer implementation that uses reference equality. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accesses statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - Single instance per 'T' for comparison. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - Returns a singleton instance for this comparer type. - - - - Class which implements the for the GetReadStream operation. - Note that this effectively behaves as a simple wrapper around the IAsyncResult returned - by the underlying HttpWebRequest, although it's implemented fully on our own to get the same - behavior as other IAsyncResult objects returned by the client library. - - - - The web request this class wraps (effectively) - - - descriptor of the stream which is getting queried. - - - RequestInfo for this request. - - - IODataResponseMessage containing all the response information. - - - - Constructs a new async result object - - The source of the operation. - Name of the method which is invoked asynchronously. - The object which is wrapped by this async result. - User specified callback for the async operation. - User state for the async callback. - stream descriptor whose value is getting queried. - - - - Begins the async request - - - - - Ends the request and creates the response object. - - The response object for this request. - - - - Executes the request synchronously. - - - The response object for this request. - - - - invoked for derived classes to cleanup before callback is invoked - - - Set the AsyncWait and invoke the user callback. - the request object - This method is not implemented for this class. - - - - Async callback registered with the underlying HttpWebRequest object. - - The async result associated with the HttpWebRequest operation. - - - - Holds state (Path, lambda parameter stack, etc) for projection analysis. - - - - This class is used as a marker for an entity projected in its entirety. - - - The request data service version for the projection and expand paths - - - Initializes a new instance. - - - Starts a new path. - - - - Appends the given property and source TypeAs to the projection and expand paths. - - Navigation property - The TypeAs type if the source of the member access expression is a TypeAs operation. Null otherwise. - Data service context instance. - - - - Appends a name of a property/link/type to the current projection path. - - name of the property/link/type which needs to be added to the select path. - if originally present in the path, replace the entity marker after appending the name - the string builder containing all the select paths. - - - - Appends a name of a property/link/type to the current expand path. - - name of the property/link/type which needs to be added to the expand path. - - - - If the path ends with the EntireEntityMarker, remove it from the path. - - path - True if the EntireEntityMarker was found. - - - - Adds the EntireEntityMarker to the end of the path - - path - - - The request data service version for the projection and expand paths - - - - Analyzes projection expressions to see if supported. - To be writable, must follow these rules: - 1) Must be known Entity Type - 2) Must be a true narrowing of the source type. Subset of properties + no transformations other then casts. - - To be materializable (read-only), must follow these rules - 1) No transient object creation. (Entity and non-Entity types) - 2) No referencing of other DataService queries or contexts. - - - - - Analyzes a lambda expression to check whether it can be satisfied with - $select and client-side materialization. - - Lambda expression. - Resource expression in scope. - Whether member accesses are matched as top-level projections. - Context of expression to analyze. - true if the lambda is a client-side projection; false otherwise. - - - - Checks whether the specified refers - to a sequence method call allowed on entity types. - - Method call expression to check. - true if the method call is allowed; false otherwise. - The method won't check whether the call is made on actual entity types. - - - - Checks whether the specified refers - to a Select method call that works on the results of another Select call - - Method call expression to check. - Type of the projection - - - - Checks whether the specified expression creates a collection. - - Expression to check. - true if given expression is collection producing. - - - - Checks whether the specified expression is allowed in a MethodCall. Expressions that - produce collections are not allowed. The only exception is when collection property - belongs to an entity e.g. c.Orders.Select(o => o), where we allow c.Orders. - - Expression to check. - The client model used. - true if expression is disallowed, false otherwise. - - - - Analyzes the specified expression with an entity-projection or - non-entity-projection analyzer. - - Expression to analyze. - Path box where select and expand paths are tracked. - Context of expression to analyze. - - - - Analyzes the specified for selection and updates - . - - Lambda expression to analyze. - Resource expression to update. - Context of expression to analyze. - - - Skips converts and returns the underlying expression. - Expression to dig into. - The original expression without converts. - - IMPORTANT: This is fine for checks on underlying expressions where we - want converts to be "mostly" transparent, but using the result in - place of the given loses information. - - - - Path-tracking object. - - - Type being member-init'ed. - - - - This analyzer iterates through the list of member assignments in the MemberInitExpression - and visits each one. This field tracks if the currently visited member assignment is a - MemberAccessExpression, used for determining if a TryAs convert should be emitted when visited. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TryAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Initializes a new instance. - Path-tracking object. - Type being member-init'ed. - Context of expression to analyze. - - - Analyzes the specified member-init expression. - Expression to analyze. - Path-tracking object to store analysis in. - Context of expression to analyze. - - - - Specific Vistior base class for the DataServiceQueryProvider. - - - - - Main visit method. - - Expression to visit - Visited expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - NavigationPropertySingletonExpressionvisit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - Visit an , producing a new InputReferenceExpression - based on the visited form of the that is referenced by - the InputReferenceExpression argument, . - - InputReferenceExpression expression to visit - Visited InputReferenceExpression expression - - - See corresponding comment in EntityProjectionAnalyzer - - - See corresponding comment in EntityProjectionAnalyzer - - - Visits a unary expression while initializing a non-entity type structure. - Expression to visit. - The visited expression. - - - - Visits a member access expression in non-entity projections, validating that - it's correct and recording the path visit to include in a projection if necessary. - - Expression to visit. - The same expression. - - The projection analyzer runs after funcletization, so a member expression - rather than a constant expression implies that this is correlated to - a parameter, by dotting through the argument in valid cases, and possibly - more complex cases in others like new DSC(p.Orders)*.Foo* <- .Foo is invalid. - - - - - An resource specific expression representing a projection query option. - - - - - An resource specific expression representing a query option. - - - - The CLR type this node will evaluate into. - - - - Creates a QueryOptionExpression expression - - the return type of the expression - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the value represented by this . - - - - projection expression to evaluate on client on results from server to materialize type - - - projection paths to send to the server - - - - Creates a ProjectionQueryOption expression - - the return type of the expression - projection expression - Projection paths for the query option - - - - The of the . - - - - - expression for the projection - - - - - expression for the projection - - - - Represents the components of query. - - - Query option used in projection queries. - - - Select query option as it appears at the beginning of a query string. - - - Select query option as it appears in the middle of a query string. - - - type - - - Records the generated-to-source rewrites created. - - - selector Lambda Expression - - - HttpMethod to use in the query. - - - List of parameters for a service operation or a service function. - - - List of parameters for service action. - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - Version for query - - - - Constructs a container for query components with HttpMethod GET. - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - - - - Constructs a container for query components - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - The HttpMethod to be used in the request. - If true, then a single primitive or complex value is expected. If false, then a collection of primitives or complex - is expected. Should be null when expecting a void response, a single entry, or a feed. - The body operation parameters associated with a service action. - The uri operation parameters associated with a service function or a service operation. - - - - Determines whether or not the specified query string contains the $select query option. - - String that may contain $select. - True if the specified string contains the $select query option, otherwise false. - - This method is specifically looking for patterns that would indicate we really have the specific query option and not something like $selectNew. It also expects that - any data string being passed to this method has already been escaped, as the things we are looking for specifically contain equals signs that would be escaped if in a data value. - - - - Records the generated-to-source rewrites created. - - - The projection expression for a query - - - The last segment type for query - - - The data service version associated with the uri - - - The HttpMethod to be used in the query. - - - - List of operation parameters for service operation or a service function. - - - - - List of operation parameters for a service action. - - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - - Gets a value indicating whether the URI for this query has the select query option. - - - - Gets or sets the URI for a query, possibly with query options added to the cached URI. - URI with additional query options added if required. - - - - Static utility class for identifying methods in Queryable, Sequence, and IEnumerable - and - - - - - Identifies methods as instances of known sequence operators. - - Method info to identify - Identified sequence operator - true if method is known; false otherwise - - - - Check to see if this is an Any or an All method - - sequence method to check. - true if sequence method is Any or All, false otherwise. - - - - Requires: - - no collisions on type names - - no output or reference method parameters - - - Produces a string description of a method consisting of the name and all parameters, - where all generic type parameters have been substituted with number identifiers. - - Method to identify. - Canonical description of method (suitable for lookup) - - - - Returns all static methods in the Queryable and Enumerable classes. - - - - - Enumeration of known extension methods - - - - - Represents a reference to a bound resource set in the resource path. - The type of the input reference is the element type of the set. - - - Because the type of the input reference is the element type of the set, - it can be used to indicate what a range variable ranges over. - - For example, in input.Select(b => b.id), 'input' is an IQueryable of T, - and 'b' is a parameter of type T. 'b' can be rebound as an input reference - to 'input' by the InputBinder, which helps in query analysis and - translation. - - - - The resource or set referred to by this input reference expression - - - - Constructs a new input reference expression that refers to the specified resource set - - The target resource set that the new expression will reference - - - - Retargets this input reference to point to the resource set specified by . - - The that this input reference should use as its target - - - - The of the value represented by this . - - - - - The of the . - - - - - Retrieves the resource set referred to by this input reference expression - - - - - The counting option for the resource expression - - - - No counting - - - Translates to the $count segment. - - - Translates to the $inlinecount=allpages query option - - - - Abstract base class for expressions that support Query Options - - - - Source expression. - - - Singleton InputReferenceExpression that should be used to indicate a reference to this element of the resource path - - - The CLR type this node will evaluate into. - - - expand paths - - - The count query option for the resource set - - - custom query options - - - projection expression - - - Uri version for the expression and also the expand and projection paths - - - - Creates a Resource expression - - the source expression - the return type of the expression - the expand paths - the count option - The custom query options - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Creates an that refers to this component of the resource path. - The returned expression is guaranteed to be reference-equal (object.ReferenceEquals) - to any other InputReferenceExpression that also refers to this resource path component. - - The InputReferenceExpression that refers to this resource path component - - - Raise the UriVersion if it is lower than . - Uri version from the expand and projection paths - - - - The of the value represented by this . - - - - - Resource type for this expression (for sets, this is the element type). - Never null. - - - - - The resource type that this expression is explicitly converted to by a TypeAs - expression (i.e., "as" operator in C#, "TryCast" in VB). Null if no conversion. - - - - - Uri version from the expand and projection paths - - - - - Does this expression produce at most 1 resource? - - - - - Expand query option for ResourceSet - - - - - Count query option for ResourceSet - - - - - custom query options for ResourceSet - - - - Description of the projection on a resource. - - This property is set by the ProjectionAnalyzer component (so it - mutates this instance), or by the ResourceBinder when it clones - a ResourceExpression. - - - - - Gets the source expression. - - - - - performs funcletization on an expression tree - - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A function that decides whether a given expression node can be part of the local function. - A new tree with sub-trees evaluated and replaced. - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A new tree with sub-trees evaluated and replaced. - - - - Evaluates if an expression can be evaluated locally. - - the expression. - true/ false if can be evaluated locally - - - - Evaluates and replaces sub-trees when first candidate is reached (top-down) - - - - list of candidates - - - - constructs an expression evaluator with a list of candidates - - List of expressions to evaluate - - - - Evaluates an expression sub-tree - - The expression to evaluate. - The evaluated expression. - - - - Visit method for visitor - - the expression to visit - visited expression - - - - Evaluates expression - - the expression to evaluate - constant expression with return value of evaluation - - - - Performs bottom-up analysis to determine which nodes can possibly - be part of an evaluated sub-tree. - - - - func to determine whether expression can be evaluated - - - candidate expressions for evaluation - - - flag for when sub tree cannot be evaluated - - - - Creates the Nominator based on the function passed. - - - A Func speficying whether an expression can be evaluated or not. - - visited expression - - - - Nominates an expression to see if it can be evaluated - - - Expression to check - - a list of expression sub trees that can be evaluated - - - - Visit method for walking expression tree bottom up. - - - root expression to visit - - visited expression - - - - Replaces expression patterns produced by the compiler with approximations - used in query translation. For instance, the following VB code: - - x = y - - becomes the expression - - Equal(MethodCallExpression(Microsoft.VisualBasic.CompilerServices.Operators.CompareString(x, y, False), 0) - - which is normalized to - - Equal(x, y) - - Comment convention: - - CODE(Lang): _VB or C# coding pattern being simplified_ - ORIGINAL: _original LINQ expression_ - NORMALIZED: _normalized LINQ expression_ - - - - - If we encounter a MethodCallExpression, we never need to lift to lift to null. This capability - exists to translate certain patterns in the language. In this case, the user (or compiler) - has explicitly asked for a method invocation (at which point, lifting can no longer occur). - - - - - Gets a dictionary mapping from LINQ expressions to matched by those expressions. Used - to identify composite expression patterns. - - - - Records the generated-to-source rewrites created. - - - Initializes a new instance. - Dictionary in which to store rewrites. - - - - Applies normalization rewrites to the specified - , recording them in the - dictionary. - - Expression to normalize. - Dictionary in which to record rewrites. - The normalized expression. - - - - Handle binary patterns: - - - VB 'Is' operator - - Compare patterns - - - - - CODE: x - ORIGINAL: Convert(x, t) where t is assignable from typeof(x) - ORIGINAL: x as t, where t is assignable from typeof(x) - ORIGINAL: and typeof(x) or t are not known primitives unless typeof(x) == t - ORIGINAL: and x is not a collection of entity types - NORMALIZED: x - - - - - CODE: x - ORIGINAL: Convert(x, typeof(object)) - ORIGINAL(Funcletized): Constant(x, typeof(object)) - NORMALIZED: x - - - - - Returns true if the given expression is a constant '0'. - - - - - Handles MethodCall patterns: - - - Operator overloads - - VB operators - - - - - Handles MethodCall patterns (without recording rewrites): - - - Operator overloads - - VB operators - - - - - Remove extra Converts from the source of Any/All/OfType methods - - - - - Identifies and normalizes any predicate argument in the given call expression. If no changes - are needed, returns the existing expression. Otherwise, returns a new call expression - with a normalized predicate argument. - - - - - Determines whether the given call expression has a 'predicate' argument (e.g. Where(source, predicate)) - and returns the ordinal for the predicate. - - - Obviously this method will need to be replaced if we ever encounter a method with multiple predicates. - - - - - Determines whether the given expression of the form Lambda(Coalesce(left, Constant(false)), ...), a pattern - introduced by the VB compiler for predicate arguments. Returns the 'normalized' version of the expression - Lambda((bool)left, ...) - - - - - Identifies and normalizes a Select method call expression of the following form: - Select(x => Convert(x)) - If a match is found, it is translated into a Cast() call. - - This supports type casting in queries like the following: - from DerivedType entity in context.Entities - select entity - Where DerivedType is derived from the type of context.Entities. - The pattern also applies to SelectMany calls with the same structure as above. - - In C#, the type cast above is represented as a Cast call and the ResourceBinder knows how to handle that. - In VB, the same query is translated into Select(x => Convert(x)) instead of Cast, and the ResourceBinder - doesn't recognize that pattern. This normalization allows the two queries to be treated the same. - - MethodCallExpression to potentially normalize. - - If the query pattern was found, a Cast call is returned with the same source as the original Select and - a cast type that is the same as the original Convert expression. - If no normalization is required, the original MethodCallExpression is returned without changes. - - - - - Looks for a method call expression of the form - Select(entity => Convert(entity, DerivedType)) - If found, returns DerivedType. - - Expression to check for pattern match. - If the match was found, this is the type used in the Convert, otherwise null. - True if the expression matches the desired pattern, otherwise false. - - - - Looks for a lambda expression of the form - related => Convert(related, DerivedType) - Returns DerivedType if a match was found. - - Expression to check for pattern match. - - If the matches the pattern, this is the type of the found Convert call, otherwise null. - - True if the expression matches the desired pattern, otherwise false. - - - - This method exists solely to support creation of valid relational operator LINQ expressions that are not natively supported - by the CLR (e.g. String > String). This method must not be invoked. - - - - - Create an operator relating 'left' and 'right' given a relational operator. - - - - - Try to create an operator relating 'left' and 'right' using the given operator. If the given operator - does not define a known relation, returns false. - - - - - CODE(C#): Class.Compare(left, right) - ORIGINAL: MethodCallExpression(Compare, left, right) - NORMALIZED: Condition(Equal(left, right), 0, Condition(left > right, 1, -1)) - - Why is this an improvement? We know how to evaluate Condition in the store, but we don't - know how to evaluate MethodCallExpression... Where the CompareTo appears within a larger expression, - e.g. left.CompareTo(right) > 0, we can further simplify to left > right (we register the "ComparePattern" - to make this possible). - - - - Records a rewritten expression as necessary. - Original source expression. - Rewritten expression. - - IMPORTANT: if there are higher-level rewrites such as replacing parameter - references, the lower-level rewrites will become un-doable in other - contexts; we will have to change normalization/de-normalization strategy, - record additional mapping information and/or bubble up the rewrite - tracking. - - - - Records the generated-to-source rewrites created. - - - - Encapsulates an expression matching some pattern. - - - - - Gets pattern kind. - - - - - Gets pattern kind. - - - - - Matches expression of the form x.CompareTo(y) or Class.CompareTo(x, y) - - - - - Gets left-hand argument to Compare operation. - - - - - Gets right-hand argument to Compare operation. - - - - - An resource specific expression representing a filter query option. - - - - - The individual expressions that makes the filter predicate - - - - - Creates a FilterQueryOptionExpression expression - - the return type of the expression - - - - Adds the conjuncts to individualExpressions - - The predicates. - - - - Gets the query option value. - - A predicate with all Conjuncts AND'ed - - - - The of the . - - - - - Gets the list of individual conjucts which are separated by AND for the predicate - i.e. if the filter statement is id1=1 and id2="foo" and id3=datetime'31' - then this list will have 3 entries, id1=1, id2="foo" and id3=datetime'xxxxxxxxx' - - - - - Replaces references to resource sets - represented as either ParameterExpressions or one or more - MemberExpressions over a ParameterExpression - with an appropriate InputReferenceExpression that - indicates which resource set is referenced; effective 'binds' the argument expression to the - resource sets that it references. - - - - Tracks which resource sets are referenced by the argument expression - - - Resource from which valid references must start; if no set with a transparent scope is present, only direct references to this resource will be rebound - - - The input resource, as a resource set (may be null if the input is actually a NavigationPropertySingletonExpression) - - - The ParameterExpression that, if encountered, indicates a reference to the input resource set - - - - Constructs a new InputBinder based on the specified input resource set, which is represented by the specified ParameterExpression. - - The current input resource from which valid references must start - The parameter that must be referenced in order to refer to the specified input resource set - - - - Replaces Lambda parameter references or transparent scope property accesses over those Lambda - parameter references with s to the appropriate corresponding - s, based on the 'input' ResourceSetExpression to which the - Lambda is logically applied and any enclosing transparent scope applied to that input resource set. - - The expression to rebind - - The 'current input' resource set - either the root resource set or the - rightmost set in the navigation chain. - The Lambda parameter that represents a reference to the 'input' set - A list that will be populated with the resource sets that were referenced by the rebound expression - - The rebound version of where MemberExpression/ParameterExpressions that - represent resource set references have been replaced with appropriate InputReferenceExpressions. - - - - - Resolves member accesses that represent transparent scope property accesses to the corresponding resource set, - iff the input resource set is enclosed in a transparent scope and the specified MemberExpression represents - such a property access. - - MemberExpression expression to visit - - An InputReferenceExpression if the member access represents a transparent scope property - access that can be resolved to a resource set in the path that produces the input resource set; - otherwise the same MemberExpression is returned. - - - - - Converts a parameter reference to the input resource set into an InputReferenceExpression, - iff the parameter reference is to the parameter expression that represents the input resource set - and the input resource set is not enclosed in a transparent scope. - - The parameter reference expression - - An InputReferenceExpression if the parameter reference is to the input parameter; - otherwise the same parameter reference expression - - - - - Returns an that references the specified resource set, - and also adds the the resource set to the hashset of resource sets that were referenced by the - expression that is being rebound. - - The resource(set) for which a reference was found - An InputReferenceExpression that represents a reference to the specified resource set - - - - An resource specific expression representing a OrderBy query option. - - - - selectors for OrderBy query option - - - - Creates a OrderByQueryOptionExpression expression - - the return type of the expression - selectors for orderby expression - - - - The of the . - - - - - Selectors for OrderBy expression - - - - - Structure for selectors. Holds lambda expression + flag indicating desc. - - - - - lambda expression for selector - - - - - flag indicating if descending - - - - - Creates a Selector - - lambda expression for selector - flag indicating if descending - - - - This class provides a Bind method that analyzes an input and returns a bound tree. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TypeAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Analyzes and binds the specified expression. - Expression to bind. - The context of the expression used for bind. - - The expression with bound nodes (annotated expressions used by - the Expression-to-URI translator). - - - - - Checks whether the specified is - missing necessary key predicates. - - Expression to check. - - true if the expression is a navigation expression and doesn't - have the necessary key predicates on the associated resource - expression; false otherwise. - - - - - Verifies that all key predicates are assigned to the specified expression. - - Expression to verify. - - - Verifies that the specified is not a projection based on SelectMany. - Expression to check. - - - Analyzes a predicate (Where clause). - for a Where call. - The model. - - An equivalent expression to , possibly a different one with additional annotations. - - - - - Validates neither operands of the binary expression filter ends with TypeAs - - filter expression - method name where this filter is passed to - - - - Given a list of predicates, extracts key values for the specified . - - Target set. - Candidate predicates. - Returns list of non-key predicates. - List of key predicates if found, otherwise null - - - Adds all AND'ed expressions to the specified list. - Expression to recursively add conjuncts from. - Target list of conjucts. - - - - Analyzes the specified call to see whether it is recognized as a - projection that is satisfied with $select usage. - - Call expression to analyze. - Kind of sequence method to analyze. - Resulting expression. - true if is a projection that can be satisfied with $select; false otherwise. - - - - Analyzes the specified method call as a WCF Data - Services navigation operation. - - Expression to analyze. - Data service context instance - An expression that represents the potential navigation. - - - - Analyzes a .Select or .SelectMany method call to determine - whether it's allowed, to identify transparent identifiers - in appropriate .SelectMany() cases, returning the method - call or a resource set expression. - - Expression to analyze. - Data service context instance - - , or a new resource set expression for - the target resource in the method call for navigation properties. - - - - - Analyzes the nav prop reference for a SelectMany method call - building the appropriate ResourceSetExpression if one can be - created. - - Input resource expression to the collector - The navigation property reference to analyze - Data service context instance - The resource set expression - true if succesful, else false - - - - Analyzes a SelectMany method call that ranges over a resource set and - returns the same method or the annotated resource set. - - SelectMany method to analyze. - Source resource set for SelectMany result. - Context of expression to analyze. - The visited expression. - - The expression represents the - navigation produced by the collector of the SelectMany() method call. - - - - Ensures that there's a limit on the cardinality of a query. - for the method to limit First/Single(OrDefault). - Maximum cardinality to allow. - - An expression that limits to no more than elements. - - This method is used by .First(OrDefault) and .Single(OrDefault) to limit cardinality. - - - - Analyzes the OfType method call - - The OfType method call expression - The MaxProtocolVersion of the client - , or a resource set expression with ResourceTypeAs set. - - - - Analyzes Any and All method calls - - Any/All method call expression - The MaxProtocolVersion of the client - , resource set or a collection property expression. - - - Creates a new resource set as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the set. - The member access on that yields the set. - The resource type on the set. - A new instance. - - - Creates a new resource singleton as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the singleton. - The member access on that yields the singleton. - A new instance. - - - - Produces a new that is a clone of in all respects, - other than its result type - which will be - and its transparent scope, - which will be null. This is a shallow clone operation - sequence query options, key predicate, etc are - not cloned, but are reassigned to the new instance. The resource expression should be - discarded after being used with this method. - - The result type - - that the new resource set expression should have. - The resource set expression from which the transparent scope is being removed - A new resource set expression without an enclosing transparent scope and with the specified result type. - - - Returns the specified expression, stripping redundant converts. - Expression to return. - e, or the underlying expression for redundant converts. - - - - Strips the specifed of intermediate - expression (unnecessary converts and quotes) and returns - the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The underlying expression for . - - - - Strips the specifed of intermediate unnecessary converts - and quotes, and returns the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The converted type for typeAs expressions. - The underlying expression for . - - - Strips calls to .Cast() methods, returning the underlying expression. - Expression to strip calls from. - The underlying expression. - - Note that this method drops information about what the casts were, - and is only supported for collector selectors in SelectMany() calls, - to enable scenarios such as from t in ctx.Tables from Customer c in t.Items... - - - - Convenience property: model. - - - Use this class to perform pattern-matching over expression trees. - - Following these guidelines simplifies usage: - - - Return true/false for matches, and interesting matched information in out parameters. - - - If one of the inputs to be matched undergoes "skipping" for unnecesary converts, - return the same member as an out parameter. This forces callers to be aware that - they should use the more precise representation for computation (without having - to rely on a normalization step). - - - - - Checks whether the is a convert that - always succeeds because it converts to the same target type or a - base type. - - Expression to match. - - true if is a convert to same or base type; false otherwise. - - - - - Checks whether is a lambda of the - form (p) => p.member[.member]* (possibly quoted). - - Expression to match. - true if the expression is a match; false otherwise. - - This method strip .Call methods because it's currently used only - to supporte .SelectMany() collector selectors. If this method - is reused for other purposes, this behavior should be made - conditional or factored out. - - - - - Checks whether the specified expression is a path of member - access expressions. - - Expression to match. - Data service context instance - Expression equivalent to , without unnecessary converts. - Expression from which the path starts. - Path of member names from . - Uri version. - true if there is at least one property in the path; false otherwise. - - - - Checks whether the specified member expression refers to a member - that is a non-private property (readable and with getter and/or setter). - - Expression to check. - Non-null property info when result is true. - The property access target. - Whether the member refers to a non-private, readable property. - - - - Checks whether the specified is a member access to a key. - - Expression to check. - If this is a key access, the property for the key. - true if is a member access to a key; false otherwise. - - - - Checks whether the specified matches - a call to System.Object.ReferenceEquals. - - Expression to check. - true if the expression matches; false otherwise. - - - - Checks whether the specifed refers to a resource. - - Expression to check. - Resource expression if successful. - true if the expression is a resource expression; false otherwise. - - - - Checks whether the specified expression is a lambda with a two parameters - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with two parameters. - - - - Checks whether the specified is a selector - of the form (p) => p. - - Expression to check. - true if the lambda is an identity selector; false otherwise. - - - - Checks whether the specified expression is a lambda with a single parameter - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the single parameter. - true if the expression is a lambda with a single argument. - - - - Checked whether the specified has the - form [input's transparent scope].[accessor]. - - Input expression (source) for the selector. - Selector lambda. - Data service context - true if the selector's body looks like [input's transparent scope].[accesor]. - - - - Checks wheter the specified lambda matches a selector that yields - a transparent identifier. - - - The input expression for the lambda, used to set up the - references from the transparent scope if one is produced. - - Lambda expression to match. - - After invocation, information on the accessors if the result - is true; null otherwise. - - - true if is a selector for a transparent - identifier; false otherwise. - - - Note that C# and VB.NET have different patterns for accumulating - parameters. - - C# uses a two-member anonymous type with "everything so far" - plus the newly introduced range variable. - - VB.NET uses an n-member anonymous type by pulling range variables - from a previous anonymous type (or the first range variable), - plus the newly introduced range variable. - - For additional background, see: - Transparent Identifiers - http://blogs.msdn.com/wesdyer/archive/2006/12/22/transparent-identifiers.aspx - http://msdn.microsoft.com/en-us/library/bb308966.aspx - In particular: - - 26.7.1.4 From, let, where, join and orderby clauses - - 26.7.1.7 Transparent identifiers - - is the expression that represents the - navigation resulting from the collector selector in the - SelectMany() call under analysis. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance. - Navigation member, equivalent to without unnecessary casts. - - true if is a property collection that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance - Member expression, equivalent to without unnecessary casts. - - true if is a scalar property or singleton navigation property that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access with the specified cardinality (per ) - that references . - - Expression to check. - InputReferenceExpression to consider as source. - - Whether the match should be for a set of related entities or a singleton property. - Singleton properties can be scalar types (including collection and other enumerable types like byte[]), complex types, or singleton navigation properties. - Related set properties are only navigation properties. - - Data service context instance. - Member expression for accessing the property, equivalent to without unnecessary casts. - - true if is a property that originates in - and is the expected cardinality (per ); false otherwise. - - - - - Checks whether is a logical negation - expression. - - Expression to check. - true if expression is a Not expression; false otherwise. - - - Checks whether the type of the specified expression could represent a set of related resources. - Expression to check. - The model that the client uses. - true if the type of the expression could represent a set of related resources; false otherwise. - - - - Checks whether is a conditional expression - that checks whether a navigation property (reference or collection) is - null before proceeding. - - Entity in scope to be checked. - Expression to check. - Check results. - - - Checks whether the specified is a null constant. - Expression to check. - true if is a constant null value; false otherwise. - - - - Checks whether is a "new DataServiceCollection of T". - - The expression to match - true if the expression matches the "new DataServiceCollection of T" or false otherwise. - - - - Checks whether is a "new ICollection of T". - - The expression to match - - - - - Checks whether is a check for - equality on two expressions. - - Expression to match. - - A structure describing whether the expression is a match, - whether it yields true on equality (ie, '==' as opposed to '!='), - and the compared expressions. - - - This pattern recognizes the following: - - Calls to object.ReferenceEquals - - Equality checks (ExpressionNodeType.Equals and ExpressionNodeType.NotEquals) - - Negation (ExpressionNodeType.Not) - - - - - Checks whether the expression is a - simple access (standalone or member-access'ed) on one of the - parameter . - - Argument to match. - Candidate parameters. - - true if the argument is a parmater or a member from a - parameter; false otherwise. - - - - - Checks whether the specified expression is a lambda with a parameterCount parameters - (possibly quoted). - - Expression to match. - Expected number of parametrs. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with parameterCount parameters. - - - - Use this class to represent the results of a match on an expression - that does a null check before accessing a property. - - - - Expression used to assign a value when the reference is not null. - - - Whether the expression analyzed matches a null check pattern. - - - Expression being checked againt null. - - - - Use this class to represent the results of a match on an expression - that checks for equality . - - - - Whether a positive equality yields 'true' (ie, is this '==' as opposed to '!='). - - - Whether the expression analyzed matches an equality check pattern. - - - The left-hand side of the check. - - - The right-hand side of the check. - - - - Throws the NotSupportedException for the $format query option. - - - - - Detect and disallow member access for certain known types, in 'where' requests. - - - - - Detect and disallow member access for certain known types, in 'orderby' requests. - - - - - Used to identify and block navigation to members of collection property in select statement. - e.g. from c in ctx.Customers select c.CollectionProperty.member - - - - - We do not support type identifier at the end of a path. - For example, these would throw: - select p as Employee - select p.BestFriend as Employee - Expand(p => p.BestFriend as Employee) - - expression passed to validate - The context of where is applied - - - - Checks whether the specified is a valid expand path. - - The lambda expression for the expand path - Data service context instance. - Expand path - Uri version - - - - Detect and disallow member access for certain known types, in 'where' and 'orderby' requests. - - - - - Equality and comparison implementation for PropertyInfo. - - - - - private constructor for the singleton pattern - - - - - Static property which returns the single instance of the EqualityComparer - - - - - Checks whether the given property info's refers to the same property or not. - - first property info - second property info - true if they refer to the same property, otherwise returns false. - - - - Computes the hashcode for the given property info - - property info whose hash code needs to be computed. - the hashcode for the given property info. - - - - Use this visitor to detect whether an Expression is found in an - Expression tree. - - - - Target expression being sought. - - - Whether the target has been found. - - - - Initializes a new that - searches for the given . - - Target expression to look for. - - - - Checks whether the specified can - be found in the given . - - Expression sought. - Expression tree to look into. - true if target is found at least once; false otherwise. - - - Visits the specified expression. - Expression to visit. - The visited expression (). - - - Enum for resource expression types - - - ResourceSet Expression - - - Resource Navigation Expression - - - Resource Navigation Expression to Singleton - - - Take Query Option Expression - - - Skip Query Option Expression - - - OrderBy Query Option Expression - - - Filter Query Option Expression - - - Reference to a bound component of the resource set path - - - Projection Query Option Expression - - - Expand Query Option Expression - - - Expression for a navigation property into a single entity (eg: Customer.BestFriend). - - - property member name - - - resource type - - - - Creates a NavigationPropertySingletonExpression expression - - the return type of the expression - the source expression - property member name - resource type for expression - expand paths for resource set - count option for the resource set - custom query options for resourcse set - projection expression - target expression type for a TypeAs conversion - version of the Uri from the expand and projection paths - - - - Cast changes the type of the ResourceExpression - - new type - new NavigationPropertySingletonExpression - - - - The of the . - - - - - Gets the member expression. - - - - - The resource type of the singe instance produced by this singleton navigation. - - - - - Singleton navigation properties always produce at most 1 result - - - - - Does Singleton navigation have query options. - - - - ResourceSet Expression - - - - The (static) type of the resources in this resource set. - The resource type can differ from this.Type if this expression represents a transparent scope. - For example, in TransparentScope{Category, Product}, the true element type is Product. - - - - property member name - - - key predicate - - - sequence query options - - - enclosing transparent scope - - - Key Predicate conjuncts that will make a key predicate - - - - Creates a ResourceSet expression - - the return type of the expression - the source expression - property member name - the element type of the resource set - expand paths for resource set - count query option for the resource set - custom query options for resourcse set - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Cast ResourceSetExpression to new type - - - - - Cast ResourceSetExpression to new type without affecting member type - - - - - Converts the key expression to filter expression - - - - - Adds a filter to this ResourceSetExpression. - If filter is already presents, adds the predicateConjunts to the - PredicateConjucts of the filter - - - - - Add query option to resource expression - - - - - Removes the filter expression from current resource set. - This happens when a separate Where clause is specified in a LINQ - expression for every key property. - - - - - Instructs this resource set expression to use the input reference expression from as it's - own input reference, and to retarget the input reference from to this resource set expression. - - The resource set expression from which to take the input reference. - Used exclusively by . - - - - Sets key predicate from given values - - - - - Gets the key properties from KeyPredicateConjuncts - - - - - Creates a clone of the current ResourceSetExpression with the specified expression and resource types - - The new expression type - The new resource type - A copy of this with the new types - - - - The of the . - - - - - Member for ResourceSet - - - - - Type of resources contained in this ResourceSet - it's element type. - - - - - Is this ResourceSet enclosed in an anonymously-typed transparent scope produced by a SelectMany operation? - Applies to navigation ResourceSets. - - - - - The property accesses required to reference this ResourceSet and its source ResourceSet if a transparent scope is present. - May be null. Use to test for the presence of a value. - - - - - Has a key predicate restriction been applied to this ResourceSet? - - - - - The list of key expressions that comprise the key predicate (if any) applied to this ResourceSet. - - - - - A resource set produces at most 1 result if constrained by a key predicate - - - - - Have sequence query options (filter, orderby, skip, take), expand paths, projection - or custom query options been applied to this resource set? - - - - - If this expresssion contains at least one non-key predicate - This indicates that a filter should be used - - - - - Filter query option for ResourceSet - - - - - OrderBy query option for ResourceSet - - - - - Skip query option for ResourceSet - - - - - Take query option for ResourceSet - - - - - Gets sequence query options for ResourceSet - - - - Whether there are any query options for the sequence. - - - - Represents the property accesses required to access both - this resource set and its source resource/set (for navigations). - - These accesses are required to reference resource sets enclosed - in transparent scopes introduced by use of SelectMany. - - - For example, this query: - from c in Custs where c.id == 1 - from o in c.Orders from od in o.OrderDetails select od - - Translates to: - c.Where(c => c.id == 1) - .SelectMany(c => o, (c, o) => new $(c=c, o=o)) - .SelectMany($ => $.o, ($, od) => od) - - PatternRules.MatchPropertyProjectionSet identifies Orders as the target of the collector. - PatternRules.MatchTransparentScopeSelector identifies the introduction of a transparent identifer. - - A transparent accessor is associated with Orders, with 'c' being the source accesor, - and 'o' being the (introduced) accessor. - - - - - The property reference that must be applied to reference this resource set - - - - - The property reference that must be applied to reference the source resource set. - Note that this set's Accessor is NOT required to access the source set, but the - source set MAY impose it's own Transparent Accessors - - - - - Constructs a new transparent scope with the specified set and source set accessors - - The name of the property required to access the resource set - The names of the property required to access the resource set's sources. - - - Provides a string representation of this accessor. - The text represntation of this accessor. - - - - An resource specific expression representing a skip query option. - - - - amount to skip - - - - Creates a SkipQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - - An resource specific expression representing a take query option. - - - - amount to skip - - - - Creates a TakeQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - Utility functions for processing Expression trees - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - VB Assembly name - - - VB Assembly public key token - - - Method map for methods in URI query options - - - VB Method map for methods in URI query options - - - Properties that should be represented as methods - - - - Cache used to store element type (TElement) for key Type if key Type implements IEnumerable{TElement} or - null if the key Type does not implement IEnumerable{T} e.g.: - List{Entity} - Entity - Entity - null - - - - - Initializes method map - - - - - Sees if method has URI equivalent - - The method info - uri method name - true/ false - - - - Sees if property can be represented as method for translation to URI - - The property info - get method for property - true/ false - - - - Gets the elementtype for a sequence - - The sequence type - The element type - - - - Determines whether a property is private - - The PropertyInfo structure for the property - true/ false if property is private - - - - Finds type that implements IEnumerable so can get element type - - The Type to check - returns the type which implements IEnumerable - - - Finds whether a non-primitive implements IEnumerable and returns element type if it does. - Type to check. - Type of the element if the implements IEnumerable{T}. Otherwise null. - - - - Checks if the given assembly is the VisualBasic assembly. - - assembly to check. - true if the assembly is Microsoft.VisualBasic, otherwise returns false.root - - - - utility class for helping construct uris - - - forwardslash character - - - leftparan character - - - rightparan character - - - questionmark character - - - ampersand character - - - equals character - - - at sign - - - dollar sign character - - - space - - - comma - - - colon - - - single quote - - - asterisk - - - top - - - skip - - - orderby - - - where - - - desc - - - expand - - - inlinecount - - - select - - - The $format query option. - - - allpages - - - value - - - and - - - or - - - eq - - - ne - - - lt - - - le - - - gt - - - ge - - - add - - - sub - - - mul - - - div - - - mod - - - negate - - - not - - - null - - - isof - - - cast - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - The name for the , suitable for including in a URI. - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - Data service version for the uri - The name for the , suitable for including in a URI. - - - - Appends a type segment to the which is building up a URI from a query. - - The string builder. - The type for the segment. - The data service context. - Whether or not the type segment is being appended within the path (as opposed to within a $filter or $orderby expression). - The current version. - - - - Special visitor to serialize supported expression as query parameters - in the generated URI. - - - - Internal buffer. - - - Data context used to generate type names for types. - - - Stack of expressions being visited. - - - Whether or not the expression being written is part of the path of the URI. - - - set if can't translate expression - - - Parent expression of the current expression (expression.Peek()); possibly null. - - - the request data service version for the uri - - - number of sub scopes (any/all calls) on stack - - - - Creates an ExpressionWriter for the specified . - - Data context used to generate type names for types. - Whether or not the expression being written is part of the path of the URI. - - - - Serializes an expression to a string - - Data context used to generate type names for types. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - the request data service version for the uri - serialized expression - - - Main visit method. - Expression to visit - Visited expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - Input resource set references are intentionally omitted from the URL string for the top level - refences to input parameter (i.e. outside of any/all methods). - For parameter references to input (range variable for Where) inside any/all methods we write "$it". - - The input reference - The same input reference expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Serializes an MemberExpression to a string - - Expression to serialize - MemberExpression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - Serializes an UnaryExpression to a string - - Expression to serialize - UnaryExpression - - - - Serializes an BinaryExpression to a string - - BinaryExpression to serialize - serialized expression - - - - Serializes an TypeBinaryExpression to a string - - TypeBinaryExpression to serialize - serialized expression - - - - ParameterExpression visit method. - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - Indicates if two expression types are collapsible, e.g., ((a or b) or c) can be collapsed to (a or b or c). - - The expression type - The expression type of the parent expression - Indicates if the expression is to the left or the right of the parent expression - True if the two expression types are collapsible, false otherwise - - - - Returns the precedence of a binary operator for comparison purposes, or -1 if not applicable. - - The ExpressionType representing the binary operator - The precedence of a binary operator for comparison purposes, or -1 if not applicable - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - The node type of the parent expression (if applicable) - Indicates if the expression is to the left or the right of the parent expression - - - - Serializes an expression to a string - - Expression to serialize - serialized expression - - - - The references to parameter for the main predicate (.Where()) is implicit outside any/all methods. - - The expression to test - true if the expression represents a reference to the current (resource set) input and it is not in any/all method; otherwise false. - - - Whether inside any/all lambda or not - - - - An enumeration indicating the direction of a child operand - - - - The operand is the left child - - - The operand is the right child - - - - Translates resource bound expression trees into URIs. - - - - Data context used to generate type names for types. - - - stringbuilder for constructed URI - - - the request data service version for the uri - - - the leaf resourceset for the URI being written - - - - For caching query options to be grouped - - - - - Private constructor for creating UriWriter - - Data context used to generate type names for types. - - - - Translates resource bound expression tree to a URI. - - Data context used to generate type names for types. - flag to indicate whether generated URI should include () if leaf is ResourceSet - The expression to translate - uri - version for query - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - NavigationPropertySingletonExpression visit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - Visit Query options for Resource - - Resource Expression with query options - - - - SkipQueryOptionExpression visit method. - - SkipQueryOptionExpression expression to visit - - - - TakeQueryOptionExpression visit method. - - TakeQueryOptionExpression expression to visit - - - - FilterQueryOptionExpression visit method. - - FilterQueryOptionExpression expression to visit - - - - OrderByQueryOptionExpression visit method. - - OrderByQueryOptionExpression expression to visit - - - - VisitExpandOptions visit method. - - Expand Paths - - - - ProjectionPaths visit method. - - Projection Paths - - - - VisitCountOptions visit method. - - - - - VisitCustomQueryOptions visit method. - - Custom query options - - - - Caches query option to be grouped - - The key. - The value - - - - Append all cached query options to uri. - - - - Serializes an expression to a string. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - The serialized expression. - - - - QueryProvider implementation - - - - DataServiceContext for query provider - - - Constructs a query provider based on the context passed in - The context for the query provider - - - Factory method for creating DataServiceOrderedQuery based on expression - The expression for the new query - new DataServiceQuery - - - Factory method for creating DataServiceOrderedQuery based on expression - generic type - The expression for the new query - new DataServiceQuery - - - Creates and executes a DataServiceQuery based on the passed in expression - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression - generic type - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression which results a single value - generic type - The expression for the new query - single valued results - - - Builds the Uri for the expression passed in. - The expression to translate into a Uri - Query components - - - a set, collection of unordered, distinct objects, implemented as an array - element type - - - item array of T - - - count of elements in the items array - - - number of Add and RemoveAt operations - - - - array set with an intial capacity - - initial capacity - - - add new element to the set - element to add - equality comparison function to avoid duplicates - true if actually added, false if a duplicate was discovered - - - is the element contained within the set - item to find - comparer - true if the element is contained - - - - enumerator - - enumerator - - - - enumerator - - enumerator - - - Find the current index of element within the set - item to find - comparision function - index of the item else (-1) - - - Find the current index of element within the set - selected type - item to find - selector for item to compare - item to compare - index of the item else (-1) - - - Remove the matched item from within the set - item to find within the set - comparer to find item to remove - the item that was actually contained else its default - - - Remove an item at a specific index from within the set - index of item to remove within the set - - - Sort array based on selected value out of item being stored - selected type - selector - comparer - - - Sets the capacity to the actual number of elements in the ArraySet. - - - identity selector, returns self - input - output - - - count of elements in the set - - - get an item from an index in the set - index to access - - - Compare selected value out of t - comparison type - - - Select something out of T - - - Comparer of selected value - - - Compare - x - y - int - - - - Use this class to keep a log of changes done by the materializer. - - - - The merge option. - - - The client edm model. - - - The entity tracker. - - - Dictionary of identity URI to instances created during previous AppendOnly moves. - - - Dictionary of identity URI to tracked entities. - - - List of link descriptors (data for links and state). - - - Target instance to refresh. - - - - Initializes a new instance. - - The merge option for the log. - The model for the log. - The entity tracker for the log. - - Note that the merge option can't be changed. - - - - - This method is used to merge all the metadata that come in the response payload. - - entityDescriptor that is getting tracked by the client - entityDescriptor that is returned by the materializer - if true, we will need to merge all entity descriptor info, otherwise not. - merge option depending on which etag information needs to be merged. - - - Applies all accumulated changes to the associated data context. - The log should be cleared after this method successfully executed. - - - Clears all state in the log. - - - - Invoke this method to notify the log that an existing - instance was found while resolving an object. - - Entry for instance. - - - - Invoke this method to notify the log that the - target instance of a "directed" update was found. - - Entry found. - - The target instance is typically the object that we - expect will get refreshed by the response from a POST - method. - - For example if a create a Customer and POST it to - a service, the response of the POST will return the - re-serialized instance, with (important!) server generated - values and URIs. - - - - Attempts to resolve an entry from those tracked in the log. - Entry to resolve. - - After invocation, an existing entry with the same identity as - ; possibly null. - - true if an existing entry was found; false otherwise. - - - - Invoke this method to notify the log that a new link was - added to a collection. - - - Instance with the collection to which - was added. - - Property name for collection. - Object which was added. - - - - Invoke this method to notify the log that a new instance - was created. - - Entry for the created instance. - - - - Invoke this method to notify the log that a link was removed - from a collection. - - - Instance with the collection from which - was removed. - - Property name for collection. - Object which was removed. - - - - Invoke this method to notify the log that a link was set on - a property. - - Entry for source object. - Name of property set. - Target object. - - - - Returns true the specified entry represents an entity. - - The materializer entry - True if the entry represents an entity. - - - - Returns true the specified entry represents an entity. - - The resolved instance - The client model. - True if the entry represents an entity. - - - Whether changes are being tracked. - - - Type of property stored in BindingPropertyInfo. - - - Property type is a complex type. - - - Property type is an entity type with keys. - - - Property is a DataServiceCollection. - - - Property is a collection of primitives or complex types. - - - Cache of information about entity types and their observable properties - - - Object reference used as a 'False' flag. - - - Object reference used as a 'True' flag. - - - Lock on metadata caches. - - - Types which are known not to be entity types. - - - Types which are known to be (or not) collection types. - - - Mapping between types and their corresponding entity information - - - Obtain binding info corresponding to a given type - Type for which to obtain information - the client model. - Info about the - - - Gets the ClientType corresponding to the given type - Input type - The client model. - Corresponding ClientType - - - - Get the entity set name for the target entity object. - - An entity object. - The 'currently known' entity set name for the target object. - The client model. - The entity set name for the target object. - - Allow user code to provide the entity set name. If user code does not provide the entity set name, then - this method will get the entity set name from the value of the EntitySetAttribute. - The 'currently known' entity set name for top level collections can be provided through OEC constructor - - - - - Determine if the specified type is an DataServiceCollection. - - - If there a generic class in the inheritance hierarchy of the type, that has a single - entity type paramenter T, and is assignable to DataServiceCollection(Of T), then - the type is an DataServiceCollection. - - An object type specifier. - The client model. - true if the type is an DataServiceCollection; otherwise false. - - - - Determine if the specified type is an entity type. - - An object type specifier. - The client model. - true if the type is an entity type; otherwise false. - - - - Tries to get the value of a property and corresponding BindingPropertyInfo or ClientPropertyAnnotation if the property exists - - Source object whose property needs to be read - Name of the source object property - The client model. - BindingPropertyInfo corresponding to - Instance of ClientProperty corresponding to - Value of the property - true if the property exists and the value was read; otherwise false. - - - Obtain binding info corresponding to a given type - Type for which to obtain information - The client model. - Info about the - - - Checks whether a given type can be a complex type i.e. implements INotifyPropertyChanged. - Input type. - true if the type is complex type, false otherwise. - - - Gets entity set corresponding to a given type - Intput type - The client model. - Entity set name for the type - - - Information about a property interesting for binding - - - Property information - - - Kind of the property i.e. complex, entity or collection. - - - Holder of information about entity properties for a type - - - Collection of properties interesting to the observer - - - Constructor - - - Entity set of the entity - - - Corresponding ClientTyp - - - Collection of properties interesting to the observer - - - - Color of each vertex to be used for Depth First Search - - - - White color means un-visited - - - Gray color means added to queue for DFS - - - Black color means already visited hence reachable from root - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entity type objects and observable entity collections. - - - - The observer of the graph - - - Graph containing entities, collections and their relationships - - - Constructor - Observer of the graph - - - Adds a DataServiceCollection to the graph - Source object for the collection, this object has navigation property corresponding to collection - Property in that corresponds to the collection - Collection being added - Entity set of entities in the collection - true if a new vertex had to be created, false if it already exists - - - Adds a collection of primitives or complex types to the graph - Source object for the collection, this object has property corresponding to collection - Property in that corresponds to the collection - Collection being added - Type of item in the collection - - - Adds an entity to the graph - Source object for the entity, this object has navigation property that links to entity - Property in that links to entity - Entity being added - Entity set of entity being added - Item from which the directed edge in the graph goes into . This can be a collection - true if a new vertex had to be created, false if it already exists - - This method processes the current 'target' entity and then recursively moves into the graph through - the navigation properties. The 'source' is a previously processed item - it is the 'parent' - of the target entity. - The code generated EntitySetAttribute is processed by this method. - A source entity can reference the target entity directly through an entity reference navigation property, - or indirectly through a collection navigation property. - - - - - Removes the from the binding graph - - Item to remove - Parent of the - Parent property that refers to - - - - Removes the from the binding graph - - Item to remove - Collection that contains the - - - Removes all of a collection's items from the graph, but does not remove the collection. - Collection containing the items to remove. - This is used for both DataServiceCollection and collections of primitives or complex types. - - - Removes a relationship between two items based on source and relation label - Source item - Label for relation - - - Remove all non-tracked entities from the graph - - - - Returns a sequence of items belonging to a collection. Uses the children of a collection - vertex for this enumeration. - - Collection being enumerated. - Sequence of items belonging to the collection. - - - Reset the graph after detaching notifications for everything - - - Removes the un-reachable vertices from the graph and un-registers notification handlers - - - Get the binding information for a DataServiceCollection - Collection - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set name of the target object. - - - Get the binding information for a collection - Collection - The source object that reference the target object through a collection property. - The collection property in the source object that reference the target object. - Type of item in the collection - - - - Obtains the closest ancestor entity type in the graph corresponding to a complex object vertex. - - On input this is a complex object, on output it is the closest entity ancestor. - On input this is a complex object's member property name, on output it is the name of corresponding property of the ancestor entity. - On input this is a complex object's member property value, on output it is the value of the corresponding property of the ancestor entity. - - - - Adds a complex typed object to the graph, also traverses all the child complex properties and adds them. - - Source object that contains the complex object, can be an entity, complex object, or a collection. - Source property of complex type, is null if complex type is in a collection, otherwise is the property that references the complex object on source. - Target complex object value. - - - - Adds complex items to the graph from the specified collection. - - Collection that contains . - Items in to add to the binding graph. May be only a subset of the total items in . - - - Add items to the graph, from the object's properties - Object whose properties are to be explored - - - Attach the CollectionChanged handler to an DataServiceCollection. - An DataServiceCollection. - - - Attach the CollectionChanged handler to a collection of primitives or complex types. - An ICollection of T, where T is the type of the item in the collection. - True if the collection is attached; otherwise false. - - - Attach the PropertyChanged handler to an entity or complex object. - An entity or complex object. - True if the target is attached; otherwise false. - - - Detach CollectionChanged or PropertyChanged handlers from the target - An entity object or collection. - - - Detach CollectionChanged handlers from the target - A collection object - - - - Sets the observer for a child DataServiceCollection - - Entity type for the collection - Non-typed collection interface - - - Graph implementation for tracking entities, collections for binding - - - Vertices of the graph, which also hold edges - - - The root vertex for the graph, DFS traversals start from this vertex - - - Constructor - - - Adds vertex to the graph - Item corresponding to vertex - Newly created vertex - - - Removes all edges going out of and coming into the given vertex - Vertex whose edges are to be cleared - - - - Checks if a vertex exists corresponding to given - - Item to lookup - true if vertex found, false otherwise - - - Looksup the vertex corresponding to - Item to lookup - Vertex corresponding to item - - - - Adds edge between vertices corresponding to and - objects which will be labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - Newly created edge - - - - Removes edge between vertices corresponding to and - objects which was labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - - - - Checks if an edge exists between and labeled - with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - true if an edge exists between source and target with given label, false otherwise - - - - Selects collection of objects tracked by the graph based on the given filter - - Filter for the objects - Filtered list of objects tracked by the graph - - - - Removes everything from the graph after applying - - Action to apply before removal of each node - - - Remove all vertices from graph that are unreachable from the root collection vertex - Action to perform for each removed vertex - - - Collects all vertices unreachable from the root collection vertex - Sequence of vertices that are unreachable from the root collection vertex - - Performs a depth first traversal of the graph starting from the root collection - vertex and checks if some vertices were unreachable was reached while doing the traversal. - Alogrithm from Introduction to Algorithms 22.2 by Cormen et al. - - - - Root vertex of the graph - - - Vertex of the - - - Collection of incoming edges for the vertex - - - Collection of outgoing edges for the vertex - - - Constructor - Item corresponding to vertex - - - Get the binding information for a collection vertex - The source object that reference the target object through a navigation property corresponding to current collection vertex. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set of the target object. - - - Get the binding information for a collection vertex - The source object that reference the target object through a collection property corresponding to current collection vertex. - The collection property in the source object that references the collection object. - Type of item in the collection. - - - Item corresponding to the vertex - - - Entity set of the item held by the vertex - - - Is item a DataServiceCollection object - - - Is item a complex type object - - - Is item a collection of primitives or complex types - - - Type of items in the collection if this items represents a collection of primitives or complex types - - - Parent vertex, only exists for non-top level collection vertices or complex objects - - - Property of the object that associates this vertex with it's parent - - - Is item a root collection object - - - Color of the vertex - - - Edges coming into this vertex - - - Edges going out of this vertex - - - - Edge between two vertices of graph, directed and labeled - - - - IEquatable override - Comparand - true if equal, false otherwise - - - Source vertex - - - Target vertex - - - Label of the edge - - - The BindingObserver class - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entities, complex types and DataServiceCollections. - - - - Constructor - The DataServiceContext associated with the BindingObserver. - EntityChanged delegate. - EntityCollectionChanged delegate. - - - Start tracking the specified DataServiceCollection. - An entity type. - An DataServiceCollection. - The entity set of the elements in . - - - Stop tracking the root DataServiceCollection associated with the observer. - - - - Looks up parent entity that references . - - Type of DataServiceCollection. - DataService collection - Parent entity that references . May return null if there is none. - Navigation property in the parentEntity that references . May return null if there is no parent entity. - True if parent entity was found, otherwise false. - - - Handle changes to tracked entity. - The entity that raised the event. - Information about the event such as changed property name. - - - Handle changes to tracked DataServiceCollection. - The DataServiceCollection that raised the event. - Information about the event such as added/removed entities, operation. - - - Handle changes to collection properties. - The collection that raised the event. - Information about the event such as added/removed items, operation. - - - Handle Adds to a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity to attach. - The entity set name of the target object. - - - Handle Deletes from a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity. - The entity set name of the target object. - - - Handle changes to navigation properties of a tracked entity. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The target entity. - The entity set name of the target object. - - - Determine if the DataServiceContext is tracking the specified entity. - An entity object. - true if the entity is tracked; otherwise false. - - - - Handle changes to an entity object tracked by the BindingObserver - - The entity object that has changed. - The property of the target entity object that has changed. - The value of the changed property of the target object. - - - Processes the INotifyCollectionChanged.Add event. - Event information such as added items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Entity set of the collection. - Collection that changed. - - - Processes the INotifyCollectionChanged.Remove event. - Event information such as deleted items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Collection that changed. - - - Removes a collection from the binding graph and detaches each item. - Collection whose elements are to be removed and detached. - - - Performs a Deep removal of all entities in a collection. - Collection whose items are removed from binding graph. - Parent item whose property refer to the being cleared. - Property of the that refers to . - Validation method if any that checks the individual item in for validity. - - - - Handles additions to collections of complex types. - - Collection that contains the new items. - Items that were added to the collection. - - - - Handles removals from collections of complex types. - - Collection that no longer contains the items. - Items that were removed from the collection. - - - Handle the DataServiceContext.SaveChanges operation. - DataServiceContext for the observer. - Information about SaveChanges operation results. - - - Collects a list of entities that observer is supposed to stop tracking - Entity being delete along with it's children - Parent of the - Property by which refers to - List in which entities to be untracked are collected - - - Determine if the DataServiceContext is tracking link between and . - The source object side of the link. - A property in the source side of the link that references the target. - The target object side of the link. - True if the link is tracked; otherwise false. - - - Checks whether the given entity is in detached or deleted state. - Entity being checked. - true if the entity is detached or deleted, otherwise returns false. - - - Entity validator that checks if the is of entity type. - Entity being validated. - - - The DataServiceContext associated with the BindingObserver. - - - The behavior of add operations should be Attach or Add on the context. - - - The behavior of remove operations should be Detach on the context. - - - - Callback invoked when a property of an entity object tracked by the BindingObserver has changed. - - - Entity objects tracked by the BindingObserver implement INotifyPropertyChanged. Events of this type - flow throw the EntityChangedParams. If this callback is not implemented by user code, or the user code - implementation returns false, the BindingObserver executes a default implementation for the callback. - - - - - Callback invoked when an DataServiceCollection tracked by the BindingObserver has changed. - - - DataServiceCollection objects tracked by the BindingObserver implement INotifyCollectionChanged. - Events of this type flow throw the EntityCollectionChanged callback. If this callback is not - implemented by user code, or the user code implementation returns false, the BindingObserver executes - a default implementation for the callback. - - - - Information regarding each entity to be untracked - - - Entity to untrack - - - Parent object of - - - Parent object property referring to - - - Utilities for binding related operations - - - - Throw if the entity set name is null or empty - - entity set name. - entity instance for which the entity set name is generated. - - - - Given a collection type, gets it's entity type - - Input collection type - Generic type argument for the collection - - - Verifies the absence of observer for an DataServiceCollection - Type of DataServiceCollection - Non-typed collection object - Collection property of the source object which is being assigned to - Type of the source object - - - - Encapsulates the arguments for the DataServiceContext ChangesSaved event - - - - - DataServiceContext SaveChanges response - - - - - Construct a DataServiceSaveChangesEventArgs object. - - DataServiceContext SaveChanges response - - - Encapsulates the arguments of a delegate - - - Context associated with the BindingObserver. - - - The entity object that has changed. - - - The property of the entity that has changed. - - - The current value of the target property. - - - Entity set to which the entity object belongs - - - Entity set to which the target propertyValue entity belongs - - - - Construct an EntityChangedParams object. - - Context to which the entity and propertyValue belong. - The entity object that has changed. - The property of the target entity object that has changed. - The current value of the entity property. - Entity set to which the entity object belongs - Entity set to which the target propertyValue entity belongs - - - The context that is associated with the entity object that has changed. - The context that is tracking the changed object. - - - The entity object that has changed. - The changed object. - - - The name of the property on the entity object that references the target object. - The name of the changed property. - - - The object that is currently referenced by the changed property on the entity object. - The current value that references a target entity. - - - The entity set of the source object. - An entity set name. - - - The entity set to which the target entity object belongs - An entity set name. - - - Encapsulates the arguments of a delegate. - - - Context associated with the BindingObserver. - - - - The source object that references the target object through a collection navigation property. - - - - The property of the source object that references the collection that has changed. - - - The entity set of the source object. - - - The collection that has changed. - - - The target entity object involved in the change. - - - The entity set name of the target object. - - - - The action that indicates how the collection was changed. The value will be Add or Remove. - - - - - Construct an EntityCollectionChangedParams object. - - The DataServiceContext associated with the BindingObserver. - The source object that references the target object through a collection navigation property. - The property of the source object that references the collection that has changed. - The entity set of the source object. - The collection that has changed. - The target entity object involved in the change. - The entity set name of the target object. - The action that indicates how the collection was changed. The value will be Add or Remove. - - - The associated with the that has changed. - The context associated with the collection that has changed - - - The source object that references the target object in the collection by using a navigation property. - The source object. - - - The navigation property on the source object that references the collection that has changed. - The navigation property name. - - - The entity set of the source object. - An entity set name. - - - The entity object in the collection that has changed. - The changed entity object in the collection. - - - The entity set name of the object in the collection. - An entity set name. - - - The that has changed. - A reference to the collection that has changed. - - - A value that indicates how the collection was changed. - A value that indicates how the collection was changed. - - - Determines whether changes that are made to a are tracked. - - - The collection should not track changes. - - - The collection should automatically track changes to the entities - in the collection. - - - Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed. - An entity type. - - - The BindingObserver associated with the DataServiceCollection - - - Is this a root collection - - - The continuation for partial collections. - - - True if tracking setup was deferred to first Load() call. - - - Callback tracked until tracking is enabled. - - - Callback tracked until tracking is enabled. - - - Entity set name tracked until tracking is enabled. - - - - The async handle for the current LoadAsync Operation - - - - Initializes a new instance of the class. - Creates a default data service collection, with auto-change tracking enabled as soon as data is loaded into it. - - - Initializes a new instance of the class based on query execution. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - - - Initializes a new instance of the class based on query execution and with the specified tracking mode. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - - - Initializes a new instance of the class that uses the specified . - The used to track changes to objects in the collection. - - - Initializes a new instance of the class with the supplied change method delegates and that uses the specified . - The used to track items in the collection. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution and with the supplied change method delegates. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution, with the supplied change method delegates, and that uses the supplied . - The used to track items in the collection. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Creates new DataServiceCollection. - The materializer - associated with the new collection. - Enumeration of items to initialize the new DataServiceCollection with. - The tracking mode for the new collection. - The name of the entity set the elements in the collection belong to. - Delegate that gets called when an entity changes. - Delegate that gets called when an entity collection changes. - This is the internal constructor called from materializer and used inside our projection queries. - - - Loads a collection of entity objects into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Collection of entity objects to be added to the . - - When tracking is enabled, the behavior of Load would be to attach all those entities that are not already tracked by the context - associated with the collection. The operation will go deep into the input entities so that all related - entities are attached to the context if not already present. All entities in - will be tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - For large amount of items, consider DataServiceContext.LoadProperty instead. - - - - Asynchronously loads the collection by executing a .Supported only by the WCF Data Services 5.0 client for Silverlight. - The that, when executed, returns the entities to load into the collection. - When query is null or not a . - When a previous call to is not yet complete. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the collection asynchronously by loading the results from the request Uri. - The request uri to download results from. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Asynchronously loads items into the collection, when it represents the navigation property of an entity.Supported only by the WCF Data Services 5.0 client for Silverlight. - When the collection does not belong to a parent entity.-or-When the parent entity is not tracked by the .-or-When a previous call to is not yet complete. - This method loads the content of a property represented by this DataServiceCollection. - If this instance is not associated with any property and entity the method will fail. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the next page of data into the collection.Supported only by the WCF Data Services 5.0 client for Silverlight. - A value that is true when the has a continuation token; otherwise false. - This method is the same as except that it runs the query as defined - by the continuation token of this collection. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. Even if the method returns false, the event will be raised (immeditaly) - This class only support one asynchronous operation in flight. - If this collection doesn't have a continuation token (this.Continuation == null) then this method - returns false and does not issue any request. - If there is a continuation token the method will return true and will start a request to load - the next partial set based on that continuation token. - - - Cancels any running LoadAsync operations and calls the LoadCompleted event handler after cancellation. - - - Loads a single entity object into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Entity object to be added. - - When tracking is enabled, the behavior of Load would be to attach the entity if it is not already tracked by the context - associated with the collection. The operation will go deep into the input entity so that all related - entities are attached to the context if not already present. The will be - tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - - - - Indicates whether all the items from the collection are removed. - true if all the items from the collection are removed; otherwise, false. - - - Disables the tracking of all items in the collection. - - All the entitities in the root collection and all it's related objects will be untracked at the - end of this operation. - - - - Adds a specified item to the collection at the specified index. - Index at which to add the item. - The item to add. - - Override to prevent additions to the collection in "deferred tracking" mode, and to verify that the item implements INotifyPropertyChanged. - Overridding this method will cover items that are added to the collection via Add and Insert. - - - - - Verifies that input iterator parameter is not null and in case - of Silverlight, it is not of DataServiceQuery type. - - Input iterator parameter. - - - - Obtain the DataServiceContext from the incoming enumerable - - An IEnumerable that may be a DataServiceQuery or QueryOperationResponse object - DataServiceContext instance associated with the input - - - - Populate this collection with another collection of items - - The items to populate this collection with - - - - Prepare the collection for loading. For tracked collections, we enter the attaching state - - - - - Reset the collection after loading. For tracked collections, we exit the attaching state. - - - - Initialize and start tracking an DataServiceCollection - The context - Collection to initialize with - The entity set of the elements in the collection. - delegate that needs to be called when an entity changes. - delegate that needs to be called when an entity collection is changed. - - - Helper method to start a LoadAsync operation. - Function which calls the Begin method for the load. It should take - parameter which should be used as the callback for the Begin call. It should return - of the started asynchronous operation (or throw). - Function which calls the End method for the load. It should take - which represents the asynchronous operation in flight. It should return - with the result of the operation (or throw). - The method takes care of error handling as well as maintaining the . - Note that it does not check the to disallow multiple operations in flight. - The method makes sure that the will be called from the UI thread. It makes no assumptions - about the calling thread of this method. - The method does not process the results of the , it just raises the - event as appropriate. If there's some processing to be done for the results it should all be done by the - method before it returns. - - - - Calls the end method for the LoadAsync operation and fires the LoadCompleted event. - - End method to complete the asynchronous query execution. - IAsyncResult to be passed to . - - - A completion event for the , - and method. - This event is raised exactly once for each call to the , - or method. It is called both when the operation - succeeded and/or when it failed. - - - Gets a continuation object that is used to return the next set of paged results. - A object that contains the URI to return the next set of paged results. - - - Observer for the collection. - The setter would get called only for child collections in the graph. - - - - Whether this collection is actively tracking - - - - Used as the class for the event.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - The which represents - the response for the Load operation. - This field is non-null only when the Load operation was successfull. - Otherwise it's null. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - This constructor doesn't allow creation of canceled event args. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - True, if the LoadAsync operation was cancelled, False otherwise. - This constructor doesn't allow creation of canceled event args. - - - Gets the response to an asynchronous load operation.Supported only by the WCF Data Services 5.0 client for Silverlight. - A that represents the response to a load operation. - Accessing this property will throw exception if the Load operation failed - or it was canceled. - - - Indicates the entity set to which a client data service class belongs. - - This attribute is generated only when there is one entity set associated with the type. - When there are more than one entity set associated with the type, then the entity set - name can be passed in through the EntitySetNameResolver event. - - - - - The entity set name. - - - - Creates a new instance of the . - The entity set to which the class belongs. - - - Gets the entity set to which the class belongs. - The entity set as string value. - - - Marks a class as an entity type in WCF Data Services. - - - Creates a new instance of the class. - - - Denotes the key property or properties of an entity. - - - Name of the properties that form the key. - - - Initializes a new instance of the class. - The string that contains name of the key attribute. - - - Initializes a new instance of the class. - An array of string values that contain key attribute names. - - - Gets the names of key attributes. - String value that contains names of key attributes. - - - Represents the versions of the Open Data Protocol (OData) that the data service may support. - - - Version 1 - - - Version 2 - - - Version 3 - - - Indicates that a class that is an entity type has a default binary data stream. - - - Indicates that a class that is an entity type has a related named binary stream. - - - Creates a new instance of the class. - The name of a binary stream that belongs to the attributed entity. - - - The name of a binary stream that belongs to the attributed entity. - The name of the binary stream. - - - Exception that indicates an error occurred while querying the data service. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The string value that the contains error message. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The string value that contains the error message. - 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. The inner exception object. - - - Initializes a new instance of the class. - The string value that contains the error message. - The inner exception object. - The object. - - - - Initializes a new instance of the DataServiceQueryException class from the - specified SerializationInfo and StreamingContext instances. - - - A SerializationInfo containing the information required to serialize - the new DataServiceQueryException. - - A StreamingContext containing the source of the serialized stream - associated with the new DataServiceQueryException. - - - Gets the that indicates the exception results. - A object that indicates the exception results. - - - Represents additional metadata that is included in a request message to WCF Data Services. - - - Creates a new instance of the class. - - - Gets or sets the Accept header of the request message. - The value of the Accept header. - - Sets the mime type (ex. image/png) to be used when retrieving the stream. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Accept header. - - - - Gets or sets the Content-Type header of the request message. - The value of the Content-Type header. - - Sets the Content-Type header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Content-Type header. - - - - Gets or sets the value of the Slug header of the request message. - A value that is the Slug header of the request. - - Sets the Slug header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Slug header. - - - - Gets the headers in the request message. - The headers in the request message. - - Dictionary containing all the request headers to be used when retrieving the stream. - The user should take care so as to not alter an HTTP header which will change - the meaning of the request. - No validation is performed on the header names or values. - This class will not attempt to fix up any of the headers specified and - will try to use them "as is". - - - - Request header collection. - - - Represents the error thrown if the data service returns a response code less than 200 or greater than 299, or the top-level element in the response is <error>. This class cannot be inherited. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The error message text. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - Error message text. - Exception object that contains the inner exception. - object. - - - - Initializes a new instance of the DataServiceQueryException class from the - specified SerializationInfo and StreamingContext instances. - - - A SerializationInfo containing the information required to serialize - the new DataServiceException. - - A StreamingContext containing the source of the serialized stream - associated with the new DataServiceException. - - - Gets the response as a object. - A object. - - - Represents a response from WCF Data Services that contains binary data as a stream. - - - IODataResponseMessage containing all the response information. - - - Lazy initialized cached response headers. - - - - Response stream. Caching the response stream so that IODataResponseStream.GetStream is only called once. - This helps us to assert that no one internally calls the GetStream method more than once. - - - - - Constructor for the response. This method is internal since we don't want users to create instances - of this class. - - The web response to wrap. - - - Releases all resources used by the current instance of the class. - - - Checks if the object has already been disposed. If so it throws the ObjectDisposedException. - If the object has already been disposed. - - - Gets the content type of the response stream. - The content type of the response stream. - If the Content-Type header was not present in the response this property will return null. - - - Gets the Content-Disposition header field for the response stream. - The contents of the Content-Disposition header field. - /// If the Content-Disposition header was not present in the response this property will return null. - - - Gets the collection of headers from the response. - The headers collection from the response message as a object. - - - Gets the binary property data from the data service as a binary stream. - The stream that contains the binary property data. - When the is already disposed. - - Returns the stream obtained from the data service. When reading from this stream - the operations may throw if a network error occurs. This stream is read-only. - - Caller must call Dispose/Close on either the returned stream or on the response - object itself. Otherwise the network connection will be left open and the caller - might run out of available connections. - - - - - enum to describe the descriptor kind - - - - Entity Descriptor - - - Link Descriptor - - - Named stream descriptor - - - Service Operation descriptor - - - - represents the association between two entities - - - - equivalence comparer - - - source entity - - - name of property on source entity that references the target entity - - - target entity - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The client model. - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The link state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - - If the current instance of link descriptor is equivalent to the parameters supplied - - The source entity - The source property name - The target entity - true if equivalent - - - The source entity in a link returned by a . - . - - - A source entity in a link returned by a . - . - - - The identifier property of the source entity in a link returned by a . - The string identifier of an identity property in a source entity. - - - this is a link - - - is this a collection property or not - - - equivalence comparer - - - are two LinkDescriptors equivalent, ignore state - link descriptor x - link descriptor y - true if equivalent - - - compute hashcode for LinkDescriptor - link descriptor - hashcode - - - Response from SaveChanges. - - - Descriptor containing the response object. - - - Initializes a new instance of the class. - HTTP headers - response object containing information about resources that got changed. - - - Gets the or modified by a change operation. - An or modified by a change operation. - - - - static utility functions for conversions - - - - - convert from string to the appropriate type - - incoming string value - type to convert to - converted value - - - - Tries to converts a binary value to a byte array. - - The binary value to convert. - The equivalent value converted to a byte array. - Whether the value was binary. - - - - change primtive typeName into non-nullable type - - like Edm.String or Edm.Binary - the mapped output type - true if named - - - - Convert from primitive value to an xml payload string. - NOTE: We need to pay special attention to DateTimes - if the converted value is going to be used as a content of - atom:updated or atom:published element we have to ensure it contains information about time zone. At the same time we - must not touch datetime values that in content or are mapped to custom elements. - - incoming object value - converted value - - - type edm type string for content - type to analyze - edm type string for payload, null for unknown - - - - Annotates a type on the client. - - - - Back reference to the EdmType this annotation is part of. - - - what is the clr full name using ToString for generic name expansion - - - what clr type does this represent - - - Storage for the client model. - - - Set to true if the type is marked as ATOM-style media link entry - - - Property that holds data for ATOM-style media link entries - - - Whether any property (including properties on descendant types) of this type is a collection of primitive or complex types. - - - object to manage and encapsulate the lazy loading of the EPM data. - - - Cached client properties. - - - Cached Edm properties - - - - discover and prepare properties for usage - - Back reference to the EdmType this annotation is part of. - type being processed - the qualified name of the type being processed - The client model. - - - Ensures that EPM is loaded - - - - Returns the list of EdmProperties for this type. - - Returns the list of EdmProperties for this type. - - - Returns the list of properties from this type. - Returns the list of properties from this type. - - - - Gets the set of properties on this type that should be serialized into insert/update payloads. - - The properties to serialize. - - - - get property wrapper for a property name, might be method around open types for otherwise unknown properties - - property name - are missing properties ignored - property wrapper - for unknown properties on closed types - - - - Checks if any of the properties (including properties of descendant types) is a collection of primitive or complex types. - - true if any if any of the properties (including properties of descendant types) is a collection of primitive or complex types. Otherwise false. - - - - Determines whether a given property should be serialized into an insert or update payload. - - The declaring type of the property. - The property. - Whether or not the property should be serialized. - - - - build the clientPropertyCache from EdmProperties - - - - - Check if this type represents an ATOM-style media link entry and - if so mark the ClientType as such - - - - - Set the HasStream boolean annotation in the EdmType to true. - - - - - Computes the metadata version of the property. - - List of properties for which metadata version needs to be computed. - List of complex type already visited. - the metadata version of the property collection. - - - - Discovers and returns edm properties for this type. - - Edm properties on this type. - - - if true then EntityType else if !KnownType then ComplexType else PrimitiveType - - - Property that holds data for ATOM-style media link entries - - - Returns true if the type is marked as ATOM-style media link entry - - - - Target tree for s on this type - - - - Are there any entity property mappings on this type - - - The minimum DSVP required for EPM mappings - - - Gets the EdmTypeReference for the client Type annotation. - - - - Class to encpsulate the lazy loading logic for EPM data - - - - Souce Epm mappings - - - Target Epm mappings - - - object to lock on when building the epm info - - - the current client annotation that the mappings are for - - - - Initializes a new instance of the class. - - The client type annotation. - - - - Ensures that the EPM data is loaded. - - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on the ElementType - builds the corresponding EntityPropertyMappingInfo - - The ClientTypeAnnotation to refer to - The source tree to populate. - This method should be called after all properties are set on the edm type. - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on - builds the corresponding EntityPropertyMappingInfo - - Type being looked at - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Builds the EntityPropertyMappingInfo corresponding to an EntityPropertyMappingAttribute, also builds the delegate to - be invoked in order to retrieve the property provided in the - - Source EntityPropertyMappingAttribute - ResourceType on which to look for the property - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Initializes the epm fields and builds the information into the fields - - - - - Target tree for s on this type - - - - - Source tree for s on this type - - - - - Determines if the Epm fields need initializing - - - - - The exception that is thrown when the server returns an error. - - - - - Contains the state for this exception. - - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - The string value that contains the error message. - The integer value that contains status code. - - - Initializes a new instance of the class. - The string value that contains the error message. - The System.Exception object that contains the inner exception. - The integer value that contains status code. - - - Gets the HTTP error status code returned after . - An integer value that represents the exception. - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Called when deserialization of the exception is complete. - - The deserialized exception. - - - - Gets or sets the status code as returned by the server. - - - - non-generic placeholder for generic implementation - - - non-generic placeholder for generic implementation - - - internal constructor so that only our assembly can provide an implementation - - - - get an enumerable materializes the objects the response - - context - query components - Projection plan (if compiled in an earlier query). - contentType - the message - expected payload kind. - atom materializer - - - - Creates a instance of strongly typed DataServiceRequest with the given element type. - - element type for the DataServiceRequest. - constructor parameter. - returns the strongly typed DataServiceRequest instance. - - - - Ends an asynchronous request to an Internet resource. - - Element type of the result. - Source object of async request. - The data service context. - async method name. - The asyncResult being ended. - The response - result of the request. - - - The QueryComponents associated with this request - The client model. - instance of query components - - - - execute uri and materialize result - - element type - context - query components for request to execute - enumerable of results - - - - Synchronizely get the query set count from the server by executing the $count=value query - - The context - The server side count of the query set - - - - Begins an asynchronous request to an Internet resource. - - source of execute (DataServiceQuery or DataServiceContext - context - The AsyncCallback delegate. - The state object for this request. - async method name. - An IAsyncResult that references the asynchronous request for a response. - - - - Creates the result object for the specified query parameters. - - The source object for the request. - The data service context. - The AsyncCallback delegate. - The state object for the callback. - async method name at the source. - Result representing the create request. The request has not been initiated yet. - - - Gets the type of object submitted as a batch to the data service. - Type object. - - - Gets the URI of the request object submitted to a data service. - URI of the request object. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - Gets or sets the payload kind for this request. - - - internal constructor so that only our assembly can provide an implementation - - - Gets the object that can be used to iterate through the collection returned by the query. - An enumerator over the query results. - Expect derived class to override this with an explict interface implementation - - - Executes the query against the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. - An that contains the results of the query operation. - When the data service returns an HTTP 404: Resource Not Found error. - - - Asynchronously sends a request to execute the data service query. - An object that is used to track the status of the asynchronous operation. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of executing a data service query. - An that contains the results of the query operation. - The result from the operation that contains the query results. - When the data service returns an HTTP 404: Resource Not Found error. - - - Synchronous methods not available - - Returns an IEnumerable from an Internet resource. - - An IEnumerable that contains the response from the Internet resource. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - Represents an expression that contains the query to the data service. - An object that represents the query. - - - Represents the query provider instance. - An representing the data source provider. - - - - Holds a Uri and type for the request. - - The type to construct for the request results - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Request uri for the current request. - - - The QueryComponents for the request - - - Initializes a new instance of the class. - The URI object that contains the request string. - - - Create a request for a specific Uri - The URI for the request. - The query components for the request - Projection plan to reuse (possibly null). - - - Represents the URI of the query to the data service. - The requested URI as a value. - - - The QueryComponents associated with this request - The client model. - an instance of QueryComponents. - - - Gets the type of the object used to create the instance. - A value that indicates the type of data returned. - - - Gets the URI object that contains the request string. - A object that contains the request string. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - - Data service response to ExecuteBatch & SaveChanges - - - - Http headers of the response. - - - Http status code of the response. - - - responses - - - true if this is a batch response, otherwise false. - - - - constructor - - HTTP headers - HTTP status code - list of responses - true if this represents a batch response, otherwise false. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - The headers from an HTTP response associated with a batch request. - An object containing the name-value pairs of an HTTP response. - - - The status code from an HTTP response associated with a batch request. - An integer based on status codes defined in Hypertext Transfer Protocol. - - - Gets a Boolean value that indicates whether the response contains multiple results. - A Boolean value that indicates whether the response contains multiple results. - - - - Response to a batched query or Execute call. - - The type to construct for the request results - - - - Response to a batched query. - - - - Original query - - - Enumerable of objects in query - - - - constructor - - HTTP headers - original query - retrieved objects - - - Executes the and returns items. - The enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - Gets a object containing the URI that is used to retrieve the next results page. - An object containing the URI that is used to return the next results page. - - - Gets a object containing the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - - - Gets a object that contains the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - The type of the items in the collection. - - - - Creates a generic instance of the QueryOperationResponse and return it - - generic type for the QueryOperationResponse. - constructor parameter1 - constructor parameter2 - constructor parameter3 - returns a new strongly typed instance of QueryOperationResponse. - - - Gets the enumeration helper for the . - The enumerator. - The generic type. - An enumerator to enumerator through the results. - - - Gets the that generates the items. - A object. - - - Gets the server result set count value from a query, if the query has requested the value. - The return value can be either a zero or positive value equal to the number of entities in the set on the server. - Thrown when the count tag is not found in the response stream. - - - get a non-null enumerable of the result - - - - constructor - - HTTP headers - original query - retrieved objects - - - Gets a object that contains the URI that is used to retrieve the next results page. - An object that contains the URI that is used to return the next results page. - - - Executes the and gets items. - An enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - The server result set count value from a query, if the query has requested the value. - The return value can be either zero or a positive value equal to the number of entities in the set on the server. - - - - Event args for the event fired during reading or writing of - an entity serialization/deserialization - - - - The entity being (de)serialized - - - The ATOM entry data to/from the network - - - The xml base of the feed or entry containing the current ATOM entry - - - - Constructor - - The entity being (de)serialized - The ATOM entry data to/from the network - The xml base of the feed or entry containing the current ATOM entry - - - Gets the object representation of data returned from the property. - representation of the property. - - - Gets an entry or feed data represented as an . - - - - - - Gets the base URI base of the entry or feed. - Returns . - - - - Strongly-typed and parameterized exception factory. - - - Strongly-typed and parameterized exception factory. - - - - - create and trace new ArgumentException - - exception message - parameter name in error - ArgumentException - - - - create and trace new InvalidOperationException - - exception message - InvalidOperationException - - - - create and trace new InvalidOperationException - - exception message - innerException - InvalidOperationException - - - - Create and trace a NotSupportedException with a message - - Message for the exception - NotSupportedException - - - - create and throw a ThrowObjectDisposed with a type name - - type being thrown on - - - - create and trace a - - errorCode - message - InvalidOperationException - - - method not supported - method - exception to throw - - - throw an exception because unexpected batch content was encounted - internal error - - - throw an exception because expected batch content was not encountered - internal error - - - unexpected xml when reading web responses - internal error - exception to throw - - - throw exception for unexpected xml when reading web responses - internal error - - - - Trace the exception - - type of the exception - exception object to trace - the exception parameter - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - unique numbers for repeated error messages for unlikely, unactionable exceptions - - - - Use this class to materialize objects from an application/atom+xml stream. - - - - Backreference to the context to allow type resolution. - - - base type of the object to create from the stream. - - - when materializing a known type (like string) - <property> text-value </property> - - - Materializer from which instances are read. - - The log for the materializer stores all changes for the - associated data context. - - - - untyped current object - - - has GetEnumerator been called? - - - Whether anything has been read. - - - - output writer, set using reflection - - - - - constructor - - originating context - Query components (projection, expected type) - Projection plan (if compiled in an earlier query). - responseMessage - The kind of the payload to materialize. - - - - constructor - - originating context - entries that needs to be materialized. - result type. - The format of the response being materialized from. - - - - Private internal constructor used for creating empty wrapper. - - - - - dispose - - - - - as IEnumerable - - this - - - - Gets the type that of the instances that will be returned by materializer. - - Whether the expected is a primitive type. - Actual type on the client. - The client model used. - The actual type that implements ICollection<> - Type of the instances that will be returned by materializer. - - For collection navigation properties (i.e. ICollection<T> where T is an entity the method returns T. Materializer will - return single entity each time MoveNext() is called. However for collection properties we need the whole property instead of just a - single collection item. - - - - - Creates the next object from the stream. - - false if stream is finished - - - - Creates the next object from the stream. - - false if stream is finished - - - - Not supported. - - Always thrown - - - - Creates materializer for results - - Context of expression to analyze. - the results to wrap - a new materializer - - - Creates a materializer for partial result sets. - Context of expression to analyze. - The current page of results - The continuation for the results. - A new materializer. - - - set the inserted object expected in the response - object being inserted that the response is looking for - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns the next link URI for the collection key - - The collection for which the Uri is returned, or null, if the top level link is to be returned - An Uri pointing to the next page for the collection - - - verify the GetEnumerator can only be called once - - - Loosely typed current object property. - - For collection properties this property will be of AtomContentProperties to allow further materialization processing. - Otherwise the value should be of the right type, as the materializer takes the expected type into account. - - - - - A materializer for empty results - - - - - Returns true if the underlying object used for counting is available - - - - - The data service context object this materializer belongs to - - - - - Private type to wrap partial (paged) results and make it look like standard materialized results. - - - - The results to wrap - - - A continuation to the next page of results. - - - The data service context this result belongs to - - - - Creates a wrapper for raw results - - Context of expression to analyze. - the results to wrap - The continuation for this query. - - - - Get the next link to the result set - - When equals to null, returns the next link associated with this collection. Otherwise throws InvalidOperationException. - The continuation for this query. - - - - Gets Enumerator for wrapped results. - - IEnumerator for results - - - - The data service context this result belongs to - - - - - Materializer state for a given ODataEntry - - - - The entry. - - - entity descriptor object which keeps track of the entity state and other entity specific information. - - - True if the context format is Atom or if the MergeOption is anything other than NoTracking. - - - Entry flags. - - - List of navigation links for this entry. - - - - Creates a new instance of MaterializerEntry. - - - - - Creates a new instance of MaterializerEntry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - - - - Creates a new instance of MaterializerEntry using the given entity descriptor for LoadProperty. - - Entity descriptor. - OData Format. - Whether this entity is being tracked. - Use this constructor only for LoadProperty scenario. - - - - Creates an empty entry. - - An empty entry. - - - - Creates the materializer entry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - A new materializer entry. - - - - Creates the materializer entry for LoadProperty scenario. - - The entity descriptor. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - A new materializer entry. - - - - Gets an entry for a given ODataEntry. - - The ODataEntry. - The materializer entry - - - - Adds a navigation link. - - The link. - - - - Updates the entity descriptor. - - - - Gets the value for a masked item. - Mask value. - true if the flag is set; false otherwise. - - - Sets the value for a masked item. - Mask value. - Value to set - - - - Gets the entry. - - - - - True if the context format is Atom or if the context's MergeOption is anything other than NoTracking. - This is used to avoid building URI metadata information that is not needed outside of the context, such - as odata.id and odata.editlink. Since this information is always available in the payload with Atom, for - backward compatibility we continue using it as we always have, even for NoTracking cases. - - - - - Entry ID. - - - - - Properties of the entry. - - - Non-property content goes to annotations. - - - - The entity descriptor. - - - Resolved object. - - - Actual type of the ResolvedObject. - - - Whether values should be updated from payload. - - - Whether the entity has been resolved / created. - - - Whether the materializer has created the ResolvedObject instance. - - - Is this entry created for LoadProperty. - - - The navigation links. - - - Gets the format - - - Whether the entity descriptor has been updated. - - - - Masks used get/set the status of the entry - - - - Bitmask for ShouldUpdateFromPayload flag. - - - Bitmask for CreatedByMaterializer flag. - - - Bitmask for EntityHasBeenResolved flag. - - - Bitmask for MediaLinkEntry flag (value). - - - Bitmask for LoadProperty scenario. - - - - Materializer state for a given ODataFeed - - - - The feed. - - - The entries. - - - - Prevents a default instance of the struct from being created. - - The feed. - The entries. - - - - Creates the materializer feed. - - The feed. - The entries. - The materializer feed. - - - - Gets the materializer feed. - - The feed. - The materializer feed. - - - - Gets the feed. - - - - - Gets the entries. - - - - - URI representing the next page link. - - - - - Materializer state for a given ODataNavigationLink - - - - The navigation link. - - - An object field for the feed or enty. - - - - Prevents a default instance of the struct from being created. - - The link. - Value of the link. - - - - Creates the materializer link with an entry. - - The link. - The entry. - The materializer link. - - - - Creates the materializer link with a feed. - - The link. - The feed. - The materializer link. - - - - Gets the materializer link. - - The link. - The materializer link. - - - - Gets the link. - - - - - Gets the entry. - - - - - Gets the feed. - - - - - This class marks a type that represents an Astoria client entity - such that the Astoria client will treat it as a media entry - according to ATOM's "media link entry" concept. - - - - Name of the member that contains the data for the media entry - - - Creates a new instance of . - A string value that identifies the property that holds media data. - - Creates a new MediaEntryAttribute attribute and sets the name - of the member that contains the actual data of the media entry - (e.g. a byte[] containing a picture, a string containing HTML, etc.) - - - - The name of the property on the class that holds the media, usually binary data. - A string value that identifies the property that holds media data. - - - - Used to specify a value synchronization strategy. - - - Equivalent to System.Data.dll!System.Data.LoadOption - Equivalent to System.Data.Linq.dll!System.Data.Linq.RefreshMode - Equivalent to System.Data.Entity.dll!System.Data.Objects.MergeOption - - - - - No current values are modified. - - - Equivalent to System.Data.Objects.MergeOption.AppendOnly - Equivalent to System.Data.Linq.RefreshMode.KeepCurrentValues - - - - - All current values are overwritten with current store values, - regardless of whether they have been changed. - - - Equivalent to System.Data.LoadOption.OverwriteChanges - Equivalent to System.Data.Objects.MergeOption.OverwriteChanges - Equivalent to System.Data.Linq.RefreshMode.OverwriteCurrentValues - - - - - Current values that have been changed are not modified, but - any unchanged values are updated with the current store - values. No changes are lost in this merge. - - - Equivalent to System.Data.LoadOption.PreserveChanges - Equivalent to System.Data.Objects.MergeOption.PreserveChanges - Equivalent to System.Data.Linq.RefreshMode.KeepChanges - - - - - Equivalent to System.Data.Objects.MergeOption.NoTracking - - - - - This attribute indicates another property in the same type that - contains the MIME type that should be used for the data contained - in the property this attribute is applied to. - - - - The name of the property that contains the data - - - The name of the property that contains the mime type - - - Creates a new instance of the MimeTypePropertyAttribute. - A string that contains the name of the new property attribute. - A string that contains the Mime type of the new property attribute. - - - Gets the name of the MimeTypePropertyAttribute. - A string that contains the name of the property attribute. - - - Gets the Mime type of the MimeTypePropertyAttribute - A string that contains the Mime type of the property attribute. - - - - represents the cached entity - - - - uri to identitfy the entity - <atom:id>identity</id> - - - entity - - - tracks information about the default stream, if any. - - - uri of the resource set to add the entity to during save - - - uri to query the entity - <atom:link rel="self" href="queryLink" /> - - - uri to edit the entity. In case of deep add, this can also refer to the navigation property name. - <atom:link rel="edit" href="editLink" /> - - - - Contains the LinkInfo (navigation and relationship links) for navigation properties - - - - - entity descriptor instance which contains metadata from responses which haven't been fully processed/materialized yet. - This is used only in non-batch SaveChanges scenario. - - - - List of named streams for this entity - - - List of service operation descriptors for this entity. - - - - Create a new instance of Entity descriptor. - - The client model - - - - returns the most recent identity of the entity - - the identity of the entity, as returned in the latest response. - - - return the most recent edit link for the entity - the uri to edit the entity associated with the entity descriptor. - - - return the most recent edit link for the MR associated with the entity - the uri to edit the MR associated with the entity descriptor. - - - return the most recent etag for the entity - etag for the entity associated with the entity descriptor. - - - return the most return etag for the MR associated with the entity - etag for the MR associated with the entity descriptor. - - - return the most recent type name of the entity as returned in the response payload. - the type name of the entity as returned in the response payload. - - - uri to edit the entity - retrieves the baseUri to use for a given entity set. - whether to return the query link or edit link - absolute uri which can be used to edit the entity - - - is the entity the same as the source or target entity - related end - true if same as source or target entity - - - - Return the related end for this resource. One should call this method, only if the resource is inserted via deep resource. - - returns the related end via which the resource was inserted. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - - Closes the save stream if there's any and sets it to null - - - - - Add the given navigation link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate from this entity to the other end. - - - - Add the given association link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate associations for this property. - - - - Merges the given linkInfo to the entity descriptor, - overwrites existing links with new ones (coming from the payload) - - linkInfo - - - - Try and get the navigation link. If the navigation link is not specified, then its used the self link of the entity and - appends the property name. - - retrieves the appropriate baseUri for a given entitySet. - ClientProperty instance representing the navigation property. - returns the uri for the given link. If the link is not present, its uses the self link of the current entity and appends the navigation property name. - - - - Returns the LinkInfo for the given navigation property. - - name of the navigation property - LinkInfo for the navigation propery - true if LinkInfo is found for the navigation property, false if not found - - - - Check if there is a stream with this name. If yes, returns the information about that stream, otherwise add a streams with the given name. - - name of the stream. - an existing or new namedstreaminfo instance with the given name. - - - - Adds an operation descriptor to the list of operation descriptors. - - the operation descriptor to add. - - - - Clears all operator descriptors - - - - - Appends OperationDescriptors to the existing list of OperationDescriptors - - List containing OperationDescriptors to add for this entityDescriptor - - - - Gets the stream info with the given name. - - name of the stream. - information about the stream with the given name. - true if there is a stream with the given name, otherwise returns false. - - - - Merges the given named stream info object. - If the stream descriptor is already present, then this method merges the info from the given stream descriptor - into the existing one, otherwise justs add this given stream descriptor to the list of stream descriptors for - this entity. - - namedStreamInfo instance containing information about the stream. - - - - Sets up the descriptor's parent descriptor and parent property. Only valid if the descriptor is in the Added state. - - The parent descriptor. - The property for insert. - - - - Sets the entity set URI to use for inserting the entity tracked by this descriptor. Only valid if the descriptor is in the added state. - - The entity set insert URI. - - - - Returns LinkInfo for the given property, if it does not exists than a new one is created. - - name of the navigation property - LinkInfo for propertyName - - - - In V1, we used to not support self links. Hence we used to use edit links as self links. - IN V2, we are adding support for self links. But if there are not specified, we need to - fall back on the edit link. - - whether to get query link or the edit link. - the query or the edit link, as specified in the parameter. - - - - Creates a default stream descriptor, if there is none yet, and returns it. - If there is one already present, then returns the current instance. - - stream descriptor representing the default stream. - - - Gets the URI that is the identity value of the entity. - The property corresponds to the identity element of the entry that represents the entity in the Atom response. - - - Gets the URI that is used to return the entity resource. - A URI that returns the entity. - - - Gets the URI that modifies the entity. - The edit link URI for the entity resource. - - - Gets the URI that accesses the binary property data of the entity. - A URI that accesses the binary property as a stream. - - If the entity for the box is an MLE this property stores the content source URI of the MLE. - That is, it stores the read URI for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the URI that modifies the binary property data of the entity. - The property contains the edit-media link URI for the Media Resource that is associated with the entity, which is a Media Link Entry. - - If the entity for the box is an MLE this property stores the edit-media link URI. - That is, it stores the URI to send PUTs for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the entity that contains the update data. - An object that contains update data. - - - Gets an eTag value that indicates the state of data targeted for update since the last call to . - The state of data. - - - Gets the eTag for the media resource associated with an entity that is a media link entry. - A string value that indicates the state of data. - - - Gets the parent entity that is related to the entity. - An object that is the parent entity in the relationship link. - This is only set for entities added through AddRelateObject call - - - Gets the name of the property of the entity that is a navigation property and links to the parent entity. - The name of the parent property. - - - Gets the name of the type in the data source to which the entity is mapped. - A string that is the name of the data type. - - - Returns a collection of links that are the relationships in which the entity participates. - A of objects that represents links in which the entity participates. - - - Returns a collection of named binary data streams that belong to the entity. - A of objects that are the named binary data streams that belong to the entity. - - - Gets a collection of operation descriptors associated with the entity. - A collection of operation descriptors associated with the entity. - - - - Gets the client model. - - - - Parent entity - - - this is a entity - - - - Returns true if the resource was inserted via its parent. E.g. POST customer(0)/Orders - - - - - The stream which contains the new content for the MR associated with this MLE. - This stream is used during SaveChanges to POST/PUT the MR. - Setting it to non-null marks the entity as MLE. - - - - - Describes whether the SaveStream is for Insert or Update. - The value NoStream is for both non-MLEs and MLEs with unmodified stream. - - - - - Returns true if we know that the entity is MLE. Note that this does not include the information - from the entity type. So if the entity was attributed with HasStream for example - this boolean might not be aware of it. - - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - - entity descriptor instance containing metadata from responses, which hasn't been fully processed yet. - - - - - Returns the stream descriptor for the default stream associated with this entity. - If this entity is not an MLE, then returns null; - - - - - Gets the edm structured value associated with this entity. - - - - - The entity set name provided in either AttachTo or AddObject. - - - - - Describes the insert/update/delete state of an entity or link. - - - Deleting an inserted resource will detach it. - After SaveChanges, deleted resources will become detached and Added & Modified resources will become unchanged. - - - - - The resource is not tracked by the context. - - - - - The resource is tracked by a context with no changes. - - - - - The resource is tracked by a context for insert. - - - - - The resource is tracked by a context for deletion. - - - - - The resource is tracked by a context for update. - - - - - options when saving changes - - - - default option, using multiple requests to the server stopping on the first failure - - - save the changes in a single changeset in a batch request. - - - save all the changes using multiple requests - - - Use replace semantics when doing update. - - - Use PATCH verb when doing update (retains the merge semantics). - - - save each change independently in a batch request. - - - - Handle the request (both sync and async) for non batch scenarios - - - - keeps track of all the parsed responses. - - - - We cache the current response and then parse it. we need to do this for the async case only. - - - - http web response - - - remove it later - - - - constructor for SaveResult - - context - method - options - user callback - user state object - - - - This starts the next change - - - - - This starts the next change - - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle the response. - - an instance of the DataServiceResponse, containing individual responses for all the requests made during this SaveChanges call. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Create memory stream for descriptor (entity or link or MR or named stream). - - Index into changed entries. - RequestMessage to be used to generate the payload. - Stream of data for descriptor. - - - - Create request message from the next change. - - An instance of ODataRequestMessage for the next change. - - - - Check to see if the resource to be inserted is a media descriptor, and if so - setup a POST request for the media content first and turn the rest of - the operation into a PUT to update the rest of the properties. - - The resource to check/process - An instance of ODataRequestMessage to do POST to the media resource - - - - Checks if the entity descriptor represents an MLE with modified MR and if so creates a PUT request - to update the MR. - - The entity descriptor for the entity to be checked. - An instance of ODataRequestMessage for the newly created MR PUT request or null if the entity is not MLE or its MR hasn't changed. - - - - Creates HTTP request for the media resource (MR) - - The URI to request - The HTTP method to use (POST or PUT) - version to be sent in the DSV request header. - Send the request using chunked encoding to avoid buffering. - If the response preference setting should be applied to the request - (basically means if the response is expected to contain an entity or not). - Collection of request headers - Descriptor for this media resource request. - An instance of ODataRequestMessage. - - - - Sets the content and the headers of the media resource request - - The header collection to setup. - DataServiceSaveStream instance containing all information about the stream. - ETag header value to be set. If passed null, etag header is not set. - This only works with the V2 MR support (SetSaveStream), this will not setup - the request for V1 property based MRs. - List of headers to reset - - - operation with exception - exception object - response object - - - - Decide whether we should continue when there is an error thrown - - - - - copy the response data - - response object - - - - Handle the response payload. - - httpwebresponse instance. - stream containing the response payload. - - - - Creates a request for the given named stream. - - NamedStreamInfo instance containing information about the stream. - An instance of ODataRequestMessage for the given named stream. - - - returns false since this class handles only non-batch scenarios - - - - returns true if the payload needs to be processed. - - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - - - cached response - - - - response headers - - - response status code - - - Parsed response DataServiceVersion header. - - - entry containing the parsed response. - - - Exception if encountered. - - - descriptor for which the response is getting parsed. - - - - Constructor - - descriptor whose response is getting processed. - headers - status code - Parsed response DataServiceVersion header. - atom entry, if there is a non-error response payload. - exception, if the request threw an exception. - - - - Event args for the event fired before executing a web request. Gives a - chance to customize or replace the request object to be used. - - - - The web request reported through this event - - - The request header collection. - - - - Constructor - - The request reported through this event - The request header collection. - - - Gets or sets the instance about to be sent by the client library to the data service. - . - - - Gets the collection protocol headers that are associated with the request to the data service. - A collection of protocol headers that are associated with the request. - - - - Serializes the request data into the given format using the given message writer. - - - - where to pull the changes from - - - The property converter to use for creating ODataProperty instances. - - - - Creates a new instance of the Serializer. - - the request info. - - - - Creates an instance of ODataMessageWriter. - - Instance of IODataRequestMessage. - RequestInfo containing information about the client settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Creates an ODataEntry for the given EntityDescriptor and fills in its ODataLib metadata. - - The entity descriptor. - Name of the server type. - The client-side entity type. - The current client format. - An odata entry with its metadata filled in. - - - - Writes the body operation parameters associated with a ServiceAction. - - The list of operation parameters to write. - The OData request message used to write the operation parameters. - - - - Write the entry element. - - The entity. - Collection of links related to the entity. - The OData request message. - - - - Writes a navigation link. - - The entity - The links related to the entity - The ODataWriter used to write the navigation link. - - - - Writes an entity reference link. - - The link descriptor. - The request message used for writing the payload. - - - - Enumerates through the list of URI operation parameters and creates a new Uri with the uri operation parameters written as query string of the new Uri. - - The Uri used to construct the new Uri. - The non-empty list of uri parameters which will be converted to query string. - Uri containing the uri parameters as query string. - - - - Returns the new XmlWriter to cache the payload for firing WritingEntity event. - - ODataEntry instance that is currently getting serialized. - XmlWriter that is used to write the payload. - XmlWriter instance that needs to be used to write the payload for the given odataentry. - - - - Fires the WritingEntity event, and then copies the payload into the parent writer. - - ODataEntry that is currently getting serialized. - XmlWriter writer instance that got returned by StartEntryXmlCustomizer method. - Parent writer to which the payload needs to get copied to, after firing the event. - - - - Converts a value to an escaped string for use in a Uri. Wraps the call to ODL's ConvertToUriLiteral and escapes the results. - - The name of the . Used for error reporting. - The value of the . - A string representation of for use in a Url. - - - - To cache the entity instance as annotation for firing WritingEntity event - - - - Entity instance that is currently getting serialized. - - - XDocument instance to cache the payload. - - - RequestInfo instance. - - - - Creates a new instance of WritingEntityInfo - - Entity instance that is currently getting serialized. - RequestInfo instance. - - - - Holds information about stream. - - - - - The Data service stream link object - - - - entity descriptor refering the parent entity. - - - - transient named stream info, which contains metadata from the response which has not been materialized yet. - - - - - Creates a StreamDescriptor class with the given name and other information - - name of the stream. - instance of entity descriptor that contains this stream. - - - - Creates a StreamDescriptor class for the default stream (MR) associated with an entity. - - instance of entity descriptor that contains this stream. - - - - Merge the information from the new stream info into the existing one. - - stream info into which the data needs to be merged. - stream info which contains the latest data. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - return the most recent edit link for the named stream - the uri to edit the named stream. - - - return the most recent etag for the named stream - the etag for the named stream. - - - - Closes the save stream if there's any and sets it to null - - - - The that represents the binary resource stream. - Returns . - - - The that represents the entity to which the named resource stream belongs. - The of the entity. - - - - Returns the name of the stream. - - - - - Returns the URI to get the named stream. - - - - - Returns the URI to update the named stream. - - - - - Returns the content type of the named stream. - - - - - Returns the etag for the named stream. - - - - - Returns the stream associated with this name. - - - - return true, since this class represents entity descriptor. - - - - Transient named stream info, if there are responses which hasn't been fully processed yet. - - - - - Class which contains all the logic for resolving the type from the wire name. - - - - - Dictionary instance to map the edm type name to the client type annotation. - In V1/V2, we never used to cache this and call this during materialization. Hence 2 different contexts can resolve the same wire type - differently and that would have been fine. Also, someone could have written a logic that might differ based on queries within the same context. - For e.g. before executing a projection query, the user can set a flag so that the resolver behaves differently. - Hence caching this locally for every request to simulate that behavior. - - - The callback for resolving client CLR types. - - - The callback for resolving server type names. - - - The client model. - - - The service model, or null if one has not been provided. - - - Indicates whether or not to skip the type assignability check. - - - - Creates an instance of TypeResolver class. - - The client model. - The callback to resolve client CLR types. - The callback for resolving server type names. - The service model. - - - - In V2, in projection path, we do not use to check for assignability between the expected type - and the type returned by the type resolver. This variable is used to track that scenario. - If this is true, the current request is a projection request otherwise not. - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - ODL callback for client type resolution - - The expected type for the given wire name - The name of the type from the payload - An IEdmType - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Determines whether or not the client type should be written for a property that is not defined on the server. - DEVNOTE: If there is no server model, the declaring type is complex, or the server type cannot be - found then the server type will be assumed to match the client type. - This is done this way to prevent getting this wrong if the server property is defined, but we cannot find it for some reason. - So if the types do not match, or we aren't able to align them, we will not write the type name, allowing the server to interpret it as the correct type. - - The client-side property. - The server type name of the current entity. - True if the client property type should be written because the property definitely not defined on the server type. - - - - Tries to resolve the name of the base type of the given entity set if a server model has been provided. - - The name of the entity set. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the name of a navigation property's target if a server model has been provided. - - The name of the server side source type. - The name of the navigation property. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the server type corresponding to the client type. - - The client type annotation. - The server type, if the server type could be resolved. - Whether or not the server type could be resolved. - - - - User hook to resolve name into a type. - - Name to resolve. - Expected type for the name. - the type as returned by the resolver. If no resolver is registered or resolver returns null, expected type is returned. - if ResolveType function returns a type not assignable to the userType - - - - Gets the reader model. - - - - - Represents a parameter associated with a service operation or a service function. - - - - Instantiates a new UriOperationParameter - The name of the uri operation parameter. - The value of the uri operation parameter. - - - - This immutable class is responsible for knowing how to correctly resolve base uri requests - - - - The baseUri provided by the user. can be null. - - - The function provided by the user to resolve the baseUri of entity sets. can be null - - - base uri with guranteed trailing slash - - - - Ctor for BaseUriResolver - - The baseUri provided by the user. - The function provider by the user to resolve the baseUri of the entity sets. - - - - Creates a UriResolver from a baseUri - - The baseUri to use in the UriResolver - The name of the paramter that the user passed the baseUri in from. - The new UriResolver using the passed in baseUri - - - - Creates a new BaseUriResolver with all the same values except a new BaseUri value - - The new BaseUri value - The name of the paramter that the user passed the baseUri in from. - A new BaseUriResolver with the BaseUri property set to the new value. - - - - Creates a new BaseUriResolver with all the same values except a new ResolveEntitySet value - - The new BaseUri value - A new BaseUriResolver with the ResolveEntitySet property set to the new value. - - - base uri with no trailing slash - the name of the entitSet whose Uri will be retrieved. - the baseUri ended with a slash for the entitySetName passed in. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - The BaseUri property with a slash. - - - - If necessary will create an absolute uri by combining the BaseUri and requestUri - - The uri specified by the user - An absolute Uri based on the requestUri and if nessesary the BaseUri - - - - Converts the baseUri passed in to an absolute Uri and then validates that it is - usable by the system. - - The user provided baseUri value. - The name of the paramter that the user passed the baseUri in from. - - - - Validates that the passed in BaseUri - - the baseUri that needs to be validated - True if the baseUri is valid, otherwise false - - - - Updates a relative silverlight uri to an absolute uri - - the uri passed by the client - the updated absolute uri - - - - Returns a Uri that is not slash terminated - - Will be the passed in one if it is slash termination free, or a new one - if the passed in one is slash terminated. - - The Uri to be un slash terminated - A slash termination free version of the passed in Uri. - - - - Returns a slash terminated Uri. - - Will be the passed in one if it is already slash terminated, or a new one - if the passed in one is not slash terminated. - - The Uri to be slash terminated - A slash terminated version of the passed in Uri. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - - Returns the error message to use if the BaseUri is not available. Using a function so we only have to - look up the resource if an error is actually thrown; - - The BaseUri property with a slash. - - - - Gets a Uri from the ResolveEntitySet property if available - - The name of the entity set to resolve to a URI - An absolute URI for the entitySet or null - - - Gets the ResolveEntitySet value. - - - - This property returns the baseUri value with no validation at all - - NOTE: this property should only be used to show the user what the BaseUri value is, all - other access should go through the GetBaseUriWithSlash() method - - the baseUri value - - - - Gets the base URI of the resolver regardless of whether or not it is null. - - - - - static utility functions for uris - - - - forward slash char array for triming uris - - - - Turn Uri instance into string representation - This is needed because Uri.ToString unescapes the string - - The uri instance - The string representation of the uri - - - new Uri(string uriString, UriKind uriKind) - value - kind - new Uri(value, kind) - - - new Uri(Uri baseUri, Uri requestUri) - baseUri - relativeUri - new Uri(baseUri, requestUri) - - - - Appends the absolute baseUri with the relativeUri to create a new absolute uri - - An absolute Uri - A relative Uri - An absolute Uri that is the combination of the base and relative Uris passed in. - - - - Component for controlling what convention set is used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The key serializer to use. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - Appends the key expression for the given entity to the given - - The entity to build the key expression from. - The builder to append onto. - - - - Appends the key expression for the given entity to the given - - The type of the properties. - The properties of the key. - Delegate to get the name of a property. - Delegate to get the value of a property. - The builder to append onto. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Gets the raw CLR value for the given . - - The property to get the value for. - The type which declared the property. - The raw CLR value of the property. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - static utility function - - - - - String Suffix on outgoing version numbers - - - - Tool name for the GeneratedCode attribute used by Astoria CodeGen - - - Method name for the LoadProperty method. - - - Method name for the Execute method. - - - Method name for the Async Execute method overload which expects void result. - - - Method name for the SaveChanges method. - - - - Empty Data Service Version - represents a blank DSV header - - - - - Data Service Version 1 - - - - - Data Service Version 2 - - - - - Data Service Version 3 - - - - - Data service versions supported on the client - - - - - static char[] for indenting whitespace when tracing xml - - - - - Converts the DataServiceProtocolVersion to a Version instance. - - The max protocol version value. - The same version expressed as Version instance. - - - - DebugInjectFault is a test hook to inject faults in specific locations. The string is the ID for the location - - The injector state parameter - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument to prevent accidental boxing of value types - argument whose value needs to be checked - name of the argument - if value is null - value - - - - Checks the string value is not empty - - value to check - parameterName of public function - if value is null - if value is empty - - - - Checks the string value is not empty, but allows it to be null - - value to check - parameterName of public function - if value is empty - - - - Checks the array value is not empty - - type of the argument to prevent accidental boxing of value types - value to check - parameterName of public function - if value is null - if value is empty or contains null elements - - - - Validate MergeOption - - option to validate - name of the parameter being validated - if option is not valid - option - - - - Validate MaxProtocolVersion - - version to validate - name of the parameter being validated - if version is not valid - version - - - - Validate HttpStack - - option to validate - name of the parameter being validated - if option is not valid - option - - - - get char[] for indenting whitespace when tracing xml - - how many characters to trace - char[] - - - dispose of the object and set the reference to null - type that implements IDisposable - object to dispose - - - dispose of the object - type that implements IDisposable - object to dispose - - - - Checks whether the exception type is one of the DataService*Exception - - exception to test - true if the exception type is one of the DataService*Exception - - - validate value is non-null - type of value - value - error code to throw if null - the non-null value - - - - check the atom:null="true" attribute - - XmlReader - true of null is true - - - Set the continuation for the following results for a collection. - The collection to set the links to - The continuation for the collection. - - - - Determines if the current type is nullable or not - - The type parameter. - true if its nullable false otherwise - - - - Similar to Activator.CreateInstance, but uses LCG to avoid - more stringent Reflection security constraints.in Silverlight - - Type to create. - Arguments. - The newly instantiated object. - - - - Similar to ConstructorInfo.Invoke, but uses LCG to avoid - more stringent Reflection security constraints in Silverlight - - Constructor to invoke. - Arguments. - The newly instantiated object. - - - - checks whether the given flag is set on the options - - options as specified by the user. - whether the given flag is set on the options - true if the given flag is set, otherwise false. - - - - checks whether any batch flag is set on the options - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag is set on the options for the single changeset - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag with independent Operation per change set is set - - options as specified by the user. - true if the given flag is set, otherwise false. - - - modified or unchanged - state to test - true if modified or unchanged - - - - trace Element node - - XmlReader - TextWriter - - - - trace EndElement node - - XmlReader - TextWriter - indent or not - - - - trace string value - - TextWriter - value - - - - Converts the given IEnumerable into IEnumerable - - Type parameter. - IEnumerable which contains the list of the objects that needs to be converted. - Delegate to use to convert the value. - An instance of IEnumerable which contains the converted values. - - - Given a enumeration returns the instance with the same version number. - The protocol version enum value to convert. - The version instance with the version number for the specified protocol version. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - The represents the runtime context of the data service. - - - - - string constant for the 'serviceRoot' parameter to UriResolver - - - - Same version as but stored as instance of for easy comparisons. - - - The client model for the current context instance. - - - The tracker for user-specified format information. - - - The maximum protocol version the client should support (send and receive). - - - - Class which tracks all the entities and links for the given context - - - - - The response preference for add and update operations - - - - The resolver for baseUris - - - Authentication interface for retrieving credentials for Web client authentication. - - - Override the namespace used for the data parts of the ATOM entries - - - resolve type from a typename - - - resolve typename from a type - - - time-out value in seconds, 0 for default - - - whether to use post-tunneling for PUT/DELETE - - - Options when deserializing properties to the target type. - - - Used to specify a value synchronization strategy. - - - Default options to be used while doing savechanges. - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Client will ignore 404 resource not found exception and return an empty set when this is set to true - - - The URL conventions to use. - - - The HTTP stack to use for requests. - - - - Test hook which gets called after the HttpWebRequest has been created and all headers have been set. - - - - - Test hook which gets called after we call HttpWebRequest.GetRequestStream, so that the test code can wrap the stream and see what gets written to it. - - - - - Test hook which gets called after the HttpWebResponse is received. - - - - - Test hook which gets called after we call HttpWebRequest.GetResponseStream, so that the test code can wrap the stream and see what gets read from it. - - - - - A flag indicating if the data service context is applying changes - - - - Initializes a new instance of the class. - It is expected that the BaseUri or ResolveEntitySet properties will be set before using the newly created context. - - - Initializes a new instance of the class with the specified . - An absolute URI that identifies the root of a data service. - When the is null. - If the is not an absolute URI -or-If the is a well formed URI without a query or query fragment. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Initializes a new instance of the class with the specified and targeting the specific . - An absolute URI that identifies the root of a data service. - A value that is the maximum protocol version that the client understands. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - - Instantiates a new context with the specified Uri. - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - - - An absolute, well formed http or https URI without a query or fragment which identifies the root of a data service. - A Uri provided with a trailing slash is equivalent to one without such a trailing character - - max protocol version that the client understands. - The client edm model to use. Provided for testability. - If the is not a valid value. - - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Gets the for the supplied entity object. - The instance for the , or null if an does not exist for the object. - The object for which to return the entity descriptor. - - - Gets the for a specific link that defines the relationship between two entities. - The instance for the specified relationship, or null if a does not exist for the relationship. - Source object in the link - The name of the navigation property on the object that returns the related object. - The related entity. - - - Attempts to cancel the operation that is associated with the supplied object. - The object from the operation being canceled. - DataServiceContext is not safe to use until asyncResult.IsCompleted is true. - - - Creates a data service query for data of a specified generic type. - A new instance that represents a data service query. - A string that resolves to a URI. - The type returned by the query - create a query based on (BaseUri + relativeUri) - - - Gets a URI of the location of .edmx metadata. - A URI that identifies the location of the metadata description, in .edmx format, for the data service identified by the base URI that is passed to the constructor. - - - Asynchronously loads the value of the specified property from the data service. - An IAsyncResult that represents the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property on the specified entity to load. - The delegate called when a response to the request is received. - The user-defined state object that is used to pass context data to the callback method. - actually doesn't modify the property until EndLoadProperty is called. - - - Asynchronously loads a page of related entities from the data service by using the supplied next link URI. - An object that is used to track the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - The URI used to load the next results page. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Asynchronously loads the next page of related entities from the data service by using the supplied query continuation object. - An that represents the status of the operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entity data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the operation. - The response to the load operation. - An that represents the status of the asynchronous operation. - - - Loads deferred content for a specified property from the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response to the load operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Loads a page of related entities by using the supplied next link URI.Not supported by the WCF Data Services 5.0 client for Silverlight. - An instance of that contains the results of the request. - The entity that contains the property to load. - The name of the property of the specified entity to load. - The URI that is used to load the next results page. - When is in a or state. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Loads the next page of related entities from the data service by using the supplied query continuation object.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response that contains the next page of related entity data. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entities to load from the data service. - When is in the or state. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Loads the next page of related entities from the data service by using the supplied generic query continuation object.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response that contains the next page of related entity data. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entities to load from the data service. - Element type of collection to load. - When is in the or state. - - If is in in detached or added state, this method will throw an InvalidOperationException - since there is nothing it can load from the server. - - If is in unchanged or modified state, this method will load its collection or - reference elements as unchanged with unchanged bindings. - - If is in deleted state, this method will load the entities linked to by its collection or - reference property in the unchanged state with bindings in the deleted state. - - - - Gets the URI that is used to return a binary data stream. - The read URI of the binary data stream. - The entity that has a related binary stream to retrieve. - If the entity specified is null. - The is not tracked by this . - If the specified entity is a Media Link Entry, this method will return an URI which can be used to access the content of the Media Resource. This URI should only be used to GET/Read the content of the MR. It may not respond to POST/PUT/DELETE requests. - - - Gets the URI that is used to return a named binary data stream. - The read URI of the binary data stream. - The entity that has the named binary data stream to retrieve. - The name of the stream to request. - If the specified entity has a stream with the given name, this method will return an URI which can be used to access the content of the stream. This URI should only be used to GET/Read the content of the stream. It may not respond to POST/PUT/DELETE requests. - If the entity specified is null. - If the name parameter is empty or the entity specified is not being tracked. - - - Asynchronously gets the binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has a the binary data stream to retrieve. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - Any of the parameters supplied to the method is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary data stream. - - - Asynchronously gets a named binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has the binary data stream to retrieve. - The name of the binary stream to request. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of retrieving a binary data stream. - An instance of which contains the response stream along with its metadata. - The result from the operation that contains the binary data stream. - The method will block if the request have not finished yet. - - - Gets the binary data stream that belongs to the specified entity. - An instance of that represents the response. - The entity that has the binary stream to retrieve. - The is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary stream. - - - Gets the binary data stream that belongs to the specified entity, by using the specified Content-Type message header. - An instance of that represents the response. - The entity that has the binary data stream to retrieve. - The Content-Type of the binary data stream requested from the data service, specified in the Accept header. - - is null.-or- is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related stream. - - - Gets binary data stream for the specified entity by using the specified message headers. - An instance of that represents the response. - The entity that has the binary stream to retrieve. - Instance of class that contains settings for the HTTP request message. - - is null.-or- is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary stream. - - - Gets a named binary data stream that belongs to the specified entity, by using the specified Content-Type message header. - An instance of that represents the response. - The entity that has the binary data stream to retrieve. - The name of the binary stream to request. - Instance of class that contains settings for the HTTP request message. - Either entity or args parameters are null. - The specified entity is either not tracked, is in the added state. - - - Sets a binary data stream that belongs to the specified entity, with the specified Content-Type and Slug headers in the request message. - The entity to which the data stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The Slug header value for the request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The entity has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The entity is not being tracked or name is an empty string. - Any of the arguments is null. - - - Sets a named binary data stream that belongs to the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - The entity is not being tracked. The entity has the MediaEntry attribute - marking it to use the older way of handling MRs. - Any of the arguments is null. - - - Asynchronously submits a group of queries as a batch to the data service. - An object that is used to track the status of the asynchronous operation. - The delegate that is called when a response to the batch request is received. - User-defined state object that is used to pass context data to the callback method. - The array of query requests to include in the batch request. - - - Called to complete the . - The DataServiceResult object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Synchronously submits a group of queries as a batch to the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response to the batch operation. - Array of objects that make up the queries. - - - Asynchronously sends the request so that this call does not block processing while waiting for the results from the service. - An object that is used to track the status of the asynchronous operation. - The URI to which the query request will be sent. The URI may be any valid data service URI; it can contain $ query parameters. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - The operation parameters used. - - This overload expects the to end with a ServiceOperation - or ServiceAction that returns void. - - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - Attribute used on service operations to specify that they return a single instance of their return element. - The operation parameters used. - The type returned by the query. - - - Asynchronously sends a request to the data service to retrieve the next page of data in a paged query result. - An that represents the status of the operation. - A object that represents the next page of data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Called to complete the . - The results returned by the query operation. - - object. - The type returned by the query. - When is null. - When did not originate from this instance. -or- When the method was previously called. - When an error is raised either during execution of the request or when it converts the contents of the response message into objects. - When the data service returns an HTTP 404: Resource Not Found error. - - - Called to complete the . - The result of the operation. - An that represents the status of the asynchronous operation. - This method should be used in combination with the BeginExecute overload which - expects the request uri to end with a service operation or service action that returns void. - - - Sends a request to the data service to execute a specific URI.Not supported by the WCF Data Services 5.0 client for Silverlight. - The results of the query operation. - The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters. - The type that the query returns. - When a response is not received from a request to the . - When is null. - When is not a valid URI for the data service. - When an error is raised either during execution of the request or when it converts the contents of the response message into objects. - When the data service returns an HTTP 404: Resource Not Found error. - - - Sends a request to the data service to retrieve the next page of data in a paged query result.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response that contains the next page of data in the query result. - A object that represents the next page of data to return from the data service. - The type returned by the query. - - - Sends a request to the data service to execute a specific URI by using a specific HTTP method.Not supported by the WCF Data Services 5.0 client for Silverlight. - The response of the operation. - The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters. - The HTTP data transfer method used by the client. - The operation parameters used. - - This overload expects the to end with a ServiceOperation - or ServiceAction that returns void. - - null requestUri - The is not GET nor POST. - problem materializing results of query into objects - failure to get response for requestUri - - - Sends a request to the data service to execute a specific URI by using a specific HTTP method.Not supported by the WCF Data Services 5.0 client for Silverlight. - Returns . - The URI to which the query request will be sent. The URI may be any valid data service URI. Can contain $ query parameters. - The HTTP data transfer method used by the client. - Attribute used on service operations to specify that they return a single instance of their return element. - The operation parameters used. - The type returned by the query. - null requestUri - The is not GET nor POST. - problem materializing results of query into objects - failure to get response for requestUri - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An IAsyncResult that represents the status of the asynchronous operation. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An that represents the status of the asynchronous operation. - The options for how the client can save the pending set of changes. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - BeginSaveChanges will asynchronously attach identity Uri returned by server to sucessfully added entites. - EndSaveChanges will apply updated values to entities, raise ReadingEntity events and change entity states. - - - - Called to complete the operation. - A object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Saves the changes that the is tracking to storage.Not supported by the WCF Data Services 5.0 client for Silverlight. - A that contains status, headers, and errors that result from the call to . - - - Saves the changes that the is tracking to storage.Not supported by the WCF Data Services 5.0 client for Silverlight. - A that contains status, headers, and errors that result from the call to . - A member of the enumeration that specifies the materialization option. - - - Adds the specified link to the set of objects the is tracking. - The source object for the new link. - The name of the navigation property on the source object that returns the related object. - The object related to the source object by the new link. - When , , or are null. - If a link already exists.-or-If either the or objects are in a or state.-or-If is not a collection. - - Notifies the context that a new link exists between the and objects - and that the link is represented via the source. which is a collection. - The context adds this link to the set of newly created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Notifies the to start tracking the specified link that defines a relationship between entity objects. - The source object in the new link. - The name of the property on the source object that represents the link between the source and target object. - The target object in the link that is bound to the source object specified in this call. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When the link between the two entities already exists.-or-When or is in an or state. - - - Removes the specified link from the list of links being tracked by the . - Returns true if the specified entity was detached; otherwise false. - The source object participating in the link to be marked for deletion. - The name of the property on the source object that represents the source in the link between the source and the target. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When or are null. - When is an empty string. - Any link being tracked by the context, regardless of its current state, can be detached. - - - Changes the state of the link to deleted in the list of links being tracked by the . - The source object in the link to be marked for deletion. - The name of the navigation property on the source object that is used to access the target object. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When or is in a or state.-or-When is not a collection. - - Notifies the context that a link exists between the and object - and that the link is represented via the source. which is a collection. - The context adds this link to the set of deleted links to be sent to - the data service on the next call to SaveChanges(). - If the specified link exists in the "Added" state, then the link is detached (see DetachLink method) instead. - - - - Notifies the that a new link exists between the objects specified and that the link is represented by the property specified by the parameter. - The source object for the new link. - The property on the source object that identifies the target object of the new link. - The child object involved in the new link that is to be initialized by calling this method. The target object must be a subtype of the type identified by the parameter. If is set to null, the call represents a delete link operation. - When , or are null. - When the specified link already exists.-or-When the objects supplied as or are in the or state.-or-When is not a navigation property that defines a reference to a single related object. - - Notifies the context that a modified link exists between the and objects - and that the link is represented via the source. which is a reference. - The context adds this link to the set of modified created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Adds the specified object to the set of objects that the is tracking. - The name of the entity set to which the resource will be added. - The object to be tracked by the . - When or is null. - When is empty.-or-When does not have a key property defined. - When the entity is already being tracked by the context. - - It does not follow the object graph and add related objects. - Any leading or trailing forward slashes will automatically be trimmed from entitySetName. - - - - Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request. - The parent object that is being tracked by the context. - The name of the navigation property that returns the related object based on an association between the two entities. - The related object that is being added. - - - Notifies the to start tracking the specified resource and supplies the location of the resource within the specified resource set. - The name of the set that contains the resource. - The resource to be tracked by the . The resource is attached in the Unchanged state. - When or is null. - When is an empty string.-or-When the does not have a key property defined. - When the is already being tracked by the context. - It does not follow the object graph and attach related objects. - - - Notifies the to start tracking the specified resource and supplies the location of the resource in the specified resource set. - The string value that contains the name of the entity set to which to the entity is attached. - The entity to add. - An etag value that represents the state of the entity the last time it was retrieved from the data service. This value is treated as an opaque string; no validation is performed on it by the client library. - When is null.-or-When is null. - When is an empty string.-or-When the supplied object does not have a key property. - When the supplied object is already being tracked by the context - It does not follow the object graph and attach related objects. - - - Changes the state of the specified object to be deleted in the . - The tracked entity to be changed to the deleted state. - When is null. - When the object is not being tracked by the . - - Existings objects in the Added state become detached. - - - - Removes the entity from the list of entities that the is tracking. - Returns true if the specified entity was detached; otherwise false. - The tracked entity to be detached from the . - When is null. - - - Changes the state of the specified object in the to . - The tracked entity to be assigned to the state. - When is null. - When is in the state. - - - - Changes the state of the given entity. - Note that the 'Added' state is not supported by this method, and that AddObject or AddRelatedObject should be used instead. - If the state 'Modified' is given, calling this method is exactly equivalent to calling UpdateObject. - If the state 'Deleted' is given, calling this method is exactly equivalent to calling DeleteObject. - If the state 'Detached' is given, calling this method is exactly equivalent to calling Detach. - If the state 'Unchanged' is given, the state will be changed, but no other modifications will be made to the entity or entity descriptor associated with it. - - The entity whose state to change. - The new state of the entity. - - - Test retrieval of an entity being tracked by the by reference to the URI of the entity. - If an entity is found at , the entity is returned in the out parameter and true is returned. If no entity is found, false is returned. - The URI of the tracked entity to be retrieved. - The entity to be retrieved. - The type of the entity. - When is null. - entities in added state are not likely to have a identity - - - Retrieves the canonical URI associated with the specified entity, if available. - Returns true if the canonical URI is returned in the out parameter. If the specified entity is not tracked by the or is in the added state, no URI is available and false is returned. - The entity identified by the . - The URI of the entity. - When is null. - Entities in added state are not likely to have an identity. Though the identity might use a dereferencable scheme, you MUST NOT assume it can be dereferenced. - - - - Execute the using . - - Element type of the result. - Request URI to execute. - HttpMethod to use. Only GET or POST are supported. - If set to true, indicates that a single result is expected as a response. - False indicates that a collection of TElement is assumed. Should be null for void, entry, and feed cases. - This function will check if TElement is an entity type and set singleResult to null in this case. - The operation parameters associated with the service operation. - A QueryOperationResponse that is enumerable over the results and holds other response information. - null requestUri - The is not GET nor POST. - problem materializing results of query into objects - failure to get response for requestUri - - - Begins the execution of the request uri based on the http method. - element type of the result - request to execute - User callback when results from execution are available. - user state in IAsyncResult - HttpMethod to use. Only GET and POST are supported. - async method name at the source. - If set to true, indicates that a single result is expected as a response. - The operation parameters associated with the service operation. - async result object - - - - Track a binding. - - Source resource. - Property on the source resource that relates to the target resource. - Target resource. - merge operation - - - - Creates the OData request message to write the headers and payload into. - - The arguments for creating the message. - List of header names that needs to be reset after calling SendingRequest event. - Descriptor to expose in SendingRequest2 - An instance of IODataRequestMessage with the given headers and version. - - - - user hook to resolve name into a type - - name to resolve - Null if no type resolver is registered, otherwise returns whatever is returned by the type resolver. - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Fires the WritingEntity event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Fires the ReceivingResponse event. - - Args instance containing information about the response. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. The reasons for doing this are to give us a place - to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Invokes the sendRequest test hook callback with a reference to the HttpWebRequest - - HttpWebRequest to provide in the callback. - - - - Invokes the getRequestWrappingStream test hook callback, so that the test code can wrap the stream and see what gets written to it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Invokes the sendResponse test hook callback with a reference to the HttpWebResponse - - HttpWebResponse to provide in the callback. - - - - Invokes the getResponseWrappingStream test hook callback, so that the test code can wrap the stream and see what gets read from it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Gets an entity metadata builder to evaluate metadata which is not present in payloads, or for which the payload is not available. - - Name of the entity set to which the entity belongs. - The entity to build metadata for. - - A metadata builder for the entity tracked by the given entity instance. - - - This is used for example to determine the edit link for an entity if the payload didn't have one, or to determine the URL for a navigation when building a query through LINQ. - - - - - Fires the BuildingRequest event to get a new RequestMessageArgs object. - - Http method for the request. - Base Uri for the request. - Http stack to use for the request. - Http stack to use for the request. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - - Determines the type that - - Name of the type to resolve. - Namespace of the type. - Namespace of the type, can be different in VB than the fullNamespace. - Type that the name resolved to or null if none found. - Function was added for Portable Lib support to handle the differences in accessing the assembly of the context. - - - validate and trim leading and trailing forward slashes - - resource name to validate - if entitySetName was null - if entitySetName was empty or contained only forward slash - - - validate is entity type - entity to validate - The client model. - if entity was null - if entity does not have a key property - - - - Validates a given list of operation parameter and returns two seperated list of body operation parameter - and uri operation parameter respectively. - - the http method used in the request. Only POST and GET http methods are supported with operation parameters. - The list of operation parameters to be validated. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - - - - Verify that the format is set to Atom, and fail otherwise. - - - - - Fires the BuildingRequest event so the user can add custom query parameters. - - Information about the request so they user can selectively add query parameters. - A new RequestMessageArgs object that contains any changes the user made to the query string. - - - - Validate the SaveChanges Option - - options as specified by the user. - - - - Validate and process the input parameters to all the execute methods. Also seperates and returns - the input operation parameters list into two seperate list - one of body operation parameters and the other - for uri operation parameters. - - element type. See Execute method for more details. - request to execute - HttpMethod to use. Only GET and POST are supported. - If set to true, indicates that a single result is expected as a response. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - The operation parameters associated with the service operation. - - - - create the load property request - - entity - name of collection or reference property to load - The AsyncCallback delegate. - user state - The request uri, or null if one is to be constructed - Continuation, if one is available. - a aync result that you can get a response from - - - - verify the source and target are relatable - - source Resource - source Property - target Resource - destination state of relationship to evaluate for - true if DeletedState and one of the ends is in the added state - if source or target are null - if source or target are not contained - if source property is null - if source property empty - Can only relate ends with keys. - If target doesn't match property type. - If adding relationship where one of the ends is in the deleted state. - If attaching relationship where one of the ends is in the added or deleted state. - - - - This method creates an async result object around a request to get the read stream for a Media Resource - associated with the Media Link Entry represented by the entity object. - - The entity which is the Media Link Entry for the requested Media Resource. Thist must specify - a tracked entity in a non-added state. - Instance of class with additional metadata for the request. - Must not be null. - User defined callback to be called when results are available. Can be null. - User state in IAsyncResult. Can be null. - name of the stream. - The async result object for the request, the request hasn't been started yet. - Either entity or args parameters are null. - The specified entity is either not tracked, - is in the added state or it's not an MLE. - - - - Ensures that the required data service protocol version is lesser than the maxprotocolversion on this instance. - - throws an invalidoperationexception if the max protocolversion is lesser than the required protocol version - - - - Ensures that the maxprotocolversion on this instance is lesser than - - The property being modified. - The max allowed dataserviceversion for modifying this property. - throws a NotSupportedException if the max protocolversion is greater than - - - - Helper method for calling the overridable GetEntityMetadataBuilder API and performing common logic/verification. - - The entity descriptor tracking the entity. - A metadata builder for the entity tracked by the given descriptor. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. It fires the ReceivingResponse event. - It also gives us a place to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - IAsyncResult for EndGetResponse if this is an async call. - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - Mark an existing object for update in the context. - - entity to be mark for update - If true, then an exception should be thrown if the entity is in neither the unchanged nor modified states. - if entity is null - if entity is detached - if entity is not unchanged or modified and is true. - - - - Mark an existing object being tracked by the context for deletion. - - entity to be mark deleted - If true, then an exception will be thrown if the entity is in the added state. - if entity is null - if entity is not being tracked by the context, or if the entity is in the added state and is true. - - Existings objects in the Added state become detached if is false. - - - - - Sets the entity's state to unchanged. - - The entity to set back to unchanged. - - - Occurs when a new has been created. - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request message object is built, giving - the handler the opportunity to inspect, adjust and/or replace some - request information before the message is built. This event should be - used to modify the outgoing Url of the request or alter request headers. - After the request is built, other modifications on the WebRequest object can be made - in SendingRequest2. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - Occurs after entity data has been completely read into the entity object. - - This event fires once an entry has been read into a .NET object - but before the serializer returns to the caller, giving handlers - an opporunity to read further information from the incoming ATOM - entry and updating the object. - This event should only be raised from the thread that was used to - invoke Execute, EndExecute, SaveChanges, EndSaveChanges. - - - - - This event fires when a response is received by the client. - It fires for both top level responses and each operation or query within a batch response. - - - On top level requests, the event is fired before any processing is done. - For inner batch operations, the event is also fired before any processing is done, with - the exception that the content-ID of a changeset operation will be read before the event is fired. - - - - Occurs after an entity has been fully serialized into XML in a request message. - - This event fires once an ATOM entry is ready to be written to - the network for a request, giving handlers an opportunity to - customize the entry with information from the corresponding - .NET object or the environment. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event fires when SaveChanges or EndSaveChanges is called - - - - - Internal event instance used by the public SendingRequest event. - - - - - Internal event instance used by the public BuildingRequest event. - - - - - Internal event instance used by the public WritingEntity event. - - - - Gets or sets the delegate method that is used to resolve the entity set URI when the value cannot be determined from an edit-link or self-link URI. - A delegate that takes a and returns a value. - - - Gets the absolute URI identifying the root of the target data service. - An absolute URI that identifies the root of a T data service. - - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - Example: http://server/host/myservice.svc - - - - Gets or sets whether the client requests that the data service return entity data in the response message to a change request. - A object that determines whether to request a response form the data service. - Whether POST/PUT/MERGE requests will process response from the server. Corresponds to Prefer header in HTTP POST/PUT/MERGE request. - - - Gets the maximum version of the Open Data Protocol (OData) that the client is allowed to use. - The maximum version of OData that the client is allowed to use. - If the request or response would require higher version the client will fail. - - - Gets or sets the authentication information that is used by each query created by using the object. - The base authentication interface for retrieving credentials for Web client authentication. - - - Gets or sets the synchronization option for receiving entities from a data service. - One of the members of the enumeration. - - Used to specify a synchronization strategy when sending/receiving entities to/from a data service. - This value is read by the deserialization component of the client prior to materializing objects. - As such, it is recommended to set this property to the appropriate materialization strategy - before executing any queries/updates to the data service. - The default value is .AppendOnly. - - - - Gets a value that indicates whether the is currently applying changes to tracked objects. - Returns true when changes are currently being applied; otherwise returns false. - - - Gets or sets whether the properties read from the type must be mapped to properties on the client-side type. - A Boolean value that indicates whether the properties read from the type must be mapped to properties on the client-side type. - - This also affects responses during SaveChanges. - - - - Gets or sets the XML namespace for data items, not metadata items, of an Atom payload. - A string representing the XML namespace for data items of a payload in the ATOM format. - - - Gets or sets a function to override the default type resolution strategy used by the client library when you send entities to a data service. - Returns a string that contains the name of the . - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves - a type within the client application to a namespace-qualified type name. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - This method enables one to override the entity name that is serialized - to the target representation (ATOM,JSON, etc) for the specified type. - - - - Gets or sets a function that is used to override the default type resolution option that is used by the client library when receiving entities from a data service. - A function delegate that identifies an override function that is used to override the default type resolution option that is used by the client library. - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves a - namespace-qualified type name to type within the client application. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - Overriding type resolution enables inserting a custom type name to type mapping strategy. - It does not enable one to affect how a response is materialized into the identified type. - - - - Gets or sets the time-out option (in seconds) that is used for the underlying HTTP request to the data service. - An integer that indicates the time interval (in seconds) before time-out of a service request. - - A value of 0 will use the default timeout of the underlying HTTP request. - This value must be set before executing any query or update operations against - the target data service for it to have effect on the on the request. - The value may be changed between requests to a data service and the new value - will be picked up by the next data service request. - - - - Gets or sets the URI used to indicate what type scheme is used by the service. - A object that contains the type scheme. - - - Gets or sets a Boolean value that indicates whether to use post tunneling. - A Boolean value that indicates whether to use post tunneling. - - - Gets the collection of all associations or links currently being tracked by the object. - A collection of objects that represent all associations or links current being tracked by the current being tracked by the object. - If no links are being tracked, a collection with 0 elements is returned. - - - Gets a list of all the resources currently being tracked by the . - A list of objects that represent all the resources currently being tracked by the . - If no resources are being tracked, a collection with 0 elements is returned. - - - Gets or sets the values that are used by the method. - The current options for the save changes operation. - - - Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service. - When set to true, the client library returns an empty set instead of raising a when the data service returns an HTTP 404: Resource Not Found error. - - - - Gets the configurations. - - - - - Gets an object which allows the user to customize the format the client will use for making requests. - - - - - Gets or sets the URL conventions the client should use. - - - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Gets a value that indicates the type of HTTP implementation to use when accessing the data service in Silverlight. - A value that indicates the HTTP implementation to use when accessing the data service. - Default value is HttpStack.Auto - - - Indicates if there are subscribers for the WritingEntity event - - - - True if any event handlers are registered for events that are only supported with Atom. - - - - Indicates if there are subscribers for the SendingRequest event. - We do not fire SendingRequest event if there are subscribers to SendingRequest2 event. - - - Indicates if there are subscribers for the SendingRequest2 event. - - - - INdicates if there are any subscribers for the BuildingRequestEvent. - - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - The tracker for user-specified format information. - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - - Gets the client model. - - - - - Cache for client edm models by version. - - - - A cache that maps a data service protocol version to its corresponding . - Note that it is initialized in a static ctor and must not be changed later to avoid threading issues. - - - - Static constructor used to initialize modelCache. - - - - - Get the cached model for the specified max protocol version. - - The to get the cached model for. - The cached model for the . - - - - query object - - type of object to materialize - - - Method info for the v1 Expand method. - - - Method info for the generic version of the Expand method - - - Linq Expression - - - Linq Query Provider - - - Uri, Projection, Version for translated query - - - - query object - - expression for query - query provider for query - - - Starts an asynchronous network operation that executes the query represented by this object instance. - An that represents the status of the asynchronous operation. - The delegate to invoke when the operation completes. - User defined object used to transfer state between the start of the operation and the callback defined by . - - - Ends an asynchronous query request to a data service. - Returns an that contains the results of the query operation. - The pending asynchronous query request. - When the data service returns an HTTP 404: Resource Not Found error. - - - Executes the query and returns the results as a collection that implements IEnumerable.Not supported by the WCF Data Services 5.0 client for Silverlight. - An in which TElement represents the type of the query results. - When the data service returns an HTTP 404: Resource Not Found error. - When during materialization an object is encountered in the input stream that cannot be deserialized to an instance of TElement. - - - Expands a query to include entities from a related entity set in the query response. - A new query that includes the requested $expand query option appended to the URI of the supplied query. - The expand path in the format Orders/Order_Details. - - - Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy. - Returns a that with the expand option included. - A lambda expression that indicates the navigation property that returns the entity set to include in the expanded query. - Target type of the last property on the expand path. - - - Requests that the count of all entities in the entity set be returned inline with the query results. - A new object that has the inline count option set. - - - Creates a new with the query option set in the URI generated by the returned query. - A new query that includes the requested query option appended to the URI of the supplied query - The string value that contains the name of the query string option to add. - The object that contains the value of the query string option. - - - Executes the query and returns the results as a collection. - A typed enumerator over the results in which TElement represents the type of the query results. - - - Represents the URI of the query to the data service. - A URI as string that represents the query to the data service for this instance. - - - Executes the query and returns the results as a collection. - An enumerator over the query results. - - - - gets the UriTranslateResult for a the query - - The client model. - an instance of QueryComponents. - - - Synchronous methods not available - - Returns an IEnumerable from an Internet resource. - - An IEnumerable that contains the response from the Internet resource. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - - gets the query components for the query after translating - - QueryComponents for query - - - Returns the type of the object used in the template to create the instance. - Returns representing the type used in the template when the query is created. - - - Represents an expression containing the query to the data service. - A object representing the query. - - - Represents the query provider instance. - A representing the data source provider. - - - Get the URI for the query. - The URI of the request. - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Context associated with this query. - - - - Ordered DataServiceQuery which implements IOrderedQueryable. - - - - - constructor - - expression for query - query provider for query - - - web utility functions - - - - Default buffer size used for stream copy. - - - - - Whether DataServiceCollection<> type is available. - - - - Method info for GetDefaultValue<T>. - - - copy from one stream to another - input stream - output stream - reusable buffer - count of copied bytes - - - get response object from possible WebException - exception to probe - http web respose object from exception - an instance of InvalidOperationException. - - - is this a success status code - status code - true if status is between 200-299 - - - - Checks if the provided type is a collection type (i.e. it implements ICollection and the collection item type is not an entity). - - Type being checked. - The client model. - True if the CLR type is a collection compatible type. False otherwise. - - - - Checks if the provided type name is a name of a collection type. - - Type name read from the payload. - true if is a name of a collection type otherwise false. - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Collection item type name or null if not a collection. - - - - Resolves and creates if necessary a backing type for the . - - Type of a collection property as defined by the user - can be just an interface or generic type. - Type of items stored in the collection. - Resolved concrete type that can be instantiated and will back the collection property. Can be the type. - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument - argument whose value needs to be checked - name of the argument - returns the argument back - - - - Checks if the collection is valid. Throws if the collection is not valid. - - The type of the collection item. Can not be null. - Collection instance to be validated. - The name of the property being serialized (for exception messages). Can be null if the type is not a property. - - - - Checks if the value of a collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - This method should be called first to validate all items in a collection regardless of their type. - - - - Checks if the value of a primitive collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null. - The type of the collection item as declared by the collection. - - - - Checks if the value of a complex collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null if the type is not a property. - The type of the collection item as declared by the collection. - - - - Validates the value of the identity, the atom:id or DataServiceId - - The value to validate - - - - Validates the value of the 'Location' response header. - - the value as seen on the wire. - an absolute uri or - - - - Determines the value of the Prefer header based on the response preference settings. Also modifies the request version as necessary. - - The response preference setting for the request. - The request version so far, this might be modified (raised) if necessary due to response preference being applied. - The value of the Prefer header to apply to the request. - - - - Raises the version specified to the new minimal version (if it's lower than the current one) - - The version to be raised. - The minimal version needed. - - - - Checks if the given type is DataServiceCollection<> type. - - Type to be checked. - true if the provided type is DataServiceCollection<> or false otherwise. - - - - Creates an instance of DataServiceCollection<> class using provided types. - - Types to be used for creating DataServiceCollection<> object. - - Instance of DataServiceCollection<> class created using provided types or null if DataServiceCollection<> - type is not avaiable. - - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Dispose the message if it implements IDisposable. - - IODataResponseMessage to dispose. - - - - Forces loading WindowsBase assembly. If WindowsBase assembly is not present JITter will throw an exception. - This method MUST NOT be inlined otherwise we won't be able to catch the exception by JITter in the caller. - - typeof(DataServiceCollection<>) - - - - Returns true if DataServiceCollection<> type is available or false otherwise. - - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Represents an EDM property for client types and caches methods for the propertyInfo. - - - - Back reference to the EdmProperty this annotation is part of. - - - property name for debugging - - - Exact property type; possibly nullable but not necessarily so. - - - type of the property - - - what is the dictionary value type - - - what type was this property declared on? - - - - Is this a known primitive/reference type or an entity/complex/collection type? - - - - property getter - - - property setter - - - "set_Item" method supporting IDictionary properties - - - "Add" method supporting ICollection<> properties - - - "Remove" method supporting ICollection<> properties - - - "Contains" method supporting ICollection<> properties - - - "Clear" method supporting ICollection<> properties - - - ICollection<> generic type - - - cached value for IsPrimitiveOrComplexCollection property - - - cached value of IsGeographyOrGeometry property - - - The other property in this type that holds the MIME type for this one - - - - constructor - - Back reference to the EdmProperty this annotation is part of. - propertyInfo instance. - The client model. - - - - get property value from an object - - object to get the property value from - property value - - - - remove a item from the collection instance - - collection - item to remove - - - - set property value on an object - - object to set the property value on - property value - used for open type - allow add to a collection if available, else allow setting collection property - - - - Clears . - - ICollection instance that needs to be cleared. - - - - Adds value to a collection. - - ICollection Instance to add to. - Value to be added to . - - - - Gets the client model. - - - - The other property in this type that holds the MIME type for this one - - - what is the nested collection element - - - Is this property a collection of entities? - - - Type of items in the primitive or complex collection. - - - Is this property a collection of primitive or complex types? - - - Returns true if the type of property is a Geography or Geometry type, otherwise returns false. - - - Is this property a dictionary? - - - Returns true if this property is a stream link property, otherwise false. - - - - Utility methods for client types. - - - - A static empty PropertyInfo array. - - - - Sets the single instance of on the given instance of . - - The model the belongs to. - IEdmType instance to set the annotation on. - The annotation to set - - - - Gets the ClientTypeAnnotation for the given type. - - The model. - Type for which the annotation needs to be returned. - An instance of ClientTypeAnnotation containing metadata about the given type. - - - - Gets the single instance of from the given instance of . - - The model the belongs to. - IEdmType instance to get the annotation. - Returns the single instance of from the given instance of . - - - - Sets the given instance of to the given instance of . - - IEdmProperty instance to set the annotation. - Annotation instance to set. - - - - Gets the single instance of ClientPropertyAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the single instance of ClientPropertyAnnotation from the given instance of . - - - - Gets the instance of ClientTypeAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the instance of ClientTypeAnnotation from the given instance of . - - - - Returns the corresponding edm type reference for the given edm type. - - EdmType instance. - A boolean value indicating whether the clr type of this edm type is nullable - Returns the corresponding edm type reference for the given edm type. - - - - Returns the full name for the given edm type - - EdmType instance. - the full name of the edmType. - - - - Returns MethodInfo instance for a generic type retrieved by using and gets - element type for the provided . - - starting type - the generic type definition to find - the method to search for - the element type for if found - element types - - - Gets a delegate that can be invoked to add an item to a collection of the specified type. - Type of list to use. - The delegate to invoke. - - - - Gets the Add method to add items to a collection of the specified type. - - Type for the collection. - The element type in the collection if found; null otherwise. - The method to invoke to add to a collection of the specified type. - - - - get concrete type that implements the genericTypeDefinition - - starting type - the generic type definition to find - concrete type that implementats the generic type - - - - Is the type an Entity Type? - - Type to examine - The client model. - bool indicating whether or not entity type - - - - Is the type or element type (in the case of nullableOfT or IEnumOfT) a Entity Type? - - Type to examine - bool indicating whether or not entity type - - - Checks whether the specified type is a DataServiceCollection type (or inherits from one). - Type to check. - true if the type inherits from DataServiceCollection; false otherwise. - - - Whether a variable of can be assigned null. - Type to check. - true if a variable of type can be assigned null; false otherwise. - - - Returns the list of properties defined on . - Type instance in question. - True to to get the properties declared on ; false to get all properties defined on . - Returns the list of properties defined on . - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - Returns the list of key properties defined on ; null if is complex. - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - true if has any (declared or inherited) properties; otherwise false. - Returns the list of key properties defined on ; null if is complex. - - - Gets the type of the specified . - Member to get type of (typically PropertyInfo or FieldInfo). - The type of property or field type. - - - - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - Property in question. - DataServiceKeyAttribute instance. - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - - - Checks whether the specified is a - closed constructed type of the generic type. - - Type to check. - Generic type for checkin. - true if is a constructed type of . - The check is an immediate check; no inheritance rules are applied. - - - - Determines whether the declared on - overrides a (virtual/abstract) property of a base type. - - The declaring type of the property. - The property to check. - true if overrides a property on a base types; otherwise false. - - - - Enumeration for the kind of key - - - - If this is not a key - - - If the key property name was equal to ID - - - If the key property name was equal to TypeName+ID - - - if the key property was attributed - - - - Caches wire type names and their mapped client CLR types. - - - - cache <T> and wireName to mapped type - - - - resolve the wireName/userType pair to a CLR type - - type name sent by server - type passed by user or on propertyType from a class - mapped clr type - - - - is the type a visible subclass with correct name - - type name from server - the type from user for materialization or property type - type being tested - the previously discovered matching type - if the mapping is ambiguous - - - type + wireName combination - - - type - - - type name from server - - - equality comparer for TypeName - - - equality comparer for TypeName - left type - right type - true if x and y are equal - - - compute hashcode for TypeName - object to compute hashcode for - computed hashcode - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The expected content type for a batch requests is "multipart/mixed;boundary=batch" not "{0}"." - - - - - A string like "The POST request expected a response with content. ID={0}" - - - - - A string like "The web response contained unexpected sections. ID={0}" - - - - - A string like "The ResolveEntitySet function must return a non-null Uri for the EntitySet '{0}', otherwise you must set the BaseUri property." - - - - - A string like "Unable to convert value '{0}' into a key string for a URI." - - - - - A string like "System.Data.Services.Client internal error {0}." - - - - - A string like "The stream named '{0}' cannot be modified because it does not have an edit-media link. Make sure that the stream name is correct and that an edit-media link for this stream is included in the entry element in the response." - - - - - A string like "The property '{0}' is not supported when MaxProtocolVersion is greater than '{1}'." - - - - - A string like "Media link object of type '{0}' is configured to use the MIME type specified in the property '{1}'. However, that property's value is null or empty." - - - - - A string like "Response version '{0}' is not supported. The only supported versions are: {1}." - - - - - A string like "The response version is {0}, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the version required by the response, and then retry the request. If the client does not support the required protocol version, then upgrade the client." - - - - - A string like "The request requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the higher version, and then retry the operation." - - - - - A string like "The entity type {0} is marked with MediaEntry attribute but no save stream was set for the entity." - - - - - A string like "Can't use SetSaveStream on entity with type {0} which has a media entry property defined." - - - - - A string like "Calling SetSaveStream on an entity with state '{0}' is not allowed." - - - - - A string like "The entity does not have a stream named '{0}'. Make sure that the name of the stream is correct." - - - - - A string like "There is no self-link or edit-media link for the stream named '{0}'. Make sure that either the self-link or edit-media link is specified for this stream." - - - - - A string like "The serialized resource has a null value in key member '{0}'. Null values are not supported in key members." - - - - - A string like "An entity in the 'Added' state cannot be changed to '{0}', it can only be changed to 'Detached'." - - - - - A string like "The content-type value '{0}' is not supported." - - - - - A string like "{0}.{1} must return a non-null open property collection." - - - - - A string like "The open object property '{0}:{1}' is not defined." - - - - - A string like "{0} has multiple definitions for OpenObjectAttribute." - - - - - A string like "The closed type {0} does not have a corresponding {1} settable property." - - - - - A string like "{0} has key properties declared on a non-simple type." - - - - - A string like "{0} has key properties declared at different levels within its type hierarchy." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the MIME type property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the data property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MediaEntry attribute that references a property called '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "The type '{0}' has no settable properties." - - - - - A string like "The open type property '{0}' returned a null instance." - - - - - A string like "Resolving type from '{0}' that inherits from '{1}' is ambiguous." - - - - - A string like "The type '{0}' is not supported by the client library." - - - - - A string like "The type '{0}' has a property '{1}' which is a collection property. Collection properties are only supported in 'V3' version of the protocol and above." - - - - - A string like "Multiple types were found with the same name '{0}'. Type names must be unique." - - - - - A string like "The type '{0}' is a collection type. Collection types are only supported in 'V3' version of the protocol and above." - - - - - A string like "An item in the collection property '{0}' is not of the correct type. All items in the collection property must be of the collection item type." - - - - - A string like "A collection of item type '{0}' has an item which is not of the correct type. All items in the collection must be of the collection item type." - - - - - A string like "The property '{0}' is of entity type and it cannot be a property of the type '{1}', which is not of entity type. Only entity types can contain navigation properties." - - - - - A string like "The current value '{1}' type is not compatible with the expected '{0}' type." - - - - - A string like "Error processing response stream. Atom payload has a feed and the property '{0}' is not a collection." - - - - - A string like "Error processing response stream. Atom payload has an entry and the property '{0}' is a collection." - - - - - A string like "Error processing response stream. Server failed with following message:\r\n{0}" - - - - - A string like "The value of the property '{0}' is null. Properties that are a collection type of primitive or complex types cannot be null." - - - - - A string like "The value of the collection of item type '{0}' is null. A collection cannot have a null value." - - - - - A string like "The entity with identity '{0}' does not have a self-link or an edit-link associated with it. Please make sure that the entity has either a self-link or an edit-link associated with it." - - - - - A string like "The PropertyName property value '{1}' of EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The PropertyName property value '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' is provided more than once." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a resource type is not a primitive type." - - - - - A string like "The property '{0}' on type '{1}' is not present or is inaccessible." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'DataServiceStreamLink'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the TargetName property of EntityPropertyMappingAttribute." - - - - - A string like "The TargetName property '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' have the same value. Conflicting properties are '{2}' and '{3}'." - - - - - A string like "Character set '{0}' is not supported." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it contained escape characters even though it was not quoted." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it terminated with escape character. Escape characters must always be followed by a character in a parameter value." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because the closing quote character could not be found while the parameter value started with a quote character." - - - - - A string like "The expression type {0} is not supported." - - - - - A string like "Could not convert constant {0} expression to string." - - - - - A string like "The method '{0}' is not supported." - - - - - A string like "The unary operator '{0}' is not supported." - - - - - A string like "The binary operator '{0}' is not supported." - - - - - A string like "The constant for '{0}' is not supported." - - - - - A string like "The member access of '{0}' is not supported." - - - - - A string like "Can't cast to unsupported type '{0}'" - - - - - A string like "The expression {0} is not supported." - - - - - A string like "Error translating Linq expression to URI: {0}" - - - - - A string like "Can't add duplicate query option '{0}'." - - - - - A string like "Can't add query option '{0}' because it would conflict with the query options from the translated Linq expression." - - - - - A string like "Can't add query option '{0}' because it begins with reserved character '$'." - - - - - A string like "Referencing public field '{0}' not supported in query option expression. Use public property instead." - - - - - A string like "The {0} query option cannot be specified after the {1} query option." - - - - - A string like "Cannot initialize an instance of entity type '{0}' because '{1}' and '{2}' do not refer to the same source entity." - - - - - A string like "The expression '{0}' is not a valid expression for navigation path. The only supported operations inside the lambda expression body are MemberAccess and TypeAs. The expression must contain at least one MemberAccess and it cannot end with TypeAs." - - - - - A string like "Initializing instances of the entity type {0} with the expression {1} is not supported." - - - - - A string like "Constructing or initializing instances of the type {0} with the expression {1} is not supported." - - - - - A string like "Cannot assign the value from the {0} property to the {1} property. When projecting results into a entity type, the property names of the source type and the target type must match for the properties being projected." - - - - - A string like "The collection property '{0}' cannot be used in an 'orderby' query expression. Collection properties are not supported by the 'orderby' query option." - - - - - A string like "The collection property '{0}' cannot be used in a 'where' query expression. Collection properties are only supported as the source of 'any' or 'all' methods in a 'where' query option." - - - - - A string like "Navigation to members of the collection property '{0}' in a 'select' query expression is not supported." - - - - - A string like "The property '{0}' of type 'DataServiceStreamLink' cannot be used in 'where' or 'orderby' query expressions. Properties of type 'DataServiceStreamLink' are not supported by these query options." - - - - - A string like "Unsupported expression '{0}' in '{1}' method. Expression cannot end with TypeAs." - - - - - A string like "The method '{0}' is not supported when MaxProtocolVersion is less than '{1}'." - - - - - A string like "The type '{0}' is not an entity type. The target type for a TypeAs operator must be an entity type." - - - - - A string like "The source parameter for the '{0}' method has to be either a navigation or a collection property." - - - - - A string like "The method '{0}' is not supported by the 'orderby' query option." - - - - - A string like "The DataServiceCollection to be tracked must contain entity typed elements with at least one key property. The element type '{0}' does not have any key property." - - - - - A string like "Setting an instance of DataServiceCollection to an entity property is disallowed if the instance is already being tracked. Error occurred on property '{0}' for entity type '{1}'." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by DataServiceCollection." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by a collection object of type '{1}'." - - - - - A string like "Null values are disallowed during '{0}' operations on DataServiceCollection." - - - - - A string like "A value provided during '{0}' operation on DataServiceCollection is not of an entity type with key." - - - - - A string like "Entity set name has not been provided for an entity of type '{0}'." - - - - - A string like "An attempt was made to add entity of type '{0}' to a collection in which the same entity already exists." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type '{0}' does not implement the INotifyPropertyChanged interface." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type contains a collection property of type '{0}' that does not implement the INotifyCollectionChanged interface." - - - - - A string like "An attempt to track a complex object of type '{0}' failed because the complex object is already being tracked." - - - - - A string like "An attempt to track a collection object of type '{0}' failed because the collection object is already being tracked." - - - - - A string like "The null value from property '{0}' cannot be assigned to a type '{1}'." - - - - - A string like "An entry of type '{0}' cannot be added to a collection that contains instances of type '{1}'. This may occur when an existing entry of a different type has the same identity value or when the same entity is projected into two different types in a single query." - - - - - A string like "An entry returned by the navigation property '{0}' is null and cannot be initialized. You should check for a null value before accessing this property." - - - - - A string like "An entry that contains the data required to create an instance of type '{0}' is null and cannot be initialized. You should check for a null value before accessing this entry." - - - - - A string like "An entity of type '{0}' cannot be projected because there is already an instance of type '{1}' for '{2}'." - - - - - A string like "The expected property '{0}' could not be found while processing an entry. Check for null before accessing this property." - - - - - A string like "Property '{0}' is not an entity." - - - - - A string like "Collection property '{0}' cannot be created because the type '{1}' does not have a public parameterless constructor." - - - - - A string like "The element '{0}' is not a valid collection item. The name of the collection item element must be 'element' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is an entity type, but the type in the response payload does not represent an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is not an entity type, but the type in the response payload represents an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "Materialization of top level collection expected ICollection<>, but actual type was {0}." - - - - - A string like "The response payload is a not a valid response payload. Please make sure that the top level element is a valid Atom or JSON element or belongs to '{0}' namespace." - - - - - A string like "The response content type '{0}' is not currently supported." - - - - - A string like "Cannot materialize the results into a collection type '{0}' because it does not have a parameterless constructor." - - - - - A string like "Cannot materialize a collection of a primitives or complex without the type '{0}' being a collection." - - - - - A string like "A circular loop was detected while serializing the property '{0}'. You must make sure that loops are not present in properties that return a collection or complex type." - - - - - A string like "A circular loop was detected while serializing the complex type '{0}'. You must make sure that loops are not present in a collection or a complex type." - - - - - A string like "The operation parameter named '{0}' has a collection item of Edm type kind '{1}'. A collection item must be either a primitive type or a complex Edm type kind." - - - - - A string like "The operation parameter named '{0}' has a null collection item. The items of a collection must not be null." - - - - - A string like "The operation parameter named '{0}' was of Edm type kind '{1}'. An operation parameter must be either a primitive type, a complex type or a collection of primitive or complex types." - - - - - A string like "The parameter alias '{0}' was not present in the request URI. All parameters passed as alias must be present in the request URI." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "Not all requests in the batch had a response." - - - - - A string like "Expected an absolute, well formed http URL without a query or fragment." - - - - - A string like "You must set the BaseUri property before you perform this operation." - - - - - A string like "The Uri that is returned by the ResolveEntitySet function must be an absolute, well-formed URL with an "http" or "https" scheme name and without any query strings or fragment identifiers." - - - - - A string like "Because the requestUri is a relative Uri, you must set the BaseUri property on the DataServiceContext." - - - - - A string like "The identity value specified by either the Atom id element or the DataServiceId header must be an absolute URI." - - - - - A string like "The 'Location' header value specified in the response must be an absolute URI." - - - - - A string like "One of the link's resources failed to insert." - - - - - A string like "An error occurred for this query during batch execution. See the inner exception for details." - - - - - A string like "Expected a relative URL path without query or fragment." - - - - - A string like "Changes cannot be saved as a batch when an entity has one or more streams associated with it. Retry the SaveChanges operation without enabling the SaveChangesOptions.Batch and the SaveChangesOptions.BatchWithIndependentOperations options." - - - - - A string like "This operation requires the entity be of an Entity Type, and has at least one key property." - - - - - A string like "This operation requires the entity to be of an Entity Type, either mark its key properties, or attribute the class with DataServiceEntityAttribute" - - - - - A string like "The context is not currently tracking the entity." - - - - - A string like "The context is already tracking the entity." - - - - - A string like "The context is already tracking a different entity with the same resource Uri." - - - - - A string like "The current object did not originate the async result." - - - - - A string like "The asynchronous result has already been completed." - - - - - A string like "The operation has been canceled." - - - - - A string like "The context can not load the related collection or reference for objects in the added state." - - - - - A string like "One or both of the ends of the relationship is in the added state." - - - - - A string like "One or both of the ends of the relationship is in the deleted state." - - - - - A string like "The context is already tracking the relationship." - - - - - A string like "The sourceProperty is not a reference or collection of the target's object type." - - - - - A string like "AddLink and DeleteLink methods only work when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works if the source entity is in a non-deleted state." - - - - - A string like "SetLink method only works when the sourceProperty is not a collection." - - - - - A string like "Saving entities with the [MediaEntry] attribute is not currently supported in batch mode. Use non-batched mode instead." - - - - - A string like "Unexpected result (<= 0) from stream.Read() while reading raw data for this property." - - - - - A string like "Attempt to delete a link between two objects failed because the identity of the target object of the link depends on the source object of the link." - - - - - A string like "The ContentType value for a named stream cannot be null or an empty string." - - - - - A string like "This operation requires that the specified entity be a Media Link Entry and that the ReadStreamUri be available. However, the specified entity either is not a Media Link Entry or does not have a valid ReadStreamUri value. If the entity is a Media Link Entry, re-query the data service for this entity to obtain a valid ReadStreamUri value." - - - - - A string like "There is no edit-media link for the entity's media stream. Make sure that the edit-media link is specified for this stream." - - - - - A string like "The response should have both 'Location' and 'DataServiceId' headers or the response should not have any of these headers." - - - - - A string like "OperationParameter of type BodyOperationParameter cannot be specified when the HttpMethod is set to GET." - - - - - A string like "The Name property of an OperationParameter must be set to a non-null, non-empty string." - - - - - A string like "Multiple uri operation parameters were found with the same name. Uri operation parameter names must be unique." - - - - - A string like "Multiple body operation parameters were found with the same name. Body operation parameter names must be unique." - - - - - A string like "The HttpMethod must be GET or POST." - - - - - A string like "EndExecute overload for void service operations and actions received a non-void response from the server." - - - - - A string like "The operation parameters array contains a null element which is not allowed." - - - - - A string like "An implementation of ODataEntityMetadataBuilder is required, but a null value was returned from GetEntityMetadataBuilder." - - - - - A string like "SendingRequest is a deprecated event. If using BuildingRequest, you cannot use SendingRequest. Use SendingRequest2 instead." - - - - - A string like "The ChangeState method does not support the 'Added' state because additional information is needed for inserts. Use either AddObject or AddRelatedObject instead." - - - - - A string like "The entity's state can only be changed to 'Modified' if it is currently 'Unchanged'." - - - - - A string like "DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property must not return a null value. Please return a non-null value for this property." - - - - - A string like "SendingRequest cannot be used in combination with the DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property. Please use SendingRequest2 with DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property instead." - - - - - A string like "The ReadingEntity and WritingEntity events are only supported when using the Atom format. Use the Atom format or remove all registered handlers for these events before enabling another format." - - - - - A string like "When you call the UseJson method without a parameter, you must use the LoadServiceModel property to provide a valid IEdmModel instance." - - - - - A string like "UseJson is not supported when the MaxProtocolVersion is set to less than V3. This JSON format is only supported by OData v3 or a later version." - - - - - A string like "To use the JSON format, you must first call DataServiceContext.Format.UseJson() and supply a valid service model." - - - - - A string like "Multiple implementations of ICollection<T> is not supported." - - - - - A string like "Collection properties of a collection type are not supported." - - - - - A string like "An error occurred while processing this request." - - - - - A string like "Only a single enumeration is supported by this IEnumerable." - - - - - A string like "Error processing response stream. Element value interspersed with a comment is not supported." - - - - - A string like "Error processing response stream. The XML element contains mixed content." - - - - - A string like "Error processing response stream. Atom payload has a link, local object has a simple value." - - - - - A string like "The response to this POST request did not contain a 'location' header. That is not supported by this client." - - - - - A string like "Error processing response stream. Missing id element in the response." - - - - - A string like "An item in the collection property has a null value. Collection properties that contain items with null values are not supported." - - - - - A string like "A collection property of primitive types cannot contain an item of a complex type." - - - - - A string like "A collection property of complex types cannot contain an item of a primitive type." - - - - - A string like "Content-Type header value missing." - - - - - A string like "Media type is missing a parameter value." - - - - - A string like "Media type requires a ';' character before a parameter definition." - - - - - A string like "Media type requires a '/' character." - - - - - A string like "Media type requires a subtype definition." - - - - - A string like "Media type is unspecified." - - - - - A string like "Count value is not part of the response stream." - - - - - A string like "The top level link is only available after the response has been enumerated." - - - - - A string like "The collection is not part of the current entry" - - - - - A string like "This response does not contain any nested collections. Use null as Key instead." - - - - - A string like "GetStream method is not supported." - - - - - A string like "Empty string." - - - - - A string like "Empty array." - - - - - A string like "Array contains a null element." - - - - - A string like "An operation between an expression and a type is not supported." - - - - - A string like "The conditional expression is not supported." - - - - - A string like "The parameter expression is not supported." - - - - - A string like "Lambda Expressions not supported." - - - - - A string like "New Expressions not supported." - - - - - A string like "Member Init Expressions not supported." - - - - - A string like "List Init Expressions not supported." - - - - - A string like "New Array Expressions not supported." - - - - - A string like "Invocation Expressions not supported." - - - - - A string like "Can only specify query options (orderby, where, take, skip) after last navigation." - - - - - A string like "Expand query option not allowed." - - - - - A string like "Individual properties can only be selected from a single resource or as part of a type. Specify a key predicate to restrict the entity set to a single instance or project the property into a named or anonymous type." - - - - - A string like "Multiple key predicates cannot be specified for the same entity set." - - - - - A string like "Custom query option not allowed." - - - - - A string like "Cannot specify query options (orderby, where, take, skip, count) on single resource." - - - - - A string like "Cannot add count option to the resource set." - - - - - A string like "Cannot add count option to the resource set because it would conflict with existing count options." - - - - - A string like "Can only specify 'select' query option after last navigation." - - - - - A string like "Cannot translate multiple Linq Select operations in a single 'select' query option." - - - - - A string like "Construction of entity type instances must use object initializer with default constructor." - - - - - A string like "Referencing of local entity type instances not supported when projecting results." - - - - - A string like "Can only project the last entity type in the query being translated." - - - - - A string like "Cannot create projection while there is an explicit expansion specified on the same query." - - - - - A string like "The target type for an OfType filter could not be determined." - - - - - A string like "Non-redundant type filters (OfType<T>, C# 'as' and VB 'TryCast') can only be used once per resource set." - - - - - A string like "The expression 'TypeAs' is not supported when MaxProtocolVersion is less than '3.0'." - - - - - A string like "The '$format' query option is not supported. Use the DataServiceContext.Format property to set the desired format." - - - - - A string like "DataServiceKey attribute must specify at least one property name." - - - - - A string like "Target collection for the Load operation must have an associated DataServiceContext." - - - - - A string like "The tracking of DataServiceCollection can not be stopped for child collections." - - - - - A string like "This operation is only supported on collections that are being tracked." - - - - - A string like "The DataServiceContext to which the DataServiceCollection instance belongs could not be determined. The DataServiceContext must either be supplied in the DataServiceCollection constructor or be used to create the DataServiceQuery or QueryOperationResponse object that is the source of the items in the DataServiceCollection." - - - - - A string like "An item could not be added to the collection. When items in a DataServiceCollection are tracked by the DataServiceContext, new items cannot be added before items have been loaded into the collection." - - - - - A string like "A previous LoadAsync operation has not yet completed. You cannot call the LoadAsync method on the DataServiceCollection again until the previous operation has completed." - - - - - A string like "The LoadAsync method cannot be called when the DataServiceCollection is not a child collection of a related entity." - - - - - A string like "Only a typed DataServiceQuery object can be supplied when calling the LoadAsync method on DataServiceCollection." - - - - - A string like "Add/Update/Delete operation cannot be performed on a child entity, if the parent entity is already detached." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but none was found." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but more than one was found." - - - - - A string like "Expected an Atom feed or entry in the response from the server, but found an unexpected element instead." - - - - - A string like "A DataServiceCollection can only contain entity types. Primitive and complex types cannot be contained by this kind of collection." - - - - - A string like "Reset should never be called for collection reader in an internal enumerable." - - - - - A string like "This target framework does not enable you to directly enumerate over a data service query. This is because enumeration automatically sends a synchronous request to the data service. Because this framework only supports asynchronous operations, you must instead call the BeginExecute and EndExecute methods to obtain a query result that supports enumeration." - - - - - A string like "Only instances of HttpWebRequest are currently allowed for this property. Other subtypes of WebRequest are not supported." - - - - - A string like "Failed to get the count value from the server." - - - - - A string like "Execute overload for void service operations and actions received a non-void response from the server." - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/de/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/de/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index c69f0e11c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/de/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/es/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/es/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 9879eca15..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/es/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/fr/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/fr/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index dce2ce5c3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/fr/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/it/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/it/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index e53636628..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/it/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ja/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ja/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 53fe9a744..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ja/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ko/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ko/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 4cd20afe5..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ko/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ru/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ru/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 36b8f3fb5..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/ru/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/zh-Hans/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/zh-Hans/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 02fd7cbbd..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/zh-Hans/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/zh-Hant/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/zh-Hant/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 9ac23c85c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/net40/zh-Hant/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Services.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Services.Client.dll deleted file mode 100644 index 6d216f575..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Services.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Services.Client.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Services.Client.xml deleted file mode 100644 index 9d7f29629..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/Microsoft.Data.Services.Client.xml +++ /dev/null @@ -1,23420 +0,0 @@ - - - - Microsoft.Data.Services.Client - - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - Set to true if this check is called from a public method which should also be checked for non-external callers. - In that case, make sure that the calling method will not get inlined! - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Tries to convert the given value if it is of a type specific to the client library but still able to be mapped to EDM. - - The value to convert. - The expected type of the value or null. - The converted value, if conversion was possible. - Whether or not conversion was possible. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Common defintions and functions for ALL product assemblies - - - Common defintions and functions for the server and client lib - - - - Type of OutOfMemoryException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - List of types unsupported by the client - - - - - Test whether a type is unsupported by the client lib - - The type to test - Returns true if the type is not supported - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't be recognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - If the type name is not recognized as a collection it will be eventually passed to type resolver if it is not a known primitive type. - - - - - Convert the DataServiceProtocolVersion to ODataVersion. - - DataServiceProtocolVersion value to convert. - an ODataVersion value for the given DataServiceProtocolVersion value. - - - - Converts the given version instance to ODataVersion enum. - - Version instance containing the response payload. - ODataVersion enum value for the given version. - - - - Gets the type name (without namespace) of the specified , - appropriate as an externally-visible type name. - - Type to get name for. - The type name for . - - - - Gets the type namespace of the specified , - appropriate as an externally-visible type name. - - Type to get namespace for. - The namespace for . - - - Tries to read a WCF Data Service version string. - Text to read. - Parsed version and trailing text. - true if the version was read successfully; false otherwise. - - - - Set the message quota limits for WCF Data services server. - - Instance of ODataMessageQuotas. - - - Provides helper methods for processing HTTP requests. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - Reads a Content-Type header and extracts the MIME type/subtype. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - parameters of content type - - - Builds a Content-Type given the mime type and all the parameters. - The MIME type in standard type/subtype form, without parameters. - Parameters to be appended in the mime type. - content type containing the mime type and all the parameters. - - - Reads a Content-Type header and extracts the MIME type/subtype and encoding. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - Encoding (possibly null). - parameters of content type - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Reads the type and subtype specifications for a MIME type. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - Reads a media type definition as used in a Content-Type header. - Text to read. - The defined by the specified - All syntactic errors will produce a 400 - Bad Request status code. - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - - - - Reads Mime type parameter value for a particular parameter in the Content-Type/Accept headers. - - Name of parameter. - Header text. - Parsing index in . - String representing the value of the parameter. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Class to store media parameter information. - - - - Creates a new instance of MediaParameter. - - Name of the parameter. - Value of the parameter. - True if the value of the parameter is quoted, otherwise false. - - - - Gets the original value of the parameter. - - the original value of the parameter. - - - Gets the name of the parameter. - - - Value of the parameter. - - - true if the value is quoted, otherwise false. - - - Use this class to represent a media type definition. - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - Returns the MIME type in standard type/subtype form, without parameters. - - - media type parameters - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmComplexTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets the properties declared immediately within this type. - - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmEntityTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets or sets the structural properties of the entity type that make up the entity key. - - - - - Gets the properties declared immediately within this type. - - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that contains all the constants for various schemas. - - - - "InitializeService" method name for service initialize. - - - id of the corresponding body - - - byte-length of the corresponding body - - - mime-type of the corresponding body - - - content disposition of the response (a hint how to handle the response) - - - 'DataServiceVersion' - HTTP header name for data service version. - - - 'MaxDataServiceVersion' - HTTP header name for maximum understood data service version. - - - - 'Prefer' - HTTP request header name for client preferences. - Refer to: http://tools.ietf.org/id/draft-snell-http-prefer-02.txt for details. - - - - Return no content Prefer header hint value. - - - Return content Prefer header hint value. - - - 'no-cache' - HTTP value for Cache-Control header. - - - 'charset' - HTTP parameter name. - - - HTTP method name for GET requests. - - - HTTP method name for POST requests. - - - Http Put Method name - basically used for updating resource. - - - HTTP method name for delete requests. - - - HTTP method name for MERGE requests. - - - HTTP method name for PATCH requests. - - - HTTP query string parameter value for expand. - - - HTTP query string parameter value for filtering. - - - HTTP query string parameter value for ordering. - - - HTTP query string parameter value for skipping elements. - - - HTTP query string parameter value for limiting the number of elements. - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for skipping results based on paging. - - - Property prefix for the skip token property in expanded results for a skip token - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for projection. - - - HTTP query string parameter for specifying the requested content-type of the response. - - - HTTP query string parameter for specifying the a callback function name for JSONP (JSON padding). - - - 'q' - HTTP q-value parameter name. - - - 'X-HTTP-Method' - HTTP header name for requests that want to tunnel a method through POST. - - - HTTP name for Accept header - - - HTTP name for Accept-Charset header - - - HTTP name for If-Match header - - - HTTP name for If-None-Match header - - - HTTP name for User-Agent header - - - multi-part keyword in content-type to identify batch separator - - - 'X-Content-Type-Options' - HTTP header for Internet Explorer 8 and 9 to specify options for content-type handling. - - - An 'X-Content-Type-Options' HTTP header argument to instruct IE8/9 not to sniff the content and instead display it according to the content-type header. - - - multi-part mixed batch separator - - - multi-part mixed changeset separator - - - 'Allow' - HTTP response header for allowed verbs. - - - HTTP name for Cache-Control header. - - - HTTP name for ETag header - - - HTTP name for location header - - - HTTP name for DataServiceId header - - - HTTP name for Status-Code header - - - multi-part mixed batch separator for response stream - - - multi-part mixed changeset separator - - - Content-Transfer-Encoding header for batch requests. - - - Http Version in batching requests and response. - - - To checks if the resource exists or not. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The mime type that client wants the response to be in. - - - The character set the client wants the response to be in. - - - The name of the Cookie HTTP header - - - The Slug header name. Used by ATOM to hint the server on which MR is being POSTed. - - - MIME type for requesting any media type. - - - MIME type general binary bodies (http://www.iana.org/assignments/media-types/application/). - - - 'application' - MIME type for application types. - - - 'json' - constant for MIME JSON subtypes. - - - 'xml' - constant for MIME xml subtypes. - - - 'odata' - parameter name for JSON MIME types. - - - MIME type for changeset multipart/mixed - - - MIME type for plain text bodies. - - - 'text' - MIME type for text subtypes. - - - MIME type for XML bodies (deprecated). - - - Content-Transfer-Encoding value for batch requests. - - - text for the utf8 encoding - - - Default encoding used for writing textual media link entries - - - A prefix that turns an absolute-path URI into an absolute-URI. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates that this is a link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A const value for the query parameter $inlinecount to set counting mode to inline - - - A const value for the query parameter $inlinecount to set counting mode to none - - - Uri method name for Enumerable.Any(). - - - Uri method name for Enumerable.All(). - - - Implicit parameter "it" used for Queryable.Where lambda. - - - "Binary" - WCF element name for binary content in XML-wrapping streams. - - - Schema Namespace prefix for atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - 'author' - XML element name for ATOM 'author' element for entries. - - - 'contributor' - XML element name for ATOM 'author' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - XML element name to mark link element in Atom. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - XML element name to mark id element in Atom. - - - XML element name to mark link relation attribute in Atom. - - - Atom attribute that indicates the actual location for an entry's content. - - - XML element string for "next" links: [atom:link rel="next"] - - - Type of content for syndication property which can be one of Plaintext, Html or XHtml - - - Whether to keep the property value in the content section - - - TargetNamespace prefix for non-syndication mapping - - - TargetNamespace URI for non-syndication mapping - - - Target element or attribute name - - - Source property name - - - author/email - - - author/name - - - author/uri - - - published - - - rights - - - summary - - - title - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - contributor/email - - - contributor/name - - - contributor/uri - - - updated - - - Plaintext - - - HTML - - - XHTML - - - XML element name to mark href attribute element in Atom. - - - XML attribute name to mark the hreflang attribute in Atom. - - - XML element name to mark summary element in Atom. - - - XML element name to mark author/name or contributor/name element in Atom. - - - XML element name to mark author/email or contributor/email element in Atom. - - - XML element name to mark author/uri or contributor/uri element in Atom. - - - XML element name to mark published element in Atom. - - - XML element name to mark rights element in Atom. - - - XML element name to mark 'collection' element in APP. - - - XML element name to mark 'service' element in APP. - - - XML value for a default workspace in APP. - - - XML element name to mark 'workspace' element in APP. - - - XML element name to mark title element in Atom. - - - XML attribute name to specify the type of the element. - - - Atom link relation attribute value for self links. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for edit-media links. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom attribute which indicates the null value for the element. - - - Atom attribute which indicates the etag value for the declaring entry element. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element containing property values when 'content' is used for media link entries - - - 'count' element - - - 'element', the XML element name for items in enumerations. - - - XML element name for an error. - - - XML element name for an error code. - - - XML element name for the inner error details. - - - XML element name for an internal exception. - - - XML element name for an exception type. - - - XML element name for an exception stack trace. - - - XML element name for an error message. - - - 'false' literal, as used in XML. - - - 'true' literal, as used in XML. - - - XML attribute value to indicate the base URI for a document or element. - - - 'lang' XML attribute name for annotation language. - - - XML attribute name for whitespace parsing control. - - - XML attribute value to indicate whitespace should be preserved. - - - XML attribute name to pass to the XMLReader.GetValue API to get the xml:base attribute value. - - - Schema Namespace For Edm. - - - Schema Namespace For Edm 1.1. - - - Schema Namespace For Edm 1.2. - - - XML namespace for annotations in EDM such as 'StoreGeneratedPattern' - - - XML namespace for data services. - - - XML namespace for data service annotations. - - - XML namespace for data service links. - - - XML namespace for data service related $links. - - - XML namespace for data service named media resources. - - - XML namespace for data service edit-media link for named media resources. - - - ATOM Scheme Namespace For DataWeb. - - - Schema Namespace for Atom Publishing Protocol. - - - Schema Namespace For Atom. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - Schema Namespace Prefix For DataWeb. - - - 'adsm' - namespace prefix for DataWebMetadataNamespace. - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Edmx namespace in metadata document. - - - Prefix for Edmx Namespace in metadata document. - - - IANA link relations namespace. - - - The empty namespace. - - - Association Element Name in csdl. - - - AssociationSet Element Name in csdl. - - - ComplexType Element Name in csdl. - - - Dependent Element Name in csdl. - - - The name of the EDM collection type. - - - - Attribute name used to indicate the real type of an EDM property or parameter, in cases where it needs to be different - from the Type attribute of the Property or Parameter element. This is used to support collection types and binary keys, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing properties that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - TypeRef element name in CSDL document. - - - EntitySet attribute name in CSDL documents. - - - EntitySetPath attribute name in CSDL documents. - - - ExtensionMethod attribute name in CSDL documents. - - - Composable attribute name in CSDL documents. - - - SideEffecting attribute name in CSDL documents. - - - FunctionImport element name in CSDL documents. - - - Mode attribute name in CSDL documents. - - - Mode attribute value for 'in' direction in CSDL documents. - - - Parameter element name in CSDL documents. - - - ReturnType attribute name in CSDL documents. - - - - Attribute name used to indicate the real type of an EDM function import return type, in cases where it needs to be different - from the ReturnType attribute of the function import element. This is used to support special primitive types, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing function imports that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - End Element Name in csdl. - - - EntityType Element Name in csdl. - - - EntityContainer Element Name in csdl. - - - Key Element Name in csdl. - - - NavigationProperty Element Name in csdl. - - - OnDelete Element Name in csdl. - - - Principal Element Name in csdl. - - - Property Element Name in csdl. - - - PropetyRef Element Name in csdl. - - - ReferentialConstraint Element Name in csdl. - - - Role Element Name in csdl. - - - Schema Element Name in csdl. - - - Edmx Element Name in the metadata document. - - - Edmx DataServices Element Name in the metadata document. - - - Version attribute for the root Edmx Element in the metadata document. - - - Value of the version attribute in the root edmx element in metadata document. - - - Element name for m:action. - - - Element name for m:function - - - maps to m:action|m:function\@metadata - - - maps to m:action|m:function\@target - - - maps to m:action|m:function\@title - - - BaseType attribute Name in csdl. - - - EntitySet attribute and Element Name in csdl. - - - EntitySetPath attribute and Element Name in csdl. - - - FromRole attribute Name in csdl. - - - Abstract attribute Name in csdl. - - - Multiplicity attribute Name in csdl. - - - Name attribute Name in csdl. - - - Namespace attribute Element Name in csdl. - - - ToRole attribute Name in csdl. - - - Type attribute Name in csdl. - - - Relationship attribute Name in csdl. - - - Using element Name in csdl. - - - Value for Many multiplicity in csdl. - - - Value for One multiplicity in csdl. - - - Value for ZeroOrOne multiplicity in csdl. - - - Nullable facet name in CSDL. - - - The attribute name of the 'Precision' facet. - - - The attribute name of the 'Scale' facet. - - - The attribute name of the 'MaxLength' facet. - - - The attribute name of the 'FixedLength' facet. - - - The attribute name of the 'Unicode' facet. - - - The attribute name of the 'Collation' facet. - - - The attribute name of the 'SRID' facet. - - - Name of the concurrency attribute. - - - Name of the default value attribute. - - - The special value for the 'MaxLength' facet to indicate that it has the max length. - - - The attribute name of the 'StoreGeneratedPattern' annotation - - - The 'Computed' value for the 'StoreGeneratedPattern' annotation - - - The 'Identity' value for the 'StoreGeneratedPattern' annotation - - - 'MimeType' - attribute name for property MIME type attributes. - - - 'OpenType' - attribute name to indicate a type is an OpenType property. - - - 'HasStream' - attribute name to indicate a type has a default stream property. - - - 'true' - attribute value to indicate a type has a default stream property. - - - Attribute to indicate whether this is a default entity container or not. - - - Attribute name in the csdl to indicate whether the service operation must be called using POST or GET verb. - - - uri element name for link bind/unbind operations - - - next element name for link paging - - - XML element name for writing out collection of links. - - - JSON property name for an error. - - - JSON property name for an error code. - - - JSON property name for the inner error details. - - - JSON property name for an internal exception. - - - JSON property name for an error message. - - - JSON property name for an exception stack trace. - - - JSON property name for an exception type. - - - JSON property name for an error message value. - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - edm stream primitive type name - - - edm string indicating that the value may be collection. - - - Edm Geography type name - - - Edm Geodetic point type name - - - Edm Geodetic linestring type name - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - edm string primitive type name - - - edm string primitive type name - - - '1.0' - the version 1.0 text for a data service. - - - '2.0' - the version 2.0 text for a data service. - - - '3.0' - the version 3.0 text for a data service. - - - '2.0;' - the text for the current server version text. - - - 1 - the version 1 text for a data service. - - - 0 - the current minor version for a data service. - - - 'binary' constant prefixed to binary literals. - - - 'datetime' constant prefixed to datetime literals. - - - 'guid' constant prefixed to guid literals. - - - 'geography' constant prefixed to geography literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'guid' constant prefixed to guid literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'M': Suffix for decimal type's string representation - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - null liternal that needs to be return in ETag value when the value is null - - - Incoming message property name for the original reqeust uri - - - Incoming message property name for the original root service uri - - - - GeoRss namespace - - - - - The "georss" prefix - - - - - Gml Namespace - - - - - Gml Prefix - - - - - Embedded Gml tag inside Georss - - - - - GeoRss representation of a point - - - - - GeoRss representation of a line - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml representation of a linestring - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Root of the tree - - - corresponding to this tree - - - Default constructor creates a null root - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - Validates the source tree. - The resource type for which the validation is performed. - - - Validates the specified segment and all its subsegments. - The path segment to validate. - The resource type of the property represented by this segment (null for open properties). - - - - Returns a client type of the property on the specified resource type. - - The client type to look for the property on. - The name of the property to look for. - The type of the property specified. Note that for collection properties this returns the type of the item of the collection property. - - - - Root of the tree - - - - - Representation of each node in the - - - - Name of the property under the parent resource type - This fields is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - List of sub-properties if this segment corresponds to a complex type - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - Segment property name - - - Name of the property under the parent resource type - This property is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - List of sub-properties if this segment corresponds to a complex type - - - Corresponding EntityPropertyMappingInfo - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Number of properties that have V2 mapping with KeepInContent false - - - Initializes the sub-trees for syndication and non-syndication content - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - Validates the target tree. - This also cleans up the tree if necessary. - - - Checks if mappings could potentially result in mixed content and dis-allows it. - Segment being processed. - Does any of the ancestors have content. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - String with the correct value for the target path - - - Root of the sub-tree for syndication content - - - Root of the sub-tree for custom content - - - - Minimum DSPV required to serialize this target tree. - - - - - Representation of each node in the - - - - Name of the xml element/attribute - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - URI of the namespace to which the belongs - - - If this is a non-leaf element, the child elements/attributes collection - - - Parent element of this element/attribute - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the - - - - Used for creating non-root nodes in the syndication/custom trees - Name of xml element/attribute - URI of the namespace for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - Name of the xml element/attribute - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the proeprty should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root not should not be accessed directly - from anywhere so far. - - - URI of the namespace to which the belongs - - - EntityPropertyMappingInfo corresponding to current segement - - - Whether this node corresponds to ResourceType or ClientType property values - - - Does this node correspond to xml attribute - - - Parent node in the tree (always an element if present) - - - Sub-nodes of this node. Only exist if current node is an element node - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - ClientType whose property is to be read. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object - - - - - Type that has the - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Take a URI string and escape the data portion of it - - - - - Sensitive characters that we should always skip - This should be the set of Http control characters intersecting with - the set of characters OData literal format allows outside of strings - (In V3: only +, as used in double literals ex. 3E+8) - - - - - input string - - - - - output string - - - - - the current index - - - - - current quoted data string - - - - - constructor - - The string to be escaped. - - - - Escape a URI string's data string portion - - The input string - The escaped string - - - - Build a new escaped string - - The escaped string - - - - Read quoted string - - The character that started the quote - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Holds information about a ServiceAction. - - - Holds information about a service operation. - - - Abstract class from which is derived. - - - change order - - - was content generated for the entity - - - was this entity save result processed - 0 - no processed, otherwise reflects the previous state - - - last save exception per entry - - - State of the modified entity or link. - - - - constructor - - entity state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - When overridden in a derived class, gets the state of the object at the time this instance was constructed. - An of the object returned at the time this instance was constructed. - - - true if resource, false if link - - - changeOrder - - - was content generated for the entity - - - was this entity save result processed - - - last save exception per entry - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - Maps to m:action\@title. Human-readable description of the service operation. - - - maps to m:action\@metadata. Identifies the service operation. - - - maps to m:action\@target. The URI to invoke the service operation. - - - - Creates a new instance of the Operation descriptor. - - - - - Nothing to clear in case of operation descriptor. - - - - Human-readable description of the service operation. - - - Identifies the service operation. - - - The URI to invoke the service operation. - - - - this is an operation descriptor. - - - - - Base class for building the request and handling the response - - - - - Implementation of IAsyncResult - - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - Originating object, used to validate End* - - - Originating method on source, to differentiate between different methods from same source - - - wrapped request - - - User callback passed to Begin* - - - User state passed to Begin* - - - wait handle for user to wait until done, we only use this within lock of asyncWaitDisposeLock. - - - Holding exception to throw as a nested exception during to End* - - - Abortable request - - - true unless something completes asynchronously - - - true when really completed for the user - - - true when no more changes are pending, 0 false, 1 completed, 2 aborted - - - verify we only invoke the user callback once, 0 false, 1 true - - - non-zero after End*, 0 false, 1, true - - - true if the AsyncWaitHandle has already been disposed. - - - delay created object to lock to prevent using disposed asyncWait handle. - - - - ctor - - source object of async request - async method name on source object - user callback to invoke when complete - user state - - - - common handler for EndExecuteBatch & EndSaveChanges - - derived type of the AsyncResult - source object of async request - async method name on source object - the asyncResult being ended - data service response for batch - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - Returns the async result from the BeginXXX method. - - CompletedSynchronously (for System.Net networking stack) means "was the operation completed before the first time - that somebody asked if it was completed synchronously"? They do this because some of their asynchronous operations - (particularly those in the Socket class) will avoid the cost of capturing and transferring the ExecutionContext - to the callback thread by checking CompletedSynchronously, and calling the callback from within BeginXxx instead of - on the completion port thread if the native winsock call completes quickly. - - For other operations however (notably those in HttpWebRequest), they use the same underlying IAsyncResult implementation, - but do NOT check CompletedSynchronously before returning from BeginXxx. That means that CompletedSynchronously will - be false if and only if you checked it from the thread which called BeginXxx BEFORE the operation completed. It will - then continue to be false even after IsCompleted becomes true. - - Note that CompletedSynchronously == true does not guarantee anything about how much of your callback has executed. - - The usual pattern for handling synchronous completion is that both the caller and callback should check CompletedSynchronously. - If its true, the callback should do nothing and the caller should call EndRead and process the result. - This guarantees that the caller and callback are not accessing the stream or buffer concurrently without the need - for explicit synchronization between the two. - - - - - This is the Win8 version of the InvokeAsync overload below. See comments on that method for more details. - - - Beta bits of the Win8 profile always return false for IAsyncResult.CompletedSynchronously, but that - is not guaranteed, so keeping the existing pattern here that we use on other platforms. - - - Func that invokes the async operation. We must use our special callback from GetDataServiceAsyncCallback(), see InvokeAsync comments below for details. - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An Task that represents the asynchronous operation, which could still be pending. - - - - Sets the CompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - Set the AsyncWait and invoke the user callback. - - If the background thread gets a ThreadAbort, the userCallback will never be invoked. - This is why it's generally important to never wait forever, but to have more specific - time limit. Also then cancel the operation, to make sure its stopped, to avoid - multi-threading if your wait time limit was just too short. - - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - exception object from background thread - true if the exception (like StackOverflow or ThreadAbort) should be rethrown - - - Set the async result as completed and aborted. - - - Set the async result as completed. - - - verify they have the same reference - the actual thing - the expected thing - error code if they are not - - - invoked for derived classes to cleanup before callback is invoked - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - the request in progress - error code if null or completed - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - the request object - exception object from background thread - true if the exception should be rethrown - - - handle request.BeginGetRequestStream with request.EndGetRequestStream and then write out request stream - async result - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread after the - BeginXXX method returns. It checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - The IAsyncResult that represents the asynchronous operation we just called, which could still be pending - Callback to be invoked when IAsyncResult.CompletedSynchronously is true. - Returns an IAsyncResult that represents the asynchronous operation we just called, which could still be pending - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that PostInvokeTask below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - This is the Win8 version of the PostInvokeAsync method above. Note that method is still used where possible on Win8, but there are some - case where the Win8 API has been completely migrated to use Task, so this method supports that usage. - - - See PostInvokeAsync for more details. - - The Task that represents the asynchronous operation we just called, which could still be pending - Callback to be invoked when IAsyncResult.CompletedSynchronously is true. - A user-provided object that distinguishes this particular asynchronous request from other requests. - Returns a Task that represents the asynchronous operation we just called, which could still be pending. - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method returns an AsyncCallback which we can pass - to the BeginXXX methods in the caller thread. The returned callback will only run the wrapped callback if - IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - callback to be wrapped - Returnes a callback which will only run the wrapped callback if IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that the GetDataServiceTaskCallback method below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - This is the Win8 version of the GetDataServiceAsyncCallback overload above. See comments on that method for more details. - - - Beta bits of the Win8 .NETCore profile always return false for IAsyncResult.CompletedSynchronously, but that - is not guaranteed, so keeping the existing pattern here that we use on other platforms. - - callback to be wrapped - Returns a callback which will only run the wrapped callback if IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - - - Sets the async wait handle - - - - - Callback for Stream.ReadAsync on the request content input stream. Calls request content output stream WriteAsync - and in case of synchronous also the next ReadAsync. - - The task associated with the completed operation. - State associated with the task. - - - Handle requestStream.WriteAsync and complete the write operation, then call BeginGetResponse. - The task associated with the completed operation. - State associated with the task. - - - user state object parameter - - - wait handle for when waiting is required - if displayed by debugger, it undesirable to create the WaitHandle - - - did the result complete synchronously? - - - is the result complete? - - - is the result complete? - - - abort the result - - - - WebRequest available for DataServiceContext.CancelRequest - - - - first exception that happened - - - - This delegate exists to workaround limitations in the WP7 runtime. - When limitations on the number of parameters to Func<> are resolved, this can be subsumed by the following: - Func<byte[], int, int, AsyncCallback, object, IAsyncResult> - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - - - Wraps PerRequest and context reference together to save state information. - Used instead of KeyValuePair in order to avoid FxCop CA908. - - - - the request wrapper. - - - - Constructor for the state object - - See PerRequest field. - - - wrap the full request - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - - did the sequence (BeginGetRequest, EndGetRequest, ... complete. 0 = In Progress, 1 = Completed, 2 = Aborted - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - True if Dispose is called. - - - Synchronize the Dispose method calls. - - - Did the request complete all of its steps synchronously? 1 represents true and 0 represents false. - Note that there is no overload for Interlocked.CompareExchange that takes booleans, we workaround using the overload for int. - - - ctor - - - - Sets the RequestCompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - - Change the request status to completed - - - - - Change the request status to aborted - - - - - dispose of the request object - - - - active web request - - - active web request stream - - - content to write to request stream - - - web response - - - async web response stream - - - did the request complete all of its steps synchronously? - - - - Short cut for testing if request has finished (either completed or aborted) - - - - - Short cut for testing request status is 2 (Aborted) - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - - The length of the valid content in the RequestContentBuffer - Once the data is read from the request content stream into the RequestContent buffer - this length is set to the amount of data read. - When the data is written into the request stream it is set back to 0. - - - - where to pull the changes from - - - serializer to serialize the request data. - - - sorted list of entries by change order - - - option in use for SaveChanges - - - batch web response - - - The ResourceBox or RelatedEnd currently in flight - - - what kind of request are we processing - POST MR or PUT MR - - - - If the is set to anything but None, - this field holds a stream needs to be send in the request. - This can be null in the case where the content of MR is empty. (In which case - we will not try to open the request stream and thus avoid additional async call). - - - - temporary buffer when cache results from CUD op in non-batching save changes - - - - constructor for operations - - context - method - queries - options - user callback - user state object - - - - factory method for SaveResult - - context - method - queries - options - user callback - user state object - a new instance of SaveResult or BatchSaveResult, depending on the options value. - - - - Handle response by looking at status and possibly throwing an exception. - - The request info. - response status code - Version string on the response header; possibly null. - delegate to get response stream - throw or return on failure - Parsed response version (null if no version was specified). - exception on failure - - - - get the response text into a string - - method to get response stream - status code - text - - - process the batch - data service response - - - Get the value of HttpMethod enum from link resource state - Instance of LinkDescriptor containing the link state and type of link. - HttpMethod enum value for the link descriptor state. - - - - Apply the response preferences for the client. - - Headers to which preferences will be added. - HTTP method. - Response preference. - Request version so far for the request. The method may modify it. - - - - Handle response. - - an instance of the DataServiceResponse. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - Get the value of the HttpMethod enum from entity resource state - resource state - The version of the request determined so far. The method may modify this if needed. - HttpMethod value from the entity resource state. - - - - Create request message for the descriptor at the given index. - - Index into changed entries - IODataRequestMessage that needs to be used for writing the payload. - true, if any request payload was generated, else false. - - - Set the AsyncWait and invoke the user callback. - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - operation with HttpWebResponse - status code of the response. - response headers. - - - - Handle operation response - - descriptor whose response is getting processed. - content headers as returned in the response. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - cleanup work to do once the batch / savechanges is complete - - - - Create the response info instance to be passed to the materializer. - - entity descriptor whose response is getting handled. - instance of the response info class. - - - - enumerate the related Modified/Unchanged links for an added item - - entity - related links - - During a non-batch SaveChanges, an Added entity can become an Unchanged entity - and should be included in the set of related links for the second Added entity. - - - - flag results as being processed - result descriptor being processed - count of related links that were also processed - - - - Generate the link payload. - - binding - An instance of ODataRequestMessage for the link request. - - - - Create ODataRequestMessage for the given entity. - - resource - An instance of ODataRequestMessage for the given entity. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Figures out value to be written in DataServiceVersion HTTP header for the given entity based on features used in this entity. - - Entity type for which data service version needs to be determined. - The resource state for the entity. - Data service version for the given entity and state. - - - Checks whether a WCF Data Service version string can be handled. - Version string on the response header; possibly null. - The response version parsed into a instance - if the version was valid and can be handled, otherwise null. - true if the version can be handled; false otherwise. - - - Handle changeset response. - headers of changeset response - - - - Validates that the link descriptor source and target have identities. - - The binding. - The source resource. - The target resource. - - - - Serialize supported data service versions to a string that will be used in the exception message. - The string contains versions in single quotes separated by comma followed by a single space (e.g. "'1.0', '2.0'"). - - Supported data service versions in single quotes separated by comma followed by a space. - - - - Appends the target entity key to the uri if the binding is in the deleted state and the property is a collection. - - The link URI so far. - The binding. - The target's entity descriptor. - The original link uri or one with the target entity key appended. - - - - Generate a request for the given entity. - - Instance of EntityDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - True if the payload was generated, otherwise false. - - - - Generate a request for the given link. - - Instance of LinkDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - - - Handle changeset response. - descriptor whose response is getting handled. - response headers. - - - Handle changeset response for the given entity descriptor. - entity descriptor whose response is getting handled. - ETag header value from the server response (or null if no etag or if there is an actual response) - - - - Handle the PUT response sent by the server - - descriptor, whose response is getting handled. - response headers. - - - Handle response to deleted entity. - deleted entity - - - Handle responseStream.ReadAsync and complete the read operation. - Task that has completed. - State associated with the Task. - - - - Materialize the response payload. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - etag value, if specified in the response header. - - - returns true if its a batch, otherwise returns false. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In sync case, this is the actual response stream, as returned by the http request. - - - - - returns true if the response payload needs to be processed. - - - - - enum which says what kind of request we are currently processing - - - - This request doesn't involve Media Resource or named stream. - - - This request is a POST to a MLE and the body contains the content of the MR. - - - This request is a PUT to MR and the body contains the content of the MR. - - - - Async read state - - - - PerRequest class which tracks the request and response stream - - - total number of byte copied. - - - - constructor - - Perrequest class - - - - Returns the total number of byte copied till now. - - - - - Handles the batch requests and responses (both sync and async) - - - - The size of the copy buffer to create. - - - Array of queries being executed - - - Response stream containing the entire batch response. - - - Instance of ODataBatchWriter used to write current batch request. - - - The message reader used to read the batch response. - - - Object representing the current operation response. - - - Buffer used for caching operation response body streams. - - - - constructor for BatchSaveResult - - context - method - queries - options - user callback - user state object - - - initial the async batch save changeset - - - Read and store response data for the current change - The completed per request object - This is called only from the async code paths, when the response to the batch has been read fully. - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle response. - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - This can only be called from inside the HandleBatchResponse or during enumeration of the responses. - This is used when processing responses for update operations. - - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Creates the type of the multi part MIME content. - - A multipart mime header with a generated batch boundary - - - - Creates a ODataRequestMessage for batch request. - - Returns an instance of ODataRequestMessage for the batch request. - - - - Generate the batch request for all changes to save. - - Returns the instance of ODataRequestMessage containing all the headers and payload for the batch request. - - - - process the batch response - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - process the batch response - - The batch reader to use for reading the batch response. - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - The message reader for the entire batch response is stored in the this.batchMessageReader. - The message reader is disposable, but this method should not dispose it itself. It will be either disposed by the caller (in case of exception) - or the ownership will be passed to the returned response object (in case of success). - In could also be diposed indirectly by this method when it enumerates through the responses. - - - - - process the batch response - - The batch reader to use for reading the batch response. - enumerable of QueryResponse or null - - The batch message reader for the entire batch response is stored in this.batchMessageReader. - Note that this method takes over the ownership of this reader and must Dispose it if it successfully returns. - - - - - Processed the operation response reported by the batch reader. - This is a side-effecting method that is tied deeply to how it is used in the batch processing pipeline. - - The batch reader to get the operation response from. - True if the current operation is inside a changeset (implying CUD, not query) - An exception if the operation response is an error response, null for success response. - - - - Validate the content-id. - - The response headers for the operation response being processed. - Returns the correct ChangedEntries index. - - - returns true since this class handles batch requests. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - This is the stream which holds the entire batch response, when we process any given part those streams are enumerated through - a different field (currentOperationResponseContentStream). - - - - - returns true if the response payload needs to be processed. - - - - - Stores information about the currenly processed operation response. - - - - The HTTP response status code for the current operation response. - - - The HTTP headers for the current operation response. - - - The content stream for the current operation response. - - - - Constructor. - - The status code of the response. - The response headers. - An in-memory copy of the response stream. - - - - Creates IODataResponseMessage for the operation response. - - - IODataResponseMessage for the operation response. - null if the operation response has empty content. - - - - - The status code of the operation response. - - - - - The content stream of the operation response. - - - - - true if the content stream is empty, false otherwise. - - - - - The response headers for the operation response. - - - - Represents a parameter associated with a service action. - - - Represents a parameter passed to a service action, service function or a service operation when it is Executed. - - - The name of the operation parameter. - - - The value of the operation parameter. - - - Initializes a new instance of the class. - The name of the operation parameter. - The value of the operation parameter. - - - Gets the name of the operation parameter. - The name of the operation parameter. - - - Gets the value of the operation parameter. - The value of the operation parameter. - - - Instantiates a new BodyOperationParameter - The name of the body operation parameter. - The value of the body operation parameter. - - - - EventArgs for the BuildingRequest event. - - - - - Uri of the outgoing request. - - - - - Initializes a new instance of the class. - - The method. - The request URI. - The request headers. - Descriptor for this request; or null if there isn't one. - The http stack. - - - - Retrieves a new RequestMessageArgs with any custom query parameters added. - - A new RequestMessageArgs instance that takes new custom query options into account. - - - - Gets the Request HTTP Method that the outgoing request will use. - - - - - The Uri of the outgoing request. The Uri may be altered. No error checking will be performed against any changes made. - - - - - The headers for this request. Adding new custom headers is supported. Behavior is undefined for changing existing headers or adding - system headers. No error checking will be performed against any changes made. - - - - - Descriptor for this request if there is one; null otherwise. - - - - - Gets the http stack. - - - The reason for having this property is that this is request specific - and cannot be taken from the context. For e.g. In silverlight, irrespective - of the value of HttpStack property, for stream requests (get or update), we - use ClientHttp. - - - - - Returns the set of headers as HeaderCollection instance. - - - - - Implementation of which wraps client-side objects. - - - - - Initializes a new instance of the class. - - The type of the collection. - The elements of the collection. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the values stored in this collection. - - - - - Non-delayed implementation of - - - - - Initializes a new instance of the class. - - The value. - - - - Gets the data stored in this value. - - - - - EdmModel describing the client metadata - - - - A cache that maps a client Clr type to it corresponding Edm type. - - - A cache that maps a client type name to the corresponding client type annotation. - - - The annotations manager. - - - The max protocol version this Edm model is created for. - - - Referenced core model. - - - - Constructor. - - The protocol version this Edm model is created for. - - - - Return the entity container with the given name. - - Name of the entity container. - EntityContainer with the given name. - - - - Searches for a schema element with the given name in this model and returns null if no such schema element exists. - - The qualified name of the schema element being found. - The requested schema element, or null if no such schema element exists. - - - - Searches for functions with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the type. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get the client type annotation for the given name. - - Name of the type. - An instance of ClientTypeAnnotation for the type with the given name. - - - Returns and its base types, in the order of most base type first and last. - Type instance in question. - Returns the list of key properties if is an entity type; null otherwise. - true if has any (declared or inherited) properties; otherwise false. - Returns and its base types, in the order of most base type first and last. - - - - Find properties with dynamic MIME type related properties and - set the references from each ClientProperty to its related MIME type property - - Client edm type instance to wire up the mime type properties. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get or create a client EDM type instance. - - The base type of this structured type. - type to wrap - List of key properties to add to if the type is an entity type; null otherwise. - true if is an entity type; false otherwise. - true if the is known to have properties; false if is known to have no properties; null if nothing is known about the properties. - client type - - - - Creates an Edm property. - - Type declaring this property. - PropertyInfo instance for this property. - Returns a new instance of Edm property. - - - - Gets or creates client type annotation. - - The EdmType to use for creating client type annotation - The Clr type to create client type annotation for. - Client type annotation - - - - Returns all the vocabulary annotations defined in the model. - - - - - Returns all the referenced models. - - - - - Returns all the schema elements. - - - - - Returns the model's annotations manager. - - - - - Gets the max protocol version of the model. - - - - - Cache value for the type cache. - - - - The cached EDM type. - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - Creates a new instance of the EDM type cache value. - - The cached EDM type. - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - The cached EDM type. - - - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - - Implementation of which wraps client-side objects. - - - - The structured value this instance is wrapping. - - - The client-side metadata about this value. - - - The model. - - - - Initializes a new instance of the class. - - The structured value. - The model. - The client type annotation. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - - The found property, or null if no property was found. - - - - - Builds an edm property value from the given annotation. - - The property annotation. - The property value - - - - Converts a clr value to an edm value. - - The property value. - Type of the property. - - The converted value - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the property values of this structured value. - - - - - Helper class to wrap the stream with the content of the request. - We need to remember if the stream came from us (IsKnownMemoryStream is true) - or if it came from outside. For backward compatibility we set the Content-Length for our streams - since they are always MemoryStream and thus know their length. - For outside streams (content of the MR requests) we don't set Content-Length since the stream - might not be able to answer to the Length call. - - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Constructor - - The stream with the request content - The stream was create by us and it's a MemoryStream - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Implementation of which uses OData conventions. - - - - The entity instance to build metadata for. - - - The name of the set the entity instance belongs to. - - - The base uri of the service. - - - The convention-based uri builder to use. - - - - Initializes a new instance of the class. - - The base URI of the service. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Initializes a new instance of the class. - - The URI resolver to use. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Implementation of that uses conventions. - - - - The uri resolver to use for entity sets. - - - The user specified conventions. - - - - Initializes a new instance of the class. - - The uri resolver to use. - The user specified conventions to use. - - - - Appends to create the URI for an entity set. - - The URI to append to - The entity set name. - - The entity set URI. - - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Client writer settings shim class to restrict settings to the base for OData message writers. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Client reader settings shim class to restrict settings to the base for OData message reader. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Func to evaluate whether an instance annotation should be read or skipped by the reader. The func should return true if the instance annotation should - be read and false if the instance annotation should be skipped. - - - - - Materializer for LoadProperty API call for navigation properties. - - - - - Materializes feeds and entities from an ODataReader - - - - - Used to materialize entities from a objects. - - - - - Use this class to materialize objects provided from an . - - - - Empty navigation links collection - - - Empty property collection - - - Collection->Next Link Table for nested links - - - The collection value materialization policy. - - - The complex value materializer policy. - - - The materialization policy used to materialize primitive values. - - - The converter to use when assigning values of primitive properties. - - - - Initializes a new instance of the class. - - The materializer context. - The expected type. - - - - Creates an for a response. - - The response message. - The response context. - The type to materialize. - The query components for the request. - The projection plan. - expected payload kind. - A materializer specialized for the given response. - - - Reads the next value from the input content. - true if another value is available after reading; false otherwise. - - After invocation, the currentValue field (and CurrentValue property) will - reflect the value materialized from the parser; possibly null if the - result is true (for null values); always null if the result is false. - - - - - Disposes the materializer - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Creates an for a given message and context using - WCF DS client settings. - - The response message - The response context - Type of the message. - The message reader. - - - - Verifies that the object is not disposed. - - - - - Implementation of . - - Return value of - - - - Called when IDisposable.Dispose is called. - - - - Current value being materialized; possibly null. - - This will typically be an entity if - is assigned, but may contain a string for example if a top-level - primitive of type string is found. - - - - Feed being materialized; possibly null. - - - Entry being materialized; possibly null. - - - Table storing the next links assoicated with the current payload - - - Whether we have finished processing the current data stream. - - - - Returns true if the underlying object used for counting is available - - - - - The count tag's value, if requested - - The count value returned from the server - - - Function to materialize an entry and produce a value. - - - - Gets the materializer context - - - - - Returns true if the materializer has been disposed - - - - - Gets the expected type. - - - The expected type. - - - - - Gets the collection value materialization policy. - - - - - Gets the complex value materialization policy. - - - - - The converter to use when assigning values of primitive properties. - - - - - The policy used to materialize primitive values. - - - - - The format of the response being materialized. - - - - The value of the current materialized entity. - - - The materializer plan. - - - The entry value materializer policy. - - - - Initializes a new instance of the class. - - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates an entry materialization plan that is payload-driven. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Creates an entry materialization plan that is payload-driven and does not traverse expanded links. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - Note that if the target is a collection, the result is always false, - as the model does not allow null feeds (but instead gets an empty - collection, possibly with continuation tokens and such). - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - - Ensures that an entry of is - available on the specified . - - Materilizer used for logging. - Entry to ensure. - Required type. - - As the 'Projection' suffix suggests, this method should only - be used during projection operations; it purposefully avoid - "source tree" type usage and POST reply entry resolution. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Projects a simple value from the specified . - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - Helper method for constructor of DataServiceCollection. - Element type for collection. - The enumerable which has the continuation on it. - The DataServiceCollection to apply the continuation to. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Reads the next feed or entry. - - True if an entry was read, otherwise false - - - - Checks that the specified isn't null. - - Entry to check. - Name of entry being accessed. - - - Creates an entry materialization plan for a given projection. - Query components for plan to materialize. - A materialization plan. - - - Materializes the result of a projection into a list. - Materializer to use for the operation. - Target list. - Expected type for nested object. - Entries to materialize from. - - This method supports projections and as such does shallow payload-driven - materialization of entities. - - - - Gets a property from the specified list, throwing if not found. - List to get value from. - Property name to look up. - The specified property (never null). - - - Merges a list into the property of a given . - Entry to merge into. - Property on entry to merge into. - List of materialized values. - Next link for feed from which the materialized values come from. - Projection plan for the list. - - This method will handle entries that shouldn't be updated correctly. - - - - - Gets the Entity Materializer Context - - - - - Target instance that the materializer expects to update. - - - - - Current value being materialized; possibly null. - - - - - Function to materialize an entry and produce a value. - - - - - Gets the entry value materialization policy. - - - The entry value materialization policy. - - - - The enty or feed reader. - - - The message reader. - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - - This method is for parsing CUD operation payloads which should contain - 1 a single entry - 2 An Error - - the message for the payload - The current ResponseInfo object - The expected type - the MaterializerEntry that was read - - - - Called when IDisposable.Dispose is called. - - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Response Info object. - - - - - Items that have been read from the feed or entry. - - - - - Iteration of the entity collection reader. - - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - LoadProperty Response Info object. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Arguments for creating an instance of DataServiceClientRequestMessage. - - - - The actual method. - - - - Initializes a new instance of the class. - - Method of the request. - The Request Uri. - True if the default credentials need to be sent with the request. Otherwise false. - True if the request message must use POST verb for the request and pass the actual verb in X-HTTP-Method header, otherwise false. - The set of headers for the request. - - - - Gets the method. - - - - - Gets the request URI. - - - - - Returns whether the request message should use Post-Tunneling. - - - - - Gets the headers. - - - - - Gets the actual method. Indicates correct method to use in the post tunneling case. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Represents the type of HTTP implementation to use when accessing the data service.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - - Automatically choose the HTTP stack - When possible XmlHttp stack will be used, otherwise the Client stack will be used - - - - - Arguments used to configure the odata message reader settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Arguments used to configure the odata message writer settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Configurations on the behavior of the Client. - - - - - Creates a data service client configurations class - - The sender for the Reading Atom event. - - - - Gets the response configuration pipeline. - - - - - Gets the request pipeline. - - - - - Use this class to materialize objects provided from an . - - - - - Class responsible for materializing from OData to Objects - - - - - Creates the specified edm type. - - Type of the edm. - The type. - In the future this class will have Materialize and Update will be adding this in upcoming changes - A created object - - - The materializer context. - - - The complex value materialization policy. - - - The primitive value materialization policy. - - - - Initializes a new instance of the class. - - The context. - The primitive policy. - - - - Creates Collection instance of store Collection items. - - ODataProperty instance representing the Collection as seen in the atom payload. - CLR type of the Collection as defined by the user. - Newly created Collection instance. Never null. - - - - Creates the collection instance. - - The edm collection type reference. - Type of the client collection. - New Collection Instance. - - - - Applies collectionValue item to the provided . - - Atom property containing materialized Collection items. - Collection instance. Must implement ICollection<T> where T is either primitive or complex type (not an entity). - Type of items in the Collection. Note: this could be calculated from collectionInstance but we already have it in upstream methods. - Action called actually add a Collection item to - - - - Applies the collection data values to a collection instance. - - The items. - Name of the wire type. - The collection instance. - Type of the collection item. - The add value to backing I collection instance. - - - - Creates Collection instance of store Collection items. - - The edm collection type reference. - Type of the client collection. - Error to throw. - - Newly created Collection instance. Never null. - - - - - Gets the complex value materialization policy. - - - The complex value materialization policy. - - - - - Use this class to materialize objects provided from an . - - - - - Contains logic on how to materialize properties into an instance - - - - The collection value materialization policy. - - - The primitive property converter. - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a primitive value. No op for non-primitive values. - Type of value to set. - Property holding value. - - - - Applies the values of the specified to a given . - - Type to which properties will be applied. - Properties to assign to the specified . - Instance on which values will be applied. - - - Applies a data value to the specified . - Type to which a property value will be applied. - Property with value to apply. - Instance on which value will be applied. - - - - Materializes the primitive data values in the given list of . - - Actual type for properties being materialized. - List of values to materialize. - - Whether properties missing from the client types should be ignored. - - - Values are materialized in-place withi each - instance. - - - - - Gets the collection value materialization policy. - - - The collection value materialization policy. - - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Gets the materializer context. - - - The materializer context. - - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a complex type property. - Type of the complex type to set. - The OData complex value. - - - - Determines if there is an existing entity or whether a new one is created - - - - Target instance that the materializer expects to update. - - - - Initializes a new instance of the class. - - The entity tracker. - The merge option. - The model. - The context. - - - Resolved or creates an instance on the specified . - Entry on which to resolve or create an instance. - Expected type for the . - - After invocation, the ResolvedObject value of the - will be assigned, along with the ActualType value. - - True if an existing entity is found. - - - - Tries to resolve the specified entry as an entry that has already been created in this materialization session or is already in the context. - - Entry to resolve. - Expected type of the entry. - True if the entry was resolved, otherwise False. - - - Tries to resolve the object as the target one in a POST refresh. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - Tries to resolve the object as one from the context (only if tracking is enabled). - Entry to resolve. - Expected entry type for the specified . - true if the entity was resolved; false otherwise. - - - Tries to resolve the object from those created in this materialization session. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - - Gets the value of the MergeOption - - - - - Gets the Context - - Implementation Note, only used in when a new DataServiceCollection, - would like to remove this dependency but would need to change projection - plan, might happen in a subsequent refactor - - - - - Gets the materialization log. - - - - - Gets the entity tracker. - - - - - Gets the model. - - - - - Target instance that the materializer expects to update. - - - - - Used to materialize entities from an to an object. - - - - Collection->Next Link Table for nested links - - - - Initializes a new instance of the class. - - The context. - The entity tracking adapter. - The lazy primitive property converter. - The next link table. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client Model. - whether to do the entity check or not. - The type - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client model. - whether to do the entity check or not. - - - Materializes the specified . - Entry with object to materialize. - Expected type for the entry. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Applies the values of the enumeration to the - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Whether this is a continuation request. - - - Records the fact that a rel='next' link was found for the specified . - Collection to add link to. - Link (possibly null). - Projection plan for the collection (null allowed only if link is null). - - - Records the fact that a was found but won't be modified. - Collection to add link to. - - - "Resolved" the entity in the by instantiating it. - Entry to resolve. - Type to create. - - After invocation, entry.ResolvedObject is exactly of type . - - - - - Matches the given item type with the corresponding collection element type. - - Item type. - Collection element type. - - - - Materializes the link properties if any with the url in the response payload - - Actual client type that is getting materialized. - MaterializerEntry instance containing all the links that came in the response. - - - - Populates the collection property on the entry's resolved object with the given items enumerator. - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Collection instance that was populated. - - - - Gets or creates a collection property on the specified . - - Instance on which to get/create the collection. - Collection property on the . - Is this collection being created for LoadProperty scenario. - - The collection corresponding to the specified ; - never null. - - - - - Applies the values of a nested to the collection - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Whether links that are expanded should be materialized. - - - Materializes the specified . - Entry with object to materialize. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Gets the Entity Materializer Context - - - - - Contains an odata reader that is wrapped - - - - The reader. - - - The payload reading events. - - - - Prevents a default instance of the class from being created. - - The reader. - The data service response pipeling configuration object. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Creates and Wraps an ODataReader for feeds or entries. - - The message reader. - The message type. - The expected EDM type. - The data service response pipeling configuration object. - A reader. - - - - Wraps an ODataReader - - The reader. - The data service response pipeling configuration object. - A reader. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Converter for primitive values which do not match the client property types. This can happen for two reasons: - 1) The client property types do not exist in the protocol (Uri, XElement, etc) - 2) The values were read using the service's model, and the client types are slightly different (ie float vs double, int vs long). - - - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - Geo JSON formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - Gml formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - - Initializes a new instance of the class. - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - - Converts a value to primitive value. - - The value. - Type of the property. - The converted value if the value can be converted - - - - Converts a non-spatial primitive value to the target type. - - The value to convert. - The target type of the conversion. - The converted value. - - - - Converts the value to the target type if needed. - - The value to convert. - The target type. - The converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The value to convert. - The target type of the conversion. - The original or converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The type of the value being converted. - The target type of the conversion. - The value to convert. - The original or converted value. - - - - Creates a policy that is used for materializing Primitive values - - - - MaterializerContext used to resolve types for materialization. - - - - primitive property converter used to convert the property have the value has been materialized. - - - - Initializes a new instance of the class. - - The context. - The lazy primitive property converter. - - - - Materializes the primitive data value. - - Type of the collection item. - Name of the wire type. - The item. - Materialized primitive data value. - - - - Materializes the primitive data value collection element. - - The collection item type. - Name of the wire type. - The item. - Materialized primitive collection element value - - - Materializes a primitive value. No op or non-primitive values. - Type of value to set. - Type name from the payload. - Value of primitive provided by ODL. - The exception message if the value is null. - The materialized value. - true if the value was set; false if it wasn't (typically because it's a complex value). - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Materialized Entity arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - This class represents the contract WCF Data Services client with the request message. - - - - Http method. - - - - Initializes a new instance of the class. - - The actual method. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or sets the request url. - - - - - Gets or sets the method for this request. - - - - - Gets or set the credentials for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - Gets or the actual method. In post tunneling situations method will be POST instead of the specified verb method. - - - - - The writing entity reference link arguments - - - - - Initializes a new instance of the class. - - The entity reference link. - The source. - The target. - - - - Gets the feed. - - - The feed. - - - - - Gets the source. - - - - - Gets the target. - - - - - Writing entry arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - Writing navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - The source. - The target. - - - - Gets the link. - - - The link. - - - - - Gets the source. - - - - - Gets the target. - - - - - Class that holds a variety of events for writing the payload from the OData to the wire - - - - Actions to execute before start entry called. - - - Actions to execute before end entry called. - - - Actions to execute before entity reference link written. - - - Actions to execute after before start navigation link called. - - - Actions to execute before end navigation link called. - - - The message writer setting configurations. - - - The delegate that represents how a message is created. - - - - Creates a request pipeline configuration class - - - - - Called when [message writer created]. - - The args. - The request pipeline configuration. - - - - Called when [entry starting]. - - The action. - The request pipeline configuration. - - - - Called when [entry ending]. - - The action. - The request pipeline configuration. - - - - Called when [entity reference link]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link starting]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link end]. - - The action. - The request pipeline configuration. - - - - Called when [create message writer settings configurations]. - - The writer settings. - - - - Fires before entry end. - - The entry. - The entity. - - - - Fires before entry start. - - The entry. - The entity. - - - - Fires before navigation end. - - The link. - The source. - The target. - - - - Fires before navigation start. - - The link. - The source. - The target. - - - - Fires before writing the on entity reference link. - - The entity reference link. - The source. - The target. - - - - Gets the request message to be used for sending the request. By providing a custom message, users - can replace the transport layer. - - - - - Determines if OnMessageCreating is being used or not. - - - - - Gets or sets the a value indicating whether the context is using the sending request event or not. - - - - - The reading navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - - - - Gets the link. - - - The link. - - - - - The reading feed arguments - - - - - Initializes a new instance of the class. - - The feed. - - - - Gets the feed. - - - The feed. - - - - - Entity Tracker base, allows more decoupling for testing. - - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - - Contains state and methods required to materialize odata collection, complex and primitive values - - - - - Context for materialization of OData values - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Gets a value indicating whether Ignore missing properties is set or not - - - - - Gets a value indicated the Client Edm Model - - - - - Gets the materialization Events - - - - - Initializes a materializer context - - Response information used to initialize with the materializer - - - - Resolved the given edm type to clr type. - - Expected Clr type. - Edm name of the type returned by the resolver. - an instance of ClientTypeAnnotation with the given name. - - - - Resolves the EDM type for the given CLR type. - - The client side CLR type. - The resolved EDM type. - - - - Gets a value indicating whether to ignore missing properties when materializing values - - - - - Gets a Client Edm model used to materialize values - - - - - Gets the materialization Events - - - - - Gets the Response information that backs the information on the context - - - - - The reading entry args - - - - - Initializes a new instance of the class. - - The entry. - - - - Gets the entry. - - - The entry. - - - - - Class that is responsible for configuration of actions that are invoked from a response - - - - Actions to be run when reading start entry called - - - Actions to be run when reading end entry called - - - Actions to be run when reading start feed called - - - Actions to be run when reading end feed called - - - Actions to be run when reading start link called - - - Actions to be run when reading end link called - - - Actions to be run after an entry has been materialized - - - The message reader setting configurations. - - - The sender. - - - - Creates a Data service client response pipeline class - - The sender for the Reading Atom event. - - - - Called when [reader settings created]. - - The reader message settings configuration. - The response pipeline configuration. - - - - Called when [read start entry]. - - The action. - The response pipeline configuration. - - - - Called when [read end entry]. - - The action. - The response pipeline configuration. - - - - Called when [read start feed]. - - The action. - The response pipeline configuration. - - - - Called when [read end feed]. - - The action. - The response pipeline configuration. - - - - Called when [read start navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [read end navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [entity materialized]. - - The action. - The response pipeline configuration. - - - - Executes actions that configure reader settings. - - The reader settings. - - - - Executes the on entry end actions. - - The entry. - - - - Executes the on entry start actions. - - The entry. - - - - Executes the on feed end actions. - - The feed. - - - - Executes the on feed start actions. - - The feed. - - - - Executes the on navigation end actions. - - The link. - - - - Executes the on navigation start actions. - - The link. - - - - Fires after the entry was materialized - - The entry. - The entity. - - - - Fires the reading atom entity event. - - The materializer entry. - - - - Fires the end entry events. - - The entry. - - - - Internal event instance used by the public ReadingEntity event. - - - - - Gets a value indicating whether this instance has handlers. - - - true if this instance has handlers; otherwise, false. - - - - - Gets a value indicating whether this instance has atom reading entity handlers. - - - true if this instance has atom reading entity handlers; otherwise, false. - - - - - Gets whether there is a reading entity handler - - - - - Class for reading top level feeds or entries and adapting it for the materializer - - - - The odata format being read. - - - The reader. - - - The Client Edm Model used to determine type information. - - - MergeOption information to determine how to merge descriptors. - - - An enumerator of values. - - - The current feed. - - - The current entry. - - - - Initializes a new instance of the class. - - The messageReader that is used to get the format of the reader. - The reader. - The model. - The mergeOption. - - - - Initializes a new instance of the class. Used for tests so no ODataMessageReader is required - - The format of the reader. - The reader. - The model. - The mergeOption. - - - - The count tag's value, if requested - - Should read pull if no feed exists. - The count value returned from the server - - - - Read a feed or entry, with the expected type. - - true if a value was read, otherwise false - - - - Disposes the reader - - - - - Tries to read a feed or entry. - - if set to true [lazy]. - The feed. - The entry. - true if a value was read, otherwise false - - - - Tries to read the start of a feed or entry. - - true if a value was read, otherwise false - - - - Tries to read a feed. - - if set to true [lazy]. - The feed. - true if a value was read, otherwise false - - - - Reads the remainder of a feed. - - if set to true [lazy]. - A feed. - - - - Lazily reads entries. - - An enumerable that will lazily read entries when enumerated. - - - - Tries to read an entry. - - The entry. - true if a value was read, otherwise false - - - - Reads the remainder of an entry. - - An entry. - - - - Reads a navigation link. - - A navigation link. - - - - Tries to read from the ODataReader. - - True if a value is read, otherwise false - - - - Reads from the reader and asserts the reader is in the expected state. - - The expected state. - - - - Asserts that an item could be read. - - - - - Asserts the reader is in the expected state. - - The expected state. - - - - Gets the current feed. - - - - - Gets the current entry. - - - - - Gets a value indicating whether this instance is end of stream. - - - true if this instance is end of stream; otherwise, false. - - - - - Useful extension methods for IDictionary - - - - - If the key exists in the dictionary, returns it. Otherwise creates a new value, adds it to the dictionary, and returns it. - - The type of the key. - The type of the value. - The dictionary to look in. - The key to find/add. - A callback to create a new value if one is not found. - The new or found value. - - - - Sets a range of values in the dictionary. A set operation is performed on each value in - - The type of the key. - The type of the value. - The dictionary to set the values in. - Enumerable of key-value pairs to set in . - - - - Tracks the user-preferred format which the client should use when making requests. - - - - MIME type for ATOM bodies (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies (implies light in V3, verbose otherwise) (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode with all metadata. - - - MIME type for JSON bodies in verbose mode (http://www.iana.org/assignments/media-types/application/). - - - OData parameter value for verbose. - - - MIME type for changeset multipart/mixed - - - MIME type for XML bodies. - - - Combined accept header value for either 'application/atom+xml' or 'application/xml'. - - - text for the utf8 encoding - - - The character set the client wants the response to be in. - - - The context this format instance is associated with. - - - - Initializes a new instance of the class. - - DataServiceContext instance associated with this format. - - - - Indicates that the client should use the efficient JSON format. - - The model of the service. - - - - Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model. - - - - - Indicates that the client should use the Atom format. - - - - - Sets the value of the Accept header to the appropriate value for the current format. - - The headers to modify. - - - - Sets the value of the Accept header for a query. - - The headers to modify. - The query components for the request. - - - - Sets the value of the Accept header for a stream request (will set it to '*/*'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'text/plain'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'multipart/mixed'). - - The headers to modify. - - - - Sets the value of the ContentType header on the specified entry request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the Content-Type header a request with operation parameters to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the ContentType header on the specified links request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Validates that we can write the request format. - - The request message to get the format from. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Validates that we can read the response format. - - The response message to get the format from. - - - - Throws InvalidOperationException for JSON Light without a model. - - - - - Throws NotSupportedException for JSON Verbose format. - - Content-type to appear on the message. - - - - Validates that we can read or write a message with the given content-type value. - - The content-type value in question. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Sets the request's content type header. - - Dictionary of request headers. - content type - - - - Sets the accept header to the given value and the charset to UTF-8. - - The headers to update. - The media type for the accept header. - - - - Chooses between using JSON-Light and the context-dependent media type for when Atom is selected based on the user-selected format. - - The value if using atom. - - Whether or not the select query option is present in the request URI. - If true, indicates that the client should ask the server to include all metadata in a JSON-Light response. - - The media type to use (either JSON-Light or the provided value) - - - - Gets the current format. Defaults to Atom if nothing else has been specified. - - - - - Invoked when using the parameterless UseJson method in order to get the service model. - - - - - True if the format has been configured to use Atom, otherwise False. - - - - - ODataFormat to use when writing URI literals. - - - - - Gets the service model. - - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result. - - - URI to next page of data. - - - Projection plan for results of next page. - - - Initializes a new instance. - URI to next page of data. - Projection plan for results of next page. - - - Returns the next link URI as a string. - A string representation of the next link URI. - - - Creates a new instance. - Link to next page of data (possibly null). - Plan to materialize the data (only null if nextLinkUri is null). - A new continuation object; null if nextLinkUri is null. - - - - Initializes a new instance that can - be used for this continuation. - - A new initializes . - - - Gets the URI that is used to return the next page of data from a paged query result. - A URI that returns the next page of data. - - - Type of element to be paged over. - - - Projection plan for the next page of data; null if not available. - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result.  - The type of continuation token. - - - Initializes a new typed instance. - URI to next page of data. - Projection plan for results of next page. - - - Type of element to be paged over. - - - Determines whether the client requests that the data service return inserted or updated entity data as an entry in the response message. - - - default option, no Prefer header is sent. - - - Prefer header with value return-content is sent with all PUT/MERGE/POST requests to entities. - - - Prefer header with value return-no-content is sent with all PUT/MERGE/POST requests to entities. - - - Stream wrapper for MR POST/PUT which also holds the information if the stream should be closed or not. - - - Arguments for the request when POST/PUT of the stream is issued. - - - The stream we are wrapping. - Can be null in which case we didn't open it yet. - - - Set to true if the stream should be closed once we're done with it. - - - - Constructor - - The stream to use. - Should the stream be closed before SaveChanges returns. - Additional arguments to apply to the request before sending it. - - - - Close the stream if required. - This is so that callers can simply call this method and don't have to care about the settings. - - - - The stream to use. - - - - Arguments to be used for creation of the HTTP request when POST/PUT for the MR is issued. - - - - Represents the URL of a binary resource stream. - - - name of the stream whose link needs to be populated. - - - self link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - edit link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - content type of the stream. - - - etag for the stream. - - - - Internal constructor to be used by the projection plan compiler, so that we capture the ri - - name of the stream. - - - - One of the properties changed its value - - property name - - - - PropertyChanged Event - - - - The name of the binary resource stream. - The name of the binary resource stream. - - - The URI that returns the binary resource stream. - The URI of the stream. - - - Gets the URI used to edit the binary resource stream. - The URI used to edit the stream. - - - Gets the MIME Content-Type of the binary resource stream. - The Content-Type value for the stream. - - - The eTag value that is used to determine concurrency for a binary resource stream. - The value of the eTag header for the stream. - - - - Class to describe errors thrown by transport layer. - - - - - Contains the state for this exception. - - - - - Constructs a new instance of DataServiceTransportException. - - ResponseMessage from the exception so that the error payload can be read. - Actual exception that this exception is wrapping. - - - - Gets the response message for this exception. - - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Gets or sets the response message for this exception. - - - - - Generates proxy methods for external callers to call internal methods - All lambda_methods are considered external. When these methods need - to access internal resources, a proxy must be used. Otherwise the call - will fail for partial trust scenario. - - - - - Builds an expression to best call the specified . - - The original method or constructor - The arguments with which to call the method. - An expression to call the argument method or constructor - - - - Wraps the specified in an expression that invokes it. - - The method to wrap in an expression. - The arguments with which to invoke the . - An expression which invokes the with the specified . - - - - context - - - - Storage for the client model. - - - Set of tracked resources - - - Set of tracked resources by Identity - - - Set of tracked bindings - - - change order - - - - Creates a new instance of EntityTracker class which tracks all instances of entities and links tracked by the context. - - max protocol version that the client understands. - - - Gets the entity descriptor corresponding to a particular entity - Entity for which to find the entity descriptor - EntityDescriptor for the or null if not found - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - - checks whether there is a tracked entity with the given identity. - - identity of the entity. - returns the entity if the identity matches, otherwise returns null. - - - - Adds the given entity descriptors to the list of the tracked entity descriptors. - - entity descriptor instance to be added. - - - the work to detach a resource - resource to detach - true if detached - - - remove the identity attached to the resource - resource with an identity to detach to detach - - - - Gets the link descriptor corresponding to a particular link b/w source and target objects - - Source entity - Property of - Target entity - LinkDescriptor for the relationship b/w source and target entities or null if not found - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - - find and detach link for reference property - - source entity - source entity property name for target entity - target entity - link merge option - true if found and not removed - - - - Add the given link to the link descriptor collection - - link descriptor to add - throws argument exception if the link already exists - - - - Remove the link from the list of tracked link descriptors. - - link to be removed. - true if the link was tracked and now removed, otherwise returns false. - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - use location from header to generate initial edit and identity - entity in added state - identity as specified in the response header - location header or dataserviceid header. - editlink as specified in the response header - location header. - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - increment the resource change for sorting during submit changes - - the resource to update the change order - - - create this.identityToResource when necessary - - - create this.bindings when necessary - - - - Ensure an identity is unique and does not point to another resource - - The identity - The entity descriptor - - - - Returns a collection of all the links (ie. associations) currently being tracked by the context. - If no links are being tracked, a collection with 0 elements is returned. - - - - - Returns a collection of all the resources currently being tracked by the context. - If no resources are being tracked, a collection with 0 elements is returned. - - - - Holds information about a ServiceFunction. - - - - This is a just a pass through implementation of IODataRequestMessage. This class is used - for wrapping the inner batch requests or in silverlight when we are using the - non-silverlight http stack, we need to fire IODataRequestMessage which throws - when GetStream is called. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - Boolean flag to allow calls to GetStream() on this instance - We want to allow this because WritingRequest and ReadingResponse events on the Windows Phone platform - requires that we pass a readable stream to user code as arguments. - - - - - request stream - - - - - dictionary containing http headers. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - boolean flag to allow calls to GetStream() on this instance - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Gets or set the credentials for this request. - - - - - internal headers dictionary - - - - Response from an Invoke call. - - - Operation response base class - - - Http headers of the response. - - - Http status code of the response. - - - exception to throw during get results - - - - constructor - - HTTP headers - - - When overridden in a derived class, contains the HTTP response headers associated with a single operation. - object that contains name value pairs of headers and values. - - - When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. - Integer value that contains response code. - - - Gets error thrown by the operation. - An object that contains the error. - - - Http headers of the response. - - - Consutrcts an InvokeResponse identical to an OperationResponse. - The HTTP headers. - - - Encapsulates information about a link, or relationship, between entities. - - - navigation URI to the related entity. - - - association URI to the related entity. - - - the navigation property name - - - - Creates a LinkInfo with a given properyName - - the name of the navigation property - - - Gets the name of the link. - The name of the link. - - - Gets the URI that is the navigation property representation of the link. - The navigation link URI. - - - Gets the URI that is the association link. - The URI of the association link. - - - wrapper around loading a property from a response - - - - Wrapper HttpWebRequest & HttWebResponse - - - - Originating service request - - - The request info. - - - Originating WebRequest - - - reusuable async copy buffer - - - content to write to request stream - - - web response, closed when completed - - - Response info once it's available - - - buffer when copying async stream to response stream cache - - - response stream, returned to other parts of the system - with async, the asyncResponseStream is copied into this stream - - - copy of HttpWebResponse.ContentType - - - copy of HttpWebResponse.ContentLength - - - copy of HttpWebResponse.StatusCode - - - - does this own the response stream or does the container of this QueryAsyncResult? - - - - - if the BeginRead has been called with asyncStreamCopyBuffer, but EndRead has not. - do not return the buffer to general pool if any question of it being in use. - - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - the stream containing the request data. - - - - Ends the asynchronous query request. - - Element type of the result. - Source object of async request. - async method name. - The asyncResult being ended. - Data service response. - - - wrapper for HttpWebResponse.GetResponseStream - stream - - - start the asynchronous request - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Create materializer on top of response stream - - Precompiled projection plan (possibly null). - A materializer instance ready to deserialize ther result - - - - Processes the result for successfull request and produces the actual result of the request. - - Element type of the result. - The plan to use for the projection, if available in precompiled form. - A instance of QueryResponseResult created on top of of the request. - - - cleanup work to do once the request has completed - - - - Create the ResponseInfo. - - ResponseInfo object. - - - get stream which of copy buffer (via response stream) will be copied into - writtable stream, happens before GetAsyncResponseStreamCopyBuffer - - - get buffer which response stream will be copied into - writtable stream - - - returning a buffer after being done with it - buffer to return - - - set the http web response - response object - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - async result - error code if null or completed - - - - Make async calls to read the response stream. - - the state containing the information about the asynchronous operation. - - - Handle responseStream.BeginRead and complete the read operation. - Task that has completed. - State associated with the Task. - - - - Creates an instance of for the given plan. - - The projection plan. - expected payload kind. - A new materializer instance - - - HttpWebResponse.ContentLength - - - HttpWebResponse.ContentType - - - HttpWebResponse.StatusCode - - - entity whose property is being loaded - - - Projection plan for loading results; possibly null. - - - name of the property on the entity that is being loaded - - - constructor - entity - name of collection or reference property to load - Originating context - Originating WebRequest - user callback - user state - request object. - Projection plan for materialization; possibly null. - Whether this request is a continuation request. - - - - loading a property from a response - - QueryOperationResponse instance containing information about the response. - - - - Creates the ResponseInfo object. - - ResponseInfo object. - - - - Reads the data from the response stream into a buffer using the content length. - - Response stream. - Length of data to read. - byte array containing read data. - - - Reads the data from the response stream in chunks. - Response stream. - byte array containing read data. - - - - Load property data from an ATOM response - - The property being loaded - property values as IEnumerable. - - - - Load property data form a raw response - - The property being loaded - property values as IEnumerable. - - - - Used to materialize a collection of primitive or complex values from an . - - - - - Used to materialize a value from an . - - - - Optional field that indicates if we should expect a single result to materialize, as opposed to a collection. - - - Reader for a message that contains a value or property. - - - Has the value been read. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Implementation of Read>. - - - Return value of Read/> - - - - - Called when IDisposable.Dispose is called. - - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Function to materialize an entry and produce a value. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Class that wraps the collection reader to get values from the collection reader - - - - - Collection Reader - - - - - Initializes a new instance of the class. - - The collection reader. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Gets the current element in the collection. - - The current element in the collection. - The enumerator is positioned before the first element of the collection or after the last element.-or- The collection was modified after the enumerator was created. - - - - Materializes entities from a sequence of ODataEntry objects - - - - The format of the response being materialized. - - - The entries enumerator - - - Is the enumerator finished. - - - - Initializes a new instance of the class. - - The entries. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - The format. - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Called when IDisposable.Dispose is called. - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Whether we have finished processing the current data stream. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Use this class to invoke projection methods from . - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - Projects a simple value from the specified . - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - - Extension methods for ODataItems - - - - - Gets the materialized value. - - The property. - The materialized value. - - - - Determines whether a value has been materialized. - - The property. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The property. - The materialized value. - - - - Gets the materialized value. - - The complex value. - The materialized value. - - - - Determines whether a value has been materialized. - - The complex value. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The complex value. - The materialized value. - - - - Gets the materialized value. - - The annotatable object. - The materialized value - - - - Determines whether a value has been materialized. - - The annotatable object. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The annotatable object. - The materialized value. - - - - Annotation class for the materialized value - - - - - Gets or sets the value. - - - The value. - - - - - Materializes from $links - - - - The links value read from the message. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads from message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Reads the links. - - - - - Gets the count value. - - - - - Current value being materialized; possibly null. - - - - - Returns true if the underlying object used for counting is available - - - - - Used to materialize a property from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Used to materialize a value from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - Is a single result expected. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - To cache the entity instance as annotation for firing ReadingEntity event - - - - XDocument instance to cache the payload. - - - BaseUri for the entry payload. - - - - Creates a new instance of ReadingEntityInfo - - XElement containing the entry payload. - base uri for the entry payload. - - - - Returns the new XmlReader to cache the payload for firing ReadingEntity event. - - ODataEntry instance that is currently getting deserialized. - XmlReader that is used to read the payload. - BaseUri for the entry payload. - XmlReader instance that needs to be used to read the payload for the given odataentry. - - - - Use this class to analyze a member assignment and figure out the - target path for a member-init on an entity type. - - - This class will also detect cases in which the assignment - expression refers to cases which we shouldn't handle during - materialization, such as references to multiple entity types - as sources (or refering to no source at all). - - - - - base vistor class for walking an expression tree bottom up. - - - - - Main visit method for ALinqExpressionVisitor - - The expression to visit - The visited expression - - - - MemberBinding visit method - - The MemberBinding expression to visit - The visited MemberBinding expression - - - - ElementInit visit method - - The ElementInit expression to visit - The visited ElementInit expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Expression list visit method - - The expression list to visit - The visited expression list - - - - MemberAssignment visit method - - The MemberAssignment to visit - The visited MemberAssignmentt - - - - MemberMemberBinding visit method - - The MemberMemberBinding to visit - The visited MemberMemberBinding - - - - MemberListBinding visit method - - The MemberListBinding to visit - The visited MemberListBinding - - - - Binding List visit method - - The Binding list to visit - The visited Binding list - - - - ElementInit expression list visit method - - The ElementInit expression list to visit - The visited ElementInit expression list - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - Empty expression array; immutable. - - - Entity in scope for the lambda that's providing the parameter. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found for this analysis. - - - Path traversed from the entry field. - - - Initializes a new instance. - Entity in scope for the lambda that's providing the parameter. - - - Analyzes an assignment from a member-init expression. - Entity in scope for the lambda that's providing the parameter. - The expression to analyze. - The analysis results. - - - - Checks whether the this and a - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses (null if this is the first). - An exception to be thrown if assignments are not compatible; null otherwise. - - This method does not set the IncompatibleAssignmentsException property on either - analysis instance. - - - - Visits the specified . - Expression to visit. - The visited expression. - This method is overriden to short-circuit analysis once an error is found. - - - Visits a conditional expression. - Expression to visit. - The same expression. - - There are three expressions of interest: the Test, the IfTrue - branch, and the IfFalse branch. If this is a NullCheck expression, - then we can traverse the non-null branch, which will be the - correct path of the resulting value. - - - - Parameter visit method. - Parameter to visit. - The same expression. - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - Visits a nested member init. - Expression to visit. - The same expression. - - - Visits a member access expression. - Access to visit. - The same expression. - - - Visits a method call expression. - Method call to visit. - The same call. - - - Gets the expressions that go beyond the last entity. - An array of member expressions coming after the last entity. - Currently a single member access is supported. - - - Gets the expressions that "walk down" to the last entity, ignoring the last expression. - An array of member expressions down to, but excluding, the last entity. - - - Gets the expressions that "walk down" to the last entity. - whether to ignore the last expression or not. - An array of member expressions down to the last entity. - - - - Checks whether the and - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - An exception to be thrown if assignments are not compatible; null otherwise. - - - Creates an exception to be used when CheckCompatibleAssignment fails. - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - A new exception with diagnostic information. - - - - If there is a MemberInitExpression 'new Person { ID = p.ID, Friend = new Person { ID = p.Friend.ID }}' - or a NewExpression 'new { ID = p.ID, Friend = new { ID = p.Friend.ID }}', - this method validates against the RHS of the member assigment, the expression "p.ID" for example. - - The expression to validate. - Type of the MemberInit or the New expression. - The outter nested initializer of the current initializer we are checking. - true if the expression to assign is fine; false otherwise. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found during analysis. - - - - Helper class for creating ODataLib readers, settings, and other read-related classes based on an instance of . - - - - The current response info. - - - - Initializes a new instance of the class. - - The response info. - - - - Create message reader settings for consuming responses. - - Optional XML entry customization callback to be used. - Newly created message reader settings. - - - - Creates a new the reader for the given response message and settings. - - The response message. - The settings. - Newly created message reader. - - - - Helper class for creating ODataLib writers, settings, and other write-related classes based on an instance of . - - - - The current request info. - - - - Initializes a new instance of the class. - - The request info. - - - - Create message writer settings for producing requests. - - Optional XML entry customization callback to be used for the start of entries. - Optional XML entry customization callback to be used for the end of entries. - if set to true indicates that this is a part of a batch request. - Newly created message writer settings. - - - - Creates a writer for the given request message and settings. - - The request message. - The writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - Newly created writer. - - - - Creates a request message with the given arguments. - - The request message args. - Newly created request message. - - - - IODataRequestMessage interface implementation. - - - - Request Url. - - - RequestInfo instance. - - - - Creates a new instance of ODataRequestMessage. This constructor is used for top level requests. - - RequestMessage that needs to be wrapped. - Request Info. - Descriptor for this request. - - - - Create a request message for a batch part from the batch writer. This method copies request headers - from in addition to the method and Uri. - - ODataBatchWriter instance to build operation message from. - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create a request message for a non-batch requests and outer $batch request. This method copies request headers - from in addition to the method and Uri. - - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Abort the current request. - - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the content length header for the given request message. - - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Adds the given header to the list of header whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Fires the following events, in order - 1. WritingRequest - 2. SendingRequest2 - - Descriptor for which this request is getting generated. - - - - FireSendingRequest2 event. - - Descriptor for which this request is getting generated. - - - - Descriptor for this request; or null if there isn't one. - - - - - Return the stream containing the request payload. - - - - - Gets or sets a value that indicates whether to send request data in segments. - - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - This is a just a pass through implementation of IODataRequestMessage. - In order to keep the sync and non-async code the same, we write all requests into an cached stream and then copy - it to the underlying network stream in sync or async manner. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - The cached request stream. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for non-batch requests and $batch requests. - - - - - Wrapper for the top-level request messages which caches the request stream as it is written. In order to keep the sync and non-async - code the same, we write all requests into an cached stream and then copy it to the underlying network stream in sync or async manner. - - - - - Creates a new instance of ODataOuterRequestMessage. - - DataServiceClientRequestMessage instance. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for inner batch operations. - - - - - Inner batch request that ODataLib creates. - - - - - Creates a new instance of InnerBatchRequestMessageWrapper; - - Instance of DataServiceClientRequestMessage that represents this request. - Instance of IODataRequestMessage created by ODataLib. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - Use this class to represent an annotated list of path segments. - - - Initializes a new instance. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - Member to initialize the path with. - - - Provides a string representation of this object. - A string representation of this object, suitable for debugging. - - - Parameter expression in the source tree. - - - Expression to get the entry for in the target tree. - - - Expression to get the expected root type in the target tree. - - - - Use this class to help keep track of projection paths built - while compiling a projection-based materialization plan. - - - - Stack of whether entities are in scope. - - - Registers rewrites for member initialization blocks. - - - Stack of lambda expressions in scope. - - - - Stack of expected type expression for . - - - - Stack of 'entry' parameter expressions. - - - Stack of projection (target-tree) types for parameters. - - - Initializes a new instance. - - - Provides a string representation of this object. - String representation of this object. - - - Records that a lambda scope has been entered when visiting a projection. - Lambda being visited. - Expression to the entry parameter from the target tree. - Expression to the entry-expected-type from the target tree. - - - - Records that a member initialization expression has been entered - when visting a projection. - - Expression for initialization. - - - Gets a rewrite for the specified expression; null if none is found. - Expression to match. - A rewrite for the expression; possibly null. - - - Records that a lambda scope has been left when visting a projection. - - - - Records that a member initialization expression has been left when - visting a projection. - - - - Registers a member initialization rewrite. - Root of member access path, typically a source tree parameter of entity type. - Sequence of names to match. - Rewrite expression for names. - - - Revokes the latest rewrite registered on the specified . - Root of rewrites to revoke. - Names to revoke. - - - Whether the current scope is acting on an entity. - - - Expression for the expected type parameter. - - - Whether any rewrites have been registered. - - - Expression for the entity parameter in the source tree lambda. - - - Expression for the entry parameter in the target tree. - - - Use this class to record how rewrites should occur under nested member initializations. - - - Sequence of member names to match. - - - Root of member access path, typically a source tree parameter of entity type. - - - Rewrite expressions for the last member path. - - - - Use this class to represent a step in a path of segments - over a parsed tree used during projection-driven materialization. - - - - Initializes a new instance. - Path on which this segment is located. - Name of member to access when traversing a property; possibly null. - - Type that we expect to project out; typically the same as , but may be adjusted. - - - - Initializes a new instance. - Path on which this segment is located. - Member expression for the projection path; possibly null. - - - Name of member to access when traversing a property; possibly null. - - - - Type that we expect to project out; typically the same as , but may be adjusted. - - - In particular, this type will be adjusted for nested narrowing entity types. - - For example: - from c in ctx.Customers select new NarrowCustomer() { - ID = c.ID, - BestFriend = new NarrowCustomer() { ID = c.BestFriend.ID } - } - - In this case, ID will match types on both sides, but BestFriend - will be of type Customer in the member access of the source tree - and we want to project out a member-initialized NarrowCustomer - in the target tree. - - - - - Contains the TypeAs at the source of the member access, null otherwise - e.g. (p as Employee).Manager - - - - Path on which this segment is located. - - - Use this class to store a materialization plan used with projections. - - - Runs this plan. - Materializer under which materialization should happen. - Root entry to materialize. - Expected type for the . - The materialized object. - - - Last segment type for query. - This typically matches the expected element type at runtime. - - - Provides a method to materialize a payload. - - - Expected type to project. - - - - Use this class to create a for a given projection lambda. - - - - Creates dynamic methods that wrap calls to internal methods. - - - Annotations being tracked on this tree. - - - Expression that refers to the materializer. - - - Tracks rewrite-to-source rewrites introduced by expression normalizer. - - - Number to suffix to identifiers to help with debugging. - - - Path builder used to help with tracking state while compiling. - - - Whether the top level projection has been found. - - - - Initializes a new instance. - - Rewrites introduces by normalizer. - - - Creates a projection plan from the specified . - Projection expression. - Tracks rewrite-to-source rewrites introduced by expression normalizer. - A new instance. - - - Binary visit method. - Binary expression to visit. - (Possibly rewritten) binary expression. - - This override is introduced because binary expressions are one of - the scopes at which normalization happens. - - - - Visits the specified expression. - Expression to check. - The visited expression. - - This override allows us to check for rewrites created by - ExpressionNormalizer.CreateCompareExpression. - - - - Unary visit method. - Unary expression to visit. - (Possibly rewritten) unary expression. - - This override is introduced because unary expressions are one of - the scopes at which normalization happens. - - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - Parameter visit method. - Parameter to visit. - Resulting expression. - - The parameter may get rewritten as a materializing projection if - it refers to an entity outside of member binding. In this case, - it becomes a standalone tracked entity. - - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - A MemberInitExpression on a knownEntityType implies that we - want to materialize the thing. - - - - Visits a method call expression. - Expression to visit. - A (possibly rewritten) expression for . - - - - Visit - - Expression to visit - an expression - - - LambdaExpression visit method. - The LambdaExpression to visit - The visited LambdaExpression - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Type arguments for method (possibly null). - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - - Rebind a call to DataServiceCollection constructor - - the constructor info - arguments to the constructor - An expression that calls the DSC constructor - - - Creates an expression that calls ProjectionCheckValueForPathIsNull. - Expression for root entry for paths. - Expression for expected type for entry. - Path to check null value for. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - Path to convert result for. - A new expression with the call instance. - - - - Rebinds a conditional that performs a null check on an entity. - - Conditional expression. - Results of null check analysis. - The rebound expression. - - Do a rewrite to avoid creating a type in the null check: - a.b == null ? null : [a.b]-based expression - becomes - ProjectionIsNull(a.b) ? null : [a.b]-based expression - - - - - Rebinds the specified expression by gathering - annotated paths and returning an expression that calls the - ProjectionGetEntity method. - - Member initialization expression. - A new expression suitable for materialization. - - - - Creates an expression that gets the deepest entry that will be found on the - specified (for the target tree). - - Path of expressions to walk. - An expression that invokes ProjectionGetEntry on the target tree. - - - Gets an expression before its rewrite. - Expression to check. - The expression before normalization. - - - Rebinds the specified parameter expression as a path-based access. - Expression to rebind. - Annotation for the expression to rebind. - The rebound expression. - - - Rebinds the specified member access expression into a path-based value retrieval method call. - Member expression. - Annotation for the base portion of the expression. - A rebound expression. - - - Rewrites NewExpression for DataServiceCollection to a constructor proxy method call. - The proxy is required for partially trusted appdomains. Paging information is preserved in the materializer. - NewExpression to create a collection - The rewritten expression. - - - Rewrites a call to Select() by adding to the current paths to project out. - Call expression. - Expression with annotated path to include in member binding. - - - Rewrites a call to ToList in the specified method. - Call expression. - Expression with annotated path to include in member binding. - - All that is necessary here is to rewrite the call to Select() and indicate - that the target type is a given List<T>. - - TODO: we're not bubbling this all the way to the GetOrCreateCollection method - does it matter? - - - - Rewrites a method call used in a sequence method (possibly over entity types). - Call expression. - Expression that can be called directly to yield the expected value. - - - Returns a method call that returns a list from a typed enumerable. - Expression to convert. - Target type to return. - The new expression. - - - Annotates an expression, typically from the target tree. - - - Segment that marks the path found to an expression. - - - - class for the event. - Exposes the ResponseMessage to the user. - - - - - Initializes a new instance of the class for a - non-batch or top level $batch response. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - - - - Initializes a new instance of the class. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - Indicates if this response is to an inner batch query or operation. - - - - Gets the response message that the client is receiving. - - - - - True if the response is an inner batch operation or query; false otherwise. - - - - - Descriptor for the request that the client is receiving the response for. - The descriptor may be null for certain types of requests, like most GET requests - and the top level $batch request. - - - - - Collection for header name/value pairs which is known to be case insensitive. - - - - - Case-insensitive dictionary for storing the header name/value pairs. - - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of . - - The response message to pull the headers from. - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of which is empty. - - - - - Adds default system headers - Currently it sets User-Agent header as default system header - - - - - Tries to get the value of the header with the given name, if it is in the collection. - - The header name to look for. - The header value, if it was in the collection. - Whether or not the header was in the collection. - - - - Gets the value of the header, or null if it is not in the collection. - - The header name to look for. - The header value or null. - - - - Sets a header value. Will remove the header from the underlying dictionary if the new value is null. - - The header name to set. - The new value of the header. - - - - Sets multiple header values at once. - - The headers to set. - - - - Gets an enumeration of the header values in the collection. - - An enumeration of the header values in the collection. - - - - Sets the request DataServiceVersion and MaxDataServiceVersion. - - DSV to set the request to. - Max protocol version, which MDSV will essentially be set to. - - - - Sets the header if it was previously unset. - - The header to set. - The new header value. - - - - Sets UserAgent header - - - - - Creates a copy of the current header collection which uses a different dictionary to store headers. - - A copy of the current headers. - - - - Gets the DataServiceVersion as a Version object if it is encoded as a proper version string with an optional Util.VersionSuffix ending. - - The DataServiceVersion header as a Version object. - - - - Gets the underlying dictionary the headers are stored in. Should only be used when absolutely necessary for maintaining public API. - - - - - Gets the names of all the headers in the collection. - - - - - Class which wraps the dataservicecontext and exposes information required for - generating request to send to the server - - - - The type resolver for the current request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - Whether this is a continuation request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - The entity descriptor. - The server type name for the entity. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - Client type annotation. - The server type name for the entity. - - - - Infers the server type name for the entity tracked in the given descriptor based on the server model. - - The descriptor containing the entity to get the type name for. - The type name or null if it could not be inferred. - - - - Fires the WritingEvent event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Returns the instance of ResponseInfo class, which provides all the information for response handling. - - merge option to use for handling the response conflicts. - If this parameter is null the default MergeOption value from the context is used. - instance of response info class. - - - - Returns the instance of LoadPropertyResponseInfo class, which provides information for LoadProperty response handling. - - Merge option to use for conflict handling. - Entity whose property is being loaded. - Property which is being loaded. - Instance of the LoadPropertyResponseInfo class. - - - - Validates that the response version can be accepted as a response for this request - - The version of the response (possibly null if none was specified) - Exception if the version can't be accepted, otherwise null. - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Returns an instance of the IODataRequestMessage - - Arguments for creating the request message. - an instance of the IODataRequestMessage - - - - Asks the context to Fire the BuildingRequest event and get RequestMessageArgs. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - The writing helper to use. - - - context instance. - - - - Whether this is a continuation request. - - - - Gets the URI used to indicate what type scheme is used by the service. - - - Override the namespace used for the data parts of the ATOM entries - - - Gets the configurations. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - Indicates if there are subscribers for the WritingEntity event - - - Whether to ignore extra properties in the response payload. - - - True if the context's ResolveName property has been set, otherwise false. - - - True if the context's ResolveName property can be determined to be a user-supplied value, instead of the one provided by codegen. - - - Gets the BaseUriResolver - - - Gets the response preference for Add and Update operations. - - - The maximum protocol version the client should understand. - - - - Returns true if there are subscribers to SendingRequest event. - - - - - Returns true if there are subscribers to SendingRequest event. - - - - - True if the user could have modified a part of the request. This lets us turn off assertions that normally - prevent us from making certain mistakes we don't mind the user intentionally ignoring. - - - - - Gets the authentication information used by each query created using the context object. - - - - - Whether to use post-tunneling for PUT/DELETE. - - - - - Gets the client model. - - - - - Gets the tracker for the user-specified format to use for requests. - - - - - Gets the type resolver. - - - - - Gets the URL conventions the user set on the context. - - - - - The HTTP stack to use in Silverlight. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - - Wrappers the context and only exposes information required for - processing the response from the server - - - - The request that led to this response. - - - MergeOption to use to process the response. - - - - Creates a new instance of the ResponseInfo class which exposes all the information from - the context required for processing the response from the server. - - The request info - mergeOption - - - The reading helper to use. - - - - Whether this is a continuation request. - - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Override the namespace used for the data parts of the ATOM entries - - - MergeOption to use to merge the entities from the response and one present in the client. - - - Whether to ignore extra properties in the response payload. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - A flag indicating if the data service context is applying changes - - - Gets the type resolver instance. - - - Gets the BaseUriResolver - - - return the protocol version as specified in the client. - - - - Gets the client model. - - - - - Returns the DataServiceContext - Should be only used in DataServiceCollection constructor, where - we need to infer the context from the results. - - context instance. - - - - Gets the reading pipeline configuration - - - - - Information used for handling response to a LoadProperty request. - - - - - Constructs a new instance. - - Information about the request. - Merge option. - Entity whose property is being loaded. - Property which is being loaded. - - - - Entity whose property is being loaded. - - - - - Property being loaded. - - - - Event args for the SendingRequest2 event. - - - - Creates a new instance of SendingRequest2EventsArgs - - request message. - Descriptor that represents this change. - True if this args represents a request within a batch, otherwise false. - - - The web request reported through this event. The handler may modify or replace it. - - - The request header collection. - - - Returns true if this event is fired for request within a batch, otherwise returns false. - - - - Forwards calls to an OData Writer - - - - The odataWriter. - - - The payload writing events. - - - - Prevents a default instance of the class from being created. - - The odata writer. - The request pipeline configuration. - - - - Creates the odata entry writer. - - We never create a feed writer as the client doesn't support deep insert, if we did this would need to change - The message writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Creates the odata entry writer for testing purposes only - - The odata writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Writes the start. - - The entry. - The entity. - - - - Writes the end. - - The entry. - The entity. - - - - Writes the end. - - The link. - The source. - The target. - - - - Writes the end Actions. - - The link. - The source. - The target. - - - - Writes the navigation link end. - - - - - Writes the start. - - The navigation link. - The source. - The target. - - - - Writes the start for Navigation link. - - The navigation link. - The source. - The target. - - - - Writes the start for a collection of navigation links. - - The navigation link. - - - - Writes the entity reference link. - - The reference link. - The source. - The target. - - - IODataRequestMessage interface implementation. - - - Running on silverlight - - - Cached method info that will be used to call to set the userAgent property if its not null. - - - Cached method info that will be used to call to set the ContentLength property if its not null. - - - Indicates the current platform the portablelib is running on can't set the user agent property - - - Indicates that the current platform doesn't support setting the header useragent property - - - Indicates the current platform the portablelib is running on can't set the user agent property - - - Indicates that the current platform doesn't support setting the header useragent property - - - Request Url. - - - The effective HTTP method. - - - RequestInfo instance. - - - HttpWebRequest instance. - - - List of header value to reset after SendingRequest event is fired. - - - True if the FireSendingRequest method is already called, otherwise false. - - - True if SendingRequest2Event is currently invoked, otherwise false. - - - - Initializes the class. - - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - RequestInfo instance. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the Content length of the Http web request - - Http web request to set the content length on - Length to set - - - - Sets the accept charset. - - The HTTP web request. - The header value. - - - - Attempts to set the UserAgent property if it exists other wise returns false - - The http web request. - The value of the user agent. - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - This method is called just before firing SendingRequest2 event. - - - - - This method is called immd. after SendingRequest2 event has been fired. - - - - - Set the header values on the request. - - IODataRequestMessage instance containing all the headers. - Dictionary of cached headers. - The Effective http method. - - - - Create an instance of HttpWebRequest from the given IODataRequestMessage instance. This method - is also responsible for firing SendingRequest event. - - Http Method. - Request Url. - DataServiceClientRequestMessageArgs instance. - an instance of HttpWebRequest. - - - - Sets the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to apply the header to. - Name of the header. - Value of the header. - - - - Get the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to get the header value from. - Name of the header. - the value of the header with the given name. - - - - Convert the WebException into DataServiceWebException. - - WebException instance. - an instance of DataServiceWebException that abstracts the WebException. - - - - Fire SendingRequest event if its conditions are met. - If the user has a handler for BuildingRequest, we will throw. - If the user has no BuildingRequest handlers but does have a SendingRequest2 handler, we silently do not fire this event (this is shipped 5.0 behavior). - - - - Returns the request url. - - - Returns the method for this request. - - - Returns the collection of request headers. - - - Returns the underlying HttpWebRequest - - - - Gets or set the credentials for this request. - - - - - IODataResponseMessage interface implementation - - - - Cached headers. - - - A func which returns the response stream. - - - The response status code. - - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Constructor. - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to read the response payload. - - Stream from which the response payload can be read. - - - - Close the underlying HttpWebResponse. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the collection of response headers. - - - - - Gets the underlying . - - - - - The response status code. - - - - - Component for converting properties on client types into instance of in order to serialize insert/update payloads. - - - - - The request info. - - - - - Initializes a new instance of the class. - - The request info. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The server type name of the entity whose properties are being populated. - The properties to populate into instance of ODataProperty. - Populated ODataProperty instances for the given properties. - - - - Creates and returns an ODataComplexValue from the given value. - - The value type. - The complex value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - True, if the value is an item in a collection, false otherwise. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataComplexValue representing the given value. - - - - Creates and returns an ODataCollectionValue from the given value. - - The type of the value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - The value. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataCollectionValue representing the given value. - - - - Returns the primitive property value. - - Value of the property. - Type of the property. - Returns the value of the primitive property. - - - - Gets the specified type name as an EDM Collection type, e.g. Collection(Edm.String) - - Type name of the items in the collection. - Collection type name for the specified item type name. - - - - Creates and returns an for the given primitive value. - - The property being converted. - The property value to convert.. - An ODataValue representing the given value. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The properties to populate into instance of ODataProperty. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - Populated ODataProperty instances for the given properties. - - - - Tries to convert the given value into an instance of . - - The property being converted. - The property value to convert.. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - The odata value if one was created. - Whether or not the value was converted. - - - - Returns the value of the complex property. - - Property which contains name, type, is key (if false and null value, will throw). - property value - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataComplexValue containing the value of the properties of the given complex type. - - - - Returns the value of the collection property. - - Collection property details. Must not be null. - Collection instance. - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataCollectionValue representing the value of the property. - - - - Adds a type annotation to the value if it is primitive and not defined on the server. - - The server type name of the entity whose properties are being populated. - The current property. - The already converted value of the property. - - - - Convert between primitive types to string and xml representation - - - - - Constructor - - - - - Create a parser token from xml feed - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - token - - - - Create a parser token from text representation ($value end points) - - The text form reprensentation - token - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between an instance of geography and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of geometry and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of DataServiceStreamLink and its xml representation. - There is never a scenario in client which requires to do this, but since a converter - is required, adding one which does nothing for namedstream. - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Represent a Primitive Type on the client - - - 1) Performance - For performance reasons we use several dictionaries here: - - clrMapping contains well known primitive types. Initialized in the static constructor and never changed - after initialization. Therefore it is safe to read without locks. Also see comment about Binary type below - - derivedPrimitiveTypeMapping - a map for custom primitive types derived from well known primitive types - - especially spatial types. New items may be added at runtime so reads and writes must be locked - - knownNonPrimitiveTypes - a HashSet of types we have seen and determined they are not primitive. Used - to shortcircuit logic for finding derived primitive types for types we know are not primitive. - To get a primitive type one *MUST NOT* clrMapping since clrMapping will not contain custom primitive types - but call TryGetPrimitiveType method that knows how to handle multiple dictionaries. - 2) System.Data.Linq.Binary - We want to avoid static dependency on System.Data.Linq.dll. On the other hand System.Data.Linq.Binary is - a well known primitive type. For performance reasons and to avoid locking the clrMapping is only initialized - in the static ctor when we don't have System.Data.Linq.Binary type handy. Therefore we use the dummy BinaryTypeSub - type during initialization. As a result to get a well known primitive type one *MUST NOT* use the clrMapping - dictionary directly but call TryGetWellKnownPrimitiveType() method which knows how to handle BinaryType. - - - - - Clr Type - Primitive Type mapping for well known primitive types - - - It is being initialized in the static constructor and must not change - later. This way we can avoid locking it. - - - - - Clr Type - Primitive Type mapping for custom derived primitive type (e.g. spatial types) - - - This dictionary contains type mapping for custom derived primitive types (e.g. spatial) that - are types discovered at runtime and added as we go. Any access to this dictionary requires locking. - - - - - Edm Type - Primitive Type mapping - - - - - Cache containing known non-primitive types. Any access to this hashset requires locking. - - - - - Static Constructor - - - - - Constructor - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - A PrimitiveXmlConverter that provides convertion between instances of this type to its Xml representation and back - Whether this primitive type can be mapped from the Edm type name - - - - Try retrieve a primitive type metadata from a clr type - - The Clr Type - The returning primitive type - True if the type is found - - See remarks for the class. - - - - - Try retrieve a primitive type metadata from a Edm Type Name - - Edm Type Name - The returning primitive type - True if the type is found - - - - Is this a known primitive type (including string,byte[],uri) - - type to analyze - true if known primitive type - - - - Is this a known primitive type or a nullable based on a primitive type (including string,byte[],uri) - - type to analyze, possibly nullable - true if known primitive type or a nullable based on a primitive type - - - - Delete the type from known type table - - The clr type - The edm type name to remove, or null - This is a test clean up hook. MUST NOT BE CALLED FROM PRODUCT CODE. - - - - Register a known type as primitive type - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - The Type Converter - Whether this mapping should have a reverse mapping from Edm - - This method is internal only for testing purposes. - IN PRODUCT MUST BE CALLED ONLY FROM THE STATIC CTOR OF THE PrimitiveType CLASS. - - - - - Creates a new instance of the corresponding IEdmPrimitiveType - - Returns a new instance of the corresponding IEdmPrimitiveType - - - - Populate the mapping table - - - MUST NOT BE CALLED FROM PRODUCT CODE OTHER THAN STATIC CTOR OF PrimitiveType class. - - - - - Tries to get a well known PrimitiveType for a clr type. Contains logic to handle Binary type. - - The clr type to get well known PrimitiveType for. - PrimitiveType for the if exists. Otherwise null. - true if a PrimitiveType for the was found. Otherwise false. - - - - The Clr Type - - - - - The Edm Type Name - - - - - A PrimitiveXmlConverter that provides convertion between - instances of this type to its Xml representation and back - - - - - This type has a reverse edm type mapping - - - Some known primitive types have shared edm type mapping - Only one of these shared type can contain a reverse mapping - - - - - Gets the types EDM primitive type kind - - - - - Represents a definition of an EDM primitive type. - - - - - Namespace of the type. - - - - - Name of the type. - - - - - The kind of primitive. - - - - - Creates an instance of the client EDM primitive type. - - Namespace of the type. - Name of the type. - Kind fo the primitive type. - - - - Creates a new instance of the IEdmPrimitiveType - - Kind of primitive type. - Returns a new instance of the IEdmPrimitiveType - - - - Name of the type. - - - - - Namespace of the type. - - - - - Kind of the primitive type. - - - - - The kind of this schema element. - - - - - Kind of this type. - - - - - A parser token - - - - - Materialize this token using a PrimitiveTypeConverter - - The primitive type - A materialized instance - - - - Textual based parser token - - - - - Constructor - - Textual value - - - - Materialize by calling the Parse method on the converter - - clrType - A materialized instance - - - - The text property - - - - - Instance based parser token, where the token is the materialized instance - - The instance type - - - - Constructor - - The instance - - - - Materialize by returning the instance - - A primitive type converter - The instance - - - - The instance - - - - Equality comparer implementation that uses reference equality. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accesses statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - Single instance per 'T' for comparison. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - Returns a singleton instance for this comparer type. - - - - Class which implements the for the GetReadStream operation. - Note that this effectively behaves as a simple wrapper around the IAsyncResult returned - by the underlying HttpWebRequest, although it's implemented fully on our own to get the same - behavior as other IAsyncResult objects returned by the client library. - - - - The web request this class wraps (effectively) - - - descriptor of the stream which is getting queried. - - - RequestInfo for this request. - - - IODataResponseMessage containing all the response information. - - - - Constructs a new async result object - - The source of the operation. - Name of the method which is invoked asynchronously. - The object which is wrapped by this async result. - User specified callback for the async operation. - User state for the async callback. - stream descriptor whose value is getting queried. - - - - Begins the async request - - - - - Ends the request and creates the response object. - - The response object for this request. - - - invoked for derived classes to cleanup before callback is invoked - - - Set the AsyncWait and invoke the user callback. - the request object - This method is not implemented for this class. - - - - Async callback registered with the underlying HttpWebRequest object. - - The async result associated with the HttpWebRequest operation. - - - - Holds state (Path, lambda parameter stack, etc) for projection analysis. - - - - This class is used as a marker for an entity projected in its entirety. - - - The request data service version for the projection and expand paths - - - Initializes a new instance. - - - Starts a new path. - - - - Appends the given property and source TypeAs to the projection and expand paths. - - Navigation property - The TypeAs type if the source of the member access expression is a TypeAs operation. Null otherwise. - Data service context instance. - - - - Appends a name of a property/link/type to the current projection path. - - name of the property/link/type which needs to be added to the select path. - if originally present in the path, replace the entity marker after appending the name - the string builder containing all the select paths. - - - - Appends a name of a property/link/type to the current expand path. - - name of the property/link/type which needs to be added to the expand path. - - - - If the path ends with the EntireEntityMarker, remove it from the path. - - path - True if the EntireEntityMarker was found. - - - - Adds the EntireEntityMarker to the end of the path - - path - - - The request data service version for the projection and expand paths - - - - Analyzes projection expressions to see if supported. - To be writable, must follow these rules: - 1) Must be known Entity Type - 2) Must be a true narrowing of the source type. Subset of properties + no transformations other then casts. - - To be materializable (read-only), must follow these rules - 1) No transient object creation. (Entity and non-Entity types) - 2) No referencing of other DataService queries or contexts. - - - - - Analyzes a lambda expression to check whether it can be satisfied with - $select and client-side materialization. - - Lambda expression. - Resource expression in scope. - Whether member accesses are matched as top-level projections. - Context of expression to analyze. - true if the lambda is a client-side projection; false otherwise. - - - - Checks whether the specified refers - to a sequence method call allowed on entity types. - - Method call expression to check. - true if the method call is allowed; false otherwise. - The method won't check whether the call is made on actual entity types. - - - - Checks whether the specified refers - to a Select method call that works on the results of another Select call - - Method call expression to check. - Type of the projection - - - - Checks whether the specified expression creates a collection. - - Expression to check. - true if given expression is collection producing. - - - - Checks whether the specified expression is allowed in a MethodCall. Expressions that - produce collections are not allowed. The only exception is when collection property - belongs to an entity e.g. c.Orders.Select(o => o), where we allow c.Orders. - - Expression to check. - The client model used. - true if expression is disallowed, false otherwise. - - - - Analyzes the specified expression with an entity-projection or - non-entity-projection analyzer. - - Expression to analyze. - Path box where select and expand paths are tracked. - Context of expression to analyze. - - - - Analyzes the specified for selection and updates - . - - Lambda expression to analyze. - Resource expression to update. - Context of expression to analyze. - - - Skips converts and returns the underlying expression. - Expression to dig into. - The original expression without converts. - - IMPORTANT: This is fine for checks on underlying expressions where we - want converts to be "mostly" transparent, but using the result in - place of the given loses information. - - - - Path-tracking object. - - - Type being member-init'ed. - - - - This analyzer iterates through the list of member assignments in the MemberInitExpression - and visits each one. This field tracks if the currently visited member assignment is a - MemberAccessExpression, used for determining if a TryAs convert should be emitted when visited. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TryAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Initializes a new instance. - Path-tracking object. - Type being member-init'ed. - Context of expression to analyze. - - - Analyzes the specified member-init expression. - Expression to analyze. - Path-tracking object to store analysis in. - Context of expression to analyze. - - - - Specific Vistior base class for the DataServiceQueryProvider. - - - - - Main visit method. - - Expression to visit - Visited expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - NavigationPropertySingletonExpressionvisit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - Visit an , producing a new InputReferenceExpression - based on the visited form of the that is referenced by - the InputReferenceExpression argument, . - - InputReferenceExpression expression to visit - Visited InputReferenceExpression expression - - - See corresponding comment in EntityProjectionAnalyzer - - - See corresponding comment in EntityProjectionAnalyzer - - - Visits a unary expression while initializing a non-entity type structure. - Expression to visit. - The visited expression. - - - - Visits a member access expression in non-entity projections, validating that - it's correct and recording the path visit to include in a projection if necessary. - - Expression to visit. - The same expression. - - The projection analyzer runs after funcletization, so a member expression - rather than a constant expression implies that this is correlated to - a parameter, by dotting through the argument in valid cases, and possibly - more complex cases in others like new DSC(p.Orders)*.Foo* <- .Foo is invalid. - - - - - An resource specific expression representing a projection query option. - - - - - An resource specific expression representing a query option. - - - - The CLR type this node will evaluate into. - - - - Creates a QueryOptionExpression expression - - the return type of the expression - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the value represented by this . - - - - projection expression to evaluate on client on results from server to materialize type - - - projection paths to send to the server - - - - Creates a ProjectionQueryOption expression - - the return type of the expression - projection expression - Projection paths for the query option - - - - The of the . - - - - - expression for the projection - - - - - expression for the projection - - - - Represents the components of query. - - - Query option used in projection queries. - - - Select query option as it appears at the beginning of a query string. - - - Select query option as it appears in the middle of a query string. - - - type - - - Records the generated-to-source rewrites created. - - - selector Lambda Expression - - - HttpMethod to use in the query. - - - List of parameters for a service operation or a service function. - - - List of parameters for service action. - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - Version for query - - - - Constructs a container for query components with HttpMethod GET. - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - - - - Constructs a container for query components - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - The HttpMethod to be used in the request. - If true, then a single primitive or complex value is expected. If false, then a collection of primitives or complex - is expected. Should be null when expecting a void response, a single entry, or a feed. - The body operation parameters associated with a service action. - The uri operation parameters associated with a service function or a service operation. - - - - Determines whether or not the specified query string contains the $select query option. - - String that may contain $select. - True if the specified string contains the $select query option, otherwise false. - - This method is specifically looking for patterns that would indicate we really have the specific query option and not something like $selectNew. It also expects that - any data string being passed to this method has already been escaped, as the things we are looking for specifically contain equals signs that would be escaped if in a data value. - - - - Records the generated-to-source rewrites created. - - - The projection expression for a query - - - The last segment type for query - - - The data service version associated with the uri - - - The HttpMethod to be used in the query. - - - - List of operation parameters for service operation or a service function. - - - - - List of operation parameters for a service action. - - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - - Gets a value indicating whether the URI for this query has the select query option. - - - - Gets or sets the URI for a query, possibly with query options added to the cached URI. - URI with additional query options added if required. - - - - Static utility class for identifying methods in Queryable, Sequence, and IEnumerable - and - - - - - Identifies methods as instances of known sequence operators. - - Method info to identify - Identified sequence operator - true if method is known; false otherwise - - - - Check to see if this is an Any or an All method - - sequence method to check. - true if sequence method is Any or All, false otherwise. - - - - Requires: - - no collisions on type names - - no output or reference method parameters - - - Produces a string description of a method consisting of the name and all parameters, - where all generic type parameters have been substituted with number identifiers. - - Method to identify. - Canonical description of method (suitable for lookup) - - - - Returns all static methods in the Queryable and Enumerable classes. - - - - - Enumeration of known extension methods - - - - - Represents a reference to a bound resource set in the resource path. - The type of the input reference is the element type of the set. - - - Because the type of the input reference is the element type of the set, - it can be used to indicate what a range variable ranges over. - - For example, in input.Select(b => b.id), 'input' is an IQueryable of T, - and 'b' is a parameter of type T. 'b' can be rebound as an input reference - to 'input' by the InputBinder, which helps in query analysis and - translation. - - - - The resource or set referred to by this input reference expression - - - - Constructs a new input reference expression that refers to the specified resource set - - The target resource set that the new expression will reference - - - - Retargets this input reference to point to the resource set specified by . - - The that this input reference should use as its target - - - - The of the value represented by this . - - - - - The of the . - - - - - Retrieves the resource set referred to by this input reference expression - - - - - The counting option for the resource expression - - - - No counting - - - Translates to the $count segment. - - - Translates to the $inlinecount=allpages query option - - - - Abstract base class for expressions that support Query Options - - - - Source expression. - - - Singleton InputReferenceExpression that should be used to indicate a reference to this element of the resource path - - - The CLR type this node will evaluate into. - - - expand paths - - - The count query option for the resource set - - - custom query options - - - projection expression - - - Uri version for the expression and also the expand and projection paths - - - - Creates a Resource expression - - the source expression - the return type of the expression - the expand paths - the count option - The custom query options - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Creates an that refers to this component of the resource path. - The returned expression is guaranteed to be reference-equal (object.ReferenceEquals) - to any other InputReferenceExpression that also refers to this resource path component. - - The InputReferenceExpression that refers to this resource path component - - - Raise the UriVersion if it is lower than . - Uri version from the expand and projection paths - - - - The of the value represented by this . - - - - - Resource type for this expression (for sets, this is the element type). - Never null. - - - - - The resource type that this expression is explicitly converted to by a TypeAs - expression (i.e., "as" operator in C#, "TryCast" in VB). Null if no conversion. - - - - - Uri version from the expand and projection paths - - - - - Does this expression produce at most 1 resource? - - - - - Expand query option for ResourceSet - - - - - Count query option for ResourceSet - - - - - custom query options for ResourceSet - - - - Description of the projection on a resource. - - This property is set by the ProjectionAnalyzer component (so it - mutates this instance), or by the ResourceBinder when it clones - a ResourceExpression. - - - - - Gets the source expression. - - - - - performs funcletization on an expression tree - - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A function that decides whether a given expression node can be part of the local function. - A new tree with sub-trees evaluated and replaced. - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A new tree with sub-trees evaluated and replaced. - - - - Evaluates if an expression can be evaluated locally. - - the expression. - true/ false if can be evaluated locally - - - - Evaluates and replaces sub-trees when first candidate is reached (top-down) - - - - list of candidates - - - - constructs an expression evaluator with a list of candidates - - List of expressions to evaluate - - - - Evaluates an expression sub-tree - - The expression to evaluate. - The evaluated expression. - - - - Visit method for visitor - - the expression to visit - visited expression - - - - Evaluates expression - - the expression to evaluate - constant expression with return value of evaluation - - - - Performs bottom-up analysis to determine which nodes can possibly - be part of an evaluated sub-tree. - - - - func to determine whether expression can be evaluated - - - candidate expressions for evaluation - - - flag for when sub tree cannot be evaluated - - - - Creates the Nominator based on the function passed. - - - A Func speficying whether an expression can be evaluated or not. - - visited expression - - - - Nominates an expression to see if it can be evaluated - - - Expression to check - - a list of expression sub trees that can be evaluated - - - - Visit method for walking expression tree bottom up. - - - root expression to visit - - visited expression - - - - Replaces expression patterns produced by the compiler with approximations - used in query translation. For instance, the following VB code: - - x = y - - becomes the expression - - Equal(MethodCallExpression(Microsoft.VisualBasic.CompilerServices.Operators.CompareString(x, y, False), 0) - - which is normalized to - - Equal(x, y) - - Comment convention: - - CODE(Lang): _VB or C# coding pattern being simplified_ - ORIGINAL: _original LINQ expression_ - NORMALIZED: _normalized LINQ expression_ - - - - - If we encounter a MethodCallExpression, we never need to lift to lift to null. This capability - exists to translate certain patterns in the language. In this case, the user (or compiler) - has explicitly asked for a method invocation (at which point, lifting can no longer occur). - - - - - Gets a dictionary mapping from LINQ expressions to matched by those expressions. Used - to identify composite expression patterns. - - - - Records the generated-to-source rewrites created. - - - Initializes a new instance. - Dictionary in which to store rewrites. - - - - Applies normalization rewrites to the specified - , recording them in the - dictionary. - - Expression to normalize. - Dictionary in which to record rewrites. - The normalized expression. - - - - Handle binary patterns: - - - VB 'Is' operator - - Compare patterns - - - - - CODE: x - ORIGINAL: Convert(x, t) where t is assignable from typeof(x) - ORIGINAL: x as t, where t is assignable from typeof(x) - ORIGINAL: and typeof(x) or t are not known primitives unless typeof(x) == t - ORIGINAL: and x is not a collection of entity types - NORMALIZED: x - - - - - CODE: x - ORIGINAL: Convert(x, typeof(object)) - ORIGINAL(Funcletized): Constant(x, typeof(object)) - NORMALIZED: x - - - - - Returns true if the given expression is a constant '0'. - - - - - Handles MethodCall patterns: - - - Operator overloads - - VB operators - - - - - Handles MethodCall patterns (without recording rewrites): - - - Operator overloads - - VB operators - - - - - Remove extra Converts from the source of Any/All/OfType methods - - - - - Identifies and normalizes any predicate argument in the given call expression. If no changes - are needed, returns the existing expression. Otherwise, returns a new call expression - with a normalized predicate argument. - - - - - Determines whether the given call expression has a 'predicate' argument (e.g. Where(source, predicate)) - and returns the ordinal for the predicate. - - - Obviously this method will need to be replaced if we ever encounter a method with multiple predicates. - - - - - Determines whether the given expression of the form Lambda(Coalesce(left, Constant(false)), ...), a pattern - introduced by the VB compiler for predicate arguments. Returns the 'normalized' version of the expression - Lambda((bool)left, ...) - - - - - Identifies and normalizes a Select method call expression of the following form: - Select(x => Convert(x)) - If a match is found, it is translated into a Cast() call. - - This supports type casting in queries like the following: - from DerivedType entity in context.Entities - select entity - Where DerivedType is derived from the type of context.Entities. - The pattern also applies to SelectMany calls with the same structure as above. - - In C#, the type cast above is represented as a Cast call and the ResourceBinder knows how to handle that. - In VB, the same query is translated into Select(x => Convert(x)) instead of Cast, and the ResourceBinder - doesn't recognize that pattern. This normalization allows the two queries to be treated the same. - - MethodCallExpression to potentially normalize. - - If the query pattern was found, a Cast call is returned with the same source as the original Select and - a cast type that is the same as the original Convert expression. - If no normalization is required, the original MethodCallExpression is returned without changes. - - - - - Looks for a method call expression of the form - Select(entity => Convert(entity, DerivedType)) - If found, returns DerivedType. - - Expression to check for pattern match. - If the match was found, this is the type used in the Convert, otherwise null. - True if the expression matches the desired pattern, otherwise false. - - - - Looks for a lambda expression of the form - related => Convert(related, DerivedType) - Returns DerivedType if a match was found. - - Expression to check for pattern match. - - If the matches the pattern, this is the type of the found Convert call, otherwise null. - - True if the expression matches the desired pattern, otherwise false. - - - - This method exists solely to support creation of valid relational operator LINQ expressions that are not natively supported - by the CLR (e.g. String > String). This method must not be invoked. - - - - - Create an operator relating 'left' and 'right' given a relational operator. - - - - - Try to create an operator relating 'left' and 'right' using the given operator. If the given operator - does not define a known relation, returns false. - - - - - CODE(C#): Class.Compare(left, right) - ORIGINAL: MethodCallExpression(Compare, left, right) - NORMALIZED: Condition(Equal(left, right), 0, Condition(left > right, 1, -1)) - - Why is this an improvement? We know how to evaluate Condition in the store, but we don't - know how to evaluate MethodCallExpression... Where the CompareTo appears within a larger expression, - e.g. left.CompareTo(right) > 0, we can further simplify to left > right (we register the "ComparePattern" - to make this possible). - - - - Records a rewritten expression as necessary. - Original source expression. - Rewritten expression. - - IMPORTANT: if there are higher-level rewrites such as replacing parameter - references, the lower-level rewrites will become un-doable in other - contexts; we will have to change normalization/de-normalization strategy, - record additional mapping information and/or bubble up the rewrite - tracking. - - - - Records the generated-to-source rewrites created. - - - - Encapsulates an expression matching some pattern. - - - - - Gets pattern kind. - - - - - Gets pattern kind. - - - - - Matches expression of the form x.CompareTo(y) or Class.CompareTo(x, y) - - - - - Gets left-hand argument to Compare operation. - - - - - Gets right-hand argument to Compare operation. - - - - - An resource specific expression representing a filter query option. - - - - - The individual expressions that makes the filter predicate - - - - - Creates a FilterQueryOptionExpression expression - - the return type of the expression - - - - Adds the conjuncts to individualExpressions - - The predicates. - - - - Gets the query option value. - - A predicate with all Conjuncts AND'ed - - - - The of the . - - - - - Gets the list of individual conjucts which are separated by AND for the predicate - i.e. if the filter statement is id1=1 and id2="foo" and id3=datetime'31' - then this list will have 3 entries, id1=1, id2="foo" and id3=datetime'xxxxxxxxx' - - - - - Replaces references to resource sets - represented as either ParameterExpressions or one or more - MemberExpressions over a ParameterExpression - with an appropriate InputReferenceExpression that - indicates which resource set is referenced; effective 'binds' the argument expression to the - resource sets that it references. - - - - Tracks which resource sets are referenced by the argument expression - - - Resource from which valid references must start; if no set with a transparent scope is present, only direct references to this resource will be rebound - - - The input resource, as a resource set (may be null if the input is actually a NavigationPropertySingletonExpression) - - - The ParameterExpression that, if encountered, indicates a reference to the input resource set - - - - Constructs a new InputBinder based on the specified input resource set, which is represented by the specified ParameterExpression. - - The current input resource from which valid references must start - The parameter that must be referenced in order to refer to the specified input resource set - - - - Replaces Lambda parameter references or transparent scope property accesses over those Lambda - parameter references with s to the appropriate corresponding - s, based on the 'input' ResourceSetExpression to which the - Lambda is logically applied and any enclosing transparent scope applied to that input resource set. - - The expression to rebind - - The 'current input' resource set - either the root resource set or the - rightmost set in the navigation chain. - The Lambda parameter that represents a reference to the 'input' set - A list that will be populated with the resource sets that were referenced by the rebound expression - - The rebound version of where MemberExpression/ParameterExpressions that - represent resource set references have been replaced with appropriate InputReferenceExpressions. - - - - - Resolves member accesses that represent transparent scope property accesses to the corresponding resource set, - iff the input resource set is enclosed in a transparent scope and the specified MemberExpression represents - such a property access. - - MemberExpression expression to visit - - An InputReferenceExpression if the member access represents a transparent scope property - access that can be resolved to a resource set in the path that produces the input resource set; - otherwise the same MemberExpression is returned. - - - - - Converts a parameter reference to the input resource set into an InputReferenceExpression, - iff the parameter reference is to the parameter expression that represents the input resource set - and the input resource set is not enclosed in a transparent scope. - - The parameter reference expression - - An InputReferenceExpression if the parameter reference is to the input parameter; - otherwise the same parameter reference expression - - - - - Returns an that references the specified resource set, - and also adds the the resource set to the hashset of resource sets that were referenced by the - expression that is being rebound. - - The resource(set) for which a reference was found - An InputReferenceExpression that represents a reference to the specified resource set - - - - An resource specific expression representing a OrderBy query option. - - - - selectors for OrderBy query option - - - - Creates a OrderByQueryOptionExpression expression - - the return type of the expression - selectors for orderby expression - - - - The of the . - - - - - Selectors for OrderBy expression - - - - - Structure for selectors. Holds lambda expression + flag indicating desc. - - - - - lambda expression for selector - - - - - flag indicating if descending - - - - - Creates a Selector - - lambda expression for selector - flag indicating if descending - - - - This class provides a Bind method that analyzes an input and returns a bound tree. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TypeAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Analyzes and binds the specified expression. - Expression to bind. - The context of the expression used for bind. - - The expression with bound nodes (annotated expressions used by - the Expression-to-URI translator). - - - - - Checks whether the specified is - missing necessary key predicates. - - Expression to check. - - true if the expression is a navigation expression and doesn't - have the necessary key predicates on the associated resource - expression; false otherwise. - - - - - Verifies that all key predicates are assigned to the specified expression. - - Expression to verify. - - - Verifies that the specified is not a projection based on SelectMany. - Expression to check. - - - Analyzes a predicate (Where clause). - for a Where call. - The model. - - An equivalent expression to , possibly a different one with additional annotations. - - - - - Validates neither operands of the binary expression filter ends with TypeAs - - filter expression - method name where this filter is passed to - - - - Given a list of predicates, extracts key values for the specified . - - Target set. - Candidate predicates. - Returns list of non-key predicates. - List of key predicates if found, otherwise null - - - Adds all AND'ed expressions to the specified list. - Expression to recursively add conjuncts from. - Target list of conjucts. - - - - Analyzes the specified call to see whether it is recognized as a - projection that is satisfied with $select usage. - - Call expression to analyze. - Kind of sequence method to analyze. - Resulting expression. - true if is a projection that can be satisfied with $select; false otherwise. - - - - Analyzes the specified method call as a WCF Data - Services navigation operation. - - Expression to analyze. - Data service context instance - An expression that represents the potential navigation. - - - - Analyzes a .Select or .SelectMany method call to determine - whether it's allowed, to identify transparent identifiers - in appropriate .SelectMany() cases, returning the method - call or a resource set expression. - - Expression to analyze. - Data service context instance - - , or a new resource set expression for - the target resource in the method call for navigation properties. - - - - - Analyzes the nav prop reference for a SelectMany method call - building the appropriate ResourceSetExpression if one can be - created. - - Input resource expression to the collector - The navigation property reference to analyze - Data service context instance - The resource set expression - true if succesful, else false - - - - Analyzes a SelectMany method call that ranges over a resource set and - returns the same method or the annotated resource set. - - SelectMany method to analyze. - Source resource set for SelectMany result. - Context of expression to analyze. - The visited expression. - - The expression represents the - navigation produced by the collector of the SelectMany() method call. - - - - Ensures that there's a limit on the cardinality of a query. - for the method to limit First/Single(OrDefault). - Maximum cardinality to allow. - - An expression that limits to no more than elements. - - This method is used by .First(OrDefault) and .Single(OrDefault) to limit cardinality. - - - - Analyzes the OfType method call - - The OfType method call expression - The MaxProtocolVersion of the client - , or a resource set expression with ResourceTypeAs set. - - - - Analyzes Any and All method calls - - Any/All method call expression - The MaxProtocolVersion of the client - , resource set or a collection property expression. - - - Creates a new resource set as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the set. - The member access on that yields the set. - The resource type on the set. - A new instance. - - - Creates a new resource singleton as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the singleton. - The member access on that yields the singleton. - A new instance. - - - - Produces a new that is a clone of in all respects, - other than its result type - which will be - and its transparent scope, - which will be null. This is a shallow clone operation - sequence query options, key predicate, etc are - not cloned, but are reassigned to the new instance. The resource expression should be - discarded after being used with this method. - - The result type - - that the new resource set expression should have. - The resource set expression from which the transparent scope is being removed - A new resource set expression without an enclosing transparent scope and with the specified result type. - - - Returns the specified expression, stripping redundant converts. - Expression to return. - e, or the underlying expression for redundant converts. - - - - Strips the specifed of intermediate - expression (unnecessary converts and quotes) and returns - the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The underlying expression for . - - - - Strips the specifed of intermediate unnecessary converts - and quotes, and returns the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The converted type for typeAs expressions. - The underlying expression for . - - - Strips calls to .Cast() methods, returning the underlying expression. - Expression to strip calls from. - The underlying expression. - - Note that this method drops information about what the casts were, - and is only supported for collector selectors in SelectMany() calls, - to enable scenarios such as from t in ctx.Tables from Customer c in t.Items... - - - - Convenience property: model. - - - Use this class to perform pattern-matching over expression trees. - - Following these guidelines simplifies usage: - - - Return true/false for matches, and interesting matched information in out parameters. - - - If one of the inputs to be matched undergoes "skipping" for unnecesary converts, - return the same member as an out parameter. This forces callers to be aware that - they should use the more precise representation for computation (without having - to rely on a normalization step). - - - - - Checks whether the is a convert that - always succeeds because it converts to the same target type or a - base type. - - Expression to match. - - true if is a convert to same or base type; false otherwise. - - - - - Checks whether is a lambda of the - form (p) => p.member[.member]* (possibly quoted). - - Expression to match. - true if the expression is a match; false otherwise. - - This method strip .Call methods because it's currently used only - to supporte .SelectMany() collector selectors. If this method - is reused for other purposes, this behavior should be made - conditional or factored out. - - - - - Checks whether the specified expression is a path of member - access expressions. - - Expression to match. - Data service context instance - Expression equivalent to , without unnecessary converts. - Expression from which the path starts. - Path of member names from . - Uri version. - true if there is at least one property in the path; false otherwise. - - - - Checks whether the specified member expression refers to a member - that is a non-private property (readable and with getter and/or setter). - - Expression to check. - Non-null property info when result is true. - The property access target. - Whether the member refers to a non-private, readable property. - - - - Checks whether the specified is a member access to a key. - - Expression to check. - If this is a key access, the property for the key. - true if is a member access to a key; false otherwise. - - - - Checks whether the specified matches - a call to System.Object.ReferenceEquals. - - Expression to check. - true if the expression matches; false otherwise. - - - - Checks whether the specifed refers to a resource. - - Expression to check. - Resource expression if successful. - true if the expression is a resource expression; false otherwise. - - - - Checks whether the specified expression is a lambda with a two parameters - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with two parameters. - - - - Checks whether the specified is a selector - of the form (p) => p. - - Expression to check. - true if the lambda is an identity selector; false otherwise. - - - - Checks whether the specified expression is a lambda with a single parameter - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the single parameter. - true if the expression is a lambda with a single argument. - - - - Checked whether the specified has the - form [input's transparent scope].[accessor]. - - Input expression (source) for the selector. - Selector lambda. - Data service context - true if the selector's body looks like [input's transparent scope].[accesor]. - - - - Checks wheter the specified lambda matches a selector that yields - a transparent identifier. - - - The input expression for the lambda, used to set up the - references from the transparent scope if one is produced. - - Lambda expression to match. - - After invocation, information on the accessors if the result - is true; null otherwise. - - - true if is a selector for a transparent - identifier; false otherwise. - - - Note that C# and VB.NET have different patterns for accumulating - parameters. - - C# uses a two-member anonymous type with "everything so far" - plus the newly introduced range variable. - - VB.NET uses an n-member anonymous type by pulling range variables - from a previous anonymous type (or the first range variable), - plus the newly introduced range variable. - - For additional background, see: - Transparent Identifiers - http://blogs.msdn.com/wesdyer/archive/2006/12/22/transparent-identifiers.aspx - http://msdn.microsoft.com/en-us/library/bb308966.aspx - In particular: - - 26.7.1.4 From, let, where, join and orderby clauses - - 26.7.1.7 Transparent identifiers - - is the expression that represents the - navigation resulting from the collector selector in the - SelectMany() call under analysis. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance. - Navigation member, equivalent to without unnecessary casts. - - true if is a property collection that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance - Member expression, equivalent to without unnecessary casts. - - true if is a scalar property or singleton navigation property that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access with the specified cardinality (per ) - that references . - - Expression to check. - InputReferenceExpression to consider as source. - - Whether the match should be for a set of related entities or a singleton property. - Singleton properties can be scalar types (including collection and other enumerable types like byte[]), complex types, or singleton navigation properties. - Related set properties are only navigation properties. - - Data service context instance. - Member expression for accessing the property, equivalent to without unnecessary casts. - - true if is a property that originates in - and is the expected cardinality (per ); false otherwise. - - - - - Checks whether is a logical negation - expression. - - Expression to check. - true if expression is a Not expression; false otherwise. - - - Checks whether the type of the specified expression could represent a set of related resources. - Expression to check. - The model that the client uses. - true if the type of the expression could represent a set of related resources; false otherwise. - - - - Checks whether is a conditional expression - that checks whether a navigation property (reference or collection) is - null before proceeding. - - Entity in scope to be checked. - Expression to check. - Check results. - - - Checks whether the specified is a null constant. - Expression to check. - true if is a constant null value; false otherwise. - - - - Checks whether is a "new DataServiceCollection of T". - - The expression to match - true if the expression matches the "new DataServiceCollection of T" or false otherwise. - - - - Checks whether is a "new ICollection of T". - - The expression to match - - - - - Checks whether is a check for - equality on two expressions. - - Expression to match. - - A structure describing whether the expression is a match, - whether it yields true on equality (ie, '==' as opposed to '!='), - and the compared expressions. - - - This pattern recognizes the following: - - Calls to object.ReferenceEquals - - Equality checks (ExpressionNodeType.Equals and ExpressionNodeType.NotEquals) - - Negation (ExpressionNodeType.Not) - - - - - Checks whether the expression is a - simple access (standalone or member-access'ed) on one of the - parameter . - - Argument to match. - Candidate parameters. - - true if the argument is a parmater or a member from a - parameter; false otherwise. - - - - - Checks whether the specified expression is a lambda with a parameterCount parameters - (possibly quoted). - - Expression to match. - Expected number of parametrs. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with parameterCount parameters. - - - - Use this class to represent the results of a match on an expression - that does a null check before accessing a property. - - - - Expression used to assign a value when the reference is not null. - - - Whether the expression analyzed matches a null check pattern. - - - Expression being checked againt null. - - - - Use this class to represent the results of a match on an expression - that checks for equality . - - - - Whether a positive equality yields 'true' (ie, is this '==' as opposed to '!='). - - - Whether the expression analyzed matches an equality check pattern. - - - The left-hand side of the check. - - - The right-hand side of the check. - - - - Throws the NotSupportedException for the $format query option. - - - - - Detect and disallow member access for certain known types, in 'where' requests. - - - - - Detect and disallow member access for certain known types, in 'orderby' requests. - - - - - Used to identify and block navigation to members of collection property in select statement. - e.g. from c in ctx.Customers select c.CollectionProperty.member - - - - - We do not support type identifier at the end of a path. - For example, these would throw: - select p as Employee - select p.BestFriend as Employee - Expand(p => p.BestFriend as Employee) - - expression passed to validate - The context of where is applied - - - - Checks whether the specified is a valid expand path. - - The lambda expression for the expand path - Data service context instance. - Expand path - Uri version - - - - Detect and disallow member access for certain known types, in 'where' and 'orderby' requests. - - - - - Equality and comparison implementation for PropertyInfo. - - - - - private constructor for the singleton pattern - - - - - Static property which returns the single instance of the EqualityComparer - - - - - Checks whether the given property info's refers to the same property or not. - - first property info - second property info - true if they refer to the same property, otherwise returns false. - - - - Computes the hashcode for the given property info - - property info whose hash code needs to be computed. - the hashcode for the given property info. - - - - Use this visitor to detect whether an Expression is found in an - Expression tree. - - - - Target expression being sought. - - - Whether the target has been found. - - - - Initializes a new that - searches for the given . - - Target expression to look for. - - - - Checks whether the specified can - be found in the given . - - Expression sought. - Expression tree to look into. - true if target is found at least once; false otherwise. - - - Visits the specified expression. - Expression to visit. - The visited expression (). - - - Enum for resource expression types - - - ResourceSet Expression - - - Resource Navigation Expression - - - Resource Navigation Expression to Singleton - - - Take Query Option Expression - - - Skip Query Option Expression - - - OrderBy Query Option Expression - - - Filter Query Option Expression - - - Reference to a bound component of the resource set path - - - Projection Query Option Expression - - - Expand Query Option Expression - - - Expression for a navigation property into a single entity (eg: Customer.BestFriend). - - - property member name - - - resource type - - - - Creates a NavigationPropertySingletonExpression expression - - the return type of the expression - the source expression - property member name - resource type for expression - expand paths for resource set - count option for the resource set - custom query options for resourcse set - projection expression - target expression type for a TypeAs conversion - version of the Uri from the expand and projection paths - - - - Cast changes the type of the ResourceExpression - - new type - new NavigationPropertySingletonExpression - - - - The of the . - - - - - Gets the member expression. - - - - - The resource type of the singe instance produced by this singleton navigation. - - - - - Singleton navigation properties always produce at most 1 result - - - - - Does Singleton navigation have query options. - - - - ResourceSet Expression - - - - The (static) type of the resources in this resource set. - The resource type can differ from this.Type if this expression represents a transparent scope. - For example, in TransparentScope{Category, Product}, the true element type is Product. - - - - property member name - - - key predicate - - - sequence query options - - - enclosing transparent scope - - - Key Predicate conjuncts that will make a key predicate - - - - Creates a ResourceSet expression - - the return type of the expression - the source expression - property member name - the element type of the resource set - expand paths for resource set - count query option for the resource set - custom query options for resourcse set - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Cast ResourceSetExpression to new type - - - - - Cast ResourceSetExpression to new type without affecting member type - - - - - Converts the key expression to filter expression - - - - - Adds a filter to this ResourceSetExpression. - If filter is already presents, adds the predicateConjunts to the - PredicateConjucts of the filter - - - - - Add query option to resource expression - - - - - Removes the filter expression from current resource set. - This happens when a separate Where clause is specified in a LINQ - expression for every key property. - - - - - Instructs this resource set expression to use the input reference expression from as it's - own input reference, and to retarget the input reference from to this resource set expression. - - The resource set expression from which to take the input reference. - Used exclusively by . - - - - Sets key predicate from given values - - - - - Gets the key properties from KeyPredicateConjuncts - - - - - Creates a clone of the current ResourceSetExpression with the specified expression and resource types - - The new expression type - The new resource type - A copy of this with the new types - - - - The of the . - - - - - Member for ResourceSet - - - - - Type of resources contained in this ResourceSet - it's element type. - - - - - Is this ResourceSet enclosed in an anonymously-typed transparent scope produced by a SelectMany operation? - Applies to navigation ResourceSets. - - - - - The property accesses required to reference this ResourceSet and its source ResourceSet if a transparent scope is present. - May be null. Use to test for the presence of a value. - - - - - Has a key predicate restriction been applied to this ResourceSet? - - - - - The list of key expressions that comprise the key predicate (if any) applied to this ResourceSet. - - - - - A resource set produces at most 1 result if constrained by a key predicate - - - - - Have sequence query options (filter, orderby, skip, take), expand paths, projection - or custom query options been applied to this resource set? - - - - - If this expresssion contains at least one non-key predicate - This indicates that a filter should be used - - - - - Filter query option for ResourceSet - - - - - OrderBy query option for ResourceSet - - - - - Skip query option for ResourceSet - - - - - Take query option for ResourceSet - - - - - Gets sequence query options for ResourceSet - - - - Whether there are any query options for the sequence. - - - - Represents the property accesses required to access both - this resource set and its source resource/set (for navigations). - - These accesses are required to reference resource sets enclosed - in transparent scopes introduced by use of SelectMany. - - - For example, this query: - from c in Custs where c.id == 1 - from o in c.Orders from od in o.OrderDetails select od - - Translates to: - c.Where(c => c.id == 1) - .SelectMany(c => o, (c, o) => new $(c=c, o=o)) - .SelectMany($ => $.o, ($, od) => od) - - PatternRules.MatchPropertyProjectionSet identifies Orders as the target of the collector. - PatternRules.MatchTransparentScopeSelector identifies the introduction of a transparent identifer. - - A transparent accessor is associated with Orders, with 'c' being the source accesor, - and 'o' being the (introduced) accessor. - - - - - The property reference that must be applied to reference this resource set - - - - - The property reference that must be applied to reference the source resource set. - Note that this set's Accessor is NOT required to access the source set, but the - source set MAY impose it's own Transparent Accessors - - - - - Constructs a new transparent scope with the specified set and source set accessors - - The name of the property required to access the resource set - The names of the property required to access the resource set's sources. - - - Provides a string representation of this accessor. - The text represntation of this accessor. - - - - An resource specific expression representing a skip query option. - - - - amount to skip - - - - Creates a SkipQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - - An resource specific expression representing a take query option. - - - - amount to skip - - - - Creates a TakeQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - Utility functions for processing Expression trees - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - VB Assembly name - - - VB Assembly public key token - - - Method map for methods in URI query options - - - VB Method map for methods in URI query options - - - Properties that should be represented as methods - - - - Cache used to store element type (TElement) for key Type if key Type implements IEnumerable{TElement} or - null if the key Type does not implement IEnumerable{T} e.g.: - List{Entity} - Entity - Entity - null - - - - - Initializes method map - - - - - Sees if method has URI equivalent - - The method info - uri method name - true/ false - - - - Sees if property can be represented as method for translation to URI - - The property info - get method for property - true/ false - - - - Gets the elementtype for a sequence - - The sequence type - The element type - - - - Determines whether a property is private - - The PropertyInfo structure for the property - true/ false if property is private - - - - Finds type that implements IEnumerable so can get element type - - The Type to check - returns the type which implements IEnumerable - - - Finds whether a non-primitive implements IEnumerable and returns element type if it does. - Type to check. - Type of the element if the implements IEnumerable{T}. Otherwise null. - - - - Checks if the given assembly is the VisualBasic assembly. - - assembly to check. - true if the assembly is Microsoft.VisualBasic, otherwise returns false.root - - - - utility class for helping construct uris - - - forwardslash character - - - leftparan character - - - rightparan character - - - questionmark character - - - ampersand character - - - equals character - - - at sign - - - dollar sign character - - - space - - - comma - - - colon - - - single quote - - - asterisk - - - top - - - skip - - - orderby - - - where - - - desc - - - expand - - - inlinecount - - - select - - - The $format query option. - - - allpages - - - value - - - and - - - or - - - eq - - - ne - - - lt - - - le - - - gt - - - ge - - - add - - - sub - - - mul - - - div - - - mod - - - negate - - - not - - - null - - - isof - - - cast - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - The name for the , suitable for including in a URI. - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - Data service version for the uri - The name for the , suitable for including in a URI. - - - - Appends a type segment to the which is building up a URI from a query. - - The string builder. - The type for the segment. - The data service context. - Whether or not the type segment is being appended within the path (as opposed to within a $filter or $orderby expression). - The current version. - - - - Special visitor to serialize supported expression as query parameters - in the generated URI. - - - - Internal buffer. - - - Data context used to generate type names for types. - - - Stack of expressions being visited. - - - Whether or not the expression being written is part of the path of the URI. - - - set if can't translate expression - - - Parent expression of the current expression (expression.Peek()); possibly null. - - - the request data service version for the uri - - - number of sub scopes (any/all calls) on stack - - - - Creates an ExpressionWriter for the specified . - - Data context used to generate type names for types. - Whether or not the expression being written is part of the path of the URI. - - - - Serializes an expression to a string - - Data context used to generate type names for types. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - the request data service version for the uri - serialized expression - - - Main visit method. - Expression to visit - Visited expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - Input resource set references are intentionally omitted from the URL string for the top level - refences to input parameter (i.e. outside of any/all methods). - For parameter references to input (range variable for Where) inside any/all methods we write "$it". - - The input reference - The same input reference expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Serializes an MemberExpression to a string - - Expression to serialize - MemberExpression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - Serializes an UnaryExpression to a string - - Expression to serialize - UnaryExpression - - - - Serializes an BinaryExpression to a string - - BinaryExpression to serialize - serialized expression - - - - Serializes an TypeBinaryExpression to a string - - TypeBinaryExpression to serialize - serialized expression - - - - ParameterExpression visit method. - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - Indicates if two expression types are collapsible, e.g., ((a or b) or c) can be collapsed to (a or b or c). - - The expression type - The expression type of the parent expression - Indicates if the expression is to the left or the right of the parent expression - True if the two expression types are collapsible, false otherwise - - - - Returns the precedence of a binary operator for comparison purposes, or -1 if not applicable. - - The ExpressionType representing the binary operator - The precedence of a binary operator for comparison purposes, or -1 if not applicable - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - The node type of the parent expression (if applicable) - Indicates if the expression is to the left or the right of the parent expression - - - - Serializes an expression to a string - - Expression to serialize - serialized expression - - - - The references to parameter for the main predicate (.Where()) is implicit outside any/all methods. - - The expression to test - true if the expression represents a reference to the current (resource set) input and it is not in any/all method; otherwise false. - - - Whether inside any/all lambda or not - - - - An enumeration indicating the direction of a child operand - - - - The operand is the left child - - - The operand is the right child - - - - Translates resource bound expression trees into URIs. - - - - Data context used to generate type names for types. - - - stringbuilder for constructed URI - - - the request data service version for the uri - - - the leaf resourceset for the URI being written - - - - For caching query options to be grouped - - - - - Private constructor for creating UriWriter - - Data context used to generate type names for types. - - - - Translates resource bound expression tree to a URI. - - Data context used to generate type names for types. - flag to indicate whether generated URI should include () if leaf is ResourceSet - The expression to translate - uri - version for query - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - NavigationPropertySingletonExpression visit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - Visit Query options for Resource - - Resource Expression with query options - - - - SkipQueryOptionExpression visit method. - - SkipQueryOptionExpression expression to visit - - - - TakeQueryOptionExpression visit method. - - TakeQueryOptionExpression expression to visit - - - - FilterQueryOptionExpression visit method. - - FilterQueryOptionExpression expression to visit - - - - OrderByQueryOptionExpression visit method. - - OrderByQueryOptionExpression expression to visit - - - - VisitExpandOptions visit method. - - Expand Paths - - - - ProjectionPaths visit method. - - Projection Paths - - - - VisitCountOptions visit method. - - - - - VisitCustomQueryOptions visit method. - - Custom query options - - - - Caches query option to be grouped - - The key. - The value - - - - Append all cached query options to uri. - - - - Serializes an expression to a string. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - The serialized expression. - - - - QueryProvider implementation - - - - DataServiceContext for query provider - - - Constructs a query provider based on the context passed in - The context for the query provider - - - Factory method for creating DataServiceOrderedQuery based on expression - The expression for the new query - new DataServiceQuery - - - Factory method for creating DataServiceOrderedQuery based on expression - generic type - The expression for the new query - new DataServiceQuery - - - Creates and executes a DataServiceQuery based on the passed in expression - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression - generic type - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression which results a single value - generic type - The expression for the new query - single valued results - - - Builds the Uri for the expression passed in. - The expression to translate into a Uri - Query components - - - a set, collection of unordered, distinct objects, implemented as an array - element type - - - item array of T - - - count of elements in the items array - - - number of Add and RemoveAt operations - - - - array set with an intial capacity - - initial capacity - - - add new element to the set - element to add - equality comparison function to avoid duplicates - true if actually added, false if a duplicate was discovered - - - is the element contained within the set - item to find - comparer - true if the element is contained - - - - enumerator - - enumerator - - - - enumerator - - enumerator - - - Find the current index of element within the set - item to find - comparision function - index of the item else (-1) - - - Find the current index of element within the set - selected type - item to find - selector for item to compare - item to compare - index of the item else (-1) - - - Remove the matched item from within the set - item to find within the set - comparer to find item to remove - the item that was actually contained else its default - - - Remove an item at a specific index from within the set - index of item to remove within the set - - - Sort array based on selected value out of item being stored - selected type - selector - comparer - - - Sets the capacity to the actual number of elements in the ArraySet. - - - identity selector, returns self - input - output - - - count of elements in the set - - - get an item from an index in the set - index to access - - - Compare selected value out of t - comparison type - - - Select something out of T - - - Comparer of selected value - - - Compare - x - y - int - - - - Use this class to keep a log of changes done by the materializer. - - - - The merge option. - - - The client edm model. - - - The entity tracker. - - - Dictionary of identity URI to instances created during previous AppendOnly moves. - - - Dictionary of identity URI to tracked entities. - - - List of link descriptors (data for links and state). - - - Target instance to refresh. - - - - Initializes a new instance. - - The merge option for the log. - The model for the log. - The entity tracker for the log. - - Note that the merge option can't be changed. - - - - - This method is used to merge all the metadata that come in the response payload. - - entityDescriptor that is getting tracked by the client - entityDescriptor that is returned by the materializer - if true, we will need to merge all entity descriptor info, otherwise not. - merge option depending on which etag information needs to be merged. - - - Applies all accumulated changes to the associated data context. - The log should be cleared after this method successfully executed. - - - Clears all state in the log. - - - - Invoke this method to notify the log that an existing - instance was found while resolving an object. - - Entry for instance. - - - - Invoke this method to notify the log that the - target instance of a "directed" update was found. - - Entry found. - - The target instance is typically the object that we - expect will get refreshed by the response from a POST - method. - - For example if a create a Customer and POST it to - a service, the response of the POST will return the - re-serialized instance, with (important!) server generated - values and URIs. - - - - Attempts to resolve an entry from those tracked in the log. - Entry to resolve. - - After invocation, an existing entry with the same identity as - ; possibly null. - - true if an existing entry was found; false otherwise. - - - - Invoke this method to notify the log that a new link was - added to a collection. - - - Instance with the collection to which - was added. - - Property name for collection. - Object which was added. - - - - Invoke this method to notify the log that a new instance - was created. - - Entry for the created instance. - - - - Invoke this method to notify the log that a link was removed - from a collection. - - - Instance with the collection from which - was removed. - - Property name for collection. - Object which was removed. - - - - Invoke this method to notify the log that a link was set on - a property. - - Entry for source object. - Name of property set. - Target object. - - - - Returns true the specified entry represents an entity. - - The materializer entry - True if the entry represents an entity. - - - - Returns true the specified entry represents an entity. - - The resolved instance - The client model. - True if the entry represents an entity. - - - Whether changes are being tracked. - - - Type of property stored in BindingPropertyInfo. - - - Property type is a complex type. - - - Property type is an entity type with keys. - - - Property is a DataServiceCollection. - - - Property is a collection of primitives or complex types. - - - Cache of information about entity types and their observable properties - - - Object reference used as a 'False' flag. - - - Object reference used as a 'True' flag. - - - Lock on metadata caches. - - - Types which are known not to be entity types. - - - Types which are known to be (or not) collection types. - - - Mapping between types and their corresponding entity information - - - Obtain binding info corresponding to a given type - Type for which to obtain information - the client model. - Info about the - - - Gets the ClientType corresponding to the given type - Input type - The client model. - Corresponding ClientType - - - - Get the entity set name for the target entity object. - - An entity object. - The 'currently known' entity set name for the target object. - The client model. - The entity set name for the target object. - - Allow user code to provide the entity set name. If user code does not provide the entity set name, then - this method will get the entity set name from the value of the EntitySetAttribute. - The 'currently known' entity set name for top level collections can be provided through OEC constructor - - - - - Determine if the specified type is an DataServiceCollection. - - - If there a generic class in the inheritance hierarchy of the type, that has a single - entity type paramenter T, and is assignable to DataServiceCollection(Of T), then - the type is an DataServiceCollection. - - An object type specifier. - The client model. - true if the type is an DataServiceCollection; otherwise false. - - - - Determine if the specified type is an entity type. - - An object type specifier. - The client model. - true if the type is an entity type; otherwise false. - - - - Tries to get the value of a property and corresponding BindingPropertyInfo or ClientPropertyAnnotation if the property exists - - Source object whose property needs to be read - Name of the source object property - The client model. - BindingPropertyInfo corresponding to - Instance of ClientProperty corresponding to - Value of the property - true if the property exists and the value was read; otherwise false. - - - Obtain binding info corresponding to a given type - Type for which to obtain information - The client model. - Info about the - - - Checks whether a given type can be a complex type i.e. implements INotifyPropertyChanged. - Input type. - true if the type is complex type, false otherwise. - - - Gets entity set corresponding to a given type - Intput type - The client model. - Entity set name for the type - - - Information about a property interesting for binding - - - Property information - - - Kind of the property i.e. complex, entity or collection. - - - Holder of information about entity properties for a type - - - Collection of properties interesting to the observer - - - Constructor - - - Entity set of the entity - - - Corresponding ClientTyp - - - Collection of properties interesting to the observer - - - Read-writer lock, implemented over a Monitor. - - - Single object on which to lock. - - - Enters a reader lock. Writers will also be blocked. - - - Enters a writer lock. Readers will also be blocked. - - - Exits a reader lock. - - - Exits a writer lock. - - - - Color of each vertex to be used for Depth First Search - - - - White color means un-visited - - - Gray color means added to queue for DFS - - - Black color means already visited hence reachable from root - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entity type objects and observable entity collections. - - - - The observer of the graph - - - Graph containing entities, collections and their relationships - - - Constructor - Observer of the graph - - - Adds a DataServiceCollection to the graph - Source object for the collection, this object has navigation property corresponding to collection - Property in that corresponds to the collection - Collection being added - Entity set of entities in the collection - true if a new vertex had to be created, false if it already exists - - - Adds a collection of primitives or complex types to the graph - Source object for the collection, this object has property corresponding to collection - Property in that corresponds to the collection - Collection being added - Type of item in the collection - - - Adds an entity to the graph - Source object for the entity, this object has navigation property that links to entity - Property in that links to entity - Entity being added - Entity set of entity being added - Item from which the directed edge in the graph goes into . This can be a collection - true if a new vertex had to be created, false if it already exists - - This method processes the current 'target' entity and then recursively moves into the graph through - the navigation properties. The 'source' is a previously processed item - it is the 'parent' - of the target entity. - The code generated EntitySetAttribute is processed by this method. - A source entity can reference the target entity directly through an entity reference navigation property, - or indirectly through a collection navigation property. - - - - - Removes the from the binding graph - - Item to remove - Parent of the - Parent property that refers to - - - - Removes the from the binding graph - - Item to remove - Collection that contains the - - - Removes all of a collection's items from the graph, but does not remove the collection. - Collection containing the items to remove. - This is used for both DataServiceCollection and collections of primitives or complex types. - - - Removes a relationship between two items based on source and relation label - Source item - Label for relation - - - Remove all non-tracked entities from the graph - - - - Returns a sequence of items belonging to a collection. Uses the children of a collection - vertex for this enumeration. - - Collection being enumerated. - Sequence of items belonging to the collection. - - - Reset the graph after detaching notifications for everything - - - Removes the un-reachable vertices from the graph and un-registers notification handlers - - - Get the binding information for a DataServiceCollection - Collection - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set name of the target object. - - - Get the binding information for a collection - Collection - The source object that reference the target object through a collection property. - The collection property in the source object that reference the target object. - Type of item in the collection - - - - Obtains the closest ancestor entity type in the graph corresponding to a complex object vertex. - - On input this is a complex object, on output it is the closest entity ancestor. - On input this is a complex object's member property name, on output it is the name of corresponding property of the ancestor entity. - On input this is a complex object's member property value, on output it is the value of the corresponding property of the ancestor entity. - - - - Adds a complex typed object to the graph, also traverses all the child complex properties and adds them. - - Source object that contains the complex object, can be an entity, complex object, or a collection. - Source property of complex type, is null if complex type is in a collection, otherwise is the property that references the complex object on source. - Target complex object value. - - - - Adds complex items to the graph from the specified collection. - - Collection that contains . - Items in to add to the binding graph. May be only a subset of the total items in . - - - Add items to the graph, from the object's properties - Object whose properties are to be explored - - - Attach the CollectionChanged handler to an DataServiceCollection. - An DataServiceCollection. - - - Attach the CollectionChanged handler to a collection of primitives or complex types. - An ICollection of T, where T is the type of the item in the collection. - True if the collection is attached; otherwise false. - - - Attach the PropertyChanged handler to an entity or complex object. - An entity or complex object. - True if the target is attached; otherwise false. - - - Detach CollectionChanged or PropertyChanged handlers from the target - An entity object or collection. - - - Detach CollectionChanged handlers from the target - A collection object - - - - Sets the observer for a child DataServiceCollection - - Entity type for the collection - Non-typed collection interface - - - Graph implementation for tracking entities, collections for binding - - - Vertices of the graph, which also hold edges - - - The root vertex for the graph, DFS traversals start from this vertex - - - Constructor - - - Adds vertex to the graph - Item corresponding to vertex - Newly created vertex - - - Removes all edges going out of and coming into the given vertex - Vertex whose edges are to be cleared - - - - Checks if a vertex exists corresponding to given - - Item to lookup - true if vertex found, false otherwise - - - Looksup the vertex corresponding to - Item to lookup - Vertex corresponding to item - - - - Adds edge between vertices corresponding to and - objects which will be labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - Newly created edge - - - - Removes edge between vertices corresponding to and - objects which was labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - - - - Checks if an edge exists between and labeled - with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - true if an edge exists between source and target with given label, false otherwise - - - - Selects collection of objects tracked by the graph based on the given filter - - Filter for the objects - Filtered list of objects tracked by the graph - - - - Removes everything from the graph after applying - - Action to apply before removal of each node - - - Remove all vertices from graph that are unreachable from the root collection vertex - Action to perform for each removed vertex - - - Collects all vertices unreachable from the root collection vertex - Sequence of vertices that are unreachable from the root collection vertex - - Performs a depth first traversal of the graph starting from the root collection - vertex and checks if some vertices were unreachable was reached while doing the traversal. - Alogrithm from Introduction to Algorithms 22.2 by Cormen et al. - - - - Root vertex of the graph - - - Vertex of the - - - Collection of incoming edges for the vertex - - - Collection of outgoing edges for the vertex - - - Constructor - Item corresponding to vertex - - - Get the binding information for a collection vertex - The source object that reference the target object through a navigation property corresponding to current collection vertex. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set of the target object. - - - Get the binding information for a collection vertex - The source object that reference the target object through a collection property corresponding to current collection vertex. - The collection property in the source object that references the collection object. - Type of item in the collection. - - - Item corresponding to the vertex - - - Entity set of the item held by the vertex - - - Is item a DataServiceCollection object - - - Is item a complex type object - - - Is item a collection of primitives or complex types - - - Type of items in the collection if this items represents a collection of primitives or complex types - - - Parent vertex, only exists for non-top level collection vertices or complex objects - - - Property of the object that associates this vertex with it's parent - - - Is item a root collection object - - - Color of the vertex - - - Edges coming into this vertex - - - Edges going out of this vertex - - - - Edge between two vertices of graph, directed and labeled - - - - IEquatable override - Comparand - true if equal, false otherwise - - - Source vertex - - - Target vertex - - - Label of the edge - - - The BindingObserver class - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entities, complex types and DataServiceCollections. - - - - Constructor - The DataServiceContext associated with the BindingObserver. - EntityChanged delegate. - EntityCollectionChanged delegate. - - - Start tracking the specified DataServiceCollection. - An entity type. - An DataServiceCollection. - The entity set of the elements in . - - - Stop tracking the root DataServiceCollection associated with the observer. - - - - Looks up parent entity that references . - - Type of DataServiceCollection. - DataService collection - Parent entity that references . May return null if there is none. - Navigation property in the parentEntity that references . May return null if there is no parent entity. - True if parent entity was found, otherwise false. - - - Handle changes to tracked entity. - The entity that raised the event. - Information about the event such as changed property name. - - - Handle changes to tracked DataServiceCollection. - The DataServiceCollection that raised the event. - Information about the event such as added/removed entities, operation. - - - Handle changes to collection properties. - The collection that raised the event. - Information about the event such as added/removed items, operation. - - - Handle Adds to a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity to attach. - The entity set name of the target object. - - - Handle Deletes from a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity. - The entity set name of the target object. - - - Handle changes to navigation properties of a tracked entity. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The target entity. - The entity set name of the target object. - - - Determine if the DataServiceContext is tracking the specified entity. - An entity object. - true if the entity is tracked; otherwise false. - - - - Handle changes to an entity object tracked by the BindingObserver - - The entity object that has changed. - The property of the target entity object that has changed. - The value of the changed property of the target object. - - - Processes the INotifyCollectionChanged.Add event. - Event information such as added items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Entity set of the collection. - Collection that changed. - - - Processes the INotifyCollectionChanged.Remove event. - Event information such as deleted items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Collection that changed. - - - Removes a collection from the binding graph and detaches each item. - Collection whose elements are to be removed and detached. - - - Performs a Deep removal of all entities in a collection. - Collection whose items are removed from binding graph. - Parent item whose property refer to the being cleared. - Property of the that refers to . - Validation method if any that checks the individual item in for validity. - - - - Handles additions to collections of complex types. - - Collection that contains the new items. - Items that were added to the collection. - - - - Handles removals from collections of complex types. - - Collection that no longer contains the items. - Items that were removed from the collection. - - - Handle the DataServiceContext.SaveChanges operation. - DataServiceContext for the observer. - Information about SaveChanges operation results. - - - Collects a list of entities that observer is supposed to stop tracking - Entity being delete along with it's children - Parent of the - Property by which refers to - List in which entities to be untracked are collected - - - Determine if the DataServiceContext is tracking link between and . - The source object side of the link. - A property in the source side of the link that references the target. - The target object side of the link. - True if the link is tracked; otherwise false. - - - Checks whether the given entity is in detached or deleted state. - Entity being checked. - true if the entity is detached or deleted, otherwise returns false. - - - Entity validator that checks if the is of entity type. - Entity being validated. - - - The DataServiceContext associated with the BindingObserver. - - - The behavior of add operations should be Attach or Add on the context. - - - The behavior of remove operations should be Detach on the context. - - - - Callback invoked when a property of an entity object tracked by the BindingObserver has changed. - - - Entity objects tracked by the BindingObserver implement INotifyPropertyChanged. Events of this type - flow throw the EntityChangedParams. If this callback is not implemented by user code, or the user code - implementation returns false, the BindingObserver executes a default implementation for the callback. - - - - - Callback invoked when an DataServiceCollection tracked by the BindingObserver has changed. - - - DataServiceCollection objects tracked by the BindingObserver implement INotifyCollectionChanged. - Events of this type flow throw the EntityCollectionChanged callback. If this callback is not - implemented by user code, or the user code implementation returns false, the BindingObserver executes - a default implementation for the callback. - - - - Information regarding each entity to be untracked - - - Entity to untrack - - - Parent object of - - - Parent object property referring to - - - Utilities for binding related operations - - - - Throw if the entity set name is null or empty - - entity set name. - entity instance for which the entity set name is generated. - - - - Given a collection type, gets it's entity type - - Input collection type - Generic type argument for the collection - - - Verifies the absence of observer for an DataServiceCollection - Type of DataServiceCollection - Non-typed collection object - Collection property of the source object which is being assigned to - Type of the source object - - - - Encapsulates the arguments for the DataServiceContext ChangesSaved event - - - - - DataServiceContext SaveChanges response - - - - - Construct a DataServiceSaveChangesEventArgs object. - - DataServiceContext SaveChanges response - - - Encapsulates the arguments of a delegate - - - Context associated with the BindingObserver. - - - The entity object that has changed. - - - The property of the entity that has changed. - - - The current value of the target property. - - - Entity set to which the entity object belongs - - - Entity set to which the target propertyValue entity belongs - - - - Construct an EntityChangedParams object. - - Context to which the entity and propertyValue belong. - The entity object that has changed. - The property of the target entity object that has changed. - The current value of the entity property. - Entity set to which the entity object belongs - Entity set to which the target propertyValue entity belongs - - - The context that is associated with the entity object that has changed. - The context that is tracking the changed object. - - - The entity object that has changed. - The changed object. - - - The name of the property on the entity object that references the target object. - The name of the changed property. - - - The object that is currently referenced by the changed property on the entity object. - The current value that references a target entity. - - - The entity set of the source object. - An entity set name. - - - The entity set to which the target entity object belongs - An entity set name. - - - Encapsulates the arguments of a delegate. - - - Context associated with the BindingObserver. - - - - The source object that references the target object through a collection navigation property. - - - - The property of the source object that references the collection that has changed. - - - The entity set of the source object. - - - The collection that has changed. - - - The target entity object involved in the change. - - - The entity set name of the target object. - - - - The action that indicates how the collection was changed. The value will be Add or Remove. - - - - - Construct an EntityCollectionChangedParams object. - - The DataServiceContext associated with the BindingObserver. - The source object that references the target object through a collection navigation property. - The property of the source object that references the collection that has changed. - The entity set of the source object. - The collection that has changed. - The target entity object involved in the change. - The entity set name of the target object. - The action that indicates how the collection was changed. The value will be Add or Remove. - - - The associated with the that has changed. - The context associated with the collection that has changed - - - The source object that references the target object in the collection by using a navigation property. - The source object. - - - The navigation property on the source object that references the collection that has changed. - The navigation property name. - - - The entity set of the source object. - An entity set name. - - - The entity object in the collection that has changed. - The changed entity object in the collection. - - - The entity set name of the object in the collection. - An entity set name. - - - The that has changed. - A reference to the collection that has changed. - - - A value that indicates how the collection was changed. - A value that indicates how the collection was changed. - - - Determines whether changes that are made to a are tracked. - - - The collection should not track changes. - - - The collection should automatically track changes to the entities - in the collection. - - - Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed. - An entity type. - - - The BindingObserver associated with the DataServiceCollection - - - Is this a root collection - - - The continuation for partial collections. - - - True if tracking setup was deferred to first Load() call. - - - Callback tracked until tracking is enabled. - - - Callback tracked until tracking is enabled. - - - Entity set name tracked until tracking is enabled. - - - - The async handle for the current LoadAsync Operation - - - - Initializes a new instance of the class. - Creates a default data service collection, with auto-change tracking enabled as soon as data is loaded into it. - - - Initializes a new instance of the class based on query execution. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - - - Initializes a new instance of the class based on query execution and with the specified tracking mode. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - - - Initializes a new instance of the class that uses the specified . - The used to track changes to objects in the collection. - - - Initializes a new instance of the class with the supplied change method delegates and that uses the specified . - The used to track items in the collection. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution and with the supplied change method delegates. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution, with the supplied change method delegates, and that uses the supplied . - The used to track items in the collection. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Creates new DataServiceCollection. - The materializer - associated with the new collection. - Enumeration of items to initialize the new DataServiceCollection with. - The tracking mode for the new collection. - The name of the entity set the elements in the collection belong to. - Delegate that gets called when an entity changes. - Delegate that gets called when an entity collection changes. - This is the internal constructor called from materializer and used inside our projection queries. - - - Loads a collection of entity objects into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Collection of entity objects to be added to the . - - When tracking is enabled, the behavior of Load would be to attach all those entities that are not already tracked by the context - associated with the collection. The operation will go deep into the input entities so that all related - entities are attached to the context if not already present. All entities in - will be tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - For large amount of items, consider DataServiceContext.LoadProperty instead. - - - - Asynchronously loads the collection by executing a .Supported only by the WCF Data Services 5.0 client for Silverlight. - The that, when executed, returns the entities to load into the collection. - When query is null or not a . - When a previous call to is not yet complete. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the collection asynchronously by loading the results from the request Uri. - The request uri to download results from. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Asynchronously loads items into the collection, when it represents the navigation property of an entity.Supported only by the WCF Data Services 5.0 client for Silverlight. - When the collection does not belong to a parent entity.-or-When the parent entity is not tracked by the .-or-When a previous call to is not yet complete. - This method loads the content of a property represented by this DataServiceCollection. - If this instance is not associated with any property and entity the method will fail. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the next page of data into the collection.Supported only by the WCF Data Services 5.0 client for Silverlight. - A value that is true when the has a continuation token; otherwise false. - This method is the same as except that it runs the query as defined - by the continuation token of this collection. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. Even if the method returns false, the event will be raised (immeditaly) - This class only support one asynchronous operation in flight. - If this collection doesn't have a continuation token (this.Continuation == null) then this method - returns false and does not issue any request. - If there is a continuation token the method will return true and will start a request to load - the next partial set based on that continuation token. - - - Cancels any running LoadAsync operations and calls the LoadCompleted event handler after cancellation. - - - Loads a single entity object into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Entity object to be added. - - When tracking is enabled, the behavior of Load would be to attach the entity if it is not already tracked by the context - associated with the collection. The operation will go deep into the input entity so that all related - entities are attached to the context if not already present. The will be - tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - - - - Indicates whether all the items from the collection are removed. - true if all the items from the collection are removed; otherwise, false. - - - Disables the tracking of all items in the collection. - - All the entitities in the root collection and all it's related objects will be untracked at the - end of this operation. - - - - Adds a specified item to the collection at the specified index. - Index at which to add the item. - The item to add. - - Override to prevent additions to the collection in "deferred tracking" mode, and to verify that the item implements INotifyPropertyChanged. - Overridding this method will cover items that are added to the collection via Add and Insert. - - - - - Verifies that input iterator parameter is not null and in case - of Silverlight, it is not of DataServiceQuery type. - - Input iterator parameter. - - - - Obtain the DataServiceContext from the incoming enumerable - - An IEnumerable that may be a DataServiceQuery or QueryOperationResponse object - DataServiceContext instance associated with the input - - - - Populate this collection with another collection of items - - The items to populate this collection with - - - - Prepare the collection for loading. For tracked collections, we enter the attaching state - - - - - Reset the collection after loading. For tracked collections, we exit the attaching state. - - - - Initialize and start tracking an DataServiceCollection - The context - Collection to initialize with - The entity set of the elements in the collection. - delegate that needs to be called when an entity changes. - delegate that needs to be called when an entity collection is changed. - - - Helper method to start a LoadAsync operation. - Function which calls the Begin method for the load. It should take - parameter which should be used as the callback for the Begin call. It should return - of the started asynchronous operation (or throw). - Function which calls the End method for the load. It should take - which represents the asynchronous operation in flight. It should return - with the result of the operation (or throw). - The method takes care of error handling as well as maintaining the . - Note that it does not check the to disallow multiple operations in flight. - The method makes sure that the will be called from the UI thread. It makes no assumptions - about the calling thread of this method. - The method does not process the results of the , it just raises the - event as appropriate. If there's some processing to be done for the results it should all be done by the - method before it returns. - - - - Calls the end method for the LoadAsync operation and fires the LoadCompleted event. - - End method to complete the asynchronous query execution. - IAsyncResult to be passed to . - - - A completion event for the , - and method. - This event is raised exactly once for each call to the , - or method. It is called both when the operation - succeeded and/or when it failed. - - - Gets a continuation object that is used to return the next set of paged results. - A object that contains the URI to return the next set of paged results. - - - Observer for the collection. - The setter would get called only for child collections in the graph. - - - - Whether this collection is actively tracking - - - - Used as the class for the event.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - The which represents - the response for the Load operation. - This field is non-null only when the Load operation was successfull. - Otherwise it's null. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - This constructor doesn't allow creation of canceled event args. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - True, if the LoadAsync operation was cancelled, False otherwise. - This constructor doesn't allow creation of canceled event args. - - - Gets the response to an asynchronous load operation.Supported only by the WCF Data Services 5.0 client for Silverlight. - A that represents the response to a load operation. - Accessing this property will throw exception if the Load operation failed - or it was canceled. - - - Indicates the entity set to which a client data service class belongs. - - This attribute is generated only when there is one entity set associated with the type. - When there are more than one entity set associated with the type, then the entity set - name can be passed in through the EntitySetNameResolver event. - - - - - The entity set name. - - - - Creates a new instance of the . - The entity set to which the class belongs. - - - Gets the entity set to which the class belongs. - The entity set as string value. - - - Marks a class as an entity type in WCF Data Services. - - - Creates a new instance of the class. - - - Denotes the key property or properties of an entity. - - - Name of the properties that form the key. - - - Initializes a new instance of the class. - The string that contains name of the key attribute. - - - Initializes a new instance of the class. - An array of string values that contain key attribute names. - - - Gets the names of key attributes. - String value that contains names of key attributes. - - - Represents the versions of the Open Data Protocol (OData) that the data service may support. - - - Version 1 - - - Version 2 - - - Version 3 - - - Indicates that a class that is an entity type has a default binary data stream. - - - Indicates that a class that is an entity type has a related named binary stream. - - - Creates a new instance of the class. - The name of a binary stream that belongs to the attributed entity. - - - The name of a binary stream that belongs to the attributed entity. - The name of the binary stream. - - - Exception that indicates an error occurred while querying the data service. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The string value that the contains error message. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The string value that contains the error message. - 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. The inner exception object. - - - Initializes a new instance of the class. - The string value that contains the error message. - The inner exception object. - The object. - - - Gets the that indicates the exception results. - A object that indicates the exception results. - - - Represents additional metadata that is included in a request message to WCF Data Services. - - - Creates a new instance of the class. - - - Gets or sets the Accept header of the request message. - The value of the Accept header. - - Sets the mime type (ex. image/png) to be used when retrieving the stream. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Accept header. - - - - Gets or sets the Content-Type header of the request message. - The value of the Content-Type header. - - Sets the Content-Type header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Content-Type header. - - - - Gets or sets the value of the Slug header of the request message. - A value that is the Slug header of the request. - - Sets the Slug header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Slug header. - - - - Gets the headers in the request message. - The headers in the request message. - - Dictionary containing all the request headers to be used when retrieving the stream. - The user should take care so as to not alter an HTTP header which will change - the meaning of the request. - No validation is performed on the header names or values. - This class will not attempt to fix up any of the headers specified and - will try to use them "as is". - - - - Request header collection. - - - Represents the error thrown if the data service returns a response code less than 200 or greater than 299, or the top-level element in the response is <error>. This class cannot be inherited. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The error message text. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - Error message text. - Exception object that contains the inner exception. - object. - - - Gets the response as a object. - A object. - - - Represents a response from WCF Data Services that contains binary data as a stream. - - - IODataResponseMessage containing all the response information. - - - Lazy initialized cached response headers. - - - - Response stream. Caching the response stream so that IODataResponseStream.GetStream is only called once. - This helps us to assert that no one internally calls the GetStream method more than once. - - - - - Constructor for the response. This method is internal since we don't want users to create instances - of this class. - - The web response to wrap. - - - Releases all resources used by the current instance of the class. - - - Checks if the object has already been disposed. If so it throws the ObjectDisposedException. - If the object has already been disposed. - - - Gets the content type of the response stream. - The content type of the response stream. - If the Content-Type header was not present in the response this property will return null. - - - Gets the Content-Disposition header field for the response stream. - The contents of the Content-Disposition header field. - /// If the Content-Disposition header was not present in the response this property will return null. - - - Gets the collection of headers from the response. - The headers collection from the response message as a object. - - - Gets the binary property data from the data service as a binary stream. - The stream that contains the binary property data. - When the is already disposed. - - Returns the stream obtained from the data service. When reading from this stream - the operations may throw if a network error occurs. This stream is read-only. - - Caller must call Dispose/Close on either the returned stream or on the response - object itself. Otherwise the network connection will be left open and the caller - might run out of available connections. - - - - - enum to describe the descriptor kind - - - - Entity Descriptor - - - Link Descriptor - - - Named stream descriptor - - - Service Operation descriptor - - - - represents the association between two entities - - - - equivalence comparer - - - source entity - - - name of property on source entity that references the target entity - - - target entity - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The client model. - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The link state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - - If the current instance of link descriptor is equivalent to the parameters supplied - - The source entity - The source property name - The target entity - true if equivalent - - - The source entity in a link returned by a . - . - - - A source entity in a link returned by a . - . - - - The identifier property of the source entity in a link returned by a . - The string identifier of an identity property in a source entity. - - - this is a link - - - is this a collection property or not - - - equivalence comparer - - - are two LinkDescriptors equivalent, ignore state - link descriptor x - link descriptor y - true if equivalent - - - compute hashcode for LinkDescriptor - link descriptor - hashcode - - - Response from SaveChanges. - - - Descriptor containing the response object. - - - Initializes a new instance of the class. - HTTP headers - response object containing information about resources that got changed. - - - Gets the or modified by a change operation. - An or modified by a change operation. - - - - static utility functions for conversions - - - - - convert from string to the appropriate type - - incoming string value - type to convert to - converted value - - - - Tries to converts a binary value to a byte array. - - The binary value to convert. - The equivalent value converted to a byte array. - Whether the value was binary. - - - - change primtive typeName into non-nullable type - - like Edm.String or Edm.Binary - the mapped output type - true if named - - - - Convert from primitive value to an xml payload string. - NOTE: We need to pay special attention to DateTimes - if the converted value is going to be used as a content of - atom:updated or atom:published element we have to ensure it contains information about time zone. At the same time we - must not touch datetime values that in content or are mapped to custom elements. - - incoming object value - converted value - - - type edm type string for content - type to analyze - edm type string for payload, null for unknown - - - - Annotates a type on the client. - - - - Back reference to the EdmType this annotation is part of. - - - what is the clr full name using ToString for generic name expansion - - - what clr type does this represent - - - Storage for the client model. - - - Set to true if the type is marked as ATOM-style media link entry - - - Property that holds data for ATOM-style media link entries - - - Whether any property (including properties on descendant types) of this type is a collection of primitive or complex types. - - - object to manage and encapsulate the lazy loading of the EPM data. - - - Cached client properties. - - - Cached Edm properties - - - - discover and prepare properties for usage - - Back reference to the EdmType this annotation is part of. - type being processed - the qualified name of the type being processed - The client model. - - - Ensures that EPM is loaded - - - - Returns the list of EdmProperties for this type. - - Returns the list of EdmProperties for this type. - - - Returns the list of properties from this type. - Returns the list of properties from this type. - - - - Gets the set of properties on this type that should be serialized into insert/update payloads. - - The properties to serialize. - - - - get property wrapper for a property name, might be method around open types for otherwise unknown properties - - property name - are missing properties ignored - property wrapper - for unknown properties on closed types - - - - Checks if any of the properties (including properties of descendant types) is a collection of primitive or complex types. - - true if any if any of the properties (including properties of descendant types) is a collection of primitive or complex types. Otherwise false. - - - - Determines whether a given property should be serialized into an insert or update payload. - - The declaring type of the property. - The property. - Whether or not the property should be serialized. - - - - build the clientPropertyCache from EdmProperties - - - - - Check if this type represents an ATOM-style media link entry and - if so mark the ClientType as such - - - - - Set the HasStream boolean annotation in the EdmType to true. - - - - - Computes the metadata version of the property. - - List of properties for which metadata version needs to be computed. - List of complex type already visited. - the metadata version of the property collection. - - - - Discovers and returns edm properties for this type. - - Edm properties on this type. - - - if true then EntityType else if !KnownType then ComplexType else PrimitiveType - - - Property that holds data for ATOM-style media link entries - - - Returns true if the type is marked as ATOM-style media link entry - - - - Target tree for s on this type - - - - Are there any entity property mappings on this type - - - The minimum DSVP required for EPM mappings - - - Gets the EdmTypeReference for the client Type annotation. - - - - Class to encpsulate the lazy loading logic for EPM data - - - - Souce Epm mappings - - - Target Epm mappings - - - object to lock on when building the epm info - - - the current client annotation that the mappings are for - - - - Initializes a new instance of the class. - - The client type annotation. - - - - Ensures that the EPM data is loaded. - - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on the ElementType - builds the corresponding EntityPropertyMappingInfo - - The ClientTypeAnnotation to refer to - The source tree to populate. - This method should be called after all properties are set on the edm type. - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on - builds the corresponding EntityPropertyMappingInfo - - Type being looked at - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Builds the EntityPropertyMappingInfo corresponding to an EntityPropertyMappingAttribute, also builds the delegate to - be invoked in order to retrieve the property provided in the - - Source EntityPropertyMappingAttribute - ResourceType on which to look for the property - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Initializes the epm fields and builds the information into the fields - - - - - Target tree for s on this type - - - - - Source tree for s on this type - - - - - Determines if the Epm fields need initializing - - - - - The exception that is thrown when the server returns an error. - - - - - Contains the state for this exception. - - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - The string value that contains the error message. - The integer value that contains status code. - - - Initializes a new instance of the class. - The string value that contains the error message. - The System.Exception object that contains the inner exception. - The integer value that contains status code. - - - Gets the HTTP error status code returned after . - An integer value that represents the exception. - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Gets or sets the status code as returned by the server. - - - - non-generic placeholder for generic implementation - - - non-generic placeholder for generic implementation - - - internal constructor so that only our assembly can provide an implementation - - - - get an enumerable materializes the objects the response - - context - query components - Projection plan (if compiled in an earlier query). - contentType - the message - expected payload kind. - atom materializer - - - - Creates a instance of strongly typed DataServiceRequest with the given element type. - - element type for the DataServiceRequest. - constructor parameter. - returns the strongly typed DataServiceRequest instance. - - - - Ends an asynchronous request to an Internet resource. - - Element type of the result. - Source object of async request. - The data service context. - async method name. - The asyncResult being ended. - The response - result of the request. - - - The QueryComponents associated with this request - The client model. - instance of query components - - - - Begins an asynchronous request to an Internet resource. - - source of execute (DataServiceQuery or DataServiceContext - context - The AsyncCallback delegate. - The state object for this request. - async method name. - An IAsyncResult that references the asynchronous request for a response. - - - - Creates the result object for the specified query parameters. - - The source object for the request. - The data service context. - The AsyncCallback delegate. - The state object for the callback. - async method name at the source. - Result representing the create request. The request has not been initiated yet. - - - Gets the type of object submitted as a batch to the data service. - Type object. - - - Gets the URI of the request object submitted to a data service. - URI of the request object. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - Gets or sets the payload kind for this request. - - - internal constructor so that only our assembly can provide an implementation - - - Gets the object that can be used to iterate through the collection returned by the query. - An enumerator over the query results. - Expect derived class to override this with an explict interface implementation - - - Asynchronously sends a request to execute the data service query. - An object that is used to track the status of the asynchronous operation. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of executing a data service query. - An that contains the results of the query operation. - The result from the operation that contains the query results. - When the data service returns an HTTP 404: Resource Not Found error. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - Represents an expression that contains the query to the data service. - An object that represents the query. - - - Represents the query provider instance. - An representing the data source provider. - - - - Holds a Uri and type for the request. - - The type to construct for the request results - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Request uri for the current request. - - - The QueryComponents for the request - - - Initializes a new instance of the class. - The URI object that contains the request string. - - - Create a request for a specific Uri - The URI for the request. - The query components for the request - Projection plan to reuse (possibly null). - - - Represents the URI of the query to the data service. - The requested URI as a value. - - - The QueryComponents associated with this request - The client model. - an instance of QueryComponents. - - - Gets the type of the object used to create the instance. - A value that indicates the type of data returned. - - - Gets the URI object that contains the request string. - A object that contains the request string. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - - Data service response to ExecuteBatch & SaveChanges - - - - Http headers of the response. - - - Http status code of the response. - - - responses - - - true if this is a batch response, otherwise false. - - - - constructor - - HTTP headers - HTTP status code - list of responses - true if this represents a batch response, otherwise false. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - The headers from an HTTP response associated with a batch request. - An object containing the name-value pairs of an HTTP response. - - - The status code from an HTTP response associated with a batch request. - An integer based on status codes defined in Hypertext Transfer Protocol. - - - Gets a Boolean value that indicates whether the response contains multiple results. - A Boolean value that indicates whether the response contains multiple results. - - - - Response to a batched query or Execute call. - - The type to construct for the request results - - - - Response to a batched query. - - - - Original query - - - Enumerable of objects in query - - - - constructor - - HTTP headers - original query - retrieved objects - - - Executes the and returns items. - The enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - Gets a object containing the URI that is used to retrieve the next results page. - An object containing the URI that is used to return the next results page. - - - Gets a object containing the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - - - Gets a object that contains the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - The type of the items in the collection. - - - - Creates a generic instance of the QueryOperationResponse and return it - - generic type for the QueryOperationResponse. - constructor parameter1 - constructor parameter2 - constructor parameter3 - returns a new strongly typed instance of QueryOperationResponse. - - - Gets the enumeration helper for the . - The enumerator. - The generic type. - An enumerator to enumerator through the results. - - - Gets the that generates the items. - A object. - - - Gets the server result set count value from a query, if the query has requested the value. - The return value can be either a zero or positive value equal to the number of entities in the set on the server. - Thrown when the count tag is not found in the response stream. - - - get a non-null enumerable of the result - - - - constructor - - HTTP headers - original query - retrieved objects - - - Gets a object that contains the URI that is used to retrieve the next results page. - An object that contains the URI that is used to return the next results page. - - - Executes the and gets items. - An enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - The server result set count value from a query, if the query has requested the value. - The return value can be either zero or a positive value equal to the number of entities in the set on the server. - - - - Event args for the event fired during reading or writing of - an entity serialization/deserialization - - - - The entity being (de)serialized - - - The ATOM entry data to/from the network - - - The xml base of the feed or entry containing the current ATOM entry - - - - Constructor - - The entity being (de)serialized - The ATOM entry data to/from the network - The xml base of the feed or entry containing the current ATOM entry - - - Gets the object representation of data returned from the property. - representation of the property. - - - Gets an entry or feed data represented as an . - - - - - - Gets the base URI base of the entry or feed. - Returns . - - - - Strongly-typed and parameterized exception factory. - - - Strongly-typed and parameterized exception factory. - - - - - create and trace new ArgumentException - - exception message - parameter name in error - ArgumentException - - - - create and trace new InvalidOperationException - - exception message - InvalidOperationException - - - - create and trace new InvalidOperationException - - exception message - innerException - InvalidOperationException - - - - Create and trace a NotSupportedException with a message - - Message for the exception - NotSupportedException - - - - create and throw a ThrowObjectDisposed with a type name - - type being thrown on - - - - create and trace a - - errorCode - message - InvalidOperationException - - - method not supported - method - exception to throw - - - throw an exception because unexpected batch content was encounted - internal error - - - throw an exception because expected batch content was not encountered - internal error - - - unexpected xml when reading web responses - internal error - exception to throw - - - throw exception for unexpected xml when reading web responses - internal error - - - - Trace the exception - - type of the exception - exception object to trace - the exception parameter - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - unique numbers for repeated error messages for unlikely, unactionable exceptions - - - - Use this class to materialize objects from an application/atom+xml stream. - - - - Backreference to the context to allow type resolution. - - - base type of the object to create from the stream. - - - when materializing a known type (like string) - <property> text-value </property> - - - Materializer from which instances are read. - - The log for the materializer stores all changes for the - associated data context. - - - - untyped current object - - - has GetEnumerator been called? - - - Whether anything has been read. - - - - output writer, set using reflection - - - - - constructor - - originating context - Query components (projection, expected type) - Projection plan (if compiled in an earlier query). - responseMessage - The kind of the payload to materialize. - - - - constructor - - originating context - entries that needs to be materialized. - result type. - The format of the response being materialized from. - - - - Private internal constructor used for creating empty wrapper. - - - - - dispose - - - - - as IEnumerable - - this - - - - Gets the type that of the instances that will be returned by materializer. - - Whether the expected is a primitive type. - Actual type on the client. - The client model used. - The actual type that implements ICollection<> - Type of the instances that will be returned by materializer. - - For collection navigation properties (i.e. ICollection<T> where T is an entity the method returns T. Materializer will - return single entity each time MoveNext() is called. However for collection properties we need the whole property instead of just a - single collection item. - - - - - Creates the next object from the stream. - - false if stream is finished - - - - Creates the next object from the stream. - - false if stream is finished - - - - Not supported. - - Always thrown - - - - Creates materializer for results - - Context of expression to analyze. - the results to wrap - a new materializer - - - Creates a materializer for partial result sets. - Context of expression to analyze. - The current page of results - The continuation for the results. - A new materializer. - - - set the inserted object expected in the response - object being inserted that the response is looking for - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns the next link URI for the collection key - - The collection for which the Uri is returned, or null, if the top level link is to be returned - An Uri pointing to the next page for the collection - - - verify the GetEnumerator can only be called once - - - Loosely typed current object property. - - For collection properties this property will be of AtomContentProperties to allow further materialization processing. - Otherwise the value should be of the right type, as the materializer takes the expected type into account. - - - - - A materializer for empty results - - - - - Returns true if the underlying object used for counting is available - - - - - The data service context object this materializer belongs to - - - - - Private type to wrap partial (paged) results and make it look like standard materialized results. - - - - The results to wrap - - - A continuation to the next page of results. - - - The data service context this result belongs to - - - - Creates a wrapper for raw results - - Context of expression to analyze. - the results to wrap - The continuation for this query. - - - - Get the next link to the result set - - When equals to null, returns the next link associated with this collection. Otherwise throws InvalidOperationException. - The continuation for this query. - - - - Gets Enumerator for wrapped results. - - IEnumerator for results - - - - The data service context this result belongs to - - - - - Materializer state for a given ODataEntry - - - - The entry. - - - entity descriptor object which keeps track of the entity state and other entity specific information. - - - True if the context format is Atom or if the MergeOption is anything other than NoTracking. - - - Entry flags. - - - List of navigation links for this entry. - - - - Creates a new instance of MaterializerEntry. - - - - - Creates a new instance of MaterializerEntry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - - - - Creates a new instance of MaterializerEntry using the given entity descriptor for LoadProperty. - - Entity descriptor. - OData Format. - Whether this entity is being tracked. - Use this constructor only for LoadProperty scenario. - - - - Creates an empty entry. - - An empty entry. - - - - Creates the materializer entry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - A new materializer entry. - - - - Creates the materializer entry for LoadProperty scenario. - - The entity descriptor. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - A new materializer entry. - - - - Gets an entry for a given ODataEntry. - - The ODataEntry. - The materializer entry - - - - Adds a navigation link. - - The link. - - - - Updates the entity descriptor. - - - - Gets the value for a masked item. - Mask value. - true if the flag is set; false otherwise. - - - Sets the value for a masked item. - Mask value. - Value to set - - - - Gets the entry. - - - - - True if the context format is Atom or if the context's MergeOption is anything other than NoTracking. - This is used to avoid building URI metadata information that is not needed outside of the context, such - as odata.id and odata.editlink. Since this information is always available in the payload with Atom, for - backward compatibility we continue using it as we always have, even for NoTracking cases. - - - - - Entry ID. - - - - - Properties of the entry. - - - Non-property content goes to annotations. - - - - The entity descriptor. - - - Resolved object. - - - Actual type of the ResolvedObject. - - - Whether values should be updated from payload. - - - Whether the entity has been resolved / created. - - - Whether the materializer has created the ResolvedObject instance. - - - Is this entry created for LoadProperty. - - - The navigation links. - - - Gets the format - - - Whether the entity descriptor has been updated. - - - - Masks used get/set the status of the entry - - - - Bitmask for ShouldUpdateFromPayload flag. - - - Bitmask for CreatedByMaterializer flag. - - - Bitmask for EntityHasBeenResolved flag. - - - Bitmask for MediaLinkEntry flag (value). - - - Bitmask for LoadProperty scenario. - - - - Materializer state for a given ODataFeed - - - - The feed. - - - The entries. - - - - Prevents a default instance of the struct from being created. - - The feed. - The entries. - - - - Creates the materializer feed. - - The feed. - The entries. - The materializer feed. - - - - Gets the materializer feed. - - The feed. - The materializer feed. - - - - Gets the feed. - - - - - Gets the entries. - - - - - URI representing the next page link. - - - - - Materializer state for a given ODataNavigationLink - - - - The navigation link. - - - An object field for the feed or enty. - - - - Prevents a default instance of the struct from being created. - - The link. - Value of the link. - - - - Creates the materializer link with an entry. - - The link. - The entry. - The materializer link. - - - - Creates the materializer link with a feed. - - The link. - The feed. - The materializer link. - - - - Gets the materializer link. - - The link. - The materializer link. - - - - Gets the link. - - - - - Gets the entry. - - - - - Gets the feed. - - - - - This class marks a type that represents an Astoria client entity - such that the Astoria client will treat it as a media entry - according to ATOM's "media link entry" concept. - - - - Name of the member that contains the data for the media entry - - - Creates a new instance of . - A string value that identifies the property that holds media data. - - Creates a new MediaEntryAttribute attribute and sets the name - of the member that contains the actual data of the media entry - (e.g. a byte[] containing a picture, a string containing HTML, etc.) - - - - The name of the property on the class that holds the media, usually binary data. - A string value that identifies the property that holds media data. - - - - Used to specify a value synchronization strategy. - - - Equivalent to System.Data.dll!System.Data.LoadOption - Equivalent to System.Data.Linq.dll!System.Data.Linq.RefreshMode - Equivalent to System.Data.Entity.dll!System.Data.Objects.MergeOption - - - - - No current values are modified. - - - Equivalent to System.Data.Objects.MergeOption.AppendOnly - Equivalent to System.Data.Linq.RefreshMode.KeepCurrentValues - - - - - All current values are overwritten with current store values, - regardless of whether they have been changed. - - - Equivalent to System.Data.LoadOption.OverwriteChanges - Equivalent to System.Data.Objects.MergeOption.OverwriteChanges - Equivalent to System.Data.Linq.RefreshMode.OverwriteCurrentValues - - - - - Current values that have been changed are not modified, but - any unchanged values are updated with the current store - values. No changes are lost in this merge. - - - Equivalent to System.Data.LoadOption.PreserveChanges - Equivalent to System.Data.Objects.MergeOption.PreserveChanges - Equivalent to System.Data.Linq.RefreshMode.KeepChanges - - - - - Equivalent to System.Data.Objects.MergeOption.NoTracking - - - - - This attribute indicates another property in the same type that - contains the MIME type that should be used for the data contained - in the property this attribute is applied to. - - - - The name of the property that contains the data - - - The name of the property that contains the mime type - - - Creates a new instance of the MimeTypePropertyAttribute. - A string that contains the name of the new property attribute. - A string that contains the Mime type of the new property attribute. - - - Gets the name of the MimeTypePropertyAttribute. - A string that contains the name of the property attribute. - - - Gets the Mime type of the MimeTypePropertyAttribute - A string that contains the Mime type of the property attribute. - - - - represents the cached entity - - - - uri to identitfy the entity - <atom:id>identity</id> - - - entity - - - tracks information about the default stream, if any. - - - uri of the resource set to add the entity to during save - - - uri to query the entity - <atom:link rel="self" href="queryLink" /> - - - uri to edit the entity. In case of deep add, this can also refer to the navigation property name. - <atom:link rel="edit" href="editLink" /> - - - - Contains the LinkInfo (navigation and relationship links) for navigation properties - - - - - entity descriptor instance which contains metadata from responses which haven't been fully processed/materialized yet. - This is used only in non-batch SaveChanges scenario. - - - - List of named streams for this entity - - - List of service operation descriptors for this entity. - - - - Create a new instance of Entity descriptor. - - The client model - - - - returns the most recent identity of the entity - - the identity of the entity, as returned in the latest response. - - - return the most recent edit link for the entity - the uri to edit the entity associated with the entity descriptor. - - - return the most recent edit link for the MR associated with the entity - the uri to edit the MR associated with the entity descriptor. - - - return the most recent etag for the entity - etag for the entity associated with the entity descriptor. - - - return the most return etag for the MR associated with the entity - etag for the MR associated with the entity descriptor. - - - return the most recent type name of the entity as returned in the response payload. - the type name of the entity as returned in the response payload. - - - uri to edit the entity - retrieves the baseUri to use for a given entity set. - whether to return the query link or edit link - absolute uri which can be used to edit the entity - - - is the entity the same as the source or target entity - related end - true if same as source or target entity - - - - Return the related end for this resource. One should call this method, only if the resource is inserted via deep resource. - - returns the related end via which the resource was inserted. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - - Closes the save stream if there's any and sets it to null - - - - - Add the given navigation link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate from this entity to the other end. - - - - Add the given association link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate associations for this property. - - - - Merges the given linkInfo to the entity descriptor, - overwrites existing links with new ones (coming from the payload) - - linkInfo - - - - Try and get the navigation link. If the navigation link is not specified, then its used the self link of the entity and - appends the property name. - - retrieves the appropriate baseUri for a given entitySet. - ClientProperty instance representing the navigation property. - returns the uri for the given link. If the link is not present, its uses the self link of the current entity and appends the navigation property name. - - - - Returns the LinkInfo for the given navigation property. - - name of the navigation property - LinkInfo for the navigation propery - true if LinkInfo is found for the navigation property, false if not found - - - - Check if there is a stream with this name. If yes, returns the information about that stream, otherwise add a streams with the given name. - - name of the stream. - an existing or new namedstreaminfo instance with the given name. - - - - Adds an operation descriptor to the list of operation descriptors. - - the operation descriptor to add. - - - - Clears all operator descriptors - - - - - Appends OperationDescriptors to the existing list of OperationDescriptors - - List containing OperationDescriptors to add for this entityDescriptor - - - - Gets the stream info with the given name. - - name of the stream. - information about the stream with the given name. - true if there is a stream with the given name, otherwise returns false. - - - - Merges the given named stream info object. - If the stream descriptor is already present, then this method merges the info from the given stream descriptor - into the existing one, otherwise justs add this given stream descriptor to the list of stream descriptors for - this entity. - - namedStreamInfo instance containing information about the stream. - - - - Sets up the descriptor's parent descriptor and parent property. Only valid if the descriptor is in the Added state. - - The parent descriptor. - The property for insert. - - - - Sets the entity set URI to use for inserting the entity tracked by this descriptor. Only valid if the descriptor is in the added state. - - The entity set insert URI. - - - - Returns LinkInfo for the given property, if it does not exists than a new one is created. - - name of the navigation property - LinkInfo for propertyName - - - - In V1, we used to not support self links. Hence we used to use edit links as self links. - IN V2, we are adding support for self links. But if there are not specified, we need to - fall back on the edit link. - - whether to get query link or the edit link. - the query or the edit link, as specified in the parameter. - - - - Creates a default stream descriptor, if there is none yet, and returns it. - If there is one already present, then returns the current instance. - - stream descriptor representing the default stream. - - - Gets the URI that is the identity value of the entity. - The property corresponds to the identity element of the entry that represents the entity in the Atom response. - - - Gets the URI that is used to return the entity resource. - A URI that returns the entity. - - - Gets the URI that modifies the entity. - The edit link URI for the entity resource. - - - Gets the URI that accesses the binary property data of the entity. - A URI that accesses the binary property as a stream. - - If the entity for the box is an MLE this property stores the content source URI of the MLE. - That is, it stores the read URI for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the URI that modifies the binary property data of the entity. - The property contains the edit-media link URI for the Media Resource that is associated with the entity, which is a Media Link Entry. - - If the entity for the box is an MLE this property stores the edit-media link URI. - That is, it stores the URI to send PUTs for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the entity that contains the update data. - An object that contains update data. - - - Gets an eTag value that indicates the state of data targeted for update since the last call to . - The state of data. - - - Gets the eTag for the media resource associated with an entity that is a media link entry. - A string value that indicates the state of data. - - - Gets the parent entity that is related to the entity. - An object that is the parent entity in the relationship link. - This is only set for entities added through AddRelateObject call - - - Gets the name of the property of the entity that is a navigation property and links to the parent entity. - The name of the parent property. - - - Gets the name of the type in the data source to which the entity is mapped. - A string that is the name of the data type. - - - Returns a collection of links that are the relationships in which the entity participates. - A of objects that represents links in which the entity participates. - - - Returns a collection of named binary data streams that belong to the entity. - A of objects that are the named binary data streams that belong to the entity. - - - Gets a collection of operation descriptors associated with the entity. - A collection of operation descriptors associated with the entity. - - - - Gets the client model. - - - - Parent entity - - - this is a entity - - - - Returns true if the resource was inserted via its parent. E.g. POST customer(0)/Orders - - - - - The stream which contains the new content for the MR associated with this MLE. - This stream is used during SaveChanges to POST/PUT the MR. - Setting it to non-null marks the entity as MLE. - - - - - Describes whether the SaveStream is for Insert or Update. - The value NoStream is for both non-MLEs and MLEs with unmodified stream. - - - - - Returns true if we know that the entity is MLE. Note that this does not include the information - from the entity type. So if the entity was attributed with HasStream for example - this boolean might not be aware of it. - - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - - entity descriptor instance containing metadata from responses, which hasn't been fully processed yet. - - - - - Returns the stream descriptor for the default stream associated with this entity. - If this entity is not an MLE, then returns null; - - - - - Gets the edm structured value associated with this entity. - - - - - The entity set name provided in either AttachTo or AddObject. - - - - - Describes the insert/update/delete state of an entity or link. - - - Deleting an inserted resource will detach it. - After SaveChanges, deleted resources will become detached and Added & Modified resources will become unchanged. - - - - - The resource is not tracked by the context. - - - - - The resource is tracked by a context with no changes. - - - - - The resource is tracked by a context for insert. - - - - - The resource is tracked by a context for deletion. - - - - - The resource is tracked by a context for update. - - - - - options when saving changes - - - - default option, using multiple requests to the server stopping on the first failure - - - save the changes in a single changeset in a batch request. - - - save all the changes using multiple requests - - - Use replace semantics when doing update. - - - Use PATCH verb when doing update (retains the merge semantics). - - - save each change independently in a batch request. - - - - Handle the request (both sync and async) for non batch scenarios - - - - keeps track of all the parsed responses. - - - - We cache the current response and then parse it. we need to do this for the async case only. - - - - http web response - - - remove it later - - - - constructor for SaveResult - - context - method - options - user callback - user state object - - - - This starts the next change - - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle the response. - - an instance of the DataServiceResponse, containing individual responses for all the requests made during this SaveChanges call. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Create memory stream for descriptor (entity or link or MR or named stream). - - Index into changed entries. - RequestMessage to be used to generate the payload. - Stream of data for descriptor. - - - - Create request message from the next change. - - An instance of ODataRequestMessage for the next change. - - - - Check to see if the resource to be inserted is a media descriptor, and if so - setup a POST request for the media content first and turn the rest of - the operation into a PUT to update the rest of the properties. - - The resource to check/process - An instance of ODataRequestMessage to do POST to the media resource - - - - Checks if the entity descriptor represents an MLE with modified MR and if so creates a PUT request - to update the MR. - - The entity descriptor for the entity to be checked. - An instance of ODataRequestMessage for the newly created MR PUT request or null if the entity is not MLE or its MR hasn't changed. - - - - Creates HTTP request for the media resource (MR) - - The URI to request - The HTTP method to use (POST or PUT) - version to be sent in the DSV request header. - Send the request using chunked encoding to avoid buffering. - If the response preference setting should be applied to the request - (basically means if the response is expected to contain an entity or not). - Collection of request headers - Descriptor for this media resource request. - An instance of ODataRequestMessage. - - - - Sets the content and the headers of the media resource request - - The header collection to setup. - DataServiceSaveStream instance containing all information about the stream. - ETag header value to be set. If passed null, etag header is not set. - This only works with the V2 MR support (SetSaveStream), this will not setup - the request for V1 property based MRs. - List of headers to reset - - - operation with exception - exception object - response object - - - - Decide whether we should continue when there is an error thrown - - - - - Handle the response payload. - - httpwebresponse instance. - stream containing the response payload. - - - - Creates a request for the given named stream. - - NamedStreamInfo instance containing information about the stream. - An instance of ODataRequestMessage for the given named stream. - - - returns false since this class handles only non-batch scenarios - - - - returns true if the payload needs to be processed. - - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - - - cached response - - - - response headers - - - response status code - - - Parsed response DataServiceVersion header. - - - entry containing the parsed response. - - - Exception if encountered. - - - descriptor for which the response is getting parsed. - - - - Constructor - - descriptor whose response is getting processed. - headers - status code - Parsed response DataServiceVersion header. - atom entry, if there is a non-error response payload. - exception, if the request threw an exception. - - - - Event args for the event fired before executing a web request. Gives a - chance to customize or replace the request object to be used. - - - - The web request reported through this event - - - The request header collection. - - - - Constructor - - The request reported through this event - The request header collection. - - - Gets or sets the instance about to be sent by the client library to the data service. - . - - - Gets the collection protocol headers that are associated with the request to the data service. - A collection of protocol headers that are associated with the request. - - - - Serializes the request data into the given format using the given message writer. - - - - where to pull the changes from - - - The property converter to use for creating ODataProperty instances. - - - - Creates a new instance of the Serializer. - - the request info. - - - - Creates an instance of ODataMessageWriter. - - Instance of IODataRequestMessage. - RequestInfo containing information about the client settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Creates an ODataEntry for the given EntityDescriptor and fills in its ODataLib metadata. - - The entity descriptor. - Name of the server type. - The client-side entity type. - The current client format. - An odata entry with its metadata filled in. - - - - Writes the body operation parameters associated with a ServiceAction. - - The list of operation parameters to write. - The OData request message used to write the operation parameters. - - - - Write the entry element. - - The entity. - Collection of links related to the entity. - The OData request message. - - - - Writes a navigation link. - - The entity - The links related to the entity - The ODataWriter used to write the navigation link. - - - - Writes an entity reference link. - - The link descriptor. - The request message used for writing the payload. - - - - Enumerates through the list of URI operation parameters and creates a new Uri with the uri operation parameters written as query string of the new Uri. - - The Uri used to construct the new Uri. - The non-empty list of uri parameters which will be converted to query string. - Uri containing the uri parameters as query string. - - - - Returns the new XmlWriter to cache the payload for firing WritingEntity event. - - ODataEntry instance that is currently getting serialized. - XmlWriter that is used to write the payload. - XmlWriter instance that needs to be used to write the payload for the given odataentry. - - - - Fires the WritingEntity event, and then copies the payload into the parent writer. - - ODataEntry that is currently getting serialized. - XmlWriter writer instance that got returned by StartEntryXmlCustomizer method. - Parent writer to which the payload needs to get copied to, after firing the event. - - - - Converts a value to an escaped string for use in a Uri. Wraps the call to ODL's ConvertToUriLiteral and escapes the results. - - The name of the . Used for error reporting. - The value of the . - A string representation of for use in a Url. - - - - To cache the entity instance as annotation for firing WritingEntity event - - - - Entity instance that is currently getting serialized. - - - XDocument instance to cache the payload. - - - RequestInfo instance. - - - - Creates a new instance of WritingEntityInfo - - Entity instance that is currently getting serialized. - RequestInfo instance. - - - - Holds information about stream. - - - - - The Data service stream link object - - - - entity descriptor refering the parent entity. - - - - transient named stream info, which contains metadata from the response which has not been materialized yet. - - - - - Creates a StreamDescriptor class with the given name and other information - - name of the stream. - instance of entity descriptor that contains this stream. - - - - Creates a StreamDescriptor class for the default stream (MR) associated with an entity. - - instance of entity descriptor that contains this stream. - - - - Merge the information from the new stream info into the existing one. - - stream info into which the data needs to be merged. - stream info which contains the latest data. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - return the most recent edit link for the named stream - the uri to edit the named stream. - - - return the most recent etag for the named stream - the etag for the named stream. - - - - Closes the save stream if there's any and sets it to null - - - - The that represents the binary resource stream. - Returns . - - - The that represents the entity to which the named resource stream belongs. - The of the entity. - - - - Returns the name of the stream. - - - - - Returns the URI to get the named stream. - - - - - Returns the URI to update the named stream. - - - - - Returns the content type of the named stream. - - - - - Returns the etag for the named stream. - - - - - Returns the stream associated with this name. - - - - return true, since this class represents entity descriptor. - - - - Transient named stream info, if there are responses which hasn't been fully processed yet. - - - - - Class which contains all the logic for resolving the type from the wire name. - - - - - Dictionary instance to map the edm type name to the client type annotation. - In V1/V2, we never used to cache this and call this during materialization. Hence 2 different contexts can resolve the same wire type - differently and that would have been fine. Also, someone could have written a logic that might differ based on queries within the same context. - For e.g. before executing a projection query, the user can set a flag so that the resolver behaves differently. - Hence caching this locally for every request to simulate that behavior. - - - The callback for resolving client CLR types. - - - The callback for resolving server type names. - - - The client model. - - - The service model, or null if one has not been provided. - - - Indicates whether or not to skip the type assignability check. - - - - Creates an instance of TypeResolver class. - - The client model. - The callback to resolve client CLR types. - The callback for resolving server type names. - The service model. - - - - In V2, in projection path, we do not use to check for assignability between the expected type - and the type returned by the type resolver. This variable is used to track that scenario. - If this is true, the current request is a projection request otherwise not. - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - ODL callback for client type resolution - - The expected type for the given wire name - The name of the type from the payload - An IEdmType - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Determines whether or not the client type should be written for a property that is not defined on the server. - DEVNOTE: If there is no server model, the declaring type is complex, or the server type cannot be - found then the server type will be assumed to match the client type. - This is done this way to prevent getting this wrong if the server property is defined, but we cannot find it for some reason. - So if the types do not match, or we aren't able to align them, we will not write the type name, allowing the server to interpret it as the correct type. - - The client-side property. - The server type name of the current entity. - True if the client property type should be written because the property definitely not defined on the server type. - - - - Tries to resolve the name of the base type of the given entity set if a server model has been provided. - - The name of the entity set. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the name of a navigation property's target if a server model has been provided. - - The name of the server side source type. - The name of the navigation property. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the server type corresponding to the client type. - - The client type annotation. - The server type, if the server type could be resolved. - Whether or not the server type could be resolved. - - - - User hook to resolve name into a type. - - Name to resolve. - Expected type for the name. - the type as returned by the resolver. If no resolver is registered or resolver returns null, expected type is returned. - if ResolveType function returns a type not assignable to the userType - - - - Gets the reader model. - - - - - Represents a parameter associated with a service operation or a service function. - - - - Instantiates a new UriOperationParameter - The name of the uri operation parameter. - The value of the uri operation parameter. - - - - This immutable class is responsible for knowing how to correctly resolve base uri requests - - - - The baseUri provided by the user. can be null. - - - The function provided by the user to resolve the baseUri of entity sets. can be null - - - base uri with guranteed trailing slash - - - - Ctor for BaseUriResolver - - The baseUri provided by the user. - The function provider by the user to resolve the baseUri of the entity sets. - - - - Creates a UriResolver from a baseUri - - The baseUri to use in the UriResolver - The name of the paramter that the user passed the baseUri in from. - The new UriResolver using the passed in baseUri - - - - Creates a new BaseUriResolver with all the same values except a new BaseUri value - - The new BaseUri value - The name of the paramter that the user passed the baseUri in from. - A new BaseUriResolver with the BaseUri property set to the new value. - - - - Creates a new BaseUriResolver with all the same values except a new ResolveEntitySet value - - The new BaseUri value - A new BaseUriResolver with the ResolveEntitySet property set to the new value. - - - base uri with no trailing slash - the name of the entitSet whose Uri will be retrieved. - the baseUri ended with a slash for the entitySetName passed in. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - The BaseUri property with a slash. - - - - If necessary will create an absolute uri by combining the BaseUri and requestUri - - The uri specified by the user - An absolute Uri based on the requestUri and if nessesary the BaseUri - - - - Converts the baseUri passed in to an absolute Uri and then validates that it is - usable by the system. - - The user provided baseUri value. - The name of the paramter that the user passed the baseUri in from. - - - - Validates that the passed in BaseUri - - the baseUri that needs to be validated - True if the baseUri is valid, otherwise false - - - - Updates a relative silverlight uri to an absolute uri - - the uri passed by the client - the updated absolute uri - - - - Returns a Uri that is not slash terminated - - Will be the passed in one if it is slash termination free, or a new one - if the passed in one is slash terminated. - - The Uri to be un slash terminated - A slash termination free version of the passed in Uri. - - - - Returns a slash terminated Uri. - - Will be the passed in one if it is already slash terminated, or a new one - if the passed in one is not slash terminated. - - The Uri to be slash terminated - A slash terminated version of the passed in Uri. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - - Returns the error message to use if the BaseUri is not available. Using a function so we only have to - look up the resource if an error is actually thrown; - - The BaseUri property with a slash. - - - - Gets a Uri from the ResolveEntitySet property if available - - The name of the entity set to resolve to a URI - An absolute URI for the entitySet or null - - - Gets the ResolveEntitySet value. - - - - This property returns the baseUri value with no validation at all - - NOTE: this property should only be used to show the user what the BaseUri value is, all - other access should go through the GetBaseUriWithSlash() method - - the baseUri value - - - - Gets the base URI of the resolver regardless of whether or not it is null. - - - - - static utility functions for uris - - - - forward slash char array for triming uris - - - - Turn Uri instance into string representation - This is needed because Uri.ToString unescapes the string - - The uri instance - The string representation of the uri - - - new Uri(string uriString, UriKind uriKind) - value - kind - new Uri(value, kind) - - - new Uri(Uri baseUri, Uri requestUri) - baseUri - relativeUri - new Uri(baseUri, requestUri) - - - - Appends the absolute baseUri with the relativeUri to create a new absolute uri - - An absolute Uri - A relative Uri - An absolute Uri that is the combination of the base and relative Uris passed in. - - - - Component for controlling what convention set is used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The key serializer to use. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - Appends the key expression for the given entity to the given - - The entity to build the key expression from. - The builder to append onto. - - - - Appends the key expression for the given entity to the given - - The type of the properties. - The properties of the key. - Delegate to get the name of a property. - Delegate to get the value of a property. - The builder to append onto. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Gets the raw CLR value for the given . - - The property to get the value for. - The type which declared the property. - The raw CLR value of the property. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - static utility function - - - - - String Suffix on outgoing version numbers - - - - Tool name for the GeneratedCode attribute used by Astoria CodeGen - - - Method name for the LoadProperty method. - - - Method name for the Execute method. - - - Method name for the Async Execute method overload which expects void result. - - - Method name for the SaveChanges method. - - - - Empty Data Service Version - represents a blank DSV header - - - - - Data Service Version 1 - - - - - Data Service Version 2 - - - - - Data Service Version 3 - - - - - Data service versions supported on the client - - - - - static char[] for indenting whitespace when tracing xml - - - - - Converts the DataServiceProtocolVersion to a Version instance. - - The max protocol version value. - The same version expressed as Version instance. - - - - DebugInjectFault is a test hook to inject faults in specific locations. The string is the ID for the location - - The injector state parameter - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument to prevent accidental boxing of value types - argument whose value needs to be checked - name of the argument - if value is null - value - - - - Checks the string value is not empty - - value to check - parameterName of public function - if value is null - if value is empty - - - - Checks the string value is not empty, but allows it to be null - - value to check - parameterName of public function - if value is empty - - - - Checks the array value is not empty - - type of the argument to prevent accidental boxing of value types - value to check - parameterName of public function - if value is null - if value is empty or contains null elements - - - - Validate MergeOption - - option to validate - name of the parameter being validated - if option is not valid - option - - - - Validate MaxProtocolVersion - - version to validate - name of the parameter being validated - if version is not valid - version - - - - Validate HttpStack - - option to validate - name of the parameter being validated - if option is not valid - option - - - - get char[] for indenting whitespace when tracing xml - - how many characters to trace - char[] - - - dispose of the object and set the reference to null - type that implements IDisposable - object to dispose - - - dispose of the object - type that implements IDisposable - object to dispose - - - - Checks whether the exception type is one of the DataService*Exception - - exception to test - true if the exception type is one of the DataService*Exception - - - validate value is non-null - type of value - value - error code to throw if null - the non-null value - - - - check the atom:null="true" attribute - - XmlReader - true of null is true - - - Set the continuation for the following results for a collection. - The collection to set the links to - The continuation for the collection. - - - - Determines if the current type is nullable or not - - The type parameter. - true if its nullable false otherwise - - - - Similar to Activator.CreateInstance, but uses LCG to avoid - more stringent Reflection security constraints.in Silverlight - - Type to create. - Arguments. - The newly instantiated object. - - - - Similar to ConstructorInfo.Invoke, but uses LCG to avoid - more stringent Reflection security constraints in Silverlight - - Constructor to invoke. - Arguments. - The newly instantiated object. - - - - checks whether the given flag is set on the options - - options as specified by the user. - whether the given flag is set on the options - true if the given flag is set, otherwise false. - - - - checks whether any batch flag is set on the options - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag is set on the options for the single changeset - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag with independent Operation per change set is set - - options as specified by the user. - true if the given flag is set, otherwise false. - - - modified or unchanged - state to test - true if modified or unchanged - - - - trace Element node - - XmlReader - TextWriter - - - - trace EndElement node - - XmlReader - TextWriter - indent or not - - - - trace string value - - TextWriter - value - - - - Converts the given IEnumerable into IEnumerable - - Type parameter. - IEnumerable which contains the list of the objects that needs to be converted. - Delegate to use to convert the value. - An instance of IEnumerable which contains the converted values. - - - Given a enumeration returns the instance with the same version number. - The protocol version enum value to convert. - The version instance with the version number for the specified protocol version. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - The represents the runtime context of the data service. - - - - - string constant for the 'serviceRoot' parameter to UriResolver - - - - Same version as but stored as instance of for easy comparisons. - - - The client model for the current context instance. - - - The tracker for user-specified format information. - - - The maximum protocol version the client should support (send and receive). - - - - Class which tracks all the entities and links for the given context - - - - - The response preference for add and update operations - - - - The resolver for baseUris - - - Authentication interface for retrieving credentials for Web client authentication. - - - Override the namespace used for the data parts of the ATOM entries - - - resolve type from a typename - - - resolve typename from a type - - - whether to use post-tunneling for PUT/DELETE - - - Options when deserializing properties to the target type. - - - Used to specify a value synchronization strategy. - - - Default options to be used while doing savechanges. - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Client will ignore 404 resource not found exception and return an empty set when this is set to true - - - The URL conventions to use. - - - The HTTP stack to use for requests. - - - - Test hook which gets called after the HttpWebRequest has been created and all headers have been set. - - - - - Test hook which gets called after we call HttpWebRequest.GetRequestStream, so that the test code can wrap the stream and see what gets written to it. - - - - - Test hook which gets called after the HttpWebResponse is received. - - - - - Test hook which gets called after we call HttpWebRequest.GetResponseStream, so that the test code can wrap the stream and see what gets read from it. - - - - - A flag indicating if the data service context is applying changes - - - - Initializes a new instance of the class. - It is expected that the BaseUri or ResolveEntitySet properties will be set before using the newly created context. - - - Initializes a new instance of the class with the specified . - An absolute URI that identifies the root of a data service. - When the is null. - If the is not an absolute URI -or-If the is a well formed URI without a query or query fragment. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Initializes a new instance of the class with the specified and targeting the specific . - An absolute URI that identifies the root of a data service. - A value that is the maximum protocol version that the client understands. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - - Instantiates a new context with the specified Uri. - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - - - An absolute, well formed http or https URI without a query or fragment which identifies the root of a data service. - A Uri provided with a trailing slash is equivalent to one without such a trailing character - - max protocol version that the client understands. - The client edm model to use. Provided for testability. - If the is not a valid value. - - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Gets the for the supplied entity object. - The instance for the , or null if an does not exist for the object. - The object for which to return the entity descriptor. - - - Gets the for a specific link that defines the relationship between two entities. - The instance for the specified relationship, or null if a does not exist for the relationship. - Source object in the link - The name of the navigation property on the object that returns the related object. - The related entity. - - - Attempts to cancel the operation that is associated with the supplied object. - The object from the operation being canceled. - DataServiceContext is not safe to use until asyncResult.IsCompleted is true. - - - Creates a data service query for data of a specified generic type. - A new instance that represents a data service query. - A string that resolves to a URI. - The type returned by the query - create a query based on (BaseUri + relativeUri) - - - Gets a URI of the location of .edmx metadata. - A URI that identifies the location of the metadata description, in .edmx format, for the data service identified by the base URI that is passed to the constructor. - - - Asynchronously loads the value of the specified property from the data service. - An IAsyncResult that represents the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property on the specified entity to load. - The delegate called when a response to the request is received. - The user-defined state object that is used to pass context data to the callback method. - actually doesn't modify the property until EndLoadProperty is called. - - - Asynchronously loads a page of related entities from the data service by using the supplied next link URI. - An object that is used to track the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - The URI used to load the next results page. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Asynchronously loads the next page of related entities from the data service by using the supplied query continuation object. - An that represents the status of the operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entity data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the operation. - The response to the load operation. - An that represents the status of the asynchronous operation. - - - Gets the URI that is used to return a binary data stream. - The read URI of the binary data stream. - The entity that has a related binary stream to retrieve. - If the entity specified is null. - The is not tracked by this . - If the specified entity is a Media Link Entry, this method will return an URI which can be used to access the content of the Media Resource. This URI should only be used to GET/Read the content of the MR. It may not respond to POST/PUT/DELETE requests. - - - Gets the URI that is used to return a named binary data stream. - The read URI of the binary data stream. - The entity that has the named binary data stream to retrieve. - The name of the stream to request. - If the specified entity has a stream with the given name, this method will return an URI which can be used to access the content of the stream. This URI should only be used to GET/Read the content of the stream. It may not respond to POST/PUT/DELETE requests. - If the entity specified is null. - If the name parameter is empty or the entity specified is not being tracked. - - - Asynchronously gets the binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has a the binary data stream to retrieve. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - Any of the parameters supplied to the method is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary data stream. - - - Asynchronously gets a named binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has the binary data stream to retrieve. - The name of the binary stream to request. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of retrieving a binary data stream. - An instance of which contains the response stream along with its metadata. - The result from the operation that contains the binary data stream. - The method will block if the request have not finished yet. - - - Sets a binary data stream that belongs to the specified entity, with the specified Content-Type and Slug headers in the request message. - The entity to which the data stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The Slug header value for the request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The entity has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The entity is not being tracked or name is an empty string. - Any of the arguments is null. - - - Sets a named binary data stream that belongs to the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - The entity is not being tracked. The entity has the MediaEntry attribute - marking it to use the older way of handling MRs. - Any of the arguments is null. - - - Asynchronously submits a group of queries as a batch to the data service. - An object that is used to track the status of the asynchronous operation. - The delegate that is called when a response to the batch request is received. - User-defined state object that is used to pass context data to the callback method. - The array of query requests to include in the batch request. - - - Called to complete the . - The DataServiceResult object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Asynchronously sends the request so that this call does not block processing while waiting for the results from the service. - An object that is used to track the status of the asynchronous operation. - The URI to which the query request will be sent. The URI may be any valid data service URI; it can contain $ query parameters. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - The operation parameters used. - - This overload expects the to end with a ServiceOperation - or ServiceAction that returns void. - - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - Attribute used on service operations to specify that they return a single instance of their return element. - The operation parameters used. - The type returned by the query. - - - Asynchronously sends a request to the data service to retrieve the next page of data in a paged query result. - An that represents the status of the operation. - A object that represents the next page of data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Called to complete the . - The results returned by the query operation. - - object. - The type returned by the query. - When is null. - When did not originate from this instance. -or- When the method was previously called. - When an error is raised either during execution of the request or when it converts the contents of the response message into objects. - When the data service returns an HTTP 404: Resource Not Found error. - - - Called to complete the . - The result of the operation. - An that represents the status of the asynchronous operation. - This method should be used in combination with the BeginExecute overload which - expects the request uri to end with a service operation or service action that returns void. - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An IAsyncResult that represents the status of the asynchronous operation. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An that represents the status of the asynchronous operation. - The options for how the client can save the pending set of changes. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - BeginSaveChanges will asynchronously attach identity Uri returned by server to sucessfully added entites. - EndSaveChanges will apply updated values to entities, raise ReadingEntity events and change entity states. - - - - Called to complete the operation. - A object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Adds the specified link to the set of objects the is tracking. - The source object for the new link. - The name of the navigation property on the source object that returns the related object. - The object related to the source object by the new link. - When , , or are null. - If a link already exists.-or-If either the or objects are in a or state.-or-If is not a collection. - - Notifies the context that a new link exists between the and objects - and that the link is represented via the source. which is a collection. - The context adds this link to the set of newly created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Notifies the to start tracking the specified link that defines a relationship between entity objects. - The source object in the new link. - The name of the property on the source object that represents the link between the source and target object. - The target object in the link that is bound to the source object specified in this call. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When the link between the two entities already exists.-or-When or is in an or state. - - - Removes the specified link from the list of links being tracked by the . - Returns true if the specified entity was detached; otherwise false. - The source object participating in the link to be marked for deletion. - The name of the property on the source object that represents the source in the link between the source and the target. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When or are null. - When is an empty string. - Any link being tracked by the context, regardless of its current state, can be detached. - - - Changes the state of the link to deleted in the list of links being tracked by the . - The source object in the link to be marked for deletion. - The name of the navigation property on the source object that is used to access the target object. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When or is in a or state.-or-When is not a collection. - - Notifies the context that a link exists between the and object - and that the link is represented via the source. which is a collection. - The context adds this link to the set of deleted links to be sent to - the data service on the next call to SaveChanges(). - If the specified link exists in the "Added" state, then the link is detached (see DetachLink method) instead. - - - - Notifies the that a new link exists between the objects specified and that the link is represented by the property specified by the parameter. - The source object for the new link. - The property on the source object that identifies the target object of the new link. - The child object involved in the new link that is to be initialized by calling this method. The target object must be a subtype of the type identified by the parameter. If is set to null, the call represents a delete link operation. - When , or are null. - When the specified link already exists.-or-When the objects supplied as or are in the or state.-or-When is not a navigation property that defines a reference to a single related object. - - Notifies the context that a modified link exists between the and objects - and that the link is represented via the source. which is a reference. - The context adds this link to the set of modified created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Adds the specified object to the set of objects that the is tracking. - The name of the entity set to which the resource will be added. - The object to be tracked by the . - When or is null. - When is empty.-or-When does not have a key property defined. - When the entity is already being tracked by the context. - - It does not follow the object graph and add related objects. - Any leading or trailing forward slashes will automatically be trimmed from entitySetName. - - - - Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request. - The parent object that is being tracked by the context. - The name of the navigation property that returns the related object based on an association between the two entities. - The related object that is being added. - - - Notifies the to start tracking the specified resource and supplies the location of the resource within the specified resource set. - The name of the set that contains the resource. - The resource to be tracked by the . The resource is attached in the Unchanged state. - When or is null. - When is an empty string.-or-When the does not have a key property defined. - When the is already being tracked by the context. - It does not follow the object graph and attach related objects. - - - Notifies the to start tracking the specified resource and supplies the location of the resource in the specified resource set. - The string value that contains the name of the entity set to which to the entity is attached. - The entity to add. - An etag value that represents the state of the entity the last time it was retrieved from the data service. This value is treated as an opaque string; no validation is performed on it by the client library. - When is null.-or-When is null. - When is an empty string.-or-When the supplied object does not have a key property. - When the supplied object is already being tracked by the context - It does not follow the object graph and attach related objects. - - - Changes the state of the specified object to be deleted in the . - The tracked entity to be changed to the deleted state. - When is null. - When the object is not being tracked by the . - - Existings objects in the Added state become detached. - - - - Removes the entity from the list of entities that the is tracking. - Returns true if the specified entity was detached; otherwise false. - The tracked entity to be detached from the . - When is null. - - - Changes the state of the specified object in the to . - The tracked entity to be assigned to the state. - When is null. - When is in the state. - - - - Changes the state of the given entity. - Note that the 'Added' state is not supported by this method, and that AddObject or AddRelatedObject should be used instead. - If the state 'Modified' is given, calling this method is exactly equivalent to calling UpdateObject. - If the state 'Deleted' is given, calling this method is exactly equivalent to calling DeleteObject. - If the state 'Detached' is given, calling this method is exactly equivalent to calling Detach. - If the state 'Unchanged' is given, the state will be changed, but no other modifications will be made to the entity or entity descriptor associated with it. - - The entity whose state to change. - The new state of the entity. - - - Test retrieval of an entity being tracked by the by reference to the URI of the entity. - If an entity is found at , the entity is returned in the out parameter and true is returned. If no entity is found, false is returned. - The URI of the tracked entity to be retrieved. - The entity to be retrieved. - The type of the entity. - When is null. - entities in added state are not likely to have a identity - - - Retrieves the canonical URI associated with the specified entity, if available. - Returns true if the canonical URI is returned in the out parameter. If the specified entity is not tracked by the or is in the added state, no URI is available and false is returned. - The entity identified by the . - The URI of the entity. - When is null. - Entities in added state are not likely to have an identity. Though the identity might use a dereferencable scheme, you MUST NOT assume it can be dereferenced. - - - Begins the execution of the request uri based on the http method. - element type of the result - request to execute - User callback when results from execution are available. - user state in IAsyncResult - HttpMethod to use. Only GET and POST are supported. - async method name at the source. - If set to true, indicates that a single result is expected as a response. - The operation parameters associated with the service operation. - async result object - - - - Track a binding. - - Source resource. - Property on the source resource that relates to the target resource. - Target resource. - merge operation - - - - Creates the OData request message to write the headers and payload into. - - The arguments for creating the message. - List of header names that needs to be reset after calling SendingRequest event. - Descriptor to expose in SendingRequest2 - An instance of IODataRequestMessage with the given headers and version. - - - - user hook to resolve name into a type - - name to resolve - Null if no type resolver is registered, otherwise returns whatever is returned by the type resolver. - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Fires the WritingEntity event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Fires the ReceivingResponse event. - - Args instance containing information about the response. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. The reasons for doing this are to give us a place - to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Invokes the sendRequest test hook callback with a reference to the HttpWebRequest - - HttpWebRequest to provide in the callback. - - - - Invokes the getRequestWrappingStream test hook callback, so that the test code can wrap the stream and see what gets written to it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Invokes the sendResponse test hook callback with a reference to the HttpWebResponse - - HttpWebResponse to provide in the callback. - - - - Invokes the getResponseWrappingStream test hook callback, so that the test code can wrap the stream and see what gets read from it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Gets an entity metadata builder to evaluate metadata which is not present in payloads, or for which the payload is not available. - - Name of the entity set to which the entity belongs. - The entity to build metadata for. - - A metadata builder for the entity tracked by the given entity instance. - - - This is used for example to determine the edit link for an entity if the payload didn't have one, or to determine the URL for a navigation when building a query through LINQ. - - - - - Fires the BuildingRequest event to get a new RequestMessageArgs object. - - Http method for the request. - Base Uri for the request. - Http stack to use for the request. - Http stack to use for the request. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - - Determines the type that - - Name of the type to resolve. - Namespace of the type. - Namespace of the type, can be different in VB than the fullNamespace. - Type that the name resolved to or null if none found. - Function was added for Portable Lib support to handle the differences in accessing the assembly of the context. - - - validate and trim leading and trailing forward slashes - - resource name to validate - if entitySetName was null - if entitySetName was empty or contained only forward slash - - - validate is entity type - entity to validate - The client model. - if entity was null - if entity does not have a key property - - - - Validates a given list of operation parameter and returns two seperated list of body operation parameter - and uri operation parameter respectively. - - the http method used in the request. Only POST and GET http methods are supported with operation parameters. - The list of operation parameters to be validated. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - - - - Verify that the format is set to Atom, and fail otherwise. - - - - - Fires the BuildingRequest event so the user can add custom query parameters. - - Information about the request so they user can selectively add query parameters. - A new RequestMessageArgs object that contains any changes the user made to the query string. - - - - Validate the SaveChanges Option - - options as specified by the user. - - - - Validate and process the input parameters to all the execute methods. Also seperates and returns - the input operation parameters list into two seperate list - one of body operation parameters and the other - for uri operation parameters. - - element type. See Execute method for more details. - request to execute - HttpMethod to use. Only GET and POST are supported. - If set to true, indicates that a single result is expected as a response. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - The operation parameters associated with the service operation. - - - - create the load property request - - entity - name of collection or reference property to load - The AsyncCallback delegate. - user state - The request uri, or null if one is to be constructed - Continuation, if one is available. - a aync result that you can get a response from - - - - verify the source and target are relatable - - source Resource - source Property - target Resource - destination state of relationship to evaluate for - true if DeletedState and one of the ends is in the added state - if source or target are null - if source or target are not contained - if source property is null - if source property empty - Can only relate ends with keys. - If target doesn't match property type. - If adding relationship where one of the ends is in the deleted state. - If attaching relationship where one of the ends is in the added or deleted state. - - - - This method creates an async result object around a request to get the read stream for a Media Resource - associated with the Media Link Entry represented by the entity object. - - The entity which is the Media Link Entry for the requested Media Resource. Thist must specify - a tracked entity in a non-added state. - Instance of class with additional metadata for the request. - Must not be null. - User defined callback to be called when results are available. Can be null. - User state in IAsyncResult. Can be null. - name of the stream. - The async result object for the request, the request hasn't been started yet. - Either entity or args parameters are null. - The specified entity is either not tracked, - is in the added state or it's not an MLE. - - - - Ensures that the required data service protocol version is lesser than the maxprotocolversion on this instance. - - throws an invalidoperationexception if the max protocolversion is lesser than the required protocol version - - - - Ensures that the maxprotocolversion on this instance is lesser than - - The property being modified. - The max allowed dataserviceversion for modifying this property. - throws a NotSupportedException if the max protocolversion is greater than - - - - Helper method for calling the overridable GetEntityMetadataBuilder API and performing common logic/verification. - - The entity descriptor tracking the entity. - A metadata builder for the entity tracked by the given descriptor. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. It fires the ReceivingResponse event. - It also gives us a place to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - IAsyncResult for EndGetResponse if this is an async call. - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - Mark an existing object for update in the context. - - entity to be mark for update - If true, then an exception should be thrown if the entity is in neither the unchanged nor modified states. - if entity is null - if entity is detached - if entity is not unchanged or modified and is true. - - - - Mark an existing object being tracked by the context for deletion. - - entity to be mark deleted - If true, then an exception will be thrown if the entity is in the added state. - if entity is null - if entity is not being tracked by the context, or if the entity is in the added state and is true. - - Existings objects in the Added state become detached if is false. - - - - - Sets the entity's state to unchanged. - - The entity to set back to unchanged. - - - Occurs when a new has been created. - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request message object is built, giving - the handler the opportunity to inspect, adjust and/or replace some - request information before the message is built. This event should be - used to modify the outgoing Url of the request or alter request headers. - After the request is built, other modifications on the WebRequest object can be made - in SendingRequest2. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - Occurs after entity data has been completely read into the entity object. - - This event fires once an entry has been read into a .NET object - but before the serializer returns to the caller, giving handlers - an opporunity to read further information from the incoming ATOM - entry and updating the object. - This event should only be raised from the thread that was used to - invoke Execute, EndExecute, SaveChanges, EndSaveChanges. - - - - - This event fires when a response is received by the client. - It fires for both top level responses and each operation or query within a batch response. - - - On top level requests, the event is fired before any processing is done. - For inner batch operations, the event is also fired before any processing is done, with - the exception that the content-ID of a changeset operation will be read before the event is fired. - - - - Occurs after an entity has been fully serialized into XML in a request message. - - This event fires once an ATOM entry is ready to be written to - the network for a request, giving handlers an opportunity to - customize the entry with information from the corresponding - .NET object or the environment. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event fires when SaveChanges or EndSaveChanges is called - - - - - Internal event instance used by the public SendingRequest event. - - - - - Internal event instance used by the public BuildingRequest event. - - - - - Internal event instance used by the public WritingEntity event. - - - - Gets or sets the delegate method that is used to resolve the entity set URI when the value cannot be determined from an edit-link or self-link URI. - A delegate that takes a and returns a value. - - - Gets the absolute URI identifying the root of the target data service. - An absolute URI that identifies the root of a T data service. - - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - Example: http://server/host/myservice.svc - - - - Gets or sets whether the client requests that the data service return entity data in the response message to a change request. - A object that determines whether to request a response form the data service. - Whether POST/PUT/MERGE requests will process response from the server. Corresponds to Prefer header in HTTP POST/PUT/MERGE request. - - - Gets the maximum version of the Open Data Protocol (OData) that the client is allowed to use. - The maximum version of OData that the client is allowed to use. - If the request or response would require higher version the client will fail. - - - Gets or sets the authentication information that is used by each query created by using the object. - The base authentication interface for retrieving credentials for Web client authentication. - - - Gets or sets the synchronization option for receiving entities from a data service. - One of the members of the enumeration. - - Used to specify a synchronization strategy when sending/receiving entities to/from a data service. - This value is read by the deserialization component of the client prior to materializing objects. - As such, it is recommended to set this property to the appropriate materialization strategy - before executing any queries/updates to the data service. - The default value is .AppendOnly. - - - - Gets a value that indicates whether the is currently applying changes to tracked objects. - Returns true when changes are currently being applied; otherwise returns false. - - - Gets or sets whether the properties read from the type must be mapped to properties on the client-side type. - A Boolean value that indicates whether the properties read from the type must be mapped to properties on the client-side type. - - This also affects responses during SaveChanges. - - - - Gets or sets the XML namespace for data items, not metadata items, of an Atom payload. - A string representing the XML namespace for data items of a payload in the ATOM format. - - - Gets or sets a function to override the default type resolution strategy used by the client library when you send entities to a data service. - Returns a string that contains the name of the . - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves - a type within the client application to a namespace-qualified type name. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - This method enables one to override the entity name that is serialized - to the target representation (ATOM,JSON, etc) for the specified type. - - - - Gets or sets a function that is used to override the default type resolution option that is used by the client library when receiving entities from a data service. - A function delegate that identifies an override function that is used to override the default type resolution option that is used by the client library. - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves a - namespace-qualified type name to type within the client application. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - Overriding type resolution enables inserting a custom type name to type mapping strategy. - It does not enable one to affect how a response is materialized into the identified type. - - - - Gets or sets the URI used to indicate what type scheme is used by the service. - A object that contains the type scheme. - - - Gets or sets a Boolean value that indicates whether to use post tunneling. - A Boolean value that indicates whether to use post tunneling. - - - Gets the collection of all associations or links currently being tracked by the object. - A collection of objects that represent all associations or links current being tracked by the current being tracked by the object. - If no links are being tracked, a collection with 0 elements is returned. - - - Gets a list of all the resources currently being tracked by the . - A list of objects that represent all the resources currently being tracked by the . - If no resources are being tracked, a collection with 0 elements is returned. - - - Gets or sets the values that are used by the method. - The current options for the save changes operation. - - - Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service. - When set to true, the client library returns an empty set instead of raising a when the data service returns an HTTP 404: Resource Not Found error. - - - - Gets the configurations. - - - - - Gets an object which allows the user to customize the format the client will use for making requests. - - - - - Gets or sets the URL conventions the client should use. - - - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Gets a value that indicates the type of HTTP implementation to use when accessing the data service in Silverlight. - A value that indicates the HTTP implementation to use when accessing the data service. - Default value is HttpStack.Auto - - - Indicates if there are subscribers for the WritingEntity event - - - - True if any event handlers are registered for events that are only supported with Atom. - - - - Indicates if there are subscribers for the SendingRequest event. - We do not fire SendingRequest event if there are subscribers to SendingRequest2 event. - - - Indicates if there are subscribers for the SendingRequest2 event. - - - - INdicates if there are any subscribers for the BuildingRequestEvent. - - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - The tracker for user-specified format information. - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - - Gets the client model. - - - - - Cache for client edm models by version. - - - - A cache that maps a data service protocol version to its corresponding . - Note that it is initialized in a static ctor and must not be changed later to avoid threading issues. - - - - Static constructor used to initialize modelCache. - - - - - Get the cached model for the specified max protocol version. - - The to get the cached model for. - The cached model for the . - - - - query object - - type of object to materialize - - - Method info for the v1 Expand method. - - - Method info for the generic version of the Expand method - - - Linq Expression - - - Linq Query Provider - - - Uri, Projection, Version for translated query - - - - query object - - expression for query - query provider for query - - - Starts an asynchronous network operation that executes the query represented by this object instance. - An that represents the status of the asynchronous operation. - The delegate to invoke when the operation completes. - User defined object used to transfer state between the start of the operation and the callback defined by . - - - Ends an asynchronous query request to a data service. - Returns an that contains the results of the query operation. - The pending asynchronous query request. - When the data service returns an HTTP 404: Resource Not Found error. - - - Expands a query to include entities from a related entity set in the query response. - A new query that includes the requested $expand query option appended to the URI of the supplied query. - The expand path in the format Orders/Order_Details. - - - Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy. - Returns a that with the expand option included. - A lambda expression that indicates the navigation property that returns the entity set to include in the expanded query. - Target type of the last property on the expand path. - - - Requests that the count of all entities in the entity set be returned inline with the query results. - A new object that has the inline count option set. - - - Creates a new with the query option set in the URI generated by the returned query. - A new query that includes the requested query option appended to the URI of the supplied query - The string value that contains the name of the query string option to add. - The object that contains the value of the query string option. - - - Executes the query and returns the results as a collection. - A typed enumerator over the results in which TElement represents the type of the query results. - - - Represents the URI of the query to the data service. - A URI as string that represents the query to the data service for this instance. - - - Executes the query and returns the results as a collection. - An enumerator over the query results. - - - - gets the UriTranslateResult for a the query - - The client model. - an instance of QueryComponents. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - - gets the query components for the query after translating - - QueryComponents for query - - - Returns the type of the object used in the template to create the instance. - Returns representing the type used in the template when the query is created. - - - Represents an expression containing the query to the data service. - A object representing the query. - - - Represents the query provider instance. - A representing the data source provider. - - - Get the URI for the query. - The URI of the request. - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Context associated with this query. - - - - Ordered DataServiceQuery which implements IOrderedQueryable. - - - - - constructor - - expression for query - query provider for query - - - web utility functions - - - - Default buffer size used for stream copy. - - - - - Whether DataServiceCollection<> type is available. - - - - Method info for GetDefaultValue<T>. - - - copy from one stream to another - input stream - output stream - reusable buffer - count of copied bytes - - - get response object from possible WebException - exception to probe - http web respose object from exception - an instance of InvalidOperationException. - - - is this a success status code - status code - true if status is between 200-299 - - - - Checks if the provided type is a collection type (i.e. it implements ICollection and the collection item type is not an entity). - - Type being checked. - The client model. - True if the CLR type is a collection compatible type. False otherwise. - - - - Checks if the provided type name is a name of a collection type. - - Type name read from the payload. - true if is a name of a collection type otherwise false. - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Collection item type name or null if not a collection. - - - - Resolves and creates if necessary a backing type for the . - - Type of a collection property as defined by the user - can be just an interface or generic type. - Type of items stored in the collection. - Resolved concrete type that can be instantiated and will back the collection property. Can be the type. - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument - argument whose value needs to be checked - name of the argument - returns the argument back - - - - Checks if the collection is valid. Throws if the collection is not valid. - - The type of the collection item. Can not be null. - Collection instance to be validated. - The name of the property being serialized (for exception messages). Can be null if the type is not a property. - - - - Checks if the value of a collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - This method should be called first to validate all items in a collection regardless of their type. - - - - Checks if the value of a primitive collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null. - The type of the collection item as declared by the collection. - - - - Checks if the value of a complex collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null if the type is not a property. - The type of the collection item as declared by the collection. - - - - Validates the value of the identity, the atom:id or DataServiceId - - The value to validate - - - - Validates the value of the 'Location' response header. - - the value as seen on the wire. - an absolute uri or - - - - Determines the value of the Prefer header based on the response preference settings. Also modifies the request version as necessary. - - The response preference setting for the request. - The request version so far, this might be modified (raised) if necessary due to response preference being applied. - The value of the Prefer header to apply to the request. - - - - Raises the version specified to the new minimal version (if it's lower than the current one) - - The version to be raised. - The minimal version needed. - - - - Checks if the given type is DataServiceCollection<> type. - - Type to be checked. - true if the provided type is DataServiceCollection<> or false otherwise. - - - - Creates an instance of DataServiceCollection<> class using provided types. - - Types to be used for creating DataServiceCollection<> object. - - Instance of DataServiceCollection<> class created using provided types or null if DataServiceCollection<> - type is not avaiable. - - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Dispose the message if it implements IDisposable. - - IODataResponseMessage to dispose. - - - - Forces loading WindowsBase assembly. If WindowsBase assembly is not present JITter will throw an exception. - This method MUST NOT be inlined otherwise we won't be able to catch the exception by JITter in the caller. - - typeof(DataServiceCollection<>) - - - - Returns true if DataServiceCollection<> type is available or false otherwise. - - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Represents an EDM property for client types and caches methods for the propertyInfo. - - - - Back reference to the EdmProperty this annotation is part of. - - - property name for debugging - - - Exact property type; possibly nullable but not necessarily so. - - - type of the property - - - what is the dictionary value type - - - what type was this property declared on? - - - - Is this a known primitive/reference type or an entity/complex/collection type? - - - - property getter - - - property setter - - - "set_Item" method supporting IDictionary properties - - - "Add" method supporting ICollection<> properties - - - "Remove" method supporting ICollection<> properties - - - "Contains" method supporting ICollection<> properties - - - "Clear" method supporting ICollection<> properties - - - ICollection<> generic type - - - cached value for IsPrimitiveOrComplexCollection property - - - cached value of IsGeographyOrGeometry property - - - The other property in this type that holds the MIME type for this one - - - - constructor - - Back reference to the EdmProperty this annotation is part of. - propertyInfo instance. - The client model. - - - - get property value from an object - - object to get the property value from - property value - - - - remove a item from the collection instance - - collection - item to remove - - - - set property value on an object - - object to set the property value on - property value - used for open type - allow add to a collection if available, else allow setting collection property - - - - Clears . - - ICollection instance that needs to be cleared. - - - - Adds value to a collection. - - ICollection Instance to add to. - Value to be added to . - - - - Gets the client model. - - - - The other property in this type that holds the MIME type for this one - - - what is the nested collection element - - - Is this property a collection of entities? - - - Type of items in the primitive or complex collection. - - - Is this property a collection of primitive or complex types? - - - Returns true if the type of property is a Geography or Geometry type, otherwise returns false. - - - Is this property a dictionary? - - - Returns true if this property is a stream link property, otherwise false. - - - - Utility methods for client types. - - - - A static empty PropertyInfo array. - - - - Sets the single instance of on the given instance of . - - The model the belongs to. - IEdmType instance to set the annotation on. - The annotation to set - - - - Gets the ClientTypeAnnotation for the given type. - - The model. - Type for which the annotation needs to be returned. - An instance of ClientTypeAnnotation containing metadata about the given type. - - - - Gets the single instance of from the given instance of . - - The model the belongs to. - IEdmType instance to get the annotation. - Returns the single instance of from the given instance of . - - - - Sets the given instance of to the given instance of . - - IEdmProperty instance to set the annotation. - Annotation instance to set. - - - - Gets the single instance of ClientPropertyAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the single instance of ClientPropertyAnnotation from the given instance of . - - - - Gets the instance of ClientTypeAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the instance of ClientTypeAnnotation from the given instance of . - - - - Returns the corresponding edm type reference for the given edm type. - - EdmType instance. - A boolean value indicating whether the clr type of this edm type is nullable - Returns the corresponding edm type reference for the given edm type. - - - - Returns the full name for the given edm type - - EdmType instance. - the full name of the edmType. - - - - Returns MethodInfo instance for a generic type retrieved by using and gets - element type for the provided . - - starting type - the generic type definition to find - the method to search for - the element type for if found - element types - - - Gets a delegate that can be invoked to add an item to a collection of the specified type. - Type of list to use. - The delegate to invoke. - - - - Gets the Add method to add items to a collection of the specified type. - - Type for the collection. - The element type in the collection if found; null otherwise. - The method to invoke to add to a collection of the specified type. - - - - get concrete type that implements the genericTypeDefinition - - starting type - the generic type definition to find - concrete type that implementats the generic type - - - - Is the type an Entity Type? - - Type to examine - The client model. - bool indicating whether or not entity type - - - - Is the type or element type (in the case of nullableOfT or IEnumOfT) a Entity Type? - - Type to examine - bool indicating whether or not entity type - - - Checks whether the specified type is a DataServiceCollection type (or inherits from one). - Type to check. - true if the type inherits from DataServiceCollection; false otherwise. - - - Whether a variable of can be assigned null. - Type to check. - true if a variable of type can be assigned null; false otherwise. - - - Returns the list of properties defined on . - Type instance in question. - True to to get the properties declared on ; false to get all properties defined on . - Returns the list of properties defined on . - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - Returns the list of key properties defined on ; null if is complex. - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - true if has any (declared or inherited) properties; otherwise false. - Returns the list of key properties defined on ; null if is complex. - - - Gets the type of the specified . - Member to get type of (typically PropertyInfo or FieldInfo). - The type of property or field type. - - - - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - Property in question. - DataServiceKeyAttribute instance. - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - - - Checks whether the specified is a - closed constructed type of the generic type. - - Type to check. - Generic type for checkin. - true if is a constructed type of . - The check is an immediate check; no inheritance rules are applied. - - - - Determines whether the declared on - overrides a (virtual/abstract) property of a base type. - - The declaring type of the property. - The property to check. - true if overrides a property on a base types; otherwise false. - - - - Enumeration for the kind of key - - - - If this is not a key - - - If the key property name was equal to ID - - - If the key property name was equal to TypeName+ID - - - if the key property was attributed - - - - Caches wire type names and their mapped client CLR types. - - - - cache <T> and wireName to mapped type - - - - resolve the wireName/userType pair to a CLR type - - type name sent by server - type passed by user or on propertyType from a class - typeof context for strongly typed assembly - mapped clr type - - - - is the type a visible subclass with correct name - - type name from server - the type from user for materialization or property type - type being tested - the previously discovered matching type - if the mapping is ambiguous - - - type + wireName combination - - - type - - - type name from server - - - equality comparer for TypeName - - - equality comparer for TypeName - left type - right type - true if x and y are equal - - - compute hashcode for TypeName - object to compute hashcode for - computed hashcode - - - - Replacement for TypeCode enum. - - - - Indicates that no specific TypeCode exists for this type. - - - Boolean - - - Char - - - Signed 8-bit integer - - - Unsigned 8-bit integer - - - Signed 16-bit integer - - - Unsigned 16-bit integer - - - Signed 32-bit integer - - - Unsigned 32-bit integer - - - Signed 64-bit integer - - - Unsigned 64-bit integer - - - IEEE 32-bit float - - - IEEE 64-bit double - - - Decimal - - - DateTime - - - Unicode character string - - - Specifies that the case of the member name should not be considered when binding. - - - Specifies that only members declared at the level of the supplied type's hierarchy should be - considered. Inherited members are not considered. - - - Specifies that instance members are to be included in the search. - - - Specifies that static members are to be included in the search. - - - Specifies that public members are to be included in the search. - - - Specifies that non-public members are to be included in the search. - - - Specifies that public and protected static members up the hierarchy should - be returned. Private static members in inherited classes are not returned. - Static members include fields, methods, events, and properties. Nested types are not returned. - - - Specifies that types of the supplied arguments must exactly match the types - of the corresponding formal parameters. Reflection throws an exception if - the caller supplies a non-null Binder object, since that implies that the - caller is supplying BindToXXX implementations that will pick the appropriate method. - - - Returns the set of members whose parameter count matches the number of supplied - arguments. This binding flag is used for methods with parameters that have - default values and methods with variable arguments (varargs). This flag should - only be used with System.Type.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[]). - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Map of TypeCodes used with GetTypeCode method. Only initialized if that method is called. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Replacement for Type.IsAssignableFrom(Type) - - Type on which to call this helper method. - Type to test for assignability. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.IsSubclassOf(Type). - - Type on which to call this helper method. - Type to test if typeType is a subclass. - True if thisType is a subclass of otherType, otherwise false. - - TODO: Dev11:279438 is going to add this back to TypeInfo. This method will still be needed since it works on Type, but the - implementation should just be able to call the TypeInfo version directly instead of the full implementation here. - - - - - Replacement for GetMethod(string). - - Type on which to call this helper method. - Method to find on the specified type. - MethodInfo if one was found for the specified type, otherwise false. - - - - Replacement for Type.GetMethod(string, Type[]). - - Type on which to call this helper method. - Name of method to find on the specified type. - Array of arguments to the method. - MethodInfo if one was found for the specified type, otherwise false. - - - - Gets a MethodInfo from the specified type. Replaces uses of Type.GetMember. - - Type on which to call this helper method. - Name of the method to find. - True if the method is public, false otherwise. - True if the method is static, false otherwise. - Number of generics arguments the method has. - MethodInfo for the method that was found. - - - - Replacement for Type.GetProperty(string, Type). - - Type on which to call this helper method. - Name of public property to find on the specified type. - Return type for the property. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for Type.GetProperty(string). - - Type on which to call this helper method. - Name of public property to find on the specified type. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for PropertyInfo.GetGetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public get accessor of the specified PropertyInfo, or null if there is no get accessor or it is non-public. - - - - Replacement for PropertyInfo.GetSetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public set accessor of the specified PropertyInfo, or null if there is no set accessor or it is non-public. - - - - Replacement for MethodInfo.GetBaseDefinition(). - - MethodInfo on which to call this helper method. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetProperties(). - - Type on which to call this helper method. - Enumerable of all instance and static public properties on the type. - - - - Replacement for Type.GetFields(string). - - Type on which to call this helper method. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetFields(bindingAttr). - - Type on which to call this helper method. - True if method should search only public fields, false if it should search only non-public fields. - True if method should search only static fields, false if it should search only instance fields. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetCustomAttributes(Type, bool). - - Type on which to call this helper method. - Attribute type to find on the specified type. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetCustomAttributes(bool). - - Type on which to call this helper method. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetGenericArguments(). - - Type on which to call this helper method. - Array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition. - - - - Replacement for Type.GetInterfaces(). - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInstanceOfType(object). - - Type on which to call this helper method. - Object to test to see if it's an instance of the specified type. - See documentation for method being accessed in the body of the method. - - - - Replacement for Stream.Close(). - - Stream on which to call this helper method. - - Many Close methods have been eliminated on WinRT, the recommended pattern is to just use Dispose instead. - - - - - Replacement for Assembly.GetType(string, bool). - - Assembly on which to call this helper method. - Name of the type to get from the assembly. - True if an exception should be thrown if the type cannot be found, otherwise false. - Type instance if the type could be found in the assembly, otherwise null. - - TODO: Dev11:279441 will add a new method called Assembly.GetDefinedType(string) that returns a TypeInfo and will throw like Assembly.GetType(string, true) used to. - This helper method will still be needed but should be updated to use the new implementation once it exists. - - - - - Replacement for Assembly.GetTypes(). - - Assembly on which to call this helper method. - Enumerable of the types in the assembly. - - - - Replacement for GetField(string). - - Type on which to call this helper method. - Method to find on the specified type. - FieldInfo if one was found for the specified type, otherwise false. - - - - Checks if the specified PropertyInfo is an instance property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is an instance method. - - - - Checks if the specified PropertyInfo is a public property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is public. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Manages the type code mapping used to provide the GetTypeCode functionality. - - - - - Dictionary of types and their type codes. - - - - - Constructor for the map. - - - - - Method that does the lookup in the type map, given a type. - - Type for which to find the type code. - TypeCode for the specified type if it's in the map, otherwise TypeCode.Object. - - - Provides a string equality comparer for ASCII strings that is case-insensitive. - - - Map of ASCII character codes to their lowercase counterpart. - - This table actually goes into 8-bit characters, which means this is some - specific code page that tests confirm is a superset of ASCII. - - - - Static singleton instance. - - - - Compares two objects and returns a value indicating whether one is less than, equal to, - or greater than the other. - - First string to compare. - Second string to compare. - - A value smaller than zero if is less than - , zero if equal, or greater than zero if more. - - - and should have - all characters in the ASCII range, otherwise this method will thrown or - return results from some code page. - - - - - Determines whether the specified objects are equal. - - The first string to compare. - The second string to compare. - true if the specified objects are equal; otherwise, false - - and should have - all characters in the ASCII range, otherwise this method will thrown or - return results from some code page. - - - - - Returns a hash code for the specified object. - - The Object for which a hash code is to be returned. - A hash code for the specified object. - - - - This method returns a fast hash of the specified , - suitable only to quickly determine that two values are different. - - Value to get has code for. - A hash code for the specified value. - - - - Provides an HTTP-specific implementation of the WebRequest class - based on the Silverlight's Client HTTP stack - - - - - Provides an HTTP-specific implementation of the WebRequest class. - - - - Makes a request to a Uniform Resource Identifier (URI). - - - - Initializes a new WebRequest instance for the specified URI scheme. - - A Uri containing the URI of the requested resource. - The HttpStack setting. This can enforce usage of the specified HTTP stack. - A WebRequest descendant for the specified URI scheme. - - - Aborts the Request. - - - - When overridden in a descendant class, provides an asynchronous version of the - GetRequestStream method. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request. - - - - When overridden in a descendant class, begins an asynchronous request for an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - When overridden in a descendant class, returns a Stream for writing data to the Internet resource. - - The pending request for a stream. - A Stream to use to write request data. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A WebResponse that contains the response from the Internet resource. - - - - When overridden in a descendant class, gets or sets the content type of the request data being sent. - - - - - When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. - - - - - When overridden in a descendant class, gets or sets the protocol method to use in this request. - - - - - When overridden in a descendant class, gets the URI of the Internet resource associated with the request. - - - - Releases all resources held onto by this object. - - - - Creates an empty instance of the System.Net.WebHeaderCollection with the right settings for this - HTTP request. The two SL stacks need a bit different way to create this object for backward compatibility. - - A new empty instance of the System.Net.WebHeaderCollection. - - - - Returns the underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - The underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Gets or sets the 'Accept' header. - - - Sets the 'Content-Length' header. - - - Gets or sets a value that indicates whether to buffer the data read from the Internet resource. - - - Gets and sets the authentication information used by each query created using the context object. - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - The System.Net request that this class is wrapping - - - - - Our wrapper for the header collection - - - - - Constructor - - The URI to create the request for - - - Cancels a request to an Internet resource. - - - - Provides an asynchronous version of the GetRequestStream method. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request. - - - - Begins an asynchronous request for an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request for a Stream object to use to write data. - - The pending request for a stream. - A Stream to use to write request data. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A WebResponse that contains the response from the Internet resource. - - - - Creates an empty instance of the System.Net.WebHeaderCollection with the right settings for this - HTTP request. The two SL stacks need a bit different way to create this object for backward compatibility. - - A new empty instance of the System.Net.WebHeaderCollection. - - - - Returns the underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - The underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Gets or sets the 'Accept' header. - - - Gets or sets the 'Content-Length' header. - - - Gets or sets a value that indicates whether to buffer the data read from the Internet resource. - - - - Gets or sets the content type of the request data being sent. - - - - - Gets the collection of header name/value pairs associated with the request. - - - - - Gets or sets the protocol method to use in this request. - - - - - Gets the URI of the Internet resource associated with the request. - - - - Gets and sets the authentication information used by each query created using the context object. - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Provides an HTTP-specific implementation of the WebResponse class. - Based on the Silverlight's Client HTTP stack. - - - - - Provides an HTTP-specific implementation of the WebResponse class. - - - - Provides a response from a Uniform Resource Identifier (URI). - - - When overridden by a descendant class, closes the response stream. - - - Gets the stream with the response contents. - The stream with the response contents. - - - Releases resources. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - When overridden in a descendant class, gets the content length of data being received. - - - When overridden in a derived class, gets the content type of the data being received. - - - Gets a specific header by name. - Name of header. - The value for the header. - - - - Gets the underlying if there is one, or null otherwise. - - The underlying response. - - - Gets the headers of the data being received. - - - Gets the request that originated this response. - - - Gets the status code for the data being received. - - - - The System.Net web response this object is wrapping - - - - - Wrapped header collection - - - - - The request which originated this response - - - - - Constructor - - The System.Net response object to wrap - The originating request - - - Closes the response stream. - - - Gets a specific header by name. - Name of header. - The value for the header. - - - - Gets the underlying if there is one, or null otherwise. - - - The underlying response. - - - - Gets the stream with the response contents. - The stream with the response contents. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Gets the content length of data being received. - - - Gets the content type of the data being received. - - - Gets the headers of the data being received. - - - Gets the request that originated this response. - - - Gets the status code for the data being received. - - - Contains protocol headers associated with a request or response. - - - Contains protocol headers associated with a request or response. - - - - Sets a specified header - - The request header to set - The value for the header - - - Gets the number of headers in the collection. - - - Collection of header names. - - - Gets or sets a named header. - Header name. - The header value. - - - Gets or sets a known request header. - Header to get or set. - The header value. - Request headers are always allowed, the checks should be removed. - - - - The System.Net header collection this object is wrapping - - - - - The System.Net WebRequest this collection is associated with. - This can be null - in which case no request is associated with the headers. - If set some additional headers are allowed - for example the Cookie header - - - - - Constructor for the header collection - - The System.Net header collection to wrap - - - - Constructor for the header collection - - The System.Net header collection to wrap. - The System.Net request this header collection is associated with. - - - Gets the number of headers in the collection. - - - Collection of header names. - - - Gets or sets a named header. - Header name. - The header value. - - - Gets or sets a known request header. - Header to get or set. - The header value. - Request headers are always allowed, the checks should be removed. - - - Use this class to record read-only information about headers. - - - Header name. - - - Whether direct access to header is allowed on header collections. - - - - Initializes a new instance with AllowMultiValues set to false. - - Header name. - Whether direct access to header is allowed on header collections. - - - This class provides a look-up table for header information. - - - Header information look-up table. - - - for unknown header names. - - - Looks up header information by its name. - Name of header to look for. Only ASCII characters are allowed. - - The header information for the specified , - or blank information if not found. - - - - Initializes the header information look-up table. - header information look-up table - - - Use this class to map header HTTP header names and values. - - - Header names, in the same order as HttpResponseHeader enumerationvalues. - - - Given the specified , returns the name. - Enumeration value to get name for. - The name for the specified header value. - - - - The HTTP headers that may be specified in a client request. - - - - - The Cache-Control header, which specifies directives that must be obeyed by all cache control mechanisms along the request/response chain. - - - - - The Connection header, which specifies options that are desired for a particular connection. - - - - - The Date header, which specifies the date and time at which the request originated. - - - - - The Keep-Alive header, which specifies a parameter used into order to maintain a persistent connection. - - - - - The Pragma header, which specifies implementation-specific directives that might apply to any agent along the request/response chain. - - - - - The Trailer header, which specifies the header fields present in the trailer of a message encoded with chunked transfer-coding. - - - - - The Transfer-Encoding header, which specifies what (if any) type of transformation that has been applied to the message body. - - - - - The Upgrade header, which specifies additional communications protocols that the client supports. - - - - - The Via header, which specifies intermediate protocols to be used by gateway and proxy agents. - - - - - The Warning header, which specifies additional information about that status or transformation of a message that might not be reflected in the message. - - - - - The Allow header, which specifies the set of HTTP methods supported. - - - - - The Content-Length header, which specifies the length, in bytes, of the accompanying body data. - - - - - The Content-Type header, which specifies the MIME type of the accompanying body data. - - - - - The Content-Encoding header, which specifies the encodings that have been applied to the accompanying body data. - - - - - The Content-Langauge header, which specifies the natural language(s) of the accompanying body data. - - - - - The Content-Location header, which specifies a URI from which the accompanying body may be obtained. - - - - - The Content-MD5 header, which specifies the MD5 digest of the accompanying body data, for the purpose of providing an end-to-end message integrity check. - - - - - The Content-Range header, which specifies where in the full body the accompanying partial body data should be applied. - - - - - The Expires header, which specifies the date and time after which the accompanying body data should be considered stale. - - - - - The Last-Modified header, which specifies the date and time at which the accompanying body data was last modified. - - - - - The Accept header, which specifies the MIME types that are acceptable for the response. - - - - - The Accept-Charset header, which specifies the character sets that are acceptable for the response. - - - - - The Accept-Encoding header, which specifies the content encodings that are acceptable for the response. - - - - - The Accept-Langauge header, which specifies that natural languages that are preferred for the response. - - - - - The Authorization header, which specifies the credentials that the client presents in order to authenticate itself to the server. - - - - - The Cookie header, which specifies cookie data presented to the server. - - - - - The Expect header, which specifies particular server behaviors that are required by the client. - - - - - The From header, which specifies an Internet E-mail address for the human user who controls the requesting user agent. - - - - - The Host header, which specifies the host name and port number of the resource being requested. - - - - - The If-Match header, which specifies that the requested operation should be performed only if the client's cached copy of the indicated resource is current. - - - - - The If-Modified-Since header, which specifies that the requested operation should be performed only if the requested resource has been modified since the indicated data and time. - - - - - The If-None-Match header, which specifies that the requested operation should be performed only if none of client's cached copies of the indicated resources are current. - - - - - The If-Range header, which specifies that only the specified range of the requested resource should be sent, if the client's cached copy is current. - - - - - The If-Unmodified-Since header, which specifies that the requested operation should be performed only if the requested resource has not been modified since the indicated date and time. - - - - - The Max-Forwards header, which specifies an integer indicating the remaining number of times that this request may be forwarded. - - - - - The Proxy-Authorization header, which specifies the credentials that the client presents in order to authenticate itself to a proxy. - - - - - The Referer header, which specifies the URI of the resource from which the request URI was obtained. - - - - - The Range header, which specifies the the sub-range(s) of the response that the client requests be returned in lieu of the entire response. - - - - - The TE header, which specifies the transfer encodings that are acceptable for the response. - - - - - The Translate header, a Microsoft extension to the HTTP specification used in conjunction with WebDAV functionality. - - - - - The User-Agent header, which specifies information about the client agent. - - - - The Wlc-Safe-Agent header. - - - The Slug header. - - - This enumeration provides maximum and minimum acceptable values for status codes. - - - Maximum valid value. - - - Minimum valid value. - - - Use this class to implement a NameValueCollection over a dictionary. - - - Initializes a new NameValueFromDictionary instance. - Initial capacity. - Equality comparer for keys. - - - Adds a new value for the specified key. - The key to add a value to. - The value to add to the key. - - - Gets the comma-separated list of values for the specified key name. - Name to get values for. - - The comma-separated list of values for the specified , - null if empty or not found. - - - This could be improved by pre-computed the length and building into a StringBuilder, - but we expect most headers to have a single value. - - - - Sets the value of the specified name to a single value. - Header name. - Value. - - - Use this class to perform basic string validation. - - - Whitespace characters that can be trimmed on HTTP values. - - - Characters which are not allowed on HTTP tokens. - - - Checks whether the specified has any disallowed characters. - Name to check. - true if is a header value; false otherwise. - The name with no whitespace characters if valid; otherwise an exception is thrown. - - - Checks whether the specified has any non-ASCII or control characters. - Token to check. - true if has any non-ASCII characters or control characters; false otherwise. - - - - The exception that is thrown when an error occurs while accessing the - network through a pluggable protocol. - - - - - The actual response which caused this exception (if available) - - - - - Initializes a new instance of the WebException class. - - - - - Initializes a new instance of the WebException class with the specified error message. - - The text of the error message. - - - - Initializes a new instance of the WebException class with the specified error message and nested exception. - - The text of the error message. - A nested exception. - - - - Initializes a new instance of the WebException class with the specified error message and nested exception. - - The text of the error message. - A nested exception. - The actual response which caused this exception (if available) - - - - Creates a new WebException with a generic error message. - - Location of internal error, typically "Type.Method". - A new WebException instance. - - - Gets the response that the remote host returned. - - - Type of header collection. - - - HTTP request. - - - Unknown collection type. - - - General web request. - - - - Class with utility methods for working with and implementing Task based APIs - - - - - Already completed task. - - - - - Returns an already completed task instance with the specified result. - - Type of the result. - The value of the result. - An already completed task with the specified result. - - - - Returns an already completed task instance with the specified error. - - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task instance with the specified error. - - Type of the result. - The exception of the faulted result. - An already completed task with the specified exception. - - - - Returns an already completed task for the specified synchronous operation. - - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over CompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation. - - The type of the result returned by the operation. This MUST NOT be a Task type. - The synchronous operation to perform. - An already completed task. If the succeeded this will be a successfully completed task, - otherwise it will be a faulted task holding the exception thrown. - The advantage of this method over GetCompletedTask property is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns an already completed task for the specified synchronous operation which returns a task. - - The type of the task result. - The synchronous operation to perform. - The task returned by the or a faulted task if the operation failed. - The advantage of this method over direct call is that if the fails - this method returns a faulted task, instead of throwing exception. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method doesn't support operations which return another Task instance, to use that call FollowOnSuccessWithTask instead. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task succeeded. - - The result type of the antecedent task. - The result type of the operation. This MUST NOT be a Task or a type derived from Task. - The task to "append" the operation to. - The operation to execute if the succeeded. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - This method handles operation which returns another task. The method will unwrap and return a task which finishes when both - the antecedent task, the operation as well as the task returned by that operation finished. - - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute if the faulted. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - - - - Returns a new task which will consist of the followed by a call to the - which will only be invoked if the antecendent task faulted and it failed with exception of type TExceptionType. - - The type of the result of the task. - The exception type to catch. - The task to "append" the operation to. - The operation to execute if the faulted with an exception of type TExceptionType. - A new task which represents the antecedent task followed by a conditional invoke to the operation. - This method unlike ContinueWith will return a task which will fail if the antecedent task fails and the exception is not of the TExceptionType, - if the exception type matches, the task will return the value returned by the catchBlock. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - Suppresses default exception handling of a Task that would otherwise reraise the exception on the finalizer thread. - The Task to be monitored. - The original Task. - - - Gets the TaskScheduler instance that should be used to schedule tasks. - Factory to get the scheduler for. - The scheduler for the specified factory. - - - Asynchronously iterates through an enumerable of tasks. - The target factory. - The enumerable containing the tasks to be iterated through. - A Task that represents the complete asynchronous operation. - - - - The func used as the continuation (the func in the ContinueWith) for FollowOnSuccess implementations. - - The type of the result of the operation to follow up with. - The task which just finished. - The task completion source to apply the result to. - The func to execute as the follow up action in case of success of the . - - - - The implementation helper for FollowOnSuccess methods which don't allow result type of Task. - - The type of the result of the followup operation, this MUST NOT be a Task type. - The task to follow with operation. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFault methods. - - The type of the result of the task. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - The implementation helper for FollowOnFaultAndCatchException methods. - - The type of the result of the task. - The type of the exception to catch. - The task to follow with operation in case of fault. - Func which gets a task result value. - The operation to follow up with. - A new Task which wraps both the and the conditional execution of . - - - - Returns a new task which will consist of the followed by a call to the - which will get called no matter what the result of the antecedent task was. - - The type of the result of the task. - The task to "append" the operation to. - Function which gets a task result. - The operation to execute after the finished. - A new task which represents the antecedent task followed by an invoke to the operation. - - This method unlike ContinueWith will return a task which will fail if the antecedent task fails, thus it propagates failures. - Note that the operation may not return any value, since the original result of the antecedent task will be used always. - Also if the operation fails, the resulting task fails. If both tasks fail, the antecedent task failure is reported only. - - - - Returns already completed task instance. - - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The expected content type for a batch requests is "multipart/mixed;boundary=batch" not "{0}"." - - - - - A string like "The POST request expected a response with content. ID={0}" - - - - - A string like "The web response contained unexpected sections. ID={0}" - - - - - A string like "The ResolveEntitySet function must return a non-null Uri for the EntitySet '{0}', otherwise you must set the BaseUri property." - - - - - A string like "Unable to convert value '{0}' into a key string for a URI." - - - - - A string like "System.Data.Services.Client internal error {0}." - - - - - A string like "The stream named '{0}' cannot be modified because it does not have an edit-media link. Make sure that the stream name is correct and that an edit-media link for this stream is included in the entry element in the response." - - - - - A string like "The property '{0}' is not supported when MaxProtocolVersion is greater than '{1}'." - - - - - A string like "Media link object of type '{0}' is configured to use the MIME type specified in the property '{1}'. However, that property's value is null or empty." - - - - - A string like "Response version '{0}' is not supported. The only supported versions are: {1}." - - - - - A string like "The response version is {0}, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the version required by the response, and then retry the request. If the client does not support the required protocol version, then upgrade the client." - - - - - A string like "The request requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the higher version, and then retry the operation." - - - - - A string like "The entity type {0} is marked with MediaEntry attribute but no save stream was set for the entity." - - - - - A string like "Can't use SetSaveStream on entity with type {0} which has a media entry property defined." - - - - - A string like "Calling SetSaveStream on an entity with state '{0}' is not allowed." - - - - - A string like "The entity does not have a stream named '{0}'. Make sure that the name of the stream is correct." - - - - - A string like "There is no self-link or edit-media link for the stream named '{0}'. Make sure that either the self-link or edit-media link is specified for this stream." - - - - - A string like "The serialized resource has a null value in key member '{0}'. Null values are not supported in key members." - - - - - A string like "An entity in the 'Added' state cannot be changed to '{0}', it can only be changed to 'Detached'." - - - - - A string like "The content-type value '{0}' is not supported." - - - - - A string like "{0}.{1} must return a non-null open property collection." - - - - - A string like "The open object property '{0}:{1}' is not defined." - - - - - A string like "{0} has multiple definitions for OpenObjectAttribute." - - - - - A string like "The closed type {0} does not have a corresponding {1} settable property." - - - - - A string like "{0} has key properties declared on a non-simple type." - - - - - A string like "{0} has key properties declared at different levels within its type hierarchy." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the MIME type property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the data property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MediaEntry attribute that references a property called '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "The type '{0}' has no settable properties." - - - - - A string like "The open type property '{0}' returned a null instance." - - - - - A string like "Resolving type from '{0}' that inherits from '{1}' is ambiguous." - - - - - A string like "The type '{0}' is not supported by the client library." - - - - - A string like "The type '{0}' has a property '{1}' which is a collection property. Collection properties are only supported in 'V3' version of the protocol and above." - - - - - A string like "Multiple types were found with the same name '{0}'. Type names must be unique." - - - - - A string like "The type '{0}' is a collection type. Collection types are only supported in 'V3' version of the protocol and above." - - - - - A string like "An item in the collection property '{0}' is not of the correct type. All items in the collection property must be of the collection item type." - - - - - A string like "A collection of item type '{0}' has an item which is not of the correct type. All items in the collection must be of the collection item type." - - - - - A string like "The property '{0}' is of entity type and it cannot be a property of the type '{1}', which is not of entity type. Only entity types can contain navigation properties." - - - - - A string like "The current value '{1}' type is not compatible with the expected '{0}' type." - - - - - A string like "Error processing response stream. Atom payload has a feed and the property '{0}' is not a collection." - - - - - A string like "Error processing response stream. Atom payload has an entry and the property '{0}' is a collection." - - - - - A string like "Error processing response stream. Server failed with following message:\r\n{0}" - - - - - A string like "The value of the property '{0}' is null. Properties that are a collection type of primitive or complex types cannot be null." - - - - - A string like "The value of the collection of item type '{0}' is null. A collection cannot have a null value." - - - - - A string like "The entity with identity '{0}' does not have a self-link or an edit-link associated with it. Please make sure that the entity has either a self-link or an edit-link associated with it." - - - - - A string like "The PropertyName property value '{1}' of EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The PropertyName property value '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' is provided more than once." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a resource type is not a primitive type." - - - - - A string like "The property '{0}' on type '{1}' is not present or is inaccessible." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'DataServiceStreamLink'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the TargetName property of EntityPropertyMappingAttribute." - - - - - A string like "The TargetName property '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' have the same value. Conflicting properties are '{2}' and '{3}'." - - - - - A string like "Character set '{0}' is not supported." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it contained escape characters even though it was not quoted." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it terminated with escape character. Escape characters must always be followed by a character in a parameter value." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because the closing quote character could not be found while the parameter value started with a quote character." - - - - - A string like "The expression type {0} is not supported." - - - - - A string like "Could not convert constant {0} expression to string." - - - - - A string like "The method '{0}' is not supported." - - - - - A string like "The unary operator '{0}' is not supported." - - - - - A string like "The binary operator '{0}' is not supported." - - - - - A string like "The constant for '{0}' is not supported." - - - - - A string like "The member access of '{0}' is not supported." - - - - - A string like "Can't cast to unsupported type '{0}'" - - - - - A string like "The expression {0} is not supported." - - - - - A string like "Error translating Linq expression to URI: {0}" - - - - - A string like "Can't add duplicate query option '{0}'." - - - - - A string like "Can't add query option '{0}' because it would conflict with the query options from the translated Linq expression." - - - - - A string like "Can't add query option '{0}' because it begins with reserved character '$'." - - - - - A string like "Referencing public field '{0}' not supported in query option expression. Use public property instead." - - - - - A string like "The {0} query option cannot be specified after the {1} query option." - - - - - A string like "Cannot initialize an instance of entity type '{0}' because '{1}' and '{2}' do not refer to the same source entity." - - - - - A string like "The expression '{0}' is not a valid expression for navigation path. The only supported operations inside the lambda expression body are MemberAccess and TypeAs. The expression must contain at least one MemberAccess and it cannot end with TypeAs." - - - - - A string like "Initializing instances of the entity type {0} with the expression {1} is not supported." - - - - - A string like "Constructing or initializing instances of the type {0} with the expression {1} is not supported." - - - - - A string like "Cannot assign the value from the {0} property to the {1} property. When projecting results into a entity type, the property names of the source type and the target type must match for the properties being projected." - - - - - A string like "The collection property '{0}' cannot be used in an 'orderby' query expression. Collection properties are not supported by the 'orderby' query option." - - - - - A string like "The collection property '{0}' cannot be used in a 'where' query expression. Collection properties are only supported as the source of 'any' or 'all' methods in a 'where' query option." - - - - - A string like "Navigation to members of the collection property '{0}' in a 'select' query expression is not supported." - - - - - A string like "The property '{0}' of type 'DataServiceStreamLink' cannot be used in 'where' or 'orderby' query expressions. Properties of type 'DataServiceStreamLink' are not supported by these query options." - - - - - A string like "Unsupported expression '{0}' in '{1}' method. Expression cannot end with TypeAs." - - - - - A string like "The method '{0}' is not supported when MaxProtocolVersion is less than '{1}'." - - - - - A string like "The type '{0}' is not an entity type. The target type for a TypeAs operator must be an entity type." - - - - - A string like "The source parameter for the '{0}' method has to be either a navigation or a collection property." - - - - - A string like "The method '{0}' is not supported by the 'orderby' query option." - - - - - A string like "The DataServiceCollection to be tracked must contain entity typed elements with at least one key property. The element type '{0}' does not have any key property." - - - - - A string like "Setting an instance of DataServiceCollection to an entity property is disallowed if the instance is already being tracked. Error occurred on property '{0}' for entity type '{1}'." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by DataServiceCollection." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by a collection object of type '{1}'." - - - - - A string like "Null values are disallowed during '{0}' operations on DataServiceCollection." - - - - - A string like "A value provided during '{0}' operation on DataServiceCollection is not of an entity type with key." - - - - - A string like "Entity set name has not been provided for an entity of type '{0}'." - - - - - A string like "An attempt was made to add entity of type '{0}' to a collection in which the same entity already exists." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type '{0}' does not implement the INotifyPropertyChanged interface." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type contains a collection property of type '{0}' that does not implement the INotifyCollectionChanged interface." - - - - - A string like "An attempt to track a complex object of type '{0}' failed because the complex object is already being tracked." - - - - - A string like "An attempt to track a collection object of type '{0}' failed because the collection object is already being tracked." - - - - - A string like "The null value from property '{0}' cannot be assigned to a type '{1}'." - - - - - A string like "An entry of type '{0}' cannot be added to a collection that contains instances of type '{1}'. This may occur when an existing entry of a different type has the same identity value or when the same entity is projected into two different types in a single query." - - - - - A string like "An entry returned by the navigation property '{0}' is null and cannot be initialized. You should check for a null value before accessing this property." - - - - - A string like "An entry that contains the data required to create an instance of type '{0}' is null and cannot be initialized. You should check for a null value before accessing this entry." - - - - - A string like "An entity of type '{0}' cannot be projected because there is already an instance of type '{1}' for '{2}'." - - - - - A string like "The expected property '{0}' could not be found while processing an entry. Check for null before accessing this property." - - - - - A string like "Property '{0}' is not an entity." - - - - - A string like "Collection property '{0}' cannot be created because the type '{1}' does not have a public parameterless constructor." - - - - - A string like "The element '{0}' is not a valid collection item. The name of the collection item element must be 'element' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is an entity type, but the type in the response payload does not represent an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is not an entity type, but the type in the response payload represents an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "Materialization of top level collection expected ICollection<>, but actual type was {0}." - - - - - A string like "The response payload is a not a valid response payload. Please make sure that the top level element is a valid Atom or JSON element or belongs to '{0}' namespace." - - - - - A string like "The response content type '{0}' is not currently supported." - - - - - A string like "Cannot materialize the results into a collection type '{0}' because it does not have a parameterless constructor." - - - - - A string like "Cannot materialize a collection of a primitives or complex without the type '{0}' being a collection." - - - - - A string like "A circular loop was detected while serializing the property '{0}'. You must make sure that loops are not present in properties that return a collection or complex type." - - - - - A string like "A circular loop was detected while serializing the complex type '{0}'. You must make sure that loops are not present in a collection or a complex type." - - - - - A string like "The operation parameter named '{0}' has a collection item of Edm type kind '{1}'. A collection item must be either a primitive type or a complex Edm type kind." - - - - - A string like "The operation parameter named '{0}' has a null collection item. The items of a collection must not be null." - - - - - A string like "The operation parameter named '{0}' was of Edm type kind '{1}'. An operation parameter must be either a primitive type, a complex type or a collection of primitive or complex types." - - - - - A string like "The parameter alias '{0}' was not present in the request URI. All parameters passed as alias must be present in the request URI." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "Internal error at '{0}'." - - - - - A string like "Internal error at '{0}' for argument '{1}'." - - - - - A string like "Not all requests in the batch had a response." - - - - - A string like "Expected an absolute, well formed http URL without a query or fragment." - - - - - A string like "You must set the BaseUri property before you perform this operation." - - - - - A string like "The Uri that is returned by the ResolveEntitySet function must be an absolute, well-formed URL with an "http" or "https" scheme name and without any query strings or fragment identifiers." - - - - - A string like "Because the requestUri is a relative Uri, you must set the BaseUri property on the DataServiceContext." - - - - - A string like "The identity value specified by either the Atom id element or the DataServiceId header must be an absolute URI." - - - - - A string like "The 'Location' header value specified in the response must be an absolute URI." - - - - - A string like "One of the link's resources failed to insert." - - - - - A string like "An error occurred for this query during batch execution. See the inner exception for details." - - - - - A string like "Expected a relative URL path without query or fragment." - - - - - A string like "Changes cannot be saved as a batch when an entity has one or more streams associated with it. Retry the SaveChanges operation without enabling the SaveChangesOptions.Batch and the SaveChangesOptions.BatchWithIndependentOperations options." - - - - - A string like "This operation requires the entity be of an Entity Type, and has at least one key property." - - - - - A string like "This operation requires the entity to be of an Entity Type, either mark its key properties, or attribute the class with DataServiceEntityAttribute" - - - - - A string like "The context is not currently tracking the entity." - - - - - A string like "The context is already tracking the entity." - - - - - A string like "The context is already tracking a different entity with the same resource Uri." - - - - - A string like "The current object did not originate the async result." - - - - - A string like "The asynchronous result has already been completed." - - - - - A string like "The operation has been canceled." - - - - - A string like "The context can not load the related collection or reference for objects in the added state." - - - - - A string like "One or both of the ends of the relationship is in the added state." - - - - - A string like "One or both of the ends of the relationship is in the deleted state." - - - - - A string like "The context is already tracking the relationship." - - - - - A string like "The sourceProperty is not a reference or collection of the target's object type." - - - - - A string like "AddLink and DeleteLink methods only work when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works if the source entity is in a non-deleted state." - - - - - A string like "SetLink method only works when the sourceProperty is not a collection." - - - - - A string like "Saving entities with the [MediaEntry] attribute is not currently supported in batch mode. Use non-batched mode instead." - - - - - A string like "Unexpected result (<= 0) from stream.Read() while reading raw data for this property." - - - - - A string like "Attempt to delete a link between two objects failed because the identity of the target object of the link depends on the source object of the link." - - - - - A string like "The ContentType value for a named stream cannot be null or an empty string." - - - - - A string like "This operation requires that the specified entity be a Media Link Entry and that the ReadStreamUri be available. However, the specified entity either is not a Media Link Entry or does not have a valid ReadStreamUri value. If the entity is a Media Link Entry, re-query the data service for this entity to obtain a valid ReadStreamUri value." - - - - - A string like "There is no edit-media link for the entity's media stream. Make sure that the edit-media link is specified for this stream." - - - - - A string like "The response should have both 'Location' and 'DataServiceId' headers or the response should not have any of these headers." - - - - - A string like "OperationParameter of type BodyOperationParameter cannot be specified when the HttpMethod is set to GET." - - - - - A string like "The Name property of an OperationParameter must be set to a non-null, non-empty string." - - - - - A string like "Multiple uri operation parameters were found with the same name. Uri operation parameter names must be unique." - - - - - A string like "Multiple body operation parameters were found with the same name. Body operation parameter names must be unique." - - - - - A string like "The HttpMethod must be GET or POST." - - - - - A string like "EndExecute overload for void service operations and actions received a non-void response from the server." - - - - - A string like "The operation parameters array contains a null element which is not allowed." - - - - - A string like "An implementation of ODataEntityMetadataBuilder is required, but a null value was returned from GetEntityMetadataBuilder." - - - - - A string like "SendingRequest is a deprecated event. If using BuildingRequest, you cannot use SendingRequest. Use SendingRequest2 instead." - - - - - A string like "The ChangeState method does not support the 'Added' state because additional information is needed for inserts. Use either AddObject or AddRelatedObject instead." - - - - - A string like "The entity's state can only be changed to 'Modified' if it is currently 'Unchanged'." - - - - - A string like "DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property must not return a null value. Please return a non-null value for this property." - - - - - A string like "SendingRequest cannot be used in combination with the DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property. Please use SendingRequest2 with DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property instead." - - - - - A string like "The ReadingEntity and WritingEntity events are only supported when using the Atom format. Use the Atom format or remove all registered handlers for these events before enabling another format." - - - - - A string like "When you call the UseJson method without a parameter, you must use the LoadServiceModel property to provide a valid IEdmModel instance." - - - - - A string like "UseJson is not supported when the MaxProtocolVersion is set to less than V3. This JSON format is only supported by OData v3 or a later version." - - - - - A string like "To use the JSON format, you must first call DataServiceContext.Format.UseJson() and supply a valid service model." - - - - - A string like "Multiple implementations of ICollection<T> is not supported." - - - - - A string like "Collection properties of a collection type are not supported." - - - - - A string like "An error occurred while processing this request." - - - - - A string like "Only a single enumeration is supported by this IEnumerable." - - - - - A string like "Error processing response stream. Element value interspersed with a comment is not supported." - - - - - A string like "Error processing response stream. The XML element contains mixed content." - - - - - A string like "Error processing response stream. Atom payload has a link, local object has a simple value." - - - - - A string like "The response to this POST request did not contain a 'location' header. That is not supported by this client." - - - - - A string like "Error processing response stream. Missing id element in the response." - - - - - A string like "An item in the collection property has a null value. Collection properties that contain items with null values are not supported." - - - - - A string like "A collection property of primitive types cannot contain an item of a complex type." - - - - - A string like "A collection property of complex types cannot contain an item of a primitive type." - - - - - A string like "Content-Type header value missing." - - - - - A string like "Media type is missing a parameter value." - - - - - A string like "Media type requires a ';' character before a parameter definition." - - - - - A string like "Media type requires a '/' character." - - - - - A string like "Media type requires a subtype definition." - - - - - A string like "Media type is unspecified." - - - - - A string like "Count value is not part of the response stream." - - - - - A string like "The top level link is only available after the response has been enumerated." - - - - - A string like "The collection is not part of the current entry" - - - - - A string like "This response does not contain any nested collections. Use null as Key instead." - - - - - A string like "GetStream method is not supported." - - - - - A string like "Empty string." - - - - - A string like "Empty array." - - - - - A string like "Array contains a null element." - - - - - A string like "An operation between an expression and a type is not supported." - - - - - A string like "The conditional expression is not supported." - - - - - A string like "The parameter expression is not supported." - - - - - A string like "Lambda Expressions not supported." - - - - - A string like "New Expressions not supported." - - - - - A string like "Member Init Expressions not supported." - - - - - A string like "List Init Expressions not supported." - - - - - A string like "New Array Expressions not supported." - - - - - A string like "Invocation Expressions not supported." - - - - - A string like "Can only specify query options (orderby, where, take, skip) after last navigation." - - - - - A string like "Expand query option not allowed." - - - - - A string like "Individual properties can only be selected from a single resource or as part of a type. Specify a key predicate to restrict the entity set to a single instance or project the property into a named or anonymous type." - - - - - A string like "Multiple key predicates cannot be specified for the same entity set." - - - - - A string like "Custom query option not allowed." - - - - - A string like "Cannot specify query options (orderby, where, take, skip, count) on single resource." - - - - - A string like "Cannot add count option to the resource set." - - - - - A string like "Cannot add count option to the resource set because it would conflict with existing count options." - - - - - A string like "Can only specify 'select' query option after last navigation." - - - - - A string like "Cannot translate multiple Linq Select operations in a single 'select' query option." - - - - - A string like "Construction of entity type instances must use object initializer with default constructor." - - - - - A string like "Referencing of local entity type instances not supported when projecting results." - - - - - A string like "Can only project the last entity type in the query being translated." - - - - - A string like "Cannot create projection while there is an explicit expansion specified on the same query." - - - - - A string like "The target type for an OfType filter could not be determined." - - - - - A string like "Non-redundant type filters (OfType<T>, C# 'as' and VB 'TryCast') can only be used once per resource set." - - - - - A string like "The expression 'TypeAs' is not supported when MaxProtocolVersion is less than '3.0'." - - - - - A string like "The '$format' query option is not supported. Use the DataServiceContext.Format property to set the desired format." - - - - - A string like "DataServiceKey attribute must specify at least one property name." - - - - - A string like "Target collection for the Load operation must have an associated DataServiceContext." - - - - - A string like "The tracking of DataServiceCollection can not be stopped for child collections." - - - - - A string like "This operation is only supported on collections that are being tracked." - - - - - A string like "The DataServiceContext to which the DataServiceCollection instance belongs could not be determined. The DataServiceContext must either be supplied in the DataServiceCollection constructor or be used to create the DataServiceQuery or QueryOperationResponse object that is the source of the items in the DataServiceCollection." - - - - - A string like "An item could not be added to the collection. When items in a DataServiceCollection are tracked by the DataServiceContext, new items cannot be added before items have been loaded into the collection." - - - - - A string like "A previous LoadAsync operation has not yet completed. You cannot call the LoadAsync method on the DataServiceCollection again until the previous operation has completed." - - - - - A string like "The LoadAsync method cannot be called when the DataServiceCollection is not a child collection of a related entity." - - - - - A string like "Only a typed DataServiceQuery object can be supplied when calling the LoadAsync method on DataServiceCollection." - - - - - A string like "Add/Update/Delete operation cannot be performed on a child entity, if the parent entity is already detached." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but none was found." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but more than one was found." - - - - - A string like "Expected an Atom feed or entry in the response from the server, but found an unexpected element instead." - - - - - A string like "A DataServiceCollection can only contain entity types. Primitive and complex types cannot be contained by this kind of collection." - - - - - A string like "Reset should never be called for collection reader in an internal enumerable." - - - - - A string like "This target framework does not enable you to directly enumerate over a data service query. This is because enumeration automatically sends a synchronous request to the data service. Because this framework only supports asynchronous operations, you must instead call the BeginExecute and EndExecute methods to obtain a query result that supports enumeration." - - - - - A string like "Only instances of HttpWebRequest are currently allowed for this property. Other subtypes of WebRequest are not supported." - - - - - A string like "This web request was aborted." - - - - - A string like "The DataServiceContext.Credentials property can only be set when you are using the Silverlight Client HTTP implementation. To use this implementation, set the DataServiceContext.HttpStack property to a value of ClientHttp." - - - - - A string like "The DataServiceContext.UseDefaultCredentials property cannot be set to false when you are using the XMLHTTP implementation. To use non-default authentication credentials, you must set the DataServiceContext.HttpStack property to a value of ClientHttp to guarantee that the Silverlight Client HTTP implementation is used" - - - - - A string like "Parameters of type DataServiceQuery<T> can not be used as the input enumerators for DataServiceCollection. Try using result of DataServiceQuery<T>.EndExecute instead." - - - - - A string like "Silverlight Browser Http Stack is not supported on the Portable Library, only Client Http is supported." - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index f7eab3b6a..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/de/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index dd8225b98..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/es/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 522d752a6..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index a57f8de41..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/it/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 5eb7a1090..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 130063ff8..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index e76cf681c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 0c3361447..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index d020d3df7..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/Microsoft.Data.Services.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/Microsoft.Data.Services.Client.dll deleted file mode 100644 index 41ee7746e..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/Microsoft.Data.Services.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/Microsoft.Data.Services.Client.xml b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/Microsoft.Data.Services.Client.xml deleted file mode 100644 index 8d5e0ec06..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/Microsoft.Data.Services.Client.xml +++ /dev/null @@ -1,23365 +0,0 @@ - - - - Microsoft.Data.Services.Client - - - - - Class with utility methods to help with debug only code. - - - - - Checks that the method which called this helper method - was not called by any code outside of the Microsoft.Data.OData.dll. - - - The method is only called when in DEBUG builds, since it's quite expensive and we expect - all our external callers to run DEBUG builds at least sometimes. - The method is also called when compiling for FxCop analysis, as we run our official FxCop - pass on RET build and we need to check that all internal methods call this one to check for accessibility - even though only in debug builds. - - - - - Class with utility methods to deal with EDM values - - - - - Converts a primitive OData value to the corresponding . - - The primitive OData value to convert. - The for the primitive value (if available). - An for the . - - - - Gets the clr value of the edm value based on its type. - - The edm value. - The clr value - - - - Converts a floating-point edm value to a clr value - - The edm floating-point value. - Kind of the primitive. - The converted value - - - - Converts an integer edm value to a clr value. - - The integer value. - Kind of the primitive. - The converted value - - - - Convert a primitive value which didn't match any of the known values of the enumeration. - - The value to convert. - The expected primitive type or null. - The converted value. - - - - Tries to convert the given value if it is of a type specific to the client library but still able to be mapped to EDM. - - The value to convert. - The expected type of the value or null. - The converted value, if conversion was possible. - Whether or not conversion was possible. - - - - Ensures a primitive type reference for a given primitive type kind. - - The possibly null type reference. - The primitive type kind to ensure. - An instance created for the - if is null; if is not null, validates it and then returns it. - - - - Extensibility point for customizing how OData entity metadata (edit-links, IDs, ETags, etc) is built. - - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the edit link of a stream value. - - The name of the stream property the edit link is computed for; - or null for the default media resource. - - The absolute URI of the edit link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream edit link. - - - - - Gets the read link of a stream value. - - The name of the stream property the read link is computed for; - or null for the default media resource. - - The absolute URI of the read link for the specified stream property or the default media resource. - Or null if it is not possible to determine the stream read link. - - - - - Gets the navigation link URI for the specified navigation property. - - The name of the navigation property to get the navigation link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null navigation link url is an uninitialized value or a value that was set explicitly. - - The navigation link URI for the navigation property. - null if its not possible to determine the navigation link for the specified navigation property. - - - - - Gets the association link URI for the specified navigation property. - - The name of the navigation property to get the association link URI for. - The value of the link URI as seen on the wire or provided explicitly by the user or previously returned by the metadata builder, which may be null. - true if the value of the was seen on the wire or provided explicitly by the user or previously returned by - the metadata builder, false otherwise. This flag allows the metadata builder to determine whether a null association link url is an uninitialized value or a value that was set explicitly. - - The association link URI for the navigation property. - null if its not possible to determine the association link for the specified navigation property. - - - - - Get the operation target URI for the specified . - - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - - The target URI for the operation. - null if it is not possible to determine the target URI for the specified operation. - - - - - Get the operation title for the specified . - - The fully qualified name of the operation for which to get the target URI. - - The title for the operation. - null if it is not possible to determine the title for the specified operation. - - - - - Extensibility point for customizing how OData uri's are built. - - - - - Builds the base URI for the entity container. - - - The base URI for the entity container. - This can be either an absolute URI, - or relative URI which will be combined with the URI of the metadata document for the service. - null if the model doesn't have the service base URI annotation. - - - - - Builds the URI for an entity set. - - The URI to append to. - The entity set name. - The entity set URI. - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Builds the edit link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The edit link for the stream. - - - - Builds the read link for a stream property. - - The URI to append to. - - The name of the stream property the link is computed for; - or null for the default media resource. - - The read link for the stream. - - - - Builds the navigation link for the navigation property. - - The URI to append to. - The name of the navigation property to get the navigation link URI for. - The navigation link URI for the navigation property. - - - - Builds the association link for the navigation property. - - The URI to append to. - The name of the navigation property to get the association link URI for. - The association link URI for the navigation property. - - - - Builds the operation target URI for the specified . - - The URI to append to. - The fully qualified name of the operation for which to get the target URI. - The binding parameter type name to include in the target, or null/empty if there is none. - The target URI for the operation. - - - - Builds a URI with the given type name appended as a new segment on the base URI. - - The URI to append to. - The fully qualified type name to append. - The URI with the type segment appended. - - - - Shared JSON util code for ODataLib and Server. - - - - - Determines if the given double is serialized as a string in JSON. - - The value to check. - true if the value should be written as a string, false if should be written as a JSON number. - - - - Determines if the given primitive value is of a basic type where we can rely on just the JSON representation to convey type information. - If so, we don't have to write the type name. - - The primitive value in question. - The type of the primitive value. - true if the given primitive value is of a basic JSON type, false otherwise. - - - - A simple implementation of LazyOfT since the framework version is not available in all platforms we compile this code in... - - Type to lazy create. - - - - For thread safty in creating the value. - - - - - The factory method to create the lazy instance. - - - - - Holds the lazy instance to create. - - - - - true if the factory method has been called, false otherwise. - - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - - - - Creates an instance of ODataLazyOfT. - - The factory method to create the lazy instance. - true if the value will be created in a thread safety, false assume single thread access to Value. - - - - Creates the value. - - - - - Creates the value if it hasn't already been created and returns the created value. - - - - - Common defintions and functions for ALL product assemblies - - - Common defintions and functions for the server and client lib - - - - Type of OutOfMemoryException. - - - Type of StackOverflowException. - - - Type of ThreadAbortException. - - - - Determines whether the specified exception can be caught and - handled, or whether it should be allowed to continue unwinding. - - to test. - - true if the specified exception can be caught and handled; - false otherwise. - - - - - List of types unsupported by the client - - - - - Test whether a type is unsupported by the client lib - - The type to test - Returns true if the type is not supported - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Whether it is a nested (recursive) call. - Collection element type name or null if not a collection. - - The following rules are used for collection type names: - - it has to start with "Collection(" and end with ")" - trailing and leading whitespaces make the type not to be recognized as collection. - - there is to be no characters (including whitespaces) between "Collection" and "(" - otherwise it won't be recognized as collection - - collection item type name has to be a non-empty string - i.e. "Collection()" won't be recognized as collection - - nested collection - e.g. "Collection(Collection(Edm.Int32))" - are not supported - we will throw - Note the following are examples of valid type names which are not collection: - - "Collection()" - - " Collection(Edm.Int32)" - - "Collection (Edm.Int32)" - - "Collection(" - If the type name is not recognized as a collection it will be eventually passed to type resolver if it is not a known primitive type. - - - - - Convert the DataServiceProtocolVersion to ODataVersion. - - DataServiceProtocolVersion value to convert. - an ODataVersion value for the given DataServiceProtocolVersion value. - - - - Converts the given version instance to ODataVersion enum. - - Version instance containing the response payload. - ODataVersion enum value for the given version. - - - - Gets the type name (without namespace) of the specified , - appropriate as an externally-visible type name. - - Type to get name for. - The type name for . - - - - Gets the type namespace of the specified , - appropriate as an externally-visible type name. - - Type to get namespace for. - The namespace for . - - - Tries to read a WCF Data Service version string. - Text to read. - Parsed version and trailing text. - true if the version was read successfully; false otherwise. - - - - Set the message quota limits for WCF Data services server. - - Instance of ODataMessageQuotas. - - - Provides helper methods for processing HTTP requests. - - - UTF-8 encoding, without the BOM preamble. - - While a BOM preamble on UTF8 is generally benign, it seems that some MIME handlers under IE6 will not - process the payload correctly when included. - - Because the data service should include the encoding as part of the Content-Type in the response, - there should be no ambiguity as to what encoding is being used. - - For further information, see http://www.unicode.org/faq/utf_bom.html#BOM. - - - - Reads a Content-Type header and extracts the MIME type/subtype. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - parameters of content type - - - Builds a Content-Type given the mime type and all the parameters. - The MIME type in standard type/subtype form, without parameters. - Parameters to be appended in the mime type. - content type containing the mime type and all the parameters. - - - Reads a Content-Type header and extracts the MIME type/subtype and encoding. - The Content-Type header. - The MIME type in standard type/subtype form, without parameters. - Encoding (possibly null). - parameters of content type - - - Gets the named encoding if specified. - Name (possibly null or empty). - - The named encoding if specified; the encoding for HTTP missing - charset specification otherwise. - - - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - - Reads the type and subtype specifications for a MIME type. - Text in which specification exists. - Pointer into text. - Type of media found. - Subtype of media found. - - - Reads a media type definition as used in a Content-Type header. - Text to read. - The defined by the specified - All syntactic errors will produce a 400 - Bad Request status code. - - - - Reads a token on the specified text by advancing an index on it. - - Text to read token from. - Index for the position being scanned on text. - true if the end of the text was reached; false otherwise. - - - - Skips whitespace in the specified text by advancing an index to - the next non-whitespace character. - - Text to scan. - Index to begin scanning from. - true if the end of the string was reached, false otherwise. - - - Read a parameter for a media type/range. - Text to read from. - Pointer in text. - Array with parameters to grow as necessary. - - - - Reads Mime type parameter value for a particular parameter in the Content-Type/Accept headers. - - Name of parameter. - Header text. - Parsing index in . - String representing the value of the parameter. - - - - Determines whether the specified character is a valid HTTP separator. - - Character to verify. - true if c is a separator; false otherwise. - - See RFC 2616 2.2 for further information. - - - - - Determines whether the specified character is a valid HTTP header token character. - - Character to verify. - true if c is a valid HTTP header token character; false otherwise. - - - Encoding to fall back to an appropriate encoding is not available. - - - Encoding implied by an unspecified encoding value. - See http://tools.ietf.org/html/rfc2616#section-3.4.1 for details. - - - Class to store media parameter information. - - - - Creates a new instance of MediaParameter. - - Name of the parameter. - Value of the parameter. - True if the value of the parameter is quoted, otherwise false. - - - - Gets the original value of the parameter. - - the original value of the parameter. - - - Gets the name of the parameter. - - - Value of the parameter. - - - true if the value is quoted, otherwise false. - - - Use this class to represent a media type definition. - - - Parameters specified on the media type. - - - Sub-type specification (for example, 'plain'). - - - Type specification (for example, 'text'). - - - - Initializes a new read-only instance. - - Type specification (for example, 'text'). - Sub-type specification (for example, 'plain'). - Parameters specified on the media type. - - - - Selects the encoding appropriate for this media type specification - (possibly null). - - - The encoding explicitly defined on the media type specification, or - the default encoding for well-known media types. - - - As per http://tools.ietf.org/html/rfc2616#section-3.7, the type, - subtype and parameter name attributes are case-insensitive. - - - - Returns the MIME type in standard type/subtype form, without parameters. - - - media type parameters - - - - Component for formatting literals for use in URIs, ETags, and skip-tokens. - - - - Constant table of nibble-to-hex convertion values. - - - Default singleton instance for parenthetical keys, etags, or skiptokens. - - - Default singleton instance for keys formatted as segments. - - - - Gets the literal formatter for keys. - - if set to true then the key is going to be written as a segment, rather than in parentheses. - The literal formatter for keys. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - Converts the given byte[] into string. - byte[] that needs to be converted. - String containing hex values representing the byte[]. - - - - Formats the literal without a type prefix, quotes, or escaping. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Formats the literal without a type prefix or quotes, but does escape it. - - The non-null value to format. - The formatted literal, without type marker or quotes. - - - - Gets the literal formatter for URL constants. - - - - - Helper utilities that capture any deltas between ODL, the WCF DS Client, and the WCF DS Server. - - - - - Creates a new exception instance to be thrown if the value is not a type that can be formatted as a literal. - DEVNOTE: Will return a different exception depending on whether this is ODataLib, the WCF DS Server, or the WCF DS client. - - The literal value that could not be converted. - The exception that should be thrown. - - - - Tries to convert the given value to one of the standard recognized types. Used specifically for handling XML and binary types. - - The original value. - The value converted to one of the standard types. - Whether or not the value was converted. - - - - Appends the decimal marker to string form of double value if necessary. - DEVNOTE: Only used by the client and ODL, for legacy/back-compat reasons. - - Input string. - String with decimal marker optionally added. - - - - Returns whether a 'd' literal suffix to a double value based on its value. - DEVNOTE: The WCF DS client never added the 'd', but WCF DS Server and ODL do. - - The value itself. - Whether or not to append the 'd' suffix. - - - - Tries to convert an instance of System.Data.Linq.Binary to a byte array. - - The original value which might be an instance of System.Data.Linq.Binary. - The converted byte array, if it was converted. - Whether or not the value was converted. - - - - Default literal formatter implementation. - - - - If true, literals will not be URL encoded. - - - - Creates a new instance of . - - - - - Creates a new instance of . - - If true, literals will not be URL encoded. - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - Escapes the result accoridng to URI escaping rules. - - The result to escape. - The escaped string. - - - - Formats the literal with a type prefix and quotes (if the type requires it). - - The value to format. - The formatted literal, with type marker if needed. - - - - Literal formatter for keys which are written as URI segments. - Very similar to the default, but it never puts the type markers or single quotes around the value. - - - - - Creates a new instance of . - - - - Converts the specified value to an encoded, serializable string for URI key. - Non-null value to convert. - value converted to a serializable string for URI key. - - - - If the string starts with a '$', prepends another '$' to escape it. - - The string value. - The string value with a leading '$' escaped, if one was present. - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmComplexTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets the properties declared immediately within this type. - - - - - An implementation that supports delay-loading of properties. - - - - The lock object for the delayed property loading. - - - An action that is used to create the properties for this type. - - - - Initializes a new instance of the EdmEntityTypeWithDelayLoadedProperties class. - - Namespace the entity belongs to. - Name of the entity. - The base type of this entity type. - Denotes an entity that cannot be instantiated. - Denotes if the type is open. - An action that is used to create the properties for this type. - - - - Ensures that the properties have been loaded and can be used. - - - - - Gets or sets the structural properties of the entity type that make up the entity key. - - - - - Gets the properties declared immediately within this type. - - - - - Component for serializing entity key values for building identities, edit links, etc. - - - - Singleton instance of the default serializer. - - - Singleton instance of the segment-based serializer. - - - - Creates a new key serializer. - - The url convention to use. - - A new key serializer. - - - - - Appends the key expression for an entity to the given - - The type used to represent properties. - The builder to append onto. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Gets the value of the key property and serializes it to a string. - - The type used to represent properties. - The callback to get the value for a property. - The key property. - The literal formatter to use. - The serialized key property value. - - - - Appends the key using the parentheses-based syntax (e.g. Customers(1)) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Default implementation of the key serializer which uses parentheses (e.g. Customers(1)). - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Implementation of the key serializer which uses segments (e.g. Customers/1). - - - - - Creates a new instance of . - - - - - Appends the key expression for an entity to the given - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's name. - The callback to get each property's value. - - - - Appends the key for the current resource using segment-based syntax (e.g. Customers/1) onto the given . - - The builder to append onto. - The type used to represent properties. - The key properties. - The callback to get each property's value. - - - - Component for representing the url convention in use by the server, client, or codegen. - - - - - The namespace of the term to use when building value annotations for indicating the conventions used. - - - - - The name of the term to use when building value annotations for indicating the conventions used. - - - - - The string value for indicating that the key-as-segment convention is being used in annotations and headers. - - - - - The name of the request header for indicating what conventions are being used. - - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Prevents a default instance of the class from being created. - - Whether keys should be generated as segments. - - - - Helper for creating an instance with explicit value. Should only be called from unit tests. - - Whether keys should be generated as segments. - A new UrlConvention instance with the given value. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Whether to generate entity keys as '/'-delimited segments instead of using parenthesis. - - - - - Class that contains all the constants for various schemas. - - - - "InitializeService" method name for service initialize. - - - id of the corresponding body - - - byte-length of the corresponding body - - - mime-type of the corresponding body - - - content disposition of the response (a hint how to handle the response) - - - 'DataServiceVersion' - HTTP header name for data service version. - - - 'MaxDataServiceVersion' - HTTP header name for maximum understood data service version. - - - - 'Prefer' - HTTP request header name for client preferences. - Refer to: http://tools.ietf.org/id/draft-snell-http-prefer-02.txt for details. - - - - Return no content Prefer header hint value. - - - Return content Prefer header hint value. - - - 'no-cache' - HTTP value for Cache-Control header. - - - 'charset' - HTTP parameter name. - - - HTTP method name for GET requests. - - - HTTP method name for POST requests. - - - Http Put Method name - basically used for updating resource. - - - HTTP method name for delete requests. - - - HTTP method name for MERGE requests. - - - HTTP method name for PATCH requests. - - - HTTP query string parameter value for expand. - - - HTTP query string parameter value for filtering. - - - HTTP query string parameter value for ordering. - - - HTTP query string parameter value for skipping elements. - - - HTTP query string parameter value for limiting the number of elements. - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for skipping results based on paging. - - - Property prefix for the skip token property in expanded results for a skip token - - - HTTP query string parameter value for counting query result set - - - HTTP query string parameter value for projection. - - - HTTP query string parameter for specifying the requested content-type of the response. - - - HTTP query string parameter for specifying the a callback function name for JSONP (JSON padding). - - - 'q' - HTTP q-value parameter name. - - - 'X-HTTP-Method' - HTTP header name for requests that want to tunnel a method through POST. - - - HTTP name for Accept header - - - HTTP name for Accept-Charset header - - - HTTP name for If-Match header - - - HTTP name for If-None-Match header - - - HTTP name for User-Agent header - - - multi-part keyword in content-type to identify batch separator - - - 'X-Content-Type-Options' - HTTP header for Internet Explorer 8 and 9 to specify options for content-type handling. - - - An 'X-Content-Type-Options' HTTP header argument to instruct IE8/9 not to sniff the content and instead display it according to the content-type header. - - - multi-part mixed batch separator - - - multi-part mixed changeset separator - - - 'Allow' - HTTP response header for allowed verbs. - - - HTTP name for Cache-Control header. - - - HTTP name for ETag header - - - HTTP name for location header - - - HTTP name for DataServiceId header - - - HTTP name for Status-Code header - - - multi-part mixed batch separator for response stream - - - multi-part mixed changeset separator - - - Content-Transfer-Encoding header for batch requests. - - - Http Version in batching requests and response. - - - To checks if the resource exists or not. - - - Weak etags in HTTP must start with W/. - Look in http://www.ietf.org/rfc/rfc2616.txt?number=2616 section 14.19 for more information. - - - The mime type that client wants the response to be in. - - - The character set the client wants the response to be in. - - - The name of the Cookie HTTP header - - - The Slug header name. Used by ATOM to hint the server on which MR is being POSTed. - - - MIME type for requesting any media type. - - - MIME type general binary bodies (http://www.iana.org/assignments/media-types/application/). - - - 'application' - MIME type for application types. - - - 'json' - constant for MIME JSON subtypes. - - - 'xml' - constant for MIME xml subtypes. - - - 'odata' - parameter name for JSON MIME types. - - - MIME type for changeset multipart/mixed - - - MIME type for plain text bodies. - - - 'text' - MIME type for text subtypes. - - - MIME type for XML bodies (deprecated). - - - Content-Transfer-Encoding value for batch requests. - - - text for the utf8 encoding - - - Default encoding used for writing textual media link entries - - - A prefix that turns an absolute-path URI into an absolute-URI. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates a plain primitive value is being requested. - - - A segment name in a URI that indicates metadata is being requested. - - - A segment name in a URI that indicates that this is a link operation. - - - A segment name in a URI that indicates that this is a count operation. - - - A const value for the query parameter $inlinecount to set counting mode to inline - - - A const value for the query parameter $inlinecount to set counting mode to none - - - Uri method name for Enumerable.Any(). - - - Uri method name for Enumerable.All(). - - - Implicit parameter "it" used for Queryable.Where lambda. - - - "Binary" - WCF element name for binary content in XML-wrapping streams. - - - Schema Namespace prefix for atom. - - - XML element name to mark content element in Atom. - - - XML element name to mark entry element in Atom. - - - XML element name to mark feed element in Atom. - - - 'author' - XML element name for ATOM 'author' element for entries. - - - 'contributor' - XML element name for ATOM 'author' element for entries. - - - 'category' - XML element name for ATOM 'category' element for entries. - - - XML element name to mark link element in Atom. - - - 'scheme' - XML attribute name for ATOM 'scheme' attribute for categories. - - - 'term' - XML attribute name for ATOM 'term' attribute for categories. - - - XML element name to mark id element in Atom. - - - XML element name to mark link relation attribute in Atom. - - - Atom attribute that indicates the actual location for an entry's content. - - - XML element string for "next" links: [atom:link rel="next"] - - - Type of content for syndication property which can be one of Plaintext, Html or XHtml - - - Whether to keep the property value in the content section - - - TargetNamespace prefix for non-syndication mapping - - - TargetNamespace URI for non-syndication mapping - - - Target element or attribute name - - - Source property name - - - author/email - - - author/name - - - author/uri - - - published - - - rights - - - summary - - - title - - - 'updated' - XML element name for ATOM 'updated' element for entries. - - - contributor/email - - - contributor/name - - - contributor/uri - - - updated - - - Plaintext - - - HTML - - - XHTML - - - XML element name to mark href attribute element in Atom. - - - XML attribute name to mark the hreflang attribute in Atom. - - - XML element name to mark summary element in Atom. - - - XML element name to mark author/name or contributor/name element in Atom. - - - XML element name to mark author/email or contributor/email element in Atom. - - - XML element name to mark author/uri or contributor/uri element in Atom. - - - XML element name to mark published element in Atom. - - - XML element name to mark rights element in Atom. - - - XML element name to mark 'collection' element in APP. - - - XML element name to mark 'service' element in APP. - - - XML value for a default workspace in APP. - - - XML element name to mark 'workspace' element in APP. - - - XML element name to mark title element in Atom. - - - XML attribute name to specify the type of the element. - - - Atom link relation attribute value for self links. - - - Atom link relation attribute value for edit links. - - - Atom link relation attribute value for edit-media links. - - - Link relation: alternate - refers to a substitute for this context. - - - Link relation: related - identifies a related resource. - - - Link relation: enclosure - identifies a related resource that is potentially large and might require special handling. - - - Link relation: via - identifies a resource that is the source of the information in the link's context. - - - Link relation: describedby - refers to a resource providing information about the link's context. - - - Link relation: service - indicates a URI that can be used to retrieve a service document. - - - Atom attribute which indicates the null value for the element. - - - Atom attribute which indicates the etag value for the declaring entry element. - - - 'Inline' - wrapping element for inlined entry/feed content. - - - Element containing property values when 'content' is used for media link entries - - - 'count' element - - - 'element', the XML element name for items in enumerations. - - - XML element name for an error. - - - XML element name for an error code. - - - XML element name for the inner error details. - - - XML element name for an internal exception. - - - XML element name for an exception type. - - - XML element name for an exception stack trace. - - - XML element name for an error message. - - - 'false' literal, as used in XML. - - - 'true' literal, as used in XML. - - - XML attribute value to indicate the base URI for a document or element. - - - 'lang' XML attribute name for annotation language. - - - XML attribute name for whitespace parsing control. - - - XML attribute value to indicate whitespace should be preserved. - - - XML attribute name to pass to the XMLReader.GetValue API to get the xml:base attribute value. - - - Schema Namespace For Edm. - - - Schema Namespace For Edm 1.1. - - - Schema Namespace For Edm 1.2. - - - XML namespace for annotations in EDM such as 'StoreGeneratedPattern' - - - XML namespace for data services. - - - XML namespace for data service annotations. - - - XML namespace for data service links. - - - XML namespace for data service related $links. - - - XML namespace for data service named media resources. - - - XML namespace for data service edit-media link for named media resources. - - - ATOM Scheme Namespace For DataWeb. - - - Schema Namespace for Atom Publishing Protocol. - - - Schema Namespace For Atom. - - - Schema Namespace prefix For xmlns. - - - Schema Namespace prefix For xml. - - - Schema Namespace Prefix For DataWeb. - - - 'adsm' - namespace prefix for DataWebMetadataNamespace. - - - 'http://www.w3.org/2000/xmlns/' - namespace for namespace declarations. - - - Edmx namespace in metadata document. - - - Prefix for Edmx Namespace in metadata document. - - - IANA link relations namespace. - - - The empty namespace. - - - Association Element Name in csdl. - - - AssociationSet Element Name in csdl. - - - ComplexType Element Name in csdl. - - - Dependent Element Name in csdl. - - - The name of the EDM collection type. - - - - Attribute name used to indicate the real type of an EDM property or parameter, in cases where it needs to be different - from the Type attribute of the Property or Parameter element. This is used to support collection types and binary keys, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing properties that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - TypeRef element name in CSDL document. - - - EntitySet attribute name in CSDL documents. - - - EntitySetPath attribute name in CSDL documents. - - - ExtensionMethod attribute name in CSDL documents. - - - Composable attribute name in CSDL documents. - - - SideEffecting attribute name in CSDL documents. - - - FunctionImport element name in CSDL documents. - - - Mode attribute name in CSDL documents. - - - Mode attribute value for 'in' direction in CSDL documents. - - - Parameter element name in CSDL documents. - - - ReturnType attribute name in CSDL documents. - - - - Attribute name used to indicate the real type of an EDM function import return type, in cases where it needs to be different - from the ReturnType attribute of the function import element. This is used to support special primitive types, - which are incompatible with EDM 1.1, which we are currently using for validation purposes. - This attribute is inserted into the CSDL in memory while codegen is processing function imports that require special - type handling and should only be used in that scenario. This is not a real EDM or Data Services attribute. - - - - End Element Name in csdl. - - - EntityType Element Name in csdl. - - - EntityContainer Element Name in csdl. - - - Key Element Name in csdl. - - - NavigationProperty Element Name in csdl. - - - OnDelete Element Name in csdl. - - - Principal Element Name in csdl. - - - Property Element Name in csdl. - - - PropetyRef Element Name in csdl. - - - ReferentialConstraint Element Name in csdl. - - - Role Element Name in csdl. - - - Schema Element Name in csdl. - - - Edmx Element Name in the metadata document. - - - Edmx DataServices Element Name in the metadata document. - - - Version attribute for the root Edmx Element in the metadata document. - - - Value of the version attribute in the root edmx element in metadata document. - - - Element name for m:action. - - - Element name for m:function - - - maps to m:action|m:function\@metadata - - - maps to m:action|m:function\@target - - - maps to m:action|m:function\@title - - - BaseType attribute Name in csdl. - - - EntitySet attribute and Element Name in csdl. - - - EntitySetPath attribute and Element Name in csdl. - - - FromRole attribute Name in csdl. - - - Abstract attribute Name in csdl. - - - Multiplicity attribute Name in csdl. - - - Name attribute Name in csdl. - - - Namespace attribute Element Name in csdl. - - - ToRole attribute Name in csdl. - - - Type attribute Name in csdl. - - - Relationship attribute Name in csdl. - - - Using element Name in csdl. - - - Value for Many multiplicity in csdl. - - - Value for One multiplicity in csdl. - - - Value for ZeroOrOne multiplicity in csdl. - - - Nullable facet name in CSDL. - - - The attribute name of the 'Precision' facet. - - - The attribute name of the 'Scale' facet. - - - The attribute name of the 'MaxLength' facet. - - - The attribute name of the 'FixedLength' facet. - - - The attribute name of the 'Unicode' facet. - - - The attribute name of the 'Collation' facet. - - - The attribute name of the 'SRID' facet. - - - Name of the concurrency attribute. - - - Name of the default value attribute. - - - The special value for the 'MaxLength' facet to indicate that it has the max length. - - - The attribute name of the 'StoreGeneratedPattern' annotation - - - The 'Computed' value for the 'StoreGeneratedPattern' annotation - - - The 'Identity' value for the 'StoreGeneratedPattern' annotation - - - 'MimeType' - attribute name for property MIME type attributes. - - - 'OpenType' - attribute name to indicate a type is an OpenType property. - - - 'HasStream' - attribute name to indicate a type has a default stream property. - - - 'true' - attribute value to indicate a type has a default stream property. - - - Attribute to indicate whether this is a default entity container or not. - - - Attribute name in the csdl to indicate whether the service operation must be called using POST or GET verb. - - - uri element name for link bind/unbind operations - - - next element name for link paging - - - XML element name for writing out collection of links. - - - JSON property name for an error. - - - JSON property name for an error code. - - - JSON property name for the inner error details. - - - JSON property name for an internal exception. - - - JSON property name for an error message. - - - JSON property name for an exception stack trace. - - - JSON property name for an exception type. - - - JSON property name for an error message value. - - - namespace for edm primitive types. - - - edm binary primitive type name - - - edm boolean primitive type name - - - edm byte primitive type name - - - edm datetime primitive type name - - - edm decimal primitive type name - - - edm double primitive type name - - - edm guid primitive type name - - - edm single primitive type name - - - edm sbyte primitive type name - - - edm int16 primitive type name - - - edm int32 primitive type name - - - edm int64 primitive type name - - - edm string primitive type name - - - edm stream primitive type name - - - edm string indicating that the value may be collection. - - - Edm Geography type name - - - Edm Geodetic point type name - - - Edm Geodetic linestring type name - - - Represents a geography Polygon type. - - - Represents a geography GeomCollection type. - - - Represents a geography MultiPolygon type. - - - Represents a geography MultiLineString type. - - - Represents a geography MultiPoint type. - - - Represents an arbitrary Geometry type. - - - Represents a geometry Point type. - - - Represents a geometry LineString type. - - - Represents a geometry Polygon type. - - - Represents a geometry GeomCollection type. - - - Represents a geometry MultiPolygon type. - - - Represents a geometry MultiLineString type. - - - Represents a geometry MultiPoint type. - - - edm string primitive type name - - - edm string primitive type name - - - '1.0' - the version 1.0 text for a data service. - - - '2.0' - the version 2.0 text for a data service. - - - '3.0' - the version 3.0 text for a data service. - - - '2.0;' - the text for the current server version text. - - - 1 - the version 1 text for a data service. - - - 0 - the current minor version for a data service. - - - 'binary' constant prefixed to binary literals. - - - 'datetime' constant prefixed to datetime literals. - - - 'guid' constant prefixed to guid literals. - - - 'geography' constant prefixed to geography literals. - - - 'geometry' constant prefixed to geometry literals. - - - 'guid' constant prefixed to guid literals. - - - 'guid' constant prefixed to guid literals. - - - 'X': Prefix to binary type string representation. - - - 'M': Suffix for decimal type's string representation - - - 'L': Suffix for long (int64) type's string representation - - - 'f': Suffix for float (single) type's string representation - - - 'D': Suffix for double (Real) type's string representation - - - null liternal that needs to be return in ETag value when the value is null - - - Incoming message property name for the original reqeust uri - - - Incoming message property name for the original root service uri - - - - GeoRss namespace - - - - - The "georss" prefix - - - - - Gml Namespace - - - - - Gml Prefix - - - - - Embedded Gml tag inside Georss - - - - - GeoRss representation of a point - - - - - GeoRss representation of a line - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml representation of a linestring - - - - - Tree representing the sourceName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Root of the tree - - - corresponding to this tree - - - Default constructor creates a null root - Target xml tree - - - - Adds a path to the source and target tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the source path - - - Validates the source tree. - The resource type for which the validation is performed. - - - Validates the specified segment and all its subsegments. - The path segment to validate. - The resource type of the property represented by this segment (null for open properties). - - - - Returns a client type of the property on the specified resource type. - - The client type to look for the property on. - The name of the property to look for. - The type of the property specified. Note that for collection properties this returns the type of the item of the collection property. - - - - Root of the tree - - - - - Representation of each node in the - - - - Name of the property under the parent resource type - This fields is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this field. - - - List of sub-properties if this segment corresponds to a complex type - - - - Constructor creates a root source path segment - - - - - Constructor creates a source path segment with the name set to - - Segment property name - - - Name of the property under the parent resource type - This property is used to diferentiate between some special node types as well. - - null - this is the root node of the source tree. - - "" (empty string) - this is a node representing a value of a primitive item in a collection property. - - anything else - this is a node representing a property with the name of this property. - These values should not be compared directly, instead use the IsCollectionItemValue property to differentiate between the last two. - The root node itself should never be accessed directly so far. - - - List of sub-properties if this segment corresponds to a complex type - - - Corresponding EntityPropertyMappingInfo - - - - Tree representing the targetName properties in all the EntityPropertyMappingAttributes for a resource type - - - - Number of properties that have V2 mapping with KeepInContent false - - - Initializes the sub-trees for syndication and non-syndication content - - - - Adds a path to the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - - Removes a path in the tree which is obtained by looking at the EntityPropertyMappingAttribute in the - - EnitityPropertyMappingInfo holding the target path - - - Validates the target tree. - This also cleans up the tree if necessary. - - - Checks if mappings could potentially result in mixed content and dis-allows it. - Segment being processed. - Does any of the ancestors have content. - boolean indicating if the tree is valid or not. - - - - Given an gives the correct target path for it - - Given - String with the correct value for the target path - - - Root of the sub-tree for syndication content - - - Root of the sub-tree for custom content - - - - Minimum DSPV required to serialize this target tree. - - - - - Representation of each node in the - - - - Name of the xml element/attribute - This field is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - - - URI of the namespace to which the belongs - - - If this is a non-leaf element, the child elements/attributes collection - - - Parent element of this element/attribute - - - - Constructor initializes the list of sub-nodes to be empty, used for creating root nodes - in the - - - - Used for creating non-root nodes in the syndication/custom trees - Name of xml element/attribute - URI of the namespace for - Reference to the parent node if this is a sub-node, useful for traversals in visitors - - - Name of the xml element/attribute - This property is used to differentiate between special nodes as well. - - null - this is the root of the target tree. - - anything else (doesn't start with @) - this node represents an element with the specified name. - - anything else (starts with @) - this node represents an attribute with the specified name. - The value of the proeprty should not be compared directly to differentiate between these cases, instead - properties IsAttribute and IsElementContentSegment should be used. The root not should not be accessed directly - from anywhere so far. - - - URI of the namespace to which the belongs - - - EntityPropertyMappingInfo corresponding to current segement - - - Whether this node corresponds to ResourceType or ClientType property values - - - Does this node correspond to xml attribute - - - Parent node in the tree (always an element if present) - - - Sub-nodes of this node. Only exist if current node is an element node - - - - Holds information needed during content serialization/deserialization for - each EntityPropertyMappingAttribute - - - - - Private field backing Attribute property. - - - - - Private field backing DefiningType property - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Creates instance of EntityPropertyMappingInfo class. - - The corresponding to this object - Type the was defined on. - ClientType whose property is to be read. - - - Compares the defining type of this info and other EpmInfo object. - The other EpmInfo object to compare to. - true if the defining types are the same - - - - The corresponding to this object - - - - - Type that has the - - - - - Type whose property is to be read. This property is of ClientType type on the client and of ResourceType type on the server. - - - - - Path to the property value. Stored as an array of property names to access on each other. - If this mapping is for a non-collection property or for the collection property itself, this path starts at the entity resource. - If this mapping is for a collection item property, this path starts at the collection item. In this case empty path is allowed, meaning the item itself. - - - - - Set to true if this info describes mapping to a syndication item, or false if it describes a custom mapping - - - - - Take a URI string and escape the data portion of it - - - - - Sensitive characters that we should always skip - This should be the set of Http control characters intersecting with - the set of characters OData literal format allows outside of strings - (In V3: only +, as used in double literals ex. 3E+8) - - - - - input string - - - - - output string - - - - - the current index - - - - - current quoted data string - - - - - constructor - - The string to be escaped. - - - - Escape a URI string's data string portion - - The input string - The escaped string - - - - Build a new escaped string - - The escaped string - - - - Read quoted string - - The character that started the quote - - - - Class with code that will eventually live in EdmLib. - - This class should go away completely when the EdmLib integration is fully done. - - - The qualifier to turn a type name into a Collection type name. - - - Format string to describe a Collection of a given type. - - - - Map of CLR primitive type to EDM primitive type reference. Doesn't include spatial types since they need assignability and not equality. - - - - Type reference for Edm.Boolean. - - - Type reference for Edm.Byte. - - - Type reference for Edm.DateTime. - - - Type reference for Edm.Decimal. - - - Type reference for Edm.Double. - - - Type reference for Edm.Int16. - - - Type reference for Edm.Int32. - - - Type reference for Edm.Int64. - - - Type reference for Edm.SByte. - - - Type reference for Edm.String. - - - Type reference for Edm.Float. - - - - Constructor. - - - - - Returns the fully qualified name of an entity container element. - - The container element to get the full name for. - The full name of the owning entity container, slash, name of the container element. - - - - Turns a into the corresponding . - - The type to convert. - true if the returned type reference should be nullable; otherwise false. - A type reference for the . - - - - Creates the EDM type name for a collection of the specified item type name. E.g. Collection(Edm.String) - - Type name of the items in the collection. - Type name for a collection of the specified item type name. - - - - Finds the entity set with the specified container and name. - - The model to find the entity set in. - The container qualified name of the entity set. - The with the specified name or null if no such entity set exists. - - - - Gets a reference to a primitive kind definition of the appropriate kind. - - Primitive type to create a reference for. - Flag specifying if the referenced type should be nullable per default. - A new primitive type reference. - - - - Gets the single entity container or the default one if there are multiple containers. - - Model to find entity containers in. - Single container that was found. - Entity Container found in the model - - - - Finds the container elements with the specified container and name. - - The model to find the element in. - The container qualified name of the elements. - The resolver method to resolve the elements. - The enumeration of with the specified name or null if no such element exists. - - - - An enumeration that lists the internal errors that are shared between the OData library and the query library. - - - - Unreachable codepath in EdmLibraryExtensions.ToTypeReference (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.ToClrType (unsupported type kind). - - - Unreachable codepath in EdmLibraryExtensions.PrimitiveTypeReference (unsupported primitive type kind). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmPrimitiveType, IEdmPrimitiveType). - - - Unreachable codepath in EdmLibraryExtensions.IsAssignableFrom(IEdmType, IEdmType). - - - Unreachable codepath in EdmLibraryExtensions.BaseType. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected type kind. - - - Unreachable codepath in EdmLibraryExtensions.Clone for unexpected primitive type kind. - - - Holds information about a ServiceAction. - - - Holds information about a service operation. - - - Abstract class from which is derived. - - - change order - - - was content generated for the entity - - - was this entity save result processed - 0 - no processed, otherwise reflects the previous state - - - last save exception per entry - - - State of the modified entity or link. - - - - constructor - - entity state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - When overridden in a derived class, gets the state of the object at the time this instance was constructed. - An of the object returned at the time this instance was constructed. - - - true if resource, false if link - - - changeOrder - - - was content generated for the entity - - - was this entity save result processed - - - last save exception per entry - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - Maps to m:action\@title. Human-readable description of the service operation. - - - maps to m:action\@metadata. Identifies the service operation. - - - maps to m:action\@target. The URI to invoke the service operation. - - - - Creates a new instance of the Operation descriptor. - - - - - Nothing to clear in case of operation descriptor. - - - - Human-readable description of the service operation. - - - Identifies the service operation. - - - The URI to invoke the service operation. - - - - this is an operation descriptor. - - - - - Base class for building the request and handling the response - - - - - Implementation of IAsyncResult - - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - Originating object, used to validate End* - - - Originating method on source, to differentiate between different methods from same source - - - wrapped request - - - User callback passed to Begin* - - - User state passed to Begin* - - - wait handle for user to wait until done, we only use this within lock of asyncWaitDisposeLock. - - - Holding exception to throw as a nested exception during to End* - - - Abortable request - - - true unless something completes asynchronously - - - true when really completed for the user - - - true when no more changes are pending, 0 false, 1 completed, 2 aborted - - - verify we only invoke the user callback once, 0 false, 1 true - - - non-zero after End*, 0 false, 1, true - - - true if the AsyncWaitHandle has already been disposed. - - - delay created object to lock to prevent using disposed asyncWait handle. - - - - ctor - - source object of async request - async method name on source object - user callback to invoke when complete - user state - - - - common handler for EndExecuteBatch & EndSaveChanges - - derived type of the AsyncResult - source object of async request - async method name on source object - the asyncResult being ended - data service response for batch - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - Returns the async result from the BeginXXX method. - - CompletedSynchronously (for System.Net networking stack) means "was the operation completed before the first time - that somebody asked if it was completed synchronously"? They do this because some of their asynchronous operations - (particularly those in the Socket class) will avoid the cost of capturing and transferring the ExecutionContext - to the callback thread by checking CompletedSynchronously, and calling the callback from within BeginXxx instead of - on the completion port thread if the native winsock call completes quickly. - - For other operations however (notably those in HttpWebRequest), they use the same underlying IAsyncResult implementation, - but do NOT check CompletedSynchronously before returning from BeginXxx. That means that CompletedSynchronously will - be false if and only if you checked it from the thread which called BeginXxx BEFORE the operation completed. It will - then continue to be false even after IsCompleted becomes true. - - Note that CompletedSynchronously == true does not guarantee anything about how much of your callback has executed. - - The usual pattern for handling synchronous completion is that both the caller and callback should check CompletedSynchronously. - If its true, the callback should do nothing and the caller should call EndRead and process the result. - This guarantees that the caller and callback are not accessing the stream or buffer concurrently without the need - for explicit synchronization between the two. - - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread and invokes - the BeginXXX methods. It then checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - - This is the action that invokes the BeginXXX method. Note we MUST use our special callback from GetDataServiceAsyncCallback() - when invoking the async call. - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - Please see remarks on the other InvokeAsync() overload. - Also note that the InvokeTask method above is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Sets the CompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - Set the AsyncWait and invoke the user callback. - - If the background thread gets a ThreadAbort, the userCallback will never be invoked. - This is why it's generally important to never wait forever, but to have more specific - time limit. Also then cancel the operation, to make sure its stopped, to avoid - multi-threading if your wait time limit was just too short. - - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - exception object from background thread - true if the exception (like StackOverflow or ThreadAbort) should be rethrown - - - Set the async result as completed and aborted. - - - Set the async result as completed. - - - verify they have the same reference - the actual thing - the expected thing - error code if they are not - - - invoked for derived classes to cleanup before callback is invoked - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - the request in progress - error code if null or completed - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - Cache the exception that happened on the background thread for the caller of EndSaveChanges. - the request object - exception object from background thread - true if the exception should be rethrown - - - handle request.BeginGetRequestStream with request.EndGetRequestStream and then write out request stream - async result - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method runs in the caller thread after the - BeginXXX method returns. It checks IAsyncResult.CompletedSynchronously and if it is true, we invoke the callback in the - caller thread. - - The IAsyncResult that represents the asynchronous operation we just called, which could still be pending - Callback to be invoked when IAsyncResult.CompletedSynchronously is true. - Returns an IAsyncResult that represents the asynchronous operation we just called, which could still be pending - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that PostInvokeTask below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Due to the unexpected behaviors of IAsyncResult.CompletedSynchronously in the System.Net networking stack, we have to make - async calls to their APIs using the specific pattern they've prescribed. This method returns an AsyncCallback which we can pass - to the BeginXXX methods in the caller thread. The returned callback will only run the wrapped callback if - IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - callback to be wrapped - Returnes a callback which will only run the wrapped callback if IAsyncResult.CompletedSynchronously is false, otherwise it returns immediately. - - Please see remarks on BaseAsyncResult.InvokeAsync(). - Also note that the GetDataServiceTaskCallback method below is a Win8 version of this method, so it should be kept in sync with any changes that occur here. - - - - - Sets the async wait handle - - - - - Callback for Stream.BeginRead on the request content input stream. Calls request content output stream BeginWrite - and in case of synchronous also the next BeginRead. - - The asynchronous result associated with the completed operation. - - - handle requestStream.BeginWrite with requestStream.EndWrite then BeginGetResponse. - async result - - - user state object parameter - - - wait handle for when waiting is required - if displayed by debugger, it undesirable to create the WaitHandle - - - did the result complete synchronously? - - - is the result complete? - - - is the result complete? - - - abort the result - - - - WebRequest available for DataServiceContext.CancelRequest - - - - first exception that happened - - - - Generic function delegate that is declared in .Net Framework 4.0, but not .Net Framework 3.5 or Silverlight - - type of parameter 1 - type of parameter 2 - type of parameter 3 - type of parameter 4 - type of parameter 5 - type of result - generic parameter 1 - generic parameter 2 - generic parameter 3 - generic parameter 4 - generic parameter 5 - generic result - - - - This delegate exists to workaround limitations in the WP7 runtime. - When limitations on the number of parameters to Func<> are resolved, this can be subsumed by the following: - Func<byte[], int, int, AsyncCallback, object, IAsyncResult> - - buffer to transfer the data - byte offset in buffer - max number of bytes in the buffer - async callback to be called when the operation is complete - A user-provided object that distinguishes this particular asynchronous request from other requests. - An IAsyncResult that represents the asynchronous operation, which could still be pending - - - - Wraps PerRequest and context reference together to save state information. - Used instead of KeyValuePair in order to avoid FxCop CA908. - - - - the request wrapper. - - - - Constructor for the state object - - See PerRequest field. - - - wrap the full request - - - - The int equivalent for true. - - - - - The int equivalent for false. - - - - - did the sequence (BeginGetRequest, EndGetRequest, ... complete. 0 = In Progress, 1 = Completed, 2 = Aborted - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - True if Dispose is called. - - - Synchronize the Dispose method calls. - - - Did the request complete all of its steps synchronously? 1 represents true and 0 represents false. - Note that there is no overload for Interlocked.CompareExchange that takes booleans, we workaround using the overload for int. - - - ctor - - - - Sets the RequestCompletedSynchronously property. - - true if the async operation was completed synchronously, false otherwise. - - - - Change the request status to completed - - - - - Change the request status to aborted - - - - - dispose of the request object - - - - active web request - - - active web request stream - - - content to write to request stream - - - web response - - - async web response stream - - - did the request complete all of its steps synchronously? - - - - Short cut for testing if request has finished (either completed or aborted) - - - - - Short cut for testing request status is 2 (Aborted) - - - - - Buffer used when pumping data from the write stream to the request content stream - - - - - The length of the valid content in the RequestContentBuffer - Once the data is read from the request content stream into the RequestContent buffer - this length is set to the amount of data read. - When the data is written into the request stream it is set back to 0. - - - - where to pull the changes from - - - serializer to serialize the request data. - - - sorted list of entries by change order - - - option in use for SaveChanges - - - batch web response - - - The ResourceBox or RelatedEnd currently in flight - - - what kind of request are we processing - POST MR or PUT MR - - - - If the is set to anything but None, - this field holds a stream needs to be send in the request. - This can be null in the case where the content of MR is empty. (In which case - we will not try to open the request stream and thus avoid additional async call). - - - - temporary buffer when cache results from CUD op in non-batching save changes - - - - constructor for operations - - context - method - queries - options - user callback - user state object - - - - factory method for SaveResult - - context - method - queries - options - user callback - user state object - a new instance of SaveResult or BatchSaveResult, depending on the options value. - - - - Handle response by looking at status and possibly throwing an exception. - - The request info. - response status code - Version string on the response header; possibly null. - delegate to get response stream - throw or return on failure - Parsed response version (null if no version was specified). - exception on failure - - - - get the response text into a string - - method to get response stream - status code - text - - - process the batch - data service response - - - Get the value of HttpMethod enum from link resource state - Instance of LinkDescriptor containing the link state and type of link. - HttpMethod enum value for the link descriptor state. - - - - Apply the response preferences for the client. - - Headers to which preferences will be added. - HTTP method. - Response preference. - Request version so far for the request. The method may modify it. - - - - Handle response. - - an instance of the DataServiceResponse. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - Get the value of the HttpMethod enum from entity resource state - resource state - The version of the request determined so far. The method may modify this if needed. - HttpMethod value from the entity resource state. - - - - Create request message for the descriptor at the given index. - - Index into changed entries - IODataRequestMessage that needs to be used for writing the payload. - true, if any request payload was generated, else false. - - - Set the AsyncWait and invoke the user callback. - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - operation with HttpWebResponse - status code of the response. - response headers. - - - - Handle operation response - - descriptor whose response is getting processed. - content headers as returned in the response. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - cleanup work to do once the batch / savechanges is complete - - - - Create the response info instance to be passed to the materializer. - - entity descriptor whose response is getting handled. - instance of the response info class. - - - - enumerate the related Modified/Unchanged links for an added item - - entity - related links - - During a non-batch SaveChanges, an Added entity can become an Unchanged entity - and should be included in the set of related links for the second Added entity. - - - - flag results as being processed - result descriptor being processed - count of related links that were also processed - - - - Generate the link payload. - - binding - An instance of ODataRequestMessage for the link request. - - - - Create ODataRequestMessage for the given entity. - - resource - An instance of ODataRequestMessage for the given entity. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Figures out value to be written in DataServiceVersion HTTP header for the given entity based on features used in this entity. - - Entity type for which data service version needs to be determined. - The resource state for the entity. - Data service version for the given entity and state. - - - Checks whether a WCF Data Service version string can be handled. - Version string on the response header; possibly null. - The response version parsed into a instance - if the version was valid and can be handled, otherwise null. - true if the version can be handled; false otherwise. - - - Handle changeset response. - headers of changeset response - - - - Validates that the link descriptor source and target have identities. - - The binding. - The source resource. - The target resource. - - - - Serialize supported data service versions to a string that will be used in the exception message. - The string contains versions in single quotes separated by comma followed by a single space (e.g. "'1.0', '2.0'"). - - Supported data service versions in single quotes separated by comma followed by a space. - - - - Appends the target entity key to the uri if the binding is in the deleted state and the property is a collection. - - The link URI so far. - The binding. - The target's entity descriptor. - The original link uri or one with the target entity key appended. - - - - Generate a request for the given entity. - - Instance of EntityDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - True if the payload was generated, otherwise false. - - - - Generate a request for the given link. - - Instance of LinkDescriptor. - Instance of IODataRequestMessage to be used to generate the payload. - - - Handle changeset response. - descriptor whose response is getting handled. - response headers. - - - Handle changeset response for the given entity descriptor. - entity descriptor whose response is getting handled. - ETag header value from the server response (or null if no etag or if there is an actual response) - - - - Handle the PUT response sent by the server - - descriptor, whose response is getting handled. - response headers. - - - Handle response to deleted entity. - deleted entity - - - handle responseStream.BeginRead with responseStream.EndRead - async result - - - - Materialize the response payload. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - etag value, if specified in the response header. - - - returns true if its a batch, otherwise returns false. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In sync case, this is the actual response stream, as returned by the http request. - - - - - returns true if the response payload needs to be processed. - - - - - enum which says what kind of request we are currently processing - - - - This request doesn't involve Media Resource or named stream. - - - This request is a POST to a MLE and the body contains the content of the MR. - - - This request is a PUT to MR and the body contains the content of the MR. - - - - Async read state - - - - PerRequest class which tracks the request and response stream - - - total number of byte copied. - - - - constructor - - Perrequest class - - - - Returns the total number of byte copied till now. - - - - - Handles the batch requests and responses (both sync and async) - - - - The size of the copy buffer to create. - - - Array of queries being executed - - - Response stream containing the entire batch response. - - - Instance of ODataBatchWriter used to write current batch request. - - - The message reader used to read the batch response. - - - Object representing the current operation response. - - - Buffer used for caching operation response body streams. - - - - constructor for BatchSaveResult - - context - method - queries - options - user callback - user state object - - - initial the async batch save changeset - - - Read and store response data for the current change - The completed per request object - This is called only from the async code paths, when the response to the batch has been read fully. - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle response. - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - This can only be called from inside the HandleBatchResponse or during enumeration of the responses. - This is used when processing responses for update operations. - - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Creates the type of the multi part MIME content. - - A multipart mime header with a generated batch boundary - - - - Creates a ODataRequestMessage for batch request. - - Returns an instance of ODataRequestMessage for the batch request. - - - - Generate the batch request for all changes to save. - - Returns the instance of ODataRequestMessage containing all the headers and payload for the batch request. - - - - process the batch response - - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - - - process the batch response - - The batch reader to use for reading the batch response. - an instance of the DataServiceResponse, containing individual operation responses for this batch request. - - The message reader for the entire batch response is stored in the this.batchMessageReader. - The message reader is disposable, but this method should not dispose it itself. It will be either disposed by the caller (in case of exception) - or the ownership will be passed to the returned response object (in case of success). - In could also be diposed indirectly by this method when it enumerates through the responses. - - - - - process the batch response - - The batch reader to use for reading the batch response. - enumerable of QueryResponse or null - - The batch message reader for the entire batch response is stored in this.batchMessageReader. - Note that this method takes over the ownership of this reader and must Dispose it if it successfully returns. - - - - - Processed the operation response reported by the batch reader. - This is a side-effecting method that is tied deeply to how it is used in the batch processing pipeline. - - The batch reader to get the operation response from. - True if the current operation is inside a changeset (implying CUD, not query) - An exception if the operation response is an error response, null for success response. - - - - Validate the content-id. - - The response headers for the operation response being processed. - Returns the correct ChangedEntries index. - - - returns true since this class handles batch requests. - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - This is the stream which holds the entire batch response, when we process any given part those streams are enumerated through - a different field (currentOperationResponseContentStream). - - - - - returns true if the response payload needs to be processed. - - - - - Stores information about the currenly processed operation response. - - - - The HTTP response status code for the current operation response. - - - The HTTP headers for the current operation response. - - - The content stream for the current operation response. - - - - Constructor. - - The status code of the response. - The response headers. - An in-memory copy of the response stream. - - - - Creates IODataResponseMessage for the operation response. - - - IODataResponseMessage for the operation response. - null if the operation response has empty content. - - - - - The status code of the operation response. - - - - - The content stream of the operation response. - - - - - true if the content stream is empty, false otherwise. - - - - - The response headers for the operation response. - - - - Represents a parameter associated with a service action. - - - Represents a parameter passed to a service action, service function or a service operation when it is Executed. - - - The name of the operation parameter. - - - The value of the operation parameter. - - - Initializes a new instance of the class. - The name of the operation parameter. - The value of the operation parameter. - - - Gets the name of the operation parameter. - The name of the operation parameter. - - - Gets the value of the operation parameter. - The value of the operation parameter. - - - Instantiates a new BodyOperationParameter - The name of the body operation parameter. - The value of the body operation parameter. - - - - EventArgs for the BuildingRequest event. - - - - - Uri of the outgoing request. - - - - - Initializes a new instance of the class. - - The method. - The request URI. - The request headers. - Descriptor for this request; or null if there isn't one. - The http stack. - - - - Retrieves a new RequestMessageArgs with any custom query parameters added. - - A new RequestMessageArgs instance that takes new custom query options into account. - - - - Gets the Request HTTP Method that the outgoing request will use. - - - - - The Uri of the outgoing request. The Uri may be altered. No error checking will be performed against any changes made. - - - - - The headers for this request. Adding new custom headers is supported. Behavior is undefined for changing existing headers or adding - system headers. No error checking will be performed against any changes made. - - - - - Descriptor for this request if there is one; null otherwise. - - - - - Gets the http stack. - - - The reason for having this property is that this is request specific - and cannot be taken from the context. For e.g. In silverlight, irrespective - of the value of HttpStack property, for stream requests (get or update), we - use ClientHttp. - - - - - Returns the set of headers as HeaderCollection instance. - - - - - Implementation of which wraps client-side objects. - - - - - Initializes a new instance of the class. - - The type of the collection. - The elements of the collection. - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the values stored in this collection. - - - - - Non-delayed implementation of - - - - - Initializes a new instance of the class. - - The value. - - - - Gets the data stored in this value. - - - - - EdmModel describing the client metadata - - - - A cache that maps a client Clr type to it corresponding Edm type. - - - A cache that maps a client type name to the corresponding client type annotation. - - - The annotations manager. - - - The max protocol version this Edm model is created for. - - - Referenced core model. - - - - Constructor. - - The protocol version this Edm model is created for. - - - - Return the entity container with the given name. - - Name of the entity container. - EntityContainer with the given name. - - - - Searches for a schema element with the given name in this model and returns null if no such schema element exists. - - The qualified name of the schema element being found. - The requested schema element, or null if no such schema element exists. - - - - Searches for functions with the given name in this model and returns null if no such function exists. - - The qualified name of the function being found. - A set functions sharing the specified qualified name, or an empty enumerable if no such function exists. - - - - Searches for a value term with the given name in this model and returns null if no such value term exists. - - The qualified name of the value term being found. - The requested value term, or null if no such value term exists. - - - - Finds a list of types that derive directly from the supplied type. - - The base type that derived types are being searched for. - A list of types that derive directly from the type. - - - - Searches for vocabulary annotations specified by this model or a referenced model for a given element. - - The annotated element. - The vocabulary annotations for the element. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get the client type annotation for the given name. - - Name of the type. - An instance of ClientTypeAnnotation for the type with the given name. - - - Returns and its base types, in the order of most base type first and last. - Type instance in question. - Returns the list of key properties if is an entity type; null otherwise. - true if has any (declared or inherited) properties; otherwise false. - Returns and its base types, in the order of most base type first and last. - - - - Find properties with dynamic MIME type related properties and - set the references from each ClientProperty to its related MIME type property - - Client edm type instance to wire up the mime type properties. - - - - Get or create a client EDM type instance. - - type to wrap - client type - - - - Get or create a client EDM type instance. - - The base type of this structured type. - type to wrap - List of key properties to add to if the type is an entity type; null otherwise. - true if is an entity type; false otherwise. - true if the is known to have properties; false if is known to have no properties; null if nothing is known about the properties. - client type - - - - Creates an Edm property. - - Type declaring this property. - PropertyInfo instance for this property. - Returns a new instance of Edm property. - - - - Gets or creates client type annotation. - - The EdmType to use for creating client type annotation - The Clr type to create client type annotation for. - Client type annotation - - - - Returns all the vocabulary annotations defined in the model. - - - - - Returns all the referenced models. - - - - - Returns all the schema elements. - - - - - Returns the model's annotations manager. - - - - - Gets the max protocol version of the model. - - - - - Cache value for the type cache. - - - - The cached EDM type. - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - Creates a new instance of the EDM type cache value. - - The cached EDM type. - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - The cached EDM type. - - - - - true if the Clr type this EDM type is based on has settable properties; otherwise false. - - - - - Implementation of which wraps client-side objects. - - - - The structured value this instance is wrapping. - - - The client-side metadata about this value. - - - The model. - - - - Initializes a new instance of the class. - - The structured value. - The model. - The client type annotation. - - - - Finds the value corresponding to the provided property name. - - Property to find the value of. - - The found property, or null if no property was found. - - - - - Builds an edm property value from the given annotation. - - The property annotation. - The property value - - - - Converts a clr value to an edm value. - - The property value. - Type of the property. - - The converted value - - - - - Gets the type of this value. - - - - - Gets the kind of this value. - - - - - Gets the property values of this structured value. - - - - - Helper class to wrap the stream with the content of the request. - We need to remember if the stream came from us (IsKnownMemoryStream is true) - or if it came from outside. For backward compatibility we set the Content-Length for our streams - since they are always MemoryStream and thus know their length. - For outside streams (content of the MR requests) we don't set Content-Length since the stream - might not be able to answer to the Length call. - - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Constructor - - The stream with the request content - The stream was create by us and it's a MemoryStream - - - - The stream with the content of the request - - - - - Set to true if the stream is a MemoryStream and we produced it (so it does have the buffer accesible) - - - - - Implementation of which uses OData conventions. - - - - The entity instance to build metadata for. - - - The name of the set the entity instance belongs to. - - - The base uri of the service. - - - The convention-based uri builder to use. - - - - Initializes a new instance of the class. - - The base URI of the service. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Initializes a new instance of the class. - - The URI resolver to use. - Name of the entity set the entity belongs to. - The entity instance to build metadata for. - The user-specified conventions to use. - - - - Gets the edit link of the entity. - - - The absolute URI of the edit link for the entity. - Or null if it is not possible to determine the edit link. - - - - - Gets the ID of the entity. - - - The ID for the entity. - Or null if it is not possible to determine the ID. - - - - - Gets the ETag of the entity. - - - The ETag for the entity. - Or null if it is not possible to determine the ETag. - - - - - Gets the read link of the entity. - - - The absolute URI of the read link for the entity. - Or null if it is not possible to determine the read link. - - - - - Implementation of that uses conventions. - - - - The uri resolver to use for entity sets. - - - The user specified conventions. - - - - Initializes a new instance of the class. - - The uri resolver to use. - The user specified conventions to use. - - - - Appends to create the URI for an entity set. - - The URI to append to - The entity set name. - - The entity set URI. - - - - - Appends to create the entity instance URI for the specified . - - The URI to append to - The entity instance to use. - - The entity instance URI. - - - - - Client writer settings shim class to restrict settings to the base for OData message writers. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether the writer should use indentation or not. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Client reader settings shim class to restrict settings to the base for OData message reader. - - - - The settings. - - - - Initializes a new instance of the class. - - The settings. - - - - Flag to control whether ATOM metadata is read in ATOM payloads. - - - - - Flag to control whether the writer should check for valid Xml characters or not. - - - - - Quotas to use for limiting resource consumption when writing an OData message. - - - - - Func to evaluate whether an instance annotation should be read or skipped by the reader. The func should return true if the instance annotation should - be read and false if the instance annotation should be skipped. - - - - - Materializer for LoadProperty API call for navigation properties. - - - - - Materializes feeds and entities from an ODataReader - - - - - Used to materialize entities from a objects. - - - - - Use this class to materialize objects provided from an . - - - - Empty navigation links collection - - - Empty property collection - - - Collection->Next Link Table for nested links - - - The collection value materialization policy. - - - The complex value materializer policy. - - - The materialization policy used to materialize primitive values. - - - The converter to use when assigning values of primitive properties. - - - - Initializes a new instance of the class. - - The materializer context. - The expected type. - - - - Creates an for a response. - - The response message. - The response context. - The type to materialize. - The query components for the request. - The projection plan. - expected payload kind. - A materializer specialized for the given response. - - - Reads the next value from the input content. - true if another value is available after reading; false otherwise. - - After invocation, the currentValue field (and CurrentValue property) will - reflect the value materialized from the parser; possibly null if the - result is true (for null values); always null if the result is false. - - - - - Disposes the materializer - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Creates an for a given message and context using - WCF DS client settings. - - The response message - The response context - Type of the message. - The message reader. - - - - Verifies that the object is not disposed. - - - - - Implementation of . - - Return value of - - - - Called when IDisposable.Dispose is called. - - - - Current value being materialized; possibly null. - - This will typically be an entity if - is assigned, but may contain a string for example if a top-level - primitive of type string is found. - - - - Feed being materialized; possibly null. - - - Entry being materialized; possibly null. - - - Table storing the next links assoicated with the current payload - - - Whether we have finished processing the current data stream. - - - - Returns true if the underlying object used for counting is available - - - - - The count tag's value, if requested - - The count value returned from the server - - - Function to materialize an entry and produce a value. - - - - Gets the materializer context - - - - - Returns true if the materializer has been disposed - - - - - Gets the expected type. - - - The expected type. - - - - - Gets the collection value materialization policy. - - - - - Gets the complex value materialization policy. - - - - - The converter to use when assigning values of primitive properties. - - - - - The policy used to materialize primitive values. - - - - - The format of the response being materialized. - - - - The value of the current materialized entity. - - - The materializer plan. - - - The entry value materializer policy. - - - - Initializes a new instance of the class. - - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates an entry materialization plan that is payload-driven. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Creates an entry materialization plan that is payload-driven and does not traverse expanded links. - Segment type for the entry to materialize (typically last of URI in query). - A payload-driven materialization plan. - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - Note that if the target is a collection, the result is always false, - as the model does not allow null feeds (but instead gets an empty - collection, possibly with continuation tokens and such). - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - - Ensures that an entry of is - available on the specified . - - Materilizer used for logging. - Entry to ensure. - Required type. - - As the 'Projection' suffix suggests, this method should only - be used during projection operations; it purposefully avoid - "source tree" type usage and POST reply entry resolution. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Projects a simple value from the specified . - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - Helper method for constructor of DataServiceCollection. - Element type for collection. - The enumerable which has the continuation on it. - The DataServiceCollection to apply the continuation to. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Reads the next feed or entry. - - True if an entry was read, otherwise false - - - - Checks that the specified isn't null. - - Entry to check. - Name of entry being accessed. - - - Creates an entry materialization plan for a given projection. - Query components for plan to materialize. - A materialization plan. - - - Materializes the result of a projection into a list. - Materializer to use for the operation. - Target list. - Expected type for nested object. - Entries to materialize from. - - This method supports projections and as such does shallow payload-driven - materialization of entities. - - - - Gets a property from the specified list, throwing if not found. - List to get value from. - Property name to look up. - The specified property (never null). - - - Merges a list into the property of a given . - Entry to merge into. - Property on entry to merge into. - List of materialized values. - Next link for feed from which the materialized values come from. - Projection plan for the list. - - This method will handle entries that shouldn't be updated correctly. - - - - - Gets the Entity Materializer Context - - - - - Target instance that the materializer expects to update. - - - - - Current value being materialized; possibly null. - - - - - Function to materialize an entry and produce a value. - - - - - Gets the entry value materialization policy. - - - The entry value materialization policy. - - - - The enty or feed reader. - - - The message reader. - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - - - - This method is for parsing CUD operation payloads which should contain - 1 a single entry - 2 An Error - - the message for the payload - The current ResponseInfo object - The expected type - the MaterializerEntry that was read - - - - Called when IDisposable.Dispose is called. - - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Response Info object. - - - - - Items that have been read from the feed or entry. - - - - - Iteration of the entity collection reader. - - - - - Initializes a new instance of the class. - - The odata message reader. - The reader. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - LoadProperty Response Info object. - - - - Implementation of Read/>. - - - Return value of Read/> - - - - - Arguments for creating an instance of DataServiceClientRequestMessage. - - - - The actual method. - - - - Initializes a new instance of the class. - - Method of the request. - The Request Uri. - True if the default credentials need to be sent with the request. Otherwise false. - True if the request message must use POST verb for the request and pass the actual verb in X-HTTP-Method header, otherwise false. - The set of headers for the request. - - - - Initializes a new instance of the class. - - Method of the request. - The Request Uri. - True if the request message must use POST verb for the request and pass the actual verb in X-HTTP-Method header, otherwise false. - True if the default credentials need to be sent with the request. Otherwise false. - The set of headers for the request. - The http client stack to use. - - - - Gets the method. - - - - - Gets the request URI. - - - - - Returns whether the request message should use Post-Tunneling. - - - - - Gets the headers. - - - - - Gets the actual method. Indicates correct method to use in the post tunneling case. - - - - - Gets the http stack. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Represents the type of HTTP implementation to use when accessing the data service.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - - Automatically choose the HTTP stack - When possible XmlHttp stack will be used, otherwise the Client stack will be used - - - - - The ClientHttp stack will be used for HTTP requests - - - - - The XmlHttpRequest stack will be used for HTTP requests - - - - - Arguments used to configure the odata message reader settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Arguments used to configure the odata message writer settings. - - - - - Initializes a new instance of the class. - - The settings. - - - - Gets the settings. - - - - - Configurations on the behavior of the Client. - - - - - Creates a data service client configurations class - - The sender for the Reading Atom event. - - - - Gets the response configuration pipeline. - - - - - Gets the request pipeline. - - - - - Use this class to materialize objects provided from an . - - - - - Class responsible for materializing from OData to Objects - - - - - Creates the specified edm type. - - Type of the edm. - The type. - In the future this class will have Materialize and Update will be adding this in upcoming changes - A created object - - - The materializer context. - - - The complex value materialization policy. - - - The primitive value materialization policy. - - - - Initializes a new instance of the class. - - The context. - The primitive policy. - - - - Creates Collection instance of store Collection items. - - ODataProperty instance representing the Collection as seen in the atom payload. - CLR type of the Collection as defined by the user. - Newly created Collection instance. Never null. - - - - Creates the collection instance. - - The edm collection type reference. - Type of the client collection. - New Collection Instance. - - - - Applies collectionValue item to the provided . - - Atom property containing materialized Collection items. - Collection instance. Must implement ICollection<T> where T is either primitive or complex type (not an entity). - Type of items in the Collection. Note: this could be calculated from collectionInstance but we already have it in upstream methods. - Action called actually add a Collection item to - - - - Applies the collection data values to a collection instance. - - The items. - Name of the wire type. - The collection instance. - Type of the collection item. - The add value to backing I collection instance. - - - - Creates Collection instance of store Collection items. - - The edm collection type reference. - Type of the client collection. - Error to throw. - - Newly created Collection instance. Never null. - - - - - Gets the complex value materialization policy. - - - The complex value materialization policy. - - - - - Use this class to materialize objects provided from an . - - - - - Contains logic on how to materialize properties into an instance - - - - The collection value materialization policy. - - - The primitive property converter. - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a primitive value. No op for non-primitive values. - Type of value to set. - Property holding value. - - - - Applies the values of the specified to a given . - - Type to which properties will be applied. - Properties to assign to the specified . - Instance on which values will be applied. - - - Applies a data value to the specified . - Type to which a property value will be applied. - Property with value to apply. - Instance on which value will be applied. - - - - Materializes the primitive data values in the given list of . - - Actual type for properties being materialized. - List of values to materialize. - - Whether properties missing from the client types should be ignored. - - - Values are materialized in-place withi each - instance. - - - - - Gets the collection value materialization policy. - - - The collection value materialization policy. - - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Gets the materializer context. - - - The materializer context. - - - - - Initializes a new instance of the class. - - The materializer context. - The lazy primitive property converter. - - - Materializes a complex type property. - Type of the complex type to set. - The OData complex value. - - - - Determines if there is an existing entity or whether a new one is created - - - - Target instance that the materializer expects to update. - - - - Initializes a new instance of the class. - - The entity tracker. - The merge option. - The model. - The context. - - - Resolved or creates an instance on the specified . - Entry on which to resolve or create an instance. - Expected type for the . - - After invocation, the ResolvedObject value of the - will be assigned, along with the ActualType value. - - True if an existing entity is found. - - - - Tries to resolve the specified entry as an entry that has already been created in this materialization session or is already in the context. - - Entry to resolve. - Expected type of the entry. - True if the entry was resolved, otherwise False. - - - Tries to resolve the object as the target one in a POST refresh. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - Tries to resolve the object as one from the context (only if tracking is enabled). - Entry to resolve. - Expected entry type for the specified . - true if the entity was resolved; false otherwise. - - - Tries to resolve the object from those created in this materialization session. - Entry to resolve. - true if the entity was resolved; false otherwise. - - - - Gets the value of the MergeOption - - - - - Gets the Context - - Implementation Note, only used in when a new DataServiceCollection, - would like to remove this dependency but would need to change projection - plan, might happen in a subsequent refactor - - - - - Gets the materialization log. - - - - - Gets the entity tracker. - - - - - Gets the model. - - - - - Target instance that the materializer expects to update. - - - - - Used to materialize entities from an to an object. - - - - Collection->Next Link Table for nested links - - - - Initializes a new instance of the class. - - The context. - The entity tracking adapter. - The lazy primitive property converter. - The next link table. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client Model. - whether to do the entity check or not. - The type - - - - Validates the specified matches - the parsed . - - Property as understood by the type system. - Property as parsed. - Client model. - whether to do the entity check or not. - - - Materializes the specified . - Entry with object to materialize. - Expected type for the entry. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Applies the values of the enumeration to the - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Whether this is a continuation request. - - - Records the fact that a rel='next' link was found for the specified . - Collection to add link to. - Link (possibly null). - Projection plan for the collection (null allowed only if link is null). - - - Records the fact that a was found but won't be modified. - Collection to add link to. - - - "Resolved" the entity in the by instantiating it. - Entry to resolve. - Type to create. - - After invocation, entry.ResolvedObject is exactly of type . - - - - - Matches the given item type with the corresponding collection element type. - - Item type. - Collection element type. - - - - Materializes the link properties if any with the url in the response payload - - Actual client type that is getting materialized. - MaterializerEntry instance containing all the links that came in the response. - - - - Populates the collection property on the entry's resolved object with the given items enumerator. - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Next link for collection continuation. - Projection plan for collection continuation. - Collection instance that was populated. - - - - Gets or creates a collection property on the specified . - - Instance on which to get/create the collection. - Collection property on the . - Is this collection being created for LoadProperty scenario. - - The collection corresponding to the specified ; - never null. - - - - - Applies the values of a nested to the collection - of the specified . - - Entry with collection to be modified. - Collection property on the entry. - Values to apply onto the collection. - Whether links that are expanded should be materialized. - - - Materializes the specified . - Entry with object to materialize. - Whether links that are expanded should be materialized. - This is a payload-driven materialization process. - - - - Gets the Entity Materializer Context - - - - - Contains an odata reader that is wrapped - - - - The reader. - - - The payload reading events. - - - - Prevents a default instance of the class from being created. - - The reader. - The data service response pipeling configuration object. - - - - Reads the next from the message payload. - - true if more items were read; otherwise false. - - - - Creates and Wraps an ODataReader for feeds or entries. - - The message reader. - The message type. - The expected EDM type. - The data service response pipeling configuration object. - A reader. - - - - Wraps an ODataReader - - The reader. - The data service response pipeling configuration object. - A reader. - - - - The current state of the reader. - - - - - The most recent that has been read. - - - - - Converter for primitive values which do not match the client property types. This can happen for two reasons: - 1) The client property types do not exist in the protocol (Uri, XElement, etc) - 2) The values were read using the service's model, and the client types are slightly different (ie float vs double, int vs long). - - - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - Geo JSON formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - Gml formatter used for converting spatial values. Lazily created in case no spatial values are ever converted. - - - - Initializes a new instance of the class. - - The response format the values were originally read from. Required for re-interpreting spatial values correctly. - - - - Converts a value to primitive value. - - The value. - Type of the property. - The converted value if the value can be converted - - - - Converts a non-spatial primitive value to the target type. - - The value to convert. - The target type of the conversion. - The converted value. - - - - Converts the value to the target type if needed. - - The value to convert. - The target type. - The converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The value to convert. - The target type of the conversion. - The original or converted value. - - - - Converts a spatial value by from geometry to geography or vice versa. Will return the original instance if it is already of the appropriate hierarchy. - Will throw whatever parsing/format exceptions occur if the sub type is not the same. - - The type of the value being converted. - The target type of the conversion. - The value to convert. - The original or converted value. - - - - Creates a policy that is used for materializing Primitive values - - - - MaterializerContext used to resolve types for materialization. - - - - primitive property converter used to convert the property have the value has been materialized. - - - - Initializes a new instance of the class. - - The context. - The lazy primitive property converter. - - - - Materializes the primitive data value. - - Type of the collection item. - Name of the wire type. - The item. - Materialized primitive data value. - - - - Materializes the primitive data value collection element. - - The collection item type. - Name of the wire type. - The item. - Materialized primitive collection element value - - - Materializes a primitive value. No op or non-primitive values. - Type of value to set. - Type name from the payload. - Value of primitive provided by ODL. - The exception message if the value is null. - The materialized value. - true if the value was set; false if it wasn't (typically because it's a complex value). - - - - Gets the primitive property converter. - - - The primitive property converter. - - - - - Materialized Entity arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - This class represents the contract WCF Data Services client with the request message. - - - - Http method. - - - - Initializes a new instance of the class. - - The actual method. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or sets the request url. - - - - - Gets or sets the method for this request. - - - - - Gets or set the credentials for this request. - - - - - Gets or sets a value that indicates whether to send data in segments to the - Internet resource. - - - - - Gets or the actual method. In post tunneling situations method will be POST instead of the specified verb method. - - - - - The writing entity reference link arguments - - - - - Initializes a new instance of the class. - - The entity reference link. - The source. - The target. - - - - Gets the feed. - - - The feed. - - - - - Gets the source. - - - - - Gets the target. - - - - - Writing entry arguments - - - - - Initializes a new instance of the class. - - The entry. - The entity. - - - - Gets the entry. - - - The entry. - - - - - Gets the entity. - - - - - Writing navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - The source. - The target. - - - - Gets the link. - - - The link. - - - - - Gets the source. - - - - - Gets the target. - - - - - Class that holds a variety of events for writing the payload from the OData to the wire - - - - Actions to execute before start entry called. - - - Actions to execute before end entry called. - - - Actions to execute before entity reference link written. - - - Actions to execute after before start navigation link called. - - - Actions to execute before end navigation link called. - - - The message writer setting configurations. - - - The delegate that represents how a message is created. - - - - Creates a request pipeline configuration class - - - - - Called when [message writer created]. - - The args. - The request pipeline configuration. - - - - Called when [entry starting]. - - The action. - The request pipeline configuration. - - - - Called when [entry ending]. - - The action. - The request pipeline configuration. - - - - Called when [entity reference link]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link starting]. - - The action. - The request pipeline configuration. - - - - Called when [navigation link end]. - - The action. - The request pipeline configuration. - - - - Called when [create message writer settings configurations]. - - The writer settings. - - - - Fires before entry end. - - The entry. - The entity. - - - - Fires before entry start. - - The entry. - The entity. - - - - Fires before navigation end. - - The link. - The source. - The target. - - - - Fires before navigation start. - - The link. - The source. - The target. - - - - Fires before writing the on entity reference link. - - The entity reference link. - The source. - The target. - - - - Gets the request message to be used for sending the request. By providing a custom message, users - can replace the transport layer. - - - - - Determines if OnMessageCreating is being used or not. - - - - - Gets or sets the a value indicating whether the context is using the sending request event or not. - - - - - The reading navigation link arguments - - - - - Initializes a new instance of the class. - - The link. - - - - Gets the link. - - - The link. - - - - - The reading feed arguments - - - - - Initializes a new instance of the class. - - The feed. - - - - Gets the feed. - - - The feed. - - - - - Entity Tracker base, allows more decoupling for testing. - - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - - Contains state and methods required to materialize odata collection, complex and primitive values - - - - - Context for materialization of OData values - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Gets a value indicating whether Ignore missing properties is set or not - - - - - Gets a value indicated the Client Edm Model - - - - - Gets the materialization Events - - - - - Initializes a materializer context - - Response information used to initialize with the materializer - - - - Resolved the given edm type to clr type. - - Expected Clr type. - Edm name of the type returned by the resolver. - an instance of ClientTypeAnnotation with the given name. - - - - Resolves the EDM type for the given CLR type. - - The client side CLR type. - The resolved EDM type. - - - - Gets a value indicating whether to ignore missing properties when materializing values - - - - - Gets a Client Edm model used to materialize values - - - - - Gets the materialization Events - - - - - Gets the Response information that backs the information on the context - - - - - The reading entry args - - - - - Initializes a new instance of the class. - - The entry. - - - - Gets the entry. - - - The entry. - - - - - Class that is responsible for configuration of actions that are invoked from a response - - - - Actions to be run when reading start entry called - - - Actions to be run when reading end entry called - - - Actions to be run when reading start feed called - - - Actions to be run when reading end feed called - - - Actions to be run when reading start link called - - - Actions to be run when reading end link called - - - Actions to be run after an entry has been materialized - - - The message reader setting configurations. - - - The sender. - - - - Creates a Data service client response pipeline class - - The sender for the Reading Atom event. - - - - Called when [reader settings created]. - - The reader message settings configuration. - The response pipeline configuration. - - - - Called when [read start entry]. - - The action. - The response pipeline configuration. - - - - Called when [read end entry]. - - The action. - The response pipeline configuration. - - - - Called when [read start feed]. - - The action. - The response pipeline configuration. - - - - Called when [read end feed]. - - The action. - The response pipeline configuration. - - - - Called when [read start navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [read end navigation link]. - - The action. - The response pipeline configuration. - - - - Called when [entity materialized]. - - The action. - The response pipeline configuration. - - - - Executes actions that configure reader settings. - - The reader settings. - - - - Executes the on entry end actions. - - The entry. - - - - Executes the on entry start actions. - - The entry. - - - - Executes the on feed end actions. - - The feed. - - - - Executes the on feed start actions. - - The feed. - - - - Executes the on navigation end actions. - - The link. - - - - Executes the on navigation start actions. - - The link. - - - - Fires after the entry was materialized - - The entry. - The entity. - - - - Fires the reading atom entity event. - - The materializer entry. - - - - Fires the end entry events. - - The entry. - - - - Internal event instance used by the public ReadingEntity event. - - - - - Gets a value indicating whether this instance has handlers. - - - true if this instance has handlers; otherwise, false. - - - - - Gets a value indicating whether this instance has atom reading entity handlers. - - - true if this instance has atom reading entity handlers; otherwise, false. - - - - - Gets whether there is a reading entity handler - - - - - Class for reading top level feeds or entries and adapting it for the materializer - - - - The odata format being read. - - - The reader. - - - The Client Edm Model used to determine type information. - - - MergeOption information to determine how to merge descriptors. - - - An enumerator of values. - - - The current feed. - - - The current entry. - - - - Initializes a new instance of the class. - - The messageReader that is used to get the format of the reader. - The reader. - The model. - The mergeOption. - - - - Initializes a new instance of the class. Used for tests so no ODataMessageReader is required - - The format of the reader. - The reader. - The model. - The mergeOption. - - - - The count tag's value, if requested - - Should read pull if no feed exists. - The count value returned from the server - - - - Read a feed or entry, with the expected type. - - true if a value was read, otherwise false - - - - Disposes the reader - - - - - Tries to read a feed or entry. - - if set to true [lazy]. - The feed. - The entry. - true if a value was read, otherwise false - - - - Tries to read the start of a feed or entry. - - true if a value was read, otherwise false - - - - Tries to read a feed. - - if set to true [lazy]. - The feed. - true if a value was read, otherwise false - - - - Reads the remainder of a feed. - - if set to true [lazy]. - A feed. - - - - Lazily reads entries. - - An enumerable that will lazily read entries when enumerated. - - - - Tries to read an entry. - - The entry. - true if a value was read, otherwise false - - - - Reads the remainder of an entry. - - An entry. - - - - Reads a navigation link. - - A navigation link. - - - - Tries to read from the ODataReader. - - True if a value is read, otherwise false - - - - Reads from the reader and asserts the reader is in the expected state. - - The expected state. - - - - Asserts that an item could be read. - - - - - Asserts the reader is in the expected state. - - The expected state. - - - - Gets the current feed. - - - - - Gets the current entry. - - - - - Gets a value indicating whether this instance is end of stream. - - - true if this instance is end of stream; otherwise, false. - - - - - Useful extension methods for IDictionary - - - - - If the key exists in the dictionary, returns it. Otherwise creates a new value, adds it to the dictionary, and returns it. - - The type of the key. - The type of the value. - The dictionary to look in. - The key to find/add. - A callback to create a new value if one is not found. - The new or found value. - - - - Sets a range of values in the dictionary. A set operation is performed on each value in - - The type of the key. - The type of the value. - The dictionary to set the values in. - Enumerable of key-value pairs to set in . - - - - Tracks the user-preferred format which the client should use when making requests. - - - - MIME type for ATOM bodies (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies (implies light in V3, verbose otherwise) (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode (http://www.iana.org/assignments/media-types/application/). - - - MIME type for JSON bodies in light mode with all metadata. - - - MIME type for JSON bodies in verbose mode (http://www.iana.org/assignments/media-types/application/). - - - OData parameter value for verbose. - - - MIME type for changeset multipart/mixed - - - MIME type for XML bodies. - - - Combined accept header value for either 'application/atom+xml' or 'application/xml'. - - - text for the utf8 encoding - - - The character set the client wants the response to be in. - - - The context this format instance is associated with. - - - - Initializes a new instance of the class. - - DataServiceContext instance associated with this format. - - - - Indicates that the client should use the efficient JSON format. - - The model of the service. - - - - Indicates that the client should use the efficient JSON format. Will invoke the LoadServiceModel delegate property in order to get the required service model. - - - - - Indicates that the client should use the Atom format. - - - - - Sets the value of the Accept header to the appropriate value for the current format. - - The headers to modify. - - - - Sets the value of the Accept header for a query. - - The headers to modify. - The query components for the request. - - - - Sets the value of the Accept header for a stream request (will set it to '*/*'). - - The headers to modify. - - - - Sets the value of the Accept header for a count request (will set it to 'multipart/mixed'). - - The headers to modify. - - - - Sets the value of the ContentType header on the specified entry request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the Content-Type header a request with operation parameters to the appropriate value for the current format. - - Dictionary of request headers. - - - - Sets the value of the ContentType header on the specified links request to the appropriate value for the current format. - - Dictionary of request headers. - - - - Validates that we can write the request format. - - The request message to get the format from. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Validates that we can read the response format. - - The response message to get the format from. - - - - Throws InvalidOperationException for JSON Light without a model. - - - - - Throws NotSupportedException for JSON Verbose format. - - Content-type to appear on the message. - - - - Validates that we can read or write a message with the given content-type value. - - The content-type value in question. - true if the writer is intended to for a parameter payload, false otherwise. - - - - Sets the request's content type header. - - Dictionary of request headers. - content type - - - - Sets the accept header to the given value and the charset to UTF-8. - - The headers to update. - The media type for the accept header. - - - - Chooses between using JSON-Light and the context-dependent media type for when Atom is selected based on the user-selected format. - - The value if using atom. - - Whether or not the select query option is present in the request URI. - If true, indicates that the client should ask the server to include all metadata in a JSON-Light response. - - The media type to use (either JSON-Light or the provided value) - - - - Gets the current format. Defaults to Atom if nothing else has been specified. - - - - - Invoked when using the parameterless UseJson method in order to get the service model. - - - - - True if the format has been configured to use Atom, otherwise False. - - - - - ODataFormat to use when writing URI literals. - - - - - Gets the service model. - - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result. - - - URI to next page of data. - - - Projection plan for results of next page. - - - Initializes a new instance. - URI to next page of data. - Projection plan for results of next page. - - - Returns the next link URI as a string. - A string representation of the next link URI. - - - Creates a new instance. - Link to next page of data (possibly null). - Plan to materialize the data (only null if nextLinkUri is null). - A new continuation object; null if nextLinkUri is null. - - - - Initializes a new instance that can - be used for this continuation. - - A new initializes . - - - Gets the URI that is used to return the next page of data from a paged query result. - A URI that returns the next page of data. - - - Type of element to be paged over. - - - Projection plan for the next page of data; null if not available. - - - Encapsulates a URI that returns the next page of a paged WCF Data Services query result.  - The type of continuation token. - - - Initializes a new typed instance. - URI to next page of data. - Projection plan for results of next page. - - - Type of element to be paged over. - - - Determines whether the client requests that the data service return inserted or updated entity data as an entry in the response message. - - - default option, no Prefer header is sent. - - - Prefer header with value return-content is sent with all PUT/MERGE/POST requests to entities. - - - Prefer header with value return-no-content is sent with all PUT/MERGE/POST requests to entities. - - - Stream wrapper for MR POST/PUT which also holds the information if the stream should be closed or not. - - - Arguments for the request when POST/PUT of the stream is issued. - - - The stream we are wrapping. - Can be null in which case we didn't open it yet. - - - Set to true if the stream should be closed once we're done with it. - - - - Constructor - - The stream to use. - Should the stream be closed before SaveChanges returns. - Additional arguments to apply to the request before sending it. - - - - Close the stream if required. - This is so that callers can simply call this method and don't have to care about the settings. - - - - The stream to use. - - - - Arguments to be used for creation of the HTTP request when POST/PUT for the MR is issued. - - - - Represents the URL of a binary resource stream. - - - name of the stream whose link needs to be populated. - - - self link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - edit link for the stream. - This should always be an absolute uri, if specified. If the payload contains an relative uri, - we always use the context base uri to convert this into an absolute uri. - - - content type of the stream. - - - etag for the stream. - - - - Internal constructor to be used by the projection plan compiler, so that we capture the ri - - name of the stream. - - - - One of the properties changed its value - - property name - - - - PropertyChanged Event - - - - The name of the binary resource stream. - The name of the binary resource stream. - - - The URI that returns the binary resource stream. - The URI of the stream. - - - Gets the URI used to edit the binary resource stream. - The URI used to edit the stream. - - - Gets the MIME Content-Type of the binary resource stream. - The Content-Type value for the stream. - - - The eTag value that is used to determine concurrency for a binary resource stream. - The value of the eTag header for the stream. - - - - Class to describe errors thrown by transport layer. - - - - - Contains the state for this exception. - - - - - Constructs a new instance of DataServiceTransportException. - - ResponseMessage from the exception so that the error payload can be read. - Actual exception that this exception is wrapping. - - - - Gets the response message for this exception. - - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Gets or sets the response message for this exception. - - - - - Generates proxy methods for external callers to call internal methods - All lambda_methods are considered external. When these methods need - to access internal resources, a proxy must be used. Otherwise the call - will fail for partial trust scenario. - - - - - Builds an expression to best call the specified . - - The original method or constructor - The arguments with which to call the method. - An expression to call the argument method or constructor - - - - Wraps the specified in an expression that invokes it. - - The method to wrap in an expression. - The arguments with which to invoke the . - An expression which invokes the with the specified . - - - - context - - - - Storage for the client model. - - - Set of tracked resources - - - Set of tracked resources by Identity - - - Set of tracked bindings - - - change order - - - - Creates a new instance of EntityTracker class which tracks all instances of entities and links tracked by the context. - - max protocol version that the client understands. - - - Gets the entity descriptor corresponding to a particular entity - Entity for which to find the entity descriptor - EntityDescriptor for the or null if not found - - - - verify the resource being tracked by context - - resource - The given resource. - if resource is not contained - - - - checks whether there is a tracked entity with the given identity. - - identity of the entity. - returns the entity if the identity matches, otherwise returns null. - - - - Adds the given entity descriptors to the list of the tracked entity descriptors. - - entity descriptor instance to be added. - - - the work to detach a resource - resource to detach - true if detached - - - remove the identity attached to the resource - resource with an identity to detach to detach - - - - Gets the link descriptor corresponding to a particular link b/w source and target objects - - Source entity - Property of - Target entity - LinkDescriptor for the relationship b/w source and target entities or null if not found - - - - attach the link with the given source, sourceProperty and target. - - source entity of the link. - name of the property on the source entity. - target entity of the link. - merge option to be used to merge the link if there is an existing link. - - - - find and detach link for reference property - - source entity - source entity property name for target entity - target entity - link merge option - true if found and not removed - - - - Add the given link to the link descriptor collection - - link descriptor to add - throws argument exception if the link already exists - - - - Remove the link from the list of tracked link descriptors. - - link to be removed. - true if the link was tracked and now removed, otherwise returns false. - - - - get the related links ignoring target entity - - source entity - source entity's property - enumerable of related ends - - - Detach existing link - link to detach - true if target is being deleted, false otherwise - - - response materialization has an identity to attach to the inserted object - entity descriptor containing all the information about the entity from the response. - mergeOption based on which EntityDescriptor will be merged. - - - use location from header to generate initial edit and identity - entity in added state - identity as specified in the response header - location header or dataserviceid header. - editlink as specified in the response header - location header. - - - - Attach entity into the context in the Unchanged state. - - entity descriptor from the response - fail for public api else change existing relationship to unchanged - Caller should validate descriptor instance. - The attached descriptor, if one already exists in the context and failIfDuplicated is set to false, then the existing instance is returned - if entity is already being tracked by the context - if identity is pointing to another entity - - - - Find tracked entity by its resourceUri and update its etag. - - resource id - state of entity - entity if found else null - - - - increment the resource change for sorting during submit changes - - the resource to update the change order - - - create this.identityToResource when necessary - - - create this.bindings when necessary - - - - Ensure an identity is unique and does not point to another resource - - The identity - The entity descriptor - - - - Returns a collection of all the links (ie. associations) currently being tracked by the context. - If no links are being tracked, a collection with 0 elements is returned. - - - - - Returns a collection of all the resources currently being tracked by the context. - If no resources are being tracked, a collection with 0 elements is returned. - - - - Holds information about a ServiceFunction. - - - - This is a just a pass through implementation of IODataRequestMessage. This class is used - for wrapping the inner batch requests or in silverlight when we are using the - non-silverlight http stack, we need to fire IODataRequestMessage which throws - when GetStream is called. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - Boolean flag to allow calls to GetStream() on this instance - We want to allow this because WritingRequest and ReadingResponse events on the Windows Phone platform - requires that we pass a readable stream to user code as arguments. - - - - - request stream - - - - - dictionary containing http headers. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - boolean flag to allow calls to GetStream() on this instance - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Gets or set the credentials for this request. - - - - - internal headers dictionary - - - - Response from an Invoke call. - - - Operation response base class - - - Http headers of the response. - - - Http status code of the response. - - - exception to throw during get results - - - - constructor - - HTTP headers - - - When overridden in a derived class, contains the HTTP response headers associated with a single operation. - object that contains name value pairs of headers and values. - - - When overridden in a derived class, gets or sets the HTTP response code associated with a single operation. - Integer value that contains response code. - - - Gets error thrown by the operation. - An object that contains the error. - - - Http headers of the response. - - - Consutrcts an InvokeResponse identical to an OperationResponse. - The HTTP headers. - - - Encapsulates information about a link, or relationship, between entities. - - - navigation URI to the related entity. - - - association URI to the related entity. - - - the navigation property name - - - - Creates a LinkInfo with a given properyName - - the name of the navigation property - - - Gets the name of the link. - The name of the link. - - - Gets the URI that is the navigation property representation of the link. - The navigation link URI. - - - Gets the URI that is the association link. - The URI of the association link. - - - wrapper around loading a property from a response - - - - Wrapper HttpWebRequest & HttWebResponse - - - - Originating service request - - - The request info. - - - Originating WebRequest - - - reusuable async copy buffer - - - content to write to request stream - - - web response, closed when completed - - - Response info once it's available - - - buffer when copying async stream to response stream cache - - - response stream, returned to other parts of the system - with async, the asyncResponseStream is copied into this stream - - - copy of HttpWebResponse.ContentType - - - copy of HttpWebResponse.ContentLength - - - copy of HttpWebResponse.StatusCode - - - - does this own the response stream or does the container of this QueryAsyncResult? - - - - - if the BeginRead has been called with asyncStreamCopyBuffer, but EndRead has not. - do not return the buffer to general pool if any question of it being in use. - - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - - - constructor - source object of async request - async method name on source object - Originating serviceRequest - Originating WebRequest - The request info of the originating request. - user callback - user state - the stream containing the request data. - - - - Ends the asynchronous query request. - - Element type of the result. - Source object of async request. - async method name. - The asyncResult being ended. - Data service response. - - - wrapper for HttpWebResponse.GetResponseStream - stream - - - start the asynchronous request - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Returns the response for the request. - - materialized results for the request. - element type of the results. - returns the instance of QueryOperationResponse containing the response. - - - - Create materializer on top of response stream - - Precompiled projection plan (possibly null). - A materializer instance ready to deserialize ther result - - - - Processes the result for successfull request and produces the actual result of the request. - - Element type of the result. - The plan to use for the projection, if available in precompiled form. - A instance of QueryResponseResult created on top of of the request. - - - cleanup work to do once the request has completed - - - - Create the ResponseInfo. - - ResponseInfo object. - - - get stream which of copy buffer (via response stream) will be copied into - writtable stream, happens before GetAsyncResponseStreamCopyBuffer - - - get buffer which response stream will be copied into - writtable stream - - - returning a buffer after being done with it - buffer to return - - - set the http web response - response object - - - Disposes the request object if it is not null. Invokes the user callback - the request object - - - handle request.BeginGetResponse with request.EndGetResponse and then copy response stream - async result - - - verify non-null and not completed - async result - error code if null or completed - - - - Make async calls to read the response stream. - - the state containing the information about the asynchronous operation. - - - handle responseStream.BeginRead with responseStream.EndRead - async result - - - - Creates an instance of for the given plan. - - The projection plan. - expected payload kind. - A new materializer instance - - - HttpWebResponse.ContentLength - - - HttpWebResponse.ContentType - - - HttpWebResponse.StatusCode - - - entity whose property is being loaded - - - Projection plan for loading results; possibly null. - - - name of the property on the entity that is being loaded - - - constructor - entity - name of collection or reference property to load - Originating context - Originating WebRequest - user callback - user state - request object. - Projection plan for materialization; possibly null. - Whether this request is a continuation request. - - - - loading a property from a response - - QueryOperationResponse instance containing information about the response. - - - - Creates the ResponseInfo object. - - ResponseInfo object. - - - - Reads the data from the response stream into a buffer using the content length. - - Response stream. - Length of data to read. - byte array containing read data. - - - Reads the data from the response stream in chunks. - Response stream. - byte array containing read data. - - - - Load property data from an ATOM response - - The property being loaded - property values as IEnumerable. - - - - Load property data form a raw response - - The property being loaded - property values as IEnumerable. - - - - Used to materialize a collection of primitive or complex values from an . - - - - - Used to materialize a value from an . - - - - Optional field that indicates if we should expect a single result to materialize, as opposed to a collection. - - - Reader for a message that contains a value or property. - - - Has the value been read. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - Clears the materialization log of activity. - - - Applies the materialization log to the context. - - - - Implementation of Read>. - - - Return value of Read/> - - - - - Called when IDisposable.Dispose is called. - - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - Whether we have finished processing the current data stream. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Function to materialize an entry and produce a value. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Class that wraps the collection reader to get values from the collection reader - - - - - Collection Reader - - - - - Initializes a new instance of the class. - - The collection reader. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Advances the enumerator to the next element of the collection. - - - true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection. - - The collection was modified after the enumerator was created. - - - - Sets the enumerator to its initial position, which is before the first element in the collection. - - The collection was modified after the enumerator was created. - - - - Gets the current element in the collection. - - The current element in the collection. - The enumerator is positioned before the first element of the collection or after the last element.-or- The collection was modified after the enumerator was created. - - - - Materializes entities from a sequence of ODataEntry objects - - - - The format of the response being materialized. - - - The entries enumerator - - - Is the enumerator finished. - - - - Initializes a new instance of the class. - - The entries. - The materializer context. - The entity tracking adapter. - The query components. - The expected type. - The materialize entry plan. - The format. - - - - Reads the next feed or entry. - - - True if an entry was read, otherwise false - - - - - Called when IDisposable.Dispose is called. - - - - - Feed being materialized; possibly null. - - - - - Entry being materialized; possibly null. - - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns true if the underlying object used for counting is available - - - - - Whether we have finished processing the current data stream. - - - - - Returns true if the materializer has been disposed - - - - - The format of the response being materialized. - - - - - Use this class to invoke projection methods from . - - - - Enumerates casting each element to a type. - Element type to enumerate over. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Creates a list to a target element type. - Materializer used to flow link tracking. - Element type to enumerate over. - Element type for list. - Element source. - - An IEnumerable<T> that iterates over the specified . - - - This method should be unnecessary with .NET 4.0 covariance support. - - - - Checks whether the entity on the specified is null. - Root entry for paths. - Expected type for . - Path to pull value for. - Whether the specified is null. - - This method will not instantiate entity types on the path. - - - - Provides support for Select invocations for projections. - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Path to traverse. - Selector callback. - An enumerable with the select results. - - - Provides support for getting payload entries during projections. - Entry to get sub-entry from. - Name of sub-entry. - The sub-entry (never null). - - - Initializes a projection-driven entry (with a specific type and specific properties). - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Expected result type. - Properties to materialize. - Functions to get values for functions. - The initialized entry. - - - Projects a simple value from the specified . - Materializer under which projection is taking place. - Root entry for paths. - Expected type for . - Path to pull value for. - The value for the specified . - - This method will not instantiate entity types, except to satisfy requests - for payload-driven feeds or leaf entities. - - - - Materializes an entry with no special selection. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - Materializes an entry without including in-lined expanded links. - Materializer under which materialization should take place. - Entry with object to materialize. - Expected type for the entry. - The materialized instance. - - - - Extension methods for ODataItems - - - - - Gets the materialized value. - - The property. - The materialized value. - - - - Determines whether a value has been materialized. - - The property. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The property. - The materialized value. - - - - Gets the materialized value. - - The complex value. - The materialized value. - - - - Determines whether a value has been materialized. - - The complex value. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The complex value. - The materialized value. - - - - Gets the materialized value. - - The annotatable object. - The materialized value - - - - Determines whether a value has been materialized. - - The annotatable object. - true if the value has been materialized; otherwise, false. - - - - Sets the materialized value. - - The annotatable object. - The materialized value. - - - - Annotation class for the materialized value - - - - - Gets or sets the value. - - - The value. - - - - - Materializes from $links - - - - The links value read from the message. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads from message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Reads the links. - - - - - Gets the count value. - - - - - Current value being materialized; possibly null. - - - - - Returns true if the underlying object used for counting is available - - - - - Used to materialize a property from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - The single result. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - Used to materialize a value from an . - - - - Current value being materialized; possibly null. - - - - Initializes a new instance of the class. - - The reader. - The materializer context. - The expected type. - Is a single result expected. - - - - Reads a value from the message reader. - - The expected client type being materialized into. - The expected type for the underlying reader. - - - - Current value being materialized; possibly null. - - - - - To cache the entity instance as annotation for firing ReadingEntity event - - - - XDocument instance to cache the payload. - - - BaseUri for the entry payload. - - - - Creates a new instance of ReadingEntityInfo - - XElement containing the entry payload. - base uri for the entry payload. - - - - Returns the new XmlReader to cache the payload for firing ReadingEntity event. - - ODataEntry instance that is currently getting deserialized. - XmlReader that is used to read the payload. - BaseUri for the entry payload. - XmlReader instance that needs to be used to read the payload for the given odataentry. - - - - Use this class to analyze a member assignment and figure out the - target path for a member-init on an entity type. - - - This class will also detect cases in which the assignment - expression refers to cases which we shouldn't handle during - materialization, such as references to multiple entity types - as sources (or refering to no source at all). - - - - - base vistor class for walking an expression tree bottom up. - - - - - Main visit method for ALinqExpressionVisitor - - The expression to visit - The visited expression - - - - MemberBinding visit method - - The MemberBinding expression to visit - The visited MemberBinding expression - - - - ElementInit visit method - - The ElementInit expression to visit - The visited ElementInit expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Expression list visit method - - The expression list to visit - The visited expression list - - - - MemberAssignment visit method - - The MemberAssignment to visit - The visited MemberAssignmentt - - - - MemberMemberBinding visit method - - The MemberMemberBinding to visit - The visited MemberMemberBinding - - - - MemberListBinding visit method - - The MemberListBinding to visit - The visited MemberListBinding - - - - Binding List visit method - - The Binding list to visit - The visited Binding list - - - - ElementInit expression list visit method - - The ElementInit expression list to visit - The visited ElementInit expression list - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - Empty expression array; immutable. - - - Entity in scope for the lambda that's providing the parameter. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found for this analysis. - - - Path traversed from the entry field. - - - Initializes a new instance. - Entity in scope for the lambda that's providing the parameter. - - - Analyzes an assignment from a member-init expression. - Entity in scope for the lambda that's providing the parameter. - The expression to analyze. - The analysis results. - - - - Checks whether the this and a - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses (null if this is the first). - An exception to be thrown if assignments are not compatible; null otherwise. - - This method does not set the IncompatibleAssignmentsException property on either - analysis instance. - - - - Visits the specified . - Expression to visit. - The visited expression. - This method is overriden to short-circuit analysis once an error is found. - - - Visits a conditional expression. - Expression to visit. - The same expression. - - There are three expressions of interest: the Test, the IfTrue - branch, and the IfFalse branch. If this is a NullCheck expression, - then we can traverse the non-null branch, which will be the - correct path of the resulting value. - - - - Parameter visit method. - Parameter to visit. - The same expression. - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - Visits a nested member init. - Expression to visit. - The same expression. - - - Visits a member access expression. - Access to visit. - The same expression. - - - Visits a method call expression. - Method call to visit. - The same call. - - - Gets the expressions that go beyond the last entity. - An array of member expressions coming after the last entity. - Currently a single member access is supported. - - - Gets the expressions that "walk down" to the last entity, ignoring the last expression. - An array of member expressions down to, but excluding, the last entity. - - - Gets the expressions that "walk down" to the last entity. - whether to ignore the last expression or not. - An array of member expressions down to the last entity. - - - - Checks whether the and - paths for assignments are compatible. - - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - An exception to be thrown if assignments are not compatible; null otherwise. - - - Creates an exception to be used when CheckCompatibleAssignment fails. - Type being initialized. - Previously seen member accesses. - Member assignments under evaluate. - A new exception with diagnostic information. - - - - If there is a MemberInitExpression 'new Person { ID = p.ID, Friend = new Person { ID = p.Friend.ID }}' - or a NewExpression 'new { ID = p.ID, Friend = new { ID = p.Friend.ID }}', - this method validates against the RHS of the member assigment, the expression "p.ID" for example. - - The expression to validate. - Type of the MemberInit or the New expression. - The outter nested initializer of the current initializer we are checking. - true if the expression to assign is fine; false otherwise. - - - A non-null value when incompatible paths were found for an entity initializer. - - - Whether multiple paths were found during analysis. - - - - Helper class for creating ODataLib readers, settings, and other read-related classes based on an instance of . - - - - The current response info. - - - - Initializes a new instance of the class. - - The response info. - - - - Create message reader settings for consuming responses. - - Optional XML entry customization callback to be used. - Newly created message reader settings. - - - - Creates a new the reader for the given response message and settings. - - The response message. - The settings. - Newly created message reader. - - - - Helper class for creating ODataLib writers, settings, and other write-related classes based on an instance of . - - - - The current request info. - - - - Initializes a new instance of the class. - - The request info. - - - - Create message writer settings for producing requests. - - Optional XML entry customization callback to be used for the start of entries. - Optional XML entry customization callback to be used for the end of entries. - if set to true indicates that this is a part of a batch request. - Newly created message writer settings. - - - - Creates a writer for the given request message and settings. - - The request message. - The writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - Newly created writer. - - - - Creates a request message with the given arguments. - - The request message args. - Newly created request message. - - - - IODataRequestMessage interface implementation. - - - - Request Url. - - - RequestInfo instance. - - - - Creates a new instance of ODataRequestMessage. This constructor is used for top level requests. - - RequestMessage that needs to be wrapped. - Request Info. - Descriptor for this request. - - - - Create a request message for a batch part from the batch writer. This method copies request headers - from in addition to the method and Uri. - - ODataBatchWriter instance to build operation message from. - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create a request message for a non-batch requests and outer $batch request. This method copies request headers - from in addition to the method and Uri. - - RequestMessageArgs for the request. - RequestInfo instance. - an instance of ODataRequestMessageWrapper. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Abort the current request. - - - - - Sets the value of an HTTP header. - - The name of the header to set. - The value of the HTTP header or 'null' if the header should be removed. - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the content length header for the given request message. - - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Adds the given header to the list of header whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - Fires the following events, in order - 1. WritingRequest - 2. SendingRequest2 - - Descriptor for which this request is getting generated. - - - - FireSendingRequest2 event. - - Descriptor for which this request is getting generated. - - - - Descriptor for this request; or null if there isn't one. - - - - - Return the stream containing the request payload. - - - - - Gets or sets a value that indicates whether to send request data in segments. - - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - This is a just a pass through implementation of IODataRequestMessage. - In order to keep the sync and non-async code the same, we write all requests into an cached stream and then copy - it to the underlying network stream in sync or async manner. - - - - - IODataRequestMessage implementation that this class wraps. - - - - - The cached request stream. - - - - - Creates a new instance of InternalODataRequestMessage. - - IODataRequestMessage that needs to be wrapped. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Returns the collection of request headers. - - - - - Gets or Sets the request url. - - - - - Gets or Sets the http method for this request. - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for non-batch requests and $batch requests. - - - - - Wrapper for the top-level request messages which caches the request stream as it is written. In order to keep the sync and non-async - code the same, we write all requests into an cached stream and then copy it to the underlying network stream in sync or async manner. - - - - - Creates a new instance of ODataOuterRequestMessage. - - DataServiceClientRequestMessage instance. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - - This class wraps the request message for inner batch operations. - - - - - Inner batch request that ODataLib creates. - - - - - Creates a new instance of InnerBatchRequestMessageWrapper; - - Instance of DataServiceClientRequestMessage that represents this request. - Instance of IODataRequestMessage created by ODataLib. - RequestInfo instance. - Descriptor for this request. - - - - Create ODataMessageWriter given the writer settings. - - Writer settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Returns true if the message is part of the batch request, otherwise return false; - - - - - Return the stream containing the request payload. - - - - Use this class to represent an annotated list of path segments. - - - Initializes a new instance. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - - - Initializes a new instance. - Root parameter for this path. - Expression to get the expected root type in the target tree. - Expression for the root entry. - Member to initialize the path with. - - - Provides a string representation of this object. - A string representation of this object, suitable for debugging. - - - Parameter expression in the source tree. - - - Expression to get the entry for in the target tree. - - - Expression to get the expected root type in the target tree. - - - - Use this class to help keep track of projection paths built - while compiling a projection-based materialization plan. - - - - Stack of whether entities are in scope. - - - Registers rewrites for member initialization blocks. - - - Stack of lambda expressions in scope. - - - - Stack of expected type expression for . - - - - Stack of 'entry' parameter expressions. - - - Stack of projection (target-tree) types for parameters. - - - Initializes a new instance. - - - Provides a string representation of this object. - String representation of this object. - - - Records that a lambda scope has been entered when visiting a projection. - Lambda being visited. - Expression to the entry parameter from the target tree. - Expression to the entry-expected-type from the target tree. - - - - Records that a member initialization expression has been entered - when visting a projection. - - Expression for initialization. - - - Gets a rewrite for the specified expression; null if none is found. - Expression to match. - A rewrite for the expression; possibly null. - - - Records that a lambda scope has been left when visting a projection. - - - - Records that a member initialization expression has been left when - visting a projection. - - - - Registers a member initialization rewrite. - Root of member access path, typically a source tree parameter of entity type. - Sequence of names to match. - Rewrite expression for names. - - - Revokes the latest rewrite registered on the specified . - Root of rewrites to revoke. - Names to revoke. - - - Whether the current scope is acting on an entity. - - - Expression for the expected type parameter. - - - Whether any rewrites have been registered. - - - Expression for the entity parameter in the source tree lambda. - - - Expression for the entry parameter in the target tree. - - - Use this class to record how rewrites should occur under nested member initializations. - - - Sequence of member names to match. - - - Root of member access path, typically a source tree parameter of entity type. - - - Rewrite expressions for the last member path. - - - - Use this class to represent a step in a path of segments - over a parsed tree used during projection-driven materialization. - - - - Initializes a new instance. - Path on which this segment is located. - Name of member to access when traversing a property; possibly null. - - Type that we expect to project out; typically the same as , but may be adjusted. - - - - Initializes a new instance. - Path on which this segment is located. - Member expression for the projection path; possibly null. - - - Name of member to access when traversing a property; possibly null. - - - - Type that we expect to project out; typically the same as , but may be adjusted. - - - In particular, this type will be adjusted for nested narrowing entity types. - - For example: - from c in ctx.Customers select new NarrowCustomer() { - ID = c.ID, - BestFriend = new NarrowCustomer() { ID = c.BestFriend.ID } - } - - In this case, ID will match types on both sides, but BestFriend - will be of type Customer in the member access of the source tree - and we want to project out a member-initialized NarrowCustomer - in the target tree. - - - - - Contains the TypeAs at the source of the member access, null otherwise - e.g. (p as Employee).Manager - - - - Path on which this segment is located. - - - Use this class to store a materialization plan used with projections. - - - Runs this plan. - Materializer under which materialization should happen. - Root entry to materialize. - Expected type for the . - The materialized object. - - - Last segment type for query. - This typically matches the expected element type at runtime. - - - Provides a method to materialize a payload. - - - Expected type to project. - - - - Use this class to create a for a given projection lambda. - - - - Creates dynamic methods that wrap calls to internal methods. - - - Annotations being tracked on this tree. - - - Expression that refers to the materializer. - - - Tracks rewrite-to-source rewrites introduced by expression normalizer. - - - Number to suffix to identifiers to help with debugging. - - - Path builder used to help with tracking state while compiling. - - - Whether the top level projection has been found. - - - - Initializes a new instance. - - Rewrites introduces by normalizer. - - - Creates a projection plan from the specified . - Projection expression. - Tracks rewrite-to-source rewrites introduced by expression normalizer. - A new instance. - - - Binary visit method. - Binary expression to visit. - (Possibly rewritten) binary expression. - - This override is introduced because binary expressions are one of - the scopes at which normalization happens. - - - - Visits the specified expression. - Expression to check. - The visited expression. - - This override allows us to check for rewrites created by - ExpressionNormalizer.CreateCompareExpression. - - - - Unary visit method. - Unary expression to visit. - (Possibly rewritten) unary expression. - - This override is introduced because unary expressions are one of - the scopes at which normalization happens. - - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - Parameter visit method. - Parameter to visit. - Resulting expression. - - The parameter may get rewritten as a materializing projection if - it refers to an entity outside of member binding. In this case, - it becomes a standalone tracked entity. - - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - A MemberInitExpression on a knownEntityType implies that we - want to materialize the thing. - - - - Visits a method call expression. - Expression to visit. - A (possibly rewritten) expression for . - - - - Visit - - Expression to visit - an expression - - - LambdaExpression visit method. - The LambdaExpression to visit - The visited LambdaExpression - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - Generates a call to a static method on AtomMaterializer. - Name of method to invoke. - Type arguments for method (possibly null). - Arguments to pass to method. - The constructed expression. - - There is no support for overload resolution - method names in AtomMaterializer - must be unique. - - - - - Rebind a call to DataServiceCollection constructor - - the constructor info - arguments to the constructor - An expression that calls the DSC constructor - - - Creates an expression that calls ProjectionCheckValueForPathIsNull. - Expression for root entry for paths. - Expression for expected type for entry. - Path to check null value for. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - A new expression with the call instance. - - - Creates an expression that calls ProjectionValueForPath. - Expression for root entry for paths. - Expression for expected type for entry. - Path to pull value from. - Path to convert result for. - A new expression with the call instance. - - - - Rebinds a conditional that performs a null check on an entity. - - Conditional expression. - Results of null check analysis. - The rebound expression. - - Do a rewrite to avoid creating a type in the null check: - a.b == null ? null : [a.b]-based expression - becomes - ProjectionIsNull(a.b) ? null : [a.b]-based expression - - - - - Rebinds the specified expression by gathering - annotated paths and returning an expression that calls the - ProjectionGetEntity method. - - Member initialization expression. - A new expression suitable for materialization. - - - - Creates an expression that gets the deepest entry that will be found on the - specified (for the target tree). - - Path of expressions to walk. - An expression that invokes ProjectionGetEntry on the target tree. - - - Gets an expression before its rewrite. - Expression to check. - The expression before normalization. - - - Rebinds the specified parameter expression as a path-based access. - Expression to rebind. - Annotation for the expression to rebind. - The rebound expression. - - - Rebinds the specified member access expression into a path-based value retrieval method call. - Member expression. - Annotation for the base portion of the expression. - A rebound expression. - - - Rewrites NewExpression for DataServiceCollection to a constructor proxy method call. - The proxy is required for partially trusted appdomains. Paging information is preserved in the materializer. - NewExpression to create a collection - The rewritten expression. - - - Rewrites a call to Select() by adding to the current paths to project out. - Call expression. - Expression with annotated path to include in member binding. - - - Rewrites a call to ToList in the specified method. - Call expression. - Expression with annotated path to include in member binding. - - All that is necessary here is to rewrite the call to Select() and indicate - that the target type is a given List<T>. - - TODO: we're not bubbling this all the way to the GetOrCreateCollection method - does it matter? - - - - Rewrites a method call used in a sequence method (possibly over entity types). - Call expression. - Expression that can be called directly to yield the expected value. - - - Returns a method call that returns a list from a typed enumerable. - Expression to convert. - Target type to return. - The new expression. - - - Annotates an expression, typically from the target tree. - - - Segment that marks the path found to an expression. - - - - class for the event. - Exposes the ResponseMessage to the user. - - - - - Initializes a new instance of the class for a - non-batch or top level $batch response. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - - - - Initializes a new instance of the class. - - The response message the client is receiving. - Descriptor for the request that the client is receiving the response for. - Indicates if this response is to an inner batch query or operation. - - - - Gets the response message that the client is receiving. - - - - - True if the response is an inner batch operation or query; false otherwise. - - - - - Descriptor for the request that the client is receiving the response for. - The descriptor may be null for certain types of requests, like most GET requests - and the top level $batch request. - - - - - Collection for header name/value pairs which is known to be case insensitive. - - - - - Case-insensitive dictionary for storing the header name/value pairs. - - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of . - - The response message to pull the headers from. - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of . - - The initial set of headers for the collection. - - - - Initializes a new instance of which is empty. - - - - - Adds default system headers - Currently it sets User-Agent header as default system header - - - - - Tries to get the value of the header with the given name, if it is in the collection. - - The header name to look for. - The header value, if it was in the collection. - Whether or not the header was in the collection. - - - - Gets the value of the header, or null if it is not in the collection. - - The header name to look for. - The header value or null. - - - - Sets a header value. Will remove the header from the underlying dictionary if the new value is null. - - The header name to set. - The new value of the header. - - - - Sets multiple header values at once. - - The headers to set. - - - - Gets an enumeration of the header values in the collection. - - An enumeration of the header values in the collection. - - - - Sets the request DataServiceVersion and MaxDataServiceVersion. - - DSV to set the request to. - Max protocol version, which MDSV will essentially be set to. - - - - Sets the header if it was previously unset. - - The header to set. - The new header value. - - - - Sets UserAgent header - - - - - Creates a copy of the current header collection which uses a different dictionary to store headers. - - A copy of the current headers. - - - - Gets the DataServiceVersion as a Version object if it is encoded as a proper version string with an optional Util.VersionSuffix ending. - - The DataServiceVersion header as a Version object. - - - - Gets the underlying dictionary the headers are stored in. Should only be used when absolutely necessary for maintaining public API. - - - - - Gets the names of all the headers in the collection. - - - - - Class which wraps the dataservicecontext and exposes information required for - generating request to send to the server - - - - The type resolver for the current request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - Whether this is a continuation request. - - - - Creates a new instance of RequestInfo class which is used to build the request to send to the server - - wrapping context instance. - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - The entity descriptor. - The server type name for the entity. - - - - Get the server type name - either from the entity descriptor or using the type resolver. - - Client type annotation. - The server type name for the entity. - - - - Infers the server type name for the entity tracked in the given descriptor based on the server model. - - The descriptor containing the entity to get the type name for. - The type name or null if it could not be inferred. - - - - Fires the WritingEvent event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Returns the instance of ResponseInfo class, which provides all the information for response handling. - - merge option to use for handling the response conflicts. - If this parameter is null the default MergeOption value from the context is used. - instance of response info class. - - - - Returns the instance of LoadPropertyResponseInfo class, which provides information for LoadProperty response handling. - - Merge option to use for conflict handling. - Entity whose property is being loaded. - Property which is being loaded. - Instance of the LoadPropertyResponseInfo class. - - - - Validates that the response version can be accepted as a response for this request - - The version of the response (possibly null if none was specified) - Exception if the version can't be accepted, otherwise null. - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Returns an instance of the IODataRequestMessage - - Arguments for creating the request message. - an instance of the IODataRequestMessage - - - - Asks the context to Fire the BuildingRequest event and get RequestMessageArgs. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - The writing helper to use. - - - context instance. - - - - Whether this is a continuation request. - - - - Gets the URI used to indicate what type scheme is used by the service. - - - Override the namespace used for the data parts of the ATOM entries - - - Gets the configurations. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - Indicates if there are subscribers for the WritingEntity event - - - Whether to ignore extra properties in the response payload. - - - True if the context's ResolveName property has been set, otherwise false. - - - True if the context's ResolveName property can be determined to be a user-supplied value, instead of the one provided by codegen. - - - Gets the BaseUriResolver - - - Gets the response preference for Add and Update operations. - - - The maximum protocol version the client should understand. - - - - Returns true if there are subscribers to SendingRequest event. - - - - - Returns true if there are subscribers to SendingRequest event. - - - - - True if the user could have modified a part of the request. This lets us turn off assertions that normally - prevent us from making certain mistakes we don't mind the user intentionally ignoring. - - - - - Gets the authentication information used by each query created using the context object. - - - - - Whether to use post-tunneling for PUT/DELETE. - - - - - Gets the client model. - - - - - Gets the tracker for the user-specified format to use for requests. - - - - - Gets the type resolver. - - - - - Gets the URL conventions the user set on the context. - - - - - The HTTP stack to use in Silverlight. - - - - - Gets a System.Boolean value that controls whether default credentials are sent with requests. - - - - - Wrappers the context and only exposes information required for - processing the response from the server - - - - The request that led to this response. - - - MergeOption to use to process the response. - - - - Creates a new instance of the ResponseInfo class which exposes all the information from - the context required for processing the response from the server. - - The request info - mergeOption - - - The reading helper to use. - - - - Whether this is a continuation request. - - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Override the namespace used for the data parts of the ATOM entries - - - MergeOption to use to merge the entities from the response and one present in the client. - - - Whether to ignore extra properties in the response payload. - - - Returns the instance of entity tracker class which tracks all the entities and links for the context. - - - A flag indicating if the data service context is applying changes - - - Gets the type resolver instance. - - - Gets the BaseUriResolver - - - return the protocol version as specified in the client. - - - - Gets the client model. - - - - - Returns the DataServiceContext - Should be only used in DataServiceCollection constructor, where - we need to infer the context from the results. - - context instance. - - - - Gets the reading pipeline configuration - - - - - Information used for handling response to a LoadProperty request. - - - - - Constructs a new instance. - - Information about the request. - Merge option. - Entity whose property is being loaded. - Property which is being loaded. - - - - Entity whose property is being loaded. - - - - - Property being loaded. - - - - Event args for the SendingRequest2 event. - - - - Creates a new instance of SendingRequest2EventsArgs - - request message. - Descriptor that represents this change. - True if this args represents a request within a batch, otherwise false. - - - The web request reported through this event. The handler may modify or replace it. - - - The request header collection. - - - Returns true if this event is fired for request within a batch, otherwise returns false. - - - - Forwards calls to an OData Writer - - - - The odataWriter. - - - The payload writing events. - - - - Prevents a default instance of the class from being created. - - The odata writer. - The request pipeline configuration. - - - - Creates the odata entry writer. - - We never create a feed writer as the client doesn't support deep insert, if we did this would need to change - The message writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Creates the odata entry writer for testing purposes only - - The odata writer. - The request pipeline configuration. - The odata Writer Wrapper - - - - Writes the start. - - The entry. - The entity. - - - - Writes the end. - - The entry. - The entity. - - - - Writes the end. - - The link. - The source. - The target. - - - - Writes the end Actions. - - The link. - The source. - The target. - - - - Writes the navigation link end. - - - - - Writes the start. - - The navigation link. - The source. - The target. - - - - Writes the start for Navigation link. - - The navigation link. - The source. - The target. - - - - Writes the start for a collection of navigation links. - - The navigation link. - - - - Writes the entity reference link. - - The reference link. - The source. - The target. - - - IODataRequestMessage interface implementation. - - - Request Url. - - - The effective HTTP method. - - - RequestInfo instance. - - - HttpWebRequest instance. - - - List of header value to reset after SendingRequest event is fired. - - - True if the FireSendingRequest method is already called, otherwise false. - - - True if SendingRequest2Event is currently invoked, otherwise false. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - - - - Creates a new instance of HttpWebRequestMessage. - - Arguments for creating the request message. - RequestInfo instance. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to write the request payload. - - Stream to which the request payload needs to be written. - - - - Abort the current request. - - - - - Begins an asynchronous request for a System.IO.Stream object to use to write data. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request. - - - - Ends an asynchronous request for a System.IO.Stream object to use to write data. - - The pending request for a stream. - A System.IO.Stream to use to write request data. - - - - Begins an asynchronous request to an Internet resource. - - The System.AsyncCallback delegate. - The state object for this request. - An System.IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A System.Net.WebResponse that contains the response from the Internet resource. - - - - Sets the Content length of the Http web request - - Http web request to set the content length on - Length to set - - - - Sets the accept charset. - - The HTTP web request. - The header value. - - - - Attempts to set the UserAgent property if it exists other wise returns false - - The http web request. - The value of the user agent. - - - - Add the list of header names to the list of headers whose values need to be reset after firing sendingrequest event. - - List of header names. - - - - This method is called just before firing SendingRequest2 event. - - - - - This method is called immd. after SendingRequest2 event has been fired. - - - - - Set the header values on the request. - - IODataRequestMessage instance containing all the headers. - Dictionary of cached headers. - The Effective http method. - - - - Create an instance of HttpWebRequest from the given IODataRequestMessage instance. This method - is also responsible for firing SendingRequest event. - - Http Method. - Request Url. - DataServiceClientRequestMessageArgs instance. - an instance of HttpWebRequest. - - - - Sets the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to apply the header to. - Name of the header. - Value of the header. - - - - Get the value of the given header in the httpwebrequest instance. - This has a special case for some of the headers to set the properties on the request instead of using the Headers collection. - - The request to get the header value from. - Name of the header. - the value of the header with the given name. - - - - Convert the WebException into DataServiceWebException. - - WebException instance. - an instance of DataServiceWebException that abstracts the WebException. - - - - Fire SendingRequest event if its conditions are met. - If the user has a handler for BuildingRequest, we will throw. - If the user has no BuildingRequest handlers but does have a SendingRequest2 handler, we silently do not fire this event (this is shipped 5.0 behavior). - - - - Returns the request url. - - - Returns the method for this request. - - - Returns the collection of request headers. - - - Returns the underlying HttpWebRequest - - - - Gets or set the credentials for this request. - - - - - IODataResponseMessage interface implementation - - - - Cached headers. - - - A func which returns the response stream. - - - The response status code. - - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Constructor. - - HttpWebResponse instance. - - - - Constructor. - - The headers. - The status code. - A function returning the response stream. - - - - Returns the value of the header with the given name. - - Name of the header. - Returns the value of the header with the given name. - - - - Sets the value of the header with the given name. - - Name of the header. - Value of the header. - - - - Gets the stream to be used to read the response payload. - - Stream from which the response payload can be read. - - - - Close the underlying HttpWebResponse. - - - - - Perform the actual cleanup work. - - If 'true' this method is called from user code; if 'false' it is called by the runtime. - - - - Returns the collection of response headers. - - - - - Gets the underlying . - - - - - The response status code. - - - - - Component for converting properties on client types into instance of in order to serialize insert/update payloads. - - - - - The request info. - - - - - Initializes a new instance of the class. - - The request info. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The server type name of the entity whose properties are being populated. - The properties to populate into instance of ODataProperty. - Populated ODataProperty instances for the given properties. - - - - Creates and returns an ODataComplexValue from the given value. - - The value type. - The complex value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - True, if the value is an item in a collection, false otherwise. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataComplexValue representing the given value. - - - - Creates and returns an ODataCollectionValue from the given value. - - The type of the value. - If the value is a property, then it represents the name of the property. Can be null, for non-property. - The value. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - An ODataCollectionValue representing the given value. - - - - Returns the primitive property value. - - Value of the property. - Type of the property. - Returns the value of the primitive property. - - - - Gets the specified type name as an EDM Collection type, e.g. Collection(Edm.String) - - Type name of the items in the collection. - Collection type name for the specified item type name. - - - - Creates and returns an for the given primitive value. - - The property being converted. - The property value to convert.. - An ODataValue representing the given value. - - - - Creates a list of ODataProperty instances for the given set of properties. - - Instance of the resource which is getting serialized. - The properties to populate into instance of ODataProperty. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - Populated ODataProperty instances for the given properties. - - - - Tries to convert the given value into an instance of . - - The property being converted. - The property value to convert.. - Set of instances of complex types encountered in the hierarchy. Used to detect cycles. - The odata value if one was created. - Whether or not the value was converted. - - - - Returns the value of the complex property. - - Property which contains name, type, is key (if false and null value, will throw). - property value - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataComplexValue containing the value of the properties of the given complex type. - - - - Returns the value of the collection property. - - Collection property details. Must not be null. - Collection instance. - List of instances of complex types encountered in the hierarchy. Used to detect cycles. - An instance of ODataCollectionValue representing the value of the property. - - - - Adds a type annotation to the value if it is primitive and not defined on the server. - - The server type name of the entity whose properties are being populated. - The current property. - The already converted value of the property. - - - - Convert between primitive types to string and xml representation - - - - - Constructor - - - - - Create a parser token from xml feed - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - token - - - - Create a parser token from text representation ($value end points) - - The text form reprensentation - token - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between primitive types to string and xml representation - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Convert between an instance of geography and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of geometry and its Xml representation - - - - - Create an instance of primitive type from the xml reader - - The xml reader - The reader is expected to be placed at the beginning of the element, and after this method call, the reader will be placed - at the EndElement, such that the next Element will be read in the next Read call. - An instance of primitive type - - - - Convert between an instance of DataServiceStreamLink and its xml representation. - There is never a scenario in client which requires to do this, but since a converter - is required, adding one which does nothing for namedstream. - - - - - Create an instance of primitive type from a string representation - - The string representation - An instance of primitive type - - - - Convert an instance of primitive type to string - - The instance - The string representation of the instance - - - - Represent a Primitive Type on the client - - - 1) Performance - For performance reasons we use several dictionaries here: - - clrMapping contains well known primitive types. Initialized in the static constructor and never changed - after initialization. Therefore it is safe to read without locks. Also see comment about Binary type below - - derivedPrimitiveTypeMapping - a map for custom primitive types derived from well known primitive types - - especially spatial types. New items may be added at runtime so reads and writes must be locked - - knownNonPrimitiveTypes - a HashSet of types we have seen and determined they are not primitive. Used - to shortcircuit logic for finding derived primitive types for types we know are not primitive. - To get a primitive type one *MUST NOT* clrMapping since clrMapping will not contain custom primitive types - but call TryGetPrimitiveType method that knows how to handle multiple dictionaries. - 2) System.Data.Linq.Binary - We want to avoid static dependency on System.Data.Linq.dll. On the other hand System.Data.Linq.Binary is - a well known primitive type. For performance reasons and to avoid locking the clrMapping is only initialized - in the static ctor when we don't have System.Data.Linq.Binary type handy. Therefore we use the dummy BinaryTypeSub - type during initialization. As a result to get a well known primitive type one *MUST NOT* use the clrMapping - dictionary directly but call TryGetWellKnownPrimitiveType() method which knows how to handle BinaryType. - - - - - Clr Type - Primitive Type mapping for well known primitive types - - - It is being initialized in the static constructor and must not change - later. This way we can avoid locking it. - - - - - Clr Type - Primitive Type mapping for custom derived primitive type (e.g. spatial types) - - - This dictionary contains type mapping for custom derived primitive types (e.g. spatial) that - are types discovered at runtime and added as we go. Any access to this dictionary requires locking. - - - - - Edm Type - Primitive Type mapping - - - - - Cache containing known non-primitive types. Any access to this hashset requires locking. - - - - - Static Constructor - - - - - Constructor - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - A PrimitiveXmlConverter that provides convertion between instances of this type to its Xml representation and back - Whether this primitive type can be mapped from the Edm type name - - - - Try retrieve a primitive type metadata from a clr type - - The Clr Type - The returning primitive type - True if the type is found - - See remarks for the class. - - - - - Try retrieve a primitive type metadata from a Edm Type Name - - Edm Type Name - The returning primitive type - True if the type is found - - - - Is this a known primitive type (including string,byte[],uri) - - type to analyze - true if known primitive type - - - - Is this a known primitive type or a nullable based on a primitive type (including string,byte[],uri) - - type to analyze, possibly nullable - true if known primitive type or a nullable based on a primitive type - - - - Delete the type from known type table - - The clr type - The edm type name to remove, or null - This is a test clean up hook. MUST NOT BE CALLED FROM PRODUCT CODE. - - - - Register a known type as primitive type - - The Clr Type - The Edm Type Name - The Edm Primitive Type Kind - The Type Converter - Whether this mapping should have a reverse mapping from Edm - - This method is internal only for testing purposes. - IN PRODUCT MUST BE CALLED ONLY FROM THE STATIC CTOR OF THE PrimitiveType CLASS. - - - - - Creates a new instance of the corresponding IEdmPrimitiveType - - Returns a new instance of the corresponding IEdmPrimitiveType - - - - Populate the mapping table - - - MUST NOT BE CALLED FROM PRODUCT CODE OTHER THAN STATIC CTOR OF PrimitiveType class. - - - - - Tries to get a well known PrimitiveType for a clr type. Contains logic to handle Binary type. - - The clr type to get well known PrimitiveType for. - PrimitiveType for the if exists. Otherwise null. - true if a PrimitiveType for the was found. Otherwise false. - - - - The Clr Type - - - - - The Edm Type Name - - - - - A PrimitiveXmlConverter that provides convertion between - instances of this type to its Xml representation and back - - - - - This type has a reverse edm type mapping - - - Some known primitive types have shared edm type mapping - Only one of these shared type can contain a reverse mapping - - - - - Gets the types EDM primitive type kind - - - - - Represents a definition of an EDM primitive type. - - - - - Namespace of the type. - - - - - Name of the type. - - - - - The kind of primitive. - - - - - Creates an instance of the client EDM primitive type. - - Namespace of the type. - Name of the type. - Kind fo the primitive type. - - - - Creates a new instance of the IEdmPrimitiveType - - Kind of primitive type. - Returns a new instance of the IEdmPrimitiveType - - - - Name of the type. - - - - - Namespace of the type. - - - - - Kind of the primitive type. - - - - - The kind of this schema element. - - - - - Kind of this type. - - - - - A parser token - - - - - Materialize this token using a PrimitiveTypeConverter - - The primitive type - A materialized instance - - - - Textual based parser token - - - - - Constructor - - Textual value - - - - Materialize by calling the Parse method on the converter - - clrType - A materialized instance - - - - The text property - - - - - Instance based parser token, where the token is the materialized instance - - The instance type - - - - Constructor - - The instance - - - - Materialize by returning the instance - - A primitive type converter - The instance - - - - The instance - - - - Equality comparer implementation that uses reference equality. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - - Use this class to compare objects by reference in collections such as - dictionary or hashsets. - - Type of objects to compare. - - Typically accesses statically as eg - ReferenceEqualityComparer<Expression>.Instance. - - - - Single instance per 'T' for comparison. - - - Initializes a new instance. - - - Determines whether two objects are the same. - First object to compare. - Second object to compare. - true if both are the same; false otherwise. - - - Serves as hashing function for collections. - Object to hash. - - Hash code for the object; shouldn't change through the lifetime - of . - - - - Returns a singleton instance for this comparer type. - - - - Class which implements the for the GetReadStream operation. - Note that this effectively behaves as a simple wrapper around the IAsyncResult returned - by the underlying HttpWebRequest, although it's implemented fully on our own to get the same - behavior as other IAsyncResult objects returned by the client library. - - - - The web request this class wraps (effectively) - - - descriptor of the stream which is getting queried. - - - RequestInfo for this request. - - - IODataResponseMessage containing all the response information. - - - - Constructs a new async result object - - The source of the operation. - Name of the method which is invoked asynchronously. - The object which is wrapped by this async result. - User specified callback for the async operation. - User state for the async callback. - stream descriptor whose value is getting queried. - - - - Begins the async request - - - - - Ends the request and creates the response object. - - The response object for this request. - - - invoked for derived classes to cleanup before callback is invoked - - - Set the AsyncWait and invoke the user callback. - the request object - This method is not implemented for this class. - - - - Async callback registered with the underlying HttpWebRequest object. - - The async result associated with the HttpWebRequest operation. - - - - Holds state (Path, lambda parameter stack, etc) for projection analysis. - - - - This class is used as a marker for an entity projected in its entirety. - - - The request data service version for the projection and expand paths - - - Initializes a new instance. - - - Starts a new path. - - - - Appends the given property and source TypeAs to the projection and expand paths. - - Navigation property - The TypeAs type if the source of the member access expression is a TypeAs operation. Null otherwise. - Data service context instance. - - - - Appends a name of a property/link/type to the current projection path. - - name of the property/link/type which needs to be added to the select path. - if originally present in the path, replace the entity marker after appending the name - the string builder containing all the select paths. - - - - Appends a name of a property/link/type to the current expand path. - - name of the property/link/type which needs to be added to the expand path. - - - - If the path ends with the EntireEntityMarker, remove it from the path. - - path - True if the EntireEntityMarker was found. - - - - Adds the EntireEntityMarker to the end of the path - - path - - - The request data service version for the projection and expand paths - - - - Analyzes projection expressions to see if supported. - To be writable, must follow these rules: - 1) Must be known Entity Type - 2) Must be a true narrowing of the source type. Subset of properties + no transformations other then casts. - - To be materializable (read-only), must follow these rules - 1) No transient object creation. (Entity and non-Entity types) - 2) No referencing of other DataService queries or contexts. - - - - - Analyzes a lambda expression to check whether it can be satisfied with - $select and client-side materialization. - - Lambda expression. - Resource expression in scope. - Whether member accesses are matched as top-level projections. - Context of expression to analyze. - true if the lambda is a client-side projection; false otherwise. - - - - Checks whether the specified refers - to a sequence method call allowed on entity types. - - Method call expression to check. - true if the method call is allowed; false otherwise. - The method won't check whether the call is made on actual entity types. - - - - Checks whether the specified refers - to a Select method call that works on the results of another Select call - - Method call expression to check. - Type of the projection - - - - Checks whether the specified expression creates a collection. - - Expression to check. - true if given expression is collection producing. - - - - Checks whether the specified expression is allowed in a MethodCall. Expressions that - produce collections are not allowed. The only exception is when collection property - belongs to an entity e.g. c.Orders.Select(o => o), where we allow c.Orders. - - Expression to check. - The client model used. - true if expression is disallowed, false otherwise. - - - - Analyzes the specified expression with an entity-projection or - non-entity-projection analyzer. - - Expression to analyze. - Path box where select and expand paths are tracked. - Context of expression to analyze. - - - - Analyzes the specified for selection and updates - . - - Lambda expression to analyze. - Resource expression to update. - Context of expression to analyze. - - - Skips converts and returns the underlying expression. - Expression to dig into. - The original expression without converts. - - IMPORTANT: This is fine for checks on underlying expressions where we - want converts to be "mostly" transparent, but using the result in - place of the given loses information. - - - - Path-tracking object. - - - Type being member-init'ed. - - - - This analyzer iterates through the list of member assignments in the MemberInitExpression - and visits each one. This field tracks if the currently visited member assignment is a - MemberAccessExpression, used for determining if a TryAs convert should be emitted when visited. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TryAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Initializes a new instance. - Path-tracking object. - Type being member-init'ed. - Context of expression to analyze. - - - Analyzes the specified member-init expression. - Expression to analyze. - Path-tracking object to store analysis in. - Context of expression to analyze. - - - - Specific Vistior base class for the DataServiceQueryProvider. - - - - - Main visit method. - - Expression to visit - Visited expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - NavigationPropertySingletonExpressionvisit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - Visit an , producing a new InputReferenceExpression - based on the visited form of the that is referenced by - the InputReferenceExpression argument, . - - InputReferenceExpression expression to visit - Visited InputReferenceExpression expression - - - See corresponding comment in EntityProjectionAnalyzer - - - See corresponding comment in EntityProjectionAnalyzer - - - Visits a unary expression while initializing a non-entity type structure. - Expression to visit. - The visited expression. - - - - Visits a member access expression in non-entity projections, validating that - it's correct and recording the path visit to include in a projection if necessary. - - Expression to visit. - The same expression. - - The projection analyzer runs after funcletization, so a member expression - rather than a constant expression implies that this is correlated to - a parameter, by dotting through the argument in valid cases, and possibly - more complex cases in others like new DSC(p.Orders)*.Foo* <- .Foo is invalid. - - - - - An resource specific expression representing a projection query option. - - - - - An resource specific expression representing a query option. - - - - The CLR type this node will evaluate into. - - - - Creates a QueryOptionExpression expression - - the return type of the expression - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the value represented by this . - - - - projection expression to evaluate on client on results from server to materialize type - - - projection paths to send to the server - - - - Creates a ProjectionQueryOption expression - - the return type of the expression - projection expression - Projection paths for the query option - - - - The of the . - - - - - expression for the projection - - - - - expression for the projection - - - - Represents the components of query. - - - Query option used in projection queries. - - - Select query option as it appears at the beginning of a query string. - - - Select query option as it appears in the middle of a query string. - - - type - - - Records the generated-to-source rewrites created. - - - selector Lambda Expression - - - HttpMethod to use in the query. - - - List of parameters for a service operation or a service function. - - - List of parameters for service action. - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - Version for query - - - - Constructs a container for query components with HttpMethod GET. - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - - - - Constructs a container for query components - - URI for the query - Version for the query - Element type for the query - selector Lambda Expression - Records the generated-to-source rewrites created (possibly null). - The HttpMethod to be used in the request. - If true, then a single primitive or complex value is expected. If false, then a collection of primitives or complex - is expected. Should be null when expecting a void response, a single entry, or a feed. - The body operation parameters associated with a service action. - The uri operation parameters associated with a service function or a service operation. - - - - Determines whether or not the specified query string contains the $select query option. - - String that may contain $select. - True if the specified string contains the $select query option, otherwise false. - - This method is specifically looking for patterns that would indicate we really have the specific query option and not something like $selectNew. It also expects that - any data string being passed to this method has already been escaped, as the things we are looking for specifically contain equals signs that would be escaped if in a data value. - - - - Records the generated-to-source rewrites created. - - - The projection expression for a query - - - The last segment type for query - - - The data service version associated with the uri - - - The HttpMethod to be used in the query. - - - - List of operation parameters for service operation or a service function. - - - - - List of operation parameters for a service action. - - - - - Optional field; not all codepaths set this. If true, then a single primitive or complex value is expected. - If false, then a collection of primitives or complex is expected. A null value makes no claim as to what - the return type should be. It follows that a single entry or a feed would always have this value as null. - - - - - Gets a value indicating whether the URI for this query has the select query option. - - - - Gets or sets the URI for a query, possibly with query options added to the cached URI. - URI with additional query options added if required. - - - - Static utility class for identifying methods in Queryable, Sequence, and IEnumerable - and - - - - - Identifies methods as instances of known sequence operators. - - Method info to identify - Identified sequence operator - true if method is known; false otherwise - - - - Check to see if this is an Any or an All method - - sequence method to check. - true if sequence method is Any or All, false otherwise. - - - - Requires: - - no collisions on type names - - no output or reference method parameters - - - Produces a string description of a method consisting of the name and all parameters, - where all generic type parameters have been substituted with number identifiers. - - Method to identify. - Canonical description of method (suitable for lookup) - - - - Returns all static methods in the Queryable and Enumerable classes. - - - - - Enumeration of known extension methods - - - - - Represents a reference to a bound resource set in the resource path. - The type of the input reference is the element type of the set. - - - Because the type of the input reference is the element type of the set, - it can be used to indicate what a range variable ranges over. - - For example, in input.Select(b => b.id), 'input' is an IQueryable of T, - and 'b' is a parameter of type T. 'b' can be rebound as an input reference - to 'input' by the InputBinder, which helps in query analysis and - translation. - - - - The resource or set referred to by this input reference expression - - - - Constructs a new input reference expression that refers to the specified resource set - - The target resource set that the new expression will reference - - - - Retargets this input reference to point to the resource set specified by . - - The that this input reference should use as its target - - - - The of the value represented by this . - - - - - The of the . - - - - - Retrieves the resource set referred to by this input reference expression - - - - - The counting option for the resource expression - - - - No counting - - - Translates to the $count segment. - - - Translates to the $inlinecount=allpages query option - - - - Abstract base class for expressions that support Query Options - - - - Source expression. - - - Singleton InputReferenceExpression that should be used to indicate a reference to this element of the resource path - - - The CLR type this node will evaluate into. - - - expand paths - - - The count query option for the resource set - - - custom query options - - - projection expression - - - Uri version for the expression and also the expand and projection paths - - - - Creates a Resource expression - - the source expression - the return type of the expression - the expand paths - the count option - The custom query options - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Creates an that refers to this component of the resource path. - The returned expression is guaranteed to be reference-equal (object.ReferenceEquals) - to any other InputReferenceExpression that also refers to this resource path component. - - The InputReferenceExpression that refers to this resource path component - - - Raise the UriVersion if it is lower than . - Uri version from the expand and projection paths - - - - The of the value represented by this . - - - - - Resource type for this expression (for sets, this is the element type). - Never null. - - - - - The resource type that this expression is explicitly converted to by a TypeAs - expression (i.e., "as" operator in C#, "TryCast" in VB). Null if no conversion. - - - - - Uri version from the expand and projection paths - - - - - Does this expression produce at most 1 resource? - - - - - Expand query option for ResourceSet - - - - - Count query option for ResourceSet - - - - - custom query options for ResourceSet - - - - Description of the projection on a resource. - - This property is set by the ProjectionAnalyzer component (so it - mutates this instance), or by the ResourceBinder when it clones - a ResourceExpression. - - - - - Gets the source expression. - - - - - performs funcletization on an expression tree - - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A function that decides whether a given expression node can be part of the local function. - A new tree with sub-trees evaluated and replaced. - - - - Performs evaluation and replacement of independent sub-trees - - The root of the expression tree. - A new tree with sub-trees evaluated and replaced. - - - - Evaluates if an expression can be evaluated locally. - - the expression. - true/ false if can be evaluated locally - - - - Evaluates and replaces sub-trees when first candidate is reached (top-down) - - - - list of candidates - - - - constructs an expression evaluator with a list of candidates - - List of expressions to evaluate - - - - Evaluates an expression sub-tree - - The expression to evaluate. - The evaluated expression. - - - - Visit method for visitor - - the expression to visit - visited expression - - - - Evaluates expression - - the expression to evaluate - constant expression with return value of evaluation - - - - Performs bottom-up analysis to determine which nodes can possibly - be part of an evaluated sub-tree. - - - - func to determine whether expression can be evaluated - - - candidate expressions for evaluation - - - flag for when sub tree cannot be evaluated - - - - Creates the Nominator based on the function passed. - - - A Func speficying whether an expression can be evaluated or not. - - visited expression - - - - Nominates an expression to see if it can be evaluated - - - Expression to check - - a list of expression sub trees that can be evaluated - - - - Visit method for walking expression tree bottom up. - - - root expression to visit - - visited expression - - - - Replaces expression patterns produced by the compiler with approximations - used in query translation. For instance, the following VB code: - - x = y - - becomes the expression - - Equal(MethodCallExpression(Microsoft.VisualBasic.CompilerServices.Operators.CompareString(x, y, False), 0) - - which is normalized to - - Equal(x, y) - - Comment convention: - - CODE(Lang): _VB or C# coding pattern being simplified_ - ORIGINAL: _original LINQ expression_ - NORMALIZED: _normalized LINQ expression_ - - - - - If we encounter a MethodCallExpression, we never need to lift to lift to null. This capability - exists to translate certain patterns in the language. In this case, the user (or compiler) - has explicitly asked for a method invocation (at which point, lifting can no longer occur). - - - - - Gets a dictionary mapping from LINQ expressions to matched by those expressions. Used - to identify composite expression patterns. - - - - Records the generated-to-source rewrites created. - - - Initializes a new instance. - Dictionary in which to store rewrites. - - - - Applies normalization rewrites to the specified - , recording them in the - dictionary. - - Expression to normalize. - Dictionary in which to record rewrites. - The normalized expression. - - - - Handle binary patterns: - - - VB 'Is' operator - - Compare patterns - - - - - CODE: x - ORIGINAL: Convert(x, t) where t is assignable from typeof(x) - ORIGINAL: x as t, where t is assignable from typeof(x) - ORIGINAL: and typeof(x) or t are not known primitives unless typeof(x) == t - ORIGINAL: and x is not a collection of entity types - NORMALIZED: x - - - - - CODE: x - ORIGINAL: Convert(x, typeof(object)) - ORIGINAL(Funcletized): Constant(x, typeof(object)) - NORMALIZED: x - - - - - Returns true if the given expression is a constant '0'. - - - - - Handles MethodCall patterns: - - - Operator overloads - - VB operators - - - - - Handles MethodCall patterns (without recording rewrites): - - - Operator overloads - - VB operators - - - - - Remove extra Converts from the source of Any/All/OfType methods - - - - - Identifies and normalizes any predicate argument in the given call expression. If no changes - are needed, returns the existing expression. Otherwise, returns a new call expression - with a normalized predicate argument. - - - - - Determines whether the given call expression has a 'predicate' argument (e.g. Where(source, predicate)) - and returns the ordinal for the predicate. - - - Obviously this method will need to be replaced if we ever encounter a method with multiple predicates. - - - - - Determines whether the given expression of the form Lambda(Coalesce(left, Constant(false)), ...), a pattern - introduced by the VB compiler for predicate arguments. Returns the 'normalized' version of the expression - Lambda((bool)left, ...) - - - - - Identifies and normalizes a Select method call expression of the following form: - Select(x => Convert(x)) - If a match is found, it is translated into a Cast() call. - - This supports type casting in queries like the following: - from DerivedType entity in context.Entities - select entity - Where DerivedType is derived from the type of context.Entities. - The pattern also applies to SelectMany calls with the same structure as above. - - In C#, the type cast above is represented as a Cast call and the ResourceBinder knows how to handle that. - In VB, the same query is translated into Select(x => Convert(x)) instead of Cast, and the ResourceBinder - doesn't recognize that pattern. This normalization allows the two queries to be treated the same. - - MethodCallExpression to potentially normalize. - - If the query pattern was found, a Cast call is returned with the same source as the original Select and - a cast type that is the same as the original Convert expression. - If no normalization is required, the original MethodCallExpression is returned without changes. - - - - - Looks for a method call expression of the form - Select(entity => Convert(entity, DerivedType)) - If found, returns DerivedType. - - Expression to check for pattern match. - If the match was found, this is the type used in the Convert, otherwise null. - True if the expression matches the desired pattern, otherwise false. - - - - Looks for a lambda expression of the form - related => Convert(related, DerivedType) - Returns DerivedType if a match was found. - - Expression to check for pattern match. - - If the matches the pattern, this is the type of the found Convert call, otherwise null. - - True if the expression matches the desired pattern, otherwise false. - - - - This method exists solely to support creation of valid relational operator LINQ expressions that are not natively supported - by the CLR (e.g. String > String). This method must not be invoked. - - - - - Create an operator relating 'left' and 'right' given a relational operator. - - - - - Try to create an operator relating 'left' and 'right' using the given operator. If the given operator - does not define a known relation, returns false. - - - - - CODE(C#): Class.Compare(left, right) - ORIGINAL: MethodCallExpression(Compare, left, right) - NORMALIZED: Condition(Equal(left, right), 0, Condition(left > right, 1, -1)) - - Why is this an improvement? We know how to evaluate Condition in the store, but we don't - know how to evaluate MethodCallExpression... Where the CompareTo appears within a larger expression, - e.g. left.CompareTo(right) > 0, we can further simplify to left > right (we register the "ComparePattern" - to make this possible). - - - - Records a rewritten expression as necessary. - Original source expression. - Rewritten expression. - - IMPORTANT: if there are higher-level rewrites such as replacing parameter - references, the lower-level rewrites will become un-doable in other - contexts; we will have to change normalization/de-normalization strategy, - record additional mapping information and/or bubble up the rewrite - tracking. - - - - Records the generated-to-source rewrites created. - - - - Encapsulates an expression matching some pattern. - - - - - Gets pattern kind. - - - - - Gets pattern kind. - - - - - Matches expression of the form x.CompareTo(y) or Class.CompareTo(x, y) - - - - - Gets left-hand argument to Compare operation. - - - - - Gets right-hand argument to Compare operation. - - - - - This class introduced because of a bug in SL3 which prevents using non-public (e.g anonymous) types as return types for lambdas - We should be able to remove this for SL4. - devnote (sparra): This still seems to be an issue in SL4, but does not repro in Win8 .NETCore framework. - - - - Lambda function. - - - - Create a lambda function given the expression and the parameters. - - Expression for the lambda function. - Parameters for the lambda function. - An instance of LambdaExpression. - - - - This creates a tree and compiles it just for the purposes of creating the real lambda. - - Generic type for the Lambda function. - Expression for the lambda function. - Parameters for the lambda function. - An instance of LambdaExpression. - - - - Returns the generic type of the lambda function. - - Expression for the lambda function. - Parameters for the lambda function. - The generic type of the lambda function. - - - - Returns the methodinfo for the lambda function. - - Generic type of the lambda function. - MethodInfo which binds the generic type to the lambda function. - - - - An resource specific expression representing a filter query option. - - - - - The individual expressions that makes the filter predicate - - - - - Creates a FilterQueryOptionExpression expression - - the return type of the expression - - - - Adds the conjuncts to individualExpressions - - The predicates. - - - - Gets the query option value. - - A predicate with all Conjuncts AND'ed - - - - The of the . - - - - - Gets the list of individual conjucts which are separated by AND for the predicate - i.e. if the filter statement is id1=1 and id2="foo" and id3=datetime'31' - then this list will have 3 entries, id1=1, id2="foo" and id3=datetime'xxxxxxxxx' - - - - - Replaces references to resource sets - represented as either ParameterExpressions or one or more - MemberExpressions over a ParameterExpression - with an appropriate InputReferenceExpression that - indicates which resource set is referenced; effective 'binds' the argument expression to the - resource sets that it references. - - - - Tracks which resource sets are referenced by the argument expression - - - Resource from which valid references must start; if no set with a transparent scope is present, only direct references to this resource will be rebound - - - The input resource, as a resource set (may be null if the input is actually a NavigationPropertySingletonExpression) - - - The ParameterExpression that, if encountered, indicates a reference to the input resource set - - - - Constructs a new InputBinder based on the specified input resource set, which is represented by the specified ParameterExpression. - - The current input resource from which valid references must start - The parameter that must be referenced in order to refer to the specified input resource set - - - - Replaces Lambda parameter references or transparent scope property accesses over those Lambda - parameter references with s to the appropriate corresponding - s, based on the 'input' ResourceSetExpression to which the - Lambda is logically applied and any enclosing transparent scope applied to that input resource set. - - The expression to rebind - - The 'current input' resource set - either the root resource set or the - rightmost set in the navigation chain. - The Lambda parameter that represents a reference to the 'input' set - A list that will be populated with the resource sets that were referenced by the rebound expression - - The rebound version of where MemberExpression/ParameterExpressions that - represent resource set references have been replaced with appropriate InputReferenceExpressions. - - - - - Resolves member accesses that represent transparent scope property accesses to the corresponding resource set, - iff the input resource set is enclosed in a transparent scope and the specified MemberExpression represents - such a property access. - - MemberExpression expression to visit - - An InputReferenceExpression if the member access represents a transparent scope property - access that can be resolved to a resource set in the path that produces the input resource set; - otherwise the same MemberExpression is returned. - - - - - Converts a parameter reference to the input resource set into an InputReferenceExpression, - iff the parameter reference is to the parameter expression that represents the input resource set - and the input resource set is not enclosed in a transparent scope. - - The parameter reference expression - - An InputReferenceExpression if the parameter reference is to the input parameter; - otherwise the same parameter reference expression - - - - - Returns an that references the specified resource set, - and also adds the the resource set to the hashset of resource sets that were referenced by the - expression that is being rebound. - - The resource(set) for which a reference was found - An InputReferenceExpression that represents a reference to the specified resource set - - - - An resource specific expression representing a OrderBy query option. - - - - selectors for OrderBy query option - - - - Creates a OrderByQueryOptionExpression expression - - the return type of the expression - selectors for orderby expression - - - - The of the . - - - - - Selectors for OrderBy expression - - - - - Structure for selectors. Holds lambda expression + flag indicating desc. - - - - - lambda expression for selector - - - - - flag indicating if descending - - - - - Creates a Selector - - lambda expression for selector - flag indicating if descending - - - - This class provides a Bind method that analyzes an input and returns a bound tree. - - - - - The associated DataServiceContext instance. DevNote(shank): this is used for determining - the fully-qualified name of types when TypeAs converts are processed (C# "as", VB "TryCast"). - Ideally the FQN is only required during URI translation, not during analysis. However, - the current code constructs the $select and $expand parts of the URI during analysis. This - could be refactored in the future to defer the $select and $expand URI construction until - the URI translation phase. - - - - Analyzes and binds the specified expression. - Expression to bind. - The context of the expression used for bind. - - The expression with bound nodes (annotated expressions used by - the Expression-to-URI translator). - - - - - Checks whether the specified is - missing necessary key predicates. - - Expression to check. - - true if the expression is a navigation expression and doesn't - have the necessary key predicates on the associated resource - expression; false otherwise. - - - - - Verifies that all key predicates are assigned to the specified expression. - - Expression to verify. - - - Verifies that the specified is not a projection based on SelectMany. - Expression to check. - - - Analyzes a predicate (Where clause). - for a Where call. - The model. - - An equivalent expression to , possibly a different one with additional annotations. - - - - - Validates neither operands of the binary expression filter ends with TypeAs - - filter expression - method name where this filter is passed to - - - - Given a list of predicates, extracts key values for the specified . - - Target set. - Candidate predicates. - Returns list of non-key predicates. - List of key predicates if found, otherwise null - - - Adds all AND'ed expressions to the specified list. - Expression to recursively add conjuncts from. - Target list of conjucts. - - - - Analyzes the specified call to see whether it is recognized as a - projection that is satisfied with $select usage. - - Call expression to analyze. - Kind of sequence method to analyze. - Resulting expression. - true if is a projection that can be satisfied with $select; false otherwise. - - - - Analyzes the specified method call as a WCF Data - Services navigation operation. - - Expression to analyze. - Data service context instance - An expression that represents the potential navigation. - - - - Analyzes a .Select or .SelectMany method call to determine - whether it's allowed, to identify transparent identifiers - in appropriate .SelectMany() cases, returning the method - call or a resource set expression. - - Expression to analyze. - Data service context instance - - , or a new resource set expression for - the target resource in the method call for navigation properties. - - - - - Analyzes the nav prop reference for a SelectMany method call - building the appropriate ResourceSetExpression if one can be - created. - - Input resource expression to the collector - The navigation property reference to analyze - Data service context instance - The resource set expression - true if succesful, else false - - - - Analyzes a SelectMany method call that ranges over a resource set and - returns the same method or the annotated resource set. - - SelectMany method to analyze. - Source resource set for SelectMany result. - Context of expression to analyze. - The visited expression. - - The expression represents the - navigation produced by the collector of the SelectMany() method call. - - - - - Analyzes the OfType method call - - The OfType method call expression - The MaxProtocolVersion of the client - , or a resource set expression with ResourceTypeAs set. - - - - Analyzes Any and All method calls - - Any/All method call expression - The MaxProtocolVersion of the client - , resource set or a collection property expression. - - - Creates a new resource set as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the set. - The member access on that yields the set. - The resource type on the set. - A new instance. - - - Creates a new resource singleton as produced by a navigation. - - The type of the expression as it appears in the tree (possibly - with transparent scopes). - - The source of the singleton. - The member access on that yields the singleton. - A new instance. - - - - Produces a new that is a clone of in all respects, - other than its result type - which will be - and its transparent scope, - which will be null. This is a shallow clone operation - sequence query options, key predicate, etc are - not cloned, but are reassigned to the new instance. The resource expression should be - discarded after being used with this method. - - The result type - - that the new resource set expression should have. - The resource set expression from which the transparent scope is being removed - A new resource set expression without an enclosing transparent scope and with the specified result type. - - - Returns the specified expression, stripping redundant converts. - Expression to return. - e, or the underlying expression for redundant converts. - - - - Strips the specifed of intermediate - expression (unnecessary converts and quotes) and returns - the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The underlying expression for . - - - - Strips the specifed of intermediate unnecessary converts - and quotes, and returns the underlying expression of type T (or null if it's not of that type). - - Type of expression to return. - Expression to consider. - The converted type for typeAs expressions. - The underlying expression for . - - - Strips calls to .Cast() methods, returning the underlying expression. - Expression to strip calls from. - The underlying expression. - - Note that this method drops information about what the casts were, - and is only supported for collector selectors in SelectMany() calls, - to enable scenarios such as from t in ctx.Tables from Customer c in t.Items... - - - - Convenience property: model. - - - Use this class to perform pattern-matching over expression trees. - - Following these guidelines simplifies usage: - - - Return true/false for matches, and interesting matched information in out parameters. - - - If one of the inputs to be matched undergoes "skipping" for unnecesary converts, - return the same member as an out parameter. This forces callers to be aware that - they should use the more precise representation for computation (without having - to rely on a normalization step). - - - - - Checks whether the is a convert that - always succeeds because it converts to the same target type or a - base type. - - Expression to match. - - true if is a convert to same or base type; false otherwise. - - - - - Checks whether is a lambda of the - form (p) => p.member[.member]* (possibly quoted). - - Expression to match. - true if the expression is a match; false otherwise. - - This method strip .Call methods because it's currently used only - to supporte .SelectMany() collector selectors. If this method - is reused for other purposes, this behavior should be made - conditional or factored out. - - - - - Checks whether the specified expression is a path of member - access expressions. - - Expression to match. - Data service context instance - Expression equivalent to , without unnecessary converts. - Expression from which the path starts. - Path of member names from . - Uri version. - true if there is at least one property in the path; false otherwise. - - - - Checks whether the specified member expression refers to a member - that is a non-private property (readable and with getter and/or setter). - - Expression to check. - Non-null property info when result is true. - The property access target. - Whether the member refers to a non-private, readable property. - - - - Checks whether the specified is a member access to a key. - - Expression to check. - If this is a key access, the property for the key. - true if is a member access to a key; false otherwise. - - - - Checks whether the specified matches - a call to System.Object.ReferenceEquals. - - Expression to check. - true if the expression matches; false otherwise. - - - - Checks whether the specifed refers to a resource. - - Expression to check. - Resource expression if successful. - true if the expression is a resource expression; false otherwise. - - - - Checks whether the specified expression is a lambda with a two parameters - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with two parameters. - - - - Checks whether the specified is a selector - of the form (p) => p. - - Expression to check. - true if the lambda is an identity selector; false otherwise. - - - - Checks whether the specified expression is a lambda with a single parameter - (possibly quoted). - - Expression to match. - If the expression matches, the lambda with the single parameter. - true if the expression is a lambda with a single argument. - - - - Checked whether the specified has the - form [input's transparent scope].[accessor]. - - Input expression (source) for the selector. - Selector lambda. - Data service context - true if the selector's body looks like [input's transparent scope].[accesor]. - - - - Checks wheter the specified lambda matches a selector that yields - a transparent identifier. - - - The input expression for the lambda, used to set up the - references from the transparent scope if one is produced. - - Lambda expression to match. - - After invocation, information on the accessors if the result - is true; null otherwise. - - - true if is a selector for a transparent - identifier; false otherwise. - - - Note that C# and VB.NET have different patterns for accumulating - parameters. - - C# uses a two-member anonymous type with "everything so far" - plus the newly introduced range variable. - - VB.NET uses an n-member anonymous type by pulling range variables - from a previous anonymous type (or the first range variable), - plus the newly introduced range variable. - - For additional background, see: - Transparent Identifiers - http://blogs.msdn.com/wesdyer/archive/2006/12/22/transparent-identifiers.aspx - http://msdn.microsoft.com/en-us/library/bb308966.aspx - In particular: - - 26.7.1.4 From, let, where, join and orderby clauses - - 26.7.1.7 Transparent identifiers - - is the expression that represents the - navigation resulting from the collector selector in the - SelectMany() call under analysis. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance. - Navigation member, equivalent to without unnecessary casts. - - true if is a property collection that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access - that references . - - Expression to check. - InputReferenceExpression to consider as source. - Data service context instance - Member expression, equivalent to without unnecessary casts. - - true if is a scalar property or singleton navigation property that originates in - ; false otherwise. - - - - - Checks whether the specified is a member access with the specified cardinality (per ) - that references . - - Expression to check. - InputReferenceExpression to consider as source. - - Whether the match should be for a set of related entities or a singleton property. - Singleton properties can be scalar types (including collection and other enumerable types like byte[]), complex types, or singleton navigation properties. - Related set properties are only navigation properties. - - Data service context instance. - Member expression for accessing the property, equivalent to without unnecessary casts. - - true if is a property that originates in - and is the expected cardinality (per ); false otherwise. - - - - - Checks whether is a logical negation - expression. - - Expression to check. - true if expression is a Not expression; false otherwise. - - - Checks whether the type of the specified expression could represent a set of related resources. - Expression to check. - The model that the client uses. - true if the type of the expression could represent a set of related resources; false otherwise. - - - - Checks whether is a conditional expression - that checks whether a navigation property (reference or collection) is - null before proceeding. - - Entity in scope to be checked. - Expression to check. - Check results. - - - Checks whether the specified is a null constant. - Expression to check. - true if is a constant null value; false otherwise. - - - - Checks whether is a "new DataServiceCollection of T". - - The expression to match - true if the expression matches the "new DataServiceCollection of T" or false otherwise. - - - - Checks whether is a "new ICollection of T". - - The expression to match - - - - - Checks whether is a check for - equality on two expressions. - - Expression to match. - - A structure describing whether the expression is a match, - whether it yields true on equality (ie, '==' as opposed to '!='), - and the compared expressions. - - - This pattern recognizes the following: - - Calls to object.ReferenceEquals - - Equality checks (ExpressionNodeType.Equals and ExpressionNodeType.NotEquals) - - Negation (ExpressionNodeType.Not) - - - - - Checks whether the expression is a - simple access (standalone or member-access'ed) on one of the - parameter . - - Argument to match. - Candidate parameters. - - true if the argument is a parmater or a member from a - parameter; false otherwise. - - - - - Checks whether the specified expression is a lambda with a parameterCount parameters - (possibly quoted). - - Expression to match. - Expected number of parametrs. - If the expression matches, the lambda with the two parameters. - true if the expression is a lambda with parameterCount parameters. - - - - Use this class to represent the results of a match on an expression - that does a null check before accessing a property. - - - - Expression used to assign a value when the reference is not null. - - - Whether the expression analyzed matches a null check pattern. - - - Expression being checked againt null. - - - - Use this class to represent the results of a match on an expression - that checks for equality . - - - - Whether a positive equality yields 'true' (ie, is this '==' as opposed to '!='). - - - Whether the expression analyzed matches an equality check pattern. - - - The left-hand side of the check. - - - The right-hand side of the check. - - - - Throws the NotSupportedException for the $format query option. - - - - - Detect and disallow member access for certain known types, in 'where' requests. - - - - - Detect and disallow member access for certain known types, in 'orderby' requests. - - - - - Used to identify and block navigation to members of collection property in select statement. - e.g. from c in ctx.Customers select c.CollectionProperty.member - - - - - We do not support type identifier at the end of a path. - For example, these would throw: - select p as Employee - select p.BestFriend as Employee - Expand(p => p.BestFriend as Employee) - - expression passed to validate - The context of where is applied - - - - Checks whether the specified is a valid expand path. - - The lambda expression for the expand path - Data service context instance. - Expand path - Uri version - - - - Detect and disallow member access for certain known types, in 'where' and 'orderby' requests. - - - - - Equality and comparison implementation for PropertyInfo. - - - - - private constructor for the singleton pattern - - - - - Static property which returns the single instance of the EqualityComparer - - - - - Checks whether the given property info's refers to the same property or not. - - first property info - second property info - true if they refer to the same property, otherwise returns false. - - - - Computes the hashcode for the given property info - - property info whose hash code needs to be computed. - the hashcode for the given property info. - - - - Use this visitor to detect whether an Expression is found in an - Expression tree. - - - - Target expression being sought. - - - Whether the target has been found. - - - - Initializes a new that - searches for the given . - - Target expression to look for. - - - - Checks whether the specified can - be found in the given . - - Expression sought. - Expression tree to look into. - true if target is found at least once; false otherwise. - - - Visits the specified expression. - Expression to visit. - The visited expression (). - - - Enum for resource expression types - - - ResourceSet Expression - - - Resource Navigation Expression - - - Resource Navigation Expression to Singleton - - - Take Query Option Expression - - - Skip Query Option Expression - - - OrderBy Query Option Expression - - - Filter Query Option Expression - - - Reference to a bound component of the resource set path - - - Projection Query Option Expression - - - Expand Query Option Expression - - - Expression for a navigation property into a single entity (eg: Customer.BestFriend). - - - property member name - - - resource type - - - - Creates a NavigationPropertySingletonExpression expression - - the return type of the expression - the source expression - property member name - resource type for expression - expand paths for resource set - count option for the resource set - custom query options for resourcse set - projection expression - target expression type for a TypeAs conversion - version of the Uri from the expand and projection paths - - - - Cast changes the type of the ResourceExpression - - new type - new NavigationPropertySingletonExpression - - - - The of the . - - - - - Gets the member expression. - - - - - The resource type of the singe instance produced by this singleton navigation. - - - - - Singleton navigation properties always produce at most 1 result - - - - - Does Singleton navigation have query options. - - - - ResourceSet Expression - - - - The (static) type of the resources in this resource set. - The resource type can differ from this.Type if this expression represents a transparent scope. - For example, in TransparentScope{Category, Product}, the true element type is Product. - - - - property member name - - - key predicate - - - sequence query options - - - enclosing transparent scope - - - Key Predicate conjuncts that will make a key predicate - - - - Creates a ResourceSet expression - - the return type of the expression - the source expression - property member name - the element type of the resource set - expand paths for resource set - count query option for the resource set - custom query options for resourcse set - the projection expression - TypeAs type - version of the Uri from the expand and projection paths - - - - Cast ResourceSetExpression to new type - - - - - Cast ResourceSetExpression to new type without affecting member type - - - - - Converts the key expression to filter expression - - - - - Adds a filter to this ResourceSetExpression. - If filter is already presents, adds the predicateConjunts to the - PredicateConjucts of the filter - - - - - Add query option to resource expression - - - - - Removes the filter expression from current resource set. - This happens when a separate Where clause is specified in a LINQ - expression for every key property. - - - - - Instructs this resource set expression to use the input reference expression from as it's - own input reference, and to retarget the input reference from to this resource set expression. - - The resource set expression from which to take the input reference. - Used exclusively by . - - - - Sets key predicate from given values - - - - - Gets the key properties from KeyPredicateConjuncts - - - - - Creates a clone of the current ResourceSetExpression with the specified expression and resource types - - The new expression type - The new resource type - A copy of this with the new types - - - - The of the . - - - - - Member for ResourceSet - - - - - Type of resources contained in this ResourceSet - it's element type. - - - - - Is this ResourceSet enclosed in an anonymously-typed transparent scope produced by a SelectMany operation? - Applies to navigation ResourceSets. - - - - - The property accesses required to reference this ResourceSet and its source ResourceSet if a transparent scope is present. - May be null. Use to test for the presence of a value. - - - - - Has a key predicate restriction been applied to this ResourceSet? - - - - - The list of key expressions that comprise the key predicate (if any) applied to this ResourceSet. - - - - - A resource set produces at most 1 result if constrained by a key predicate - - - - - Have sequence query options (filter, orderby, skip, take), expand paths, projection - or custom query options been applied to this resource set? - - - - - If this expresssion contains at least one non-key predicate - This indicates that a filter should be used - - - - - Filter query option for ResourceSet - - - - - OrderBy query option for ResourceSet - - - - - Skip query option for ResourceSet - - - - - Take query option for ResourceSet - - - - - Gets sequence query options for ResourceSet - - - - Whether there are any query options for the sequence. - - - - Represents the property accesses required to access both - this resource set and its source resource/set (for navigations). - - These accesses are required to reference resource sets enclosed - in transparent scopes introduced by use of SelectMany. - - - For example, this query: - from c in Custs where c.id == 1 - from o in c.Orders from od in o.OrderDetails select od - - Translates to: - c.Where(c => c.id == 1) - .SelectMany(c => o, (c, o) => new $(c=c, o=o)) - .SelectMany($ => $.o, ($, od) => od) - - PatternRules.MatchPropertyProjectionSet identifies Orders as the target of the collector. - PatternRules.MatchTransparentScopeSelector identifies the introduction of a transparent identifer. - - A transparent accessor is associated with Orders, with 'c' being the source accesor, - and 'o' being the (introduced) accessor. - - - - - The property reference that must be applied to reference this resource set - - - - - The property reference that must be applied to reference the source resource set. - Note that this set's Accessor is NOT required to access the source set, but the - source set MAY impose it's own Transparent Accessors - - - - - Constructs a new transparent scope with the specified set and source set accessors - - The name of the property required to access the resource set - The names of the property required to access the resource set's sources. - - - Provides a string representation of this accessor. - The text represntation of this accessor. - - - - An resource specific expression representing a skip query option. - - - - amount to skip - - - - Creates a SkipQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - - An resource specific expression representing a take query option. - - - - amount to skip - - - - Creates a TakeQueryOption expression - - the return type of the expression - the query option value - - - - Composes the expression with this one when it's specified multiple times. - - to compose. - - The expression that results from composing the expression with this one. - - - - - The of the . - - - - - query option value - - - - Utility functions for processing Expression trees - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - VB Assembly name - - - VB Assembly public key token - - - Method map for methods in URI query options - - - VB Method map for methods in URI query options - - - Properties that should be represented as methods - - - - Cache used to store element type (TElement) for key Type if key Type implements IEnumerable{TElement} or - null if the key Type does not implement IEnumerable{T} e.g.: - List{Entity} - Entity - Entity - null - - - - - Initializes method map - - - - - Sees if method has URI equivalent - - The method info - uri method name - true/ false - - - - Sees if property can be represented as method for translation to URI - - The property info - get method for property - true/ false - - - - Gets the elementtype for a sequence - - The sequence type - The element type - - - - Determines whether a property is private - - The PropertyInfo structure for the property - true/ false if property is private - - - - Finds type that implements IEnumerable so can get element type - - The Type to check - returns the type which implements IEnumerable - - - Finds whether a non-primitive implements IEnumerable and returns element type if it does. - Type to check. - Type of the element if the implements IEnumerable{T}. Otherwise null. - - - - Checks if the given assembly is the VisualBasic assembly. - - assembly to check. - true if the assembly is Microsoft.VisualBasic, otherwise returns false.root - - - - utility class for helping construct uris - - - forwardslash character - - - leftparan character - - - rightparan character - - - questionmark character - - - ampersand character - - - equals character - - - at sign - - - dollar sign character - - - space - - - comma - - - colon - - - single quote - - - asterisk - - - top - - - skip - - - orderby - - - where - - - desc - - - expand - - - inlinecount - - - select - - - The $format query option. - - - allpages - - - value - - - and - - - or - - - eq - - - ne - - - lt - - - le - - - gt - - - ge - - - add - - - sub - - - mul - - - div - - - mod - - - negate - - - not - - - null - - - isof - - - cast - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - The name for the , suitable for including in a URI. - - - Gets the type name to be used in the URI for the given . - Type to get name for. - Data context used to generate type names for types. - Data service version for the uri - The name for the , suitable for including in a URI. - - - - Appends a type segment to the which is building up a URI from a query. - - The string builder. - The type for the segment. - The data service context. - Whether or not the type segment is being appended within the path (as opposed to within a $filter or $orderby expression). - The current version. - - - - Special visitor to serialize supported expression as query parameters - in the generated URI. - - - - Internal buffer. - - - Data context used to generate type names for types. - - - Stack of expressions being visited. - - - Whether or not the expression being written is part of the path of the URI. - - - set if can't translate expression - - - Parent expression of the current expression (expression.Peek()); possibly null. - - - the request data service version for the uri - - - number of sub scopes (any/all calls) on stack - - - - Creates an ExpressionWriter for the specified . - - Data context used to generate type names for types. - Whether or not the expression being written is part of the path of the URI. - - - - Serializes an expression to a string - - Data context used to generate type names for types. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - the request data service version for the uri - serialized expression - - - Main visit method. - Expression to visit - Visited expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - Input resource set references are intentionally omitted from the URL string for the top level - refences to input parameter (i.e. outside of any/all methods). - For parameter references to input (range variable for Where) inside any/all methods we write "$it". - - The input reference - The same input reference expression - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - Serializes an MemberExpression to a string - - Expression to serialize - MemberExpression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - Serializes an UnaryExpression to a string - - Expression to serialize - UnaryExpression - - - - Serializes an BinaryExpression to a string - - BinaryExpression to serialize - serialized expression - - - - Serializes an TypeBinaryExpression to a string - - TypeBinaryExpression to serialize - serialized expression - - - - ParameterExpression visit method. - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - Indicates if two expression types are collapsible, e.g., ((a or b) or c) can be collapsed to (a or b or c). - - The expression type - The expression type of the parent expression - Indicates if the expression is to the left or the right of the parent expression - True if the two expression types are collapsible, false otherwise - - - - Returns the precedence of a binary operator for comparison purposes, or -1 if not applicable. - - The ExpressionType representing the binary operator - The precedence of a binary operator for comparison purposes, or -1 if not applicable - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - - - - Visits operands for Binary and Unary expressions. - Will only output parens if operand is complex expression, - this is so don't have unecessary parens in URI. - - The operand expression to visit - The node type of the parent expression (if applicable) - Indicates if the expression is to the left or the right of the parent expression - - - - Serializes an expression to a string - - Expression to serialize - serialized expression - - - - The references to parameter for the main predicate (.Where()) is implicit outside any/all methods. - - The expression to test - true if the expression represents a reference to the current (resource set) input and it is not in any/all method; otherwise false. - - - Whether inside any/all lambda or not - - - - An enumeration indicating the direction of a child operand - - - - The operand is the left child - - - The operand is the right child - - - - Translates resource bound expression trees into URIs. - - - - Data context used to generate type names for types. - - - stringbuilder for constructed URI - - - the request data service version for the uri - - - the leaf resourceset for the URI being written - - - - For caching query options to be grouped - - - - - Private constructor for creating UriWriter - - Data context used to generate type names for types. - - - - Translates resource bound expression tree to a URI. - - Data context used to generate type names for types. - flag to indicate whether generated URI should include () if leaf is ResourceSet - The expression to translate - uri - version for query - - - - MethodCallExpression visit method - - The MethodCallExpression expression to visit - The visited MethodCallExpression expression - - - - UnaryExpression visit method - - The UnaryExpression expression to visit - The visited UnaryExpression expression - - - - BinaryExpression visit method - - The BinaryExpression expression to visit - The visited BinaryExpression expression - - - - ConstantExpression visit method - - The ConstantExpression expression to visit - The visited ConstantExpression expression - - - - TypeBinaryExpression visit method - - The TypeBinaryExpression expression to visit - The visited TypeBinaryExpression expression - - - - ConditionalExpression visit method - - The ConditionalExpression expression to visit - The visited ConditionalExpression expression - - - - ParameterExpression visit method - - The ParameterExpression expression to visit - The visited ParameterExpression expression - - - - MemberExpression visit method - - The MemberExpression expression to visit - The visited MemberExpression expression - - - - LambdaExpression visit method - - The LambdaExpression to visit - The visited LambdaExpression - - - - NewExpression visit method - - The NewExpression to visit - The visited NewExpression - - - - MemberInitExpression visit method - - The MemberInitExpression to visit - The visited MemberInitExpression - - - - ListInitExpression visit method - - The ListInitExpression to visit - The visited ListInitExpression - - - - NewArrayExpression visit method - - The NewArrayExpression to visit - The visited NewArrayExpression - - - - InvocationExpression visit method - - The InvocationExpression to visit - The visited InvocationExpression - - - - NavigationPropertySingletonExpression visit method. - - NavigationPropertySingletonExpression expression to visit - Visited NavigationPropertySingletonExpression expression - - - - ResourceSetExpression visit method. - - ResourceSetExpression expression to visit - Visited ResourceSetExpression expression - - - - Visit Query options for Resource - - Resource Expression with query options - - - - SkipQueryOptionExpression visit method. - - SkipQueryOptionExpression expression to visit - - - - TakeQueryOptionExpression visit method. - - TakeQueryOptionExpression expression to visit - - - - FilterQueryOptionExpression visit method. - - FilterQueryOptionExpression expression to visit - - - - OrderByQueryOptionExpression visit method. - - OrderByQueryOptionExpression expression to visit - - - - VisitExpandOptions visit method. - - Expand Paths - - - - ProjectionPaths visit method. - - Projection Paths - - - - VisitCountOptions visit method. - - - - - VisitCustomQueryOptions visit method. - - Custom query options - - - - Caches query option to be grouped - - The key. - The value - - - - Append all cached query options to uri. - - - - Serializes an expression to a string. - Expression to serialize - Whether or not the expression being written is part of the path of the URI. - The serialized expression. - - - - QueryProvider implementation - - - - DataServiceContext for query provider - - - Constructs a query provider based on the context passed in - The context for the query provider - - - Factory method for creating DataServiceOrderedQuery based on expression - The expression for the new query - new DataServiceQuery - - - Factory method for creating DataServiceOrderedQuery based on expression - generic type - The expression for the new query - new DataServiceQuery - - - Creates and executes a DataServiceQuery based on the passed in expression - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression - generic type - The expression for the new query - the results - - - Creates and executes a DataServiceQuery based on the passed in expression which results a single value - generic type - The expression for the new query - single valued results - - - Builds the Uri for the expression passed in. - The expression to translate into a Uri - Query components - - - a set, collection of unordered, distinct objects, implemented as an array - element type - - - item array of T - - - count of elements in the items array - - - number of Add and RemoveAt operations - - - - array set with an intial capacity - - initial capacity - - - add new element to the set - element to add - equality comparison function to avoid duplicates - true if actually added, false if a duplicate was discovered - - - is the element contained within the set - item to find - comparer - true if the element is contained - - - - enumerator - - enumerator - - - - enumerator - - enumerator - - - Find the current index of element within the set - item to find - comparision function - index of the item else (-1) - - - Find the current index of element within the set - selected type - item to find - selector for item to compare - item to compare - index of the item else (-1) - - - Remove the matched item from within the set - item to find within the set - comparer to find item to remove - the item that was actually contained else its default - - - Remove an item at a specific index from within the set - index of item to remove within the set - - - Sort array based on selected value out of item being stored - selected type - selector - comparer - - - Sets the capacity to the actual number of elements in the ArraySet. - - - identity selector, returns self - input - output - - - count of elements in the set - - - get an item from an index in the set - index to access - - - Compare selected value out of t - comparison type - - - Select something out of T - - - Comparer of selected value - - - Compare - x - y - int - - - - Use this class to keep a log of changes done by the materializer. - - - - The merge option. - - - The client edm model. - - - The entity tracker. - - - Dictionary of identity URI to instances created during previous AppendOnly moves. - - - Dictionary of identity URI to tracked entities. - - - List of link descriptors (data for links and state). - - - Target instance to refresh. - - - - Initializes a new instance. - - The merge option for the log. - The model for the log. - The entity tracker for the log. - - Note that the merge option can't be changed. - - - - - This method is used to merge all the metadata that come in the response payload. - - entityDescriptor that is getting tracked by the client - entityDescriptor that is returned by the materializer - if true, we will need to merge all entity descriptor info, otherwise not. - merge option depending on which etag information needs to be merged. - - - Applies all accumulated changes to the associated data context. - The log should be cleared after this method successfully executed. - - - Clears all state in the log. - - - - Invoke this method to notify the log that an existing - instance was found while resolving an object. - - Entry for instance. - - - - Invoke this method to notify the log that the - target instance of a "directed" update was found. - - Entry found. - - The target instance is typically the object that we - expect will get refreshed by the response from a POST - method. - - For example if a create a Customer and POST it to - a service, the response of the POST will return the - re-serialized instance, with (important!) server generated - values and URIs. - - - - Attempts to resolve an entry from those tracked in the log. - Entry to resolve. - - After invocation, an existing entry with the same identity as - ; possibly null. - - true if an existing entry was found; false otherwise. - - - - Invoke this method to notify the log that a new link was - added to a collection. - - - Instance with the collection to which - was added. - - Property name for collection. - Object which was added. - - - - Invoke this method to notify the log that a new instance - was created. - - Entry for the created instance. - - - - Invoke this method to notify the log that a link was removed - from a collection. - - - Instance with the collection from which - was removed. - - Property name for collection. - Object which was removed. - - - - Invoke this method to notify the log that a link was set on - a property. - - Entry for source object. - Name of property set. - Target object. - - - - Returns true the specified entry represents an entity. - - The materializer entry - True if the entry represents an entity. - - - - Returns true the specified entry represents an entity. - - The resolved instance - The client model. - True if the entry represents an entity. - - - Whether changes are being tracked. - - - Type of property stored in BindingPropertyInfo. - - - Property type is a complex type. - - - Property type is an entity type with keys. - - - Property is a DataServiceCollection. - - - Property is a collection of primitives or complex types. - - - Cache of information about entity types and their observable properties - - - Object reference used as a 'False' flag. - - - Object reference used as a 'True' flag. - - - Lock on metadata caches. - - - Types which are known not to be entity types. - - - Types which are known to be (or not) collection types. - - - Mapping between types and their corresponding entity information - - - Obtain binding info corresponding to a given type - Type for which to obtain information - the client model. - Info about the - - - Gets the ClientType corresponding to the given type - Input type - The client model. - Corresponding ClientType - - - - Get the entity set name for the target entity object. - - An entity object. - The 'currently known' entity set name for the target object. - The client model. - The entity set name for the target object. - - Allow user code to provide the entity set name. If user code does not provide the entity set name, then - this method will get the entity set name from the value of the EntitySetAttribute. - The 'currently known' entity set name for top level collections can be provided through OEC constructor - - - - - Determine if the specified type is an DataServiceCollection. - - - If there a generic class in the inheritance hierarchy of the type, that has a single - entity type paramenter T, and is assignable to DataServiceCollection(Of T), then - the type is an DataServiceCollection. - - An object type specifier. - The client model. - true if the type is an DataServiceCollection; otherwise false. - - - - Determine if the specified type is an entity type. - - An object type specifier. - The client model. - true if the type is an entity type; otherwise false. - - - - Tries to get the value of a property and corresponding BindingPropertyInfo or ClientPropertyAnnotation if the property exists - - Source object whose property needs to be read - Name of the source object property - The client model. - BindingPropertyInfo corresponding to - Instance of ClientProperty corresponding to - Value of the property - true if the property exists and the value was read; otherwise false. - - - Obtain binding info corresponding to a given type - Type for which to obtain information - The client model. - Info about the - - - Checks whether a given type can be a complex type i.e. implements INotifyPropertyChanged. - Input type. - true if the type is complex type, false otherwise. - - - Gets entity set corresponding to a given type - Intput type - The client model. - Entity set name for the type - - - Information about a property interesting for binding - - - Property information - - - Kind of the property i.e. complex, entity or collection. - - - Holder of information about entity properties for a type - - - Collection of properties interesting to the observer - - - Constructor - - - Entity set of the entity - - - Corresponding ClientTyp - - - Collection of properties interesting to the observer - - - Read-writer lock, implemented over a Monitor. - - - Single object on which to lock. - - - Enters a reader lock. Writers will also be blocked. - - - Enters a writer lock. Readers will also be blocked. - - - Exits a reader lock. - - - Exits a writer lock. - - - - Color of each vertex to be used for Depth First Search - - - - White color means un-visited - - - Gray color means added to queue for DFS - - - Black color means already visited hence reachable from root - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entity type objects and observable entity collections. - - - - The observer of the graph - - - Graph containing entities, collections and their relationships - - - Constructor - Observer of the graph - - - Adds a DataServiceCollection to the graph - Source object for the collection, this object has navigation property corresponding to collection - Property in that corresponds to the collection - Collection being added - Entity set of entities in the collection - true if a new vertex had to be created, false if it already exists - - - Adds a collection of primitives or complex types to the graph - Source object for the collection, this object has property corresponding to collection - Property in that corresponds to the collection - Collection being added - Type of item in the collection - - - Adds an entity to the graph - Source object for the entity, this object has navigation property that links to entity - Property in that links to entity - Entity being added - Entity set of entity being added - Item from which the directed edge in the graph goes into . This can be a collection - true if a new vertex had to be created, false if it already exists - - This method processes the current 'target' entity and then recursively moves into the graph through - the navigation properties. The 'source' is a previously processed item - it is the 'parent' - of the target entity. - The code generated EntitySetAttribute is processed by this method. - A source entity can reference the target entity directly through an entity reference navigation property, - or indirectly through a collection navigation property. - - - - - Removes the from the binding graph - - Item to remove - Parent of the - Parent property that refers to - - - - Removes the from the binding graph - - Item to remove - Collection that contains the - - - Removes all of a collection's items from the graph, but does not remove the collection. - Collection containing the items to remove. - This is used for both DataServiceCollection and collections of primitives or complex types. - - - Removes a relationship between two items based on source and relation label - Source item - Label for relation - - - Remove all non-tracked entities from the graph - - - - Returns a sequence of items belonging to a collection. Uses the children of a collection - vertex for this enumeration. - - Collection being enumerated. - Sequence of items belonging to the collection. - - - Reset the graph after detaching notifications for everything - - - Removes the un-reachable vertices from the graph and un-registers notification handlers - - - Get the binding information for a DataServiceCollection - Collection - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set name of the target object. - - - Get the binding information for a collection - Collection - The source object that reference the target object through a collection property. - The collection property in the source object that reference the target object. - Type of item in the collection - - - - Obtains the closest ancestor entity type in the graph corresponding to a complex object vertex. - - On input this is a complex object, on output it is the closest entity ancestor. - On input this is a complex object's member property name, on output it is the name of corresponding property of the ancestor entity. - On input this is a complex object's member property value, on output it is the value of the corresponding property of the ancestor entity. - - - - Adds a complex typed object to the graph, also traverses all the child complex properties and adds them. - - Source object that contains the complex object, can be an entity, complex object, or a collection. - Source property of complex type, is null if complex type is in a collection, otherwise is the property that references the complex object on source. - Target complex object value. - - - - Adds complex items to the graph from the specified collection. - - Collection that contains . - Items in to add to the binding graph. May be only a subset of the total items in . - - - Add items to the graph, from the object's properties - Object whose properties are to be explored - - - Attach the CollectionChanged handler to an DataServiceCollection. - An DataServiceCollection. - - - Attach the CollectionChanged handler to a collection of primitives or complex types. - An ICollection of T, where T is the type of the item in the collection. - True if the collection is attached; otherwise false. - - - Attach the PropertyChanged handler to an entity or complex object. - An entity or complex object. - True if the target is attached; otherwise false. - - - Detach CollectionChanged or PropertyChanged handlers from the target - An entity object or collection. - - - Detach CollectionChanged handlers from the target - A collection object - - - - Sets the observer for a child DataServiceCollection - - Entity type for the collection - Non-typed collection interface - - - Graph implementation for tracking entities, collections for binding - - - Vertices of the graph, which also hold edges - - - The root vertex for the graph, DFS traversals start from this vertex - - - Constructor - - - Adds vertex to the graph - Item corresponding to vertex - Newly created vertex - - - Removes all edges going out of and coming into the given vertex - Vertex whose edges are to be cleared - - - - Checks if a vertex exists corresponding to given - - Item to lookup - true if vertex found, false otherwise - - - Looksup the vertex corresponding to - Item to lookup - Vertex corresponding to item - - - - Adds edge between vertices corresponding to and - objects which will be labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - Newly created edge - - - - Removes edge between vertices corresponding to and - objects which was labeled with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - - - - Checks if an edge exists between and labeled - with - - Outgoing end of the edge - Incoming end of the edge - Label for the vertex - true if an edge exists between source and target with given label, false otherwise - - - - Selects collection of objects tracked by the graph based on the given filter - - Filter for the objects - Filtered list of objects tracked by the graph - - - - Removes everything from the graph after applying - - Action to apply before removal of each node - - - Remove all vertices from graph that are unreachable from the root collection vertex - Action to perform for each removed vertex - - - Collects all vertices unreachable from the root collection vertex - Sequence of vertices that are unreachable from the root collection vertex - - Performs a depth first traversal of the graph starting from the root collection - vertex and checks if some vertices were unreachable was reached while doing the traversal. - Alogrithm from Introduction to Algorithms 22.2 by Cormen et al. - - - - Root vertex of the graph - - - Vertex of the - - - Collection of incoming edges for the vertex - - - Collection of outgoing edges for the vertex - - - Constructor - Item corresponding to vertex - - - Get the binding information for a collection vertex - The source object that reference the target object through a navigation property corresponding to current collection vertex. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The entity set of the target object. - - - Get the binding information for a collection vertex - The source object that reference the target object through a collection property corresponding to current collection vertex. - The collection property in the source object that references the collection object. - Type of item in the collection. - - - Item corresponding to the vertex - - - Entity set of the item held by the vertex - - - Is item a DataServiceCollection object - - - Is item a complex type object - - - Is item a collection of primitives or complex types - - - Type of items in the collection if this items represents a collection of primitives or complex types - - - Parent vertex, only exists for non-top level collection vertices or complex objects - - - Property of the object that associates this vertex with it's parent - - - Is item a root collection object - - - Color of the vertex - - - Edges coming into this vertex - - - Edges going out of this vertex - - - - Edge between two vertices of graph, directed and labeled - - - - IEquatable override - Comparand - true if equal, false otherwise - - - Source vertex - - - Target vertex - - - Label of the edge - - - The BindingObserver class - - - - The BindingGraph maps objects tracked by the DataServiceContext to vertices in a - graph used to manage the information needed for data binding. The objects tracked - by the BindingGraph are entities, complex types and DataServiceCollections. - - - - Constructor - The DataServiceContext associated with the BindingObserver. - EntityChanged delegate. - EntityCollectionChanged delegate. - - - Start tracking the specified DataServiceCollection. - An entity type. - An DataServiceCollection. - The entity set of the elements in . - - - Stop tracking the root DataServiceCollection associated with the observer. - - - - Looks up parent entity that references . - - Type of DataServiceCollection. - DataService collection - Parent entity that references . May return null if there is none. - Navigation property in the parentEntity that references . May return null if there is no parent entity. - True if parent entity was found, otherwise false. - - - Handle changes to tracked entity. - The entity that raised the event. - Information about the event such as changed property name. - - - Handle changes to tracked DataServiceCollection. - The DataServiceCollection that raised the event. - Information about the event such as added/removed entities, operation. - - - Handle changes to collection properties. - The collection that raised the event. - Information about the event such as added/removed items, operation. - - - Handle Adds to a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity to attach. - The entity set name of the target object. - - - Handle Deletes from a tracked DataServiceCollection. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The collection containing the target object. - The target entity. - The entity set name of the target object. - - - Handle changes to navigation properties of a tracked entity. Perform operations on context to reflect the changes. - The source object that reference the target object through a navigation property. - The navigation property in the source object that reference the target object. - The entity set of the source object. - The target entity. - The entity set name of the target object. - - - Determine if the DataServiceContext is tracking the specified entity. - An entity object. - true if the entity is tracked; otherwise false. - - - - Handle changes to an entity object tracked by the BindingObserver - - The entity object that has changed. - The property of the target entity object that has changed. - The value of the changed property of the target object. - - - Processes the INotifyCollectionChanged.Add event. - Event information such as added items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Entity set of the collection. - Collection that changed. - - - Processes the INotifyCollectionChanged.Remove event. - Event information such as deleted items. - Parent entity to which collection belongs. - Parent entity property referring to collection. - Collection that changed. - - - Removes a collection from the binding graph and detaches each item. - Collection whose elements are to be removed and detached. - - - Performs a Deep removal of all entities in a collection. - Collection whose items are removed from binding graph. - Parent item whose property refer to the being cleared. - Property of the that refers to . - Validation method if any that checks the individual item in for validity. - - - - Handles additions to collections of complex types. - - Collection that contains the new items. - Items that were added to the collection. - - - - Handles removals from collections of complex types. - - Collection that no longer contains the items. - Items that were removed from the collection. - - - Handle the DataServiceContext.SaveChanges operation. - DataServiceContext for the observer. - Information about SaveChanges operation results. - - - Collects a list of entities that observer is supposed to stop tracking - Entity being delete along with it's children - Parent of the - Property by which refers to - List in which entities to be untracked are collected - - - Determine if the DataServiceContext is tracking link between and . - The source object side of the link. - A property in the source side of the link that references the target. - The target object side of the link. - True if the link is tracked; otherwise false. - - - Checks whether the given entity is in detached or deleted state. - Entity being checked. - true if the entity is detached or deleted, otherwise returns false. - - - Entity validator that checks if the is of entity type. - Entity being validated. - - - The DataServiceContext associated with the BindingObserver. - - - The behavior of add operations should be Attach or Add on the context. - - - The behavior of remove operations should be Detach on the context. - - - - Callback invoked when a property of an entity object tracked by the BindingObserver has changed. - - - Entity objects tracked by the BindingObserver implement INotifyPropertyChanged. Events of this type - flow throw the EntityChangedParams. If this callback is not implemented by user code, or the user code - implementation returns false, the BindingObserver executes a default implementation for the callback. - - - - - Callback invoked when an DataServiceCollection tracked by the BindingObserver has changed. - - - DataServiceCollection objects tracked by the BindingObserver implement INotifyCollectionChanged. - Events of this type flow throw the EntityCollectionChanged callback. If this callback is not - implemented by user code, or the user code implementation returns false, the BindingObserver executes - a default implementation for the callback. - - - - Information regarding each entity to be untracked - - - Entity to untrack - - - Parent object of - - - Parent object property referring to - - - Utilities for binding related operations - - - - Throw if the entity set name is null or empty - - entity set name. - entity instance for which the entity set name is generated. - - - - Given a collection type, gets it's entity type - - Input collection type - Generic type argument for the collection - - - Verifies the absence of observer for an DataServiceCollection - Type of DataServiceCollection - Non-typed collection object - Collection property of the source object which is being assigned to - Type of the source object - - - - Encapsulates the arguments for the DataServiceContext ChangesSaved event - - - - - DataServiceContext SaveChanges response - - - - - Construct a DataServiceSaveChangesEventArgs object. - - DataServiceContext SaveChanges response - - - Encapsulates the arguments of a delegate - - - Context associated with the BindingObserver. - - - The entity object that has changed. - - - The property of the entity that has changed. - - - The current value of the target property. - - - Entity set to which the entity object belongs - - - Entity set to which the target propertyValue entity belongs - - - - Construct an EntityChangedParams object. - - Context to which the entity and propertyValue belong. - The entity object that has changed. - The property of the target entity object that has changed. - The current value of the entity property. - Entity set to which the entity object belongs - Entity set to which the target propertyValue entity belongs - - - The context that is associated with the entity object that has changed. - The context that is tracking the changed object. - - - The entity object that has changed. - The changed object. - - - The name of the property on the entity object that references the target object. - The name of the changed property. - - - The object that is currently referenced by the changed property on the entity object. - The current value that references a target entity. - - - The entity set of the source object. - An entity set name. - - - The entity set to which the target entity object belongs - An entity set name. - - - Encapsulates the arguments of a delegate. - - - Context associated with the BindingObserver. - - - - The source object that references the target object through a collection navigation property. - - - - The property of the source object that references the collection that has changed. - - - The entity set of the source object. - - - The collection that has changed. - - - The target entity object involved in the change. - - - The entity set name of the target object. - - - - The action that indicates how the collection was changed. The value will be Add or Remove. - - - - - Construct an EntityCollectionChangedParams object. - - The DataServiceContext associated with the BindingObserver. - The source object that references the target object through a collection navigation property. - The property of the source object that references the collection that has changed. - The entity set of the source object. - The collection that has changed. - The target entity object involved in the change. - The entity set name of the target object. - The action that indicates how the collection was changed. The value will be Add or Remove. - - - The associated with the that has changed. - The context associated with the collection that has changed - - - The source object that references the target object in the collection by using a navigation property. - The source object. - - - The navigation property on the source object that references the collection that has changed. - The navigation property name. - - - The entity set of the source object. - An entity set name. - - - The entity object in the collection that has changed. - The changed entity object in the collection. - - - The entity set name of the object in the collection. - An entity set name. - - - The that has changed. - A reference to the collection that has changed. - - - A value that indicates how the collection was changed. - A value that indicates how the collection was changed. - - - Determines whether changes that are made to a are tracked. - - - The collection should not track changes. - - - The collection should automatically track changes to the entities - in the collection. - - - Represents a dynamic entity collection that provides notifications when items get added, removed, or when the list is refreshed. - An entity type. - - - The BindingObserver associated with the DataServiceCollection - - - Is this a root collection - - - The continuation for partial collections. - - - True if tracking setup was deferred to first Load() call. - - - Callback tracked until tracking is enabled. - - - Callback tracked until tracking is enabled. - - - Entity set name tracked until tracking is enabled. - - - - The async handle for the current LoadAsync Operation - - - - Initializes a new instance of the class. - Creates a default data service collection, with auto-change tracking enabled as soon as data is loaded into it. - - - Initializes a new instance of the class based on query execution. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - - - Initializes a new instance of the class based on query execution and with the specified tracking mode. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - - - Initializes a new instance of the class that uses the specified . - The used to track changes to objects in the collection. - - - Initializes a new instance of the class with the supplied change method delegates and that uses the specified . - The used to track items in the collection. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution and with the supplied change method delegates. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Initializes a new instance of the class based on query execution, with the supplied change method delegates, and that uses the supplied . - The used to track items in the collection. - A or LINQ query that returns an collection of objects that are used to initialize the collection. - A value that indicated whether or not changes made to items in the collection are automatically tracked. - The entity set of the objects in the collection. - A delegate that encapsulates a method that is called when an entity changes. - A delegate that encapsulates a method that is called when the collection of entities changes. - - - Creates new DataServiceCollection. - The materializer - associated with the new collection. - Enumeration of items to initialize the new DataServiceCollection with. - The tracking mode for the new collection. - The name of the entity set the elements in the collection belong to. - Delegate that gets called when an entity changes. - Delegate that gets called when an entity collection changes. - This is the internal constructor called from materializer and used inside our projection queries. - - - Loads a collection of entity objects into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Collection of entity objects to be added to the . - - When tracking is enabled, the behavior of Load would be to attach all those entities that are not already tracked by the context - associated with the collection. The operation will go deep into the input entities so that all related - entities are attached to the context if not already present. All entities in - will be tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - For large amount of items, consider DataServiceContext.LoadProperty instead. - - - - Asynchronously loads the collection by executing a .Supported only by the WCF Data Services 5.0 client for Silverlight. - The that, when executed, returns the entities to load into the collection. - When query is null or not a . - When a previous call to is not yet complete. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the collection asynchronously by loading the results from the request Uri. - The request uri to download results from. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Asynchronously loads items into the collection, when it represents the navigation property of an entity.Supported only by the WCF Data Services 5.0 client for Silverlight. - When the collection does not belong to a parent entity.-or-When the parent entity is not tracked by the .-or-When a previous call to is not yet complete. - This method loads the content of a property represented by this DataServiceCollection. - If this instance is not associated with any property and entity the method will fail. - This method uses the event-based async pattern. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. - This class only support one asynchronous operation in flight. - - - Loads the next page of data into the collection.Supported only by the WCF Data Services 5.0 client for Silverlight. - A value that is true when the has a continuation token; otherwise false. - This method is the same as except that it runs the query as defined - by the continuation token of this collection. - The method returns immediately without waiting for the query to complete. Then it calls the handler of the - event exactly once on the UI thread. The event will be raised regradless - if the query succeeded or not. Even if the method returns false, the event will be raised (immeditaly) - This class only support one asynchronous operation in flight. - If this collection doesn't have a continuation token (this.Continuation == null) then this method - returns false and does not issue any request. - If there is a continuation token the method will return true and will start a request to load - the next partial set based on that continuation token. - - - Cancels any running LoadAsync operations and calls the LoadCompleted event handler after cancellation. - - - Loads a single entity object into the collection.Not supported by the WCF Data Services 5.0 client for Silverlight. - Entity object to be added. - - When tracking is enabled, the behavior of Load would be to attach the entity if it is not already tracked by the context - associated with the collection. The operation will go deep into the input entity so that all related - entities are attached to the context if not already present. The will be - tracked after Load is done. - Load method checks for duplication. The collection will ignore any duplicated items been loaded. - - - - Indicates whether all the items from the collection are removed. - true if all the items from the collection are removed; otherwise, false. - - - Disables the tracking of all items in the collection. - - All the entitities in the root collection and all it's related objects will be untracked at the - end of this operation. - - - - Adds a specified item to the collection at the specified index. - Index at which to add the item. - The item to add. - - Override to prevent additions to the collection in "deferred tracking" mode, and to verify that the item implements INotifyPropertyChanged. - Overridding this method will cover items that are added to the collection via Add and Insert. - - - - - Verifies that input iterator parameter is not null and in case - of Silverlight, it is not of DataServiceQuery type. - - Input iterator parameter. - - - - Obtain the DataServiceContext from the incoming enumerable - - An IEnumerable that may be a DataServiceQuery or QueryOperationResponse object - DataServiceContext instance associated with the input - - - - Populate this collection with another collection of items - - The items to populate this collection with - - - - Prepare the collection for loading. For tracked collections, we enter the attaching state - - - - - Reset the collection after loading. For tracked collections, we exit the attaching state. - - - - Initialize and start tracking an DataServiceCollection - The context - Collection to initialize with - The entity set of the elements in the collection. - delegate that needs to be called when an entity changes. - delegate that needs to be called when an entity collection is changed. - - - Helper method to start a LoadAsync operation. - Function which calls the Begin method for the load. It should take - parameter which should be used as the callback for the Begin call. It should return - of the started asynchronous operation (or throw). - Function which calls the End method for the load. It should take - which represents the asynchronous operation in flight. It should return - with the result of the operation (or throw). - The method takes care of error handling as well as maintaining the . - Note that it does not check the to disallow multiple operations in flight. - The method makes sure that the will be called from the UI thread. It makes no assumptions - about the calling thread of this method. - The method does not process the results of the , it just raises the - event as appropriate. If there's some processing to be done for the results it should all be done by the - method before it returns. - - - - Calls the end method for the LoadAsync operation and fires the LoadCompleted event. - - End method to complete the asynchronous query execution. - IAsyncResult to be passed to . - - - A completion event for the , - and method. - This event is raised exactly once for each call to the , - or method. It is called both when the operation - succeeded and/or when it failed. - - - Gets a continuation object that is used to return the next set of paged results. - A object that contains the URI to return the next set of paged results. - - - Observer for the collection. - The setter would get called only for child collections in the graph. - - - - Whether this collection is actively tracking - - - - Used as the class for the event.Supported only by the WCF Data Services 5.0 client for Silverlight. - - - The which represents - the response for the Load operation. - This field is non-null only when the Load operation was successfull. - Otherwise it's null. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - This constructor doesn't allow creation of canceled event args. - - - Constructor - The response for the Load operation. null when the operation didn't succeed. - which represents the error if the Load operation failed. null if the operation - didn't fail. - True, if the LoadAsync operation was cancelled, False otherwise. - This constructor doesn't allow creation of canceled event args. - - - Gets the response to an asynchronous load operation.Supported only by the WCF Data Services 5.0 client for Silverlight. - A that represents the response to a load operation. - Accessing this property will throw exception if the Load operation failed - or it was canceled. - - - Indicates the entity set to which a client data service class belongs. - - This attribute is generated only when there is one entity set associated with the type. - When there are more than one entity set associated with the type, then the entity set - name can be passed in through the EntitySetNameResolver event. - - - - - The entity set name. - - - - Creates a new instance of the . - The entity set to which the class belongs. - - - Gets the entity set to which the class belongs. - The entity set as string value. - - - Marks a class as an entity type in WCF Data Services. - - - Creates a new instance of the class. - - - Denotes the key property or properties of an entity. - - - Name of the properties that form the key. - - - Initializes a new instance of the class. - The string that contains name of the key attribute. - - - Initializes a new instance of the class. - An array of string values that contain key attribute names. - - - Gets the names of key attributes. - String value that contains names of key attributes. - - - Represents the versions of the Open Data Protocol (OData) that the data service may support. - - - Version 1 - - - Version 2 - - - Version 3 - - - Indicates that a class that is an entity type has a default binary data stream. - - - Indicates that a class that is an entity type has a related named binary stream. - - - Creates a new instance of the class. - The name of a binary stream that belongs to the attributed entity. - - - The name of a binary stream that belongs to the attributed entity. - The name of the binary stream. - - - Exception that indicates an error occurred while querying the data service. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The string value that the contains error message. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. The string value that contains the error message. - 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. The inner exception object. - - - Initializes a new instance of the class. - The string value that contains the error message. - The inner exception object. - The object. - - - Gets the that indicates the exception results. - A object that indicates the exception results. - - - Represents additional metadata that is included in a request message to WCF Data Services. - - - Creates a new instance of the class. - - - Gets or sets the Accept header of the request message. - The value of the Accept header. - - Sets the mime type (ex. image/png) to be used when retrieving the stream. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Accept header. - - - - Gets or sets the Content-Type header of the request message. - The value of the Content-Type header. - - Sets the Content-Type header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Content-Type header. - - - - Gets or sets the value of the Slug header of the request message. - A value that is the Slug header of the request. - - Sets the Slug header to be used when sending the stream to the server. - Note that no validation is done on the contents of this property. - It is the responsibility of the user to format it correctly to be used - as the value of an HTTP Slug header. - - - - Gets the headers in the request message. - The headers in the request message. - - Dictionary containing all the request headers to be used when retrieving the stream. - The user should take care so as to not alter an HTTP header which will change - the meaning of the request. - No validation is performed on the header names or values. - This class will not attempt to fix up any of the headers specified and - will try to use them "as is". - - - - Request header collection. - - - Represents the error thrown if the data service returns a response code less than 200 or greater than 299, or the top-level element in the response is <error>. This class cannot be inherited. - - - Actual response object. - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.The error message text. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - Error message text. - Exception object that contains the inner exception. - object. - - - Gets the response as a object. - A object. - - - Represents a response from WCF Data Services that contains binary data as a stream. - - - IODataResponseMessage containing all the response information. - - - Lazy initialized cached response headers. - - - - Response stream. Caching the response stream so that IODataResponseStream.GetStream is only called once. - This helps us to assert that no one internally calls the GetStream method more than once. - - - - - Constructor for the response. This method is internal since we don't want users to create instances - of this class. - - The web response to wrap. - - - Releases all resources used by the current instance of the class. - - - Checks if the object has already been disposed. If so it throws the ObjectDisposedException. - If the object has already been disposed. - - - Gets the content type of the response stream. - The content type of the response stream. - If the Content-Type header was not present in the response this property will return null. - - - Gets the Content-Disposition header field for the response stream. - The contents of the Content-Disposition header field. - /// If the Content-Disposition header was not present in the response this property will return null. - - - Gets the collection of headers from the response. - The headers collection from the response message as a object. - - - Gets the binary property data from the data service as a binary stream. - The stream that contains the binary property data. - When the is already disposed. - - Returns the stream obtained from the data service. When reading from this stream - the operations may throw if a network error occurs. This stream is read-only. - - Caller must call Dispose/Close on either the returned stream or on the response - object itself. Otherwise the network connection will be left open and the caller - might run out of available connections. - - - - - enum to describe the descriptor kind - - - - Entity Descriptor - - - Link Descriptor - - - Named stream descriptor - - - Service Operation descriptor - - - - represents the association between two entities - - - - equivalence comparer - - - source entity - - - name of property on source entity that references the target entity - - - target entity - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The client model. - - - - Constructor - - Source entity - Navigation property on the source entity - Target entity - The link state - - - - Clear all the changes associated with this descriptor - This method is called when the client is done with sending all the pending requests. - - - - - If the current instance of link descriptor is equivalent to the parameters supplied - - The source entity - The source property name - The target entity - true if equivalent - - - The source entity in a link returned by a . - . - - - A source entity in a link returned by a . - . - - - The identifier property of the source entity in a link returned by a . - The string identifier of an identity property in a source entity. - - - this is a link - - - is this a collection property or not - - - equivalence comparer - - - are two LinkDescriptors equivalent, ignore state - link descriptor x - link descriptor y - true if equivalent - - - compute hashcode for LinkDescriptor - link descriptor - hashcode - - - Response from SaveChanges. - - - Descriptor containing the response object. - - - Initializes a new instance of the class. - HTTP headers - response object containing information about resources that got changed. - - - Gets the or modified by a change operation. - An or modified by a change operation. - - - - static utility functions for conversions - - - - - convert from string to the appropriate type - - incoming string value - type to convert to - converted value - - - - Tries to converts a binary value to a byte array. - - The binary value to convert. - The equivalent value converted to a byte array. - Whether the value was binary. - - - - change primtive typeName into non-nullable type - - like Edm.String or Edm.Binary - the mapped output type - true if named - - - - Convert from primitive value to an xml payload string. - NOTE: We need to pay special attention to DateTimes - if the converted value is going to be used as a content of - atom:updated or atom:published element we have to ensure it contains information about time zone. At the same time we - must not touch datetime values that in content or are mapped to custom elements. - - incoming object value - converted value - - - type edm type string for content - type to analyze - edm type string for payload, null for unknown - - - - Annotates a type on the client. - - - - Back reference to the EdmType this annotation is part of. - - - what is the clr full name using ToString for generic name expansion - - - what clr type does this represent - - - Storage for the client model. - - - Set to true if the type is marked as ATOM-style media link entry - - - Property that holds data for ATOM-style media link entries - - - Whether any property (including properties on descendant types) of this type is a collection of primitive or complex types. - - - object to manage and encapsulate the lazy loading of the EPM data. - - - Cached client properties. - - - Cached Edm properties - - - - discover and prepare properties for usage - - Back reference to the EdmType this annotation is part of. - type being processed - the qualified name of the type being processed - The client model. - - - Ensures that EPM is loaded - - - - Returns the list of EdmProperties for this type. - - Returns the list of EdmProperties for this type. - - - Returns the list of properties from this type. - Returns the list of properties from this type. - - - - Gets the set of properties on this type that should be serialized into insert/update payloads. - - The properties to serialize. - - - - get property wrapper for a property name, might be method around open types for otherwise unknown properties - - property name - are missing properties ignored - property wrapper - for unknown properties on closed types - - - - Checks if any of the properties (including properties of descendant types) is a collection of primitive or complex types. - - true if any if any of the properties (including properties of descendant types) is a collection of primitive or complex types. Otherwise false. - - - - Determines whether a given property should be serialized into an insert or update payload. - - The declaring type of the property. - The property. - Whether or not the property should be serialized. - - - - build the clientPropertyCache from EdmProperties - - - - - Check if this type represents an ATOM-style media link entry and - if so mark the ClientType as such - - - - - Set the HasStream boolean annotation in the EdmType to true. - - - - - Computes the metadata version of the property. - - List of properties for which metadata version needs to be computed. - List of complex type already visited. - the metadata version of the property collection. - - - - Discovers and returns edm properties for this type. - - Edm properties on this type. - - - if true then EntityType else if !KnownType then ComplexType else PrimitiveType - - - Property that holds data for ATOM-style media link entries - - - Returns true if the type is marked as ATOM-style media link entry - - - - Target tree for s on this type - - - - Are there any entity property mappings on this type - - - The minimum DSVP required for EPM mappings - - - Gets the EdmTypeReference for the client Type annotation. - - - - Class to encpsulate the lazy loading logic for EPM data - - - - Souce Epm mappings - - - Target Epm mappings - - - object to lock on when building the epm info - - - the current client annotation that the mappings are for - - - - Initializes a new instance of the class. - - The client type annotation. - - - - Ensures that the EPM data is loaded. - - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on the ElementType - builds the corresponding EntityPropertyMappingInfo - - The ClientTypeAnnotation to refer to - The source tree to populate. - This method should be called after all properties are set on the edm type. - - - - By going over EntityPropertyMappingInfoAttribute(s) defined on - builds the corresponding EntityPropertyMappingInfo - - Type being looked at - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Builds the EntityPropertyMappingInfo corresponding to an EntityPropertyMappingAttribute, also builds the delegate to - be invoked in order to retrieve the property provided in the - - Source EntityPropertyMappingAttribute - ResourceType on which to look for the property - The ClientTypeAnnotation to refer to - The source tree to populate. - - - - Initializes the epm fields and builds the information into the fields - - - - - Target tree for s on this type - - - - - Source tree for s on this type - - - - - Determines if the Epm fields need initializing - - - - - The exception that is thrown when the server returns an error. - - - - - Contains the state for this exception. - - - - Initializes a new instance of the class with a system-supplied message that describes the error. - - - Initializes a new instance of the class with a specified message that describes the error. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. - The 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. - - - Initializes a new instance of the class. - The string value that contains the error message. - The integer value that contains status code. - - - Initializes a new instance of the class. - The string value that contains the error message. - The System.Exception object that contains the inner exception. - The integer value that contains status code. - - - Gets the HTTP error status code returned after . - An integer value that represents the exception. - - - - Contains the state of the exception, used for serialization in security transparent code. - - - - - Gets or sets the status code as returned by the server. - - - - non-generic placeholder for generic implementation - - - non-generic placeholder for generic implementation - - - internal constructor so that only our assembly can provide an implementation - - - - get an enumerable materializes the objects the response - - context - query components - Projection plan (if compiled in an earlier query). - contentType - the message - expected payload kind. - atom materializer - - - - Creates a instance of strongly typed DataServiceRequest with the given element type. - - element type for the DataServiceRequest. - constructor parameter. - returns the strongly typed DataServiceRequest instance. - - - - Ends an asynchronous request to an Internet resource. - - Element type of the result. - Source object of async request. - The data service context. - async method name. - The asyncResult being ended. - The response - result of the request. - - - The QueryComponents associated with this request - The client model. - instance of query components - - - - Begins an asynchronous request to an Internet resource. - - source of execute (DataServiceQuery or DataServiceContext - context - The AsyncCallback delegate. - The state object for this request. - async method name. - An IAsyncResult that references the asynchronous request for a response. - - - - Creates the result object for the specified query parameters. - - The source object for the request. - The data service context. - The AsyncCallback delegate. - The state object for the callback. - async method name at the source. - Result representing the create request. The request has not been initiated yet. - - - Gets the type of object submitted as a batch to the data service. - Type object. - - - Gets the URI of the request object submitted to a data service. - URI of the request object. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - Gets or sets the payload kind for this request. - - - internal constructor so that only our assembly can provide an implementation - - - Gets the object that can be used to iterate through the collection returned by the query. - An enumerator over the query results. - Expect derived class to override this with an explict interface implementation - - - Asynchronously sends a request to execute the data service query. - An object that is used to track the status of the asynchronous operation. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of executing a data service query. - An that contains the results of the query operation. - The result from the operation that contains the query results. - When the data service returns an HTTP 404: Resource Not Found error. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - Represents an expression that contains the query to the data service. - An object that represents the query. - - - Represents the query provider instance. - An representing the data source provider. - - - - Holds a Uri and type for the request. - - The type to construct for the request results - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Request uri for the current request. - - - The QueryComponents for the request - - - Initializes a new instance of the class. - The URI object that contains the request string. - - - Create a request for a specific Uri - The URI for the request. - The query components for the request - Projection plan to reuse (possibly null). - - - Represents the URI of the query to the data service. - The requested URI as a value. - - - The QueryComponents associated with this request - The client model. - an instance of QueryComponents. - - - Gets the type of the object used to create the instance. - A value that indicates the type of data returned. - - - Gets the URI object that contains the request string. - A object that contains the request string. - - - The ProjectionPlan for the request, if precompiled in a previous page; null otherwise. - - - - Data service response to ExecuteBatch & SaveChanges - - - - Http headers of the response. - - - Http status code of the response. - - - responses - - - true if this is a batch response, otherwise false. - - - - constructor - - HTTP headers - HTTP status code - list of responses - true if this represents a batch response, otherwise false. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - Gets an enumerator that enables retrieval of responses to operations being tracked by objects within the . - An enumerator over the response received from the service. - - - The headers from an HTTP response associated with a batch request. - An object containing the name-value pairs of an HTTP response. - - - The status code from an HTTP response associated with a batch request. - An integer based on status codes defined in Hypertext Transfer Protocol. - - - Gets a Boolean value that indicates whether the response contains multiple results. - A Boolean value that indicates whether the response contains multiple results. - - - - Response to a batched query or Execute call. - - The type to construct for the request results - - - - Response to a batched query. - - - - Original query - - - Enumerable of objects in query - - - - constructor - - HTTP headers - original query - retrieved objects - - - Executes the and returns items. - The enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - Gets a object containing the URI that is used to retrieve the next results page. - An object containing the URI that is used to return the next results page. - - - Gets a object containing the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - - - Gets a object that contains the URI that is used to retrieve the next page of related entities in the specified collection. - A continuation object that points to the next page for the collection. - The collection of related objects being loaded. - The type of the items in the collection. - - - - Creates a generic instance of the QueryOperationResponse and return it - - generic type for the QueryOperationResponse. - constructor parameter1 - constructor parameter2 - constructor parameter3 - returns a new strongly typed instance of QueryOperationResponse. - - - Gets the enumeration helper for the . - The enumerator. - The generic type. - An enumerator to enumerator through the results. - - - Gets the that generates the items. - A object. - - - Gets the server result set count value from a query, if the query has requested the value. - The return value can be either a zero or positive value equal to the number of entities in the set on the server. - Thrown when the count tag is not found in the response stream. - - - get a non-null enumerable of the result - - - - constructor - - HTTP headers - original query - retrieved objects - - - Gets a object that contains the URI that is used to retrieve the next results page. - An object that contains the URI that is used to return the next results page. - - - Executes the and gets items. - An enumerator to a collection of items. - In the case of Collection(primitive) or Collection(complex), the entire collection is - materialized when this is called. - - - The server result set count value from a query, if the query has requested the value. - The return value can be either zero or a positive value equal to the number of entities in the set on the server. - - - - Event args for the event fired during reading or writing of - an entity serialization/deserialization - - - - The entity being (de)serialized - - - The ATOM entry data to/from the network - - - The xml base of the feed or entry containing the current ATOM entry - - - - Constructor - - The entity being (de)serialized - The ATOM entry data to/from the network - The xml base of the feed or entry containing the current ATOM entry - - - Gets the object representation of data returned from the property. - representation of the property. - - - Gets an entry or feed data represented as an . - - - - - - Gets the base URI base of the entry or feed. - Returns . - - - - Strongly-typed and parameterized exception factory. - - - Strongly-typed and parameterized exception factory. - - - - - create and trace new ArgumentException - - exception message - parameter name in error - ArgumentException - - - - create and trace new InvalidOperationException - - exception message - InvalidOperationException - - - - create and trace new InvalidOperationException - - exception message - innerException - InvalidOperationException - - - - Create and trace a NotSupportedException with a message - - Message for the exception - NotSupportedException - - - - create and throw a ThrowObjectDisposed with a type name - - type being thrown on - - - - create and trace a - - errorCode - message - InvalidOperationException - - - method not supported - method - exception to throw - - - throw an exception because unexpected batch content was encounted - internal error - - - throw an exception because expected batch content was not encountered - internal error - - - unexpected xml when reading web responses - internal error - exception to throw - - - throw exception for unexpected xml when reading web responses - internal error - - - - Trace the exception - - type of the exception - exception object to trace - the exception parameter - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - unique numbers for repeated error messages for unlikely, unactionable exceptions - - - - Use this class to materialize objects from an application/atom+xml stream. - - - - Backreference to the context to allow type resolution. - - - base type of the object to create from the stream. - - - when materializing a known type (like string) - <property> text-value </property> - - - Materializer from which instances are read. - - The log for the materializer stores all changes for the - associated data context. - - - - untyped current object - - - has GetEnumerator been called? - - - Whether anything has been read. - - - - output writer, set using reflection - - - - - constructor - - originating context - Query components (projection, expected type) - Projection plan (if compiled in an earlier query). - responseMessage - The kind of the payload to materialize. - - - - constructor - - originating context - entries that needs to be materialized. - result type. - The format of the response being materialized from. - - - - Private internal constructor used for creating empty wrapper. - - - - - dispose - - - - - as IEnumerable - - this - - - - Gets the type that of the instances that will be returned by materializer. - - Whether the expected is a primitive type. - Actual type on the client. - The client model used. - The actual type that implements ICollection<> - Type of the instances that will be returned by materializer. - - For collection navigation properties (i.e. ICollection<T> where T is an entity the method returns T. Materializer will - return single entity each time MoveNext() is called. However for collection properties we need the whole property instead of just a - single collection item. - - - - - Creates the next object from the stream. - - false if stream is finished - - - - Creates the next object from the stream. - - false if stream is finished - - - - Not supported. - - Always thrown - - - - Creates materializer for results - - Context of expression to analyze. - the results to wrap - a new materializer - - - Creates a materializer for partial result sets. - Context of expression to analyze. - The current page of results - The continuation for the results. - A new materializer. - - - set the inserted object expected in the response - object being inserted that the response is looking for - - - - The count tag's value, if requested - - The count value returned from the server - - - - Returns the next link URI for the collection key - - The collection for which the Uri is returned, or null, if the top level link is to be returned - An Uri pointing to the next page for the collection - - - verify the GetEnumerator can only be called once - - - Loosely typed current object property. - - For collection properties this property will be of AtomContentProperties to allow further materialization processing. - Otherwise the value should be of the right type, as the materializer takes the expected type into account. - - - - - A materializer for empty results - - - - - Returns true if the underlying object used for counting is available - - - - - The data service context object this materializer belongs to - - - - - Private type to wrap partial (paged) results and make it look like standard materialized results. - - - - The results to wrap - - - A continuation to the next page of results. - - - The data service context this result belongs to - - - - Creates a wrapper for raw results - - Context of expression to analyze. - the results to wrap - The continuation for this query. - - - - Get the next link to the result set - - When equals to null, returns the next link associated with this collection. Otherwise throws InvalidOperationException. - The continuation for this query. - - - - Gets Enumerator for wrapped results. - - IEnumerator for results - - - - The data service context this result belongs to - - - - - Materializer state for a given ODataEntry - - - - The entry. - - - entity descriptor object which keeps track of the entity state and other entity specific information. - - - True if the context format is Atom or if the MergeOption is anything other than NoTracking. - - - Entry flags. - - - List of navigation links for this entry. - - - - Creates a new instance of MaterializerEntry. - - - - - Creates a new instance of MaterializerEntry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - - - - Creates a new instance of MaterializerEntry using the given entity descriptor for LoadProperty. - - Entity descriptor. - OData Format. - Whether this entity is being tracked. - Use this constructor only for LoadProperty scenario. - - - - Creates an empty entry. - - An empty entry. - - - - Creates the materializer entry. - - The entry. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - The client model. - A new materializer entry. - - - - Creates the materializer entry for LoadProperty scenario. - - The entity descriptor. - The format the entry was read in. - True if the contents of the entry will be tracked in the context, otherwise False. - A new materializer entry. - - - - Gets an entry for a given ODataEntry. - - The ODataEntry. - The materializer entry - - - - Adds a navigation link. - - The link. - - - - Updates the entity descriptor. - - - - Gets the value for a masked item. - Mask value. - true if the flag is set; false otherwise. - - - Sets the value for a masked item. - Mask value. - Value to set - - - - Gets the entry. - - - - - True if the context format is Atom or if the context's MergeOption is anything other than NoTracking. - This is used to avoid building URI metadata information that is not needed outside of the context, such - as odata.id and odata.editlink. Since this information is always available in the payload with Atom, for - backward compatibility we continue using it as we always have, even for NoTracking cases. - - - - - Entry ID. - - - - - Properties of the entry. - - - Non-property content goes to annotations. - - - - The entity descriptor. - - - Resolved object. - - - Actual type of the ResolvedObject. - - - Whether values should be updated from payload. - - - Whether the entity has been resolved / created. - - - Whether the materializer has created the ResolvedObject instance. - - - Is this entry created for LoadProperty. - - - The navigation links. - - - Gets the format - - - Whether the entity descriptor has been updated. - - - - Masks used get/set the status of the entry - - - - Bitmask for ShouldUpdateFromPayload flag. - - - Bitmask for CreatedByMaterializer flag. - - - Bitmask for EntityHasBeenResolved flag. - - - Bitmask for MediaLinkEntry flag (value). - - - Bitmask for LoadProperty scenario. - - - - Materializer state for a given ODataFeed - - - - The feed. - - - The entries. - - - - Prevents a default instance of the struct from being created. - - The feed. - The entries. - - - - Creates the materializer feed. - - The feed. - The entries. - The materializer feed. - - - - Gets the materializer feed. - - The feed. - The materializer feed. - - - - Gets the feed. - - - - - Gets the entries. - - - - - URI representing the next page link. - - - - - Materializer state for a given ODataNavigationLink - - - - The navigation link. - - - An object field for the feed or enty. - - - - Prevents a default instance of the struct from being created. - - The link. - Value of the link. - - - - Creates the materializer link with an entry. - - The link. - The entry. - The materializer link. - - - - Creates the materializer link with a feed. - - The link. - The feed. - The materializer link. - - - - Gets the materializer link. - - The link. - The materializer link. - - - - Gets the link. - - - - - Gets the entry. - - - - - Gets the feed. - - - - - This class marks a type that represents an Astoria client entity - such that the Astoria client will treat it as a media entry - according to ATOM's "media link entry" concept. - - - - Name of the member that contains the data for the media entry - - - Creates a new instance of . - A string value that identifies the property that holds media data. - - Creates a new MediaEntryAttribute attribute and sets the name - of the member that contains the actual data of the media entry - (e.g. a byte[] containing a picture, a string containing HTML, etc.) - - - - The name of the property on the class that holds the media, usually binary data. - A string value that identifies the property that holds media data. - - - - Used to specify a value synchronization strategy. - - - Equivalent to System.Data.dll!System.Data.LoadOption - Equivalent to System.Data.Linq.dll!System.Data.Linq.RefreshMode - Equivalent to System.Data.Entity.dll!System.Data.Objects.MergeOption - - - - - No current values are modified. - - - Equivalent to System.Data.Objects.MergeOption.AppendOnly - Equivalent to System.Data.Linq.RefreshMode.KeepCurrentValues - - - - - All current values are overwritten with current store values, - regardless of whether they have been changed. - - - Equivalent to System.Data.LoadOption.OverwriteChanges - Equivalent to System.Data.Objects.MergeOption.OverwriteChanges - Equivalent to System.Data.Linq.RefreshMode.OverwriteCurrentValues - - - - - Current values that have been changed are not modified, but - any unchanged values are updated with the current store - values. No changes are lost in this merge. - - - Equivalent to System.Data.LoadOption.PreserveChanges - Equivalent to System.Data.Objects.MergeOption.PreserveChanges - Equivalent to System.Data.Linq.RefreshMode.KeepChanges - - - - - Equivalent to System.Data.Objects.MergeOption.NoTracking - - - - - This attribute indicates another property in the same type that - contains the MIME type that should be used for the data contained - in the property this attribute is applied to. - - - - The name of the property that contains the data - - - The name of the property that contains the mime type - - - Creates a new instance of the MimeTypePropertyAttribute. - A string that contains the name of the new property attribute. - A string that contains the Mime type of the new property attribute. - - - Gets the name of the MimeTypePropertyAttribute. - A string that contains the name of the property attribute. - - - Gets the Mime type of the MimeTypePropertyAttribute - A string that contains the Mime type of the property attribute. - - - - represents the cached entity - - - - uri to identitfy the entity - <atom:id>identity</id> - - - entity - - - tracks information about the default stream, if any. - - - uri of the resource set to add the entity to during save - - - uri to query the entity - <atom:link rel="self" href="queryLink" /> - - - uri to edit the entity. In case of deep add, this can also refer to the navigation property name. - <atom:link rel="edit" href="editLink" /> - - - - Contains the LinkInfo (navigation and relationship links) for navigation properties - - - - - entity descriptor instance which contains metadata from responses which haven't been fully processed/materialized yet. - This is used only in non-batch SaveChanges scenario. - - - - List of named streams for this entity - - - List of service operation descriptors for this entity. - - - - Create a new instance of Entity descriptor. - - The client model - - - - returns the most recent identity of the entity - - the identity of the entity, as returned in the latest response. - - - return the most recent edit link for the entity - the uri to edit the entity associated with the entity descriptor. - - - return the most recent edit link for the MR associated with the entity - the uri to edit the MR associated with the entity descriptor. - - - return the most recent etag for the entity - etag for the entity associated with the entity descriptor. - - - return the most return etag for the MR associated with the entity - etag for the MR associated with the entity descriptor. - - - return the most recent type name of the entity as returned in the response payload. - the type name of the entity as returned in the response payload. - - - uri to edit the entity - retrieves the baseUri to use for a given entity set. - whether to return the query link or edit link - absolute uri which can be used to edit the entity - - - is the entity the same as the source or target entity - related end - true if same as source or target entity - - - - Return the related end for this resource. One should call this method, only if the resource is inserted via deep resource. - - returns the related end via which the resource was inserted. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - - Closes the save stream if there's any and sets it to null - - - - - Add the given navigation link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate from this entity to the other end. - - - - Add the given association link to the entity descriptor - - name of the navigation property via which this entity is related to the other end. - uri that can be used to navigate associations for this property. - - - - Merges the given linkInfo to the entity descriptor, - overwrites existing links with new ones (coming from the payload) - - linkInfo - - - - Try and get the navigation link. If the navigation link is not specified, then its used the self link of the entity and - appends the property name. - - retrieves the appropriate baseUri for a given entitySet. - ClientProperty instance representing the navigation property. - returns the uri for the given link. If the link is not present, its uses the self link of the current entity and appends the navigation property name. - - - - Returns the LinkInfo for the given navigation property. - - name of the navigation property - LinkInfo for the navigation propery - true if LinkInfo is found for the navigation property, false if not found - - - - Check if there is a stream with this name. If yes, returns the information about that stream, otherwise add a streams with the given name. - - name of the stream. - an existing or new namedstreaminfo instance with the given name. - - - - Adds an operation descriptor to the list of operation descriptors. - - the operation descriptor to add. - - - - Clears all operator descriptors - - - - - Appends OperationDescriptors to the existing list of OperationDescriptors - - List containing OperationDescriptors to add for this entityDescriptor - - - - Gets the stream info with the given name. - - name of the stream. - information about the stream with the given name. - true if there is a stream with the given name, otherwise returns false. - - - - Merges the given named stream info object. - If the stream descriptor is already present, then this method merges the info from the given stream descriptor - into the existing one, otherwise justs add this given stream descriptor to the list of stream descriptors for - this entity. - - namedStreamInfo instance containing information about the stream. - - - - Sets up the descriptor's parent descriptor and parent property. Only valid if the descriptor is in the Added state. - - The parent descriptor. - The property for insert. - - - - Sets the entity set URI to use for inserting the entity tracked by this descriptor. Only valid if the descriptor is in the added state. - - The entity set insert URI. - - - - Returns LinkInfo for the given property, if it does not exists than a new one is created. - - name of the navigation property - LinkInfo for propertyName - - - - In V1, we used to not support self links. Hence we used to use edit links as self links. - IN V2, we are adding support for self links. But if there are not specified, we need to - fall back on the edit link. - - whether to get query link or the edit link. - the query or the edit link, as specified in the parameter. - - - - Creates a default stream descriptor, if there is none yet, and returns it. - If there is one already present, then returns the current instance. - - stream descriptor representing the default stream. - - - Gets the URI that is the identity value of the entity. - The property corresponds to the identity element of the entry that represents the entity in the Atom response. - - - Gets the URI that is used to return the entity resource. - A URI that returns the entity. - - - Gets the URI that modifies the entity. - The edit link URI for the entity resource. - - - Gets the URI that accesses the binary property data of the entity. - A URI that accesses the binary property as a stream. - - If the entity for the box is an MLE this property stores the content source URI of the MLE. - That is, it stores the read URI for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the URI that modifies the binary property data of the entity. - The property contains the edit-media link URI for the Media Resource that is associated with the entity, which is a Media Link Entry. - - If the entity for the box is an MLE this property stores the edit-media link URI. - That is, it stores the URI to send PUTs for the associated MR. - Setting it to non-null marks the entity as MLE. - - - - Gets the entity that contains the update data. - An object that contains update data. - - - Gets an eTag value that indicates the state of data targeted for update since the last call to . - The state of data. - - - Gets the eTag for the media resource associated with an entity that is a media link entry. - A string value that indicates the state of data. - - - Gets the parent entity that is related to the entity. - An object that is the parent entity in the relationship link. - This is only set for entities added through AddRelateObject call - - - Gets the name of the property of the entity that is a navigation property and links to the parent entity. - The name of the parent property. - - - Gets the name of the type in the data source to which the entity is mapped. - A string that is the name of the data type. - - - Returns a collection of links that are the relationships in which the entity participates. - A of objects that represents links in which the entity participates. - - - Returns a collection of named binary data streams that belong to the entity. - A of objects that are the named binary data streams that belong to the entity. - - - Gets a collection of operation descriptors associated with the entity. - A collection of operation descriptors associated with the entity. - - - - Gets the client model. - - - - Parent entity - - - this is a entity - - - - Returns true if the resource was inserted via its parent. E.g. POST customer(0)/Orders - - - - - The stream which contains the new content for the MR associated with this MLE. - This stream is used during SaveChanges to POST/PUT the MR. - Setting it to non-null marks the entity as MLE. - - - - - Describes whether the SaveStream is for Insert or Update. - The value NoStream is for both non-MLEs and MLEs with unmodified stream. - - - - - Returns true if we know that the entity is MLE. Note that this does not include the information - from the entity type. So if the entity was attributed with HasStream for example - this boolean might not be aware of it. - - - - - Returns true if the entry has been modified (and thus should participate in SaveChanges). - - - - - entity descriptor instance containing metadata from responses, which hasn't been fully processed yet. - - - - - Returns the stream descriptor for the default stream associated with this entity. - If this entity is not an MLE, then returns null; - - - - - Gets the edm structured value associated with this entity. - - - - - The entity set name provided in either AttachTo or AddObject. - - - - - Describes the insert/update/delete state of an entity or link. - - - Deleting an inserted resource will detach it. - After SaveChanges, deleted resources will become detached and Added & Modified resources will become unchanged. - - - - - The resource is not tracked by the context. - - - - - The resource is tracked by a context with no changes. - - - - - The resource is tracked by a context for insert. - - - - - The resource is tracked by a context for deletion. - - - - - The resource is tracked by a context for update. - - - - - options when saving changes - - - - default option, using multiple requests to the server stopping on the first failure - - - save the changes in a single changeset in a batch request. - - - save all the changes using multiple requests - - - Use replace semantics when doing update. - - - Use PATCH verb when doing update (retains the merge semantics). - - - save each change independently in a batch request. - - - - Handle the request (both sync and async) for non batch scenarios - - - - keeps track of all the parsed responses. - - - - We cache the current response and then parse it. we need to do this for the async case only. - - - - http web response - - - remove it later - - - - constructor for SaveResult - - context - method - options - user callback - user state object - - - - This starts the next change - - - - Read and store response data for the current change, and try to start the next one - the completed per request object - - - IODataResponseMessage contain response for the operation. - IODataResponseMessage instance. - - - - Handle the response. - - an instance of the DataServiceResponse, containing individual responses for all the requests made during this SaveChanges call. - - - - Get the materializer to process the response. - - entity descriptor whose response is getting materialized. - information about the response to be materialized. - an instance of MaterializeAtom, that can be used to materialize the response. - - - - Returns the request message to write the headers and payload into. - - Http method for the request. - Base Uri for the request. - Request headers. - HttpStack to use. - Descriptor for the request, if there is one. - an instance of IODataRequestMessage. - - - - Create memory stream for descriptor (entity or link or MR or named stream). - - Index into changed entries. - RequestMessage to be used to generate the payload. - Stream of data for descriptor. - - - - Create request message from the next change. - - An instance of ODataRequestMessage for the next change. - - - - Check to see if the resource to be inserted is a media descriptor, and if so - setup a POST request for the media content first and turn the rest of - the operation into a PUT to update the rest of the properties. - - The resource to check/process - An instance of ODataRequestMessage to do POST to the media resource - - - - Checks if the entity descriptor represents an MLE with modified MR and if so creates a PUT request - to update the MR. - - The entity descriptor for the entity to be checked. - An instance of ODataRequestMessage for the newly created MR PUT request or null if the entity is not MLE or its MR hasn't changed. - - - - Creates HTTP request for the media resource (MR) - - The URI to request - The HTTP method to use (POST or PUT) - version to be sent in the DSV request header. - Send the request using chunked encoding to avoid buffering. - If the response preference setting should be applied to the request - (basically means if the response is expected to contain an entity or not). - Collection of request headers - Descriptor for this media resource request. - An instance of ODataRequestMessage. - - - - Sets the content and the headers of the media resource request - - The header collection to setup. - DataServiceSaveStream instance containing all information about the stream. - ETag header value to be set. If passed null, etag header is not set. - This only works with the V2 MR support (SetSaveStream), this will not setup - the request for V1 property based MRs. - List of headers to reset - - - operation with exception - exception object - response object - - - - Decide whether we should continue when there is an error thrown - - - - - Handle the response payload. - - httpwebresponse instance. - stream containing the response payload. - - - - Creates a request for the given named stream. - - NamedStreamInfo instance containing information about the stream. - An instance of ODataRequestMessage for the given named stream. - - - returns false since this class handles only non-batch scenarios - - - - returns true if the payload needs to be processed. - - - - - In async case, this is a memory stream used to cache responses, as we are reading async from the underlying http web response stream. - In non-async case, this is the actual response stream, as returned by the http request. - - - - - cached response - - - - response headers - - - response status code - - - Parsed response DataServiceVersion header. - - - entry containing the parsed response. - - - Exception if encountered. - - - descriptor for which the response is getting parsed. - - - - Constructor - - descriptor whose response is getting processed. - headers - status code - Parsed response DataServiceVersion header. - atom entry, if there is a non-error response payload. - exception, if the request threw an exception. - - - - Event args for the event fired before executing a web request. Gives a - chance to customize or replace the request object to be used. - - - - The web request reported through this event - - - The request header collection. - - - - Constructor - - The request reported through this event - The request header collection. - - - Gets the collection protocol headers that are associated with the request to the data service. - A collection of protocol headers that are associated with the request. - - - - Serializes the request data into the given format using the given message writer. - - - - where to pull the changes from - - - The property converter to use for creating ODataProperty instances. - - - - Creates a new instance of the Serializer. - - the request info. - - - - Creates an instance of ODataMessageWriter. - - Instance of IODataRequestMessage. - RequestInfo containing information about the client settings. - true if the writer is intended to for a parameter payload, false otherwise. - An instance of ODataMessageWriter. - - - - Creates an ODataEntry for the given EntityDescriptor and fills in its ODataLib metadata. - - The entity descriptor. - Name of the server type. - The client-side entity type. - The current client format. - An odata entry with its metadata filled in. - - - - Writes the body operation parameters associated with a ServiceAction. - - The list of operation parameters to write. - The OData request message used to write the operation parameters. - - - - Write the entry element. - - The entity. - Collection of links related to the entity. - The OData request message. - - - - Writes a navigation link. - - The entity - The links related to the entity - The ODataWriter used to write the navigation link. - - - - Writes an entity reference link. - - The link descriptor. - The request message used for writing the payload. - - - - Enumerates through the list of URI operation parameters and creates a new Uri with the uri operation parameters written as query string of the new Uri. - - The Uri used to construct the new Uri. - The non-empty list of uri parameters which will be converted to query string. - Uri containing the uri parameters as query string. - - - - Returns the new XmlWriter to cache the payload for firing WritingEntity event. - - ODataEntry instance that is currently getting serialized. - XmlWriter that is used to write the payload. - XmlWriter instance that needs to be used to write the payload for the given odataentry. - - - - Fires the WritingEntity event, and then copies the payload into the parent writer. - - ODataEntry that is currently getting serialized. - XmlWriter writer instance that got returned by StartEntryXmlCustomizer method. - Parent writer to which the payload needs to get copied to, after firing the event. - - - - Converts a value to an escaped string for use in a Uri. Wraps the call to ODL's ConvertToUriLiteral and escapes the results. - - The name of the . Used for error reporting. - The value of the . - A string representation of for use in a Url. - - - - To cache the entity instance as annotation for firing WritingEntity event - - - - Entity instance that is currently getting serialized. - - - XDocument instance to cache the payload. - - - RequestInfo instance. - - - - Creates a new instance of WritingEntityInfo - - Entity instance that is currently getting serialized. - RequestInfo instance. - - - - Holds information about stream. - - - - - The Data service stream link object - - - - entity descriptor refering the parent entity. - - - - transient named stream info, which contains metadata from the response which has not been materialized yet. - - - - - Creates a StreamDescriptor class with the given name and other information - - name of the stream. - instance of entity descriptor that contains this stream. - - - - Creates a StreamDescriptor class for the default stream (MR) associated with an entity. - - instance of entity descriptor that contains this stream. - - - - Merge the information from the new stream info into the existing one. - - stream info into which the data needs to be merged. - stream info which contains the latest data. - - - - clears all the changes - like closes the save stream, clears the transient entity descriptor. - This method is called when the client is done with sending all the pending requests. - - - - return the most recent edit link for the named stream - the uri to edit the named stream. - - - return the most recent etag for the named stream - the etag for the named stream. - - - - Closes the save stream if there's any and sets it to null - - - - The that represents the binary resource stream. - Returns . - - - The that represents the entity to which the named resource stream belongs. - The of the entity. - - - - Returns the name of the stream. - - - - - Returns the URI to get the named stream. - - - - - Returns the URI to update the named stream. - - - - - Returns the content type of the named stream. - - - - - Returns the etag for the named stream. - - - - - Returns the stream associated with this name. - - - - return true, since this class represents entity descriptor. - - - - Transient named stream info, if there are responses which hasn't been fully processed yet. - - - - - Class which contains all the logic for resolving the type from the wire name. - - - - - Dictionary instance to map the edm type name to the client type annotation. - In V1/V2, we never used to cache this and call this during materialization. Hence 2 different contexts can resolve the same wire type - differently and that would have been fine. Also, someone could have written a logic that might differ based on queries within the same context. - For e.g. before executing a projection query, the user can set a flag so that the resolver behaves differently. - Hence caching this locally for every request to simulate that behavior. - - - The callback for resolving client CLR types. - - - The callback for resolving server type names. - - - The client model. - - - The service model, or null if one has not been provided. - - - Indicates whether or not to skip the type assignability check. - - - - Creates an instance of TypeResolver class. - - The client model. - The callback to resolve client CLR types. - The callback for resolving server type names. - The service model. - - - - In V2, in projection path, we do not use to check for assignability between the expected type - and the type returned by the type resolver. This variable is used to track that scenario. - If this is true, the current request is a projection request otherwise not. - - - - - Resolves the client type that should be used for materialization. - - Expected client clr type based on the API called. - - The name surfaced by the ODataLib reader. - If we have a server model, this will be a server type name that needs to be resolved. - If not, then this will already be a client type name. - The resolved annotation for the client type to materialize into. - - - - ODL callback for client type resolution - - The expected type for the given wire name - The name of the type from the payload - An IEdmType - - - - Resolves the expected EDM type to give to the ODataLib reader based on a client CLR type. - - The client side CLR type. - The resolved EDM type to provide to ODataLib. - - - - Determines whether or not the client type should be written for a property that is not defined on the server. - DEVNOTE: If there is no server model, the declaring type is complex, or the server type cannot be - found then the server type will be assumed to match the client type. - This is done this way to prevent getting this wrong if the server property is defined, but we cannot find it for some reason. - So if the types do not match, or we aren't able to align them, we will not write the type name, allowing the server to interpret it as the correct type. - - The client-side property. - The server type name of the current entity. - True if the client property type should be written because the property definitely not defined on the server type. - - - - Tries to resolve the name of the base type of the given entity set if a server model has been provided. - - The name of the entity set. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the name of a navigation property's target if a server model has been provided. - - The name of the server side source type. - The name of the navigation property. - The server type name if one could be found. - Whether the type name could be found. - - - - Tries to resolve the server type corresponding to the client type. - - The client type annotation. - The server type, if the server type could be resolved. - Whether or not the server type could be resolved. - - - - User hook to resolve name into a type. - - Name to resolve. - Expected type for the name. - the type as returned by the resolver. If no resolver is registered or resolver returns null, expected type is returned. - if ResolveType function returns a type not assignable to the userType - - - - Gets the reader model. - - - - - Represents a parameter associated with a service operation or a service function. - - - - Instantiates a new UriOperationParameter - The name of the uri operation parameter. - The value of the uri operation parameter. - - - - This immutable class is responsible for knowing how to correctly resolve base uri requests - - - - The baseUri provided by the user. can be null. - - - The function provided by the user to resolve the baseUri of entity sets. can be null - - - base uri with guranteed trailing slash - - - - Ctor for BaseUriResolver - - The baseUri provided by the user. - The function provider by the user to resolve the baseUri of the entity sets. - - - - Creates a UriResolver from a baseUri - - The baseUri to use in the UriResolver - The name of the paramter that the user passed the baseUri in from. - The new UriResolver using the passed in baseUri - - - - Creates a new BaseUriResolver with all the same values except a new BaseUri value - - The new BaseUri value - The name of the paramter that the user passed the baseUri in from. - A new BaseUriResolver with the BaseUri property set to the new value. - - - - Creates a new BaseUriResolver with all the same values except a new ResolveEntitySet value - - The new BaseUri value - A new BaseUriResolver with the ResolveEntitySet property set to the new value. - - - base uri with no trailing slash - the name of the entitSet whose Uri will be retrieved. - the baseUri ended with a slash for the entitySetName passed in. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - The BaseUri property with a slash. - - - - If necessary will create an absolute uri by combining the BaseUri and requestUri - - The uri specified by the user - An absolute Uri based on the requestUri and if nessesary the BaseUri - - - - Converts the baseUri passed in to an absolute Uri and then validates that it is - usable by the system. - - The user provided baseUri value. - The name of the paramter that the user passed the baseUri in from. - - - - Validates that the passed in BaseUri - - the baseUri that needs to be validated - True if the baseUri is valid, otherwise false - - - - Updates a relative silverlight uri to an absolute uri - - the uri passed by the client - the updated absolute uri - - - - Returns a Uri that is not slash terminated - - Will be the passed in one if it is slash termination free, or a new one - if the passed in one is slash terminated. - - The Uri to be un slash terminated - A slash termination free version of the passed in Uri. - - - - Returns a slash terminated Uri. - - Will be the passed in one if it is already slash terminated, or a new one - if the passed in one is not slash terminated. - - The Uri to be slash terminated - A slash terminated version of the passed in Uri. - - - - returns the BaseUri property followed by a slash. - - if the BaseUri property is null, an InvalidOperationException is thrown - - - Returns the error message to use if the BaseUri is not available. Using a function so we only have to - look up the resource if an error is actually thrown; - - The BaseUri property with a slash. - - - - Gets a Uri from the ResolveEntitySet property if available - - The name of the entity set to resolve to a URI - An absolute URI for the entitySet or null - - - Gets the ResolveEntitySet value. - - - - This property returns the baseUri value with no validation at all - - NOTE: this property should only be used to show the user what the BaseUri value is, all - other access should go through the GetBaseUriWithSlash() method - - the baseUri value - - - - Gets the base URI of the resolver regardless of whether or not it is null. - - - - - static utility functions for uris - - - - forward slash char array for triming uris - - - - Turn Uri instance into string representation - This is needed because Uri.ToString unescapes the string - - The uri instance - The string representation of the uri - - - new Uri(string uriString, UriKind uriKind) - value - kind - new Uri(value, kind) - - - new Uri(Uri baseUri, Uri requestUri) - baseUri - relativeUri - new Uri(baseUri, requestUri) - - - - Appends the absolute baseUri with the relativeUri to create a new absolute uri - - An absolute Uri - A relative Uri - An absolute Uri that is the combination of the base and relative Uris passed in. - - - - Component for controlling what convention set is used for generating URLs. - - - - Singleton instance of the default conventions. - - - Singleton instance of the key-as-segment conventions. - - - The key serializer to use. - - - The url convention to use. - - - - Prevents a default instance of the class from being created. - - The url convention to use. - - - - Appends the key expression for the given entity to the given - - The entity to build the key expression from. - The builder to append onto. - - - - Appends the key expression for the given entity to the given - - The type of the properties. - The properties of the key. - Delegate to get the name of a property. - Delegate to get the value of a property. - The builder to append onto. - - - - Adds the required headers for the url convention. - - The request headers to add to. - - - - Gets the raw CLR value for the given . - - The property to get the value for. - The type which declared the property. - The raw CLR value of the property. - - - - An instance of which uses default URL conventions. Specifically, this instance will produce keys that use parentheses like "Customers('ALFKI')". - - - - - An instance of which uses key-as-segment URL conventions. Specifically, this instance will produce keys that use segments like "Customers/ALFKI". - - - - - static utility function - - - - - String Suffix on outgoing version numbers - - - - Tool name for the GeneratedCode attribute used by Astoria CodeGen - - - Method name for the LoadProperty method. - - - Method name for the Execute method. - - - Method name for the Async Execute method overload which expects void result. - - - Method name for the SaveChanges method. - - - - Empty Data Service Version - represents a blank DSV header - - - - - Data Service Version 1 - - - - - Data Service Version 2 - - - - - Data Service Version 3 - - - - - Data service versions supported on the client - - - - - static char[] for indenting whitespace when tracing xml - - - - - Converts the DataServiceProtocolVersion to a Version instance. - - The max protocol version value. - The same version expressed as Version instance. - - - - DebugInjectFault is a test hook to inject faults in specific locations. The string is the ID for the location - - The injector state parameter - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument to prevent accidental boxing of value types - argument whose value needs to be checked - name of the argument - if value is null - value - - - - Checks the string value is not empty - - value to check - parameterName of public function - if value is null - if value is empty - - - - Checks the string value is not empty, but allows it to be null - - value to check - parameterName of public function - if value is empty - - - - Checks the array value is not empty - - type of the argument to prevent accidental boxing of value types - value to check - parameterName of public function - if value is null - if value is empty or contains null elements - - - - Validate MergeOption - - option to validate - name of the parameter being validated - if option is not valid - option - - - - Validate MaxProtocolVersion - - version to validate - name of the parameter being validated - if version is not valid - version - - - - Validate HttpStack - - option to validate - name of the parameter being validated - if option is not valid - option - - - - get char[] for indenting whitespace when tracing xml - - how many characters to trace - char[] - - - dispose of the object and set the reference to null - type that implements IDisposable - object to dispose - - - dispose of the object - type that implements IDisposable - object to dispose - - - - Checks whether the exception type is one of the DataService*Exception - - exception to test - true if the exception type is one of the DataService*Exception - - - validate value is non-null - type of value - value - error code to throw if null - the non-null value - - - - check the atom:null="true" attribute - - XmlReader - true of null is true - - - Set the continuation for the following results for a collection. - The collection to set the links to - The continuation for the collection. - - - - Determines if the current type is nullable or not - - The type parameter. - true if its nullable false otherwise - - - - Similar to Activator.CreateInstance, but uses LCG to avoid - more stringent Reflection security constraints.in Silverlight - - Type to create. - Arguments. - The newly instantiated object. - - - - Similar to ConstructorInfo.Invoke, but uses LCG to avoid - more stringent Reflection security constraints in Silverlight - - Constructor to invoke. - Arguments. - The newly instantiated object. - - - - checks whether the given flag is set on the options - - options as specified by the user. - whether the given flag is set on the options - true if the given flag is set, otherwise false. - - - - checks whether any batch flag is set on the options - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag is set on the options for the single changeset - - options as specified by the user. - true if the given flag is set, otherwise false. - - - - checks whether the batch flag with independent Operation per change set is set - - options as specified by the user. - true if the given flag is set, otherwise false. - - - modified or unchanged - state to test - true if modified or unchanged - - - - trace Element node - - XmlReader - TextWriter - - - - trace EndElement node - - XmlReader - TextWriter - indent or not - - - - trace string value - - TextWriter - value - - - - Converts the given IEnumerable into IEnumerable - - Type parameter. - IEnumerable which contains the list of the objects that needs to be converted. - Delegate to use to convert the value. - An instance of IEnumerable which contains the converted values. - - - Given a enumeration returns the instance with the same version number. - The protocol version enum value to convert. - The version instance with the version number for the specified protocol version. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - The represents the runtime context of the data service. - - - - - string constant for the 'serviceRoot' parameter to UriResolver - - - - Same version as but stored as instance of for easy comparisons. - - - The client model for the current context instance. - - - The tracker for user-specified format information. - - - The maximum protocol version the client should support (send and receive). - - - - Class which tracks all the entities and links for the given context - - - - - The response preference for add and update operations - - - - The resolver for baseUris - - - Authentication interface for retrieving credentials for Web client authentication. - - - Override the namespace used for the data parts of the ATOM entries - - - resolve type from a typename - - - resolve typename from a type - - - whether to use post-tunneling for PUT/DELETE - - - Options when deserializing properties to the target type. - - - Used to specify a value synchronization strategy. - - - Default options to be used while doing savechanges. - - - Override the namespace used for the scheme in the category for ATOM entries. - - - Client will ignore 404 resource not found exception and return an empty set when this is set to true - - - The URL conventions to use. - - - The HTTP stack to use for requests. - - - - Test hook which gets called after the HttpWebRequest has been created and all headers have been set. - - - - - Test hook which gets called after we call HttpWebRequest.GetRequestStream, so that the test code can wrap the stream and see what gets written to it. - - - - - Test hook which gets called after the HttpWebResponse is received. - - - - - Test hook which gets called after we call HttpWebRequest.GetResponseStream, so that the test code can wrap the stream and see what gets read from it. - - - - - A flag indicating if the data service context is applying changes - - - - Initializes a new instance of the class. - It is expected that the BaseUri or ResolveEntitySet properties will be set before using the newly created context. - - - Initializes a new instance of the class with the specified . - An absolute URI that identifies the root of a data service. - When the is null. - If the is not an absolute URI -or-If the is a well formed URI without a query or query fragment. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Initializes a new instance of the class with the specified and targeting the specific . - An absolute URI that identifies the root of a data service. - A value that is the maximum protocol version that the client understands. - - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - - Instantiates a new context with the specified Uri. - The library expects the Uri to point to the root of a data service, - but does not issue a request to validate it does indeed identify the root of a service. - If the Uri does not identify the root of the service, the behavior of the client library is undefined. - - - An absolute, well formed http or https URI without a query or fragment which identifies the root of a data service. - A Uri provided with a trailing slash is equivalent to one without such a trailing character - - max protocol version that the client understands. - The client edm model to use. Provided for testability. - If the is not a valid value. - - With Silverlight, the can be a relative Uri - that will be combined with System.Windows.Browser.HtmlPage.Document.DocumentUri. - - - - Gets the for the supplied entity object. - The instance for the , or null if an does not exist for the object. - The object for which to return the entity descriptor. - - - Gets the for a specific link that defines the relationship between two entities. - The instance for the specified relationship, or null if a does not exist for the relationship. - Source object in the link - The name of the navigation property on the object that returns the related object. - The related entity. - - - Attempts to cancel the operation that is associated with the supplied object. - The object from the operation being canceled. - DataServiceContext is not safe to use until asyncResult.IsCompleted is true. - - - Creates a data service query for data of a specified generic type. - A new instance that represents a data service query. - A string that resolves to a URI. - The type returned by the query - create a query based on (BaseUri + relativeUri) - - - Gets a URI of the location of .edmx metadata. - A URI that identifies the location of the metadata description, in .edmx format, for the data service identified by the base URI that is passed to the constructor. - - - Asynchronously loads the value of the specified property from the data service. - An IAsyncResult that represents the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property on the specified entity to load. - The delegate called when a response to the request is received. - The user-defined state object that is used to pass context data to the callback method. - actually doesn't modify the property until EndLoadProperty is called. - - - Asynchronously loads a page of related entities from the data service by using the supplied next link URI. - An object that is used to track the status of the asynchronous operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - The URI used to load the next results page. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Asynchronously loads the next page of related entities from the data service by using the supplied query continuation object. - An that represents the status of the operation. - The entity that contains the property to load. - The name of the property of the specified entity to load. - A object that represents the next page of related entity data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the operation. - The response to the load operation. - An that represents the status of the asynchronous operation. - - - Gets the URI that is used to return a binary data stream. - The read URI of the binary data stream. - The entity that has a related binary stream to retrieve. - If the entity specified is null. - The is not tracked by this . - If the specified entity is a Media Link Entry, this method will return an URI which can be used to access the content of the Media Resource. This URI should only be used to GET/Read the content of the MR. It may not respond to POST/PUT/DELETE requests. - - - Gets the URI that is used to return a named binary data stream. - The read URI of the binary data stream. - The entity that has the named binary data stream to retrieve. - The name of the stream to request. - If the specified entity has a stream with the given name, this method will return an URI which can be used to access the content of the stream. This URI should only be used to GET/Read the content of the stream. It may not respond to POST/PUT/DELETE requests. - If the entity specified is null. - If the name parameter is empty or the entity specified is not being tracked. - - - Asynchronously gets the binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has a the binary data stream to retrieve. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - Any of the parameters supplied to the method is null. - The is not tracked by this .-or-The is in the state.-or-The is not a Media Link Entry and does not have a related binary data stream. - - - Asynchronously gets a named binary data stream that belongs to the specified entity, by using the specified message headers. - An object that is used to track the status of the asynchronous operation. - The entity that has the binary data stream to retrieve. - The name of the binary stream to request. - Instance of the class that contains settings for the HTTP request message. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - - - Called to complete the asynchronous operation of retrieving a binary data stream. - An instance of which contains the response stream along with its metadata. - The result from the operation that contains the binary data stream. - The method will block if the request have not finished yet. - - - Sets a binary data stream that belongs to the specified entity, with the specified Content-Type and Slug headers in the request message. - The entity to which the data stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The Slug header value for the request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The entity has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Any of the parameters supplied to the method are null. - The is not being tracked by this instance. -or-The has the applied. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - - - Sets a binary data stream for the specified entity. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - The Content-Type header value for the request message. - The entity is not being tracked or name is an empty string. - Any of the arguments is null. - - - Sets a named binary data stream that belongs to the specified entity, with the specified headers in the request message. - The entity to which the binary stream belongs. - The name of the binary stream to save. - The from which to read the binary data. - A value that determines whether the data stream is closed when the method is completed. - An instance of the class that contains settings for the HTTP request message. - Calling this method marks the entity as media link resource (MLE). It also marks the entity as modified - so that it will participate in the next call to SaveChanges. - The entity is not being tracked. The entity has the MediaEntry attribute - marking it to use the older way of handling MRs. - Any of the arguments is null. - - - Asynchronously submits a group of queries as a batch to the data service. - An object that is used to track the status of the asynchronous operation. - The delegate that is called when a response to the batch request is received. - User-defined state object that is used to pass context data to the callback method. - The array of query requests to include in the batch request. - - - Called to complete the . - The DataServiceResult object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Asynchronously sends the request so that this call does not block processing while waiting for the results from the service. - An object that is used to track the status of the asynchronous operation. - The URI to which the query request will be sent. The URI may be any valid data service URI; it can contain $ query parameters. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - The operation parameters used. - - This overload expects the to end with a ServiceOperation - or ServiceAction that returns void. - - - - Asynchronously sends a request to the data service to execute a specific URI. - The result of the operation. - The URI to which the query request will be sent. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The HTTP data transfer method used by the client. - Attribute used on service operations to specify that they return a single instance of their return element. - The operation parameters used. - The type returned by the query. - - - Asynchronously sends a request to the data service to retrieve the next page of data in a paged query result. - An that represents the status of the operation. - A object that represents the next page of data to return from the data service. - Delegate to invoke when results are available for client consumption. - User-defined state object passed to the callback. - The type returned by the query. - - - Called to complete the . - The results returned by the query operation. - - object. - The type returned by the query. - When is null. - When did not originate from this instance. -or- When the method was previously called. - When an error is raised either during execution of the request or when it converts the contents of the response message into objects. - When the data service returns an HTTP 404: Resource Not Found error. - - - Called to complete the . - The result of the operation. - An that represents the status of the asynchronous operation. - This method should be used in combination with the BeginExecute overload which - expects the request uri to end with a service operation or service action that returns void. - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An IAsyncResult that represents the status of the asynchronous operation. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - - Asynchronously submits the pending changes to the data service collected by the since the last time changes were saved. - An that represents the status of the asynchronous operation. - The options for how the client can save the pending set of changes. - The delegate to call when the operation is completed. - The user-defined state object that is used to pass context data to the callback method. - - BeginSaveChanges will asynchronously attach identity Uri returned by server to sucessfully added entites. - EndSaveChanges will apply updated values to entities, raise ReadingEntity events and change entity states. - - - - Called to complete the operation. - A object that indicates the result of the batch operation. - An that represents the status of the asynchronous operation. - - - Adds the specified link to the set of objects the is tracking. - The source object for the new link. - The name of the navigation property on the source object that returns the related object. - The object related to the source object by the new link. - When , , or are null. - If a link already exists.-or-If either the or objects are in a or state.-or-If is not a collection. - - Notifies the context that a new link exists between the and objects - and that the link is represented via the source. which is a collection. - The context adds this link to the set of newly created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Notifies the to start tracking the specified link that defines a relationship between entity objects. - The source object in the new link. - The name of the property on the source object that represents the link between the source and target object. - The target object in the link that is bound to the source object specified in this call. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When the link between the two entities already exists.-or-When or is in an or state. - - - Removes the specified link from the list of links being tracked by the . - Returns true if the specified entity was detached; otherwise false. - The source object participating in the link to be marked for deletion. - The name of the property on the source object that represents the source in the link between the source and the target. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When or are null. - When is an empty string. - Any link being tracked by the context, regardless of its current state, can be detached. - - - Changes the state of the link to deleted in the list of links being tracked by the . - The source object in the link to be marked for deletion. - The name of the navigation property on the source object that is used to access the target object. - The target object involved in the link that is bound to the source object. The target object must be of the type identified by the source property or a subtype. - When , , or is null. - When or is in a or state.-or-When is not a collection. - - Notifies the context that a link exists between the and object - and that the link is represented via the source. which is a collection. - The context adds this link to the set of deleted links to be sent to - the data service on the next call to SaveChanges(). - If the specified link exists in the "Added" state, then the link is detached (see DetachLink method) instead. - - - - Notifies the that a new link exists between the objects specified and that the link is represented by the property specified by the parameter. - The source object for the new link. - The property on the source object that identifies the target object of the new link. - The child object involved in the new link that is to be initialized by calling this method. The target object must be a subtype of the type identified by the parameter. If is set to null, the call represents a delete link operation. - When , or are null. - When the specified link already exists.-or-When the objects supplied as or are in the or state.-or-When is not a navigation property that defines a reference to a single related object. - - Notifies the context that a modified link exists between the and objects - and that the link is represented via the source. which is a reference. - The context adds this link to the set of modified created links to be sent to - the data service on the next call to SaveChanges(). - Links are one way relationships. If a back pointer exists (ie. two way association), - this method should be called a second time to notify the context object of the second link. - - - - Adds the specified object to the set of objects that the is tracking. - The name of the entity set to which the resource will be added. - The object to be tracked by the . - When or is null. - When is empty.-or-When does not have a key property defined. - When the entity is already being tracked by the context. - - It does not follow the object graph and add related objects. - Any leading or trailing forward slashes will automatically be trimmed from entitySetName. - - - - Adds a related object to the context and creates the link that defines the relationship between the two objects in a single request. - The parent object that is being tracked by the context. - The name of the navigation property that returns the related object based on an association between the two entities. - The related object that is being added. - - - Notifies the to start tracking the specified resource and supplies the location of the resource within the specified resource set. - The name of the set that contains the resource. - The resource to be tracked by the . The resource is attached in the Unchanged state. - When or is null. - When is an empty string.-or-When the does not have a key property defined. - When the is already being tracked by the context. - It does not follow the object graph and attach related objects. - - - Notifies the to start tracking the specified resource and supplies the location of the resource in the specified resource set. - The string value that contains the name of the entity set to which to the entity is attached. - The entity to add. - An etag value that represents the state of the entity the last time it was retrieved from the data service. This value is treated as an opaque string; no validation is performed on it by the client library. - When is null.-or-When is null. - When is an empty string.-or-When the supplied object does not have a key property. - When the supplied object is already being tracked by the context - It does not follow the object graph and attach related objects. - - - Changes the state of the specified object to be deleted in the . - The tracked entity to be changed to the deleted state. - When is null. - When the object is not being tracked by the . - - Existings objects in the Added state become detached. - - - - Removes the entity from the list of entities that the is tracking. - Returns true if the specified entity was detached; otherwise false. - The tracked entity to be detached from the . - When is null. - - - Changes the state of the specified object in the to . - The tracked entity to be assigned to the state. - When is null. - When is in the state. - - - - Changes the state of the given entity. - Note that the 'Added' state is not supported by this method, and that AddObject or AddRelatedObject should be used instead. - If the state 'Modified' is given, calling this method is exactly equivalent to calling UpdateObject. - If the state 'Deleted' is given, calling this method is exactly equivalent to calling DeleteObject. - If the state 'Detached' is given, calling this method is exactly equivalent to calling Detach. - If the state 'Unchanged' is given, the state will be changed, but no other modifications will be made to the entity or entity descriptor associated with it. - - The entity whose state to change. - The new state of the entity. - - - Test retrieval of an entity being tracked by the by reference to the URI of the entity. - If an entity is found at , the entity is returned in the out parameter and true is returned. If no entity is found, false is returned. - The URI of the tracked entity to be retrieved. - The entity to be retrieved. - The type of the entity. - When is null. - entities in added state are not likely to have a identity - - - Retrieves the canonical URI associated with the specified entity, if available. - Returns true if the canonical URI is returned in the out parameter. If the specified entity is not tracked by the or is in the added state, no URI is available and false is returned. - The entity identified by the . - The URI of the entity. - When is null. - Entities in added state are not likely to have an identity. Though the identity might use a dereferencable scheme, you MUST NOT assume it can be dereferenced. - - - Begins the execution of the request uri based on the http method. - element type of the result - request to execute - User callback when results from execution are available. - user state in IAsyncResult - HttpMethod to use. Only GET and POST are supported. - async method name at the source. - If set to true, indicates that a single result is expected as a response. - The operation parameters associated with the service operation. - async result object - - - - Track a binding. - - Source resource. - Property on the source resource that relates to the target resource. - Target resource. - merge operation - - - - Creates the OData request message to write the headers and payload into. - - The arguments for creating the message. - List of header names that needs to be reset after calling SendingRequest event. - Descriptor to expose in SendingRequest2 - An instance of IODataRequestMessage with the given headers and version. - - - - user hook to resolve name into a type - - name to resolve - Null if no type resolver is registered, otherwise returns whatever is returned by the type resolver. - - - - The reverse of ResolveType, use for complex types and LINQ query expression building - - client type - type for the server - - - - Fires the WritingEntity event - - Entity being serialized - XML data of the ATOM entry - The xml base of the feed or entry containing the current ATOM entry - - - - Fires the SendingRequest event. - - SendingRequestEventArgs instance containing all information about the request. - - - - Fires the SendingRequest2 event. - - SendingRequest2EventArgs instance containing all information about the request. - - - - Fires the ReceivingResponse event. - - Args instance containing information about the response. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. The reasons for doing this are to give us a place - to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - - This method wraps the HttpWebRequest.EndGetResponse method call. The reason for doing this is to give us a place - to invoke internal test hook callbacks that can validate the response headers. - - HttpWebRequest instance - Async result obtained from previous call to BeginGetResponse. - Returns the HttpWebResponse from the wrapped EndGetResponse method. - - - - Invokes the sendRequest test hook callback with a reference to the HttpWebRequest - - HttpWebRequest to provide in the callback. - - - - Invokes the getRequestWrappingStream test hook callback, so that the test code can wrap the stream and see what gets written to it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Invokes the sendResponse test hook callback with a reference to the HttpWebResponse - - HttpWebResponse to provide in the callback. - - - - Invokes the getResponseWrappingStream test hook callback, so that the test code can wrap the stream and see what gets read from it. - - Underlying HTTP stream to be wrapped - - If the test hook is being used, returns the stream provided by the callback, otherwise returns the original stream. - - - - - Gets an entity metadata builder to evaluate metadata which is not present in payloads, or for which the payload is not available. - - Name of the entity set to which the entity belongs. - The entity to build metadata for. - - A metadata builder for the entity tracked by the given entity instance. - - - This is used for example to determine the edit link for an entity if the payload didn't have one, or to determine the URL for a navigation when building a query through LINQ. - - - - - Fires the BuildingRequest event to get a new RequestMessageArgs object. - - Http method for the request. - Base Uri for the request. - Http stack to use for the request. - Http stack to use for the request. - Descriptor for the request, if there is one. - A new RequestMessageArgs object for building the request message. - - - - Determines the type that - - Name of the type to resolve. - Namespace of the type. - Namespace of the type, can be different in VB than the fullNamespace. - Type that the name resolved to or null if none found. - Function was added for Portable Lib support to handle the differences in accessing the assembly of the context. - - - validate and trim leading and trailing forward slashes - - resource name to validate - if entitySetName was null - if entitySetName was empty or contained only forward slash - - - validate is entity type - entity to validate - The client model. - if entity was null - if entity does not have a key property - - - - Validates a given list of operation parameter and returns two seperated list of body operation parameter - and uri operation parameter respectively. - - the http method used in the request. Only POST and GET http methods are supported with operation parameters. - The list of operation parameters to be validated. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - - - - Verify that the format is set to Atom, and fail otherwise. - - - - - Fires the BuildingRequest event so the user can add custom query parameters. - - Information about the request so they user can selectively add query parameters. - A new RequestMessageArgs object that contains any changes the user made to the query string. - - - - Validate the SaveChanges Option - - options as specified by the user. - - - - Validate and process the input parameters to all the execute methods. Also seperates and returns - the input operation parameters list into two seperate list - one of body operation parameters and the other - for uri operation parameters. - - element type. See Execute method for more details. - request to execute - HttpMethod to use. Only GET and POST are supported. - If set to true, indicates that a single result is expected as a response. - The list of body operation parameters to be returned. - The list of uri operation parameters to be returned. - The operation parameters associated with the service operation. - - - - create the load property request - - entity - name of collection or reference property to load - The AsyncCallback delegate. - user state - The request uri, or null if one is to be constructed - Continuation, if one is available. - a aync result that you can get a response from - - - - verify the source and target are relatable - - source Resource - source Property - target Resource - destination state of relationship to evaluate for - true if DeletedState and one of the ends is in the added state - if source or target are null - if source or target are not contained - if source property is null - if source property empty - Can only relate ends with keys. - If target doesn't match property type. - If adding relationship where one of the ends is in the deleted state. - If attaching relationship where one of the ends is in the added or deleted state. - - - - This method creates an async result object around a request to get the read stream for a Media Resource - associated with the Media Link Entry represented by the entity object. - - The entity which is the Media Link Entry for the requested Media Resource. Thist must specify - a tracked entity in a non-added state. - Instance of class with additional metadata for the request. - Must not be null. - User defined callback to be called when results are available. Can be null. - User state in IAsyncResult. Can be null. - name of the stream. - The async result object for the request, the request hasn't been started yet. - Either entity or args parameters are null. - The specified entity is either not tracked, - is in the added state or it's not an MLE. - - - - Ensures that the required data service protocol version is lesser than the maxprotocolversion on this instance. - - throws an invalidoperationexception if the max protocolversion is lesser than the required protocol version - - - - Ensures that the maxprotocolversion on this instance is lesser than - - The property being modified. - The max allowed dataserviceversion for modifying this property. - throws a NotSupportedException if the max protocolversion is greater than - - - - Helper method for calling the overridable GetEntityMetadataBuilder API and performing common logic/verification. - - The entity descriptor tracking the entity. - A metadata builder for the entity tracked by the given descriptor. - - - - This method wraps the HttpWebRequest.GetSyncronousResponse method call. It fires the ReceivingResponse event. - It also gives us a place to invoke internal test hook callbacks that can validate the response headers, and also so that we can do - debug validation to make sure that the headers have not changed since they were originally configured on the request. - - HttpWebRequest instance - IAsyncResult for EndGetResponse if this is an async call. - If set to true, this method will only re-throw the WebException that was caught if - the response in the exception is null. If set to false, this method will always re-throw in case of a WebException. - Returns the HttpWebResponse from the wrapped GetSyncronousResponse method. - - - - Mark an existing object for update in the context. - - entity to be mark for update - If true, then an exception should be thrown if the entity is in neither the unchanged nor modified states. - if entity is null - if entity is detached - if entity is not unchanged or modified and is true. - - - - Mark an existing object being tracked by the context for deletion. - - entity to be mark deleted - If true, then an exception will be thrown if the entity is in the added state. - if entity is null - if entity is not being tracked by the context, or if the entity is in the added state and is true. - - Existings objects in the Added state become detached if is false. - - - - - Sets the entity's state to unchanged. - - The entity to set back to unchanged. - - - Occurs when a new has been created. - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request is sent to the server, giving - the handler the opportunity to inspect, adjust and/or replace the - WebRequest object used to perform the request. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event is fired before a request message object is built, giving - the handler the opportunity to inspect, adjust and/or replace some - request information before the message is built. This event should be - used to modify the outgoing Url of the request or alter request headers. - After the request is built, other modifications on the WebRequest object can be made - in SendingRequest2. - - - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - Occurs after entity data has been completely read into the entity object. - - This event fires once an entry has been read into a .NET object - but before the serializer returns to the caller, giving handlers - an opporunity to read further information from the incoming ATOM - entry and updating the object. - This event should only be raised from the thread that was used to - invoke Execute, EndExecute, SaveChanges, EndSaveChanges. - - - - - This event fires when a response is received by the client. - It fires for both top level responses and each operation or query within a batch response. - - - On top level requests, the event is fired before any processing is done. - For inner batch operations, the event is also fired before any processing is done, with - the exception that the content-ID of a changeset operation will be read before the event is fired. - - - - Occurs after an entity has been fully serialized into XML in a request message. - - This event fires once an ATOM entry is ready to be written to - the network for a request, giving handlers an opportunity to - customize the entry with information from the corresponding - .NET object or the environment. - When calling BeginSaveChanges and not using SaveChangesOptions.Batch and SaveChangesOptions.BatchWithIndependentOperations, - this event may be raised from a different thread. - - - - - This event fires when SaveChanges or EndSaveChanges is called - - - - - Internal event instance used by the public SendingRequest event. - - - - - Internal event instance used by the public BuildingRequest event. - - - - - Internal event instance used by the public WritingEntity event. - - - - Gets or sets the delegate method that is used to resolve the entity set URI when the value cannot be determined from an edit-link or self-link URI. - A delegate that takes a and returns a value. - - - Gets the absolute URI identifying the root of the target data service. - An absolute URI that identifies the root of a T data service. - - A Uri provided with a trailing slash is equivalent to one without such a trailing character. - Example: http://server/host/myservice.svc - - - - Gets or sets whether the client requests that the data service return entity data in the response message to a change request. - A object that determines whether to request a response form the data service. - Whether POST/PUT/MERGE requests will process response from the server. Corresponds to Prefer header in HTTP POST/PUT/MERGE request. - - - Gets the maximum version of the Open Data Protocol (OData) that the client is allowed to use. - The maximum version of OData that the client is allowed to use. - If the request or response would require higher version the client will fail. - - - Gets or sets the authentication information that is used by each query created by using the object. - The base authentication interface for retrieving credentials for Web client authentication. - - - Gets or sets the synchronization option for receiving entities from a data service. - One of the members of the enumeration. - - Used to specify a synchronization strategy when sending/receiving entities to/from a data service. - This value is read by the deserialization component of the client prior to materializing objects. - As such, it is recommended to set this property to the appropriate materialization strategy - before executing any queries/updates to the data service. - The default value is .AppendOnly. - - - - Gets a value that indicates whether the is currently applying changes to tracked objects. - Returns true when changes are currently being applied; otherwise returns false. - - - Gets or sets whether the properties read from the type must be mapped to properties on the client-side type. - A Boolean value that indicates whether the properties read from the type must be mapped to properties on the client-side type. - - This also affects responses during SaveChanges. - - - - Gets or sets the XML namespace for data items, not metadata items, of an Atom payload. - A string representing the XML namespace for data items of a payload in the ATOM format. - - - Gets or sets a function to override the default type resolution strategy used by the client library when you send entities to a data service. - Returns a string that contains the name of the . - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves - a type within the client application to a namespace-qualified type name. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - This method enables one to override the entity name that is serialized - to the target representation (ATOM,JSON, etc) for the specified type. - - - - Gets or sets a function that is used to override the default type resolution option that is used by the client library when receiving entities from a data service. - A function delegate that identifies an override function that is used to override the default type resolution option that is used by the client library. - - Enables one to override the default type resolution strategy used by the client library. - Set this property to a delegate which identifies a function that resolves a - namespace-qualified type name to type within the client application. - This enables the client to perform custom mapping between the type name - provided in a response from the server and a type on the client. - Overriding type resolution enables inserting a custom type name to type mapping strategy. - It does not enable one to affect how a response is materialized into the identified type. - - - - Gets or sets the URI used to indicate what type scheme is used by the service. - A object that contains the type scheme. - - - Gets or sets a Boolean value that indicates whether to use post tunneling. - A Boolean value that indicates whether to use post tunneling. - - - Gets the collection of all associations or links currently being tracked by the object. - A collection of objects that represent all associations or links current being tracked by the current being tracked by the object. - If no links are being tracked, a collection with 0 elements is returned. - - - Gets a list of all the resources currently being tracked by the . - A list of objects that represent all the resources currently being tracked by the . - If no resources are being tracked, a collection with 0 elements is returned. - - - Gets or sets the values that are used by the method. - The current options for the save changes operation. - - - Gets or sets whether an exception is raised when a 404 error (resource not found) is returned by the data service. - When set to true, the client library returns an empty set instead of raising a when the data service returns an HTTP 404: Resource Not Found error. - - - - Gets the configurations. - - - - - Gets an object which allows the user to customize the format the client will use for making requests. - - - - - Gets or sets the URL conventions the client should use. - - - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Gets a value that indicates the type of HTTP implementation to use when accessing the data service in Silverlight. - A value that indicates the HTTP implementation to use when accessing the data service. - Default value is HttpStack.Auto - - - Indicates if there are subscribers for the WritingEntity event - - - - True if any event handlers are registered for events that are only supported with Atom. - - - - Indicates if there are subscribers for the SendingRequest event. - We do not fire SendingRequest event if there are subscribers to SendingRequest2 event. - - - Indicates if there are subscribers for the SendingRequest2 event. - - - - INdicates if there are any subscribers for the BuildingRequestEvent. - - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - The tracker for user-specified format information. - - - Returns the instance of entity tracker which tracks all the entities and links tracked by the context. - - - - Gets the client model. - - - - - Cache for client edm models by version. - - - - A cache that maps a data service protocol version to its corresponding . - Note that it is initialized in a static ctor and must not be changed later to avoid threading issues. - - - - Static constructor used to initialize modelCache. - - - - - Get the cached model for the specified max protocol version. - - The to get the cached model for. - The cached model for the . - - - - query object - - type of object to materialize - - - Method info for the v1 Expand method. - - - Method info for the generic version of the Expand method - - - Linq Expression - - - Linq Query Provider - - - Uri, Projection, Version for translated query - - - - query object - - expression for query - query provider for query - - - Starts an asynchronous network operation that executes the query represented by this object instance. - An that represents the status of the asynchronous operation. - The delegate to invoke when the operation completes. - User defined object used to transfer state between the start of the operation and the callback defined by . - - - Ends an asynchronous query request to a data service. - Returns an that contains the results of the query operation. - The pending asynchronous query request. - When the data service returns an HTTP 404: Resource Not Found error. - - - Expands a query to include entities from a related entity set in the query response. - A new query that includes the requested $expand query option appended to the URI of the supplied query. - The expand path in the format Orders/Order_Details. - - - Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy. - Returns a that with the expand option included. - A lambda expression that indicates the navigation property that returns the entity set to include in the expanded query. - Target type of the last property on the expand path. - - - Requests that the count of all entities in the entity set be returned inline with the query results. - A new object that has the inline count option set. - - - Creates a new with the query option set in the URI generated by the returned query. - A new query that includes the requested query option appended to the URI of the supplied query - The string value that contains the name of the query string option to add. - The object that contains the value of the query string option. - - - Executes the query and returns the results as a collection. - A typed enumerator over the results in which TElement represents the type of the query results. - - - Represents the URI of the query to the data service. - A URI as string that represents the query to the data service for this instance. - - - Executes the query and returns the results as a collection. - An enumerator over the query results. - - - - gets the UriTranslateResult for a the query - - The client model. - an instance of QueryComponents. - - - - Begins an asynchronous request to an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - An IEnumerable that contains the response from the Internet resource. - - - - gets the query components for the query after translating - - QueryComponents for query - - - Returns the type of the object used in the template to create the instance. - Returns representing the type used in the template when the query is created. - - - Represents an expression containing the query to the data service. - A object representing the query. - - - Represents the query provider instance. - A representing the data source provider. - - - Get the URI for the query. - The URI of the request. - - - The ProjectionPlan for the request (if precompiled in a previous page). - - - Context associated with this query. - - - - Ordered DataServiceQuery which implements IOrderedQueryable. - - - - - constructor - - expression for query - query provider for query - - - web utility functions - - - - Default buffer size used for stream copy. - - - - - Whether DataServiceCollection<> type is available. - - - - Method info for GetDefaultValue<T>. - - - copy from one stream to another - input stream - output stream - reusable buffer - count of copied bytes - - - get response object from possible WebException - exception to probe - http web respose object from exception - an instance of InvalidOperationException. - - - is this a success status code - status code - true if status is between 200-299 - - - - Checks if the provided type is a collection type (i.e. it implements ICollection and the collection item type is not an entity). - - Type being checked. - The client model. - True if the CLR type is a collection compatible type. False otherwise. - - - - Checks if the provided type name is a name of a collection type. - - Type name read from the payload. - true if is a name of a collection type otherwise false. - - - - Returns collection item type name or null if the provided type name is not a collection. - - Collection type name read from payload. - Collection item type name or null if not a collection. - - - - Resolves and creates if necessary a backing type for the . - - Type of a collection property as defined by the user - can be just an interface or generic type. - Type of items stored in the collection. - Resolved concrete type that can be instantiated and will back the collection property. Can be the type. - - - - Checks the argument value for null and throw ArgumentNullException if it is null - - type of the argument - argument whose value needs to be checked - name of the argument - returns the argument back - - - - Checks if the collection is valid. Throws if the collection is not valid. - - The type of the collection item. Can not be null. - Collection instance to be validated. - The name of the property being serialized (for exception messages). Can be null if the type is not a property. - - - - Checks if the value of a collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - This method should be called first to validate all items in a collection regardless of their type. - - - - Checks if the value of a primitive collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null. - The type of the collection item as declared by the collection. - - - - Checks if the value of a complex collection item is valid. Throws if it finds the value invalid. - - The value of the collection item. - The name of the collection property being serialized. Can be null if the type is not a property. - The type of the collection item as declared by the collection. - - - - Validates the value of the identity, the atom:id or DataServiceId - - The value to validate - - - - Validates the value of the 'Location' response header. - - the value as seen on the wire. - an absolute uri or - - - - Determines the value of the Prefer header based on the response preference settings. Also modifies the request version as necessary. - - The response preference setting for the request. - The request version so far, this might be modified (raised) if necessary due to response preference being applied. - The value of the Prefer header to apply to the request. - - - - Raises the version specified to the new minimal version (if it's lower than the current one) - - The version to be raised. - The minimal version needed. - - - - Checks if the given type is DataServiceCollection<> type. - - Type to be checked. - true if the provided type is DataServiceCollection<> or false otherwise. - - - - Creates an instance of DataServiceCollection<> class using provided types. - - Types to be used for creating DataServiceCollection<> object. - - Instance of DataServiceCollection<> class created using provided types or null if DataServiceCollection<> - type is not avaiable. - - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Returns the default value for the given type - - type to get the default value - returns the default value for . - - - - Dispose the message if it implements IDisposable. - - IODataResponseMessage to dispose. - - - - Forces loading WindowsBase assembly. If WindowsBase assembly is not present JITter will throw an exception. - This method MUST NOT be inlined otherwise we won't be able to catch the exception by JITter in the caller. - - typeof(DataServiceCollection<>) - - - - Returns true if DataServiceCollection<> type is available or false otherwise. - - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Represents an EDM property for client types and caches methods for the propertyInfo. - - - - Back reference to the EdmProperty this annotation is part of. - - - property name for debugging - - - Exact property type; possibly nullable but not necessarily so. - - - type of the property - - - what is the dictionary value type - - - what type was this property declared on? - - - - Is this a known primitive/reference type or an entity/complex/collection type? - - - - property getter - - - property setter - - - "set_Item" method supporting IDictionary properties - - - "Add" method supporting ICollection<> properties - - - "Remove" method supporting ICollection<> properties - - - "Contains" method supporting ICollection<> properties - - - "Clear" method supporting ICollection<> properties - - - ICollection<> generic type - - - cached value for IsPrimitiveOrComplexCollection property - - - cached value of IsGeographyOrGeometry property - - - The other property in this type that holds the MIME type for this one - - - - constructor - - Back reference to the EdmProperty this annotation is part of. - propertyInfo instance. - The client model. - - - - get property value from an object - - object to get the property value from - property value - - - - remove a item from the collection instance - - collection - item to remove - - - - set property value on an object - - object to set the property value on - property value - used for open type - allow add to a collection if available, else allow setting collection property - - - - Clears . - - ICollection instance that needs to be cleared. - - - - Adds value to a collection. - - ICollection Instance to add to. - Value to be added to . - - - - Gets the client model. - - - - The other property in this type that holds the MIME type for this one - - - what is the nested collection element - - - Is this property a collection of entities? - - - Type of items in the primitive or complex collection. - - - Is this property a collection of primitive or complex types? - - - Returns true if the type of property is a Geography or Geometry type, otherwise returns false. - - - Is this property a dictionary? - - - Returns true if this property is a stream link property, otherwise false. - - - - Utility methods for client types. - - - - A static empty PropertyInfo array. - - - - Sets the single instance of on the given instance of . - - The model the belongs to. - IEdmType instance to set the annotation on. - The annotation to set - - - - Gets the ClientTypeAnnotation for the given type. - - The model. - Type for which the annotation needs to be returned. - An instance of ClientTypeAnnotation containing metadata about the given type. - - - - Gets the single instance of from the given instance of . - - The model the belongs to. - IEdmType instance to get the annotation. - Returns the single instance of from the given instance of . - - - - Sets the given instance of to the given instance of . - - IEdmProperty instance to set the annotation. - Annotation instance to set. - - - - Gets the single instance of ClientPropertyAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the single instance of ClientPropertyAnnotation from the given instance of . - - - - Gets the instance of ClientTypeAnnotation from the given instance of . - - The model. - IEdmProperty instance to get the annotation. - Returns the instance of ClientTypeAnnotation from the given instance of . - - - - Returns the corresponding edm type reference for the given edm type. - - EdmType instance. - A boolean value indicating whether the clr type of this edm type is nullable - Returns the corresponding edm type reference for the given edm type. - - - - Returns the full name for the given edm type - - EdmType instance. - the full name of the edmType. - - - - Returns MethodInfo instance for a generic type retrieved by using and gets - element type for the provided . - - starting type - the generic type definition to find - the method to search for - the element type for if found - element types - - - Gets a delegate that can be invoked to add an item to a collection of the specified type. - Type of list to use. - The delegate to invoke. - - - - Gets the Add method to add items to a collection of the specified type. - - Type for the collection. - The element type in the collection if found; null otherwise. - The method to invoke to add to a collection of the specified type. - - - - get concrete type that implements the genericTypeDefinition - - starting type - the generic type definition to find - concrete type that implementats the generic type - - - - Is the type an Entity Type? - - Type to examine - The client model. - bool indicating whether or not entity type - - - - Is the type or element type (in the case of nullableOfT or IEnumOfT) a Entity Type? - - Type to examine - bool indicating whether or not entity type - - - Checks whether the specified type is a DataServiceCollection type (or inherits from one). - Type to check. - true if the type inherits from DataServiceCollection; false otherwise. - - - Whether a variable of can be assigned null. - Type to check. - true if a variable of type can be assigned null; false otherwise. - - - Returns the list of properties defined on . - Type instance in question. - True to to get the properties declared on ; false to get all properties defined on . - Returns the list of properties defined on . - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - Returns the list of key properties defined on ; null if is complex. - - - - Returns the list of key properties defined on ; null if is complex. - - Type in question. - true if has any (declared or inherited) properties; otherwise false. - Returns the list of key properties defined on ; null if is complex. - - - Gets the type of the specified . - Member to get type of (typically PropertyInfo or FieldInfo). - The type of property or field type. - - - - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - Property in question. - DataServiceKeyAttribute instance. - Returns the KeyKind if is declared as a key in or it follows the key naming convension. - - - - Checks whether the specified is a - closed constructed type of the generic type. - - Type to check. - Generic type for checkin. - true if is a constructed type of . - The check is an immediate check; no inheritance rules are applied. - - - - Determines whether the declared on - overrides a (virtual/abstract) property of a base type. - - The declaring type of the property. - The property to check. - true if overrides a property on a base types; otherwise false. - - - - Enumeration for the kind of key - - - - If this is not a key - - - If the key property name was equal to ID - - - If the key property name was equal to TypeName+ID - - - if the key property was attributed - - - - Caches wire type names and their mapped client CLR types. - - - - cache <T> and wireName to mapped type - - - - resolve the wireName/userType pair to a CLR type - - type name sent by server - type passed by user or on propertyType from a class - typeof context for strongly typed assembly - mapped clr type - - - - is the type a visible subclass with correct name - - type name from server - the type from user for materialization or property type - type being tested - the previously discovered matching type - if the mapping is ambiguous - - - type + wireName combination - - - type - - - type name from server - - - equality comparer for TypeName - - - equality comparer for TypeName - left type - right type - true if x and y are equal - - - compute hashcode for TypeName - object to compute hashcode for - computed hashcode - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - Provides a string equality comparer for ASCII strings that is case-insensitive. - - - Map of ASCII character codes to their lowercase counterpart. - - This table actually goes into 8-bit characters, which means this is some - specific code page that tests confirm is a superset of ASCII. - - - - Static singleton instance. - - - - Compares two objects and returns a value indicating whether one is less than, equal to, - or greater than the other. - - First string to compare. - Second string to compare. - - A value smaller than zero if is less than - , zero if equal, or greater than zero if more. - - - and should have - all characters in the ASCII range, otherwise this method will thrown or - return results from some code page. - - - - - Determines whether the specified objects are equal. - - The first string to compare. - The second string to compare. - true if the specified objects are equal; otherwise, false - - and should have - all characters in the ASCII range, otherwise this method will thrown or - return results from some code page. - - - - - Returns a hash code for the specified object. - - The Object for which a hash code is to be returned. - A hash code for the specified object. - - - - This method returns a fast hash of the specified , - suitable only to quickly determine that two values are different. - - Value to get has code for. - A hash code for the specified value. - - - - Provides an HTTP-specific implementation of the WebRequest class - based on the Silverlight's Client HTTP stack - - - - - Provides an HTTP-specific implementation of the WebRequest class. - - - - Makes a request to a Uniform Resource Identifier (URI). - - - - Initializes a new WebRequest instance for the specified URI scheme. - - A Uri containing the URI of the requested resource. - The HttpStack setting. This can enforce usage of the specified HTTP stack. - A WebRequest descendant for the specified URI scheme. - - - Aborts the Request. - - - - When overridden in a descendant class, provides an asynchronous version of the - GetRequestStream method. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request. - - - - When overridden in a descendant class, begins an asynchronous request for an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - When overridden in a descendant class, returns a Stream for writing data to the Internet resource. - - The pending request for a stream. - A Stream to use to write request data. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A WebResponse that contains the response from the Internet resource. - - - - Determines if a request to the specified URI needs to use the Client HTTP stack - or if it should use the XHR HTTP stack. - - The uri for the request - true if the request needs to use the Client HTTP stack, otherwise false - - - - When overridden in a descendant class, gets or sets the content type of the request data being sent. - - - - - When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request. - - - - - When overridden in a descendant class, gets or sets the protocol method to use in this request. - - - - - When overridden in a descendant class, gets the URI of the Internet resource associated with the request. - - - - Releases all resources held onto by this object. - - - - Creates an empty instance of the System.Net.WebHeaderCollection with the right settings for this - HTTP request. The two SL stacks need a bit different way to create this object for backward compatibility. - - A new empty instance of the System.Net.WebHeaderCollection. - - - - Returns the underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - The underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Gets or sets the 'Accept' header. - - - Sets the 'Content-Length' header. - - - Gets or sets a value that indicates whether to buffer the data read from the Internet resource. - - - Gets and sets the authentication information used by each query created using the context object. - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - The System.Net request that this class is wrapping - - - - - Our wrapper for the header collection - - - - - Constructor - - The URI to create the request for - - - Cancels a request to an Internet resource. - - - - Provides an asynchronous version of the GetRequestStream method. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request. - - - - Begins an asynchronous request for an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request for a Stream object to use to write data. - - The pending request for a stream. - A Stream to use to write request data. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A WebResponse that contains the response from the Internet resource. - - - - Creates an empty instance of the System.Net.WebHeaderCollection with the right settings for this - HTTP request. The two SL stacks need a bit different way to create this object for backward compatibility. - - A new empty instance of the System.Net.WebHeaderCollection. - - - - Returns the underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - The underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Gets or sets the 'Accept' header. - - - Gets or sets the 'Content-Length' header. - - - Gets or sets a value that indicates whether to buffer the data read from the Internet resource. - - - - Gets or sets the content type of the request data being sent. - - - - - Gets the collection of header name/value pairs associated with the request. - - - - - Gets or sets the protocol method to use in this request. - - - - - Gets the URI of the Internet resource associated with the request. - - - - Gets and sets the authentication information used by each query created using the context object. - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - - Provides an HTTP-specific implementation of the WebResponse class. - Based on the Silverlight's Client HTTP stack. - - - - - Provides an HTTP-specific implementation of the WebResponse class. - - - - Provides a response from a Uniform Resource Identifier (URI). - - - When overridden by a descendant class, closes the response stream. - - - Gets the stream with the response contents. - The stream with the response contents. - - - Releases resources. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - When overridden in a descendant class, gets the content length of data being received. - - - When overridden in a derived class, gets the content type of the data being received. - - - Gets a specific header by name. - Name of header. - The value for the header. - - - - Gets the underlying if there is one, or null otherwise. - - The underlying response. - - - Gets the headers of the data being received. - - - Gets the request that originated this response. - - - Gets the status code for the data being received. - - - - The System.Net web response this object is wrapping - - - - - Wrapped header collection - - - - - The request which originated this response - - - - - Constructor - - The System.Net response object to wrap - The originating request - - - Closes the response stream. - - - Gets a specific header by name. - Name of header. - The value for the header. - - - - Gets the underlying if there is one, or null otherwise. - - - The underlying response. - - - - Gets the stream with the response contents. - The stream with the response contents. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Gets the content length of data being received. - - - Gets the content type of the data being received. - - - Gets the headers of the data being received. - - - Gets the request that originated this response. - - - Gets the status code for the data being received. - - - Contains protocol headers associated with a request or response. - - - Contains protocol headers associated with a request or response. - - - - Sets a specified header - - The request header to set - The value for the header - - - Gets the number of headers in the collection. - - - Collection of header names. - - - Gets or sets a named header. - Header name. - The header value. - - - Gets or sets a known request header. - Header to get or set. - The header value. - Request headers are always allowed, the checks should be removed. - - - - The System.Net header collection this object is wrapping - - - - - The System.Net WebRequest this collection is associated with. - This can be null - in which case no request is associated with the headers. - If set some additional headers are allowed - for example the Cookie header - - - - - Constructor for the header collection - - The System.Net header collection to wrap - - - - Constructor for the header collection - - The System.Net header collection to wrap. - The System.Net request this header collection is associated with. - - - Gets the number of headers in the collection. - - - Collection of header names. - - - Gets or sets a named header. - Header name. - The header value. - - - Gets or sets a known request header. - Header to get or set. - The header value. - Request headers are always allowed, the checks should be removed. - - - Use this class to record read-only information about headers. - - - Header name. - - - Whether direct access to header is allowed on header collections. - - - - Initializes a new instance with AllowMultiValues set to false. - - Header name. - Whether direct access to header is allowed on header collections. - - - This class provides a look-up table for header information. - - - Header information look-up table. - - - for unknown header names. - - - Looks up header information by its name. - Name of header to look for. Only ASCII characters are allowed. - - The header information for the specified , - or blank information if not found. - - - - Initializes the header information look-up table. - header information look-up table - - - Use this class to map header HTTP header names and values. - - - Header names, in the same order as HttpResponseHeader enumerationvalues. - - - Given the specified , returns the name. - Enumeration value to get name for. - The name for the specified header value. - - - - The HTTP headers that may be specified in a client request. - - - - - The Cache-Control header, which specifies directives that must be obeyed by all cache control mechanisms along the request/response chain. - - - - - The Connection header, which specifies options that are desired for a particular connection. - - - - - The Date header, which specifies the date and time at which the request originated. - - - - - The Keep-Alive header, which specifies a parameter used into order to maintain a persistent connection. - - - - - The Pragma header, which specifies implementation-specific directives that might apply to any agent along the request/response chain. - - - - - The Trailer header, which specifies the header fields present in the trailer of a message encoded with chunked transfer-coding. - - - - - The Transfer-Encoding header, which specifies what (if any) type of transformation that has been applied to the message body. - - - - - The Upgrade header, which specifies additional communications protocols that the client supports. - - - - - The Via header, which specifies intermediate protocols to be used by gateway and proxy agents. - - - - - The Warning header, which specifies additional information about that status or transformation of a message that might not be reflected in the message. - - - - - The Allow header, which specifies the set of HTTP methods supported. - - - - - The Content-Length header, which specifies the length, in bytes, of the accompanying body data. - - - - - The Content-Type header, which specifies the MIME type of the accompanying body data. - - - - - The Content-Encoding header, which specifies the encodings that have been applied to the accompanying body data. - - - - - The Content-Langauge header, which specifies the natural language(s) of the accompanying body data. - - - - - The Content-Location header, which specifies a URI from which the accompanying body may be obtained. - - - - - The Content-MD5 header, which specifies the MD5 digest of the accompanying body data, for the purpose of providing an end-to-end message integrity check. - - - - - The Content-Range header, which specifies where in the full body the accompanying partial body data should be applied. - - - - - The Expires header, which specifies the date and time after which the accompanying body data should be considered stale. - - - - - The Last-Modified header, which specifies the date and time at which the accompanying body data was last modified. - - - - - The Accept header, which specifies the MIME types that are acceptable for the response. - - - - - The Accept-Charset header, which specifies the character sets that are acceptable for the response. - - - - - The Accept-Encoding header, which specifies the content encodings that are acceptable for the response. - - - - - The Accept-Langauge header, which specifies that natural languages that are preferred for the response. - - - - - The Authorization header, which specifies the credentials that the client presents in order to authenticate itself to the server. - - - - - The Cookie header, which specifies cookie data presented to the server. - - - - - The Expect header, which specifies particular server behaviors that are required by the client. - - - - - The From header, which specifies an Internet E-mail address for the human user who controls the requesting user agent. - - - - - The Host header, which specifies the host name and port number of the resource being requested. - - - - - The If-Match header, which specifies that the requested operation should be performed only if the client's cached copy of the indicated resource is current. - - - - - The If-Modified-Since header, which specifies that the requested operation should be performed only if the requested resource has been modified since the indicated data and time. - - - - - The If-None-Match header, which specifies that the requested operation should be performed only if none of client's cached copies of the indicated resources are current. - - - - - The If-Range header, which specifies that only the specified range of the requested resource should be sent, if the client's cached copy is current. - - - - - The If-Unmodified-Since header, which specifies that the requested operation should be performed only if the requested resource has not been modified since the indicated date and time. - - - - - The Max-Forwards header, which specifies an integer indicating the remaining number of times that this request may be forwarded. - - - - - The Proxy-Authorization header, which specifies the credentials that the client presents in order to authenticate itself to a proxy. - - - - - The Referer header, which specifies the URI of the resource from which the request URI was obtained. - - - - - The Range header, which specifies the the sub-range(s) of the response that the client requests be returned in lieu of the entire response. - - - - - The TE header, which specifies the transfer encodings that are acceptable for the response. - - - - - The Translate header, a Microsoft extension to the HTTP specification used in conjunction with WebDAV functionality. - - - - - The User-Agent header, which specifies information about the client agent. - - - - The Wlc-Safe-Agent header. - - - The Slug header. - - - This enumeration provides maximum and minimum acceptable values for status codes. - - - Maximum valid value. - - - Minimum valid value. - - - Use this class to implement a NameValueCollection over a dictionary. - - - Initializes a new NameValueFromDictionary instance. - Initial capacity. - Equality comparer for keys. - - - Adds a new value for the specified key. - The key to add a value to. - The value to add to the key. - - - Gets the comma-separated list of values for the specified key name. - Name to get values for. - - The comma-separated list of values for the specified , - null if empty or not found. - - - This could be improved by pre-computed the length and building into a StringBuilder, - but we expect most headers to have a single value. - - - - Sets the value of the specified name to a single value. - Header name. - Value. - - - Utility methods for interacting with script objects. - - - Helper script text. - - - Object with helper functions as methods.. - - - Creates an invokable object. - Delegate for the callback. - An invokable object. - - - Invokes the 'open' method on a request object. - Request object. - Method name. - Target URI. - - - Sets the readyStateChanged callback handler. - Request to set callback on. - Callback. - - - Proxy for the browser XmlHttpRequest object. - - - JavaScript object proxy. - - - Initializes a new instance. - - - Releases all resources associated with this instance. - - - Returns the text for all response headers. - Response headers. - - - Reads the status code from the response. - After invocation, the status code from the response. - - - Invokes the 'open' method on a request object. - Target URI. - Method name. - Callback for the readyStateChanged method. - - - Reads the response as text. - Response text. - - - Sends the specified content. - Content to send (possibly null). - - - Sets a request header value. - Name of header to set. - Value to set. - - - Aborts the request. - - - Attempts to create the instance of the specified object. - Name of type to create. - Argument for the constructor, possibly null. - After invocation, a ScriptObject if successfully created one; false otherwise. - true if the request was created, false otherwise. - - - Creates a ScriptObject that encapsulates a native XmlHttpRequest object. - A native XmlHttpRequest object. - If a native XmlHttpRequest is not available - - - Whether the request has completed. - - - Use this class to perform basic string validation. - - - Whitespace characters that can be trimmed on HTTP values. - - - Characters which are not allowed on HTTP tokens. - - - Checks whether the specified has any disallowed characters. - Name to check. - true if is a header value; false otherwise. - The name with no whitespace characters if valid; otherwise an exception is thrown. - - - Checks whether the specified has any non-ASCII or control characters. - Token to check. - true if has any non-ASCII characters or control characters; false otherwise. - - - - The exception that is thrown when an error occurs while accessing the - network through a pluggable protocol. - - - - - The actual response which caused this exception (if available) - - - - - Initializes a new instance of the WebException class. - - - - - Initializes a new instance of the WebException class with the specified error message. - - The text of the error message. - - - - Initializes a new instance of the WebException class with the specified error message and nested exception. - - The text of the error message. - A nested exception. - - - - Initializes a new instance of the WebException class with the specified error message and nested exception. - - The text of the error message. - A nested exception. - The actual response which caused this exception (if available) - - - - Creates a new WebException with a generic error message. - - Location of internal error, typically "Type.Method". - A new WebException instance. - - - Gets the response that the remote host returned. - - - Type of header collection. - - - HTTP request. - - - Unknown collection type. - - - General web request. - - - Errors for parsing. - - - Generic status constant. - - - InvalidHeaderName status constant. - - - InvalidContentLength status constant. - - - IncompleteHeaderLine status constant. - - - CrLfError status constant. - - - InvalidChunkFormat status constant. - - - UnexpectedServerResponse status constant. - - - Section for a parsing error. - - - Generic section constant. - - - ResponseHeader section constant. - - - ResponsesectionLine section constant. - - - ResponseBody section constant. - - - Status of data parsing. - - - NeedMoreData status constant. - - - ContinueParsing status constant. - - - Done status constant. - - - Invalid status constant. - - - DataTooBig status constant. - - - Use this type to describe a parsing error. - - - Section for the error. - - - Error code. - - - - Provides an HTTP-specific implementation of the WebRequest class. - - - See http://www.w3.org/TR/XMLHttpRequest/ for the W3C's specification. - - - - Whether the request has been aborted. - - - Asynchronous result for the request. - - - Asynchronous result for the response. - - - Content stream. - - - Request headers. - - - Whether submission has taken place. - - - Method for the request. - - - Response for this request. - - - Browser-based request. - - - Target URI for the request. - - - Initializes a new instance. - URI for the request. - - - - Determines if the XHR can be used from the caller's context - - Returns true if the XHR request can be made from the caller's context. - - - Cancels a request to an Internet resource. - - - - Provides an asynchronous version of the GetRequestStream method. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request. - - - - Begins an asynchronous request for an Internet resource. - - The AsyncCallback delegate. - The state object for this request. - An IAsyncResult that references the asynchronous request for a response. - - - - Ends an asynchronous request for a Stream object to use to write data. - - The pending request for a stream. - A Stream to use to write request data. - - - - Ends an asynchronous request to an Internet resource. - - The pending request for a response. - A WebResponse that contains the response from the Internet resource. - - - - Creates an empty instance of the System.Net.WebHeaderCollection with the right settings for this - HTTP request. The two SL stacks need a bit different way to create this object for backward compatibility. - - A new empty instance of the System.Net.WebHeaderCollection. - - - Closes this request. - - - - Returns the underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - The underlying httpwebrequest instance if the httpStack is clientHttp. Otherwise returns null. - - - Gets a stream that can read the response. - Connection to close when the stream is response stream is closed. - A stream with the response. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Creates a new WebException for calls into an aborted request. - A new WebException instance. - - - Gets the status code and headers and initializes the response. - - - - This method is invoked when the readystate property of the XML - HTTP request changes. - - - - Calls the 'open' method on the XML HTTP request. - - - Gets or sets the 'Accept' header. - - - Gets or sets the 'Content-Length' header. - - - Gets or sets a value that indicates whether to buffer the data read from the Internet resource. - - - - Gets or sets the content type of the request data being sent. - - - - - Gets the collection of header name/value pairs associated with the request. - - - - - Gets or sets the protocol method to use in this request. - - - - - Gets the URI of the Internet resource associated with the request. - - - - Gets and sets the authentication information used by each query created using the context object. - - - Gets or sets a System.Boolean value that controls whether default credentials are sent with requests. - - - Asynchronousl result object for the request. - - - Delegate to call back on completion. - - - Whether the request has completed. - - - Whether the request has completed synchronously. - - - Whether the End method of the request has been called. - - - State object for callback. - - - Signaling object for completion. - - - Initializes a new HttpWebRequestAsyncResult instance. - Delegate to call back on completion. - State object for callback. - - - Releases all resources held onto by this object. - - - Sets the result to completed, signaling as necessary. - - - State object for callback. - - - Signaling object for completion. - - - Delegate to call back on completion. - - - Whether the request has completed synchronously. - - - Whether the End method of the request has been called. - - - Whether the request has completed. - - - Whether processing is in the 'Begin' phase. - - - - Use this class to implement a memory stream that can dispose of an object - when closed. - - - - The object to dispose of when this stream is closed. - - - - Initializes a new non-resizable instance of the DisposingMemoryStream - class based on the specified byte array. - - - The object to dispose of when this stream is closed. - - - The array of unsigned bytes from which to create the current stream. - - - - - Releases the unmanaged resources used by the MemoryStream class and - optionally releases the managed resources. - - - true to release both managed and unmanaged resources; false to release - only unmanaged resources. - - - - - Use this class to implement a memory stream which will not close itself - even when Close or Dispose is called on it. - - This is usefull when returning the stream to the user - and then using its methods to access the content. MemoryStream - normally doesn't allow access to its properties/methods when it's been closed. - - - - Closes the stream. - - - - - Internal method to truly dispose the stream. - This should be used once no more access to the stream is required. - - - - - Releases the unmanaged resources used by the MemoryStream class and - optionally releases the managed resources. - - - true to release both managed and unmanaged resources; false to release - only unmanaged resources. - - - - - Provides an HTTP-specific implementation of the WebResponse class. - - - - Response headers. - - - Request that originated this response. - - - Status code for the response. - - - Initializes a new HttpWebResponse instance. - Request that originated this response. - Status code for the response. - Unparsed response headers. - - - Closes the response stream. - - - Gets a specific header by name. - Name of header. - The value for the header. - - - - Gets the underlying if there is one, or null otherwise. - - - The underlying response. - - - - Gets the stream with the response contents. - The stream with the response contents. - - - Releases resources. - Whether the dispose is being called explicitly rather than by the GC. - - - Normalizes the status code based on browser-specific methods. - Status code to tweak. - - - - Checks if the charset parameter is specified in the content type. If yes, then set the parameter value - to UTF-8. If no, add the charset parameter value with UTF-8 value. - - value of the content type header. - same content type value, except with charset parameter value set to UTF-8. - - - Parses the specified header text. - Headers for the response. - - - Gets the content length of data being received. - - - Gets the content type of the data being received. - - - Gets the headers of the data being received. - - - Gets the request that originated this response. - - - Gets the status code for the data being received. - - - Sets the request for this response - internal only as we need the specific type here - - - Contains protocol headers associated with a request or response. - - - Initial capacity of headers. - - - Inner collection for headers. - - - Type of header collection. - - - - Initializes a new instance of the WebHeaderCollection class. - - - - - Initializes a new instance of the WebHeaderCollection class - of the specified . - - Type of header collection created. - - - Inserts a new header into the collection. - Header name. - Header value. - This method does no validation on its arguments. - - - Sets a header, checking that the value is valid for an HTTP header. - Header name. - Header value, possibly null or empty. - - - Parses headers incrementally. - Buffer containing the data to be parsed. - Size of the buffer. - Offset of data yet to be parsed. - Total length. - Maximum length. - Error code. - Parsing status. - - - - Throws an exception if the specified is restricted - for this collection type. - - Name of header to check. - - - Gets the number of headers in the collection. - - - Collection of header names. - - - Whether HTTP request headers are allowed. - - - Internal collection with headers and values. - - - Gets or sets a named header. - Header name. - The header value. - - - Gets or sets a known request header. - Header to get or set. - The header value. - Request headers are always allowed, the checks should be removed. - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The expected content type for a batch requests is "multipart/mixed;boundary=batch" not "{0}"." - - - - - A string like "The POST request expected a response with content. ID={0}" - - - - - A string like "The web response contained unexpected sections. ID={0}" - - - - - A string like "The ResolveEntitySet function must return a non-null Uri for the EntitySet '{0}', otherwise you must set the BaseUri property." - - - - - A string like "Unable to convert value '{0}' into a key string for a URI." - - - - - A string like "System.Data.Services.Client internal error {0}." - - - - - A string like "The stream named '{0}' cannot be modified because it does not have an edit-media link. Make sure that the stream name is correct and that an edit-media link for this stream is included in the entry element in the response." - - - - - A string like "The property '{0}' is not supported when MaxProtocolVersion is greater than '{1}'." - - - - - A string like "Media link object of type '{0}' is configured to use the MIME type specified in the property '{1}'. However, that property's value is null or empty." - - - - - A string like "Response version '{0}' is not supported. The only supported versions are: {1}." - - - - - A string like "The response version is {0}, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the version required by the response, and then retry the request. If the client does not support the required protocol version, then upgrade the client." - - - - - A string like "The request requires that version {0} of the protocol be used, but the MaxProtocolVersion of the data service context is set to {1}. Set the MaxProtocolVersion to the higher version, and then retry the operation." - - - - - A string like "The entity type {0} is marked with MediaEntry attribute but no save stream was set for the entity." - - - - - A string like "Can't use SetSaveStream on entity with type {0} which has a media entry property defined." - - - - - A string like "Calling SetSaveStream on an entity with state '{0}' is not allowed." - - - - - A string like "The entity does not have a stream named '{0}'. Make sure that the name of the stream is correct." - - - - - A string like "There is no self-link or edit-media link for the stream named '{0}'. Make sure that either the self-link or edit-media link is specified for this stream." - - - - - A string like "The serialized resource has a null value in key member '{0}'. Null values are not supported in key members." - - - - - A string like "An entity in the 'Added' state cannot be changed to '{0}', it can only be changed to 'Detached'." - - - - - A string like "The content-type value '{0}' is not supported." - - - - - A string like "{0}.{1} must return a non-null open property collection." - - - - - A string like "The open object property '{0}:{1}' is not defined." - - - - - A string like "{0} has multiple definitions for OpenObjectAttribute." - - - - - A string like "The closed type {0} does not have a corresponding {1} settable property." - - - - - A string like "{0} has key properties declared on a non-simple type." - - - - - A string like "{0} has key properties declared at different levels within its type hierarchy." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the MIME type property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MimeTypeProperty attribute that references the data property '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "Type '{0}' has a MediaEntry attribute that references a property called '{1}'. However, this type does not have a property '{1}'." - - - - - A string like "The type '{0}' has no settable properties." - - - - - A string like "The open type property '{0}' returned a null instance." - - - - - A string like "Resolving type from '{0}' that inherits from '{1}' is ambiguous." - - - - - A string like "The type '{0}' is not supported by the client library." - - - - - A string like "The type '{0}' has a property '{1}' which is a collection property. Collection properties are only supported in 'V3' version of the protocol and above." - - - - - A string like "Multiple types were found with the same name '{0}'. Type names must be unique." - - - - - A string like "The type '{0}' is a collection type. Collection types are only supported in 'V3' version of the protocol and above." - - - - - A string like "An item in the collection property '{0}' is not of the correct type. All items in the collection property must be of the collection item type." - - - - - A string like "A collection of item type '{0}' has an item which is not of the correct type. All items in the collection must be of the collection item type." - - - - - A string like "The property '{0}' is of entity type and it cannot be a property of the type '{1}', which is not of entity type. Only entity types can contain navigation properties." - - - - - A string like "The current value '{1}' type is not compatible with the expected '{0}' type." - - - - - A string like "Error processing response stream. Atom payload has a feed and the property '{0}' is not a collection." - - - - - A string like "Error processing response stream. Atom payload has an entry and the property '{0}' is a collection." - - - - - A string like "Error processing response stream. Server failed with following message:\r\n{0}" - - - - - A string like "The value of the property '{0}' is null. Properties that are a collection type of primitive or complex types cannot be null." - - - - - A string like "The value of the collection of item type '{0}' is null. A collection cannot have a null value." - - - - - A string like "The entity with identity '{0}' does not have a self-link or an edit-link associated with it. Please make sure that the entity has either a self-link or an edit-link associated with it." - - - - - A string like "The PropertyName property value '{1}' of EntityPropertyMappingAttribute on type '{0}' is not valid." - - - - - A string like "The PropertyName property value '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' is provided more than once." - - - - - A string like "The property '{0}' provided at the end of the PropertyName property of the EntityPropertyMappingAttribute on a resource type is not a primitive type." - - - - - A string like "The property '{0}' on type '{1}' is not present or is inaccessible." - - - - - A string like "The property '{0}' on the type '{1}' is of the type 'DataServiceStreamLink'. Stream properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a spatial type. Spatial type properties cannot be mapped with an entity property mapping." - - - - - A string like "The property '{0}' on the type '{1}' is a collection. Collection properties cannot be mapped with an entity property mapping." - - - - - A string like "The TargetName property path '{0}' set in the EntityPropertyMappingAttribute is not valid." - - - - - A string like "The attribute identifier '{0}' is provided in the middle of the TargetName property of EntityPropertyMappingAttribute." - - - - - A string like "The TargetName property '{0}' on more than one EntityPropertyMappingAttribute on resource type '{1}' have the same value. Conflicting properties are '{2}' and '{3}'." - - - - - A string like "Character set '{0}' is not supported." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it contained escape characters even though it was not quoted." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because it terminated with escape character. Escape characters must always be followed by a character in a parameter value." - - - - - A string like "Value for MIME type parameter '{0}' is incorrect because the closing quote character could not be found while the parameter value started with a quote character." - - - - - A string like "The expression type {0} is not supported." - - - - - A string like "Could not convert constant {0} expression to string." - - - - - A string like "The method '{0}' is not supported." - - - - - A string like "The unary operator '{0}' is not supported." - - - - - A string like "The binary operator '{0}' is not supported." - - - - - A string like "The constant for '{0}' is not supported." - - - - - A string like "The member access of '{0}' is not supported." - - - - - A string like "Can't cast to unsupported type '{0}'" - - - - - A string like "The expression {0} is not supported." - - - - - A string like "Error translating Linq expression to URI: {0}" - - - - - A string like "Can't add duplicate query option '{0}'." - - - - - A string like "Can't add query option '{0}' because it would conflict with the query options from the translated Linq expression." - - - - - A string like "Can't add query option '{0}' because it begins with reserved character '$'." - - - - - A string like "Referencing public field '{0}' not supported in query option expression. Use public property instead." - - - - - A string like "The {0} query option cannot be specified after the {1} query option." - - - - - A string like "Cannot initialize an instance of entity type '{0}' because '{1}' and '{2}' do not refer to the same source entity." - - - - - A string like "The expression '{0}' is not a valid expression for navigation path. The only supported operations inside the lambda expression body are MemberAccess and TypeAs. The expression must contain at least one MemberAccess and it cannot end with TypeAs." - - - - - A string like "Initializing instances of the entity type {0} with the expression {1} is not supported." - - - - - A string like "Constructing or initializing instances of the type {0} with the expression {1} is not supported." - - - - - A string like "Cannot assign the value from the {0} property to the {1} property. When projecting results into a entity type, the property names of the source type and the target type must match for the properties being projected." - - - - - A string like "The collection property '{0}' cannot be used in an 'orderby' query expression. Collection properties are not supported by the 'orderby' query option." - - - - - A string like "The collection property '{0}' cannot be used in a 'where' query expression. Collection properties are only supported as the source of 'any' or 'all' methods in a 'where' query option." - - - - - A string like "Navigation to members of the collection property '{0}' in a 'select' query expression is not supported." - - - - - A string like "The property '{0}' of type 'DataServiceStreamLink' cannot be used in 'where' or 'orderby' query expressions. Properties of type 'DataServiceStreamLink' are not supported by these query options." - - - - - A string like "Unsupported expression '{0}' in '{1}' method. Expression cannot end with TypeAs." - - - - - A string like "The method '{0}' is not supported when MaxProtocolVersion is less than '{1}'." - - - - - A string like "The type '{0}' is not an entity type. The target type for a TypeAs operator must be an entity type." - - - - - A string like "The source parameter for the '{0}' method has to be either a navigation or a collection property." - - - - - A string like "The method '{0}' is not supported by the 'orderby' query option." - - - - - A string like "The DataServiceCollection to be tracked must contain entity typed elements with at least one key property. The element type '{0}' does not have any key property." - - - - - A string like "Setting an instance of DataServiceCollection to an entity property is disallowed if the instance is already being tracked. Error occurred on property '{0}' for entity type '{1}'." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by DataServiceCollection." - - - - - A string like "Unexpected action '{0}' on the OnCollectionChanged event raised by a collection object of type '{1}'." - - - - - A string like "Null values are disallowed during '{0}' operations on DataServiceCollection." - - - - - A string like "A value provided during '{0}' operation on DataServiceCollection is not of an entity type with key." - - - - - A string like "Entity set name has not been provided for an entity of type '{0}'." - - - - - A string like "An attempt was made to add entity of type '{0}' to a collection in which the same entity already exists." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type '{0}' does not implement the INotifyPropertyChanged interface." - - - - - A string like "An attempt to track an entity or complex type failed because the entity or complex type contains a collection property of type '{0}' that does not implement the INotifyCollectionChanged interface." - - - - - A string like "An attempt to track a complex object of type '{0}' failed because the complex object is already being tracked." - - - - - A string like "An attempt to track a collection object of type '{0}' failed because the collection object is already being tracked." - - - - - A string like "The null value from property '{0}' cannot be assigned to a type '{1}'." - - - - - A string like "An entry of type '{0}' cannot be added to a collection that contains instances of type '{1}'. This may occur when an existing entry of a different type has the same identity value or when the same entity is projected into two different types in a single query." - - - - - A string like "An entry returned by the navigation property '{0}' is null and cannot be initialized. You should check for a null value before accessing this property." - - - - - A string like "An entry that contains the data required to create an instance of type '{0}' is null and cannot be initialized. You should check for a null value before accessing this entry." - - - - - A string like "An entity of type '{0}' cannot be projected because there is already an instance of type '{1}' for '{2}'." - - - - - A string like "The expected property '{0}' could not be found while processing an entry. Check for null before accessing this property." - - - - - A string like "Property '{0}' is not an entity." - - - - - A string like "Collection property '{0}' cannot be created because the type '{1}' does not have a public parameterless constructor." - - - - - A string like "The element '{0}' is not a valid collection item. The name of the collection item element must be 'element' and must belong to the 'http://schemas.microsoft.com/ado/2007/08/dataservices' namespace." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is an entity type, but the type in the response payload does not represent an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "There is a type mismatch between the client and the service. Type '{0}' is not an entity type, but the type in the response payload represents an entity type. Please ensure that types defined on the client match the data model of the service, or update the service reference on the client." - - - - - A string like "Materialization of top level collection expected ICollection<>, but actual type was {0}." - - - - - A string like "The response payload is a not a valid response payload. Please make sure that the top level element is a valid Atom or JSON element or belongs to '{0}' namespace." - - - - - A string like "The response content type '{0}' is not currently supported." - - - - - A string like "Cannot materialize the results into a collection type '{0}' because it does not have a parameterless constructor." - - - - - A string like "Cannot materialize a collection of a primitives or complex without the type '{0}' being a collection." - - - - - A string like "A circular loop was detected while serializing the property '{0}'. You must make sure that loops are not present in properties that return a collection or complex type." - - - - - A string like "A circular loop was detected while serializing the complex type '{0}'. You must make sure that loops are not present in a collection or a complex type." - - - - - A string like "The operation parameter named '{0}' has a collection item of Edm type kind '{1}'. A collection item must be either a primitive type or a complex Edm type kind." - - - - - A string like "The operation parameter named '{0}' has a null collection item. The items of a collection must not be null." - - - - - A string like "The operation parameter named '{0}' was of Edm type kind '{1}'. An operation parameter must be either a primitive type, a complex type or a collection of primitive or complex types." - - - - - A string like "The parameter alias '{0}' was not present in the request URI. All parameters passed as alias must be present in the request URI." - - - - - A string like "An internal error '{0}' occurred." - - - - - A string like "The entity set '{0}' doesn't have the 'OData.EntitySetUri' annotation. This annotation is required." - - - - - A string like "The entity set '{0}' has a URI '{1}' which has no path segments. An entity set URI suffix cannot be appended to a URI without path segments." - - - - - A string like "Neither the 'OData.EntityInstanceUri' nor the 'OData.EntitySetUriSuffix' annotation was found for entity set '{0}'. One of these annotations is required." - - - - - A string like "The type '{0}' was found for a primitive value. In OData, the type '{0}' is not a supported primitive type." - - - - - A string like "Incompatible primitive type kinds were found. The type '{0}' was found to be of kind '{2}' instead of the expected kind '{1}'." - - - - - A string like "Incompatible primitive type kinds were found. Found type kind '{0}' instead of the expected kind '{1}'." - - - - - A string like "A value with primitive kind '{0}' cannot be converted into a primitive object value." - - - - - A string like "Internal error at '{0}'." - - - - - A string like "Internal error at '{0}' for argument '{1}'." - - - - - A string like "Not all requests in the batch had a response." - - - - - A string like "Expected an absolute, well formed http URL without a query or fragment." - - - - - A string like "You must set the BaseUri property before you perform this operation." - - - - - A string like "The Uri that is returned by the ResolveEntitySet function must be an absolute, well-formed URL with an "http" or "https" scheme name and without any query strings or fragment identifiers." - - - - - A string like "Because the requestUri is a relative Uri, you must set the BaseUri property on the DataServiceContext." - - - - - A string like "The identity value specified by either the Atom id element or the DataServiceId header must be an absolute URI." - - - - - A string like "The 'Location' header value specified in the response must be an absolute URI." - - - - - A string like "One of the link's resources failed to insert." - - - - - A string like "An error occurred for this query during batch execution. See the inner exception for details." - - - - - A string like "Expected a relative URL path without query or fragment." - - - - - A string like "Changes cannot be saved as a batch when an entity has one or more streams associated with it. Retry the SaveChanges operation without enabling the SaveChangesOptions.Batch and the SaveChangesOptions.BatchWithIndependentOperations options." - - - - - A string like "This operation requires the entity be of an Entity Type, and has at least one key property." - - - - - A string like "This operation requires the entity to be of an Entity Type, either mark its key properties, or attribute the class with DataServiceEntityAttribute" - - - - - A string like "The context is not currently tracking the entity." - - - - - A string like "The context is already tracking the entity." - - - - - A string like "The context is already tracking a different entity with the same resource Uri." - - - - - A string like "The current object did not originate the async result." - - - - - A string like "The asynchronous result has already been completed." - - - - - A string like "The operation has been canceled." - - - - - A string like "The context can not load the related collection or reference for objects in the added state." - - - - - A string like "One or both of the ends of the relationship is in the added state." - - - - - A string like "One or both of the ends of the relationship is in the deleted state." - - - - - A string like "The context is already tracking the relationship." - - - - - A string like "The sourceProperty is not a reference or collection of the target's object type." - - - - - A string like "AddLink and DeleteLink methods only work when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works when the sourceProperty is a collection." - - - - - A string like "AddRelatedObject method only works if the source entity is in a non-deleted state." - - - - - A string like "SetLink method only works when the sourceProperty is not a collection." - - - - - A string like "Saving entities with the [MediaEntry] attribute is not currently supported in batch mode. Use non-batched mode instead." - - - - - A string like "Unexpected result (<= 0) from stream.Read() while reading raw data for this property." - - - - - A string like "Attempt to delete a link between two objects failed because the identity of the target object of the link depends on the source object of the link." - - - - - A string like "The ContentType value for a named stream cannot be null or an empty string." - - - - - A string like "This operation requires that the specified entity be a Media Link Entry and that the ReadStreamUri be available. However, the specified entity either is not a Media Link Entry or does not have a valid ReadStreamUri value. If the entity is a Media Link Entry, re-query the data service for this entity to obtain a valid ReadStreamUri value." - - - - - A string like "There is no edit-media link for the entity's media stream. Make sure that the edit-media link is specified for this stream." - - - - - A string like "The response should have both 'Location' and 'DataServiceId' headers or the response should not have any of these headers." - - - - - A string like "OperationParameter of type BodyOperationParameter cannot be specified when the HttpMethod is set to GET." - - - - - A string like "The Name property of an OperationParameter must be set to a non-null, non-empty string." - - - - - A string like "Multiple uri operation parameters were found with the same name. Uri operation parameter names must be unique." - - - - - A string like "Multiple body operation parameters were found with the same name. Body operation parameter names must be unique." - - - - - A string like "The HttpMethod must be GET or POST." - - - - - A string like "EndExecute overload for void service operations and actions received a non-void response from the server." - - - - - A string like "The operation parameters array contains a null element which is not allowed." - - - - - A string like "An implementation of ODataEntityMetadataBuilder is required, but a null value was returned from GetEntityMetadataBuilder." - - - - - A string like "SendingRequest is a deprecated event. If using BuildingRequest, you cannot use SendingRequest. Use SendingRequest2 instead." - - - - - A string like "The ChangeState method does not support the 'Added' state because additional information is needed for inserts. Use either AddObject or AddRelatedObject instead." - - - - - A string like "The entity's state can only be changed to 'Modified' if it is currently 'Unchanged'." - - - - - A string like "DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property must not return a null value. Please return a non-null value for this property." - - - - - A string like "SendingRequest cannot be used in combination with the DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property. Please use SendingRequest2 with DataServiceContext.Configurations.RequestPipeline.OnMessageCreating property instead." - - - - - A string like "The ReadingEntity and WritingEntity events are only supported when using the Atom format. Use the Atom format or remove all registered handlers for these events before enabling another format." - - - - - A string like "When you call the UseJson method without a parameter, you must use the LoadServiceModel property to provide a valid IEdmModel instance." - - - - - A string like "UseJson is not supported when the MaxProtocolVersion is set to less than V3. This JSON format is only supported by OData v3 or a later version." - - - - - A string like "To use the JSON format, you must first call DataServiceContext.Format.UseJson() and supply a valid service model." - - - - - A string like "Multiple implementations of ICollection<T> is not supported." - - - - - A string like "Collection properties of a collection type are not supported." - - - - - A string like "An error occurred while processing this request." - - - - - A string like "Only a single enumeration is supported by this IEnumerable." - - - - - A string like "Error processing response stream. Element value interspersed with a comment is not supported." - - - - - A string like "Error processing response stream. The XML element contains mixed content." - - - - - A string like "Error processing response stream. Atom payload has a link, local object has a simple value." - - - - - A string like "The response to this POST request did not contain a 'location' header. That is not supported by this client." - - - - - A string like "Error processing response stream. Missing id element in the response." - - - - - A string like "An item in the collection property has a null value. Collection properties that contain items with null values are not supported." - - - - - A string like "A collection property of primitive types cannot contain an item of a complex type." - - - - - A string like "A collection property of complex types cannot contain an item of a primitive type." - - - - - A string like "Content-Type header value missing." - - - - - A string like "Media type is missing a parameter value." - - - - - A string like "Media type requires a ';' character before a parameter definition." - - - - - A string like "Media type requires a '/' character." - - - - - A string like "Media type requires a subtype definition." - - - - - A string like "Media type is unspecified." - - - - - A string like "Count value is not part of the response stream." - - - - - A string like "The top level link is only available after the response has been enumerated." - - - - - A string like "The collection is not part of the current entry" - - - - - A string like "This response does not contain any nested collections. Use null as Key instead." - - - - - A string like "GetStream method is not supported." - - - - - A string like "Empty string." - - - - - A string like "Empty array." - - - - - A string like "Array contains a null element." - - - - - A string like "An operation between an expression and a type is not supported." - - - - - A string like "The conditional expression is not supported." - - - - - A string like "The parameter expression is not supported." - - - - - A string like "Lambda Expressions not supported." - - - - - A string like "New Expressions not supported." - - - - - A string like "Member Init Expressions not supported." - - - - - A string like "List Init Expressions not supported." - - - - - A string like "New Array Expressions not supported." - - - - - A string like "Invocation Expressions not supported." - - - - - A string like "Can only specify query options (orderby, where, take, skip) after last navigation." - - - - - A string like "Expand query option not allowed." - - - - - A string like "Individual properties can only be selected from a single resource or as part of a type. Specify a key predicate to restrict the entity set to a single instance or project the property into a named or anonymous type." - - - - - A string like "Multiple key predicates cannot be specified for the same entity set." - - - - - A string like "Custom query option not allowed." - - - - - A string like "Cannot specify query options (orderby, where, take, skip, count) on single resource." - - - - - A string like "Cannot add count option to the resource set." - - - - - A string like "Cannot add count option to the resource set because it would conflict with existing count options." - - - - - A string like "Can only specify 'select' query option after last navigation." - - - - - A string like "Cannot translate multiple Linq Select operations in a single 'select' query option." - - - - - A string like "Construction of entity type instances must use object initializer with default constructor." - - - - - A string like "Referencing of local entity type instances not supported when projecting results." - - - - - A string like "Can only project the last entity type in the query being translated." - - - - - A string like "Cannot create projection while there is an explicit expansion specified on the same query." - - - - - A string like "The target type for an OfType filter could not be determined." - - - - - A string like "Non-redundant type filters (OfType<T>, C# 'as' and VB 'TryCast') can only be used once per resource set." - - - - - A string like "The expression 'TypeAs' is not supported when MaxProtocolVersion is less than '3.0'." - - - - - A string like "The '$format' query option is not supported. Use the DataServiceContext.Format property to set the desired format." - - - - - A string like "DataServiceKey attribute must specify at least one property name." - - - - - A string like "Target collection for the Load operation must have an associated DataServiceContext." - - - - - A string like "The tracking of DataServiceCollection can not be stopped for child collections." - - - - - A string like "This operation is only supported on collections that are being tracked." - - - - - A string like "The DataServiceContext to which the DataServiceCollection instance belongs could not be determined. The DataServiceContext must either be supplied in the DataServiceCollection constructor or be used to create the DataServiceQuery or QueryOperationResponse object that is the source of the items in the DataServiceCollection." - - - - - A string like "An item could not be added to the collection. When items in a DataServiceCollection are tracked by the DataServiceContext, new items cannot be added before items have been loaded into the collection." - - - - - A string like "A previous LoadAsync operation has not yet completed. You cannot call the LoadAsync method on the DataServiceCollection again until the previous operation has completed." - - - - - A string like "The LoadAsync method cannot be called when the DataServiceCollection is not a child collection of a related entity." - - - - - A string like "Only a typed DataServiceQuery object can be supplied when calling the LoadAsync method on DataServiceCollection." - - - - - A string like "Add/Update/Delete operation cannot be performed on a child entity, if the parent entity is already detached." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but none was found." - - - - - A string like "Expected exactly one Atom entry in the response from the server, but more than one was found." - - - - - A string like "Expected an Atom feed or entry in the response from the server, but found an unexpected element instead." - - - - - A string like "A DataServiceCollection can only contain entity types. Primitive and complex types cannot be contained by this kind of collection." - - - - - A string like "Reset should never be called for collection reader in an internal enumerable." - - - - - A string like "This target framework does not enable you to directly enumerate over a data service query. This is because enumeration automatically sends a synchronous request to the data service. Because this framework only supports asynchronous operations, you must instead call the BeginExecute and EndExecute methods to obtain a query result that supports enumeration." - - - - - A string like "Only instances of HttpWebRequest are currently allowed for this property. Other subtypes of WebRequest are not supported." - - - - - A string like "This web request was aborted." - - - - - A string like "The DataServiceContext.Credentials property can only be set when you are using the Silverlight Client HTTP implementation. To use this implementation, set the DataServiceContext.HttpStack property to a value of ClientHttp." - - - - - A string like "The DataServiceContext.UseDefaultCredentials property cannot be set to false when you are using the XMLHTTP implementation. To use non-default authentication credentials, you must set the DataServiceContext.HttpStack property to a value of ClientHttp to guarantee that the Silverlight Client HTTP implementation is used" - - - - - A string like "Parameters of type DataServiceQuery<T> can not be used as the input enumerators for DataServiceCollection. Try using result of DataServiceQuery<T>.EndExecute instead." - - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/de/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/de/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index c6d3a37d7..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/de/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/es/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/es/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 7563b9ffe..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/es/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/fr/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/fr/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index c52657517..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/fr/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/it/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/it/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 6e8f477ad..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/it/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ja/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ja/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 25d1a5bc2..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ja/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ko/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ko/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 70e53eed2..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ko/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ru/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ru/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 59cd839a6..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/ru/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index ad2e56e7b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/zh-Hans/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.Services.Client.resources.dll b/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.Services.Client.resources.dll deleted file mode 100644 index 0381b1c7a..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Data.Services.Client.5.6.4/lib/sl4/zh-Hant/Microsoft.Data.Services.Client.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351.nupkg deleted file mode 100644 index 0268854d0..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.XML b/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.XML deleted file mode 100644 index 66bd781e8..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.XML +++ /dev/null @@ -1,1701 +0,0 @@ - - - - Microsoft.IdentityModel.Protocol.Extensions - - - - - base class for authentication protocol messages. - - - - - Initializes a default instance of the class. - - - - - Initializes an instance of class with a specific issuerAddress. - - - - - Builds a form post using the current IssuerAddress and the parameters that have been set. - - html with head set to 'Title', body containing a hiden from with action = IssuerAddress. - - - - Builds a Url using the current IssuerAddress and the parameters that have been set. - - UrlEncoded string. - Each parameter <Key, Value> is first transformed using . - - - - Returns a parameter. - - The parameter name. - The value of the parameter or null if the parameter does not exists. - parameter is null - - - - Removes a parameter. - - The parameter name. - if 'parameter' is null or empty. - - - - Sets a parameter to the Parameters Dictionary. - - The parameter name. - The value to be assigned to parameter. - if 'parameterName' is null or empty. - If null is passed as value and a parameter exists, that parameter is removed. - - - - Sets a collection parameters. - - - - - - Gets or sets the issuer address. - - The 'value' is null. - - - - Gets the message parameters as a Dictionary. - - - - - Gets or sets the title used when constructing the post string. - - if the 'value' is null. - - - - Gets or sets the script button text used when constructing the post string. - - if the 'value' is null. - - - - Gets or sets the text used when constructing the post string that will be displayed to used if script is disabled. - - if the 'value' is null. - - - - This type is for users that want a fixed and static Configuration. - In this case, the configuration is obtained and passed to the constructor. - - must be a class. - - - - Interface that defines a model for retrieving configuration data. - - must be class - - - - Retrieve the current configuration, refreshing and/or caching as needed. - This should throw if the configuration cannot be retrieved, instead of returning null. - - - - - - - Indicate that the configuration may be stale (as indicated by failing to process incoming tokens). - - - - - Initializes an new instance of with a Configuration instance. - - Configuration of type or . - - - - Obtains an updated version of Configuration. - - . - Configuration of type T. - - - - For the this type, this is a no-op - - - - - Interface that defines a document retriever that returns the document as a string. - - - - - Obtains a document from an address. - - location of document. - . - document as a string. - - - - Represents a Json Web Key as defined in http://tools.ietf.org/html/draft-ietf-jose-json-web-key-25. - - - - - Initializes an new instance of . - - - - - Initializes an new instance of from a json string. - - a string that contains JSON Web Key parameters in JSON format. - - - - Creates an instance of . - - that contains JSON Web Key parameters. - - - - Gets or sets the 'alg' (KeyType). - - - - - Gets or sets the E 'e' - - - - - Gets or sets the 'key_ops' (Key Operations). - - - - - Gets or sets the 'kid' (Key ID). - - - - - Gets or sets the 'kty' (Key Type). - - - - - Gets or sets the modulus 'n' - - - - - Gets the 'x5c' collection (X.509 Certificate Chain). - - - - - Gets or sets the 'k5t' (X.509 Certificate SHA-1 thumbprint). - - - - - Gets or sets the 'x5u' (X.509 URL). - - - - - Gets or sets the 'use' (Public Key Use). - - - - - Manages the retrieval of Configuration data. - - must be a class. - - - - 5 days is the default time interval that afterwards, will obtain new configuration. - - - - - 30 seconds is the default time interval that must pass for to obtain a new configuration. - - - - - 5 minutes is the minimum value for automatic refresh. can not be set less than this value. - - - - - 1 second is the minimum time interval that must pass for to obtain new configuration. - - - - - Instantiaties a new that manages automatic and controls refreshing on configuration data. - - the address to obtain configuration. - - - - Instantiaties a new that manages automatic and controls refreshing on configuration data. - - the address to obtain configuration. - the client to use when obtaining configuration. - - - - Instantiaties a new that manages automatic and controls refreshing on configuration data. - - the address to obtain configuration. - the that reaches out to obtain the configuration. - - - - Gets the current that is used to obtain configuration. - - Configuration of type T. - - - - Obtains an updated version of Configuration. - - Configuration of type T. - If the time since the last call is less than then is not called and the current Configuration is returned. - - - - Obtains an updated version of Configuration. - - CancellationToken - Configuration of type T. - If the time since the last call is less than then is not called and the current Configuration is returned. - - - - Requests that then next call to obtain new configuration. - if the last refresh was greater than then the next call to will retrieve new configuration. - if == then this method is essentially an no-op. - - - - - Gets or sets the that controls how often an automatic metadata refresh should occur. - - - - - The minimum time between retrievals, in the event that a retrieval failed, or that a refresh was explicitly requested. - - - - - Retrieves a populated given an address. - - - - - Retrieves a populated given an address. - - address of the discovery document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the discovery document. - the to use to read the discovery document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the discovery document. - the to use to read the discovery document - . - A populated instance. - - - - Contains a collection of that can be populated from a json string. - - provides support for http://tools.ietf.org/html/draft-ietf-jose-json-web-key-27#section-5 - - - - Initializes an new instance of . - - - - - Initializes an new instance of from a json string. - - a json string containing values. - if 'json' is null or whitespace. - - - - Creates an instance of . - - a dictionary containing a 'Keys' element which is a Dictionary of JsonWebKeys. - if 'dictionary' is null. - - - - Gets the Keys translated to . - - A for each 'X5c' that is composed from a single certificate. A NamedKeySecurityToken for each raw rsa public key. - - - - Gets the . - - - - - Defines a set of properties names - - - - - Property defined for 'check_session_iframe'. - - - - - Property defined for 'session state' - - - - - Well known endpoints for AzureActiveDirectory - - - - - Names for Json Web Key Values - - - - - Constants for JsonWebKeyUse (sec 4.2) - http://tools.ietf.org/html/draft-ietf-jose-json-web-key-27#section-4 - - - - - Constants for JsonWebAlgorithms "kty" Key Type (sec 6.1) - http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-27#section-6.1 - - - - - Parameter names for OpenIdConnect. - - - - - RequestTypes for OpenIdConnect. - - Can be used to determine the message type. - - - - Response modes for OpenIdConnect. - - - - - Response types for OpenIdConnect. - - - - - Specific scope values that are interesting to OpenID Connect. See http://openid.net/specs/openid-connect-messages-1_0.html#scopes - - - - - OpenIdProviderConfiguration Names - http://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata - - - - - Provides access to common OpenIdConnect request parameters. - - - - - Initializes a new instance of the class. - - - - - Initializes an instance of class with a specific issuerAddress. - - - - - Initializes a new instance of the class. - - an to copy. - if 'other' is null. - - - - Initializes a new instance of the class. - - Collection of key value pairs. - - - - Initializes a new instance of the class. - - Enumeration of key value pairs. - - - - Returns a new instance of with values copied from this object. - - A new object copied from this object - This is a shallow Clone. - - - - Creates an OpenIdConnect message using the current contents of this . - - The uri to use for a redirect. - - - - Creates a query string using the using the current contents of this . - - The uri to use for a redirect. - - - - Gets or sets the value for the AuthorizationEndpoint - - - - - Gets or sets 'access_Token'. - - - - - Gets or sets 'acr_values'. - - - - - Gets or sets 'claims_Locales'. - - - - - Gets or sets 'client_assertion'. - - - - - Gets or sets 'client_assertion_type'. - - - - - Gets or sets 'client_id'. - - - - - Gets or sets 'client_secret'. - - - - - Gets or sets 'code'. - - - - - Gets or sets 'display'. - - - - - Gets or sets 'domain_hint'. - - - - - Gets or sets 'error'. - - - - - Gets or sets 'error_description'. - - - - - Gets or sets 'error_uri'. - - - - - Gets or sets 'expires_in'. - - - - - Gets or sets 'grant_type'. - - - - - Gets or sets 'id_token'. - - - - - Gets or sets 'id_token_hint'. - - - - - Gets or sets 'identity_provider'. - - - - - Gets or sets 'iss'. - - - - - Gets or sets 'login_hint'. - - - - - Gets or sets 'max_age'. - - - - - Gets or sets 'nonce'. - - - - - Gets or sets 'password'. - - - - - Gets or sets 'post_logout_redirect_uri'. - - - - - Gets or sets 'prompt'. - - - - - Gets or sets 'redirect_uri'. - - - - - Gets or set the request type for this message - - This is helpful when sending differnt messages through a common routine, when extra parameters need to be set or checked. - - - - Gets or sets 'request_uri'. - - - - - Gets or sets 'response_mode'. - - - - - Gets or sets 'response_type'. - - - - - Gets or sets 'resource' - - - - - Gets or sets 'scope'. - - - - - Gets or sets 'session_state'. - - - - - Gets or sets 'state'. - - - - - Gets or sets 'target_link_uri'. - - - - - Gets or sets 'token'. - - - - - Gets or sets the value for the token endpoint. - - - - - Gets or sets 'token_type'. - - - - - Gets or sets 'ui_locales'. - - - - - Gets or sets 'user_id'. - - - - - Gets or sets 'username'. - - - - - Contains OpenIdConnect configuration that can be populated from a json string. - - - - - Initializes an new instance of . - - - - - Initializes an new instance of from a json string. - - a json string containing the metadata - if 'json' is null or whitespace. - - - - Initializes an new instance of from an string. - - a json containing the configuration data. - if 'dictionary' is null. - - - - Gets or sets the authorization endpoint. - - - - - Gets or sets the check_session_iframe. - - - - - Gets or sets the end session endpoint. - - - - - Gets the collection of 'id_token_signing_alg_values_supported'. - - - - - Gets or sets the 'issuer'. - - - - - Gets or sets the 'jwks_uri' - - - - - Gets or sets the - - - - - Gets the collection of 'response_types_supported'. - - - - - Gets the that the IdentityProvider indicates are to be used signing tokens. - - - - - Gets the that the IdentityProvider indicates are to be used signing tokens. - - - - - Gets the collection of 'subject_types_supported'. - - - - - Gets or sets the 'token_endpoint'. - - - - - Gets or sets the 'user_info_endpoint'. - - - - - This exception is thrown when an OpenIdConnect protocol handler encounters a protocol error. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when an OpenIdConnect protocol handler encounters an invalid chash. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when an OpenIdConnect protocol handler encounters an invalid nonce. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - A context that is used by a when validating a JwtSecurityToken. - to ensure it compliant with http://openid.net/specs/openid-connect-core-1_0.html#IDToken . - - - - - Creates an instance of - - - - - Gets or sets the 'authorizationcode'. - - - - - Gets or sets the 'nonce' - - - - - OpenIdConnectProtocolValidator can be used to ensure that a that was - obtained using openidconnect is compliant with http://openid.net/specs/openid-connect-core-1_0.html#IDToken . - - - - - Default for the how long the nonce is valid. - - default: 1 hour. - - - - Creates a new instance of , - - - - - Generates a value suitable to use as a nonce. - - a nonce - if is true then the 'nonce' will contain the Epoch time as the prefix, seperated by a '.'. - for example: 635410359229176103.MjQxMzU0ODUtMTdiNi00NzAwLWE4MjYtNTE4NGExYmMxNTNlZmRkOGU4NjctZjQ5OS00MWIyLTljNTEtMjg3NmM0NzI4ZTc5 - - - - Validates that a is valid as per http://openid.net/specs/openid-connect-core-1_0.html - - the to validate. - the that contains expected values. - if 'jwt' is null. - if 'validationContext' is null. - if the is missing any required claims as per: http://openid.net/specs/openid-connect-core-1_0.html#IDToken - and will be validated if they are non-null. - - - - Validates the 'authorizationCode' according to http://openid.net/specs/openid-connect-core-1_0.html section 3.3.2.10. - - a with a 'c_hash' claim that must match . If is null, the check is not made. - a that contains 'c_hash' to validate. - if 'jwt' is null. - if 'validationContext' is null. - if the 'c_hash' claim does not match as per http://openid.net/specs/openid-connect-core-1_0.html#CodeValidation . - if the hash algorithm defined in (default is JwtAlgorithms.RSA_SHA256) was unable to be created. - if the creation of the hash algorithm return a null instance. - if is null, then the 'c_hash' will not be validated. - - - - Validates that the contains the nonce. - - a with a 'nonce' claim that must match . - a that contains the 'nonce' to validate. - if 'jwt' is null. - if 'validationContext' is null. - if a'nonce' is not found in the and RequireNonce is true. - if is null and RequireNonce is true. - if the 'nonce' found in the doesn't match . - if is true and a timestamp is not: found, well formed, negatire or expired. - The timestamp is only validated if is true. - If is not-null, then a matching 'nonce' must exist in the . - - - - Gets the algorithm mapping between OpenIdConnect and .Net for Hash algorithms. - a that contains mappings from the JWT namespace http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26 to .Net. - - - - - Gets or set the defining how long a nonce is valid. - - if 'value' is less than or equal to 'TimeSpan.Zero'. - if is true, then the nonce timestamp is bound by DateTime.UtcNow + NonceLifetime. - - - - Gets or sets a value indicating if an 'acr' claim is required. - - - - - Gets or sets a value indicating if an 'amr' claim is required. - - - - - Gets or sets a value indicating if an 'auth_time' claim is required. - - - - - Gets or sets a value indicating if an 'azp' claim is required. - - - - - Get or sets if a nonce is required. - - - - - Gets or sets a value indicating if a 'sub' claim is required. - - - - - Gets or set logic to control if a nonce is prefixed with a timestamp. - - if is true then: - will return a 'nonce' with the Epoch time as the prefix, delimited with a '.'. - will require that the 'nonce' has a valid time as the prefix. - - - - - Constants related to SAML Tokens. - - - - - A derived that implements ISecurityTokenValidator, - which supports validating tokens passed as strings using . - - - - - - Initializes a new instance of . - - - - - Gets the token type identifier(s) supported by this handler. - - A collection of strings that identify the tokens this instance can handle. - - - - Reads the string as XML and looks for the an element or with namespace . - - The securitytoken. - (, ) - OR (, ). - - - - Creates the security token reference when the token is not attached to the message. - - The saml token. - Boolean that indicates if a attached or unattached - reference needs to be created. - A . - - - - Creates a from the Saml2 token. - - The Saml2SecurityToken. - the issuer value for each in the . - contains parameters for validating the token. - An IClaimIdentity. - - - - Creates a based on a information contained in the . - - The that has creation information. - A instance. - Thrown if 'tokenDescriptor' is null. - - - - Not supported, use when processing tokens. - - use . when processing tokens. - - - - Obsolete method, use to read a . - - not supported. - use use to read a . - - - - Obsolete method, use to read a . - - not supported. - use use to read a . - - - - Reads a SAML 2.0 token from the XmlReader. - - A reader positioned at a element. - Contains data and information needed for reading the token. - if 'reader' is null. - if 'validationParameters' is null. - An instance of a . - - - - Obsolete method, use . - - use . - - - - Reads and validates a well fromed Saml2 token. - - A Saml2 token. - Contains data and information needed for validation. - The that was validated. - 'securityToken' is null or whitespace. - 'validationParameters' is null. - 'securityToken.Length' > . - A generated from the claims in the Saml2 securityToken. - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - see for additional details. - - - - Validates the lifetime of a . - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - for additional details. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the (s) in the . - for additional details. - - - - Validates the was signed by a valid . - - The that signed the . - The to validate. - the current . - - - - Serializes to to a string. - - A . - - - - Serializes to XML a token of the type handled by this instance. - - The XML writer. - A token of type . - - - - Gets the token type supported by this handler. - - - - - Gets a value indicating whether this handler supports validation of tokens - handled by this instance. - v - 'True' if the instance is capable of SecurityToken - validation. - - - - Gets a value indicating whether the class provides serialization functionality to serialize the token handled - by this instance. - - true if the WriteToken method can serialize this token. - - - - Gets and sets the maximum size in bytes, that a will be processed. - - 'value' less than 1. - - - - A derived that implements ISecurityTokenValidator, - which supports validating tokens passed as strings using . - - - - - - Initializes an instance of - - - - - Reads the string as XML and looks for the an element with namespace . - - The securitytoken. - (, ). - - - - Creates claims from a Saml securityToken. - - A that will be used to create the claims. - the issuer value for each in the ./// - contains parameters for validating the securityToken. - A containing the claims from the . - - - - Creates a based on a information contained in the . - - The that has creation information. - A instance. - Thrown if 'tokenDescriptor' is null. - - - - Creates the security securityToken reference when the securityToken is not attached to the message. - - The saml securityToken. - Boolean that indicates if a attached or unattached - reference needs to be created. - A . - - - - Gets the token type identifier(s) supported by this handler. - - A collection of strings that identify the tokens this instance can handle. - - - - Not supported, use when processing tokens. - - use . when processing tokens. - - - - Obsolete method, use to read a . - - not supported. - use use to read a . - - - - Obsolete method, use to read a . - - no supported. - use use to read a . - - - - Reads a SAML 11 securityToken from the XmlReader. - - A reader positioned at a element. - Contains data and information needed for reading the securityToken. - An instance of a . - - - - Obsolete method, use . - - use . - - - - Reads and validates a well formed . - - A string containing a well formed securityToken. - Contains data and information needed for validation. - The that was validated. - 'securityToken' is null or whitespace. - 'validationParameters' is null. - 'securityToken.Length' > . - A generated from the claims in the Saml securityToken. - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - see for additional details. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the (s) in the . - for additional details. - - - - Validates the was signed by a valid . - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - for additional details. - - - - Validates the was signed by a valid . - - The that signed the . - The to validate. - the current . - - - - Serializes to to a string. - - A . - - - - Serializes to XML a securityToken of the type handled by this instance. - - The XML writer. - A securityToken of type . - - - - Gets a value indicating whether this handler supports validation of tokens - handled by this instance. - v - 'True' if the instance is capable of SecurityToken - validation. - - - - Gets a value indicating whether the class provides serialization functionality to serialize securityToken handled - by this instance. - - true if the WriteToken method can serialize this securityToken. - - - - Gets the securityToken type supported by this handler. - - - - - Gets and sets the maximum size in bytes, that a will be processed. - - 'value' less than 1. - - - - Resolves securitykeys, used when working with Saml1 and Saml2 tokens as the EnvelopingSignatureReader needs this - to find keys. - - - - - Creates a new instance of - - related security token. - required for validation. - - - - Returns a that matches the - - clause to match. - key to assign. - true if matched. - - - - Sets a that matches the - - clause to match. - token to assign. - throws . - - - - Sets a that matches the - - keyidentifier to match. - token to set. - true if matched. - - - - Extensions to that provide support for validating a security token - passed as a string and using . - - - - - Validates a securityToken passed as a string using - - uses extensions for (s) that can - validate from a string. - securityToken to validate. - that contain necessary validation coordinates. - a validated . - 'tokenHandlers' is null. - 'securityToken' is null. - 'validationParameters' is null. - A that represents the identity created when validating the securityToken. - - - - Gets the default supported by this runtime. - - A collection of - - - - Serializes the list of strings into string as follows: - 'str1','str2','str3' ... - - - The strings used to build a comma delimited string. - - - The single . - - - - - Constants for WsFederation actions. - - - - - Constants defined for WsFederation. - - - - - Constants for WsFederation Fault codes. - - - - - Defines the WsFederation Constants - - - - - Provides access to common WsFederation message parameters. - - - - - Creates a from the contents of a query string. - - query string to extract parameters. - An instance of . - If 'queryString' is null or whitespace, a default is returned. Parameters are parsed from . - - - - Creates a from the contents of a . - - uri string to extract parameters. - An instance of . - .IssuerAddress is NOT set/>. Parameters are parsed from . - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The endpoint of the token issuer. - - - - Initializes a new instance of the class. - - message to copy. - - - - Initializes a new instance of the class. - - Enumeration of key value pairs. - - - - Creates a 'wsignin1.0' message using the current contents of this . - - The uri to use for a redirect. - - - - Creates a 'wsignout1.0' message using the current contents of this . - - The uri to use for a redirect. - - - - Reads the 'wresult' and returns the embeded security token. - - the 'SecurityToken'. - - - - Gets a boolean representating if the is a 'sign-in-message'. - - - - - Gets a boolean representating if the is a 'sign-out-message'. - - - - - Gets or sets 'wa'. - - - - - Gets or sets 'wattr'. - - - - - Gets or sets 'wattrptr'. - - - - - Gets or sets 'wauth'. - - - - - Gets or sets 'Wct'. - - - - - Gets or sets 'wa'. - - - - - Gets or sets 'Wencoding'. - - - - - Gets or sets 'wfed'. - - - - - Gets or sets 'wfresh'. - - - - - Gets or sets 'whr'. - - - - - Gets or sets 'wp'. - - - - - Gets or sets 'wpseudo'. - - - - - Gets or sets 'wpseudoptr'. - - - - - Gets or sets 'wreply'. - - - - - Gets or sets 'wreq'. - - - - - Gets or sets 'wreqptr'. - - - - - Gets or sets 'wres'. - - - - - Gets or sets 'wresult'. - - - - - Gets or sets 'wresultptr'. - - - - - Gets or sets 'wtrealm'. - - - - - Contains WsFederation metadata that can be populated from a xml string. - - - - - Initializes an new instance of . - - - - - Gets or sets the token issuer. - - - - - Gets the that the IdentityProvider indicates are to be used signing tokens. - - - - - Gets or sets the Gets or sets the passive token endpoint. - - - - - Retrieves a populated given an address. - - - - - Retrieves a populated given an address. - - address of the metadata document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the metadata document. - the to use to read the metadata document. - . - A populated instance. - - - - Retrieves a populated given an address and an . - - address of the metadata document. - the to use to read the metadata document - . - A populated instance. - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.dll b/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.dll deleted file mode 100644 index 2e2a315de..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.pdb b/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.pdb deleted file mode 100644 index c4d183d00..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.IdentityModel.Protocol.Extensions.1.0.2.206221351/lib/net45/Microsoft.IdentityModel.Protocol.Extensions.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/Microsoft.Rest.ClientRuntime.1.8.2.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/Microsoft.Rest.ClientRuntime.1.8.2.nupkg deleted file mode 100644 index d0f26fa29..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/Microsoft.Rest.ClientRuntime.1.8.2.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/dnxcore50/Microsoft.Rest.ClientRuntime.dll b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/dnxcore50/Microsoft.Rest.ClientRuntime.dll deleted file mode 100644 index c099cccb4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/dnxcore50/Microsoft.Rest.ClientRuntime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/dnxcore50/Microsoft.Rest.ClientRuntime.xml b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/dnxcore50/Microsoft.Rest.ClientRuntime.xml deleted file mode 100644 index 28e97bb28..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/dnxcore50/Microsoft.Rest.ClientRuntime.xml +++ /dev/null @@ -1,1833 +0,0 @@ - - - - Microsoft.Rest.ClientRuntime - - - - - Basic Auth credentials for use with a REST Service Client. - - - - - Basic auth UserName. - - - - - Basic auth password. - - - - - Add the Basic Authentication Header to each outgoing request - - The outgoing request - A token to cancel the operation - - - - - Extensions for manipulating HTTP request and response objects. - - - - - Formats an HttpContent object as String. - - The HttpContent to format. - The formatted string. - - - - Get the content headers of an HtttRequestMessage. - - The request message. - The content headers. - - - - Get the content headers of an HttpResponseMessage. - - The response message. - The content headers. - - - - Returns string representation of a HttpRequestMessage. - - Request object to format. - The string, formatted into curly braces. - - - - Returns string representation of a HttpResponseMessage. - - Response object to format. - The string, formatted into curly braces. - - - - Converts given dictionary into a log string. - - The dictionary key type. - The dictionary value type. - The dictionary object. - The string, formatted into curly braces. - - - - Serializes HttpHeaders as Json dictionary. - - HttpHeaders - Json string - - - - Serializes HttpResponseHeaders and HttpContentHeaders as Json dictionary. - - HttpResponseMessage - Json string - - - - Exception thrown for an invalid response with custom error information. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Gets or sets the response object. - - - - - Initializes a new instance of the HttpOperationException class. - - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - Inner exception. - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations with response body. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations with a header response. - - - - - - Gets or sets the response header object. - - - - - Represents the base return type of all ServiceClient REST operations with response body and header. - - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response header object. - - - - - The IServiceClientTracingInterceptor provides useful information about cloud - operations. Interception is global and a tracing interceptor can be - added via TracingAdapter.AddTracingInterceptor. - - - - - Probe configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Enter a method. - - Method invocation identifier. - The instance with the method. - Name of the method. - Method parameters. - - - - Exit a method. Note: Exit will not be called in the event of an - error. - - Method invocation identifier. - Method return value. - - - - Trace information. - - The information to trace. - - - - Receive an HTTP response. - - Method invocation identifier. - The response instance. - - - - Send an HTTP request. - - Method invocation identifier. - The request about to be sent. - - - - Raise an error. - - Method invocation identifier. - The error. - - - - Interface used to group operations of a ServiceClient. - - Type of the ServiceClient. - - - - Gets a reference to the ServiceClient. - - - - - Interface to a source of access tokens. - - - - - Gets the authentication header with token. - - - - - Generic exception for Microsoft Rest Client. - - - - - Initializes a new instance of the RestException class. - - - - - Initializes a new instance of the RestException class. - - The exception message. - - - - Initializes a new instance of the RestException class. - - The exception message. - Inner exception. - - - - Http retry handler. - - - - - Initializes a new instance of the class. - Sets default retry policty base on Exponential Backoff. - - - - - Initializes a new instance of the class. Sets - the default retry policty base on Exponential Backoff. - - Inner http handler. - - - - Initializes a new instance of the class. - - Retry policy to use. - Inner http handler. - - - - Gets or sets retry policy. - - - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous - operation. Retries request if needed based on Retry Policy. - - The HTTP request message to send to the server. - A cancellation token to cancel operation. - Returns System.Threading.Tasks.Task<TResult>. The - task object representing the asynchronous operation. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - ServiceClient is the abstraction for accessing REST operations and their payload data types.. - - Type of the ServiceClient. - - - - Indicates whether the ServiceClient has been disposed. - - - - - Reference to the first HTTP handler (which is the start of send HTTP - pipeline). - - - - - Reference to the innermost HTTP handler (which is the end of send HTTP - pipeline). - - - - - Initializes a new instance of the ServiceClient class. - - - - - Initializes a new instance of the ServiceClient class. - - List of handlers from top to bottom (outer handler is the first in the list) - - - - Initializes ServiceClient using base HttpClientHandler and list of handlers. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Create a new instance of the root handler. - - HttpClientHandler created. - - - - Gets the HttpClient used for making HTTP requests. - - - - - Gets the UserAgent collection which can be augmented with custom - user agent strings. - - - - - Get the HTTP pipelines for the given service client. - - The client's HTTP pipeline. - - - - Sets retry policy for the client. - - Retry policy to set. - - - - Dispose the ServiceClient. - - - - - Dispose the HttpClient and Handlers. - - True to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - - Initializes HttpClient using HttpClientHandler. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Get the assembly version of a service client. - - The assembly version of the client. - - - - ServiceClientCredentials is the abstraction for credentials used by ServiceClients accessing REST services. - - - - - Initialize a ServiceClient instance for accessing REST APIs with these credentials. - - Type of ServiceClient. - The ServiceClient. - - - - Apply the credentials to the HTTP request. - - The HTTP request message. - Cancellation token. - - Task that will complete when processing has finished. - - - - - Provides a set of methods and properties that help you trace the serviceclient. - - - - - The collection of tracing interceptors to notify. - - - - - A read-only, thread-safe collection of tracing interceptors. Since - List is only thread-safe for reads (and adding/removing tracing - interceptors isn't a very common operation), we simply replace the - entire collection of interceptors so any enumeration of the list - in progress on a different thread will not be affected by the - change. - - - - - Lock used to synchronize mutation of the tracing interceptors. - - - - - The invocation identifier. - - - - - Gets or sets a value indicating whether tracing is enabled. - Tracing can be disabled for performance. - - - - - Gets a sequence of the tracing interceptors to notify of changes. - - - - - Get the next invocation identifier. - - - - - Add a tracing interceptor to be notified of changes. - - The tracing interceptor. - - - - Remove a tracing interceptor from change notifications. - - The tracing interceptor. - True if the tracing interceptor was found and removed; false otherwise. - - - - Write the informational tracing message. - - The msessage to trace. - An object array containing zero or more objects to format - - - - Represents the tracing configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Specifies the tracing information. - - The message to trace. - - - - Represents the tracing entry. - - - The tracing instance. - The tracing method. - Method parameters. - - - - Sends a tracing request. - - The invocation identifier. - The request about to be sent. - - - - Receives a tracing response. - - The invocation identifier. - The response message instance. - - - - Represents the tracing error. - - The invocation identifier. - The tracing exception. - - - - Abandons the tracing method. - - The invocation identifier. - Method return result. - - - - A simple token provider that always provides a static access token. - - - - - Create a token provider for the given token type that returns the given - access token. - - The access token to return. - The token type of the given access token. - - - - Gets the token type of this access token. - - - - - Returns the static access token. - - The cancellation token for this action. - This will not be used since the returned token is static. - The access token. - - - - Token based credentials for use with a REST Service Client. - - - - - The bearer token type, as serialized in an http Authentication header. - - - - - Gets or sets secure token used to authenticate against Microsoft Azure API. - No anonymous requests are allowed. - - - - - Initializes a new instance of the - class with the given 'Bearer' token. - - Valid JSON Web Token (JWT). - - - - Initializes a new instance of the - class with the given token and token type. - - Valid JSON Web Token (JWT). - The token type of the given token. - - - - Create an access token credentials object, given an interface to a token source. - - The source of tokens for these credentials. - - - - Apply the credentials to the HTTP request. - - The HTTP request. - Cancellation token. - - Task that will complete when processing has completed. - - - - - Static conversion utility methods. - - - - - Converts a string to a UTF8-encoded string. - - The string of base-64 digits to convert. - The UTF8-encoded string. - - - - Uses Uri.TryCreate to parse a string as a relative or absolute Uri. - - The string to parse. - Uri or null. - - - - Validation exception for Microsoft Rest Client. - - - - - Gets validation rule. - - - - - Gets validation target. - - - - - Gets validation details. - - - - - Initializes a new instance of the ValidationException class. - - - - - Initializes a new instance of the ValidationException class. - - Exception message. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - Validation details. - - - - Initializes a new instance of the ValidationException class. - - The exception message. - Inner exception. - - - - Defines set of validation rules. - - - - - 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 specified argument {0} cannot be greater than its ceiling value of {1}.. - - - - - Looks up a localized string similar to The specified argument {0} cannot be initialized with a negative value.. - - - - - Looks up a localized string similar to Received unexpected Http response status code {0}. - - - - - Looks up a localized string similar to Default retry strategy for technology {0}, named '{1}', is not defined.. - - - - - Looks up a localized string similar to Default retry strategy for technology {0} was not not defined, and there is no overall default strategy.. - - - - - Looks up a localized string similar to Retry handler is not present in the HttpClient handler stack.. - - - - - Looks up a localized string similar to The RetryManager is already set.. - - - - - Looks up a localized string similar to The default RetryManager has not been set. Set it by invoking the RetryManager.SetDefault static method, or if you are using declarative configuration, you can invoke the RetryPolicyFactory.CreateDefault() method to automatically create the retry manager from the configuration file.. - - - - - Looks up a localized string similar to The error detection strategy type must implement the ITransientErrorDetectionStrategy interface.. - - - - - Looks up a localized string similar to Response status code indicates server error: {0} ({1}).. - - - - - Looks up a localized string similar to The retry strategy with name '{0}' cannot be found.. - - - - - Looks up a localized string similar to The specified string argument {0} must not be empty.. - - - - - Looks up a localized string similar to The specified argument '{0}' cannot return a null task when invoked.. - - - - - Looks up a localized string similar to The specified argument '{0}' must return a scheduled task (also known as "hot" task) when invoked.. - - - - - Looks up a localized string similar to You must specify a token provider or raw access token before using token credentials.. - - - - - Looks up a localized string similar to cannot be null. - - - - - Looks up a localized string similar to cannot have value other than. - - - - - Looks up a localized string similar to is equal or exceeds maximum value of. - - - - - Looks up a localized string similar to is less than or equal minimum value of. - - - - - Looks up a localized string similar to exceeds maximum value of. - - - - - Looks up a localized string similar to exceeds maximum item count of. - - - - - Looks up a localized string similar to exceeds maximum length of. - - - - - Looks up a localized string similar to is less than minimum value of. - - - - - Looks up a localized string similar to contains less items than. - - - - - Looks up a localized string similar to is less than minimum length of. - - - - - Looks up a localized string similar to has to be multiple of. - - - - - Looks up a localized string similar to does not match expected pattern. - - - - - Looks up a localized string similar to collection contains duplicate items. - - - - - Looks up a localized string similar to The service client '{0}' did not contain an implementation of '{1}'.. - - - - - JsonConverter that handles serialization for dates in yyyy-MM-dd format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - JsonConverter that handles serialization for dates in RFC1123 format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - Converter used to convert timespan to ISO8601 format - - - - - Writes the specified object to JSON. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Reads the JSON token. - - The JSON reader. - The object type. - The existing value of object being read. - The JSON serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - true if this instance can convert the specified object type; otherwise, false. - - - - Helper class for JsonConverters. - - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - If specified filters JsonProperties to be serialized. - - - - JsonConverter that handles deserialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicDeserializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns false. - - - - - Returns true if the object being deserialized is the base type. False otherwise. - - The type of the object to check. - True if the object being deserialized is the base type. False otherwise. - - - - Reads a JSON field and deserializes into an appropriate object based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Throws NotSupportedException. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Base JSON converter for polymorphic objects. - - - - - Discriminator property name. - - - - - Returns type that matches specified name. - - Base type. - Derived type name - - - - - JsonConverter that handles serialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicSerializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns true if the object being serialized is assignable from the base type. False otherwise. - - The type of the object to check. - True if the object being serialized is assignable from the base type. False otherwise. - - - - Returns false. - - - - - Throws NotSupportedException. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Serializes an object into a JSON string based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - JSON contract resolver that ignores read-only properties during serialization. - - - - - Creates a JsonProperty for the given MemberInfo. - - The member to create a JsonProperty for. - The member's parent MemberSerialization. - A created JsonProperty for the given MemberInfo. - - - - Provides an alternative to JSON.NET's JsonConvert that does not inherit any settings from - JsonConvert.DefaultSettings. - - - - - Deserializes the given JSON into an instance of type T. - - The type to which to deserialize. - The JSON to deserialize. - JsonSerializerSettings to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Deserializes the given JSON into an instance of type T using the given JsonConverters. - - The type to which to deserialize. - The JSON to deserialize. - A collection of JsonConverters to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Serializes the given object into JSON. - - The object to serialize. - JsonSerializerSettings to control serialization. - A string containing the JSON representation of the given object. - - - - Serializes the given object into JSON using the given JsonConverters. - - The object to serialize. - A collection of JsonConverters to control serialization. - A string containing the JSON representation of the given object. - - - - Handles the execution and retries of the user-initiated task. - - The result type of the user-initiated task. - - - - Provides a wrapper for a non-generic and calls into the pipeline - to retry only the generic version of the . - - - - - Wraps the non-generic into a generic . - - The task to wrap. - A that wraps the non-generic . - - - - A retry strategy with backoff parameters for calculating the exponential delay between retries. - - - - - Represents the default amount of time used when calculating a random delta in the exponential - delay between retries. - - - - - Represents the default maximum amount of time used when calculating the exponential - delay between retries. - - - - - Represents the default minimum amount of time used when calculating the exponential - delay between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified - retry settings. - - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name and - retry settings. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name, - retry settings, and fast retry option. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Represents a retry strategy with a specified number of retry attempts and a default, fixed - time interval between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the - specified number of retry attempts. - - The number of retry attempts. - - - - Initializes a new instance of the class with the - specified number of retry attempts and time interval. - - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, and retry strategy. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Implements the common guard methods. - - - - - Checks an argument to ensure that it isn't null. - - The argument value to check. - The name of the argument. - The return value should be ignored. It is intended to be used only when validating arguments during instance creation (for example, when calling the base constructor). - - - - Checks an argument to ensure that its 32-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its 64-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline. - - The value of the argument. - The ceiling value of the argument. - The name of the argument for diagnostic purposes. - - - - Inherits HttpRequestException adding HttpStatusCode to the exception. - - - - - 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. - - - - Http status code. - - - - - Default Http error detection strategy based on Http Status Code. - - - - - Returns true if status code in HttpRequestExceptionWithStatus exception is greater - than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). - - Exception to check against. - True if exception is transient otherwise false. - - - - A retry strategy with a specified number of retry attempts and an incremental time - interval between retries. - - - - - Represents the default time increment between retry attempts in the progressive delay policy. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified retry settings. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified name and retry settings. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts, - time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Defines an interface that must be implemented by custom components responsible for - detecting specific transient conditions. - - - - - Determines whether the specified exception represents a transient failure that - can be compensated by a retry. - - The exception object to be verified. - true if the specified exception is considered as transient; otherwise, - false. - - - - Defines a retry condition. - - - - Is retry allowed. - The delay that indicates how long the current thread will be suspended before. - the next iteration is invoked. - - - - Gets or sets the retry interval value for retry. - - - - - Gets or sets a value indicating whether retry attempt is allowed. - - - - - Contains information that is required for the event. - - - - - Initializes a new instance of the class. - - The current retry attempt count. - The delay that indicates how long the current thread will be - suspended before the next iteration is invoked. - The exception that caused the retry conditions to occur. - - - - Gets the current retry count. - - - - - Gets the delay that indicates how long the current thread will be suspended before the - next iteration is invoked. - - - - - Gets the exception that caused the retry conditions to occur. - - - - - Provides the entry point to the retry functionality. - - - - - Initializes a new instance of the class. - - The complete set of retry strategies. - - - - Initializes a new instance of the class with the specified retry - strategies and default retry strategy name. - - The complete set of retry strategies. - The default retry strategy. - - - - Initializes a new instance of the class with the specified retry - strategies and defaults. - - The complete set of retry strategies. - The default retry strategy. - The names of the default strategies for different technologies. - - - - Gets the default for the application. - - - - - Gets or sets the default retry strategy name. - - - - - Sets the specified retry manager as the default retry manager. - Will throw an exception if the manager is already set. - - The retry manager. - - - - Sets the specified retry manager as the default retry manager. - - The retry manager. - true to throw an exception if the manager is already set; otherwise, false. - - - - Returns a retry policy with the specified error detection strategy and the default retry strategy - defined in the configuration. - - The type that implements the - interface that is responsible for detecting transient conditions. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns a retry policy with the specified error detection strategy and retry strategy. - - The type that implements the - interface that is responsible for detecting transient conditions. - The retry strategy name, as defined in the configuration. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns the default retry strategy defined in the configuration. - - The retry strategy that matches the default strategy. - - - - Returns the retry strategy that matches the specified name. - - The retry strategy name. - The retry strategy that matches the specified name. - - - - Returns the retry strategy for the specified technology. - - The technology to get the default retry strategy for. - The retry strategy for the specified technology. - - - - Provides the base implementation of the retry mechanism for unreliable actions and - transient conditions. - - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is - responsible for detecting transient conditions. - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of retry - attempts and default fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of retry - attempts and fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts - and backoff parameters for calculating the exponential delay between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is responsible for - detecting transient conditions. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - Gets the retry strategy. - - - - - Gets the instance of the error detection strategy. - - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - A delegate that represents the executable action that doesn't return any results. - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - The type of result expected from the executable action. - A delegate that represents the executable action that returns the result of - type . - The result from the action. - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not cancel - the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception - must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not - cancel the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must - be observed. - - - - - Notifies the subscribers whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - The delay that indicates how long the current thread will be suspended before - the next iteration is invoked. - - - - Provides a generic version of the class. - - The type that implements the - interface that is responsible for detecting transient conditions. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of - retry attempts and the default fixed time interval between retries. - - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of - retry attempts and a fixed time interval between retries. - - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and backoff parameters for calculating the exponential delay between retries. - - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the - exponential delay between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay - between retries. - - - - Defines a callback delegate that will be invoked whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - A retry condition instance - - - - Represents a retry strategy that determines the number of retry attempts and the interval - between retries. - - - - - Represents the default number of retry attempts. - - - - - Represents the default interval between retries. - - - - - Represents the default flag indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Initializes a new instance of the class. - - The name of the retry strategy. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Gets or sets a value indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Gets the name of the retry strategy. - - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Retry strategy that ignores any transient errors. - - - - - Always returns false. - - The exception. - Always false. - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/net45/Microsoft.Rest.ClientRuntime.dll b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/net45/Microsoft.Rest.ClientRuntime.dll deleted file mode 100644 index 2c52c0212..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/net45/Microsoft.Rest.ClientRuntime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/net45/Microsoft.Rest.ClientRuntime.xml b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/net45/Microsoft.Rest.ClientRuntime.xml deleted file mode 100644 index a832ada49..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/net45/Microsoft.Rest.ClientRuntime.xml +++ /dev/null @@ -1,1897 +0,0 @@ - - - - Microsoft.Rest.ClientRuntime - - - - - Basic Auth credentials for use with a REST Service Client. - - - - - Basic auth UserName. - - - - - Basic auth password. - - - - - Add the Basic Authentication Header to each outgoing request - - The outgoing request - A token to cancel the operation - - - - - Certificate based credentials for use with a REST Service Client. - - - - - The Microsoft Azure Service Management API use mutual authentication - of management certificates over SSL to ensure that a request made - to the service is secure. No anonymous requests are allowed. - - - - - Initializes a new instance of the - class with the given 'Bearer' token. - - - - - Initialize a ServiceClient instance to process credentials. - - Type of ServiceClient. - The ServiceClient. - - This will add a certificate to the shared root WebRequestHandler in - the ServiceClient's HttpClient handler pipeline. - - - - - Extensions for manipulating HTTP request and response objects. - - - - - Formats an HttpContent object as String. - - The HttpContent to format. - The formatted string. - - - - Get the content headers of an HtttRequestMessage. - - The request message. - The content headers. - - - - Get the content headers of an HttpResponseMessage. - - The response message. - The content headers. - - - - Returns string representation of a HttpRequestMessage. - - Request object to format. - The string, formatted into curly braces. - - - - Returns string representation of a HttpResponseMessage. - - Response object to format. - The string, formatted into curly braces. - - - - Converts given dictionary into a log string. - - The dictionary key type. - The dictionary value type. - The dictionary object. - The string, formatted into curly braces. - - - - Serializes HttpHeaders as Json dictionary. - - HttpHeaders - Json string - - - - Serializes HttpResponseHeaders and HttpContentHeaders as Json dictionary. - - HttpResponseMessage - Json string - - - - Exception thrown for an invalid response with custom error information. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Gets or sets the response object. - - - - - Initializes a new instance of the HttpOperationException class. - - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - Inner exception. - - - - Initializes a new instance of the HttpOperationException class. - - Serialization info. - Streaming context. - - - - Serializes content of the exception. - - Serialization info. - Streaming context. - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations with response body. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations with a header response. - - - - - - Gets or sets the response header object. - - - - - Represents the base return type of all ServiceClient REST operations with response body and header. - - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response header object. - - - - - The IServiceClientTracingInterceptor provides useful information about cloud - operations. Interception is global and a tracing interceptor can be - added via TracingAdapter.AddTracingInterceptor. - - - - - Probe configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Enter a method. - - Method invocation identifier. - The instance with the method. - Name of the method. - Method parameters. - - - - Exit a method. Note: Exit will not be called in the event of an - error. - - Method invocation identifier. - Method return value. - - - - Trace information. - - The information to trace. - - - - Receive an HTTP response. - - Method invocation identifier. - The response instance. - - - - Send an HTTP request. - - Method invocation identifier. - The request about to be sent. - - - - Raise an error. - - Method invocation identifier. - The error. - - - - Interface used to group operations of a ServiceClient. - - Type of the ServiceClient. - - - - Gets a reference to the ServiceClient. - - - - - Interface to a source of access tokens. - - - - - Gets the authentication header with token. - - - - - Generic exception for Microsoft Rest Client. - - - - - Initializes a new instance of the RestException class. - - - - - Initializes a new instance of the RestException class. - - The exception message. - - - - Initializes a new instance of the RestException class. - - The exception message. - Inner exception. - - - - Initializes a new instance of the RestException class. - - Serialization info. - Streaming context. - - - - Http retry handler. - - - - - Initializes a new instance of the class. - Sets default retry policty base on Exponential Backoff. - - - - - Initializes a new instance of the class. Sets - the default retry policty base on Exponential Backoff. - - Inner http handler. - - - - Initializes a new instance of the class. - - Retry policy to use. - Inner http handler. - - - - Gets or sets retry policy. - - - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous - operation. Retries request if needed based on Retry Policy. - - The HTTP request message to send to the server. - A cancellation token to cancel operation. - Returns System.Threading.Tasks.Task<TResult>. The - task object representing the asynchronous operation. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - ServiceClient is the abstraction for accessing REST operations and their payload data types.. - - Type of the ServiceClient. - - - - Indicates whether the ServiceClient has been disposed. - - - - - Reference to the first HTTP handler (which is the start of send HTTP - pipeline). - - - - - Reference to the innermost HTTP handler (which is the end of send HTTP - pipeline). - - - - - Initializes a new instance of the ServiceClient class. - - - - - Initializes a new instance of the ServiceClient class. - - List of handlers from top to bottom (outer handler is the first in the list) - - - - Initializes ServiceClient using base HttpClientHandler and list of handlers. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Create a new instance of the root handler. - - HttpClientHandler created. - - - - Gets the HttpClient used for making HTTP requests. - - - - - Gets the UserAgent collection which can be augmented with custom - user agent strings. - - - - - Get the HTTP pipelines for the given service client. - - The client's HTTP pipeline. - - - - Sets retry policy for the client. - - Retry policy to set. - - - - Dispose the ServiceClient. - - - - - Dispose the HttpClient and Handlers. - - True to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - - Initializes HttpClient using HttpClientHandler. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Get the assembly version of a service client. - - The assembly version of the client. - - - - ServiceClientCredentials is the abstraction for credentials used by ServiceClients accessing REST services. - - - - - Initialize a ServiceClient instance for accessing REST APIs with these credentials. - - Type of ServiceClient. - The ServiceClient. - - - - Apply the credentials to the HTTP request. - - The HTTP request message. - Cancellation token. - - Task that will complete when processing has finished. - - - - - Provides a set of methods and properties that help you trace the serviceclient. - - - - - The collection of tracing interceptors to notify. - - - - - A read-only, thread-safe collection of tracing interceptors. Since - List is only thread-safe for reads (and adding/removing tracing - interceptors isn't a very common operation), we simply replace the - entire collection of interceptors so any enumeration of the list - in progress on a different thread will not be affected by the - change. - - - - - Lock used to synchronize mutation of the tracing interceptors. - - - - - The invocation identifier. - - - - - Gets or sets a value indicating whether tracing is enabled. - Tracing can be disabled for performance. - - - - - Gets a sequence of the tracing interceptors to notify of changes. - - - - - Get the next invocation identifier. - - - - - Add a tracing interceptor to be notified of changes. - - The tracing interceptor. - - - - Remove a tracing interceptor from change notifications. - - The tracing interceptor. - True if the tracing interceptor was found and removed; false otherwise. - - - - Write the informational tracing message. - - The msessage to trace. - An object array containing zero or more objects to format - - - - Represents the tracing configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Specifies the tracing information. - - The message to trace. - - - - Represents the tracing entry. - - - The tracing instance. - The tracing method. - Method parameters. - - - - Sends a tracing request. - - The invocation identifier. - The request about to be sent. - - - - Receives a tracing response. - - The invocation identifier. - The response message instance. - - - - Represents the tracing error. - - The invocation identifier. - The tracing exception. - - - - Abandons the tracing method. - - The invocation identifier. - Method return result. - - - - A simple token provider that always provides a static access token. - - - - - Create a token provider for the given token type that returns the given - access token. - - The access token to return. - The token type of the given access token. - - - - Gets the token type of this access token. - - - - - Returns the static access token. - - The cancellation token for this action. - This will not be used since the returned token is static. - The access token. - - - - Token based credentials for use with a REST Service Client. - - - - - The bearer token type, as serialized in an http Authentication header. - - - - - Gets or sets secure token used to authenticate against Microsoft Azure API. - No anonymous requests are allowed. - - - - - Initializes a new instance of the - class with the given 'Bearer' token. - - Valid JSON Web Token (JWT). - - - - Initializes a new instance of the - class with the given token and token type. - - Valid JSON Web Token (JWT). - The token type of the given token. - - - - Create an access token credentials object, given an interface to a token source. - - The source of tokens for these credentials. - - - - Apply the credentials to the HTTP request. - - The HTTP request. - Cancellation token. - - Task that will complete when processing has completed. - - - - - Static conversion utility methods. - - - - - Converts a string to a UTF8-encoded string. - - The string of base-64 digits to convert. - The UTF8-encoded string. - - - - Uses Uri.TryCreate to parse a string as a relative or absolute Uri. - - The string to parse. - Uri or null. - - - - Validation exception for Microsoft Rest Client. - - - - - Gets validation rule. - - - - - Gets validation target. - - - - - Gets validation details. - - - - - Initializes a new instance of the ValidationException class. - - - - - Initializes a new instance of the ValidationException class. - - Exception message. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - Validation details. - - - - Initializes a new instance of the ValidationException class. - - The exception message. - Inner exception. - - - - Initializes a new instance of the ValidationException class. - - Serialization info. - Streaming context. - - - - Serializes content of the exception. - - Serialization info. - Streaming context. - - - - Defines set of validation rules. - - - - - 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 specified argument {0} cannot be greater than its ceiling value of {1}.. - - - - - Looks up a localized string similar to The specified argument {0} cannot be initialized with a negative value.. - - - - - Looks up a localized string similar to Received unexpected Http response status code {0}. - - - - - Looks up a localized string similar to Default retry strategy for technology {0}, named '{1}', is not defined.. - - - - - Looks up a localized string similar to Default retry strategy for technology {0} was not not defined, and there is no overall default strategy.. - - - - - Looks up a localized string similar to Retry handler is not present in the HttpClient handler stack.. - - - - - Looks up a localized string similar to The RetryManager is already set.. - - - - - Looks up a localized string similar to The default RetryManager has not been set. Set it by invoking the RetryManager.SetDefault static method, or if you are using declarative configuration, you can invoke the RetryPolicyFactory.CreateDefault() method to automatically create the retry manager from the configuration file.. - - - - - Looks up a localized string similar to The error detection strategy type must implement the ITransientErrorDetectionStrategy interface.. - - - - - Looks up a localized string similar to Response status code indicates server error: {0} ({1}).. - - - - - Looks up a localized string similar to The retry strategy with name '{0}' cannot be found.. - - - - - Looks up a localized string similar to The specified string argument {0} must not be empty.. - - - - - Looks up a localized string similar to The specified argument '{0}' cannot return a null task when invoked.. - - - - - Looks up a localized string similar to The specified argument '{0}' must return a scheduled task (also known as "hot" task) when invoked.. - - - - - Looks up a localized string similar to You must specify a token provider or raw access token before using token credentials.. - - - - - Looks up a localized string similar to cannot be null. - - - - - Looks up a localized string similar to cannot have value other than. - - - - - Looks up a localized string similar to is equal or exceeds maximum value of. - - - - - Looks up a localized string similar to is less than or equal minimum value of. - - - - - Looks up a localized string similar to exceeds maximum value of. - - - - - Looks up a localized string similar to exceeds maximum item count of. - - - - - Looks up a localized string similar to exceeds maximum length of. - - - - - Looks up a localized string similar to is less than minimum value of. - - - - - Looks up a localized string similar to contains less items than. - - - - - Looks up a localized string similar to is less than minimum length of. - - - - - Looks up a localized string similar to has to be multiple of. - - - - - Looks up a localized string similar to does not match expected pattern. - - - - - Looks up a localized string similar to collection contains duplicate items. - - - - - Looks up a localized string similar to The service client '{0}' did not contain an implementation of '{1}'.. - - - - - JsonConverter that handles serialization for dates in yyyy-MM-dd format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - JsonConverter that handles serialization for dates in RFC1123 format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - Converter used to convert timespan to ISO8601 format - - - - - Writes the specified object to JSON. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Reads the JSON token. - - The JSON reader. - The object type. - The existing value of object being read. - The JSON serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - true if this instance can convert the specified object type; otherwise, false. - - - - Helper class for JsonConverters. - - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - If specified filters JsonProperties to be serialized. - - - - JsonConverter that handles deserialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicDeserializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns false. - - - - - Returns true if the object being deserialized is the base type. False otherwise. - - The type of the object to check. - True if the object being deserialized is the base type. False otherwise. - - - - Reads a JSON field and deserializes into an appropriate object based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Throws NotSupportedException. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Base JSON converter for polymorphic objects. - - - - - Discriminator property name. - - - - - Returns type that matches specified name. - - Base type. - Derived type name - - - - - JsonConverter that handles serialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicSerializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns true if the object being serialized is assignable from the base type. False otherwise. - - The type of the object to check. - True if the object being serialized is assignable from the base type. False otherwise. - - - - Returns false. - - - - - Throws NotSupportedException. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Serializes an object into a JSON string based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - JSON contract resolver that ignores read-only properties during serialization. - - - - - Creates a JsonProperty for the given MemberInfo. - - The member to create a JsonProperty for. - The member's parent MemberSerialization. - A created JsonProperty for the given MemberInfo. - - - - Provides an alternative to JSON.NET's JsonConvert that does not inherit any settings from - JsonConvert.DefaultSettings. - - - - - Deserializes the given JSON into an instance of type T. - - The type to which to deserialize. - The JSON to deserialize. - JsonSerializerSettings to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Deserializes the given JSON into an instance of type T using the given JsonConverters. - - The type to which to deserialize. - The JSON to deserialize. - A collection of JsonConverters to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Serializes the given object into JSON. - - The object to serialize. - JsonSerializerSettings to control serialization. - A string containing the JSON representation of the given object. - - - - Serializes the given object into JSON using the given JsonConverters. - - The object to serialize. - A collection of JsonConverters to control serialization. - A string containing the JSON representation of the given object. - - - - Handles the execution and retries of the user-initiated task. - - The result type of the user-initiated task. - - - - Provides a wrapper for a non-generic and calls into the pipeline - to retry only the generic version of the . - - - - - Wraps the non-generic into a generic . - - The task to wrap. - A that wraps the non-generic . - - - - A retry strategy with backoff parameters for calculating the exponential delay between retries. - - - - - Represents the default amount of time used when calculating a random delta in the exponential - delay between retries. - - - - - Represents the default maximum amount of time used when calculating the exponential - delay between retries. - - - - - Represents the default minimum amount of time used when calculating the exponential - delay between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified - retry settings. - - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name and - retry settings. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name, - retry settings, and fast retry option. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Represents a retry strategy with a specified number of retry attempts and a default, fixed - time interval between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the - specified number of retry attempts. - - The number of retry attempts. - - - - Initializes a new instance of the class with the - specified number of retry attempts and time interval. - - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, and retry strategy. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Implements the common guard methods. - - - - - Checks an argument to ensure that it isn't null. - - The argument value to check. - The name of the argument. - The return value should be ignored. It is intended to be used only when validating arguments during instance creation (for example, when calling the base constructor). - - - - Checks an argument to ensure that its 32-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its 64-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline. - - The value of the argument. - The ceiling value of the argument. - The name of the argument for diagnostic purposes. - - - - Inherits HttpRequestException adding HttpStatusCode to the exception. - - - - - 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. - - - - Http status code. - - - - - Default Http error detection strategy based on Http Status Code. - - - - - Returns true if status code in HttpRequestExceptionWithStatus exception is greater - than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). - - Exception to check against. - True if exception is transient otherwise false. - - - - A retry strategy with a specified number of retry attempts and an incremental time - interval between retries. - - - - - Represents the default time increment between retry attempts in the progressive delay policy. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified retry settings. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified name and retry settings. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts, - time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Defines an interface that must be implemented by custom components responsible for - detecting specific transient conditions. - - - - - Determines whether the specified exception represents a transient failure that - can be compensated by a retry. - - The exception object to be verified. - true if the specified exception is considered as transient; otherwise, - false. - - - - Defines a retry condition. - - - - Is retry allowed. - The delay that indicates how long the current thread will be suspended before. - the next iteration is invoked. - - - - Gets or sets the retry interval value for retry. - - - - - Gets or sets a value indicating whether retry attempt is allowed. - - - - - Contains information that is required for the event. - - - - - Initializes a new instance of the class. - - The current retry attempt count. - The delay that indicates how long the current thread will be - suspended before the next iteration is invoked. - The exception that caused the retry conditions to occur. - - - - Gets the current retry count. - - - - - Gets the delay that indicates how long the current thread will be suspended before the - next iteration is invoked. - - - - - Gets the exception that caused the retry conditions to occur. - - - - - Provides the entry point to the retry functionality. - - - - - Initializes a new instance of the class. - - The complete set of retry strategies. - - - - Initializes a new instance of the class with the specified retry - strategies and default retry strategy name. - - The complete set of retry strategies. - The default retry strategy. - - - - Initializes a new instance of the class with the specified retry - strategies and defaults. - - The complete set of retry strategies. - The default retry strategy. - The names of the default strategies for different technologies. - - - - Gets the default for the application. - - - - - Gets or sets the default retry strategy name. - - - - - Sets the specified retry manager as the default retry manager. - Will throw an exception if the manager is already set. - - The retry manager. - - - - Sets the specified retry manager as the default retry manager. - - The retry manager. - true to throw an exception if the manager is already set; otherwise, false. - - - - Returns a retry policy with the specified error detection strategy and the default retry strategy - defined in the configuration. - - The type that implements the - interface that is responsible for detecting transient conditions. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns a retry policy with the specified error detection strategy and retry strategy. - - The type that implements the - interface that is responsible for detecting transient conditions. - The retry strategy name, as defined in the configuration. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns the default retry strategy defined in the configuration. - - The retry strategy that matches the default strategy. - - - - Returns the retry strategy that matches the specified name. - - The retry strategy name. - The retry strategy that matches the specified name. - - - - Returns the retry strategy for the specified technology. - - The technology to get the default retry strategy for. - The retry strategy for the specified technology. - - - - Provides the base implementation of the retry mechanism for unreliable actions and - transient conditions. - - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is - responsible for detecting transient conditions. - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of retry - attempts and default fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of retry - attempts and fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts - and backoff parameters for calculating the exponential delay between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is responsible for - detecting transient conditions. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - Gets the retry strategy. - - - - - Gets the instance of the error detection strategy. - - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - A delegate that represents the executable action that doesn't return any results. - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - The type of result expected from the executable action. - A delegate that represents the executable action that returns the result of - type . - The result from the action. - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not cancel - the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception - must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not - cancel the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must - be observed. - - - - - Notifies the subscribers whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - The delay that indicates how long the current thread will be suspended before - the next iteration is invoked. - - - - Provides a generic version of the class. - - The type that implements the - interface that is responsible for detecting transient conditions. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of - retry attempts and the default fixed time interval between retries. - - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of - retry attempts and a fixed time interval between retries. - - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and backoff parameters for calculating the exponential delay between retries. - - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the - exponential delay between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay - between retries. - - - - Defines a callback delegate that will be invoked whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - A retry condition instance - - - - Represents a retry strategy that determines the number of retry attempts and the interval - between retries. - - - - - Represents the default number of retry attempts. - - - - - Represents the default interval between retries. - - - - - Represents the default flag indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Initializes a new instance of the class. - - The name of the retry strategy. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Gets or sets a value indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Gets the name of the retry strategy. - - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Retry strategy that ignores any transient errors. - - - - - Always returns false. - - The exception. - Always false. - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/portable-net45+win+wpa81/Microsoft.Rest.ClientRuntime.dll b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/portable-net45+win+wpa81/Microsoft.Rest.ClientRuntime.dll deleted file mode 100644 index c2fb4fbae..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/portable-net45+win+wpa81/Microsoft.Rest.ClientRuntime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/portable-net45+win+wpa81/Microsoft.Rest.ClientRuntime.xml b/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/portable-net45+win+wpa81/Microsoft.Rest.ClientRuntime.xml deleted file mode 100644 index 28e97bb28..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.Rest.ClientRuntime.1.8.2/lib/portable-net45+win+wpa81/Microsoft.Rest.ClientRuntime.xml +++ /dev/null @@ -1,1833 +0,0 @@ - - - - Microsoft.Rest.ClientRuntime - - - - - Basic Auth credentials for use with a REST Service Client. - - - - - Basic auth UserName. - - - - - Basic auth password. - - - - - Add the Basic Authentication Header to each outgoing request - - The outgoing request - A token to cancel the operation - - - - - Extensions for manipulating HTTP request and response objects. - - - - - Formats an HttpContent object as String. - - The HttpContent to format. - The formatted string. - - - - Get the content headers of an HtttRequestMessage. - - The request message. - The content headers. - - - - Get the content headers of an HttpResponseMessage. - - The response message. - The content headers. - - - - Returns string representation of a HttpRequestMessage. - - Request object to format. - The string, formatted into curly braces. - - - - Returns string representation of a HttpResponseMessage. - - Response object to format. - The string, formatted into curly braces. - - - - Converts given dictionary into a log string. - - The dictionary key type. - The dictionary value type. - The dictionary object. - The string, formatted into curly braces. - - - - Serializes HttpHeaders as Json dictionary. - - HttpHeaders - Json string - - - - Serializes HttpResponseHeaders and HttpContentHeaders as Json dictionary. - - HttpResponseMessage - Json string - - - - Exception thrown for an invalid response with custom error information. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Gets or sets the response object. - - - - - Initializes a new instance of the HttpOperationException class. - - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - - - - Initializes a new instance of the HttpOperationException class. - - The exception message. - Inner exception. - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations with response body. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations with a header response. - - - - - - Gets or sets the response header object. - - - - - Represents the base return type of all ServiceClient REST operations with response body and header. - - - - - Represents the base return type of all ServiceClient REST operations without response body. - - - - - Gets information about the associated HTTP request. - - - - - Gets information about the associated HTTP response. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response object. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Represents the base return type of all ServiceClient REST operations. - - - - - Gets or sets the response header object. - - - - - The IServiceClientTracingInterceptor provides useful information about cloud - operations. Interception is global and a tracing interceptor can be - added via TracingAdapter.AddTracingInterceptor. - - - - - Probe configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Enter a method. - - Method invocation identifier. - The instance with the method. - Name of the method. - Method parameters. - - - - Exit a method. Note: Exit will not be called in the event of an - error. - - Method invocation identifier. - Method return value. - - - - Trace information. - - The information to trace. - - - - Receive an HTTP response. - - Method invocation identifier. - The response instance. - - - - Send an HTTP request. - - Method invocation identifier. - The request about to be sent. - - - - Raise an error. - - Method invocation identifier. - The error. - - - - Interface used to group operations of a ServiceClient. - - Type of the ServiceClient. - - - - Gets a reference to the ServiceClient. - - - - - Interface to a source of access tokens. - - - - - Gets the authentication header with token. - - - - - Generic exception for Microsoft Rest Client. - - - - - Initializes a new instance of the RestException class. - - - - - Initializes a new instance of the RestException class. - - The exception message. - - - - Initializes a new instance of the RestException class. - - The exception message. - Inner exception. - - - - Http retry handler. - - - - - Initializes a new instance of the class. - Sets default retry policty base on Exponential Backoff. - - - - - Initializes a new instance of the class. Sets - the default retry policty base on Exponential Backoff. - - Inner http handler. - - - - Initializes a new instance of the class. - - Retry policy to use. - Inner http handler. - - - - Gets or sets retry policy. - - - - - Sends an HTTP request to the inner handler to send to the server as an asynchronous - operation. Retries request if needed based on Retry Policy. - - The HTTP request message to send to the server. - A cancellation token to cancel operation. - Returns System.Threading.Tasks.Task<TResult>. The - task object representing the asynchronous operation. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - ServiceClient is the abstraction for accessing REST operations and their payload data types.. - - Type of the ServiceClient. - - - - Indicates whether the ServiceClient has been disposed. - - - - - Reference to the first HTTP handler (which is the start of send HTTP - pipeline). - - - - - Reference to the innermost HTTP handler (which is the end of send HTTP - pipeline). - - - - - Initializes a new instance of the ServiceClient class. - - - - - Initializes a new instance of the ServiceClient class. - - List of handlers from top to bottom (outer handler is the first in the list) - - - - Initializes ServiceClient using base HttpClientHandler and list of handlers. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Create a new instance of the root handler. - - HttpClientHandler created. - - - - Gets the HttpClient used for making HTTP requests. - - - - - Gets the UserAgent collection which can be augmented with custom - user agent strings. - - - - - Get the HTTP pipelines for the given service client. - - The client's HTTP pipeline. - - - - Sets retry policy for the client. - - Retry policy to set. - - - - Dispose the ServiceClient. - - - - - Dispose the HttpClient and Handlers. - - True to release both managed and unmanaged resources; false to releases only unmanaged resources. - - - - Initializes HttpClient using HttpClientHandler. - - Base HttpClientHandler. - List of handlers from top to bottom (outer handler is the first in the list) - - - - Get the assembly version of a service client. - - The assembly version of the client. - - - - ServiceClientCredentials is the abstraction for credentials used by ServiceClients accessing REST services. - - - - - Initialize a ServiceClient instance for accessing REST APIs with these credentials. - - Type of ServiceClient. - The ServiceClient. - - - - Apply the credentials to the HTTP request. - - The HTTP request message. - Cancellation token. - - Task that will complete when processing has finished. - - - - - Provides a set of methods and properties that help you trace the serviceclient. - - - - - The collection of tracing interceptors to notify. - - - - - A read-only, thread-safe collection of tracing interceptors. Since - List is only thread-safe for reads (and adding/removing tracing - interceptors isn't a very common operation), we simply replace the - entire collection of interceptors so any enumeration of the list - in progress on a different thread will not be affected by the - change. - - - - - Lock used to synchronize mutation of the tracing interceptors. - - - - - The invocation identifier. - - - - - Gets or sets a value indicating whether tracing is enabled. - Tracing can be disabled for performance. - - - - - Gets a sequence of the tracing interceptors to notify of changes. - - - - - Get the next invocation identifier. - - - - - Add a tracing interceptor to be notified of changes. - - The tracing interceptor. - - - - Remove a tracing interceptor from change notifications. - - The tracing interceptor. - True if the tracing interceptor was found and removed; false otherwise. - - - - Write the informational tracing message. - - The msessage to trace. - An object array containing zero or more objects to format - - - - Represents the tracing configuration for the value of a setting. - - The configuration source. - The name of the setting. - The value of the setting in the source. - - - - Specifies the tracing information. - - The message to trace. - - - - Represents the tracing entry. - - - The tracing instance. - The tracing method. - Method parameters. - - - - Sends a tracing request. - - The invocation identifier. - The request about to be sent. - - - - Receives a tracing response. - - The invocation identifier. - The response message instance. - - - - Represents the tracing error. - - The invocation identifier. - The tracing exception. - - - - Abandons the tracing method. - - The invocation identifier. - Method return result. - - - - A simple token provider that always provides a static access token. - - - - - Create a token provider for the given token type that returns the given - access token. - - The access token to return. - The token type of the given access token. - - - - Gets the token type of this access token. - - - - - Returns the static access token. - - The cancellation token for this action. - This will not be used since the returned token is static. - The access token. - - - - Token based credentials for use with a REST Service Client. - - - - - The bearer token type, as serialized in an http Authentication header. - - - - - Gets or sets secure token used to authenticate against Microsoft Azure API. - No anonymous requests are allowed. - - - - - Initializes a new instance of the - class with the given 'Bearer' token. - - Valid JSON Web Token (JWT). - - - - Initializes a new instance of the - class with the given token and token type. - - Valid JSON Web Token (JWT). - The token type of the given token. - - - - Create an access token credentials object, given an interface to a token source. - - The source of tokens for these credentials. - - - - Apply the credentials to the HTTP request. - - The HTTP request. - Cancellation token. - - Task that will complete when processing has completed. - - - - - Static conversion utility methods. - - - - - Converts a string to a UTF8-encoded string. - - The string of base-64 digits to convert. - The UTF8-encoded string. - - - - Uses Uri.TryCreate to parse a string as a relative or absolute Uri. - - The string to parse. - Uri or null. - - - - Validation exception for Microsoft Rest Client. - - - - - Gets validation rule. - - - - - Gets validation target. - - - - - Gets validation details. - - - - - Initializes a new instance of the ValidationException class. - - - - - Initializes a new instance of the ValidationException class. - - Exception message. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - - - - Initializes a new instance of the ValidationException class. - - Validation rule. - Target of the validation. - Validation details. - - - - Initializes a new instance of the ValidationException class. - - The exception message. - Inner exception. - - - - Defines set of validation rules. - - - - - 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 specified argument {0} cannot be greater than its ceiling value of {1}.. - - - - - Looks up a localized string similar to The specified argument {0} cannot be initialized with a negative value.. - - - - - Looks up a localized string similar to Received unexpected Http response status code {0}. - - - - - Looks up a localized string similar to Default retry strategy for technology {0}, named '{1}', is not defined.. - - - - - Looks up a localized string similar to Default retry strategy for technology {0} was not not defined, and there is no overall default strategy.. - - - - - Looks up a localized string similar to Retry handler is not present in the HttpClient handler stack.. - - - - - Looks up a localized string similar to The RetryManager is already set.. - - - - - Looks up a localized string similar to The default RetryManager has not been set. Set it by invoking the RetryManager.SetDefault static method, or if you are using declarative configuration, you can invoke the RetryPolicyFactory.CreateDefault() method to automatically create the retry manager from the configuration file.. - - - - - Looks up a localized string similar to The error detection strategy type must implement the ITransientErrorDetectionStrategy interface.. - - - - - Looks up a localized string similar to Response status code indicates server error: {0} ({1}).. - - - - - Looks up a localized string similar to The retry strategy with name '{0}' cannot be found.. - - - - - Looks up a localized string similar to The specified string argument {0} must not be empty.. - - - - - Looks up a localized string similar to The specified argument '{0}' cannot return a null task when invoked.. - - - - - Looks up a localized string similar to The specified argument '{0}' must return a scheduled task (also known as "hot" task) when invoked.. - - - - - Looks up a localized string similar to You must specify a token provider or raw access token before using token credentials.. - - - - - Looks up a localized string similar to cannot be null. - - - - - Looks up a localized string similar to cannot have value other than. - - - - - Looks up a localized string similar to is equal or exceeds maximum value of. - - - - - Looks up a localized string similar to is less than or equal minimum value of. - - - - - Looks up a localized string similar to exceeds maximum value of. - - - - - Looks up a localized string similar to exceeds maximum item count of. - - - - - Looks up a localized string similar to exceeds maximum length of. - - - - - Looks up a localized string similar to is less than minimum value of. - - - - - Looks up a localized string similar to contains less items than. - - - - - Looks up a localized string similar to is less than minimum length of. - - - - - Looks up a localized string similar to has to be multiple of. - - - - - Looks up a localized string similar to does not match expected pattern. - - - - - Looks up a localized string similar to collection contains duplicate items. - - - - - Looks up a localized string similar to The service client '{0}' did not contain an implementation of '{1}'.. - - - - - JsonConverter that handles serialization for dates in yyyy-MM-dd format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - JsonConverter that handles serialization for dates in RFC1123 format. - - - - - Initializes a new instance of DateJsonConverter. - - - - - Converter used to convert timespan to ISO8601 format - - - - - Writes the specified object to JSON. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Reads the JSON token. - - The JSON reader. - The object type. - The existing value of object being read. - The JSON serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - true if this instance can convert the specified object type; otherwise, false. - - - - Helper class for JsonConverters. - - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Serializes properties of the value object into JsonWriter. - - The JSON writer. - The value to serialize. - The JSON serializer. - If specified filters JsonProperties to be serialized. - - - - JsonConverter that handles deserialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicDeserializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns false. - - - - - Returns true if the object being deserialized is the base type. False otherwise. - - The type of the object to check. - True if the object being deserialized is the base type. False otherwise. - - - - Reads a JSON field and deserializes into an appropriate object based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Throws NotSupportedException. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - Base JSON converter for polymorphic objects. - - - - - Discriminator property name. - - - - - Returns type that matches specified name. - - Base type. - Derived type name - - - - - JsonConverter that handles serialization for polymorphic objects - based on discriminator field. - - The base type. - - - - Initializes an instance of the PolymorphicSerializeJsonConverter. - - The JSON field used as a discriminator - - - - Returns true if the object being serialized is assignable from the base type. False otherwise. - - The type of the object to check. - True if the object being serialized is assignable from the base type. False otherwise. - - - - Returns false. - - - - - Throws NotSupportedException. - - The JSON reader. - The type of the object. - The existing value. - The JSON serializer. - - - - - Serializes an object into a JSON string based on discriminator - field and object name. If JsonObject attribute is available, its value is used instead. - - The JSON writer. - The value to serialize. - The JSON serializer. - - - - JSON contract resolver that ignores read-only properties during serialization. - - - - - Creates a JsonProperty for the given MemberInfo. - - The member to create a JsonProperty for. - The member's parent MemberSerialization. - A created JsonProperty for the given MemberInfo. - - - - Provides an alternative to JSON.NET's JsonConvert that does not inherit any settings from - JsonConvert.DefaultSettings. - - - - - Deserializes the given JSON into an instance of type T. - - The type to which to deserialize. - The JSON to deserialize. - JsonSerializerSettings to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Deserializes the given JSON into an instance of type T using the given JsonConverters. - - The type to which to deserialize. - The JSON to deserialize. - A collection of JsonConverters to control deserialization. - An instance of type T deserialized from the given JSON. - - - - Serializes the given object into JSON. - - The object to serialize. - JsonSerializerSettings to control serialization. - A string containing the JSON representation of the given object. - - - - Serializes the given object into JSON using the given JsonConverters. - - The object to serialize. - A collection of JsonConverters to control serialization. - A string containing the JSON representation of the given object. - - - - Handles the execution and retries of the user-initiated task. - - The result type of the user-initiated task. - - - - Provides a wrapper for a non-generic and calls into the pipeline - to retry only the generic version of the . - - - - - Wraps the non-generic into a generic . - - The task to wrap. - A that wraps the non-generic . - - - - A retry strategy with backoff parameters for calculating the exponential delay between retries. - - - - - Represents the default amount of time used when calculating a random delta in the exponential - delay between retries. - - - - - Represents the default maximum amount of time used when calculating the exponential - delay between retries. - - - - - Represents the default minimum amount of time used when calculating the exponential - delay between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified - retry settings. - - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name and - retry settings. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified name, - retry settings, and fast retry option. - - The name of the retry strategy. - The maximum number of retry attempts. - The minimum backoff time - The maximum backoff time. - The value that will be used to calculate a random delta in the exponential delay - between retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Represents a retry strategy with a specified number of retry attempts and a default, fixed - time interval between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the - specified number of retry attempts. - - The number of retry attempts. - - - - Initializes a new instance of the class with the - specified number of retry attempts and time interval. - - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, and retry strategy. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - - - - Initializes a new instance of the class with the - specified number of retry attempts, time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The time interval between retries. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Implements the common guard methods. - - - - - Checks an argument to ensure that it isn't null. - - The argument value to check. - The name of the argument. - The return value should be ignored. It is intended to be used only when validating arguments during instance creation (for example, when calling the base constructor). - - - - Checks an argument to ensure that its 32-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its 64-bit signed value isn't negative. - - The value of the argument. - The name of the argument for diagnostic purposes. - - - - Checks an argument to ensure that its value doesn't exceed the specified ceiling baseline. - - The value of the argument. - The ceiling value of the argument. - The name of the argument for diagnostic purposes. - - - - Inherits HttpRequestException adding HttpStatusCode to the exception. - - - - - 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. - - - - Http status code. - - - - - Default Http error detection strategy based on Http Status Code. - - - - - Returns true if status code in HttpRequestExceptionWithStatus exception is greater - than or equal to 500 and not NotImplemented (501) or HttpVersionNotSupported (505). - - Exception to check against. - True if exception is transient otherwise false. - - - - A retry strategy with a specified number of retry attempts and an incremental time - interval between retries. - - - - - Represents the default time increment between retry attempts in the progressive delay policy. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified retry settings. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified name and retry settings. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive - delay between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts, - time interval, retry strategy, and fast start option. - - The retry strategy name. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - true to immediately retry in the first attempt; otherwise, false. The subsequent - retries will remain subject to the configured retry interval. - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Defines an interface that must be implemented by custom components responsible for - detecting specific transient conditions. - - - - - Determines whether the specified exception represents a transient failure that - can be compensated by a retry. - - The exception object to be verified. - true if the specified exception is considered as transient; otherwise, - false. - - - - Defines a retry condition. - - - - Is retry allowed. - The delay that indicates how long the current thread will be suspended before. - the next iteration is invoked. - - - - Gets or sets the retry interval value for retry. - - - - - Gets or sets a value indicating whether retry attempt is allowed. - - - - - Contains information that is required for the event. - - - - - Initializes a new instance of the class. - - The current retry attempt count. - The delay that indicates how long the current thread will be - suspended before the next iteration is invoked. - The exception that caused the retry conditions to occur. - - - - Gets the current retry count. - - - - - Gets the delay that indicates how long the current thread will be suspended before the - next iteration is invoked. - - - - - Gets the exception that caused the retry conditions to occur. - - - - - Provides the entry point to the retry functionality. - - - - - Initializes a new instance of the class. - - The complete set of retry strategies. - - - - Initializes a new instance of the class with the specified retry - strategies and default retry strategy name. - - The complete set of retry strategies. - The default retry strategy. - - - - Initializes a new instance of the class with the specified retry - strategies and defaults. - - The complete set of retry strategies. - The default retry strategy. - The names of the default strategies for different technologies. - - - - Gets the default for the application. - - - - - Gets or sets the default retry strategy name. - - - - - Sets the specified retry manager as the default retry manager. - Will throw an exception if the manager is already set. - - The retry manager. - - - - Sets the specified retry manager as the default retry manager. - - The retry manager. - true to throw an exception if the manager is already set; otherwise, false. - - - - Returns a retry policy with the specified error detection strategy and the default retry strategy - defined in the configuration. - - The type that implements the - interface that is responsible for detecting transient conditions. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns a retry policy with the specified error detection strategy and retry strategy. - - The type that implements the - interface that is responsible for detecting transient conditions. - The retry strategy name, as defined in the configuration. - A new retry policy with the specified error detection strategy and the default retry - strategy defined in the configuration. - - - - Returns the default retry strategy defined in the configuration. - - The retry strategy that matches the default strategy. - - - - Returns the retry strategy that matches the specified name. - - The retry strategy name. - The retry strategy that matches the specified name. - - - - Returns the retry strategy for the specified technology. - - The technology to get the default retry strategy for. - The retry strategy for the specified technology. - - - - Provides the base implementation of the retry mechanism for unreliable actions and - transient conditions. - - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is - responsible for detecting transient conditions. - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of retry - attempts and default fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of retry - attempts and fixed time interval between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of retry attempts - and backoff parameters for calculating the exponential delay between retries. - - The that is responsible - for detecting transient conditions. - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the exponential delay - between retries. - - - - Initializes a new instance of the class with the specified number of retry - attempts and parameters defining the progressive delay between retries. - - The that is responsible for - detecting transient conditions. - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay between - retries. - - - - An instance of a callback delegate that will be invoked whenever a retry condition is encountered. - - - - - Gets the retry strategy. - - - - - Gets the instance of the error detection strategy. - - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - A delegate that represents the executable action that doesn't return any results. - - - - Repetitively executes the specified action while it satisfies the current retry policy. - - The type of result expected from the executable action. - A delegate that represents the executable action that returns the result of - type . - The result from the action. - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - A task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repetitively executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not cancel - the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception - must be observed. - - - - - Repeatedly executes the specified asynchronous task while it satisfies the current retry policy. - - A function that returns a started task (also known as "hot" task). - The token used to cancel the retry operation. This token does not - cancel the execution of the asynchronous task. - - Returns a task that will run to completion if the original task completes successfully (either the - first time or after retrying transient failures). If the task fails with a non-transient error or - the retry limit is reached, the returned task will transition to a faulted state and the exception must - be observed. - - - - - Notifies the subscribers whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - The delay that indicates how long the current thread will be suspended before - the next iteration is invoked. - - - - Provides a generic version of the class. - - The type that implements the - interface that is responsible for detecting transient conditions. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The strategy to use for this retry policy. - - - - Initializes a new instance of the class with the specified number of - retry attempts and the default fixed time interval between retries. - - The number of retry attempts. - - - - Initializes a new instance of the class with the specified number of - retry attempts and a fixed time interval between retries. - - The number of retry attempts. - The interval between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and backoff parameters for calculating the exponential delay between retries. - - The number of retry attempts. - The minimum backoff time. - The maximum backoff time. - The time value that will be used to calculate a random delta in the - exponential delay between retries. - - - - Initializes a new instance of the class with the specified number of - retry attempts and parameters defining the progressive delay between retries. - - The number of retry attempts. - The initial interval that will apply for the first retry. - The incremental time value that will be used to calculate the progressive delay - between retries. - - - - Defines a callback delegate that will be invoked whenever a retry condition is encountered. - - The current retry attempt count. - The exception that caused the retry conditions to occur. - A retry condition instance - - - - Represents a retry strategy that determines the number of retry attempts and the interval - between retries. - - - - - Represents the default number of retry attempts. - - - - - Represents the default interval between retries. - - - - - Represents the default flag indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Initializes a new instance of the class. - - The name of the retry strategy. - true to immediately retry in the first attempt; otherwise, false. - The subsequent retries will remain subject to the configured retry interval. - - - - Gets or sets a value indicating whether the first retry attempt will be made immediately, - whereas subsequent retries will remain subject to the retry interval. - - - - - Gets the name of the retry strategy. - - - - - Returns the corresponding ShouldRetry delegate. - - The ShouldRetry delegate. - - - - Retry strategy that ignores any transient errors. - - - - - Always returns false. - - The exception. - Always false. - - - diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/Microsoft.SharePointOnline.CSOM.16.1.5813.1200.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/Microsoft.SharePointOnline.CSOM.16.1.5813.1200.nupkg deleted file mode 100644 index c3860c973..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/Microsoft.SharePointOnline.CSOM.16.1.5813.1200.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/ps.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/ps.js deleted file mode 100644 index f136b1a91..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/ps.js +++ /dev/null @@ -1 +0,0 @@ -function ULSgKh(){var a={};a.ULSTeamName="Project Server";a.ULSFileName="PS.js_precrunch";return a}Type.registerNamespace("PS");PS.AccrueAt=function(){};PS.AccrueAt.prototype={notSpecified:0,start:1,end:2,prorated:3};PS.AccrueAt.registerEnum("PS.AccrueAt",false);PS.BookingType=function(){};PS.BookingType.prototype={notSpecified:0,committed:1,proposed:2};PS.BookingType.registerEnum("PS.BookingType",false);PS.CalendarRecurrenceDays=function(){};PS.CalendarRecurrenceDays.prototype={notSpecified:0,sunday:1,monday:2,tuesday:4,wednesday:8,thursday:16,friday:32,saturday:64};PS.CalendarRecurrenceDays.registerEnum("PS.CalendarRecurrenceDays",false);PS.CalendarRecurrenceType=function(){};PS.CalendarRecurrenceType.prototype={daily:0,dailySkip:1,weekly:2,monthly:3,yearly:4};PS.CalendarRecurrenceType.registerEnum("PS.CalendarRecurrenceType",false);PS.CalendarRecurrenceWeek=function(){};PS.CalendarRecurrenceWeek.prototype={notSpecified:0,first:1,second:2,third:3,fourth:4,last:5};PS.CalendarRecurrenceWeek.registerEnum("PS.CalendarRecurrenceWeek",false);PS.CommittedDecisionResult=function(){};PS.CommittedDecisionResult.prototype={notSpecified:0,forcedIn:1,forcedOut:2,committedOut:3,committedIn:4};PS.CommittedDecisionResult.registerEnum("PS.CommittedDecisionResult",false);PS.ConstraintType=function(){};PS.ConstraintType.prototype={notSpecified:0,asSoonAsPossible:1,asLateAsPossible:2,mustStartOn:3,mustFinishOn:4,startNoEarlierThan:5,startNoLaterThan:6,finishNoEarlierThan:7,finishNoLaterThan:8};PS.ConstraintType.registerEnum("PS.ConstraintType",false);PS.CurrencySymbolPosition=function(){};PS.CurrencySymbolPosition.prototype={notSpecified:0,before:1,after:2,beforeWithSpace:3,afterWithSpace:4};PS.CurrencySymbolPosition.registerEnum("PS.CurrencySymbolPosition",false);PS.CustomFieldRollupType=function(){};PS.CustomFieldRollupType.prototype={notSpecified:0,max:1,min:2,count:3,sum:4,average:5,averageSublevel:6,countSublevel:7,countNonSummary:8,stdDev:9,formula:10,none:11};PS.CustomFieldRollupType.registerEnum("PS.CustomFieldRollupType",false);PS.CustomFieldType=function(){};PS.CustomFieldType.prototype={COST:9,DATE:4,FINISHDATE:27,DURATION:6,FLAG:17,NUMBER:15,TEXT:21};PS.CustomFieldType.registerEnum("PS.CustomFieldType",false);PS.DependencyType=function(){};PS.DependencyType.prototype={finishFinish:0,finishStart:1,startFinish:2,startStart:3};PS.DependencyType.registerEnum("PS.DependencyType",false);PS.EngagementContourType=function(){};PS.EngagementContourType.prototype={approved:0,proposed:1,draft:2};PS.EngagementContourType.registerEnum("PS.EngagementContourType",false);PS.EngagementStatus=function(){};PS.EngagementStatus.prototype={approved:0,proposed:1,draft:2,rejected:3,reproposed:4};PS.EngagementStatus.registerEnum("PS.EngagementStatus",false);PS.EnterpriseResourceType=function(){};PS.EnterpriseResourceType.prototype={notSpecified:0,work:1,material:2,cost:3};PS.EnterpriseResourceType.registerEnum("PS.EnterpriseResourceType",false);PS.FixedCostAccrual=function(){};PS.FixedCostAccrual.prototype={notSpecified:0,start:1,end:2,prorated:3};PS.FixedCostAccrual.registerEnum("PS.FixedCostAccrual",false);PS.JobState=function(){};PS.JobState.prototype={unknown:0,readyForProcessing:1,sendIncomplete:2,processing:3,success:4,failed:5,failedNotBlocking:6,processingDeferred:7,correlationBlocked:8,canceled:9,onHold:10,sleeping:11,readyForLaunch:12,lastState:13};PS.JobState.registerEnum("PS.JobState",false);PS.LookupTableConstants=function(){};PS.LookupTableConstants.prototype={maxSeparatorLength:3,anyLengthSequence:0,minValueLength:1,maxValueLength:255,maxDescriptionLength:255,minLevel:1,maxLevel:255,noSortOrder:0};PS.LookupTableConstants.registerEnum("PS.LookupTableConstants",false);PS.LookupTableMaskSequence=function(){};PS.LookupTableMaskSequence.prototype={numbeR_TEXT:0,UPPERCASE:1,LOWERCASE:2,CHARACTERS:3,DATE:4,COST:5,DURATION:6,numbeR_DECIMAL:7,FLAG:8};PS.LookupTableMaskSequence.registerEnum("PS.LookupTableMaskSequence",false);PS.LookupTableSortOrder=function(){};PS.LookupTableSortOrder.prototype={userDefined:0,ascending:1,descending:2};PS.LookupTableSortOrder.registerEnum("PS.LookupTableSortOrder",false);PS.OvertimeRateFormat=function(){};PS.OvertimeRateFormat.prototype={minute:1,hour:2,day:3,week:4,month:5,year:7,material:8};PS.OvertimeRateFormat.registerEnum("PS.OvertimeRateFormat",false);PS.ProjectDetailPageType=function(){};PS.ProjectDetailPageType.prototype={none:0,projectDefault:1,newProject:2,workflowStatus:3};PS.ProjectDetailPageType.registerEnum("PS.ProjectDetailPageType",false);PS.ProjectType=function(){};PS.ProjectType.prototype={minRequestValue:0,notSpecified:-1,project:0,template:1,global:2,resGlobal:3,lightWeightProject:4,insertedProject:5,masterProject:6,timesheetAdminProject:7,newProject:100,newTemplate:101,newGlobal:102,newResGlobal:103,inactiveProject:1e3,inactiveTemplate:1001,inactiveGlobal:1002,newOffset:100,inactiveOffset:1e3,maxRequestValue:101};PS.ProjectType.registerEnum("PS.ProjectType",false);PS.ProjectUtilizationType=function(){};PS.ProjectUtilizationType.prototype={projectPlan:0,resourceEngagements:1,projectPlanUntil:2};PS.ProjectUtilizationType.registerEnum("PS.ProjectUtilizationType",false);PS.QueueMsgType=function(){};PS.QueueMsgType.prototype={unknown:0,acProjectSave:1,adSyncERP:2,adSyncGroup:3,archiveCategories:4,archiveCustomFields:5,archiveGlobalProject:6,archiveResources:7,archiveSystemSettings:8,archiveViews:9,bumpPriority:10,cbsProjRendezvous:11,cbsRequest:12,cbsTsRendezvous:13,createProposalProject:14,createWssSite:15,deleteWssSite:16,lwpUpgradeToProject:17,notificationMessage:18,projectArchive:19,projectArchiveRetentionDelete:20,projectCheckIn:21,projectCreate:22,projectDelete:23,projectPublish:24,projectRename:25,projectRestore:26,projectReversePublish:27,projectUpdate:28,projectUpdateTeam:29,publishNotifications:30,queueCleanup:31,reportingAttributeCubeSettingsSync:32,reportingBaseCalendarSync:33,reportingCustomFieldMetadataSync:34,reportingEntityUserViewRefresh:35,reportingFiscalPeriodsSync:36,reportingLookupTableSync:37,reportingProjectDelete:38,reportingProjectPublish:39,reportingResourcesCapacityRangeSync:40,reportingResourceSync:41,reportingTimesheetAdjust:42,reportingTimesheetClassSync:43,reportingTimesheetDelete:44,reportingTimesheetPeriodDelete:45,reportingTimesheetPeriodSync:46,reportingTimesheetSave:47,reportingTimesheetStatusSync:48,reportingWSSSync:49,resourcePlanCheckIn:50,resourcePlanDelete:51,resourcePlanPublish:52,resourcePlanSave:53,restoreCategories:54,restoreCustomFields:55,restoreGlobalProject:56,restoreResources:57,restoreSystemSettings:58,restoreViews:59,rulesProcessAll:60,rulesProcessAllAutoForManager:61,rulesProcessAllForManager:62,rulesProcessSingleForManager:63,statusApproval:64,timer1:65,timer10:66,timer2:67,timer3:68,timer4:69,timer5:70,timer6:71,timer7:72,timer8:73,timer9:74,timerMessage:75,timerRzNotify:76,timerRzProj:77,timerRzTS:78,timesheetMessage:79,timesheetDelete:80,timesheetRecall:81,timesheetReview:82,timesheetSubmit:83,timesheetUpdate:84,reportingSyncGlobalData:85,synchronizeMembershipForWssSite:86,synchronizeSingleUserMembershipInWss:87,reportingRefresh:88,updateScheduledProject:89,workflowStartWorkflow:90,analysisDelete:91,analysisCreate:92,analysisUpdate:93,plannerSolutionCreate:94,plannerSolutionDelete:95,optimizerSolutionCreate:96,optimizerSolutionDelete:97,timesheetLineApproval:98,periodicTasks:99,pdpUpdateProjectImpacts:100,exchangeSyncTasks:101,reportingAttributeCubeDepartmentSync:102,reportingTimesheetProjectAggregation:103,reportingTimesheetAssignmentsUpgrade:104,workflowCheckinNotify:105,workflowChangeWorkflow:106,projectPublishSummary:107,reportingOlapDatabaseSettingsSync:108,reportingWorkflowMetadataSync:109,reportWorkflowProjectDataSync:110,reportEptSync:111,reportingSummaryPublish:112,reportingSolutionCommitedDecisionSync:113,workflowCommitNotify:114,reportingTimesheetAssignmentsRefresh:115,updateProjectSitePath:116,addSingleUserMembershipInWss:117,deleteSingleUserMembershipInWss:118,timeSheetUpdateResourceNonWorkingTime:119,syncProjectEnterpriseEntities:120,lastMessage:121,exchangeCalOofSync:122,preparePSPermissionSynchronization:123,psPermissionSynchronizePWASite:124,psPermissionSynchronizeProjectSite:125,preparePSProjectPermissionSynchronization:126,scheduleWebPartSave:127,projectImportTaskList:128,timesheetUpdateSRAForResource:129,activeMonitorCheck:130,managedModeTaskSynchronization:131,resourcePlanMigrate:132,reportingWSSIssueSync:133,reportingWSSRiskSync:134,reportingWSSDocSync:135,reportingWSSDeliverableSync:136};PS.QueueMsgType.registerEnum("PS.QueueMsgType",false);PS.ReadyToLeaveProjectStageValue=function(){};PS.ReadyToLeaveProjectStageValue.prototype={ready:0,requiresFieldsAndDrivers:1,requiresDrivers:2,requiresFields:3};PS.ReadyToLeaveProjectStageValue.registerEnum("PS.ReadyToLeaveProjectStageValue",false);PS.ResourceType=function(){};PS.ResourceType.prototype={winProjScratchpadResource:-1,winProjUnknownResource:-2,winProjUnassignedResource:-3,winProjSummaryResource:-4,pureUser:1,workResource:2,caN_LOG_IN_MAXIMUM:20,genericWorkResource:20,materialResource:21,genericMaterialResource:22,costResources:25,genericCostResources:26,iS_NONBUDGET_TYPE_MAXIMUM:50,budgetWorkResource:50,budgetCostResource:51,budgetMaterialResource:52,genericBudgetWorkResource:53,genericBudgetCostResource:54,genericBudgetMaterialResource:55,inactivateD_OFFSET:100};PS.ResourceType.registerEnum("PS.ResourceType",false);PS.StandardRateFormat=function(){};PS.StandardRateFormat.prototype={minute:1,hour:2,day:3,week:4,month:5,year:7,material:8};PS.StandardRateFormat.registerEnum("PS.StandardRateFormat",false);PS.StatusApprovalType=function(){};PS.StatusApprovalType.prototype={none:0,accepted:1,rejected:2};PS.StatusApprovalType.registerEnum("PS.StatusApprovalType",false);PS.StatusUpdateType=function(){};PS.StatusUpdateType.prototype={update:0,decline:1,createTask:2,delegate:3,createAssignment:4,teamDelegate:5,deleteTask:6,deleteAssignment:7};PS.StatusUpdateType.registerEnum("PS.StatusUpdateType",false);PS.StrategicImpactBehavior=function(){};PS.StrategicImpactBehavior.prototype={notSpecified:0,readOnly:1,readWrite:2,required:3};PS.StrategicImpactBehavior.registerEnum("PS.StrategicImpactBehavior",false);PS.TaskType=function(){};PS.TaskType.prototype={fixedUnits:0,fixedDuration:1,fixedWork:2,dummy:1e3};PS.TaskType.registerEnum("PS.TaskType",false);PS.TimeScale=function(){};PS.TimeScale.prototype={days:3,weeks:4,months:5,quarters:6,years:7};PS.TimeScale.registerEnum("PS.TimeScale",false);PS.TimeSheetEntryMode=function(){};PS.TimeSheetEntryMode.prototype={notSpecified:0,daily:1,weekly:2};PS.TimeSheetEntryMode.registerEnum("PS.TimeSheetEntryMode",false);PS.TimeSheetLineClass=function(){};PS.TimeSheetLineClass.prototype={standardLine:0,sickTimeLine:1,vacationLine:2,administrativeLine:3};PS.TimeSheetLineClass.registerEnum("PS.TimeSheetLineClass",false);PS.TimeSheetLineStatus=function(){};PS.TimeSheetLineStatus.prototype={notSpecified:0,pending:1,approved:2,rejected:3,notApplicable:4,pendingApproval:5};PS.TimeSheetLineStatus.registerEnum("PS.TimeSheetLineStatus",false);PS.TimeSheetStatus=function(){};PS.TimeSheetStatus.prototype={notSpecified:0,inProgress:1,submitted:2,acceptable:3,approved:4,rejected:5,pendingSubmit:6};PS.TimeSheetStatus.registerEnum("PS.TimeSheetStatus",false);PS.TimeSheetValidationType=function(){};PS.TimeSheetValidationType.prototype={unverified:0,verified:1,projectLevel:2};PS.TimeSheetValidationType.registerEnum("PS.TimeSheetValidationType",false);PS.TrackingMode=function(){};PS.TrackingMode.prototype={none:0,timePhased:1,percentComplete:2,actualHours:3};PS.TrackingMode.registerEnum("PS.TrackingMode",false);PS.UpdateProjectStageStatusFieldValue=function(){};PS.UpdateProjectStageStatusFieldValue.prototype={none:0,waitingForInput:1,waitingForApproval:2,workflowProcessing:3};PS.UpdateProjectStageStatusFieldValue.registerEnum("PS.UpdateProjectStageStatusFieldValue",false);PS.UtilizationType=function(){};PS.UtilizationType.prototype={fromProjectPlan:0,fromResourcePlan:1,fromProjectPlanThenResourcePlan:2};PS.UtilizationType.registerEnum("PS.UtilizationType",false);PS.WorkContourType=function(){};PS.WorkContourType.prototype={flat:0,backLoaded:1,frontLoaded:2,doublePeak:3,earlyPeak:4,latePeak:5,bell:6,turtle:7,userDefined:8};PS.WorkContourType.registerEnum("PS.WorkContourType",false);PS.WorkFormat=function(){};PS.WorkFormat.prototype={minute:1,hour:2,day:3,week:4,month:5};PS.WorkFormat.registerEnum("PS.WorkFormat",false);PS.ProjectContext=function(a){a:;PS.ProjectContext.initializeBase(this,[a]);this.$5_2=PS.ProjectServer.newObject(this);this.$1m_2=PS.ServiceStatus.newObject(this,this.$5_2)};PS.ProjectContext.get_current=function(){a:;if(!PS.ProjectContext.$1l)if(SP.ClientContext.get_current()){var a=new PS.ProjectContext(SP.ClientContext.get_current().get_url());a.set_isPageUrl(SP.ClientContext.get_current().get_isPageUrl());PS.ProjectContext.$1l=a}return PS.ProjectContext.$1l};PS.ProjectContext.prototype={$5_2:null,$1m_2:null,get_workflowActivities:function(){a:;return this.$5_2.get_workflowActivities()},get_workflowDesigner:function(){a:;return this.$5_2.get_workflowDesigner()},get_entityTypes:function(){a:;return this.$5_2.get_entityTypes()},get_projects:function(){a:;return this.$5_2.get_projects()},get_customFields:function(){a:;return this.$5_2.get_customFields()},get_lookupTables:function(){a:;return this.$5_2.get_lookupTables()},get_enterpriseProjectTypes:function(){a:;return this.$5_2.get_enterpriseProjectTypes()},get_phases:function(){a:;return this.$5_2.get_phases()},get_stages:function(){a:;return this.$5_2.get_stages()},get_projectDetailPages:function(){a:;return this.$5_2.get_projectDetailPages()},get_enterpriseResources:function(){a:;return this.$5_2.get_enterpriseResources()},get_events:function(){a:;return this.$5_2.get_events()},get_eventHandlers:function(){a:;return this.$5_2.get_eventHandlers()},get_timeSheetPeriods:function(){a:;return this.$5_2.get_timeSheetPeriods()},get_calendars:function(){a:;return this.$5_2.get_calendars()},get_serviceStatus:function(){a:;return this.$1m_2},getDeletedPublishedAssignments:function(a){a:;return this.$5_2.getDeletedPublishedAssignments(a)},waitForQueueAsync:function(d,a,b){a:;var c=new PS.ProjectContext.QueueJobPoll(this,d,a,b);c.run()}};PS.ProjectContext.QueueJobPoll=function(a,b,c,d){this.$$d_$1s_0=Function.createDelegate(this,this.$1s_0);this.$$d_$1t_0=Function.createDelegate(this,this.$1t_0);this.$$d_$1v_0=Function.createDelegate(this,this.$1v_0);this.$S_0=a;this.$L_0=b;this.$T_0=c;this.$R_0=d};PS.ProjectContext.QueueJobPoll.prototype={$S_0:null,$L_0:null,$T_0:0,$R_0:null,run:function(){a:;this.$1s_0()},$1u_0:function(a){a.val=0;if(!this.$L_0.get_serverObjectIsNull()){a.val=this.$L_0.get_jobState();switch(a.val){case 10:case 3:case 7:case 12:case 1:case 2:case 11:case 0:return true}}a.val=4;return false},$1s_0:function(){a:;this.$T_0-=2;this.$S_0.load(this.$L_0);this.$S_0.executeQueryAsync(this.$$d_$1v_0,this.$$d_$1t_0)},$1v_0:function(){var a,b,c;if((c=this.$1u_0(b={val:a}),a=b.val,c)&&this.$T_0>0)window.setTimeout(this.$$d_$1s_0,2e3);else this.$R_0(a)},$1t_0:function(){this.$R_0(0)}};PS.Assignment=function(b,a){a:;PS.Assignment.initializeBase(this,[b,a])};PS.Assignment.prototype={get_actualCostWorkPerformed:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformed");return this.get_objectData().get_properties()["ActualCostWorkPerformed"]},get_actualOvertimeCost:function(){a:;this.checkUninitializedProperty("ActualOvertimeCost");return this.get_objectData().get_properties()["ActualOvertimeCost"]},get_baselineCost:function(){a:;this.checkUninitializedProperty("BaselineCost");return this.get_objectData().get_properties()["BaselineCost"]},get_baselineCostPerUse:function(){a:;this.checkUninitializedProperty("BaselineCostPerUse");return this.get_objectData().get_properties()["BaselineCostPerUse"]},get_baselineFinish:function(){a:;this.checkUninitializedProperty("BaselineFinish");return this.get_objectData().get_properties()["BaselineFinish"]},get_baselineStart:function(){a:;this.checkUninitializedProperty("BaselineStart");return this.get_objectData().get_properties()["BaselineStart"]},get_baselineWork:function(){a:;this.checkUninitializedProperty("BaselineWork");return this.get_objectData().get_properties()["BaselineWork"]},get_baselineWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineWorkMilliseconds");return this.get_objectData().get_properties()["BaselineWorkMilliseconds"]},get_budgetedCostWorkPerformed:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkPerformed");return this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]},get_budgetedCostWorkScheduled:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkScheduled");return this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]},get_costVariance:function(){a:;this.checkUninitializedProperty("CostVariance");return this.get_objectData().get_properties()["CostVariance"]},get_costVarianceAtCompletion:function(){a:;this.checkUninitializedProperty("CostVarianceAtCompletion");return this.get_objectData().get_properties()["CostVarianceAtCompletion"]},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_currentCostVariance:function(){a:;this.checkUninitializedProperty("CurrentCostVariance");return this.get_objectData().get_properties()["CurrentCostVariance"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_delay:function(){a:;this.checkUninitializedProperty("Delay");return this.get_objectData().get_properties()["Delay"]},get_delayMilliseconds:function(){a:;this.checkUninitializedProperty("DelayMilliseconds");return this.get_objectData().get_properties()["DelayMilliseconds"]},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_finishVariance:function(){a:;this.checkUninitializedProperty("FinishVariance");return this.get_objectData().get_properties()["FinishVariance"]},get_finishVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("FinishVarianceMilliseconds");return this.get_objectData().get_properties()["FinishVarianceMilliseconds"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isConfirmed:function(){a:;this.checkUninitializedProperty("IsConfirmed");return this.get_objectData().get_properties()["IsConfirmed"]},get_isOverAllocated:function(){a:;this.checkUninitializedProperty("IsOverAllocated");return this.get_objectData().get_properties()["IsOverAllocated"]},get_isPublished:function(){a:;this.checkUninitializedProperty("IsPublished");return this.get_objectData().get_properties()["IsPublished"]},get_isResponsePending:function(){a:;this.checkUninitializedProperty("IsResponsePending");return this.get_objectData().get_properties()["IsResponsePending"]},get_isUpdateNeeded:function(){a:;this.checkUninitializedProperty("IsUpdateNeeded");return this.get_objectData().get_properties()["IsUpdateNeeded"]},get_levelingDelay:function(){a:;this.checkUninitializedProperty("LevelingDelay");return this.get_objectData().get_properties()["LevelingDelay"]},get_levelingDelayMilliseconds:function(){a:;this.checkUninitializedProperty("LevelingDelayMilliseconds");return this.get_objectData().get_properties()["LevelingDelayMilliseconds"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_notes:function(){a:;this.checkUninitializedProperty("Notes");return this.get_objectData().get_properties()["Notes"]},get_overtimeCost:function(){a:;this.checkUninitializedProperty("OvertimeCost");return this.get_objectData().get_properties()["OvertimeCost"]},get_remainingCost:function(){a:;this.checkUninitializedProperty("RemainingCost");return this.get_objectData().get_properties()["RemainingCost"]},get_remainingOvertimeCost:function(){a:;this.checkUninitializedProperty("RemainingOvertimeCost");return this.get_objectData().get_properties()["RemainingOvertimeCost"]},get_resume:function(){a:;this.checkUninitializedProperty("Resume");return this.get_objectData().get_properties()["Resume"]},get_scheduleCostVariance:function(){a:;this.checkUninitializedProperty("ScheduleCostVariance");return this.get_objectData().get_properties()["ScheduleCostVariance"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_startVariance:function(){a:;this.checkUninitializedProperty("StartVariance");return this.get_objectData().get_properties()["StartVariance"]},get_startVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("StartVarianceMilliseconds");return this.get_objectData().get_properties()["StartVarianceMilliseconds"]},get_stop:function(){a:;this.checkUninitializedProperty("Stop");return this.get_objectData().get_properties()["Stop"]},get_workContourType:function(){a:;this.checkUninitializedProperty("WorkContourType");return this.get_objectData().get_properties()["WorkContourType"]},get_workVariance:function(){a:;this.checkUninitializedProperty("WorkVariance");return this.get_objectData().get_properties()["WorkVariance"]},get_workVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("WorkVarianceMilliseconds");return this.get_objectData().get_properties()["WorkVarianceMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformed"]=a;delete b.ActualCostWorkPerformed}a=b.ActualOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeCost"]=a;delete b.ActualOvertimeCost}a=b.BaselineCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCost"]=a;delete b.BaselineCost}a=b.BaselineCostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCostPerUse"]=a;delete b.BaselineCostPerUse}a=b.BaselineFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineFinish"]=a;delete b.BaselineFinish}a=b.BaselineStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineStart"]=a;delete b.BaselineStart}a=b.BaselineWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWork"]=a;delete b.BaselineWork}a=b.BaselineWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWorkMilliseconds"]=a;delete b.BaselineWorkMilliseconds}a=b.BudgetedCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]=a;delete b.BudgetedCostWorkPerformed}a=b.BudgetedCostWorkScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]=a;delete b.BudgetedCostWorkScheduled}a=b.CostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariance"]=a;delete b.CostVariance}a=b.CostVarianceAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVarianceAtCompletion"]=a;delete b.CostVarianceAtCompletion}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CurrentCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentCostVariance"]=a;delete b.CurrentCostVariance}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Delay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Delay"]=a;delete b.Delay}a=b.DelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DelayMilliseconds"]=a;delete b.DelayMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVariance"]=a;delete b.FinishVariance}a=b.FinishVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVarianceMilliseconds"]=a;delete b.FinishVarianceMilliseconds}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsConfirmed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsConfirmed"]=a;delete b.IsConfirmed}a=b.IsOverAllocated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOverAllocated"]=a;delete b.IsOverAllocated}a=b.IsPublished;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPublished"]=a;delete b.IsPublished}a=b.IsResponsePending;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsResponsePending"]=a;delete b.IsResponsePending}a=b.IsUpdateNeeded;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsUpdateNeeded"]=a;delete b.IsUpdateNeeded}a=b.LevelingDelay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelay"]=a;delete b.LevelingDelay}a=b.LevelingDelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelayMilliseconds"]=a;delete b.LevelingDelayMilliseconds}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Notes"]=a;delete b.Notes}a=b.OvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeCost"]=a;delete b.OvertimeCost}a=b.RemainingCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingCost"]=a;delete b.RemainingCost}a=b.RemainingOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeCost"]=a;delete b.RemainingOvertimeCost}a=b.Resume;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Resume"]=a;delete b.Resume}a=b.ScheduleCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleCostVariance"]=a;delete b.ScheduleCostVariance}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVariance"]=a;delete b.StartVariance}a=b.StartVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVarianceMilliseconds"]=a;delete b.StartVarianceMilliseconds}a=b.Stop;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Stop"]=a;delete b.Stop}a=b.WorkContourType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkContourType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.WorkContourType}a=b.WorkVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVariance"]=a;delete b.WorkVariance}a=b.WorkVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVarianceMilliseconds"]=a;delete b.WorkVarianceMilliseconds}}};PS.AssignmentPropertyNames=function(){};PS.AssignmentObjectPropertyNames=function(){};PS.AssignmentCreationInformation=function(){a:;PS.AssignmentCreationInformation.initializeBase(this)};PS.AssignmentCreationInformation.prototype={$4_1:null,$0_1:null,$8_1:null,$I_1:null,$3_1:null,$1d_1:null,get_finish:function(){a:;return this.$4_1},set_finish:function(a){a:;this.$4_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_notes:function(){a:;return this.$8_1},set_notes:function(a){a:;this.$8_1=a;return a},get_resourceId:function(){a:;return this.$I_1},set_resourceId:function(a){a:;this.$I_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_taskId:function(){a:;return this.$1d_1},set_taskId:function(a){a:;this.$1d_1=a;return a},get_typeId:function(){a:;return "{f9c5fe6f-1a1b-4134-bc78-c145400f9b58}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Finish","Id","Notes","ResourceId","Start","TaskId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Notes}a=b.ResourceId;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.ResourceId}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.TaskId;if(!SP.ScriptUtility.isUndefined(a)){this.$1d_1=a;delete b.TaskId}}};PS.BaseCalendarException=function(b,a){a:;PS.BaseCalendarException.initializeBase(this,[b,a])};PS.Calendar=function(b,a){a:;PS.Calendar.initializeBase(this,[b,a])};PS.Calendar.prototype={get_baseCalendarExceptions:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["BaseCalendarExceptions"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CalendarExceptionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"BaseCalendarExceptions"));this.get_objectData().get_clientObjectProperties()["BaseCalendarExceptions"]=a}return a},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isStandardCalendar:function(){a:;this.checkUninitializedProperty("IsStandardCalendar");return this.get_objectData().get_properties()["IsStandardCalendar"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BaseCalendarExceptions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("BaseCalendarExceptions",this.get_baseCalendarExceptions(),a);this.get_baseCalendarExceptions().fromJson(a);delete b.BaseCalendarExceptions}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsStandardCalendar;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsStandardCalendar"]=a;delete b.IsStandardCalendar}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}},copyTo:function(d){a:;var b=this.get_context(),a;a=new PS.Calendar(b,new SP.ObjectPathMethod(b,this.get_path(),"CopyTo",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.CalendarPropertyNames=function(){};PS.CalendarObjectPropertyNames=function(){};PS.CalendarCollection=function(b,a){a:;PS.CalendarCollection.initializeBase(this,[b,a])};PS.CalendarCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Calendar},add:function(d){a:;var b=this.get_context(),a;a=new PS.Calendar(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Calendar(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Calendar(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.CalendarCreationInformation=function(){a:;PS.CalendarCreationInformation.initializeBase(this)};PS.CalendarCreationInformation.prototype={$0_1:null,$1_1:null,$18_1:null,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_originalId:function(){a:;return this.$18_1},set_originalId:function(a){a:;this.$18_1=a;return a},get_typeId:function(){a:;return "{871aabf6-6ad2-481a-8f7a-0ec5ae4613d3}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","Name","OriginalId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.OriginalId;if(!SP.ScriptUtility.isUndefined(a)){this.$18_1=a;delete b.OriginalId}}};PS.CalendarException=function(b,a){a:;PS.CalendarException.initializeBase(this,[b,a])};PS.CalendarException.prototype={get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},set_id:function(a){a:;this.get_objectData().get_properties()["Id"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_recurrenceDays:function(){a:;this.checkUninitializedProperty("RecurrenceDays");return this.get_objectData().get_properties()["RecurrenceDays"]},get_recurrenceFrequency:function(){a:;this.checkUninitializedProperty("RecurrenceFrequency");return this.get_objectData().get_properties()["RecurrenceFrequency"]},get_recurrenceMonth:function(){a:;this.checkUninitializedProperty("RecurrenceMonth");return this.get_objectData().get_properties()["RecurrenceMonth"]},get_recurrenceMonthDay:function(){a:;this.checkUninitializedProperty("RecurrenceMonthDay");return this.get_objectData().get_properties()["RecurrenceMonthDay"]},get_recurrenceType:function(){a:;this.checkUninitializedProperty("RecurrenceType");return this.get_objectData().get_properties()["RecurrenceType"]},get_recurrenceWeek:function(){a:;this.checkUninitializedProperty("RecurrenceWeek");return this.get_objectData().get_properties()["RecurrenceWeek"]},get_shift1Finish:function(){a:;this.checkUninitializedProperty("Shift1Finish");return this.get_objectData().get_properties()["Shift1Finish"]},get_shift1Start:function(){a:;this.checkUninitializedProperty("Shift1Start");return this.get_objectData().get_properties()["Shift1Start"]},get_shift2Finish:function(){a:;this.checkUninitializedProperty("Shift2Finish");return this.get_objectData().get_properties()["Shift2Finish"]},get_shift2Start:function(){a:;this.checkUninitializedProperty("Shift2Start");return this.get_objectData().get_properties()["Shift2Start"]},get_shift3Finish:function(){a:;this.checkUninitializedProperty("Shift3Finish");return this.get_objectData().get_properties()["Shift3Finish"]},get_shift3Start:function(){a:;this.checkUninitializedProperty("Shift3Start");return this.get_objectData().get_properties()["Shift3Start"]},get_shift4Finish:function(){a:;this.checkUninitializedProperty("Shift4Finish");return this.get_objectData().get_properties()["Shift4Finish"]},get_shift4Start:function(){a:;this.checkUninitializedProperty("Shift4Start");return this.get_objectData().get_properties()["Shift4Start"]},get_shift5Finish:function(){a:;this.checkUninitializedProperty("Shift5Finish");return this.get_objectData().get_properties()["Shift5Finish"]},get_shift5Start:function(){a:;this.checkUninitializedProperty("Shift5Start");return this.get_objectData().get_properties()["Shift5Start"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.RecurrenceDays;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceDays"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RecurrenceDays}a=b.RecurrenceFrequency;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceFrequency"]=a;delete b.RecurrenceFrequency}a=b.RecurrenceMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceMonth"]=a;delete b.RecurrenceMonth}a=b.RecurrenceMonthDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceMonthDay"]=a;delete b.RecurrenceMonthDay}a=b.RecurrenceType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RecurrenceType}a=b.RecurrenceWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RecurrenceWeek"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RecurrenceWeek}a=b.Shift1Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift1Finish"]=a;delete b.Shift1Finish}a=b.Shift1Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift1Start"]=a;delete b.Shift1Start}a=b.Shift2Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift2Finish"]=a;delete b.Shift2Finish}a=b.Shift2Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift2Start"]=a;delete b.Shift2Start}a=b.Shift3Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift3Finish"]=a;delete b.Shift3Finish}a=b.Shift3Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift3Start"]=a;delete b.Shift3Start}a=b.Shift4Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift4Finish"]=a;delete b.Shift4Finish}a=b.Shift4Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift4Start"]=a;delete b.Shift4Start}a=b.Shift5Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift5Finish"]=a;delete b.Shift5Finish}a=b.Shift5Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Shift5Start"]=a;delete b.Shift5Start}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.CalendarExceptionPropertyNames=function(){};PS.CalendarExceptionObjectPropertyNames=function(){};PS.CalendarExceptionCollection=function(b,a){a:;PS.CalendarExceptionCollection.initializeBase(this,[b,a])};PS.CalendarExceptionCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.CalendarException},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CalendarException(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},add:function(c){a:;var b=this.get_context(),a;a=new PS.CalendarException(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[c]));this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.CalendarExceptionCreationInformation=function(){a:;PS.CalendarExceptionCreationInformation.initializeBase(this)};PS.CalendarExceptionCreationInformation.prototype={$4_1:null,$1_1:null,$1E_1:0,$1F_1:0,$1G_1:0,$1H_1:0,$1I_1:0,$1J_1:0,$1O_1:0,$1P_1:0,$1Q_1:0,$1R_1:0,$1S_1:0,$1T_1:0,$1U_1:0,$1V_1:0,$1W_1:0,$1X_1:0,$3_1:null,get_finish:function(){a:;return this.$4_1},set_finish:function(a){a:;this.$4_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_recurrenceDays:function(){a:;return this.$1E_1},set_recurrenceDays:function(a){a:;this.$1E_1=a;return a},get_recurrenceFrequency:function(){a:;return this.$1F_1},set_recurrenceFrequency:function(a){a:;this.$1F_1=a;return a},get_recurrenceMonth:function(){a:;return this.$1G_1},set_recurrenceMonth:function(a){a:;this.$1G_1=a;return a},get_recurrenceMonthDay:function(){a:;return this.$1H_1},set_recurrenceMonthDay:function(a){a:;this.$1H_1=a;return a},get_recurrenceType:function(){a:;return this.$1I_1},set_recurrenceType:function(a){a:;this.$1I_1=a;return a},get_recurrenceWeek:function(){a:;return this.$1J_1},set_recurrenceWeek:function(a){a:;this.$1J_1=a;return a},get_shift1Finish:function(){a:;return this.$1O_1},set_shift1Finish:function(a){a:;this.$1O_1=a;return a},get_shift1Start:function(){a:;return this.$1P_1},set_shift1Start:function(a){a:;this.$1P_1=a;return a},get_shift2Finish:function(){a:;return this.$1Q_1},set_shift2Finish:function(a){a:;this.$1Q_1=a;return a},get_shift2Start:function(){a:;return this.$1R_1},set_shift2Start:function(a){a:;this.$1R_1=a;return a},get_shift3Finish:function(){a:;return this.$1S_1},set_shift3Finish:function(a){a:;this.$1S_1=a;return a},get_shift3Start:function(){a:;return this.$1T_1},set_shift3Start:function(a){a:;this.$1T_1=a;return a},get_shift4Finish:function(){a:;return this.$1U_1},set_shift4Finish:function(a){a:;this.$1U_1=a;return a},get_shift4Start:function(){a:;return this.$1V_1},set_shift4Start:function(a){a:;this.$1V_1=a;return a},get_shift5Finish:function(){a:;return this.$1W_1},set_shift5Finish:function(a){a:;this.$1W_1=a;return a},get_shift5Start:function(){a:;return this.$1X_1},set_shift5Start:function(a){a:;this.$1X_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_typeId:function(){a:;return "{15a86477-a9f6-4e4d-9da9-1603b15d95c8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Finish","Name","RecurrenceDays","RecurrenceFrequency","RecurrenceMonth","RecurrenceMonthDay","RecurrenceType","RecurrenceWeek","Shift1Finish","Shift1Start","Shift2Finish","Shift2Start","Shift3Finish","Shift3Start","Shift4Finish","Shift4Start","Shift5Finish","Shift5Start","Start"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Finish}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.RecurrenceDays;if(!SP.ScriptUtility.isUndefined(a)){this.$1E_1=SP.DataConvert.fixupType(null,a);delete b.RecurrenceDays}a=b.RecurrenceFrequency;if(!SP.ScriptUtility.isUndefined(a)){this.$1F_1=a;delete b.RecurrenceFrequency}a=b.RecurrenceMonth;if(!SP.ScriptUtility.isUndefined(a)){this.$1G_1=a;delete b.RecurrenceMonth}a=b.RecurrenceMonthDay;if(!SP.ScriptUtility.isUndefined(a)){this.$1H_1=a;delete b.RecurrenceMonthDay}a=b.RecurrenceType;if(!SP.ScriptUtility.isUndefined(a)){this.$1I_1=SP.DataConvert.fixupType(null,a);delete b.RecurrenceType}a=b.RecurrenceWeek;if(!SP.ScriptUtility.isUndefined(a)){this.$1J_1=SP.DataConvert.fixupType(null,a);delete b.RecurrenceWeek}a=b.Shift1Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1O_1=a;delete b.Shift1Finish}a=b.Shift1Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1P_1=a;delete b.Shift1Start}a=b.Shift2Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1Q_1=a;delete b.Shift2Finish}a=b.Shift2Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1R_1=a;delete b.Shift2Start}a=b.Shift3Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1S_1=a;delete b.Shift3Finish}a=b.Shift3Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1T_1=a;delete b.Shift3Start}a=b.Shift4Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1U_1=a;delete b.Shift4Finish}a=b.Shift4Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1V_1=a;delete b.Shift4Start}a=b.Shift5Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$1W_1=a;delete b.Shift5Finish}a=b.Shift5Start;if(!SP.ScriptUtility.isUndefined(a)){this.$1X_1=a;delete b.Shift5Start}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}}};PS.CustomField=function(b,a){a:;PS.CustomField.initializeBase(this,[b,a])};PS.CustomField.prototype={get_appAlternateId:function(){a:;this.checkUninitializedProperty("AppAlternateId");return this.get_objectData().get_properties()["AppAlternateId"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_entityType:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EntityType"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EntityType"));this.get_objectData().get_clientObjectProperties()["EntityType"]=a}return a},get_fieldType:function(){a:;this.checkUninitializedProperty("FieldType");return this.get_objectData().get_properties()["FieldType"]},get_formula:function(){a:;this.checkUninitializedProperty("Formula");return this.get_objectData().get_properties()["Formula"]},set_formula:function(a){a:;this.get_objectData().get_properties()["Formula"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Formula",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_internalName:function(){a:;this.checkUninitializedProperty("InternalName");return this.get_objectData().get_properties()["InternalName"]},get_isEditableInVisibility:function(){a:;this.checkUninitializedProperty("IsEditableInVisibility");return this.get_objectData().get_properties()["IsEditableInVisibility"]},set_isEditableInVisibility:function(a){a:;this.get_objectData().get_properties()["IsEditableInVisibility"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsEditableInVisibility",a));return a},get_isMultilineText:function(){a:;this.checkUninitializedProperty("IsMultilineText");return this.get_objectData().get_properties()["IsMultilineText"]},set_isMultilineText:function(a){a:;this.get_objectData().get_properties()["IsMultilineText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMultilineText",a));return a},get_isRequired:function(){a:;this.checkUninitializedProperty("IsRequired");return this.get_objectData().get_properties()["IsRequired"]},set_isRequired:function(a){a:;this.get_objectData().get_properties()["IsRequired"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsRequired",a));return a},get_isWorkflowControlled:function(){a:;this.checkUninitializedProperty("IsWorkflowControlled");return this.get_objectData().get_properties()["IsWorkflowControlled"]},set_isWorkflowControlled:function(a){a:;this.get_objectData().get_properties()["IsWorkflowControlled"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsWorkflowControlled",a));return a},get_lookupAllowMultiSelect:function(){a:;this.checkUninitializedProperty("LookupAllowMultiSelect");return this.get_objectData().get_properties()["LookupAllowMultiSelect"]},get_lookupDefaultValue:function(){a:;this.checkUninitializedProperty("LookupDefaultValue");return this.get_objectData().get_properties()["LookupDefaultValue"]},set_lookupDefaultValue:function(a){a:;this.get_objectData().get_properties()["LookupDefaultValue"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LookupDefaultValue",a));return a},get_lookupEntries:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupEntries"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupEntryCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupEntries"));this.get_objectData().get_clientObjectProperties()["LookupEntries"]=a}return a},get_lookupTable:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupTable"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupTable(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupTable"));this.get_objectData().get_clientObjectProperties()["LookupTable"]=a}return a},set_lookupTable:function(a){a:;this.get_objectData().get_clientObjectProperties()["LookupTable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LookupTable",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_rollsDownToAssignments:function(){a:;this.checkUninitializedProperty("RollsDownToAssignments");return this.get_objectData().get_properties()["RollsDownToAssignments"]},set_rollsDownToAssignments:function(a){a:;this.get_objectData().get_properties()["RollsDownToAssignments"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RollsDownToAssignments",a));return a},get_rollupType:function(){a:;this.checkUninitializedProperty("RollupType");return this.get_objectData().get_properties()["RollupType"]},set_rollupType:function(a){a:;this.get_objectData().get_properties()["RollupType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RollupType",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppAlternateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppAlternateId"]=a;delete b.AppAlternateId}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.EntityType;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EntityType",this.get_entityType(),a);this.get_entityType().fromJson(a);delete b.EntityType}a=b.FieldType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FieldType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FieldType}a=b.Formula;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Formula"]=a;delete b.Formula}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.InternalName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["InternalName"]=a;delete b.InternalName}a=b.IsEditableInVisibility;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEditableInVisibility"]=a;delete b.IsEditableInVisibility}a=b.IsMultilineText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMultilineText"]=a;delete b.IsMultilineText}a=b.IsRequired;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRequired"]=a;delete b.IsRequired}a=b.IsWorkflowControlled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsWorkflowControlled"]=a;delete b.IsWorkflowControlled}a=b.LookupAllowMultiSelect;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LookupAllowMultiSelect"]=a;delete b.LookupAllowMultiSelect}a=b.LookupDefaultValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LookupDefaultValue"]=a;delete b.LookupDefaultValue}a=b.LookupEntries;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupEntries",this.get_lookupEntries(),a);this.get_lookupEntries().fromJson(a);delete b.LookupEntries}a=b.LookupTable;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupTable",this.get_lookupTable(),a);this.get_lookupTable().fromJson(a);delete b.LookupTable}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.RollsDownToAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RollsDownToAssignments"]=a;delete b.RollsDownToAssignments}a=b.RollupType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RollupType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.RollupType}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.CustomFieldPropertyNames=function(){};PS.CustomFieldObjectPropertyNames=function(){};PS.CustomFieldCollection=function(b,a){a:;PS.CustomFieldCollection.initializeBase(this,[b,a])};PS.CustomFieldCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.CustomField},add:function(d){a:;var b=this.get_context(),a;a=new PS.CustomField(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},getByAppAlternateId:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.CustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByAppAlternateId",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.CustomFieldCreationInformation=function(){a:;PS.CustomFieldCreationInformation.initializeBase(this)};PS.CustomFieldCreationInformation.prototype={$2_1:null,$1n_1:null,$l_1:0,$m_1:null,$0_1:null,$s_1:false,$x_1:false,$y_1:false,$z_1:false,$12_1:false,$13_1:null,$1o_1:null,$1_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_entityType:function(){a:;return this.$1n_1},set_entityType:function(a){a:;this.$1n_1=a;return a},get_fieldType:function(){a:;return this.$l_1},set_fieldType:function(a){a:;this.$l_1=a;return a},get_formula:function(){a:;return this.$m_1},set_formula:function(a){a:;this.$m_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isEditableInVisibility:function(){a:;return this.$s_1},set_isEditableInVisibility:function(a){a:;this.$s_1=a;return a},get_isMultilineText:function(){a:;return this.$x_1},set_isMultilineText:function(a){a:;this.$x_1=a;return a},get_isRequired:function(){a:;return this.$y_1},set_isRequired:function(a){a:;this.$y_1=a;return a},get_isWorkflowControlled:function(){a:;return this.$z_1},set_isWorkflowControlled:function(a){a:;this.$z_1=a;return a},get_lookupAllowMultiSelect:function(){a:;return this.$12_1},set_lookupAllowMultiSelect:function(a){a:;this.$12_1=a;return a},get_lookupDefaultValue:function(){a:;return this.$13_1},set_lookupDefaultValue:function(a){a:;this.$13_1=a;return a},get_lookupTable:function(){a:;return this.$1o_1},set_lookupTable:function(a){a:;this.$1o_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_typeId:function(){a:;return "{e98c4be3-a6b6-4801-ba6a-9394a5c25177}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","EntityType","FieldType","Formula","Id","IsEditableInVisibility","IsMultilineText","IsRequired","IsWorkflowControlled","LookupAllowMultiSelect","LookupDefaultValue","LookupTable","Name"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.EntityType;if(!SP.ScriptUtility.isUndefined(a))delete b.EntityType;a=b.FieldType;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=SP.DataConvert.fixupType(null,a);delete b.FieldType}a=b.Formula;if(!SP.ScriptUtility.isUndefined(a)){this.$m_1=a;delete b.Formula}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsEditableInVisibility;if(!SP.ScriptUtility.isUndefined(a)){this.$s_1=a;delete b.IsEditableInVisibility}a=b.IsMultilineText;if(!SP.ScriptUtility.isUndefined(a)){this.$x_1=a;delete b.IsMultilineText}a=b.IsRequired;if(!SP.ScriptUtility.isUndefined(a)){this.$y_1=a;delete b.IsRequired}a=b.IsWorkflowControlled;if(!SP.ScriptUtility.isUndefined(a)){this.$z_1=a;delete b.IsWorkflowControlled}a=b.LookupAllowMultiSelect;if(!SP.ScriptUtility.isUndefined(a)){this.$12_1=a;delete b.LookupAllowMultiSelect}a=b.LookupDefaultValue;if(!SP.ScriptUtility.isUndefined(a)){this.$13_1=a;delete b.LookupDefaultValue}a=b.LookupTable;if(!SP.ScriptUtility.isUndefined(a))delete b.LookupTable;a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}}};PS.DeletedPublishedAssignment=function(b,a){a:;PS.DeletedPublishedAssignment.initializeBase(this,[b,a])};PS.DeletedPublishedAssignment.prototype={get_deletedDate:function(){a:;this.checkUninitializedProperty("DeletedDate");return this.get_objectData().get_properties()["DeletedDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_projectId:function(){a:;this.checkUninitializedProperty("ProjectId");return this.get_objectData().get_properties()["ProjectId"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DeletedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DeletedDate"]=a;delete b.DeletedDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ProjectId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectId"]=a;delete b.ProjectId}}};PS.DeletedPublishedAssignmentPropertyNames=function(){};PS.DeletedPublishedAssignmentCollection=function(b,a){a:;PS.DeletedPublishedAssignmentCollection.initializeBase(this,[b,a])};PS.DeletedPublishedAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DeletedPublishedAssignment}};PS.DraftAssignment=function(b,a){a:;PS.DraftAssignment.initializeBase(this,[b,a])};PS.DraftAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.$K_2(b,a);return a},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},set_actualCost:function(a){a:;this.get_objectData().get_properties()["ActualCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualCost",a));return a},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},set_actualFinish:function(a){a:;this.get_objectData().get_properties()["ActualFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualFinish",a));return a},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},set_actualOvertimeWork:function(a){a:;this.get_objectData().get_properties()["ActualOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertimeWork",a));return a},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},set_actualOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertimeWorkMilliseconds",a));return a},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},set_actualStart:function(a){a:;this.get_objectData().get_properties()["ActualStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualStart",a));return a},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_budgetedCost:function(){a:;this.checkUninitializedProperty("BudgetedCost");return this.get_objectData().get_properties()["BudgetedCost"]},set_budgetedCost:function(a){a:;this.get_objectData().get_properties()["BudgetedCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetedCost",a));return a},get_budgetedWork:function(){a:;this.checkUninitializedProperty("BudgetedWork");return this.get_objectData().get_properties()["BudgetedWork"]},set_budgetedWork:function(a){a:;this.get_objectData().get_properties()["BudgetedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetedWork",a));return a},get_budgetedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetedWorkMilliseconds");return this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]},set_budgetedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetedWorkMilliseconds",a));return a},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},set_cost:function(a){a:;this.get_objectData().get_properties()["Cost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Cost",a));return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},set_defaultBookingType:function(a){a:;this.get_objectData().get_properties()["DefaultBookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultBookingType",a));return a},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},set_isLockedByManager:function(a){a:;this.get_objectData().get_properties()["IsLockedByManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsLockedByManager",a));return a},get_isWorkResource:function(){a:;this.checkUninitializedProperty("IsWorkResource");return this.get_objectData().get_properties()["IsWorkResource"]},set_isWorkResource:function(a){a:;this.get_objectData().get_properties()["IsWorkResource"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsWorkResource",a));return a},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},set_overtimeWork:function(a){a:;this.get_objectData().get_properties()["OvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWork",a));return a},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},set_overtimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWorkMilliseconds",a));return a},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},set_owner:function(a){a:;this.get_objectData().get_clientObjectProperties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignment(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},set_percentWorkComplete:function(a){a:;this.get_objectData().get_properties()["PercentWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentWorkComplete",a));return a},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},set_regularWork:function(a){a:;this.get_objectData().get_properties()["RegularWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWork",a));return a},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},set_regularWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWorkMilliseconds",a));return a},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},set_remainingOvertimeWork:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeWork",a));return a},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},set_remainingOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeWorkMilliseconds",a));return a},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},set_remainingWork:function(a){a:;this.get_objectData().get_properties()["RemainingWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWork",a));return a},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},set_remainingWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWorkMilliseconds",a));return a},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProjectResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_resourceCapacity:function(){a:;this.checkUninitializedProperty("ResourceCapacity");return this.get_objectData().get_properties()["ResourceCapacity"]},set_resourceCapacity:function(a){a:;this.get_objectData().get_properties()["ResourceCapacity"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResourceCapacity",a));return a},get_task:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Task"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Task"));this.get_objectData().get_clientObjectProperties()["Task"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Assignment.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.BudgetedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCost"]=a;delete b.BudgetedCost}a=b.BudgetedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWork"]=a;delete b.BudgetedWork}a=b.BudgetedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;delete b.BudgetedWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsWorkResource;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsWorkResource"]=a;delete b.IsWorkResource}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ResourceCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceCapacity"]=a;delete b.ResourceCapacity}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Task",this.get_task(),a);this.get_task().fromJson(a);delete b.Task}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_2:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftAssignmentPropertyNames=function(){};PS.DraftAssignmentObjectPropertyNames=function(){};PS.DraftAssignmentCollection=function(b,a){a:;PS.DraftAssignmentCollection.initializeBase(this,[b,a])};PS.DraftAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftAssignment},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.DraftProject=function(b,a){a:;PS.DraftProject.initializeBase(this,[b,a])};PS.DraftProject.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.setCustomFieldValue(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},set_calendar:function(a){a:;this.get_objectData().get_clientObjectProperties()["Calendar"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Calendar",a));return a},get_currencyCode:function(){a:;this.checkUninitializedProperty("CurrencyCode");return this.get_objectData().get_properties()["CurrencyCode"]},set_currencyCode:function(a){a:;this.get_objectData().get_properties()["CurrencyCode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencyCode",a));return a},get_currencyDigits:function(){a:;this.checkUninitializedProperty("CurrencyDigits");return this.get_objectData().get_properties()["CurrencyDigits"]},set_currencyDigits:function(a){a:;this.get_objectData().get_properties()["CurrencyDigits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencyDigits",a));return a},get_currencyPosition:function(){a:;this.checkUninitializedProperty("CurrencyPosition");return this.get_objectData().get_properties()["CurrencyPosition"]},set_currencyPosition:function(a){a:;this.get_objectData().get_properties()["CurrencyPosition"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencyPosition",a));return a},get_currencySymbol:function(){a:;this.checkUninitializedProperty("CurrencySymbol");return this.get_objectData().get_properties()["CurrencySymbol"]},set_currencySymbol:function(a){a:;this.get_objectData().get_properties()["CurrencySymbol"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrencySymbol",a));return a},get_currentDate:function(){a:;this.checkUninitializedProperty("CurrentDate");return this.get_objectData().get_properties()["CurrentDate"]},set_currentDate:function(a){a:;this.get_objectData().get_properties()["CurrentDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrentDate",a));return a},get_daysPerMonth:function(){a:;this.checkUninitializedProperty("DaysPerMonth");return this.get_objectData().get_properties()["DaysPerMonth"]},set_daysPerMonth:function(a){a:;this.get_objectData().get_properties()["DaysPerMonth"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DaysPerMonth",a));return a},get_defaultEffortDriven:function(){a:;this.checkUninitializedProperty("DefaultEffortDriven");return this.get_objectData().get_properties()["DefaultEffortDriven"]},set_defaultEffortDriven:function(a){a:;this.get_objectData().get_properties()["DefaultEffortDriven"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultEffortDriven",a));return a},get_defaultEstimatedDuration:function(){a:;this.checkUninitializedProperty("DefaultEstimatedDuration");return this.get_objectData().get_properties()["DefaultEstimatedDuration"]},set_defaultEstimatedDuration:function(a){a:;this.get_objectData().get_properties()["DefaultEstimatedDuration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultEstimatedDuration",a));return a},get_defaultFixedCostAccrual:function(){a:;this.checkUninitializedProperty("DefaultFixedCostAccrual");return this.get_objectData().get_properties()["DefaultFixedCostAccrual"]},set_defaultFixedCostAccrual:function(a){a:;this.get_objectData().get_properties()["DefaultFixedCostAccrual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultFixedCostAccrual",a));return a},get_defaultOvertimeRate:function(){a:;this.checkUninitializedProperty("DefaultOvertimeRate");return this.get_objectData().get_properties()["DefaultOvertimeRate"]},set_defaultOvertimeRate:function(a){a:;this.get_objectData().get_properties()["DefaultOvertimeRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultOvertimeRate",a));return a},get_defaultStandardRate:function(){a:;this.checkUninitializedProperty("DefaultStandardRate");return this.get_objectData().get_properties()["DefaultStandardRate"]},set_defaultStandardRate:function(a){a:;this.get_objectData().get_properties()["DefaultStandardRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultStandardRate",a));return a},get_defaultTaskType:function(){a:;this.checkUninitializedProperty("DefaultTaskType");return this.get_objectData().get_properties()["DefaultTaskType"]},set_defaultTaskType:function(a){a:;this.get_objectData().get_properties()["DefaultTaskType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultTaskType",a));return a},get_defaultWorkFormat:function(){a:;this.checkUninitializedProperty("DefaultWorkFormat");return this.get_objectData().get_properties()["DefaultWorkFormat"]},set_defaultWorkFormat:function(a){a:;this.get_objectData().get_properties()["DefaultWorkFormat"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultWorkFormat",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_finishDate:function(){a:;this.checkUninitializedProperty("FinishDate");return this.get_objectData().get_properties()["FinishDate"]},set_finishDate:function(a){a:;this.get_objectData().get_properties()["FinishDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FinishDate",a));return a},get_fiscalYearStartMonth:function(){a:;this.checkUninitializedProperty("FiscalYearStartMonth");return this.get_objectData().get_properties()["FiscalYearStartMonth"]},set_fiscalYearStartMonth:function(a){a:;this.get_objectData().get_properties()["FiscalYearStartMonth"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FiscalYearStartMonth",a));return a},get_includeCustomFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"IncludeCustomFields"));this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"]=a}return a},get_minutesPerDay:function(){a:;this.checkUninitializedProperty("MinutesPerDay");return this.get_objectData().get_properties()["MinutesPerDay"]},set_minutesPerDay:function(a){a:;this.get_objectData().get_properties()["MinutesPerDay"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MinutesPerDay",a));return a},get_minutesPerWeek:function(){a:;this.checkUninitializedProperty("MinutesPerWeek");return this.get_objectData().get_properties()["MinutesPerWeek"]},set_minutesPerWeek:function(a){a:;this.get_objectData().get_properties()["MinutesPerWeek"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MinutesPerWeek",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_newTasksAreManual:function(){a:;this.checkUninitializedProperty("NewTasksAreManual");return this.get_objectData().get_properties()["NewTasksAreManual"]},set_newTasksAreManual:function(a){a:;this.get_objectData().get_properties()["NewTasksAreManual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NewTasksAreManual",a));return a},get_numberFiscalYearFromStart:function(){a:;this.checkUninitializedProperty("NumberFiscalYearFromStart");return this.get_objectData().get_properties()["NumberFiscalYearFromStart"]},set_numberFiscalYearFromStart:function(a){a:;this.get_objectData().get_properties()["NumberFiscalYearFromStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NumberFiscalYearFromStart",a));return a},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},set_owner:function(a){a:;this.get_objectData().get_clientObjectProperties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_projectIdentifier:function(){a:;this.checkUninitializedProperty("ProjectIdentifier");return this.get_objectData().get_properties()["ProjectIdentifier"]},set_projectIdentifier:function(a){a:;this.get_objectData().get_properties()["ProjectIdentifier"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProjectIdentifier",a));return a},get_projectResources:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectResources"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProjectResourceCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectResources"));this.get_objectData().get_clientObjectProperties()["ProjectResources"]=a}return a},get_protectedActualsSynch:function(){a:;this.checkUninitializedProperty("ProtectedActualsSynch");return this.get_objectData().get_properties()["ProtectedActualsSynch"]},set_protectedActualsSynch:function(a){a:;this.get_objectData().get_properties()["ProtectedActualsSynch"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProtectedActualsSynch",a));return a},get_showEstimatedDurations:function(){a:;this.checkUninitializedProperty("ShowEstimatedDurations");return this.get_objectData().get_properties()["ShowEstimatedDurations"]},set_showEstimatedDurations:function(a){a:;this.get_objectData().get_properties()["ShowEstimatedDurations"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShowEstimatedDurations",a));return a},get_startDate:function(){a:;this.checkUninitializedProperty("StartDate");return this.get_objectData().get_properties()["StartDate"]},set_startDate:function(a){a:;this.get_objectData().get_properties()["StartDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartDate",a));return a},get_statusDate:function(){a:;this.checkUninitializedProperty("StatusDate");return this.get_objectData().get_properties()["StatusDate"]},set_statusDate:function(a){a:;this.get_objectData().get_properties()["StatusDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusDate",a));return a},get_taskLinks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TaskLinks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskLinks"));this.get_objectData().get_clientObjectProperties()["TaskLinks"]=a}return a},get_tasks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Tasks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Tasks"));this.get_objectData().get_clientObjectProperties()["Tasks"]=a}return a},get_trackingMode:function(){a:;this.checkUninitializedProperty("TrackingMode");return this.get_objectData().get_properties()["TrackingMode"]},set_trackingMode:function(a){a:;this.get_objectData().get_properties()["TrackingMode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrackingMode",a));return a},get_utilizationDate:function(){a:;this.checkUninitializedProperty("UtilizationDate");return this.get_objectData().get_properties()["UtilizationDate"]},set_utilizationDate:function(a){a:;this.get_objectData().get_properties()["UtilizationDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationDate",a));return a},get_utilizationType:function(){a:;this.checkUninitializedProperty("UtilizationType");return this.get_objectData().get_properties()["UtilizationType"]},set_utilizationType:function(a){a:;this.get_objectData().get_properties()["UtilizationType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationType",a));return a},get_weekStartDay:function(){a:;this.checkUninitializedProperty("WeekStartDay");return this.get_objectData().get_properties()["WeekStartDay"]},set_weekStartDay:function(a){a:;this.get_objectData().get_properties()["WeekStartDay"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WeekStartDay",a));return a},get_winprojVersion:function(){a:;this.checkUninitializedProperty("WinprojVersion");return this.get_objectData().get_properties()["WinprojVersion"]},set_winprojVersion:function(a){a:;this.get_objectData().get_properties()["WinprojVersion"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WinprojVersion",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Project.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.CurrencyCode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyCode"]=a;delete b.CurrencyCode}a=b.CurrencyDigits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyDigits"]=a;delete b.CurrencyDigits}a=b.CurrencyPosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyPosition"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrencyPosition}a=b.CurrencySymbol;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencySymbol"]=a;delete b.CurrencySymbol}a=b.CurrentDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentDate"]=a;delete b.CurrentDate}a=b.DaysPerMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DaysPerMonth"]=a;delete b.DaysPerMonth}a=b.DefaultEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEffortDriven"]=a;delete b.DefaultEffortDriven}a=b.DefaultEstimatedDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEstimatedDuration"]=a;delete b.DefaultEstimatedDuration}a=b.DefaultFixedCostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultFixedCostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultFixedCostAccrual}a=b.DefaultOvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultOvertimeRate"]=a;delete b.DefaultOvertimeRate}a=b.DefaultStandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStandardRate"]=a;delete b.DefaultStandardRate}a=b.DefaultTaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultTaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultTaskType}a=b.DefaultWorkFormat;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultWorkFormat"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultWorkFormat}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.FinishDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishDate"]=a;delete b.FinishDate}a=b.FiscalYearStartMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FiscalYearStartMonth"]=a;delete b.FiscalYearStartMonth}a=b.IncludeCustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("IncludeCustomFields",this.get_includeCustomFields(),a);this.get_includeCustomFields().fromJson(a);delete b.IncludeCustomFields}a=b.MinutesPerDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerDay"]=a;delete b.MinutesPerDay}a=b.MinutesPerWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerWeek"]=a;delete b.MinutesPerWeek}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.NewTasksAreManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NewTasksAreManual"]=a;delete b.NewTasksAreManual}a=b.NumberFiscalYearFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NumberFiscalYearFromStart"]=a;delete b.NumberFiscalYearFromStart}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.ProjectIdentifier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectIdentifier"]=a;delete b.ProjectIdentifier}a=b.ProjectResources;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectResources",this.get_projectResources(),a);this.get_projectResources().fromJson(a);delete b.ProjectResources}a=b.ProtectedActualsSynch;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProtectedActualsSynch"]=a;delete b.ProtectedActualsSynch}a=b.ShowEstimatedDurations;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ShowEstimatedDurations"]=a;delete b.ShowEstimatedDurations}a=b.StartDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartDate"]=a;delete b.StartDate}a=b.StatusDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StatusDate"]=a;delete b.StatusDate}a=b.TaskLinks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskLinks",this.get_taskLinks(),a);this.get_taskLinks().fromJson(a);delete b.TaskLinks}a=b.Tasks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Tasks",this.get_tasks(),a);this.get_tasks().fromJson(a);delete b.Tasks}a=b.TrackingMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrackingMode"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TrackingMode}a=b.UtilizationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationDate"]=a;delete b.UtilizationDate}a=b.UtilizationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UtilizationType}a=b.WeekStartDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WeekStartDay"]=a;delete b.WeekStartDay}a=b.WinprojVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WinprojVersion"]=a;delete b.WinprojVersion}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},validate:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Validate",null);a.addQuery(b)},update:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Update",null));return b},publish:function(d){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Publish",[d]));var c=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(c.get_id(),this);this.get_context().addQuery(c);return b},checkIn:function(d){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"CheckIn",[d]));var c=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(c.get_id(),this);this.get_context().addQuery(c);return b}};PS.DraftProjectPropertyNames=function(){};PS.DraftProjectObjectPropertyNames=function(){};PS.DraftProjectResource=function(b,a){a:;PS.DraftProjectResource.initializeBase(this,[b,a])};PS.DraftProjectResource.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.$K_2(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},set_canLevel:function(a){a:;this.get_objectData().get_properties()["CanLevel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CanLevel",a));return a},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},set_code:function(a){a:;this.get_objectData().get_properties()["Code"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Code",a));return a},get_costAccrual:function(){a:;this.checkUninitializedProperty("CostAccrual");return this.get_objectData().get_properties()["CostAccrual"]},set_costAccrual:function(a){a:;this.get_objectData().get_properties()["CostAccrual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostAccrual",a));return a},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},set_costCenter:function(a){a:;this.get_objectData().get_properties()["CostCenter"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostCenter",a));return a},get_costPerUse:function(){a:;this.checkUninitializedProperty("CostPerUse");return this.get_objectData().get_properties()["CostPerUse"]},set_costPerUse:function(a){a:;this.get_objectData().get_properties()["CostPerUse"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostPerUse",a));return a},get_defaultAssignmentOwner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultAssignmentOwner"));this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a}return a},set_defaultAssignmentOwner:function(a){a:;this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultAssignmentOwner",a));return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},set_defaultBookingType:function(a){a:;this.get_objectData().get_properties()["DefaultBookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultBookingType",a));return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},set_email:function(a){a:;this.get_objectData().get_properties()["Email"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Email",a));return a},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},set_group:function(a){a:;this.get_objectData().get_properties()["Group"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Group",a));return a},get_initials:function(){a:;this.checkUninitializedProperty("Initials");return this.get_objectData().get_properties()["Initials"]},set_initials:function(a){a:;this.get_objectData().get_properties()["Initials"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Initials",a));return a},get_materialLabel:function(){a:;this.checkUninitializedProperty("MaterialLabel");return this.get_objectData().get_properties()["MaterialLabel"]},set_materialLabel:function(a){a:;this.get_objectData().get_properties()["MaterialLabel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaterialLabel",a));return a},get_maximumCapacity:function(){a:;this.checkUninitializedProperty("MaximumCapacity");return this.get_objectData().get_properties()["MaximumCapacity"]},set_maximumCapacity:function(a){a:;this.get_objectData().get_properties()["MaximumCapacity"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaximumCapacity",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_overtimeRate:function(){a:;this.checkUninitializedProperty("OvertimeRate");return this.get_objectData().get_properties()["OvertimeRate"]},set_overtimeRate:function(a){a:;this.get_objectData().get_properties()["OvertimeRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeRate",a));return a},get_overtimeRateUnits:function(){a:;this.checkUninitializedProperty("OvertimeRateUnits");return this.get_objectData().get_properties()["OvertimeRateUnits"]},set_overtimeRateUnits:function(a){a:;this.get_objectData().get_properties()["OvertimeRateUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeRateUnits",a));return a},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},set_phonetics:function(a){a:;this.get_objectData().get_properties()["Phonetics"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Phonetics",a));return a},get_standardRate:function(){a:;this.checkUninitializedProperty("StandardRate");return this.get_objectData().get_properties()["StandardRate"]},set_standardRate:function(a){a:;this.get_objectData().get_properties()["StandardRate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StandardRate",a));return a},get_standardRateUnits:function(){a:;this.checkUninitializedProperty("StandardRateUnits");return this.get_objectData().get_properties()["StandardRateUnits"]},set_standardRateUnits:function(a){a:;this.get_objectData().get_properties()["StandardRateUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StandardRateUnits",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.ProjectResource.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostAccrual}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerUse"]=a;delete b.CostPerUse}a=b.DefaultAssignmentOwner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultAssignmentOwner",this.get_defaultAssignmentOwner(),a);this.get_defaultAssignmentOwner().fromJson(a);delete b.DefaultAssignmentOwner}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.Initials;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Initials"]=a;delete b.Initials}a=b.MaterialLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaterialLabel"]=a;delete b.MaterialLabel}a=b.MaximumCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaximumCapacity"]=a;delete b.MaximumCapacity}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRate"]=a;delete b.OvertimeRate}a=b.OvertimeRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OvertimeRateUnits}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.StandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRate"]=a;delete b.StandardRate}a=b.StandardRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StandardRateUnits}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_2:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftProjectResourcePropertyNames=function(){};PS.DraftProjectResourceObjectPropertyNames=function(){};PS.DraftProjectResourceCollection=function(b,a){a:;PS.DraftProjectResourceCollection.initializeBase(this,[b,a])};PS.DraftProjectResourceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftProjectResource},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftProjectResource(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},addEnterpriseResource:function(d){a:;var b=this.get_context(),a;a=new PS.DraftProjectResource(b,new SP.ObjectPathMethod(b,this.get_path(),"AddEnterpriseResource",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.DraftTask=function(b,a){a:;PS.DraftTask.initializeBase(this,[b,a])};PS.DraftTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.$K_2(b,a);return a},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},set_actualCost:function(a){a:;this.get_objectData().get_properties()["ActualCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualCost",a));return a},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},set_actualFinish:function(a){a:;this.get_objectData().get_properties()["ActualFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualFinish",a));return a},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},set_actualStart:function(a){a:;this.get_objectData().get_properties()["ActualStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualStart",a));return a},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_budgetWork:function(){a:;this.checkUninitializedProperty("BudgetWork");return this.get_objectData().get_properties()["BudgetWork"]},set_budgetWork:function(a){a:;this.get_objectData().get_properties()["BudgetWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetWork",a));return a},get_budgetWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetWorkMilliseconds");return this.get_objectData().get_properties()["BudgetWorkMilliseconds"]},set_budgetWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BudgetWorkMilliseconds",a));return a},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},set_calendar:function(a){a:;this.get_objectData().get_clientObjectProperties()["Calendar"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Calendar",a));return a},get_completion:function(){a:;this.checkUninitializedProperty("Completion");return this.get_objectData().get_properties()["Completion"]},set_completion:function(a){a:;this.get_objectData().get_properties()["Completion"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Completion",a));return a},get_constraintStartEnd:function(){a:;this.checkUninitializedProperty("ConstraintStartEnd");return this.get_objectData().get_properties()["ConstraintStartEnd"]},set_constraintStartEnd:function(a){a:;this.get_objectData().get_properties()["ConstraintStartEnd"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ConstraintStartEnd",a));return a},get_constraintType:function(){a:;this.checkUninitializedProperty("ConstraintType");return this.get_objectData().get_properties()["ConstraintType"]},set_constraintType:function(a){a:;this.get_objectData().get_properties()["ConstraintType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ConstraintType",a));return a},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},set_cost:function(a){a:;this.get_objectData().get_properties()["Cost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Cost",a));return a},get_deadline:function(){a:;this.checkUninitializedProperty("Deadline");return this.get_objectData().get_properties()["Deadline"]},set_deadline:function(a){a:;this.get_objectData().get_properties()["Deadline"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Deadline",a));return a},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},set_duration:function(a){a:;this.get_objectData().get_properties()["Duration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Duration",a));return a},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},set_durationMilliseconds:function(a){a:;this.get_objectData().get_properties()["DurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DurationMilliseconds",a));return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},set_finish:function(a){a:;this.get_objectData().get_properties()["Finish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Finish",a));return a},get_finishText:function(){a:;this.checkUninitializedProperty("FinishText");return this.get_objectData().get_properties()["FinishText"]},set_finishText:function(a){a:;this.get_objectData().get_properties()["FinishText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FinishText",a));return a},get_fixedCost:function(){a:;this.checkUninitializedProperty("FixedCost");return this.get_objectData().get_properties()["FixedCost"]},set_fixedCost:function(a){a:;this.get_objectData().get_properties()["FixedCost"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FixedCost",a));return a},get_isActive:function(){a:;this.checkUninitializedProperty("IsActive");return this.get_objectData().get_properties()["IsActive"]},set_isActive:function(a){a:;this.get_objectData().get_properties()["IsActive"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsActive",a));return a},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},set_isLockedByManager:function(a){a:;this.get_objectData().get_properties()["IsLockedByManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsLockedByManager",a));return a},get_isManual:function(){a:;this.checkUninitializedProperty("IsManual");return this.get_objectData().get_properties()["IsManual"]},set_isManual:function(a){a:;this.get_objectData().get_properties()["IsManual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsManual",a));return a},get_isMarked:function(){a:;this.checkUninitializedProperty("IsMarked");return this.get_objectData().get_properties()["IsMarked"]},set_isMarked:function(a){a:;this.get_objectData().get_properties()["IsMarked"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMarked",a));return a},get_isMilestone:function(){a:;this.checkUninitializedProperty("IsMilestone");return this.get_objectData().get_properties()["IsMilestone"]},set_isMilestone:function(a){a:;this.get_objectData().get_properties()["IsMilestone"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMilestone",a));return a},get_levelingAdjustsAssignments:function(){a:;this.checkUninitializedProperty("LevelingAdjustsAssignments");return this.get_objectData().get_properties()["LevelingAdjustsAssignments"]},set_levelingAdjustsAssignments:function(a){a:;this.get_objectData().get_properties()["LevelingAdjustsAssignments"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LevelingAdjustsAssignments",a));return a},get_levelingCanSplit:function(){a:;this.checkUninitializedProperty("LevelingCanSplit");return this.get_objectData().get_properties()["LevelingCanSplit"]},set_levelingCanSplit:function(a){a:;this.get_objectData().get_properties()["LevelingCanSplit"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LevelingCanSplit",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_outlineLevel:function(){a:;this.checkUninitializedProperty("OutlineLevel");return this.get_objectData().get_properties()["OutlineLevel"]},set_outlineLevel:function(a){a:;this.get_objectData().get_properties()["OutlineLevel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OutlineLevel",a));return a},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},set_percentComplete:function(a){a:;this.get_objectData().get_properties()["PercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentComplete",a));return a},get_percentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("PercentPhysicalWorkComplete");return this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]},set_percentPhysicalWorkComplete:function(a){a:;this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentPhysicalWorkComplete",a));return a},get_predecessors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Predecessors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Predecessors"));this.get_objectData().get_clientObjectProperties()["Predecessors"]=a}return a},get_priority:function(){a:;this.checkUninitializedProperty("Priority");return this.get_objectData().get_properties()["Priority"]},set_priority:function(a){a:;this.get_objectData().get_properties()["Priority"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Priority",a));return a},get_remainingDuration:function(){a:;this.checkUninitializedProperty("RemainingDuration");return this.get_objectData().get_properties()["RemainingDuration"]},set_remainingDuration:function(a){a:;this.get_objectData().get_properties()["RemainingDuration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDuration",a));return a},get_remainingDurationMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingDurationMilliseconds");return this.get_objectData().get_properties()["RemainingDurationMilliseconds"]},set_remainingDurationMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDurationMilliseconds",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},get_startText:function(){a:;this.checkUninitializedProperty("StartText");return this.get_objectData().get_properties()["StartText"]},set_startText:function(a){a:;this.get_objectData().get_properties()["StartText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartText",a));return a},get_statusManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["StatusManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StatusManager"));this.get_objectData().get_clientObjectProperties()["StatusManager"]=a}return a},set_statusManager:function(a){a:;this.get_objectData().get_clientObjectProperties()["StatusManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusManager",a));return a},get_successors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Successors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Successors"));this.get_objectData().get_clientObjectProperties()["Successors"]=a}return a},get_usePercentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("UsePercentPhysicalWorkComplete");return this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]},set_usePercentPhysicalWorkComplete:function(a){a:;this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UsePercentPhysicalWorkComplete",a));return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Task.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.BudgetWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWork"]=a;delete b.BudgetWork}a=b.BudgetWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;delete b.BudgetWorkMilliseconds}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.Completion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Completion"]=a;delete b.Completion}a=b.ConstraintStartEnd;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintStartEnd"]=a;delete b.ConstraintStartEnd}a=b.ConstraintType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ConstraintType}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.Deadline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Deadline"]=a;delete b.Deadline}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishText"]=a;delete b.FinishText}a=b.FixedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FixedCost"]=a;delete b.FixedCost}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsActive"]=a;delete b.IsActive}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsManual"]=a;delete b.IsManual}a=b.IsMarked;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMarked"]=a;delete b.IsMarked}a=b.IsMilestone;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMilestone"]=a;delete b.IsMilestone}a=b.LevelingAdjustsAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingAdjustsAssignments"]=a;delete b.LevelingAdjustsAssignments}a=b.LevelingCanSplit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingCanSplit"]=a;delete b.LevelingCanSplit}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OutlineLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OutlineLevel"]=a;delete b.OutlineLevel}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.PercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]=a;delete b.PercentPhysicalWorkComplete}a=b.Predecessors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Predecessors",this.get_predecessors(),a);this.get_predecessors().fromJson(a);delete b.Predecessors}a=b.Priority;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Priority"]=a;delete b.Priority}a=b.RemainingDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDuration"]=a;delete b.RemainingDuration}a=b.RemainingDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;delete b.RemainingDurationMilliseconds}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartText"]=a;delete b.StartText}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StatusManager",this.get_statusManager(),a);this.get_statusManager().fromJson(a);delete b.StatusManager}a=b.Successors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Successors",this.get_successors(),a);this.get_successors().fromJson(a);delete b.Successors}a=b.UsePercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]=a;delete b.UsePercentPhysicalWorkComplete}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_2:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftTaskPropertyNames=function(){};PS.DraftTaskObjectPropertyNames=function(){};PS.DraftTaskCollection=function(b,a){a:;PS.DraftTaskCollection.initializeBase(this,[b,a])};PS.DraftTaskCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftTask},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftTask(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.DraftTaskLink=function(b,a){a:;PS.DraftTaskLink.initializeBase(this,[b,a])};PS.DraftTaskLink.prototype={get_dependencyType:function(){a:;this.checkUninitializedProperty("DependencyType");return this.get_objectData().get_properties()["DependencyType"]},set_dependencyType:function(a){a:;this.get_objectData().get_properties()["DependencyType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DependencyType",a));return a},get_end:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["End"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"End"));this.get_objectData().get_clientObjectProperties()["End"]=a}return a},get_start:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Start"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Start"));this.get_objectData().get_clientObjectProperties()["Start"]=a}return a},initPropertiesFromJson:function(b){a:;PS.TaskLink.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DependencyType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DependencyType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DependencyType}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("End",this.get_end(),a);this.get_end().fromJson(a);delete b.End}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Start",this.get_start(),a);this.get_start().fromJson(a);delete b.Start}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.DraftTaskLinkPropertyNames=function(){};PS.DraftTaskLinkObjectPropertyNames=function(){};PS.DraftTaskLinkCollection=function(b,a){a:;PS.DraftTaskLinkCollection.initializeBase(this,[b,a])};PS.DraftTaskLinkCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.DraftTaskLink},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.DraftTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.DraftTaskLink(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.Engagement=function(b,a){a:;PS.Engagement.initializeBase(this,[b,a])};PS.Engagement.prototype={get_comments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Comments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EngagementCommentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Comments"));this.get_objectData().get_clientObjectProperties()["Comments"]=a}return a},get_createdDate:function(){a:;this.checkUninitializedProperty("CreatedDate");return this.get_objectData().get_properties()["CreatedDate"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_modifiedBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ModifiedBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ModifiedBy"));this.get_objectData().get_clientObjectProperties()["ModifiedBy"]=a}return a},get_project:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Project"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Project(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Project"));this.get_objectData().get_clientObjectProperties()["Project"]=a}return a},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},set_resource:function(a){a:;this.get_objectData().get_clientObjectProperties()["Resource"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Resource",a));return a},get_reviewedBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ReviewedBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ReviewedBy"));this.get_objectData().get_clientObjectProperties()["ReviewedBy"]=a}return a},get_reviewedDate:function(){a:;this.checkUninitializedProperty("ReviewedDate");return this.get_objectData().get_properties()["ReviewedDate"]},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},set_status:function(a){a:;this.get_objectData().get_properties()["Status"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Status",a));return a},get_submittedBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SubmittedBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SubmittedBy"));this.get_objectData().get_clientObjectProperties()["SubmittedBy"]=a}return a},get_submittedDate:function(){a:;this.checkUninitializedProperty("SubmittedDate");return this.get_objectData().get_properties()["SubmittedDate"]},get_timephasedEditsOnly:function(){a:;this.checkUninitializedProperty("TimephasedEditsOnly");return this.get_objectData().get_properties()["TimephasedEditsOnly"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Comments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Comments",this.get_comments(),a);this.get_comments().fromJson(a);delete b.Comments}a=b.CreatedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreatedDate"]=a;delete b.CreatedDate}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.ModifiedBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ModifiedBy",this.get_modifiedBy(),a);this.get_modifiedBy().fromJson(a);delete b.ModifiedBy}a=b.Project;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Project",this.get_project(),a);this.get_project().fromJson(a);delete b.Project}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ReviewedBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ReviewedBy",this.get_reviewedBy(),a);this.get_reviewedBy().fromJson(a);delete b.ReviewedBy}a=b.ReviewedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ReviewedDate"]=a;delete b.ReviewedDate}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.SubmittedBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SubmittedBy",this.get_submittedBy(),a);this.get_submittedBy().fromJson(a);delete b.SubmittedBy}a=b.SubmittedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SubmittedDate"]=a;delete b.SubmittedDate}a=b.TimephasedEditsOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TimephasedEditsOnly"]=a;delete b.TimephasedEditsOnly}}};PS.EngagementPropertyNames=function(){};PS.EngagementObjectPropertyNames=function(){};PS.EngagementComment=function(b,a){a:;PS.EngagementComment.initializeBase(this,[b,a])};PS.EngagementComment.prototype={get_author:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Author"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Author"));this.get_objectData().get_clientObjectProperties()["Author"]=a}return a},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_message:function(){a:;this.checkUninitializedProperty("Message");return this.get_objectData().get_properties()["Message"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Author;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Author",this.get_author(),a);this.get_author().fromJson(a);delete b.Author}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Message;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Message"]=a;delete b.Message}}};PS.EngagementCommentPropertyNames=function(){};PS.EngagementCommentObjectPropertyNames=function(){};PS.EngagementCommentCollection=function(b,a){a:;PS.EngagementCommentCollection.initializeBase(this,[b,a])};PS.EngagementCommentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EngagementComment},add:function(c){a:;var a=this.get_context(),b;b=new PS.EngagementComment(a,new SP.ObjectPathMethod(a,this.get_path(),"Add",[c]));return b}};PS.EngagementCreationInformation=function(){a:;PS.EngagementCreationInformation.initializeBase(this)};PS.EngagementCreationInformation.prototype={$2_1:null,$4_1:null,$0_1:null,$E_1:0,$3_1:null,$Q_1:null,$A_1:null,$J_1:0,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_finish:function(){a:;return this.$4_1},set_finish:function(a){a:;this.$4_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_maxUnits:function(){a:;return this.$E_1},set_maxUnits:function(a){a:;this.$E_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_timephasedPeriodData:function(){a:;return this.$Q_1},set_timephasedPeriodData:function(a){a:;this.$Q_1=a;return a},get_work:function(){a:;return this.$A_1},set_work:function(a){a:;this.$A_1=a;return a},get_workMilliseconds:function(){a:;return this.$J_1},set_workMilliseconds:function(a){a:;this.$J_1=a;return a},get_typeId:function(){a:;return "{52253f4e-712f-40c2-a9a3-a4f429affdf0}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Finish","Id","MaxUnits","Start","TimephasedPeriodData","Work","WorkMilliseconds"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.MaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.MaxUnits}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.TimephasedPeriodData;if(!SP.ScriptUtility.isUndefined(a)){this.$Q_1=[];SP.DataConvert.populateArray(null,this.$Q_1,a);delete b.TimephasedPeriodData}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.WorkMilliseconds}}};PS.EngagementSaveConflictException=function(){a:;PS.EngagementSaveConflictException.initializeBase(this)};PS.EngagementSaveConflictException.prototype={get_typeId:function(){a:;return "{33d7a6a8-1b61-42ea-92b7-33f5c069d7c0}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObject.prototype.writeToXml.call(this,b,a)}};PS.EngagementTimephasedPeriod=function(b,a){a:;PS.EngagementTimephasedPeriod.initializeBase(this,[b,a])};PS.EngagementTimephasedPeriod.prototype={get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_maxUnits:function(){a:;this.checkUninitializedProperty("MaxUnits");return this.get_objectData().get_properties()["MaxUnits"]},set_maxUnits:function(a){a:;this.get_objectData().get_properties()["MaxUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaxUnits",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.MaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaxUnits"]=a;delete b.MaxUnits}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}}};PS.EngagementTimephasedPeriodPropertyNames=function(){};PS.EngagementTimephasedPeriodCreationInformation=function(){a:;PS.EngagementTimephasedPeriodCreationInformation.initializeBase(this)};PS.EngagementTimephasedPeriodCreationInformation.prototype={$D_1:null,$E_1:0,$3_1:null,$A_1:null,$J_1:0,get_end:function(){a:;return this.$D_1},set_end:function(a){a:;this.$D_1=a;return a},get_maxUnits:function(){a:;return this.$E_1},set_maxUnits:function(a){a:;this.$E_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_work:function(){a:;return this.$A_1},set_work:function(a){a:;this.$A_1=a;return a},get_workMilliseconds:function(){a:;return this.$J_1},set_workMilliseconds:function(a){a:;this.$J_1=a;return a},get_typeId:function(){a:;return "{af0665d0-6c93-4a50-bbaa-0e970a188754}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["End","MaxUnits","Start","Work","WorkMilliseconds"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.End}a=b.MaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.MaxUnits}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.WorkMilliseconds}}};PS.EnterpriseProjectType=function(b,a){a:;PS.EnterpriseProjectType.initializeBase(this,[b,a])};PS.EnterpriseProjectType.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_imageUrl:function(){a:;this.checkUninitializedProperty("ImageUrl");return this.get_objectData().get_properties()["ImageUrl"]},set_imageUrl:function(a){a:;this.get_objectData().get_properties()["ImageUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ImageUrl",a));return a},get_isDefault:function(){a:;this.checkUninitializedProperty("IsDefault");return this.get_objectData().get_properties()["IsDefault"]},set_isDefault:function(a){a:;this.get_objectData().get_properties()["IsDefault"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsDefault",a));return a},get_isManaged:function(){a:;this.checkUninitializedProperty("IsManaged");return this.get_objectData().get_properties()["IsManaged"]},set_isManaged:function(a){a:;this.get_objectData().get_properties()["IsManaged"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsManaged",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_order:function(){a:;this.checkUninitializedProperty("Order");return this.get_objectData().get_properties()["Order"]},set_order:function(a){a:;this.get_objectData().get_properties()["Order"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Order",a));return a},get_projectDetailPages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectDetailPages"));this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"]=a}return a},get_projectPlanTemplateId:function(){a:;this.checkUninitializedProperty("ProjectPlanTemplateId");return this.get_objectData().get_properties()["ProjectPlanTemplateId"]},set_projectPlanTemplateId:function(a){a:;this.get_objectData().get_properties()["ProjectPlanTemplateId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProjectPlanTemplateId",a));return a},get_workflowAssociationId:function(){a:;this.checkUninitializedProperty("WorkflowAssociationId");return this.get_objectData().get_properties()["WorkflowAssociationId"]},set_workflowAssociationId:function(a){a:;this.get_objectData().get_properties()["WorkflowAssociationId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkflowAssociationId",a));return a},get_workflowAssociationName:function(){a:;this.checkUninitializedProperty("WorkflowAssociationName");return this.get_objectData().get_properties()["WorkflowAssociationName"]},set_workflowAssociationName:function(a){a:;this.get_objectData().get_properties()["WorkflowAssociationName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkflowAssociationName",a));return a},get_workspaceTemplateName:function(){a:;this.checkUninitializedProperty("WorkspaceTemplateName");return this.get_objectData().get_properties()["WorkspaceTemplateName"]},set_workspaceTemplateName:function(a){a:;this.get_objectData().get_properties()["WorkspaceTemplateName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkspaceTemplateName",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ImageUrl"]=a;delete b.ImageUrl}a=b.IsDefault;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDefault"]=a;delete b.IsDefault}a=b.IsManaged;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsManaged"]=a;delete b.IsManaged}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Order"]=a;delete b.Order}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectDetailPages",this.get_projectDetailPages(),a);this.get_projectDetailPages().fromJson(a);delete b.ProjectDetailPages}a=b.ProjectPlanTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectPlanTemplateId"]=a;delete b.ProjectPlanTemplateId}a=b.WorkflowAssociationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkflowAssociationId"]=a;delete b.WorkflowAssociationId}a=b.WorkflowAssociationName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkflowAssociationName"]=a;delete b.WorkflowAssociationName}a=b.WorkspaceTemplateName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkspaceTemplateName"]=a;delete b.WorkspaceTemplateName}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.EnterpriseProjectTypePropertyNames=function(){};PS.EnterpriseProjectTypeObjectPropertyNames=function(){};PS.EnterpriseProjectTypeCollection=function(b,a){a:;PS.EnterpriseProjectTypeCollection.initializeBase(this,[b,a])};PS.EnterpriseProjectTypeCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EnterpriseProjectType},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseProjectType(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseProjectType(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},add:function(d){a:;var b=this.get_context(),a;a=new PS.EnterpriseProjectType(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.EnterpriseProjectTypeCreationInformation=function(){a:;PS.EnterpriseProjectTypeCreationInformation.initializeBase(this)};PS.EnterpriseProjectTypeCreationInformation.prototype={$2_1:null,$0_1:null,$n_1:null,$r_1:false,$v_1:false,$1_1:null,$F_1:0,$B_1:null,$1C_1:null,$1h_1:null,$1i_1:null,$1k_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_imageUrl:function(){a:;return this.$n_1},set_imageUrl:function(a){a:;this.$n_1=a;return a},get_isDefault:function(){a:;return this.$r_1},set_isDefault:function(a){a:;this.$r_1=a;return a},get_isManaged:function(){a:;return this.$v_1},set_isManaged:function(a){a:;this.$v_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_order:function(){a:;return this.$F_1},set_order:function(a){a:;this.$F_1=a;return a},get_projectDetailPages:function(){a:;return this.$B_1},set_projectDetailPages:function(a){a:;this.$B_1=a;return a},get_projectPlanTemplateId:function(){a:;return this.$1C_1},set_projectPlanTemplateId:function(a){a:;this.$1C_1=a;return a},get_workflowAssociationId:function(){a:;return this.$1h_1},set_workflowAssociationId:function(a){a:;this.$1h_1=a;return a},get_workflowAssociationName:function(){a:;return this.$1i_1},set_workflowAssociationName:function(a){a:;this.$1i_1=a;return a},get_workspaceTemplateName:function(){a:;return this.$1k_1},set_workspaceTemplateName:function(a){a:;this.$1k_1=a;return a},get_typeId:function(){a:;return "{a6ab19cb-851d-4daf-b22c-dcbd221860bf}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","ImageUrl","IsDefault","IsManaged","Name","Order","ProjectDetailPages","ProjectPlanTemplateId","WorkflowAssociationId","WorkflowAssociationName","WorkspaceTemplateName"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$n_1=a;delete b.ImageUrl}a=b.IsDefault;if(!SP.ScriptUtility.isUndefined(a)){this.$r_1=a;delete b.IsDefault}a=b.IsManaged;if(!SP.ScriptUtility.isUndefined(a)){this.$v_1=a;delete b.IsManaged}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.Order}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=[];SP.DataConvert.populateArray(null,this.$B_1,a);delete b.ProjectDetailPages}a=b.ProjectPlanTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.$1C_1=a;delete b.ProjectPlanTemplateId}a=b.WorkflowAssociationId;if(!SP.ScriptUtility.isUndefined(a)){this.$1h_1=a;delete b.WorkflowAssociationId}a=b.WorkflowAssociationName;if(!SP.ScriptUtility.isUndefined(a)){this.$1i_1=a;delete b.WorkflowAssociationName}a=b.WorkspaceTemplateName;if(!SP.ScriptUtility.isUndefined(a)){this.$1k_1=a;delete b.WorkspaceTemplateName}}};PS.EnterpriseResource=function(b,a){a:;PS.EnterpriseResource.initializeBase(this,[b,a])};PS.EnterpriseResource.getSelf=function(a){a:;var b=a.get_staticObjects()["Microsoft$ProjectServer$EnterpriseResource$Self"];if(!b){b=new PS.EnterpriseResource(a,new SP.ObjectPathStaticProperty(a,"{f6167b82-e04e-4ce2-8631-09ce14f6277e}","Self"));a.get_staticObjects()["Microsoft$ProjectServer$EnterpriseResource$Self"]=b}return b};PS.EnterpriseResource.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},set_item:function(b,a){a:;this.$K_1(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_baseCalendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["BaseCalendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"BaseCalendar"));this.get_objectData().get_clientObjectProperties()["BaseCalendar"]=a}return a},set_baseCalendar:function(a){a:;this.get_objectData().get_clientObjectProperties()["BaseCalendar"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BaseCalendar",a));return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},set_canLevel:function(a){a:;this.get_objectData().get_properties()["CanLevel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CanLevel",a));return a},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},set_code:function(a){a:;this.get_objectData().get_properties()["Code"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Code",a));return a},get_costAccrual:function(){a:;this.checkUninitializedProperty("CostAccrual");return this.get_objectData().get_properties()["CostAccrual"]},set_costAccrual:function(a){a:;this.get_objectData().get_properties()["CostAccrual"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostAccrual",a));return a},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},set_costCenter:function(a){a:;this.get_objectData().get_properties()["CostCenter"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CostCenter",a));return a},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_defaultAssignmentOwner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultAssignmentOwner"));this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a}return a},set_defaultAssignmentOwner:function(a){a:;this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultAssignmentOwner",a));return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},set_defaultBookingType:function(a){a:;this.get_objectData().get_properties()["DefaultBookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultBookingType",a));return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},set_email:function(a){a:;this.get_objectData().get_properties()["Email"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Email",a));return a},get_engagements:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Engagements"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ResourceEngagementCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Engagements"));this.get_objectData().get_clientObjectProperties()["Engagements"]=a}return a},get_externalId:function(){a:;this.checkUninitializedProperty("ExternalId");return this.get_objectData().get_properties()["ExternalId"]},set_externalId:function(a){a:;this.get_objectData().get_properties()["ExternalId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExternalId",a));return a},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},set_group:function(a){a:;this.get_objectData().get_properties()["Group"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Group",a));return a},get_hireDate:function(){a:;this.checkUninitializedProperty("HireDate");return this.get_objectData().get_properties()["HireDate"]},set_hireDate:function(a){a:;this.get_objectData().get_properties()["HireDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HireDate",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_initials:function(){a:;this.checkUninitializedProperty("Initials");return this.get_objectData().get_properties()["Initials"]},set_initials:function(a){a:;this.get_objectData().get_properties()["Initials"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Initials",a));return a},get_isActive:function(){a:;this.checkUninitializedProperty("IsActive");return this.get_objectData().get_properties()["IsActive"]},set_isActive:function(a){a:;this.get_objectData().get_properties()["IsActive"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsActive",a));return a},get_isBudget:function(){a:;this.checkUninitializedProperty("IsBudget");return this.get_objectData().get_properties()["IsBudget"]},get_isCheckedOut:function(){a:;this.checkUninitializedProperty("IsCheckedOut");return this.get_objectData().get_properties()["IsCheckedOut"]},get_isGeneric:function(){a:;this.checkUninitializedProperty("IsGeneric");return this.get_objectData().get_properties()["IsGeneric"]},get_isTeam:function(){a:;this.checkUninitializedProperty("IsTeam");return this.get_objectData().get_properties()["IsTeam"]},get_materialLabel:function(){a:;this.checkUninitializedProperty("MaterialLabel");return this.get_objectData().get_properties()["MaterialLabel"]},set_materialLabel:function(a){a:;this.get_objectData().get_properties()["MaterialLabel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaterialLabel",a));return a},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},set_phonetics:function(a){a:;this.get_objectData().get_properties()["Phonetics"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Phonetics",a));return a},get_requiresEngagements:function(){a:;this.checkUninitializedProperty("RequiresEngagements");return this.get_objectData().get_properties()["RequiresEngagements"]},set_requiresEngagements:function(a){a:;this.get_objectData().get_properties()["RequiresEngagements"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequiresEngagements",a));return a},get_resourceCalendarExceptions:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ResourceCalendarExceptions"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CalendarExceptionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ResourceCalendarExceptions"));this.get_objectData().get_clientObjectProperties()["ResourceCalendarExceptions"]=a}return a},get_resourceType:function(){a:;this.checkUninitializedProperty("ResourceType");return this.get_objectData().get_properties()["ResourceType"]},get_terminationDate:function(){a:;this.checkUninitializedProperty("TerminationDate");return this.get_objectData().get_properties()["TerminationDate"]},set_terminationDate:function(a){a:;this.get_objectData().get_properties()["TerminationDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TerminationDate",a));return a},get_timesheetManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimesheetManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimesheetManager"));this.get_objectData().get_clientObjectProperties()["TimesheetManager"]=a}return a},set_timesheetManager:function(a){a:;this.get_objectData().get_clientObjectProperties()["TimesheetManager"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TimesheetManager",a));return a},get_user:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["User"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"User"));this.get_objectData().get_clientObjectProperties()["User"]=a}return a},set_user:function(a){a:;this.get_objectData().get_clientObjectProperties()["User"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"User",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.BaseCalendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("BaseCalendar",this.get_baseCalendar(),a);this.get_baseCalendar().fromJson(a);delete b.BaseCalendar}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostAccrual}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.DefaultAssignmentOwner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultAssignmentOwner",this.get_defaultAssignmentOwner(),a);this.get_defaultAssignmentOwner().fromJson(a);delete b.DefaultAssignmentOwner}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Engagements;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Engagements",this.get_engagements(),a);this.get_engagements().fromJson(a);delete b.Engagements}a=b.ExternalId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ExternalId"]=a;delete b.ExternalId}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.HireDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HireDate"]=a;delete b.HireDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Initials;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Initials"]=a;delete b.Initials}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsActive"]=a;delete b.IsActive}a=b.IsBudget;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsBudget"]=a;delete b.IsBudget}a=b.IsCheckedOut;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsCheckedOut"]=a;delete b.IsCheckedOut}a=b.IsGeneric;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsGeneric"]=a;delete b.IsGeneric}a=b.IsTeam;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsTeam"]=a;delete b.IsTeam}a=b.MaterialLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaterialLabel"]=a;delete b.MaterialLabel}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.RequiresEngagements;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequiresEngagements"]=a;delete b.RequiresEngagements}a=b.ResourceCalendarExceptions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ResourceCalendarExceptions",this.get_resourceCalendarExceptions(),a);this.get_resourceCalendarExceptions().fromJson(a);delete b.ResourceCalendarExceptions}a=b.ResourceType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ResourceType}a=b.TerminationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TerminationDate"]=a;delete b.TerminationDate}a=b.TimesheetManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimesheetManager",this.get_timesheetManager(),a);this.get_timesheetManager().fromJson(a);delete b.TimesheetManager}a=b.User;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("User",this.get_user(),a);this.get_user().fromJson(a);delete b.User}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_1:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},forceCheckIn:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"ForceCheckIn",null);a.addQuery(b)}};PS.EnterpriseResourcePropertyNames=function(){};PS.EnterpriseResourceObjectPropertyNames=function(){};PS.EnterpriseResourceCollection=function(b,a){a:;PS.EnterpriseResourceCollection.initializeBase(this,[b,a])};PS.EnterpriseResourceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EnterpriseResource},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EnterpriseResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},getByUser:function(c){a:;var a=this.get_context(),b;b=new PS.EnterpriseResource(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByUser",[c]));return b},add:function(d){a:;var b=this.get_context(),a;a=new PS.EnterpriseResource(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.EnterpriseResourceCreationInformation=function(){a:;PS.EnterpriseResourceCreationInformation.initializeBase(this)};PS.EnterpriseResourceCreationInformation.prototype={$0_1:null,$p_1:false,$t_1:false,$u_1:false,$1_1:null,$1M_1:0,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isBudget:function(){a:;return this.$p_1},set_isBudget:function(a){a:;this.$p_1=a;return a},get_isGeneric:function(){a:;return this.$t_1},set_isGeneric:function(a){a:;this.$t_1=a;return a},get_isInactive:function(){a:;return this.$u_1},set_isInactive:function(a){a:;this.$u_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_resourceType:function(){a:;return this.$1M_1},set_resourceType:function(a){a:;this.$1M_1=a;return a},get_typeId:function(){a:;return "{4a670666-e25a-42a5-aaf1-f517d9fdae9a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","IsBudget","IsGeneric","IsInactive","Name","ResourceType"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsBudget;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=a;delete b.IsBudget}a=b.IsGeneric;if(!SP.ScriptUtility.isUndefined(a)){this.$t_1=a;delete b.IsGeneric}a=b.IsInactive;if(!SP.ScriptUtility.isUndefined(a)){this.$u_1=a;delete b.IsInactive}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.ResourceType;if(!SP.ScriptUtility.isUndefined(a)){this.$1M_1=SP.DataConvert.fixupType(null,a);delete b.ResourceType}}};PS.EntityType=function(b,a){a:;PS.EntityType.initializeBase(this,[b,a])};PS.EntityType.prototype={get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_id:function(){a:;this.checkUninitializedProperty("ID");return this.get_objectData().get_properties()["ID"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.ID;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ID"]=a;delete b.ID}}};PS.EntityTypePropertyNames=function(){};PS.EntityTypes=function(b,a){a:;PS.EntityTypes.initializeBase(this,[b,a])};PS.EntityTypes.prototype={get_assignmentEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["AssignmentEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AssignmentEntity"));this.get_objectData().get_clientObjectProperties()["AssignmentEntity"]=a}return a},get_projectEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectEntity"));this.get_objectData().get_clientObjectProperties()["ProjectEntity"]=a}return a},get_resourceEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ResourceEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ResourceEntity"));this.get_objectData().get_clientObjectProperties()["ResourceEntity"]=a}return a},get_taskEntity:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TaskEntity"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskEntity"));this.get_objectData().get_clientObjectProperties()["TaskEntity"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssignmentEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AssignmentEntity",this.get_assignmentEntity(),a);this.get_assignmentEntity().fromJson(a);delete b.AssignmentEntity}a=b.ProjectEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectEntity",this.get_projectEntity(),a);this.get_projectEntity().fromJson(a);delete b.ProjectEntity}a=b.ResourceEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ResourceEntity",this.get_resourceEntity(),a);this.get_resourceEntity().fromJson(a);delete b.ResourceEntity}a=b.TaskEntity;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskEntity",this.get_taskEntity(),a);this.get_taskEntity().fromJson(a);delete b.TaskEntity}}};PS.EntityTypesObjectPropertyNames=function(){};PS.Event=function(b,a){a:;PS.Event.initializeBase(this,[b,a])};PS.Event.prototype={get_eventName:function(){a:;this.checkUninitializedProperty("EventName");return this.get_objectData().get_properties()["EventName"]},set_eventName:function(a){a:;this.get_objectData().get_properties()["EventName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EventName",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_sourceName:function(){a:;this.checkUninitializedProperty("SourceName");return this.get_objectData().get_properties()["SourceName"]},set_sourceName:function(a){a:;this.get_objectData().get_properties()["SourceName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SourceName",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.EventName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EventName"]=a;delete b.EventName}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.SourceName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SourceName"]=a;delete b.SourceName}}};PS.EventPropertyNames=function(){};PS.EventCollection=function(b,a){a:;PS.EventCollection.initializeBase(this,[b,a])};PS.EventCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Event},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Event(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByInt:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByInt"];if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects()["GetByInt"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Event(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByInt",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};PS.EventHandler=function(b,a){a:;PS.EventHandler.initializeBase(this,[b,a])};PS.EventHandler.prototype={get_assemblyName:function(){a:;this.checkUninitializedProperty("AssemblyName");return this.get_objectData().get_properties()["AssemblyName"]},set_assemblyName:function(a){a:;this.get_objectData().get_properties()["AssemblyName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssemblyName",a));return a},get_className:function(){a:;this.checkUninitializedProperty("ClassName");return this.get_objectData().get_properties()["ClassName"]},set_className:function(a){a:;this.get_objectData().get_properties()["ClassName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ClassName",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_endpointUrl:function(){a:;this.checkUninitializedProperty("EndpointUrl");return this.get_objectData().get_properties()["EndpointUrl"]},set_endpointUrl:function(a){a:;this.get_objectData().get_properties()["EndpointUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EndpointUrl",a));return a},get_event:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Event"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Event(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Event"));this.get_objectData().get_clientObjectProperties()["Event"]=a}return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_order:function(){a:;this.checkUninitializedProperty("Order");return this.get_objectData().get_properties()["Order"]},set_order:function(a){a:;this.get_objectData().get_properties()["Order"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Order",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssemblyName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AssemblyName"]=a;delete b.AssemblyName}a=b.ClassName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ClassName"]=a;delete b.ClassName}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.EndpointUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EndpointUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.EndpointUrl}a=b.Event;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Event",this.get_event(),a);this.get_event().fromJson(a);delete b.Event}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Order"]=a;delete b.Order}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.EventHandlerPropertyNames=function(){};PS.EventHandlerObjectPropertyNames=function(){};PS.EventHandlerCollection=function(b,a){a:;PS.EventHandlerCollection.initializeBase(this,[b,a])};PS.EventHandlerCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.EventHandler},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EventHandler(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.EventHandler(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.EventHandler(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.EventHandlerCreationInformation=function(){a:;PS.EventHandlerCreationInformation.initializeBase(this)};PS.EventHandlerCreationInformation.prototype={$X_1:null,$c_1:null,$2_1:null,$i_1:null,$k_1:0,$0_1:null,$1_1:null,$F_1:0,get_assemblyName:function(){a:;return this.$X_1},set_assemblyName:function(a){a:;this.$X_1=a;return a},get_className:function(){a:;return this.$c_1},set_className:function(a){a:;this.$c_1=a;return a},get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_endpointUrl:function(){a:;return this.$i_1},set_endpointUrl:function(a){a:;this.$i_1=a;return a},get_eventId:function(){a:;return this.$k_1},set_eventId:function(a){a:;this.$k_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_order:function(){a:;return this.$F_1},set_order:function(a){a:;this.$F_1=a;return a},get_typeId:function(){a:;return "{5e2b3370-c655-4803-acd8-b3705905e433}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AssemblyName","ClassName","Description","EndpointUrl","EventId","Id","Name","Order"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssemblyName;if(!SP.ScriptUtility.isUndefined(a)){this.$X_1=a;delete b.AssemblyName}a=b.ClassName;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.ClassName}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.EndpointUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$i_1=SP.DataConvert.fixupType(null,a);delete b.EndpointUrl}a=b.EventId;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=a;delete b.EventId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.Order}}};PS.LookupCost=function(b,a){a:;PS.LookupCost.initializeBase(this,[b,a])};PS.LookupCost.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(a){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Value"]=b;delete a.Value}}};PS.LookupCostPropertyNames=function(){};PS.LookupDate=function(b,a){a:;PS.LookupDate.initializeBase(this,[b,a])};PS.LookupDate.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(a){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Value"]=b;delete a.Value}}};PS.LookupDatePropertyNames=function(){};PS.LookupDuration=function(b,a){a:;PS.LookupDuration.initializeBase(this,[b,a])};PS.LookupDuration.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},get_valueMilliseconds:function(){a:;this.checkUninitializedProperty("ValueMilliseconds");return this.get_objectData().get_properties()["ValueMilliseconds"]},set_valueMilliseconds:function(a){a:;this.get_objectData().get_properties()["ValueMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ValueMilliseconds",a));return a},initPropertiesFromJson:function(b){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Value"]=a;delete b.Value}a=b.ValueMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ValueMilliseconds"]=a;delete b.ValueMilliseconds}}};PS.LookupDurationPropertyNames=function(){};PS.LookupEntry=function(b,a){a:;PS.LookupEntry.initializeBase(this,[b,a])};PS.LookupEntry.prototype={get_appAlternateId:function(){a:;this.checkUninitializedProperty("AppAlternateId");return this.get_objectData().get_properties()["AppAlternateId"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_fullValue:function(){a:;this.checkUninitializedProperty("FullValue");return this.get_objectData().get_properties()["FullValue"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_internalName:function(){a:;this.checkUninitializedProperty("InternalName");return this.get_objectData().get_properties()["InternalName"]},get_sortIndex:function(){a:;this.checkUninitializedProperty("SortIndex");return this.get_objectData().get_properties()["SortIndex"]},set_sortIndex:function(a){a:;this.get_objectData().get_properties()["SortIndex"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SortIndex",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppAlternateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppAlternateId"]=a;delete b.AppAlternateId}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.FullValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FullValue"]=a;delete b.FullValue}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.InternalName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["InternalName"]=a;delete b.InternalName}a=b.SortIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SortIndex"]=a;delete b.SortIndex}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.LookupEntryPropertyNames=function(){};PS.LookupEntryCollection=function(b,a){a:;PS.LookupEntryCollection.initializeBase(this,[b,a])};PS.LookupEntryCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.LookupEntry},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupEntry(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByAppAlternateId:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupEntry(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByAppAlternateId",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupEntry(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.LookupEntry(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.LookupEntryCreationInformation=function(){a:;PS.LookupEntryCreationInformation.initializeBase(this)};PS.LookupEntryCreationInformation.prototype={$2_1:null,$0_1:null,$9_1:null,$1Y_1:null,$1g_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_parentId:function(){a:;return this.$9_1},set_parentId:function(a){a:;this.$9_1=a;return a},get_sortIndex:function(){a:;return this.$1Y_1},set_sortIndex:function(a){a:;this.$1Y_1=a;return a},get_value:function(){a:;return this.$1g_1},set_value:function(a){a:;this.$1g_1=a;return a},get_typeId:function(){a:;return "{94b03b0e-e73f-42f2-907e-bfa010beb957}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","ParentId","SortIndex","Value"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.ParentId}a=b.SortIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$1Y_1=a;delete b.SortIndex}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.$1g_1=SP.DataConvert.fixupType(null,a);delete b.Value}}};PS.LookupEntryValue=function(){a:;PS.LookupEntryValue.initializeBase(this)};PS.LookupEntryValue.prototype={$d_1:null,$f_1:null,$17_1:null,$1f_1:null,get_dateValue:function(){a:;return this.$d_1},set_dateValue:function(a){a:;this.$d_1=a;return a},get_durationValue:function(){a:;return this.$f_1},set_durationValue:function(a){a:;this.$f_1=a;return a},get_numberValue:function(){a:;return this.$17_1},set_numberValue:function(a){a:;this.$17_1=a;return a},get_textValue:function(){a:;return this.$1f_1},set_textValue:function(a){a:;this.$1f_1=a;return a},get_typeId:function(){a:;return "{25dbc933-6b0b-4efe-8e18-a64de9149266}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DateValue","DurationValue","NumberValue","TextValue"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DateValue;if(!SP.ScriptUtility.isUndefined(a)){this.$d_1=a;delete b.DateValue}a=b.DurationValue;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=a;delete b.DurationValue}a=b.NumberValue;if(!SP.ScriptUtility.isUndefined(a)){this.$17_1=a;delete b.NumberValue}a=b.TextValue;if(!SP.ScriptUtility.isUndefined(a)){this.$1f_1=a;delete b.TextValue}}};PS.LookupMask=function(){a:;PS.LookupMask.initializeBase(this)};PS.LookupMask.prototype={$10_1:0,$14_1:0,$1N_1:null,get_length:function(){a:;return this.$10_1},set_length:function(a){a:;this.$10_1=a;return a},get_maskType:function(){a:;return this.$14_1},set_maskType:function(a){a:;this.$14_1=a;return a},get_separator:function(){a:;return this.$1N_1},set_separator:function(a){a:;this.$1N_1=a;return a},get_typeId:function(){a:;return "{2aeb3d46-6e78-4035-b908-9e0a55f5c56d}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Length","MaskType","Separator"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$10_1=a;delete b.Length}a=b.MaskType;if(!SP.ScriptUtility.isUndefined(a)){this.$14_1=SP.DataConvert.fixupType(null,a);delete b.MaskType}a=b.Separator;if(!SP.ScriptUtility.isUndefined(a)){this.$1N_1=a;delete b.Separator}}};PS.LookupNumber=function(b,a){a:;PS.LookupNumber.initializeBase(this,[b,a])};PS.LookupNumber.prototype={get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(a){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Value"]=b;delete a.Value}}};PS.LookupNumberPropertyNames=function(){};PS.LookupTable=function(b,a){a:;PS.LookupTable.initializeBase(this,[b,a])};PS.LookupTable.prototype={get_appAlternateId:function(){a:;this.checkUninitializedProperty("AppAlternateId");return this.get_objectData().get_properties()["AppAlternateId"]},get_entries:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Entries"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupEntryCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Entries"));this.get_objectData().get_clientObjectProperties()["Entries"]=a}return a},get_fieldType:function(){a:;this.checkUninitializedProperty("FieldType");return this.get_objectData().get_properties()["FieldType"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_masks:function(){a:;this.checkUninitializedProperty("Masks");return this.get_objectData().get_properties()["Masks"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_sortOrder:function(){a:;this.checkUninitializedProperty("SortOrder");return this.get_objectData().get_properties()["SortOrder"]},set_sortOrder:function(a){a:;this.get_objectData().get_properties()["SortOrder"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SortOrder",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppAlternateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppAlternateId"]=a;delete b.AppAlternateId}a=b.Entries;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Entries",this.get_entries(),a);this.get_entries().fromJson(a);delete b.Entries}a=b.FieldType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FieldType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FieldType}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Masks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Masks"]=[];SP.DataConvert.populateArray(this.get_context(),this.get_objectData().get_properties()["Masks"],a);delete b.Masks}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.SortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SortOrder"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.SortOrder}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.LookupTablePropertyNames=function(){};PS.LookupTableObjectPropertyNames=function(){};PS.LookupTableCollection=function(b,a){a:;PS.LookupTableCollection.initializeBase(this,[b,a])};PS.LookupTableCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.LookupTable},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupTable(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupTable(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},getByAppAlternateId:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByAppAlternateId"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.LookupTable(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByAppAlternateId",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.LookupTable(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};PS.LookupTableCreationInformation=function(){a:;PS.LookupTableCreationInformation.initializeBase(this)};PS.LookupTableCreationInformation.prototype={$N_1:null,$0_1:null,$P_1:null,$1_1:null,$1Z_1:0,get_entries:function(){a:;return this.$N_1},set_entries:function(a){a:;this.$N_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_masks:function(){a:;return this.$P_1},set_masks:function(a){a:;this.$P_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_sortOrder:function(){a:;return this.$1Z_1},set_sortOrder:function(a){a:;this.$1Z_1=a;return a},get_typeId:function(){a:;return "{65b9287a-3a7e-4477-a18b-f116bf2716f1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Entries","Id","Masks","Name","SortOrder"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Entries;if(!SP.ScriptUtility.isUndefined(a)){this.$N_1=[];SP.DataConvert.populateArray(null,this.$N_1,a);delete b.Entries}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Masks;if(!SP.ScriptUtility.isUndefined(a)){this.$P_1=[];SP.DataConvert.populateArray(null,this.$P_1,a);delete b.Masks}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.SortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.$1Z_1=SP.DataConvert.fixupType(null,a);delete b.SortOrder}}};PS.LookupTables=function(b,a){a:;PS.LookupTables.initializeBase(this,[b,a])};PS.LookupTables.invalidNameCharacters=function(a){a:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{17d4153d-a3d7-4c5e-9282-23e76d25197d}","InvalidNameCharacters",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};PS.LookupText=function(b,a){a:;PS.LookupText.initializeBase(this,[b,a])};PS.LookupText.prototype={get_hasChildren:function(){a:;this.checkUninitializedProperty("HasChildren");return this.get_objectData().get_properties()["HasChildren"]},get_mask:function(){a:;this.checkUninitializedProperty("Mask");return this.get_objectData().get_properties()["Mask"]},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupText(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},set_parent:function(a){a:;this.get_objectData().get_clientObjectProperties()["Parent"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Parent",a));return a},get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(b){a:;PS.LookupEntry.prototype.initPropertiesFromJson.call(this,b);var a;a=b.HasChildren;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HasChildren"]=a;delete b.HasChildren}a=b.Mask;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Mask"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Mask}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Value"]=a;delete b.Value}}};PS.LookupTextPropertyNames=function(){};PS.LookupTextObjectPropertyNames=function(){};PS.Phase=function(b,a){a:;PS.Phase.initializeBase(this,[b,a])};PS.Phase.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_stages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stages"));this.get_objectData().get_clientObjectProperties()["Stages"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Stages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stages",this.get_stages(),a);this.get_stages().fromJson(a);delete b.Stages}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.PhasePropertyNames=function(){};PS.PhaseObjectPropertyNames=function(){};PS.PhaseCollection=function(b,a){a:;PS.PhaseCollection.initializeBase(this,[b,a])};PS.PhaseCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Phase},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Phase(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Phase(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},add:function(d){a:;var b=this.get_context(),a;a=new PS.Phase(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.PhaseCreationInformation=function(){a:;PS.PhaseCreationInformation.initializeBase(this)};PS.PhaseCreationInformation.prototype={$2_1:null,$0_1:null,$1_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_typeId:function(){a:;return "{0f8b15a8-98aa-4751-ade9-9be047406427}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","Name"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}}};PS.PlanAssignment=function(b,a){a:;PS.PlanAssignment.initializeBase(this,[b,a])};PS.PlanAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},set_item:function(b,a){a:;this.$K_1(b,a);return a},get_bookingType:function(){a:;this.checkUninitializedProperty("BookingType");return this.get_objectData().get_properties()["BookingType"]},set_bookingType:function(a){a:;this.get_objectData().get_properties()["BookingType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BookingType",a));return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},get_hireDate:function(){a:;this.checkUninitializedProperty("HireDate");return this.get_objectData().get_properties()["HireDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_intervals:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Intervals"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PlanAssignmentIntervalCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Intervals"));this.get_objectData().get_clientObjectProperties()["Intervals"]=a}return a},get_isTeam:function(){a:;this.checkUninitializedProperty("IsTeam");return this.get_objectData().get_properties()["IsTeam"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_resourceType:function(){a:;this.checkUninitializedProperty("ResourceType");return this.get_objectData().get_properties()["ResourceType"]},get_terminationDate:function(){a:;this.checkUninitializedProperty("TerminationDate");return this.get_objectData().get_properties()["TerminationDate"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.BookingType}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.HireDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HireDate"]=a;delete b.HireDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Intervals;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Intervals",this.get_intervals(),a);this.get_intervals().fromJson(a);delete b.Intervals}a=b.IsTeam;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsTeam"]=a;delete b.IsTeam}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ResourceType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ResourceType}a=b.TerminationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TerminationDate"]=a;delete b.TerminationDate}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_1:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.PlanAssignmentPropertyNames=function(){};PS.PlanAssignmentObjectPropertyNames=function(){};PS.PlanAssignmentCollection=function(b,a){a:;PS.PlanAssignmentCollection.initializeBase(this,[b,a])};PS.PlanAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PlanAssignment},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PlanAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PlanAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.PlanAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.PlanAssignmentCreationInformation=function(){a:;PS.PlanAssignmentCreationInformation.initializeBase(this)};PS.PlanAssignmentCreationInformation.prototype={$a_1:0,$0_1:null,$O_1:null,$I_1:null,get_bookingType:function(){a:;return this.$a_1},set_bookingType:function(a){a:;this.$a_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_intervals:function(){a:;return this.$O_1},set_intervals:function(a){a:;this.$O_1=a;return a},get_resourceId:function(){a:;return this.$I_1},set_resourceId:function(a){a:;this.$I_1=a;return a},get_typeId:function(){a:;return "{defe6814-d00e-4ebf-b8ba-61b42701fba4}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["BookingType","Id","Intervals","ResourceId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BookingType;if(!SP.ScriptUtility.isUndefined(a)){this.$a_1=SP.DataConvert.fixupType(null,a);delete b.BookingType}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Intervals;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=[];SP.DataConvert.populateArray(null,this.$O_1,a);delete b.Intervals}a=b.ResourceId;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.ResourceId}}};PS.PlanAssignmentInterval=function(b,a){a:;PS.PlanAssignmentInterval.initializeBase(this,[b,a])};PS.PlanAssignmentInterval.prototype={get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},set_duration:function(a){a:;this.get_objectData().get_properties()["Duration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Duration",a));return a},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},set_durationMilliseconds:function(a){a:;this.get_objectData().get_properties()["DurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DurationMilliseconds",a));return a},get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}}};PS.PlanAssignmentIntervalPropertyNames=function(){};PS.PlanAssignmentIntervalCollection=function(b,a){a:;PS.PlanAssignmentIntervalCollection.initializeBase(this,[b,a])};PS.PlanAssignmentIntervalCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PlanAssignmentInterval},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PlanAssignmentInterval(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByStart:function(c){a:;var a=this.get_context(),b;b=new PS.PlanAssignmentInterval(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStart",[c]));return b}};PS.PlanAssignmentIntervalCreationInformation=function(){a:;PS.PlanAssignmentIntervalCreationInformation.initializeBase(this)};PS.PlanAssignmentIntervalCreationInformation.prototype={$C_1:null,$o_1:null,get_duration:function(){a:;return this.$C_1},set_duration:function(a){a:;this.$C_1=a;return a},get_interval:function(){a:;return this.$o_1},set_interval:function(a){a:;this.$o_1=a;return a},get_typeId:function(){a:;return "{0937cc31-9893-4f00-a3d8-d072304a785a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Duration","Interval"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Duration}a=b.Interval;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=a;delete b.Interval}}};PS.Project=function(b,a){a:;PS.Project.initializeBase(this,[b,a])};PS.Project.prototype={get_approvedEnd:function(){a:;this.checkUninitializedProperty("ApprovedEnd");return this.get_objectData().get_properties()["ApprovedEnd"]},get_approvedStart:function(){a:;this.checkUninitializedProperty("ApprovedStart");return this.get_objectData().get_properties()["ApprovedStart"]},get_calculateActualCosts:function(){a:;this.checkUninitializedProperty("CalculateActualCosts");return this.get_objectData().get_properties()["CalculateActualCosts"]},get_calculatesActualCosts:function(){a:;this.checkUninitializedProperty("CalculatesActualCosts");return this.get_objectData().get_properties()["CalculatesActualCosts"]},get_checkedOutBy:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CheckedOutBy"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CheckedOutBy"));this.get_objectData().get_clientObjectProperties()["CheckedOutBy"]=a}return a},get_checkedOutDate:function(){a:;this.checkUninitializedProperty("CheckedOutDate");return this.get_objectData().get_properties()["CheckedOutDate"]},get_checkOutDescription:function(){a:;this.checkUninitializedProperty("CheckOutDescription");return this.get_objectData().get_properties()["CheckOutDescription"]},get_checkOutId:function(){a:;this.checkUninitializedProperty("CheckOutId");return this.get_objectData().get_properties()["CheckOutId"]},get_createdDate:function(){a:;this.checkUninitializedProperty("CreatedDate");return this.get_objectData().get_properties()["CreatedDate"]},get_criticalSlackLimit:function(){a:;this.checkUninitializedProperty("CriticalSlackLimit");return this.get_objectData().get_properties()["CriticalSlackLimit"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_defaultFinishTime:function(){a:;this.checkUninitializedProperty("DefaultFinishTime");return this.get_objectData().get_properties()["DefaultFinishTime"]},get_defaultOvertimeRateUnits:function(){a:;this.checkUninitializedProperty("DefaultOvertimeRateUnits");return this.get_objectData().get_properties()["DefaultOvertimeRateUnits"]},get_defaultStandardRateUnits:function(){a:;this.checkUninitializedProperty("DefaultStandardRateUnits");return this.get_objectData().get_properties()["DefaultStandardRateUnits"]},get_defaultStartTime:function(){a:;this.checkUninitializedProperty("DefaultStartTime");return this.get_objectData().get_properties()["DefaultStartTime"]},get_engagements:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Engagements"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectEngagementCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Engagements"));this.get_objectData().get_clientObjectProperties()["Engagements"]=a}return a},get_enterpriseProjectType:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseProjectType"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseProjectType(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseProjectType"));this.get_objectData().get_clientObjectProperties()["EnterpriseProjectType"]=a}return a},get_hasMppPendingImport:function(){a:;this.checkUninitializedProperty("HasMppPendingImport");return this.get_objectData().get_properties()["HasMppPendingImport"]},get_honorConstraints:function(){a:;this.checkUninitializedProperty("HonorConstraints");return this.get_objectData().get_properties()["HonorConstraints"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isCheckedOut:function(){a:;this.checkUninitializedProperty("IsCheckedOut");return this.get_objectData().get_properties()["IsCheckedOut"]},get_lastPublishedDate:function(){a:;this.checkUninitializedProperty("LastPublishedDate");return this.get_objectData().get_properties()["LastPublishedDate"]},get_lastSavedDate:function(){a:;this.checkUninitializedProperty("LastSavedDate");return this.get_objectData().get_properties()["LastSavedDate"]},get_moveActualIfLater:function(){a:;this.checkUninitializedProperty("MoveActualIfLater");return this.get_objectData().get_properties()["MoveActualIfLater"]},get_moveActualToStatus:function(){a:;this.checkUninitializedProperty("MoveActualToStatus");return this.get_objectData().get_properties()["MoveActualToStatus"]},get_moveRemainingIfEarlier:function(){a:;this.checkUninitializedProperty("MoveRemainingIfEarlier");return this.get_objectData().get_properties()["MoveRemainingIfEarlier"]},get_moveRemainingToStatus:function(){a:;this.checkUninitializedProperty("MoveRemainingToStatus");return this.get_objectData().get_properties()["MoveRemainingToStatus"]},get_multipleCriticalPaths:function(){a:;this.checkUninitializedProperty("MultipleCriticalPaths");return this.get_objectData().get_properties()["MultipleCriticalPaths"]},get_optimizerDecision:function(){a:;this.checkUninitializedProperty("OptimizerDecision");return this.get_objectData().get_properties()["OptimizerDecision"]},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_phase:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Phase"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Phase(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Phase"));this.get_objectData().get_clientObjectProperties()["Phase"]=a}return a},get_plannerDecision:function(){a:;this.checkUninitializedProperty("PlannerDecision");return this.get_objectData().get_properties()["PlannerDecision"]},get_projectSiteUrl:function(){a:;this.checkUninitializedProperty("ProjectSiteUrl");return this.get_objectData().get_properties()["ProjectSiteUrl"]},get_projectSummaryTask:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectSummaryTask"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectSummaryTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectSummaryTask"));this.get_objectData().get_clientObjectProperties()["ProjectSummaryTask"]=a}return a},get_projectType:function(){a:;this.checkUninitializedProperty("ProjectType");return this.get_objectData().get_properties()["ProjectType"]},get_queueJobs:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["QueueJobs"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.QueueJobCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"QueueJobs"));this.get_objectData().get_clientObjectProperties()["QueueJobs"]=a}return a},get_scheduledFromStart:function(){a:;this.checkUninitializedProperty("ScheduledFromStart");return this.get_objectData().get_properties()["ScheduledFromStart"]},get_splitInProgress:function(){a:;this.checkUninitializedProperty("SplitInProgress");return this.get_objectData().get_properties()["SplitInProgress"]},get_spreadActualCostsToStatus:function(){a:;this.checkUninitializedProperty("SpreadActualCostsToStatus");return this.get_objectData().get_properties()["SpreadActualCostsToStatus"]},get_spreadPercentCompleteToStatus:function(){a:;this.checkUninitializedProperty("SpreadPercentCompleteToStatus");return this.get_objectData().get_properties()["SpreadPercentCompleteToStatus"]},get_stage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Stage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stage"));this.get_objectData().get_clientObjectProperties()["Stage"]=a}return a},get_summaryTaskId:function(){a:;this.checkUninitializedProperty("SummaryTaskId");return this.get_objectData().get_properties()["SummaryTaskId"]},get_taskListId:function(){a:;this.checkUninitializedProperty("TaskListId");return this.get_objectData().get_properties()["TaskListId"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApprovedEnd;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedEnd"]=a;delete b.ApprovedEnd}a=b.ApprovedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedStart"]=a;delete b.ApprovedStart}a=b.CalculateActualCosts;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CalculateActualCosts"]=a;delete b.CalculateActualCosts}a=b.CalculatesActualCosts;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CalculatesActualCosts"]=a;delete b.CalculatesActualCosts}a=b.CheckedOutBy;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CheckedOutBy",this.get_checkedOutBy(),a);this.get_checkedOutBy().fromJson(a);delete b.CheckedOutBy}a=b.CheckedOutDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckedOutDate"]=a;delete b.CheckedOutDate}a=b.CheckOutDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckOutDescription"]=a;delete b.CheckOutDescription}a=b.CheckOutId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckOutId"]=a;delete b.CheckOutId}a=b.CreatedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreatedDate"]=a;delete b.CreatedDate}a=b.CriticalSlackLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CriticalSlackLimit"]=a;delete b.CriticalSlackLimit}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.DefaultFinishTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultFinishTime"]=a;delete b.DefaultFinishTime}a=b.DefaultOvertimeRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultOvertimeRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultOvertimeRateUnits}a=b.DefaultStandardRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStandardRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultStandardRateUnits}a=b.DefaultStartTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStartTime"]=a;delete b.DefaultStartTime}a=b.Engagements;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Engagements",this.get_engagements(),a);this.get_engagements().fromJson(a);delete b.Engagements}a=b.EnterpriseProjectType;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseProjectType",this.get_enterpriseProjectType(),a);this.get_enterpriseProjectType().fromJson(a);delete b.EnterpriseProjectType}a=b.HasMppPendingImport;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HasMppPendingImport"]=a;delete b.HasMppPendingImport}a=b.HonorConstraints;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HonorConstraints"]=a;delete b.HonorConstraints}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsCheckedOut;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsCheckedOut"]=a;delete b.IsCheckedOut}a=b.LastPublishedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastPublishedDate"]=a;delete b.LastPublishedDate}a=b.LastSavedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastSavedDate"]=a;delete b.LastSavedDate}a=b.MoveActualIfLater;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveActualIfLater"]=a;delete b.MoveActualIfLater}a=b.MoveActualToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveActualToStatus"]=a;delete b.MoveActualToStatus}a=b.MoveRemainingIfEarlier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveRemainingIfEarlier"]=a;delete b.MoveRemainingIfEarlier}a=b.MoveRemainingToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MoveRemainingToStatus"]=a;delete b.MoveRemainingToStatus}a=b.MultipleCriticalPaths;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MultipleCriticalPaths"]=a;delete b.MultipleCriticalPaths}a=b.OptimizerDecision;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OptimizerDecision"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OptimizerDecision}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Phase;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Phase",this.get_phase(),a);this.get_phase().fromJson(a);delete b.Phase}a=b.PlannerDecision;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PlannerDecision"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PlannerDecision}a=b.ProjectSiteUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectSiteUrl"]=a;delete b.ProjectSiteUrl}a=b.ProjectSummaryTask;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectSummaryTask",this.get_projectSummaryTask(),a);this.get_projectSummaryTask().fromJson(a);delete b.ProjectSummaryTask}a=b.ProjectType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ProjectType}a=b.QueueJobs;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("QueueJobs",this.get_queueJobs(),a);this.get_queueJobs().fromJson(a);delete b.QueueJobs}a=b.ScheduledFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledFromStart"]=a;delete b.ScheduledFromStart}a=b.SplitInProgress;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SplitInProgress"]=a;delete b.SplitInProgress}a=b.SpreadActualCostsToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SpreadActualCostsToStatus"]=a;delete b.SpreadActualCostsToStatus}a=b.SpreadPercentCompleteToStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SpreadPercentCompleteToStatus"]=a;delete b.SpreadPercentCompleteToStatus}a=b.Stage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stage",this.get_stage(),a);this.get_stage().fromJson(a);delete b.Stage}a=b.SummaryTaskId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SummaryTaskId"]=a;delete b.SummaryTaskId}a=b.TaskListId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskListId"]=a;delete b.TaskListId}},setCustomFieldValue:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[a,b]);c.addQuery(d)},updateIdeaListItemStatus:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UpdateIdeaListItemStatus",[a]);b.addQuery(c)},updateProjectStageStatus:function(d,a,b,c){a:;var e=this.get_context(),f=new SP.ClientActionInvokeMethod(this,"UpdateProjectStageStatus",[d,a,b,c]);e.addQuery(f)},enterProjectStage:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"EnterProjectStage",[a]);b.addQuery(c)},leaveProjectStage:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"LeaveProjectStage",null);a.addQuery(b)},readyToLeaveProjectStage:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadyToLeaveProjectStage",null);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getResourcePlan:function(d,e,c){a:;var a=this.get_context(),b;b=new PS.ResourcePlan(a,new SP.ObjectPathMethod(a,this.get_path(),"GetResourcePlan",[d,e,c]));return b}};PS.ProjectPropertyNames=function(){};PS.ProjectObjectPropertyNames=function(){};PS.ProjectCollection=function(b,a){a:;PS.ProjectCollection.initializeBase(this,[b,a])};PS.ProjectCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedProject},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProject(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProject(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.PublishedProject(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},validate:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Validate",null);a.addQuery(b)},update:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Update",null));return b}};PS.ProjectCreationInformation=function(){a:;PS.ProjectCreationInformation.initializeBase(this)};PS.ProjectCreationInformation.prototype={$2_1:null,$j_1:null,$0_1:null,$1_1:null,$3_1:null,$1r_1:null,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_enterpriseProjectTypeId:function(){a:;return this.$j_1},set_enterpriseProjectTypeId:function(a){a:;this.$j_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_taskList:function(){a:;return this.$1r_1},set_taskList:function(a){a:;this.$1r_1=a;return a},get_typeId:function(){a:;return "{1e88d96b-47f5-44ca-b0d2-7e8309cd03a8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","EnterpriseProjectTypeId","Id","Name","Start","TaskList"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.EnterpriseProjectTypeId;if(!SP.ScriptUtility.isUndefined(a)){this.$j_1=a;delete b.EnterpriseProjectTypeId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.TaskList;if(!SP.ScriptUtility.isUndefined(a))delete b.TaskList}};PS.ProjectDetailPage=function(b,a){a:;PS.ProjectDetailPage.initializeBase(this,[b,a])};PS.ProjectDetailPage.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_item:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Item"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.ListItem(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Item"));this.get_objectData().get_clientObjectProperties()["Item"]=a}return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_pageType:function(){a:;this.checkUninitializedProperty("PageType");return this.get_objectData().get_properties()["PageType"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Item;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Item",this.get_item(),a);this.get_item().fromJson(a);delete b.Item}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.PageType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PageType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PageType}}};PS.ProjectDetailPagePropertyNames=function(){};PS.ProjectDetailPageObjectPropertyNames=function(){};PS.ProjectDetailPageCollection=function(b,a){a:;PS.ProjectDetailPageCollection.initializeBase(this,[b,a])};PS.ProjectDetailPageCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ProjectDetailPage},get_list:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["List"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.List(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"List"));this.get_objectData().get_clientObjectProperties()["List"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.List;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("List",this.get_list(),a);this.get_list().fromJson(a);delete b.List}},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ProjectDetailPageCollectionObjectPropertyNames=function(){};PS.ProjectDetailPageCreationInformation=function(){a:;PS.ProjectDetailPageCreationInformation.initializeBase(this)};PS.ProjectDetailPageCreationInformation.prototype={$0_1:null,$q_1:false,$G_1:0,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isCreate:function(){a:;return this.$q_1},set_isCreate:function(a){a:;this.$q_1=a;return a},get_position:function(){a:;return this.$G_1},set_position:function(a){a:;this.$G_1=a;return a},get_typeId:function(){a:;return "{6abc7861-5ad4-4354-94fb-3dda8cd47ae4}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","IsCreate","Position"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsCreate;if(!SP.ScriptUtility.isUndefined(a)){this.$q_1=a;delete b.IsCreate}a=b.Position;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Position}}};PS.ProjectEngagement=function(b,a){a:;PS.ProjectEngagement.initializeBase(this,[b,a])};PS.ProjectEngagement.prototype={get_approvedFinish:function(){a:;this.checkUninitializedProperty("ApprovedFinish");return this.get_objectData().get_properties()["ApprovedFinish"]},get_approvedMaxUnits:function(){a:;this.checkUninitializedProperty("ApprovedMaxUnits");return this.get_objectData().get_properties()["ApprovedMaxUnits"]},get_approvedStart:function(){a:;this.checkUninitializedProperty("ApprovedStart");return this.get_objectData().get_properties()["ApprovedStart"]},get_approvedWork:function(){a:;this.checkUninitializedProperty("ApprovedWork");return this.get_objectData().get_properties()["ApprovedWork"]},get_approvedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ApprovedWorkMilliseconds");return this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]},get_hasUnsubmittedChanges:function(){a:;this.checkUninitializedProperty("HasUnsubmittedChanges");return this.get_objectData().get_properties()["HasUnsubmittedChanges"]},get_requestedFinish:function(){a:;this.checkUninitializedProperty("RequestedFinish");return this.get_objectData().get_properties()["RequestedFinish"]},set_requestedFinish:function(a){a:;this.get_objectData().get_properties()["RequestedFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedFinish",a));return a},get_requestedMaxUnits:function(){a:;this.checkUninitializedProperty("RequestedMaxUnits");return this.get_objectData().get_properties()["RequestedMaxUnits"]},set_requestedMaxUnits:function(a){a:;this.get_objectData().get_properties()["RequestedMaxUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedMaxUnits",a));return a},get_requestedStart:function(){a:;this.checkUninitializedProperty("RequestedStart");return this.get_objectData().get_properties()["RequestedStart"]},set_requestedStart:function(a){a:;this.get_objectData().get_properties()["RequestedStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedStart",a));return a},get_requestedWork:function(){a:;this.checkUninitializedProperty("RequestedWork");return this.get_objectData().get_properties()["RequestedWork"]},set_requestedWork:function(a){a:;this.get_objectData().get_properties()["RequestedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedWork",a));return a},get_requestedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RequestedWorkMilliseconds");return this.get_objectData().get_properties()["RequestedWorkMilliseconds"]},set_requestedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RequestedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestedWorkMilliseconds",a));return a},initPropertiesFromJson:function(b){a:;PS.Engagement.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApprovedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedFinish"]=a;delete b.ApprovedFinish}a=b.ApprovedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedMaxUnits"]=a;delete b.ApprovedMaxUnits}a=b.ApprovedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedStart"]=a;delete b.ApprovedStart}a=b.ApprovedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWork"]=a;delete b.ApprovedWork}a=b.ApprovedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]=a;delete b.ApprovedWorkMilliseconds}a=b.HasUnsubmittedChanges;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HasUnsubmittedChanges"]=a;delete b.HasUnsubmittedChanges}a=b.RequestedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedFinish"]=a;delete b.RequestedFinish}a=b.RequestedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedMaxUnits"]=a;delete b.RequestedMaxUnits}a=b.RequestedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedStart"]=a;delete b.RequestedStart}a=b.RequestedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWork"]=a;delete b.RequestedWork}a=b.RequestedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWorkMilliseconds"]=a;delete b.RequestedWorkMilliseconds}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},getTimephased:function(e,f,d,c){a:;var a=this.get_context(),b;b=new PS.ProjectEngagementTimephasedCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTimephased",[e,f,d,c]));return b}};PS.ProjectEngagementPropertyNames=function(){};PS.ProjectEngagementCollection=function(b,a){a:;PS.ProjectEngagementCollection.initializeBase(this,[b,a])};PS.ProjectEngagementCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ProjectEngagement},add:function(d){a:;var b=this.get_context(),a;a=new PS.ProjectEngagement(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ProjectEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ProjectEngagementComment=function(b,a){a:;PS.ProjectEngagementComment.initializeBase(this,[b,a])};PS.ProjectEngagementCreationInformation=function(){a:;PS.ProjectEngagementCreationInformation.initializeBase(this)};PS.ProjectEngagementCreationInformation.prototype={$1p_2:null,get_resource:function(){a:;return this.$1p_2},set_resource:function(a){a:;this.$1p_2=a;return a},get_typeId:function(){a:;return "{f16468f3-36d1-4840-9ead-b271168a7870}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Resource"];SP.DataConvert.writePropertiesToXml(b,this,c,a);PS.EngagementCreationInformation.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(a){a:;PS.EngagementCreationInformation.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Resource;if(!SP.ScriptUtility.isUndefined(b))delete a.Resource}};PS.ProjectEngagementTimephasedCollection=function(b,a){a:;PS.ProjectEngagementTimephasedCollection.initializeBase(this,[b,a])};PS.ProjectEngagementTimephasedCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ProjectEngagementTimephasedPeriod},getByStart:function(c){a:;var a=this.get_context(),b;b=new PS.ProjectEngagementTimephasedPeriod(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStart",[c]));return b}};PS.ProjectEngagementTimephasedPeriod=function(b,a){a:;PS.ProjectEngagementTimephasedPeriod.initializeBase(this,[b,a])};PS.ProjectResource=function(b,a){a:;PS.ProjectResource.initializeBase(this,[b,a])};PS.ProjectResource.prototype={get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualCostWorkPerformed:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformed");return this.get_objectData().get_properties()["ActualCostWorkPerformed"]},get_actualCostWorkPerformedMilliseconds:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformedMilliseconds");return this.get_objectData().get_properties()["ActualCostWorkPerformedMilliseconds"]},get_actualOvertimeCost:function(){a:;this.checkUninitializedProperty("ActualOvertimeCost");return this.get_objectData().get_properties()["ActualOvertimeCost"]},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_availableFrom:function(){a:;this.checkUninitializedProperty("AvailableFrom");return this.get_objectData().get_properties()["AvailableFrom"]},get_availableTo:function(){a:;this.checkUninitializedProperty("AvailableTo");return this.get_objectData().get_properties()["AvailableTo"]},get_baselineCost:function(){a:;this.checkUninitializedProperty("BaselineCost");return this.get_objectData().get_properties()["BaselineCost"]},get_baselineWork:function(){a:;this.checkUninitializedProperty("BaselineWork");return this.get_objectData().get_properties()["BaselineWork"]},get_baselineWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineWorkMilliseconds");return this.get_objectData().get_properties()["BaselineWorkMilliseconds"]},get_budetCostWorkPerformed:function(){a:;this.checkUninitializedProperty("BudetCostWorkPerformed");return this.get_objectData().get_properties()["BudetCostWorkPerformed"]},get_budgetedCost:function(){a:;this.checkUninitializedProperty("BudgetedCost");return this.get_objectData().get_properties()["BudgetedCost"]},get_budgetedCostWorkScheduled:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkScheduled");return this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]},get_budgetedWork:function(){a:;this.checkUninitializedProperty("BudgetedWork");return this.get_objectData().get_properties()["BudgetedWork"]},get_budgetedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetedWorkMilliseconds");return this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_costVariance:function(){a:;this.checkUninitializedProperty("CostVariance");return this.get_objectData().get_properties()["CostVariance"]},get_costVarianceAtCompletion:function(){a:;this.checkUninitializedProperty("CostVarianceAtCompletion");return this.get_objectData().get_properties()["CostVarianceAtCompletion"]},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_currentCostVariance:function(){a:;this.checkUninitializedProperty("CurrentCostVariance");return this.get_objectData().get_properties()["CurrentCostVariance"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_enterpriseResource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseResource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseResource"));this.get_objectData().get_clientObjectProperties()["EnterpriseResource"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isBudgeted:function(){a:;this.checkUninitializedProperty("IsBudgeted");return this.get_objectData().get_properties()["IsBudgeted"]},get_isGenericResource:function(){a:;this.checkUninitializedProperty("IsGenericResource");return this.get_objectData().get_properties()["IsGenericResource"]},get_isOverAllocated:function(){a:;this.checkUninitializedProperty("IsOverAllocated");return this.get_objectData().get_properties()["IsOverAllocated"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_notes:function(){a:;this.checkUninitializedProperty("Notes");return this.get_objectData().get_properties()["Notes"]},get_overtimeCost:function(){a:;this.checkUninitializedProperty("OvertimeCost");return this.get_objectData().get_properties()["OvertimeCost"]},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},get_peakWork:function(){a:;this.checkUninitializedProperty("PeakWork");return this.get_objectData().get_properties()["PeakWork"]},get_peakWorkMilliseconds:function(){a:;this.checkUninitializedProperty("PeakWorkMilliseconds");return this.get_objectData().get_properties()["PeakWorkMilliseconds"]},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},get_remainingCost:function(){a:;this.checkUninitializedProperty("RemainingCost");return this.get_objectData().get_properties()["RemainingCost"]},get_remainingOvertimeCost:function(){a:;this.checkUninitializedProperty("RemainingOvertimeCost");return this.get_objectData().get_properties()["RemainingOvertimeCost"]},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},get_scheduleCostVariance:function(){a:;this.checkUninitializedProperty("ScheduleCostVariance");return this.get_objectData().get_properties()["ScheduleCostVariance"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},get_workVariance:function(){a:;this.checkUninitializedProperty("WorkVariance");return this.get_objectData().get_properties()["WorkVariance"]},get_workVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("WorkVarianceMilliseconds");return this.get_objectData().get_properties()["WorkVarianceMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformed"]=a;delete b.ActualCostWorkPerformed}a=b.ActualCostWorkPerformedMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformedMilliseconds"]=a;delete b.ActualCostWorkPerformedMilliseconds}a=b.ActualOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeCost"]=a;delete b.ActualOvertimeCost}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.AvailableFrom;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AvailableFrom"]=a;delete b.AvailableFrom}a=b.AvailableTo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AvailableTo"]=a;delete b.AvailableTo}a=b.BaselineCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCost"]=a;delete b.BaselineCost}a=b.BaselineWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWork"]=a;delete b.BaselineWork}a=b.BaselineWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWorkMilliseconds"]=a;delete b.BaselineWorkMilliseconds}a=b.BudetCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudetCostWorkPerformed"]=a;delete b.BudetCostWorkPerformed}a=b.BudgetedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCost"]=a;delete b.BudgetedCost}a=b.BudgetedCostWorkScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]=a;delete b.BudgetedCostWorkScheduled}a=b.BudgetedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWork"]=a;delete b.BudgetedWork}a=b.BudgetedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;delete b.BudgetedWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.CostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariance"]=a;delete b.CostVariance}a=b.CostVarianceAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVarianceAtCompletion"]=a;delete b.CostVarianceAtCompletion}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CurrentCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentCostVariance"]=a;delete b.CurrentCostVariance}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.EnterpriseResource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseResource",this.get_enterpriseResource(),a);this.get_enterpriseResource().fromJson(a);delete b.EnterpriseResource}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsBudgeted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsBudgeted"]=a;delete b.IsBudgeted}a=b.IsGenericResource;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsGenericResource"]=a;delete b.IsGenericResource}a=b.IsOverAllocated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOverAllocated"]=a;delete b.IsOverAllocated}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Notes"]=a;delete b.Notes}a=b.OvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeCost"]=a;delete b.OvertimeCost}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.PeakWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PeakWork"]=a;delete b.PeakWork}a=b.PeakWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PeakWorkMilliseconds"]=a;delete b.PeakWorkMilliseconds}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingCost"]=a;delete b.RemainingCost}a=b.RemainingOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeCost"]=a;delete b.RemainingOvertimeCost}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.ScheduleCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleCostVariance"]=a;delete b.ScheduleCostVariance}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}a=b.WorkVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVariance"]=a;delete b.WorkVariance}a=b.WorkVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVarianceMilliseconds"]=a;delete b.WorkVarianceMilliseconds}}};PS.ProjectResourcePropertyNames=function(){};PS.ProjectResourceObjectPropertyNames=function(){};PS.ProjectResourceCreationInformation=function(){a:;PS.ProjectResourceCreationInformation.initializeBase(this)};PS.ProjectResourceCreationInformation.prototype={$U_1:null,$g_1:null,$0_1:null,$1_1:null,$8_1:null,get_account:function(){a:;return this.$U_1},set_account:function(a){a:;this.$U_1=a;return a},get_email:function(){a:;return this.$g_1},set_email:function(a){a:;this.$g_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_notes:function(){a:;return this.$8_1},set_notes:function(a){a:;this.$8_1=a;return a},get_typeId:function(){a:;return "{69b89190-b8dc-4025-b0d1-a81e4cbd605c}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Account","Email","Id","Name","Notes"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Account;if(!SP.ScriptUtility.isUndefined(a)){this.$U_1=a;delete b.Account}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$g_1=a;delete b.Email}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Notes}}};PS.ProjectServer=function(a){a:;PS.ProjectServer.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{3a609e5f-e2a1-497c-87a2-e5e8a781c096}",arguments)])};PS.ProjectServer.newObject=function(a){a:;return new PS.ProjectServer(a,new SP.ObjectPathConstructor(a,"{3a609e5f-e2a1-497c-87a2-e5e8a781c096}",null))};PS.ProjectServer.prototype={get_calendars:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendars"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CalendarCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendars"));this.get_objectData().get_clientObjectProperties()["Calendars"]=a}return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_engagementsTimephasedPageSize:function(){a:;this.checkUninitializedProperty("EngagementsTimephasedPageSize");return this.get_objectData().get_properties()["EngagementsTimephasedPageSize"]},get_enterpriseProjectTypes:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseProjectTypes"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseProjectTypeCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseProjectTypes"));this.get_objectData().get_clientObjectProperties()["EnterpriseProjectTypes"]=a}return a},get_enterpriseResources:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EnterpriseResources"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResourceCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EnterpriseResources"));this.get_objectData().get_clientObjectProperties()["EnterpriseResources"]=a}return a},get_enterpriseResourcesPageSize:function(){a:;this.checkUninitializedProperty("EnterpriseResourcesPageSize");return this.get_objectData().get_properties()["EnterpriseResourcesPageSize"]},get_entityTypes:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EntityTypes"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EntityTypes(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EntityTypes"));this.get_objectData().get_clientObjectProperties()["EntityTypes"]=a}return a},get_eventHandlers:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["EventHandlers"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EventHandlerCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EventHandlers"));this.get_objectData().get_clientObjectProperties()["EventHandlers"]=a}return a},get_events:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Events"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EventCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Events"));this.get_objectData().get_clientObjectProperties()["Events"]=a}return a},get_isDelegate:function(){a:;this.checkUninitializedProperty("IsDelegate");return this.get_objectData().get_properties()["IsDelegate"]},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties()["IsReadOnly"]},get_lookupTables:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupTables"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupTableCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupTables"));this.get_objectData().get_clientObjectProperties()["LookupTables"]=a}return a},get_phases:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Phases"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PhaseCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Phases"));this.get_objectData().get_clientObjectProperties()["Phases"]=a}return a},get_projectDetailPages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectDetailPages"));this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"]=a}return a},get_projects:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Projects"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Projects"));this.get_objectData().get_clientObjectProperties()["Projects"]=a}return a},get_projectsPageSize:function(){a:;this.checkUninitializedProperty("ProjectsPageSize");return this.get_objectData().get_properties()["ProjectsPageSize"]},get_stages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stages"));this.get_objectData().get_clientObjectProperties()["Stages"]=a}return a},get_timeSheetPeriods:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimeSheetPeriods"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetPeriodCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeSheetPeriods"));this.get_objectData().get_clientObjectProperties()["TimeSheetPeriods"]=a}return a},get_workflowActivities:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["WorkflowActivities"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.WorkflowActivities(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowActivities"));this.get_objectData().get_clientObjectProperties()["WorkflowActivities"]=a}return a},get_workflowDesigner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["WorkflowDesigner"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.WorkflowDesigner(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowDesigner"));this.get_objectData().get_clientObjectProperties()["WorkflowDesigner"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Calendars;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendars",this.get_calendars(),a);this.get_calendars().fromJson(a);delete b.Calendars}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.EngagementsTimephasedPageSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EngagementsTimephasedPageSize"]=a;delete b.EngagementsTimephasedPageSize}a=b.EnterpriseProjectTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseProjectTypes",this.get_enterpriseProjectTypes(),a);this.get_enterpriseProjectTypes().fromJson(a);delete b.EnterpriseProjectTypes}a=b.EnterpriseResources;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EnterpriseResources",this.get_enterpriseResources(),a);this.get_enterpriseResources().fromJson(a);delete b.EnterpriseResources}a=b.EnterpriseResourcesPageSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnterpriseResourcesPageSize"]=a;delete b.EnterpriseResourcesPageSize}a=b.EntityTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EntityTypes",this.get_entityTypes(),a);this.get_entityTypes().fromJson(a);delete b.EntityTypes}a=b.EventHandlers;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EventHandlers",this.get_eventHandlers(),a);this.get_eventHandlers().fromJson(a);delete b.EventHandlers}a=b.Events;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Events",this.get_events(),a);this.get_events().fromJson(a);delete b.Events}a=b.IsDelegate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDelegate"]=a;delete b.IsDelegate}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReadOnly"]=a;delete b.IsReadOnly}a=b.LookupTables;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupTables",this.get_lookupTables(),a);this.get_lookupTables().fromJson(a);delete b.LookupTables}a=b.Phases;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Phases",this.get_phases(),a);this.get_phases().fromJson(a);delete b.Phases}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectDetailPages",this.get_projectDetailPages(),a);this.get_projectDetailPages().fromJson(a);delete b.ProjectDetailPages}a=b.Projects;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Projects",this.get_projects(),a);this.get_projects().fromJson(a);delete b.Projects}a=b.ProjectsPageSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectsPageSize"]=a;delete b.ProjectsPageSize}a=b.Stages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stages",this.get_stages(),a);this.get_stages().fromJson(a);delete b.Stages}a=b.TimeSheetPeriods;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeSheetPeriods",this.get_timeSheetPeriods(),a);this.get_timeSheetPeriods().fromJson(a);delete b.TimeSheetPeriods}a=b.WorkflowActivities;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowActivities",this.get_workflowActivities(),a);this.get_workflowActivities().fromJson(a);delete b.WorkflowActivities}a=b.WorkflowDesigner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowDesigner",this.get_workflowDesigner(),a);this.get_workflowDesigner().fromJson(a);delete b.WorkflowDesigner}},stopDelegation:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"StopDelegation",null);a.addQuery(b)},getDeletedPublishedAssignments:function(c){a:;var a=this.get_context(),b;b=new PS.DeletedPublishedAssignmentCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetDeletedPublishedAssignments",[c]));return b}};PS.ProjectServerPropertyNames=function(){};PS.ProjectServerObjectPropertyNames=function(){};PS.ProjectServerData=function(a){a:;PS.ProjectServerData.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{377f41e2-2956-409e-a261-08e6826ac4bf}",arguments)])};PS.ProjectServerData.newObject=function(a){a:;return new PS.ProjectServerData(a,new SP.ObjectPathConstructor(a,"{377f41e2-2956-409e-a261-08e6826ac4bf}",null))};PS.ProjectSummaryTask=function(b,a){a:;PS.ProjectSummaryTask.initializeBase(this,[b,a])};PS.ProjectSummaryTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_budgetWork:function(){a:;this.checkUninitializedProperty("BudgetWork");return this.get_objectData().get_properties()["BudgetWork"]},get_budgetWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetWorkMilliseconds");return this.get_objectData().get_properties()["BudgetWorkMilliseconds"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_finishText:function(){a:;this.checkUninitializedProperty("FinishText");return this.get_objectData().get_properties()["FinishText"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_priority:function(){a:;this.checkUninitializedProperty("Priority");return this.get_objectData().get_properties()["Priority"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_startText:function(){a:;this.checkUninitializedProperty("StartText");return this.get_objectData().get_properties()["StartText"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Task.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.BudgetWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWork"]=a;delete b.BudgetWork}a=b.BudgetWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;delete b.BudgetWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishText"]=a;delete b.FinishText}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Priority;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Priority"]=a;delete b.Priority}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartText"]=a;delete b.StartText}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.ProjectSummaryTaskPropertyNames=function(){};PS.PublishedAssignment=function(b,a){a:;PS.PublishedAssignment.initializeBase(this,[b,a])};PS.PublishedAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_budgetedCost:function(){a:;this.checkUninitializedProperty("BudgetedCost");return this.get_objectData().get_properties()["BudgetedCost"]},get_budgetedWork:function(){a:;this.checkUninitializedProperty("BudgetedWork");return this.get_objectData().get_properties()["BudgetedWork"]},get_budgetedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetedWorkMilliseconds");return this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},get_isWorkResource:function(){a:;this.checkUninitializedProperty("IsWorkResource");return this.get_objectData().get_properties()["IsWorkResource"]},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignment(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProjectResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_resourceCapacity:function(){a:;this.checkUninitializedProperty("ResourceCapacity");return this.get_objectData().get_properties()["ResourceCapacity"]},get_task:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Task"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Task"));this.get_objectData().get_clientObjectProperties()["Task"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Assignment.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.BudgetedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCost"]=a;delete b.BudgetedCost}a=b.BudgetedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWork"]=a;delete b.BudgetedWork}a=b.BudgetedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedWorkMilliseconds"]=a;delete b.BudgetedWorkMilliseconds}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsWorkResource;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsWorkResource"]=a;delete b.IsWorkResource}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.ResourceCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResourceCapacity"]=a;delete b.ResourceCapacity}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Task",this.get_task(),a);this.get_task().fromJson(a);delete b.Task}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.PublishedAssignmentPropertyNames=function(){};PS.PublishedAssignmentObjectPropertyNames=function(){};PS.PublishedAssignmentCollection=function(b,a){a:;PS.PublishedAssignmentCollection.initializeBase(this,[b,a])};PS.PublishedAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedAssignment},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.PublishedProject=function(b,a){a:;PS.PublishedProject.initializeBase(this,[b,a])};PS.PublishedProject.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},set_item:function(b,a){a:;this.setCustomFieldValue(b,a);return a},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},get_currencyCode:function(){a:;this.checkUninitializedProperty("CurrencyCode");return this.get_objectData().get_properties()["CurrencyCode"]},get_currencyDigits:function(){a:;this.checkUninitializedProperty("CurrencyDigits");return this.get_objectData().get_properties()["CurrencyDigits"]},get_currencyPosition:function(){a:;this.checkUninitializedProperty("CurrencyPosition");return this.get_objectData().get_properties()["CurrencyPosition"]},get_currencySymbol:function(){a:;this.checkUninitializedProperty("CurrencySymbol");return this.get_objectData().get_properties()["CurrencySymbol"]},get_currentDate:function(){a:;this.checkUninitializedProperty("CurrentDate");return this.get_objectData().get_properties()["CurrentDate"]},get_daysPerMonth:function(){a:;this.checkUninitializedProperty("DaysPerMonth");return this.get_objectData().get_properties()["DaysPerMonth"]},get_defaultEffortDriven:function(){a:;this.checkUninitializedProperty("DefaultEffortDriven");return this.get_objectData().get_properties()["DefaultEffortDriven"]},get_defaultEstimatedDuration:function(){a:;this.checkUninitializedProperty("DefaultEstimatedDuration");return this.get_objectData().get_properties()["DefaultEstimatedDuration"]},get_defaultFixedCostAccrual:function(){a:;this.checkUninitializedProperty("DefaultFixedCostAccrual");return this.get_objectData().get_properties()["DefaultFixedCostAccrual"]},get_defaultOvertimeRate:function(){a:;this.checkUninitializedProperty("DefaultOvertimeRate");return this.get_objectData().get_properties()["DefaultOvertimeRate"]},get_defaultStandardRate:function(){a:;this.checkUninitializedProperty("DefaultStandardRate");return this.get_objectData().get_properties()["DefaultStandardRate"]},get_defaultTaskType:function(){a:;this.checkUninitializedProperty("DefaultTaskType");return this.get_objectData().get_properties()["DefaultTaskType"]},get_defaultWorkFormat:function(){a:;this.checkUninitializedProperty("DefaultWorkFormat");return this.get_objectData().get_properties()["DefaultWorkFormat"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},get_draft:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Draft"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.DraftProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Draft"));this.get_objectData().get_clientObjectProperties()["Draft"]=a}return a},get_finishDate:function(){a:;this.checkUninitializedProperty("FinishDate");return this.get_objectData().get_properties()["FinishDate"]},get_fiscalYearStartMonth:function(){a:;this.checkUninitializedProperty("FiscalYearStartMonth");return this.get_objectData().get_properties()["FiscalYearStartMonth"]},get_includeCustomFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"IncludeCustomFields"));this.get_objectData().get_clientObjectProperties()["IncludeCustomFields"]=a}return a},get_isEnterpriseProject:function(){a:;this.checkUninitializedProperty("IsEnterpriseProject");return this.get_objectData().get_properties()["IsEnterpriseProject"]},set_isEnterpriseProject:function(a){a:;this.get_objectData().get_properties()["IsEnterpriseProject"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsEnterpriseProject",a));return a},get_minutesPerDay:function(){a:;this.checkUninitializedProperty("MinutesPerDay");return this.get_objectData().get_properties()["MinutesPerDay"]},get_minutesPerWeek:function(){a:;this.checkUninitializedProperty("MinutesPerWeek");return this.get_objectData().get_properties()["MinutesPerWeek"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_newTasksAreManual:function(){a:;this.checkUninitializedProperty("NewTasksAreManual");return this.get_objectData().get_properties()["NewTasksAreManual"]},get_numberFiscalYearFromStart:function(){a:;this.checkUninitializedProperty("NumberFiscalYearFromStart");return this.get_objectData().get_properties()["NumberFiscalYearFromStart"]},get_owner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Owner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties()["Owner"]=a}return a},set_owner:function(a){a:;this.get_objectData().get_clientObjectProperties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_projectIdentifier:function(){a:;this.checkUninitializedProperty("ProjectIdentifier");return this.get_objectData().get_properties()["ProjectIdentifier"]},get_projectResources:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectResources"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProjectResourceCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectResources"));this.get_objectData().get_clientObjectProperties()["ProjectResources"]=a}return a},get_protectedActualsSynch:function(){a:;this.checkUninitializedProperty("ProtectedActualsSynch");return this.get_objectData().get_properties()["ProtectedActualsSynch"]},get_showEstimatedDurations:function(){a:;this.checkUninitializedProperty("ShowEstimatedDurations");return this.get_objectData().get_properties()["ShowEstimatedDurations"]},get_startDate:function(){a:;this.checkUninitializedProperty("StartDate");return this.get_objectData().get_properties()["StartDate"]},get_statusDate:function(){a:;this.checkUninitializedProperty("StatusDate");return this.get_objectData().get_properties()["StatusDate"]},get_taskLinks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TaskLinks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskLinks"));this.get_objectData().get_clientObjectProperties()["TaskLinks"]=a}return a},get_tasks:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Tasks"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Tasks"));this.get_objectData().get_clientObjectProperties()["Tasks"]=a}return a},get_trackingMode:function(){a:;this.checkUninitializedProperty("TrackingMode");return this.get_objectData().get_properties()["TrackingMode"]},get_utilizationDate:function(){a:;this.checkUninitializedProperty("UtilizationDate");return this.get_objectData().get_properties()["UtilizationDate"]},get_utilizationType:function(){a:;this.checkUninitializedProperty("UtilizationType");return this.get_objectData().get_properties()["UtilizationType"]},get_weekStartDay:function(){a:;this.checkUninitializedProperty("WeekStartDay");return this.get_objectData().get_properties()["WeekStartDay"]},get_winprojVersion:function(){a:;this.checkUninitializedProperty("WinprojVersion");return this.get_objectData().get_properties()["WinprojVersion"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Project.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.CurrencyCode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyCode"]=a;delete b.CurrencyCode}a=b.CurrencyDigits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyDigits"]=a;delete b.CurrencyDigits}a=b.CurrencyPosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencyPosition"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrencyPosition}a=b.CurrencySymbol;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrencySymbol"]=a;delete b.CurrencySymbol}a=b.CurrentDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentDate"]=a;delete b.CurrentDate}a=b.DaysPerMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DaysPerMonth"]=a;delete b.DaysPerMonth}a=b.DefaultEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEffortDriven"]=a;delete b.DefaultEffortDriven}a=b.DefaultEstimatedDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultEstimatedDuration"]=a;delete b.DefaultEstimatedDuration}a=b.DefaultFixedCostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultFixedCostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultFixedCostAccrual}a=b.DefaultOvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultOvertimeRate"]=a;delete b.DefaultOvertimeRate}a=b.DefaultStandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultStandardRate"]=a;delete b.DefaultStandardRate}a=b.DefaultTaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultTaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultTaskType}a=b.DefaultWorkFormat;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultWorkFormat"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultWorkFormat}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Draft;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Draft",this.get_draft(),a);this.get_draft().fromJson(a);delete b.Draft}a=b.FinishDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishDate"]=a;delete b.FinishDate}a=b.FiscalYearStartMonth;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FiscalYearStartMonth"]=a;delete b.FiscalYearStartMonth}a=b.IncludeCustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("IncludeCustomFields",this.get_includeCustomFields(),a);this.get_includeCustomFields().fromJson(a);delete b.IncludeCustomFields}a=b.IsEnterpriseProject;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEnterpriseProject"]=a;delete b.IsEnterpriseProject}a=b.MinutesPerDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerDay"]=a;delete b.MinutesPerDay}a=b.MinutesPerWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MinutesPerWeek"]=a;delete b.MinutesPerWeek}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.NewTasksAreManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NewTasksAreManual"]=a;delete b.NewTasksAreManual}a=b.NumberFiscalYearFromStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NumberFiscalYearFromStart"]=a;delete b.NumberFiscalYearFromStart}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.ProjectIdentifier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectIdentifier"]=a;delete b.ProjectIdentifier}a=b.ProjectResources;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectResources",this.get_projectResources(),a);this.get_projectResources().fromJson(a);delete b.ProjectResources}a=b.ProtectedActualsSynch;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProtectedActualsSynch"]=a;delete b.ProtectedActualsSynch}a=b.ShowEstimatedDurations;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ShowEstimatedDurations"]=a;delete b.ShowEstimatedDurations}a=b.StartDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartDate"]=a;delete b.StartDate}a=b.StatusDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StatusDate"]=a;delete b.StatusDate}a=b.TaskLinks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskLinks",this.get_taskLinks(),a);this.get_taskLinks().fromJson(a);delete b.TaskLinks}a=b.Tasks;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Tasks",this.get_tasks(),a);this.get_tasks().fromJson(a);delete b.Tasks}a=b.TrackingMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrackingMode"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TrackingMode}a=b.UtilizationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationDate"]=a;delete b.UtilizationDate}a=b.UtilizationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UtilizationType}a=b.WeekStartDay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WeekStartDay"]=a;delete b.WeekStartDay}a=b.WinprojVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WinprojVersion"]=a;delete b.WinprojVersion}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},checkOut:function(){a:;var b=this.get_context(),a;a=new PS.DraftProject(b,new SP.ObjectPathMethod(b,this.get_path(),"CheckOut",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);var d=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(d.get_id(),this);this.get_context().addQuery(d);return a},submitToWorkflow:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SubmitToWorkflow",null);a.addQuery(b)},deleteObject:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"DeleteObject",null));this.removeFromParentCollection();return b},updateVisibilityCustomFields:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"UpdateVisibilityCustomFields",null));return b},createProjectSite:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"CreateProjectSite",[a]);b.addQuery(c)}};PS.PublishedProjectPropertyNames=function(){};PS.PublishedProjectObjectPropertyNames=function(){};PS.PublishedProjectResource=function(b,a){a:;PS.PublishedProjectResource.initializeBase(this,[b,a])};PS.PublishedProjectResource.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_canLevel:function(){a:;this.checkUninitializedProperty("CanLevel");return this.get_objectData().get_properties()["CanLevel"]},get_code:function(){a:;this.checkUninitializedProperty("Code");return this.get_objectData().get_properties()["Code"]},get_costAccrual:function(){a:;this.checkUninitializedProperty("CostAccrual");return this.get_objectData().get_properties()["CostAccrual"]},get_costCenter:function(){a:;this.checkUninitializedProperty("CostCenter");return this.get_objectData().get_properties()["CostCenter"]},get_costPerUse:function(){a:;this.checkUninitializedProperty("CostPerUse");return this.get_objectData().get_properties()["CostPerUse"]},get_defaultAssignmentOwner:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultAssignmentOwner"));this.get_objectData().get_clientObjectProperties()["DefaultAssignmentOwner"]=a}return a},get_defaultBookingType:function(){a:;this.checkUninitializedProperty("DefaultBookingType");return this.get_objectData().get_properties()["DefaultBookingType"]},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},get_group:function(){a:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties()["Group"]},get_initials:function(){a:;this.checkUninitializedProperty("Initials");return this.get_objectData().get_properties()["Initials"]},get_materialLabel:function(){a:;this.checkUninitializedProperty("MaterialLabel");return this.get_objectData().get_properties()["MaterialLabel"]},get_maximumCapacity:function(){a:;this.checkUninitializedProperty("MaximumCapacity");return this.get_objectData().get_properties()["MaximumCapacity"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_overtimeRate:function(){a:;this.checkUninitializedProperty("OvertimeRate");return this.get_objectData().get_properties()["OvertimeRate"]},get_overtimeRateUnits:function(){a:;this.checkUninitializedProperty("OvertimeRateUnits");return this.get_objectData().get_properties()["OvertimeRateUnits"]},get_phonetics:function(){a:;this.checkUninitializedProperty("Phonetics");return this.get_objectData().get_properties()["Phonetics"]},get_standardRate:function(){a:;this.checkUninitializedProperty("StandardRate");return this.get_objectData().get_properties()["StandardRate"]},get_standardRateUnits:function(){a:;this.checkUninitializedProperty("StandardRateUnits");return this.get_objectData().get_properties()["StandardRateUnits"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.ProjectResource.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.CanLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CanLevel"]=a;delete b.CanLevel}a=b.Code;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Code"]=a;delete b.Code}a=b.CostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CostAccrual}a=b.CostCenter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostCenter"]=a;delete b.CostCenter}a=b.CostPerUse;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerUse"]=a;delete b.CostPerUse}a=b.DefaultAssignmentOwner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultAssignmentOwner",this.get_defaultAssignmentOwner(),a);this.get_defaultAssignmentOwner().fromJson(a);delete b.DefaultAssignmentOwner}a=b.DefaultBookingType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultBookingType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DefaultBookingType}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Group"]=a;delete b.Group}a=b.Initials;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Initials"]=a;delete b.Initials}a=b.MaterialLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaterialLabel"]=a;delete b.MaterialLabel}a=b.MaximumCapacity;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaximumCapacity"]=a;delete b.MaximumCapacity}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OvertimeRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRate"]=a;delete b.OvertimeRate}a=b.OvertimeRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OvertimeRateUnits}a=b.Phonetics;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Phonetics"]=a;delete b.Phonetics}a=b.StandardRate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRate"]=a;delete b.StandardRate}a=b.StandardRateUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StandardRateUnits"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StandardRateUnits}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.PublishedProjectResourcePropertyNames=function(){};PS.PublishedProjectResourceObjectPropertyNames=function(){};PS.PublishedProjectResourceCollection=function(b,a){a:;PS.PublishedProjectResourceCollection.initializeBase(this,[b,a])};PS.PublishedProjectResourceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedProjectResource},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedProjectResource(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.PublishedTask=function(b,a){a:;PS.PublishedTask.initializeBase(this,[b,a])};PS.PublishedTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_2(a)},get_actualCost:function(){a:;this.checkUninitializedProperty("ActualCost");return this.get_objectData().get_properties()["ActualCost"]},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_budgetWork:function(){a:;this.checkUninitializedProperty("BudgetWork");return this.get_objectData().get_properties()["BudgetWork"]},get_budgetWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BudgetWorkMilliseconds");return this.get_objectData().get_properties()["BudgetWorkMilliseconds"]},get_calendar:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Calendar"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Calendar(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Calendar"));this.get_objectData().get_clientObjectProperties()["Calendar"]=a}return a},get_completion:function(){a:;this.checkUninitializedProperty("Completion");return this.get_objectData().get_properties()["Completion"]},get_constraintStartEnd:function(){a:;this.checkUninitializedProperty("ConstraintStartEnd");return this.get_objectData().get_properties()["ConstraintStartEnd"]},get_constraintType:function(){a:;this.checkUninitializedProperty("ConstraintType");return this.get_objectData().get_properties()["ConstraintType"]},get_cost:function(){a:;this.checkUninitializedProperty("Cost");return this.get_objectData().get_properties()["Cost"]},get_deadline:function(){a:;this.checkUninitializedProperty("Deadline");return this.get_objectData().get_properties()["Deadline"]},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_finishText:function(){a:;this.checkUninitializedProperty("FinishText");return this.get_objectData().get_properties()["FinishText"]},get_fixedCost:function(){a:;this.checkUninitializedProperty("FixedCost");return this.get_objectData().get_properties()["FixedCost"]},get_isActive:function(){a:;this.checkUninitializedProperty("IsActive");return this.get_objectData().get_properties()["IsActive"]},get_isLockedByManager:function(){a:;this.checkUninitializedProperty("IsLockedByManager");return this.get_objectData().get_properties()["IsLockedByManager"]},get_isManual:function(){a:;this.checkUninitializedProperty("IsManual");return this.get_objectData().get_properties()["IsManual"]},get_isMarked:function(){a:;this.checkUninitializedProperty("IsMarked");return this.get_objectData().get_properties()["IsMarked"]},get_isMilestone:function(){a:;this.checkUninitializedProperty("IsMilestone");return this.get_objectData().get_properties()["IsMilestone"]},get_levelingAdjustsAssignments:function(){a:;this.checkUninitializedProperty("LevelingAdjustsAssignments");return this.get_objectData().get_properties()["LevelingAdjustsAssignments"]},get_levelingCanSplit:function(){a:;this.checkUninitializedProperty("LevelingCanSplit");return this.get_objectData().get_properties()["LevelingCanSplit"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_outlineLevel:function(){a:;this.checkUninitializedProperty("OutlineLevel");return this.get_objectData().get_properties()["OutlineLevel"]},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_percentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("PercentPhysicalWorkComplete");return this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]},get_predecessors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Predecessors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Predecessors"));this.get_objectData().get_clientObjectProperties()["Predecessors"]=a}return a},get_priority:function(){a:;this.checkUninitializedProperty("Priority");return this.get_objectData().get_properties()["Priority"]},get_remainingDuration:function(){a:;this.checkUninitializedProperty("RemainingDuration");return this.get_objectData().get_properties()["RemainingDuration"]},get_remainingDurationMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingDurationMilliseconds");return this.get_objectData().get_properties()["RemainingDurationMilliseconds"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_startText:function(){a:;this.checkUninitializedProperty("StartText");return this.get_objectData().get_properties()["StartText"]},get_statusManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["StatusManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StatusManager"));this.get_objectData().get_clientObjectProperties()["StatusManager"]=a}return a},get_successors:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Successors"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTaskLinkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Successors"));this.get_objectData().get_clientObjectProperties()["Successors"]=a}return a},get_usePercentPhysicalWorkComplete:function(){a:;this.checkUninitializedProperty("UsePercentPhysicalWorkComplete");return this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;PS.Task.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCost"]=a;delete b.ActualCost}a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.BudgetWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWork"]=a;delete b.BudgetWork}a=b.BudgetWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetWorkMilliseconds"]=a;delete b.BudgetWorkMilliseconds}a=b.Calendar;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Calendar",this.get_calendar(),a);this.get_calendar().fromJson(a);delete b.Calendar}a=b.Completion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Completion"]=a;delete b.Completion}a=b.ConstraintStartEnd;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintStartEnd"]=a;delete b.ConstraintStartEnd}a=b.ConstraintType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ConstraintType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ConstraintType}a=b.Cost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Cost"]=a;delete b.Cost}a=b.Deadline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Deadline"]=a;delete b.Deadline}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.FinishText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishText"]=a;delete b.FinishText}a=b.FixedCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FixedCost"]=a;delete b.FixedCost}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsActive"]=a;delete b.IsActive}a=b.IsLockedByManager;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLockedByManager"]=a;delete b.IsLockedByManager}a=b.IsManual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsManual"]=a;delete b.IsManual}a=b.IsMarked;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMarked"]=a;delete b.IsMarked}a=b.IsMilestone;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMilestone"]=a;delete b.IsMilestone}a=b.LevelingAdjustsAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingAdjustsAssignments"]=a;delete b.LevelingAdjustsAssignments}a=b.LevelingCanSplit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingCanSplit"]=a;delete b.LevelingCanSplit}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OutlineLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OutlineLevel"]=a;delete b.OutlineLevel}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.PercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentPhysicalWorkComplete"]=a;delete b.PercentPhysicalWorkComplete}a=b.Predecessors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Predecessors",this.get_predecessors(),a);this.get_predecessors().fromJson(a);delete b.Predecessors}a=b.Priority;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Priority"]=a;delete b.Priority}a=b.RemainingDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDuration"]=a;delete b.RemainingDuration}a=b.RemainingDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;delete b.RemainingDurationMilliseconds}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StartText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartText"]=a;delete b.StartText}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StatusManager",this.get_statusManager(),a);this.get_statusManager().fromJson(a);delete b.StatusManager}a=b.Successors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Successors",this.get_successors(),a);this.get_successors().fromJson(a);delete b.Successors}a=b.UsePercentPhysicalWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UsePercentPhysicalWorkComplete"]=a;delete b.UsePercentPhysicalWorkComplete}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_2:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.PublishedTaskPropertyNames=function(){};PS.PublishedTaskObjectPropertyNames=function(){};PS.PublishedTaskCollection=function(b,a){a:;PS.PublishedTaskCollection.initializeBase(this,[b,a])};PS.PublishedTaskCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedTask},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTask(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.PublishedTaskLink=function(b,a){a:;PS.PublishedTaskLink.initializeBase(this,[b,a])};PS.PublishedTaskLink.prototype={get_dependencyType:function(){a:;this.checkUninitializedProperty("DependencyType");return this.get_objectData().get_properties()["DependencyType"]},get_end:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["End"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"End"));this.get_objectData().get_clientObjectProperties()["End"]=a}return a},get_start:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Start"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Start"));this.get_objectData().get_clientObjectProperties()["Start"]=a}return a},initPropertiesFromJson:function(b){a:;PS.TaskLink.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DependencyType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DependencyType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DependencyType}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("End",this.get_end(),a);this.get_end().fromJson(a);delete b.End}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Start",this.get_start(),a);this.get_start().fromJson(a);delete b.Start}}};PS.PublishedTaskLinkPropertyNames=function(){};PS.PublishedTaskLinkObjectPropertyNames=function(){};PS.PublishedTaskLinkCollection=function(b,a){a:;PS.PublishedTaskLinkCollection.initializeBase(this,[b,a])};PS.PublishedTaskLinkCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.PublishedTaskLink},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.PublishedTaskLink(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.QueueJob=function(b,a){a:;PS.QueueJob.initializeBase(this,[b,a])};PS.QueueJob.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_jobState:function(){a:;this.checkUninitializedProperty("JobState");return this.get_objectData().get_properties()["JobState"]},get_messageType:function(){a:;this.checkUninitializedProperty("MessageType");return this.get_objectData().get_properties()["MessageType"]},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},get_project:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Project"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Project(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Project"));this.get_objectData().get_clientObjectProperties()["Project"]=a}return a},get_submitter:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Submitter"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Submitter"));this.get_objectData().get_clientObjectProperties()["Submitter"]=a}return a},get_waitMilliseconds:function(){a:;this.checkUninitializedProperty("WaitMilliseconds");return this.get_objectData().get_properties()["WaitMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.JobState;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["JobState"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.JobState}a=b.MessageType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MessageType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.MessageType}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Project;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Project",this.get_project(),a);this.get_project().fromJson(a);delete b.Project}a=b.Submitter;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Submitter",this.get_submitter(),a);this.get_submitter().fromJson(a);delete b.Submitter}a=b.WaitMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WaitMilliseconds"]=a;delete b.WaitMilliseconds}},cancel:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Cancel",null);a.addQuery(b)}};PS.QueueJobPropertyNames=function(){};PS.QueueJobObjectPropertyNames=function(){};PS.QueueJobCollection=function(b,a){a:;PS.QueueJobCollection.initializeBase(this,[b,a])};PS.QueueJobCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.QueueJob},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.QueueJob(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.QueueJob(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ResourceCalendarException=function(b,a){a:;PS.ResourceCalendarException.initializeBase(this,[b,a])};PS.ResourceEngagement=function(b,a){a:;PS.ResourceEngagement.initializeBase(this,[b,a])};PS.ResourceEngagement.prototype={get_approvedFinish:function(){a:;this.checkUninitializedProperty("ApprovedFinish");return this.get_objectData().get_properties()["ApprovedFinish"]},set_approvedFinish:function(a){a:;this.get_objectData().get_properties()["ApprovedFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedFinish",a));return a},get_approvedMaxUnits:function(){a:;this.checkUninitializedProperty("ApprovedMaxUnits");return this.get_objectData().get_properties()["ApprovedMaxUnits"]},set_approvedMaxUnits:function(a){a:;this.get_objectData().get_properties()["ApprovedMaxUnits"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedMaxUnits",a));return a},get_approvedStart:function(){a:;this.checkUninitializedProperty("ApprovedStart");return this.get_objectData().get_properties()["ApprovedStart"]},set_approvedStart:function(a){a:;this.get_objectData().get_properties()["ApprovedStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedStart",a));return a},get_approvedWork:function(){a:;this.checkUninitializedProperty("ApprovedWork");return this.get_objectData().get_properties()["ApprovedWork"]},set_approvedWork:function(a){a:;this.get_objectData().get_properties()["ApprovedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedWork",a));return a},get_approvedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ApprovedWorkMilliseconds");return this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]},set_approvedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ApprovedWorkMilliseconds",a));return a},get_requestedFinish:function(){a:;this.checkUninitializedProperty("RequestedFinish");return this.get_objectData().get_properties()["RequestedFinish"]},get_requestedMaxUnits:function(){a:;this.checkUninitializedProperty("RequestedMaxUnits");return this.get_objectData().get_properties()["RequestedMaxUnits"]},get_requestedStart:function(){a:;this.checkUninitializedProperty("RequestedStart");return this.get_objectData().get_properties()["RequestedStart"]},get_requestedWork:function(){a:;this.checkUninitializedProperty("RequestedWork");return this.get_objectData().get_properties()["RequestedWork"]},get_requestedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RequestedWorkMilliseconds");return this.get_objectData().get_properties()["RequestedWorkMilliseconds"]},initPropertiesFromJson:function(b){a:;PS.Engagement.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ApprovedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedFinish"]=a;delete b.ApprovedFinish}a=b.ApprovedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedMaxUnits"]=a;delete b.ApprovedMaxUnits}a=b.ApprovedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedStart"]=a;delete b.ApprovedStart}a=b.ApprovedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWork"]=a;delete b.ApprovedWork}a=b.ApprovedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovedWorkMilliseconds"]=a;delete b.ApprovedWorkMilliseconds}a=b.RequestedFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedFinish"]=a;delete b.RequestedFinish}a=b.RequestedMaxUnits;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedMaxUnits"]=a;delete b.RequestedMaxUnits}a=b.RequestedStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedStart"]=a;delete b.RequestedStart}a=b.RequestedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWork"]=a;delete b.RequestedWork}a=b.RequestedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequestedWorkMilliseconds"]=a;delete b.RequestedWorkMilliseconds}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},getTimephased:function(e,f,d,c){a:;var a=this.get_context(),b;b=new PS.ResourceEngagementTimephasedCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTimephased",[e,f,d,c]));return b}};PS.ResourceEngagementPropertyNames=function(){};PS.ResourceEngagementCollection=function(b,a){a:;PS.ResourceEngagementCollection.initializeBase(this,[b,a])};PS.ResourceEngagementCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ResourceEngagement},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ResourceEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.ResourceEngagement(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.ResourceEngagementComment=function(b,a){a:;PS.ResourceEngagementComment.initializeBase(this,[b,a])};PS.ResourceEngagementTimephasedCollection=function(b,a){a:;PS.ResourceEngagementTimephasedCollection.initializeBase(this,[b,a])};PS.ResourceEngagementTimephasedCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.ResourceEngagementTimephasedPeriod},getByStart:function(c){a:;var a=this.get_context(),b;b=new PS.ResourceEngagementTimephasedPeriod(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStart",[c]));return b}};PS.ResourceEngagementTimephasedPeriod=function(b,a){a:;PS.ResourceEngagementTimephasedPeriod.initializeBase(this,[b,a])};PS.ResourcePlan=function(b,a){a:;PS.ResourcePlan.initializeBase(this,[b,a])};PS.ResourcePlan.prototype={get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PlanAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_utilizationDate:function(){a:;this.checkUninitializedProperty("UtilizationDate");return this.get_objectData().get_properties()["UtilizationDate"]},set_utilizationDate:function(a){a:;this.get_objectData().get_properties()["UtilizationDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationDate",a));return a},get_utilizationType:function(){a:;this.checkUninitializedProperty("UtilizationType");return this.get_objectData().get_properties()["UtilizationType"]},set_utilizationType:function(a){a:;this.get_objectData().get_properties()["UtilizationType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UtilizationType",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.UtilizationDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationDate"]=a;delete b.UtilizationDate}a=b.UtilizationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UtilizationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UtilizationType}},update:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Update",null));return b},publish:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"Publish",null));return b},forceCheckIn:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"ForceCheckIn",null));return b},deleteObject:function(){a:;var a=this.get_context(),b;b=new PS.QueueJob(a,new SP.ObjectPathMethod(a,this.get_path(),"DeleteObject",null));return b}};PS.ResourcePlanPropertyNames=function(){};PS.ResourcePlanObjectPropertyNames=function(){};PS.ServiceStatus=function(a){a:;PS.ServiceStatus.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{f256f605-bb33-4d62-b206-72a06a765075}",arguments)])};PS.ServiceStatus.newObject=function(a,b){a:;return new PS.ServiceStatus(a,new SP.ObjectPathConstructor(a,"{f256f605-bb33-4d62-b206-72a06a765075}",[b]))};PS.ServiceStatus.prototype={get_isDelegate:function(){a:;this.checkUninitializedProperty("IsDelegate");return this.get_objectData().get_properties()["IsDelegate"]},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties()["IsReadOnly"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsDelegate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDelegate"]=a;delete b.IsDelegate}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReadOnly"]=a;delete b.IsReadOnly}},stopDelegation:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"StopDelegation",null);a.addQuery(b)}};PS.ServiceStatusPropertyNames=function(){};PS.Stage=function(b,a){a:;PS.Stage.initializeBase(this,[b,a])};PS.Stage.prototype={get_behavior:function(){a:;this.checkUninitializedProperty("Behavior");return this.get_objectData().get_properties()["Behavior"]},set_behavior:function(a){a:;this.get_objectData().get_properties()["Behavior"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Behavior",a));return a},get_checkInRequired:function(){a:;this.checkUninitializedProperty("CheckInRequired");return this.get_objectData().get_properties()["CheckInRequired"]},set_checkInRequired:function(a){a:;this.get_objectData().get_properties()["CheckInRequired"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CheckInRequired",a));return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageCustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_phase:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Phase"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Phase(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Phase"));this.get_objectData().get_clientObjectProperties()["Phase"]=a}return a},set_phase:function(a){a:;this.get_objectData().get_clientObjectProperties()["Phase"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Phase",a));return a},get_projectDetailPages:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StageDetailPageCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProjectDetailPages"));this.get_objectData().get_clientObjectProperties()["ProjectDetailPages"]=a}return a},get_submitDescription:function(){a:;this.checkUninitializedProperty("SubmitDescription");return this.get_objectData().get_properties()["SubmitDescription"]},set_submitDescription:function(a){a:;this.get_objectData().get_properties()["SubmitDescription"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SubmitDescription",a));return a},get_workflowStatusPage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["WorkflowStatusPage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowStatusPage"));this.get_objectData().get_clientObjectProperties()["WorkflowStatusPage"]=a}return a},set_workflowStatusPage:function(a){a:;this.get_objectData().get_clientObjectProperties()["WorkflowStatusPage"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkflowStatusPage",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Behavior;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Behavior"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Behavior}a=b.CheckInRequired;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CheckInRequired"]=a;delete b.CheckInRequired}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Phase;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Phase",this.get_phase(),a);this.get_phase().fromJson(a);delete b.Phase}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProjectDetailPages",this.get_projectDetailPages(),a);this.get_projectDetailPages().fromJson(a);delete b.ProjectDetailPages}a=b.SubmitDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SubmitDescription"]=a;delete b.SubmitDescription}a=b.WorkflowStatusPage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowStatusPage",this.get_workflowStatusPage(),a);this.get_workflowStatusPage().fromJson(a);delete b.WorkflowStatusPage}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StagePropertyNames=function(){};PS.StageObjectPropertyNames=function(){};PS.StageCollection=function(b,a){a:;PS.StageCollection.initializeBase(this,[b,a])};PS.StageCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.Stage},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Stage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.Stage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},add:function(d){a:;var b=this.get_context(),a;a=new PS.Stage(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.StageCreationInformation=function(){a:;PS.StageCreationInformation.initializeBase(this)};PS.StageCreationInformation.prototype={$Z_1:0,$b_1:false,$M_1:null,$2_1:null,$0_1:null,$1_1:null,$1A_1:null,$B_1:null,$1b_1:null,$1j_1:null,get_behavior:function(){a:;return this.$Z_1},set_behavior:function(a){a:;this.$Z_1=a;return a},get_checkInRequired:function(){a:;return this.$b_1},set_checkInRequired:function(a){a:;this.$b_1=a;return a},get_customFields:function(){a:;return this.$M_1},set_customFields:function(a){a:;this.$M_1=a;return a},get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_phaseId:function(){a:;return this.$1A_1},set_phaseId:function(a){a:;this.$1A_1=a;return a},get_projectDetailPages:function(){a:;return this.$B_1},set_projectDetailPages:function(a){a:;this.$B_1=a;return a},get_submitDescription:function(){a:;return this.$1b_1},set_submitDescription:function(a){a:;this.$1b_1=a;return a},get_workflowStatusPageId:function(){a:;return this.$1j_1},set_workflowStatusPageId:function(a){a:;this.$1j_1=a;return a},get_typeId:function(){a:;return "{9f32eaa1-0131-41fe-bf60-7063fdd7c288}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Behavior","CheckInRequired","CustomFields","Description","Id","Name","PhaseId","ProjectDetailPages","SubmitDescription","WorkflowStatusPageId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Behavior;if(!SP.ScriptUtility.isUndefined(a)){this.$Z_1=SP.DataConvert.fixupType(null,a);delete b.Behavior}a=b.CheckInRequired;if(!SP.ScriptUtility.isUndefined(a)){this.$b_1=a;delete b.CheckInRequired}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.$M_1=[];SP.DataConvert.populateArray(null,this.$M_1,a);delete b.CustomFields}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.PhaseId;if(!SP.ScriptUtility.isUndefined(a)){this.$1A_1=a;delete b.PhaseId}a=b.ProjectDetailPages;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=[];SP.DataConvert.populateArray(null,this.$B_1,a);delete b.ProjectDetailPages}a=b.SubmitDescription;if(!SP.ScriptUtility.isUndefined(a)){this.$1b_1=a;delete b.SubmitDescription}a=b.WorkflowStatusPageId;if(!SP.ScriptUtility.isUndefined(a)){this.$1j_1=a;delete b.WorkflowStatusPageId}}};PS.StageCustomField=function(b,a){a:;PS.StageCustomField.initializeBase(this,[b,a])};PS.StageCustomField.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_readOnly:function(){a:;this.checkUninitializedProperty("ReadOnly");return this.get_objectData().get_properties()["ReadOnly"]},get_required:function(){a:;this.checkUninitializedProperty("Required");return this.get_objectData().get_properties()["Required"]},get_stage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Stage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stage"));this.get_objectData().get_clientObjectProperties()["Stage"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.ReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ReadOnly"]=a;delete b.ReadOnly}a=b.Required;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Required"]=a;delete b.Required}a=b.Stage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stage",this.get_stage(),a);this.get_stage().fromJson(a);delete b.Stage}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StageCustomFieldPropertyNames=function(){};PS.StageCustomFieldObjectPropertyNames=function(){};PS.StageCustomFieldCollection=function(b,a){a:;PS.StageCustomFieldCollection.initializeBase(this,[b,a])};PS.StageCustomFieldCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StageCustomField},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageCustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageCustomField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.StageCustomField(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a}};PS.StageCustomFieldCreationInformation=function(){a:;PS.StageCustomFieldCreationInformation.initializeBase(this)};PS.StageCustomFieldCreationInformation.prototype={$0_1:null,$1D_1:false,$1K_1:false,get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_readOnly:function(){a:;return this.$1D_1},set_readOnly:function(a){a:;this.$1D_1=a;return a},get_required:function(){a:;return this.$1K_1},set_required:function(a){a:;this.$1K_1=a;return a},get_typeId:function(){a:;return "{ee2262c3-3fff-414e-98b2-44f850fef529}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Id","ReadOnly","Required"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$1D_1=a;delete b.ReadOnly}a=b.Required;if(!SP.ScriptUtility.isUndefined(a)){this.$1K_1=a;delete b.Required}}};PS.StageDetailPage=function(b,a){a:;PS.StageDetailPage.initializeBase(this,[b,a])};PS.StageDetailPage.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_page:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Page"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.ProjectDetailPage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Page"));this.get_objectData().get_clientObjectProperties()["Page"]=a}return a},set_page:function(a){a:;this.get_objectData().get_clientObjectProperties()["Page"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Page",a));return a},get_position:function(){a:;this.checkUninitializedProperty("Position");return this.get_objectData().get_properties()["Position"]},set_position:function(a){a:;this.get_objectData().get_properties()["Position"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Position",a));return a},get_requiresAttention:function(){a:;this.checkUninitializedProperty("RequiresAttention");return this.get_objectData().get_properties()["RequiresAttention"]},set_requiresAttention:function(a){a:;this.get_objectData().get_properties()["RequiresAttention"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequiresAttention",a));return a},get_stage:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Stage"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.Stage(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Stage"));this.get_objectData().get_clientObjectProperties()["Stage"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Page;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Page",this.get_page(),a);this.get_page().fromJson(a);delete b.Page}a=b.Position;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Position"]=a;delete b.Position}a=b.RequiresAttention;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequiresAttention"]=a;delete b.RequiresAttention}a=b.Stage;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Stage",this.get_stage(),a);this.get_stage().fromJson(a);delete b.Stage}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StageDetailPagePropertyNames=function(){};PS.StageDetailPageObjectPropertyNames=function(){};PS.StageDetailPageCollection=function(b,a){a:;PS.StageDetailPageCollection.initializeBase(this,[b,a])};PS.StageDetailPageCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StageDetailPage},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StageDetailPage(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.StageDetailPage(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.StageDetailPageCreationInformation=function(){a:;PS.StageDetailPageCreationInformation.initializeBase(this)};PS.StageDetailPageCreationInformation.prototype={$2_1:null,$0_1:null,$G_1:0,$1L_1:false,get_description:function(){a:;return this.$2_1},set_description:function(a){a:;this.$2_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_position:function(){a:;return this.$G_1},set_position:function(a){a:;this.$G_1=a;return a},get_requiresAttention:function(){a:;return this.$1L_1},set_requiresAttention:function(a){a:;this.$1L_1=a;return a},get_typeId:function(){a:;return "{04c2bf02-2097-4e62-a46d-37b135f55a18}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Id","Position","RequiresAttention"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Position;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Position}a=b.RequiresAttention;if(!SP.ScriptUtility.isUndefined(a)){this.$1L_1=a;delete b.RequiresAttention}}};PS.StatusAssignment=function(b,a){a:;PS.StatusAssignment.initializeBase(this,[b,a])};PS.StatusAssignment.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},set_item:function(b,a){a:;this.$K_1(b,a);return a},get_actualFinish:function(){a:;this.checkUninitializedProperty("ActualFinish");return this.get_objectData().get_properties()["ActualFinish"]},set_actualFinish:function(a){a:;this.get_objectData().get_properties()["ActualFinish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualFinish",a));return a},get_actualOvertime:function(){a:;this.checkUninitializedProperty("ActualOvertime");return this.get_objectData().get_properties()["ActualOvertime"]},set_actualOvertime:function(a){a:;this.get_objectData().get_properties()["ActualOvertime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertime",a));return a},get_actualOvertimeMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeMilliseconds"]},set_actualOvertimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualOvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualOvertimeMilliseconds",a));return a},get_actualStart:function(){a:;this.checkUninitializedProperty("ActualStart");return this.get_objectData().get_properties()["ActualStart"]},set_actualStart:function(a){a:;this.get_objectData().get_properties()["ActualStart"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualStart",a));return a},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_approvalStatus:function(){a:;this.checkUninitializedProperty("ApprovalStatus");return this.get_objectData().get_properties()["ApprovalStatus"]},get_comments:function(){a:;this.checkUninitializedProperty("Comments");return this.get_objectData().get_properties()["Comments"]},set_comments:function(a){a:;this.get_objectData().get_properties()["Comments"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Comments",a));return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},set_finish:function(a){a:;this.get_objectData().get_properties()["Finish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Finish",a));return a},get_history:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["History"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusAssignmentHistoryLineCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"History"));this.get_objectData().get_clientObjectProperties()["History"]=a}return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isConfirmed:function(){a:;this.checkUninitializedProperty("IsConfirmed");return this.get_objectData().get_properties()["IsConfirmed"]},set_isConfirmed:function(a){a:;this.get_objectData().get_properties()["IsConfirmed"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsConfirmed",a));return a},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_overtime:function(){a:;this.checkUninitializedProperty("Overtime");return this.get_objectData().get_properties()["Overtime"]},set_overtime:function(a){a:;this.get_objectData().get_properties()["Overtime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Overtime",a));return a},get_overtimeMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeMilliseconds");return this.get_objectData().get_properties()["OvertimeMilliseconds"]},set_overtimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeMilliseconds",a));return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},set_percentComplete:function(a){a:;this.get_objectData().get_properties()["PercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentComplete",a));return a},get_project:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Project"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Project"));this.get_objectData().get_clientObjectProperties()["Project"]=a}return a},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},set_regularWork:function(a){a:;this.get_objectData().get_properties()["RegularWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWork",a));return a},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},set_regularWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWorkMilliseconds",a));return a},get_remainingOvertime:function(){a:;this.checkUninitializedProperty("RemainingOvertime");return this.get_objectData().get_properties()["RemainingOvertime"]},set_remainingOvertime:function(a){a:;this.get_objectData().get_properties()["RemainingOvertime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertime",a));return a},get_remainingOvertimeMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]},set_remainingOvertimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeMilliseconds",a));return a},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},set_remainingWork:function(a){a:;this.get_objectData().get_properties()["RemainingWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWork",a));return a},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},set_remainingWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWorkMilliseconds",a));return a},get_resource:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Resource"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.EnterpriseResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Resource"));this.get_objectData().get_clientObjectProperties()["Resource"]=a}return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},get_task:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Task"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusTask(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Task"));this.get_objectData().get_clientObjectProperties()["Task"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualFinish"]=a;delete b.ActualFinish}a=b.ActualOvertime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertime"]=a;delete b.ActualOvertime}a=b.ActualOvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeMilliseconds"]=a;delete b.ActualOvertimeMilliseconds}a=b.ActualStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualStart"]=a;delete b.ActualStart}a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.ApprovalStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ApprovalStatus"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ApprovalStatus}a=b.Comments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comments"]=a;delete b.Comments}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.History;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("History",this.get_history(),a);this.get_history().fromJson(a);delete b.History}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsConfirmed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsConfirmed"]=a;delete b.IsConfirmed}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Overtime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Overtime"]=a;delete b.Overtime}a=b.OvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;delete b.OvertimeMilliseconds}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.Project;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Project",this.get_project(),a);this.get_project().fromJson(a);delete b.Project}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingOvertime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertime"]=a;delete b.RemainingOvertime}a=b.RemainingOvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;delete b.RemainingOvertimeMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Resource",this.get_resource(),a);this.get_resource().fromJson(a);delete b.Resource}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Task",this.get_task(),a);this.get_task().fromJson(a);delete b.Task}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}},$K_1:function(b,c){var a=this.get_context();this.get_fieldValues()[b]=c;var d=new SP.ClientActionInvokeMethod(this,"SetCustomFieldValue",[b,c]);a&&a.addQuery(d)},submitStatusUpdates:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SubmitStatusUpdates",[a]);b.addQuery(c)},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.StatusAssignmentPropertyNames=function(){};PS.StatusAssignmentObjectPropertyNames=function(){};PS.StatusAssignmentCollection=function(b,a){a:;PS.StatusAssignmentCollection.initializeBase(this,[b,a])};PS.StatusAssignmentCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StatusAssignment},getTimePhase:function(c,d){a:;var a=this.get_context(),b;b=new PS.TimePhase(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTimePhase",[c,d]));return b},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StatusAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StatusAssignment(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.StatusAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(b){a:;var c=this.get_context(),a,d=new SP.ClientActionInvokeMethod(this,"Remove",[b]);c.addQuery(d);a=new SP.BooleanResult;c.addQueryIdAndResultObject(d.get_id(),a);this.removeChild(b);return a},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},submitAllStatusUpdates:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SubmitAllStatusUpdates",[a]);b.addQuery(c)}};PS.StatusAssignmentCreationInformation=function(){a:;PS.StatusAssignmentCreationInformation.initializeBase(this)};PS.StatusAssignmentCreationInformation.prototype={$7_1:null,$0_1:null,$H_1:null,$1c_1:null,get_comment:function(){a:;return this.$7_1},set_comment:function(a){a:;this.$7_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_projectId:function(){a:;return this.$H_1},set_projectId:function(a){a:;this.$H_1=a;return a},get_task:function(){a:;return this.$1c_1},set_task:function(a){a:;this.$1c_1=a;return a},get_typeId:function(){a:;return "{2b7abc77-4aea-4a63-9eec-ef34a21c8ba1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Comment","Id","ProjectId","Task"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Comment}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.ProjectId;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.ProjectId}a=b.Task;if(!SP.ScriptUtility.isUndefined(a)){this.$1c_1=SP.DataConvert.fixupType(null,a);delete b.Task}}};PS.StatusAssignmentHistoryLine=function(b,a){a:;PS.StatusAssignmentHistoryLine.initializeBase(this,[b,a])};PS.StatusAssignmentHistoryLine.prototype={get_author:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Author"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Author"));this.get_objectData().get_clientObjectProperties()["Author"]=a}return a},get_comment:function(){a:;this.checkUninitializedProperty("Comment");return this.get_objectData().get_properties()["Comment"]},get_decision:function(){a:;this.checkUninitializedProperty("Decision");return this.get_objectData().get_properties()["Decision"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_submitted:function(){a:;this.checkUninitializedProperty("Submitted");return this.get_objectData().get_properties()["Submitted"]},get_updateType:function(){a:;this.checkUninitializedProperty("UpdateType");return this.get_objectData().get_properties()["UpdateType"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Author;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Author",this.get_author(),a);this.get_author().fromJson(a);delete b.Author}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comment"]=a;delete b.Comment}a=b.Decision;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Decision"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Decision}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Submitted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Submitted"]=a;delete b.Submitted}a=b.UpdateType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UpdateType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UpdateType}}};PS.StatusAssignmentHistoryLinePropertyNames=function(){};PS.StatusAssignmentHistoryLineObjectPropertyNames=function(){};PS.StatusAssignmentHistoryLineCollection=function(b,a){a:;PS.StatusAssignmentHistoryLineCollection.initializeBase(this,[b,a])};PS.StatusAssignmentHistoryLineCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.StatusAssignmentHistoryLine},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.StatusAssignmentHistoryLine(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};PS.StatusTask=function(b,a){a:;PS.StatusTask.initializeBase(this,[b,a])};PS.StatusTask.prototype={get_fieldValues:function(){a:;var a=this.get_objectData().get_methodReturnObjects()["$m_dict"];if(SP.ScriptUtility.isNullOrUndefined(a)){a={};this.get_objectData().get_methodReturnObjects()["$m_dict"]=a}return a},get_item:function(a){a:;return this.$6_1(a)},get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_deadline:function(){a:;this.checkUninitializedProperty("Deadline");return this.get_objectData().get_properties()["Deadline"]},set_deadline:function(a){a:;this.get_objectData().get_properties()["Deadline"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Deadline",a));return a},get_duration:function(){a:;this.checkUninitializedProperty("Duration");return this.get_objectData().get_properties()["Duration"]},set_duration:function(a){a:;this.get_objectData().get_properties()["Duration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Duration",a));return a},get_durationMilliseconds:function(){a:;this.checkUninitializedProperty("DurationMilliseconds");return this.get_objectData().get_properties()["DurationMilliseconds"]},set_durationMilliseconds:function(a){a:;this.get_objectData().get_properties()["DurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DurationMilliseconds",a));return a},get_finish:function(){a:;this.checkUninitializedProperty("Finish");return this.get_objectData().get_properties()["Finish"]},set_finish:function(a){a:;this.get_objectData().get_properties()["Finish"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Finish",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_overtime:function(){a:;this.checkUninitializedProperty("Overtime");return this.get_objectData().get_properties()["Overtime"]},set_overtime:function(a){a:;this.get_objectData().get_properties()["Overtime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Overtime",a));return a},get_overtimeMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeMilliseconds");return this.get_objectData().get_properties()["OvertimeMilliseconds"]},set_overtimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeMilliseconds",a));return a},get_percentComplete:function(){a:;this.checkUninitializedProperty("PercentComplete");return this.get_objectData().get_properties()["PercentComplete"]},set_percentComplete:function(a){a:;this.get_objectData().get_properties()["PercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentComplete",a));return a},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},set_percentWorkComplete:function(a){a:;this.get_objectData().get_properties()["PercentWorkComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PercentWorkComplete",a));return a},get_physicalPercentComplete:function(){a:;this.checkUninitializedProperty("PhysicalPercentComplete");return this.get_objectData().get_properties()["PhysicalPercentComplete"]},set_physicalPercentComplete:function(a){a:;this.get_objectData().get_properties()["PhysicalPercentComplete"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PhysicalPercentComplete",a));return a},get_projectTaskId:function(){a:;this.checkUninitializedProperty("ProjectTaskId");return this.get_objectData().get_properties()["ProjectTaskId"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},set_regularWork:function(a){a:;this.get_objectData().get_properties()["RegularWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWork",a));return a},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},set_regularWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegularWorkMilliseconds",a));return a},get_remainingDuration:function(){a:;this.checkUninitializedProperty("RemainingDuration");return this.get_objectData().get_properties()["RemainingDuration"]},set_remainingDuration:function(a){a:;this.get_objectData().get_properties()["RemainingDuration"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDuration",a));return a},get_remainingDurationMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingDurationMilliseconds");return this.get_objectData().get_properties()["RemainingDurationMilliseconds"]},set_remainingDurationMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingDurationMilliseconds",a));return a},get_remainingOvertime:function(){a:;this.checkUninitializedProperty("RemainingOvertime");return this.get_objectData().get_properties()["RemainingOvertime"]},set_remainingOvertime:function(a){a:;this.get_objectData().get_properties()["RemainingOvertime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertime",a));return a},get_remainingOvertimeMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]},set_remainingOvertimeMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingOvertimeMilliseconds",a));return a},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},set_remainingWork:function(a){a:;this.get_objectData().get_properties()["RemainingWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWork",a));return a},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},set_remainingWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemainingWorkMilliseconds",a));return a},get_resume:function(){a:;this.checkUninitializedProperty("Resume");return this.get_objectData().get_properties()["Resume"]},set_resume:function(a){a:;this.get_objectData().get_properties()["Resume"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Resume",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},get_statusManager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["StatusManager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StatusManager"));this.get_objectData().get_clientObjectProperties()["StatusManager"]=a}return a},get_work:function(){a:;this.checkUninitializedProperty("Work");return this.get_objectData().get_properties()["Work"]},set_work:function(a){a:;this.get_objectData().get_properties()["Work"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Work",a));return a},get_workMilliseconds:function(){a:;this.checkUninitializedProperty("WorkMilliseconds");return this.get_objectData().get_properties()["WorkMilliseconds"]},set_workMilliseconds:function(a){a:;this.get_objectData().get_properties()["WorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkMilliseconds",a));return a},initNonPropertiesFromJson:function(a){a:;SP.DataConvert.populateDictionaryFromObject(this.get_fieldValues(),a);SP.DataConvert.fixupTypes(this.get_context(),this.get_fieldValues())},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.Deadline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Deadline"]=a;delete b.Deadline}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Duration"]=a;delete b.Duration}a=b.DurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationMilliseconds"]=a;delete b.DurationMilliseconds}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Finish"]=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Overtime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Overtime"]=a;delete b.Overtime}a=b.OvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeMilliseconds"]=a;delete b.OvertimeMilliseconds}a=b.PercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentComplete"]=a;delete b.PercentComplete}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.PhysicalPercentComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PhysicalPercentComplete"]=a;delete b.PhysicalPercentComplete}a=b.ProjectTaskId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectTaskId"]=a;delete b.ProjectTaskId}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDuration"]=a;delete b.RemainingDuration}a=b.RemainingDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingDurationMilliseconds"]=a;delete b.RemainingDurationMilliseconds}a=b.RemainingOvertime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertime"]=a;delete b.RemainingOvertime}a=b.RemainingOvertimeMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeMilliseconds"]=a;delete b.RemainingOvertimeMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resume;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Resume"]=a;delete b.Resume}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StatusManager",this.get_statusManager(),a);this.get_statusManager().fromJson(a);delete b.StatusManager}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Work"]=a;delete b.Work}a=b.WorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkMilliseconds"]=a;delete b.WorkMilliseconds}},$6_1:function(b){var a=this.get_fieldValues()[b];if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("PropertyHasNotBeenInitialized"));return a},refreshLoad:function(){a:;SP.ClientObject.prototype.refreshLoad.call(this);this.loadExpandoFields()},loadExpandoFields:function(){a:;var a=this.get_fieldValues();for(var b in a){var c={key:b,value:a[b]};this.retrieve(c.key)}}};PS.StatusTaskPropertyNames=function(){};PS.StatusTaskObjectPropertyNames=function(){};PS.StatusTaskCreationInformation=function(){a:;PS.StatusTaskCreationInformation.initializeBase(this)};PS.StatusTaskCreationInformation.prototype={$4_1:null,$0_1:null,$1_1:null,$9_1:null,$3_1:null,$A_1:null,get_finish:function(){a:;return this.$4_1},set_finish:function(a){a:;this.$4_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_parentId:function(){a:;return this.$9_1},set_parentId:function(a){a:;this.$9_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_work:function(){a:;return this.$A_1},set_work:function(a){a:;this.$A_1=a;return a},get_typeId:function(){a:;return "{46b2e157-f944-44fc-84e9-292b0595c1de}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Finish","Id","Name","ParentId","Start","Work"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.ParentId}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Work}}};PS.Task=function(b,a){a:;PS.Task.initializeBase(this,[b,a])};PS.Task.prototype={get_actualCostWorkPerformed:function(){a:;this.checkUninitializedProperty("ActualCostWorkPerformed");return this.get_objectData().get_properties()["ActualCostWorkPerformed"]},get_actualDuration:function(){a:;this.checkUninitializedProperty("ActualDuration");return this.get_objectData().get_properties()["ActualDuration"]},get_actualDurationMilliseconds:function(){a:;this.checkUninitializedProperty("ActualDurationMilliseconds");return this.get_objectData().get_properties()["ActualDurationMilliseconds"]},get_actualOvertimeCost:function(){a:;this.checkUninitializedProperty("ActualOvertimeCost");return this.get_objectData().get_properties()["ActualOvertimeCost"]},get_actualOvertimeWork:function(){a:;this.checkUninitializedProperty("ActualOvertimeWork");return this.get_objectData().get_properties()["ActualOvertimeWork"]},get_actualOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]},get_baselineCost:function(){a:;this.checkUninitializedProperty("BaselineCost");return this.get_objectData().get_properties()["BaselineCost"]},get_baselineDuration:function(){a:;this.checkUninitializedProperty("BaselineDuration");return this.get_objectData().get_properties()["BaselineDuration"]},get_baselineDurationMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineDurationMilliseconds");return this.get_objectData().get_properties()["BaselineDurationMilliseconds"]},get_baselineFinish:function(){a:;this.checkUninitializedProperty("BaselineFinish");return this.get_objectData().get_properties()["BaselineFinish"]},get_baselineStart:function(){a:;this.checkUninitializedProperty("BaselineStart");return this.get_objectData().get_properties()["BaselineStart"]},get_baselineWork:function(){a:;this.checkUninitializedProperty("BaselineWork");return this.get_objectData().get_properties()["BaselineWork"]},get_baselineWorkMilliseconds:function(){a:;this.checkUninitializedProperty("BaselineWorkMilliseconds");return this.get_objectData().get_properties()["BaselineWorkMilliseconds"]},get_budgetCost:function(){a:;this.checkUninitializedProperty("BudgetCost");return this.get_objectData().get_properties()["BudgetCost"]},get_budgetedCostWorkPerformed:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkPerformed");return this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]},get_budgetedCostWorkScheduled:function(){a:;this.checkUninitializedProperty("BudgetedCostWorkScheduled");return this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]},get_contact:function(){a:;this.checkUninitializedProperty("Contact");return this.get_objectData().get_properties()["Contact"]},get_costPerformanceIndex:function(){a:;this.checkUninitializedProperty("CostPerformanceIndex");return this.get_objectData().get_properties()["CostPerformanceIndex"]},get_costVariance:function(){a:;this.checkUninitializedProperty("CostVariance");return this.get_objectData().get_properties()["CostVariance"]},get_costVarianceAtCompletion:function(){a:;this.checkUninitializedProperty("CostVarianceAtCompletion");return this.get_objectData().get_properties()["CostVarianceAtCompletion"]},get_costVariancePercentage:function(){a:;this.checkUninitializedProperty("CostVariancePercentage");return this.get_objectData().get_properties()["CostVariancePercentage"]},get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},get_currentCostVariance:function(){a:;this.checkUninitializedProperty("CurrentCostVariance");return this.get_objectData().get_properties()["CurrentCostVariance"]},get_customFields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["CustomFields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.CustomFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomFields"));this.get_objectData().get_clientObjectProperties()["CustomFields"]=a}return a},get_durationVariance:function(){a:;this.checkUninitializedProperty("DurationVariance");return this.get_objectData().get_properties()["DurationVariance"]},get_durationVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("DurationVarianceMilliseconds");return this.get_objectData().get_properties()["DurationVarianceMilliseconds"]},get_earliestFinish:function(){a:;this.checkUninitializedProperty("EarliestFinish");return this.get_objectData().get_properties()["EarliestFinish"]},get_earliestStart:function(){a:;this.checkUninitializedProperty("EarliestStart");return this.get_objectData().get_properties()["EarliestStart"]},get_estimateAtCompletion:function(){a:;this.checkUninitializedProperty("EstimateAtCompletion");return this.get_objectData().get_properties()["EstimateAtCompletion"]},get_finishSlack:function(){a:;this.checkUninitializedProperty("FinishSlack");return this.get_objectData().get_properties()["FinishSlack"]},get_finishSlackMilliseconds:function(){a:;this.checkUninitializedProperty("FinishSlackMilliseconds");return this.get_objectData().get_properties()["FinishSlackMilliseconds"]},get_finishVariance:function(){a:;this.checkUninitializedProperty("FinishVariance");return this.get_objectData().get_properties()["FinishVariance"]},get_finishVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("FinishVarianceMilliseconds");return this.get_objectData().get_properties()["FinishVarianceMilliseconds"]},get_fixedCostAccrual:function(){a:;this.checkUninitializedProperty("FixedCostAccrual");return this.get_objectData().get_properties()["FixedCostAccrual"]},get_freeSlack:function(){a:;this.checkUninitializedProperty("FreeSlack");return this.get_objectData().get_properties()["FreeSlack"]},get_freeSlackMilliseconds:function(){a:;this.checkUninitializedProperty("FreeSlackMilliseconds");return this.get_objectData().get_properties()["FreeSlackMilliseconds"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_ignoreResourceCalendar:function(){a:;this.checkUninitializedProperty("IgnoreResourceCalendar");return this.get_objectData().get_properties()["IgnoreResourceCalendar"]},get_isCritical:function(){a:;this.checkUninitializedProperty("IsCritical");return this.get_objectData().get_properties()["IsCritical"]},get_isEffortDriven:function(){a:;this.checkUninitializedProperty("IsEffortDriven");return this.get_objectData().get_properties()["IsEffortDriven"]},get_isExternalTask:function(){a:;this.checkUninitializedProperty("IsExternalTask");return this.get_objectData().get_properties()["IsExternalTask"]},get_isOverAllocated:function(){a:;this.checkUninitializedProperty("IsOverAllocated");return this.get_objectData().get_properties()["IsOverAllocated"]},get_isRecurring:function(){a:;this.checkUninitializedProperty("IsRecurring");return this.get_objectData().get_properties()["IsRecurring"]},get_isRecurringSummary:function(){a:;this.checkUninitializedProperty("IsRecurringSummary");return this.get_objectData().get_properties()["IsRecurringSummary"]},get_isRolledUp:function(){a:;this.checkUninitializedProperty("IsRolledUp");return this.get_objectData().get_properties()["IsRolledUp"]},get_isSubProject:function(){a:;this.checkUninitializedProperty("IsSubProject");return this.get_objectData().get_properties()["IsSubProject"]},get_isSubProjectReadOnly:function(){a:;this.checkUninitializedProperty("IsSubProjectReadOnly");return this.get_objectData().get_properties()["IsSubProjectReadOnly"]},get_isSubProjectScheduledFromFinish:function(){a:;this.checkUninitializedProperty("IsSubProjectScheduledFromFinish");return this.get_objectData().get_properties()["IsSubProjectScheduledFromFinish"]},get_isSummary:function(){a:;this.checkUninitializedProperty("IsSummary");return this.get_objectData().get_properties()["IsSummary"]},get_latestFinish:function(){a:;this.checkUninitializedProperty("LatestFinish");return this.get_objectData().get_properties()["LatestFinish"]},get_latestStart:function(){a:;this.checkUninitializedProperty("LatestStart");return this.get_objectData().get_properties()["LatestStart"]},get_levelingDelay:function(){a:;this.checkUninitializedProperty("LevelingDelay");return this.get_objectData().get_properties()["LevelingDelay"]},get_levelingDelayMilliseconds:function(){a:;this.checkUninitializedProperty("LevelingDelayMilliseconds");return this.get_objectData().get_properties()["LevelingDelayMilliseconds"]},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},get_notes:function(){a:;this.checkUninitializedProperty("Notes");return this.get_objectData().get_properties()["Notes"]},get_outlinePosition:function(){a:;this.checkUninitializedProperty("OutlinePosition");return this.get_objectData().get_properties()["OutlinePosition"]},get_overtimeCost:function(){a:;this.checkUninitializedProperty("OvertimeCost");return this.get_objectData().get_properties()["OvertimeCost"]},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},get_percentWorkComplete:function(){a:;this.checkUninitializedProperty("PercentWorkComplete");return this.get_objectData().get_properties()["PercentWorkComplete"]},get_preLevelingFinish:function(){a:;this.checkUninitializedProperty("PreLevelingFinish");return this.get_objectData().get_properties()["PreLevelingFinish"]},get_preLevelingStart:function(){a:;this.checkUninitializedProperty("PreLevelingStart");return this.get_objectData().get_properties()["PreLevelingStart"]},get_regularWork:function(){a:;this.checkUninitializedProperty("RegularWork");return this.get_objectData().get_properties()["RegularWork"]},get_regularWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RegularWorkMilliseconds");return this.get_objectData().get_properties()["RegularWorkMilliseconds"]},get_remainingCost:function(){a:;this.checkUninitializedProperty("RemainingCost");return this.get_objectData().get_properties()["RemainingCost"]},get_remainingOvertimeCost:function(){a:;this.checkUninitializedProperty("RemainingOvertimeCost");return this.get_objectData().get_properties()["RemainingOvertimeCost"]},get_remainingOvertimeWork:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWork");return this.get_objectData().get_properties()["RemainingOvertimeWork"]},get_remainingOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]},get_remainingWork:function(){a:;this.checkUninitializedProperty("RemainingWork");return this.get_objectData().get_properties()["RemainingWork"]},get_remainingWorkMilliseconds:function(){a:;this.checkUninitializedProperty("RemainingWorkMilliseconds");return this.get_objectData().get_properties()["RemainingWorkMilliseconds"]},get_resume:function(){a:;this.checkUninitializedProperty("Resume");return this.get_objectData().get_properties()["Resume"]},get_scheduleCostVariance:function(){a:;this.checkUninitializedProperty("ScheduleCostVariance");return this.get_objectData().get_properties()["ScheduleCostVariance"]},get_scheduledDuration:function(){a:;this.checkUninitializedProperty("ScheduledDuration");return this.get_objectData().get_properties()["ScheduledDuration"]},get_scheduledDurationMilliseconds:function(){a:;this.checkUninitializedProperty("ScheduledDurationMilliseconds");return this.get_objectData().get_properties()["ScheduledDurationMilliseconds"]},get_scheduledFinish:function(){a:;this.checkUninitializedProperty("ScheduledFinish");return this.get_objectData().get_properties()["ScheduledFinish"]},get_scheduledStart:function(){a:;this.checkUninitializedProperty("ScheduledStart");return this.get_objectData().get_properties()["ScheduledStart"]},get_schedulePerformanceIndex:function(){a:;this.checkUninitializedProperty("SchedulePerformanceIndex");return this.get_objectData().get_properties()["SchedulePerformanceIndex"]},get_scheduleVariancePercentage:function(){a:;this.checkUninitializedProperty("ScheduleVariancePercentage");return this.get_objectData().get_properties()["ScheduleVariancePercentage"]},get_startSlack:function(){a:;this.checkUninitializedProperty("StartSlack");return this.get_objectData().get_properties()["StartSlack"]},get_startSlackMilliseconds:function(){a:;this.checkUninitializedProperty("StartSlackMilliseconds");return this.get_objectData().get_properties()["StartSlackMilliseconds"]},get_startVariance:function(){a:;this.checkUninitializedProperty("StartVariance");return this.get_objectData().get_properties()["StartVariance"]},get_startVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("StartVarianceMilliseconds");return this.get_objectData().get_properties()["StartVarianceMilliseconds"]},get_stop:function(){a:;this.checkUninitializedProperty("Stop");return this.get_objectData().get_properties()["Stop"]},get_subProject:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SubProject"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedProject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SubProject"));this.get_objectData().get_clientObjectProperties()["SubProject"]=a}return a},get_taskType:function(){a:;this.checkUninitializedProperty("TaskType");return this.get_objectData().get_properties()["TaskType"]},get_toCompletePerformanceIndex:function(){a:;this.checkUninitializedProperty("ToCompletePerformanceIndex");return this.get_objectData().get_properties()["ToCompletePerformanceIndex"]},get_totalSlack:function(){a:;this.checkUninitializedProperty("TotalSlack");return this.get_objectData().get_properties()["TotalSlack"]},get_totalSlackMilliseconds:function(){a:;this.checkUninitializedProperty("TotalSlackMilliseconds");return this.get_objectData().get_properties()["TotalSlackMilliseconds"]},get_workBreakdownStructure:function(){a:;this.checkUninitializedProperty("WorkBreakdownStructure");return this.get_objectData().get_properties()["WorkBreakdownStructure"]},get_workVariance:function(){a:;this.checkUninitializedProperty("WorkVariance");return this.get_objectData().get_properties()["WorkVariance"]},get_workVarianceMilliseconds:function(){a:;this.checkUninitializedProperty("WorkVarianceMilliseconds");return this.get_objectData().get_properties()["WorkVarianceMilliseconds"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualCostWorkPerformed"]=a;delete b.ActualCostWorkPerformed}a=b.ActualDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualDuration"]=a;delete b.ActualDuration}a=b.ActualDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualDurationMilliseconds"]=a;delete b.ActualDurationMilliseconds}a=b.ActualOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeCost"]=a;delete b.ActualOvertimeCost}a=b.ActualOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWork"]=a;delete b.ActualOvertimeWork}a=b.ActualOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualOvertimeWorkMilliseconds"]=a;delete b.ActualOvertimeWorkMilliseconds}a=b.BaselineCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineCost"]=a;delete b.BaselineCost}a=b.BaselineDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineDuration"]=a;delete b.BaselineDuration}a=b.BaselineDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineDurationMilliseconds"]=a;delete b.BaselineDurationMilliseconds}a=b.BaselineFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineFinish"]=a;delete b.BaselineFinish}a=b.BaselineStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineStart"]=a;delete b.BaselineStart}a=b.BaselineWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWork"]=a;delete b.BaselineWork}a=b.BaselineWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BaselineWorkMilliseconds"]=a;delete b.BaselineWorkMilliseconds}a=b.BudgetCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetCost"]=a;delete b.BudgetCost}a=b.BudgetedCostWorkPerformed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkPerformed"]=a;delete b.BudgetedCostWorkPerformed}a=b.BudgetedCostWorkScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BudgetedCostWorkScheduled"]=a;delete b.BudgetedCostWorkScheduled}a=b.Contact;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Contact"]=a;delete b.Contact}a=b.CostPerformanceIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostPerformanceIndex"]=a;delete b.CostPerformanceIndex}a=b.CostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariance"]=a;delete b.CostVariance}a=b.CostVarianceAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVarianceAtCompletion"]=a;delete b.CostVarianceAtCompletion}a=b.CostVariancePercentage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CostVariancePercentage"]=a;delete b.CostVariancePercentage}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.CurrentCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentCostVariance"]=a;delete b.CurrentCostVariance}a=b.CustomFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomFields",this.get_customFields(),a);this.get_customFields().fromJson(a);delete b.CustomFields}a=b.DurationVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationVariance"]=a;delete b.DurationVariance}a=b.DurationVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DurationVarianceMilliseconds"]=a;delete b.DurationVarianceMilliseconds}a=b.EarliestFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EarliestFinish"]=a;delete b.EarliestFinish}a=b.EarliestStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EarliestStart"]=a;delete b.EarliestStart}a=b.EstimateAtCompletion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EstimateAtCompletion"]=a;delete b.EstimateAtCompletion}a=b.FinishSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishSlack"]=a;delete b.FinishSlack}a=b.FinishSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishSlackMilliseconds"]=a;delete b.FinishSlackMilliseconds}a=b.FinishVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVariance"]=a;delete b.FinishVariance}a=b.FinishVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FinishVarianceMilliseconds"]=a;delete b.FinishVarianceMilliseconds}a=b.FixedCostAccrual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FixedCostAccrual"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FixedCostAccrual}a=b.FreeSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FreeSlack"]=a;delete b.FreeSlack}a=b.FreeSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FreeSlackMilliseconds"]=a;delete b.FreeSlackMilliseconds}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IgnoreResourceCalendar;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IgnoreResourceCalendar"]=a;delete b.IgnoreResourceCalendar}a=b.IsCritical;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsCritical"]=a;delete b.IsCritical}a=b.IsEffortDriven;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsEffortDriven"]=a;delete b.IsEffortDriven}a=b.IsExternalTask;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsExternalTask"]=a;delete b.IsExternalTask}a=b.IsOverAllocated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOverAllocated"]=a;delete b.IsOverAllocated}a=b.IsRecurring;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRecurring"]=a;delete b.IsRecurring}a=b.IsRecurringSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRecurringSummary"]=a;delete b.IsRecurringSummary}a=b.IsRolledUp;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRolledUp"]=a;delete b.IsRolledUp}a=b.IsSubProject;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSubProject"]=a;delete b.IsSubProject}a=b.IsSubProjectReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSubProjectReadOnly"]=a;delete b.IsSubProjectReadOnly}a=b.IsSubProjectScheduledFromFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSubProjectScheduledFromFinish"]=a;delete b.IsSubProjectScheduledFromFinish}a=b.IsSummary;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSummary"]=a;delete b.IsSummary}a=b.LatestFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LatestFinish"]=a;delete b.LatestFinish}a=b.LatestStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LatestStart"]=a;delete b.LatestStart}a=b.LevelingDelay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelay"]=a;delete b.LevelingDelay}a=b.LevelingDelayMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LevelingDelayMilliseconds"]=a;delete b.LevelingDelayMilliseconds}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Notes"]=a;delete b.Notes}a=b.OutlinePosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OutlinePosition"]=a;delete b.OutlinePosition}a=b.OvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeCost"]=a;delete b.OvertimeCost}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.PercentWorkComplete;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PercentWorkComplete"]=a;delete b.PercentWorkComplete}a=b.PreLevelingFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PreLevelingFinish"]=a;delete b.PreLevelingFinish}a=b.PreLevelingStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PreLevelingStart"]=a;delete b.PreLevelingStart}a=b.RegularWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWork"]=a;delete b.RegularWork}a=b.RegularWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RegularWorkMilliseconds"]=a;delete b.RegularWorkMilliseconds}a=b.RemainingCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingCost"]=a;delete b.RemainingCost}a=b.RemainingOvertimeCost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeCost"]=a;delete b.RemainingOvertimeCost}a=b.RemainingOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWork"]=a;delete b.RemainingOvertimeWork}a=b.RemainingOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingOvertimeWorkMilliseconds"]=a;delete b.RemainingOvertimeWorkMilliseconds}a=b.RemainingWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWork"]=a;delete b.RemainingWork}a=b.RemainingWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RemainingWorkMilliseconds"]=a;delete b.RemainingWorkMilliseconds}a=b.Resume;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Resume"]=a;delete b.Resume}a=b.ScheduleCostVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleCostVariance"]=a;delete b.ScheduleCostVariance}a=b.ScheduledDuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledDuration"]=a;delete b.ScheduledDuration}a=b.ScheduledDurationMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledDurationMilliseconds"]=a;delete b.ScheduledDurationMilliseconds}a=b.ScheduledFinish;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledFinish"]=a;delete b.ScheduledFinish}a=b.ScheduledStart;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduledStart"]=a;delete b.ScheduledStart}a=b.SchedulePerformanceIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SchedulePerformanceIndex"]=a;delete b.SchedulePerformanceIndex}a=b.ScheduleVariancePercentage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScheduleVariancePercentage"]=a;delete b.ScheduleVariancePercentage}a=b.StartSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartSlack"]=a;delete b.StartSlack}a=b.StartSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartSlackMilliseconds"]=a;delete b.StartSlackMilliseconds}a=b.StartVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVariance"]=a;delete b.StartVariance}a=b.StartVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartVarianceMilliseconds"]=a;delete b.StartVarianceMilliseconds}a=b.Stop;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Stop"]=a;delete b.Stop}a=b.SubProject;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SubProject",this.get_subProject(),a);this.get_subProject().fromJson(a);delete b.SubProject}a=b.TaskType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.TaskType}a=b.ToCompletePerformanceIndex;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ToCompletePerformanceIndex"]=a;delete b.ToCompletePerformanceIndex}a=b.TotalSlack;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalSlack"]=a;delete b.TotalSlack}a=b.TotalSlackMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalSlackMilliseconds"]=a;delete b.TotalSlackMilliseconds}a=b.WorkBreakdownStructure;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkBreakdownStructure"]=a;delete b.WorkBreakdownStructure}a=b.WorkVariance;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVariance"]=a;delete b.WorkVariance}a=b.WorkVarianceMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkVarianceMilliseconds"]=a;delete b.WorkVarianceMilliseconds}}};PS.TaskPropertyNames=function(){};PS.TaskObjectPropertyNames=function(){};PS.TaskCreationInformation=function(){a:;PS.TaskCreationInformation.initializeBase(this)};PS.TaskCreationInformation.prototype={$W_1:null,$C_1:null,$4_1:null,$0_1:null,$w_1:false,$1_1:null,$8_1:null,$9_1:null,$3_1:null,$1q_1:null,get_addAfterId:function(){a:;return this.$W_1},set_addAfterId:function(a){a:;this.$W_1=a;return a},get_duration:function(){a:;return this.$C_1},set_duration:function(a){a:;this.$C_1=a;return a},get_finish:function(){a:;return this.$4_1},set_finish:function(a){a:;this.$4_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_isManual:function(){a:;return this.$w_1},set_isManual:function(a){a:;this.$w_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_notes:function(){a:;return this.$8_1},set_notes:function(a){a:;this.$8_1=a;return a},get_parentId:function(){a:;return this.$9_1},set_parentId:function(a){a:;this.$9_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_statusManager:function(){a:;return this.$1q_1},set_statusManager:function(a){a:;this.$1q_1=a;return a},get_typeId:function(){a:;return "{d9571758-4216-4b89-815f-68540fafd74a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AddAfterId","Duration","Finish","Id","IsManual","Name","Notes","ParentId","Start","StatusManager"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AddAfterId;if(!SP.ScriptUtility.isUndefined(a)){this.$W_1=a;delete b.AddAfterId}a=b.Duration;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Duration}a=b.Finish;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Finish}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.IsManual;if(!SP.ScriptUtility.isUndefined(a)){this.$w_1=a;delete b.IsManual}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.Notes;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Notes}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.ParentId}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}a=b.StatusManager;if(!SP.ScriptUtility.isUndefined(a))delete b.StatusManager}};PS.TaskLink=function(b,a){a:;PS.TaskLink.initializeBase(this,[b,a])};PS.TaskLink.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Id;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Id"]=b;delete a.Id}}};PS.TaskLinkPropertyNames=function(){};PS.TaskLinkCreationInformation=function(){a:;PS.TaskLinkCreationInformation.initializeBase(this)};PS.TaskLinkCreationInformation.prototype={$e_1:0,$h_1:null,$0_1:null,$1a_1:null,get_dependencyType:function(){a:;return this.$e_1},set_dependencyType:function(a){a:;this.$e_1=a;return a},get_endId:function(){a:;return this.$h_1},set_endId:function(a){a:;this.$h_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_startId:function(){a:;return this.$1a_1},set_startId:function(a){a:;this.$1a_1=a;return a},get_typeId:function(){a:;return "{735b458f-32e6-4629-a7a5-ecc8451e2fe1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DependencyType","EndId","Id","StartId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DependencyType;if(!SP.ScriptUtility.isUndefined(a)){this.$e_1=SP.DataConvert.fixupType(null,a);delete b.DependencyType}a=b.EndId;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.EndId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.StartId;if(!SP.ScriptUtility.isUndefined(a)){this.$1a_1=a;delete b.StartId}}};PS.TimePhase=function(b,a){a:;PS.TimePhase.initializeBase(this,[b,a])};PS.TimePhase.prototype={get_assignments:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignments"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.StatusAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignments"));this.get_objectData().get_clientObjectProperties()["Assignments"]=a}return a},get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignments",this.get_assignments(),a);this.get_assignments().fromJson(a);delete b.Assignments}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}}};PS.TimePhasePropertyNames=function(){};PS.TimePhaseObjectPropertyNames=function(){};PS.TimeSheet=function(b,a){a:;PS.TimeSheet.initializeBase(this,[b,a])};PS.TimeSheet.prototype={get_comments:function(){a:;this.checkUninitializedProperty("Comments");return this.get_objectData().get_properties()["Comments"]},get_creator:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Creator"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Creator"));this.get_objectData().get_clientObjectProperties()["Creator"]=a}return a},get_entryMode:function(){a:;this.checkUninitializedProperty("EntryMode");return this.get_objectData().get_properties()["EntryMode"]},set_entryMode:function(a){a:;this.get_objectData().get_properties()["EntryMode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EntryMode",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isControlledByOwner:function(){a:;this.checkUninitializedProperty("IsControlledByOwner");return this.get_objectData().get_properties()["IsControlledByOwner"]},set_isControlledByOwner:function(a){a:;this.get_objectData().get_properties()["IsControlledByOwner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsControlledByOwner",a));return a},get_isProcessed:function(){a:;this.checkUninitializedProperty("IsProcessed");return this.get_objectData().get_properties()["IsProcessed"]},set_isProcessed:function(a){a:;this.get_objectData().get_properties()["IsProcessed"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsProcessed",a));return a},get_lines:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Lines"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetLineCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Lines"));this.get_objectData().get_clientObjectProperties()["Lines"]=a}return a},get_manager:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Manager"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Manager"));this.get_objectData().get_clientObjectProperties()["Manager"]=a}return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_period:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Period"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetPeriod(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Period"));this.get_objectData().get_clientObjectProperties()["Period"]=a}return a},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},set_status:function(a){a:;this.get_objectData().get_properties()["Status"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Status",a));return a},get_totalActualWork:function(){a:;this.checkUninitializedProperty("TotalActualWork");return this.get_objectData().get_properties()["TotalActualWork"]},set_totalActualWork:function(a){a:;this.get_objectData().get_properties()["TotalActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalActualWork",a));return a},get_totalActualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalActualWorkMilliseconds");return this.get_objectData().get_properties()["TotalActualWorkMilliseconds"]},set_totalActualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalActualWorkMilliseconds",a));return a},get_totalNonBillableOvertimeWork:function(){a:;this.checkUninitializedProperty("TotalNonBillableOvertimeWork");return this.get_objectData().get_properties()["TotalNonBillableOvertimeWork"]},set_totalNonBillableOvertimeWork:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableOvertimeWork",a));return a},get_totalNonBillableOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalNonBillableOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["TotalNonBillableOvertimeWorkMilliseconds"]},set_totalNonBillableOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableOvertimeWorkMilliseconds",a));return a},get_totalNonBillableWork:function(){a:;this.checkUninitializedProperty("TotalNonBillableWork");return this.get_objectData().get_properties()["TotalNonBillableWork"]},set_totalNonBillableWork:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableWork",a));return a},get_totalNonBillableWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalNonBillableWorkMilliseconds");return this.get_objectData().get_properties()["TotalNonBillableWorkMilliseconds"]},set_totalNonBillableWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalNonBillableWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalNonBillableWorkMilliseconds",a));return a},get_totalOvertimeWork:function(){a:;this.checkUninitializedProperty("TotalOvertimeWork");return this.get_objectData().get_properties()["TotalOvertimeWork"]},set_totalOvertimeWork:function(a){a:;this.get_objectData().get_properties()["TotalOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalOvertimeWork",a));return a},get_totalOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["TotalOvertimeWorkMilliseconds"]},set_totalOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalOvertimeWorkMilliseconds",a));return a},get_totalWork:function(){a:;this.checkUninitializedProperty("TotalWork");return this.get_objectData().get_properties()["TotalWork"]},set_totalWork:function(a){a:;this.get_objectData().get_properties()["TotalWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalWork",a));return a},get_totalWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalWorkMilliseconds");return this.get_objectData().get_properties()["TotalWorkMilliseconds"]},set_totalWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["TotalWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalWorkMilliseconds",a));return a},get_weekStartsOn:function(){a:;this.checkUninitializedProperty("WeekStartsOn");return this.get_objectData().get_properties()["WeekStartsOn"]},set_weekStartsOn:function(a){a:;this.get_objectData().get_properties()["WeekStartsOn"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WeekStartsOn",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Comments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comments"]=a;delete b.Comments}a=b.Creator;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Creator",this.get_creator(),a);this.get_creator().fromJson(a);delete b.Creator}a=b.EntryMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EntryMode"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.EntryMode}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsControlledByOwner;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsControlledByOwner"]=a;delete b.IsControlledByOwner}a=b.IsProcessed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsProcessed"]=a;delete b.IsProcessed}a=b.Lines;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Lines",this.get_lines(),a);this.get_lines().fromJson(a);delete b.Lines}a=b.Manager;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Manager",this.get_manager(),a);this.get_manager().fromJson(a);delete b.Manager}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Period;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Period",this.get_period(),a);this.get_period().fromJson(a);delete b.Period}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.TotalActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalActualWork"]=a;delete b.TotalActualWork}a=b.TotalActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalActualWorkMilliseconds"]=a;delete b.TotalActualWorkMilliseconds}a=b.TotalNonBillableOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableOvertimeWork"]=a;delete b.TotalNonBillableOvertimeWork}a=b.TotalNonBillableOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableOvertimeWorkMilliseconds"]=a;delete b.TotalNonBillableOvertimeWorkMilliseconds}a=b.TotalNonBillableWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableWork"]=a;delete b.TotalNonBillableWork}a=b.TotalNonBillableWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalNonBillableWorkMilliseconds"]=a;delete b.TotalNonBillableWorkMilliseconds}a=b.TotalOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalOvertimeWork"]=a;delete b.TotalOvertimeWork}a=b.TotalOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalOvertimeWorkMilliseconds"]=a;delete b.TotalOvertimeWorkMilliseconds}a=b.TotalWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWork"]=a;delete b.TotalWork}a=b.TotalWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWorkMilliseconds"]=a;delete b.TotalWorkMilliseconds}a=b.WeekStartsOn;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WeekStartsOn"]=a;delete b.WeekStartsOn}},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b);this.refreshLoad()},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},submit:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Submit",[a]);b.addQuery(c)},recall:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Recall",null);a.addQuery(b)}};PS.TimeSheetPropertyNames=function(){};PS.TimeSheetObjectPropertyNames=function(){};PS.TimeSheetLine=function(b,a){a:;PS.TimeSheetLine.initializeBase(this,[b,a])};PS.TimeSheetLine.prototype={get_assignment:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Assignment"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.PublishedAssignment(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Assignment"));this.get_objectData().get_clientObjectProperties()["Assignment"]=a}return a},get_comment:function(){a:;this.checkUninitializedProperty("Comment");return this.get_objectData().get_properties()["Comment"]},set_comment:function(a){a:;this.get_objectData().get_properties()["Comment"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Comment",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_lineClass:function(){a:;this.checkUninitializedProperty("LineClass");return this.get_objectData().get_properties()["LineClass"]},set_lineClass:function(a){a:;this.get_objectData().get_properties()["LineClass"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LineClass",a));return a},get_projectName:function(){a:;this.checkUninitializedProperty("ProjectName");return this.get_objectData().get_properties()["ProjectName"]},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},set_status:function(a){a:;this.get_objectData().get_properties()["Status"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Status",a));return a},get_taskName:function(){a:;this.checkUninitializedProperty("TaskName");return this.get_objectData().get_properties()["TaskName"]},get_timeSheet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimeSheet"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeSheet"));this.get_objectData().get_clientObjectProperties()["TimeSheet"]=a}return a},get_totalWork:function(){a:;this.checkUninitializedProperty("TotalWork");return this.get_objectData().get_properties()["TotalWork"]},get_totalWorkMilliseconds:function(){a:;this.checkUninitializedProperty("TotalWorkMilliseconds");return this.get_objectData().get_properties()["TotalWorkMilliseconds"]},get_validationType:function(){a:;this.checkUninitializedProperty("ValidationType");return this.get_objectData().get_properties()["ValidationType"]},get_work:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Work"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheetWorkCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Work"));this.get_objectData().get_clientObjectProperties()["Work"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Assignment;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Assignment",this.get_assignment(),a);this.get_assignment().fromJson(a);delete b.Assignment}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comment"]=a;delete b.Comment}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.LineClass;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LineClass"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LineClass}a=b.ProjectName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProjectName"]=a;delete b.ProjectName}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.TaskName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TaskName"]=a;delete b.TaskName}a=b.TimeSheet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeSheet",this.get_timeSheet(),a);this.get_timeSheet().fromJson(a);delete b.TimeSheet}a=b.TotalWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWork"]=a;delete b.TotalWork}a=b.TotalWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalWorkMilliseconds"]=a;delete b.TotalWorkMilliseconds}a=b.ValidationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ValidationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ValidationType}a=b.Work;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Work",this.get_work(),a);this.get_work().fromJson(a);delete b.Work}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},submit:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Submit",[a]);b.addQuery(c)}};PS.TimeSheetLinePropertyNames=function(){};PS.TimeSheetLineObjectPropertyNames=function(){};PS.TimeSheetLineCollection=function(b,a){a:;PS.TimeSheetLineCollection.initializeBase(this,[b,a])};PS.TimeSheetLineCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.TimeSheetLine},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetLine(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetLine(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(d){a:;var b=this.get_context(),a;a=new PS.TimeSheetLine(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.TimeSheetLineCreationInformation=function(){a:;PS.TimeSheetLineCreationInformation.initializeBase(this)};PS.TimeSheetLineCreationInformation.prototype={$Y_1:null,$7_1:null,$0_1:null,$11_1:0,$H_1:null,$1e_1:null,get_assignmentId:function(){a:;return this.$Y_1},set_assignmentId:function(a){a:;this.$Y_1=a;return a},get_comment:function(){a:;return this.$7_1},set_comment:function(a){a:;this.$7_1=a;return a},get_id:function(){a:;return this.$0_1},set_id:function(a){a:;this.$0_1=a;return a},get_lineClass:function(){a:;return this.$11_1},set_lineClass:function(a){a:;this.$11_1=a;return a},get_projectId:function(){a:;return this.$H_1},set_projectId:function(a){a:;this.$H_1=a;return a},get_taskName:function(){a:;return this.$1e_1},set_taskName:function(a){a:;this.$1e_1=a;return a},get_typeId:function(){a:;return "{dbbd87af-f81d-413f-9899-957de504618a}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AssignmentId","Comment","Id","LineClass","ProjectId","TaskName"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssignmentId;if(!SP.ScriptUtility.isUndefined(a)){this.$Y_1=a;delete b.AssignmentId}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Comment}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Id}a=b.LineClass;if(!SP.ScriptUtility.isUndefined(a)){this.$11_1=SP.DataConvert.fixupType(null,a);delete b.LineClass}a=b.ProjectId;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.ProjectId}a=b.TaskName;if(!SP.ScriptUtility.isUndefined(a)){this.$1e_1=a;delete b.TaskName}}};PS.TimeSheetPeriod=function(b,a){a:;PS.TimeSheetPeriod.initializeBase(this,[b,a])};PS.TimeSheetPeriod.prototype={get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},get_timeSheet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TimeSheet"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.TimeSheet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeSheet"));this.get_objectData().get_clientObjectProperties()["TimeSheet"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}a=b.TimeSheet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeSheet",this.get_timeSheet(),a);this.get_timeSheet().fromJson(a);delete b.TimeSheet}},createTimeSheet:function(){a:;var a=this.get_context(),b;b=new PS.TimeSheet(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateTimeSheet",null));return b}};PS.TimeSheetPeriodPropertyNames=function(){};PS.TimeSheetPeriodObjectPropertyNames=function(){};PS.TimeSheetPeriodCollection=function(b,a){a:;PS.TimeSheetPeriodCollection.initializeBase(this,[b,a])};PS.TimeSheetPeriodCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.TimeSheetPeriod},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetPeriod(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByGuid:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetByGuid"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetByGuid"]=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetPeriod(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByGuid",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a}};PS.TimeSheetWork=function(b,a){a:;PS.TimeSheetWork.initializeBase(this,[b,a])};PS.TimeSheetWork.prototype={get_actualWork:function(){a:;this.checkUninitializedProperty("ActualWork");return this.get_objectData().get_properties()["ActualWork"]},set_actualWork:function(a){a:;this.get_objectData().get_properties()["ActualWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWork",a));return a},get_actualWorkMilliseconds:function(){a:;this.checkUninitializedProperty("ActualWorkMilliseconds");return this.get_objectData().get_properties()["ActualWorkMilliseconds"]},set_actualWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActualWorkMilliseconds",a));return a},get_comment:function(){a:;this.checkUninitializedProperty("Comment");return this.get_objectData().get_properties()["Comment"]},set_comment:function(a){a:;this.get_objectData().get_properties()["Comment"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Comment",a));return a},get_end:function(){a:;this.checkUninitializedProperty("End");return this.get_objectData().get_properties()["End"]},set_end:function(a){a:;this.get_objectData().get_properties()["End"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"End",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_nonBillableOvertimeWork:function(){a:;this.checkUninitializedProperty("NonBillableOvertimeWork");return this.get_objectData().get_properties()["NonBillableOvertimeWork"]},set_nonBillableOvertimeWork:function(a){a:;this.get_objectData().get_properties()["NonBillableOvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableOvertimeWork",a));return a},get_nonBillableOvertimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("NonBillableOvertimeWorkMilliseconds");return this.get_objectData().get_properties()["NonBillableOvertimeWorkMilliseconds"]},set_nonBillableOvertimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["NonBillableOvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableOvertimeWorkMilliseconds",a));return a},get_nonBillableWork:function(){a:;this.checkUninitializedProperty("NonBillableWork");return this.get_objectData().get_properties()["NonBillableWork"]},set_nonBillableWork:function(a){a:;this.get_objectData().get_properties()["NonBillableWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableWork",a));return a},get_nonBillableWorkMilliseconds:function(){a:;this.checkUninitializedProperty("NonBillableWorkMilliseconds");return this.get_objectData().get_properties()["NonBillableWorkMilliseconds"]},set_nonBillableWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["NonBillableWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NonBillableWorkMilliseconds",a));return a},get_overtimeWork:function(){a:;this.checkUninitializedProperty("OvertimeWork");return this.get_objectData().get_properties()["OvertimeWork"]},set_overtimeWork:function(a){a:;this.get_objectData().get_properties()["OvertimeWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWork",a));return a},get_overtimeWorkMilliseconds:function(){a:;this.checkUninitializedProperty("OvertimeWorkMilliseconds");return this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]},set_overtimeWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OvertimeWorkMilliseconds",a));return a},get_plannedWork:function(){a:;this.checkUninitializedProperty("PlannedWork");return this.get_objectData().get_properties()["PlannedWork"]},set_plannedWork:function(a){a:;this.get_objectData().get_properties()["PlannedWork"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PlannedWork",a));return a},get_plannedWorkMilliseconds:function(){a:;this.checkUninitializedProperty("PlannedWorkMilliseconds");return this.get_objectData().get_properties()["PlannedWorkMilliseconds"]},set_plannedWorkMilliseconds:function(a){a:;this.get_objectData().get_properties()["PlannedWorkMilliseconds"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PlannedWorkMilliseconds",a));return a},get_start:function(){a:;this.checkUninitializedProperty("Start");return this.get_objectData().get_properties()["Start"]},set_start:function(a){a:;this.get_objectData().get_properties()["Start"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Start",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWork"]=a;delete b.ActualWork}a=b.ActualWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ActualWorkMilliseconds"]=a;delete b.ActualWorkMilliseconds}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Comment"]=a;delete b.Comment}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["End"]=a;delete b.End}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.NonBillableOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableOvertimeWork"]=a;delete b.NonBillableOvertimeWork}a=b.NonBillableOvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableOvertimeWorkMilliseconds"]=a;delete b.NonBillableOvertimeWorkMilliseconds}a=b.NonBillableWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableWork"]=a;delete b.NonBillableWork}a=b.NonBillableWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["NonBillableWorkMilliseconds"]=a;delete b.NonBillableWorkMilliseconds}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWork"]=a;delete b.OvertimeWork}a=b.OvertimeWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OvertimeWorkMilliseconds"]=a;delete b.OvertimeWorkMilliseconds}a=b.PlannedWork;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PlannedWork"]=a;delete b.PlannedWork}a=b.PlannedWorkMilliseconds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PlannedWorkMilliseconds"]=a;delete b.PlannedWorkMilliseconds}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Start"]=a;delete b.Start}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};PS.TimeSheetWorkPropertyNames=function(){};PS.TimeSheetWorkCollection=function(b,a){a:;PS.TimeSheetWorkCollection.initializeBase(this,[b,a])};PS.TimeSheetWorkCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.TimeSheetWork},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.TimeSheetWork(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getByStartDate:function(c){a:;var a=this.get_context(),b;b=new PS.TimeSheetWork(a,new SP.ObjectPathMethod(a,this.get_path(),"GetByStartDate",[c]));return b},add:function(d){a:;var b=this.get_context(),a;a=new PS.TimeSheetWork(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a},remove:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.removeChild(d);return a}};PS.TimeSheetWorkCreationInformation=function(){a:;PS.TimeSheetWorkCreationInformation.initializeBase(this)};PS.TimeSheetWorkCreationInformation.prototype={$V_1:null,$7_1:null,$D_1:null,$15_1:null,$16_1:null,$19_1:null,$1B_1:null,$3_1:null,get_actualWork:function(){a:;return this.$V_1},set_actualWork:function(a){a:;this.$V_1=a;return a},get_comment:function(){a:;return this.$7_1},set_comment:function(a){a:;this.$7_1=a;return a},get_end:function(){a:;return this.$D_1},set_end:function(a){a:;this.$D_1=a;return a},get_nonBillableOvertimeWork:function(){a:;return this.$15_1},set_nonBillableOvertimeWork:function(a){a:;this.$15_1=a;return a},get_nonBillableWork:function(){a:;return this.$16_1},set_nonBillableWork:function(a){a:;this.$16_1=a;return a},get_overtimeWork:function(){a:;return this.$19_1},set_overtimeWork:function(a){a:;this.$19_1=a;return a},get_plannedWork:function(){a:;return this.$1B_1},set_plannedWork:function(a){a:;this.$1B_1=a;return a},get_start:function(){a:;return this.$3_1},set_start:function(a){a:;this.$3_1=a;return a},get_typeId:function(){a:;return "{af30dddc-cd0d-4c2f-a6cd-9b725e6d70d2}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ActualWork","Comment","End","NonBillableOvertimeWork","NonBillableWork","OvertimeWork","PlannedWork","Start"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActualWork;if(!SP.ScriptUtility.isUndefined(a)){this.$V_1=a;delete b.ActualWork}a=b.Comment;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Comment}a=b.End;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.End}a=b.NonBillableOvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.$15_1=a;delete b.NonBillableOvertimeWork}a=b.NonBillableWork;if(!SP.ScriptUtility.isUndefined(a)){this.$16_1=a;delete b.NonBillableWork}a=b.OvertimeWork;if(!SP.ScriptUtility.isUndefined(a)){this.$19_1=a;delete b.OvertimeWork}a=b.PlannedWork;if(!SP.ScriptUtility.isUndefined(a)){this.$1B_1=a;delete b.PlannedWork}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Start}}};PS.WorkflowActivities=function(b,a){a:;PS.WorkflowActivities.initializeBase(this,[b,a])};PS.WorkflowActivities.prototype={createProjectFromListItem:function(g,e,d,f){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateProjectFromListItem",[g,e,d,f]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateIdeaListItemStatus:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"UpdateIdeaListItemStatus",[a,b]);c.addQuery(d)},readCurrencyProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadCurrencyProperty",[e,d]);b.addQuery(c);a=new SP.DoubleResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readDateTimeProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadDateTimeProperty",[e,d]);b.addQuery(c);a=new SP.DateTimeResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readIntegerProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadIntegerProperty",[e,d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readBooleanProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadBooleanProperty",[e,d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readNumberProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadNumberProperty",[e,d]);b.addQuery(c);a=new SP.DoubleResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readTextProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadTextProperty",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readGuidProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadGuidProperty",[e,d]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readProjectProperty:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadProjectProperty",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateCurrencyProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateCurrencyProperty",[b,a,c]);d.addQuery(e)},updateDateTimeProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateDateTimeProperty",[b,a,c]);d.addQuery(e)},updateIntegerProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateIntegerProperty",[b,a,c]);d.addQuery(e)},updateBooleanProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateBooleanProperty",[b,a,c]);d.addQuery(e)},updateNumberProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateNumberProperty",[b,a,c]);d.addQuery(e)},updateTextProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateTextProperty",[b,a,c]);d.addQuery(e)},updateGuidProperty:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateGuidProperty",[b,a,c]);d.addQuery(e)},updateProjectStageStatus:function(c,d,a,b,e){a:;var f=this.get_context(),g=new SP.ClientActionInvokeMethod(this,"UpdateProjectStageStatus",[c,d,a,b,e]);f.addQuery(g)},enterProjectStage:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"EnterProjectStage",[a,b]);c.addQuery(d)},readyToLeaveProjectStage:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ReadyToLeaveProjectStage",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},leaveProjectStage:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"LeaveProjectStage",[a]);b.addQuery(c)}};PS.WorkflowDesigner=function(b,a){a:;PS.WorkflowDesigner.initializeBase(this,[b,a])};PS.WorkflowDesigner.prototype={get_fields:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Fields"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.WorkflowDesignerFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Fields"));this.get_objectData().get_clientObjectProperties()["Fields"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Fields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Fields",this.get_fields(),a);this.get_fields().fromJson(a);delete b.Fields}}};PS.WorkflowDesignerObjectPropertyNames=function(){};PS.WorkflowDesignerField=function(b,a){a:;PS.WorkflowDesignerField.initializeBase(this,[b,a])};PS.WorkflowDesignerField.prototype={get_displayName:function(){a:;this.checkUninitializedProperty("DisplayName");return this.get_objectData().get_properties()["DisplayName"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isLookupField:function(){a:;this.checkUninitializedProperty("IsLookupField");return this.get_objectData().get_properties()["IsLookupField"]},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties()["IsReadOnly"]},get_lookupEntries:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["LookupEntries"];if(SP.ScriptUtility.isUndefined(a)){a=new PS.LookupEntryCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupEntries"));this.get_objectData().get_clientObjectProperties()["LookupEntries"]=a}return a},get_spFieldType:function(){a:;this.checkUninitializedProperty("SPFieldType");return this.get_objectData().get_properties()["SPFieldType"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DisplayName"]=a;delete b.DisplayName}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsLookupField;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsLookupField"]=a;delete b.IsLookupField}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReadOnly"]=a;delete b.IsReadOnly}a=b.LookupEntries;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupEntries",this.get_lookupEntries(),a);this.get_lookupEntries().fromJson(a);delete b.LookupEntries}a=b.SPFieldType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SPFieldType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.SPFieldType}}};PS.WorkflowDesignerFieldPropertyNames=function(){};PS.WorkflowDesignerFieldObjectPropertyNames=function(){};PS.WorkflowDesignerFieldCollection=function(b,a){a:;PS.WorkflowDesignerFieldCollection.initializeBase(this,[b,a])};PS.WorkflowDesignerFieldCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return PS.WorkflowDesignerField},getById:function(d){a:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects()["GetById"]=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new PS.WorkflowDesignerField(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};PS.ProjectContext.registerClass("PS.ProjectContext",SP.ClientContext);PS.ProjectContext.QueueJobPoll.registerClass("PS.ProjectContext.QueueJobPoll");PS.Assignment.registerClass("PS.Assignment",SP.ClientObject);PS.AssignmentPropertyNames.registerClass("PS.AssignmentPropertyNames");PS.AssignmentObjectPropertyNames.registerClass("PS.AssignmentObjectPropertyNames");PS.AssignmentCreationInformation.registerClass("PS.AssignmentCreationInformation",SP.ClientValueObject);PS.CalendarException.registerClass("PS.CalendarException",SP.ClientObject);PS.BaseCalendarException.registerClass("PS.BaseCalendarException",PS.CalendarException);PS.Calendar.registerClass("PS.Calendar",SP.ClientObject);PS.CalendarPropertyNames.registerClass("PS.CalendarPropertyNames");PS.CalendarObjectPropertyNames.registerClass("PS.CalendarObjectPropertyNames");PS.CalendarCollection.registerClass("PS.CalendarCollection",SP.ClientObjectCollection);PS.CalendarCreationInformation.registerClass("PS.CalendarCreationInformation",SP.ClientValueObject);PS.CalendarExceptionPropertyNames.registerClass("PS.CalendarExceptionPropertyNames");PS.CalendarExceptionObjectPropertyNames.registerClass("PS.CalendarExceptionObjectPropertyNames");PS.CalendarExceptionCollection.registerClass("PS.CalendarExceptionCollection",SP.ClientObjectCollection);PS.CalendarExceptionCreationInformation.registerClass("PS.CalendarExceptionCreationInformation",SP.ClientValueObject);PS.CustomField.registerClass("PS.CustomField",SP.ClientObject);PS.CustomFieldPropertyNames.registerClass("PS.CustomFieldPropertyNames");PS.CustomFieldObjectPropertyNames.registerClass("PS.CustomFieldObjectPropertyNames");PS.CustomFieldCollection.registerClass("PS.CustomFieldCollection",SP.ClientObjectCollection);PS.CustomFieldCreationInformation.registerClass("PS.CustomFieldCreationInformation",SP.ClientValueObject);PS.DeletedPublishedAssignment.registerClass("PS.DeletedPublishedAssignment",SP.ClientObject);PS.DeletedPublishedAssignmentPropertyNames.registerClass("PS.DeletedPublishedAssignmentPropertyNames");PS.DeletedPublishedAssignmentCollection.registerClass("PS.DeletedPublishedAssignmentCollection",SP.ClientObjectCollection);PS.DraftAssignment.registerClass("PS.DraftAssignment",PS.Assignment);PS.DraftAssignmentPropertyNames.registerClass("PS.DraftAssignmentPropertyNames");PS.DraftAssignmentObjectPropertyNames.registerClass("PS.DraftAssignmentObjectPropertyNames");PS.DraftAssignmentCollection.registerClass("PS.DraftAssignmentCollection",SP.ClientObjectCollection);PS.Project.registerClass("PS.Project",SP.ClientObject);PS.DraftProject.registerClass("PS.DraftProject",PS.Project);PS.DraftProjectPropertyNames.registerClass("PS.DraftProjectPropertyNames");PS.DraftProjectObjectPropertyNames.registerClass("PS.DraftProjectObjectPropertyNames");PS.ProjectResource.registerClass("PS.ProjectResource",SP.ClientObject);PS.DraftProjectResource.registerClass("PS.DraftProjectResource",PS.ProjectResource);PS.DraftProjectResourcePropertyNames.registerClass("PS.DraftProjectResourcePropertyNames");PS.DraftProjectResourceObjectPropertyNames.registerClass("PS.DraftProjectResourceObjectPropertyNames");PS.DraftProjectResourceCollection.registerClass("PS.DraftProjectResourceCollection",SP.ClientObjectCollection);PS.Task.registerClass("PS.Task",SP.ClientObject);PS.DraftTask.registerClass("PS.DraftTask",PS.Task);PS.DraftTaskPropertyNames.registerClass("PS.DraftTaskPropertyNames");PS.DraftTaskObjectPropertyNames.registerClass("PS.DraftTaskObjectPropertyNames");PS.DraftTaskCollection.registerClass("PS.DraftTaskCollection",SP.ClientObjectCollection);PS.TaskLink.registerClass("PS.TaskLink",SP.ClientObject);PS.DraftTaskLink.registerClass("PS.DraftTaskLink",PS.TaskLink);PS.DraftTaskLinkPropertyNames.registerClass("PS.DraftTaskLinkPropertyNames");PS.DraftTaskLinkObjectPropertyNames.registerClass("PS.DraftTaskLinkObjectPropertyNames");PS.DraftTaskLinkCollection.registerClass("PS.DraftTaskLinkCollection",SP.ClientObjectCollection);PS.Engagement.registerClass("PS.Engagement",SP.ClientObject);PS.EngagementPropertyNames.registerClass("PS.EngagementPropertyNames");PS.EngagementObjectPropertyNames.registerClass("PS.EngagementObjectPropertyNames");PS.EngagementComment.registerClass("PS.EngagementComment",SP.ClientObject);PS.EngagementCommentPropertyNames.registerClass("PS.EngagementCommentPropertyNames");PS.EngagementCommentObjectPropertyNames.registerClass("PS.EngagementCommentObjectPropertyNames");PS.EngagementCommentCollection.registerClass("PS.EngagementCommentCollection",SP.ClientObjectCollection);PS.EngagementCreationInformation.registerClass("PS.EngagementCreationInformation",SP.ClientValueObject);PS.EngagementSaveConflictException.registerClass("PS.EngagementSaveConflictException",SP.ClientValueObject);PS.EngagementTimephasedPeriod.registerClass("PS.EngagementTimephasedPeriod",SP.ClientObject);PS.EngagementTimephasedPeriodPropertyNames.registerClass("PS.EngagementTimephasedPeriodPropertyNames");PS.EngagementTimephasedPeriodCreationInformation.registerClass("PS.EngagementTimephasedPeriodCreationInformation",SP.ClientValueObject);PS.EnterpriseProjectType.registerClass("PS.EnterpriseProjectType",SP.ClientObject);PS.EnterpriseProjectTypePropertyNames.registerClass("PS.EnterpriseProjectTypePropertyNames");PS.EnterpriseProjectTypeObjectPropertyNames.registerClass("PS.EnterpriseProjectTypeObjectPropertyNames");PS.EnterpriseProjectTypeCollection.registerClass("PS.EnterpriseProjectTypeCollection",SP.ClientObjectCollection);PS.EnterpriseProjectTypeCreationInformation.registerClass("PS.EnterpriseProjectTypeCreationInformation",SP.ClientValueObject);PS.EnterpriseResource.registerClass("PS.EnterpriseResource",SP.ClientObject);PS.EnterpriseResourcePropertyNames.registerClass("PS.EnterpriseResourcePropertyNames");PS.EnterpriseResourceObjectPropertyNames.registerClass("PS.EnterpriseResourceObjectPropertyNames");PS.EnterpriseResourceCollection.registerClass("PS.EnterpriseResourceCollection",SP.ClientObjectCollection);PS.EnterpriseResourceCreationInformation.registerClass("PS.EnterpriseResourceCreationInformation",SP.ClientValueObject);PS.EntityType.registerClass("PS.EntityType",SP.ClientObject);PS.EntityTypePropertyNames.registerClass("PS.EntityTypePropertyNames");PS.EntityTypes.registerClass("PS.EntityTypes",SP.ClientObject);PS.EntityTypesObjectPropertyNames.registerClass("PS.EntityTypesObjectPropertyNames");PS.Event.registerClass("PS.Event",SP.ClientObject);PS.EventPropertyNames.registerClass("PS.EventPropertyNames");PS.EventCollection.registerClass("PS.EventCollection",SP.ClientObjectCollection);PS.EventHandler.registerClass("PS.EventHandler",SP.ClientObject);PS.EventHandlerPropertyNames.registerClass("PS.EventHandlerPropertyNames");PS.EventHandlerObjectPropertyNames.registerClass("PS.EventHandlerObjectPropertyNames");PS.EventHandlerCollection.registerClass("PS.EventHandlerCollection",SP.ClientObjectCollection);PS.EventHandlerCreationInformation.registerClass("PS.EventHandlerCreationInformation",SP.ClientValueObject);PS.LookupEntry.registerClass("PS.LookupEntry",SP.ClientObject);PS.LookupCost.registerClass("PS.LookupCost",PS.LookupEntry);PS.LookupCostPropertyNames.registerClass("PS.LookupCostPropertyNames");PS.LookupDate.registerClass("PS.LookupDate",PS.LookupEntry);PS.LookupDatePropertyNames.registerClass("PS.LookupDatePropertyNames");PS.LookupDuration.registerClass("PS.LookupDuration",PS.LookupEntry);PS.LookupDurationPropertyNames.registerClass("PS.LookupDurationPropertyNames");PS.LookupEntryPropertyNames.registerClass("PS.LookupEntryPropertyNames");PS.LookupEntryCollection.registerClass("PS.LookupEntryCollection",SP.ClientObjectCollection);PS.LookupEntryCreationInformation.registerClass("PS.LookupEntryCreationInformation",SP.ClientValueObject);PS.LookupEntryValue.registerClass("PS.LookupEntryValue",SP.ClientValueObject);PS.LookupMask.registerClass("PS.LookupMask",SP.ClientValueObject);PS.LookupNumber.registerClass("PS.LookupNumber",PS.LookupEntry);PS.LookupNumberPropertyNames.registerClass("PS.LookupNumberPropertyNames");PS.LookupTable.registerClass("PS.LookupTable",SP.ClientObject);PS.LookupTablePropertyNames.registerClass("PS.LookupTablePropertyNames");PS.LookupTableObjectPropertyNames.registerClass("PS.LookupTableObjectPropertyNames");PS.LookupTableCollection.registerClass("PS.LookupTableCollection",SP.ClientObjectCollection);PS.LookupTableCreationInformation.registerClass("PS.LookupTableCreationInformation",SP.ClientValueObject);PS.LookupTables.registerClass("PS.LookupTables",SP.ClientObject);PS.LookupText.registerClass("PS.LookupText",PS.LookupEntry);PS.LookupTextPropertyNames.registerClass("PS.LookupTextPropertyNames");PS.LookupTextObjectPropertyNames.registerClass("PS.LookupTextObjectPropertyNames");PS.Phase.registerClass("PS.Phase",SP.ClientObject);PS.PhasePropertyNames.registerClass("PS.PhasePropertyNames");PS.PhaseObjectPropertyNames.registerClass("PS.PhaseObjectPropertyNames");PS.PhaseCollection.registerClass("PS.PhaseCollection",SP.ClientObjectCollection);PS.PhaseCreationInformation.registerClass("PS.PhaseCreationInformation",SP.ClientValueObject);PS.PlanAssignment.registerClass("PS.PlanAssignment",SP.ClientObject);PS.PlanAssignmentPropertyNames.registerClass("PS.PlanAssignmentPropertyNames");PS.PlanAssignmentObjectPropertyNames.registerClass("PS.PlanAssignmentObjectPropertyNames");PS.PlanAssignmentCollection.registerClass("PS.PlanAssignmentCollection",SP.ClientObjectCollection);PS.PlanAssignmentCreationInformation.registerClass("PS.PlanAssignmentCreationInformation",SP.ClientValueObject);PS.PlanAssignmentInterval.registerClass("PS.PlanAssignmentInterval",SP.ClientObject);PS.PlanAssignmentIntervalPropertyNames.registerClass("PS.PlanAssignmentIntervalPropertyNames");PS.PlanAssignmentIntervalCollection.registerClass("PS.PlanAssignmentIntervalCollection",SP.ClientObjectCollection);PS.PlanAssignmentIntervalCreationInformation.registerClass("PS.PlanAssignmentIntervalCreationInformation",SP.ClientValueObject);PS.ProjectPropertyNames.registerClass("PS.ProjectPropertyNames");PS.ProjectObjectPropertyNames.registerClass("PS.ProjectObjectPropertyNames");PS.ProjectCollection.registerClass("PS.ProjectCollection",SP.ClientObjectCollection);PS.ProjectCreationInformation.registerClass("PS.ProjectCreationInformation",SP.ClientValueObject);PS.ProjectDetailPage.registerClass("PS.ProjectDetailPage",SP.ClientObject);PS.ProjectDetailPagePropertyNames.registerClass("PS.ProjectDetailPagePropertyNames");PS.ProjectDetailPageObjectPropertyNames.registerClass("PS.ProjectDetailPageObjectPropertyNames");PS.ProjectDetailPageCollection.registerClass("PS.ProjectDetailPageCollection",SP.ClientObjectCollection);PS.ProjectDetailPageCollectionObjectPropertyNames.registerClass("PS.ProjectDetailPageCollectionObjectPropertyNames");PS.ProjectDetailPageCreationInformation.registerClass("PS.ProjectDetailPageCreationInformation",SP.ClientValueObject);PS.ProjectEngagement.registerClass("PS.ProjectEngagement",PS.Engagement);PS.ProjectEngagementPropertyNames.registerClass("PS.ProjectEngagementPropertyNames");PS.ProjectEngagementCollection.registerClass("PS.ProjectEngagementCollection",SP.ClientObjectCollection);PS.ProjectEngagementComment.registerClass("PS.ProjectEngagementComment",PS.EngagementComment);PS.ProjectEngagementCreationInformation.registerClass("PS.ProjectEngagementCreationInformation",PS.EngagementCreationInformation);PS.ProjectEngagementTimephasedCollection.registerClass("PS.ProjectEngagementTimephasedCollection",SP.ClientObjectCollection);PS.ProjectEngagementTimephasedPeriod.registerClass("PS.ProjectEngagementTimephasedPeriod",PS.EngagementTimephasedPeriod);PS.ProjectResourcePropertyNames.registerClass("PS.ProjectResourcePropertyNames");PS.ProjectResourceObjectPropertyNames.registerClass("PS.ProjectResourceObjectPropertyNames");PS.ProjectResourceCreationInformation.registerClass("PS.ProjectResourceCreationInformation",SP.ClientValueObject);PS.ProjectServer.registerClass("PS.ProjectServer",SP.ClientObject);PS.ProjectServerPropertyNames.registerClass("PS.ProjectServerPropertyNames");PS.ProjectServerObjectPropertyNames.registerClass("PS.ProjectServerObjectPropertyNames");PS.ProjectServerData.registerClass("PS.ProjectServerData",SP.ClientObject);PS.ProjectSummaryTask.registerClass("PS.ProjectSummaryTask",PS.Task);PS.ProjectSummaryTaskPropertyNames.registerClass("PS.ProjectSummaryTaskPropertyNames");PS.PublishedAssignment.registerClass("PS.PublishedAssignment",PS.Assignment);PS.PublishedAssignmentPropertyNames.registerClass("PS.PublishedAssignmentPropertyNames");PS.PublishedAssignmentObjectPropertyNames.registerClass("PS.PublishedAssignmentObjectPropertyNames");PS.PublishedAssignmentCollection.registerClass("PS.PublishedAssignmentCollection",SP.ClientObjectCollection);PS.PublishedProject.registerClass("PS.PublishedProject",PS.Project);PS.PublishedProjectPropertyNames.registerClass("PS.PublishedProjectPropertyNames");PS.PublishedProjectObjectPropertyNames.registerClass("PS.PublishedProjectObjectPropertyNames");PS.PublishedProjectResource.registerClass("PS.PublishedProjectResource",PS.ProjectResource);PS.PublishedProjectResourcePropertyNames.registerClass("PS.PublishedProjectResourcePropertyNames");PS.PublishedProjectResourceObjectPropertyNames.registerClass("PS.PublishedProjectResourceObjectPropertyNames");PS.PublishedProjectResourceCollection.registerClass("PS.PublishedProjectResourceCollection",SP.ClientObjectCollection);PS.PublishedTask.registerClass("PS.PublishedTask",PS.Task);PS.PublishedTaskPropertyNames.registerClass("PS.PublishedTaskPropertyNames");PS.PublishedTaskObjectPropertyNames.registerClass("PS.PublishedTaskObjectPropertyNames");PS.PublishedTaskCollection.registerClass("PS.PublishedTaskCollection",SP.ClientObjectCollection);PS.PublishedTaskLink.registerClass("PS.PublishedTaskLink",PS.TaskLink);PS.PublishedTaskLinkPropertyNames.registerClass("PS.PublishedTaskLinkPropertyNames");PS.PublishedTaskLinkObjectPropertyNames.registerClass("PS.PublishedTaskLinkObjectPropertyNames");PS.PublishedTaskLinkCollection.registerClass("PS.PublishedTaskLinkCollection",SP.ClientObjectCollection);PS.QueueJob.registerClass("PS.QueueJob",SP.ClientObject);PS.QueueJobPropertyNames.registerClass("PS.QueueJobPropertyNames");PS.QueueJobObjectPropertyNames.registerClass("PS.QueueJobObjectPropertyNames");PS.QueueJobCollection.registerClass("PS.QueueJobCollection",SP.ClientObjectCollection);PS.ResourceCalendarException.registerClass("PS.ResourceCalendarException",PS.CalendarException);PS.ResourceEngagement.registerClass("PS.ResourceEngagement",PS.Engagement);PS.ResourceEngagementPropertyNames.registerClass("PS.ResourceEngagementPropertyNames");PS.ResourceEngagementCollection.registerClass("PS.ResourceEngagementCollection",SP.ClientObjectCollection);PS.ResourceEngagementComment.registerClass("PS.ResourceEngagementComment",PS.EngagementComment);PS.ResourceEngagementTimephasedCollection.registerClass("PS.ResourceEngagementTimephasedCollection",SP.ClientObjectCollection);PS.ResourceEngagementTimephasedPeriod.registerClass("PS.ResourceEngagementTimephasedPeriod",PS.EngagementTimephasedPeriod);PS.ResourcePlan.registerClass("PS.ResourcePlan",SP.ClientObject);PS.ResourcePlanPropertyNames.registerClass("PS.ResourcePlanPropertyNames");PS.ResourcePlanObjectPropertyNames.registerClass("PS.ResourcePlanObjectPropertyNames");PS.ServiceStatus.registerClass("PS.ServiceStatus",SP.ClientObject);PS.ServiceStatusPropertyNames.registerClass("PS.ServiceStatusPropertyNames");PS.Stage.registerClass("PS.Stage",SP.ClientObject);PS.StagePropertyNames.registerClass("PS.StagePropertyNames");PS.StageObjectPropertyNames.registerClass("PS.StageObjectPropertyNames");PS.StageCollection.registerClass("PS.StageCollection",SP.ClientObjectCollection);PS.StageCreationInformation.registerClass("PS.StageCreationInformation",SP.ClientValueObject);PS.StageCustomField.registerClass("PS.StageCustomField",SP.ClientObject);PS.StageCustomFieldPropertyNames.registerClass("PS.StageCustomFieldPropertyNames");PS.StageCustomFieldObjectPropertyNames.registerClass("PS.StageCustomFieldObjectPropertyNames");PS.StageCustomFieldCollection.registerClass("PS.StageCustomFieldCollection",SP.ClientObjectCollection);PS.StageCustomFieldCreationInformation.registerClass("PS.StageCustomFieldCreationInformation",SP.ClientValueObject);PS.StageDetailPage.registerClass("PS.StageDetailPage",SP.ClientObject);PS.StageDetailPagePropertyNames.registerClass("PS.StageDetailPagePropertyNames");PS.StageDetailPageObjectPropertyNames.registerClass("PS.StageDetailPageObjectPropertyNames");PS.StageDetailPageCollection.registerClass("PS.StageDetailPageCollection",SP.ClientObjectCollection);PS.StageDetailPageCreationInformation.registerClass("PS.StageDetailPageCreationInformation",SP.ClientValueObject);PS.StatusAssignment.registerClass("PS.StatusAssignment",SP.ClientObject);PS.StatusAssignmentPropertyNames.registerClass("PS.StatusAssignmentPropertyNames");PS.StatusAssignmentObjectPropertyNames.registerClass("PS.StatusAssignmentObjectPropertyNames");PS.StatusAssignmentCollection.registerClass("PS.StatusAssignmentCollection",SP.ClientObjectCollection);PS.StatusAssignmentCreationInformation.registerClass("PS.StatusAssignmentCreationInformation",SP.ClientValueObject);PS.StatusAssignmentHistoryLine.registerClass("PS.StatusAssignmentHistoryLine",SP.ClientObject);PS.StatusAssignmentHistoryLinePropertyNames.registerClass("PS.StatusAssignmentHistoryLinePropertyNames");PS.StatusAssignmentHistoryLineObjectPropertyNames.registerClass("PS.StatusAssignmentHistoryLineObjectPropertyNames");PS.StatusAssignmentHistoryLineCollection.registerClass("PS.StatusAssignmentHistoryLineCollection",SP.ClientObjectCollection);PS.StatusTask.registerClass("PS.StatusTask",SP.ClientObject);PS.StatusTaskPropertyNames.registerClass("PS.StatusTaskPropertyNames");PS.StatusTaskObjectPropertyNames.registerClass("PS.StatusTaskObjectPropertyNames");PS.StatusTaskCreationInformation.registerClass("PS.StatusTaskCreationInformation",SP.ClientValueObject);PS.TaskPropertyNames.registerClass("PS.TaskPropertyNames");PS.TaskObjectPropertyNames.registerClass("PS.TaskObjectPropertyNames");PS.TaskCreationInformation.registerClass("PS.TaskCreationInformation",SP.ClientValueObject);PS.TaskLinkPropertyNames.registerClass("PS.TaskLinkPropertyNames");PS.TaskLinkCreationInformation.registerClass("PS.TaskLinkCreationInformation",SP.ClientValueObject);PS.TimePhase.registerClass("PS.TimePhase",SP.ClientObject);PS.TimePhasePropertyNames.registerClass("PS.TimePhasePropertyNames");PS.TimePhaseObjectPropertyNames.registerClass("PS.TimePhaseObjectPropertyNames");PS.TimeSheet.registerClass("PS.TimeSheet",SP.ClientObject);PS.TimeSheetPropertyNames.registerClass("PS.TimeSheetPropertyNames");PS.TimeSheetObjectPropertyNames.registerClass("PS.TimeSheetObjectPropertyNames");PS.TimeSheetLine.registerClass("PS.TimeSheetLine",SP.ClientObject);PS.TimeSheetLinePropertyNames.registerClass("PS.TimeSheetLinePropertyNames");PS.TimeSheetLineObjectPropertyNames.registerClass("PS.TimeSheetLineObjectPropertyNames");PS.TimeSheetLineCollection.registerClass("PS.TimeSheetLineCollection",SP.ClientObjectCollection);PS.TimeSheetLineCreationInformation.registerClass("PS.TimeSheetLineCreationInformation",SP.ClientValueObject);PS.TimeSheetPeriod.registerClass("PS.TimeSheetPeriod",SP.ClientObject);PS.TimeSheetPeriodPropertyNames.registerClass("PS.TimeSheetPeriodPropertyNames");PS.TimeSheetPeriodObjectPropertyNames.registerClass("PS.TimeSheetPeriodObjectPropertyNames");PS.TimeSheetPeriodCollection.registerClass("PS.TimeSheetPeriodCollection",SP.ClientObjectCollection);PS.TimeSheetWork.registerClass("PS.TimeSheetWork",SP.ClientObject);PS.TimeSheetWorkPropertyNames.registerClass("PS.TimeSheetWorkPropertyNames");PS.TimeSheetWorkCollection.registerClass("PS.TimeSheetWorkCollection",SP.ClientObjectCollection);PS.TimeSheetWorkCreationInformation.registerClass("PS.TimeSheetWorkCreationInformation",SP.ClientValueObject);PS.WorkflowActivities.registerClass("PS.WorkflowActivities",SP.ClientObject);PS.WorkflowDesigner.registerClass("PS.WorkflowDesigner",SP.ClientObject);PS.WorkflowDesignerObjectPropertyNames.registerClass("PS.WorkflowDesignerObjectPropertyNames");PS.WorkflowDesignerField.registerClass("PS.WorkflowDesignerField",SP.ClientObject);PS.WorkflowDesignerFieldPropertyNames.registerClass("PS.WorkflowDesignerFieldPropertyNames");PS.WorkflowDesignerFieldObjectPropertyNames.registerClass("PS.WorkflowDesignerFieldObjectPropertyNames");PS.WorkflowDesignerFieldCollection.registerClass("PS.WorkflowDesignerFieldCollection",SP.ClientObjectCollection);PS.ProjectContext.$1l=null;PS.AssignmentPropertyNames.actualCostWorkPerformed="ActualCostWorkPerformed";PS.AssignmentPropertyNames.actualOvertimeCost="ActualOvertimeCost";PS.AssignmentPropertyNames.baselineCost="BaselineCost";PS.AssignmentPropertyNames.baselineCostPerUse="BaselineCostPerUse";PS.AssignmentPropertyNames.baselineFinish="BaselineFinish";PS.AssignmentPropertyNames.baselineStart="BaselineStart";PS.AssignmentPropertyNames.baselineWork="BaselineWork";PS.AssignmentPropertyNames.baselineWorkMilliseconds="BaselineWorkMilliseconds";PS.AssignmentPropertyNames.budgetedCostWorkPerformed="BudgetedCostWorkPerformed";PS.AssignmentPropertyNames.budgetedCostWorkScheduled="BudgetedCostWorkScheduled";PS.AssignmentPropertyNames.costVariance="CostVariance";PS.AssignmentPropertyNames.costVarianceAtCompletion="CostVarianceAtCompletion";PS.AssignmentPropertyNames.created="Created";PS.AssignmentPropertyNames.currentCostVariance="CurrentCostVariance";PS.AssignmentPropertyNames.delay="Delay";PS.AssignmentPropertyNames.delayMilliseconds="DelayMilliseconds";PS.AssignmentPropertyNames.finish="Finish";PS.AssignmentPropertyNames.finishVariance="FinishVariance";PS.AssignmentPropertyNames.finishVarianceMilliseconds="FinishVarianceMilliseconds";PS.AssignmentPropertyNames.id="Id";PS.AssignmentPropertyNames.isConfirmed="IsConfirmed";PS.AssignmentPropertyNames.isOverAllocated="IsOverAllocated";PS.AssignmentPropertyNames.isPublished="IsPublished";PS.AssignmentPropertyNames.isResponsePending="IsResponsePending";PS.AssignmentPropertyNames.isUpdateNeeded="IsUpdateNeeded";PS.AssignmentPropertyNames.levelingDelay="LevelingDelay";PS.AssignmentPropertyNames.levelingDelayMilliseconds="LevelingDelayMilliseconds";PS.AssignmentPropertyNames.modified="Modified";PS.AssignmentPropertyNames.notes="Notes";PS.AssignmentPropertyNames.overtimeCost="OvertimeCost";PS.AssignmentPropertyNames.remainingCost="RemainingCost";PS.AssignmentPropertyNames.remainingOvertimeCost="RemainingOvertimeCost";PS.AssignmentPropertyNames.resume="Resume";PS.AssignmentPropertyNames.scheduleCostVariance="ScheduleCostVariance";PS.AssignmentPropertyNames.start="Start";PS.AssignmentPropertyNames.startVariance="StartVariance";PS.AssignmentPropertyNames.startVarianceMilliseconds="StartVarianceMilliseconds";PS.AssignmentPropertyNames.stop="Stop";PS.AssignmentPropertyNames.workContourType="WorkContourType";PS.AssignmentPropertyNames.workVariance="WorkVariance";PS.AssignmentPropertyNames.workVarianceMilliseconds="WorkVarianceMilliseconds";PS.AssignmentObjectPropertyNames.customFields="CustomFields";PS.CalendarPropertyNames.created="Created";PS.CalendarPropertyNames.id="Id";PS.CalendarPropertyNames.isStandardCalendar="IsStandardCalendar";PS.CalendarPropertyNames.modified="Modified";PS.CalendarPropertyNames.name="Name";PS.CalendarObjectPropertyNames.baseCalendarExceptions="BaseCalendarExceptions";PS.CalendarExceptionPropertyNames.finish="Finish";PS.CalendarExceptionPropertyNames.id="Id";PS.CalendarExceptionPropertyNames.name="Name";PS.CalendarExceptionPropertyNames.recurrenceDays="RecurrenceDays";PS.CalendarExceptionPropertyNames.recurrenceFrequency="RecurrenceFrequency";PS.CalendarExceptionPropertyNames.recurrenceMonth="RecurrenceMonth";PS.CalendarExceptionPropertyNames.recurrenceMonthDay="RecurrenceMonthDay";PS.CalendarExceptionPropertyNames.recurrenceType="RecurrenceType";PS.CalendarExceptionPropertyNames.recurrenceWeek="RecurrenceWeek";PS.CalendarExceptionPropertyNames.shift1Finish="Shift1Finish";PS.CalendarExceptionPropertyNames.shift1Start="Shift1Start";PS.CalendarExceptionPropertyNames.shift2Finish="Shift2Finish";PS.CalendarExceptionPropertyNames.shift2Start="Shift2Start";PS.CalendarExceptionPropertyNames.shift3Finish="Shift3Finish";PS.CalendarExceptionPropertyNames.shift3Start="Shift3Start";PS.CalendarExceptionPropertyNames.shift4Finish="Shift4Finish";PS.CalendarExceptionPropertyNames.shift4Start="Shift4Start";PS.CalendarExceptionPropertyNames.shift5Finish="Shift5Finish";PS.CalendarExceptionPropertyNames.shift5Start="Shift5Start";PS.CalendarExceptionPropertyNames.start="Start";PS.CalendarExceptionObjectPropertyNames.calendar="Calendar";PS.CustomFieldPropertyNames.appAlternateId="AppAlternateId";PS.CustomFieldPropertyNames.description="Description";PS.CustomFieldPropertyNames.fieldType="FieldType";PS.CustomFieldPropertyNames.formula="Formula";PS.CustomFieldPropertyNames.id="Id";PS.CustomFieldPropertyNames.internalName="InternalName";PS.CustomFieldPropertyNames.isEditableInVisibility="IsEditableInVisibility";PS.CustomFieldPropertyNames.isMultilineText="IsMultilineText";PS.CustomFieldPropertyNames.isRequired="IsRequired";PS.CustomFieldPropertyNames.isWorkflowControlled="IsWorkflowControlled";PS.CustomFieldPropertyNames.lookupAllowMultiSelect="LookupAllowMultiSelect";PS.CustomFieldPropertyNames.lookupDefaultValue="LookupDefaultValue";PS.CustomFieldPropertyNames.name="Name";PS.CustomFieldPropertyNames.rollsDownToAssignments="RollsDownToAssignments";PS.CustomFieldPropertyNames.rollupType="RollupType";PS.CustomFieldObjectPropertyNames.entityType="EntityType";PS.CustomFieldObjectPropertyNames.lookupEntries="LookupEntries";PS.CustomFieldObjectPropertyNames.lookupTable="LookupTable";PS.DeletedPublishedAssignmentPropertyNames.deletedDate="DeletedDate";PS.DeletedPublishedAssignmentPropertyNames.id="Id";PS.DeletedPublishedAssignmentPropertyNames.projectId="ProjectId";PS.DraftAssignmentPropertyNames.actualCost="ActualCost";PS.DraftAssignmentPropertyNames.actualFinish="ActualFinish";PS.DraftAssignmentPropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.DraftAssignmentPropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.DraftAssignmentPropertyNames.actualStart="ActualStart";PS.DraftAssignmentPropertyNames.actualWork="ActualWork";PS.DraftAssignmentPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.DraftAssignmentPropertyNames.budgetedCost="BudgetedCost";PS.DraftAssignmentPropertyNames.budgetedWork="BudgetedWork";PS.DraftAssignmentPropertyNames.budgetedWorkMilliseconds="BudgetedWorkMilliseconds";PS.DraftAssignmentPropertyNames.cost="Cost";PS.DraftAssignmentPropertyNames.defaultBookingType="DefaultBookingType";PS.DraftAssignmentPropertyNames.isLockedByManager="IsLockedByManager";PS.DraftAssignmentPropertyNames.isWorkResource="IsWorkResource";PS.DraftAssignmentPropertyNames.overtimeWork="OvertimeWork";PS.DraftAssignmentPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.DraftAssignmentPropertyNames.percentWorkComplete="PercentWorkComplete";PS.DraftAssignmentPropertyNames.regularWork="RegularWork";PS.DraftAssignmentPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.DraftAssignmentPropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.DraftAssignmentPropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.DraftAssignmentPropertyNames.remainingWork="RemainingWork";PS.DraftAssignmentPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.DraftAssignmentPropertyNames.resourceCapacity="ResourceCapacity";PS.DraftAssignmentPropertyNames.work="Work";PS.DraftAssignmentPropertyNames.workMilliseconds="WorkMilliseconds";PS.DraftAssignmentObjectPropertyNames.owner="Owner";PS.DraftAssignmentObjectPropertyNames.parent="Parent";PS.DraftAssignmentObjectPropertyNames.resource="Resource";PS.DraftAssignmentObjectPropertyNames.task="Task";PS.DraftProjectPropertyNames.currencyCode="CurrencyCode";PS.DraftProjectPropertyNames.currencyDigits="CurrencyDigits";PS.DraftProjectPropertyNames.currencyPosition="CurrencyPosition";PS.DraftProjectPropertyNames.currencySymbol="CurrencySymbol";PS.DraftProjectPropertyNames.currentDate="CurrentDate";PS.DraftProjectPropertyNames.daysPerMonth="DaysPerMonth";PS.DraftProjectPropertyNames.defaultEffortDriven="DefaultEffortDriven";PS.DraftProjectPropertyNames.defaultEstimatedDuration="DefaultEstimatedDuration";PS.DraftProjectPropertyNames.defaultFixedCostAccrual="DefaultFixedCostAccrual";PS.DraftProjectPropertyNames.defaultOvertimeRate="DefaultOvertimeRate";PS.DraftProjectPropertyNames.defaultStandardRate="DefaultStandardRate";PS.DraftProjectPropertyNames.defaultTaskType="DefaultTaskType";PS.DraftProjectPropertyNames.defaultWorkFormat="DefaultWorkFormat";PS.DraftProjectPropertyNames.description="Description";PS.DraftProjectPropertyNames.finishDate="FinishDate";PS.DraftProjectPropertyNames.fiscalYearStartMonth="FiscalYearStartMonth";PS.DraftProjectPropertyNames.minutesPerDay="MinutesPerDay";PS.DraftProjectPropertyNames.minutesPerWeek="MinutesPerWeek";PS.DraftProjectPropertyNames.name="Name";PS.DraftProjectPropertyNames.newTasksAreManual="NewTasksAreManual";PS.DraftProjectPropertyNames.numberFiscalYearFromStart="NumberFiscalYearFromStart";PS.DraftProjectPropertyNames.projectIdentifier="ProjectIdentifier";PS.DraftProjectPropertyNames.protectedActualsSynch="ProtectedActualsSynch";PS.DraftProjectPropertyNames.showEstimatedDurations="ShowEstimatedDurations";PS.DraftProjectPropertyNames.startDate="StartDate";PS.DraftProjectPropertyNames.statusDate="StatusDate";PS.DraftProjectPropertyNames.trackingMode="TrackingMode";PS.DraftProjectPropertyNames.utilizationDate="UtilizationDate";PS.DraftProjectPropertyNames.utilizationType="UtilizationType";PS.DraftProjectPropertyNames.weekStartDay="WeekStartDay";PS.DraftProjectPropertyNames.winprojVersion="WinprojVersion";PS.DraftProjectObjectPropertyNames.assignments="Assignments";PS.DraftProjectObjectPropertyNames.calendar="Calendar";PS.DraftProjectObjectPropertyNames.includeCustomFields="IncludeCustomFields";PS.DraftProjectObjectPropertyNames.owner="Owner";PS.DraftProjectObjectPropertyNames.projectResources="ProjectResources";PS.DraftProjectObjectPropertyNames.taskLinks="TaskLinks";PS.DraftProjectObjectPropertyNames.tasks="Tasks";PS.DraftProjectResourcePropertyNames.canLevel="CanLevel";PS.DraftProjectResourcePropertyNames.code="Code";PS.DraftProjectResourcePropertyNames.costAccrual="CostAccrual";PS.DraftProjectResourcePropertyNames.costCenter="CostCenter";PS.DraftProjectResourcePropertyNames.costPerUse="CostPerUse";PS.DraftProjectResourcePropertyNames.defaultBookingType="DefaultBookingType";PS.DraftProjectResourcePropertyNames.email="Email";PS.DraftProjectResourcePropertyNames.group="Group";PS.DraftProjectResourcePropertyNames.initials="Initials";PS.DraftProjectResourcePropertyNames.materialLabel="MaterialLabel";PS.DraftProjectResourcePropertyNames.maximumCapacity="MaximumCapacity";PS.DraftProjectResourcePropertyNames.name="Name";PS.DraftProjectResourcePropertyNames.overtimeRate="OvertimeRate";PS.DraftProjectResourcePropertyNames.overtimeRateUnits="OvertimeRateUnits";PS.DraftProjectResourcePropertyNames.phonetics="Phonetics";PS.DraftProjectResourcePropertyNames.standardRate="StandardRate";PS.DraftProjectResourcePropertyNames.standardRateUnits="StandardRateUnits";PS.DraftProjectResourceObjectPropertyNames.assignments="Assignments";PS.DraftProjectResourceObjectPropertyNames.defaultAssignmentOwner="DefaultAssignmentOwner";PS.DraftTaskPropertyNames.actualCost="ActualCost";PS.DraftTaskPropertyNames.actualFinish="ActualFinish";PS.DraftTaskPropertyNames.actualStart="ActualStart";PS.DraftTaskPropertyNames.actualWork="ActualWork";PS.DraftTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.DraftTaskPropertyNames.budgetWork="BudgetWork";PS.DraftTaskPropertyNames.budgetWorkMilliseconds="BudgetWorkMilliseconds";PS.DraftTaskPropertyNames.completion="Completion";PS.DraftTaskPropertyNames.constraintStartEnd="ConstraintStartEnd";PS.DraftTaskPropertyNames.constraintType="ConstraintType";PS.DraftTaskPropertyNames.cost="Cost";PS.DraftTaskPropertyNames.deadline="Deadline";PS.DraftTaskPropertyNames.duration="Duration";PS.DraftTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.DraftTaskPropertyNames.finish="Finish";PS.DraftTaskPropertyNames.finishText="FinishText";PS.DraftTaskPropertyNames.fixedCost="FixedCost";PS.DraftTaskPropertyNames.isActive="IsActive";PS.DraftTaskPropertyNames.isLockedByManager="IsLockedByManager";PS.DraftTaskPropertyNames.isManual="IsManual";PS.DraftTaskPropertyNames.isMarked="IsMarked";PS.DraftTaskPropertyNames.isMilestone="IsMilestone";PS.DraftTaskPropertyNames.levelingAdjustsAssignments="LevelingAdjustsAssignments";PS.DraftTaskPropertyNames.levelingCanSplit="LevelingCanSplit";PS.DraftTaskPropertyNames.name="Name";PS.DraftTaskPropertyNames.outlineLevel="OutlineLevel";PS.DraftTaskPropertyNames.percentComplete="PercentComplete";PS.DraftTaskPropertyNames.percentPhysicalWorkComplete="PercentPhysicalWorkComplete";PS.DraftTaskPropertyNames.priority="Priority";PS.DraftTaskPropertyNames.remainingDuration="RemainingDuration";PS.DraftTaskPropertyNames.remainingDurationMilliseconds="RemainingDurationMilliseconds";PS.DraftTaskPropertyNames.start="Start";PS.DraftTaskPropertyNames.startText="StartText";PS.DraftTaskPropertyNames.usePercentPhysicalWorkComplete="UsePercentPhysicalWorkComplete";PS.DraftTaskPropertyNames.work="Work";PS.DraftTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.DraftTaskObjectPropertyNames.assignments="Assignments";PS.DraftTaskObjectPropertyNames.calendar="Calendar";PS.DraftTaskObjectPropertyNames.parent="Parent";PS.DraftTaskObjectPropertyNames.predecessors="Predecessors";PS.DraftTaskObjectPropertyNames.statusManager="StatusManager";PS.DraftTaskObjectPropertyNames.successors="Successors";PS.DraftTaskLinkPropertyNames.dependencyType="DependencyType";PS.DraftTaskLinkObjectPropertyNames.end="End";PS.DraftTaskLinkObjectPropertyNames.start="Start";PS.EngagementPropertyNames.createdDate="CreatedDate";PS.EngagementPropertyNames.description="Description";PS.EngagementPropertyNames.id="Id";PS.EngagementPropertyNames.modified="Modified";PS.EngagementPropertyNames.reviewedDate="ReviewedDate";PS.EngagementPropertyNames.status="Status";PS.EngagementPropertyNames.submittedDate="SubmittedDate";PS.EngagementPropertyNames.timephasedEditsOnly="TimephasedEditsOnly";PS.EngagementObjectPropertyNames.comments="Comments";PS.EngagementObjectPropertyNames.modifiedBy="ModifiedBy";PS.EngagementObjectPropertyNames.project="Project";PS.EngagementObjectPropertyNames.resource="Resource";PS.EngagementObjectPropertyNames.reviewedBy="ReviewedBy";PS.EngagementObjectPropertyNames.submittedBy="SubmittedBy";PS.EngagementCommentPropertyNames.created="Created";PS.EngagementCommentPropertyNames.id="Id";PS.EngagementCommentPropertyNames.message="Message";PS.EngagementCommentObjectPropertyNames.author="Author";PS.EngagementTimephasedPeriodPropertyNames.end="End";PS.EngagementTimephasedPeriodPropertyNames.maxUnits="MaxUnits";PS.EngagementTimephasedPeriodPropertyNames.start="Start";PS.EngagementTimephasedPeriodPropertyNames.work="Work";PS.EngagementTimephasedPeriodPropertyNames.workMilliseconds="WorkMilliseconds";PS.EnterpriseProjectTypePropertyNames.description="Description";PS.EnterpriseProjectTypePropertyNames.id="Id";PS.EnterpriseProjectTypePropertyNames.imageUrl="ImageUrl";PS.EnterpriseProjectTypePropertyNames.isDefault="IsDefault";PS.EnterpriseProjectTypePropertyNames.isManaged="IsManaged";PS.EnterpriseProjectTypePropertyNames.name="Name";PS.EnterpriseProjectTypePropertyNames.order="Order";PS.EnterpriseProjectTypePropertyNames.projectPlanTemplateId="ProjectPlanTemplateId";PS.EnterpriseProjectTypePropertyNames.workflowAssociationId="WorkflowAssociationId";PS.EnterpriseProjectTypePropertyNames.workflowAssociationName="WorkflowAssociationName";PS.EnterpriseProjectTypePropertyNames.workspaceTemplateName="WorkspaceTemplateName";PS.EnterpriseProjectTypeObjectPropertyNames.projectDetailPages="ProjectDetailPages";PS.EnterpriseResourcePropertyNames.canLevel="CanLevel";PS.EnterpriseResourcePropertyNames.code="Code";PS.EnterpriseResourcePropertyNames.costAccrual="CostAccrual";PS.EnterpriseResourcePropertyNames.costCenter="CostCenter";PS.EnterpriseResourcePropertyNames.created="Created";PS.EnterpriseResourcePropertyNames.defaultBookingType="DefaultBookingType";PS.EnterpriseResourcePropertyNames.email="Email";PS.EnterpriseResourcePropertyNames.externalId="ExternalId";PS.EnterpriseResourcePropertyNames.group="Group";PS.EnterpriseResourcePropertyNames.hireDate="HireDate";PS.EnterpriseResourcePropertyNames.id="Id";PS.EnterpriseResourcePropertyNames.initials="Initials";PS.EnterpriseResourcePropertyNames.isActive="IsActive";PS.EnterpriseResourcePropertyNames.isBudget="IsBudget";PS.EnterpriseResourcePropertyNames.isCheckedOut="IsCheckedOut";PS.EnterpriseResourcePropertyNames.isGeneric="IsGeneric";PS.EnterpriseResourcePropertyNames.isTeam="IsTeam";PS.EnterpriseResourcePropertyNames.materialLabel="MaterialLabel";PS.EnterpriseResourcePropertyNames.modified="Modified";PS.EnterpriseResourcePropertyNames.name="Name";PS.EnterpriseResourcePropertyNames.phonetics="Phonetics";PS.EnterpriseResourcePropertyNames.requiresEngagements="RequiresEngagements";PS.EnterpriseResourcePropertyNames.resourceType="ResourceType";PS.EnterpriseResourcePropertyNames.terminationDate="TerminationDate";PS.EnterpriseResourceObjectPropertyNames.assignments="Assignments";PS.EnterpriseResourceObjectPropertyNames.baseCalendar="BaseCalendar";PS.EnterpriseResourceObjectPropertyNames.customFields="CustomFields";PS.EnterpriseResourceObjectPropertyNames.defaultAssignmentOwner="DefaultAssignmentOwner";PS.EnterpriseResourceObjectPropertyNames.engagements="Engagements";PS.EnterpriseResourceObjectPropertyNames.resourceCalendarExceptions="ResourceCalendarExceptions";PS.EnterpriseResourceObjectPropertyNames.timesheetManager="TimesheetManager";PS.EnterpriseResourceObjectPropertyNames.user="User";PS.EntityTypePropertyNames.name="Name";PS.EntityTypePropertyNames.id="ID";PS.EntityTypesObjectPropertyNames.assignmentEntity="AssignmentEntity";PS.EntityTypesObjectPropertyNames.projectEntity="ProjectEntity";PS.EntityTypesObjectPropertyNames.resourceEntity="ResourceEntity";PS.EntityTypesObjectPropertyNames.taskEntity="TaskEntity";PS.EventPropertyNames.eventName="EventName";PS.EventPropertyNames.id="Id";PS.EventPropertyNames.sourceName="SourceName";PS.EventHandlerPropertyNames.assemblyName="AssemblyName";PS.EventHandlerPropertyNames.className="ClassName";PS.EventHandlerPropertyNames.description="Description";PS.EventHandlerPropertyNames.endpointUrl="EndpointUrl";PS.EventHandlerPropertyNames.id="Id";PS.EventHandlerPropertyNames.name="Name";PS.EventHandlerPropertyNames.order="Order";PS.EventHandlerObjectPropertyNames.event="Event";PS.LookupCostPropertyNames.value="Value";PS.LookupDatePropertyNames.value="Value";PS.LookupDurationPropertyNames.value="Value";PS.LookupDurationPropertyNames.valueMilliseconds="ValueMilliseconds";PS.LookupEntryPropertyNames.appAlternateId="AppAlternateId";PS.LookupEntryPropertyNames.description="Description";PS.LookupEntryPropertyNames.fullValue="FullValue";PS.LookupEntryPropertyNames.id="Id";PS.LookupEntryPropertyNames.internalName="InternalName";PS.LookupEntryPropertyNames.sortIndex="SortIndex";PS.LookupNumberPropertyNames.value="Value";PS.LookupTablePropertyNames.appAlternateId="AppAlternateId";PS.LookupTablePropertyNames.fieldType="FieldType";PS.LookupTablePropertyNames.id="Id";PS.LookupTablePropertyNames.masks="Masks";PS.LookupTablePropertyNames.name="Name";PS.LookupTablePropertyNames.sortOrder="SortOrder";PS.LookupTableObjectPropertyNames.entries="Entries";PS.LookupTextPropertyNames.hasChildren="HasChildren";PS.LookupTextPropertyNames.mask="Mask";PS.LookupTextPropertyNames.value="Value";PS.LookupTextObjectPropertyNames.parent="Parent";PS.PhasePropertyNames.description="Description";PS.PhasePropertyNames.id="Id";PS.PhasePropertyNames.name="Name";PS.PhaseObjectPropertyNames.stages="Stages";PS.PlanAssignmentPropertyNames.bookingType="BookingType";PS.PlanAssignmentPropertyNames.canLevel="CanLevel";PS.PlanAssignmentPropertyNames.code="Code";PS.PlanAssignmentPropertyNames.costCenter="CostCenter";PS.PlanAssignmentPropertyNames.email="Email";PS.PlanAssignmentPropertyNames.group="Group";PS.PlanAssignmentPropertyNames.hireDate="HireDate";PS.PlanAssignmentPropertyNames.id="Id";PS.PlanAssignmentPropertyNames.isTeam="IsTeam";PS.PlanAssignmentPropertyNames.name="Name";PS.PlanAssignmentPropertyNames.phonetics="Phonetics";PS.PlanAssignmentPropertyNames.resourceType="ResourceType";PS.PlanAssignmentPropertyNames.terminationDate="TerminationDate";PS.PlanAssignmentObjectPropertyNames.customFields="CustomFields";PS.PlanAssignmentObjectPropertyNames.intervals="Intervals";PS.PlanAssignmentObjectPropertyNames.resource="Resource";PS.PlanAssignmentIntervalPropertyNames.duration="Duration";PS.PlanAssignmentIntervalPropertyNames.durationMilliseconds="DurationMilliseconds";PS.PlanAssignmentIntervalPropertyNames.end="End";PS.PlanAssignmentIntervalPropertyNames.name="Name";PS.PlanAssignmentIntervalPropertyNames.start="Start";PS.ProjectPropertyNames.approvedEnd="ApprovedEnd";PS.ProjectPropertyNames.approvedStart="ApprovedStart";PS.ProjectPropertyNames.calculateActualCosts="CalculateActualCosts";PS.ProjectPropertyNames.calculatesActualCosts="CalculatesActualCosts";PS.ProjectPropertyNames.checkedOutDate="CheckedOutDate";PS.ProjectPropertyNames.checkOutDescription="CheckOutDescription";PS.ProjectPropertyNames.checkOutId="CheckOutId";PS.ProjectPropertyNames.createdDate="CreatedDate";PS.ProjectPropertyNames.criticalSlackLimit="CriticalSlackLimit";PS.ProjectPropertyNames.defaultFinishTime="DefaultFinishTime";PS.ProjectPropertyNames.defaultOvertimeRateUnits="DefaultOvertimeRateUnits";PS.ProjectPropertyNames.defaultStandardRateUnits="DefaultStandardRateUnits";PS.ProjectPropertyNames.defaultStartTime="DefaultStartTime";PS.ProjectPropertyNames.hasMppPendingImport="HasMppPendingImport";PS.ProjectPropertyNames.honorConstraints="HonorConstraints";PS.ProjectPropertyNames.id="Id";PS.ProjectPropertyNames.isCheckedOut="IsCheckedOut";PS.ProjectPropertyNames.lastPublishedDate="LastPublishedDate";PS.ProjectPropertyNames.lastSavedDate="LastSavedDate";PS.ProjectPropertyNames.moveActualIfLater="MoveActualIfLater";PS.ProjectPropertyNames.moveActualToStatus="MoveActualToStatus";PS.ProjectPropertyNames.moveRemainingIfEarlier="MoveRemainingIfEarlier";PS.ProjectPropertyNames.moveRemainingToStatus="MoveRemainingToStatus";PS.ProjectPropertyNames.multipleCriticalPaths="MultipleCriticalPaths";PS.ProjectPropertyNames.optimizerDecision="OptimizerDecision";PS.ProjectPropertyNames.percentComplete="PercentComplete";PS.ProjectPropertyNames.plannerDecision="PlannerDecision";PS.ProjectPropertyNames.projectSiteUrl="ProjectSiteUrl";PS.ProjectPropertyNames.projectType="ProjectType";PS.ProjectPropertyNames.scheduledFromStart="ScheduledFromStart";PS.ProjectPropertyNames.splitInProgress="SplitInProgress";PS.ProjectPropertyNames.spreadActualCostsToStatus="SpreadActualCostsToStatus";PS.ProjectPropertyNames.spreadPercentCompleteToStatus="SpreadPercentCompleteToStatus";PS.ProjectPropertyNames.summaryTaskId="SummaryTaskId";PS.ProjectPropertyNames.taskListId="TaskListId";PS.ProjectObjectPropertyNames.checkedOutBy="CheckedOutBy";PS.ProjectObjectPropertyNames.customFields="CustomFields";PS.ProjectObjectPropertyNames.engagements="Engagements";PS.ProjectObjectPropertyNames.enterpriseProjectType="EnterpriseProjectType";PS.ProjectObjectPropertyNames.phase="Phase";PS.ProjectObjectPropertyNames.projectSummaryTask="ProjectSummaryTask";PS.ProjectObjectPropertyNames.queueJobs="QueueJobs";PS.ProjectObjectPropertyNames.stage="Stage";PS.ProjectDetailPagePropertyNames.id="Id";PS.ProjectDetailPagePropertyNames.name="Name";PS.ProjectDetailPagePropertyNames.pageType="PageType";PS.ProjectDetailPageObjectPropertyNames.item="Item";PS.ProjectDetailPageCollectionObjectPropertyNames.list="List";PS.ProjectEngagementPropertyNames.approvedFinish="ApprovedFinish";PS.ProjectEngagementPropertyNames.approvedMaxUnits="ApprovedMaxUnits";PS.ProjectEngagementPropertyNames.approvedStart="ApprovedStart";PS.ProjectEngagementPropertyNames.approvedWork="ApprovedWork";PS.ProjectEngagementPropertyNames.approvedWorkMilliseconds="ApprovedWorkMilliseconds";PS.ProjectEngagementPropertyNames.hasUnsubmittedChanges="HasUnsubmittedChanges";PS.ProjectEngagementPropertyNames.requestedFinish="RequestedFinish";PS.ProjectEngagementPropertyNames.requestedMaxUnits="RequestedMaxUnits";PS.ProjectEngagementPropertyNames.requestedStart="RequestedStart";PS.ProjectEngagementPropertyNames.requestedWork="RequestedWork";PS.ProjectEngagementPropertyNames.requestedWorkMilliseconds="RequestedWorkMilliseconds";PS.ProjectResourcePropertyNames.actualCost="ActualCost";PS.ProjectResourcePropertyNames.actualCostWorkPerformed="ActualCostWorkPerformed";PS.ProjectResourcePropertyNames.actualCostWorkPerformedMilliseconds="ActualCostWorkPerformedMilliseconds";PS.ProjectResourcePropertyNames.actualOvertimeCost="ActualOvertimeCost";PS.ProjectResourcePropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.ProjectResourcePropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.ProjectResourcePropertyNames.actualWork="ActualWork";PS.ProjectResourcePropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.ProjectResourcePropertyNames.availableFrom="AvailableFrom";PS.ProjectResourcePropertyNames.availableTo="AvailableTo";PS.ProjectResourcePropertyNames.baselineCost="BaselineCost";PS.ProjectResourcePropertyNames.baselineWork="BaselineWork";PS.ProjectResourcePropertyNames.baselineWorkMilliseconds="BaselineWorkMilliseconds";PS.ProjectResourcePropertyNames.budetCostWorkPerformed="BudetCostWorkPerformed";PS.ProjectResourcePropertyNames.budgetedCost="BudgetedCost";PS.ProjectResourcePropertyNames.budgetedCostWorkScheduled="BudgetedCostWorkScheduled";PS.ProjectResourcePropertyNames.budgetedWork="BudgetedWork";PS.ProjectResourcePropertyNames.budgetedWorkMilliseconds="BudgetedWorkMilliseconds";PS.ProjectResourcePropertyNames.cost="Cost";PS.ProjectResourcePropertyNames.costVariance="CostVariance";PS.ProjectResourcePropertyNames.costVarianceAtCompletion="CostVarianceAtCompletion";PS.ProjectResourcePropertyNames.created="Created";PS.ProjectResourcePropertyNames.currentCostVariance="CurrentCostVariance";PS.ProjectResourcePropertyNames.finish="Finish";PS.ProjectResourcePropertyNames.id="Id";PS.ProjectResourcePropertyNames.isBudgeted="IsBudgeted";PS.ProjectResourcePropertyNames.isGenericResource="IsGenericResource";PS.ProjectResourcePropertyNames.isOverAllocated="IsOverAllocated";PS.ProjectResourcePropertyNames.modified="Modified";PS.ProjectResourcePropertyNames.notes="Notes";PS.ProjectResourcePropertyNames.overtimeCost="OvertimeCost";PS.ProjectResourcePropertyNames.overtimeWork="OvertimeWork";PS.ProjectResourcePropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.ProjectResourcePropertyNames.peakWork="PeakWork";PS.ProjectResourcePropertyNames.peakWorkMilliseconds="PeakWorkMilliseconds";PS.ProjectResourcePropertyNames.percentWorkComplete="PercentWorkComplete";PS.ProjectResourcePropertyNames.regularWork="RegularWork";PS.ProjectResourcePropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.ProjectResourcePropertyNames.remainingCost="RemainingCost";PS.ProjectResourcePropertyNames.remainingOvertimeCost="RemainingOvertimeCost";PS.ProjectResourcePropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.ProjectResourcePropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.ProjectResourcePropertyNames.remainingWork="RemainingWork";PS.ProjectResourcePropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.ProjectResourcePropertyNames.scheduleCostVariance="ScheduleCostVariance";PS.ProjectResourcePropertyNames.start="Start";PS.ProjectResourcePropertyNames.work="Work";PS.ProjectResourcePropertyNames.workMilliseconds="WorkMilliseconds";PS.ProjectResourcePropertyNames.workVariance="WorkVariance";PS.ProjectResourcePropertyNames.workVarianceMilliseconds="WorkVarianceMilliseconds";PS.ProjectResourceObjectPropertyNames.customFields="CustomFields";PS.ProjectResourceObjectPropertyNames.enterpriseResource="EnterpriseResource";PS.ProjectServerPropertyNames.engagementsTimephasedPageSize="EngagementsTimephasedPageSize";PS.ProjectServerPropertyNames.enterpriseResourcesPageSize="EnterpriseResourcesPageSize";PS.ProjectServerPropertyNames.isDelegate="IsDelegate";PS.ProjectServerPropertyNames.isReadOnly="IsReadOnly";PS.ProjectServerPropertyNames.projectsPageSize="ProjectsPageSize";PS.ProjectServerObjectPropertyNames.calendars="Calendars";PS.ProjectServerObjectPropertyNames.customFields="CustomFields";PS.ProjectServerObjectPropertyNames.enterpriseProjectTypes="EnterpriseProjectTypes";PS.ProjectServerObjectPropertyNames.enterpriseResources="EnterpriseResources";PS.ProjectServerObjectPropertyNames.entityTypes="EntityTypes";PS.ProjectServerObjectPropertyNames.eventHandlers="EventHandlers";PS.ProjectServerObjectPropertyNames.events="Events";PS.ProjectServerObjectPropertyNames.lookupTables="LookupTables";PS.ProjectServerObjectPropertyNames.phases="Phases";PS.ProjectServerObjectPropertyNames.projectDetailPages="ProjectDetailPages";PS.ProjectServerObjectPropertyNames.projects="Projects";PS.ProjectServerObjectPropertyNames.stages="Stages";PS.ProjectServerObjectPropertyNames.timeSheetPeriods="TimeSheetPeriods";PS.ProjectServerObjectPropertyNames.workflowActivities="WorkflowActivities";PS.ProjectServerObjectPropertyNames.workflowDesigner="WorkflowDesigner";PS.ProjectSummaryTaskPropertyNames.actualCost="ActualCost";PS.ProjectSummaryTaskPropertyNames.actualWork="ActualWork";PS.ProjectSummaryTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.ProjectSummaryTaskPropertyNames.budgetWork="BudgetWork";PS.ProjectSummaryTaskPropertyNames.budgetWorkMilliseconds="BudgetWorkMilliseconds";PS.ProjectSummaryTaskPropertyNames.cost="Cost";PS.ProjectSummaryTaskPropertyNames.duration="Duration";PS.ProjectSummaryTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.ProjectSummaryTaskPropertyNames.finish="Finish";PS.ProjectSummaryTaskPropertyNames.finishText="FinishText";PS.ProjectSummaryTaskPropertyNames.name="Name";PS.ProjectSummaryTaskPropertyNames.percentComplete="PercentComplete";PS.ProjectSummaryTaskPropertyNames.priority="Priority";PS.ProjectSummaryTaskPropertyNames.start="Start";PS.ProjectSummaryTaskPropertyNames.startText="StartText";PS.ProjectSummaryTaskPropertyNames.work="Work";PS.ProjectSummaryTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.PublishedAssignmentPropertyNames.actualCost="ActualCost";PS.PublishedAssignmentPropertyNames.actualFinish="ActualFinish";PS.PublishedAssignmentPropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.PublishedAssignmentPropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.PublishedAssignmentPropertyNames.actualStart="ActualStart";PS.PublishedAssignmentPropertyNames.actualWork="ActualWork";PS.PublishedAssignmentPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.PublishedAssignmentPropertyNames.budgetedCost="BudgetedCost";PS.PublishedAssignmentPropertyNames.budgetedWork="BudgetedWork";PS.PublishedAssignmentPropertyNames.budgetedWorkMilliseconds="BudgetedWorkMilliseconds";PS.PublishedAssignmentPropertyNames.cost="Cost";PS.PublishedAssignmentPropertyNames.defaultBookingType="DefaultBookingType";PS.PublishedAssignmentPropertyNames.isLockedByManager="IsLockedByManager";PS.PublishedAssignmentPropertyNames.isWorkResource="IsWorkResource";PS.PublishedAssignmentPropertyNames.overtimeWork="OvertimeWork";PS.PublishedAssignmentPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.PublishedAssignmentPropertyNames.percentWorkComplete="PercentWorkComplete";PS.PublishedAssignmentPropertyNames.regularWork="RegularWork";PS.PublishedAssignmentPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.PublishedAssignmentPropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.PublishedAssignmentPropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.PublishedAssignmentPropertyNames.remainingWork="RemainingWork";PS.PublishedAssignmentPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.PublishedAssignmentPropertyNames.resourceCapacity="ResourceCapacity";PS.PublishedAssignmentPropertyNames.work="Work";PS.PublishedAssignmentPropertyNames.workMilliseconds="WorkMilliseconds";PS.PublishedAssignmentObjectPropertyNames.owner="Owner";PS.PublishedAssignmentObjectPropertyNames.parent="Parent";PS.PublishedAssignmentObjectPropertyNames.resource="Resource";PS.PublishedAssignmentObjectPropertyNames.task="Task";PS.PublishedProjectPropertyNames.currencyCode="CurrencyCode";PS.PublishedProjectPropertyNames.currencyDigits="CurrencyDigits";PS.PublishedProjectPropertyNames.currencyPosition="CurrencyPosition";PS.PublishedProjectPropertyNames.currencySymbol="CurrencySymbol";PS.PublishedProjectPropertyNames.currentDate="CurrentDate";PS.PublishedProjectPropertyNames.daysPerMonth="DaysPerMonth";PS.PublishedProjectPropertyNames.defaultEffortDriven="DefaultEffortDriven";PS.PublishedProjectPropertyNames.defaultEstimatedDuration="DefaultEstimatedDuration";PS.PublishedProjectPropertyNames.defaultFixedCostAccrual="DefaultFixedCostAccrual";PS.PublishedProjectPropertyNames.defaultOvertimeRate="DefaultOvertimeRate";PS.PublishedProjectPropertyNames.defaultStandardRate="DefaultStandardRate";PS.PublishedProjectPropertyNames.defaultTaskType="DefaultTaskType";PS.PublishedProjectPropertyNames.defaultWorkFormat="DefaultWorkFormat";PS.PublishedProjectPropertyNames.description="Description";PS.PublishedProjectPropertyNames.finishDate="FinishDate";PS.PublishedProjectPropertyNames.fiscalYearStartMonth="FiscalYearStartMonth";PS.PublishedProjectPropertyNames.isEnterpriseProject="IsEnterpriseProject";PS.PublishedProjectPropertyNames.minutesPerDay="MinutesPerDay";PS.PublishedProjectPropertyNames.minutesPerWeek="MinutesPerWeek";PS.PublishedProjectPropertyNames.name="Name";PS.PublishedProjectPropertyNames.newTasksAreManual="NewTasksAreManual";PS.PublishedProjectPropertyNames.numberFiscalYearFromStart="NumberFiscalYearFromStart";PS.PublishedProjectPropertyNames.projectIdentifier="ProjectIdentifier";PS.PublishedProjectPropertyNames.protectedActualsSynch="ProtectedActualsSynch";PS.PublishedProjectPropertyNames.showEstimatedDurations="ShowEstimatedDurations";PS.PublishedProjectPropertyNames.startDate="StartDate";PS.PublishedProjectPropertyNames.statusDate="StatusDate";PS.PublishedProjectPropertyNames.trackingMode="TrackingMode";PS.PublishedProjectPropertyNames.utilizationDate="UtilizationDate";PS.PublishedProjectPropertyNames.utilizationType="UtilizationType";PS.PublishedProjectPropertyNames.weekStartDay="WeekStartDay";PS.PublishedProjectPropertyNames.winprojVersion="WinprojVersion";PS.PublishedProjectObjectPropertyNames.assignments="Assignments";PS.PublishedProjectObjectPropertyNames.calendar="Calendar";PS.PublishedProjectObjectPropertyNames.draft="Draft";PS.PublishedProjectObjectPropertyNames.includeCustomFields="IncludeCustomFields";PS.PublishedProjectObjectPropertyNames.owner="Owner";PS.PublishedProjectObjectPropertyNames.projectResources="ProjectResources";PS.PublishedProjectObjectPropertyNames.taskLinks="TaskLinks";PS.PublishedProjectObjectPropertyNames.tasks="Tasks";PS.PublishedProjectResourcePropertyNames.canLevel="CanLevel";PS.PublishedProjectResourcePropertyNames.code="Code";PS.PublishedProjectResourcePropertyNames.costAccrual="CostAccrual";PS.PublishedProjectResourcePropertyNames.costCenter="CostCenter";PS.PublishedProjectResourcePropertyNames.costPerUse="CostPerUse";PS.PublishedProjectResourcePropertyNames.defaultBookingType="DefaultBookingType";PS.PublishedProjectResourcePropertyNames.email="Email";PS.PublishedProjectResourcePropertyNames.group="Group";PS.PublishedProjectResourcePropertyNames.initials="Initials";PS.PublishedProjectResourcePropertyNames.materialLabel="MaterialLabel";PS.PublishedProjectResourcePropertyNames.maximumCapacity="MaximumCapacity";PS.PublishedProjectResourcePropertyNames.name="Name";PS.PublishedProjectResourcePropertyNames.overtimeRate="OvertimeRate";PS.PublishedProjectResourcePropertyNames.overtimeRateUnits="OvertimeRateUnits";PS.PublishedProjectResourcePropertyNames.phonetics="Phonetics";PS.PublishedProjectResourcePropertyNames.standardRate="StandardRate";PS.PublishedProjectResourcePropertyNames.standardRateUnits="StandardRateUnits";PS.PublishedProjectResourceObjectPropertyNames.assignments="Assignments";PS.PublishedProjectResourceObjectPropertyNames.defaultAssignmentOwner="DefaultAssignmentOwner";PS.PublishedTaskPropertyNames.actualCost="ActualCost";PS.PublishedTaskPropertyNames.actualFinish="ActualFinish";PS.PublishedTaskPropertyNames.actualStart="ActualStart";PS.PublishedTaskPropertyNames.actualWork="ActualWork";PS.PublishedTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.PublishedTaskPropertyNames.budgetWork="BudgetWork";PS.PublishedTaskPropertyNames.budgetWorkMilliseconds="BudgetWorkMilliseconds";PS.PublishedTaskPropertyNames.completion="Completion";PS.PublishedTaskPropertyNames.constraintStartEnd="ConstraintStartEnd";PS.PublishedTaskPropertyNames.constraintType="ConstraintType";PS.PublishedTaskPropertyNames.cost="Cost";PS.PublishedTaskPropertyNames.deadline="Deadline";PS.PublishedTaskPropertyNames.duration="Duration";PS.PublishedTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.PublishedTaskPropertyNames.finish="Finish";PS.PublishedTaskPropertyNames.finishText="FinishText";PS.PublishedTaskPropertyNames.fixedCost="FixedCost";PS.PublishedTaskPropertyNames.isActive="IsActive";PS.PublishedTaskPropertyNames.isLockedByManager="IsLockedByManager";PS.PublishedTaskPropertyNames.isManual="IsManual";PS.PublishedTaskPropertyNames.isMarked="IsMarked";PS.PublishedTaskPropertyNames.isMilestone="IsMilestone";PS.PublishedTaskPropertyNames.levelingAdjustsAssignments="LevelingAdjustsAssignments";PS.PublishedTaskPropertyNames.levelingCanSplit="LevelingCanSplit";PS.PublishedTaskPropertyNames.name="Name";PS.PublishedTaskPropertyNames.outlineLevel="OutlineLevel";PS.PublishedTaskPropertyNames.percentComplete="PercentComplete";PS.PublishedTaskPropertyNames.percentPhysicalWorkComplete="PercentPhysicalWorkComplete";PS.PublishedTaskPropertyNames.priority="Priority";PS.PublishedTaskPropertyNames.remainingDuration="RemainingDuration";PS.PublishedTaskPropertyNames.remainingDurationMilliseconds="RemainingDurationMilliseconds";PS.PublishedTaskPropertyNames.start="Start";PS.PublishedTaskPropertyNames.startText="StartText";PS.PublishedTaskPropertyNames.usePercentPhysicalWorkComplete="UsePercentPhysicalWorkComplete";PS.PublishedTaskPropertyNames.work="Work";PS.PublishedTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.PublishedTaskObjectPropertyNames.assignments="Assignments";PS.PublishedTaskObjectPropertyNames.calendar="Calendar";PS.PublishedTaskObjectPropertyNames.parent="Parent";PS.PublishedTaskObjectPropertyNames.predecessors="Predecessors";PS.PublishedTaskObjectPropertyNames.statusManager="StatusManager";PS.PublishedTaskObjectPropertyNames.successors="Successors";PS.PublishedTaskLinkPropertyNames.dependencyType="DependencyType";PS.PublishedTaskLinkObjectPropertyNames.end="End";PS.PublishedTaskLinkObjectPropertyNames.start="Start";PS.QueueJobPropertyNames.id="Id";PS.QueueJobPropertyNames.jobState="JobState";PS.QueueJobPropertyNames.messageType="MessageType";PS.QueueJobPropertyNames.percentComplete="PercentComplete";PS.QueueJobPropertyNames.waitMilliseconds="WaitMilliseconds";PS.QueueJobObjectPropertyNames.project="Project";PS.QueueJobObjectPropertyNames.submitter="Submitter";PS.ResourceEngagementPropertyNames.approvedFinish="ApprovedFinish";PS.ResourceEngagementPropertyNames.approvedMaxUnits="ApprovedMaxUnits";PS.ResourceEngagementPropertyNames.approvedStart="ApprovedStart";PS.ResourceEngagementPropertyNames.approvedWork="ApprovedWork";PS.ResourceEngagementPropertyNames.approvedWorkMilliseconds="ApprovedWorkMilliseconds";PS.ResourceEngagementPropertyNames.requestedFinish="RequestedFinish";PS.ResourceEngagementPropertyNames.requestedMaxUnits="RequestedMaxUnits";PS.ResourceEngagementPropertyNames.requestedStart="RequestedStart";PS.ResourceEngagementPropertyNames.requestedWork="RequestedWork";PS.ResourceEngagementPropertyNames.requestedWorkMilliseconds="RequestedWorkMilliseconds";PS.ResourcePlanPropertyNames.finish="Finish";PS.ResourcePlanPropertyNames.id="Id";PS.ResourcePlanPropertyNames.start="Start";PS.ResourcePlanPropertyNames.utilizationDate="UtilizationDate";PS.ResourcePlanPropertyNames.utilizationType="UtilizationType";PS.ResourcePlanObjectPropertyNames.assignments="Assignments";PS.ServiceStatusPropertyNames.isDelegate="IsDelegate";PS.ServiceStatusPropertyNames.isReadOnly="IsReadOnly";PS.StagePropertyNames.behavior="Behavior";PS.StagePropertyNames.checkInRequired="CheckInRequired";PS.StagePropertyNames.description="Description";PS.StagePropertyNames.id="Id";PS.StagePropertyNames.name="Name";PS.StagePropertyNames.submitDescription="SubmitDescription";PS.StageObjectPropertyNames.customFields="CustomFields";PS.StageObjectPropertyNames.phase="Phase";PS.StageObjectPropertyNames.projectDetailPages="ProjectDetailPages";PS.StageObjectPropertyNames.workflowStatusPage="WorkflowStatusPage";PS.StageCustomFieldPropertyNames.id="Id";PS.StageCustomFieldPropertyNames.name="Name";PS.StageCustomFieldPropertyNames.readOnly="ReadOnly";PS.StageCustomFieldPropertyNames.required="Required";PS.StageCustomFieldObjectPropertyNames.stage="Stage";PS.StageDetailPagePropertyNames.description="Description";PS.StageDetailPagePropertyNames.id="Id";PS.StageDetailPagePropertyNames.position="Position";PS.StageDetailPagePropertyNames.requiresAttention="RequiresAttention";PS.StageDetailPageObjectPropertyNames.page="Page";PS.StageDetailPageObjectPropertyNames.stage="Stage";PS.StatusAssignmentPropertyNames.actualFinish="ActualFinish";PS.StatusAssignmentPropertyNames.actualOvertime="ActualOvertime";PS.StatusAssignmentPropertyNames.actualOvertimeMilliseconds="ActualOvertimeMilliseconds";PS.StatusAssignmentPropertyNames.actualStart="ActualStart";PS.StatusAssignmentPropertyNames.actualWork="ActualWork";PS.StatusAssignmentPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.StatusAssignmentPropertyNames.approvalStatus="ApprovalStatus";PS.StatusAssignmentPropertyNames.comments="Comments";PS.StatusAssignmentPropertyNames.finish="Finish";PS.StatusAssignmentPropertyNames.id="Id";PS.StatusAssignmentPropertyNames.isConfirmed="IsConfirmed";PS.StatusAssignmentPropertyNames.modified="Modified";PS.StatusAssignmentPropertyNames.name="Name";PS.StatusAssignmentPropertyNames.overtime="Overtime";PS.StatusAssignmentPropertyNames.overtimeMilliseconds="OvertimeMilliseconds";PS.StatusAssignmentPropertyNames.percentComplete="PercentComplete";PS.StatusAssignmentPropertyNames.regularWork="RegularWork";PS.StatusAssignmentPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.StatusAssignmentPropertyNames.remainingOvertime="RemainingOvertime";PS.StatusAssignmentPropertyNames.remainingOvertimeMilliseconds="RemainingOvertimeMilliseconds";PS.StatusAssignmentPropertyNames.remainingWork="RemainingWork";PS.StatusAssignmentPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.StatusAssignmentPropertyNames.start="Start";PS.StatusAssignmentPropertyNames.work="Work";PS.StatusAssignmentPropertyNames.workMilliseconds="WorkMilliseconds";PS.StatusAssignmentObjectPropertyNames.customFields="CustomFields";PS.StatusAssignmentObjectPropertyNames.history="History";PS.StatusAssignmentObjectPropertyNames.project="Project";PS.StatusAssignmentObjectPropertyNames.resource="Resource";PS.StatusAssignmentObjectPropertyNames.task="Task";PS.StatusAssignmentHistoryLinePropertyNames.comment="Comment";PS.StatusAssignmentHistoryLinePropertyNames.decision="Decision";PS.StatusAssignmentHistoryLinePropertyNames.id="Id";PS.StatusAssignmentHistoryLinePropertyNames.submitted="Submitted";PS.StatusAssignmentHistoryLinePropertyNames.updateType="UpdateType";PS.StatusAssignmentHistoryLineObjectPropertyNames.author="Author";PS.StatusTaskPropertyNames.actualWork="ActualWork";PS.StatusTaskPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.StatusTaskPropertyNames.deadline="Deadline";PS.StatusTaskPropertyNames.duration="Duration";PS.StatusTaskPropertyNames.durationMilliseconds="DurationMilliseconds";PS.StatusTaskPropertyNames.finish="Finish";PS.StatusTaskPropertyNames.id="Id";PS.StatusTaskPropertyNames.name="Name";PS.StatusTaskPropertyNames.overtime="Overtime";PS.StatusTaskPropertyNames.overtimeMilliseconds="OvertimeMilliseconds";PS.StatusTaskPropertyNames.percentComplete="PercentComplete";PS.StatusTaskPropertyNames.percentWorkComplete="PercentWorkComplete";PS.StatusTaskPropertyNames.physicalPercentComplete="PhysicalPercentComplete";PS.StatusTaskPropertyNames.projectTaskId="ProjectTaskId";PS.StatusTaskPropertyNames.regularWork="RegularWork";PS.StatusTaskPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.StatusTaskPropertyNames.remainingDuration="RemainingDuration";PS.StatusTaskPropertyNames.remainingDurationMilliseconds="RemainingDurationMilliseconds";PS.StatusTaskPropertyNames.remainingOvertime="RemainingOvertime";PS.StatusTaskPropertyNames.remainingOvertimeMilliseconds="RemainingOvertimeMilliseconds";PS.StatusTaskPropertyNames.remainingWork="RemainingWork";PS.StatusTaskPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.StatusTaskPropertyNames.resume="Resume";PS.StatusTaskPropertyNames.start="Start";PS.StatusTaskPropertyNames.work="Work";PS.StatusTaskPropertyNames.workMilliseconds="WorkMilliseconds";PS.StatusTaskObjectPropertyNames.customFields="CustomFields";PS.StatusTaskObjectPropertyNames.statusManager="StatusManager";PS.TaskPropertyNames.actualCostWorkPerformed="ActualCostWorkPerformed";PS.TaskPropertyNames.actualDuration="ActualDuration";PS.TaskPropertyNames.actualDurationMilliseconds="ActualDurationMilliseconds";PS.TaskPropertyNames.actualOvertimeCost="ActualOvertimeCost";PS.TaskPropertyNames.actualOvertimeWork="ActualOvertimeWork";PS.TaskPropertyNames.actualOvertimeWorkMilliseconds="ActualOvertimeWorkMilliseconds";PS.TaskPropertyNames.baselineCost="BaselineCost";PS.TaskPropertyNames.baselineDuration="BaselineDuration";PS.TaskPropertyNames.baselineDurationMilliseconds="BaselineDurationMilliseconds";PS.TaskPropertyNames.baselineFinish="BaselineFinish";PS.TaskPropertyNames.baselineStart="BaselineStart";PS.TaskPropertyNames.baselineWork="BaselineWork";PS.TaskPropertyNames.baselineWorkMilliseconds="BaselineWorkMilliseconds";PS.TaskPropertyNames.budgetCost="BudgetCost";PS.TaskPropertyNames.budgetedCostWorkPerformed="BudgetedCostWorkPerformed";PS.TaskPropertyNames.budgetedCostWorkScheduled="BudgetedCostWorkScheduled";PS.TaskPropertyNames.contact="Contact";PS.TaskPropertyNames.costPerformanceIndex="CostPerformanceIndex";PS.TaskPropertyNames.costVariance="CostVariance";PS.TaskPropertyNames.costVarianceAtCompletion="CostVarianceAtCompletion";PS.TaskPropertyNames.costVariancePercentage="CostVariancePercentage";PS.TaskPropertyNames.created="Created";PS.TaskPropertyNames.currentCostVariance="CurrentCostVariance";PS.TaskPropertyNames.durationVariance="DurationVariance";PS.TaskPropertyNames.durationVarianceMilliseconds="DurationVarianceMilliseconds";PS.TaskPropertyNames.earliestFinish="EarliestFinish";PS.TaskPropertyNames.earliestStart="EarliestStart";PS.TaskPropertyNames.estimateAtCompletion="EstimateAtCompletion";PS.TaskPropertyNames.finishSlack="FinishSlack";PS.TaskPropertyNames.finishSlackMilliseconds="FinishSlackMilliseconds";PS.TaskPropertyNames.finishVariance="FinishVariance";PS.TaskPropertyNames.finishVarianceMilliseconds="FinishVarianceMilliseconds";PS.TaskPropertyNames.fixedCostAccrual="FixedCostAccrual";PS.TaskPropertyNames.freeSlack="FreeSlack";PS.TaskPropertyNames.freeSlackMilliseconds="FreeSlackMilliseconds";PS.TaskPropertyNames.id="Id";PS.TaskPropertyNames.ignoreResourceCalendar="IgnoreResourceCalendar";PS.TaskPropertyNames.isCritical="IsCritical";PS.TaskPropertyNames.isEffortDriven="IsEffortDriven";PS.TaskPropertyNames.isExternalTask="IsExternalTask";PS.TaskPropertyNames.isOverAllocated="IsOverAllocated";PS.TaskPropertyNames.isRecurring="IsRecurring";PS.TaskPropertyNames.isRecurringSummary="IsRecurringSummary";PS.TaskPropertyNames.isRolledUp="IsRolledUp";PS.TaskPropertyNames.isSubProject="IsSubProject";PS.TaskPropertyNames.isSubProjectReadOnly="IsSubProjectReadOnly";PS.TaskPropertyNames.isSubProjectScheduledFromFinish="IsSubProjectScheduledFromFinish";PS.TaskPropertyNames.isSummary="IsSummary";PS.TaskPropertyNames.latestFinish="LatestFinish";PS.TaskPropertyNames.latestStart="LatestStart";PS.TaskPropertyNames.levelingDelay="LevelingDelay";PS.TaskPropertyNames.levelingDelayMilliseconds="LevelingDelayMilliseconds";PS.TaskPropertyNames.modified="Modified";PS.TaskPropertyNames.notes="Notes";PS.TaskPropertyNames.outlinePosition="OutlinePosition";PS.TaskPropertyNames.overtimeCost="OvertimeCost";PS.TaskPropertyNames.overtimeWork="OvertimeWork";PS.TaskPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.TaskPropertyNames.percentWorkComplete="PercentWorkComplete";PS.TaskPropertyNames.preLevelingFinish="PreLevelingFinish";PS.TaskPropertyNames.preLevelingStart="PreLevelingStart";PS.TaskPropertyNames.regularWork="RegularWork";PS.TaskPropertyNames.regularWorkMilliseconds="RegularWorkMilliseconds";PS.TaskPropertyNames.remainingCost="RemainingCost";PS.TaskPropertyNames.remainingOvertimeCost="RemainingOvertimeCost";PS.TaskPropertyNames.remainingOvertimeWork="RemainingOvertimeWork";PS.TaskPropertyNames.remainingOvertimeWorkMilliseconds="RemainingOvertimeWorkMilliseconds";PS.TaskPropertyNames.remainingWork="RemainingWork";PS.TaskPropertyNames.remainingWorkMilliseconds="RemainingWorkMilliseconds";PS.TaskPropertyNames.resume="Resume";PS.TaskPropertyNames.scheduleCostVariance="ScheduleCostVariance";PS.TaskPropertyNames.scheduledDuration="ScheduledDuration";PS.TaskPropertyNames.scheduledDurationMilliseconds="ScheduledDurationMilliseconds";PS.TaskPropertyNames.scheduledFinish="ScheduledFinish";PS.TaskPropertyNames.scheduledStart="ScheduledStart";PS.TaskPropertyNames.schedulePerformanceIndex="SchedulePerformanceIndex";PS.TaskPropertyNames.scheduleVariancePercentage="ScheduleVariancePercentage";PS.TaskPropertyNames.startSlack="StartSlack";PS.TaskPropertyNames.startSlackMilliseconds="StartSlackMilliseconds";PS.TaskPropertyNames.startVariance="StartVariance";PS.TaskPropertyNames.startVarianceMilliseconds="StartVarianceMilliseconds";PS.TaskPropertyNames.stop="Stop";PS.TaskPropertyNames.taskType="TaskType";PS.TaskPropertyNames.toCompletePerformanceIndex="ToCompletePerformanceIndex";PS.TaskPropertyNames.totalSlack="TotalSlack";PS.TaskPropertyNames.totalSlackMilliseconds="TotalSlackMilliseconds";PS.TaskPropertyNames.workBreakdownStructure="WorkBreakdownStructure";PS.TaskPropertyNames.workVariance="WorkVariance";PS.TaskPropertyNames.workVarianceMilliseconds="WorkVarianceMilliseconds";PS.TaskObjectPropertyNames.customFields="CustomFields";PS.TaskObjectPropertyNames.subProject="SubProject";PS.TaskLinkPropertyNames.id="Id";PS.TimePhasePropertyNames.end="End";PS.TimePhasePropertyNames.start="Start";PS.TimePhaseObjectPropertyNames.assignments="Assignments";PS.TimeSheetPropertyNames.comments="Comments";PS.TimeSheetPropertyNames.entryMode="EntryMode";PS.TimeSheetPropertyNames.id="Id";PS.TimeSheetPropertyNames.isControlledByOwner="IsControlledByOwner";PS.TimeSheetPropertyNames.isProcessed="IsProcessed";PS.TimeSheetPropertyNames.name="Name";PS.TimeSheetPropertyNames.status="Status";PS.TimeSheetPropertyNames.totalActualWork="TotalActualWork";PS.TimeSheetPropertyNames.totalActualWorkMilliseconds="TotalActualWorkMilliseconds";PS.TimeSheetPropertyNames.totalNonBillableOvertimeWork="TotalNonBillableOvertimeWork";PS.TimeSheetPropertyNames.totalNonBillableOvertimeWorkMilliseconds="TotalNonBillableOvertimeWorkMilliseconds";PS.TimeSheetPropertyNames.totalNonBillableWork="TotalNonBillableWork";PS.TimeSheetPropertyNames.totalNonBillableWorkMilliseconds="TotalNonBillableWorkMilliseconds";PS.TimeSheetPropertyNames.totalOvertimeWork="TotalOvertimeWork";PS.TimeSheetPropertyNames.totalOvertimeWorkMilliseconds="TotalOvertimeWorkMilliseconds";PS.TimeSheetPropertyNames.totalWork="TotalWork";PS.TimeSheetPropertyNames.totalWorkMilliseconds="TotalWorkMilliseconds";PS.TimeSheetPropertyNames.weekStartsOn="WeekStartsOn";PS.TimeSheetObjectPropertyNames.creator="Creator";PS.TimeSheetObjectPropertyNames.lines="Lines";PS.TimeSheetObjectPropertyNames.manager="Manager";PS.TimeSheetObjectPropertyNames.period="Period";PS.TimeSheetLinePropertyNames.comment="Comment";PS.TimeSheetLinePropertyNames.id="Id";PS.TimeSheetLinePropertyNames.lineClass="LineClass";PS.TimeSheetLinePropertyNames.projectName="ProjectName";PS.TimeSheetLinePropertyNames.status="Status";PS.TimeSheetLinePropertyNames.taskName="TaskName";PS.TimeSheetLinePropertyNames.totalWork="TotalWork";PS.TimeSheetLinePropertyNames.totalWorkMilliseconds="TotalWorkMilliseconds";PS.TimeSheetLinePropertyNames.validationType="ValidationType";PS.TimeSheetLineObjectPropertyNames.assignment="Assignment";PS.TimeSheetLineObjectPropertyNames.timeSheet="TimeSheet";PS.TimeSheetLineObjectPropertyNames.work="Work";PS.TimeSheetPeriodPropertyNames.end="End";PS.TimeSheetPeriodPropertyNames.id="Id";PS.TimeSheetPeriodPropertyNames.name="Name";PS.TimeSheetPeriodPropertyNames.start="Start";PS.TimeSheetPeriodObjectPropertyNames.timeSheet="TimeSheet";PS.TimeSheetWorkPropertyNames.actualWork="ActualWork";PS.TimeSheetWorkPropertyNames.actualWorkMilliseconds="ActualWorkMilliseconds";PS.TimeSheetWorkPropertyNames.comment="Comment";PS.TimeSheetWorkPropertyNames.end="End";PS.TimeSheetWorkPropertyNames.id="Id";PS.TimeSheetWorkPropertyNames.nonBillableOvertimeWork="NonBillableOvertimeWork";PS.TimeSheetWorkPropertyNames.nonBillableOvertimeWorkMilliseconds="NonBillableOvertimeWorkMilliseconds";PS.TimeSheetWorkPropertyNames.nonBillableWork="NonBillableWork";PS.TimeSheetWorkPropertyNames.nonBillableWorkMilliseconds="NonBillableWorkMilliseconds";PS.TimeSheetWorkPropertyNames.overtimeWork="OvertimeWork";PS.TimeSheetWorkPropertyNames.overtimeWorkMilliseconds="OvertimeWorkMilliseconds";PS.TimeSheetWorkPropertyNames.plannedWork="PlannedWork";PS.TimeSheetWorkPropertyNames.plannedWorkMilliseconds="PlannedWorkMilliseconds";PS.TimeSheetWorkPropertyNames.start="Start";PS.WorkflowDesignerObjectPropertyNames.fields="Fields";PS.WorkflowDesignerFieldPropertyNames.displayName="DisplayName";PS.WorkflowDesignerFieldPropertyNames.id="Id";PS.WorkflowDesignerFieldPropertyNames.isLookupField="IsLookupField";PS.WorkflowDesignerFieldPropertyNames.isReadOnly="IsReadOnly";PS.WorkflowDesignerFieldPropertyNames.spFieldType="SPFieldType";PS.WorkflowDesignerFieldObjectPropertyNames.lookupEntries="LookupEntries";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();ExecuteOrDelayUntilScriptLoaded(function(){a:;NotifyScriptLoadedAndExecuteWaitingJobs("ps.js")},"sp.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.datetimeutil.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.datetimeutil.js deleted file mode 100644 index 685961095..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.datetimeutil.js +++ /dev/null @@ -1,2 +0,0 @@ -function ULS4T7(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.DateTimeUtil.js";return o;} -if("undefined"==typeof g_all_modules)g_all_modules={};g_all_modules["sp.datetimeutil.js"]={version:{rmj:16,rmm:0,rup:5813,rpr:1200}};typeof spWriteProfilerMark=="function"&&spWriteProfilerMark("perfMarkBegin_sp.datetimeutil.js");Type.registerNamespace("SP.DateTimeUtil");SP.DateTimeUtil.SPCalendarType=function(){};SP.DateTimeUtil.SPCalendarType.prototype={none:0,gregorian:1,japan:3,taiwan:4,korea:5,hijri:6,thai:7,hebrew:8,gregorianMEFrench:9,gregorianArabic:10,gregorianXLITEnglish:11,gregorianXLITFrench:12,koreaJapanLunar:14,chineseLunar:15,sakaEra:16,umAlQura:23};SP.DateTimeUtil.SPCalendarType.registerEnum("SP.DateTimeUtil.SPCalendarType",false);SP.DateTimeUtil.ISPCalendar=function(){};SP.DateTimeUtil.ISPCalendar.registerInterface("SP.DateTimeUtil.ISPCalendar");SP.DateTimeUtil.GregorianCalendarImpl=function(){ULS4T7:;SP.DateTimeUtil.GregorianCalendarImpl.initializeBase(this)};SP.DateTimeUtil.GregorianCalendarImpl.$6=function(){ULS4T7:;return SP.DateTimeUtil.SolarCalendarImpl.$6()};SP.DateTimeUtil.GregorianCalendarImpl.$9=function(a){ULS4T7:;return SP.DateTimeUtil.SolarCalendarImpl.$9(a)};SP.DateTimeUtil.GregorianCalendarImpl.$N=function(a,b,c){ULS4T7:;return SP.DateTimeUtil.GregorianCalendarImpl.$m(a)+SP.DateTimeUtil.GregorianCalendarImpl.$7[SP.DateTimeUtil.SolarCalendarImpl.$9(a)?1:0][b-1]+c-1};SP.DateTimeUtil.GregorianCalendarImpl.$m=function(b){ULS4T7:;var a=b-1601;return 365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)};SP.DateTimeUtil.GregorianCalendarImpl.$L=function(d){ULS4T7:;var b=d,a=new SP.DateTimeUtil.SimpleDate(0,0,0,0),c;a.set_year(Math.floor(1601+(b*400+600)/SP.DateTimeUtil.SolarCalendarImpl._DaysIn400Years));b-=SP.DateTimeUtil.GregorianCalendarImpl.$m(a.get_year());if(b<0){a.set_year(a.get_year()-1);c=SP.DateTimeUtil.GregorianCalendarImpl.$9(a.get_year());b+=c?366:365}else c=SP.DateTimeUtil.GregorianCalendarImpl.$9(a.get_year());a.set_month(1+(b>>5));a.get_month()=SP.DateTimeUtil.GregorianCalendarImpl.$7[c?1:0][a.get_month()]&&a.set_month(a.get_month()+1);a.set_day(1+b-SP.DateTimeUtil.GregorianCalendarImpl.$7[c?1:0][a.get_month()-1]);return a};SP.DateTimeUtil.GregorianCalendarImpl.$C=function(c,b){ULS4T7:;var a=SP.DateTimeUtil.GregorianCalendarImpl.$9(c);return SP.DateTimeUtil.GregorianCalendarImpl.$7[a?1:0][b]-SP.DateTimeUtil.GregorianCalendarImpl.$7[a?1:0][b-1]};SP.DateTimeUtil.SPIntlCal=function(){};SP.DateTimeUtil.SPIntlCal.get_$1g=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$X)SP.DateTimeUtil.SPIntlCal.$X=new SP.DateTimeUtil.SPGregorianCalendar;return SP.DateTimeUtil.SPIntlCal.$X};SP.DateTimeUtil.SPIntlCal.get_$1s=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$a)SP.DateTimeUtil.SPIntlCal.$a=new SP.DateTimeUtil.SPJapaneseCalendar;return SP.DateTimeUtil.SPIntlCal.$a};SP.DateTimeUtil.SPIntlCal.get_$1z=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$e)SP.DateTimeUtil.SPIntlCal.$e=new SP.DateTimeUtil.SPTaiwaneseCalendar;return SP.DateTimeUtil.SPIntlCal.$e};SP.DateTimeUtil.SPIntlCal.get_$1u=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$c)SP.DateTimeUtil.SPIntlCal.$c=new SP.DateTimeUtil.SPKoreanCalendar;return SP.DateTimeUtil.SPIntlCal.$c};SP.DateTimeUtil.SPIntlCal.get_$1y=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$d)SP.DateTimeUtil.SPIntlCal.$d=new SP.DateTimeUtil.SPSakaCalendar;return SP.DateTimeUtil.SPIntlCal.$d};SP.DateTimeUtil.SPIntlCal.get_$1i=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$Z)SP.DateTimeUtil.SPIntlCal.$Z=new SP.DateTimeUtil.SPHijriCalendar;return SP.DateTimeUtil.SPIntlCal.$Z};SP.DateTimeUtil.SPIntlCal.get_$1h=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$Y)SP.DateTimeUtil.SPIntlCal.$Y=new SP.DateTimeUtil.SPHebrewCalendar;return SP.DateTimeUtil.SPIntlCal.$Y};SP.DateTimeUtil.SPIntlCal.get_$20=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$f)SP.DateTimeUtil.SPIntlCal.$f=new SP.DateTimeUtil.SPThaiCalendar;return SP.DateTimeUtil.SPIntlCal.$f};SP.DateTimeUtil.SPIntlCal.get_$1O=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$U)SP.DateTimeUtil.SPIntlCal.$U=new SP.DateTimeUtil.SPChineseLunarCalendar;return SP.DateTimeUtil.SPIntlCal.$U};SP.DateTimeUtil.SPIntlCal.get_$1t=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$b)SP.DateTimeUtil.SPIntlCal.$b=new SP.DateTimeUtil.SPJapaneseLunarCalendar;return SP.DateTimeUtil.SPIntlCal.$b};SP.DateTimeUtil.SPIntlCal.get_$21=function(){ULS4T7:;if(!SP.DateTimeUtil.SPIntlCal.$g)SP.DateTimeUtil.SPIntlCal.$g=new SP.DateTimeUtil.SPUmAlQuraCalendar;return SP.DateTimeUtil.SPIntlCal.$g};SP.DateTimeUtil.SPIntlCal.isCalendarSupported=function(a){ULS4T7:;try{SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a);return true}catch(b){}return false};SP.DateTimeUtil.SPIntlCal.getLocalCalendar=function(a){ULS4T7:;switch(a){case 1:case 9:case 10:case 11:case 12:return SP.DateTimeUtil.SPIntlCal.get_$1g();case 3:return SP.DateTimeUtil.SPIntlCal.get_$1s();case 4:return SP.DateTimeUtil.SPIntlCal.get_$1z();case 5:return SP.DateTimeUtil.SPIntlCal.get_$1u();case 16:return SP.DateTimeUtil.SPIntlCal.get_$1y();case 6:return SP.DateTimeUtil.SPIntlCal.get_$1i();case 8:return SP.DateTimeUtil.SPIntlCal.get_$1h();case 7:return SP.DateTimeUtil.SPIntlCal.get_$20();case 15:return SP.DateTimeUtil.SPIntlCal.get_$1O();case 14:return SP.DateTimeUtil.SPIntlCal.get_$1t();case 23:return SP.DateTimeUtil.SPIntlCal.get_$21();default:throw Error.argument();}};SP.DateTimeUtil.SPIntlCal.isSupportedLocalYear=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).isSupportedYear(b)};SP.DateTimeUtil.SPIntlCal.isSupportedLocalMonth=function(a,c,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).isSupportedMonth(c,b)};SP.DateTimeUtil.SPIntlCal.isSupportedLocalDate=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).isSupportedDate(b)};SP.DateTimeUtil.SPIntlCal.isLocalDateValid=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).isDateValid(b,0,0)};SP.DateTimeUtil.SPIntlCal.isSupportedLocalJulianDay=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).isSupportedJulianDay(b)};SP.DateTimeUtil.SPIntlCal.localToJulianDay=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).dateToJulianDay(b,0)};SP.DateTimeUtil.SPIntlCal.julianDayToLocal=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).julianDayToDate(b,0,0)};SP.DateTimeUtil.SPIntlCal.julianDayToLocal2=function(b,c,a){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(b).julianDayToDate(c,a,0)};SP.DateTimeUtil.SPIntlCal.eraOffset=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).getEraOffset(b)};SP.DateTimeUtil.SPIntlCal.getEraJulianDay=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).getEraJulianDay(b)};SP.DateTimeUtil.SPIntlCal.isLocalYearLeap=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).isYearLeap(b,0)};SP.DateTimeUtil.SPIntlCal.monthsInLocalYear=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).monthsInYear(b)};SP.DateTimeUtil.SPIntlCal.daysInLocalMonth=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).daysInMonth(b,0)};SP.DateTimeUtil.SPIntlCal.getMonthLeap=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getLocalCalendar(a).getMonthLeap(b)};SP.DateTimeUtil.SPIntlCal.getWeekNumber=function(f,a,b,e){ULS4T7:;var g=a.get_day(),h=a.get_month(),d;while(--h>0){var k=new SP.DateTimeUtil.SimpleDate(a.get_year(),h,1,a.get_era());g+=SP.DateTimeUtil.SPIntlCal.daysInLocalMonth(f,k)}var i=new SP.DateTimeUtil.SimpleDate(a.get_year(),1,1,a.get_era()),j=SP.DateTimeUtil.SPIntlCal.localToJulianDay(f,i),c=(j+1)%7;d=Math.floor((g-1)/7+1);if(c=0&&(e===2&&c>b+3||e===1&&c!==b))d--;return d};SP.DateTimeUtil.SPGregorianCalendar=function(){};SP.DateTimeUtil.SPGregorianCalendar.prototype={isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1601,8900)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1601,1,8900,12)&&a>=1&&a<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1601,1,1,8900,12,31)&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=SP.DateTimeUtil.GregorianCalendarImpl.$C(a.get_year()+this.getEraOffset(a.get_era()),a.get_month()))},isSupportedJulianDay:function(a){ULS4T7:;return a>=0&&a<=2666269},dateToJulianDay:function(a){ULS4T7:;if(!this.isSupportedDate(a))throw Error.argumentOutOfRange();return SP.DateTimeUtil.GregorianCalendarImpl.$N(a.get_year()+this.getEraOffset(a.get_era()),a.get_month(),a.get_day())},julianDayToDate:function(b){ULS4T7:;if(!this.isSupportedJulianDay(b))throw Error.argumentOutOfRange();var a=SP.DateTimeUtil.GregorianCalendarImpl.$L(b);a.set_year(a.get_year()-this.getEraOffset(a.get_era()));a.set_era(1);return a},getMonthLeap:function(){ULS4T7:;return-1},isYearLeap:function(a,b){ULS4T7:;if(!this.isSupportedYear(a))throw Error.argumentOutOfRange();return SP.DateTimeUtil.GregorianCalendarImpl.$9(a+this.getEraOffset(b))},monthsInYear:function(a){ULS4T7:;if(!this.isSupportedYear(a.get_year()))throw Error.argumentOutOfRange();return SP.DateTimeUtil.GregorianCalendarImpl.$6()},daysInMonth:function(a){ULS4T7:;if(!this.isSupportedMonth(a.get_year(),a.get_month()))throw Error.argumentOutOfRange();return SP.DateTimeUtil.GregorianCalendarImpl.$C(a.get_year()+this.getEraOffset(a.get_era()),a.get_month())},getEraOffset:function(){ULS4T7:;return 0},getEraJulianDay:function(){ULS4T7:;return 1}};SP.DateTimeUtil.SPJapaneseCalendar=function(){ULS4T7:;this.$O_1=[97770,113800,119061,141721];SP.DateTimeUtil.SPJapaneseCalendar.initializeBase(this)};SP.DateTimeUtil.SPJapaneseCalendar.prototype={isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1,2011)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1,1,2011,12)&&a>=1&&a<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1,1,1,2011,12,31)&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isDateValid:function(a){ULS4T7:;var b;try{b=this.dateToJulianDay(a,0)}catch(c){return false}return a.get_year()>0&&(a.get_era()>3?true:a.get_year()<=this.getEraOffset(a.get_era()+1)-this.getEraOffset(a.get_era())+1)&&(a.get_era()>3?b>=this.$O_1[a.get_era()-1]:b=this.$O_1[a.get_era()-1])&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.GregorianCalendarImpl.$6()&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=SP.DateTimeUtil.GregorianCalendarImpl.$C(a.get_year()+this.getEraOffset(a.get_era()),a.get_month()))},isSupportedJulianDay:function(a){ULS4T7:;return a>=97770&&a<=876215},julianDayToDate:function(b){ULS4T7:;if(!this.isSupportedJulianDay(b))throw Error.argumentOutOfRange();var a=SP.DateTimeUtil.GregorianCalendarImpl.$L(b);a.set_era(this.$1c_1(b));a.set_year(a.get_year()-this.getEraOffset(a.get_era()));return a},getEraOffset:function(a){ULS4T7:;var b=[1867,1911,1925,1988];return a<=4&&a>0?b[a-1]:b[0]},getEraJulianDay:function(a){ULS4T7:;return a<=3&&a>0?this.$O_1[a]:this.$O_1[0]},$1c_1:function(b){ULS4T7:;for(var a=4;a>0;--a)if(b>=this.$O_1[a-1])return a;return 1}};SP.DateTimeUtil.SPThaiCalendar=function(){ULS4T7:;SP.DateTimeUtil.SPThaiCalendar.initializeBase(this)};SP.DateTimeUtil.SPThaiCalendar.prototype={isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,2144,4542)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,2144,1,4542,12)&&a>=1&&a<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),2144,1,1,4542,12,31)&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=SP.DateTimeUtil.GregorianCalendarImpl.$C(a.get_year()+this.getEraOffset(a.get_era()),a.get_month()))},isSupportedJulianDay:function(a){ULS4T7:;return a>=0&&a<=876215},getEraOffset:function(){ULS4T7:;return-543}};SP.DateTimeUtil.SPTaiwaneseCalendar=function(){ULS4T7:;SP.DateTimeUtil.SPTaiwaneseCalendar.initializeBase(this)};SP.DateTimeUtil.SPTaiwaneseCalendar.prototype={isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1,2088)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1,1,2088,12)&&a>=1&&a<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1,1,1,2088,12,31)&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=SP.DateTimeUtil.GregorianCalendarImpl.$C(a.get_year()+this.getEraOffset(a.get_era()),a.get_month()))},isSupportedJulianDay:function(a){ULS4T7:;return a>=113589&&a<=876215},getEraOffset:function(){ULS4T7:;return 1911}};SP.DateTimeUtil.SPKoreanCalendar=function(){ULS4T7:;SP.DateTimeUtil.SPKoreanCalendar.initializeBase(this)};SP.DateTimeUtil.SPKoreanCalendar.prototype={isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,3934,6332)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,3934,1,6332,12)&&a>=1&&a<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),3934,1,1,6332,12,31)&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.GregorianCalendarImpl.$6()},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=SP.DateTimeUtil.GregorianCalendarImpl.$C(a.get_year()+this.getEraOffset(a.get_era()),a.get_month()))},isSupportedJulianDay:function(a){ULS4T7:;return a>=0&&a<=876215},getEraOffset:function(){ULS4T7:;return-2333}};SP.DateTimeUtil.SPSakaCalendar=function(){ULS4T7:;this.$0_0=new SP.DateTimeUtil.SakaCalendarImpl};SP.DateTimeUtil.SPSakaCalendar.prototype={$0_0:null,isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1522,3921)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1522,11,3921,9)&&a>=1&&a<=SP.DateTimeUtil.SolarCalendarImpl.$6()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1522,11,1,3921,9,30)&&a.get_month()>=1&&a.get_month()<=SP.DateTimeUtil.SolarCalendarImpl.$6()},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=this.daysInMonth(a,0))},isSupportedJulianDay:function(a){ULS4T7:;return a>=20&&a<=876205},dateToJulianDay:function(a){ULS4T7:;if(!this.isSupportedDate(a))throw Error.argumentOutOfRange();return this.$0_0.$N_1(a.get_year(),a.get_month(),a.get_day())},julianDayToDate:function(a){ULS4T7:;if(!this.isSupportedJulianDay(a))throw Error.argumentOutOfRange();return this.$0_0.$L_1(a)},daysInMonth:function(a){ULS4T7:;if(!this.isSupportedMonth(a.get_year(),a.get_month()))throw Error.argumentOutOfRange();return this.$0_0.$C_1(a.get_year(),a.get_month())},getMonthLeap:function(){ULS4T7:;return-1},isYearLeap:function(a){ULS4T7:;return SP.DateTimeUtil.SakaCalendarImpl.$9(a)},monthsInYear:function(a){ULS4T7:;if(!this.isSupportedYear(a.get_year()))throw Error.argumentOutOfRange();return SP.DateTimeUtil.GregorianCalendarImpl.$6()},getEraOffset:function(){ULS4T7:;return 0},getEraJulianDay:function(){ULS4T7:;return 1}};SP.DateTimeUtil.SPHijriCalendar=function(){ULS4T7:;this.$0_0=new SP.DateTimeUtil.HijriCalendarImpl};SP.DateTimeUtil.SPHijriCalendar.isSupportedAdvance=function(a){ULS4T7:;return a>=-3&&a<=3};SP.DateTimeUtil.SPHijriCalendar.prototype={$0_0:null,isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1009,3482)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1009,7,3482,1)&&a>=1&&a<=this.$0_0.$6_0()},isSupportedDate:function(a){ULS4T7:;return this.isSupportedAdvanceDate(a,0)},isSupportedAdvanceDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1009,7,1,3482,1,30)&&a.get_month()>=1&&a.get_month()<=this.$0_0.$6_0()},isDateValid:function(a,b,c){ULS4T7:;return this.isSupportedAdvanceDate(a,b)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=this.daysInMonth3(a,b,c))},isSupportedJulianDay:function(a){ULS4T7:;return a>=4&&a<=876204},dateToJulianDay:function(a,b){ULS4T7:;if(!this.isSupportedAdvanceDate(a,b))throw Error.argumentOutOfRange();if(!SP.DateTimeUtil.SPHijriCalendar.isSupportedAdvance(b))throw Error.argumentOutOfRange();var c=this.$0_0.$i_0();return this.$0_0.$N_0(a.get_year(),a.get_month(),a.get_day(),b,c)},julianDayToDate:function(c,b,a){ULS4T7:;if(!this.isSupportedJulianDay(c))throw Error.argumentOutOfRange();if(!SP.DateTimeUtil.SPHijriCalendar.isSupportedAdvance(b))throw Error.argumentOutOfRange();if(b&&a&&!this.isSupportedJulianDay(a))throw Error.argumentOutOfRange();a=this.$0_0.$i_0();return this.$0_0.$L_0(c,b,a)},daysInMonth3:function(a,b,c){ULS4T7:;if(!this.isSupportedMonth(a.get_year(),a.get_month()))throw Error.argumentOutOfRange();if(!SP.DateTimeUtil.SPHijriCalendar.isSupportedAdvance(b))throw Error.argumentOutOfRange();if(b&&c&&!this.isSupportedJulianDay(c))throw Error.argumentOutOfRange();var d=this.$0_0.$i_0();return this.$0_0.$C_0(a.get_year(),a.get_month(),b,d)},daysInMonth:function(b,c){ULS4T7:;var a=0;return this.daysInMonth3(b,c,a)},monthsInYear:function(a){ULS4T7:;if(!this.isSupportedYear(a.get_year()))throw Error.argumentOutOfRange();return this.$0_0.$6_0()},getMonthLeap:function(){ULS4T7:;return-1},isYearLeap:function(a){ULS4T7:;return this.$0_0.$9_0(a)},getEraOffset:function(){ULS4T7:;return 0},getEraJulianDay:function(){ULS4T7:;return 1}};SP.DateTimeUtil.SPHebrewCalendar=function(){ULS4T7:;this.$0_0=new SP.DateTimeUtil.HebrewCalendarImpl};SP.DateTimeUtil.SPHebrewCalendar.prototype={$0_0:null,isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,5361,5999)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,5361,5,5999,13)&&a>=1&&a<=this.$0_0.$6_0(b)},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),5361,5,1,5999,13,30)&&a.get_month()>=1&&a.get_month()<=this.$0_0.$6_0(a.get_year())},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=this.daysInMonth(a,0))},isSupportedJulianDay:function(a){ULS4T7:;return a>=3&&a<=233296},dateToJulianDay:function(a){ULS4T7:;if(!this.isSupportedDate(a))throw Error.argumentOutOfRange();return this.$0_0.$N_0(a.get_year(),a.get_month(),a.get_day())},julianDayToDate:function(a){ULS4T7:;if(!this.isSupportedJulianDay(a))throw Error.argumentOutOfRange();return this.$0_0.$L_0(a)},getMonthLeap:function(a){ULS4T7:;return this.$0_0.$1d_0(a)},isYearLeap:function(a){ULS4T7:;return this.$0_0.$6_0(a)===13},monthsInYear:function(a){ULS4T7:;if(!this.isSupportedYear(a.get_year()))throw Error.argumentOutOfRange();return this.$0_0.$6_0(a.get_year())},daysInMonth:function(a){ULS4T7:;if(!this.isSupportedMonth(a.get_year(),a.get_month()))throw Error.argumentOutOfRange();return this.$0_0.$C_0(a.get_year(),a.get_month())},getEraOffset:function(){ULS4T7:;return 0},getEraJulianDay:function(){ULS4T7:;return 1}};SP.DateTimeUtil.SPFarEastLunarCalendar=function(a){ULS4T7:;this.$0_0=a};SP.DateTimeUtil.SPFarEastLunarCalendar.prototype={$0_0:null,isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1960,2049)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1960,1,2049,12)&&a>=1&&a<=this.$0_0.$6_0(b)},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1960,1,1,2049,12,7)&&a.get_month()>=1&&a.get_month()<=this.$0_0.$6_0(a.get_year())},isSupportedJulianDay:function(a){ULS4T7:;return a>=131148&&a<=163994},getMonthLeap:function(a){ULS4T7:;return this.$0_0.getMonthLeap(a)},isYearLeap:function(a){ULS4T7:;return this.$0_0.$6_0(a)===13},getEraOffset:function(){ULS4T7:;return 0},getEraJulianDay:function(){ULS4T7:;return 1},dateToJulianDay:function(a){ULS4T7:;if(!this.isSupportedDate(a))throw Error.argumentOutOfRange();return this.$0_0.$N_0(a.get_year(),a.get_month(),a.get_day(),this.$0_0.$$d_$1w_0)},julianDayToDate:function(a){ULS4T7:;if(!this.isSupportedJulianDay(a))throw Error.argumentOutOfRange();return this.$0_0.$L_0(a,this.$0_0.$$d_$1w_0)},monthsInYear:function(a){ULS4T7:;if(!this.isSupportedYear(a.get_year()))throw Error.argumentOutOfRange();return this.$0_0.$6_0(a.get_year())},daysInMonth:function(a){ULS4T7:;if(!this.isSupportedMonth(a.get_year(),a.get_month()))throw Error.argumentOutOfRange();return this.$0_0.$C_0(a.get_year(),a.get_month(),this.$0_0.$$d_$1w_0)},isDateValid:function(a){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=this.daysInMonth(a,0))}};SP.DateTimeUtil.SPChineseLunarCalendar=function(){ULS4T7:;SP.DateTimeUtil.SPChineseLunarCalendar.initializeBase(this,[new SP.DateTimeUtil.ChineseLunarCalendarImpl])};SP.DateTimeUtil.SPJapaneseLunarCalendar=function(){ULS4T7:;SP.DateTimeUtil.SPJapaneseLunarCalendar.initializeBase(this,[new SP.DateTimeUtil.JapaneseLunarCalendarImpl])};SP.DateTimeUtil.SPUmAlQuraCalendar=function(){ULS4T7:;this.$0_0=new SP.DateTimeUtil.UmAlQuraCalendarImpl};SP.DateTimeUtil.SPUmAlQuraCalendar.prototype={$0_0:null,isSupportedYear:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$I(a,1318,1450)},isSupportedMonth:function(b,a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$J(b,a,1318,1,1451,1)&&a>=1&&a<=this.$0_0.$6_0()},isSupportedDate:function(a){ULS4T7:;return SP.DateTimeUtil.SPCalendarUtil.$H(a.get_year(),a.get_month(),a.get_day(),1318,1,1,1451,1,7)&&a.get_month()>=1&&a.get_month()<=this.$0_0.$6_0()},isDateValid:function(a,b){ULS4T7:;return this.isSupportedDate(a)&&a.get_day()>0&&(a.get_day()<29?true:a.get_day()<=this.daysInMonth(a,b))},dateToJulianDay:function(a){ULS4T7:;if(!this.isSupportedDate(a))throw Error.argumentOutOfRange();return this.$0_0.$N_0(a.get_year(),a.get_month(),a.get_day())},julianDayToDate:function(b,c,a){ULS4T7:;if(!this.isSupportedJulianDay(b))throw Error.argumentOutOfRange();if(c&&a&&!this.isSupportedJulianDay(a))throw Error.argumentOutOfRange();a=this.$0_0.$i_0();return this.$0_0.$L_0(b)},isSupportedJulianDay:function(a){ULS4T7:;return a>=109326&&a<=174175},getMonthLeap:function(){ULS4T7:;return-1},isYearLeap:function(a){ULS4T7:;return 11*(a+15)%30<11},monthsInYear:function(a){ULS4T7:;if(!this.isSupportedYear(a.get_year()))throw Error.argumentOutOfRange();return this.$0_0.$6_0()},daysInMonth:function(a){ULS4T7:;if(!this.isSupportedMonth(a.get_year(),a.get_month()))throw Error.argumentOutOfRange();return this.$0_0.$C_0(a.get_year(),a.get_month())},getEraOffset:function(){ULS4T7:;return 0},getEraJulianDay:function(){ULS4T7:;return 1}};SP.DateTimeUtil.IntlDate=function(a){ULS4T7:;this.$1_0=a};SP.DateTimeUtil.IntlDate.createFromDateParts=function(d,c,e,f,b){ULS4T7:;var a=new SP.DateTimeUtil.IntlDate(b);a.$2_0=d;a.$3_0=c;a.$4_0=e;a.$8_0=f;a.$5_0=0;a.$F_0();return a};SP.DateTimeUtil.IntlDate.createFromTicks=function(c,b){ULS4T7:;var a=new SP.DateTimeUtil.IntlDate(b);a.set_ticks(c);return a};SP.DateTimeUtil.IntlDate.createFromJsLocalDate=function(a,c){ULS4T7:;var b=SP.DateTimeUtil.IntlDate.createFromDateParts(a.getFullYear(),a.getMonth()+1,a.getDate(),0,1);b.setTime(a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds());b.convertToCalendar(c);return b};SP.DateTimeUtil.IntlDate.createFromJsUtcDate=function(a,c){ULS4T7:;var b=SP.DateTimeUtil.IntlDate.createFromDateParts(a.getUTCFullYear(),a.getUTCMonth()+1,a.getUTCDate(),0,1);b.setTime(a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds(),a.getUTCMilliseconds());b.convertToCalendar(c);return b};SP.DateTimeUtil.IntlDate.get_utcNow=function(){ULS4T7:;return SP.DateTimeUtil.IntlDate.createFromJsUtcDate(MakeJsDateObject(),1)};SP.DateTimeUtil.IntlDate.get_now=function(){ULS4T7:;return SP.DateTimeUtil.IntlDate.createFromJsLocalDate(MakeJsDateObject(),1)};SP.DateTimeUtil.IntlDate.prototype={$2_0:0,$3_0:0,$4_0:0,$8_0:0,$A_0:0,$5_0:0,$1_0:0,format:function(b,a){ULS4T7:;if(!SP.DateTimeUtil.IntlDate.$l)SP.DateTimeUtil.IntlDate.$l=new SP.DateTimeUtil.DateFormat;return SP.DateTimeUtil.IntlDate.$l.format(this,b,a)},julianDay:function(){ULS4T7:;return this.$A_0},toJsDate:function(){ULS4T7:;if(this.$1_0===1)return MakeJsDateObjectFromDateTimeParts(this.$2_0,this.$3_0-1,this.$4_0,0,0,0,this.$5_0);else{var a=SP.DateTimeUtil.SPIntlCal.julianDayToLocal(1,this.$A_0);return MakeJsDateObjectFromDateTimeParts(a.get_year(),a.get_month()-1,a.get_day(),0,0,0,this.$5_0)}},clone:function(){ULS4T7:;var a=new SP.DateTimeUtil.IntlDate(this.$1_0);a.$2_0=this.$2_0;a.$3_0=this.$3_0;a.$4_0=this.$4_0;a.$8_0=this.$8_0;a.$A_0=this.$A_0;a.$5_0=this.$5_0;return a},equals:function(a){ULS4T7:;return this.$A_0===a.$A_0&&this.$5_0===a.$5_0},convertToCalendar:function(a){ULS4T7:;if(a!==this.$1_0&&a){this.$1_0=a;this.$o_0()}},setDate:function(b,a,c,d){ULS4T7:;this.$2_0=b;this.$3_0=a;this.$4_0=c;this.$8_0=d;this.$F_0()},setTime:function(d,b,c,a){ULS4T7:;this.$5_0=d*36e5+b*6e4+c*1e3+a;this.$G_0()},get_year:function(){ULS4T7:;return this.$2_0},set_year:function(a){ULS4T7:;this.$2_0=a;this.$F_0();return a},get_month:function(){ULS4T7:;return this.$3_0},set_month:function(a){ULS4T7:;this.$3_0=a;this.$F_0();return a},get_day:function(){ULS4T7:;return this.$4_0},set_day:function(a){ULS4T7:;this.$4_0=a;this.$F_0();return a},get_hours:function(){ULS4T7:;return Math.floor(this.$5_0/36e5)},set_hours:function(a){ULS4T7:;this.$5_0-=this.get_hours();this.$5_0+=a*36e5;this.$G_0();return a},get_minutes:function(){ULS4T7:;return Math.floor(this.$5_0%36e5/6e4)},set_minutes:function(a){ULS4T7:;this.$5_0-=this.get_minutes();this.$5_0+=a*6e4;this.$G_0();return a},get_seconds:function(){ULS4T7:;return Math.floor(this.$5_0%6e4/1e3)},set_seconds:function(a){ULS4T7:;this.$5_0-=this.get_seconds();this.$5_0+=a*1e3;this.$G_0();return a},get_milliSeconds:function(){ULS4T7:;return this.$5_0%1e3},set_milliSeconds:function(a){ULS4T7:;this.$5_0-=this.get_milliSeconds();this.$5_0+=a;this.$G_0();return a},get_ticks:function(){ULS4T7:;return this.$A_0*864e5+this.$5_0},set_ticks:function(a){ULS4T7:;this.$A_0=Math.floor(a/864e5);this.$5_0=a%864e5;this.$o_0();this.$G_0();return a},get_era:function(){ULS4T7:;return this.$8_0},set_era:function(a){ULS4T7:;this.$8_0=a;this.$F_0();return a},get_timezoneOffset:function(){ULS4T7:;return this.toJsDate().getTimezoneOffset()},get_weekOfYear:function(){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getWeekNumber(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0),0,0)},get_quarter:function(){ULS4T7:;return this.$17_0(3)},get_monthThird:function(){ULS4T7:;return this.$4_0<11?1:this.$4_0<21?2:3},get_halfYear:function(){ULS4T7:;return this.$17_0(6)},toString:function(){ULS4T7:;return"blah!"},get_calendarType:function(){ULS4T7:;return this.$1_0},get_dayOfWeek:function(){ULS4T7:;return(this.$A_0+1)%7},lunarLeapMonth:function(){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.getMonthLeap(this.$1_0,this.$2_0)},isYearLeap:function(){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.isLocalYearLeap(this.$1_0,this.$2_0)},monthsInYear:function(){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.monthsInLocalYear(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0))},daysInMonth:function(){ULS4T7:;return SP.DateTimeUtil.SPIntlCal.daysInLocalMonth(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0))},addYears:function(a){ULS4T7:;if(a){this.$2_0+=a;if(this.$3_0>12)this.$3_0=Math.min(SP.DateTimeUtil.SPIntlCal.monthsInLocalYear(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,1,1,1)),this.$3_0);this.$F_0()}},addMonthThirds:function(a){ULS4T7:;if(a){var b=a%3,d=b>0?1:-1;this.addMonths(Math.floor(a/3));for(var c=d*b;c>0;c--)if(b<0)if(this.$4_0<11&&this.$4_0>8){this.addMonths(-1);var e=SP.DateTimeUtil.SPIntlCal.daysInLocalMonth(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0));this.$4_0=Math.min(e,this.$4_0+20);this.$F_0()}else if(this.$4_0<=8){this.addMonths(-1);this.addDays(20)}else this.addDays(-10);else if(this.$4_0>=18&&this.$4_0<21){var f=SP.DateTimeUtil.SPIntlCal.daysInLocalMonth(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0));this.$4_0=Math.min(f,this.$4_0+10);this.$F_0()}else if(this.$4_0>=21){this.addMonths(1);this.addDays(-20)}else this.addDays(-10)}},addHalfYears:function(a){ULS4T7:;a&&this.$n_0(a,6,true)},addQuarters:function(a){ULS4T7:;a&&this.$n_0(a,3,true)},addMonths:function(a){ULS4T7:;a&&this.$n_0(a,1,false)},addHours:function(a){ULS4T7:;if(a){this.$5_0+=a*36e5;this.$G_0()}},addMinutes:function(a){ULS4T7:;if(a){this.$5_0+=a*6e4;this.$G_0()}},addSeconds:function(a){ULS4T7:;if(a){this.$5_0+=a*1e3;this.$G_0()}},addMilliSeconds:function(a){ULS4T7:;if(a){this.$5_0+=a;this.$G_0()}},addDays:function(a){ULS4T7:;if(a){this.$A_0+=a;this.$o_0()}},addWeeks:function(a){ULS4T7:;this.addDays(a*7)},$F_0:function(){ULS4T7:;this.$A_0=SP.DateTimeUtil.SPIntlCal.localToJulianDay(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0))},$o_0:function(){ULS4T7:;var a;if(this.$1_0===6)a=SP.DateTimeUtil.SPIntlCal.julianDayToLocal2(this.$1_0,this.$A_0,_spRegionalSettings.adjustHijriDays);else a=SP.DateTimeUtil.SPIntlCal.julianDayToLocal(this.$1_0,this.$A_0);this.$2_0=a.get_year();this.$3_0=a.get_month();this.$4_0=a.get_day();this.$8_0=a.get_era()},$G_0:function(){ULS4T7:;var a=this.$5_0%864e5,b=Math.floor(this.$5_0/864e5);this.$5_0=a;if(a<0)this.$5_0=864e5-Math.abs(this.$5_0);this.addDays(b)},$n_0:function(e,f,a){ULS4T7:;Math.abs(e*f)>=12&&this.addYears(Math.floor(e*f/12));var b=e*f%12;if(b>0)for(var g=a&&SP.DateTimeUtil.SPIntlCal.isLocalYearLeap(this.$1_0,this.$2_0)?SP.DateTimeUtil.SPIntlCal.getMonthLeap(this.$1_0,this.$2_0):-1,h=SP.DateTimeUtil.SPIntlCal.monthsInLocalYear(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,1,1,1)),c=b;c>0;c--){if(this.$3_00){var j=SP.DateTimeUtil.SPIntlCal.daysInLocalMonth(this.$1_0,new SP.DateTimeUtil.SimpleDate(this.$2_0,this.$3_0,this.$4_0,this.$8_0));this.$4_0=Math.min(this.$4_0,j);this.$F_0()}},$17_0:function(b){ULS4T7:;var a=SP.DateTimeUtil.SPIntlCal.isLocalYearLeap(this.$1_0,this.$2_0)?SP.DateTimeUtil.SPIntlCal.getMonthLeap(this.$1_0,this.$2_0):-1;return a===-1||this.$3_0=b&&a<=c};SP.DateTimeUtil.SPCalendarUtil.$J=function(a,b,c,e,d,f){ULS4T7:;return(a>c||a===c&&b>=e)&&(ad||a===d&&(b>e||b===e&&c>=h))&&(a>5));a.get_month()=(c?this.$Q_1[a.get_month()]:this.$7_1[a.get_month()])&&a.set_month(a.get_month()+1);a.set_day(1+b-(c?this.$Q_1[a.get_month()-1]:this.$7_1[a.get_month()-1]));return a},$C_1:function(c,a){ULS4T7:;var b=SP.DateTimeUtil.SakaCalendarImpl.$9(c);return(b?this.$Q_1[a]:this.$7_1[a])-(b?this.$Q_1[a-1]:this.$7_1[a-1])}};SP.DateTimeUtil.HijriCalendarImpl=function(){ULS4T7:;this.$7_0=[0,30,59,89,118,148,177,207,236,266,295,325,354]};SP.DateTimeUtil.HijriCalendarImpl.prototype={$N_0:function(a,d,e,f,i){ULS4T7:;if(f){var h=this.$15_0(a,d,f,i),c=h.iEffectiveAdvance;if(c)e-=c}var b=a%30,g=Math.floor(a/30)*10631+354*b+Math.floor(11*(b+14)/30)+this.$7_0[d-1]+e-357735;return g},$9_0:function(a){ULS4T7:;return 11*(a+15)%30<11},$L_0:function(j,b,d){ULS4T7:;var a=new SP.DateTimeUtil.SimpleDate(0,0,0,0);a.set_year(Math.floor(1009+(j*30+5216)/10631));var e=a.get_year()%30,c=(j+6906)%10631-(354*e+Math.floor(11*(e+14)/30)-5);a.set_month(1+(c>>5));a.get_month()<12&&c>=this.$7_0[a.get_month()]&&a.set_month(a.get_month()+1);a.set_day(1+c-this.$7_0[a.get_month()-1]);if(b){var f=0,g=false,h=this.$15_0(a.get_year(),a.get_month(),b,d);f=h.iEffectiveAdvance;g=h.bInZone;if(g){a.set_day(a.get_day()+f);if(a.get_day()<=0){a.set_month(a.get_month()-1);if(a.get_month()<=0){a.set_year(a.get_year()-1);a.set_month(12)}a.set_day(this.$C_0(a.get_year(),a.get_month(),b,d)+a.get_day())}else{var i=this.$C_0(a.get_year(),a.get_month(),b,d);if(a.get_day()>i){a.set_month(a.get_month()+1);if(a.get_month()>12){a.set_year(a.get_year()+1);a.set_month(1)}a.set_day(a.get_day()-i)}}}}return a},$6_0:function(){ULS4T7:;return 12},$C_0:function(d,e,a,b){ULS4T7:;var c=new SP.DateTimeUtil.SimpleDate(0,0,0,0);a&&this.$L_0(b,0,b);return this.$1P_0(d,e,a,c)},$1P_0:function(b,c,d,a){ULS4T7:;var e=this.$7_0[c]-this.$7_0[c-1]+(this.$9_0(b)&&c===12?1:0);if(d){var f=false,g=this.$16_0(b,c,d,a);f=g.bInZone;if(f)if(d>0&&(a.get_year()>b||a.get_year()===b&&a.get_month()>c)||d<0&&(a.get_year()0,c=b>0?b*2:b*-2;if(l)c--;var g=c;if(a.get_year()-f===1&&this.$9_0(f))c-=b>0?2:-2;if(f-a.get_year()===1&&this.$9_0(a.get_year()))g+=b>0?2:-2;var h=12*f+j-(12*a.get_year()+a.get_month());if(h>=g)e=false;else if(h<-c)e=false;if(e){if(f0&&a.get_month()-c===1&&j===12)e=true;var i=new SP.DateTimeUtil.GetMonthAdvanceInfoScriptSharpReturn;i.iEffectiveAdvance=d;i.bInZone=e;return i},$i_0:function(){ULS4T7:;var a=new Date;return SP.DateTimeUtil.GregorianCalendarImpl.$N(a.getFullYear(),a.getMonth()+1,a.getDate())}};SP.DateTimeUtil.HebrewCalendarImpl=function(){ULS4T7:;this.$x_0=[0,30,59,88,117,147,176,206,235,265,294,324,353,353];this.$y_0=[0,30,59,89,118,148,177,207,236,266,295,325,354,354];this.$z_0=[0,30,60,90,119,149,178,208,237,267,296,326,355,355];this.$u_0=[0,30,59,88,117,147,177,206,236,265,295,324,354,383];this.$v_0=[0,30,59,89,118,148,178,207,237,266,296,325,355,384];this.$w_0=[0,30,60,90,119,149,179,208,238,267,297,326,356,385];this.$t_0=[30,48,37,27,47,34,53,43,33,50,39,29,49,37,25,45,34,51,41,30,50,37,26,46,36,53,42,32,50,39,28,48,38,26,44,34,52,41,30,50,39,27,46,35,53,43,31,51,39,29,47,37,25,44,33,53,41,30,49,39,28,46,35,53,42,32,51,40,28,48,37,26,44,33,53,42,30,49,39,28,46,35,55,42,31,51,41,29,47,37,26,45,33,53,42,31,49,38,28,45,35,54,44,32,50,40,30,48,36,26,46,35,52,42,31,49,38,27,47,35,54,43,33,51,39,29,47,37,25,45,33,52,41,31,49,38,28,47,36,54,44,32,50,40,29,48,36,26,45,34,52,41,31,50,38,27,47,36,54,43,33,50,39,29,49,37,25,45,34,54,41,30,50,40,27,46,36,54,43,32,52,42,30,48,38,27,44,34,54,43,30,50,39,29,46,35,55,43,32,51,41,29,48,37,27,45,34,53,43,32,50,39,28,46,36,55,44,32,52,40,30,48,37,26,44,34,53,42,30,49,39,28,46,35,55,45,33,51,41,30,49,37,26,46,35,53,42,32,49,38,28,48,35,54,44,34,51,40,30,50,38,26,46,35,52,42,31,51,39,27,47,37,55,43,33,51,41,29,49,39,28,45,35,53,42,31,51,40,28,47,36,54,44,32,52,40,30,48,38,26,45,35,52,42,31,51,40,29,47,37,54,43,33,53,41,29,49,38,27,45,34,54,43,31,50,40,29,47,36,56,43,32,52,42,31,48,38,27,47,34,54,43,33,50,39,29,47,35,55,45,33,51,41,31,49,37,27,47,36,53,43,32,50,39,28,48,36,56,44,34,52,41,30,48,38,27,46,34,53,43,32,50,39,29,48,37,55,45,33,51,41,30,49,37,27,46,35,53,42,32,51,39,28,48,38,55,44,34,52,40,30,50,39,26,46,35,55,42,31,51,41,28,47,37,55,44,33,53,43,31,49,39,28,45,35,55,44,32,51,40,30,48,36,56,44,34,52,42,30,49,38,28,46,35,54,44,33,51,40,29,47,37,56,45,33,53,41,31,49,38,28,45,35,54,44,31,50,40,30,47,36,56,46,34,52,42,31,48,38,27,47,34,54,43,33,50,39,29,49,36,55,45,35,53,41,31,51,40,27,47,36,54,43,32,52,40,28,48,38,56,44,34,52,42,30,50,40,29,46,36,54,43,32,52,41,29,49,37,55,45,34,53,41,31,50,39,27,46,36,53,43,32,52,41,30,48,38,55,44,34,54,42,30,50,39,28,46,35,55,43,32,51,41,29,47,37,57,45,33,53,43,32,49,39,28,48,35,55,44,34,51,40,30,48,36,56,46,34,52,42,32,50,39,28,48,37,55,44,33,51,41,29,49,37,57,45,35,53,42,31,49,39,28,47,35,54,44,33,51,40,30,49,38,56,46,35,52,42,31,51]};SP.DateTimeUtil.HebrewCalendarImpl.prototype={$R_0:function(c,b,a){ULS4T7:;if(c)switch(b-383){case 0:return this.$u_0[a];case 1:return this.$v_0[a];case 2:return this.$w_0[a];default:return-1}else switch(b-353){case 0:return this.$x_0[a];case 1:return this.$y_0[a];case 2:return this.$z_0[a];default:return-1}},$1d_0:function(a){ULS4T7:;return this.$9_0(a)?5:-1},$9_0:function(a){ULS4T7:;return(a+11)*7%19<7},$6_0:function(a){ULS4T7:;return this.$9_0(a)?13:12},$N_0:function(c,d,g){ULS4T7:;var a=this.$P_0(c),e=this.$P_0(c+1),b=e-a,f=b>365;if(f)a+=this.$R_0(true,b,d-1);else a+=this.$R_0(false,b,d-1);a+=g-1;return a},$L_0:function(g){ULS4T7:;var a=new SP.DateTimeUtil.SimpleDate(0,0,0,0),b=g;a.set_year(Math.floor(400*b/146097)+5361);this.$P_0(a.get_year()+1)<=b&&b!==233296&&a.set_year(a.get_year()+1);var d=this.$P_0(a.get_year()),f=this.$P_0(a.get_year()+1),c=f-d,e=c>365;b-=d;a.set_month(1+(b>>5));a.get_month()<13&&b>=this.$R_0(e,c,a.get_month())&&a.set_month(a.get_month()+1);a.set_day(1+b-this.$R_0(e,c,a.get_month()-1));return a},$C_0:function(c,d){ULS4T7:;var e=this.$P_0(c),f=this.$P_0(c+1),a=f-e,b=a>365;return this.$R_0(b,a,d)-this.$R_0(b,a,d-1)},$P_0:function(a){ULS4T7:;return Math.floor((a-5361)*146097/400-114+this.$t_0[a-5361]-30)}};SP.DateTimeUtil.FarEastLunarCalendarImpl=function(){ULS4T7:;this.$$d_$1w_0=Function.createDelegate(this,this.$1w_0);this.$M_0=[0,13,25,37,50,62,74,87,99,112,124,136,149,161,173,186,198,211,223,235,248,260,272,285,297,310,322,334,347,359,371,384,396,408,421,433,446,458,470,483,495,507,520,532,544,557,569,582,594,606,619,631,643,656,668,681,693,705,718,730,742,755,767,779,792,804,817,829,841,854,866,878,891,903,916,928,940,953,965,977,990,1002,1014,1027,1039,1052,1064,1076,1089,1101,1113];this.$10_0=[7,0,0,5,0,0,4,0,8,0,0,6,0,0,5,0,9,0,0,7,0,0,5,0,11,0,0,7,0,0,6,0,0,4,0,9,0,0,6,0,0,5,0,0,3,0,8,0,0,6,0,0,4,0,10,0,0,6,0,0,5,0,0,3,0,7,0,0,6,0,0,4,0,12,0,0,7,0,0,6,0,0,3,0,8,0,0,6,0,0,4]};SP.DateTimeUtil.FarEastLunarCalendarImpl.prototype={getMonthLeap:function(b){ULS4T7:;var a=(b-1600)%90;return this.$10_0[a]},$1x_0:function(a){ULS4T7:;return Math.floor(65735*(a+1618)/2226-47779)},$N_0:function(a,e,f,g){ULS4T7:;var b=Math.floor((a-1600)/90),c=(a-1600)%90,d=this.$M_0[c]+(e-1);return 32868*b+g(d)+(f-1)-324},$L_0:function(h,f){ULS4T7:;var c=new SP.DateTimeUtil.SimpleDate(0,0,0,0),e=h;e+=324;var g=Math.floor(e/32868),d=e%32868,a=Math.floor(d/30);a+=Math.floor((d-f(a)+15)/29);if(a>=1113||d=90||a>4]>>>((a&15)<<1)&3}};SP.DateTimeUtil.JapaneseLunarCalendarImpl=function(){ULS4T7:;this.$W_1=[1145324881,1427181892,1431585809,22368512,4560128,269571396,1145324817,1360073796,1430536465,357896197,72962048,1397824,1145328977,1360069716,1413742865,1431371845,1435828241,22365184,1078023440,1360020820,1413484885,1426064453,1431306517,357842948,68505856,285496644,1409291605,1409287253,1426067733,1430519877,1096093697,4543552,1073829201,1140868437,1360073045,1145308245,357630229,72696836,1398032,1074025812,285218132,1145324625,1427181908,1163150401,22368512,349504,268506436,1145324817,286331204,1430537233,357896196,5592064,1139776,1141133649,286331973,1413759249,1431371845,89473025,22430720,1074074896,1360004436,1413742869,1427112005,1431306257,358891524,5591296,268457284,1413484885,1426064469,277];SP.DateTimeUtil.JapaneseLunarCalendarImpl.initializeBase(this)};SP.DateTimeUtil.JapaneseLunarCalendarImpl.prototype={$1v_0:function(a){ULS4T7:;return this.$W_1[a>>4]>>>((a&15)<<1)&3}};SP.DateTimeUtil.UmAlQuraCalendarImpl=function(){ULS4T7:;this.$V_0=[746,1769,3794,3748,3402,2710,1334,2741,3498,2980,2889,2707,1323,2647,1206,2741,1450,3413,3370,2646,1198,2397,748,1749,1706,1365,1195,2395,698,1397,2994,1892,1865,1621,683,1371,2778,1748,3785,3474,3365,2637,685,1389,2922,2898,2725,2635,1175,2359,694,1397,3434,3410,2710,2349,605,1245,2778,1492,3497,3410,2730,1238,2486,884,1897,1874,1701,1355,2731,1370,2773,3538,3492,3401,2709,1325,2653,1370,2773,1706,1685,1323,2647,1198,2422,1388,2901,2730,2645,1197,2397,730,1497,3506,2980,2890,2645,693,1397,2922,3026,3012,2953,2709,1325,1453,2922,1748,3529,3474,2726,2390,686,1389,874,2901,2730,2381,1181,2397,698,1461,1450,3413,2714,2350,622,1373,2778,1748,1701,0];this.$S_0=[0,354,709,1064,1418,1772,2126,2480,2835,3190,3544,3898,4252,4606,4961,5315,5670,6024,6379,6733,7087,7441,7796,8150,8505,8859,9213,9567,9922,10276,10631,10986,11340,11694,12048,12402,12757,13112,13466,13821,14175,14529,14883,15237,15592,15947,16301,16655,17009,17363,17718,18072,18427,18782,19136,19490,19844,20198,20553,20908,21262,21617,21971,22325,22679,23034,23388,23743,24097,24451,24805,25160,25514,25869,26224,26578,26932,27286,27640,27995,28349,28704,29058,29412,29766,30121,30475,30830,31184,31539,31893,32247,32601,32956,33310,33665,34020,34374,34728,35082,35436,35791,36146,36501,36855,37209,37563,37917,38272,38627,38981,39336,39690,40044,40398,40752,41107,41461,41816,42170,42524,42878,43233,43587,43942,44296,44651,45005,45359,45713,46068,46423,46777,47131,47151]};SP.DateTimeUtil.UmAlQuraCalendarImpl.prototype={$N_0:function(b,d,f){ULS4T7:;if(b>1451)return 156477;for(var c=109326+this.$S_0[b-1318]+29*(d-1)+f,e=this.$V_0[b-1318],a=0;a>>a)===1)++c;return c-1},$L_0:function(g){ULS4T7:;for(var c=new SP.DateTimeUtil.SimpleDate(0,0,0,0),a=g-109326+1,b=0;b<134;++b)if(this.$S_0[b]<=a&&this.$S_0[b+1]>=a){c.set_year(1318+b);a-=this.$S_0[b]}for(var f=this.$V_0[c.get_year()-1318],d=0;d<12;++d){var e=29;e+=1&f>>d;if(e>>d-1)===1?1:0);return b},$i_0:function(){ULS4T7:;var a=new Date;return SP.DateTimeUtil.GregorianCalendarImpl.$N(a.getFullYear(),a.getMonth()+1,a.getDate())}};SP.DateTimeUtil.SolarCalendarImpl=function(){};SP.DateTimeUtil.SolarCalendarImpl.$9=function(a){ULS4T7:;return 0===a%400?true:0===a%100?false:0===a%4?true:false};SP.DateTimeUtil.SolarCalendarImpl.$6=function(){ULS4T7:;return SP.DateTimeUtil.SolarCalendarImpl._MonthsInYear};SP.DateTimeUtil.SimpleDate=function(b,a,c,d){ULS4T7:;this.$2_0=b;this.$3_0=a;this.$4_0=c;this.$8_0=d;this.$r_0=b+a+c+d};SP.DateTimeUtil.SimpleDate.dateGreater=function(a,b){ULS4T7:;return a.get_era()>b.get_era()||a.get_era()===b.get_era()&&(a.get_year()>b.get_year()||a.get_year()===b.get_year()&&(a.get_month()>b.get_month()||a.get_month()===b.get_month()&&a.get_day()>b.get_day()))};SP.DateTimeUtil.SimpleDate.dateLess=function(a,b){ULS4T7:;return a.get_era()6;if(!j&&SP.DateTimeUtil.SPRelativeDateTime.$1N(a,c))return SP.DateTimeUtil.SPRelativeDateTime.$E(b,9);if(i<30)return SP.DateTimeUtil.SPRelativeDateTime.$E(b,1);if(i<120)return SP.DateTimeUtil.SPRelativeDateTime.$E(b,2);if(d<=50){var w=Math.round(d).toString();return SP.DateTimeUtil.SPRelativeDateTime.$E(b,3,w)}if(d<=110)return SP.DateTimeUtil.SPRelativeDateTime.$E(b,4);var n=SP.DateTimeUtil.IntlDate.createFromJsLocalDate(h,f);n.addDays(-1);var o=SP.DateTimeUtil.IntlDate.createFromJsLocalDate(h,f);o.addDays(1);var t=n.toJsDate().getTime()===g.getTime(),u=o.toJsDate().getTime()===g.getTime();if(t||u)return j?SP.DateTimeUtil.SPRelativeDateTime.$E(b,5,r(a)):SP.DateTimeUtil.SPRelativeDateTime.$E(b,5);if(l<24){var x=SP.DateTimeUtil.SPRelativeDateTime.$1L(Math.round(l));return SP.DateTimeUtil.SPRelativeDateTime.$E(b,6,x)}var v=SP.DateTimeUtil.SPRelativeDateTime.$1l(a.getDay(),c.getDay(),C,e);if(v){var p=D(a);return j?SP.DateTimeUtil.SPRelativeDateTime.$E(b,7,p,r(a)):SP.DateTimeUtil.SPRelativeDateTime.$E(b,7,p)}if(m<=6){var y=SP.DateTimeUtil.SPRelativeDateTime.$1L(m);return SP.DateTimeUtil.SPRelativeDateTime.$E(b,8,y)}if(SP.DateTimeUtil.SPRelativeDateTime.$1m(a,c))return String.format("0|{0}",s(a));else{var q=Strings.STS.L_RelativeDateTime_Format_DateTimeFormattingString_Override;if(q==="ShortDatePattern")return"0|"+a.localeFormat("d");if(q==="LongDatePattern")return"0|"+a.localeFormat("D");var z=s(a),A=E(a),B="0|"+Strings.STS.L_RelativeDateTime_Format_DateTimeFormattingString;return String.format(B,z,A)}};SP.DateTimeUtil.SPRelativeDateTime.$1N=function(a,b){ULS4T7:;return SP.DateTimeUtil.SPRelativeDateTime.$j(a).getTime()===SP.DateTimeUtil.SPRelativeDateTime.$j(b).getTime()};SP.DateTimeUtil.SPRelativeDateTime.$j=function(a){ULS4T7:;return new Date(a.getFullYear(),a.getMonth(),a.getDate())};SP.DateTimeUtil.SPRelativeDateTime.$1m=function(a,b){ULS4T7:;return a.getFullYear()===b.getFullYear()};SP.DateTimeUtil.SPRelativeDateTime.$1L=function(a){ULS4T7:;return a.toString()};SP.DateTimeUtil.SPRelativeDateTime.$1l=function(f,g,d,a){ULS4T7:;var b=(f+(7-d))%7,c=(g+(7-d))%7,e=a<7&&a>-7&&(a>0&&b-c>0||a<0&&c-b>0||!a);return e};SP.DateTimeUtil.SPRelativeDateTime.$E=function(g,h){ULS4T7:;for(var c=[],a=2;a0};SP.DateTimeUtil.DateFormat.$1o=function(a){ULS4T7:;return a===15||a===14};SP.DateTimeUtil.DateFormat.$1r=function(a){ULS4T7:;return a===8};SP.DateTimeUtil.DateFormat.$1n=function(a){ULS4T7:;return a===4||a===3||a===5};SP.DateTimeUtil.DateFormat.$1b=function(c){ULS4T7:;for(var a=0;a=a.lunarLeapMonth()?a.get_month()-2:a.get_month()-1,b="";if(a.$1_0===14&&SP.DateTimeUtil.DateFormat.$1q(c))b=SP.DateTimeUtil.DateFormat.$1D;else if(a.$1_0===14&&SP.DateTimeUtil.DateFormat.$1p(c))b=SP.DateTimeUtil.DateFormat.$1A;else if(a.$1_0===15&&SP.DateTimeUtil.DateFormat.$1j(c))b=SP.DateTimeUtil.DateFormat.$1G;else if(a.$1_0===15&&SP.DateTimeUtil.DateFormat.$1k(c))b=SP.DateTimeUtil.DateFormat.$13;else throw Error.argumentOutOfRange();return b+d[this.$1H_0(e)][f]}else if(SP.DateTimeUtil.DateFormat.$1r(a.$1_0)&&a.lunarLeapMonth()!==-1)switch(e){case 2:case 0:return d.AbbreviatedLeapMonthNames[a.get_month()-1];case 3:case 1:return d.LeapMonthNames[a.get_month()-1];default:throw Error.argumentOutOfRange();}else return d[this.$1H_0(e)][a.get_month()-1]},$1H_0:function(a){ULS4T7:;switch(a){case 2:return"AbbreviatedMonthGenitiveNames";case 0:return"AbbreviatedMonthNames";case 3:return"MonthGenitiveNames";case 1:return"MonthNames";default:throw Error.argumentOutOfRange();}},$D_0:function(a,d,e){ULS4T7:;if(a.lengthg){a=d.substring(g+1,k);SP.DateTimeUtil.DateFormat.$T.lastIndex=k+1}else a="";break;case"w":a=b.get_weekOfYear().toString();break;case":":a=c.TimeSeparator;break;case"/":a=c.DateSeparator;break;case"rrr":var i="",l=b.get_monthThird();if(l===1)i="1";else if(l===2)i="11";else if(l===3)i="21";else throw Error.argumentOutOfRange();a=i;break;case"rr":case"r":a=b.get_monthThird().toString();break;case"l":a=b.get_halfYear().toString();break;case"q":a=b.get_quarter().toString();break;case"ddddd":a=c.ShortestDayNames[b.get_dayOfWeek()];break;case"dddd":a=c.DayNames[b.get_dayOfWeek()];break;case"ddd":a=c.AbbreviatedDayNames[b.get_dayOfWeek()];break;case"dd":a=this.$D_0(b.get_day().toString(),2,"0");break;case"d":a=b.get_day().toString();break;case"MMMM":a=this.$1F_0(b,f,1);break;case"MMM":a=this.$1F_0(b,f,0);break;case"MM":a=this.$D_0(b.get_month().toString(),2,"0");break;case"M":a=b.get_month().toString();break;case"yyyy":a=b.get_year().toString();break;case"yy":a=this.$D_0((b.get_year()%100).toString(),2,"0");break;case"y":a=(b.get_year()%100).toString();break;case"h":case"hh":var m=b.get_hours()%12;if(m)a=m.toString();else a="12";if(e==="hh")a=this.$D_0(a.toString(),2,"0");break;case"HH":a=this.$D_0(b.get_hours().toString(),2,"0");break;case"H":a=b.get_hours().toString();break;case"mm":a=this.$D_0(b.get_minutes().toString(),2,"0");break;case"m":a=b.get_minutes().toString();break;case"ss":a=this.$D_0(b.get_seconds().toString(),2,"0");break;case"s":a=b.get_seconds().toString();break;case"am":a=c.AMDesignator;break;case"pm":a=c.PMDesignator;break;case"t":case"tt":a=b.get_hours()<12?c.AMDesignator:c.PMDesignator;if(e==="t")a=a.charAt(0).toString();break;case"fff":a=this.$D_0(b.get_milliSeconds().toString(),3,"0");break;case"ff":a=this.$D_0(b.get_milliSeconds().toString(),3," ").substr(0,2);break;case"f":a=this.$D_0(b.get_milliSeconds().toString(),3," ").charAt(0).toString();break;case"gg":a=SP.DateTimeUtil.DateFormat.$14(b,f,3);break;case"z":var n=b.get_timezoneOffset()/60;a=(n>=0?"-":"+")+Math.floor(Math.abs(n));break;case"zz":case"zzz":var o=b.get_timezoneOffset()/60;a=(o>=0?"-":"+")+this.$D_0(Math.floor(Math.abs(o)).toString(),2,"0");if(e==="zzz")a+=c.TimeSeparator+this.$D_0(Math.abs(b.get_timezoneOffset()%60).toString(),2,"0")}j.append(a)}return j.toString()}};SP.DateTimeUtil.DateFormat.EraInfo=function(a,b,c,d,e,f){ULS4T7:;this.$p_0=b;this.$q_0=a;this.$1K_0=c;this.$1J_0=d;this.$1I_0=e;this.$s_0=f};SP.DateTimeUtil.DateFormat.EraInfo.prototype={$p_0:0,$q_0:0,$1K_0:0,$1J_0:0,$1I_0:0,$s_0:null};SP.DateTimeUtil.SolarCalendarImpl.registerClass("SP.DateTimeUtil.SolarCalendarImpl");SP.DateTimeUtil.GregorianCalendarImpl.registerClass("SP.DateTimeUtil.GregorianCalendarImpl",SP.DateTimeUtil.SolarCalendarImpl);SP.DateTimeUtil.SPIntlCal.registerClass("SP.DateTimeUtil.SPIntlCal");SP.DateTimeUtil.SPGregorianCalendar.registerClass("SP.DateTimeUtil.SPGregorianCalendar",null,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.SPJapaneseCalendar.registerClass("SP.DateTimeUtil.SPJapaneseCalendar",SP.DateTimeUtil.SPGregorianCalendar);SP.DateTimeUtil.SPThaiCalendar.registerClass("SP.DateTimeUtil.SPThaiCalendar",SP.DateTimeUtil.SPGregorianCalendar);SP.DateTimeUtil.SPTaiwaneseCalendar.registerClass("SP.DateTimeUtil.SPTaiwaneseCalendar",SP.DateTimeUtil.SPGregorianCalendar);SP.DateTimeUtil.SPKoreanCalendar.registerClass("SP.DateTimeUtil.SPKoreanCalendar",SP.DateTimeUtil.SPGregorianCalendar);SP.DateTimeUtil.SPSakaCalendar.registerClass("SP.DateTimeUtil.SPSakaCalendar",null,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.SPHijriCalendar.registerClass("SP.DateTimeUtil.SPHijriCalendar",null,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.SPHebrewCalendar.registerClass("SP.DateTimeUtil.SPHebrewCalendar",null,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.SPFarEastLunarCalendar.registerClass("SP.DateTimeUtil.SPFarEastLunarCalendar");SP.DateTimeUtil.SPChineseLunarCalendar.registerClass("SP.DateTimeUtil.SPChineseLunarCalendar",SP.DateTimeUtil.SPFarEastLunarCalendar,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.SPJapaneseLunarCalendar.registerClass("SP.DateTimeUtil.SPJapaneseLunarCalendar",SP.DateTimeUtil.SPFarEastLunarCalendar,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.SPUmAlQuraCalendar.registerClass("SP.DateTimeUtil.SPUmAlQuraCalendar",null,SP.DateTimeUtil.ISPCalendar);SP.DateTimeUtil.IntlDate.registerClass("SP.DateTimeUtil.IntlDate");SP.DateTimeUtil.GetMonthAdvanceInfoScriptSharpReturn.registerClass("SP.DateTimeUtil.GetMonthAdvanceInfoScriptSharpReturn");SP.DateTimeUtil.SPCalendarUtil.registerClass("SP.DateTimeUtil.SPCalendarUtil");SP.DateTimeUtil.SakaCalendarImpl.registerClass("SP.DateTimeUtil.SakaCalendarImpl",SP.DateTimeUtil.SolarCalendarImpl);SP.DateTimeUtil.HijriCalendarImpl.registerClass("SP.DateTimeUtil.HijriCalendarImpl");SP.DateTimeUtil.HebrewCalendarImpl.registerClass("SP.DateTimeUtil.HebrewCalendarImpl");SP.DateTimeUtil.FarEastLunarCalendarImpl.registerClass("SP.DateTimeUtil.FarEastLunarCalendarImpl");SP.DateTimeUtil.ChineseLunarCalendarImpl.registerClass("SP.DateTimeUtil.ChineseLunarCalendarImpl",SP.DateTimeUtil.FarEastLunarCalendarImpl);SP.DateTimeUtil.JapaneseLunarCalendarImpl.registerClass("SP.DateTimeUtil.JapaneseLunarCalendarImpl",SP.DateTimeUtil.FarEastLunarCalendarImpl);SP.DateTimeUtil.UmAlQuraCalendarImpl.registerClass("SP.DateTimeUtil.UmAlQuraCalendarImpl");SP.DateTimeUtil.SimpleDate.registerClass("SP.DateTimeUtil.SimpleDate");SP.DateTimeUtil.SPRelativeDateTime.registerClass("SP.DateTimeUtil.SPRelativeDateTime");SP.DateTimeUtil.DateFormat.registerClass("SP.DateTimeUtil.DateFormat");SP.DateTimeUtil.DateFormat.EraInfo.registerClass("SP.DateTimeUtil.DateFormat.EraInfo");function sp_datetimeutil_initialize(){ULS4T7:;SP.DateTimeUtil.GregorianCalendarImpl.$7=[[0,31,59,90,120,151,181,212,243,273,304,334,365],[0,31,60,91,121,152,182,213,244,274,305,335,366]];SP.DateTimeUtil.SPIntlCal.daysInWeek=7;SP.DateTimeUtil.SPIntlCal.maxJDay=2666269;SP.DateTimeUtil.SPIntlCal.$X=null;SP.DateTimeUtil.SPIntlCal.$a=null;SP.DateTimeUtil.SPIntlCal.$e=null;SP.DateTimeUtil.SPIntlCal.$c=null;SP.DateTimeUtil.SPIntlCal.$d=null;SP.DateTimeUtil.SPIntlCal.$Z=null;SP.DateTimeUtil.SPIntlCal.$Y=null;SP.DateTimeUtil.SPIntlCal.$f=null;SP.DateTimeUtil.SPIntlCal.$U=null;SP.DateTimeUtil.SPIntlCal.$b=null;SP.DateTimeUtil.SPIntlCal.$g=null;SP.DateTimeUtil.IntlDate.$l=null;SP.DateTimeUtil.SolarCalendarImpl._MonthsInYear=12;SP.DateTimeUtil.SolarCalendarImpl._DaysIn400Years=146097;SP.DateTimeUtil.DateFormat.$1D="\uc724";SP.DateTimeUtil.DateFormat.$1A="\u958f";SP.DateTimeUtil.DateFormat.$13="\u958f";SP.DateTimeUtil.DateFormat.$1G="\u95f0";SP.DateTimeUtil.DateFormat.$12=["zh-TW"];SP.DateTimeUtil.DateFormat.$11=["zh-Hant","zh-SG","zh-Hans","zh-CN","zh-MO"];SP.DateTimeUtil.DateFormat.$1B=["ko","ko-KR"];SP.DateTimeUtil.DateFormat.$18=["ja","ja-JP"];SP.DateTimeUtil.DateFormat.$19=["\u5e74","\u6708","\u65e5"];SP.DateTimeUtil.DateFormat.$1C=["\ub144","\uc6d4","\uc77c"];SP.DateTimeUtil.DateFormat.$1M=["\u5e74","\u6708","\u65e5"];SP.DateTimeUtil.DateFormat.$K=[];SP.DateTimeUtil.DateFormat.$T=new RegExp("ddddd|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|y|hh|h|HH|H|mm|m|q|l|rrr|rr|r|ss|s|am|pm|tt|t|fff|ff|f|w|gg|zzz|zz|z|'","g");SP.DateTimeUtil.DateFormat.$$cctor()}sp_datetimeutil_initialize();RegisterModuleInit("sp.datetimeutil.js",sp_datetimeutil_initialize);function MakeJsDateObject(){ULS4T7:;return new Date}function MakeJsDateObjectFromDateTimeParts(g,e,f,d,b,c,a){ULS4T7:;return new Date(g,e,f,d,b,c,a)}function ULSHmB(){ULS4T7:;var a={};a.ULSTeamName="Microsoft SharePoint Foundation";a.ULSFileName="datetime.commentedjs";return a}function GetRelativeDateTimeString(h){ULS4T7:;var c=null,d=null,e=h.split("|"),a=Boolean(window.ListView)&&Boolean(window.ListView.Strings)?window.ListView.Strings:Strings.STS;if(e[0]=="0")return h.substring(2);var b=e[1]=="1",i=e[2],f=e.length>=4?e[3]:null,g=e.length>=5?e[4]:null;switch(i){case"1":c=b?a.L_RelativeDateTime_AFewSecondsFuture:a.L_RelativeDateTime_AFewSeconds;break;case"2":c=b?a.L_RelativeDateTime_AboutAMinuteFuture:a.L_RelativeDateTime_AboutAMinute;break;case"3":d=GetLocalizedCountValue(b?a.L_RelativeDateTime_XMinutesFuture:a.L_RelativeDateTime_XMinutes,b?a.L_RelativeDateTime_XMinutesFutureIntervals:a.L_RelativeDateTime_XMinutesIntervals,Number(f));break;case"4":c=b?a.L_RelativeDateTime_AboutAnHourFuture:a.L_RelativeDateTime_AboutAnHour;break;case"5":if(f==null)c=b?a.L_RelativeDateTime_Tomorrow:a.L_RelativeDateTime_Yesterday;else d=b?a.L_RelativeDateTime_TomorrowAndTime:a.L_RelativeDateTime_YesterdayAndTime;break;case"6":d=GetLocalizedCountValue(b?a.L_RelativeDateTime_XHoursFuture:a.L_RelativeDateTime_XHours,b?a.L_RelativeDateTime_XHoursFutureIntervals:a.L_RelativeDateTime_XHoursIntervals,Number(f));break;case"7":if(g==null)c=f;else d=a.L_RelativeDateTime_DayAndTime;break;case"8":d=GetLocalizedCountValue(b?a.L_RelativeDateTime_XDaysFuture:a.L_RelativeDateTime_XDays,b?a.L_RelativeDateTime_XDaysFutureIntervals:a.L_RelativeDateTime_XDaysIntervals,Number(f));break;case"9":c=a.L_RelativeDateTime_Today}if(d!=null){c=d.replace("{0}",f);if(g!=null)c=c.replace("{1}",g)}return c}function GetLocalizedCountValue(m,l,e){ULS4T7:;if(m==undefined||l==undefined||e==undefined)return null;var o="",a=-1,h=[];Array.addRange(h,l.split("||"));for(var d=0,s=h.length;d=j){if(c[1]===""){a=d;break}else if(isNaN(Number(c[1])))continue;else n=parseInt(c[1]);if(e<=n){a=d;break}}}else if(b.indexOf("*")!=-1){var q=b.trim().replace(/\*/g,"[0-9]*"),t=new RegExp("^"+q+"$");if(t.test(e.toString())){a=d;break}}}else{var p=parseInt(b);if(e===p){a=d;break}}}if(a!==-1)break}if(a!==-1){var f=m.split("||");if(f!=null&&f[a]!=null&&f[a]!="")o=f[a]}return o}function GetDaysAfterToday(d){ULS4T7:;if(Boolean(window._spRegionalSettings)){if(!("currentDateInLocalCalendar"in window._spRegionalSettings))return 0;var a=window._spRegionalSettings.currentDateInLocalCalendar;if(a==null)return 0;var b=new Date(a.getFullYear(),a.getMonth(),a.getDate()),e=d.getTime(),f=b.getTime(),c=e-f;return Math.floor(c/864e5)}return 0}typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs=="function"&&NotifyScriptLoadedAndExecuteWaitingJobs("sp.datetimeutil.js");typeof spWriteProfilerMark=="function"&&spWriteProfilerMark("perfMarkEnd_sp.datetimeutil.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.documentmanagement.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.documentmanagement.js deleted file mode 100644 index 66a7cbbec..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.documentmanagement.js +++ /dev/null @@ -1,2 +0,0 @@ -function ULSPjj(){var o=new Object;o.ULSTeamName="DLC Server";o.ULSFileName="SP.DocumentManagement.js";return o;} -Type.registerNamespace("SP.DocumentManagement");SP.DocumentManagement.MetadataDefaults=function(a){ULSPjj:;SP.DocumentManagement.MetadataDefaults.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{9410c048-d7df-4e86-b218-be5b4f4c427f}",arguments)])};SP.DocumentManagement.MetadataDefaults.newObject=function(a,b){ULSPjj:;return new SP.DocumentManagement.MetadataDefaults(a,new SP.ObjectPathConstructor(a,"{9410c048-d7df-4e86-b218-be5b4f4c427f}",[b]))};SP.DocumentManagement.MetadataDefaults.prototype={setFieldDefault:function(e,d,f){ULSPjj:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"SetFieldDefault",[e,d,f]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},update:function(){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};Type.registerNamespace("SP.DocumentSet");SP.DocumentSet.AllowedContentTypeCollection=function(b,a){ULSPjj:;SP.DocumentSet.AllowedContentTypeCollection.initializeBase(this,[b,a])};SP.DocumentSet.AllowedContentTypeCollection.prototype={itemAt:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_item:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSPjj:;return SP.ContentTypeId},add:function(c){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Add",[c]);a.addQuery(b)},remove:function(c){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Remove",[c]);a.addQuery(b)}};SP.DocumentSet.DefaultDocument=function(b,a){ULSPjj:;SP.DocumentSet.DefaultDocument.initializeBase(this,[b,a])};SP.DocumentSet.DefaultDocument.prototype={get_contentTypeId:function(){ULSPjj:;this.checkUninitializedProperty("ContentTypeId");return this.get_objectData().get_properties().ContentTypeId},set_contentTypeId:function(a){ULSPjj:;this.get_objectData().get_properties().ContentTypeId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ContentTypeId",a));return a},get_name:function(){ULSPjj:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},initPropertiesFromJson:function(b){ULSPjj:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ContentTypeId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ContentTypeId=SP.DataConvert.fixupType(this.get_context(),a);delete b.ContentTypeId}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}}};SP.DocumentSet.DefaultDocumentPropertyNames=function(){};SP.DocumentSet.DefaultDocumentCollection=function(b,a){ULSPjj:;SP.DocumentSet.DefaultDocumentCollection.initializeBase(this,[b,a])};SP.DocumentSet.DefaultDocumentCollection.prototype={itemAt:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_item:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSPjj:;return SP.DocumentSet.DefaultDocument},add:function(e,d,c){ULSPjj:;var a=this.get_context(),b;b=new SP.DocumentSet.DefaultDocument(a,new SP.ObjectPathMethod(a,this.get_path(),"Add",[e,d,c]));return b},changeContentTypeForDocument:function(e,d){ULSPjj:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ChangeContentTypeForDocument",[e,d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},remove:function(c){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Remove",[c]);a.addQuery(b)}};SP.DocumentSet.DocumentSet=function(b,a){ULSPjj:;SP.DocumentSet.DocumentSet.initializeBase(this,[b,a])};SP.DocumentSet.DocumentSet.getDocumentSet=function(a,c){ULSPjj:;if(!a)throw Error.argumentNull("context");var b;b=new SP.DocumentSet.DocumentSet(a,new SP.ObjectPathStaticMethod(a,"{e32a87f7-b866-407d-971d-027ed940d50f}","GetDocumentSet",[c]));return b};SP.DocumentSet.DocumentSet.create=function(a,d,f,e){ULSPjj:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{e32a87f7-b866-407d-971d-027ed940d50f}","Create",[d,f,e]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.DocumentSet.DocumentSet.importDocumentSet=function(a,d,f,e,c){ULSPjj:;if(!a)throw Error.argumentNull("context");var b;b=new SP.DocumentSet.DocumentSet(a,new SP.ObjectPathStaticMethod(a,"{e32a87f7-b866-407d-971d-027ed940d50f}","ImportDocumentSet",[d,f,e,c]));return b};SP.DocumentSet.DocumentSet.prototype={exportDocumentSet:function(){ULSPjj:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExportDocumentSet",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.DocumentSet.DocumentSetTemplate=function(b,a){ULSPjj:;SP.DocumentSet.DocumentSetTemplate.initializeBase(this,[b,a])};SP.DocumentSet.DocumentSetTemplate.getContentTypeId=function(a){ULSPjj:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{1554af8c-7213-418c-a4a8-b06e7603c68a}","GetContentTypeId",null);a.addQuery(c);b=new SP.ContentTypeId;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.DocumentSet.DocumentSetTemplate.getDocumentSetTemplate=function(a,c){ULSPjj:;if(!a)throw Error.argumentNull("context");var b;b=new SP.DocumentSet.DocumentSetTemplate(a,new SP.ObjectPathStaticMethod(a,"{1554af8c-7213-418c-a4a8-b06e7603c68a}","GetDocumentSetTemplate",[c]));return b};SP.DocumentSet.DocumentSetTemplate.isChildOfDocumentSetContentType=function(a,d){ULSPjj:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{1554af8c-7213-418c-a4a8-b06e7603c68a}","IsChildOfDocumentSetContentType",[d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.DocumentSet.DocumentSetTemplate.prototype={get_allowedContentTypes:function(){ULSPjj:;var a=this.get_objectData().get_clientObjectProperties().AllowedContentTypes;if(SP.ScriptUtility.isUndefined(a)){a=new SP.DocumentSet.AllowedContentTypeCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AllowedContentTypes"));this.get_objectData().get_clientObjectProperties().AllowedContentTypes=a}return a},get_defaultDocuments:function(){ULSPjj:;var a=this.get_objectData().get_clientObjectProperties().DefaultDocuments;if(SP.ScriptUtility.isUndefined(a)){a=new SP.DocumentSet.DefaultDocumentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DefaultDocuments"));this.get_objectData().get_clientObjectProperties().DefaultDocuments=a}return a},get_sharedFields:function(){ULSPjj:;var a=this.get_objectData().get_clientObjectProperties().SharedFields;if(SP.ScriptUtility.isUndefined(a)){a=new SP.DocumentSet.SharedFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SharedFields"));this.get_objectData().get_clientObjectProperties().SharedFields=a}return a},get_welcomePageFields:function(){ULSPjj:;var a=this.get_objectData().get_clientObjectProperties().WelcomePageFields;if(SP.ScriptUtility.isUndefined(a)){a=new SP.DocumentSet.WelcomePageFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WelcomePageFields"));this.get_objectData().get_clientObjectProperties().WelcomePageFields=a}return a},initPropertiesFromJson:function(b){ULSPjj:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AllowedContentTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AllowedContentTypes",this.get_allowedContentTypes(),a);this.get_allowedContentTypes().fromJson(a);delete b.AllowedContentTypes}a=b.DefaultDocuments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DefaultDocuments",this.get_defaultDocuments(),a);this.get_defaultDocuments().fromJson(a);delete b.DefaultDocuments}a=b.SharedFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SharedFields",this.get_sharedFields(),a);this.get_sharedFields().fromJson(a);delete b.SharedFields}a=b.WelcomePageFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WelcomePageFields",this.get_welcomePageFields(),a);this.get_welcomePageFields().fromJson(a);delete b.WelcomePageFields}},update:function(a){ULSPjj:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Update",[a]);b.addQuery(c)}};SP.DocumentSet.DocumentSetTemplateObjectPropertyNames=function(){};SP.DocumentSet.SharedFieldCollection=function(b,a){ULSPjj:;SP.DocumentSet.SharedFieldCollection.initializeBase(this,[b,a])};SP.DocumentSet.SharedFieldCollection.prototype={itemAt:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_item:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSPjj:;return SP.Field},add:function(c){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Add",[c]);a.addQuery(b)},remove:function(c){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Remove",[c]);a.addQuery(b)}};SP.DocumentSet.WelcomePageFieldCollection=function(b,a){ULSPjj:;SP.DocumentSet.WelcomePageFieldCollection.initializeBase(this,[b,a])};SP.DocumentSet.WelcomePageFieldCollection.prototype={itemAt:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_item:function(a){ULSPjj:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSPjj:;return SP.Field},add:function(c){ULSPjj:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Add",[c]);a.addQuery(b)},remove:function(a){ULSPjj:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Remove",[a]);b.addQuery(c)}};Type.registerNamespace("SP.Video");SP.Video.EmbedCodeConfiguration=function(){ULSPjj:;SP.Video.EmbedCodeConfiguration.initializeBase(this)};SP.Video.EmbedCodeConfiguration.prototype={$0_1:false,$1_1:false,$2_1:false,$3_1:false,$4_1:false,$5_1:0,$6_1:0,$7_1:null,$8_1:0,get_autoPlay:function(){ULSPjj:;return this.$0_1},set_autoPlay:function(a){ULSPjj:;this.$0_1=a;return a},get_displayTitle:function(){ULSPjj:;return this.$1_1},set_displayTitle:function(a){ULSPjj:;this.$1_1=a;return a},get_linkToOwnerProfilePage:function(){ULSPjj:;return this.$2_1},set_linkToOwnerProfilePage:function(a){ULSPjj:;this.$2_1=a;return a},get_linkToVideoHomePage:function(){ULSPjj:;return this.$3_1},set_linkToVideoHomePage:function(a){ULSPjj:;this.$3_1=a;return a},get_loop:function(){ULSPjj:;return this.$4_1},set_loop:function(a){ULSPjj:;this.$4_1=a;return a},get_pixelHeight:function(){ULSPjj:;return this.$5_1},set_pixelHeight:function(a){ULSPjj:;this.$5_1=a;return a},get_pixelWidth:function(){ULSPjj:;return this.$6_1},set_pixelWidth:function(a){ULSPjj:;this.$6_1=a;return a},get_previewImagePath:function(){ULSPjj:;return this.$7_1},set_previewImagePath:function(a){ULSPjj:;this.$7_1=a;return a},get_startTime:function(){ULSPjj:;return this.$8_1},set_startTime:function(a){ULSPjj:;this.$8_1=a;return a},get_typeId:function(){ULSPjj:;return"{294cf1eb-cef4-49e0-b114-648abb3916af}"},writeToXml:function(b,a){ULSPjj:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AutoPlay","DisplayTitle","LinkToOwnerProfilePage","LinkToVideoHomePage","Loop","PixelHeight","PixelWidth","PreviewImagePath","StartTime"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSPjj:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AutoPlay;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.AutoPlay}a=b.DisplayTitle;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.DisplayTitle}a=b.LinkToOwnerProfilePage;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.LinkToOwnerProfilePage}a=b.LinkToVideoHomePage;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.LinkToVideoHomePage}a=b.Loop;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Loop}a=b.PixelHeight;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.PixelHeight}a=b.PixelWidth;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=a;delete b.PixelWidth}a=b.PreviewImagePath;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.PreviewImagePath}a=b.StartTime;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.StartTime}}};SP.Video.VideoSet=function(b,a){ULSPjj:;SP.Video.VideoSet.initializeBase(this,[b,a])};SP.Video.VideoSet.createVideo=function(a,d,f,e){ULSPjj:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{999f0b44-5022-4c04-a0c3-d0705e44395f}","CreateVideo",[d,f,e]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Video.VideoSet.uploadVideo=function(a,h,f,g,d,e){ULSPjj:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{999f0b44-5022-4c04-a0c3-d0705e44395f}","UploadVideo",[h,f,g,d,e]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Video.VideoSet.getEmbedCode=function(a,e,d){ULSPjj:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{999f0b44-5022-4c04-a0c3-d0705e44395f}","GetEmbedCode",[e,d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Video.VideoSet.migrateVideo=function(a,c){ULSPjj:;if(!a)throw Error.argumentNull("context");var b;b=new SP.ListItem(a,new SP.ObjectPathStaticMethod(a,"{999f0b44-5022-4c04-a0c3-d0705e44395f}","MigrateVideo",[c]));return b};SP.DocumentManagement.MetadataDefaults.registerClass("SP.DocumentManagement.MetadataDefaults",SP.ClientObject);SP.DocumentSet.AllowedContentTypeCollection.registerClass("SP.DocumentSet.AllowedContentTypeCollection",SP.ClientObjectCollection);SP.DocumentSet.DefaultDocument.registerClass("SP.DocumentSet.DefaultDocument",SP.ClientObject);SP.DocumentSet.DefaultDocumentPropertyNames.registerClass("SP.DocumentSet.DefaultDocumentPropertyNames");SP.DocumentSet.DefaultDocumentCollection.registerClass("SP.DocumentSet.DefaultDocumentCollection",SP.ClientObjectCollection);SP.DocumentSet.DocumentSet.registerClass("SP.DocumentSet.DocumentSet",SP.ClientObject);SP.DocumentSet.DocumentSetTemplate.registerClass("SP.DocumentSet.DocumentSetTemplate",SP.ClientObject);SP.DocumentSet.DocumentSetTemplateObjectPropertyNames.registerClass("SP.DocumentSet.DocumentSetTemplateObjectPropertyNames");SP.DocumentSet.SharedFieldCollection.registerClass("SP.DocumentSet.SharedFieldCollection",SP.ClientObjectCollection);SP.DocumentSet.WelcomePageFieldCollection.registerClass("SP.DocumentSet.WelcomePageFieldCollection",SP.ClientObjectCollection);SP.Video.EmbedCodeConfiguration.registerClass("SP.Video.EmbedCodeConfiguration",SP.ClientValueObject);SP.Video.VideoSet.registerClass("SP.Video.VideoSet",SP.DocumentSet.DocumentSet);function sp_documentmanagement_initialize(){ULSPjj:;SP.DocumentSet.DefaultDocumentPropertyNames.contentTypeId="ContentTypeId";SP.DocumentSet.DefaultDocumentPropertyNames.name="Name";SP.DocumentSet.DocumentSetTemplateObjectPropertyNames.allowedContentTypes="AllowedContentTypes";SP.DocumentSet.DocumentSetTemplateObjectPropertyNames.defaultDocuments="DefaultDocuments";SP.DocumentSet.DocumentSetTemplateObjectPropertyNames.sharedFields="SharedFields";SP.DocumentSet.DocumentSetTemplateObjectPropertyNames.welcomePageFields="WelcomePageFields"}sp_documentmanagement_initialize();RegisterModuleInit("sp.documentmanagement.js",sp_documentmanagement_initialize);typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("SP.DocumentManagement.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.js deleted file mode 100644 index c0622ae13..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.js +++ /dev/null @@ -1,2 +0,0 @@ -function ULSdih(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.js";return o;} -if("undefined"==typeof g_all_modules)g_all_modules={};g_all_modules["sp.js"]={version:{rmj:16,rmm:0,rup:5813,rpr:1200}};typeof spWriteProfilerMark=="function"&&spWriteProfilerMark("perfMarkBegin_sp.js");Type.registerNamespace("SP");SP.ULSTraceLevel=function(){};SP.ULSTraceLevel.prototype={verbose:100};SP.ULSTraceLevel.registerEnum("SP.ULSTraceLevel",false);SP.AddFieldOptions=function(){};SP.AddFieldOptions.prototype={defaultValue:0,addToDefaultContentType:1,addToNoContentType:2,addToAllContentTypes:4,addFieldInternalNameHint:8,addFieldToDefaultView:16,addFieldCheckDisplayName:32};SP.AddFieldOptions.registerEnum("SP.AddFieldOptions",false);SP.AnonymousLinkType=function(){};SP.AnonymousLinkType.prototype={none:0,view:1,edit:2};SP.AnonymousLinkType.registerEnum("SP.AnonymousLinkType",false);SP.AppInstanceErrorSource=function(){};SP.AppInstanceErrorSource.prototype={common:0,appWeb:1,parentWeb:2,remoteWebSite:3,database:4,officeExtension:5,eventCallouts:6,finalization:7};SP.AppInstanceErrorSource.registerEnum("SP.AppInstanceErrorSource",false);SP.AppInstanceErrorType=function(){};SP.AppInstanceErrorType.prototype={"transient":0,configuration:1,app:2};SP.AppInstanceErrorType.registerEnum("SP.AppInstanceErrorType",false);SP.AppInstanceStatus=function(){};SP.AppInstanceStatus.prototype={invalidStatus:0,installing:1,canceling:7,uninstalling:4,installed:5,upgrading:8,initialized:9,upgradeCanceling:10,disabling:11,disabled:12,secretRolling:13,recycling:14,recycled:15,restoring:16,restoreCanceling:17};SP.AppInstanceStatus.registerEnum("SP.AppInstanceStatus",false);SP.AppLicenseType=function(){};SP.AppLicenseType.prototype={perpetualMultiUser:0,perpetualAllUsers:1,trialMultiUser:2,trialAllUsers:3};SP.AppLicenseType.registerEnum("SP.AppLicenseType",false);SP.AppStatus=function(){};SP.AppStatus.prototype={invalidStatus:0,installing:1,canceling:2,uninstalling:3,installed:4,upgrading:5,initialized:6,upgradeCanceling:7,disabling:8,disabled:9,secretRolling:10,recycling:11,recycled:12,restoring:13,restoreCanceling:14};SP.AppStatus.registerEnum("SP.AppStatus",false);SP.AppType=function(){};SP.AppType.prototype={doclib:0,list:1,tenant:2,instance:3,feature:4,commonList:5};SP.AppType.registerEnum("SP.AppType",false);SP.AuditMaskType=function(){};SP.AuditMaskType.prototype={none:0,checkOut:1,checkIn:2,view:4,objectDelete:8,update:16,profileChange:32,childDelete:64,schemaChange:128,securityChange:256,undelete:512,workflow:1024,copy:2048,move:4096,search:8192,all:-1};SP.AuditMaskType.registerEnum("SP.AuditMaskType",false);SP.BaseType=function(){};SP.BaseType.prototype={none:-1,genericList:0,documentLibrary:1,unused:2,discussionBoard:3,survey:4,issue:5};SP.BaseType.registerEnum("SP.BaseType",false);SP.BrowserFileHandling=function(){};SP.BrowserFileHandling.prototype={permissive:0,strict:1};SP.BrowserFileHandling.registerEnum("SP.BrowserFileHandling",false);SP.CalendarType=function(){};SP.CalendarType.prototype={none:0,gregorian:1,japan:3,taiwan:4,korea:5,hijri:6,thai:7,hebrew:8,gregorianMEFrench:9,gregorianArabic:10,gregorianXLITEnglish:11,gregorianXLITFrench:12,koreaJapanLunar:14,chineseLunar:15,sakaEra:16,umAlQura:23};SP.CalendarType.registerEnum("SP.CalendarType",false);SP.ChangeType=function(){};SP.ChangeType.prototype={noChange:0,add:1,update:2,deleteObject:3,rename:4,moveAway:5,moveInto:6,restore:7,roleAdd:8,roleDelete:9,roleUpdate:10,assignmentAdd:11,assignmentDelete:12,memberAdd:13,memberDelete:14,systemUpdate:15,navigation:16,scopeAdd:17,scopeDelete:18,listContentTypeAdd:19,listContentTypeDelete:20,dirty:21,activity:22};SP.ChangeType.registerEnum("SP.ChangeType",false);SP.CheckinType=function(){};SP.CheckinType.prototype={minorCheckIn:0,majorCheckIn:1,overwriteCheckIn:2};SP.CheckinType.registerEnum("SP.CheckinType",false);SP.CheckOutType=function(){};SP.CheckOutType.prototype={online:0,offline:1,none:2};SP.CheckOutType.registerEnum("SP.CheckOutType",false);SP.ChoiceFormatType=function(){};SP.ChoiceFormatType.prototype={dropdown:0,radioButtons:1};SP.ChoiceFormatType.registerEnum("SP.ChoiceFormatType",false);SP.CustomizedPageStatus=function(){};SP.CustomizedPageStatus.prototype={none:0,uncustomized:1,customized:2};SP.CustomizedPageStatus.registerEnum("SP.CustomizedPageStatus",false);SP.DateTimeFieldFormatType=function(){};SP.DateTimeFieldFormatType.prototype={dateOnly:0,dateTime:1};SP.DateTimeFieldFormatType.registerEnum("SP.DateTimeFieldFormatType",false);SP.DateTimeFieldFriendlyFormatType=function(){};SP.DateTimeFieldFriendlyFormatType.prototype={unspecified:0,disabled:1,relative:2};SP.DateTimeFieldFriendlyFormatType.registerEnum("SP.DateTimeFieldFriendlyFormatType",false);SP.DocumentTemplateType=function(){};SP.DocumentTemplateType.prototype={invalid:0,word:1,excel:2,powerPoint:3,oneNote:4,excelForm:5,max:6};SP.DocumentTemplateType.registerEnum("SP.DocumentTemplateType",false);SP.DraftVisibilityType=function(){};SP.DraftVisibilityType.prototype={reader:0,author:1,approver:2};SP.DraftVisibilityType.registerEnum("SP.DraftVisibilityType",false);SP.EventReceiverSynchronization=function(){};SP.EventReceiverSynchronization.prototype={defaultSynchronization:0,synchronous:1,asynchronous:2};SP.EventReceiverSynchronization.registerEnum("SP.EventReceiverSynchronization",false);SP.EventReceiverType=function(){};SP.EventReceiverType.prototype={invalidReceiver:-1,itemAdding:1,itemUpdating:2,itemDeleting:3,itemCheckingIn:4,itemCheckingOut:5,itemUncheckingOut:6,itemAttachmentAdding:7,itemAttachmentDeleting:8,itemFileMoving:9,itemVersionDeleting:11,fieldAdding:101,fieldUpdating:102,fieldDeleting:103,listAdding:104,listDeleting:105,siteDeleting:201,webDeleting:202,webMoving:203,webAdding:204,groupAdding:301,groupUpdating:302,groupDeleting:303,groupUserAdding:304,groupUserDeleting:305,roleDefinitionAdding:306,roleDefinitionUpdating:307,roleDefinitionDeleting:308,roleAssignmentAdding:309,roleAssignmentDeleting:310,inheritanceBreaking:311,inheritanceResetting:312,workflowStarting:501,itemAdded:10001,itemUpdated:10002,itemDeleted:10003,itemCheckedIn:10004,itemCheckedOut:10005,itemUncheckedOut:10006,itemAttachmentAdded:10007,itemAttachmentDeleted:10008,itemFileMoved:10009,itemFileConverted:10010,itemVersionDeleted:10011,fieldAdded:10101,fieldUpdated:10102,fieldDeleted:10103,listAdded:10104,listDeleted:10105,siteDeleted:10201,webDeleted:10202,webRestored:10205,webMoved:10203,webProvisioned:10204,groupAdded:10301,groupUpdated:10302,groupDeleted:10303,groupUserAdded:10304,groupUserDeleted:10305,roleDefinitionAdded:10306,roleDefinitionUpdated:10307,roleDefinitionDeleted:10308,roleAssignmentAdded:10309,roleAssignmentDeleted:10310,inheritanceBroken:10311,inheritanceReset:10312,workflowStarted:10501,workflowPostponed:10502,workflowCompleted:10503,entityInstanceAdded:10601,entityInstanceUpdated:10602,entityInstanceDeleted:10603,appInstalled:10701,appUpgraded:10702,appUninstalling:10703,emailReceived:2e4,contextEvent:32766};SP.EventReceiverType.registerEnum("SP.EventReceiverType",false);SP.FeatureDefinitionScope=function(){};SP.FeatureDefinitionScope.prototype={none:0,farm:1,site:2,web:3};SP.FeatureDefinitionScope.registerEnum("SP.FeatureDefinitionScope",false);SP.FieldType=function(){};SP.FieldType.prototype={invalid:0,integer:1,text:2,note:3,dateTime:4,counter:5,choice:6,lookup:7,"boolean":8,number:9,currency:10,URL:11,computed:12,threading:13,guid:14,multiChoice:15,gridChoice:16,calculated:17,file:18,attachments:19,user:20,recurrence:21,crossProjectLink:22,modStat:23,error:24,contentTypeId:25,pageSeparator:26,threadIndex:27,workflowStatus:28,allDayEvent:29,workflowEventType:30,geolocation:31,outcomeChoice:32,maxItems:33};SP.FieldType.registerEnum("SP.FieldType",false);SP.FieldUserSelectionMode=function(){};SP.FieldUserSelectionMode.prototype={peopleOnly:0,peopleAndGroups:1};SP.FieldUserSelectionMode.registerEnum("SP.FieldUserSelectionMode",false);SP.FileLevel=function(){};SP.FileLevel.prototype={published:1,draft:2,checkout:255};SP.FileLevel.registerEnum("SP.FileLevel",false);SP.FileSystemObjectType=function(){};SP.FileSystemObjectType.prototype={invalid:-1,file:0,folder:1,web:2};SP.FileSystemObjectType.registerEnum("SP.FileSystemObjectType",false);SP.FileVersionEventType=function(){};SP.FileVersionEventType.prototype={share:1,rename:2,restore:3,maxServerType:28671,fromClient:28672};SP.FileVersionEventType.registerEnum("SP.FileVersionEventType",false);SP.FlowSynchronizationStatus=function(){};SP.FlowSynchronizationStatus.prototype={success:0,notFound:1,forbidden:2,timeOut:3,unexpectedError:4};SP.FlowSynchronizationStatus.registerEnum("SP.FlowSynchronizationStatus",false);SP.ListDataValidationFailureReason=function(){};SP.ListDataValidationFailureReason.prototype={dataFailure:0,formulaError:1};SP.ListDataValidationFailureReason.registerEnum("SP.ListDataValidationFailureReason",false);SP.ListDataValidationType=function(){};SP.ListDataValidationType.prototype={userFormulaField:0,userFormulaItem:1,requiredField:2,choiceField:3,minMaxField:4,textField:5};SP.ListDataValidationType.registerEnum("SP.ListDataValidationType",false);SP.ListExperience=function(){};SP.ListExperience.prototype={auto:0,newExperience:1,classicExperience:2};SP.ListExperience.registerEnum("SP.ListExperience",false);SP.ListTemplateType=function(){};SP.ListTemplateType.prototype={invalidType:-1,noListTemplate:0,genericList:100,documentLibrary:101,survey:102,links:103,announcements:104,contacts:105,events:106,tasks:107,discussionBoard:108,pictureLibrary:109,dataSources:110,webTemplateCatalog:111,userInformation:112,webPartCatalog:113,listTemplateCatalog:114,xmlForm:115,masterPageCatalog:116,noCodeWorkflows:117,workflowProcess:118,webPageLibrary:119,customGrid:120,solutionCatalog:121,noCodePublic:122,themeCatalog:123,designCatalog:124,appDataCatalog:125,dataConnectionLibrary:130,workflowHistory:140,ganttTasks:150,helpLibrary:151,accessRequest:160,tasksWithTimelineAndHierarchy:171,maintenanceLogs:175,meetings:200,agenda:201,meetingUser:202,decision:204,meetingObjective:207,textBox:210,thingsToBring:211,homePageLibrary:212,posts:301,comments:302,categories:303,facility:402,whereabouts:403,callTrack:404,circulation:405,timecard:420,holidays:421,imeDic:499,externalList:600,mySiteDocumentLibrary:700,issueTracking:1100,adminTasks:1200,healthRules:1220,healthReports:1221,developerSiteDraftApps:1230,accessApp:3100,alchemyMobileForm:3101,alchemyApprovalWorkflow:3102,sharingLinks:3300,hashtagStore:3400,itemReferenceCollection:3500,itemReferenceReference:3501,itemReferenceReferenceCollection:3502};SP.ListTemplateType.registerEnum("SP.ListTemplateType",false);SP.MigrationJobState=function(){};SP.MigrationJobState.prototype={none:0,queued:2,processing:4};SP.MigrationJobState.registerEnum("SP.MigrationJobState",false);SP.MoveOperations=function(){};SP.MoveOperations.prototype={none:0,overwrite:1,allowBrokenThickets:8,bypassApprovePermission:64};SP.MoveOperations.registerEnum("SP.MoveOperations",false);SP.OpenWebOptions=function(){};SP.OpenWebOptions.prototype={none:0,initNavigationCache:1};SP.OpenWebOptions.registerEnum("SP.OpenWebOptions",false);SP.PageType=function(){};SP.PageType.prototype={invalid:-1,defaultView:0,normalView:1,dialogView:2,view:3,displayForm:4,displayFormDialog:5,editForm:6,editFormDialog:7,newForm:8,newFormDialog:9,solutionForm:10,pagE_MAXITEMS:11};SP.PageType.registerEnum("SP.PageType",false);SP.PolicyTipUserAction=function(){};SP.PolicyTipUserAction.prototype={override:0,reportFalsePositive:1};SP.PolicyTipUserAction.registerEnum("SP.PolicyTipUserAction",false);SP.PolicyTipUserActionResult=function(){};SP.PolicyTipUserActionResult.prototype={none:0,falsePositiveReported:1,overridden:2,falsePositiveReportedAndOverridden:3};SP.PolicyTipUserActionResult.registerEnum("SP.PolicyTipUserActionResult",false);SP.QuickLaunchOptions=function(){};SP.QuickLaunchOptions.prototype={off:0,on:1,defaultValue:2};SP.QuickLaunchOptions.registerEnum("SP.QuickLaunchOptions",false);SP.RecycleBinItemState=function(){};SP.RecycleBinItemState.prototype={none:0,firstStageRecycleBin:1,secondStageRecycleBin:2};SP.RecycleBinItemState.registerEnum("SP.RecycleBinItemState",false);SP.RecycleBinItemType=function(){};SP.RecycleBinItemType.prototype={none:0,file:1,fileVersion:2,listItem:3,list:4,folder:5,folderWithLists:6,attachment:7,listItemVersion:8,cascadeParent:9,web:10,app:11};SP.RecycleBinItemType.registerEnum("SP.RecycleBinItemType",false);SP.RecycleBinOrderBy=function(){};SP.RecycleBinOrderBy.prototype={min:0,defaultOrderBy:0,title:0,dirName:1,author:2,deletedDate:3,size:4,deletedBy:5,none:6,max:6};SP.RecycleBinOrderBy.registerEnum("SP.RecycleBinOrderBy",false);SP.RelationshipDeleteBehaviorType=function(){};SP.RelationshipDeleteBehaviorType.prototype={none:0,cascade:1,restrict:2};SP.RelationshipDeleteBehaviorType.registerEnum("SP.RelationshipDeleteBehaviorType",false);SP.RenderListDataOptions=function(){};SP.RenderListDataOptions.prototype={none:0,contextInfo:1,listData:2,listSchema:4,menuView:8,listContentType:16,fileSystemItemId:32,clientFormSchema:64,quickLaunch:128,spotlight:256,visualization:512,viewMetadata:1024,disableAutoHyperlink:2048,enableMediaTAUrls:4096,parentInfo:8192};SP.RenderListDataOptions.registerEnum("SP.RenderListDataOptions",false);SP.RenderListFormDataOptions=function(){};SP.RenderListFormDataOptions.prototype={none:0,excludeListSchema:1,includeAttachments:2,includeListViewData:4};SP.RenderListFormDataOptions.registerEnum("SP.RenderListFormDataOptions",false);SP.RoleType=function(){};SP.RoleType.prototype={none:0,guest:1,reader:2,contributor:3,webDesigner:4,administrator:5,editor:6,system:255};SP.RoleType.registerEnum("SP.RoleType",false);SP.RuleOverrideOptions=function(){};SP.RuleOverrideOptions.prototype={none:0,allow:1,allowWithJustification:2};SP.RuleOverrideOptions.registerEnum("SP.RuleOverrideOptions",false);SP.SandboxedCodeActivationCapabilities=function(){};SP.SandboxedCodeActivationCapabilities.prototype={check:1,disabled:2,enabled:3};SP.SandboxedCodeActivationCapabilities.registerEnum("SP.SandboxedCodeActivationCapabilities",false);SP.SharingLinkKind=function(){};SP.SharingLinkKind.prototype={uninitialized:0,direct:1,organizationView:2,organizationEdit:3,anonymousView:4,anonymousEdit:5,flexible:6};SP.SharingLinkKind.registerEnum("SP.SharingLinkKind",false);SP.SharingOperationStatusCode=function(){};SP.SharingOperationStatusCode.prototype={completedSuccessfully:0,accessRequestsQueued:1,noResolvedUsers:-1,accessDenied:-2,crossSiteRequestNotSupported:-3,unknowError:-4,emailBodyTooLong:-5,listUniqueScopesExceeded:-6,capabilityDisabled:-7,objectNotSupported:-8,nestedGroupsNotSupported:-9};SP.SharingOperationStatusCode.registerEnum("SP.SharingOperationStatusCode",false);SP.SharingPermissionKind=function(){};SP.SharingPermissionKind.prototype={group:0,role:1};SP.SharingPermissionKind.registerEnum("SP.SharingPermissionKind",false);SP.SharingState=function(){};SP.SharingState.prototype={unspecified:0,on:1,off:2};SP.SharingState.registerEnum("SP.SharingState",false);SP.SPChangeActivityType=function(){};SP.SPChangeActivityType.prototype={noActivity:0,hashtag:1,spotlight:2,comment:3};SP.SPChangeActivityType.registerEnum("SP.SPChangeActivityType",false);SP.SpecialFolderType=function(){};SP.SpecialFolderType.prototype={attachment:0,photos:1,cameraRoll:2,music:3,apps:4,appRoot:5};SP.SpecialFolderType.registerEnum("SP.SpecialFolderType",false);SP.SPEffectiveInformationRightsManagementSettingsSource=function(){};SP.SPEffectiveInformationRightsManagementSettingsSource.prototype={none:0,file:1,list:2,rule:3};SP.SPEffectiveInformationRightsManagementSettingsSource.registerEnum("SP.SPEffectiveInformationRightsManagementSettingsSource",false);SP.TemplateFileType=function(){};SP.TemplateFileType.prototype={standardPage:0,wikiPage:1,formPage:2};SP.TemplateFileType.registerEnum("SP.TemplateFileType",false);SP.UpgradeStatus=function(){};SP.UpgradeStatus.prototype={none:0,inProgress:1,failed:2,completed:3};SP.UpgradeStatus.registerEnum("SP.UpgradeStatus",false);SP.UpgradeType=function(){};SP.UpgradeType.prototype={buildUpgrade:0,versionUpgrade:1};SP.UpgradeType.registerEnum("SP.UpgradeType",false);SP.UrlFieldFormatType=function(){};SP.UrlFieldFormatType.prototype={hyperlink:0,image:1};SP.UrlFieldFormatType.registerEnum("SP.UrlFieldFormatType",false);SP.UrlZone=function(){};SP.UrlZone.prototype={defaultZone:0,intranet:1,internet:2,custom:3,extranet:4};SP.UrlZone.registerEnum("SP.UrlZone",false);SP.UserCustomActionRegistrationType=function(){};SP.UserCustomActionRegistrationType.prototype={none:0,list:1,contentType:2,progId:3,fileType:4};SP.UserCustomActionRegistrationType.registerEnum("SP.UserCustomActionRegistrationType",false);SP.UserCustomActionScope=function(){};SP.UserCustomActionScope.prototype={unknown:0,site:2,web:3,list:4};SP.UserCustomActionScope.registerEnum("SP.UserCustomActionScope",false);SP.UserResourceScope=function(){};SP.UserResourceScope.prototype={web:0,list:1};SP.UserResourceScope.registerEnum("SP.UserResourceScope",false);SP.UserResourceType=function(){};SP.UserResourceType.prototype={singleLine:0,multiLine:1};SP.UserResourceType.registerEnum("SP.UserResourceType",false);SP.UserSharingCapabilities=function(){};SP.UserSharingCapabilities.prototype={none:0,canShareInternally:1,canShareExternally:2,canUseReadonlyLink:4,canManageReadonlyLink:8,canUseReadWriteLink:16,canManageReadWriteLink:32,canUseOrganizationReadonlyLink:64,canManageOrganizationReadonlyLink:128,canUseOrganizationReadWriteLink:256,canManageOrganizationReadWriteLink:512};SP.UserSharingCapabilities.registerEnum("SP.UserSharingCapabilities",false);SP.ViewScope=function(){};SP.ViewScope.prototype={defaultValue:0,recursive:1,recursiveAll:2,filesOnly:3};SP.ViewScope.registerEnum("SP.ViewScope",false);SP.ViewType=function(){};SP.ViewType.prototype={none:0,html:1,grid:2048,calendar:524288,recurrence:8193,chart:131072,gantt:67108864};SP.ViewType.registerEnum("SP.ViewType",false);SP.VisualizationAppSynchronizationStatus=function(){};SP.VisualizationAppSynchronizationStatus.prototype={success:0,notFound:1,forbidden:2,timeOut:3,unexpectedError:4};SP.VisualizationAppSynchronizationStatus.registerEnum("SP.VisualizationAppSynchronizationStatus",false);SP.VisualizationAppTarget=function(){};SP.VisualizationAppTarget.prototype={richClient:0,browser:1};SP.VisualizationAppTarget.registerEnum("SP.VisualizationAppTarget",false);SP.VisualizationType=function(){};SP.VisualizationType.prototype={standard:0,custom:1,visualizationApp:2};SP.VisualizationType.registerEnum("SP.VisualizationType",false);SP.ClientContext=function(a){ULSdih:;SP.ClientContext.initializeBase(this,[SP.ScriptUtility.isNullOrUndefined(a)?SP.ClientContext.$8o():a]);this.set_formDigestHandlingEnabled(true)};SP.ClientContext.$8o=function(){ULSdih:;var a=window._spPageContextInfo;if(a)return a.webServerRelativeUrl;throw Error.invalidOperation(SP.ResResources.getString("CannotFindContextWebServerRelativeUrl"));};SP.ClientContext.get_current=function(){ULSdih:;if(!SP.ClientContext.$1w){var a=null,d=window._spPageContextInfo,e=false;if(d)a=d.webServerRelativeUrl;if(SP.ScriptUtility.isNullOrEmptyString(a)){a=window.location.href;var b=a.indexOf("?");if(b>0)a=a.substr(0,b);b=a.indexOf("#");if(b>0)a=a.substr(0,b);for(var f=false,h=a.toLowerCase(),g=["/_layouts","/_vti_bin"],c=0;c0){a=a.substr(0,b);f=true;break}}if(!f){b=a.lastIndexOf(".");if(b>0)a=a.substr(0,b)}e=true}SP.ClientContext.$1w=new SP.ClientContext(a);SP.ClientContext.$1w.set_isPageUrl(e)}return SP.ClientContext.$1w};SP.ClientContext.prototype={$L_1:null,get_web:function(){ULSdih:;if(!this.$L_1){var a=SP.RequestContext.getCurrent(this);this.$L_1=a.get_web()}return this.$L_1},$a_1:null,get_site:function(){ULSdih:;if(!this.$a_1){var a=SP.RequestContext.getCurrent(this);this.$a_1=a.get_site()}return this.$a_1},$1E_1:null,get_requestResources:function(){ULSdih:;if(!this.$1E_1)this.$1E_1=new SP.RequestResources;return this.$1E_1},get_$9C_1:function(){ULSdih:;return!this.$1E_1?null:this.$1E_1.$9F_0()},get_serverVersion:function(){ULSdih:;return this.get_serverLibraryVersion()},executeClientRequestAsync:function(a,c,d){ULSdih:;var b=this.get_$9C_1();if(!SP.ScriptUtility.isNullOrEmptyString(b))a.get_webRequest().get_headers()["X-SP-REQUESTRESOURCES"]=b;SP.ClientRuntimeContext.prototype.executeClientRequestAsync.call(this,a,c,d)}};SP.RequestResources=function(){};SP.RequestResources.prototype={$7_0:null,$6_0:null,$64_0:false,$6D_0:false,$2z_0:false,$4x_0:false,get_listId:function(){ULSdih:;return this.$7_0},set_listId:function(a){ULSdih:;this.$7_0=a;return a},get_userInformationList:function(){ULSdih:;return this.$64_0},set_userInformationList:function(a){ULSdih:;this.$64_0=a;return a},get_webProperties:function(){ULSdih:;return this.$6D_0},set_webProperties:function(a){ULSdih:;this.$6D_0=a;return a},get_features:function(){ULSdih:;return this.$2z_0},set_features:function(a){ULSdih:;this.$2z_0=a;return a},get_navigationStructure:function(){ULSdih:;return this.$4x_0},set_navigationStructure:function(a){ULSdih:;this.$4x_0=a;return a},get_viewId:function(){ULSdih:;return this.$6_0},set_viewId:function(a){ULSdih:;this.$6_0=a;return a},$9F_0:function(){ULSdih:;var a=new Sys.StringBuilder;this.$64_0&&a.append("USERINFOLIST");if(this.$6D_0){!a.isEmpty()&&a.append(",");a.append("WEBPROPERTIES")}if(this.$2z_0){!a.isEmpty()&&a.append(",");a.append("FEATURES")}if(this.$4x_0){!a.isEmpty()&&a.append(",");a.append("NAVIGATIONSTRUCTURE")}if(!SP.ScriptUtility.isNullOrUndefined(this.$7_0)&&!this.$7_0.equals(SP.Guid.get_empty())){!a.isEmpty()&&a.append(",");a.append("LIST");a.append("=");a.append(this.$7_0.toString())}if(!SP.ScriptUtility.isNullOrUndefined(this.$6_0)&&!this.$6_0.equals(SP.Guid.get_empty())){!a.isEmpty()&&a.append(",");a.append("VIEW");a.append("=");a.append(this.$6_0.toString())}return a.toString()}};SP.ULS=function(){};SP.ULS.$8N=function(){ULSdih:;if(SP.ULS.$8H)return null;var a=window.top.s_sp_debugWindow;if(SP.ScriptUtility.isNullOrUndefined(a)||a.closed){try{a=window.open("/_layouts/"+15+"/blank.htm",null,"width=400,height=200,scrollbars=yes,resizable=yes,status=no,location=no,menubar=no,toolbar=no")}catch(b){SP.ULS.$8H=true}a&&window.setTimeout(SP.ULS.$8p,100);window.top.s_sp_debugWindow=a}return a};SP.ULS.$8p=function(){ULSdih:;var d=window.top.s_sp_debugWindow;if(!d)return;try{var a=d.document,b;b=a.createElement("DIV");a.body.appendChild(b);var c=a.createElement("INPUT");c.setAttribute("type","checkbox");c.id="UlsConfigTraceApi";b.appendChild(c);b.appendChild(a.createTextNode("Trace API"));b=a.createElement("DIV");b.id="UlsLogs";a.body.appendChild(b);b=a.getElementById("UlsLogs");b.appendChild(a.createTextNode("Use double-click to clear the entries."));$addHandler(a.body,"dblclick",SP.ULS.$8Z);$addHandler(c,"click",SP.ULS.$9G);a.title="Debug Output"}catch(e){}};SP.ULS.get_enabled=function(){ULSdih:;return SP.ULS.$1H};SP.ULS.set_enabled=function(a){ULSdih:;SP.ULS.$1H=a;return a};SP.ULS.log=function(e){ULSdih:;if(!SP.ULS.$1H)return;var a=(new Date).format("hh:mm:ss.ffff"),b=SP.ULS.$13+e;if(SP.ULS.$Z){for(var c=0;c0)SP.ULS.$13=SP.ULS.$13.substr(0,SP.ULS.$13.length-1)};SP.ULS.traceApiEnter=function(d){ULSdih:;if(!SP.ULS.$1H)return;if(!SP.ULS.$6L)return;SP.ULS.$8J.push(d);for(var a="Enter "+d+"(",b=1;b=0&&a<32){b=b<=32&&a<64){b=b<=0&&b<32){a=a<=32&&b<64){a=a<=0&&a<32){b=b<=32&&a<64){b=b<=0&&b0)Array.removeAt(a,a.length-1)},getById:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetById;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetById=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.RecycleBinItem(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},moveAllToSecondStage:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"MoveAllToSecondStage",null);a.addQuery(b)},deleteAll:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteAll",null);a.addQuery(b);this.$8L_2()},restoreAll:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RestoreAll",null);a.addQuery(b);this.$8L_2()},deleteAllSecondStageItems:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteAllSecondStageItems",null);a.addQuery(b)}};SP.RecycleBinQueryInformation=function(){ULSdih:;SP.RecycleBinQueryInformation.initializeBase(this)};SP.RecycleBinQueryInformation.prototype={$4a_1:false,$4f_1:0,$4y_1:0,$w_1:null,$K_1:0,$5P_1:false,get_isAscending:function(){ULSdih:;return this.$4a_1},set_isAscending:function(a){ULSdih:;this.$4a_1=a;return a},get_itemState:function(){ULSdih:;return this.$4f_1},set_itemState:function(a){ULSdih:;this.$4f_1=a;return a},get_orderBy:function(){ULSdih:;return this.$4y_1},set_orderBy:function(a){ULSdih:;this.$4y_1=a;return a},get_pagingInfo:function(){ULSdih:;return this.$w_1},set_pagingInfo:function(a){ULSdih:;this.$w_1=a;return a},get_rowLimit:function(){ULSdih:;return this.$K_1},set_rowLimit:function(a){ULSdih:;this.$K_1=a;return a},get_showOnlyMyItems:function(){ULSdih:;return this.$5P_1},set_showOnlyMyItems:function(a){ULSdih:;this.$5P_1=a;return a},get_typeId:function(){ULSdih:;return"{d525b376-6849-48db-b9d3-7a58f1b00bdf}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["IsAscending","ItemState","OrderBy","PagingInfo","RowLimit","ShowOnlyMyItems"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsAscending;if(!SP.ScriptUtility.isUndefined(a)){this.$4a_1=a;delete b.IsAscending}a=b.ItemState;if(!SP.ScriptUtility.isUndefined(a)){this.$4f_1=SP.DataConvert.fixupType(null,a);delete b.ItemState}a=b.OrderBy;if(!SP.ScriptUtility.isUndefined(a)){this.$4y_1=SP.DataConvert.fixupType(null,a);delete b.OrderBy}a=b.PagingInfo;if(!SP.ScriptUtility.isUndefined(a)){this.$w_1=a;delete b.PagingInfo}a=b.RowLimit;if(!SP.ScriptUtility.isUndefined(a)){this.$K_1=a;delete b.RowLimit}a=b.ShowOnlyMyItems;if(!SP.ScriptUtility.isUndefined(a)){this.$5P_1=a;delete b.ShowOnlyMyItems}}};SP.RegionalSettings=function(b,a){ULSdih:;SP.RegionalSettings.initializeBase(this,[b,a])};SP.RegionalSettings.prototype={get_adjustHijriDays:function(){ULSdih:;this.checkUninitializedProperty("AdjustHijriDays");return this.get_objectData().get_properties().AdjustHijriDays},set_adjustHijriDays:function(a){ULSdih:;this.get_objectData().get_properties().AdjustHijriDays=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AdjustHijriDays",a));return a},get_alternateCalendarType:function(){ULSdih:;this.checkUninitializedProperty("AlternateCalendarType");return this.get_objectData().get_properties().AlternateCalendarType},set_alternateCalendarType:function(a){ULSdih:;this.get_objectData().get_properties().AlternateCalendarType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AlternateCalendarType",a));return a},get_AM:function(){ULSdih:;this.checkUninitializedProperty("AM");return this.get_objectData().get_properties().AM},get_calendarType:function(){ULSdih:;this.checkUninitializedProperty("CalendarType");return this.get_objectData().get_properties().CalendarType},set_calendarType:function(a){ULSdih:;this.get_objectData().get_properties().CalendarType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CalendarType",a));return a},get_collation:function(){ULSdih:;this.checkUninitializedProperty("Collation");return this.get_objectData().get_properties().Collation},set_collation:function(a){ULSdih:;this.get_objectData().get_properties().Collation=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Collation",a));return a},get_collationLCID:function(){ULSdih:;this.checkUninitializedProperty("CollationLCID");return this.get_objectData().get_properties().CollationLCID},get_dateFormat:function(){ULSdih:;this.checkUninitializedProperty("DateFormat");return this.get_objectData().get_properties().DateFormat},get_dateSeparator:function(){ULSdih:;this.checkUninitializedProperty("DateSeparator");return this.get_objectData().get_properties().DateSeparator},get_decimalSeparator:function(){ULSdih:;this.checkUninitializedProperty("DecimalSeparator");return this.get_objectData().get_properties().DecimalSeparator},get_digitGrouping:function(){ULSdih:;this.checkUninitializedProperty("DigitGrouping");return this.get_objectData().get_properties().DigitGrouping},get_firstDayOfWeek:function(){ULSdih:;this.checkUninitializedProperty("FirstDayOfWeek");return this.get_objectData().get_properties().FirstDayOfWeek},set_firstDayOfWeek:function(a){ULSdih:;this.get_objectData().get_properties().FirstDayOfWeek=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FirstDayOfWeek",a));return a},get_firstWeekOfYear:function(){ULSdih:;this.checkUninitializedProperty("FirstWeekOfYear");return this.get_objectData().get_properties().FirstWeekOfYear},set_firstWeekOfYear:function(a){ULSdih:;this.get_objectData().get_properties().FirstWeekOfYear=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FirstWeekOfYear",a));return a},get_isEastAsia:function(){ULSdih:;this.checkUninitializedProperty("IsEastAsia");return this.get_objectData().get_properties().IsEastAsia},get_isRightToLeft:function(){ULSdih:;this.checkUninitializedProperty("IsRightToLeft");return this.get_objectData().get_properties().IsRightToLeft},get_isUIRightToLeft:function(){ULSdih:;this.checkUninitializedProperty("IsUIRightToLeft");return this.get_objectData().get_properties().IsUIRightToLeft},get_listSeparator:function(){ULSdih:;this.checkUninitializedProperty("ListSeparator");return this.get_objectData().get_properties().ListSeparator},get_localeId:function(){ULSdih:;this.checkUninitializedProperty("LocaleId");return this.get_objectData().get_properties().LocaleId},set_localeId:function(a){ULSdih:;this.get_objectData().get_properties().LocaleId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LocaleId",a));return a},get_negativeSign:function(){ULSdih:;this.checkUninitializedProperty("NegativeSign");return this.get_objectData().get_properties().NegativeSign},get_negNumberMode:function(){ULSdih:;this.checkUninitializedProperty("NegNumberMode");return this.get_objectData().get_properties().NegNumberMode},get_PM:function(){ULSdih:;this.checkUninitializedProperty("PM");return this.get_objectData().get_properties().PM},get_positiveSign:function(){ULSdih:;this.checkUninitializedProperty("PositiveSign");return this.get_objectData().get_properties().PositiveSign},get_showWeeks:function(){ULSdih:;this.checkUninitializedProperty("ShowWeeks");return this.get_objectData().get_properties().ShowWeeks},set_showWeeks:function(a){ULSdih:;this.get_objectData().get_properties().ShowWeeks=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShowWeeks",a));return a},get_thousandSeparator:function(){ULSdih:;this.checkUninitializedProperty("ThousandSeparator");return this.get_objectData().get_properties().ThousandSeparator},get_time24:function(){ULSdih:;this.checkUninitializedProperty("Time24");return this.get_objectData().get_properties().Time24},set_time24:function(a){ULSdih:;this.get_objectData().get_properties().Time24=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Time24",a));return a},get_timeMarkerPosition:function(){ULSdih:;this.checkUninitializedProperty("TimeMarkerPosition");return this.get_objectData().get_properties().TimeMarkerPosition},get_timeSeparator:function(){ULSdih:;this.checkUninitializedProperty("TimeSeparator");return this.get_objectData().get_properties().TimeSeparator},get_timeZone:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().TimeZone;if(SP.ScriptUtility.isUndefined(a)){a=new SP.TimeZone(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeZone"));this.get_objectData().get_clientObjectProperties().TimeZone=a}return a},set_timeZone:function(a){ULSdih:;this.get_objectData().get_clientObjectProperties().TimeZone=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TimeZone",a));return a},get_timeZones:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().TimeZones;if(SP.ScriptUtility.isUndefined(a)){a=new SP.TimeZoneCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TimeZones"));this.get_objectData().get_clientObjectProperties().TimeZones=a}return a},get_workDayEndHour:function(){ULSdih:;this.checkUninitializedProperty("WorkDayEndHour");return this.get_objectData().get_properties().WorkDayEndHour},set_workDayEndHour:function(a){ULSdih:;this.get_objectData().get_properties().WorkDayEndHour=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkDayEndHour",a));return a},get_workDays:function(){ULSdih:;this.checkUninitializedProperty("WorkDays");return this.get_objectData().get_properties().WorkDays},set_workDays:function(a){ULSdih:;this.get_objectData().get_properties().WorkDays=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkDays",a));return a},get_workDayStartHour:function(){ULSdih:;this.checkUninitializedProperty("WorkDayStartHour");return this.get_objectData().get_properties().WorkDayStartHour},set_workDayStartHour:function(a){ULSdih:;this.get_objectData().get_properties().WorkDayStartHour=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkDayStartHour",a));return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AdjustHijriDays;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AdjustHijriDays=a;delete b.AdjustHijriDays}a=b.AlternateCalendarType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AlternateCalendarType=a;delete b.AlternateCalendarType}a=b.AM;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AM=a;delete b.AM}a=b.CalendarType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CalendarType=a;delete b.CalendarType}a=b.Collation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Collation=a;delete b.Collation}a=b.CollationLCID;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CollationLCID=a;delete b.CollationLCID}a=b.DateFormat;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DateFormat=a;delete b.DateFormat}a=b.DateSeparator;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DateSeparator=a;delete b.DateSeparator}a=b.DecimalSeparator;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DecimalSeparator=a;delete b.DecimalSeparator}a=b.DigitGrouping;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DigitGrouping=a;delete b.DigitGrouping}a=b.FirstDayOfWeek;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FirstDayOfWeek=a;delete b.FirstDayOfWeek}a=b.FirstWeekOfYear;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FirstWeekOfYear=a;delete b.FirstWeekOfYear}a=b.IsEastAsia;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsEastAsia=a;delete b.IsEastAsia}a=b.IsRightToLeft;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsRightToLeft=a;delete b.IsRightToLeft}a=b.IsUIRightToLeft;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsUIRightToLeft=a;delete b.IsUIRightToLeft}a=b.ListSeparator;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ListSeparator=a;delete b.ListSeparator}a=b.LocaleId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LocaleId=a;delete b.LocaleId}a=b.NegativeSign;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NegativeSign=a;delete b.NegativeSign}a=b.NegNumberMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NegNumberMode=a;delete b.NegNumberMode}a=b.PM;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PM=a;delete b.PM}a=b.PositiveSign;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PositiveSign=a;delete b.PositiveSign}a=b.ShowWeeks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShowWeeks=a;delete b.ShowWeeks}a=b.ThousandSeparator;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ThousandSeparator=a;delete b.ThousandSeparator}a=b.Time24;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Time24=a;delete b.Time24}a=b.TimeMarkerPosition;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TimeMarkerPosition=a;delete b.TimeMarkerPosition}a=b.TimeSeparator;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TimeSeparator=a;delete b.TimeSeparator}a=b.TimeZone;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeZone",this.get_timeZone(),a);this.get_timeZone().fromJson(a);delete b.TimeZone}a=b.TimeZones;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TimeZones",this.get_timeZones(),a);this.get_timeZones().fromJson(a);delete b.TimeZones}a=b.WorkDayEndHour;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WorkDayEndHour=a;delete b.WorkDayEndHour}a=b.WorkDays;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WorkDays=a;delete b.WorkDays}a=b.WorkDayStartHour;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WorkDayStartHour=a;delete b.WorkDayStartHour}},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};SP.RegionalSettingsPropertyNames=function(){};SP.RegionalSettingsObjectPropertyNames=function(){};SP.RelatedField=function(b,a){ULSdih:;SP.RelatedField.initializeBase(this,[b,a])};SP.RelatedField.prototype={get_fieldId:function(){ULSdih:;this.checkUninitializedProperty("FieldId");return this.get_objectData().get_properties().FieldId},get_listId:function(){ULSdih:;this.checkUninitializedProperty("ListId");return this.get_objectData().get_properties().ListId},get_lookupList:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().LookupList;if(SP.ScriptUtility.isUndefined(a)){a=new SP.List(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LookupList"));this.get_objectData().get_clientObjectProperties().LookupList=a}return a},get_relationshipDeleteBehavior:function(){ULSdih:;this.checkUninitializedProperty("RelationshipDeleteBehavior");return this.get_objectData().get_properties().RelationshipDeleteBehavior},get_webId:function(){ULSdih:;this.checkUninitializedProperty("WebId");return this.get_objectData().get_properties().WebId},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FieldId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FieldId=a;delete b.FieldId}a=b.ListId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ListId=a;delete b.ListId}a=b.LookupList;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LookupList",this.get_lookupList(),a);this.get_lookupList().fromJson(a);delete b.LookupList}a=b.RelationshipDeleteBehavior;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RelationshipDeleteBehavior=SP.DataConvert.fixupType(this.get_context(),a);delete b.RelationshipDeleteBehavior}a=b.WebId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebId=a;delete b.WebId}}};SP.RelatedFieldPropertyNames=function(){};SP.RelatedFieldObjectPropertyNames=function(){};SP.RelatedFieldCollection=function(b,a){ULSdih:;SP.RelatedFieldCollection.initializeBase(this,[b,a])};SP.RelatedFieldCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.RelatedField}};SP.RelatedFieldExtendedData=function(b,a){ULSdih:;SP.RelatedFieldExtendedData.initializeBase(this,[b,a])};SP.RelatedFieldExtendedData.prototype={get_fieldId:function(){ULSdih:;this.checkUninitializedProperty("FieldId");return this.get_objectData().get_properties().FieldId},get_listId:function(){ULSdih:;this.checkUninitializedProperty("ListId");return this.get_objectData().get_properties().ListId},get_listImageUrl:function(){ULSdih:;this.checkUninitializedProperty("ListImageUrl");return this.get_objectData().get_properties().ListImageUrl},get_resolvedListTitle:function(){ULSdih:;this.checkUninitializedProperty("ResolvedListTitle");return this.get_objectData().get_properties().ResolvedListTitle},get_toolTipDescription:function(){ULSdih:;this.checkUninitializedProperty("ToolTipDescription");return this.get_objectData().get_properties().ToolTipDescription},get_webId:function(){ULSdih:;this.checkUninitializedProperty("WebId");return this.get_objectData().get_properties().WebId},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FieldId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FieldId=a;delete b.FieldId}a=b.ListId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ListId=a;delete b.ListId}a=b.ListImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ListImageUrl=a;delete b.ListImageUrl}a=b.ResolvedListTitle;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ResolvedListTitle=a;delete b.ResolvedListTitle}a=b.ToolTipDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ToolTipDescription=a;delete b.ToolTipDescription}a=b.WebId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebId=a;delete b.WebId}}};SP.RelatedFieldExtendedDataPropertyNames=function(){};SP.RelatedFieldExtendedDataCollection=function(b,a){ULSdih:;SP.RelatedFieldExtendedDataCollection.initializeBase(this,[b,a])};SP.RelatedFieldExtendedDataCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.RelatedFieldExtendedData}};SP.RelatedItem=function(){ULSdih:;SP.RelatedItem.initializeBase(this)};SP.RelatedItem.prototype={$4V_1:null,$p_1:0,$7_1:null,$0_1:null,$1_1:null,$6B_1:null,get_iconUrl:function(){ULSdih:;return this.$4V_1},set_iconUrl:function(a){ULSdih:;this.$4V_1=a;return a},get_itemId:function(){ULSdih:;return this.$p_1},set_itemId:function(a){ULSdih:;this.$p_1=a;return a},get_listId:function(){ULSdih:;return this.$7_1},set_listId:function(a){ULSdih:;this.$7_1=a;return a},get_title:function(){ULSdih:;return this.$0_1},set_title:function(a){ULSdih:;this.$0_1=a;return a},get_url:function(){ULSdih:;return this.$1_1},set_url:function(a){ULSdih:;this.$1_1=a;return a},get_webId:function(){ULSdih:;return this.$6B_1},set_webId:function(a){ULSdih:;this.$6B_1=a;return a},get_typeId:function(){ULSdih:;return"{627c69f5-12e8-46bc-9052-bd5e46e155d3}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["IconUrl","ItemId","ListId","Title","Url","WebId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IconUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$4V_1=a;delete b.IconUrl}a=b.ItemId;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=a;delete b.ItemId}a=b.ListId;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.ListId}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Title}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Url}a=b.WebId;if(!SP.ScriptUtility.isUndefined(a)){this.$6B_1=a;delete b.WebId}}};SP.RelatedItemManager=function(b,a){ULSdih:;SP.RelatedItemManager.initializeBase(this,[b,a])};SP.RelatedItemManager.getRelatedItems=function(a,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{23af17db-2585-4d17-82a7-aa9e3fba099d}","GetRelatedItems",[d,e]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.RelatedItemManager.getPageOneRelatedItems=function(a,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{23af17db-2585-4d17-82a7-aa9e3fba099d}","GetPageOneRelatedItems",[d,e]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.RelatedItemManager.addSingleLink=function(a,c,e,f,d,g,h,b){ULSdih:;if(!a)throw Error.argumentNull("context");var i=new SP.ClientActionInvokeStaticMethod(a,"{23af17db-2585-4d17-82a7-aa9e3fba099d}","AddSingleLink",[c,e,f,d,g,h,b]);a.addQuery(i)};SP.RelatedItemManager.addSingleLinkToUrl=function(a,c,e,d,b){ULSdih:;if(!a)throw Error.argumentNull("context");var f=new SP.ClientActionInvokeStaticMethod(a,"{23af17db-2585-4d17-82a7-aa9e3fba099d}","AddSingleLinkToUrl",[c,e,d,b]);a.addQuery(f)};SP.RelatedItemManager.addSingleLinkFromUrl=function(a,d,c,e,b){ULSdih:;if(!a)throw Error.argumentNull("context");var f=new SP.ClientActionInvokeStaticMethod(a,"{23af17db-2585-4d17-82a7-aa9e3fba099d}","AddSingleLinkFromUrl",[d,c,e,b]);a.addQuery(f)};SP.RelatedItemManager.deleteSingleLink=function(a,c,e,f,d,g,h,b){ULSdih:;if(!a)throw Error.argumentNull("context");var i=new SP.ClientActionInvokeStaticMethod(a,"{23af17db-2585-4d17-82a7-aa9e3fba099d}","DeleteSingleLink",[c,e,f,d,g,h,b]);a.addQuery(i)};SP.RemoteWeb=function(a){ULSdih:;SP.RemoteWeb.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{e31f488b-8615-4434-87a8-381b3af1ee3b}",arguments)])};SP.RemoteWeb.newObject=function(a,b){ULSdih:;return new SP.RemoteWeb(a,new SP.ObjectPathConstructor(a,"{e31f488b-8615-4434-87a8-381b3af1ee3b}",[b]))};SP.RemoteWeb.prototype={get_canSendEmail:function(){ULSdih:;this.checkUninitializedProperty("CanSendEmail");return this.get_objectData().get_properties().CanSendEmail},get_shareByEmailEnabled:function(){ULSdih:;this.checkUninitializedProperty("ShareByEmailEnabled");return this.get_objectData().get_properties().ShareByEmailEnabled},get_shareByLinkEnabled:function(){ULSdih:;this.checkUninitializedProperty("ShareByLinkEnabled");return this.get_objectData().get_properties().ShareByLinkEnabled},get_web:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Web;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Web(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Web"));this.get_objectData().get_clientObjectProperties().Web=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CanSendEmail;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CanSendEmail=a;delete b.CanSendEmail}a=b.ShareByEmailEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShareByEmailEnabled=a;delete b.ShareByEmailEnabled}a=b.ShareByLinkEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShareByLinkEnabled=a;delete b.ShareByLinkEnabled}a=b.Web;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Web",this.get_web(),a);this.get_web().fromJson(a);delete b.Web}},getFileByServerRelativeUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByServerRelativeUrl",[c]));return b},getFileByUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByUrl",[c]));return b},getListById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.List(a,new SP.ObjectPathMethod(a,this.get_path(),"GetListById",[c]));return b},getListByServerRelativeUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.List(a,new SP.ObjectPathMethod(a,this.get_path(),"GetListByServerRelativeUrl",[c]));return b},getFolderByServerRelativeUrl:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetFolderByServerRelativeUrl;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().GetFolderByServerRelativeUrl=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Folder(b,new SP.ObjectPathMethod(b,this.get_path(),"GetFolderByServerRelativeUrl",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getGroupById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.Group(a,new SP.ObjectPathMethod(a,this.get_path(),"GetGroupById",[c]));return b}};SP.RemoteWebPropertyNames=function(){};SP.RemoteWebObjectPropertyNames=function(){};SP.RenderListContextMenuDataParameters=function(){ULSdih:;SP.RenderListContextMenuDataParameters.initializeBase(this)};SP.RenderListContextMenuDataParameters.prototype={$c_1:null,$f_1:null,$8_1:null,$I_1:null,$l_1:null,$m_1:null,$n_1:null,$o_1:null,$p_1:null,$t_1:null,$J_1:null,$y_1:null,$E_1:null,$11_1:null,get_cascDelWarnMessage:function(){ULSdih:;return this.$c_1},set_cascDelWarnMessage:function(a){ULSdih:;this.$c_1=a;return a},get_customAction:function(){ULSdih:;return this.$f_1},set_customAction:function(a){ULSdih:;this.$f_1=a;return a},get_field:function(){ULSdih:;return this.$8_1},set_field:function(a){ULSdih:;this.$8_1=a;return a},get_id:function(){ULSdih:;return this.$I_1},set_id:function(a){ULSdih:;this.$I_1=a;return a},get_inplaceFullListSearch:function(){ULSdih:;return this.$l_1},set_inplaceFullListSearch:function(a){ULSdih:;this.$l_1=a;return a},get_inplaceSearchQuery:function(){ULSdih:;return this.$m_1},set_inplaceSearchQuery:function(a){ULSdih:;this.$m_1=a;return a},get_isCSR:function(){ULSdih:;return this.$n_1},set_isCSR:function(a){ULSdih:;this.$n_1=a;return a},get_isXslView:function(){ULSdih:;return this.$o_1},set_isXslView:function(a){ULSdih:;this.$o_1=a;return a},get_itemId:function(){ULSdih:;return this.$p_1},set_itemId:function(a){ULSdih:;this.$p_1=a;return a},get_listViewPageUrl:function(){ULSdih:;return this.$t_1},set_listViewPageUrl:function(a){ULSdih:;this.$t_1=a;return a},get_overrideScope:function(){ULSdih:;return this.$J_1},set_overrideScope:function(a){ULSdih:;this.$J_1=a;return a},get_rootFolder:function(){ULSdih:;return this.$y_1},set_rootFolder:function(a){ULSdih:;this.$y_1=a;return a},get_view:function(){ULSdih:;return this.$E_1},set_view:function(a){ULSdih:;this.$E_1=a;return a},get_viewCount:function(){ULSdih:;return this.$11_1},set_viewCount:function(a){ULSdih:;this.$11_1=a;return a},get_typeId:function(){ULSdih:;return"{775a72c4-6d8f-457f-ad76-d2779ca29921}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CascDelWarnMessage","CustomAction","Field","ID","InplaceFullListSearch","InplaceSearchQuery","IsCSR","IsXslView","ItemId","ListViewPageUrl","OverrideScope","RootFolder","View","ViewCount"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CascDelWarnMessage;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.CascDelWarnMessage}a=b.CustomAction;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=a;delete b.CustomAction}a=b.Field;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Field}a=b.ID;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.ID}a=b.InplaceFullListSearch;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=a;delete b.InplaceFullListSearch}a=b.InplaceSearchQuery;if(!SP.ScriptUtility.isUndefined(a)){this.$m_1=a;delete b.InplaceSearchQuery}a=b.IsCSR;if(!SP.ScriptUtility.isUndefined(a)){this.$n_1=a;delete b.IsCSR}a=b.IsXslView;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=a;delete b.IsXslView}a=b.ItemId;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=a;delete b.ItemId}a=b.ListViewPageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$t_1=a;delete b.ListViewPageUrl}a=b.OverrideScope;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.OverrideScope}a=b.RootFolder;if(!SP.ScriptUtility.isUndefined(a)){this.$y_1=a;delete b.RootFolder}a=b.View;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.View}a=b.ViewCount;if(!SP.ScriptUtility.isUndefined(a)){this.$11_1=a;delete b.ViewCount}}};SP.RenderListDataOverrideParameters=function(){ULSdih:;SP.RenderListDataOverrideParameters.initializeBase(this)};SP.RenderListDataOverrideParameters.prototype={$c_1:null,$f_1:null,$2q_1:null,$8_1:null,$h_1:null,$35_1:null,$36_1:null,$37_1:null,$38_1:null,$39_1:null,$3A_1:null,$3B_1:null,$3C_1:null,$3D_1:null,$3E_1:null,$3F_1:null,$3G_1:null,$3H_1:null,$3I_1:null,$3J_1:null,$3K_1:null,$3L_1:null,$3M_1:null,$3N_1:null,$3O_1:null,$3P_1:null,$3Q_1:null,$3R_1:null,$3S_1:null,$3T_1:null,$3U_1:null,$3V_1:null,$3W_1:null,$3X_1:null,$3Y_1:null,$3Z_1:null,$3a_1:null,$3b_1:null,$3c_1:null,$3d_1:null,$3e_1:null,$3f_1:null,$3g_1:null,$3h_1:null,$3i_1:null,$3j_1:null,$3k_1:null,$3l_1:null,$3m_1:null,$3n_1:null,$3o_1:null,$3p_1:null,$3q_1:null,$3r_1:null,$3s_1:null,$3t_1:null,$3u_1:null,$3v_1:null,$3w_1:null,$3x_1:null,$3y_1:null,$3z_1:null,$40_1:null,$41_1:null,$42_1:null,$43_1:null,$44_1:null,$45_1:null,$46_1:null,$47_1:null,$48_1:null,$49_1:null,$4A_1:null,$4B_1:null,$4C_1:null,$4D_1:null,$4E_1:null,$4F_1:null,$4G_1:null,$4H_1:null,$4I_1:null,$4J_1:null,$4K_1:null,$4R_1:null,$4T_1:null,$I_1:null,$l_1:null,$m_1:null,$n_1:null,$4d_1:null,$o_1:null,$t_1:null,$J_1:null,$4z_1:null,$51_1:null,$52_1:null,$y_1:null,$5R_1:null,$5S_1:null,$5T_1:null,$5U_1:null,$5V_1:null,$5W_1:null,$5X_1:null,$5Y_1:null,$5Z_1:null,$5a_1:null,$5b_1:null,$5c_1:null,$5d_1:null,$5e_1:null,$5f_1:null,$5g_1:null,$5h_1:null,$5i_1:null,$5j_1:null,$5k_1:null,$5l_1:null,$5m_1:null,$5n_1:null,$5o_1:null,$E_1:null,$11_1:null,$6_1:null,$6C_1:null,get_cascDelWarnMessage:function(){ULSdih:;return this.$c_1},set_cascDelWarnMessage:function(a){ULSdih:;this.$c_1=a;return a},get_customAction:function(){ULSdih:;return this.$f_1},set_customAction:function(a){ULSdih:;this.$f_1=a;return a},get_drillDown:function(){ULSdih:;return this.$2q_1},set_drillDown:function(a){ULSdih:;this.$2q_1=a;return a},get_field:function(){ULSdih:;return this.$8_1},set_field:function(a){ULSdih:;this.$8_1=a;return a},get_fieldInternalName:function(){ULSdih:;return this.$h_1},set_fieldInternalName:function(a){ULSdih:;this.$h_1=a;return a},get_filter:function(){ULSdih:;return this.$35_1},set_filter:function(a){ULSdih:;this.$35_1=a;return a},get_filterData:function(){ULSdih:;return this.$36_1},set_filterData:function(a){ULSdih:;this.$36_1=a;return a},get_filterData1:function(){ULSdih:;return this.$37_1},set_filterData1:function(a){ULSdih:;this.$37_1=a;return a},get_filterData10:function(){ULSdih:;return this.$38_1},set_filterData10:function(a){ULSdih:;this.$38_1=a;return a},get_filterData2:function(){ULSdih:;return this.$39_1},set_filterData2:function(a){ULSdih:;this.$39_1=a;return a},get_filterData3:function(){ULSdih:;return this.$3A_1},set_filterData3:function(a){ULSdih:;this.$3A_1=a;return a},get_filterData4:function(){ULSdih:;return this.$3B_1},set_filterData4:function(a){ULSdih:;this.$3B_1=a;return a},get_filterData5:function(){ULSdih:;return this.$3C_1},set_filterData5:function(a){ULSdih:;this.$3C_1=a;return a},get_filterData6:function(){ULSdih:;return this.$3D_1},set_filterData6:function(a){ULSdih:;this.$3D_1=a;return a},get_filterData7:function(){ULSdih:;return this.$3E_1},set_filterData7:function(a){ULSdih:;this.$3E_1=a;return a},get_filterData8:function(){ULSdih:;return this.$3F_1},set_filterData8:function(a){ULSdih:;this.$3F_1=a;return a},get_filterData9:function(){ULSdih:;return this.$3G_1},set_filterData9:function(a){ULSdih:;this.$3G_1=a;return a},get_filterField:function(){ULSdih:;return this.$3H_1},set_filterField:function(a){ULSdih:;this.$3H_1=a;return a},get_filterField1:function(){ULSdih:;return this.$3I_1},set_filterField1:function(a){ULSdih:;this.$3I_1=a;return a},get_filterField10:function(){ULSdih:;return this.$3J_1},set_filterField10:function(a){ULSdih:;this.$3J_1=a;return a},get_filterField2:function(){ULSdih:;return this.$3K_1},set_filterField2:function(a){ULSdih:;this.$3K_1=a;return a},get_filterField3:function(){ULSdih:;return this.$3L_1},set_filterField3:function(a){ULSdih:;this.$3L_1=a;return a},get_filterField4:function(){ULSdih:;return this.$3M_1},set_filterField4:function(a){ULSdih:;this.$3M_1=a;return a},get_filterField5:function(){ULSdih:;return this.$3N_1},set_filterField5:function(a){ULSdih:;this.$3N_1=a;return a},get_filterField6:function(){ULSdih:;return this.$3O_1},set_filterField6:function(a){ULSdih:;this.$3O_1=a;return a},get_filterField7:function(){ULSdih:;return this.$3P_1},set_filterField7:function(a){ULSdih:;this.$3P_1=a;return a},get_filterField8:function(){ULSdih:;return this.$3Q_1},set_filterField8:function(a){ULSdih:;this.$3Q_1=a;return a},get_filterField9:function(){ULSdih:;return this.$3R_1},set_filterField9:function(a){ULSdih:;this.$3R_1=a;return a},get_filterFields:function(){ULSdih:;return this.$3S_1},set_filterFields:function(a){ULSdih:;this.$3S_1=a;return a},get_filterFields1:function(){ULSdih:;return this.$3T_1},set_filterFields1:function(a){ULSdih:;this.$3T_1=a;return a},get_filterFields10:function(){ULSdih:;return this.$3U_1},set_filterFields10:function(a){ULSdih:;this.$3U_1=a;return a},get_filterFields2:function(){ULSdih:;return this.$3V_1},set_filterFields2:function(a){ULSdih:;this.$3V_1=a;return a},get_filterFields3:function(){ULSdih:;return this.$3W_1},set_filterFields3:function(a){ULSdih:;this.$3W_1=a;return a},get_filterFields4:function(){ULSdih:;return this.$3X_1},set_filterFields4:function(a){ULSdih:;this.$3X_1=a;return a},get_filterFields5:function(){ULSdih:;return this.$3Y_1},set_filterFields5:function(a){ULSdih:;this.$3Y_1=a;return a},get_filterFields6:function(){ULSdih:;return this.$3Z_1},set_filterFields6:function(a){ULSdih:;this.$3Z_1=a;return a},get_filterFields7:function(){ULSdih:;return this.$3a_1},set_filterFields7:function(a){ULSdih:;this.$3a_1=a;return a},get_filterFields8:function(){ULSdih:;return this.$3b_1},set_filterFields8:function(a){ULSdih:;this.$3b_1=a;return a},get_filterFields9:function(){ULSdih:;return this.$3c_1},set_filterFields9:function(a){ULSdih:;this.$3c_1=a;return a},get_filterLookupId:function(){ULSdih:;return this.$3d_1},set_filterLookupId:function(a){ULSdih:;this.$3d_1=a;return a},get_filterLookupId1:function(){ULSdih:;return this.$3e_1},set_filterLookupId1:function(a){ULSdih:;this.$3e_1=a;return a},get_filterLookupId10:function(){ULSdih:;return this.$3f_1},set_filterLookupId10:function(a){ULSdih:;this.$3f_1=a;return a},get_filterLookupId2:function(){ULSdih:;return this.$3g_1},set_filterLookupId2:function(a){ULSdih:;this.$3g_1=a;return a},get_filterLookupId3:function(){ULSdih:;return this.$3h_1},set_filterLookupId3:function(a){ULSdih:;this.$3h_1=a;return a},get_filterLookupId4:function(){ULSdih:;return this.$3i_1},set_filterLookupId4:function(a){ULSdih:;this.$3i_1=a;return a},get_filterLookupId5:function(){ULSdih:;return this.$3j_1},set_filterLookupId5:function(a){ULSdih:;this.$3j_1=a;return a},get_filterLookupId6:function(){ULSdih:;return this.$3k_1},set_filterLookupId6:function(a){ULSdih:;this.$3k_1=a;return a},get_filterLookupId7:function(){ULSdih:;return this.$3l_1},set_filterLookupId7:function(a){ULSdih:;this.$3l_1=a;return a},get_filterLookupId8:function(){ULSdih:;return this.$3m_1},set_filterLookupId8:function(a){ULSdih:;this.$3m_1=a;return a},get_filterLookupId9:function(){ULSdih:;return this.$3n_1},set_filterLookupId9:function(a){ULSdih:;this.$3n_1=a;return a},get_filterOp:function(){ULSdih:;return this.$3o_1},set_filterOp:function(a){ULSdih:;this.$3o_1=a;return a},get_filterOp1:function(){ULSdih:;return this.$3p_1},set_filterOp1:function(a){ULSdih:;this.$3p_1=a;return a},get_filterOp10:function(){ULSdih:;return this.$3q_1},set_filterOp10:function(a){ULSdih:;this.$3q_1=a;return a},get_filterOp2:function(){ULSdih:;return this.$3r_1},set_filterOp2:function(a){ULSdih:;this.$3r_1=a;return a},get_filterOp3:function(){ULSdih:;return this.$3s_1},set_filterOp3:function(a){ULSdih:;this.$3s_1=a;return a},get_filterOp4:function(){ULSdih:;return this.$3t_1},set_filterOp4:function(a){ULSdih:;this.$3t_1=a;return a},get_filterOp5:function(){ULSdih:;return this.$3u_1},set_filterOp5:function(a){ULSdih:;this.$3u_1=a;return a},get_filterOp6:function(){ULSdih:;return this.$3v_1},set_filterOp6:function(a){ULSdih:;this.$3v_1=a;return a},get_filterOp7:function(){ULSdih:;return this.$3w_1},set_filterOp7:function(a){ULSdih:;this.$3w_1=a;return a},get_filterOp8:function(){ULSdih:;return this.$3x_1},set_filterOp8:function(a){ULSdih:;this.$3x_1=a;return a},get_filterOp9:function(){ULSdih:;return this.$3y_1},set_filterOp9:function(a){ULSdih:;this.$3y_1=a;return a},get_filterValue:function(){ULSdih:;return this.$3z_1},set_filterValue:function(a){ULSdih:;this.$3z_1=a;return a},get_filterValue1:function(){ULSdih:;return this.$40_1},set_filterValue1:function(a){ULSdih:;this.$40_1=a;return a},get_filterValue10:function(){ULSdih:;return this.$41_1},set_filterValue10:function(a){ULSdih:;this.$41_1=a;return a},get_filterValue2:function(){ULSdih:;return this.$42_1},set_filterValue2:function(a){ULSdih:;this.$42_1=a;return a},get_filterValue3:function(){ULSdih:;return this.$43_1},set_filterValue3:function(a){ULSdih:;this.$43_1=a;return a},get_filterValue4:function(){ULSdih:;return this.$44_1},set_filterValue4:function(a){ULSdih:;this.$44_1=a;return a},get_filterValue5:function(){ULSdih:;return this.$45_1},set_filterValue5:function(a){ULSdih:;this.$45_1=a;return a},get_filterValue6:function(){ULSdih:;return this.$46_1},set_filterValue6:function(a){ULSdih:;this.$46_1=a;return a},get_filterValue7:function(){ULSdih:;return this.$47_1},set_filterValue7:function(a){ULSdih:;this.$47_1=a;return a},get_filterValue8:function(){ULSdih:;return this.$48_1},set_filterValue8:function(a){ULSdih:;this.$48_1=a;return a},get_filterValue9:function(){ULSdih:;return this.$49_1},set_filterValue9:function(a){ULSdih:;this.$49_1=a;return a},get_filterValues:function(){ULSdih:;return this.$4A_1},set_filterValues:function(a){ULSdih:;this.$4A_1=a;return a},get_filterValues1:function(){ULSdih:;return this.$4B_1},set_filterValues1:function(a){ULSdih:;this.$4B_1=a;return a},get_filterValues10:function(){ULSdih:;return this.$4C_1},set_filterValues10:function(a){ULSdih:;this.$4C_1=a;return a},get_filterValues2:function(){ULSdih:;return this.$4D_1},set_filterValues2:function(a){ULSdih:;this.$4D_1=a;return a},get_filterValues3:function(){ULSdih:;return this.$4E_1},set_filterValues3:function(a){ULSdih:;this.$4E_1=a;return a},get_filterValues4:function(){ULSdih:;return this.$4F_1},set_filterValues4:function(a){ULSdih:;this.$4F_1=a;return a},get_filterValues5:function(){ULSdih:;return this.$4G_1},set_filterValues5:function(a){ULSdih:;this.$4G_1=a;return a},get_filterValues6:function(){ULSdih:;return this.$4H_1},set_filterValues6:function(a){ULSdih:;this.$4H_1=a;return a},get_filterValues7:function(){ULSdih:;return this.$4I_1},set_filterValues7:function(a){ULSdih:;this.$4I_1=a;return a},get_filterValues8:function(){ULSdih:;return this.$4J_1},set_filterValues8:function(a){ULSdih:;this.$4J_1=a;return a},get_filterValues9:function(){ULSdih:;return this.$4K_1},set_filterValues9:function(a){ULSdih:;this.$4K_1=a;return a},get_groupString:function(){ULSdih:;return this.$4R_1},set_groupString:function(a){ULSdih:;this.$4R_1=a;return a},get_hasOverrideSelectCommand:function(){ULSdih:;return this.$4T_1},set_hasOverrideSelectCommand:function(a){ULSdih:;this.$4T_1=a;return a},get_id:function(){ULSdih:;return this.$I_1},set_id:function(a){ULSdih:;this.$I_1=a;return a},get_inplaceFullListSearch:function(){ULSdih:;return this.$l_1},set_inplaceFullListSearch:function(a){ULSdih:;this.$l_1=a;return a},get_inplaceSearchQuery:function(){ULSdih:;return this.$m_1},set_inplaceSearchQuery:function(a){ULSdih:;this.$m_1=a;return a},get_isCSR:function(){ULSdih:;return this.$n_1},set_isCSR:function(a){ULSdih:;this.$n_1=a;return a},get_isGroupRender:function(){ULSdih:;return this.$4d_1},set_isGroupRender:function(a){ULSdih:;this.$4d_1=a;return a},get_isXslView:function(){ULSdih:;return this.$o_1},set_isXslView:function(a){ULSdih:;this.$o_1=a;return a},get_listViewPageUrl:function(){ULSdih:;return this.$t_1},set_listViewPageUrl:function(a){ULSdih:;this.$t_1=a;return a},get_overrideScope:function(){ULSdih:;return this.$J_1},set_overrideScope:function(a){ULSdih:;this.$J_1=a;return a},get_overrideSelectCommand:function(){ULSdih:;return this.$4z_1},set_overrideSelectCommand:function(a){ULSdih:;this.$4z_1=a;return a},get_pageFirstRow:function(){ULSdih:;return this.$51_1},set_pageFirstRow:function(a){ULSdih:;this.$51_1=a;return a},get_pageLastRow:function(){ULSdih:;return this.$52_1},set_pageLastRow:function(a){ULSdih:;this.$52_1=a;return a},get_rootFolder:function(){ULSdih:;return this.$y_1},set_rootFolder:function(a){ULSdih:;this.$y_1=a;return a},get_sortDir:function(){ULSdih:;return this.$5R_1},set_sortDir:function(a){ULSdih:;this.$5R_1=a;return a},get_sortDir1:function(){ULSdih:;return this.$5S_1},set_sortDir1:function(a){ULSdih:;this.$5S_1=a;return a},get_sortDir10:function(){ULSdih:;return this.$5T_1},set_sortDir10:function(a){ULSdih:;this.$5T_1=a;return a},get_sortDir2:function(){ULSdih:;return this.$5U_1},set_sortDir2:function(a){ULSdih:;this.$5U_1=a;return a},get_sortDir3:function(){ULSdih:;return this.$5V_1},set_sortDir3:function(a){ULSdih:;this.$5V_1=a;return a},get_sortDir4:function(){ULSdih:;return this.$5W_1},set_sortDir4:function(a){ULSdih:;this.$5W_1=a;return a},get_sortDir5:function(){ULSdih:;return this.$5X_1},set_sortDir5:function(a){ULSdih:;this.$5X_1=a;return a},get_sortDir6:function(){ULSdih:;return this.$5Y_1},set_sortDir6:function(a){ULSdih:;this.$5Y_1=a;return a},get_sortDir7:function(){ULSdih:;return this.$5Z_1},set_sortDir7:function(a){ULSdih:;this.$5Z_1=a;return a},get_sortDir8:function(){ULSdih:;return this.$5a_1},set_sortDir8:function(a){ULSdih:;this.$5a_1=a;return a},get_sortDir9:function(){ULSdih:;return this.$5b_1},set_sortDir9:function(a){ULSdih:;this.$5b_1=a;return a},get_sortField:function(){ULSdih:;return this.$5c_1},set_sortField:function(a){ULSdih:;this.$5c_1=a;return a},get_sortField1:function(){ULSdih:;return this.$5d_1},set_sortField1:function(a){ULSdih:;this.$5d_1=a;return a},get_sortField10:function(){ULSdih:;return this.$5e_1},set_sortField10:function(a){ULSdih:;this.$5e_1=a;return a},get_sortField2:function(){ULSdih:;return this.$5f_1},set_sortField2:function(a){ULSdih:;this.$5f_1=a;return a},get_sortField3:function(){ULSdih:;return this.$5g_1},set_sortField3:function(a){ULSdih:;this.$5g_1=a;return a},get_sortField4:function(){ULSdih:;return this.$5h_1},set_sortField4:function(a){ULSdih:;this.$5h_1=a;return a},get_sortField5:function(){ULSdih:;return this.$5i_1},set_sortField5:function(a){ULSdih:;this.$5i_1=a;return a},get_sortField6:function(){ULSdih:;return this.$5j_1},set_sortField6:function(a){ULSdih:;this.$5j_1=a;return a},get_sortField7:function(){ULSdih:;return this.$5k_1},set_sortField7:function(a){ULSdih:;this.$5k_1=a;return a},get_sortField8:function(){ULSdih:;return this.$5l_1},set_sortField8:function(a){ULSdih:;this.$5l_1=a;return a},get_sortField9:function(){ULSdih:;return this.$5m_1},set_sortField9:function(a){ULSdih:;this.$5m_1=a;return a},get_sortFields:function(){ULSdih:;return this.$5n_1},set_sortFields:function(a){ULSdih:;this.$5n_1=a;return a},get_sortFieldValues:function(){ULSdih:;return this.$5o_1},set_sortFieldValues:function(a){ULSdih:;this.$5o_1=a;return a},get_view:function(){ULSdih:;return this.$E_1},set_view:function(a){ULSdih:;this.$E_1=a;return a},get_viewCount:function(){ULSdih:;return this.$11_1},set_viewCount:function(a){ULSdih:;this.$11_1=a;return a},get_viewId:function(){ULSdih:;return this.$6_1},set_viewId:function(a){ULSdih:;this.$6_1=a;return a},get_webPartId:function(){ULSdih:;return this.$6C_1},set_webPartId:function(a){ULSdih:;this.$6C_1=a;return a},get_typeId:function(){ULSdih:;return"{ad0885e6-0f16-4694-9397-058c65376fb7}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CascDelWarnMessage","CustomAction","DrillDown","Field","FieldInternalName","Filter","FilterData","FilterData1","FilterData10","FilterData2","FilterData3","FilterData4","FilterData5","FilterData6","FilterData7","FilterData8","FilterData9","FilterField","FilterField1","FilterField10","FilterField2","FilterField3","FilterField4","FilterField5","FilterField6","FilterField7","FilterField8","FilterField9","FilterFields","FilterFields1","FilterFields10","FilterFields2","FilterFields3","FilterFields4","FilterFields5","FilterFields6","FilterFields7","FilterFields8","FilterFields9","FilterLookupId","FilterLookupId1","FilterLookupId10","FilterLookupId2","FilterLookupId3","FilterLookupId4","FilterLookupId5","FilterLookupId6","FilterLookupId7","FilterLookupId8","FilterLookupId9","FilterOp","FilterOp1","FilterOp10","FilterOp2","FilterOp3","FilterOp4","FilterOp5","FilterOp6","FilterOp7","FilterOp8","FilterOp9","FilterValue","FilterValue1","FilterValue10","FilterValue2","FilterValue3","FilterValue4","FilterValue5","FilterValue6","FilterValue7","FilterValue8","FilterValue9","FilterValues","FilterValues1","FilterValues10","FilterValues2","FilterValues3","FilterValues4","FilterValues5","FilterValues6","FilterValues7","FilterValues8","FilterValues9","GroupString","HasOverrideSelectCommand","ID","InplaceFullListSearch","InplaceSearchQuery","IsCSR","IsGroupRender","IsXslView","ListViewPageUrl","OverrideScope","OverrideSelectCommand","PageFirstRow","PageLastRow","RootFolder","SortDir","SortDir1","SortDir10","SortDir2","SortDir3","SortDir4","SortDir5","SortDir6","SortDir7","SortDir8","SortDir9","SortField","SortField1","SortField10","SortField2","SortField3","SortField4","SortField5","SortField6","SortField7","SortField8","SortField9","SortFields","SortFieldValues","View","ViewCount","ViewId","WebPartId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CascDelWarnMessage;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.CascDelWarnMessage}a=b.CustomAction;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=a;delete b.CustomAction}a=b.DrillDown;if(!SP.ScriptUtility.isUndefined(a)){this.$2q_1=a;delete b.DrillDown}a=b.Field;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Field}a=b.FieldInternalName;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.FieldInternalName}a=b.Filter;if(!SP.ScriptUtility.isUndefined(a)){this.$35_1=a;delete b.Filter}a=b.FilterData;if(!SP.ScriptUtility.isUndefined(a)){this.$36_1=a;delete b.FilterData}a=b.FilterData1;if(!SP.ScriptUtility.isUndefined(a)){this.$37_1=a;delete b.FilterData1}a=b.FilterData10;if(!SP.ScriptUtility.isUndefined(a)){this.$38_1=a;delete b.FilterData10}a=b.FilterData2;if(!SP.ScriptUtility.isUndefined(a)){this.$39_1=a;delete b.FilterData2}a=b.FilterData3;if(!SP.ScriptUtility.isUndefined(a)){this.$3A_1=a;delete b.FilterData3}a=b.FilterData4;if(!SP.ScriptUtility.isUndefined(a)){this.$3B_1=a;delete b.FilterData4}a=b.FilterData5;if(!SP.ScriptUtility.isUndefined(a)){this.$3C_1=a;delete b.FilterData5}a=b.FilterData6;if(!SP.ScriptUtility.isUndefined(a)){this.$3D_1=a;delete b.FilterData6}a=b.FilterData7;if(!SP.ScriptUtility.isUndefined(a)){this.$3E_1=a;delete b.FilterData7}a=b.FilterData8;if(!SP.ScriptUtility.isUndefined(a)){this.$3F_1=a;delete b.FilterData8}a=b.FilterData9;if(!SP.ScriptUtility.isUndefined(a)){this.$3G_1=a;delete b.FilterData9}a=b.FilterField;if(!SP.ScriptUtility.isUndefined(a)){this.$3H_1=a;delete b.FilterField}a=b.FilterField1;if(!SP.ScriptUtility.isUndefined(a)){this.$3I_1=a;delete b.FilterField1}a=b.FilterField10;if(!SP.ScriptUtility.isUndefined(a)){this.$3J_1=a;delete b.FilterField10}a=b.FilterField2;if(!SP.ScriptUtility.isUndefined(a)){this.$3K_1=a;delete b.FilterField2}a=b.FilterField3;if(!SP.ScriptUtility.isUndefined(a)){this.$3L_1=a;delete b.FilterField3}a=b.FilterField4;if(!SP.ScriptUtility.isUndefined(a)){this.$3M_1=a;delete b.FilterField4}a=b.FilterField5;if(!SP.ScriptUtility.isUndefined(a)){this.$3N_1=a;delete b.FilterField5}a=b.FilterField6;if(!SP.ScriptUtility.isUndefined(a)){this.$3O_1=a;delete b.FilterField6}a=b.FilterField7;if(!SP.ScriptUtility.isUndefined(a)){this.$3P_1=a;delete b.FilterField7}a=b.FilterField8;if(!SP.ScriptUtility.isUndefined(a)){this.$3Q_1=a;delete b.FilterField8}a=b.FilterField9;if(!SP.ScriptUtility.isUndefined(a)){this.$3R_1=a;delete b.FilterField9}a=b.FilterFields;if(!SP.ScriptUtility.isUndefined(a)){this.$3S_1=a;delete b.FilterFields}a=b.FilterFields1;if(!SP.ScriptUtility.isUndefined(a)){this.$3T_1=a;delete b.FilterFields1}a=b.FilterFields10;if(!SP.ScriptUtility.isUndefined(a)){this.$3U_1=a;delete b.FilterFields10}a=b.FilterFields2;if(!SP.ScriptUtility.isUndefined(a)){this.$3V_1=a;delete b.FilterFields2}a=b.FilterFields3;if(!SP.ScriptUtility.isUndefined(a)){this.$3W_1=a;delete b.FilterFields3}a=b.FilterFields4;if(!SP.ScriptUtility.isUndefined(a)){this.$3X_1=a;delete b.FilterFields4}a=b.FilterFields5;if(!SP.ScriptUtility.isUndefined(a)){this.$3Y_1=a;delete b.FilterFields5}a=b.FilterFields6;if(!SP.ScriptUtility.isUndefined(a)){this.$3Z_1=a;delete b.FilterFields6}a=b.FilterFields7;if(!SP.ScriptUtility.isUndefined(a)){this.$3a_1=a;delete b.FilterFields7}a=b.FilterFields8;if(!SP.ScriptUtility.isUndefined(a)){this.$3b_1=a;delete b.FilterFields8}a=b.FilterFields9;if(!SP.ScriptUtility.isUndefined(a)){this.$3c_1=a;delete b.FilterFields9}a=b.FilterLookupId;if(!SP.ScriptUtility.isUndefined(a)){this.$3d_1=a;delete b.FilterLookupId}a=b.FilterLookupId1;if(!SP.ScriptUtility.isUndefined(a)){this.$3e_1=a;delete b.FilterLookupId1}a=b.FilterLookupId10;if(!SP.ScriptUtility.isUndefined(a)){this.$3f_1=a;delete b.FilterLookupId10}a=b.FilterLookupId2;if(!SP.ScriptUtility.isUndefined(a)){this.$3g_1=a;delete b.FilterLookupId2}a=b.FilterLookupId3;if(!SP.ScriptUtility.isUndefined(a)){this.$3h_1=a;delete b.FilterLookupId3}a=b.FilterLookupId4;if(!SP.ScriptUtility.isUndefined(a)){this.$3i_1=a;delete b.FilterLookupId4}a=b.FilterLookupId5;if(!SP.ScriptUtility.isUndefined(a)){this.$3j_1=a;delete b.FilterLookupId5}a=b.FilterLookupId6;if(!SP.ScriptUtility.isUndefined(a)){this.$3k_1=a;delete b.FilterLookupId6}a=b.FilterLookupId7;if(!SP.ScriptUtility.isUndefined(a)){this.$3l_1=a;delete b.FilterLookupId7}a=b.FilterLookupId8;if(!SP.ScriptUtility.isUndefined(a)){this.$3m_1=a;delete b.FilterLookupId8}a=b.FilterLookupId9;if(!SP.ScriptUtility.isUndefined(a)){this.$3n_1=a;delete b.FilterLookupId9}a=b.FilterOp;if(!SP.ScriptUtility.isUndefined(a)){this.$3o_1=a;delete b.FilterOp}a=b.FilterOp1;if(!SP.ScriptUtility.isUndefined(a)){this.$3p_1=a;delete b.FilterOp1}a=b.FilterOp10;if(!SP.ScriptUtility.isUndefined(a)){this.$3q_1=a;delete b.FilterOp10}a=b.FilterOp2;if(!SP.ScriptUtility.isUndefined(a)){this.$3r_1=a;delete b.FilterOp2}a=b.FilterOp3;if(!SP.ScriptUtility.isUndefined(a)){this.$3s_1=a;delete b.FilterOp3}a=b.FilterOp4;if(!SP.ScriptUtility.isUndefined(a)){this.$3t_1=a;delete b.FilterOp4}a=b.FilterOp5;if(!SP.ScriptUtility.isUndefined(a)){this.$3u_1=a;delete b.FilterOp5}a=b.FilterOp6;if(!SP.ScriptUtility.isUndefined(a)){this.$3v_1=a;delete b.FilterOp6}a=b.FilterOp7;if(!SP.ScriptUtility.isUndefined(a)){this.$3w_1=a;delete b.FilterOp7}a=b.FilterOp8;if(!SP.ScriptUtility.isUndefined(a)){this.$3x_1=a;delete b.FilterOp8}a=b.FilterOp9;if(!SP.ScriptUtility.isUndefined(a)){this.$3y_1=a;delete b.FilterOp9}a=b.FilterValue;if(!SP.ScriptUtility.isUndefined(a)){this.$3z_1=a;delete b.FilterValue}a=b.FilterValue1;if(!SP.ScriptUtility.isUndefined(a)){this.$40_1=a;delete b.FilterValue1}a=b.FilterValue10;if(!SP.ScriptUtility.isUndefined(a)){this.$41_1=a;delete b.FilterValue10}a=b.FilterValue2;if(!SP.ScriptUtility.isUndefined(a)){this.$42_1=a;delete b.FilterValue2}a=b.FilterValue3;if(!SP.ScriptUtility.isUndefined(a)){this.$43_1=a;delete b.FilterValue3}a=b.FilterValue4;if(!SP.ScriptUtility.isUndefined(a)){this.$44_1=a;delete b.FilterValue4}a=b.FilterValue5;if(!SP.ScriptUtility.isUndefined(a)){this.$45_1=a;delete b.FilterValue5}a=b.FilterValue6;if(!SP.ScriptUtility.isUndefined(a)){this.$46_1=a;delete b.FilterValue6}a=b.FilterValue7;if(!SP.ScriptUtility.isUndefined(a)){this.$47_1=a;delete b.FilterValue7}a=b.FilterValue8;if(!SP.ScriptUtility.isUndefined(a)){this.$48_1=a;delete b.FilterValue8}a=b.FilterValue9;if(!SP.ScriptUtility.isUndefined(a)){this.$49_1=a;delete b.FilterValue9}a=b.FilterValues;if(!SP.ScriptUtility.isUndefined(a)){this.$4A_1=a;delete b.FilterValues}a=b.FilterValues1;if(!SP.ScriptUtility.isUndefined(a)){this.$4B_1=a;delete b.FilterValues1}a=b.FilterValues10;if(!SP.ScriptUtility.isUndefined(a)){this.$4C_1=a;delete b.FilterValues10}a=b.FilterValues2;if(!SP.ScriptUtility.isUndefined(a)){this.$4D_1=a;delete b.FilterValues2}a=b.FilterValues3;if(!SP.ScriptUtility.isUndefined(a)){this.$4E_1=a;delete b.FilterValues3}a=b.FilterValues4;if(!SP.ScriptUtility.isUndefined(a)){this.$4F_1=a;delete b.FilterValues4}a=b.FilterValues5;if(!SP.ScriptUtility.isUndefined(a)){this.$4G_1=a;delete b.FilterValues5}a=b.FilterValues6;if(!SP.ScriptUtility.isUndefined(a)){this.$4H_1=a;delete b.FilterValues6}a=b.FilterValues7;if(!SP.ScriptUtility.isUndefined(a)){this.$4I_1=a;delete b.FilterValues7}a=b.FilterValues8;if(!SP.ScriptUtility.isUndefined(a)){this.$4J_1=a;delete b.FilterValues8}a=b.FilterValues9;if(!SP.ScriptUtility.isUndefined(a)){this.$4K_1=a;delete b.FilterValues9}a=b.GroupString;if(!SP.ScriptUtility.isUndefined(a)){this.$4R_1=a;delete b.GroupString}a=b.HasOverrideSelectCommand;if(!SP.ScriptUtility.isUndefined(a)){this.$4T_1=a;delete b.HasOverrideSelectCommand}a=b.ID;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.ID}a=b.InplaceFullListSearch;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=a;delete b.InplaceFullListSearch}a=b.InplaceSearchQuery;if(!SP.ScriptUtility.isUndefined(a)){this.$m_1=a;delete b.InplaceSearchQuery}a=b.IsCSR;if(!SP.ScriptUtility.isUndefined(a)){this.$n_1=a;delete b.IsCSR}a=b.IsGroupRender;if(!SP.ScriptUtility.isUndefined(a)){this.$4d_1=a;delete b.IsGroupRender}a=b.IsXslView;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=a;delete b.IsXslView}a=b.ListViewPageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$t_1=a;delete b.ListViewPageUrl}a=b.OverrideScope;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.OverrideScope}a=b.OverrideSelectCommand;if(!SP.ScriptUtility.isUndefined(a)){this.$4z_1=a;delete b.OverrideSelectCommand}a=b.PageFirstRow;if(!SP.ScriptUtility.isUndefined(a)){this.$51_1=a;delete b.PageFirstRow}a=b.PageLastRow;if(!SP.ScriptUtility.isUndefined(a)){this.$52_1=a;delete b.PageLastRow}a=b.RootFolder;if(!SP.ScriptUtility.isUndefined(a)){this.$y_1=a;delete b.RootFolder}a=b.SortDir;if(!SP.ScriptUtility.isUndefined(a)){this.$5R_1=a;delete b.SortDir}a=b.SortDir1;if(!SP.ScriptUtility.isUndefined(a)){this.$5S_1=a;delete b.SortDir1}a=b.SortDir10;if(!SP.ScriptUtility.isUndefined(a)){this.$5T_1=a;delete b.SortDir10}a=b.SortDir2;if(!SP.ScriptUtility.isUndefined(a)){this.$5U_1=a;delete b.SortDir2}a=b.SortDir3;if(!SP.ScriptUtility.isUndefined(a)){this.$5V_1=a;delete b.SortDir3}a=b.SortDir4;if(!SP.ScriptUtility.isUndefined(a)){this.$5W_1=a;delete b.SortDir4}a=b.SortDir5;if(!SP.ScriptUtility.isUndefined(a)){this.$5X_1=a;delete b.SortDir5}a=b.SortDir6;if(!SP.ScriptUtility.isUndefined(a)){this.$5Y_1=a;delete b.SortDir6}a=b.SortDir7;if(!SP.ScriptUtility.isUndefined(a)){this.$5Z_1=a;delete b.SortDir7}a=b.SortDir8;if(!SP.ScriptUtility.isUndefined(a)){this.$5a_1=a;delete b.SortDir8}a=b.SortDir9;if(!SP.ScriptUtility.isUndefined(a)){this.$5b_1=a;delete b.SortDir9}a=b.SortField;if(!SP.ScriptUtility.isUndefined(a)){this.$5c_1=a;delete b.SortField}a=b.SortField1;if(!SP.ScriptUtility.isUndefined(a)){this.$5d_1=a;delete b.SortField1}a=b.SortField10;if(!SP.ScriptUtility.isUndefined(a)){this.$5e_1=a;delete b.SortField10}a=b.SortField2;if(!SP.ScriptUtility.isUndefined(a)){this.$5f_1=a;delete b.SortField2}a=b.SortField3;if(!SP.ScriptUtility.isUndefined(a)){this.$5g_1=a;delete b.SortField3}a=b.SortField4;if(!SP.ScriptUtility.isUndefined(a)){this.$5h_1=a;delete b.SortField4}a=b.SortField5;if(!SP.ScriptUtility.isUndefined(a)){this.$5i_1=a;delete b.SortField5}a=b.SortField6;if(!SP.ScriptUtility.isUndefined(a)){this.$5j_1=a;delete b.SortField6}a=b.SortField7;if(!SP.ScriptUtility.isUndefined(a)){this.$5k_1=a;delete b.SortField7}a=b.SortField8;if(!SP.ScriptUtility.isUndefined(a)){this.$5l_1=a;delete b.SortField8}a=b.SortField9;if(!SP.ScriptUtility.isUndefined(a)){this.$5m_1=a;delete b.SortField9}a=b.SortFields;if(!SP.ScriptUtility.isUndefined(a)){this.$5n_1=a;delete b.SortFields}a=b.SortFieldValues;if(!SP.ScriptUtility.isUndefined(a)){this.$5o_1=a;delete b.SortFieldValues}a=b.View;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.View}a=b.ViewCount;if(!SP.ScriptUtility.isUndefined(a)){this.$11_1=a;delete b.ViewCount}a=b.ViewId;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=a;delete b.ViewId}a=b.WebPartId;if(!SP.ScriptUtility.isUndefined(a)){this.$6C_1=a;delete b.WebPartId}}};SP.RenderListDataParameters=function(){ULSdih:;SP.RenderListDataParameters.initializeBase(this)};SP.RenderListDataParameters.prototype={$2H_1:false,$X_1:false,$2y_1:false,$4L_1:false,$j_1:null,$50_1:null,$53_1:null,$5H_1:0,$W_1:null,get_allowMultipleValueFilterForTaxonomyFields:function(){ULSdih:;return this.$2H_1},set_allowMultipleValueFilterForTaxonomyFields:function(a){ULSdih:;this.$2H_1=a;return a},get_datesInUtc:function(){ULSdih:;return this.$X_1},set_datesInUtc:function(a){ULSdih:;this.$X_1=a;return a},get_expandGroups:function(){ULSdih:;return this.$2y_1},set_expandGroups:function(a){ULSdih:;this.$2y_1=a;return a},get_firstGroupOnly:function(){ULSdih:;return this.$4L_1},set_firstGroupOnly:function(a){ULSdih:;this.$4L_1=a;return a},get_folderServerRelativeUrl:function(){ULSdih:;return this.$j_1},set_folderServerRelativeUrl:function(a){ULSdih:;this.$j_1=a;return a},get_overrideViewXml:function(){ULSdih:;return this.$50_1},set_overrideViewXml:function(a){ULSdih:;this.$50_1=a;return a},get_paging:function(){ULSdih:;return this.$53_1},set_paging:function(a){ULSdih:;this.$53_1=a;return a},get_renderOptions:function(){ULSdih:;return this.$5H_1},set_renderOptions:function(a){ULSdih:;this.$5H_1=a;return a},get_viewXml:function(){ULSdih:;return this.$W_1},set_viewXml:function(a){ULSdih:;this.$W_1=a;return a},get_typeId:function(){ULSdih:;return"{ae2d69b3-12fa-4ecb-ba76-bba24d51e83d}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AllowMultipleValueFilterForTaxonomyFields","DatesInUtc","ExpandGroups","FirstGroupOnly","FolderServerRelativeUrl","OverrideViewXml","Paging","RenderOptions","ViewXml"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AllowMultipleValueFilterForTaxonomyFields;if(!SP.ScriptUtility.isUndefined(a)){this.$2H_1=a;delete b.AllowMultipleValueFilterForTaxonomyFields}a=b.DatesInUtc;if(!SP.ScriptUtility.isUndefined(a)){this.$X_1=a;delete b.DatesInUtc}a=b.ExpandGroups;if(!SP.ScriptUtility.isUndefined(a)){this.$2y_1=a;delete b.ExpandGroups}a=b.FirstGroupOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$4L_1=a;delete b.FirstGroupOnly}a=b.FolderServerRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$j_1=a;delete b.FolderServerRelativeUrl}a=b.OverrideViewXml;if(!SP.ScriptUtility.isUndefined(a)){this.$50_1=a;delete b.OverrideViewXml}a=b.Paging;if(!SP.ScriptUtility.isUndefined(a)){this.$53_1=a;delete b.Paging}a=b.RenderOptions;if(!SP.ScriptUtility.isUndefined(a)){this.$5H_1=SP.DataConvert.fixupType(null,a);delete b.RenderOptions}a=b.ViewXml;if(!SP.ScriptUtility.isUndefined(a)){this.$W_1=a;delete b.ViewXml}}};SP.RenderListFilterDataParameters=function(){ULSdih:;SP.RenderListFilterDataParameters.initializeBase(this)};SP.RenderListFilterDataParameters.prototype={$2x_1:false,$h_1:null,$J_1:null,$56_1:null,$6_1:null,get_excludeFieldFilteringHtml:function(){ULSdih:;return this.$2x_1},set_excludeFieldFilteringHtml:function(a){ULSdih:;this.$2x_1=a;return a},get_fieldInternalName:function(){ULSdih:;return this.$h_1},set_fieldInternalName:function(a){ULSdih:;this.$h_1=a;return a},get_overrideScope:function(){ULSdih:;return this.$J_1},set_overrideScope:function(a){ULSdih:;this.$J_1=a;return a},get_processQStringToCAML:function(){ULSdih:;return this.$56_1},set_processQStringToCAML:function(a){ULSdih:;this.$56_1=a;return a},get_viewId:function(){ULSdih:;return this.$6_1},set_viewId:function(a){ULSdih:;this.$6_1=a;return a},get_typeId:function(){ULSdih:;return"{5932e072-c4e0-4809-b1c9-88077c4df471}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ExcludeFieldFilteringHtml","FieldInternalName","OverrideScope","ProcessQStringToCAML","ViewId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ExcludeFieldFilteringHtml;if(!SP.ScriptUtility.isUndefined(a)){this.$2x_1=a;delete b.ExcludeFieldFilteringHtml}a=b.FieldInternalName;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.FieldInternalName}a=b.OverrideScope;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.OverrideScope}a=b.ProcessQStringToCAML;if(!SP.ScriptUtility.isUndefined(a)){this.$56_1=a;delete b.ProcessQStringToCAML}a=b.ViewId;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=a;delete b.ViewId}}};SP.RequestContext=function(a,b){ULSdih:;SP.RequestContext.initializeBase(this,[a,b])};SP.RequestContext.getCurrent=function(b){ULSdih:;var a=b.get_staticObjects().Microsoft$SharePoint$SPContext$Current;if(!a){a=new SP.RequestContext(b,new SP.ObjectPathStaticProperty(b,"{3747adcd-a3c3-41b9-bfab-4a64dd2f1e0a}","Current"));b.get_staticObjects().Microsoft$SharePoint$SPContext$Current=a}return a};SP.RequestContext.prototype={get_list:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().List;if(SP.ScriptUtility.isUndefined(a)){a=new SP.List(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"List"));this.get_objectData().get_clientObjectProperties().List=a}return a},get_site:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Site;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Site(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Site"));this.get_objectData().get_clientObjectProperties().Site=a}return a},get_web:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Web;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Web(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Web"));this.get_objectData().get_clientObjectProperties().Web=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.List;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("List",this.get_list(),a);this.get_list().fromJson(a);delete b.List}a=b.Site;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Site",this.get_site(),a);this.get_site().fromJson(a);delete b.Site}a=b.Web;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Web",this.get_web(),a);this.get_web().fromJson(a);delete b.Web}},getRemoteContext:function(){ULSdih:;var a=this.get_context(),b;b=new SP.RequestContext(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRemoteContext",null));return b}};SP.RequestContextObjectPropertyNames=function(){};SP.RequestUserContext=function(b,a){ULSdih:;SP.RequestUserContext.initializeBase(this,[b,a])};SP.RequestUserContext.getCurrent=function(a){ULSdih:;var b=a.get_staticObjects().Microsoft$SharePoint$SPRequestUserContext$Current;if(!b){b=new SP.RequestUserContext(a,new SP.ObjectPathStaticProperty(a,"{56e4c4bc-9c90-400c-8efd-940e74794e3a}","Current"));a.get_staticObjects().Microsoft$SharePoint$SPRequestUserContext$Current=b}return b};SP.RequestUserContext.prototype={get_user:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().User;if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"User"));this.get_objectData().get_clientObjectProperties().User=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.User;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("User",this.get_user(),a);this.get_user().fromJson(a);delete b.User}}};SP.RequestUserContextObjectPropertyNames=function(){};SP.RequestVariable=function(a){ULSdih:;SP.RequestVariable.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{5806d374-4904-49e9-a73f-3265ee2e06c6}",arguments)])};SP.RequestVariable.newObject=function(a){ULSdih:;return new SP.RequestVariable(a,new SP.ObjectPathConstructor(a,"{5806d374-4904-49e9-a73f-3265ee2e06c6}",null))};SP.RequestVariable.prototype={get_value:function(){ULSdih:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties().Value},initPropertiesFromJson:function(a){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Value;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties().Value=b;delete a.Value}},append:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Append",[a]);b.addQuery(c)},"set":function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Set",[a]);b.addQuery(c)}};SP.RequestVariablePropertyNames=function(){};SP.ResourcePath=function(){ULSdih:;SP.ResourcePath.initializeBase(this)};SP.ResourcePath.fromDecodedUrl=function(a){ULSdih:;if(!a)return null;var b=new SP.ResourcePath;b.$2l_1=a;return b};SP.ResourcePath.prototype={$2l_1:null,get_decodedUrl:function(){ULSdih:;return this.$2l_1},get_typeId:function(){ULSdih:;return"{a265a356-274b-4e6c-b0ef-bbc22bd0969a}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DecodedUrl"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(a){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.DecodedUrl;if(!SP.ScriptUtility.isUndefined(b)){this.$2l_1=b;delete a.DecodedUrl}}};SP.RoleAssignment=function(b,a){ULSdih:;SP.RoleAssignment.initializeBase(this,[b,a])};SP.RoleAssignment.prototype={get_member:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Member;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Principal(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Member"));this.get_objectData().get_clientObjectProperties().Member=a}return a},get_principalId:function(){ULSdih:;this.checkUninitializedProperty("PrincipalId");return this.get_objectData().get_properties().PrincipalId},get_roleDefinitionBindings:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RoleDefinitionBindings;if(SP.ScriptUtility.isUndefined(a)){a=new SP.RoleDefinitionBindingCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RoleDefinitionBindings"));this.get_objectData().get_clientObjectProperties().RoleDefinitionBindings=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Member;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Member",this.get_member(),a);this.get_member().fromJson(a);delete b.Member}a=b.PrincipalId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PrincipalId=a;delete b.PrincipalId}a=b.RoleDefinitionBindings;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RoleDefinitionBindings",this.get_roleDefinitionBindings(),a);this.get_roleDefinitionBindings().fromJson(a);delete b.RoleDefinitionBindings}},importRoleDefinitionBindings:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"ImportRoleDefinitionBindings",[a]);b.addQuery(c)},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},deleteObject:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};SP.RoleAssignmentPropertyNames=function(){};SP.RoleAssignmentObjectPropertyNames=function(){};SP.RoleAssignmentCollection=function(b,a){ULSdih:;SP.RoleAssignmentCollection.initializeBase(this,[b,a])};SP.RoleAssignmentCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.RoleAssignment},get_groups:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Groups;if(SP.ScriptUtility.isUndefined(a)){a=new SP.GroupCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Groups"));this.get_objectData().get_clientObjectProperties().Groups=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Groups;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Groups",this.get_groups(),a);this.get_groups().fromJson(a);delete b.Groups}},getByPrincipal:function(d){ULSdih:;var b=this.get_context(),a;a=new SP.RoleAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByPrincipal",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getByPrincipalId:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetByPrincipalId;if(SP.ScriptUtility.isNullOrUndefined(c)){c=[];this.get_objectData().get_methodReturnObjects().GetByPrincipalId=c}a=c[d];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.RoleAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByPrincipalId",[d]));if(!b.get_disableReturnValueCache())c[d]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},add:function(e,d){ULSdih:;var b=this.get_context(),a;a=new SP.RoleAssignment(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[e,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a}};SP.RoleAssignmentCollectionObjectPropertyNames=function(){};SP.RoleDefinition=function(b,a){ULSdih:;SP.RoleDefinition.initializeBase(this,[b,a])};SP.RoleDefinition.prototype={$F_1:function(a){ULSdih:;if(a){this.get_objectData().get_properties().Description=a.$2_1;this.get_objectData().get_properties().Name=a.$4_1;this.get_objectData().get_properties().Order=a.$1f_1;this.get_objectData().get_properties().BasePermissions=a.$1R_1}},get_basePermissions:function(){ULSdih:;this.checkUninitializedProperty("BasePermissions");return this.get_objectData().get_properties().BasePermissions},set_basePermissions:function(a){ULSdih:;this.get_objectData().get_properties().BasePermissions=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BasePermissions",a));return a},get_description:function(){ULSdih:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},set_description:function(a){ULSdih:;this.get_objectData().get_properties().Description=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_hidden:function(){ULSdih:;this.checkUninitializedProperty("Hidden");return this.get_objectData().get_properties().Hidden},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_name:function(){ULSdih:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},set_name:function(a){ULSdih:;this.get_objectData().get_properties().Name=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_order:function(){ULSdih:;this.checkUninitializedProperty("Order");return this.get_objectData().get_properties().Order},set_order:function(a){ULSdih:;this.get_objectData().get_properties().Order=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Order",a));return a},get_roleTypeKind:function(){ULSdih:;this.checkUninitializedProperty("RoleTypeKind");return this.get_objectData().get_properties().RoleTypeKind},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BasePermissions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().BasePermissions=SP.DataConvert.fixupType(this.get_context(),a);delete b.BasePermissions}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.Hidden;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Hidden=a;delete b.Hidden}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Order=a;delete b.Order}a=b.RoleTypeKind;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RoleTypeKind=SP.DataConvert.fixupType(this.get_context(),a);delete b.RoleTypeKind}},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},deleteObject:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};SP.RoleDefinitionPropertyNames=function(){};SP.RoleDefinitionBindingCollection=function(a){ULSdih:;SP.RoleDefinitionBindingCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{07bf1941-6953-4761-b114-58374b4aaf57}",arguments)])};SP.RoleDefinitionBindingCollection.newObject=function(a){ULSdih:;return new SP.RoleDefinitionBindingCollection(a,new SP.ObjectPathConstructor(a,"{07bf1941-6953-4761-b114-58374b4aaf57}",null))};SP.RoleDefinitionBindingCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.RoleDefinition},$8S_2:function(){ULSdih:;var a=this.get_data();while(a.length>0)Array.removeAt(a,a.length-1)},add:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Add",[a]);b.addQuery(c);this.addChild(a)},remove:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Remove",[a]);b.addQuery(c);this.removeChild(a)},removeAll:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RemoveAll",null);a.addQuery(b);this.$8S_2()}};SP.RoleDefinitionCollection=function(b,a){ULSdih:;SP.RoleDefinitionCollection.initializeBase(this,[b,a])};SP.RoleDefinitionCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.RoleDefinition},getByName:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetByName;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().GetByName=c}a=c[d];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.RoleDefinition(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByName",[d]));if(!b.get_disableReturnValueCache())c[d]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},add:function(c){ULSdih:;var b=this.get_context(),a;a=new SP.RoleDefinition(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[c]));a.get_path().setPendingReplace();var d=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(d.get_id(),a);b.addQuery(d);this.addChild(a);a.$F_1(c);return a},recreateMissingDefaultRoleDefinitions:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RecreateMissingDefaultRoleDefinitions",null);a.addQuery(b)},getById:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetById;if(SP.ScriptUtility.isNullOrUndefined(c)){c=[];this.get_objectData().get_methodReturnObjects().GetById=c}a=c[d];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.RoleDefinition(b,new SP.ObjectPathMethod(b,this.get_path(),"GetById",[d]));if(!b.get_disableReturnValueCache())c[d]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getByType:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetByType;if(SP.ScriptUtility.isNullOrUndefined(c)){c=[];this.get_objectData().get_methodReturnObjects().GetByType=c}a=c[d];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.RoleDefinition(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByType",[d]));if(!b.get_disableReturnValueCache())c[d]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.RoleDefinitionCreationInformation=function(){ULSdih:;SP.RoleDefinitionCreationInformation.initializeBase(this)};SP.RoleDefinitionCreationInformation.prototype={$1R_1:null,$2_1:null,$4_1:null,$1f_1:0,get_basePermissions:function(){ULSdih:;return this.$1R_1},set_basePermissions:function(a){ULSdih:;this.$1R_1=a;return a},get_description:function(){ULSdih:;return this.$2_1},set_description:function(a){ULSdih:;this.$2_1=a;return a},get_name:function(){ULSdih:;return this.$4_1},set_name:function(a){ULSdih:;this.$4_1=a;return a},get_order:function(){ULSdih:;return this.$1f_1},set_order:function(a){ULSdih:;this.$1f_1=a;return a},get_typeId:function(){ULSdih:;return"{59eddf82-1018-4677-8067-69e16efd3495}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["BasePermissions","Description","Name","Order"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BasePermissions;if(!SP.ScriptUtility.isUndefined(a)){this.$1R_1=SP.DataConvert.fixupType(null,a);delete b.BasePermissions}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Name}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.$1f_1=a;delete b.Order}}};SP.SecurableObject=function(b,a){ULSdih:;SP.SecurableObject.initializeBase(this,[b,a])};SP.SecurableObject.prototype={get_firstUniqueAncestorSecurableObject:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().FirstUniqueAncestorSecurableObject;if(SP.ScriptUtility.isUndefined(a)){a=new SP.SecurableObject(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"FirstUniqueAncestorSecurableObject"));this.get_objectData().get_clientObjectProperties().FirstUniqueAncestorSecurableObject=a}return a},get_hasUniqueRoleAssignments:function(){ULSdih:;this.checkUninitializedProperty("HasUniqueRoleAssignments");return this.get_objectData().get_properties().HasUniqueRoleAssignments},get_roleAssignments:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RoleAssignments;if(SP.ScriptUtility.isUndefined(a)){a=new SP.RoleAssignmentCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RoleAssignments"));this.get_objectData().get_clientObjectProperties().RoleAssignments=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FirstUniqueAncestorSecurableObject;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("FirstUniqueAncestorSecurableObject",this.get_firstUniqueAncestorSecurableObject(),a);this.get_firstUniqueAncestorSecurableObject().fromJson(a);delete b.FirstUniqueAncestorSecurableObject}a=b.HasUniqueRoleAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().HasUniqueRoleAssignments=a;delete b.HasUniqueRoleAssignments}a=b.RoleAssignments;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RoleAssignments",this.get_roleAssignments(),a);this.get_roleAssignments().fromJson(a);delete b.RoleAssignments}},resetRoleInheritance:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"ResetRoleInheritance",null);a.addQuery(b)},breakRoleInheritance:function(a,b){ULSdih:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"BreakRoleInheritance",[a,b]);c.addQuery(d)}};SP.SecurableObjectPropertyNames=function(){};SP.SecurableObjectObjectPropertyNames=function(){};SP.ServerSettings=function(){};SP.ServerSettings.getAlternateUrls=function(a){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.ClientObjectList(a,new SP.ObjectPathStaticMethod(a,"{adfa7b3e-a27c-4288-9b6c-a8ea51bf082d}","GetAlternateUrls",null),SP.AlternateUrl);return b};SP.ServerSettings.getGlobalInstalledLanguages=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{adfa7b3e-a27c-4288-9b6c-a8ea51bf082d}","GetGlobalInstalledLanguages",[d]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.ServerSettings.isSharePointOnline=function(a){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{adfa7b3e-a27c-4288-9b6c-a8ea51bf082d}","IsSharePointOnline",null);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.SharedWithUser=function(){ULSdih:;SP.SharedWithUser.initializeBase(this)};SP.SharedWithUser.prototype={$5_1:null,$4_1:null,get_email:function(){ULSdih:;return this.$5_1},get_name:function(){ULSdih:;return this.$4_1},get_typeId:function(){ULSdih:;return"{01d693d9-72c2-4531-9fb9-105c88b6706b}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Email","Name"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Email}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Name}}};SP.SharedWithUserCollection=function(){ULSdih:;SP.SharedWithUserCollection.initializeBase(this)};SP.SharedWithUserCollection.prototype={add:function(a){ULSdih:;this.addChild(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_typeId:function(){ULSdih:;return"{c60fa59c-1de9-4b4f-a6ed-2b4b625ff300}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)}};SP.SharePointSharingSettings=function(b,a){ULSdih:;SP.SharePointSharingSettings.initializeBase(this,[b,a])};SP.SharePointSharingSettings.prototype={get_addToGroupModeName:function(){ULSdih:;this.checkUninitializedProperty("AddToGroupModeName");return this.get_objectData().get_properties().AddToGroupModeName},get_groupNameLines:function(){ULSdih:;this.checkUninitializedProperty("GroupNameLines");return this.get_objectData().get_properties().GroupNameLines},get_groupRoleDefinitionNamesLines:function(){ULSdih:;this.checkUninitializedProperty("GroupRoleDefinitionNamesLines");return this.get_objectData().get_properties().GroupRoleDefinitionNamesLines},get_isMobileView:function(){ULSdih:;this.checkUninitializedProperty("IsMobileView");return this.get_objectData().get_properties().IsMobileView},get_panelGivePermissionsVisible:function(){ULSdih:;this.checkUninitializedProperty("PanelGivePermissionsVisible");return this.get_objectData().get_properties().PanelGivePermissionsVisible},get_panelShowHideMoreOptionsVisible:function(){ULSdih:;this.checkUninitializedProperty("PanelShowHideMoreOptionsVisible");return this.get_objectData().get_properties().PanelShowHideMoreOptionsVisible},get_panelSimplifiedRoleSelectorVisible:function(){ULSdih:;this.checkUninitializedProperty("PanelSimplifiedRoleSelectorVisible");return this.get_objectData().get_properties().PanelSimplifiedRoleSelectorVisible},get_pickerProperties:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().PickerProperties;if(SP.ScriptUtility.isUndefined(a)){a=new SP.PickerSettings(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PickerProperties"));this.get_objectData().get_clientObjectProperties().PickerProperties=a}return a},get_requiredScriptFileLinks:function(){ULSdih:;this.checkUninitializedProperty("RequiredScriptFileLinks");return this.get_objectData().get_properties().RequiredScriptFileLinks},get_roleDefinitionNameLines:function(){ULSdih:;this.checkUninitializedProperty("RoleDefinitionNameLines");return this.get_objectData().get_properties().RoleDefinitionNameLines},get_selectedGroup:function(){ULSdih:;this.checkUninitializedProperty("SelectedGroup");return this.get_objectData().get_properties().SelectedGroup},get_sharedWithEnabled:function(){ULSdih:;this.checkUninitializedProperty("SharedWithEnabled");return this.get_objectData().get_properties().SharedWithEnabled},get_sharingCssLink:function(){ULSdih:;this.checkUninitializedProperty("SharingCssLink");return this.get_objectData().get_properties().SharingCssLink},get_tabbedDialogEnabled:function(){ULSdih:;this.checkUninitializedProperty("TabbedDialogEnabled");return this.get_objectData().get_properties().TabbedDialogEnabled},get_tabToShow:function(){ULSdih:;this.checkUninitializedProperty("TabToShow");return this.get_objectData().get_properties().TabToShow},get_txtEmailSubjectText:function(){ULSdih:;this.checkUninitializedProperty("txtEmailSubjectText");return this.get_objectData().get_properties().txtEmailSubjectText},get_userDisplayUrl:function(){ULSdih:;this.checkUninitializedProperty("UserDisplayUrl");return this.get_objectData().get_properties().UserDisplayUrl},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AddToGroupModeName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AddToGroupModeName=a;delete b.AddToGroupModeName}a=b.GroupNameLines;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().GroupNameLines=SP.DataConvert.fixupType(this.get_context(),a);delete b.GroupNameLines}a=b.GroupRoleDefinitionNamesLines;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().GroupRoleDefinitionNamesLines=SP.DataConvert.fixupType(this.get_context(),a);delete b.GroupRoleDefinitionNamesLines}a=b.IsMobileView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsMobileView=a;delete b.IsMobileView}a=b.PanelGivePermissionsVisible;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PanelGivePermissionsVisible=a;delete b.PanelGivePermissionsVisible}a=b.PanelShowHideMoreOptionsVisible;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PanelShowHideMoreOptionsVisible=a;delete b.PanelShowHideMoreOptionsVisible}a=b.PanelSimplifiedRoleSelectorVisible;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PanelSimplifiedRoleSelectorVisible=a;delete b.PanelSimplifiedRoleSelectorVisible}a=b.PickerProperties;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PickerProperties",this.get_pickerProperties(),a);this.get_pickerProperties().fromJson(a);delete b.PickerProperties}a=b.RequiredScriptFileLinks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RequiredScriptFileLinks=SP.DataConvert.fixupType(this.get_context(),a);delete b.RequiredScriptFileLinks}a=b.RoleDefinitionNameLines;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RoleDefinitionNameLines=SP.DataConvert.fixupType(this.get_context(),a);delete b.RoleDefinitionNameLines}a=b.SelectedGroup;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SelectedGroup=a;delete b.SelectedGroup}a=b.SharedWithEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SharedWithEnabled=a;delete b.SharedWithEnabled}a=b.SharingCssLink;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SharingCssLink=a;delete b.SharingCssLink}a=b.TabbedDialogEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TabbedDialogEnabled=a;delete b.TabbedDialogEnabled}a=b.TabToShow;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TabToShow=a;delete b.TabToShow}a=b.txtEmailSubjectText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().txtEmailSubjectText=a;delete b.txtEmailSubjectText}a=b.UserDisplayUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UserDisplayUrl=a;delete b.UserDisplayUrl}}};SP.SharePointSharingSettingsPropertyNames=function(){};SP.SharePointSharingSettingsObjectPropertyNames=function(){};SP.SharingLinkInfo=function(){ULSdih:;SP.SharingLinkInfo.initializeBase(this)};SP.SharingLinkInfo.prototype={$6y_1:null,$77_1:false,$7I_1:0,$1_1:null,get_expiration:function(){ULSdih:;return this.$6y_1},get_isActive:function(){ULSdih:;return this.$77_1},get_linkKind:function(){ULSdih:;return this.$7I_1},get_url:function(){ULSdih:;return this.$1_1},get_typeId:function(){ULSdih:;return"{43647532-53c0-489a-a800-b51f5a3804a2}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Expiration","IsActive","LinkKind","Url"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Expiration;if(!SP.ScriptUtility.isUndefined(a)){this.$6y_1=a;delete b.Expiration}a=b.IsActive;if(!SP.ScriptUtility.isUndefined(a)){this.$77_1=a;delete b.IsActive}a=b.LinkKind;if(!SP.ScriptUtility.isUndefined(a)){this.$7I_1=SP.DataConvert.fixupType(null,a);delete b.LinkKind}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Url}}};SP.SharingPermissionInformation=function(b,a){ULSdih:;SP.SharingPermissionInformation.initializeBase(this,[b,a])};SP.SharingPermissionInformation.prototype={get_isDefaultPermission:function(){ULSdih:;this.checkUninitializedProperty("IsDefaultPermission");return this.get_objectData().get_properties().IsDefaultPermission},get_permissionDescription:function(){ULSdih:;this.checkUninitializedProperty("PermissionDescription");return this.get_objectData().get_properties().PermissionDescription},get_permissionId:function(){ULSdih:;this.checkUninitializedProperty("PermissionId");return this.get_objectData().get_properties().PermissionId},get_permissionKind:function(){ULSdih:;this.checkUninitializedProperty("PermissionKind");return this.get_objectData().get_properties().PermissionKind},get_permissionName:function(){ULSdih:;this.checkUninitializedProperty("PermissionName");return this.get_objectData().get_properties().PermissionName},get_permissionRoleType:function(){ULSdih:;this.checkUninitializedProperty("PermissionRoleType");return this.get_objectData().get_properties().PermissionRoleType},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsDefaultPermission;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsDefaultPermission=a;delete b.IsDefaultPermission}a=b.PermissionDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PermissionDescription=a;delete b.PermissionDescription}a=b.PermissionId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PermissionId=a;delete b.PermissionId}a=b.PermissionKind;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PermissionKind=SP.DataConvert.fixupType(this.get_context(),a);delete b.PermissionKind}a=b.PermissionName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PermissionName=a;delete b.PermissionName}a=b.PermissionRoleType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PermissionRoleType=SP.DataConvert.fixupType(this.get_context(),a);delete b.PermissionRoleType}}};SP.SharingPermissionInformationPropertyNames=function(){};SP.SharingPermissionInformationCollection=function(b,a){ULSdih:;SP.SharingPermissionInformationCollection.initializeBase(this,[b,a])};SP.SharingPermissionInformationCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.SharingPermissionInformation}};SP.SharingResult=function(b,a){ULSdih:;SP.SharingResult.initializeBase(this,[b,a])};SP.SharingResult.prototype={get_errorMessage:function(){ULSdih:;this.checkUninitializedProperty("ErrorMessage");return this.get_objectData().get_properties().ErrorMessage},get_groupsSharedWith:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().GroupsSharedWith;if(SP.ScriptUtility.isUndefined(a)){a=new SP.GroupCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"GroupsSharedWith"));this.get_objectData().get_clientObjectProperties().GroupsSharedWith=a}return a},get_groupUsersAddedTo:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().GroupUsersAddedTo;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Group(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"GroupUsersAddedTo"));this.get_objectData().get_clientObjectProperties().GroupUsersAddedTo=a}return a},get_iconUrl:function(){ULSdih:;this.checkUninitializedProperty("IconUrl");return this.get_objectData().get_properties().IconUrl},get_invitedUsers:function(){ULSdih:;this.checkUninitializedProperty("InvitedUsers");return this.get_objectData().get_properties().InvitedUsers},get_name:function(){ULSdih:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},get_permissionsPageRelativeUrl:function(){ULSdih:;this.checkUninitializedProperty("PermissionsPageRelativeUrl");return this.get_objectData().get_properties().PermissionsPageRelativeUrl},get_statusCode:function(){ULSdih:;this.checkUninitializedProperty("StatusCode");return this.get_objectData().get_properties().StatusCode},get_uniquelyPermissionedUsers:function(){ULSdih:;this.checkUninitializedProperty("UniquelyPermissionedUsers");return this.get_objectData().get_properties().UniquelyPermissionedUsers},get_url:function(){ULSdih:;this.checkUninitializedProperty("Url");return this.get_objectData().get_properties().Url},get_usersAddedToGroup:function(){ULSdih:;this.checkUninitializedProperty("UsersAddedToGroup");return this.get_objectData().get_properties().UsersAddedToGroup},get_usersWithAccessRequests:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().UsersWithAccessRequests;if(SP.ScriptUtility.isUndefined(a)){a=new SP.SharingUserCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"UsersWithAccessRequests"));this.get_objectData().get_clientObjectProperties().UsersWithAccessRequests=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ErrorMessage=a;delete b.ErrorMessage}a=b.GroupsSharedWith;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("GroupsSharedWith",this.get_groupsSharedWith(),a);this.get_groupsSharedWith().fromJson(a);delete b.GroupsSharedWith}a=b.GroupUsersAddedTo;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("GroupUsersAddedTo",this.get_groupUsersAddedTo(),a);this.get_groupUsersAddedTo().fromJson(a);delete b.GroupUsersAddedTo}a=b.IconUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IconUrl=a;delete b.IconUrl}a=b.InvitedUsers;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().InvitedUsers=[];SP.DataConvert.populateArray(this.get_context(),this.get_objectData().get_properties().InvitedUsers,a);delete b.InvitedUsers}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.PermissionsPageRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PermissionsPageRelativeUrl=a;delete b.PermissionsPageRelativeUrl}a=b.StatusCode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().StatusCode=SP.DataConvert.fixupType(this.get_context(),a);delete b.StatusCode}a=b.UniquelyPermissionedUsers;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UniquelyPermissionedUsers=[];SP.DataConvert.populateArray(this.get_context(),this.get_objectData().get_properties().UniquelyPermissionedUsers,a);delete b.UniquelyPermissionedUsers}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Url=a;delete b.Url}a=b.UsersAddedToGroup;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UsersAddedToGroup=[];SP.DataConvert.populateArray(this.get_context(),this.get_objectData().get_properties().UsersAddedToGroup,a);delete b.UsersAddedToGroup}a=b.UsersWithAccessRequests;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("UsersWithAccessRequests",this.get_usersWithAccessRequests(),a);this.get_usersWithAccessRequests().fromJson(a);delete b.UsersWithAccessRequests}}};SP.SharingResultPropertyNames=function(){};SP.SharingResultObjectPropertyNames=function(){};SP.SharingUserCollection=function(b,a){ULSdih:;SP.SharingUserCollection.initializeBase(this,[b,a])};SP.SharingUserCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.User}};SP.Site=function(b,a){ULSdih:;SP.Site.initializeBase(this,[b,a])};SP.Site.exists=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{e1bb82e8-0d1e-4e52-b90c-684802ab4ef6}","Exists",[d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Site.prototype={get_allowCreateDeclarativeWorkflow:function(){ULSdih:;this.checkUninitializedProperty("AllowCreateDeclarativeWorkflow");return this.get_objectData().get_properties().AllowCreateDeclarativeWorkflow},set_allowCreateDeclarativeWorkflow:function(a){ULSdih:;this.get_objectData().get_properties().AllowCreateDeclarativeWorkflow=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowCreateDeclarativeWorkflow",a));return a},get_allowDesigner:function(){ULSdih:;this.checkUninitializedProperty("AllowDesigner");return this.get_objectData().get_properties().AllowDesigner},set_allowDesigner:function(a){ULSdih:;this.get_objectData().get_properties().AllowDesigner=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowDesigner",a));return a},get_allowMasterPageEditing:function(){ULSdih:;this.checkUninitializedProperty("AllowMasterPageEditing");return this.get_objectData().get_properties().AllowMasterPageEditing},set_allowMasterPageEditing:function(a){ULSdih:;this.get_objectData().get_properties().AllowMasterPageEditing=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowMasterPageEditing",a));return a},get_allowRevertFromTemplate:function(){ULSdih:;this.checkUninitializedProperty("AllowRevertFromTemplate");return this.get_objectData().get_properties().AllowRevertFromTemplate},set_allowRevertFromTemplate:function(a){ULSdih:;this.get_objectData().get_properties().AllowRevertFromTemplate=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowRevertFromTemplate",a));return a},get_allowSaveDeclarativeWorkflowAsTemplate:function(){ULSdih:;this.checkUninitializedProperty("AllowSaveDeclarativeWorkflowAsTemplate");return this.get_objectData().get_properties().AllowSaveDeclarativeWorkflowAsTemplate},set_allowSaveDeclarativeWorkflowAsTemplate:function(a){ULSdih:;this.get_objectData().get_properties().AllowSaveDeclarativeWorkflowAsTemplate=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowSaveDeclarativeWorkflowAsTemplate",a));return a},get_allowSavePublishDeclarativeWorkflow:function(){ULSdih:;this.checkUninitializedProperty("AllowSavePublishDeclarativeWorkflow");return this.get_objectData().get_properties().AllowSavePublishDeclarativeWorkflow},set_allowSavePublishDeclarativeWorkflow:function(a){ULSdih:;this.get_objectData().get_properties().AllowSavePublishDeclarativeWorkflow=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowSavePublishDeclarativeWorkflow",a));return a},get_allowSelfServiceUpgrade:function(){ULSdih:;this.checkUninitializedProperty("AllowSelfServiceUpgrade");return this.get_objectData().get_properties().AllowSelfServiceUpgrade},set_allowSelfServiceUpgrade:function(a){ULSdih:;this.get_objectData().get_properties().AllowSelfServiceUpgrade=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowSelfServiceUpgrade",a));return a},get_allowSelfServiceUpgradeEvaluation:function(){ULSdih:;this.checkUninitializedProperty("AllowSelfServiceUpgradeEvaluation");return this.get_objectData().get_properties().AllowSelfServiceUpgradeEvaluation},set_allowSelfServiceUpgradeEvaluation:function(a){ULSdih:;this.get_objectData().get_properties().AllowSelfServiceUpgradeEvaluation=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowSelfServiceUpgradeEvaluation",a));return a},get_audit:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Audit;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Audit(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Audit"));this.get_objectData().get_clientObjectProperties().Audit=a}return a},get_auditLogTrimmingRetention:function(){ULSdih:;this.checkUninitializedProperty("AuditLogTrimmingRetention");return this.get_objectData().get_properties().AuditLogTrimmingRetention},set_auditLogTrimmingRetention:function(a){ULSdih:;this.get_objectData().get_properties().AuditLogTrimmingRetention=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AuditLogTrimmingRetention",a));return a},get_canUpgrade:function(){ULSdih:;this.checkUninitializedProperty("CanUpgrade");return this.get_objectData().get_properties().CanUpgrade},get_classification:function(){ULSdih:;this.checkUninitializedProperty("Classification");return this.get_objectData().get_properties().Classification},set_classification:function(a){ULSdih:;this.get_objectData().get_properties().Classification=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Classification",a));return a},get_compatibilityLevel:function(){ULSdih:;this.checkUninitializedProperty("CompatibilityLevel");return this.get_objectData().get_properties().CompatibilityLevel},get_currentChangeToken:function(){ULSdih:;this.checkUninitializedProperty("CurrentChangeToken");return this.get_objectData().get_properties().CurrentChangeToken},get_disableAppViews:function(){ULSdih:;this.checkUninitializedProperty("DisableAppViews");return this.get_objectData().get_properties().DisableAppViews},set_disableAppViews:function(a){ULSdih:;this.get_objectData().get_properties().DisableAppViews=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisableAppViews",a));return a},get_disableCompanyWideSharingLinks:function(){ULSdih:;this.checkUninitializedProperty("DisableCompanyWideSharingLinks");return this.get_objectData().get_properties().DisableCompanyWideSharingLinks},set_disableCompanyWideSharingLinks:function(a){ULSdih:;this.get_objectData().get_properties().DisableCompanyWideSharingLinks=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisableCompanyWideSharingLinks",a));return a},get_disableFlows:function(){ULSdih:;this.checkUninitializedProperty("DisableFlows");return this.get_objectData().get_properties().DisableFlows},set_disableFlows:function(a){ULSdih:;this.get_objectData().get_properties().DisableFlows=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisableFlows",a));return a},get_eventReceivers:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().EventReceivers;if(SP.ScriptUtility.isUndefined(a)){a=new SP.EventReceiverDefinitionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EventReceivers"));this.get_objectData().get_clientObjectProperties().EventReceivers=a}return a},get_externalSharingTipsEnabled:function(){ULSdih:;this.checkUninitializedProperty("ExternalSharingTipsEnabled");return this.get_objectData().get_properties().ExternalSharingTipsEnabled},get_features:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Features;if(SP.ScriptUtility.isUndefined(a)){a=new SP.FeatureCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Features"));this.get_objectData().get_clientObjectProperties().Features=a}return a},get_groupId:function(){ULSdih:;this.checkUninitializedProperty("GroupId");return this.get_objectData().get_properties().GroupId},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_lockIssue:function(){ULSdih:;this.checkUninitializedProperty("LockIssue");return this.get_objectData().get_properties().LockIssue},get_maxItemsPerThrottledOperation:function(){ULSdih:;this.checkUninitializedProperty("MaxItemsPerThrottledOperation");return this.get_objectData().get_properties().MaxItemsPerThrottledOperation},get_needsB2BUpgrade:function(){ULSdih:;this.checkUninitializedProperty("NeedsB2BUpgrade");return this.get_objectData().get_properties().NeedsB2BUpgrade},set_needsB2BUpgrade:function(a){ULSdih:;this.get_objectData().get_properties().NeedsB2BUpgrade=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NeedsB2BUpgrade",a));return a},get_owner:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Owner;if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Owner"));this.get_objectData().get_clientObjectProperties().Owner=a}return a},set_owner:function(a){ULSdih:;this.get_objectData().get_clientObjectProperties().Owner=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_primaryUri:function(){ULSdih:;this.checkUninitializedProperty("PrimaryUri");return this.get_objectData().get_properties().PrimaryUri},get_readOnly:function(){ULSdih:;this.checkUninitializedProperty("ReadOnly");return this.get_objectData().get_properties().ReadOnly},get_recycleBin:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RecycleBin;if(SP.ScriptUtility.isUndefined(a)){a=new SP.RecycleBinItemCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RecycleBin"));this.get_objectData().get_clientObjectProperties().RecycleBin=a}return a},get_requiredDesignerVersion:function(){ULSdih:;this.checkUninitializedProperty("RequiredDesignerVersion");return this.get_objectData().get_properties().RequiredDesignerVersion},get_rootWeb:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RootWeb;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Web(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RootWeb"));this.get_objectData().get_clientObjectProperties().RootWeb=a}return a},get_sandboxedCodeActivationCapability:function(){ULSdih:;this.checkUninitializedProperty("SandboxedCodeActivationCapability");return this.get_objectData().get_properties().SandboxedCodeActivationCapability},set_sandboxedCodeActivationCapability:function(a){ULSdih:;this.get_objectData().get_properties().SandboxedCodeActivationCapability=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SandboxedCodeActivationCapability",a));return a},get_secondaryContact:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().SecondaryContact;if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SecondaryContact"));this.get_objectData().get_clientObjectProperties().SecondaryContact=a}return a},set_secondaryContact:function(a){ULSdih:;this.get_objectData().get_clientObjectProperties().SecondaryContact=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SecondaryContact",a));return a},get_serverRelativePath:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativePath");return this.get_objectData().get_properties().ServerRelativePath},get_serverRelativeUrl:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativeUrl");return this.get_objectData().get_properties().ServerRelativeUrl},get_shareByEmailEnabled:function(){ULSdih:;this.checkUninitializedProperty("ShareByEmailEnabled");return this.get_objectData().get_properties().ShareByEmailEnabled},set_shareByEmailEnabled:function(a){ULSdih:;this.get_objectData().get_properties().ShareByEmailEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShareByEmailEnabled",a));return a},get_shareByLinkEnabled:function(){ULSdih:;this.checkUninitializedProperty("ShareByLinkEnabled");return this.get_objectData().get_properties().ShareByLinkEnabled},get_showUrlStructure:function(){ULSdih:;this.checkUninitializedProperty("ShowUrlStructure");return this.get_objectData().get_properties().ShowUrlStructure},set_showUrlStructure:function(a){ULSdih:;this.get_objectData().get_properties().ShowUrlStructure=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShowUrlStructure",a));return a},get_statusBarLink:function(){ULSdih:;this.checkUninitializedProperty("StatusBarLink");return this.get_objectData().get_properties().StatusBarLink},set_statusBarLink:function(a){ULSdih:;this.get_objectData().get_properties().StatusBarLink=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusBarLink",a));return a},get_statusBarText:function(){ULSdih:;this.checkUninitializedProperty("StatusBarText");return this.get_objectData().get_properties().StatusBarText},set_statusBarText:function(a){ULSdih:;this.get_objectData().get_properties().StatusBarText=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusBarText",a));return a},get_trimAuditLog:function(){ULSdih:;this.checkUninitializedProperty("TrimAuditLog");return this.get_objectData().get_properties().TrimAuditLog},set_trimAuditLog:function(a){ULSdih:;this.get_objectData().get_properties().TrimAuditLog=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimAuditLog",a));return a},get_uiVersionConfigurationEnabled:function(){ULSdih:;this.checkUninitializedProperty("UIVersionConfigurationEnabled");return this.get_objectData().get_properties().UIVersionConfigurationEnabled},set_uiVersionConfigurationEnabled:function(a){ULSdih:;this.get_objectData().get_properties().UIVersionConfigurationEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UIVersionConfigurationEnabled",a));return a},get_upgradeInfo:function(){ULSdih:;this.checkUninitializedProperty("UpgradeInfo");return this.get_objectData().get_properties().UpgradeInfo},get_upgradeReminderDate:function(){ULSdih:;this.checkUninitializedProperty("UpgradeReminderDate");return this.get_objectData().get_properties().UpgradeReminderDate},get_upgradeScheduled:function(){ULSdih:;this.checkUninitializedProperty("UpgradeScheduled");return this.get_objectData().get_properties().UpgradeScheduled},set_upgradeScheduled:function(a){ULSdih:;this.get_objectData().get_properties().UpgradeScheduled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UpgradeScheduled",a));return a},get_upgradeScheduledDate:function(){ULSdih:;this.checkUninitializedProperty("UpgradeScheduledDate");return this.get_objectData().get_properties().UpgradeScheduledDate},set_upgradeScheduledDate:function(a){ULSdih:;this.get_objectData().get_properties().UpgradeScheduledDate=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UpgradeScheduledDate",a));return a},get_upgrading:function(){ULSdih:;this.checkUninitializedProperty("Upgrading");return this.get_objectData().get_properties().Upgrading},get_url:function(){ULSdih:;this.checkUninitializedProperty("Url");return this.get_objectData().get_properties().Url},get_usage:function(){ULSdih:;this.checkUninitializedProperty("Usage");return this.get_objectData().get_properties().Usage},get_userCustomActions:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().UserCustomActions;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserCustomActionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"UserCustomActions"));this.get_objectData().get_clientObjectProperties().UserCustomActions=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AllowCreateDeclarativeWorkflow;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowCreateDeclarativeWorkflow=a;delete b.AllowCreateDeclarativeWorkflow}a=b.AllowDesigner;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowDesigner=a;delete b.AllowDesigner}a=b.AllowMasterPageEditing;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowMasterPageEditing=a;delete b.AllowMasterPageEditing}a=b.AllowRevertFromTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowRevertFromTemplate=a;delete b.AllowRevertFromTemplate}a=b.AllowSaveDeclarativeWorkflowAsTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowSaveDeclarativeWorkflowAsTemplate=a;delete b.AllowSaveDeclarativeWorkflowAsTemplate}a=b.AllowSavePublishDeclarativeWorkflow;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowSavePublishDeclarativeWorkflow=a;delete b.AllowSavePublishDeclarativeWorkflow}a=b.AllowSelfServiceUpgrade;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowSelfServiceUpgrade=a;delete b.AllowSelfServiceUpgrade}a=b.AllowSelfServiceUpgradeEvaluation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowSelfServiceUpgradeEvaluation=a;delete b.AllowSelfServiceUpgradeEvaluation}a=b.Audit;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Audit",this.get_audit(),a);this.get_audit().fromJson(a);delete b.Audit}a=b.AuditLogTrimmingRetention;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AuditLogTrimmingRetention=a;delete b.AuditLogTrimmingRetention}a=b.CanUpgrade;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CanUpgrade=a;delete b.CanUpgrade}a=b.Classification;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Classification=a;delete b.Classification}a=b.CompatibilityLevel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CompatibilityLevel=a;delete b.CompatibilityLevel}a=b.CurrentChangeToken;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CurrentChangeToken=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrentChangeToken}a=b.DisableAppViews;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DisableAppViews=a;delete b.DisableAppViews}a=b.DisableCompanyWideSharingLinks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DisableCompanyWideSharingLinks=a;delete b.DisableCompanyWideSharingLinks}a=b.DisableFlows;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DisableFlows=a;delete b.DisableFlows}a=b.EventReceivers;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EventReceivers",this.get_eventReceivers(),a);this.get_eventReceivers().fromJson(a);delete b.EventReceivers}a=b.ExternalSharingTipsEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExternalSharingTipsEnabled=a;delete b.ExternalSharingTipsEnabled}a=b.Features;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Features",this.get_features(),a);this.get_features().fromJson(a);delete b.Features}a=b.GroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().GroupId=a;delete b.GroupId}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.LockIssue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LockIssue=a;delete b.LockIssue}a=b.MaxItemsPerThrottledOperation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().MaxItemsPerThrottledOperation=a;delete b.MaxItemsPerThrottledOperation}a=b.NeedsB2BUpgrade;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NeedsB2BUpgrade=a;delete b.NeedsB2BUpgrade}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Owner",this.get_owner(),a);this.get_owner().fromJson(a);delete b.Owner}a=b.PrimaryUri;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PrimaryUri=SP.DataConvert.fixupType(this.get_context(),a);delete b.PrimaryUri}a=b.ReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ReadOnly=a;delete b.ReadOnly}a=b.RecycleBin;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RecycleBin",this.get_recycleBin(),a);this.get_recycleBin().fromJson(a);delete b.RecycleBin}a=b.RequiredDesignerVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RequiredDesignerVersion=a;delete b.RequiredDesignerVersion}a=b.RootWeb;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RootWeb",this.get_rootWeb(),a);this.get_rootWeb().fromJson(a);delete b.RootWeb}a=b.SandboxedCodeActivationCapability;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SandboxedCodeActivationCapability=SP.DataConvert.fixupType(this.get_context(),a);delete b.SandboxedCodeActivationCapability}a=b.SecondaryContact;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SecondaryContact",this.get_secondaryContact(),a);this.get_secondaryContact().fromJson(a);delete b.SecondaryContact}a=b.ServerRelativePath;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativePath=SP.DataConvert.fixupType(this.get_context(),a);delete b.ServerRelativePath}a=b.ServerRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativeUrl=a;delete b.ServerRelativeUrl}a=b.ShareByEmailEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShareByEmailEnabled=a;delete b.ShareByEmailEnabled}a=b.ShareByLinkEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShareByLinkEnabled=a;delete b.ShareByLinkEnabled}a=b.ShowUrlStructure;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShowUrlStructure=a;delete b.ShowUrlStructure}a=b.StatusBarLink;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().StatusBarLink=a;delete b.StatusBarLink}a=b.StatusBarText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().StatusBarText=a;delete b.StatusBarText}a=b.TrimAuditLog;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TrimAuditLog=a;delete b.TrimAuditLog}a=b.UIVersionConfigurationEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UIVersionConfigurationEnabled=a;delete b.UIVersionConfigurationEnabled}a=b.UpgradeInfo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UpgradeInfo=SP.DataConvert.fixupType(this.get_context(),a);delete b.UpgradeInfo}a=b.UpgradeReminderDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UpgradeReminderDate=a;delete b.UpgradeReminderDate}a=b.UpgradeScheduled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UpgradeScheduled=a;delete b.UpgradeScheduled}a=b.UpgradeScheduledDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UpgradeScheduledDate=a;delete b.UpgradeScheduledDate}a=b.Upgrading;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Upgrading=a;delete b.Upgrading}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Url=a;delete b.Url}a=b.Usage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Usage=SP.DataConvert.fixupType(this.get_context(),a);delete b.Usage}a=b.UserCustomActions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("UserCustomActions",this.get_userCustomActions(),a);this.get_userCustomActions().fromJson(a);delete b.UserCustomActions}},runHealthCheck:function(e,d,c){ULSdih:;var a=this.get_context(),b;b=new SP.SiteHealth.SiteHealthSummary(a,new SP.ObjectPathMethod(a,this.get_path(),"RunHealthCheck",[e,d,c]));return b},createPreviewSPSite:function(b,a){ULSdih:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"CreatePreviewSPSite",[b,a]);c.addQuery(d)},runUpgradeSiteSession:function(a,b,c){ULSdih:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"RunUpgradeSiteSession",[a,b,c]);d.addQuery(e)},deleteMigrationJob:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeleteMigrationJob",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getMigrationStatus:function(){ULSdih:;var a=this.get_context(),b;b=new SP.SPMigrationJobStatusCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetMigrationStatus",null));return b},getMigrationJobStatus:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMigrationJobStatus",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},createMigrationJob:function(g,e,d,f){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateMigrationJob",[g,e,d,f]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},createMigrationJobEncrypted:function(h,e,d,f,g){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateMigrationJobEncrypted",[h,e,d,f,g]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},createMigrationIngestionJob:function(h,e,d,f,g){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateMigrationIngestionJob",[h,e,d,f,g]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},createCopyJob:function(d,e,f){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateCopyJob",[d,e,f]);b.addQuery(c);a=new SP.CopyMigrationInfo;b.addQueryIdAndResultObject(c.get_id(),a);return a},createCopyJobs:function(d,e,f){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateCopyJobs",[d,e,f]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getCopyJobProgress:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetCopyJobProgress",[d]);b.addQuery(c);a=new SP.CopyJobProgress;b.addQueryIdAndResultObject(c.get_id(),a);return a},provisionMigrationContainers:function(){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ProvisionMigrationContainers",null);b.addQuery(c);a=new SP.ProvisionedMigrationContainersInfo;b.addQueryIdAndResultObject(c.get_id(),a);return a},provisionMigrationQueue:function(){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ProvisionMigrationQueue",null);b.addQuery(c);a=new SP.ProvisionedMigrationQueueInfo;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateClientObjectModelUseRemoteAPIsPermissionSetting:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UpdateClientObjectModelUseRemoteAPIsPermissionSetting",[a]);b.addQuery(c)},needsUpgradeByType:function(d,e){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"NeedsUpgradeByType",[d,e]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getRecycleBinItems:function(d,f,c,g,e){ULSdih:;var a=this.get_context(),b;b=new SP.RecycleBinItemCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRecycleBinItems",[d,f,c,g,e]));return b},getChanges:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.ChangeCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetChanges",[c]));return b},getWebPath:function(d,e){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetWebPath",[d,e]);b.addQuery(c);a=new SP.ResourcePath;b.addQueryIdAndResultObject(c.get_id(),a);return a},openWeb:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().OpenWeb;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().OpenWeb=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Web(b,new SP.ObjectPathMethod(b,this.get_path(),"OpenWeb",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},openWebById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.Web(a,new SP.ObjectPathMethod(a,this.get_path(),"OpenWebById",[c]));return b},getWebTemplates:function(d,c){ULSdih:;var a=this.get_context(),b;b=new SP.WebTemplateCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetWebTemplates",[d,c]));return b},getCustomListTemplates:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.ListTemplateCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetCustomListTemplates",[c]));return b},getCatalog:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetCatalog;if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects().GetCatalog=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.List(c,new SP.ObjectPathMethod(c,this.get_path(),"GetCatalog",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},extendUpgradeReminderDate:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"ExtendUpgradeReminderDate",null);a.addQuery(b)},invalidate:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Invalidate",null);a.addQuery(b)}};SP.SitePropertyNames=function(){};SP.SiteObjectPropertyNames=function(){};SP.SiteUrl=function(b,a){ULSdih:;SP.SiteUrl.initializeBase(this,[b,a])};SP.SPDataLeakagePreventionStatusInfo=function(b,a){ULSdih:;SP.SPDataLeakagePreventionStatusInfo.initializeBase(this,[b,a])};SP.SPDataLeakagePreventionStatusInfo.prototype={get_containsConfidentialInfo:function(){ULSdih:;this.checkUninitializedProperty("ContainsConfidentialInfo");return this.get_objectData().get_properties().ContainsConfidentialInfo},get_containsConfidentialInfoLearnMoreUrl:function(){ULSdih:;this.checkUninitializedProperty("ContainsConfidentialInfoLearnMoreUrl");return this.get_objectData().get_properties().ContainsConfidentialInfoLearnMoreUrl},get_externalSharingTipsEnabled:function(){ULSdih:;this.checkUninitializedProperty("ExternalSharingTipsEnabled");return this.get_objectData().get_properties().ExternalSharingTipsEnabled},get_externalSharingTipsLearnMoreUrl:function(){ULSdih:;this.checkUninitializedProperty("ExternalSharingTipsLearnMoreUrl");return this.get_objectData().get_properties().ExternalSharingTipsLearnMoreUrl},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ContainsConfidentialInfo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ContainsConfidentialInfo=a;delete b.ContainsConfidentialInfo}a=b.ContainsConfidentialInfoLearnMoreUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ContainsConfidentialInfoLearnMoreUrl=a;delete b.ContainsConfidentialInfoLearnMoreUrl}a=b.ExternalSharingTipsEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExternalSharingTipsEnabled=a;delete b.ExternalSharingTipsEnabled}a=b.ExternalSharingTipsLearnMoreUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExternalSharingTipsLearnMoreUrl=a;delete b.ExternalSharingTipsLearnMoreUrl}}};SP.SPDataLeakagePreventionStatusInfoPropertyNames=function(){};SP.SPInvitationCreationResult=function(){ULSdih:;SP.SPInvitationCreationResult.initializeBase(this)};SP.SPInvitationCreationResult.prototype={$5_1:null,$1C_1:null,$7z_1:false,get_email:function(){ULSdih:;return this.$5_1},get_invitationLink:function(){ULSdih:;return this.$1C_1},get_succeeded:function(){ULSdih:;return this.$7z_1},get_typeId:function(){ULSdih:;return"{56593357-67a4-41f7-b6d8-cce2d1013afe}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Email","InvitationLink","Succeeded"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Email}a=b.InvitationLink;if(!SP.ScriptUtility.isUndefined(a)){this.$1C_1=SP.DataConvert.fixupType(null,a);delete b.InvitationLink}a=b.Succeeded;if(!SP.ScriptUtility.isUndefined(a)){this.$7z_1=a;delete b.Succeeded}}};SP.SPMigrationJobStatus=function(b,a){ULSdih:;SP.SPMigrationJobStatus.initializeBase(this,[b,a])};SP.SPMigrationJobStatus.prototype={get_jobId:function(){ULSdih:;this.checkUninitializedProperty("JobId");return this.get_objectData().get_properties().JobId},set_jobId:function(a){ULSdih:;this.get_objectData().get_properties().JobId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"JobId",a));return a},get_jobState:function(){ULSdih:;this.checkUninitializedProperty("JobState");return this.get_objectData().get_properties().JobState},set_jobState:function(a){ULSdih:;this.get_objectData().get_properties().JobState=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"JobState",a));return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.JobId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().JobId=a;delete b.JobId}a=b.JobState;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().JobState=SP.DataConvert.fixupType(this.get_context(),a);delete b.JobState}}};SP.SPMigrationJobStatusPropertyNames=function(){};SP.SPMigrationJobStatusCollection=function(b,a){ULSdih:;SP.SPMigrationJobStatusCollection.initializeBase(this,[b,a])};SP.SPMigrationJobStatusCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.SPMigrationJobStatus}};SP.StorageMetrics=function(b,a){ULSdih:;SP.StorageMetrics.initializeBase(this,[b,a])};SP.StorageMetrics.prototype={get_lastModified:function(){ULSdih:;this.checkUninitializedProperty("LastModified");return this.get_objectData().get_properties().LastModified},get_totalFileCount:function(){ULSdih:;this.checkUninitializedProperty("TotalFileCount");return this.get_objectData().get_properties().TotalFileCount},get_totalFileStreamSize:function(){ULSdih:;this.checkUninitializedProperty("TotalFileStreamSize");return this.get_objectData().get_properties().TotalFileStreamSize},get_totalSize:function(){ULSdih:;this.checkUninitializedProperty("TotalSize");return this.get_objectData().get_properties().TotalSize},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.LastModified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastModified=a;delete b.LastModified}a=b.TotalFileCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TotalFileCount=a;delete b.TotalFileCount}a=b.TotalFileStreamSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TotalFileStreamSize=a;delete b.TotalFileStreamSize}a=b.TotalSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TotalSize=a;delete b.TotalSize}}};SP.StorageMetricsPropertyNames=function(){};SP.SubwebQuery=function(){ULSdih:;this.$2d_1=-1;this.$6F_1=-1;SP.SubwebQuery.initializeBase(this)};SP.SubwebQuery.prototype={get_configurationFilter:function(){ULSdih:;return this.$2d_1},set_configurationFilter:function(a){ULSdih:;this.$2d_1=a;return a},get_webTemplateFilter:function(){ULSdih:;return this.$6F_1},set_webTemplateFilter:function(a){ULSdih:;this.$6F_1=a;return a},get_typeId:function(){ULSdih:;return"{e3a4d63c-876b-4e24-a972-7664437146fe}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ConfigurationFilter","WebTemplateFilter"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ConfigurationFilter;if(!SP.ScriptUtility.isUndefined(a)){this.$2d_1=a;delete b.ConfigurationFilter}a=b.WebTemplateFilter;if(!SP.ScriptUtility.isUndefined(a)){this.$6F_1=a;delete b.WebTemplateFilter}}};SP.TenantAppInformation=function(){ULSdih:;SP.TenantAppInformation.initializeBase(this)};SP.TenantAppInformation.prototype={$6d_1:null,$6f_1:null,$6m_1:null,$74_1:null,$75_1:null,$O_1:null,$7G_1:null,$7X_1:null,$7b_1:null,$7i_1:null,$D_1:0,$0_1:null,get_appPrincipalId:function(){ULSdih:;return this.$6d_1},get_appWebFullUrl:function(){ULSdih:;return this.$6f_1},get_creationTime:function(){ULSdih:;return this.$6m_1},get_iconAbsoluteUrl:function(){ULSdih:;return this.$74_1},get_iconFallbackAbsoluteUrl:function(){ULSdih:;return this.$75_1},get_id:function(){ULSdih:;return this.$O_1},get_launchUrl:function(){ULSdih:;return this.$7G_1},get_packageFingerprint:function(){ULSdih:;return this.$7X_1},get_productId:function(){ULSdih:;return this.$7b_1},get_remoteAppUrl:function(){ULSdih:;return this.$7i_1},get_status:function(){ULSdih:;return this.$D_1},get_title:function(){ULSdih:;return this.$0_1},get_typeId:function(){ULSdih:;return"{52e6bc7d-825f-45b5-9f39-7a11723319df}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AppPrincipalId","AppWebFullUrl","CreationTime","IconAbsoluteUrl","IconFallbackAbsoluteUrl","Id","LaunchUrl","PackageFingerprint","ProductId","RemoteAppUrl","Status","Title"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppPrincipalId;if(!SP.ScriptUtility.isUndefined(a)){this.$6d_1=a;delete b.AppPrincipalId}a=b.AppWebFullUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$6f_1=a;delete b.AppWebFullUrl}a=b.CreationTime;if(!SP.ScriptUtility.isUndefined(a)){this.$6m_1=a;delete b.CreationTime}a=b.IconAbsoluteUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$74_1=a;delete b.IconAbsoluteUrl}a=b.IconFallbackAbsoluteUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$75_1=a;delete b.IconFallbackAbsoluteUrl}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=a;delete b.Id}a=b.LaunchUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$7G_1=a;delete b.LaunchUrl}a=b.PackageFingerprint;if(!SP.ScriptUtility.isUndefined(a)){this.$7X_1=SP.DataConvert.fixupType(null,a);delete b.PackageFingerprint}a=b.ProductId;if(!SP.ScriptUtility.isUndefined(a)){this.$7b_1=a;delete b.ProductId}a=b.RemoteAppUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$7i_1=a;delete b.RemoteAppUrl}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=SP.DataConvert.fixupType(null,a);delete b.Status}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Title}}};SP.TenantAppInstance=function(b,a){ULSdih:;SP.TenantAppInstance.initializeBase(this,[b,a])};SP.TenantAppInstance.prototype={get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_siteId:function(){ULSdih:;this.checkUninitializedProperty("SiteId");return this.get_objectData().get_properties().SiteId},get_webId:function(){ULSdih:;this.checkUninitializedProperty("WebId");return this.get_objectData().get_properties().WebId},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.SiteId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SiteId=a;delete b.SiteId}a=b.WebId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebId=a;delete b.WebId}}};SP.TenantAppInstancePropertyNames=function(){};SP.TenantAppUtility=function(){};SP.TenantAppUtility.getTenantAppInformationCollection=function(a,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a7e15a67-957e-459b-8903-e1e42fa52ab1}","GetTenantAppInformationCollection",[e,d]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.TenantAppUtility.getAppIcon=function(a,e,d,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new Microsoft.SharePoint.Packaging.AppIconInfo(a,new SP.ObjectPathStaticMethod(a,"{a7e15a67-957e-459b-8903-e1e42fa52ab1}","GetAppIcon",[e,d,c]));return b};SP.TenantAppUtility.getTenantAppInstance=function(a,d,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.TenantAppInstance(a,new SP.ObjectPathStaticMethod(a,"{a7e15a67-957e-459b-8903-e1e42fa52ab1}","GetTenantAppInstance",[d,c]));return b};SP.TenantAppUtility.getAppDetails=function(a,d,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new Microsoft.SharePoint.Packaging.AppDetails(a,new SP.ObjectPathStaticMethod(a,"{a7e15a67-957e-459b-8903-e1e42fa52ab1}","GetAppDetails",[d,c]));return b};SP.TenantAppUtility.getAppPermissionDescriptions=function(a,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a7e15a67-957e-459b-8903-e1e42fa52ab1}","GetAppPermissionDescriptions",[e,d]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.TenantSettings=function(b,a){ULSdih:;SP.TenantSettings.initializeBase(this,[b,a])};SP.TenantSettings.getCurrent=function(a){ULSdih:;var b=a.get_staticObjects().Microsoft$SharePoint$TenantSettings$Current;if(!b){b=new SP.TenantSettings(a,new SP.ObjectPathStaticProperty(a,"{e9a11c41-0667-4c14-a4a5-e0d6cf67f6fa}","Current"));a.get_staticObjects().Microsoft$SharePoint$TenantSettings$Current=b}return b};SP.TenantSettings.prototype={get_corporateCatalogUrl:function(){ULSdih:;this.checkUninitializedProperty("CorporateCatalogUrl");return this.get_objectData().get_properties().CorporateCatalogUrl},initPropertiesFromJson:function(a){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.CorporateCatalogUrl;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties().CorporateCatalogUrl=b;delete a.CorporateCatalogUrl}}};SP.TenantSettingsPropertyNames=function(){};SP.ThemeInfo=function(b,a){ULSdih:;SP.ThemeInfo.initializeBase(this,[b,a])};SP.ThemeInfo.prototype={get_accessibleDescription:function(){ULSdih:;this.checkUninitializedProperty("AccessibleDescription");return this.get_objectData().get_properties().AccessibleDescription},get_themeBackgroundImageUri:function(){ULSdih:;this.checkUninitializedProperty("ThemeBackgroundImageUri");return this.get_objectData().get_properties().ThemeBackgroundImageUri},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccessibleDescription;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AccessibleDescription=a;delete b.AccessibleDescription}a=b.ThemeBackgroundImageUri;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ThemeBackgroundImageUri=SP.DataConvert.fixupType(this.get_context(),a);delete b.ThemeBackgroundImageUri}},getThemeShadeByName:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetThemeShadeByName",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getThemeFontByName:function(e,d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetThemeFontByName",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.ThemeInfoPropertyNames=function(){};SP.TimeZone=function(b,a){ULSdih:;SP.TimeZone.initializeBase(this,[b,a])};SP.TimeZone.prototype={get_description:function(){ULSdih:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_information:function(){ULSdih:;this.checkUninitializedProperty("Information");return this.get_objectData().get_properties().Information},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.Information;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Information=SP.DataConvert.fixupType(this.get_context(),a);delete b.Information}},localTimeToUTC:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"LocalTimeToUTC",[d]);b.addQuery(c);a=new SP.DateTimeResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},utcToLocalTime:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"UTCToLocalTime",[d]);b.addQuery(c);a=new SP.DateTimeResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.TimeZonePropertyNames=function(){};SP.TimeZoneCollection=function(b,a){ULSdih:;SP.TimeZoneCollection.initializeBase(this,[b,a])};SP.TimeZoneCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.TimeZone},getById:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetById;if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects().GetById=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.TimeZone(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a}};SP.TimeZoneInformation=function(){ULSdih:;SP.TimeZoneInformation.initializeBase(this)};SP.TimeZoneInformation.prototype={$6i_1:0,$6o_1:0,$7v_1:0,get_bias:function(){ULSdih:;return this.$6i_1},get_daylightBias:function(){ULSdih:;return this.$6o_1},get_standardBias:function(){ULSdih:;return this.$7v_1},get_typeId:function(){ULSdih:;return"{09e18222-7e4d-488b-811d-6ef43f31d17f}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Bias","DaylightBias","StandardBias"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Bias;if(!SP.ScriptUtility.isUndefined(a)){this.$6i_1=a;delete b.Bias}a=b.DaylightBias;if(!SP.ScriptUtility.isUndefined(a)){this.$6o_1=a;delete b.DaylightBias}a=b.StandardBias;if(!SP.ScriptUtility.isUndefined(a)){this.$7v_1=a;delete b.StandardBias}}};SP.UpgradeInfo=function(){ULSdih:;SP.UpgradeInfo.initializeBase(this)};SP.UpgradeInfo.prototype={$6v_1:null,$6w_1:0,$7F_1:null,$7L_1:null,$7k_1:null,$7m_1:0,$7w_1:null,$D_1:0,$86_1:0,$8C_1:0,get_errorFile:function(){ULSdih:;return this.$6v_1},get_errors:function(){ULSdih:;return this.$6w_1},get_lastUpdated:function(){ULSdih:;return this.$7F_1},get_logFile:function(){ULSdih:;return this.$7L_1},get_requestDate:function(){ULSdih:;return this.$7k_1},get_retryCount:function(){ULSdih:;return this.$7m_1},get_startTime:function(){ULSdih:;return this.$7w_1},get_status:function(){ULSdih:;return this.$D_1},get_upgradeType:function(){ULSdih:;return this.$86_1},get_warnings:function(){ULSdih:;return this.$8C_1},get_typeId:function(){ULSdih:;return"{a012e5fa-a28f-4232-9561-c4033f61c889}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ErrorFile","Errors","LastUpdated","LogFile","RequestDate","RetryCount","StartTime","Status","UpgradeType","Warnings"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ErrorFile;if(!SP.ScriptUtility.isUndefined(a)){this.$6v_1=a;delete b.ErrorFile}a=b.Errors;if(!SP.ScriptUtility.isUndefined(a)){this.$6w_1=a;delete b.Errors}a=b.LastUpdated;if(!SP.ScriptUtility.isUndefined(a)){this.$7F_1=a;delete b.LastUpdated}a=b.LogFile;if(!SP.ScriptUtility.isUndefined(a)){this.$7L_1=a;delete b.LogFile}a=b.RequestDate;if(!SP.ScriptUtility.isUndefined(a)){this.$7k_1=a;delete b.RequestDate}a=b.RetryCount;if(!SP.ScriptUtility.isUndefined(a)){this.$7m_1=a;delete b.RetryCount}a=b.StartTime;if(!SP.ScriptUtility.isUndefined(a)){this.$7w_1=a;delete b.StartTime}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=SP.DataConvert.fixupType(null,a);delete b.Status}a=b.UpgradeType;if(!SP.ScriptUtility.isUndefined(a)){this.$86_1=SP.DataConvert.fixupType(null,a);delete b.UpgradeType}a=b.Warnings;if(!SP.ScriptUtility.isUndefined(a)){this.$8C_1=a;delete b.Warnings}}};SP.UsageInfo=function(){ULSdih:;SP.UsageInfo.initializeBase(this)};SP.UsageInfo.prototype={$6g_1:0,$6q_1:0,$72_1:0,$7x_1:0,$7y_1:0,$8B_1:0,get_bandwidth:function(){ULSdih:;return this.$6g_1},get_discussionStorage:function(){ULSdih:;return this.$6q_1},get_hits:function(){ULSdih:;return this.$72_1},get_storage:function(){ULSdih:;return this.$7x_1},get_storagePercentageUsed:function(){ULSdih:;return this.$7y_1},get_visits:function(){ULSdih:;return this.$8B_1},get_typeId:function(){ULSdih:;return"{7ec28504-35f9-4fcf-a09f-401024417292}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Bandwidth","DiscussionStorage","Hits","Storage","StoragePercentageUsed","Visits"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Bandwidth;if(!SP.ScriptUtility.isUndefined(a)){this.$6g_1=a;delete b.Bandwidth}a=b.DiscussionStorage;if(!SP.ScriptUtility.isUndefined(a)){this.$6q_1=a;delete b.DiscussionStorage}a=b.Hits;if(!SP.ScriptUtility.isUndefined(a)){this.$72_1=a;delete b.Hits}a=b.Storage;if(!SP.ScriptUtility.isUndefined(a)){this.$7x_1=a;delete b.Storage}a=b.StoragePercentageUsed;if(!SP.ScriptUtility.isUndefined(a)){this.$7y_1=a;delete b.StoragePercentageUsed}a=b.Visits;if(!SP.ScriptUtility.isUndefined(a)){this.$8B_1=a;delete b.Visits}}};SP.User=function(b,a){ULSdih:;SP.User.initializeBase(this,[b,a])};SP.User.prototype={$F_2:function(a){ULSdih:;if(a){this.get_objectData().get_properties().Email=a.$5_1;this.get_objectData().get_properties().LoginName=a.$u_1;this.get_objectData().get_properties().Title=a.$0_1}},get_email:function(){ULSdih:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties().Email},set_email:function(a){ULSdih:;this.get_objectData().get_properties().Email=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Email",a));return a},get_groups:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Groups;if(SP.ScriptUtility.isUndefined(a)){a=new SP.GroupCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Groups"));this.get_objectData().get_clientObjectProperties().Groups=a}return a},get_isShareByEmailGuestUser:function(){ULSdih:;this.checkUninitializedProperty("IsShareByEmailGuestUser");return this.get_objectData().get_properties().IsShareByEmailGuestUser},get_isSiteAdmin:function(){ULSdih:;this.checkUninitializedProperty("IsSiteAdmin");return this.get_objectData().get_properties().IsSiteAdmin},set_isSiteAdmin:function(a){ULSdih:;this.get_objectData().get_properties().IsSiteAdmin=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsSiteAdmin",a));return a},get_userId:function(){ULSdih:;this.checkUninitializedProperty("UserId");return this.get_objectData().get_properties().UserId},initPropertiesFromJson:function(b){ULSdih:;SP.Principal.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Email=a;delete b.Email}a=b.Groups;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Groups",this.get_groups(),a);this.get_groups().fromJson(a);delete b.Groups}a=b.IsShareByEmailGuestUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsShareByEmailGuestUser=a;delete b.IsShareByEmailGuestUser}a=b.IsSiteAdmin;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsSiteAdmin=a;delete b.IsSiteAdmin}a=b.UserId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UserId=SP.DataConvert.fixupType(this.get_context(),a);delete b.UserId}},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)}};SP.UserPropertyNames=function(){};SP.UserObjectPropertyNames=function(){};SP.UserCollection=function(b,a){ULSdih:;SP.UserCollection.initializeBase(this,[b,a])};SP.UserCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.User},getByLoginName:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetByLoginName;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().GetByLoginName=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.User(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByLoginName",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.User(a,new SP.ObjectPathMethod(a,this.get_path(),"GetById",[c]));return b},getByEmail:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetByEmail;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().GetByEmail=c}a=c[d];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.User(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByEmail",[d]));if(!b.get_disableReturnValueCache())c[d]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},removeByLoginName:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"RemoveByLoginName",[a]);b.addQuery(c)},removeById:function(c){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RemoveById",[c]);a.addQuery(b)},remove:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Remove",[a]);b.addQuery(c);this.removeChild(a)},add:function(c){ULSdih:;var b=this.get_context(),a;a=new SP.User(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[c]));a.get_path().setPendingReplace();var d=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(d.get_id(),a);b.addQuery(d);this.addChild(a);a.$F_2(c);return a},addUser:function(d){ULSdih:;var b=this.get_context(),a;a=new SP.User(b,new SP.ObjectPathMethod(b,this.get_path(),"AddUser",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);this.addChild(a);return a}};SP.UserCreationInformation=function(){ULSdih:;SP.UserCreationInformation.initializeBase(this)};SP.UserCreationInformation.prototype={$5_1:null,$u_1:null,$0_1:null,get_email:function(){ULSdih:;return this.$5_1},set_email:function(a){ULSdih:;this.$5_1=a;return a},get_loginName:function(){ULSdih:;return this.$u_1},set_loginName:function(a){ULSdih:;this.$u_1=a;return a},get_title:function(){ULSdih:;return this.$0_1},set_title:function(a){ULSdih:;this.$0_1=a;return a},get_typeId:function(){ULSdih:;return"{6ecd8af6-bed3-4a74-be76-1ec981b350e1}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Email","LoginName","Title"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Email}a=b.LoginName;if(!SP.ScriptUtility.isUndefined(a)){this.$u_1=a;delete b.LoginName}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Title}}};SP.UserCustomAction=function(b,a){ULSdih:;SP.UserCustomAction.initializeBase(this,[b,a])};SP.UserCustomAction.prototype={get_commandUIExtension:function(){ULSdih:;this.checkUninitializedProperty("CommandUIExtension");return this.get_objectData().get_properties().CommandUIExtension},set_commandUIExtension:function(a){ULSdih:;this.get_objectData().get_properties().CommandUIExtension=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CommandUIExtension",a));return a},get_description:function(){ULSdih:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},set_description:function(a){ULSdih:;this.get_objectData().get_properties().Description=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_descriptionResource:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().DescriptionResource;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DescriptionResource"));this.get_objectData().get_clientObjectProperties().DescriptionResource=a}return a},get_group:function(){ULSdih:;this.checkUninitializedProperty("Group");return this.get_objectData().get_properties().Group},set_group:function(a){ULSdih:;this.get_objectData().get_properties().Group=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Group",a));return a},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_imageUrl:function(){ULSdih:;this.checkUninitializedProperty("ImageUrl");return this.get_objectData().get_properties().ImageUrl},set_imageUrl:function(a){ULSdih:;this.get_objectData().get_properties().ImageUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ImageUrl",a));return a},get_location:function(){ULSdih:;this.checkUninitializedProperty("Location");return this.get_objectData().get_properties().Location},set_location:function(a){ULSdih:;this.get_objectData().get_properties().Location=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Location",a));return a},get_name:function(){ULSdih:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},set_name:function(a){ULSdih:;this.get_objectData().get_properties().Name=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_registrationId:function(){ULSdih:;this.checkUninitializedProperty("RegistrationId");return this.get_objectData().get_properties().RegistrationId},set_registrationId:function(a){ULSdih:;this.get_objectData().get_properties().RegistrationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegistrationId",a));return a},get_registrationType:function(){ULSdih:;this.checkUninitializedProperty("RegistrationType");return this.get_objectData().get_properties().RegistrationType},set_registrationType:function(a){ULSdih:;this.get_objectData().get_properties().RegistrationType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RegistrationType",a));return a},get_rights:function(){ULSdih:;this.checkUninitializedProperty("Rights");return this.get_objectData().get_properties().Rights},set_rights:function(a){ULSdih:;this.get_objectData().get_properties().Rights=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Rights",a));return a},get_scope:function(){ULSdih:;this.checkUninitializedProperty("Scope");return this.get_objectData().get_properties().Scope},get_scriptBlock:function(){ULSdih:;this.checkUninitializedProperty("ScriptBlock");return this.get_objectData().get_properties().ScriptBlock},set_scriptBlock:function(a){ULSdih:;this.get_objectData().get_properties().ScriptBlock=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ScriptBlock",a));return a},get_scriptSrc:function(){ULSdih:;this.checkUninitializedProperty("ScriptSrc");return this.get_objectData().get_properties().ScriptSrc},set_scriptSrc:function(a){ULSdih:;this.get_objectData().get_properties().ScriptSrc=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ScriptSrc",a));return a},get_sequence:function(){ULSdih:;this.checkUninitializedProperty("Sequence");return this.get_objectData().get_properties().Sequence},set_sequence:function(a){ULSdih:;this.get_objectData().get_properties().Sequence=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Sequence",a));return a},get_title:function(){ULSdih:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties().Title},set_title:function(a){ULSdih:;this.get_objectData().get_properties().Title=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Title",a));return a},get_titleResource:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().TitleResource;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TitleResource"));this.get_objectData().get_clientObjectProperties().TitleResource=a}return a},get_url:function(){ULSdih:;this.checkUninitializedProperty("Url");return this.get_objectData().get_properties().Url},set_url:function(a){ULSdih:;this.get_objectData().get_properties().Url=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Url",a));return a},get_versionOfUserCustomAction:function(){ULSdih:;this.checkUninitializedProperty("VersionOfUserCustomAction");return this.get_objectData().get_properties().VersionOfUserCustomAction},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CommandUIExtension;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CommandUIExtension=a;delete b.CommandUIExtension}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.DescriptionResource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DescriptionResource",this.get_descriptionResource(),a);this.get_descriptionResource().fromJson(a);delete b.DescriptionResource}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Group=a;delete b.Group}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ImageUrl=a;delete b.ImageUrl}a=b.Location;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Location=a;delete b.Location}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.RegistrationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RegistrationId=a;delete b.RegistrationId}a=b.RegistrationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RegistrationType=SP.DataConvert.fixupType(this.get_context(),a);delete b.RegistrationType}a=b.Rights;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Rights=SP.DataConvert.fixupType(this.get_context(),a);delete b.Rights}a=b.Scope;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Scope=SP.DataConvert.fixupType(this.get_context(),a);delete b.Scope}a=b.ScriptBlock;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ScriptBlock=a;delete b.ScriptBlock}a=b.ScriptSrc;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ScriptSrc=a;delete b.ScriptSrc}a=b.Sequence;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Sequence=a;delete b.Sequence}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Title=a;delete b.Title}a=b.TitleResource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TitleResource",this.get_titleResource(),a);this.get_titleResource().fromJson(a);delete b.TitleResource}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Url=a;delete b.Url}a=b.VersionOfUserCustomAction;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().VersionOfUserCustomAction=a;delete b.VersionOfUserCustomAction}},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b);this.refreshLoad()},deleteObject:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()}};SP.UserCustomActionPropertyNames=function(){};SP.UserCustomActionObjectPropertyNames=function(){};SP.UserCustomActionCollection=function(b,a){ULSdih:;SP.UserCustomActionCollection.initializeBase(this,[b,a])};SP.UserCustomActionCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.UserCustomAction},getById:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetById;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetById=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.UserCustomAction(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},clear:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Clear",null);a.addQuery(b)},add:function(){ULSdih:;var b=this.get_context(),a;a=new SP.UserCustomAction(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",null));this.addChild(a);return a}};SP.UserIdInfo=function(){ULSdih:;SP.UserIdInfo.initializeBase(this)};SP.UserIdInfo.prototype={$7U_1:null,$7V_1:null,get_nameId:function(){ULSdih:;return this.$7U_1},get_nameIdIssuer:function(){ULSdih:;return this.$7V_1},get_typeId:function(){ULSdih:;return"{c5c3ae1a-63b6-4f25-a887-54b0b20a28e2}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["NameId","NameIdIssuer"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.NameId;if(!SP.ScriptUtility.isUndefined(a)){this.$7U_1=a;delete b.NameId}a=b.NameIdIssuer;if(!SP.ScriptUtility.isUndefined(a)){this.$7V_1=a;delete b.NameIdIssuer}}};SP.UserResource=function(b,a){ULSdih:;SP.UserResource.initializeBase(this,[b,a])};SP.UserResource.prototype={getValueForUICulture:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetValueForUICulture;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetValueForUICulture=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;var e=new SP.ClientActionInvokeMethod(this,"GetValueForUICulture",[d]);c.addQuery(e);a=new SP.StringResult;c.addQueryIdAndResultObject(e.get_id(),a);if(!c.get_disableReturnValueCache())b[d]=a;return a},setValueForUICulture:function(a,b){ULSdih:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"SetValueForUICulture",[a,b]);c.addQuery(d)}};SP.View=function(b,a){ULSdih:;SP.View.initializeBase(this,[b,a])};SP.View.prototype={$F_1:function(a){ULSdih:;if(a){this.get_objectData().get_properties().Title=a.$0_1;this.get_objectData().get_properties().Paged=a.$1h_1}},get_aggregations:function(){ULSdih:;this.checkUninitializedProperty("Aggregations");return this.get_objectData().get_properties().Aggregations},set_aggregations:function(a){ULSdih:;this.get_objectData().get_properties().Aggregations=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Aggregations",a));return a},get_aggregationsStatus:function(){ULSdih:;this.checkUninitializedProperty("AggregationsStatus");return this.get_objectData().get_properties().AggregationsStatus},set_aggregationsStatus:function(a){ULSdih:;this.get_objectData().get_properties().AggregationsStatus=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AggregationsStatus",a));return a},get_baseViewId:function(){ULSdih:;this.checkUninitializedProperty("BaseViewId");return this.get_objectData().get_properties().BaseViewId},get_contentTypeId:function(){ULSdih:;this.checkUninitializedProperty("ContentTypeId");return this.get_objectData().get_properties().ContentTypeId},set_contentTypeId:function(a){ULSdih:;this.get_objectData().get_properties().ContentTypeId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ContentTypeId",a));return a},get_defaultView:function(){ULSdih:;this.checkUninitializedProperty("DefaultView");return this.get_objectData().get_properties().DefaultView},set_defaultView:function(a){ULSdih:;this.get_objectData().get_properties().DefaultView=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultView",a));return a},get_defaultViewForContentType:function(){ULSdih:;this.checkUninitializedProperty("DefaultViewForContentType");return this.get_objectData().get_properties().DefaultViewForContentType},set_defaultViewForContentType:function(a){ULSdih:;this.get_objectData().get_properties().DefaultViewForContentType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultViewForContentType",a));return a},get_editorModified:function(){ULSdih:;this.checkUninitializedProperty("EditorModified");return this.get_objectData().get_properties().EditorModified},set_editorModified:function(a){ULSdih:;this.get_objectData().get_properties().EditorModified=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EditorModified",a));return a},get_formats:function(){ULSdih:;this.checkUninitializedProperty("Formats");return this.get_objectData().get_properties().Formats},set_formats:function(a){ULSdih:;this.get_objectData().get_properties().Formats=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Formats",a));return a},get_hidden:function(){ULSdih:;this.checkUninitializedProperty("Hidden");return this.get_objectData().get_properties().Hidden},set_hidden:function(a){ULSdih:;this.get_objectData().get_properties().Hidden=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Hidden",a));return a},get_htmlSchemaXml:function(){ULSdih:;this.checkUninitializedProperty("HtmlSchemaXml");return this.get_objectData().get_properties().HtmlSchemaXml},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_imageUrl:function(){ULSdih:;this.checkUninitializedProperty("ImageUrl");return this.get_objectData().get_properties().ImageUrl},get_includeRootFolder:function(){ULSdih:;this.checkUninitializedProperty("IncludeRootFolder");return this.get_objectData().get_properties().IncludeRootFolder},set_includeRootFolder:function(a){ULSdih:;this.get_objectData().get_properties().IncludeRootFolder=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IncludeRootFolder",a));return a},get_viewJoins:function(){ULSdih:;this.checkUninitializedProperty("ViewJoins");return this.get_objectData().get_properties().ViewJoins},set_viewJoins:function(a){ULSdih:;this.get_objectData().get_properties().ViewJoins=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ViewJoins",a));return a},get_jsLink:function(){ULSdih:;this.checkUninitializedProperty("JSLink");return this.get_objectData().get_properties().JSLink},set_jsLink:function(a){ULSdih:;this.get_objectData().get_properties().JSLink=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"JSLink",a));return a},get_listViewXml:function(){ULSdih:;this.checkUninitializedProperty("ListViewXml");return this.get_objectData().get_properties().ListViewXml},set_listViewXml:function(a){ULSdih:;this.get_objectData().get_properties().ListViewXml=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ListViewXml",a));return a},get_method:function(){ULSdih:;this.checkUninitializedProperty("Method");return this.get_objectData().get_properties().Method},set_method:function(a){ULSdih:;this.get_objectData().get_properties().Method=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Method",a));return a},get_mobileDefaultView:function(){ULSdih:;this.checkUninitializedProperty("MobileDefaultView");return this.get_objectData().get_properties().MobileDefaultView},set_mobileDefaultView:function(a){ULSdih:;this.get_objectData().get_properties().MobileDefaultView=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MobileDefaultView",a));return a},get_mobileView:function(){ULSdih:;this.checkUninitializedProperty("MobileView");return this.get_objectData().get_properties().MobileView},set_mobileView:function(a){ULSdih:;this.get_objectData().get_properties().MobileView=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MobileView",a));return a},get_moderationType:function(){ULSdih:;this.checkUninitializedProperty("ModerationType");return this.get_objectData().get_properties().ModerationType},get_orderedView:function(){ULSdih:;this.checkUninitializedProperty("OrderedView");return this.get_objectData().get_properties().OrderedView},get_paged:function(){ULSdih:;this.checkUninitializedProperty("Paged");return this.get_objectData().get_properties().Paged},set_paged:function(a){ULSdih:;this.get_objectData().get_properties().Paged=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Paged",a));return a},get_personalView:function(){ULSdih:;this.checkUninitializedProperty("PersonalView");return this.get_objectData().get_properties().PersonalView},get_viewProjectedFields:function(){ULSdih:;this.checkUninitializedProperty("ViewProjectedFields");return this.get_objectData().get_properties().ViewProjectedFields},set_viewProjectedFields:function(a){ULSdih:;this.get_objectData().get_properties().ViewProjectedFields=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ViewProjectedFields",a));return a},get_viewQuery:function(){ULSdih:;this.checkUninitializedProperty("ViewQuery");return this.get_objectData().get_properties().ViewQuery},set_viewQuery:function(a){ULSdih:;this.get_objectData().get_properties().ViewQuery=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ViewQuery",a));return a},get_readOnlyView:function(){ULSdih:;this.checkUninitializedProperty("ReadOnlyView");return this.get_objectData().get_properties().ReadOnlyView},get_requiresClientIntegration:function(){ULSdih:;this.checkUninitializedProperty("RequiresClientIntegration");return this.get_objectData().get_properties().RequiresClientIntegration},get_rowLimit:function(){ULSdih:;this.checkUninitializedProperty("RowLimit");return this.get_objectData().get_properties().RowLimit},set_rowLimit:function(a){ULSdih:;this.get_objectData().get_properties().RowLimit=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RowLimit",a));return a},get_scope:function(){ULSdih:;this.checkUninitializedProperty("Scope");return this.get_objectData().get_properties().Scope},set_scope:function(a){ULSdih:;this.get_objectData().get_properties().Scope=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Scope",a));return a},get_serverRelativePath:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativePath");return this.get_objectData().get_properties().ServerRelativePath},get_serverRelativeUrl:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativeUrl");return this.get_objectData().get_properties().ServerRelativeUrl},get_styleId:function(){ULSdih:;this.checkUninitializedProperty("StyleId");return this.get_objectData().get_properties().StyleId},get_tabularView:function(){ULSdih:;this.checkUninitializedProperty("TabularView");return this.get_objectData().get_properties().TabularView},set_tabularView:function(a){ULSdih:;this.get_objectData().get_properties().TabularView=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TabularView",a));return a},get_threaded:function(){ULSdih:;this.checkUninitializedProperty("Threaded");return this.get_objectData().get_properties().Threaded},get_title:function(){ULSdih:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties().Title},set_title:function(a){ULSdih:;this.get_objectData().get_properties().Title=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Title",a));return a},get_toolbar:function(){ULSdih:;this.checkUninitializedProperty("Toolbar");return this.get_objectData().get_properties().Toolbar},set_toolbar:function(a){ULSdih:;this.get_objectData().get_properties().Toolbar=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Toolbar",a));return a},get_toolbarTemplateName:function(){ULSdih:;this.checkUninitializedProperty("ToolbarTemplateName");return this.get_objectData().get_properties().ToolbarTemplateName},get_viewType:function(){ULSdih:;this.checkUninitializedProperty("ViewType");return this.get_objectData().get_properties().ViewType},get_viewData:function(){ULSdih:;this.checkUninitializedProperty("ViewData");return this.get_objectData().get_properties().ViewData},set_viewData:function(a){ULSdih:;this.get_objectData().get_properties().ViewData=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ViewData",a));return a},get_viewFields:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().ViewFields;if(SP.ScriptUtility.isUndefined(a)){a=new SP.ViewFieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ViewFields"));this.get_objectData().get_clientObjectProperties().ViewFields=a}return a},get_visualizationInfo:function(){ULSdih:;this.checkUninitializedProperty("VisualizationInfo");return this.get_objectData().get_properties().VisualizationInfo},set_visualizationInfo:function(a){ULSdih:;this.get_objectData().get_properties().VisualizationInfo=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"VisualizationInfo",a));return a},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Aggregations;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Aggregations=a;delete b.Aggregations}a=b.AggregationsStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AggregationsStatus=a;delete b.AggregationsStatus}a=b.BaseViewId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().BaseViewId=a;delete b.BaseViewId}a=b.ContentTypeId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ContentTypeId=SP.DataConvert.fixupType(this.get_context(),a);delete b.ContentTypeId}a=b.DefaultView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DefaultView=a;delete b.DefaultView}a=b.DefaultViewForContentType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DefaultViewForContentType=a;delete b.DefaultViewForContentType}a=b.EditorModified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().EditorModified=a;delete b.EditorModified}a=b.Formats;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Formats=a;delete b.Formats}a=b.Hidden;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Hidden=a;delete b.Hidden}a=b.HtmlSchemaXml;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().HtmlSchemaXml=a;delete b.HtmlSchemaXml}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ImageUrl=a;delete b.ImageUrl}a=b.IncludeRootFolder;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IncludeRootFolder=a;delete b.IncludeRootFolder}a=b.ViewJoins;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ViewJoins=a;delete b.ViewJoins}a=b.JSLink;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().JSLink=a;delete b.JSLink}a=b.ListViewXml;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ListViewXml=a;delete b.ListViewXml}a=b.Method;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Method=a;delete b.Method}a=b.MobileDefaultView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().MobileDefaultView=a;delete b.MobileDefaultView}a=b.MobileView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().MobileView=a;delete b.MobileView}a=b.ModerationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ModerationType=a;delete b.ModerationType}a=b.OrderedView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().OrderedView=a;delete b.OrderedView}a=b.Paged;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Paged=a;delete b.Paged}a=b.PersonalView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PersonalView=a;delete b.PersonalView}a=b.ViewProjectedFields;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ViewProjectedFields=a;delete b.ViewProjectedFields}a=b.ViewQuery;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ViewQuery=a;delete b.ViewQuery}a=b.ReadOnlyView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ReadOnlyView=a;delete b.ReadOnlyView}a=b.RequiresClientIntegration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RequiresClientIntegration=a;delete b.RequiresClientIntegration}a=b.RowLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RowLimit=a;delete b.RowLimit}a=b.Scope;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Scope=SP.DataConvert.fixupType(this.get_context(),a);delete b.Scope}a=b.ServerRelativePath;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativePath=SP.DataConvert.fixupType(this.get_context(),a);delete b.ServerRelativePath}a=b.ServerRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativeUrl=a;delete b.ServerRelativeUrl}a=b.StyleId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().StyleId=a;delete b.StyleId}a=b.TabularView;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TabularView=a;delete b.TabularView}a=b.Threaded;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Threaded=a;delete b.Threaded}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Title=a;delete b.Title}a=b.Toolbar;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Toolbar=a;delete b.Toolbar}a=b.ToolbarTemplateName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ToolbarTemplateName=a;delete b.ToolbarTemplateName}a=b.ViewType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ViewType=a;delete b.ViewType}a=b.ViewData;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ViewData=a;delete b.ViewData}a=b.ViewFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ViewFields",this.get_viewFields(),a);this.get_viewFields().fromJson(a);delete b.ViewFields}a=b.VisualizationInfo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().VisualizationInfo=SP.DataConvert.fixupType(this.get_context(),a);delete b.VisualizationInfo}},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},deleteObject:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},renderAsHtml:function(){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"RenderAsHtml",null);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.ViewPropertyNames=function(){};SP.ViewObjectPropertyNames=function(){};SP.ViewCollection=function(b,a){ULSdih:;SP.ViewCollection.initializeBase(this,[b,a])};SP.ViewCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.View},getByTitle:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetByTitle;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetByTitle=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.View(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByTitle",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getById:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetById;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetById=b}a=b[d.toString()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.View(c,new SP.ObjectPathMethod(c,this.get_path(),"GetById",[d]));if(!c.get_disableReturnValueCache())b[d.toString()]=a;return a},add:function(c){ULSdih:;var b=this.get_context(),a;a=new SP.View(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[c]));a.get_path().setPendingReplace();var d=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(d.get_id(),a);b.addQuery(d);this.addChild(a);a.$F_1(c);return a}};SP.ViewCreationInformation=function(){ULSdih:;SP.ViewCreationInformation.initializeBase(this)};SP.ViewCreationInformation.prototype={$1h_1:false,$54_1:false,$x_1:null,$K_1:30,$5N_1:false,$0_1:null,$12_1:null,$67_1:0,get_paged:function(){ULSdih:;return this.$1h_1},set_paged:function(a){ULSdih:;this.$1h_1=a;return a},get_personalView:function(){ULSdih:;return this.$54_1},set_personalView:function(a){ULSdih:;this.$54_1=a;return a},get_query:function(){ULSdih:;return this.$x_1},set_query:function(a){ULSdih:;this.$x_1=a;return a},get_rowLimit:function(){ULSdih:;return this.$K_1},set_rowLimit:function(a){ULSdih:;this.$K_1=a;return a},get_setAsDefaultView:function(){ULSdih:;return this.$5N_1},set_setAsDefaultView:function(a){ULSdih:;this.$5N_1=a;return a},get_title:function(){ULSdih:;return this.$0_1},set_title:function(a){ULSdih:;this.$0_1=a;return a},get_viewFields:function(){ULSdih:;return this.$12_1},set_viewFields:function(a){ULSdih:;this.$12_1=a;return a},get_viewTypeKind:function(){ULSdih:;return this.$67_1},set_viewTypeKind:function(a){ULSdih:;this.$67_1=a;return a},get_typeId:function(){ULSdih:;return"{a3547807-7266-42f3-b055-afa6e840e458}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Paged","PersonalView","Query","RowLimit","SetAsDefaultView","Title","ViewFields","ViewTypeKind"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Paged;if(!SP.ScriptUtility.isUndefined(a)){this.$1h_1=a;delete b.Paged}a=b.PersonalView;if(!SP.ScriptUtility.isUndefined(a)){this.$54_1=a;delete b.PersonalView}a=b.Query;if(!SP.ScriptUtility.isUndefined(a)){this.$x_1=a;delete b.Query}a=b.RowLimit;if(!SP.ScriptUtility.isUndefined(a)){this.$K_1=a;delete b.RowLimit}a=b.SetAsDefaultView;if(!SP.ScriptUtility.isUndefined(a)){this.$5N_1=a;delete b.SetAsDefaultView}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Title}a=b.ViewFields;if(!SP.ScriptUtility.isUndefined(a)){this.$12_1=SP.DataConvert.fixupType(null,a);delete b.ViewFields}a=b.ViewTypeKind;if(!SP.ScriptUtility.isUndefined(a)){this.$67_1=SP.DataConvert.fixupType(null,a);delete b.ViewTypeKind}}};SP.ViewFieldCollection=function(b,a){ULSdih:;SP.ViewFieldCollection.initializeBase(this,[b,a])};SP.ViewFieldCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return String},$8x_2:function(a){ULSdih:;Array.add(this.get_data(),a)},$95_2:function(a){ULSdih:;Array.remove(this.get_data(),a)},$8S_2:function(){ULSdih:;var a=this.get_data();while(a.length>0)Array.removeAt(a,a.length-1)},get_schemaXml:function(){ULSdih:;this.checkUninitializedProperty("SchemaXml");return this.get_objectData().get_properties().SchemaXml},initPropertiesFromJson:function(a){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.SchemaXml;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties().SchemaXml=b;delete a.SchemaXml}},moveFieldTo:function(a,b){ULSdih:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"MoveFieldTo",[a,b]);c.addQuery(d)},add:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Add",[a]);b.addQuery(c);this.$8x_2(a)},remove:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Remove",[a]);b.addQuery(c);this.$95_2(a)},removeAll:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RemoveAll",null);a.addQuery(b);this.$8S_2()}};SP.ViewFieldCollectionPropertyNames=function(){};SP.Visualization=function(){ULSdih:;SP.Visualization.initializeBase(this)};SP.Visualization.prototype={$2m_1:null,$2o_1:null,$4t_1:null,$5Q_1:null,$68_1:null,$69_1:0,get_defaultScreen:function(){ULSdih:;return this.$2m_1},set_defaultScreen:function(a){ULSdih:;this.$2m_1=a;return a},get_detailView:function(){ULSdih:;return this.$2o_1},set_detailView:function(a){ULSdih:;this.$2o_1=a;return a},get_mediumScreen:function(){ULSdih:;return this.$4t_1},set_mediumScreen:function(a){ULSdih:;this.$4t_1=a;return a},get_smallScreen:function(){ULSdih:;return this.$5Q_1},set_smallScreen:function(a){ULSdih:;this.$5Q_1=a;return a},get_visualizationAppInfo:function(){ULSdih:;return this.$68_1},set_visualizationAppInfo:function(a){ULSdih:;this.$68_1=a;return a},get_visualizationType:function(){ULSdih:;return this.$69_1},set_visualizationType:function(a){ULSdih:;this.$69_1=a;return a},get_typeId:function(){ULSdih:;return"{e19fe976-fcf7-4e2b-a738-ae521f941767}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DefaultScreen","DetailView","MediumScreen","SmallScreen","VisualizationAppInfo","VisualizationType"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DefaultScreen;if(!SP.ScriptUtility.isUndefined(a)){this.$2m_1=SP.DataConvert.fixupType(null,a);delete b.DefaultScreen}a=b.DetailView;if(!SP.ScriptUtility.isUndefined(a)){this.$2o_1=SP.DataConvert.fixupType(null,a);delete b.DetailView}a=b.MediumScreen;if(!SP.ScriptUtility.isUndefined(a)){this.$4t_1=SP.DataConvert.fixupType(null,a);delete b.MediumScreen}a=b.SmallScreen;if(!SP.ScriptUtility.isUndefined(a)){this.$5Q_1=SP.DataConvert.fixupType(null,a);delete b.SmallScreen}a=b.VisualizationAppInfo;if(!SP.ScriptUtility.isUndefined(a)){this.$68_1=SP.DataConvert.fixupType(null,a);delete b.VisualizationAppInfo}a=b.VisualizationType;if(!SP.ScriptUtility.isUndefined(a)){this.$69_1=SP.DataConvert.fixupType(null,a);delete b.VisualizationType}}};SP.VisualizationAppInfo=function(){ULSdih:;SP.VisualizationAppInfo.initializeBase(this)};SP.VisualizationAppInfo.prototype={$2n_1:null,$O_1:null,$5L_1:null,get_designUri:function(){ULSdih:;return this.$2n_1},set_designUri:function(a){ULSdih:;this.$2n_1=a;return a},get_id:function(){ULSdih:;return this.$O_1},set_id:function(a){ULSdih:;this.$O_1=a;return a},get_runtimeUri:function(){ULSdih:;return this.$5L_1},set_runtimeUri:function(a){ULSdih:;this.$5L_1=a;return a},get_typeId:function(){ULSdih:;return"{47684720-7a91-4db0-828a-50f42e8678bb}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DesignUri","Id","RuntimeUri"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DesignUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2n_1=SP.DataConvert.fixupType(null,a);delete b.DesignUri}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=a;delete b.Id}a=b.RuntimeUri;if(!SP.ScriptUtility.isUndefined(a)){this.$5L_1=SP.DataConvert.fixupType(null,a);delete b.RuntimeUri}}};SP.VisualizationAppMappedViewCollection=function(b,a){ULSdih:;SP.VisualizationAppMappedViewCollection.initializeBase(this,[b,a])};SP.VisualizationAppMappedViewCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.View}};SP.VisualizationAppSynchronizationResult=function(b,a){ULSdih:;SP.VisualizationAppSynchronizationResult.initializeBase(this,[b,a])};SP.VisualizationAppSynchronizationResult.prototype={get_appMappedViews:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AppMappedViews;if(SP.ScriptUtility.isUndefined(a)){a=new SP.VisualizationAppMappedViewCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AppMappedViews"));this.get_objectData().get_clientObjectProperties().AppMappedViews=a}return a},get_synchronizationData:function(){ULSdih:;this.checkUninitializedProperty("SynchronizationData");return this.get_objectData().get_properties().SynchronizationData},get_synchronizationStatus:function(){ULSdih:;this.checkUninitializedProperty("SynchronizationStatus");return this.get_objectData().get_properties().SynchronizationStatus},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppMappedViews;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AppMappedViews",this.get_appMappedViews(),a);this.get_appMappedViews().fromJson(a);delete b.AppMappedViews}a=b.SynchronizationData;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SynchronizationData=a;delete b.SynchronizationData}a=b.SynchronizationStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SynchronizationStatus=SP.DataConvert.fixupType(this.get_context(),a);delete b.SynchronizationStatus}}};SP.VisualizationAppSynchronizationResultPropertyNames=function(){};SP.VisualizationAppSynchronizationResultObjectPropertyNames=function(){};SP.VisualizationField=function(){ULSdih:;SP.VisualizationField.initializeBase(this)};SP.VisualizationField.prototype={$4Z_1:null,$5q_1:null,get_internalName:function(){ULSdih:;return this.$4Z_1},set_internalName:function(a){ULSdih:;this.$4Z_1=a;return a},get_style:function(){ULSdih:;return this.$5q_1},set_style:function(a){ULSdih:;this.$5q_1=a;return a},get_typeId:function(){ULSdih:;return"{4f32c806-2dde-4142-9e2b-2e2e082fb9cf}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["InternalName","Style"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.InternalName;if(!SP.ScriptUtility.isUndefined(a)){this.$4Z_1=a;delete b.InternalName}a=b.Style;if(!SP.ScriptUtility.isUndefined(a)){this.$5q_1=a;delete b.Style}}};SP.VisualizationStyleSet=function(){ULSdih:;SP.VisualizationStyleSet.initializeBase(this)};SP.VisualizationStyleSet.prototype={$2P_1:null,$2R_1:null,$1V_1:null,$4w_1:null,get_aspectRatio:function(){ULSdih:;return this.$2P_1},set_aspectRatio:function(a){ULSdih:;this.$2P_1=a;return a},get_backgroundColor:function(){ULSdih:;return this.$2R_1},set_backgroundColor:function(a){ULSdih:;this.$2R_1=a;return a},get_fields:function(){ULSdih:;return this.$1V_1},set_fields:function(a){ULSdih:;this.$1V_1=a;return a},get_minHeight:function(){ULSdih:;return this.$4w_1},set_minHeight:function(a){ULSdih:;this.$4w_1=a;return a},get_typeId:function(){ULSdih:;return"{ab366d26-be89-4814-b6e6-d9e45aff97bf}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AspectRatio","BackgroundColor","Fields","MinHeight"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AspectRatio;if(!SP.ScriptUtility.isUndefined(a)){this.$2P_1=a;delete b.AspectRatio}a=b.BackgroundColor;if(!SP.ScriptUtility.isUndefined(a)){this.$2R_1=a;delete b.BackgroundColor}a=b.Fields;if(!SP.ScriptUtility.isUndefined(a)){this.$1V_1=[];SP.DataConvert.populateArray(null,this.$1V_1,a);delete b.Fields}a=b.MinHeight;if(!SP.ScriptUtility.isUndefined(a)){this.$4w_1=a;delete b.MinHeight}}};SP.Web=function(b,a){ULSdih:;SP.Web.initializeBase(this,[b,a])};SP.Web.getSharingLinkKind=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","GetSharingLinkKind",[d]);a.addQuery(c);b=new SP.IntResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Web.shareObject=function(a,l,e,i,k,g,j,c,f,h,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.SharingResult(a,new SP.ObjectPathStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","ShareObject",[l,e,i,k,g,j,c,f,h,d]));return b};SP.Web.forwardObjectLink=function(a,f,c,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.SharingResult(a,new SP.ObjectPathStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","ForwardObjectLink",[f,c,d,e]));return b};SP.Web.unshareObject=function(a,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.SharingResult(a,new SP.ObjectPathStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","UnshareObject",[c]));return b};SP.Web.getObjectSharingSettings=function(a,d,e,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.ObjectSharingSettings(a,new SP.ObjectPathStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","GetObjectSharingSettings",[d,e,c]));return b};SP.Web.createAnonymousLink=function(a,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","CreateAnonymousLink",[e,d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Web.createAnonymousLinkWithExpiration=function(a,f,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","CreateAnonymousLinkWithExpiration",[f,e,d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Web.deleteAllAnonymousLinksForObject=function(a,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","DeleteAllAnonymousLinksForObject",[c]);a.addQuery(b)};SP.Web.deleteAnonymousLinkForObject=function(a,e,c,b){ULSdih:;if(!a)throw Error.argumentNull("context");var d=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","DeleteAnonymousLinkForObject",[e,c,b]);a.addQuery(d)};SP.Web.createOrganizationSharingLink=function(a,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","CreateOrganizationSharingLink",[e,d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Web.destroyOrganizationSharingLink=function(a,e,c,b){ULSdih:;if(!a)throw Error.argumentNull("context");var d=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","DestroyOrganizationSharingLink",[e,c,b]);a.addQuery(d)};SP.Web.getDocumentLibraries=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","GetDocumentLibraries",[d]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Web.getDocumentAndMediaLibraries=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a489add2-5d3a-4de8-9445-49259462dceb}","GetDocumentAndMediaLibraries",[d]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Web.prototype={$F_2:function(a){ULSdih:;if(a){this.get_objectData().get_properties().Description=a.$2_1;this.get_objectData().get_properties().Title=a.$0_1}},get_allowAutomaticASPXPageIndexing:function(){ULSdih:;this.checkUninitializedProperty("AllowAutomaticASPXPageIndexing");return this.get_objectData().get_properties().AllowAutomaticASPXPageIndexing},set_allowAutomaticASPXPageIndexing:function(a){ULSdih:;this.get_objectData().get_properties().AllowAutomaticASPXPageIndexing=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AllowAutomaticASPXPageIndexing",a));return a},get_allowCreateDeclarativeWorkflowForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("AllowCreateDeclarativeWorkflowForCurrentUser");return this.get_objectData().get_properties().AllowCreateDeclarativeWorkflowForCurrentUser},get_allowDesignerForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("AllowDesignerForCurrentUser");return this.get_objectData().get_properties().AllowDesignerForCurrentUser},get_allowMasterPageEditingForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("AllowMasterPageEditingForCurrentUser");return this.get_objectData().get_properties().AllowMasterPageEditingForCurrentUser},get_allowRevertFromTemplateForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("AllowRevertFromTemplateForCurrentUser");return this.get_objectData().get_properties().AllowRevertFromTemplateForCurrentUser},get_allowRssFeeds:function(){ULSdih:;this.checkUninitializedProperty("AllowRssFeeds");return this.get_objectData().get_properties().AllowRssFeeds},get_allowSaveDeclarativeWorkflowAsTemplateForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser");return this.get_objectData().get_properties().AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser},get_allowSavePublishDeclarativeWorkflowForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("AllowSavePublishDeclarativeWorkflowForCurrentUser");return this.get_objectData().get_properties().AllowSavePublishDeclarativeWorkflowForCurrentUser},get_allProperties:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AllProperties;if(SP.ScriptUtility.isUndefined(a)){a=new SP.PropertyValues(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AllProperties"));this.get_objectData().get_clientObjectProperties().AllProperties=a}return a},get_alternateCssUrl:function(){ULSdih:;this.checkUninitializedProperty("AlternateCssUrl");return this.get_objectData().get_properties().AlternateCssUrl},set_alternateCssUrl:function(a){ULSdih:;this.get_objectData().get_properties().AlternateCssUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AlternateCssUrl",a));return a},get_appInstanceId:function(){ULSdih:;this.checkUninitializedProperty("AppInstanceId");return this.get_objectData().get_properties().AppInstanceId},get_appTiles:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AppTiles;if(SP.ScriptUtility.isUndefined(a)){a=new SP.AppTileCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AppTiles"));this.get_objectData().get_clientObjectProperties().AppTiles=a}return a},get_associatedMemberGroup:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AssociatedMemberGroup;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Group(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AssociatedMemberGroup"));this.get_objectData().get_clientObjectProperties().AssociatedMemberGroup=a}return a},set_associatedMemberGroup:function(a){ULSdih:;this.get_objectData().get_clientObjectProperties().AssociatedMemberGroup=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssociatedMemberGroup",a));return a},get_associatedOwnerGroup:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AssociatedOwnerGroup;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Group(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AssociatedOwnerGroup"));this.get_objectData().get_clientObjectProperties().AssociatedOwnerGroup=a}return a},set_associatedOwnerGroup:function(a){ULSdih:;this.get_objectData().get_clientObjectProperties().AssociatedOwnerGroup=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssociatedOwnerGroup",a));return a},get_associatedVisitorGroup:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AssociatedVisitorGroup;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Group(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AssociatedVisitorGroup"));this.get_objectData().get_clientObjectProperties().AssociatedVisitorGroup=a}return a},set_associatedVisitorGroup:function(a){ULSdih:;this.get_objectData().get_clientObjectProperties().AssociatedVisitorGroup=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssociatedVisitorGroup",a));return a},get_author:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Author;if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Author"));this.get_objectData().get_clientObjectProperties().Author=a}return a},get_availableContentTypes:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AvailableContentTypes;if(SP.ScriptUtility.isUndefined(a)){a=new SP.ContentTypeCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AvailableContentTypes"));this.get_objectData().get_clientObjectProperties().AvailableContentTypes=a}return a},get_availableFields:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().AvailableFields;if(SP.ScriptUtility.isUndefined(a)){a=new SP.FieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AvailableFields"));this.get_objectData().get_clientObjectProperties().AvailableFields=a}return a},get_configuration:function(){ULSdih:;this.checkUninitializedProperty("Configuration");return this.get_objectData().get_properties().Configuration},get_containsConfidentialInfo:function(){ULSdih:;this.checkUninitializedProperty("ContainsConfidentialInfo");return this.get_objectData().get_properties().ContainsConfidentialInfo},set_containsConfidentialInfo:function(a){ULSdih:;this.get_objectData().get_properties().ContainsConfidentialInfo=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ContainsConfidentialInfo",a));return a},get_contentTypes:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().ContentTypes;if(SP.ScriptUtility.isUndefined(a)){a=new SP.ContentTypeCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ContentTypes"));this.get_objectData().get_clientObjectProperties().ContentTypes=a}return a},get_created:function(){ULSdih:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties().Created},get_currentChangeToken:function(){ULSdih:;this.checkUninitializedProperty("CurrentChangeToken");return this.get_objectData().get_properties().CurrentChangeToken},get_currentUser:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().CurrentUser;if(SP.ScriptUtility.isUndefined(a)){a=new SP.User(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CurrentUser"));this.get_objectData().get_clientObjectProperties().CurrentUser=a}return a},get_customMasterUrl:function(){ULSdih:;this.checkUninitializedProperty("CustomMasterUrl");return this.get_objectData().get_properties().CustomMasterUrl},set_customMasterUrl:function(a){ULSdih:;this.get_objectData().get_properties().CustomMasterUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomMasterUrl",a));return a},get_dataLeakagePreventionStatusInfo:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().DataLeakagePreventionStatusInfo;if(SP.ScriptUtility.isUndefined(a)){a=new SP.SPDataLeakagePreventionStatusInfo(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DataLeakagePreventionStatusInfo"));this.get_objectData().get_clientObjectProperties().DataLeakagePreventionStatusInfo=a}return a},get_description:function(){ULSdih:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},set_description:function(a){ULSdih:;this.get_objectData().get_properties().Description=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_descriptionResource:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().DescriptionResource;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DescriptionResource"));this.get_objectData().get_clientObjectProperties().DescriptionResource=a}return a},get_designerDownloadUrlForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("DesignerDownloadUrlForCurrentUser");return this.get_objectData().get_properties().DesignerDownloadUrlForCurrentUser},get_disableAppViews:function(){ULSdih:;this.checkUninitializedProperty("DisableAppViews");return this.get_objectData().get_properties().DisableAppViews},set_disableAppViews:function(a){ULSdih:;this.get_objectData().get_properties().DisableAppViews=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisableAppViews",a));return a},get_disableFlows:function(){ULSdih:;this.checkUninitializedProperty("DisableFlows");return this.get_objectData().get_properties().DisableFlows},set_disableFlows:function(a){ULSdih:;this.get_objectData().get_properties().DisableFlows=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisableFlows",a));return a},get_documentLibraryCalloutOfficeWebAppPreviewersDisabled:function(){ULSdih:;this.checkUninitializedProperty("DocumentLibraryCalloutOfficeWebAppPreviewersDisabled");return this.get_objectData().get_properties().DocumentLibraryCalloutOfficeWebAppPreviewersDisabled},get_effectiveBasePermissions:function(){ULSdih:;this.checkUninitializedProperty("EffectiveBasePermissions");return this.get_objectData().get_properties().EffectiveBasePermissions},get_enableMinimalDownload:function(){ULSdih:;this.checkUninitializedProperty("EnableMinimalDownload");return this.get_objectData().get_properties().EnableMinimalDownload},set_enableMinimalDownload:function(a){ULSdih:;this.get_objectData().get_properties().EnableMinimalDownload=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableMinimalDownload",a));return a},get_eventReceivers:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().EventReceivers;if(SP.ScriptUtility.isUndefined(a)){a=new SP.EventReceiverDefinitionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"EventReceivers"));this.get_objectData().get_clientObjectProperties().EventReceivers=a}return a},get_excludeFromOfflineClient:function(){ULSdih:;this.checkUninitializedProperty("ExcludeFromOfflineClient");return this.get_objectData().get_properties().ExcludeFromOfflineClient},set_excludeFromOfflineClient:function(a){ULSdih:;this.get_objectData().get_properties().ExcludeFromOfflineClient=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeFromOfflineClient",a));return a},get_features:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Features;if(SP.ScriptUtility.isUndefined(a)){a=new SP.FeatureCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Features"));this.get_objectData().get_clientObjectProperties().Features=a}return a},get_fields:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Fields;if(SP.ScriptUtility.isUndefined(a)){a=new SP.FieldCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Fields"));this.get_objectData().get_clientObjectProperties().Fields=a}return a},get_folders:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Folders;if(SP.ScriptUtility.isUndefined(a)){a=new SP.FolderCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Folders"));this.get_objectData().get_clientObjectProperties().Folders=a}return a},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_isMultilingual:function(){ULSdih:;this.checkUninitializedProperty("IsMultilingual");return this.get_objectData().get_properties().IsMultilingual},set_isMultilingual:function(a){ULSdih:;this.get_objectData().get_properties().IsMultilingual=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsMultilingual",a));return a},get_language:function(){ULSdih:;this.checkUninitializedProperty("Language");return this.get_objectData().get_properties().Language},get_lastItemModifiedDate:function(){ULSdih:;this.checkUninitializedProperty("LastItemModifiedDate");return this.get_objectData().get_properties().LastItemModifiedDate},get_lastItemUserModifiedDate:function(){ULSdih:;this.checkUninitializedProperty("LastItemUserModifiedDate");return this.get_objectData().get_properties().LastItemUserModifiedDate},get_lists:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Lists;if(SP.ScriptUtility.isUndefined(a)){a=new SP.ListCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Lists"));this.get_objectData().get_clientObjectProperties().Lists=a}return a},get_listTemplates:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().ListTemplates;if(SP.ScriptUtility.isUndefined(a)){a=new SP.ListTemplateCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ListTemplates"));this.get_objectData().get_clientObjectProperties().ListTemplates=a}return a},get_masterUrl:function(){ULSdih:;this.checkUninitializedProperty("MasterUrl");return this.get_objectData().get_properties().MasterUrl},set_masterUrl:function(a){ULSdih:;this.get_objectData().get_properties().MasterUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MasterUrl",a));return a},get_membersCanShare:function(){ULSdih:;this.checkUninitializedProperty("MembersCanShare");return this.get_objectData().get_properties().MembersCanShare},set_membersCanShare:function(a){ULSdih:;this.get_objectData().get_properties().MembersCanShare=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MembersCanShare",a));return a},get_navigation:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Navigation;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Navigation(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Navigation"));this.get_objectData().get_clientObjectProperties().Navigation=a}return a},get_noCrawl:function(){ULSdih:;this.checkUninitializedProperty("NoCrawl");return this.get_objectData().get_properties().NoCrawl},set_noCrawl:function(a){ULSdih:;this.get_objectData().get_properties().NoCrawl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NoCrawl",a));return a},get_notificationsInOneDriveForBusinessEnabled:function(){ULSdih:;this.checkUninitializedProperty("NotificationsInOneDriveForBusinessEnabled");return this.get_objectData().get_properties().NotificationsInOneDriveForBusinessEnabled},get_notificationsInSharePointEnabled:function(){ULSdih:;this.checkUninitializedProperty("NotificationsInSharePointEnabled");return this.get_objectData().get_properties().NotificationsInSharePointEnabled},get_overwriteTranslationsOnChange:function(){ULSdih:;this.checkUninitializedProperty("OverwriteTranslationsOnChange");return this.get_objectData().get_properties().OverwriteTranslationsOnChange},set_overwriteTranslationsOnChange:function(a){ULSdih:;this.get_objectData().get_properties().OverwriteTranslationsOnChange=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OverwriteTranslationsOnChange",a));return a},get_parentWeb:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().ParentWeb;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WebInformation(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ParentWeb"));this.get_objectData().get_clientObjectProperties().ParentWeb=a}return a},get_previewFeaturesEnabled:function(){ULSdih:;this.checkUninitializedProperty("PreviewFeaturesEnabled");return this.get_objectData().get_properties().PreviewFeaturesEnabled},get_pushNotificationSubscribers:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().PushNotificationSubscribers;if(SP.ScriptUtility.isUndefined(a)){a=new SP.PushNotificationSubscriberCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PushNotificationSubscribers"));this.get_objectData().get_clientObjectProperties().PushNotificationSubscribers=a}return a},get_quickLaunchEnabled:function(){ULSdih:;this.checkUninitializedProperty("QuickLaunchEnabled");return this.get_objectData().get_properties().QuickLaunchEnabled},set_quickLaunchEnabled:function(a){ULSdih:;this.get_objectData().get_properties().QuickLaunchEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"QuickLaunchEnabled",a));return a},get_recycleBin:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RecycleBin;if(SP.ScriptUtility.isUndefined(a)){a=new SP.RecycleBinItemCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RecycleBin"));this.get_objectData().get_clientObjectProperties().RecycleBin=a}return a},get_recycleBinEnabled:function(){ULSdih:;this.checkUninitializedProperty("RecycleBinEnabled");return this.get_objectData().get_properties().RecycleBinEnabled},get_regionalSettings:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RegionalSettings;if(SP.ScriptUtility.isUndefined(a)){a=new SP.RegionalSettings(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RegionalSettings"));this.get_objectData().get_clientObjectProperties().RegionalSettings=a}return a},get_requestAccessEmail:function(){ULSdih:;this.checkUninitializedProperty("RequestAccessEmail");return this.get_objectData().get_properties().RequestAccessEmail},set_requestAccessEmail:function(a){ULSdih:;this.get_objectData().get_properties().RequestAccessEmail=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequestAccessEmail",a));return a},get_roleDefinitions:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RoleDefinitions;if(SP.ScriptUtility.isUndefined(a)){a=new SP.RoleDefinitionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RoleDefinitions"));this.get_objectData().get_clientObjectProperties().RoleDefinitions=a}return a},get_rootFolder:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().RootFolder;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Folder(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RootFolder"));this.get_objectData().get_clientObjectProperties().RootFolder=a}return a},get_saveSiteAsTemplateEnabled:function(){ULSdih:;this.checkUninitializedProperty("SaveSiteAsTemplateEnabled");return this.get_objectData().get_properties().SaveSiteAsTemplateEnabled},set_saveSiteAsTemplateEnabled:function(a){ULSdih:;this.get_objectData().get_properties().SaveSiteAsTemplateEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SaveSiteAsTemplateEnabled",a));return a},get_serverRelativePath:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativePath");return this.get_objectData().get_properties().ServerRelativePath},get_serverRelativeUrl:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativeUrl");return this.get_objectData().get_properties().ServerRelativeUrl},set_serverRelativeUrl:function(a){ULSdih:;this.get_objectData().get_properties().ServerRelativeUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ServerRelativeUrl",a));return a},get_showUrlStructureForCurrentUser:function(){ULSdih:;this.checkUninitializedProperty("ShowUrlStructureForCurrentUser");return this.get_objectData().get_properties().ShowUrlStructureForCurrentUser},get_siteGroups:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().SiteGroups;if(SP.ScriptUtility.isUndefined(a)){a=new SP.GroupCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SiteGroups"));this.get_objectData().get_clientObjectProperties().SiteGroups=a}return a},get_siteLogoUrl:function(){ULSdih:;this.checkUninitializedProperty("SiteLogoUrl");return this.get_objectData().get_properties().SiteLogoUrl},set_siteLogoUrl:function(a){ULSdih:;this.get_objectData().get_properties().SiteLogoUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SiteLogoUrl",a));return a},get_siteUserInfoList:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().SiteUserInfoList;if(SP.ScriptUtility.isUndefined(a)){a=new SP.List(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SiteUserInfoList"));this.get_objectData().get_clientObjectProperties().SiteUserInfoList=a}return a},get_siteUsers:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().SiteUsers;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SiteUsers"));this.get_objectData().get_clientObjectProperties().SiteUsers=a}return a},get_supportedUILanguageIds:function(){ULSdih:;this.checkUninitializedProperty("SupportedUILanguageIds");return this.get_objectData().get_properties().SupportedUILanguageIds},get_syndicationEnabled:function(){ULSdih:;this.checkUninitializedProperty("SyndicationEnabled");return this.get_objectData().get_properties().SyndicationEnabled},set_syndicationEnabled:function(a){ULSdih:;this.get_objectData().get_properties().SyndicationEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SyndicationEnabled",a));return a},get_tenantTagPolicyEnabled:function(){ULSdih:;this.checkUninitializedProperty("TenantTagPolicyEnabled");return this.get_objectData().get_properties().TenantTagPolicyEnabled},get_themeInfo:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().ThemeInfo;if(SP.ScriptUtility.isUndefined(a)){a=new SP.ThemeInfo(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ThemeInfo"));this.get_objectData().get_clientObjectProperties().ThemeInfo=a}return a},get_thirdPartyMdmEnabled:function(){ULSdih:;this.checkUninitializedProperty("ThirdPartyMdmEnabled");return this.get_objectData().get_properties().ThirdPartyMdmEnabled},get_title:function(){ULSdih:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties().Title},set_title:function(a){ULSdih:;this.get_objectData().get_properties().Title=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Title",a));return a},get_titleResource:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().TitleResource;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserResource(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TitleResource"));this.get_objectData().get_clientObjectProperties().TitleResource=a}return a},get_treeViewEnabled:function(){ULSdih:;this.checkUninitializedProperty("TreeViewEnabled");return this.get_objectData().get_properties().TreeViewEnabled},set_treeViewEnabled:function(a){ULSdih:;this.get_objectData().get_properties().TreeViewEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TreeViewEnabled",a));return a},get_uiVersion:function(){ULSdih:;this.checkUninitializedProperty("UIVersion");return this.get_objectData().get_properties().UIVersion},set_uiVersion:function(a){ULSdih:;this.get_objectData().get_properties().UIVersion=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UIVersion",a));return a},get_uiVersionConfigurationEnabled:function(){ULSdih:;this.checkUninitializedProperty("UIVersionConfigurationEnabled");return this.get_objectData().get_properties().UIVersionConfigurationEnabled},set_uiVersionConfigurationEnabled:function(a){ULSdih:;this.get_objectData().get_properties().UIVersionConfigurationEnabled=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UIVersionConfigurationEnabled",a));return a},get_url:function(){ULSdih:;this.checkUninitializedProperty("Url");return this.get_objectData().get_properties().Url},get_userCustomActions:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().UserCustomActions;if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserCustomActionCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"UserCustomActions"));this.get_objectData().get_clientObjectProperties().UserCustomActions=a}return a},get_webs:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().Webs;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WebCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Webs"));this.get_objectData().get_clientObjectProperties().Webs=a}return a},get_webTemplate:function(){ULSdih:;this.checkUninitializedProperty("WebTemplate");return this.get_objectData().get_properties().WebTemplate},get_workflowAssociations:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().WorkflowAssociations;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Workflow.WorkflowAssociationCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowAssociations"));this.get_objectData().get_clientObjectProperties().WorkflowAssociations=a}return a},get_workflowTemplates:function(){ULSdih:;var a=this.get_objectData().get_clientObjectProperties().WorkflowTemplates;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Workflow.WorkflowTemplateCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"WorkflowTemplates"));this.get_objectData().get_clientObjectProperties().WorkflowTemplates=a}return a},initPropertiesFromJson:function(b){ULSdih:;SP.SecurableObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AllowAutomaticASPXPageIndexing;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowAutomaticASPXPageIndexing=a;delete b.AllowAutomaticASPXPageIndexing}a=b.AllowCreateDeclarativeWorkflowForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowCreateDeclarativeWorkflowForCurrentUser=a;delete b.AllowCreateDeclarativeWorkflowForCurrentUser}a=b.AllowDesignerForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowDesignerForCurrentUser=a;delete b.AllowDesignerForCurrentUser}a=b.AllowMasterPageEditingForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowMasterPageEditingForCurrentUser=a;delete b.AllowMasterPageEditingForCurrentUser}a=b.AllowRevertFromTemplateForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowRevertFromTemplateForCurrentUser=a;delete b.AllowRevertFromTemplateForCurrentUser}a=b.AllowRssFeeds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowRssFeeds=a;delete b.AllowRssFeeds}a=b.AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser=a;delete b.AllowSaveDeclarativeWorkflowAsTemplateForCurrentUser}a=b.AllowSavePublishDeclarativeWorkflowForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AllowSavePublishDeclarativeWorkflowForCurrentUser=a;delete b.AllowSavePublishDeclarativeWorkflowForCurrentUser}a=b.AllProperties;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AllProperties",this.get_allProperties(),a);this.get_allProperties().fromJson(a);delete b.AllProperties}a=b.AlternateCssUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AlternateCssUrl=a;delete b.AlternateCssUrl}a=b.AppInstanceId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AppInstanceId=a;delete b.AppInstanceId}a=b.AppTiles;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AppTiles",this.get_appTiles(),a);this.get_appTiles().fromJson(a);delete b.AppTiles}a=b.AssociatedMemberGroup;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AssociatedMemberGroup",this.get_associatedMemberGroup(),a);this.get_associatedMemberGroup().fromJson(a);delete b.AssociatedMemberGroup}a=b.AssociatedOwnerGroup;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AssociatedOwnerGroup",this.get_associatedOwnerGroup(),a);this.get_associatedOwnerGroup().fromJson(a);delete b.AssociatedOwnerGroup}a=b.AssociatedVisitorGroup;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AssociatedVisitorGroup",this.get_associatedVisitorGroup(),a);this.get_associatedVisitorGroup().fromJson(a);delete b.AssociatedVisitorGroup}a=b.Author;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Author",this.get_author(),a);this.get_author().fromJson(a);delete b.Author}a=b.AvailableContentTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AvailableContentTypes",this.get_availableContentTypes(),a);this.get_availableContentTypes().fromJson(a);delete b.AvailableContentTypes}a=b.AvailableFields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AvailableFields",this.get_availableFields(),a);this.get_availableFields().fromJson(a);delete b.AvailableFields}a=b.Configuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Configuration=a;delete b.Configuration}a=b.ContainsConfidentialInfo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ContainsConfidentialInfo=a;delete b.ContainsConfidentialInfo}a=b.ContentTypes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ContentTypes",this.get_contentTypes(),a);this.get_contentTypes().fromJson(a);delete b.ContentTypes}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Created=a;delete b.Created}a=b.CurrentChangeToken;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CurrentChangeToken=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrentChangeToken}a=b.CurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CurrentUser",this.get_currentUser(),a);this.get_currentUser().fromJson(a);delete b.CurrentUser}a=b.CustomMasterUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CustomMasterUrl=a;delete b.CustomMasterUrl}a=b.DataLeakagePreventionStatusInfo;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DataLeakagePreventionStatusInfo",this.get_dataLeakagePreventionStatusInfo(),a);this.get_dataLeakagePreventionStatusInfo().fromJson(a);delete b.DataLeakagePreventionStatusInfo}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.DescriptionResource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DescriptionResource",this.get_descriptionResource(),a);this.get_descriptionResource().fromJson(a);delete b.DescriptionResource}a=b.DesignerDownloadUrlForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DesignerDownloadUrlForCurrentUser=a;delete b.DesignerDownloadUrlForCurrentUser}a=b.DisableAppViews;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DisableAppViews=a;delete b.DisableAppViews}a=b.DisableFlows;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DisableFlows=a;delete b.DisableFlows}a=b.DocumentLibraryCalloutOfficeWebAppPreviewersDisabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DocumentLibraryCalloutOfficeWebAppPreviewersDisabled=a;delete b.DocumentLibraryCalloutOfficeWebAppPreviewersDisabled}a=b.EffectiveBasePermissions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().EffectiveBasePermissions=SP.DataConvert.fixupType(this.get_context(),a);delete b.EffectiveBasePermissions}a=b.EnableMinimalDownload;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().EnableMinimalDownload=a;delete b.EnableMinimalDownload}a=b.EventReceivers;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("EventReceivers",this.get_eventReceivers(),a);this.get_eventReceivers().fromJson(a);delete b.EventReceivers}a=b.ExcludeFromOfflineClient;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExcludeFromOfflineClient=a;delete b.ExcludeFromOfflineClient}a=b.Features;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Features",this.get_features(),a);this.get_features().fromJson(a);delete b.Features}a=b.Fields;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Fields",this.get_fields(),a);this.get_fields().fromJson(a);delete b.Fields}a=b.Folders;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Folders",this.get_folders(),a);this.get_folders().fromJson(a);delete b.Folders}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.IsMultilingual;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsMultilingual=a;delete b.IsMultilingual}a=b.Language;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Language=a;delete b.Language}a=b.LastItemModifiedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastItemModifiedDate=a;delete b.LastItemModifiedDate}a=b.LastItemUserModifiedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastItemUserModifiedDate=a;delete b.LastItemUserModifiedDate}a=b.Lists;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Lists",this.get_lists(),a);this.get_lists().fromJson(a);delete b.Lists}a=b.ListTemplates;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ListTemplates",this.get_listTemplates(),a);this.get_listTemplates().fromJson(a);delete b.ListTemplates}a=b.MasterUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().MasterUrl=a;delete b.MasterUrl}a=b.MembersCanShare;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().MembersCanShare=a;delete b.MembersCanShare}a=b.Navigation;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Navigation",this.get_navigation(),a);this.get_navigation().fromJson(a);delete b.Navigation}a=b.NoCrawl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NoCrawl=a;delete b.NoCrawl}a=b.NotificationsInOneDriveForBusinessEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NotificationsInOneDriveForBusinessEnabled=a;delete b.NotificationsInOneDriveForBusinessEnabled}a=b.NotificationsInSharePointEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NotificationsInSharePointEnabled=a;delete b.NotificationsInSharePointEnabled}a=b.OverwriteTranslationsOnChange;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().OverwriteTranslationsOnChange=a;delete b.OverwriteTranslationsOnChange}a=b.ParentWeb;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ParentWeb",this.get_parentWeb(),a);this.get_parentWeb().fromJson(a);delete b.ParentWeb}a=b.PreviewFeaturesEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PreviewFeaturesEnabled=a;delete b.PreviewFeaturesEnabled}a=b.PushNotificationSubscribers;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PushNotificationSubscribers",this.get_pushNotificationSubscribers(),a);this.get_pushNotificationSubscribers().fromJson(a);delete b.PushNotificationSubscribers}a=b.QuickLaunchEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().QuickLaunchEnabled=a;delete b.QuickLaunchEnabled}a=b.RecycleBin;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RecycleBin",this.get_recycleBin(),a);this.get_recycleBin().fromJson(a);delete b.RecycleBin}a=b.RecycleBinEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RecycleBinEnabled=a;delete b.RecycleBinEnabled}a=b.RegionalSettings;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RegionalSettings",this.get_regionalSettings(),a);this.get_regionalSettings().fromJson(a);delete b.RegionalSettings}a=b.RequestAccessEmail;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RequestAccessEmail=a;delete b.RequestAccessEmail}a=b.RoleDefinitions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RoleDefinitions",this.get_roleDefinitions(),a);this.get_roleDefinitions().fromJson(a);delete b.RoleDefinitions}a=b.RootFolder;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RootFolder",this.get_rootFolder(),a);this.get_rootFolder().fromJson(a);delete b.RootFolder}a=b.SaveSiteAsTemplateEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SaveSiteAsTemplateEnabled=a;delete b.SaveSiteAsTemplateEnabled}a=b.ServerRelativePath;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativePath=SP.DataConvert.fixupType(this.get_context(),a);delete b.ServerRelativePath}a=b.ServerRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativeUrl=a;delete b.ServerRelativeUrl}a=b.ShowUrlStructureForCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ShowUrlStructureForCurrentUser=a;delete b.ShowUrlStructureForCurrentUser}a=b.SiteGroups;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SiteGroups",this.get_siteGroups(),a);this.get_siteGroups().fromJson(a);delete b.SiteGroups}a=b.SiteLogoUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SiteLogoUrl=a;delete b.SiteLogoUrl}a=b.SiteUserInfoList;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SiteUserInfoList",this.get_siteUserInfoList(),a);this.get_siteUserInfoList().fromJson(a);delete b.SiteUserInfoList}a=b.SiteUsers;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SiteUsers",this.get_siteUsers(),a);this.get_siteUsers().fromJson(a);delete b.SiteUsers}a=b.SupportedUILanguageIds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SupportedUILanguageIds=SP.DataConvert.fixupType(this.get_context(),a);delete b.SupportedUILanguageIds}a=b.SyndicationEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SyndicationEnabled=a;delete b.SyndicationEnabled}a=b.TenantTagPolicyEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TenantTagPolicyEnabled=a;delete b.TenantTagPolicyEnabled}a=b.ThemeInfo;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ThemeInfo",this.get_themeInfo(),a);this.get_themeInfo().fromJson(a);delete b.ThemeInfo}a=b.ThirdPartyMdmEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ThirdPartyMdmEnabled=a;delete b.ThirdPartyMdmEnabled}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Title=a;delete b.Title}a=b.TitleResource;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TitleResource",this.get_titleResource(),a);this.get_titleResource().fromJson(a);delete b.TitleResource}a=b.TreeViewEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TreeViewEnabled=a;delete b.TreeViewEnabled}a=b.UIVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UIVersion=a;delete b.UIVersion}a=b.UIVersionConfigurationEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UIVersionConfigurationEnabled=a;delete b.UIVersionConfigurationEnabled}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Url=a;delete b.Url}a=b.UserCustomActions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("UserCustomActions",this.get_userCustomActions(),a);this.get_userCustomActions().fromJson(a);delete b.UserCustomActions}a=b.Webs;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Webs",this.get_webs(),a);this.get_webs().fromJson(a);delete b.Webs}a=b.WebTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebTemplate=a;delete b.WebTemplate}a=b.WorkflowAssociations;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowAssociations",this.get_workflowAssociations(),a);this.get_workflowAssociations().fromJson(a);delete b.WorkflowAssociations}a=b.WorkflowTemplates;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("WorkflowTemplates",this.get_workflowTemplates(),a);this.get_workflowTemplates().fromJson(a);delete b.WorkflowTemplates}},doesUserHavePermissions:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DoesUserHavePermissions",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getUserEffectivePermissions:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetUserEffectivePermissions",[d]);b.addQuery(c);a=new SP.BasePermissions;b.addQueryIdAndResultObject(c.get_id(),a);return a},createDefaultAssociatedGroups:function(c,b,a){ULSdih:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"CreateDefaultAssociatedGroups",[c,b,a]);d.addQuery(e)},mapToIcon:function(d,e,f){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"MapToIcon",[d,e,f]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},registerPushNotificationSubscriber:function(c,d){ULSdih:;var a=this.get_context(),b;b=new SP.PushNotificationSubscriber(a,new SP.ObjectPathMethod(a,this.get_path(),"RegisterPushNotificationSubscriber",[c,d]));return b},unregisterPushNotificationSubscriber:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UnregisterPushNotificationSubscriber",[a]);b.addQuery(c)},getPushNotificationSubscribersByArgs:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.PushNotificationSubscriberCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPushNotificationSubscribersByArgs",[c]));return b},getPushNotificationSubscribersByUser:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.PushNotificationSubscriberCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPushNotificationSubscribersByUser",[c]));return b},doesPushNotificationSubscriberExist:function(d){ULSdih:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DoesPushNotificationSubscriberExist",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPushNotificationSubscriber:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.PushNotificationSubscriber(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPushNotificationSubscriber",[c]));return b},getUserById:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetUserById;if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects().GetUserById=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.User(c,new SP.ObjectPathMethod(c,this.get_path(),"GetUserById",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getChanges:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.ChangeCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetChanges",[c]));return b},getEntity:function(c,d){ULSdih:;var a=this.get_context(),b;b=new SP.BusinessData.Entity(a,new SP.ObjectPathMethod(a,this.get_path(),"GetEntity",[c,d]));return b},getAppBdcCatalogForAppInstance:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.BusinessData.AppBdcCatalog(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAppBdcCatalogForAppInstance",[c]));return b},getAppBdcCatalog:function(){ULSdih:;var a=this.get_context(),b;b=new SP.BusinessData.AppBdcCatalog(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAppBdcCatalog",null));return b},getSubwebsForCurrentUser:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.WebCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetSubwebsForCurrentUser",[c]));return b},getAvailableWebTemplates:function(d,c){ULSdih:;var a=this.get_context(),b;b=new SP.WebTemplateCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAvailableWebTemplates",[d,c]));return b},getCatalog:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetCatalog;if(SP.ScriptUtility.isNullOrUndefined(b)){b=[];this.get_objectData().get_methodReturnObjects().GetCatalog=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.List(c,new SP.ObjectPathMethod(c,this.get_path(),"GetCatalog",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getRecycleBinItems:function(d,f,c,g,e){ULSdih:;var a=this.get_context(),b;b=new SP.RecycleBinItemCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRecycleBinItems",[d,f,c,g,e]));return b},getRecycleBinItemsByQueryInfo:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.RecycleBinItemCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRecycleBinItemsByQueryInfo",[c]));return b},update:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},getViewFromUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.View(a,new SP.ObjectPathMethod(a,this.get_path(),"GetViewFromUrl",[c]));return b},getFileByServerRelativeUrl:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetFileByServerRelativeUrl;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().GetFileByServerRelativeUrl=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.File(b,new SP.ObjectPathMethod(b,this.get_path(),"GetFileByServerRelativeUrl",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getFileByServerRelativePath:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByServerRelativePath",[c]));return b},defaultDocumentLibrary:function(){ULSdih:;var a=this.get_context(),b;b=new SP.List(a,new SP.ObjectPathMethod(a,this.get_path(),"DefaultDocumentLibrary",null));return b},getFileById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileById",[c]));return b},getFolderById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.Folder(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFolderById",[c]));return b},getFileByLinkingUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByLinkingUrl",[c]));return b},getFileByGuestUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByGuestUrl",[c]));return b},getFileByGuestUrlEnsureAccess:function(d,c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByGuestUrlEnsureAccess",[d,c]));return b},getFileByWOPIFrameUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByWOPIFrameUrl",[c]));return b},getFileByUrl:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.File(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFileByUrl",[c]));return b},getFolderByServerRelativeUrl:function(d){ULSdih:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects().GetFolderByServerRelativeUrl;if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects().GetFolderByServerRelativeUrl=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Folder(b,new SP.ObjectPathMethod(b,this.get_path(),"GetFolderByServerRelativeUrl",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getFolderByServerRelativePath:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.Folder(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFolderByServerRelativePath",[c]));return b},getList:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetList;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetList=b}a=b[d];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.List(c,new SP.ObjectPathMethod(c,this.get_path(),"GetList",[d]));if(!c.get_disableReturnValueCache())b[d]=a;return a},getListUsingPath:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.List(a,new SP.ObjectPathMethod(a,this.get_path(),"GetListUsingPath",[c]));return b},getListItem:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.ListItem(a,new SP.ObjectPathMethod(a,this.get_path(),"GetListItem",[c]));return b},getListItemUsingPath:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.ListItem(a,new SP.ObjectPathMethod(a,this.get_path(),"GetListItemUsingPath",[c]));return b},applyWebTemplate:function(a){ULSdih:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"ApplyWebTemplate",[a]);b.addQuery(c)},deleteObject:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b);this.removeFromParentCollection()},getAppInstanceById:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.AppInstance(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAppInstanceById",[c]));return b},getAppInstancesByProductId:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAppInstancesByProductId",[c]),SP.AppInstance);return b},loadAndInstallAppInSpecifiedLocale:function(d,c){ULSdih:;var a=this.get_context(),b;b=new SP.AppInstance(a,new SP.ObjectPathMethod(a,this.get_path(),"LoadAndInstallAppInSpecifiedLocale",[d,c]));return b},loadApp:function(e,d){ULSdih:;var b=this.get_context(),a;a=new SP.AppInstance(b,new SP.ObjectPathMethod(b,this.get_path(),"LoadApp",[e,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},loadAndInstallApp:function(d){ULSdih:;var b=this.get_context(),a;a=new SP.AppInstance(b,new SP.ObjectPathMethod(b,this.get_path(),"LoadAndInstallApp",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},addSupportedUILanguage:function(c){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"AddSupportedUILanguage",[c]);a.addQuery(b)},removeSupportedUILanguage:function(c){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RemoveSupportedUILanguage",[c]);a.addQuery(b)},ensureUser:function(c){ULSdih:;var a=this.get_context(),b;b=new SP.User(a,new SP.ObjectPathMethod(a,this.get_path(),"EnsureUser",[c]));return b},applyTheme:function(b,d,a,c){ULSdih:;var e=this.get_context(),f=new SP.ClientActionInvokeMethod(this,"ApplyTheme",[b,d,a,c]);e.addQuery(f)},incrementSiteClientTag:function(){ULSdih:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"IncrementSiteClientTag",null);a.addQuery(b)}};SP.WebPropertyNames=function(){};SP.WebObjectPropertyNames=function(){};SP.WebCollection=function(b,a){ULSdih:;SP.WebCollection.initializeBase(this,[b,a])};SP.WebCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.Web},add:function(c){ULSdih:;var b=this.get_context(),a;a=new SP.Web(b,new SP.ObjectPathMethod(b,this.get_path(),"Add",[c]));a.get_path().setPendingReplace();var d=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(d.get_id(),a);b.addQuery(d);this.addChild(a);a.$F_2(c);return a}};SP.WebCreationInformation=function(){ULSdih:;SP.WebCreationInformation.initializeBase(this)};SP.WebCreationInformation.prototype={$2_1:null,$4j_1:0,$0_1:null,$1_1:null,$65_1:false,$6E_1:null,get_description:function(){ULSdih:;return this.$2_1},set_description:function(a){ULSdih:;this.$2_1=a;return a},get_language:function(){ULSdih:;return this.$4j_1},set_language:function(a){ULSdih:;this.$4j_1=a;return a},get_title:function(){ULSdih:;return this.$0_1},set_title:function(a){ULSdih:;this.$0_1=a;return a},get_url:function(){ULSdih:;return this.$1_1},set_url:function(a){ULSdih:;this.$1_1=a;return a},get_useSamePermissionsAsParentSite:function(){ULSdih:;return this.$65_1},set_useSamePermissionsAsParentSite:function(a){ULSdih:;this.$65_1=a;return a},get_webTemplate:function(){ULSdih:;return this.$6E_1},set_webTemplate:function(a){ULSdih:;this.$6E_1=a;return a},get_typeId:function(){ULSdih:;return"{8f9e9fbe-189e-492f-884f-98f9ef9cc4d6}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","Language","Title","Url","UseSamePermissionsAsParentSite","WebTemplate"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.Description}a=b.Language;if(!SP.ScriptUtility.isUndefined(a)){this.$4j_1=a;delete b.Language}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Title}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Url}a=b.UseSamePermissionsAsParentSite;if(!SP.ScriptUtility.isUndefined(a)){this.$65_1=a;delete b.UseSamePermissionsAsParentSite}a=b.WebTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.$6E_1=a;delete b.WebTemplate}}};SP.WebInformation=function(b,a){ULSdih:;SP.WebInformation.initializeBase(this,[b,a])};SP.WebInformation.prototype={get_configuration:function(){ULSdih:;this.checkUninitializedProperty("Configuration");return this.get_objectData().get_properties().Configuration},get_created:function(){ULSdih:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties().Created},get_description:function(){ULSdih:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_language:function(){ULSdih:;this.checkUninitializedProperty("Language");return this.get_objectData().get_properties().Language},get_lastItemModifiedDate:function(){ULSdih:;this.checkUninitializedProperty("LastItemModifiedDate");return this.get_objectData().get_properties().LastItemModifiedDate},get_serverRelativeUrl:function(){ULSdih:;this.checkUninitializedProperty("ServerRelativeUrl");return this.get_objectData().get_properties().ServerRelativeUrl},get_title:function(){ULSdih:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties().Title},get_webTemplate:function(){ULSdih:;this.checkUninitializedProperty("WebTemplate");return this.get_objectData().get_properties().WebTemplate},get_webTemplateId:function(){ULSdih:;this.checkUninitializedProperty("WebTemplateId");return this.get_objectData().get_properties().WebTemplateId},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Configuration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Configuration=a;delete b.Configuration}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Created=a;delete b.Created}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.Language;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Language=a;delete b.Language}a=b.LastItemModifiedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastItemModifiedDate=a;delete b.LastItemModifiedDate}a=b.ServerRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativeUrl=a;delete b.ServerRelativeUrl}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Title=a;delete b.Title}a=b.WebTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebTemplate=a;delete b.WebTemplate}a=b.WebTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebTemplateId=a;delete b.WebTemplateId}}};SP.WebInformationPropertyNames=function(){};SP.WebProxy=function(){};SP.WebProxy.invoke=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{656a77c4-1634-415c-bf85-c6c0cb286e0e}","Invoke",[d]);a.addQuery(c);b=new SP.WebResponseInfo;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.WebRequestInfo=function(){ULSdih:;SP.WebRequestInfo.initializeBase(this)};SP.WebRequestInfo.prototype={$G_1:null,$k_1:null,$4v_1:null,$1_1:null,get_body:function(){ULSdih:;return this.$G_1},set_body:function(a){ULSdih:;this.$G_1=a;return a},get_headers:function(){ULSdih:;return this.$k_1},set_headers:function(a){ULSdih:;this.$k_1=a;return a},get_method:function(){ULSdih:;return this.$4v_1},set_method:function(a){ULSdih:;this.$4v_1=a;return a},get_url:function(){ULSdih:;return this.$1_1},set_url:function(a){ULSdih:;this.$1_1=a;return a},get_typeId:function(){ULSdih:;return"{71aa825d-bc12-422d-a177-d2e63fe68cd9}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Body","Headers","Method","Url"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Body;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Body}a=b.Headers;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=SP.DataConvert.fixupType(null,a);delete b.Headers}a=b.Method;if(!SP.ScriptUtility.isUndefined(a)){this.$4v_1=a;delete b.Method}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Url}}};SP.WebResponseInfo=function(){ULSdih:;SP.WebResponseInfo.initializeBase(this)};SP.WebResponseInfo.prototype={$G_1:null,$k_1:null,$5p_1:0,get_body:function(){ULSdih:;return this.$G_1},set_body:function(a){ULSdih:;this.$G_1=a;return a},get_headers:function(){ULSdih:;return this.$k_1},set_headers:function(a){ULSdih:;this.$k_1=a;return a},get_statusCode:function(){ULSdih:;return this.$5p_1},set_statusCode:function(a){ULSdih:;this.$5p_1=a;return a},get_typeId:function(){ULSdih:;return"{73b6054a-aa40-41e4-a34f-5a6f898e6d4f}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Body","Headers","StatusCode"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Body;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Body}a=b.Headers;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=SP.DataConvert.fixupType(null,a);delete b.Headers}a=b.StatusCode;if(!SP.ScriptUtility.isUndefined(a)){this.$5p_1=a;delete b.StatusCode}}};SP.WebTemplate=function(b,a){ULSdih:;SP.WebTemplate.initializeBase(this,[b,a])};SP.WebTemplate.prototype={get_description:function(){ULSdih:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},get_displayCategory:function(){ULSdih:;this.checkUninitializedProperty("DisplayCategory");return this.get_objectData().get_properties().DisplayCategory},get_id:function(){ULSdih:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_imageUrl:function(){ULSdih:;this.checkUninitializedProperty("ImageUrl");return this.get_objectData().get_properties().ImageUrl},get_isHidden:function(){ULSdih:;this.checkUninitializedProperty("IsHidden");return this.get_objectData().get_properties().IsHidden},get_isRootWebOnly:function(){ULSdih:;this.checkUninitializedProperty("IsRootWebOnly");return this.get_objectData().get_properties().IsRootWebOnly},get_isSubWebOnly:function(){ULSdih:;this.checkUninitializedProperty("IsSubWebOnly");return this.get_objectData().get_properties().IsSubWebOnly},get_lcid:function(){ULSdih:;this.checkUninitializedProperty("Lcid");return this.get_objectData().get_properties().Lcid},get_name:function(){ULSdih:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},get_title:function(){ULSdih:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties().Title},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.DisplayCategory;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DisplayCategory=a;delete b.DisplayCategory}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.ImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ImageUrl=a;delete b.ImageUrl}a=b.IsHidden;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsHidden=a;delete b.IsHidden}a=b.IsRootWebOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsRootWebOnly=a;delete b.IsRootWebOnly}a=b.IsSubWebOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsSubWebOnly=a;delete b.IsSubWebOnly}a=b.Lcid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Lcid=a;delete b.Lcid}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Title=a;delete b.Title}}};SP.WebTemplatePropertyNames=function(){};SP.WebTemplateCollection=function(b,a){ULSdih:;SP.WebTemplateCollection.initializeBase(this,[b,a])};SP.WebTemplateCollection.prototype={itemAt:function(a){ULSdih:;return this.getItemAtIndex(a)},get_item:function(a){ULSdih:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSdih:;return SP.WebTemplate},getByName:function(d){ULSdih:;var c=this.get_context(),a,b=this.get_objectData().get_methodReturnObjects().GetByName;if(SP.ScriptUtility.isNullOrUndefined(b)){b={};this.get_objectData().get_methodReturnObjects().GetByName=b}a=b[d.toUpperCase()];if(!c.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.WebTemplate(c,new SP.ObjectPathMethod(c,this.get_path(),"GetByName",[d]));if(!c.get_disableReturnValueCache())b[d.toUpperCase()]=a;return a}};Type.registerNamespace("SP.UI");SP.UI.PopoutMenu=function(j,k,b,c,h,i,a,d,e,f,g){ULSdih:;this.$$d_closeMenu=Function.createDelegate(this,this.closeMenu);this.$$d_onMenuMouseOver=Function.createDelegate(this,this.onMenuMouseOver);this.$$d_onMenuMouseOut=Function.createDelegate(this,this.onMenuMouseOut);this.$1z_0=-1;this.$M_0=$get(j);this.$3_0=$get(k);this.$21_0=c;this.$6U_0=h;this.$1y_0=i;this.$6P_0=a;if(a){this.$1K_0=$get(b);this.$18_0=this.$1K_0.firstChild;this.$6Q_0=d;this.$6R_0=e;this.$6O_0=f;this.$6S_0=g}else this.$18_0=$get(b);if(SP.ScriptUtility.isNullOrUndefined(this.$M_0))throw Error.argument("launcherId");if(SP.ScriptUtility.isNullOrUndefined(this.$3_0))throw Error.argument("menuId");this.$23_0=this.$$d_onMenuMouseOut;this.$24_0=this.$$d_onMenuMouseOver;this.$22_0=SP.UI.PopoutMenu.onMenuClick;$addHandler(this.$3_0,"mouseout",this.$23_0);$addHandler(this.$3_0,"mouseover",this.$24_0);$addHandler(this.$3_0,"click",this.$22_0)};SP.UI.PopoutMenu.beginModal=function(){ULSdih:;if(SP.UI.PopoutMenu.$14)return;if(!SP.UI.PopoutMenu.$6T){$addHandler(document,"keydown",SP.UI.PopoutMenu.onModalKeyDown);var a=SP.UI.PopoutMenu.onCloseEvent;$addHandler(window,"scroll",a);$addHandler(document.body,"click",a);SP.UI.PopoutMenu.$6T=true}SP.UI.PopoutMenu.$14=true};SP.UI.PopoutMenu.endModal=function(){ULSdih:;if(!SP.UI.PopoutMenu.$14)return;SP.UI.PopoutMenu.$14=false};SP.UI.PopoutMenu.onMenuClick=function(b){ULSdih:;b.stopPropagation();!SP.ScriptUtility.isNullOrUndefined(SP.UI.PopoutMenu._activePopoutMenuInstance)&&SP.UI.PopoutMenu._activePopoutMenuInstance.closeMenu();var a=b.target;if(a&&a.tagName&&a.tagName.toUpperCase()==="A"&&a.href&&a.href.length>0){b.preventDefault();STSNavigate(a.href)}};SP.UI.PopoutMenu.onModalKeyDown=function(a){ULSdih:;if(!SP.UI.PopoutMenu.$14)return;if(a&&a.rawEvent)a.rawEvent.keyCode===27&&SP.UI.PopoutMenu._activePopoutMenuInstance.closeMenu()};SP.UI.PopoutMenu.onCloseEvent=function(a){ULSdih:;if(!SP.UI.PopoutMenu.$14)return;SP.UI.PopoutMenu._activePopoutMenuInstance.closeMenu();a.preventDefault()};SP.UI.PopoutMenu.ensureCSSClassOnElement=function(a,c){ULSdih:;if(SP.ScriptUtility.isNullOrUndefined(a))return;var d=a.className;if(d.indexOf(c)!==-1)return;var b=a.className.trim()+" "+c;b=b.trim();a.className=b};SP.UI.PopoutMenu.removeCSSClassFromElement=function(a,b){ULSdih:;if(SP.ScriptUtility.isNullOrUndefined(a))return;a.className=a.className.replace(b,"")};SP.UI.PopoutMenu.getViewPortWidth=function(){ULSdih:;var a=window.innerWidth;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.documentElement.clientWidth;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.body.clientWidth;return a};SP.UI.PopoutMenu.getViewPortHeight=function(){ULSdih:;var a=window.innerHeight;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.documentElement.clientHeight;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.body.clientHeight;return a};SP.UI.PopoutMenu.getViewableTop=function(){ULSdih:;var a;a=window.pageXOffset;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.documentElement.scrollTop;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.body.scrollTop;return a};SP.UI.PopoutMenu.getViewableLeft=function(){ULSdih:;var a;a=window.pageYOffset;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.documentElement.scrollLeft;if(SP.ScriptUtility.isNullOrUndefined(a))a=document.body.scrollLeft;return a};SP.UI.PopoutMenu.get_activePopoutMenuInstance=function(){ULSdih:;return SP.UI.PopoutMenu._activePopoutMenuInstance};SP.UI.PopoutMenu.set_activePopoutMenuInstance=function(a){ULSdih:;SP.UI.PopoutMenu._activePopoutMenuInstance=a;return a};SP.UI.PopoutMenu.createPopoutMenuInstanceAndLaunch=function(e,h,g,a,b,c,d,k,l,f,i){ULSdih:;if(!SP.ScriptUtility.isNullOrUndefined(SP.UI.PopoutMenu._activePopoutMenuInstance)){SP.UI.PopoutMenu._activePopoutMenuInstance.closeMenu();return}var j=new SP.UI.PopoutMenu(e,h,g,a,b,c,d,k,l,f,i);j.launchMenu()};SP.UI.PopoutMenu.closeActivePopoutMenuInstance=function(){ULSdih:;!SP.ScriptUtility.isNullOrUndefined(SP.UI.PopoutMenu._activePopoutMenuInstance)&&SP.UI.PopoutMenu._activePopoutMenuInstance.closeMenu()};SP.UI.PopoutMenu.prototype={$M_0:null,$3_0:null,$1K_0:null,$18_0:null,$21_0:null,$6U_0:null,$1y_0:null,$6P_0:false,$6Q_0:0,$6R_0:0,$6O_0:0,$6S_0:0,$23_0:null,$24_0:null,$22_0:null,launchMenu:function(){ULSdih:;if(this._menuLaunched)return;SP.UI.PopoutMenu._activePopoutMenuInstance&&SP.UI.PopoutMenu._activePopoutMenuInstance.closeMenu();SP.UI.PopoutMenu._activePopoutMenuInstance=this;SP.UI.PopoutMenu.beginModal();SP.UI.PopoutMenu.ensureCSSClassOnElement(this.$M_0,this.$21_0);this.$3_0.style.display="block";this.$3_0.style.visibility="hidden";this.$3_0.style.position="absolute";this.$3_0.style.top="0px";this.$3_0.style.left="0px";this.$3_0.style.zIndex=1002;var b=Sys.Browser.agent===Sys.Browser.InternetExplorer&&Math.floor(Sys.Browser.version)===7;if(b){var a=this.$3_0.offsetWidth;if(a<142)a=142;else if(a>400)a=400;this.$3_0.style.width=a+"px"}this.positionMenu();this.$3_0.style.visibility="visible";if(Sys.Browser.agent===Sys.Browser.InternetExplorer){this.$3_0.parentNode.insertBefore(this.get_backFrame(),this.$3_0);this.positionBackFrame(this.$3_0)}this.$M_0.rel="_spPopoutMenuIsOpen";this._menuLaunched=true},closeMenu:function(){ULSdih:;if(!this._menuLaunched)return;this.$3_0.style.display="none";Sys.Browser.agent===Sys.Browser.InternetExplorer&&this.$3_0.parentNode.removeChild(this.get_backFrame());SP.UI.PopoutMenu.endModal();SP.UI.PopoutMenu.removeCSSClassFromElement(this.$M_0,this.$21_0);!SP.ScriptUtility.isNullOrEmptyString(this.$1y_0)&&this.$9E_0();this.$M_0.rel="";this._menuLaunched=false;SP.UI.PopoutMenu._activePopoutMenuInstance=null},$9E_0:function(){ULSdih:;this.$18_0.src=this.$1y_0;if(this.$6P_0){this.$18_0.style.top="-"+this.$6R_0+"px";this.$18_0.style.left="-"+this.$6Q_0+"px";this.$1K_0.style.height=this.$6O_0+"px";this.$1K_0.style.width=this.$6S_0+"px"}},positionBackFrame:function(a){ULSdih:;var b=!SP.ScriptUtility.isNullOrUndefined(a.offsetParent),c=AbsTop(a)-(b?AbsTop(a.offsetParent):0),d=AbsLeft(a)-(b?AbsLeft(a.offsetParent):0),e=a.offsetWidth,f=a.offsetHeight;this.get_backFrame().style.top=c+6+"px";this.get_backFrame().style.left=d+"px";this.get_backFrame().style.width=e+"px";this.get_backFrame().style.height=f+"px"},positionMenu:function(){ULSdih:;var a=this.$3_0.offsetWidth,b=this.$3_0.offsetHeight,k=!SP.ScriptUtility.isNullOrUndefined(this.$3_0.offsetParent),c=this.$M_0.offsetWidth,d=this.$M_0.offsetHeight,e=AbsTop(this.$M_0)-(k?AbsTop(this.$3_0.offsetParent):0),f=AbsLeft(this.$M_0)-(k?AbsLeft(this.$3_0.offsetParent):0),g=SP.UI.PopoutMenu.getViewPortWidth(),h=SP.UI.PopoutMenu.getViewPortHeight(),i=SP.UI.PopoutMenu.getViewableTop(),j=SP.UI.PopoutMenu.getViewableLeft();if(this.get_defaultLaunchRight()){if(this.$8F_0(a,b,c,d,e,f,g,h,i,j))return;if(this.$8U_0(a,b,c,d,e,f,g,h,i,j))return;if(this.$8E_0(a,b,c,d,e,f,g,h,i,j))return;if(this.$8T_0(a,b,c,d,e,f,g,h,i,j))return;this.$8F_0(a,b,c,d,e,f,g,h,i,j)}else{if(this.$8E_0(a,b,c,d,e,f,g,h,i,j))return;if(this.$8T_0(a,b,c,d,e,f,g,h,i,j))return;if(this.$8F_0(a,b,c,d,e,f,g,h,i,j))return;if(this.$8U_0(a,b,c,d,e,f,g,h,i,j))return;this.$8E_0(a,b,c,d,e,f,g,h,i,j)}},positionMenuWithCoordinates:function(a,b){ULSdih:;this.$3_0.style.top=b+6+"px";this.$3_0.style.left=a+"px"},$8T_0:function(c,d,e,j,f,g,k,l,h,i){ULSdih:;var a=g+e-c;if(ae)return false;this.positionMenuWithCoordinates(a,c+b);return true},$8U_0:function(e,f,k,l,g,b,h,m,i,j){ULSdih:;var c=b+e,d=j+h;if(c>d)return false;var a=g-f;if(ae)return false;var f=b+a+i,g=l+k;if(f>g)return false;this.positionMenuWithCoordinates(c,b+a);return true},onMenuMouseOver:function(){ULSdih:;window.clearTimeout(this.$1z_0)},onMenuMouseOut:function(){ULSdih:;window.clearTimeout(this.$1z_0);this.$1z_0=window.setTimeout(this.$$d_closeMenu,1500)},_menuLaunched:false,get_menuLaunched:function(){ULSdih:;return this._menuLaunched},set_menuLaunched:function(a){ULSdih:;this._menuLaunched=a;return a},_backFrame:null,get_backFrame:function(){ULSdih:;if(!this._backFrame){this._backFrame=document.createElement("iframe");this._backFrame.style.zIndex=1001;this._backFrame.style.position="absolute";this._backFrame.style.visibility="hidden"}return this._backFrame},get_defaultLaunchRight:function(){ULSdih:;return this.$6U_0==="ltr"},dispose:function(){ULSdih:;$removeHandler(this.$3_0,"mouseout",this.$23_0);$removeHandler(this.$3_0,"mouseover",this.$24_0);$removeHandler(this.$3_0,"click",this.$22_0)}};SP.UI.AttractModeControl=function(){ULSdih:;SP.UI.AttractModeControl.initializeBase(this,[document.createElement("div")]);this.get_element().className=SP.UI.AttractModeControl.cssAttractModeBackground;this.$9B_2()};SP.UI.AttractModeControl.$8f=function(){ULSdih:;var a=document.createElement("div");a.className=SP.UI.AttractModeControl.cssAttractModeWrapper;return a};SP.UI.AttractModeControl.prototype={$20_2:null,$1L_2:null,get_imageElement:function(){ULSdih:;return this.$20_2},get_textElement:function(){ULSdih:;return this.$1L_2},$9B_2:function(){ULSdih:;var b=SP.UI.AttractModeControl.$8f(),c=document.createElement("div");c.className=SP.UI.AttractModeControl.cssAttractModeCell;this.$20_2=this.$8e_2();c.appendChild(this.$20_2);b.appendChild(c);var a=this.$8g_2();Sys.UI.DomElement.addCssClass(a,SP.UI.AttractModeControl.cssAttractModeCell);Sys.UI.DomElement.addCssClass(a,SP.UI.AttractModeControl.cssAttractMode);this.$1L_2=document.createElement("div");this.$1L_2.className=SP.UI.AttractModeControl.cssAttractModeText;a.appendChild(this.$1L_2);b.appendChild(a);this.get_element().appendChild(b)},$8e_2:function(){ULSdih:;var a=document.createElement("img");a.src=SP.Utilities.Utility.getImageUrl(SP.UI.AttractModeControl.defaultAttractModeIcon);a.className=SP.UI.AttractModeControl.cssAttractModeIcon;return a},$8g_2:function(){ULSdih:;var a=document.createElement("span");Sys.UI.DomElement.addCssClass(a,SP.UI.AttractModeControl.cssAttractMode);return a}};SP.UI.Status=function(){};SP.UI.Status.addStatus=function(b,c,a){ULSdih:;return addStatus(b,c,a)};SP.UI.Status.appendStatus=function(c,a,b){ULSdih:;return appendStatus(c,a,b)};SP.UI.Status.updateStatus=function(b,a){ULSdih:;updateStatus(b,a)};SP.UI.Status.setStatusPriColor=function(b,a){ULSdih:;setStatusPriColor(b,a)};SP.UI.Status.removeStatus=function(a){ULSdih:;removeStatus(a)};SP.UI.Status.removeAllStatus=function(a){ULSdih:;removeAllStatus(a)};SP.UI.Menu=function(a){ULSdih:;this.$Y_0=a};SP.UI.Menu.create=function(b){ULSdih:;var a=CMenu(b);return new SP.UI.Menu(a)};SP.UI.Menu.prototype={$Y_0:null,addMenuItem:function(h,d,e,c,f,g,b){ULSdih:;var a=CAMOpt(this.$Y_0,h,d,e,c,f,g);if(b)a.id=b;return a},addSeparator:function(){ULSdih:;CAMSep(this.$Y_0)},addSubMenu:function(g,d,c,e,f,b){ULSdih:;var a=CASubM(this.$Y_0,g,d,c,e,f);if(b)a.id=b;return new SP.UI.Menu(a)},show:function(b,c,a,d){ULSdih:;OMenu(this.$Y_0,b,c,a,d)},showFilterMenu:function(c,d,a,f,e,b){ULSdih:;OMenu(this.$Y_0,c,d,a,f,e,b)},hideIcons:function(){ULSdih:;this.$Y_0.setAttribute("hideicons","true")},showIcons:function(){ULSdih:;this.$Y_0.setAttribute("hideicons","false")}};SP.UI.MenuTest=function(){};SP.UI.MenuTest.setup=function(a){ULSdih:;SP.UI.MenuTest.$1I=a;a.attachEvent("onclick",SP.UI.MenuTest.$8w)};SP.UI.MenuTest.$8w=function(){ULSdih:;var a=SP.UI.MenuTest.$1I._menu;if(!a){a=SP.UI.Menu.create(SP.UI.MenuTest.$1I.id+"_menu");SP.UI.MenuTest.$1I._menu=a;a.addMenuItem("Option 1",null,null,null,0,null,null);a.addSeparator();a.addMenuItem("Option 2","window.location='http://www.microsoft.com';",null,null,0,null,null)}a.show(SP.UI.MenuTest.$1I,false,false,-1)};Type.registerNamespace("SP.Utilities");SP.Utilities.DateTimeFormat=function(){};SP.Utilities.DateTimeFormat.prototype={dateTime:0,dateOnly:1,timeOnly:2,isO8601:3,monthDayOnly:4,monthYearOnly:5,longDate:6,unknownFormat:7};SP.Utilities.DateTimeFormat.registerEnum("SP.Utilities.DateTimeFormat",false);SP.Utilities.IconSize=function(){};SP.Utilities.IconSize.prototype={size16:0,size32:1,size256:2};SP.Utilities.IconSize.registerEnum("SP.Utilities.IconSize",false);SP.Utilities.LogAppErrorResult=function(){};SP.Utilities.LogAppErrorResult.prototype={success:0,errorsThrottled:-1,accessDenied:-2};SP.Utilities.LogAppErrorResult.registerEnum("SP.Utilities.LogAppErrorResult",false);SP.Utilities.PrincipalSource=function(){};SP.Utilities.PrincipalSource.prototype={none:0,userInfoList:1,windows:2,membershipProvider:4,roleProvider:8,all:15};SP.Utilities.PrincipalSource.registerEnum("SP.Utilities.PrincipalSource",false);SP.Utilities.PrincipalType=function(){};SP.Utilities.PrincipalType.prototype={none:0,user:1,distributionList:2,securityGroup:4,sharePointGroup:8,all:15};SP.Utilities.PrincipalType.registerEnum("SP.Utilities.PrincipalType",false);SP.Utilities.SPWOPIFrameAction=function(){};SP.Utilities.SPWOPIFrameAction.prototype={view:0,edit:1,mobileView:2,interactivePreview:3,syndicate:4,legacyWebService:5};SP.Utilities.SPWOPIFrameAction.registerEnum("SP.Utilities.SPWOPIFrameAction",false);SP.Utilities.Utility=function(){};SP.Utilities.Utility.get_layoutsLatestVersionRelativeUrl=function(){ULSdih:;return"_layouts/15/"};SP.Utilities.Utility.get_layoutsLatestVersionUrl=function(){ULSdih:;return"/_layouts/15/"};SP.Utilities.Utility.getLayoutsPageUrl=function(a){ULSdih:;return SP.Utilities.UrlBuilder.urlCombine(SP.PageContextInfo.get_webServerRelativeUrl(),"_layouts/15/"+a)};SP.Utilities.Utility.getImageUrl=function(a){ULSdih:;return"/_layouts/15/images/"+a};SP.Utilities.Utility.createWikiPageInContextWeb=function(a,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.File(a,new SP.ObjectPathStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","CreateWikiPageInContextWeb",[c]));return b};SP.Utilities.Utility.searchPrincipals=function(a,i,h,g,f,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","SearchPrincipals",[i,h,g,f,d,e]);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.resolvePrincipal=function(a,i,h,g,f,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","ResolvePrincipal",[i,h,g,f,e,d]);a.addQuery(c);b=new SP.Utilities.PrincipalInfo;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.localizeWebPartGallery=function(a,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.ClientObjectList(a,new SP.ObjectPathStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","LocalizeWebPartGallery",[c]),SP.ListItem);return b};SP.Utilities.Utility.getAppLicenseInformation=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetAppLicenseInformation",[d]);a.addQuery(c);b=new SP.AppLicenseCollection;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.importAppLicense=function(a,b,d,c,g,h,e,f){ULSdih:;if(!a)throw Error.argumentNull("context");var i=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","ImportAppLicense",[b,d,c,g,h,e,f]);a.addQuery(i)};SP.Utilities.Utility.getAppLicenseDeploymentId=function(a){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetAppLicenseDeploymentId",null);a.addQuery(c);b=new SP.GuidResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.logCustomAppError=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","LogCustomAppError",[d]);a.addQuery(c);b=new SP.IntResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.logCustomRemoteAppError=function(a,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","LogCustomRemoteAppError",[d,e]);a.addQuery(c);b=new SP.IntResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.createNewDiscussion=function(a,d,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.ListItem(a,new SP.ObjectPathStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","CreateNewDiscussion",[d,c]));return b};SP.Utilities.Utility.createNewDiscussionReply=function(a,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.ListItem(a,new SP.ObjectPathStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","CreateNewDiscussionReply",[c]));return b};SP.Utilities.Utility.markDiscussionAsFeatured=function(a,c,b){ULSdih:;if(!a)throw Error.argumentNull("context");var d=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","MarkDiscussionAsFeatured",[c,b]);a.addQuery(d)};SP.Utilities.Utility.unmarkDiscussionAsFeatured=function(a,c,b){ULSdih:;if(!a)throw Error.argumentNull("context");var d=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","UnmarkDiscussionAsFeatured",[c,b]);a.addQuery(d)};SP.Utilities.Utility.isEmailServerSet=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","IsEmailServerSet",[d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.getLocalizedString=function(a,f,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetLocalizedString",[f,d,e]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.getCurrentUserEmailAddresses=function(a){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetCurrentUserEmailAddresses",null);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.createEmailBodyForInvitation=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","CreateEmailBodyForInvitation",[d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.getPeoplePickerURL=function(a,e,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetPeoplePickerURL",[e,d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.getLowerCaseString=function(a,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetLowerCaseString",[d,e]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.getUserPermissionLevels=function(a){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","GetUserPermissionLevels",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.formatDateTime=function(a,f,d,e){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","FormatDateTime",[f,d,e]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.Utility.isUserLicensedForEntityInContext=function(a,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{16f43e7e-bf35-475d-b677-9dc61e549339}","IsUserLicensedForEntityInContext",[d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Utilities.EmailProperties=function(){ULSdih:;SP.Utilities.EmailProperties.initializeBase(this)};SP.Utilities.EmailProperties.prototype={$2D_1:null,$2U_1:null,$G_1:null,$2X_1:null,$4P_1:null,$5r_1:null,$5z_1:null,get_additionalHeaders:function(){ULSdih:;return this.$2D_1},set_additionalHeaders:function(a){ULSdih:;this.$2D_1=a;return a},get_BCC:function(){ULSdih:;return this.$2U_1},set_BCC:function(a){ULSdih:;this.$2U_1=a;return a},get_body:function(){ULSdih:;return this.$G_1},set_body:function(a){ULSdih:;this.$G_1=a;return a},get_CC:function(){ULSdih:;return this.$2X_1},set_CC:function(a){ULSdih:;this.$2X_1=a;return a},get_from:function(){ULSdih:;return this.$4P_1},set_from:function(a){ULSdih:;this.$4P_1=a;return a},get_subject:function(){ULSdih:;return this.$5r_1},set_subject:function(a){ULSdih:;this.$5r_1=a;return a},get_to:function(){ULSdih:;return this.$5z_1},set_to:function(a){ULSdih:;this.$5z_1=a;return a},get_typeId:function(){ULSdih:;return"{fab1608d-fdfb-4c8c-bb0a-9b9cc3618a15}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AdditionalHeaders","BCC","Body","CC","From","Subject","To"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AdditionalHeaders;if(!SP.ScriptUtility.isUndefined(a)){this.$2D_1=SP.DataConvert.fixupType(null,a);delete b.AdditionalHeaders}a=b.BCC;if(!SP.ScriptUtility.isUndefined(a)){this.$2U_1=SP.DataConvert.fixupType(null,a);delete b.BCC}a=b.Body;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.Body}a=b.CC;if(!SP.ScriptUtility.isUndefined(a)){this.$2X_1=SP.DataConvert.fixupType(null,a);delete b.CC}a=b.From;if(!SP.ScriptUtility.isUndefined(a)){this.$4P_1=a;delete b.From}a=b.Subject;if(!SP.ScriptUtility.isUndefined(a)){this.$5r_1=a;delete b.Subject}a=b.To;if(!SP.ScriptUtility.isUndefined(a)){this.$5z_1=SP.DataConvert.fixupType(null,a);delete b.To}}};SP.Utilities.FileHandlerWopiProperties=function(b,a){ULSdih:;SP.Utilities.FileHandlerWopiProperties.initializeBase(this,[b,a])};SP.Utilities.FileHandlerWopiProperties.prototype={get_fileGetUrl:function(){ULSdih:;this.checkUninitializedProperty("FileGetUrl");return this.get_objectData().get_properties().FileGetUrl},get_fileId:function(){ULSdih:;this.checkUninitializedProperty("FileId");return this.get_objectData().get_properties().FileId},get_filePutUrl:function(){ULSdih:;this.checkUninitializedProperty("FilePutUrl");return this.get_objectData().get_properties().FilePutUrl},get_resourceId:function(){ULSdih:;this.checkUninitializedProperty("ResourceId");return this.get_objectData().get_properties().ResourceId},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FileGetUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FileGetUrl=a;delete b.FileGetUrl}a=b.FileId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FileId=a;delete b.FileId}a=b.FilePutUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FilePutUrl=a;delete b.FilePutUrl}a=b.ResourceId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ResourceId=a;delete b.ResourceId}}};SP.Utilities.FileHandlerWopiPropertiesPropertyNames=function(){};SP.Utilities.PrincipalInfo=function(){ULSdih:;SP.Utilities.PrincipalInfo.initializeBase(this)};SP.Utilities.PrincipalInfo.prototype={$6p_1:null,$H_1:null,$5_1:null,$7D_1:null,$u_1:null,$7Q_1:null,$7a_1:0,$P_1:0,$7t_1:null,get_department:function(){ULSdih:;return this.$6p_1},get_displayName:function(){ULSdih:;return this.$H_1},get_email:function(){ULSdih:;return this.$5_1},get_jobTitle:function(){ULSdih:;return this.$7D_1},get_loginName:function(){ULSdih:;return this.$u_1},get_mobile:function(){ULSdih:;return this.$7Q_1},get_principalId:function(){ULSdih:;return this.$7a_1},get_principalType:function(){ULSdih:;return this.$P_1},get_sipAddress:function(){ULSdih:;return this.$7t_1},get_typeId:function(){ULSdih:;return"{c88e4d2e-768d-4065-9da4-d2880e08733e}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Department","DisplayName","Email","JobTitle","LoginName","Mobile","PrincipalId","PrincipalType","SIPAddress"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Department;if(!SP.ScriptUtility.isUndefined(a)){this.$6p_1=a;delete b.Department}a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.DisplayName}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Email}a=b.JobTitle;if(!SP.ScriptUtility.isUndefined(a)){this.$7D_1=a;delete b.JobTitle}a=b.LoginName;if(!SP.ScriptUtility.isUndefined(a)){this.$u_1=a;delete b.LoginName}a=b.Mobile;if(!SP.ScriptUtility.isUndefined(a)){this.$7Q_1=a;delete b.Mobile}a=b.PrincipalId;if(!SP.ScriptUtility.isUndefined(a)){this.$7a_1=a;delete b.PrincipalId}a=b.PrincipalType;if(!SP.ScriptUtility.isUndefined(a)){this.$P_1=SP.DataConvert.fixupType(null,a);delete b.PrincipalType}a=b.SIPAddress;if(!SP.ScriptUtility.isUndefined(a)){this.$7t_1=a;delete b.SIPAddress}}};SP.Utilities.WikiPageCreationInformation=function(){ULSdih:;SP.Utilities.WikiPageCreationInformation.initializeBase(this)};SP.Utilities.WikiPageCreationInformation.prototype={$Q_1:null,$6G_1:null,get_serverRelativeUrl:function(){ULSdih:;return this.$Q_1},set_serverRelativeUrl:function(a){ULSdih:;this.$Q_1=a;return a},get_wikiHtmlContent:function(){ULSdih:;return this.$6G_1},set_wikiHtmlContent:function(a){ULSdih:;this.$6G_1=a;return a},get_typeId:function(){ULSdih:;return"{9e154aab-8847-4cf9-8bfa-eb8c1ec47926}"},writeToXml:function(b,a){ULSdih:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ServerRelativeUrl","WikiHtmlContent"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){ULSdih:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ServerRelativeUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$Q_1=a;delete b.ServerRelativeUrl}a=b.WikiHtmlContent;if(!SP.ScriptUtility.isUndefined(a)){this.$6G_1=a;delete b.WikiHtmlContent}}};SP.Utilities.WopiHostUtility=function(){};SP.Utilities.WopiHostUtility.getWopiTargetPropertiesByUrl=function(a,d,c){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Utilities.WopiProperties(a,new SP.ObjectPathStaticMethod(a,"{d695593a-d289-4151-9c0f-5aa5c350e98a}","GetWopiTargetPropertiesByUrl",[d,c]));return b};SP.Utilities.WopiHostUtility.getFileHandlerWopiTargetPropertiesByUrl=function(a,c,d){ULSdih:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Utilities.FileHandlerWopiProperties(a,new SP.ObjectPathStaticMethod(a,"{d695593a-d289-4151-9c0f-5aa5c350e98a}","GetFileHandlerWopiTargetPropertiesByUrl",[c,d]));return b};SP.Utilities.WopiProperties=function(b,a){ULSdih:;SP.Utilities.WopiProperties.initializeBase(this,[b,a])};SP.Utilities.WopiProperties.prototype={get_accessToken:function(){ULSdih:;this.checkUninitializedProperty("AccessToken");return this.get_objectData().get_properties().AccessToken},get_accessTokenTtl:function(){ULSdih:;this.checkUninitializedProperty("AccessTokenTtl");return this.get_objectData().get_properties().AccessTokenTtl},get_appIconUrl:function(){ULSdih:;this.checkUninitializedProperty("AppIconUrl");return this.get_objectData().get_properties().AppIconUrl},get_errorMessageToDisplay:function(){ULSdih:;this.checkUninitializedProperty("ErrorMessageToDisplay");return this.get_objectData().get_properties().ErrorMessageToDisplay},get_redirectUrl:function(){ULSdih:;this.checkUninitializedProperty("RedirectUrl");return this.get_objectData().get_properties().RedirectUrl},get_webApplicationUrl:function(){ULSdih:;this.checkUninitializedProperty("WebApplicationUrl");return this.get_objectData().get_properties().WebApplicationUrl},initPropertiesFromJson:function(b){ULSdih:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccessToken;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AccessToken=a;delete b.AccessToken}a=b.AccessTokenTtl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AccessTokenTtl=a;delete b.AccessTokenTtl}a=b.AppIconUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AppIconUrl=a;delete b.AppIconUrl}a=b.ErrorMessageToDisplay;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ErrorMessageToDisplay=a;delete b.ErrorMessageToDisplay}a=b.RedirectUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RedirectUrl=a;delete b.RedirectUrl}a=b.WebApplicationUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebApplicationUrl=a;delete b.WebApplicationUrl}}};SP.Utilities.WopiPropertiesPropertyNames=function(){};Type.registerNamespace("SP.Application.UI");SP.Application.UI.DefaultFormsInformationRequestor=function(){};SP.Application.UI.DefaultFormsInformationRequestor.registerInterface("SP.Application.UI.DefaultFormsInformationRequestor");SP.Application.UI.ViewSelectorMenuOptions=function(){};SP.Application.UI.ViewInformationRequestor=function(){};SP.Application.UI.ViewInformationRequestor.registerInterface("SP.Application.UI.ViewInformationRequestor");SP.Application.UI.FormsInfo=function(){};SP.Application.UI.FormsInfo.prototype={ContentTypeName:null,NewFormUrl:null,DisplayFormUrl:null,EditFormUrl:null};SP.Application.UI.DefaultFormsInformation=function(){};SP.Application.UI.DefaultFormsInformation.prototype={DefaultForms:null,OtherForms:null};SP.Application.UI.DefaultFormsMenuBuilder=function(a){ULSdih:;this.$$d_$96_0=Function.createDelegate(this,this.$96_0);this.$$d_$97_0=Function.createDelegate(this,this.$97_0);this.$7_0=a};SP.Application.UI.DefaultFormsMenuBuilder.getDefaultFormsInformation=function(a,b){ULSdih:;var c=new SP.Application.UI.DefaultFormsMenuBuilder(b);c.$8P_0(a)};SP.Application.UI.DefaultFormsMenuBuilder.$6Z=function(a){ULSdih:;if(!SP.ScriptUtility.isNullOrUndefined(a))if(a.startsWith("~list/"))a=a.substr(6);else if(a.toUpperCase().startsWith("_LAYOUTS/"))a="";return a};SP.Application.UI.DefaultFormsMenuBuilder.$8m=function(d,f){ULSdih:;var a=new SP.Application.UI.DefaultFormsInformation;a.DefaultForms=new SP.Application.UI.FormsInfo;if(d.get_baseType()!==1)a.DefaultForms.NewFormUrl=d.get_defaultNewFormUrl();a.DefaultForms.DisplayFormUrl=d.get_defaultDisplayFormUrl();a.DefaultForms.EditFormUrl=d.get_defaultEditFormUrl();a.OtherForms=[];var e=f.getEnumerator();while(e.moveNext()){var c=e.get_current(),b=new SP.Application.UI.FormsInfo;b.ContentTypeName=c.get_name();b.NewFormUrl=SP.Application.UI.DefaultFormsMenuBuilder.$6Z(c.get_newFormUrl());b.DisplayFormUrl=SP.Application.UI.DefaultFormsMenuBuilder.$6Z(c.get_displayFormUrl());b.EditFormUrl=SP.Application.UI.DefaultFormsMenuBuilder.$6Z(c.get_editFormUrl());Array.add(a.OtherForms,b)}return a};SP.Application.UI.DefaultFormsMenuBuilder.prototype={$7_0:null,$U_0:null,$2h_0:null,$C_0:null,$99_0:function(){ULSdih:;var a=SP.ClientContext.get_current(),c=a.get_web();this.$U_0=c.get_lists().getById(this.$7_0);this.$U_0.retrieve("BaseType","DefaultNewFormUrl","DefaultDisplayFormUrl","DefaultEditFormUrl");this.$2h_0=this.$U_0.get_contentTypes();var b=this.$2h_0.retrieveItems();b.retrieve.call(b,"Name","DisplayFormUrl","NewFormUrl","EditFormUrl");return a},$8P_0:function(b){ULSdih:;var a=this.$99_0();this.$C_0=b;a.executeQueryAsync(this.$$d_$97_0,this.$$d_$96_0)},$97_0:function(){ULSdih:;if(!SP.ScriptUtility.isNullOrUndefined(this.$C_0)){var a=SP.Application.UI.DefaultFormsMenuBuilder.$8m(this.$U_0,this.$2h_0);this.$C_0.onDefaultFormsInformationRetrieveSuccess(a)}this.$C_0=null},$96_0:function(b,a){ULSdih:;a&&!SP.ScriptUtility.isNullOrUndefined(a.get_message());!SP.ScriptUtility.isNullOrUndefined(this.$C_0)&&this.$C_0.onDefaultFormsInformationRetrieveFailure();this.$C_0=null}};SP.Application.UI.BrowserUtility=function(){};SP.Application.UI.BrowserUtility.$8v=function(){ULSdih:;return Sys.Browser.agent===Sys.Browser.Firefox||Sys.Browser.name.toLowerCase().indexOf("firefox")!==-1};SP.Application.UI.ViewSelectorGroups=function(){};SP.Application.UI.ViewSelectorGroups.prototype={ModeratedViews:null,PublicViews:null,PersonalViews:null,OtherViews:null,DefaultView:null,ViewCreation:null};SP.Application.UI.ViewSelectorMenuItem=function(){ULSdih:;this.Sequence=Number.MAX_VALUE};SP.Application.UI.ViewSelectorMenuItem.prototype={Text:"",ActionScriptText:"",NavigateUrl:"",ImageSourceUrl:"",Description:"",Id:"",ItemType:"",GroupId:0};SP.Application.UI.ViewSelectorSubMenu=function(){};SP.Application.UI.ViewSelectorSubMenu.prototype={Text:"",ImageSourceUrl:"",SubMenuItems:null};SP.Application.UI.ServerMenus=function(){ULSdih:;this.MenuItems=[]};SP.Application.UI.ViewSelectorMenuBuilder=function(b,a){ULSdih:;this.$$d_$8i_0=Function.createDelegate(this,this.$8i_0);this.$$d_$8j_0=Function.createDelegate(this,this.$8j_0);this.$16_0=b;this.$7_0=new SP.Guid(a.listId);this.$6_0=new SP.Guid(a.viewId);this.$8A_0=a.viewParameters;this.$1e_0=a};SP.Application.UI.ViewSelectorMenuBuilder.get_filterMenuItemsCallback=function(){ULSdih:;return SP.Application.UI.ViewSelectorMenuBuilder.$1t};SP.Application.UI.ViewSelectorMenuBuilder.set_filterMenuItemsCallback=function(a){ULSdih:;SP.Application.UI.ViewSelectorMenuBuilder.$1t=a;return a};SP.Application.UI.ViewSelectorMenuBuilder.showMenu=function(a,c){ULSdih:;var b=a._menu;if(b){b.show(a,false,false,-1);return}var d=new SP.Application.UI.ViewSelectorMenuBuilder(a,c);d.$8a_0()};SP.Application.UI.ViewSelectorMenuBuilder.getViewInformation=function(a,b){ULSdih:;var c=new SP.Application.UI.ViewSelectorMenuBuilder(null,b);c.$8P_0(a)};SP.Application.UI.ViewSelectorMenuBuilder.prototype={$16_0:null,$7_0:null,$6_0:null,$1e_0:null,$8A_0:null,$C_0:null,$1S_0:false,$8M_0:function(d,e){ULSdih:;var c=SP.PageContextInfo.get_webServerRelativeUrl(),a=new SP.Utilities.UrlBuilder(c);a.combinePath("_layouts/"+15+"/vsmenu.aspx");a.addKeyValueQueryString("List",this.$7_0.toString("B"));a.addKeyValueQueryString("View",this.$6_0.toString("B"));a.addKeyValueQueryString("Source",window.location.href);var b=a.get_url();b+="&"+this.$1e_0.viewParameters;SP.PageRequest.doPost(b,"","application/json",d,e)},$8a_0:function(){ULSdih:;this.$1S_0=true;this.$8M_0(this.$$d_$8j_0,this.$$d_$8i_0)},$8P_0:function(a){ULSdih:;this.$1S_0=false;this.$C_0=a;this.$8M_0(this.$$d_$8j_0,this.$$d_$8i_0)},$8j_0:function($p0,$p1){var $v_0=new SP.Application.UI.ServerMenus;$v_0.MenuItems=eval($p1.get_executor().get_responseData());if(SP.Application.UI.ViewSelectorMenuBuilder.$1t)$v_0.MenuItems=SP.Application.UI.ViewSelectorMenuBuilder.$1t($v_0.MenuItems);if(this.$C_0){var $v_1=this.$8d_0($v_0.MenuItems);this.$C_0.onViewInformationReturned($v_1);this.$C_0=null}if(this.$16_0&&this.$1S_0){this.$8c_0(this.$16_0,$v_0.MenuItems);this.$1S_0=false}this.$16_0=null;this.$7_0=null;this.$6_0=null;this.$8A_0=null},$8c_0:function(c,d){ULSdih:;var a=c.id;if(SP.ScriptUtility.isNullOrEmptyString(a))a=SP.UI.UIUtility.generateRandomElementId();a=a+"_menu";var b=SP.UI.Menu.create(a);this.$8Y_0(b,d);this.$16_0._menu=b;b.show(this.$16_0,false,false,-1)},$8Y_0:function(g,h){ULSdih:;for(var d=null,b=false,e=SP.Application.UI.BrowserUtility.$8v(),f=0;f0){var a=SP.Application.UI.MappedColor.$19[0];b+=(a.x+this.$1G_0.x).toString()+","+(a.y+this.$1G_0.y).toString();for(var d=this.$1O_0?SP.Application.UI.MappedColor.$2A:SP.Application.UI.MappedColor.$19,c=1;c0)Array.removeAt(a,a.length-1)},$T_2:function(a){ULSltw:;Array.remove(this.get_data(),a)},itemAt:function(a){ULSltw:;return this.getItemAtIndex(a)},get_item:function(a){ULSltw:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSltw:;return String},add:function(a){ULSltw:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Add",[a]);b.addQuery(c);this.$R_2(a)},clear:function(){ULSltw:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Clear",null);a.addQuery(b);this.$S_2()},remove:function(d){ULSltw:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Remove",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);this.$T_2(d);return a}};SP.Publishing.Navigation.NavigationTerm=function(b,a){ULSltw:;SP.Publishing.Navigation.NavigationTerm.initializeBase(this,[b,a])};SP.Publishing.Navigation.NavigationTerm.getAsResolvedByWeb=function(a,e,f,d){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.NavigationTerm(a,new SP.ObjectPathStaticMethod(a,"{74b7367a-e303-43e8-891e-dac764c96e53}","GetAsResolvedByWeb",[e,f,d]));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Publishing.Navigation.NavigationTerm.getAsResolvedByView=function(a,d,e){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.NavigationTerm(a,new SP.ObjectPathStaticMethod(a,"{74b7367a-e303-43e8-891e-dac764c96e53}","GetAsResolvedByView",[d,e]));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Publishing.Navigation.NavigationTerm.prototype={get_associatedFolderUrl:function(){ULSltw:;this.checkUninitializedProperty("AssociatedFolderUrl");return this.get_objectData().get_properties().AssociatedFolderUrl},set_associatedFolderUrl:function(a){ULSltw:;this.get_objectData().get_properties().AssociatedFolderUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssociatedFolderUrl",a));return a},get_catalogTargetUrl:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().CatalogTargetUrl;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.CustomizableString(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CatalogTargetUrl"));this.get_objectData().get_clientObjectProperties().CatalogTargetUrl=a}return a},get_categoryImageUrl:function(){ULSltw:;this.checkUninitializedProperty("CategoryImageUrl");return this.get_objectData().get_properties().CategoryImageUrl},set_categoryImageUrl:function(a){ULSltw:;this.get_objectData().get_properties().CategoryImageUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CategoryImageUrl",a));return a},get_excludedProviders:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().ExcludedProviders;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.NavigationTermProviderNameCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ExcludedProviders"));this.get_objectData().get_clientObjectProperties().ExcludedProviders=a}return a},get_excludeFromCurrentNavigation:function(){ULSltw:;this.checkUninitializedProperty("ExcludeFromCurrentNavigation");return this.get_objectData().get_properties().ExcludeFromCurrentNavigation},set_excludeFromCurrentNavigation:function(a){ULSltw:;this.get_objectData().get_properties().ExcludeFromCurrentNavigation=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeFromCurrentNavigation",a));return a},get_excludeFromGlobalNavigation:function(){ULSltw:;this.checkUninitializedProperty("ExcludeFromGlobalNavigation");return this.get_objectData().get_properties().ExcludeFromGlobalNavigation},set_excludeFromGlobalNavigation:function(a){ULSltw:;this.get_objectData().get_properties().ExcludeFromGlobalNavigation=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeFromGlobalNavigation",a));return a},get_friendlyUrlSegment:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().FriendlyUrlSegment;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.CustomizableString(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"FriendlyUrlSegment"));this.get_objectData().get_clientObjectProperties().FriendlyUrlSegment=a}return a},get_hoverText:function(){ULSltw:;this.checkUninitializedProperty("HoverText");return this.get_objectData().get_properties().HoverText},set_hoverText:function(a){ULSltw:;this.get_objectData().get_properties().HoverText=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HoverText",a));return a},get_isDeprecated:function(){ULSltw:;this.checkUninitializedProperty("IsDeprecated");return this.get_objectData().get_properties().IsDeprecated},get_isPinned:function(){ULSltw:;this.checkUninitializedProperty("IsPinned");return this.get_objectData().get_properties().IsPinned},get_isPinnedRoot:function(){ULSltw:;this.checkUninitializedProperty("IsPinnedRoot");return this.get_objectData().get_properties().IsPinnedRoot},get_parent:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().Parent;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.NavigationTerm(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties().Parent=a}return a},get_simpleLinkUrl:function(){ULSltw:;this.checkUninitializedProperty("SimpleLinkUrl");return this.get_objectData().get_properties().SimpleLinkUrl},set_simpleLinkUrl:function(a){ULSltw:;this.get_objectData().get_properties().SimpleLinkUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SimpleLinkUrl",a));return a},get_targetUrl:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().TargetUrl;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.CustomizableString(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TargetUrl"));this.get_objectData().get_clientObjectProperties().TargetUrl=a}return a},get_termSet:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().TermSet;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.NavigationTermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermSet"));this.get_objectData().get_clientObjectProperties().TermSet=a}return a},initPropertiesFromJson:function(b){ULSltw:;SP.Publishing.Navigation.NavigationTermSetItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssociatedFolderUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AssociatedFolderUrl=a;delete b.AssociatedFolderUrl}a=b.CatalogTargetUrl;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CatalogTargetUrl",this.get_catalogTargetUrl(),a);this.get_catalogTargetUrl().fromJson(a);delete b.CatalogTargetUrl}a=b.CategoryImageUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CategoryImageUrl=a;delete b.CategoryImageUrl}a=b.ExcludedProviders;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ExcludedProviders",this.get_excludedProviders(),a);this.get_excludedProviders().fromJson(a);delete b.ExcludedProviders}a=b.ExcludeFromCurrentNavigation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExcludeFromCurrentNavigation=a;delete b.ExcludeFromCurrentNavigation}a=b.ExcludeFromGlobalNavigation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExcludeFromGlobalNavigation=a;delete b.ExcludeFromGlobalNavigation}a=b.FriendlyUrlSegment;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("FriendlyUrlSegment",this.get_friendlyUrlSegment(),a);this.get_friendlyUrlSegment().fromJson(a);delete b.FriendlyUrlSegment}a=b.HoverText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().HoverText=a;delete b.HoverText}a=b.IsDeprecated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsDeprecated=a;delete b.IsDeprecated}a=b.IsPinned;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsPinned=a;delete b.IsPinned}a=b.IsPinnedRoot;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsPinnedRoot=a;delete b.IsPinnedRoot}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.SimpleLinkUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SimpleLinkUrl=a;delete b.SimpleLinkUrl}a=b.TargetUrl;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TargetUrl",this.get_targetUrl(),a);this.get_targetUrl().fromJson(a);delete b.TargetUrl}a=b.TermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermSet",this.get_termSet(),a);this.get_termSet().fromJson(a);delete b.TermSet}},getAsEditable:function(d){ULSltw:;var b=this.get_context(),a;a=new SP.Publishing.Navigation.NavigationTerm(b,new SP.ObjectPathMethod(b,this.get_path(),"GetAsEditable",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getWithNewView:function(d){ULSltw:;var b=this.get_context(),a;a=new SP.Publishing.Navigation.NavigationTerm(b,new SP.ObjectPathMethod(b,this.get_path(),"GetWithNewView",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getResolvedTargetUrl:function(e,d){ULSltw:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetResolvedTargetUrl",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getResolvedTargetUrlWithoutQuery:function(){ULSltw:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetResolvedTargetUrlWithoutQuery",null);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getResolvedAssociatedFolderUrl:function(){ULSltw:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetResolvedAssociatedFolderUrl",null);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getWebRelativeFriendlyUrl:function(){ULSltw:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetWebRelativeFriendlyUrl",null);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getAllParentTerms:function(){ULSltw:;var a=this.get_context(),b;b=new SP.Publishing.Navigation.NavigationTermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllParentTerms",null));return b},getTaxonomyTerm:function(){ULSltw:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTaxonomyTerm",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},move:function(a){ULSltw:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Move",[a]);b.addQuery(c)},deleteObject:function(){ULSltw:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)}};SP.Publishing.Navigation.NavigationTermPropertyNames=function(){};SP.Publishing.Navigation.NavigationTermObjectPropertyNames=function(){};SP.Publishing.Navigation.NavigationTermCollection=function(b,a){ULSltw:;SP.Publishing.Navigation.NavigationTermCollection.initializeBase(this,[b,a])};SP.Publishing.Navigation.NavigationTermCollection.prototype={itemAt:function(a){ULSltw:;return this.getItemAtIndex(a)},get_item:function(a){ULSltw:;return this.getItemAtIndex(a)},get_childItemType:function(){ULSltw:;return SP.Publishing.Navigation.NavigationTerm}};SP.Publishing.Navigation.NavigationTermSet=function(b,a){ULSltw:;SP.Publishing.Navigation.NavigationTermSet.initializeBase(this,[b,a])};SP.Publishing.Navigation.NavigationTermSet.getAsResolvedByWeb=function(a,e,f,d){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.NavigationTermSet(a,new SP.ObjectPathStaticMethod(a,"{5ed5ae4c-8e92-4e56-af6e-d349611614d8}","GetAsResolvedByWeb",[e,f,d]));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Publishing.Navigation.NavigationTermSet.getAsResolvedByView=function(a,d,e){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.NavigationTermSet(a,new SP.ObjectPathStaticMethod(a,"{5ed5ae4c-8e92-4e56-af6e-d349611614d8}","GetAsResolvedByView",[d,e]));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Publishing.Navigation.NavigationTermSet.prototype={get_isNavigationTermSet:function(){ULSltw:;this.checkUninitializedProperty("IsNavigationTermSet");return this.get_objectData().get_properties().IsNavigationTermSet},set_isNavigationTermSet:function(a){ULSltw:;this.get_objectData().get_properties().IsNavigationTermSet=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsNavigationTermSet",a));return a},get_lcid:function(){ULSltw:;this.checkUninitializedProperty("Lcid");return this.get_objectData().get_properties().Lcid},get_loadedFromPersistedData:function(){ULSltw:;this.checkUninitializedProperty("LoadedFromPersistedData");return this.get_objectData().get_properties().LoadedFromPersistedData},get_termGroupId:function(){ULSltw:;this.checkUninitializedProperty("TermGroupId");return this.get_objectData().get_properties().TermGroupId},get_termStoreId:function(){ULSltw:;this.checkUninitializedProperty("TermStoreId");return this.get_objectData().get_properties().TermStoreId},initPropertiesFromJson:function(b){ULSltw:;SP.Publishing.Navigation.NavigationTermSetItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsNavigationTermSet;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsNavigationTermSet=a;delete b.IsNavigationTermSet}a=b.Lcid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Lcid=a;delete b.Lcid}a=b.LoadedFromPersistedData;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LoadedFromPersistedData=a;delete b.LoadedFromPersistedData}a=b.TermGroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TermGroupId=a;delete b.TermGroupId}a=b.TermStoreId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TermStoreId=a;delete b.TermStoreId}},getAsEditable:function(d){ULSltw:;var b=this.get_context(),a;a=new SP.Publishing.Navigation.NavigationTermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"GetAsEditable",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getWithNewView:function(d){ULSltw:;var b=this.get_context(),a;a=new SP.Publishing.Navigation.NavigationTermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"GetWithNewView",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getTaxonomyTermSet:function(){ULSltw:;var b=this.get_context(),a;a=new SP.Taxonomy.TermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTaxonomyTermSet",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getAllTerms:function(){ULSltw:;var a=this.get_context(),b;b=new SP.Publishing.Navigation.NavigationTermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllTerms",null));return b},findTermForUrl:function(d){ULSltw:;var b=this.get_context(),a;a=new SP.Publishing.Navigation.NavigationTerm(b,new SP.ObjectPathMethod(b,this.get_path(),"FindTermForUrl",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a}};SP.Publishing.Navigation.NavigationTermSetPropertyNames=function(){};SP.Publishing.Navigation.NavigationTermSetItem=function(b,a){ULSltw:;SP.Publishing.Navigation.NavigationTermSetItem.initializeBase(this,[b,a])};SP.Publishing.Navigation.NavigationTermSetItem.prototype={get_catalogTargetUrlForChildTerms:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().CatalogTargetUrlForChildTerms;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.CustomizableString(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CatalogTargetUrlForChildTerms"));this.get_objectData().get_clientObjectProperties().CatalogTargetUrlForChildTerms=a}return a},get_id:function(){ULSltw:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},get_isReadOnly:function(){ULSltw:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties().IsReadOnly},get_linkType:function(){ULSltw:;this.checkUninitializedProperty("LinkType");return this.get_objectData().get_properties().LinkType},set_linkType:function(a){ULSltw:;this.get_objectData().get_properties().LinkType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LinkType",a));return a},get_targetUrlForChildTerms:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().TargetUrlForChildTerms;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.CustomizableString(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TargetUrlForChildTerms"));this.get_objectData().get_clientObjectProperties().TargetUrlForChildTerms=a}return a},get_taxonomyName:function(){ULSltw:;this.checkUninitializedProperty("TaxonomyName");return this.get_objectData().get_properties().TaxonomyName},get_terms:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().Terms;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.NavigationTermCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Terms"));this.get_objectData().get_clientObjectProperties().Terms=a}return a},get_title:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().Title;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.CustomizableString(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Title"));this.get_objectData().get_clientObjectProperties().Title=a}return a},get_view:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().View;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.NavigationTermSetView(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"View"));this.get_objectData().get_clientObjectProperties().View=a}return a},initPropertiesFromJson:function(b){ULSltw:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CatalogTargetUrlForChildTerms;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CatalogTargetUrlForChildTerms",this.get_catalogTargetUrlForChildTerms(),a);this.get_catalogTargetUrlForChildTerms().fromJson(a);delete b.CatalogTargetUrlForChildTerms}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsReadOnly=a;delete b.IsReadOnly}a=b.LinkType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LinkType=SP.DataConvert.fixupType(this.get_context(),a);delete b.LinkType}a=b.TargetUrlForChildTerms;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TargetUrlForChildTerms",this.get_targetUrlForChildTerms(),a);this.get_targetUrlForChildTerms().fromJson(a);delete b.TargetUrlForChildTerms}a=b.TaxonomyName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TaxonomyName=a;delete b.TaxonomyName}a=b.Terms;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Terms",this.get_terms(),a);this.get_terms().fromJson(a);delete b.Terms}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Title",this.get_title(),a);this.get_title().fromJson(a);delete b.Title}a=b.View;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("View",this.get_view(),a);this.get_view().fromJson(a);delete b.View}},getResolvedDisplayUrl:function(d){ULSltw:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetResolvedDisplayUrl",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getTaxonomyTermStore:function(){ULSltw:;var b=this.get_context(),a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTaxonomyTermStore",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},createTerm:function(e,d,f){ULSltw:;var b=this.get_context(),a;a=new SP.Publishing.Navigation.NavigationTerm(b,new SP.ObjectPathMethod(b,this.get_path(),"CreateTerm",[e,d,f]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a}};SP.Publishing.Navigation.NavigationTermSetItemPropertyNames=function(){};SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames=function(){};SP.Publishing.Navigation.NavigationTermSetView=function(a){ULSltw:;SP.Publishing.Navigation.NavigationTermSetView.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{097234e9-47da-431f-bd12-173c296b187b}",arguments)])};SP.Publishing.Navigation.NavigationTermSetView.newObject=function(a,c,b){ULSltw:;return new SP.Publishing.Navigation.NavigationTermSetView(a,new SP.ObjectPathConstructor(a,"{097234e9-47da-431f-bd12-173c296b187b}",[c,b]))};SP.Publishing.Navigation.NavigationTermSetView.createEmptyInstance=function(a){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.NavigationTermSetView(a,new SP.ObjectPathStaticMethod(a,"{097234e9-47da-431f-bd12-173c296b187b}","CreateEmptyInstance",null));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Publishing.Navigation.NavigationTermSetView.prototype={get_excludeDeprecatedTerms:function(){ULSltw:;this.checkUninitializedProperty("ExcludeDeprecatedTerms");return this.get_objectData().get_properties().ExcludeDeprecatedTerms},set_excludeDeprecatedTerms:function(a){ULSltw:;this.get_objectData().get_properties().ExcludeDeprecatedTerms=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeDeprecatedTerms",a));if(!this.get_context()){var b=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(b.get_id(),this);this.get_context().addQuery(b)}return a},get_excludeTermsByPermissions:function(){ULSltw:;this.checkUninitializedProperty("ExcludeTermsByPermissions");return this.get_objectData().get_properties().ExcludeTermsByPermissions},set_excludeTermsByPermissions:function(a){ULSltw:;this.get_objectData().get_properties().ExcludeTermsByPermissions=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeTermsByPermissions",a));if(!this.get_context()){var b=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(b.get_id(),this);this.get_context().addQuery(b)}return a},get_excludeTermsByProvider:function(){ULSltw:;this.checkUninitializedProperty("ExcludeTermsByProvider");return this.get_objectData().get_properties().ExcludeTermsByProvider},set_excludeTermsByProvider:function(a){ULSltw:;this.get_objectData().get_properties().ExcludeTermsByProvider=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeTermsByProvider",a));if(!this.get_context()){var b=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(b.get_id(),this);this.get_context().addQuery(b)}return a},get_serverRelativeSiteUrl:function(){ULSltw:;this.checkUninitializedProperty("ServerRelativeSiteUrl");return this.get_objectData().get_properties().ServerRelativeSiteUrl},get_serverRelativeWebUrl:function(){ULSltw:;this.checkUninitializedProperty("ServerRelativeWebUrl");return this.get_objectData().get_properties().ServerRelativeWebUrl},get_siteMapProviderName:function(){ULSltw:;this.checkUninitializedProperty("SiteMapProviderName");return this.get_objectData().get_properties().SiteMapProviderName},set_siteMapProviderName:function(a){ULSltw:;this.get_objectData().get_properties().SiteMapProviderName=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SiteMapProviderName",a));if(!this.get_context()){var b=new SP.ObjectIdentityQuery(this.get_path());this.get_context().addQueryIdAndResultObject(b.get_id(),this);this.get_context().addQuery(b)}return a},get_webId:function(){ULSltw:;this.checkUninitializedProperty("WebId");return this.get_objectData().get_properties().WebId},get_webTitle:function(){ULSltw:;this.checkUninitializedProperty("WebTitle");return this.get_objectData().get_properties().WebTitle},initPropertiesFromJson:function(b){ULSltw:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ExcludeDeprecatedTerms;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExcludeDeprecatedTerms=a;delete b.ExcludeDeprecatedTerms}a=b.ExcludeTermsByPermissions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExcludeTermsByPermissions=a;delete b.ExcludeTermsByPermissions}a=b.ExcludeTermsByProvider;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ExcludeTermsByProvider=a;delete b.ExcludeTermsByProvider}a=b.ServerRelativeSiteUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativeSiteUrl=a;delete b.ServerRelativeSiteUrl}a=b.ServerRelativeWebUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ServerRelativeWebUrl=a;delete b.ServerRelativeWebUrl}a=b.SiteMapProviderName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SiteMapProviderName=a;delete b.SiteMapProviderName}a=b.WebId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebId=a;delete b.WebId}a=b.WebTitle;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().WebTitle=a;delete b.WebTitle}},getCopy:function(){ULSltw:;var a=this.get_context(),b;b=new SP.Publishing.Navigation.NavigationTermSetView(a,new SP.ObjectPathMethod(a,this.get_path(),"GetCopy",null));return b}};SP.Publishing.Navigation.NavigationTermSetViewPropertyNames=function(){};SP.Publishing.Navigation.StandardNavigationSettings=function(b,a){ULSltw:;SP.Publishing.Navigation.StandardNavigationSettings.initializeBase(this,[b,a])};SP.Publishing.Navigation.StandardNavigationSettings.prototype={get_source:function(){ULSltw:;this.checkUninitializedProperty("Source");return this.get_objectData().get_properties().Source},set_source:function(a){ULSltw:;this.get_objectData().get_properties().Source=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Source",a));return a},get_termSetId:function(){ULSltw:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties().TermSetId},set_termSetId:function(a){ULSltw:;this.get_objectData().get_properties().TermSetId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TermSetId",a));return a},get_termStoreId:function(){ULSltw:;this.checkUninitializedProperty("TermStoreId");return this.get_objectData().get_properties().TermStoreId},set_termStoreId:function(a){ULSltw:;this.get_objectData().get_properties().TermStoreId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TermStoreId",a));return a},initPropertiesFromJson:function(b){ULSltw:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Source;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Source=SP.DataConvert.fixupType(this.get_context(),a);delete b.Source}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TermSetId=a;delete b.TermSetId}a=b.TermStoreId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().TermStoreId=a;delete b.TermStoreId}}};SP.Publishing.Navigation.StandardNavigationSettingsPropertyNames=function(){};SP.Publishing.Navigation.TaxonomyNavigation=function(){};SP.Publishing.Navigation.TaxonomyNavigation.getWebNavigationSettings=function(a,c){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.WebNavigationSettings(a,new SP.ObjectPathStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","GetWebNavigationSettings",[c]));return b};SP.Publishing.Navigation.TaxonomyNavigation.getTermSetForWeb=function(a,f,e,d){ULSltw:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Publishing.Navigation.NavigationTermSet(a,new SP.ObjectPathStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","GetTermSetForWeb",[f,e,d]));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Publishing.Navigation.TaxonomyNavigation.setCrawlAsFriendlyUrlPage=function(a,e,d){ULSltw:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","SetCrawlAsFriendlyUrlPage",[e,d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Publishing.Navigation.TaxonomyNavigation.getNavigationLcidForWeb=function(a,d){ULSltw:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","GetNavigationLcidForWeb",[d]);a.addQuery(c);b=new SP.IntResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Publishing.Navigation.TaxonomyNavigation.flushSiteFromCache=function(a,c){ULSltw:;if(!a)throw Error.argumentNull("context");var b=new SP.ClientActionInvokeStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","FlushSiteFromCache",[c]);a.addQuery(b)};SP.Publishing.Navigation.TaxonomyNavigation.flushWebFromCache=function(a,c){ULSltw:;if(!a)throw Error.argumentNull("context");var b=new SP.ClientActionInvokeStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","FlushWebFromCache",[c]);a.addQuery(b)};SP.Publishing.Navigation.TaxonomyNavigation.flushTermSetFromCache=function(a,b,c,d){ULSltw:;if(!a)throw Error.argumentNull("context");var e=new SP.ClientActionInvokeStaticMethod(a,"{f3724139-55ed-4c05-8576-2c3830831c10}","FlushTermSetFromCache",[b,c,d]);a.addQuery(e)};SP.Publishing.Navigation.WebNavigationSettings=function(a){ULSltw:;SP.Publishing.Navigation.WebNavigationSettings.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{00ac02aa-86e2-4d48-aa73-341ed7962374}",arguments)])};SP.Publishing.Navigation.WebNavigationSettings.newObject=function(a,b){ULSltw:;return new SP.Publishing.Navigation.WebNavigationSettings(a,new SP.ObjectPathConstructor(a,"{00ac02aa-86e2-4d48-aa73-341ed7962374}",[b]))};SP.Publishing.Navigation.WebNavigationSettings.prototype={get_addNewPagesToNavigation:function(){ULSltw:;this.checkUninitializedProperty("AddNewPagesToNavigation");return this.get_objectData().get_properties().AddNewPagesToNavigation},set_addNewPagesToNavigation:function(a){ULSltw:;this.get_objectData().get_properties().AddNewPagesToNavigation=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AddNewPagesToNavigation",a));return a},get_createFriendlyUrlsForNewPages:function(){ULSltw:;this.checkUninitializedProperty("CreateFriendlyUrlsForNewPages");return this.get_objectData().get_properties().CreateFriendlyUrlsForNewPages},set_createFriendlyUrlsForNewPages:function(a){ULSltw:;this.get_objectData().get_properties().CreateFriendlyUrlsForNewPages=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CreateFriendlyUrlsForNewPages",a));return a},get_currentNavigation:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().CurrentNavigation;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.StandardNavigationSettings(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CurrentNavigation"));this.get_objectData().get_clientObjectProperties().CurrentNavigation=a}return a},get_globalNavigation:function(){ULSltw:;var a=this.get_objectData().get_clientObjectProperties().GlobalNavigation;if(SP.ScriptUtility.isUndefined(a)){a=new SP.Publishing.Navigation.StandardNavigationSettings(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"GlobalNavigation"));this.get_objectData().get_clientObjectProperties().GlobalNavigation=a}return a},initPropertiesFromJson:function(b){ULSltw:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AddNewPagesToNavigation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AddNewPagesToNavigation=a;delete b.AddNewPagesToNavigation}a=b.CreateFriendlyUrlsForNewPages;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CreateFriendlyUrlsForNewPages=a;delete b.CreateFriendlyUrlsForNewPages}a=b.CurrentNavigation;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CurrentNavigation",this.get_currentNavigation(),a);this.get_currentNavigation().fromJson(a);delete b.CurrentNavigation}a=b.GlobalNavigation;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("GlobalNavigation",this.get_globalNavigation(),a);this.get_globalNavigation().fromJson(a);delete b.GlobalNavigation}},update:function(a){ULSltw:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Update",[a]);b.addQuery(c)},resetToDefaults:function(){ULSltw:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"ResetToDefaults",null);a.addQuery(b)}};SP.Publishing.Navigation.WebNavigationSettingsPropertyNames=function(){};SP.Publishing.Navigation.WebNavigationSettingsObjectPropertyNames=function(){};SP.Publishing.AcronymInformation.registerClass("SP.Publishing.AcronymInformation",SP.ClientValueObject);SP.Publishing.AddinPlugin.registerClass("SP.Publishing.AddinPlugin",SP.ClientObject);SP.Publishing.AddinPluginPropertyNames.registerClass("SP.Publishing.AddinPluginPropertyNames");SP.Publishing.AddinSettings.registerClass("SP.Publishing.AddinSettings",SP.ClientObject);SP.Publishing.AddinSettingsPropertyNames.registerClass("SP.Publishing.AddinSettingsPropertyNames");SP.Publishing.CustomizableString.registerClass("SP.Publishing.CustomizableString",SP.ClientObject);SP.Publishing.CustomizableStringPropertyNames.registerClass("SP.Publishing.CustomizableStringPropertyNames");SP.Publishing.DesignPackage.registerClass("SP.Publishing.DesignPackage");SP.Publishing.DesignPackageInfo.registerClass("SP.Publishing.DesignPackageInfo",SP.ClientValueObject);SP.Publishing.EnumerateOnlyVideoCollection.registerClass("SP.Publishing.EnumerateOnlyVideoCollection",SP.ClientObjectCollection);SP.Publishing.ImageRendition.registerClass("SP.Publishing.ImageRendition",SP.ClientValueObject);SP.Publishing.PageLayoutCreationInformation.registerClass("SP.Publishing.PageLayoutCreationInformation",SP.ClientValueObject);SP.Publishing.ScheduledItem.registerClass("SP.Publishing.ScheduledItem",SP.ClientObject);SP.Publishing.PublishingPage.registerClass("SP.Publishing.PublishingPage",SP.Publishing.ScheduledItem);SP.Publishing.PublishingPageInformation.registerClass("SP.Publishing.PublishingPageInformation",SP.ClientValueObject);SP.Publishing.PublishingSite.registerClass("SP.Publishing.PublishingSite",SP.ClientObject);SP.Publishing.PublishingWeb.registerClass("SP.Publishing.PublishingWeb",SP.ClientObject);SP.Publishing.PublishingWebObjectPropertyNames.registerClass("SP.Publishing.PublishingWebObjectPropertyNames");SP.Publishing.ScheduledItemPropertyNames.registerClass("SP.Publishing.ScheduledItemPropertyNames");SP.Publishing.ScheduledItemObjectPropertyNames.registerClass("SP.Publishing.ScheduledItemObjectPropertyNames");SP.Publishing.Search.registerClass("SP.Publishing.Search",SP.ClientObject);SP.Publishing.SearchPropertyNames.registerClass("SP.Publishing.SearchPropertyNames");SP.Publishing.SiteImageRenditions.registerClass("SP.Publishing.SiteImageRenditions");SP.Publishing.SitePageFieldsData.registerClass("SP.Publishing.SitePageFieldsData",SP.ClientValueObject);SP.Publishing.SiteServicesAddins.registerClass("SP.Publishing.SiteServicesAddins");SP.Publishing.SpotlightChannel.registerClass("SP.Publishing.SpotlightChannel",SP.ClientObject);SP.Publishing.SpotlightChannelPropertyNames.registerClass("SP.Publishing.SpotlightChannelPropertyNames");SP.Publishing.SpotlightChannelObjectPropertyNames.registerClass("SP.Publishing.SpotlightChannelObjectPropertyNames");SP.Publishing.SpotlightChannelCollection.registerClass("SP.Publishing.SpotlightChannelCollection",SP.ClientObjectCollection);SP.Publishing.SpotlightVideo.registerClass("SP.Publishing.SpotlightVideo",SP.ClientObject);SP.Publishing.SpotlightVideoPropertyNames.registerClass("SP.Publishing.SpotlightVideoPropertyNames");SP.Publishing.SpotlightVideoObjectPropertyNames.registerClass("SP.Publishing.SpotlightVideoObjectPropertyNames");SP.Publishing.SpotlightVideoCollection.registerClass("SP.Publishing.SpotlightVideoCollection",SP.ClientObjectCollection);SP.Publishing.SubtitleCollection.registerClass("SP.Publishing.SubtitleCollection",SP.ClientObjectCollection);SP.Publishing.SubtitleFile.registerClass("SP.Publishing.SubtitleFile",SP.ClientObject);SP.Publishing.SubtitleFilePropertyNames.registerClass("SP.Publishing.SubtitleFilePropertyNames");SP.Publishing.TextValueWithLanguage.registerClass("SP.Publishing.TextValueWithLanguage",SP.ClientValueObject);SP.Publishing.VariationLabel.registerClass("SP.Publishing.VariationLabel",SP.ClientObject);SP.Publishing.VariationLabelPropertyNames.registerClass("SP.Publishing.VariationLabelPropertyNames");SP.Publishing.Variations.registerClass("SP.Publishing.Variations",SP.ClientObject);SP.Publishing.VideoChannel.registerClass("SP.Publishing.VideoChannel",SP.ClientObject);SP.Publishing.VideoChannelPropertyNames.registerClass("SP.Publishing.VideoChannelPropertyNames");SP.Publishing.VideoChannelObjectPropertyNames.registerClass("SP.Publishing.VideoChannelObjectPropertyNames");SP.Publishing.VideoChannelCollection.registerClass("SP.Publishing.VideoChannelCollection",SP.ClientObjectCollection);SP.Publishing.VideoCollection.registerClass("SP.Publishing.VideoCollection",SP.ClientObjectCollection);SP.Publishing.VideoItem.registerClass("SP.Publishing.VideoItem",SP.ClientObject);SP.Publishing.VideoItemPropertyNames.registerClass("SP.Publishing.VideoItemPropertyNames");SP.Publishing.VideoItemObjectPropertyNames.registerClass("SP.Publishing.VideoItemObjectPropertyNames");SP.Publishing.VideoPermissionGroup.registerClass("SP.Publishing.VideoPermissionGroup",SP.ClientObject);SP.Publishing.VideoPermissionGroupPropertyNames.registerClass("SP.Publishing.VideoPermissionGroupPropertyNames");SP.Publishing.VideoPermissionGroupObjectPropertyNames.registerClass("SP.Publishing.VideoPermissionGroupObjectPropertyNames");SP.Publishing.VideoPlaybackMetadata.registerClass("SP.Publishing.VideoPlaybackMetadata",SP.ClientObject);SP.Publishing.VideoPlaybackMetadataPropertyNames.registerClass("SP.Publishing.VideoPlaybackMetadataPropertyNames");SP.Publishing.VideoThumbnail.registerClass("SP.Publishing.VideoThumbnail",SP.ClientObject);SP.Publishing.VideoThumbnailPropertyNames.registerClass("SP.Publishing.VideoThumbnailPropertyNames");SP.Publishing.VideoThumbnailCollection.registerClass("SP.Publishing.VideoThumbnailCollection",SP.ClientObjectCollection);SP.Publishing.Navigation.NavigationTermProviderNameCollection.registerClass("SP.Publishing.Navigation.NavigationTermProviderNameCollection",SP.ClientObjectCollection);SP.Publishing.Navigation.NavigationTermSetItem.registerClass("SP.Publishing.Navigation.NavigationTermSetItem",SP.ClientObject);SP.Publishing.Navigation.NavigationTerm.registerClass("SP.Publishing.Navigation.NavigationTerm",SP.Publishing.Navigation.NavigationTermSetItem);SP.Publishing.Navigation.NavigationTermPropertyNames.registerClass("SP.Publishing.Navigation.NavigationTermPropertyNames");SP.Publishing.Navigation.NavigationTermObjectPropertyNames.registerClass("SP.Publishing.Navigation.NavigationTermObjectPropertyNames");SP.Publishing.Navigation.NavigationTermCollection.registerClass("SP.Publishing.Navigation.NavigationTermCollection",SP.ClientObjectCollection);SP.Publishing.Navigation.NavigationTermSet.registerClass("SP.Publishing.Navigation.NavigationTermSet",SP.Publishing.Navigation.NavigationTermSetItem);SP.Publishing.Navigation.NavigationTermSetPropertyNames.registerClass("SP.Publishing.Navigation.NavigationTermSetPropertyNames");SP.Publishing.Navigation.NavigationTermSetItemPropertyNames.registerClass("SP.Publishing.Navigation.NavigationTermSetItemPropertyNames");SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames.registerClass("SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames");SP.Publishing.Navigation.NavigationTermSetView.registerClass("SP.Publishing.Navigation.NavigationTermSetView",SP.ClientObject);SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.registerClass("SP.Publishing.Navigation.NavigationTermSetViewPropertyNames");SP.Publishing.Navigation.StandardNavigationSettings.registerClass("SP.Publishing.Navigation.StandardNavigationSettings",SP.ClientObject);SP.Publishing.Navigation.StandardNavigationSettingsPropertyNames.registerClass("SP.Publishing.Navigation.StandardNavigationSettingsPropertyNames");SP.Publishing.Navigation.TaxonomyNavigation.registerClass("SP.Publishing.Navigation.TaxonomyNavigation");SP.Publishing.Navigation.WebNavigationSettings.registerClass("SP.Publishing.Navigation.WebNavigationSettings",SP.ClientObject);SP.Publishing.Navigation.WebNavigationSettingsPropertyNames.registerClass("SP.Publishing.Navigation.WebNavigationSettingsPropertyNames");SP.Publishing.Navigation.WebNavigationSettingsObjectPropertyNames.registerClass("SP.Publishing.Navigation.WebNavigationSettingsObjectPropertyNames");SP.Publishing.AddinPluginPropertyNames.description="Description";SP.Publishing.AddinPluginPropertyNames.markup="Markup";SP.Publishing.AddinPluginPropertyNames.title="Title";SP.Publishing.AddinSettingsPropertyNames.description="Description";SP.Publishing.AddinSettingsPropertyNames.enabled="Enabled";SP.Publishing.AddinSettingsPropertyNames.headScript="HeadScript";SP.Publishing.AddinSettingsPropertyNames.htmlEndBody="HtmlEndBody";SP.Publishing.AddinSettingsPropertyNames.htmlStartBody="HtmlStartBody";SP.Publishing.AddinSettingsPropertyNames.id="Id";SP.Publishing.AddinSettingsPropertyNames.metaTagPagePropertyMappings="MetaTagPagePropertyMappings";SP.Publishing.AddinSettingsPropertyNames.namespace="Namespace";SP.Publishing.AddinSettingsPropertyNames.title="Title";SP.Publishing.CustomizableStringPropertyNames.defaultValue="DefaultValue";SP.Publishing.CustomizableStringPropertyNames.usesDefaultValue="UsesDefaultValue";SP.Publishing.CustomizableStringPropertyNames.value="Value";SP.Publishing.PublishingWebObjectPropertyNames.web="Web";SP.Publishing.ScheduledItemPropertyNames.endDate="EndDate";SP.Publishing.ScheduledItemPropertyNames.startDate="StartDate";SP.Publishing.ScheduledItemObjectPropertyNames.listItem="ListItem";SP.Publishing.SearchPropertyNames.queryLanguages="QueryLanguages";SP.Publishing.SpotlightChannelPropertyNames.channelId="ChannelId";SP.Publishing.SpotlightChannelPropertyNames.id="Id";SP.Publishing.SpotlightChannelPropertyNames.tileHtmlColor="TileHtmlColor";SP.Publishing.SpotlightChannelPropertyNames.title="Title";SP.Publishing.SpotlightChannelPropertyNames.videoLibraryServerRelativeUrl="VideoLibraryServerRelativeUrl";SP.Publishing.SpotlightChannelObjectPropertyNames.channel="Channel";SP.Publishing.SpotlightVideoPropertyNames.id="Id";SP.Publishing.SpotlightVideoPropertyNames.serverRelativeUrl="ServerRelativeUrl";SP.Publishing.SpotlightVideoPropertyNames.url="Url";SP.Publishing.SpotlightVideoObjectPropertyNames.video="Video";SP.Publishing.SubtitleFilePropertyNames.language="Language";SP.Publishing.SubtitleFilePropertyNames.nativeLanguageName="NativeLanguageName";SP.Publishing.SubtitleFilePropertyNames.url="Url";SP.Publishing.VariationLabelPropertyNames.displayName="DisplayName";SP.Publishing.VariationLabelPropertyNames.isSource="IsSource";SP.Publishing.VariationLabelPropertyNames.language="Language";SP.Publishing.VariationLabelPropertyNames.locale="Locale";SP.Publishing.VariationLabelPropertyNames.title="Title";SP.Publishing.VariationLabelPropertyNames.topWebUrl="TopWebUrl";SP.Publishing.VideoChannelPropertyNames.canAdministrateByCurrent="CanAdministrateByCurrent";SP.Publishing.VideoChannelPropertyNames.canEditByCurrent="CanEditByCurrent";SP.Publishing.VideoChannelPropertyNames.canViewByCurrent="CanViewByCurrent";SP.Publishing.VideoChannelPropertyNames.channelPageUrl="ChannelPageUrl";SP.Publishing.VideoChannelPropertyNames.description="Description";SP.Publishing.VideoChannelPropertyNames.downloadUrlVisibleMinPermission="DownloadUrlVisibleMinPermission";SP.Publishing.VideoChannelPropertyNames.fullUrl="FullUrl";SP.Publishing.VideoChannelPropertyNames.id="Id";SP.Publishing.VideoChannelPropertyNames.serverRelativeUrl="ServerRelativeUrl";SP.Publishing.VideoChannelPropertyNames.shareByEmailEnabled="ShareByEmailEnabled";SP.Publishing.VideoChannelPropertyNames.tileHtmlColor="TileHtmlColor";SP.Publishing.VideoChannelPropertyNames.title="Title";SP.Publishing.VideoChannelPropertyNames.yammerDefaultGroupId="YammerDefaultGroupId";SP.Publishing.VideoChannelPropertyNames.yammerEnabled="YammerEnabled";SP.Publishing.VideoChannelObjectPropertyNames.search="Search";SP.Publishing.VideoChannelObjectPropertyNames.spotlightVideos="SpotlightVideos";SP.Publishing.VideoChannelObjectPropertyNames.videos="Videos";SP.Publishing.VideoItemPropertyNames.channelID="ChannelID";SP.Publishing.VideoItemPropertyNames.createdDate="CreatedDate";SP.Publishing.VideoItemPropertyNames.defaultEmbedCode="DefaultEmbedCode";SP.Publishing.VideoItemPropertyNames.description="Description";SP.Publishing.VideoItemPropertyNames.displayFormUrl="DisplayFormUrl";SP.Publishing.VideoItemPropertyNames.fileName="FileName";SP.Publishing.VideoItemPropertyNames.ownerName="OwnerName";SP.Publishing.VideoItemPropertyNames.playerPageUrl="PlayerPageUrl";SP.Publishing.VideoItemPropertyNames.serverRelativeUrl="ServerRelativeUrl";SP.Publishing.VideoItemPropertyNames.thumbnailSelection="ThumbnailSelection";SP.Publishing.VideoItemPropertyNames.thumbnailUrl="ThumbnailUrl";SP.Publishing.VideoItemPropertyNames.title="Title";SP.Publishing.VideoItemPropertyNames.id="ID";SP.Publishing.VideoItemPropertyNames.url="Url";SP.Publishing.VideoItemPropertyNames.videoDownloadUrl="VideoDownloadUrl";SP.Publishing.VideoItemPropertyNames.videoDurationInSeconds="VideoDurationInSeconds";SP.Publishing.VideoItemPropertyNames.videoProcessingStatus="VideoProcessingStatus";SP.Publishing.VideoItemPropertyNames.viewCount="ViewCount";SP.Publishing.VideoItemPropertyNames.yammerObjectUrl="YammerObjectUrl";SP.Publishing.VideoItemObjectPropertyNames.author="Author";SP.Publishing.VideoItemObjectPropertyNames.owner="Owner";SP.Publishing.VideoItemObjectPropertyNames.peopleInMedia="PeopleInMedia";SP.Publishing.VideoPermissionGroupPropertyNames.id="Id";SP.Publishing.VideoPermissionGroupObjectPropertyNames.users="Users";SP.Publishing.VideoPlaybackMetadataPropertyNames.hlsUrl="HLSUrl";SP.Publishing.VideoPlaybackMetadataPropertyNames.sdnPlaybackMetadata="SdnPlaybackMetadata";SP.Publishing.VideoPlaybackMetadataPropertyNames.streamingUrl="StreamingUrl";SP.Publishing.VideoPlaybackMetadataPropertyNames.token="Token";SP.Publishing.VideoThumbnailPropertyNames.choice="Choice";SP.Publishing.VideoThumbnailPropertyNames.isSelected="IsSelected";SP.Publishing.VideoThumbnailPropertyNames.url="Url";SP.Publishing.Navigation.NavigationTermPropertyNames.associatedFolderUrl="AssociatedFolderUrl";SP.Publishing.Navigation.NavigationTermPropertyNames.categoryImageUrl="CategoryImageUrl";SP.Publishing.Navigation.NavigationTermPropertyNames.excludeFromCurrentNavigation="ExcludeFromCurrentNavigation";SP.Publishing.Navigation.NavigationTermPropertyNames.excludeFromGlobalNavigation="ExcludeFromGlobalNavigation";SP.Publishing.Navigation.NavigationTermPropertyNames.hoverText="HoverText";SP.Publishing.Navigation.NavigationTermPropertyNames.isDeprecated="IsDeprecated";SP.Publishing.Navigation.NavigationTermPropertyNames.isPinned="IsPinned";SP.Publishing.Navigation.NavigationTermPropertyNames.isPinnedRoot="IsPinnedRoot";SP.Publishing.Navigation.NavigationTermPropertyNames.simpleLinkUrl="SimpleLinkUrl";SP.Publishing.Navigation.NavigationTermObjectPropertyNames.catalogTargetUrl="CatalogTargetUrl";SP.Publishing.Navigation.NavigationTermObjectPropertyNames.excludedProviders="ExcludedProviders";SP.Publishing.Navigation.NavigationTermObjectPropertyNames.friendlyUrlSegment="FriendlyUrlSegment";SP.Publishing.Navigation.NavigationTermObjectPropertyNames.parent="Parent";SP.Publishing.Navigation.NavigationTermObjectPropertyNames.targetUrl="TargetUrl";SP.Publishing.Navigation.NavigationTermObjectPropertyNames.termSet="TermSet";SP.Publishing.Navigation.NavigationTermSetPropertyNames.isNavigationTermSet="IsNavigationTermSet";SP.Publishing.Navigation.NavigationTermSetPropertyNames.lcid="Lcid";SP.Publishing.Navigation.NavigationTermSetPropertyNames.loadedFromPersistedData="LoadedFromPersistedData";SP.Publishing.Navigation.NavigationTermSetPropertyNames.termGroupId="TermGroupId";SP.Publishing.Navigation.NavigationTermSetPropertyNames.termStoreId="TermStoreId";SP.Publishing.Navigation.NavigationTermSetItemPropertyNames.id="Id";SP.Publishing.Navigation.NavigationTermSetItemPropertyNames.isReadOnly="IsReadOnly";SP.Publishing.Navigation.NavigationTermSetItemPropertyNames.linkType="LinkType";SP.Publishing.Navigation.NavigationTermSetItemPropertyNames.taxonomyName="TaxonomyName";SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames.catalogTargetUrlForChildTerms="CatalogTargetUrlForChildTerms";SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames.targetUrlForChildTerms="TargetUrlForChildTerms";SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames.terms="Terms";SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames.title="Title";SP.Publishing.Navigation.NavigationTermSetItemObjectPropertyNames.view="View";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.excludeDeprecatedTerms="ExcludeDeprecatedTerms";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.excludeTermsByPermissions="ExcludeTermsByPermissions";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.excludeTermsByProvider="ExcludeTermsByProvider";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.serverRelativeSiteUrl="ServerRelativeSiteUrl";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.serverRelativeWebUrl="ServerRelativeWebUrl";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.siteMapProviderName="SiteMapProviderName";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.webId="WebId";SP.Publishing.Navigation.NavigationTermSetViewPropertyNames.webTitle="WebTitle";SP.Publishing.Navigation.StandardNavigationSettingsPropertyNames.source="Source";SP.Publishing.Navigation.StandardNavigationSettingsPropertyNames.termSetId="TermSetId";SP.Publishing.Navigation.StandardNavigationSettingsPropertyNames.termStoreId="TermStoreId";SP.Publishing.Navigation.WebNavigationSettingsPropertyNames.addNewPagesToNavigation="AddNewPagesToNavigation";SP.Publishing.Navigation.WebNavigationSettingsPropertyNames.createFriendlyUrlsForNewPages="CreateFriendlyUrlsForNewPages";SP.Publishing.Navigation.WebNavigationSettingsObjectPropertyNames.currentNavigation="CurrentNavigation";SP.Publishing.Navigation.WebNavigationSettingsObjectPropertyNames.globalNavigation="GlobalNavigation";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("SP.Publishing.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.requestexecutor.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.requestexecutor.js deleted file mode 100644 index 8c3a023a7..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.requestexecutor.js +++ /dev/null @@ -1,2 +0,0 @@ -function ULSgsX(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.RequestExecutor.js";return o;} -if("undefined"==typeof g_all_modules)g_all_modules={};g_all_modules["sp.requestexecutor.js"]={version:{rmj:16,rmm:0,rup:5813,rpr:1200}};typeof spWriteProfilerMark=="function"&&spWriteProfilerMark("perfMarkBegin_sp.requestexecutor.js");if(window.Type&&window.Type.registerNamespace)Type.registerNamespace("SP");else if(typeof window.SP=="undefined"){window.SP={};window.SP.__namespace=true}SP.PostMessageRequestInfo=function(){};SP.PostMessageResponseInfo=function(){};SP.RequestInfo=function(){};SP.AppWebProxyRequestInfo=function(){};SP.ResponseInfo=function(){};SP.RequestExecutorOptions=function(){};SP.RequestExecutorMessageProcessorFormDigestInfo=function(){};SP.RequestExecutorMessageProcessorInitInfo=function(){};SP.PostMessageCommands=function(){};SP.ProxyWebRequestExecutorInternal=function(){};SP.ProxyWebRequestExecutorInternal.processSuccessCallback=function(b,a){ULSgsX:;b.$1W_1(a)};SP.ProxyWebRequestExecutorInternal.processErrorCallback=function(d,b,c,a){ULSgsX:;d.$1V_1(b,c,a)};SP.ProxyWebRequestExecutor=function(a,b){ULSgsX:;SP.ProxyWebRequestExecutor.initializeBase(this);this.$A_1=a;this.$7_1=b};SP.ProxyWebRequestExecutor.prototype={$A_1:null,$7_1:null,$19_1:false,$1C_1:false,$1B_1:false,$8_1:null,get_aborted:function(){ULSgsX:;return this.$19_1},get_responseAvailable:function(){ULSgsX:;return!!this.$8_1&&this.$8_1.responseAvailable},get_responseData:function(){ULSgsX:;return!this.$8_1?null:this.$8_1.body},get_started:function(){ULSgsX:;return this.$1B_1},get_statusCode:function(){ULSgsX:;return!this.$8_1?0:this.$8_1.statusCode},get_statusText:function(){ULSgsX:;return!this.$8_1?null:this.$8_1.statusText},get_timedOut:function(){ULSgsX:;return this.$1C_1},get_xml:function(){ULSgsX:;return null},abort:function(){ULSgsX:;this.$19_1=true},executeRequest:function(){ULSgsX:;var b=this.get_webRequest(),f=new SP.RequestExecutor(this.$A_1,this.$7_1),a=new SP.RequestInfo;a.body=b.get_body();a.headers={};if(b.get_headers()){var d=b.get_headers();for(var e in d){var c={key:e,value:d[e]},g=b.get_headers()[c.key];if(typeof g!=="function")a.headers[c.key]=b.get_headers()[c.key]}}a.method=b.get_httpVerb();a.url=b.get_url();a.timeout=b.get_timeout();a.success=SP.RequestExecutorNative.getProxyWebRequestExecutorSuccessCallback(this);a.error=SP.RequestExecutorNative.getProxyWebRequestExecutorErrorCallback(this);this.$1B_1=true;f.executeAsync(a)},$1W_1:function(a){ULSgsX:;this.$8_1=a;this.get_webRequest().completed(Sys.EventArgs.Empty)},$1V_1:function(b,a,c){ULSgsX:;if(a===SP.RequestExecutorErrors.requestAbortedOrTimedout)this.$1C_1=true;this.$8_1=b;this._SPError_=c;this._SPErrorCode_=a;this.get_webRequest().completed(Sys.EventArgs.Empty)},getAllResponseHeaders:function(){ULSgsX:;return!this.$8_1?null:this.$8_1.allResponseHeaders},getResponseHeader:function(a){ULSgsX:;return!this.$8_1||!this.$8_1.headers?null:!a?null:this.$8_1.headers[a.toUpperCase()]}};SP.ProxyWebRequestExecutorFactory=function(c,a){ULSgsX:;var b;if(SP.RequestExecutorUtility.$0(a)){a=new SP.RequestExecutorOptions;b=null}else if(typeof a==="string"){b=a;a=new SP.RequestExecutorOptions;a.viaUrl=b}else{SP.RequestExecutor.$1e(a);b=a.viaUrl}SP.RequestExecutorUtility.$6(c,"url","string",true);SP.RequestExecutorUtility.$6(b,"viaUrl","string",false);SP.RequestExecutorUtility.$X(c,"url");var d=c.indexOf("?");if(d>=0)throw SP.RequestExecutorUtility.$J("url");this.$A_0=c;this.$7_0=a};SP.ProxyWebRequestExecutorFactory.prototype={$A_0:null,$7_0:null,createWebRequestExecutor:function(){ULSgsX:;return new SP.ProxyWebRequestExecutor(this.$A_0,this.$7_0)}};SP.RequestExecutor=function(a,b){ULSgsX:;var c;if(SP.RequestExecutorUtility.$0(b)){b=new SP.RequestExecutorOptions;c=null}else if(typeof b==="string"){c=b;b=new SP.RequestExecutorOptions;b.viaUrl=c}else{SP.RequestExecutor.$1e(b);c=b.viaUrl}SP.RequestExecutorUtility.$6(a,"url","string",true);SP.RequestExecutorUtility.$6(c,"viaUrl","string",false);if(SP.RequestExecutorUtility.$2(c)){if(SP.RequestExecutorUtility.$2(a))throw SP.RequestExecutorUtility.$J("url");var d=a.indexOf("?");if(d>=0)throw SP.RequestExecutorUtility.$J("url");d=a.indexOf("#");if(d>=0)throw SP.RequestExecutorUtility.$J("url");if(a.charAt(0)==="/")a=SP.RequestExecutor.$b(window.location.href,a);SP.RequestExecutorUtility.$X(a,"url");if(a.charCodeAt(a.length-1)==="/")a=a.substr(0,a.length-1);this.$A_0=a;if(SP.RequestExecutorInternalSharedUtility.$U(a).toLowerCase()===SP.RequestExecutorInternalSharedUtility.$U(window.location.href).toLowerCase())this.$O_0=1;else{this.$O_0=2;if(a.charAt(a.length-1)!=="/")a=a+"/";this.$1A_0=a}}else{SP.RequestExecutorUtility.$X(a,"url");this.$O_0=3;this.$A_0=a;this.$v_0=c}this.$7_0=b;this.formDigestHandlingEnabled=true;this.iFrameSourceUrl="_layouts/15/AppWebProxy.aspx"};SP.RequestExecutor.getLoginUrl=function(d,c,b){ULSgsX:;SP.RequestExecutorUtility.$X(d,"returnUrl");SP.RequestExecutorUtility.$X(c,"appWebUrl");SP.RequestExecutorUtility.$6(b,"signInWebUrl","string",false);var a=SP.RequestExecutor.$b(c,"_layouts/15/AppWebProxy.aspx");if(!SP.RequestExecutorUtility.$2(b)){a=SP.RequestExecutorUtility.$G(a);a=a+"SP.SignInWebUrl="+SP.RequestExecutorHttpUtility.$R(b,false,false)}a=SP.RequestExecutorUtility.$G(a);a=a+"SP.ReturnUrl="+SP.RequestExecutorHttpUtility.$R(d,false,false);return a};SP.RequestExecutor.$b=function(a,b){ULSgsX:;SP.RequestExecutorUtility.$X(a,"baseUrl");if(b.substr(0,8).toLowerCase()==="https://"||b.substr(0,7).toLowerCase()==="http://")return b;else if(b.charAt(0)==="/"){var c=a.indexOf("://");c=a.indexOf("/",c+3);if(c>0)a=a.substr(0,c);return a+b}else{if(a.charAt(a.length-1)!=="/")a=a+"/";return a+b}};SP.RequestExecutor.$U=function(a){ULSgsX:;SP.RequestExecutorUtility.$X(a,"url");return SP.RequestExecutorInternalSharedUtility.$U(a)};SP.RequestExecutor.$t=function(a){ULSgsX:;return SP.RequestExecutor.$l[a]?document.getElementById("SPRequestExecutor"+a):null};SP.RequestExecutor.$1h=function(c,j,k){ULSgsX:;var g="SPRequestExecutor"+c,f=document.getElementById(g);if(f&&f.parentNode){SP.RequestExecutor.$1("Remove the existing IFRAME for "+c);f.parentNode.removeChild(f)}var b;b=document.createElement("IFRAME");var a=c;if(!SP.RequestExecutorUtility.$2(j)){a=SP.RequestExecutorUtility.$G(a);a=a+"SP.SignInWebUrl="+SP.RequestExecutorHttpUtility.$R(j,false,false)}if(!SP.RequestExecutorUtility.$2(k)){a=SP.RequestExecutorUtility.$G(a);a=a+"SP.ClientTag="+SP.RequestExecutorHttpUtility.$R(k,false,false)}var d=document.URL,e=d.indexOf("?");if(e>0)d=d.substr(0,e);e=d.indexOf("#");if(e>0)d=d.substr(0,e);a=SP.RequestExecutorUtility.$G(a);a=a+"SP.AppPageUrl="+SP.RequestExecutorHttpUtility.$R(d,false,false);b.src=a;b.id=g;b.style.display="none";var h=SP.RequestExecutorNative.getIFrameOnloadCallback(c);if(b.addEventListener)b.addEventListener("load",h,false);else if(b.attachEvent)b.attachEvent("onload",h);else throw SP.RequestExecutorUtility.$10();document.body.appendChild(b);SP.RequestExecutor.$l[c]=true;SP.RequestExecutor.$1("Created IFrame "+a);var i=window.setTimeout(function(){ULSgsX:;delete SP.RequestExecutor.$B[c];SP.RequestExecutor.$1("IFrameLoadTimeout, display failure");SP.RequestExecutor.$1Z(c)},3e4);SP.RequestExecutor.$1("Create IFrameLoadTimeout "+i);SP.RequestExecutor.$B[c]=i;return b};SP.RequestExecutor.$1S=function(b,c){ULSgsX:;var a=SP.RequestExecutorUtility.$g(b);a=SP.RequestExecutorUtility.$G(a);a=a+"MS.SP.url="+encodeURIComponent(c);return a};SP.RequestExecutor.$1N=function(c,g,h,b,e){ULSgsX:;if(!SP.RequestExecutor.$d)SP.RequestExecutor.$d={};if(!SP.RequestExecutor.$k)SP.RequestExecutor.$k={};var f=new Date;if(!h||b.method.toUpperCase()==="GET"||!SP.RequestExecutorUtility.$0(SP.RequestExecutor.$d[c])&&SP.RequestExecutor.$d[c]>f.getTime())e(SP.RequestExecutor.$k[c],b);else{var a=SP.RequestExecutor.$u();a.open("POST",g);a.setRequestHeader("accept","application/json;odata=verbose");var d=0;if(b.timeout>0)d=window.setTimeout(function(){ULSgsX:;a.onreadystatechange=SP.RequestExecutorNative.emptyCallback;try{a.abort()}catch(c){}SP.RequestExecutor.$c(b,SP.RequestExecutorErrors.requestAbortedOrTimedout,SP.RequestExecutorResources.getString("RE_RequestAbortedOrTimedout"))},b.timeout);a.onreadystatechange=function(){ULSgsX:;if(a.readyState===4){d&&window.clearTimeout(d);a.onreadystatechange=SP.RequestExecutorNative.emptyCallback;if(a.status!==200||!a.getResponseHeader("content-type")||a.getResponseHeader("content-type").toLowerCase().indexOf("application/json")<0){var f=SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponseWithContentTypeAndStatus");f=SP.RequestExecutorUtility.$T(f,a.getResponseHeader("content-type"),a.status.toString());SP.RequestExecutor.$c(b,SP.RequestExecutorErrors.unexpectedResponse,f)}else{var g=JSON.parse(a.responseText);if(SP.RequestExecutorUtility.$0(g))SP.RequestExecutor.$c(b,SP.RequestExecutorErrors.unexpectedResponse,SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponse"));else{var h=g.d.GetContextWebInformation.FormDigestValue,i=g.d.GetContextWebInformation.FormDigestTimeoutSeconds,j=+new Date+i*750;SP.RequestExecutor.$k[c]=h;SP.RequestExecutor.$d[c]=j;e(h,b)}}}};a.send("")}};SP.RequestExecutor.$c=function(b,c,d){ULSgsX:;if(b.error){var a=new SP.ResponseInfo;a.state=b.state;a.body="";b.error(a,c,d)}};SP.RequestExecutor.$q=function(){ULSgsX:;var a=window.postMessage;if(SP.RequestExecutorUtility.$9(a))throw SP.RequestExecutorUtility.$10();a=window.JSON;if(SP.RequestExecutorUtility.$9(a)||SP.RequestExecutorUtility.$9(a.stringify)||SP.RequestExecutorUtility.$9(a.parse))throw SP.RequestExecutorUtility.$10();};SP.RequestExecutor.$1g=function(){ULSgsX:;var a=window.ArrayBuffer;if(SP.RequestExecutorUtility.$9(a))throw SP.RequestExecutorUtility.$12();a=window.Uint8Array;if(SP.RequestExecutorUtility.$9(a))throw SP.RequestExecutorUtility.$12();if(SP.RequestExecutorUtility.$9(window.BlobBuilder)&&SP.RequestExecutorUtility.$9(window.MozBlobBuilder)&&SP.RequestExecutorUtility.$9(window.Blob))throw SP.RequestExecutorUtility.$12();};SP.RequestExecutor.$F=function(a){ULSgsX:;SP.RequestExecutorUtility.$6(a.postMessageId,"requestInfo.postMessageId","string",true);SP.RequestExecutorUtility.$6(a.appWebProxyUrl,"requestInfo.appWebProxyUrl","string",true);var c=SP.RequestExecutor.$t(a.appWebProxyUrl);if(!c)throw SP.RequestExecutorUtility.$11();if(!SP.RequestExecutor.$4)SP.RequestExecutor.$4={};SP.RequestExecutor.$4[a.postMessageId]=a;var b=new SP.PostMessageRequestInfo;b.command=a.command;b.url=a.requestInfo.url;b.method=a.requestInfo.method;b.body=a.requestInfo.body;b.headers=a.requestInfo.headers;b.postMessageId=a.postMessageId;b.timeout=a.requestInfo.timeout;b.accessToken=a.requestInfo.$o_0;b.binaryStringRequestBody=a.requestInfo.binaryStringRequestBody;b.binaryStringResponseBody=a.requestInfo.binaryStringResponseBody;var d=JSON.stringify(b),e=a.appWebProxyUrl;SP.RequestExecutor.$1("RequestExecutor.PostMessage.Message: "+d);SP.RequestExecutor.$1("RequestExecutor.PostMessage.Target: "+e);c.contentWindow.postMessage(d,e)};SP.RequestExecutor.internalProcessIFrameOnload=function(a){ULSgsX:;SP.RequestExecutor.$1("Processing IFRAME onload event");SP.RequestExecutor.$V[a]=true;if(!SP.RequestExecutorUtility.$0(SP.RequestExecutor.$B[a])){SP.RequestExecutor.$1("Clear IFrameLoadTimeout "+SP.RequestExecutor.$B[a]);window.clearTimeout(SP.RequestExecutor.$B[a]);delete SP.RequestExecutor.$B[a]}if(!SP.RequestExecutorUtility.$0(SP.RequestExecutor.$N[a])){SP.RequestExecutor.$1("Clear IFramePingTimeout"+SP.RequestExecutor.$N[a]);window.clearTimeout(SP.RequestExecutor.$N[a]);delete SP.RequestExecutor.$N[a]}if(!SP.RequestExecutorUtility.$0(SP.RequestExecutor.$I[a]))delete SP.RequestExecutor.$I[a];SP.RequestExecutor.$1("Start to ping the IFRAME "+a);SP.RequestExecutor.$1b(a)};SP.RequestExecutor.$1b=function(b){ULSgsX:;SP.RequestExecutor.$m++;var a=new SP.AppWebProxyRequestInfo;a.command="Ping";a.postMessageId=SP.RequestExecutorInternalSharedUtility.$j+SP.RequestExecutor.$m.toString();a.appWebProxyUrl=b;var c=window.setTimeout(function(){ULSgsX:;SP.RequestExecutor.$1("Ping timeout");delete SP.RequestExecutor.$B[b];SP.RequestExecutor.$1x(a.postMessageId,b)},1e3);SP.RequestExecutor.$1("Create IFramePingTimeout "+c);a.timeoutId=c;a.requestInfo=new SP.RequestInfo;SP.RequestExecutor.$4[a.postMessageId]=a;SP.RequestExecutor.$N[b]=c;SP.RequestExecutor.$F(a)};SP.RequestExecutor.$1x=function(b,a){ULSgsX:;var c=SP.RequestExecutor.$4[b];if(SP.RequestExecutorUtility.$0(c))return;if(SP.RequestExecutor.$Q[a])return;SP.RequestExecutor.$4[b]=null;delete SP.RequestExecutor.$4[b];if(SP.RequestExecutorUtility.$0(SP.RequestExecutor.$I[a]))SP.RequestExecutor.$I[a]=1;else SP.RequestExecutor.$I[a]=SP.RequestExecutor.$I[a]+1;SP.RequestExecutor.$1("Ping timeout count = "+SP.RequestExecutor.$I[a]);if(SP.RequestExecutor.$I[a]>25){SP.RequestExecutor.$1("Ping timeout count for "+a+" exceeds threshold, display failure");SP.RequestExecutor.$1Z(a)}else{SP.RequestExecutor.$1("Send ping again for "+a);SP.RequestExecutor.$1b(a)}};SP.RequestExecutor.$1Z=function(a){ULSgsX:;var d=SP.RequestExecutor.$P[a];if(!SP.RequestExecutorUtility.$0(d)&&!d.closed)SP.RequestExecutor.$z(a);else{for(var e=false,f=SP.RequestExecutor.$E[a],b=0;b=200&&b.status<300||b.status===1223)c.success&&c.success(a);else{var e=SP.RequestExecutorErrors.httpError,f=b.statusText;c.error&&c.error(a,e,f)}}};SP.RequestExecutor.internalOnMessage=function(h){ULSgsX:;SP.RequestExecutor.$1("RequestExecutor.OnMessage");if(SP.RequestExecutorUtility.$0(h)){SP.RequestExecutor.$1("RequestExecutor.OnMessage: message is null");return}var f=h.data,g=h.origin;SP.RequestExecutor.$1("RequestExecutor.OnMessage: Message.data="+f);SP.RequestExecutor.$1("RequestExecutor.OnMessage: Message.origin="+g);if(SP.RequestExecutorUtility.$2(g)||SP.RequestExecutorUtility.$2(f))return;if(!SP.RequestExecutor.$4)return;var a=JSON.parse(f);if(SP.RequestExecutorUtility.$0(a))return;if(SP.RequestExecutorUtility.$2(a.postMessageId))return;var b=SP.RequestExecutor.$4[a.postMessageId];if(SP.RequestExecutorUtility.$0(b))return;var i=SP.RequestExecutor.$U(g),j=SP.RequestExecutor.$U(b.appWebProxyUrl);if(i.toLowerCase()!==j.toLowerCase())return;var k=a.postMessageId;delete SP.RequestExecutor.$4[k];if(!SP.RequestExecutorUtility.$0(b.timeoutId)){window.clearTimeout(b.timeoutId);b.timeoutId=0;delete b.timeoutId}if(a.command==="Ping"){var l=b.appWebProxyUrl;SP.RequestExecutor.$1w(l)}else if(a.command==="Query"){var c=new SP.ResponseInfo;c.responseAvailable=a.responseAvailable;c.body=a.responseText;c.statusCode=a.statusCode;c.statusText=a.statusText;c.contentType=a.contentType;c.state=b.requestInfo.state;c.allResponseHeaders=a.allResponseHeaders;c.headers=SP.RequestExecutor.$1X(a.allResponseHeaders);c.binaryStringResponseBody=a.binaryStringResponseBody;if(SP.RequestExecutorUtility.$0(c.body))c.body="";var d=0,e=null;if(a.errorCode){d=a.errorCode;e=a.errorMessage}else if(a.statusCode>=200&&a.statusCode<300||a.statusCode===1223){d=0;e=null}else if(!SP.RequestExecutorUtility.$17(b.requestInfo.url,b.requestInfo.method)){d=SP.RequestExecutorErrors.httpError;e=a.statusText}if(!d)b.requestInfo.success&&b.requestInfo.success(c);else b.requestInfo.error&&b.requestInfo.error(c,d,e)}};SP.RequestExecutor.get_$y=function(){ULSgsX:;return!!document.body||SP.RequestExecutor.$1H};SP.RequestExecutor.$x=function(a,b){ULSgsX:;if(!SP.RequestExecutor.$f)SP.RequestExecutor.$f=[];if(!SP.RequestExecutor.$e)SP.RequestExecutor.$e=[];SP.RequestExecutor.$1("Adding request to queue");SP.RequestExecutor.$f.push(a);SP.RequestExecutor.$e.push(b)};SP.RequestExecutor.internalProcessWindowLoad=function(){ULSgsX:;SP.RequestExecutor.$1H=true;var b=SP.RequestExecutor.$f;SP.RequestExecutor.$f=null;var c=SP.RequestExecutor.$e;SP.RequestExecutor.$e=null;if(b)for(var a=0;a0){var d=a.substr(0,c),e=a.substr(c+1);d=SP.RequestExecutorNative.trim(d);e=SP.RequestExecutorNative.trim(e);f[d.toUpperCase()]=e}}}return f};SP.RequestExecutor.$1e=function(a){ULSgsX:;if(SP.RequestExecutorUtility.$0(a))throw SP.RequestExecutorUtility.$J("options");SP.RequestExecutorUtility.$6(a.clientId,"options.clientId","string",false);SP.RequestExecutorUtility.$6(a.accessToken,"options.accessToken","string",!SP.RequestExecutorUtility.$2(a.clientId));SP.RequestExecutorUtility.$6(a.viaUrl,"options.viaUrl","string",false);SP.RequestExecutorUtility.$6(a.signInWebUrl,"options.signInWebUrl","string",false)};SP.RequestExecutor.$23=function(a){ULSgsX:;if(SP.RequestExecutorUtility.$0(a))throw SP.RequestExecutorUtility.$J("requestInfo");SP.RequestExecutorUtility.$6(a.url,"requestInfo.url","string",true);SP.RequestExecutorUtility.$6(a.body,"requestInfo.body","string",false);SP.RequestExecutorUtility.$6(a.success,"requestInfo.success","function",false);SP.RequestExecutorUtility.$6(a.error,"requestInfo.error","function",false);SP.RequestExecutorUtility.$6(a.timeout,"requestInfo.timeout","number",false);SP.RequestExecutorUtility.$6(a.method,"requestInfo.method","string",false);SP.RequestExecutorUtility.$6(a.binaryStringRequestBody,"requestInfo.BinaryRequestBody","boolean",false);SP.RequestExecutorUtility.$6(a.binaryStringResponseBody,"requestInfo.BinaryResponseBody","boolean",false);if(SP.RequestExecutorUtility.$2(a.method))a.method="GET";else a.method=a.method.toUpperCase();if(SP.RequestExecutorUtility.$0(a.timeout))a.timeout=9e4;if(a.timeout<0)throw SP.RequestExecutorUtility.$J("requestInfo.timeout");if(SP.RequestExecutorUtility.$2(a.url))throw SP.RequestExecutorUtility.$J("requestInfo.url");};SP.RequestExecutor.$1m=function(d,e){ULSgsX:;var a=d,c=a.indexOf("/_layouts");if(c>0)a=a.substr(0,c);var b=SP.RequestExecutorResources.getString(e);b=SP.RequestExecutorUtility.$T(b,a);return b};SP.RequestExecutor.internalLoginButtonHandler=function(c){ULSgsX:;var b=SP.RequestExecutorNotificationPanel.$1Q(c);if(!SP.RequestExecutorUtility.$2(b)){var d=SP.RequestExecutorNotificationPanel.$1q(b);if(SP.RequestExecutorUtility.$2(d))SP.RequestExecutor.$1v(b);else{var a=b;a=SP.RequestExecutorUtility.$G(a);a=a+"SP.ReturnUrl="+SP.RequestExecutorHttpUtility.$R(d,false,false);window.top.location.href=a}}SP.RequestExecutorNotificationPanel.$1E(c)};SP.RequestExecutor.internalCancelButtonHandler=function(a){ULSgsX:;var b=SP.RequestExecutorNotificationPanel.$1Q(a);!SP.RequestExecutorUtility.$2(b)&&SP.RequestExecutor.$1F(b,"RE_CannotAccessSiteCancelled");SP.RequestExecutorNotificationPanel.$1E(a)};SP.RequestExecutor.$1=function(b){ULSgsX:;var a=new Date;window.console&&window.console.log&&window.console.log(a.toString()+":"+b);SP.RequestExecutor.logPanelEnabled&&SP.RequestExecutor.$1u(a.toString()+":"+b);SP.RequestExecutor.logCallback&&SP.RequestExecutor.logCallback(a.toString()+":"+b)};SP.RequestExecutor.$1u=function(b){ULSgsX:;var a=document.createElement("DIV");a.innerHTML=SP.RequestExecutorUtility.$i(b);SP.RequestExecutor.$1p().appendChild(a)};SP.RequestExecutor.$1p=function(){ULSgsX:;var a=document.getElementById("SP.RequestExecutor.Log");if(!a){a=document.createElement("DIV");a.id="SP.RequestExecutor.Log";a.style.display="none";document.body.appendChild(a)}return a};SP.RequestExecutor.prototype={$A_0:null,$v_0:null,$1A_0:null,$O_0:0,$7_0:null,get_formDigestHandlingEnabled:function(){ULSgsX:;return this.formDigestHandlingEnabled},set_formDigestHandlingEnabled:function(a){ULSgsX:;this.formDigestHandlingEnabled=a;return a},get_iFrameSourceUrl:function(){ULSgsX:;return this.iFrameSourceUrl},set_iFrameSourceUrl:function(a){ULSgsX:;this.iFrameSourceUrl=a;return a},get_$p_0:function(){ULSgsX:;var a=this.get_iFrameSourceUrl();if(!SP.RequestExecutorUtility.$2(this.$7_0.clientId)){a=SP.RequestExecutorUtility.$G(a);a+="client_id";a+="=";a+=encodeURIComponent(this.$7_0.clientId)}return SP.RequestExecutor.$b(this.$1A_0,a)},executeAsync:function(a){ULSgsX:;SP.RequestExecutor.$23(a);if(SP.RequestExecutorUtility.$1T(a.url)){if(SP.RequestExecutor.$U(a.url).toLowerCase()!==SP.RequestExecutor.$U(this.$A_0).toLowerCase())throw SP.RequestExecutorUtility.$J("requestInfo.url");}else a.url=SP.RequestExecutor.$b(this.$A_0,a.url);a.$o_0=this.$7_0.accessToken;if(!SP.RequestExecutorUtility.$2(this.$7_0.clientTag)){if(!a.headers)a.headers={};var b=SP.RequestExecutorUtility.$1R(a.headers,"x-clientservice-clienttag");if(SP.RequestExecutorUtility.$0(b))a.headers["x-clientservice-clienttag"]=this.$7_0.clientTag}(a.binaryStringRequestBody||a.binaryStringResponseBody)&&SP.RequestExecutor.$1g();if(this.$O_0===2){SP.RequestExecutor.$q();this.$13_0();if(SP.RequestExecutor.get_$y())this.$14_0(this.get_$p_0(),a);else SP.RequestExecutor.$x(this,a)}else if(this.$O_0===3)this.$1i_0(a);else{SP.RequestExecutor.$q();this.$1j_0(a)}},initializeAsync:function(b,c){ULSgsX:;SP.RequestExecutor.$q();var a=new SP.RequestInfo;a.$o_0=this.$7_0.accessToken;a.headers={};a.success=b;a.error=c;if(!SP.RequestExecutorUtility.$2(this.$7_0.clientTag))a.headers["x-clientservice-clienttag"]=this.$7_0.clientTag;if(this.$O_0===2){this.$13_0();if(SP.RequestExecutor.get_$y())this.$14_0(this.get_$p_0(),a);else SP.RequestExecutor.$x(this,a)}else if(b){var d=new SP.ResponseInfo;b(d)}},attemptLogin:function(f,b,c){ULSgsX:;SP.RequestExecutorUtility.$X(f,"returnUrl");SP.RequestExecutorUtility.$6(b,"success","function",true);SP.RequestExecutorUtility.$6(c,"error","function",false);if(this.$O_0===2){SP.RequestExecutor.$q();this.$13_0();var d=this.get_$p_0();SP.RequestExecutorNotificationPanel.$1I(d,f);var a=new SP.RequestInfo;a.$r_0=true;var g=this;a.success=function(a){ULSgsX:;SP.RequestExecutorNotificationPanel.$1I(d,null);b(a)};var h=this;a.error=function(a,b,e){ULSgsX:;SP.RequestExecutorNotificationPanel.$1I(d,null);c&&c(a,b,e)};if(SP.RequestExecutor.get_$y())this.$14_0(this.get_$p_0(),a);else SP.RequestExecutor.$x(this,a)}else{var e=new SP.ResponseInfo;e.responseAvailable=true;e.body="";b(e)}},$14_0:function(b,f){ULSgsX:;SP.RequestExecutor.$m++;var a=new SP.AppWebProxyRequestInfo;a.command="Query";a.postMessageId=SP.RequestExecutorInternalSharedUtility.$j+SP.RequestExecutor.$m.toString();a.appWebProxyUrl=b;a.requestInfo=f;if(!SP.RequestExecutor.$E)SP.RequestExecutor.$E={};if(!SP.RequestExecutor.$B)SP.RequestExecutor.$B={};if(!SP.RequestExecutor.$l)SP.RequestExecutor.$l={};if(!SP.RequestExecutor.$V)SP.RequestExecutor.$V={};if(!SP.RequestExecutor.$Q)SP.RequestExecutor.$Q={};if(!SP.RequestExecutor.$N)SP.RequestExecutor.$N={};if(!SP.RequestExecutor.$I)SP.RequestExecutor.$I={};if(!SP.RequestExecutor.$a)SP.RequestExecutor.$a={};if(!SP.RequestExecutor.$4)SP.RequestExecutor.$4={};if(!SP.RequestExecutor.$P)SP.RequestExecutor.$P={};if(!SP.RequestExecutor.$H)SP.RequestExecutor.$H={};var c=SP.RequestExecutor.$E[b];if(!c){c=[];SP.RequestExecutor.$E[b]=c}SP.RequestExecutor.$4[a.postMessageId]=a;if(a.requestInfo.timeout>0){var e=SP.RequestExecutorNative.getIFrameRequestTimeoutCallback(a.postMessageId);a.timeoutId=window.setTimeout(e,a.requestInfo.timeout)}var d=SP.RequestExecutor.$t(b);if(d)if(SP.RequestExecutor.$V[b]&&SP.RequestExecutor.$Q[b])if(a.requestInfo.$r_0)SP.RequestExecutor.$1K(a);else SP.RequestExecutor.$F(a);else{SP.RequestExecutor.$1("The frame element is not loaded. Put request in queue");c.push(a)}else{SP.RequestExecutor.$1("The frame element does not exist. Put request in queue");c.push(a);d=SP.RequestExecutor.$1h(b,this.$7_0.signInWebUrl,this.$7_0.clientTag)}},$1i_0:function(c){ULSgsX:;var a=SP.RequestExecutor.$b(this.$A_0,"_api/contextinfo");a=SP.RequestExecutor.$1S(this.$v_0,a);var b=this;SP.RequestExecutor.$1N(this.$A_0,a,this.get_formDigestHandlingEnabled(),c,function(a,c){ULSgsX:;b.$1O_0(a,c)})},$1O_0:function(j,a){ULSgsX:;var b=SP.RequestExecutor.$u(),e;if(this.$O_0===3)e=SP.RequestExecutor.$1S(this.$v_0,a.url);else e=SP.RequestExecutorUtility.$g(a.url);b.open(a.method,e);var h=false;if(a.headers){var f=a.headers;for(var g in f){var d={key:g,value:f[g]};if(!SP.RequestExecutorUtility.$2(d.key)){b.setRequestHeader(d.key,d.value);if(d.key.toLowerCase()==="x-requestdigest")h=true}}}!h&&!SP.RequestExecutorUtility.$2(j)&&b.setRequestHeader("X-RequestDigest",j);a.binaryStringResponseBody&&SP.RequestExecutorInternalSharedUtility.$1d(b);var i=0;if(a.timeout>0)i=window.setTimeout(SP.RequestExecutorNative.getXMLHttpRequestTimeoutCallback(b,a),a.timeout);b.onreadystatechange=SP.RequestExecutorNative.getXMLHttpRequestOnreadystatechangeCallback(b,a,i);var c=a.body;if(a.binaryStringRequestBody)c=SP.RequestExecutorInternalSharedUtility.$1M(a.body);if(SP.RequestExecutorUtility.$0(c))c="";b.send(c)},$1j_0:function(c){ULSgsX:;var a=SP.RequestExecutor.$b(this.$A_0,"_api/contextinfo");a=SP.RequestExecutorUtility.$g(a);var b=this;SP.RequestExecutor.$1N(this.$A_0,a,this.get_formDigestHandlingEnabled(),c,function(a,c){ULSgsX:;b.$1O_0(a,c)})},$13_0:function(){ULSgsX:;if(SP.RequestExecutor.$W)return;var a=SP.RequestExecutor.internalOnMessage;if(!SP.RequestExecutorUtility.$9(window.addEventListener)){window.addEventListener("message",a,false);SP.RequestExecutor.$W=true}else if(!SP.RequestExecutorUtility.$9(window.attachEvent)){window.attachEvent("onmessage",a);SP.RequestExecutor.$W=true}else throw SP.RequestExecutorUtility.$11();}};SP.RequestExecutorXHR=function(d,a){ULSgsX:;this.$D_0=new SP.RequestInfo;this.$D_0.headers={};var b=this;this.$D_0.success=function(a){ULSgsX:;b.$1W_0(a)};var c=this;this.$D_0.error=function(a,b,d){ULSgsX:;c.$1V_0(a,b,d)};this.readyState=0;this.status=0;this.statusText="";this.response="";this.responseText="";this.timeout=0;this.$1D_0=new SP.RequestExecutor(d,a)};SP.RequestExecutorXHR.prototype={$1D_0:null,$D_0:null,$w_0:null,open:function(a,b){ULSgsX:;this.$D_0.method=a;this.$D_0.url=b},setRequestHeader:function(a,b){ULSgsX:;if(SP.RequestExecutorUtility.$0(this.$D_0.headers[a]))this.$D_0.headers[a]=b;else this.$D_0.headers[a]+=" "+b},send:function(a){ULSgsX:;this.$D_0.body=a;if(this.timeout)this.$D_0.timeout=this.timeout;this.$1D_0.executeAsync(this.$D_0);this.readyState=1;this.$1J_0()},getResponseHeader:function(a){ULSgsX:;return!this.readyState||this.readyState===1?null:this.$w_0.headers[a.toUpperCase()].toString()},getAllResponseHeaders:function(){ULSgsX:;return!this.readyState||this.readyState===1?null:this.$w_0.allResponseHeaders},$1W_0:function(a){ULSgsX:;this.$1U_0(a)},$1V_0:function(a){ULSgsX:;this.$1U_0(a)},$1J_0:function(){ULSgsX:;this.onreadystatechange&&this.onreadystatechange()},$1U_0:function(a){ULSgsX:;this.status=a.statusCode;this.statusText=a.statusText;this.response=a.body;this.responseText=a.body;this.$w_0=a;this.readyState=4;this.$1J_0()},readyState:0,timeout:0,status:0,statusText:null,response:null,responseText:null,onreadystatechange:null};SP.RequestExecutorErrors=function(){};SP.RequestExecutorExceptions=function(){};SP.RequestExecutorInternalSharedUtility=function(){};SP.RequestExecutorInternalSharedUtility.$U=function(a){ULSgsX:;var b=a.indexOf("://");b=a.indexOf("/",b+3);if(b>0)a=a.substr(0,b);if(a.substr(0,8).toLowerCase()==="https://"&&a.substr(a.length-4,4)===":443")a=a.substr(0,a.length-4);else if(a.substr(0,7).toLowerCase()==="http://"&&a.substr(a.length-3,3)===":80")a=a.substr(0,a.length-3);return a};SP.RequestExecutorInternalSharedUtility.$1r=function(a){ULSgsX:;a=SP.RequestExecutorInternalSharedUtility.$U(a);if(a.substr(0,8).toLowerCase()==="https://")a=a.substr(8);else if(a.substr(0,7).toLowerCase()==="http://")a=a.substr(7);return a};SP.RequestExecutorInternalSharedUtility.$1M=function(b){ULSgsX:;var e=null;if(typeof b=="string"){for(var d=new ArrayBuffer(b.length),f=new Uint8Array(d),c=0;c0)a=a.substr(0,b);b=a.indexOf("#");if(b>0)a=a.substr(0,b);a=a.toLowerCase();b=a.indexOf("/_layouts");if(b>0)a=a.substr(0,b);b=a.indexOf("/_vti_");if(b>0)a=a.substr(0,b);b=a.indexOf("/_api");if(b>0)a=a.substr(0,b);var c=d.substr(0,a.length);if(c.charAt(a.length-1)!=="/")c=c+"/";c+="_api/contextinfo";return c};SP.RequestExecutorMessageProcessor.init=function(a){ULSgsX:;SP.RequestExecutor.$1("RequestExecutorMessageProcessor.Init");if(!a)a=new SP.RequestExecutorMessageProcessorInitInfo;SP.RequestExecutorMessageProcessor.$C=a;if(SP.RequestExecutorUtility.$9(SP.RequestExecutorMessageProcessor.$C.formDigestHandlingEnabled))SP.RequestExecutorMessageProcessor.$C.formDigestHandlingEnabled=false;if(SP.RequestExecutorUtility.$9(SP.RequestExecutorMessageProcessor.$C.initErrorCode))SP.RequestExecutorMessageProcessor.$C.initErrorCode=0;if(SP.RequestExecutorUtility.$9(SP.RequestExecutorMessageProcessor.$C.initErrorMessage))SP.RequestExecutorMessageProcessor.$C.initErrorMessage="";if(!SP.RequestExecutorMessageProcessor.$W){var b=window.SP.RequestExecutorMessageProcessor.internalOnMessage;if(window.addEventListener){window.addEventListener("message",b,false);SP.RequestExecutorMessageProcessor.$W=true;SP.RequestExecutor.$1("RequestExecutorMessageProcessor.addEventListener")}else if(window.attachEvent){window.attachEvent("onmessage",b);SP.RequestExecutorMessageProcessor.$W=true;SP.RequestExecutor.$1("RequestExecutorMessageProcessor.attachEvent")}}};SP.RequestExecutorMessageProcessor.internalOnMessage=function(g){ULSgsX:;SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage");if(SP.RequestExecutorUtility.$0(g)){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Message is null.");return}var a=SP.RequestExecutorMessageProcessor.$C;if(!a){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Setting is null.");return}var d=g.data,c=g.origin;SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Message.data="+d);SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Message.origin="+c);if(SP.RequestExecutorUtility.$2(c)){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Message.origin is null");return}if(SP.RequestExecutorUtility.$2(d)){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Message.data is null");return}var b=JSON.parse(d);if(SP.RequestExecutorUtility.$0(b)){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Unable to parse data:"+d);return}if(SP.RequestExecutorUtility.$2(b.postMessageId)){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: There is no postMesageId property");return}if(b.postMessageId.substr(0,SP.RequestExecutorInternalSharedUtility.$j.length)!==SP.RequestExecutorInternalSharedUtility.$j){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Unknown postMessageId");return}if(SP.RequestExecutorUtility.$2(b.command)){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: command property is null");return}if(b.command==="Ping"){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Processing ping command");SP.RequestExecutorMessageProcessor.$n(b,a.initErrorCode,a.initErrorMessage,c);return}if(b.command!=="Query"){SP.RequestExecutor.$1("RequestExecutorMessageProcessor.OnMessage: Unknown command");return}if(a.initErrorCode<0){SP.RequestExecutorMessageProcessor.$n(b,a.initErrorCode,a.initErrorMessage,c);return}if((!a.trustedOriginAuthorities||!a.trustedOriginAuthorities.length)&&!a.originAuthorityValidator){SP.RequestExecutorMessageProcessor.$n(b,SP.RequestExecutorErrors.noTrustedOrigins,SP.RequestExecutorResources.getString("RE_NoTrustedOrigins"),c);return}var e=false,h=SP.RequestExecutorInternalSharedUtility.$1r(c).toLowerCase();if(a.trustedOriginAuthorities)for(var f=0;f0)window.setTimeout(function(){ULSgsX:;i.$1Y_0()},j);else i.$1Y_0()};SP.RequestExecutorMessageProcessor.$n=function(b,c,d,e){ULSgsX:;var a=new SP.PostMessageResponseInfo;a.command=b.command;a.postMessageId=b.postMessageId;a.responseAvailable=false;a.errorCode=c;a.errorMessage=d;SP.RequestExecutorMessageProcessor.$F(a,e)};SP.RequestExecutorMessageProcessor.prototype={$K_0:null,$3_0:null,$L_0:0,$5_0:null,$1Y_0:function(){ULSgsX:;if(this.$3_0.method==="GET"||!SP.RequestExecutorMessageProcessor.$C.formDigestHandlingEnabled)this.$18_0(null);else{var a=SP.RequestExecutorMessageProcessor.$1n(this.$3_0.url);if(SP.RequestExecutorUtility.$2(a))this.$1k_0();else this.$18_0(a)}},$1k_0:function(){ULSgsX:;var c=SP.RequestExecutorMessageProcessor.$16(this.$3_0.url);c=SP.RequestExecutorUtility.$g(c);var a=SP.RequestExecutor.$u();a.open("POST",c);a.setRequestHeader("ACCEPT","application/json;odata=verbose");var e=SP.RequestExecutorUtility.$1R(this.$3_0.headers,"x-clientservice-clienttag");!SP.RequestExecutorUtility.$2(e)&&a.setRequestHeader("x-clientservice-clienttag",e);SP.RequestExecutorMessageProcessor.$1c(a,this.$3_0.accessToken);if(this.$3_0.timeout>0){var d=this;this.$L_0=window.setTimeout(function(){ULSgsX:;a.onreadystatechange=SP.RequestExecutorNative.emptyCallback;a.abort();var b=new SP.PostMessageResponseInfo;b.command="Query";b.errorCode=SP.RequestExecutorErrors.requestAbortedOrTimedout;b.errorMessage=SP.RequestExecutorResources.getString("RE_RequestAbortedOrTimedout");b.postMessageId=d.$3_0.postMessageId;b.responseAvailable=false;SP.RequestExecutorMessageProcessor.$F(b,d.$K_0)},this.$3_0.timeout)}var b=this;a.onreadystatechange=function(){ULSgsX:;if(a&&a.readyState===4){if(b.$L_0){window.clearTimeout(b.$L_0);b.$L_0=0}a.onreadystatechange=SP.RequestExecutorNative.emptyCallback;b.$1l_0(a)}};a.send("")},$1l_0:function(a){ULSgsX:;if(a.status!==200){var d=this.$h_0(a);d.errorCode=SP.RequestExecutorErrors.httpError;var l=SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponseWithContentTypeAndStatus");d.errorMessage=SP.RequestExecutorUtility.$T(l,a.getResponseHeader("content-type"),a.status.toString());SP.RequestExecutorMessageProcessor.$F(d,this.$K_0);return}var i=a.getResponseHeader("content-type");if(SP.RequestExecutorUtility.$2(i)||i.toLowerCase().indexOf("json")<0){var e=this.$h_0(a);e.errorCode=SP.RequestExecutorErrors.unexpectedResponse;e.errorMessage=SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponse");SP.RequestExecutorMessageProcessor.$F(e,this.$K_0);return}var j=a.getResponseHeader("SharePointError");if(!SP.RequestExecutorUtility.$2(j)){var f=this.$h_0(a);f.errorCode=SP.RequestExecutorErrors.unexpectedResponse;f.errorMessage=SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponse");SP.RequestExecutorMessageProcessor.$F(f,this.$K_0);return}var c=JSON.parse(a.responseText);if(SP.RequestExecutorUtility.$0(c)){var g=this.$h_0(a);g.errorCode=SP.RequestExecutorErrors.unexpectedResponse;g.errorMessage=SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponse");SP.RequestExecutorMessageProcessor.$F(g,this.$K_0);return}var b=new SP.RequestExecutorMessageProcessorFormDigestInfo;try{b.digestValue=c.d.GetContextWebInformation.FormDigestValue;var m=c.d.GetContextWebInformation.FormDigestTimeoutSeconds;b.expiration=+new Date+m*750}catch(n){var h=this.$h_0(a);h.errorCode=SP.RequestExecutorErrors.unexpectedResponse;h.errorMessage=SP.RequestExecutorResources.getString("RE_RequestUnexpectedResponse");SP.RequestExecutorMessageProcessor.$F(h,this.$K_0);return}if(!SP.RequestExecutorMessageProcessor.$Z)SP.RequestExecutorMessageProcessor.$Z={};var k=SP.RequestExecutorMessageProcessor.$16(this.$3_0.url);SP.RequestExecutorMessageProcessor.$Z[k]=b;this.$18_0(b.digestValue)},$h_0:function(b){ULSgsX:;var a=new SP.PostMessageResponseInfo;a.command="Query";a.errorCode=0;a.errorMessage=null;a.postMessageId=this.$3_0.postMessageId;a.responseAvailable=true;a.statusText=b.statusText;a.statusCode=b.status;a.contentType=b.getResponseHeader("content-type");a.allResponseHeaders=b.getAllResponseHeaders();a.responseText=b.responseText;return a},$18_0:function(g){ULSgsX:;this.$5_0=SP.RequestExecutor.$u();var b=this.$3_0.url;b=SP.RequestExecutorUtility.$g(b);this.$5_0.open(this.$3_0.method,b);var f=false;if(this.$3_0.headers){var d=this.$3_0.headers;for(var e in d){var c={key:e,value:d[e]};if(c.key.toLowerCase()==="x-requestdigest")f=true;this.$5_0.setRequestHeader(c.key,c.value)}}!f&&!SP.RequestExecutorUtility.$2(g)&&this.$5_0.setRequestHeader("X-RequestDigest",g);SP.RequestExecutorMessageProcessor.$1c(this.$5_0,this.$3_0.accessToken);this.$3_0.binaryStringResponseBody&&SP.RequestExecutorInternalSharedUtility.$1d(this.$5_0);if(this.$3_0.timeout>0){var h=this;this.$L_0=window.setTimeout(function(){ULSgsX:;h.$21_0()},this.$3_0.timeout)}var i=this;this.$5_0.onreadystatechange=function(){ULSgsX:;i.$20_0()};var a;if(this.$3_0.binaryStringRequestBody)a=SP.RequestExecutorInternalSharedUtility.$1M(this.$3_0.body);else a=this.$3_0.body;if(SP.RequestExecutorUtility.$0(a))a="";this.$5_0.send(a)},$21_0:function(){ULSgsX:;if(this.$5_0){this.$5_0.onreadystatechange=SP.RequestExecutorNative.emptyCallback;this.$5_0.abort();var a=new SP.PostMessageResponseInfo;a.command="Query";a.errorCode=SP.RequestExecutorErrors.requestAbortedOrTimedout;a.errorMessage=SP.RequestExecutorResources.getString("RE_RequestAbortedOrTimedout");a.postMessageId=this.$3_0.postMessageId;a.responseAvailable=false;SP.RequestExecutorMessageProcessor.$F(a,this.$K_0)}},$20_0:function(){ULSgsX:;if(this.$5_0&&this.$5_0.readyState===4){if(this.$L_0){window.clearTimeout(this.$L_0);this.$L_0=0}this.$5_0.onreadystatechange=SP.RequestExecutorNative.emptyCallback;var a=new SP.PostMessageResponseInfo;a.command="Query";a.errorCode=0;a.errorMessage=null;a.postMessageId=this.$3_0.postMessageId;a.responseAvailable=true;a.statusText=this.$5_0.statusText;a.statusCode=this.$5_0.status;a.contentType=this.$5_0.getResponseHeader("content-type");a.allResponseHeaders=this.$5_0.getAllResponseHeaders();a.binaryStringResponseBody=this.$3_0.binaryStringResponseBody;if(this.$3_0.binaryStringResponseBody)a.responseText=SP.RequestExecutorInternalSharedUtility.$1L(this.$5_0.response);else a.responseText=this.$5_0.responseText;SP.RequestExecutorMessageProcessor.$F(a,this.$K_0)}}};SP.RequestExecutorNotificationPanel=function(){};SP.RequestExecutorNotificationPanel.$22=function(e){ULSgsX:;if(!SP.RequestExecutorNotificationPanel.$M)SP.RequestExecutorNotificationPanel.$M={};if(SP.RequestExecutorUtility.$0(SP.RequestExecutorNotificationPanel.$M[e])){SP.RequestExecutorNotificationPanel.$M[e]=SP.RequestExecutorNotificationPanel.$1G;SP.RequestExecutorNotificationPanel.$1G++}var b=SP.RequestExecutorNotificationPanel.$M[e],a=document.getElementById("SP_RequestExecutor_NotificationPanel"+b.toString());if(a)return;a=document.createElement("DIV");a.id="SP_RequestExecutor_NotificationPanel"+b.toString();a.style.position="absolute";a.style.width="420px";a.style.borderStyle="solid";a.style.borderWidth="1px";a.style.padding="5px";a.className="ms-subtleEmphasis";var f=SP.RequestExecutorNotificationPanel.$1s()+30,c=SP.RequestExecutorNotificationPanel.$1o()+SP.RequestExecutorNotificationPanel.$1t()-420-50;if(c<0)c=0;a.style.left=c.toString()+"px";a.style.top=f.toString()+"px";var g=SP.RequestExecutorUtility.$i(SP.RequestExecutorResources.getString("RE_OpenWindowMessage")),h="",i=""+SP.RequestExecutorUtility.$i(SP.RequestExecutorResources.getString("RE_DismissOpenWindowMessageLinkText"))+"",d=SP.RequestExecutorUtility.$i(SP.RequestExecutorResources.getString("RE_FixitHelpMessage"));d=SP.RequestExecutorUtility.$T(d,"","");a.innerHTML="
"+g+"
"+h+"   "+i+"
";document.body.appendChild(a);!SP.RequestExecutorNotificationPanel.$1a&&window.setTimeout(function(){ULSgsX:;SP.RequestExecutor.internalCancelButtonHandler(b)},12e4)};SP.RequestExecutorNotificationPanel.$1Q=function(d){ULSgsX:;if(SP.RequestExecutorNotificationPanel.$M){var a=SP.RequestExecutorNotificationPanel.$M;for(var b in a){var c={key:b,value:a[b]};if(c.value===d)return c.key}}return null};SP.RequestExecutorNotificationPanel.$1E=function(b){ULSgsX:;var a=document.getElementById("SP_RequestExecutor_NotificationPanel"+b.toString());a&&a.parentNode.removeChild(a)};SP.RequestExecutorNotificationPanel.$1y=function(b){ULSgsX:;if(SP.RequestExecutorNotificationPanel.$M){var a=SP.RequestExecutorNotificationPanel.$M[b];!SP.RequestExecutorUtility.$0(a)&&SP.RequestExecutorNotificationPanel.$1E(a)}};SP.RequestExecutorNotificationPanel.$1I=function(a,b){ULSgsX:;if(!SP.RequestExecutorNotificationPanel.$Y)SP.RequestExecutorNotificationPanel.$Y={};SP.RequestExecutorNotificationPanel.$Y[a]=b};SP.RequestExecutorNotificationPanel.$1q=function(a){ULSgsX:;if(!SP.RequestExecutorNotificationPanel.$Y)SP.RequestExecutorNotificationPanel.$Y={};return SP.RequestExecutorNotificationPanel.$Y[a]};SP.RequestExecutorNotificationPanel.$1t=function(){ULSgsX:;var a=window.innerWidth;if(SP.RequestExecutorUtility.$0(a))a=document.documentElement.clientWidth;if(SP.RequestExecutorUtility.$0(a))a=document.body.clientWidth;return a};SP.RequestExecutorNotificationPanel.$1o=function(){ULSgsX:;var a=window.pageXOffset;return!SP.RequestExecutorUtility.$0(a)?a:!SP.RequestExecutorUtility.$0(document.documentElement)&&!SP.RequestExecutorUtility.$0(document.documentElement.scrollLeft)?document.documentElement.scrollLeft:document.body.scrollLeft};SP.RequestExecutorNotificationPanel.$1s=function(){ULSgsX:;var a=window.pageYOffset;return!SP.RequestExecutorUtility.$0(a)?a:!SP.RequestExecutorUtility.$0(document.documentElement)&&!SP.RequestExecutorUtility.$0(document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop};SP.RequestExecutorNative=function(){};SP.RequestExecutorNative.$$cctor=function(){ULSgsX:;SP.RequestExecutorNative.emptyCallback=function(){}};SP.RequestExecutorNative.getIFrameOnloadCallback=function(a){ULSgsX:;return function(){ULSgsX:;SP.RequestExecutor.internalProcessIFrameOnload(a)}};SP.RequestExecutorNative.getXMLHttpRequestOnreadystatechangeCallback=function(a,b,c){ULSgsX:;return function(){ULSgsX:;SP.RequestExecutor.internalProcessXMLHttpRequestOnreadystatechange(a,b,c)}};SP.RequestExecutorNative.getXMLHttpRequestTimeoutCallback=function(a,b){ULSgsX:;return function(){ULSgsX:;SP.RequestExecutor.internalProcessXMLHttpRequestTimeoutCallback(a,b)}};SP.RequestExecutorNative.getIFrameRequestTimeoutCallback=function(a){ULSgsX:;return function(){ULSgsX:;SP.RequestExecutor.internalProcessIFrameRequestTimeoutCallback(a)}};SP.RequestExecutorNative.getProxyWebRequestExecutorSuccessCallback=function(a){ULSgsX:;return function(b){ULSgsX:;SP.ProxyWebRequestExecutorInternal.processSuccessCallback(a,b)}};SP.RequestExecutorNative.getProxyWebRequestExecutorErrorCallback=function(a){ULSgsX:;return function(b,c,d){ULSgsX:;SP.ProxyWebRequestExecutorInternal.processErrorCallback(a,b,c,d)}};SP.RequestExecutorNative.trim=function(a){ULSgsX:;return a.replace(new RegExp("^\\s+|\\s+$","g"),"")};SP.RequestExecutorResources=function(){};SP.RequestExecutorResources.getString=function(b){ULSgsX:;var a=null,c=b.charAt(0).toString().toLowerCase()+b.substr(1),d=b.substr(0,2).toLowerCase()+b.substr(2);if(!SP.RequestExecutorUtility.$0(SP.Res)){a=SP.Res[c];if(SP.RequestExecutorUtility.$2(a))a=SP.Res[d]}if(SP.RequestExecutorUtility.$2(a)&&!SP.RequestExecutorUtility.$0(SP.RuntimeRes))a=SP.RuntimeRes[c];if(SP.RequestExecutorUtility.$2(a))a=SP.RequestExecutorRes[c];if(SP.RequestExecutorUtility.$2(a))a=b;return a};SP.RequestExecutorUtility=function(){};SP.RequestExecutorUtility.$2=function(a){ULSgsX:;var b=null;return a===b||typeof a==="undefined"||!a.length};SP.RequestExecutorUtility.$0=function(a){ULSgsX:;var b=null;return a===b||typeof a==="undefined"};SP.RequestExecutorUtility.$9=function(a){ULSgsX:;return typeof a==="undefined"};SP.RequestExecutorUtility.$T=function(d){ULSgsX:;for(var g=[],e=1;ec){a=a+d.substr(b,c-b);var h=d.substr(c+1,f-c-1),i=parseInt(h);a=a+g[i];b=f+1}else throw SP.RequestExecutorUtility.$11();}}return a};SP.RequestExecutorUtility.$1P=function(b,c,d){ULSgsX:;var a=b.indexOf(d,c);while(a>=0&&a=0)throw SP.RequestExecutorUtility.$S(SP.RequestExecutorUtility.$T(SP.RequestExecutorResources.getString("RE_InvalidArgumentOrField"),"url"),SP.RequestExecutorExceptions.invalidArgumentOrField);b=a.indexOf("?");if(b<0)a=a+"?";else if(a.charAt(a.length-1)!=="&")a=a+"&";return a};SP.RequestExecutorUtility.$X=function(a,b){ULSgsX:;if(!SP.RequestExecutorUtility.$1T(a))throw SP.RequestExecutorUtility.$J(b);};SP.RequestExecutorUtility.$1T=function(a){ULSgsX:;return a.substr(0,8).toLowerCase()==="https://"||a.substr(0,7).toLowerCase()==="http://"};SP.RequestExecutorUtility.$6=function(a,b,c,d){ULSgsX:;if(d){if(SP.RequestExecutorUtility.$0(a)||typeof a!==c)throw SP.RequestExecutorUtility.$S(SP.RequestExecutorUtility.$T(SP.RequestExecutorResources.getString("RE_InvalidArgumentOrField"),b),SP.RequestExecutorExceptions.invalidArgumentOrField);}else if(!SP.RequestExecutorUtility.$0(a)&&typeof a!==c)throw SP.RequestExecutorUtility.$S(SP.RequestExecutorUtility.$T(SP.RequestExecutorResources.getString("RE_InvalidArgumentOrField"),b),SP.RequestExecutorExceptions.invalidArgumentOrField);};SP.RequestExecutorUtility.$S=function(b,c){ULSgsX:;var a=new Error(b);a.message=b;a.errorCode=c;return a};SP.RequestExecutorUtility.$J=function(b){ULSgsX:;var a=SP.RequestExecutorUtility.$T(SP.RequestExecutorResources.getString("RE_InvalidArgumentOrField"),b);return SP.RequestExecutorUtility.$S(a,SP.RequestExecutorExceptions.invalidArgumentOrField)};SP.RequestExecutorUtility.$11=function(){ULSgsX:;var a=SP.RequestExecutorResources.getString("RE_InvalidOperation");return SP.RequestExecutorUtility.$S(a,SP.RequestExecutorExceptions.invalidOperation)};SP.RequestExecutorUtility.$10=function(){ULSgsX:;var a=SP.RequestExecutorResources.getString("RE_BrowserNotSupported");return SP.RequestExecutorUtility.$S(a,SP.RequestExecutorExceptions.browserNotSupported)};SP.RequestExecutorUtility.$12=function(){ULSgsX:;var a=SP.RequestExecutorResources.getString("RE_BrowserBinaryDataNotSupported");return SP.RequestExecutorUtility.$S(a,SP.RequestExecutorExceptions.browserNotSupported)};SP.RequestExecutorUtility.$g=function(a){ULSgsX:;return SP.RequestExecutorHttpUtility.$R(a,true,true)};SP.RequestExecutorUtility.$i=function(a){ULSgsX:;a=a.replace(new RegExp("&","g"),"&");a=a.replace(new RegExp('"',"g"),""");a=a.replace(new RegExp("'","g"),"'");a=a.replace(new RegExp("<","g"),"<");a=a.replace(new RegExp(">","g"),">");return a};SP.RequestExecutorUtility.$1R=function(e,a){ULSgsX:;if(!e)return null;if(!a)return null;a=a.toLowerCase();var c=e;for(var d in c){var b={key:d,value:c[d]};if(!SP.RequestExecutorUtility.$2(b.key)&&b.key.toLowerCase()===a)return b.value}return null};SP.RequestExecutorUtility.$17=function(a,b){ULSgsX:;return SP.RequestExecutorUtility.$2(a)&&SP.RequestExecutorUtility.$2(b)};SP.RequestExecutorRes=function(){};SP.RequestExecutorHttpUtility=function(){};SP.RequestExecutorHttpUtility.$R=function(e,j,k){ULSgsX:;var c="",b,d=0,g=" \"%<>'&",h=null;if(e===h||typeof e==="undefined"||!e.length)return"";for(d=0;d=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a>=32&&a<=95&&g.indexOf(f)<0)c+=f;else if(a<=15)c+="%0"+a.toString(16).toUpperCase();else if(a<=127)c+="%"+a.toString(16).toUpperCase()}else if(a<=2047){b=192|a>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}else if((a&64512)!==55296){b=224|a>>12;c+="%"+b.toString(16).toUpperCase();b=128|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}else if(d>18;c+="%"+b.toString(16).toUpperCase();b=128|(a&258048)>>12;c+="%"+b.toString(16).toUpperCase();b=128|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}}return c};SP.PostMessageRequestInfo.registerClass&&SP.PostMessageRequestInfo.registerClass("SP.PostMessageRequestInfo");SP.PostMessageResponseInfo.registerClass&&SP.PostMessageResponseInfo.registerClass("SP.PostMessageResponseInfo");SP.RequestInfo.registerClass&&SP.RequestInfo.registerClass("SP.RequestInfo");SP.AppWebProxyRequestInfo.registerClass&&SP.AppWebProxyRequestInfo.registerClass("SP.AppWebProxyRequestInfo");SP.ResponseInfo.registerClass&&SP.ResponseInfo.registerClass("SP.ResponseInfo");SP.RequestExecutorOptions.registerClass&&SP.RequestExecutorOptions.registerClass("SP.RequestExecutorOptions");SP.RequestExecutorMessageProcessorFormDigestInfo.registerClass&&SP.RequestExecutorMessageProcessorFormDigestInfo.registerClass("SP.RequestExecutorMessageProcessorFormDigestInfo");SP.RequestExecutorMessageProcessorInitInfo.registerClass&&SP.RequestExecutorMessageProcessorInitInfo.registerClass("SP.RequestExecutorMessageProcessorInitInfo");SP.PostMessageCommands.registerClass&&SP.PostMessageCommands.registerClass("SP.PostMessageCommands");SP.ProxyWebRequestExecutorInternal.registerClass&&SP.ProxyWebRequestExecutorInternal.registerClass("SP.ProxyWebRequestExecutorInternal");SP.ProxyWebRequestExecutor.registerClass&&SP.ProxyWebRequestExecutor.registerClass("SP.ProxyWebRequestExecutor",Sys.Net.WebRequestExecutor);SP.ProxyWebRequestExecutorFactory.registerClass&&SP.ProxyWebRequestExecutorFactory.registerClass("SP.ProxyWebRequestExecutorFactory");SP.RequestExecutor.registerClass&&SP.RequestExecutor.registerClass("SP.RequestExecutor");SP.RequestExecutorXHR.registerClass&&SP.RequestExecutorXHR.registerClass("SP.RequestExecutorXHR");SP.RequestExecutorErrors.registerClass&&SP.RequestExecutorErrors.registerClass("SP.RequestExecutorErrors");SP.RequestExecutorExceptions.registerClass&&SP.RequestExecutorExceptions.registerClass("SP.RequestExecutorExceptions");SP.RequestExecutorInternalSharedUtility.registerClass&&SP.RequestExecutorInternalSharedUtility.registerClass("SP.RequestExecutorInternalSharedUtility");SP.RequestExecutorMessageProcessor.registerClass&&SP.RequestExecutorMessageProcessor.registerClass("SP.RequestExecutorMessageProcessor");SP.RequestExecutorNotificationPanel.registerClass&&SP.RequestExecutorNotificationPanel.registerClass("SP.RequestExecutorNotificationPanel");SP.RequestExecutorNative.registerClass&&SP.RequestExecutorNative.registerClass("SP.RequestExecutorNative");SP.RequestExecutorResources.registerClass&&SP.RequestExecutorResources.registerClass("SP.RequestExecutorResources");SP.RequestExecutorUtility.registerClass&&SP.RequestExecutorUtility.registerClass("SP.RequestExecutorUtility");SP.RequestExecutorRes.registerClass&&SP.RequestExecutorRes.registerClass("SP.RequestExecutorRes");SP.RequestExecutorHttpUtility.registerClass&&SP.RequestExecutorHttpUtility.registerClass("SP.RequestExecutorHttpUtility");function sp_requestexecutor_initialize(){ULSgsX:;SP.PostMessageCommands.ping="Ping";SP.PostMessageCommands.query="Query";SP.RequestExecutor.$E=null;SP.RequestExecutor.$l=null;SP.RequestExecutor.$V=null;SP.RequestExecutor.$Q=null;SP.RequestExecutor.$N=null;SP.RequestExecutor.$I=null;SP.RequestExecutor.$B=null;SP.RequestExecutor.$a=null;SP.RequestExecutor.$P=null;SP.RequestExecutor.$H=null;SP.RequestExecutor.$4=null;SP.RequestExecutor.$m=0;SP.RequestExecutor.$W=false;SP.RequestExecutor.logCallback=null;SP.RequestExecutor.$k=null;SP.RequestExecutor.$d=null;SP.RequestExecutor.$1H=false;SP.RequestExecutor.$f=null;SP.RequestExecutor.$e=null;SP.RequestExecutorXHR.UNSENT=0;SP.RequestExecutorXHR.OPENED=1;SP.RequestExecutorXHR.DONE=4;SP.RequestExecutorErrors.requestAbortedOrTimedout=-1001;SP.RequestExecutorErrors.unexpectedResponse=-1002;SP.RequestExecutorErrors.httpError=-1002;SP.RequestExecutorErrors.noAppWeb=-1003;SP.RequestExecutorErrors.domainDoesNotMatch=-1004;SP.RequestExecutorErrors.noTrustedOrigins=-1005;SP.RequestExecutorErrors.iFrameLoadError=-1006;SP.RequestExecutorErrors.proxyPageLoadError=-1007;SP.RequestExecutorErrors.anonymousRequest=-1008;SP.RequestExecutorExceptions.invalidArgumentOrField=-2001;SP.RequestExecutorExceptions.invalidOperation=-2002;SP.RequestExecutorExceptions.browserNotSupported=-2003;SP.RequestExecutorInternalSharedUtility.$j="SP.RequestExecutor";SP.RequestExecutorMessageProcessor.$Z=null;SP.RequestExecutorMessageProcessor.$C=null;SP.RequestExecutorMessageProcessor.$W=false;SP.RequestExecutorNotificationPanel.$M=null;SP.RequestExecutorNotificationPanel.$1G=0;SP.RequestExecutorNotificationPanel.$Y=null;SP.RequestExecutorNotificationPanel.$1a=false;SP.RequestExecutorNative.emptyCallback=null;SP.RequestExecutorNative.$$cctor();SP.RequestExecutorRes.rE_NoTrustedOrigins="There is no trusted URLs configured for the app deployment.";SP.RequestExecutorRes.rE_InvalidOperation="Invalid operation.";SP.RequestExecutorRes.rE_CannotAccessSiteOpenWindowFailed='This page cannot open a window to access the web site "{0}" or it cannot reference the opened window. Please browse to that web site, and then browse to this page again.';SP.RequestExecutorRes.rE_OpenWindowButtonText="Fix It";SP.RequestExecutorRes.rE_BrowserNotSupported="The required functionalities are not supported by your browser. Please make sure you are using IE 8 or above, or other modern browser. Please make sure the 'X-UA-Compatible' meta tag is set to be 'IE=8' or above.";SP.RequestExecutorRes.rE_RequestUnexpectedResponseWithContentTypeAndStatus='Unexpected response from the server. The content type of the response is "{0}". The status code is "{1}".';SP.RequestExecutorRes.rE_InvalidArgumentOrField="Invalid field or parameter {0}.";SP.RequestExecutorRes.rE_OpenWindowMessage="Sorry, we had some trouble accessing your site.";SP.RequestExecutorRes.rE_CannotAccessSite='This page cannot access the web site "{0}". Please browse to that web site, and then browse to this page again.';SP.RequestExecutorRes.rE_RequestAbortedOrTimedout="The request was aborted or timed out.";SP.RequestExecutorRes.rE_DismissOpenWindowMessageLinkText="Dismiss";SP.RequestExecutorRes.rE_BrowserBinaryDataNotSupported="Your browser doesn't support some HTML5 features like the File API operations. Please use a browser that does support these features.";SP.RequestExecutorRes.rE_CannotAccessSiteCancelled='This page cannot access the web site "{0}". The login is cancelled or timed out. Please browse to that web site, and then browse to this page again.';SP.RequestExecutorRes.rE_FixitHelpMessage='If the "Fix it" button doesn\'t solve the issue, {0}click here for more information{1}.';SP.RequestExecutorRes.rE_RequestUnexpectedResponse="Unexpected response from server.";SP.RequestExecutorRes.rE_DomainDoesNotMatch="Your domain doesn't match the expected domain for this app deployment."}sp_requestexecutor_initialize();function sp_requestexecutor_attachloadevent(){ULSgsX:;if(window.document.addEventListener)window.addEventListener("load",SP.RequestExecutor.internalProcessWindowLoad,false);else window.document.attachEvent&&window.attachEvent("onload",SP.RequestExecutor.internalProcessWindowLoad)}sp_requestexecutor_attachloadevent();function sp_requestexecutor_initialize2(){ULSgsX:;sp_requestexecutor_initialize();sp_requestexecutor_attachloadevent()}typeof RegisterModuleInit=="function"&&RegisterModuleInit("sp.requestexecutor.js",sp_requestexecutor_initialize2);typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();typeof NotifyScriptLoadedAndExecuteWaitingJobs=="function"&&NotifyScriptLoadedAndExecuteWaitingJobs("sp.requestexecutor.js");typeof spWriteProfilerMark=="function"&&spWriteProfilerMark("perfMarkEnd_sp.requestexecutor.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.runtime.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.runtime.js deleted file mode 100644 index 31928f08c..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.runtime.js +++ /dev/null @@ -1,2 +0,0 @@ -function ULSnd3(){var o=new Object;o.ULSTeamName="Microsoft SharePoint Foundation";o.ULSFileName="SP.Runtime.js";return o;} -if("undefined"==typeof g_all_modules)g_all_modules={};g_all_modules["sp.runtime.js"]={version:{rmj:16,rmm:0,rup:5813,rpr:1200}};typeof spWriteProfilerMark=="function"&&spWriteProfilerMark("perfMarkBegin_sp.runtime.js");window.SP&&typeof SP.ClientRuntimeContext=="function"&&window.console&&window.console.error&&window.console.error("Error: SP.Runtime.js is already loaded");Type.registerNamespace("SP");if(typeof IEnumerator=="undefined"){var IEnumerator=function(){};IEnumerator.prototype={get_current:null,moveNext:null,reset:null};IEnumerator.registerInterface("IEnumerator")}if(typeof IEnumerable=="undefined"){var IEnumerable=function(){};IEnumerable.prototype={getEnumerator:null};IEnumerable.registerInterface("IEnumerable")}if(typeof IDisposable=="undefined"){var IDisposable=function(){};IDisposable.prototype={dispose:null};IDisposable.registerInterface("IDisposable")}if(typeof SP.Guid=="undefined"){SP.Guid=function(a){ULSnd3:;a=SP.Guid._normalizeGuidString$p(a);if(SP.Guid.isValid(a))this._m_guidString$p$0=a;else{this._m_guidString$p$0=SP.Guid._emptyGuidString$p;throw Error.argument("guidText");}};SP.Guid.get_empty=function(){ULSnd3:;if(!SP.Guid._s_empty$p)SP.Guid._s_empty$p=new SP.Guid(SP.Guid._emptyGuidString$p);return SP.Guid._s_empty$p};SP.Guid.newGuid=function(){ULSnd3:;for(var a="",c=0;c<32;c++){var b=Math.floor(Math.random()*16);switch(c){case 8:a+="-";break;case 12:b=4;a+="-";break;case 16:b=b&3|8;a+="-";break;case 20:a+="-"}a+=SP.Guid._s_hexcode$p[b]}var d=new SP.Guid(a);return d};SP.Guid.isValid=function(b){ULSnd3:;var a=new RegExp("^[{|\\(]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){3}[0-9a-fA-F]{12}[\\)|}]?$");return!!a.exec(b)};SP.Guid._normalizeGuidString$p=function(b){ULSnd3:;var a;a=b.replace(" ","");a=a.replace("{","");a=a.replace("}","");a=a.toLowerCase();return a};SP.Guid.prototype={_m_guidString$p$0:null,toString:function(){ULSnd3:;if(!arguments.length)return this._m_guidString$p$0;var a=arguments[0];if(a==="B")return"{"+this._m_guidString$p$0+"}";else if(a==="D")return this._m_guidString$p$0;else throw Error.argument("format");},equals:function(a){ULSnd3:;return!a?false:this._m_guidString$p$0===a.toString()},ToSerialized:function(){ULSnd3:;return this.toString()}};SP.Guid.registerClass("SP.Guid");SP.Guid._s_hexcode$p=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];SP.Guid._emptyGuidString$p="00000000-0000-0000-0000-000000000000";SP.Guid._s_empty$p=null}if(typeof SP.ScriptUtility=="undefined"){SP.ScriptUtility=function(){};SP.ScriptUtility.isNullOrEmptyString=function(a){ULSnd3:;var b=null;return a===b||typeof a==="undefined"||!a.length};SP.ScriptUtility.isNullOrUndefined=function(a){ULSnd3:;var b=null;return a===b||typeof a==="undefined"};SP.ScriptUtility.isUndefined=function(a){ULSnd3:;return typeof a==="undefined"};SP.ScriptUtility.truncateToInt=function(a){ULSnd3:;return a>0?Math.floor(a):Math.ceil(a)};SP.ScriptUtility.registerClass("SP.ScriptUtility");SP.ScriptUtility.emptyString=""}if(typeof SP.PermissionKind=="undefined"){SP.PermissionKind=function(){};SP.PermissionKind.prototype={emptyMask:0,viewListItems:1,addListItems:2,editListItems:3,deleteListItems:4,approveItems:5,openItems:6,viewVersions:7,deleteVersions:8,cancelCheckout:9,managePersonalViews:10,manageLists:12,viewFormPages:13,anonymousSearchAccessList:14,open:17,viewPages:18,addAndCustomizePages:19,applyThemeAndBorder:20,applyStyleSheets:21,viewUsageData:22,createSSCSite:23,manageSubwebs:24,createGroups:25,managePermissions:26,browseDirectories:27,browseUserInfo:28,addDelPrivateWebParts:29,updatePersonalWebParts:30,manageWeb:31,anonymousSearchAccessWebLists:32,useClientIntegration:37,useRemoteAPIs:38,manageAlerts:39,createAlerts:40,editMyUserInfo:41,enumeratePermissions:63,fullMask:65};SP.PermissionKind.registerEnum("SP.PermissionKind",false)}Type.registerNamespace("SP");SP.IWebRequestExecutorFactory=function(){};SP.IWebRequestExecutorFactory.registerInterface("SP.IWebRequestExecutorFactory");SP.ClientRequestStatus=function(){};SP.ClientRequestStatus.prototype={active:0,inProgress:1,completedSuccess:2,completedException:3};SP.ClientRequestStatus.registerEnum("SP.ClientRequestStatus",false);SP.IFromJson=function(){};SP.IFromJson.registerInterface("SP.IFromJson");SP.DateTimeKind=function(){};SP.DateTimeKind.prototype={unspecified:0,utc:1,local:2};SP.DateTimeKind.registerEnum("SP.DateTimeKind",false);SP.ArrayListEnumerator=function(a){ULSnd3:;this.$8_0=a;this.$M_0=-1;this.$2I_0=a.length;this.current=null};SP.ArrayListEnumerator.prototype={$8_0:null,$M_0:0,$2I_0:0,get_current:function(){ULSnd3:;return this.$8_0[this.$M_0]},moveNext:function(){ULSnd3:;if(this.$2I_0!==this.$8_0.length)throw Error.invalidOperation(SP.ResResources.getString("CollectionModified"));this.$M_0++;this.current=this.$8_0[this.$M_0];return this.$M_00&&!SP.ScriptUtility.isNullOrEmptyString(arguments[0])){var a=arguments[0];this.$3K_0(a)}else{this.$8_0=[];this.$F_0=0}};SP.Base64EncodedByteArray.prototype={$8_0:null,$F_0:0,get_length:function(){ULSnd3:;return this.$F_0},$3K_0:function(a){ULSnd3:;a=a.replace("\\u002f","/");a=a.replace("\\u002F","/");var g=new RegExp("[^A-Za-z0-9+/=]","g");a=a.replace(g,"");var h=Math.ceil((a.length+1)/4),i=Math.ceil((h*3+1)/2);this.$8_0=new Array(i);for(var c=0;c>4,p=(e&15)<<4|d>>2,q=(d&3)<<6|f;this.$1S_0(this.$F_0,o);this.$F_0++;if(d!==64){this.$1S_0(this.$F_0,p);this.$F_0++}if(f!==64){this.$1S_0(this.$F_0,q);this.$F_0++}}},toBase64String:function(){ULSnd3:;for(var a=new Sys.StringBuilder,c=0,j=this.$F_0%3,k=this.$F_0-j,b,d,i,e,f,g,h,c=0;c>2];f=SP.Base64EncodedByteArray.$N[(b&3)<<4|(d&240)>>4];g=SP.Base64EncodedByteArray.$N[(d&15)<<2|(i&192)>>6];h=SP.Base64EncodedByteArray.$N[i&63];a.append(e);a.append(f);a.append(g);a.append(h)}switch(j){case 2:b=this.getByteAt(c);d=this.getByteAt(c+1);e=SP.Base64EncodedByteArray.$N[(b&252)>>2];f=SP.Base64EncodedByteArray.$N[(b&3)<<4|(d&240)>>4];g=SP.Base64EncodedByteArray.$N[(d&15)<<2];h=SP.Base64EncodedByteArray.$N[64];a.append(e);a.append(f);a.append(g);a.append(h);break;case 1:b=this.getByteAt(c);e=SP.Base64EncodedByteArray.$N[(b&252)>>2];f=SP.Base64EncodedByteArray.$N[(b&3)<<4];g=SP.Base64EncodedByteArray.$N[64];h=SP.Base64EncodedByteArray.$N[64];a.append(e);a.append(f);a.append(g);a.append(h)}return a.toString()},append:function(a){ULSnd3:;if(!(this.$F_0%2))this.$8_0[this.$F_0/2+1]=0;this.$1S_0(this.$F_0,a);this.$F_0++},getByteAt:function(a){ULSnd3:;if(a>=this.$F_0)throw Error.argumentOutOfRange("index");var c=Math.floor(a/2),b=this.$8_0[c],d=a%2;return!d?b&255:(b&65280)>>8},setByteAt:function(a,b){ULSnd3:;if(a>=this.$F_0)throw Error.argumentOutOfRange("index");this.$1S_0(a,b)},$1S_0:function(c,d){ULSnd3:;var b=Math.floor(c/2),a=this.$8_0[b],e=c%2;if(!e)a=(a&65280)+(d&255);else a=(d&255)*256+(a&255);this.$8_0[b]=a},$3g_0:function(a){ULSnd3:;if(SP.ScriptUtility.isNullOrUndefined(a))return;if(SP.Base64EncodedByteArray.isInstanceOfType(a)){var b=a;this.$F_0=b.$F_0;this.$8_0=b.$8_0}},$3h_0:function(){ULSnd3:;return false}};SP.ClientObjectPropertyConditionalScope=function(b,c,a,e,d){ULSnd3:;SP.ClientObjectPropertyConditionalScope.initializeBase(this,[!b?null:b.$0_0,d]);if(!b)throw Error.argumentNull("clientObject");if(a!=="GT"&&a!=="LT"&&a!=="EQ"&&a!=="NE"&&a!=="GE"&&a!=="LE")throw Error.argumentOutOfRange("comparisonOperator");if(SP.ScriptUtility.isNullOrEmptyString(c))throw Error.argumentNull("propertyName");this.$1D_1=b;this.$S_1=c;this.$2A_1=a;this.$2T_1=e};SP.ClientObjectPropertyConditionalScope.prototype={$1D_1:null,$S_1:null,$2A_1:null,$2T_1:null,$3B_0:function(c){ULSnd3:;if(!this.$1D_1)throw SP.ConditionalScopeBase.$9();var b=new Sys.StringBuilder,a=SP.XmlWriter.create(b);a.writeStartElement("Test");a.writeStartElement("Body");a.writeStartElement(this.$2A_1);a.writeStartElement("ExpressionProperty");a.writeAttributeString("Name",this.$S_1);a.writeStartElement("ExpressionConstant");SP.DataConvert.writeValueToXmlElement(a,this.$1D_1,c);a.writeEndElement();a.writeEndElement();a.writeStartElement("ExpressionConstant");SP.DataConvert.writeValueToXmlElement(a,this.$2T_1,c);a.writeEndElement();a.writeEndElement();a.writeEndElement();a.writeEndElement();a.close();this.$1D_1=null;return b}};SP.ClientDictionaryResultHandler=function(a){ULSnd3:;this.fromJson=this.$3g_0;this.customFromJson=this.$3h_0;this.$2B_0=a};SP.ClientDictionaryResultHandler.prototype={$2B_0:null,$3g_0:function(e){ULSnd3:;if(SP.ScriptUtility.isNullOrUndefined(e))return;var f=e,b={},c=f;for(var d in c){var a={key:d,value:c[d]};if(typeof a.value!=="function"&&a.key!=="_ObjectType_")b[a.key]=a.value}SP.DataConvert.fixupTypes(null,b);this.$2B_0.setValue(b)},$3h_0:function(){ULSnd3:;return false}};SP.ClientActionInstantiateObjectPathResult=function(a){ULSnd3:;this.fromJson=this.$3g_0;this.customFromJson=this.$3h_0;this.$Z_0=a};SP.ClientActionInstantiateObjectPathResult.prototype={$Z_0:null,$3g_0:function(a){ULSnd3:;if(!SP.ScriptUtility.isNullOrUndefined(a)&&typeof a==="object"){var b=false;if(typeof a.IsNull==="boolean")b=a.IsNull;this.$Z_0.$1N_0=b}},$3h_0:function(){ULSnd3:;return false}};SP.ClientObjectCollectionResult=function(a,b){ULSnd3:;this.fromJson=this.$3g_0;this.customFromJson=this.$3h_0;this.$0_0=a;this.$1k_0=b};SP.ClientObjectCollectionResult.prototype={$1k_0:null,$0_0:null,$3g_0:function(a){ULSnd3:;if(!SP.ScriptUtility.isNullOrUndefined(a)&&typeof a==="object")if(Array.isInstanceOfType(a))SP.DataConvert.populateArray(this.$0_0,this.$1k_0,a);else{var b=a._Child_Items_;b&&SP.DataConvert.populateArray(this.$0_0,this.$1k_0,b)}},$3h_0:function(){ULSnd3:;return false}};SP.ClientUtility=function(){};SP.ClientUtility.urlPathEncodeForXmlHttpRequest=function(a){ULSnd3:;return SP.ClientHttpUtility.$34(a,true,true)};SP.ClientUtility.getOrCreateObjectPathForConstructor=function(d,f,a){ULSnd3:;if(!a||a.length<1)throw Error.argumentNull("args");var b=0;if(a[b]===d)b++;if(SP.ObjectPath.isInstanceOfType(a[b]))return a[b];for(var e=[],c=b;c=b)return a;if(b-a.length>=SP.DataConvert.$2X.length)throw Error.argumentOutOfRange("len");return SP.DataConvert.$2X[b-a.length]+a};SP.DataConvert.$1x=function(a){ULSnd3:;for(var c,b=0,d=0;d=65&&a.charCodeAt(d)<=90;d++)b++;if(!b)c=a;else if(b===a.length)c=a.toLowerCase();else c=a.substr(0,b).toLowerCase()+a.substr(b);return c};SP.DataConvert.$2k=function(a){ULSnd3:;return a.substr(0,1).toLowerCase()+a.substr(1)};SP.DataConvert.invokeSetProperty=function(b,d,c){ULSnd3:;var a=SP.DataConvert.$1x(d);if(b["set_"+a])b["set_"+a](c);else{a=SP.DataConvert.$2k(d);b["set_"+a](c)}};SP.DataConvert.invokeGetProperty=function(c,d){ULSnd3:;var a=SP.DataConvert.$1x(d),b;if(c["get_"+a])b=c["get_"+a]();else{a=SP.DataConvert.$2k(d);b=c["get_"+a]()}return b};SP.DataConvert.specifyDateTimeKind=function(a,b){ULSnd3:;SP.DataConvertUtil.specifyDateTimeKind(a,b)};SP.DataConvert.getDateTimeKind=function(a){ULSnd3:;return SP.DataConvertUtil.getDateTimeKind(a)};SP.DataConvert.createUnspecifiedDateTime=function(f,d,g,e,b,c,a){ULSnd3:;return SP.DataConvertUtil.createUnspecifiedDateTime(f,d,g,e,b,c,a)};SP.DataConvert.createUtcDateTime=function(a){ULSnd3:;return SP.DataConvertUtil.createUtcDateTime(a)};SP.DataConvert.createLocalDateTime=function(a){ULSnd3:;return SP.DataConvertUtil.createLocalDateTime(a)};SP.PageRequestFailedEventArgs=function(a,b){ULSnd3:;SP.PageRequestFailedEventArgs.initializeBase(this);this.$i_1=a;this.$h_1=b};SP.PageRequestFailedEventArgs.prototype={$h_1:null,$i_1:null,get_executor:function(){ULSnd3:;return this.$i_1},get_errorMessage:function(){ULSnd3:;return SP.ScriptUtility.isNullOrEmptyString(this.$h_1)?"Cannot complete the request.":this.$h_1},get_isErrorPage:function(){ULSnd3:;if(this.$i_1.get_statusCode()!==200)return true;var a=this.$i_1.getResponseHeader("SharePointError");return!SP.ScriptUtility.isNullOrEmptyString(a)?true:false}};SP.PageRequestSucceededEventArgs=function(a){ULSnd3:;SP.PageRequestSucceededEventArgs.initializeBase(this);this.$i_1=a};SP.PageRequestSucceededEventArgs.prototype={$i_1:null,get_executor:function(){ULSnd3:;return this.$i_1}};SP.PageRequest=function(){ULSnd3:;this.$$d_$3X_0=Function.createDelegate(this,this.$3X_0)};SP.PageRequest.doPost=function(f,e,d,b,c){ULSnd3:;var a=new SP.PageRequest;b&&a.add_succeeded(b);c&&a.add_failed(c);a.set_url(f);a.set_expectedContentType(d);a.post(e)};SP.PageRequest.doGet=function(e,d,b,c){ULSnd3:;var a=new SP.PageRequest;b&&a.add_succeeded(b);c&&a.add_failed(c);a.set_url(e);a.set_expectedContentType(d);a.get()};SP.PageRequest.prototype={$7_0:null,get_request:function(){ULSnd3:;if(!this.$7_0)this.$7_0=new Sys.Net.WebRequest;return this.$7_0},get_url:function(){ULSnd3:;return this.get_request().get_url()},set_url:function(a){ULSnd3:;this.get_request().set_url(a);return a},$1d_0:null,get_expectedContentType:function(){ULSnd3:;return SP.ScriptUtility.isNullOrEmptyString(this.$1d_0)?"html":this.$1d_0},set_expectedContentType:function(a){ULSnd3:;this.$1d_0=a;return a},post:function(a){ULSnd3:;this.get_request().set_httpVerb("POST");this.get_request().set_body(a);SP.ClientRequest.$2z(this.get_request());this.get_request().add_completed(this.$$d_$3X_0);this.get_request().invoke()},"get":function(){ULSnd3:;this.get_request().set_httpVerb("GET");SP.ClientRequest.$2z(this.get_request());this.get_request().add_completed(this.$$d_$3X_0);this.get_request().invoke()},$E_0:null,get_$G_0:function(){ULSnd3:;if(!this.$E_0)this.$E_0=new Sys.EventHandlerList;return this.$E_0},add_succeeded:function(a){ULSnd3:;this.get_$G_0().addHandler("succeeded",a)},remove_succeeded:function(a){ULSnd3:;this.get_$G_0().removeHandler("succeeded",a)},add_failed:function(a){ULSnd3:;this.get_$G_0().addHandler("failed",a)},remove_failed:function(a){ULSnd3:;this.get_$G_0().removeHandler("failed",a)},$3X_0:function(c){ULSnd3:;var a=null,b=null;if(this.$E_0){b=this.$E_0.getHandler("succeeded");a=this.$E_0.getHandler("failed")}var d=SP.ClientRequest.$2j(c,this.get_expectedContentType());if(d)a&&a(this,new SP.PageRequestFailedEventArgs(c,d));else b&&b(this,new SP.PageRequestSucceededEventArgs(c));this.$E_0=null}};SP.ResResources=function(){};SP.ResResources.getString=function(a){ULSnd3:;for(var d=[],c=1;c");this.$X_0=true}else{this.$1_0.append("")}Array.removeAt(this.$s_0,this.$s_0.length-1);if(this.$s_0.length>0)this.$13_0=this.$s_0[this.$s_0.length-1];else this.$13_0=null},$1T_0:function(){ULSnd3:;if(!this.$X_0){this.$1_0.append(">");this.$X_0=true}},writeAttributeString:function(a,b){ULSnd3:;if(this.$X_0)throw Error.invalidOperation();this.$1_0.append(" ");this.$1_0.append(a);this.$1_0.append('="');this.$23_0(b,true);this.$1_0.append('"')},writeStartAttribute:function(a){ULSnd3:;if(!this.$X_0)throw Error.invalidOperation();this.$n_0=true;this.$1_0.append(" ");this.$1_0.append(a);this.$1_0.append('="')},writeEndAttribute:function(){ULSnd3:;if(!this.$n_0)throw Error.invalidOperation();this.$1_0.append('"');this.$n_0=false},writeString:function(a){ULSnd3:;if(this.$n_0){this.$23_0(a,true);this.$1_0.append(a)}else{this.$1T_0();this.$23_0(a,false)}},writeRaw:function(a){ULSnd3:;this.$21_0();this.$1T_0();this.$1_0.append(a)},$21_0:function(){ULSnd3:;if(this.$n_0)throw Error.invalidOperation();},$23_0:function(c,d){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(c))return;for(var b=0;b'&",h=null;if(e===h||typeof e==="undefined"||!e.length)return"";for(d=0;d=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||a>=32&&a<=95&&g.indexOf(f)<0)c+=f;else if(a<=15)c+="%0"+a.toString(16).toUpperCase();else if(a<=127)c+="%"+a.toString(16).toUpperCase()}else if(a<=2047){b=192|a>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}else if((a&64512)!==55296){b=224|a>>12;c+="%"+b.toString(16).toUpperCase();b=128|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}else if(d>18;c+="%"+b.toString(16).toUpperCase();b=128|(a&258048)>>12;c+="%"+b.toString(16).toUpperCase();b=128|(a&4032)>>6;c+="%"+b.toString(16).toUpperCase();b=128|a&63;c+="%"+b.toString(16).toUpperCase()}}return c};SP.ClientConstants=function(){};SP.ClientSchemaVersions=function(){};SP.ClientErrorCodes=function(){};SP.ClientAction=function(a,b,c){ULSnd3:;if(!a)throw Error.argumentNull("context");this.$I_0=b;this.$B_0=c;this.$4_0=a.get_$1w_0()};SP.ClientAction.$z=function(c,b){ULSnd3:;if(c&&b)if(SP.ClientObject.isInstanceOfType(b)){var a=b;if(a&&a.$0_0&&a.$0_0!==c)throw Error.invalidOperation(SP.ResResources.getString("NotSameClientContext"));}};SP.ClientAction.$1A=function(c,a){ULSnd3:;if(c&&a&&a.length>0)for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b=0;a--)if(b[a]===d){if(b[a].$U_0===this)b[a].$U_0=null;Array.removeAt(b,a)}else if(c&&SP.ClientObject.isInstanceOfType(b[a])&&SP.ObjectPathIdentity.isInstanceOfType(b[a].get_path())&&c.$r_1===b[a].get_path().$r_1){if(b[a].$U_0===this)b[a].$U_0=null;Array.removeAt(b,a)}}};SP.ClientObjectList=function(c,b,a){ULSnd3:;SP.ClientObjectList.initializeBase(this,[c,b]);this.$1X_2=a};SP.ClientObjectList.prototype={$1X_2:null,fromJson:function(a){ULSnd3:;if(SP.ScriptUtility.isNullOrUndefined(a)){this.$2y_0();return}Array.clear(this.get_data());if(typeof a==="object"){var b;if(Array.isInstanceOfType(a))b=a;else b=a._Child_Items_;var c=[];SP.DataConvert.$2U(this.$0_0,c,b,this.$1X_2);for(var d=0;d0&&a[0].tagName==="INPUT"){var f=a[0];b=f.value}if(!SP.ScriptUtility.isNullOrUndefined(b))g.get_headers()["X-RequestDigest"]=b};SP.ClientRequest.$3P=function(a,b){ULSnd3:;return!a?b:typeof a._SPErrorCode_==="number"?a._SPErrorCode_:b};SP.ClientRequest.$2j=function(a,d){ULSnd3:;var b;if(!a.get_statusCode())return null;if(a.get_aborted()||a.get_timedOut()){if(typeof a._SPError_==="string")b=a._SPError_;else b=SP.ResResources.getString("RequestAbortedOrTimedOut");return b}if(!a.get_responseAvailable()){if(typeof a._SPError_==="string")b=a._SPError_;else b=SP.ResResources.getString("RequestUnexpectedResponse");return b}if(a.get_statusCode()!==200){b=SP.ResResources.getString("RequestUnexpectedResponseWithStatus",a.get_statusCode(),a.get_statusText());return b}if(!SP.ScriptUtility.isNullOrEmptyString(d)){var c=a.getResponseHeader("content-type");if(!c||c.toLowerCase().indexOf(d.toLowerCase())<0){b=SP.ResResources.getString("RequestUnexpectedResponse");return b}}var e=a.getResponseHeader("SharePointError");if(!SP.ScriptUtility.isNullOrEmptyString(e)){b=SP.ResResources.getString("RequestUnexpectedResponse");return b}return null};SP.ClientRequest.prototype={$0_0:null,$7_0:null,get_webRequest:function(){ULSnd3:;if(!this.$7_0){this.$7_0=new Sys.Net.WebRequest;this.$7_0.set_httpVerb("POST");this.$7_0.get_headers()["Content-Type"]="text/xml";var a=this.get_$32_0();this.$7_0.set_url(a);this.$7_0.set_timeout(this.$0_0.get_requestTimeout());if(this.$0_0.$w_0){var b=this.$0_0.$w_0.createWebRequestExecutor();this.$7_0.set_executor(b)}}return this.$7_0},$V_0:null,get_$32_0:function(){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(this.$V_0)){this.$V_0=this.$0_0.$u_0;if(!this.$V_0.endsWith("/"))this.$V_0+="/";this.$V_0+=this.$0_0.get_serviceRelativeUrl();this.$V_0=this.$0_0.getRequestUrl(this.$V_0)}return this.$V_0},$2n_0:function(){ULSnd3:;this.$V_0=null;var a=this.get_$32_0();this.$7_0&&this.$7_0.set_url(a)},$a_0:0,$E_0:null,get_$G_0:function(){ULSnd3:;if(!this.$E_0)this.$E_0=new Sys.EventHandlerList;return this.$E_0},add_requestSucceeded:function(a){ULSnd3:;this.get_$G_0().addHandler("succeeded",a)},remove_requestSucceeded:function(a){ULSnd3:;this.get_$G_0().removeHandler("succeeded",a)},add_requestFailed:function(a){ULSnd3:;this.get_$G_0().addHandler("failed",a)},remove_requestFailed:function(a){ULSnd3:;this.get_$G_0().removeHandler("failed",a)},$P_0:null,$22_0:function(a){ULSnd3:;if(this.$a_0)throw Error.create(SP.ResResources.getString("RequestHasBeenExecuted"));Array.add(this.$16_0,a);this.$P_0=a},$d_0:null,$2a_0:function(a){ULSnd3:;if(!this.$d_0)this.$d_0=[];Array.add(this.$d_0,a)},$e_0:null,$3A_0:function(a){ULSnd3:;if(!this.$e_0)this.$e_0=[];Array.add(this.$e_0,a)},$1c_0:null,get_$25_0:function(){ULSnd3:;if(!this.$1c_0)this.$1c_0=[];return this.$1c_0},$24_0:function(){ULSnd3:;if(this.$d_0){for(var a=0;a0)throw SP.ExceptionHandlingScope.$9();a.writeEndElement();a.writeStartElement("ObjectPaths");var k={};do{var d=[],h=b.$1j_0;for(var i in h){var n={key:i,value:h[i]};SP.ScriptUtility.isUndefined(k[n.key])&&Array.add(d,n.value.$4_0)}if(!d.length)break;for(var f=0;f=1))$v_3=true;else{var $v_8=$v_2[0];if(SP.ScriptUtility.isNullOrUndefined($v_8)||typeof $v_8!=="object"||SP.ScriptUtility.isNullOrEmptyString($v_8.SchemaVersion)||SP.ScriptUtility.isNullOrEmptyString($v_8.LibraryVersion))$v_3=true}if($v_3){var $v_9=SP.ResResources.getString("RequestUnexpectedResponse");this.$a_0=3;this.$x_0($v_9,null,0,null,null,null,null);this.$7_0=null;return}var $v_4=$v_2[0];this.$0_0.$3d_0($v_4.SchemaVersion);this.$0_0.$3c_0($v_4.LibraryVersion);!SP.ScriptUtility.isNullOrEmptyString($v_4.TraceCorrelationId)&&this.$0_0.$3e_0($v_4.TraceCorrelationId);var $v_5=$v_4.ErrorInfo;if(!SP.ScriptUtility.isNullOrUndefined($v_5)){var $v_A=$v_5.ErrorMessage,$v_B=$v_5.ErrorStackTrace,$v_C=$v_5.ErrorCode,$v_D=$v_5.ErrorTypeName,$v_E=$v_5.ErrorValue,$v_F=$v_5.ErrorDetails,$v_G=$v_5.TraceCorrelationId;$v_F=SP.DataConvert.fixupType(this.$0_0,$v_F);this.$a_0=3;if($v_C===-2130575152&&!SP.ScriptUtility.isNullOrEmptyString($v_E)&&this.$1h_0)window.navigate($v_E);else this.$x_0($v_A,$v_B,$v_C,$v_E,$v_D,$v_F,$v_G);this.$7_0=null;return}this.$0_0.$1W_0=true;try{for(var $v_H=1;$v_H<$v_2.length;$v_H+=2){var $v_I=$v_2[$v_H],$v_J=this.$1L_0[$v_I.toString()],$v_K=$v_2,$v_L=$v_K[$v_H+1];if(!SP.ScriptUtility.isNullOrUndefined($v_J)&&!SP.ScriptUtility.isNullOrUndefined($v_L)){if(SP.ClientObject.isInstanceOfType($v_J)&&typeof $v_L==="object"){var $v_M=$v_L._ObjectType_;if(!SP.ScriptUtility.isNullOrEmptyString($v_M)){var $v_N=Type.parse($v_M);if($v_N&&$v_N!==Object.getType($v_J)){var $v_O=new $v_N(this.$0_0);$v_J.$30_0($v_O);$v_J=$v_O}}}if(SP.IFromJson.isInstanceOfType($v_J)){var $v_P=$v_J;!$v_P.customFromJson($v_L)&&$v_P.fromJson($v_L)}Array.isInstanceOfType($v_J)&&SP.DataConvert.populateArray(this.$0_0,$v_J,$v_L)}}}finally{this.$0_0.$1W_0=false}this.$a_0=2;var $v_6=this.get_$G_0().getHandler("succeeded");$v_6&&$v_6(this,new SP.ClientRequestSucceededEventArgs(this));this.$7_0=null},$2b_0:function(b,a){ULSnd3:;if(this.$a_0)throw Error.create(SP.ResResources.getString("RequestHasBeenExecuted"));this.$1L_0[b.toString()]=a;if(SP.ClientObject.isInstanceOfType(a))if(a.$2_0.$O_0)this.$1L_0[b.toString()]=a.$2_0.$O_0}};SP.ClientRequestEventArgs=function(a){ULSnd3:;SP.ClientRequestEventArgs.initializeBase(this);this.$7_1=a};SP.ClientRequestEventArgs.prototype={$7_1:null,get_request:function(){ULSnd3:;return this.$7_1}};SP.ClientRequestFailedEventArgs=function(h,g,e,f,d,b,c,a){ULSnd3:;SP.ClientRequestFailedEventArgs.initializeBase(this,[h]);this.$2H_2=g;this.$2P_2=e;this.$1F_2=f;this.$2F_2=d;this.$2E_2=b;this.$2D_2=c;this.$1G_2=a};SP.ClientRequestFailedEventArgs.prototype={$2H_2:null,$2P_2:null,$1F_2:0,$2F_2:null,$2E_2:null,$2D_2:null,$1G_2:null,$v_2:null,get_message:function(){ULSnd3:;return this.$2H_2},get_stackTrace:function(){ULSnd3:;return this.$2P_2},get_errorCode:function(){ULSnd3:;return this.$1F_2},get_errorValue:function(){ULSnd3:;return this.$2F_2},get_errorTypeName:function(){ULSnd3:;return this.$2E_2},get_errorDetails:function(){ULSnd3:;return this.$2D_2},get_errorTraceCorrelationId:function(){ULSnd3:;return this.$1G_2},get_webRequestExecutor:function(){ULSnd3:;return this.$v_2},$31_2:function(a){ULSnd3:;this.$v_2=a;if(this.$v_2){if(SP.ScriptUtility.isNullOrEmptyString(this.$1G_2)&&this.$v_2.get_responseAvailable())this.$1G_2=this.$v_2.getResponseHeader("SPRequestGuid");this.$1F_2=SP.ClientRequest.$3P(this.$v_2,this.$1F_2)}}};SP.ClientRequestSucceededEventArgs=function(a){ULSnd3:;SP.ClientRequestSucceededEventArgs.initializeBase(this,[a])};SP.FormDigestInfo=function(){};SP.FormDigestInfo.prototype={$f_0:null,get_digestValue:function(){ULSnd3:;return this.$f_0},set_digestValue:function(a){ULSnd3:;this.$f_0=a;return a},$14_0:0,get_expiration:function(){ULSnd3:;return this.$14_0},set_expiration:function(a){ULSnd3:;this.$14_0=a;return a},$1Q_0:null,get_webServerRelativeUrl:function(){ULSnd3:;return this.$1Q_0},set_webServerRelativeUrl:function(a){ULSnd3:;this.$1Q_0=a;return a}};SP.ClientRuntimeContext=function(a){ULSnd3:;this.$1i_0={};if(!a)throw Error.argumentNull("serverRelativeUrlOrFullUrl");if(!a.startsWith("/")&&!a.toLowerCase().startsWith("http://")&&!a.toLowerCase().startsWith("https://"))throw Error.argument("serverRelativeUrlOrFullUrl");this.$u_0=a};SP.ClientRuntimeContext.$2h=function(a){ULSnd3:;if(!a)throw Error.argumentNull("obj");return a.$0_0};SP.ClientRuntimeContext.$2i=function(a){ULSnd3:;if(!a)throw Error.argumentNull("objectPath");return a.$0_0};SP.ClientRuntimeContext.prototype={$u_0:null,$2N_0:0,$2G_0:false,get_isPageUrl:function(){ULSnd3:;return this.$2G_0},set_isPageUrl:function(a){ULSnd3:;if(a&&!this.$1H_0)throw Error.invalidOperation();this.$2G_0=a;return a},get_$1w_0:function(){ULSnd3:;var a=this.$2N_0;this.$2N_0++;return a},get_serviceRelativeUrl:function(){ULSnd3:;return"_vti_bin/client.svc/ProcessQuery"},get_url:function(){ULSnd3:;return this.$u_0},$1v_0:null,get_viaUrl:function(){ULSnd3:;return this.$1v_0},set_viaUrl:function(a){ULSnd3:;this.$1v_0=a;return a},getRequestUrl:function(b){ULSnd3:;var a=this.$1v_0;if(!SP.ScriptUtility.isNullOrEmptyString(a)){if(a.indexOf("?")<0)a+="?";if(!a.endsWith("?")&&!a.endsWith("&"))a+="&";a+="MS.SP.url="+SP.ClientHttpUtility.$34(b,false,false);b=a}return b},$1H_0:false,get_formDigestHandlingEnabled:function(){ULSnd3:;return this.$1H_0},set_formDigestHandlingEnabled:function(a){ULSnd3:;this.$1H_0=a;return a},$2g_0:function(){ULSnd3:;var a=this.$u_0;if(!a.endsWith("/"))a+="/";a+="_api/contextinfo";a=this.getRequestUrl(a);return a},$3W_0:function(b){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(b)||b.indexOf("GetContextWebInformation")<0||b.indexOf("FormDigestTimeoutSeconds")<0)return null;var c=this.parseObjectFromJsonString(b,true),d=c.d.GetContextWebInformation.FormDigestValue,e=c.d.GetContextWebInformation.FormDigestTimeoutSeconds,f=c.d.GetContextWebInformation.WebFullUrl,a=new SP.FormDigestInfo;a.$f_0=d;a.$14_0=+new Date+e*750;a.$1Q_0=SP.ClientUtility.$3Q(f);return a},$28_0:"Javascript Library",get_applicationName:function(){ULSnd3:;return this.$28_0},set_applicationName:function(a){ULSnd3:;if(SP.ScriptUtility.isNullOrEmptyString(a)||a.length>128)throw Error.argumentOutOfRange("value");this.$28_0=a;return a},$29_0:null,get_clientTag:function(){ULSnd3:;return this.$29_0},set_clientTag:function(a){ULSnd3:;if(!SP.ScriptUtility.isNullOrEmptyString(a)&&a.length>32)throw Error.argumentOutOfRange("value");this.$29_0=a;return a},$2C_0:false,get_disableReturnValueCache:function(){ULSnd3:;return this.$2C_0},set_disableReturnValueCache:function(a){ULSnd3:;this.$2C_0=a;return a},$w_0:null,get_webRequestExecutorFactory:function(){ULSnd3:;return this.$w_0},set_webRequestExecutorFactory:function(a){ULSnd3:;this.$w_0=a;return a},$7_0:null,get_pendingRequest:function(){ULSnd3:;if(!this.$7_0)this.$7_0=new SP.ClientRequest(this);return this.$7_0},get_hasPendingRequest:function(){ULSnd3:;return!!this.$7_0&&!!this.$7_0.$P_0},$1W_0:false,add_executingWebRequest:function(a){ULSnd3:;this.get_$G_0().addHandler("executingwebrequest",a)},remove_executingWebRequest:function(a){ULSnd3:;this.get_$G_0().removeHandler("executingwebrequest",a)},onExecutingWebRequest:function(a){ULSnd3:;if(a&&a.$18_1){if(!SP.ScriptUtility.isNullOrEmptyString(this.$t_0))a.$18_1.get_headers().SPResponseGuid=this.$t_0;if(!SP.ScriptUtility.isNullOrEmptyString(this.get_clientTag()))a.$18_1.get_headers()["X-ClientService-ClientTag"]=this.get_clientTag()}var b=this.get_$G_0().getHandler("executingwebrequest");b&&b(this,a)},$2c_0:function(a){ULSnd3:;this.onExecutingWebRequest(a)},$E_0:null,get_$G_0:function(){ULSnd3:;if(!this.$E_0)this.$E_0=new Sys.EventHandlerList;return this.$E_0},add_requestSucceeded:function(a){ULSnd3:;this.get_$G_0().addHandler("succeeded",a)},remove_requestSucceeded:function(a){ULSnd3:;this.get_$G_0().removeHandler("succeeded",a)},add_requestFailed:function(a){ULSnd3:;this.get_$G_0().addHandler("failed",a)},remove_requestFailed:function(a){ULSnd3:;this.get_$G_0().removeHandler("failed",a)},add_beginningRequest:function(a){ULSnd3:;this.get_$G_0().addHandler("beginningrequest",a)},remove_beginningRequest:function(a){ULSnd3:;this.get_$G_0().removeHandler("beginningrequest",a)},$2L_0:18e4,get_requestTimeout:function(){ULSnd3:;return this.$2L_0},set_requestTimeout:function(a){ULSnd3:;if(a>=0)this.$2L_0=a;else throw Error.argumentOutOfRange("value");return a},$35_0:function(){ULSnd3:;var c=null,b=window._spPageContextInfo;if(b&&b.webServerRelativeUrl===this.$u_0&&!SP.ScriptUtility.isUndefined(window._spFormDigestRefreshInterval)&&!SP.ScriptUtility.isUndefined(b.updateFormDigestPageLoaded)){var a=document.getElementsByName("__REQUESTDIGEST");if(a&&a.length>0&&a[0].tagName==="INPUT")c=a[0]}return c},executeQueryAsync:function(f,e){ULSnd3:;var c=this.setPendingRequestToBeExecuted();if(!this.$1H_0){this.executeClientRequestAsync(c,f,e);return}if(!SP.ClientRuntimeContext.$Q)SP.ClientRuntimeContext.$Q={};var b=this.$2g_0();if(SP.ScriptUtility.isNullOrUndefined(SP.ClientRuntimeContext.$Q[b])){var g=this.$35_0();if(g){var h=window._spPageContextInfo;if(!SP.ScriptUtility.isNullOrUndefined(h)){SP.ClientRuntimeContext.$Q[b]=new SP.FormDigestInfo;SP.ClientRuntimeContext.$Q[b].$f_0=g.value;SP.ClientRuntimeContext.$Q[b].$14_0=h.updateFormDigestPageLoaded.getTime()+_spFormDigestRefreshInterval*.75}}}var i=new Date;if(SP.ClientRuntimeContext.$Q[b]&&SP.ClientRuntimeContext.$Q[b].$14_0>i.getTime()){c.get_webRequest().get_headers()["X-RequestDigest"]=SP.ClientRuntimeContext.$Q[b].$f_0;this.executeClientRequestAsync(c,f,e)}else{var d=new Sys.Net.WebRequest;d.set_url(b);d.set_httpVerb("POST");d.get_headers().ACCEPT="application/json;odata=verbose";d.set_timeout(this.get_requestTimeout());this.$2c_0(new SP.WebRequestEventArgs(d));if(this.$w_0){var j=this.$w_0.createWebRequestExecutor();d.set_executor(j)}var a=this;d.add_completed(function(d){ULSnd3:;if(d.get_aborted()||d.get_timedOut()){var h;if(typeof d._SPError_==="string")h=d._SPError_;else h=SP.ResResources.getString("RequestAbortedOrTimedOut");a.$x_0(c,d,h,e)}else if(!d.get_responseAvailable()||d.get_statusCode()!==200||SP.ScriptUtility.isNullOrEmptyString(d.getResponseHeader("content-type"))||d.getResponseHeader("content-type").toLowerCase().indexOf("json")<0){var i;if(typeof d._SPError_==="string")i=d._SPError_;else i=SP.ResResources.getString("UnknownResponseData");a.$x_0(c,d,i,e)}else{var g=a.$3W_0(d.get_responseData());if(!g)a.$x_0(c,d,SP.ResResources.getString("UnknownResponseData"),e);else{var j=a.$35_0();if(j){j.value=g.$f_0;var k=window._spPageContextInfo;if(!SP.ScriptUtility.isNullOrUndefined(k))k.updateFormDigestPageLoaded=new Date}SP.ClientRuntimeContext.$Q[b]=g;c.get_webRequest().get_headers()["X-RequestDigest"]=g.$f_0;if(a.get_isPageUrl()){a.$u_0=g.$1Q_0;b=a.$2g_0();SP.ClientRuntimeContext.$Q[b]=g;c.$2n_0();a.$7_0&&a.$7_0.$2n_0()}a.executeClientRequestAsync(c,f,e)}}});d.invoke()}},$x_0:function(d,e,a,c){ULSnd3:;if(c){if(SP.ScriptUtility.isNullOrEmptyString(a))a=SP.ResResources.getString("UnknownResponseData");var b=new SP.ClientRequestFailedEventArgs(d,a,null,0,null,null,null,null);b.$31_2(e);c(this,b)}},setPendingRequestToBeExecuted:function(){ULSnd3:;var a=this.get_pendingRequest();this.$7_0=null;return a},executeClientRequestAsync:function(a,b,c){ULSnd3:;if(this.$E_0){var d=this.$E_0.getHandler("beginningrequest");d&&d(this,new SP.ClientRequestEventArgs(a))}!SP.ScriptUtility.isNullOrUndefined(b)&&a.add_requestSucceeded(b);!SP.ScriptUtility.isNullOrUndefined(c)&&a.add_requestFailed(c);if(this.$E_0){var e=this.$E_0.getHandler("succeeded");e&&a.add_requestSucceeded(e);var f=this.$E_0.getHandler("failed");f&&a.add_requestFailed(f)}a.$3H_0()},$1s_0:null,get_staticObjects:function(){ULSnd3:;if(!this.$1s_0)this.$1s_0={};return this.$1s_0},castTo:function(a,c){ULSnd3:;if(!a)throw Error.argumentNull("obj");SP.ClientAction.$z(this,a);var b;if(!c.inheritsFrom(SP.ClientObject))throw Error.argument("type");if(a.$0_0!==this)throw Error.invalidOperation();if(c.isInstanceOfType(a)){b=new c(this,a.get_path());b.$20_0(a);return b}if(a.$2_0.$O_0&&c.isInstanceOfType(a.$2_0.$O_0)){b=new c(this,a.get_path());b.$20_0(a);return b}if(!c.inheritsFrom(Object.getType(a)))throw Error.argument("type");if(a.$2_0.$O_0&&!c.inheritsFrom(Object.getType(a.$2_0.$O_0)))throw Error.argument("type");b=new c(this,a.get_path());b.$20_0(a);var d=null;if(!a.$2_0.$O_0)d=a;else d=a.$2_0.$O_0;if(d){var e=[],i=this.get_pendingRequest().$1L_0,g=i;for(var h in g){var j={key:h,value:g[h]};j.value===a&&Array.add(e,j.key)}for(var f=0;f=this.$8_1.length)throw Error.argumentOutOfRange("index");return this.$8_1[a]},$3i_1:function(){ULSnd3:;var a=this.$8_1;if(!a)a=[];return new SP.ArrayListEnumerator(a)},writeToXml:function(a,c){ULSnd3:;if(this.$8_1){a.writeStartElement("Property");a.writeAttributeString("Name","_Child_Items_");a.writeAttributeString("Type","Array");for(var b=0;b=0;e--){var a=this.$0_0.get_pendingRequest().$16_0[e];if(a===this.$3_0.$1Y_0)break;var d=false;if(SP.ClientQueryInternal.isInstanceOfType(a)||SP.ClientActionExecutionScopeStart.isInstanceOfType(a)||SP.ClientActionExecutionScopeEnd.isInstanceOfType(a)||SP.ObjectIdentityQuery.isInstanceOfType(a))d=true;if(!d){var b;if(SP.ClientActionInstantiateObjectPath.isInstanceOfType(a))b=a;else b=null;if(b)if(SP.ObjectPathConstructor.isInstanceOfType(b.$I_0)||SP.ObjectPathIdentity.isInstanceOfType(b.$I_0)||SP.ObjectPathProperty.isInstanceOfType(b.$I_0)||SP.ObjectPathStaticProperty.isInstanceOfType(b.$I_0))d=true}if(!d)throw Error.create(SP.ResResources.getString("InvalidUsageOfConditionalScopeNowAllowedAction"));}},startIfTrue:function(){ULSnd3:;if(!this.$3_0||this.$3_0.$L_0||this.$b_0)throw SP.ConditionalScopeBase.$9();var a=this.$0_0.get_pendingRequest().$P_0;if(!a)throw SP.ConditionalScopeBase.$9();if(SP.ClientActionExecutionScopeStart.isInstanceOfType(a)&&a.$3_1.$B_0==="ConditionalScope"||SP.ClientActionExecutionScopeEnd.isInstanceOfType(a)&&a.$3_1.$B_0==="IfFalseScope"){this.$b_0=new SP.ExecutionScope(this.$0_0,"IfTrueScope",null);return this.$b_0}throw SP.ConditionalScopeBase.$9();},startIfFalse:function(){ULSnd3:;if(!this.$3_0||this.$3_0.$L_0||this.$Y_0)throw SP.ConditionalScopeBase.$9();var a=this.$0_0.get_pendingRequest().$P_0;if(!a)throw SP.ConditionalScopeBase.$9();if(SP.ClientActionExecutionScopeStart.isInstanceOfType(a)&&a.$3_1.$B_0==="ConditionalScope"||SP.ClientActionExecutionScopeEnd.isInstanceOfType(a)&&a.$3_1.$B_0==="IfTrueScope"){this.$Y_0=new SP.ExecutionScope(this.$0_0,"IfFalseScope",null);return this.$Y_0}throw SP.ConditionalScopeBase.$9();},get_testResult:function(){ULSnd3:;return this.$2Q_0},fromJson:function(c){ULSnd3:;var b=c;if(SP.ScriptUtility.isNullOrUndefined(b))throw Error.create(SP.ResResources.getString("UnknownResponseData"));var a;a=b.Test;if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("UnknownResponseData"));this.$2Q_0=a},customFromJson:function(){ULSnd3:;return false}};SP.ConditionalExecutionScope=function(b,a,c){ULSnd3:;SP.ConditionalExecutionScope.initializeBase(this,[b,"ConditionalScope",c]);if(!a)throw Error.argumentNull("scope");this.$3_1=a};SP.ConditionalExecutionScope.prototype={$3_1:null,$2Y_0:function(a,b){ULSnd3:;SP.ExecutionScope.prototype.$2Y_0.call(this,a,b);a.writeRaw(this.$3_1.$2R_0.toString());b.$m_0(this.$3_1.$1t_0);if(!this.$3_1.$b_0&&!this.$3_1.$Y_0){a.writeStartElement("IfTrueScope");a.writeAttributeString("Id",b.$0_0.get_$1w_0().toString())}},$36_0:function(a,b){ULSnd3:;!this.$3_1.$b_0&&!this.$3_1.$Y_0&&a.writeEndElement();SP.ExecutionScope.prototype.$36_0.call(this,a,b)}};SP.DataRetrievalWithExpressionString=function(){};SP.DataRetrievalWithExpressionString.load=function(a,b){ULSnd3:;if(!b||!b.length){a.get_$19_0().selectAllProperties();SP.ClientObjectCollection.isInstanceOfType(a)&&a.get_$19_0().get_childItemQuery().selectAllProperties()}else for(var c=0;c0){if(g)throw SP.DataRetrievalWithExpressionString.$T(a);d.selectWithAll(b)}}};SP.DataRetrievalWithExpressionString.$3J=function(e,g){ULSnd3:;for(var f=e.length,b=1,c=-1,a=g+1;a0&&Array.add(f,b)}return f};SP.DataRetrievalWithExpressionString.$T=function(a){ULSnd3:;return Error.argument(null,SP.ResResources.getString("NotSupportedQueryExpressionWithExpressionDetail",a))};SP.ClientActionExecutionScopeStart=function(a,b){ULSnd3:;SP.ClientActionExecutionScopeStart.initializeBase(this,[a.$0_0,null,b]);this.$3_1=a};SP.ClientActionExecutionScopeStart.prototype={$3_1:null,get_scope:function(){ULSnd3:;return this.$3_1},$39_0:function(){}};SP.ClientActionExecutionScopeEnd=function(a,b){ULSnd3:;SP.ClientActionExecutionScopeEnd.initializeBase(this,[a.$0_0,null,b]);this.$3_1=a};SP.ClientActionExecutionScopeEnd.prototype={$3_1:null,get_scope:function(){ULSnd3:;return this.$3_1},$39_0:function(){}};SP.ExecutionScope=function(a,b,c){ULSnd3:;if(!a)throw Error.argumentNull("context");this.$0_0=a;this.$B_0=b;this.$4_0=this.$0_0.get_$1w_0();this.$0_0.get_pendingRequest().get_$25_0().push(this);this.$1Y_0=new SP.ClientActionExecutionScopeStart(this,this.$B_0);this.$0_0.get_pendingRequest().$22_0(this.$1Y_0);this.$1b_0=c};SP.ExecutionScope.prototype={$0_0:null,$L_0:false,$B_0:null,$4_0:0,$1b_0:null,$1Y_0:null,get_id:function(){ULSnd3:;return this.$4_0},get_name:function(){ULSnd3:;return this.$B_0},dispose:function(){ULSnd3:;if(this.$L_0)throw SP.ExceptionHandlingScope.$9();this.$1b_0&&this.$1b_0();if(this.$0_0.get_pendingRequest().get_$25_0().length>0&&this.$0_0.get_pendingRequest().get_$25_0().pop()===this)this.$0_0.get_pendingRequest().$22_0(new SP.ClientActionExecutionScopeEnd(this,this.$B_0));else throw SP.ExceptionHandlingScope.$9();this.$L_0=true},$2Y_0:function(a){ULSnd3:;a.writeStartElement(this.$B_0);a.writeAttributeString("Id",this.$4_0.toString())},$36_0:function(a){ULSnd3:;a.writeEndElement()}};SP.ExceptionHandlingScope=function(a){ULSnd3:;this.$$d_$3G_0=Function.createDelegate(this,this.$3G_0);this.fromJson=this.$3g_0;this.customFromJson=this.$3h_0;if(!a)throw Error.argumentNull("context");this.$0_0=a;this.$1m_0=-1};SP.ExceptionHandlingScope.$9=function(){ULSnd3:;return Error.create(SP.ResResources.getString("InvalidUsageOfExceptionHandlingScope"))};SP.ExceptionHandlingScope.prototype={$0_0:null,$2J_0:false,$1e_0:false,$h_0:null,$1r_0:null,$1m_0:0,$1o_0:null,$1n_0:null,$1M_0:null,$R_0:null,get_$3S_0:function(){ULSnd3:;return!this.$W_0?true:false},startScope:function(){ULSnd3:;if(this.$R_0)throw SP.ExceptionHandlingScope.$9();this.$R_0=new SP.ExceptionHandlingExecutionScope(this.$0_0,this,this.$$d_$3G_0);this.$0_0.get_pendingRequest().$2b_0(this.$R_0.$4_0,this);return this.$R_0},$3G_0:function(){ULSnd3:;if(this.$W_0){if(!this.$o_0&&!this.$15_0)throw SP.ExceptionHandlingScope.$9();var a=this.$0_0.get_pendingRequest().$P_0;if(!a||!SP.ClientActionExecutionScopeEnd.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$9();var b=a;if(b.$3_1.$B_0!=="CatchScope"&&b.$3_1.$B_0!=="FinallyScope")throw SP.ExceptionHandlingScope.$9();}},$W_0:null,startTry:function(){ULSnd3:;if(!this.$R_0||this.$R_0.$L_0||this.$W_0)throw SP.ExceptionHandlingScope.$9();var a=this.$0_0.get_pendingRequest().$P_0;if(!a||!SP.ClientActionExecutionScopeStart.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$9();if(a.$3_1.$B_0!=="ExceptionHandlingScope")throw SP.ExceptionHandlingScope.$9();this.$W_0=new SP.ExecutionScope(this.$0_0,"TryScope",null);return this.$W_0},$o_0:null,startCatch:function(){ULSnd3:;if(!this.$R_0||this.$R_0.$L_0||!this.$W_0||!this.$W_0.$L_0||this.$o_0||this.$15_0)throw SP.ExceptionHandlingScope.$9();var a=this.$0_0.get_pendingRequest().$P_0;if(!a||!SP.ClientActionExecutionScopeEnd.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$9();if(a.$3_1.$B_0!=="TryScope")throw SP.ExceptionHandlingScope.$9();this.$o_0=new SP.ExecutionScope(this.$0_0,"CatchScope",null);return this.$o_0},$15_0:null,startFinally:function(){ULSnd3:;if(!this.$R_0||this.$R_0.$L_0||!this.$W_0||!this.$W_0.$L_0||this.$o_0&&!this.$o_0.$L_0||this.$15_0)throw SP.ExceptionHandlingScope.$9();var a=this.$0_0.get_pendingRequest().$P_0;if(!a||!SP.ClientActionExecutionScopeEnd.isInstanceOfType(a))throw SP.ExceptionHandlingScope.$9();if(a.$3_1.$B_0!=="TryScope"&&a.$3_1.$B_0!=="CatchScope")throw SP.ExceptionHandlingScope.$9();this.$15_0=new SP.ExecutionScope(this.$0_0,"FinallyScope",null);return this.$15_0},get_processed:function(){ULSnd3:;return this.$2J_0},get_hasException:function(){ULSnd3:;return this.$1e_0},get_errorMessage:function(){ULSnd3:;return this.$h_0},get_serverStackTrace:function(){ULSnd3:;return this.$1r_0},get_serverErrorCode:function(){ULSnd3:;return this.$1m_0},get_serverErrorValue:function(){ULSnd3:;return this.$1o_0},get_serverErrorTypeName:function(){ULSnd3:;return this.$1n_0},get_serverErrorDetails:function(){ULSnd3:;return this.$1M_0},$3g_0:function(d){ULSnd3:;var c=d;if(SP.ScriptUtility.isNullOrUndefined(c))throw Error.create(SP.ResResources.getString("UnknownResponseData"));var a;a=c.HasException;if(SP.ScriptUtility.isUndefined(a))throw Error.create(SP.ResResources.getString("UnknownResponseData"));this.$1e_0=a;if(this.$1e_0){var b=c.ErrorInfo;if(SP.ScriptUtility.isNullOrUndefined(b))throw Error.create(SP.ResResources.getString("UnknownResponseData"));a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a))this.$h_0=a;else this.$h_0="";a=b.ErrorStackTrace;if(!SP.ScriptUtility.isUndefined(a))this.$1r_0=a;else this.$1r_0="";a=b.ErrorCode;if(!SP.ScriptUtility.isUndefined(a))this.$1m_0=a;a=b.ErrorValue;if(!SP.ScriptUtility.isUndefined(a))this.$1o_0=a;else this.$1o_0="";a=b.ErrorTypeName;if(!SP.ScriptUtility.isUndefined(a))this.$1n_0=a;else this.$1n_0="";a=b.ErrorDetails;if(!SP.ScriptUtility.isUndefined(a)){this.$1M_0=a;this.$1M_0=SP.DataConvert.fixupType(this.$0_0,this.$1M_0)}}this.$2J_0=true},$3h_0:function(){ULSnd3:;return false}};SP.ExceptionHandlingExecutionScope=function(a,b,c){ULSnd3:;SP.ExceptionHandlingExecutionScope.initializeBase(this,[a,"ExceptionHandlingScope",c]);this.$3_1=b};SP.ExceptionHandlingExecutionScope.prototype={$3_1:null,$2Y_0:function(a,b){ULSnd3:;if(this.$3_1.get_$3S_0()){a.writeStartElement("ExceptionHandlingScopeSimple");a.writeAttributeString("Id",this.$4_0.toString())}else SP.ExecutionScope.prototype.$2Y_0.call(this,a,b)}};SP.ObjectIdentityQuery=function(a){ULSnd3:;SP.ObjectIdentityQuery.initializeBase(this,[SP.ClientRuntimeContext.$2i(a),a,null])};SP.ObjectIdentityQuery.prototype={$39_0:function(a,b){ULSnd3:;a.writeStartElement("ObjectIdentityQuery");a.writeAttributeString("Id",this.$4_0.toString());a.writeAttributeString("ObjectPathId",this.$I_0.$4_0.toString());b.addObjectPath(this.$I_0);a.writeEndElement()}};SP.ObjectPath=function(a,c,e){ULSnd3:;if(!a)throw Error.argumentNull("context");this.$0_0=a;if(!c)this.$1K_0=-1;else this.$1K_0=c.$4_0;this.$4_0=a.get_$1w_0();if(e){a.$2Z_0(this);if(!a.$1W_0){var b=new SP.ClientActionInstantiateObjectPath(this);a.addQuery(b);var d=new SP.ClientActionInstantiateObjectPathResult(this);a.addQueryIdAndResultObject(b.$4_0,d)}}this.$1N_0=false;this.$j_0=true};SP.ObjectPath.prototype={$1K_0:0,$4_0:0,$0_0:null,$1N_0:false,get_$1y_0:function(){ULSnd3:;return this.$1K_0===-1?null:this.$0_0.$1i_0[this.$1K_0.toString()]},$j_0:false,$3R_0:function(){},get_$2l_0:function(){ULSnd3:;return null},setPendingReplace:function(){ULSnd3:;this.$0_0.get_pendingRequest().$3A_0(this)}};SP.ObjectPathProperty=function(b,c,a){ULSnd3:;SP.ObjectPathProperty.initializeBase(this,[b,c,true]);this.$S_1=a};SP.ObjectPathProperty.prototype={$S_1:null,$39_0:function(a,b){ULSnd3:;a.writeStartElement("Property");a.writeAttributeString("Id",this.$4_0.toString());a.writeAttributeString("ParentId",this.get_$1y_0().$4_0.toString());b.addObjectPath(this.get_$1y_0());a.writeAttributeString("Name",this.$S_1);a.writeEndElement()},get_$2l_0:function(){ULSnd3:;return SP.ResResources.getString("ObjectNameProperty",this.$S_1)}};SP.ObjectPathStaticProperty=function(b,c,a){ULSnd3:;SP.ObjectPathStaticProperty.initializeBase(this,[b,null,true]);this.$J_1=c;this.$S_1=a};SP.ObjectPathStaticProperty.prototype={$S_1:null,$J_1:null,$39_0:function(a){ULSnd3:;a.writeStartElement("StaticProperty");a.writeAttributeString("Id",this.$4_0.toString());a.writeAttributeString("TypeId",this.$J_1);a.writeAttributeString("Name",this.$S_1);a.writeEndElement()},get_$2l_0:function(){ULSnd3:;return SP.ResResources.getString("ObjectNameProperty",this.$S_1)}};SP.ObjectPathMethod=function(a,e,d,c){ULSnd3:;SP.ObjectPathMethod.initializeBase(this,[a,e,true]);SP.ClientAction.$1A(a,c);this.$k_1=d;this.$5_1=c;this.$6_1=new SP.SerializationContext(a);var b;this.$1_1=new Sys.StringBuilder;b=SP.XmlWriter.create(this.$1_1);this.$y_1(b,this.$6_1);b.close();this.$5_1=null};SP.ObjectPathMethod.prototype={$k_1:null,$6_1:null,$1_1:null,$5_1:null,$39_0:function(a,b){ULSnd3:;a.writeRaw(this.$1_1.toString());b.$m_0(this.$6_1)},$y_1:function(a,c){ULSnd3:;a.writeStartElement("Method");a.writeAttributeString("Id",this.$4_0.toString());a.writeAttributeString("ParentId",this.get_$1y_0().$4_0.toString());c.addObjectPath(this.get_$1y_0());a.writeAttributeString("Name",this.$k_1);if(this.$5_1&&this.$5_1.length>0){a.writeStartElement("Parameters");for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b0){a.writeStartElement("Parameters");for(var b=0;b0){var a=new Microsoft.SharePoint.Client.Search.Query.QueryPropertyValue;if(b){var c=Object.getType(b);switch(Array.indexOf(Microsoft.SharePoint.Client.Search.Query.QueryUtility.$1P,c)){case 1:a.$F_1=b;a.$0_1=1;break;case 2:a.$B_1=b;a.$0_1=2;break;case 3:a.$A_1=b;a.$0_1=3;break;case 4:a.$E_1=b;a.$0_1=4;break;default:var e="Type "+c.toString()+"is not valid. Only String, Int32, Boolean and String[] are supported.";throw Error.argument(e)}}return a}else throw Error.argumentNull("The name a of a property cannot be null or empty!")};Microsoft.SharePoint.Client.Search.Query.QueryUtility.queryPropertyValueToObject=function(a){if(a&&a.$0_1!==0)switch(a.$0_1){case 1:return a.$F_1;case 2:return a.$B_1;case 3:return a.$A_1;case 4:return a.$E_1;default:throw Error.argument("The Payload type is not valid. Only String, Int32, Boolean and String[] are supported.")}else return null};Microsoft.SharePoint.Client.Search.Query.QueryUtility.getQueryPropertyValueType=function(a){if(a)return a.$0_1;else return 0};Microsoft.SharePoint.Client.Search.Query.KeywordQuery=function(a){Microsoft.SharePoint.Client.Search.Query.KeywordQuery.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{80173281-fffd-47b6-9a49-312e06ff8428}",arguments)])};Microsoft.SharePoint.Client.Search.Query.KeywordQuery.newObject=function(a){return new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(a,new SP.ObjectPathConstructor(a,"{80173281-fffd-47b6-9a49-312e06ff8428}",null))};Microsoft.SharePoint.Client.Search.Query.KeywordQuery.prototype={get_collapseSpecification:function(){this.checkUninitializedProperty("CollapseSpecification");return this.get_objectData().get_properties()["CollapseSpecification"]},set_collapseSpecification:function(a){this.get_objectData().get_properties()["CollapseSpecification"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CollapseSpecification",a));return a},get_enableSorting:function(){this.checkUninitializedProperty("EnableSorting");return this.get_objectData().get_properties()["EnableSorting"]},set_enableSorting:function(a){this.get_objectData().get_properties()["EnableSorting"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableSorting",a));return a},get_hiddenConstraints:function(){this.checkUninitializedProperty("HiddenConstraints");return this.get_objectData().get_properties()["HiddenConstraints"]},set_hiddenConstraints:function(a){this.get_objectData().get_properties()["HiddenConstraints"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HiddenConstraints",a));return a},get_properties:function(){var a=this.get_objectData().get_clientObjectProperties()["Properties"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.KeywordQueryProperties(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Properties"));this.get_objectData().get_clientObjectProperties()["Properties"]=a}return a},get_olsQuerySession:function(){this.checkUninitializedProperty("OLSQuerySession");return this.get_objectData().get_properties()["OLSQuerySession"]},set_olsQuerySession:function(a){this.get_objectData().get_properties()["OLSQuerySession"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OLSQuerySession",a));return a},get_refinementFilters:function(){var a=this.get_objectData().get_clientObjectProperties()["RefinementFilters"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.StringCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RefinementFilters"));this.get_objectData().get_clientObjectProperties()["RefinementFilters"]=a}return a},set_refinementFilters:function(a){this.get_objectData().get_clientObjectProperties()["RefinementFilters"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RefinementFilters",a));return a},get_refiners:function(){this.checkUninitializedProperty("Refiners");return this.get_objectData().get_properties()["Refiners"]},set_refiners:function(a){this.get_objectData().get_properties()["Refiners"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Refiners",a));return a},get_reorderingRules:function(){var a=this.get_objectData().get_clientObjectProperties()["ReorderingRules"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ReorderingRules"));this.get_objectData().get_clientObjectProperties()["ReorderingRules"]=a}return a},set_reorderingRules:function(a){this.get_objectData().get_clientObjectProperties()["ReorderingRules"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ReorderingRules",a));return a},get_selectProperties:function(){var a=this.get_objectData().get_clientObjectProperties()["SelectProperties"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.StringCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SelectProperties"));this.get_objectData().get_clientObjectProperties()["SelectProperties"]=a}return a},get_sortList:function(){var a=this.get_objectData().get_clientObjectProperties()["SortList"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.SortCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SortList"));this.get_objectData().get_clientObjectProperties()["SortList"]=a}return a},get_timeZoneId:function(){this.checkUninitializedProperty("TimeZoneId");return this.get_objectData().get_properties()["TimeZoneId"]},set_timeZoneId:function(a){this.get_objectData().get_properties()["TimeZoneId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TimeZoneId",a));return a},get_trimDuplicatesIncludeId:function(){this.checkUninitializedProperty("TrimDuplicatesIncludeId");return this.get_objectData().get_properties()["TrimDuplicatesIncludeId"]},set_trimDuplicatesIncludeId:function(a){this.get_objectData().get_properties()["TrimDuplicatesIncludeId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimDuplicatesIncludeId",a));return a},get_useOLSQuery:function(){this.checkUninitializedProperty("UseOLSQuery");return this.get_objectData().get_properties()["UseOLSQuery"]},set_useOLSQuery:function(a){this.get_objectData().get_properties()["UseOLSQuery"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UseOLSQuery",a));return a},initPropertiesFromJson:function(b){Microsoft.SharePoint.Client.Search.Query.Query.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CollapseSpecification;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CollapseSpecification"]=a;delete b.CollapseSpecification}a=b.EnableSorting;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnableSorting"]=a;delete b.EnableSorting}a=b.HiddenConstraints;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HiddenConstraints"]=a;delete b.HiddenConstraints}a=b.Properties;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Properties",this.get_properties(),a);this.get_properties().fromJson(a);delete b.Properties}a=b.OLSQuerySession;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OLSQuerySession"]=a;delete b.OLSQuerySession}a=b.RefinementFilters;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RefinementFilters",this.get_refinementFilters(),a);this.get_refinementFilters().fromJson(a);delete b.RefinementFilters}a=b.Refiners;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Refiners"]=a;delete b.Refiners}a=b.ReorderingRules;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ReorderingRules",this.get_reorderingRules(),a);this.get_reorderingRules().fromJson(a);delete b.ReorderingRules}a=b.SelectProperties;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SelectProperties",this.get_selectProperties(),a);this.get_selectProperties().fromJson(a);delete b.SelectProperties}a=b.SortList;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SortList",this.get_sortList(),a);this.get_sortList().fromJson(a);delete b.SortList}a=b.TimeZoneId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TimeZoneId"]=a;delete b.TimeZoneId}a=b.TrimDuplicatesIncludeId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimDuplicatesIncludeId"]=a;delete b.TrimDuplicatesIncludeId}a=b.UseOLSQuery;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UseOLSQuery"]=a;delete b.UseOLSQuery}}};Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames=function(){};Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames=function(){};Microsoft.SharePoint.Client.Search.Query.PersonalResultSuggestion=function(){Microsoft.SharePoint.Client.Search.Query.PersonalResultSuggestion.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.PersonalResultSuggestion.prototype={$Z_1:null,$a_1:false,$8_1:null,$9_1:null,get_highlightedTitle:function(){return this.$Z_1},set_highlightedTitle:function(a){this.$Z_1=a;return a},get_isBestBet:function(){return this.$a_1},set_isBestBet:function(a){this.$a_1=a;return a},get_title:function(){return this.$8_1},set_title:function(a){this.$8_1=a;return a},get_url:function(){return this.$9_1},set_url:function(a){this.$9_1=a;return a},get_typeId:function(){return "{aafd94af-525a-4759-8410-f571a26f04bc}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["HighlightedTitle","IsBestBet","Title","Url"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.HighlightedTitle;if(!SP.ScriptUtility.isUndefined(a)){this.$Z_1=a;delete b.HighlightedTitle}a=b.IsBestBet;if(!SP.ScriptUtility.isUndefined(a)){this.$a_1=a;delete b.IsBestBet}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Title}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.Url}}};Microsoft.SharePoint.Client.Search.Query.PopularQuery=function(){Microsoft.SharePoint.Client.Search.Query.PopularQuery.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.PopularQuery.prototype={$O_1:0,$2_1:0,$m_1:0,$n_1:null,get_clickCount:function(){return this.$O_1},set_clickCount:function(a){this.$O_1=a;return a},get_LCID:function(){return this.$2_1},set_LCID:function(a){this.$2_1=a;return a},get_queryCount:function(){return this.$m_1},set_queryCount:function(a){this.$m_1=a;return a},get_queryText:function(){return this.$n_1},set_queryText:function(a){this.$n_1=a;return a},get_typeId:function(){return "{cea115d6-87ec-4e1c-aa4a-b8d44d6cd10d}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ClickCount","LCID","QueryCount","QueryText"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ClickCount;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=a;delete b.ClickCount}a=b.LCID;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.LCID}a=b.QueryCount;if(!SP.ScriptUtility.isUndefined(a)){this.$m_1=a;delete b.QueryCount}a=b.QueryText;if(!SP.ScriptUtility.isUndefined(a)){this.$n_1=a;delete b.QueryText}}};Microsoft.SharePoint.Client.Search.Query.Query=function(b,a){Microsoft.SharePoint.Client.Search.Query.Query.initializeBase(this,[b,a])};Microsoft.SharePoint.Client.Search.Query.Query.prototype={get_blockDedupeMode:function(){this.checkUninitializedProperty("BlockDedupeMode");return this.get_objectData().get_properties()["BlockDedupeMode"]},set_blockDedupeMode:function(a){this.get_objectData().get_properties()["BlockDedupeMode"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BlockDedupeMode",a));return a},get_bypassResultTypes:function(){this.checkUninitializedProperty("BypassResultTypes");return this.get_objectData().get_properties()["BypassResultTypes"]},set_bypassResultTypes:function(a){this.get_objectData().get_properties()["BypassResultTypes"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"BypassResultTypes",a));return a},get_clientType:function(){this.checkUninitializedProperty("ClientType");return this.get_objectData().get_properties()["ClientType"]},set_clientType:function(a){this.get_objectData().get_properties()["ClientType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ClientType",a));return a},get_culture:function(){this.checkUninitializedProperty("Culture");return this.get_objectData().get_properties()["Culture"]},set_culture:function(a){this.get_objectData().get_properties()["Culture"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Culture",a));return a},get_desiredSnippetLength:function(){this.checkUninitializedProperty("DesiredSnippetLength");return this.get_objectData().get_properties()["DesiredSnippetLength"]},set_desiredSnippetLength:function(a){this.get_objectData().get_properties()["DesiredSnippetLength"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DesiredSnippetLength",a));return a},get_enableInterleaving:function(){this.checkUninitializedProperty("EnableInterleaving");return this.get_objectData().get_properties()["EnableInterleaving"]},set_enableInterleaving:function(a){this.get_objectData().get_properties()["EnableInterleaving"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableInterleaving",a));return a},get_enableNicknames:function(){this.checkUninitializedProperty("EnableNicknames");return this.get_objectData().get_properties()["EnableNicknames"]},set_enableNicknames:function(a){this.get_objectData().get_properties()["EnableNicknames"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableNicknames",a));return a},get_enableOrderingHitHighlightedProperty:function(){this.checkUninitializedProperty("EnableOrderingHitHighlightedProperty");return this.get_objectData().get_properties()["EnableOrderingHitHighlightedProperty"]},set_enableOrderingHitHighlightedProperty:function(a){this.get_objectData().get_properties()["EnableOrderingHitHighlightedProperty"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableOrderingHitHighlightedProperty",a));return a},get_enablePhonetic:function(){this.checkUninitializedProperty("EnablePhonetic");return this.get_objectData().get_properties()["EnablePhonetic"]},set_enablePhonetic:function(a){this.get_objectData().get_properties()["EnablePhonetic"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnablePhonetic",a));return a},get_enableQueryRules:function(){this.checkUninitializedProperty("EnableQueryRules");return this.get_objectData().get_properties()["EnableQueryRules"]},set_enableQueryRules:function(a){this.get_objectData().get_properties()["EnableQueryRules"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableQueryRules",a));return a},get_enableStemming:function(){this.checkUninitializedProperty("EnableStemming");return this.get_objectData().get_properties()["EnableStemming"]},set_enableStemming:function(a){this.get_objectData().get_properties()["EnableStemming"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EnableStemming",a));return a},get_generateBlockRankLog:function(){this.checkUninitializedProperty("GenerateBlockRankLog");return this.get_objectData().get_properties()["GenerateBlockRankLog"]},set_generateBlockRankLog:function(a){this.get_objectData().get_properties()["GenerateBlockRankLog"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"GenerateBlockRankLog",a));return a},get_hitHighlightedMultivaluePropertyLimit:function(){this.checkUninitializedProperty("HitHighlightedMultivaluePropertyLimit");return this.get_objectData().get_properties()["HitHighlightedMultivaluePropertyLimit"]},set_hitHighlightedMultivaluePropertyLimit:function(a){this.get_objectData().get_properties()["HitHighlightedMultivaluePropertyLimit"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HitHighlightedMultivaluePropertyLimit",a));return a},get_hitHighlightedProperties:function(){var a=this.get_objectData().get_clientObjectProperties()["HitHighlightedProperties"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.StringCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"HitHighlightedProperties"));this.get_objectData().get_clientObjectProperties()["HitHighlightedProperties"]=a}return a},get_ignoreSafeQueryPropertiesTemplateUrl:function(){this.checkUninitializedProperty("IgnoreSafeQueryPropertiesTemplateUrl");return this.get_objectData().get_properties()["IgnoreSafeQueryPropertiesTemplateUrl"]},set_ignoreSafeQueryPropertiesTemplateUrl:function(a){this.get_objectData().get_properties()["IgnoreSafeQueryPropertiesTemplateUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IgnoreSafeQueryPropertiesTemplateUrl",a));return a},get_impressionID:function(){this.checkUninitializedProperty("ImpressionID");return this.get_objectData().get_properties()["ImpressionID"]},set_impressionID:function(a){this.get_objectData().get_properties()["ImpressionID"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ImpressionID",a));return a},get_maxSnippetLength:function(){this.checkUninitializedProperty("MaxSnippetLength");return this.get_objectData().get_properties()["MaxSnippetLength"]},set_maxSnippetLength:function(a){this.get_objectData().get_properties()["MaxSnippetLength"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MaxSnippetLength",a));return a},get_personalizationData:function(){var a=this.get_objectData().get_clientObjectProperties()["PersonalizationData"];if(SP.ScriptUtility.isUndefined(a)){a=new Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PersonalizationData"));this.get_objectData().get_clientObjectProperties()["PersonalizationData"]=a}return a},set_personalizationData:function(a){this.get_objectData().get_clientObjectProperties()["PersonalizationData"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PersonalizationData",a));return a},get_processBestBets:function(){this.checkUninitializedProperty("ProcessBestBets");return this.get_objectData().get_properties()["ProcessBestBets"]},set_processBestBets:function(a){this.get_objectData().get_properties()["ProcessBestBets"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProcessBestBets",a));return a},get_processPersonalFavorites:function(){this.checkUninitializedProperty("ProcessPersonalFavorites");return this.get_objectData().get_properties()["ProcessPersonalFavorites"]},set_processPersonalFavorites:function(a){this.get_objectData().get_properties()["ProcessPersonalFavorites"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProcessPersonalFavorites",a));return a},get_queryTag:function(){this.checkUninitializedProperty("QueryTag");return this.get_objectData().get_properties()["QueryTag"]},set_queryTag:function(a){this.get_objectData().get_properties()["QueryTag"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"QueryTag",a));return a},get_queryTemplate:function(){this.checkUninitializedProperty("QueryTemplate");return this.get_objectData().get_properties()["QueryTemplate"]},set_queryTemplate:function(a){this.get_objectData().get_properties()["QueryTemplate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"QueryTemplate",a));return a},get_queryTemplateParameters:function(){this.checkUninitializedProperty("QueryTemplateParameters");return this.get_objectData().get_properties()["QueryTemplateParameters"]},get_queryText:function(){this.checkUninitializedProperty("QueryText");return this.get_objectData().get_properties()["QueryText"]},set_queryText:function(a){this.get_objectData().get_properties()["QueryText"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"QueryText",a));return a},get_rankingModelId:function(){this.checkUninitializedProperty("RankingModelId");return this.get_objectData().get_properties()["RankingModelId"]},set_rankingModelId:function(a){this.get_objectData().get_properties()["RankingModelId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RankingModelId",a));return a},get_resultsUrl:function(){this.checkUninitializedProperty("ResultsUrl");return this.get_objectData().get_properties()["ResultsUrl"]},set_resultsUrl:function(a){this.get_objectData().get_properties()["ResultsUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResultsUrl",a));return a},get_rowLimit:function(){this.checkUninitializedProperty("RowLimit");return this.get_objectData().get_properties()["RowLimit"]},set_rowLimit:function(a){this.get_objectData().get_properties()["RowLimit"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RowLimit",a));return a},get_rowsPerPage:function(){this.checkUninitializedProperty("RowsPerPage");return this.get_objectData().get_properties()["RowsPerPage"]},set_rowsPerPage:function(a){this.get_objectData().get_properties()["RowsPerPage"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RowsPerPage",a));return a},get_safeQueryPropertiesTemplateUrl:function(){this.checkUninitializedProperty("SafeQueryPropertiesTemplateUrl");return this.get_objectData().get_properties()["SafeQueryPropertiesTemplateUrl"]},set_safeQueryPropertiesTemplateUrl:function(a){this.get_objectData().get_properties()["SafeQueryPropertiesTemplateUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SafeQueryPropertiesTemplateUrl",a));return a},get_showPeopleNameSuggestions:function(){this.checkUninitializedProperty("ShowPeopleNameSuggestions");return this.get_objectData().get_properties()["ShowPeopleNameSuggestions"]},set_showPeopleNameSuggestions:function(a){this.get_objectData().get_properties()["ShowPeopleNameSuggestions"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ShowPeopleNameSuggestions",a));return a},get_sourceId:function(){this.checkUninitializedProperty("SourceId");return this.get_objectData().get_properties()["SourceId"]},set_sourceId:function(a){this.get_objectData().get_properties()["SourceId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SourceId",a));return a},get_startRow:function(){this.checkUninitializedProperty("StartRow");return this.get_objectData().get_properties()["StartRow"]},set_startRow:function(a){this.get_objectData().get_properties()["StartRow"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartRow",a));return a},get_summaryLength:function(){this.checkUninitializedProperty("SummaryLength");return this.get_objectData().get_properties()["SummaryLength"]},set_summaryLength:function(a){this.get_objectData().get_properties()["SummaryLength"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SummaryLength",a));return a},get_timeout:function(){this.checkUninitializedProperty("Timeout");return this.get_objectData().get_properties()["Timeout"]},set_timeout:function(a){this.get_objectData().get_properties()["Timeout"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Timeout",a));return a},get_totalRowsExactMinimum:function(){this.checkUninitializedProperty("TotalRowsExactMinimum");return this.get_objectData().get_properties()["TotalRowsExactMinimum"]},set_totalRowsExactMinimum:function(a){this.get_objectData().get_properties()["TotalRowsExactMinimum"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TotalRowsExactMinimum",a));return a},get_trimDuplicates:function(){this.checkUninitializedProperty("TrimDuplicates");return this.get_objectData().get_properties()["TrimDuplicates"]},set_trimDuplicates:function(a){this.get_objectData().get_properties()["TrimDuplicates"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimDuplicates",a));return a},get_uiLanguage:function(){this.checkUninitializedProperty("UILanguage");return this.get_objectData().get_properties()["UILanguage"]},set_uiLanguage:function(a){this.get_objectData().get_properties()["UILanguage"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UILanguage",a));return a},initPropertiesFromJson:function(b){SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BlockDedupeMode;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BlockDedupeMode"]=a;delete b.BlockDedupeMode}a=b.BypassResultTypes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["BypassResultTypes"]=a;delete b.BypassResultTypes}a=b.ClientType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ClientType"]=a;delete b.ClientType}a=b.Culture;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Culture"]=a;delete b.Culture}a=b.DesiredSnippetLength;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DesiredSnippetLength"]=a;delete b.DesiredSnippetLength}a=b.EnableInterleaving;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnableInterleaving"]=a;delete b.EnableInterleaving}a=b.EnableNicknames;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnableNicknames"]=a;delete b.EnableNicknames}a=b.EnableOrderingHitHighlightedProperty;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnableOrderingHitHighlightedProperty"]=a;delete b.EnableOrderingHitHighlightedProperty}a=b.EnablePhonetic;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnablePhonetic"]=a;delete b.EnablePhonetic}a=b.EnableQueryRules;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnableQueryRules"]=a;delete b.EnableQueryRules}a=b.EnableStemming;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EnableStemming"]=a;delete b.EnableStemming}a=b.GenerateBlockRankLog;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GenerateBlockRankLog"]=a;delete b.GenerateBlockRankLog}a=b.HitHighlightedMultivaluePropertyLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["HitHighlightedMultivaluePropertyLimit"]=a;delete b.HitHighlightedMultivaluePropertyLimit}a=b.HitHighlightedProperties;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("HitHighlightedProperties",this.get_hitHighlightedProperties(),a);this.get_hitHighlightedProperties().fromJson(a);delete b.HitHighlightedProperties}a=b.IgnoreSafeQueryPropertiesTemplateUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IgnoreSafeQueryPropertiesTemplateUrl"]=a;delete b.IgnoreSafeQueryPropertiesTemplateUrl}a=b.ImpressionID;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ImpressionID"]=a;delete b.ImpressionID}a=b.MaxSnippetLength;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MaxSnippetLength"]=a;delete b.MaxSnippetLength}a=b.PersonalizationData;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PersonalizationData",this.get_personalizationData(),a);this.get_personalizationData().fromJson(a);delete b.PersonalizationData}a=b.ProcessBestBets;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProcessBestBets"]=a;delete b.ProcessBestBets}a=b.ProcessPersonalFavorites;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ProcessPersonalFavorites"]=a;delete b.ProcessPersonalFavorites}a=b.QueryTag;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["QueryTag"]=a;delete b.QueryTag}a=b.QueryTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["QueryTemplate"]=a;delete b.QueryTemplate}a=b.QueryTemplateParameters;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["QueryTemplateParameters"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.QueryTemplateParameters}a=b.QueryText;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["QueryText"]=a;delete b.QueryText}a=b.RankingModelId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RankingModelId"]=a;delete b.RankingModelId}a=b.ResultsUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResultsUrl"]=a;delete b.ResultsUrl}a=b.RowLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RowLimit"]=a;delete b.RowLimit}a=b.RowsPerPage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RowsPerPage"]=a;delete b.RowsPerPage}a=b.SafeQueryPropertiesTemplateUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SafeQueryPropertiesTemplateUrl"]=a;delete b.SafeQueryPropertiesTemplateUrl}a=b.ShowPeopleNameSuggestions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ShowPeopleNameSuggestions"]=a;delete b.ShowPeopleNameSuggestions}a=b.SourceId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SourceId"]=a;delete b.SourceId}a=b.StartRow;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartRow"]=a;delete b.StartRow}a=b.SummaryLength;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SummaryLength"]=a;delete b.SummaryLength}a=b.Timeout;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Timeout"]=a;delete b.Timeout}a=b.TotalRowsExactMinimum;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TotalRowsExactMinimum"]=a;delete b.TotalRowsExactMinimum}a=b.TrimDuplicates;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimDuplicates"]=a;delete b.TrimDuplicates}a=b.UILanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UILanguage"]=a;delete b.UILanguage}},getQuerySuggestionsWithResults:function(e,d,h,i,f,g){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetQuerySuggestionsWithResults",[e,d,h,i,f,g]);b.addQuery(c);a=new Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults;b.addQueryIdAndResultObject(c.get_id(),a);return a},getQueryCompletions:function(d,e,f){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetQueryCompletions",[d,e,f]);b.addQuery(c);a=new Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults;b.addQueryIdAndResultObject(c.get_id(),a);return a}};Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames=function(){};Microsoft.SharePoint.Client.Search.Query.QueryObjectPropertyNames=function(){};Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletion=function(){Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletion.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletion.prototype={$H_1:null,$5_1:null,$6_1:0,$s_1:null,get_matches:function(){return this.$H_1},set_matches:function(a){this.$H_1=a;return a},get_query:function(){return this.$5_1},set_query:function(a){this.$5_1=a;return a},get_score:function(){return this.$6_1},set_score:function(a){this.$6_1=a;return a},get_source:function(){return this.$s_1},set_source:function(a){this.$s_1=a;return a},get_typeId:function(){return "{a2967d9c-4de2-4b3e-b803-dde07acede25}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Matches","Query","Score","Source"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Matches;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=[];SP.DataConvert.populateArray(null,this.$H_1,a);delete b.Matches}a=b.Query;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Query}a=b.Score;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=a;delete b.Score}a=b.Source;if(!SP.ScriptUtility.isUndefined(a)){this.$s_1=a;delete b.Source}}};Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionMatch=function(){Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionMatch.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionMatch.prototype={$M_1:false,$e_1:null,$3_1:0,$4_1:null,$6_1:0,$u_1:null,$7_1:0,$z_1:null,get_alternation:function(){return this.$M_1},set_alternation:function(a){this.$M_1=a;return a},get_key:function(){return this.$e_1},set_key:function(a){this.$e_1=a;return a},get_length:function(){return this.$3_1},set_length:function(a){this.$3_1=a;return a},get_matchType:function(){return this.$4_1},set_matchType:function(a){this.$4_1=a;return a},get_score:function(){return this.$6_1},set_score:function(a){this.$6_1=a;return a},get_sourceName:function(){return this.$u_1},set_sourceName:function(a){this.$u_1=a;return a},get_start:function(){return this.$7_1},set_start:function(a){this.$7_1=a;return a},get_value:function(){return this.$z_1},set_value:function(a){this.$z_1=a;return a},get_typeId:function(){return "{a2d57556-71dd-447a-8b8f-00ef0ae9afd5}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Alternation","Key","Length","MatchType","Score","SourceName","Start","Value"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Alternation;if(!SP.ScriptUtility.isUndefined(a)){this.$M_1=a;delete b.Alternation}a=b.Key;if(!SP.ScriptUtility.isUndefined(a)){this.$e_1=a;delete b.Key}a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Length}a=b.MatchType;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.MatchType}a=b.Score;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=a;delete b.Score}a=b.SourceName;if(!SP.ScriptUtility.isUndefined(a)){this.$u_1=a;delete b.SourceName}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Start}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.$z_1=a;delete b.Value}}};Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults=function(){Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults.prototype={$R_1:0,$S_1:null,$1_1:null,get_coreExecutionTimeMs:function(){return this.$R_1},set_coreExecutionTimeMs:function(a){this.$R_1=a;return a},get_correlationId:function(){return this.$S_1},set_correlationId:function(a){this.$S_1=a;return a},get_queries:function(){return this.$1_1},set_queries:function(a){this.$1_1=a;return a},get_typeId:function(){return "{a18d0722-e006-476b-b783-8f64c2859507}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CoreExecutionTimeMs","CorrelationId","Queries"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CoreExecutionTimeMs;if(!SP.ScriptUtility.isUndefined(a)){this.$R_1=a;delete b.CoreExecutionTimeMs}a=b.CorrelationId;if(!SP.ScriptUtility.isUndefined(a)){this.$S_1=a;delete b.CorrelationId}a=b.Queries;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=[];SP.DataConvert.populateArray(null,this.$1_1,a);delete b.Queries}}};Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData=function(a){Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{28d79f49-820a-4d51-bb2a-3309b3f4c54d}",arguments)])};Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData.newObject=function(a,b){return new Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData(a,new SP.ObjectPathConstructor(a,"{28d79f49-820a-4d51-bb2a-3309b3f4c54d}",[b]))};Microsoft.SharePoint.Client.Search.Query.QueryPropertyValue=function(){Microsoft.SharePoint.Client.Search.Query.QueryPropertyValue.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QueryPropertyValue.prototype={$A_1:false,$B_1:0,$0_1:0,$E_1:null,$F_1:null,get_boolVal:function(){return this.$A_1},set_boolVal:function(a){this.$A_1=a;return a},get_intVal:function(){return this.$B_1},set_intVal:function(a){this.$B_1=a;return a},get_queryPropertyValueTypeIndex:function(){return this.$0_1},set_queryPropertyValueTypeIndex:function(a){this.$0_1=a;return a},get_strArray:function(){return this.$E_1},set_strArray:function(a){this.$E_1=a;return a},get_strVal:function(){return this.$F_1},set_strVal:function(a){this.$F_1=a;return a},get_typeId:function(){return "{b25ba502-71d7-4ae4-a701-4ca2fb1223be}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["BoolVal","IntVal","QueryPropertyValueTypeIndex","StrArray","StrVal"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.BoolVal;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.BoolVal}a=b.IntVal;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=a;delete b.IntVal}a=b.QueryPropertyValueTypeIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.QueryPropertyValueTypeIndex}a=b.StrArray;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=SP.DataConvert.fixupType(null,a);delete b.StrArray}a=b.StrVal;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.StrVal}}};Microsoft.SharePoint.Client.Search.Query.QuerySuggestionQuery=function(){Microsoft.SharePoint.Client.Search.Query.QuerySuggestionQuery.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QuerySuggestionQuery.prototype={$b_1:false,$5_1:null,get_isPersonal:function(){return this.$b_1},set_isPersonal:function(a){this.$b_1=a;return a},get_query:function(){return this.$5_1},set_query:function(a){this.$5_1=a;return a},get_typeId:function(){return "{44908c33-c578-4342-905a-ee284b67b415}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["IsPersonal","Query"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsPersonal;if(!SP.ScriptUtility.isUndefined(a)){this.$b_1=a;delete b.IsPersonal}a=b.Query;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Query}}};Microsoft.SharePoint.Client.Search.Query.QuerySuggestionRange=function(){Microsoft.SharePoint.Client.Search.Query.QuerySuggestionRange.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QuerySuggestionRange.prototype={$3_1:0,$7_1:0,get_length:function(){return this.$3_1},set_length:function(a){this.$3_1=a;return a},get_start:function(){return this.$7_1},set_start:function(a){this.$7_1=a;return a},get_typeId:function(){return "{6b42d4ee-3341-42eb-84b8-9dae18493482}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Length","Start"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Length}a=b.Start;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Start}}};Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults=function(){Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults.prototype={$j_1:null,$I_1:null,$1_1:null,get_peopleNames:function(){return this.$j_1},set_peopleNames:function(a){this.$j_1=a;return a},get_personalResults:function(){return this.$I_1},set_personalResults:function(a){this.$I_1=a;return a},get_queries:function(){return this.$1_1},set_queries:function(a){this.$1_1=a;return a},get_typeId:function(){return "{ef071cb4-7fab-4e8d-9480-f15d30dc696d}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["PeopleNames","PersonalResults","Queries"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.PeopleNames;if(!SP.ScriptUtility.isUndefined(a)){this.$j_1=SP.DataConvert.fixupType(null,a);delete b.PeopleNames}a=b.PersonalResults;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=[];SP.DataConvert.populateArray(null,this.$I_1,a);delete b.PersonalResults}a=b.Queries;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=[];SP.DataConvert.populateArray(null,this.$1_1,a);delete b.Queries}}};Microsoft.SharePoint.Client.Search.Query.RankingLabeling=function(a){Microsoft.SharePoint.Client.Search.Query.RankingLabeling.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{e2533389-4387-4ebe-8df7-11af5568aed5}",arguments)])};Microsoft.SharePoint.Client.Search.Query.RankingLabeling.newObject=function(a){return new Microsoft.SharePoint.Client.Search.Query.RankingLabeling(a,new SP.ObjectPathConstructor(a,"{e2533389-4387-4ebe-8df7-11af5568aed5}",null))};Microsoft.SharePoint.Client.Search.Query.RankingLabeling.prototype={getJudgementsForQuery:function(d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetJudgementsForQuery",[d]);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},addJudgment:function(a,e,b){var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"AddJudgment",[a,e,b]);c.addQuery(d)},normalizeResultUrl:function(d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"NormalizeResultUrl",[d]);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};Microsoft.SharePoint.Client.Search.Query.ReorderingRule=function(){Microsoft.SharePoint.Client.Search.Query.ReorderingRule.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.ReorderingRule.prototype={$N_1:0,$4_1:0,$i_1:null,get_boost:function(){return this.$N_1},set_boost:function(a){this.$N_1=a;return a},get_matchType:function(){return this.$4_1},set_matchType:function(a){this.$4_1=a;return a},get_matchValue:function(){return this.$i_1},set_matchValue:function(a){this.$i_1=a;return a},get_typeId:function(){return "{d8566f46-74b1-4d92-ba88-0efd23b36f71}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Boost","MatchType","MatchValue"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Boost;if(!SP.ScriptUtility.isUndefined(a)){this.$N_1=a;delete b.Boost}a=b.MatchType;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=SP.DataConvert.fixupType(null,a);delete b.MatchType}a=b.MatchValue;if(!SP.ScriptUtility.isUndefined(a)){this.$i_1=a;delete b.MatchValue}}};Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection=function(b,a){Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection.initializeBase(this,[b,a])};Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection.prototype={itemAt:function(a){return this.getItemAtIndex(a)},get_item:function(a){return this.getItemAtIndex(a)},get_childItemType:function(){return Microsoft.SharePoint.Client.Search.Query.ReorderingRule},add:function(b,a,c){var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"Add",[b,a,c]);d.addQuery(e)},clear:function(){var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Clear",null);a.addQuery(b)}};Microsoft.SharePoint.Client.Search.Query.ResultTable=function(){Microsoft.SharePoint.Client.Search.Query.ResultTable.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.ResultTable.prototype={$13_1:null,$15_1:null,$C_1:null,$D_1:null,$1A_1:null,$1B_1:null,$1C_1:null,$1D_1:null,$1E_1:0,$1K_1:null,$1L_1:0,$1M_1:0,get_groupTemplateId:function(){return this.$13_1},get_itemTemplateId:function(){return this.$15_1},get_properties:function(){return this.$C_1},get_queryId:function(){return this.$D_1},get_queryRuleId:function(){return this.$1A_1},get_resultRows:function(){return this.$1B_1},get_resultTitle:function(){return this.$1C_1},get_resultTitleUrl:function(){return this.$1D_1},get_rowCount:function(){return this.$1E_1},get_tableType:function(){return this.$1K_1},get_totalRows:function(){return this.$1L_1},get_totalRowsIncludingDuplicates:function(){return this.$1M_1},get_typeId:function(){return "{6780df59-1036-4912-829b-432354f22656}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["GroupTemplateId","ItemTemplateId","Properties","QueryId","QueryRuleId","ResultRows","ResultTitle","ResultTitleUrl","RowCount","TableType","TotalRows","TotalRowsIncludingDuplicates"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.GroupTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.$13_1=a;delete b.GroupTemplateId}a=b.ItemTemplateId;if(!SP.ScriptUtility.isUndefined(a)){this.$15_1=a;delete b.ItemTemplateId}a=b.Properties;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=SP.DataConvert.fixupType(null,a);delete b.Properties}a=b.QueryId;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.QueryId}a=b.QueryRuleId;if(!SP.ScriptUtility.isUndefined(a)){this.$1A_1=a;delete b.QueryRuleId}a=b.ResultRows;if(!SP.ScriptUtility.isUndefined(a)){this.$1B_1=SP.DataConvert.fixupType(null,a);delete b.ResultRows}a=b.ResultTitle;if(!SP.ScriptUtility.isUndefined(a)){this.$1C_1=a;delete b.ResultTitle}a=b.ResultTitleUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$1D_1=a;delete b.ResultTitleUrl}a=b.RowCount;if(!SP.ScriptUtility.isUndefined(a)){this.$1E_1=a;delete b.RowCount}a=b.TableType;if(!SP.ScriptUtility.isUndefined(a)){this.$1K_1=a;delete b.TableType}a=b.TotalRows;if(!SP.ScriptUtility.isUndefined(a)){this.$1L_1=a;delete b.TotalRows}a=b.TotalRowsIncludingDuplicates;if(!SP.ScriptUtility.isUndefined(a)){this.$1M_1=a;delete b.TotalRowsIncludingDuplicates}}};Microsoft.SharePoint.Client.Search.Query.ResultTableCollection=function(){Microsoft.SharePoint.Client.Search.Query.ResultTableCollection.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.ResultTableCollection.prototype={$X_2:0,$C_2:null,$19_2:null,$D_2:null,$1I_2:null,$1N_2:null,add:function(a){this.addChild(a)},get_item:function(a){return this.getItemAtIndex(a)},get_elapsedTime:function(){return this.$X_2},set_elapsedTime:function(a){this.$X_2=a;return a},get_properties:function(){return this.$C_2},get_queryErrors:function(){return this.$19_2},get_queryId:function(){return this.$D_2},get_spellingSuggestion:function(){return this.$1I_2},get_triggeredRules:function(){return this.$1N_2},get_typeId:function(){return "{11f20d08-7f42-49c1-8c0c-8ee4c32b203e}"},get_childItemsName:function(){return "ResultTables"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ElapsedTime","Properties","QueryErrors","QueryId","SpellingSuggestion","TriggeredRules"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObjectCollection.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ElapsedTime;if(!SP.ScriptUtility.isUndefined(a)){this.$X_2=a;delete b.ElapsedTime}a=b.Properties;if(!SP.ScriptUtility.isUndefined(a)){this.$C_2=SP.DataConvert.fixupType(null,a);delete b.Properties}a=b.QueryErrors;if(!SP.ScriptUtility.isUndefined(a)){this.$19_2=SP.DataConvert.fixupType(null,a);delete b.QueryErrors}a=b.QueryId;if(!SP.ScriptUtility.isUndefined(a)){this.$D_2=a;delete b.QueryId}a=b.SpellingSuggestion;if(!SP.ScriptUtility.isUndefined(a)){this.$1I_2=a;delete b.SpellingSuggestion}a=b.TriggeredRules;if(!SP.ScriptUtility.isUndefined(a)){this.$1N_2=SP.DataConvert.fixupType(null,a);delete b.TriggeredRules}}};Microsoft.SharePoint.Client.Search.Query.SearchExecutor=function(a){Microsoft.SharePoint.Client.Search.Query.SearchExecutor.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{8d2ac302-db2f-46fe-9015-872b35f15098}",arguments)])};Microsoft.SharePoint.Client.Search.Query.SearchExecutor.newObject=function(a){return new Microsoft.SharePoint.Client.Search.Query.SearchExecutor(a,new SP.ObjectPathConstructor(a,"{8d2ac302-db2f-46fe-9015-872b35f15098}",null))};Microsoft.SharePoint.Client.Search.Query.SearchExecutor.prototype={executeQuery:function(d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExecuteQuery",[d]);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},executeQueries:function(e,f,d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExecuteQueries",[e,f,d]);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},recordPageClick:function(i,h,g,c,e,b,a,d,f){var j=this.get_context(),k=new SP.ClientActionInvokeMethod(this,"RecordPageClick",[i,h,g,c,e,b,a,d,f]);j.addQuery(k)},exportPopularQueries:function(e,d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExportPopularQueries",[e,d]);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPromotedResults:function(d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPromotedResults",[d]);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};Microsoft.SharePoint.Client.Search.Query.Sort=function(){Microsoft.SharePoint.Client.Search.Query.Sort.initializeBase(this)};Microsoft.SharePoint.Client.Search.Query.Sort.prototype={$V_1:0,$k_1:null,get_direction:function(){return this.$V_1},set_direction:function(a){this.$V_1=a;return a},get_property:function(){return this.$k_1},set_property:function(a){this.$k_1=a;return a},get_typeId:function(){return "{2cd54ef7-c2b3-4405-bce3-ec521d35a7eb}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Direction","Property"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Direction;if(!SP.ScriptUtility.isUndefined(a)){this.$V_1=SP.DataConvert.fixupType(null,a);delete b.Direction}a=b.Property;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=a;delete b.Property}}};Microsoft.SharePoint.Client.Search.Query.SortCollection=function(b,a){Microsoft.SharePoint.Client.Search.Query.SortCollection.initializeBase(this,[b,a])};Microsoft.SharePoint.Client.Search.Query.SortCollection.prototype={itemAt:function(a){return this.getItemAtIndex(a)},get_item:function(a){return this.getItemAtIndex(a)},get_childItemType:function(){return Microsoft.SharePoint.Client.Search.Query.Sort},add:function(a,b){var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"Add",[a,b]);c.addQuery(d)},clear:function(){var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Clear",null);a.addQuery(b)}};Microsoft.SharePoint.Client.Search.Query.StringCollection=function(a){Microsoft.SharePoint.Client.Search.Query.StringCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{17c6c8ba-c570-4db1-993a-fbacf4e4ef07}",arguments)])};Microsoft.SharePoint.Client.Search.Query.StringCollection.newObject=function(a){return new Microsoft.SharePoint.Client.Search.Query.StringCollection(a,new SP.ObjectPathConstructor(a,"{17c6c8ba-c570-4db1-993a-fbacf4e4ef07}",null))};Microsoft.SharePoint.Client.Search.Query.StringCollection.prototype={itemAt:function(a){return this.getItemAtIndex(a)},get_item:function(a){return this.getItemAtIndex(a)},get_childItemType:function(){return String},add:function(a){var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Add",[a]);b.addQuery(c)},clear:function(){var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Clear",null);a.addQuery(b)}};Type.registerNamespace("Microsoft.Office.Server.Search.REST");Microsoft.Office.Server.Search.REST.ContextCondition=function(){Microsoft.Office.Server.Search.REST.ContextCondition.initializeBase(this)};Microsoft.Office.Server.Search.REST.ContextCondition.prototype={$Q_1:null,$t_1:null,get_contextConditionType:function(){return this.$Q_1},set_contextConditionType:function(a){this.$Q_1=a;return a},get_sourceId:function(){return this.$t_1},set_sourceId:function(a){this.$t_1=a;return a},get_typeId:function(){return "{d1d5434c-02e4-4e69-81cd-3f4e1a07937d}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ContextConditionType","SourceId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ContextConditionType;if(!SP.ScriptUtility.isUndefined(a)){this.$Q_1=a;delete b.ContextConditionType}a=b.SourceId;if(!SP.ScriptUtility.isUndefined(a)){this.$t_1=a;delete b.SourceId}}};Microsoft.Office.Server.Search.REST.PromotedResultQueryRule=function(){Microsoft.Office.Server.Search.REST.PromotedResultQueryRule.initializeBase(this)};Microsoft.Office.Server.Search.REST.PromotedResultQueryRule.prototype={$P_1:null,$G_1:null,$T_1:null,$W_1:null,$Y_1:null,$c_1:false,$f_1:null,$J_1:null,$K_1:null,$o_1:null,$v_1:null,get_contact:function(){return this.$P_1},set_contact:function(a){this.$P_1=a;return a},get_contextConditions:function(){return this.$G_1},set_contextConditions:function(a){this.$G_1=a;return a},get_creationDate:function(){return this.$T_1},set_creationDate:function(a){this.$T_1=a;return a},get_displayName:function(){return this.$W_1},set_displayName:function(a){this.$W_1=a;return a},get_endDate:function(){return this.$Y_1},set_endDate:function(a){this.$Y_1=a;return a},get_isPromotedResultsOnly:function(){return this.$c_1},set_isPromotedResultsOnly:function(a){this.$c_1=a;return a},get_lastModifiedDate:function(){return this.$f_1},set_lastModifiedDate:function(a){this.$f_1=a;return a},get_promotedResults:function(){return this.$J_1},set_promotedResults:function(a){this.$J_1=a;return a},get_queryConditions:function(){return this.$K_1},set_queryConditions:function(a){this.$K_1=a;return a},get_reviewDate:function(){return this.$o_1},set_reviewDate:function(a){this.$o_1=a;return a},get_startDate:function(){return this.$v_1},set_startDate:function(a){this.$v_1=a;return a},get_typeId:function(){return "{3d66dac4-a5ad-4b67-812b-937c59223204}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Contact","ContextConditions","CreationDate","DisplayName","EndDate","IsPromotedResultsOnly","LastModifiedDate","PromotedResults","QueryConditions","ReviewDate","StartDate"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Contact;if(!SP.ScriptUtility.isUndefined(a)){this.$P_1=a;delete b.Contact}a=b.ContextConditions;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=[];SP.DataConvert.populateArray(null,this.$G_1,a);delete b.ContextConditions}a=b.CreationDate;if(!SP.ScriptUtility.isUndefined(a)){this.$T_1=a;delete b.CreationDate}a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.$W_1=a;delete b.DisplayName}a=b.EndDate;if(!SP.ScriptUtility.isUndefined(a)){this.$Y_1=a;delete b.EndDate}a=b.IsPromotedResultsOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.IsPromotedResultsOnly}a=b.LastModifiedDate;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=a;delete b.LastModifiedDate}a=b.PromotedResults;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=[];SP.DataConvert.populateArray(null,this.$J_1,a);delete b.PromotedResults}a=b.QueryConditions;if(!SP.ScriptUtility.isUndefined(a)){this.$K_1=[];SP.DataConvert.populateArray(null,this.$K_1,a);delete b.QueryConditions}a=b.ReviewDate;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=a;delete b.ReviewDate}a=b.StartDate;if(!SP.ScriptUtility.isUndefined(a)){this.$v_1=a;delete b.StartDate}}};Microsoft.Office.Server.Search.REST.PromotedResults=function(){Microsoft.Office.Server.Search.REST.PromotedResults.initializeBase(this)};Microsoft.Office.Server.Search.REST.PromotedResults.prototype={$U_1:null,$d_1:false,$g_1:null,$8_1:null,$9_1:null,get_description:function(){return this.$U_1},set_description:function(a){this.$U_1=a;return a},get_isVisual:function(){return this.$d_1},set_isVisual:function(a){this.$d_1=a;return a},get_lastModifiedTime:function(){return this.$g_1},set_lastModifiedTime:function(a){this.$g_1=a;return a},get_title:function(){return this.$8_1},set_title:function(a){this.$8_1=a;return a},get_url:function(){return this.$9_1},set_url:function(a){this.$9_1=a;return a},get_typeId:function(){return "{eb8e9d33-5adf-40dc-883a-e4e862070e71}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Description","IsVisual","LastModifiedTime","Title","Url"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$U_1=a;delete b.Description}a=b.IsVisual;if(!SP.ScriptUtility.isUndefined(a)){this.$d_1=a;delete b.IsVisual}a=b.LastModifiedTime;if(!SP.ScriptUtility.isUndefined(a)){this.$g_1=a;delete b.LastModifiedTime}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Title}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.Url}}};Microsoft.Office.Server.Search.REST.PromotedResultsOperationsResult=function(){Microsoft.Office.Server.Search.REST.PromotedResultsOperationsResult.initializeBase(this)};Microsoft.Office.Server.Search.REST.PromotedResultsOperationsResult.prototype={$L_1:null,$p_1:null,get_result:function(){return this.$L_1},set_result:function(a){this.$L_1=a;return a},get_searchObjectOwner:function(){return this.$p_1},set_searchObjectOwner:function(a){this.$p_1=a;return a},get_typeId:function(){return "{79c14aea-3c92-4181-932b-a4db9d0ff597}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Result","SearchObjectOwner"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Result;if(!SP.ScriptUtility.isUndefined(a)){this.$L_1=[];SP.DataConvert.populateArray(null,this.$L_1,a);delete b.Result}a=b.SearchObjectOwner;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=SP.DataConvert.fixupType(null,a);delete b.SearchObjectOwner}}};Microsoft.Office.Server.Search.REST.QueryCondition=function(){Microsoft.Office.Server.Search.REST.QueryCondition.initializeBase(this)};Microsoft.Office.Server.Search.REST.QueryCondition.prototype={$2_1:0,$h_1:null,$l_1:null,$w_1:null,$y_1:null,get_LCID:function(){return this.$2_1},set_LCID:function(a){this.$2_1=a;return a},get_matchingOptions:function(){return this.$h_1},set_matchingOptions:function(a){this.$h_1=a;return a},get_queryConditionType:function(){return this.$l_1},set_queryConditionType:function(a){this.$l_1=a;return a},get_subjectTermsOrigin:function(){return this.$w_1},set_subjectTermsOrigin:function(a){this.$w_1=a;return a},get_terms:function(){return this.$y_1},set_terms:function(a){this.$y_1=a;return a},get_typeId:function(){return "{ff443aec-c8ee-49ea-8e57-4678d78000a5}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["LCID","MatchingOptions","QueryConditionType","SubjectTermsOrigin","Terms"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.LCID;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.LCID}a=b.MatchingOptions;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.MatchingOptions}a=b.QueryConditionType;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=a;delete b.QueryConditionType}a=b.SubjectTermsOrigin;if(!SP.ScriptUtility.isUndefined(a)){this.$w_1=a;delete b.SubjectTermsOrigin}a=b.Terms;if(!SP.ScriptUtility.isUndefined(a)){this.$y_1=SP.DataConvert.fixupType(null,a);delete b.Terms}}};Microsoft.Office.Server.Search.REST.SearchObjectOwnerResult=function(){Microsoft.Office.Server.Search.REST.SearchObjectOwnerResult.initializeBase(this)};Microsoft.Office.Server.Search.REST.SearchObjectOwnerResult.prototype={$q_1:null,$r_1:null,$x_1:null,get_siteCollectionId:function(){return this.$q_1},set_siteCollectionId:function(a){this.$q_1=a;return a},get_siteId:function(){return this.$r_1},set_siteId:function(a){this.$r_1=a;return a},get_tenantId:function(){return this.$x_1},set_tenantId:function(a){this.$x_1=a;return a},get_typeId:function(){return "{7f6dc0fc-c9bf-4835-9db2-07803bfd6cb6}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["SiteCollectionId","SiteId","TenantId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.SiteCollectionId;if(!SP.ScriptUtility.isUndefined(a)){this.$q_1=a;delete b.SiteCollectionId}a=b.SiteId;if(!SP.ScriptUtility.isUndefined(a)){this.$r_1=a;delete b.SiteId}a=b.TenantId;if(!SP.ScriptUtility.isUndefined(a)){this.$x_1=a;delete b.TenantId}}};Type.registerNamespace("Microsoft.Office.Server.Search.WebControls");Microsoft.Office.Server.Search.WebControls.MessageLevel=function(){};Microsoft.Office.Server.Search.WebControls.MessageLevel.prototype={information:0,warning:1,error:2};Microsoft.Office.Server.Search.WebControls.MessageLevel.registerEnum("Microsoft.Office.Server.Search.WebControls.MessageLevel",false);Microsoft.Office.Server.Search.WebControls.ControlMessage=function(){Microsoft.Office.Server.Search.WebControls.ControlMessage.initializeBase(this)};Microsoft.Office.Server.Search.WebControls.ControlMessage.prototype={$10_1:0,$11_1:null,$12_1:false,$14_1:null,$16_1:0,$17_1:null,$18_1:null,$1F_1:null,$1G_1:false,$1H_1:false,$1J_1:null,$1O_1:null,get_code:function(){return this.$10_1},get_correlationID:function(){return this.$11_1},get_encodeDetails:function(){return this.$12_1},get_header:function(){return this.$14_1},get_level:function(){return this.$16_1},get_messageDetails:function(){return this.$17_1},get_messageDetailsForViewers:function(){return this.$18_1},get_serverTypeId:function(){return this.$1F_1},get_showForViewerUsers:function(){return this.$1G_1},get_showInEditModeOnly:function(){return this.$1H_1},get_stackTrace:function(){return this.$1J_1},get_type:function(){return this.$1O_1},get_typeId:function(){return "{d3dfef63-4d44-497d-b936-047135645ad7}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["code","correlationID","encodeDetails","header","level","messageDetails","messageDetailsForViewers","serverTypeId","showForViewerUsers","showInEditModeOnly","stackTrace","type"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.code;if(!SP.ScriptUtility.isUndefined(a)){this.$10_1=a;delete b.code}a=b.correlationID;if(!SP.ScriptUtility.isUndefined(a)){this.$11_1=a;delete b.correlationID}a=b.encodeDetails;if(!SP.ScriptUtility.isUndefined(a)){this.$12_1=a;delete b.encodeDetails}a=b.header;if(!SP.ScriptUtility.isUndefined(a)){this.$14_1=a;delete b.header}a=b.level;if(!SP.ScriptUtility.isUndefined(a)){this.$16_1=SP.DataConvert.fixupType(null,a);delete b.level}a=b.messageDetails;if(!SP.ScriptUtility.isUndefined(a)){this.$17_1=a;delete b.messageDetails}a=b.messageDetailsForViewers;if(!SP.ScriptUtility.isUndefined(a)){this.$18_1=a;delete b.messageDetailsForViewers}a=b.serverTypeId;if(!SP.ScriptUtility.isUndefined(a)){this.$1F_1=a;delete b.serverTypeId}a=b.showForViewerUsers;if(!SP.ScriptUtility.isUndefined(a)){this.$1G_1=a;delete b.showForViewerUsers}a=b.showInEditModeOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$1H_1=a;delete b.showInEditModeOnly}a=b.stackTrace;if(!SP.ScriptUtility.isUndefined(a)){this.$1J_1=a;delete b.stackTrace}a=b.type;if(!SP.ScriptUtility.isUndefined(a)){this.$1O_1=a;delete b.type}}};Type.registerNamespace("Microsoft.SharePoint.Client.Search.Administration");Microsoft.SharePoint.Client.Search.Administration.SearchObjectLevel=function(){};Microsoft.SharePoint.Client.Search.Administration.SearchObjectLevel.prototype={spWeb:0,spSite:1,spSiteSubscription:2,ssa:3};Microsoft.SharePoint.Client.Search.Administration.SearchObjectLevel.registerEnum("Microsoft.SharePoint.Client.Search.Administration.SearchObjectLevel",false);Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog=function(a){Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{5c5cfd42-0712-4c00-ae49-23b33ba34ecc}",arguments)])};Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog.newObject=function(a,b){return new Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog(a,new SP.ObjectPathConstructor(a,"{5c5cfd42-0712-4c00-ae49-23b33ba34ecc}",[b]))};Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog.prototype={getCrawledUrls:function(f,k,h,l,d,i,j,e,g){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetCrawledUrls",[f,k,h,l,d,i,j,e,g]);b.addQuery(c);a=new SP.ClientResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwner=function(a){Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwner.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{e6834c69-54c1-4bfc-9805-4b88406c28bb}",arguments)])};Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwner.newObject=function(a,b){return new Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwner(a,new SP.ObjectPathConstructor(a,"{e6834c69-54c1-4bfc-9805-4b88406c28bb}",[b]))};Type.registerNamespace("Microsoft.SharePoint.Client.Search.ContentPush");Microsoft.SharePoint.Client.Search.ContentPush.CertificateService=function(a){Microsoft.SharePoint.Client.Search.ContentPush.CertificateService.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{b9e0db1d-0b4c-4010-9ea5-43e1bc7041d0}",arguments)])};Microsoft.SharePoint.Client.Search.ContentPush.CertificateService.newObject=function(a){return new Microsoft.SharePoint.Client.Search.ContentPush.CertificateService(a,new SP.ObjectPathConstructor(a,"{b9e0db1d-0b4c-4010-9ea5-43e1bc7041d0}",null))};Microsoft.SharePoint.Client.Search.ContentPush.CertificateService.prototype={validContentEncryptionCertificates:function(){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ValidContentEncryptionCertificates",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},certificateSettings:function(){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CertificateSettings",null);b.addQuery(c);a=new SP.ClientResult;b.addQueryIdAndResultObject(c.get_id(),new SP.ClientDictionaryResultHandler(a));return a}};Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager=function(a){Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{098ad99c-6f30-478b-9ea7-f8c3ab3f0083}",arguments)])};Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager.newObject=function(a){return new Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager(a,new SP.ObjectPathConstructor(a,"{098ad99c-6f30-478b-9ea7-f8c3ab3f0083}",null))};Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager.prototype={preparePushTenant:function(){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PreparePushTenant",null);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPushServiceInfo:function(){var a=this.get_context(),b;b=new Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfo(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPushServiceInfo",null));return b},deleteAllCloudHybridSearchContent:function(){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeleteAllCloudHybridSearchContent",null);b.addQuery(c);a=new SP.JsonObjectResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfo=function(b,a){Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfo.initializeBase(this,[b,a])};Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfo.prototype={get_authenticationRealm:function(){this.checkUninitializedProperty("AuthenticationRealm");return this.get_objectData().get_properties()["AuthenticationRealm"]},get_endpointAddress:function(){this.checkUninitializedProperty("EndpointAddress");return this.get_objectData().get_properties()["EndpointAddress"]},get_serviceProperties:function(){this.checkUninitializedProperty("ServiceProperties");return this.get_objectData().get_properties()["ServiceProperties"]},get_tenantId:function(){this.checkUninitializedProperty("TenantId");return this.get_objectData().get_properties()["TenantId"]},get_validContentEncryptionCertificates:function(){this.checkUninitializedProperty("ValidContentEncryptionCertificates");return this.get_objectData().get_properties()["ValidContentEncryptionCertificates"]},get_validUntil:function(){this.checkUninitializedProperty("ValidUntil");return this.get_objectData().get_properties()["ValidUntil"]},initPropertiesFromJson:function(b){SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AuthenticationRealm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AuthenticationRealm"]=a;delete b.AuthenticationRealm}a=b.EndpointAddress;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EndpointAddress"]=a;delete b.EndpointAddress}a=b.ServiceProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ServiceProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ServiceProperties}a=b.TenantId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TenantId"]=a;delete b.TenantId}a=b.ValidContentEncryptionCertificates;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ValidContentEncryptionCertificates"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ValidContentEncryptionCertificates}a=b.ValidUntil;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ValidUntil"]=a;delete b.ValidUntil}}};Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames=function(){};Type.registerNamespace("Microsoft.SharePoint.Client.Search.Portability");Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability=function(a){Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{f44b2c90-ddc4-49c8-8d4d-4fb56dcc3247}",arguments)])};Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability.newObject=function(a){return new Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability(a,new SP.ObjectPathConstructor(a,"{f44b2c90-ddc4-49c8-8d4d-4fb56dcc3247}",null))};Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability.prototype={get_importWarnings:function(){this.checkUninitializedProperty("ImportWarnings");return this.get_objectData().get_properties()["ImportWarnings"]},initPropertiesFromJson:function(a){SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.ImportWarnings;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["ImportWarnings"]=b;delete a.ImportWarnings}},exportSearchConfiguration:function(d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExportSearchConfiguration",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},importSearchConfiguration:function(b,a){var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"ImportSearchConfiguration",[b,a]);c.addQuery(d)},deleteSearchConfiguration:function(b,a){var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"DeleteSearchConfiguration",[b,a]);c.addQuery(d)}};Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortabilityPropertyNames=function(){};Microsoft.SharePoint.Client.Search.Query.KeywordQueryProperties.registerClass("Microsoft.SharePoint.Client.Search.Query.KeywordQueryProperties",SP.ClientObject);Microsoft.SharePoint.Client.Search.Query.QueryUtility.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryUtility");Microsoft.SharePoint.Client.Search.Query.Query.registerClass("Microsoft.SharePoint.Client.Search.Query.Query",SP.ClientObject);Microsoft.SharePoint.Client.Search.Query.KeywordQuery.registerClass("Microsoft.SharePoint.Client.Search.Query.KeywordQuery",Microsoft.SharePoint.Client.Search.Query.Query);Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.registerClass("Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames");Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames.registerClass("Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames");Microsoft.SharePoint.Client.Search.Query.PersonalResultSuggestion.registerClass("Microsoft.SharePoint.Client.Search.Query.PersonalResultSuggestion",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.PopularQuery.registerClass("Microsoft.SharePoint.Client.Search.Query.PopularQuery",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames");Microsoft.SharePoint.Client.Search.Query.QueryObjectPropertyNames.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryObjectPropertyNames");Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletion.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletion",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionMatch.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionMatch",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryAutoCompletionResults",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryPersonalizationData",SP.ClientObject);Microsoft.SharePoint.Client.Search.Query.QueryPropertyValue.registerClass("Microsoft.SharePoint.Client.Search.Query.QueryPropertyValue",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QuerySuggestionQuery.registerClass("Microsoft.SharePoint.Client.Search.Query.QuerySuggestionQuery",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QuerySuggestionRange.registerClass("Microsoft.SharePoint.Client.Search.Query.QuerySuggestionRange",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults.registerClass("Microsoft.SharePoint.Client.Search.Query.QuerySuggestionResults",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.RankingLabeling.registerClass("Microsoft.SharePoint.Client.Search.Query.RankingLabeling",SP.ClientObject);Microsoft.SharePoint.Client.Search.Query.ReorderingRule.registerClass("Microsoft.SharePoint.Client.Search.Query.ReorderingRule",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection.registerClass("Microsoft.SharePoint.Client.Search.Query.ReorderingRuleCollection",SP.ClientObjectCollection);Microsoft.SharePoint.Client.Search.Query.ResultTable.registerClass("Microsoft.SharePoint.Client.Search.Query.ResultTable",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.ResultTableCollection.registerClass("Microsoft.SharePoint.Client.Search.Query.ResultTableCollection",SP.ClientValueObjectCollection);Microsoft.SharePoint.Client.Search.Query.SearchExecutor.registerClass("Microsoft.SharePoint.Client.Search.Query.SearchExecutor",SP.ClientObject);Microsoft.SharePoint.Client.Search.Query.Sort.registerClass("Microsoft.SharePoint.Client.Search.Query.Sort",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Query.SortCollection.registerClass("Microsoft.SharePoint.Client.Search.Query.SortCollection",SP.ClientObjectCollection);Microsoft.SharePoint.Client.Search.Query.StringCollection.registerClass("Microsoft.SharePoint.Client.Search.Query.StringCollection",SP.ClientObjectCollection);Microsoft.Office.Server.Search.REST.ContextCondition.registerClass("Microsoft.Office.Server.Search.REST.ContextCondition",SP.ClientValueObject);Microsoft.Office.Server.Search.REST.PromotedResultQueryRule.registerClass("Microsoft.Office.Server.Search.REST.PromotedResultQueryRule",SP.ClientValueObject);Microsoft.Office.Server.Search.REST.PromotedResults.registerClass("Microsoft.Office.Server.Search.REST.PromotedResults",SP.ClientValueObject);Microsoft.Office.Server.Search.REST.PromotedResultsOperationsResult.registerClass("Microsoft.Office.Server.Search.REST.PromotedResultsOperationsResult",SP.ClientValueObject);Microsoft.Office.Server.Search.REST.QueryCondition.registerClass("Microsoft.Office.Server.Search.REST.QueryCondition",SP.ClientValueObject);Microsoft.Office.Server.Search.REST.SearchObjectOwnerResult.registerClass("Microsoft.Office.Server.Search.REST.SearchObjectOwnerResult",SP.ClientValueObject);Microsoft.Office.Server.Search.WebControls.ControlMessage.registerClass("Microsoft.Office.Server.Search.WebControls.ControlMessage",SP.ClientValueObject);Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog.registerClass("Microsoft.SharePoint.Client.Search.Administration.DocumentCrawlLog",SP.ClientObject);Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwner.registerClass("Microsoft.SharePoint.Client.Search.Administration.SearchObjectOwner",SP.ClientObject);Microsoft.SharePoint.Client.Search.ContentPush.CertificateService.registerClass("Microsoft.SharePoint.Client.Search.ContentPush.CertificateService",SP.ClientObject);Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager.registerClass("Microsoft.SharePoint.Client.Search.ContentPush.PushTenantManager",SP.ClientObject);Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfo.registerClass("Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfo",SP.ClientObject);Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.registerClass("Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames");Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability.registerClass("Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortability",SP.ClientObject);Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortabilityPropertyNames.registerClass("Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortabilityPropertyNames");Microsoft.SharePoint.Client.Search.Query.QueryUtility.$1P=[null,String,Number,Boolean,Array];Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.collapseSpecification="CollapseSpecification";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.enableSorting="EnableSorting";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.hiddenConstraints="HiddenConstraints";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.olsQuerySession="OLSQuerySession";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.refiners="Refiners";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.timeZoneId="TimeZoneId";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.trimDuplicatesIncludeId="TrimDuplicatesIncludeId";Microsoft.SharePoint.Client.Search.Query.KeywordQueryPropertyNames.useOLSQuery="UseOLSQuery";Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames.properties="Properties";Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames.refinementFilters="RefinementFilters";Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames.reorderingRules="ReorderingRules";Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames.selectProperties="SelectProperties";Microsoft.SharePoint.Client.Search.Query.KeywordQueryObjectPropertyNames.sortList="SortList";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.blockDedupeMode="BlockDedupeMode";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.bypassResultTypes="BypassResultTypes";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.clientType="ClientType";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.culture="Culture";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.desiredSnippetLength="DesiredSnippetLength";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.enableInterleaving="EnableInterleaving";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.enableNicknames="EnableNicknames";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.enableOrderingHitHighlightedProperty="EnableOrderingHitHighlightedProperty";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.enablePhonetic="EnablePhonetic";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.enableQueryRules="EnableQueryRules";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.enableStemming="EnableStemming";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.generateBlockRankLog="GenerateBlockRankLog";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.hitHighlightedMultivaluePropertyLimit="HitHighlightedMultivaluePropertyLimit";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.ignoreSafeQueryPropertiesTemplateUrl="IgnoreSafeQueryPropertiesTemplateUrl";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.impressionID="ImpressionID";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.maxSnippetLength="MaxSnippetLength";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.processBestBets="ProcessBestBets";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.processPersonalFavorites="ProcessPersonalFavorites";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.queryTag="QueryTag";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.queryTemplate="QueryTemplate";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.queryTemplateParameters="QueryTemplateParameters";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.queryText="QueryText";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.rankingModelId="RankingModelId";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.resultsUrl="ResultsUrl";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.rowLimit="RowLimit";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.rowsPerPage="RowsPerPage";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.safeQueryPropertiesTemplateUrl="SafeQueryPropertiesTemplateUrl";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.showPeopleNameSuggestions="ShowPeopleNameSuggestions";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.sourceId="SourceId";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.startRow="StartRow";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.summaryLength="SummaryLength";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.timeout="Timeout";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.totalRowsExactMinimum="TotalRowsExactMinimum";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.trimDuplicates="TrimDuplicates";Microsoft.SharePoint.Client.Search.Query.QueryPropertyNames.uiLanguage="UILanguage";Microsoft.SharePoint.Client.Search.Query.QueryObjectPropertyNames.hitHighlightedProperties="HitHighlightedProperties";Microsoft.SharePoint.Client.Search.Query.QueryObjectPropertyNames.personalizationData="PersonalizationData";Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.authenticationRealm="AuthenticationRealm";Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.endpointAddress="EndpointAddress";Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.serviceProperties="ServiceProperties";Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.tenantId="TenantId";Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.validContentEncryptionCertificates="ValidContentEncryptionCertificates";Microsoft.SharePoint.Client.Search.ContentPush.PushTenantServiceInfoPropertyNames.validUntil="ValidUntil";Microsoft.SharePoint.Client.Search.Portability.SearchConfigurationPortabilityPropertyNames.importWarnings="ImportWarnings";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("sp.search.js") \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.taxonomy.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.taxonomy.js deleted file mode 100644 index a499a65fc..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.taxonomy.js +++ /dev/null @@ -1 +0,0 @@ -function ULSrhV(){var a={};a.ULSTeamName="Office Server";a.ULSFileName="SP.Taxonomy.jss";return a}Type.registerNamespace("SP.Taxonomy");SP.Taxonomy.ChangedItemType=function(){};SP.Taxonomy.ChangedItemType.prototype={unknown:0,term:1,termSet:2,group:3,termStore:4,site:5};SP.Taxonomy.ChangedItemType.registerEnum("SP.Taxonomy.ChangedItemType",false);SP.Taxonomy.ChangedOperationType=function(){};SP.Taxonomy.ChangedOperationType.prototype={unknown:0,add:1,edit:2,deleteObject:3,move:4,copy:5,pathChange:6,merge:7,importObject:8,restore:9};SP.Taxonomy.ChangedOperationType.registerEnum("SP.Taxonomy.ChangedOperationType",false);SP.Taxonomy.StringMatchOption=function(){};SP.Taxonomy.StringMatchOption.prototype={startsWith:0,exactMatch:1};SP.Taxonomy.StringMatchOption.registerEnum("SP.Taxonomy.StringMatchOption",false);SP.Taxonomy.ChangedGroup=function(b,a){a:;SP.Taxonomy.ChangedGroup.initializeBase(this,[b,a])};SP.Taxonomy.ChangedItem=function(b,a){a:;SP.Taxonomy.ChangedItem.initializeBase(this,[b,a])};SP.Taxonomy.ChangedItem.prototype={get_changedBy:function(){a:;this.checkUninitializedProperty("ChangedBy");return this.get_objectData().get_properties()["ChangedBy"]},get_changedTime:function(){a:;this.checkUninitializedProperty("ChangedTime");return this.get_objectData().get_properties()["ChangedTime"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_itemType:function(){a:;this.checkUninitializedProperty("ItemType");return this.get_objectData().get_properties()["ItemType"]},get_operation:function(){a:;this.checkUninitializedProperty("Operation");return this.get_objectData().get_properties()["Operation"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ChangedBy;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedBy"]=a;delete b.ChangedBy}a=b.ChangedTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedTime"]=a;delete b.ChangedTime}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ItemType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ItemType}a=b.Operation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Operation"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Operation}}};SP.Taxonomy.ChangedItemPropertyNames=function(){};SP.Taxonomy.ChangedItemCollection=function(b,a){a:;SP.Taxonomy.ChangedItemCollection.initializeBase(this,[b,a])};SP.Taxonomy.ChangedItemCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.ChangedItem}};SP.Taxonomy.ChangedSite=function(b,a){a:;SP.Taxonomy.ChangedSite.initializeBase(this,[b,a])};SP.Taxonomy.ChangedSite.prototype={get_siteId:function(){a:;this.checkUninitializedProperty("SiteId");return this.get_objectData().get_properties()["SiteId"]},get_termId:function(){a:;this.checkUninitializedProperty("TermId");return this.get_objectData().get_properties()["TermId"]},get_termSetId:function(){a:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties()["TermSetId"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.SiteId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SiteId"]=a;delete b.SiteId}a=b.TermId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermId"]=a;delete b.TermId}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermSetId"]=a;delete b.TermSetId}}};SP.Taxonomy.ChangedSitePropertyNames=function(){};SP.Taxonomy.ChangedTerm=function(b,a){a:;SP.Taxonomy.ChangedTerm.initializeBase(this,[b,a])};SP.Taxonomy.ChangedTerm.prototype={get_changedCustomProperties:function(){a:;this.checkUninitializedProperty("ChangedCustomProperties");return this.get_objectData().get_properties()["ChangedCustomProperties"]},get_changedLocalCustomProperties:function(){a:;this.checkUninitializedProperty("ChangedLocalCustomProperties");return this.get_objectData().get_properties()["ChangedLocalCustomProperties"]},get_groupId:function(){a:;this.checkUninitializedProperty("GroupId");return this.get_objectData().get_properties()["GroupId"]},get_lcidsForChangedDescriptions:function(){a:;this.checkUninitializedProperty("LcidsForChangedDescriptions");return this.get_objectData().get_properties()["LcidsForChangedDescriptions"]},get_lcidsForChangedLabels:function(){a:;this.checkUninitializedProperty("LcidsForChangedLabels");return this.get_objectData().get_properties()["LcidsForChangedLabels"]},get_termSetId:function(){a:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties()["TermSetId"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ChangedCustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedCustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ChangedCustomProperties}a=b.ChangedLocalCustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedLocalCustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ChangedLocalCustomProperties}a=b.GroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GroupId"]=a;delete b.GroupId}a=b.LcidsForChangedDescriptions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LcidsForChangedDescriptions"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LcidsForChangedDescriptions}a=b.LcidsForChangedLabels;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LcidsForChangedLabels"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LcidsForChangedLabels}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermSetId"]=a;delete b.TermSetId}}};SP.Taxonomy.ChangedTermPropertyNames=function(){};SP.Taxonomy.ChangedTermSet=function(b,a){a:;SP.Taxonomy.ChangedTermSet.initializeBase(this,[b,a])};SP.Taxonomy.ChangedTermSet.prototype={get_fromGroupId:function(){a:;this.checkUninitializedProperty("FromGroupId");return this.get_objectData().get_properties()["FromGroupId"]},get_groupId:function(){a:;this.checkUninitializedProperty("GroupId");return this.get_objectData().get_properties()["GroupId"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FromGroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FromGroupId"]=a;delete b.FromGroupId}a=b.GroupId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GroupId"]=a;delete b.GroupId}}};SP.Taxonomy.ChangedTermSetPropertyNames=function(){};SP.Taxonomy.ChangedTermStore=function(b,a){a:;SP.Taxonomy.ChangedTermStore.initializeBase(this,[b,a])};SP.Taxonomy.ChangedTermStore.prototype={get_changedLanguage:function(){a:;this.checkUninitializedProperty("ChangedLanguage");return this.get_objectData().get_properties()["ChangedLanguage"]},get_isDefaultLanguageChanged:function(){a:;this.checkUninitializedProperty("IsDefaultLanguageChanged");return this.get_objectData().get_properties()["IsDefaultLanguageChanged"]},get_isFullFarmRestore:function(){a:;this.checkUninitializedProperty("IsFullFarmRestore");return this.get_objectData().get_properties()["IsFullFarmRestore"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.ChangedItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ChangedLanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ChangedLanguage"]=a;delete b.ChangedLanguage}a=b.IsDefaultLanguageChanged;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDefaultLanguageChanged"]=a;delete b.IsDefaultLanguageChanged}a=b.IsFullFarmRestore;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsFullFarmRestore"]=a;delete b.IsFullFarmRestore}}};SP.Taxonomy.ChangedTermStorePropertyNames=function(){};SP.Taxonomy.ChangeInformation=function(a){a:;SP.Taxonomy.ChangeInformation.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{1f849fb0-4fcb-4a54-9b01-9152b9e482d3}",arguments)])};SP.Taxonomy.ChangeInformation.newObject=function(a){a:;return new SP.Taxonomy.ChangeInformation(a,new SP.ObjectPathConstructor(a,"{1f849fb0-4fcb-4a54-9b01-9152b9e482d3}",null))};SP.Taxonomy.ChangeInformation.prototype={get_itemType:function(){a:;this.checkUninitializedProperty("ItemType");return this.get_objectData().get_properties()["ItemType"]},set_itemType:function(a){a:;this.get_objectData().get_properties()["ItemType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ItemType",a));return a},get_operationType:function(){a:;this.checkUninitializedProperty("OperationType");return this.get_objectData().get_properties()["OperationType"]},set_operationType:function(a){a:;this.get_objectData().get_properties()["OperationType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OperationType",a));return a},get_startTime:function(){a:;this.checkUninitializedProperty("StartTime");return this.get_objectData().get_properties()["StartTime"]},set_startTime:function(a){a:;this.get_objectData().get_properties()["StartTime"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartTime",a));return a},get_withinTimeSpan:function(){a:;this.checkUninitializedProperty("WithinTimeSpan");return this.get_objectData().get_properties()["WithinTimeSpan"]},set_withinTimeSpan:function(a){a:;this.get_objectData().get_properties()["WithinTimeSpan"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WithinTimeSpan",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ItemType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ItemType}a=b.OperationType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OperationType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OperationType}a=b.StartTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StartTime"]=a;delete b.StartTime}a=b.WithinTimeSpan;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WithinTimeSpan"]=a;delete b.WithinTimeSpan}}};SP.Taxonomy.ChangeInformationPropertyNames=function(){};SP.Taxonomy.CustomPropertyMatchInformation=function(a){a:;SP.Taxonomy.CustomPropertyMatchInformation.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{56747951-df44-4bed-bf36-2b3bddf587f9}",arguments)])};SP.Taxonomy.CustomPropertyMatchInformation.newObject=function(a){a:;return new SP.Taxonomy.CustomPropertyMatchInformation(a,new SP.ObjectPathConstructor(a,"{56747951-df44-4bed-bf36-2b3bddf587f9}",null))};SP.Taxonomy.CustomPropertyMatchInformation.prototype={get_customPropertyName:function(){a:;this.checkUninitializedProperty("CustomPropertyName");return this.get_objectData().get_properties()["CustomPropertyName"]},set_customPropertyName:function(a){a:;this.get_objectData().get_properties()["CustomPropertyName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomPropertyName",a));return a},get_customPropertyValue:function(){a:;this.checkUninitializedProperty("CustomPropertyValue");return this.get_objectData().get_properties()["CustomPropertyValue"]},set_customPropertyValue:function(a){a:;this.get_objectData().get_properties()["CustomPropertyValue"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomPropertyValue",a));return a},get_resultCollectionSize:function(){a:;this.checkUninitializedProperty("ResultCollectionSize");return this.get_objectData().get_properties()["ResultCollectionSize"]},set_resultCollectionSize:function(a){a:;this.get_objectData().get_properties()["ResultCollectionSize"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResultCollectionSize",a));return a},get_stringMatchOption:function(){a:;this.checkUninitializedProperty("StringMatchOption");return this.get_objectData().get_properties()["StringMatchOption"]},set_stringMatchOption:function(a){a:;this.get_objectData().get_properties()["StringMatchOption"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StringMatchOption",a));return a},get_trimUnavailable:function(){a:;this.checkUninitializedProperty("TrimUnavailable");return this.get_objectData().get_properties()["TrimUnavailable"]},set_trimUnavailable:function(a){a:;this.get_objectData().get_properties()["TrimUnavailable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimUnavailable",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CustomPropertyName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CustomPropertyName"]=a;delete b.CustomPropertyName}a=b.CustomPropertyValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CustomPropertyValue"]=a;delete b.CustomPropertyValue}a=b.ResultCollectionSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResultCollectionSize"]=a;delete b.ResultCollectionSize}a=b.StringMatchOption;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StringMatchOption"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StringMatchOption}a=b.TrimUnavailable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimUnavailable"]=a;delete b.TrimUnavailable}}};SP.Taxonomy.CustomPropertyMatchInformationPropertyNames=function(){};SP.Taxonomy.Label=function(b,a){a:;SP.Taxonomy.Label.initializeBase(this,[b,a])};SP.Taxonomy.Label.prototype={get_isDefaultForLanguage:function(){a:;this.checkUninitializedProperty("IsDefaultForLanguage");return this.get_objectData().get_properties()["IsDefaultForLanguage"]},get_language:function(){a:;this.checkUninitializedProperty("Language");return this.get_objectData().get_properties()["Language"]},set_language:function(a){a:;this.get_objectData().get_properties()["Language"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Language",a));return a},get_term:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Term"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.Term(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Term"));this.get_objectData().get_clientObjectProperties()["Term"]=a}return a},get_value:function(){a:;this.checkUninitializedProperty("Value");return this.get_objectData().get_properties()["Value"]},set_value:function(a){a:;this.get_objectData().get_properties()["Value"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Value",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsDefaultForLanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDefaultForLanguage"]=a;delete b.IsDefaultForLanguage}a=b.Language;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Language"]=a;delete b.Language}a=b.Term;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Term",this.get_term(),a);this.get_term().fromJson(a);delete b.Term}a=b.Value;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Value"]=a;delete b.Value}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)},setAsDefaultForLanguage:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SetAsDefaultForLanguage",null);a.addQuery(b)}};SP.Taxonomy.LabelPropertyNames=function(){};SP.Taxonomy.LabelObjectPropertyNames=function(){};SP.Taxonomy.LabelCollection=function(b,a){a:;SP.Taxonomy.LabelCollection.initializeBase(this,[b,a])};SP.Taxonomy.LabelCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.Label},getByValue:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByValue"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByValue"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Label(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByValue",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.LabelMatchInformation=function(a){a:;SP.Taxonomy.LabelMatchInformation.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{61a1d689-2744-4ea3-a88b-c95bee9803aa}",arguments)])};SP.Taxonomy.LabelMatchInformation.newObject=function(a){a:;return new SP.Taxonomy.LabelMatchInformation(a,new SP.ObjectPathConstructor(a,"{61a1d689-2744-4ea3-a88b-c95bee9803aa}",null))};SP.Taxonomy.LabelMatchInformation.prototype={get_defaultLabelOnly:function(){a:;this.checkUninitializedProperty("DefaultLabelOnly");return this.get_objectData().get_properties()["DefaultLabelOnly"]},set_defaultLabelOnly:function(a){a:;this.get_objectData().get_properties()["DefaultLabelOnly"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultLabelOnly",a));return a},get_excludeKeyword:function(){a:;this.checkUninitializedProperty("ExcludeKeyword");return this.get_objectData().get_properties()["ExcludeKeyword"]},set_excludeKeyword:function(a){a:;this.get_objectData().get_properties()["ExcludeKeyword"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ExcludeKeyword",a));return a},get_lcid:function(){a:;this.checkUninitializedProperty("Lcid");return this.get_objectData().get_properties()["Lcid"]},set_lcid:function(a){a:;this.get_objectData().get_properties()["Lcid"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Lcid",a));return a},get_resultCollectionSize:function(){a:;this.checkUninitializedProperty("ResultCollectionSize");return this.get_objectData().get_properties()["ResultCollectionSize"]},set_resultCollectionSize:function(a){a:;this.get_objectData().get_properties()["ResultCollectionSize"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ResultCollectionSize",a));return a},get_stringMatchOption:function(){a:;this.checkUninitializedProperty("StringMatchOption");return this.get_objectData().get_properties()["StringMatchOption"]},set_stringMatchOption:function(a){a:;this.get_objectData().get_properties()["StringMatchOption"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StringMatchOption",a));return a},get_termLabel:function(){a:;this.checkUninitializedProperty("TermLabel");return this.get_objectData().get_properties()["TermLabel"]},set_termLabel:function(a){a:;this.get_objectData().get_properties()["TermLabel"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TermLabel",a));return a},get_trimDeprecated:function(){a:;this.checkUninitializedProperty("TrimDeprecated");return this.get_objectData().get_properties()["TrimDeprecated"]},set_trimDeprecated:function(a){a:;this.get_objectData().get_properties()["TrimDeprecated"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimDeprecated",a));return a},get_trimUnavailable:function(){a:;this.checkUninitializedProperty("TrimUnavailable");return this.get_objectData().get_properties()["TrimUnavailable"]},set_trimUnavailable:function(a){a:;this.get_objectData().get_properties()["TrimUnavailable"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TrimUnavailable",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DefaultLabelOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultLabelOnly"]=a;delete b.DefaultLabelOnly}a=b.ExcludeKeyword;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ExcludeKeyword"]=a;delete b.ExcludeKeyword}a=b.Lcid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Lcid"]=a;delete b.Lcid}a=b.ResultCollectionSize;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ResultCollectionSize"]=a;delete b.ResultCollectionSize}a=b.StringMatchOption;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StringMatchOption"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.StringMatchOption}a=b.TermLabel;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermLabel"]=a;delete b.TermLabel}a=b.TrimDeprecated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimDeprecated"]=a;delete b.TrimDeprecated}a=b.TrimUnavailable;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TrimUnavailable"]=a;delete b.TrimUnavailable}}};SP.Taxonomy.LabelMatchInformationPropertyNames=function(){};SP.Taxonomy.MobileTaxonomyField=function(b,a){a:;SP.Taxonomy.MobileTaxonomyField.initializeBase(this,[b,a])};SP.Taxonomy.MobileTaxonomyField.prototype={get_readOnly:function(){a:;this.checkUninitializedProperty("ReadOnly");return this.get_objectData().get_properties()["ReadOnly"]},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.ReadOnly;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["ReadOnly"]=b;delete a.ReadOnly}}};SP.Taxonomy.MobileTaxonomyFieldPropertyNames=function(){};SP.Taxonomy.TaxonomyField=function(b,a){a:;SP.Taxonomy.TaxonomyField.initializeBase(this,[b,a])};SP.Taxonomy.TaxonomyField.prototype={get_anchorId:function(){a:;this.checkUninitializedProperty("AnchorId");return this.get_objectData().get_properties()["AnchorId"]},set_anchorId:function(a){a:;this.get_objectData().get_properties()["AnchorId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AnchorId",a));return a},get_createValuesInEditForm:function(){a:;this.checkUninitializedProperty("CreateValuesInEditForm");return this.get_objectData().get_properties()["CreateValuesInEditForm"]},set_createValuesInEditForm:function(a){a:;this.get_objectData().get_properties()["CreateValuesInEditForm"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CreateValuesInEditForm",a));return a},get_isAnchorValid:function(){a:;this.checkUninitializedProperty("IsAnchorValid");return this.get_objectData().get_properties()["IsAnchorValid"]},get_isKeyword:function(){a:;this.checkUninitializedProperty("IsKeyword");return this.get_objectData().get_properties()["IsKeyword"]},set_isKeyword:function(a){a:;this.get_objectData().get_properties()["IsKeyword"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsKeyword",a));return a},get_isPathRendered:function(){a:;this.checkUninitializedProperty("IsPathRendered");return this.get_objectData().get_properties()["IsPathRendered"]},set_isPathRendered:function(a){a:;this.get_objectData().get_properties()["IsPathRendered"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsPathRendered",a));return a},get_isTermSetValid:function(){a:;this.checkUninitializedProperty("IsTermSetValid");return this.get_objectData().get_properties()["IsTermSetValid"]},get_open:function(){a:;this.checkUninitializedProperty("Open");return this.get_objectData().get_properties()["Open"]},set_open:function(a){a:;this.get_objectData().get_properties()["Open"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Open",a));return a},get_sspId:function(){a:;this.checkUninitializedProperty("SspId");return this.get_objectData().get_properties()["SspId"]},set_sspId:function(a){a:;this.get_objectData().get_properties()["SspId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SspId",a));return a},get_targetTemplate:function(){a:;this.checkUninitializedProperty("TargetTemplate");return this.get_objectData().get_properties()["TargetTemplate"]},set_targetTemplate:function(a){a:;this.get_objectData().get_properties()["TargetTemplate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TargetTemplate",a));return a},get_termSetId:function(){a:;this.checkUninitializedProperty("TermSetId");return this.get_objectData().get_properties()["TermSetId"]},set_termSetId:function(a){a:;this.get_objectData().get_properties()["TermSetId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TermSetId",a));return a},get_textField:function(){a:;this.checkUninitializedProperty("TextField");return this.get_objectData().get_properties()["TextField"]},get_userCreated:function(){a:;this.checkUninitializedProperty("UserCreated");return this.get_objectData().get_properties()["UserCreated"]},set_userCreated:function(a){a:;this.get_objectData().get_properties()["UserCreated"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UserCreated",a));return a},initPropertiesFromJson:function(b){a:;SP.FieldLookup.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AnchorId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AnchorId"]=a;delete b.AnchorId}a=b.CreateValuesInEditForm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreateValuesInEditForm"]=a;delete b.CreateValuesInEditForm}a=b.IsAnchorValid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsAnchorValid"]=a;delete b.IsAnchorValid}a=b.IsKeyword;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsKeyword"]=a;delete b.IsKeyword}a=b.IsPathRendered;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPathRendered"]=a;delete b.IsPathRendered}a=b.IsTermSetValid;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsTermSetValid"]=a;delete b.IsTermSetValid}a=b.Open;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Open"]=a;delete b.Open}a=b.SspId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SspId"]=a;delete b.SspId}a=b.TargetTemplate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TargetTemplate"]=a;delete b.TargetTemplate}a=b.TermSetId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermSetId"]=a;delete b.TermSetId}a=b.TextField;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TextField"]=a;delete b.TextField}a=b.UserCreated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UserCreated"]=a;delete b.UserCreated}},getFieldValueAsText:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFieldValueAsText",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFieldValueAsTaxonomyFieldValue:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFieldValueAsTaxonomyFieldValue",[d]);b.addQuery(c);a=new SP.Taxonomy.TaxonomyFieldValue;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFieldValueAsTaxonomyFieldValueCollection:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TaxonomyFieldValueCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFieldValueAsTaxonomyFieldValueCollection",[c]));return b},setFieldValueByTerm:function(c,e,d){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SetFieldValueByTerm",[c,e,d]);a.addQuery(b)},setFieldValueByTermCollection:function(d,a,e){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByTermCollection",[d,a,e]);b.addQuery(c)},setFieldValueByCollection:function(d,a,e){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByCollection",[d,a,e]);b.addQuery(c)},setFieldValueByValue:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByValue",[d,a]);b.addQuery(c)},setFieldValueByValueCollection:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetFieldValueByValueCollection",[d,a]);b.addQuery(c)},getFieldValueAsHtml:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFieldValueAsHtml",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getValidatedString:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetValidatedString",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Taxonomy.TaxonomyFieldPropertyNames=function(){};SP.Taxonomy.TaxonomyFieldValue=function(){a:;SP.Taxonomy.TaxonomyFieldValue.initializeBase(this)};SP.Taxonomy.TaxonomyFieldValue.prototype={$0_1:null,$1_1:null,$2_1:0,get_label:function(){a:;return this.$0_1},set_label:function(a){a:;this.$0_1=a;return a},get_termGuid:function(){a:;return this.$1_1},set_termGuid:function(a){a:;this.$1_1=a;return a},get_wssId:function(){a:;return this.$2_1},set_wssId:function(a){a:;this.$2_1=a;return a},get_typeId:function(){a:;return "{19e70ed0-4177-456b-8156-015e4d163ff8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Label","TermGuid","WssId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Label;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Label}a=b.TermGuid;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.TermGuid}a=b.WssId;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.WssId}}};SP.Taxonomy.TaxonomyFieldValueCollection=function(a){a:;SP.Taxonomy.TaxonomyFieldValueCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c3dfae10-f3bf-4894-9012-bb60665b6d91}",arguments)])};SP.Taxonomy.TaxonomyFieldValueCollection.newObject=function(a,c,b){a:;return new SP.Taxonomy.TaxonomyFieldValueCollection(a,new SP.ObjectPathConstructor(a,"{c3dfae10-f3bf-4894-9012-bb60665b6d91}",[c,b]))};SP.Taxonomy.TaxonomyFieldValueCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.TaxonomyFieldValue},populateFromLabelGuidPairs:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"PopulateFromLabelGuidPairs",[c]);a.addQuery(b)}};SP.Taxonomy.TaxonomyItem=function(b,a){a:;SP.Taxonomy.TaxonomyItem.initializeBase(this,[b,a])};SP.Taxonomy.TaxonomyItem.normalizeName=function(a,d){a:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{5f6011b8-fae0-4784-8882-85765261d951}","NormalizeName",[d]);a.addQuery(c);b=new SP.StringResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Taxonomy.TaxonomyItem.prototype={get_createdDate:function(){a:;this.checkUninitializedProperty("CreatedDate");return this.get_objectData().get_properties()["CreatedDate"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_lastModifiedDate:function(){a:;this.checkUninitializedProperty("LastModifiedDate");return this.get_objectData().get_properties()["LastModifiedDate"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_termStore:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermStore"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermStore(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermStore"));this.get_objectData().get_clientObjectProperties()["TermStore"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CreatedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CreatedDate"]=a;delete b.CreatedDate}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.LastModifiedDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastModifiedDate"]=a;delete b.LastModifiedDate}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.TermStore;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermStore",this.get_termStore(),a);this.get_termStore().fromJson(a);delete b.TermStore}},deleteObject:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteObject",null);a.addQuery(b)}};SP.Taxonomy.TaxonomyItemPropertyNames=function(){};SP.Taxonomy.TaxonomyItemObjectPropertyNames=function(){};SP.Taxonomy.TaxonomySession=function(b,a){a:;SP.Taxonomy.TaxonomySession.initializeBase(this,[b,a])};SP.Taxonomy.TaxonomySession.getTaxonomySession=function(a){a:;if(!a)throw Error.argumentNull("context");var b;b=new SP.Taxonomy.TaxonomySession(a,new SP.ObjectPathStaticMethod(a,"{981cbc68-9edc-4f8d-872f-71146fcbb84f}","GetTaxonomySession",null));b.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(b.get_path());a.addQueryIdAndResultObject(c.get_id(),b);a.addQuery(c);return b};SP.Taxonomy.TaxonomySession.prototype={get_offlineTermStoreNames:function(){a:;this.checkUninitializedProperty("OfflineTermStoreNames");return this.get_objectData().get_properties()["OfflineTermStoreNames"]},get_termStores:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermStores"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermStoreCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermStores"));this.get_objectData().get_clientObjectProperties()["TermStores"]=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.OfflineTermStoreNames;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["OfflineTermStoreNames"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.OfflineTermStoreNames}a=b.TermStores;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermStores",this.get_termStores(),a);this.get_termStores().fromJson(a);delete b.TermStores}},getTerms:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTerms",[c]));return b},updateCache:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UpdateCache",null);a.addQuery(b)},getTerm:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetTerm"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetTerm"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTerm",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getTermsById:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsById",[c]));return b},getTermsInDefaultLanguage:function(h,e,d,c,f,g){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsInDefaultLanguage",[h,e,d,c,f,g]));return b},getTermsInWorkingLocale:function(h,e,d,c,f,g){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsInWorkingLocale",[h,e,d,c,f,g]));return b},getTermsWithCustomProperty:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsWithCustomProperty",[c]));return b},getTermSetsByName:function(c,d){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsByName",[c,d]));return b},getTermSetsByTermLabel:function(c,d){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsByTermLabel",[c,d]));return b},getDefaultKeywordsTermStore:function(){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetDefaultKeywordsTermStore",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getDefaultSiteCollectionTermStore:function(){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetDefaultSiteCollectionTermStore",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a}};SP.Taxonomy.TaxonomySessionPropertyNames=function(){};SP.Taxonomy.TaxonomySessionObjectPropertyNames=function(){};SP.Taxonomy.Term=function(b,a){a:;SP.Taxonomy.Term.initializeBase(this,[b,a])};SP.Taxonomy.Term.prototype={get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},get_isDeprecated:function(){a:;this.checkUninitializedProperty("IsDeprecated");return this.get_objectData().get_properties()["IsDeprecated"]},get_isKeyword:function(){a:;this.checkUninitializedProperty("IsKeyword");return this.get_objectData().get_properties()["IsKeyword"]},get_isPinned:function(){a:;this.checkUninitializedProperty("IsPinned");return this.get_objectData().get_properties()["IsPinned"]},get_isPinnedRoot:function(){a:;this.checkUninitializedProperty("IsPinnedRoot");return this.get_objectData().get_properties()["IsPinnedRoot"]},get_isReused:function(){a:;this.checkUninitializedProperty("IsReused");return this.get_objectData().get_properties()["IsReused"]},get_isRoot:function(){a:;this.checkUninitializedProperty("IsRoot");return this.get_objectData().get_properties()["IsRoot"]},get_isSourceTerm:function(){a:;this.checkUninitializedProperty("IsSourceTerm");return this.get_objectData().get_properties()["IsSourceTerm"]},get_labels:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Labels"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.LabelCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Labels"));this.get_objectData().get_clientObjectProperties()["Labels"]=a}return a},get_localCustomProperties:function(){a:;this.checkUninitializedProperty("LocalCustomProperties");return this.get_objectData().get_properties()["LocalCustomProperties"]},get_mergedTermIds:function(){a:;this.checkUninitializedProperty("MergedTermIds");return this.get_objectData().get_properties()["MergedTermIds"]},get_parent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Parent"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.Term(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Parent"));this.get_objectData().get_clientObjectProperties()["Parent"]=a}return a},get_pathOfTerm:function(){a:;this.checkUninitializedProperty("PathOfTerm");return this.get_objectData().get_properties()["PathOfTerm"]},get_pinSourceTermSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["PinSourceTermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PinSourceTermSet"));this.get_objectData().get_clientObjectProperties()["PinSourceTermSet"]=a}return a},get_reusedTerms:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["ReusedTerms"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ReusedTerms"));this.get_objectData().get_clientObjectProperties()["ReusedTerms"]=a}return a},get_sourceTerm:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SourceTerm"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.Term(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SourceTerm"));this.get_objectData().get_clientObjectProperties()["SourceTerm"]=a}return a},get_termsCount:function(){a:;this.checkUninitializedProperty("TermsCount");return this.get_objectData().get_properties()["TermsCount"]},get_termSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermSet"));this.get_objectData().get_clientObjectProperties()["TermSet"]=a}return a},get_termSets:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermSets"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSetCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermSets"));this.get_objectData().get_clientObjectProperties()["TermSets"]=a}return a},initPropertiesFromJson:function(b){a:;SP.Taxonomy.TermSetItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.IsDeprecated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsDeprecated"]=a;delete b.IsDeprecated}a=b.IsKeyword;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsKeyword"]=a;delete b.IsKeyword}a=b.IsPinned;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPinned"]=a;delete b.IsPinned}a=b.IsPinnedRoot;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPinnedRoot"]=a;delete b.IsPinnedRoot}a=b.IsReused;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsReused"]=a;delete b.IsReused}a=b.IsRoot;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsRoot"]=a;delete b.IsRoot}a=b.IsSourceTerm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSourceTerm"]=a;delete b.IsSourceTerm}a=b.Labels;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Labels",this.get_labels(),a);this.get_labels().fromJson(a);delete b.Labels}a=b.LocalCustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LocalCustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.LocalCustomProperties}a=b.MergedTermIds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MergedTermIds"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.MergedTermIds}a=b.Parent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Parent",this.get_parent(),a);this.get_parent().fromJson(a);delete b.Parent}a=b.PathOfTerm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PathOfTerm"]=a;delete b.PathOfTerm}a=b.PinSourceTermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PinSourceTermSet",this.get_pinSourceTermSet(),a);this.get_pinSourceTermSet().fromJson(a);delete b.PinSourceTermSet}a=b.ReusedTerms;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ReusedTerms",this.get_reusedTerms(),a);this.get_reusedTerms().fromJson(a);delete b.ReusedTerms}a=b.SourceTerm;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SourceTerm",this.get_sourceTerm(),a);this.get_sourceTerm().fromJson(a);delete b.SourceTerm}a=b.TermsCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TermsCount"]=a;delete b.TermsCount}a=b.TermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermSet",this.get_termSet(),a);this.get_termSet().fromJson(a);delete b.TermSet}a=b.TermSets;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermSets",this.get_termSets(),a);this.get_termSets().fromJson(a);delete b.TermSets}},copy:function(d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"Copy",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},createLabel:function(e,f,d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Label(b,new SP.ObjectPathMethod(b,this.get_path(),"CreateLabel",[e,f,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteLocalCustomProperty:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteLocalCustomProperty",[c]);a.addQuery(b)},deleteAllLocalCustomProperties:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteAllLocalCustomProperties",null);a.addQuery(b)},deprecate:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Deprecate",[a]);b.addQuery(c)},getAllLabels:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.LabelCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllLabels",[c]));return b},getDefaultLabel:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDefaultLabel",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getDescription:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDescription",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},merge:function(d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"Merge",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},move:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Move",[a]);b.addQuery(c)},reassignSourceTerm:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"ReassignSourceTerm",[a]);b.addQuery(c)},setDescription:function(a,d){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetDescription",[a,d]);b.addQuery(c)},setLocalCustomProperty:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetLocalCustomProperty",[d,a]);b.addQuery(c)},getIsDescendantOf:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetIsDescendantOf",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPath:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPath",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Taxonomy.TermPropertyNames=function(){};SP.Taxonomy.TermObjectPropertyNames=function(){};SP.Taxonomy.TermCollection=function(b,a){a:;SP.Taxonomy.TermCollection.initializeBase(this,[b,a])};SP.Taxonomy.TermCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.Term},getById:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetById"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetById",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getByName:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByName"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByName"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByName",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.TermGroup=function(b,a){a:;SP.Taxonomy.TermGroup.initializeBase(this,[b,a])};SP.Taxonomy.TermGroup.prototype={get_contributorPrincipalNames:function(){a:;this.checkUninitializedProperty("ContributorPrincipalNames");return this.get_objectData().get_properties()["ContributorPrincipalNames"]},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_groupManagerPrincipalNames:function(){a:;this.checkUninitializedProperty("GroupManagerPrincipalNames");return this.get_objectData().get_properties()["GroupManagerPrincipalNames"]},get_isSiteCollectionGroup:function(){a:;this.checkUninitializedProperty("IsSiteCollectionGroup");return this.get_objectData().get_properties()["IsSiteCollectionGroup"]},get_isSystemGroup:function(){a:;this.checkUninitializedProperty("IsSystemGroup");return this.get_objectData().get_properties()["IsSystemGroup"]},get_termSets:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["TermSets"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSetCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TermSets"));this.get_objectData().get_clientObjectProperties()["TermSets"]=a}return a},initPropertiesFromJson:function(b){a:;SP.Taxonomy.TaxonomyItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ContributorPrincipalNames;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ContributorPrincipalNames"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ContributorPrincipalNames}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.GroupManagerPrincipalNames;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["GroupManagerPrincipalNames"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.GroupManagerPrincipalNames}a=b.IsSiteCollectionGroup;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSiteCollectionGroup"]=a;delete b.IsSiteCollectionGroup}a=b.IsSystemGroup;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSystemGroup"]=a;delete b.IsSystemGroup}a=b.TermSets;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TermSets",this.get_termSets(),a);this.get_termSets().fromJson(a);delete b.TermSets}},addContributor:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"AddContributor",[a]);b.addQuery(c)},addGroupManager:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"AddGroupManager",[a]);b.addQuery(c)},createTermSet:function(f,d,e){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"CreateTermSet",[f,d,e]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},exportObject:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExportObject",null);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getChanges:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.ChangedItemCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetChanges",[c]));return b},getTermSetsWithCustomProperty:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsWithCustomProperty",[c]));return b}};SP.Taxonomy.TermGroupPropertyNames=function(){};SP.Taxonomy.TermGroupObjectPropertyNames=function(){};SP.Taxonomy.TermGroupCollection=function(b,a){a:;SP.Taxonomy.TermGroupCollection.initializeBase(this,[b,a])};SP.Taxonomy.TermGroupCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.TermGroup},getById:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetById"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermGroup(b,new SP.ObjectPathMethod(b,this.get_path(),"GetById",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getByName:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByName"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByName"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermGroup(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByName",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.TermSet=function(b,a){a:;SP.Taxonomy.TermSet.initializeBase(this,[b,a])};SP.Taxonomy.TermSet.prototype={get_contact:function(){a:;this.checkUninitializedProperty("Contact");return this.get_objectData().get_properties()["Contact"]},set_contact:function(a){a:;this.get_objectData().get_properties()["Contact"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Contact",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_group:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Group"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermGroup(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Group"));this.get_objectData().get_clientObjectProperties()["Group"]=a}return a},get_isOpenForTermCreation:function(){a:;this.checkUninitializedProperty("IsOpenForTermCreation");return this.get_objectData().get_properties()["IsOpenForTermCreation"]},set_isOpenForTermCreation:function(a){a:;this.get_objectData().get_properties()["IsOpenForTermCreation"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsOpenForTermCreation",a));return a},get_names:function(){a:;this.checkUninitializedProperty("Names");return this.get_objectData().get_properties()["Names"]},get_stakeholders:function(){a:;this.checkUninitializedProperty("Stakeholders");return this.get_objectData().get_properties()["Stakeholders"]},initPropertiesFromJson:function(b){a:;SP.Taxonomy.TermSetItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Contact;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Contact"]=a;delete b.Contact}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.Group;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Group",this.get_group(),a);this.get_group().fromJson(a);delete b.Group}a=b.IsOpenForTermCreation;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOpenForTermCreation"]=a;delete b.IsOpenForTermCreation}a=b.Names;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Names"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Names}a=b.Stakeholders;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Stakeholders"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Stakeholders}},addStakeholder:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"AddStakeholder",[a]);b.addQuery(c)},copy:function(){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"Copy",null));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteStakeholder:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"DeleteStakeholder",[a]);b.addQuery(c)},exportObject:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ExportObject",null);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getAllTerms:function(){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllTerms",null));return b},getAllTermsIncludeDeprecated:function(){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllTermsIncludeDeprecated",null));return b},getChanges:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.ChangedItemCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetChanges",[c]));return b},getTerm:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetTerm"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetTerm"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTerm",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getTerms:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTerms",[c]));return b},getTermsWithCustomProperty:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsWithCustomProperty",[c]));return b},move:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Move",[a]);b.addQuery(c)}};SP.Taxonomy.TermSetPropertyNames=function(){};SP.Taxonomy.TermSetObjectPropertyNames=function(){};SP.Taxonomy.TermSetCollection=function(b,a){a:;SP.Taxonomy.TermSetCollection.initializeBase(this,[b,a])};SP.Taxonomy.TermSetCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.TermSet},getById:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetById"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"GetById",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getByName:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByName"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByName"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByName",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.TermSetItem=function(b,a){a:;SP.Taxonomy.TermSetItem.initializeBase(this,[b,a])};SP.Taxonomy.TermSetItem.prototype={get_customProperties:function(){a:;this.checkUninitializedProperty("CustomProperties");return this.get_objectData().get_properties()["CustomProperties"]},get_customSortOrder:function(){a:;this.checkUninitializedProperty("CustomSortOrder");return this.get_objectData().get_properties()["CustomSortOrder"]},set_customSortOrder:function(a){a:;this.get_objectData().get_properties()["CustomSortOrder"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomSortOrder",a));return a},get_isAvailableForTagging:function(){a:;this.checkUninitializedProperty("IsAvailableForTagging");return this.get_objectData().get_properties()["IsAvailableForTagging"]},set_isAvailableForTagging:function(a){a:;this.get_objectData().get_properties()["IsAvailableForTagging"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsAvailableForTagging",a));return a},get_owner:function(){a:;this.checkUninitializedProperty("Owner");return this.get_objectData().get_properties()["Owner"]},set_owner:function(a){a:;this.get_objectData().get_properties()["Owner"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Owner",a));return a},get_terms:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Terms"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Terms"));this.get_objectData().get_clientObjectProperties()["Terms"]=a}return a},initPropertiesFromJson:function(b){a:;SP.Taxonomy.TaxonomyItem.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CustomProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CustomProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CustomProperties}a=b.CustomSortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CustomSortOrder"]=a;delete b.CustomSortOrder}a=b.IsAvailableForTagging;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsAvailableForTagging"]=a;delete b.IsAvailableForTagging}a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Owner"]=a;delete b.Owner}a=b.Terms;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Terms",this.get_terms(),a);this.get_terms().fromJson(a);delete b.Terms}},createTerm:function(f,e,d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"CreateTerm",[f,e,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getTerms:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTerms",[c]));return b},reuseTerm:function(e,d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"ReuseTerm",[e,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},reuseTermWithPinning:function(d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"ReuseTermWithPinning",[d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteCustomProperty:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteCustomProperty",[c]);a.addQuery(b)},deleteAllCustomProperties:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteAllCustomProperties",null);a.addQuery(b)},setCustomProperty:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetCustomProperty",[d,a]);b.addQuery(c)}};SP.Taxonomy.TermSetItemPropertyNames=function(){};SP.Taxonomy.TermSetItemObjectPropertyNames=function(){};SP.Taxonomy.TermStore=function(b,a){a:;SP.Taxonomy.TermStore.initializeBase(this,[b,a])};SP.Taxonomy.TermStore.prototype={get_contentTypePublishingHub:function(){a:;this.checkUninitializedProperty("ContentTypePublishingHub");return this.get_objectData().get_properties()["ContentTypePublishingHub"]},get_defaultLanguage:function(){a:;this.checkUninitializedProperty("DefaultLanguage");return this.get_objectData().get_properties()["DefaultLanguage"]},set_defaultLanguage:function(a){a:;this.get_objectData().get_properties()["DefaultLanguage"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefaultLanguage",a));return a},get_groups:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["Groups"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermGroupCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Groups"));this.get_objectData().get_clientObjectProperties()["Groups"]=a}return a},get_hashTagsTermSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["HashTagsTermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"HashTagsTermSet"));this.get_objectData().get_clientObjectProperties()["HashTagsTermSet"]=a}return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_isOnline:function(){a:;this.checkUninitializedProperty("IsOnline");return this.get_objectData().get_properties()["IsOnline"]},get_keywordsTermSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["KeywordsTermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"KeywordsTermSet"));this.get_objectData().get_clientObjectProperties()["KeywordsTermSet"]=a}return a},get_languages:function(){a:;this.checkUninitializedProperty("Languages");return this.get_objectData().get_properties()["Languages"]},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},get_orphanedTermsTermSet:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["OrphanedTermsTermSet"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermSet(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"OrphanedTermsTermSet"));this.get_objectData().get_clientObjectProperties()["OrphanedTermsTermSet"]=a}return a},get_systemGroup:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["SystemGroup"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Taxonomy.TermGroup(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"SystemGroup"));this.get_objectData().get_clientObjectProperties()["SystemGroup"]=a}return a},get_workingLanguage:function(){a:;this.checkUninitializedProperty("WorkingLanguage");return this.get_objectData().get_properties()["WorkingLanguage"]},set_workingLanguage:function(a){a:;this.get_objectData().get_properties()["WorkingLanguage"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"WorkingLanguage",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ContentTypePublishingHub;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ContentTypePublishingHub"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ContentTypePublishingHub}a=b.DefaultLanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefaultLanguage"]=a;delete b.DefaultLanguage}a=b.Groups;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Groups",this.get_groups(),a);this.get_groups().fromJson(a);delete b.Groups}a=b.HashTagsTermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("HashTagsTermSet",this.get_hashTagsTermSet(),a);this.get_hashTagsTermSet().fromJson(a);delete b.HashTagsTermSet}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.IsOnline;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsOnline"]=a;delete b.IsOnline}a=b.KeywordsTermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("KeywordsTermSet",this.get_keywordsTermSet(),a);this.get_keywordsTermSet().fromJson(a);delete b.KeywordsTermSet}a=b.Languages;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Languages"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Languages}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.OrphanedTermsTermSet;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("OrphanedTermsTermSet",this.get_orphanedTermsTermSet(),a);this.get_orphanedTermsTermSet().fromJson(a);delete b.OrphanedTermsTermSet}a=b.SystemGroup;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("SystemGroup",this.get_systemGroup(),a);this.get_systemGroup().fromJson(a);delete b.SystemGroup}a=b.WorkingLanguage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkingLanguage"]=a;delete b.WorkingLanguage}},addLanguage:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"AddLanguage",[c]);a.addQuery(b)},commitAll:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"CommitAll",null);a.addQuery(b)},createGroup:function(e,d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermGroup(b,new SP.ObjectPathMethod(b,this.get_path(),"CreateGroup",[e,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},deleteLanguage:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteLanguage",[c]);a.addQuery(b)},getChanges:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.ChangedItemCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetChanges",[c]));return b},getGroup:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetGroup"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetGroup"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermGroup(b,new SP.ObjectPathMethod(b,this.get_path(),"GetGroup",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getTerm:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetTerm"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetTerm"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTerm",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getTermInTermSet:function(d,e){a:;var b=this.get_context(),a;a=new SP.Taxonomy.Term(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTermInTermSet",[d,e]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},getTermsById:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsById",[c]));return b},getTerms:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTerms",[c]));return b},getTermSetsByName:function(c,d){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsByName",[c,d]));return b},getTermsWithCustomProperty:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermsWithCustomProperty",[c]));return b},getTermSet:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetTermSet"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetTermSet"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermSet(b,new SP.ObjectPathMethod(b,this.get_path(),"GetTermSet",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getTermSetsByTermLabel:function(c,d){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsByTermLabel",[c,d]));return b},getTermSetsWithCustomProperty:function(c){a:;var a=this.get_context(),b;b=new SP.Taxonomy.TermSetCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetTermSetsWithCustomProperty",[c]));return b},rollbackAll:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"RollbackAll",null);a.addQuery(b)},updateCache:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UpdateCache",null);a.addQuery(b)},getSiteCollectionGroup:function(e,d){a:;var b=this.get_context(),a;a=new SP.Taxonomy.TermGroup(b,new SP.ObjectPathMethod(b,this.get_path(),"GetSiteCollectionGroup",[e,d]));a.get_path().setPendingReplace();var c=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(c.get_id(),a);b.addQuery(c);return a},updateUsedTermsOnSite:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UpdateUsedTermsOnSite",[c]);a.addQuery(b)}};SP.Taxonomy.TermStorePropertyNames=function(){};SP.Taxonomy.TermStoreObjectPropertyNames=function(){};SP.Taxonomy.TermStoreCollection=function(b,a){a:;SP.Taxonomy.TermStoreCollection.initializeBase(this,[b,a])};SP.Taxonomy.TermStoreCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Taxonomy.TermStore},getById:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetById"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetById"]=c}a=c[d.toString()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetById",[d]));if(!b.get_disableReturnValueCache())c[d.toString()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a},getByName:function(d){a:;var b=this.get_context(),a,c=this.get_objectData().get_methodReturnObjects()["GetByName"];if(SP.ScriptUtility.isNullOrUndefined(c)){c={};this.get_objectData().get_methodReturnObjects()["GetByName"]=c}a=c[d.toUpperCase()];if(!b.get_disableReturnValueCache()&&!SP.ScriptUtility.isNullOrUndefined(a))return a;a=new SP.Taxonomy.TermStore(b,new SP.ObjectPathMethod(b,this.get_path(),"GetByName",[d]));if(!b.get_disableReturnValueCache())c[d.toUpperCase()]=a;var e=new SP.ObjectIdentityQuery(a.get_path());b.addQueryIdAndResultObject(e.get_id(),a);b.addQuery(e);return a}};SP.Taxonomy.ChangedItem.registerClass("SP.Taxonomy.ChangedItem",SP.ClientObject);SP.Taxonomy.ChangedGroup.registerClass("SP.Taxonomy.ChangedGroup",SP.Taxonomy.ChangedItem);SP.Taxonomy.ChangedItemPropertyNames.registerClass("SP.Taxonomy.ChangedItemPropertyNames");SP.Taxonomy.ChangedItemCollection.registerClass("SP.Taxonomy.ChangedItemCollection",SP.ClientObjectCollection);SP.Taxonomy.ChangedSite.registerClass("SP.Taxonomy.ChangedSite",SP.Taxonomy.ChangedItem);SP.Taxonomy.ChangedSitePropertyNames.registerClass("SP.Taxonomy.ChangedSitePropertyNames");SP.Taxonomy.ChangedTerm.registerClass("SP.Taxonomy.ChangedTerm",SP.Taxonomy.ChangedItem);SP.Taxonomy.ChangedTermPropertyNames.registerClass("SP.Taxonomy.ChangedTermPropertyNames");SP.Taxonomy.ChangedTermSet.registerClass("SP.Taxonomy.ChangedTermSet",SP.Taxonomy.ChangedItem);SP.Taxonomy.ChangedTermSetPropertyNames.registerClass("SP.Taxonomy.ChangedTermSetPropertyNames");SP.Taxonomy.ChangedTermStore.registerClass("SP.Taxonomy.ChangedTermStore",SP.Taxonomy.ChangedItem);SP.Taxonomy.ChangedTermStorePropertyNames.registerClass("SP.Taxonomy.ChangedTermStorePropertyNames");SP.Taxonomy.ChangeInformation.registerClass("SP.Taxonomy.ChangeInformation",SP.ClientObject);SP.Taxonomy.ChangeInformationPropertyNames.registerClass("SP.Taxonomy.ChangeInformationPropertyNames");SP.Taxonomy.CustomPropertyMatchInformation.registerClass("SP.Taxonomy.CustomPropertyMatchInformation",SP.ClientObject);SP.Taxonomy.CustomPropertyMatchInformationPropertyNames.registerClass("SP.Taxonomy.CustomPropertyMatchInformationPropertyNames");SP.Taxonomy.Label.registerClass("SP.Taxonomy.Label",SP.ClientObject);SP.Taxonomy.LabelPropertyNames.registerClass("SP.Taxonomy.LabelPropertyNames");SP.Taxonomy.LabelObjectPropertyNames.registerClass("SP.Taxonomy.LabelObjectPropertyNames");SP.Taxonomy.LabelCollection.registerClass("SP.Taxonomy.LabelCollection",SP.ClientObjectCollection);SP.Taxonomy.LabelMatchInformation.registerClass("SP.Taxonomy.LabelMatchInformation",SP.ClientObject);SP.Taxonomy.LabelMatchInformationPropertyNames.registerClass("SP.Taxonomy.LabelMatchInformationPropertyNames");SP.Taxonomy.MobileTaxonomyField.registerClass("SP.Taxonomy.MobileTaxonomyField",SP.ClientObject);SP.Taxonomy.MobileTaxonomyFieldPropertyNames.registerClass("SP.Taxonomy.MobileTaxonomyFieldPropertyNames");SP.Taxonomy.TaxonomyField.registerClass("SP.Taxonomy.TaxonomyField",SP.FieldLookup);SP.Taxonomy.TaxonomyFieldPropertyNames.registerClass("SP.Taxonomy.TaxonomyFieldPropertyNames");SP.Taxonomy.TaxonomyFieldValue.registerClass("SP.Taxonomy.TaxonomyFieldValue",SP.ClientValueObject);SP.Taxonomy.TaxonomyFieldValueCollection.registerClass("SP.Taxonomy.TaxonomyFieldValueCollection",SP.ClientObjectCollection);SP.Taxonomy.TaxonomyItem.registerClass("SP.Taxonomy.TaxonomyItem",SP.ClientObject);SP.Taxonomy.TaxonomyItemPropertyNames.registerClass("SP.Taxonomy.TaxonomyItemPropertyNames");SP.Taxonomy.TaxonomyItemObjectPropertyNames.registerClass("SP.Taxonomy.TaxonomyItemObjectPropertyNames");SP.Taxonomy.TaxonomySession.registerClass("SP.Taxonomy.TaxonomySession",SP.ClientObject);SP.Taxonomy.TaxonomySessionPropertyNames.registerClass("SP.Taxonomy.TaxonomySessionPropertyNames");SP.Taxonomy.TaxonomySessionObjectPropertyNames.registerClass("SP.Taxonomy.TaxonomySessionObjectPropertyNames");SP.Taxonomy.TermSetItem.registerClass("SP.Taxonomy.TermSetItem",SP.Taxonomy.TaxonomyItem);SP.Taxonomy.Term.registerClass("SP.Taxonomy.Term",SP.Taxonomy.TermSetItem);SP.Taxonomy.TermPropertyNames.registerClass("SP.Taxonomy.TermPropertyNames");SP.Taxonomy.TermObjectPropertyNames.registerClass("SP.Taxonomy.TermObjectPropertyNames");SP.Taxonomy.TermCollection.registerClass("SP.Taxonomy.TermCollection",SP.ClientObjectCollection);SP.Taxonomy.TermGroup.registerClass("SP.Taxonomy.TermGroup",SP.Taxonomy.TaxonomyItem);SP.Taxonomy.TermGroupPropertyNames.registerClass("SP.Taxonomy.TermGroupPropertyNames");SP.Taxonomy.TermGroupObjectPropertyNames.registerClass("SP.Taxonomy.TermGroupObjectPropertyNames");SP.Taxonomy.TermGroupCollection.registerClass("SP.Taxonomy.TermGroupCollection",SP.ClientObjectCollection);SP.Taxonomy.TermSet.registerClass("SP.Taxonomy.TermSet",SP.Taxonomy.TermSetItem);SP.Taxonomy.TermSetPropertyNames.registerClass("SP.Taxonomy.TermSetPropertyNames");SP.Taxonomy.TermSetObjectPropertyNames.registerClass("SP.Taxonomy.TermSetObjectPropertyNames");SP.Taxonomy.TermSetCollection.registerClass("SP.Taxonomy.TermSetCollection",SP.ClientObjectCollection);SP.Taxonomy.TermSetItemPropertyNames.registerClass("SP.Taxonomy.TermSetItemPropertyNames");SP.Taxonomy.TermSetItemObjectPropertyNames.registerClass("SP.Taxonomy.TermSetItemObjectPropertyNames");SP.Taxonomy.TermStore.registerClass("SP.Taxonomy.TermStore",SP.ClientObject);SP.Taxonomy.TermStorePropertyNames.registerClass("SP.Taxonomy.TermStorePropertyNames");SP.Taxonomy.TermStoreObjectPropertyNames.registerClass("SP.Taxonomy.TermStoreObjectPropertyNames");SP.Taxonomy.TermStoreCollection.registerClass("SP.Taxonomy.TermStoreCollection",SP.ClientObjectCollection);SP.Taxonomy.ChangedItemPropertyNames.changedBy="ChangedBy";SP.Taxonomy.ChangedItemPropertyNames.changedTime="ChangedTime";SP.Taxonomy.ChangedItemPropertyNames.id="Id";SP.Taxonomy.ChangedItemPropertyNames.itemType="ItemType";SP.Taxonomy.ChangedItemPropertyNames.operation="Operation";SP.Taxonomy.ChangedSitePropertyNames.siteId="SiteId";SP.Taxonomy.ChangedSitePropertyNames.termId="TermId";SP.Taxonomy.ChangedSitePropertyNames.termSetId="TermSetId";SP.Taxonomy.ChangedTermPropertyNames.changedCustomProperties="ChangedCustomProperties";SP.Taxonomy.ChangedTermPropertyNames.changedLocalCustomProperties="ChangedLocalCustomProperties";SP.Taxonomy.ChangedTermPropertyNames.groupId="GroupId";SP.Taxonomy.ChangedTermPropertyNames.lcidsForChangedDescriptions="LcidsForChangedDescriptions";SP.Taxonomy.ChangedTermPropertyNames.lcidsForChangedLabels="LcidsForChangedLabels";SP.Taxonomy.ChangedTermPropertyNames.termSetId="TermSetId";SP.Taxonomy.ChangedTermSetPropertyNames.fromGroupId="FromGroupId";SP.Taxonomy.ChangedTermSetPropertyNames.groupId="GroupId";SP.Taxonomy.ChangedTermStorePropertyNames.changedLanguage="ChangedLanguage";SP.Taxonomy.ChangedTermStorePropertyNames.isDefaultLanguageChanged="IsDefaultLanguageChanged";SP.Taxonomy.ChangedTermStorePropertyNames.isFullFarmRestore="IsFullFarmRestore";SP.Taxonomy.ChangeInformationPropertyNames.itemType="ItemType";SP.Taxonomy.ChangeInformationPropertyNames.operationType="OperationType";SP.Taxonomy.ChangeInformationPropertyNames.startTime="StartTime";SP.Taxonomy.ChangeInformationPropertyNames.withinTimeSpan="WithinTimeSpan";SP.Taxonomy.CustomPropertyMatchInformationPropertyNames.customPropertyName="CustomPropertyName";SP.Taxonomy.CustomPropertyMatchInformationPropertyNames.customPropertyValue="CustomPropertyValue";SP.Taxonomy.CustomPropertyMatchInformationPropertyNames.resultCollectionSize="ResultCollectionSize";SP.Taxonomy.CustomPropertyMatchInformationPropertyNames.stringMatchOption="StringMatchOption";SP.Taxonomy.CustomPropertyMatchInformationPropertyNames.trimUnavailable="TrimUnavailable";SP.Taxonomy.LabelPropertyNames.isDefaultForLanguage="IsDefaultForLanguage";SP.Taxonomy.LabelPropertyNames.language="Language";SP.Taxonomy.LabelPropertyNames.value="Value";SP.Taxonomy.LabelObjectPropertyNames.term="Term";SP.Taxonomy.LabelMatchInformationPropertyNames.defaultLabelOnly="DefaultLabelOnly";SP.Taxonomy.LabelMatchInformationPropertyNames.excludeKeyword="ExcludeKeyword";SP.Taxonomy.LabelMatchInformationPropertyNames.lcid="Lcid";SP.Taxonomy.LabelMatchInformationPropertyNames.resultCollectionSize="ResultCollectionSize";SP.Taxonomy.LabelMatchInformationPropertyNames.stringMatchOption="StringMatchOption";SP.Taxonomy.LabelMatchInformationPropertyNames.termLabel="TermLabel";SP.Taxonomy.LabelMatchInformationPropertyNames.trimDeprecated="TrimDeprecated";SP.Taxonomy.LabelMatchInformationPropertyNames.trimUnavailable="TrimUnavailable";SP.Taxonomy.MobileTaxonomyFieldPropertyNames.readOnly="ReadOnly";SP.Taxonomy.TaxonomyFieldPropertyNames.anchorId="AnchorId";SP.Taxonomy.TaxonomyFieldPropertyNames.createValuesInEditForm="CreateValuesInEditForm";SP.Taxonomy.TaxonomyFieldPropertyNames.isAnchorValid="IsAnchorValid";SP.Taxonomy.TaxonomyFieldPropertyNames.isKeyword="IsKeyword";SP.Taxonomy.TaxonomyFieldPropertyNames.isPathRendered="IsPathRendered";SP.Taxonomy.TaxonomyFieldPropertyNames.isTermSetValid="IsTermSetValid";SP.Taxonomy.TaxonomyFieldPropertyNames.open="Open";SP.Taxonomy.TaxonomyFieldPropertyNames.sspId="SspId";SP.Taxonomy.TaxonomyFieldPropertyNames.targetTemplate="TargetTemplate";SP.Taxonomy.TaxonomyFieldPropertyNames.termSetId="TermSetId";SP.Taxonomy.TaxonomyFieldPropertyNames.textField="TextField";SP.Taxonomy.TaxonomyFieldPropertyNames.userCreated="UserCreated";SP.Taxonomy.TaxonomyItemPropertyNames.createdDate="CreatedDate";SP.Taxonomy.TaxonomyItemPropertyNames.id="Id";SP.Taxonomy.TaxonomyItemPropertyNames.lastModifiedDate="LastModifiedDate";SP.Taxonomy.TaxonomyItemPropertyNames.name="Name";SP.Taxonomy.TaxonomyItemObjectPropertyNames.termStore="TermStore";SP.Taxonomy.TaxonomySessionPropertyNames.offlineTermStoreNames="OfflineTermStoreNames";SP.Taxonomy.TaxonomySessionObjectPropertyNames.termStores="TermStores";SP.Taxonomy.TermPropertyNames.description="Description";SP.Taxonomy.TermPropertyNames.isDeprecated="IsDeprecated";SP.Taxonomy.TermPropertyNames.isKeyword="IsKeyword";SP.Taxonomy.TermPropertyNames.isPinned="IsPinned";SP.Taxonomy.TermPropertyNames.isPinnedRoot="IsPinnedRoot";SP.Taxonomy.TermPropertyNames.isReused="IsReused";SP.Taxonomy.TermPropertyNames.isRoot="IsRoot";SP.Taxonomy.TermPropertyNames.isSourceTerm="IsSourceTerm";SP.Taxonomy.TermPropertyNames.localCustomProperties="LocalCustomProperties";SP.Taxonomy.TermPropertyNames.mergedTermIds="MergedTermIds";SP.Taxonomy.TermPropertyNames.pathOfTerm="PathOfTerm";SP.Taxonomy.TermPropertyNames.termsCount="TermsCount";SP.Taxonomy.TermObjectPropertyNames.labels="Labels";SP.Taxonomy.TermObjectPropertyNames.parent="Parent";SP.Taxonomy.TermObjectPropertyNames.pinSourceTermSet="PinSourceTermSet";SP.Taxonomy.TermObjectPropertyNames.reusedTerms="ReusedTerms";SP.Taxonomy.TermObjectPropertyNames.sourceTerm="SourceTerm";SP.Taxonomy.TermObjectPropertyNames.termSet="TermSet";SP.Taxonomy.TermObjectPropertyNames.termSets="TermSets";SP.Taxonomy.TermGroupPropertyNames.contributorPrincipalNames="ContributorPrincipalNames";SP.Taxonomy.TermGroupPropertyNames.description="Description";SP.Taxonomy.TermGroupPropertyNames.groupManagerPrincipalNames="GroupManagerPrincipalNames";SP.Taxonomy.TermGroupPropertyNames.isSiteCollectionGroup="IsSiteCollectionGroup";SP.Taxonomy.TermGroupPropertyNames.isSystemGroup="IsSystemGroup";SP.Taxonomy.TermGroupObjectPropertyNames.termSets="TermSets";SP.Taxonomy.TermSetPropertyNames.contact="Contact";SP.Taxonomy.TermSetPropertyNames.description="Description";SP.Taxonomy.TermSetPropertyNames.isOpenForTermCreation="IsOpenForTermCreation";SP.Taxonomy.TermSetPropertyNames.names="Names";SP.Taxonomy.TermSetPropertyNames.stakeholders="Stakeholders";SP.Taxonomy.TermSetObjectPropertyNames.group="Group";SP.Taxonomy.TermSetItemPropertyNames.customProperties="CustomProperties";SP.Taxonomy.TermSetItemPropertyNames.customSortOrder="CustomSortOrder";SP.Taxonomy.TermSetItemPropertyNames.isAvailableForTagging="IsAvailableForTagging";SP.Taxonomy.TermSetItemPropertyNames.owner="Owner";SP.Taxonomy.TermSetItemObjectPropertyNames.terms="Terms";SP.Taxonomy.TermStorePropertyNames.contentTypePublishingHub="ContentTypePublishingHub";SP.Taxonomy.TermStorePropertyNames.defaultLanguage="DefaultLanguage";SP.Taxonomy.TermStorePropertyNames.id="Id";SP.Taxonomy.TermStorePropertyNames.isOnline="IsOnline";SP.Taxonomy.TermStorePropertyNames.languages="Languages";SP.Taxonomy.TermStorePropertyNames.name="Name";SP.Taxonomy.TermStorePropertyNames.workingLanguage="WorkingLanguage";SP.Taxonomy.TermStoreObjectPropertyNames.groups="Groups";SP.Taxonomy.TermStoreObjectPropertyNames.hashTagsTermSet="HashTagsTermSet";SP.Taxonomy.TermStoreObjectPropertyNames.keywordsTermSet="KeywordsTermSet";SP.Taxonomy.TermStoreObjectPropertyNames.orphanedTermsTermSet="OrphanedTermsTermSet";SP.Taxonomy.TermStoreObjectPropertyNames.systemGroup="SystemGroup";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("SP.Taxonomy.js") \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.translation.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.translation.js deleted file mode 100644 index a0721b31d..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.translation.js +++ /dev/null @@ -1 +0,0 @@ -Type.registerNamespace("SP.Translation");SP.Translation.ItemTypes=function(){};SP.Translation.ItemTypes.prototype={succeeded:1,inProgress:2,notStarted:4,failed:8,canceled:16};SP.Translation.ItemTypes.registerEnum("SP.Translation.ItemTypes",false);SP.Translation.SaveBehavior=function(){};SP.Translation.SaveBehavior.prototype={appendIfPossible:0,alwaysOverwrite:1,appendOnly:2,neverOverwrite:3};SP.Translation.SaveBehavior.registerEnum("SP.Translation.SaveBehavior",false);SP.Translation.TranslationResult=function(){};SP.Translation.TranslationResult.prototype={unknownFailure:-1,succeeded:0,inputFileNotFound:1,unauthorizedAccessToInputFile:2,inputFileUserTokenExpired:3,unauthorizedAccessToOutputFile:4,outputFileUserTokenExpired:5,inputFileReadError:6,outputFileWriteError:7,notAssignedToWorker:8,workerFailed:9,timeout:10,syncTranslationLimitExceeded:11,syncTranslationDisabled:12,outputFileReadOnly:13,inputFileTooLarge:14,inputFileTooLong:15,inputFileCorrupt:16,inputFileIRMProtected:17,inputFileEncrypted:18,inputFileTypeBlocked:19,inputFileTypeNotSupported:20,inputFileHasActiveXControls:21,inputFileCannotBeTranslated:22,translationServiceUnavailable:23};SP.Translation.TranslationResult.registerEnum("SP.Translation.TranslationResult",false);SP.Translation.SyncTranslator=function(a){SP.Translation.SyncTranslator.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{5286f36c-929c-49d8-bf42-39effc672aaf}",arguments)])};SP.Translation.SyncTranslator.newObject=function(a,b){return new SP.Translation.SyncTranslator(a,new SP.ObjectPathConstructor(a,"{5286f36c-929c-49d8-bf42-39effc672aaf}",[b]))};SP.Translation.SyncTranslator.prototype={get_outputSaveBehavior:function(){this.checkUninitializedProperty("OutputSaveBehavior");return this.get_objectData().get_properties().OutputSaveBehavior},set_outputSaveBehavior:function(a){this.get_objectData().get_properties().OutputSaveBehavior=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OutputSaveBehavior",a));return a},initPropertiesFromJson:function(a){SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.OutputSaveBehavior;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties().OutputSaveBehavior=SP.DataConvert.fixupType(this.get_context(),b);delete a.OutputSaveBehavior}},translate:function(e,d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Translate",[e,d]);b.addQuery(c);a=new SP.Translation.TranslationItemInfo;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Translation.SyncTranslatorPropertyNames=function(){};SP.Translation.TranslationItemInfo=function(){SP.Translation.TranslationItemInfo.initializeBase(this)};SP.Translation.TranslationItemInfo.prototype={$0_1:false,$2_1:null,$3_1:false,$4_1:false,$5_1:null,$8_1:false,$9_1:null,$B_1:0,$D_1:false,$E_1:null,get_canceled:function(){return this.$0_1},get_errorMessage:function(){return this.$2_1},get_failed:function(){return this.$3_1},get_inProgress:function(){return this.$4_1},get_inputFile:function(){return this.$5_1},get_notStarted:function(){return this.$8_1},get_outputFile:function(){return this.$9_1},get_result:function(){return this.$B_1},get_succeeded:function(){return this.$D_1},get_translationId:function(){return this.$E_1},get_typeId:function(){return"{f1a935c2-8e02-42e8-9391-86bfe6d56f06}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Canceled","ErrorMessage","Failed","InProgress","InputFile","NotStarted","OutputFile","Result","Succeeded","TranslationId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Canceled;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Canceled}a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=a;delete b.ErrorMessage}a=b.Failed;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=a;delete b.Failed}a=b.InProgress;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.InProgress}a=b.InputFile;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.InputFile}a=b.NotStarted;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.NotStarted}a=b.OutputFile;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.OutputFile}a=b.Result;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=SP.DataConvert.fixupType(null,a);delete b.Result}a=b.Succeeded;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.Succeeded}a=b.TranslationId;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.TranslationId}}};SP.Translation.TranslationJob=function(a){SP.Translation.TranslationJob.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}",arguments)])};SP.Translation.TranslationJob.newObject=function(a,b){return new SP.Translation.TranslationJob(a,new SP.ObjectPathConstructor(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}",[b]))};SP.Translation.TranslationJob.isServiceEnabled=function(a){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","IsServiceEnabled",null);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJob.cancelJob=function(a,b){if(!a)throw Error.argumentNull("context");var c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","CancelJob",[b]);a.addQuery(c)};SP.Translation.TranslationJob.enumerateSupportedFileExtensions=function(a){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","EnumerateSupportedFileExtensions",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJob.isFileExtensionSupported=function(a,d){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","IsFileExtensionSupported",[d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJob.getMaximumFileSize=function(a,d){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","GetMaximumFileSize",[d]);a.addQuery(c);b=new SP.IntResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJob.enumerateSupportedLanguages=function(a){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","EnumerateSupportedLanguages",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJob.isLanguageSupported=function(a,d){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{c85774be-554a-4c27-9b0c-a34ab1c86b0d}","IsLanguageSupported",[d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJob.prototype={get_jobId:function(){this.checkUninitializedProperty("JobId");return this.get_objectData().get_properties().JobId},get_name:function(){this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},set_name:function(a){this.get_objectData().get_properties().Name=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_outputSaveBehavior:function(){this.checkUninitializedProperty("OutputSaveBehavior");return this.get_objectData().get_properties().OutputSaveBehavior},set_outputSaveBehavior:function(a){this.get_objectData().get_properties().OutputSaveBehavior=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OutputSaveBehavior",a));return a},initPropertiesFromJson:function(b){SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.JobId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().JobId=a;delete b.JobId}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.OutputSaveBehavior;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().OutputSaveBehavior=SP.DataConvert.fixupType(this.get_context(),a);delete b.OutputSaveBehavior}},addFile:function(b,a){var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"AddFile",[b,a]);c.addQuery(d)},addFolder:function(e,d,f){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"AddFolder",[e,d,f]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},addLibrary:function(e,d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"AddLibrary",[e,d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},start:function(){var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Start",null);a.addQuery(b)}};SP.Translation.TranslationJobPropertyNames=function(){};SP.Translation.TranslationJobInfo=function(){SP.Translation.TranslationJobInfo.initializeBase(this)};SP.Translation.TranslationJobInfo.prototype={$0_1:false,$1_1:null,$6_1:null,$7_1:null,$A_1:false,$C_1:null,get_canceled:function(){return this.$0_1},get_cancelTime:function(){return this.$1_1},get_jobId:function(){return this.$6_1},get_name:function(){return this.$7_1},get_partiallySubmitted:function(){return this.$A_1},get_submittedTime:function(){return this.$C_1},get_typeId:function(){return"{39b8cbdb-b9f4-4a97-bcf9-b2f28359bf2a}"},writeToXml:function(b,a){if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Canceled","CancelTime","JobId","Name","PartiallySubmitted","SubmittedTime"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Canceled;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.Canceled}a=b.CancelTime;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.CancelTime}a=b.JobId;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=a;delete b.JobId}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.Name}a=b.PartiallySubmitted;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.PartiallySubmitted}a=b.SubmittedTime;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.SubmittedTime}}};SP.Translation.TranslationJobStatus=function(a){SP.Translation.TranslationJobStatus.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{a41fff40-2ff3-44e6-9436-b3e3ba60e174}",arguments)])};SP.Translation.TranslationJobStatus.newObject=function(a,b){return new SP.Translation.TranslationJobStatus(a,new SP.ObjectPathConstructor(a,"{a41fff40-2ff3-44e6-9436-b3e3ba60e174}",[b]))};SP.Translation.TranslationJobStatus.getAllActiveJobs=function(a){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a41fff40-2ff3-44e6-9436-b3e3ba60e174}","GetAllActiveJobs",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJobStatus.getAllJobs=function(a){if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a41fff40-2ff3-44e6-9436-b3e3ba60e174}","GetAllJobs",null);a.addQuery(c);b=[];a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.Translation.TranslationJobStatus.prototype={get_canceled:function(){this.checkUninitializedProperty("Canceled");return this.get_objectData().get_properties().Canceled},get_count:function(){this.checkUninitializedProperty("Count");return this.get_objectData().get_properties().Count},get_failed:function(){this.checkUninitializedProperty("Failed");return this.get_objectData().get_properties().Failed},get_inProgress:function(){this.checkUninitializedProperty("InProgress");return this.get_objectData().get_properties().InProgress},get_name:function(){this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},get_notStarted:function(){this.checkUninitializedProperty("NotStarted");return this.get_objectData().get_properties().NotStarted},get_succeeded:function(){this.checkUninitializedProperty("Succeeded");return this.get_objectData().get_properties().Succeeded},initPropertiesFromJson:function(b){SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Canceled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Canceled=a;delete b.Canceled}a=b.Count;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Count=a;delete b.Count}a=b.Failed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Failed=a;delete b.Failed}a=b.InProgress;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().InProgress=a;delete b.InProgress}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.NotStarted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NotStarted=a;delete b.NotStarted}a=b.Succeeded;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Succeeded=a;delete b.Succeeded}},getItems:function(d){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetItems",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getAllItems:function(){var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetAllItems",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},refresh:function(){var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Refresh",null);a.addQuery(b)}};SP.Translation.TranslationJobStatusPropertyNames=function(){};SP.Translation.VariationsTranslationTimerJob=function(){};SP.Translation.VariationsTranslationTimerJob.exportItems=function(a,e,c,b){if(!a)throw Error.argumentNull("context");var d=new SP.ClientActionInvokeStaticMethod(a,"{0e043428-89f2-4747-b485-bc6d77c90a11}","ExportItems",[e,c,b]);a.addQuery(d)};SP.Translation.VariationsTranslationTimerJob.exportItemsRequiringTranslation=function(a,d,b){if(!a)throw Error.argumentNull("context");var c=new SP.ClientActionInvokeStaticMethod(a,"{0e043428-89f2-4747-b485-bc6d77c90a11}","ExportItemsRequiringTranslation",[d,b]);a.addQuery(c)};SP.Translation.VariationsTranslationTimerJob.machineTranslateItems=function(a,e,c,b){if(!a)throw Error.argumentNull("context");var d=new SP.ClientActionInvokeStaticMethod(a,"{0e043428-89f2-4747-b485-bc6d77c90a11}","MachineTranslateItems",[e,c,b]);a.addQuery(d)};SP.Translation.VariationsTranslationTimerJob.machineTranslateItemsRequiringTranslation=function(a,d,b){if(!a)throw Error.argumentNull("context");var c=new SP.ClientActionInvokeStaticMethod(a,"{0e043428-89f2-4747-b485-bc6d77c90a11}","MachineTranslateItemsRequiringTranslation",[d,b]);a.addQuery(c)};SP.Translation.VariationsTranslationTimerJob.importTranslationPackage=function(a,c,d,b){if(!a)throw Error.argumentNull("context");var e=new SP.ClientActionInvokeStaticMethod(a,"{0e043428-89f2-4747-b485-bc6d77c90a11}","ImportTranslationPackage",[c,d,b]);a.addQuery(e)};SP.Translation.SyncTranslator.registerClass("SP.Translation.SyncTranslator",SP.ClientObject);SP.Translation.SyncTranslatorPropertyNames.registerClass("SP.Translation.SyncTranslatorPropertyNames");SP.Translation.TranslationItemInfo.registerClass("SP.Translation.TranslationItemInfo",SP.ClientValueObject);SP.Translation.TranslationJob.registerClass("SP.Translation.TranslationJob",SP.ClientObject);SP.Translation.TranslationJobPropertyNames.registerClass("SP.Translation.TranslationJobPropertyNames");SP.Translation.TranslationJobInfo.registerClass("SP.Translation.TranslationJobInfo",SP.ClientValueObject);SP.Translation.TranslationJobStatus.registerClass("SP.Translation.TranslationJobStatus",SP.ClientObject);SP.Translation.TranslationJobStatusPropertyNames.registerClass("SP.Translation.TranslationJobStatusPropertyNames");SP.Translation.VariationsTranslationTimerJob.registerClass("SP.Translation.VariationsTranslationTimerJob");SP.Translation.SyncTranslatorPropertyNames.outputSaveBehavior="OutputSaveBehavior";SP.Translation.TranslationJobPropertyNames.jobId="JobId";SP.Translation.TranslationJobPropertyNames.name="Name";SP.Translation.TranslationJobPropertyNames.outputSaveBehavior="OutputSaveBehavior";SP.Translation.TranslationJobStatusPropertyNames.canceled="Canceled";SP.Translation.TranslationJobStatusPropertyNames.count="Count";SP.Translation.TranslationJobStatusPropertyNames.failed="Failed";SP.Translation.TranslationJobStatusPropertyNames.inProgress="InProgress";SP.Translation.TranslationJobStatusPropertyNames.name="Name";SP.Translation.TranslationJobStatusPropertyNames.notStarted="NotStarted";SP.Translation.TranslationJobStatusPropertyNames.succeeded="Succeeded";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("SP.Translation.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.userprofiles.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.userprofiles.js deleted file mode 100644 index 0bbc12cd7..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.userprofiles.js +++ /dev/null @@ -1 +0,0 @@ -function ULSqjq(){var a={};a.ULSTeamName="Office Server";a.ULSFileName="SP.UserProfiles.jss";return a}Type.registerNamespace("SP.Microfeed");SP.Microfeed.IdentifierEncoding=function(){};SP.Microfeed.IdentifierEncoding.prototype={cacheEncoding:0,userEncoding:1};SP.Microfeed.IdentifierEncoding.registerEnum("SP.Microfeed.IdentifierEncoding",false);SP.Microfeed.MicroBlogEntityType=function(){};SP.Microfeed.MicroBlogEntityType.prototype={none:0,user:1,document:2,site:8,tag:16};SP.Microfeed.MicroBlogEntityType.registerEnum("SP.Microfeed.MicroBlogEntityType",false);SP.Microfeed.MicroBlogType=function(){};SP.Microfeed.MicroBlogType.prototype={none:0,mbeProfile:1,rootPost:2,replyPost:4,refLike:8,refMention:16,refReply:32,activityEventRootPost:64,refTag:128,reference:256,nonRefPosts:70,refPosts:440,myRootPosts:506,myAllPosts:510,theirRootPosts:490,theirAllPosts:494,all:510};SP.Microfeed.MicroBlogType.registerEnum("SP.Microfeed.MicroBlogType",false);SP.Microfeed.MicrofeedContentFormattingOptions=function(){};SP.Microfeed.MicrofeedContentFormattingOptions.prototype={replaceTemplateVariablesWithPlaceHolders:0,none:1,replaceTemplateVariablesWithValues:2,replaceTemplateVariablesWithValues_NoHrefs:3};SP.Microfeed.MicrofeedContentFormattingOptions.registerEnum("SP.Microfeed.MicrofeedContentFormattingOptions",false);SP.Microfeed.MicrofeedDataLinkType=function(){};SP.Microfeed.MicrofeedDataLinkType.prototype={none:0,uri:1,string:2,documentLibrary:4,followedContentUri:8,dateTime:32,numericString:64,document:128,tag:256,interest:512,user:1024};SP.Microfeed.MicrofeedDataLinkType.registerEnum("SP.Microfeed.MicrofeedDataLinkType",false);SP.Microfeed.MicrofeedLinkActionKind=function(){};SP.Microfeed.MicrofeedLinkActionKind.prototype={navigate:0,adHocAction:1};SP.Microfeed.MicrofeedLinkActionKind.registerEnum("SP.Microfeed.MicrofeedLinkActionKind",false);SP.Microfeed.MicrofeedLinkType=function(){};SP.Microfeed.MicrofeedLinkType.prototype={none:0,image:1,webpage:2,movie:3,audio:4,customAction:5,document:6};SP.Microfeed.MicrofeedLinkType.registerEnum("SP.Microfeed.MicrofeedLinkType",false);SP.Microfeed.MicrofeedPostAttributes=function(){};SP.Microfeed.MicrofeedPostAttributes.prototype={none:0,isPrivate:1,isDefault:2,isEnabled:4,isUserPost:8,canReply:16,canDelete:32,canLike:64,enablePeopleList:128,canLock:256,canHaveAttachments:512,renderPostAuthorImage:1024,smallImageSizePreferred:2048,persistToPublishedFeed:4096,persistToCache:8192,isNotification:16384,canFollowUp:32768};SP.Microfeed.MicrofeedPostAttributes.registerEnum("SP.Microfeed.MicrofeedPostAttributes",false);SP.Microfeed.MicrofeedPostSecurityAttributes=function(){};SP.Microfeed.MicrofeedPostSecurityAttributes.prototype={none:0,persistToPrivateFolder:1,securityTrimContentUrl:2};SP.Microfeed.MicrofeedPostSecurityAttributes.registerEnum("SP.Microfeed.MicrofeedPostSecurityAttributes",false);SP.Microfeed.MicrofeedPublishedFeedType=function(){};SP.Microfeed.MicrofeedPublishedFeedType.prototype={recent:0,full:1};SP.Microfeed.MicrofeedPublishedFeedType.registerEnum("SP.Microfeed.MicrofeedPublishedFeedType",false);SP.Microfeed.MicrofeedSortOrder=function(){};SP.Microfeed.MicrofeedSortOrder.prototype={modifiedTime:0,createdTime:1};SP.Microfeed.MicrofeedSortOrder.registerEnum("SP.Microfeed.MicrofeedSortOrder",false);SP.Microfeed.MicrofeedStatusCode=function(){};SP.Microfeed.MicrofeedStatusCode.prototype={success:0,serverError:1,insufficientPermissions:2,interimPlaceholderEntity:3,invalidItemId:4,invalidThreadId:5,invalidUriInPostOptions:6,invalidMediaLinkName:7,invalidMediaLinkURI:8,invalidMediaLinkSnippetURI:9,mediaLinkAddFailure:10,noServiceContext:11,invalid_MicroBlogType_Requested:12,only_One_ContentUri_Allowed_Per_Post:13,invalid_Content_Null_Or_Empty:14,invalid_Content_Length_Greater_Than_512_Chars:15,invalid_KeyWord_Found_In_Content:16,invalid_MediaLinks_SerializedString:17,invalid_MicroBlogPost_SerializedString:18,microBlogEntity_Error_PublishedFeedList_NotFound:19,microBlogEntity_Invalid_GetPublishedFeed:20,microBlogPost_Error_SavingToPublishedFeed:21,microBlogPost_Error_PublishingToCache:22,microBlogPost_Error_DeletingFromCache:23,microBLogList_Error_FetchingList:24,microBlogList_Error_ExecutingQuery:25,microBlogList_Error_FetchingItem:26,microBlogList_Error_AddingItem:27,microBlogList_Error_Updating_Item:28,microBlogList_Error_FetchMBProfileItem:29,microBlogList_Error_AccessingProperty:30,invalidRequest:31,invalidLikeRequest:32,invalidLockRequest:33,invalidRootPost:34,invalidReplyRequest:35,invalidReplyRequest_MaxRepliesPerRootPost_LimitReached:36,invalidLikeRequest_AlreadyMarkedAsLiked:37,invalidUnLikeRequest_AlreadyMarkedAsUnLike:38,invalidEMailSubscriptionRequest_AlreadyUnsubscribed:39,invalidEMailSubscriptionRequest_AlreadySubscribed:40,invalidEMailSubscriptionRequest_NotThread:41,invalidLockRequest_AlreadyMarkedAsLocked:42,invalidUnLockRequest_AlreadyMarkedAsUnLocked:43,invalidLockRequest_LockingNonRootPost:44,serverErrorCanReplyIsFalse:45,serverErrorFeatureDisabled:46,serverErrorSiteNotFound:47,serverErrorMicroBlogListNotFound:48,serverErrorRootPostNotFound:49,serverErrorPublishedFeedListNotFound:50,serverErrorPublishedFeedListItemNotFound:51,serverErrorSavingListItemField:52,serverErrorInvalidFeedRequest:53,serverErrorFetchingPublishedFeed:54,serverErrorFetchingConsolidatedFeed:55,serverErrorFetchingCategoricalFeed:56,serverErrorFetchingActivityFeed:57,serverErrorSecurityTrimmer:58,serverErrorDuplicateMessageId:59,serverErrorOpeningPersonalSite:60,serverError_Initialization:61,serverErrorInvalidContentURI:62,serverErrorInvalidFollowedItemType:63,serverErrorPublishingToList:64,serverErrorPublishingToCache:65,microBlogDeletionError_NotOwner:66,serverCacheError_CacheNotFound:67,serverCacheError_NotAuthorized:68,serverCacheError_ThreadNotFound:69,incorrectTenantPartition:70,invalidUserAccount:71,invalidKeywordTag:72,taxonomy_TagNotAvailabelForTagging:73,taxonomy_TermStoreNotFound:74,invalidEntityIdentifier:75,unexpectedEntityType:76,warningPersonalSiteNotFoundCannotCreate:77,warningPersonalSiteNotFoundCanCreate:78,warningPersonalSiteNotFoundCanCreateNoPermissions:79,warningPersonalSiteNotFoundCanCreateError:80,errorPersonalSiteNotFound:81,guidStringConversionError:82,serverErrorUnableToFetchUserProfile:83,sP_MFPD_DataBase_Exception:84,sP_MFPD_DataBase_DefinitionNotFound:85,sP_MFPD_Invalid_Operation:86,sP_MFPD_Invalid_Value:87,sP_MFPD_Partition_Mismatch:88,sP_MFPD_Definition_Disabled:89,invalid_MicroBlogPost_DefinitionNameIsRequired:90,invalid_MicroBlogPost_InvalidDefinitionName:91,invalidRequest_PostIsLocked:92,serverErrorUnableToAttachPicture:93,invalidFeedCacheEntity_UserMissingURI:94,invalidFeedCacheEntity_DocMissingURI:95,restrictedListStorageCompromised:96,invalidPostTarget:97,warningSiteStorageQuotaExceeded:98,serverErrorCannotAccessDatabase:99};SP.Microfeed.MicrofeedStatusCode.registerEnum("SP.Microfeed.MicrofeedStatusCode",false);SP.Microfeed.MicroBlogEntity=function(){a:;SP.Microfeed.MicroBlogEntity.initializeBase(this)};SP.Microfeed.MicroBlogEntity.prototype={$0_1:null,$h_1:false,$C_1:null,$29_1:null,$2A_1:null,$2C_1:0,$2D_1:null,$2F_1:null,$j_1:null,$2T_1:false,$2V_1:null,$2W_1:null,$k_1:null,$2i_1:null,$2j_1:null,$3_1:0,$A_1:null,get_accountName:function(){a:;return this.$0_1},get_canFollow:function(){a:;return this.$h_1},get_description:function(){a:;return this.$C_1},get_displayName:function(){a:;return this.$29_1},get_email:function(){a:;return this.$2A_1},get_entityType:function(){a:;return this.$2C_1},get_entityURI:function(){a:;return this.$2D_1},get_followedContentURI:function(){a:;return this.$2F_1},get_identifier:function(){a:;return this.$j_1},get_isFollowedByMe:function(){a:;return this.$2T_1},get_latestPost:function(){a:;return this.$2V_1},get_libraryName:function(){a:;return this.$2W_1},get_libraryUri:function(){a:;return this.$k_1},get_personalURI:function(){a:;return this.$2i_1},get_pictureURI:function(){a:;return this.$2j_1},get_status:function(){a:;return this.$3_1},get_title:function(){a:;return this.$A_1},get_typeId:function(){a:;return "{cba4e400-5969-4c8d-9dc8-9210a99a9003}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AccountName","CanFollow","Description","DisplayName","Email","EntityType","EntityURI","FollowedContentURI","Identifier","IsFollowedByMe","LatestPost","LibraryName","LibraryUri","PersonalURI","PictureURI","Status","Title"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.AccountName}a=b.CanFollow;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.CanFollow}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Description}a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.$29_1=a;delete b.DisplayName}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.$2A_1=a;delete b.Email}a=b.EntityType;if(!SP.ScriptUtility.isUndefined(a)){this.$2C_1=SP.DataConvert.fixupType(null,a);delete b.EntityType}a=b.EntityURI;if(!SP.ScriptUtility.isUndefined(a)){this.$2D_1=SP.DataConvert.fixupType(null,a);delete b.EntityURI}a=b.FollowedContentURI;if(!SP.ScriptUtility.isUndefined(a)){this.$2F_1=SP.DataConvert.fixupType(null,a);delete b.FollowedContentURI}a=b.Identifier;if(!SP.ScriptUtility.isUndefined(a)){this.$j_1=a;delete b.Identifier}a=b.IsFollowedByMe;if(!SP.ScriptUtility.isUndefined(a)){this.$2T_1=a;delete b.IsFollowedByMe}a=b.LatestPost;if(!SP.ScriptUtility.isUndefined(a)){this.$2V_1=a;delete b.LatestPost}a=b.LibraryName;if(!SP.ScriptUtility.isUndefined(a)){this.$2W_1=a;delete b.LibraryName}a=b.LibraryUri;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=SP.DataConvert.fixupType(null,a);delete b.LibraryUri}a=b.PersonalURI;if(!SP.ScriptUtility.isUndefined(a)){this.$2i_1=SP.DataConvert.fixupType(null,a);delete b.PersonalURI}a=b.PictureURI;if(!SP.ScriptUtility.isUndefined(a)){this.$2j_1=SP.DataConvert.fixupType(null,a);delete b.PictureURI}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=SP.DataConvert.fixupType(null,a);delete b.Status}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Title}}};SP.Microfeed.MicroBlogEntityCollection=function(){a:;SP.Microfeed.MicroBlogEntityCollection.initializeBase(this)};SP.Microfeed.MicroBlogEntityCollection.prototype={add:function(a){a:;this.addChild(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_typeId:function(){a:;return "{16bac8fd-fcae-4318-9463-b0e29c630a48}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)}};SP.Microfeed.MicrofeedAttachmentStore=function(a){a:;SP.Microfeed.MicrofeedAttachmentStore.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{a35aff9e-fa7c-4366-83cc-3eb9a13eecf5}",arguments)])};SP.Microfeed.MicrofeedAttachmentStore.newObject=function(a){a:;return new SP.Microfeed.MicrofeedAttachmentStore(a,new SP.ObjectPathConstructor(a,"{a35aff9e-fa7c-4366-83cc-3eb9a13eecf5}",null))};SP.Microfeed.MicrofeedAttachmentStore.prototype={putImage:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PutImage",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getImage:function(d,e,f){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetImage",[d,e,f]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},putFile:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PutFile",[d,e]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},preProcessAttachment:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PreProcessAttachment",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedLink;b.addQueryIdAndResultObject(c.get_id(),a);return a},deletePreProcessedAttachment:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"DeletePreProcessedAttachment",[a]);b.addQuery(c)}};SP.Microfeed.MicrofeedData=function(a){a:;SP.Microfeed.MicrofeedData.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{9b70d32c-7b10-490a-8a54-9f4e17b34288}",arguments)])};SP.Microfeed.MicrofeedData.newObject=function(a,c,b){a:;return new SP.Microfeed.MicrofeedData(a,new SP.ObjectPathConstructor(a,"{9b70d32c-7b10-490a-8a54-9f4e17b34288}",[c,b]))};SP.Microfeed.MicrofeedData.prototype={get_created:function(){a:;this.checkUninitializedProperty("Created");return this.get_objectData().get_properties()["Created"]},set_created:function(a){a:;this.get_objectData().get_properties()["Created"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Created",a));return a},get_data:function(){a:;this.checkUninitializedProperty("Data");return this.get_objectData().get_properties()["Data"]},set_data:function(a){a:;this.get_objectData().get_properties()["Data"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Data",a));return a},get_definitionId:function(){a:;this.checkUninitializedProperty("DefinitionId");return this.get_objectData().get_properties()["DefinitionId"]},set_definitionId:function(a){a:;this.get_objectData().get_properties()["DefinitionId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefinitionId",a));return a},get_itemType:function(){a:;this.checkUninitializedProperty("ItemType");return this.get_objectData().get_properties()["ItemType"]},set_itemType:function(a){a:;this.get_objectData().get_properties()["ItemType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ItemType",a));return a},get_modified:function(){a:;this.checkUninitializedProperty("Modified");return this.get_objectData().get_properties()["Modified"]},set_modified:function(a){a:;this.get_objectData().get_properties()["Modified"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Modified",a));return a},get_targetIdentifier:function(){a:;this.checkUninitializedProperty("TargetIdentifier");return this.get_objectData().get_properties()["TargetIdentifier"]},set_targetIdentifier:function(a){a:;this.get_objectData().get_properties()["TargetIdentifier"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TargetIdentifier",a));return a},get_version:function(){a:;this.checkUninitializedProperty("Version");return this.get_objectData().get_properties()["Version"]},set_version:function(a){a:;this.get_objectData().get_properties()["Version"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Version",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Created"]=a;delete b.Created}a=b.Data;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Data"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Data}a=b.DefinitionId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefinitionId"]=a;delete b.DefinitionId}a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ItemType"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ItemType}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Modified"]=a;delete b.Modified}a=b.TargetIdentifier;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["TargetIdentifier"]=a;delete b.TargetIdentifier}a=b.Version;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Version"]=a;delete b.Version}},addAttachment:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"AddAttachment",[d,a]);b.addQuery(c)},update:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Update",null);a.addQuery(b)},systemUpdate:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"SystemUpdate",null);a.addQuery(b)}};SP.Microfeed.MicrofeedDataPropertyNames=function(){};SP.Microfeed.MicrofeedDataCollection=function(b,a){a:;SP.Microfeed.MicrofeedDataCollection.initializeBase(this,[b,a])};SP.Microfeed.MicrofeedDataCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Microfeed.MicrofeedData},get_lastItemDeletedDate:function(){a:;this.checkUninitializedProperty("LastItemDeletedDate");return this.get_objectData().get_properties()["LastItemDeletedDate"]},set_lastItemDeletedDate:function(a){a:;this.get_objectData().get_properties()["LastItemDeletedDate"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LastItemDeletedDate",a));return a},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.LastItemDeletedDate;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["LastItemDeletedDate"]=b;delete a.LastItemDeletedDate}},deleteAll:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"DeleteAll",null);a.addQuery(b)}};SP.Microfeed.MicrofeedDataCollectionPropertyNames=function(){};SP.Microfeed.MicrofeedDataQuery=function(){a:;SP.Microfeed.MicrofeedDataQuery.initializeBase(this)};SP.Microfeed.MicrofeedDataQuery.prototype={$1L_1:0,$1d_1:null,$1z_1:null,$20_1:false,get_itemLimit:function(){a:;return this.$1L_1},set_itemLimit:function(a){a:;this.$1L_1=a;return a},get_query:function(){a:;return this.$1d_1},set_query:function(a){a:;this.$1d_1=a;return a},get_viewFields:function(){a:;return this.$1z_1},set_viewFields:function(a){a:;this.$1z_1=a;return a},get_viewFieldsOnly:function(){a:;return this.$20_1},set_viewFieldsOnly:function(a){a:;this.$20_1=a;return a},get_typeId:function(){a:;return "{8ed10755-cc38-4099-875a-8f82d6a62303}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ItemLimit","Query","ViewFields","ViewFieldsOnly"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ItemLimit;if(!SP.ScriptUtility.isUndefined(a)){this.$1L_1=a;delete b.ItemLimit}a=b.Query;if(!SP.ScriptUtility.isUndefined(a)){this.$1d_1=a;delete b.Query}a=b.ViewFields;if(!SP.ScriptUtility.isUndefined(a)){this.$1z_1=SP.DataConvert.fixupType(null,a);delete b.ViewFields}a=b.ViewFieldsOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$20_1=a;delete b.ViewFieldsOnly}}};SP.Microfeed.MicrofeedDataLink=function(){a:;SP.Microfeed.MicrofeedDataLink.initializeBase(this)};SP.Microfeed.MicrofeedDataLink.prototype={$z_1:0,$10_1:null,$1_1:null,$1Z_1:null,$1s_1:null,$U_1:null,$1x_1:null,get_dataLinkType:function(){a:;return this.$z_1},set_dataLinkType:function(a){a:;this.$z_1=a;return a},get_dateTimeValue:function(){a:;return this.$10_1},set_dateTimeValue:function(a){a:;this.$10_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_placeHolderName:function(){a:;return this.$1Z_1},set_placeHolderName:function(a){a:;this.$1Z_1=a;return a},get_stringValue:function(){a:;return this.$1s_1},set_stringValue:function(a){a:;this.$1s_1=a;return a},get_uniqueId:function(){a:;return this.$U_1},set_uniqueId:function(a){a:;this.$U_1=a;return a},get_uriValue:function(){a:;return this.$1x_1},set_uriValue:function(a){a:;this.$1x_1=a;return a},get_typeId:function(){a:;return "{b75fd87c-c0f0-4a07-b46d-a63c7240eafc}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["DataLinkType","DateTimeValue","Name","PlaceHolderName","StringValue","UniqueId","UriValue"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DataLinkType;if(!SP.ScriptUtility.isUndefined(a)){this.$z_1=SP.DataConvert.fixupType(null,a);delete b.DataLinkType}a=b.DateTimeValue;if(!SP.ScriptUtility.isUndefined(a)){this.$10_1=a;delete b.DateTimeValue}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.PlaceHolderName;if(!SP.ScriptUtility.isUndefined(a)){this.$1Z_1=a;delete b.PlaceHolderName}a=b.StringValue;if(!SP.ScriptUtility.isUndefined(a)){this.$1s_1=a;delete b.StringValue}a=b.UniqueId;if(!SP.ScriptUtility.isUndefined(a)){this.$U_1=a;delete b.UniqueId}a=b.UriValue;if(!SP.ScriptUtility.isUndefined(a)){this.$1x_1=SP.DataConvert.fixupType(null,a);delete b.UriValue}}};SP.Microfeed.MicrofeedDataLinkCollection=function(){a:;SP.Microfeed.MicrofeedDataLinkCollection.initializeBase(this)};SP.Microfeed.MicrofeedDataLinkCollection.prototype={add:function(a){a:;this.addChild(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_typeId:function(){a:;return "{a78ae3ca-ba3f-4844-a8b5-f54736d479e8}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)}};SP.Microfeed.MicrofeedLink=function(){a:;SP.Microfeed.MicrofeedLink.initializeBase(this)};SP.Microfeed.MicrofeedLink.prototype={$N_1:null,$6_1:null,$C_1:null,$4_1:0,$1C_1:null,$D_1:0,$1N_1:0,$1_1:null,$S_1:0,$1b_1:null,$T_1:0,$3_1:0,$5_1:0,get_clickAction:function(){a:;return this.$N_1},set_clickAction:function(a){a:;this.$N_1=a;return a},get_contentUri:function(){a:;return this.$6_1},set_contentUri:function(a){a:;this.$6_1=a;return a},get_description:function(){a:;return this.$C_1},set_description:function(a){a:;this.$C_1=a;return a},get_height:function(){a:;return this.$4_1},set_height:function(a){a:;this.$4_1=a;return a},get_href:function(){a:;return this.$1C_1},set_href:function(a){a:;this.$1C_1=a;return a},get_length:function(){a:;return this.$D_1},set_length:function(a){a:;this.$D_1=a;return a},get_linkType:function(){a:;return this.$1N_1},set_linkType:function(a){a:;this.$1N_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_previewHeight:function(){a:;return this.$S_1},set_previewHeight:function(a){a:;this.$S_1=a;return a},get_previewPictureUrl:function(){a:;return this.$1b_1},set_previewPictureUrl:function(a){a:;this.$1b_1=a;return a},get_previewWidth:function(){a:;return this.$T_1},set_previewWidth:function(a){a:;this.$T_1=a;return a},get_status:function(){a:;return this.$3_1},get_width:function(){a:;return this.$5_1},set_width:function(a){a:;this.$5_1=a;return a},get_typeId:function(){a:;return "{c02ef750-4f26-45a6-a8b5-58f391c6c490}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ClickAction","ContentUri","Description","Height","Href","Length","LinkType","Name","PreviewHeight","PreviewPictureUrl","PreviewWidth","Status","Width"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ClickAction;if(!SP.ScriptUtility.isUndefined(a)){this.$N_1=SP.DataConvert.fixupType(null,a);delete b.ClickAction}a=b.ContentUri;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=SP.DataConvert.fixupType(null,a);delete b.ContentUri}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Description}a=b.Height;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Height}a=b.Href;if(!SP.ScriptUtility.isUndefined(a)){this.$1C_1=SP.DataConvert.fixupType(null,a);delete b.Href}a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.Length}a=b.LinkType;if(!SP.ScriptUtility.isUndefined(a)){this.$1N_1=SP.DataConvert.fixupType(null,a);delete b.LinkType}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.PreviewHeight;if(!SP.ScriptUtility.isUndefined(a)){this.$S_1=a;delete b.PreviewHeight}a=b.PreviewPictureUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$1b_1=SP.DataConvert.fixupType(null,a);delete b.PreviewPictureUrl}a=b.PreviewWidth;if(!SP.ScriptUtility.isUndefined(a)){this.$T_1=a;delete b.PreviewWidth}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=SP.DataConvert.fixupType(null,a);delete b.Status}a=b.Width;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Width}}};SP.Microfeed.MicrofeedLinkAction=function(){a:;SP.Microfeed.MicrofeedLinkAction.initializeBase(this)};SP.Microfeed.MicrofeedLinkAction.prototype={$M_1:null,$4_1:0,$1M_1:0,$5_1:0,get_actionUri:function(){a:;return this.$M_1},set_actionUri:function(a){a:;this.$M_1=a;return a},get_height:function(){a:;return this.$4_1},set_height:function(a){a:;this.$4_1=a;return a},get_kind:function(){a:;return this.$1M_1},set_kind:function(a){a:;this.$1M_1=a;return a},get_width:function(){a:;return this.$5_1},set_width:function(a){a:;this.$5_1=a;return a},get_typeId:function(){a:;return "{b48e3e5d-7b7e-43bf-ad10-49cd766bb6ff}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ActionUri","Height","Kind","Width"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActionUri;if(!SP.ScriptUtility.isUndefined(a)){this.$M_1=SP.DataConvert.fixupType(null,a);delete b.ActionUri}a=b.Height;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Height}a=b.Kind;if(!SP.ScriptUtility.isUndefined(a)){this.$1M_1=SP.DataConvert.fixupType(null,a);delete b.Kind}a=b.Width;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Width}}};SP.Microfeed.MicrofeedManager=function(a){a:;SP.Microfeed.MicrofeedManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c6354be0-d3cb-41bd-b3b5-a059f6ad6bf3}",arguments)])};SP.Microfeed.MicrofeedManager.newObject=function(a){a:;return new SP.Microfeed.MicrofeedManager(a,new SP.ObjectPathConstructor(a,"{c6354be0-d3cb-41bd-b3b5-a059f6ad6bf3}",null))};SP.Microfeed.MicrofeedManager.prototype={get_currentUser:function(){a:;this.checkUninitializedProperty("CurrentUser");return this.get_objectData().get_properties()["CurrentUser"]},get_isFeedActivityPublic:function(){a:;this.checkUninitializedProperty("IsFeedActivityPublic");return this.get_objectData().get_properties()["IsFeedActivityPublic"]},get_staticThreadLink:function(){a:;this.checkUninitializedProperty("StaticThreadLink");return this.get_objectData().get_properties()["StaticThreadLink"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["CurrentUser"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.CurrentUser}a=b.IsFeedActivityPublic;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsFeedActivityPublic"]=a;delete b.IsFeedActivityPublic}a=b.StaticThreadLink;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StaticThreadLink"]=a;delete b.StaticThreadLink}},post:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Post",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},postReply:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PostReply",[e,d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},deleteById:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeleteById",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},lockThreadById:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"LockThreadById",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},unLockThreadById:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"UnLockThreadById",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},getMyPublishedFeed:function(f,e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMyPublishedFeed",[f,e,d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThreadCollection;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPublishedFeed:function(f,e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPublishedFeed",[f,e,d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThreadCollection;b.addQueryIdAndResultObject(c.get_id(),a);return a},getThread:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetThread",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},getMyConsolidatedFeed:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMyConsolidatedFeed",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThreadCollection;b.addQueryIdAndResultObject(c.get_id(),a);return a},getMyCategoricalFeed:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMyCategoricalFeed",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThreadCollection;b.addQueryIdAndResultObject(c.get_id(),a);return a},unsubscribeFromEMail:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"UnsubscribeFromEMail",[a]);b.addQuery(c)},like:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Like",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},unLike:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"UnLike",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},getUnreadMentionsCount:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetUnreadMentionsCount",null);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},clearUnreadMentionsCount:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ClearUnreadMentionsCount",null);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},repopulateLMT:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"RepopulateLMT",[e,d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},addUserToPostPeopleList:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"AddUserToPostPeopleList",[d,e]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},deleteUserFromPostPeopleList:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeleteUserFromPostPeopleList",[d,e]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Microfeed.MicrofeedManagerPropertyNames=function(){};SP.Microfeed.MicrofeedPost=function(){a:;SP.Microfeed.MicrofeedPost.initializeBase(this)};SP.Microfeed.MicrofeedPost.prototype={$g_1:0,$23_1:null,$Y_1:false,$E_1:false,$F_1:false,$G_1:false,$Z_1:false,$H_1:false,$a_1:null,$24_1:null,$2G_1:null,$2H_1:null,$2I_1:false,$2Y_1:null,$l_1:false,$b_1:null,$2a_1:0,$2b_1:null,$2f_1:0,$2l_1:null,$c_1:null,$d_1:null,$2q_1:null,$J_1:false,$p_1:0,$K_1:false,$A_1:null,get_authorIndex:function(){a:;return this.$g_1},get_breadCrumb:function(){a:;return this.$23_1},get_canDelete:function(){a:;return this.$Y_1},get_canFollowUp:function(){a:;return this.$E_1},get_canHaveAttachments:function(){a:;return this.$F_1},get_canLike:function(){a:;return this.$G_1},get_canLock:function(){a:;return this.$Z_1},get_canReply:function(){a:;return this.$H_1},get_content:function(){a:;return this.$a_1},get_created:function(){a:;return this.$24_1},get_footer:function(){a:;return this.$2G_1},get_id:function(){a:;return this.$2H_1},get_iLikeIt:function(){a:;return this.$2I_1},get_likersList:function(){a:;return this.$2Y_1},get_locked:function(){a:;return this.$l_1},get_mediaLink:function(){a:;return this.$b_1},get_microBlogType:function(){a:;return this.$2a_1},get_modified:function(){a:;return this.$2b_1},get_peopleCount:function(){a:;return this.$2f_1},get_postImageUri:function(){a:;return this.$2l_1},get_postSource:function(){a:;return this.$c_1},get_postSourceUri:function(){a:;return this.$d_1},get_referenceID:function(){a:;return this.$2q_1},get_renderPostAuthorImage:function(){a:;return this.$J_1},get_replyCount:function(){a:;return this.$p_1},get_smallImageSizePreferred:function(){a:;return this.$K_1},get_title:function(){a:;return this.$A_1},get_typeId:function(){a:;return "{bb37b132-06e5-4888-9a5c-9d9ecd7cc725}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AuthorIndex","BreadCrumb","CanDelete","CanFollowUp","CanHaveAttachments","CanLike","CanLock","CanReply","Content","Created","Footer","ID","ILikeIt","LikersList","Locked","MediaLink","MicroBlogType","Modified","PeopleCount","PostImageUri","PostSource","PostSourceUri","ReferenceID","RenderPostAuthorImage","ReplyCount","SmallImageSizePreferred","Title"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AuthorIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$g_1=a;delete b.AuthorIndex}a=b.BreadCrumb;if(!SP.ScriptUtility.isUndefined(a)){this.$23_1=a;delete b.BreadCrumb}a=b.CanDelete;if(!SP.ScriptUtility.isUndefined(a)){this.$Y_1=a;delete b.CanDelete}a=b.CanFollowUp;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.CanFollowUp}a=b.CanHaveAttachments;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.CanHaveAttachments}a=b.CanLike;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.CanLike}a=b.CanLock;if(!SP.ScriptUtility.isUndefined(a)){this.$Z_1=a;delete b.CanLock}a=b.CanReply;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.CanReply}a=b.Content;if(!SP.ScriptUtility.isUndefined(a)){this.$a_1=a;delete b.Content}a=b.Created;if(!SP.ScriptUtility.isUndefined(a)){this.$24_1=a;delete b.Created}a=b.Footer;if(!SP.ScriptUtility.isUndefined(a)){this.$2G_1=a;delete b.Footer}a=b.ID;if(!SP.ScriptUtility.isUndefined(a)){this.$2H_1=a;delete b.ID}a=b.ILikeIt;if(!SP.ScriptUtility.isUndefined(a)){this.$2I_1=a;delete b.ILikeIt}a=b.LikersList;if(!SP.ScriptUtility.isUndefined(a)){this.$2Y_1=SP.DataConvert.fixupType(null,a);delete b.LikersList}a=b.Locked;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=a;delete b.Locked}a=b.MediaLink;if(!SP.ScriptUtility.isUndefined(a)){this.$b_1=SP.DataConvert.fixupType(null,a);delete b.MediaLink}a=b.MicroBlogType;if(!SP.ScriptUtility.isUndefined(a)){this.$2a_1=SP.DataConvert.fixupType(null,a);delete b.MicroBlogType}a=b.Modified;if(!SP.ScriptUtility.isUndefined(a)){this.$2b_1=a;delete b.Modified}a=b.PeopleCount;if(!SP.ScriptUtility.isUndefined(a)){this.$2f_1=a;delete b.PeopleCount}a=b.PostImageUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2l_1=a;delete b.PostImageUri}a=b.PostSource;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.PostSource}a=b.PostSourceUri;if(!SP.ScriptUtility.isUndefined(a)){this.$d_1=SP.DataConvert.fixupType(null,a);delete b.PostSourceUri}a=b.ReferenceID;if(!SP.ScriptUtility.isUndefined(a)){this.$2q_1=a;delete b.ReferenceID}a=b.RenderPostAuthorImage;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.RenderPostAuthorImage}a=b.ReplyCount;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=a;delete b.ReplyCount}a=b.SmallImageSizePreferred;if(!SP.ScriptUtility.isUndefined(a)){this.$K_1=a;delete b.SmallImageSizePreferred}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Title}}};SP.Microfeed.MicrofeedPostCollection=function(){a:;SP.Microfeed.MicrofeedPostCollection.initializeBase(this)};SP.Microfeed.MicrofeedPostCollection.prototype={add:function(a){a:;this.addChild(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_typeId:function(){a:;return "{e67f3b82-33dc-4065-b876-e99e6fe672b4}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)}};SP.Microfeed.MicrofeedPostDefinition=function(){a:;SP.Microfeed.MicrofeedPostDefinition.initializeBase(this)};SP.Microfeed.MicrofeedPostDefinition.prototype={$Y_1:false,$E_1:false,$F_1:false,$G_1:false,$Z_1:false,$H_1:false,$26_1:null,$i_1:0,$I_1:null,$12_1:0,$14_1:false,$2R_1:false,$1F_1:false,$1G_1:false,$1H_1:false,$1I_1:false,$2U_1:null,$2e_1:null,$1U_1:false,$1V_1:false,$1W_1:false,$1e_1:null,$1f_1:null,$1g_1:null,$J_1:false,$1k_1:null,$1n_1:false,$K_1:false,get_canDelete:function(){a:;return this.$Y_1},set_canDelete:function(a){a:;this.$Y_1=a;return a},get_canFollowUp:function(){a:;return this.$E_1},set_canFollowUp:function(a){a:;this.$E_1=a;return a},get_canHaveAttachments:function(){a:;return this.$F_1},set_canHaveAttachments:function(a){a:;this.$F_1=a;return a},get_canLike:function(){a:;return this.$G_1},set_canLike:function(a){a:;this.$G_1=a;return a},get_canLock:function(){a:;return this.$Z_1},set_canLock:function(a){a:;this.$Z_1=a;return a},get_canReply:function(){a:;return this.$H_1},set_canReply:function(a){a:;this.$H_1=a;return a},get_creationTime:function(){a:;return this.$26_1},get_definitionId:function(){a:;return this.$i_1},get_definitionName:function(){a:;return this.$I_1},get_definitionVersion:function(){a:;return this.$12_1},set_definitionVersion:function(a){a:;this.$12_1=a;return a},get_enablePeopleList:function(){a:;return this.$14_1},set_enablePeopleList:function(a){a:;this.$14_1=a;return a},get_isDefault:function(){a:;return this.$2R_1},get_isEnabled:function(){a:;return this.$1F_1},set_isEnabled:function(a){a:;this.$1F_1=a;return a},get_isNotification:function(){a:;return this.$1G_1},set_isNotification:function(a){a:;this.$1G_1=a;return a},get_isPrivate:function(){a:;return this.$1H_1},set_isPrivate:function(a){a:;this.$1H_1=a;return a},get_isUserPost:function(){a:;return this.$1I_1},set_isUserPost:function(a){a:;this.$1I_1=a;return a},get_lastUpdateTime:function(){a:;return this.$2U_1},get_partitionId:function(){a:;return this.$2e_1},get_persistToCache:function(){a:;return this.$1U_1},set_persistToCache:function(a){a:;this.$1U_1=a;return a},get_persistToPrivateFolder:function(){a:;return this.$1V_1},set_persistToPrivateFolder:function(a){a:;this.$1V_1=a;return a},get_persistToPublishedFeed:function(){a:;return this.$1W_1},set_persistToPublishedFeed:function(a){a:;this.$1W_1=a;return a},get_referenceLikePostName:function(){a:;return this.$1e_1},set_referenceLikePostName:function(a){a:;this.$1e_1=a;return a},get_referenceMentionPostName:function(){a:;return this.$1f_1},set_referenceMentionPostName:function(a){a:;this.$1f_1=a;return a},get_referenceReplyPostName:function(){a:;return this.$1g_1},set_referenceReplyPostName:function(a){a:;this.$1g_1=a;return a},get_renderPostAuthorImage:function(){a:;return this.$J_1},set_renderPostAuthorImage:function(a){a:;this.$J_1=a;return a},get_resourceFileName:function(){a:;return this.$1k_1},set_resourceFileName:function(a){a:;this.$1k_1=a;return a},get_securityTrimContentUrl:function(){a:;return this.$1n_1},set_securityTrimContentUrl:function(a){a:;this.$1n_1=a;return a},get_smallImageSizePreferred:function(){a:;return this.$K_1},set_smallImageSizePreferred:function(a){a:;this.$K_1=a;return a},get_typeId:function(){a:;return "{10a05d41-c862-4394-a454-4624419b2d59}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CanDelete","CanFollowUp","CanHaveAttachments","CanLike","CanLock","CanReply","CreationTime","DefinitionId","DefinitionName","DefinitionVersion","EnablePeopleList","IsDefault","IsEnabled","IsNotification","IsPrivate","IsUserPost","LastUpdateTime","PartitionId","PersistToCache","PersistToPrivateFolder","PersistToPublishedFeed","ReferenceLikePostName","ReferenceMentionPostName","ReferenceReplyPostName","RenderPostAuthorImage","ResourceFileName","SecurityTrimContentUrl","SmallImageSizePreferred"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CanDelete;if(!SP.ScriptUtility.isUndefined(a)){this.$Y_1=a;delete b.CanDelete}a=b.CanFollowUp;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.CanFollowUp}a=b.CanHaveAttachments;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.CanHaveAttachments}a=b.CanLike;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.CanLike}a=b.CanLock;if(!SP.ScriptUtility.isUndefined(a)){this.$Z_1=a;delete b.CanLock}a=b.CanReply;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.CanReply}a=b.CreationTime;if(!SP.ScriptUtility.isUndefined(a)){this.$26_1=a;delete b.CreationTime}a=b.DefinitionId;if(!SP.ScriptUtility.isUndefined(a)){this.$i_1=a;delete b.DefinitionId}a=b.DefinitionName;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.DefinitionName}a=b.DefinitionVersion;if(!SP.ScriptUtility.isUndefined(a)){this.$12_1=a;delete b.DefinitionVersion}a=b.EnablePeopleList;if(!SP.ScriptUtility.isUndefined(a)){this.$14_1=a;delete b.EnablePeopleList}a=b.IsDefault;if(!SP.ScriptUtility.isUndefined(a)){this.$2R_1=a;delete b.IsDefault}a=b.IsEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.$1F_1=a;delete b.IsEnabled}a=b.IsNotification;if(!SP.ScriptUtility.isUndefined(a)){this.$1G_1=a;delete b.IsNotification}a=b.IsPrivate;if(!SP.ScriptUtility.isUndefined(a)){this.$1H_1=a;delete b.IsPrivate}a=b.IsUserPost;if(!SP.ScriptUtility.isUndefined(a)){this.$1I_1=a;delete b.IsUserPost}a=b.LastUpdateTime;if(!SP.ScriptUtility.isUndefined(a)){this.$2U_1=a;delete b.LastUpdateTime}a=b.PartitionId;if(!SP.ScriptUtility.isUndefined(a)){this.$2e_1=a;delete b.PartitionId}a=b.PersistToCache;if(!SP.ScriptUtility.isUndefined(a)){this.$1U_1=a;delete b.PersistToCache}a=b.PersistToPrivateFolder;if(!SP.ScriptUtility.isUndefined(a)){this.$1V_1=a;delete b.PersistToPrivateFolder}a=b.PersistToPublishedFeed;if(!SP.ScriptUtility.isUndefined(a)){this.$1W_1=a;delete b.PersistToPublishedFeed}a=b.ReferenceLikePostName;if(!SP.ScriptUtility.isUndefined(a)){this.$1e_1=a;delete b.ReferenceLikePostName}a=b.ReferenceMentionPostName;if(!SP.ScriptUtility.isUndefined(a)){this.$1f_1=a;delete b.ReferenceMentionPostName}a=b.ReferenceReplyPostName;if(!SP.ScriptUtility.isUndefined(a)){this.$1g_1=a;delete b.ReferenceReplyPostName}a=b.RenderPostAuthorImage;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.RenderPostAuthorImage}a=b.ResourceFileName;if(!SP.ScriptUtility.isUndefined(a)){this.$1k_1=a;delete b.ResourceFileName}a=b.SecurityTrimContentUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$1n_1=a;delete b.SecurityTrimContentUrl}a=b.SmallImageSizePreferred;if(!SP.ScriptUtility.isUndefined(a)){this.$K_1=a;delete b.SmallImageSizePreferred}}};SP.Microfeed.MicrofeedPostDefinitionManager=function(a){a:;SP.Microfeed.MicrofeedPostDefinitionManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{920620dc-6444-4a81-8961-34327a33966a}",arguments)])};SP.Microfeed.MicrofeedPostDefinitionManager.newObject=function(a){a:;return new SP.Microfeed.MicrofeedPostDefinitionManager(a,new SP.ObjectPathConstructor(a,"{920620dc-6444-4a81-8961-34327a33966a}",null))};SP.Microfeed.MicrofeedPostDefinitionManager.prototype={getMicrofeedPostDefinition:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMicrofeedPostDefinition",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedPostDefinition;b.addQueryIdAndResultObject(c.get_id(),a);return a},getMicrofeedPostDefinitions:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMicrofeedPostDefinitions",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},newMicrofeedPostDefinition:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"NewMicrofeedPostDefinition",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedPostDefinition;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateMicrofeedPostDefinition:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"UpdateMicrofeedPostDefinition",[d]);b.addQuery(c);a=new SP.Microfeed.MicrofeedPostDefinition;b.addQueryIdAndResultObject(c.get_id(),a);return a},deleteMicrofeedPostDefinition:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeleteMicrofeedPostDefinition",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Microfeed.MicrofeedPostDefinitionNameCollection=function(){a:;SP.Microfeed.MicrofeedPostDefinitionNameCollection.initializeBase(this)};SP.Microfeed.MicrofeedPostDefinitionNameCollection.prototype={add:function(a){a:;this.addChild(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_typeId:function(){a:;return "{99650720-bad2-4d00-80f8-a380fcc9d639}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)}};SP.Microfeed.MicrofeedPostDefinitionNames=function(){a:;SP.Microfeed.MicrofeedPostDefinitionNames.initializeBase(this)};SP.Microfeed.MicrofeedPostDefinitionNames.prototype={get_typeId:function(){a:;return "{8671ecea-80a2-4c7f-820c-8364e622be51}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObject.prototype.writeToXml.call(this,b,a)}};SP.Microfeed.MicrofeedPostOptions=function(){a:;SP.Microfeed.MicrofeedPostOptions.initializeBase(this)};SP.Microfeed.MicrofeedPostOptions.prototype={$a_1:null,$O_1:0,$P_1:null,$I_1:null,$b_1:null,$1T_1:null,$c_1:null,$d_1:null,$1h_1:null,$1i_1:null,$1j_1:null,$1u_1:null,$V_1:false,get_content:function(){a:;return this.$a_1},set_content:function(a){a:;this.$a_1=a;return a},get_contentFormattingOption:function(){a:;return this.$O_1},set_contentFormattingOption:function(a){a:;this.$O_1=a;return a},get_dataLinks:function(){a:;return this.$P_1},set_dataLinks:function(a){a:;this.$P_1=a;return a},get_definitionName:function(){a:;return this.$I_1},set_definitionName:function(a){a:;this.$I_1=a;return a},get_mediaLink:function(){a:;return this.$b_1},set_mediaLink:function(a){a:;this.$b_1=a;return a},get_peopleList:function(){a:;return this.$1T_1},set_peopleList:function(a){a:;this.$1T_1=a;return a},get_postSource:function(){a:;return this.$c_1},set_postSource:function(a){a:;this.$c_1=a;return a},get_postSourceUri:function(){a:;return this.$d_1},set_postSourceUri:function(a){a:;this.$d_1=a;return a},get_refThread_ReferenceID:function(){a:;return this.$1h_1},set_refThread_ReferenceID:function(a){a:;this.$1h_1=a;return a},get_refThread_RefReply:function(){a:;return this.$1i_1},set_refThread_RefReply:function(a){a:;this.$1i_1=a;return a},get_refThread_RefRoot:function(){a:;return this.$1j_1},set_refThread_RefRoot:function(a){a:;this.$1j_1=a;return a},get_targetActor:function(){a:;return this.$1u_1},set_targetActor:function(a){a:;this.$1u_1=a;return a},get_updateStatusText:function(){a:;return this.$V_1},set_updateStatusText:function(a){a:;this.$V_1=a;return a},get_typeId:function(){a:;return "{05945c4b-7e45-4d35-a8af-d672e62a3973}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Content","ContentFormattingOption","DataLinks","DefinitionName","MediaLink","PeopleList","PostSource","PostSourceUri","RefThread_ReferenceID","RefThread_RefReply","RefThread_RefRoot","TargetActor","UpdateStatusText"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Content;if(!SP.ScriptUtility.isUndefined(a)){this.$a_1=a;delete b.Content}a=b.ContentFormattingOption;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=SP.DataConvert.fixupType(null,a);delete b.ContentFormattingOption}a=b.DataLinks;if(!SP.ScriptUtility.isUndefined(a)){this.$P_1=SP.DataConvert.fixupType(null,a);delete b.DataLinks}a=b.DefinitionName;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.DefinitionName}a=b.MediaLink;if(!SP.ScriptUtility.isUndefined(a)){this.$b_1=SP.DataConvert.fixupType(null,a);delete b.MediaLink}a=b.PeopleList;if(!SP.ScriptUtility.isUndefined(a)){this.$1T_1=SP.DataConvert.fixupType(null,a);delete b.PeopleList}a=b.PostSource;if(!SP.ScriptUtility.isUndefined(a)){this.$c_1=a;delete b.PostSource}a=b.PostSourceUri;if(!SP.ScriptUtility.isUndefined(a)){this.$d_1=SP.DataConvert.fixupType(null,a);delete b.PostSourceUri}a=b.RefThread_ReferenceID;if(!SP.ScriptUtility.isUndefined(a)){this.$1h_1=a;delete b.RefThread_ReferenceID}a=b.RefThread_RefReply;if(!SP.ScriptUtility.isUndefined(a)){this.$1i_1=a;delete b.RefThread_RefReply}a=b.RefThread_RefRoot;if(!SP.ScriptUtility.isUndefined(a)){this.$1j_1=a;delete b.RefThread_RefRoot}a=b.TargetActor;if(!SP.ScriptUtility.isUndefined(a)){this.$1u_1=a;delete b.TargetActor}a=b.UpdateStatusText;if(!SP.ScriptUtility.isUndefined(a)){this.$V_1=a;delete b.UpdateStatusText}}};SP.Microfeed.MicrofeedPostOptionCollection=function(a){a:;SP.Microfeed.MicrofeedPostOptionCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{1bb6d79b-01e1-4b96-b876-a6b3a8ba1658}",arguments)])};SP.Microfeed.MicrofeedPostOptionCollection.newObject=function(a){a:;return new SP.Microfeed.MicrofeedPostOptionCollection(a,new SP.ObjectPathConstructor(a,"{1bb6d79b-01e1-4b96-b876-a6b3a8ba1658}",null))};SP.Microfeed.MicrofeedPostOptionCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.Microfeed.MicrofeedPostOptions}};SP.Microfeed.MicrofeedRetrievalOptions=function(){a:;SP.Microfeed.MicrofeedRetrievalOptions.initializeBase(this)};SP.Microfeed.MicrofeedRetrievalOptions.prototype={$O_1:0,$w_1:false,$13_1:false,$18_1:false,$1E_1:0,$Q_1:null,$R_1:null,$1a_1:null,$1l_1:0,$1v_1:0,get_contentFormattingOption:function(){a:;return this.$O_1},set_contentFormattingOption:function(a){a:;this.$O_1=a;return a},get_contentOnly:function(){a:;return this.$w_1},set_contentOnly:function(a){a:;this.$w_1=a;return a},get_dropAllSecurityTrimmablePosts:function(){a:;return this.$13_1},set_dropAllSecurityTrimmablePosts:function(a){a:;this.$13_1=a;return a},get_gatherUnreadMentionCountForUser:function(){a:;return this.$18_1},set_gatherUnreadMentionCountForUser:function(a){a:;this.$18_1=a;return a},get_includedTypes:function(){a:;return this.$1E_1},set_includedTypes:function(a){a:;this.$1E_1=a;return a},get_newerThan:function(){a:;return this.$Q_1},set_newerThan:function(a){a:;this.$Q_1=a;return a},get_olderThan:function(){a:;return this.$R_1},set_olderThan:function(a){a:;this.$R_1=a;return a},get_postDefinitionFilter:function(){a:;return this.$1a_1},set_postDefinitionFilter:function(a){a:;this.$1a_1=a;return a},get_resultSortOrder:function(){a:;return this.$1l_1},set_resultSortOrder:function(a){a:;this.$1l_1=a;return a},get_threadCount:function(){a:;return this.$1v_1},set_threadCount:function(a){a:;this.$1v_1=a;return a},get_typeId:function(){a:;return "{7d6bf569-e2ef-4aea-a24e-c56d4412321d}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ContentFormattingOption","ContentOnly","DropAllSecurityTrimmablePosts","GatherUnreadMentionCountForUser","IncludedTypes","NewerThan","OlderThan","PostDefinitionFilter","ResultSortOrder","ThreadCount"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ContentFormattingOption;if(!SP.ScriptUtility.isUndefined(a)){this.$O_1=SP.DataConvert.fixupType(null,a);delete b.ContentFormattingOption}a=b.ContentOnly;if(!SP.ScriptUtility.isUndefined(a)){this.$w_1=a;delete b.ContentOnly}a=b.DropAllSecurityTrimmablePosts;if(!SP.ScriptUtility.isUndefined(a)){this.$13_1=a;delete b.DropAllSecurityTrimmablePosts}a=b.GatherUnreadMentionCountForUser;if(!SP.ScriptUtility.isUndefined(a)){this.$18_1=a;delete b.GatherUnreadMentionCountForUser}a=b.IncludedTypes;if(!SP.ScriptUtility.isUndefined(a)){this.$1E_1=SP.DataConvert.fixupType(null,a);delete b.IncludedTypes}a=b.NewerThan;if(!SP.ScriptUtility.isUndefined(a)){this.$Q_1=a;delete b.NewerThan}a=b.OlderThan;if(!SP.ScriptUtility.isUndefined(a)){this.$R_1=a;delete b.OlderThan}a=b.PostDefinitionFilter;if(!SP.ScriptUtility.isUndefined(a)){this.$1a_1=SP.DataConvert.fixupType(null,a);delete b.PostDefinitionFilter}a=b.ResultSortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.$1l_1=SP.DataConvert.fixupType(null,a);delete b.ResultSortOrder}a=b.ThreadCount;if(!SP.ScriptUtility.isUndefined(a)){this.$1v_1=a;delete b.ThreadCount}}};SP.Microfeed.MicrofeedStore=function(a){a:;SP.Microfeed.MicrofeedStore.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{161dc7a0-cfdf-413d-b2d4-f046a70f96e6}",arguments)])};SP.Microfeed.MicrofeedStore.newObject=function(a){a:;return new SP.Microfeed.MicrofeedStore(a,new SP.ObjectPathConstructor(a,"{161dc7a0-cfdf-413d-b2d4-f046a70f96e6}",null))};SP.Microfeed.MicrofeedStore.prototype={addData:function(d,c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"AddData",[d,c]);a.addQuery(b)},addDataAsStream:function(d,c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"AddDataAsStream",[d,c]);a.addQuery(b)},getItem:function(c){a:;var a=this.get_context(),b;b=new SP.Microfeed.MicrofeedData(a,new SP.ObjectPathMethod(a,this.get_path(),"GetItem",[c]));return b},newItem:function(c){a:;var a=this.get_context(),b;b=new SP.Microfeed.MicrofeedData(a,new SP.ObjectPathMethod(a,this.get_path(),"NewItem",[c]));return b},query:function(c,d){a:;var a=this.get_context(),b;b=new SP.Microfeed.MicrofeedDataCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"Query",[c,d]));return b},executePendingOperations:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"ExecutePendingOperations",null);a.addQuery(b)},incrementUnreadAtMentionCount:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"IncrementUnreadAtMentionCount",[a]);b.addQuery(c)},setPostLikeStatus:function(a,b,e){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"SetPostLikeStatus",[a,b,e]);c.addQuery(d)},getSocialProperties:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetSocialProperties",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Microfeed.MicrofeedThread=function(){a:;SP.Microfeed.MicrofeedThread.initializeBase(this)};SP.Microfeed.MicrofeedThread.prototype={$E_1:false,$F_1:false,$G_1:false,$H_1:false,$P_1:null,$i_1:0,$I_1:null,$j_1:null,$l_1:false,$1Q_1:null,$o_1:0,$2r_1:null,$2s_1:null,$J_1:false,$e_1:null,$p_1:0,$q_1:null,$K_1:false,$3_1:0,get_canFollowUp:function(){a:;return this.$E_1},get_canHaveAttachments:function(){a:;return this.$F_1},get_canLike:function(){a:;return this.$G_1},get_canReply:function(){a:;return this.$H_1},get_dataLinks:function(){a:;return this.$P_1},get_definitionId:function(){a:;return this.$i_1},get_definitionName:function(){a:;return this.$I_1},get_identifier:function(){a:;return this.$j_1},get_locked:function(){a:;return this.$l_1},get_microfeedEntities:function(){a:;return this.$1Q_1},get_ownerIndex:function(){a:;return this.$o_1},get_refReply:function(){a:;return this.$2r_1},get_refRoot:function(){a:;return this.$2s_1},get_renderPostAuthorImage:function(){a:;return this.$J_1},get_replies:function(){a:;return this.$e_1},get_replyCount:function(){a:;return this.$p_1},get_rootPost:function(){a:;return this.$q_1},get_smallImageSizePreferred:function(){a:;return this.$K_1},get_status:function(){a:;return this.$3_1},get_typeId:function(){a:;return "{17f3cd67-1bf6-42c3-992b-abfab74ed3ac}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CanFollowUp","CanHaveAttachments","CanLike","CanReply","DataLinks","DefinitionId","DefinitionName","Identifier","Locked","MicrofeedEntities","OwnerIndex","RefReply","RefRoot","RenderPostAuthorImage","Replies","ReplyCount","RootPost","SmallImageSizePreferred","Status"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CanFollowUp;if(!SP.ScriptUtility.isUndefined(a)){this.$E_1=a;delete b.CanFollowUp}a=b.CanHaveAttachments;if(!SP.ScriptUtility.isUndefined(a)){this.$F_1=a;delete b.CanHaveAttachments}a=b.CanLike;if(!SP.ScriptUtility.isUndefined(a)){this.$G_1=a;delete b.CanLike}a=b.CanReply;if(!SP.ScriptUtility.isUndefined(a)){this.$H_1=a;delete b.CanReply}a=b.DataLinks;if(!SP.ScriptUtility.isUndefined(a)){this.$P_1=[];SP.DataConvert.populateArray(null,this.$P_1,a);delete b.DataLinks}a=b.DefinitionId;if(!SP.ScriptUtility.isUndefined(a)){this.$i_1=a;delete b.DefinitionId}a=b.DefinitionName;if(!SP.ScriptUtility.isUndefined(a)){this.$I_1=a;delete b.DefinitionName}a=b.Identifier;if(!SP.ScriptUtility.isUndefined(a)){this.$j_1=a;delete b.Identifier}a=b.Locked;if(!SP.ScriptUtility.isUndefined(a)){this.$l_1=a;delete b.Locked}a=b.MicrofeedEntities;if(!SP.ScriptUtility.isUndefined(a)){this.$1Q_1=[];SP.DataConvert.populateArray(null,this.$1Q_1,a);delete b.MicrofeedEntities}a=b.OwnerIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=a;delete b.OwnerIndex}a=b.RefReply;if(!SP.ScriptUtility.isUndefined(a)){this.$2r_1=SP.DataConvert.fixupType(null,a);delete b.RefReply}a=b.RefRoot;if(!SP.ScriptUtility.isUndefined(a)){this.$2s_1=SP.DataConvert.fixupType(null,a);delete b.RefRoot}a=b.RenderPostAuthorImage;if(!SP.ScriptUtility.isUndefined(a)){this.$J_1=a;delete b.RenderPostAuthorImage}a=b.Replies;if(!SP.ScriptUtility.isUndefined(a)){this.$e_1=SP.DataConvert.fixupType(null,a);delete b.Replies}a=b.ReplyCount;if(!SP.ScriptUtility.isUndefined(a)){this.$p_1=a;delete b.ReplyCount}a=b.RootPost;if(!SP.ScriptUtility.isUndefined(a)){this.$q_1=SP.DataConvert.fixupType(null,a);delete b.RootPost}a=b.SmallImageSizePreferred;if(!SP.ScriptUtility.isUndefined(a)){this.$K_1=a;delete b.SmallImageSizePreferred}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=SP.DataConvert.fixupType(null,a);delete b.Status}}};SP.Microfeed.MicrofeedThreadCollection=function(){a:;SP.Microfeed.MicrofeedThreadCollection.initializeBase(this)};SP.Microfeed.MicrofeedThreadCollection.prototype={$27_2:0,$m_2:null,$n_2:null,add:function(a){a:;this.addChild(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_currentUserUnreadMentionCount:function(){a:;return this.$27_2},get_newestProcessed:function(){a:;return this.$m_2},get_oldestProcessed:function(){a:;return this.$n_2},get_typeId:function(){a:;return "{b1046032-7e28-4b9e-a0c7-c1a3043e3ea0}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["CurrentUserUnreadMentionCount","NewestProcessed","OldestProcessed"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObjectCollection.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CurrentUserUnreadMentionCount;if(!SP.ScriptUtility.isUndefined(a)){this.$27_2=a;delete b.CurrentUserUnreadMentionCount}a=b.NewestProcessed;if(!SP.ScriptUtility.isUndefined(a)){this.$m_2=a;delete b.NewestProcessed}a=b.OldestProcessed;if(!SP.ScriptUtility.isUndefined(a)){this.$n_2=a;delete b.OldestProcessed}}};SP.Microfeed.MicrofeedUserPostCollection=function(){a:;SP.Microfeed.MicrofeedUserPostCollection.initializeBase(this)};SP.Microfeed.MicrofeedUserPostCollection.prototype={add:function(a){a:;this.addChild(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_typeId:function(){a:;return "{50d012c7-fcaf-4ab0-acf3-c622acfd31fb}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");SP.ClientValueObjectCollection.prototype.writeToXml.call(this,b,a)}};SP.Microfeed.MicrofeedUserPosts=function(){a:;SP.Microfeed.MicrofeedUserPosts.initializeBase(this)};SP.Microfeed.MicrofeedUserPosts.prototype={$0_1:null,$2m_1:null,get_accountName:function(){a:;return this.$0_1},set_accountName:function(a){a:;this.$0_1=a;return a},get_postOptions:function(){a:;return this.$2m_1},set_postOptions:function(a){a:;this.$2m_1=a;return a},get_typeId:function(){a:;return "{c3fd2c40-e620-4307-a653-c0c28fc197eb}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AccountName","PostOptions"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(a){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.AccountName;if(!SP.ScriptUtility.isUndefined(b)){this.$0_1=b;delete a.AccountName}b=a.PostOptions;if(!SP.ScriptUtility.isUndefined(b))delete a.PostOptions}};Type.registerNamespace("SP.Social");SP.Social.SocialActorType=function(){};SP.Social.SocialActorType.prototype={user:0,document:1,site:2,tag:3};SP.Social.SocialActorType.registerEnum("SP.Social.SocialActorType",false);SP.Social.SocialActorTypes=function(){};SP.Social.SocialActorTypes.prototype={none:0,users:1,documents:2,sites:4,tags:8,excludeContentWithoutFeeds:268435456,includeGroupsSites:536870912,withinLast24Hours:1073741824,all:15};SP.Social.SocialActorTypes.registerEnum("SP.Social.SocialActorTypes",false);SP.Social.SocialAttachmentActionKind=function(){};SP.Social.SocialAttachmentActionKind.prototype={navigate:0,adHocAction:1};SP.Social.SocialAttachmentActionKind.registerEnum("SP.Social.SocialAttachmentActionKind",false);SP.Social.SocialAttachmentKind=function(){};SP.Social.SocialAttachmentKind.prototype={image:0,video:1,document:2};SP.Social.SocialAttachmentKind.registerEnum("SP.Social.SocialAttachmentKind",false);SP.Social.SocialDataItemType=function(){};SP.Social.SocialDataItemType.prototype={user:0,document:1,site:2,tag:3,link:4};SP.Social.SocialDataItemType.registerEnum("SP.Social.SocialDataItemType",false);SP.Social.SocialDataOverlayType=function(){};SP.Social.SocialDataOverlayType.prototype={link:0,actors:1};SP.Social.SocialDataOverlayType.registerEnum("SP.Social.SocialDataOverlayType",false);SP.Social.SocialFeedAttributes=function(){};SP.Social.SocialFeedAttributes.prototype={none:0,moreThreadsAvailable:1,validTimeRange:2,movedToYammer:4};SP.Social.SocialFeedAttributes.registerEnum("SP.Social.SocialFeedAttributes",false);SP.Social.SocialFeedSortOrder=function(){};SP.Social.SocialFeedSortOrder.prototype={byModifiedTime:0,byCreatedTime:1};SP.Social.SocialFeedSortOrder.registerEnum("SP.Social.SocialFeedSortOrder",false);SP.Social.SocialFeedType=function(){};SP.Social.SocialFeedType.prototype={personal:0,news:1,timeline:2,likes:3,everyone:4};SP.Social.SocialFeedType.registerEnum("SP.Social.SocialFeedType",false);SP.Social.SocialPostAttributes=function(){};SP.Social.SocialPostAttributes.prototype={none:0,canLike:1,canDelete:2,useAuthorImage:4,useSmallImage:8,canFollowUp:16};SP.Social.SocialPostAttributes.registerEnum("SP.Social.SocialPostAttributes",false);SP.Social.SocialPostDefinitionDataItemType=function(){};SP.Social.SocialPostDefinitionDataItemType.prototype={text:0,user:1,document:2,site:3,tag:4,link:5};SP.Social.SocialPostDefinitionDataItemType.registerEnum("SP.Social.SocialPostDefinitionDataItemType",false);SP.Social.SocialPostType=function(){};SP.Social.SocialPostType.prototype={root:0,reply:1};SP.Social.SocialPostType.registerEnum("SP.Social.SocialPostType",false);SP.Social.SocialStatusCode=function(){};SP.Social.SocialStatusCode.prototype={OK:0,invalidRequest:1,accessDenied:2,itemNotFound:3,invalidOperation:4,itemNotModified:5,internalError:6,cacheReadError:7,cacheUpdateError:8,personalSiteNotFound:9,failedToCreatePersonalSite:10,notAuthorizedToCreatePersonalSite:11,cannotCreatePersonalSite:12,limitReached:13,attachmentError:14,partialData:15,featureDisabled:16,storageQuotaExceeded:17,databaseError:18};SP.Social.SocialStatusCode.registerEnum("SP.Social.SocialStatusCode",false);SP.Social.SocialThreadAttributes=function(){};SP.Social.SocialThreadAttributes.prototype={none:0,isDigest:1,canReply:2,canLock:4,isLocked:8,replyLimitReached:16};SP.Social.SocialThreadAttributes.registerEnum("SP.Social.SocialThreadAttributes",false);SP.Social.SocialThreadType=function(){};SP.Social.SocialThreadType.prototype={normal:0,likeReference:1,replyReference:2,mentionReference:3,tagReference:4};SP.Social.SocialThreadType.registerEnum("SP.Social.SocialThreadType",false);SP.Social.SocialActor=function(){a:;SP.Social.SocialActor.initializeBase(this)};SP.Social.SocialActor.prototype={$0_1:null,$W_1:0,$h_1:false,$6_1:null,$2B_1:null,$2E_1:null,$9_1:null,$2J_1:null,$2S_1:false,$k_1:null,$1_1:null,$2h_1:null,$3_1:0,$2t_1:null,$7_1:null,$A_1:null,$2_1:null,get_accountName:function(){a:;return this.$0_1},get_actorType:function(){a:;return this.$W_1},get_canFollow:function(){a:;return this.$h_1},get_contentUri:function(){a:;return this.$6_1},get_emailAddress:function(){a:;return this.$2B_1},get_followedContentUri:function(){a:;return this.$2E_1},get_id:function(){a:;return this.$9_1},get_imageUri:function(){a:;return this.$2J_1},get_isFollowed:function(){a:;return this.$2S_1},get_libraryUri:function(){a:;return this.$k_1},get_name:function(){a:;return this.$1_1},get_personalSiteUri:function(){a:;return this.$2h_1},get_status:function(){a:;return this.$3_1},get_statusText:function(){a:;return this.$2t_1},get_tagGuid:function(){a:;return this.$7_1},get_title:function(){a:;return this.$A_1},get_uri:function(){a:;return this.$2_1},get_typeId:function(){a:;return "{a9a8b6cf-b696-4dbc-bd62-b78d45149eb1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AccountName","ActorType","CanFollow","ContentUri","EmailAddress","FollowedContentUri","Id","ImageUri","IsFollowed","LibraryUri","Name","PersonalSiteUri","Status","StatusText","TagGuid","Title","Uri"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.AccountName}a=b.ActorType;if(!SP.ScriptUtility.isUndefined(a)){this.$W_1=SP.DataConvert.fixupType(null,a);delete b.ActorType}a=b.CanFollow;if(!SP.ScriptUtility.isUndefined(a)){this.$h_1=a;delete b.CanFollow}a=b.ContentUri;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=SP.DataConvert.fixupType(null,a);delete b.ContentUri}a=b.EmailAddress;if(!SP.ScriptUtility.isUndefined(a)){this.$2B_1=a;delete b.EmailAddress}a=b.FollowedContentUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2E_1=SP.DataConvert.fixupType(null,a);delete b.FollowedContentUri}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.Id}a=b.ImageUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2J_1=SP.DataConvert.fixupType(null,a);delete b.ImageUri}a=b.IsFollowed;if(!SP.ScriptUtility.isUndefined(a)){this.$2S_1=a;delete b.IsFollowed}a=b.LibraryUri;if(!SP.ScriptUtility.isUndefined(a)){this.$k_1=SP.DataConvert.fixupType(null,a);delete b.LibraryUri}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.PersonalSiteUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2h_1=SP.DataConvert.fixupType(null,a);delete b.PersonalSiteUri}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=SP.DataConvert.fixupType(null,a);delete b.Status}a=b.StatusText;if(!SP.ScriptUtility.isUndefined(a)){this.$2t_1=a;delete b.StatusText}a=b.TagGuid;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.TagGuid}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Title}a=b.Uri;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=SP.DataConvert.fixupType(null,a);delete b.Uri}}};SP.Social.SocialActorInfo=function(){a:;SP.Social.SocialActorInfo.initializeBase(this)};SP.Social.SocialActorInfo.prototype={$0_1:null,$W_1:0,$6_1:null,$9_1:null,$7_1:null,get_accountName:function(){a:;return this.$0_1},set_accountName:function(a){a:;this.$0_1=a;return a},get_actorType:function(){a:;return this.$W_1},set_actorType:function(a){a:;this.$W_1=a;return a},get_contentUri:function(){a:;return this.$6_1},set_contentUri:function(a){a:;this.$6_1=a;return a},get_id:function(){a:;return this.$9_1},set_id:function(a){a:;this.$9_1=a;return a},get_tagGuid:function(){a:;return this.$7_1},set_tagGuid:function(a){a:;this.$7_1=a;return a},get_typeId:function(){a:;return "{700a3260-5afb-4cf9-b401-a8e1f2c89efc}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AccountName","ActorType","ContentUri","Id","TagGuid"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.AccountName}a=b.ActorType;if(!SP.ScriptUtility.isUndefined(a)){this.$W_1=SP.DataConvert.fixupType(null,a);delete b.ActorType}a=b.ContentUri;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=SP.DataConvert.fixupType(null,a);delete b.ContentUri}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.Id}a=b.TagGuid;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.TagGuid}}};SP.Social.SocialAttachment=function(){a:;SP.Social.SocialAttachment.initializeBase(this)};SP.Social.SocialAttachment.prototype={$v_1:0,$N_1:null,$6_1:null,$C_1:null,$4_1:0,$D_1:0,$1_1:null,$S_1:0,$1c_1:null,$T_1:0,$2_1:null,$5_1:0,get_attachmentKind:function(){a:;return this.$v_1},set_attachmentKind:function(a){a:;this.$v_1=a;return a},get_clickAction:function(){a:;return this.$N_1},set_clickAction:function(a){a:;this.$N_1=a;return a},get_contentUri:function(){a:;return this.$6_1},set_contentUri:function(a){a:;this.$6_1=a;return a},get_description:function(){a:;return this.$C_1},set_description:function(a){a:;this.$C_1=a;return a},get_height:function(){a:;return this.$4_1},set_height:function(a){a:;this.$4_1=a;return a},get_length:function(){a:;return this.$D_1},set_length:function(a){a:;this.$D_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_previewHeight:function(){a:;return this.$S_1},set_previewHeight:function(a){a:;this.$S_1=a;return a},get_previewUri:function(){a:;return this.$1c_1},set_previewUri:function(a){a:;this.$1c_1=a;return a},get_previewWidth:function(){a:;return this.$T_1},set_previewWidth:function(a){a:;this.$T_1=a;return a},get_uri:function(){a:;return this.$2_1},set_uri:function(a){a:;this.$2_1=a;return a},get_width:function(){a:;return this.$5_1},set_width:function(a){a:;this.$5_1=a;return a},get_typeId:function(){a:;return "{74c3aafe-f743-415a-a839-ee0ab0f340a1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AttachmentKind","ClickAction","ContentUri","Description","Height","Length","Name","PreviewHeight","PreviewUri","PreviewWidth","Uri","Width"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AttachmentKind;if(!SP.ScriptUtility.isUndefined(a)){this.$v_1=SP.DataConvert.fixupType(null,a);delete b.AttachmentKind}a=b.ClickAction;if(!SP.ScriptUtility.isUndefined(a)){this.$N_1=SP.DataConvert.fixupType(null,a);delete b.ClickAction}a=b.ContentUri;if(!SP.ScriptUtility.isUndefined(a)){this.$6_1=SP.DataConvert.fixupType(null,a);delete b.ContentUri}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.$C_1=a;delete b.Description}a=b.Height;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Height}a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.Length}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.PreviewHeight;if(!SP.ScriptUtility.isUndefined(a)){this.$S_1=a;delete b.PreviewHeight}a=b.PreviewUri;if(!SP.ScriptUtility.isUndefined(a)){this.$1c_1=SP.DataConvert.fixupType(null,a);delete b.PreviewUri}a=b.PreviewWidth;if(!SP.ScriptUtility.isUndefined(a)){this.$T_1=a;delete b.PreviewWidth}a=b.Uri;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=SP.DataConvert.fixupType(null,a);delete b.Uri}a=b.Width;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Width}}};SP.Social.SocialAttachmentAction=function(){a:;SP.Social.SocialAttachmentAction.initializeBase(this)};SP.Social.SocialAttachmentAction.prototype={$t_1:0,$M_1:null,$4_1:0,$5_1:0,get_actionKind:function(){a:;return this.$t_1},set_actionKind:function(a){a:;this.$t_1=a;return a},get_actionUri:function(){a:;return this.$M_1},set_actionUri:function(a){a:;this.$M_1=a;return a},get_height:function(){a:;return this.$4_1},set_height:function(a){a:;this.$4_1=a;return a},get_width:function(){a:;return this.$5_1},set_width:function(a){a:;this.$5_1=a;return a},get_typeId:function(){a:;return "{cc022f3a-bf54-45ec-b6e9-8e2cdd9d0924}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ActionKind","ActionUri","Height","Width"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActionKind;if(!SP.ScriptUtility.isUndefined(a)){this.$t_1=SP.DataConvert.fixupType(null,a);delete b.ActionKind}a=b.ActionUri;if(!SP.ScriptUtility.isUndefined(a)){this.$M_1=SP.DataConvert.fixupType(null,a);delete b.ActionUri}a=b.Height;if(!SP.ScriptUtility.isUndefined(a)){this.$4_1=a;delete b.Height}a=b.Width;if(!SP.ScriptUtility.isUndefined(a)){this.$5_1=a;delete b.Width}}};SP.Social.SocialDataItem=function(){a:;SP.Social.SocialDataItem.initializeBase(this)};SP.Social.SocialDataItem.prototype={$0_1:null,$B_1:0,$7_1:null,$8_1:null,$2_1:null,get_accountName:function(){a:;return this.$0_1},set_accountName:function(a){a:;this.$0_1=a;return a},get_itemType:function(){a:;return this.$B_1},set_itemType:function(a){a:;this.$B_1=a;return a},get_tagGuid:function(){a:;return this.$7_1},set_tagGuid:function(a){a:;this.$7_1=a;return a},get_text:function(){a:;return this.$8_1},set_text:function(a){a:;this.$8_1=a;return a},get_uri:function(){a:;return this.$2_1},set_uri:function(a){a:;this.$2_1=a;return a},get_typeId:function(){a:;return "{f6aef1d2-6189-4848-9f6c-c4cccf4d548d}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AccountName","ItemType","TagGuid","Text","Uri"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.AccountName}a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=SP.DataConvert.fixupType(null,a);delete b.ItemType}a=b.TagGuid;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.TagGuid}a=b.Text;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Text}a=b.Uri;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=SP.DataConvert.fixupType(null,a);delete b.Uri}}};SP.Social.SocialDataOverlay=function(){a:;SP.Social.SocialDataOverlay.initializeBase(this)};SP.Social.SocialDataOverlay.prototype={$22_1:null,$2L_1:0,$D_1:0,$2Z_1:null,$2d_1:0,get_actorIndexes:function(){a:;return this.$22_1},get_index:function(){a:;return this.$2L_1},get_length:function(){a:;return this.$D_1},get_linkUri:function(){a:;return this.$2Z_1},get_overlayType:function(){a:;return this.$2d_1},get_typeId:function(){a:;return "{154bd33e-3bea-40d6-b869-cac54a473fe7}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["ActorIndexes","Index","Length","LinkUri","OverlayType"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActorIndexes;if(!SP.ScriptUtility.isUndefined(a)){this.$22_1=SP.DataConvert.fixupType(null,a);delete b.ActorIndexes}a=b.Index;if(!SP.ScriptUtility.isUndefined(a)){this.$2L_1=a;delete b.Index}a=b.Length;if(!SP.ScriptUtility.isUndefined(a)){this.$D_1=a;delete b.Length}a=b.LinkUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2Z_1=SP.DataConvert.fixupType(null,a);delete b.LinkUri}a=b.OverlayType;if(!SP.ScriptUtility.isUndefined(a)){this.$2d_1=SP.DataConvert.fixupType(null,a);delete b.OverlayType}}};SP.Social.SocialExceptionDetails=function(){a:;SP.Social.SocialExceptionDetails.initializeBase(this)};SP.Social.SocialExceptionDetails.prototype={$2N_1:0,$2O_1:null,$2P_1:null,$2Q_1:null,$3_1:0,get_internalErrorCode:function(){a:;return this.$2N_1},get_internalMessage:function(){a:;return this.$2O_1},get_internalStackTrace:function(){a:;return this.$2P_1},get_internalTypeName:function(){a:;return this.$2Q_1},get_status:function(){a:;return this.$3_1},get_typeId:function(){a:;return "{36c795aa-1404-48d0-91e7-da9daa513aaf}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["InternalErrorCode","InternalMessage","InternalStackTrace","InternalTypeName","Status"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.InternalErrorCode;if(!SP.ScriptUtility.isUndefined(a)){this.$2N_1=a;delete b.InternalErrorCode}a=b.InternalMessage;if(!SP.ScriptUtility.isUndefined(a)){this.$2O_1=a;delete b.InternalMessage}a=b.InternalStackTrace;if(!SP.ScriptUtility.isUndefined(a)){this.$2P_1=a;delete b.InternalStackTrace}a=b.InternalTypeName;if(!SP.ScriptUtility.isUndefined(a)){this.$2Q_1=a;delete b.InternalTypeName}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=SP.DataConvert.fixupType(null,a);delete b.Status}}};SP.Social.SocialFeed=function(){a:;SP.Social.SocialFeed.initializeBase(this)};SP.Social.SocialFeed.prototype={$L_1:0,$m_1:null,$n_1:null,$1w_1:null,$2z_1:0,get_attributes:function(){a:;return this.$L_1},get_newestProcessed:function(){a:;return this.$m_1},get_oldestProcessed:function(){a:;return this.$n_1},get_threads:function(){a:;return this.$1w_1},get_unreadMentionCount:function(){a:;return this.$2z_1},get_typeId:function(){a:;return "{0eb7d3ea-3238-4caa-9d34-7ad86514b18b}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Attributes","NewestProcessed","OldestProcessed","Threads","UnreadMentionCount"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Attributes;if(!SP.ScriptUtility.isUndefined(a)){this.$L_1=SP.DataConvert.fixupType(null,a);delete b.Attributes}a=b.NewestProcessed;if(!SP.ScriptUtility.isUndefined(a)){this.$m_1=a;delete b.NewestProcessed}a=b.OldestProcessed;if(!SP.ScriptUtility.isUndefined(a)){this.$n_1=a;delete b.OldestProcessed}a=b.Threads;if(!SP.ScriptUtility.isUndefined(a)){this.$1w_1=[];SP.DataConvert.populateArray(null,this.$1w_1,a);delete b.Threads}a=b.UnreadMentionCount;if(!SP.ScriptUtility.isUndefined(a)){this.$2z_1=a;delete b.UnreadMentionCount}}};SP.Social.SocialFeedManager=function(a){a:;SP.Social.SocialFeedManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c32f5230-2ed0-48fa-ac80-e2ffa22e3d28}",arguments)])};SP.Social.SocialFeedManager.newObject=function(a){a:;return new SP.Social.SocialFeedManager(a,new SP.ObjectPathConstructor(a,"{c32f5230-2ed0-48fa-ac80-e2ffa22e3d28}",null))};SP.Social.SocialFeedManager.prototype={get_owner:function(){a:;this.checkUninitializedProperty("Owner");return this.get_objectData().get_properties()["Owner"]},get_personalSitePortalUri:function(){a:;this.checkUninitializedProperty("PersonalSitePortalUri");return this.get_objectData().get_properties()["PersonalSitePortalUri"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Owner;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Owner"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Owner}a=b.PersonalSitePortalUri;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSitePortalUri"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PersonalSitePortalUri}},createPost:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreatePost",[e,d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPreview:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPreview",[d]);b.addQuery(c);a=new SP.Social.SocialAttachment;b.addQueryIdAndResultObject(c.get_id(),a);return a},likePost:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"LikePost",[d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},unlikePost:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"UnlikePost",[d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},deletePost:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"DeletePost",[d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},lockThread:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"LockThread",[d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},unlockThread:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"UnlockThread",[d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},suppressThreadNotifications:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SuppressThreadNotifications",[a]);b.addQuery(c)},getFeed:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFeed",[e,d]);b.addQuery(c);a=new SP.Social.SocialFeed;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFeedFor:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFeedFor",[d,e]);b.addQuery(c);a=new SP.Social.SocialFeed;b.addQueryIdAndResultObject(c.get_id(),a);return a},getMentions:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetMentions",[d,e]);b.addQuery(c);a=new SP.Social.SocialFeed;b.addQueryIdAndResultObject(c.get_id(),a);return a},getUnreadMentionCount:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetUnreadMentionCount",null);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFullThread:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFullThread",[d]);b.addQuery(c);a=new SP.Social.SocialThread;b.addQueryIdAndResultObject(c.get_id(),a);return a},getAllLikers:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetAllLikers",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},createImageAttachment:function(f,d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateImageAttachment",[f,d,e]);b.addQuery(c);a=new SP.Social.SocialAttachment;b.addQueryIdAndResultObject(c.get_id(),a);return a},createFileAttachment:function(f,d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreateFileAttachment",[f,d,e]);b.addQuery(c);a=new SP.Social.SocialAttachment;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPreviewImage:function(e,d,f){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPreviewImage",[e,d,f]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Social.SocialFeedManagerPropertyNames=function(){};SP.Social.SocialFeedOptions=function(){a:;SP.Social.SocialFeedOptions.initializeBase(this)};SP.Social.SocialFeedOptions.prototype={$1P_1:0,$Q_1:null,$R_1:null,$1r_1:0,get_maxThreadCount:function(){a:;return this.$1P_1},set_maxThreadCount:function(a){a:;this.$1P_1=a;return a},get_newerThan:function(){a:;return this.$Q_1},set_newerThan:function(a){a:;this.$Q_1=a;return a},get_olderThan:function(){a:;return this.$R_1},set_olderThan:function(a){a:;this.$R_1=a;return a},get_sortOrder:function(){a:;return this.$1r_1},set_sortOrder:function(a){a:;this.$1r_1=a;return a},get_typeId:function(){a:;return "{86cfc806-c9bb-448a-aed2-c7ff9a5b7ee6}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["MaxThreadCount","NewerThan","OlderThan","SortOrder"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.MaxThreadCount;if(!SP.ScriptUtility.isUndefined(a)){this.$1P_1=a;delete b.MaxThreadCount}a=b.NewerThan;if(!SP.ScriptUtility.isUndefined(a)){this.$Q_1=a;delete b.NewerThan}a=b.OlderThan;if(!SP.ScriptUtility.isUndefined(a)){this.$R_1=a;delete b.OlderThan}a=b.SortOrder;if(!SP.ScriptUtility.isUndefined(a)){this.$1r_1=SP.DataConvert.fixupType(null,a);delete b.SortOrder}}};SP.Social.SocialFollowingManager=function(a){a:;SP.Social.SocialFollowingManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{651f2511-b4a4-4c3d-8c12-b049c7f79d69}",arguments)])};SP.Social.SocialFollowingManager.newObject=function(a){a:;return new SP.Social.SocialFollowingManager(a,new SP.ObjectPathConstructor(a,"{651f2511-b4a4-4c3d-8c12-b049c7f79d69}",null))};SP.Social.SocialFollowingManager.prototype={get_followedDocumentsUri:function(){a:;this.checkUninitializedProperty("FollowedDocumentsUri");return this.get_objectData().get_properties()["FollowedDocumentsUri"]},get_followedSitesUri:function(){a:;this.checkUninitializedProperty("FollowedSitesUri");return this.get_objectData().get_properties()["FollowedSitesUri"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FollowedDocumentsUri;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FollowedDocumentsUri"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FollowedDocumentsUri}a=b.FollowedSitesUri;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FollowedSitesUri"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FollowedSitesUri}},follow:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Follow",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},stopFollowing:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"StopFollowing",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},isFollowed:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"IsFollowed",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFollowed:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFollowed",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getFollowedCount:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFollowedCount",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFollowers:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFollowers",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getSuggestions:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetSuggestions",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.Social.SocialFollowingManagerPropertyNames=function(){};SP.Social.SocialLink=function(){a:;SP.Social.SocialLink.initializeBase(this)};SP.Social.SocialLink.prototype={$8_1:null,$2_1:null,get_text:function(){a:;return this.$8_1},set_text:function(a){a:;this.$8_1=a;return a},get_uri:function(){a:;return this.$2_1},set_uri:function(a){a:;this.$2_1=a;return a},get_typeId:function(){a:;return "{31b25401-cec9-496e-a758-b0b280c1711e}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Text","Uri"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Text;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Text}a=b.Uri;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=SP.DataConvert.fixupType(null,a);delete b.Uri}}};SP.Social.SocialPost=function(){a:;SP.Social.SocialPost.initializeBase(this)};SP.Social.SocialPost.prototype={$X_1:null,$L_1:0,$g_1:0,$25_1:null,$9_1:null,$2X_1:null,$2c_1:null,$1R_1:null,$2o_1:0,$2p_1:null,$f_1:null,$8_1:null,get_attachment:function(){a:;return this.$X_1},get_attributes:function(){a:;return this.$L_1},get_authorIndex:function(){a:;return this.$g_1},get_createdTime:function(){a:;return this.$25_1},get_id:function(){a:;return this.$9_1},get_likerInfo:function(){a:;return this.$2X_1},get_modifiedTime:function(){a:;return this.$2c_1},get_overlays:function(){a:;return this.$1R_1},get_postType:function(){a:;return this.$2o_1},get_preferredImageUri:function(){a:;return this.$2p_1},get_source:function(){a:;return this.$f_1},get_text:function(){a:;return this.$8_1},get_typeId:function(){a:;return "{11386a5f-9543-44b8-8a96-1aa33d964f87}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Attachment","Attributes","AuthorIndex","CreatedTime","Id","LikerInfo","ModifiedTime","Overlays","PostType","PreferredImageUri","Source","Text"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Attachment;if(!SP.ScriptUtility.isUndefined(a)){this.$X_1=SP.DataConvert.fixupType(null,a);delete b.Attachment}a=b.Attributes;if(!SP.ScriptUtility.isUndefined(a)){this.$L_1=SP.DataConvert.fixupType(null,a);delete b.Attributes}a=b.AuthorIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$g_1=a;delete b.AuthorIndex}a=b.CreatedTime;if(!SP.ScriptUtility.isUndefined(a)){this.$25_1=a;delete b.CreatedTime}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.Id}a=b.LikerInfo;if(!SP.ScriptUtility.isUndefined(a)){this.$2X_1=SP.DataConvert.fixupType(null,a);delete b.LikerInfo}a=b.ModifiedTime;if(!SP.ScriptUtility.isUndefined(a)){this.$2c_1=a;delete b.ModifiedTime}a=b.Overlays;if(!SP.ScriptUtility.isUndefined(a)){this.$1R_1=[];SP.DataConvert.populateArray(null,this.$1R_1,a);delete b.Overlays}a=b.PostType;if(!SP.ScriptUtility.isUndefined(a)){this.$2o_1=SP.DataConvert.fixupType(null,a);delete b.PostType}a=b.PreferredImageUri;if(!SP.ScriptUtility.isUndefined(a)){this.$2p_1=SP.DataConvert.fixupType(null,a);delete b.PreferredImageUri}a=b.Source;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=SP.DataConvert.fixupType(null,a);delete b.Source}a=b.Text;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Text}}};SP.Social.SocialPostActorInfo=function(){a:;SP.Social.SocialPostActorInfo.initializeBase(this)};SP.Social.SocialPostActorInfo.prototype={$2K_1:false,$2M_1:null,$2x_1:0,get_includesCurrentUser:function(){a:;return this.$2K_1},get_indexes:function(){a:;return this.$2M_1},get_totalCount:function(){a:;return this.$2x_1},get_typeId:function(){a:;return "{255e9b47-c24c-414e-9ecc-23e42cc7042b}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["IncludesCurrentUser","Indexes","TotalCount"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IncludesCurrentUser;if(!SP.ScriptUtility.isUndefined(a)){this.$2K_1=a;delete b.IncludesCurrentUser}a=b.Indexes;if(!SP.ScriptUtility.isUndefined(a)){this.$2M_1=SP.DataConvert.fixupType(null,a);delete b.Indexes}a=b.TotalCount;if(!SP.ScriptUtility.isUndefined(a)){this.$2x_1=a;delete b.TotalCount}}};SP.Social.SocialPostCreationData=function(){a:;SP.Social.SocialPostCreationData.initializeBase(this)};SP.Social.SocialPostCreationData.prototype={$X_1:null,$r_1:null,$x_1:null,$11_1:null,$1o_1:null,$f_1:null,$V_1:false,get_attachment:function(){a:;return this.$X_1},set_attachment:function(a){a:;this.$X_1=a;return a},get_contentItems:function(){a:;return this.$r_1},set_contentItems:function(a){a:;this.$r_1=a;return a},get_contentText:function(){a:;return this.$x_1},set_contentText:function(a){a:;this.$x_1=a;return a},get_definitionData:function(){a:;return this.$11_1},set_definitionData:function(a){a:;this.$11_1=a;return a},get_securityUris:function(){a:;return this.$1o_1},set_securityUris:function(a){a:;this.$1o_1=a;return a},get_source:function(){a:;return this.$f_1},set_source:function(a){a:;this.$f_1=a;return a},get_updateStatusText:function(){a:;return this.$V_1},set_updateStatusText:function(a){a:;this.$V_1=a;return a},get_typeId:function(){a:;return "{2830dd33-271e-4091-a211-e88988e16b03}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Attachment","ContentItems","ContentText","DefinitionData","SecurityUris","Source","UpdateStatusText"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Attachment;if(!SP.ScriptUtility.isUndefined(a)){this.$X_1=SP.DataConvert.fixupType(null,a);delete b.Attachment}a=b.ContentItems;if(!SP.ScriptUtility.isUndefined(a)){this.$r_1=[];SP.DataConvert.populateArray(null,this.$r_1,a);delete b.ContentItems}a=b.ContentText;if(!SP.ScriptUtility.isUndefined(a)){this.$x_1=a;delete b.ContentText}a=b.DefinitionData;if(!SP.ScriptUtility.isUndefined(a)){this.$11_1=SP.DataConvert.fixupType(null,a);delete b.DefinitionData}a=b.SecurityUris;if(!SP.ScriptUtility.isUndefined(a)){this.$1o_1=SP.DataConvert.fixupType(null,a);delete b.SecurityUris}a=b.Source;if(!SP.ScriptUtility.isUndefined(a)){this.$f_1=SP.DataConvert.fixupType(null,a);delete b.Source}a=b.UpdateStatusText;if(!SP.ScriptUtility.isUndefined(a)){this.$V_1=a;delete b.UpdateStatusText}}};SP.Social.SocialPostDefinitionData=function(){a:;SP.Social.SocialPostDefinitionData.initializeBase(this)};SP.Social.SocialPostDefinitionData.prototype={$s_1:null,$1_1:null,get_items:function(){a:;return this.$s_1},set_items:function(a){a:;this.$s_1=a;return a},get_name:function(){a:;return this.$1_1},set_name:function(a){a:;this.$1_1=a;return a},get_typeId:function(){a:;return "{0dea3db3-d522-4691-ab98-9b5ffe6a613f}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Items","Name"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Items;if(!SP.ScriptUtility.isUndefined(a)){this.$s_1=[];SP.DataConvert.populateArray(null,this.$s_1,a);delete b.Items}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}}};SP.Social.SocialPostDefinitionDataItem=function(){a:;SP.Social.SocialPostDefinitionDataItem.initializeBase(this)};SP.Social.SocialPostDefinitionDataItem.prototype={$0_1:null,$B_1:0,$1Y_1:null,$7_1:null,$8_1:null,$2_1:null,get_accountName:function(){a:;return this.$0_1},set_accountName:function(a){a:;this.$0_1=a;return a},get_itemType:function(){a:;return this.$B_1},set_itemType:function(a){a:;this.$B_1=a;return a},get_placeholderName:function(){a:;return this.$1Y_1},set_placeholderName:function(a){a:;this.$1Y_1=a;return a},get_tagGuid:function(){a:;return this.$7_1},set_tagGuid:function(a){a:;this.$7_1=a;return a},get_text:function(){a:;return this.$8_1},set_text:function(a){a:;this.$8_1=a;return a},get_uri:function(){a:;return this.$2_1},set_uri:function(a){a:;this.$2_1=a;return a},get_typeId:function(){a:;return "{c818a4f0-db17-4e56-b741-4f473c108647}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["AccountName","ItemType","PlaceholderName","TagGuid","Text","Uri"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.$0_1=a;delete b.AccountName}a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=SP.DataConvert.fixupType(null,a);delete b.ItemType}a=b.PlaceholderName;if(!SP.ScriptUtility.isUndefined(a)){this.$1Y_1=a;delete b.PlaceholderName}a=b.TagGuid;if(!SP.ScriptUtility.isUndefined(a)){this.$7_1=a;delete b.TagGuid}a=b.Text;if(!SP.ScriptUtility.isUndefined(a)){this.$8_1=a;delete b.Text}a=b.Uri;if(!SP.ScriptUtility.isUndefined(a)){this.$2_1=SP.DataConvert.fixupType(null,a);delete b.Uri}}};SP.Social.SocialPostReference=function(){a:;SP.Social.SocialPostReference.initializeBase(this)};SP.Social.SocialPostReference.prototype={$28_1:null,$2k_1:null,$2u_1:null,$2v_1:0,get_digest:function(){a:;return this.$28_1},get_post:function(){a:;return this.$2k_1},get_threadId:function(){a:;return this.$2u_1},get_threadOwnerIndex:function(){a:;return this.$2v_1},get_typeId:function(){a:;return "{5952a7be-5ef5-4246-8760-48544f41eab9}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Digest","Post","ThreadId","ThreadOwnerIndex"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Digest;if(!SP.ScriptUtility.isUndefined(a)){this.$28_1=SP.DataConvert.fixupType(null,a);delete b.Digest}a=b.Post;if(!SP.ScriptUtility.isUndefined(a)){this.$2k_1=SP.DataConvert.fixupType(null,a);delete b.Post}a=b.ThreadId;if(!SP.ScriptUtility.isUndefined(a)){this.$2u_1=a;delete b.ThreadId}a=b.ThreadOwnerIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$2v_1=a;delete b.ThreadOwnerIndex}}};SP.Social.SocialThread=function(){a:;SP.Social.SocialThread.initializeBase(this)};SP.Social.SocialThread.prototype={$u_1:null,$L_1:0,$9_1:null,$o_1:0,$2g_1:null,$2n_1:null,$e_1:null,$q_1:null,$3_1:0,$2w_1:0,$2y_1:0,get_actors:function(){a:;return this.$u_1},get_attributes:function(){a:;return this.$L_1},get_id:function(){a:;return this.$9_1},get_ownerIndex:function(){a:;return this.$o_1},get_permalink:function(){a:;return this.$2g_1},get_postReference:function(){a:;return this.$2n_1},get_replies:function(){a:;return this.$e_1},get_rootPost:function(){a:;return this.$q_1},get_status:function(){a:;return this.$3_1},get_threadType:function(){a:;return this.$2w_1},get_totalReplyCount:function(){a:;return this.$2y_1},get_typeId:function(){a:;return "{2219e58b-dddf-4d04-8f7b-171151704cc1}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Actors","Attributes","Id","OwnerIndex","Permalink","PostReference","Replies","RootPost","Status","ThreadType","TotalReplyCount"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Actors;if(!SP.ScriptUtility.isUndefined(a)){this.$u_1=[];SP.DataConvert.populateArray(null,this.$u_1,a);delete b.Actors}a=b.Attributes;if(!SP.ScriptUtility.isUndefined(a)){this.$L_1=SP.DataConvert.fixupType(null,a);delete b.Attributes}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.$9_1=a;delete b.Id}a=b.OwnerIndex;if(!SP.ScriptUtility.isUndefined(a)){this.$o_1=a;delete b.OwnerIndex}a=b.Permalink;if(!SP.ScriptUtility.isUndefined(a)){this.$2g_1=SP.DataConvert.fixupType(null,a);delete b.Permalink}a=b.PostReference;if(!SP.ScriptUtility.isUndefined(a)){this.$2n_1=SP.DataConvert.fixupType(null,a);delete b.PostReference}a=b.Replies;if(!SP.ScriptUtility.isUndefined(a)){this.$e_1=[];SP.DataConvert.populateArray(null,this.$e_1,a);delete b.Replies}a=b.RootPost;if(!SP.ScriptUtility.isUndefined(a)){this.$q_1=SP.DataConvert.fixupType(null,a);delete b.RootPost}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.$3_1=SP.DataConvert.fixupType(null,a);delete b.Status}a=b.ThreadType;if(!SP.ScriptUtility.isUndefined(a)){this.$2w_1=SP.DataConvert.fixupType(null,a);delete b.ThreadType}a=b.TotalReplyCount;if(!SP.ScriptUtility.isUndefined(a)){this.$2y_1=a;delete b.TotalReplyCount}}};Type.registerNamespace("SP.UserProfiles");SP.UserProfiles.ChangeTypes=function(){};SP.UserProfiles.ChangeTypes.prototype={none:0,add:1,modify:2,remove:4,metadata:8,all:15};SP.UserProfiles.ChangeTypes.registerEnum("SP.UserProfiles.ChangeTypes",false);SP.UserProfiles.FollowedContentExceptionCode=function(){};SP.UserProfiles.FollowedContentExceptionCode.prototype={itemAlreadyExists:3,itemDoesNotExist:4,invalidQueryString:5,invalidSubtypeValue:6,unsupportedItemType:7,followLimitReached:8,untrustedSource:9,unsupportedSite:10,internalError:11,itemNotFound:12};SP.UserProfiles.FollowedContentExceptionCode.registerEnum("SP.UserProfiles.FollowedContentExceptionCode",false);SP.UserProfiles.FollowedContentQueryOptions=function(){};SP.UserProfiles.FollowedContentQueryOptions.prototype={unset:0,sites:1,documents:2,hidden:4,nonFeed:8,defaultOptions:15,all:255,includeGroupsSites:256,withinLast24Hours:512};SP.UserProfiles.FollowedContentQueryOptions.registerEnum("SP.UserProfiles.FollowedContentQueryOptions",false);SP.UserProfiles.FollowedItemType=function(){};SP.UserProfiles.FollowedItemType.prototype={unknown:0,document:1,site:2,all:3};SP.UserProfiles.FollowedItemType.registerEnum("SP.UserProfiles.FollowedItemType",false);SP.UserProfiles.FollowedStatus=function(){};SP.UserProfiles.FollowedStatus.prototype={followed:0,notFollowed:1,notFollowable:2};SP.UserProfiles.FollowedStatus.registerEnum("SP.UserProfiles.FollowedStatus",false);SP.UserProfiles.FollowResultType=function(){};SP.UserProfiles.FollowResultType.prototype={unknown:0,followed:1,refollowed:2,hitFollowLimit:3,failed:4};SP.UserProfiles.FollowResultType.registerEnum("SP.UserProfiles.FollowResultType",false);SP.UserProfiles.ObjectTypes=function(){};SP.UserProfiles.ObjectTypes.prototype={none:0,singleValueProperty:1,multiValueProperty:2,anniversary:4,dlMembership:8,siteMembership:16,quickLink:32,colleague:64,personalizationSite:128,userProfile:256,webLog:512,custom:1024,organizationProfile:2048,organizationMembership:4096,all:8191};SP.UserProfiles.ObjectTypes.registerEnum("SP.UserProfiles.ObjectTypes",false);SP.UserProfiles.PersonalSiteCapabilities=function(){};SP.UserProfiles.PersonalSiteCapabilities.prototype={none:0,profile:1,social:2,storage:4,myTasksDashboard:8,education:16,guest:32};SP.UserProfiles.PersonalSiteCapabilities.registerEnum("SP.UserProfiles.PersonalSiteCapabilities",false);SP.UserProfiles.PersonalSiteInstantiationState=function(){};SP.UserProfiles.PersonalSiteInstantiationState.prototype={uninitialized:0,enqueued:1,created:2,deleted:3,permissionsGeneralFailure:4096,permissionsUPANotGranted:4097,permissionsUserNotLicensed:4098,permissionsSelfServiceSiteCreationDisabled:4099,permissionsNoMySitesInPeopleLight:4100,permissionsEmptyHostUrl:4101,permissionsHostFailedToInitializePersonalSiteContext:4102,errorGeneralFailure:8192,errorManagedPathDoesNotExist:8193,errorLanguageNotInstalled:8194,errorPartialCreate:8195,errorPersonalSiteAlreadyExists:8196,errorRootSiteNotPresent:8197,errorSelfServiceSiteCreateCallFailed:8198};SP.UserProfiles.PersonalSiteInstantiationState.registerEnum("SP.UserProfiles.PersonalSiteInstantiationState",false);SP.UserProfiles.PersonalSiteCreationPriority=function(){};SP.UserProfiles.PersonalSiteCreationPriority.prototype={low:0,medium:1,high:2};SP.UserProfiles.PersonalSiteCreationPriority.registerEnum("SP.UserProfiles.PersonalSiteCreationPriority",false);SP.UserProfiles.SocialDataStoreExceptionCode=function(){};SP.UserProfiles.SocialDataStoreExceptionCode.prototype={socialListNotFound:0,personalSiteNotFound:1,cannotCreatePersonalSite:2,noSocialFeatures:3};SP.UserProfiles.SocialDataStoreExceptionCode.registerEnum("SP.UserProfiles.SocialDataStoreExceptionCode",false);SP.UserProfiles.FollowedContent=function(a){a:;SP.UserProfiles.FollowedContent.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{d4b5e80e-3c1b-4153-a37f-bef19b3ba1bb}",arguments)])};SP.UserProfiles.FollowedContent.newObject=function(a){a:;return new SP.UserProfiles.FollowedContent(a,new SP.ObjectPathConstructor(a,"{d4b5e80e-3c1b-4153-a37f-bef19b3ba1bb}",null))};SP.UserProfiles.FollowedContent.prototype={get_followedDocumentsUrl:function(){a:;this.checkUninitializedProperty("FollowedDocumentsUrl");return this.get_objectData().get_properties()["FollowedDocumentsUrl"]},get_followedSitesUrl:function(){a:;this.checkUninitializedProperty("FollowedSitesUrl");return this.get_objectData().get_properties()["FollowedSitesUrl"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FollowedDocumentsUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FollowedDocumentsUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FollowedDocumentsUrl}a=b.FollowedSitesUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FollowedSitesUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.FollowedSitesUrl}},hasGroupMembershipChangedAndSyncChanges:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"HasGroupMembershipChangedAndSyncChanges",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},updateFollowedGroupForUser:function(a,c,b){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"UpdateFollowedGroupForUser",[a,c,b]);d.addQuery(e)},follow:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"Follow",[e,d]);b.addQuery(c);a=new SP.UserProfiles.FollowResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},setItemPinState:function(f,e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"SetItemPinState",[f,e,d]);b.addQuery(c);a=new SP.UserProfiles.FollowResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},followItem:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"FollowItem",[d]);b.addQuery(c);a=new SP.UserProfiles.FollowResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},stopFollowing:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"StopFollowing",[c]);a.addQuery(b)},isFollowed:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"IsFollowed",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getFollowedStatus:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFollowedStatus",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getItem:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetItem",[d]);b.addQuery(c);a=new SP.UserProfiles.FollowedItem;b.addQueryIdAndResultObject(c.get_id(),a);return a},getItems:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetItems",[d,e]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getGroups:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetGroups",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},updateData:function(d,c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"UpdateData",[d,c]);a.addQuery(b)},refreshFollowedItem:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"RefreshFollowedItem",[d]);b.addQuery(c);a=new SP.UserProfiles.FollowedItem;b.addQueryIdAndResultObject(c.get_id(),a);return a},findAndUpdateFollowedGroup:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"FindAndUpdateFollowedGroup",[d]);b.addQuery(c);a=new SP.UserProfiles.FollowedItem;b.addQueryIdAndResultObject(c.get_id(),a);return a},findAndUpdateFollowedItem:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"FindAndUpdateFollowedItem",[d]);b.addQuery(c);a=new SP.UserProfiles.FollowedItem;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.UserProfiles.FollowedContentPropertyNames=function(){};SP.UserProfiles.FollowedItem=function(){a:;SP.UserProfiles.FollowedItem.initializeBase(this)};SP.UserProfiles.FollowedItem.prototype={$y_1:null,$15_1:null,$16_1:null,$17_1:null,$19_1:null,$1A_1:false,$1B_1:false,$1D_1:null,$1K_1:0,$B_1:0,$1O_1:null,$1S_1:null,$1X_1:0,$1p_1:null,$1q_1:null,$1t_1:0,$A_1:null,$U_1:null,$1y_1:null,$21_1:null,get_data:function(){a:;return this.$y_1},set_data:function(a){a:;this.$y_1=a;return a},get_fileType:function(){a:;return this.$15_1},set_fileType:function(a){a:;this.$15_1=a;return a},get_fileTypeProgid:function(){a:;return this.$16_1},set_fileTypeProgid:function(a){a:;this.$16_1=a;return a},get_flags:function(){a:;return this.$17_1},set_flags:function(a){a:;this.$17_1=a;return a},get_groupId:function(){a:;return this.$19_1},set_groupId:function(a){a:;this.$19_1=a;return a},get_hasFeed:function(){a:;return this.$1A_1},set_hasFeed:function(a){a:;this.$1A_1=a;return a},get_hidden:function(){a:;return this.$1B_1},set_hidden:function(a){a:;this.$1B_1=a;return a},get_iconUrl:function(){a:;return this.$1D_1},set_iconUrl:function(a){a:;this.$1D_1=a;return a},get_itemId:function(){a:;return this.$1K_1},set_itemId:function(a){a:;this.$1K_1=a;return a},get_itemType:function(){a:;return this.$B_1},set_itemType:function(a){a:;this.$B_1=a;return a},get_listId:function(){a:;return this.$1O_1},set_listId:function(a){a:;this.$1O_1=a;return a},get_parentUrl:function(){a:;return this.$1S_1},set_parentUrl:function(a){a:;this.$1S_1=a;return a},get_pinned:function(){a:;return this.$1X_1},set_pinned:function(a){a:;this.$1X_1=a;return a},get_serverUrlProgid:function(){a:;return this.$1p_1},set_serverUrlProgid:function(a){a:;this.$1p_1=a;return a},get_siteId:function(){a:;return this.$1q_1},set_siteId:function(a){a:;this.$1q_1=a;return a},get_subtype:function(){a:;return this.$1t_1},set_subtype:function(a){a:;this.$1t_1=a;return a},get_title:function(){a:;return this.$A_1},set_title:function(a){a:;this.$A_1=a;return a},get_uniqueId:function(){a:;return this.$U_1},set_uniqueId:function(a){a:;this.$U_1=a;return a},get_url:function(){a:;return this.$1y_1},set_url:function(a){a:;this.$1y_1=a;return a},get_webId:function(){a:;return this.$21_1},set_webId:function(a){a:;this.$21_1=a;return a},get_typeId:function(){a:;return "{ee324d8c-2232-4163-bba5-38138a571ca7}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Data","FileType","FileTypeProgid","Flags","GroupId","HasFeed","Hidden","IconUrl","ItemId","ItemType","ListId","ParentUrl","Pinned","ServerUrlProgid","SiteId","Subtype","Title","UniqueId","Url","WebId"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Data;if(!SP.ScriptUtility.isUndefined(a)){this.$y_1=SP.DataConvert.fixupType(null,a);delete b.Data}a=b.FileType;if(!SP.ScriptUtility.isUndefined(a)){this.$15_1=a;delete b.FileType}a=b.FileTypeProgid;if(!SP.ScriptUtility.isUndefined(a)){this.$16_1=a;delete b.FileTypeProgid}a=b.Flags;if(!SP.ScriptUtility.isUndefined(a)){this.$17_1=a;delete b.Flags}a=b.GroupId;if(!SP.ScriptUtility.isUndefined(a)){this.$19_1=a;delete b.GroupId}a=b.HasFeed;if(!SP.ScriptUtility.isUndefined(a)){this.$1A_1=a;delete b.HasFeed}a=b.Hidden;if(!SP.ScriptUtility.isUndefined(a)){this.$1B_1=a;delete b.Hidden}a=b.IconUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$1D_1=SP.DataConvert.fixupType(null,a);delete b.IconUrl}a=b.ItemId;if(!SP.ScriptUtility.isUndefined(a)){this.$1K_1=a;delete b.ItemId}a=b.ItemType;if(!SP.ScriptUtility.isUndefined(a)){this.$B_1=SP.DataConvert.fixupType(null,a);delete b.ItemType}a=b.ListId;if(!SP.ScriptUtility.isUndefined(a)){this.$1O_1=a;delete b.ListId}a=b.ParentUrl;if(!SP.ScriptUtility.isUndefined(a)){this.$1S_1=SP.DataConvert.fixupType(null,a);delete b.ParentUrl}a=b.Pinned;if(!SP.ScriptUtility.isUndefined(a)){this.$1X_1=a;delete b.Pinned}a=b.ServerUrlProgid;if(!SP.ScriptUtility.isUndefined(a)){this.$1p_1=a;delete b.ServerUrlProgid}a=b.SiteId;if(!SP.ScriptUtility.isUndefined(a)){this.$1q_1=a;delete b.SiteId}a=b.Subtype;if(!SP.ScriptUtility.isUndefined(a)){this.$1t_1=a;delete b.Subtype}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.$A_1=a;delete b.Title}a=b.UniqueId;if(!SP.ScriptUtility.isUndefined(a)){this.$U_1=a;delete b.UniqueId}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.$1y_1=SP.DataConvert.fixupType(null,a);delete b.Url}a=b.WebId;if(!SP.ScriptUtility.isUndefined(a)){this.$21_1=a;delete b.WebId}}};SP.UserProfiles.FollowedItemData=function(a){a:;SP.UserProfiles.FollowedItemData.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{bfc2a2ac-07cd-4d35-aae1-9bc7d41da9ce}",arguments)])};SP.UserProfiles.FollowedItemData.newObject=function(a,b){a:;return new SP.UserProfiles.FollowedItemData(a,new SP.ObjectPathConstructor(a,"{bfc2a2ac-07cd-4d35-aae1-9bc7d41da9ce}",[b]))};SP.UserProfiles.FollowedItemData.prototype={get_properties:function(){a:;this.checkUninitializedProperty("Properties");return this.get_objectData().get_properties()["Properties"]},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.Properties;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["Properties"]=SP.DataConvert.fixupType(this.get_context(),b);delete a.Properties}}};SP.UserProfiles.FollowedItemDataPropertyNames=function(){};SP.UserProfiles.FollowResult=function(){a:;SP.UserProfiles.FollowResult.initializeBase(this)};SP.UserProfiles.FollowResult.prototype={$1J_1:null,$1m_1:0,get_item:function(){a:;return this.$1J_1},set_item:function(a){a:;this.$1J_1=a;return a},get_resultType:function(){a:;return this.$1m_1},set_resultType:function(a){a:;this.$1m_1=a;return a},get_typeId:function(){a:;return "{39498102-06db-49bc-9df7-d8e91ad10adf}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Item","ResultType"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Item;if(!SP.ScriptUtility.isUndefined(a)){this.$1J_1=SP.DataConvert.fixupType(null,a);delete b.Item}a=b.ResultType;if(!SP.ScriptUtility.isUndefined(a)){this.$1m_1=SP.DataConvert.fixupType(null,a);delete b.ResultType}}};SP.UserProfiles.HashTag=function(){a:;SP.UserProfiles.HashTag.initializeBase(this)};SP.UserProfiles.HashTag.prototype={$1_1:null,$30_1:0,get_name:function(){a:;return this.$1_1},get_useCount:function(){a:;return this.$30_1},get_typeId:function(){a:;return "{e9fc287a-1508-4d29-b69f-1806fb0c916d}"},writeToXml:function(b,a){a:;if(!b)throw Error.argumentNull("writer");if(!a)throw Error.argumentNull("serializationContext");var c=["Name","UseCount"];SP.DataConvert.writePropertiesToXml(b,this,c,a);SP.ClientValueObject.prototype.writeToXml.call(this,b,a)},initPropertiesFromJson:function(b){a:;SP.ClientValueObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.$1_1=a;delete b.Name}a=b.UseCount;if(!SP.ScriptUtility.isUndefined(a)){this.$30_1=a;delete b.UseCount}}};SP.UserProfiles.HashTagCollection=function(b,a){a:;SP.UserProfiles.HashTagCollection.initializeBase(this,[b,a])};SP.UserProfiles.HashTagCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.UserProfiles.HashTag}};SP.UserProfiles.PeopleManager=function(a){a:;SP.UserProfiles.PeopleManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{cf560d69-0fdb-4489-a216-b6b47adf8ef8}",arguments)])};SP.UserProfiles.PeopleManager.newObject=function(a){a:;return new SP.UserProfiles.PeopleManager(a,new SP.ObjectPathConstructor(a,"{cf560d69-0fdb-4489-a216-b6b47adf8ef8}",null))};SP.UserProfiles.PeopleManager.getTrendingTags=function(a){a:;if(!a)throw Error.argumentNull("context");var b;b=new SP.UserProfiles.HashTagCollection(a,new SP.ObjectPathStaticMethod(a,"{cf560d69-0fdb-4489-a216-b6b47adf8ef8}","GetTrendingTags",null));return b};SP.UserProfiles.PeopleManager.isFollowing=function(a,e,d){a:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{cf560d69-0fdb-4489-a216-b6b47adf8ef8}","IsFollowing",[e,d]);a.addQuery(c);b=new SP.BooleanResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.UserProfiles.PeopleManager.prototype={get_editProfileLink:function(){a:;this.checkUninitializedProperty("EditProfileLink");return this.get_objectData().get_properties()["EditProfileLink"]},get_isMyPeopleListPublic:function(){a:;this.checkUninitializedProperty("IsMyPeopleListPublic");return this.get_objectData().get_properties()["IsMyPeopleListPublic"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.EditProfileLink;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EditProfileLink"]=a;delete b.EditProfileLink}a=b.IsMyPeopleListPublic;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsMyPeopleListPublic"]=a;delete b.IsMyPeopleListPublic}},getFollowedTags:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetFollowedTags",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getMyProperties:function(){a:;var a=this.get_context(),b;b=new SP.UserProfiles.PersonProperties(a,new SP.ObjectPathMethod(a,this.get_path(),"GetMyProperties",null));return b},getPropertiesFor:function(c){a:;var a=this.get_context(),b;b=new SP.UserProfiles.PersonProperties(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPropertiesFor",[c]));return b},getUserProfilePropertyFor:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetUserProfilePropertyFor",[e,d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getUserProfilePropertiesFor:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetUserProfilePropertiesFor",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a},getMySuggestions:function(){a:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"GetMySuggestions",null),SP.UserProfiles.PersonProperties);return b},hideSuggestion:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"HideSuggestion",[a]);b.addQuery(c)},follow:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"Follow",[a]);b.addQuery(c)},stopFollowing:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"StopFollowing",[a]);b.addQuery(c)},followTag:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"FollowTag",[a]);b.addQuery(c)},stopFollowingTag:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"StopFollowingTag",[a]);b.addQuery(c)},amIFollowing:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"AmIFollowing",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getPeopleFollowedByMe:function(){a:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPeopleFollowedByMe",null),SP.UserProfiles.PersonProperties);return b},getPeopleFollowedBy:function(c){a:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPeopleFollowedBy",[c]),SP.UserProfiles.PersonProperties);return b},getMyFollowers:function(){a:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"GetMyFollowers",null),SP.UserProfiles.PersonProperties);return b},getFollowersFor:function(c){a:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"GetFollowersFor",[c]),SP.UserProfiles.PersonProperties);return b},amIFollowedBy:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"AmIFollowedBy",[d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},setSingleValueProfileProperty:function(c,b,a){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"SetSingleValueProfileProperty",[c,b,a]);d.addQuery(e)},setMultiValuedProfileProperty:function(c,b,a){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"SetMultiValuedProfileProperty",[c,b,a]);d.addQuery(e)},setMyProfilePicture:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetMyProfilePicture",[a]);b.addQuery(c)},getDefaultDocumentLibrary:function(f,d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDefaultDocumentLibrary",[f,d,e]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.UserProfiles.PeopleManagerPropertyNames=function(){};SP.UserProfiles.PersonProperties=function(b,a){a:;SP.UserProfiles.PersonProperties.initializeBase(this,[b,a])};SP.UserProfiles.PersonProperties.prototype={get_accountName:function(){a:;this.checkUninitializedProperty("AccountName");return this.get_objectData().get_properties()["AccountName"]},get_directReports:function(){a:;this.checkUninitializedProperty("DirectReports");return this.get_objectData().get_properties()["DirectReports"]},get_displayName:function(){a:;this.checkUninitializedProperty("DisplayName");return this.get_objectData().get_properties()["DisplayName"]},set_displayName:function(a){a:;this.get_objectData().get_properties()["DisplayName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisplayName",a));return a},get_email:function(){a:;this.checkUninitializedProperty("Email");return this.get_objectData().get_properties()["Email"]},get_extendedManagers:function(){a:;this.checkUninitializedProperty("ExtendedManagers");return this.get_objectData().get_properties()["ExtendedManagers"]},get_extendedReports:function(){a:;this.checkUninitializedProperty("ExtendedReports");return this.get_objectData().get_properties()["ExtendedReports"]},get_isFollowed:function(){a:;this.checkUninitializedProperty("IsFollowed");return this.get_objectData().get_properties()["IsFollowed"]},get_latestPost:function(){a:;this.checkUninitializedProperty("LatestPost");return this.get_objectData().get_properties()["LatestPost"]},get_peers:function(){a:;this.checkUninitializedProperty("Peers");return this.get_objectData().get_properties()["Peers"]},get_personalUrl:function(){a:;this.checkUninitializedProperty("PersonalUrl");return this.get_objectData().get_properties()["PersonalUrl"]},get_pictureUrl:function(){a:;this.checkUninitializedProperty("PictureUrl");return this.get_objectData().get_properties()["PictureUrl"]},get_title:function(){a:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties()["Title"]},get_userProfileProperties:function(){a:;this.checkUninitializedProperty("UserProfileProperties");return this.get_objectData().get_properties()["UserProfileProperties"]},get_userUrl:function(){a:;this.checkUninitializedProperty("UserUrl");return this.get_objectData().get_properties()["UserUrl"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AccountName"]=a;delete b.AccountName}a=b.DirectReports;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DirectReports"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.DirectReports}a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DisplayName"]=a;delete b.DisplayName}a=b.Email;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Email"]=a;delete b.Email}a=b.ExtendedManagers;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ExtendedManagers"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ExtendedManagers}a=b.ExtendedReports;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ExtendedReports"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ExtendedReports}a=b.IsFollowed;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsFollowed"]=a;delete b.IsFollowed}a=b.LatestPost;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LatestPost"]=a;delete b.LatestPost}a=b.Peers;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Peers"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Peers}a=b.PersonalUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalUrl"]=a;delete b.PersonalUrl}a=b.PictureUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PictureUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PictureUrl}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Title"]=a;delete b.Title}a=b.UserProfileProperties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UserProfileProperties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UserProfileProperties}a=b.UserUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UserUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.UserUrl}}};SP.UserProfiles.PersonPropertiesPropertyNames=function(){};SP.UserProfiles.ProfileImageStore=function(a){a:;SP.UserProfiles.ProfileImageStore.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{bf44b08e-8b09-4a8f-af01-9492b8785d94}",arguments)])};SP.UserProfiles.ProfileImageStore.newObject=function(a){a:;return new SP.UserProfiles.ProfileImageStore(a,new SP.ObjectPathConstructor(a,"{bf44b08e-8b09-4a8f-af01-9492b8785d94}",null))};SP.UserProfiles.ProfileImageStore.prototype={saveUploadedFile:function(g,f,d,e,i,h){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"SaveUploadedFile",[g,f,d,e,i,h]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.UserProfiles.ProfileLoader=function(b,a){a:;SP.UserProfiles.ProfileLoader.initializeBase(this,[b,a])};SP.UserProfiles.ProfileLoader.getProfileLoader=function(a){a:;if(!a)throw Error.argumentNull("context");var b;b=new SP.UserProfiles.ProfileLoader(a,new SP.ObjectPathStaticMethod(a,"{9c42543a-91b3-4902-b2fe-14ccdefb6e2b}","GetProfileLoader",null));return b};SP.UserProfiles.ProfileLoader.getOwnerUserProfile=function(a){a:;if(!a)throw Error.argumentNull("context");var b;b=new SP.UserProfiles.UserProfile(a,new SP.ObjectPathStaticMethod(a,"{9c42543a-91b3-4902-b2fe-14ccdefb6e2b}","GetOwnerUserProfile",null));return b};SP.UserProfiles.ProfileLoader.prototype={getUserProfile:function(){a:;var a=this.get_context(),b;b=new SP.UserProfiles.UserProfile(a,new SP.ObjectPathMethod(a,this.get_path(),"GetUserProfile",null));return b},createPersonalSiteEnqueueBulk:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreatePersonalSiteEnqueueBulk",[d]);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.UserProfiles.UserProfile=function(b,a){a:;SP.UserProfiles.UserProfile.initializeBase(this,[b,a])};SP.UserProfiles.UserProfile.createPersonalSiteSyncFromWorkItem=function(a,d){a:;if(!a)throw Error.argumentNull("context");var b,c=new SP.ClientActionInvokeStaticMethod(a,"{a3b3b313-df8c-4192-b623-57b8fa3872d9}","CreatePersonalSiteSyncFromWorkItem",[d]);a.addQuery(c);b=new SP.IntResult;a.addQueryIdAndResultObject(c.get_id(),b);return b};SP.UserProfiles.UserProfile.prototype={get_accountName:function(){a:;this.checkUninitializedProperty("AccountName");return this.get_objectData().get_properties()["AccountName"]},get_displayName:function(){a:;this.checkUninitializedProperty("DisplayName");return this.get_objectData().get_properties()["DisplayName"]},set_displayName:function(a){a:;this.get_objectData().get_properties()["DisplayName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisplayName",a));return a},get_followedContent:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["FollowedContent"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.UserProfiles.FollowedContent(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"FollowedContent"));this.get_objectData().get_clientObjectProperties()["FollowedContent"]=a}return a},get_followPersonalSiteUrl:function(){a:;this.checkUninitializedProperty("FollowPersonalSiteUrl");return this.get_objectData().get_properties()["FollowPersonalSiteUrl"]},get_isPeopleListPublic:function(){a:;this.checkUninitializedProperty("IsPeopleListPublic");return this.get_objectData().get_properties()["IsPeopleListPublic"]},get_isPrivacySettingOn:function(){a:;this.checkUninitializedProperty("IsPrivacySettingOn");return this.get_objectData().get_properties()["IsPrivacySettingOn"]},get_isSelf:function(){a:;this.checkUninitializedProperty("IsSelf");return this.get_objectData().get_properties()["IsSelf"]},get_jobTitle:function(){a:;this.checkUninitializedProperty("JobTitle");return this.get_objectData().get_properties()["JobTitle"]},get_mySiteFirstRunExperience:function(){a:;this.checkUninitializedProperty("MySiteFirstRunExperience");return this.get_objectData().get_properties()["MySiteFirstRunExperience"]},set_mySiteFirstRunExperience:function(a){a:;this.get_objectData().get_properties()["MySiteFirstRunExperience"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"MySiteFirstRunExperience",a));return a},get_mySiteHostUrl:function(){a:;this.checkUninitializedProperty("MySiteHostUrl");return this.get_objectData().get_properties()["MySiteHostUrl"]},get_o15FirstRunExperience:function(){a:;this.checkUninitializedProperty("O15FirstRunExperience");return this.get_objectData().get_properties()["O15FirstRunExperience"]},set_o15FirstRunExperience:function(a){a:;this.get_objectData().get_properties()["O15FirstRunExperience"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"O15FirstRunExperience",a));return a},get_personalSite:function(){a:;var a=this.get_objectData().get_clientObjectProperties()["PersonalSite"];if(SP.ScriptUtility.isUndefined(a)){a=new SP.Site(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PersonalSite"));this.get_objectData().get_clientObjectProperties()["PersonalSite"]=a}return a},get_personalSiteCapabilities:function(){a:;this.checkUninitializedProperty("PersonalSiteCapabilities");return this.get_objectData().get_properties()["PersonalSiteCapabilities"]},get_personalSiteFirstCreationError:function(){a:;this.checkUninitializedProperty("PersonalSiteFirstCreationError");return this.get_objectData().get_properties()["PersonalSiteFirstCreationError"]},get_personalSiteFirstCreationTime:function(){a:;this.checkUninitializedProperty("PersonalSiteFirstCreationTime");return this.get_objectData().get_properties()["PersonalSiteFirstCreationTime"]},get_personalSiteInstantiationState:function(){a:;this.checkUninitializedProperty("PersonalSiteInstantiationState");return this.get_objectData().get_properties()["PersonalSiteInstantiationState"]},get_personalSiteLastCreationTime:function(){a:;this.checkUninitializedProperty("PersonalSiteLastCreationTime");return this.get_objectData().get_properties()["PersonalSiteLastCreationTime"]},get_personalSiteNumberOfRetries:function(){a:;this.checkUninitializedProperty("PersonalSiteNumberOfRetries");return this.get_objectData().get_properties()["PersonalSiteNumberOfRetries"]},get_pictureImportEnabled:function(){a:;this.checkUninitializedProperty("PictureImportEnabled");return this.get_objectData().get_properties()["PictureImportEnabled"]},set_pictureImportEnabled:function(a){a:;this.get_objectData().get_properties()["PictureImportEnabled"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PictureImportEnabled",a));return a},get_pictureUrl:function(){a:;this.checkUninitializedProperty("PictureUrl");return this.get_objectData().get_properties()["PictureUrl"]},get_publicUrl:function(){a:;this.checkUninitializedProperty("PublicUrl");return this.get_objectData().get_properties()["PublicUrl"]},get_sipAddress:function(){a:;this.checkUninitializedProperty("SipAddress");return this.get_objectData().get_properties()["SipAddress"]},get_urlToCreatePersonalSite:function(){a:;this.checkUninitializedProperty("UrlToCreatePersonalSite");return this.get_objectData().get_properties()["UrlToCreatePersonalSite"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AccountName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AccountName"]=a;delete b.AccountName}a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DisplayName"]=a;delete b.DisplayName}a=b.FollowedContent;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("FollowedContent",this.get_followedContent(),a);this.get_followedContent().fromJson(a);delete b.FollowedContent}a=b.FollowPersonalSiteUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FollowPersonalSiteUrl"]=a;delete b.FollowPersonalSiteUrl}a=b.IsPeopleListPublic;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPeopleListPublic"]=a;delete b.IsPeopleListPublic}a=b.IsPrivacySettingOn;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsPrivacySettingOn"]=a;delete b.IsPrivacySettingOn}a=b.IsSelf;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsSelf"]=a;delete b.IsSelf}a=b.JobTitle;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["JobTitle"]=a;delete b.JobTitle}a=b.MySiteFirstRunExperience;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MySiteFirstRunExperience"]=a;delete b.MySiteFirstRunExperience}a=b.MySiteHostUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["MySiteHostUrl"]=a;delete b.MySiteHostUrl}a=b.O15FirstRunExperience;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["O15FirstRunExperience"]=a;delete b.O15FirstRunExperience}a=b.PersonalSite;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PersonalSite",this.get_personalSite(),a);this.get_personalSite().fromJson(a);delete b.PersonalSite}a=b.PersonalSiteCapabilities;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSiteCapabilities"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PersonalSiteCapabilities}a=b.PersonalSiteFirstCreationError;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSiteFirstCreationError"]=a;delete b.PersonalSiteFirstCreationError}a=b.PersonalSiteFirstCreationTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSiteFirstCreationTime"]=a;delete b.PersonalSiteFirstCreationTime}a=b.PersonalSiteInstantiationState;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSiteInstantiationState"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PersonalSiteInstantiationState}a=b.PersonalSiteLastCreationTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSiteLastCreationTime"]=a;delete b.PersonalSiteLastCreationTime}a=b.PersonalSiteNumberOfRetries;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PersonalSiteNumberOfRetries"]=a;delete b.PersonalSiteNumberOfRetries}a=b.PictureImportEnabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PictureImportEnabled"]=a;delete b.PictureImportEnabled}a=b.PictureUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PictureUrl"]=a;delete b.PictureUrl}a=b.PublicUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PublicUrl"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PublicUrl}a=b.SipAddress;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["SipAddress"]=a;delete b.SipAddress}a=b.UrlToCreatePersonalSite;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UrlToCreatePersonalSite"]=a;delete b.UrlToCreatePersonalSite}},shareAllSocialData:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"ShareAllSocialData",[a]);b.addQuery(c)},setMySiteFirstRunExperience:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetMySiteFirstRunExperience",[a]);b.addQuery(c)},createPersonalSiteFromWorkItem:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CreatePersonalSiteFromWorkItem",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},createPersonalSiteEnque:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"CreatePersonalSiteEnque",[a]);b.addQuery(c)},createPersonalSite:function(c){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"CreatePersonalSite",[c]);a.addQuery(b)}};SP.UserProfiles.UserProfilePropertyNames=function(){};SP.UserProfiles.UserProfileObjectPropertyNames=function(){};SP.UserProfiles.UserProfilePropertiesForUser=function(a){a:;SP.UserProfiles.UserProfilePropertiesForUser.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{1add223c-ff83-471f-8e55-519fe8a0ca31}",arguments)])};SP.UserProfiles.UserProfilePropertiesForUser.newObject=function(a,c,b){a:;return new SP.UserProfiles.UserProfilePropertiesForUser(a,new SP.ObjectPathConstructor(a,"{1add223c-ff83-471f-8e55-519fe8a0ca31}",[c,b]))};SP.UserProfiles.UserProfilePropertiesForUser.prototype={get_accountName:function(){a:;this.checkUninitializedProperty("AccountName");return this.get_objectData().get_properties()["AccountName"]},set_accountName:function(a){a:;this.get_objectData().get_properties()["AccountName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AccountName",a));return a},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.AccountName;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties()["AccountName"]=b;delete a.AccountName}},getPropertyNames:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetPropertyNames",null);b.addQuery(c);a=[];b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.UserProfiles.UserProfilePropertiesForUserPropertyNames=function(){};SP.Microfeed.MicroBlogEntity.registerClass("SP.Microfeed.MicroBlogEntity",SP.ClientValueObject);SP.Microfeed.MicroBlogEntityCollection.registerClass("SP.Microfeed.MicroBlogEntityCollection",SP.ClientValueObjectCollection);SP.Microfeed.MicrofeedAttachmentStore.registerClass("SP.Microfeed.MicrofeedAttachmentStore",SP.ClientObject);SP.Microfeed.MicrofeedData.registerClass("SP.Microfeed.MicrofeedData",SP.ClientObject);SP.Microfeed.MicrofeedDataPropertyNames.registerClass("SP.Microfeed.MicrofeedDataPropertyNames");SP.Microfeed.MicrofeedDataCollection.registerClass("SP.Microfeed.MicrofeedDataCollection",SP.ClientObjectCollection);SP.Microfeed.MicrofeedDataCollectionPropertyNames.registerClass("SP.Microfeed.MicrofeedDataCollectionPropertyNames");SP.Microfeed.MicrofeedDataQuery.registerClass("SP.Microfeed.MicrofeedDataQuery",SP.ClientValueObject);SP.Microfeed.MicrofeedDataLink.registerClass("SP.Microfeed.MicrofeedDataLink",SP.ClientValueObject);SP.Microfeed.MicrofeedDataLinkCollection.registerClass("SP.Microfeed.MicrofeedDataLinkCollection",SP.ClientValueObjectCollection);SP.Microfeed.MicrofeedLink.registerClass("SP.Microfeed.MicrofeedLink",SP.ClientValueObject);SP.Microfeed.MicrofeedLinkAction.registerClass("SP.Microfeed.MicrofeedLinkAction",SP.ClientValueObject);SP.Microfeed.MicrofeedManager.registerClass("SP.Microfeed.MicrofeedManager",SP.ClientObject);SP.Microfeed.MicrofeedManagerPropertyNames.registerClass("SP.Microfeed.MicrofeedManagerPropertyNames");SP.Microfeed.MicrofeedPost.registerClass("SP.Microfeed.MicrofeedPost",SP.ClientValueObject);SP.Microfeed.MicrofeedPostCollection.registerClass("SP.Microfeed.MicrofeedPostCollection",SP.ClientValueObjectCollection);SP.Microfeed.MicrofeedPostDefinition.registerClass("SP.Microfeed.MicrofeedPostDefinition",SP.ClientValueObject);SP.Microfeed.MicrofeedPostDefinitionManager.registerClass("SP.Microfeed.MicrofeedPostDefinitionManager",SP.ClientObject);SP.Microfeed.MicrofeedPostDefinitionNameCollection.registerClass("SP.Microfeed.MicrofeedPostDefinitionNameCollection",SP.ClientValueObjectCollection);SP.Microfeed.MicrofeedPostDefinitionNames.registerClass("SP.Microfeed.MicrofeedPostDefinitionNames",SP.ClientValueObject);SP.Microfeed.MicrofeedPostOptions.registerClass("SP.Microfeed.MicrofeedPostOptions",SP.ClientValueObject);SP.Microfeed.MicrofeedPostOptionCollection.registerClass("SP.Microfeed.MicrofeedPostOptionCollection",SP.ClientObjectCollection);SP.Microfeed.MicrofeedRetrievalOptions.registerClass("SP.Microfeed.MicrofeedRetrievalOptions",SP.ClientValueObject);SP.Microfeed.MicrofeedStore.registerClass("SP.Microfeed.MicrofeedStore",SP.ClientObject);SP.Microfeed.MicrofeedThread.registerClass("SP.Microfeed.MicrofeedThread",SP.ClientValueObject);SP.Microfeed.MicrofeedThreadCollection.registerClass("SP.Microfeed.MicrofeedThreadCollection",SP.ClientValueObjectCollection);SP.Microfeed.MicrofeedUserPostCollection.registerClass("SP.Microfeed.MicrofeedUserPostCollection",SP.ClientValueObjectCollection);SP.Microfeed.MicrofeedUserPosts.registerClass("SP.Microfeed.MicrofeedUserPosts",SP.ClientValueObject);SP.Social.SocialActor.registerClass("SP.Social.SocialActor",SP.ClientValueObject);SP.Social.SocialActorInfo.registerClass("SP.Social.SocialActorInfo",SP.ClientValueObject);SP.Social.SocialAttachment.registerClass("SP.Social.SocialAttachment",SP.ClientValueObject);SP.Social.SocialAttachmentAction.registerClass("SP.Social.SocialAttachmentAction",SP.ClientValueObject);SP.Social.SocialDataItem.registerClass("SP.Social.SocialDataItem",SP.ClientValueObject);SP.Social.SocialDataOverlay.registerClass("SP.Social.SocialDataOverlay",SP.ClientValueObject);SP.Social.SocialExceptionDetails.registerClass("SP.Social.SocialExceptionDetails",SP.ClientValueObject);SP.Social.SocialFeed.registerClass("SP.Social.SocialFeed",SP.ClientValueObject);SP.Social.SocialFeedManager.registerClass("SP.Social.SocialFeedManager",SP.ClientObject);SP.Social.SocialFeedManagerPropertyNames.registerClass("SP.Social.SocialFeedManagerPropertyNames");SP.Social.SocialFeedOptions.registerClass("SP.Social.SocialFeedOptions",SP.ClientValueObject);SP.Social.SocialFollowingManager.registerClass("SP.Social.SocialFollowingManager",SP.ClientObject);SP.Social.SocialFollowingManagerPropertyNames.registerClass("SP.Social.SocialFollowingManagerPropertyNames");SP.Social.SocialLink.registerClass("SP.Social.SocialLink",SP.ClientValueObject);SP.Social.SocialPost.registerClass("SP.Social.SocialPost",SP.ClientValueObject);SP.Social.SocialPostActorInfo.registerClass("SP.Social.SocialPostActorInfo",SP.ClientValueObject);SP.Social.SocialPostCreationData.registerClass("SP.Social.SocialPostCreationData",SP.ClientValueObject);SP.Social.SocialPostDefinitionData.registerClass("SP.Social.SocialPostDefinitionData",SP.ClientValueObject);SP.Social.SocialPostDefinitionDataItem.registerClass("SP.Social.SocialPostDefinitionDataItem",SP.ClientValueObject);SP.Social.SocialPostReference.registerClass("SP.Social.SocialPostReference",SP.ClientValueObject);SP.Social.SocialThread.registerClass("SP.Social.SocialThread",SP.ClientValueObject);SP.UserProfiles.FollowedContent.registerClass("SP.UserProfiles.FollowedContent",SP.ClientObject);SP.UserProfiles.FollowedContentPropertyNames.registerClass("SP.UserProfiles.FollowedContentPropertyNames");SP.UserProfiles.FollowedItem.registerClass("SP.UserProfiles.FollowedItem",SP.ClientValueObject);SP.UserProfiles.FollowedItemData.registerClass("SP.UserProfiles.FollowedItemData",SP.ClientObject);SP.UserProfiles.FollowedItemDataPropertyNames.registerClass("SP.UserProfiles.FollowedItemDataPropertyNames");SP.UserProfiles.FollowResult.registerClass("SP.UserProfiles.FollowResult",SP.ClientValueObject);SP.UserProfiles.HashTag.registerClass("SP.UserProfiles.HashTag",SP.ClientValueObject);SP.UserProfiles.HashTagCollection.registerClass("SP.UserProfiles.HashTagCollection",SP.ClientObjectCollection);SP.UserProfiles.PeopleManager.registerClass("SP.UserProfiles.PeopleManager",SP.ClientObject);SP.UserProfiles.PeopleManagerPropertyNames.registerClass("SP.UserProfiles.PeopleManagerPropertyNames");SP.UserProfiles.PersonProperties.registerClass("SP.UserProfiles.PersonProperties",SP.ClientObject);SP.UserProfiles.PersonPropertiesPropertyNames.registerClass("SP.UserProfiles.PersonPropertiesPropertyNames");SP.UserProfiles.ProfileImageStore.registerClass("SP.UserProfiles.ProfileImageStore",SP.ClientObject);SP.UserProfiles.ProfileLoader.registerClass("SP.UserProfiles.ProfileLoader",SP.ClientObject);SP.UserProfiles.UserProfile.registerClass("SP.UserProfiles.UserProfile",SP.ClientObject);SP.UserProfiles.UserProfilePropertyNames.registerClass("SP.UserProfiles.UserProfilePropertyNames");SP.UserProfiles.UserProfileObjectPropertyNames.registerClass("SP.UserProfiles.UserProfileObjectPropertyNames");SP.UserProfiles.UserProfilePropertiesForUser.registerClass("SP.UserProfiles.UserProfilePropertiesForUser",SP.ClientObject);SP.UserProfiles.UserProfilePropertiesForUserPropertyNames.registerClass("SP.UserProfiles.UserProfilePropertiesForUserPropertyNames");SP.Microfeed.MicrofeedDataPropertyNames.created="Created";SP.Microfeed.MicrofeedDataPropertyNames.data="Data";SP.Microfeed.MicrofeedDataPropertyNames.definitionId="DefinitionId";SP.Microfeed.MicrofeedDataPropertyNames.itemType="ItemType";SP.Microfeed.MicrofeedDataPropertyNames.modified="Modified";SP.Microfeed.MicrofeedDataPropertyNames.targetIdentifier="TargetIdentifier";SP.Microfeed.MicrofeedDataPropertyNames.version="Version";SP.Microfeed.MicrofeedDataCollectionPropertyNames.lastItemDeletedDate="LastItemDeletedDate";SP.Microfeed.MicrofeedManagerPropertyNames.currentUser="CurrentUser";SP.Microfeed.MicrofeedManagerPropertyNames.isFeedActivityPublic="IsFeedActivityPublic";SP.Microfeed.MicrofeedManagerPropertyNames.staticThreadLink="StaticThreadLink";SP.Social.SocialFeedManagerPropertyNames.owner="Owner";SP.Social.SocialFeedManagerPropertyNames.personalSitePortalUri="PersonalSitePortalUri";SP.Social.SocialFollowingManagerPropertyNames.followedDocumentsUri="FollowedDocumentsUri";SP.Social.SocialFollowingManagerPropertyNames.followedSitesUri="FollowedSitesUri";SP.UserProfiles.FollowedContentPropertyNames.followedDocumentsUrl="FollowedDocumentsUrl";SP.UserProfiles.FollowedContentPropertyNames.followedSitesUrl="FollowedSitesUrl";SP.UserProfiles.FollowedItemDataPropertyNames.properties="Properties";SP.UserProfiles.PeopleManagerPropertyNames.editProfileLink="EditProfileLink";SP.UserProfiles.PeopleManagerPropertyNames.isMyPeopleListPublic="IsMyPeopleListPublic";SP.UserProfiles.PersonPropertiesPropertyNames.accountName="AccountName";SP.UserProfiles.PersonPropertiesPropertyNames.directReports="DirectReports";SP.UserProfiles.PersonPropertiesPropertyNames.displayName="DisplayName";SP.UserProfiles.PersonPropertiesPropertyNames.email="Email";SP.UserProfiles.PersonPropertiesPropertyNames.extendedManagers="ExtendedManagers";SP.UserProfiles.PersonPropertiesPropertyNames.extendedReports="ExtendedReports";SP.UserProfiles.PersonPropertiesPropertyNames.isFollowed="IsFollowed";SP.UserProfiles.PersonPropertiesPropertyNames.latestPost="LatestPost";SP.UserProfiles.PersonPropertiesPropertyNames.peers="Peers";SP.UserProfiles.PersonPropertiesPropertyNames.personalUrl="PersonalUrl";SP.UserProfiles.PersonPropertiesPropertyNames.pictureUrl="PictureUrl";SP.UserProfiles.PersonPropertiesPropertyNames.title="Title";SP.UserProfiles.PersonPropertiesPropertyNames.userProfileProperties="UserProfileProperties";SP.UserProfiles.PersonPropertiesPropertyNames.userUrl="UserUrl";SP.UserProfiles.UserProfilePropertyNames.accountName="AccountName";SP.UserProfiles.UserProfilePropertyNames.displayName="DisplayName";SP.UserProfiles.UserProfilePropertyNames.followPersonalSiteUrl="FollowPersonalSiteUrl";SP.UserProfiles.UserProfilePropertyNames.isPeopleListPublic="IsPeopleListPublic";SP.UserProfiles.UserProfilePropertyNames.isPrivacySettingOn="IsPrivacySettingOn";SP.UserProfiles.UserProfilePropertyNames.isSelf="IsSelf";SP.UserProfiles.UserProfilePropertyNames.jobTitle="JobTitle";SP.UserProfiles.UserProfilePropertyNames.mySiteFirstRunExperience="MySiteFirstRunExperience";SP.UserProfiles.UserProfilePropertyNames.mySiteHostUrl="MySiteHostUrl";SP.UserProfiles.UserProfilePropertyNames.o15FirstRunExperience="O15FirstRunExperience";SP.UserProfiles.UserProfilePropertyNames.personalSiteCapabilities="PersonalSiteCapabilities";SP.UserProfiles.UserProfilePropertyNames.personalSiteFirstCreationError="PersonalSiteFirstCreationError";SP.UserProfiles.UserProfilePropertyNames.personalSiteFirstCreationTime="PersonalSiteFirstCreationTime";SP.UserProfiles.UserProfilePropertyNames.personalSiteInstantiationState="PersonalSiteInstantiationState";SP.UserProfiles.UserProfilePropertyNames.personalSiteLastCreationTime="PersonalSiteLastCreationTime";SP.UserProfiles.UserProfilePropertyNames.personalSiteNumberOfRetries="PersonalSiteNumberOfRetries";SP.UserProfiles.UserProfilePropertyNames.pictureImportEnabled="PictureImportEnabled";SP.UserProfiles.UserProfilePropertyNames.pictureUrl="PictureUrl";SP.UserProfiles.UserProfilePropertyNames.publicUrl="PublicUrl";SP.UserProfiles.UserProfilePropertyNames.sipAddress="SipAddress";SP.UserProfiles.UserProfilePropertyNames.urlToCreatePersonalSite="UrlToCreatePersonalSite";SP.UserProfiles.UserProfileObjectPropertyNames.followedContent="FollowedContent";SP.UserProfiles.UserProfileObjectPropertyNames.personalSite="PersonalSite";SP.UserProfiles.UserProfilePropertiesForUserPropertyNames.accountName="AccountName";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("SP.UserProfiles.js") \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.workflowservices.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.workflowservices.js deleted file mode 100644 index 858d99b54..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.workflowservices.js +++ /dev/null @@ -1 +0,0 @@ -function ULSsix(){var a={};a.ULSTeamName="Microsoft SharePoint Solutions Framework";a.ULSFileName="SP.WorkflowServices.js_precrunch";return a}Type.registerNamespace("SP.WorkflowServices");SP.WorkflowServices.WorkflowServiceHealthStatus=function(){};SP.WorkflowServices.WorkflowServiceHealthStatus.prototype={active:0,noScope:1,notConnected:2,suspended:3,throttled:4,unknown:5,unregistered:6};SP.WorkflowServices.WorkflowServiceHealthStatus.registerEnum("SP.WorkflowServices.WorkflowServiceHealthStatus",false);SP.WorkflowServices.WorkflowStatus=function(){};SP.WorkflowServices.WorkflowStatus.prototype={notStarted:0,started:1,suspended:2,canceling:3,canceled:4,terminated:5,completed:6,notSpecified:7,invalid:8};SP.WorkflowServices.WorkflowStatus.registerEnum("SP.WorkflowServices.WorkflowStatus",false);SP.WorkflowServices.InteropService=function(b,a){a:;SP.WorkflowServices.InteropService.initializeBase(this,[b,a])};SP.WorkflowServices.InteropService.getCurrent=function(a){a:;var b=a.get_staticObjects()["Microsoft$SharePoint$WorkflowServices$WorkflowInteropService$Current"];if(!b){b=new SP.WorkflowServices.InteropService(a,new SP.ObjectPathStaticProperty(a,"{aeda1ae7-a445-429d-ad92-1d6b00df7102}","Current"));a.get_staticObjects()["Microsoft$SharePoint$WorkflowServices$WorkflowInteropService$Current"]=b}return b};SP.WorkflowServices.InteropService.prototype={enableEvents:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"EnableEvents",[b,a]);c.addQuery(d)},disableEvents:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"DisableEvents",[b,a]);c.addQuery(d)},startWorkflow:function(e,f,h,g,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"StartWorkflow",[e,f,h,g,d]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},cancelWorkflow:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"CancelWorkflow",[a]);b.addQuery(c)}};SP.WorkflowServices.WorkflowDefinition=function(a){a:;SP.WorkflowServices.WorkflowDefinition.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{60320d36-4b4d-4bac-a092-8f8b5610edcd}",arguments)])};SP.WorkflowServices.WorkflowDefinition.newObject=function(a){a:;return new SP.WorkflowServices.WorkflowDefinition(a,new SP.ObjectPathConstructor(a,"{60320d36-4b4d-4bac-a092-8f8b5610edcd}",null))};SP.WorkflowServices.WorkflowDefinition.prototype={get_associationUrl:function(){a:;this.checkUninitializedProperty("AssociationUrl");return this.get_objectData().get_properties()["AssociationUrl"]},set_associationUrl:function(a){a:;this.get_objectData().get_properties()["AssociationUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AssociationUrl",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties()["Description"]},set_description:function(a){a:;this.get_objectData().get_properties()["Description"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_displayName:function(){a:;this.checkUninitializedProperty("DisplayName");return this.get_objectData().get_properties()["DisplayName"]},set_displayName:function(a){a:;this.get_objectData().get_properties()["DisplayName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DisplayName",a));return a},get_draftVersion:function(){a:;this.checkUninitializedProperty("DraftVersion");return this.get_objectData().get_properties()["DraftVersion"]},set_draftVersion:function(a){a:;this.get_objectData().get_properties()["DraftVersion"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DraftVersion",a));return a},get_formField:function(){a:;this.checkUninitializedProperty("FormField");return this.get_objectData().get_properties()["FormField"]},set_formField:function(a){a:;this.get_objectData().get_properties()["FormField"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FormField",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},set_id:function(a){a:;this.get_objectData().get_properties()["Id"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_initiationUrl:function(){a:;this.checkUninitializedProperty("InitiationUrl");return this.get_objectData().get_properties()["InitiationUrl"]},set_initiationUrl:function(a){a:;this.get_objectData().get_properties()["InitiationUrl"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"InitiationUrl",a));return a},get_properties:function(){a:;this.checkUninitializedProperty("Properties");return this.get_objectData().get_properties()["Properties"]},get_published:function(){a:;this.checkUninitializedProperty("Published");return this.get_objectData().get_properties()["Published"]},get_requiresAssociationForm:function(){a:;this.checkUninitializedProperty("RequiresAssociationForm");return this.get_objectData().get_properties()["RequiresAssociationForm"]},set_requiresAssociationForm:function(a){a:;this.get_objectData().get_properties()["RequiresAssociationForm"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequiresAssociationForm",a));return a},get_requiresInitiationForm:function(){a:;this.checkUninitializedProperty("RequiresInitiationForm");return this.get_objectData().get_properties()["RequiresInitiationForm"]},set_requiresInitiationForm:function(a){a:;this.get_objectData().get_properties()["RequiresInitiationForm"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RequiresInitiationForm",a));return a},get_restrictToScope:function(){a:;this.checkUninitializedProperty("RestrictToScope");return this.get_objectData().get_properties()["RestrictToScope"]},set_restrictToScope:function(a){a:;this.get_objectData().get_properties()["RestrictToScope"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RestrictToScope",a));return a},get_restrictToType:function(){a:;this.checkUninitializedProperty("RestrictToType");return this.get_objectData().get_properties()["RestrictToType"]},set_restrictToType:function(a){a:;this.get_objectData().get_properties()["RestrictToType"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RestrictToType",a));return a},get_xaml:function(){a:;this.checkUninitializedProperty("Xaml");return this.get_objectData().get_properties()["Xaml"]},set_xaml:function(a){a:;this.get_objectData().get_properties()["Xaml"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Xaml",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AssociationUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AssociationUrl"]=a;delete b.AssociationUrl}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Description"]=a;delete b.Description}a=b.DisplayName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DisplayName"]=a;delete b.DisplayName}a=b.DraftVersion;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DraftVersion"]=a;delete b.DraftVersion}a=b.FormField;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FormField"]=a;delete b.FormField}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.InitiationUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["InitiationUrl"]=a;delete b.InitiationUrl}a=b.Properties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Properties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Properties}a=b.Published;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Published"]=a;delete b.Published}a=b.RequiresAssociationForm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequiresAssociationForm"]=a;delete b.RequiresAssociationForm}a=b.RequiresInitiationForm;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RequiresInitiationForm"]=a;delete b.RequiresInitiationForm}a=b.RestrictToScope;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RestrictToScope"]=a;delete b.RestrictToScope}a=b.RestrictToType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["RestrictToType"]=a;delete b.RestrictToType}a=b.Xaml;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Xaml"]=a;delete b.Xaml}},setProperty:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"SetProperty",[a,b]);c.addQuery(d)}};SP.WorkflowServices.WorkflowDefinitionPropertyNames=function(){};SP.WorkflowServices.WorkflowDefinitionCollection=function(b,a){a:;SP.WorkflowServices.WorkflowDefinitionCollection.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowDefinitionCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkflowServices.WorkflowDefinition},sort:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Sort",null);a.addQuery(b)}};SP.WorkflowServices.WorkflowDeploymentService=function(b,a){a:;SP.WorkflowServices.WorkflowDeploymentService.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowDeploymentService.prototype={getDesignerActions:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDesignerActions",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getActivitySignatures:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetActivitySignatures",[d]);b.addQuery(c);a=new SP.ClientResult;b.addQueryIdAndResultObject(c.get_id(),new SP.ClientDictionaryResultHandler(a));return a},saveDefinition:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"SaveDefinition",[d]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},validateActivity:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"ValidateActivity",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},publishDefinition:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"PublishDefinition",[a]);b.addQuery(c)},deprecateDefinition:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"DeprecateDefinition",[a]);b.addQuery(c)},deleteDefinition:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"DeleteDefinition",[a]);b.addQuery(c)},enumerateDefinitions:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowDefinitionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateDefinitions",[c]));return b},getDefinition:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowDefinition(a,new SP.ObjectPathMethod(a,this.get_path(),"GetDefinition",[c]));return b},saveCollateral:function(a,b,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"SaveCollateral",[a,b,c]);d.addQuery(e)},deleteCollateral:function(a,b){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"DeleteCollateral",[a,b]);c.addQuery(d)},getCollateralUri:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetCollateralUri",[d,e]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},packageDefinition:function(f,d,g,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PackageDefinition",[f,d,g,e]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},enumerateIntegratedApps:function(){a:;var a=this.get_context(),b;b=new SP.ClientObjectList(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateIntegratedApps",null),SP.AppInstance);return b},isIntegratedApp:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"IsIntegratedApp",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.WorkflowServices.WorkflowInstance=function(b,a){a:;SP.WorkflowServices.WorkflowInstance.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowInstance.prototype={get_faultInfo:function(){a:;this.checkUninitializedProperty("FaultInfo");return this.get_objectData().get_properties()["FaultInfo"]},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},get_instanceCreated:function(){a:;this.checkUninitializedProperty("InstanceCreated");return this.get_objectData().get_properties()["InstanceCreated"]},get_lastUpdated:function(){a:;this.checkUninitializedProperty("LastUpdated");return this.get_objectData().get_properties()["LastUpdated"]},get_properties:function(){a:;this.checkUninitializedProperty("Properties");return this.get_objectData().get_properties()["Properties"]},get_status:function(){a:;this.checkUninitializedProperty("Status");return this.get_objectData().get_properties()["Status"]},get_userStatus:function(){a:;this.checkUninitializedProperty("UserStatus");return this.get_objectData().get_properties()["UserStatus"]},set_userStatus:function(a){a:;this.get_objectData().get_properties()["UserStatus"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UserStatus",a));return a},get_workflowSubscriptionId:function(){a:;this.checkUninitializedProperty("WorkflowSubscriptionId");return this.get_objectData().get_properties()["WorkflowSubscriptionId"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FaultInfo;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["FaultInfo"]=a;delete b.FaultInfo}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.InstanceCreated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["InstanceCreated"]=a;delete b.InstanceCreated}a=b.LastUpdated;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["LastUpdated"]=a;delete b.LastUpdated}a=b.Properties;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Properties"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Properties}a=b.Status;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Status"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.Status}a=b.UserStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["UserStatus"]=a;delete b.UserStatus}a=b.WorkflowSubscriptionId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["WorkflowSubscriptionId"]=a;delete b.WorkflowSubscriptionId}}};SP.WorkflowServices.WorkflowInstancePropertyNames=function(){};SP.WorkflowServices.WorkflowInstanceCollection=function(b,a){a:;SP.WorkflowServices.WorkflowInstanceCollection.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowInstanceCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkflowServices.WorkflowInstance}};SP.WorkflowServices.WorkflowInstanceService=function(b,a){a:;SP.WorkflowServices.WorkflowInstanceService.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowInstanceService.getCurrent=function(a){a:;var b=a.get_staticObjects()["Microsoft$SharePoint$WorkflowServices$WorkflowInstanceService$Current"];if(!b){b=new SP.WorkflowServices.WorkflowInstanceService(a,new SP.ObjectPathStaticProperty(a,"{71252277-2470-4022-bcaf-c4657aa118c3}","Current"));a.get_staticObjects()["Microsoft$SharePoint$WorkflowServices$WorkflowInstanceService$Current"]=b}return b};SP.WorkflowServices.WorkflowInstanceService.prototype={startWorkflow:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"StartWorkflow",[d,e]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},startWorkflowOnListItem:function(d,f,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"StartWorkflowOnListItem",[d,f,e]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getInstance:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstance(a,new SP.ObjectPathMethod(a,this.get_path(),"GetInstance",[c]));return b},enumerate:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"Enumerate",[c]));return b},enumerateWithOffset:function(c,d){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateWithOffset",[c,d]));return b},enumerateInstancesForListItem:function(d,c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateInstancesForListItem",[d,c]));return b},enumerateInstancesForListItemWithOffset:function(d,c,e){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateInstancesForListItemWithOffset",[d,c,e]));return b},enumerateInstancesForSite:function(){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateInstancesForSite",null));return b},enumerateInstancesForSiteWithOffset:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateInstancesForSiteWithOffset",[c]));return b},countInstances:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CountInstances",[d]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},countInstancesWithStatus:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"CountInstancesWithStatus",[d,e]);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},cancelWorkflow:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"CancelWorkflow",[a]);b.addQuery(c)},terminateWorkflow:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"TerminateWorkflow",[a]);b.addQuery(c)},suspendWorkflow:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SuspendWorkflow",[a]);b.addQuery(c)},resumeWorkflow:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"ResumeWorkflow",[a]);b.addQuery(c)},publishCustomEvent:function(b,a,c){a:;var d=this.get_context(),e=new SP.ClientActionInvokeMethod(this,"PublishCustomEvent",[b,a,c]);d.addQuery(e)},getDebugInfo:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetDebugInfo",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.WorkflowServices.WorkflowServicesManager=function(a){a:;SP.WorkflowServices.WorkflowServicesManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{4ccc7f0e-bf7e-4477-999c-6458a73d0039}",arguments)])};SP.WorkflowServices.WorkflowServicesManager.newObject=function(a,b){a:;return new SP.WorkflowServices.WorkflowServicesManager(a,new SP.ObjectPathConstructor(a,"{4ccc7f0e-bf7e-4477-999c-6458a73d0039}",[b]))};SP.WorkflowServices.WorkflowServicesManager.prototype={get_appId:function(){a:;this.checkUninitializedProperty("AppId");return this.get_objectData().get_properties()["AppId"]},get_isConnected:function(){a:;this.checkUninitializedProperty("IsConnected");return this.get_objectData().get_properties()["IsConnected"]},get_scopePath:function(){a:;this.checkUninitializedProperty("ScopePath");return this.get_objectData().get_properties()["ScopePath"]},get_serviceHealthStatus:function(){a:;this.checkUninitializedProperty("ServiceHealthStatus");return this.get_objectData().get_properties()["ServiceHealthStatus"]},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AppId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["AppId"]=a;delete b.AppId}a=b.IsConnected;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["IsConnected"]=a;delete b.IsConnected}a=b.ScopePath;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ScopePath"]=a;delete b.ScopePath}a=b.ServiceHealthStatus;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ServiceHealthStatus"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.ServiceHealthStatus}},isIntegratedApp:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"IsIntegratedApp",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getWorkflowDeploymentService:function(){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowDeploymentService(a,new SP.ObjectPathMethod(a,this.get_path(),"GetWorkflowDeploymentService",null));return b},getWorkflowInstanceService:function(){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowInstanceService(a,new SP.ObjectPathMethod(a,this.get_path(),"GetWorkflowInstanceService",null));return b},getWorkflowInteropService:function(){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.InteropService(a,new SP.ObjectPathMethod(a,this.get_path(),"GetWorkflowInteropService",null));return b},getWorkflowSubscriptionService:function(){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionService(a,new SP.ObjectPathMethod(a,this.get_path(),"GetWorkflowSubscriptionService",null));return b}};SP.WorkflowServices.WorkflowServicesManagerPropertyNames=function(){};SP.WorkflowServices.WorkflowSubscription=function(a){a:;SP.WorkflowServices.WorkflowSubscription.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{d185ede6-c3c3-4d37-9e8c-2382deb37708}",arguments)])};SP.WorkflowServices.WorkflowSubscription.newObject=function(a){a:;return new SP.WorkflowServices.WorkflowSubscription(a,new SP.ObjectPathConstructor(a,"{d185ede6-c3c3-4d37-9e8c-2382deb37708}",null))};SP.WorkflowServices.WorkflowSubscription.prototype={get_definitionId:function(){a:;this.checkUninitializedProperty("DefinitionId");return this.get_objectData().get_properties()["DefinitionId"]},set_definitionId:function(a){a:;this.get_objectData().get_properties()["DefinitionId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DefinitionId",a));return a},get_enabled:function(){a:;this.checkUninitializedProperty("Enabled");return this.get_objectData().get_properties()["Enabled"]},set_enabled:function(a){a:;this.get_objectData().get_properties()["Enabled"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Enabled",a));return a},get_eventSourceId:function(){a:;this.checkUninitializedProperty("EventSourceId");return this.get_objectData().get_properties()["EventSourceId"]},set_eventSourceId:function(a){a:;this.get_objectData().get_properties()["EventSourceId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EventSourceId",a));return a},get_eventTypes:function(){a:;this.checkUninitializedProperty("EventTypes");return this.get_objectData().get_properties()["EventTypes"]},set_eventTypes:function(a){a:;this.get_objectData().get_properties()["EventTypes"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EventTypes",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties()["Id"]},set_id:function(a){a:;this.get_objectData().get_properties()["Id"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_manualStartBypassesActivationLimit:function(){a:;this.checkUninitializedProperty("ManualStartBypassesActivationLimit");return this.get_objectData().get_properties()["ManualStartBypassesActivationLimit"]},set_manualStartBypassesActivationLimit:function(a){a:;this.get_objectData().get_properties()["ManualStartBypassesActivationLimit"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ManualStartBypassesActivationLimit",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties()["Name"]},set_name:function(a){a:;this.get_objectData().get_properties()["Name"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_parentContentTypeId:function(){a:;this.checkUninitializedProperty("ParentContentTypeId");return this.get_objectData().get_properties()["ParentContentTypeId"]},set_parentContentTypeId:function(a){a:;this.get_objectData().get_properties()["ParentContentTypeId"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ParentContentTypeId",a));return a},get_propertyDefinitions:function(){a:;this.checkUninitializedProperty("PropertyDefinitions");return this.get_objectData().get_properties()["PropertyDefinitions"]},get_statusFieldName:function(){a:;this.checkUninitializedProperty("StatusFieldName");return this.get_objectData().get_properties()["StatusFieldName"]},set_statusFieldName:function(a){a:;this.get_objectData().get_properties()["StatusFieldName"]=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StatusFieldName",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DefinitionId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["DefinitionId"]=a;delete b.DefinitionId}a=b.Enabled;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Enabled"]=a;delete b.Enabled}a=b.EventSourceId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EventSourceId"]=a;delete b.EventSourceId}a=b.EventTypes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["EventTypes"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.EventTypes}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Id"]=a;delete b.Id}a=b.ManualStartBypassesActivationLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ManualStartBypassesActivationLimit"]=a;delete b.ManualStartBypassesActivationLimit}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["Name"]=a;delete b.Name}a=b.ParentContentTypeId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["ParentContentTypeId"]=a;delete b.ParentContentTypeId}a=b.PropertyDefinitions;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["PropertyDefinitions"]=SP.DataConvert.fixupType(this.get_context(),a);delete b.PropertyDefinitions}a=b.StatusFieldName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties()["StatusFieldName"]=a;delete b.StatusFieldName}},setProperty:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetProperty",[d,a]);b.addQuery(c)},setExternalVariable:function(d,a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetExternalVariable",[d,a]);b.addQuery(c)},getExternalVariable:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"GetExternalVariable",[d]);b.addQuery(c);a=new SP.StringResult;b.addQueryIdAndResultObject(c.get_id(),a);return a}};SP.WorkflowServices.WorkflowSubscriptionPropertyNames=function(){};SP.WorkflowServices.WorkflowSubscriptionCollection=function(b,a){a:;SP.WorkflowServices.WorkflowSubscriptionCollection.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowSubscriptionCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkflowServices.WorkflowSubscription},sort:function(){a:;var a=this.get_context(),b=new SP.ClientActionInvokeMethod(this,"Sort",null);a.addQuery(b)}};SP.WorkflowServices.WorkflowSubscriptionService=function(b,a){a:;SP.WorkflowServices.WorkflowSubscriptionService.initializeBase(this,[b,a])};SP.WorkflowServices.WorkflowSubscriptionService.getCurrent=function(a){a:;var b=a.get_staticObjects()["Microsoft$SharePoint$WorkflowServices$WorkflowSubscriptionService$Current"];if(!b){b=new SP.WorkflowServices.WorkflowSubscriptionService(a,new SP.ObjectPathStaticProperty(a,"{fc956693-2419-4950-8963-52ebc3e46501}","Current"));a.get_staticObjects()["Microsoft$SharePoint$WorkflowServices$WorkflowSubscriptionService$Current"]=b}return b};SP.WorkflowServices.WorkflowSubscriptionService.prototype={publishSubscription:function(d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PublishSubscription",[d]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},publishSubscriptionForList:function(d,e){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"PublishSubscriptionForList",[d,e]);b.addQuery(c);a=new SP.GuidResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},registerInterestInList:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"RegisterInterestInList",[b,a]);c.addQuery(d)},registerInterestInHostWebList:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"RegisterInterestInHostWebList",[b,a]);c.addQuery(d)},unregisterInterestInList:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"UnregisterInterestInList",[b,a]);c.addQuery(d)},unregisterInterestInHostWebList:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"UnregisterInterestInHostWebList",[b,a]);c.addQuery(d)},getSubscription:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscription(a,new SP.ObjectPathMethod(a,this.get_path(),"GetSubscription",[c]));return b},deleteSubscription:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"DeleteSubscription",[a]);b.addQuery(c)},enumerateSubscriptions:function(){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateSubscriptions",null));return b},enumerateSubscriptionsByDefinition:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateSubscriptionsByDefinition",[c]));return b},enumerateSubscriptionsByEventSource:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateSubscriptionsByEventSource",[c]));return b},enumerateSubscriptionsByList:function(c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateSubscriptionsByList",[c]));return b},enumerateSubscriptionsByListWithContentType:function(d,c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateSubscriptionsByListWithContentType",[d,c]));return b},enumerateSubscriptionsByListAndParentContentType:function(e,d,c){a:;var a=this.get_context(),b;b=new SP.WorkflowServices.WorkflowSubscriptionCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"EnumerateSubscriptionsByListAndParentContentType",[e,d,c]));return b}};SP.WorkflowServices.InteropService.registerClass("SP.WorkflowServices.InteropService",SP.ClientObject);SP.WorkflowServices.WorkflowDefinition.registerClass("SP.WorkflowServices.WorkflowDefinition",SP.ClientObject);SP.WorkflowServices.WorkflowDefinitionPropertyNames.registerClass("SP.WorkflowServices.WorkflowDefinitionPropertyNames");SP.WorkflowServices.WorkflowDefinitionCollection.registerClass("SP.WorkflowServices.WorkflowDefinitionCollection",SP.ClientObjectCollection);SP.WorkflowServices.WorkflowDeploymentService.registerClass("SP.WorkflowServices.WorkflowDeploymentService",SP.ClientObject);SP.WorkflowServices.WorkflowInstance.registerClass("SP.WorkflowServices.WorkflowInstance",SP.ClientObject);SP.WorkflowServices.WorkflowInstancePropertyNames.registerClass("SP.WorkflowServices.WorkflowInstancePropertyNames");SP.WorkflowServices.WorkflowInstanceCollection.registerClass("SP.WorkflowServices.WorkflowInstanceCollection",SP.ClientObjectCollection);SP.WorkflowServices.WorkflowInstanceService.registerClass("SP.WorkflowServices.WorkflowInstanceService",SP.ClientObject);SP.WorkflowServices.WorkflowServicesManager.registerClass("SP.WorkflowServices.WorkflowServicesManager",SP.ClientObject);SP.WorkflowServices.WorkflowServicesManagerPropertyNames.registerClass("SP.WorkflowServices.WorkflowServicesManagerPropertyNames");SP.WorkflowServices.WorkflowSubscription.registerClass("SP.WorkflowServices.WorkflowSubscription",SP.ClientObject);SP.WorkflowServices.WorkflowSubscriptionPropertyNames.registerClass("SP.WorkflowServices.WorkflowSubscriptionPropertyNames");SP.WorkflowServices.WorkflowSubscriptionCollection.registerClass("SP.WorkflowServices.WorkflowSubscriptionCollection",SP.ClientObjectCollection);SP.WorkflowServices.WorkflowSubscriptionService.registerClass("SP.WorkflowServices.WorkflowSubscriptionService",SP.ClientObject);SP.WorkflowServices.WorkflowDefinitionPropertyNames.associationUrl="AssociationUrl";SP.WorkflowServices.WorkflowDefinitionPropertyNames.description="Description";SP.WorkflowServices.WorkflowDefinitionPropertyNames.displayName="DisplayName";SP.WorkflowServices.WorkflowDefinitionPropertyNames.draftVersion="DraftVersion";SP.WorkflowServices.WorkflowDefinitionPropertyNames.formField="FormField";SP.WorkflowServices.WorkflowDefinitionPropertyNames.id="Id";SP.WorkflowServices.WorkflowDefinitionPropertyNames.initiationUrl="InitiationUrl";SP.WorkflowServices.WorkflowDefinitionPropertyNames.properties="Properties";SP.WorkflowServices.WorkflowDefinitionPropertyNames.published="Published";SP.WorkflowServices.WorkflowDefinitionPropertyNames.requiresAssociationForm="RequiresAssociationForm";SP.WorkflowServices.WorkflowDefinitionPropertyNames.requiresInitiationForm="RequiresInitiationForm";SP.WorkflowServices.WorkflowDefinitionPropertyNames.restrictToScope="RestrictToScope";SP.WorkflowServices.WorkflowDefinitionPropertyNames.restrictToType="RestrictToType";SP.WorkflowServices.WorkflowDefinitionPropertyNames.xaml="Xaml";SP.WorkflowServices.WorkflowInstancePropertyNames.faultInfo="FaultInfo";SP.WorkflowServices.WorkflowInstancePropertyNames.id="Id";SP.WorkflowServices.WorkflowInstancePropertyNames.instanceCreated="InstanceCreated";SP.WorkflowServices.WorkflowInstancePropertyNames.lastUpdated="LastUpdated";SP.WorkflowServices.WorkflowInstancePropertyNames.properties="Properties";SP.WorkflowServices.WorkflowInstancePropertyNames.status="Status";SP.WorkflowServices.WorkflowInstancePropertyNames.userStatus="UserStatus";SP.WorkflowServices.WorkflowInstancePropertyNames.workflowSubscriptionId="WorkflowSubscriptionId";SP.WorkflowServices.WorkflowServicesManagerPropertyNames.appId="AppId";SP.WorkflowServices.WorkflowServicesManagerPropertyNames.isConnected="IsConnected";SP.WorkflowServices.WorkflowServicesManagerPropertyNames.scopePath="ScopePath";SP.WorkflowServices.WorkflowServicesManagerPropertyNames.serviceHealthStatus="ServiceHealthStatus";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.definitionId="DefinitionId";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.enabled="Enabled";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.eventSourceId="EventSourceId";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.eventTypes="EventTypes";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.id="Id";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.manualStartBypassesActivationLimit="ManualStartBypassesActivationLimit";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.name="Name";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.parentContentTypeId="ParentContentTypeId";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.propertyDefinitions="PropertyDefinitions";SP.WorkflowServices.WorkflowSubscriptionPropertyNames.statusFieldName="StatusFieldName";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();NotifyScriptLoadedAndExecuteWaitingJobs("SP.WorkflowServices.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.workmanagement.js b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.workmanagement.js deleted file mode 100644 index 1bfcd00c3..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/javascript/sp.workmanagement.js +++ /dev/null @@ -1 +0,0 @@ -function ULSqHn(){var a={};a.ULSTeamName="Work Management";a.ULSFileName="SP.WorkManagement.jss";return a}Type.registerNamespace("SP.WorkManagement.OM");SP.WorkManagement.OM.BooleanCompareType=function(){};SP.WorkManagement.OM.BooleanCompareType.prototype={noValue:0,isTrue:1,isFalse:2};SP.WorkManagement.OM.BooleanCompareType.registerEnum("SP.WorkManagement.OM.BooleanCompareType",false);SP.WorkManagement.OM.CriterionConcatType=function(){};SP.WorkManagement.OM.CriterionConcatType.prototype={noValue:0,all:1,any:2};SP.WorkManagement.OM.CriterionConcatType.registerEnum("SP.WorkManagement.OM.CriterionConcatType",false);SP.WorkManagement.OM.ExchangeOptInResult=function(){};SP.WorkManagement.OM.ExchangeOptInResult.prototype={noValue:0,success:1,unknownError:2,couldNotConnectToExchange:3,couldNotFindOrCreateMySite:4,userAlreadyOptedIn:5,userExchangeOperationPending:6,unsupportedExchangeVersion:7,missingEmailAddress:8,exchangeWebServiceClientMissing:9,unsupportedSharePointConfiguration:10,invalidOrUnauthorizedUser:11,couldNotActivateExchangeSyncFeatureOnSiteSubscription:12};SP.WorkManagement.OM.ExchangeOptInResult.registerEnum("SP.WorkManagement.OM.ExchangeOptInResult",false);SP.WorkManagement.OM.ExchangeSyncResult=function(){};SP.WorkManagement.OM.ExchangeSyncResult.prototype={noValue:0,success:1,unknownError:2,couldNotConnectToExchange:3,couldNotGetUserCredentials:4,couldNotKickoffJob:5,syncWithErrors:6};SP.WorkManagement.OM.ExchangeSyncResult.registerEnum("SP.WorkManagement.OM.ExchangeSyncResult",false);SP.WorkManagement.OM.PinAge=function(){};SP.WorkManagement.OM.PinAge.prototype={noValue:0,fresh:1,stale:2};SP.WorkManagement.OM.PinAge.registerEnum("SP.WorkManagement.OM.PinAge",false);SP.WorkManagement.OM.PinnedState=function(){};SP.WorkManagement.OM.PinnedState.prototype={noValue:0,pinned:1,notPinned:2};SP.WorkManagement.OM.PinnedState.registerEnum("SP.WorkManagement.OM.PinnedState",false);SP.WorkManagement.OM.PrivacyType=function(){};SP.WorkManagement.OM.PrivacyType.prototype={none:0,personal:1,"public":2};SP.WorkManagement.OM.PrivacyType.registerEnum("SP.WorkManagement.OM.PrivacyType",false);SP.WorkManagement.OM.RefreshState=function(){};SP.WorkManagement.OM.RefreshState.prototype={noValue:0,pending:1,ignored:2,succeeded:3,failed:4};SP.WorkManagement.OM.RefreshState.registerEnum("SP.WorkManagement.OM.RefreshState",false);SP.WorkManagement.OM.SortableTaskField=function(){};SP.WorkManagement.OM.SortableTaskField.prototype={noValue:0,title:21,isCompleted:13,id:1,dueDate:5,description:4,pinAge:22,location:18,lastModified:17,discoveredDate:2};SP.WorkManagement.OM.SortableTaskField.registerEnum("SP.WorkManagement.OM.SortableTaskField",false);SP.WorkManagement.OM.StringCompareType=function(){};SP.WorkManagement.OM.StringCompareType.prototype={noValue:0,equals:1,contains:2,beginsWith:3};SP.WorkManagement.OM.StringCompareType.registerEnum("SP.WorkManagement.OM.StringCompareType",false);SP.WorkManagement.OM.TaskQueryErrorType=function(){};SP.WorkManagement.OM.TaskQueryErrorType.prototype={noValue:0,queryThrottled:1};SP.WorkManagement.OM.TaskQueryErrorType.registerEnum("SP.WorkManagement.OM.TaskQueryErrorType",false);SP.WorkManagement.OM.WritableTaskField=function(){};SP.WorkManagement.OM.WritableTaskField.prototype={noValue:0,editUrl:6,title:21,isCompleted:13,dueDate:5,description:4,startDate:28};SP.WorkManagement.OM.WritableTaskField.registerEnum("SP.WorkManagement.OM.WritableTaskField",false);SP.WorkManagement.OM.WriteFieldErrorType=function(){};SP.WorkManagement.OM.WriteFieldErrorType.prototype={noValue:0,taskNotFound:1,invalidInput:2,taskDeleted:3,fieldConflict:4,validation:5,locationInvalid:6,unknown:7,dueDateInvalid:8,startDateInvalid:9,descriptionInvalid:10,isCompletedInvalid:11,titleInvalid:12,editUrlInvalid:13,accessDenied:14,promoteTargetTaskNotPersonal:15,promotionFailedInProvider:16};SP.WorkManagement.OM.WriteFieldErrorType.registerEnum("SP.WorkManagement.OM.WriteFieldErrorType",false);SP.WorkManagement.OM.BaseSession=function(b,a){a:;SP.WorkManagement.OM.BaseSession.initializeBase(this,[b,a])};SP.WorkManagement.OM.BaseSession.prototype={createTask:function(h,e,c,d,g,j,f,i){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateTask",[h,e,c,d,g,j,f,i]));return b},createPersonalTaskAndPromoteToProviderTask:function(h,e,c,d,g,i,f){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"CreatePersonalTaskAndPromoteToProviderTask",[h,e,c,d,g,i,f]));return b},deleteTask:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"DeleteTask",[c]));return b},pinTask:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"PinTask",[c]));return b},promotePersonalTaskToProviderTaskInLocation:function(d,c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"PromotePersonalTaskToProviderTaskInLocation",[d,c]));return b},removePinOnTask:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"RemovePinOnTask",[c]));return b},readAllNonTaskData:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.NonTaskDataReadResult(a,new SP.ObjectPathMethod(a,this.get_path(),"ReadAllNonTaskData",null));return b},beginCacheRefresh:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.CreateRefreshJobResult(a,new SP.ObjectPathMethod(a,this.get_path(),"BeginCacheRefresh",null));return b},updateTaskWithLocalizedValue:function(c,d,e){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"UpdateTaskWithLocalizedValue",[c,d,e]));return b},getCalloutInfo:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.CalloutInfo(a,new SP.ObjectPathMethod(a,this.get_path(),"GetCalloutInfo",[c]));return b},refreshSingleTask:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskRefreshResult(a,new SP.ObjectPathMethod(a,this.get_path(),"RefreshSingleTask",[c]));return b},getRefreshStatus:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.RefreshResult(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRefreshStatus",[c]));return b},addAttributeToTask:function(d,c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"AddAttributeToTask",[d,c]));return b},removeAttributeFromTask:function(d,c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskWriteResult(a,new SP.ObjectPathMethod(a,this.get_path(),"RemoveAttributeFromTask",[d,c]));return b},beginExchangeSync:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"BeginExchangeSync",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},isExchangeJobPending:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"IsExchangeJobPending",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getRefreshHealthInfo:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.RefreshHealthInfo(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRefreshHealthInfo",null));return b},getRefreshHistory:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.RefreshHistory(a,new SP.ObjectPathMethod(a,this.get_path(),"GetRefreshHistory",[c]));return b}};SP.WorkManagement.OM.BooleanCriterion=function(a){a:;SP.WorkManagement.OM.BooleanCriterion.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{16d379b2-e752-405e-a05f-a8fe05aa0d07}",arguments)])};SP.WorkManagement.OM.BooleanCriterion.newObject=function(a){a:;return new SP.WorkManagement.OM.BooleanCriterion(a,new SP.ObjectPathConstructor(a,"{16d379b2-e752-405e-a05f-a8fe05aa0d07}",null))};SP.WorkManagement.OM.BooleanCriterion.prototype={get_compareType:function(){a:;this.checkUninitializedProperty("CompareType");return this.get_objectData().get_properties().CompareType},set_compareType:function(a){a:;this.get_objectData().get_properties().CompareType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CompareType",a));return a},initPropertiesFromJson:function(a){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,a);var b;b=a.CompareType;if(!SP.ScriptUtility.isUndefined(b)){this.get_objectData().get_properties().CompareType=SP.DataConvert.fixupType(this.get_context(),b);delete a.CompareType}}};SP.WorkManagement.OM.BooleanCriterionPropertyNames=function(){};SP.WorkManagement.OM.CalloutInfo=function(b,a){a:;SP.WorkManagement.OM.CalloutInfo.initializeBase(this,[b,a])};SP.WorkManagement.OM.CalloutInfo.prototype={get_contacts:function(){a:;this.checkUninitializedProperty("Contacts");return this.get_objectData().get_properties().Contacts},set_contacts:function(a){a:;this.get_objectData().get_properties().Contacts=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Contacts",a));return a},get_directLinkTitle:function(){a:;this.checkUninitializedProperty("DirectLinkTitle");return this.get_objectData().get_properties().DirectLinkTitle},set_directLinkTitle:function(a){a:;this.get_objectData().get_properties().DirectLinkTitle=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DirectLinkTitle",a));return a},get_directLinkUrl:function(){a:;this.checkUninitializedProperty("DirectLinkUrl");return this.get_objectData().get_properties().DirectLinkUrl},set_directLinkUrl:function(a){a:;this.get_objectData().get_properties().DirectLinkUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DirectLinkUrl",a));return a},get_hierarchy:function(){a:;this.checkUninitializedProperty("Hierarchy");return this.get_objectData().get_properties().Hierarchy},set_hierarchy:function(a){a:;this.get_objectData().get_properties().Hierarchy=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Hierarchy",a));return a},get_predecessors:function(){a:;this.checkUninitializedProperty("Predecessors");return this.get_objectData().get_properties().Predecessors},set_predecessors:function(a){a:;this.get_objectData().get_properties().Predecessors=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Predecessors",a));return a},get_successors:function(){a:;this.checkUninitializedProperty("Successors");return this.get_objectData().get_properties().Successors},set_successors:function(a){a:;this.get_objectData().get_properties().Successors=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Successors",a));return a},get_title:function(){a:;this.checkUninitializedProperty("Title");return this.get_objectData().get_properties().Title},set_title:function(a){a:;this.get_objectData().get_properties().Title=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Title",a));return a},get_url:function(){a:;this.checkUninitializedProperty("Url");return this.get_objectData().get_properties().Url},set_url:function(a){a:;this.get_objectData().get_properties().Url=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Url",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Contacts;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Contacts=SP.DataConvert.fixupType(this.get_context(),a);delete b.Contacts}a=b.DirectLinkTitle;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DirectLinkTitle=a;delete b.DirectLinkTitle}a=b.DirectLinkUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DirectLinkUrl=a;delete b.DirectLinkUrl}a=b.Hierarchy;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Hierarchy=SP.DataConvert.fixupType(this.get_context(),a);delete b.Hierarchy}a=b.Predecessors;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Predecessors=SP.DataConvert.fixupType(this.get_context(),a);delete b.Predecessors}a=b.Successors;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Successors=SP.DataConvert.fixupType(this.get_context(),a);delete b.Successors}a=b.Title;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Title=a;delete b.Title}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Url=a;delete b.Url}}};SP.WorkManagement.OM.CalloutInfoPropertyNames=function(){};SP.WorkManagement.OM.CreateRefreshJobResult=function(b,a){a:;SP.WorkManagement.OM.CreateRefreshJobResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.CreateRefreshJobResult.prototype={get_createdJob:function(){a:;this.checkUninitializedProperty("CreatedJob");return this.get_objectData().get_properties().CreatedJob},set_createdJob:function(a){a:;this.get_objectData().get_properties().CreatedJob=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CreatedJob",a));return a},get_currentJobId:function(){a:;this.checkUninitializedProperty("CurrentJobId");return this.get_objectData().get_properties().CurrentJobId},set_currentJobId:function(a){a:;this.get_objectData().get_properties().CurrentJobId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CurrentJobId",a));return a},get_encounteredError:function(){a:;this.checkUninitializedProperty("EncounteredError");return this.get_objectData().get_properties().EncounteredError},set_encounteredError:function(a){a:;this.get_objectData().get_properties().EncounteredError=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EncounteredError",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CreatedJob;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CreatedJob=a;delete b.CreatedJob}a=b.CurrentJobId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CurrentJobId=a;delete b.CurrentJobId}a=b.EncounteredError;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().EncounteredError=a;delete b.EncounteredError}}};SP.WorkManagement.OM.CreateRefreshJobResultPropertyNames=function(){};SP.WorkManagement.OM.CustomAttributeFilter=function(a){a:;SP.WorkManagement.OM.CustomAttributeFilter.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{0e21bb74-7473-48b1-9f7b-d1185ba1ca71}",arguments)])};SP.WorkManagement.OM.CustomAttributeFilter.newObject=function(a){a:;return new SP.WorkManagement.OM.CustomAttributeFilter(a,new SP.ObjectPathConstructor(a,"{0e21bb74-7473-48b1-9f7b-d1185ba1ca71}",null))};SP.WorkManagement.OM.CustomAttributeFilter.prototype={get_attributes:function(){a:;this.checkUninitializedProperty("Attributes");return this.get_objectData().get_properties().Attributes},set_attributes:function(a){a:;this.get_objectData().get_properties().Attributes=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Attributes",a));return a},get_concatType:function(){a:;this.checkUninitializedProperty("ConcatType");return this.get_objectData().get_properties().ConcatType},set_concatType:function(a){a:;this.get_objectData().get_properties().ConcatType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ConcatType",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Attributes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Attributes=SP.DataConvert.fixupType(this.get_context(),a);delete b.Attributes}a=b.ConcatType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ConcatType=SP.DataConvert.fixupType(this.get_context(),a);delete b.ConcatType}}};SP.WorkManagement.OM.CustomAttributeFilterPropertyNames=function(){};SP.WorkManagement.OM.DashboardScriptExtensionInfo=function(b,a){a:;SP.WorkManagement.OM.DashboardScriptExtensionInfo.initializeBase(this,[b,a])};SP.WorkManagement.OM.DashboardScriptExtensionInfo.prototype={get_providerKey:function(){a:;this.checkUninitializedProperty("ProviderKey");return this.get_objectData().get_properties().ProviderKey},set_providerKey:function(a){a:;this.get_objectData().get_properties().ProviderKey=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProviderKey",a));return a},get_scriptClass:function(){a:;this.checkUninitializedProperty("ScriptClass");return this.get_objectData().get_properties().ScriptClass},set_scriptClass:function(a){a:;this.get_objectData().get_properties().ScriptClass=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ScriptClass",a));return a},get_scriptData:function(){a:;this.checkUninitializedProperty("ScriptData");return this.get_objectData().get_properties().ScriptData},set_scriptData:function(a){a:;this.get_objectData().get_properties().ScriptData=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ScriptData",a));return a},get_scriptFiles:function(){a:;this.checkUninitializedProperty("ScriptFiles");return this.get_objectData().get_properties().ScriptFiles},set_scriptFiles:function(a){a:;this.get_objectData().get_properties().ScriptFiles=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ScriptFiles",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ProviderKey;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ProviderKey=a;delete b.ProviderKey}a=b.ScriptClass;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ScriptClass=a;delete b.ScriptClass}a=b.ScriptData;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ScriptData=a;delete b.ScriptData}a=b.ScriptFiles;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ScriptFiles=SP.DataConvert.fixupType(this.get_context(),a);delete b.ScriptFiles}}};SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames=function(){};SP.WorkManagement.OM.DashboardScriptExtensionInfoClientCollection=function(b,a){a:;SP.WorkManagement.OM.DashboardScriptExtensionInfoClientCollection.initializeBase(this,[b,a])};SP.WorkManagement.OM.DashboardScriptExtensionInfoClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.DashboardScriptExtensionInfo}};SP.WorkManagement.OM.DateRangeCriterion=function(a){a:;SP.WorkManagement.OM.DateRangeCriterion.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c9c79001-8e9d-4f24-860b-55bd22c13eae}",arguments)])};SP.WorkManagement.OM.DateRangeCriterion.newObject=function(a){a:;return new SP.WorkManagement.OM.DateRangeCriterion(a,new SP.ObjectPathConstructor(a,"{c9c79001-8e9d-4f24-860b-55bd22c13eae}",null))};SP.WorkManagement.OM.DateRangeCriterion.prototype={get_rangeEndValue:function(){a:;this.checkUninitializedProperty("RangeEndValue");return this.get_objectData().get_properties().RangeEndValue},set_rangeEndValue:function(a){a:;this.get_objectData().get_properties().RangeEndValue=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RangeEndValue",a));return a},get_rangeStartValue:function(){a:;this.checkUninitializedProperty("RangeStartValue");return this.get_objectData().get_properties().RangeStartValue},set_rangeStartValue:function(a){a:;this.get_objectData().get_properties().RangeStartValue=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RangeStartValue",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.RangeEndValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RangeEndValue=a;delete b.RangeEndValue}a=b.RangeStartValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RangeStartValue=a;delete b.RangeStartValue}}};SP.WorkManagement.OM.DateRangeCriterionPropertyNames=function(){};SP.WorkManagement.OM.ExchangeUserSyncState=function(b,a){a:;SP.WorkManagement.OM.ExchangeUserSyncState.initializeBase(this,[b,a])};SP.WorkManagement.OM.ExchangeUserSyncState.prototype={get_isOptedIn:function(){a:;this.checkUninitializedProperty("IsOptedIn");return this.get_objectData().get_properties().IsOptedIn},get_lastEndTime:function(){a:;this.checkUninitializedProperty("LastEndTime");return this.get_objectData().get_properties().LastEndTime},get_lastSyncResult:function(){a:;this.checkUninitializedProperty("LastSyncResult");return this.get_objectData().get_properties().LastSyncResult},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IsOptedIn;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsOptedIn=a;delete b.IsOptedIn}a=b.LastEndTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastEndTime=a;delete b.LastEndTime}a=b.LastSyncResult;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastSyncResult=SP.DataConvert.fixupType(this.get_context(),a);delete b.LastSyncResult}}};SP.WorkManagement.OM.ExchangeUserSyncStatePropertyNames=function(){};SP.WorkManagement.OM.Location=function(a){a:;SP.WorkManagement.OM.Location.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{0280ffca-96c5-4c96-bbbb-759887950afd}",arguments)])};SP.WorkManagement.OM.Location.newObject=function(a){a:;return new SP.WorkManagement.OM.Location(a,new SP.ObjectPathConstructor(a,"{0280ffca-96c5-4c96-bbbb-759887950afd}",null))};SP.WorkManagement.OM.Location.prototype={get_color:function(){a:;this.checkUninitializedProperty("Color");return this.get_objectData().get_properties().Color},set_color:function(a){a:;this.get_objectData().get_properties().Color=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Color",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},set_id:function(a){a:;this.get_objectData().get_properties().Id=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_important:function(){a:;this.checkUninitializedProperty("Important");return this.get_objectData().get_properties().Important},set_important:function(a){a:;this.get_objectData().get_properties().Important=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Important",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},set_name:function(a){a:;this.get_objectData().get_properties().Name=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_parentId:function(){a:;this.checkUninitializedProperty("ParentId");return this.get_objectData().get_properties().ParentId},set_parentId:function(a){a:;this.get_objectData().get_properties().ParentId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ParentId",a));return a},get_rootProviderKey:function(){a:;this.checkUninitializedProperty("RootProviderKey");return this.get_objectData().get_properties().RootProviderKey},set_rootProviderKey:function(a){a:;this.get_objectData().get_properties().RootProviderKey=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RootProviderKey",a));return a},get_url:function(){a:;this.checkUninitializedProperty("Url");return this.get_objectData().get_properties().Url},set_url:function(a){a:;this.get_objectData().get_properties().Url=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Url",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Color;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Color=a;delete b.Color}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.Important;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Important=a;delete b.Important}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.ParentId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ParentId=a;delete b.ParentId}a=b.RootProviderKey;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RootProviderKey=a;delete b.RootProviderKey}a=b.Url;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Url=a;delete b.Url}}};SP.WorkManagement.OM.LocationPropertyNames=function(){};SP.WorkManagement.OM.LocationClientCollection=function(b,a){a:;SP.WorkManagement.OM.LocationClientCollection.initializeBase(this,[b,a])};SP.WorkManagement.OM.LocationClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.Location}};SP.WorkManagement.OM.LocationDisplaySetting=function(b,a){a:;SP.WorkManagement.OM.LocationDisplaySetting.initializeBase(this,[b,a])};SP.WorkManagement.OM.LocationDisplaySetting.prototype={get_color:function(){a:;this.checkUninitializedProperty("Color");return this.get_objectData().get_properties().Color},set_color:function(a){a:;this.get_objectData().get_properties().Color=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Color",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},set_id:function(a){a:;this.get_objectData().get_properties().Id=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Color;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Color=a;delete b.Color}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}}};SP.WorkManagement.OM.LocationDisplaySettingPropertyNames=function(){};SP.WorkManagement.OM.LocationFilter=function(a){a:;SP.WorkManagement.OM.LocationFilter.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{d9ce752e-01ed-4872-b4da-fc362038fbf0}",arguments)])};SP.WorkManagement.OM.LocationFilter.newObject=function(a){a:;return new SP.WorkManagement.OM.LocationFilter(a,new SP.ObjectPathConstructor(a,"{d9ce752e-01ed-4872-b4da-fc362038fbf0}",null))};SP.WorkManagement.OM.LocationFilter.prototype={get_includeUncategorizedTasks:function(){a:;this.checkUninitializedProperty("IncludeUncategorizedTasks");return this.get_objectData().get_properties().IncludeUncategorizedTasks},set_includeUncategorizedTasks:function(a){a:;this.get_objectData().get_properties().IncludeUncategorizedTasks=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IncludeUncategorizedTasks",a));return a},get_locationKeys:function(){a:;this.checkUninitializedProperty("LocationKeys");return this.get_objectData().get_properties().LocationKeys},set_locationKeys:function(a){a:;this.get_objectData().get_properties().LocationKeys=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LocationKeys",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.IncludeUncategorizedTasks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IncludeUncategorizedTasks=a;delete b.IncludeUncategorizedTasks}a=b.LocationKeys;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LocationKeys=SP.DataConvert.fixupType(this.get_context(),a);delete b.LocationKeys}}};SP.WorkManagement.OM.LocationFilterPropertyNames=function(){};SP.WorkManagement.OM.LocationGroupClientCollection=function(a){a:;SP.WorkManagement.OM.LocationGroupClientCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{25acd8c5-c100-45da-b4c5-2bf698f65649}",arguments)])};SP.WorkManagement.OM.LocationGroupClientCollection.newObject=function(a){a:;return new SP.WorkManagement.OM.LocationGroupClientCollection(a,new SP.ObjectPathConstructor(a,"{25acd8c5-c100-45da-b4c5-2bf698f65649}",null))};SP.WorkManagement.OM.LocationGroupClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.Task}};SP.WorkManagement.OM.LocationOrientedSortableSession=function(b,a){a:;SP.WorkManagement.OM.LocationOrientedSortableSession.initializeBase(this,[b,a])};SP.WorkManagement.OM.LocationOrientedSortableSession.prototype={movePersonalTaskToLocation:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"MovePersonalTaskToLocation",[e,d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readTasks:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationGroupClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"ReadTasks",[c]));return b}};SP.WorkManagement.OM.LocationOrientedUserOrderedSession=function(b,a){a:;SP.WorkManagement.OM.LocationOrientedUserOrderedSession.initializeBase(this,[b,a])};SP.WorkManagement.OM.LocationOrientedUserOrderedSession.prototype={reorderTask:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"ReorderTask",[b,a]);c.addQuery(d)},movePersonalTaskToLocation:function(e,d){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"MovePersonalTaskToLocation",[e,d]);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},readTasks:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationGroupClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"ReadTasks",[c]));return b}};SP.WorkManagement.OM.LocationUpdateResult=function(b,a){a:;SP.WorkManagement.OM.LocationUpdateResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.LocationUpdateResult.prototype={get_activeAddedCount:function(){a:;this.checkUninitializedProperty("ActiveAddedCount");return this.get_objectData().get_properties().ActiveAddedCount},set_activeAddedCount:function(a){a:;this.get_objectData().get_properties().ActiveAddedCount=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ActiveAddedCount",a));return a},get_addedCount:function(){a:;this.checkUninitializedProperty("AddedCount");return this.get_objectData().get_properties().AddedCount},set_addedCount:function(a){a:;this.get_objectData().get_properties().AddedCount=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AddedCount",a));return a},get_removedCount:function(){a:;this.checkUninitializedProperty("RemovedCount");return this.get_objectData().get_properties().RemovedCount},set_removedCount:function(a){a:;this.get_objectData().get_properties().RemovedCount=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RemovedCount",a));return a},get_rootLocationId:function(){a:;this.checkUninitializedProperty("RootLocationId");return this.get_objectData().get_properties().RootLocationId},set_rootLocationId:function(a){a:;this.get_objectData().get_properties().RootLocationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RootLocationId",a));return a},get_updatedCount:function(){a:;this.checkUninitializedProperty("UpdatedCount");return this.get_objectData().get_properties().UpdatedCount},set_updatedCount:function(a){a:;this.get_objectData().get_properties().UpdatedCount=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UpdatedCount",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ActiveAddedCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ActiveAddedCount=a;delete b.ActiveAddedCount}a=b.AddedCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AddedCount=a;delete b.AddedCount}a=b.RemovedCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RemovedCount=a;delete b.RemovedCount}a=b.RootLocationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RootLocationId=a;delete b.RootLocationId}a=b.UpdatedCount;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UpdatedCount=a;delete b.UpdatedCount}}};SP.WorkManagement.OM.LocationUpdateResultPropertyNames=function(){};SP.WorkManagement.OM.LocationUpdateResultClientCollection=function(b,a){a:;SP.WorkManagement.OM.LocationUpdateResultClientCollection.initializeBase(this,[b,a])};SP.WorkManagement.OM.LocationUpdateResultClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.LocationUpdateResult}};SP.WorkManagement.OM.NameCriterion=function(a){a:;SP.WorkManagement.OM.NameCriterion.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{1c2a7a53-2cdd-4c21-8dd6-1673656eca45}",arguments)])};SP.WorkManagement.OM.NameCriterion.newObject=function(a){a:;return new SP.WorkManagement.OM.NameCriterion(a,new SP.ObjectPathConstructor(a,"{1c2a7a53-2cdd-4c21-8dd6-1673656eca45}",null))};SP.WorkManagement.OM.NameCriterion.prototype={get_compareType:function(){a:;this.checkUninitializedProperty("CompareType");return this.get_objectData().get_properties().CompareType},set_compareType:function(a){a:;this.get_objectData().get_properties().CompareType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CompareType",a));return a},get_compareValue:function(){a:;this.checkUninitializedProperty("CompareValue");return this.get_objectData().get_properties().CompareValue},set_compareValue:function(a){a:;this.get_objectData().get_properties().CompareValue=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CompareValue",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CompareType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CompareType=SP.DataConvert.fixupType(this.get_context(),a);delete b.CompareType}a=b.CompareValue;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CompareValue=a;delete b.CompareValue}}};SP.WorkManagement.OM.NameCriterionPropertyNames=function(){};SP.WorkManagement.OM.NonTaskDataReadResult=function(b,a){a:;SP.WorkManagement.OM.NonTaskDataReadResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.NonTaskDataReadResult.prototype={get_allLocatons:function(){a:;var a=this.get_objectData().get_clientObjectProperties().AllLocatons;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.LocationClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"AllLocatons"));this.get_objectData().get_clientObjectProperties().AllLocatons=a}return a},get_persistedProperties:function(){a:;var a=this.get_objectData().get_clientObjectProperties().PersistedProperties;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.PersistedProperties(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"PersistedProperties"));this.get_objectData().get_clientObjectProperties().PersistedProperties=a}return a},get_refreshHistory:function(){a:;var a=this.get_objectData().get_clientObjectProperties().RefreshHistory;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.RefreshHistory(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"RefreshHistory"));this.get_objectData().get_clientObjectProperties().RefreshHistory=a}return a},get_scriptExtensions:function(){a:;var a=this.get_objectData().get_clientObjectProperties().ScriptExtensions;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.DashboardScriptExtensionInfoClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ScriptExtensions"));this.get_objectData().get_clientObjectProperties().ScriptExtensions=a}return a},get_userSettings:function(){a:;var a=this.get_objectData().get_clientObjectProperties().UserSettings;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.UserSettings(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"UserSettings"));this.get_objectData().get_clientObjectProperties().UserSettings=a}return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AllLocatons;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("AllLocatons",this.get_allLocatons(),a);this.get_allLocatons().fromJson(a);delete b.AllLocatons}a=b.PersistedProperties;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("PersistedProperties",this.get_persistedProperties(),a);this.get_persistedProperties().fromJson(a);delete b.PersistedProperties}a=b.RefreshHistory;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("RefreshHistory",this.get_refreshHistory(),a);this.get_refreshHistory().fromJson(a);delete b.RefreshHistory}a=b.ScriptExtensions;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ScriptExtensions",this.get_scriptExtensions(),a);this.get_scriptExtensions().fromJson(a);delete b.ScriptExtensions}a=b.UserSettings;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("UserSettings",this.get_userSettings(),a);this.get_userSettings().fromJson(a);delete b.UserSettings}}};SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames=function(){};SP.WorkManagement.OM.OrderInfo=function(a){a:;SP.WorkManagement.OM.OrderInfo.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{8c385903-1e43-4256-8037-f7ff442154ec}",arguments)])};SP.WorkManagement.OM.OrderInfo.newObject=function(a){a:;return new SP.WorkManagement.OM.OrderInfo(a,new SP.ObjectPathConstructor(a,"{8c385903-1e43-4256-8037-f7ff442154ec}",null))};SP.WorkManagement.OM.OrderInfo.prototype={get_field:function(){a:;this.checkUninitializedProperty("Field");return this.get_objectData().get_properties().Field},set_field:function(a){a:;this.get_objectData().get_properties().Field=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Field",a));return a},get_isDescending:function(){a:;this.checkUninitializedProperty("IsDescending");return this.get_objectData().get_properties().IsDescending},set_isDescending:function(a){a:;this.get_objectData().get_properties().IsDescending=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsDescending",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Field;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Field=SP.DataConvert.fixupType(this.get_context(),a);delete b.Field}a=b.IsDescending;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsDescending=a;delete b.IsDescending}}};SP.WorkManagement.OM.OrderInfoPropertyNames=function(){};SP.WorkManagement.OM.PersistedProperties=function(a){a:;SP.WorkManagement.OM.PersistedProperties.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{c05ebf4c-f2c5-4167-9043-f21c4e1b682d}",arguments)])};SP.WorkManagement.OM.PersistedProperties.newObject=function(a){a:;return new SP.WorkManagement.OM.PersistedProperties(a,new SP.ObjectPathConstructor(a,"{c05ebf4c-f2c5-4167-9043-f21c4e1b682d}",null))};SP.WorkManagement.OM.PersistedProperties.prototype={get_filteredLocationIds:function(){a:;this.checkUninitializedProperty("FilteredLocationIds");return this.get_objectData().get_properties().FilteredLocationIds},set_filteredLocationIds:function(a){a:;this.get_objectData().get_properties().FilteredLocationIds=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FilteredLocationIds",a));return a},get_groupByProjects:function(){a:;this.checkUninitializedProperty("GroupByProjects");return this.get_objectData().get_properties().GroupByProjects},set_groupByProjects:function(a){a:;this.get_objectData().get_properties().GroupByProjects=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"GroupByProjects",a));return a},get_hasShownMarkAsImportantCallout:function(){a:;this.checkUninitializedProperty("HasShownMarkAsImportantCallout");return this.get_objectData().get_properties().HasShownMarkAsImportantCallout},set_hasShownMarkAsImportantCallout:function(a){a:;this.get_objectData().get_properties().HasShownMarkAsImportantCallout=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HasShownMarkAsImportantCallout",a));return a},get_hasShownTaskListTooLongNotification:function(){a:;this.checkUninitializedProperty("HasShownTaskListTooLongNotification");return this.get_objectData().get_properties().HasShownTaskListTooLongNotification},set_hasShownTaskListTooLongNotification:function(a){a:;this.get_objectData().get_properties().HasShownTaskListTooLongNotification=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"HasShownTaskListTooLongNotification",a));return a},get_quickLaunchLandingPage:function(){a:;this.checkUninitializedProperty("QuickLaunchLandingPage");return this.get_objectData().get_properties().QuickLaunchLandingPage},set_quickLaunchLandingPage:function(a){a:;this.get_objectData().get_properties().QuickLaunchLandingPage=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"QuickLaunchLandingPage",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.FilteredLocationIds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().FilteredLocationIds=SP.DataConvert.fixupType(this.get_context(),a);delete b.FilteredLocationIds}a=b.GroupByProjects;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().GroupByProjects=a;delete b.GroupByProjects}a=b.HasShownMarkAsImportantCallout;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().HasShownMarkAsImportantCallout=a;delete b.HasShownMarkAsImportantCallout}a=b.HasShownTaskListTooLongNotification;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().HasShownTaskListTooLongNotification=a;delete b.HasShownTaskListTooLongNotification}a=b.QuickLaunchLandingPage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().QuickLaunchLandingPage=a;delete b.QuickLaunchLandingPage}}};SP.WorkManagement.OM.PersistedPropertiesPropertyNames=function(){};SP.WorkManagement.OM.ProviderErrorInfo=function(b,a){a:;SP.WorkManagement.OM.ProviderErrorInfo.initializeBase(this,[b,a])};SP.WorkManagement.OM.ProviderErrorInfo.prototype={get_correlationId:function(){a:;this.checkUninitializedProperty("CorrelationId");return this.get_objectData().get_properties().CorrelationId},set_correlationId:function(a){a:;this.get_objectData().get_properties().CorrelationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CorrelationId",a));return a},get_lastSuccessfulRefresh:function(){a:;this.checkUninitializedProperty("LastSuccessfulRefresh");return this.get_objectData().get_properties().LastSuccessfulRefresh},set_lastSuccessfulRefresh:function(a){a:;this.get_objectData().get_properties().LastSuccessfulRefresh=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LastSuccessfulRefresh",a));return a},get_localizedName:function(){a:;this.checkUninitializedProperty("LocalizedName");return this.get_objectData().get_properties().LocalizedName},set_localizedName:function(a){a:;this.get_objectData().get_properties().LocalizedName=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LocalizedName",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CorrelationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CorrelationId=a;delete b.CorrelationId}a=b.LastSuccessfulRefresh;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastSuccessfulRefresh=a;delete b.LastSuccessfulRefresh}a=b.LocalizedName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LocalizedName=a;delete b.LocalizedName}}};SP.WorkManagement.OM.ProviderErrorInfoPropertyNames=function(){};SP.WorkManagement.OM.ProviderErrorInfoClientCollection=function(b,a){a:;SP.WorkManagement.OM.ProviderErrorInfoClientCollection.initializeBase(this,[b,a])};SP.WorkManagement.OM.ProviderErrorInfoClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.ProviderErrorInfo}};SP.WorkManagement.OM.ProviderRefreshStatus=function(b,a){a:;SP.WorkManagement.OM.ProviderRefreshStatus.initializeBase(this,[b,a])};SP.WorkManagement.OM.ProviderRefreshStatus.prototype={get_providerKey:function(){a:;this.checkUninitializedProperty("ProviderKey");return this.get_objectData().get_properties().ProviderKey},set_providerKey:function(a){a:;this.get_objectData().get_properties().ProviderKey=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProviderKey",a));return a},get_providerLocalizedName:function(){a:;this.checkUninitializedProperty("ProviderLocalizedName");return this.get_objectData().get_properties().ProviderLocalizedName},set_providerLocalizedName:function(a){a:;this.get_objectData().get_properties().ProviderLocalizedName=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProviderLocalizedName",a));return a},get_refreshFinished:function(){a:;this.checkUninitializedProperty("RefreshFinished");return this.get_objectData().get_properties().RefreshFinished},set_refreshFinished:function(a){a:;this.get_objectData().get_properties().RefreshFinished=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RefreshFinished",a));return a},get_refreshStarted:function(){a:;this.checkUninitializedProperty("RefreshStarted");return this.get_objectData().get_properties().RefreshStarted},set_refreshStarted:function(a){a:;this.get_objectData().get_properties().RefreshStarted=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RefreshStarted",a));return a},get_rootLocationId:function(){a:;this.checkUninitializedProperty("RootLocationId");return this.get_objectData().get_properties().RootLocationId},set_rootLocationId:function(a){a:;this.get_objectData().get_properties().RootLocationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RootLocationId",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ProviderKey;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ProviderKey=a;delete b.ProviderKey}a=b.ProviderLocalizedName;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ProviderLocalizedName=a;delete b.ProviderLocalizedName}a=b.RefreshFinished;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RefreshFinished=a;delete b.RefreshFinished}a=b.RefreshStarted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RefreshStarted=a;delete b.RefreshStarted}a=b.RootLocationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RootLocationId=a;delete b.RootLocationId}}};SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames=function(){};SP.WorkManagement.OM.ProviderRefreshStatusClientCollection=function(b,a){a:;SP.WorkManagement.OM.ProviderRefreshStatusClientCollection.initializeBase(this,[b,a])};SP.WorkManagement.OM.ProviderRefreshStatusClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.ProviderRefreshStatus}};SP.WorkManagement.OM.RefreshEventInfoClientCollection=function(b,a){a:;SP.WorkManagement.OM.RefreshEventInfoClientCollection.initializeBase(this,[b,a])};SP.WorkManagement.OM.RefreshEventInfoClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.RefreshResult}};SP.WorkManagement.OM.RefreshHealthInfo=function(b,a){a:;SP.WorkManagement.OM.RefreshHealthInfo.initializeBase(this,[b,a])};SP.WorkManagement.OM.RefreshHealthInfo.prototype={get_latestRefreshTime:function(){a:;this.checkUninitializedProperty("LatestRefreshTime");return this.get_objectData().get_properties().LatestRefreshTime},set_latestRefreshTime:function(a){a:;this.get_objectData().get_properties().LatestRefreshTime=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LatestRefreshTime",a));return a},get_newTasks:function(){a:;this.checkUninitializedProperty("NewTasks");return this.get_objectData().get_properties().NewTasks},set_newTasks:function(a){a:;this.get_objectData().get_properties().NewTasks=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NewTasks",a));return a},get_providerErrors:function(){a:;var a=this.get_objectData().get_clientObjectProperties().ProviderErrors;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.ProviderErrorInfoClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProviderErrors"));this.get_objectData().get_clientObjectProperties().ProviderErrors=a}return a},set_providerErrors:function(a){a:;this.get_objectData().get_clientObjectProperties().ProviderErrors=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProviderErrors",a));return a},get_succeeded:function(){a:;this.checkUninitializedProperty("Succeeded");return this.get_objectData().get_properties().Succeeded},set_succeeded:function(a){a:;this.get_objectData().get_properties().Succeeded=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Succeeded",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.LatestRefreshTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LatestRefreshTime=a;delete b.LatestRefreshTime}a=b.NewTasks;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().NewTasks=a;delete b.NewTasks}a=b.ProviderErrors;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProviderErrors",this.get_providerErrors(),a);this.get_providerErrors().fromJson(a);delete b.ProviderErrors}a=b.Succeeded;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Succeeded=a;delete b.Succeeded}}};SP.WorkManagement.OM.RefreshHealthInfoPropertyNames=function(){};SP.WorkManagement.OM.RefreshHealthInfoObjectPropertyNames=function(){};SP.WorkManagement.OM.RefreshHistory=function(b,a){a:;SP.WorkManagement.OM.RefreshHistory.initializeBase(this,[b,a])};SP.WorkManagement.OM.RefreshHistory.prototype={get_refreshes:function(){a:;var a=this.get_objectData().get_clientObjectProperties().Refreshes;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.RefreshEventInfoClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Refreshes"));this.get_objectData().get_clientObjectProperties().Refreshes=a}return a},set_refreshes:function(a){a:;this.get_objectData().get_clientObjectProperties().Refreshes=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Refreshes",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Refreshes;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Refreshes",this.get_refreshes(),a);this.get_refreshes().fromJson(a);delete b.Refreshes}}};SP.WorkManagement.OM.RefreshHistoryObjectPropertyNames=function(){};SP.WorkManagement.OM.RefreshResult=function(b,a){a:;SP.WorkManagement.OM.RefreshResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.RefreshResult.prototype={get_aggregatorRefreshState:function(){a:;this.checkUninitializedProperty("AggregatorRefreshState");return this.get_objectData().get_properties().AggregatorRefreshState},set_aggregatorRefreshState:function(a){a:;this.get_objectData().get_properties().AggregatorRefreshState=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"AggregatorRefreshState",a));return a},get_correlationId:function(){a:;this.checkUninitializedProperty("CorrelationId");return this.get_objectData().get_properties().CorrelationId},set_correlationId:function(a){a:;this.get_objectData().get_properties().CorrelationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CorrelationId",a));return a},get_providerStatuses:function(){a:;var a=this.get_objectData().get_clientObjectProperties().ProviderStatuses;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.ProviderRefreshStatusClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"ProviderStatuses"));this.get_objectData().get_clientObjectProperties().ProviderStatuses=a}return a},set_providerStatuses:function(a){a:;this.get_objectData().get_clientObjectProperties().ProviderStatuses=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ProviderStatuses",a));return a},get_refreshFinished:function(){a:;this.checkUninitializedProperty("RefreshFinished");return this.get_objectData().get_properties().RefreshFinished},set_refreshFinished:function(a){a:;this.get_objectData().get_properties().RefreshFinished=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RefreshFinished",a));return a},get_refreshId:function(){a:;this.checkUninitializedProperty("RefreshId");return this.get_objectData().get_properties().RefreshId},set_refreshId:function(a){a:;this.get_objectData().get_properties().RefreshId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RefreshId",a));return a},get_taskChangesByLocation:function(){a:;var a=this.get_objectData().get_clientObjectProperties().TaskChangesByLocation;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.LocationUpdateResultClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"TaskChangesByLocation"));this.get_objectData().get_clientObjectProperties().TaskChangesByLocation=a}return a},set_taskChangesByLocation:function(a){a:;this.get_objectData().get_clientObjectProperties().TaskChangesByLocation=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"TaskChangesByLocation",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.AggregatorRefreshState;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().AggregatorRefreshState=SP.DataConvert.fixupType(this.get_context(),a);delete b.AggregatorRefreshState}a=b.CorrelationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CorrelationId=a;delete b.CorrelationId}a=b.ProviderStatuses;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("ProviderStatuses",this.get_providerStatuses(),a);this.get_providerStatuses().fromJson(a);delete b.ProviderStatuses}a=b.RefreshFinished;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RefreshFinished=a;delete b.RefreshFinished}a=b.RefreshId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RefreshId=a;delete b.RefreshId}a=b.TaskChangesByLocation;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("TaskChangesByLocation",this.get_taskChangesByLocation(),a);this.get_taskChangesByLocation().fromJson(a);delete b.TaskChangesByLocation}}};SP.WorkManagement.OM.RefreshResultPropertyNames=function(){};SP.WorkManagement.OM.RefreshResultObjectPropertyNames=function(){};SP.WorkManagement.OM.SortableSession=function(b,a){a:;SP.WorkManagement.OM.SortableSession.initializeBase(this,[b,a])};SP.WorkManagement.OM.SortableSession.prototype={readTasks:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"ReadTasks",[c]));return b}};SP.WorkManagement.OM.SortableSessionManager=function(a){a:;SP.WorkManagement.OM.SortableSessionManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{924b1779-998e-4c60-a291-78edebc3c202}",arguments)])};SP.WorkManagement.OM.SortableSessionManager.newObject=function(a){a:;return new SP.WorkManagement.OM.SortableSessionManager(a,new SP.ObjectPathConstructor(a,"{924b1779-998e-4c60-a291-78edebc3c202}",null))};SP.WorkManagement.OM.SortableSessionManager.prototype={createLocationOrientedSession:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationOrientedSortableSession(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateLocationOrientedSession",null));return b},createSession:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.SortableSession(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateSession",null));return b}};SP.WorkManagement.OM.SortableTaskQuery=function(a){a:;SP.WorkManagement.OM.SortableTaskQuery.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{f43ab2f6-b0e1-46f7-8ff6-a96540f7f595}",arguments)])};SP.WorkManagement.OM.SortableTaskQuery.newObject=function(a){a:;return new SP.WorkManagement.OM.SortableTaskQuery(a,new SP.ObjectPathConstructor(a,"{f43ab2f6-b0e1-46f7-8ff6-a96540f7f595}",null))};SP.WorkManagement.OM.SortableTaskQuery.prototype={get_coreQuery:function(){a:;var a=this.get_objectData().get_clientObjectProperties().CoreQuery;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.TaskQuery(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CoreQuery"));this.get_objectData().get_clientObjectProperties().CoreQuery=a}return a},set_coreQuery:function(a){a:;this.get_objectData().get_clientObjectProperties().CoreQuery=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CoreQuery",a));return a},get_order:function(){a:;var a=this.get_objectData().get_clientObjectProperties().Order;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.OrderInfo(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Order"));this.get_objectData().get_clientObjectProperties().Order=a}return a},set_order:function(a){a:;this.get_objectData().get_clientObjectProperties().Order=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Order",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CoreQuery;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CoreQuery",this.get_coreQuery(),a);this.get_coreQuery().fromJson(a);delete b.CoreQuery}a=b.Order;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Order",this.get_order(),a);this.get_order().fromJson(a);delete b.Order}}};SP.WorkManagement.OM.SortableTaskQueryObjectPropertyNames=function(){};SP.WorkManagement.OM.Task=function(a){a:;SP.WorkManagement.OM.Task.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{af0507b6-ef4f-4029-a48a-943afe14aea6}",arguments)])};SP.WorkManagement.OM.Task.newObject=function(a){a:;return new SP.WorkManagement.OM.Task(a,new SP.ObjectPathConstructor(a,"{af0507b6-ef4f-4029-a48a-943afe14aea6}",null))};SP.WorkManagement.OM.Task.prototype={get_customAttributes:function(){a:;this.checkUninitializedProperty("CustomAttributes");return this.get_objectData().get_properties().CustomAttributes},set_customAttributes:function(a){a:;this.get_objectData().get_properties().CustomAttributes=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomAttributes",a));return a},get_description:function(){a:;this.checkUninitializedProperty("Description");return this.get_objectData().get_properties().Description},set_description:function(a){a:;this.get_objectData().get_properties().Description=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Description",a));return a},get_dueDate:function(){a:;this.checkUninitializedProperty("DueDate");return this.get_objectData().get_properties().DueDate},set_dueDate:function(a){a:;this.get_objectData().get_properties().DueDate=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DueDate",a));return a},get_editUrl:function(){a:;this.checkUninitializedProperty("EditUrl");return this.get_objectData().get_properties().EditUrl},set_editUrl:function(a){a:;this.get_objectData().get_properties().EditUrl=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"EditUrl",a));return a},get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},set_id:function(a){a:;this.get_objectData().get_properties().Id=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_isCompleted:function(){a:;this.checkUninitializedProperty("IsCompleted");return this.get_objectData().get_properties().IsCompleted},set_isCompleted:function(a){a:;this.get_objectData().get_properties().IsCompleted=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsCompleted",a));return a},get_isPersonal:function(){a:;this.checkUninitializedProperty("IsPersonal");return this.get_objectData().get_properties().IsPersonal},set_isPersonal:function(a){a:;this.get_objectData().get_properties().IsPersonal=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsPersonal",a));return a},get_isReadOnly:function(){a:;this.checkUninitializedProperty("IsReadOnly");return this.get_objectData().get_properties().IsReadOnly},set_isReadOnly:function(a){a:;this.get_objectData().get_properties().IsReadOnly=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsReadOnly",a));return a},get_lastModified:function(){a:;this.checkUninitializedProperty("LastModified");return this.get_objectData().get_properties().LastModified},set_lastModified:function(a){a:;this.get_objectData().get_properties().LastModified=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LastModified",a));return a},get_locationId:function(){a:;this.checkUninitializedProperty("LocationId");return this.get_objectData().get_properties().LocationId},set_locationId:function(a){a:;this.get_objectData().get_properties().LocationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LocationId",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},set_name:function(a){a:;this.get_objectData().get_properties().Name=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},get_pinAge:function(){a:;this.checkUninitializedProperty("PinAge");return this.get_objectData().get_properties().PinAge},set_pinAge:function(a){a:;this.get_objectData().get_properties().PinAge=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PinAge",a));return a},get_serializedCustomDataForClient:function(){a:;this.checkUninitializedProperty("SerializedCustomDataForClient");return this.get_objectData().get_properties().SerializedCustomDataForClient},set_serializedCustomDataForClient:function(a){a:;this.get_objectData().get_properties().SerializedCustomDataForClient=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"SerializedCustomDataForClient",a));return a},get_startDate:function(){a:;this.checkUninitializedProperty("StartDate");return this.get_objectData().get_properties().StartDate},set_startDate:function(a){a:;this.get_objectData().get_properties().StartDate=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartDate",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CustomAttributes;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CustomAttributes=SP.DataConvert.fixupType(this.get_context(),a);delete b.CustomAttributes}a=b.Description;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Description=a;delete b.Description}a=b.DueDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DueDate=a;delete b.DueDate}a=b.EditUrl;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().EditUrl=a;delete b.EditUrl}a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.IsCompleted;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsCompleted=a;delete b.IsCompleted}a=b.IsPersonal;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsPersonal=a;delete b.IsPersonal}a=b.IsReadOnly;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IsReadOnly=a;delete b.IsReadOnly}a=b.LastModified;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastModified=a;delete b.LastModified}a=b.LocationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LocationId=a;delete b.LocationId}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}a=b.PinAge;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PinAge=SP.DataConvert.fixupType(this.get_context(),a);delete b.PinAge}a=b.SerializedCustomDataForClient;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().SerializedCustomDataForClient=a;delete b.SerializedCustomDataForClient}a=b.StartDate;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().StartDate=a;delete b.StartDate}}};SP.WorkManagement.OM.TaskPropertyNames=function(){};SP.WorkManagement.OM.TaskClientCollection=function(a){a:;SP.WorkManagement.OM.TaskClientCollection.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{1a855a95-ee52-4a94-b0ab-7020dda6972a}",arguments)])};SP.WorkManagement.OM.TaskClientCollection.newObject=function(a){a:;return new SP.WorkManagement.OM.TaskClientCollection(a,new SP.ObjectPathConstructor(a,"{1a855a95-ee52-4a94-b0ab-7020dda6972a}",null))};SP.WorkManagement.OM.TaskClientCollection.prototype={itemAt:function(a){a:;return this.getItemAtIndex(a)},get_item:function(a){a:;return this.getItemAtIndex(a)},get_childItemType:function(){a:;return SP.WorkManagement.OM.Task}};SP.WorkManagement.OM.TaskFilter=function(a){a:;SP.WorkManagement.OM.TaskFilter.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{3188516d-d569-40f8-8c01-1d48fbf5243c}",arguments)])};SP.WorkManagement.OM.TaskFilter.newObject=function(a){a:;return new SP.WorkManagement.OM.TaskFilter(a,new SP.ObjectPathConstructor(a,"{3188516d-d569-40f8-8c01-1d48fbf5243c}",null))};SP.WorkManagement.OM.TaskFilter.prototype={get_completedCriterion:function(){a:;var a=this.get_objectData().get_clientObjectProperties().CompletedCriterion;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.BooleanCriterion(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CompletedCriterion"));this.get_objectData().get_clientObjectProperties().CompletedCriterion=a}return a},set_completedCriterion:function(a){a:;this.get_objectData().get_clientObjectProperties().CompletedCriterion=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CompletedCriterion",a));return a},get_criterionConcatType:function(){a:;this.checkUninitializedProperty("CriterionConcatType");return this.get_objectData().get_properties().CriterionConcatType},set_criterionConcatType:function(a){a:;this.get_objectData().get_properties().CriterionConcatType=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CriterionConcatType",a));return a},get_dueDateRangeCriterion:function(){a:;var a=this.get_objectData().get_clientObjectProperties().DueDateRangeCriterion;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.DateRangeCriterion(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"DueDateRangeCriterion"));this.get_objectData().get_clientObjectProperties().DueDateRangeCriterion=a}return a},set_dueDateRangeCriterion:function(a){a:;this.get_objectData().get_clientObjectProperties().DueDateRangeCriterion=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DueDateRangeCriterion",a));return a},get_idsToFilterBy:function(){a:;this.checkUninitializedProperty("IdsToFilterBy");return this.get_objectData().get_properties().IdsToFilterBy},set_idsToFilterBy:function(a){a:;this.get_objectData().get_properties().IdsToFilterBy=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IdsToFilterBy",a));return a},get_isNewCriterion:function(){a:;var a=this.get_objectData().get_clientObjectProperties().IsNewCriterion;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.BooleanCriterion(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"IsNewCriterion"));this.get_objectData().get_clientObjectProperties().IsNewCriterion=a}return a},set_isNewCriterion:function(a){a:;this.get_objectData().get_clientObjectProperties().IsNewCriterion=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"IsNewCriterion",a));return a},get_nameCriterion:function(){a:;var a=this.get_objectData().get_clientObjectProperties().NameCriterion;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.NameCriterion(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"NameCriterion"));this.get_objectData().get_clientObjectProperties().NameCriterion=a}return a},set_nameCriterion:function(a){a:;this.get_objectData().get_clientObjectProperties().NameCriterion=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"NameCriterion",a));return a},get_startDateRangeCriterion:function(){a:;var a=this.get_objectData().get_clientObjectProperties().StartDateRangeCriterion;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.DateRangeCriterion(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"StartDateRangeCriterion"));this.get_objectData().get_clientObjectProperties().StartDateRangeCriterion=a}return a},set_startDateRangeCriterion:function(a){a:;this.get_objectData().get_clientObjectProperties().StartDateRangeCriterion=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"StartDateRangeCriterion",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CompletedCriterion;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CompletedCriterion",this.get_completedCriterion(),a);this.get_completedCriterion().fromJson(a);delete b.CompletedCriterion}a=b.CriterionConcatType;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().CriterionConcatType=SP.DataConvert.fixupType(this.get_context(),a);delete b.CriterionConcatType}a=b.DueDateRangeCriterion;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("DueDateRangeCriterion",this.get_dueDateRangeCriterion(),a);this.get_dueDateRangeCriterion().fromJson(a);delete b.DueDateRangeCriterion}a=b.IdsToFilterBy;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().IdsToFilterBy=SP.DataConvert.fixupType(this.get_context(),a);delete b.IdsToFilterBy}a=b.IsNewCriterion;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("IsNewCriterion",this.get_isNewCriterion(),a);this.get_isNewCriterion().fromJson(a);delete b.IsNewCriterion}a=b.NameCriterion;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("NameCriterion",this.get_nameCriterion(),a);this.get_nameCriterion().fromJson(a);delete b.NameCriterion}a=b.StartDateRangeCriterion;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("StartDateRangeCriterion",this.get_startDateRangeCriterion(),a);this.get_startDateRangeCriterion().fromJson(a);delete b.StartDateRangeCriterion}}};SP.WorkManagement.OM.TaskFilterPropertyNames=function(){};SP.WorkManagement.OM.TaskFilterObjectPropertyNames=function(){};SP.WorkManagement.OM.TaskQuery=function(a){a:;SP.WorkManagement.OM.TaskQuery.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{70c9591d-9a78-404a-9fe8-b50b1e02cd93}",arguments)])};SP.WorkManagement.OM.TaskQuery.newObject=function(a){a:;return new SP.WorkManagement.OM.TaskQuery(a,new SP.ObjectPathConstructor(a,"{70c9591d-9a78-404a-9fe8-b50b1e02cd93}",null))};SP.WorkManagement.OM.TaskQuery.prototype={get_customAttributeFilter:function(){a:;var a=this.get_objectData().get_clientObjectProperties().CustomAttributeFilter;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.CustomAttributeFilter(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"CustomAttributeFilter"));this.get_objectData().get_clientObjectProperties().CustomAttributeFilter=a}return a},set_customAttributeFilter:function(a){a:;this.get_objectData().get_clientObjectProperties().CustomAttributeFilter=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"CustomAttributeFilter",a));return a},get_fieldFilter:function(){a:;var a=this.get_objectData().get_clientObjectProperties().FieldFilter;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.TaskFilter(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"FieldFilter"));this.get_objectData().get_clientObjectProperties().FieldFilter=a}return a},set_fieldFilter:function(a){a:;this.get_objectData().get_clientObjectProperties().FieldFilter=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"FieldFilter",a));return a},get_keywordFilter:function(){a:;this.checkUninitializedProperty("KeywordFilter");return this.get_objectData().get_properties().KeywordFilter},set_keywordFilter:function(a){a:;this.get_objectData().get_properties().KeywordFilter=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"KeywordFilter",a));return a},get_lastModifiedDateRangeFilter:function(){a:;var a=this.get_objectData().get_clientObjectProperties().LastModifiedDateRangeFilter;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.DateRangeCriterion(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LastModifiedDateRangeFilter"));this.get_objectData().get_clientObjectProperties().LastModifiedDateRangeFilter=a}return a},set_lastModifiedDateRangeFilter:function(a){a:;this.get_objectData().get_clientObjectProperties().LastModifiedDateRangeFilter=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LastModifiedDateRangeFilter",a));return a},get_lastQueryTime:function(){a:;this.checkUninitializedProperty("LastQueryTime");return this.get_objectData().get_properties().LastQueryTime},set_lastQueryTime:function(a){a:;this.get_objectData().get_properties().LastQueryTime=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LastQueryTime",a));return a},get_locationFilter:function(){a:;var a=this.get_objectData().get_clientObjectProperties().LocationFilter;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.LocationFilter(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"LocationFilter"));this.get_objectData().get_clientObjectProperties().LocationFilter=a}return a},set_locationFilter:function(a){a:;this.get_objectData().get_clientObjectProperties().LocationFilter=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LocationFilter",a));return a},get_pinnedFilter:function(){a:;this.checkUninitializedProperty("PinnedFilter");return this.get_objectData().get_properties().PinnedFilter},set_pinnedFilter:function(a){a:;this.get_objectData().get_properties().PinnedFilter=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"PinnedFilter",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.CustomAttributeFilter;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("CustomAttributeFilter",this.get_customAttributeFilter(),a);this.get_customAttributeFilter().fromJson(a);delete b.CustomAttributeFilter}a=b.FieldFilter;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("FieldFilter",this.get_fieldFilter(),a);this.get_fieldFilter().fromJson(a);delete b.FieldFilter}a=b.KeywordFilter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().KeywordFilter=a;delete b.KeywordFilter}a=b.LastModifiedDateRangeFilter;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LastModifiedDateRangeFilter",this.get_lastModifiedDateRangeFilter(),a);this.get_lastModifiedDateRangeFilter().fromJson(a);delete b.LastModifiedDateRangeFilter}a=b.LastQueryTime;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LastQueryTime=a;delete b.LastQueryTime}a=b.LocationFilter;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("LocationFilter",this.get_locationFilter(),a);this.get_locationFilter().fromJson(a);delete b.LocationFilter}a=b.PinnedFilter;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().PinnedFilter=SP.DataConvert.fixupType(this.get_context(),a);delete b.PinnedFilter}}};SP.WorkManagement.OM.TaskQueryPropertyNames=function(){};SP.WorkManagement.OM.TaskQueryObjectPropertyNames=function(){};SP.WorkManagement.OM.TaskQueryByLocationResult=function(b,a){a:;SP.WorkManagement.OM.TaskQueryByLocationResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.TaskQueryByLocationResult.prototype={get_error:function(){a:;this.checkUninitializedProperty("Error");return this.get_objectData().get_properties().Error},set_error:function(a){a:;this.get_objectData().get_properties().Error=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Error",a));return a},get_errorMessage:function(){a:;this.checkUninitializedProperty("ErrorMessage");return this.get_objectData().get_properties().ErrorMessage},set_errorMessage:function(a){a:;this.get_objectData().get_properties().ErrorMessage=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ErrorMessage",a));return a},get_results:function(){a:;var a=this.get_objectData().get_clientObjectProperties().Results;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.LocationGroupClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Results"));this.get_objectData().get_clientObjectProperties().Results=a}return a},set_results:function(a){a:;this.get_objectData().get_clientObjectProperties().Results=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Results",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Error;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Error=SP.DataConvert.fixupType(this.get_context(),a);delete b.Error}a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ErrorMessage=a;delete b.ErrorMessage}a=b.Results;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Results",this.get_results(),a);this.get_results().fromJson(a);delete b.Results}}};SP.WorkManagement.OM.TaskQueryByLocationResultPropertyNames=function(){};SP.WorkManagement.OM.TaskQueryByLocationResultObjectPropertyNames=function(){};SP.WorkManagement.OM.TaskQueryResult=function(b,a){a:;SP.WorkManagement.OM.TaskQueryResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.TaskQueryResult.prototype={get_error:function(){a:;this.checkUninitializedProperty("Error");return this.get_objectData().get_properties().Error},set_error:function(a){a:;this.get_objectData().get_properties().Error=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Error",a));return a},get_errorMessage:function(){a:;this.checkUninitializedProperty("ErrorMessage");return this.get_objectData().get_properties().ErrorMessage},set_errorMessage:function(a){a:;this.get_objectData().get_properties().ErrorMessage=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ErrorMessage",a));return a},get_results:function(){a:;var a=this.get_objectData().get_clientObjectProperties().Results;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.TaskClientCollection(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Results"));this.get_objectData().get_clientObjectProperties().Results=a}return a},set_results:function(a){a:;this.get_objectData().get_clientObjectProperties().Results=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Results",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Error;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Error=SP.DataConvert.fixupType(this.get_context(),a);delete b.Error}a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ErrorMessage=a;delete b.ErrorMessage}a=b.Results;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Results",this.get_results(),a);this.get_results().fromJson(a);delete b.Results}}};SP.WorkManagement.OM.TaskQueryResultPropertyNames=function(){};SP.WorkManagement.OM.TaskQueryResultObjectPropertyNames=function(){};SP.WorkManagement.OM.TaskRefreshResult=function(b,a){a:;SP.WorkManagement.OM.TaskRefreshResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.TaskRefreshResult.prototype={get_errorCorrelationId:function(){a:;this.checkUninitializedProperty("ErrorCorrelationId");return this.get_objectData().get_properties().ErrorCorrelationId},set_errorCorrelationId:function(a){a:;this.get_objectData().get_properties().ErrorCorrelationId=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ErrorCorrelationId",a));return a},get_refreshState:function(){a:;this.checkUninitializedProperty("RefreshState");return this.get_objectData().get_properties().RefreshState},set_refreshState:function(a){a:;this.get_objectData().get_properties().RefreshState=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"RefreshState",a));return a},get_result:function(){a:;var a=this.get_objectData().get_clientObjectProperties().Result;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.Task(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Result"));this.get_objectData().get_clientObjectProperties().Result=a}return a},set_result:function(a){a:;this.get_objectData().get_clientObjectProperties().Result=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Result",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.ErrorCorrelationId;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ErrorCorrelationId=a;delete b.ErrorCorrelationId}a=b.RefreshState;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().RefreshState=SP.DataConvert.fixupType(this.get_context(),a);delete b.RefreshState}a=b.Result;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Result",this.get_result(),a);this.get_result().fromJson(a);delete b.Result}}};SP.WorkManagement.OM.TaskRefreshResultPropertyNames=function(){};SP.WorkManagement.OM.TaskRefreshResultObjectPropertyNames=function(){};SP.WorkManagement.OM.TaskWriteResult=function(b,a){a:;SP.WorkManagement.OM.TaskWriteResult.initializeBase(this,[b,a])};SP.WorkManagement.OM.TaskWriteResult.prototype={get_error:function(){a:;this.checkUninitializedProperty("Error");return this.get_objectData().get_properties().Error},set_error:function(a){a:;this.get_objectData().get_properties().Error=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Error",a));return a},get_errorMessage:function(){a:;this.checkUninitializedProperty("ErrorMessage");return this.get_objectData().get_properties().ErrorMessage},set_errorMessage:function(a){a:;this.get_objectData().get_properties().ErrorMessage=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ErrorMessage",a));return a},get_result:function(){a:;var a=this.get_objectData().get_clientObjectProperties().Result;if(SP.ScriptUtility.isUndefined(a)){a=new SP.WorkManagement.OM.Task(this.get_context(),new SP.ObjectPathProperty(this.get_context(),this.get_path(),"Result"));this.get_objectData().get_clientObjectProperties().Result=a}return a},set_result:function(a){a:;this.get_objectData().get_clientObjectProperties().Result=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Result",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Error;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Error=SP.DataConvert.fixupType(this.get_context(),a);delete b.Error}a=b.ErrorMessage;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ErrorMessage=a;delete b.ErrorMessage}a=b.Result;if(!SP.ScriptUtility.isUndefined(a)){this.updateClientObjectPropertyType("Result",this.get_result(),a);this.get_result().fromJson(a);delete b.Result}}};SP.WorkManagement.OM.TaskWriteResultPropertyNames=function(){};SP.WorkManagement.OM.TaskWriteResultObjectPropertyNames=function(){};SP.WorkManagement.OM.UserOrderedSession=function(b,a){a:;SP.WorkManagement.OM.UserOrderedSession.initializeBase(this,[b,a])};SP.WorkManagement.OM.UserOrderedSession.prototype={reorderTask:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"ReorderTask",[b,a]);c.addQuery(d)},readTasks:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.TaskClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"ReadTasks",[c]));return b}};SP.WorkManagement.OM.UserOrderedSessionManager=function(a){a:;SP.WorkManagement.OM.UserOrderedSessionManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{d82117fb-e4aa-4ab8-b590-cb2be4b2f078}",arguments)])};SP.WorkManagement.OM.UserOrderedSessionManager.newObject=function(a){a:;return new SP.WorkManagement.OM.UserOrderedSessionManager(a,new SP.ObjectPathConstructor(a,"{d82117fb-e4aa-4ab8-b590-cb2be4b2f078}",null))};SP.WorkManagement.OM.UserOrderedSessionManager.prototype={createLocationOrientedSession:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationOrientedUserOrderedSession(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateLocationOrientedSession",null));return b},createSession:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.UserOrderedSession(a,new SP.ObjectPathMethod(a,this.get_path(),"CreateSession",null));return b}};SP.WorkManagement.OM.UserSettings=function(a){a:;SP.WorkManagement.OM.UserSettings.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{bea67fb5-fb82-4388-b0e7-174baa0eb51a}",arguments)])};SP.WorkManagement.OM.UserSettings.newObject=function(a){a:;return new SP.WorkManagement.OM.UserSettings(a,new SP.ObjectPathConstructor(a,"{bea67fb5-fb82-4388-b0e7-174baa0eb51a}",null))};SP.WorkManagement.OM.UserSettings.prototype={get_daysAfterCurrentDateTimelineEnds:function(){a:;this.checkUninitializedProperty("DaysAfterCurrentDateTimelineEnds");return this.get_objectData().get_properties().DaysAfterCurrentDateTimelineEnds},set_daysAfterCurrentDateTimelineEnds:function(a){a:;this.get_objectData().get_properties().DaysAfterCurrentDateTimelineEnds=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DaysAfterCurrentDateTimelineEnds",a));return a},get_daysATaskIsConsideredNewTask:function(){a:;this.checkUninitializedProperty("DaysATaskIsConsideredNewTask");return this.get_objectData().get_properties().DaysATaskIsConsideredNewTask},set_daysATaskIsConsideredNewTask:function(a){a:;this.get_objectData().get_properties().DaysATaskIsConsideredNewTask=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DaysATaskIsConsideredNewTask",a));return a},get_daysBeforeCurrentDateTimelineStarts:function(){a:;this.checkUninitializedProperty("DaysBeforeCurrentDateTimelineStarts");return this.get_objectData().get_properties().DaysBeforeCurrentDateTimelineStarts},set_daysBeforeCurrentDateTimelineStarts:function(a){a:;this.get_objectData().get_properties().DaysBeforeCurrentDateTimelineStarts=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"DaysBeforeCurrentDateTimelineStarts",a));return a},get_importantLocationIds:function(){a:;this.checkUninitializedProperty("ImportantLocationIds");return this.get_objectData().get_properties().ImportantLocationIds},set_importantLocationIds:function(a){a:;this.get_objectData().get_properties().ImportantLocationIds=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ImportantLocationIds",a));return a},get_importantTasksLimit:function(){a:;this.checkUninitializedProperty("ImportantTasksLimit");return this.get_objectData().get_properties().ImportantTasksLimit},set_importantTasksLimit:function(a){a:;this.get_objectData().get_properties().ImportantTasksLimit=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"ImportantTasksLimit",a));return a},get_inactiveMonthsBeforeLocationExpiration:function(){a:;this.checkUninitializedProperty("InactiveMonthsBeforeLocationExpiration");return this.get_objectData().get_properties().InactiveMonthsBeforeLocationExpiration},set_inactiveMonthsBeforeLocationExpiration:function(a){a:;this.get_objectData().get_properties().InactiveMonthsBeforeLocationExpiration=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"InactiveMonthsBeforeLocationExpiration",a));return a},get_lateTasksLimit:function(){a:;this.checkUninitializedProperty("LateTasksLimit");return this.get_objectData().get_properties().LateTasksLimit},set_lateTasksLimit:function(a){a:;this.get_objectData().get_properties().LateTasksLimit=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"LateTasksLimit",a));return a},get_oldTasksLimit:function(){a:;this.checkUninitializedProperty("OldTasksLimit");return this.get_objectData().get_properties().OldTasksLimit},set_oldTasksLimit:function(a){a:;this.get_objectData().get_properties().OldTasksLimit=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"OldTasksLimit",a));return a},get_upcomingTasksLimit:function(){a:;this.checkUninitializedProperty("UpcomingTasksLimit");return this.get_objectData().get_properties().UpcomingTasksLimit},set_upcomingTasksLimit:function(a){a:;this.get_objectData().get_properties().UpcomingTasksLimit=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"UpcomingTasksLimit",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.DaysAfterCurrentDateTimelineEnds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DaysAfterCurrentDateTimelineEnds=a;delete b.DaysAfterCurrentDateTimelineEnds}a=b.DaysATaskIsConsideredNewTask;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DaysATaskIsConsideredNewTask=a;delete b.DaysATaskIsConsideredNewTask}a=b.DaysBeforeCurrentDateTimelineStarts;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().DaysBeforeCurrentDateTimelineStarts=a;delete b.DaysBeforeCurrentDateTimelineStarts}a=b.ImportantLocationIds;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ImportantLocationIds=SP.DataConvert.fixupType(this.get_context(),a);delete b.ImportantLocationIds}a=b.ImportantTasksLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().ImportantTasksLimit=a;delete b.ImportantTasksLimit}a=b.InactiveMonthsBeforeLocationExpiration;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().InactiveMonthsBeforeLocationExpiration=a;delete b.InactiveMonthsBeforeLocationExpiration}a=b.LateTasksLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().LateTasksLimit=a;delete b.LateTasksLimit}a=b.OldTasksLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().OldTasksLimit=a;delete b.OldTasksLimit}a=b.UpcomingTasksLimit;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().UpcomingTasksLimit=a;delete b.UpcomingTasksLimit}}};SP.WorkManagement.OM.UserSettingsPropertyNames=function(){};SP.WorkManagement.OM.UserSettingsManager=function(a){a:;SP.WorkManagement.OM.UserSettingsManager.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{73b6f1d6-c69c-4787-8413-2bb14d336410}",arguments)])};SP.WorkManagement.OM.UserSettingsManager.newObject=function(a){a:;return new SP.WorkManagement.OM.UserSettingsManager(a,new SP.ObjectPathConstructor(a,"{73b6f1d6-c69c-4787-8413-2bb14d336410}",null))};SP.WorkManagement.OM.UserSettingsManager.prototype={getImportantLocations:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetImportantLocations",null));return b},getAllLocations:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetAllLocations",null));return b},getLocations:function(c){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.LocationClientCollection(a,new SP.ObjectPathMethod(a,this.get_path(),"GetLocations",[c]));return b},isExchangeJobPending:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"IsExchangeJobPending",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},optIntoExchangeSync:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"OptIntoExchangeSync",null);b.addQuery(c);a=new SP.IntResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},optOutOfExchangeSync:function(){a:;var b=this.get_context(),a,c=new SP.ClientActionInvokeMethod(this,"OptOutOfExchangeSync",null);b.addQuery(c);a=new SP.BooleanResult;b.addQueryIdAndResultObject(c.get_id(),a);return a},getExchangeSyncInfo:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.ExchangeUserSyncState(a,new SP.ObjectPathMethod(a,this.get_path(),"GetExchangeSyncInfo",null));return b},getUserSettings:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.UserSettings(a,new SP.ObjectPathMethod(a,this.get_path(),"GetUserSettings",null));return b},setUserSettings:function(b,a){a:;var c=this.get_context(),d=new SP.ClientActionInvokeMethod(this,"SetUserSettings",[b,a]);c.addQuery(d)},getPersistedProperties:function(){a:;var a=this.get_context(),b;b=new SP.WorkManagement.OM.PersistedProperties(a,new SP.ObjectPathMethod(a,this.get_path(),"GetPersistedProperties",null));return b},setPersistedProperties:function(a){a:;var b=this.get_context(),c=new SP.ClientActionInvokeMethod(this,"SetPersistedProperties",[a]);b.addQuery(c)}};SP.WorkManagement.OM.ViewSelectionInfo=function(a){a:;SP.WorkManagement.OM.ViewSelectionInfo.initializeBase(this,[a,SP.ClientUtility.getOrCreateObjectPathForConstructor(a,"{9c4b64c1-8722-45c0-9d9d-e61c2f36bb44}",arguments)])};SP.WorkManagement.OM.ViewSelectionInfo.newObject=function(a){a:;return new SP.WorkManagement.OM.ViewSelectionInfo(a,new SP.ObjectPathConstructor(a,"{9c4b64c1-8722-45c0-9d9d-e61c2f36bb44}",null))};SP.WorkManagement.OM.ViewSelectionInfo.prototype={get_id:function(){a:;this.checkUninitializedProperty("Id");return this.get_objectData().get_properties().Id},set_id:function(a){a:;this.get_objectData().get_properties().Id=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Id",a));return a},get_image:function(){a:;this.checkUninitializedProperty("Image");return this.get_objectData().get_properties().Image},set_image:function(a){a:;this.get_objectData().get_properties().Image=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Image",a));return a},get_name:function(){a:;this.checkUninitializedProperty("Name");return this.get_objectData().get_properties().Name},set_name:function(a){a:;this.get_objectData().get_properties().Name=a;this.get_context()&&this.get_context().addQuery(new SP.ClientActionSetProperty(this,"Name",a));return a},initPropertiesFromJson:function(b){a:;SP.ClientObject.prototype.initPropertiesFromJson.call(this,b);var a;a=b.Id;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Id=a;delete b.Id}a=b.Image;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Image=a;delete b.Image}a=b.Name;if(!SP.ScriptUtility.isUndefined(a)){this.get_objectData().get_properties().Name=a;delete b.Name}}};SP.WorkManagement.OM.ViewSelectionInfoPropertyNames=function(){};SP.WorkManagement.OM.BaseSession.registerClass("SP.WorkManagement.OM.BaseSession",SP.ClientObject);SP.WorkManagement.OM.BooleanCriterion.registerClass("SP.WorkManagement.OM.BooleanCriterion",SP.ClientObject);SP.WorkManagement.OM.BooleanCriterionPropertyNames.registerClass("SP.WorkManagement.OM.BooleanCriterionPropertyNames");SP.WorkManagement.OM.CalloutInfo.registerClass("SP.WorkManagement.OM.CalloutInfo",SP.ClientObject);SP.WorkManagement.OM.CalloutInfoPropertyNames.registerClass("SP.WorkManagement.OM.CalloutInfoPropertyNames");SP.WorkManagement.OM.CreateRefreshJobResult.registerClass("SP.WorkManagement.OM.CreateRefreshJobResult",SP.ClientObject);SP.WorkManagement.OM.CreateRefreshJobResultPropertyNames.registerClass("SP.WorkManagement.OM.CreateRefreshJobResultPropertyNames");SP.WorkManagement.OM.CustomAttributeFilter.registerClass("SP.WorkManagement.OM.CustomAttributeFilter",SP.ClientObject);SP.WorkManagement.OM.CustomAttributeFilterPropertyNames.registerClass("SP.WorkManagement.OM.CustomAttributeFilterPropertyNames");SP.WorkManagement.OM.DashboardScriptExtensionInfo.registerClass("SP.WorkManagement.OM.DashboardScriptExtensionInfo",SP.ClientObject);SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames.registerClass("SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames");SP.WorkManagement.OM.DashboardScriptExtensionInfoClientCollection.registerClass("SP.WorkManagement.OM.DashboardScriptExtensionInfoClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.DateRangeCriterion.registerClass("SP.WorkManagement.OM.DateRangeCriterion",SP.ClientObject);SP.WorkManagement.OM.DateRangeCriterionPropertyNames.registerClass("SP.WorkManagement.OM.DateRangeCriterionPropertyNames");SP.WorkManagement.OM.ExchangeUserSyncState.registerClass("SP.WorkManagement.OM.ExchangeUserSyncState",SP.ClientObject);SP.WorkManagement.OM.ExchangeUserSyncStatePropertyNames.registerClass("SP.WorkManagement.OM.ExchangeUserSyncStatePropertyNames");SP.WorkManagement.OM.Location.registerClass("SP.WorkManagement.OM.Location",SP.ClientObject);SP.WorkManagement.OM.LocationPropertyNames.registerClass("SP.WorkManagement.OM.LocationPropertyNames");SP.WorkManagement.OM.LocationClientCollection.registerClass("SP.WorkManagement.OM.LocationClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.LocationDisplaySetting.registerClass("SP.WorkManagement.OM.LocationDisplaySetting",SP.ClientObject);SP.WorkManagement.OM.LocationDisplaySettingPropertyNames.registerClass("SP.WorkManagement.OM.LocationDisplaySettingPropertyNames");SP.WorkManagement.OM.LocationFilter.registerClass("SP.WorkManagement.OM.LocationFilter",SP.ClientObject);SP.WorkManagement.OM.LocationFilterPropertyNames.registerClass("SP.WorkManagement.OM.LocationFilterPropertyNames");SP.WorkManagement.OM.LocationGroupClientCollection.registerClass("SP.WorkManagement.OM.LocationGroupClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.LocationOrientedSortableSession.registerClass("SP.WorkManagement.OM.LocationOrientedSortableSession",SP.WorkManagement.OM.BaseSession);SP.WorkManagement.OM.LocationOrientedUserOrderedSession.registerClass("SP.WorkManagement.OM.LocationOrientedUserOrderedSession",SP.WorkManagement.OM.BaseSession);SP.WorkManagement.OM.LocationUpdateResult.registerClass("SP.WorkManagement.OM.LocationUpdateResult",SP.ClientObject);SP.WorkManagement.OM.LocationUpdateResultPropertyNames.registerClass("SP.WorkManagement.OM.LocationUpdateResultPropertyNames");SP.WorkManagement.OM.LocationUpdateResultClientCollection.registerClass("SP.WorkManagement.OM.LocationUpdateResultClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.NameCriterion.registerClass("SP.WorkManagement.OM.NameCriterion",SP.ClientObject);SP.WorkManagement.OM.NameCriterionPropertyNames.registerClass("SP.WorkManagement.OM.NameCriterionPropertyNames");SP.WorkManagement.OM.NonTaskDataReadResult.registerClass("SP.WorkManagement.OM.NonTaskDataReadResult",SP.ClientObject);SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames.registerClass("SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames");SP.WorkManagement.OM.OrderInfo.registerClass("SP.WorkManagement.OM.OrderInfo",SP.ClientObject);SP.WorkManagement.OM.OrderInfoPropertyNames.registerClass("SP.WorkManagement.OM.OrderInfoPropertyNames");SP.WorkManagement.OM.PersistedProperties.registerClass("SP.WorkManagement.OM.PersistedProperties",SP.ClientObject);SP.WorkManagement.OM.PersistedPropertiesPropertyNames.registerClass("SP.WorkManagement.OM.PersistedPropertiesPropertyNames");SP.WorkManagement.OM.ProviderErrorInfo.registerClass("SP.WorkManagement.OM.ProviderErrorInfo",SP.ClientObject);SP.WorkManagement.OM.ProviderErrorInfoPropertyNames.registerClass("SP.WorkManagement.OM.ProviderErrorInfoPropertyNames");SP.WorkManagement.OM.ProviderErrorInfoClientCollection.registerClass("SP.WorkManagement.OM.ProviderErrorInfoClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.ProviderRefreshStatus.registerClass("SP.WorkManagement.OM.ProviderRefreshStatus",SP.ClientObject);SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames.registerClass("SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames");SP.WorkManagement.OM.ProviderRefreshStatusClientCollection.registerClass("SP.WorkManagement.OM.ProviderRefreshStatusClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.RefreshEventInfoClientCollection.registerClass("SP.WorkManagement.OM.RefreshEventInfoClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.RefreshHealthInfo.registerClass("SP.WorkManagement.OM.RefreshHealthInfo",SP.ClientObject);SP.WorkManagement.OM.RefreshHealthInfoPropertyNames.registerClass("SP.WorkManagement.OM.RefreshHealthInfoPropertyNames");SP.WorkManagement.OM.RefreshHealthInfoObjectPropertyNames.registerClass("SP.WorkManagement.OM.RefreshHealthInfoObjectPropertyNames");SP.WorkManagement.OM.RefreshHistory.registerClass("SP.WorkManagement.OM.RefreshHistory",SP.ClientObject);SP.WorkManagement.OM.RefreshHistoryObjectPropertyNames.registerClass("SP.WorkManagement.OM.RefreshHistoryObjectPropertyNames");SP.WorkManagement.OM.RefreshResult.registerClass("SP.WorkManagement.OM.RefreshResult",SP.ClientObject);SP.WorkManagement.OM.RefreshResultPropertyNames.registerClass("SP.WorkManagement.OM.RefreshResultPropertyNames");SP.WorkManagement.OM.RefreshResultObjectPropertyNames.registerClass("SP.WorkManagement.OM.RefreshResultObjectPropertyNames");SP.WorkManagement.OM.SortableSession.registerClass("SP.WorkManagement.OM.SortableSession",SP.WorkManagement.OM.BaseSession);SP.WorkManagement.OM.SortableSessionManager.registerClass("SP.WorkManagement.OM.SortableSessionManager",SP.ClientObject);SP.WorkManagement.OM.SortableTaskQuery.registerClass("SP.WorkManagement.OM.SortableTaskQuery",SP.ClientObject);SP.WorkManagement.OM.SortableTaskQueryObjectPropertyNames.registerClass("SP.WorkManagement.OM.SortableTaskQueryObjectPropertyNames");SP.WorkManagement.OM.Task.registerClass("SP.WorkManagement.OM.Task",SP.ClientObject);SP.WorkManagement.OM.TaskPropertyNames.registerClass("SP.WorkManagement.OM.TaskPropertyNames");SP.WorkManagement.OM.TaskClientCollection.registerClass("SP.WorkManagement.OM.TaskClientCollection",SP.ClientObjectCollection);SP.WorkManagement.OM.TaskFilter.registerClass("SP.WorkManagement.OM.TaskFilter",SP.ClientObject);SP.WorkManagement.OM.TaskFilterPropertyNames.registerClass("SP.WorkManagement.OM.TaskFilterPropertyNames");SP.WorkManagement.OM.TaskFilterObjectPropertyNames.registerClass("SP.WorkManagement.OM.TaskFilterObjectPropertyNames");SP.WorkManagement.OM.TaskQuery.registerClass("SP.WorkManagement.OM.TaskQuery",SP.ClientObject);SP.WorkManagement.OM.TaskQueryPropertyNames.registerClass("SP.WorkManagement.OM.TaskQueryPropertyNames");SP.WorkManagement.OM.TaskQueryObjectPropertyNames.registerClass("SP.WorkManagement.OM.TaskQueryObjectPropertyNames");SP.WorkManagement.OM.TaskQueryByLocationResult.registerClass("SP.WorkManagement.OM.TaskQueryByLocationResult",SP.ClientObject);SP.WorkManagement.OM.TaskQueryByLocationResultPropertyNames.registerClass("SP.WorkManagement.OM.TaskQueryByLocationResultPropertyNames");SP.WorkManagement.OM.TaskQueryByLocationResultObjectPropertyNames.registerClass("SP.WorkManagement.OM.TaskQueryByLocationResultObjectPropertyNames");SP.WorkManagement.OM.TaskQueryResult.registerClass("SP.WorkManagement.OM.TaskQueryResult",SP.ClientObject);SP.WorkManagement.OM.TaskQueryResultPropertyNames.registerClass("SP.WorkManagement.OM.TaskQueryResultPropertyNames");SP.WorkManagement.OM.TaskQueryResultObjectPropertyNames.registerClass("SP.WorkManagement.OM.TaskQueryResultObjectPropertyNames");SP.WorkManagement.OM.TaskRefreshResult.registerClass("SP.WorkManagement.OM.TaskRefreshResult",SP.ClientObject);SP.WorkManagement.OM.TaskRefreshResultPropertyNames.registerClass("SP.WorkManagement.OM.TaskRefreshResultPropertyNames");SP.WorkManagement.OM.TaskRefreshResultObjectPropertyNames.registerClass("SP.WorkManagement.OM.TaskRefreshResultObjectPropertyNames");SP.WorkManagement.OM.TaskWriteResult.registerClass("SP.WorkManagement.OM.TaskWriteResult",SP.ClientObject);SP.WorkManagement.OM.TaskWriteResultPropertyNames.registerClass("SP.WorkManagement.OM.TaskWriteResultPropertyNames");SP.WorkManagement.OM.TaskWriteResultObjectPropertyNames.registerClass("SP.WorkManagement.OM.TaskWriteResultObjectPropertyNames");SP.WorkManagement.OM.UserOrderedSession.registerClass("SP.WorkManagement.OM.UserOrderedSession",SP.WorkManagement.OM.BaseSession);SP.WorkManagement.OM.UserOrderedSessionManager.registerClass("SP.WorkManagement.OM.UserOrderedSessionManager",SP.ClientObject);SP.WorkManagement.OM.UserSettings.registerClass("SP.WorkManagement.OM.UserSettings",SP.ClientObject);SP.WorkManagement.OM.UserSettingsPropertyNames.registerClass("SP.WorkManagement.OM.UserSettingsPropertyNames");SP.WorkManagement.OM.UserSettingsManager.registerClass("SP.WorkManagement.OM.UserSettingsManager",SP.ClientObject);SP.WorkManagement.OM.ViewSelectionInfo.registerClass("SP.WorkManagement.OM.ViewSelectionInfo",SP.ClientObject);SP.WorkManagement.OM.ViewSelectionInfoPropertyNames.registerClass("SP.WorkManagement.OM.ViewSelectionInfoPropertyNames");SP.WorkManagement.OM.BooleanCriterionPropertyNames.compareType="CompareType";SP.WorkManagement.OM.CalloutInfoPropertyNames.contacts="Contacts";SP.WorkManagement.OM.CalloutInfoPropertyNames.directLinkTitle="DirectLinkTitle";SP.WorkManagement.OM.CalloutInfoPropertyNames.directLinkUrl="DirectLinkUrl";SP.WorkManagement.OM.CalloutInfoPropertyNames.hierarchy="Hierarchy";SP.WorkManagement.OM.CalloutInfoPropertyNames.predecessors="Predecessors";SP.WorkManagement.OM.CalloutInfoPropertyNames.successors="Successors";SP.WorkManagement.OM.CalloutInfoPropertyNames.title="Title";SP.WorkManagement.OM.CalloutInfoPropertyNames.url="Url";SP.WorkManagement.OM.CreateRefreshJobResultPropertyNames.createdJob="CreatedJob";SP.WorkManagement.OM.CreateRefreshJobResultPropertyNames.currentJobId="CurrentJobId";SP.WorkManagement.OM.CreateRefreshJobResultPropertyNames.encounteredError="EncounteredError";SP.WorkManagement.OM.CustomAttributeFilterPropertyNames.attributes="Attributes";SP.WorkManagement.OM.CustomAttributeFilterPropertyNames.concatType="ConcatType";SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames.providerKey="ProviderKey";SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames.scriptClass="ScriptClass";SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames.scriptData="ScriptData";SP.WorkManagement.OM.DashboardScriptExtensionInfoPropertyNames.scriptFiles="ScriptFiles";SP.WorkManagement.OM.DateRangeCriterionPropertyNames.rangeEndValue="RangeEndValue";SP.WorkManagement.OM.DateRangeCriterionPropertyNames.rangeStartValue="RangeStartValue";SP.WorkManagement.OM.ExchangeUserSyncStatePropertyNames.isOptedIn="IsOptedIn";SP.WorkManagement.OM.ExchangeUserSyncStatePropertyNames.lastEndTime="LastEndTime";SP.WorkManagement.OM.ExchangeUserSyncStatePropertyNames.lastSyncResult="LastSyncResult";SP.WorkManagement.OM.LocationPropertyNames.color="Color";SP.WorkManagement.OM.LocationPropertyNames.id="Id";SP.WorkManagement.OM.LocationPropertyNames.important="Important";SP.WorkManagement.OM.LocationPropertyNames.name="Name";SP.WorkManagement.OM.LocationPropertyNames.parentId="ParentId";SP.WorkManagement.OM.LocationPropertyNames.rootProviderKey="RootProviderKey";SP.WorkManagement.OM.LocationPropertyNames.url="Url";SP.WorkManagement.OM.LocationDisplaySettingPropertyNames.color="Color";SP.WorkManagement.OM.LocationDisplaySettingPropertyNames.id="Id";SP.WorkManagement.OM.LocationFilterPropertyNames.includeUncategorizedTasks="IncludeUncategorizedTasks";SP.WorkManagement.OM.LocationFilterPropertyNames.locationKeys="LocationKeys";SP.WorkManagement.OM.LocationUpdateResultPropertyNames.activeAddedCount="ActiveAddedCount";SP.WorkManagement.OM.LocationUpdateResultPropertyNames.addedCount="AddedCount";SP.WorkManagement.OM.LocationUpdateResultPropertyNames.removedCount="RemovedCount";SP.WorkManagement.OM.LocationUpdateResultPropertyNames.rootLocationId="RootLocationId";SP.WorkManagement.OM.LocationUpdateResultPropertyNames.updatedCount="UpdatedCount";SP.WorkManagement.OM.NameCriterionPropertyNames.compareType="CompareType";SP.WorkManagement.OM.NameCriterionPropertyNames.compareValue="CompareValue";SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames.allLocatons="AllLocatons";SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames.persistedProperties="PersistedProperties";SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames.refreshHistory="RefreshHistory";SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames.scriptExtensions="ScriptExtensions";SP.WorkManagement.OM.NonTaskDataReadResultObjectPropertyNames.userSettings="UserSettings";SP.WorkManagement.OM.OrderInfoPropertyNames.field="Field";SP.WorkManagement.OM.OrderInfoPropertyNames.isDescending="IsDescending";SP.WorkManagement.OM.PersistedPropertiesPropertyNames.filteredLocationIds="FilteredLocationIds";SP.WorkManagement.OM.PersistedPropertiesPropertyNames.groupByProjects="GroupByProjects";SP.WorkManagement.OM.PersistedPropertiesPropertyNames.hasShownMarkAsImportantCallout="HasShownMarkAsImportantCallout";SP.WorkManagement.OM.PersistedPropertiesPropertyNames.hasShownTaskListTooLongNotification="HasShownTaskListTooLongNotification";SP.WorkManagement.OM.PersistedPropertiesPropertyNames.quickLaunchLandingPage="QuickLaunchLandingPage";SP.WorkManagement.OM.ProviderErrorInfoPropertyNames.correlationId="CorrelationId";SP.WorkManagement.OM.ProviderErrorInfoPropertyNames.lastSuccessfulRefresh="LastSuccessfulRefresh";SP.WorkManagement.OM.ProviderErrorInfoPropertyNames.localizedName="LocalizedName";SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames.providerKey="ProviderKey";SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames.providerLocalizedName="ProviderLocalizedName";SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames.refreshFinished="RefreshFinished";SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames.refreshStarted="RefreshStarted";SP.WorkManagement.OM.ProviderRefreshStatusPropertyNames.rootLocationId="RootLocationId";SP.WorkManagement.OM.RefreshHealthInfoPropertyNames.latestRefreshTime="LatestRefreshTime";SP.WorkManagement.OM.RefreshHealthInfoPropertyNames.newTasks="NewTasks";SP.WorkManagement.OM.RefreshHealthInfoPropertyNames.succeeded="Succeeded";SP.WorkManagement.OM.RefreshHealthInfoObjectPropertyNames.providerErrors="ProviderErrors";SP.WorkManagement.OM.RefreshHistoryObjectPropertyNames.refreshes="Refreshes";SP.WorkManagement.OM.RefreshResultPropertyNames.aggregatorRefreshState="AggregatorRefreshState";SP.WorkManagement.OM.RefreshResultPropertyNames.correlationId="CorrelationId";SP.WorkManagement.OM.RefreshResultPropertyNames.refreshFinished="RefreshFinished";SP.WorkManagement.OM.RefreshResultPropertyNames.refreshId="RefreshId";SP.WorkManagement.OM.RefreshResultObjectPropertyNames.providerStatuses="ProviderStatuses";SP.WorkManagement.OM.RefreshResultObjectPropertyNames.taskChangesByLocation="TaskChangesByLocation";SP.WorkManagement.OM.SortableTaskQueryObjectPropertyNames.coreQuery="CoreQuery";SP.WorkManagement.OM.SortableTaskQueryObjectPropertyNames.order="Order";SP.WorkManagement.OM.TaskPropertyNames.customAttributes="CustomAttributes";SP.WorkManagement.OM.TaskPropertyNames.description="Description";SP.WorkManagement.OM.TaskPropertyNames.dueDate="DueDate";SP.WorkManagement.OM.TaskPropertyNames.editUrl="EditUrl";SP.WorkManagement.OM.TaskPropertyNames.id="Id";SP.WorkManagement.OM.TaskPropertyNames.isCompleted="IsCompleted";SP.WorkManagement.OM.TaskPropertyNames.isPersonal="IsPersonal";SP.WorkManagement.OM.TaskPropertyNames.isReadOnly="IsReadOnly";SP.WorkManagement.OM.TaskPropertyNames.lastModified="LastModified";SP.WorkManagement.OM.TaskPropertyNames.locationId="LocationId";SP.WorkManagement.OM.TaskPropertyNames.name="Name";SP.WorkManagement.OM.TaskPropertyNames.pinAge="PinAge";SP.WorkManagement.OM.TaskPropertyNames.serializedCustomDataForClient="SerializedCustomDataForClient";SP.WorkManagement.OM.TaskPropertyNames.startDate="StartDate";SP.WorkManagement.OM.TaskFilterPropertyNames.criterionConcatType="CriterionConcatType";SP.WorkManagement.OM.TaskFilterPropertyNames.idsToFilterBy="IdsToFilterBy";SP.WorkManagement.OM.TaskFilterObjectPropertyNames.completedCriterion="CompletedCriterion";SP.WorkManagement.OM.TaskFilterObjectPropertyNames.dueDateRangeCriterion="DueDateRangeCriterion";SP.WorkManagement.OM.TaskFilterObjectPropertyNames.isNewCriterion="IsNewCriterion";SP.WorkManagement.OM.TaskFilterObjectPropertyNames.nameCriterion="NameCriterion";SP.WorkManagement.OM.TaskFilterObjectPropertyNames.startDateRangeCriterion="StartDateRangeCriterion";SP.WorkManagement.OM.TaskQueryPropertyNames.keywordFilter="KeywordFilter";SP.WorkManagement.OM.TaskQueryPropertyNames.lastQueryTime="LastQueryTime";SP.WorkManagement.OM.TaskQueryPropertyNames.pinnedFilter="PinnedFilter";SP.WorkManagement.OM.TaskQueryObjectPropertyNames.customAttributeFilter="CustomAttributeFilter";SP.WorkManagement.OM.TaskQueryObjectPropertyNames.fieldFilter="FieldFilter";SP.WorkManagement.OM.TaskQueryObjectPropertyNames.lastModifiedDateRangeFilter="LastModifiedDateRangeFilter";SP.WorkManagement.OM.TaskQueryObjectPropertyNames.locationFilter="LocationFilter";SP.WorkManagement.OM.TaskQueryByLocationResultPropertyNames.error="Error";SP.WorkManagement.OM.TaskQueryByLocationResultPropertyNames.errorMessage="ErrorMessage";SP.WorkManagement.OM.TaskQueryByLocationResultObjectPropertyNames.results="Results";SP.WorkManagement.OM.TaskQueryResultPropertyNames.error="Error";SP.WorkManagement.OM.TaskQueryResultPropertyNames.errorMessage="ErrorMessage";SP.WorkManagement.OM.TaskQueryResultObjectPropertyNames.results="Results";SP.WorkManagement.OM.TaskRefreshResultPropertyNames.errorCorrelationId="ErrorCorrelationId";SP.WorkManagement.OM.TaskRefreshResultPropertyNames.refreshState="RefreshState";SP.WorkManagement.OM.TaskRefreshResultObjectPropertyNames.result="Result";SP.WorkManagement.OM.TaskWriteResultPropertyNames.error="Error";SP.WorkManagement.OM.TaskWriteResultPropertyNames.errorMessage="ErrorMessage";SP.WorkManagement.OM.TaskWriteResultObjectPropertyNames.result="Result";SP.WorkManagement.OM.UserSettingsPropertyNames.daysAfterCurrentDateTimelineEnds="DaysAfterCurrentDateTimelineEnds";SP.WorkManagement.OM.UserSettingsPropertyNames.daysATaskIsConsideredNewTask="DaysATaskIsConsideredNewTask";SP.WorkManagement.OM.UserSettingsPropertyNames.daysBeforeCurrentDateTimelineStarts="DaysBeforeCurrentDateTimelineStarts";SP.WorkManagement.OM.UserSettingsPropertyNames.importantLocationIds="ImportantLocationIds";SP.WorkManagement.OM.UserSettingsPropertyNames.importantTasksLimit="ImportantTasksLimit";SP.WorkManagement.OM.UserSettingsPropertyNames.inactiveMonthsBeforeLocationExpiration="InactiveMonthsBeforeLocationExpiration";SP.WorkManagement.OM.UserSettingsPropertyNames.lateTasksLimit="LateTasksLimit";SP.WorkManagement.OM.UserSettingsPropertyNames.oldTasksLimit="OldTasksLimit";SP.WorkManagement.OM.UserSettingsPropertyNames.upcomingTasksLimit="UpcomingTasksLimit";SP.WorkManagement.OM.ViewSelectionInfoPropertyNames.id="Id";SP.WorkManagement.OM.ViewSelectionInfoPropertyNames.image="Image";SP.WorkManagement.OM.ViewSelectionInfoPropertyNames.name="Name";typeof Sys!="undefined"&&Sys&&Sys.Application&&Sys.Application.notifyScriptLoaded();ExecuteOrDelayUntilScriptLoaded(function(){a:;NotifyScriptLoadedAndExecuteWaitingJobs("SP.WorkManagement.js")},"sp.js"); \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.Client.Policy.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.Client.Policy.dll deleted file mode 100644 index dada07e74..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.Client.Policy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.Client.TranslationServices.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.Client.TranslationServices.dll deleted file mode 100644 index 749ac5ecb..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.Client.TranslationServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.SharePoint.Tools.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.SharePoint.Tools.dll deleted file mode 100644 index 9415da09b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Office.SharePoint.Tools.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Online.SharePoint.Client.Tenant.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Online.SharePoint.Client.Tenant.dll deleted file mode 100644 index 45eca9c20..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.Online.SharePoint.Client.Tenant.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.ProjectServer.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.ProjectServer.Client.dll deleted file mode 100644 index a67f54961..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.ProjectServer.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.DocumentManagement.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.DocumentManagement.dll deleted file mode 100644 index 57e5ebd81..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.DocumentManagement.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Publishing.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Publishing.dll deleted file mode 100644 index 3fef05124..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Publishing.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Runtime.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Runtime.dll deleted file mode 100644 index 3734a07c8..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Runtime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Search.Applications.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Search.Applications.dll deleted file mode 100644 index 46a8ae108..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Search.Applications.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Search.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Search.dll deleted file mode 100644 index 4cae0594b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Search.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Taxonomy.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Taxonomy.dll deleted file mode 100644 index dac8abf0b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.Taxonomy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.UserProfiles.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.UserProfiles.dll deleted file mode 100644 index 8ac3b33f1..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.UserProfiles.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.WorkflowServices.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.WorkflowServices.dll deleted file mode 100644 index c7ec4d608..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.WorkflowServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.dll deleted file mode 100644 index 2d9544c10..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net40-full/Microsoft.SharePoint.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.Client.Policy.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.Client.Policy.dll deleted file mode 100644 index dada07e74..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.Client.Policy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.Client.TranslationServices.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.Client.TranslationServices.dll deleted file mode 100644 index 749ac5ecb..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.Client.TranslationServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.SharePoint.Tools.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.SharePoint.Tools.dll deleted file mode 100644 index 9415da09b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Office.SharePoint.Tools.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Online.SharePoint.Client.Tenant.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Online.SharePoint.Client.Tenant.dll deleted file mode 100644 index 45eca9c20..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.Online.SharePoint.Client.Tenant.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.ProjectServer.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.ProjectServer.Client.dll deleted file mode 100644 index a67f54961..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.ProjectServer.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.DocumentManagement.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.DocumentManagement.dll deleted file mode 100644 index 57e5ebd81..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.DocumentManagement.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Publishing.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Publishing.dll deleted file mode 100644 index 3fef05124..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Publishing.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Runtime.Windows.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Runtime.Windows.dll deleted file mode 100644 index a240094dd..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Runtime.Windows.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Runtime.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Runtime.dll deleted file mode 100644 index 3734a07c8..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Runtime.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Search.Applications.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Search.Applications.dll deleted file mode 100644 index 46a8ae108..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Search.Applications.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Search.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Search.dll deleted file mode 100644 index 4cae0594b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Search.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Taxonomy.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Taxonomy.dll deleted file mode 100644 index dac8abf0b..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.Taxonomy.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.UserProfiles.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.UserProfiles.dll deleted file mode 100644 index 8ac3b33f1..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.UserProfiles.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.WorkflowServices.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.WorkflowServices.dll deleted file mode 100644 index c7ec4d608..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.WorkflowServices.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.dll deleted file mode 100644 index 2d9544c10..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/net45/Microsoft.SharePoint.Client.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.Office.Client.Policy.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.Office.Client.Policy.Portable.dll deleted file mode 100644 index 57a62fffe..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.Office.Client.Policy.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.Office.Client.TranslationServices.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.Office.Client.TranslationServices.Portable.dll deleted file mode 100644 index 5dde48164..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.Office.Client.TranslationServices.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.ProjectServer.Client.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.ProjectServer.Client.Portable.dll deleted file mode 100644 index d12257126..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.ProjectServer.Client.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll deleted file mode 100644 index 40b3955fd..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Portable.dll deleted file mode 100644 index ff3fe6c73..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Publishing.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Publishing.Portable.dll deleted file mode 100644 index 7d6eb7d84..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Publishing.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Runtime.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Runtime.Portable.dll deleted file mode 100644 index 1cb0f5b2d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Runtime.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Runtime.WindowsStore.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Runtime.WindowsStore.dll deleted file mode 100644 index 105019d9d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Runtime.WindowsStore.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Search.Applications.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Search.Applications.Portable.dll deleted file mode 100644 index 1d5ae10ca..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Search.Applications.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Search.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Search.Portable.dll deleted file mode 100644 index 0d3cd144f..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Search.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Taxonomy.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Taxonomy.Portable.dll deleted file mode 100644 index 790ea37de..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.Taxonomy.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.UserProfiles.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.UserProfiles.Portable.dll deleted file mode 100644 index 45b6e249d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.UserProfiles.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll deleted file mode 100644 index 868f31156..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/netcore45/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.Office.Client.Policy.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.Office.Client.Policy.Portable.dll deleted file mode 100644 index 57a62fffe..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.Office.Client.Policy.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.Office.Client.TranslationServices.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.Office.Client.TranslationServices.Portable.dll deleted file mode 100644 index 5dde48164..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.Office.Client.TranslationServices.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.ProjectServer.Client.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.ProjectServer.Client.Portable.dll deleted file mode 100644 index d12257126..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.ProjectServer.Client.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll deleted file mode 100644 index 40b3955fd..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Portable.dll deleted file mode 100644 index ff3fe6c73..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Publishing.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Publishing.Portable.dll deleted file mode 100644 index 7d6eb7d84..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Publishing.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Runtime.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Runtime.Portable.dll deleted file mode 100644 index 1cb0f5b2d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Runtime.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Search.Applications.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Search.Applications.Portable.dll deleted file mode 100644 index 1d5ae10ca..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Search.Applications.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Search.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Search.Portable.dll deleted file mode 100644 index 0d3cd144f..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Search.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Taxonomy.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Taxonomy.Portable.dll deleted file mode 100644 index 790ea37de..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.Taxonomy.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.UserProfiles.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.UserProfiles.Portable.dll deleted file mode 100644 index 45b6e249d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.UserProfiles.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll deleted file mode 100644 index 868f31156..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/portable-net45+netcore45+wpa81/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.Office.Client.Policy.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.Office.Client.Policy.Portable.dll deleted file mode 100644 index 57a62fffe..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.Office.Client.Policy.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.Office.Client.TranslationServices.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.Office.Client.TranslationServices.Portable.dll deleted file mode 100644 index 5dde48164..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.Office.Client.TranslationServices.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.ProjectServer.Client.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.ProjectServer.Client.Portable.dll deleted file mode 100644 index d12257126..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.ProjectServer.Client.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll deleted file mode 100644 index 40b3955fd..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.DocumentManagement.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Portable.dll deleted file mode 100644 index ff3fe6c73..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Publishing.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Publishing.Portable.dll deleted file mode 100644 index 7d6eb7d84..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Publishing.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Runtime.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Runtime.Portable.dll deleted file mode 100644 index 1cb0f5b2d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Runtime.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Runtime.WindowsPhone.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Runtime.WindowsPhone.dll deleted file mode 100644 index de809039a..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Runtime.WindowsPhone.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Search.Applications.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Search.Applications.Portable.dll deleted file mode 100644 index 1d5ae10ca..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Search.Applications.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Search.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Search.Portable.dll deleted file mode 100644 index 0d3cd144f..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Search.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Taxonomy.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Taxonomy.Portable.dll deleted file mode 100644 index 790ea37de..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.Taxonomy.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.UserProfiles.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.UserProfiles.Portable.dll deleted file mode 100644 index 45b6e249d..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.UserProfiles.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll b/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll deleted file mode 100644 index 868f31156..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.SharePointOnline.CSOM.16.1.5813.1200/lib/wpa/Microsoft.SharePoint.Client.WorkflowServices.Portable.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/Microsoft.WindowsAzure.ConfigurationManager.3.2.1.nupkg b/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/Microsoft.WindowsAzure.ConfigurationManager.3.2.1.nupkg deleted file mode 100644 index 00bb3fabb..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/Microsoft.WindowsAzure.ConfigurationManager.3.2.1.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/lib/net40/Microsoft.WindowsAzure.Configuration.dll b/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/lib/net40/Microsoft.WindowsAzure.Configuration.dll deleted file mode 100644 index 66f467058..000000000 Binary files a/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/lib/net40/Microsoft.WindowsAzure.Configuration.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/lib/net40/Microsoft.WindowsAzure.Configuration.xml b/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/lib/net40/Microsoft.WindowsAzure.Configuration.xml deleted file mode 100644 index 181a64c8c..000000000 --- a/samples/js-bot-framework/bot/packages/Microsoft.WindowsAzure.ConfigurationManager.3.2.1/lib/net40/Microsoft.WindowsAzure.Configuration.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - Microsoft.WindowsAzure.Configuration - - - - - Configuration manager for accessing Microsoft Azure settings. - - - - - Gets a setting with the given name. - - Setting name. - Setting value or null if not found. - - - - Gets a setting with the given name. Trace results. - - This overloaded function is kept for backward compabability. - Setting name. - Setting value or null if not found. - - - - Gets application settings. - - - - - 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 "{0}" cannot be an empty string.. - - - - - Microsoft Azure settings. - - - - - Initializes global application settings (such as writing to the Trace singleton) - - - - - Initializes the settings. - - - - - Checks whether the given exception represents an exception throws - for a missing setting. - - Exception - True for the missing setting exception. - - - - Gets a setting with the given name. - - Setting name. - Setting value or null if such setting does not exist. - - - - Gets setting's value from the given provider. - - Provider name. - Setting name - Method to obtain given setting. - Setting value, or null if not found. - - - - Gets a configuration setting from the service runtime. - - Setting name. - Setting value or null if not found. - - - - Loads and returns the latest available version of the service - runtime assembly. - - Loaded assembly, if any. - - - - Writes to trace output if WriteToTrace is true - - The message to write to Trace - - - - Gets an assembly path from the GAC given a partial name. - - An assembly partial name. May not be null. - - The assembly path if found; otherwise null; - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg deleted file mode 100644 index aa8cd681f..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/Newtonsoft.Json.8.0.3.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll deleted file mode 100644 index 3e05fe371..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml deleted file mode 100644 index 13bb30e7e..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net20/Newtonsoft.Json.xml +++ /dev/null @@ -1,9676 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Provides a set of static (Shared in Visual Basic) methods for - querying objects that implement . - - - - - Returns the input typed as . - - - - - Returns an empty that has the - specified type argument. - - - - - Converts the elements of an to the - specified type. - - - - - Filters the elements of an based on a specified type. - - - - - Generates a sequence of integral numbers within a specified range. - - The value of the first integer in the sequence. - The number of sequential integers to generate. - - - - Generates a sequence that contains one repeated value. - - - - - Filters a sequence of values based on a predicate. - - - - - Filters a sequence of values based on a predicate. - Each element's index is used in the logic of the predicate function. - - - - - Projects each element of a sequence into a new form. - - - - - Projects each element of a sequence into a new form by - incorporating the element's index. - - - - - Projects each element of a sequence to an - and flattens the resulting sequences into one sequence. - - - - - Projects each element of a sequence to an , - and flattens the resulting sequences into one sequence. The - index of each source element is used in the projected form of - that element. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. - - - - - Projects each element of a sequence to an , - flattens the resulting sequences into one sequence, and invokes - a result selector function on each element therein. The index of - each source element is used in the intermediate projected form - of that element. - - - - - Returns elements from a sequence as long as a specified condition is true. - - - - - Returns elements from a sequence as long as a specified condition is true. - The element's index is used in the logic of the predicate function. - - - - - Base implementation of First operator. - - - - - Returns the first element of a sequence. - - - - - Returns the first element in a sequence that satisfies a specified condition. - - - - - Returns the first element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the first element of the sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Last operator. - - - - - Returns the last element of a sequence. - - - - - Returns the last element of a sequence that satisfies a - specified condition. - - - - - Returns the last element of a sequence, or a default value if - the sequence contains no elements. - - - - - Returns the last element of a sequence that satisfies a - condition or a default value if no such element is found. - - - - - Base implementation of Single operator. - - - - - Returns the only element of a sequence, and throws an exception - if there is not exactly one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition, and throws an exception if more than one - such element exists. - - - - - Returns the only element of a sequence, or a default value if - the sequence is empty; this method throws an exception if there - is more than one element in the sequence. - - - - - Returns the only element of a sequence that satisfies a - specified condition or a default value if no such element - exists; this method throws an exception if more than one element - satisfies the condition. - - - - - Returns the element at a specified index in a sequence. - - - - - Returns the element at a specified index in a sequence or a - default value if the index is out of range. - - - - - Inverts the order of the elements in a sequence. - - - - - Returns a specified number of contiguous elements from the start - of a sequence. - - - - - Bypasses a specified number of elements in a sequence and then - returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. - - - - - Bypasses elements in a sequence as long as a specified condition - is true and then returns the remaining elements. The element's - index is used in the logic of the predicate function. - - - - - Returns the number of elements in a sequence. - - - - - Returns a number that represents how many elements in the - specified sequence satisfy a condition. - - - - - Returns an that represents the total number - of elements in a sequence. - - - - - Returns an that represents how many elements - in a sequence satisfy a condition. - - - - - Concatenates two sequences. - - - - - Creates a from an . - - - - - Creates an array from an . - - - - - Returns distinct elements from a sequence by using the default - equality comparer to compare values. - - - - - Returns distinct elements from a sequence by using a specified - to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and a key comparer. - - - - - Creates a from an - according to specified key - and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer and an element selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function. - - - - - Groups the elements of a sequence according to a specified key - selector function and compares the keys by using a specified - comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and projects the elements for each group by - using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. - - - - - Groups the elements of a sequence according to a key selector - function. The keys are compared by using a comparer and each - group's elements are projected by using a specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The elements of each group are projected by using a - specified function. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. The keys are compared by using a specified comparer. - - - - - Groups the elements of a sequence according to a specified key - selector function and creates a result value from each group and - its key. Key values are compared by using a specified comparer, - and the elements of each group are projected by using a - specified function. - - - - - Applies an accumulator function over a sequence. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value. - - - - - Applies an accumulator function over a sequence. The specified - seed value is used as the initial accumulator value, and the - specified function is used to select the result value. - - - - - Produces the set union of two sequences by using the default - equality comparer. - - - - - Produces the set union of two sequences by using a specified - . - - - - - Returns the elements of the specified sequence or the type - parameter's default value in a singleton collection if the - sequence is empty. - - - - - Returns the elements of the specified sequence or the specified - value in a singleton collection if the sequence is empty. - - - - - Determines whether all elements of a sequence satisfy a condition. - - - - - Determines whether a sequence contains any elements. - - - - - Determines whether any element of a sequence satisfies a - condition. - - - - - Determines whether a sequence contains a specified element by - using the default equality comparer. - - - - - Determines whether a sequence contains a specified element by - using a specified . - - - - - Determines whether two sequences are equal by comparing the - elements by using the default equality comparer for their type. - - - - - Determines whether two sequences are equal by comparing their - elements by using a specified . - - - - - Base implementation for Min/Max operator. - - - - - Base implementation for Min/Max operator for nullable types. - - - - - Returns the minimum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the minimum resulting value. - - - - - Returns the maximum value in a generic sequence. - - - - - Invokes a transform function on each element of a generic - sequence and returns the maximum resulting value. - - - - - Makes an enumerator seen as enumerable once more. - - - The supplied enumerator must have been started. The first element - returned is the element the enumerator was on when passed in. - DO NOT use this method if the caller must be a generator. It is - mostly safe among aggregate operations. - - - - - Sorts the elements of a sequence in ascending order according to a key. - - - - - Sorts the elements of a sequence in ascending order by using a - specified comparer. - - - - - Sorts the elements of a sequence in descending order according to a key. - - - - - Sorts the elements of a sequence in descending order by using a - specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - ascending order by using a specified comparer. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order, according to a key. - - - - - Performs a subsequent ordering of the elements in a sequence in - descending order by using a specified comparer. - - - - - Base implementation for Intersect and Except operators. - - - - - Produces the set intersection of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set intersection of two sequences by using the - specified to compare values. - - - - - Produces the set difference of two sequences by using the - default equality comparer to compare values. - - - - - Produces the set difference of two sequences by using the - specified to compare values. - - - - - Creates a from an - according to a specified key - selector function. - - - - - Creates a from an - according to a specified key - selector function and key comparer. - - - - - Creates a from an - according to specified key - selector and element selector functions. - - - - - Creates a from an - according to a specified key - selector function, a comparer, and an element selector function. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. - - - - - Correlates the elements of two sequences based on matching keys. - The default equality comparer is used to compare keys. A - specified is used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. - - - - - Correlates the elements of two sequences based on equality of - keys and groups the results. The default equality comparer is - used to compare keys. A specified - is used to compare keys. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Computes the sum of a sequence of nullable values. - - - - - Computes the sum of a sequence of nullable - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of nullable values. - - - - - Computes the average of a sequence of nullable values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Computes the sum of a sequence of values. - - - - - Computes the sum of a sequence of - values that are obtained by invoking a transform function on - each element of the input sequence. - - - - - Computes the average of a sequence of values. - - - - - Computes the average of a sequence of values - that are obtained by invoking a transform function on each - element of the input sequence. - - - - - Returns the minimum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the minimum nullable value. - - - - - Returns the maximum value in a sequence of nullable - values. - - - - - Invokes a transform function on each element of a sequence and - returns the maximum nullable value. - - - - - Represents a collection of objects that have a common key. - - - - - Gets the key of the . - - - - - Defines an indexer, size property, and Boolean search method for - data structures that map keys to - sequences of values. - - - - - Represents a sorted sequence. - - - - - Performs a subsequent ordering on the elements of an - according to a key. - - - - - Represents a collection of keys each mapped to one or more values. - - - - - Gets the number of key/value collection pairs in the . - - - - - Gets the collection of values indexed by the specified key. - - - - - Determines whether a specified key is in the . - - - - - Applies a transform function to each key and its associated - values and returns the results. - - - - - Returns a generic enumerator that iterates through the . - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - See issue #11 - for why this method is needed and cannot be expressed as a - lambda at the call site. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - This attribute allows us to define extension methods without - requiring .NET Framework 3.5. For more information, see the section, - Extension Methods in .NET Framework 2.0 Apps, - of Basic Instincts: Extension Methods - column in
MSDN Magazine, - issue Nov 2007. - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll deleted file mode 100644 index f2666d52c..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml deleted file mode 100644 index 9dd6a31bf..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net35/Newtonsoft.Json.xml +++ /dev/null @@ -1,8805 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll deleted file mode 100644 index e523dc310..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml deleted file mode 100644 index 5917bb077..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net40/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Represents a collection of . - - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll deleted file mode 100644 index b7ef414f3..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml deleted file mode 100644 index 1a0d09d7e..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/net45/Newtonsoft.Json.xml +++ /dev/null @@ -1,9112 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a binary value to and from a base 64 string value. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an Entity Framework EntityKey to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the XML node to a JSON string. - - The node to serialize. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting. - - The node to serialize. - Indicates how the output is formatted. - A JSON string of the XmlNode. - - - - Serializes the XML node to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XmlNode. - - - - Deserializes the XmlNode from a JSON string. - - The JSON string. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XmlNode - - - - Deserializes the XmlNode from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XmlNode - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the list changes or an item in the list changes. - - - - - Occurs before an item is added to the collection. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Occurs when a property value is changing. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the properties for this instance of a component. - - - A that represents the properties for this component instance. - - - - - Returns the properties for this instance of a component using the attribute array as a filter. - - An array of type that is used as a filter. - - A that represents the filtered properties for this component instance. - - - - - Returns a collection of custom attributes for this instance of a component. - - - An containing the attributes for this object. - - - - - Returns the class name of this instance of a component. - - - The class name of the object, or null if the class does not have a name. - - - - - Returns the name of this instance of a component. - - - The name of the object, or null if the object does not have a name. - - - - - Returns a type converter for this instance of a component. - - - A that is the converter for this object, or null if there is no for this object. - - - - - Returns the default event for this instance of a component. - - - An that represents the default event for this object, or null if this object does not have events. - - - - - Returns the default property for this instance of a component. - - - A that represents the default property for this object, or null if this object does not have properties. - - - - - Returns an editor of the specified type for this instance of a component. - - A that represents the editor for this object. - - An of the specified type that is the editor for this object, or null if the editor cannot be found. - - - - - Returns the events for this instance of a component using the specified attribute array as a filter. - - An array of type that is used as a filter. - - An that represents the filtered events for this component instance. - - - - - Returns the events for this instance of a component. - - - An that represents the events for this component instance. - - - - - Returns an object that contains the property described by the specified property descriptor. - - A that represents the property whose owner is to be found. - - An that represents the owner of the specified property. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a view of a . - - - - - Initializes a new instance of the class. - - The name. - - - - When overridden in a derived class, returns whether resetting an object changes its value. - - - true if resetting the component changes its value; otherwise, false. - - The component to test for reset capability. - - - - - When overridden in a derived class, gets the current value of the property on a component. - - - The value of a property for a given component. - - The component with the property for which to retrieve the value. - - - - - When overridden in a derived class, resets the value for this property of the component to the default value. - - The component with the property value that is to be reset to the default value. - - - - - When overridden in a derived class, sets the value of the component to a different value. - - The component with the property value that is to be set. - The new value. - - - - - When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted. - - - true if the property should be persisted; otherwise, false. - - The component with the property to be examined for persistence. - - - - - When overridden in a derived class, gets the type of the component this property is bound to. - - - A that represents the type of component this property is bound to. When the or methods are invoked, the object specified might be an instance of this type. - - - - - When overridden in a derived class, gets a value indicating whether this property is read-only. - - - true if the property is read-only; otherwise, false. - - - - - When overridden in a derived class, gets the type of the property. - - - A that represents the type of the property. - - - - - Gets the hash code for the name of the member. - - - - The hash code for the name of the member. - - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Initializes a new instance of the class. - - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - The parameter is null. - The class name is null or is zero (0). - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the interface when serializing and deserializing types. - - - true if the interface will be ignored when serializing and deserializing types; otherwise, false. - - - - - Gets or sets a value indicating whether to ignore the attribute when serializing and deserializing types. - - - true if the attribute will be ignored when serializing and deserializing types; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Represents a trace writer that writes to the application's instances. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the ISerializable object constructor. - - The ISerializable object constructor. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll deleted file mode 100644 index 9973ce985..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml deleted file mode 100644 index 367b60373..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.xml +++ /dev/null @@ -1,8290 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets the default members search flags. - - The default members search flags. - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll deleted file mode 100644 index 1e62440e4..000000000 Binary files a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml deleted file mode 100644 index 63907db25..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/lib/portable-net45+wp80+win8+wpa81+dnxcore50/Newtonsoft.Json.xml +++ /dev/null @@ -1,8637 +0,0 @@ - - - - Newtonsoft.Json - - - - - Represents a BSON Oid (object id). - - - - - Gets or sets the value of the Oid. - - The value of the Oid. - - - - Initializes a new instance of the class. - - The Oid value. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets or sets a value indicating whether binary data reading should compatible with incorrect Json.NET 3.5 written binary. - - - true if binary data reading will be compatible with incorrect Json.NET 3.5 written binary; otherwise, false. - - - - - Gets or sets a value indicating whether the root object will be read as a JSON array. - - - true if the root object will be read as a JSON array; otherwise, false. - - - - - Gets or sets the used when reading values from BSON. - - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The reader. - - - - Initializes a new instance of the class. - - The stream. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Initializes a new instance of the class. - - The reader. - if set to true the root object will be read as a JSON array. - The used when reading values from BSON. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Changes the to Closed. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the used when writing values to BSON. - When set to no conversion will occur. - - The used when writing values to BSON. - - - - Initializes a new instance of the class. - - The stream. - - - - Initializes a new instance of the class. - - The writer. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Writes the end. - - The token. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes the beginning of a JSON array. - - - - - Writes the beginning of a JSON object. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Closes this stream and the underlying stream. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value that represents a BSON object id. - - The Object ID value to write. - - - - Writes a BSON regex. - - The regex pattern. - The regex options. - - - - Specifies how constructors are used when initializing objects during deserialization by the . - - - - - First attempt to use the public default constructor, then fall back to single paramatized constructor, then the non-public default constructor. - - - - - Json.NET will use a non-public default constructor before falling back to a paramatized constructor. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Create a custom object - - The object type to convert. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Creates an object which will then be populated by the serializer. - - Type of the object. - The created object. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Provides a base class for converting a to and from JSON. - - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a F# discriminated union type to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an ExpandoObject to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Gets a value indicating whether this can write JSON. - - - true if this can write JSON; otherwise, false. - - - - - Converts a to and from the ISO 8601 date format (e.g. 2008-04-12T12:53Z). - - - - - Gets or sets the date time styles used when converting a date to and from JSON. - - The date time styles used when converting a date to and from JSON. - - - - Gets or sets the date time format used when converting a date to and from JSON. - - The date time format used when converting a date to and from JSON. - - - - Gets or sets the culture used when converting a date to and from JSON. - - The culture used when converting a date to and from JSON. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Converts a to and from a JavaScript date constructor (e.g. new Date(52231943)). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Converts a to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from JSON and BSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts an to and from its name string value. - - - - - Gets or sets a value indicating whether the written enum text should be camel case. - - true if the written enum text will be camel case; otherwise, false. - - - - Gets or sets a value indicating whether integer values are allowed. - - true if integers are allowed; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - true if the written enum text will be camel case; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts a to and from a string (e.g. "1.2.3.4"). - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing property value of the JSON that is being converted. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - Converts XML to and from JSON. - - - - - Gets or sets the name of the root element to insert when deserializing to XML if the JSON structure has produces multiple root elements. - - The name of the deserialize root element. - - - - Gets or sets a flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - true if the array attibute is written to the XML; otherwise, false. - - - - Gets or sets a value indicating whether to write the root JSON object. - - true if the JSON root object is omitted; otherwise, false. - - - - Writes the JSON representation of the object. - - The to write to. - The calling serializer. - The value. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Checks if the attributeName is a namespace attribute. - - Attribute name to test. - The attribute name prefix if it has one, otherwise an empty string. - True if attribute name is for a namespace attribute, otherwise false. - - - - Determines whether this instance can convert the specified value type. - - Type of the value. - - true if this instance can convert the specified value type; otherwise, false. - - - - - Specifies how dates are formatted when writing JSON text. - - - - - Dates are written in the ISO 8601 format, e.g. "2012-03-21T05:40Z". - - - - - Dates are written in the Microsoft JSON format, e.g. "\/Date(1198908717056)\/". - - - - - Specifies how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON text. - - - - - Date formatted strings are not parsed to a date type and are read as strings. - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed to . - - - - - Specifies how to treat the time value when converting between string and . - - - - - Treat as local time. If the object represents a Coordinated Universal Time (UTC), it is converted to the local time. - - - - - Treat as a UTC. If the object represents a local time, it is converted to a UTC. - - - - - Treat as a local time if a is being converted to a string. - If a string is being converted to , convert to a local time if a time zone is specified. - - - - - Time zone information should be preserved when converting. - - - - - Specifies default value handling options for the . - - - - - - - - - Include members where the member value is the same as the member's default value when serializing objects. - Included members are written to JSON. Has no effect when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - so that is is not written to JSON. - This option will ignore all default values (e.g. null for objects and nullable types; 0 for integers, - decimals and floating point numbers; and false for booleans). The default value ignored can be changed by - placing the on the property. - - - - - Members with a default value but no JSON will be set to their default value when deserializing. - - - - - Ignore members where the member value is the same as the member's default value when serializing objects - and sets members to their default value when deserializing. - - - - - Specifies float format handling options when writing special floating point numbers, e.g. , - and with . - - - - - Write special floating point values as strings in JSON, e.g. "NaN", "Infinity", "-Infinity". - - - - - Write special floating point values as symbols in JSON, e.g. NaN, Infinity, -Infinity. - Note that this will produce non-valid JSON. - - - - - Write special floating point values as the property's default value in JSON, e.g. 0.0 for a property, null for a property. - - - - - Specifies how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Floating point numbers are parsed to . - - - - - Floating point numbers are parsed to . - - - - - Specifies formatting options for the . - - - - - No special formatting is applied. This is the default. - - - - - Causes child objects to be indented according to the and settings. - - - - - Provides an interface for using pooled arrays. - - The array type content. - - - - Rent a array from the pool. This array must be returned when it is no longer needed. - - The minimum required length of the array. The returned array may be longer. - The rented array from the pool. This array must be returned when it is no longer needed. - - - - Return an array to the pool. - - The array that is being returned. - - - - Provides an interface to enable a class to return line and position information. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Gets the current line position. - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - Instructs the how to serialize the collection. - - - - - Gets or sets a value indicating whether null items are allowed in the collection. - - true if null items are allowed in the collection; otherwise, false. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a flag indicating whether the array can contain null items - - A flag indicating whether the array can contain null items. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to use the specified constructor when deserializing that object. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the id. - - The id. - - - - Gets or sets the title. - - The title. - - - - Gets or sets the description. - - The description. - - - - Gets the collection's items converter. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonContainer(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets a value that indicates whether to preserve object references. - - - true to keep object reference; otherwise, false. The default is false. - - - - - Gets or sets a value that indicates whether to preserve collection's items references. - - - true to keep collection's items object references; otherwise, false. The default is false. - - - - - Gets or sets the reference loop handling used when serializing the collection's items. - - The reference loop handling. - - - - Gets or sets the type name handling used when serializing the collection's items. - - The type name handling. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Provides methods for converting between common language runtime types and JSON types. - - - - - - - - Gets or sets a function that creates default . - Default settings are automatically used by serialization methods on , - and and on . - To serialize without using any default settings create a with - . - - - - - Represents JavaScript's boolean value true as a string. This field is read-only. - - - - - Represents JavaScript's boolean value false as a string. This field is read-only. - - - - - Represents JavaScript's null as a string. This field is read-only. - - - - - Represents JavaScript's undefined as a string. This field is read-only. - - - - - Represents JavaScript's positive infinity as a string. This field is read-only. - - - - - Represents JavaScript's negative infinity as a string. This field is read-only. - - - - - Represents JavaScript's NaN as a string. This field is read-only. - - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - The time zone handling when the date is converted to a string. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation using the specified. - - The value to convert. - The format the date will be converted to. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - The string delimiter character. - The string escape handling. - A JSON string representation of the . - - - - Converts the to its JSON string representation. - - The value to convert. - A JSON string representation of the . - - - - Serializes the specified object to a JSON string. - - The object to serialize. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting. - - The object to serialize. - Indicates how the output is formatted. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a collection of . - - The object to serialize. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using formatting and a collection of . - - The object to serialize. - Indicates how the output is formatted. - A collection converters used while serializing. - A JSON string representation of the object. - - - - Serializes the specified object to a JSON string using . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A JSON string representation of the object. - - - - - Serializes the specified object to a JSON string using a type, formatting and . - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - A JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string. - Serialization will happen on a new thread. - - The object to serialize. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting. - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Asynchronously serializes the specified object to a JSON string using formatting and a collection of . - Serialization will happen on a new thread. - - The object to serialize. - Indicates how the output is formatted. - The used to serialize the object. - If this is null, default serialization settings will be used. - - A task that represents the asynchronous serialize operation. The value of the TResult parameter contains a JSON string representation of the object. - - - - - Deserializes the JSON to a .NET object. - - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to a .NET object using . - - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The JSON to deserialize. - The of object being deserialized. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type. - - The type of the object to deserialize to. - The JSON to deserialize. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the given anonymous type. - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the given anonymous type using . - - - The anonymous type to deserialize to. This can't be specified - traditionally and must be infered from the anonymous type passed - as a parameter. - - The JSON to deserialize. - The anonymous type object. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized anonymous type from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The type of the object to deserialize to. - The JSON to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The type of the object to deserialize to. - The object to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using a collection of . - - The JSON to deserialize. - The type of the object to deserialize. - Converters to use while deserializing. - The deserialized object from the JSON string. - - - - Deserializes the JSON to the specified .NET type using . - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - The deserialized object from the JSON string. - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The type of the object to deserialize to. - The JSON to deserialize. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type. - Deserialization will happen on a new thread. - - The JSON to deserialize. - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Asynchronously deserializes the JSON to the specified .NET type using . - Deserialization will happen on a new thread. - - The JSON to deserialize. - The type of the object to deserialize to. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous deserialize operation. The value of the TResult parameter contains the deserialized object from the JSON string. - - - - - Populates the object with values from the JSON string. - - The JSON to populate values from. - The target object to populate values onto. - - - - Populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - - - Asynchronously populates the object with values from the JSON string using . - - The JSON to populate values from. - The target object to populate values onto. - - The used to deserialize the object. - If this is null, default serialization settings will be used. - - - A task that represents the asynchronous populate operation. - - - - - Serializes the to a JSON string. - - The node to convert to JSON. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting. - - The node to convert to JSON. - Indicates how the output is formatted. - A JSON string of the XNode. - - - - Serializes the to a JSON string using formatting and omits the root object if is true. - - The node to serialize. - Indicates how the output is formatted. - Omits writing the root object. - A JSON string of the XNode. - - - - Deserializes the from a JSON string. - - The JSON string. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by . - - The JSON string. - The name of the root element to append when deserializing. - The deserialized XNode - - - - Deserializes the from a JSON string nested in a root elment specified by - and writes a .NET array attribute for collections. - - The JSON string. - The name of the root element to append when deserializing. - - A flag to indicate whether to write the Json.NET array attribute. - This attribute helps preserve arrays when converting the written XML back to JSON. - - The deserialized XNode - - - - Converts an object to and from JSON. - - - - - Writes the JSON representation of the object. - - The to write to. - The value. - The calling serializer. - - - - Reads the JSON representation of the object. - - The to read from. - Type of the object. - The existing value of object being read. - The calling serializer. - The object value. - - - - Determines whether this instance can convert the specified object type. - - Type of the object. - - true if this instance can convert the specified object type; otherwise, false. - - - - - - Gets the of the JSON produced by the JsonConverter. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The of the JSON produced by the JsonConverter. - - - - Gets a value indicating whether this can read JSON. - - true if this can read JSON; otherwise, false. - - - - Gets a value indicating whether this can write JSON. - - true if this can write JSON; otherwise, false. - - - - Instructs the to use the specified when serializing the member or class. - - - - - Gets the of the converter. - - The of the converter. - - - - The parameter list to use when constructing the JsonConverter described by ConverterType. - If null, the default constructor is used. - - - - - Initializes a new instance of the class. - - Type of the converter. - - - - Initializes a new instance of the class. - - Type of the converter. - Parameter list to use when constructing the JsonConverter. Can be null. - - - - Represents a collection of . - - - - - Instructs the how to serialize the collection. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to deserialize properties with no matching class member into the specified collection - and write values during serialization. - - - - - Gets or sets a value that indicates whether to write extension data when serializing the object. - - - true to write extension data when serializing the object; otherwise, false. The default is true. - - - - - Gets or sets a value that indicates whether to read extension data when deserializing the object. - - - true to read extension data when deserializing the object; otherwise, false. The default is true. - - - - - Initializes a new instance of the class. - - - - - Instructs the not to serialize the public field or public read/write property value. - - - - - Instructs the how to serialize the object. - - - - - Gets or sets the member serialization. - - The member serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified member serialization. - - The member serialization. - - - - Initializes a new instance of the class with the specified container Id. - - The container Id. - - - - Instructs the to always serialize the member with the specified name. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - The parameter list to use when constructing the JsonConverter described by ItemConverterType. - If null, the default constructor is used. - When non-null, there must be a constructor defined in the JsonConverter that exactly matches the number, - order, and type of these parameters. - - - [JsonProperty(ItemConverterType = typeof(MyContainerConverter), ItemConverterParameters = new object[] { 123, "Four" })] - - - - - Gets or sets the null value handling used when serializing this property. - - The null value handling. - - - - Gets or sets the default value handling used when serializing this property. - - The default value handling. - - - - Gets or sets the reference loop handling used when serializing this property. - - The reference loop handling. - - - - Gets or sets the object creation handling used when deserializing this property. - - The object creation handling. - - - - Gets or sets the type name handling used when serializing this property. - - The type name handling. - - - - Gets or sets whether this property's value is serialized as a reference. - - Whether this property's value is serialized as a reference. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets a value indicating whether this property is required. - - - A value indicating whether this property is required. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - Name of the property. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Specifies the state of the reader. - - - - - The Read method has not been called. - - - - - The end of the file has been reached successfully. - - - - - Reader is at a property. - - - - - Reader is at the start of an object. - - - - - Reader is in an object. - - - - - Reader is at the start of an array. - - - - - Reader is in an array. - - - - - The Close method has been called. - - - - - Reader has just read a value. - - - - - Reader is at the start of a constructor. - - - - - Reader in a constructor. - - - - - An error occurred that prevents the read operation from continuing. - - - - - The end of the file has been reached successfully. - - - - - Gets the current reader state. - - The current reader state. - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the reader is closed. - - - true to close the underlying stream or when - the reader is closed; otherwise false. The default is true. - - - - - Gets or sets a value indicating whether multiple pieces of JSON content can - be read from a continuous stream without erroring. - - - true to support reading multiple pieces of JSON content; otherwise false. The default is false. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - Get or set how time zones are handling when reading JSON. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how custom date formatted strings are parsed when reading JSON. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets the type of the current JSON token. - - - - - Gets the text value of the current JSON token. - - - - - Gets The Common Language Runtime (CLR) type for the current JSON token. - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Initializes a new instance of the class with the specified . - - - - - Reads the next JSON token from the stream. - - true if the next token was read successfully; false if there are no more tokens to read. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Skips the children of the current token. - - - - - Sets the current token. - - The new token. - - - - Sets the current token and value. - - The new token. - The value. - - - - Sets the state based on current token type. - - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Changes the to Closed. - - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Instructs the to always serialize the member, and require the member has a value. - - - - - The exception thrown when an error occurs during JSON serialization or deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Serializes and deserializes objects into and from the JSON format. - The enables you to control how objects are encoded into JSON. - - - - - Occurs when the errors during serialization and deserialization. - - - - - Gets or sets the used by the serializer when resolving references. - - - - - Gets or sets the used by the serializer when resolving type names. - - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how object references are preserved by the serializer. - - - - - Get or set how reference loops (e.g. a class referencing itself) is handled. - - - - - Get or set how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - - - - Get or set how null values are handled during serialization and deserialization. - - - - - Get or set how null default are handled during serialization and deserialization. - - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets a collection that will be used during serialization. - - Collection that will be used during serialization. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Gets a value indicating whether there will be a check for additional JSON content after deserializing an object. - - - true if there will be a check for additional JSON content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Creates a new instance. - The will not use default settings - from . - - - A new instance. - The will not use default settings - from . - - - - - Creates a new instance using the specified . - The will not use default settings - from . - - The settings to be applied to the . - - A new instance using the specified . - The will not use default settings - from . - - - - - Creates a new instance. - The will use default settings - from . - - - A new instance. - The will use default settings - from . - - - - - Creates a new instance using the specified . - The will use default settings - from as well as the specified . - - The settings to be applied to the . - - A new instance using the specified . - The will use default settings - from as well as the specified . - - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Populates the JSON values onto the target object. - - The that contains the JSON structure to reader values from. - The target object to populate values onto. - - - - Deserializes the JSON structure contained by the specified . - - The that contains the JSON structure to deserialize. - The being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The type of the object to deserialize. - The instance of being deserialized. - - - - Deserializes the JSON structure contained by the specified - into an instance of the specified type. - - The containing the object. - The of object being deserialized. - The instance of being deserialized. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - The type of the value being serialized. - This parameter is used when is Auto to write out the type name if the type of the value does not match. - Specifing the type is optional. - - - - - Serializes the specified and writes the JSON structure - to a Stream using the specified . - - The used to write the JSON structure. - The to serialize. - - - - Specifies the settings on a object. - - - - - Gets or sets how reference loops (e.g. a class referencing itself) is handled. - - Reference loop handling. - - - - Gets or sets how missing members (e.g. JSON contains a property that isn't a member on the object) are handled during deserialization. - - Missing member handling. - - - - Gets or sets how objects are created during deserialization. - - The object creation handling. - - - - Gets or sets how null values are handled during serialization and deserialization. - - Null value handling. - - - - Gets or sets how null default are handled during serialization and deserialization. - - The default value handling. - - - - Gets or sets a collection that will be used during serialization. - - The converters. - - - - Gets or sets how object references are preserved by the serializer. - - The preserve references handling. - - - - Gets or sets how type name writing and reading is handled by the serializer. - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - The type name handling. - - - - Gets or sets how metadata properties are used during deserialization. - - The metadata properties handling. - - - - Gets or sets how a type name assembly is written and resolved by the serializer. - - The type name assembly format. - - - - Gets or sets how constructors are used during deserialization. - - The constructor handling. - - - - Gets or sets the contract resolver used by the serializer when - serializing .NET objects to JSON and vice versa. - - The contract resolver. - - - - Gets or sets the equality comparer used by the serializer when comparing references. - - The equality comparer. - - - - Gets or sets the used by the serializer when resolving references. - - The reference resolver. - - - - Gets or sets a function that creates the used by the serializer when resolving references. - - A function that creates the used by the serializer when resolving references. - - - - Gets or sets the used by the serializer when writing trace messages. - - The trace writer. - - - - Gets or sets the used by the serializer when resolving type names. - - The binder. - - - - Gets or sets the error handler called during serialization and deserialization. - - The error handler called during serialization and deserialization. - - - - Gets or sets the used by the serializer when invoking serialization callback methods. - - The context. - - - - Get or set how and values are formatted when writing JSON text, and the expected date format when reading JSON text. - - - - - Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a . - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling during serialization and deserialization. - - - - - Get or set how date formatted strings, e.g. "\/Date(1198908717056)\/" and "2012-03-21T05:40Z", are parsed when reading JSON. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written as JSON. - - - - - Get or set how floating point numbers, e.g. 1.0 and 9.9, are parsed when reading JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Gets or sets the culture used when reading JSON. Defaults to . - - - - - Gets a value indicating whether there will be a check for additional content after deserializing an object. - - - true if there will be a check for additional content after deserializing an object; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Represents a reader that provides fast, non-cached, forward-only access to JSON text data. - - - - - Initializes a new instance of the class with the specified . - - The TextReader containing the XML data to read. - - - - Gets or sets the reader's character buffer pool. - - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a []. - - A [] or a null reference if the next JSON token is null. This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Changes the state to closed. - - - - - Gets a value indicating whether the class can return line information. - - - true if LineNumber and LinePosition can be provided; otherwise, false. - - - - - Gets the current line number. - - - The current line number or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Gets the current line position. - - - The current line position or 0 if no line information is available (for example, HasLineInfo returns false). - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets the writer's character array pool. - - - - - Gets or sets how many IndentChars to write for each level in the hierarchy when is set to Formatting.Indented. - - - - - Gets or sets which character to use to quote attribute values. - - - - - Gets or sets which character to use for indenting when is set to Formatting.Indented. - - - - - Gets or sets a value indicating whether object names will be surrounded with quotes. - - - - - Creates an instance of the JsonWriter class using the specified . - - The TextWriter to write to. - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the specified end token. - - The end token to write. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Specifies the type of JSON token. - - - - - This is returned by the if a method has not been called. - - - - - An object start token. - - - - - An array start token. - - - - - A constructor start token. - - - - - An object property name. - - - - - A comment. - - - - - Raw JSON. - - - - - An integer. - - - - - A float. - - - - - A string. - - - - - A boolean. - - - - - A null token. - - - - - An undefined token. - - - - - An object end token. - - - - - An array end token. - - - - - A constructor end token. - - - - - A Date. - - - - - Byte data. - - - - - - Represents a reader that provides validation. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Sets an event handler for receiving schema validation errors. - - - - - Gets the text value of the current JSON token. - - - - - - Gets the depth of the current token in the JSON document. - - The depth of the current token in the JSON document. - - - - Gets the path of the current JSON token. - - - - - Gets the quotation mark character used to enclose the value of a string. - - - - - - Gets the type of the current JSON token. - - - - - - Gets the Common Language Runtime (CLR) type for the current JSON token. - - - - - - Initializes a new instance of the class that - validates the content returned from the given . - - The to read from while validating. - - - - Gets or sets the schema. - - The schema. - - - - Gets the used to construct this . - - The specified in the constructor. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a []. - - - A [] or a null reference if the next JSON token is null. - - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . This method will return null at the end of an array. - - - - Reads the next JSON token from the stream as a . - - A . - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets or sets a value indicating whether the underlying stream or - should be closed when the writer is closed. - - - true to close the underlying stream or when - the writer is closed; otherwise false. The default is true. - - - - - Gets the top. - - The top. - - - - Gets the state of the writer. - - - - - Gets the path of the writer. - - - - - Indicates how JSON text output is formatted. - - - - - Get or set how dates are written to JSON text. - - - - - Get or set how time zones are handling when writing JSON text. - - - - - Get or set how strings are escaped when writing JSON text. - - - - - Get or set how special floating point numbers, e.g. , - and , - are written to JSON text. - - - - - Get or set how and values are formatting when writing JSON text. - - - - - Gets or sets the culture used when writing JSON. Defaults to . - - - - - Creates an instance of the JsonWriter class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the end of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the end of an array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end constructor. - - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - A flag to indicate whether the text should be escaped when it is written as a JSON property name. - - - - Writes the end of the current JSON object or array. - - - - - Writes the current token and its children. - - The to read the token from. - - - - Writes the current token. - - The to read the token from. - A flag indicating whether the current token's children should be written. - - - - Writes the token and its value. - - The to write. - - The value to write. - A value is only required for tokens that have an associated value, e.g. the property name for . - A null value can be passed to the method for token's that don't have a value, e.g. . - - - - Writes the token. - - The to write. - - - - Writes the specified end token. - - The end token to write. - - - - Writes indent characters. - - - - - Writes the JSON value delimiter. - - - - - Writes an indent space. - - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON without changing the writer's state. - - The raw JSON to write. - - - - Writes raw JSON where a value is expected and updates the writer's state. - - The raw JSON to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes out the given white space. - - The string of white space characters. - - - - Releases unmanaged and - optionally - managed resources - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Sets the state of the JsonWriter, - - The JsonToken being written. - The value being written. - - - - The exception thrown when an error occurs while reading JSON text. - - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - Specifies how JSON comments are handled when loading JSON. - - - - - Ignore comments. - - - - - Load comments as a with type . - - - - - Specifies how line information is handled when loading JSON. - - - - - Ignore line information. - - - - - Load line information. - - - - - Contains the LINQ to JSON extension methods. - - - - - Returns a collection of tokens that contains the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the ancestors of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, the ancestors of every token in the source collection. - - - - Returns a collection of tokens that contains the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains the descendants of every token in the source collection. - - - - Returns a collection of tokens that contains every token in the source collection, and the descendants of every token in the source collection. - - The type of the objects in source, constrained to . - An of that contains the source collection. - An of that contains every token in the source collection, and the descendants of every token in the source collection. - - - - Returns a collection of child properties of every object in the source collection. - - An of that contains the source collection. - An of that contains the properties of every object in the source collection. - - - - Returns a collection of child values of every object in the source collection with the given key. - - An of that contains the source collection. - The token key. - An of that contains the values of every token in the source collection with the given key. - - - - Returns a collection of child values of every object in the source collection. - - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child values of every object in the source collection with the given key. - - The type to convert the values to. - An of that contains the source collection. - The token key. - An that contains the converted values of every token in the source collection with the given key. - - - - Returns a collection of converted child values of every object in the source collection. - - The type to convert the values to. - An of that contains the source collection. - An that contains the converted values of every token in the source collection. - - - - Converts the value. - - The type to convert the value to. - A cast as a of . - A converted value. - - - - Converts the value. - - The source collection type. - The type to convert the value to. - A cast as a of . - A converted value. - - - - Returns a collection of child tokens of every array in the source collection. - - The source collection type. - An of that contains the source collection. - An of that contains the values of every token in the source collection. - - - - Returns a collection of converted child tokens of every array in the source collection. - - An of that contains the source collection. - The type to convert the values to. - The source collection type. - An that contains the converted values of every token in the source collection. - - - - Returns the input typed as . - - An of that contains the source collection. - The input typed as . - - - - Returns the input typed as . - - The source collection type. - An of that contains the source collection. - The input typed as . - - - - Represents a collection of objects. - - The type of token - - - - Gets the with the specified key. - - - - - - Represents a JSON array. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Initializes a new instance of the class with the specified content. - - The contents of the array. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the at the specified index. - - - - - - Determines the index of a specific item in the . - - The object to locate in the . - - The index of if found in the list; otherwise, -1. - - - - - Inserts an item to the at the specified index. - - The zero-based index at which should be inserted. - The object to insert into the . - - is not a valid index in the . - The is read-only. - - - - Removes the item at the specified index. - - The zero-based index of the item to remove. - - is not a valid index in the . - The is read-only. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Adds an item to the . - - The object to add to the . - The is read-only. - - - - Removes all items from the . - - The is read-only. - - - - Determines whether the contains a specific value. - - The object to locate in the . - - true if is found in the ; otherwise, false. - - - - - Copies to. - - The array. - Index of the array. - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; otherwise, false. - - - - Removes the first occurrence of a specific object from the . - - The object to remove from the . - - true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . - - The is read-only. - - - - Represents a JSON constructor. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets or sets the name of this constructor. - - The constructor name. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name and content. - - The constructor name. - The contents of the constructor. - - - - Initializes a new instance of the class with the specified name. - - The constructor name. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified key. - - The with the specified key. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a token that can contain other tokens. - - - - - Occurs when the items list of the collection has changed, or the collection is reset. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Raises the event. - - The instance containing the event data. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Get the first child token of this token. - - - A containing the first child token of the . - - - - - Get the last child token of this token. - - - A containing the last child token of the . - - - - - Returns a collection of the child tokens of this token, in document order. - - - An of containing the child tokens of this , in document order. - - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - - A containing the child values of this , in document order. - - - - - Returns a collection of the descendant tokens for this token in document order. - - An containing the descendant tokens of the . - - - - Returns a collection of the tokens that contain this token, and all descendant tokens of this token, in document order. - - An containing this token, and all the descendant tokens of the . - - - - Adds the specified content as children of this . - - The content to be added. - - - - Adds the specified content as the first children of this . - - The content to be added. - - - - Creates an that can be used to add tokens to the . - - An that is ready to have content written to it. - - - - Replaces the children nodes of this token with the specified content. - - The content. - - - - Removes the child nodes from this token. - - - - - Merge the specified content into this . - - The content to be merged. - - - - Merge the specified content into this using . - - The content to be merged. - The used to merge the content. - - - - Gets the count of child JSON tokens. - - The count of child JSON tokens - - - - Represents a collection of objects. - - The type of token - - - - An empty collection of objects. - - - - - Initializes a new instance of the struct. - - The enumerable. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Gets the with the specified key. - - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Represents a JSON object. - - - - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Occurs when a property value changes. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Initializes a new instance of the class with the specified content. - - The contents of the object. - - - - Gets the node type for this . - - The type. - - - - Gets an of this object's properties. - - An of this object's properties. - - - - Gets a the specified name. - - The property name. - A with the specified name or null. - - - - Gets an of this object's property values. - - An of this object's property values. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets or sets the with the specified property name. - - - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - - - - Creates a from an object. - - The object that will be used to create . - A with the values of the specified object - - - - Creates a from an object. - - The object that will be used to create . - The that will be used to read the object. - A with the values of the specified object - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Gets the with the specified property name. - - Name of the property. - The with the specified property name. - - - - Gets the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - One of the enumeration values that specifies how the strings will be compared. - The with the specified property name. - - - - Tries to get the with the specified property name. - The exact property name will be searched for first and if no matching property is found then - the will be used to match a property. - - Name of the property. - The value. - One of the enumeration values that specifies how the strings will be compared. - true if a value was successfully retrieved; otherwise, false. - - - - Adds the specified property name. - - Name of the property. - The value. - - - - Removes the property with the specified name. - - Name of the property. - true if item was successfully removed; otherwise, false. - - - - Tries the get value. - - Name of the property. - The value. - true if a value was successfully retrieved; otherwise, false. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Raises the event with the provided arguments. - - Name of the property. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Represents a JSON property. - - - - - Gets the container's children tokens. - - The container's children tokens. - - - - Gets the property name. - - The property name. - - - - Gets or sets the property value. - - The property value. - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Gets the node type for this . - - The type. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Initializes a new instance of the class. - - The property name. - The property content. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Loads an from a . - - A that will be read for the content of the . - A that contains the JSON that was read from the specified . - - - - Loads an from a . - - A that will be read for the content of the . - The used to load the JSON. - If this is null, default load settings will be used. - A that contains the JSON that was read from the specified . - - - - Represents a raw JSON string. - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class. - - The raw json. - - - - Creates an instance of with the content of the reader's current token. - - The reader. - An instance of with the content of the reader's current token. - - - - Specifies the settings used when loading JSON. - - - - - Gets or sets how JSON comments are handled when loading JSON. - - The JSON comment handling. - - - - Gets or sets how JSON line info is handled when loading JSON. - - The JSON line info handling. - - - - Specifies the settings used when merging JSON. - - - - - Gets or sets the method used when merging JSON arrays. - - The method used when merging JSON arrays. - - - - Gets or sets how how null value properties are merged. - - How null value properties are merged. - - - - Represents an abstract JSON token. - - - - - Gets a comparer that can compare two tokens for value equality. - - A that can compare two nodes for value equality. - - - - Gets or sets the parent. - - The parent. - - - - Gets the root of this . - - The root of this . - - - - Gets the node type for this . - - The type. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Compares the values of two tokens, including the values of all descendant tokens. - - The first to compare. - The second to compare. - true if the tokens are equal; otherwise false. - - - - Gets the next sibling token of this node. - - The that contains the next sibling token. - - - - Gets the previous sibling token of this node. - - The that contains the previous sibling token. - - - - Gets the path of the JSON token. - - - - - Adds the specified content immediately after this token. - - A content object that contains simple content or a collection of content objects to be added after this token. - - - - Adds the specified content immediately before this token. - - A content object that contains simple content or a collection of content objects to be added before this token. - - - - Returns a collection of the ancestor tokens of this token. - - A collection of the ancestor tokens of this token. - - - - Returns a collection of tokens that contain this token, and the ancestors of this token. - - A collection of tokens that contain this token, and the ancestors of this token. - - - - Returns a collection of the sibling tokens after this token, in document order. - - A collection of the sibling tokens after this tokens, in document order. - - - - Returns a collection of the sibling tokens before this token, in document order. - - A collection of the sibling tokens before this token, in document order. - - - - Gets the with the specified key. - - The with the specified key. - - - - Gets the with the specified key converted to the specified type. - - The type to convert the token to. - The token key. - The converted token value. - - - - Get the first child token of this token. - - A containing the first child token of the . - - - - Get the last child token of this token. - - A containing the last child token of the . - - - - Returns a collection of the child tokens of this token, in document order. - - An of containing the child tokens of this , in document order. - - - - Returns a collection of the child tokens of this token, in document order, filtered by the specified type. - - The type to filter the child tokens on. - A containing the child tokens of this , in document order. - - - - Returns a collection of the child values of this token, in document order. - - The type to convert the values to. - A containing the child values of this , in document order. - - - - Removes this token from its parent. - - - - - Replaces this token with the specified token. - - The value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Returns the indented JSON for this token. - - - The indented JSON for this token. - - - - - Returns the JSON for this token using the given formatting and converters. - - Indicates how the output is formatted. - A collection of which will be used when writing the token. - The JSON for this token using the given formatting and converters. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to []. - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an explicit conversion from to . - - The value. - The result of the conversion. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from [] to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Performs an implicit conversion from to . - - The value to create a from. - The initialized with the specified value. - - - - Creates an for this token. - - An that can be used to read this token and its descendants. - - - - Creates a from an object. - - The object that will be used to create . - A with the value of the specified object - - - - Creates a from an object using the specified . - - The object that will be used to create . - The that will be used when reading the object. - A with the value of the specified object - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the . - - The object type that the token will be deserialized to. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates the specified .NET type from the using the specified . - - The object type that the token will be deserialized to. - The that will be used when creating the object. - The new object created from the JSON value. - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Load a from a string that contains JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Load a from a string that contains JSON. - - A that contains JSON. - The used to load the JSON. - If this is null, default load settings will be used. - A populated from the string that contains JSON. - - - - Creates a from a . - - An positioned at the token to read into this . - The used to load the JSON. - If this is null, default load settings will be used. - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Creates a from a . - - An positioned at the token to read into this . - - An that contains the token and its descendant tokens - that were read from the reader. The runtime type of the token is determined - by the token type of the first token encountered in the reader. - - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A , or null. - - - - Selects a using a JPath expression. Selects the token that matches the object path. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - A . - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - An that contains the selected elements. - - - - Selects a collection of elements using a JPath expression. - - - A that contains a JPath expression. - - A flag to indicate whether an error should be thrown if no tokens are found when evaluating part of the expression. - An that contains the selected elements. - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Creates a new instance of the . All child tokens are recursively cloned. - - A new instance of the . - - - - Adds an object to the annotation list of this . - - The annotation to add. - - - - Get the first annotation object of the specified type from this . - - The type of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets the first annotation object of the specified type from this . - - The of the annotation to retrieve. - The first annotation object that matches the specified type, or null if no annotation is of the specified type. - - - - Gets a collection of annotations of the specified type for this . - - The type of the annotations to retrieve. - An that contains the annotations for this . - - - - Gets a collection of annotations of the specified type for this . - - The of the annotations to retrieve. - An of that contains the annotations that match the specified type for this . - - - - Removes the annotations of the specified type from this . - - The type of annotations to remove. - - - - Removes the annotations of the specified type from this . - - The of annotations to remove. - - - - Compares tokens to determine whether they are equal. - - - - - Determines whether the specified objects are equal. - - The first object of type to compare. - The second object of type to compare. - - true if the specified objects are equal; otherwise, false. - - - - - Returns a hash code for the specified object. - - The for which a hash code is to be returned. - A hash code for the specified object. - The type of is a reference type and is null. - - - - Represents a reader that provides fast, non-cached, forward-only access to serialized JSON data. - - - - - Gets the at the reader's current position. - - - - - Initializes a new instance of the class. - - The token to read from. - - - - Reads the next JSON token from the stream. - - - true if the next token was read successfully; false if there are no more tokens to read. - - - - - Gets the path of the current JSON token. - - - - - Specifies the type of token. - - - - - No token type has been set. - - - - - A JSON object. - - - - - A JSON array. - - - - - A JSON constructor. - - - - - A JSON object property. - - - - - A comment. - - - - - An integer value. - - - - - A float value. - - - - - A string value. - - - - - A boolean value. - - - - - A null value. - - - - - An undefined value. - - - - - A date value. - - - - - A raw JSON value. - - - - - A collection of bytes value. - - - - - A Guid value. - - - - - A Uri value. - - - - - A TimeSpan value. - - - - - Represents a writer that provides a fast, non-cached, forward-only way of generating JSON data. - - - - - Gets the at the writer's current position. - - - - - Gets the token being writen. - - The token being writen. - - - - Initializes a new instance of the class writing to the given . - - The container being written to. - - - - Initializes a new instance of the class. - - - - - Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream. - - - - - Closes this stream and the underlying stream. - - - - - Writes the beginning of a JSON object. - - - - - Writes the beginning of a JSON array. - - - - - Writes the start of a constructor with the given name. - - The name of the constructor. - - - - Writes the end. - - The token. - - - - Writes the property name of a name/value pair on a JSON object. - - The name of the property. - - - - Writes a value. - An error will raised if the value cannot be written as a single JSON token. - - The value to write. - - - - Writes a null value. - - - - - Writes an undefined value. - - - - - Writes raw JSON. - - The raw JSON to write. - - - - Writes out a comment /*...*/ containing the specified text. - - Text to place inside the comment. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a [] value. - - The [] value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Writes a value. - - The value to write. - - - - Represents a value in JSON (string, integer, date, etc). - - - - - Initializes a new instance of the class from another object. - - A object to copy from. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Initializes a new instance of the class with the given value. - - The value. - - - - Gets a value indicating whether this token has child tokens. - - - true if this token has child values; otherwise, false. - - - - - Creates a comment with the given value. - - The value. - A comment with the given value. - - - - Creates a string with the given value. - - The value. - A string with the given value. - - - - Creates a null value. - - A null value. - - - - Creates a undefined value. - - A undefined value. - - - - Gets the node type for this . - - The type. - - - - Gets or sets the underlying token value. - - The underlying token value. - - - - Writes this token to a . - - A into which this method will write. - A collection of which will be used when writing the token. - - - - Indicates whether the current object is equal to another object of the same type. - - - true if the current object is equal to the parameter; otherwise, false. - - An object to compare with this object. - - - - Determines whether the specified is equal to the current . - - The to compare with the current . - - true if the specified is equal to the current ; otherwise, false. - - - The parameter is null. - - - - - Serves as a hash function for a particular type. - - - A hash code for the current . - - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format provider. - - A that represents this instance. - - - - - Returns a that represents this instance. - - The format. - The format provider. - - A that represents this instance. - - - - - Returns the responsible for binding operations performed on this object. - - The expression tree representation of the runtime value. - - The to bind this object. - - - - - Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. - - An object to compare with this instance. - - A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has these meanings: - Value - Meaning - Less than zero - This instance is less than . - Zero - This instance is equal to . - Greater than zero - This instance is greater than . - - - is not the same type as this instance. - - - - - Specifies how JSON arrays are merged together. - - - - Concatenate arrays. - - - Union arrays, skipping items that already exist. - - - Replace all array items. - - - Merge array items together, matched by index. - - - - Specifies how null value properties are merged. - - - - - The content's null value properties will be ignored during merging. - - - - - The content's null value properties will be merged. - - - - - Specifies the member serialization options for the . - - - - - All public members are serialized by default. Members can be excluded using or . - This is the default member serialization mode. - - - - - Only members marked with or are serialized. - This member serialization mode can also be set by marking the class with . - - - - - All public and private fields are serialized. Members can be excluded using or . - This member serialization mode can also be set by marking the class with - and setting IgnoreSerializableAttribute on to false. - - - - - Specifies metadata property handling options for the . - - - - - Read metadata properties located at the start of a JSON object. - - - - - Read metadata properties located anywhere in a JSON object. Note that this setting will impact performance. - - - - - Do not try to read metadata properties. - - - - - Specifies missing member handling options for the . - - - - - Ignore a missing member and do not attempt to deserialize it. - - - - - Throw a when a missing member is encountered during deserialization. - - - - - Specifies null value handling options for the . - - - - - - - - - Include null values when serializing and deserializing objects. - - - - - Ignore null values when serializing and deserializing objects. - - - - - Specifies how object creation is handled by the . - - - - - Reuse existing objects, create new objects when needed. - - - - - Only reuse existing objects. - - - - - Always create new objects. - - - - - Specifies reference handling options for the . - Note that references cannot be preserved when a value is set via a non-default constructor such as types that implement ISerializable. - - - - - - - - Do not preserve references when serializing types. - - - - - Preserve references when serializing into a JSON object structure. - - - - - Preserve references when serializing into a JSON array structure. - - - - - Preserve references when serializing. - - - - - Specifies reference loop handling options for the . - - - - - Throw a when a loop is encountered. - - - - - Ignore loop references and do not serialize. - - - - - Serialize loop references. - - - - - Indicating whether a property is required. - - - - - The property is not required. The default state. - - - - - The property must be defined in JSON but can be a null value. - - - - - The property must be defined in JSON and cannot be a null value. - - - - - The property is not required but it cannot be a null value. - - - - - - Contains the JSON schema extension methods. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - true if the specified is valid; otherwise, false. - - - - - - Determines whether the is valid. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - When this method returns, contains any error messages generated while validating. - - true if the specified is valid; otherwise, false. - - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - - - - - Validates the specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - The source to test. - The schema to test with. - The validation event handler. - - - - - An in-memory representation of a JSON Schema. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the id. - - - - - Gets or sets the title. - - - - - Gets or sets whether the object is required. - - - - - Gets or sets whether the object is read only. - - - - - Gets or sets whether the object is visible to users. - - - - - Gets or sets whether the object is transient. - - - - - Gets or sets the description of the object. - - - - - Gets or sets the types of values allowed by the object. - - The type. - - - - Gets or sets the pattern. - - The pattern. - - - - Gets or sets the minimum length. - - The minimum length. - - - - Gets or sets the maximum length. - - The maximum length. - - - - Gets or sets a number that the value should be divisble by. - - A number that the value should be divisble by. - - - - Gets or sets the minimum. - - The minimum. - - - - Gets or sets the maximum. - - The maximum. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - A flag indicating whether the value can not equal the number defined by the "minimum" attribute. - - - - Gets or sets a flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - A flag indicating whether the value can not equal the number defined by the "maximum" attribute. - - - - Gets or sets the minimum number of items. - - The minimum number of items. - - - - Gets or sets the maximum number of items. - - The maximum number of items. - - - - Gets or sets the of items. - - The of items. - - - - Gets or sets a value indicating whether items in an array are validated using the instance at their array position from . - - - true if items are validated using their array position; otherwise, false. - - - - - Gets or sets the of additional items. - - The of additional items. - - - - Gets or sets a value indicating whether additional items are allowed. - - - true if additional items are allowed; otherwise, false. - - - - - Gets or sets whether the array items must be unique. - - - - - Gets or sets the of properties. - - The of properties. - - - - Gets or sets the of additional properties. - - The of additional properties. - - - - Gets or sets the pattern properties. - - The pattern properties. - - - - Gets or sets a value indicating whether additional properties are allowed. - - - true if additional properties are allowed; otherwise, false. - - - - - Gets or sets the required property if this property is present. - - The required property if this property is present. - - - - Gets or sets the a collection of valid enum values allowed. - - A collection of valid enum values allowed. - - - - Gets or sets disallowed types. - - The disallow types. - - - - Gets or sets the default value. - - The default value. - - - - Gets or sets the collection of that this schema extends. - - The collection of that this schema extends. - - - - Gets or sets the format. - - The format. - - - - Initializes a new instance of the class. - - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The object representing the JSON Schema. - - - - Reads a from the specified . - - The containing the JSON Schema to read. - The to use when resolving schema references. - The object representing the JSON Schema. - - - - Load a from a string that contains schema JSON. - - A that contains JSON. - A populated from the string that contains JSON. - - - - Parses the specified json. - - The json. - The resolver. - A populated from the string that contains JSON. - - - - Writes this schema to a . - - A into which this method will write. - - - - Writes this schema to a using the specified . - - A into which this method will write. - The resolver used. - - - - Returns a that represents the current . - - - A that represents the current . - - - - - - Returns detailed information about the schema exception. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the line number indicating where the error occurred. - - The line number indicating where the error occurred. - - - - Gets the line position indicating where the error occurred. - - The line position indicating where the error occurred. - - - - Gets the path to the JSON where the error occurred. - - The path to the JSON where the error occurred. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class - with a specified error message. - - The error message that explains the reason for the exception. - - - - Initializes a new instance of the class - with a specified error message and a reference to the inner exception that is the cause of this exception. - - The error message that explains the reason for the exception. - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - Generates a from a specified . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets how undefined schemas are handled by the serializer. - - - - - Gets or sets the contract resolver. - - The contract resolver. - - - - Generate a from the specified type. - - The type to generate a from. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - Generate a from the specified type. - - The type to generate a from. - The used to resolve schema references. - Specify whether the generated root will be nullable. - A generated from the specified type. - - - - - Resolves from an id. - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets or sets the loaded schemas. - - The loaded schemas. - - - - Initializes a new instance of the class. - - - - - Gets a for the specified reference. - - The id. - A for the specified reference. - - - - - The value types allowed by the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - No type specified. - - - - - String type. - - - - - Float type. - - - - - Integer type. - - - - - Boolean type. - - - - - Object type. - - - - - Array type. - - - - - Null type. - - - - - Any type. - - - - - - Specifies undefined schema Id handling options for the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Do not infer a schema Id. - - - - - Use the .NET type name as the schema Id. - - - - - Use the assembly qualified .NET type name as the schema Id. - - - - - - Returns detailed information related to the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Gets the associated with the validation error. - - The JsonSchemaException associated with the validation error. - - - - Gets the path of the JSON location where the validation error occurred. - - The path of the JSON location where the validation error occurred. - - - - Gets the text description corresponding to the validation error. - - The text description. - - - - - Represents the callback method that will handle JSON schema validation events and the . - - - JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details. - - - - - - Allows users to control class loading and mandate what class to load. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object - The type of the object the formatter creates a new instance of. - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Resolves member mappings for a type, camel casing property names. - - - - - Initializes a new instance of the class. - - - - - Resolves the name of the property. - - Name of the property. - The property name camel cased. - - - - Get and set values for a using dynamic methods. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Used by to resolves a for a given . - - - - - Gets a value indicating whether members are being get and set using dynamic code generation. - This value is determined by the runtime permissions available. - - - true if using dynamic code generation; otherwise, false. - - - - - Gets or sets a value indicating whether compiler generated members should be serialized. - - - true if serialized compiler generated members; otherwise, false. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - If set to true the will use a cached shared with other resolvers of the same type. - Sharing the cache will significantly improve performance with multiple resolver instances because expensive reflection will only - happen once. This setting can cause unexpected behavior if different instances of the resolver are suppose to produce different - results. When set to false it is highly recommended to reuse instances with the . - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Gets the serializable members for the type. - - The type to get serializable members for. - The serializable members for the type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates the constructor parameters. - - The constructor to create properties for. - The type's member properties. - Properties for the given . - - - - Creates a for the given . - - The matching member property. - The constructor parameter. - A created for the given . - - - - Resolves the default for the contract. - - Type of the object. - The contract's default . - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Creates a for the given type. - - Type of the object. - A for the given type. - - - - Determines which contract type is created for the given type. - - Type of the object. - A for the given type. - - - - Creates properties for the given . - - The type to create properties for. - /// The member serialization mode for the type. - Properties for the given . - - - - Creates the used by the serializer to get and set values from a member. - - The member. - The used by the serializer to get and set values from a member. - - - - Creates a for the given . - - The member's parent . - The member to create a for. - A created for the given . - - - - Resolves the name of the property. - - Name of the property. - Resolved name of the property. - - - - Resolves the key of the dictionary. By default is used to resolve dictionary keys. - - Key of the dictionary. - Resolved key of the dictionary. - - - - Gets the resolved name of the property. - - Name of the property. - Name of the property. - - - - The default serialization binder used when resolving and loading classes from type names. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - The type of the object the formatter creates a new instance of. - - - - - When overridden in a derived class, controls the binding of a serialized object to a type. - - The type of the object the formatter creates a new instance of. - Specifies the name of the serialized object. - Specifies the name of the serialized object. - - - - Provides information surrounding an error. - - - - - Gets the error. - - The error. - - - - Gets the original object that caused the error. - - The original object that caused the error. - - - - Gets the member that caused the error. - - The member that caused the error. - - - - Gets the path of the JSON location where the error occurred. - - The path of the JSON location where the error occurred. - - - - Gets or sets a value indicating whether this is handled. - - true if handled; otherwise, false. - - - - Provides data for the Error event. - - - - - Gets the current object the error event is being raised against. - - The current object the error event is being raised against. - - - - Gets the error context. - - The error context. - - - - Initializes a new instance of the class. - - The current object. - The error context. - - - - Provides methods to get attributes. - - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Used by to resolves a for a given . - - - - - - - - - Resolves the contract for a given type. - - The type to resolve a contract for. - The contract for a given type. - - - - Used to resolve references when serializing and deserializing JSON by the . - - - - - Resolves a reference to its object. - - The serialization context. - The reference to resolve. - The object that - - - - Gets the reference for the sepecified object. - - The serialization context. - The object to get a reference for. - The reference to the object. - - - - Determines whether the specified object is referenced. - - The serialization context. - The object to test for a reference. - - true if the specified object is referenced; otherwise, false. - - - - - Adds a reference to the specified object. - - The serialization context. - The reference. - The object to reference. - - - - Represents a trace writer. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - The that will be used to filter the trace messages passed to the writer. - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Provides methods to get and set values. - - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Contract details for a used by the . - - - - - Gets the of the collection items. - - The of the collection items. - - - - Gets a value indicating whether the collection type is a multidimensional array. - - true if the collection type is a multidimensional array; otherwise, false. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the collection values. - - true if the creator has a parameter with the collection values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the default collection items . - - The converter. - - - - Gets or sets a value indicating whether the collection items preserve object references. - - true if collection items preserve object references; otherwise, false. - - - - Gets or sets the collection item reference loop handling. - - The reference loop handling. - - - - Gets or sets the collection item type name handling. - - The type name handling. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Handles serialization callback events. - - The object that raised the callback event. - The streaming context. - - - - Handles serialization error callback events. - - The object that raised the callback event. - The streaming context. - The error context. - - - - Sets extension data for an object during deserialization. - - The object to set extension data on. - The extension data key. - The extension data value. - - - - Gets extension data for an object during serialization. - - The object to set extension data on. - - - - Contract details for a used by the . - - - - - Gets the underlying type for the contract. - - The underlying type for the contract. - - - - Gets or sets the type created during deserialization. - - The type created during deserialization. - - - - Gets or sets whether this type contract is serialized as a reference. - - Whether this type contract is serialized as a reference. - - - - Gets or sets the default for this contract. - - The converter. - - - - Gets or sets all methods called immediately after deserialization of the object. - - The methods called immediately after deserialization of the object. - - - - Gets or sets all methods called during deserialization of the object. - - The methods called during deserialization of the object. - - - - Gets or sets all methods called after serialization of the object graph. - - The methods called after serialization of the object graph. - - - - Gets or sets all methods called before serialization of the object. - - The methods called before serialization of the object. - - - - Gets or sets all method called when an error is thrown during the serialization of the object. - - The methods called when an error is thrown during the serialization of the object. - - - - Gets or sets the method called immediately after deserialization of the object. - - The method called immediately after deserialization of the object. - - - - Gets or sets the method called during deserialization of the object. - - The method called during deserialization of the object. - - - - Gets or sets the method called after serialization of the object graph. - - The method called after serialization of the object graph. - - - - Gets or sets the method called before serialization of the object. - - The method called before serialization of the object. - - - - Gets or sets the method called when an error is thrown during the serialization of the object. - - The method called when an error is thrown during the serialization of the object. - - - - Gets or sets the default creator method used to create the object. - - The default creator method used to create the object. - - - - Gets or sets a value indicating whether the default creator is non public. - - true if the default object creator is non-public; otherwise, false. - - - - Contract details for a used by the . - - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Gets or sets the dictionary key resolver. - - The dictionary key resolver. - - - - Gets the of the dictionary keys. - - The of the dictionary keys. - - - - Gets the of the dictionary values. - - The of the dictionary values. - - - - Gets or sets the function used to create the object. When set this function will override . - - The function used to create the object. - - - - Gets a value indicating whether the creator has a parameter with the dictionary values. - - true if the creator has a parameter with the dictionary values; otherwise, false. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets the object's properties. - - The object's properties. - - - - Gets or sets the property name resolver. - - The property name resolver. - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Gets or sets the object member serialization. - - The member object serialization. - - - - Gets or sets a value that indicates whether the object's properties are required. - - - A value indicating whether the object's properties are required. - - - - - Gets the object's properties. - - The object's properties. - - - - Gets the constructor parameters required for any non-default constructor - - - - - Gets a collection of instances that define the parameters used with . - - - - - Gets or sets the override constructor used to create the object. - This is set when a constructor is marked up using the - JsonConstructor attribute. - - The override constructor. - - - - Gets or sets the parametrized constructor used to create the object. - - The parametrized constructor. - - - - Gets or sets the function used to create the object. When set this function will override . - This function is called with a collection of arguments which are defined by the collection. - - The function used to create the object. - - - - Gets or sets the extension data setter. - - - - - Gets or sets the extension data getter. - - - - - Gets or sets the extension data value type. - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Maps a JSON property to a .NET member or constructor parameter. - - - - - Gets or sets the name of the property. - - The name of the property. - - - - Gets or sets the type that declared this property. - - The type that declared this property. - - - - Gets or sets the order of serialization of a member. - - The numeric order of serialization. - - - - Gets or sets the name of the underlying member or parameter. - - The name of the underlying member or parameter. - - - - Gets the that will get and set the during serialization. - - The that will get and set the during serialization. - - - - Gets or sets the for this property. - - The for this property. - - - - Gets or sets the type of the property. - - The type of the property. - - - - Gets or sets the for the property. - If set this converter takes presidence over the contract converter for the property type. - - The converter. - - - - Gets or sets the member converter. - - The member converter. - - - - Gets or sets a value indicating whether this is ignored. - - true if ignored; otherwise, false. - - - - Gets or sets a value indicating whether this is readable. - - true if readable; otherwise, false. - - - - Gets or sets a value indicating whether this is writable. - - true if writable; otherwise, false. - - - - Gets or sets a value indicating whether this has a member attribute. - - true if has a member attribute; otherwise, false. - - - - Gets the default value. - - The default value. - - - - Gets or sets a value indicating whether this is required. - - A value indicating whether this is required. - - - - Gets or sets a value indicating whether this property preserves object references. - - - true if this instance is reference; otherwise, false. - - - - - Gets or sets the property null value handling. - - The null value handling. - - - - Gets or sets the property default value handling. - - The default value handling. - - - - Gets or sets the property reference loop handling. - - The reference loop handling. - - - - Gets or sets the property object creation handling. - - The object creation handling. - - - - Gets or sets or sets the type name handling. - - The type name handling. - - - - Gets or sets a predicate used to determine whether the property should be serialize. - - A predicate used to determine whether the property should be serialize. - - - - Gets or sets a predicate used to determine whether the property should be deserialized. - - A predicate used to determine whether the property should be deserialized. - - - - Gets or sets a predicate used to determine whether the property should be serialized. - - A predicate used to determine whether the property should be serialized. - - - - Gets or sets an action used to set whether the property has been deserialized. - - An action used to set whether the property has been deserialized. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Gets or sets the converter used when serializing the property's collection items. - - The collection's items converter. - - - - Gets or sets whether this property's collection items are serialized as a reference. - - Whether this property's collection items are serialized as a reference. - - - - Gets or sets the the type name handling used when serializing the property's collection items. - - The collection's items type name handling. - - - - Gets or sets the the reference loop handling used when serializing the property's collection items. - - The collection's items reference loop handling. - - - - A collection of objects. - - - - - Initializes a new instance of the class. - - The type. - - - - When implemented in a derived class, extracts the key from the specified element. - - The element from which to extract the key. - The key for the specified element. - - - - Adds a object. - - The property to add to the collection. - - - - Gets the closest matching object. - First attempts to get an exact case match of propertyName and then - a case insensitive match. - - Name of the property. - A matching property if found. - - - - Gets a property by property name. - - The name of the property to get. - Type property name string comparison. - A matching property if found. - - - - Contract details for a used by the . - - - - - Initializes a new instance of the class. - - The underlying type for the contract. - - - - Lookup and create an instance of the JsonConverter type described by the argument. - - The JsonConverter type to create. - Optional arguments to pass to an initializing constructor of the JsonConverter. - If null, the default constructor is used. - - - - Create a factory function that can be used to create instances of a JsonConverter described by the - argument type. The returned function can then be used to either invoke the converter's default ctor, or any - parameterized constructors by way of an object array. - - - - - Represents a trace writer that writes to memory. When the trace message limit is - reached then old trace messages will be removed as new messages are added. - - - - - Gets the that will be used to filter the trace messages passed to the writer. - For example a filter level of Info will exclude Verbose messages and include Info, - Warning and Error messages. - - - The that will be used to filter the trace messages passed to the writer. - - - - - Initializes a new instance of the class. - - - - - Writes the specified trace level, message and optional exception. - - The at which to write this trace. - The trace message. - The trace exception. This parameter is optional. - - - - Returns an enumeration of the most recent trace messages. - - An enumeration of the most recent trace messages. - - - - Returns a of the most recent trace messages. - - - A of the most recent trace messages. - - - - - Represents a method that constructs an object. - - The object type to create. - - - - When applied to a method, specifies that the method is called when an error occurs serializing an object. - - - - - Provides methods to get attributes from a , , or . - - - - - Initializes a new instance of the class. - - The instance to get attributes for. This parameter should be a , , or . - - - - Returns a collection of all of the attributes, or an empty collection if there are no attributes. - - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Returns a collection of attributes, identified by type, or an empty collection if there are no attributes. - - The type of the attributes. - When true, look up the hierarchy chain for the inherited custom attribute. - A collection of s, or an empty collection. - - - - Get and set values for a using reflection. - - - - - Initializes a new instance of the class. - - The member info. - - - - Sets the value. - - The target to set the value on. - The value to set on the target. - - - - Gets the value. - - The target to get the value from. - The value. - - - - Specifies how strings are escaped when writing JSON text. - - - - - Only control characters (e.g. newline) are escaped. - - - - - All non-ASCII and control characters (e.g. newline) are escaped. - - - - - HTML (<, >, &, ', ") and control characters (e.g. newline) are escaped. - - - - - Specifies what messages to output for the class. - - - - - Output no tracing and debugging messages. - - - - - Output error-handling messages. - - - - - Output warnings and error-handling messages. - - - - - Output informational messages, warnings, and error-handling messages. - - - - - Output all debugging and tracing messages. - - - - - Specifies type name handling options for the . - - - should be used with caution when your application deserializes JSON from an external source. - Incoming types should be validated with a custom - when deserializing with a value other than TypeNameHandling.None. - - - - - Do not include the .NET type name when serializing types. - - - - - Include the .NET type name when serializing into a JSON object structure. - - - - - Include the .NET type name when serializing into a JSON array structure. - - - - - Always include the .NET type name when serializing. - - - - - Include the .NET type name when the type of the object being serialized is not the same as its declared type. - - - - - Determines whether the collection is null or empty. - - The collection. - - true if the collection is null or empty; otherwise, false. - - - - - Adds the elements of the specified collection to the specified generic IList. - - The list to add to. - The collection of elements to add. - - - - Returns the index of the first occurrence in a sequence by using a specified IEqualityComparer{TSource}. - - The type of the elements of source. - A sequence in which to locate a value. - The object to locate in the sequence - An equality comparer to compare values. - The zero-based index of the first occurrence of value within the entire sequence, if found; otherwise, –1. - - - - Converts the value to the specified type. If the value is unable to be converted, the - value is checked whether it assignable to the specified type. - - The value to convert. - The culture to use when converting. - The type to convert or cast the value to. - - The converted type. If conversion was unsuccessful, the initial value - is returned if assignable to the target type. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic that returns a result - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Helper method for generating a MetaObject which calls a - specific method on Dynamic, but uses one of the arguments for - the result. - - - - - Returns a Restrictions object which includes our current restrictions merged - with a restriction limiting our type - - - - - Gets a dictionary of the names and values of an Enum type. - - - - - - Gets a dictionary of the names and values of an Enum type. - - The enum type to get names and values for. - - - - - Gets the type of the typed collection's items. - - The type. - The type of the typed collection's items. - - - - Gets the member's underlying type. - - The member. - The underlying type of the member. - - - - Determines whether the member is an indexed property. - - The member. - - true if the member is an indexed property; otherwise, false. - - - - - Determines whether the property is an indexed property. - - The property. - - true if the property is an indexed property; otherwise, false. - - - - - Gets the member's value on the object. - - The member. - The target object. - The member's value on the object. - - - - Sets the member's value on the target object. - - The member. - The target. - The value. - - - - Determines whether the specified MemberInfo can be read. - - The MemberInfo to determine whether can be read. - /// if set to true then allow the member to be gotten non-publicly. - - true if the specified MemberInfo can be read; otherwise, false. - - - - - Determines whether the specified MemberInfo can be set. - - The MemberInfo to determine whether can be set. - if set to true then allow the member to be set non-publicly. - if set to true then allow the member to be set if read-only. - - true if the specified MemberInfo can be set; otherwise, false. - - - - - Builds a string. Unlike StringBuilder this class lets you reuse it's internal buffer. - - - - - Determines whether the string is all white space. Empty string will return false. - - The string to test whether it is all white space. - - true if the string is all white space; otherwise, false. - - - - - Nulls an empty string. - - The string. - Null if the string was null, otherwise the string unchanged. - - - - Specifies the state of the . - - - - - An exception has been thrown, which has left the in an invalid state. - You may call the method to put the in the Closed state. - Any other method calls results in an being thrown. - - - - - The method has been called. - - - - - An object is being written. - - - - - A array is being written. - - - - - A constructor is being written. - - - - - A property is being written. - - - - - A write method has not been called. - - - - - Indicates the method that will be used during deserialization for locating and loading assemblies. - - - - - In simple mode, the assembly used during deserialization need not match exactly the assembly used during serialization. Specifically, the version numbers need not match as the LoadWithPartialName method is used to load the assembly. - - - - - In full mode, the assembly used during deserialization must match exactly the assembly used during serialization. The Load method of the Assembly class is used to load the assembly. - - - - diff --git a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 b/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 deleted file mode 100644 index 0cebb5e8e..000000000 --- a/samples/js-bot-framework/bot/packages/Newtonsoft.Json.8.0.3/tools/install.ps1 +++ /dev/null @@ -1,116 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -# open json.net splash page on package install -# don't open if json.net is installed as a dependency - -try -{ - $url = "http://www.newtonsoft.com/json/install?version=" + $package.Version - $dte2 = Get-Interface $dte ([EnvDTE80.DTE2]) - - if ($dte2.ActiveWindow.Caption -eq "Package Manager Console") - { - # user is installing from VS NuGet console - # get reference to the window, the console host and the input history - # show webpage if "install-package newtonsoft.json" was last input - - $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow]) - - $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1 - if ($prop -eq $null) { return } - - $hostInfo = $prop.GetValue($consoleWindow) - if ($hostInfo -eq $null) { return } - - $history = $hostInfo.WpfConsole.InputHistory.History - - $lastCommand = $history | select -last 1 - - if ($lastCommand) - { - $lastCommand = $lastCommand.Trim().ToLower() - if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - else - { - # user is installing from VS NuGet dialog - # get reference to the window, then smart output console provider - # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation - - $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - - if ($instanceField -eq $null -or $consoleField -eq $null) { return } - - $instance = $instanceField.GetValue($null) - - if ($instance -eq $null) { return } - - $consoleProvider = $consoleField.GetValue($instance) - if ($consoleProvider -eq $null) { return } - - $console = $consoleProvider.CreateOutputConsole($false) - - $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor ` - [System.Reflection.BindingFlags]::NonPublic) - if ($messagesField -eq $null) { return } - - $messages = $messagesField.GetValue($console) - if ($messages -eq $null) { return } - - $operations = $messages -split "==============================" - - $lastOperation = $operations | select -last 1 - - if ($lastOperation) - { - $lastOperation = $lastOperation.ToLower() - - $lines = $lastOperation -split "`r`n" - - $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1 - - if ($installMatch) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } -} -catch -{ - try - { - $pmPane = $dte2.ToolWindows.OutputWindow.OutputWindowPanes.Item("Package Manager") - - $selection = $pmPane.TextDocument.Selection - $selection.StartOfDocument($false) - $selection.EndOfDocument($true) - - if ($selection.Text.StartsWith("Attempting to gather dependencies information for package 'Newtonsoft.Json." + $package.Version + "'")) - { - # don't show on upgrade - if (!$selection.Text.Contains("Removed package")) - { - $dte2.ItemOperations.Navigate($url) | Out-Null - } - } - } - catch - { - # stop potential errors from bubbling up - # worst case the splash page won't open - } -} - -# still yolo \ No newline at end of file diff --git a/samples/js-bot-framework/bot/packages/SharePointPnPCoreOnline.2.9.1611.0/SharePointPnPCoreOnline.2.9.1611.0.nupkg b/samples/js-bot-framework/bot/packages/SharePointPnPCoreOnline.2.9.1611.0/SharePointPnPCoreOnline.2.9.1611.0.nupkg deleted file mode 100644 index a1eb6f72e..000000000 Binary files a/samples/js-bot-framework/bot/packages/SharePointPnPCoreOnline.2.9.1611.0/SharePointPnPCoreOnline.2.9.1611.0.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/SharePointPnPCoreOnline.2.9.1611.0/lib/net45/OfficeDevPnP.Core.dll b/samples/js-bot-framework/bot/packages/SharePointPnPCoreOnline.2.9.1611.0/lib/net45/OfficeDevPnP.Core.dll deleted file mode 100644 index 4f4219dd2..000000000 Binary files a/samples/js-bot-framework/bot/packages/SharePointPnPCoreOnline.2.9.1611.0/lib/net45/OfficeDevPnP.Core.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/System.IdentityModel.Tokens.Jwt.4.0.2.206221351.nupkg b/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/System.IdentityModel.Tokens.Jwt.4.0.2.206221351.nupkg deleted file mode 100644 index fdb057f0c..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/System.IdentityModel.Tokens.Jwt.4.0.2.206221351.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.Xml b/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.Xml deleted file mode 100644 index 817f5bfe5..000000000 --- a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.Xml +++ /dev/null @@ -1,2502 +0,0 @@ - - - - System.IdentityModel.Tokens.Jwt - - - - - Helper class for adding DateTimes and Timespans. - - - - - Add a DateTime and a TimeSpan. - The maximum time is DateTime.MaxTime. It is not an error if time + timespan > MaxTime. - Just return MaxTime. - - Initial value. - to add. - as the sum of time and timespan. - - - - Gets the Maximum value for a DateTime specifying kind. - - DateTimeKind to use. - DateTime of specified kind. - - - - Gets the Minimum value for a DateTime specifying kind. - - DateTimeKind to use. - DateTime of specified kind. - - - - Error codes and messages - - - - - Serializes the list of strings into string as follows: - 'str1','str2','str3' ... - - - The strings used to build a comma delimited string. - - - The single . - - - - - Provides signing and verifying operations when working with an - - - - - This class defines the object model for types that provide signature services. - - - - - Produces a signature over the 'input' - - bytes to sign. - signed bytes - - - - Verifies that a signature created over the 'input' matches the signature. - - bytes to verify. - signature to compare against. - true if the computed signature matches the signature parameter, false otherwise. - - - - Calls and - - - - - Can be over written in descendants to dispose of internal components. - - true, if called from Dispose(), false, if invoked inside a finalizer - - - - Gets or sets a user context for a . - - - - - Initializes a new instance of the class used to create and verify signatures. - - - The that will be used for cryptographic operations. - - - The signature algorithm to apply. - - - If this is required to create signatures then set this to true. - - Creating signatures requires that the has access to a private key. - Verifying signatures (the default), does not require access to the private key. - - - - 'key' is null. - - - 'algorithm' is null. - - - 'algorithm' contains only whitespace. - - - willCreateSignatures is true and .KeySize is less than . - - - .KeySize is less than . Note: this is always checked. - - - Is thrown if the throws. - - - Is thrown if the returns null. - - - Is thrown if the throws. - - - Is thrown if the returns null. - - - Is thrown if the throws. - - - Is thrown if the returns null. - - - Is thrown if the throws. - - - Is thrown if the throws. - - - - - Produces a signature over the 'input' using the and algorithm passed to . - - bytes to be signed. - a signature over the input. - 'input' is null. - 'input.Length' == 0. - if has been called. - if the internal is null. This can occur if the constructor parameter 'willBeUsedforSigning' was not 'true'. - if the internal is null. This can occur if a derived type deletes it or does not create it. - - - - Verifies that a signature over the' input' matches the signature. - - the bytes to generate the signature over. - the value to verify against. - true if signature matches, false otherwise. - 'input' is null. - 'signature' is null. - 'input.Length' == 0. - 'signature.Length' == 0. - if has been called. - if the internal is null. This can occur if a derived type does not call the base constructor. - if the internal is null. This can occur if a derived type deletes it or does not create it. - - - - Calls to release this managed resources. - - true, if called from Dispose(), false, if invoked inside a finalizer. - - - - Encodes and Decodes strings as Base64Url encoding. - - - - - The following functions perform base64url encoding which differs from regular base64 encoding as follows - * padding is skipped so the pad character '=' doesn't have to be percent encoded - * the 62nd and 63rd regular base64 encoding characters ('+' and '/') are replace with ('-' and '_') - The changes make the encoding alphabet file and URL safe. - - string to encode. - Base64Url encoding of the UTF8 bytes. - - - - Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64-url digits. Parameters specify - the subset as an offset in the input array, and the number of elements in the array to convert. - - An array of 8-bit unsigned integers. - An offset in inArray. - The number of elements of inArray to convert. - The string representation in base 64 url encodingof length elements of inArray, starting at position offset. - 'inArray' is null. - offset or length is negative OR offset plus length is greater than the length of inArray. - - - - Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation that is encoded with base-64-url digits. Parameters specify - the subset as an offset in the input array, and the number of elements in the array to convert. - - An array of 8-bit unsigned integers. - The string representation in base 64 url encodingof length elements of inArray, starting at position offset. - 'inArray' is null. - offset or length is negative OR offset plus length is greater than the length of inArray. - - - - Converts the specified string, which encodes binary data as base-64-url digits, to an equivalent 8-bit unsigned integer array. - base64Url encoded string. - UTF8 bytes. - - - - Decodes the string from Base64UrlEncoded to UTF8. - - string to decode. - UTF8 string. - - - - Defines the inbound and outbound mapping for claim claim types from jwt to .net claim - - - - - Initializes static members of the class. - - - - - Gets the InboundClaimTypeMap used by JwtSecurityTokenHandler when producing claims from jwt. - - - - - Gets the OutboundClaimTypeMap is used by JwtSecurityTokenHandler to shorten claim types when creating a jwt. - - - - - Provides common code for services to use in generating diagnostics and taking actions. - - - - - Returns true if the provided exception matches any of a list of hard system faults that should be allowed - through to outer exception handlers. - - The exception to check. - - Typically this method is used when there is a need to catch all exceptions, but to ensure that .NET runtime - and execution engine exceptions are not absorbed by the catch block. Use of this method also avoids FxCop - warnings about not using general catch blocks. - Please note that use of this method is expensive because of the amount of reflection it performs. - If you can refactor your code to catch more specific exceptions than Exception to avoid using this method, - you should. - Example of use: - - try - { - // Code needing a full Exception catch block - } - catch (Exception ex) - { - if (DiagnosticUtility.IsFatal(ex)) - { - throw; - } - // Perform any needed logging and handling for absorbed exception. - } - - - true if the exception should NOT be trapped - - - - Returns the absolute DateTime or the Seconds since Unix Epoch, where Epoch is UTC 1970-01-01T0:0:0Z. - - - - - DateTime as UTV for UnixEpoch - - - - - Per JWT spec: - Gets the number of seconds from 1970-01-01T0:0:0Z as measured in UTC until the desired date/time. - - The DateTime to convert to seconds. - if dateTimeUtc less than UnixEpoch, return 0 - the number of seconds since Unix Epoch. - - - - Creates a DateTime from epoch time. - - Number of seconds. - The DateTime in UTC. - - - - ISecurityTokenValidator - - - - - Returns true if the token can be read, false otherwise. - - - - - Validates a token passed as a string using - - - - - Gets and sets the maximum size in bytes, that a will be processed. - - - - - Interface that defines a simple cache for tacking replaying of security tokens. - - - - - Try to add a securityToken. - - the security token to add. - the time when security token expires. - true if the security token was successfully added. - - - - Try to find securityToken - - the security token to find. - true if the security token is found. - - - - Definition for a delegate that can be set on to control serialization of objects into JSON. - - Object to serialize - The serialized object. - - - - Definition for a delegate that can be set on to control deserialization JSON into objects. - - JSON to deserialize. - type expected. - The deserialized object. - - - - Dictionary extensions for serializations - - - - - Serializes an object to JSON. - - The object to serialize - the object as JSON. - - - - Deserialzes JSON into an instance of type T. - - the object type. - the JSON to deserialze. - a new instance of type T. - - - - Deserialzes JSON into an instance of . - - the JSON to deserialze. - a new instance . - - - - Deserialzes JSON into an instance of . - - the JSON to deserialze. - a new instance . - - - - Gets or sets a to use when serializing objects to JSON. - - if 'value' is null. - - - - Gets or sets a to use when deserializing objects from JSON. - - if 'value' is null. - - - - contains the element and attribute names used in config when parsing the JwtSecurityTokenHandler from XML. - - - - - Constants for Json Web tokens. - - - - - Short header type. - - - - - Long header type. - - - - - Short token type. - - - - - Long token type. - - - - - Token format: 'header.payload.signature'. Signature is optional, but '.' is required. - - - - - When mapping json to .Net Claim(s), if the value was not a string (or an enumeration of strings), the ClaimValue will serialized using the current JSON serializer, a property will be added with the .Net type and the ClaimTypeValue will be set to 'JsonClaimValueType'. - - - - - List of algorithms see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - see: http://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-26#section-3 - - - - - List of header parameter names see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5. - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - see: http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-5 - - - - - List of registered claims from different sources - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://openid.net/specs/openid-connect-core-1_0.html#IDToken - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-20#section-4 - - - - - Initializes a new instance of which contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT. - The member names within the JWT Header are referred to as Header Parameter Names. - These names MUST be unique and the values must be (s). The corresponding values are referred to as Header Parameter Values. - - - - - Initializes a new instance of the class. Default string comparer . - - - - - Initializes a new instance of the class. With the Header Parameters as follows: - { { typ, JWT }, { alg, Mapped( } } - See: Algorithm Mapping below. - - The that will be or were used to sign the . - - For each in signingCredentials.SigningKeyIdentifier - if the clause is a Header Parameter { clause.Name, clause.Id } will be added. - For example, if clause.Name == 'kid' and clause.Id == 'SecretKey99'. The JSON object { kid, SecretKey99 } would be added. - In addition, if the is a the JSON object { x5t, Base64UrlEncoded( } will be added. - This simplifies the common case where a X509Certificate is used. - ================= - Algorithm Mapping - ================= - describes the algorithm that is discoverable by the CLR runtime. - The { alg, 'value' } placed in the header reflects the JWT specification. - contains a signature mapping where the 'value' above will be translated according to this mapping. - Current mapping is: -     'http://www.w3.org/2001/04/xmldsig-more#rsa-sha256' => 'RS256' -     'http://www.w3.org/2001/04/xmldsig-more#hmac-sha256' => 'HS256' - - - - - Serializes this instance to JSON. - - this instance as JSON. - use to customize JSON serialization. - - - - Encodes this instance as Base64UrlEncoded JSON. - - Base64UrlEncoded JSON. - use to customize JSON serialization. - - - - Deserializes Base64UrlEncoded JSON into a instance. - - base64url encoded JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Deserialzes JSON into a instance. - - the JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Gets the signature algorithm that was used to create the signature. - - If the signature algorithm is not found, null is returned. - - - - Gets the passed in the constructor. - - This value may be null. - - - - Gets the mime type (Typ) of the token. - - If the mime type is not found, null is returned. - - - - Gets a that contains a for each key found. - - - Keys are identified by matching a 'Reserved Header Parameter Name' found in the in JSON Web Signature specification. - Names recognized are: jku, jkw, kid, x5c, x5t, x5u - 'x5t' adds a passing a the Base64UrlDecoded( Value ) to the constructor. - 'jku', 'jkw', 'kid', 'x5u', 'x5c' each add a with the { Name, Value } passed to the . - - If no keys are found, an empty will be returned. - - - - - Initializes a new instance of which contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value }. - - - - - Initializes a new instance of the class with no claims. Default string comparer . - Creates a empty - - - - - Initializes a new instance of the class with . Default string comparer . - the claims to add. - - - - - Initializes a new instance of the class with claims added for each parameter specified. Default string comparer . - - if this value is not null, a { iss, 'issuer' } claim will be added. - if this value is not null, a { aud, 'audience' } claim will be added - if this value is not null then for each a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - if notbefore.HasValue is 'true' a { nbf, 'value' } claim is added. - if expires.HasValue is 'true' a { exp, 'value' } claim is added. - Comparison is set to - The 4 parameters: 'issuer', 'audience', 'notBefore', 'expires' take precednece over (s) in 'claims'. The values in 'claims' will be overridden. - if 'expires' <= 'notbefore'. - - - - Adds a JSON object representing the to the - - { 'Claim.Type', 'Claim.Value' } is added. If a JSON object is found with the name == then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - See for details on how is applied. - 'claim' is null. - - - - Adds a number of to the as JSON { name, value } pairs. - - for each a JSON pair { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - Each added will have translated according to the mapping found in . Adding and removing to - will affect the name component of the Json claim - Any in the that is null, will be ignored. - 'claims' is null. - - - - Gets the DateTime using the number of seconds from 1970-01-01T0:0:0Z (UTC) - - Claim in the payload that should map to an integer. - If the claim is not found, the function returns: DateTime.MinValue - - if an overflow exception is thrown by the runtime. - the DateTime representation of a claim. - - - - Serializes this instance to JSON. - - this instance as JSON. - use to customize JSON serialization. - - - - Encodes this instance as Base64UrlEncoded JSON. - - Base64UrlEncoded JSON. - use to customize JSON serialization. - - - - Deserializes Base64UrlEncoded JSON into a instance. - - base64url encoded JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Deserialzes JSON into a instance. - - the JSON to deserialize. - an instance of . - use to customize JSON serialization. - - - - Gets the 'value' of the 'actor' claim { actort, 'value' }. - - If the 'actor' claim is not found, null is returned. - - - - Gets the 'value' of the 'acr' claim { acr, 'value' }. - - If the 'acr' claim is not found, null is returned. - - - - Gets the 'value' of the 'amr' claim { amr, 'value' }. - - If the 'amr' claim is not found, null is returned. - - - - Gets the 'value' of the 'auth_time' claim { auth_time, 'value' }. - - If the 'auth_time' claim is not found, null is returned. - - - - Gets the 'value' of the 'audience' claim { aud, 'value' } as a list of strings. - - If the 'audience' claim is not found, an empty enumerable is returned. - - - - Gets the 'value' of the 'azp' claim { azp, 'value' }. - - If the 'azp' claim is not found, null is returned. - - - - Gets 'value' of the 'c_hash' claim { c_hash, 'value' }. - - If the 'c_hash' claim is not found, null is returned. - - - - Gets the 'value' of the 'expiration' claim { exp, 'value' }. - - If the 'expiration' claim is not found OR could not be converted to , null is returned. - - - - Gets the 'value' of the 'JWT ID' claim { jti, 'value' }. - - If the 'JWT ID' claim is not found, null is returned. - - - - Gets the 'value' of the 'Issued At' claim { iat, 'value' }. - - If the 'Issued At' claim is not found OR cannot be converted to null is returned. - - - - Gets 'value' of the 'issuer' claim { iss, 'value' }. - - If the 'issuer' claim is not found, null is returned. - - - - Gets the 'value' of the 'expiration' claim { nbf, 'value' }. - - If the 'notbefore' claim is not found OR could not be converted to , null is returned. - - - - Gets 'value' of the 'nonce' claim { nonce, 'value' }. - - If the 'nonce' claim is not found, null is returned. - - - - Gets "value" of the 'subject' claim { sub, 'value' }. - - If the 'subject' claim is not found, null is returned. - - - - Gets 'value' of the 'notbefore' claim { nbf, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'notbefore' claim is not found, then is returned. - - - - Gets 'value' of the 'expiration' claim { exp, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'expiration' claim is not found, then is returned. - - - - Gets a for each JSON { name, value }. - - Each (s) returned will have the translated according to the mapping found in . Adding and removing to will affect the value of the . - and will be set to the value of ( if null). - - - - A designed for representing a JSON Web Token (JWT). - - - - - Initializes a new instance of from a string in JWS Compact serialized format. - - A JSON Web Token that has been serialized in JWS Compact serialized format. - 'jwtEncodedString' is null. - 'jwtEncodedString' contains only whitespace. - 'jwtEncodedString' is not in JWS Compact serialized format. - - The contents of this have not been validated, the JSON Web Token is simply decoded. Validation can be accomplished using - - - - - Initializes a new instance of the class where the contains the crypto algorithms applied to the encoded and . The jwtEncodedString is the result of those operations. - - Contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT - Contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value } - base64urlencoded JwtHeader - base64urlencoded JwtPayload - base64urlencoded JwtSignature - 'header' is null. - 'payload' is null. - 'rawSignature' is null. - 'rawHeader' or 'rawPayload' is null or whitespace. - - - - Initializes a new instance of the class where the contains the crypto algorithms applied to the encoded and . The jwtEncodedString is the result of those operations. - - Contains JSON objects representing the cryptographic operations applied to the JWT and optionally any additional properties of the JWT - Contains JSON objects representing the claims contained in the JWT. Each claim is a JSON object of the form { Name, Value } - 'header' is null. - 'payload' is null. - - - - Initializes a new instance of the class specifying optional parameters. - - if this value is not null, a { iss, 'issuer' } claim will be added. - if this value is not null, a { aud, 'audience' } claim will be added - if this value is not null then for each a { 'Claim.Type', 'Claim.Value' } is added. If duplicate claims are found then a { 'Claim.Type', List<object> } will be created to contain the duplicate values. - if expires.HasValue a { exp, 'value' } claim is added. - if notbefore.HasValue a { nbf, 'value' } claim is added. - The that will be used to sign the . See for details pertaining to the Header Parameter(s). - if 'expires' <= 'notbefore'. - - - - Serializes the and - - A string containing the header and payload in JSON format - - - - Decodes the string into the header, payload and signature - - Base64Url encoded string. - - - - Gets the 'value' of the 'actor' claim { actort, 'value' }. - - If the 'actor' claim is not found, null is returned. - - - - Gets the list of 'audience' claim { aud, 'value' }. - - If the 'audience' claim is not found, enumeration will be empty. - - - - Gets the (s) for this token. - - (s) returned will NOT have the translated according to - - - - Gets the Base64UrlEncoded associated with this instance. - - - - - Gets the Base64UrlEncoded associated with this instance. - - - - - Gets the associated with this instance. - - - - - Gets the 'value' of the 'JWT ID' claim { jti, ''value' }. - - If the 'JWT ID' claim is not found, null is returned. - - - - Gets the 'value' of the 'issuer' claim { iss, 'value' }. - - If the 'issuer' claim is not found, null is returned. - - - - Gets the associated with this instance. - - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the original raw data of this instance when it was created. - - The original JSON Compact serialized format passed to one of the two constructors - or - - - - Gets the s for this instance. - - By default an empty collection is returned. - - - - Gets the signature algorithm associated with this instance. - - if there is a associated with this instance, a value will be returned. Null otherwise. - - - - Gets the associated with this instance. - - - - - Gets or sets the that signed this instance. - - .ValidateSignature(...) sets this value when a is used to successfully validate a signature. - - - - Gets or sets the that contains a that signed this instance. - - .ValidateSignature(...) sets this value when a is used to successfully validate a signature. - - - - Gets "value" of the 'subject' claim { sub, 'value' }. - - If the 'subject' claim is not found, null is returned. - - - - Gets 'value' of the 'notbefore' claim { nbf, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'notbefore' claim is not found, then is returned. - - - - Gets 'value' of the 'expiration' claim { exp, 'value' } converted to a assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z). - - If the 'expiration' claim is not found, then is returned. - - - - A designed for creating and validating Json Web Tokens. See http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-07. - - - - - Default lifetime of tokens created. When creating tokens, if 'expires' and 'notbefore' are both null, then a default will be set to: expires = DateTime.UtcNow, notbefore = DateTime.UtcNow + TimeSpan.FromMinutes(TokenLifetimeInMinutes). - - - - - Initializes a new instance of the class. - - - - - Obsolete method, use when processing tokens. - - use . when processing tokens. - - - - Determines if the is positioned on a well formed <BinarySecurityToken> element. - - positioned at xml. - - 'true' if the reader is positioned at an element <BinarySecurityToken>. - in the namespace: 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' - With an attribute of 'valueType' equal to one of: -     "urn:ietf:params:oauth:token-type:jwt", "JWT" - - For example: <wsse:BinarySecurityToken valueType = "JWT"> ... - - 'false' otherwise. - - The 'EncodingType' attribute is optional, if it is set, it must be equal to: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary". - 'reader' is null. - - - - Determines if the string is a well formed Json Web token (see http://tools.ietf.org/html/draft-ietf-oauth-json-web-token-07) - - string that should represent a valid JSON Web Token. - Uses ( token, @"^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$" ). - - - 'true' if the token is in JSON compact serialization format. - 'false' if token.Length * 2 > . - - 'tokenString' is null. - - - - Creating is not NotSupported. - - to create a . - - - - Creates a based on values found in the . - - Contains the parameters used to create the token. - A . - - If is not null, will be signed. - - 'tokenDescriptor' is null. - - - - Uses the constructor, first creating the and . - If is not null, will be signed. - - the issuer of the token. - the audience for this token. - the source of the (s) for this token. - the notbefore time for this token. - the expiration time for this token. - contains cryptographic material for generating a signature. - optional . - If is not null, then a claim { actort, 'value' } will be added to the payload. for details on how the value is created. - See for details on how the HeaderParameters are added to the header. - See for details on how the values are added to the payload. - If signautureProvider is not null, then it will be used to create the signature and will not be called. - A . - if 'expires' <= 'notBefore'. - - - - Gets the token type identifier(s) supported by this handler. - - A collection of strings that identify the tokens this instance can handle. - When receiving a wrapped inside a <wsse:BinarySecurityToken> element. The <wsse:BinarySecurityToken> element must have the ValueType attribute set to one of these values - in order for this handler to recognize that it can read the token. - - - - Reads a JSON web token wrapped inside a WS-Security BinarySecurityToken xml element. - - The pointing at the jwt. - An instance of - First calls .CanReadToken - The reader must be positioned at an element named: - BinarySecurityToken'. - in the namespace: 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' - with a 'ValueType' attribute equal to one of: "urn:ietf:params:oauth:token-type:jwt", "JWT". - - For example <wsse:BinarySecurityToken valueType = "JWT"> ... - - - The 'EncodingType' attribute is optional, if it is set, it must be equal to: "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" - - - 'reader' is null. - if returns false. - - - - Reads a token encoded in JSON Compact serialized format. - - A 'JSON Web Token' (JWT) that has been encoded as a JSON object. May be signed - using 'JSON Web Signature' (JWS). - - The JWT must be encoded using Base64Url encoding of the UTF-8 representation of the JWT: Header, Payload and Signature. - The contents of the JWT returned are not validated in any way, the token is simply decoded. Use ValidateToken to validate the JWT. - - A - - - - Obsolete method, use . - - use . - - - - Reads and validates a token encoded in JSON Compact serialized format. - - A 'JSON Web Token' (JWT) that has been encoded as a JSON object. May be signed using 'JSON Web Signature' (JWS). - Contains validation parameters for the . - The that was validated. - 'securityToken' is null or whitespace. - 'validationParameters' is null. - 'securityToken.Length' > . - A from the jwt. Does not include the header claims. - - - - Writes the wrapped in a WS-Security BinarySecurityToken using the . - - used to write token. - The that will be written. - 'writer' is null. - 'token' is null. - 'token' is not a not . - The current contents are encoded. If is not null, the encoding will contain a signature. - - - - Writes the as a JSON Compact serialized format string. - - to serialize. - - If the are not null, the encoding will contain a signature. - - 'token' is null. - 'token' is not a not . - The as a signed (if exist) encoded string. - - - - Produces a signature over the 'input' using the and algorithm specified. - - string to be signed - the to use. - the algorithm to use. - if provided, the will be used to sign the token - The signature over the bytes obtained from UTF8Encoding.GetBytes( 'input' ). - The used to created the signature is obtained by calling . - 'input' is null. - returns null. - - - - Validates that the signature, if found and / or required is valid. - - A 'JSON Web Token' (JWT) that has been encoded as a JSON object. May be signed - using 'JSON Web Signature' (JWS). - that contains signing keys. - thrown if 'token is null or whitespace. - thrown if 'validationParameters is null. - thrown if a signature is not found and is true. - thrown if the 'token' has a key identifier and none of the (s) provided result in a validated signature. - This can indicate that a key refresh is required. - thrown if after trying all the (s), none result in a validated signture AND the 'token' does not have a key identifier. - that has the signature validated if token was signed and is true. - If the 'token' is signed, the signature is validated even if is false. - If the 'token' signature is validated, then the will be set to the key that signed the 'token'. - - - - Produces a readable string for a key, used in error messages. - - - - - - - Creates a from a . - - The to use as a source. - The value to set - contains parameters for validating the token. - A containing the . - - - - Creates the 'value' for the actor claim: { actor, 'value' } - - as actor. - representing the actor. - If is not null: -   if 'type' is 'string', return as string. -   if 'type' is 'BootstrapContext' and 'BootstrapContext.SecurityToken' is 'JwtSecurityToken' -     if 'JwtSecurityToken.RawData' != null, return RawData. -     else return . -   if 'BootstrapContext.Token' != null, return 'Token'. - default: new ( ( actor.Claims ). - - 'actor' is null. - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - see for additional details. - - - - Validates the lifetime of a . - - The value of the 'nbf' claim if it exists in the 'jwt'. - The value of the 'exp' claim if it exists in the 'jwt'. - The being validated. - required for validation. - for additional details. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the (s) in the . - for additional details. - - - - Returns a to use when validating the signature of a token. - - the representation of the token that is being validated. - the that is being validated. - the found in the token. - A required for validation. - Returns a to use for signature validation. - if 'keyIdentifier' is null. - if 'validationParameters' is null. - If key fails to resolve, then null is returned - - - - Validates the is an expected value. - - The that signed the . - The to validate. - the current . - If the is a then the X509Certificate2 will be validated using . - - - Gets or sets the used to map Inbound Cryptographic Algorithms. - Strings that describe Cryptographic Algorithms that are understood by the runtime are not necessarily the same values used in the JsonWebToken specification. - When a signature is validated, the algorithm is obtained from the HeaderParameter { alg, 'value' }. - The 'value' is translated according to this mapping and the translated 'value' is used when performing cryptographic operations. - Default mapping is: -     RS256 => http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 -     HS256 => http://www.w3.org/2001/04/xmldsig-more#hmac-sha256 - - 'value' is null. - - - Gets or sets the used to map Outbound Cryptographic Algorithms. - Strings that describe Cryptographic Algorithms understood by the runtime are not necessarily the same in the JsonWebToken specification. - This property contains mappings the will be used to when creating a and setting the HeaderParameter { alg, 'value' }. - The 'value' set is translated according to this mapping. - - Default mapping is: -     http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 => RS256 -     http://www.w3.org/2001/04/xmldsig-more#hmac-sha256 => HS256 - - 'value' is null. - - - - Gets or sets the that is used when setting the for claims in the extracted when validating a . - The is set to the JSON claim 'name' after translating using this mapping. - - 'value is null. - - - - Gets or sets the that is used when creating a from (s). - The JSON claim 'name' value is set to after translating using this mapping. - - This mapping is applied only when using or . Adding values directly will not result in translation. - 'value is null. - - - Gets or sets the used to filter claims when populating a claims form a . - When a is validated, claims with types found in this will not be added to the . - 'value' is null. - - - - Gets or sets the property name of the will contain the original JSON claim 'name' if a mapping occurred when the (s) were created. - See for more information. - - if .IsIsNullOrWhiteSpace('value') is true. - - - - Gets or sets the property name of the will contain .Net type that was recogninzed when JwtPayload.Claims serialized the value to JSON. - See for more information. - - if .IsIsNullOrWhiteSpace('value') is true. - - - - Returns 'true' which indicates this instance can validate a . - - - - - Returns 'true', which indicates this instance can write . - - - - - Gets and sets the token lifetime in minutes. - - 'value' less than 1. - - - - Gets and sets the maximum size in bytes, that a will be processed. - - 'value' less than 1. - - - - Gets or sets the for creating (s). - - This extensibility point can be used to insert custom (s). - is called to obtain a (s) when needed. - 'value' is null. - - - - Gets the supported by this handler. - - - - - represents a collection of named sets of (s) that can be matched by a - and return a that contains (s). - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - Populates this instance with a named collection of (s) and an optional that will be called when a - or cannot be resolved. - - - A named collection of (s). - - - A to call when resolving fails, before calling base. - - - if 'keys' is null an empty collection will be created. A named collection of (s) can be added by accessing the property . - - - - - Populates the from xml. - - xml for processing. - 'nodeList' is null. - Only (s) with == 'securityKey' will be processed. Unprocessed nodes will added to a list and can be accessed using the property. - - - - When processing xml in each that has = "securityKey' is passed here for processing. - - contains xml to map to a named . - - A single is expected with up to three attributes: {'expected values'}. - <securityKey -     symmetricKey {required} -     name {required} -     EncodingType or encodingType {optional} - > - </securityKey> - If "EncodingType' type is specified only: -     'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary' -     'Base64Binary' -     'base64Binary' - are allowed and have the same meaning. - When a symmetricKey is found, Convert.FromBase64String( value ) is applied to create the key. - - 'element' is null. - attribute 'symmetricKey' is not found. - value of 'symmetricKey' is empty or whitespace. - attribute 'name' is not found. - value of 'name' is empty or whitespace. - value of 'encodingType' is not valid. - - - - Finds the first in a named collection that match the . - - - The to resolve to a - - - The resolved . - - - If there is no match, then and 'base' are called in order. - - - true if key resolved, false otherwise. - - - - - Finds a named collection of (s) that match the and returns a that contains the (s). - - The to resolve to a - The resolved . - - - A can contain multiple (s). This method will return the named collection that matches the first - - - If there is no match, then and 'base' are called in order. - - - - true is the keyIdentifier is resolved, false otherwise. - - - - - Finds a named collection of (s) that match the and returns a that contains the (s). - - The to resolve to a - The resolved . - If there is no match, then and 'base' are called in order. - true if token was resolved. - if 'keyIdentifierClause' is null. - - - - Gets the named collection of (s). - - - - - Gets or sets the to call when or fails to resolve, before calling base. - - 'value' is null. - 'object.ReferenceEquals( this, value)' is true. - - - - Gets the unprocessed (s) from . - - processes only (s) that have the == 'securityKey'. Unprocessed (s) are accessible here. - - - - A that can be used to match . - - - - - Initializes a new instance of the class. The 'name' for matching key identifiers found in the securityToken. - - Used to identify a named collection of keys. - Additional information for matching. - if 'name' is null or whitespace. - if 'id' is null or whitespace - - - - Determines if a matches this instance. - - The to match. - true if: -     1. keyIdentifierClause is a . -     2. string.Equals( keyIdentifierClause.Name, this.Name, StringComparison.Ordinal). -     2. string.Equals( keyIdentifierClause.Id, this.Id, StringComparison.Ordinal). - Otherwise calls base.Matches( keyIdentifierClause ). - - 'keyIdentifierClause' is null. - - - - Gets the name of the (s) this represents. - - - - - A that contains multiple that have a name. - - - - - Initializes a new instance of the class that contains a single . - - A name for the . - the identifier for this token. - A - if 'name' is null or whitespace. - if 'id' is null or whitespace. - if 'key' is null. - - - - Initializes a new instance of the class that contains a (System.IdentityModel.Tokens.SecurityKey) that can be matched by name. - - the identifier for this token. - A name for the (System.IdentityModel.Tokens.SecurityKey). - A collection of - if 'name' is null or whitespace. - if 'id' is null or whitespace. - if 'keys' is null. - - - - Gets the first that matches a - - the to match. - The first that matches the . - null if there is no match. - Only are matched. - 'keyIdentifierClause' is null. - - - - Answers if the is a match. - - The - true if matched. - A successful match occurs when == . - Only are matched. - 'keyIdentifierClause' is null. - - - - Gets the id of the security token. - - - - - Gets the Name of the security token. - - - - - Gets the creation time as a . - - The default is: . - - - - Gets the expiration time as a - - The default is: . - - - - Gets the (s). - - - - - This exception is thrown when 'audience' of a token was not valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when 'issuer' of a token was not valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when 'lifetime' of a token was not valid. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when a security is missing an ExpirationTime. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when an add to the TokenReplayCache fails. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - This exception is thrown when a security token contained a key identifier but the key was not found by the runtime. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - - - - Initializes a new instance of the class. - - Addtional information to be included in the exception and displayed to user. - A that represents the root cause of the exception. - - - - Initializes a new instance of the class. - - the that holds the serialized object data. - The contextual information about the source or destination. - - - - Creates s by specifying a and algorithm. - Supports both and . - - - - - This is the minimum .KeySize when creating signatures. - - - - - This is the minimum .KeySize when verifying signatures. - - - - - This is the minimum .KeySize when creating and verifying signatures. - - - - - Creates a that supports the and algorithm. - - - The to use for signing. - - - The algorithm to use for signing. - - - 'key' is null. - - - 'algorithm' is null. - - - 'algorithm' contains only whitespace. - - - '' is smaller than . - - - '' is smaller than . - - - '' is not a or a . - - - AsymmetricSignatureProviders require access to a PrivateKey for Signing. - - - The . - - - - - Returns a instance supports the and algorithm. - - - The to use for signing. - - - The algorithm to use for signing. - - - 'key' is null. - - - 'algorithm' is null. - - - 'algorithm' contains only whitespace. - - - '' is smaller than . - - - '' is smaller than . - - - '' is not a or a . - - - The . - - - - - When finished with a call this method for cleanup. The default behavior is to call - - to be released. - - - - Gets or sets the minimum .KeySize"/>. - - 'value' is smaller than . - - - - Gets or sets the minimum .KeySize for creating signatures. - - 'value' is smaller than . - - - - Gets or sets the minimum .KeySize for verifying signatures. - 'value' is smaller than . - - - - - Provides signing and verifying operations using a and specifying an algorithm. - - - - - Initializes a new instance of the class that uses an to create and / or verify signatures over a array of bytes. - - The used for signing. - The signature algorithm to use. - 'key' is null. - 'algorithm' is null. - 'algorithm' contains only whitespace. - '.KeySize' is smaller than . - throws. - returns null. - throws. - - - - Produces a signature over the 'input' using the and 'algorithm' passed to . - - bytes to sign. - signed bytes - 'input' is null. - 'input.Length' == 0. - has been called. - is null. This can occur if a derived type deletes it or does not create it. - - - - Verifies that a signature created over the 'input' matches the signature. Using and 'algorithm' passed to . - - bytes to verify. - signature to compare against. - true if computed signature matches the signature parameter, false otherwise. - 'input' is null. - 'signature' is null. - 'input.Length' == 0. - 'signature.Length' == 0. - has been called. - if the internal is null. This can occur if a derived type deletes it or does not create it. - - - - Disposes of internal components. - - true, if called from Dispose(), false, if invoked inside a finalizer. - - - - Compares two byte arrays for equality. Hash size is fixed normally it is 32 bytes. - The attempt here is to take the same time if an attacker shortens the signature OR changes some of the signed contents. - - - One set of bytes to compare. - - - The other set of bytes to compare with. - - - true if the bytes are equal, false otherwise. - - - - - Definition for AudienceValidator. - - The audiences found in the . - The being validated. - required for validation. - - - - Definition for IssuerSigningKeyRetriever. When validating signatures, this method will return key to use. - - the representation of the token that is being validated. - the that is being validated. It may be null. - the found in the token. It may be null. - required for validation. - - - - - Definition for IssuerValidator. - - The issuer to validate. - The that is being validated. - required for validation. - The issuer to use when creating the "Claim"(s) in a "ClaimsIdentity". - - - - Definition for LifetimeValidator. - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - - - - Contains a set of parameters that are used by a when validating a . - - - - - Default for the maximm token size. - - 2 MB (mega bytes). - - - - This is the fallback authenticationtype that a will use if nothing is set. - - - - - Default for the clock skew. - - 300 seconds (5 minutes). - - - - Copy constructor for . - - - - - Initializes a new instance of the class. - - - - - Returns a new instance of with values copied from this object. - - A new object copied from this object - This is a shallow Clone. - - - - Creates a using: - - 'NameClaimType' is calculated: If NameClaimTypeRetriever call that else use NameClaimType. If the result is a null or empty string, use . - 'RoleClaimType' is calculated: If RoleClaimTypeRetriever call that else use RoleClaimType. If the result is a null or empty string, use . - - A with Authentication, NameClaimType and RoleClaimType set. - - - - Gets or sets a delegate that will be used to validate the audience of the tokens - - - - - Gets or sets the AuthenticationType when creating a during token validation. - - if 'value' is null or whitespace. - - - - Gets or sets the for validating X509Certificate2(s). - - - - - Gets or sets the that is to be used for decrypting inbound tokens. - - if 'value' is null. - - - - Gets or sets the clock skew to apply when validating times - - if 'value' is less than 0. - - - - Gets or sets the that is to be used for validating signed tokens. - - - - - Gets or sets the that is to be used for validating signed tokens. - - - - - Gets or sets a delegate that will be used to retreive (s) used for checking signatures. - - Each will be used to check the signature. Returning multiple key can be helpful when the does not contain a key identifier. - This can occur when the issuer has multiple keys available. This sometimes occurs during key rollover. - - - - Gets or sets the that are to be used for validating signed tokens. - - - - - Gets or sets the that is used for validating signed tokens. - - - - - Gets or sets the that are to be used for validating signed tokens. - - - - - Gets or sets a delegate that will be used to validate the issuer of the token. The delegate returns the issuer to use. - - - - - Gets or sets a delegate that will be used to validate the lifetime of the token - - - - - Gets or sets the passed to . - - - Controls the value returns. It will return the first where the equals . - - - - - Gets or sets the passed to . - - - Controls the (s) returned from . - Each returned will have a equal to . - - - - - Gets or sets a delegate that will be called to obtain the NameClaimType to use when creating a ClaimsIdentity - when validating a token. - - - - - Gets or sets a value indicating whether tokens must have an 'expiration' value. - - - - - Gets or sets a value indicating whether a can be valid if not signed. - - - - - Gets or sets a delegate that will be called to obtain the RoleClaimType to use when creating a ClaimsIdentity - when validating a token. - - - - - Gets or sets a boolean to control if the original token is saved when a session is created. /// - The SecurityTokenValidator will use this value to save the orginal string that was validated. - - - - Gets or set the that will be checked to help in detecting that a token has been 'seen' before. - - - - - Gets or sets a value indicating whether the should be validated. - - - - - Gets or sets a boolean to control if the audience will be validated during token validation. - - - - - Gets or sets a boolean to control if the issuer will be validated during token validation. - - - - - Gets or sets a boolean to control if the lifetime will be validated during token validation. - - - - - Gets or sets a boolean that controls if validation of the that signed the securityToken is called. - - - - - Gets or sets a string that represents a valid audience that will be used during token validation. - - - - - Gets or sets the that contains valid audiences that will be used during token validation. - - - - - Gets or sets a that represents a valid issuer that will be used during token validation. - - - - - Gets or sets the that contains valid issuers that will be used during token validation. - - - - - AudienceValidator - - - - - Determines if the audiences found in a are valid. - - The audiences found in the . - The being validated. - required for validation. - if 'vaidationParameters' is null. - if 'audiences' is null and is true. - if is null or whitespace and is null. - if none of the 'audiences' matched either or one of . - An EXACT match is required. - - - - Determines if an issuer found in a is valid. - - The issuer to validate - The that is being validated. - required for validation. - The issuer to use when creating the "Claim"(s) in a "ClaimsIdentity". - if 'vaidationParameters' is null. - if 'issuer' is null or whitespace and is true. - if is null or whitespace and is null. - if 'issuer' failed to matched either or one of . - An EXACT match is required. - - - - Validates the that signed a . - - The that signed the . - The being validated. - required for validation. - if 'vaidationParameters' is null. - - - - Validates the lifetime of a . - - The 'notBefore' time found in the . - The 'expiration' time found in the . - The being validated. - required for validation. - if 'vaidationParameters' is null. - if 'expires.HasValue' is false and is true. - if 'notBefore' is > 'expires'. - if 'notBefore' is > DateTime.UtcNow. - if 'expires' is < DateTime.UtcNow. - All time comparisons apply . - - - - Validates if a token has been replayed. - - The being validated. - When does the security token expire. - required for validation. - if 'securityToken' is null or whitespace. - if 'validationParameters' is null or whitespace. - if is not null and expirationTime.HasValue is false. When a TokenReplayCache is set, tokens require an expiration time. - if the 'securityToken' is found in the cache. - if the 'securityToken' could not be added to the . - - - - Defines constants needed from WS-Security 1.0. - - - - - Defines constants needed from WS-SecureUtility standard schema. - - - - - This class also resets the chainPolicy.VerificationTime = DateTime.Now each time a certificate is validated otherwise certificates created after the validator is created will not chain. - - - - - Initializes a new instance of the class. - - - The certificate validation mode. - - - The revocation mode. - - - The trusted store location. - - thrown if the certificationValidationMode is custom or unknown. - - - - - Validates a . - - - The to validate. - - - - - Security key that allows access to cert - - - - - Instantiates a using a - - cert to use. - - - - Gets the . - - - - diff --git a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.dll b/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.dll deleted file mode 100644 index 384dfaf1b..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.pdb b/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.pdb deleted file mode 100644 index 932f44f93..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.IdentityModel.Tokens.Jwt.4.0.2.206221351/lib/net45/System.IdentityModel.Tokens.Jwt.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/System.Spatial.5.6.4.nupkg b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/System.Spatial.5.6.4.nupkg deleted file mode 100644 index 0d6905ef0..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/System.Spatial.5.6.4.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/System.Spatial.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/System.Spatial.dll deleted file mode 100644 index 76722a0ad..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/System.Spatial.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/System.Spatial.xml b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/System.Spatial.xml deleted file mode 100644 index c65e0857d..000000000 --- a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/System.Spatial.xml +++ /dev/null @@ -1,6950 +0,0 @@ - - - - System.Spatial - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Formatter for Json Object - - - - Represents a formatter for Json object. - - - Creates the implementation of the formatter. - The created implementation. - - - Reads from the source. - The object that was read. - The source json object. - The spatial type to read. - - - Converts spatial value to a Json object. - The json object. - The spatial value. - - - - The implementation that created this instance. - - - - - Spatial builder - - - - - The parse pipeline - - - - - Constructor - - The SpatialImplementation that created this instance - - - - Read from the source - - The spatial type to read - The source json object - The read instance - - - - Convert spatial value to a Json Object - - The spatial value - The json object - - - - Initialize the pipeline - - - - - Convert Spatial objects into json writer - - - - - Base Writer for GeoJson - - - - - Base class to create a unified set of handlers for Geometry and Geography - - - - - Performs an implicit conversion from to . - - The instance to convert. - - The result of the conversion. - - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - the coordinate system to be passed down the pipeline - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - This class is responsible for taking the calls to DrawGeography and delegating them to the unified - handlers - - - - Represents the pipeline of geography. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - This class is responsible for taking the calls to DrawGeometry and delegating them to the unified - handlers - - - - Represents the pipeline of geometry. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Stack to track the current type being written. - - - - - CoordinateSystem for the types being written. - - - - - Figure added in current shape - - - - - Creates a new instance of the GeoJsonWriter. - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - End the current json object scope - - - - - End the current json array scope - - - - - Setup the pipeline for reuse - - - - - Gets the GeoJson type name to use when writing the specified type. - - SpatialType being written. - GeoJson type name corresponding to the specified . - - - - Gets the name of the GeoJson member to use when writing the body of the spatial object. - - SpatialType being written. - Name of the GeoJson member to use when writing the body of the spatial object. - - - - Whether or not the specified type wraps its data in an outer array. - - SpatialType being written. - True if the type uses an outer array, otherwise false. - - - - Sets the CoordinateSystem for Geography and Geometry shapes. - - CoordinateSystem value to set. - - - - Start writing a Geography or Geometry shape. - - SpatialType to use when writing the shape. - Default CoordinateSystem to use if SetCoordinateSystem is never called on this shape. - - - - Write the type header information for a shape. - - SpatialType being written. - - - - Start writing a figure in a Geography or Geometry shape. - - - - - Write a position in a Geography or Geometry figure. - - First (X/Longitude) Coordinate - Second (Y/Latitude) Coordinate - Z Coordinate - M Coordinate - - - - Ends a Geography or Geometry figure. - - - - - Ends a Geography or Geometry shape. - - - - - Writes the coordinate reference system footer for the GeoJson object. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - True if the shape is not a child of another shape. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - Stack of json objects - - - - - Buffered key of the current name-value pair - - - - - Stores the last object fully serialized - - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - End the current json array scope - - - - - End the current json object scope - - - - - Add an json object to the current scope - - The json object - - - - Return the current property name, and clear the buffer - - The current property name - - When inserting to a dictionary, the name-value pair comes across multiple pipeline calls - Therefore we need to buffer the name part and wait for the value part. - You can get into an incorrect state (caught by asserts) if you add a property name without - using it immediately next. - - - - - Access the current container as a List - - The current container as list - - - - Access the current container as a Dictionary - - The current container as dictionary - - - - Get the top level json object - - - - - Test if the current container is an array - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Latitude. - - - - - Internal pipeline Inteface that washes the distinction between Geography and Geometry - - - - - Set the coordinate system based on the given EPSG ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Add a control point to the current figure - - First coordinate - Second coordinate - Third coordinate - Fourth coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Longitude. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The spatial reader that can read from a pre parsed GeoJson payload - - - - - Reader to be used by spatial formats - - The type of source that the reader operates on. - - - - Creates a reader - - the instance of the pipeline that the reader will message while it is reading. - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Sets the reader and underlying Destination back to a clean - starting state after an exception - - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - The pipeline that is messaged while the reader is reading. - - - - - Initializes a new instance of the class. - - The pipeline. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The jsonObject to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The jsonObject to read from. - - - - A common way to call Geography and Geometry pipeline apis from the structured Json - - - - - Pipeline to use for the output of the translation of the GeoJSON object into pipeline method calls. - - - - - Initializes a new instance of the class. - - Spatial pipeline that will receive the pipeline method calls. - - - - Translates a dictionary of parsed GeoJSON members and values into method calls on the spatial pipeline. - - Dictionary containing GeoJSON members and values. - Coordinate System must be set for this pipeline - - - - Iterates over an object array, verifies that each element in the array is another array, and calls a delgate on the contained array. - - Array to iterate over. - Delegate to invoke for each element once it has been validated to be an array. - - - - Convert an object to a nullable double value. - - Object to convert. - If the specified element was null, returns null, otherwise returns the converted double value. - - - - Convert an object to a non-null double value. - - Object to convert. - Converted double value. - - - - Values as json array. - - The value. - The value cast as a json array. - - - - Values as json object. - - The value. - The value cast as IDictionary<string, object> - - - - Values as string. - - Name of the property. - The value. - The value cast as a string. - - - - Get the type member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - SpatialType for the GeoJSON object. - - - - Tries to get a coordinate system id from the geo json object's 'crs' property - - The geo json object. - The coordinate system id. - True if the object had a coordinate system - - - - Gets the coordinate system ID from a representation of the CRS object - - The parsed representation of the CRS object. - The coordinate system ID - - - - Get the designated member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - The member's tag name - Member value for the GeoJSON object. - - - - This method assumes a non forward only enumerable - - The enumerable to check - true if there is at least one element - - - - Reads GeoJson 'type' value and maps it a valid SpatialType. - - The GeoJson standard type name - SpatialType corresponding to the GeoJson type name. - - - - Sends a shape to the spatial pipeline. - - SpatialType of the shape. - Content member for the shape - - - - Translates the coordinates member value into method calls on the spatial pipeline. - - SpatialType of the GeoJSON object. - Coordinates value of the GeoJSON object, or inner geometries for collection - - - - Translates the coordinates member value of a Point object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a LineString object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a Polygon object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a MultiPoint, MultiLineString, or MultiPolygon object into method calls on the spatial pipeline. - - Type of the shape contained in the Multi shape. - Parsed coordinates array. - - - - Translates an array of positions into method calls on the spatial pipeline. - - List containing the positions. - - - - Translates an individual position into a method call on the spatial pipeline. - - List containing elements of the position. - True if the position is the first one being written to a figure, otherwise false. - - - - A key consisting of multiple fields - - The type of the first field. - The type of the second field. - - - - The first field - - - - - The second field - - - - - Initializes a new instance of the class. - - The first. - The second. - - - - Implements the operator ==. - - The left. - The right. - - The result of the operator. - - - - - Implements the operator !=. - - The left. - The right. - - The result of the operator. - - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - The parameter is null. - - - - 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 the extensions to formatters. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Represents the full globe of geography. - - - Represents the geography surface. - - - Represents a base class of geography shapes. - - - Represents the spatial interface. - - - Gets the coordinate system. - The coordinate system. - - - Gets a value that indicates whether the spatial type is empty. - true if the spatial type is empty; otherwise, false. - - - - The implementation that created this instance - - - - - The CoordinateSystem of this geography - - - - Initializes a new instance of the class. - The coordinate system of this geography. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Computes the hashcode for the given CoordinateSystem and the fields - - Spatial type instances or doubles for base types (Geography/Geometry types). - CoordinateSystem instance. - Spatial type instances or doubles for base types (Geography/Geometry types). - hashcode for the CoordinateSystem instance and Spatial type instances. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the coordinate system of the geography. - The coordinate system of the geography. - - - Gets a value that indicates whether the geography is empty. - true if the geography is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Represents the curve of geography. - - - Initializes a new instance of the class. - The coordinate system of this geography curve. - The implementation that created this instance. - - - Represents a geography line string consist of an array of geo points. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the multi-curve of geography. - - - Represents the collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this geography collection. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the collection of geographies. - The collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the multi-line string of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the line strings. - A collection of line strings. - - - Represents the multi-point of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the multi-polygon of geography. - - - Represents the multi-surface of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents a geography point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Creates a geography point using the specified latitude and longitude. - The geography point that was created. - The latitude. - The longitude. - - - Creates a geography point using the specified latitude, longitude and dimension. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - - - Creates a geography point using the specified latitude, longitude and dimensions. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Creates a geography point using the specified coordinate system, latitude, longitude and dimensions. - The geography point that was created. - The coordinate system to use. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the latitude. - The latitude. - - - Gets the longitude. - The longitude. - - - Gets the nullable Z. - The nullable Z. - Z is the altitude portion of position. - - - Gets the nullable M. - The nullable M. - M is the arbitrary measure associated with a position. - - - Represents the geography polygon. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of rings. - A collection of rings. - - - Represents the geometry collection. - - - Represents the base class of geography shapes. - - - - The implementation that created this instance. - - - - - The CoordinateSystem of this geometry - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the SRID of this instance of geometry. - The SRID of this instance of geometry. - - - Gets a value that indicates whether geometry is empty. - true if the geometry is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the geometry instances in this collection. - A collection of geometries. - - - Represents the geometry curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the geometry multi-curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry multi-line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of line strings. - A collection of line strings. - - - Represents the geometry multi-point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the geometry multi-polygon. - - - Represents the geometry multi-surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents the Geometry Point. - - - Initializes a new instance of the class. Empty Point constructor. - The CoordinateSystem. - The implementation that created this instance. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The coordinate system to use. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Gets the Hashcode. - The hashcode. - - - Gets the Latitude. - The Latitude. - - - Gets the Longitude. - The Longitude. - - - Gets the Nullable Z. - The Nullable Z. - Z is the altitude portion of position. - - - Gets the Nullable M. - The Nullable M. - M is the arbitrary measure associated with a position. - - - Represents the Geometry polygon. - - - Represents a geometry surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The CoordinateSystem. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Indicates the Get Hashcode. - The hashcode. - - - Gets the set of rings. - - - Provides access to the geography objects that this object constructs. - - - Fires when the provider constructs a geography object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Provides access to the geometry objects that this object constructs. - - - Fires when the provider constructs a geometry object. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Provides access to the constructed geography or geometry. - - - The exception that is thrown on an unsuccessful parsing of the serialized format. - - - Creates a new instance of the class. - - - Creates a new instance of the class from a message and previous exception. - The message about the exception. - The exception that preceeded this one. - - - Creates a new instance of the class from a message. - The message about the exception. - - - Creates a new instance of the class from a serialized data. - The instance that holds the serialized object data about the exception being thrown. - The instance that contains contextual information about the source or destination. - - - Creates a geometry or geography instances from spatial data pipelines. - - - - One link of a geospatial pipeline - - - - - the geography side of the pipeline - - - - - the geometry side of the pipeline - - - - - A reference to the begining link of the chain - useful for getting the startingLink when creating the chain fluently - e.g. new ForwardingSegment(new Node()).ChainTo(new Node()).ChainTo(new Node).StartingLink - - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The geography chain. - The geometry chain. - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - Adds the next pipeline. - The last pipesegment in the chain, usually the one just created. - The next pipeline. - - - Gets the geography side of the pipeline. - - - Gets the geometry side of the pipeline. - - - Gets or sets the starting link. - The starting link. - - - - The builder to be delegated to when this class is accessed from the IGeographyPipeline or IGeographyProvider interfaces. - - - - - The builder to be delegated to when this class is accessed from the IGeometryPipeline or IGeometryProvider interfaces. - - - - Initializes a new instance of the class. - The geography input. - The geometry input. - The geography output. - The geometry output. - - - Creates an implementation of the builder. - The created SpatialBuilder implementation. - - - Fires when the provider constructs geography object. - - - Fires when the provider constructs geometry object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Represents the base class for all Spatial Formats. - The type of reader to be read from. - The type of reader to be read from. - - - - The implementation that created this instance. - - - - Initializes a new instance of the <see cref="T:System.Spatial.SpatialFormatter`2" /> class. - The implementation that created this instance. - - - Parses the input, and produces the object. - The input. - The input to be parsed. - The type of object to produce. - - - Parses the input, and produces the object. - The input to be parsed. - The pipeline to call during reading. - The type of object to produce. - - - Creates a valid format from the spatial object. - The object that the format is being created for. - The stream to write the formatted object to. - - - Creates the writerStream. - The writerStream that was created. - The stream that should be written to. - - - Reads the Geography from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Reads the Geometry from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Creates the builder that will be called by the parser to build the new type. - The builder that was created. - - - Defines a list of allowed OpenGisTypes types. - - - - Unknown - - - - - Point - - - - - Line String - - - - - Polygon - - - - - Multi-Point - - - - - Multi-Line-String - - - - - Multi-Polygon - - - - - Collection - - - - - Full Globe - - - - Provides a place to add extension methods that work with ISpatial. - - - Allows the delegation of the call to the proper type (geography or Geometry). - The instance that will have SendTo called. - The pipeline that the instance will be sent to. - - - - Coordinate System Reference - - - - - Default Geometry Reference - - - - - Default Geography Reference (SRID 4326, WGS84) - - - - - List of registered references - - - - - A lock object for the References static dict - - - - - The shape of the space that this coordinate system measures. - - - - Initializes a static instance of the class. - - - Initializes a new instance of the class. - The coordinate system ID, according to the EPSG - The Name of the system - The topology of this coordinate system - - - Gets or creates a Geography coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Gets or creates a Geometry coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Displays the coordinate system for debugging. - The coordinate system, for debugging. - - - Displays a string that can be used with extended WKT. - String representation in the form of SRID=#; - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - 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. - - - - For tests only. Identifies whether the coordinate system is of the designated topology. - - The expected topology. - True if this coordinate system is of the expected topology. - - - - Get or create a CoordinateSystem with ID - - The SRID - The topology. - - A CoordinateSystem object - - - - - Remember this coordinate system in the references dictionary. - - The coords. - - - - Gets the key for a coordinate system - - ID - topology - The key to use with the references dict. - - - Gets the coordinate system ID according to the EPSG, or NULL if this is not an EPSG coordinate system. - The coordinate system ID according to the EPSG. - - - Gets the coordinate system Id, no matter what scheme is used. - The coordinate system Id. - - - Gets the Name of the Reference. - The Name of the Reference. - - - - The shapes of the spaces measured by coordinate systems. - - - - - Ellipsoidal coordinates - - - - - Planar coordinates - - - - - This class is responsible for executing an action the first time dispose is called on it. - - - - The action to be executed on dispose - - - - Constructs an instance of the ActonOnDispose object - - the action to be execute on dispose - - - - The dipose method of the IDisposable insterface - - - - - The object to move spatial types to and from the GML format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - The created GmlFormatter implementation. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - Returns the created WellKnownTextSqlFormatter implementation. - - - Creates the implementation of the formatter and checks whether the specified formatter has Z. - The created WellKnownTextSqlFormatter. - Restricts the formatter to allow only two dimensions. - - - - Represents one position in the Geographyal coordinate system - - - - lattitude portion of position - - - longitude portion of position - - - arbitrary measure associated with a position - - - altitude portion of position - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - The altitude portion of a position. - The arbitrary measure associated with a position. - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - - - Performs equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs equality comparison on a spatial geographic position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the latitude portion of a position. - The latitude portion of a position. - - - Gets the longitude portion of a position. - The longitude portion of a position. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the altitude portion of a position. - The altitude portion of a position. - - - - Represents one position in the Geometry coordinate system - - - - arbitrary measure associated with a position - - - x portion of position - - - y portion of position - - - altitude portion of position - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - The altitude portion of position. - The arbitrary measure associated with a position. - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - - - Performs the equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs the inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs the equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs the equality comparison on a spatial geometry position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the X portion of position. - The X portion of position. - - - Gets the Y portion of position. - The Y portion of position. - - - Gets the altitude portion of position. - The altitude portion of position. - - - - Base class for Spatial Type Validator implementations - - - - Creates the currently registered SpatialValidator implementation. - The created SpatialValidator. - - - - Extension methods for the Geography operations - - - - Determines the distance of the geography. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geography LineString. - The operation result. - The LineString operand. - - - Determines if geography point and polygon will intersect. - The operation result. - The first operand. - The second operand. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Extension methods for the Geography operations - - - - Determines the distance of the geometry. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geometry LineString. - The operation result. - The LineString operand. - - - Determines if geometry point and polygon will intersect. - The operation result. - The first operand, point. - The second operand, polygon. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Queue where things are seen in highest priority (highest compare) order - - The type of the values stored in priority order - - - - The list of queued items. - This is non-generic to avoid issues with the NetCF's reflection stack. - - - - - Initializes a new instance of the PriorityQueue class - DEVNOTE: this is only here for the FxCop suppression. - - - - - Returns the top queue value without removing it. - - The top value of the queue - - - - Adds a new value to the queue by priority. - - The priority of the new item to add. - The new item being added. - - - - Returns a value indicating whether there is already an item with the given priority in the queue - - The priority to check - Whether or not an item with the given priority is in the queue - - - - Removes the item with the priority specified from the queue - - The priority of the item to be removed from the queue - The value of the removed item. - - - - Gets the number of items in the queue - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - a particular implemenation of Spatial types - - - - Default Spatial Implementation. - - - Creates a SpatialBuilder for this implementation. - The SpatialBuilder created. - - - Creates a Formatter for Json Object. - The JsonObjectFormatter created. - - - Creates a GmlFormatter for this implementation. - The GmlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - Controls the writing and reading of the Z and M dimension. - - - Creates a spatial Validator. - The SpatialValidator created. - - - - This method throws if the operations instance is null. It returns a non-null operations implementation. - - a SpatialOperations implementation. - - - Returns an instance of SpatialImplementation that is currently being used. - - - Gets or sets the Spatial operations implementation. - - - - Class responsible for knowing how to perform operations for a particular implemenation of Spatial types - - - - Indicates the Geometry Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates a Geography Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates the Geometry LineString's length. - The operation result. - The Operand. - - - Indicates a Geography LineString's length. - The operation result. - The Operand. - - - Indicates the Geometry Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - Indicates a Geography Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - - This class holds extension methods for objects that have new capabilities - in newer versions of .net, and this lets us make the calls look the same and reduces the #if noise - - - - - StringBuilder didn't have a clear method in Orcas, so we added and extension method to give it one. - - The StringBuilder instance to clear. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - - restricts the writer and reader to allow only two dimensions. - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Initializes a new instance of the class. - - The implementation that created this instance. - restricts the reader to allow only two dimensions. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - Gml Writer - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - If an SRID has been written already. - - - - - The Coordinate System to write - - - - - Figure has been written to the current spatial type - - - - - Whether there are shapes written in the current container - - - - - Constructor - - The Xml Writer to output to - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - The coordinateSystem to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Setup the pipeline for reuse - - - - - Begin a figure - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Write the element with namespaces - - The element name - - - - Write coordinate system - - - - - Write a Point - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - End Geography/Geometry - - - - - The object to move spatial types to and from the GML format - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - WellKnownText Lexer - - - - - Lexer base - - - - - Input text - - - - - Current lexer output - - - - - Peek lexer output, if this is not null then we have advanced already - - - - - Constructor - - The input text - - - - Peek one token ahead of the current position - - The peeked token - True if there is one more token after the current position, otherwise false - - - - Move to the next token - - True if lexer has moved, otherwise false - - - - Examine the current character and determine its token type - - The char that will be read next - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - Current token - - - - - Constructor - - Input text - - - - Examine the current character and determine its token type - - The next char that will be read. - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - WellKnownText Lexer Token Type - - - - - A-Z only support upper case text. i.e., POINT() instead of Point() or point() - - - - - character '=' - - - - - characters '0' to '9' - - - - - character ';' - - - - - character '(' - - - - - character ')' - - - - - character '.' - - - - - character ',' - - - - - character ' ', '\t' - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - the data services implemenation of Spatial types - - - - - Creates a SpatialBuilder for this implemenation - - - The SpatialBuilder created. - - - - - Creates a GmlFormatter for this implementation - - The GmlFormatter created. - - - - Creates a GeoJsonObjectFormatter for this implementation - - The GeoJsonObjectFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - The WellKnownTextSqlFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - Controls the writing and reading of the Z and M dimension - - The WellKnownTextSqlFormatter created. - - - - - Creates a SpatialValidator for this implementation - - The SpatialValidator created. - - - - Property used to register Spatial operations implementation. - - - - - Builder for Geography types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geography object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - Tree based builder for spatial types - - Geography or Geometry - - - - The figure this builder is currently building - - - - - Current builder tree root - - - - - lastConstructed - - - - - Draw a point in the specified coordinate - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin a new spatial type - - The spatial type - - - - Ends the figure set on the current node - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Notifies if we just finished building something. - - - - - Traverses up the tree. - - - - - Fires when the builder creates a top-level spatial object. - - - - - Get the constructed spatial instance - - The constructed spatial instance - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - A spatial instance node in the builder tree - - - - - Constructor - - - - - Create a child node - - The node type - The child node - - - - Children nodes - - - - - Instance - - - - - Parent node - - - - - Spatial Type - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Builder for Geometry types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geometry object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - A Geography linestring consist of an array of GeoPoints - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geography Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geographies - - - - - Line Strings - - - - - Geography Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geography - - - - - Points - - - - - Geography Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geographies - - - - - Polygons - - - - - This class is an implementation of Geography point. - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Create a empty point - - CoordinateSystem - The implementation that created this instance. - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geography polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geography Collection - - - - - Collection of geography instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of geography instances - - - - Constructor - - The implementation that created this instance. - Collection of geography instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geography Collection Empty - - - - - Geographies - - - - - Helper methods for the geography type. - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeographyLineString instance to serialize. - The pipeline to populate to - - - - Implementation of FullGlobe - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - - Constructor - - The implementation that created this instance. - - - - Sends the spatial geography object to the given sink - - The spatial pipeline - - - - Is FullGlobe empty - - - - - Geometry Line String - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Constructor - - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geometry Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geometry - - - - - Line Strings - - - - - Geometry Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geometry - - - - - Points - - - - - Geometry Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geometry - - - - - Polygons - - - - - Geometry Point - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Empty Point constructor - - CoordinateSystem - The implementation that created this instance. - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geometry polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geometry Collection - - - - - Collection of Geometry instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of Geometry instances - - - - Constructor - - The implementation that created this instance. - Collection of Geometry instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geometry Collection Empty - - - - - Geographies - - - - - Dummy class for code that is shared with ODataLib. - The ODataLib version of this class has an implementation, but this version is just provided - so that we don't have to conditionally compile all references to it in the shared code. - Since it is debug-only anyway, there is no harm in leaving this no-op version so that the shared code is cleaner. - - - - - Dummy method to allow shared code to compile. - - - - - Helper methods for Geometry types - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeometryLineString instance for which the figure needs to be drawn. - The pipeline to populate to - - - - Gml Reader - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - This class parses the xml and calls the pipeline based on what is parsed - - - - - Delimiters used in position arrays. As per Xml spec white space characters is: #x20 | #x9 | #xD | #xA - - - - - List of known gml elements that can be ignored by the parser - - - - - Atomized gml namespace - - - - - Atomized Full Globe namespace - - - - - Output pipeline - - - - - Input reader - - - - - Number of points in the current figure - - - - - Constructor - - Input Reader - Output pipeline - - - - Read - - - - - Parses the top level element in the document - - Whether coordinte system is expected - - - - Set the CoordinateSystem - - Should we allow CRS attributes - - - - creates a shape and parses the element. - This is used to parse a top level Point element, as opposed to - a point which is embeded in a linestring or a polygon. - - - - - creates a shape and parses the element for top level LineString shapes - - - - - Creates a shape and parses the Polygon element. - - - - - Creates a shape and parses the MultiPoint element. - - - - - Creates a shape and parses the MultiLineString(Gml MultiCurve) element. - - - - - Creates a shape and parses the MultiPolygon(Gml MultiSurface) element. - - - - - Creates a shape and parses the Collection(Gml MultiGeometry) element. - - - - - Creates a shape and parses the FullGlobe element - - - - - Parses a simple point. - - Allow Empty Point - - - - Parses the GmlLineStringElement. - - - - - Parses the GmlExteriorLinearRingElement - - The type or ring - - - - ParseGmlLinearRingElement parses the GmlLinearRingElement - - - - - Common function for all item collections, since they are all parsed exactly the same way - - The wrapping header tag - The member tag - The members tag - Parser for individual items - - - - parses a pos element, which eventually is used in most other top level elements. - This represents a single point location with either two or zero coordinates. - - Allow empty pos - - - - Parses a sequence of 1 or more pos and pointProperty elements - - Allow Empty Point - - - - Parses a simple pointProperty. - - Allow empty point - - - - parses a GmlPosListElement. - - Alow empty posList - - - - Reads the current content in the xml element as a double array - - - XmlReader.ReadContentAs(typeof(double[])) basically does this but a lot slower, since it will handle a bunch of - different splitters and formats. Here we simply parse it as a string and split in on one separator - - The double array - - - - Main element reading function. - Returns true if it read a non-empty start element of the given name. - possibilities: - 1- current element is not a start element named "element" - throw - 2- current element is named "element" but is an empty element - return false - 3- current element is named "element" and is not empty - return true - If the funciton returns true, it means that a non-empty element of the given name - was read, so the caller takes responsability to read the corresponding end element. - - The element name - Returns true if it read a non-empty start element of the given name. - - - - Is Start Element - - Expected Element Tag - True if reader is at the expected element - - - - Is End Element - - Expected Element Tag - True if reader is at the end of the expected element - - - - Read End Element - - - - - Call MoveToContent, then skip a known set of irrelevant elements (gml:name, gml:description) - - - - - Is reader at the start of a pos or pointProperty - - True if reader is at the expected element - - - - Prepare for figure drawing - - - - - Draw a point in the current figure - - X coordinate - Y coordinate - Z coordinate - M coordinate - - - - End Current Figure - - - - - Gml Constants - - - - - Gml Namespace - - - - - FullGlobe namespace - - - - - Gml Prefix - - - - - System reference attribute name - - - - - gml:id attribute name - - - - - System Reference Prefix - - - - - Gml representation of a point - - - - - The Gml:name element name - - - - - the Gml:Description element name - - - - - the metadata property element name - - - - - Description Reference element name - - - - - identifier element name - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml Point - - - - - Gml representation of a linestring - - - - - Gml Polygon - - - - - Gml MultiPoint - - - - - Gml MultiLineString - - - - - Gml MultiPolygon - - - - - Gml Collection - - - - - Gml FullGlobe - - - - - Gml Polygon exterior ring - - - - - Gml Polygon interior ring - - - - - Gml Ring - - - - - Member Tag for MultiPoint - - - - - Members Tag for MultiPoint - - - - - Member Tag for MultiLineString - - - - - Members Tag for MultiLineString - - - - - Member Tag for MultiPolygon - - - - - Members Tag for MultiPolygon - - - - - Member Tag for Collection - - - - - Members Tag for Collection - - - - - Attribute name for Axis Labels - - - - - Attribute name for unit of measure labels - - - - - Attribute name for count - - - - - Well Known Text Constants - - - - - SRID - - - - - POINT - - - - - LINESTRING - - - - - POLYGON - - - - - GEOMETRYCOLLECTION - DEVNOTE: Because there is no inherent Geography support in the WKT specification, - this constant is used for both GeographyCollection and GeometryCollection - - - - - MULTIPOINT - - - - - MULTILINESTRING - - - - - MULTIPOLYGON - - - - - FULLGLOBE - - - - - NULL - - - - - NULL - - - - - Equals Operator '=' - - - - - Semicolon ';' - - - - - Delimiter ',' + WktWhiteSpace - - - - - Open Parenthesis '(' - - - - - Close Parenthesis '); - - - - - Whitespace ' ' - - - - - Period/Dot '.' - - - - - Adapter from the type washed API to Geometry, where it assumes that coord1 is X. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Semantically validate a GeoData - - - Grammar, states, and actions: - := SetSRID { Finish } - := (Begin_Point | ... | Begin_FullGlobe (: verify depth = 1 :) ) - := [ BeginFigure 1 EndFigure ] 2 End - := [ BeginFigure 1 { LineTo } EndFigure (: verify 2+ points :) ] 2 End - := { BeginFigure 1 { LineTo } EndFigure (: verify 4+ points and closed :) } End - := { { SetSRID } Begin_Point } End - := { { SetSRID } Begin_LineString } End - := { { SetSRID } Begin_Polygon } End - := { { SetSRID } } End - := End - := [ BeginFigure 1 { AddCircularArc } EndFigure ] 2 End - := [ BeginFigure 1 { LineTo | AddCircularArc } EndFigure ] | 2 End - := { } EndFigure - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - := { | | EndFigure (: verify closed and three distinct :)} End - := BeginFigure 1 { LineTo | AddCircularArc } - := StartSimpleRing 0 - := { } - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - ]]> - - - - - Max value for Longitude - - - ~263 radians converted to degrees - - - - - Max value for latitude - - - - - The DrawBoth derived instance of the geography Validator that is nested in this class - - - - - The DrawBoth derived instance of the geometry Validator that is nested in this class - - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - this is the actual validator, and derived from DrawBoth - while the real SpatialValidator derives from DrawSpatial. - We simple create an instance of this nested class and pass back - the DrawGeometry, and DrawGeography when the outter classes DataSpatial - properties are accessed. - - - - - Geometry Functional Specification 3.2.3.4 - Max Geometry Collection Depth - - - - - Set coordinate system - - - - - BeginGeo - - - - - Starting a point - - - - - Building a point - - - - - Ending a point - - - - - Starting a LineString - - - - - Building a LineString - - - - - Ending a LineString - - - - - Starting a Polygon - - - - - Building a Polygon - - - - - Starting a MultiPoint - - - - - Starting a LineString - - - - - Starting a MultiPolygon - - - - - Starting a Collection - - - - - Starting a FullGlobe - - - - - States - - - - - CoordinateSystem - - - - - Number of rings in a polygon - - - - - First point's X coordinate - - - - - First point's Y coordinate - - - - - Last point's X coordinate - - - - - Last point's Y coordinate - - - - - we are validating a geography stream - - - - - Number of points in the GeoData - - - - - Stack depth - - - - - Constructs a new SpatialValidatorImplementation segment - - - - - Implemented by a subclass to handle the setting of a coordinate system - - the new coordinate system - the coordinate system to be passed down the pipeline - - - - Implemented by a subclass to handle the start of drawing a Geography figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geography figure - - - - - Implemented by a subclass to handle the start of drawing a Geometry figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geometry figure - - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the end of a figure - - - - - Implemented by a subclass to return to its initial state - - - - - Implemented by a subclass to handle the addition of a waypoint to a Geography figure - - Next position - the GeographyPosition to be passed down the pipeline - - - - Implemented by a subclass to handle the addition of a waypoint to a Geometry figure - - Next position - the GeometryPosition to be passed down the pipeline - - - - Test whether a double is finite - - The double value - True if the input double is not NaN or INF - - - - Test whether a point is in valid format - - The first coordinate - The second coordinate - The z coordinate - The m coordinate - Whether the input coordinate is valid - - - - Validate one position - - the first two dimensional co-ordinate - the second two dimensional co-ordinate - the altitude - the measure - - - - Validate one Geography position - - the latitude - the longitude - the altitude - the measure - - - - Validate one Geography position - - the x coordinate - the y coordinate - the altitude - the measure - - - - Test whether a latitude value is within acceptable range - - The latitude value - True if the latitude value is within range - - - - Test whether a longitude value is within acceptable range - - The longitude value - True if the longitude value is within range - - - - Validate a Geography polygon - - The number of points in the ring - its first latitude - it first longitued - its last latitude - its last longitude - - - - Validate a Geometry polygon - - The number of points in the ring - its first x - it first y - its last x - its last y - - - - Test whether two longitude values are equal - - Left longitude - Right longitude - True if the two longitudes are equals - - - - Begins the figure. - - The validate action. - The x. - The y. - The z. - The m. - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Add a control point to the current figure. - - the first coordinate - the second coordinate - - - - Tracks the position. - - The first. - The second. - - - - Transit into a new state - - The state to transit into - - - - initialize the object to a fresh clean smelling state - - - - - Push a new state onto the stack - - The new state - - - - Pop a state from the stack - - - - - Replace the current state on the stack with the new state - - The new state - - - - Calls to the pipeline interface Represented as state transition - - - - - Set CoordinateSystem - - - - - BeginGeo() - - fake transition, just for exception - - - - BeginGeo(point) - - - - - BeginGeo(LineString) - - - - - BeginGeo(Polygon) - - - - - BeginGeo(MultiPoint) - - - - - BeginGeo(MultiLineString) - - - - - BeginGeo(MultiPolygon) - - - - - BeginGeo(Collection) - - - - - BeginGeo(FullGlobe) - - - - - BeginFigure - - - - - LineTo - - - - - EndFigure - - - - - EndGeo - - - - - SpatialValidatorImplementation State - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Throw an incorrect state exception - - The expected state - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The expected state3 - The actual state - - - - SetCoordinateSystem State - Validator is currently waiting for a SetCoordinateSystemCall - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Beginning a GeoData - Validator is currently waiting for a BeginGeo() call - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Start State - After BeginGeo(Point), waiting for BeginFigure() or EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Building State - After BeginFigure(), waiting for EndFigure() immediately - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point End State - After EndFigure() for a point, waiting for EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Start state - After BeginGeo(LineString), waiting for BeginFigure/EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Building State - After BeginFigure() for a line - Waiting for LineTo/EndFigure - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString End State - After EndFigure() on Line - Waiting for EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - PolygonStart State - After polygon started, waiting for Rings to build - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Polygon Building State - Drawing rings - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPoint State - Inside a MultiPoint Container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiLineString State - Inside a MultiLineString container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPolygon State - Inside a MultiPolygon container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Collection State - Inside a Collection container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - FullGlobe state - Inside a FullGlobe container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Extension methods for TextWriter - - - - - Write a double to a TextWriter ensuring that the value will be roundtrippable thorugh double.parse - - the writer - the double value to be written - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - Text Lexer Token - - - - - Test whether this token matches the input criterion - - The target type - The target text, or null - The StringComparison - True if this token matches the input criterion - - - - String representation of this token - - String representation of this token - - - - The Token Text - - - - - Token Type - - - - - Reader for Extended Well Known Text, Case sensitive - example: - SRID=1234;POINT(10.0 20.0 NULL 30.0) - - - - - restricts the reader to allow only two dimensions. - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Initializes a new instance of the class. - - The destination. - if set to true allows only two dimensions. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - TextReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - TextReader instance to read from. - - - - This class parses the text and calls the pipeline based on what is parsed - - - - - restricts the parser to allow only two dimensions. - - - - - Text lexer - - - - - Output pipeline - - - - - Creates a parser with the given reader and pipeline - - The reader that is the source of what is parsed. - The pipeline to be called as the parser recognizes tokens. - if set to true allows only two dimensions. - - - - Read WellKnownText into an instance of Geography - - - - - Test whether the current token matches the expected token - - The expected token type - The expected token text - True if the two tokens match - - - - Move the lexer to the next non-whitespace token - - True if the lexer gets a new token - - - - Parse Collection Text - - - - - Parse a LineString text - - - - - Parse a Multi* text - - The inner spatial type - The inner reader - - - - Parse Point Representation - - Whether this is the first point in the figure - - - - Parse a point text - - - - - Parse a Polygon text - - - - - Parse an instance of SRID - - - - - Parse Tagged Text - - - - - Read a double literal - - The read double - - - - Check to see if the content is EMPTY - - True if the content is declared as EMPTY - - - - Read an integer literal - - The read integer - - - - Read an optional double literal - - The value that was read. - true if a value was read, otherwise returns false - - - - Read an optional token. If the read token matches the expected optional token, then consume it. - - The expected token type - The expected token text, or null - True if the optional token matches the next token in stream - - - - Read and consume a token from the lexer, throw if the read token does not match the expected token - - The expected token type - The expected token text - - - - WellKnownText Writer - - - - - restricts the writer to allow only two dimensions. - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - Detects if a CoordinateSystem (SRID) has been written already. - - - - - Figure has been written to the current spatial type - - - - - A shape has been written in the current nesting level - - - - - Wells the known text SQL format. -- 2D writer - - The writer. - - - - Initializes a new instance of the class. - - The writer. - if set to true allows only two dimensions. - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Write the coordinate system - - The CoordinateSystem - - - - Setup the pipeline for reuse - - - - - Start to write a new Geography/Geometry - - The SpatialType to write - - - - Adds the control point. - - The x. - The y. - The z. - The m. - - - - Ends the figure. - - - - - write tagged text for type - - the spatial type - - - - Start to write a figure - - The coordinate1. - The coordinate2. - The coordinate3. - The coordinate4. - - - - End the current Geography/Geometry - - - - - Write out a point - - The x coordinate - The y coordinate - The z coordinate - The m coordinate - - - - Defines the members that may be found in a GeoJSON object. - - - - - "type" member in a GeoJSON object. - - - - - "coordinates" member in GeoJSON object. - - - - - "geometries" member in GeoJSON object. - - - - - "crs" member in GeoJSON object. - - - - - 'properties' member in GeoJSON object - - - - - 'name' member in GeoJSON object - - - - - Constants for the GeoJSON format - See http://geojson.org/geojson-spec.html for full details on GeoJson format. - - - - - Name of the type member that identifies the spatial type. - - - - - Value of the type member for Point values. - - - - - Value of the type member for LineString values. - - - - - Value of the type member for Polygon values. - - - - - Value of the type member for MultiPoint values. - - - - - Value of the type member for MultiLineString values. - - - - - Value of the type member for MultiPolygon values. - - - - - Value of the type member for GeometryCollection values. - - - - - Name of the coordinates member that contains the spatial data. - - - - - Name of the geometries member that contains the spatial data. - - - - - Name of the crs member that contains the coordinate reference system details. - - - - - Value of the type member inside of the crs object. - - - - - Name of the name member inside of the properties member in the crs object. - - - - - Name of the properties member inside of the crs object. - - - - - Prefix to use when specifying the coordinate reference system inside the crs object. - - - - - This is a forwarding transform pipe segment - - - - - The singleton NoOp implementation of the DrawGeography - - - - - The current drawspatial that will be called and whose results will be forwarded to the - next segment - - - - - The SpatialPipeline to forward the calls to - - - - - the cached GeographyForwarder for this instance - - - - - the cached GeometryForwarder for this instance - - - - - Constructs a new SpatialPipeline segment - - The DrawSpatial to draw to before calling next. - - - - Initializes a new instance of the class. - - The current geography. - The current geometry. - - - - Add the next pipeline - - the next pipleine - The last pipesegment in the chain, usually the one just created - - - - Run one action on a pipeline - - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - - - - Run one action on a pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - The argument to pass to both this node and the rest of the pipeline - - - - Gets the geography. - - - - - Gets the geometry. - - - - - The next geography sink in the pipeline - - - - - The next geometry sink in the pipeline - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geography data - - the sort of Geography data being processed - - - - finish processing Geography data - - - - - Begin drawing a Geography figure - - Next position - - - - Finish drawing a Geography figure - - - - - Continue drawing a Geography figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeography from the associated ForwardingSegment instance - - - - - Gets the next GeographyPipeline from the associated ForwardingSegment instance - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geometry data - - the sort of Geometry data being processed - - - - finish processing Geometry data - - - - - Begin drawing a Geometry figure - - Next position - - - - Finish drawing a Geometry figure - - - - - Continue drawing a Geometry figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeometry from the associated ForwardingSegment instance - - - - - Gets the next GeometryPipeline from the associated ForwardingSegment instance - - - - - A noop implementation of DrawGeography - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - a noop implementation of DrawGeometry - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Util class - - - - StackOverFlow exception type - - - ThreadAbortException exception type - - - AccessViolationException exception type - - - OutOfMemoryException exception type - - - NullReferenceException exception type - - - SecurityException exception type - - - - Check if input is null, throw an ArgumentNullException if it is. - - The input argument - The error to throw - - - - Determines if the exception is one of the prohibited types that should not be caught. - - The exception to be checked against the prohibited list. - True if the exception is ok to be caught, false otherwise. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Class that contains all the constants for various schemas. - - - - - Namespace for xmlns - - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The queue doesn't contain an item with the priority {0}." - - - - - A string like "The value '{0}' is not valid for the coordinate '{1}'." - - - - - A string like "Incorrect GML Format: The XmlReader instance encountered an unexpected element "{0}"." - - - - - A string like "Incorrect GML Format: unknown spatial type tag "{0}"." - - - - - A string like "Incorrect GML Format: a srsName attribute must begin with the namespace "{0}"." - - - - - A string like "The attribute '{0}' on element '{1}' is not supported." - - - - - A string like "Expecting token type "{0}" with text "{1}" but found "{2}"." - - - - - A string like "Unexpected character '{0}' found in text." - - - - - A string like "Unknown Tagged Text "{0}"." - - - - - A string like "Invalid spatial data: Invalid spatial type "{0}"." - - - - - A string like "Invalid spatial data: only {0} levels of nesting are supported in collection types." - - - - - A string like "Invalid spatial data: the coordinates ({0} {1} {2} {3}) are not valid." - - - - - A string like "Invalid spatial data: expected call to "{0}" but got call to "{1}"." - - - - - A string like "Invalid spatial data: expected call to "{0}" or "{1}" but got call to "{2}"." - - - - - A string like "Invalid latitude coordinate {0}. A latitude coordinate must be a value between -90.0 and +90.0 degrees." - - - - - A string like "Invalid longitude coordinate {0}. A longitude coordinate must be a value between -15069.0 and +15069.0 degrees" - - - - - A string like "Invalid GeoJSON. The '{0}' member is required, but was not found." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a valid value for the 'type' member." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS type." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS name." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a JSON object." - - - - - A string like "The operation is not valid on an empty queue." - - - - - A string like "An item with the same priority already exists." - - - - - A string like "No operations are registered. Please provide operations using SpatialImplementation.CurrentImplementation.Operations property." - - - - - A string like "Access to the coordinate properties of an empty point is not supported." - - - - - A string like "The builder cannot create an instance until all pipeline calls are completed." - - - - - A string like "Incorrect GML Format: the XmlReader instance is expected to be at the start of a GML element." - - - - - A string like "Incorrect GML Format: a LinearRing element must not be empty." - - - - - A string like "Incorrect GML Format: a pos element must contain at least two coordinates." - - - - - A string like "Incorrect GML Format: a posList element must contain an even number of coordinates." - - - - - A string like "The WellKnownTextReader is configured to allow only two dimensions, and a third dimension was encountered." - - - - - A string like "Invalid spatial data: An instance of spatial type can have only one unique CoordinateSystem for all of its coordinates." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot be part of a collection type." - - - - - A string like "Invalid spatial data: the spatial type "LineString" must contain at least two points." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot contain figures." - - - - - A string like "Invalid spatial data: A polygon ring must contain at least four points, and the last point must be equal to the first point." - - - - - A string like "A geography operation was called while processing a geometric shape." - - - - - A string like "A geometry operation was called while processing a geographic shape." - - - - - A string like "Invalid GeoJSON. A position must contain at least two and no more than four elements." - - - - - A string like "Invalid GeoJSON. A null value was found in an array element where nulls are not allowed." - - - - - A string like "Invalid GeoJSON. A non-numeric value was found in an array element where a numeric value was expected." - - - - - A string like "Invalid GeoJSON. A primitive value was found in an array element where an array was expected." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/de/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/de/System.Spatial.resources.dll deleted file mode 100644 index 7d7665ab8..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/de/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/es/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/es/System.Spatial.resources.dll deleted file mode 100644 index cb5db1ed0..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/es/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/fr/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/fr/System.Spatial.resources.dll deleted file mode 100644 index 42e1b2593..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/fr/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/it/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/it/System.Spatial.resources.dll deleted file mode 100644 index d99da78cb..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/it/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ja/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ja/System.Spatial.resources.dll deleted file mode 100644 index e9ba3eda7..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ja/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ko/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ko/System.Spatial.resources.dll deleted file mode 100644 index 032cf9f7d..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ko/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ru/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ru/System.Spatial.resources.dll deleted file mode 100644 index fcd53845f..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/ru/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/zh-Hans/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/zh-Hans/System.Spatial.resources.dll deleted file mode 100644 index 8a42336fb..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/zh-Hans/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/zh-Hant/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/zh-Hant/System.Spatial.resources.dll deleted file mode 100644 index f837d95b3..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/net40/zh-Hant/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/System.Spatial.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/System.Spatial.dll deleted file mode 100644 index 06c4638f2..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/System.Spatial.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/System.Spatial.xml b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/System.Spatial.xml deleted file mode 100644 index 266f7dc1e..000000000 --- a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/System.Spatial.xml +++ /dev/null @@ -1,6924 +0,0 @@ - - - - System.Spatial - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Formatter for Json Object - - - - Represents a formatter for Json object. - - - Creates the implementation of the formatter. - The created implementation. - - - Reads from the source. - The object that was read. - The source json object. - The spatial type to read. - - - Converts spatial value to a Json object. - The json object. - The spatial value. - - - - The implementation that created this instance. - - - - - Spatial builder - - - - - The parse pipeline - - - - - Constructor - - The SpatialImplementation that created this instance - - - - Read from the source - - The spatial type to read - The source json object - The read instance - - - - Convert spatial value to a Json Object - - The spatial value - The json object - - - - Initialize the pipeline - - - - - Convert Spatial objects into json writer - - - - - Base Writer for GeoJson - - - - - Base class to create a unified set of handlers for Geometry and Geography - - - - - Performs an implicit conversion from to . - - The instance to convert. - - The result of the conversion. - - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - the coordinate system to be passed down the pipeline - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - This class is responsible for taking the calls to DrawGeography and delegating them to the unified - handlers - - - - Represents the pipeline of geography. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - This class is responsible for taking the calls to DrawGeometry and delegating them to the unified - handlers - - - - Represents the pipeline of geometry. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Stack to track the current type being written. - - - - - CoordinateSystem for the types being written. - - - - - Figure added in current shape - - - - - Creates a new instance of the GeoJsonWriter. - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - End the current json object scope - - - - - End the current json array scope - - - - - Setup the pipeline for reuse - - - - - Gets the GeoJson type name to use when writing the specified type. - - SpatialType being written. - GeoJson type name corresponding to the specified . - - - - Gets the name of the GeoJson member to use when writing the body of the spatial object. - - SpatialType being written. - Name of the GeoJson member to use when writing the body of the spatial object. - - - - Whether or not the specified type wraps its data in an outer array. - - SpatialType being written. - True if the type uses an outer array, otherwise false. - - - - Sets the CoordinateSystem for Geography and Geometry shapes. - - CoordinateSystem value to set. - - - - Start writing a Geography or Geometry shape. - - SpatialType to use when writing the shape. - Default CoordinateSystem to use if SetCoordinateSystem is never called on this shape. - - - - Write the type header information for a shape. - - SpatialType being written. - - - - Start writing a figure in a Geography or Geometry shape. - - - - - Write a position in a Geography or Geometry figure. - - First (X/Longitude) Coordinate - Second (Y/Latitude) Coordinate - Z Coordinate - M Coordinate - - - - Ends a Geography or Geometry figure. - - - - - Ends a Geography or Geometry shape. - - - - - Writes the coordinate reference system footer for the GeoJson object. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - True if the shape is not a child of another shape. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - Stack of json objects - - - - - Buffered key of the current name-value pair - - - - - Stores the last object fully serialized - - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - End the current json array scope - - - - - End the current json object scope - - - - - Add an json object to the current scope - - The json object - - - - Return the current property name, and clear the buffer - - The current property name - - When inserting to a dictionary, the name-value pair comes across multiple pipeline calls - Therefore we need to buffer the name part and wait for the value part. - You can get into an incorrect state (caught by asserts) if you add a property name without - using it immediately next. - - - - - Access the current container as a List - - The current container as list - - - - Access the current container as a Dictionary - - The current container as dictionary - - - - Get the top level json object - - - - - Test if the current container is an array - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Latitude. - - - - - Internal pipeline Inteface that washes the distinction between Geography and Geometry - - - - - Set the coordinate system based on the given EPSG ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Add a control point to the current figure - - First coordinate - Second coordinate - Third coordinate - Fourth coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Longitude. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The spatial reader that can read from a pre parsed GeoJson payload - - - - - Reader to be used by spatial formats - - The type of source that the reader operates on. - - - - Creates a reader - - the instance of the pipeline that the reader will message while it is reading. - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Sets the reader and underlying Destination back to a clean - starting state after an exception - - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - The pipeline that is messaged while the reader is reading. - - - - - Initializes a new instance of the class. - - The pipeline. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The jsonObject to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The jsonObject to read from. - - - - A common way to call Geography and Geometry pipeline apis from the structured Json - - - - - Pipeline to use for the output of the translation of the GeoJSON object into pipeline method calls. - - - - - Initializes a new instance of the class. - - Spatial pipeline that will receive the pipeline method calls. - - - - Translates a dictionary of parsed GeoJSON members and values into method calls on the spatial pipeline. - - Dictionary containing GeoJSON members and values. - Coordinate System must be set for this pipeline - - - - Iterates over an object array, verifies that each element in the array is another array, and calls a delgate on the contained array. - - Array to iterate over. - Delegate to invoke for each element once it has been validated to be an array. - - - - Convert an object to a nullable double value. - - Object to convert. - If the specified element was null, returns null, otherwise returns the converted double value. - - - - Convert an object to a non-null double value. - - Object to convert. - Converted double value. - - - - Values as json array. - - The value. - The value cast as a json array. - - - - Values as json object. - - The value. - The value cast as IDictionary<string, object> - - - - Values as string. - - Name of the property. - The value. - The value cast as a string. - - - - Get the type member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - SpatialType for the GeoJSON object. - - - - Tries to get a coordinate system id from the geo json object's 'crs' property - - The geo json object. - The coordinate system id. - True if the object had a coordinate system - - - - Gets the coordinate system ID from a representation of the CRS object - - The parsed representation of the CRS object. - The coordinate system ID - - - - Get the designated member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - The member's tag name - Member value for the GeoJSON object. - - - - This method assumes a non forward only enumerable - - The enumerable to check - true if there is at least one element - - - - Reads GeoJson 'type' value and maps it a valid SpatialType. - - The GeoJson standard type name - SpatialType corresponding to the GeoJson type name. - - - - Sends a shape to the spatial pipeline. - - SpatialType of the shape. - Content member for the shape - - - - Translates the coordinates member value into method calls on the spatial pipeline. - - SpatialType of the GeoJSON object. - Coordinates value of the GeoJSON object, or inner geometries for collection - - - - Translates the coordinates member value of a Point object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a LineString object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a Polygon object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a MultiPoint, MultiLineString, or MultiPolygon object into method calls on the spatial pipeline. - - Type of the shape contained in the Multi shape. - Parsed coordinates array. - - - - Translates an array of positions into method calls on the spatial pipeline. - - List containing the positions. - - - - Translates an individual position into a method call on the spatial pipeline. - - List containing elements of the position. - True if the position is the first one being written to a figure, otherwise false. - - - - A key consisting of multiple fields - - The type of the first field. - The type of the second field. - - - - The first field - - - - - The second field - - - - - Initializes a new instance of the class. - - The first. - The second. - - - - Implements the operator ==. - - The left. - The right. - - The result of the operator. - - - - - Implements the operator !=. - - The left. - The right. - - The result of the operator. - - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - The parameter is null. - - - - 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 the extensions to formatters. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Represents the full globe of geography. - - - Represents the geography surface. - - - Represents a base class of geography shapes. - - - Represents the spatial interface. - - - Gets the coordinate system. - The coordinate system. - - - Gets a value that indicates whether the spatial type is empty. - true if the spatial type is empty; otherwise, false. - - - - The implementation that created this instance - - - - - The CoordinateSystem of this geography - - - - Initializes a new instance of the class. - The coordinate system of this geography. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Computes the hashcode for the given CoordinateSystem and the fields - - Spatial type instances or doubles for base types (Geography/Geometry types). - CoordinateSystem instance. - Spatial type instances or doubles for base types (Geography/Geometry types). - hashcode for the CoordinateSystem instance and Spatial type instances. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the coordinate system of the geography. - The coordinate system of the geography. - - - Gets a value that indicates whether the geography is empty. - true if the geography is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Represents the curve of geography. - - - Initializes a new instance of the class. - The coordinate system of this geography curve. - The implementation that created this instance. - - - Represents a geography line string consist of an array of geo points. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the multi-curve of geography. - - - Represents the collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this geography collection. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the collection of geographies. - The collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the multi-line string of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the line strings. - A collection of line strings. - - - Represents the multi-point of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the multi-polygon of geography. - - - Represents the multi-surface of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents a geography point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Creates a geography point using the specified latitude and longitude. - The geography point that was created. - The latitude. - The longitude. - - - Creates a geography point using the specified latitude, longitude and dimension. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - - - Creates a geography point using the specified latitude, longitude and dimensions. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Creates a geography point using the specified coordinate system, latitude, longitude and dimensions. - The geography point that was created. - The coordinate system to use. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the latitude. - The latitude. - - - Gets the longitude. - The longitude. - - - Gets the nullable Z. - The nullable Z. - Z is the altitude portion of position. - - - Gets the nullable M. - The nullable M. - M is the arbitrary measure associated with a position. - - - Represents the geography polygon. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of rings. - A collection of rings. - - - Represents the geometry collection. - - - Represents the base class of geography shapes. - - - - The implementation that created this instance. - - - - - The CoordinateSystem of this geometry - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the SRID of this instance of geometry. - The SRID of this instance of geometry. - - - Gets a value that indicates whether geometry is empty. - true if the geometry is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the geometry instances in this collection. - A collection of geometries. - - - Represents the geometry curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the geometry multi-curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry multi-line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of line strings. - A collection of line strings. - - - Represents the geometry multi-point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the geometry multi-polygon. - - - Represents the geometry multi-surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents the Geometry Point. - - - Initializes a new instance of the class. Empty Point constructor. - The CoordinateSystem. - The implementation that created this instance. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The coordinate system to use. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Gets the Hashcode. - The hashcode. - - - Gets the Latitude. - The Latitude. - - - Gets the Longitude. - The Longitude. - - - Gets the Nullable Z. - The Nullable Z. - Z is the altitude portion of position. - - - Gets the Nullable M. - The Nullable M. - M is the arbitrary measure associated with a position. - - - Represents the Geometry polygon. - - - Represents a geometry surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The CoordinateSystem. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Indicates the Get Hashcode. - The hashcode. - - - Gets the set of rings. - - - Provides access to the geography objects that this object constructs. - - - Fires when the provider constructs a geography object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Provides access to the geometry objects that this object constructs. - - - Fires when the provider constructs a geometry object. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Provides access to the constructed geography or geometry. - - - The exception that is thrown on an unsuccessful parsing of the serialized format. - - - Creates a new instance of the class. - - - Creates a new instance of the class from a message and previous exception. - The message about the exception. - The exception that preceeded this one. - - - Creates a new instance of the class from a message. - The message about the exception. - - - Creates a geometry or geography instances from spatial data pipelines. - - - - One link of a geospatial pipeline - - - - - the geography side of the pipeline - - - - - the geometry side of the pipeline - - - - - A reference to the begining link of the chain - useful for getting the startingLink when creating the chain fluently - e.g. new ForwardingSegment(new Node()).ChainTo(new Node()).ChainTo(new Node).StartingLink - - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The geography chain. - The geometry chain. - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - Adds the next pipeline. - The last pipesegment in the chain, usually the one just created. - The next pipeline. - - - Gets the geography side of the pipeline. - - - Gets the geometry side of the pipeline. - - - Gets or sets the starting link. - The starting link. - - - - The builder to be delegated to when this class is accessed from the IGeographyPipeline or IGeographyProvider interfaces. - - - - - The builder to be delegated to when this class is accessed from the IGeometryPipeline or IGeometryProvider interfaces. - - - - Initializes a new instance of the class. - The geography input. - The geometry input. - The geography output. - The geometry output. - - - Creates an implementation of the builder. - The created SpatialBuilder implementation. - - - Fires when the provider constructs geography object. - - - Fires when the provider constructs geometry object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Represents the base class for all Spatial Formats. - The type of reader to be read from. - The type of reader to be read from. - - - - The implementation that created this instance. - - - - Initializes a new instance of the <see cref="T:System.Spatial.SpatialFormatter`2" /> class. - The implementation that created this instance. - - - Parses the input, and produces the object. - The input. - The input to be parsed. - The type of object to produce. - - - Parses the input, and produces the object. - The input to be parsed. - The pipeline to call during reading. - The type of object to produce. - - - Creates a valid format from the spatial object. - The object that the format is being created for. - The stream to write the formatted object to. - - - Creates the writerStream. - The writerStream that was created. - The stream that should be written to. - - - Reads the Geography from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Reads the Geometry from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Creates the builder that will be called by the parser to build the new type. - The builder that was created. - - - Defines a list of allowed OpenGisTypes types. - - - - Unknown - - - - - Point - - - - - Line String - - - - - Polygon - - - - - Multi-Point - - - - - Multi-Line-String - - - - - Multi-Polygon - - - - - Collection - - - - - Full Globe - - - - Provides a place to add extension methods that work with ISpatial. - - - Allows the delegation of the call to the proper type (geography or Geometry). - The instance that will have SendTo called. - The pipeline that the instance will be sent to. - - - - Coordinate System Reference - - - - - Default Geometry Reference - - - - - Default Geography Reference (SRID 4326, WGS84) - - - - - List of registered references - - - - - A lock object for the References static dict - - - - - The shape of the space that this coordinate system measures. - - - - Initializes a static instance of the class. - - - Initializes a new instance of the class. - The coordinate system ID, according to the EPSG - The Name of the system - The topology of this coordinate system - - - Gets or creates a Geography coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Gets or creates a Geometry coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Displays the coordinate system for debugging. - The coordinate system, for debugging. - - - Displays a string that can be used with extended WKT. - String representation in the form of SRID=#; - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - 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. - - - - For tests only. Identifies whether the coordinate system is of the designated topology. - - The expected topology. - True if this coordinate system is of the expected topology. - - - - Get or create a CoordinateSystem with ID - - The SRID - The topology. - - A CoordinateSystem object - - - - - Remember this coordinate system in the references dictionary. - - The coords. - - - - Gets the key for a coordinate system - - ID - topology - The key to use with the references dict. - - - Gets the coordinate system ID according to the EPSG, or NULL if this is not an EPSG coordinate system. - The coordinate system ID according to the EPSG. - - - Gets the coordinate system Id, no matter what scheme is used. - The coordinate system Id. - - - Gets the Name of the Reference. - The Name of the Reference. - - - - The shapes of the spaces measured by coordinate systems. - - - - - Ellipsoidal coordinates - - - - - Planar coordinates - - - - - This class is responsible for executing an action the first time dispose is called on it. - - - - The action to be executed on dispose - - - - Constructs an instance of the ActonOnDispose object - - the action to be execute on dispose - - - - The dipose method of the IDisposable insterface - - - - - The object to move spatial types to and from the GML format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - The created GmlFormatter implementation. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - Returns the created WellKnownTextSqlFormatter implementation. - - - Creates the implementation of the formatter and checks whether the specified formatter has Z. - The created WellKnownTextSqlFormatter. - Restricts the formatter to allow only two dimensions. - - - - Represents one position in the Geographyal coordinate system - - - - lattitude portion of position - - - longitude portion of position - - - arbitrary measure associated with a position - - - altitude portion of position - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - The altitude portion of a position. - The arbitrary measure associated with a position. - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - - - Performs equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs equality comparison on a spatial geographic position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the latitude portion of a position. - The latitude portion of a position. - - - Gets the longitude portion of a position. - The longitude portion of a position. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the altitude portion of a position. - The altitude portion of a position. - - - - Represents one position in the Geometry coordinate system - - - - arbitrary measure associated with a position - - - x portion of position - - - y portion of position - - - altitude portion of position - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - The altitude portion of position. - The arbitrary measure associated with a position. - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - - - Performs the equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs the inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs the equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs the equality comparison on a spatial geometry position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the X portion of position. - The X portion of position. - - - Gets the Y portion of position. - The Y portion of position. - - - Gets the altitude portion of position. - The altitude portion of position. - - - - Base class for Spatial Type Validator implementations - - - - Creates the currently registered SpatialValidator implementation. - The created SpatialValidator. - - - - Extension methods for the Geography operations - - - - Determines the distance of the geography. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geography LineString. - The operation result. - The LineString operand. - - - Determines if geography point and polygon will intersect. - The operation result. - The first operand. - The second operand. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Extension methods for the Geography operations - - - - Determines the distance of the geometry. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geometry LineString. - The operation result. - The LineString operand. - - - Determines if geometry point and polygon will intersect. - The operation result. - The first operand, point. - The second operand, polygon. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Queue where things are seen in highest priority (highest compare) order - - The type of the values stored in priority order - - - - The list of queued items. - This is non-generic to avoid issues with the NetCF's reflection stack. - - - - - Initializes a new instance of the PriorityQueue class - DEVNOTE: this is only here for the FxCop suppression. - - - - - Returns the top queue value without removing it. - - The top value of the queue - - - - Adds a new value to the queue by priority. - - The priority of the new item to add. - The new item being added. - - - - Returns a value indicating whether there is already an item with the given priority in the queue - - The priority to check - Whether or not an item with the given priority is in the queue - - - - Removes the item with the priority specified from the queue - - The priority of the item to be removed from the queue - The value of the removed item. - - - - Gets the number of items in the queue - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - a particular implemenation of Spatial types - - - - Default Spatial Implementation. - - - Creates a SpatialBuilder for this implementation. - The SpatialBuilder created. - - - Creates a Formatter for Json Object. - The JsonObjectFormatter created. - - - Creates a GmlFormatter for this implementation. - The GmlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - Controls the writing and reading of the Z and M dimension. - - - Creates a spatial Validator. - The SpatialValidator created. - - - - This method throws if the operations instance is null. It returns a non-null operations implementation. - - a SpatialOperations implementation. - - - Returns an instance of SpatialImplementation that is currently being used. - - - Gets or sets the Spatial operations implementation. - - - - Class responsible for knowing how to perform operations for a particular implemenation of Spatial types - - - - Indicates the Geometry Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates a Geography Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates the Geometry LineString's length. - The operation result. - The Operand. - - - Indicates a Geography LineString's length. - The operation result. - The Operand. - - - Indicates the Geometry Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - Indicates a Geography Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - - This class holds extension methods for objects that have new capabilities - in newer versions of .net, and this lets us make the calls look the same and reduces the #if noise - - - - - StringBuilder didn't have a clear method in Orcas, so we added and extension method to give it one. - - The StringBuilder instance to clear. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - - restricts the writer and reader to allow only two dimensions. - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Initializes a new instance of the class. - - The implementation that created this instance. - restricts the reader to allow only two dimensions. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - Gml Writer - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - If an SRID has been written already. - - - - - The Coordinate System to write - - - - - Figure has been written to the current spatial type - - - - - Whether there are shapes written in the current container - - - - - Constructor - - The Xml Writer to output to - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - The coordinateSystem to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Setup the pipeline for reuse - - - - - Begin a figure - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Write the element with namespaces - - The element name - - - - Write coordinate system - - - - - Write a Point - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - End Geography/Geometry - - - - - The object to move spatial types to and from the GML format - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - WellKnownText Lexer - - - - - Lexer base - - - - - Input text - - - - - Current lexer output - - - - - Peek lexer output, if this is not null then we have advanced already - - - - - Constructor - - The input text - - - - Peek one token ahead of the current position - - The peeked token - True if there is one more token after the current position, otherwise false - - - - Move to the next token - - True if lexer has moved, otherwise false - - - - Examine the current character and determine its token type - - The char that will be read next - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - Current token - - - - - Constructor - - Input text - - - - Examine the current character and determine its token type - - The next char that will be read. - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - WellKnownText Lexer Token Type - - - - - A-Z only support upper case text. i.e., POINT() instead of Point() or point() - - - - - character '=' - - - - - characters '0' to '9' - - - - - character ';' - - - - - character '(' - - - - - character ')' - - - - - character '.' - - - - - character ',' - - - - - character ' ', '\t' - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - the data services implemenation of Spatial types - - - - - Creates a SpatialBuilder for this implemenation - - - The SpatialBuilder created. - - - - - Creates a GmlFormatter for this implementation - - The GmlFormatter created. - - - - Creates a GeoJsonObjectFormatter for this implementation - - The GeoJsonObjectFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - The WellKnownTextSqlFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - Controls the writing and reading of the Z and M dimension - - The WellKnownTextSqlFormatter created. - - - - - Creates a SpatialValidator for this implementation - - The SpatialValidator created. - - - - Property used to register Spatial operations implementation. - - - - - Builder for Geography types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geography object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - Tree based builder for spatial types - - Geography or Geometry - - - - The figure this builder is currently building - - - - - Current builder tree root - - - - - lastConstructed - - - - - Draw a point in the specified coordinate - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin a new spatial type - - The spatial type - - - - Ends the figure set on the current node - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Notifies if we just finished building something. - - - - - Traverses up the tree. - - - - - Fires when the builder creates a top-level spatial object. - - - - - Get the constructed spatial instance - - The constructed spatial instance - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - A spatial instance node in the builder tree - - - - - Constructor - - - - - Create a child node - - The node type - The child node - - - - Children nodes - - - - - Instance - - - - - Parent node - - - - - Spatial Type - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Builder for Geometry types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geometry object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - A Geography linestring consist of an array of GeoPoints - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geography Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geographies - - - - - Line Strings - - - - - Geography Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geography - - - - - Points - - - - - Geography Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geographies - - - - - Polygons - - - - - This class is an implementation of Geography point. - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Create a empty point - - CoordinateSystem - The implementation that created this instance. - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geography polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geography Collection - - - - - Collection of geography instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of geography instances - - - - Constructor - - The implementation that created this instance. - Collection of geography instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geography Collection Empty - - - - - Geographies - - - - - Helper methods for the geography type. - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeographyLineString instance to serialize. - The pipeline to populate to - - - - Implementation of FullGlobe - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - - Constructor - - The implementation that created this instance. - - - - Sends the spatial geography object to the given sink - - The spatial pipeline - - - - Is FullGlobe empty - - - - - Geometry Line String - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Constructor - - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geometry Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geometry - - - - - Line Strings - - - - - Geometry Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geometry - - - - - Points - - - - - Geometry Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geometry - - - - - Polygons - - - - - Geometry Point - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Empty Point constructor - - CoordinateSystem - The implementation that created this instance. - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geometry polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geometry Collection - - - - - Collection of Geometry instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of Geometry instances - - - - Constructor - - The implementation that created this instance. - Collection of Geometry instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geometry Collection Empty - - - - - Geographies - - - - - Dummy class for code that is shared with ODataLib. - The ODataLib version of this class has an implementation, but this version is just provided - so that we don't have to conditionally compile all references to it in the shared code. - Since it is debug-only anyway, there is no harm in leaving this no-op version so that the shared code is cleaner. - - - - - Dummy method to allow shared code to compile. - - - - - Helper methods for Geometry types - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeometryLineString instance for which the figure needs to be drawn. - The pipeline to populate to - - - - Gml Reader - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - This class parses the xml and calls the pipeline based on what is parsed - - - - - Delimiters used in position arrays. As per Xml spec white space characters is: #x20 | #x9 | #xD | #xA - - - - - List of known gml elements that can be ignored by the parser - - - - - Atomized gml namespace - - - - - Atomized Full Globe namespace - - - - - Output pipeline - - - - - Input reader - - - - - Number of points in the current figure - - - - - Constructor - - Input Reader - Output pipeline - - - - Read - - - - - Parses the top level element in the document - - Whether coordinte system is expected - - - - Set the CoordinateSystem - - Should we allow CRS attributes - - - - creates a shape and parses the element. - This is used to parse a top level Point element, as opposed to - a point which is embeded in a linestring or a polygon. - - - - - creates a shape and parses the element for top level LineString shapes - - - - - Creates a shape and parses the Polygon element. - - - - - Creates a shape and parses the MultiPoint element. - - - - - Creates a shape and parses the MultiLineString(Gml MultiCurve) element. - - - - - Creates a shape and parses the MultiPolygon(Gml MultiSurface) element. - - - - - Creates a shape and parses the Collection(Gml MultiGeometry) element. - - - - - Creates a shape and parses the FullGlobe element - - - - - Parses a simple point. - - Allow Empty Point - - - - Parses the GmlLineStringElement. - - - - - Parses the GmlExteriorLinearRingElement - - The type or ring - - - - ParseGmlLinearRingElement parses the GmlLinearRingElement - - - - - Common function for all item collections, since they are all parsed exactly the same way - - The wrapping header tag - The member tag - The members tag - Parser for individual items - - - - parses a pos element, which eventually is used in most other top level elements. - This represents a single point location with either two or zero coordinates. - - Allow empty pos - - - - Parses a sequence of 1 or more pos and pointProperty elements - - Allow Empty Point - - - - Parses a simple pointProperty. - - Allow empty point - - - - parses a GmlPosListElement. - - Alow empty posList - - - - Reads the current content in the xml element as a double array - - - XmlReader.ReadContentAs(typeof(double[])) basically does this but a lot slower, since it will handle a bunch of - different splitters and formats. Here we simply parse it as a string and split in on one separator - - The double array - - - - Main element reading function. - Returns true if it read a non-empty start element of the given name. - possibilities: - 1- current element is not a start element named "element" - throw - 2- current element is named "element" but is an empty element - return false - 3- current element is named "element" and is not empty - return true - If the funciton returns true, it means that a non-empty element of the given name - was read, so the caller takes responsability to read the corresponding end element. - - The element name - Returns true if it read a non-empty start element of the given name. - - - - Is Start Element - - Expected Element Tag - True if reader is at the expected element - - - - Is End Element - - Expected Element Tag - True if reader is at the end of the expected element - - - - Read End Element - - - - - Call MoveToContent, then skip a known set of irrelevant elements (gml:name, gml:description) - - - - - Is reader at the start of a pos or pointProperty - - True if reader is at the expected element - - - - Prepare for figure drawing - - - - - Draw a point in the current figure - - X coordinate - Y coordinate - Z coordinate - M coordinate - - - - End Current Figure - - - - - Gml Constants - - - - - Gml Namespace - - - - - FullGlobe namespace - - - - - Gml Prefix - - - - - System reference attribute name - - - - - gml:id attribute name - - - - - System Reference Prefix - - - - - Gml representation of a point - - - - - The Gml:name element name - - - - - the Gml:Description element name - - - - - the metadata property element name - - - - - Description Reference element name - - - - - identifier element name - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml Point - - - - - Gml representation of a linestring - - - - - Gml Polygon - - - - - Gml MultiPoint - - - - - Gml MultiLineString - - - - - Gml MultiPolygon - - - - - Gml Collection - - - - - Gml FullGlobe - - - - - Gml Polygon exterior ring - - - - - Gml Polygon interior ring - - - - - Gml Ring - - - - - Member Tag for MultiPoint - - - - - Members Tag for MultiPoint - - - - - Member Tag for MultiLineString - - - - - Members Tag for MultiLineString - - - - - Member Tag for MultiPolygon - - - - - Members Tag for MultiPolygon - - - - - Member Tag for Collection - - - - - Members Tag for Collection - - - - - Attribute name for Axis Labels - - - - - Attribute name for unit of measure labels - - - - - Attribute name for count - - - - - Well Known Text Constants - - - - - SRID - - - - - POINT - - - - - LINESTRING - - - - - POLYGON - - - - - GEOMETRYCOLLECTION - DEVNOTE: Because there is no inherent Geography support in the WKT specification, - this constant is used for both GeographyCollection and GeometryCollection - - - - - MULTIPOINT - - - - - MULTILINESTRING - - - - - MULTIPOLYGON - - - - - FULLGLOBE - - - - - NULL - - - - - NULL - - - - - Equals Operator '=' - - - - - Semicolon ';' - - - - - Delimiter ',' + WktWhiteSpace - - - - - Open Parenthesis '(' - - - - - Close Parenthesis '); - - - - - Whitespace ' ' - - - - - Period/Dot '.' - - - - - Adapter from the type washed API to Geometry, where it assumes that coord1 is X. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Semantically validate a GeoData - - - Grammar, states, and actions: - := SetSRID { Finish } - := (Begin_Point | ... | Begin_FullGlobe (: verify depth = 1 :) ) - := [ BeginFigure 1 EndFigure ] 2 End - := [ BeginFigure 1 { LineTo } EndFigure (: verify 2+ points :) ] 2 End - := { BeginFigure 1 { LineTo } EndFigure (: verify 4+ points and closed :) } End - := { { SetSRID } Begin_Point } End - := { { SetSRID } Begin_LineString } End - := { { SetSRID } Begin_Polygon } End - := { { SetSRID } } End - := End - := [ BeginFigure 1 { AddCircularArc } EndFigure ] 2 End - := [ BeginFigure 1 { LineTo | AddCircularArc } EndFigure ] | 2 End - := { } EndFigure - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - := { | | EndFigure (: verify closed and three distinct :)} End - := BeginFigure 1 { LineTo | AddCircularArc } - := StartSimpleRing 0 - := { } - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - ]]> - - - - - Max value for Longitude - - - ~263 radians converted to degrees - - - - - Max value for latitude - - - - - The DrawBoth derived instance of the geography Validator that is nested in this class - - - - - The DrawBoth derived instance of the geometry Validator that is nested in this class - - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - this is the actual validator, and derived from DrawBoth - while the real SpatialValidator derives from DrawSpatial. - We simple create an instance of this nested class and pass back - the DrawGeometry, and DrawGeography when the outter classes DataSpatial - properties are accessed. - - - - - Geometry Functional Specification 3.2.3.4 - Max Geometry Collection Depth - - - - - Set coordinate system - - - - - BeginGeo - - - - - Starting a point - - - - - Building a point - - - - - Ending a point - - - - - Starting a LineString - - - - - Building a LineString - - - - - Ending a LineString - - - - - Starting a Polygon - - - - - Building a Polygon - - - - - Starting a MultiPoint - - - - - Starting a LineString - - - - - Starting a MultiPolygon - - - - - Starting a Collection - - - - - Starting a FullGlobe - - - - - States - - - - - CoordinateSystem - - - - - Number of rings in a polygon - - - - - First point's X coordinate - - - - - First point's Y coordinate - - - - - Last point's X coordinate - - - - - Last point's Y coordinate - - - - - we are validating a geography stream - - - - - Number of points in the GeoData - - - - - Stack depth - - - - - Constructs a new SpatialValidatorImplementation segment - - - - - Implemented by a subclass to handle the setting of a coordinate system - - the new coordinate system - the coordinate system to be passed down the pipeline - - - - Implemented by a subclass to handle the start of drawing a Geography figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geography figure - - - - - Implemented by a subclass to handle the start of drawing a Geometry figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geometry figure - - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the end of a figure - - - - - Implemented by a subclass to return to its initial state - - - - - Implemented by a subclass to handle the addition of a waypoint to a Geography figure - - Next position - the GeographyPosition to be passed down the pipeline - - - - Implemented by a subclass to handle the addition of a waypoint to a Geometry figure - - Next position - the GeometryPosition to be passed down the pipeline - - - - Test whether a double is finite - - The double value - True if the input double is not NaN or INF - - - - Test whether a point is in valid format - - The first coordinate - The second coordinate - The z coordinate - The m coordinate - Whether the input coordinate is valid - - - - Validate one position - - the first two dimensional co-ordinate - the second two dimensional co-ordinate - the altitude - the measure - - - - Validate one Geography position - - the latitude - the longitude - the altitude - the measure - - - - Validate one Geography position - - the x coordinate - the y coordinate - the altitude - the measure - - - - Test whether a latitude value is within acceptable range - - The latitude value - True if the latitude value is within range - - - - Test whether a longitude value is within acceptable range - - The longitude value - True if the longitude value is within range - - - - Validate a Geography polygon - - The number of points in the ring - its first latitude - it first longitued - its last latitude - its last longitude - - - - Validate a Geometry polygon - - The number of points in the ring - its first x - it first y - its last x - its last y - - - - Test whether two longitude values are equal - - Left longitude - Right longitude - True if the two longitudes are equals - - - - Begins the figure. - - The validate action. - The x. - The y. - The z. - The m. - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Add a control point to the current figure. - - the first coordinate - the second coordinate - - - - Tracks the position. - - The first. - The second. - - - - Transit into a new state - - The state to transit into - - - - initialize the object to a fresh clean smelling state - - - - - Push a new state onto the stack - - The new state - - - - Pop a state from the stack - - - - - Replace the current state on the stack with the new state - - The new state - - - - Calls to the pipeline interface Represented as state transition - - - - - Set CoordinateSystem - - - - - BeginGeo() - - fake transition, just for exception - - - - BeginGeo(point) - - - - - BeginGeo(LineString) - - - - - BeginGeo(Polygon) - - - - - BeginGeo(MultiPoint) - - - - - BeginGeo(MultiLineString) - - - - - BeginGeo(MultiPolygon) - - - - - BeginGeo(Collection) - - - - - BeginGeo(FullGlobe) - - - - - BeginFigure - - - - - LineTo - - - - - EndFigure - - - - - EndGeo - - - - - SpatialValidatorImplementation State - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Throw an incorrect state exception - - The expected state - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The expected state3 - The actual state - - - - SetCoordinateSystem State - Validator is currently waiting for a SetCoordinateSystemCall - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Beginning a GeoData - Validator is currently waiting for a BeginGeo() call - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Start State - After BeginGeo(Point), waiting for BeginFigure() or EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Building State - After BeginFigure(), waiting for EndFigure() immediately - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point End State - After EndFigure() for a point, waiting for EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Start state - After BeginGeo(LineString), waiting for BeginFigure/EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Building State - After BeginFigure() for a line - Waiting for LineTo/EndFigure - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString End State - After EndFigure() on Line - Waiting for EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - PolygonStart State - After polygon started, waiting for Rings to build - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Polygon Building State - Drawing rings - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPoint State - Inside a MultiPoint Container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiLineString State - Inside a MultiLineString container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPolygon State - Inside a MultiPolygon container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Collection State - Inside a Collection container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - FullGlobe state - Inside a FullGlobe container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Extension methods for TextWriter - - - - - Write a double to a TextWriter ensuring that the value will be roundtrippable thorugh double.parse - - the writer - the double value to be written - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - Text Lexer Token - - - - - Test whether this token matches the input criterion - - The target type - The target text, or null - The StringComparison - True if this token matches the input criterion - - - - String representation of this token - - String representation of this token - - - - The Token Text - - - - - Token Type - - - - - Reader for Extended Well Known Text, Case sensitive - example: - SRID=1234;POINT(10.0 20.0 NULL 30.0) - - - - - restricts the reader to allow only two dimensions. - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Initializes a new instance of the class. - - The destination. - if set to true allows only two dimensions. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - TextReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - TextReader instance to read from. - - - - This class parses the text and calls the pipeline based on what is parsed - - - - - restricts the parser to allow only two dimensions. - - - - - Text lexer - - - - - Output pipeline - - - - - Creates a parser with the given reader and pipeline - - The reader that is the source of what is parsed. - The pipeline to be called as the parser recognizes tokens. - if set to true allows only two dimensions. - - - - Read WellKnownText into an instance of Geography - - - - - Test whether the current token matches the expected token - - The expected token type - The expected token text - True if the two tokens match - - - - Move the lexer to the next non-whitespace token - - True if the lexer gets a new token - - - - Parse Collection Text - - - - - Parse a LineString text - - - - - Parse a Multi* text - - The inner spatial type - The inner reader - - - - Parse Point Representation - - Whether this is the first point in the figure - - - - Parse a point text - - - - - Parse a Polygon text - - - - - Parse an instance of SRID - - - - - Parse Tagged Text - - - - - Read a double literal - - The read double - - - - Check to see if the content is EMPTY - - True if the content is declared as EMPTY - - - - Read an integer literal - - The read integer - - - - Read an optional double literal - - The value that was read. - true if a value was read, otherwise returns false - - - - Read an optional token. If the read token matches the expected optional token, then consume it. - - The expected token type - The expected token text, or null - True if the optional token matches the next token in stream - - - - Read and consume a token from the lexer, throw if the read token does not match the expected token - - The expected token type - The expected token text - - - - WellKnownText Writer - - - - - restricts the writer to allow only two dimensions. - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - Detects if a CoordinateSystem (SRID) has been written already. - - - - - Figure has been written to the current spatial type - - - - - A shape has been written in the current nesting level - - - - - Wells the known text SQL format. -- 2D writer - - The writer. - - - - Initializes a new instance of the class. - - The writer. - if set to true allows only two dimensions. - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Write the coordinate system - - The CoordinateSystem - - - - Setup the pipeline for reuse - - - - - Start to write a new Geography/Geometry - - The SpatialType to write - - - - Adds the control point. - - The x. - The y. - The z. - The m. - - - - Ends the figure. - - - - - write tagged text for type - - the spatial type - - - - Start to write a figure - - The coordinate1. - The coordinate2. - The coordinate3. - The coordinate4. - - - - End the current Geography/Geometry - - - - - Write out a point - - The x coordinate - The y coordinate - The z coordinate - The m coordinate - - - - Defines the members that may be found in a GeoJSON object. - - - - - "type" member in a GeoJSON object. - - - - - "coordinates" member in GeoJSON object. - - - - - "geometries" member in GeoJSON object. - - - - - "crs" member in GeoJSON object. - - - - - 'properties' member in GeoJSON object - - - - - 'name' member in GeoJSON object - - - - - Constants for the GeoJSON format - See http://geojson.org/geojson-spec.html for full details on GeoJson format. - - - - - Name of the type member that identifies the spatial type. - - - - - Value of the type member for Point values. - - - - - Value of the type member for LineString values. - - - - - Value of the type member for Polygon values. - - - - - Value of the type member for MultiPoint values. - - - - - Value of the type member for MultiLineString values. - - - - - Value of the type member for MultiPolygon values. - - - - - Value of the type member for GeometryCollection values. - - - - - Name of the coordinates member that contains the spatial data. - - - - - Name of the geometries member that contains the spatial data. - - - - - Name of the crs member that contains the coordinate reference system details. - - - - - Value of the type member inside of the crs object. - - - - - Name of the name member inside of the properties member in the crs object. - - - - - Name of the properties member inside of the crs object. - - - - - Prefix to use when specifying the coordinate reference system inside the crs object. - - - - - This is a forwarding transform pipe segment - - - - - The singleton NoOp implementation of the DrawGeography - - - - - The current drawspatial that will be called and whose results will be forwarded to the - next segment - - - - - The SpatialPipeline to forward the calls to - - - - - the cached GeographyForwarder for this instance - - - - - the cached GeometryForwarder for this instance - - - - - Constructs a new SpatialPipeline segment - - The DrawSpatial to draw to before calling next. - - - - Initializes a new instance of the class. - - The current geography. - The current geometry. - - - - Add the next pipeline - - the next pipleine - The last pipesegment in the chain, usually the one just created - - - - Run one action on a pipeline - - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - - - - Run one action on a pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - The argument to pass to both this node and the rest of the pipeline - - - - Gets the geography. - - - - - Gets the geometry. - - - - - The next geography sink in the pipeline - - - - - The next geometry sink in the pipeline - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geography data - - the sort of Geography data being processed - - - - finish processing Geography data - - - - - Begin drawing a Geography figure - - Next position - - - - Finish drawing a Geography figure - - - - - Continue drawing a Geography figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeography from the associated ForwardingSegment instance - - - - - Gets the next GeographyPipeline from the associated ForwardingSegment instance - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geometry data - - the sort of Geometry data being processed - - - - finish processing Geometry data - - - - - Begin drawing a Geometry figure - - Next position - - - - Finish drawing a Geometry figure - - - - - Continue drawing a Geometry figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeometry from the associated ForwardingSegment instance - - - - - Gets the next GeometryPipeline from the associated ForwardingSegment instance - - - - - A noop implementation of DrawGeography - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - a noop implementation of DrawGeometry - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Util class - - - - OutOfMemoryException exception type - - - NullReferenceException exception type - - - SecurityException exception type - - - - Check if input is null, throw an ArgumentNullException if it is. - - The input argument - The error to throw - - - - Determines if the exception is one of the prohibited types that should not be caught. - - The exception to be checked against the prohibited list. - True if the exception is ok to be caught, false otherwise. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Class that contains all the constants for various schemas. - - - - - Namespace for xmlns - - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The queue doesn't contain an item with the priority {0}." - - - - - A string like "The value '{0}' is not valid for the coordinate '{1}'." - - - - - A string like "Incorrect GML Format: The XmlReader instance encountered an unexpected element "{0}"." - - - - - A string like "Incorrect GML Format: unknown spatial type tag "{0}"." - - - - - A string like "Incorrect GML Format: a srsName attribute must begin with the namespace "{0}"." - - - - - A string like "The attribute '{0}' on element '{1}' is not supported." - - - - - A string like "Expecting token type "{0}" with text "{1}" but found "{2}"." - - - - - A string like "Unexpected character '{0}' found in text." - - - - - A string like "Unknown Tagged Text "{0}"." - - - - - A string like "Invalid spatial data: Invalid spatial type "{0}"." - - - - - A string like "Invalid spatial data: only {0} levels of nesting are supported in collection types." - - - - - A string like "Invalid spatial data: the coordinates ({0} {1} {2} {3}) are not valid." - - - - - A string like "Invalid spatial data: expected call to "{0}" but got call to "{1}"." - - - - - A string like "Invalid spatial data: expected call to "{0}" or "{1}" but got call to "{2}"." - - - - - A string like "Invalid latitude coordinate {0}. A latitude coordinate must be a value between -90.0 and +90.0 degrees." - - - - - A string like "Invalid longitude coordinate {0}. A longitude coordinate must be a value between -15069.0 and +15069.0 degrees" - - - - - A string like "Invalid GeoJSON. The '{0}' member is required, but was not found." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a valid value for the 'type' member." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS type." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS name." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a JSON object." - - - - - A string like "The operation is not valid on an empty queue." - - - - - A string like "An item with the same priority already exists." - - - - - A string like "No operations are registered. Please provide operations using SpatialImplementation.CurrentImplementation.Operations property." - - - - - A string like "Access to the coordinate properties of an empty point is not supported." - - - - - A string like "The builder cannot create an instance until all pipeline calls are completed." - - - - - A string like "Incorrect GML Format: the XmlReader instance is expected to be at the start of a GML element." - - - - - A string like "Incorrect GML Format: a LinearRing element must not be empty." - - - - - A string like "Incorrect GML Format: a pos element must contain at least two coordinates." - - - - - A string like "Incorrect GML Format: a posList element must contain an even number of coordinates." - - - - - A string like "The WellKnownTextReader is configured to allow only two dimensions, and a third dimension was encountered." - - - - - A string like "Invalid spatial data: An instance of spatial type can have only one unique CoordinateSystem for all of its coordinates." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot be part of a collection type." - - - - - A string like "Invalid spatial data: the spatial type "LineString" must contain at least two points." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot contain figures." - - - - - A string like "Invalid spatial data: A polygon ring must contain at least four points, and the last point must be equal to the first point." - - - - - A string like "A geography operation was called while processing a geometric shape." - - - - - A string like "A geometry operation was called while processing a geographic shape." - - - - - A string like "Invalid GeoJSON. A position must contain at least two and no more than four elements." - - - - - A string like "Invalid GeoJSON. A null value was found in an array element where nulls are not allowed." - - - - - A string like "Invalid GeoJSON. A non-numeric value was found in an array element where a numeric value was expected." - - - - - A string like "Invalid GeoJSON. A primitive value was found in an array element where an array was expected." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/System.Spatial.resources.dll deleted file mode 100644 index 8de7f030a..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/de/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/System.Spatial.resources.dll deleted file mode 100644 index e16963af4..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/es/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/System.Spatial.resources.dll deleted file mode 100644 index fbfd3cb4c..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/fr/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/System.Spatial.resources.dll deleted file mode 100644 index a7b69edf2..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/it/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/System.Spatial.resources.dll deleted file mode 100644 index cbcb4ce9a..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ja/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/System.Spatial.resources.dll deleted file mode 100644 index b8ab59c94..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ko/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/System.Spatial.resources.dll deleted file mode 100644 index 73bb06c9e..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/ru/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/System.Spatial.resources.dll deleted file mode 100644 index 55fec5373..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hans/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/System.Spatial.resources.dll deleted file mode 100644 index 0fcc07f79..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net40+sl5+wp8+win8+wpa/zh-Hant/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/System.Spatial.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/System.Spatial.dll deleted file mode 100644 index d1cb48eb8..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/System.Spatial.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/System.Spatial.xml b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/System.Spatial.xml deleted file mode 100644 index 06a187b43..000000000 --- a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/System.Spatial.xml +++ /dev/null @@ -1,7260 +0,0 @@ - - - - System.Spatial - - - - - Replacement for TypeCode enum. - - - - Indicates that no specific TypeCode exists for this type. - - - Boolean - - - Char - - - Signed 8-bit integer - - - Unsigned 8-bit integer - - - Signed 16-bit integer - - - Unsigned 16-bit integer - - - Signed 32-bit integer - - - Unsigned 32-bit integer - - - Signed 64-bit integer - - - Unsigned 64-bit integer - - - IEEE 32-bit float - - - IEEE 64-bit double - - - Decimal - - - DateTime - - - Unicode character string - - - Specifies that the case of the member name should not be considered when binding. - - - Specifies that only members declared at the level of the supplied type's hierarchy should be - considered. Inherited members are not considered. - - - Specifies that instance members are to be included in the search. - - - Specifies that static members are to be included in the search. - - - Specifies that public members are to be included in the search. - - - Specifies that non-public members are to be included in the search. - - - Specifies that public and protected static members up the hierarchy should - be returned. Private static members in inherited classes are not returned. - Static members include fields, methods, events, and properties. Nested types are not returned. - - - Specifies that types of the supplied arguments must exactly match the types - of the corresponding formal parameters. Reflection throws an exception if - the caller supplies a non-null Binder object, since that implies that the - caller is supplying BindToXXX implementations that will pick the appropriate method. - - - Returns the set of members whose parameter count matches the number of supplied - arguments. This binding flag is used for methods with parameters that have - default values and methods with variable arguments (varargs). This flag should - only be used with System.Type.InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[]). - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Replacement for Uri.UriSchemeHttp, which does not exist on. - - - - - Replacement for Uri.UriSchemeHttps, which does not exist on. - - - - - Map of TypeCodes used with GetTypeCode method. Only initialized if that method is called. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Checks if the specified constructor takes arguments of the specified types. - - ConstructorInfo on which to call this helper method. - Array of type arguments to check against the constructor parameters. - True if the constructor takes arguments of the specified types, otherwise false. - - - - Replacement for Type.IsAssignableFrom(Type) - - Type on which to call this helper method. - Type to test for assignability. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.IsSubclassOf(Type). - - Type on which to call this helper method. - Type to test if typeType is a subclass. - True if thisType is a subclass of otherType, otherwise false. - - TODO: Dev11:279438 is going to add this back to TypeInfo. This method will still be needed since it works on Type, but the - implementation should just be able to call the TypeInfo version directly instead of the full implementation here. - - - - - Replacement for GetMethod(string). - - Type on which to call this helper method. - Method to find on the specified type. - MethodInfo if one was found for the specified type, otherwise false. - - - - Replacement for Type.GetMethod(string, Type[]). - - Type on which to call this helper method. - Name of method to find on the specified type. - Array of arguments to the method. - MethodInfo if one was found for the specified type, otherwise false. - - - - Gets a MethodInfo from the specified type. Replaces uses of Type.GetMember. - - Type on which to call this helper method. - Name of the method to find. - True if the method is public, false otherwise. - True if the method is static, false otherwise. - Number of generics arguments the method has. - MethodInfo for the method that was found. - - - - Replacement for Type.GetProperty(string, Type). - - Type on which to call this helper method. - Name of public property to find on the specified type. - Return type for the property. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for Type.GetProperty(string). - - Type on which to call this helper method. - Name of public property to find on the specified type. - PropertyInfo if a property was found on the type with the specified name and return type, otherwise null. - - - - Replacement for PropertyInfo.GetGetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public get accessor of the specified PropertyInfo, or null if there is no get accessor or it is non-public. - - - - Replacement for PropertyInfo.GetSetMethod(). - - PropertyInfo on which to call this helper method. - MethodInfo for the public set accessor of the specified PropertyInfo, or null if there is no set accessor or it is non-public. - - - - Replacement for MethodInfo.GetBaseDefinition(). - - MethodInfo on which to call this helper method. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetProperties(). - - Type on which to call this helper method. - Enumerable of all instance and static public properties on the type. - - - - Replacement for Type.GetFields(string). - - Type on which to call this helper method. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetFields(bindingAttr). - - Type on which to call this helper method. - True if method should search only public fields, false if it should search only non-public fields. - True if method should search only static fields, false if it should search only instance fields. - Enumerable of all public instance fields for the specified type. - - - - Replacement for Type.GetCustomAttributes(Type, bool). - - Type on which to call this helper method. - Attribute type to find on the specified type. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetCustomAttributes(bool). - - Type on which to call this helper method. - True if the base types should be searched, false otherwise. - See documentation for method being accessed in the body of the method. - - - - Replacement for Type.GetGenericArguments(). - - Type on which to call this helper method. - Array of Type objects that represent the type arguments of a generic type or the type parameters of a generic type definition. - - - - Replacement for Type.GetInterfaces(). - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInstanceOfType(object). - - Type on which to call this helper method. - Object to test to see if it's an instance of the specified type. - See documentation for method being accessed in the body of the method. - - - - Replacement for Stream.Close(). - - Stream on which to call this helper method. - - Many Close methods have been eliminated on WinRT, the recommended pattern is to just use Dispose instead. - - - - - Replacement for Assembly.GetType(string, bool). - - Assembly on which to call this helper method. - Name of the type to get from the assembly. - True if an exception should be thrown if the type cannot be found, otherwise false. - Type instance if the type could be found in the assembly, otherwise null. - - TODO: Dev11:279441 will add a new method called Assembly.GetDefinedType(string) that returns a TypeInfo and will throw like Assembly.GetType(string, true) used to. - This helper method will still be needed but should be updated to use the new implementation once it exists. - - - - - Replacement for Assembly.GetTypes(). - - Assembly on which to call this helper method. - Enumerable of the types in the assembly. - - - - Replacement for GetField(string). - - Type on which to call this helper method. - Method to find on the specified type. - FieldInfo if one was found for the specified type, otherwise false. - - - - Checks if the specified PropertyInfo is an instance property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is an instance method. - - - - Checks if the specified PropertyInfo is a public property. - - PropertyInfo on which to call this helper method. - True if either the GetMethod or SetMethod for the property is public. - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Manages the type code mapping used to provide the GetTypeCode functionality. - - - - - Dictionary of types and their type codes. - - - - - Constructor for the map. - - - - - Method that does the lookup in the type map, given a type. - - Type for which to find the type code. - TypeCode for the specified type if it's in the map, otherwise TypeCode.Object. - - - - Formatter for Json Object - - - - Represents a formatter for Json object. - - - Creates the implementation of the formatter. - The created implementation. - - - Reads from the source. - The object that was read. - The source json object. - The spatial type to read. - - - Converts spatial value to a Json object. - The json object. - The spatial value. - - - - The implementation that created this instance. - - - - - Spatial builder - - - - - The parse pipeline - - - - - Constructor - - The SpatialImplementation that created this instance - - - - Read from the source - - The spatial type to read - The source json object - The read instance - - - - Convert spatial value to a Json Object - - The spatial value - The json object - - - - Initialize the pipeline - - - - - Convert Spatial objects into json writer - - - - - Base Writer for GeoJson - - - - - Base class to create a unified set of handlers for Geometry and Geography - - - - - Performs an implicit conversion from to . - - The instance to convert. - - The result of the conversion. - - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - the coordinate system to be passed down the pipeline - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - This class is responsible for taking the calls to DrawGeography and delegating them to the unified - handlers - - - - Represents the pipeline of geography. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - This class is responsible for taking the calls to DrawGeometry and delegating them to the unified - handlers - - - - Represents the pipeline of geometry. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Stack to track the current type being written. - - - - - CoordinateSystem for the types being written. - - - - - Figure added in current shape - - - - - Creates a new instance of the GeoJsonWriter. - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - End the current json object scope - - - - - End the current json array scope - - - - - Setup the pipeline for reuse - - - - - Gets the GeoJson type name to use when writing the specified type. - - SpatialType being written. - GeoJson type name corresponding to the specified . - - - - Gets the name of the GeoJson member to use when writing the body of the spatial object. - - SpatialType being written. - Name of the GeoJson member to use when writing the body of the spatial object. - - - - Whether or not the specified type wraps its data in an outer array. - - SpatialType being written. - True if the type uses an outer array, otherwise false. - - - - Sets the CoordinateSystem for Geography and Geometry shapes. - - CoordinateSystem value to set. - - - - Start writing a Geography or Geometry shape. - - SpatialType to use when writing the shape. - Default CoordinateSystem to use if SetCoordinateSystem is never called on this shape. - - - - Write the type header information for a shape. - - SpatialType being written. - - - - Start writing a figure in a Geography or Geometry shape. - - - - - Write a position in a Geography or Geometry figure. - - First (X/Longitude) Coordinate - Second (Y/Latitude) Coordinate - Z Coordinate - M Coordinate - - - - Ends a Geography or Geometry figure. - - - - - Ends a Geography or Geometry shape. - - - - - Writes the coordinate reference system footer for the GeoJson object. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - True if the shape is not a child of another shape. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - Stack of json objects - - - - - Buffered key of the current name-value pair - - - - - Stores the last object fully serialized - - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - End the current json array scope - - - - - End the current json object scope - - - - - Add an json object to the current scope - - The json object - - - - Return the current property name, and clear the buffer - - The current property name - - When inserting to a dictionary, the name-value pair comes across multiple pipeline calls - Therefore we need to buffer the name part and wait for the value part. - You can get into an incorrect state (caught by asserts) if you add a property name without - using it immediately next. - - - - - Access the current container as a List - - The current container as list - - - - Access the current container as a Dictionary - - The current container as dictionary - - - - Get the top level json object - - - - - Test if the current container is an array - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Latitude. - - - - - Internal pipeline Inteface that washes the distinction between Geography and Geometry - - - - - Set the coordinate system based on the given EPSG ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Add a control point to the current figure - - First coordinate - Second coordinate - Third coordinate - Fourth coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Longitude. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The spatial reader that can read from a pre parsed GeoJson payload - - - - - Reader to be used by spatial formats - - The type of source that the reader operates on. - - - - Creates a reader - - the instance of the pipeline that the reader will message while it is reading. - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Sets the reader and underlying Destination back to a clean - starting state after an exception - - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - The pipeline that is messaged while the reader is reading. - - - - - Initializes a new instance of the class. - - The pipeline. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The jsonObject to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The jsonObject to read from. - - - - A common way to call Geography and Geometry pipeline apis from the structured Json - - - - - Pipeline to use for the output of the translation of the GeoJSON object into pipeline method calls. - - - - - Initializes a new instance of the class. - - Spatial pipeline that will receive the pipeline method calls. - - - - Translates a dictionary of parsed GeoJSON members and values into method calls on the spatial pipeline. - - Dictionary containing GeoJSON members and values. - Coordinate System must be set for this pipeline - - - - Iterates over an object array, verifies that each element in the array is another array, and calls a delgate on the contained array. - - Array to iterate over. - Delegate to invoke for each element once it has been validated to be an array. - - - - Convert an object to a nullable double value. - - Object to convert. - If the specified element was null, returns null, otherwise returns the converted double value. - - - - Convert an object to a non-null double value. - - Object to convert. - Converted double value. - - - - Values as json array. - - The value. - The value cast as a json array. - - - - Values as json object. - - The value. - The value cast as IDictionary<string, object> - - - - Values as string. - - Name of the property. - The value. - The value cast as a string. - - - - Get the type member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - SpatialType for the GeoJSON object. - - - - Tries to get a coordinate system id from the geo json object's 'crs' property - - The geo json object. - The coordinate system id. - True if the object had a coordinate system - - - - Gets the coordinate system ID from a representation of the CRS object - - The parsed representation of the CRS object. - The coordinate system ID - - - - Get the designated member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - The member's tag name - Member value for the GeoJSON object. - - - - This method assumes a non forward only enumerable - - The enumerable to check - true if there is at least one element - - - - Reads GeoJson 'type' value and maps it a valid SpatialType. - - The GeoJson standard type name - SpatialType corresponding to the GeoJson type name. - - - - Sends a shape to the spatial pipeline. - - SpatialType of the shape. - Content member for the shape - - - - Translates the coordinates member value into method calls on the spatial pipeline. - - SpatialType of the GeoJSON object. - Coordinates value of the GeoJSON object, or inner geometries for collection - - - - Translates the coordinates member value of a Point object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a LineString object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a Polygon object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a MultiPoint, MultiLineString, or MultiPolygon object into method calls on the spatial pipeline. - - Type of the shape contained in the Multi shape. - Parsed coordinates array. - - - - Translates an array of positions into method calls on the spatial pipeline. - - List containing the positions. - - - - Translates an individual position into a method call on the spatial pipeline. - - List containing elements of the position. - True if the position is the first one being written to a figure, otherwise false. - - - - A key consisting of multiple fields - - The type of the first field. - The type of the second field. - - - - The first field - - - - - The second field - - - - - Initializes a new instance of the class. - - The first. - The second. - - - - Implements the operator ==. - - The left. - The right. - - The result of the operator. - - - - - Implements the operator !=. - - The left. - The right. - - The result of the operator. - - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - The parameter is null. - - - - 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 the extensions to formatters. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Represents the full globe of geography. - - - Represents the geography surface. - - - Represents a base class of geography shapes. - - - Represents the spatial interface. - - - Gets the coordinate system. - The coordinate system. - - - Gets a value that indicates whether the spatial type is empty. - true if the spatial type is empty; otherwise, false. - - - - The implementation that created this instance - - - - - The CoordinateSystem of this geography - - - - Initializes a new instance of the class. - The coordinate system of this geography. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Computes the hashcode for the given CoordinateSystem and the fields - - Spatial type instances or doubles for base types (Geography/Geometry types). - CoordinateSystem instance. - Spatial type instances or doubles for base types (Geography/Geometry types). - hashcode for the CoordinateSystem instance and Spatial type instances. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the coordinate system of the geography. - The coordinate system of the geography. - - - Gets a value that indicates whether the geography is empty. - true if the geography is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Represents the curve of geography. - - - Initializes a new instance of the class. - The coordinate system of this geography curve. - The implementation that created this instance. - - - Represents a geography line string consist of an array of geo points. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the multi-curve of geography. - - - Represents the collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this geography collection. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the collection of geographies. - The collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the multi-line string of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the line strings. - A collection of line strings. - - - Represents the multi-point of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the multi-polygon of geography. - - - Represents the multi-surface of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents a geography point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Creates a geography point using the specified latitude and longitude. - The geography point that was created. - The latitude. - The longitude. - - - Creates a geography point using the specified latitude, longitude and dimension. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - - - Creates a geography point using the specified latitude, longitude and dimensions. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Creates a geography point using the specified coordinate system, latitude, longitude and dimensions. - The geography point that was created. - The coordinate system to use. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the latitude. - The latitude. - - - Gets the longitude. - The longitude. - - - Gets the nullable Z. - The nullable Z. - Z is the altitude portion of position. - - - Gets the nullable M. - The nullable M. - M is the arbitrary measure associated with a position. - - - Represents the geography polygon. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of rings. - A collection of rings. - - - Represents the geometry collection. - - - Represents the base class of geography shapes. - - - - The implementation that created this instance. - - - - - The CoordinateSystem of this geometry - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the SRID of this instance of geometry. - The SRID of this instance of geometry. - - - Gets a value that indicates whether geometry is empty. - true if the geometry is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the geometry instances in this collection. - A collection of geometries. - - - Represents the geometry curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the geometry multi-curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry multi-line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of line strings. - A collection of line strings. - - - Represents the geometry multi-point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the geometry multi-polygon. - - - Represents the geometry multi-surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents the Geometry Point. - - - Initializes a new instance of the class. Empty Point constructor. - The CoordinateSystem. - The implementation that created this instance. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The coordinate system to use. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Gets the Hashcode. - The hashcode. - - - Gets the Latitude. - The Latitude. - - - Gets the Longitude. - The Longitude. - - - Gets the Nullable Z. - The Nullable Z. - Z is the altitude portion of position. - - - Gets the Nullable M. - The Nullable M. - M is the arbitrary measure associated with a position. - - - Represents the Geometry polygon. - - - Represents a geometry surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The CoordinateSystem. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Indicates the Get Hashcode. - The hashcode. - - - Gets the set of rings. - - - Provides access to the geography objects that this object constructs. - - - Fires when the provider constructs a geography object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Provides access to the geometry objects that this object constructs. - - - Fires when the provider constructs a geometry object. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Provides access to the constructed geography or geometry. - - - The exception that is thrown on an unsuccessful parsing of the serialized format. - - - Creates a new instance of the class. - - - Creates a new instance of the class from a message and previous exception. - The message about the exception. - The exception that preceeded this one. - - - Creates a new instance of the class from a message. - The message about the exception. - - - Creates a geometry or geography instances from spatial data pipelines. - - - - One link of a geospatial pipeline - - - - - the geography side of the pipeline - - - - - the geometry side of the pipeline - - - - - A reference to the begining link of the chain - useful for getting the startingLink when creating the chain fluently - e.g. new ForwardingSegment(new Node()).ChainTo(new Node()).ChainTo(new Node).StartingLink - - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The geography chain. - The geometry chain. - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - Adds the next pipeline. - The last pipesegment in the chain, usually the one just created. - The next pipeline. - - - Gets the geography side of the pipeline. - - - Gets the geometry side of the pipeline. - - - Gets or sets the starting link. - The starting link. - - - - The builder to be delegated to when this class is accessed from the IGeographyPipeline or IGeographyProvider interfaces. - - - - - The builder to be delegated to when this class is accessed from the IGeometryPipeline or IGeometryProvider interfaces. - - - - Initializes a new instance of the class. - The geography input. - The geometry input. - The geography output. - The geometry output. - - - Creates an implementation of the builder. - The created SpatialBuilder implementation. - - - Fires when the provider constructs geography object. - - - Fires when the provider constructs geometry object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Represents the base class for all Spatial Formats. - The type of reader to be read from. - The type of reader to be read from. - - - - The implementation that created this instance. - - - - Initializes a new instance of the <see cref="T:System.Spatial.SpatialFormatter`2" /> class. - The implementation that created this instance. - - - Parses the input, and produces the object. - The input. - The input to be parsed. - The type of object to produce. - - - Parses the input, and produces the object. - The input to be parsed. - The pipeline to call during reading. - The type of object to produce. - - - Creates a valid format from the spatial object. - The object that the format is being created for. - The stream to write the formatted object to. - - - Creates the writerStream. - The writerStream that was created. - The stream that should be written to. - - - Reads the Geography from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Reads the Geometry from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Creates the builder that will be called by the parser to build the new type. - The builder that was created. - - - Defines a list of allowed OpenGisTypes types. - - - - Unknown - - - - - Point - - - - - Line String - - - - - Polygon - - - - - Multi-Point - - - - - Multi-Line-String - - - - - Multi-Polygon - - - - - Collection - - - - - Full Globe - - - - Provides a place to add extension methods that work with ISpatial. - - - Allows the delegation of the call to the proper type (geography or Geometry). - The instance that will have SendTo called. - The pipeline that the instance will be sent to. - - - - Coordinate System Reference - - - - - Default Geometry Reference - - - - - Default Geography Reference (SRID 4326, WGS84) - - - - - List of registered references - - - - - A lock object for the References static dict - - - - - The shape of the space that this coordinate system measures. - - - - Initializes a static instance of the class. - - - Initializes a new instance of the class. - The coordinate system ID, according to the EPSG - The Name of the system - The topology of this coordinate system - - - Gets or creates a Geography coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Gets or creates a Geometry coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Displays the coordinate system for debugging. - The coordinate system, for debugging. - - - Displays a string that can be used with extended WKT. - String representation in the form of SRID=#; - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - 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. - - - - For tests only. Identifies whether the coordinate system is of the designated topology. - - The expected topology. - True if this coordinate system is of the expected topology. - - - - Get or create a CoordinateSystem with ID - - The SRID - The topology. - - A CoordinateSystem object - - - - - Remember this coordinate system in the references dictionary. - - The coords. - - - - Gets the key for a coordinate system - - ID - topology - The key to use with the references dict. - - - Gets the coordinate system ID according to the EPSG, or NULL if this is not an EPSG coordinate system. - The coordinate system ID according to the EPSG. - - - Gets the coordinate system Id, no matter what scheme is used. - The coordinate system Id. - - - Gets the Name of the Reference. - The Name of the Reference. - - - - The shapes of the spaces measured by coordinate systems. - - - - - Ellipsoidal coordinates - - - - - Planar coordinates - - - - - This class is responsible for executing an action the first time dispose is called on it. - - - - The action to be executed on dispose - - - - Constructs an instance of the ActonOnDispose object - - the action to be execute on dispose - - - - The dipose method of the IDisposable insterface - - - - - The object to move spatial types to and from the GML format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - The created GmlFormatter implementation. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - Returns the created WellKnownTextSqlFormatter implementation. - - - Creates the implementation of the formatter and checks whether the specified formatter has Z. - The created WellKnownTextSqlFormatter. - Restricts the formatter to allow only two dimensions. - - - - Represents one position in the Geographyal coordinate system - - - - lattitude portion of position - - - longitude portion of position - - - arbitrary measure associated with a position - - - altitude portion of position - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - The altitude portion of a position. - The arbitrary measure associated with a position. - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - - - Performs equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs equality comparison on a spatial geographic position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the latitude portion of a position. - The latitude portion of a position. - - - Gets the longitude portion of a position. - The longitude portion of a position. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the altitude portion of a position. - The altitude portion of a position. - - - - Represents one position in the Geometry coordinate system - - - - arbitrary measure associated with a position - - - x portion of position - - - y portion of position - - - altitude portion of position - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - The altitude portion of position. - The arbitrary measure associated with a position. - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - - - Performs the equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs the inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs the equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs the equality comparison on a spatial geometry position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the X portion of position. - The X portion of position. - - - Gets the Y portion of position. - The Y portion of position. - - - Gets the altitude portion of position. - The altitude portion of position. - - - - Base class for Spatial Type Validator implementations - - - - Creates the currently registered SpatialValidator implementation. - The created SpatialValidator. - - - - Extension methods for the Geography operations - - - - Determines the distance of the geography. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geography LineString. - The operation result. - The LineString operand. - - - Determines if geography point and polygon will intersect. - The operation result. - The first operand. - The second operand. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Extension methods for the Geography operations - - - - Determines the distance of the geometry. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geometry LineString. - The operation result. - The LineString operand. - - - Determines if geometry point and polygon will intersect. - The operation result. - The first operand, point. - The second operand, polygon. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Queue where things are seen in highest priority (highest compare) order - - The type of the values stored in priority order - - - - The list of queued items. - This is non-generic to avoid issues with the NetCF's reflection stack. - - - - - Initializes a new instance of the PriorityQueue class - DEVNOTE: this is only here for the FxCop suppression. - - - - - Returns the top queue value without removing it. - - The top value of the queue - - - - Adds a new value to the queue by priority. - - The priority of the new item to add. - The new item being added. - - - - Returns a value indicating whether there is already an item with the given priority in the queue - - The priority to check - Whether or not an item with the given priority is in the queue - - - - Removes the item with the priority specified from the queue - - The priority of the item to be removed from the queue - The value of the removed item. - - - - Gets the number of items in the queue - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - a particular implemenation of Spatial types - - - - Default Spatial Implementation. - - - Creates a SpatialBuilder for this implementation. - The SpatialBuilder created. - - - Creates a Formatter for Json Object. - The JsonObjectFormatter created. - - - Creates a GmlFormatter for this implementation. - The GmlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - Controls the writing and reading of the Z and M dimension. - - - Creates a spatial Validator. - The SpatialValidator created. - - - - This method throws if the operations instance is null. It returns a non-null operations implementation. - - a SpatialOperations implementation. - - - Returns an instance of SpatialImplementation that is currently being used. - - - Gets or sets the Spatial operations implementation. - - - - Class responsible for knowing how to perform operations for a particular implemenation of Spatial types - - - - Indicates the Geometry Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates a Geography Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates the Geometry LineString's length. - The operation result. - The Operand. - - - Indicates a Geography LineString's length. - The operation result. - The Operand. - - - Indicates the Geometry Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - Indicates a Geography Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - - This class holds extension methods for objects that have new capabilities - in newer versions of .net, and this lets us make the calls look the same and reduces the #if noise - - - - - StringBuilder didn't have a clear method in Orcas, so we added and extension method to give it one. - - The StringBuilder instance to clear. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - - restricts the writer and reader to allow only two dimensions. - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Initializes a new instance of the class. - - The implementation that created this instance. - restricts the reader to allow only two dimensions. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - Gml Writer - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - If an SRID has been written already. - - - - - The Coordinate System to write - - - - - Figure has been written to the current spatial type - - - - - Whether there are shapes written in the current container - - - - - Constructor - - The Xml Writer to output to - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - The coordinateSystem to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Setup the pipeline for reuse - - - - - Begin a figure - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Write the element with namespaces - - The element name - - - - Write coordinate system - - - - - Write a Point - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - End Geography/Geometry - - - - - The object to move spatial types to and from the GML format - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - WellKnownText Lexer - - - - - Lexer base - - - - - Input text - - - - - Current lexer output - - - - - Peek lexer output, if this is not null then we have advanced already - - - - - Constructor - - The input text - - - - Peek one token ahead of the current position - - The peeked token - True if there is one more token after the current position, otherwise false - - - - Move to the next token - - True if lexer has moved, otherwise false - - - - Examine the current character and determine its token type - - The char that will be read next - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - Current token - - - - - Constructor - - Input text - - - - Examine the current character and determine its token type - - The next char that will be read. - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - WellKnownText Lexer Token Type - - - - - A-Z only support upper case text. i.e., POINT() instead of Point() or point() - - - - - character '=' - - - - - characters '0' to '9' - - - - - character ';' - - - - - character '(' - - - - - character ')' - - - - - character '.' - - - - - character ',' - - - - - character ' ', '\t' - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - the data services implemenation of Spatial types - - - - - Creates a SpatialBuilder for this implemenation - - - The SpatialBuilder created. - - - - - Creates a GmlFormatter for this implementation - - The GmlFormatter created. - - - - Creates a GeoJsonObjectFormatter for this implementation - - The GeoJsonObjectFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - The WellKnownTextSqlFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - Controls the writing and reading of the Z and M dimension - - The WellKnownTextSqlFormatter created. - - - - - Creates a SpatialValidator for this implementation - - The SpatialValidator created. - - - - Property used to register Spatial operations implementation. - - - - - Builder for Geography types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geography object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - Tree based builder for spatial types - - Geography or Geometry - - - - The figure this builder is currently building - - - - - Current builder tree root - - - - - lastConstructed - - - - - Draw a point in the specified coordinate - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin a new spatial type - - The spatial type - - - - Ends the figure set on the current node - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Notifies if we just finished building something. - - - - - Traverses up the tree. - - - - - Fires when the builder creates a top-level spatial object. - - - - - Get the constructed spatial instance - - The constructed spatial instance - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - A spatial instance node in the builder tree - - - - - Constructor - - - - - Create a child node - - The node type - The child node - - - - Children nodes - - - - - Instance - - - - - Parent node - - - - - Spatial Type - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Builder for Geometry types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geometry object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - A Geography linestring consist of an array of GeoPoints - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geography Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geographies - - - - - Line Strings - - - - - Geography Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geography - - - - - Points - - - - - Geography Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geographies - - - - - Polygons - - - - - This class is an implementation of Geography point. - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Create a empty point - - CoordinateSystem - The implementation that created this instance. - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geography polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geography Collection - - - - - Collection of geography instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of geography instances - - - - Constructor - - The implementation that created this instance. - Collection of geography instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geography Collection Empty - - - - - Geographies - - - - - Helper methods for the geography type. - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeographyLineString instance to serialize. - The pipeline to populate to - - - - Implementation of FullGlobe - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - - Constructor - - The implementation that created this instance. - - - - Sends the spatial geography object to the given sink - - The spatial pipeline - - - - Is FullGlobe empty - - - - - Geometry Line String - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Constructor - - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geometry Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geometry - - - - - Line Strings - - - - - Geometry Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geometry - - - - - Points - - - - - Geometry Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geometry - - - - - Polygons - - - - - Geometry Point - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Empty Point constructor - - CoordinateSystem - The implementation that created this instance. - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geometry polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geometry Collection - - - - - Collection of Geometry instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of Geometry instances - - - - Constructor - - The implementation that created this instance. - Collection of Geometry instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geometry Collection Empty - - - - - Geographies - - - - - Dummy class for code that is shared with ODataLib. - The ODataLib version of this class has an implementation, but this version is just provided - so that we don't have to conditionally compile all references to it in the shared code. - Since it is debug-only anyway, there is no harm in leaving this no-op version so that the shared code is cleaner. - - - - - Dummy method to allow shared code to compile. - - - - - Helper methods for Geometry types - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeometryLineString instance for which the figure needs to be drawn. - The pipeline to populate to - - - - Gml Reader - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - This class parses the xml and calls the pipeline based on what is parsed - - - - - Delimiters used in position arrays. As per Xml spec white space characters is: #x20 | #x9 | #xD | #xA - - - - - List of known gml elements that can be ignored by the parser - - - - - Atomized gml namespace - - - - - Atomized Full Globe namespace - - - - - Output pipeline - - - - - Input reader - - - - - Number of points in the current figure - - - - - Constructor - - Input Reader - Output pipeline - - - - Read - - - - - Parses the top level element in the document - - Whether coordinte system is expected - - - - Set the CoordinateSystem - - Should we allow CRS attributes - - - - creates a shape and parses the element. - This is used to parse a top level Point element, as opposed to - a point which is embeded in a linestring or a polygon. - - - - - creates a shape and parses the element for top level LineString shapes - - - - - Creates a shape and parses the Polygon element. - - - - - Creates a shape and parses the MultiPoint element. - - - - - Creates a shape and parses the MultiLineString(Gml MultiCurve) element. - - - - - Creates a shape and parses the MultiPolygon(Gml MultiSurface) element. - - - - - Creates a shape and parses the Collection(Gml MultiGeometry) element. - - - - - Creates a shape and parses the FullGlobe element - - - - - Parses a simple point. - - Allow Empty Point - - - - Parses the GmlLineStringElement. - - - - - Parses the GmlExteriorLinearRingElement - - The type or ring - - - - ParseGmlLinearRingElement parses the GmlLinearRingElement - - - - - Common function for all item collections, since they are all parsed exactly the same way - - The wrapping header tag - The member tag - The members tag - Parser for individual items - - - - parses a pos element, which eventually is used in most other top level elements. - This represents a single point location with either two or zero coordinates. - - Allow empty pos - - - - Parses a sequence of 1 or more pos and pointProperty elements - - Allow Empty Point - - - - Parses a simple pointProperty. - - Allow empty point - - - - parses a GmlPosListElement. - - Alow empty posList - - - - Reads the current content in the xml element as a double array - - - XmlReader.ReadContentAs(typeof(double[])) basically does this but a lot slower, since it will handle a bunch of - different splitters and formats. Here we simply parse it as a string and split in on one separator - - The double array - - - - Main element reading function. - Returns true if it read a non-empty start element of the given name. - possibilities: - 1- current element is not a start element named "element" - throw - 2- current element is named "element" but is an empty element - return false - 3- current element is named "element" and is not empty - return true - If the funciton returns true, it means that a non-empty element of the given name - was read, so the caller takes responsability to read the corresponding end element. - - The element name - Returns true if it read a non-empty start element of the given name. - - - - Is Start Element - - Expected Element Tag - True if reader is at the expected element - - - - Is End Element - - Expected Element Tag - True if reader is at the end of the expected element - - - - Read End Element - - - - - Call MoveToContent, then skip a known set of irrelevant elements (gml:name, gml:description) - - - - - Is reader at the start of a pos or pointProperty - - True if reader is at the expected element - - - - Prepare for figure drawing - - - - - Draw a point in the current figure - - X coordinate - Y coordinate - Z coordinate - M coordinate - - - - End Current Figure - - - - - Gml Constants - - - - - Gml Namespace - - - - - FullGlobe namespace - - - - - Gml Prefix - - - - - System reference attribute name - - - - - gml:id attribute name - - - - - System Reference Prefix - - - - - Gml representation of a point - - - - - The Gml:name element name - - - - - the Gml:Description element name - - - - - the metadata property element name - - - - - Description Reference element name - - - - - identifier element name - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml Point - - - - - Gml representation of a linestring - - - - - Gml Polygon - - - - - Gml MultiPoint - - - - - Gml MultiLineString - - - - - Gml MultiPolygon - - - - - Gml Collection - - - - - Gml FullGlobe - - - - - Gml Polygon exterior ring - - - - - Gml Polygon interior ring - - - - - Gml Ring - - - - - Member Tag for MultiPoint - - - - - Members Tag for MultiPoint - - - - - Member Tag for MultiLineString - - - - - Members Tag for MultiLineString - - - - - Member Tag for MultiPolygon - - - - - Members Tag for MultiPolygon - - - - - Member Tag for Collection - - - - - Members Tag for Collection - - - - - Attribute name for Axis Labels - - - - - Attribute name for unit of measure labels - - - - - Attribute name for count - - - - - Well Known Text Constants - - - - - SRID - - - - - POINT - - - - - LINESTRING - - - - - POLYGON - - - - - GEOMETRYCOLLECTION - DEVNOTE: Because there is no inherent Geography support in the WKT specification, - this constant is used for both GeographyCollection and GeometryCollection - - - - - MULTIPOINT - - - - - MULTILINESTRING - - - - - MULTIPOLYGON - - - - - FULLGLOBE - - - - - NULL - - - - - NULL - - - - - Equals Operator '=' - - - - - Semicolon ';' - - - - - Delimiter ',' + WktWhiteSpace - - - - - Open Parenthesis '(' - - - - - Close Parenthesis '); - - - - - Whitespace ' ' - - - - - Period/Dot '.' - - - - - Adapter from the type washed API to Geometry, where it assumes that coord1 is X. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Semantically validate a GeoData - - - Grammar, states, and actions: - := SetSRID { Finish } - := (Begin_Point | ... | Begin_FullGlobe (: verify depth = 1 :) ) - := [ BeginFigure 1 EndFigure ] 2 End - := [ BeginFigure 1 { LineTo } EndFigure (: verify 2+ points :) ] 2 End - := { BeginFigure 1 { LineTo } EndFigure (: verify 4+ points and closed :) } End - := { { SetSRID } Begin_Point } End - := { { SetSRID } Begin_LineString } End - := { { SetSRID } Begin_Polygon } End - := { { SetSRID } } End - := End - := [ BeginFigure 1 { AddCircularArc } EndFigure ] 2 End - := [ BeginFigure 1 { LineTo | AddCircularArc } EndFigure ] | 2 End - := { } EndFigure - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - := { | | EndFigure (: verify closed and three distinct :)} End - := BeginFigure 1 { LineTo | AddCircularArc } - := StartSimpleRing 0 - := { } - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - ]]> - - - - - Max value for Longitude - - - ~263 radians converted to degrees - - - - - Max value for latitude - - - - - The DrawBoth derived instance of the geography Validator that is nested in this class - - - - - The DrawBoth derived instance of the geometry Validator that is nested in this class - - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - this is the actual validator, and derived from DrawBoth - while the real SpatialValidator derives from DrawSpatial. - We simple create an instance of this nested class and pass back - the DrawGeometry, and DrawGeography when the outter classes DataSpatial - properties are accessed. - - - - - Geometry Functional Specification 3.2.3.4 - Max Geometry Collection Depth - - - - - Set coordinate system - - - - - BeginGeo - - - - - Starting a point - - - - - Building a point - - - - - Ending a point - - - - - Starting a LineString - - - - - Building a LineString - - - - - Ending a LineString - - - - - Starting a Polygon - - - - - Building a Polygon - - - - - Starting a MultiPoint - - - - - Starting a LineString - - - - - Starting a MultiPolygon - - - - - Starting a Collection - - - - - Starting a FullGlobe - - - - - States - - - - - CoordinateSystem - - - - - Number of rings in a polygon - - - - - First point's X coordinate - - - - - First point's Y coordinate - - - - - Last point's X coordinate - - - - - Last point's Y coordinate - - - - - we are validating a geography stream - - - - - Number of points in the GeoData - - - - - Stack depth - - - - - Constructs a new SpatialValidatorImplementation segment - - - - - Implemented by a subclass to handle the setting of a coordinate system - - the new coordinate system - the coordinate system to be passed down the pipeline - - - - Implemented by a subclass to handle the start of drawing a Geography figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geography figure - - - - - Implemented by a subclass to handle the start of drawing a Geometry figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geometry figure - - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the end of a figure - - - - - Implemented by a subclass to return to its initial state - - - - - Implemented by a subclass to handle the addition of a waypoint to a Geography figure - - Next position - the GeographyPosition to be passed down the pipeline - - - - Implemented by a subclass to handle the addition of a waypoint to a Geometry figure - - Next position - the GeometryPosition to be passed down the pipeline - - - - Test whether a double is finite - - The double value - True if the input double is not NaN or INF - - - - Test whether a point is in valid format - - The first coordinate - The second coordinate - The z coordinate - The m coordinate - Whether the input coordinate is valid - - - - Validate one position - - the first two dimensional co-ordinate - the second two dimensional co-ordinate - the altitude - the measure - - - - Validate one Geography position - - the latitude - the longitude - the altitude - the measure - - - - Validate one Geography position - - the x coordinate - the y coordinate - the altitude - the measure - - - - Test whether a latitude value is within acceptable range - - The latitude value - True if the latitude value is within range - - - - Test whether a longitude value is within acceptable range - - The longitude value - True if the longitude value is within range - - - - Validate a Geography polygon - - The number of points in the ring - its first latitude - it first longitued - its last latitude - its last longitude - - - - Validate a Geometry polygon - - The number of points in the ring - its first x - it first y - its last x - its last y - - - - Test whether two longitude values are equal - - Left longitude - Right longitude - True if the two longitudes are equals - - - - Begins the figure. - - The validate action. - The x. - The y. - The z. - The m. - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Add a control point to the current figure. - - the first coordinate - the second coordinate - - - - Tracks the position. - - The first. - The second. - - - - Transit into a new state - - The state to transit into - - - - initialize the object to a fresh clean smelling state - - - - - Push a new state onto the stack - - The new state - - - - Pop a state from the stack - - - - - Replace the current state on the stack with the new state - - The new state - - - - Calls to the pipeline interface Represented as state transition - - - - - Set CoordinateSystem - - - - - BeginGeo() - - fake transition, just for exception - - - - BeginGeo(point) - - - - - BeginGeo(LineString) - - - - - BeginGeo(Polygon) - - - - - BeginGeo(MultiPoint) - - - - - BeginGeo(MultiLineString) - - - - - BeginGeo(MultiPolygon) - - - - - BeginGeo(Collection) - - - - - BeginGeo(FullGlobe) - - - - - BeginFigure - - - - - LineTo - - - - - EndFigure - - - - - EndGeo - - - - - SpatialValidatorImplementation State - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Throw an incorrect state exception - - The expected state - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The expected state3 - The actual state - - - - SetCoordinateSystem State - Validator is currently waiting for a SetCoordinateSystemCall - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Beginning a GeoData - Validator is currently waiting for a BeginGeo() call - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Start State - After BeginGeo(Point), waiting for BeginFigure() or EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Building State - After BeginFigure(), waiting for EndFigure() immediately - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point End State - After EndFigure() for a point, waiting for EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Start state - After BeginGeo(LineString), waiting for BeginFigure/EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Building State - After BeginFigure() for a line - Waiting for LineTo/EndFigure - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString End State - After EndFigure() on Line - Waiting for EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - PolygonStart State - After polygon started, waiting for Rings to build - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Polygon Building State - Drawing rings - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPoint State - Inside a MultiPoint Container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiLineString State - Inside a MultiLineString container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPolygon State - Inside a MultiPolygon container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Collection State - Inside a Collection container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - FullGlobe state - Inside a FullGlobe container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Extension methods for TextWriter - - - - - Write a double to a TextWriter ensuring that the value will be roundtrippable thorugh double.parse - - the writer - the double value to be written - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - Text Lexer Token - - - - - Test whether this token matches the input criterion - - The target type - The target text, or null - The StringComparison - True if this token matches the input criterion - - - - String representation of this token - - String representation of this token - - - - The Token Text - - - - - Token Type - - - - - Reader for Extended Well Known Text, Case sensitive - example: - SRID=1234;POINT(10.0 20.0 NULL 30.0) - - - - - restricts the reader to allow only two dimensions. - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Initializes a new instance of the class. - - The destination. - if set to true allows only two dimensions. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - TextReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - TextReader instance to read from. - - - - This class parses the text and calls the pipeline based on what is parsed - - - - - restricts the parser to allow only two dimensions. - - - - - Text lexer - - - - - Output pipeline - - - - - Creates a parser with the given reader and pipeline - - The reader that is the source of what is parsed. - The pipeline to be called as the parser recognizes tokens. - if set to true allows only two dimensions. - - - - Read WellKnownText into an instance of Geography - - - - - Test whether the current token matches the expected token - - The expected token type - The expected token text - True if the two tokens match - - - - Move the lexer to the next non-whitespace token - - True if the lexer gets a new token - - - - Parse Collection Text - - - - - Parse a LineString text - - - - - Parse a Multi* text - - The inner spatial type - The inner reader - - - - Parse Point Representation - - Whether this is the first point in the figure - - - - Parse a point text - - - - - Parse a Polygon text - - - - - Parse an instance of SRID - - - - - Parse Tagged Text - - - - - Read a double literal - - The read double - - - - Check to see if the content is EMPTY - - True if the content is declared as EMPTY - - - - Read an integer literal - - The read integer - - - - Read an optional double literal - - The value that was read. - true if a value was read, otherwise returns false - - - - Read an optional token. If the read token matches the expected optional token, then consume it. - - The expected token type - The expected token text, or null - True if the optional token matches the next token in stream - - - - Read and consume a token from the lexer, throw if the read token does not match the expected token - - The expected token type - The expected token text - - - - WellKnownText Writer - - - - - restricts the writer to allow only two dimensions. - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - Detects if a CoordinateSystem (SRID) has been written already. - - - - - Figure has been written to the current spatial type - - - - - A shape has been written in the current nesting level - - - - - Wells the known text SQL format. -- 2D writer - - The writer. - - - - Initializes a new instance of the class. - - The writer. - if set to true allows only two dimensions. - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Write the coordinate system - - The CoordinateSystem - - - - Setup the pipeline for reuse - - - - - Start to write a new Geography/Geometry - - The SpatialType to write - - - - Adds the control point. - - The x. - The y. - The z. - The m. - - - - Ends the figure. - - - - - write tagged text for type - - the spatial type - - - - Start to write a figure - - The coordinate1. - The coordinate2. - The coordinate3. - The coordinate4. - - - - End the current Geography/Geometry - - - - - Write out a point - - The x coordinate - The y coordinate - The z coordinate - The m coordinate - - - - Defines the members that may be found in a GeoJSON object. - - - - - "type" member in a GeoJSON object. - - - - - "coordinates" member in GeoJSON object. - - - - - "geometries" member in GeoJSON object. - - - - - "crs" member in GeoJSON object. - - - - - 'properties' member in GeoJSON object - - - - - 'name' member in GeoJSON object - - - - - Constants for the GeoJSON format - See http://geojson.org/geojson-spec.html for full details on GeoJson format. - - - - - Name of the type member that identifies the spatial type. - - - - - Value of the type member for Point values. - - - - - Value of the type member for LineString values. - - - - - Value of the type member for Polygon values. - - - - - Value of the type member for MultiPoint values. - - - - - Value of the type member for MultiLineString values. - - - - - Value of the type member for MultiPolygon values. - - - - - Value of the type member for GeometryCollection values. - - - - - Name of the coordinates member that contains the spatial data. - - - - - Name of the geometries member that contains the spatial data. - - - - - Name of the crs member that contains the coordinate reference system details. - - - - - Value of the type member inside of the crs object. - - - - - Name of the name member inside of the properties member in the crs object. - - - - - Name of the properties member inside of the crs object. - - - - - Prefix to use when specifying the coordinate reference system inside the crs object. - - - - - This is a forwarding transform pipe segment - - - - - The singleton NoOp implementation of the DrawGeography - - - - - The current drawspatial that will be called and whose results will be forwarded to the - next segment - - - - - The SpatialPipeline to forward the calls to - - - - - the cached GeographyForwarder for this instance - - - - - the cached GeometryForwarder for this instance - - - - - Constructs a new SpatialPipeline segment - - The DrawSpatial to draw to before calling next. - - - - Initializes a new instance of the class. - - The current geography. - The current geometry. - - - - Add the next pipeline - - the next pipleine - The last pipesegment in the chain, usually the one just created - - - - Run one action on a pipeline - - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - - - - Run one action on a pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - The argument to pass to both this node and the rest of the pipeline - - - - Gets the geography. - - - - - Gets the geometry. - - - - - The next geography sink in the pipeline - - - - - The next geometry sink in the pipeline - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geography data - - the sort of Geography data being processed - - - - finish processing Geography data - - - - - Begin drawing a Geography figure - - Next position - - - - Finish drawing a Geography figure - - - - - Continue drawing a Geography figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeography from the associated ForwardingSegment instance - - - - - Gets the next GeographyPipeline from the associated ForwardingSegment instance - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geometry data - - the sort of Geometry data being processed - - - - finish processing Geometry data - - - - - Begin drawing a Geometry figure - - Next position - - - - Finish drawing a Geometry figure - - - - - Continue drawing a Geometry figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeometry from the associated ForwardingSegment instance - - - - - Gets the next GeometryPipeline from the associated ForwardingSegment instance - - - - - A noop implementation of DrawGeography - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - a noop implementation of DrawGeometry - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Util class - - - - OutOfMemoryException exception type - - - NullReferenceException exception type - - - SecurityException exception type - - - - Check if input is null, throw an ArgumentNullException if it is. - - The input argument - The error to throw - - - - Determines if the exception is one of the prohibited types that should not be caught. - - The exception to be checked against the prohibited list. - True if the exception is ok to be caught, false otherwise. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Class that contains all the constants for various schemas. - - - - - Namespace for xmlns - - - - - Sets public key string for friend assemblies. - - - - ProductPublicKey is an official MS supported public key for external releases. - - - TestPublicKey is an unsupported strong key for testing and internal use only - - - Dont know what this is - - - Used for comparison with external assemblies for silverlight like Microsoft.VisualBasic. - - - Used for comparison with external assemblies for desktop like Microsoft.VisualBasic. - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The queue doesn't contain an item with the priority {0}." - - - - - A string like "The value '{0}' is not valid for the coordinate '{1}'." - - - - - A string like "Incorrect GML Format: The XmlReader instance encountered an unexpected element "{0}"." - - - - - A string like "Incorrect GML Format: unknown spatial type tag "{0}"." - - - - - A string like "Incorrect GML Format: a srsName attribute must begin with the namespace "{0}"." - - - - - A string like "The attribute '{0}' on element '{1}' is not supported." - - - - - A string like "Expecting token type "{0}" with text "{1}" but found "{2}"." - - - - - A string like "Unexpected character '{0}' found in text." - - - - - A string like "Unknown Tagged Text "{0}"." - - - - - A string like "Invalid spatial data: Invalid spatial type "{0}"." - - - - - A string like "Invalid spatial data: only {0} levels of nesting are supported in collection types." - - - - - A string like "Invalid spatial data: the coordinates ({0} {1} {2} {3}) are not valid." - - - - - A string like "Invalid spatial data: expected call to "{0}" but got call to "{1}"." - - - - - A string like "Invalid spatial data: expected call to "{0}" or "{1}" but got call to "{2}"." - - - - - A string like "Invalid latitude coordinate {0}. A latitude coordinate must be a value between -90.0 and +90.0 degrees." - - - - - A string like "Invalid longitude coordinate {0}. A longitude coordinate must be a value between -15069.0 and +15069.0 degrees" - - - - - A string like "Invalid GeoJSON. The '{0}' member is required, but was not found." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a valid value for the 'type' member." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS type." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS name." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a JSON object." - - - - - A string like "The operation is not valid on an empty queue." - - - - - A string like "An item with the same priority already exists." - - - - - A string like "No operations are registered. Please provide operations using SpatialImplementation.CurrentImplementation.Operations property." - - - - - A string like "Access to the coordinate properties of an empty point is not supported." - - - - - A string like "The builder cannot create an instance until all pipeline calls are completed." - - - - - A string like "Incorrect GML Format: the XmlReader instance is expected to be at the start of a GML element." - - - - - A string like "Incorrect GML Format: a LinearRing element must not be empty." - - - - - A string like "Incorrect GML Format: a pos element must contain at least two coordinates." - - - - - A string like "Incorrect GML Format: a posList element must contain an even number of coordinates." - - - - - A string like "The WellKnownTextReader is configured to allow only two dimensions, and a third dimension was encountered." - - - - - A string like "Invalid spatial data: An instance of spatial type can have only one unique CoordinateSystem for all of its coordinates." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot be part of a collection type." - - - - - A string like "Invalid spatial data: the spatial type "LineString" must contain at least two points." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot contain figures." - - - - - A string like "Invalid spatial data: A polygon ring must contain at least four points, and the last point must be equal to the first point." - - - - - A string like "A geography operation was called while processing a geometric shape." - - - - - A string like "A geometry operation was called while processing a geographic shape." - - - - - A string like "Invalid GeoJSON. A position must contain at least two and no more than four elements." - - - - - A string like "Invalid GeoJSON. A null value was found in an array element where nulls are not allowed." - - - - - A string like "Invalid GeoJSON. A non-numeric value was found in an array element where a numeric value was expected." - - - - - A string like "Invalid GeoJSON. A primitive value was found in an array element where an array was expected." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/de/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/de/System.Spatial.resources.dll deleted file mode 100644 index 7b351f7bc..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/de/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/es/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/es/System.Spatial.resources.dll deleted file mode 100644 index b3209e123..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/es/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/System.Spatial.resources.dll deleted file mode 100644 index b348ebcbd..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/fr/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/it/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/it/System.Spatial.resources.dll deleted file mode 100644 index bfee0bfa9..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/it/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/System.Spatial.resources.dll deleted file mode 100644 index 3fa0625d7..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ja/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/System.Spatial.resources.dll deleted file mode 100644 index a00503981..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ko/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/System.Spatial.resources.dll deleted file mode 100644 index ed908dfda..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/ru/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/System.Spatial.resources.dll deleted file mode 100644 index 23cbd9ca4..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hans/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/System.Spatial.resources.dll deleted file mode 100644 index 9e51a7b07..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/portable-net45+wp8+win8+wpa/zh-Hant/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/System.Spatial.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/System.Spatial.dll deleted file mode 100644 index de284dae8..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/System.Spatial.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/System.Spatial.xml b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/System.Spatial.xml deleted file mode 100644 index 3acfe9460..000000000 --- a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/System.Spatial.xml +++ /dev/null @@ -1,6941 +0,0 @@ - - - - System.Spatial - - - - - Helper methods that provide a common API surface on all platforms. - - - - - Use this instead of Type.EmptyTypes. - - - - - Use this instead of Uri.UriSchemeHttp. - - - - - Use this instead of Uri.UriSchemeHttps. - - - - - Replacement for Type.Assembly. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsValueType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericParameter. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsAbstract. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsGenericTypeDefinition. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsVisible. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsInterface. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsClass. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.IsEnum. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.BaseType. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Type.ContainsGenericParameters. - - Type on which to call this helper method. - See documentation for property being accessed in the body of the method. - - - - Replacement for Array.AsReadOnly(T[]). - - Type of items in the array. - Array to use to create the ReadOnlyCollection. - ReadOnlyCollection containing the specified array items. - - - - Converts a string to a DateTime. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Converts a string to a DateTimeOffset. - - String to be converted. - See documentation for method being accessed in the body of the method. - - - - Adds the seconds padding as zeros to the date time string if seconds part is missing. - - String that needs seconds padding - DateTime string after adding seconds padding - - - - Converts the DateTime to a string, internal method. - - DateTime to convert to String. - Converted String. - - - - Converts a DateTime to a string. - - DateTime to be converted. - See documentation for property being accessed in the body of the method. - - - - Gets the specified type. - - Name of the type to get. - Throws if the type could not be found. - Type instance that represents the specified type name. - - - - Gets the TypeCode for the specified type. - - Type on which to call this helper method. - TypeCode representing the specified type. - - - - Gets the Unicode Category of the specified character. - - Character to get category of. - Category of the character. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a property, otherwise false. - - - - Replacement for usage of Type.IsPrimitive property. - - Type on which to access this method. - True if the specified type is primitive, otherwise false. - - - - Replacement for usage of Type.IsSealed property. - - Type on which to access this method. - True if the specified type is sealed, otherwise false. - - - - Replacement for usage of MemberInfo.MemberType property. - - MemberInfo on which to access this method. - True if the specified member is a method, otherwise false. - - - - Compares two methodInfos and returns true if they represent the same method. - Need this for Windows Phone as the method Infos of the same method are not always instance equivalent. - - MemberInfo to compare. - MemberInfo to compare. - True if the specified member is a method, otherwise false. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - Enumerable of public properties for the type. - - - - Gets public properties for the specified type. - - Type on which to call this helper method. - True if method should return only instance properties, false if it should return both instance and static properties. - True if method should return only properties that are declared on the type, false if it should return properties declared on the type as well as those inherited from any base types. - Enumerable of public properties for the type. - - - - Gets instance constructors for the specified type. - - Type on which to call this helper method. - True if method should return only public constructors, false if it should return only non-public constructors. - Enumerable of instance constructors for the specified type. - - - - Gets a instance constructor for the type that takes the specified argument types. - - Type on which to call this helper method. - True if method should search only public constructors, false if it should search only non-public constructors. - Array of argument types for the constructor. - ConstructorInfo for the constructor with the specified characteristics if found, otherwise null. - - - - Tries to the get method from the type, returns null if not found. - - The type. - The name. - The parameter types. - Returns True if found. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets a method on the specified type. - - Type on which to call this helper method. - Name of the method on the type. - Argument types for the method. - True if method should search only public methods, false if it should search only non-public methods. - True if method should search only static methods, false if it should search only instance methods. - MethodInfo for the method with the specified characteristics if found, otherwise null. - - - - Gets all public static methods for a type. - - Type on which to call this helper method. - Enumerable of all public static methods for the specified type. - - - - Replacement for Type.GetNestedTypes(BindingFlags.NonPublic) - - Type on which to call this helper method. - All types nested in the current type - - - - Creates a Compiled Regex expression - - Pattern to match. - Options to use. - Regex expression to match supplied patter - Is marked as compiled option only in platforms otherwise RegexOption.None is used - - - - Formatter for Json Object - - - - Represents a formatter for Json object. - - - Creates the implementation of the formatter. - The created implementation. - - - Reads from the source. - The object that was read. - The source json object. - The spatial type to read. - - - Converts spatial value to a Json object. - The json object. - The spatial value. - - - - The implementation that created this instance. - - - - - Spatial builder - - - - - The parse pipeline - - - - - Constructor - - The SpatialImplementation that created this instance - - - - Read from the source - - The spatial type to read - The source json object - The read instance - - - - Convert spatial value to a Json Object - - The spatial value - The json object - - - - Initialize the pipeline - - - - - Convert Spatial objects into json writer - - - - - Base Writer for GeoJson - - - - - Base class to create a unified set of handlers for Geometry and Geography - - - - - Performs an implicit conversion from to . - - The instance to convert. - - The result of the conversion. - - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - the coordinate system to be passed down the pipeline - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - This class is responsible for taking the calls to DrawGeography and delegating them to the unified - handlers - - - - Represents the pipeline of geography. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - This class is responsible for taking the calls to DrawGeometry and delegating them to the unified - handlers - - - - Represents the pipeline of geometry. - - - Begins drawing a spatial object. - The spatial type of the object. - - - Begins drawing a figure. - The position of the figure. - - - Draws a point in the specified coordinate. - The position of the line. - - - Ends the current figure. - - - Ends the current spatial object. - - - Sets the coordinate system. - The coordinate system to set. - - - Resets the pipeline. - - - - the DrawBoth instance that should be delegated to - - - - - Initializes a new instance of the class. - - The both. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Stack to track the current type being written. - - - - - CoordinateSystem for the types being written. - - - - - Figure added in current shape - - - - - Creates a new instance of the GeoJsonWriter. - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - End the current json object scope - - - - - End the current json array scope - - - - - Setup the pipeline for reuse - - - - - Gets the GeoJson type name to use when writing the specified type. - - SpatialType being written. - GeoJson type name corresponding to the specified . - - - - Gets the name of the GeoJson member to use when writing the body of the spatial object. - - SpatialType being written. - Name of the GeoJson member to use when writing the body of the spatial object. - - - - Whether or not the specified type wraps its data in an outer array. - - SpatialType being written. - True if the type uses an outer array, otherwise false. - - - - Sets the CoordinateSystem for Geography and Geometry shapes. - - CoordinateSystem value to set. - - - - Start writing a Geography or Geometry shape. - - SpatialType to use when writing the shape. - Default CoordinateSystem to use if SetCoordinateSystem is never called on this shape. - - - - Write the type header information for a shape. - - SpatialType being written. - - - - Start writing a figure in a Geography or Geometry shape. - - - - - Write a position in a Geography or Geometry figure. - - First (X/Longitude) Coordinate - Second (Y/Latitude) Coordinate - Z Coordinate - M Coordinate - - - - Ends a Geography or Geometry figure. - - - - - Ends a Geography or Geometry shape. - - - - - Writes the coordinate reference system footer for the GeoJson object. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - True if the shape is not a child of another shape. - - - - - True if the shape should write start and end object scope, otherwise false. - - - - - Stack of json objects - - - - - Buffered key of the current name-value pair - - - - - Stores the last object fully serialized - - - - - Start a new json object scope - - - - - Start a new json array scope - - - - - Add a property name to the current json object - - The name to add - - - - Add a value to the current json scope - - The value to add - - - - Add a value to the current json scope - - The value to add - - - - End the current json array scope - - - - - End the current json object scope - - - - - Add an json object to the current scope - - The json object - - - - Return the current property name, and clear the buffer - - The current property name - - When inserting to a dictionary, the name-value pair comes across multiple pipeline calls - Therefore we need to buffer the name part and wait for the value part. - You can get into an incorrect state (caught by asserts) if you add a property name without - using it immediately next. - - - - - Access the current container as a List - - The current container as list - - - - Access the current container as a Dictionary - - The current container as dictionary - - - - Get the top level json object - - - - - Test if the current container is an array - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Latitude. - - - - - Internal pipeline Inteface that washes the distinction between Geography and Geometry - - - - - Set the coordinate system based on the given EPSG ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Add a control point to the current figure - - First coordinate - Second coordinate - Third coordinate - Fourth coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Adapter from the type washed API to Geography, where it assumes that coord1 is Longitude. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - The spatial reader that can read from a pre parsed GeoJson payload - - - - - Reader to be used by spatial formats - - The type of source that the reader operates on. - - - - Creates a reader - - the instance of the pipeline that the reader will message while it is reading. - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Sets the reader and underlying Destination back to a clean - starting state after an exception - - - - - Parses some serialized format that represents one or more Geometry spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - Parses some serialized format that represents one or more Geography spatial values, passing the first one down the pipeline. - - Throws if the input is not valid. In that case, guarantees that it will not pass anything down the pipeline, or will clear the pipeline by passing down a Reset. - The input string - - - - The pipeline that is messaged while the reader is reading. - - - - - Initializes a new instance of the class. - - The pipeline. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The jsonObject to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The jsonObject to read from. - - - - A common way to call Geography and Geometry pipeline apis from the structured Json - - - - - Pipeline to use for the output of the translation of the GeoJSON object into pipeline method calls. - - - - - Initializes a new instance of the class. - - Spatial pipeline that will receive the pipeline method calls. - - - - Translates a dictionary of parsed GeoJSON members and values into method calls on the spatial pipeline. - - Dictionary containing GeoJSON members and values. - Coordinate System must be set for this pipeline - - - - Iterates over an object array, verifies that each element in the array is another array, and calls a delgate on the contained array. - - Array to iterate over. - Delegate to invoke for each element once it has been validated to be an array. - - - - Convert an object to a nullable double value. - - Object to convert. - If the specified element was null, returns null, otherwise returns the converted double value. - - - - Convert an object to a non-null double value. - - Object to convert. - Converted double value. - - - - Values as json array. - - The value. - The value cast as a json array. - - - - Values as json object. - - The value. - The value cast as IDictionary<string, object> - - - - Values as string. - - Name of the property. - The value. - The value cast as a string. - - - - Get the type member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - SpatialType for the GeoJSON object. - - - - Tries to get a coordinate system id from the geo json object's 'crs' property - - The geo json object. - The coordinate system id. - True if the object had a coordinate system - - - - Gets the coordinate system ID from a representation of the CRS object - - The parsed representation of the CRS object. - The coordinate system ID - - - - Get the designated member value from the specified GeoJSON member dictionary. - - Dictionary containing the GeoJSON members and their values. - The member's tag name - Member value for the GeoJSON object. - - - - This method assumes a non forward only enumerable - - The enumerable to check - true if there is at least one element - - - - Reads GeoJson 'type' value and maps it a valid SpatialType. - - The GeoJson standard type name - SpatialType corresponding to the GeoJson type name. - - - - Sends a shape to the spatial pipeline. - - SpatialType of the shape. - Content member for the shape - - - - Translates the coordinates member value into method calls on the spatial pipeline. - - SpatialType of the GeoJSON object. - Coordinates value of the GeoJSON object, or inner geometries for collection - - - - Translates the coordinates member value of a Point object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a LineString object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a Polygon object into method calls on the spatial pipeline. - - Parsed coordinates array. - - - - Translates the coordinates member value of a MultiPoint, MultiLineString, or MultiPolygon object into method calls on the spatial pipeline. - - Type of the shape contained in the Multi shape. - Parsed coordinates array. - - - - Translates an array of positions into method calls on the spatial pipeline. - - List containing the positions. - - - - Translates an individual position into a method call on the spatial pipeline. - - List containing elements of the position. - True if the position is the first one being written to a figure, otherwise false. - - - - A key consisting of multiple fields - - The type of the first field. - The type of the second field. - - - - The first field - - - - - The second field - - - - - Initializes a new instance of the class. - - The first. - The second. - - - - Implements the operator ==. - - The left. - The right. - - The result of the operator. - - - - - Implements the operator !=. - - The left. - The right. - - The result of the operator. - - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - - true if the current object is equal to the parameter; otherwise, false. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - true if the specified is equal to this instance; otherwise, false. - - The parameter is null. - - - - 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 the extensions to formatters. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Writes the specified formatter. - A string value of the formatted object. - The formatter. - The spatial object. - - - Represents the full globe of geography. - - - Represents the geography surface. - - - Represents a base class of geography shapes. - - - Represents the spatial interface. - - - Gets the coordinate system. - The coordinate system. - - - Gets a value that indicates whether the spatial type is empty. - true if the spatial type is empty; otherwise, false. - - - - The implementation that created this instance - - - - - The CoordinateSystem of this geography - - - - Initializes a new instance of the class. - The coordinate system of this geography. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Computes the hashcode for the given CoordinateSystem and the fields - - Spatial type instances or doubles for base types (Geography/Geometry types). - CoordinateSystem instance. - Spatial type instances or doubles for base types (Geography/Geometry types). - hashcode for the CoordinateSystem instance and Spatial type instances. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the coordinate system of the geography. - The coordinate system of the geography. - - - Gets a value that indicates whether the geography is empty. - true if the geography is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Represents the curve of geography. - - - Initializes a new instance of the class. - The coordinate system of this geography curve. - The implementation that created this instance. - - - Represents a geography line string consist of an array of geo points. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the multi-curve of geography. - - - Represents the collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this geography collection. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the collection of geographies. - The collection of geographies. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the multi-line string of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the line strings. - A collection of line strings. - - - Represents the multi-point of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the multi-polygon of geography. - - - Represents the multi-surface of geography. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents a geography point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Creates a geography point using the specified latitude and longitude. - The geography point that was created. - The latitude. - The longitude. - - - Creates a geography point using the specified latitude, longitude and dimension. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - - - Creates a geography point using the specified latitude, longitude and dimensions. - The geography point that was created. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Creates a geography point using the specified coordinate system, latitude, longitude and dimensions. - The geography point that was created. - The coordinate system to use. - The latitude. - The longitude. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the latitude. - The latitude. - - - Gets the longitude. - The longitude. - - - Gets the nullable Z. - The nullable Z. - Z is the altitude portion of position. - - - Gets the nullable M. - The nullable M. - M is the arbitrary measure associated with a position. - - - Represents the geography polygon. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of rings. - A collection of rings. - - - Represents the geometry collection. - - - Represents the base class of geography shapes. - - - - The implementation that created this instance. - - - - - The CoordinateSystem of this geometry - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Sends the current spatial object to the given pipeline. - The spatial pipeline. - - - - Check for basic equality due to emptyness, nullness, referential equality and difference in coordinate system - - The other geography - Boolean value indicating equality, or null to indicate inconclusion - - - Gets the SRID of this instance of geometry. - The SRID of this instance of geometry. - - - Gets a value that indicates whether geometry is empty. - true if the geometry is empty; otherwise, false. - - - - Gets the implementation that created this instance. - - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the geometry instances in this collection. - A collection of geometries. - - - Represents the geometry curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets the point list. - The point list. - - - Represents the geometry multi-curve. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Represents the geometry multi-line string. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of line strings. - A collection of line strings. - - - Represents the geometry multi-point. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of points. - A collection of points. - - - Represents the geometry multi-polygon. - - - Represents the geometry multi-surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The coordinate system of this instance. - The implementation that created this instance. - - - Determines whether this instance and another specified geometry instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geometry to compare to this instance. - - - Determines whether this instance and the specified object have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The object to compare to this instance. - - - Gets the hash code. - The hash code. - - - Gets a collection of polygons. - A collection of polygons. - - - Represents the Geometry Point. - - - Initializes a new instance of the class. Empty Point constructor. - The CoordinateSystem. - The implementation that created this instance. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Creates the specified latitude. - The GeographyPoint that was created. - The coordinate system to use. - The x dimension. - The y dimension. - The z dimension. - The m dimension. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Gets the Hashcode. - The hashcode. - - - Gets the Latitude. - The Latitude. - - - Gets the Longitude. - The Longitude. - - - Gets the Nullable Z. - The Nullable Z. - Z is the altitude portion of position. - - - Gets the Nullable M. - The Nullable M. - M is the arbitrary measure associated with a position. - - - Represents the Geometry polygon. - - - Represents a geometry surface. - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - Initializes a new instance of the class. - The CoordinateSystem. - The implementation that created this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Determines whether this instance and another specified geography instance have the same value. - true if the value of the value parameter is the same as this instance; otherwise, false. - The geography to compare to this instance. - - - Indicates the Get Hashcode. - The hashcode. - - - Gets the set of rings. - - - Provides access to the geography objects that this object constructs. - - - Fires when the provider constructs a geography object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Provides access to the geometry objects that this object constructs. - - - Fires when the provider constructs a geometry object. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Provides access to the constructed geography or geometry. - - - The exception that is thrown on an unsuccessful parsing of the serialized format. - - - Creates a new instance of the class. - - - Creates a new instance of the class from a message and previous exception. - The message about the exception. - The exception that preceeded this one. - - - Creates a new instance of the class from a message. - The message about the exception. - - - Creates a geometry or geography instances from spatial data pipelines. - - - - One link of a geospatial pipeline - - - - - the geography side of the pipeline - - - - - the geometry side of the pipeline - - - - - A reference to the begining link of the chain - useful for getting the startingLink when creating the chain fluently - e.g. new ForwardingSegment(new Node()).ChainTo(new Node()).ChainTo(new Node).StartingLink - - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - The geography chain. - The geometry chain. - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - - Performs an implicit conversion from to . - - The spatial chain. - - The result of the conversion. - - - - Adds the next pipeline. - The last pipesegment in the chain, usually the one just created. - The next pipeline. - - - Gets the geography side of the pipeline. - - - Gets the geometry side of the pipeline. - - - Gets or sets the starting link. - The starting link. - - - - The builder to be delegated to when this class is accessed from the IGeographyPipeline or IGeographyProvider interfaces. - - - - - The builder to be delegated to when this class is accessed from the IGeometryPipeline or IGeometryProvider interfaces. - - - - Initializes a new instance of the class. - The geography input. - The geometry input. - The geography output. - The geometry output. - - - Creates an implementation of the builder. - The created SpatialBuilder implementation. - - - Fires when the provider constructs geography object. - - - Fires when the provider constructs geometry object. - - - Gets the geography object that was constructed most recently. - The geography object that was constructed. - - - Gets the geometry object that was constructed most recently. - The geometry object that was constructed. - - - Represents the base class for all Spatial Formats. - The type of reader to be read from. - The type of reader to be read from. - - - - The implementation that created this instance. - - - - Initializes a new instance of the <see cref="T:System.Spatial.SpatialFormatter`2" /> class. - The implementation that created this instance. - - - Parses the input, and produces the object. - The input. - The input to be parsed. - The type of object to produce. - - - Parses the input, and produces the object. - The input to be parsed. - The pipeline to call during reading. - The type of object to produce. - - - Creates a valid format from the spatial object. - The object that the format is being created for. - The stream to write the formatted object to. - - - Creates the writerStream. - The writerStream that was created. - The stream that should be written to. - - - Reads the Geography from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Reads the Geometry from the readerStream and call the appropriate pipeline methods. - The stream to read from. - The pipeline to call based on what is read. - - - Creates the builder that will be called by the parser to build the new type. - The builder that was created. - - - Defines a list of allowed OpenGisTypes types. - - - - Unknown - - - - - Point - - - - - Line String - - - - - Polygon - - - - - Multi-Point - - - - - Multi-Line-String - - - - - Multi-Polygon - - - - - Collection - - - - - Full Globe - - - - Provides a place to add extension methods that work with ISpatial. - - - Allows the delegation of the call to the proper type (geography or Geometry). - The instance that will have SendTo called. - The pipeline that the instance will be sent to. - - - - Coordinate System Reference - - - - - Default Geometry Reference - - - - - Default Geography Reference (SRID 4326, WGS84) - - - - - List of registered references - - - - - A lock object for the References static dict - - - - - The shape of the space that this coordinate system measures. - - - - Initializes a static instance of the class. - - - Initializes a new instance of the class. - The coordinate system ID, according to the EPSG - The Name of the system - The topology of this coordinate system - - - Gets or creates a Geography coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Gets or creates a Geometry coordinate system with the ID, or the default if null is given. - The coordinate system. - The coordinate system id, according to the EPSG. Null indicates the default should be returned. - - - Displays the coordinate system for debugging. - The coordinate system, for debugging. - - - Displays a string that can be used with extended WKT. - String representation in the form of SRID=#; - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - Indicates the Equals overload. - True if equal. - The other CoordinateSystem. - - - 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. - - - - For tests only. Identifies whether the coordinate system is of the designated topology. - - The expected topology. - True if this coordinate system is of the expected topology. - - - - Get or create a CoordinateSystem with ID - - The SRID - The topology. - - A CoordinateSystem object - - - - - Remember this coordinate system in the references dictionary. - - The coords. - - - - Gets the key for a coordinate system - - ID - topology - The key to use with the references dict. - - - Gets the coordinate system ID according to the EPSG, or NULL if this is not an EPSG coordinate system. - The coordinate system ID according to the EPSG. - - - Gets the coordinate system Id, no matter what scheme is used. - The coordinate system Id. - - - Gets the Name of the Reference. - The Name of the Reference. - - - - The shapes of the spaces measured by coordinate systems. - - - - - Ellipsoidal coordinates - - - - - Planar coordinates - - - - - This class is responsible for executing an action the first time dispose is called on it. - - - - The action to be executed on dispose - - - - Constructs an instance of the ActonOnDispose object - - the action to be execute on dispose - - - - The dipose method of the IDisposable insterface - - - - - The object to move spatial types to and from the GML format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - The created GmlFormatter implementation. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - Initializes a new instance of the class. - The implementation that created this instance. - - - Creates the implementation of the formatter. - Returns the created WellKnownTextSqlFormatter implementation. - - - Creates the implementation of the formatter and checks whether the specified formatter has Z. - The created WellKnownTextSqlFormatter. - Restricts the formatter to allow only two dimensions. - - - - Represents one position in the Geographyal coordinate system - - - - lattitude portion of position - - - longitude portion of position - - - arbitrary measure associated with a position - - - altitude portion of position - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - The altitude portion of a position. - The arbitrary measure associated with a position. - - - Creates a new instance of the class from components. - The latitude portion of a position. - The longitude portion of a position. - - - Performs equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs equality comparison on a spatial geographic position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the latitude portion of a position. - The latitude portion of a position. - - - Gets the longitude portion of a position. - The longitude portion of a position. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the altitude portion of a position. - The altitude portion of a position. - - - - Represents one position in the Geometry coordinate system - - - - arbitrary measure associated with a position - - - x portion of position - - - y portion of position - - - altitude portion of position - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - The altitude portion of position. - The arbitrary measure associated with a position. - - - Creates a new instance of the from components. - The X portion of position. - The Y portion of position. - - - Performs the equality comparison. - true if each pair of coordinates is equal; otherwise, false. - The first position. - The second position. - - - Performs the inequality comparison. - true if left is not equal to right; otherwise, false. - The first position. - The other position. - - - Performs the equality comparison on an object. - true if each pair of coordinates is equal; otherwise, false. - The object for comparison. - - - Performs the equality comparison on a spatial geometry position. - true if each pair of coordinates is equal; otherwise, false. - The other position. - - - Computes a hash code. - A hash code. - - - Formats this instance to a readable string. - The string representation of this instance. - - - Gets the arbitrary measure associated with a position. - The arbitrary measure associated with a position. - - - Gets the X portion of position. - The X portion of position. - - - Gets the Y portion of position. - The Y portion of position. - - - Gets the altitude portion of position. - The altitude portion of position. - - - - Base class for Spatial Type Validator implementations - - - - Creates the currently registered SpatialValidator implementation. - The created SpatialValidator. - - - - Extension methods for the Geography operations - - - - Determines the distance of the geography. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geography LineString. - The operation result. - The LineString operand. - - - Determines if geography point and polygon will intersect. - The operation result. - The first operand. - The second operand. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Extension methods for the Geography operations - - - - Determines the distance of the geometry. - The operation result. - The first operand. - The second operand. - - - Determines the Length of the geometry LineString. - The operation result. - The LineString operand. - - - Determines if geometry point and polygon will intersect. - The operation result. - The first operand, point. - The second operand, polygon. - - - - Finds the ops instance registered for the operands. - - The operands. - The ops value, or null if any operand is null - - - - Queue where things are seen in highest priority (highest compare) order - - The type of the values stored in priority order - - - - The list of queued items. - This is non-generic to avoid issues with the NetCF's reflection stack. - - - - - Initializes a new instance of the PriorityQueue class - DEVNOTE: this is only here for the FxCop suppression. - - - - - Returns the top queue value without removing it. - - The top value of the queue - - - - Adds a new value to the queue by priority. - - The priority of the new item to add. - The new item being added. - - - - Returns a value indicating whether there is already an item with the given priority in the queue - - The priority to check - Whether or not an item with the given priority is in the queue - - - - Removes the item with the priority specified from the queue - - The priority of the item to be removed from the queue - The value of the removed item. - - - - Gets the number of items in the queue - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - a particular implemenation of Spatial types - - - - Default Spatial Implementation. - - - Creates a SpatialBuilder for this implementation. - The SpatialBuilder created. - - - Creates a Formatter for Json Object. - The JsonObjectFormatter created. - - - Creates a GmlFormatter for this implementation. - The GmlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - - - Creates a WellKnownTextSqlFormatter for this implementation. - The WellKnownTextSqlFormatter created. - Controls the writing and reading of the Z and M dimension. - - - Creates a spatial Validator. - The SpatialValidator created. - - - - This method throws if the operations instance is null. It returns a non-null operations implementation. - - a SpatialOperations implementation. - - - Returns an instance of SpatialImplementation that is currently being used. - - - Gets or sets the Spatial operations implementation. - - - - Class responsible for knowing how to perform operations for a particular implemenation of Spatial types - - - - Indicates the Geometry Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates a Geography Distance. - The operation result. - The Operand 1. - The Operand 2. - - - Indicates the Geometry LineString's length. - The operation result. - The Operand. - - - Indicates a Geography LineString's length. - The operation result. - The Operand. - - - Indicates the Geometry Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - Indicates a Geography Intersects() method. - The operation result. - The Operand 1, point. - The Operand 2, polygon. - - - - This class holds extension methods for objects that have new capabilities - in newer versions of .net, and this lets us make the calls look the same and reduces the #if noise - - - - - StringBuilder didn't have a clear method in Orcas, so we added and extension method to give it one. - - The StringBuilder instance to clear. - - - - The object to move spatial types to and from the WellKnownTextSql format - - - - - restricts the writer and reader to allow only two dimensions. - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Initializes a new instance of the class. - - The implementation that created this instance. - restricts the reader to allow only two dimensions. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - Gml Writer - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - If an SRID has been written already. - - - - - The Coordinate System to write - - - - - Figure has been written to the current spatial type - - - - - Whether there are shapes written in the current container - - - - - Constructor - - The Xml Writer to output to - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Begin drawing a spatial object - - The spatial type of the object - The type to be passed down the pipeline - - - - Draw a point in the specified coordinate - - Next position - The position to be passed down the pipeline - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - The coordinateSystem to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Setup the pipeline for reuse - - - - - Begin a figure - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Write the element with namespaces - - The element name - - - - Write coordinate system - - - - - Write a Point - - The first coordinate - The second coordinate - The optional third coordinate - The optional fourth coordinate - - - - End Geography/Geometry - - - - - The object to move spatial types to and from the GML format - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Create the writer - - The object that should be the target of the ISpatialPipeline writer. - A writer that implements ISpatialPipeline. - - - - Reads the geography. - - The reader stream. - The pipeline. - - - - Reads the geometry. - - The reader stream. - The pipeline. - - - - WellKnownText Lexer - - - - - Lexer base - - - - - Input text - - - - - Current lexer output - - - - - Peek lexer output, if this is not null then we have advanced already - - - - - Constructor - - The input text - - - - Peek one token ahead of the current position - - The peeked token - True if there is one more token after the current position, otherwise false - - - - Move to the next token - - True if lexer has moved, otherwise false - - - - Examine the current character and determine its token type - - The char that will be read next - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - Current token - - - - - Constructor - - Input text - - - - Examine the current character and determine its token type - - The next char that will be read. - The currently active token type - The matched token type - Whether the current character is a delimiter, thereby terminate the current token immediately - - - - WellKnownText Lexer Token Type - - - - - A-Z only support upper case text. i.e., POINT() instead of Point() or point() - - - - - character '=' - - - - - characters '0' to '9' - - - - - character ';' - - - - - character '(' - - - - - character ')' - - - - - character '.' - - - - - character ',' - - - - - character ' ', '\t' - - - - - Class responsible for knowing how to create the Geography and Geometry builders for - the data services implemenation of Spatial types - - - - - Creates a SpatialBuilder for this implemenation - - - The SpatialBuilder created. - - - - - Creates a GmlFormatter for this implementation - - The GmlFormatter created. - - - - Creates a GeoJsonObjectFormatter for this implementation - - The GeoJsonObjectFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - The WellKnownTextSqlFormatter created. - - - - Creates a WellKnownTextSqlFormatter for this implementation - - Controls the writing and reading of the Z and M dimension - - The WellKnownTextSqlFormatter created. - - - - - Creates a SpatialValidator for this implementation - - The SpatialValidator created. - - - - Property used to register Spatial operations implementation. - - - - - Builder for Geography types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geography object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - Tree based builder for spatial types - - Geography or Geometry - - - - The figure this builder is currently building - - - - - Current builder tree root - - - - - lastConstructed - - - - - Draw a point in the specified coordinate - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin drawing a figure - - X or Latitude Coordinate - Y or Longitude Coordinate - Z Coordinate - M Coordinate - - - - Begin a new spatial type - - The spatial type - - - - Ends the figure set on the current node - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Notifies if we just finished building something. - - - - - Traverses up the tree. - - - - - Fires when the builder creates a top-level spatial object. - - - - - Get the constructed spatial instance - - The constructed spatial instance - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - A spatial instance node in the builder tree - - - - - Constructor - - - - - Create a child node - - The node type - The child node - - - - Children nodes - - - - - Instance - - - - - Parent node - - - - - Spatial Type - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - Builder for Geometry types - - - - - The tree builder - - - - - Constructor - - The implementation that created this instance. - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Fires when the provider constructs a geometry object. - - - - - Constructed Geography - - - - - Geography Tree Builder - - - - - The implementation that created this instance. - - - - - CoordinateSystem for the building geography - - - - - Initializes a new instance of the class. - - The implementation that created this instance. - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Create a new instance of Point - - Whether the point is empty - X - Y - Z - M - A new instance of point - - - - Create a new instance of T - - The spatial type to create - The arguments - A new instance of T - - - - A Geography linestring consist of an array of GeoPoints - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geography Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geographies - - - - - Line Strings - - - - - Geography Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geography - - - - - Points - - - - - Geography Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geographies - - - - - Polygons - - - - - This class is an implementation of Geography point. - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Create a empty point - - CoordinateSystem - The implementation that created this instance. - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geography polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given sink - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geography Collection - - - - - Collection of geography instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of geography instances - - - - Constructor - - The implementation that created this instance. - Collection of geography instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geography Collection Empty - - - - - Geographies - - - - - Helper methods for the geography type. - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeographyLineString instance to serialize. - The pipeline to populate to - - - - Implementation of FullGlobe - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - - - - Constructor - - The implementation that created this instance. - - - - Sends the spatial geography object to the given sink - - The spatial pipeline - - - - Is FullGlobe empty - - - - - Geometry Line String - - - - - Points array - - - - - Constructor - - CoordinateSystem - The implementation that created this instance. - The point list - - - - Constructor - - The implementation that created this instance. - The point list - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is LineString Empty - - - - - Point list - - - - - Geometry Multi-LineString - - - - - Line Strings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Line Strings - - - - Constructor - - The implementation that created this instance. - Line Strings - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiLineString Empty - - - - - Geometry - - - - - Line Strings - - - - - Geometry Multi-Point - - - - - Points - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Points - - - - Constructor - - The implementation that created this instance. - Points - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPoint Empty - - - - - Geometry - - - - - Points - - - - - Geometry Multi-Polygon - - - - - Polygons - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Polygons - - - - Constructor - - The implementation that created this instance. - Polygons - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is MultiPolygon Empty - - - - - Geometry - - - - - Polygons - - - - - Geometry Point - - - - - Latitude - - - - - Longitude - - - - - Z - - - - - M - - - - - Empty Point constructor - - CoordinateSystem - The implementation that created this instance. - - - - Point constructor - - CoordinateSystem - The implementation that created this instance. - latitude - longitude - Z - M - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Latitude - - - - - Longitude - - - - - Is Point Empty - - - - - Nullable Z - - - - - Nullable M - - - - - Geometry polygon - - - - - Rings - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - The rings of this polygon - - - - Constructor - - The implementation that created this instance. - The rings of this polygon - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Polygon Empty - - - - - Set of rings - - - - - Geometry Collection - - - - - Collection of Geometry instances - - - - - Constructor - - The CoordinateSystem - The implementation that created this instance. - Collection of Geometry instances - - - - Constructor - - The implementation that created this instance. - Collection of Geometry instances - - - - Sends the current spatial object to the given pipeline - - The spatial pipeline - - - - Is Geometry Collection Empty - - - - - Geographies - - - - - Dummy class for code that is shared with ODataLib. - The ODataLib version of this class has an implementation, but this version is just provided - so that we don't have to conditionally compile all references to it in the shared code. - Since it is debug-only anyway, there is no harm in leaving this no-op version so that the shared code is cleaner. - - - - - Dummy method to allow shared code to compile. - - - - - Helper methods for Geometry types - - - - - Sends the current spatial object to the given pipeline with a figure that represents this LineString - - GeometryLineString instance for which the figure needs to be drawn. - The pipeline to populate to - - - - Gml Reader - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - The XmlReader instance to read from. - - - - This class parses the xml and calls the pipeline based on what is parsed - - - - - Delimiters used in position arrays. As per Xml spec white space characters is: #x20 | #x9 | #xD | #xA - - - - - List of known gml elements that can be ignored by the parser - - - - - Atomized gml namespace - - - - - Atomized Full Globe namespace - - - - - Output pipeline - - - - - Input reader - - - - - Number of points in the current figure - - - - - Constructor - - Input Reader - Output pipeline - - - - Read - - - - - Parses the top level element in the document - - Whether coordinte system is expected - - - - Set the CoordinateSystem - - Should we allow CRS attributes - - - - creates a shape and parses the element. - This is used to parse a top level Point element, as opposed to - a point which is embeded in a linestring or a polygon. - - - - - creates a shape and parses the element for top level LineString shapes - - - - - Creates a shape and parses the Polygon element. - - - - - Creates a shape and parses the MultiPoint element. - - - - - Creates a shape and parses the MultiLineString(Gml MultiCurve) element. - - - - - Creates a shape and parses the MultiPolygon(Gml MultiSurface) element. - - - - - Creates a shape and parses the Collection(Gml MultiGeometry) element. - - - - - Creates a shape and parses the FullGlobe element - - - - - Parses a simple point. - - Allow Empty Point - - - - Parses the GmlLineStringElement. - - - - - Parses the GmlExteriorLinearRingElement - - The type or ring - - - - ParseGmlLinearRingElement parses the GmlLinearRingElement - - - - - Common function for all item collections, since they are all parsed exactly the same way - - The wrapping header tag - The member tag - The members tag - Parser for individual items - - - - parses a pos element, which eventually is used in most other top level elements. - This represents a single point location with either two or zero coordinates. - - Allow empty pos - - - - Parses a sequence of 1 or more pos and pointProperty elements - - Allow Empty Point - - - - Parses a simple pointProperty. - - Allow empty point - - - - parses a GmlPosListElement. - - Alow empty posList - - - - Reads the current content in the xml element as a double array - - - XmlReader.ReadContentAs(typeof(double[])) basically does this but a lot slower, since it will handle a bunch of - different splitters and formats. Here we simply parse it as a string and split in on one separator - - The double array - - - - Main element reading function. - Returns true if it read a non-empty start element of the given name. - possibilities: - 1- current element is not a start element named "element" - throw - 2- current element is named "element" but is an empty element - return false - 3- current element is named "element" and is not empty - return true - If the funciton returns true, it means that a non-empty element of the given name - was read, so the caller takes responsability to read the corresponding end element. - - The element name - Returns true if it read a non-empty start element of the given name. - - - - Is Start Element - - Expected Element Tag - True if reader is at the expected element - - - - Is End Element - - Expected Element Tag - True if reader is at the end of the expected element - - - - Read End Element - - - - - Call MoveToContent, then skip a known set of irrelevant elements (gml:name, gml:description) - - - - - Is reader at the start of a pos or pointProperty - - True if reader is at the expected element - - - - Prepare for figure drawing - - - - - Draw a point in the current figure - - X coordinate - Y coordinate - Z coordinate - M coordinate - - - - End Current Figure - - - - - Gml Constants - - - - - Gml Namespace - - - - - FullGlobe namespace - - - - - Gml Prefix - - - - - System reference attribute name - - - - - gml:id attribute name - - - - - System Reference Prefix - - - - - Gml representation of a point - - - - - The Gml:name element name - - - - - the Gml:Description element name - - - - - the metadata property element name - - - - - Description Reference element name - - - - - identifier element name - - - - - Gml representation of a point - - - - - Gml representation of a point array - - - - - Gml Point - - - - - Gml representation of a linestring - - - - - Gml Polygon - - - - - Gml MultiPoint - - - - - Gml MultiLineString - - - - - Gml MultiPolygon - - - - - Gml Collection - - - - - Gml FullGlobe - - - - - Gml Polygon exterior ring - - - - - Gml Polygon interior ring - - - - - Gml Ring - - - - - Member Tag for MultiPoint - - - - - Members Tag for MultiPoint - - - - - Member Tag for MultiLineString - - - - - Members Tag for MultiLineString - - - - - Member Tag for MultiPolygon - - - - - Members Tag for MultiPolygon - - - - - Member Tag for Collection - - - - - Members Tag for Collection - - - - - Attribute name for Axis Labels - - - - - Attribute name for unit of measure labels - - - - - Attribute name for count - - - - - Well Known Text Constants - - - - - SRID - - - - - POINT - - - - - LINESTRING - - - - - POLYGON - - - - - GEOMETRYCOLLECTION - DEVNOTE: Because there is no inherent Geography support in the WKT specification, - this constant is used for both GeographyCollection and GeometryCollection - - - - - MULTIPOINT - - - - - MULTILINESTRING - - - - - MULTIPOLYGON - - - - - FULLGLOBE - - - - - NULL - - - - - NULL - - - - - Equals Operator '=' - - - - - Semicolon ';' - - - - - Delimiter ',' + WktWhiteSpace - - - - - Open Parenthesis '(' - - - - - Close Parenthesis '); - - - - - Whitespace ' ' - - - - - Period/Dot '.' - - - - - Adapter from the type washed API to Geometry, where it assumes that coord1 is X. - - - - - The pipeline to redirect the calls to - - - - - Constructor - - The pipeline to redirect the calls to - - - - Set the coordinate system based on the given ID - - The coordinate system ID to set. Null indicates the default should be used - - - - Setup the pipeline for reuse - - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Begin drawing a figure - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Draw a line to a point in the specified coordinate - - 1st Coordinate - 2nd Coordinate - 3rd Coordinate - 4th Coordinate - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Gets a value indicating whether this instance is geography. - - - true if this instance is geography; otherwise, false. - - - - - Semantically validate a GeoData - - - Grammar, states, and actions: - := SetSRID { Finish } - := (Begin_Point | ... | Begin_FullGlobe (: verify depth = 1 :) ) - := [ BeginFigure 1 EndFigure ] 2 End - := [ BeginFigure 1 { LineTo } EndFigure (: verify 2+ points :) ] 2 End - := { BeginFigure 1 { LineTo } EndFigure (: verify 4+ points and closed :) } End - := { { SetSRID } Begin_Point } End - := { { SetSRID } Begin_LineString } End - := { { SetSRID } Begin_Polygon } End - := { { SetSRID } } End - := End - := [ BeginFigure 1 { AddCircularArc } EndFigure ] 2 End - := [ BeginFigure 1 { LineTo | AddCircularArc } EndFigure ] | 2 End - := { } EndFigure - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - := { | | EndFigure (: verify closed and three distinct :)} End - := BeginFigure 1 { LineTo | AddCircularArc } - := StartSimpleRing 0 - := { } - := AddSegmentLine 0 BeginFigure { LineTo } | AddSegmentArc 0 BeginFigure { AddCircularArc } - := AddSegmentLine { LineTo } | AddSegmentArc { AddCircularArc } - ]]> - - - - - Max value for Longitude - - - ~263 radians converted to degrees - - - - - Max value for latitude - - - - - The DrawBoth derived instance of the geography Validator that is nested in this class - - - - - The DrawBoth derived instance of the geometry Validator that is nested in this class - - - - - Gets the draw geography. - - - - - Gets the draw geometry. - - - - - this is the actual validator, and derived from DrawBoth - while the real SpatialValidator derives from DrawSpatial. - We simple create an instance of this nested class and pass back - the DrawGeometry, and DrawGeography when the outter classes DataSpatial - properties are accessed. - - - - - Geometry Functional Specification 3.2.3.4 - Max Geometry Collection Depth - - - - - Set coordinate system - - - - - BeginGeo - - - - - Starting a point - - - - - Building a point - - - - - Ending a point - - - - - Starting a LineString - - - - - Building a LineString - - - - - Ending a LineString - - - - - Starting a Polygon - - - - - Building a Polygon - - - - - Starting a MultiPoint - - - - - Starting a LineString - - - - - Starting a MultiPolygon - - - - - Starting a Collection - - - - - Starting a FullGlobe - - - - - States - - - - - CoordinateSystem - - - - - Number of rings in a polygon - - - - - First point's X coordinate - - - - - First point's Y coordinate - - - - - Last point's X coordinate - - - - - Last point's Y coordinate - - - - - we are validating a geography stream - - - - - Number of points in the GeoData - - - - - Stack depth - - - - - Constructs a new SpatialValidatorImplementation segment - - - - - Implemented by a subclass to handle the setting of a coordinate system - - the new coordinate system - the coordinate system to be passed down the pipeline - - - - Implemented by a subclass to handle the start of drawing a Geography figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geography figure - - - - - Implemented by a subclass to handle the start of drawing a Geometry figure - - the shape to draw - the SpatialType to be passed down the pipeline - - - - Implemented by a subclass to handle the end of drawing a Geometry figure - - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the start of a figure - - Next position - The position to be passed down the pipeline - - - - Implemented by a subclass to handle the end of a figure - - - - - Implemented by a subclass to return to its initial state - - - - - Implemented by a subclass to handle the addition of a waypoint to a Geography figure - - Next position - the GeographyPosition to be passed down the pipeline - - - - Implemented by a subclass to handle the addition of a waypoint to a Geometry figure - - Next position - the GeometryPosition to be passed down the pipeline - - - - Test whether a double is finite - - The double value - True if the input double is not NaN or INF - - - - Test whether a point is in valid format - - The first coordinate - The second coordinate - The z coordinate - The m coordinate - Whether the input coordinate is valid - - - - Validate one position - - the first two dimensional co-ordinate - the second two dimensional co-ordinate - the altitude - the measure - - - - Validate one Geography position - - the latitude - the longitude - the altitude - the measure - - - - Validate one Geography position - - the x coordinate - the y coordinate - the altitude - the measure - - - - Test whether a latitude value is within acceptable range - - The latitude value - True if the latitude value is within range - - - - Test whether a longitude value is within acceptable range - - The longitude value - True if the longitude value is within range - - - - Validate a Geography polygon - - The number of points in the ring - its first latitude - it first longitued - its last latitude - its last longitude - - - - Validate a Geometry polygon - - The number of points in the ring - its first x - it first y - its last x - its last y - - - - Test whether two longitude values are equal - - Left longitude - Right longitude - True if the two longitudes are equals - - - - Begins the figure. - - The validate action. - The x. - The y. - The z. - The m. - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Add a control point to the current figure. - - the first coordinate - the second coordinate - - - - Tracks the position. - - The first. - The second. - - - - Transit into a new state - - The state to transit into - - - - initialize the object to a fresh clean smelling state - - - - - Push a new state onto the stack - - The new state - - - - Pop a state from the stack - - - - - Replace the current state on the stack with the new state - - The new state - - - - Calls to the pipeline interface Represented as state transition - - - - - Set CoordinateSystem - - - - - BeginGeo() - - fake transition, just for exception - - - - BeginGeo(point) - - - - - BeginGeo(LineString) - - - - - BeginGeo(Polygon) - - - - - BeginGeo(MultiPoint) - - - - - BeginGeo(MultiLineString) - - - - - BeginGeo(MultiPolygon) - - - - - BeginGeo(Collection) - - - - - BeginGeo(FullGlobe) - - - - - BeginFigure - - - - - LineTo - - - - - EndFigure - - - - - EndGeo - - - - - SpatialValidatorImplementation State - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Throw an incorrect state exception - - The expected state - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The actual state - - - - Throw an incorrect state exception - - The expected state1 - The expected state2 - The expected state3 - The actual state - - - - SetCoordinateSystem State - Validator is currently waiting for a SetCoordinateSystemCall - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Beginning a GeoData - Validator is currently waiting for a BeginGeo() call - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Start State - After BeginGeo(Point), waiting for BeginFigure() or EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point Building State - After BeginFigure(), waiting for EndFigure() immediately - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Point End State - After EndFigure() for a point, waiting for EndGeo() - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Start state - After BeginGeo(LineString), waiting for BeginFigure/EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString Building State - After BeginFigure() for a line - Waiting for LineTo/EndFigure - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - LineString End State - After EndFigure() on Line - Waiting for EndGeo - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - PolygonStart State - After polygon started, waiting for Rings to build - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Polygon Building State - Drawing rings - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPoint State - Inside a MultiPoint Container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiLineString State - Inside a MultiLineString container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - MultiPolygon State - Inside a MultiPolygon container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Collection State - Inside a Collection container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - FullGlobe state - Inside a FullGlobe container - - - - - Validate a call to the pipeline interface (a state transition) - - The transition - The validator instance - - - - Extension methods for TextWriter - - - - - Write a double to a TextWriter ensuring that the value will be roundtrippable thorugh double.parse - - the writer - the double value to be written - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - If the arg is non-null, evaluate the op. Otherwise, propogate the null. - - The type of the arg. - The type of the result. - The arg. - The op. - op(arg) if arg is non-null; null if arg is null. - - - - Text Lexer Token - - - - - Test whether this token matches the input criterion - - The target type - The target text, or null - The StringComparison - True if this token matches the input criterion - - - - String representation of this token - - String representation of this token - - - - The Token Text - - - - - Token Type - - - - - Reader for Extended Well Known Text, Case sensitive - example: - SRID=1234;POINT(10.0 20.0 NULL 30.0) - - - - - restricts the reader to allow only two dimensions. - - - - - Creates a reader that that will send messages to the destination during read. - - The instance to message to during read. - - - - Initializes a new instance of the class. - - The destination. - if set to true allows only two dimensions. - - - - Parses some serialized format that represents a geography value, passing the result down the pipeline. - - TextReader instance to read from. - - - - Parses some serialized format that represents a geometry value, passing the result down the pipeline. - - TextReader instance to read from. - - - - This class parses the text and calls the pipeline based on what is parsed - - - - - restricts the parser to allow only two dimensions. - - - - - Text lexer - - - - - Output pipeline - - - - - Creates a parser with the given reader and pipeline - - The reader that is the source of what is parsed. - The pipeline to be called as the parser recognizes tokens. - if set to true allows only two dimensions. - - - - Read WellKnownText into an instance of Geography - - - - - Test whether the current token matches the expected token - - The expected token type - The expected token text - True if the two tokens match - - - - Move the lexer to the next non-whitespace token - - True if the lexer gets a new token - - - - Parse Collection Text - - - - - Parse a LineString text - - - - - Parse a Multi* text - - The inner spatial type - The inner reader - - - - Parse Point Representation - - Whether this is the first point in the figure - - - - Parse a point text - - - - - Parse a Polygon text - - - - - Parse an instance of SRID - - - - - Parse Tagged Text - - - - - Read a double literal - - The read double - - - - Check to see if the content is EMPTY - - True if the content is declared as EMPTY - - - - Read an integer literal - - The read integer - - - - Read an optional double literal - - The value that was read. - true if a value was read, otherwise returns false - - - - Read an optional token. If the read token matches the expected optional token, then consume it. - - The expected token type - The expected token text, or null - True if the optional token matches the next token in stream - - - - Read and consume a token from the lexer, throw if the read token does not match the expected token - - The expected token type - The expected token text - - - - WellKnownText Writer - - - - - restricts the writer to allow only two dimensions. - - - - - The underlying writer - - - - - Stack of spatial types currently been built - - - - - Detects if a CoordinateSystem (SRID) has been written already. - - - - - Figure has been written to the current spatial type - - - - - A shape has been written in the current nesting level - - - - - Wells the known text SQL format. -- 2D writer - - The writer. - - - - Initializes a new instance of the class. - - The writer. - if set to true allows only two dimensions. - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Draw a point in the specified coordinate - - Next position - - The position to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a spatial object - - The spatial type of the object - - The type to be passed down the pipeline - - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Begin drawing a figure - - Next position - The position to be passed down the pipeline - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Ends the current spatial object - - - - - Set the coordinate system - - The CoordinateSystem - - the coordinate system to be passed down the pipeline - - - - - Setup the pipeline for reuse - - - - - Write the coordinate system - - The CoordinateSystem - - - - Setup the pipeline for reuse - - - - - Start to write a new Geography/Geometry - - The SpatialType to write - - - - Adds the control point. - - The x. - The y. - The z. - The m. - - - - Ends the figure. - - - - - write tagged text for type - - the spatial type - - - - Start to write a figure - - The coordinate1. - The coordinate2. - The coordinate3. - The coordinate4. - - - - End the current Geography/Geometry - - - - - Write out a point - - The x coordinate - The y coordinate - The z coordinate - The m coordinate - - - - Defines the members that may be found in a GeoJSON object. - - - - - "type" member in a GeoJSON object. - - - - - "coordinates" member in GeoJSON object. - - - - - "geometries" member in GeoJSON object. - - - - - "crs" member in GeoJSON object. - - - - - 'properties' member in GeoJSON object - - - - - 'name' member in GeoJSON object - - - - - Constants for the GeoJSON format - See http://geojson.org/geojson-spec.html for full details on GeoJson format. - - - - - Name of the type member that identifies the spatial type. - - - - - Value of the type member for Point values. - - - - - Value of the type member for LineString values. - - - - - Value of the type member for Polygon values. - - - - - Value of the type member for MultiPoint values. - - - - - Value of the type member for MultiLineString values. - - - - - Value of the type member for MultiPolygon values. - - - - - Value of the type member for GeometryCollection values. - - - - - Name of the coordinates member that contains the spatial data. - - - - - Name of the geometries member that contains the spatial data. - - - - - Name of the crs member that contains the coordinate reference system details. - - - - - Value of the type member inside of the crs object. - - - - - Name of the name member inside of the properties member in the crs object. - - - - - Name of the properties member inside of the crs object. - - - - - Prefix to use when specifying the coordinate reference system inside the crs object. - - - - - This is a forwarding transform pipe segment - - - - - The singleton NoOp implementation of the DrawGeography - - - - - The current drawspatial that will be called and whose results will be forwarded to the - next segment - - - - - The SpatialPipeline to forward the calls to - - - - - the cached GeographyForwarder for this instance - - - - - the cached GeometryForwarder for this instance - - - - - Constructs a new SpatialPipeline segment - - The DrawSpatial to draw to before calling next. - - - - Initializes a new instance of the class. - - The current geography. - The current geometry. - - - - Add the next pipeline - - the next pipleine - The last pipesegment in the chain, usually the one just created - - - - Run one action on a pipeline - - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - - - - Run one action on a pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - The handler reset. - what the rest of the pipeline should do - The delegation reset. - The argument to pass to both this node and the rest of the pipeline - - - - Gets the geography. - - - - - Gets the geometry. - - - - - The next geography sink in the pipeline - - - - - The next geometry sink in the pipeline - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geography data - - the sort of Geography data being processed - - - - finish processing Geography data - - - - - Begin drawing a Geography figure - - Next position - - - - Finish drawing a Geography figure - - - - - Continue drawing a Geography figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeography from the associated ForwardingSegment instance - - - - - Gets the next GeographyPipeline from the associated ForwardingSegment instance - - - - - The forwarding implementation of DrawGeography - - - - - The ForwardingSegment instance that this pipe is - associated with - - - - - Initializes a new instance of the class. - - The segment. - - - - Set the system reference to be used by this run of the pipeline - - the coordinate reference system - - - - start processing Geometry data - - the sort of Geometry data being processed - - - - finish processing Geometry data - - - - - Begin drawing a Geometry figure - - Next position - - - - Finish drawing a Geometry figure - - - - - Continue drawing a Geometry figure - - Next position - - - - Reset the piprline - - - - - Run one action on a Geography pipeline - - The type taken and returned by the transform style methods. - what to do at this stage of the pipeline - what the rest of the pipeline should do - The argument to pass to both this node and the rest of the pipeline - - - - Run one action on a Geography pipeline - - what to do at this stage of the pipeline - what the rest of the pipeline should do - - - - Gets the current DrawGeometry from the associated ForwardingSegment instance - - - - - Gets the next GeometryPipeline from the associated ForwardingSegment instance - - - - - A noop implementation of DrawGeography - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - a noop implementation of DrawGeometry - - - - - Draw a point in the specified coordinate - - Next position - - - - Begin drawing a figure - - Next position - - - - Begin drawing a spatial object - - The spatial type of the object - - - - Ends the current figure - - - - - Ends the current spatial object - - - - - Setup the pipeline for reuse - - - - - Set the coordinate system - - The CoordinateSystem - - - - Util class - - - - StackOverFlow exception type - - - ThreadAbortException exception type - - - AccessViolationException exception type - - - OutOfMemoryException exception type - - - NullReferenceException exception type - - - SecurityException exception type - - - - Check if input is null, throw an ArgumentNullException if it is. - - The input argument - The error to throw - - - - Determines if the exception is one of the prohibited types that should not be caught. - - The exception to be checked against the prohibited list. - True if the exception is ok to be caught, false otherwise. - - - - A workaround to a problem with FxCop which does not recognize the CheckArgumentNotNull method - as the one which validates the argument is not null. - - This has been suggested as a workaround in msdn forums by the VS team. Note that even though this is production code - the attribute has no effect on anything else. - - - - Class that contains all the constants for various schemas. - - - - - Namespace for xmlns - - - - - Constructs a new sys description. - - - description text. - - - - - Retrieves the description text. - - - description - - - - - AutoGenerated resource class. Usage: - - string s = TextRes.GetString(TextRes.MyIdenfitier); - - - - - Strongly-typed and parameterized string resources. - - - - - A string like "The queue doesn't contain an item with the priority {0}." - - - - - A string like "The value '{0}' is not valid for the coordinate '{1}'." - - - - - A string like "Incorrect GML Format: The XmlReader instance encountered an unexpected element "{0}"." - - - - - A string like "Incorrect GML Format: unknown spatial type tag "{0}"." - - - - - A string like "Incorrect GML Format: a srsName attribute must begin with the namespace "{0}"." - - - - - A string like "The attribute '{0}' on element '{1}' is not supported." - - - - - A string like "Expecting token type "{0}" with text "{1}" but found "{2}"." - - - - - A string like "Unexpected character '{0}' found in text." - - - - - A string like "Unknown Tagged Text "{0}"." - - - - - A string like "Invalid spatial data: Invalid spatial type "{0}"." - - - - - A string like "Invalid spatial data: only {0} levels of nesting are supported in collection types." - - - - - A string like "Invalid spatial data: the coordinates ({0} {1} {2} {3}) are not valid." - - - - - A string like "Invalid spatial data: expected call to "{0}" but got call to "{1}"." - - - - - A string like "Invalid spatial data: expected call to "{0}" or "{1}" but got call to "{2}"." - - - - - A string like "Invalid latitude coordinate {0}. A latitude coordinate must be a value between -90.0 and +90.0 degrees." - - - - - A string like "Invalid longitude coordinate {0}. A longitude coordinate must be a value between -15069.0 and +15069.0 degrees" - - - - - A string like "Invalid GeoJSON. The '{0}' member is required, but was not found." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a valid value for the 'type' member." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS type." - - - - - A string like "Invalid GeoJSON. The value '{0}' is not a recognized CRS name." - - - - - A string like "Cannot read the value '{0}' for the property '{1}' as a quoted JSON string value." - - - - - A string like "Cannot read the value '{0}' as a JSON object." - - - - - A string like "The operation is not valid on an empty queue." - - - - - A string like "An item with the same priority already exists." - - - - - A string like "No operations are registered. Please provide operations using SpatialImplementation.CurrentImplementation.Operations property." - - - - - A string like "Access to the coordinate properties of an empty point is not supported." - - - - - A string like "The builder cannot create an instance until all pipeline calls are completed." - - - - - A string like "Incorrect GML Format: the XmlReader instance is expected to be at the start of a GML element." - - - - - A string like "Incorrect GML Format: a LinearRing element must not be empty." - - - - - A string like "Incorrect GML Format: a pos element must contain at least two coordinates." - - - - - A string like "Incorrect GML Format: a posList element must contain an even number of coordinates." - - - - - A string like "The WellKnownTextReader is configured to allow only two dimensions, and a third dimension was encountered." - - - - - A string like "Invalid spatial data: An instance of spatial type can have only one unique CoordinateSystem for all of its coordinates." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot be part of a collection type." - - - - - A string like "Invalid spatial data: the spatial type "LineString" must contain at least two points." - - - - - A string like "Invalid spatial data: the spatial type "FullGlobe" cannot contain figures." - - - - - A string like "Invalid spatial data: A polygon ring must contain at least four points, and the last point must be equal to the first point." - - - - - A string like "A geography operation was called while processing a geometric shape." - - - - - A string like "A geometry operation was called while processing a geographic shape." - - - - - A string like "Invalid GeoJSON. A position must contain at least two and no more than four elements." - - - - - A string like "Invalid GeoJSON. A null value was found in an array element where nulls are not allowed." - - - - - A string like "Invalid GeoJSON. A non-numeric value was found in an array element where a numeric value was expected." - - - - - A string like "Invalid GeoJSON. A primitive value was found in an array element where an array was expected." - - - - - Strongly-typed and parameterized exception factory. - - - - - The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. - - - - - The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. - - - - - The exception that is thrown when the author has yet to implement the logic at this point in the program. This can act as an exception based TODO tag. - - - - - The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. - - - - diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/de/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/de/System.Spatial.resources.dll deleted file mode 100644 index c4cabcd39..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/de/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/es/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/es/System.Spatial.resources.dll deleted file mode 100644 index 17661c065..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/es/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/fr/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/fr/System.Spatial.resources.dll deleted file mode 100644 index 9ea3aa600..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/fr/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/it/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/it/System.Spatial.resources.dll deleted file mode 100644 index f4197d386..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/it/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ja/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ja/System.Spatial.resources.dll deleted file mode 100644 index 0d24ee006..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ja/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ko/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ko/System.Spatial.resources.dll deleted file mode 100644 index 4dba2225d..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ko/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ru/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ru/System.Spatial.resources.dll deleted file mode 100644 index 938c35fc1..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/ru/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/zh-Hans/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/zh-Hans/System.Spatial.resources.dll deleted file mode 100644 index 60903b84f..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/zh-Hans/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/zh-Hant/System.Spatial.resources.dll b/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/zh-Hant/System.Spatial.resources.dll deleted file mode 100644 index d880e97c0..000000000 Binary files a/samples/js-bot-framework/bot/packages/System.Spatial.5.6.4/lib/sl4/zh-Hant/System.Spatial.resources.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/WindowsAzure.Storage.7.0.0.nupkg b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/WindowsAzure.Storage.7.0.0.nupkg deleted file mode 100644 index 0c0f87255..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/WindowsAzure.Storage.7.0.0.nupkg and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.dll b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.dll deleted file mode 100644 index 716b68813..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.pdb b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.pdb deleted file mode 100644 index e32b90d44..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.xml b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.xml deleted file mode 100644 index 6561f3a2f..000000000 --- a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/net40/Microsoft.WindowsAzure.Storage.xml +++ /dev/null @@ -1,36609 +0,0 @@ - - - - Microsoft.WindowsAzure.Storage - - - - - Represents the status of an asynchronous operation and provides support for cancellation. - - - - - Cancels the asynchronous operation. - - - - - Represents an entity in a storage analytics capacity table. - - - - - Represents the base object type for a table entity in the Table service. - - provides a base implementation for the interface that provides and methods that by default serialize and - deserialize all properties via reflection. A table entity class may extend this class and override the and methods to provide customized or better performing serialization logic. - - - - An interface required for table entity types. The interface declares getter and setter methods for the mandatory entity properties, and - and methods for serialization and de-serialization of all entity properties using a property dictionary. Create classes implementing to customize property - storage, retrieval, serialization and de-serialization, and to provide additional custom logic for a table entity. - - The storage client library includes two implementations of that provide for simple property access and serialization: - implements and provides a simple property dictionary to store and retrieve properties. Use a for simple access - to entity properties when only a subset of properties are returned (for example, by a select clause in a query), or for scenarios where your query can return multiple entity types - with different properties. You can also use this type to perform bulk table updates of heterogeneous entities without losing property information. - is an implementation of that uses reflection-based serialization and de-serialization behavior in its and methods. - -derived classes with methods that follow a convention for types and naming are serialized and deserialized automatically. -derived classes must also provide a get-able and set-able public - property of a type that is supported by the Windows Azure Table service. - - - - Populates the entity's properties from the data values in the dictionary. - - The dictionary of string property names to data values to deserialize and store in this table entity instance. - An object that represents the context for the current operation. - - - - Serializes the of property names mapped to data values from the entity instance. - - An object that represents the context for the current operation. - An object of property names to data typed values created by serializing this table entity instance. - - - - Gets or sets the entity's partition key. - - The entity's partition key. - - - - Gets or sets the entity's row key. - - The entity's row key. - - - - Gets or sets the entity's timestamp. - - The entity's timestamp. The property is populated by the Windows Azure Table Service. - - - - Gets or sets the entity's current ETag. Set this value to '*' - in order to blindly overwrite an entity as part of an update - operation. - - The entity's timestamp. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified partition key and row key. - - A string containing the partition key of the to be initialized. - A string containing the row key of the to be initialized. - - - - Deserializes the entity using the specified that maps property names to typed values. - - An object that maps property names to typed values. - An object that represents the context for the current operation. - - - - Deserializes a custom entity instance using the specified of property names to data typed values. - - The custom entity instance being deserialized. - An object that maps string property names to data values to deserialize and store in this table entity instance. - An object that represents the context for the current operation. - - - - Serializes the of property names mapped to data values from this instance. - - An object that represents the context for the current operation. - An object that maps string property names to typed values created by serializing this table entity instance. - - - - Create a of objects for all the properties of the specified entity object. - - The entity object to serialize. - An object that represents the context for the current operation. - An of objects for all the properties of the specified entity object. - - - - Determines if the given property should be skipped based on its name, if it exposes a public getter and setter, and if the IgnoreAttribute is not defined. - - The PropertyInfo of the property to check - An object that represents the context for the current operation. - True if the property should be skipped, false otherwise. - - - - Compiles a ReadAction for the given type - - The type to compile for - A ReadAction that deserializes the given entity type. - - - - Compiles a WriteFunc for the given type - - The type to compile for - A WriteFunc that serializes the given entity type. - - - - Generates a Conditional Expression that will retrieve the given entity value by type and set it into the current property. - - The entity type - The property to deserialize into - An Expression that represents the entity instance - An Expression that represents the current EntityProperty expression - - - - - Gets the EntityProperty from the dictionary, or returns null. Similar to IDictionary.TryGetValue with logging support. - - The key value - The Dictionary instance - The operationContext to log to. - - - - - Gets or sets the entity's partition key. - - A string containing the partition key for the entity. - - - - Gets or sets the entity's row key. - - A string containing the row key for the entity. - - - - Gets or sets the entity's timestamp. - - A containing the timestamp of the entity. - - - - Gets or sets the entity's ETag. Set this value to '*' in order to force an overwrite to an entity as part of an update operation. - - A string containing the ETag value for the entity. - - - - Disables the ability to dynamically generate read and write lambdas at runtime. Setting this to false will clear out the static cache shared across all type instances that derive from TableEntity. - - - - - This entities compiled Write Func - - - - - This entities compiled Read Action - - - - - Gets or sets the status of the property resolver cache for the . - - - The property resolver cache caches known entity types and their respective property resolver dictionaries when entities are deserialized - and the payload does not include JSON metadata. For most scenarios, disabling the property resolver cache is not recommended due to its - effect on performance. - - - - - Initializes a new instance of the class. - - - - - Gets the capacity entity's timestamp in UTC, representing the start time for that log entry. - - A string containing a timestamp in UTC. - - - - Gets or sets the Capacity property for capacity entity, which indicates the quantity of Blob storage used by the storage account. - - A long containing the quantity of Blob storage used by the storage account, per this capacity entity. - - - - Gets or sets the ContainerCount property for the capacity entity, which indicates the number of blob containers in the storage account. - - A long containing the number of blob containers in the storage account, per this capacity entity. - - - - Gets or sets the ObjectCount property for the capacity entity, which indicates the number of committed and uncommitted blobs in the storage account. - - A long containing the number of committed and uncommitted blobs in the storage account, per this capacity entity. - - - - Provides a client-side logical representation for Microsoft Azure Storage Analytics. - This client is used to configure and execute requests against storage analytics. - - The analytics service client encapsulates the endpoints for the Blob and Table services. It also encapsulates - credentials for accessing the storage account. - - - - Initializes a new instance of the class using the specified Blob and Table service endpoints - and account credentials. - - A object containing the Blob service endpoint to use to create the client. - A object containing the Table service endpoint to use to create the client. - A object. - - - - Gets a object containing the logs for the specified storage service. - - A enumeration value. - A object. - - - - Gets the hourly metrics table for the specified storage service. - - A enumeration value. - A object. - - - - Gets the hourly metrics table for the specified storage service. - - A enumeration value. - A enumeration value. - A object. - - - - Gets the minute metrics table for the specified storage service. - - A enumeration value. - A object. - - - - Gets the minute metrics table for the specified storage service. - - A enumeration value. - A enumeration value. - A object. - - - - Gets the capacity metrics table for the Blob service. - - A object. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - A enumeration value that indicates the types of logging operations on which to filter the log blobs. - A enumeration value that indicates whether or not blob metadata should be returned. Only None and Metadata are valid values. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - Note that specifying a logging operation type for the parameter will return any Analytics log blob that contains the specified logging operation, - even if that log blob also includes other types of logging operations. Also note that the only currently supported values for the - parameter are None and Metadata. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - A object representing the start time for which logs should be retrieved. - A object representing the end time for which logs should be retrieved. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of log blobs containing Analytics log records. The blobs are retrieved lazily. - - A enumeration value. - A object representing the start of the time range for which logs should be retrieved. - A object representing the end of the time range for which logs should be retrieved. - A enumeration value that indicates the types of logging operations on which to filter the log blobs. - A enumeration value that indicates whether or not blob metadata should be returned. Only None and Metadata are valid values. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - Note that specifying a logging operation type for the parameter will return any Analytics log blob that contains the specified logging operation, - even if that log blob also includes other types of logging operations. Also note that the only currently supported values for the - parameter are None and Metadata. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - A object representing the start of the time range for which logs should be retrieved. - A object representing the end of the time range for which logs should be retrieved. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - A enumeration value. - A object representing the start of the time range for which logs should be retrieved. - A object representing the end of the time range for which logs should be retrieved. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - An enumerable collection of objects from which to parse log records. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - The object from which to parse log records. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns an enumerable collection of Analytics log records, retrieved lazily. - - The object from which to parse log records. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Creates a object for querying the Blob service capacity table. - - A object. - This method is applicable only to Blob service. - - - - Creates a object for querying an hourly metrics log table. - - A enumeration value. - A enumeration value. - A object. - - - - Creates a object for querying a minute metrics log table. - - A enumeration value. - A enumeration value. - A object. - - - - Represents a Storage Analytics log entry. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on a object. - The object to use to populate the log record. - - - - - The version of Storage Analytics Logging used to record the entry. - - A containing the version number. - - - - The time at which the request was received by the service, in UTC format. - - A specifying the request start time. - - - - The type of REST operation performed. - - A specifying the operation type. - - - - The status of the requested operation. - - A indicating the request status. - - - - The HTTP status code for the request. If the request is interrupted, this value may be set to Unknown. - - A containing the HTTP status code. - - - - The total time in milliseconds to perform the requested operation, including the time required to read the - incoming request and send the response to the requester. - - A indicating the end-to-end latency for the operation. - - - - The total time in milliseconds to perform the requested operation. This value does not include network - latency (the time required to read the incoming request and send the response to the requester). - - A indicating the server latency for the operation. - - - - Indicates whether the request was authenticated via Shared Key or a Shared Access Signature (SAS), or was anonymous. - - A indicating the authentication scheme. - - - - The name of the storage account from which the request originated, if the request is authenticated via Shared Key. - This field is null for anonymous requests and requests made via a shared access signature (SAS). - - A specifying the name of the storage account. - - - - The account name of the service owner. - - A specifying the name of the storage account. - - - - The storage service against which the request was made: blob, table, or queue. - - A indicating against which service the request was made. - - - - The complete URL of the request. - - A object. - - - - The key of the requested object, as an encoded string. This field will always use the account name, - even if a custom domain name has been configured. - - A object. - - - - The request ID assigned by the storage service. This is equivalent to the value of the x-ms-request-id header. - - A containing the request ID. - - - - The number of operations logged for a request, starting at index zero. Some requests require more than - one operation, such as Copy Blob, though most perform just one operation. - - An integer containing the operation count. - - - - The IP address of the requester, including the port number. - - - - - The storage service version specified when the request was made. This is equivalent to the value of the x-ms-version header. - - A containing the request version header. - - - - The size of the request header, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the request header size. - - - - The size of the request packets read by the storage service, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the request packet size. - - - - The size of the response header, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the size of the response header in bytes. - - - - The size of the response packets written by the storage service, in bytes. If a request is unsuccessful, this value may be null. - - A long containing the packet size of the response header, in bytes. - - - - The value of the Content-Length header for the request sent to the storage service. If the request was successful, - this value is equal to request-packet-size. If a request is unsuccessful, this value may not be equal to - request-packet-size, or it may be null. - - A long containing the request content length, in bytes. - - - - The value of either the Content-MD5 header or the x-ms-content-md5 header in the request as an encoded string. - The MD5 hash value specified in this field represents the content in the request. This field can be null. - - A containing the request MD5 value. - - - - The value of the MD5 hash calculated by the storage service, as an encoded string. - - A containing the server MD5 hash. - - - - The ETag identifier for the returned object as an encoded string. - - A containing the ETag for the resource. - - - - The Last Modified Time (LMT) for the returned object as an encoded string. This field is null for operations that return multiple objects. - - A specifying the last modified time. - - - - A semicolon-separated list, in the form of ConditionName=value, as an encoded string. - - A containing the conditions used for the request. - - - - The User-Agent header value as an encoded string. - - A containing the value of the User-Agent header. - - - - The Referrer header value as an encoded string. - - A containing the value of the Referrer header. - - - - The value of the x-ms-client-request-id header, included in the request as an encoded string. - - A containing the client request ID. - - - - Reads log record information from a stream. - - - - - A delimiter that exists between fields in a log. - - - - - A delimiter that exists between logs. - - - - - The quote character. - - - - - Initializes a new instance of the class using the specified stream and buffer size. - - The object to read from. - An integer indicating the size of the buffer. - - - - Checks whether another field exists in the record. - - A boolean value indicating whether another field exists. - - - - Reads a string from the stream. - - The string value read from the stream. - - - - Reads a quoted string from the stream. - - The quote string value read from the stream. - - - - Ends the current record by reading the record delimiter and adjusting internal state. - - The caller is expected to know when the record ends. - - - - Reads a bool from the stream. - - The boolean value read from the stream. - - - - Reads a value in a specific format from the stream. - - A string representing the DateTime format to use when parsing. - The value read. - - - - Reads a value, represented as a number of milliseconds, from the stream. - - The value read from the stream. - - - - Reads a double from the stream. - - The double value read from the stream. - - - Reads a GUID value from the stream. - The value read from the stream. - - - Reads an integer value from the stream. - The integer value read from the stream. - - - Reads a long value from the stream. - The long value read from the stream. - - - - Read a Uri from the stream. - - The object read from the stream. - - - - Dispose this LogRecordStreamReader. - - - - - Dispose this LogRecordStreamReader - - - - - - Indicates whether this is the end of the file. - - - - - Checks the position of the stream. - - A long containing the current position of the stream. - - - - Represents an entity in a storage analytics metrics table. - - - - - Initializes a new instance of the class. - - - - - Gets the metrics entity's timestamp in UTC, representing the start time for that log entry. - - A string containing the timestamp in UTC. - - - - Gets the AccessType property for the metrics entity, indicating the type of access logged. - - A string containing the access type for the metrics entity. - - - - Gets the TransactionType property for the metrics entity, indicating the type of transaction logged. - - A string containing the transaction type for the metrics entity. - - - - Gets or sets the TotalIngress property for the metrics entity, indicating the quantity of ingress data, in bytes. - - A long containing the quantity of ingress data, in bytes, for the metrics entity. - - - - Gets or sets the TotalEgress property for the metrics entity, indicating the quantity of egress data, in bytes. - - A long containing the quantity of egress data, in bytes, for the metrics entity. - - - - Gets or sets the TotalRequests property for the metrics entity, indicating the total number of requests. - - A long containing the number of total requests for the metrics entity. - - - - Gets or sets the TotalBillableRequests property for the metrics entity, indicating the total number of billable requests. - - A long containing the total number of billable requests for the metrics entity. - - - - Gets or sets the Availability property for the metrics entity, indicating the percentage of availability. - - A double containing the percentage of availability for the metrics entity. - - - - Gets or sets the AverageE2ELatency property for the metrics entity, indicating the average end-to-end latency of successful requests. - - A double containing the average end-to-end latency of successful requests for the metrics entity. - - - - Gets or sets the AverageServerLatency property for the metrics entity, indicating the average latency for the service to process - a successful request. - - A double containing the average latency for the service to process a successful request for the metrics entity. - - - - Gets or sets the PercentSuccess property for the metrics entity, indicating the percentage of successful requests. - - A double containing the percentage of successful requests for the metrics entity. - - - - Gets or sets the PercentThrottlingError property for the metrics entity, indicating the percentage of requests that failed with a throttling error. - - A double containing the percentage of requests that failed with a throttling error for the metrics entity. - - - - Gets or sets the PercentTimeoutError property for the metrics entity, indicating the percentage of requests that failed with a timeout error. - - A double containing the percentage of requests that failed with a timeout error for the metrics entity. - - - - Gets or sets the PercentServerOtherError property for the metrics entity, indicating the percentage of requests that failed with a ServerOtherError. - - A double containing the percentage of requests that failed with a ServerOtherError for the metrics entity. - - - - Gets or sets the PercentClientOtherError property for the metrics entity, indicating the percentage of requests that failed with a ClientOtherError. - - A double containing the percentage of requests that failed with a ClientOtherError for the metrics entity. - - - - Gets or sets the PercentAuthorizationError property for the metrics entity, indicating the percentage of requests that failed with an AuthorizationError. - - A double containing the percentage of requests that failed with an AuthorizationError for the metrics entity. - - - - Gets or sets the PercentNetworkError property for the metrics entity, indicating the percentage of requests that failed with a NetworkError. - - A double containing the percentage of requests that failed with a NetworkError for the metrics entity. - - - - Gets or sets the Success property for the metrics entity, indicating the number of successful requests. - - A long containing the number of successful requests for the metrics entity. - - - - Gets or sets the AnonymousSuccess property for the metrics entity, indicating the number of successful anonymous requests. - - A long containing the number of successful anonymous requests for the metrics entity. - - - - Gets or sets the SASSuccess property for the metrics entity, indicating the number of successful SAS requests. - - A long containing the number of successful SAS requests for the metrics entity. - - - - Gets or sets the ThrottlingError property for the metrics entity, indicating the number of authenticated requests that returned a ThrottlingError. - - A long containing the number of authenticated requests that returned a ThrottlingError for the metrics entity. - - - - Gets or sets the AnonymousThrottlingError property for the metrics entity, indicating the number of anonymous requests that returned a ThrottlingError. - - A long containing the number of anonymous requests that returned a ThrottlingError for the metrics entity. - - - - Gets or sets the SASThrottlingError property for the metrics entity, indicating the number of SAS requests that returned a ThrottlingError. - - A long containing the number of SAS requests that returned a ThrottlingError for the metrics entity. - - - - Gets or sets the ClientTimeoutError property for the metrics entity, indicating the number of authenticated requests that returned a ClientTimeoutError. - - A long containing the number of authenticated requests that returned a ClientTimeoutError for the metrics entity. - - - - Gets or sets the AnonymousClientTimeoutError property for the metrics entity, indicating the number of anonymous requests that returned a ClientTimeoutError. - - A long containing the number of anonymous requests that returned a ClientTimeoutError for the metrics entity. - - - - Gets or sets the SASClientTimeoutError property for the metrics entity, indicating the number of SAS requests that returned a ClientTimeoutError. - - A long containing the number of SAS requests that returned a ClientTimeoutError for the metrics entity. - - - - Gets or sets the ServerTimeoutError property for the metrics entity, indicating the number of authenticated requests that returned a ServerTimeoutError. - - A long containing the number of authenticated requests that returned a ServerTimeoutError for the metrics entity. - - - - Gets or sets the AnonymousServerTimeoutError property for the metrics entity, indicating the number of anonymous requests that returned a ServerTimeoutError. - - A long containing the number of anonymous requests that returned a ServerTimeoutError for the metrics entity. - - - - Gets or sets the SASServerTimeoutError property for the metrics entity, indicating the number of SAS requests that returned a ServerTimeoutError. - - A long containing the number of SAS requests that returned a ServerTimeoutError for the metrics entity. - - - - Gets or sets the ClientOtherError property for the metrics entity, indicating the number of authenticated requests that returned a ClientOtherError. - - A long containing the number of authenticated requests that returned a ClientOtherError for the metrics entity. - - - - Gets or sets the SASClientOtherError property for the metrics entity, indicating the number of SAS requests that returned a ClientOtherError. - - A long containing the number of SAS requests that returned a ClientOtherError for the metrics entity. - - - - Gets or sets the AnonymousClientOtherError property for the metrics entity, indicating the number of anonymous requests that returned an ClientOtherError. - - A long containing the number of anonymous requests that returned a ClientOtherError for the metrics entity. - - - - Gets or sets the ServerOtherError property for the metrics entity, indicating the number of authenticated requests that returned a ServerOtherError. - - A long containing the number of authenticated requests that returned a ServerOtherError for the metrics entity. - - - - Gets or sets the AnonymousServerOtherError property for the metrics entity, indicating the number of anonymous requests that returned a ServerOtherError. - - A long containing the number of anonymous requests that returned a ServerOtherError for the metrics entity. - - - - Gets or sets the SASServerOtherError property for the metrics entity, indicating the number of SAS requests that returned a ServerOtherError. - - A long containing the number of SAS requests that returned a ServerOtherError for the metrics entity. - - - - Gets or sets the AuthorizationError property for the metrics entity, indicating the number of authenticated requests that returned an AuthorizationError. - - A long containing the number of authenticated requests that returned an AuthorizationError for the metrics entity. - - - - Gets or sets the AnonymousAuthorizationError property for the metrics entity, indicating the number of anonymous requests that returned an AuthorizationError. - - A long containing the number of anonymous requests that returned an AuthorizationError for the metrics entity. - - - - Gets or sets the SASAuthorizationError property for the metrics entity, indicating the number of SAS requests that returned an AuthorizationError. - - A long containing the number of SAS requests that returned an AuthorizationError for the metrics entity. - - - - Gets or sets the NetworkError property for the metrics entity, indicating the number of authenticated requests that returned a NetworkError. - - A long containing the number of authenticated requests that returned a NetworkError for the metrics entity. - - - - Gets or sets the AnonymousNetworkError property for the metrics entity, indicating the number of anonymous requests that returned a NetworkError. - - A long containing the number of anonymous requests that returned a NetworkError for the metrics entity. - - - - Gets or sets the SASNetworkError property for the metrics entity, indicating the number of SAS requests that returned a NetworkError. - - A long containing the number of SAS requests that returned a NetworkError for the metrics entity. - - - - Represents a handler that signs HTTP requests. - - - - - Signs the specified HTTP request so it can be authenticated by the Windows Azure storage services. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a handler that signs HTTP requests with no authentication information. - - - - - Initializes a new instance of the class. - - - - - Signs the specified HTTP request with no authentication information. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a handler that signs HTTP requests with a shared key. - - - - - Initializes a new instance of the class. - - A canonicalizer that converts HTTP request data into a standard form appropriate for signing. - A object providing credentials for the request. - The name of the storage account that the HTTP request will access. - - - - Signs the specified HTTP request with a shared key. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a handler that signs HTTP requests with a shared key. - - - - - Initializes a new instance of the class. - - A canonicalizer that converts HTTP request data into a standard form appropriate for signing. - A object providing credentials for the request. - The name of the storage account that the HTTP request will access. - - - - Signs the specified HTTP request with a shared key. - - The HTTP request to sign. - An object that represents the context for the current operation. - - - - Represents a stream for writing to a blob. - - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying blob, and commits the blob. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Initializes a new instance of the BlobWriteStream class for a block blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The ICryptoTransform function for the request. - - - - Initializes a new instance of the BlobWriteStream class for a page blob. - - Blob reference to write to. - Size of the page blob. - Use true if the page blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The ICryptoTransform function for the request. - - - - Initializes a new instance of the BlobWriteStream class for an append blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The ICryptoTransform function for the request. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - Not used. - Not used. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Begins an asynchronous write operation. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Waits for the pending asynchronous write to complete. - - The reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying blob. - - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying blob, and commits the blob. This should be the last operation - on the stream. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - An object containing a reference to the pending asynchronous request to finish. - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets the length in bytes of the stream. - - - - - Gets or sets the position within the current stream. - - - - - Represents an encryption policy for performing envelope encryption/decryption of Azure blobs. - - - - - Initializes a new instance of the class with the specified key and resolver. - - An object of type that is used to wrap/unwrap the content key during encryption. - The key resolver used to select the correct key for decrypting existing blobs. - If the generated policy is to be used for encryption, users are expected to provide a key at the minimum. - The absence of key will cause an exception to be thrown during encryption.
- If the generated policy is intended to be used for decryption, users can provide a key resolver. The client library will:
- 1. Invoke the key resolver, if specified, to get the key.
- 2. If resolver is not specified but a key is specified, the client library will match the key ID against the key and use the key.
-
- - - Return a reference to a object, given a user stream. This method is used for decrypting blobs. - - The output stream provided by the user. - A reference to a dictionary containing blob metadata that includes the encryption data. - The function for the request. - A boolean value to indicate whether the data read from the server should be encrypted. - The iv to use if pre-buffered. Used only for range reads. - Value indicating if the padding mode should be set or not. - A reference to a that will be written to. - - - - Internal helper method to wrap a user provided stream with the appropriate crypto stream. - - - - - Set up the encryption context required for encrypting blobs. - - Reference to blob metadata object that is used to set the encryption materials. - Value indicating if the padding mode should be set or not. - - - - Gets and sets the blob encryption mode. - - A enum value. - - - - An object of type that is used to wrap/unwrap the content key during encryption. - - - - - Gets or sets the key resolver used to select the correct key for decrypting existing blobs. - - A resolver that returns an , given a key ID. - - - - Initializes a new instance of the BlobReadStreamBase class. - - Blob reference to read from - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - Seeking in a BlobReadStream disables MD5 validation. - - - - This operation is not supported in BlobReadStreamBase. - - Not used. - - - - This operation is not supported in BlobReadStreamBase. - - Not used. - Not used. - Not used. - - - - This operation is a no-op in BlobReadStreamBase. - - - - - Read as much as we can from the internal buffer - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Calculates the number of bytes to read from the blob. - - Number of bytes to read. - - - - Updates the blob MD5 with newly downloaded content. - - The buffer to read the data from. - The byte offset in buffer at which to begin reading data. - The maximum number of bytes to read. - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets or sets the position within the current stream. - - - - - Gets the length in bytes of the stream. - - The length in bytes of the stream. - - - - Initializes a new instance of the BlobReadStream class. - - Blob reference to read from - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Reads a sequence of bytes from the current stream and advances the - position within the stream by the number of bytes read. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Begins an asynchronous read operation. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Dispatches an async read operation that either reads from the cache or makes a call to - the server. - - The reference to the pending asynchronous request to finish. - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Dispatches a sync read operation that either reads from the cache or makes a call to - the server. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Initializes a new instance of the BlobWriteStreamBase class. - - The service client. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStreamBase class for a block blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStreamBase class for a page blob. - - Blob reference to write to. - Size of the page blob. - Use true if the page blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStreamBase class for an append blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - Not used. - Not used. - - - - Calculates the new position within the current stream for a Seek operation. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - This operation is not supported in BlobWriteStreamBase. - - Not used. - - - - Generates a new block ID to be used for PutBlock. - - Base64 encoded block ID - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets the length in bytes of the stream. - - - - - Gets or sets the position within the current stream. - - - - - Initializes a new instance of the BlobWriteStream class for a block blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStream class for a page blob. - - Blob reference to write to. - Size of the page blob. - Use true if the page blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Initializes a new instance of the BlobWriteStream class for an append blob. - - Blob reference to write to. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Begins an asynchronous write operation. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Waits for the pending asynchronous write to complete. - - The reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying blob. - - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when noPendingWritesEvent is signalled indicating that there are no outstanding write requests. - - An object containing information to be used by the callback method each time it executes. - true if the WaitHandle timed out; false if it was signaled. - - - - Releases the blob resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying blob, and commits the blob. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when the pending flush operation completes so that we can continue with the commit. - - The result of the asynchronous operation. - - - - Called when the block blob commit operation completes. - - The result of the asynchronous operation. - - - - Called when the page or append blob commit operation completes. - - The result of the asynchronous operation. - - - - Dispatches a write operation. - - The reference to the pending asynchronous request to finish. - - - - Starts an asynchronous PutBlock operation as soon as the parallel - operation semaphore becomes available. - - Data to be uploaded - Block ID - MD5 hash of the data to be uploaded - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous PutBlock operation completes. - - The result of the asynchronous operation. - - - - Starts an asynchronous WritePages operation as soon as the parallel - operation semaphore becomes available. - - Data to be uploaded - Offset within the page blob - MD5 hash of the data to be uploaded - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous WritePages operation completes. - - The result of the asynchronous operation. - - - - Starts an asynchronous AppendBlock operation as soon as the parallel - operation semaphore becomes available. Since parallelism is always set - to 1 for append blobs, appendblock operations are called serially. - - Data to be uploaded. - Offset within the append blob to be used to set the append offset conditional header. - MD5 hash of the data to be uploaded. - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous AppendBlock operation completes. - - The result of the asynchronous operation. - - - - This value is used mainly to provide async commit functionality(BeginCommit) to BlobEncryptedWriteStream. CryptoStream does not provide begin/end - flush. It only provides a blocking sync FlushFinalBlock call which calls the underlying stream's flush method (BlobWriteStream in this case). - By setting this to true while initiliazing the write stream, it is ensured that BlobWriteStream's Flush does not do anything and - just returns. Therefore BeginCommit first just flushes all the data from the crypto stream's buffer to the blob write stream's buffer. The client - library then sets this property to false and calls BeginCommit on the write stream and returns the async result back to the user. This time flush actually - does its work and sends the buffered data over to the service. - - - - - Represents an append blob, a type of blob where blocks of data are always committed to the end of the blob. - - - Represents an append blob, a type of blob where blocks of data are always committed to the end of the blob. - - - - - Represents a blob. - - - Represents a blob object. - - - - - Represents an item that may be returned by a blob listing operation. - - - - - Gets the URI to the blob item, at the primary location. - - The for the blob item. - - - - Gets the blob item's URIs for both the primary and secondary locations. - - An object of type containing the blob item's URIs for both the primary and secondary locations. - - - - Gets the blob item's parent virtual directory. - - A object. - - - - Gets the blob item's container. - - A object. - - - - Opens a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object to be used for reading from the blob. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Ends an asynchronous operation to open a stream for reading from the blob. - - An that references the pending asynchronous operation. - A object to be used for reading from the blob. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Downloads the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a file. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The offset at which to begin downloading the blob, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Checks existence of the blob. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob exists. - - - - Checks existence of the blob. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the blob exists. - - - - Begins an asynchronous request to check existence of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the blob. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check existence of the blob. - - An that references the pending asynchronous operation. - true if the blob exists. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Populates a blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the blob's properties and metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's properties. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob did already exist and was deleted; otherwise false. - - - - Begins an asynchronous request to delete the blob if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the blob if it already exists. - - An that references the pending asynchronous operation. - true if the blob did already exist and was deleted; otherwise, false. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Acquires a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The ID of the acquired lease. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to acquire a lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - The ID of the acquired lease. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Renews a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to renew a lease on this blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Changes the lease ID on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The new lease ID. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to change the lease on this blob. - - An that references the pending asynchronous operation. - The new lease ID. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Releases the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to release the lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Breaks the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A representing the amount of time before the lease ends, to the second. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to break the current lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - A representing the amount of time before the lease ends, to the second. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Begins an operation to start copying another blob's contents, properties, and metadata to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob. - - The of the source blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob. - - An that references the pending asynchronous operation. - A string containing the copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Aborts an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to abort an ongoing blob copy operation. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Implements getting the stream without specifying a range. - - The attributes. - The destination stream. - The offset. - The length. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that gets the stream. - - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that fetches the attributes. - - - - - Implementation for the Exists method. - - The attributes. - A object that specifies additional options for the request. - If true, the command will be executed against the primary location. - - A that checks existence. - - - - - Implementation for the SetMetadata method. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that sets the metadata. - - - - - Implementation for the SetProperties method. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that sets the properties. - - - - - Implements the DeleteBlob method. - - The attributes. - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that deletes the blob. - - - - - Generates a for acquiring a lease. - - The attributes. - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the acquire lease operation. - - - - - Generates a for renewing a lease. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the renew lease operation. - - accessCondition - - - - Generates a for changing a lease ID. - - The attributes. - The proposed new lease ID. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the change lease ID operation. - - accessCondition - - - - Generates a for releasing a lease. - - The attributes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the release lease operation. - - accessCondition - - - - Generates a for breaking a lease. - - The attributes. - The amount of time to allow the lease to remain, rounded down to seconds. - If null, the break period is the remainder of the current lease, or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A implementing the break lease operation. - - - - - Implementation of the StartCopy method. Result is a BlobAttributes object derived from the response headers. - - The attributes. - The URI of the source blob. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - - A that starts to copy. - - sourceAccessCondition - - - - Implementation of the AbortCopy method. No result is produced. - - The attributes. - The copy ID of the copy operation to abort. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that aborts the copy. - - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Called when the asynchronous operation to commit the blob started by UploadFromStream finishes. - - The result of the asynchronous operation. - - - - Updates this blob with the given attributes at the end of a fetch attributes operation. - - The new attributes. - The response. - if set to true, blob's MD5 will not be updated. - - - - - Retrieve ETag, LMT, Length and Sequence-Number from response. - - The attributes. - The response to parse. - If set to true, update the blob length. - - - - Converts the source blob of a copy operation to an appropriate access URI, taking Shared Access Signature credentials into account. - - The source blob. - A URI addressing the source blob, using SAS if appropriate. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A containing the absolute URI to the blob at both the primary and secondary locations. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Stores the that contains this blob. - - - - - Stores the blob's parent . - - - - - Stores the blob's attributes. - - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - - - - Gets the canonical name of the blob, formatted as blob/<account-name>/<container-name>/<blob-name>. - If ignoreSnapshotTime is false and this blob is a snapshot, the canonical name is augmented with a - query of the form ?snapshot=<snapshot-time>. - This is used by both Shared Access and Copy blob operations. - - Indicates if the snapshot time is ignored. - The canonical name of the blob. - - - - Parse URI for SAS (Shared Access Signature) and snapshot information. - - The complete Uri. - The credentials to use. - - - - Gets the object that represents the Blob service. - - A object. - - - - Gets or sets the minimum number of bytes to buffer when reading from a blob stream. - - The minimum number of bytes to buffer, being at least 16 KB. - - - - Gets the blob's system properties. - - A object. - - - - Gets the user-defined metadata for the blob. - - An object containing the blob's metadata as a collection of name-value pairs. - - - - Gets the blob's URI for the primary location. - - A specifying the absolute URI to the blob at the primary location. - - - - Gets the blob's URIs for both the primary and secondary locations. - - An object of type containing the blob's URIs for both the primary and secondary locations. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - A containing the blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets a value indicating whether this blob is a snapshot. - - true if this blob is a snapshot; otherwise, false. - - - - Gets the absolute URI to the blob, including query string information if the blob is a snapshot. - - A specifying the absolute URI to the blob, including snapshot query information if the blob is a snapshot. - - - - Gets the blob's URI for both the primary and secondary locations, including query string information if the blob is a snapshot. - - An object of type containing the blob's URIs for both the primary and secondary locations, - including snapshot query information if the blob is a snapshot. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if there is no copy state for the blob. - - - - Gets the name of the blob. - - A string containing the name of the blob. - - - - Gets a object representing the blob's container. - - A object. - - - - Gets the object representing the virtual parent directory for the blob. - - A object. - - - - Gets the type of the blob. - - A enumeration value. - - - - An interface required for Windows Azure blob types. The and classes implement the interface. - - - An interface required for Windows Azure blob types. The and classes implement the interface. - - - - - Opens a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A stream to be used for reading from the blob. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Begins an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - On the object returned by the method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Ends an asynchronous operation to open a stream for reading from the blob. - - An that references the pending asynchronous operation. - A stream to be used for reading from the blob. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Initiates an asynchronous operation to open a stream for reading from the blob. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - On the object returned by this method, the - method must be called exactly once for every call. - Failing to end the read process before beginning another read process can cause unexpected behavior. - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the minimum - number of bytes to buffer when reading from the stream. The value must be at least 16 KB. - - - - - Uploads a stream to the Windows Azure Blob Service. - - The stream providing the blob content. Use a seek-able stream for optimal performance. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to the Windows Azure Blob Service. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a blob. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a file to the Windows Azure Blob Service. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a stream. - - A object representing the target stream. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a file. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a file. - - A string containing the path to the target file. - A enumeration value that determines how to open or create the file. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the contents of a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a stream. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a stream. - - A object representing the target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download a range of bytes from a blob to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type int that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download a range of bytes from a blob to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type int that represents the asynchronous operation. - - - - Checks existence of the blob. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob exists. - - - - Begins an asynchronous request to check existence of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check existence of the blob. - - An that references the pending asynchronous operation. - true if the blob exists. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check existence of the blob. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Populates a blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the blob's properties and metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to populate the blob's properties and metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's metadata. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's metadata. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the blob's properties. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the blob's properties. - - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the blob did not already exist and was created; otherwise false. - - - - Begins an asynchronous request to delete the blob if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the blob if it already exists. - - An that references the pending asynchronous operation. - true if the blob did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the blob if it already exists. - - Whether to only delete the blob, to delete the blob and all snapshots, or to only delete the snapshots. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Acquires a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The ID of the acquired lease. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to acquire a lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - The ID of the acquired lease. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to acquire a lease on this blob. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Renews a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to renew a lease on this blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to renew a lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Changes the lease ID on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The new lease ID. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to change the lease on this blob. - - An that references the pending asynchronous operation. - The new lease ID. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to change the lease on this blob. - - A string representing the proposed lease ID for the new lease. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Releases the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to release the lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to release the lease on this blob. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Breaks the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A representing the amount of time before the lease ends, to the second. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to break the current lease on this blob. - - An IAsyncResult that references the pending asynchronous operation. - A representing the amount of time before the lease ends, to the second. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to break the current lease on this blob. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Aborts an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to abort an ongoing blob copy operation. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing blob copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the blob. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a blob accessed with this SAS. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - - - - Gets the blob's name. - - A string containing the name of the blob. - - - - Gets the object that represents the Blob service. - - A object. - - - - Gets or sets the number of bytes to buffer when writing to a page blob stream or - the block size for writing to a block blob. - - The number of bytes to buffer or the size of a block, in bytes. - - - - Gets or sets the minimum number of bytes to buffer when reading from a blob stream. - - The minimum number of bytes to buffer. - - - - Gets the blob's system properties. - - A object. - - - - Gets the user-defined metadata for the blob. - - An object containing the blob's metadata as a collection of name-value pairs. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - A containing the blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets a value indicating whether this blob is a snapshot. - - true if this blob is a snapshot; otherwise, false. - - - - Gets the absolute URI to the blob, including query string information if the blob is a snapshot. - - A specifying the absolute URI to the blob, including snapshot query information if the blob is a snapshot. - - - - Gets the blob's URI for both the primary and secondary locations, including query string information if the blob is a snapshot. - - An object of type containing the blob's URIs for both the primary and secondary locations, - including snapshot query information if the blob is a snapshot. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if there is no copy state for the blob. - - - - Gets the type of the blob. - - A enumeration value. - - - - Opens a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - - - - - Begins an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to open a stream for writing to the blob. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. - - Use true to create a new append blob or overwrite an existing one, false to append to an existing blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Uploads a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Appends a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - true if the append blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - true if the append blob is newly created, false otherwise. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to upload a stream to an append blob. - - An that references the pending asynchronous operation. - - - - Ends an asynchronous operation to append a stream to an append blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a stream to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a stream to an append blob. Recommended only for single-writer scenarios. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Ends an asynchronous operation to upload a file to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a file to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a file to an append blob. Recommended only for single-writer scenarios. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends the contents of a byte array to an append blob.Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Ends an asynchronous operation to upload the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Begins an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append the contents of a byte array to an append blob. Recommended only for single-writer scenarios. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - - - - - Initiates an asynchronous operation to append the contents of a byte array to an append blob.This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to upload the contents of a byte array to an append blob.This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Uploads a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Appends a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Begins an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Begins an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Ends an asynchronous operation to upload a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An that references the pending asynchronous operation. - - - - Begins an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Ends an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to upload a string of text to an append blob. If the blob already exists, it will be overwritten. Recommended only for single-writer scenarios. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Use this method only in single-writer scenarios. Internally, this method uses the append-offset conditional header to avoid duplicate blocks, which may cause problems in multiple-writer scenarios. - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - To append data to an append blob that already exists, see . - - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Initiates an asynchronous operation to append a string of text to an append blob. This API should be used strictly in a single writer scenario - because the API internally uses the append-offset conditional header to avoid duplicate blocks which does not work in a multiple writer scenario. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - If you have a single-writer scenario, see to determine whether setting this flag to true is acceptable for your scenario. - - - - - Creates an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create an append blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create an append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create an empty append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Commits a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The offset at which the block was appended. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Ends an asynchronous operation to commit a new block of data to the end of the blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to commit a new block of data to the end of the blob. - - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Append Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Downloads the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The contents of the blob, as a string. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the blob's contents as a string. - - An that references the pending asynchronous operation. - The contents of the blob, as a string. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Begins an operation to start copying another append blob's contents, properties, and metadata to this append blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another append blob's contents, properties, and metadata to this append blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Implements the Create method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the blob. - - - - Commits the block to the end of the blob. - - The source stream. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that commits the block to the end of the blob. - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A containing the absolute URI to the blob at both the primary and secondary locations. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Gets or sets the number of bytes to buffer when writing to an append blob stream. - - The size of a block, in bytes, ranging from between 16 KB and 4 MB inclusive. - - - - Provides a client-side logical representation of the Windows Azure Blob service. This client is used to configure and execute requests against the Blob service. - - The service client encapsulates the endpoint or endpoints for the Blob service. If the service client will be used for authenticated access, - it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure Blob service. This client is used to configure and execute requests against the Blob service. - - The service client encapsulates the endpoint or endpoints for the Blob service. If the service client will be used for authenticated access, it also encapsulates - the credentials for accessing the storage account. - - - - Returns an enumerable collection of containers whose names - begin with the specified prefix and that are retrieved lazily. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that are retrieved lazily. - - - - Returns a result segment containing a collection of objects. - - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of objects. - - A string containing the container name prefix. - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of containers whose names begin with the specified prefix. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Returns a result segment containing a collection of containers - whose names begin with the specified prefix. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A of type . - - - - Begins an asynchronous request to return a result segment containing a collection of containers. - - A object returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A object returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of containers - whose names begin with the specified prefix. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of containers. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A object returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A object returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A object returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A object returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of containers. - - A string containing the container name prefix. - A enumeration value that indicates whether to return container metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Returns an enumerable collection of blobs in the container, retrieved lazily. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A object returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix, including the container name. - A object returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A object returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An object. - - - - Gets a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies any additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An object. - - - - Begins an asynchronous operation to get a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies any additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get a reference to a blob. - - An that references the pending asynchronous operation. - An object. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Returns a object that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. The service assumes this is the URI for the blob at the primary location. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - An object that specifies any additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - An object that specifies any additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Core implementation for the ListContainers method. - - The container prefix. - The details included. - The continuation token. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object that specifies additional options for the request. - A that lists the containers. - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - A containing the URI of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that fetches the attributes. - - - - Begins an asynchronous operation to get service properties for the Blob service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service properties for the Blob service. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service properties for the Blob service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to set service properties for the Blob service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set service properties for the Blob service. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets service properties for the Blob service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to get service stats for the secondary Blob service endpoint. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service stats for the secondary Blob service endpoint. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service stats for the secondary Blob service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Stores the default delimiter. - - - - - Initializes a new instance of the class using the specified Blob service endpoint - and anonymous credentials. - - A object containing the Blob service endpoint to use to create the client. - - - - Initializes a new instance of the class using the specified Blob service endpoint - and account credentials. - - A object containing the Blob service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified Blob service endpoint - and account credentials. - - A object containing the Blob service endpoint to use to create the client. - A object. - - - - Returns a reference to the root container. - - A object. - Note that the root container must be explicitly created, if it does not already exist, before - you can read from it or write to it. - - - - Returns a reference to a object with the specified name. - - A string containing the name of the container. - A object. - - - - Parses the user prefix. - - The prefix. - Name of the container. - The listing prefix. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - This property is set only when Shared Key or Shared Key Lite credentials are used; it does not apply to authentication via a shared access signature - or anonymous access. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the Blob service client. - - An object of type . - - - - Gets the account credentials used to create the Blob service client. - - A object. - - - - Gets the base URI for the Blob service client at the primary location. - - A object containing the base URI used to construct the Blob service client at the primary location. - - - - Gets the Blob service endpoints for both the primary and secondary locations. - - An object of type containing Blob service URIs for both the primary and secondary locations. - - - - Gets or sets the default request options for requests made via the Blob service client. - - A object. - - - - Gets or sets the default retry policy for requests made via the Blob service client. - - An object of type . - - - - Gets or sets the default delimiter that may be used to create a virtual directory structure of blobs. - - A string containing the default delimiter for the Blob service. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Represents a container in the Windows Azure Blob service. - - - Represents a container in the Windows Azure Blob service. - - - - - Creates the container. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Creates the container and specifies the level of access to the container's data. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a container. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a container and specify the level of access to the container's data. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that creates a container. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that creates a container. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that creates a container. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that creates a container and specifies the level of access to the container's data. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Creates the container if it does not already exist and specifies whether the container or its blobs are publicly accessible. - - An object that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the container if it does not already exist. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the container if it does not already exist. - - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous request to create the container if it does not already exist. - - An that references the pending asynchronous operation. - true if the container did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation that creates the container if it does not already exist. - - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the container did not already exist and was created; otherwise false. - - - - Begins an asynchronous request to delete the container if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the container if it already exists. - - An that references the pending asynchronous operation. - true if the container did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that deletes the container if it already exists. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A reference to the blob. - - - - Begins an asynchronous operation to get a reference to a blob in this container. - - A string containing the name of the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get a reference to a blob in this container. - - An that references the pending asynchronous operation. - A reference to the blob. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets a reference to a blob in this container. - - A string containing the name of the blob. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Returns an enumerable collection of the blobs in the container that are retrieved lazily. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of blob items - in the container. - - An that references the pending asynchronous operation. - A result segment containing objects that implement . - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that returns a result segment containing a collection of blob items - in the container. - - A string containing the blob name prefix. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous request to set permissions for the container. - - The permissions to apply to the container. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to set permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to set permissions for the container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the container. - - The permissions to apply to the container. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The container's permissions. - - - - Begins an asynchronous request to get the permissions settings for the container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to get the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the container. - - An that references the pending asynchronous operation. - The container's permissions. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Checks whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container exists. - - - - Checks whether the container exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the container exists. - - - - Begins an asynchronous request to check whether the container exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the container exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check whether the container exists. - - An that references the pending asynchronous operation. - true if the container exists. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that checks whether the container exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Retrieves the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to retrieve the container's attributes. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to retrieve the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to retrieve the container's attributes. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that retrieves the container's attributes. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets the container's user-defined metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set user-defined metadata on the container. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set user-defined metadata on the container. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous request operation to set user-defined metadata on the container. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets container's user-defined metadata. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The ID of the acquired lease. - - - - Begins an asynchronous operation to acquire a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to acquire a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to acquire a lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - The ID of the acquired lease. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that acquires a lease on this container. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to renew a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to renew a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to renew a lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that renews a lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The new lease ID. - - - - Begins an asynchronous operation to change the lease on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to change the lease on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to change the lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - The new lease ID. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that changes the lease ID on this container. - - A string representing the proposed lease ID for the new lease. This cannot be null. - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to release the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to release the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to release the lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that releases the lease on this container. - - An object that represents the condition that must be met in order for the request to proceed, including a required lease ID. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A representing the amount of time before the lease ends, to the second. - - - - Begins an asynchronous operation to break the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to break the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An optional callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to break the current lease on this container. - - An IAsyncResult that references the pending asynchronous operation. - A representing the amount of time before the lease ends, to the second. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that breaks the current lease on this container. - - A representing the amount of time to allow the lease to remain, - which will be rounded down to seconds. If null, the break period is the remainder of the current lease, - or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Generates a RESTCommand for acquiring a lease. - - A representing the span of time for which to acquire the lease, - which will be rounded down to seconds. If null, an infinite lease will be acquired. If not null, this must be - greater than zero. - A string representing the proposed lease ID for the new lease, or null if no lease ID is proposed. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. May not be null. - A RESTCommand implementing the acquire lease operation. - - - - Generates a RESTCommand for renewing a lease. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - The options for this operation, including the current lease ID. - This cannot be null. - A RESTCommand implementing the renew lease operation. - - - - Generates a RESTCommand for changing a lease ID. - - The proposed new lease ID. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - The options for this operation, including the current lease ID. This cannot be null. - A RESTCommand implementing the change lease ID operation. - - - - Generates a RESTCommand for releasing a lease. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - The options for this operation, including the current lease ID. - This cannot be null. - A RESTCommand implementing the release lease operation. - - - - Generates a RESTCommand for breaking a lease. - - The amount of time to allow the lease to remain, rounded down to seconds. - If null, the break period is the remainder of the current lease, or zero for infinite leases. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. May not be null. - A RESTCommand implementing the break lease operation. - - - - Implementation for the Create method. - - A object that specifies additional options for the request. - An object that specifies whether data in the container may be accessed publicly and the level of access. - A that creates the container. - - - - Implementation for the Delete method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that deletes the container. - - - - Implementation for the FetchAttributes method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - A object that specifies additional options for the request. - If true, the command will be executed against the primary location. - A that checks existence. - - - - Implementation for the SetMetadata method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetPermissions method. - - The permissions to set. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the GetPermissions method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Selects the protocol response. - - The protocol item. - The parsed . - - - - Core implementation of the ListBlobs method. - - The blob prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. - A continuation token returned by a previous listing operation. - A that lists the blobs. - - - - Retrieve ETag and LastModified date time from response. - - The response to parse. - - - - Initializes a new instance of the class. - - A object specifying the absolute URI to the container. - - - - Initializes a new instance of the class. - - A object specifying the absolute URI to the container. - A object. - - - - Initializes a new instance of the class. - - A object specifying the absolute URI to the container. - A object. - - - - Initializes a new instance of the class. - - A string specifying the container name. - A object. - - - - Initializes a new instance of the class. - - The properties. - The metadata. - The container name. - The client to be used. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Returns the canonical name for shared access. - - The canonical name. - - - - Returns a shared access signature for the container. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the container. - - A object specifying the access policy for the shared access signature. - A container-level access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the container. - - A object specifying the access policy for the shared access signature. - A container-level access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Gets a reference to a page blob in this container. - - A string containing the name of the page blob. - A object. - - - - Returns a reference to a page blob in this virtual directory. - - A string containing the name of the page blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a block blob in this container. - - A string containing the name of the block blob. - A object. - - - - Gets a reference to a block blob in this container. - - A string containing the name of the block blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to an append blob in this container. - - A string containing the name of the append blob. - A object. - - - - Gets a reference to an append blob in this container. - - A string containing the name of the append blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a blob in this container. - - A string containing the name of the blob. - A object. - - - - Gets a reference to a blob in this container. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a virtual blob directory beneath this container. - - A string containing the name of the virtual blob directory. - A object. - - - - Gets the Blob service client for the container. - - A object. - - - - Gets the container's URI for the primary location. - - A specifying the absolute URI to the container at the primary location. - - - - Gets the container's URIs for both the primary and secondary locations. - - An object of type containing the container's URIs for both the primary and secondary locations. - - - - Gets the name of the container. - - A string containing the container name. - - - - Gets the container's metadata. - - An object containing the container's metadata. - - - - Gets the container's system properties. - - A object. - - - - Represents a virtual directory of blobs, designated by a delimiter character. - - Containers, which are encapsulated as objects, hold directories, and directories hold block blobs and page blobs. Directories can also contain sub-directories. - - Represents a virtual directory of blobs on the client which emulates a hierarchical data store by using delimiter characters. - - - - - Returns an enumerable collection of the blobs in the virtual directory that are retrieved lazily. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of blob items - in the virtual directory. - - A object returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A continuation token returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A continuation token returned by a previous listing operation. - A object of type . - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type . - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type . - - - - Initiates an asynchronous operation to return a result segment containing a collection of blob items - in the virtual directory. - - A boolean value that specifies whether to list blobs in a flat listing, or whether to list blobs hierarchically, by virtual directory. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type . - - - - Stores the parent directory. - - - - - Initializes a new instance of the class given an address and a client. - - The blob directory's Uri. - The blob directory's prefix. - The container for the virtual directory. - - - - Gets a reference to a page blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Returns a reference to a page blob in this virtual directory. - - The name of the page blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a block blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Gets a reference to a block blob in this virtual directory. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to an append blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Gets a reference to an append blob in this virtual directory. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Gets a reference to a blob in this virtual directory. - - A string containing the name of the blob. - A object. - - - - Gets a reference to a blob in this virtual directory. - - A string containing the name of the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Returns a virtual subdirectory within this virtual directory. - - The name of the virtual subdirectory. - A object representing the virtual subdirectory. - - - - Gets the Blob service client for the virtual directory. - - A object. - - - - Gets the URI that identifies the virtual directory for the primary location. - - A containing the URI to the virtual directory, at the primary location. - - - - Gets the blob directory's URIs for both the primary and secondary locations. - - An object of type containing the blob directory's URIs for both the primary and secondary locations. - - - - Gets the container for the virtual directory. - - A object. - - - - Gets the parent directory for the virtual directory. - - A object. - - - - Gets the prefix. - - A string containing the prefix. - - - - Represents a blob that is uploaded as a set of blocks. - - - Represents a blob that is uploaded as a set of blocks. - - - - - Opens a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A to be used for writing to the blob. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Ends an asynchronous operation to open a stream for writing to the blob. - - An that references the pending asynchronous operation. - A to be used for writing to the blob. - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, it will be overwritten. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Uploads a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a block blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a block blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a file to the Blob service. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a string of text to a blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a string of text to a blob. If the blob already exists, it will be overwritten. - - A string containing the text to upload. - A object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Downloads the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The contents of the blob, as a string. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the blob's contents as a string. - - An that references the pending asynchronous operation. - The contents of the blob, as a string. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to download the blob's contents as a string. - - An object that indicates the text encoding to use. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Uploads a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Returns an enumerable collection of the blob's blocks, using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects implementing . - - - - Begins an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Ends an asynchronous operation to upload a single block. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to upload a single block. - - A Base64-encoded string that identifies the block. - A object that provides the data for the block. - An optional hash value used to ensure transactional integrity for the block. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Put Block operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an operation to start copying an Azure file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a file's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob. - - A object. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Begins an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - An that references the pending asynchronous operation. - An enumerable collection of objects implementing . - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return an enumerable collection of the blob's blocks, - using the specified block list filter. - - A enumeration value that indicates whether to return - committed blocks, uncommitted blocks, or both. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Uploads a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a list of blocks to a new or existing blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a list of blocks to a new or existing blob. - - An enumerable collection of block IDs, as Base64-encoded strings. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the full blob from a seekable stream. - - The content stream. Must be seekable. - Number of bytes to upload from the content stream starting at its current position. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the stream. - - - - Uploads the block. - - The source stream. - The block ID. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that uploads the block. - - - - Uploads the block list. - - The blocks to upload. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that uploads the block list. - - - - Gets the download block list. - - The types of blocks. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the download block list. - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A specifying the absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - A containing the absolute URI to the blob at both the primary and secondary locations. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Gets or sets the block size for writing to a block blob. - - The size of a block, in bytes, ranging from between 16 KB and 4 MB inclusive. - - - - Represents a Windows Azure page blob. - - - Represents a Windows Azure page blob. - - - - - Opens a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the block size to write, in bytes, - ranging from between 16 KB and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Begins an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Ends an asynchronous operation to open a stream for writing to the blob. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, see . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Initiates an asynchronous operation to open a stream for writing to the blob. If the blob already exists, then existing data in the blob may be overwritten. - - The size of the page blob, in bytes. The size must be a multiple of 512. If null, the page blob must already exist. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - Note that this method always makes a call to the method under the covers. - Set the property before calling this method to specify the page size to write, in multiples of 512 bytes, - ranging from between 512 and 4 MB inclusive. - To throw an exception if the blob exists instead of overwriting it, pass in an - object generated using . - - - - - Uploads a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a stream to a page blob. If the blob already exists, it will be overwritten. - - A object providing the blob content. - The number of bytes to write from the source stream at its current position. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload a file to a page blob. If the blob already exists, it will be overwritten. - - A string containing the file path providing the blob content. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Uploads the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to upload the contents of a byte array to a page blob. If the blob already exists, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the blob. - The number of bytes to be written to the blob. - An object that represents the condition that must be met in order for the request to proceed. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the page blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - The maximum size of the page blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - The maximum size of the blob, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, - use . - - The maximum size of the blob, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a page blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, pass in an - object generated using . - - The maximum size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Resizes the page blob to the specified size. - - The size of the page blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to resize the page blob to the specified size. - - The size of the page blob, in bytes. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to resize the page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to resize the page blob to the specified size. - - The size of the blob, in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set the page blob's sequence number. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the page blob's sequence number. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if is equal to . - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets a collection of valid page ranges and their starting and ending bytes. - - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of page ranges. - - - - Begins an asynchronous operation to return a collection of valid page ranges and their starting and ending bytes. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a collection of valid page ranges and their starting and ending bytes. - - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a collection of valid page ranges and their starting and ending bytes. - - An that references the pending asynchronous operation. - An enumerable collection of page ranges. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a collection of page ranges and their starting and ending bytes. - - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Gets the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of page ranges. - - - - Begins an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - An that references the pending asynchronous operation. - An enumerable collection of page ranges. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return the collection of page ranges that differ between a specified snapshot and this object. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range, in bytes. Must be a multiple of 512. - The length of the data range, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Creates a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object that is a blob snapshot. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request, or null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a snapshot of the blob. - - An that references the pending asynchronous operation. - A object that is a blob snapshot. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a snapshot of the blob. - - A collection of name-value pairs defining the metadata of the snapshot. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Writes pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Begins an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Ends an asynchronous operation to write pages to a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Initiates an asynchronous operation to write pages to a page blob. - - A object providing the page data. - The offset at which to begin writing, in bytes. The offset must be a multiple of 512. - An optional hash value used to ensure transactional integrity for the page. May be null or an empty string. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - Clients may send the Content-MD5 header for a given Write Pages operation as a means to ensure transactional integrity over the wire. - The parameter permits clients who already have access to a pre-computed MD5 value for a given byte range to provide it. - If the property is set to true and the parameter is set - to null, then the client library will calculate the MD5 value internally. - - - - - Clears pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to clear pages from a page blob. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear pages from a page blob. - - The offset at which to begin clearing pages, in bytes. The offset must be a multiple of 512. - The length of the data range to be cleared, in bytes. The length must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Begins an operation to start copying another page blob's contents, properties, and metadata to this page blob. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the blob's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another page blob's contents, properties, and metadata to this page blob. - - The that is the source blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another page blob's contents, properties, and metadata to this page blob. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata - to this page blob. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination blob. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Implements the Create method. - - The size in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the blob. - - - - Implementation for the Resize method. - - The size in bytes. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetSequenceNumber method. - - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if this operation is an increment action. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the sequence number. - - - - Implementation for the GetPageRanges method. - - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A for getting the page ranges. - - - - Implementation for the GetPageRangesDiff method. - - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A for getting the page ranges. - - - - Implementation method for the WritePage methods. - - The page data. - The start offset. - The content MD5. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that writes the pages. - - - - Implementation method for the ClearPage methods. - - The start offset. Must be multiples of 512. - Length of the data range to be cleared. Must be multiples of 512. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that writes the pages. - - - - Implementation for the Snapshot method. - - A collection of name-value pairs defining the metadata of the snapshot, or null. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the snapshot. - If the metadata parameter is null then no metadata is associated with the request. - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using an absolute URI to the blob. - - The absolute URI to the blob. The service assumes this is the URI for the blob in the primary location. - A specifying the snapshot timestamp, if the blob is a snapshot. - A object. - - - - Initializes a new instance of the class using the specified blob name and - the parent container reference. - If snapshotTime is not null, the blob instance represents a Snapshot. - - Name of the blob. - Snapshot time in case the blob is a snapshot. - The reference to the parent container. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Gets or sets the number of bytes to buffer when writing to a page blob stream. - - The number of bytes to buffer, ranging from between 512 bytes and 4 MB inclusive. - - - - Provides a set of methods for parsing a response containing blob data from the Blob service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the blob's properties from the response. - - The web response. - The blob's properties. - - - - Extracts the lease status from a web response. - - The web response. - A enumeration from the web response. - If the appropriate header is not present, a status of is returned. - The header contains an unrecognized value. - - - - Extracts the lease state from a web response. - - The web response. - A enumeration from the web response. - If the appropriate header is not present, a status of is returned. - The header contains an unrecognized value. - - - - Extracts the lease duration from a web response. - - The web response. - A enumeration from the web response. - If the appropriate header is not present, a status of is returned. - The header contains an unrecognized value. - - - - Extracts the lease ID header from a web response. - - The web response. - The lease ID. - - - - Extracts the remaining lease time from a web response. - - The web response. - The remaining lease time, in seconds. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Extracts a object from the headers of a web response. - - The HTTP web response. - A object, or null if the web response does not include copy state. - - - - Gets the snapshot timestamp from the response. - - The web response. - The snapshot timestamp. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Gets a from a string. - - The lease status string. - A enumeration. - If a null or empty string is supplied, a status of is returned. - The string contains an unrecognized value. - - - - Gets a from a string. - - The lease state string. - A enumeration. - If a null or empty string is supplied, a status of is returned. - The string contains an unrecognized value. - - - - Gets a from a string. - - The lease duration string. - A enumeration. - If a null or empty string is supplied, a status of is returned. - The string contains an unrecognized value. - - - - Builds a object from the given strings containing formatted copy information. - - The copy status, as a string. - The copy ID. - The source URI of the copy, as a string. - A string formatted as progressBytes/TotalBytes. - The copy completion time, as a string, or null. - The copy status description, if any. - A object populated from the given strings. - - - - A factory class for constructing HTTP web requests for the Blob service. - - - - - Creates a web request to get the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Blob service. - - A specifying the Blob service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes Blob service properties to a stream, formatted in XML. - - A object. - The object to which the formatted properties are to be written. - - - - Constructs a web request to create a new block blob or page blob, or to update the content - of an existing block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value. - For a page blob, the size of the blob. This parameter is ignored - for block blobs. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new block blob or page blob, or to update the content - of an existing block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value. - For a page blob, the size of the blob. This parameter is ignored - for block blobs. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds the snapshot. - - An object of type that contains additional parameters to add to the URI query string. - The snapshot version, if the blob is a snapshot. - - - - Constructs a web request to commit a block to an append blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to commit a block to an append blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of valid page ranges for a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of valid page ranges for a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of page ranges that differ between a specified snapshot and this object. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A representing the snapshot timestamp to use as the starting point for the diff. If this CloudPageBlob represents a snapshot, the previousSnapshotTime parameter must be prior to the current snapshot timestamp. - The starting offset of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - The length of the data range over which to list page ranges, in bytes. Must be a multiple of 512. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds the Range Header for Blob Service Operations. - - Request - Starting byte of the range - Number of bytes in the range - - - - Constructs a web request to return the blob's system properties. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the blob's system properties. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set system properties for a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The blob's properties. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set system properties for a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The blob's properties. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to resize a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The new blob size, if the blob is a page blob. Set this parameter to null to keep the existing blob size. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to resize a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The new blob size, if the blob is a page blob. Set this parameter to null to keep the existing blob size. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set a page blob's sequence number. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if this operation is an increment action. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set a page blob's sequence number. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A value of type , indicating the operation to perform on the sequence number. - The sequence number. Set this parameter to null if this operation is an increment action. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set user-defined metadata for the blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - A object. - A object containing the user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - A object. - A string containing the metadata name. - A string containing the metadata value. - - - - Constructs a web request to delete a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A set of options indicating whether to delete only blobs, only snapshots, or both. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A set of options indicating whether to delete only blobs, only snapshots, or both. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a snapshot of a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a snapshot of a blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the blob. - - A specifying the absolute URI to the blob. - The server timeout interval, in seconds. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the blob. - - A specifying the absolute URI to the blob. - The server timeout interval, in seconds. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds a proposed lease id to a request. - - The request. - The proposed lease id. - - - - Adds a lease duration to a request. - - The request. - The lease duration. - - - - Adds a lease break period to a request. - - The request. - The lease break period. - - - - Adds a lease action to a request. - - The request. - The lease action. - - - - Constructs a web request to write a block to a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A string specifying the block ID for this block. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to write a block to a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A string specifying the block ID for this block. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create or update a blob by committing a block list. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object specifying the properties to set for the blob. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create or update a blob by committing a block list. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object specifying the properties to set for the blob. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of blocks for a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A enumeration value. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the list of blocks for a block blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot timestamp, if the blob is a snapshot. - A enumeration value. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to write or clear a range of pages in a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value indicating the operation to perform on the page blob. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to write or clear a range of pages in a page blob. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A object. - A enumeration value indicating the operation to perform on the page blob. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to use to perform the operation. - - - - - Generates a web request to copy a blob or file to another blob. - - A specifying the absolute URI to the destination blob. - An integer specifying the server timeout interval. - A specifying the absolute URI to the source object, including any necessary authentication parameters. - An object that represents the condition that must be met on the source object in order for the request to proceed. - An object that represents the condition that must be met on the destination blob in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to copy a blob or file to another blob. - - A specifying the absolute URI to the destination blob. - An integer specifying the server timeout interval. - A specifying the absolute URI to the source object, including any necessary authentication parameters. - An object that represents the condition that must be met on the source object in order for the request to proceed. - An object that represents the condition that must be met on the destination blob in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to abort a copy operation. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The ID string of the copy operation to be aborted. - An object that represents the condition that must be met in order for the request to proceed. Only lease conditions are supported for this operation. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to abort a copy operation. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - The ID string of the copy operation to be aborted. - An object that represents the condition that must be met in order for the request to proceed. Only lease conditions are supported for this operation. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get the blob's content, properties, and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get the blob's content, properties, and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return a specified range of the blob's content, together with its properties and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - The byte offset at which to begin returning content. - The number of bytes to return, or null to return all bytes through the end of the blob. - If set to true, an MD5 header is requested for the specified range. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - - A web request to use to perform the operation. - - - - - Constructs a web request to return a specified range of the blob's content, together with its properties and metadata. - - A specifying the absolute URI to the blob. - An integer specifying the server timeout interval. - A specifying the snapshot version, if the blob is a snapshot. - The byte offset at which to begin returning content. - The number of bytes to return, or null to return all bytes through the end of the blob. - If set to true, an MD5 header is requested for the specified range. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to use to perform the operation. - - - - - Provides a set of methods for parsing container responses from the Blob service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the container's properties from the response. - - The web response. - The container's attributes. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Gets the ACL for the container from the response. - - The web response. - A value indicating the public access level for the container. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - Converts the ACL string to a object. - - The string to convert. - The resulting object. - - - - A factory class for constructing a web request to manage containers in the Blob service. - - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object. - - - - Constructs a web request to create a new container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - An object that specifies whether data in the container may be accessed publicly and the level of access. - A object. - - - - Constructs a web request to delete the container and all of the blobs within it. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete the container and all of the blobs within it. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the properties and user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the properties and user-defined metadata for this container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to use to acquire, renew, change, release or break the lease for the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A enumeration value indicating the lease action to perform. - A string specifying the lease ID to propose for the result of an acquire or change operation, - or null if no ID is proposed for an acquire operation. This parameter should be null for renew, release, and break operations. - The lease duration, in seconds, for acquire operations. - If this is -1 then an infinite duration is specified. This should be null for renew, change, release, and break operations. - The amount of time to wait, in seconds, after a break operation before the lease is broken. - If this is null then the default time is used. This should be null for acquire, renew, change, and release operations. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - A object. - A object containing the user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - A object. - A string containing the metadata name. - A string containing the metadata value. - - - - Constructs a web request to return a listing of all containers in this storage account. - - A specifying the Blob service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return container metadata with the listing. - An object that represents the context for the current operation. - A web request for the specified operation. - - - - Constructs a web request to return a listing of all containers in this storage account. - - A specifying the Blob service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return container metadata with the listing. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for the specified operation. - - - - Constructs a web request to return the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - The type of public access to allow for the container. - An object that represents the condition that must be met in order for the request to proceed. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - The type of public access to allow for the container. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return a listing of all blobs in the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A object. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return a listing of all blobs in the container. - - A specifying the absolute URI to the container. - An integer specifying the server timeout interval. - A object. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Gets the container Uri query builder. - - A for the container. - - - - Represents a file in the Windows Azure File service. - - - Represents a Windows Azure File. - - - - - Represents an item that may be returned by a file listing operation. - - - - - Gets the URI to the file item. - - The file item's URI. - - - - Gets the URI to the file item. - - The file item's URI. - - - - Gets the file item's parent directory. - - The file item's parent directory. - - - - Gets the file item's share. - - The file item's share. - - - - Opens a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A stream to be used for reading from the file. - On the object returned by this method, the method must be called exactly once for every call. Failing to end a read process before beginning another read can cause unknown behavior. - - - - Begins an asynchronous operation to open a stream for reading from the file. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to open a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to open a stream for reading from the file. - - An that references the pending asynchronous operation. - A stream to be used for reading from the file. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for reading from the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Opens a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object to be used for writing to the file. - - - - Begins an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to open a stream for writing to the file. - - An that references the pending asynchronous operation. - A object to be used for writing to the file. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to open a stream for writing to the file. If the file already exists, then existing data in the file may be overwritten. - - The size of the file, in bytes. If null, the file must already exist. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a stream. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file in the File service to a local file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the cloud file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file in the File service to a local file. - - The path to the target file in the local file system. - A enumeration value that determines how to open or create the file. - An object that represents the access conditions for the cloud file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The contents of the file, as a string. - - - - Begins an asynchronous operation to download the file's contents as a string. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the file's contents as a string. - - An that references the pending asynchronous operation. - The contents of the file, as a string. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the file's contents as a string. - - A object that indicates the type of text encoding to use. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a stream. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a stream. - - The target stream. - The starting offset of the data range, in bytes. - The length of the data range, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Downloads the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The total number of bytes read into the buffer. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to download the contents of a file to a byte array. - - An that references the pending asynchronous operation. - The total number of bytes read into the buffer. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to download the contents of a file to a byte array. - - The target byte array. - The starting offset in the byte array. - The starting offset of the data range, in bytes. - The length of the data to download from the file, in bytes. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Uploads a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - Specifies the number of bytes from the Stream source to upload from the start position. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - Specifies the number of bytes from the Stream source to upload from the start position. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a stream to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a stream to a file. If the file already exists on the service, it will be overwritten. - - The stream providing the file content. - The number of bytes to write from the source stream at its current position. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads a file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the content. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the content. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the content. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Called when the asynchronous UploadFromStream operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous operation to upload a file to the File service. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a local file to the File service. If the file already exists on the service, it will be overwritten. - - The file providing the file content. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload the contents of a byte array to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload the contents of a byte array to a file. If the file already exists on the service, it will be overwritten. - - An array of bytes. - The zero-based byte offset in buffer at which to begin uploading bytes to the file. - The number of bytes to be written to the file. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Uploads a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to upload a string of text to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to upload a string of text to a file. If the file already exists on the service, it will be overwritten. - - The text to upload. - An object that indicates the text encoding to use. If null, UTF-8 will be used. - An object that represents the access conditions for the file. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Creates a file. If the file already exists, it will be overwritten.3584 - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a file. If the file already exists, it will be overwritten. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Checks existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the file exists; false, otherwise. - - - - Begins an asynchronous request to check existence of the file. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check existence of the file. - - An that references the pending asynchronous operation. - true if the file exists; false, otherwise. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check existence of the file. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Populates a file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the file's properties and metadata. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the file's properties and metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the file's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete the file. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete the file. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the file did already exist and was deleted; otherwise false. - - - - Begins an asynchronous request to delete the file if it already exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the file if it already exists. - - An that references the pending asynchronous operation. - true if the file did already exist and was deleted; otherwise, false. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the file if it already exists. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Gets a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of ranges. - - - - Begins an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - An that references the pending asynchronous operation. - An enumerable collection of ranges. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a collection of valid ranges and their starting and ending bytes. - - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Updates the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the file's properties. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the file's properties. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's properties. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Resizes a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to resize a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to resize a file. - - The maximum size of the file, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Updates the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the file's metadata. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the file's metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the file's metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Writes range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to write a range to a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to write a range to a file. - - A stream providing the data. - The offset at which to begin writing, in bytes. - An optional hash value that will be used to set the property - on the file. May be null or an empty string. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Clears ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to clear ranges from a file. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to clear ranges from a file. - - The offset at which to begin clearing ranges, in bytes. - The length of the data range to be cleared, in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Begins an operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The of the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - An that references the pending asynchronous operation. - The copy ID associated with the copy operation. - - This method fetches the file's ETag, last-modified time, and part of the copy state. - The copy ID and copy status fields are fetched, and the rest of the copy state is cleared. - - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another Azure file or blob's contents, properties, and metadata to this Azure file. - - The of the source blob or file. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying another file's contents, properties, and metadata to this file. - - A object. - An object that represents the access conditions for the source file. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file. - - The that is the source blob. - An object that represents the access conditions for the source blob. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type string that represents the asynchronous operation. - - - - Aborts an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to abort an ongoing copy operation. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to abort an ongoing copy operation. - - A string identifying the copy operation. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Implements getting the stream without specifying a range. - - The destination stream. - The offset. - The length. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - - A that gets the stream. - - - - - Implements the Create method. - - The size in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that creates the file. - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - An object that specifies additional options for the request. - A that checks existence. - - - - Implements the DeleteFile method. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that deletes the file. - - - - Gets the ranges implementation. - - The start offset. - Length of the data range to be cleared. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A for getting the ranges. - - - - Implementation for the SetProperties method. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the Resize method. - - The size in bytes. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetMetadata method. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation method for the WriteRange methods. - - The data. - The start offset. - The content MD5. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that writes the range. - - - - Implementation method for the ClearRange methods. - - The start offset. - Length of the data range to be cleared. - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - A that clears the range. - - - - Implementation of the StartCopy method. Result is a CloudFileAttributes object derived from the response headers. - - The URI of the source object. - An object that represents the access conditions for the source object. If null, no condition is used. - An object that represents the access conditions for the destination file. If null, no condition is used. - A object that specifies additional options for the request. - - A that starts to copy the file. - - sourceAccessCondition - - - - Implementation of the AbortCopy method. No result is produced. - - The copy ID of the copy operation to abort. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that aborts the copy. - - - - - Called when the asynchronous operation to commit the file started by UploadFromStream finishes. - - The result of the asynchronous operation. - - - - Converts the source blob of a copy operation to an appropriate access URI, taking Shared Access Signature credentials into account. - - The source blob. - A URI addressing the source blob, using SAS if appropriate. - - - - Updates this file with the given attributes a the end of a fetch attributes operation. - - The response. - if set to true, file's MD5 will not be updated. - - - - Retrieve ETag, LMT and Length from response. - - The response to parse. - If set to true, update the file length. - - - - Default is 4 MB. - - - - - Default is 4 MB. - - - - - Initializes a new instance of the class using an absolute URI to the file. - - The absolute URI to the file. - - - - Initializes a new instance of the class using an absolute URI to the file. - - The absolute URI to the file. - A object. - - - - Initializes a new instance of the class using an absolute URI to the file. - - The absolute URI to the file. - A object. - - - - Initializes a new instance of the class using the specified file name and - the parent share reference. - - The file's Uri. - Name of the file. - The reference to the parent share. - - - - Initializes a new instance of the class. - - The attributes. - The service client. - - - - Stores the that contains this file. - - - - - Stores the file's parent . - - - - - Stores the file's attributes. - - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a file accessed with this SAS. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a file accessed with this SAS. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - - - - Returns a shared access signature for the file. - - A object specifying the access policy for the shared access signature. - A object specifying optional header values to set for a file accessed with this SAS. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - - - - Gets the canonical name of the file, formatted as file/<account-name>/<share-name>/<directory-name>/<file-name>. - This is used by both Shared Access and Copy operations. - - The canonical name of the file. - - - - Parse URI. - - The complete Uri. - The credentials to use. - - - - Gets the object that represents the File service. - - A object that specifies the File service endpoint. - - - - Gets or sets the number of bytes to buffer when writing to a file stream. - - The number of bytes to buffer, ranging from between 512 bytes and 4 MB inclusive. - - - - Gets or sets the minimum number of bytes to buffer when reading from a file stream. - - The minimum number of bytes to buffer, being at least 16KB. - - - - Gets the file's system properties. - - A object. - - - - Gets the user-defined metadata for the file. - - The file's metadata, as a collection of name-value pairs. - - - - Gets the file's URI. - - The absolute URI to the file. - - - - Gets the absolute URI to the file. - - A object. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if there is no copy state for the file. - - - - Gets the file's name. - - The file's name. - - - - Gets a object representing the file's share. - - A object. - - - - Gets the object representing the - parent directory for the file. - - A object. - - - - Provides a client-side logical representation of the Windows Azure File service. This client is used to configure and execute requests against the File service. - - The service client encapsulates the base URI for the File service. If the service client will be used for authenticated access, - it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure File service. This client is used to configure and execute requests against the File service. - - The service client encapsulates the base URI for the File service. If the service client will be used for authenticated access, it also encapsulates - the credentials for accessing the storage account. - - - - Returns an enumerable collection of shares, which are retrieved lazily, whose names - begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of shares that are retrieved lazily. - - - - Returns a result segment containing a collection of shares. - - A token returned by a previous listing operation. - A result segment of shares. - - - - Returns a result segment containing a collection of shares. - - The share name prefix. - A continuation token returned by a previous listing operation. - A result segment of shares. - - - - Returns a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment of shares. - - - - Returns a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment of shares. - - - - Begins an asynchronous request to return a result segment containing a collection of shares. - - A continuation token returned by a previous listing operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of shares. - - The share name prefix. - A continuation token returned by a previous listing operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of shares. - - An that references the pending asynchronous operation. - A result segment of shares. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares. - - A token returned by a previous listing operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares. - - A token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A continuation token returned by a previous listing operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to return a result segment containing a collection of shares - whose names begin with the specified prefix. - - The share name prefix. - A value that indicates whether to return share metadata with the listing. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Begins an asynchronous operation to get service properties for the File service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service properties for the File service. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service properties for the File service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to set service properties for the File service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set service properties for the Blob service. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the Blob service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets service properties for the File service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Core implementation for the ListShares method. - - The share prefix. - The details included. - The continuation token. - A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A object that specifies additional options for the request. - A that lists the shares. - - - - Initializes a new instance of the class using the specified File service endpoint - and account credentials. - - The File service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified File service endpoint - and account credentials. - - The File service endpoint to use to create the client. - A object. - - - - Returns a reference to a object with the specified name. - - A string containing the name of the share. - A reference to a share. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the File service client. - - - - - Gets the account credentials used to create the File service client. - - The account credentials. - - - - Gets the base URI for the File service client. - - The base URI used to construct the File service client. - - - - Gets the list of URIs for all locations. - - The list of URIs for all locations. - - - - Gets or sets the default request options for requests made via the File service client. - - A object. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Represents a directory of files, designated by a delimiter character. - - Shares, which are encapsulated as objects, hold directories, and directories hold files. Directories can also contain sub-directories. - - Represents a directory of files, designated by a delimiter character. - - Shares, which are encapsulated as objects, hold directories, and directories hold files. Directories can also contain sub-directories. - - - - Creates the directory. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. This object - is used to track requests to the storage service, and to provide additional runtime information about the operation. - - - - Begins an asynchronous operation to create a directory. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a directory. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a directory. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a directory. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Creates the directory if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the directory did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the directory if it does not already exist. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the directory if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous request to create the directory if it does not already exist. - - An that references the pending asynchronous operation. - true if the directory did not already exist and was created; otherwise, false. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the directory if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a directory. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a directory. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a directory. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the directory did already exist and was deleted; otherwise false. - - - - Begins an asynchronous request to delete the directory if it already exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the directory if it already exists. - - An that references the pending asynchronous operation. - true if the directory did already exist and was deleted; otherwise, false. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the directory if it already exists. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Checks whether the directory exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the directory exists;false, otherwise. - - - - Begins an asynchronous request to check whether the directory exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the directory exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check whether the directory exists. - - An that references the pending asynchronous operation. - true if the directory exists; false, otherwise. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the directory exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Populates a directory's properties. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to populate the directory's properties. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to populate the directory's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to populate the directory's properties and metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to populate the directory's properties and metadata. - - An object that represents the access conditions for the file. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns an enumerable collection of the files in the share, which are retrieved lazily. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that implement and are retrieved lazily. - - - - Returns a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Returns a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - A result segment containing objects that implement . - - - - Begins an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of file items - in the share. - - An that references the pending asynchronous operation. - A result segment containing objects that implement . - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A continuation token returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to return a result segment containing a collection of file items - in the share. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A continuation token returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Updates the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the directory's metadata. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the directory's metadata. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to update the directory's metadata. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Implementation for the Create method. - - An object that specifies additional options for the request. - A that creates the directory. - - - - Implementation for the Delete method. - - An object that represents the access conditions for the directory. If null, no condition is used. - An object that specifies additional options for the request. - A that deletes the directory. - - - - Implementation for the Exists method. - - An object that specifies additional options for the request. - A that checks existence. - - - - Implements the FetchAttributes method. The attributes are updated immediately. - - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - A that fetches the attributes. - - - - Core implementation of the ListFilesAndDirectories method. - - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - An object that specifies additional options for the request. - The continuation token. - A that lists the files. - - - - Implementation for the SetMetadata method. - - An object that represents the access conditions for the directory. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the metadata. - - - - Retrieve ETag and LastModified date time from response. - - The response to parse. - - - - Stores the that contains this directory. - - - - - Stores the parent directory. - - - - - Initializes a new instance of the class using an absolute URI to the directory. - - A object containing the absolute URI to the directory. - - - - Initializes a new instance of the class using an absolute URI to the directory. - - A object containing the absolute URI to the directory. - A object. - - - - Initializes a new instance of the class using an absolute URI to the directory. - - A object containing the absolute URI to the directory. - A object. - - - - Initializes a new instance of the class given an address and a client. - - The file directory's Uri. - Name of the directory. - The share for the directory. - - - - Selects the protocol response. - - The protocol item. - The parsed . - - - - Returns a object that represents a file in this directory. - - A containing the name of the file. - A object. - - - - Returns a object that represents a subdirectory within this directory. - - A containing the name of the subdirectory. - A object. - - - - Parse URI. - - The complete Uri. - The credentials to use. - - - - Gets a object that specifies the endpoint for the File service. - - A object. - - - - Gets the directory's URI for the primary location. - - A specifying the absolute URI to the directory at the primary location. - - - - Gets the file directory's URIs for all locations. - - A object containing the file directory's URIs for all locations. - - - - Gets a object that represents the directory's system properties. - - A object. - - - - Gets the user-defined metadata for the directory. - - The directory's metadata, as a collection of name-value pairs. - - - - Gets a object that represents the share for the directory. - - A object. - - - - Gets a object that represents the parent directory for the directory. - - A object. - - - - Gets the name of the directory. - - A containing the name of the directory. - - - - Represents a share in the Windows Azure File service. - - Shares hold directories, which are encapsulated as objects, and directories hold files. Directories can also contain sub-directories. - - Represents a share in the Windows Azure File service. - - - - - Creates the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. This object - is used to track requests to the storage service, and to provide additional runtime information about the operation. - - - - Begins an asynchronous operation to create a share. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a share. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a share. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to create a share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Creates the share if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the share did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the share if it does not already exist. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous request to create the share if it does not already exist. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous request to create the share if it does not already exist. - - An that references the pending asynchronous operation. - true if the share did not already exist and was created; otherwise, false. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns a task that performs an asynchronous request to create the share if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the share. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a share. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a share. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a share. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to delete a share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Deletes the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the share did not already exist and was created; otherwise false. - - - - Begins an asynchronous request to delete the share if it already exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to delete the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to delete the share if it already exists. - - An that references the pending asynchronous operation. - true if the share did not already exist and was created; otherwise, false. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to delete the share if it already exists. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Checks whether the share exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the share exists. - - - - Begins an asynchronous request to check whether the share exists. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to check whether the share exists. - - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check whether the share exists. - - An that references the pending asynchronous operation. - true if the share exists. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous request to check whether the share exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Retrieves the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to retrieve the share's attributes. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to retrieve the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to retrieve the share's attributes. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to retrieve the share's attributes. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Gets the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous request to get the permissions settings for the share. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to get the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the share. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that gets the permissions settings for the share. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get stats for the share. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get stats for the share. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get stats for the share. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get stats for the share. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get stats for the share. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Sets the share's user-defined metadata. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set user-defined metadata on the share. - - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set user-defined metadata on the share. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - An object that represents the context for the current operation. - The callback delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous request operation to set user-defined metadata on the share. - - An that references the pending asynchronous operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the current operation. - - - - Returns a task that performs an asynchronous operation to set user-defined metadata on the share. - - An object that represents the access conditions for the share. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the current operation. - - - - Sets permissions for the share. - - A object. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous request to set permissions for the share. - - The permissions to apply to the share. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to set permissions for the share. - - The permissions to apply to the share. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous request to set permissions for the share. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation that sets permissions for the share. - - The permissions to apply to the share. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the share's properties. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to update the share's properties. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the share's properties. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Implementation for the Create method. - - An object that specifies additional options for the request. - A that creates the share. - - - - Implementation for the Delete method. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - A that deletes the share. - - - - Implementation for the FetchAttributes method. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - An object that specifies additional options for the request. - A that checks existence. - - - - Implementation for the GetPermissions method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the GetStats method. - - A object that specifies additional options for the request. - - - - - Implementation for the SetMetadata method. - - An object that represents the access conditions for the share. If null, no condition is used. - An object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetPermissions method. - - The permissions to set. - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the SetProperties method. - - An object that represents the condition that must be met in order for the request to proceed. If null, no condition is used. - A object that specifies additional options for the request. - - A that sets the properties. - - - - - Retrieve ETag and LastModified date time from response. - - The response to parse. - - - - Initializes a new instance of the class. - - The absolute URI to the share. - - - - Initializes a new instance of the class. - - The absolute URI to the share. - A object. - - - - Initializes a new instance of the class. - - The absolute URI to the share. - A object. - - - - Initializes a new instance of the class. - - The share name. - A client object that specifies the endpoint for the File service. - - - - Initializes a new instance of the class. - - The properties. - The metadata. - The share name. - The client to be used. - - - - Returns the canonical name for shared access. - - The canonical name. - - - - Returns a shared access signature for the share. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the share. - - A object specifying the access policy for the shared access signature. - A share-level access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the share. - - A object specifying the access policy for the shared access signature. - A share-level access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Returns a reference to the root directory for this share. - - A reference to the root directory. - - - - Gets the service client for the share. - - A client object that specifies the endpoint for the File service. - - - - Gets the share's URI. - - The absolute URI to the share. - - - - Gets the list of URIs for all locations. - - The list of URIs for all locations. - - - - Gets the name of the share. - - The share's name. - - - - Gets the share's metadata. - - The share's metadata. - - - - Gets the share's system properties. - - The share's properties. - - - - Represents a stream for writing to a file. - - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying file, and commits the file. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - The reference to the pending asynchronous request to finish. - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - The reference to the pending asynchronous request to finish. - - - - Initializes a new instance of the class. - - File reference to read from - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - Seeking in a FileReadStream disables MD5 validation. - - - - This operation is not supported in FileReadStreamBase. - - Not used. - - - - This operation is not supported in FileReadStreamBase. - - Not used. - Not used. - Not used. - - - - This operation is a no-op in FileReadStreamBase. - - - - - Read as much as we can from the internal buffer - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Calculates the number of bytes to read from the file. - - Number of bytes to read. - - - - Updates the file MD5 with newly downloaded content. - - The buffer to read the data from. - The byte offset in buffer at which to begin reading data. - The maximum number of bytes to read. - - - - Releases the file resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets or sets the position within the current stream. - - - - - Gets the length in bytes of the stream. - - The length in bytes of the stream. - - - - Initializes a new instance of the class. - - File reference to read from - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - Reads a sequence of bytes from the current stream and advances the - position within the stream by the number of bytes read. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Begins an asynchronous read operation. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be - less than the number of bytes requested if that many bytes are not - currently available, or zero (0) if the end of the stream has been reached. - - - - Dispatches an async read operation that either reads from the cache or makes a call to - the server. - - The reference to the pending asynchronous request to finish. - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - - - - Called when the asynchronous DownloadRangeToStream operation completes. - - The result of the asynchronous operation. - - - - Dispatches a sync read operation that either reads from the cache or makes a call to - the server. - - The buffer to read the data into. - The byte offset in buffer at which to begin writing - data read from the stream. - The maximum number of bytes to read. - Number of bytes read from the stream. - - - - Initializes a new instance of the FileWriteStreamBase class for a file. - - File reference to write to. - Size of the file. - Use true if the file is newly created, false otherwise. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - This operation is not supported in FileWriteStreamBase. - - Not used. - Not used. - Not used. - - - - Calculates the new position within the current stream for a Seek operation. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - This operation is not supported in FileWriteStreamBase. - - Not used. - - - - Releases the file resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - - - - Gets a value indicating whether the current stream supports seeking. - - - - - Gets a value indicating whether the current stream supports writing. - - - - - Gets the length in bytes of the stream. - - - - - Gets or sets the position within the current stream. - - - - - Initializes a new instance of the FileWriteStream class for a file. - - File reference to write to. - Size of the file. - Use true if the file is newly created, false otherwise. - An object that represents the access conditions for the file. If null, no condition is used. - An object that specifies additional options for the request. - An object for tracking the current operation. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type SeekOrigin indicating the reference - point used to obtain the new position. - The new position within the current stream. - - - - Writes a sequence of bytes to the current stream and advances the current - position within this stream by the number of bytes written. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Begins an asynchronous write operation. - - An array of bytes. This method copies count bytes from - buffer to the current stream. - The zero-based byte offset in buffer at which to begin - copying bytes to the current stream. - The number of bytes to be written to the current stream. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Waits for the pending asynchronous write to complete. - - The reference to the pending asynchronous request to finish. - - - - Clears all buffers for this stream and causes any buffered data to be written to the underlying file. - - - - - Begins an asynchronous flush operation. - - An optional asynchronous callback, to be called when the flush is complete. - A user-provided object that distinguishes this particular asynchronous flush request from other requests. - An ICancellableAsyncResult that represents the asynchronous flush, which could still be pending. - - - - Waits for the pending asynchronous flush to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when noPendingWritesEvent is signalled indicating that there are no outstanding write requests. - - An object containing information to be used by the callback method each time it executes. - true if the WaitHandle timed out; false if it was signaled. - - - - Releases the file resources used by the Stream. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Clears all buffers for this stream, causes any buffered data to be written to the underlying file, and commits the file. - - - - - Begins an asynchronous commit operation. - - An optional asynchronous callback, to be called when the commit is complete. - A user-provided object that distinguishes this particular asynchronous commit request from other requests. - An ICancellableAsyncResult that represents the asynchronous commit, which could still be pending. - - - - Waits for the pending asynchronous commit to complete. - - The reference to the pending asynchronous request to finish. - - - - Called when the pending flush operation completes so that we can continue with the commit. - - The result of the asynchronous operation. - - - - Called when the file commit operation completes. - - The result of the asynchronous operation. - - - - Dispatches a write operation. - - The reference to the pending asynchronous request to finish. - - - - Starts an asynchronous WriteRange operation as soon as the parallel - operation semaphore becomes available. - - Data to be uploaded - Offset within the file - MD5 hash of the data to be uploaded - The reference to the pending asynchronous request to finish. - - - - Called when the asynchronous WriteRange operation completes. - - The result of the asynchronous operation. - - - - Provides methods for parsing responses to operations on directories in the File service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the directory's properties from the response. - - The web response. - The directory's attributes. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - A factory class for constructing web requests for operations on directories in the File service. - - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - The web request. - The user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - The web request. - The metadata name. - The metadata value. - - - - Constructs a web request to create a new directory. - - The absolute URI to the directory. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to delete the directory and all of the files within it. - - The absolute URI to the directory. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Generates a web request to return the properties and user-defined metadata for this directory. - - The absolute URI to the directory. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this directory. - - The absolute URI to the directory. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Generates a web request to return a listing of all files and subdirectories in the directory. - - The absolute URI to the share. - The server timeout interval. - A set of parameters for the listing operation. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to set user-defined metadata for the directory. - - A specifying the absolute URI to the destination blob. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Gets the directory Uri query builder. - - A for the directory. - - - - Provides methods for parsing responses to operations on files in the File service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the file's properties from the response. - - The web response. - The file's properties. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Extracts a object from the headers of a web response. - - The HTTP web response. - A object, or null if the web response does not include copy state. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - A factory class for constructing web requests for operations on files in the File service. - - - - - Creates a web request to get the properties of the File service. - - A specifying the File service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the File service. - - A specifying the File service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes File service properties to a stream, formatted in XML. - - A object. - The object to which the formatted properties are to be written. - - - - Constructs a web request to create a new file. - - The absolute URI to the file. - The server timeout interval. - The properties to set for the file. - The size of the file. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to return the file's system properties. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Constructs a web request to return the user-defined metadata for the file. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - The web request. - The user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - The web request. - The metadata name. - The metadata value. - - - - Constructs a web request to delete a file. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Adds the Range Header for File Service Operations. - - Request - Starting byte of the range - Number of bytes in the range - - - - Constructs a web request to return the list of valid ranges for a file. - - The absolute URI to the file. - The server timeout interval. - The starting offset of the data range over which to list file ranges, in bytes. - The length of the data range over which to list file ranges, in bytes. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to set system properties for a file. - - The absolute URI to the file. - The server timeout interval. - The file's properties. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A object. - - - - Constructs a web request to resize a file. - - The absolute URI to the file. - The server timeout interval. - The new file size. Set this parameter to null to keep the existing file size. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to get the file's content, properties, and metadata. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Constructs a web request to set user-defined metadata for the file. - - The absolute URI to the file. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for performing the operation. - - - - Constructs a web request to return a specified range of the file's content, together with its properties and metadata. - - The absolute URI to the file. - The server timeout interval, in seconds. - The byte offset at which to begin returning content. - The number of bytes to return, or null to return all bytes through the end of the file. - If set to true, request an MD5 header for the specified range. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to write or clear a range of pages in a file. - - The absolute URI to the file. - The server timeout interval. - The beginning and ending offsets. - Action describing whether we are writing to a file or clearing a set of ranges. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request to use to perform the operation. - - - - Generates a web request to copy from a blob or file to another file. - - A specifying the absolute URI to the destination file. - An integer specifying the server timeout interval. - A specifying the absolute URI to the source object, including any necessary authentication parameters. - An object that represents the condition that must be met on the source object in order for the request to proceed. - An object that represents the condition that must be met on the destination file in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to abort a copy operation. - - A specifying the absolute URI to the file. - An integer specifying the server timeout interval. - The ID string of the copy operation to be aborted. - An object that represents the condition that must be met in order for the request to proceed. Only lease conditions are supported for this operation. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Provides methods for parsing responses to operations on shares in the File service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the share's properties from the response. - - The web response. - The share's attributes. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - Reads share stats from a stream. - - The stream from which to read the share stats. - The share stats stored in the stream. - - - - A factory class for constructing web requests for operations on shares in the File service. - - - - - Constructs a web request to create a new share. - - The absolute URI to the share. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to create a new share. - - The absolute URI to the share. - Properties to set on the share. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to delete the share and all of the files within it. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Generates a web request to return the user-defined metadata for this share. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Generates a web request to return the properties and user-defined metadata for this share. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Generates a web request to set user-defined metadata for the share. - - The absolute URI to the share. - The server timeout interval. - The access condition to apply to the request. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to set system properties for a share. - - A specifying the absolute URI to the share. - An integer specifying the server timeout interval. - The share's properties. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the share. - - A specifying the share. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - The web request. - The user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - The web request. - The metadata name. - The metadata value. - - - - Constructs a web request to return a listing of all shares in this storage account. - - The absolute URI for the account. - The server timeout interval. - A set of parameters for the listing operation. - Additional details to return with the listing. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object for tracking the current operation. - A web request for the specified operation. - - - - Constructs a web request to return the ACL for a share. - - A specifying the absolute URI to the share. - An integer specifying the server timeout interval. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a share. - - A specifying the absolute URI to the share. - An integer specifying the server timeout interval. - The type of public access to allow for the share. - An object that represents the condition that must be met in order for the request to proceed. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Gets the share Uri query builder. - - A for the share. - - - - This class represents a queue in the Windows Azure Queue service. - - - This class represents a queue in the Windows Azure Queue service. - - - - - Creates the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates the queue if it does not already exist. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the queue did not already exist and was created; otherwise false. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous operation to create the queue if it does not already exist. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Begins an asynchronous operation to create the queue if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Returns the result of an asynchronous operation to create the queue if it does not already exist. - - An that references the pending asynchronous operation. - true if the queue did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Initiates an asynchronous operation to create the queue if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires read permissions. - - - - Deletes the queue if it already exists. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the queue did not already exist and was created; otherwise false. - - - - Begins an asynchronous operation to delete the queue if it already exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the queue if it already exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous operation to delete the queue if it already exists. - - An that references the pending asynchronous operation. - true if the queue did not already exist and was created; otherwise, false. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the queue if it already exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Deletes the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets permissions for the queue. - - A object. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set permissions for the queue. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set permissions for the queue. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the result of an asynchronous operation to set permissions for the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the queue. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the permissions settings for the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get the permissions settings for the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get the permissions settings for the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the queue. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Checks existence of the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - true if the queue exists. - - - - Checks existence of the queue. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the queue exists. - - - - Begins an asynchronous operation to check the existence of the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to check the existence of the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to check the existence of the queue. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to check the existence of the queue. - - An that references the pending asynchronous operation. - true if the queue exists. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to check the existence of the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Sets the queue's user-defined metadata. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set user-defined metadata on the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set user-defined metadata on the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set user-defined metadata on the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set user-defined metadata on the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Fetches the queue's attributes. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to fetch the queue's attributes. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to fetch the queue's attributes. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to fetch a queue's attributes. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to fetch the queue's attributes. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Adds a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to add a message to the queue. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to add a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to add a message to the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to add a message to the queue. - - A object. - A specifying the maximum time to allow the message to be in the queue, or null. - A specifying the interval of time from now during which the message will be invisible. - If null then the message will be visible immediately. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Updates the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - Flags of values that specifies which parts of the message are to be updated. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to add a message to the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to update the visibility timeout and optionally the content of a message. - - A object. - A specifying the visibility timeout interval. - A set of values that specify which parts of the message are to be updated. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes a message. - - A object. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Deletes the specified message from the queue. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a message. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a message. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a message. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a message. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the specified number of messages from the queue using the specified request options and - operation context. This operation marks the retrieved messages as invisible in the queue for the default - visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of messages. - - - - Begins an asynchronous operation to get messages from the queue. - - The number of messages to retrieve. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get the specified number of messages from the queue using the - specified request options and operation context. This operation marks the retrieved messages as invisible in the - queue for the default visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get messages from the queue. - - An that references the pending asynchronous operation. - An enumerable collection of messages. - - - - Initiates an asynchronous operation to get messages from the queue. - - The number of messages to retrieve. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get messages from the queue. - - The number of messages to retrieve. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the specified number of messages from the queue using the - specified request options and operation context. This operation marks the retrieved messages as invisible in the - queue for the default visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the specified number of messages from the queue using the - specified request options and operation context. This operation marks the retrieved messages as invisible in the - queue for the default visibility timeout period. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Gets a message from the queue using the default request options. This operation marks the retrieved message as invisible in the queue for the default visibility timeout period. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get a single message from the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get a single message from the queue, and specifies how long the message should be - reserved before it becomes visible, and therefore available for deletion. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get a single message from the queue. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue, and specifies how long the message should be - reserved before it becomes visible, and therefore available for deletion. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue, and specifies how long the message should be - reserved before it becomes visible, and therefore available for deletion. - - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Peeks a message from the queue, using the specified request options and operation context. A peek request retrieves a message from the queue without changing its visibility. - - The number of messages to peek. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects. - - - - Begins an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to peek messages from the queue. - - An that references the pending asynchronous operation. - An enumerable collection of objects. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to peek messages from the queue. - - The number of messages to peek. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is an enumerable collection of type that represents the asynchronous operation. - - - - Peeks a single message from the queue. A peek request retrieves a message from the queue without changing its visibility. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get a single message from the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to peek a single message from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to peek a single message from the queue. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get a single message from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Clears all messages from the queue. - - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to clear all messages from the queue. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to clear all messages from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to clear all messages from the queue. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to clear all messages from the queue. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Implementation for the ClearMessages method. - - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the Create method. - - A object that specifies additional options for the request. - A that creates the queue. - - - - Implementation for the Delete method. - - A object that specifies additional options for the request. - A that deletes the queue. - - - - Implementation for the FetchAttributes method. - - A object that specifies additional options for the request. - A that fetches the attributes. - - - - Implementation for the Exists method. - - A object that specifies additional options for the request. - If true, the command will be executed against the primary location. - A that checks existence. - - - - Implementation for the SetMetadata method. - - A object that specifies additional options for the request. - A that sets the metadata. - - - - Implementation for the SetPermissions method. - - The permissions to set. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the GetPermissions method. - - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the AddMessageImpl method. - - A queue message. - A value indicating the message time-to-live. - The visibility delay for the message. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the UpdateMessage method. - - A queue message. - The visibility timeout for the message. - Indicates whether to update the visibility delay, message contents, or both. - A object that specifies additional options for the request. - A that sets the permissions. - - - - Implementation for the DeleteMessage method. - - A string specifying the message ID. - A string specifying the pop receipt value. - A object that specifies additional options for the request. - A that deletes the queue. - - - - Implementation for the GetMessages method. - - The number of messages to retrieve. - A specifying the visibility timeout interval. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Implementation for the PeekMessages method. - - The number of messages to retrieve. - A object that specifies additional options for the request. - A that gets the permissions. - - - - Gets the ApproximateMessageCount and metadata from response. - - The web response. - - - - Update the message pop receipt and next visible time. - - The Cloud Queue Message. - The web response. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the queue. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the queue. - A object. - - - - Initializes a new instance of the class. - - A containing the absolute URI to the queue at both the primary and secondary locations. - A object. - A object. - - - - Initializes a new instance of the class. - - The queue name. - A client object that specifies the endpoint for the Queue service. - - - - Initializes a new instance of the class. - - The metadata. - The queue name. - A client object that specifies the endpoint for the Queue service. - - - - Uri for the messages. - - - - - Gets the Uri for general message operations. - - - - - Gets the individual message address. - - A string specifying the message ID. - The URI of the message. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Returns the canonical name for shared access. - - The canonical name. - - - - Selects the get message response. - - The protocol message. - A object that specifies additional options for the request. - The parsed message. - - - - Selects the peek message response. - - The protocol message. - A object that specifies additional options for the request. - The parsed message. - - - - Returns a shared access signature for the queue. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the queue. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a shared access signature for the queue. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Gets the object that represents the Queue service. - - A object. - - - - Gets the queue URI for the primary location. - - A specifying the absolute URI to the queue at the primary location. - - - - Gets the queue URIs for both the primary and secondary locations. - - An object of type containing the queue's URIs for both the primary and secondary locations. - - - - Gets the name of the queue. - - A string containing the name of the queue. - - - - Gets the approximate message count for the queue. - - The approximate message count. - - - - Gets or sets a value indicating whether to apply base64 encoding when adding or retrieving messages. - - true to encode messages; otherwise, false. The default value is true. - - - - Gets the queue's metadata. - - An object containing the queue's metadata. - - - - Provides a client-side logical representation of the Windows Azure Queue service. This client is used to configure and execute requests against the Queue service. - - The service client encapsulates the endpoint or endpoints for the Queue service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure Queue service. This client is used to configure and execute requests against the Queue service. - - The service client encapsulates the endpoint or endpoints for the Queue service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account. - - - - Returns an enumerable collection of the queues in the storage account whose names begin with the specified prefix and that are retrieved lazily. - - A string containing the queue name prefix. - A enumeration value that indicates which details to include in the listing. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - An enumerable collection of objects of type that are retrieved lazily. - - - - Returns a result segment containing a collection of queues. - - A continuation token returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of queues. - - A string containing the queue name prefix. - A continuation token returned by a previous listing operation. - A object. - - - - Returns a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. If null, default options are applied to the request. - An object that represents the context for the current operation. - A object. - - - - Returns a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A of type . - - - - Begins an asynchronous operation to return a result segment containing a collection of queues. - - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment containing a collection of queues. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment containing a collection of queues. - - A string containing the queue name prefix. - A enumeration describing which items to include in the listing. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Core implementation of the ListQueues method. - - A string containing the queue name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A enumeration describing which items to include in the listing. - A object that specifies additional options for the request. - The continuation token. - A that lists the queues. - - - - Begins an asynchronous operation to get service properties for the Queue service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service properties for the Queue service. - - The result returned from a prior call to . - A object. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service properties for the Queue service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A containing the Queue service properties. - - - - Begins an asynchronous operation to set service properties for the Queue service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set service properties for the Queue service. - - The returned from a prior call to . - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Sets service properties for the Queue service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to get service stats for the secondary Queue service endpoint. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service stats for the secondary Queue service endpoint. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service stats for the secondary Queue service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Initializes a new instance of the class using the specified Queue service endpoint - and account credentials. - - The containing the Queue service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified Queue service endpoint - and account credentials. - - A object containing the Queue service endpoint to use to create the client. - A object. - - - - Returns a reference to a object with the specified name. - - A string containing the name of the queue. - A object. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - This property is set only when Shared Key or Shared Key Lite credentials are used; it does not apply to authentication via a shared access signature - or anonymous access. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the Queue service client. - - An object of type . - - - - Gets the account credentials used to create the Queue service client. - - A object. - - - - Gets the base URI for the Queue service client, at the primary location. - - A object for the Queue service client, at the primary location. - - - - Gets the Queue service endpoints for both the primary and secondary locations. - - An object of type containing Queue service URIs for both the primary and secondary locations. - - - - Gets and sets the default request options for requests made via the Queue service client. - - A object. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Represents the encrypted message that is stored on the service. - - - - - Gets or sets the encrypted message. - - The encrypted message. - - - - Gets or sets the encryption related metadata for queue messages. - - - - - Represents a message in the Windows Azure Queue service. - - - Represents a message in the Windows Azure Queue service. - - - - - The maximum message size in bytes. - - - - - The maximum number of messages that can be peeked at a time. - - - - - Initializes a new instance of the class with the given byte array. - - The content of the message as a byte array. - - - - Sets the content of this message. - - The content of the message as a byte array. - - - - The maximum amount of time a message is kept in the queue. - - - - - Custom UTF8Encoder to throw exception in case of invalid bytes. - - - - - Initializes a new instance of the class with the given byte array. - - - - - Initializes a new instance of the class with the given string. - - The content of the message as a string of text. - - - - Initializes a new instance of the class with the given message ID and pop receipt. - - A string specifying the message ID. - A string containing the pop receipt token. - - - - Initializes a new instance of the class with the given Base64 encoded string. - This method is only used internally. - - The text string. - Whether the string is Base64 encoded. - - - - Gets the content of the message for transfer (internal use only). - - Indicates if the message should be encoded. - A object that specifies additional options for the request. - The message content as a string. - - - - Sets the content of this message. - - A string containing the new message content. - - - - Gets the maximum message size in bytes. - - The maximum message size in bytes. - - - - Gets the maximum amount of time a message is kept in the queue. - - A specifying the maximum amount of time a message is kept in the queue. - - - - Gets the maximum number of messages that can be peeked at a time. - - The maximum number of messages that can be peeked at a time. - - - - Gets the content of the message as a byte array. - - The content of the message as a byte array. - - - - Gets the message ID. - - A string containing the message ID. - - - - Gets the message's pop receipt. - - A string containing the pop receipt value. - - - - Gets the time that the message was added to the queue. - - A indicating the time that the message was added to the queue. - - - - Gets the time that the message expires. - - A indicating the time that the message expires. - - - - Gets the time that the message will next be visible. - - A indicating the time that the message will next be visible. - - - - Gets the content of the message, as a string. - - A string containing the message content. - - - - Gets the number of times this message has been dequeued. - - The number of times this message has been dequeued. - - - - Gets message type that indicates if the RawString is the original message string or Base64 encoding of the original binary data. - - - - - Gets or sets the original message string or Base64 encoding of the original binary data. - - The original message string. - - - - Gets or sets the original binary data. - - The original binary data. - - - - Represents an encryption policy for performing envelope encryption/decryption of messages in Azure queue. - - - - - Initializes a new instance of the class with the specified key and resolver. - - An object of type that is used to wrap/unwrap the content encryption key. - The key resolver used to select the correct key for decrypting existing queue messages. - If the generated policy is to be used for encryption, users are expected to provide a key at the minimum. - The absence of key will cause an exception to be thrown during encryption.
- If the generated policy is intended to be used for decryption, users can provide a key resolver. The client library will:
- 1. Invoke the key resolver, if specified, to get the key.
- 2. If resolver is not specified but a key is specified, the client library will match the key ID against the key and use the key.
-
- - - Return an encrypted base64 encoded message along with encryption related metadata given a plain text message. - - The input message in bytes. - The encrypted message that will be uploaded to the service. - - - - Returns a plain text message given an encrypted message. - - The encrypted message. - A value to indicate that the data read from the server should be encrypted. - The plain text message bytes. - - - - An object of type that is used to wrap/unwrap the content key during encryption. - - - - - Gets or sets the key resolver used to select the correct key for decrypting existing queue messages. - - A resolver that returns an , given a key ID. - - - - Provides a set of methods for parsing a response containing queue data from the Queue service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Gets the approximate message count for the queue. - - The web response. - The approximate count for the queue. - - - - Gets the user-defined metadata. - - The response from server. - An object of type containing the metadata. - - - - Extracts the pop receipt from a web response header. - - The web response. - The pop receipt stored in the header of the response. - - - - Extracts the next visibility time from a web response header. - - The web response. - The time of next visibility stored in the header of the response. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - A factory class for constructing a web request to manage queues in the Queue service. - - - - - Creates a web request to get the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Queue service. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get Queue service stats. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get Queue service stats. - - A specifying the Queue service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes Queue service properties to a stream, formatted in XML. - - A object. - The object to which the formatted properties are to be written. - - - - Constructs a web request to create a new queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to create a new queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete the queue and all of the messages within it. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to delete the queue and all of the messages within it. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to clear all messages in the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to clear all messages in the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to return the user-defined metadata for this queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Generates a web request to set user-defined metadata for the queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Adds user-defined metadata to the request as one or more name-value pairs. - - A object. - A object containing the user-defined metadata. - - - - Adds user-defined metadata to the request as a single name-value pair. - - A object. - A string containing the metadata name. - A string containing the metadata value. - - - - Constructs a web request to return a listing of all queues in this storage account. - - A specifying the Queue service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return queue metadata with the listing. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return a listing of all queues in this storage account. - - A specifying the Queue service endpoint. - An integer specifying the server timeout interval. - A object. - A enumeration value that indicates whether to return queue metadata with the listing. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to add a message for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - The message time-to-live, in seconds. - The length of time during which the message will be invisible, in seconds. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to add a message for a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - The message time-to-live, in seconds. - The length of time during which the message will be invisible, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - The length of time during which the message will be invisible, in seconds. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - The length of time during which the message will be invisible, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to update a message. - - A specifying the absolute URI to the message to update. - The server timeout interval, in seconds. - A string specifying the pop receipt of the message. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to get. - A value specifying the visibility timeout. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to get messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to get. - A value specifying the visibility timeout. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to peek messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to peek. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to peek messages from a queue. - - A specifying the absolute URI to the queue. - An integer specifying the server timeout interval. - An integer specifying the number of messages to peek. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Represents a Windows Azure table. - - - Represents a Windows Azure table. - - - - - Executes an operation on a table. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins execution of an asynchronous table operation. - - A object that represents the operation to perform. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins execution of an asynchronous table operation. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends execution of an asynchronous table operation. - - An that references the pending asynchronous operation. - A containing the result executing the operation on the table. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation that executes an asynchronous table operation. - - A object that represents the operation to perform. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Executes a batch operation on a table as an atomic operation. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that contains the results, in order, of each operation in the on the table. - - - - Begins an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a batch of operations on a table. - - An that references the pending asynchronous operation. - A enumerable collection of type that contains the results, in order, of each operation in the on the table. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that is list of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A to observe while waiting for a task to complete. - A object that is list of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that is list of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a batch of operations on a table. - - The object representing the operations to execute on the table. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that is list of type that represents the asynchronous operation. - - - - Executes a query on a table and returns an enumerable collection of objects. - - A representing the query to execute. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects, representing table entities returned by the query. - - - - Executes a segmented query on a table and returns a containing objects. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type containing the results of executing the query. - - - - Begins an asynchronous segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous segmented query on a table. - - An that references the pending asynchronous operation. - A object of type containing the results of executing the query. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to perform a segmented query on a table. - - A representing the query to execute. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Executes a query on a table and applies the specified to the result. - - A representing the query to execute. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, containing the projection into type TResult, of the results of executing the query. - - - - Executes a segmented query on a table and applies the specified to the result. - - A representing the query to execute. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object containing the results of executing the query. - - - - Begins an asynchronous operation to execute a segmented query and apply the specified to the result. - - A representing the query to execute. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a segmented query and apply the specified to the result. - - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - A factory method that creates a query that can be modified using LINQ. The query may be subsequently executed using one of the execution methods available for , - such as , , or . - - The entity type of the query. - A object, specialized for type TElement, that may subsequently be executed. - - The namespace includes extension methods for the object, - including , , and . To use these methods, include a using - statement that references the namespace. - - - - - Executes a query on a table. - - The entity type of the query. - A TableQuery instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, specialized for type TElement, of the results of executing the query. - - - - Executes a query on a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A , specialized for type TElement, containing the results of executing the query. - - - - Begins an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to query a table in segmented mode. - - The type of the results to be returned. Can be the entity type specified in the Begin or the result type of the resolver - An that references the pending asynchronous operation. - A containing the results of executing the query. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to query a table in segmented mode. - - The entity type of the query. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Executes a query and applies the specified to the result. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, containing the projection into type TResult, of the results of executing the query. - - - - Executes a query in segmented mode and applies the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A containing the projection into type TResult of the results of executing the query. - - - - Begins an asynchronous operation to query a table in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a query in segmented mode. - - The entity type of the query. - The type into which the will project the query results. - An that references the pending asynchronous operation. - A containing the projection into type TResult of the results of executing the query. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query in segmented mode and apply the specified to the results. - - The entity type of the query. - The type into which the will project the query results. - A instance specifying the table to query and the query parameters to use, specialized for a type TElement. - An instance which creates a projection of the table query result entities into the specified type TResult. - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to create a table. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to create a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to create a table. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to create a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Creates the table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if table was created; otherwise, false. - This API performs an existence check and therefore requires list permissions. - - - - Begins an asynchronous operation to create a table if it does not already exist. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Begins an asynchronous operation to create a table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Ends an asynchronous operation to create a table if it does not already exist. - - An that references the pending asynchronous operation. - true if table was created; otherwise, false. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Initiates an asynchronous operation to create a table if it does not already exist. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - This API performs an existence check and therefore requires list permissions. - - - - Deletes a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to delete a table. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete a table. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Deletes the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if the table was deleted; otherwise, false. - - - - Begins an asynchronous operation to delete the table if it exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to delete the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to delete the table if it exists. - - An that references the pending asynchronous operation. - true if the table was deleted; otherwise, false. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to delete the table if it exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Checks whether the table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if table exists; otherwise, false. - - - - Checks whether the table exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - true if table exists; otherwise, false. - - - - Begins an asynchronous operation to determine whether a table exists. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to determine whether a table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to determine whether a table exists. - - If true, the command will be executed against the primary location. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to determine whether a table exists. - - An that references the pending asynchronous operation. - true if table exists; otherwise, false. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type bool that represents the asynchronous operation. - - - - Initiates an asynchronous operation to determine whether a table exists. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type bool that represents the asynchronous operation. - - - - Gets the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous request to get the permissions settings for the table. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to get the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the table. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the permissions settings for the table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Sets the permissions settings for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous request to set permissions for the table. - - A object that represents the permissions to set. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous request to set permissions for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Returns the asynchronous result of the request to get the permissions settings for the table. - - An that references the pending asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set permissions for the table. - - A object that represents the permissions to set. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the table. - - - - Initializes a new instance of the class. - - A specifying the absolute URI to the table. - A object. - - - - Initializes a new instance of the class. - - A containing the absolute URI to the table at both the primary and secondary locations. - A object. - - - - Initializes a new instance of the class. - - The table name. - The client. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A string specifying the start partition key, or null. - A string specifying the start row key, or null. - A string specifying the end partition key, or null. - A string specifying the end row key, or null. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns a shared access signature for the table. - - A object specifying the access policy for the shared access signature. - A string identifying a stored access policy. - A string specifying the start partition key, or null. - A string specifying the start row key, or null. - A string specifying the end partition key, or null. - A string specifying the end row key, or null. - The allowed protocols (https only, or http and https). Null if you don't want to restrict protocol. - The allowed IP address or IP address range. Null if you don't want to restrict based on IP address. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - Thrown if the current credentials don't support creating a shared access signature. - - - - Returns the name of the table. - - A string containing the name of the table. - - - - Parse URI for SAS (Shared Access Signature) information. - - The complete Uri. - The credentials to use. - - - - Gets the canonical name of the table, formatted as table/<account-name>/<table-name>. - - The canonical name of the table. - - - - Gets the object that represents the Table service. - - A object . - - - - Gets the name of the table. - - A string containing the name of the table. - - - - Gets the table URI for the primary location. - - A specifying the absolute URI to the table at the primary location. - - - - Gets the table's URIs for both the primary and secondary locations. - - An object of type containing the table's URIs for both the primary and secondary locations. - - - - Provides a client-side logical representation of the Windows Azure Table Service. This client is used to configure and execute requests against the Table Service. - - The service client encapsulates the endpoint or endpoints for the Table service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account. - - Provides a client-side logical representation of the Windows Azure Table service. This client is used to configure and execute requests against the Table service. - - The CloudTableClient object encapsulates the base URI for the Table service. If the service client will be used for authenticated access, - it also encapsulates the credentials for accessing the storage account. - - - - Returns an enumerable collection of tables, retrieved lazily, that start with the specified prefix. - - A string containing the table name prefix. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection of objects that are retrieved lazily. - - - - Returns a result segment of tables. - - A returned by a previous listing operation. - A object. - - - - Returns a result segment of tables, retrieved lazily, that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - A object. - - - - Returns a result segment of tables, retrieved lazily, that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to return a result segment of tables. - - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - The server timeout, maximum execution time, and retry policies for the operation. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to return a result segment of tables. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to return a result segment of tables. - - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables. - - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A returned by a previous listing operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - The server timeout, maximum execution time, and retry policies for the operation. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to return a result segment of tables that start with the specified prefix. - - A string containing the table name prefix. - A non-negative integer value that indicates the maximum number of results to be returned at a time, up to the - per-operation limit of 5000. If this value is null, the maximum possible number of results will be returned, up to 5000. - A returned by a previous listing operation. - The server timeout, maximum execution time, and retry policies for the operation. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets the service properties for the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Begins an asynchronous operation to get the service properties of the Table service. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get the service properties of the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get the service properties of the Table service. - - The result returned from a prior call to . - A object. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get the service properties of the Table service. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Sets the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - - - - Begins an asynchronous operation to set the service properties of the Table service. - - A object. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to set the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to set the service properties of the Table service. - - The result returned from a prior call to - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to set the service properties of the Table service. - - A object. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Table service endpoint. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object to be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to get service stats for the secondary Table service endpoint. - - An that references the pending asynchronous operation. - A object. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to get service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object of type that represents the asynchronous operation. - - - - Gets service stats for the secondary Table service endpoint. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object. - - - - Creates a new object for performing operations against the Table service. - - A service context to use for performing operations against the Table service. - - - - Initializes a new instance of the class using the specified Table service endpoint - and account credentials. - - A object containing the Table service endpoint to use to create the client. - A object. - - - - Initializes a new instance of the class using the specified Table service endpoint - and account credentials. - - A object containing the Table service endpoint to use to create the client. - A object. - - - - Gets a reference to the specified table. - - A string containing the name of the table. - A object. - - - - Gets or sets the authentication scheme to use to sign HTTP requests. - - - This property is set only when Shared Key or Shared Key Lite credentials are used; it does not apply to authentication via a shared access signature - or anonymous access. - Note that if you are using the legacy Table service API, which is based on WCF Data Services, the authentication scheme used by the - object will always be Shared Key Lite, regardless of the value of this property. - - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Gets or sets a buffer manager that implements the interface, - specifying a buffer pool for use with operations against the Table service client. - - An object of type . - - - - Gets the account credentials used to create the Table service client. - - A object. - - - - Gets the base URI for the Table service client at the primary location. - - A object containing the base URI used to construct the Table service client at the primary location. - - - - Gets the Table service endpoints for both the primary and secondary locations. - - An object of type containing Table service URIs for both the primary and secondary locations. - - - - Gets or sets the default request options for requests made via the Table service client. - - A object. - - - - Gets a value indicating whether the service client is used with Path style or Host style. - - Is true if use path style URIs; otherwise, false. - - - - Gets the associated account name for the client. - - The account name. - - - - Represents a custom attribute that can be used to indicate whether an entity property should be encrypted. - - - - - Represents a batch operation on a table. - - - Represents a batch operation on a table. - - A batch operation is a collection of table operations which are executed by the Storage Service REST API as a single atomic operation, by invoking an - Entity Group Transaction.A batch operation may contain up to 100 individual - table operations, with the requirement that each operation entity must have same partition key. A batch with a retrieve operation cannot contain any other operations. - Note that the total payload of a batch operation is limited to 4MB. - - - - Inserts a into the batch that retrieves an entity based on its row key and partition key. The entity will be deserialized into the specified class type which extends . - - The class of type for the entity to retrieve. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - List of column names for projection. - - - - Adds a table operation to retrieve an entity of the specified class type with the specified partition key and row key to the batch operation. - - The return type which the specified will resolve the given entity to. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - The implementation to project the entity to retrieve as a particular type in the result. - List of column names for projection. - - - - Initializes a new instance of the class. - - - - - Adds a to the that deletes the specified entity from a table. - - The entity to be deleted from the table. - - - - Adds a to the that inserts the specified entity into a table. - - The entity to be inserted into the table. - - - - Adds a object that inserts the specified entity into the table as part of the batch operation. - - The entity to be inserted into the table. - true if the message payload should be returned in the response to the insert operation;otherwise, false. - - - - Adds a to the that inserts the specified entity into a table if the entity does not exist; if the entity does exist then its contents are merged with the provided entity. - - The entity whose contents are being inserted or merged. - - - - Adds a to the that inserts the specified entity into a table if the entity does not exist; if the entity does exist then its contents are replaced with the provided entity. - - The entity whose contents are being inserted or replaced. - - - - Adds a to the that merges the contents of the specified entity with the existing entity in a table. - - The entity whose contents are being merged. - - - - Adds a to the that replaces the contents of the specified entity in a table. - - The entity whose contents are being replaced. - - - - Adds a to the that retrieves an entity with the specified partition key and row key. - - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - - - - Returns the zero-based index of the first occurrence of the specified item, or -1 if the does not contain the item. - - The item to search for. - The zero-based index of the first occurrence of item within the , if found; otherwise, –1. - - - - Inserts a into the at the specified index. - - The index at which to insert the . - The item to insert. - - - - Removes the at the specified index from the . - - The index of the to remove from the . - - - - Adds the to the . - - The item to add to the . - - - - Clears all objects from the . - - - - - Returns true if this contains the specified element. - - The item to search for. - true if the item is contained in the ; false, otherwise. - - - - Copies all the elements of the to the specified one-dimensional array starting at the specified destination array index. - - A one-dimensional array that serves as the destination for the elements copied from the . - The index in the destination array at which copying begins. - - - - Removes the specified item from the . - - The item to remove. - true if the item was successfully removed; false, otherwise. - - - - Returns an for the . - - An for items. - - - - Returns an . - - An for the . - - - - Gets or sets the item at the specified index. - - The index at which to get or set the item. - The item at the specified index. - - - - Gets the number of operations in this . - - The number of operations in the . - - - - Gets a value indicating whether the is read-only. - - true if the is read-only; false, otherwise. - - - - Represents an encryption policy for performing envelope encryption/decryption of entities in Azure tables. - - - - - Initializes a new instance of the class with the specified key and resolver. - - An object of type that is used to wrap/unwrap the content encryption key. - The key resolver used to select the correct key for decrypting existing table entities. - If the generated policy is to be used for encryption, users are expected to provide a key at the minimum. - The absence of key will cause an exception to be thrown during encryption.
- If the generated policy is intended to be used for decryption, users can provide a key resolver. The client library will:
- 1. Invoke the key resolver, if specified, to get the key.
- 2. If resolver is not specified but a key is specified, the client library will match the key ID against the key and use the key.
-
- - - Return an encrypted entity. This method is used for encrypting entity properties. - - - - - Return a decrypted entity. This method is used for decrypting entity properties. - - - - - An object of type that is used to wrap/unwrap the content key during encryption. - - - - - Gets or sets the key resolver used to select the correct key for decrypting existing table entities. - - A resolver that returns an , given a key ID. - - - - Represents a single table operation. - - - Represents a single table operation. - - - - - Creates a new instance of the class given the - entity to operate on and the type of operation that is being - performed. - - The entity on which the operation is being performed. - The type of operation. - - - - Creates a new table operation that deletes the given entity - from a table. - - The object to be deleted from the table. - The object. - - - - Creates a new table operation that inserts the given entity - into a table. - - The object to be inserted into the table. - The object. - - - - Creates a new table operation that inserts the given entity - into a table. - - The object to be inserted into the table. - true if the message payload should be returned in the response to the insert operation. false otherwise. - The object. - - - - Creates a new table operation that inserts the given entity - into a table if the entity does not exist; if the entity does - exist then its contents are merged with the provided entity. - - The object to be inserted or merged. - The object. - - - - Creates a new table operation that inserts the given entity - into a table if the entity does not exist; if the entity does - exist then its contents are replaced with the provided entity. - - The object to be inserted or replaced. - The object. - - - - Creates a new table operation that merges the contents of - the given entity with the existing entity in a table. - - The object to be merged. - The object. - - - - Creates a new table operation that replaces the contents of - the given entity in a table. - - The object to be replaced. - The object. - - - - Creates a new table operation that retrieves the contents of - the given entity in a table. - - The class of type for the entity to retrieve. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - List of column names for projection. - The object. - - - - Creates a new table operation that retrieves the contents of - the given entity in a table. - - The return type which the specified will resolve the given entity to. - A string containing the partition key of the entity to retrieve. - A string containing the row key of the entity to retrieve. - The implementation to project the entity to retrieve as a particular type in the result. - List of column names for projection. - The object. - - - - Creates a new table operation that retrieves the contents of - the given entity in a table. - - A string containing the partition key of the entity to be retrieved. - A string containing the row key of the entity to be retrieved. - List of column names for projection. - The object. - - - - Gets the entity that is being operated upon. - - - - - Gets the type of operation. - - - - - Gets or sets the value that represents whether the message payload should be returned in the response. - - - - - List of columns to project with for the retrieve operation. - - - - - Represents a query against a Windows Azure table. - - A class which implements . - - Represents a query against a Windows Azure table. - - - - - Initializes a new instance of the class. - - - - - Executes a query on a table. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, specialized for type TElement, of the results of executing the query. - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A object returned by a previous listing operation. May be null. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A object returned by a previous listing operation. May be null. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - A object that specifies additional options for the request. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a query and return the results as a result segment. - - The reference to the pending asynchronous request to finish. - A object of type . - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null./// A to observe while waiting for a task to complete. - A of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - An object that represents the context for the current operation. - A object that specifies additional options for the request. - A of type that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - An object that represents the context for the current operation. - A object that specifies additional options for the request. - A to observe while waiting for a task to complete. - A of type that represents the asynchronous operation. - - - - Executes a segmented query against a table. - - A object representing a continuation token from the server when the operation returns a partial result. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A , specialized for type TElement, containing the results of executing the query. - - - - Returns an enumerator that iterates through the . - - An for the . - - - - Defines the property names of the table entity properties to return when the table query is executed. - - A list of string objects containing the property names of the table entity properties to return when the query is executed. - A instance set with the table entity properties to return. - The select clause is optional on a table query, and is used to limit the table properties returned from the server. - By default, a query will return all properties from the table entity. - - - - Defines the upper bound for the number of entities the query returns. - - The maximum number of entities for the table query to return. - A instance set with the number of entities to return. - - - - Defines a filter expression for the table query. Only entities that satisfy the specified filter expression will be returned by the query. - - Setting a filter expression is optional; by default, all entities in the table are returned if no filter expression is specified in the table query. - A string containing the filter expression to apply to the table query. - A instance set with the filter on entities to return. - - - - Gets the type of the element(s) that are returned when the expression tree is executed. - - A that represents the type of the element(s) that are returned when the expression tree associated with this object is executed. - - - - Gets the expression tree. - - The that is associated with this instance of . - - - - Gets the query provider that is associated with this data source. - - The that is associated with this data source. - - - - Gets or sets the number of entities the query returns specified in the table query. - - The maximum number of entities for the table query to return. - - - - Gets or sets the filter expression to use in the table query. - - A string containing the filter expression to use in the query. - - - - Gets or sets the property names of the table entity properties to return when the table query is executed. - - A list of strings containing the property names of the table entity properties to return when the query is executed. - - - - Represents a query against a specified table. - - The class aggregates and encodes the query parameters to pass with the request when the query is executed. - To execute the query, call the executeQuery or executeQuerySegmented method of the class. - - - - Represents a query against a specified table. - - A instance aggregates the query parameters to use when the query is executed. One of the executeQuery or executeQuerySegmented methods - of must be called to execute the query. The parameters are encoded and passed to the server when the table query is executed. - - - - Specifies the names of the entity properties to return when the query is executed against the table. - - The Project clause is optional on a query, used to limit the properties returned from the server. By default, a query will return all properties from the entity. - The entity type of the query. - The entity instance to project off of. - A list of string objects containing the names of the entity properties to return when the query is executed. - A instance set with the entity properties to return. - - - - Generates a property filter condition string for the string value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A string containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the boolean value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A bool containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the binary value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A byte array containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for an value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - An containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for an value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - An containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value. - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A containing the value to compare with the property. - A string containing the formatted filter condition. - - - - Generates a property filter condition string for the value, formatted as the specified . - - A string containing the name of the property to compare. - A string containing the comparison operator to use. - A string containing the value to compare with the property. - The to format the value as. - A string containing the formatted filter condition. - - - - Creates a filter condition using the specified logical operator on two filter conditions. - - A string containing the first formatted filter condition. - A string containing the operator to use (AND, OR). - A string containing the second formatted filter condition. - A string containing the combined filter expression. - - - - Defines the property names of the table entity properties to return when the table query is executed. - - The select clause is optional on a table query, used to limit the table properties returned from the server. By default, a query will return all properties from the table entity. - A list of string objects containing the property names of the table entity properties to return when the query is executed. - A instance set with the table entity properties to return. - - - - Defines the upper bound for the number of entities the query returns. - - The maximum number of entities for the table query to return. - A instance set with the number of entities to return. - - - - Defines a filter expression for the table query. Only entities that satisfy the specified filter expression will be returned by the query. - - Setting a filter expression is optional; by default, all entities in the table are returned if no filter expression is specified in the table query. - A string containing the filter expression to apply to the table query. - A instance set with the filter on entities to return. - - - - Gets or sets the number of entities the table query will return. - - The maximum number of entities for the table query to return. - - - - Gets or sets the filter expression to use in the table query. - - A string containing the filter expression to use in the query. - - - - Gets or sets the property names of the table entity properties to return when the table query is executed. - - A list of strings containing the property names of the table entity properties to return when the query is executed. - - - - Represents a object for use with the Windows Azure Table service. - - The class does not support concurrent queries or requests. - - - - Initializes a new instance of the class. - - - - - Callback on DataContext object sending request. - - The sender. - The instance containing the event data. - - - - Saves changes, using the retry policy specified for the service context. - - A that represents the result of the operation. - - - - Saves changes, using the retry policy specified for the service context. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A that represents the result of the operation. - - - - Begins an asynchronous operation to save changes, using the retry policy specified for the service context. - - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - - An that references the asynchronous operation. - - - - Ends an asynchronous operation to save changes. - - An that references the pending asynchronous operation. - A that represents the result of the operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to save changes, using the retry policy specified for the service context. - - A enumeration value. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Releases all resources used by the TableServiceContext. - - - - - Releases the unmanaged resources used by the TableServiceContext and optionally releases the managed resources. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets the object that represents the Table service. - - A client object that specifies the Table service endpoint. - - - - Gets the authentication handler used to sign HTTP requests. - - The authentication handler. - - - - Represents an entity in the Windows Azure Table service. - - - - - Initializes a new instance of the class. - - The partition key. - The row key. - - - - Initializes a new instance of the class. - - - - - Gets or sets the timestamp for the entity. - - The entity's timestamp. - - - - Gets or sets the partition key of a table entity. - - The partition key. - - - - Gets or sets the row key of a table entity. - - The row key. - - - - Provides a set of extensions for the Table service. - - - - - Converts the query into a object that supports - additional operations like retries. - - The type of the element. - The query. - A object that represents the runtime context of the Table service. - The converted query. - - - - A class for constructing a query against the Table service. - - The type of the element. - - - - Initializes a new instance of the class. - - An object that implements . - A object. - - - - Expands the specified path. - - The path to expand. - A new query with the expanded path. - - - - Returns an enumerator that iterates through the collection. - - - A that can be used to iterate through the collection. - - - - - Executes the request with any specified options. - - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An enumerable collection, specialized for type TElement, of the results of executing the query. - - - - Executes a segmented query against the Table service. - - The continuation token. - The request options. - An object that represents the context for the current operation. - A result segment containing objects of type . - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Begins an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - An delegate that will receive notification when the asynchronous operation completes. - A user-defined object that will be passed to the callback delegate. - An that references the asynchronous operation. - - - - Ends an asynchronous operation to execute a query and return the results as a result segment. - - The reference to the pending asynchronous request to finish. - A result segment containing objects of type . - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A object that represents the asynchronous operation. - - - - Initiates an asynchronous operation to execute a query and return the results as a result segment. - - A continuation token returned by a previous listing operation, can be null. - A object that specifies additional options for the request. - An object that represents the context for the current operation. - A to observe while waiting for a task to complete. - A object that represents the asynchronous operation. - - - - Gets the Table service context. - - - An object of type . - - - - - Stores the wrapped . - - - - - Gets the type of the element(s) that are returned when the expression tree associated with this - instance of is executed. - - - A that represents the type of the element(s) that are returned when the expression tree associated with this object is executed. - - - - - Gets the expression tree that is associated with the instance of . - - - The that is associated with this instance of . - - - - - Gets the query provider that is associated with this data source. - - - The that is associated with this data source. - - - - - A factory class for constructing a web request to manage tables in the Table service. - - - - - Creates a web request to get the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to set the properties of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - An object that represents the context for the current operation. - A object. - - - - Creates a web request to get the stats of the Table service. - - A specifying the Table service endpoint. - A object specifying additional parameters to add to the URI query string. - The server timeout interval, in seconds. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Writes Table service properties to a stream, formatted in XML. - - A object containing the service properties to format and write to the stream. - The object to which the formatted properties are to be written. - - - - Constructs a web request to return the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to return the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - An object that represents the context for the current operation. - A object. - - - - Constructs a web request to set the ACL for a table. - - A specifying the absolute URI for the table. - A object specifying additional parameters to add to the URI query string. - An integer specifying the server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A object. - - - - Provides a set of methods for parsing a response stream from the Table service. - - - - - Gets the request ID from the response. - - The web response. - A unique value associated with the request. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Reads the share access policies from a stream in XML. - - The stream of XML policies. - The permissions object to which the policies are to be written. - - - - Gets the table continuation from response. - - The response. - The continuation. - - - - Translates the data service exception. - - The exception. - The request result. - The delegate used to parse the error to get extended error information. - - The translated exception. - - - - - Look for an inner exception of type T. - - The exception. - The found exception or null. - - - - Applies the continuation to query. - - The continuation token. - The local query. - The modified query. - - - - Gets the query take count. - - The type of the element. - The query. - The default value. - - The take count of the query, if any. - - - - - Gets the table continuation from response. - - The response. - The continuation. - - - - Copies the headers and properties from a request into a different request. - - The request to copy into. - The request to copy from. - - - - Gets an ETag from a response. - - The web response. - A quoted ETag string. - - - - Gets the user-defined metadata. - - The response from server. - A of the metadata. - - - - Gets the metadata or properties. - - The response from server. - The prefix for all the headers. - A of the headers with the prefix. - - - - Converts a string to UTC time. - - The string to convert. - A UTC representation of the string. - - - - Reads service properties from a stream. - - The stream from which to read the service properties. - The service properties stored in the stream. - - - - Reads service stats from a stream. - - The stream from which to read the service stats. - The service stats stored in the stream. - - - - Reads a collection of shared access policies from the specified object. - - A collection of shared access policies to be filled. - A policy response object for reading the stream. - The type of policy to read. - - - - Creates the web request. - - The HTTP method. - The request URI. - The timeout. - A object specifying additional parameters to add to the URI query string. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request for performing the operation. - - - - - Creates the specified URI. - - The URI to create. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Constructs a web request to return the ACL for a cloud resource. - - The absolute URI to the resource. - The server timeout interval. - An optional query builder to use. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request to use to perform the operation. - - - - Constructs a web request to set the ACL for a cloud resource. - - The absolute URI to the resource. - The server timeout interval. - An optional query builder to use. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request to use to perform the operation. - - - - Gets the properties. - - The URI to query. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Gets the metadata. - - The blob Uri. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Sets the metadata. - - The blob Uri. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Adds the metadata. - - The request. - The metadata. - - - - Adds the metadata. - - The request. - The metadata name. - The metadata value. - - - - Deletes the specified URI. - - The URI of the resource to delete. - The timeout. - The builder. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - A web request for performing the operation. - - - - Creates a web request to get the properties of the service. - - The absolute URI to the service. - A object specifying additional parameters to add to the URI query string. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to get the service properties. - - - - - Creates a web request to set the properties of the service. - - The absolute URI to the service. - The builder. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to set the service properties. - - - - - Creates a web request to get the stats of the service. - - The absolute URI to the service. - A object specifying additional parameters to add to the URI query string. - The server timeout interval. - A boolean value indicating whether to set the x-ms-version HTTP header. - An object that represents the context for the current operation. - - A web request to get the service stats. - - - - - Generates a query builder for building service requests. - - A for building service requests. - - - - Represents a storage service. - - - - - Blob service. - - - - - Queue Service. - - - - - Table Service. - - - - - File Service. - - - - - Adds the lease id. - - The request. - The lease id. - - - - Adds an optional header to a request. - - The web request. - The metadata name. - The metadata value. - - - - Adds an optional header to a request. - - The web request. - The header name. - The header value. - - - - Adds an optional header to a request. - - The web request. - The header name. - The header value. - - - - Applies the lease condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the sequence number condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the append condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the condition to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Applies the condition for a source blob to the web request. - - The request to be modified. - Access condition to be added to the request. - - - - Stream that will be used for decrypting blob ranges. It buffers 16 bytes of IV (if required) before creating a crypto stream and routing the - rest of the data through it. - - - - - This class provides a wrapper that will update the Ingress / Egress bytes of a given request result as the stream is used. - Note this is not supported for Windows RT / .Net 4.5 as some Async methods may not be able to be intercepted. - - - - - Initializes a new instance of the ByteCountingStream class with an expandable capacity initialized to zero. - - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - Stream that will be used for decrypting blob ranges. It is used to discard extra bytes from the beginning and end if required. - - - - - Creates a well-formatted log entry so that logs can be easily parsed - - An object that represents the context for the current operation. - A composite format string. - An object array that contains zero or more objects to format. - Log entry that contains common log prefix and a copy of format in which the format items have been replaced by the string representation of the corresponding objects in args. - - - - Determines if the current operation context allows for a specific level of log entry. - - Level of the log entry. - An object that represents the context for the current operation. - true if the entry should be logged; otherwise false. - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing. - For detailed information on how to authenticate a request, - see Authentication for the Windows Azure Storage Services. - - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key authentication scheme for the Blob or Queue service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key Lite authentication scheme for the Blob or Queue service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key Lite authentication scheme for the Table service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Represents a canonicalizer that converts HTTP request data into a standard form appropriate for signing via - the Shared Key authentication scheme for the Table service. - - Authentication for the Windows Azure Storage Services - - - - Converts the specified HTTP request data into a standard form appropriate for signing. - - The HTTP request that needs to be signed. - The name of the storage account that the HTTP request will access. - The canonicalized string containing the HTTP request data in a standard form appropriate for signing. - Authentication for the Windows Azure Storage Services - - - - Gets a static instance of the object. - - The static instance of the class. - Authentication for the Windows Azure Storage Services - - - - Gets the authorization scheme used for canonicalization. - - The authorization scheme used for canonicalization. - Authentication for the Windows Azure Storage Services - - - - Helper class to allow an APM Method to be executed with a given timeout in milliseconds - - - - - Helper class to convert an APM method to a Task method. - - - - - This class provides asynchronous semaphore functionality (based on Stephen Toub's blog). - - - - - Creates and initializes a new asynchronous copy operation. - - The source stream. - The destination stream. - An ExecutionState used to coordinate copy operation. - Size of read and write buffers used to move data. - Boolean value indicating whether the MD-5 should be calculated. - An object that represents the state for the current operation. - - - - Begins a stream copy operation. - - Callback delegate - Number of bytes to copy from source stream to destination stream. Cannot be passed with a value for maxLength. - Maximum length of the source stream. Cannot be passed with a value for copyLength. - - - - Aborts an ongoing copy operation. - - - - - Cleans up references. To end a copy operation, use Abort(). - - - - - Synchronizes Read and Write operations, and handles exceptions. - - Read/Write operation or null if first run. - - - - Helper method for EndOpWithCatch(IAsyncResult). Begins/Ends Read and Write Stream operations. - Should only be called by EndOpWithCatch(IAsyncResult) since it assumes we are inside the lock. - - Read/Write operation or null if first run. - - - - Callback for timeout timer. Aborts the AsyncStreamCopier operation if a timeout occurs. - - AsyncStreamCopier operation. - True if the timer has timed out, false otherwise. - - - - Aborts the AsyncStreamCopier operation. - - AsyncStreamCopier operation. - True if aborted due to a time out, or false for a general cancellation. - - - - Terminates and cleans up the AsyncStreamCopier. - - - - - Helper method for this.SignalCompletion() - Should only be called by this.SignalCompletion() - - - - - Determines whether the next operation should begin or halt due to an exception or cancellation. - - True to continue, false to halt. - - - - Waits for a read operation to end and updates the AsyncStreamCopier state. - - - - - Waits for a write operation to end and updates the AsyncStreamCopier state. - - - - - If a read operation has completed with data, swaps the read/write buffers and resets their corresponding counts. - This must be called inside a lock as it could lead to undefined behavior if multiple unsynchronized callers simultaneously called in. - - Number of bytes to write, or negative if no read operation has completed. - - - - Determines the number of bytes that should be read from the source in the next BeginRead operation. - Should only be called when no outstanding read operations exist. - - Number of bytes to read. - - - - Determines whether no more data can be read from the source Stream. - - True if at the end, false otherwise. - - - - Determines whether the current read buffer contains data ready to be written. - - True if read buffer is full, false otherwise. - - - - Represents an operation that supports cancellation. Used by - ICancellableAsyncResult implementations throughout the library. - Also used by AsyncExtensions as a bridge between CancellationToken - and the ICancellableAsyncResult returned by an APM method call. - - - - - The class is provides the helper functions to do FISMA compliant MD5. - - - - - Cryptographic service provider. - - - - - Access to the private keys is not required and the user interface can be bypassed. - - - - - ALG_ID value that identifies the hash algorithm to use. - - - - - The hash value or message hash for the hash object specified by hashHandle. - - - - - The address to which the function copies a handle to the new hash object. Has to be released by calling the CryptDestroyHash function after we are finished using the hash object. - - - - - A handle to a CSP created by a call to CryptAcquireContext. - - - - - Whether this object has been torn down or not. - - - - - Initializes a new instance of NativeMD5. - - - - - Finalizes an instance of the NativeMD5 class, unhooking it from all events. - - - - - Initializes an implementation of the NativeMD5 class. - - - - - Routes data written to the object into the hash algorithm for computing the hash. - - The input to compute the hash code for. - The offset into the byte array from which to begin using data. - The number of bytes in the byte array to use as data. - - - - Finalizes the hash computation after the last data is processed by the cryptographic stream object. - - The computed hash code. - - - - Releases the unmanaged resources used by the NativeMD5. - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Validates the status returned by all the crypto functions and throws exception per the return code. - - The boolean status returned by the crypto functions. - - - - Represents the async result returned by operations that do not directly - call into the Executor. - - Async operation's result type - - - - Represents the async result returned by a storage command. - - - - - The callback provided by the user. - - - - - The state for the callback. - - - - - Indicates whether a task is completed. - - - - - Indicates whether task completed synchronously. - - - - - The event for blocking on this task's completion. - - - - - Initializes a new instance of the StorageCommandAsyncResult class. - - The callback method to be used on completion. - The state for the callback. - - - - We implement the dispose only to allow the explicit closing of the event. - - - - - Releases unmanaged and - optionally - managed resources. - - Set to true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Provides the lazy initialization of the WaitHandle (based on Joe Duffy's blog). - - The WaitHandle to use for waiting on completion. - - - - Called on completion of the async operation to notify the user - (Based on Joe Duffy's lockless design). - - - - - Blocks the calling thread until the async operation is completed. - - - - - Updates the CompletedSynchronously flag with another asynchronous operation result. - - Set to true if the last operation was completed synchronously; false if it was completed asynchronously. - - - - Gets A user-defined object that contains information about the asynchronous operation. - - - - - Gets a System.Threading.WaitHandle that is used to wait for an asynchronous operation to complete. - - - - - Gets a value indicating whether the asynchronous operation completed synchronously. - - - - - Gets a value indicating whether the asynchronous operation has completed. - - - - - Initializes a new instance of the StorageAsyncResult class. - - The callback method to be used on completion. - The state for the callback. - - - - Called on completion of the async operation to notify the user - - Exception that was caught by the caller. - - - - Blocks the calling thread until the async operation is completed and throws - any stored exceptions. - - - - - Represents a set of access conditions to be used for operations against the storage services. - - - - - Time for IfModifiedSince. - - - - - Time for IfUnmodifiedSince. - - - - - Constructs an empty access condition. - - An empty object. - - - - Constructs an access condition such that an operation will be performed only if the resource does not exist. - - An object that represents a condition where a resource does not exist. - Setting this access condition modifies the request to include the HTTP If-None-Match conditional header. - - - - Constructs an access condition such that an operation will be performed only if the resource exists. - - An object that represents a condition where a resource exists. - Setting this access condition modifies the request to include the HTTP If-Match conditional header. - - - - Constructs an access condition such that an operation will be performed only if the resource's ETag value - matches the specified ETag value. - - The ETag value to check against the resource's ETag. - An object that represents the If-Match condition. - - - - Constructs an access condition such that an operation will be performed only if the resource has been - modified since the specified time. - - A value specifying the time since which the resource must have been modified. - An object that represents the If-Modified-Since condition. - - - - Constructs an access condition such that an operation will be performed only if the resource's ETag value - does not match the specified ETag value. - - The ETag value to check against the resource's ETag, or "*" to require that the resource does not exist. - An object that represents the If-None-Match condition. - - If "*" is specified for the parameter, then this condition requires that the resource does not exist. - - - - - Constructs an access condition such that an operation will be performed only if the resource has not been - modified since the specified time. - - A value specifying the time since which the resource must not have been modified. - An object that represents the If-Unmodified-Since condition. - - - - Constructs an access condition such that an operation will be performed only if the size of the append blob after committing the block is less - than or equal to the specified value. - - An integer specifying the maximum allowed size of the blob, in bytes, when committing a new block. - An object that represents the maximum allowed size. - - - - Constructs an access condition such that an operation will be performed only if the end position of the append blob is equal to the specified value. - - An integer specifying the offset to compare to the current end position of the blob. - An object that represents the offset to compare. - - - - Constructs an access condition such that an operation will be performed only if resource's current sequence - number is less than or equal to the specified value. - - The value to compare to the current sequence number. - An object that represents the If-Sequence-Number-LE condition. - - - - Constructs an access condition such that an operation will be performed only if resource's current sequence - number is less than the specified value. - - The value to compare to the current sequence number. - An object that represents the If-Sequence-Number-LT condition. - - - - Constructs an access condition such that an operation will be performed only if resource's current sequence - number is equal to the specified value. - - The value to compare to the current sequence number. - An object that represents the If-Sequence-Number-EQ condition. - - - - Constructs an access condition such that an operation will be performed only if the lease ID on the - resource matches the specified lease ID. - - The lease ID to compare to the lease ID of the resource. - An object that represents the lease condition. - - - - Constructs an access condition such that an operation will be performed only if the resource's ETag value - matches the specified ETag value and the lease ID on the resource matches the lease ID specified in - the given access condition. - - An object that represents the condition that must be met in order for the request to proceed. - The ETag value that must be matched. - An object that represents the If-Match and the lease conditions. - - - - Gets or sets an ETag value for a condition specifying that the given ETag must match the ETag of the specified resource. - - A string containing an ETag value, or "*" to match any ETag. If null, no condition exists. - - - - Gets or sets an ETag value for a condition specifying that the given ETag must not match the ETag of the specified resource. - - A string containing an ETag value, or "*" to match any ETag. If null, no condition exists. - - - - Gets or sets a value for a condition specifying a time since which a resource has been modified. - - A value specified in UTC, or null if no condition exists. - - - - Gets or sets a value for a condition specifying a time since which a resource has not been modified. - - A value specified in UTC, or null if no condition exists. - - - - Gets or sets a value for a condition that specifies the maximum size allowed for an append blob when a new block is committed. The append - will succeed only if the size of the blob after the append operation is less than or equal to the specified size. - - The maximum size in bytes, or null if no value is set. - This condition only applies to append blobs. - - - - Gets or sets a value for a condition specifying the byte offset to check for when committing a block to an append blob. - The append will succeed only if the end position is equal to this number. - - An append position number, or null if no value is set. - This condition only applies to append blobs. - - - - Gets or sets a value for a condition specifying that the current sequence number must be less than or equal to the specified value. - - A sequence number, or null if no condition exists. - This condition only applies to page blobs. - - - - Gets or sets a value for a condition specifying that the current sequence number must be less than the specified value. - - A sequence number, or null if no condition exists. - This condition only applies to page blobs. - - - - Gets or sets a value for a condition specifying that the current sequence number must be equal to the specified value. - - A sequence number, or null if no condition exists. - This condition only applies to page blobs. - - - - Gets or sets a lease ID that must match the lease on a resource. - - A string containing a lease ID, or null if no condition exists. - - - - Determines whether the access condition is one of the four conditional headers. - - true if the access condition is a conditional header; otherwise, false. - - - - Specifies the authentication scheme used to sign HTTP requests. - - - - - Signs HTTP requests using the Shared Key Lite authentication scheme. - - - - - Signs HTTP requests using the Shared Key authentication scheme. - - - - - Represents a Windows Azure Storage account. - - - - - The setting name for using the development storage. - - - - - The setting name for specifying a development storage proxy Uri. - - - - - The setting name for using the default storage endpoints with the specified protocol. - - - - - The setting name for the account name. - - - - - The setting name for the account key name. - - - - - The setting name for the account key. - - - - - The setting name for a custom blob storage endpoint. - - - - - The setting name for a custom queue endpoint. - - - - - The setting name for a custom table storage endpoint. - - - - - The setting name for a custom file storage endpoint. - - - - - The setting name for a custom storage endpoint suffix. - - - - - The setting name for a shared access key. - - - - - The default account name for the development storage. - - - - - The default account key for the development storage. - - - - - The suffix appended to account in order to access secondary location for read only access. - - - - - The default storage service hostname suffix. - - - - - The default blob storage DNS hostname prefix. - - - - - The root queue DNS name prefix. - - - - - The root table storage DNS name prefix. - - - - - The default file storage DNS hostname prefix. - - - - - The FISMA compliance default value. - - - - - Validator for the UseDevelopmentStorage setting. Must be "true". - - - - - Validator for the DevelopmentStorageProxyUri setting. Must be a valid Uri. - - - - - Validator for the DefaultEndpointsProtocol setting. Must be either "http" or "https". - - - - - Validator for the AccountName setting. No restrictions. - - - - - Validator for the AccountKey setting. No restrictions. - - - - - Validator for the AccountKey setting. Must be a valid base64 string. - - - - - Validator for the BlobEndpoint setting. Must be a valid Uri. - - - - - Validator for the QueueEndpoint setting. Must be a valid Uri. - - - - - Validator for the TableEndpoint setting. Must be a valid Uri. - - - - - Validator for the FileEndpoint setting. Must be a valid Uri. - - - - - Validator for the EndpointSuffix setting. Must be a valid Uri. - - - - - Validator for the SharedAccessSignature setting. No restrictions. - - - - - Singleton instance for the development storage account. - - - - - Initializes a new instance of the class using the specified - credentials and service endpoints. - - A object. - A specifying the primary Blob service endpoint. - A specifying the primary Queue service endpoint. - A specifying the primary Table service endpoint. - A specifying the primary File service endpoint. - - - - Initializes a new instance of the class using the specified - account credentials and service endpoints. - - A object. - A specifying the Blob service endpoint or endpoints. - A specifying the Queue service endpoint or endpoints. - A specifying the Table service endpoint or endpoints. - A specifying the File service endpoint or endpoints. - - - - Initializes a new instance of the class using the specified - credentials, and specifies whether to use HTTP or HTTPS to connect to the storage services. - - A object. - true to use HTTPS to connect to storage service endpoints; otherwise, false. - Using HTTPS to connect to the storage services is recommended. - - - - Initializes a new instance of the class using the specified - credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services. - - A object. - The DNS endpoint suffix for all storage services, e.g. "core.windows.net". - true to use HTTPS to connect to storage service endpoints; otherwise, false. - Using HTTPS to connect to the storage services is recommended. - - - - Initializes a new instance of the class using the specified - credentials and endpoint suffix, and specifies whether to use HTTP or HTTPS to connect to the storage services. - - A object. - The name of the account. - The DNS endpoint suffix for all storage services, e.g. "core.windows.net". - true to use HTTPS to connect to storage service endpoints; otherwise, false. - Using HTTPS to connect to the storage services is recommended. - - - - Parses a connection string and returns a created - from the connection string. - - A valid connection string. - Thrown if is null or empty. - Thrown if is not a valid connection string. - Thrown if cannot be parsed. - A object constructed from the values provided in the connection string. - - - - Indicates whether a connection string can be parsed to return a object. - - The connection string to parse. - A object to hold the instance returned if - the connection string can be parsed. - true if the connection string was successfully parsed; otherwise, false. - - - - Creates the Table service client. - - A object. - - - - Creates the Queue service client. - - A object. - - - - Creates the Blob service client. - - A object. - - - - Creates an analytics client. - - A object. - - - - Creates the File service client. - - A client object that specifies the File service endpoint. - - - - Returns a shared access signature for the account. - - A object specifying the access policy for the shared access signature. - A shared access signature, as a URI query string. - The query string returned includes the leading question mark. - - - - Returns a connection string for this storage account, without sensitive data. - - A connection string. - - - - Returns a connection string for the storage account, optionally with sensitive data. - - True to include sensitive data in the string; otherwise, false. - A connection string. - - - - Returns a with development storage credentials using the specified proxy Uri. - - The proxy endpoint to use. - The new . - - - - Internal implementation of Parse/TryParse. - - The string to parse. - The to return. - A callback for reporting errors. - If true, the parse was successful. Otherwise, false. - - - - Tokenizes input and stores name value pairs. - - The string to parse. - Error reporting delegate. - Tokenized collection. - - - - Encapsulates a validation rule for an enumeration based account setting. - - The name of the setting. - A list of valid values for the setting. - An representing the enumeration constraint. - - - - Encapsulates a validation rule using a func. - - The name of the setting. - A func that determines if the value is valid. - An representing the constraint. - - - - Determines whether the specified setting value is a valid base64 string. - - The setting value. - true if the specified setting value is a valid base64 string; otherwise, false. - - - - Validation function that validates Uris. - - Value to validate. - true if the specified setting value is a valid Uri; otherwise, false. - - - - Validation function that validates a domain name. - - Value to validate. - true if the specified setting value is a valid domain; otherwise, false. - - - - Settings filter that requires all specified settings be present and valid. - - A list of settings that must be present. - The remaining settings or null if the filter's requirement is not satisfied. - - - - Settings filter that removes optional values. - - A list of settings that are optional. - The remaining settings or null if the filter's requirement is not satisfied. - - - - Settings filter that ensures that at least one setting is present. - - A list of settings of which one must be present. - The remaining settings or null if the filter's requirement is not satisfied. - - - - Settings filter that ensures that a valid combination of credentials is present. - - The remaining settings or null if the filter's requirement is not satisfied. - - - - Tests to see if a given list of settings matches a set of filters exactly. - - The settings to check. - A list of filters to check. - - If any filter returns null, false. - If there are any settings left over after all filters are processed, false. - Otherwise true. - - - - - Gets a StorageCredentials object corresponding to whatever credentials are supplied in the given settings. - - The settings to check. - The StorageCredentials object specified in the settings. - - - - Gets the default blob endpoint using specified settings. - - The settings to use. - The default blob endpoint. - - - - Gets the default blob endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default blob endpoint. - - - - Gets the default file endpoint using specified settings. - - The settings to use. - The default file endpoint. - - - - Gets the default file endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default file endpoint. - - - - Gets the default queue endpoint using the specified settings. - - The settings. - The default queue endpoint. - - - - Gets the default queue endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default queue endpoint. - - - - Gets the default table endpoint using the specified settings. - - The settings. - The default table endpoint. - - - - Gets the default table endpoint using the specified protocol and account name. - - The protocol to use. - The name of the storage account. - The Endpoint DNS suffix; use null for default. - The default table endpoint. - - - - Gets or sets a value indicating whether the FISMA MD5 setting will be used. - - false to use the FISMA MD5 setting; true to use the .NET default implementation. - - - - Gets a object that references the well-known development storage account. - - A object representing the development storage account. - - - - Indicates whether this account is a development storage account. - - - - - The storage service hostname suffix set by the user, if any. - - - - - The connection string parsed into settings. - - - - - True if the user used a constructor that auto-generates endpoints. - - - - - Gets the primary endpoint for the Blob service, as configured for the storage account. - - A containing the primary Blob service endpoint. - - - - Gets the primary endpoint for the Queue service, as configured for the storage account. - - A containing the primary Queue service endpoint. - - - - Gets the primary endpoint for the Table service, as configured for the storage account. - - A containing the primary Table service endpoint. - - - - Gets the primary endpoint for the File service, as configured for the storage account. - - A containing the primary File service endpoint. - - - - Gets the endpoints for the Blob service at the primary and secondary location, as configured for the storage account. - - A containing the Blob service endpoints. - - - - Gets the endpoints for the Queue service at the primary and secondary location, as configured for the storage account. - - A containing the Queue service endpoints. - - - - Gets the endpoints for the Table service at the primary and secondary location, as configured for the storage account. - - A containing the Table service endpoints. - - - - Gets the endpoints for the File service at the primary and secondary location, as configured for the storage account. - - A containing the File service endpoints. - - - - Gets the credentials used to create this object. - - A object. - - - - Specifies that the method will make one or more requests to the storage service. - - - - - Represents the encryption agent stored on the service. It consists of the encryption protocol version and encryption algorithm used. - - - - - Initializes a new instance of the class using the specified protocol version and the algorithm. - - The encryption protocol version. - The encryption algorithm. - - - - The protocol version used for encryption. - - - - - The algorithm used for encryption. - - - - - Specifies the encryption algorithm used to encrypt a resource. - - - - - AES-CBC using a 256 bit key. - - - - - Represents the encryption data that is stored on the service. - - - - - Gets or sets the wrapped key that is used to store the wrapping algorithm, key identifier and the encrypted key bytes. - - A object that stores the wrapping algorithm, key identifier and the encrypted key bytes. - - - - Gets or sets the encryption agent that is used to identify the encryption protocol version and encryption algorithm. - - The encryption agent. - - - - Gets or sets the content encryption IV. - - The content encryption IV. - - - - Gets or sets the user-defined encryption metadata. - - An object containing the encryption metadata as a collection of name-value pairs. - - - - An interface that allows clients to provide a buffer manager to a given service client. This interface is patterned after - the System.ServiceModel.Channels.BufferManager class. - - - - - Returns a buffer to the pool. - - A byte array specifying the buffer to return to the pool. - Buffer reference cannot be null. - Length of buffer does not match the pool's buffer length property. - - - - Gets a buffer of the specified size or larger from the pool. - - The size, in bytes, of the requested buffer. - The value specified for cannot be less than zero. - A byte array that is the requested size of the buffer. - - - - Gets the size, in bytes, of the buffers managed by the given pool. Note that the buffer manager must return buffers of the exact size requested by the client. - - The size, in bytes, of the buffers managed by the given pool. - - - - An interface required for continuation token types. - - The , , - and classes implement the interface. - - - - Gets the location that the token applies to. - - A enumeration value. - - - - Specifies either a single IP Address or a single range of IP Addresses (a minimum and a maximum, inclusive.) - - - - - Initializes a new instance of the IPAddressOrRange class from a single IPAddress. - - The IP Address that the IPAddressOrRange object will represent. - - - - Initializes a new instance of the IPAddressOrRange class from two IPAddress objects, a minimum and a maximum. - - The minimum IP Address that the IPAddressOrRange object will use as a range boundary, inclusive. - The maximum IP Address that the IPAddressOrRange object will use as a range boundary, inclusive. - - - - Provides a string representation of this IPAddressOrRange object. - - The string representation of this IPAddressOrRange object. - - - - Assert that an IP address is in IPv4 format. - - The IP address to assert. - - - - The IP Address. - Returns null if this object represents a range of IP addresses. - - - - - The minimum IP Address for the range, inclusive. - Returns null if this object represents a single IP address. - - - - - The maximum IP Address for the range, inclusive. - Returns null if this object represents a single IP address. - - - - - True if this object represents a single IP Address, false if it represents a range. - - - - - An interface required for request option types. - - The , , and classes implement the interface. - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the location mode of the request. - - A enumeration value. - - - - Gets or sets the default server timeout for the request. - - A containing the server timeout interval. - - - - Gets or sets the maximum execution time across all potential retries. - - A containing the maximum execution time across all potential retries. - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Specifies what messages to output to the log. - - - - - 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. - - - - - Provides helpers to validate resource names across the Microsoft Azure Storage Services. - - - - - Checks if a container name is valid. - - A string representing the container name to validate. - - - - Checks if a queue name is valid. - - A string representing the queue name to validate. - - - - Checks if a share name is valid. - - A string representing the share name to validate. - - - - Checks if a blob name is valid. - - A string representing the blob name to validate. - - - - Checks if a file name is valid. - - A string representing the file name to validate. - - - - Checks if a directory name is valid. - - A string representing the directory name to validate. - - - - Checks if a table name is valid. - - A string representing the table name to validate. - - - - Represents the context for a request operation against the storage service, and provides additional runtime information about its execution. - - - - - Initializes a new instance of the class. - - - - - Gets or sets additional headers on the request, for example, for proxy or logging information. - - A object containing additional header information. - - - - Gets or sets the client request ID. - - A string containing the client request ID. - - - - Gets or sets the default logging level to be used for subsequently created instances of the class. - - A value of type that specifies which events are logged by default by instances of the . - - - - Gets or sets the logging level to be used for an instance of the class. - - A value of type that specifies which events are logged by the . - - - - Occurs immediately before a request is signed. - - - - - Occurs when a response is received from the server, before any processing or downloading. - - - - - Occurs after a response has been fully received and processed. - - - - - Occurs before a request is retried - - - - - Occurs immediately before a request is signed. - - - - - Occurs when a response is received from the service, before any processing or downloading. - - - - - Occurs after a response has been fully received and processed. - - - - - Occurs before a request is retried - - - - - Gets or sets the start time of the operation. - - A value indicating the start time of the operation. - - - - Gets or sets the end time of the operation. - - A value indicating the end time of the operation. - - - - Gets or sets the set of request results that the current operation has created. - - An object that contains objects that represent the request results created by the current operation. - - - - Gets the last request result encountered for the operation. - - A object that represents the last request result. - - - - Provides information and event data that is associated with a request event. - - - - - Initializes a new instance of the class by using the specified parameter. - - The object. - - - - Gets the request information associated with this event. - - The request information associated with this event. - - - - Gets the HTTP request associated with this event. - - The HTTP request associated with this event. - - - - Gets the HTTP response associated with this event. - - The HTTP response associated with this event. - - - - Represents the result of a physical request. - - - - - Translates the specified message into a object. - - The message to translate. - The translated . - - - - Generates a serializable RequestResult from its XML representation. - - The stream from which the RequestResult is deserialized. - - - - Converts a serializable RequestResult into its XML representation. - - The stream to which the RequestResult is serialized. - - - - Gets or sets the HTTP status code for the request. - - The HTTP status code for the request. - - - - Gets the HTTP status message for the request. - - The HTTP status message for the request. - - - - Gets the service request ID for this request. - - The service request ID for this request. - - - - Gets the content-MD5 value for the request. - - The content-MD5 value for the request. - - - - Gets the ETag value of the request. - - The ETag value of the request. - - - - The number of bytes read from the response body for the given request - - - - - The number of bytes written to the request body for a given request - - - - - Gets the request date. - - The request date. - - - - Gets the location to which the request was sent. - - A enumeration value. - - - - Gets the extended error information. - - A object. - - - - Gets or sets the exception. - - An object. - - - - Gets the start time of the operation. - - A value indicating the start time of the operation. - - - - Gets the end time of the operation. - - A value indicating the end time of the operation. - - - - Represents a result segment that was retrieved from the total set of possible results. - - The type of the element returned in the result segment. - - - - Stores the continuation token used to retrieve the next segment of results. - - - - - Initializes a new instance of the ResultSegment class. - - The result. - - - - Gets an enumerable collection of results. - - An enumerable collection of results of type TElement. - - - - Gets a continuation token to use to retrieve the next set of results with a subsequent call to the operation. - - An object of type . - - - - Specifies the set of possible permissions for a shared access account policy. - - - - - No shared access granted. - - - - - Permission to read resources and list queues and tables granted. - - - - - Permission to add messages, table entities, blobs, and files granted. - - - - - Permission to create containers, blobs, shares, directories, and files granted. - - - - - Permissions to update messages and table entities granted. - - - - - Permission to get and delete messages granted. - - - - - Permission to write resources granted. - - - - - Permission to delete resources granted. - - - - - Permission to list blob containers, blobs, shares, directories, and files granted. - - - - - Represents a shared access policy for a account, which specifies the start time, expiry time, - permissions, signed service, signed resource type, signed protocol, and signed IP addresses for a shared access signature. - - - - - Initializes a new instance of the SharedAccessAccountPolicy class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions in string format. - - - - Converts the services specified for the shared access policy to a string. - - A object. - The shared access services in string format. - - - - Converts the ResourceTypes specified for the shared access policy to a string. - - A object. - The shared access resource types in string format. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Gets or sets the services (blob, file, queue, table) for a shared access signature associated with this shared access policy. - - - - - Gets or sets the resource type for a shared access signature associated with this shared access policy. - - - - - Gets or sets the allowed protocols for a shared access signature associated with this shared access policy. - - - - - Gets or sets the allowed IP address or IP address range for a shared access signature associated with this shared access policy. - - - - - Specifies the set of possible signed resource types for a shared access account policy. - - - - - No shared access granted. - - - - - Permission to access service level APIs granted. - - - - - Permission to access container level APIs (Blob Containers, Tables, Queues, File Shares) granted. - - - - - Permission to access object level APIs (Blobs, Table Entities, Queue Messages, Files) granted - - - - - Specifies the set of possible signed services for a shared access account policy. - - - - - No shared access granted. - - - - - Permission to access blob resources granted. - - - - - Permission to access file resources granted. - - - - - Permission to access queue resources granted. - - - - - Permission to access table resources granted. - - - - - Specifies the set of possible signed protocols for a shared access account policy. - - - - - Permission to use SAS only through https granted. - - - - - Permission to use SAS through https or http granted. Equivalent to not specifying any permission at all. - - - - - Represents an exception thrown by the Azure Storage service. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the 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 generated this exception. - - The exception error message. - The inner exception. - - - - Initializes a new instance of the class with serialized data. - - The object that holds serialized object data for the exception being thrown. - The that contains contextual information about the source or destination. - This constructor is called during de-serialization to reconstitute the exception object transmitted over a stream. - - - - Populates a object with the data needed to serialize the target object. - - The object to populate with data. - The destination context for this serialization. - - - - Initializes a new instance of the class by using the specified parameters. - - The request result. - The exception message. - The inner exception. - - - - Translates the specified exception into a . - - The exception to translate. - The request result. - The storage exception. - An exception of type . - - - - Translates the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The storage exception. - - - - Translates the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The error stream that contains the error information. - The storage exception. - - - - Tries to translate the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The storage exception or null. - - - - Translates the specified exception into a storage exception. - - The exception to translate. - The request result. - The delegate used to parse the error to get extended error information. - The storage exception. - - - - Populate the RequestResult. - - The request result. - The web response. - - - - Represents an exception thrown by the Windows Azure storage client library. - - A string that represents the exception. - - - - Gets the object for this object. - - The object for this object. - - - - Indicates if exception is retryable. - - - - - Represents extended error information returned by the Windows Azure storage services. - - - - - Initializes a new instance of the class. - - - - - Gets the error details from an XML-formatted error stream. - - The input stream. - The error details. - - - - Gets the error details from the stream using OData library. - - The input stream. - The web response. - The response Content-Type. - The error details. - - - - Gets the error details from the stream using OData library. - - The input stream. - The web response headers. - The response Content-Type. - The error details. - - - - Parses the error details from the stream using OData library. - - The IODataResponseMessage to parse. - The error details. - - - - Generates a serializable object from its XML representation. - - The stream from which the object is deserialized. - - - - Converts a serializable object into its XML representation. - - The stream to which the object is serialized. - - - - Gets the storage service error code. - - A string containing the storage service error code. - - - - Gets the storage service error message. - - A string containing the storage service error message. - - - - Gets additional error details from XML-formatted input stream. - - An containing the additional error details. - - - - Represents a storage service location. - - - - - Primary storage service location. - - - - - Secondary storage service location. - - - - - Contains the URIs for both the primary and secondary locations of a Windows Azure Storage resource. - - - - - Initializes a new instance of the class using the primary endpoint for the storage account. - - The for the primary endpoint. - - - - Initializes a new instance of the class using the primary and secondary endpoints for the storage account. - - The for the primary endpoint. - The for the secondary endpoint. - - - - Returns the URI for the storage account endpoint at the specified location. - - A enumeration value. - The for the endpoint at the the specified location. - - - - Returns a that represents this instance. - - - A that represents this instance. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - true if the specified is equal to this instance; otherwise, false. - - - - Indicates whether the current object is equal to another object of the same type. - - An object to compare with this object. - true if the current object is equal to the parameter; otherwise, false. - - - - Compares two objects for equivalency. - - The first object to compare. - The second object to compare. - true if the objects have equivalent values; otherwise, false. - - - - Compares two objects for non-equivalency. - - The first object to compare. - The second object to compare. - true if the objects have non-equivalent values; otherwise, false. - - - - The endpoint for the primary location for the storage account. - - The for the primary endpoint. - - - - The endpoint for the secondary location for the storage account. - - The for the secondary endpoint. - - - - Represents the envelope key details stored on the service. - - - - - Initializes a new instance of the class using the specified key id, encrypted key and the algorithm. - - The key identifier string. - The encrypted content encryption key. - The algorithm used for wrapping. - - - - Gets or sets the key identifier. This identifier is used to identify the key that is used to wrap/unwrap the content encryption key. - - The key identifier string. - - - - Gets or sets the encrypted content encryption key. - - The encrypted content encryption key. - - - - The algorithm used for wrapping. - - - - - Represents a set of credentials used to authenticate access to a Windows Azure storage account. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified account name and key value. - - A string that represents the name of the storage account. - A string that represents the Base64-encoded account access key. - - - - Initializes a new instance of the class with the specified account name and key value. - - A string that represents the name of the storage account. - An array of bytes that represent the account access key. - - - - Initializes a new instance of the class with the specified account name, key value, and key name. - - A string that represents the name of the storage account. - A string that represents the Base64-encoded account access key. - A string that represents the name of the key. - - - - Initializes a new instance of the class with the specified account name, key value, and key name. - - A string that represents the name of the storage account. - An array of bytes that represent the account access key. - A string that represents the name of the key. - - - - Initializes a new instance of the class with the specified shared access signature token. - - A string representing the shared access signature token. - - - - Updates the key value for the credentials. - - The key value, as a Base64-encoded string, to update. - - - - Updates the key value for the credentials. - - The key value, as an array of bytes, to update. - - - - Updates the key value and key name for the credentials. - - The key value, as a Base64-encoded string, to update. - The key name to update. - - - - Updates the key value and key name for the credentials. - - The key value, as an array of bytes, to update. - The key name to update. - - - - Updates the shared access signature (SAS) token value for storage credentials created with a shared access signature. - - A string that specifies the SAS token value to update. - - - - Returns the account key for the credentials. - - An array of bytes that contains the key. - - - - Transforms a resource URI into a shared access signature URI, by appending a shared access token. - - A object that represents the resource URI to be transformed. - A object that represents the signature, including the resource URI and the shared access token. - - - - Transforms a resource URI into a shared access signature URI, by appending a shared access token. - - A object that represents the resource URI to be transformed. - A object that represents the signature, including the resource URI and the shared access token. - - - - Exports the value of the account access key to a Base64-encoded string. - - The account access key. - - - - Determines whether an other object is equal to this one by comparing their SAS tokens, account names, key names, and key values. - - The object to compare to this one. - true if the two objects are equal; otherwise, false. - - - - Gets the associated shared access signature token for the credentials. - - The shared access signature token. - - - - Gets the associated account name for the credentials. - - The account name. - - - - Gets the associated key name for the credentials. - - The key name. - - - - Gets a value indicating whether the credentials are for anonymous access. - - true if the credentials are for anonymous access; otherwise, false. - - - - Gets a value indicating whether the credentials are a shared access signature token. - - true if the credentials are a shared access signature token; otherwise, false. - - - - Gets a value indicating whether the credentials are a shared key. - - true if the credentials are a shared key; otherwise, false. - - - - Gets the value of the shared access signature token's sig parameter. - - - - - Represents a canonicalized string used in authenticating a request against the azure service. - - - - - Stores the internal that holds the canonicalized string. - - - - - Initializes a new instance of the class. - - The first canonicalized element to start the string with. - - - - Initializes a new instance of the class. - - The first canonicalized element to start the string with. - The starting size of the string. - - - - Append additional canonicalized element to the string. - - An additional canonicalized element to append to the string. - - - - Converts the value of this instance to a string. - - A string whose value is the same as this instance. - - - - Creates a multi-buffer stream whose backing store is memory. - - - - - The default small buffer size. - - - - - The size of each buffer. - - - - - The underlying buffer blocks for the stream. - - - - - The currently used length. - - - - - The total capacity of the stream. - - - - - The current position. - - - - - A reference to the IBufferManager for the stream to use to acquire and return buffers. - - - - - Initializes a new instance of the class with the specified buffer manager. - - The to use to acquire and return buffers for the stream. May be null. - The buffer size to use for each block. The default size is 64 KB. Note that this parameter is disregarded when an is specified. - - - - Reads a block of bytes from the current stream and writes the data to a buffer. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Sets the position within the current stream. - - A byte offset relative to the origin parameter. - A value of type System.IO.SeekOrigin indicating the reference point used to obtain the new position. - The new position within the current stream. - Thrown if is invalid for SeekOrigin. - - - - Sets the length of the current stream. - - The desired length of the current stream in bytes. - If the is negative. - - - - Writes a block of bytes to the current stream using data read from a buffer. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - Does not perform any operation, as the stream is an in-memory stream. - - - - - Reads the bytes from the current stream and writes them to another stream. This method writes directly to the destination stream, - rather than copying the data into a temporary buffer. - - The stream to which the contents of the current stream will be copied. - A DateTime indicating the expiry time. - - - - Begins an asynchronous fast-copy operation. - - The stream to which the contents of the current stream will be copied. - DateTime indicating the expiry time. - An optional asynchronous callback, to be called when the copy is complete. - A user-provided object that distinguishes this particular asynchronous copy request from other requests. - An IAsyncResult that represents the asynchronous copy, which could still be pending. - - - - Initiates a write operation for the next buffer in line. - - Internal StorageAsyncResult that represents the asynchronous copy. - - - - Callback method to be called when the corresponding write operation completes. - - The result of the asynchronous operation. - - - - Ends an asynchronous copy operation. - - The reference to the pending asynchronous request to finish. - - - - Computes the hash value for this stream. - - String representation of the computed hash value. - - - - Ensures that the amount of bufferBlocks is greater than or equal to the required size. - Does not trim the size. - - The required size. - If the is negative. - - - - Adds another block to the underlying bufferBlocks. - - - - - Copies the specified amount of data from internal buffers to the buffer and advances the position. - - An array of bytes. When this method returns, the buffer contains the specified byte array with the values - between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read from the current stream. - The total number of bytes read into the buffer. This can be less than the number of bytes requested - if that many bytes are not currently available, or zero (0) if the end of the stream has been reached. - - - - - Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. - (Requires the stream to be of sufficient size for writing). - - An array of bytes. This method copies count bytes from buffer to the current stream. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to be written to the current stream. - - - - Advances the current position of the stream and adjust the offset and remainder based on the amount completed. - - The current offset in the external buffer. - The amount of data left to process. - The amount of data processed. - - - - Advances the current position of the stream and adjust the remainder based on the amount completed. - - The amount of data left to process. - The amount of data processed. - - - - Calculate the block for the current position. - - - - - Releases all resources used by the . - - true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - - Gets a value indicating whether the current stream supports reading. - - true if the stream supports reading; otherwise, false. - - - - Gets a value indicating whether the current stream supports seeking. - - true if the stream supports seeking; otherwise, false. - - - - Gets a value indicating whether the current stream supports writing. - - true if the stream supports writing; otherwise, false. - - - - Gets the length in bytes of the stream. - - A long value representing the length of the stream in bytes. - - - - Gets or sets the position within the current stream. - - The current position within the stream. - - - - Initializes a new instance of the NonCloseableStream class This stream ensures that the user stream - is not closed even when the enclosing crypto stream is closed in order to flush the final block of data. - - The stream to wrap. - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - A NullTaskReturn type. - - - - - Represents a no-return from a task. - - - - - Prevents a default instance of the class from being created. - - - - - A convenience class for constructing SAS-specific URI query strings. - - - - - A convenience class for constructing URI query strings. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class that contains elements copied from the specified . - - The whose elements are copied to the new . - - - - Add the query string value with URI escaping. - - The query string name. - The query string value. - - - - Add multiple query string values with URI escaping. - - The set of query string name/value pairs - - - - Returns a containing the URI. - - - A containing the URI. - - - - - Adds a query parameter to a URI. - - A containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Adds a query parameter to a URI. - - A object containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Adds a query parameter to a URI. - - A object containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Stores the query parameters. - - - - - Gets the query string value associated with the given name. - - The query string name. - - - - Public SasQueryBuilder constructor. - - The ASA token used to authenticate request. - - - - Add the query string value with URI escaping. - - The query string name. - The query string value. - - - - Adds a query parameter to a URI. - - A object containing the original URI, including any existing query parameters. - A object with the new query parameter appended. - - - - Returns True if any of the parameters specifies https:. - - - - - Provides a standard set of errors that could be thrown from the client library. - - - - - This class provides APM Read/Write overrides for memory stream to improve performance. - - - - - Initializes a new instance of the SyncMemoryStream class with an expandable capacity initialized to zero. - - - - - Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified byte array. - - The array of unsigned bytes from which to create the current stream. - - - - Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array. - - The array of unsigned bytes from which to create the current stream. - The index into buffer at which the stream begins. - - - - Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array. - - The array of unsigned bytes from which to create the current stream. - The index into buffer at which the stream begins. - The length of the stream in bytes. - - - - Begins an asynchronous read operation. - - When this method returns, the buffer contains the specified byte array with the values between offset and (offset + count - 1) replaced by the bytes read from the current source. - The zero-based byte offset in buffer at which to begin storing the data read from the current stream. - The maximum number of bytes to be read. - An optional asynchronous callback, to be called when the read is complete. - A user-provided object that distinguishes this particular asynchronous read request from other requests. - An IAsyncResult that represents the asynchronous read, which could still be pending. - - - - Waits for the pending asynchronous read to complete. - - The reference to the pending asynchronous request to finish. - The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero if the end of the stream has been reached. - - - - Begins an asynchronous write operation. - - The buffer to write data from. - The zero-based byte offset in buffer at which to begin copying bytes to the current stream. - The number of bytes to write. - An optional asynchronous callback, to be called when the write is complete. - A user-provided object that distinguishes this particular asynchronous write request from other requests. - An IAsyncResult that represents the asynchronous write, which could still be pending. - - - - Ends an asynchronous write operation. - - The reference to the pending asynchronous request to finish. - - - - Contains helper methods for implementing shared access signatures. - - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - The optional header values to set for a blob returned with this SAS. - An optional identifier for the policy. - Either "b" for blobs or "c" for containers. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - The optional header values to set for a file returned with this SAS. - An optional identifier for the policy. - Either "f" for files or "s" for shares. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - An optional identifier for the policy. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Get the complete query builder for creating the Shared Access Signature query. - - The shared access policy to hash. - The name of the table associated with this shared access signature. - An optional identifier for the policy. - The start partition key, or null. - The start row key, or null. - The end partition key, or null. - The end row key, or null. - The signature to use. - The name of the key used to create the signature, or null if the key is implicit. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The finished query builder. - - - - Converts the specified value to either a string representation or . - - The value to convert. - A string representing the specified value. - - - - Converts the specified value to either a string representation or null. - - The value to convert. - A string representing the specified value. - - - - Converts the specified value to either a string representation or null. - - The protocols to convert - A string representing the specified value. - - - - Escapes and adds the specified name/value pair to the query builder if it is not null. - - The builder to add the value to. - The name of the pair. - The value to be escaped. - - - - Parses the query. - - The query parameters. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - An optional identifier for the policy. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - An optional identifier for the policy. - The start partition key, or null. - The start row key, or null. - The end partition key, or null. - The end row key, or null. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - The optional header values to set for a blob returned with this SAS. - An optional identifier for the policy. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Get the signature hash embedded inside the Shared Access Signature. - - The shared access policy to hash. - The optional header values to set for a file returned with this SAS. - An optional identifier for the policy. - The canonical resource string, unescaped. - A string indicating the desired SAS version to use, in storage service version format. - The HTTP/HTTPS protocols for Account SAS. - The IP range for IPSAS. - The key value retrieved as an atomic operation used for signing. - The signed hash. - - - - Gets the value of the x-ms-date or Date header. - - The request where the value is read from. - The value of the x-ms-date or Date header. - - - - Appends the value of the Content-Length header to the specified canonicalized string. - - The canonicalized string where the value is appended. - The request where the value is read from. - - - - Appends the value of the Date header (or, optionally, the x-ms-date header) to the specified canonicalized string. - - The canonicalized string where the value is appended. - The request where the value is read from. - true if the value of the x-ms-date header can be used and is preferred; otherwise, false. - - - - Appends the values of the x-ms-* headers to the specified canonicalized string. - - The canonicalized string where the values are appended. - The request where the values are read from. - - - - Gets the canonicalized header value to use for the specified date/time or null if it does not have a value. - - The date/time. - The canonicalized header value to use for the specified date/time or null if it does not have a value. - - - - In case of path style, this method will strip off -secondary from absolute path and replace it with account name. - - The resource URI. - The name of the storage account. - Absolute path with no -secondary suffix. - - - - Gets the canonicalized resource string for the specified URI. - - The resource URI. - The name of the storage account. - true when using the Shared Key Lite authentication scheme or the Table service; otherwise, false. - The canonicalized resource string. - - - - Determines which location can the listing command target by looking at the - continuation token. - - Continuation token - Location mode - - - - Create an ExecutionState object that can be used for pre-request operations - such as buffering user's data. - - Request options - Temporary ExecutionState object - - - - Create an ExecutionState object that can be used for pre-request operations - such as buffering user's data. - - Request options - Temporary ExecutionState object - - - - Returns the larger of two time spans. - - The first of two time spans to compare. - The second of two time spans to compare. - Parameter or , whichever is larger. - - - - Gets the first header value or null if no header values exist. - - The type of header objects contained in the enumerable. - An enumerable that contains header values. - The first header value or null if no header values exist. - - - - Throws an exception if the string is empty or null. - - The name of the parameter. - The value of the parameter. - Thrown if value is empty. - Thrown if value is null. - - - - Throw an exception if the value is null. - - The name of the parameter. - The value of the parameter. - Thrown if value is null. - - - - Throw an exception indicating argument is out of range. - - The name of the parameter. - The value of the parameter. - - - - Throw an exception if the argument is out of bounds. - - The type of the value. - The name of the parameter. - The value of the parameter. - The minimum value for the parameter. - The maximum value for the parameter. - - - - Throw an exception if the argument is out of bounds. - - The type of the value. - The name of the parameter. - The value of the parameter. - The minimum value for the parameter. - - - - Combines AssertNotNullOrEmpty and AssertInBounds for convenience. - - The name of the parameter. - Turns on or off null/empty checking. - The value of the parameter. - The maximum size of value. - - - - Rounds up to seconds. - - The time span. - The time rounded to seconds. - - - - Appends 2 byte arrays. - - First array. - Second array. - The result byte array. - - - - List of ports used for path style addressing. - - - - - Determines if a URI requires path style addressing. - - The URI to check. - Returns true if the Uri uses path style addressing; otherwise, false. - - - - Read the value of an element in the XML. - - The name of the element whose value is retrieved. - A reader that provides access to XML data. - A string representation of the element's value. - - - - Returns an enumerable collection of results that is retrieved lazily. - - The type of ResultSegment like Blob, Container, Queue and Table. - The segment generator. - >A non-negative integer value that indicates the maximum number of results to be returned - in the result segment, up to the per-operation limit of 5000. - - - - - Applies the request optimizations such as disabling buffering and 100 continue. - - The request to be modified. - The length of the content, -1 if the content length is not settable. - - - - Increments the counter by one and thus sets the state of the event to non-signaled, causing threads to block. - - - - - Decrements the counter by one. If the counter reaches zero, sets the state of the event to signaled, allowing one or more waiting threads to proceed. - - - - - Blocks the current thread until the CounterEvent is set. - - - - - Blocks the current thread until the CounterEvent is set, using a 32-bit signed integer to measure the timeout. - - The number of milliseconds to wait, or Infinite(-1) to wait indefinitely. - true if the CounterEvent was set; otherwise, false. - - - - Releases all resources used by the current instance of the CounterEvent class. - - - - - Gets a WaitHandle that is used to wait for the event to be set. - - A WaitHandle that is used to wait for the event to be set. - - - - Provides helper functions for http request/response processing. - - - - - Parse the http query string. - - Http query string. - - - - - Converts the DateTimeOffset object to an Http string of form: Mon, 28 Jan 2008 12:11:37 GMT. - - The DateTimeOffset object to convert to an Http string. - String of form: Mon, 28 Jan 2008 12:11:37 GMT. - - - - Try to get the value of the specified header name. - - The Http web response from which to get the header value. - The name of the header whose value is to be retrieved. - The default value for the header that is returned if we can't get the actual header value. - A string representing the header value. - - - - Wrapper class for MD5. - - - - - Calculates an on-going hash using the input byte array. - - The input array used for calculating the hash. - The offset in the input buffer to calculate from. - The number of bytes to use from input. - - - - Retrieves the string representation of the hash. (Completes the creation of the hash). - - String representation of the computed hash value. - - - - Contains methods for dealing with navigation. - - - - - The name of the root container. - - - - - Used in address parsing. - - - - - Used in address parsing. - - - - - Used in address parsing. - - - - - Used to split string on slash. - - - - - Used to split hostname. - - - - - Retrieves the container part of a storage Uri, or "$root" if the container is implicit. - - The blob address. - If set to true use path style Uris. - Name of the container. - - The trailing slash is always removed. - - GetContainerName(new Uri("http://test.blob.core.windows.net/mycontainer/myfolder/myblob")) will return "mycontainer" - GetContainerName(new Uri("http://test.blob.core.windows.net/mycontainer/")) will return "mycontainer" - GetContainerName(new Uri("http://test.blob.core.windows.net/myblob")) will return "$root" - GetContainerName(new Uri("http://test.blob.core.windows.net/")) will throw ArgumentException - - - - - - Retrieves the blob part of a storage Uri. - - The blob address. - If set to true use path style Uris. - A string containing the name of the blob. - - - - Retrieves the share part of a storage Uri, or "$root" if the share is implicit. - - The file address. - If set to true use path style Uris. - Name of the share. - - The trailing slash is always removed. - - GetShareName(new Uri("http://test.file.core.windows.net/myshare/myfolder/myfile")) will return "myshare" - GetShareName(new Uri("http://test.file.core.windows.net/myshare/")) will return "myshare" - GetShareName(new Uri("http://test.file.core.windows.net/")) will throw ArgumentException - - - - - - Retrieves the file part of a storage Uri. - - The file address. - If set to true use path style Uris. - The name of the file. - - - - Retrieves the file and directory part of a storage Uri. - - The file address. - If set to true use path style Uris. - The file name including directories. - - - - Retrieves the parent name from a storage Uri. - - The blob address. - The delimiter. - If set to true use path style Uris. - Name of the parent. - The parent URI. - The name of the parent. - - Adds the trailing delimiter as the prefix returned by the storage REST api always contains the delimiter. - - - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/myfolder/myblob", "/")) will return "/myfolder/" - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/myfolder|myblob", "|") will return "/myfolder|" - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/myblob", "/") will return "" - GetBlobParentNameAndAddress(new Uri("http://test.blob.core.windows.net/mycontainer/", "/") will return "" - - - - - Retrieves the parent name from a storage Uri. - - The file address. - If set to true use path style Uris. - Name of the parent. - The parent URI. - The name of the parent. - - Adds the trailing delimiter as the prefix returned by the storage REST api always contains the delimiter. - - - GetFileParentNameAndAddress(new Uri("http://test.file.core.windows.net/myshare/myfolder/myfile", "/")) will return "myfolder" - GetFileParentNameAndAddress(new Uri("http://test.file.core.windows.net/myshare/myfile", "/") will return "" - GetFileParentNameAndAddress(new Uri("http://test.file.core.windows.net/myshare/", "/") will return "" - - - - - Gets the service client base address. - - The address Uri. - The use path style Uris. - The base address of the client. - - GetServiceClientBaseAddress("http://testaccount.blob.core.windows.net/testcontainer/blob1") - returns "http://testaccount.blob.core.windows.net" - - - - - Gets the service client base address. - - The address Uri. - The use path style Uris. - The base address of the client. - - GetServiceClientBaseAddress("http://testaccount.blob.core.windows.net/testcontainer/blob1") - returns "http://testaccount.blob.core.windows.net" - - - - - Appends a path to a list of URIs correctly using "/" as separator. - - The base URI. - The relative or absolute URI. - The list of appended URIs. - - - - Appends a path to a list of URIs correctly using "/" as separator. - - The base URI. - The relative or absolute URI. - The separator. - The list of appended URIs. - - - - Append a relative path to a URI, handling trailing slashes appropriately. - - The base URI. - The relative or absolute URI. - The appended Uri. - - - - Append a relative path to a URI, handling trailing slashes appropriately. - - The base URI. - The relative or absolute URI. - The separator. - The appended Uri. - - - - Get container name from address for styles of paths - Example: http://test.blob.core.windows.net/container/blob => container - http://127.0.0.1:10000/test/container/blob => container. - - The container Uri. - If set to true use path style Uris. - The container name. - - - - Similar to getting container name from Uri. - - The queue Uri. - If set to true use path style Uris. - The queue name. - - - - Extracts a table name from the table's Uri. - - The queue Uri. - If set to true use path style Uris. - The queue name. - - - - Extracts a table name from the share's Uri. - - The share Uri. - If set to true use path style Uris. - The share name. - - - - Retrieve the container address and address. - - The blob address. - True to use path style Uris. - Name of the container. - The container URI. - true when the container is an explicit container. false, otherwise. - - - - Retrieve the share address and address. - - The file address. - True to use path style Uris. - Name of the share. - The share URI. - true when the share is an explicit share. false, otherwise. - - - - Retrieve the container name and the blob name from a blob address. - - The blob address. - If set to true use path style Uris. - The resulting container name. - The resulting blob name. - A bool representing whether the blob is in an explicit container or not. - - - - Retrieve the share name and the file or directory name from a file or directory address. - - The file address. - If set to true use path style Uris. - The resulting share name. - The resulting file or directory name. - - - - Parses the snapshot time. - - The snapshot time. - The parsed snapshot time. - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The parsed snapshot. - The blob URI without credentials or snapshot info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The parsed snapshot. - The blob URI without credentials or snapshot info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The file URI without credentials info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - The file URI without credentials info - address - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Parse Uri for SAS (Shared access signature) information. - - The complete Uri. - The credentials to use. - - Validate that no other query parameters are passed in. - Any SAS information will be recorded as corresponding credentials instance. - If credentials is passed in and it does not match the SAS information found, an - exception will be thrown. - Otherwise a new client is created based on SAS information or as anonymous credentials. - - - - - Represents a canonicalized string used in authenticating a request against the azure service. - - - - - Provides properties to keep track of Md5 hash / Length of a stream as it is being copied. - - - - - Provides stream helper methods that allow us to copy streams and measure the stream size. - - - - - Reads synchronously the specified content of the stream and writes it to the given output stream. - - The origin stream. - The destination stream. - Number of bytes to copy from source stream to destination stream. Cannot be passed with a value for maxLength. - Maximum length of the stream to write. - true to calculate the MD5 hash. - A boolean indicating whether the write happens synchronously. - An object that stores state of the operation. - State of the stream copy. - stream - - - - Associates a given stream to a given RequestResult such that the RequestResult byte counters are accurately updated as data is read or written. - - A reference to the original stream - An object that represents the result of a physical request. - - - - - Asynchronously reads the entire content of the stream and writes it to the given output stream. - - The result type of the ExecutionState - The origin stream. - The destination stream. - Number of bytes to copy from source stream to destination stream. Cannot be passed with a value for maxLength. - Maximum length of the source stream. Cannot be passed with a value for copyLength. - Bool value indicating whether the Md5 should be calculated. - An object that stores state of the operation. - State of the stream copy. - The action taken when the execution is completed. - - - - Represents a retry policy that performs a specified number of retries, using a randomized exponential back off scheme to determine the interval between retries. - - - - - Represents a retry policy. - - - - - Represents a retry policy. - - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Determines whether the operation should be retried and the interval until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Determines whether the operation should be retried and the interval until the next retry. - - A object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode. - An object that represents the context for the current operation. - A object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified delta and maximum number of retries. - - A specifying the back-off interval between retries. - An integer specifying the maximum number of retry attempts. - - - - Determines whether the operation should be retried and the interval until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Determines whether the operation should be retried and the interval until the next retry. - - A object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode. - An object that represents the context for the current operation. - A object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried. - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Represents a retry policy that performs a specified number of retries, using a specified fixed time interval between retries. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class using the specified delta and maximum number of retries. - - A specifying the back-off interval between retries. - An integer specifying the maximum number of retry attempts. - - - - Determines whether the operation should be retried and the interval until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Determines whether the operation should be retried and the interval until the next retry. - - A object that indicates the number of retries, the results of the last request, and whether the next retry should happen in the primary or secondary location, and specifies the location mode. - An object that represents the context for the current operation. - A object that indicates the location mode, and whether the next retry should happen in the primary or secondary location. If null, the operation will not be retried. - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Specifies the location mode to indicate which location should receive the request. - - - - - Requests are always sent to the primary location. - - - - - Requests are always sent to the primary location first. If a request fails, it is sent to the secondary location. - - - - - Requests are always sent to the secondary location. - - - - - Requests are always sent to the secondary location first. If a request fails, it is sent to the primary location. - - - - - Represents a retry policy that performs no retries. - - - - - Initializes a new instance of the class. - - - - - Determines if the operation should be retried and how long to wait until the next retry. - - An integer specifying the number of retries for the given operation. A value of zero signifies this is the first error encountered. - An integer containing the status code for the last operation. - An object that represents the last exception encountered. - A indicating the interval to wait until the next retry. - An object that represents the context for the current operation. - true if the operation should be retried; otherwise, false. - - - - Generates a new retry policy for the current request attempt. - - An object that represents the retry policy for the current request attempt. - - - - Represents the context for one or more retries of a request made against the Windows Azure storage services, - including the number of retries made for the request, the results of the last request, and the storage location and location mode for subsequent retries. - - - - - Returns a string that represents the current instance. - - A string that represents the current instance. - - - - Gets the target location for the next retry. - - A enumeration value. - - - - Gets the location mode for subsequent retries. - - A enumeration value. - - - - Gets the number of retries for the given operation. - - An integer specifying the number of retries for the given operation. - - - - Gets the results of the last request. - - A object. - - - - Specifies parameters for the next retry of a request to be made against the Windows Azure storage services, - including the target location and location mode for the next retry and the interval until the next retry. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The object that was passed in to the retry policy. - - - - Returns a string that represents the current instance. - - A string that represents the current instance. - - - - Gets or sets the target location for the next retry. - - A enumeration value. - - - - Gets or sets the location mode for subsequent retries. - - A enumeration value. - - - - Gets the interval until the next retry. - - A object specifying the interval until the next retry. - - - - Verifies that the blob is not a snapshot. - - - - - Gets the blob's system properties. - - A object. - - - - Gets the user-defined metadata for the blob. - - An object containing the blob's metadata as a collection of name-value pairs. - - - - Gets the blob's URI for the primary location. - - A specifying the absolute URI to the blob at the primary location. - - - - Gets the blob's URIs for both the primary and secondary locations. - - A object. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - A containing the blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if no copy blob state exists for this blob. - - - - Represents the permissions for a container. - - - - - Initializes a new instance of the class. - - - - - Gets or sets the public access setting for the container. - - A enumeration value. - - - - Gets the set of shared access policies for the container. - - A object. - - - - Represents the system properties for a container. - - - - - Gets the ETag value for the container. - - A string containing the container's quoted ETag value. - - - - Gets the container's last-modified time. - - A containing the container's last-modified time, in UTC format. - - - - Gets the container's lease status. - - A object that indicates the container's lease status. - - - - Gets the container's lease state. - - A object that indicates the container's lease state. - - - - Gets the container's lease duration. - - A object that indicates the container's lease duration. - - - - Specifies the level of public access that is allowed on the container. - - - - - No public access. Only the account owner can read resources in this container. - - - - - Container-level public access. Anonymous clients can read container and blob data. - - - - - Blob-level public access. Anonymous clients can read blob data within this container, but not container data. - - - - - Represents a continuation token for listing operations. - - continuation tokens are used in methods that return a object, such as . - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for enumeration operations. - - The type element. - - - - Gets or sets the next marker for continuing results for enumeration operations. - - A string containing the NextMarker value. - - - - Gets or sets the storage location that the continuation token applies to. - - A enumeration value. - - - - Represents the blob encryption data that is stored as metadata on the service. - - - - - Gets or sets the blob client encryption mode. - - The blob encryption mode. - - - - Specifies the blob encryption mode. - - - - - No encryption. - - - - - Use Blob level encryption mechanism. - - - - - Specifies which items to include when listing a set of blobs. - - - - - List only committed blobs, and do not return blob metadata. - - - - - List committed blobs and blob snapshots. - - - - - Retrieve blob metadata for each blob returned in the listing. - - - - - List committed and uncommitted blobs. - - - - - Include copy properties in the listing. - - - - - List all available committed blobs, uncommitted blobs, and snapshots, and return all metadata and copy status for those blobs. - - - - - Represents the system properties for a blob. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - A object. - Lease-related properties will not be cloned, because a lease associated with the base blob is not copied to the snapshot. - - - - Gets or sets the cache-control value stored for the blob. - - A string containing the blob's cache-control value. - - - - Gets or sets the content-disposition value stored for the blob. - - A string containing the blob's content-disposition value. - - If this property has not been set for the blob, it returns null. - - - - - Gets or sets the content-encoding value stored for the blob. - - A string containing the blob's content-encoding value. - - If this property has not been set for the blob, it returns null. - - - - - Gets or sets the content-language value stored for the blob. - - A string containing the blob's content-language value. - - If this property has not been set for the blob, it returns null. - - - - - Gets the size of the blob, in bytes. - - A long value containing the blob's size in bytes. - - - - Gets or sets the content-MD5 value stored for the blob. - - A string containing the blob's content-MD5 hash. - - - - Gets or sets the content-type value stored for the blob. - - A string containing the blob's content-type value. - - If this property has not been set for the blob, it returns null. - - - - - Gets the blob's ETag value. - - A string containing the blob's ETag value. - - - - Gets the the last-modified time for the blob, expressed as a UTC value. - - A containing the blob's last-modified time, in UTC format. - - - - Gets the type of the blob. - - A object that indicates the type of the blob. - - - - Gets the blob's lease status. - - A object that indicates the blob's lease status. - - - - Gets the blob's lease state. - - A object that indicates the blob's lease state. - - - - Gets the blob's lease duration. - - A object that indicates the blob's lease duration. - - - - If the blob is a page blob, gets the blob's current sequence number. - - A long containing the blob's current sequence number. - - - - If the blob is an append blob, gets the number of committed blocks. - - An integer containing the number of committed blocks. - - - - Represents a set of timeout and retry policy options that may be specified for a request against the Blob service. - - - - - Stores the parallelism factor. - - - - - Default is 32 MB. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Clones an instance of BlobRequestOptions so that we can apply defaults. - - BlobRequestOptions instance to be cloned. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the encryption policy for the request. - - An object of type . - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets a value to indicate whether validating the presence of the encryption policy should be skipped. - - Use true to skip validation; otherwise, false. - - - - Gets or sets a value that indicates whether a conditional failure should be absorbed on a retry attempt - for the request. - - - This option is used only by the object in the UploadFrom* methods and - the BlobWriteStream methods. By default, it is set to false. Set this option to true only for single writer scenarios. - Setting this option to true in a multi-writer scenario may lead to corrupted blob data. - - - - - Gets or sets the location mode of the request. - - A enumeration value indicating the location mode of the request. - - - - Gets or sets the server timeout interval for the request. - - A containing the server timeout interval for the request. - - - - Gets or sets the maximum execution time across all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Gets or sets the number of blocks that may be simultaneously uploaded when uploading a blob that is greater than - the value specified by the property in size. - - An integer value indicating the number of parallel blob upload operations that may proceed. - - - - Gets or sets the maximum size of a blob in bytes that may be uploaded as a single blob. - - A long indicating the maximum size of a blob, in bytes, that may be uploaded as a single blob, - ranging from between 1 and 64 MB inclusive. - - - - Gets or sets a value to calculate and send/validate content MD5 for transactions. - - Use true to calculate and send/validate content MD5 for transactions; otherwise, false. - - - - Gets or sets a value to indicate that an MD5 hash will be calculated and stored when uploading a blob. - - Use true to calculate and store an MD5 hash when uploading a blob; otherwise, false. - This property is not supported for . - - - - Gets or sets a value to indicate that MD5 validation will be disabled when downloading blobs. - - Use true to disable MD5 validation; false to enable MD5 validation. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - A object. - - - - The type of a blob. - - - - - Not specified. - - - - - A page blob. - - - - - A block blob. - - - - - An append blob. - - - - - Indicates whether to list only committed blocks, only uncommitted blocks, or all blocks. - - - - - Committed blocks. - - - - - Uncommitted blocks. - - - - - Both committed and uncommitted blocks. - - - - - Indicates which block lists should be searched to find a specified block. - - - - - Search the committed block list only. - - - - - Search the uncommitted block list only. - - - - - Search the uncommitted block list first, and if the block is not found there, search - the committed block list. - - - - - Specifies which details to include when listing the containers in this storage account. - - - - - No additional details. - - - - - Retrieve container metadata. - - - - - Retrieve all available details. - - - - - Represents a segment of results and contains continuation and pagination information. - - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. - - A object. - - - - Represents the attributes of a copy operation. - - - - - Gets the ID of the copy operation. - - A copy ID string. - - - - Gets the time the copy operation completed, and indicates whether completion was due to a successful copy, the cancelling of the operation, or a failure. - - A containing the completion time, or null if the operation has not completed. - - - - Gets the status of the copy operation. - - A enumeration indicating the status of the operation. - - - - Gets the source URI of a copy operation. - - A indicating the source of a copy operation, or null. - - - - Gets the number of bytes copied in the operation so far. - - The number of bytes copied in the operation so far, or null. - - - - Gets the total number of bytes in the source of the copy. - - The number of bytes in the source, or null. - - - - Gets the description of the current status, if any. - - A status description string, or null. - - - - Represents the status of a copy blob operation. - - - - - The copy status is invalid. - - - - - The copy operation is pending. - - - - - The copy operation succeeded. - - - - - The copy operation has been aborted. - - - - - The copy operation encountered an error. - - - - - The set of options describing delete operation. - - - - - Delete the blob only. If the blob has snapshots, this option will result in an error from the service. - - - - - Delete the blob and its snapshots. - - - - - Delete the blob's snapshots only. - - - - - Describes actions that can be performed on a lease. - - - - - Acquire the lease. - - - - - Renew the lease. - - - - - Release the lease. - - - - - Break the lease. - - - - - Change the lease ID. - - - - - The lease duration of a resource. - - - - - The lease duration is not specified. - - - - - The lease duration is finite. - - - - - The lease duration is infinite. - - - - - The lease state of a resource. - - - - - The lease state is not specified. - - - - - The lease is in the Available state. - - - - - The lease is in the Leased state. - - - - - The lease is in the Expired state. - - - - - The lease is in the Breaking state. - - - - - The lease is in the Broken state. - - - - - The lease status of a resource. - - - - - The lease status is not specified. - - - - - The resource is locked. - - - - - The resource is available to be locked. - - - - - Represents a block retrieved from the blob's block list. - - - - - Gets the name of the block. - - The block name. - - - - Gets the size of block in bytes. - - The block size. - - - - Gets a value indicating whether or not the block has been committed. - - true if the block has been committed; otherwise, false. - - - - Represents a range of pages in a page blob. - - - - - Represents a range of pages in a page blob. - - - - - Initializes a new instance of the class. - - The starting offset. - The ending offset. - - - - Returns the content of the page range as a string. - - The content of the page range. - - - - Gets the starting offset of the page range. - - The starting offset. - - - - Gets the ending offset of the page range. - - The ending offset. - - - - Initializes a new instance of the class. - - The starting offset. - The ending offset. - True if the page range is a cleared range, false otherwise. - - - - True if the page range is a cleared range, false otherwise. - - - - - Describes actions that can be performed on a page blob sequence number. - - - - - Sets the sequence number to be the higher of the value included with the request and the value currently stored for the blob. - - - - - Sets the sequence number to the value included with the request. - - - - - Increments the value of the sequence number by 1. - - - - - Represents the optional headers that can be returned with blobs accessed using SAS. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - The set of to clone. - - - - Gets or sets the cache-control header returned with the blob. - - A string containing the cache-control value. - - - - Gets or sets the content-disposition header returned with the blob. - - A string containing the content-disposition value. - - - - Gets or sets the content-encoding header returned with the blob. - - A string containing the content-encoding value. - - - - Gets or sets the content-language header returned with the blob. - - A string containing the content-language value. - - - - Gets or sets the content-type header returned with the blob. - - A string containing the content-type value. - - - - Specifies the set of possible permissions for a shared access policy. - - - - - No shared access granted. - - - - - Read access granted. - - - - - Write access granted. - - - - - Delete access granted. - - - - - List access granted. - - - - - Add access granted. - - - - - Create access granted. - - - - - Represents the collection of shared access policies defined for a container. - - - - - Adds the specified key and value to the collection of shared access policies. - - The key of the value to add. - The value to add the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - The key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - A string containing the key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - A string containing the key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key in the key/ value pair to a compatible one-dimensional array, starting at the specified index - of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection of strings containing the keys of the shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - A string containing the key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions, in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions, in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Parses the response XML from an operation to set the access policy for a container. - - - - - Parses the response XML from an operation to set the access policy for a cloud object. - - The policy type to be filled. - - - - Provides a base class that is used internally to parse XML streams from storage service operations. - - The type to be parsed. - - - - Indicates that all parsable objects have been consumed. This field is reserved and should not be used. - - - - - Stores any objects that have not yet been parsed. This field is reserved and should not be used. - - - - - The reader used for parsing. This field is reserved and should not be used. - - - - - The IEnumerator over the parsed content. - - - - - Used to make sure that parsing is only done once, since a stream is not re-entrant. - - - - - Initializes a new instance of the ResponseParsingBase class. - - The stream to be parsed. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. - - - - - Parses the XML response. This method is reserved and should not be used. - - A collection of enumerable objects. - - - - Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources, and optional - managed resources. - - True to release both managed and unmanaged resources; otherwise, false. - - - - This method is reserved and should not be used. - - True when the object is consumable. - - - - Parses the XML and close. - - A list of parsed results. - - - - Gets the parsable objects. This method is reserved and should not be used. - - The objects to parse. - - - - Initializes a new instance of the AccessPolicyResponseBase class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Parses the response XML from a Set Container ACL operation to retrieve container-level access policy data. - - A list of enumerable key-value pairs. - - - - Gets an enumerable collection of container-level access policy identifiers. - - An enumerable collection of container-level access policy identifiers. - - - - Initializes a new instance of the BlobAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Represents a container item returned in the XML response for a container listing operation. - - - - - - Initializes a new instance of the class. - - - - - Gets the user-defined metadata for the container. - - The container's metadata, as a collection of name-value pairs. - - - - Gets the container's system properties. - - The container's properties. - - - - Gets the name of the container. - - The container's name. - - - - Gets the container's URI. - - The absolute URI to the container. - - - - Provides error code strings that are specific to the Blob service. - - - - - Error code that may be returned when the specified append offset is invalid. - - - - - Error code that may be returned when the specified maximum blob size is invalid. - - - - - Error code that may be returned when the specified block or blob is invalid. - - - - - Error code that may be returned when a block ID is invalid. - - - - - Error code that may be returned when a block list is invalid. - - - - - The specified container was not found. - - - - - Error code that may be returned when a blob with the specified address cannot be found. - - - - - The specified container already exists. - - - - - The specified container is disabled. - - - - - The specified container is being deleted. - - - - - Error code that may be returned when a client attempts to create a blob that already exists. - - - - - Error code that may be returned when there is currently no lease on the blob. - - - - - Error code that may be returned when there is currently no lease on the container. - - - - - Error code that may be returned when a lease ID was specified, but the lease has expired. - - - - - Error code that may be returned when the lease ID specified did not match the lease ID for the blob. - - - - - Error code that may be returned when the lease ID specified did not match the lease ID for the container. - - - - - Error code that may be returned when there is currently a lease on the resource and no lease ID was specified in the request. - - - - - Error code that may be returned when there is currently no lease on the resource. - - - - - Error code that may be returned when the lease ID specified did not match the lease ID. - - - - - Error code that may be returned when there is already a lease present. - - - - - Error code that may be returned when the lease has already been broken and cannot be broken again. - - - - - Error code that may be returned when the lease ID matched, but the lease has been broken explicitly and cannot be renewed. - - - - - Error code that may be returned when the lease ID matched, but the lease is breaking and cannot be acquired. - - - - - Error code that may be returned when the lease ID matched, but the lease is breaking and cannot be changed. - - - - - Error code that may be returned when the destination of a copy operation has a lease of fixed duration. - - - - - Error code that may be returned when the operation is not permitted because the blob has snapshots. - - - - - Error code that may be returned when the blob type is invalid for this operation. - - - - - Error code that may be returned when the operation on page blobs uses a version prior to 2009-09-19. - - - - - Error code that may be returned when the page range specified is invalid. - - - - - Error code that may be returned when the sequence number condition specified was not met. - - - - - Error code that may be returned when the sequence number increment cannot be performed because it would result in overflow of the sequence number. - - - - - Error code that may be returned when the source condition specified using HTTP conditional header(s) is not met. - - - - - Error code that may be returned when the target condition specified using HTTP conditional header(s) is not met. - - - - - Error code that may be returned when the copy source account and destination account are not the same. - - - - - Error code that may be returned when the source of a copy cannot be accessed. - - - - - Error code that may be returned when an attempt to modify the destination of a pending copy is made. - - - - - Error code that may be returned when an Abort Copy operation is called when there is no pending copy. - - - - - Error code that may be returned when the copy ID specified in an Abort Copy operation does not match the current pending copy ID. - - - - - Provides a set of parameters for a blob listing operation. - - - - - Represents the listing context for enumeration operations. - - - - - Stores the maximum number of results to list. Must be null or a value between 1 and 5000. - - - - - Initializes a new instance of the class. - - The resource name prefix. - The maximum number of resources to return in a single operation, up to the per-operation limit of 5000. - - - - Gets or sets the Prefix value. - - The Prefix value. - - - - Gets or sets the MaxResults value. - - The MaxResults value. - - - - Gets or sets the Marker value. - - The Marker value. - - - - Initializes a new instance of the class. - - The blob prefix. - The maximum number of results to return. - The blob delimiter. - The include parameter. - - - - Gets or sets the delimiter for a blob listing operation. - - The delimiter to use to traverse the virtual hierarchy of blobs. - - The delimiter parameter enables the caller to traverse the blob namespace by using a user-configured delimiter. - Using this parameter, it is possible to traverse a virtual hierarchy of blobs as though it were a file system. - - - - - Gets or sets the details for the listing operation, which indicates the types of data to include in the - response. - - The details to include in the listing operation. - - The include parameter specifies that the response should include one or more of the following subsets: snapshots, - metadata, uncommitted blobs. - - - - - Provides a set of helper methods for constructing a request against the Blob service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Writes the body of the block list to the specified stream in XML format. - - An enumerable collection of objects. - The stream to which the block list is written. - - - - Provides methods for parsing the response from an operation to return a block list. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Reads a block item for block listing. - - Whether we are currently listing committed blocks or not - Block listing entry - - - - Parses the XML response returned by an operation to retrieve a list of blocks. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from an operation to get a range of differing pages for a page blob. - - - - - Initializes a new instance of the class. - - The stream of page ranges to be parsed. - - - - Reads a page range. - - Page range entry - - - - Parses the XML response for an operation to get a range of pages for a page blob. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from an operation to get a range of pages for a page blob. - - - - - Initializes a new instance of the class. - - The stream of page ranges to be parsed. - - - - Reads a page range. - - Page range entry - - - - Parses the XML response for an operation to get a range of pages for a page blob. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Represents an item that may be returned by a blob listing operation. - - - - - Represents a blob item returned in the XML response for a blob listing operation. - - - - - Initializes a new instance of the class. - - A string containing the name of the blob. - The blob's attributes. - - - - Stores the blob item's attributes. - - - - - Gets the name of the blob item. - - A string containing the name of the blob item. - - - - Gets the blob item's system properties. - - A object. - - - - Gets the user-defined metadata for the blob item. - - An object containing the blob item's metadata as a collection of name-value pairs. - - - - Gets the blob item's URI. - - The absolute URI to the blob item. - - - - Gets the date and time that the blob snapshot was taken, if this blob is a snapshot. - - The blob's snapshot time if the blob is a snapshot; otherwise, null. - - If the blob is not a snapshot, the value of this property is null. - - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if no copy blob state exists for this blob. - - - - Represents the blob name prefix that is returned in the XML response for a blob listing operation. - - - - - Gets the blob name prefix. - - The blob name prefix. - - - - Provides methods for parsing the response from a blob listing operation. - - - - - Stores the blob prefix. - - - - - Signals when the blob prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the blob delimiter. - - - - - Signals when the blob delimiter can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Parses a blob entry in a blob listing response. - - Blob listing entry - - - - Parses a blob prefix entry in a blob listing response. - - Blob listing entry - - - - Parses the response XML for a blob listing operation. - - An enumerable collection of objects that implement . - - - - Gets the listing context from the XML response. - - A object. - - - - Gets an enumerable collection of objects that implement from the response. - - An enumerable collection of objects that implement . - - - - Gets the Prefix value provided for the listing operation from the XML response. - - A string containing the Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - A string containing the Marker value. - - - - Gets the Delimiter value provided for the listing operation from the XML response. - - A string containing the Delimiter value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - An integer containing the MaxResults value. - - - - Gets or sets the NextMarker value from the XML response, if the listing was not complete. - - A string containing the NextMarker value. - - - - Provides methods for parsing the response from a container listing operation. - - - - - Stores the container prefix. - - - - - Signals when the container prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Reads a container entry completely including its properties and metadata. - - Container listing entry - - - - Parses the response XML for a container listing operation. - - An enumerable collection of objects. - - - - Gets the listing context from the XML response. - - A object. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Gets the Prefix value provided for the listing operation from the XML response. - - A string containing the Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - A string containing the Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - An integer containing the MaxResults value. - - - - Gets or sets the NextMarker value from the XML response, if the listing was not complete. - - A string containing the NextMarker value. - - - - Describes actions that may be used for writing to a page blob or clearing a set of pages. - - - - - Update the page with new data. - - - - - Clear the page. - - - - - Represents a block in a block list. - - - - - Initializes a new instance of the class. - - The block ID. - One of the enumeration values that specifies in which block lists to search for the block. - - - - Gets the block ID. - - The block ID. - - - - Gets a value that indicates which block lists to search for the block. - - One of the enumeration values that specifies in which block lists to search for the block. - - - - Gets the file's system properties. - - The file's properties. - - - - Gets the user-defined metadata for the file. - - The file's metadata, as a collection of name-value pairs. - - - - Gets the file's URI. - - The absolute URI to the file. - - - - Gets the list of URIs for all locations. - - The list of URIs for all locations. - - - - Gets the state of the most recent or pending copy operation. - - A object containing the copy state, or null if no copy file state exists for this file. - - - - Represents a continuation token for listing operations. - - continuation tokens are used in methods that return a object, such as . - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for enumeration operations. - - The type element. - - - - Gets or sets the next marker for continuing results for enumeration operations. - - The next marker. - - - - Gets or sets the storage location that the continuation token applies to. - - The storage location that the continuation token applies to. - - - - Represents the system properties for a directory. - - - - - Gets the ETag value for the directory. - - The directory's quoted ETag value. - - - - Gets the directory's last-modified time. - - The directory's last-modified time. - - - - Represents the system properties for a file. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - The set of file properties to clone. - - - - Gets or sets the cache-control value stored for the file. - - The file's cache-control value. - - - - Gets or sets the content-disposition value stored for the file. - - The file's content-disposition value. - - If this property has not been set for the file, it returns null. - - - - - Gets or sets the content-encoding value stored for the file. - - The file's content-encoding value. - - If this property has not been set for the file, it returns null. - - - - - Gets or sets the content-language value stored for the file. - - The file's content-language value. - - If this property has not been set for the file, it returns null. - - - - - Gets the size of the file, in bytes. - - The file's size in bytes. - - - - Gets or sets the content-MD5 value stored for the file. - - The file's content-MD5 hash. - - - - Gets or sets the content-type value stored for the file. - - The file's content-type value. - - If this property has not been set for the file, it returns null. - - - - - Gets the file's ETag value. - - The file's ETag value. - - - - Gets the the last-modified time for the file, expressed as a UTC value. - - The file's last-modified time, in UTC format. - - - - Represents a range in a file. - - - - - Initializes a new instance of the class. - - The starting offset. - The ending offset. - - - - Returns the content of the range as a string. - - The content of the range. - - - - Gets the starting offset of the page range. - - The starting offset. - - - - Gets the ending offset of the page range. - - The ending offset. - - - - Represents a set of timeout and retry policy options that may be specified for a request against the File service. - - - - - Stores the parallelism factor. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Clones an instance of FileRequestOptions so that we can apply defaults. - - FileRequestOptions instance to be cloned. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy. - - The retry policy. - - - - Gets or sets the location mode of the request. - - The location mode of the request. - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets the server timeout interval for the request. - - The server timeout interval for the request. - - - - Gets or sets the maximum execution time across all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Gets or sets the number of ranges that may be simultaneously uploaded when uploading a file. - - The number of parallel operations that may proceed. - - - - Gets or sets a value to calculate and send/validate content MD5 for transactions. - - Use true to calculate and send/validate content MD5 for transactions; otherwise, false. - - - - Gets or sets a value to indicate that an MD5 hash will be calculated and stored when uploading a file. - - Use true to calculate and store an MD5 hash when uploading a file; otherwise, false. - - - - Gets or sets a value to indicate that MD5 validation will be disabled when downloading files. - - Use true to disable MD5 validation; false to enable MD5 validation. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Gets an enumerable collection of results. - - An enumerable collection of results. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - The continuation token. - - - - Represents the permissions for a share. - - - - - Initializes a new instance of the class. - - - - - Gets the set of shared access policies for the share. - - A object. - - - - Represents the system properties for a share. - - - - - Gets the ETag value for the share. - - The share's quoted ETag value. - - - - Gets the share's last-modified time. - - The share's last-modified time. - - - - Gets or sets the maximum size for the share, in gigabytes. - - - - - Specifies the level of public access that is allowed on the share. - - - - - No public access. Only the account owner can read resources in this share. - - - - - Represents the optional headers that can be returned with files accessed using SAS. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class based on an existing instance. - - The set of to clone. - - - - Gets or sets the cache-control header returned with the file. - - A string containing the cache-control value. - - - - Gets or sets the content-disposition header returned with the file. - - A string containing the content-disposition value. - - - - Gets or sets the content-encoding header returned with the file. - - A string containing the content-encoding value. - - - - Gets or sets the content-language header returned with the file. - - A string containing the content-language value. - - - - Gets or sets the content-type header returned with the file. - - A string containing the content-type value. - - - - Specifies the set of possible permissions for a shared access policy. - - - - - No shared access granted. - - - - - Read access granted. - - - - - Write access granted. - - - - - Delete access granted for files. - - - - - List access granted. - - - - - Create access granted. - - - - - Represents the collection of shared access policies defined for a share. - - - - - Adds the specified key and value to the collection of shared access policies. - - The key of the value to add. - The value to add the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - The key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - A string containing the key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - A string containing the key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key in the key/ value pair to a compatible one-dimensional array, starting at the specified index - of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection of strings containing the keys of the shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - A string containing the key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions, in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions, in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Specifies which details to include when listing the shares in this storage account. - - - - - No additional details. - - - - - Retrieve share metadata. - - - - - Retrieve all available details. - - - - - Represents a segment of results and contains continuation and pagination information. - - - - - Gets an enumerable collection of results. - - An enumerable collection of results. - - - - Gets the object used to retrieve the next segment of results. - - The continuation token. - - - - Parses the response XML from an operation to set the access policy for a share. - - - - - Initializes a new instance of the FileAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Provides error code strings that are specific to the File service. - - - - - The specified share was not found. - - - - - The specified share already exists. - - - - - The specified share is disabled. - - - - - The specified share is being deleted. - - - - - The specified resource is marked for deletion by an SMB client. - - - - - The specified parent was not found. - - - - - The specified resource name contains invalid characters. - - - - - The specified resource already exists. - - - - - The specified resource type does not match the type of the existing resource. - - - - - The specified resource may be in use by an SMB client. - - - - - The file or directory could not be deleted because it is in use by an SMB client. - - - - - A portion of the specified file is locked by an SMB client. - - - - - The specified resource is read-only and cannot be modified at this time. - - - - - The specified resource state could not be flushed from an SMB client in the specified time. - - - - - File or directory path is too long. - - - - - Condition headers are not supported. - - - - - Provides a set of parameters for a file listing operation. - - - - - Initializes a new instance of the class. - - The maximum number of results to return. - - - - Describes actions that may be used for writing to a file or clearing a set of ranges. - - - - - Update the file range with new data. - - - - - Clear the file range. - - - - - Provides a set of helper methods for constructing a request against the File service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Class representing a set of properties pertaining to the Azure File service. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Constructs a ServiceProperties object from an XML document received from the service. - - The XML document. - A ServiceProperties object containing the properties in the XML document. - - - - Converts these properties into XML for communicating with the service. - - An XML document containing the service properties. - - - - Writes service properties to a stream, formatted in XML. - - The stream to which the formatted properties are to be written. - - - - Gets or sets the Cross Origin Resource Sharing (CORS) properties for the File service. - - The CORS properties. - - - - Gets or sets the hour metrics properties. - - The metrics properties. - - - - Gets or sets the minutes metrics properties. - - The metrics properties. - - - - Represents a share item returned in the XML response for a share listing operation. - - - - - - Initializes a new instance of the class. - - - - - Gets the user-defined metadata for the share. - - The share's metadata, as a collection of name-value pairs. - - - - Gets the share's system properties. - - The share's properties. - - - - Gets the name of the share. - - The share's name. - - - - Gets the share's URI. - - The absolute URI to the share. - - - - Represents an item that may be returned by a file listing operation. - - - - - Gets the name of the file/directory item. - - The name of the file/directory item. - - - - Represents a directory item that is returned in the XML response for a file listing operation. - - - - - Initializes a new instance of the class. - - The name of the directory. - The Uri of the directory. - The directory's properties. - - - - Gets the name of the directory item. - - The name of the directory item. - - - - Gets the directory address. - - The directory URL. - - - - Gets the directory item's properties. - - The directory item's properties. - - - - Represents a file item returned in the XML response for a file listing operation. - - - - - Initializes a new instance of the class. - - The name of the file. - The file's attributes. - - - - Stores the file item's attributes. - - - - - Gets the name of the file item. - - The name of the file item. - - - - Gets the file item's system properties. - - The file item's properties. - - - - Gets the user-defined metadata for the file item. - - The file item's metadata, as a collection of name-value pairs. - - - - Gets the file item's URI. - - The absolute URI to the file item. - - - - Provides methods for parsing the response from a file listing operation. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Parses a file entry in a file listing response. - - File listing entry - - - - Parses a file directory entry in a file listing response. - - File listing entry - - - - Parses the response XML for a file listing operation. - - An enumerable collection of objects that implement . - - - - Gets the listing context from the XML response. - - A set of parameters for the listing operation. - - - - Gets an enumerable collection of objects that implement from the response. - - An enumerable collection of objects that implement . - - - - Gets the Marker value provided for the listing operation from the XML response. - - The Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - The MaxResults value. - - - - Gets the NextMarker value from the XML response, if the listing was not complete. - - The NextMarker value. - - - - Provides methods for parsing the response from an operation to get a range for a file. - - - - - Initializes a new instance of the class. - - The stream of ranges to be parsed. - - - - Reads a range. - - Range entry - - - - Parses the XML response for an operation to get a range for a file. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from a share listing operation. - - - - - Stores the share prefix. - - - - - Signals when the share prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Reads a share entry completely including its properties and metadata. - - Share listing entry - - - - Parses the response XML for a share listing operation. - - An enumerable collection of objects. - - - - Gets the listing context from the XML response. - - A set of parameters for the listing operation. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Gets the Prefix value provided for the listing operation from the XML response. - - The Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - The Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - The MaxResults value. - - - - Gets the NextMarker value from the XML response, if the listing was not complete. - - The NextMarker value. - - - - Class representing a set of stats pertaining to a File Share. - - - - - The name of the root XML element. - - - - - The name of the share usage XML element. - - - - - Initializes a new instance of the ServiceStats class. - - - - - Constructs a ShareStats object from an XML document received from the service. - - The XML document. - A ShareStats object containing the properties in the XML document. - - - - Gets or sets the share usage. - - The share usage, in GB. - - - - Enumeration controlling the options for updating queue messages. - - - - - Update the message visibility timeout. - - - - - Update the message content. - - - - - Represents a continuation token returned by the Queue service. - - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for CloudQueue enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for CloudQueue enumeration operations. - - The type element. - - - - Gets or sets the next marker for continuing results for enumeration operations. - - A string containing the NextMarker value. - - - - Gets or sets the storage location that the continuation token applies to. - - A enumeration value. - - - - Enum for Queue message type. - Internal use only. - - - - - Indicates the message object stores the raw text string. - - - - - Indicates the message object stores the Base64-Encoded representation of the raw data. - - - - - Indicates the message object stores the raw binary data. - - - - - Represents a set of timeout and retry policy options that may be specified for a request against the Queue service. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Clones an instance of QueueRequestOptions so that we can apply defaults. - - QueueRequestOptions instance to be cloned. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the encryption policy for the request. - - An object of type . - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets the location mode of the request. - - A enumeration value indicating the location mode of the request. - - - - Gets or sets the server timeout interval for the request. - - A containing the server timeout interval for the request. - - - - Gets or sets the maximum execution time across all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - A object. - - - - Specifies the set of possible permissions for a shared access queue policy. - - - - - No shared access granted. - - - - - Permission to peek messages and get queue metadata granted. - - - - - Permission to add messages granted. - - - - - Permissions to update messages granted. - - - - - Permission to get and delete messages granted. - - - - - Represents the collection of shared access policies defined for a queue. - - - - - Adds the specified key and value to the collection of shared access policies. - - A string containing the key of the value to add. - The value to add the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - A string containing the key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - A string containing the key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - A string containing the key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key/ value pair in the shared access policies collection to a compatible one-dimensional array, starting at the specified index of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection of strings containing the keys of the shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - A string containing the key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy for a queue, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the SharedAccessQueuePolicy class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Provides methods for parsing the response from an operation to get messages from a queue. - - - - - Initializes a new instance of the class. - - The stream of messages to parse. - - - - Parses a message entry in a queue get messages response. - - Message entry - - - - Parses the XML response returned by an operation to get messages from a queue. - - An enumerable collection of objects. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Provides methods for parsing the response from a queue listing operation. - - - - - Stores the container prefix. - - - - - Signals when the container prefix can be consumed. - - - - - Stores the marker. - - - - - Signals when the marker can be consumed. - - - - - Stores the max results. - - - - - Signals when the max results can be consumed. - - - - - Stores the next marker. - - - - - Signals when the next marker can be consumed. - - - - - Initializes a new instance of the class. - - The stream to be parsed. - - - - Parses a queue entry in a queue listing response. - - Queue listing entry - - - - Parses the response XML for a queue listing operation. - - An enumerable collection of objects. - - - - Gets the listing context from the XML response. - - A set of parameters for the listing operation. - - - - Gets an enumerable collection of objects from the response. - - An enumerable collection of objects. - - - - Gets the Prefix value provided for the listing operation from the XML response. - - The Prefix value. - - - - Gets the Marker value provided for the listing operation from the XML response. - - The Marker value. - - - - Gets the MaxResults value provided for the listing operation from the XML response. - - The MaxResults value. - - - - Gets the NextMarker value from the XML response, if the listing was not complete. - - The NextMarker value. - - - - Parses the response XML from an operation to set the access policy for a queue. - - - - - Initializes a new instance of the QueueAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - Represents a queue item returned in the XML response for a queue listing operation. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The name of the queue. - The Uri of the queue. - The queue's metadata. - - - - Gets the user-defined metadata for the queue. - - The queue's metadata, as a collection of name-value pairs. - - - - Gets the name of the queue. - - The queue's name. - - - - Gets the queue's URI. - - The absolute URI to the queue. - - - - Provides error code strings that are specific to the Queue service. - - - - - Error code that may be returned when the specified queue was not found. - - - - - Error code that may be returned when the specified queue is disabled. - - - - - Error code that may be returned when the specified queue already exists. - - - - - Error code that may be returned when the specified queue is not empty. - - - - - Error code that may be returned when the specified queue is being deleted. - - - - - Error code that may be returned when the specified pop receipt does not match. - - - - - Error code that may be returned when one or more request parameters are invalid. - - - - - Error code that may be returned when the specified message was not found. - - - - - Error code that may be returned when the specified message is too large. - - - - - Error code that may be returned when the specified marker is invalid. - - - - - Provides a set of parameters for a queue listing operation. - - - - - Initializes a new instance of the class. - - The queue prefix. - The maximum number of results to return. - The include parameter. - - - - Gets or sets the details for the listing operation, which indicates the types of data to include in the - response. - - The details to include in the listing operation. - - - - Specifies which details to include when listing the queues in this storage account. - - - - - No additional details. - - - - - Retrieve queue metadata. - - - - - Retrieve all available details. - - - - - Represents a message retrieved from a queue. - - - - - Initializes a new instance of the class. - - - - - Gets the message expiration time. - - The message expiration time. - - - - Gets the message ID. - - The message ID. - - - - Gets the time the message was added to the queue. - - The message insertion time. - - - - Gets the time the message is next visible. - - The time the message is next visible. - - - - Gets the pop receipt for the message. - - The message's pop receipt. - - - - Gets the text of the message. - - The message text. - - - - Gets the number of times this message has been dequeued. - - The dequeue count. - - - - Represents the permissions for a queue. - - - - - Initializes a new instance of the class. - - - - - Gets the set of shared access policies for the queue. - - The set of shared access policies for the queue. - - - - Provides a set of helper methods for constructing a request against the Queue service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Writes a message to the specified stream in XML format. - - The message body. - An output stream. - - - - Gets or sets the number of entities the table query will return. - - The maximum number of entities for the table query to return. - - - - Gets or sets the filter expression to use in the table query. - - A string containing the filter expression to use in the query. - - - - Gets or sets the property names of the table entity properties to return when the table query is executed. - - A list of strings containing the property names of the table entity properties to return when the query is executed. - - - - Provides a set of extension methods for objects of type . - - - - - Specifies a set of with which the query will be executed. - - The entity type of the query. - A query that implements . - A object that specifies additional options for the request. - A object with the specified request options set. - - - - - Specifies an for the query. - - The entity type of the query. - A query that implements . - An object that represents the context for the current operation. - A object with the specified operation context. - - - - - Specifies an entity resolver for the query. - - The entity type of the query. - The type of the resolver. - A query that implements . - The entity resolver, of type . - A with the specified resolver. - - - - - Specifies that a query be returned as a object. - - The entity type of the query. - A query that implements . - An object of type . - - - - - A type which allows callers direct access to the property map of the entity. - This class eliminates the use of reflection for serialization and deserialization. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified partition key and row key. - - A string containing the partition key value for the entity. - A string containing the row key value for the entity. - - - - Initializes a new instance of the class with the entity's partition key, row key, ETag (if available/required), and properties. - - A string containing the partition key value for the entity. - A string containing the row key value for the entity. - A string containing the ETag for the entity. - An object containing the entity's properties, indexed by property name. - - - - Initializes a new instance of the class with the entity's partition key, row key, timestamp, ETag (if available/required), and properties. - - A string containing the partition key value for the entity. - A string containing the row key value for the entity. - A value containing the timestamp for this entity. - A string containing the ETag for the entity. - An object containing the entity's properties, indexed by property name. - - - - Deserializes this instance using the specified of property names to values of type . - - A collection containing the of string property names mapped to values of type to store in this instance. - An object that represents the context for the current operation. - The properties dictionary passed to this API is stored internally as a reference, not a copy. - - - - Serializes the of property names mapped to values of type from this instance. - - An object that represents the context for the current operation. - An object containing the map of string property names to values of type stored in this instance. - - - - Gets or sets the properties in the table entity, indexed by property name. - - An object containing the entity's properties. - - - - Gets or sets the entity's partition key. - - A string containing the partition key value for the entity. - - - - Gets or sets the entity's row key. - - A string containing the row key value for the entity. - - - - Gets or sets the entity's timestamp. - - A containing the timestamp for the entity. - - - - Gets or sets the entity's current ETag. - - A string containing the ETag for the entity. - Set this value to '*' to blindly overwrite an entity as part of an update operation. - - - - Gets or sets the entity's property, given the name of the property. - - A string containing the name of the property. - An object. - - - - Enumeration containing the types of values that can be stored in - a table entity property. - - - - - Represents fixed- or variable-length character data. - - - - - Represents fixed- or variable-length binary data. - - - - - Represents the mathematical concept of binary-valued logic. - - - - - Represents date and time. - - - - - Represents a floating point number with 15 digits precision that can represent values with approximate range of +/- 2.23e -308 through +/- 1.79e +308. - - - - - Represents a 16-byte (128-bit) unique identifier value. - - - - - Represents a signed 32-bit integer value. - - - - - Represents a signed 64-bit integer value. - - - - - Class for storing information about a single property in an entity in a table. - - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified byte array. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Creates a new object that represents the specified value. - - The value for the new . - An object with the specified value. - - - - Initializes a new instance of the class by using the - byte array value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the class by using the - value of the property. - - The value for the new . - - - - Initializes a new instance of the EntityProperty class given the - EdmType of the property (the value must be set by a public - constructor). - - - - - Compares the given object (which is probably an ) - for equality with this object. - - The other object. - true if the objects are equivalent; false otherwise. - - - - Compares the given object (which is probably an ) - for equality with this object. - - The other object. - true if the objects are equivalent; false otherwise. - - - - Gets the hash code for this entity property. - - The hash code for the entity property. - - - - Creates an from the specified object. - - An object containing the value for the entity property. - An object. - - - - Ensures that the given type matches the type of this entity - property; throws an exception if the types do not match. - - - - - Gets the as a generic object. - - - - - Gets the of this object. - - The of this object. - - - - Gets or sets the byte array value of this object. - - The byte array value of this object. - An exception is thrown if this property is set to a value other than a byte array. - - - - Gets or sets the boolean value of this object. - - The boolean value of this object. - An exception is thrown if this property is set to a value other than a boolean value. - - - - Gets or sets the value of this object. - An exception will be thrown if you attempt to set this property to anything other than a object. - - The value of this object. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than a value. - - - - Gets or sets the double value of this object. - - The double value of this object. - An exception is thrown if this property is set to a value other than a double value. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than a value. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than a value. - - - - Gets or sets the value of this object. - - The value of this object. - An exception is thrown if this property is set to a value other than an value. - - - - Gets or sets the string value of this object. - - The string value of this object. - An exception is thrown if this property is set to a value other than a string value. - - - - Returns a delegate for resolving entities. - - The type into which the query results are projected. - A string containing the partition key for the entity. - A string containing the row key for the entity. - A containing the timestamp for the entity. - An object containing the properties for the entity. - The ETag. - - - - - Represents a custom attribute that can be used to ignore entity properties during serialization/de-serialization. - - - - - Defines the set of comparison operators that may be used for constructing queries. - - - - - Represents the Equal operator. - - - - - Represents the Not Equal operator. - - - - - Represents the Greater Than operator. - - - - - Represents the Greater Than or Equal operator. - - - - - Represents the Less Than operator. - - - - - Represents the Less Than or Equal operator. - - - - - Specifies the set of possible permissions for a shared access table policy. - - - - - No shared access granted. - - - - - Permission to query entities granted. - - - - - Permission to add entities granted. - - - - - Permission to modify entities granted. - - - - - Permission to delete entities granted. - - - - - Represents the collection of shared access policies defined for a table. - - - - - Adds the specified key and value to the collection of shared access policies. - - The key of the value to add. - The value to add to the collection of shared access policies. - - - - Determines whether the collection of shared access policies contains the specified key. - - The key to locate in the collection of shared access policies. - true if the collection of shared access policies contains an element with the specified key; otherwise, false. - - - - Removes the value with the specified key from the shared access policies collection. - - The key of the item to remove. - true if the element is successfully found and removed; otherwise, false. This method returns false if the key is not found. - - - - Gets the item associated with the specified key. - - The key of the value to get. - The item to get. - The item associated with the specified key, if the key is found; otherwise, the default value for the type. - - - - Adds the specified key/ value, stored in a , to the collection of shared access policies. - - The object, containing a key/ value pair, to add to the shared access policies collection. - - - - Removes all keys and values from the shared access collection. - - - - - Determines whether the collection of shared access policies contains the key and value in the specified object. - - A object containing the key and value to search for. - true if the shared access policies collection contains the specified key/value; otherwise, false. - - - - Copies each key/ value pair in the shared access policies collection to a compatible one-dimensional array, starting at the specified index of the target array. - - A one-dimensional array of objects that serves as the destination for the elements copied from the shared access policies collection. - The zero-based index in at which copying begins. - - - - Removes the value, specified in the object, from the shared access policies collection. - - The object, containing a key and value, to remove from the shared access policies collection. - true if the item was successfully removed; otherwise, false. - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An of type . - - - - Returns an enumerator that iterates through the collection of shared access policies. - - An object that can be used to iterate through the collection of shared access policies. - - - - Gets a collection containing the keys in the shared access policies collection. - - A collection containing the keys in the of shared access policies collection. - - - - Gets a collection containing the values in the shared access policies collection. - - A collection of items in the shared access policies collection. - - - - Gets or sets the item associated with the specified key. - - The key of the value to get or set. - The item associated with the specified key, or null if key is not in the shared access policies collection. - - - - Gets the number of key/ value pairs contained in the shared access policies collection. - - The number of key/ value pairs contained in the shared access policies collection. - - - - Gets a value indicating whether the collection of shared access policies is read-only. - - true if the collection of shared access policies is read-only; otherwise, false. - - - - Represents a shared access policy, which specifies the start time, expiry time, - and permissions for a shared access signature. - - - - - Initializes a new instance of the SharedAccessTablePolicy class. - - - - - Converts the permissions specified for the shared access policy to a string. - - A object. - The shared access permissions in string format. - - - - Constructs a object from a permissions string. - - The shared access permissions in string format. - A object. - - - - Gets or sets the start time for a shared access signature associated with this shared access policy. - - A specifying the shared access start time. - - - - Gets or sets the expiry time for a shared access signature associated with this shared access policy. - - A specifying the shared access expiry time. - - - - Gets or sets the permissions for a shared access signature associated with this shared access policy. - - A object. - - - - Represents a continuation token for listing operations. - - A method that may return a partial set of results via a object also returns a continuation token, - which can be used in a subsequent call to return the next set of available results. - - - - Gets an XML representation of an object. - - - An that describes the XML representation of the object that is produced by the method and consumed by the method. - - - - - Generates a serializable continuation token from its XML representation. - - The stream from which the continuation token is deserialized. - - - - Converts a serializable continuation token into its XML representation. - - The stream to which the continuation token is serialized. - - - - Gets or sets the version for continuing results for enumeration operations. - - The version. - - - - Gets or sets the type element (blob, queue, table, file) for continuing results for enumeration operations. - - The type element. - - - - Gets or sets the next partition key for enumeration operations. - - A string containing the next partition key. - - - - Gets or sets the next row key for enumeration operations. - - A string containing the next row key. - - - - Gets or sets the next table name for enumeration operations. - - A string containing the name of the next table. - - - - Gets or sets the storage location that the continuation token applies to. - - A enumeration value. - - - - Enumeration containing the types of operations that can be - performed by a . - - - - - Represents an insert operation. - - - - - Represents a delete operation. - - - - - Represents a replace operation. - - - - - Represents a merge operation. - - - - - Represents an insert or replace operation. - - - - - Represents an insert or merge operation. - - - - - Represents a retrieve operation. - - - - - Defines the set of Boolean operators for constructing queries. - - - - - Represents the And operator. - - - - - Represents the Not operator. - - - - - Represents the Or operator. - - - - - Describes the payload formats supported for Tables. - - - - - Use JSON with full metadata. - - - - - Use JSON with minimal metadata. - - - - - Use JSON with no metadata. - - - - - Represents the permissions for a table. - - - - - Initializes a new instance of the class. - - - - - Gets the set of shared access policies for the container. - - A object. - - - - Represents a segment of results and contains continuation token information. - - The type of the result that the segment contains. - - - - Stores the continuation token used to retrieve the next segment of results. - - - - - Initializes a new instance of the class. - - The result. - - - - Returns an enumerator that iterates through the . - - An enumerator that iterates through the . - - - - Gets an enumerable collection of results. - - An enumerable collection of results. - - - - Gets a continuation token to use to retrieve the next set of results with a subsequent call to the operation. - - A object. - - - - Represents a set of timeout and retry policy options that may be specified for a request against the Table service. - - - - - Stores the maximum execution time. - - - - - Defines the absolute default option values, should neither the user nor client specify anything. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified . - - The object used to initialize a new instance of the class. - - - - Gets or sets the absolute expiry time across all potential retries for the request. - - - - - Gets or sets the retry policy for the request. - - An object of type . - - - - Gets or sets the option to include system properties such as Partition Key and Row Key in queries. - - - - - Gets or sets the encryption policy for the request. - - An object of type . - - - - Gets or sets a value to indicate whether data written and read by the client library should be encrypted. - - Use true to specify that data should be encrypted/decrypted for all transactions; otherwise, false. - - - - Gets or sets the location mode of the request. - - A enumeration value indicating the location mode of the request. - - - - Gets or sets the server timeout interval for the request. - - A containing the server timeout interval for the request. - - - - Gets or sets the maximum execution time for all potential retries for the request. - - A representing the maximum execution time for retries for the request. - - - - Gets or sets the that will be used for the request. - - A enumeration value. - - - - Gets or sets the delegate that is used to get the for an entity property given the partition key, row key, and the property name. - - - - - Gets or sets the delegate to get the value indicating whether or not a property should be encrypted, given the partition key, row key, - and property name. - - - - - Represents the result of a table operation. - - The class encapsulates the HTTP response and any entities returned for a particular . - - - - Gets or sets the result returned by the as an . - - The result of the table operation as an . - - - - Gets or sets the HTTP status code returned by a request. - - The HTTP status code returned by a request. - - - - Gets or sets the ETag returned with the request results. - - The ETag returned with the request results. - - - - Represents a segment of results, with continuation information for pagination scenarios. - - - - - Initializes a new instance of the class. - - The result. - - - - Stores the continuation token used to retrieve the next segment of results or null if there are no more results. - - - - - Returns an enumerator that iterates through the segment of results. - - An enumerator that iterates through the segment of results. - - - - Gets an enumerable collection of results. - - An enumerable collection of objects. - - - - Gets the continuation token used to retrieve the next segment of results. Returns null if there are no more results. - - A object. - - - - Internal Table service entity for creating tables. - - - - - Stores the table name. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with the specified name. - - The name of the table. - - - - Determines whether the specified is equal to this instance. - - The to compare with this instance. - - Returns true if the specified is equal to this instance; otherwise, false. - - - The parameter is null. - - - - - Returns a hash code for this instance. - - - A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. - - - - - Gets or sets the table name. - - The name of the table. - - - - Represents the default EDM entity container for table storage. - - - - - Initializes a new instance of the EdmEntityContainer class and sets the model and entity set. The name and namespace should not matter since we look for default entity container. - - Sets the data model that will be used for table transactions. - - - - Searches for an entity set with the given name in this entity container and creates a new set if no such set exists. - - The name of the element being found. - The requested element, or the new element created if no such element exists. - - - - Represents a data model that will be used by OData for table transactions. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - Searches for a type with the given name in this model and creates a new type if no such type exists. - - The qualified name of the type being found. - The requested type, or the new type created if no such type exists. - - - - Create a new type with the standard set of properties(PK, RK and TimeStamp). - - Namespace the entity belongs to. - Name of the entity. - The EdmEntityType created. - - - - Searches for a type with the given name in this model. Returns true if such a type is found, otherwise returns false. - - The qualified name of the type being found. - true if the type is found; otherwise, false. - - - - Parses the response XML from an operation to set the access policy for a table. - - - - - Initializes a new instance of the TableAccessPolicyResponse class. - - The stream to be parsed. - - - - Parses the current element. - - The shared access policy element to parse. - The shared access policy. - - - - A set of constants used in operations against the Table service. - - - - - Stores the maximum number of operations allowed in a TableBatchOperation. - - - - - Stores the header prefix for continuation information. - - - - - Stores the header suffix for the next partition key. - - - - - Stores the header suffix for the next row key. - - - - - Stores the table suffix for the next table name. - - - - - Stores the maximum results the Table service can return. - - - - - The maximum size of a string property for the Table service in bytes. - - - - - The maximum size of a string property for the Table service in bytes. - - - - - The maximum size of a string property for the Table service in chars. - - - - - The name of the special table used to store tables. - - - - - The name of the partition key property. - - - - - The name of the row key property. - - - - - The name of the Timestamp property. - - - - - The name of the ETag property. - - - - - The name of the property that stores the table name. - - - - - The query filter clause name. - - - - - The query top clause name. - - - - - The query select clause name. - - - - - The minimum DateTime supported. - - - - - The ODataProtocolVersion. - - - - - Provides error code strings that are specific to the Windows Azure Table service. - - - - - The request uses X-HTTP-Method with an HTTP verb other than POST. - - - - - The specified X-HTTP-Method is invalid. - - - - - More than one X-HTTP-Method is specified. - - - - - The specified table has no properties. - - - - - A property is specified more than once. - - - - - The specified table has no such property. - - - - - A duplicate key property was specified. - - - - - The specified table already exists. - - - - - The specified table was not found. - - - - - The specified entity was not found. - - - - - The specified entity already exists. - - - - - The partition key was not specified. - - - - - One or more specified operators are invalid. - - - - - The specified update condition was not satisfied. - - - - - All properties must have values. - - - - - The partition key property cannot be updated. - - - - - The entity contains more properties than allowed. - - - - - The entity is larger than the maximum size permitted. - - - - - The property value is larger than the maximum size permitted. - - - - - One or more value types are invalid. - - - - - The specified table is being deleted. - - - - - The Table service server is out of memory. - - - - - The type of the primary key property is invalid. - - - - - The property name exceeds the maximum allowed length. - - - - - The property name is invalid. - - - - - Batch operations are not supported for this operation type. - - - - - JSON format is not supported. - - - - - The specified method is not allowed. - - - - - The specified operation is not yet implemented. - - - - - The required host information is not present in the request. You must send a non-empty Host header or include the absolute URI in the request line. - - - - - Provides a set of helper methods for constructing a request against the Table service. - - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - - - - Contains storage constants. - - - - - Constant for the max value of ParallelOperationThreadCount for Block Blobs. - - - - - Maximum number of shared access policy identifiers supported by server. - - - - - Default Write Block Size used by Blob stream. - - - - - The maximum size of a blob before it must be separated into blocks. - - - - - The maximum size of a single block. - - - - - The maximum size of a range get operation that returns content MD5. - - - - - The maximum number of blocks. - - - - - The maximum size of a blob with blocks. - - - - - Default size of buffer for unknown sized requests. - - - - - Common name to be used for all loggers. - - - - - The size of a page in a PageBlob. - - - - - A constant representing a kilo-byte (Non-SI version). - - - - - A constant representing a megabyte (Non-SI version). - - - - - A constant representing a megabyte (Non-SI version). - - - - - XML element for committed blocks. - - - - - XML element for uncommitted blocks. - - - - - XML element for blocks. - - - - - XML element for names. - - - - - XML element for sizes. - - - - - XML element for block lists. - - - - - XML element for queue message lists. - - - - - XML element for queue messages. - - - - - XML element for message IDs. - - - - - XML element for insertion times. - - - - - XML element for expiration times. - - - - - XML element for pop receipts. - - - - - XML element for the time next visible fields. - - - - - XML element for message texts. - - - - - XML element for dequeue counts. - - - - - XML element for page ranges. - - - - - XML element for clear ranges. - - - - - XML element for page list elements. - - - - - XML element for page range start elements. - - - - - XML element for page range end elements. - - - - - XML element for delimiters. - - - - - XML element for blob prefixes. - - - - - XML element for content type fields. - - - - - XML element for content type fields. - - - - - XML element for content encoding fields. - - - - - XML element for content language fields. - - - - - XML element for content length fields. - - - - - XML element for content MD5 fields. - - - - - XML element for enumeration results. - - - - - XML element for service endpoint. - - - - - XML element for container name. - - - - - XML element for share name. - - - - - XML element for directory path. - - - - - XML element for blobs. - - - - - XML element for prefixes. - - - - - XML element for maximum results. - - - - - XML element for markers. - - - - - XML element for the next marker. - - - - - XML element for the ETag. - - - - - XML element for the last modified date. - - - - - XML element for the Url. - - - - - XML element for blobs. - - - - - XML element for copy ID. - - - - - XML element for copy status. - - - - - XML element for copy source. - - - - - XML element for copy progress. - - - - - XML element for copy completion time. - - - - - XML element for copy status description. - - - - - Constant signaling a page blob. - - - - - Constant signaling a block blob. - - - - - Constant signaling an append blob. - - - - - Constant signaling the blob is locked. - - - - - Constant signaling the blob is unlocked. - - - - - Constant signaling the resource is available for leasing. - - - - - Constant signaling the resource is leased. - - - - - Constant signaling the resource's lease has expired. - - - - - Constant signaling the resource's lease is breaking. - - - - - Constant signaling the resource's lease is broken. - - - - - Constant signaling the resource's lease is infinite. - - - - - Constant signaling the resource's lease is fixed (finite). - - - - - Constant for a pending copy. - - - - - Constant for a successful copy. - - - - - Constant for an aborted copy. - - - - - Constant for a failed copy. - - - - - Constant for unavailable geo-replication status. - - - - - Constant for live geo-replication status. - - - - - Constant for bootstrap geo-replication status. - - - - - XML element for blob types. - - - - - XML element for the lease status. - - - - - XML element for the lease status. - - - - - XML element for the lease status. - - - - - XML element for snapshots. - - - - - XML element for containers. - - - - - XML element for a container. - - - - - XML element for shares. - - - - - XML element for a share. - - - - - XML element for Share Quota. - - - - - XML element for file ranges. - - - - - XML element for file list elements. - - - - - XML element for files. - - - - - XML element for files. - - - - - XML element for directory. - - - - - XML element for queues. - - - - - Version 2 of the XML element for the queue name. - - - - - XML element for the queue. - - - - - XML element for properties. - - - - - XML element for the metadata. - - - - - XML element for an invalid metadata name. - - - - - XML element for maximum results. - - - - - XML element for committed blocks. - - - - - XML element for uncommitted blocks. - - - - - XML element for the latest. - - - - - XML element for signed identifiers. - - - - - XML element for a signed identifier. - - - - - XML element for access policies. - - - - - XML attribute for IDs. - - - - - XML element for the start time of an access policy. - - - - - XML element for the end of an access policy. - - - - - XML element for the permissions of an access policy. - - - - - The URI path component to access the messages in a queue. - - - - - XML element for exception details. - - - - - XML root element for errors. - - - - - XML element for error codes. - - - - - XML element for error codes returned by the preview tenants. - - - - - XML element for error messages. - - - - - XML element for error messages. - - - - - XML element for exception messages. - - - - - XML element for stack traces. - - - - - Namespace of the entity container. - - - - - Name of the entity container. - - - - - Name of the entity set. - - - - - Namespace name for primitive types. - - - - - Default namespace name for Tables. - - - - - Default name for Tables. - - - - - Header value to set Accept to XML. - - - - - Header value to set Accept to JsonLight. - - - - - Header value to set Accept to JsonFullMetadata. - - - - - Header value to set Accept to JsonNoMetadata. - - - - - Header value argument to set JSON no metadata. - - - - - Header value to set Content-Type to JSON. - - - - - The prefix used in all ETags. - - - - - Constant for the max value of MaximumExecutionTime. - - - - - Default client side timeout for all service clients. - - - - - Maximum Retry Policy back-off - - - - - Maximum allowed timeout for any request. - - - - - Constants for HTTP headers. - - - - - Specifies the value to use for UserAgent header. - - - - - Specifies the value to use for UserAgent header. - - - - - Master Windows Azure Storage header prefix. - - - - - True Header. - - - - - False Header. - - - - - Header prefix for properties. - - - - - Header prefix for metadata. - - - - - Header that specifies content disposition. - - - - - Header that specifies content length. - - - - - Header that specifies content language. - - - - - Header that specifies the ETag value for the resource. - - - - - Header for data ranges. - - - - - Header for range content MD5. - - - - - Header for storage version. - - - - - Header for copy source. - - - - - Header for the If-Match condition. - - - - - Header for the If-Modified-Since condition. - - - - - Header for the If-None-Match condition. - - - - - Header for the If-Unmodified-Since condition. - - - - - Header for the file type. - - - - - Header that specifies file caching control. - - - - - Request header that specifies the file content disposition. - - - - - Header that specifies file content encoding. - - - - - Header that specifies file content language. - - - - - Header that specifies file content MD5. - - - - - Header that specifies file content type. - - - - - Header that specifies file content length. - - - - - Header that specifies the file write mode. - - - - - Header for the blob type. - - - - - Header for snapshots. - - - - - Header to delete snapshots. - - - - - Header that specifies blob caching control. - - - - - Request header that specifies the blob content disposition. - - - - - Header that specifies blob content encoding. - - - - - Header that specifies blob content language. - - - - - Header that specifies blob content MD5. - - - - - Header that specifies blob content type. - - - - - Header that specifies blob content length. - - - - - Header that specifies blob sequence number. - - - - - Header that specifies sequence number action. - - - - - Header that specifies committed block count. - - - - - Header that specifies the blob append offset. - - - - - Header for the If-Sequence-Number-LE condition. - - - - - Header for the If-Sequence-Number-LT condition. - - - - - Header for the If-Sequence-Number-EQ condition. - - - - - Header for the blob-condition-maxsize condition. - - - - - Header for the blob-condition-appendpos condition. - - - - - Header that specifies lease ID. - - - - - Header that specifies lease status. - - - - - Header that specifies lease status. - - - - - Header that specifies page write mode. - - - - - Header that specifies approximate message count of a queue. - - - - - Header that specifies the date. - - - - - Header indicating the request ID. - - - - - Header indicating the client request ID. - - - - - Header that specifies public access to blobs. - - - - - Format string for specifying ranges. - - - - - Current storage version header value. - Every time this version changes, assembly version needs to be updated as well. - - - - - Specifies the file type. - - - - - Specifies the page blob type. - - - - - Specifies the block blob type. - - - - - Specifies the append blob type. - - - - - Specifies only snapshots are to be included. - - - - - Specifies snapshots are to be included. - - - - - Header that specifies the pop receipt for a message. - - - - - Header that specifies the next visible time for a message. - - - - - Header that specifies whether to peek-only. - - - - - Header that specifies whether data in the container may be accessed publicly and what level of access is to be allowed. - - - - - Header that specifies the lease action to perform. - - - - - Header that specifies the proposed lease ID for a leasing operation. - - - - - Header that specifies the duration of a lease. - - - - - Header that specifies the break period of a lease. - - - - - Header that specifies the remaining lease time. - - - - - Header that specifies the key name for explicit keys. - - - - - Header that specifies the copy ID. - - - - - Header that specifies the conclusion time of the last attempted blob copy operation - where this blob was the destination blob. - - - - - Header that specifies the copy status. - - - - - Header that specifies the copy progress. - - - - - Header that specifies a copy error message. - - - - - Header that specifies the copy action. - - - - - The value of the copy action header that signifies an abort operation. - - - - - Header that specifies the share size, in gigabytes. - - - - - Header that specifies the share quota, in gigabytes. - - - - - Header that specifies the Accept type for the response payload. - - - - - Header that specifies the Content type for the request payload. - - - - - Specifies the value to use for UserAgent header. - - - - - Specifies the comment to use for UserAgent header. - - - - - Constants for query strings. - - - - - Query component for snapshot time. - - - - - Query component for the signed SAS start time. - - - - - Query component for the signed SAS expiry time. - - - - - Query component for the signed SAS resource. - - - - - Query component for the signed SAS resource types. - - - - - Query component for the signed SAS service. - - - - - Query component for the signed SAS protocol. - - - - - Query component for the signed SAS IP. - - - - - Query component for the SAS table name. - - - - - Query component for the signed SAS permissions. - - - - - Query component for the SAS start partition key. - - - - - Query component for the SAS start row key. - - - - - Query component for the SAS end partition key. - - - - - Query component for the SAS end row key. - - - - - Query component for the signed SAS identifier. - - - - - Query component for the signing SAS key. - - - - - Query component for the signed SAS version. - - - - - Query component for SAS signature. - - - - - Query component for SAS cache control. - - - - - Query component for SAS content type. - - - - - Query component for SAS content encoding. - - - - - Query component for SAS content language. - - - - - Query component for SAS content disposition. - - - - - Query component for SAS API version. - - - - - Query component for message time-to-live. - - - - - Query component for message visibility timeout. - - - - - Query component for the number of messages. - - - - - Query component for message pop receipt. - - - - - Query component for resource type. - - - - - Query component for the operation (component) to access. - - - - - Query component for the copy ID. - - - - - Constants for Result Continuations - - - - - Top Element for Continuation Tokens - - - - - XML element for the next marker. - - - - - XML element for the next partition key. - - - - - XML element for the next row key. - - - - - XML element for the next table name. - - - - - XML element for the target location. - - - - - XML element for the token version. - - - - - Stores the current token version value. - - - - - XML element for the token type. - - - - - Specifies the blob continuation token type. - - - - - Specifies the queue continuation token type. - - - - - Specifies the table continuation token type. - - - - - Specifies the file continuation token type. - - - - - Constants for version strings - - - - - Constant for the 2013-08-15 version. - - - - - Constant for the 2012-02-12 version. - - - - - Constants for analytics client - - - - - Constant for the logs container. - - - - - Constant for the blob capacity metrics table. - - - - - Constant for the blob service primary location hourly metrics table. - - - - - Constant for the table service primary location hourly metrics table. - - - - - Constant for the queue service primary location hourly metrics table. - - - - - Constant for the file service primary location hourly metrics table. - - - - - Constant for the blob service primary location minute metrics table. - - - - - Constant for the table service primary location minute metrics table. - - - - - Constant for the queue service primary location minute metrics table. - - - - - Constant for the file service primary location minute metrics table. - - - - - Constant for the blob service secondary location hourly metrics table. - - - - - Constant for the table service secondary location hourly metrics table. - - - - - Constant for the queue service secondary location hourly metrics table. - - - - - Constant for the file service secondary location hourly metrics table. - - - - - Constant for the blob service secondary location minute metrics table. - - - - - Constant for the table service secondary location minute metrics table. - - - - - Constant for the queue service secondary location minute metrics table. - - - - - Constant for the file service secondary location minute metrics table. - - - - - Constant for default logging version. - - - - - Constant for default metrics version. - - - - - Constants for client encryption. - - - - - Constant for the encryption protocol. - - - - - Encryption metadata key for key wrapping IV. - - - - - Metadata header to store encryption materials. - - - - - Property name to store the encryption metadata. - - - - - Additional property name to store the encryption metadata. - - - - - HTTP methods that are supported by CORS. - - - - - Represents no HTTP method in a CORS rule. - - - - - Represents the GET HTTP method in a CORS rule. - - - - - Represents the HEAD HTTP method in a CORS rule. - - - - - Represents the POST HTTP method in a CORS rule. - - - - - Represents the PUT HTTP method in a CORS rule. - - - - - Represents the DELETE HTTP method in a CORS rule. - - - - - Represents the TRACE HTTP method in a CORS rule. - - - - - Represents the OPTIONS HTTP method in a CORS rule. - - - - - Represents the CONNECT HTTP method in a CORS rule. - - - - - Represents the MERGE HTTP method in a CORS rule. - - - - - Class representing the service properties pertaining to CORS. - - - - - Constructs a CORS Properties object. - - - - - Gets or sets CORS rules. The order of the list corresponds to precedence of rules. - - A collection containing CORS rules, limited to 5. - - - - Class representing the service properties pertaining to CORS. - - - - - Gets or sets domain names allowed via CORS. - - A collection of strings containing the allowed domain names, limited to 64. - - - - Gets or sets response headers that should be exposed to client via CORS. - - A collection of strings containing exposed headers, limited to 64 defined headers and two prefixed headers. - - - - Gets or sets headers allowed to be part of the CORS request. - - A collection of strings containing allowed headers, limited to 64 defined headers and two prefixed headers. - - - - Gets or sets the HTTP methods permitted to execute for this origin. - - The allowed HTTP methods. - - - - Gets or sets the length of time in seconds that a preflight response should be cached by browser. - - The maximum number of seconds to cache the response. - - - - Class representing the geo-replication stats. - - - - - The name of the status XML element. - - - - - The name of the last sync time XML element. - - - - - Initializes a new instance of the GeoReplicationStats class. - - - - - Gets a from a string. - - The geo-replication status string. - A enumeration. - The string contains an unrecognized value. - - - - Constructs a GeoReplicationStats object from an XML element. - - The XML element. - A GeoReplicationStats object containing the properties in the element. - - - - Gets or sets the status of geo-replication. - - The status of geo-replication. - - - - Gets or sets the last synchronization time. - - The last synchronization time. - All primary writes preceding this value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. - - - - Enumeration representing the state of geo-replication in a service. - - - - - Status of geo-replication is unavailable. - - - - - Geo-replication is live. - - - - - Data is being bootstrapped from primary to secondary. - - - - - Enumeration representing the state of logging in a service. - - - - - Logging is disabled. - - - - - Log read operations. - - - - - Log write operations. - - - - - Log delete operations. - - - - - Log all operations. - - - - - Class representing the service properties pertaining to logging. - - - - - Initializes a new instance of the LoggingProperties class. - - - - - Initializes a new instance of the LoggingProperties class. - - - - - Gets or sets the version of the analytics service. - - A string identifying the version of the service. - - - - Gets or sets the state of logging. - - A combination of flags describing the operations that are logged. - - - - Gets or sets the logging retention policy. - - The number of days to retain the logs. - - - - Enumeration representing the state of metrics collection in a service. - - - - - Metrics collection is disabled. - - - - - Service-level metrics collection is enabled. - - - - - Service-level and API metrics collection are enabled. - - - - - Class representing the service properties pertaining to metrics. - - - - - Initializes a new instance of the MetricsProperties class. - - - - - Initializes a new instance of the MetricsProperties class. - - - - - Gets or sets the version of the analytics service. - - A string identifying the version of the service. - - - - Gets or sets the state of metrics collection. - - A value indicating which metrics to collect, if any. - - - - Gets or sets the logging retention policy. - - The number of days to retain the logs. - - - - Converts the date time to snapshot string. - - The date time. - The converted string. - - - - Writes a collection of shared access policies to the specified stream in XML format. - - A collection of shared access policies. - An output stream. - A delegate that writes a policy to an XML writer. - The type of policy to write. - - - - Gets the request id. - - The response from server. - The request ID. - - - - Reads a collection of shared access policies from the specified object. - - A collection of shared access policies to be filled. - A policy response object for reading the stream. - The type of policy to read. - - - - Parses the metadata. - - The reader. - A of metadata. - - Precondition: reader at <Metadata> - Postcondition: reader after </Metadata> (<Metadata/> consumed) - - - - - Class representing a set of properties pertaining to a cloud storage service. - - - - - The name of the root XML element. - - - - - The name of the logging XML element. - - - - - The name of the metrics XML element. - - - - - The name of the CORS XML element. - - - - - The name of the minute metrics XML element. - - - - - The name of the version XML element. - - - - - The name of the delete operation XML element. - - - - - The name of the read operation XML element. - - - - - The name of the write operation XML element. - - - - - The name of the retention policy XML element. - - - - - The name of the enabled XML element. - - - - - The name of the days XML element. - - - - - The name of the include APIs XML element. - - - - - The name of the default service version XML element. - - - - - The name of the CORS Rule XML element. - - - - - The name of the Allowed Origin XML element. - - - - - The name of the Allowed Method XML element. - - - - - The name of the Maximum Age XML element. - - - - - The name of the Exposed Headers XML element. - - - - - The name of the Allowed Headers XML element. - - - - - Initializes a new instance of the ServiceProperties class. - - - - - Initializes a new instance of the ServiceProperties class. - - - - - Constructs a ServiceProperties object from an XML document received from the service. - - The XML document. - A ServiceProperties object containing the properties in the XML document. - - - - Converts these properties into XML for communicating with the service. - - An XML document containing the service properties. - - - - Generates XML representing the given retention policy. - - The number of days to retain, or null if the policy is disabled. - An XML retention policy element. - - - - Generates XML representing the given metrics properties. - - The metrics properties. - The XML name for these metrics. - An XML metrics element. - - - - Generates XML representing the given logging properties. - - The logging properties. - An XML logging element. - - - - Generates XML representing the given CORS properties. - - The CORS properties. - An XML logging element. - - - - Constructs a LoggingProperties object from an XML element. - - The XML element. - A LoggingProperties object containing the properties in the element. - - - - Constructs a MetricsProperties object from an XML element. - - The XML element. - A MetricsProperties object containing the properties in the element. - - - - Constructs a CorsProperties object from an XML element. - - The XML element. - A CorsProperties object containing the properties in the element. - - - - Constructs a retention policy (number of days) from an XML element. - - The XML element. - The number of days to retain, or null if retention is disabled. - - - - Writes service properties to a stream, formatted in XML. - - The stream to which the formatted properties are to be written. - - - - Gets or sets the logging properties. - - The logging properties. - - - - Gets or sets the hour metrics properties. - - The metrics properties. - - - - Gets or sets the Cross Origin Resource Sharing (CORS) properties. - - The CORS properties. - - - - Gets or sets the minute metrics properties. - - The minute metrics properties. - - - - Gets or sets the default service version. - - The default service version identifier. - - - - Class representing a set of stats pertaining to a cloud storage service. - - - - - The name of the root XML element. - - - - - The name of the geo-replication XML element. - - - - - Initializes a new instance of the ServiceStats class. - - - - - Constructs a ServiceStats object from an XML document received from the service. - - The XML document. - A ServiceStats object containing the properties in the XML document. - - - - Gets or sets the geo-replication stats. - - The geo-replication stats. - - - - Provides error code strings that are common to all storage services. - - - - - The specified HTTP verb is not supported. - - - - - The Content-Length header is required for this request. - - - - - A required header was missing. - - - - - A required XML node was missing. - - - - - One or more header values are not supported. - - - - - One or more XML nodes are not supported. - - - - - One or more header values are invalid. - - - - - One or more XML node values are invalid. - - - - - A required query parameter is missing. - - - - - One or more query parameters is not supported. - - - - - One or more query parameters are invalid. - - - - - One or more query parameters are out of range. - - - - - The URI is invalid. - - - - - The HTTP verb is invalid. - - - - - The metadata key is empty. - - - - - The request body is too large. - - - - - The specified XML document is invalid. - - - - - An internal error occurred. - - - - - Authentication failed. - - - - - The specified MD5 hash does not match the server value. - - - - - The specified MD5 hash is invalid. - - - - - The input is out of range. - - - - - The input is invalid. - - - - - The operation timed out. - - - - - The specified resource was not found. - - - - - The specified metadata is invalid. - - - - - The specified metadata is too large. - - - - - The specified condition was not met. - - - - - The specified range is invalid. - - - - - The specified container was not found. - - - - - The specified container already exists. - - - - - The specified container is disabled. - - - - - The specified container is being deleted. - - - - - The server is busy. - - - - - The url in the request could not be parsed. - - - - - The authentication information was not provided in the correct format. Verify the value of Authorization header. - - - - - The specified resource name contains invalid characters. - - - - - Condition headers are not supported. - - - - - Multiple condition headers are not supported. - - - - - Read-access geo-redundant replication is not enabled for the account, write operations to the secondary location are not allowed, - or the account being accessed does not have sufficient permissions to execute this operation. - - - - - The specified account is disabled. - - - - - The specified account already exists. - - - - - The specified account is in the process of being created. - - - - - The specified resource already exists. - - - - - The specified resource type does not match the type of the existing resource. - - -
-
diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/win8/Microsoft.WindowsAzure.Storage.dll b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/win8/Microsoft.WindowsAzure.Storage.dll deleted file mode 100644 index c20db48a7..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/win8/Microsoft.WindowsAzure.Storage.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/win8/Microsoft.WindowsAzure.Storage.pdb b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/win8/Microsoft.WindowsAzure.Storage.pdb deleted file mode 100644 index afd1274a9..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/win8/Microsoft.WindowsAzure.Storage.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wp8/Microsoft.WindowsAzure.Storage.dll b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wp8/Microsoft.WindowsAzure.Storage.dll deleted file mode 100644 index 65204303b..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wp8/Microsoft.WindowsAzure.Storage.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wp8/Microsoft.WindowsAzure.Storage.pdb b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wp8/Microsoft.WindowsAzure.Storage.pdb deleted file mode 100644 index 8fb677450..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wp8/Microsoft.WindowsAzure.Storage.pdb and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wpa/Microsoft.WindowsAzure.Storage.dll b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wpa/Microsoft.WindowsAzure.Storage.dll deleted file mode 100644 index 73c1f6a9a..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wpa/Microsoft.WindowsAzure.Storage.dll and /dev/null differ diff --git a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wpa/Microsoft.WindowsAzure.Storage.pdb b/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wpa/Microsoft.WindowsAzure.Storage.pdb deleted file mode 100644 index 9f654a1b4..000000000 Binary files a/samples/js-bot-framework/bot/packages/WindowsAzure.Storage.7.0.0/lib/wpa/Microsoft.WindowsAzure.Storage.pdb and /dev/null differ diff --git a/samples/js-bot-framework/webpart/.editorconfig b/samples/js-bot-framework/webpart/.editorconfig deleted file mode 100644 index 8ffcdc4ec..000000000 --- a/samples/js-bot-framework/webpart/.editorconfig +++ /dev/null @@ -1,25 +0,0 @@ -# EditorConfig helps developers define and maintain consistent -# coding styles between different editors and IDEs -# editorconfig.org - -root = true - - -[*] - -# change these settings to your own preference -indent_style = space -indent_size = 2 - -# we recommend you to keep these unchanged -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false - -[{package,bower}.json] -indent_style = space -indent_size = 2 \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/.gitattributes b/samples/js-bot-framework/webpart/.gitattributes deleted file mode 100644 index 212566614..000000000 --- a/samples/js-bot-framework/webpart/.gitattributes +++ /dev/null @@ -1 +0,0 @@ -* text=auto \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/.gitignore b/samples/js-bot-framework/webpart/.gitignore deleted file mode 100644 index 63c4ae010..000000000 --- a/samples/js-bot-framework/webpart/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Dependency directories -node_modules - -# Build generated files -dist -lib -solution -temp -*.spapp - -# Coverage directory used by tools like istanbul -coverage - -# OSX -.DS_Store - -# Visual Studio files -.ntvs_analysis.dat -.vs -bin -obj - -# Resx Generated Code -*.resx.ts - -# Styles Generated Code -*.scss.ts diff --git a/samples/js-bot-framework/webpart/.npmignore b/samples/js-bot-framework/webpart/.npmignore deleted file mode 100644 index 2c93a9384..000000000 --- a/samples/js-bot-framework/webpart/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -# Folders -.vscode -coverage -node_modules -sharepoint -src -temp - -# Files -*.csproj -.git* -.yo-rc.json -gulpfile.js -tsconfig.json diff --git a/samples/js-bot-framework/webpart/.vscode/settings.json b/samples/js-bot-framework/webpart/.vscode/settings.json deleted file mode 100644 index ab46aaa4f..000000000 --- a/samples/js-bot-framework/webpart/.vscode/settings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - // The number of spaces a tab is equal to. - "editor.tabSize": 2, - - // When enabled, will trim trailing whitespace when you save a file. - "files.trimTrailingWhitespace": true, - - // Controls if the editor should automatically close brackets after opening them - "editor.autoClosingBrackets": false, - - // Configure glob patterns for excluding files and folders. - "search.exclude": { - "**/bower_components": true, - "**/node_modules": true, - "coverage": true, - "dist": true, - "lib-amd": true, - "lib": true, - "temp": true - } -} diff --git a/samples/js-bot-framework/webpart/.vscode/tasks.json b/samples/js-bot-framework/webpart/.vscode/tasks.json deleted file mode 100644 index 5204908d6..000000000 --- a/samples/js-bot-framework/webpart/.vscode/tasks.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "0.1.0", - "command": "gulp", - "isShellCommand": true, - "showOutput": "always", - "args": [ - "--no-color" - ], - "tasks": [ - { - "taskName": "bundle", - "isBuildCommand": true, - "problemMatcher": [ - "$tsc" - ] - }, - { - "taskName": "test", - "isTestCommand": true, - "problemMatcher": [ - "$tsc" - ] - }, - { - "taskName": "serve", - "isWatching": true, - "problemMatcher": [ - "$tsc" - ] - } - ] -} diff --git a/samples/js-bot-framework/webpart/.yo-rc.json b/samples/js-bot-framework/webpart/.yo-rc.json deleted file mode 100644 index 39c3efa49..000000000 --- a/samples/js-bot-framework/webpart/.yo-rc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "@microsoft/generator-sharepoint": { - "libraryName": "js-bot-framework-client-side-solution", - "libraryId": "555d1587-8502-4cda-8d15-474c09a8ffb3", - "framework": "none" - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/config/config.json b/samples/js-bot-framework/webpart/config/config.json deleted file mode 100644 index cd27c8183..000000000 --- a/samples/js-bot-framework/webpart/config/config.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "entries": [ - { - "entry": "./lib/webparts/askSpRider/AskSpRiderWebPart.js", - "manifest": "./src/webparts/askSpRider/AskSpRiderWebPart.manifest.json", - "outputPath": "./dist/ask-sp-rider.bundle.js" - } - ], - "externals": { - "@microsoft/sp-client-base": "node_modules/@microsoft/sp-client-base/dist/sp-client-base.js", - "@microsoft/sp-client-preview": "node_modules/@microsoft/sp-client-preview/dist/sp-client-preview.js", - "@microsoft/sp-lodash-subset": "node_modules/@microsoft/sp-lodash-subset/dist/sp-lodash-subset.js", - "office-ui-fabric-react": "node_modules/office-ui-fabric-react/dist/office-ui-fabric-react.js", - "react": "node_modules/react/dist/react.min.js", - "react-dom": "node_modules/react-dom/dist/react-dom.min.js", - "react-dom/server": "node_modules/react-dom/dist/react-dom-server.min.js" - }, - "localizedResources": { - "askSpRiderStrings": "webparts/askSpRider/loc/{locale}.js" - } -} diff --git a/samples/js-bot-framework/webpart/config/deploy-azure-storage.json b/samples/js-bot-framework/webpart/config/deploy-azure-storage.json deleted file mode 100644 index 2b97bea42..000000000 --- a/samples/js-bot-framework/webpart/config/deploy-azure-storage.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "workingDir": "./temp/deploy/", - "account": "", - "container": "js-bot-framework-client-side-solution", - "accessKey": "" -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/config/package-solution.json b/samples/js-bot-framework/webpart/config/package-solution.json deleted file mode 100644 index 28761626a..000000000 --- a/samples/js-bot-framework/webpart/config/package-solution.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "solution": { - "name": "Ask SP Rider Bot", - "id": "555d1587-8502-4cda-8d15-474c09a8ffb3", - "version": "1.0.0.0" - }, - "paths": { - "zippedPackage": "solution/js-bot-framework-client-side-solution.spapp" - } -} diff --git a/samples/js-bot-framework/webpart/config/prepare-deploy.json b/samples/js-bot-framework/webpart/config/prepare-deploy.json deleted file mode 100644 index 6aca63656..000000000 --- a/samples/js-bot-framework/webpart/config/prepare-deploy.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "deployCdnPath": "temp/deploy" -} diff --git a/samples/js-bot-framework/webpart/config/serve.json b/samples/js-bot-framework/webpart/config/serve.json deleted file mode 100644 index 087899637..000000000 --- a/samples/js-bot-framework/webpart/config/serve.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "port": 4321, - "initialPage": "https://localhost:5432/workbench", - "https": true, - "api": { - "port": 5432, - "entryPath": "node_modules/@microsoft/sp-webpart-workbench/lib/api/" - } -} diff --git a/samples/js-bot-framework/webpart/config/tslint.json b/samples/js-bot-framework/webpart/config/tslint.json deleted file mode 100644 index bf3362c87..000000000 --- a/samples/js-bot-framework/webpart/config/tslint.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - // Display errors as warnings - "displayAsWarning": true, - // The TSLint task may have been configured with several custom lint rules - // before this config file is read (for example lint rules from the tslint-microsoft-contrib - // project). If true, this flag will deactivate any of these rules. - "removeExistingRules": true, - // When true, the TSLint task is configured with some default TSLint "rules.": - "useDefaultConfigAsBase": false, - // Since removeExistingRules=true and useDefaultConfigAsBase=false, there will be no lint rules - // which are active, other than the list of rules below. - "lintConfig": { - // Opt-in to Lint rules which help to eliminate bugs in JavaScript - "rules": { - "class-name": false, - "export-name": false, - "forin": false, - "label-position": false, - "label-undefined": false, - "member-access": true, - "no-arg": false, - "no-console": false, - "no-construct": false, - "no-duplicate-case": true, - "no-duplicate-key": false, - "no-duplicate-variable": true, - "no-eval": false, - "no-function-expression": true, - "no-internal-module": true, - "no-shadowed-variable": true, - "no-switch-case-fall-through": true, - "no-unnecessary-semicolons": true, - "no-unused-expression": true, - "no-unused-imports": true, - "no-unused-variable": true, - "no-unreachable": true, - "no-use-before-declare": true, - "no-with-statement": true, - "semicolon": true, - "trailing-comma": false, - "typedef": false, - "typedef-whitespace": false, - "use-named-parameter": true, - "valid-typeof": true, - "variable-name": false, - "whitespace": false, - "prefer-const": true, - "a11y-role": true - } - } -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/config/write-manifests.json b/samples/js-bot-framework/webpart/config/write-manifests.json deleted file mode 100644 index 0a4bafb06..000000000 --- a/samples/js-bot-framework/webpart/config/write-manifests.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "cdnBasePath": "" -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/gulpfile.js b/samples/js-bot-framework/webpart/gulpfile.js deleted file mode 100644 index 7d36ddb1c..000000000 --- a/samples/js-bot-framework/webpart/gulpfile.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; - -const gulp = require('gulp'); -const build = require('@microsoft/sp-build-web'); - -build.initialize(gulp); diff --git a/samples/js-bot-framework/webpart/js-bot-framework-client-side-solution.njsproj b/samples/js-bot-framework/webpart/js-bot-framework-client-side-solution.njsproj deleted file mode 100644 index 2a533a764..000000000 --- a/samples/js-bot-framework/webpart/js-bot-framework-client-side-solution.njsproj +++ /dev/null @@ -1,86 +0,0 @@ - - - - Debug - 2.0 - {555d1587-8502-4cda-8d15-474c09a8ffb3} - - ProjectFiles - node_modules\gulp\bin\gulp.js - . - . - {3AF33F2E-1136-4D97-BBB7-1795711AC8B8};{349c5851-65df-11da-9384-00065b846f21};{9092AA53-FB77-4645-B42D-1CCCA6BD08BD} - true - CommonJS - false - 11.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - serve - True - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - True - 0 - / - http://localhost:48022/ - False - True - http://localhost:1337 - False - - - - - - - CurrentPage - True - False - False - False - - - - - - - - - False - False - - - - - \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/package.json b/samples/js-bot-framework/webpart/package.json deleted file mode 100644 index 66e1759ae..000000000 --- a/samples/js-bot-framework/webpart/package.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "js-bot-framework-client-side-solution", - "version": "0.0.1", - "private": true, - "engines": { - "node": ">=0.10.0" - }, - "dependencies": { - "@microsoft/sp-client-base": "~0.4.0", - "@microsoft/sp-client-preview": "~0.5.0" - }, - "devDependencies": { - "@microsoft/sp-build-web": "~0.7.0", - "@microsoft/sp-module-interfaces": "~0.4.0", - "@microsoft/sp-webpart-workbench": "~0.5.0", - "gulp": "~3.9.1" - }, - "scripts": { - "build": "gulp bundle", - "clean": "gulp nuke", - "test": "gulp test" - } -} diff --git a/samples/js-bot-framework/webpart/src/tests.js b/samples/js-bot-framework/webpart/src/tests.js deleted file mode 100644 index cb4bb5cf2..000000000 --- a/samples/js-bot-framework/webpart/src/tests.js +++ /dev/null @@ -1,5 +0,0 @@ -var context = require.context('.', true, /.+\.test\.js?$/); - -context.keys().forEach(context); - -module.exports = context; diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRider.module.scss b/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRider.module.scss deleted file mode 100644 index fc35def04..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRider.module.scss +++ /dev/null @@ -1,8 +0,0 @@ -.askSpRider { - .container { - max-width: 700px; - margin: 0px auto; - box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 25px 50px 0 rgba(0, 0, 0, 0.1); - } - -} diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRiderWebPart.manifest.json b/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRiderWebPart.manifest.json deleted file mode 100644 index 86775dbef..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRiderWebPart.manifest.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$schema": "../../../node_modules/@microsoft/sp-module-interfaces/lib/manifestSchemas/jsonSchemas/clientSideComponentManifestSchema.json", - - "id": "5a0e6592-831b-4b0c-93ea-c5c879eb6a07", - "componentType": "WebPart", - "version": "0.0.1", - "manifestVersion": 2, - - "preconfiguredEntries": [{ - "groupId": "5a0e6592-831b-4b0c-93ea-c5c879eb6a07", - "group": { "default": "Under Development" }, - "title": { "default": "Ask SP Rider" }, - "description": { "default": "Sample SharePoint Framework client-side web part illustrating Site Provisioning using Microsoft Bot Framework." }, - "officeFabricIconFontName": "Page", - "properties": { - "botname": "", - "secretkey": "" - } - }] -} diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRiderWebPart.ts b/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRiderWebPart.ts deleted file mode 100644 index ef080ac36..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/AskSpRiderWebPart.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { - BaseClientSideWebPart, - IPropertyPaneSettings, - IWebPartContext, - PropertyPaneTextField -} from '@microsoft/sp-client-preview'; - -import styles from './AskSpRider.module.scss'; -import * as strings from 'askSpRiderStrings'; -import { IAskSpRiderWebPartProps } from './IAskSpRiderWebPartProps'; - -export default class AskSpRiderWebPart extends BaseClientSideWebPart { - - public constructor(context: IWebPartContext) { - super(context); - } - - public render(): void { - this.domElement.innerHTML = ` -
-
- -
-
`; - } - - protected get propertyPaneSettings(): IPropertyPaneSettings { - return { - pages: [ - { - header: { - description: strings.PropertyPaneDescription - }, - groups: [ - { - groupName: strings.BasicGroupName, - groupFields: [ - PropertyPaneTextField('botname', { - label: strings.BotnameFieldLabel - }), - PropertyPaneTextField('secretkey', { - label: strings.SecretkeyFieldLabel - }) - ] - } - ] - } - ] - }; - } -} diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/IAskSpRiderWebPartProps.ts b/samples/js-bot-framework/webpart/src/webparts/askSpRider/IAskSpRiderWebPartProps.ts deleted file mode 100644 index 80846f1e5..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/IAskSpRiderWebPartProps.ts +++ /dev/null @@ -1,4 +0,0 @@ -export interface IAskSpRiderWebPartProps { - botname: string; - secretkey: string; -} diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/loc/en-us.js b/samples/js-bot-framework/webpart/src/webparts/askSpRider/loc/en-us.js deleted file mode 100644 index f7fefbb4e..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/loc/en-us.js +++ /dev/null @@ -1,8 +0,0 @@ -define([], function() { - return { - "PropertyPaneDescription": "Manage Configuration", - "BasicGroupName": "Embed Config", - "BotnameFieldLabel": "Enter registered bot name", - "SecretkeyFieldLabel": "Enter web chat secret key" - } -}); \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/loc/mystrings.d.ts b/samples/js-bot-framework/webpart/src/webparts/askSpRider/loc/mystrings.d.ts deleted file mode 100644 index 29eec2db0..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/loc/mystrings.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -declare interface IAskSpRiderStrings { - PropertyPaneDescription: string; - BasicGroupName: string; - BotnameFieldLabel: string; - SecretkeyFieldLabel: string; -} - -declare module 'askSpRiderStrings' { - const strings: IAskSpRiderStrings; - export = strings; -} diff --git a/samples/js-bot-framework/webpart/src/webparts/askSpRider/tests/AskSpRider.test.ts b/samples/js-bot-framework/webpart/src/webparts/askSpRider/tests/AskSpRider.test.ts deleted file mode 100644 index 3f9c01048..000000000 --- a/samples/js-bot-framework/webpart/src/webparts/askSpRider/tests/AskSpRider.test.ts +++ /dev/null @@ -1,7 +0,0 @@ -import * as assert from 'assert'; - -describe('AskSpRiderWebPart', () => { - it('should do something', () => { - assert.ok(true); - }); -}); diff --git a/samples/js-bot-framework/webpart/tsconfig.json b/samples/js-bot-framework/webpart/tsconfig.json deleted file mode 100644 index 98c8662a9..000000000 --- a/samples/js-bot-framework/webpart/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "target": "es5", - "module": "commonjs", - "jsx": "react", - "declaration": true, - "sourceMap": true - } -} diff --git a/samples/js-bot-framework/webpart/typings/@ms/odsp-webpack.d.ts b/samples/js-bot-framework/webpart/typings/@ms/odsp-webpack.d.ts deleted file mode 100644 index f2b3b03df..000000000 --- a/samples/js-bot-framework/webpart/typings/@ms/odsp-webpack.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Type definitions for webpack in Microsoft ODSP projects -// Project: ODSP-WEBPACK - -/* - * This definition of webpack require overrides all other definitions of require in our toolchain - * Make sure all other definitions of require are commented out e.g. in node.d.ts - */ -declare var require: { - (path: string): any; - (paths: string[], callback: (...modules: any[]) => void): void; - resolve: (id: string) => string; - ensure: (paths: string[], callback: (require: (path: string) => T) => void, path: string) => void; -}; \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/typings/@ms/odsp.d.ts b/samples/js-bot-framework/webpart/typings/@ms/odsp.d.ts deleted file mode 100644 index ae3334fe0..000000000 --- a/samples/js-bot-framework/webpart/typings/@ms/odsp.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// Type definitions for Microsoft ODSP projects -// Project: ODSP - -/// - -/* Global definition for DEBUG builds */ -declare const DEBUG: boolean; - -/* Global definition for UNIT_TEST builds */ -declare const UNIT_TEST: boolean; \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/typings/assertion-error/assertion-error.d.ts b/samples/js-bot-framework/webpart/typings/assertion-error/assertion-error.d.ts deleted file mode 100644 index 08217c9e5..000000000 --- a/samples/js-bot-framework/webpart/typings/assertion-error/assertion-error.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Type definitions for assertion-error 1.0.0 -// Project: https://github.com/chaijs/assertion-error -// Definitions by: Bart van der Schoor -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -declare module 'assertion-error' { - class AssertionError implements Error { - constructor(message: string, props?: any, ssf?: Function); - name: string; - message: string; - showDiff: boolean; - stack: string; - } - export = AssertionError; -} diff --git a/samples/js-bot-framework/webpart/typings/chai/chai.d.ts b/samples/js-bot-framework/webpart/typings/chai/chai.d.ts deleted file mode 100644 index da4d718e1..000000000 --- a/samples/js-bot-framework/webpart/typings/chai/chai.d.ts +++ /dev/null @@ -1,388 +0,0 @@ -// Type definitions for chai 3.2.0 -// Project: http://chaijs.com/ -// Definitions by: Jed Mao , -// Bart van der Schoor , -// Andrew Brown , -// Olivier Chevet -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -// - -declare module Chai { - - interface ChaiStatic { - expect: ExpectStatic; - should(): Should; - /** - * Provides a way to extend the internals of Chai - */ - use(fn: (chai: any, utils: any) => void): any; - assert: AssertStatic; - config: Config; - AssertionError: AssertionError; - } - - export interface ExpectStatic extends AssertionStatic { - fail(actual?: any, expected?: any, message?: string, operator?: string): void; - } - - export interface AssertStatic extends Assert { - } - - export interface AssertionStatic { - (target: any, message?: string): Assertion; - } - - interface ShouldAssertion { - equal(value1: any, value2: any, message?: string): void; - Throw: ShouldThrow; - throw: ShouldThrow; - exist(value: any, message?: string): void; - } - - interface Should extends ShouldAssertion { - not: ShouldAssertion; - fail(actual: any, expected: any, message?: string, operator?: string): void; - } - - interface ShouldThrow { - (actual: Function): void; - (actual: Function, expected: string|RegExp, message?: string): void; - (actual: Function, constructor: Error|Function, expected?: string|RegExp, message?: string): void; - } - - interface Assertion extends LanguageChains, NumericComparison, TypeComparison { - not: Assertion; - deep: Deep; - any: KeyFilter; - all: KeyFilter; - a: TypeComparison; - an: TypeComparison; - include: Include; - includes: Include; - contain: Include; - contains: Include; - ok: Assertion; - true: Assertion; - false: Assertion; - null: Assertion; - undefined: Assertion; - NaN: Assertion; - exist: Assertion; - empty: Assertion; - arguments: Assertion; - Arguments: Assertion; - equal: Equal; - equals: Equal; - eq: Equal; - eql: Equal; - eqls: Equal; - property: Property; - ownProperty: OwnProperty; - haveOwnProperty: OwnProperty; - ownPropertyDescriptor: OwnPropertyDescriptor; - haveOwnPropertyDescriptor: OwnPropertyDescriptor; - length: Length; - lengthOf: Length; - match: Match; - matches: Match; - string(string: string, message?: string): Assertion; - keys: Keys; - key(string: string): Assertion; - throw: Throw; - throws: Throw; - Throw: Throw; - respondTo: RespondTo; - respondsTo: RespondTo; - itself: Assertion; - satisfy: Satisfy; - satisfies: Satisfy; - closeTo(expected: number, delta: number, message?: string): Assertion; - members: Members; - increase: PropertyChange; - increases: PropertyChange; - decrease: PropertyChange; - decreases: PropertyChange; - change: PropertyChange; - changes: PropertyChange; - extensible: Assertion; - sealed: Assertion; - frozen: Assertion; - - } - - interface LanguageChains { - to: Assertion; - be: Assertion; - been: Assertion; - is: Assertion; - that: Assertion; - which: Assertion; - and: Assertion; - has: Assertion; - have: Assertion; - with: Assertion; - at: Assertion; - of: Assertion; - same: Assertion; - } - - interface NumericComparison { - above: NumberComparer; - gt: NumberComparer; - greaterThan: NumberComparer; - least: NumberComparer; - gte: NumberComparer; - below: NumberComparer; - lt: NumberComparer; - lessThan: NumberComparer; - most: NumberComparer; - lte: NumberComparer; - within(start: number, finish: number, message?: string): Assertion; - } - - interface NumberComparer { - (value: number, message?: string): Assertion; - } - - interface TypeComparison { - (type: string, message?: string): Assertion; - instanceof: InstanceOf; - instanceOf: InstanceOf; - } - - interface InstanceOf { - (constructor: Object, message?: string): Assertion; - } - - interface Deep { - equal: Equal; - include: Include; - property: Property; - members: Members; - } - - interface KeyFilter { - keys: Keys; - } - - interface Equal { - (value: any, message?: string): Assertion; - } - - interface Property { - (name: string, value?: any, message?: string): Assertion; - } - - interface OwnProperty { - (name: string, message?: string): Assertion; - } - - interface OwnPropertyDescriptor { - (name: string, descriptor: PropertyDescriptor, message?: string): Assertion; - (name: string, message?: string): Assertion; - } - - interface Length extends LanguageChains, NumericComparison { - (length: number, message?: string): Assertion; - } - - interface Include { - (value: Object, message?: string): Assertion; - (value: string, message?: string): Assertion; - (value: number, message?: string): Assertion; - keys: Keys; - members: Members; - any: KeyFilter; - all: KeyFilter; - } - - interface Match { - (regexp: RegExp|string, message?: string): Assertion; - } - - interface Keys { - (...keys: string[]): Assertion; - (keys: any[]): Assertion; - (keys: Object): Assertion; - } - - interface Throw { - (): Assertion; - (expected: string, message?: string): Assertion; - (expected: RegExp, message?: string): Assertion; - (constructor: Error, expected?: string, message?: string): Assertion; - (constructor: Error, expected?: RegExp, message?: string): Assertion; - (constructor: Function, expected?: string, message?: string): Assertion; - (constructor: Function, expected?: RegExp, message?: string): Assertion; - } - - interface RespondTo { - (method: string, message?: string): Assertion; - } - - interface Satisfy { - (matcher: Function, message?: string): Assertion; - } - - interface Members { - (set: any[], message?: string): Assertion; - } - - interface PropertyChange { - (object: Object, prop: string, msg?: string): Assertion; - } - - export interface Assert { - /** - * @param expression Expression to test for truthiness. - * @param message Message to display on error. - */ - (expression: any, message?: string): void; - - fail(actual?: any, expected?: any, msg?: string, operator?: string): void; - - ok(val: any, msg?: string): void; - isOk(val: any, msg?: string): void; - notOk(val: any, msg?: string): void; - isNotOk(val: any, msg?: string): void; - - equal(act: any, exp: any, msg?: string): void; - notEqual(act: any, exp: any, msg?: string): void; - - strictEqual(act: any, exp: any, msg?: string): void; - notStrictEqual(act: any, exp: any, msg?: string): void; - - deepEqual(act: any, exp: any, msg?: string): void; - notDeepEqual(act: any, exp: any, msg?: string): void; - - isTrue(val: any, msg?: string): void; - isFalse(val: any, msg?: string): void; - - isNull(val: any, msg?: string): void; - isNotNull(val: any, msg?: string): void; - - isUndefined(val: any, msg?: string): void; - isDefined(val: any, msg?: string): void; - - isNaN(val: any, msg?: string): void; - isNotNaN(val: any, msg?: string): void; - - isAbove(val: number, abv: number, msg?: string): void; - isBelow(val: number, blw: number, msg?: string): void; - - isFunction(val: any, msg?: string): void; - isNotFunction(val: any, msg?: string): void; - - isObject(val: any, msg?: string): void; - isNotObject(val: any, msg?: string): void; - - isArray(val: any, msg?: string): void; - isNotArray(val: any, msg?: string): void; - - isString(val: any, msg?: string): void; - isNotString(val: any, msg?: string): void; - - isNumber(val: any, msg?: string): void; - isNotNumber(val: any, msg?: string): void; - - isBoolean(val: any, msg?: string): void; - isNotBoolean(val: any, msg?: string): void; - - typeOf(val: any, type: string, msg?: string): void; - notTypeOf(val: any, type: string, msg?: string): void; - - instanceOf(val: any, type: Function, msg?: string): void; - notInstanceOf(val: any, type: Function, msg?: string): void; - - include(exp: string, inc: any, msg?: string): void; - include(exp: any[], inc: any, msg?: string): void; - - notInclude(exp: string, inc: any, msg?: string): void; - notInclude(exp: any[], inc: any, msg?: string): void; - - match(exp: any, re: RegExp, msg?: string): void; - notMatch(exp: any, re: RegExp, msg?: string): void; - - property(obj: Object, prop: string, msg?: string): void; - notProperty(obj: Object, prop: string, msg?: string): void; - deepProperty(obj: Object, prop: string, msg?: string): void; - notDeepProperty(obj: Object, prop: string, msg?: string): void; - - propertyVal(obj: Object, prop: string, val: any, msg?: string): void; - propertyNotVal(obj: Object, prop: string, val: any, msg?: string): void; - - deepPropertyVal(obj: Object, prop: string, val: any, msg?: string): void; - deepPropertyNotVal(obj: Object, prop: string, val: any, msg?: string): void; - - lengthOf(exp: any, len: number, msg?: string): void; - //alias frenzy - throw(fn: Function, msg?: string): void; - throw(fn: Function, regExp: RegExp): void; - throw(fn: Function, errType: Function, msg?: string): void; - throw(fn: Function, errType: Function, regExp: RegExp): void; - - throws(fn: Function, msg?: string): void; - throws(fn: Function, regExp: RegExp): void; - throws(fn: Function, errType: Function, msg?: string): void; - throws(fn: Function, errType: Function, regExp: RegExp): void; - - Throw(fn: Function, msg?: string): void; - Throw(fn: Function, regExp: RegExp): void; - Throw(fn: Function, errType: Function, msg?: string): void; - Throw(fn: Function, errType: Function, regExp: RegExp): void; - - doesNotThrow(fn: Function, msg?: string): void; - doesNotThrow(fn: Function, regExp: RegExp): void; - doesNotThrow(fn: Function, errType: Function, msg?: string): void; - doesNotThrow(fn: Function, errType: Function, regExp: RegExp): void; - - operator(val: any, operator: string, val2: any, msg?: string): void; - closeTo(act: number, exp: number, delta: number, msg?: string): void; - - sameMembers(set1: any[], set2: any[], msg?: string): void; - sameDeepMembers(set1: any[], set2: any[], msg?: string): void; - includeMembers(superset: any[], subset: any[], msg?: string): void; - - ifError(val: any, msg?: string): void; - - isExtensible(obj: {}, msg?: string): void; - extensible(obj: {}, msg?: string): void; - isNotExtensible(obj: {}, msg?: string): void; - notExtensible(obj: {}, msg?: string): void; - - isSealed(obj: {}, msg?: string): void; - sealed(obj: {}, msg?: string): void; - isNotSealed(obj: {}, msg?: string): void; - notSealed(obj: {}, msg?: string): void; - - isFrozen(obj: Object, msg?: string): void; - frozen(obj: Object, msg?: string): void; - isNotFrozen(obj: Object, msg?: string): void; - notFrozen(obj: Object, msg?: string): void; - - - } - - export interface Config { - includeStack: boolean; - } - - export class AssertionError { - constructor(message: string, _props?: any, ssf?: Function); - name: string; - message: string; - showDiff: boolean; - stack: string; - } -} - -declare var chai: Chai.ChaiStatic; - -declare module "chai" { - export = chai; -} - -interface Object { - should: Chai.Assertion; -} diff --git a/samples/js-bot-framework/webpart/typings/combokeys/combokeys.d.ts b/samples/js-bot-framework/webpart/typings/combokeys/combokeys.d.ts deleted file mode 100644 index f7e1e5b03..000000000 --- a/samples/js-bot-framework/webpart/typings/combokeys/combokeys.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -// Type definitions for Combokeys v2.4.6 -// Project: https://github.com/PolicyStat/combokeys -// Definitions by: Ian Clanton-Thuon -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -declare namespace Combokeys { - interface CombokeysStatic { - new (element: Element): Combokeys; - - /** - * all instances of Combokeys - */ - instances: Combokeys[]; - - /** - * reset all instances - */ - reset(): void; - } - - interface Combokeys { - element: Element; - - /** - * binds an event to Combokeys - * - * can be a single key, a combination of keys separated with +, - * an array of keys, or a sequence of keys separated by spaces - * - * be sure to list the modifier keys first to make sure that the - * correct key ends up getting bound (the last key in the pattern) - * - * @param {keys} key combination or combinations - * @param {callback} callback function - * @param {handler} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - bind(keys: string | string[], callback: () => void, action?: string): void; - - - /** - * binds multiple combinations to the same callback - * - * @param {keys} key combinations - * @param {callback} callback function - * @param {handler} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - bindMultiple(keys: string[], callback: () => void, action?: string): void; - - /** - * unbinds an event to Combokeys - * - * the unbinding sets the callback function of the specified key combo - * to an empty function and deletes the corresponding key in the - * directMap dict. - * - * the keycombo+action has to be exactly the same as - * it was defined in the bind method - * - * @param {keys} key combination or combinations - * @param {action} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - unbind(keys: string | string[], action?: string): void; - - /** - * triggers an event that has already been bound - * - * @param {keys} key combination - * @param {action} optional - one of "keypress", "keydown", or "keyup" - * @returns void - */ - trigger(keys: string, action?: string): void; - - /** - * resets the library back to its initial state. This is useful - * if you want to clear out the current keyboard shortcuts and bind - * new ones - for example if you switch to another page - * - * @returns void - */ - reset(): void; - - /** - * should we stop this event before firing off callbacks - * - * @param {e} event - * @param {element} bound element - * @return {boolean} - */ - stopCallback(e: Event, element: Element): boolean; - - /** - * detach all listners from the bound element - * - * @return {void} - */ - detach(): void; - } -} - -declare var combokeys: Combokeys.CombokeysStatic; - -declare module "combokeys" { - export = combokeys; -} diff --git a/samples/js-bot-framework/webpart/typings/es6-collections/es6-collections.d.ts b/samples/js-bot-framework/webpart/typings/es6-collections/es6-collections.d.ts deleted file mode 100644 index bc39df295..000000000 --- a/samples/js-bot-framework/webpart/typings/es6-collections/es6-collections.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -// Type definitions for es6-collections v0.5.1 -// Project: https://github.com/WebReflection/es6-collections/ -// Definitions by: Ron Buckton -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/* ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ - -interface IteratorResult { - done: boolean; - value?: T; -} - -interface Iterator { - next(value?: any): IteratorResult; - return?(value?: any): IteratorResult; - throw?(e?: any): IteratorResult; -} - -interface ForEachable { - forEach(callbackfn: (value: T) => void): void; -} - -interface Map { - clear(): void; - delete(key: K): boolean; - forEach(callbackfn: (value: V, index: K, map: Map) => void, thisArg?: any): void; - get(key: K): V; - has(key: K): boolean; - set(key: K, value?: V): Map; - entries(): Iterator<[K, V]>; - keys(): Iterator; - values(): Iterator; - size: number; -} - -interface MapConstructor { - new (): Map; - new (iterable: ForEachable<[K, V]>): Map; - prototype: Map; -} - -declare var Map: MapConstructor; - -interface Set { - add(value: T): Set; - clear(): void; - delete(value: T): boolean; - forEach(callbackfn: (value: T, index: T, set: Set) => void, thisArg?: any): void; - has(value: T): boolean; - entries(): Iterator<[T, T]>; - keys(): Iterator; - values(): Iterator; - size: number; -} - -interface SetConstructor { - new (): Set; - new (iterable: ForEachable): Set; - prototype: Set; -} - -declare var Set: SetConstructor; - -interface WeakMap { - delete(key: K): boolean; - clear(): void; - get(key: K): V; - has(key: K): boolean; - set(key: K, value?: V): WeakMap; -} - -interface WeakMapConstructor { - new (): WeakMap; - new (iterable: ForEachable<[K, V]>): WeakMap; - prototype: WeakMap; -} - -declare var WeakMap: WeakMapConstructor; - -interface WeakSet { - delete(value: T): boolean; - clear(): void; - add(value: T): WeakSet; - has(value: T): boolean; -} - -interface WeakSetConstructor { - new (): WeakSet; - new (iterable: ForEachable): WeakSet; - prototype: WeakSet; -} - -declare var WeakSet: WeakSetConstructor; - -declare module "es6-collections" { - var Map: MapConstructor; - var Set: SetConstructor; - var WeakMap: WeakMapConstructor; - var WeakSet: WeakSetConstructor; -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/typings/es6-promise/es6-promise.d.ts b/samples/js-bot-framework/webpart/typings/es6-promise/es6-promise.d.ts deleted file mode 100644 index a8f8d7845..000000000 --- a/samples/js-bot-framework/webpart/typings/es6-promise/es6-promise.d.ts +++ /dev/null @@ -1,74 +0,0 @@ -// Type definitions for es6-promise -// Project: https://github.com/jakearchibald/ES6-Promise -// Definitions by: François de Campredon , vvakame -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -interface Thenable { - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => U | Thenable): Thenable; - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => void): Thenable; - catch(onRejected?: (error: any) => U | Thenable): Thenable; -} - -declare class Promise implements Thenable { - /** - * If you call resolve in the body of the callback passed to the constructor, - * your promise is fulfilled with result object passed to resolve. - * If you call reject your promise is rejected with the object passed to reject. - * For consistency and debugging (eg stack traces), obj should be an instanceof Error. - * Any errors thrown in the constructor callback will be implicitly passed to reject(). - */ - constructor(callback: (resolve : (value?: R | Thenable) => void, reject: (error?: any) => void) => void); - - /** - * onFulfilled is called when/if "promise" resolves. onRejected is called when/if "promise" rejects. - * Both are optional, if either/both are omitted the next onFulfilled/onRejected in the chain is called. - * Both callbacks have a single parameter , the fulfillment value or rejection reason. - * "then" returns a new promise equivalent to the value you return from onFulfilled/onRejected after being passed through Promise.resolve. - * If an error is thrown in the callback, the returned promise rejects with that error. - * - * @param onFulfilled called when/if "promise" resolves - * @param onRejected called when/if "promise" rejects - */ - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => U | Thenable): Promise; - then(onFulfilled?: (value: R) => U | Thenable, onRejected?: (error: any) => void): Promise; - - /** - * Sugar for promise.then(undefined, onRejected) - * - * @param onRejected called when/if "promise" rejects - */ - catch(onRejected?: (error: any) => U | Thenable): Promise; -} - -declare module Promise { - /** - * Make a new promise from the thenable. - * A thenable is promise-like in as far as it has a "then" method. - */ - function resolve(value?: R | Thenable): Promise; - - /** - * Make a promise that rejects to obj. For consistency and debugging (eg stack traces), obj should be an instanceof Error - */ - function reject(error: any): Promise; - - /** - * Make a promise that fulfills when every item in the array fulfills, and rejects if (and when) any item rejects. - * the array passed to all can be a mixture of promise-like objects and other objects. - * The fulfillment value is an array (in order) of fulfillment values. The rejection value is the first rejection value. - */ - function all(promises: (R | Thenable)[]): Promise; - - /** - * Make a Promise that fulfills when any item fulfills, and rejects if any item rejects. - */ - function race(promises: (R | Thenable)[]): Promise; -} - -declare module 'es6-promise' { - var foo: typeof Promise; // Temp variable to reference Promise in local context - module rsvp { - export var Promise: typeof foo; - } - export = rsvp; -} diff --git a/samples/js-bot-framework/webpart/typings/knockout/knockout.d.ts b/samples/js-bot-framework/webpart/typings/knockout/knockout.d.ts deleted file mode 100644 index 267f3174c..000000000 --- a/samples/js-bot-framework/webpart/typings/knockout/knockout.d.ts +++ /dev/null @@ -1,631 +0,0 @@ -// Type definitions for Knockout v3.2.0 -// Project: http://knockoutjs.com -// Definitions by: Boris Yankov , Igor Oleinikov , Clément Bourgeois -// Definitions: https://github.com/borisyankov/DefinitelyTyped - - -interface KnockoutSubscribableFunctions { - [key: string]: KnockoutBindingHandler; - - notifySubscribers(valueToWrite?: T, event?: string): void; -} - -interface KnockoutComputedFunctions { - [key: string]: KnockoutBindingHandler; -} - -interface KnockoutObservableFunctions { - [key: string]: KnockoutBindingHandler; - - equalityComparer(a: any, b: any): boolean; -} - -interface KnockoutObservableArrayFunctions { - // General Array functions - indexOf(searchElement: T, fromIndex?: number): number; - slice(start: number, end?: number): T[]; - splice(start: number): T[]; - splice(start: number, deleteCount: number, ...items: T[]): T[]; - pop(): T; - push(...items: T[]): void; - shift(): T; - unshift(...items: T[]): number; - reverse(): KnockoutObservableArray; - sort(): KnockoutObservableArray; - sort(compareFunction: (left: T, right: T) => number): KnockoutObservableArray; - - // Ko specific - [key: string]: KnockoutBindingHandler; - - replace(oldItem: T, newItem: T): void; - - remove(item: T): T[]; - remove(removeFunction: (item: T) => boolean): T[]; - removeAll(items: T[]): T[]; - removeAll(): T[]; - - destroy(item: T): void; - destroy(destroyFunction: (item: T) => boolean): void; - destroyAll(items: T[]): void; - destroyAll(): void; -} - -interface KnockoutSubscribableStatic { - fn: KnockoutSubscribableFunctions; - - new (): KnockoutSubscribable; -} - -interface KnockoutSubscription { - dispose(): void; -} - -interface KnockoutSubscribable extends KnockoutSubscribableFunctions { - subscribe(callback: (newValue: T) => void, target?: any, event?: string): KnockoutSubscription; - subscribe(callback: (newValue: TEvent) => void, target: any, event: string): KnockoutSubscription; - extend(requestedExtenders: { [key: string]: any; }): KnockoutSubscribable; - getSubscriptionsCount(): number; -} - -interface KnockoutComputedStatic { - fn: KnockoutComputedFunctions; - - (): KnockoutComputed; - (func: () => T, context?: any, options?: any): KnockoutComputed; - (def: KnockoutComputedDefine, context?: any): KnockoutComputed; -} - -interface KnockoutComputed extends KnockoutObservable, KnockoutComputedFunctions { - fn: KnockoutComputedFunctions; - - dispose(): void; - isActive(): boolean; - getDependenciesCount(): number; - extend(requestedExtenders: { [key: string]: any; }): KnockoutComputed; -} - -interface KnockoutObservableArrayStatic { - fn: KnockoutObservableArrayFunctions; - - (value?: T[]): KnockoutObservableArray; -} - -interface KnockoutObservableArray extends KnockoutObservable, KnockoutObservableArrayFunctions { - extend(requestedExtenders: { [key: string]: any; }): KnockoutObservableArray; -} - -interface KnockoutObservableStatic { - fn: KnockoutObservableFunctions; - - (value?: T): KnockoutObservable; -} - -interface KnockoutObservable extends KnockoutSubscribable, KnockoutObservableFunctions { - (): T; - (value: T): void; - - peek(): T; - valueHasMutated?:{(): void;}; - valueWillMutate?:{(): void;}; - extend(requestedExtenders: { [key: string]: any; }): KnockoutObservable; -} - -interface KnockoutComputedDefine { - read(): T; - write? (value: T): void; - disposeWhenNodeIsRemoved?: Node; - disposeWhen? (): boolean; - owner?: any; - deferEvaluation?: boolean; - pure?: boolean; -} - -interface KnockoutBindingContext { - $parent: any; - $parents: any[]; - $root: any; - $data: any; - $rawData: any | KnockoutObservable; - $index?: KnockoutObservable; - $parentContext?: KnockoutBindingContext; - $component: any; - $componentTemplateNodes: Node[]; - - extend(properties: any): any; - createChildContext(dataItemOrAccessor: any, dataItemAlias?: any, extendCallback?: Function): any; -} - -interface KnockoutAllBindingsAccessor { - (): any; - get(name: string): any; - has(name: string): boolean; -} - -interface KnockoutBindingHandler { - after?: Array; - init?: (element: any, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext) => void | { controlsDescendantBindings: boolean; }; - update?: (element: any, valueAccessor: () => any, allBindingsAccessor?: KnockoutAllBindingsAccessor, viewModel?: any, bindingContext?: KnockoutBindingContext) => void; - options?: any; - preprocess?: (value: string, name: string, addBindingCallback?: (name: string, value: string) => void) => string; -} - -interface KnockoutBindingHandlers { - [bindingHandler: string]: KnockoutBindingHandler; - - // Controlling text and appearance - visible: KnockoutBindingHandler; - text: KnockoutBindingHandler; - html: KnockoutBindingHandler; - css: KnockoutBindingHandler; - style: KnockoutBindingHandler; - attr: KnockoutBindingHandler; - - // Control Flow - foreach: KnockoutBindingHandler; - if: KnockoutBindingHandler; - ifnot: KnockoutBindingHandler; - with: KnockoutBindingHandler; - - // Working with form fields - click: KnockoutBindingHandler; - event: KnockoutBindingHandler; - submit: KnockoutBindingHandler; - enable: KnockoutBindingHandler; - disable: KnockoutBindingHandler; - value: KnockoutBindingHandler; - textInput: KnockoutBindingHandler; - hasfocus: KnockoutBindingHandler; - checked: KnockoutBindingHandler; - options: KnockoutBindingHandler; - selectedOptions: KnockoutBindingHandler; - uniqueName: KnockoutBindingHandler; - - // Rendering templates - template: KnockoutBindingHandler; - - // Components (new for v3.2) - component: KnockoutBindingHandler; -} - -interface KnockoutMemoization { - memoize(callback: () => string): string; - unmemoize(memoId: string, callbackParams: any[]): boolean; - unmemoizeDomNodeAndDescendants(domNode: any, extraCallbackParamsArray: any[]): boolean; - parseMemoText(memoText: string): string; -} - -interface KnockoutVirtualElement {} - -interface KnockoutVirtualElements { - allowedBindings: { [bindingName: string]: boolean; }; - emptyNode(node: KnockoutVirtualElement ): void; - firstChild(node: KnockoutVirtualElement ): KnockoutVirtualElement; - insertAfter( container: KnockoutVirtualElement, nodeToInsert: Node, insertAfter: Node ): void; - nextSibling(node: KnockoutVirtualElement): Node; - prepend(node: KnockoutVirtualElement, toInsert: Node ): void; - setDomNodeChildren(node: KnockoutVirtualElement, newChildren: { length: number;[index: number]: Node; } ): void; - childNodes(node: KnockoutVirtualElement ): Node[]; -} - -interface KnockoutExtenders { - throttle(target: any, timeout: number): KnockoutComputed; - notify(target: any, notifyWhen: string): any; - - rateLimit(target: any, timeout: number): any; - rateLimit(target: any, options: { timeout: number; method?: string; }): any; - - trackArrayChanges(target: any): any; -} - -// -// NOTE TO MAINTAINERS AND CONTRIBUTORS : pay attention to only include symbols that are -// publicly exported in the minified version of ko, without that you can give the false -// impression that some functions will be available in production builds. -// -interface KnockoutUtils { - ////////////////////////////////// - // utils.domData.js - ////////////////////////////////// - - domData: { - get (node: Element, key: string): any; - - set (node: Element, key: string, value: any): void; - - getAll(node: Element, createIfNotFound: boolean): any; - - clear(node: Element): boolean; - }; - - ////////////////////////////////// - // utils.domNodeDisposal.js - ////////////////////////////////// - - domNodeDisposal: { - addDisposeCallback(node: Element, callback: Function): void; - - removeDisposeCallback(node: Element, callback: Function): void; - - cleanNode(node: Node): Element; - - removeNode(node: Node): void; - }; - - addOrRemoveItem(array: T[] | KnockoutObservable, value: T, included: T): void; - - arrayFilter(array: T[], predicate: (item: T) => boolean): T[]; - - arrayFirst(array: T[], predicate: (item: T) => boolean, predicateOwner?: any): T; - - arrayForEach(array: T[], action: (item: T, index: number) => void): void; - - arrayGetDistinctValues(array: T[]): T[]; - - arrayIndexOf(array: T[], item: T): number; - - arrayMap(array: T[], mapping: (item: T) => U): U[]; - - arrayPushAll(array: T[] | KnockoutObservableArray, valuesToPush: T[]): T[]; - - arrayRemoveItem(array: any[], itemToRemove: any): void; - - compareArrays(a: T[], b: T[]): Array>; - - extend(target: Object, source: Object): Object; - - fieldsIncludedWithJsonPost: any[]; - - getFormFields(form: any, fieldName: string): any[]; - - objectForEach(obj: any, action: (key: any, value: any) => void): void; - - parseHtmlFragment(html: string): any[]; - - parseJson(jsonString: string): any; - - postJson(urlOrForm: any, data: any, options: any): void; - - peekObservable(value: KnockoutObservable): T; - - range(min: any, max: any): any; - - registerEventHandler(element: any, eventType: any, handler: Function): void; - - setHtml(node: Element, html: () => string): void; - - setHtml(node: Element, html: string): void; - - setTextContent(element: any, textContent: string | KnockoutObservable): void; - - stringifyJson(data: any, replacer?: Function, space?: string): string; - - toggleDomNodeCssClass(node: any, className: string, shouldHaveClass: boolean): void; - - triggerEvent(element: any, eventType: any): void; - - unwrapObservable(value: KnockoutObservable | T): T; - - // NOT PART OF THE MINIFIED API SURFACE (ONLY IN knockout-{version}.debug.js) https://github.com/SteveSanderson/knockout/issues/670 - // forceRefresh(node: any): void; - // ieVersion: number; - // isIe6: boolean; - // isIe7: boolean; - // jQueryHtmlParse(html: string): any[]; - // makeArray(arrayLikeObject: any): any[]; - // moveCleanedNodesToContainerElement(nodes: any[]): HTMLElement; - // replaceDomNodes(nodeToReplaceOrNodeArray: any, newNodesArray: any[]): void; - // setDomNodeChildren(domNode: any, childNodes: any[]): void; - // setElementName(element: any, name: string): void; - // setOptionNodeSelectionState(optionNode: any, isSelected: boolean): void; - // simpleHtmlParse(html: string): any[]; - // stringStartsWith(str: string, startsWith: string): boolean; - // stringTokenize(str: string, delimiter: string): string[]; - // stringTrim(str: string): string; - // tagNameLower(element: any): string; -} - -interface KnockoutArrayChange { - status: string; - value: T; - index: number; - moved?: number; -} - -////////////////////////////////// -// templateSources.js -////////////////////////////////// - -interface KnockoutTemplateSourcesDomElement { - text(): any; - text(value: any): void; - - data(key: string): any; - data(key: string, value: any): any; -} - -interface KnockoutTemplateAnonymous extends KnockoutTemplateSourcesDomElement { - nodes(): any; - nodes(value: any): void; -} - -interface KnockoutTemplateSources { - - domElement: { - prototype: KnockoutTemplateSourcesDomElement - new (element: Element): KnockoutTemplateSourcesDomElement - }; - - anonymousTemplate: { - prototype: KnockoutTemplateAnonymous; - new (element: Element): KnockoutTemplateAnonymous; - }; -} - -////////////////////////////////// -// nativeTemplateEngine.js -////////////////////////////////// - -interface KnockoutNativeTemplateEngine { - - renderTemplateSource(templateSource: Object, bindingContext?: KnockoutBindingContext, options?: Object): any[]; -} - -////////////////////////////////// -// templateEngine.js -////////////////////////////////// - -interface KnockoutTemplateEngine extends KnockoutNativeTemplateEngine { - - createJavaScriptEvaluatorBlock(script: string): string; - - makeTemplateSource(template: any, templateDocument?: Document): any; - - renderTemplate(template: any, bindingContext: KnockoutBindingContext, options: Object, templateDocument: Document): any; - - isTemplateRewritten(template: any, templateDocument: Document): boolean; - - rewriteTemplate(template: any, rewriterCallback: Function, templateDocument: Document): void; -} - -///////////////////////////////// - -interface KnockoutStatic { - utils: KnockoutUtils; - memoization: KnockoutMemoization; - - bindingHandlers: KnockoutBindingHandlers; - getBindingHandler(handler: string): KnockoutBindingHandler; - - virtualElements: KnockoutVirtualElements; - extenders: KnockoutExtenders; - - applyBindings(viewModelOrBindingContext?: any, rootNode?: any): void; - applyBindingsToDescendants(viewModelOrBindingContext: any, rootNode: any): void; - applyBindingAccessorsToNode(node: Node, bindings: (bindingContext: KnockoutBindingContext, node: Node) => {}, bindingContext: KnockoutBindingContext): void; - applyBindingAccessorsToNode(node: Node, bindings: {}, bindingContext: KnockoutBindingContext): void; - applyBindingAccessorsToNode(node: Node, bindings: (bindingContext: KnockoutBindingContext, node: Node) => {}, viewModel: any): void; - applyBindingAccessorsToNode(node: Node, bindings: {}, viewModel: any): void; - applyBindingsToNode(node: Node, bindings: any, viewModelOrBindingContext?: any): any; - - subscribable: KnockoutSubscribableStatic; - observable: KnockoutObservableStatic; - - computed: KnockoutComputedStatic; - pureComputed(evaluatorFunction: () => T, context?: any): KnockoutComputed; - pureComputed(options: KnockoutComputedDefine, context?: any): KnockoutComputed; - - observableArray: KnockoutObservableArrayStatic; - - contextFor(node: any): any; - isSubscribable(instance: any): boolean; - toJSON(viewModel: any, replacer?: Function, space?: any): string; - toJS(viewModel: any): any; - isObservable(instance: any): boolean; - isWriteableObservable(instance: any): boolean; - isComputed(instance: any): boolean; - dataFor(node: any): any; - removeNode(node: Element): void; - cleanNode(node: Element): Element; - renderTemplate(template: Function, viewModel: any, options?: any, target?: any, renderMode?: any): any; - renderTemplate(template: string, viewModel: any, options?: any, target?: any, renderMode?: any): any; - unwrap(value: KnockoutObservable | T): T; - - computedContext: KnockoutComputedContext; - - ////////////////////////////////// - // templateSources.js - ////////////////////////////////// - - templateSources: KnockoutTemplateSources; - - ////////////////////////////////// - // templateEngine.js - ////////////////////////////////// - - templateEngine: { - - prototype: KnockoutTemplateEngine; - - new (): KnockoutTemplateEngine; - }; - - ////////////////////////////////// - // templateRewriting.js - ////////////////////////////////// - - templateRewriting: { - - ensureTemplateIsRewritten(template: Node, templateEngine: KnockoutTemplateEngine, templateDocument: Document): any; - ensureTemplateIsRewritten(template: string, templateEngine: KnockoutTemplateEngine, templateDocument: Document): any; - - memoizeBindingAttributeSyntax(htmlString: string, templateEngine: KnockoutTemplateEngine): any; - - applyMemoizedBindingsToNextSibling(bindings: any, nodeName: string): string; - }; - - ////////////////////////////////// - // nativeTemplateEngine.js - ////////////////////////////////// - - nativeTemplateEngine: { - - prototype: KnockoutNativeTemplateEngine; - - new (): KnockoutNativeTemplateEngine; - - instance: KnockoutNativeTemplateEngine; - }; - - ////////////////////////////////// - // jqueryTmplTemplateEngine.js - ////////////////////////////////// - - jqueryTmplTemplateEngine: { - - prototype: KnockoutTemplateEngine; - - renderTemplateSource(templateSource: Object, bindingContext: KnockoutBindingContext, options: Object): Node[]; - - createJavaScriptEvaluatorBlock(script: string): string; - - addTemplate(templateName: string, templateMarkup: string): void; - }; - - ////////////////////////////////// - // templating.js - ////////////////////////////////// - - setTemplateEngine(templateEngine: KnockoutNativeTemplateEngine): void; - - renderTemplate(template: Function, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: Function, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node, renderMode: string): any; - renderTemplate(template: Function, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: KnockoutBindingContext, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - renderTemplate(template: Function, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - renderTemplate(template: any, dataOrBindingContext: any, options: Object, targetNodeOrNodeArray: Node[], renderMode: string): any; - - renderTemplateForEach(template: Function, arrayOrObservableArray: any[], options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - renderTemplateForEach(template: any, arrayOrObservableArray: any[], options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - renderTemplateForEach(template: Function, arrayOrObservableArray: KnockoutObservable, options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - renderTemplateForEach(template: any, arrayOrObservableArray: KnockoutObservable, options: Object, targetNode: Node, parentBindingContext: KnockoutBindingContext): any; - - expressionRewriting: { - bindingRewriteValidators: any; - parseObjectLiteral: { (objectLiteralString: string): any[] } - }; - - ///////////////////////////////// - - bindingProvider: { - instance: KnockoutBindingProvider; - new (): KnockoutBindingProvider; - } - - ///////////////////////////////// - // selectExtensions.js - ///////////////////////////////// - - selectExtensions: { - - readValue(element: HTMLElement): any; - - writeValue(element: HTMLElement, value: any): void; - }; - - components: KnockoutComponents; -} - -interface KnockoutBindingProvider { - nodeHasBindings(node: Node): boolean; - getBindings(node: Node, bindingContext: KnockoutBindingContext): {}; - getBindingAccessors?(node: Node, bindingContext: KnockoutBindingContext): { [key: string]: string; }; -} - -interface KnockoutComputedContext { - getDependenciesCount(): number; - isInitial: () => boolean; - isSleeping: boolean; -} - -// -// refactored types into a namespace to reduce global pollution -// and used Union Types to simplify overloads (requires TypeScript 1.4) -// -declare module KnockoutComponentTypes { - - interface Config { - viewModel?: ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule; - template: string | Node[]| DocumentFragment | TemplateElement | AMDModule; - synchronous?: boolean; - } - - interface ComponentConfig { - viewModel?: ViewModelFunction | ViewModelSharedInstance | ViewModelFactoryFunction | AMDModule; - template: any; - createViewModel?: any; - } - - interface EmptyConfig { - } - - // common AMD type - interface AMDModule { - require: string; - } - - // viewmodel types - interface ViewModelFunction { - (params?: any): any; - } - - interface ViewModelSharedInstance { - instance: any; - } - - interface ViewModelFactoryFunction { - createViewModel: (params?: any, componentInfo?: ComponentInfo) => any; - } - - interface ComponentInfo { - element: Node; - templateNodes: Node[]; - } - - interface TemplateElement { - element: string | Node; - } - - interface Loader { - getConfig? (componentName: string, callback: (result: ComponentConfig) => void): void; - loadComponent? (componentName: string, config: ComponentConfig, callback: (result: Definition) => void): void; - loadTemplate? (componentName: string, templateConfig: any, callback: (result: Node[]) => void): void; - loadViewModel? (componentName: string, viewModelConfig: any, callback: (result: any) => void): void; - suppressLoaderExceptions?: boolean; - } - - interface Definition { - template: Node[]; - createViewModel? (params: any, options: { element: Node; }): any; - } -} - -interface KnockoutComponents { - // overloads for register method: - register(componentName: string, config: KnockoutComponentTypes.Config | KnockoutComponentTypes.EmptyConfig): void; - - isRegistered(componentName: string): boolean; - unregister(componentName: string): void; - get(componentName: string, callback: (definition: KnockoutComponentTypes.Definition) => void): void; - clearCachedDefinition(componentName: string): void - defaultLoader: KnockoutComponentTypes.Loader; - loaders: KnockoutComponentTypes.Loader[]; - getComponentNameForNode(node: Node): string; -} - -declare var ko: KnockoutStatic; - -declare module "knockout" { - export = ko; -} diff --git a/samples/js-bot-framework/webpart/typings/lodash/lodash.d.ts b/samples/js-bot-framework/webpart/typings/lodash/lodash.d.ts deleted file mode 100644 index 1e39d223f..000000000 --- a/samples/js-bot-framework/webpart/typings/lodash/lodash.d.ts +++ /dev/null @@ -1,20808 +0,0 @@ -// Type definitions for Lo-Dash -// Project: http://lodash.com/ -// Definitions by: Brian Zengel , Ilya Mochalov , Stepan Mikhaylyuk -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - - -/** -### 4.0.0 Changelog (https://github.com/lodash/lodash/wiki/Changelog) - -#### TODO: -removed: -- [x] Removed _.support -- [x] Removed _.findWhere in favor of _.find with iteratee shorthand -- [x] Removed _.where in favor of _.filter with iteratee shorthand -- [x] Removed _.pluck in favor of _.map with iteratee shorthand - -renamed: -- [x] Renamed _.first to _.head -- [x] Renamed _.indexBy to _.keyBy -- [x] Renamed _.invoke to _.invokeMap -- [x] Renamed _.overArgs to _.overArgs -- [x] Renamed _.padLeft & _.padRight to _.padStart & _.padEnd -- [x] Renamed _.pairs to _.toPairs -- [x] Renamed _.rest to _.tail -- [x] Renamed _.restParam to _.rest -- [x] Renamed _.sortByOrder to _.orderBy -- [x] Renamed _.trimLeft & _.trimRight to _.trimStart & _.trimEnd -- [x] Renamed _.trunc to _.truncate - -split: -- [x] Split _.indexOf & _.lastIndexOf into _.sortedIndexOf & _.sortedLastIndexOf -- [x] Split _.max & _.min into _.maxBy & _.minBy -- [x] Split _.omit & _.pick into _.omitBy & _.pickBy -- [x] Split _.sample into _.sampleSize -- [x] Split _.sortedIndex into _.sortedIndexBy -- [x] Split _.sortedLastIndex into _.sortedLastIndexBy -- [x] Split _.uniq into _.sortedUniq, _.sortedUniqBy, & _.uniqBy - -changes: -- [x] Absorbed _.sortByAll into _.sortBy -- [x] Changed the category of _.at to “Object” -- [x] Changed the category of _.bindAll to “Utility” -- [x] Made _.capitalize uppercase the first character & lowercase the rest -- [x] Made _.functions return only own method names - - -added 23 array methods: -- [x] _.concat -- [x] _.differenceBy -- [x] _.differenceWith -- [x] _.flatMap -- [x] _.fromPairs -- [x] _.intersectionBy -- [x] _.intersectionWith -- [x] _.join -- [x] _.pullAll -- [x] _.pullAllBy -- [x] _.reverse -- [x] _.sortedIndexBy -- [x] _.sortedIndexOf -- [x] _.sortedLastIndexBy -- [x] _.sortedLastIndexOf -- [x] _.sortedUniq -- [x] _.sortedUniqBy -- [x] _.unionBy -- [x] _.unionWith -- [x] _.uniqBy -- [x] _.uniqWith -- [x] _.xorBy -- [x] _.xorWith - -added 18 lang methods: -- [x] _.cloneDeepWith -- [x] _.cloneWith -- [x] _.eq -- [x] _.isArrayLike -- [x] _.isArrayLikeObject -- [x] _.isEqualWith -- [x] _.isInteger -- [x] _.isLength -- [x] _.isMatchWith -- [x] _.isNil -- [x] _.isObjectLike -- [x] _.isSafeInteger -- [x] _.isSymbol -- [x] _.toInteger -- [x] _.toLength -- [x] _.toNumber -- [x] _.toSafeInteger -- [x] _.toString - -added 13 object methods: -- [x] _.assignIn -- [x] _.assignInWith -- [x] _.assignWith -- [x] _.functionsIn -- [x] _.hasIn -- [x] _.mergeWith -- [x] _.omitBy -- [x] _.pickBy - - -added 8 string methods: -- [x] _.lowerCase -- [x] _.lowerFirst -- [x] _.upperCase -- [x] _.upperFirst -- [x] _.toLower -- [x] _.toUpper - -added 8 utility methods: -- [x] _.toPath - -added 4 math methods: -- [x] _.maxBy -- [x] _.mean -- [x] _.minBy -- [x] _.sumBy - -added 2 function methods: -- [x] _.flip -- [x] _.unary - -added 2 number methods: -- [x] _.clamp -- [x] _.subtract - -added collection method: -- [x] _.sampleSize - -Added 3 aliases - -- [x] _.first as an alias of _.head - -Removed 17 aliases -- [x] Removed aliase _.all -- [x] Removed aliase _.any -- [x] Removed aliase _.backflow -- [x] Removed aliase _.callback -- [x] Removed aliase _.collect -- [x] Removed aliase _.compose -- [x] Removed aliase _.contains -- [x] Removed aliase _.detect -- [x] Removed aliase _.foldl -- [x] Removed aliase _.foldr -- [x] Removed aliase _.include -- [x] Removed aliase _.inject -- [x] Removed aliase _.methods -- [x] Removed aliase _.object -- [x] Removed aliase _.run -- [x] Removed aliase _.select -- [x] Removed aliase _.unique - -Other changes -- [x] Added support for array buffers to _.isEqual -- [x] Added support for converting iterators to _.toArray -- [x] Added support for deep paths to _.zipObject -- [x] Changed UMD to export to window or self when available regardless of other exports -- [x] Ensured debounce cancel clears args & thisArg references -- [x] Ensured _.add, _.subtract, & _.sum don’t skip NaN values -- [x] Ensured _.clone treats generators like functions -- [x] Ensured _.clone produces clones with the source’s [[Prototype]] -- [x] Ensured _.defaults assigns properties that shadow Object.prototype -- [x] Ensured _.defaultsDeep doesn’t merge a string into an array -- [x] Ensured _.defaultsDeep & _.merge don’t modify sources -- [x] Ensured _.defaultsDeep works with circular references -- [x] Ensured _.keys skips “length” on strict mode arguments objects in Safari 9 -- [x] Ensured _.merge doesn’t convert strings to arrays -- [x] Ensured _.merge merges plain-objects onto non plain-objects -- [x] Ensured _#plant resets iterator data of cloned sequences -- [x] Ensured _.random swaps min & max if min is greater than max -- [x] Ensured _.range preserves the sign of start of -0 -- [x] Ensured _.reduce & _.reduceRight use getIteratee in their array branch -- [x] Fixed rounding issue with the precision param of _.floor - -** LATER ** -Misc: -- [ ] Made _.forEach, _.forIn, _.forOwn, & _.times implicitly end a chain sequence -- [ ] Removed thisArg params from most methods -- [ ] Made “By” methods provide a single param to iteratees -- [ ] Made _.words chainable by default -- [ ] Removed isDeep params from _.clone & _.flatten -- [ ] Removed _.bindAll support for binding all methods when no names are provided -- [ ] Removed func-first param signature from _.before & _.after -- [ ] _.extend as an alias of _.assignIn -- [ ] _.extendWith as an alias of _.assignInWith -- [ ] Added clear method to _.memoize.Cache -- [ ] Added flush method to debounced & throttled functions -- [ ] Added support for ES6 maps, sets, & symbols to _.clone, _.isEqual, & _.toArray -- [ ] Enabled _.flow & _.flowRight to accept an array of functions -- [ ] Ensured “Collection” methods treat functions as objects -- [ ] Ensured _.assign, _.defaults, & _.merge coerce object values to objects -- [ ] Ensured _.bindKey bound functions call object[key] when called with the new operator -- [ ] Ensured _.isFunction returns true for generator functions -- [ ] Ensured _.merge assigns typed arrays directly -- [ ] Made _(...) an iterator & iterable -- [ ] Made _.drop, _.take, & right forms coerce n of undefined to 0 - -Methods: -- [ ] _.concat -- [ ] _.differenceBy -- [ ] _.differenceWith -- [ ] _.flatMap -- [ ] _.fromPairs -- [ ] _.intersectionBy -- [ ] _.intersectionWith -- [ ] _.join -- [ ] _.pullAll -- [ ] _.pullAllBy -- [ ] _.reverse -- [ ] _.sortedLastIndexOf -- [ ] _.unionBy -- [ ] _.unionWith -- [ ] _.uniqWith -- [ ] _.xorBy -- [ ] _.xorWith -- [ ] _.toString - -- [ ] _.invoke -- [ ] _.setWith -- [ ] _.toPairs -- [ ] _.toPairsIn -- [ ] _.unset - -- [ ] _.replace -- [ ] _.split - -- [ ] _.cond -- [ ] _.conforms -- [ ] _.nthArg -- [ ] _.over -- [ ] _.overEvery -- [ ] _.overSome -- [ ] _.rangeRight - -- [ ] _.next -*/ - -declare var _: _.LoDashStatic; - -declare module _ { - interface LoDashStatic { - /** - * Creates a lodash object which wraps the given value to enable intuitive method chaining. - * - * In addition to Lo-Dash methods, wrappers also have the following Array methods: - * concat, join, pop, push, reverse, shift, slice, sort, splice, and unshift - * - * Chaining is supported in custom builds as long as the value method is implicitly or - * explicitly included in the build. - * - * The chainable wrapper functions are: - * after, assign, bind, bindAll, bindKey, chain, chunk, compact, compose, concat, countBy, - * createCallback, curry, debounce, defaults, defer, delay, difference, filter, flatten, - * forEach, forEachRight, forIn, forInRight, forOwn, forOwnRight, functions, groupBy, - * keyBy, initial, intersection, invert, invoke, keys, map, max, memoize, merge, min, - * object, omit, once, pairs, partial, partialRight, pick, pluck, pull, push, range, reject, - * remove, rest, reverse, sample, shuffle, slice, sort, sortBy, splice, tap, throttle, times, - * toArray, transform, union, uniq, unset, unshift, unzip, values, where, without, wrap, and zip - * - * The non-chainable wrapper functions are: - * clone, cloneDeep, contains, escape, every, find, findIndex, findKey, findLast, - * findLastIndex, findLastKey, has, identity, indexOf, isArguments, isArray, isBoolean, - * isDate, isElement, isEmpty, isEqual, isFinite, isFunction, isNaN, isNull, isNumber, - * isObject, isPlainObject, isRegExp, isString, isUndefined, join, lastIndexOf, mixin, - * noConflict, parseInt, pop, random, reduce, reduceRight, result, shift, size, some, - * sortedIndex, runInContext, template, unescape, uniqueId, and value - * - * The wrapper functions first and last return wrapped values when n is provided, otherwise - * they return unwrapped values. - * - * Explicit chaining can be enabled by using the _.chain method. - **/ - (value: number): LoDashImplicitWrapper; - (value: string): LoDashImplicitStringWrapper; - (value: boolean): LoDashImplicitWrapper; - (value: Array): LoDashImplicitNumberArrayWrapper; - (value: Array): LoDashImplicitArrayWrapper; - (value: T): LoDashImplicitObjectWrapper; - (value: any): LoDashImplicitWrapper; - - /** - * The semantic version number. - **/ - VERSION: string; - - /** - * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby - * (ERB). Change the following template settings to use alternative delimiters. - **/ - templateSettings: TemplateSettings; - } - - /** - * By default, the template delimiters used by Lo-Dash are similar to those in embedded Ruby - * (ERB). Change the following template settings to use alternative delimiters. - **/ - interface TemplateSettings { - /** - * The "escape" delimiter. - **/ - escape?: RegExp; - - /** - * The "evaluate" delimiter. - **/ - evaluate?: RegExp; - - /** - * An object to import into the template as local variables. - **/ - imports?: Dictionary; - - /** - * The "interpolate" delimiter. - **/ - interpolate?: RegExp; - - /** - * Used to reference the data object in the template text. - **/ - variable?: string; - } - - /** - * Creates a cache object to store key/value pairs. - */ - interface MapCache { - /** - * Removes `key` and its value from the cache. - * @param key The key of the value to remove. - * @return Returns `true` if the entry was removed successfully, else `false`. - */ - delete(key: string): boolean; - - /** - * Gets the cached value for `key`. - * @param key The key of the value to get. - * @return Returns the cached value. - */ - get(key: string): any; - - /** - * Checks if a cached value for `key` exists. - * @param key The key of the entry to check. - * @return Returns `true` if an entry for `key` exists, else `false`. - */ - has(key: string): boolean; - - /** - * Sets `value` to `key` of the cache. - * @param key The key of the value to cache. - * @param value The value to cache. - * @return Returns the cache object. - */ - set(key: string, value: any): _.Dictionary; - } - - interface LoDashWrapperBase { } - - interface LoDashImplicitWrapperBase extends LoDashWrapperBase { } - - interface LoDashExplicitWrapperBase extends LoDashWrapperBase { } - - interface LoDashImplicitWrapper extends LoDashImplicitWrapperBase> { } - - interface LoDashExplicitWrapper extends LoDashExplicitWrapperBase> { } - - interface LoDashImplicitStringWrapper extends LoDashImplicitWrapper { } - - interface LoDashExplicitStringWrapper extends LoDashExplicitWrapper { } - - interface LoDashImplicitObjectWrapper extends LoDashImplicitWrapperBase> { } - - interface LoDashExplicitObjectWrapper extends LoDashExplicitWrapperBase> { } - - interface LoDashImplicitArrayWrapper extends LoDashImplicitWrapperBase> { - pop(): T; - push(...items: T[]): LoDashImplicitArrayWrapper; - shift(): T; - sort(compareFn?: (a: T, b: T) => number): LoDashImplicitArrayWrapper; - splice(start: number): LoDashImplicitArrayWrapper; - splice(start: number, deleteCount: number, ...items: any[]): LoDashImplicitArrayWrapper; - unshift(...items: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper extends LoDashExplicitWrapperBase> { } - - interface LoDashImplicitNumberArrayWrapper extends LoDashImplicitArrayWrapper { } - - interface LoDashExplicitNumberArrayWrapper extends LoDashExplicitArrayWrapper { } - - /********* - * Array * - *********/ - - //_.chunk - interface LoDashStatic { - /** - * Creates an array of elements split into groups the length of size. If collection can’t be split evenly, the - * final chunk will be the remaining elements. - * - * @param array The array to process. - * @param size The length of each chunk. - * @return Returns the new array containing chunks. - */ - chunk( - array: List, - size?: number - ): T[][]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.chunk - */ - chunk(size?: number): LoDashExplicitArrayWrapper; - } - - //_.compact - interface LoDashStatic { - /** - * Creates an array with all falsey values removed. The values false, null, 0, "", undefined, and NaN are - * falsey. - * - * @param array The array to compact. - * @return (Array) Returns the new array of filtered values. - */ - compact(array?: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.compact - */ - compact(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.compact - */ - compact(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.compact - */ - compact(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.compact - */ - compact(): LoDashExplicitArrayWrapper; - } - - //_.concat DUMMY - interface LoDashStatic { - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - concat(...values: (T[]|List)[]) : T[]; - } - - //_.difference - interface LoDashStatic { - /** - * Creates an array of unique array values not included in the other provided arrays using SameValueZero for - * equality comparisons. - * - * @param array The array to inspect. - * @param values The arrays of values to exclude. - * @return Returns the new array of filtered values. - */ - difference( - array: T[]|List, - ...values: Array> - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.difference - */ - difference(...values: (T[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.difference - */ - difference(...values: (TValue[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.difference - */ - difference(...values: (T[]|List)[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.difference - */ - difference(...values: (TValue[]|List)[]): LoDashExplicitArrayWrapper; - } - - //_.differenceBy - interface LoDashStatic { - /** - * This method is like _.difference except that it accepts iteratee which is invoked for each element of array - * and values to generate the criterion by which uniqueness is computed. The iteratee is invoked with one - * argument: (value). - * - * @param array The array to inspect. - * @param values The values to exclude. - * @param iteratee The iteratee invoked per element. - * @returns Returns the new array of filtered values. - */ - differenceBy( - array: T[]|List, - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.differenceBy - */ - differenceBy( - array: T[]|List, - ...values: any[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: ((value: T) => any)|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - values1?: T[]|List, - values2?: T[]|List, - values3?: T[]|List, - values4?: T[]|List, - values5?: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.differenceBy - */ - differenceBy( - ...values: any[] - ): LoDashExplicitArrayWrapper; - } - - //_.differenceWith DUMMY - interface LoDashStatic { - /** - * Creates an array of unique `array` values not included in the other - * provided arrays using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.difference([3, 2, 1], [4, 2]); - * // => [3, 1] - */ - differenceWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.drop - interface LoDashStatic { - /** - * Creates a slice of array with n elements dropped from the beginning. - * - * @param array The array to query. - * @param n The number of elements to drop. - * @return Returns the slice of array. - */ - drop(array: T[]|List, n?: number): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.drop - */ - drop(n?: number): LoDashExplicitArrayWrapper; - } - - //_.dropRight - interface LoDashStatic { - /** - * Creates a slice of array with n elements dropped from the end. - * - * @param array The array to query. - * @param n The number of elements to drop. - * @return Returns the slice of array. - */ - dropRight( - array: List, - n?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.dropRight - */ - dropRight(n?: number): LoDashExplicitArrayWrapper; - } - - //_.dropRightWhile - interface LoDashStatic { - /** - * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate - * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * match the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - dropRightWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropRightWhile - */ - dropRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.dropWhile - interface LoDashStatic { - /** - * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate - * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - dropWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.dropWhile - */ - dropWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.dropWhile - */ - dropWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.dropWhile - */ - dropWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.fill - interface LoDashStatic { - /** - * Fills elements of array with value from start up to, but not including, end. - * - * Note: This method mutates array. - * - * @param array The array to fill. - * @param value The value to fill array with. - * @param start The start position. - * @param end The end position. - * @return Returns array. - */ - fill( - array: any[], - value: T, - start?: number, - end?: number - ): T[]; - - /** - * @see _.fill - */ - fill( - array: List, - value: T, - start?: number, - end?: number - ): List; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.fill - */ - fill( - value: T, - start?: number, - end?: number - ): LoDashExplicitObjectWrapper>; - } - - //_.findIndex - interface LoDashStatic { - /** - * This method is like _.find except that it returns the index of the first element predicate returns truthy - * for instead of the element itself. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the index of the found element, else -1. - */ - findIndex( - array: List, - predicate?: ListIterator - ): number; - - /** - * @see _.findIndex - */ - findIndex( - array: List, - predicate?: string - ): number; - - /** - * @see _.findIndex - */ - findIndex( - array: List, - predicate?: W - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): number; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findIndex - */ - findIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findIndex - */ - findIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - //_.findLastIndex - interface LoDashStatic { - /** - * This method is like _.findIndex except that it iterates over elements of collection from right to left. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to search. - * @param predicate The function invoked per iteration. - * @param thisArg The function invoked per iteration. - * @return Returns the index of the found element, else -1. - */ - findLastIndex( - array: List, - predicate?: ListIterator - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - array: List, - predicate?: string - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - array: List, - predicate?: W - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): number; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findLastIndex - */ - findLastIndex( - predicate?: W - ): LoDashExplicitWrapper; - } - - //_.first - interface LoDashStatic { - /** - * @see _.head - */ - first(array: List): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.head - */ - first(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.head - */ - first(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.head - */ - first(): T; - } - - interface RecursiveArray extends Array> {} - interface ListOfRecursiveArraysOrValues extends List> {} - - //_.flatten - interface LoDashStatic { - /** - * Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only - * flattened a single level. - * - * @param array The array to flatten. - * @param isDeep Specify a deep flatten. - * @return Returns the new flattened array. - */ - flatten(array: ListOfRecursiveArraysOrValues, isDeep: boolean): T[]; - - /** - * @see _.flatten - */ - flatten(array: List): T[]; - - /** - * @see _.flatten - */ - flatten(array: ListOfRecursiveArraysOrValues): RecursiveArray; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatten - */ - flatten(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatten - */ - flatten(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flatten - */ - flatten(isDeep?: boolean): LoDashExplicitArrayWrapper; - } - - //_.flattenDeep - interface LoDashStatic { - /** - * Recursively flattens a nested array. - * - * @param array The array to recursively flatten. - * @return Returns the new flattened array. - */ - flattenDeep(array: ListOfRecursiveArraysOrValues): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flattenDeep - */ - flattenDeep(): LoDashExplicitArrayWrapper; - } - - //_.fromPairs DUMMY - interface LoDashStatic { - /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example - * - * _.fromPairs([['fred', 30], ['barney', 40]]); - * // => { 'fred': 30, 'barney': 40 } - */ - fromPairs( - array: any[]|List - ): Dictionary; - } - - //_.fromPairs DUMMY - interface LoDashImplicitArrayWrapper { - /** - * @see _.fromPairs - */ - fromPairs(): LoDashImplicitObjectWrapper; - } - - //_.fromPairs DUMMY - interface LoDashExplicitArrayWrapper { - /** - * @see _.fromPairs - */ - fromPairs(): LoDashExplicitObjectWrapper; - } - - //_.head - interface LoDashStatic { - /** - * Gets the first element of array. - * - * @alias _.first - * - * @param array The array to query. - * @return Returns the first element of array. - */ - head(array: List): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.head - */ - head(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.head - */ - head(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.head - */ - head(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.head - */ - head(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.head - */ - head(): T; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.head - */ - head(): T; - } - - //_.indexOf - interface LoDashStatic { - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the offset - * from the end of `array`. If `array` is sorted providing `true` for `fromIndex` - * performs a faster binary search. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // using `fromIndex` - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - indexOf( - array: List, - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: TValue, - fromIndex?: boolean|number - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: T, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.indexOf - */ - indexOf( - value: TValue, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - //_.intersectionBy DUMMY - interface LoDashStatic { - /** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of shared values. - * @example - * - * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); - * // => [2.1] - * - * // using the `_.property` iteratee shorthand - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ - intersectionBy( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.intersectionWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.intersection` except that it accepts `comparator` - * which is invoked to compare elements of `arrays`. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ - intersectionWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.join - interface LoDashStatic { - /** - * Converts all elements in `array` into a string separated by `separator`. - * - * @param array The array to convert. - * @param separator The element separator. - * @returns Returns the joined string. - */ - join( - array: List, - separator?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.join - */ - join(separator?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.join - */ - join(separator?: string): LoDashExplicitWrapper; - } - - //_.pullAll DUMMY - interface LoDashStatic { - /** - * This method is like `_.pull` except that it accepts an array of values to remove. - * - * **Note:** Unlike `_.difference`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3, 1, 2, 3]; - * - * _.pull(array, [2, 3]); - * console.log(array); - * // => [1, 1] - */ - pullAll( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.pullAllBy DUMMY - interface LoDashStatic { - /** - * This method is like `_.pullAll` except that it accepts `iteratee` which is - * invoked for each element of `array` and `values` to to generate the criterion - * by which uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * **Note:** Unlike `_.differenceBy`, this method mutates `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; - * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] - */ - pullAllBy( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.reverse DUMMY - interface LoDashStatic { - /** - * Reverses `array` so that the first element becomes the last, the second - * element becomes the second to last, and so on. - * - * **Note:** This method mutates `array` and is based on - * [`Array#reverse`](https://mdn.io/Array/reverse). - * - * @memberOf _ - * @category Array - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.reverse(array); - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - reverse( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.sortedIndexOf - interface LoDashStatic { - /** - * This method is like `_.indexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedIndexOf([1, 1, 2, 2], 2); - * // => 2 - */ - sortedIndexOf( - array: List, - value: T - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: T - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: TValue - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: T - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedIndexOf - */ - sortedIndexOf( - value: TValue - ): LoDashExplicitWrapper; - } - - //_.initial - interface LoDashStatic { - /** - * Gets all but the last element of array. - * - * @param array The array to query. - * @return Returns the slice of array. - */ - initial(array: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.initial - */ - initial(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.initial - */ - initial(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.initial - */ - initial(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.initial - */ - initial(): LoDashExplicitArrayWrapper; - } - - //_.intersection - interface LoDashStatic { - /** - * Creates an array of unique values that are included in all of the provided arrays using SameValueZero for - * equality comparisons. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of shared values. - */ - intersection(...arrays: (T[]|List)[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.intersection - */ - intersection(...arrays: (TResult[]|List)[]): LoDashExplicitArrayWrapper; - } - - //_.last - interface LoDashStatic { - /** - * Gets the last element of array. - * - * @param array The array to query. - * @return Returns the last element of array. - */ - last(array: List): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.last - */ - last(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.last - */ - last(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.last - */ - last(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.last - */ - last(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.last - */ - last(): T; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.last - */ - last(): T; - } - - //_.lastIndexOf - interface LoDashStatic { - /** - * This method is like _.indexOf except that it iterates over elements of array from right to left. - * - * @param array The array to search. - * @param value The value to search for. - * @param fromIndex The index to search from or true to perform a binary search on a sorted array. - * @return Returns the index of the matched value, else -1. - */ - lastIndexOf( - array: List, - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: T, - fromIndex?: boolean|number - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: TResult, - fromIndex?: boolean|number - ): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: T, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.lastIndexOf - */ - lastIndexOf( - value: TResult, - fromIndex?: boolean|number - ): LoDashExplicitWrapper; - } - - //_.pull - interface LoDashStatic { - /** - * Removes all provided values from array using SameValueZero for equality comparisons. - * - * Note: Unlike _.without, this method mutates array. - * - * @param array The array to modify. - * @param values The values to remove. - * @return Returns array. - */ - pull( - array: T[], - ...values: T[] - ): T[]; - - /** - * @see _.pull - */ - pull( - array: List, - ...values: T[] - ): List; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.pull - */ - pull(...values: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pull - */ - pull(...values: TValue[]): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.pull - */ - pull(...values: T[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pull - */ - pull(...values: TValue[]): LoDashExplicitObjectWrapper>; - } - - //_.pullAt - interface LoDashStatic { - /** - * Removes elements from array corresponding to the given indexes and returns an array of the removed elements. - * Indexes may be specified as an array of indexes or as individual arguments. - * - * Note: Unlike _.at, this method mutates array. - * - * @param array The array to modify. - * @param indexes The indexes of elements to remove, specified as individual indexes or arrays of indexes. - * @return Returns the new array of removed elements. - */ - pullAt( - array: List, - ...indexes: (number|number[])[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pullAt - */ - pullAt(...indexes: (number|number[])[]): LoDashExplicitArrayWrapper; - } - - //_.remove - interface LoDashStatic { - /** - * Removes all elements from array that predicate returns truthy for and returns an array of the removed - * elements. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * Note: Unlike _.filter, this method mutates array. - * - * @param array The array to modify. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new array of removed elements. - */ - remove( - array: List, - predicate?: ListIterator - ): T[]; - - /** - * @see _.remove - */ - remove( - array: List, - predicate?: string - ): T[]; - - /** - * @see _.remove - */ - remove( - array: List, - predicate?: W - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.remove - */ - remove( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.remove - */ - remove( - predicate?: W - ): LoDashExplicitArrayWrapper; - } - - //_.tail - interface LoDashStatic { - /** - * Gets all but the first element of array. - * - * @alias _.tail - * - * @param array The array to query. - * @return Returns the slice of array. - */ - tail(array: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.tail - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.tail - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.tail - */ - tail(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.tail - */ - tail(): LoDashExplicitArrayWrapper; - } - - //_.slice - interface LoDashStatic { - /** - * Creates a slice of array from start up to, but not including, end. - * - * @param array The array to slice. - * @param start The start position. - * @param end The end position. - * @return Returns the slice of array. - */ - slice( - array: T[], - start?: number, - end?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.slice - */ - slice( - start?: number, - end?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.slice - */ - slice( - start?: number, - end?: number - ): LoDashExplicitArrayWrapper; - } - - //_.sortedIndex - interface LoDashStatic { - /** - * Uses a binary search to determine the lowest index at which `value` should - * be inserted into `array` in order to maintain its sort order. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - * - * _.sortedIndex([4, 5], 4); - * // => 0 - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - array: List, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: string - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: string - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndex - */ - sortedIndex( - value: T - ): LoDashExplicitWrapper; - - - } - - //_.sortedIndexBy - interface LoDashStatic { - /** - * This method is like `_.sortedIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * var dict = { 'thirty': 30, 'forty': 40, 'fifty': 50 }; - * - * _.sortedIndexBy(['thirty', 'fifty'], 'forty', _.propertyOf(dict)); - * // => 1 - * - * // using the `_.property` iteratee shorthand - * _.sortedIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); - * // => 0 - */ - sortedIndexBy( - array: List, - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - array: List, - value: T, - iteratee: Object - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: string, - iteratee: (x: string) => TSort - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: Object - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: string, - iteratee: (x: string) => TSort - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: (x: T) => any - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - - /** - * @see _.sortedIndexBy - */ - sortedIndexBy( - value: T, - iteratee: Object - ): LoDashExplicitWrapper; - } - - //_.sortedLastIndex - interface LoDashStatic { - /** - * This method is like `_.sortedIndex` except that it returns the highest - * index at which `value` should be inserted into `array` in order to - * maintain its sort order. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * _.sortedLastIndex([4, 5], 4); - * // => 1 - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - array: List, - value: T - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: string - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: string - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndex - */ - sortedLastIndex( - value: T - ): LoDashExplicitWrapper; - } - - //_.sortedLastIndexBy - interface LoDashStatic { - /** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted into `array`. - * @example - * - * // using the `_.property` iteratee shorthand - * _.sortedLastIndexBy([{ 'x': 4 }, { 'x': 5 }], { 'x': 4 }, 'x'); - * // => 1 - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - array: List, - value: T, - iteratee: Object - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: string, - iteratee: (x: string) => TSort - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => any - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): number; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: Object - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: string, - iteratee: (x: string) => TSort - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => TSort - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: (x: T) => any - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: string - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: W - ): LoDashExplicitWrapper; - - /** - * @see _.sortedLastIndexBy - */ - sortedLastIndexBy( - value: T, - iteratee: Object - ): LoDashExplicitWrapper; - } - - //_.sortedLastIndexOf DUMMY - interface LoDashStatic { - /** - * This method is like `_.lastIndexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to search. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedLastIndexOf([1, 1, 2, 2], 2); - * // => 3 - */ - sortedLastIndexOf( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.tail - interface LoDashStatic { - /** - * @see _.rest - */ - tail(array: List): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.rest - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.rest - */ - tail(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.rest - */ - tail(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.rest - */ - tail(): LoDashExplicitArrayWrapper; - } - - //_.take - interface LoDashStatic { - /** - * Creates a slice of array with n elements taken from the beginning. - * - * @param array The array to query. - * @param n The number of elements to take. - * @return Returns the slice of array. - */ - take( - array: List, - n?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.take - */ - take(n?: number): LoDashExplicitArrayWrapper; - } - - //_.takeRight - interface LoDashStatic { - /** - * Creates a slice of array with n elements taken from the end. - * - * @param array The array to query. - * @param n The number of elements to take. - * @return Returns the slice of array. - */ - takeRight( - array: List, - n?: number - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.takeRight - */ - takeRight(n?: number): LoDashExplicitArrayWrapper; - } - - //_.takeRightWhile - interface LoDashStatic { - /** - * Creates a slice of array with elements taken from the end. Elements are taken until predicate returns - * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - takeRightWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeRightWhile - */ - takeRightWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.takeWhile - interface LoDashStatic { - /** - * Creates a slice of array with elements taken from the beginning. Elements are taken until predicate returns - * falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param array The array to query. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the slice of array. - */ - takeWhile( - array: List, - predicate?: ListIterator - ): TValue[]; - - /** - * @see _.takeWhile - */ - takeWhile( - array: List, - predicate?: string - ): TValue[]; - - /** - * @see _.takeWhile - */ - takeWhile( - array: List, - predicate?: TWhere - ): TValue[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.takeWhile - */ - takeWhile( - predicate?: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.union - interface LoDashStatic { - /** - * Creates an array of unique values, in order, from all of the provided arrays using SameValueZero for - * equality comparisons. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of combined values. - */ - union(...arrays: List[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashImplicitArrayWrapper; - - /** - * @see _.union - */ - union(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashExplicitArrayWrapper; - - /** - * @see _.union - */ - union(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.union - */ - union(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - //_.unionBy - interface LoDashStatic { - /** - * This method is like `_.union` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @param arrays The arrays to inspect. - * @param iteratee The iteratee invoked per element. - * @return Returns the new array of combined values. - */ - unionBy( - arrays: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays1: T[]|List, - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): T[]; - - /** - * @see _.unionBy - */ - unionBy( - arrays: T[]|List, - ...iteratee: any[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashImplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unionBy - */ - unionBy( - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: (value: T) => any - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - arrays2: T[]|List, - arrays3: T[]|List, - arrays4: T[]|List, - arrays5: T[]|List, - iteratee?: W - ): LoDashExplicitArrayWrapper; - - /** - * @see _.unionBy - */ - unionBy( - ...iteratee: any[] - ): LoDashExplicitArrayWrapper; - } - - //_.uniq - interface LoDashStatic { - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each element - * is kept. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - uniq( - array: List - ): T[]; - - /** - * @see _.uniq - */ - uniq( - array: List - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - uniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.uniq - */ - uniq(): LoDashExplicitArrayWrapper; - } - - //_.uniqBy - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // using the `_.property` iteratee shorthand - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - uniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: string - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: Object - ): T[]; - - /** - * @see _.uniqBy - */ - uniqBy( - array: List, - iteratee: TWhere - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: Object - ): LoDashImplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: Object - ): LoDashExplicitArrayWrapper; - - /** - * @see _.uniqBy - */ - uniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.sortedUniq - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ - sortedUniq( - array: List - ): T[]; - - /** - * @see _.sortedUniq - */ - sortedUniq( - array: List - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - sortedUniq(): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniq - */ - sortedUniq(): LoDashExplicitArrayWrapper; - } - - //_.sortedUniqBy - interface LoDashStatic { - /** - * This method is like `_.uniqBy` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.2] - */ - sortedUniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: ListIterator - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: string - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: Object - ): T[]; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - array: List, - iteratee: TWhere - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: Object - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: Object - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortedUniqBy - */ - sortedUniqBy( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - } - - //_.unionWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.union` except that it accepts `comparator` which - * is invoked to compare elements of `arrays`. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.unionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - unionWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.uniqWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.uniq` except that it accepts `comparator` which - * is invoked to compare elements of `array`. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.uniqWith(objects, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] - */ - uniqWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.unzip - interface LoDashStatic { - /** - * This method is like _.zip except that it accepts an array of grouped elements and creates an array - * regrouping the elements to their pre-zip configuration. - * - * @param array The array of grouped elements to process. - * @return Returns the new array of regrouped elements. - */ - unzip(array: List>): T[][]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unzip - */ - unzip(): LoDashExplicitArrayWrapper; - } - - //_.unzipWith - interface LoDashStatic { - /** - * This method is like _.unzip except that it accepts an iteratee to specify how regrouped values should be - * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, - * group). - * - * @param array The array of grouped elements to process. - * @param iteratee The function to combine regrouped values. - * @param thisArg The this binding of iteratee. - * @return Returns the new array of regrouped elements. - */ - unzipWith( - array: List>, - iteratee?: MemoIterator - ): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.unzipWith - */ - unzipWith( - iteratee?: MemoIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unzipWith - */ - unzipWith( - iteratee?: MemoIterator - ): LoDashImplicitArrayWrapper; - } - - //_.without - interface LoDashStatic { - /** - * Creates an array excluding all provided values using SameValueZero for equality comparisons. - * - * @param array The array to filter. - * @param values The values to exclude. - * @return Returns the new array of filtered values. - */ - without( - array: List, - ...values: T[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.without - */ - without(...values: T[]): LoDashExplicitArrayWrapper; - } - - //_.xor - interface LoDashStatic { - /** - * Creates an array of unique values that is the symmetric difference of the provided arrays. - * - * @param arrays The arrays to inspect. - * @return Returns the new array of values. - */ - xor(...arrays: List[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.xor - */ - xor(...arrays: List[]): LoDashExplicitArrayWrapper; - } - - //_.xorBy DUMMY - interface LoDashStatic { - /** - * This method is like `_.xor` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by which - * uniqueness is computed. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of values. - * @example - * - * _.xorBy([2.1, 1.2], [4.3, 2.4], Math.floor); - * // => [1.2, 4.3] - * - * // using the `_.property` iteratee shorthand - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - xorBy( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.xorWith DUMMY - interface LoDashStatic { - /** - * This method is like `_.xor` except that it accepts `comparator` which is - * invoked to compare elements of `arrays`. The comparator is invoked with - * two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - xorWith( - array: any[]|List, - ...values: any[] - ): any[]; - } - - //_.zip - interface LoDashStatic { - /** - * Creates an array of grouped elements, the first of which contains the first elements of the given arrays, - * the second of which contains the second elements of the given arrays, and so on. - * - * @param arrays The arrays to process. - * @return Returns the new array of grouped elements. - */ - zip(...arrays: List[]): T[][]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.zip - */ - zip(...arrays: List[]): _.LoDashExplicitArrayWrapper; - } - - //_.zipObject - interface LoDashStatic { - /** - * The inverse of _.pairs; this method returns an object composed from arrays of property names and values. - * Provide either a single two dimensional array, e.g. [[key1, value1], [key2, value2]] or two arrays, one of - * property names and one of corresponding values. - * - * @param props The property names. - * @param values The property values. - * @return Returns the new object. - */ - zipObject( - props: List|List>, - values?: List - ): TResult; - - /** - * @see _.zipObject - */ - zipObject( - props: List|List>, - values?: List - ): TResult; - - /** - * @see _.zipObject - */ - zipObject( - props: List|List>, - values?: List - ): _.Dictionary; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper<_.Dictionary>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashImplicitObjectWrapper<_.Dictionary>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper<_.Dictionary>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper; - - /** - * @see _.zipObject - */ - zipObject( - values?: List - ): _.LoDashExplicitObjectWrapper<_.Dictionary>; - } - - //_.zipWith - interface LoDashStatic { - /** - * This method is like _.zip except that it accepts an iteratee to specify how grouped values should be - * combined. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, value, index, - * group). - * @param {...Array} [arrays] The arrays to process. - * @param {Function} [iteratee] The function to combine grouped values. - * @param {*} [thisArg] The `this` binding of `iteratee`. - * @return Returns the new array of grouped elements. - */ - zipWith(...args: any[]): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.zipWith - */ - zipWith(...args: any[]): LoDashImplicitArrayWrapper; - } - - /********* - * Chain * - *********/ - - //_.chain - interface LoDashStatic { - /** - * Creates a lodash object that wraps value with explicit method chaining enabled. - * - * @param value The value to wrap. - * @return Returns the new lodash wrapper instance. - */ - chain(value: number): LoDashExplicitWrapper; - chain(value: string): LoDashExplicitWrapper; - chain(value: boolean): LoDashExplicitWrapper; - chain(value: T[]): LoDashExplicitArrayWrapper; - chain(value: T): LoDashExplicitObjectWrapper; - chain(value: any): LoDashExplicitWrapper; - } - - interface LoDashImplicitWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.chain - */ - chain(): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.chain - */ - chain(): TWrapper; - } - - //_.tap - interface LoDashStatic { - /** - * This method invokes interceptor and returns value. The interceptor is bound to thisArg and invoked with one - * argument; (value). The purpose of this method is to "tap into" a method chain in order to perform operations - * on intermediate results within the chain. - * - * @param value The value to provide to interceptor. - * @param interceptor The function to invoke. - * @parem thisArg The this binding of interceptor. - * @return Returns value. - **/ - tap( - value: T, - interceptor: (value: T) => void - ): T; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.tap - */ - tap( - interceptor: (value: T) => void - ): TWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.tap - */ - tap( - interceptor: (value: T) => void - ): TWrapper; - } - - //_.thru - interface LoDashStatic { - /** - * This method is like _.tap except that it returns the result of interceptor. - * - * @param value The value to provide to interceptor. - * @param interceptor The function to invoke. - * @param thisArg The this binding of interceptor. - * @return Returns the result of interceptor. - */ - thru( - value: T, - interceptor: (value: T) => TResult - ): TResult; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult): LoDashImplicitObjectWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult - ): LoDashExplicitObjectWrapper; - - /** - * @see _.thru - */ - thru( - interceptor: (value: T) => TResult[] - ): LoDashExplicitArrayWrapper; - } - - //_.prototype.commit - interface LoDashImplicitWrapperBase { - /** - * Executes the chained sequence and returns the wrapped result. - * - * @return Returns the new lodash wrapper instance. - */ - commit(): TWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.commit - */ - commit(): TWrapper; - } - - //_.prototype.concat - interface LoDashImplicitWrapperBase { - /** - * Creates a new array joining a wrapped array with any additional arrays and/or values. - * - * @param items - * @return Returns the new concatenated array. - */ - concat(...items: Array>): LoDashImplicitArrayWrapper; - - /** - * @see _.concat - */ - concat(...items: Array>): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.concat - */ - concat(...items: Array>): LoDashExplicitArrayWrapper; - - /** - * @see _.concat - */ - concat(...items: Array>): LoDashExplicitArrayWrapper; - } - - //_.prototype.plant - interface LoDashImplicitWrapperBase { - /** - * Creates a clone of the chained sequence planting value as the wrapped value. - * @param value The value to plant as the wrapped value. - * @return Returns the new lodash wrapper instance. - */ - plant(value: number): LoDashImplicitWrapper; - - /** - * @see _.plant - */ - plant(value: string): LoDashImplicitStringWrapper; - - /** - * @see _.plant - */ - plant(value: boolean): LoDashImplicitWrapper; - - /** - * @see _.plant - */ - plant(value: number[]): LoDashImplicitNumberArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T[]): LoDashImplicitArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T): LoDashImplicitObjectWrapper; - - /** - * @see _.plant - */ - plant(value: any): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.plant - */ - plant(value: number): LoDashExplicitWrapper; - - /** - * @see _.plant - */ - plant(value: string): LoDashExplicitStringWrapper; - - /** - * @see _.plant - */ - plant(value: boolean): LoDashExplicitWrapper; - - /** - * @see _.plant - */ - plant(value: number[]): LoDashExplicitNumberArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T[]): LoDashExplicitArrayWrapper; - - /** - * @see _.plant - */ - plant(value: T): LoDashExplicitObjectWrapper; - - /** - * @see _.plant - */ - plant(value: any): LoDashExplicitWrapper; - } - - //_.prototype.reverse - interface LoDashImplicitArrayWrapper { - /** - * Reverses the wrapped array so the first element becomes the last, the second element becomes the second to - * last, and so on. - * - * Note: This method mutates the wrapped array. - * - * @return Returns the new reversed lodash wrapper instance. - */ - reverse(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.reverse - */ - reverse(): LoDashExplicitArrayWrapper; - } - - //_.prototype.toJSON - interface LoDashWrapperBase { - /** - * @see _.value - */ - toJSON(): T; - } - - //_.prototype.toString - interface LoDashWrapperBase { - /** - * Produces the result of coercing the unwrapped value to a string. - * - * @return Returns the coerced string value. - */ - toString(): string; - } - - //_.prototype.value - interface LoDashWrapperBase { - /** - * Executes the chained sequence to extract the unwrapped value. - * - * @alias _.toJSON, _.valueOf - * - * @return Returns the resolved unwrapped value. - */ - value(): T; - } - - //_.valueOf - interface LoDashWrapperBase { - /** - * @see _.value - */ - valueOf(): T; - } - - /************** - * Collection * - **************/ - - //_.at - interface LoDashStatic { - /** - * Creates an array of elements corresponding to the given keys, or indexes, of collection. Keys may be - * specified as individual arguments or as arrays of keys. - * - * @param collection The collection to iterate over. - * @param props The property names or indexes of elements to pick, specified individually or in arrays. - * @return Returns the new array of picked elements. - */ - at( - collection: List|Dictionary, - ...props: (number|string|(number|string)[])[] - ): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.at - */ - at(...props: (number|string|(number|string)[])[]): LoDashExplicitArrayWrapper; - } - - //_.countBy - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is the number of times the key was returned by iteratee. The - * iteratee is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - countBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List|Dictionary|NumericDictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List|Dictionary|NumericDictionary, - iteratee?: W - ): Dictionary; - - /** - * @see _.countBy - */ - countBy( - collection: List|Dictionary|NumericDictionary, - iteratee?: Object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.countBy - */ - countBy( - iteratee?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.countBy - */ - countBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - } - - //_.each - interface LoDashStatic { - /** - * @see _.forEach - */ - each( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEach - */ - each( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEach - */ - each( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEach - */ - each( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEach - */ - each( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEach - */ - each( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEach - */ - each( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEach - */ - each( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.eachRight - interface LoDashStatic { - /** - * @see _.forEachRight - */ - eachRight( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEachRight - */ - eachRight( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEachRight - */ - eachRight( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEachRight - */ - eachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEachRight - */ - eachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEachRight - */ - eachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.every - interface LoDashStatic { - /** - * Checks if predicate returns truthy for all elements of collection. Iteration is stopped once predicate - * returns falsey. The predicate is invoked with three arguments: (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @return Returns true if all elements pass the predicate check, else false. - */ - every( - collection: List, - predicate?: ListIterator - ): boolean; - - /** - * @see _.every - */ - every( - collection: Dictionary, - predicate?: DictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - collection: NumericDictionary, - predicate?: NumericDictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - collection: List|Dictionary|NumericDictionary, - predicate?: string|any[] - ): boolean; - - /** - * @see _.every - */ - every( - collection: List|Dictionary|NumericDictionary, - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|NumericDictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): boolean; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): boolean; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.every - */ - every( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: string|any[] - ): LoDashExplicitWrapper; - - /** - * @see _.every - */ - every( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - //_.filter - interface LoDashStatic { - /** - * Iterates over elements of collection, returning an array of all elements predicate returns truthy for. The - * predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new filtered array. - */ - filter( - collection: List, - predicate?: ListIterator - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: Dictionary, - predicate?: DictionaryIterator - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: string, - predicate?: StringIterator - ): string[]; - - /** - * @see _.filter - */ - filter( - collection: List|Dictionary, - predicate: string - ): T[]; - - /** - * @see _.filter - */ - filter( - collection: List|Dictionary, - predicate: W - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.filter - */ - filter( - predicate?: StringIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.filter - */ - filter( - predicate?: StringIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.filter - */ - filter( - predicate: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.filter - */ - filter(predicate: W): LoDashExplicitArrayWrapper; - } - - //_.find - interface LoDashStatic { - /** - * Iterates over elements of collection, returning the first element predicate returns truthy for. - * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the matched element, else undefined. - */ - find( - collection: List, - predicate?: ListIterator - ): T; - - /** - * @see _.find - */ - find( - collection: Dictionary, - predicate?: DictionaryIterator - ): T; - - /** - * @see _.find - */ - find( - collection: List|Dictionary, - predicate?: string - ): T; - - /** - * @see _.find - */ - find( - collection: List|Dictionary, - predicate?: TObject - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.find - */ - find( - predicate?: ListIterator - ): T; - - /** - * @see _.find - */ - find( - predicate?: string - ): T; - - /** - * @see _.find - */ - find( - predicate?: TObject - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.find - */ - find( - predicate?: ListIterator|DictionaryIterator - ): TResult; - - /** - * @see _.find - */ - find( - predicate?: string - ): TResult; - - /** - * @see _.find - */ - find( - predicate?: TObject - ): TResult; - } - - //_.findLast - interface LoDashStatic { - /** - * This method is like _.find except that it iterates over elements of a collection from - * right to left. - * @param collection Searches for a value in this list. - * @param callback The function called per iteration. - * @param thisArg The this binding of callback. - * @return The found element, else undefined. - **/ - findLast( - collection: Array, - callback: ListIterator): T; - - /** - * @see _.find - **/ - findLast( - collection: List, - callback: ListIterator): T; - - /** - * @see _.find - **/ - findLast( - collection: Dictionary, - callback: DictionaryIterator): T; - - /** - * @see _.find - * @param _.pluck style callback - **/ - findLast( - collection: Array, - whereValue: W): T; - - /** - * @see _.find - * @param _.pluck style callback - **/ - findLast( - collection: List, - whereValue: W): T; - - /** - * @see _.find - * @param _.pluck style callback - **/ - findLast( - collection: Dictionary, - whereValue: W): T; - - /** - * @see _.find - * @param _.where style callback - **/ - findLast( - collection: Array, - pluckValue: string): T; - - /** - * @see _.find - * @param _.where style callback - **/ - findLast( - collection: List, - pluckValue: string): T; - - /** - * @see _.find - * @param _.where style callback - **/ - findLast( - collection: Dictionary, - pluckValue: string): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.findLast - */ - findLast( - callback: ListIterator): T; - /** - * @see _.findLast - * @param _.where style callback - */ - findLast( - whereValue: W): T; - - /** - * @see _.findLast - * @param _.where style callback - */ - findLast( - pluckValue: string): T; - } - - //_.flatMap - interface LoDashStatic { - /** - * Creates an array of flattened values by running each element in collection through iteratee - * and concating its result to the other mapped values. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @return Returns the new flattened array. - */ - flatMap( - collection: List, - iteratee?: ListIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: List, - iteratee?: ListIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Dictionary, - iteratee?: DictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Dictionary, - iteratee?: DictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee?: ObjectIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Object, - iteratee?: ObjectIterator - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee: TWhere - ): boolean[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee: Object|string - ): TResult[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: TObject, - iteratee: [string, any] - ): boolean[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: string - ): string[]; - - /** - * @see _.flatMap - */ - flatMap( - collection: Object, - iteratee?: Object|string - ): TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: ObjectIterator|string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flatMap - */ - flatMap( - iteratee: ListIterator|DictionaryIterator|NumericDictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: ObjectIterator|string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: TWhere - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap( - iteratee: [string, any] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.flatMap - */ - flatMap(): LoDashExplicitArrayWrapper; - } - - //_.forEach - interface LoDashStatic { - /** - * Iterates over elements of collection invoking iteratee for each element. The iteratee is bound to thisArg - * and invoked with three arguments: - * (value, index|key, collection). Iteratee functions may exit iteration early by explicitly returning false. - * - * Note: As with other "Collections" methods, objects with a "length" property are iterated like arrays. To - * avoid this behavior _.forIn or _.forOwn may be used for object iteration. - * - * @alias _.each - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - */ - forEach( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEach - */ - forEach( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEach - */ - forEach( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEach - */ - forEach( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEach - */ - forEach( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEach - */ - forEach( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.forEachRight - interface LoDashStatic { - /** - * This method is like _.forEach except that it iterates over elements of collection from right to left. - * - * @alias _.eachRight - * - * @param collection The collection to iterate over. - * @param iteratee The function called per iteration. - * @param thisArg The this binding of callback. - */ - forEachRight( - collection: T[], - iteratee?: ListIterator - ): T[]; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: List, - iteratee?: ListIterator - ): List; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - - /** - * @see _.forEachRight - */ - forEachRight( - collection: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashImplicitWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee: ListIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forEachRight - */ - forEachRight( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper; - } - - //_.groupBy - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is an array of the elements responsible for generating the - * key. The iteratee is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - groupBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: TWhere - ): Dictionary; - - /** - * @see _.groupBy - */ - groupBy( - collection: List|Dictionary, - iteratee?: Object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: Object - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: TWhere - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.groupBy - */ - groupBy( - iteratee?: Object - ): LoDashExplicitObjectWrapper>; - } - - //_.includes - interface LoDashStatic { - /** - * Checks if target is in collection using SameValueZero for equality comparisons. If fromIndex is negative, - * it’s used as the offset from the end of collection. - * - * @param collection The collection to search. - * @param target The value to search for. - * @param fromIndex The index to search from. - * @return True if the target element is found, else false. - */ - includes( - collection: List|Dictionary, - target: T, - fromIndex?: number - ): boolean; - - /** - * @see _.includes - */ - includes( - collection: string, - target: string, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.includes - */ - includes( - target: T, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.includes - */ - includes( - target: TValue, - fromIndex?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.includes - */ - includes( - target: string, - fromIndex?: number - ): boolean; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.includes - */ - includes( - target: T, - fromIndex?: number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.includes - */ - includes( - target: TValue, - fromIndex?: number - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.includes - */ - includes( - target: string, - fromIndex?: number - ): LoDashExplicitWrapper; - } - - //_.keyBy - interface LoDashStatic { - /** - * Creates an object composed of keys generated from the results of running each element of collection through - * iteratee. The corresponding value of each key is the last element responsible for generating the key. The - * iteratee function is bound to thisArg and invoked with three arguments: - * (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the composed aggregate object. - */ - keyBy( - collection: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List|NumericDictionary|Dictionary, - iteratee?: string - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List|NumericDictionary|Dictionary, - iteratee?: W - ): Dictionary; - - /** - * @see _.keyBy - */ - keyBy( - collection: List|NumericDictionary|Dictionary, - iteratee?: Object - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator|NumericDictionaryIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: Object - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.keyBy - */ - keyBy( - iteratee?: ListIterator|NumericDictionaryIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: W - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.keyBy - */ - keyBy( - iteratee?: Object - ): LoDashExplicitObjectWrapper>; - } - - //_.invoke - interface LoDashStatic { - /** - * Invokes the method at path of object. - * @param object The object to query. - * @param path The path of the method to invoke. - * @param args The arguments to invoke the method with. - **/ - invoke( - object: TObject, - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - - /** - * @see _.invoke - **/ - invoke( - object: Dictionary|TValue[], - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - - /** - * @see _.invoke - **/ - invoke( - object: any, - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invoke - **/ - invoke( - path: StringRepresentable|StringRepresentable[], - ...args: any[]): TResult; - } - - //_.invokeMap - interface LoDashStatic { - /** - * Invokes the method named by methodName on each element in the collection returning - * an array of the results of each invoked method. Additional arguments will be provided - * to each invoked method. If methodName is a function it will be invoked for, and this - * bound to, each element in the collection. - * @param collection The collection to iterate over. - * @param methodName The name of the method to invoke. - * @param args Arguments to invoke the method with. - **/ - invokeMap( - collection: TValue[], - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary, - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: {}[], - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary<{}>, - methodName: string, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: TValue[], - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary, - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: {}[], - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - - /** - * @see _.invokeMap - **/ - invokeMap( - collection: Dictionary<{}>, - method: (...args: any[]) => TResult, - ...args: any[]): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashImplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashImplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashExplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invokeMap - **/ - invokeMap( - methodName: string, - ...args: any[]): LoDashExplicitArrayWrapper; - - /** - * @see _.invokeMap - **/ - invokeMap( - method: (...args: any[]) => TResult, - ...args: any[]): LoDashExplicitArrayWrapper; - } - - //_.map - interface LoDashStatic { - /** - * Creates an array of values by running each element in collection through iteratee. The iteratee is bound to - * thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for iteratee the created _.property style callback returns the property value - * of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for iteratee the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * Many lodash methods are guarded to work as iteratees for methods like _.every, _.filter, _.map, _.mapValues, - * _.reject, and _.some. - * - * The guarded methods are: - * ary, callback, chunk, clone, create, curry, curryRight, drop, dropRight, every, fill, flatten, invert, max, - * min, parseInt, slice, sortBy, take, takeRight, template, trim, trimLeft, trimRight, trunc, random, range, - * sample, some, sum, uniq, and words - * - * @param collection The collection to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the new mapped array. - */ - map( - collection: List, - iteratee?: ListIterator - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: Dictionary, - iteratee?: DictionaryIterator - ): TResult[]; - - map( - collection: NumericDictionary, - iteratee?: NumericDictionaryIterator - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: List|Dictionary|NumericDictionary, - iteratee?: string - ): TResult[]; - - /** - * @see _.map - */ - map( - collection: List|Dictionary|NumericDictionary, - iteratee?: TObject - ): boolean[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.map - */ - map( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.map - */ - map( - iteratee?: TObject - ): LoDashExplicitArrayWrapper; - } - - //_.partition - interface LoDashStatic { - /** - * Creates an array of elements split into two groups, the first of which contains elements predicate returns truthy for, - * while the second of which contains elements predicate returns falsey for. - * The predicate is bound to thisArg and invoked with three arguments: (value, index|key, collection). - * - * If a property name is provided for predicate the created _.property style callback - * returns the property value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback - * returns true for elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns - * true for elements that have the properties of the given object, else false. - * - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the array of grouped elements. - **/ - partition( - collection: List, - callback: ListIterator): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - callback: DictionaryIterator): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: List, - whereValue: W): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - whereValue: W): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: List, - path: string, - srcValue: any): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - path: string, - srcValue: any): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: List, - pluckValue: string): T[][]; - - /** - * @see _.partition - **/ - partition( - collection: Dictionary, - pluckValue: string): T[][]; - } - - interface LoDashImplicitStringWrapper { - /** - * @see _.partition - */ - partition( - callback: ListIterator): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.partition - */ - partition( - callback: ListIterator): LoDashImplicitArrayWrapper; - /** - * @see _.partition - */ - partition( - whereValue: W): LoDashImplicitArrayWrapper; - /** - * @see _.partition - */ - partition( - path: string, - srcValue: any): LoDashImplicitArrayWrapper; - /** - * @see _.partition - */ - partition( - pluckValue: string): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.partition - */ - partition( - callback: ListIterator): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - callback: DictionaryIterator): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - whereValue: W): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - path: string, - srcValue: any): LoDashImplicitArrayWrapper; - - /** - * @see _.partition - */ - partition( - pluckValue: string): LoDashImplicitArrayWrapper; - } - - //_.reduce - interface LoDashStatic { - /** - * Reduces a collection to a value which is the accumulated result of running each - * element in the collection through the callback, where each successive callback execution - * consumes the return value of the previous execution. If accumulator is not provided the - * first element of the collection will be used as the initial accumulator value. The callback - * is bound to thisArg and invoked with four arguments; (accumulator, value, index|key, collection). - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param accumulator Initial value of the accumulator. - * @param thisArg The this binding of callback. - * @return Returns the accumulated value. - **/ - reduce( - collection: Array, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: List, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: Dictionary, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: NumericDictionary, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: Array, - callback: MemoIterator): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: List, - callback: MemoIterator): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: Dictionary, - callback: MemoIterator): TResult; - - /** - * @see _.reduce - **/ - reduce( - collection: NumericDictionary, - callback: MemoIterator): TResult; - - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduce - **/ - reduce( - callback: MemoIterator): TResult; - } - - //_.reduceRight - interface LoDashStatic { - /** - * This method is like _.reduce except that it iterates over elements of a collection from - * right to left. - * @param collection The collection to iterate over. - * @param callback The function called per iteration. - * @param accumulator Initial value of the accumulator. - * @param thisArg The this binding of callback. - * @return The accumulated value. - **/ - reduceRight( - collection: Array, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: List, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: Dictionary, - callback: MemoIterator, - accumulator: TResult): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: Array, - callback: MemoIterator): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: List, - callback: MemoIterator): TResult; - - /** - * @see _.reduceRight - **/ - reduceRight( - collection: Dictionary, - callback: MemoIterator): TResult; - } - - //_.reject - interface LoDashStatic { - /** - * The opposite of _.filter; this method returns the elements of collection that predicate does not return - * truthy for. - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the new filtered array. - */ - reject( - collection: List, - predicate?: ListIterator - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: Dictionary, - predicate?: DictionaryIterator - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: string, - predicate?: StringIterator - ): string[]; - - /** - * @see _.reject - */ - reject( - collection: List|Dictionary, - predicate: string - ): T[]; - - /** - * @see _.reject - */ - reject( - collection: List|Dictionary, - predicate: W - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.reject - */ - reject( - predicate?: StringIterator - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashImplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.reject - */ - reject( - predicate?: StringIterator - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.reject - */ - reject( - predicate: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject( - predicate: string - ): LoDashExplicitArrayWrapper; - - /** - * @see _.reject - */ - reject(predicate: W): LoDashExplicitArrayWrapper; - } - - //_.sample - interface LoDashStatic { - /** - * Gets a random element from collection. - * - * @param collection The collection to sample. - * @return Returns the random element. - */ - sample( - collection: List|Dictionary|NumericDictionary - ): T; - - /** - * @see _.sample - */ - sample( - collection: O - ): T; - - /** - * @see _.sample - */ - sample( - collection: Object - ): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sample - */ - sample(): string; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sample - */ - sample(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sample - */ - sample(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sample - */ - sample(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sample - */ - sample(): TWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sample - */ - sample(): TWrapper; - } - - //_.sampleSize - interface LoDashStatic { - /** - * Gets n random elements at unique keys from collection up to the size of collection. - * - * @param collection The collection to sample. - * @param n The number of elements to sample. - * @return Returns the random elements. - */ - sampleSize( - collection: List|Dictionary|NumericDictionary, - n?: number - ): T[]; - - /** - * @see _.sampleSize - */ - sampleSize( - collection: O, - n?: number - ): T[]; - - /** - * @see _.sampleSize - */ - sampleSize( - collection: Object, - n?: number - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sampleSize - */ - sampleSize( - n?: number - ): LoDashExplicitArrayWrapper; - } - - //_.shuffle - interface LoDashStatic { - /** - * Creates an array of shuffled values, using a version of the Fisher-Yates shuffle. - * - * @param collection The collection to shuffle. - * @return Returns the new shuffled array. - */ - shuffle(collection: List|Dictionary): T[]; - - /** - * @see _.shuffle - */ - shuffle(collection: string): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.shuffle - */ - shuffle(): LoDashExplicitArrayWrapper; - } - - //_.size - interface LoDashStatic { - /** - * Gets the size of collection by returning its length for array-like values or the number of own enumerable - * properties for objects. - * - * @param collection The collection to inspect. - * @return Returns the size of collection. - */ - size(collection: List|Dictionary): number; - - /** - * @see _.size - */ - size(collection: string): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.size - */ - size(): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.size - */ - size(): LoDashExplicitWrapper; - } - - //_.some - interface LoDashStatic { - /** - * Checks if predicate returns truthy for any element of collection. Iteration is stopped once predicate - * returns truthy. The predicate is invoked with three arguments: (value, index|key, collection). - * - * @param collection The collection to iterate over. - * @param predicate The function invoked per iteration. - * @return Returns true if any element passes the predicate check, else false. - */ - some( - collection: List, - predicate?: ListIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: Dictionary, - predicate?: DictionaryIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: NumericDictionary, - predicate?: NumericDictionaryIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: Object, - predicate?: ObjectIterator - ): boolean; - - /** - * @see _.some - */ - some( - collection: List|Dictionary|NumericDictionary, - predicate?: string|[string, any] - ): boolean; - - - /** - * @see _.some - */ - some( - collection: Object, - predicate?: string|[string, any] - ): boolean; - - /** - * @see _.some - */ - some( - collection: List|Dictionary|NumericDictionary, - predicate?: TObject - ): boolean; - - /** - * @see _.some - */ - some( - collection: List|Dictionary|NumericDictionary, - predicate?: Object - ): boolean; - - /** - * @see _.some - */ - some( - collection: Object, - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|NumericDictionaryIterator - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator|ObjectIterator - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): boolean; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): boolean; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|NumericDictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.some - */ - some( - predicate?: ListIterator|DictionaryIterator|NumericDictionaryIterator|ObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: string|[string, any] - ): LoDashExplicitWrapper; - - /** - * @see _.some - */ - some( - predicate?: TObject - ): LoDashExplicitWrapper; - } - - //_.sortBy - interface LoDashStatic { - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection through each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {...(Function|Function[]|Object|Object[]|string|string[])} [iteratees=[_.identity]] - * The iteratees to sort by, specified individually or in arrays. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 42 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, function(o) { return o.user; }); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 42], ['fred', 48]] - * - * _.sortBy(users, 'user', function(o) { - * return Math.floor(o.age / 10); - * }); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - */ - sortBy( - collection: List, - iteratee?: ListIterator - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: List|Dictionary, - iteratee: string - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: List|Dictionary, - whereValue: W - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: List|Dictionary - ): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: (Array|List), - iteratees: (ListIterator|string|Object)[]): T[]; - - /** - * @see _.sortBy - */ - sortBy( - collection: (Array|List), - ...iteratees: (ListIterator|Object|string)[]): T[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(...iteratees: (ListIterator|Object|string)[]): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - **/ - sortBy(iteratees: (ListIterator|string|Object)[]): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashImplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sortBy - */ - sortBy( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(iteratee: string): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(whereValue: W): LoDashExplicitArrayWrapper; - - /** - * @see _.sortBy - */ - sortBy(): LoDashExplicitArrayWrapper; - } - - //_.orderBy - interface LoDashStatic { - /** - * This method is like `_.sortBy` except that it allows specifying the sort - * orders of the iteratees to sort by. If `orders` is unspecified, all values - * are sorted in ascending order. Otherwise, specify an order of "desc" for - * descending or "asc" for ascending sort order of corresponding values. - * - * @static - * @memberOf _ - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function[]|Object[]|string[]} [iteratees=[_.identity]] The iteratees to sort by. - * @param {string[]} [orders] The sort orders of `iteratees`. - * @param- {Object} [guard] Enables use as an iteratee for functions like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 34 }, - * { 'user': 'fred', 'age': 42 }, - * { 'user': 'barney', 'age': 36 } - * ]; - * - * // sort by `user` in ascending order and by `age` in descending order - * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 42]] - */ - orderBy( - collection: List, - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: List, - iteratees: ListIterator|string|Object|(ListIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: NumericDictionary, - iteratees: NumericDictionaryIterator|string|W|(NumericDictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: NumericDictionary, - iteratees: NumericDictionaryIterator|string|Object|(NumericDictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: Dictionary, - iteratees: DictionaryIterator|string|W|(DictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - - /** - * @see _.orderBy - */ - orderBy( - collection: Dictionary, - iteratees: DictionaryIterator|string|Object|(DictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|(ListIterator|string)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|Object|(ListIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|W|(NumericDictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|Object|(NumericDictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|W|(DictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|Object|(DictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|(ListIterator|string)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|W|(ListIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: ListIterator|string|Object|(ListIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|W|(NumericDictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: NumericDictionaryIterator|string|Object|(NumericDictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|W|(DictionaryIterator|string|W)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - - /** - * @see _.orderBy - */ - orderBy( - iteratees: DictionaryIterator|string|Object|(DictionaryIterator|string|Object)[], - orders?: boolean|string|(boolean|string)[] - ): LoDashExplicitArrayWrapper; - } - - /******** - * Date * - ********/ - - //_.now - interface LoDashStatic { - /** - * Gets the number of milliseconds that have elapsed since the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @return The number of milliseconds. - */ - now(): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.now - */ - now(): number; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.now - */ - now(): LoDashExplicitWrapper; - } - - /************* - * Functions * - *************/ - - //_.after - interface LoDashStatic { - /** - * The opposite of _.before; this method creates a function that invokes func once it’s called n or more times. - * - * @param n The number of calls before func is invoked. - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - after( - n: number, - func: TFunc - ): TFunc; - } - - interface LoDashImplicitWrapper { - /** - * @see _.after - **/ - after(func: TFunc): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.after - **/ - after(func: TFunc): LoDashExplicitObjectWrapper; - } - - //_.ary - interface LoDashStatic { - /** - * Creates a function that accepts up to n arguments ignoring any additional arguments. - * - * @param func The function to cap arguments for. - * @param n The arity cap. - * @returns Returns the new function. - */ - ary( - func: Function, - n?: number - ): TResult; - - ary( - func: T, - n?: number - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.ary - */ - ary(n?: number): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.ary - */ - ary(n?: number): LoDashExplicitObjectWrapper; - } - - //_.before - interface LoDashStatic { - /** - * Creates a function that invokes func, with the this binding and arguments of the created function, while - * it’s called less than n times. Subsequent calls to the created function return the result of the last func - * invocation. - * - * @param n The number of calls at which func is no longer invoked. - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - before( - n: number, - func: TFunc - ): TFunc; - } - - interface LoDashImplicitWrapper { - /** - * @see _.before - **/ - before(func: TFunc): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.before - **/ - before(func: TFunc): LoDashExplicitObjectWrapper; - } - - //_.bind - interface FunctionBind { - placeholder: any; - - ( - func: T, - thisArg: any, - ...partials: any[] - ): TResult; - - ( - func: Function, - thisArg: any, - ...partials: any[] - ): TResult; - } - - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of thisArg and prepends any additional _.bind - * arguments to those provided to the bound function. - * - * The _.bind.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder for - * partially applied arguments. - * - * Note: Unlike native Function#bind this method does not set the "length" property of bound functions. - * - * @param func The function to bind. - * @param thisArg The this binding of func. - * @param partials The arguments to be partially applied. - * @return Returns the new bound function. - */ - bind: FunctionBind; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.bind - */ - bind( - thisArg: any, - ...partials: any[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.bind - */ - bind( - thisArg: any, - ...partials: any[] - ): LoDashExplicitObjectWrapper; - } - - //_.bindAll - interface LoDashStatic { - /** - * Binds methods of an object to the object itself, overwriting the existing method. Method names may be - * specified as individual arguments or as arrays of method names. If no method names are provided all - * enumerable function properties, own and inherited, of object are bound. - * - * Note: This method does not set the "length" property of bound functions. - * - * @param object The object to bind and assign the bound methods to. - * @param methodNames The object method names to bind, specified as individual method names or arrays of - * method names. - * @return Returns object. - */ - bindAll( - object: T, - ...methodNames: (string|string[])[] - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.bindAll - */ - bindAll(...methodNames: (string|string[])[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.bindAll - */ - bindAll(...methodNames: (string|string[])[]): LoDashExplicitObjectWrapper; - } - - //_.bindKey - interface FunctionBindKey { - placeholder: any; - - ( - object: T, - key: any, - ...partials: any[] - ): TResult; - - ( - object: Object, - key: any, - ...partials: any[] - ): TResult; - } - - interface LoDashStatic { - /** - * Creates a function that invokes the method at object[key] and prepends any additional _.bindKey arguments - * to those provided to the bound function. - * - * This method differs from _.bind by allowing bound functions to reference methods that may be redefined - * or don’t yet exist. See Peter Michaux’s article for more details. - * - * The _.bindKey.placeholder value, which defaults to _ in monolithic builds, may be used as a placeholder - * for partially applied arguments. - * - * @param object The object the method belongs to. - * @param key The key of the method. - * @param partials The arguments to be partially applied. - * @return Returns the new bound function. - */ - bindKey: FunctionBindKey; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.bindKey - */ - bindKey( - key: any, - ...partials: any[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.bindKey - */ - bindKey( - key: any, - ...partials: any[] - ): LoDashExplicitObjectWrapper; - } - - //_.createCallback - interface LoDashStatic { - /** - * Produces a callback bound to an optional thisArg. If func is a property name the created - * callback will return the property value for a given element. If func is an object the created - * callback will return true for elements that contain the equivalent object properties, - * otherwise it will return false. - * @param func The value to convert to a callback. - * @param thisArg The this binding of the created callback. - * @param argCount The number of arguments the callback accepts. - * @return A callback function. - **/ - createCallback( - func: string, - argCount?: number): () => any; - - /** - * @see _.createCallback - **/ - createCallback( - func: Dictionary, - argCount?: number): () => boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.createCallback - **/ - createCallback( - argCount?: number): LoDashImplicitObjectWrapper<() => any>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.createCallback - **/ - createCallback( - argCount?: number): LoDashImplicitObjectWrapper<() => any>; - } - - //_.curry - interface LoDashStatic { - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1) => R): - CurriedFunction1; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2) => R): - CurriedFunction2; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3) => R): - CurriedFunction3; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): - CurriedFunction4; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curry(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): - CurriedFunction5; - /** - * Creates a function that accepts one or more arguments of func that when called either invokes func returning - * its result, if all func arguments have been provided, or returns a function that accepts one or more of the - * remaining func arguments, and so on. The arity of func may be specified if func.length is not sufficient. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curry( - func: Function, - arity?: number): TResult; - } - - interface CurriedFunction1 { - (): CurriedFunction1; - (t1: T1): R; - } - - interface CurriedFunction2 { - (): CurriedFunction2; - (t1: T1): CurriedFunction1; - (t1: T1, t2: T2): R; - } - - interface CurriedFunction3 { - (): CurriedFunction3; - (t1: T1): CurriedFunction2; - (t1: T1, t2: T2): CurriedFunction1; - (t1: T1, t2: T2, t3: T3): R; - } - - interface CurriedFunction4 { - (): CurriedFunction4; - (t1: T1): CurriedFunction3; - (t1: T1, t2: T2): CurriedFunction2; - (t1: T1, t2: T2, t3: T3): CurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4): R; - } - - interface CurriedFunction5 { - (): CurriedFunction5; - (t1: T1): CurriedFunction4; - (t1: T1, t2: T2): CurriedFunction3; - (t1: T1, t2: T2, t3: T3): CurriedFunction2; - (t1: T1, t2: T2, t3: T3, t4: T4): CurriedFunction1; - (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5): R; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.curry - **/ - curry(arity?: number): LoDashImplicitObjectWrapper; - } - - //_.curryRight - interface LoDashStatic { - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1) => R): - CurriedFunction1; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2) => R): - CurriedFunction2; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3) => R): - CurriedFunction3; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4) => R): - CurriedFunction4; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @return Returns the new curried function. - */ - curryRight(func: (t1: T1, t2: T2, t3: T3, t4: T4, t5: T5) => R): - CurriedFunction5; - /** - * This method is like _.curry except that arguments are applied to func in the manner of _.partialRight - * instead of _.partial. - * @param func The function to curry. - * @param arity The arity of func. - * @return Returns the new curried function. - */ - curryRight( - func: Function, - arity?: number): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.curryRight - **/ - curryRight(arity?: number): LoDashImplicitObjectWrapper; - } - - //_.debounce - interface DebounceSettings { - /** - * Specify invoking on the leading edge of the timeout. - */ - leading?: boolean; - - /** - * The maximum time func is allowed to be delayed before it’s invoked. - */ - maxWait?: number; - - /** - * Specify invoking on the trailing edge of the timeout. - */ - trailing?: boolean; - } - - interface LoDashStatic { - /** - * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed since - * the last time the debounced function was invoked. The debounced function comes with a cancel method to - * cancel delayed invocations. Provide an options object to indicate that func should be invoked on the - * leading and/or trailing edge of the wait timeout. Subsequent calls to the debounced function return the - * result of the last func invocation. - * - * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only - * if the the debounced function is invoked more than once during the wait timeout. - * - * See David Corbacho’s article for details over the differences between _.debounce and _.throttle. - * - * @param func The function to debounce. - * @param wait The number of milliseconds to delay. - * @param options The options object. - * @param options.leading Specify invoking on the leading edge of the timeout. - * @param options.maxWait The maximum time func is allowed to be delayed before it’s invoked. - * @param options.trailing Specify invoking on the trailing edge of the timeout. - * @return Returns the new debounced function. - */ - debounce( - func: T, - wait?: number, - options?: DebounceSettings - ): T & Cancelable; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.debounce - */ - debounce( - wait?: number, - options?: DebounceSettings - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.debounce - */ - debounce( - wait?: number, - options?: DebounceSettings - ): LoDashExplicitObjectWrapper; - } - - //_.defer - interface LoDashStatic { - /** - * Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to - * func when it’s invoked. - * - * @param func The function to defer. - * @param args The arguments to invoke the function with. - * @return Returns the timer id. - */ - defer( - func: T, - ...args: any[] - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.defer - */ - defer(...args: any[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.defer - */ - defer(...args: any[]): LoDashExplicitWrapper; - } - - //_.delay - interface LoDashStatic { - /** - * Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked. - * - * @param func The function to delay. - * @param wait The number of milliseconds to delay invocation. - * @param args The arguments to invoke the function with. - * @return Returns the timer id. - */ - delay( - func: T, - wait: number, - ...args: any[] - ): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.delay - */ - delay( - wait: number, - ...args: any[] - ): LoDashImplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.delay - */ - delay( - wait: number, - ...args: any[] - ): LoDashExplicitWrapper; - } - - interface LoDashStatic { - /** - * Creates a function that invokes `func` with arguments reversed. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ - flip(func: T): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flip - */ - flip(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flip - */ - flip(): LoDashExplicitObjectWrapper; - } - - //_.flow - interface LoDashStatic { - /** - * Creates a function that returns the result of invoking the provided functions with the this binding of the - * created function, where each successive invocation is supplied the return value of the previous. - * - * @param funcs Functions to invoke. - * @return Returns the new function. - */ - flow(...funcs: Function[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flow - */ - flow(...funcs: Function[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flow - */ - flow(...funcs: Function[]): LoDashExplicitObjectWrapper; - } - - //_.flowRight - interface LoDashStatic { - /** - * This method is like _.flow except that it creates a function that invokes the provided functions from right - * to left. - * - * @param funcs Functions to invoke. - * @return Returns the new function. - */ - flowRight(...funcs: Function[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.flowRight - */ - flowRight(...funcs: Function[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.flowRight - */ - flowRight(...funcs: Function[]): LoDashExplicitObjectWrapper; - } - - - //_.memoize - interface MemoizedFunction extends Function { - cache: MapCache; - } - - interface LoDashStatic { - /** - * Creates a function that memoizes the result of func. If resolver is provided it determines the cache key for - * storing the result based on the arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is coerced to a string and used as the cache key. The func is invoked with - * the this binding of the memoized function. - * - * @param func The function to have its output memoized. - * @param resolver The function to resolve the cache key. - * @return Returns the new memoizing function. - */ - memoize: { - (func: T, resolver?: Function): T & MemoizedFunction; - Cache: MapCache; - } - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.memoize - */ - memoize(resolver?: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.memoize - */ - memoize(resolver?: Function): LoDashExplicitObjectWrapper; - } - - //_.overArgs (was _.modArgs) - interface LoDashStatic { - /** - * Creates a function that runs each argument through a corresponding transform function. - * - * @param func The function to wrap. - * @param transforms The functions to transform arguments, specified as individual functions or arrays - * of functions. - * @return Returns the new function. - */ - overArgs( - func: T, - ...transforms: Function[] - ): TResult; - - /** - * @see _.overArgs - */ - overArgs( - func: T, - transforms: Function[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.overArgs - */ - overArgs(...transforms: Function[]): LoDashImplicitObjectWrapper; - - /** - * @see _.overArgs - */ - overArgs(transforms: Function[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.overArgs - */ - overArgs(...transforms: Function[]): LoDashExplicitObjectWrapper; - - /** - * @see _.overArgs - */ - overArgs(transforms: Function[]): LoDashExplicitObjectWrapper; - } - - //_.negate - interface LoDashStatic { - /** - * Creates a function that negates the result of the predicate func. The func predicate is invoked with - * the this binding and arguments of the created function. - * - * @param predicate The predicate to negate. - * @return Returns the new function. - */ - negate(predicate: T): (...args: any[]) => boolean; - - /** - * @see _.negate - */ - negate(predicate: T): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.negate - */ - negate(): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - - /** - * @see _.negate - */ - negate(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.negate - */ - negate(): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - - /** - * @see _.negate - */ - negate(): LoDashExplicitObjectWrapper; - } - - //_.once - interface LoDashStatic { - /** - * Creates a function that is restricted to invoking func once. Repeat calls to the function return the value - * of the first call. The func is invoked with the this binding and arguments of the created function. - * - * @param func The function to restrict. - * @return Returns the new restricted function. - */ - once(func: T): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.once - */ - once(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.once - */ - once(): LoDashExplicitObjectWrapper; - } - - //_.partial - interface LoDashStatic { - /** - * Creates a function that, when called, invokes func with any additional partial arguments - * prepended to those provided to the new function. This method is similar to _.bind except - * it does not alter the this binding. - * @param func The function to partially apply arguments to. - * @param args Arguments to be partially applied. - * @return The new partially applied function. - **/ - partial: Partial; - } - - type PH = LoDashStatic; - - interface Function0 { - (): R; - } - interface Function1 { - (t1: T1): R; - } - interface Function2 { - (t1: T1, t2: T2): R; - } - interface Function3 { - (t1: T1, t2: T2, t3: T3): R; - } - interface Function4 { - (t1: T1, t2: T2, t3: T3, t4: T4): R; - } - - interface Partial { - // arity 0 - (func: Function0): Function0; - // arity 1 - (func: Function1): Function1; - (func: Function1, arg1: T1): Function0; - // arity 2 - (func: Function2): Function2; - (func: Function2, arg1: T1): Function1< T2, R>; - (func: Function2, plc1: PH, arg2: T2): Function1; - (func: Function2, arg1: T1, arg2: T2): Function0< R>; - // arity 3 - (func: Function3): Function3; - (func: Function3, arg1: T1): Function2< T2, T3, R>; - (func: Function3, plc1: PH, arg2: T2): Function2; - (func: Function3, arg1: T1, arg2: T2): Function1< T3, R>; - (func: Function3, plc1: PH, plc2: PH, arg3: T3): Function2; - (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; - (func: Function3, plc1: PH, arg2: T2, arg3: T3): Function1; - (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; - // arity 4 - (func: Function4): Function4; - (func: Function4, arg1: T1): Function3< T2, T3, T4, R>; - (func: Function4, plc1: PH, arg2: T2): Function3; - (func: Function4, arg1: T1, arg2: T2): Function2< T3, T4, R>; - (func: Function4, plc1: PH, plc2: PH, arg3: T3): Function3; - (func: Function4, arg1: T1, plc2: PH, arg3: T3): Function2< T2, T4, R>; - (func: Function4, plc1: PH, arg2: T2, arg3: T3): Function2; - (func: Function4, arg1: T1, arg2: T2, arg3: T3): Function1< T4, R>; - (func: Function4, plc1: PH, plc2: PH, plc3: PH, arg4: T4): Function3; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; - (func: Function4, plc1: PH, arg2: T2, plc3: PH, arg4: T4): Function2; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; - (func: Function4, plc1: PH, plc2: PH, arg3: T3, arg4: T4): Function2; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; - (func: Function4, plc1: PH, arg2: T2, arg3: T3, arg4: T4): Function1; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; - // catch-all - (func: Function, ...args: any[]): Function; - } - - //_.partialRight - interface LoDashStatic { - /** - * This method is like _.partial except that partial arguments are appended to those provided - * to the new function. - * @param func The function to partially apply arguments to. - * @param args Arguments to be partially applied. - * @return The new partially applied function. - **/ - partialRight: PartialRight - } - - interface PartialRight { - // arity 0 - (func: Function0): Function0; - // arity 1 - (func: Function1): Function1; - (func: Function1, arg1: T1): Function0; - // arity 2 - (func: Function2): Function2; - (func: Function2, arg1: T1, plc2: PH): Function1< T2, R>; - (func: Function2, arg2: T2): Function1; - (func: Function2, arg1: T1, arg2: T2): Function0< R>; - // arity 3 - (func: Function3): Function3; - (func: Function3, arg1: T1, plc2: PH, plc3: PH): Function2< T2, T3, R>; - (func: Function3, arg2: T2, plc3: PH): Function2; - (func: Function3, arg1: T1, arg2: T2, plc3: PH): Function1< T3, R>; - (func: Function3, arg3: T3): Function2; - (func: Function3, arg1: T1, plc2: PH, arg3: T3): Function1< T2, R>; - (func: Function3, arg2: T2, arg3: T3): Function1; - (func: Function3, arg1: T1, arg2: T2, arg3: T3): Function0< R>; - // arity 4 - (func: Function4): Function4; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, plc4: PH): Function3< T2, T3, T4, R>; - (func: Function4, arg2: T2, plc3: PH, plc4: PH): Function3; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, plc4: PH): Function2< T3, T4, R>; - (func: Function4, arg3: T3, plc4: PH): Function3; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, plc4: PH): Function2< T2, T4, R>; - (func: Function4, arg2: T2, arg3: T3, plc4: PH): Function2; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, plc4: PH): Function1< T4, R>; - (func: Function4, arg4: T4): Function3; - (func: Function4, arg1: T1, plc2: PH, plc3: PH, arg4: T4): Function2< T2, T3, R>; - (func: Function4, arg2: T2, plc3: PH, arg4: T4): Function2; - (func: Function4, arg1: T1, arg2: T2, plc3: PH, arg4: T4): Function1< T3, R>; - (func: Function4, arg3: T3, arg4: T4): Function2; - (func: Function4, arg1: T1, plc2: PH, arg3: T3, arg4: T4): Function1< T2, R>; - (func: Function4, arg2: T2, arg3: T3, arg4: T4): Function1; - (func: Function4, arg1: T1, arg2: T2, arg3: T3, arg4: T4): Function0< R>; - // catch-all - (func: Function, ...args: any[]): Function; - } - - //_.rearg - interface LoDashStatic { - /** - * Creates a function that invokes func with arguments arranged according to the specified indexes where the - * argument value at the first index is provided as the first argument, the argument value at the second index - * is provided as the second argument, and so on. - * @param func The function to rearrange arguments for. - * @param indexes The arranged argument indexes, specified as individual indexes or arrays of indexes. - * @return Returns the new function. - */ - rearg(func: Function, indexes: number[]): TResult; - - /** - * @see _.rearg - */ - rearg(func: Function, ...indexes: number[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.rearg - */ - rearg(indexes: number[]): LoDashImplicitObjectWrapper; - - /** - * @see _.rearg - */ - rearg(...indexes: number[]): LoDashImplicitObjectWrapper; - } - - //_.rest - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of the created function and arguments from start - * and beyond provided as an array. - * - * Note: This method is based on the rest parameter. - * - * @param func The function to apply a rest parameter to. - * @param start The start position of the rest parameter. - * @return Returns the new function. - */ - rest( - func: Function, - start?: number - ): TResult; - - /** - * @see _.rest - */ - rest( - func: TFunc, - start?: number - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.rest - */ - rest(start?: number): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.rest - */ - rest(start?: number): LoDashExplicitObjectWrapper; - } - - //_.spread - interface LoDashStatic { - /** - * Creates a function that invokes func with the this binding of the created function and an array of arguments - * much like Function#apply. - * - * Note: This method is based on the spread operator. - * - * @param func The function to spread arguments over. - * @return Returns the new function. - */ - spread(func: F): T; - - /** - * @see _.spread - */ - spread(func: Function): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.spread - */ - spread(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.spread - */ - spread(): LoDashExplicitObjectWrapper; - } - - //_.throttle - interface ThrottleSettings { - /** - * If you'd like to disable the leading-edge call, pass this as false. - */ - leading?: boolean; - - /** - * If you'd like to disable the execution on the trailing-edge, pass false. - */ - trailing?: boolean; - } - - interface LoDashStatic { - /** - * Creates a throttled function that only invokes func at most once per every wait milliseconds. The throttled - * function comes with a cancel method to cancel delayed invocations. Provide an options object to indicate - * that func should be invoked on the leading and/or trailing edge of the wait timeout. Subsequent calls to - * the throttled function return the result of the last func call. - * - * Note: If leading and trailing options are true, func is invoked on the trailing edge of the timeout only if - * the the throttled function is invoked more than once during the wait timeout. - * - * @param func The function to throttle. - * @param wait The number of milliseconds to throttle invocations to. - * @param options The options object. - * @param options.leading Specify invoking on the leading edge of the timeout. - * @param options.trailing Specify invoking on the trailing edge of the timeout. - * @return Returns the new throttled function. - */ - throttle( - func: T, - wait?: number, - options?: ThrottleSettings - ): T & Cancelable; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.throttle - */ - throttle( - wait?: number, - options?: ThrottleSettings - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.throttle - */ - throttle( - wait?: number, - options?: ThrottleSettings - ): LoDashExplicitObjectWrapper; - } - - //_.unary - interface LoDashStatic { - /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @category Function - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new function. - * @example - * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] - */ - unary(func: T): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unary - */ - unary(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unary - */ - unary(): LoDashExplicitObjectWrapper; - } - - //_.wrap - interface LoDashStatic { - /** - * Creates a function that provides value to the wrapper function as its first argument. Any additional - * arguments provided to the function are appended to those provided to the wrapper function. The wrapper is - * invoked with the this binding of the created function. - * - * @param value The value to wrap. - * @param wrapper The wrapper function. - * @return Returns the new function. - */ - wrap( - value: V, - wrapper: W - ): R; - - /** - * @see _.wrap - */ - wrap( - value: V, - wrapper: Function - ): R; - - /** - * @see _.wrap - */ - wrap( - value: any, - wrapper: Function - ): R; - } - - interface LoDashImplicitWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashImplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashImplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashImplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashExplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashExplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.wrap - */ - wrap(wrapper: W): LoDashExplicitObjectWrapper; - - /** - * @see _.wrap - */ - wrap(wrapper: Function): LoDashExplicitObjectWrapper; - } - - /******** - * Lang * - ********/ - - //_.castArray - interface LoDashStatic { - /** - * Casts value as an array if it’s not one. - * - * @param value The value to inspect. - * @return Returns the cast array. - */ - castArray(value: T): T[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.castArray - */ - castArray(): LoDashExplicitArrayWrapper; - } - - //_.clone - interface LoDashStatic { - /** - * Creates a shallow clone of value. - * - * Note: This method is loosely based on the structured clone algorithm and supports cloning arrays, - * array buffers, booleans, date objects, maps, numbers, Object objects, regexes, sets, strings, symbols, - * and typed arrays. The own enumerable properties of arguments objects are cloned as plain objects. An empty - * object is returned for uncloneable values such as error objects, functions, DOM nodes, and WeakMaps. - * - * @param value The value to clone. - * @return Returns the cloned value. - */ - clone(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.clone - */ - clone(): T; - } - - interface LoDashImplicitArrayWrapper { - - /** - * @see _.clone - */ - clone(): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.clone - */ - clone(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.clone - */ - clone(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - - /** - * @see _.clone - */ - clone(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.clone - */ - clone(): LoDashExplicitObjectWrapper; - } - - //_.cloneDeep - interface LoDashStatic { - /** - * This method is like _.clone except that it recursively clones value. - * - * @param value The value to recursively clone. - * @return Returns the deep cloned value. - */ - cloneDeep(value: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.cloneDeep - */ - cloneDeep(): LoDashExplicitObjectWrapper; - } - - //_.cloneDeepWith - interface CloneDeepWithCustomizer { - (value: TValue): TResult; - } - - interface LoDashStatic { - /** - * This method is like _.cloneWith except that it recursively clones value. - * - * @param value The value to recursively clone. - * @param customizer The function to customize cloning. - * @return Returns the deep cloned value. - */ - cloneDeepWith( - value: any, - customizer?: CloneDeepWithCustomizer - ): TResult; - - /** - * @see _.clonDeepeWith - */ - cloneDeepWith( - value: T, - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneDeepWith - */ - cloneDeepWith( - customizer?: CloneDeepWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - //_.cloneWith - interface CloneWithCustomizer { - (value: TValue): TResult; - } - - interface LoDashStatic { - /** - * This method is like _.clone except that it accepts customizer which is invoked to produce the cloned value. - * If customizer returns undefined cloning is handled by the method instead. - * - * @param value The value to clone. - * @param customizer The function to customize cloning. - * @return Returns the cloned value. - */ - cloneWith( - value: any, - customizer?: CloneWithCustomizer - ): TResult; - - /** - * @see _.cloneWith - */ - cloneWith( - value: T, - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitArrayWrapper; - - /** - * @see _.cloneWith - */ - cloneWith( - customizer?: CloneWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - //_.eq - interface LoDashStatic { - /** - * Performs a [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - eq( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEqual - */ - eq( - other: any - ): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEqual - */ - eq( - other: any - ): LoDashExplicitWrapper; - } - - //_.gt - interface LoDashStatic { - /** - * Checks if value is greater than other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is greater than other, else false. - */ - gt( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.gt - */ - gt(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.gt - */ - gt(other: any): LoDashExplicitWrapper; - } - - //_.gte - interface LoDashStatic { - /** - * Checks if value is greater than or equal to other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is greater than or equal to other, else false. - */ - gte( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.gte - */ - gte(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.gte - */ - gte(other: any): LoDashExplicitWrapper; - } - - //_.isArguments - interface LoDashStatic { - /** - * Checks if value is classified as an arguments object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isArguments(value?: any): value is IArguments; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArguments - */ - isArguments(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArguments - */ - isArguments(): LoDashExplicitWrapper; - } - - //_.isArray - interface LoDashStatic { - /** - * Checks if value is classified as an Array object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isArray(value?: any): value is T[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArray - */ - isArray(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArray - */ - isArray(): LoDashExplicitWrapper; - } - - //_.isArrayBuffer - interface LoDashStatic { - /** - * Checks if value is classified as an ArrayBuffer object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isArrayBuffer(value?: any): value is ArrayBuffer; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArrayBuffer - */ - isArrayBuffer(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArrayBuffer - */ - isArrayBuffer(): LoDashExplicitWrapper; - } - - //_.isArrayLike - interface LoDashStatic { - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @type Function - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - isArrayLike(value?: any): value is T[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArrayLike - */ - isArrayLike(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArrayLike - */ - isArrayLike(): LoDashExplicitWrapper; - } - - //_.isArrayLikeObject - interface LoDashStatic { - /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @type Function - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ - isArrayLikeObject(value?: any): value is T[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isArrayLikeObject - */ - isArrayLikeObject(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isArrayLikeObject - */ - isArrayLikeObject(): LoDashExplicitWrapper; - } - - //_.isBoolean - interface LoDashStatic { - /** - * Checks if value is classified as a boolean primitive or object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isBoolean(value?: any): value is boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isBoolean - */ - isBoolean(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isBoolean - */ - isBoolean(): LoDashExplicitWrapper; - } - - //_.isBuffer - interface LoDashStatic { - /** - * Checks if value is a buffer. - * - * @param value The value to check. - * @return Returns true if value is a buffer, else false. - */ - isBuffer(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isBuffer - */ - isBuffer(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isBuffer - */ - isBuffer(): LoDashExplicitWrapper; - } - - //_.isDate - interface LoDashStatic { - /** - * Checks if value is classified as a Date object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isDate(value?: any): value is Date; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isDate - */ - isDate(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isDate - */ - isDate(): LoDashExplicitWrapper; - } - - //_.isElement - interface LoDashStatic { - /** - * Checks if value is a DOM element. - * - * @param value The value to check. - * @return Returns true if value is a DOM element, else false. - */ - isElement(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isElement - */ - isElement(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isElement - */ - isElement(): LoDashExplicitWrapper; - } - - //_.isEmpty - interface LoDashStatic { - /** - * Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string, or - * jQuery-like collection with a length greater than 0 or an object with own enumerable properties. - * - * @param value The value to inspect. - * @return Returns true if value is empty, else false. - */ - isEmpty(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEmpty - */ - isEmpty(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEmpty - */ - isEmpty(): LoDashExplicitWrapper; - } - - //_.isEqual - interface LoDashStatic { - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are **not** supported. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'user': 'fred' }; - * var other = { 'user': 'fred' }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ - isEqual( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEqual - */ - isEqual( - other: any - ): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEqual - */ - isEqual( - other: any - ): LoDashExplicitWrapper; - } - - // _.isEqualWith - interface IsEqualCustomizer { - (value: any, other: any, indexOrKey?: number|string): boolean; - } - - interface LoDashStatic { - /** - * This method is like `_.isEqual` except that it accepts `customizer` which is - * invoked to compare values. If `customizer` returns `undefined` comparisons are - * handled by the method instead. The `customizer` is invoked with up to seven arguments: - * (objValue, othValue [, index|key, object, other, stack]). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, othValue) { - * if (isGreeting(objValue) && isGreeting(othValue)) { - * return true; - * } - * } - * - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqualWith(array, other, customizer); - * // => true - */ - isEqualWith( - value: any, - other: any, - customizer: IsEqualCustomizer - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isEqualWith - */ - isEqualWith( - other: any, - customizer: IsEqualCustomizer - ): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isEqualWith - */ - isEqualWith( - other: any, - customizer: IsEqualCustomizer - ): LoDashExplicitWrapper; - } - - //_.isError - interface LoDashStatic { - /** - * Checks if value is an Error, EvalError, RangeError, ReferenceError, SyntaxError, TypeError, or URIError - * object. - * - * @param value The value to check. - * @return Returns true if value is an error object, else false. - */ - isError(value: any): value is Error; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isError - */ - isError(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isError - */ - isError(): LoDashExplicitWrapper; - } - - //_.isFinite - interface LoDashStatic { - /** - * Checks if value is a finite primitive number. - * - * Note: This method is based on Number.isFinite. - * - * @param value The value to check. - * @return Returns true if value is a finite number, else false. - */ - isFinite(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isFinite - */ - isFinite(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isFinite - */ - isFinite(): LoDashExplicitWrapper; - } - - //_.isFunction - interface LoDashStatic { - /** - * Checks if value is classified as a Function object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isFunction(value?: any): value is Function; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isFunction - */ - isFunction(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isFunction - */ - isFunction(): LoDashExplicitWrapper; - } - - //_.isInteger - interface LoDashStatic { - /** - * Checks if `value` is an integer. - * - * **Note:** This method is based on [`Number.isInteger`](https://mdn.io/Number/isInteger). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an integer, else `false`. - * @example - * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false - * - * _.isInteger('3'); - * // => false - */ - isInteger(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isInteger - */ - isInteger(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isInteger - */ - isInteger(): LoDashExplicitWrapper; - } - - //_.isLength - interface LoDashStatic { - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This function is loosely based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - isLength(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isLength - */ - isLength(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isLength - */ - isLength(): LoDashExplicitWrapper; - } - - //_.isMap - interface LoDashStatic { - /** - * Checks if value is classified as a Map object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isMap(value?: any): value is Map; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isMap - */ - isMap(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isMap - */ - isMap(): LoDashExplicitWrapper; - } - - //_.isMatch - interface isMatchCustomizer { - (value: any, other: any, indexOrKey?: number|string): boolean; - } - - interface LoDashStatic { - /** - * Performs a deep comparison between `object` and `source` to determine if - * `object` contains equivalent property values. - * - * **Note:** This method supports comparing the same values as `_.isEqual`. - * - * @static - * @memberOf _ - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'user': 'fred', 'age': 40 }; - * - * _.isMatch(object, { 'age': 40 }); - * // => true - * - * _.isMatch(object, { 'age': 36 }); - * // => false - */ - isMatch(object: Object, source: Object): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.isMatch - */ - isMatch(source: Object): boolean; - } - - //_.isMatchWith - interface isMatchWithCustomizer { - (value: any, other: any, indexOrKey?: number|string): boolean; - } - - interface LoDashStatic { - /** - * This method is like `_.isMatch` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined` comparisons - * are handled by the method instead. The `customizer` is invoked with three - * arguments: (objValue, srcValue, index|key, object, source). - * - * @static - * @memberOf _ - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, srcValue) { - * if (isGreeting(objValue) && isGreeting(srcValue)) { - * return true; - * } - * } - * - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatchWith(object, source, customizer); - * // => true - */ - isMatchWith(object: Object, source: Object, customizer: isMatchWithCustomizer): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.isMatchWith - */ - isMatchWith(source: Object, customizer: isMatchWithCustomizer): boolean; - } - - //_.isNaN - interface LoDashStatic { - /** - * Checks if value is NaN. - * - * Note: This method is not the same as isNaN which returns true for undefined and other non-numeric values. - * - * @param value The value to check. - * @return Returns true if value is NaN, else false. - */ - isNaN(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isNaN - */ - isNaN(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isNaN - */ - isNaN(): LoDashExplicitWrapper; - } - - //_.isNative - interface LoDashStatic { - /** - * Checks if value is a native function. - * @param value The value to check. - * - * @retrun Returns true if value is a native function, else false. - */ - isNative(value: any): value is Function; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNative - */ - isNative(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNative - */ - isNative(): LoDashExplicitWrapper; - } - - //_.isNil - interface LoDashStatic { - /** - * Checks if `value` is `null` or `undefined`. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. - * @example - * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true - * - * _.isNil(NaN); - * // => false - */ - isNil(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNil - */ - isNil(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNil - */ - isNil(): LoDashExplicitWrapper; - } - - //_.isNull - interface LoDashStatic { - /** - * Checks if value is null. - * - * @param value The value to check. - * @return Returns true if value is null, else false. - */ - isNull(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNull - */ - isNull(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNull - */ - isNull(): LoDashExplicitWrapper; - } - - //_.isNumber - interface LoDashStatic { - /** - * Checks if value is classified as a Number primitive or object. - * - * Note: To exclude Infinity, -Infinity, and NaN, which are classified as numbers, use the _.isFinite method. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isNumber(value?: any): value is number; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isNumber - */ - isNumber(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isNumber - */ - isNumber(): LoDashExplicitWrapper; - } - - //_.isObject - interface LoDashStatic { - /** - * Checks if value is the language type of Object. (e.g. arrays, functions, objects, regexes, new Number(0), - * and new String('')) - * - * @param value The value to check. - * @return Returns true if value is an object, else false. - */ - isObject(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isObject - */ - isObject(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isObject - */ - isObject(): LoDashExplicitWrapper; - } - - //_.isObjectLike - interface LoDashStatic { - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - isObjectLike(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isObjectLike - */ - isObjectLike(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isObjectLike - */ - isObjectLike(): LoDashExplicitWrapper; - } - - //_.isPlainObject - interface LoDashStatic { - /** - * Checks if value is a plain object, that is, an object created by the Object constructor or one with a - * [[Prototype]] of null. - * - * Note: This method assumes objects created by the Object constructor have no inherited enumerable properties. - * - * @param value The value to check. - * @return Returns true if value is a plain object, else false. - */ - isPlainObject(value?: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isPlainObject - */ - isPlainObject(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isPlainObject - */ - isPlainObject(): LoDashExplicitWrapper; - } - - //_.isRegExp - interface LoDashStatic { - /** - * Checks if value is classified as a RegExp object. - * @param value The value to check. - * - * @return Returns true if value is correctly classified, else false. - */ - isRegExp(value?: any): value is RegExp; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isRegExp - */ - isRegExp(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isRegExp - */ - isRegExp(): LoDashExplicitWrapper; - } - - //_.isSafeInteger - interface LoDashStatic { - /** - * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 - * double precision number which isn't the result of a rounded unsafe integer. - * - * **Note:** This method is based on [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. - * @example - * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false - * - * _.isSafeInteger(Infinity); - * // => false - * - * _.isSafeInteger('3'); - * // => false - */ - isSafeInteger(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isSafeInteger - */ - isSafeInteger(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isSafeInteger - */ - isSafeInteger(): LoDashExplicitWrapper; - } - - //_.isSet - interface LoDashStatic { - /** - * Checks if value is classified as a Set object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isSet(value?: any): value is Set; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isSet - */ - isSet(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isSet - */ - isSet(): LoDashExplicitWrapper; - } - - //_.isString - interface LoDashStatic { - /** - * Checks if value is classified as a String primitive or object. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isString(value?: any): value is string; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isString - */ - isString(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isString - */ - isString(): LoDashExplicitWrapper; - } - - //_.isSymbol - interface LoDashStatic { - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - isSymbol(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isSymbol - */ - isSymbol(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isSymbol - */ - isSymbol(): LoDashExplicitWrapper; - } - - //_.isTypedArray - interface LoDashStatic { - /** - * Checks if value is classified as a typed array. - * - * @param value The value to check. - * @return Returns true if value is correctly classified, else false. - */ - isTypedArray(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isTypedArray - */ - isTypedArray(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isTypedArray - */ - isTypedArray(): LoDashExplicitWrapper; - } - - //_.isUndefined - interface LoDashStatic { - /** - * Checks if value is undefined. - * - * @param value The value to check. - * @return Returns true if value is undefined, else false. - */ - isUndefined(value: any): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * see _.isUndefined - */ - isUndefined(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * see _.isUndefined - */ - isUndefined(): LoDashExplicitWrapper; - } - - //_.isWeakMap - interface LoDashStatic { - /** - * Checks if value is classified as a WeakMap object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isWeakMap(value?: any): value is WeakMap; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isSet - */ - isWeakMap(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isSet - */ - isWeakMap(): LoDashExplicitWrapper; - } - - //_.isWeakSet - interface LoDashStatic { - /** - * Checks if value is classified as a WeakSet object. - * - * @param value The value to check. - * @returns Returns true if value is correctly classified, else false. - */ - isWeakSet(value?: any): value is WeakSet; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.isWeakSet - */ - isWeakSet(): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.isWeakSet - */ - isWeakSet(): LoDashExplicitWrapper; - } - - //_.lt - interface LoDashStatic { - /** - * Checks if value is less than other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is less than other, else false. - */ - lt( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.lt - */ - lt(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.lt - */ - lt(other: any): LoDashExplicitWrapper; - } - - //_.lte - interface LoDashStatic { - /** - * Checks if value is less than or equal to other. - * - * @param value The value to compare. - * @param other The other value to compare. - * @return Returns true if value is less than or equal to other, else false. - */ - lte( - value: any, - other: any - ): boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.lte - */ - lte(other: any): boolean; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.lte - */ - lte(other: any): LoDashExplicitWrapper; - } - - //_.toArray - interface LoDashStatic { - /** - * Converts value to an array. - * - * @param value The value to convert. - * @return Returns the converted array. - */ - toArray(value: List|Dictionary|NumericDictionary): T[]; - - /** - * @see _.toArray - */ - toArray(value: TValue): TResult[]; - - /** - * @see _.toArray - */ - toArray(value?: any): TResult[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.toArray - */ - toArray(): LoDashExplicitArrayWrapper; - } - - //_.toPlainObject - interface LoDashStatic { - /** - * Converts value to a plain object flattening inherited enumerable properties of value to own properties - * of the plain object. - * - * @param value The value to convert. - * @return Returns the converted plain object. - */ - toPlainObject(value?: any): TResult; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toPlainObject - */ - toPlainObject(): LoDashImplicitObjectWrapper; - } - - //_.toInteger - interface LoDashStatic { - /** - * Converts `value` to an integer. - * - * **Note:** This function is loosely based on [`ToInteger`](http://www.ecma-international.org/ecma-262/6.0/#sec-tointeger). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toInteger(3); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toInteger('3'); - * // => 3 - */ - toInteger(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toInteger - */ - toInteger(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toInteger - */ - toInteger(): LoDashExplicitWrapper; - } - - //_.toLength - interface LoDashStatic { - /** - * Converts `value` to an integer suitable for use as the length of an - * array-like object. - * - * **Note:** This method is based on [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength). - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @return {number} Returns the converted integer. - * @example - * - * _.toLength(3); - * // => 3 - * - * _.toLength(Number.MIN_VALUE); - * // => 0 - * - * _.toLength(Infinity); - * // => 4294967295 - * - * _.toLength('3'); - * // => 3 - */ - toLength(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toLength - */ - toLength(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toLength - */ - toLength(): LoDashExplicitWrapper; - } - - //_.toNumber - interface LoDashStatic { - /** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3); - * // => 3 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3'); - * // => 3 - */ - toNumber(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toNumber - */ - toNumber(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toNumber - */ - toNumber(): LoDashExplicitWrapper; - } - - //_.toSafeInteger - interface LoDashStatic { - /** - * Converts `value` to a safe integer. A safe integer can be compared and - * represented correctly. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toSafeInteger(3); - * // => 3 - * - * _.toSafeInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toSafeInteger(Infinity); - * // => 9007199254740991 - * - * _.toSafeInteger('3'); - * // => 3 - */ - toSafeInteger(value: any): number; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toSafeInteger - */ - toSafeInteger(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toSafeInteger - */ - toSafeInteger(): LoDashExplicitWrapper; - } - - //_.toString DUMMY - interface LoDashStatic { - /** - * Converts `value` to a string if it's not one. An empty string is returned - * for `null` and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @category Lang - * @param {*} value The value to process. - * @returns {string} Returns the string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - toString(value: any): string; - } - - /******** - * Math * - ********/ - - //_.add - interface LoDashStatic { - /** - * Adds two numbers. - * - * @param augend The first number to add. - * @param addend The second number to add. - * @return Returns the sum. - */ - add( - augend: number, - addend: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.add - */ - add(addend: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.add - */ - add(addend: number): LoDashExplicitWrapper; - } - - //_.ceil - interface LoDashStatic { - /** - * Calculates n rounded up to precision. - * - * @param n The number to round up. - * @param precision The precision to round up to. - * @return Returns the rounded up number. - */ - ceil( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.ceil - */ - ceil(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.ceil - */ - ceil(precision?: number): LoDashExplicitWrapper; - } - - //_.floor - interface LoDashStatic { - /** - * Calculates n rounded down to precision. - * - * @param n The number to round down. - * @param precision The precision to round down to. - * @return Returns the rounded down number. - */ - floor( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.floor - */ - floor(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.floor - */ - floor(precision?: number): LoDashExplicitWrapper; - } - - //_.max - interface LoDashStatic { - /** - * Computes the maximum value of `array`. If `array` is empty or falsey - * `undefined` is returned. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {*} Returns the maximum value. - */ - max( - collection: List - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.max - */ - max(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.max - */ - max(): T; - } - - //_.maxBy - interface LoDashStatic { - /** - * This method is like `_.max` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * the value is ranked. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {*} Returns the maximum value. - * @example - * - * var objects = [{ 'n': 1 }, { 'n': 2 }]; - * - * _.maxBy(objects, function(o) { return o.a; }); - * // => { 'n': 2 } - * - * // using the `_.property` iteratee shorthand - * _.maxBy(objects, 'n'); - * // => { 'n': 2 } - */ - maxBy( - collection: List, - iteratee?: ListIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - collection: List|Dictionary, - iteratee?: string - ): T; - - /** - * @see _.maxBy - */ - maxBy( - collection: List|Dictionary, - whereValue?: TObject - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.maxBy - */ - maxBy( - iteratee?: ListIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - iteratee?: string - ): T; - - /** - * @see _.maxBy - */ - maxBy( - whereValue?: TObject - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.maxBy - */ - maxBy( - iteratee?: ListIterator|DictionaryIterator - ): T; - - /** - * @see _.maxBy - */ - maxBy( - iteratee?: string - ): T; - - /** - * @see _.maxBy - */ - maxBy( - whereValue?: TObject - ): T; - } - - //_.mean - interface LoDashStatic { - /** - * Computes the mean of the values in `array`. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {number} Returns the mean. - * @example - * - * _.mean([4, 2, 8, 6]); - * // => 5 - */ - mean( - collection: List - ): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.mean - */ - mean(): number; - - /** - * @see _.mean - */ - mean(): number; - } - - //_.min - interface LoDashStatic { - /** - * Computes the minimum value of `array`. If `array` is empty or falsey - * `undefined` is returned. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {*} Returns the minimum value. - */ - min( - collection: List - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.min - */ - min(): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.min - */ - min(): T; - } - - //_.minBy - interface LoDashStatic { - /** - * This method is like `_.min` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * the value is ranked. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {*} Returns the minimum value. - * @example - * - * var objects = [{ 'n': 1 }, { 'n': 2 }]; - * - * _.minBy(objects, function(o) { return o.a; }); - * // => { 'n': 1 } - * - * // using the `_.property` iteratee shorthand - * _.minBy(objects, 'n'); - * // => { 'n': 1 } - */ - minBy( - collection: List, - iteratee?: ListIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - collection: Dictionary, - iteratee?: DictionaryIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - collection: List|Dictionary, - iteratee?: string - ): T; - - /** - * @see _.minBy - */ - minBy( - collection: List|Dictionary, - whereValue?: TObject - ): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.minBy - */ - minBy( - iteratee?: ListIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - iteratee?: string - ): T; - - /** - * @see _.minBy - */ - minBy( - whereValue?: TObject - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.minBy - */ - minBy( - iteratee?: ListIterator|DictionaryIterator - ): T; - - /** - * @see _.minBy - */ - minBy( - iteratee?: string - ): T; - - /** - * @see _.minBy - */ - minBy( - whereValue?: TObject - ): T; - } - - //_.round - interface LoDashStatic { - /** - * Calculates n rounded to precision. - * - * @param n The number to round. - * @param precision The precision to round to. - * @return Returns the rounded number. - */ - round( - n: number, - precision?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.round - */ - round(precision?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.round - */ - round(precision?: number): LoDashExplicitWrapper; - } - - //_.sum - interface LoDashStatic { - /** - * Computes the sum of the values in `array`. - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @returns {number} Returns the sum. - * @example - * - * _.sum([4, 2, 8, 6]); - * // => 20 - */ - sum(collection: List): number; - - /** - * @see _.sum - */ - sum(collection: List|Dictionary): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sum - */ - sum(): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sum - **/ - sum(): number; - - /** - * @see _.sum - */ - sum(): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - - /** - * @see _.sum - */ - sum(): LoDashExplicitWrapper; - } - - //_.sumBy - interface LoDashStatic { - /** - * This method is like `_.sum` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the value to be summed. - * The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Math - * @param {Array} array The array to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the sum. - * @example - * - * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }]; - * - * _.sumBy(objects, function(o) { return o.n; }); - * // => 20 - * - * // using the `_.property` iteratee shorthand - * _.sumBy(objects, 'n'); - * // => 20 - */ - sumBy( - collection: List, - iteratee: ListIterator - ): number; - - /** - * @see _.sumBy - **/ - sumBy( - collection: Dictionary, - iteratee: DictionaryIterator - ): number; - - /** - * @see _.sumBy - */ - sumBy( - collection: List|Dictionary, - iteratee: string - ): number; - - /** - * @see _.sumBy - */ - sumBy(collection: List|Dictionary): number; - - /** - * @see _.sumBy - */ - sumBy(collection: List|Dictionary): number; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.sumBy - */ - sumBy( - iteratee: ListIterator - ): number; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): number; - - /** - * @see _.sumBy - */ - sumBy(): number; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.sumBy - **/ - sumBy( - iteratee: ListIterator|DictionaryIterator - ): number; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): number; - - /** - * @see _.sumBy - */ - sumBy(): number; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.sumBy - */ - sumBy( - iteratee: ListIterator - ): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.sumBy - */ - sumBy( - iteratee: ListIterator|DictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(iteratee: string): LoDashExplicitWrapper; - - /** - * @see _.sumBy - */ - sumBy(): LoDashExplicitWrapper; - } - - /********** - * Number * - **********/ - - //_.subtract - interface LoDashStatic { - /** - * Subtract two numbers. - * - * @static - * @memberOf _ - * @category Math - * @param {number} minuend The first number in a subtraction. - * @param {number} subtrahend The second number in a subtraction. - * @returns {number} Returns the difference. - * @example - * - * _.subtract(6, 4); - * // => 2 - */ - subtract( - minuend: number, - subtrahend: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.subtract - */ - subtract( - subtrahend: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.subtract - */ - subtract( - subtrahend: number - ): LoDashExplicitWrapper; - } - - //_.clamp - interface LoDashStatic { - /** - * Clamps `number` within the inclusive `lower` and `upper` bounds. - * - * @static - * @memberOf _ - * @category Number - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - * @example - * - * _.clamp(-10, -5, 5); - * // => -5 - * - * _.clamp(10, -5, 5); - * // => 5 - */ - clamp( - number: number, - lower: number, - upper: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.clamp - */ - clamp( - lower: number, - upper: number - ): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.clamp - */ - clamp( - lower: number, - upper: number - ): LoDashExplicitWrapper; - } - - //_.inRange - interface LoDashStatic { - /** - * Checks if n is between start and up to but not including, end. If end is not specified it’s set to start - * with start then set to 0. - * - * @param n The number to check. - * @param start The start of the range. - * @param end The end of the range. - * @return Returns true if n is in the range, else false. - */ - inRange( - n: number, - start: number, - end: number - ): boolean; - - - /** - * @see _.inRange - */ - inRange( - n: number, - end: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.inRange - */ - inRange( - start: number, - end: number - ): boolean; - - /** - * @see _.inRange - */ - inRange(end: number): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.inRange - */ - inRange( - start: number, - end: number - ): LoDashExplicitWrapper; - - /** - * @see _.inRange - */ - inRange(end: number): LoDashExplicitWrapper; - } - - //_.random - interface LoDashStatic { - /** - * Produces a random number between min and max (inclusive). If only one argument is provided a number between - * 0 and the given number is returned. If floating is true, or either min or max are floats, a floating-point - * number is returned instead of an integer. - * - * @param min The minimum possible value. - * @param max The maximum possible value. - * @param floating Specify returning a floating-point number. - * @return Returns the random number. - */ - random( - min?: number, - max?: number, - floating?: boolean - ): number; - - /** - * @see _.random - */ - random( - min?: number, - floating?: boolean - ): number; - - /** - * @see _.random - */ - random(floating?: boolean): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.random - */ - random( - max?: number, - floating?: boolean - ): number; - - /** - * @see _.random - */ - random(floating?: boolean): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.random - */ - random( - max?: number, - floating?: boolean - ): LoDashExplicitWrapper; - - /** - * @see _.random - */ - random(floating?: boolean): LoDashExplicitWrapper; - } - - /********** - * Object * - **********/ - - //_.assign - interface LoDashStatic { - /** - * Assigns own enumerable properties of source objects to the destination - * object. Source objects are applied from left to right. Subsequent sources - * overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * function Foo() { - * this.c = 3; - * } - * - * function Bar() { - * this.e = 5; - * } - * - * Foo.prototype.d = 4; - * Bar.prototype.f = 6; - * - * _.assign({ 'a': 1 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3, 'e': 5 } - */ - assign( - object: TObject, - source: TSource - ): TResult; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TResult; - - /** - * @see assign - */ - assign( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TResult; - - /** - * @see assign - */ - assign - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TResult; - - /** - * @see _.assign - */ - assign(object: TObject): TObject; - - /** - * @see _.assign - */ - assign( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assign - */ - assign( - source: TSource - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assign - */ - assign( - source: TSource - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - assign( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - assign(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.assignWith - interface AssignCustomizer { - (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}): any; - } - - interface LoDashStatic { - /** - * This method is like `_.assign` except that it accepts `customizer` which - * is invoked to produce the assigned values. If `customizer` returns `undefined` - * assignment is handled by the method instead. The `customizer` is invoked - * with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - assignWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignWith - */ - assignWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignWith - */ - assignWith - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TResult; - - /** - * @see _.assignWith - */ - assignWith(object: TObject): TObject; - - /** - * @see _.assignWith - */ - assignWith( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assignWith - */ - assignWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(): LoDashImplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assignWith - */ - assignWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignWith - */ - assignWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(): LoDashExplicitObjectWrapper; - - /** - * @see _.assignWith - */ - assignWith(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.assignIn - interface LoDashStatic { - /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * function Bar() { - * this.d = 4; - * } - * - * Foo.prototype.c = 3; - * Bar.prototype.e = 5; - * - * _.assignIn({ 'a': 1 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5 } - */ - assignIn( - object: TObject, - source: TSource - ): TResult; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TResult; - - /** - * @see assignIn - */ - assignIn( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TResult; - - /** - * @see assignIn - */ - assignIn - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TResult; - - /** - * @see _.assignIn - */ - assignIn(object: TObject): TObject; - - /** - * @see _.assignIn - */ - assignIn( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assignIn - */ - assignIn( - source: TSource - ): LoDashImplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(): LoDashImplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assignIn - */ - assignIn( - source: TSource - ): LoDashExplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitObjectWrapper; - - /** - * @see assignIn - */ - assignIn( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(): LoDashExplicitObjectWrapper; - - /** - * @see _.assignIn - */ - assignIn(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.assignInWith - interface AssignCustomizer { - (objectValue: any, sourceValue: any, key?: string, object?: {}, source?: {}): any; - } - - interface LoDashStatic { - /** - * This method is like `_.assignIn` except that it accepts `customizer` which - * is invoked to produce the assigned values. If `customizer` returns `undefined` - * assignment is handled by the method instead. The `customizer` is invoked - * with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @alias extendWith - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - assignInWith( - object: TObject, - source: TSource, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignInWith - */ - assignInWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): TResult; - - /** - * @see assignInWith - */ - assignInWith - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): TResult; - - /** - * @see _.assignInWith - */ - assignInWith(object: TObject): TObject; - - /** - * @see _.assignInWith - */ - assignInWith( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assignInWith - */ - assignInWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(): LoDashImplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assignInWith - */ - assignInWith( - source: TSource, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assignInWith - */ - assignInWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(): LoDashExplicitObjectWrapper; - - /** - * @see _.assignInWith - */ - assignInWith(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.create - interface LoDashStatic { - /** - * Creates an object that inherits from the given prototype object. If a properties object is provided its own - * enumerable properties are assigned to the created object. - * - * @param prototype The object to inherit from. - * @param properties The properties to assign to the object. - * @return Returns the new object. - */ - create( - prototype: T, - properties?: U - ): T & U; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.create - */ - create(properties?: U): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.create - */ - create(properties?: U): LoDashExplicitObjectWrapper; - } - - //_.defaults - interface LoDashStatic { - /** - * Assigns own enumerable properties of source object(s) to the destination object for all destination - * properties that resolve to undefined. Once a property is set, additional values of the same property are - * ignored. - * - * Note: This method mutates object. - * - * @param object The destination object. - * @param sources The source objects. - * @return The destination object. - */ - defaults( - object: Obj, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - source2: S2, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - source2: S2, - source3: S3, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: Obj, - source1: S1, - source2: S2, - source3: S3, - source4: S4, - ...sources: {}[] - ): TResult; - - /** - * @see _.defaults - */ - defaults( - object: {}, - ...sources: {}[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.defaults - */ - defaults( - source1: S1, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - source4: S4, - ...sources: {}[] - ): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(): LoDashImplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(...sources: {}[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.defaults - */ - defaults( - source1: S1, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults( - source1: S1, - source2: S2, - source3: S3, - source4: S4, - ...sources: {}[] - ): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(): LoDashExplicitObjectWrapper; - - /** - * @see _.defaults - */ - defaults(...sources: {}[]): LoDashExplicitObjectWrapper; - } - - //_.defaultsDeep - interface LoDashStatic { - /** - * This method is like _.defaults except that it recursively assigns default properties. - * @param object The destination object. - * @param sources The source objects. - * @return Returns object. - **/ - defaultsDeep( - object: T, - ...sources: any[]): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.defaultsDeep - **/ - defaultsDeep(...sources: any[]): LoDashImplicitObjectWrapper - } - - //_.extend - interface LoDashStatic { - /** - * @see assign - */ - extend( - object: TObject, - source: TSource, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see assign - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see assign - */ - extend( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see assign - */ - extend - ( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer?: AssignCustomizer - ): TResult; - - /** - * @see _.assign - */ - extend(object: TObject): TObject; - - /** - * @see _.assign - */ - extend( - object: TObject, ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.assign - */ - extend( - source: TSource, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer?: AssignCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(): LoDashImplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(...otherArgs: any[]): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.assign - */ - extend( - source: TSource, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see assign - */ - extend( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer?: AssignCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(): LoDashExplicitObjectWrapper; - - /** - * @see _.assign - */ - extend(...otherArgs: any[]): LoDashExplicitObjectWrapper; - } - - //_.findKey - interface LoDashStatic { - /** - * This method is like _.find except that it returns the key of the first element predicate returns truthy for - * instead of the element itself. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param object The object to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the key of the matched element, else undefined. - */ - findKey( - object: TObject, - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - object: TObject, - predicate?: ObjectIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - object: TObject, - predicate?: string - ): string; - - /** - * @see _.findKey - */ - findKey, TObject>( - object: TObject, - predicate?: TWhere - ): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findKey - */ - findKey( - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - predicate?: ObjectIterator - ): string; - - /** - * @see _.findKey - */ - findKey( - predicate?: string - ): string; - - /** - * @see _.findKey - */ - findKey>( - predicate?: TWhere - ): string; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findKey - */ - findKey( - predicate?: DictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findKey - */ - findKey( - predicate?: ObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findKey - */ - findKey( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findKey - */ - findKey>( - predicate?: TWhere - ): LoDashExplicitWrapper; - } - - //_.findLastKey - interface LoDashStatic { - /** - * This method is like _.findKey except that it iterates over elements of a collection in the opposite order. - * - * If a property name is provided for predicate the created _.property style callback returns the property - * value of the given element. - * - * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for - * elements that have a matching property value, else false. - * - * If an object is provided for predicate the created _.matches style callback returns true for elements that - * have the properties of the given object, else false. - * - * @param object The object to search. - * @param predicate The function invoked per iteration. - * @param thisArg The this binding of predicate. - * @return Returns the key of the matched element, else undefined. - */ - findLastKey( - object: TObject, - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - object: TObject, - predicate?: ObjectIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - object: TObject, - predicate?: string - ): string; - - /** - * @see _.findLastKey - */ - findLastKey, TObject>( - object: TObject, - predicate?: TWhere - ): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: DictionaryIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: ObjectIterator - ): string; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: string - ): string; - - /** - * @see _.findLastKey - */ - findLastKey>( - predicate?: TWhere - ): string; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: DictionaryIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: ObjectIterator - ): LoDashExplicitWrapper; - - /** - * @see _.findLastKey - */ - findLastKey( - predicate?: string - ): LoDashExplicitWrapper; - - /** - * @see _.findLastKey - */ - findLastKey>( - predicate?: TWhere - ): LoDashExplicitWrapper; - } - - //_.forIn - interface LoDashStatic { - /** - * Iterates over own and inherited enumerable properties of an object invoking iteratee for each property. The - * iteratee is bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may - * exit iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forIn( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forIn - */ - forIn( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forIn - */ - forIn( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forIn - */ - forIn( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.forInRight - interface LoDashStatic { - /** - * This method is like _.forIn except that it iterates over properties of object in the opposite order. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forInRight( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forInRight - */ - forInRight( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forInRight - */ - forInRight( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forInRight - */ - forInRight( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.forOwn - interface LoDashStatic { - /** - * Iterates over own enumerable properties of an object invoking iteratee for each property. The iteratee is - * bound to thisArg and invoked with three arguments: (value, key, object). Iteratee functions may exit - * iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forOwn( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forOwn - */ - forOwn( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forOwn - */ - forOwn( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forOwn - */ - forOwn( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.forOwnRight - interface LoDashStatic { - /** - * This method is like _.forOwn except that it iterates over properties of object in the opposite order. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns object. - */ - forOwnRight( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.forOwnRight - */ - forOwnRight( - object: T, - iteratee?: ObjectIterator - ): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.forOwnRight - */ - forOwnRight( - iteratee?: DictionaryIterator - ): _.LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.forOwnRight - */ - forOwnRight( - iteratee?: DictionaryIterator - ): _.LoDashExplicitObjectWrapper; - } - - //_.functions - interface LoDashStatic { - /** - * Creates an array of function property names from own enumerable properties - * of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the new array of property names. - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] - */ - functions(object: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.functions - */ - functions(): _.LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.functions - */ - functions(): _.LoDashExplicitArrayWrapper; - } - - //_.functionsIn - interface LoDashStatic { - /** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the new array of property names. - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] - */ - functionsIn(object: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.functionsIn - */ - functionsIn(): _.LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.functionsIn - */ - functionsIn(): _.LoDashExplicitArrayWrapper; - } - - //_.get - interface LoDashStatic { - /** - * Gets the property value at path of object. If the resolved value is undefined the defaultValue is used - * in its place. - * - * @param object The object to query. - * @param path The path of the property to get. - * @param defaultValue The value returned if the resolved value is undefined. - * @return Returns the resolved value. - */ - get( - object: TObject, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - - /** - * @see _.get - */ - get( - object: any, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.get - */ - get( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - //_.has - interface LoDashStatic { - /** - * Checks if `path` is a direct property of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': { 'c': 3 } } }; - * var other = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b.c'); - * // => true - * - * _.has(object, ['a', 'b', 'c']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ - has( - object: T, - path: StringRepresentable|StringRepresentable[] - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.has - */ - has(path: StringRepresentable|StringRepresentable[]): boolean; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.has - */ - has(path: StringRepresentable|StringRepresentable[]): LoDashExplicitWrapper; - } - - //_.hasIn - interface LoDashStatic { - /** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': _.create({ 'c': 3 }) }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b.c'); - * // => true - * - * _.hasIn(object, ['a', 'b', 'c']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ - hasIn( - object: T, - path: StringRepresentable|StringRepresentable[] - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.hasIn - */ - hasIn(path: StringRepresentable|StringRepresentable[]): boolean; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.hasIn - */ - hasIn(path: StringRepresentable|StringRepresentable[]): LoDashExplicitWrapper; - } - - //_.invert - interface LoDashStatic { - /** - * Creates an object composed of the inverted keys and values of object. If object contains duplicate values, - * subsequent values overwrite property assignments of previous values unless multiValue is true. - * - * @param object The object to invert. - * @param multiValue Allow multiple values per key. - * @return Returns the new inverted object. - */ - invert( - object: T, - multiValue?: boolean - ): TResult; - - /** - * @see _.invert - */ - invert( - object: Object, - multiValue?: boolean - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invert - */ - invert(multiValue?: boolean): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invert - */ - invert(multiValue?: boolean): LoDashExplicitObjectWrapper; - } - - //_.inverBy - interface InvertByIterator { - (value: T): any; - } - - interface LoDashStatic { - /** - * This method is like _.invert except that the inverted object is generated from the results of running each - * element of object through iteratee. The corresponding inverted value of each inverted key is an array of - * keys responsible for generating the inverted value. The iteratee is invoked with one argument: (value). - * - * @param object The object to invert. - * @param interatee The iteratee invoked per element. - * @return Returns the new inverted object. - */ - invertBy( - object: Object, - interatee?: InvertByIterator|string - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: _.Dictionary|_.NumericDictionary, - interatee?: InvertByIterator|string - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: Object, - interatee?: W - ): Dictionary; - - /** - * @see _.invertBy - */ - invertBy( - object: _.Dictionary, - interatee?: W - ): Dictionary; - } - - interface LoDashImplicitWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.invertBy - */ - invertBy( - interatee?: InvertByIterator|string - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.invertBy - */ - invertBy( - interatee?: W - ): LoDashExplicitObjectWrapper>; - } - - //_.keys - interface LoDashStatic { - /** - * Creates an array of the own enumerable property names of object. - * - * Note: Non-object values are coerced to objects. See the ES spec for more details. - * - * @param object The object to query. - * @return Returns the array of property names. - */ - keys(object?: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.keys - */ - keys(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.keys - */ - keys(): LoDashExplicitArrayWrapper; - } - - //_.keysIn - interface LoDashStatic { - /** - * Creates an array of the own and inherited enumerable property names of object. - * - * Note: Non-object values are coerced to objects. - * - * @param object The object to query. - * @return An array of property names. - */ - keysIn(object?: any): string[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.keysIn - */ - keysIn(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.keysIn - */ - keysIn(): LoDashExplicitArrayWrapper; - } - - //_.mapKeys - interface LoDashStatic { - /** - * The opposite of _.mapValues; this method creates an object with the same values as object and keys generated - * by running each own enumerable property of object through iteratee. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param thisArg The this binding of iteratee. - * @return Returns the new mapped object. - */ - mapKeys( - object: List, - iteratee?: ListIterator - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: Dictionary, - iteratee?: DictionaryIterator - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: List|Dictionary, - iteratee?: TObject - ): Dictionary; - - /** - * @see _.mapKeys - */ - mapKeys( - object: List|Dictionary, - iteratee?: string - ): Dictionary; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator|DictionaryIterator - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: ListIterator|DictionaryIterator - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: TObject - ): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapKeys - */ - mapKeys( - iteratee?: string - ): LoDashExplicitObjectWrapper>; - } - - //_.mapValues - interface LoDashStatic { - /** - * Creates an object with the same keys as object and values generated by running each own - * enumerable property of object through iteratee. The iteratee function is bound to thisArg - * and invoked with three arguments: (value, key, object). - * - * If a property name is provided iteratee the created "_.property" style callback returns - * the property value of the given element. - * - * If a value is also provided for thisArg the creted "_.matchesProperty" style callback returns - * true for elements that have a matching property value, else false;. - * - * If an object is provided for iteratee the created "_.matches" style callback returns true - * for elements that have the properties of the given object, else false. - * - * @param {Object} object The object to iterate over. - * @param {Function|Object|string} [iteratee=_.identity] The function invoked per iteration. - * @param {Object} [thisArg] The `this` binding of `iteratee`. - * @return {Object} Returns the new mapped object. - */ - mapValues(obj: Dictionary, callback: ObjectIterator): Dictionary; - mapValues(obj: Dictionary, where: Dictionary): Dictionary; - mapValues(obj: T, pluck: string): TMapped; - mapValues(obj: T, callback: ObjectIterator): T; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mapValues - * TValue is the type of the property values of T. - * TResult is the type output by the ObjectIterator function - */ - mapValues(callback: ObjectIterator): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the property specified by pluck. - * T should be a Dictionary> - */ - mapValues(pluck: string): LoDashImplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the properties of each object in the values of T - * T should be a Dictionary> - */ - mapValues(where: Dictionary): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.mapValues - * TValue is the type of the property values of T. - * TResult is the type output by the ObjectIterator function - */ - mapValues(callback: ObjectIterator): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the property specified by pluck. - * T should be a Dictionary> - */ - mapValues(pluck: string): LoDashExplicitObjectWrapper>; - - /** - * @see _.mapValues - * TResult is the type of the properties of each object in the values of T - * T should be a Dictionary> - */ - mapValues(where: Dictionary): LoDashExplicitObjectWrapper; - } - - //_.merge - interface LoDashStatic { - /** - * Recursively merges own and inherited enumerable properties of source - * objects into the destination object, skipping source properties that resolve - * to `undefined`. Array and plain object properties are merged recursively. - * Other objects and value types are overridden by assignment. Source objects - * are applied from left to right. Subsequent sources overwrite property - * assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * var users = { - * 'data': [{ 'user': 'barney' }, { 'user': 'fred' }] - * }; - * - * var ages = { - * 'data': [{ 'age': 36 }, { 'age': 40 }] - * }; - * - * _.merge(users, ages); - * // => { 'data': [{ 'user': 'barney', 'age': 36 }, { 'user': 'fred', 'age': 40 }] } - */ - merge( - object: TObject, - source: TSource - ): TObject & TSource; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2 - ): TObject & TSource1 & TSource2; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.merge - */ - merge( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.merge - */ - merge( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.merge - */ - merge( - source: TSource - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4 - ): LoDashImplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - ...otherArgs: any[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.merge - */ - merge( - source: TSource - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - source1: TSource1, - source2: TSource2, - source3: TSource3 - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - ): LoDashExplicitObjectWrapper; - - /** - * @see _.merge - */ - merge( - ...otherArgs: any[] - ): LoDashExplicitObjectWrapper; - } - - //_.mergeWith - interface MergeWithCustomizer { - (value: any, srcValue: any, key?: string, object?: Object, source?: Object): any; - } - - interface LoDashStatic { - /** - * This method is like `_.merge` except that it accepts `customizer` which - * is invoked to produce the merged values of the destination and source - * properties. If `customizer` returns `undefined` merging is handled by the - * method instead. The `customizer` is invoked with seven arguments: - * (objValue, srcValue, key, object, source, stack). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} customizer The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * if (_.isArray(objValue)) { - * return objValue.concat(srcValue); - * } - * } - * - * var object = { - * 'fruits': ['apple'], - * 'vegetables': ['beet'] - * }; - * - * var other = { - * 'fruits': ['banana'], - * 'vegetables': ['carrot'] - * }; - * - * _.merge(object, other, customizer); - * // => { 'fruits': ['apple', 'banana'], 'vegetables': ['beet', 'carrot'] } - */ - mergeWith( - object: TObject, - source: TSource, - customizer: MergeWithCustomizer - ): TObject & TSource; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2 & TSource3; - - /** - * @see _.mergeWith - */ - mergeWith( - object: TObject, - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: MergeWithCustomizer - ): TObject & TSource1 & TSource2 & TSource3 & TSource4; - - /** - * @see _.mergeWith - */ - mergeWith( - object: any, - ...otherArgs: any[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mergeWith - */ - mergeWith( - source: TSource, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - source1: TSource1, - source2: TSource2, - source3: TSource3, - source4: TSource4, - customizer: MergeWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mergeWith - */ - mergeWith( - ...otherArgs: any[] - ): LoDashImplicitObjectWrapper; - } - - //_.omit - interface LoDashStatic { - /** - * The opposite of `_.pick`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that are not omitted. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [props] The property names to omit, specified - * individually or in arrays.. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omit(object, ['a', 'c']); - * // => { 'b': '2' } - */ - - omit( - object: T, - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - - /** - * @see _.omit - */ - omit( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - - /** - * @see _.omit - */ - omit( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashExplicitObjectWrapper; - } - - //_.omitBy - interface LoDashStatic { - /** - * The opposite of `_.pickBy`; this method creates an object composed of the - * own and inherited enumerable properties of `object` that `predicate` - * doesn't return truthy for. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {Function|Object|string} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omitBy(object, _.isNumber); - * // => { 'b': '2' } - */ - omitBy( - object: T, - predicate: ObjectIterator - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.omitBy - */ - omitBy( - predicate: ObjectIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.omitBy - */ - omitBy( - predicate: ObjectIterator - ): LoDashExplicitObjectWrapper; - } - - //_.pick - interface LoDashStatic { - /** - * Creates an object composed of the picked `object` properties. - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [props] The property names to pick, specified - * individually or in arrays. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } - */ - pick( - object: T, - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pick - */ - pick( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pick - */ - pick( - ...predicate: (StringRepresentable|StringRepresentable[])[] - ): LoDashExplicitObjectWrapper; - } - - //_.pickBy - interface LoDashStatic { - /** - * Creates an object composed of the `object` properties `predicate` returns - * truthy for. The predicate is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {Function|Object|string} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pickBy(object, _.isNumber); - * // => { 'a': 1, 'c': 3 } - */ - pickBy( - object: T, - predicate?: ObjectIterator - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.pickBy - */ - pickBy( - predicate?: ObjectIterator - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.pickBy - */ - pickBy( - predicate?: ObjectIterator - ): LoDashExplicitObjectWrapper; - } - - //_.result - interface LoDashStatic { - /** - * This method is like _.get except that if the resolved value is a function it’s invoked with the this binding - * of its parent object and its result is returned. - * - * @param object The object to query. - * @param path The path of the property to resolve. - * @param defaultValue The value returned if the resolved value is undefined. - * @return Returns the resolved value. - */ - result( - object: TObject, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - - /** - * @see _.result - */ - result( - object: any, - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: TResult|((...args: any[]) => TResult) - ): TResult; - } - - interface LoDashExplicitWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.result - */ - result( - path: StringRepresentable|StringRepresentable[], - defaultValue?: any - ): TResultWrapper; - } - - //_.set - interface LoDashStatic { - /** - * Sets the value at path of object. If a portion of path doesn’t exist it’s created. Arrays are created for - * missing index properties while objects are created for all other missing properties. Use _.setWith to - * customize path creation. - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param value The value to set. - * @return Returns object. - */ - set( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: any - ): TResult; - - /** - * @see _.set - */ - set( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: V - ): TResult; - - /** - * @see _.set - */ - set( - object: O, - path: StringRepresentable|StringRepresentable[], - value: V - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: any - ): LoDashImplicitObjectWrapper; - - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: V - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: any - ): LoDashExplicitObjectWrapper; - - /** - * @see _.set - */ - set( - path: StringRepresentable|StringRepresentable[], - value: V - ): LoDashExplicitObjectWrapper; - } - - //_.setWith - interface SetWithCustomizer { - (nsValue: any, key: string, nsObject: T): any; - } - - interface LoDashStatic { - /** - * This method is like _.set except that it accepts customizer which is invoked to produce the objects of - * path. If customizer returns undefined path creation is handled by the method instead. The customizer is - * invoked with three arguments: (nsValue, key, nsObject). - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param value The value to set. - * @parem customizer The function to customize assigned values. - * @return Returns object. - */ - setWith( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: any, - customizer?: SetWithCustomizer - ): TResult; - - /** - * @see _.setWith - */ - setWith( - object: Object, - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): TResult; - - /** - * @see _.setWith - */ - setWith( - object: O, - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: any, - customizer?: SetWithCustomizer - ): LoDashImplicitObjectWrapper; - - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: any, - customizer?: SetWithCustomizer - ): LoDashExplicitObjectWrapper; - - /** - * @see _.setWith - */ - setWith( - path: StringRepresentable|StringRepresentable[], - value: V, - customizer?: SetWithCustomizer - ): LoDashExplicitObjectWrapper; - } - - //_.toPairs - interface LoDashStatic { - /** - * Creates an array of own enumerable key-value pairs for object. - * - * @param object The object to query. - * @return Returns the new array of key-value pairs. - */ - toPairs(object?: T): any[][]; - - toPairs(object?: T): TResult[][]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.toPairs - */ - toPairs(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.toPairs - */ - toPairs(): LoDashExplicitArrayWrapper; - } - - //_.toPairsIn - interface LoDashStatic { - /** - * Creates an array of own and inherited enumerable key-value pairs for object. - * - * @param object The object to query. - * @return Returns the new array of key-value pairs. - */ - toPairsIn(object?: T): any[][]; - - toPairsIn(object?: T): TResult[][]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.toPairsIn - */ - toPairsIn(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.toPairsIn - */ - toPairsIn(): LoDashExplicitArrayWrapper; - } - - //_.transform - interface LoDashStatic { - /** - * An alternative to _.reduce; this method transforms object to a new accumulator object which is the result of - * running each of its own enumerable properties through iteratee, with each invocation potentially mutating - * the accumulator object. The iteratee is bound to thisArg and invoked with four arguments: (accumulator, - * value, key, object). Iteratee functions may exit iteration early by explicitly returning false. - * - * @param object The object to iterate over. - * @param iteratee The function invoked per iteration. - * @param accumulator The custom accumulator value. - * @param thisArg The this binding of iteratee. - * @return Returns the accumulated value. - */ - transform( - object: T[], - iteratee?: MemoVoidArrayIterator, - accumulator?: TResult[] - ): TResult[]; - - /** - * @see _.transform - */ - transform( - object: T[], - iteratee?: MemoVoidArrayIterator>, - accumulator?: Dictionary - ): Dictionary; - - /** - * @see _.transform - */ - transform( - object: Dictionary, - iteratee?: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): Dictionary; - - /** - * @see _.transform - */ - transform( - object: Dictionary, - iteratee?: MemoVoidDictionaryIterator, - accumulator?: TResult[] - ): TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidArrayIterator, - accumulator?: TResult[] - ): LoDashImplicitArrayWrapper; - - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidArrayIterator>, - accumulator?: Dictionary - ): LoDashImplicitObjectWrapper>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidDictionaryIterator>, - accumulator?: Dictionary - ): LoDashImplicitObjectWrapper>; - - /** - * @see _.transform - */ - transform( - iteratee?: MemoVoidDictionaryIterator, - accumulator?: TResult[] - ): LoDashImplicitArrayWrapper; - } - - //_.unset - interface LoDashStatic { - /** - * Removes the property at path of object. - * - * Note: This method mutates object. - * - * @param object The object to modify. - * @param path The path of the property to unset. - * @return Returns true if the property is deleted, else false. - */ - unset( - object: T, - path: StringRepresentable|StringRepresentable[] - ): boolean; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.unset - */ - unset(path: StringRepresentable|StringRepresentable[]): LoDashImplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.unset - */ - unset(path: StringRepresentable|StringRepresentable[]): LoDashExplicitWrapper; - } - - //_.update - interface LoDashStatic { - /** - * This method is like _.set except that accepts updater to produce the value to set. Use _.updateWith to - * customize path creation. The updater is invoked with one argument: (value). - * - * @param object The object to modify. - * @param path The path of the property to set. - * @param updater The function to produce the updated value. - * @return Returns object. - */ - update( - object: Object, - path: StringRepresentable|StringRepresentable[], - updater: Function - ): TResult; - - /** - * @see _.update - */ - update( - object: Object, - path: StringRepresentable|StringRepresentable[], - updater: U - ): TResult; - - /** - * @see _.update - */ - update( - object: O, - path: StringRepresentable|StringRepresentable[], - updater: Function - ): TResult; - - /** - * @see _.update - */ - update( - object: O, - path: StringRepresentable|StringRepresentable[], - updater: U - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: any - ): LoDashImplicitObjectWrapper; - - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: U - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: any - ): LoDashExplicitObjectWrapper; - - /** - * @see _.update - */ - update( - path: StringRepresentable|StringRepresentable[], - updater: U - ): LoDashExplicitObjectWrapper; - } - - //_.values - interface LoDashStatic { - /** - * Creates an array of the own enumerable property values of object. - * - * @param object The object to query. - * @return Returns an array of property values. - */ - values(object?: any): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.values - */ - values(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.values - */ - values(): LoDashExplicitArrayWrapper; - } - - //_.valuesIn - interface LoDashStatic { - /** - * Creates an array of the own and inherited enumerable property values of object. - * - * @param object The object to query. - * @return Returns the array of property values. - */ - valuesIn(object?: any): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.valuesIn - */ - valuesIn(): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.valuesIn - */ - valuesIn(): LoDashExplicitArrayWrapper; - } - - /********** - * String * - **********/ - - //_.camelCase - interface LoDashStatic { - /** - * Converts string to camel case. - * - * @param string The string to convert. - * @return Returns the camel cased string. - */ - camelCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.camelCase - */ - camelCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.camelCase - */ - camelCase(): LoDashExplicitWrapper; - } - - //_.capitalize - interface LoDashStatic { - /** - * Converts the first character of string to upper case and the remaining to lower case. - * - * @param string The string to capitalize. - * @return Returns the capitalized string. - */ - capitalize(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.capitalize - */ - capitalize(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.capitalize - */ - capitalize(): LoDashExplicitWrapper; - } - - //_.deburr - interface LoDashStatic { - /** - * Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining - * diacritical marks. - * - * @param string The string to deburr. - * @return Returns the deburred string. - */ - deburr(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.deburr - */ - deburr(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.deburr - */ - deburr(): LoDashExplicitWrapper; - } - - //_.endsWith - interface LoDashStatic { - /** - * Checks if string ends with the given target string. - * - * @param string The string to search. - * @param target The string to search for. - * @param position The position to search from. - * @return Returns true if string ends with target, else false. - */ - endsWith( - string?: string, - target?: string, - position?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.endsWith - */ - endsWith( - target?: string, - position?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.endsWith - */ - endsWith( - target?: string, - position?: number - ): LoDashExplicitWrapper; - } - - // _.escape - interface LoDashStatic { - /** - * Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities. - * - * Note: No other characters are escaped. To escape additional characters use a third-party library like he. - * - * hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML - * and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s - * article (under "semi-related fun fact") for more details. - * - * Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59, - * #102, #108, and #133 of the HTML5 Security Cheatsheet for more details. - * - * When working with HTML you should always quote attribute values to reduce XSS vectors. - * - * @param string The string to escape. - * @return Returns the escaped string. - */ - escape(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.escape - */ - escape(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.escape - */ - escape(): LoDashExplicitWrapper; - } - - // _.escapeRegExp - interface LoDashStatic { - /** - * Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]", - * "{", "}", and "|" in string. - * - * @param string The string to escape. - * @return Returns the escaped string. - */ - escapeRegExp(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.escapeRegExp - */ - escapeRegExp(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.escapeRegExp - */ - escapeRegExp(): LoDashExplicitWrapper; - } - - //_.kebabCase - interface LoDashStatic { - /** - * Converts string to kebab case. - * - * @param string The string to convert. - * @return Returns the kebab cased string. - */ - kebabCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.kebabCase - */ - kebabCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.kebabCase - */ - kebabCase(): LoDashExplicitWrapper; - } - - //_.lowerCase - interface LoDashStatic { - /** - * Converts `string`, as space separated words, to lower case. - * - * @param string The string to convert. - * @return Returns the lower cased string. - */ - lowerCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lowerCase - */ - lowerCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lowerCase - */ - lowerCase(): LoDashExplicitWrapper; - } - - //_.lowerFirst - interface LoDashStatic { - /** - * Converts the first character of `string` to lower case. - * - * @param string The string to convert. - * @return Returns the converted string. - */ - lowerFirst(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.lowerFirst - */ - lowerFirst(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.lowerFirst - */ - lowerFirst(): LoDashExplicitWrapper; - } - - //_.pad - interface LoDashStatic { - /** - * Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if - * they can’t be evenly divided by length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - pad( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.pad - */ - pad( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.pad - */ - pad( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } - - //_.padEnd - interface LoDashStatic { - /** - * Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed - * length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - padEnd( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.padEnd - */ - padEnd( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.padEnd - */ - padEnd( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } - - //_.padStart - interface LoDashStatic { - /** - * Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed - * length. - * - * @param string The string to pad. - * @param length The padding length. - * @param chars The string used as padding. - * @return Returns the padded string. - */ - padStart( - string?: string, - length?: number, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.padStart - */ - padStart( - length?: number, - chars?: string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.padStart - */ - padStart( - length?: number, - chars?: string - ): LoDashExplicitWrapper; - } - - //_.parseInt - interface LoDashStatic { - /** - * Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used - * unless value is a hexadecimal, in which case a radix of 16 is used. - * - * Note: This method aligns with the ES5 implementation of parseInt. - * - * @param string The string to convert. - * @param radix The radix to interpret value by. - * @return Returns the converted integer. - */ - parseInt( - string: string, - radix?: number - ): number; - } - - interface LoDashImplicitWrapper { - /** - * @see _.parseInt - */ - parseInt(radix?: number): number; - } - - interface LoDashExplicitWrapper { - /** - * @see _.parseInt - */ - parseInt(radix?: number): LoDashExplicitWrapper; - } - - //_.repeat - interface LoDashStatic { - /** - * Repeats the given string n times. - * - * @param string The string to repeat. - * @param n The number of times to repeat the string. - * @return Returns the repeated string. - */ - repeat( - string?: string, - n?: number - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.repeat - */ - repeat(n?: number): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.repeat - */ - repeat(n?: number): LoDashExplicitWrapper; - } - - //_.replace - interface LoDashStatic { - /** - * Replaces matches for pattern in string with replacement. - * - * Note: This method is based on String#replace. - * - * @param string - * @param pattern - * @param replacement - * @return Returns the modified string. - */ - replace( - string: string, - pattern: RegExp|string, - replacement: Function|string - ): string; - - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): string; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): string; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): string; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): LoDashExplicitWrapper; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): LoDashExplicitWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.replace - */ - replace( - pattern?: RegExp|string, - replacement?: Function|string - ): LoDashExplicitWrapper; - - /** - * @see _.replace - */ - replace( - replacement?: Function|string - ): LoDashExplicitWrapper; - } - - //_.snakeCase - interface LoDashStatic { - /** - * Converts string to snake case. - * - * @param string The string to convert. - * @return Returns the snake cased string. - */ - snakeCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.snakeCase - */ - snakeCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.snakeCase - */ - snakeCase(): LoDashExplicitWrapper; - } - - //_.split - interface LoDashStatic { - /** - * Splits string by separator. - * - * Note: This method is based on String#split. - * - * @param string - * @param separator - * @param limit - * @return Returns the new array of string segments. - */ - split( - string: string, - separator?: RegExp|string, - limit?: number - ): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.split - */ - split( - separator?: RegExp|string, - limit?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.split - */ - split( - separator?: RegExp|string, - limit?: number - ): LoDashExplicitArrayWrapper; - } - - //_.startCase - interface LoDashStatic { - /** - * Converts string to start case. - * - * @param string The string to convert. - * @return Returns the start cased string. - */ - startCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.startCase - */ - startCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.startCase - */ - startCase(): LoDashExplicitWrapper; - } - - //_.startsWith - interface LoDashStatic { - /** - * Checks if string starts with the given target string. - * - * @param string The string to search. - * @param target The string to search for. - * @param position The position to search from. - * @return Returns true if string starts with target, else false. - */ - startsWith( - string?: string, - target?: string, - position?: number - ): boolean; - } - - interface LoDashImplicitWrapper { - /** - * @see _.startsWith - */ - startsWith( - target?: string, - position?: number - ): boolean; - } - - interface LoDashExplicitWrapper { - /** - * @see _.startsWith - */ - startsWith( - target?: string, - position?: number - ): LoDashExplicitWrapper; - } - - //_.template - interface TemplateOptions extends TemplateSettings { - /** - * The sourceURL of the template's compiled source. - */ - sourceURL?: string; - } - - interface TemplateExecutor { - (data?: Object): string; - source: string; - } - - interface LoDashStatic { - /** - * Creates a compiled template function that can interpolate data properties in "interpolate" delimiters, - * HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate" - * delimiters. Data properties may be accessed as free variables in the template. If a setting object is - * provided it takes precedence over _.templateSettings values. - * - * Note: In the development build _.template utilizes - * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier - * debugging. - * - * For more information on precompiling templates see - * [lodash's custom builds documentation](https://lodash.com/custom-builds). - * - * For more information on Chrome extension sandboxes see - * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). - * - * @param string The template string. - * @param options The options object. - * @param options.escape The HTML "escape" delimiter. - * @param options.evaluate The "evaluate" delimiter. - * @param options.imports An object to import into the template as free variables. - * @param options.interpolate The "interpolate" delimiter. - * @param options.sourceURL The sourceURL of the template's compiled source. - * @param options.variable The data object variable name. - * @return Returns the compiled template function. - */ - template( - string: string, - options?: TemplateOptions - ): TemplateExecutor; - } - - interface LoDashImplicitWrapper { - /** - * @see _.template - */ - template(options?: TemplateOptions): TemplateExecutor; - } - - interface LoDashExplicitWrapper { - /** - * @see _.template - */ - template(options?: TemplateOptions): LoDashExplicitObjectWrapper; - } - - //_.toLower - interface LoDashStatic { - /** - * Converts `string`, as a whole, to lower case. - * - * @param string The string to convert. - * @return Returns the lower cased string. - */ - toLower(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toLower - */ - toLower(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toLower - */ - toLower(): LoDashExplicitWrapper; - } - - //_.toUpper - interface LoDashStatic { - /** - * Converts `string`, as a whole, to upper case. - * - * @param string The string to convert. - * @return Returns the upper cased string. - */ - toUpper(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.toUpper - */ - toUpper(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.toUpper - */ - toUpper(): LoDashExplicitWrapper; - } - - //_.trim - interface LoDashStatic { - /** - * Removes leading and trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trim( - string?: string, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trim - */ - trim(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trim - */ - trim(chars?: string): LoDashExplicitWrapper; - } - - //_.trimEnd - interface LoDashStatic { - /** - * Removes trailing whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trimEnd( - string?: string, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trimEnd - */ - trimEnd(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trimEnd - */ - trimEnd(chars?: string): LoDashExplicitWrapper; - } - - //_.trimStart - interface LoDashStatic { - /** - * Removes leading whitespace or specified characters from string. - * - * @param string The string to trim. - * @param chars The characters to trim. - * @return Returns the trimmed string. - */ - trimStart( - string?: string, - chars?: string - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.trimStart - */ - trimStart(chars?: string): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.trimStart - */ - trimStart(chars?: string): LoDashExplicitWrapper; - } - - //_.truncate - interface TruncateOptions { - /** The maximum string length. */ - length?: number; - /** The string to indicate text is omitted. */ - omission?: string; - /** The separator pattern to truncate to. */ - separator?: string|RegExp; - } - - interface LoDashStatic { - /** - * Truncates string if it’s longer than the given maximum string length. The last characters of the truncated - * string are replaced with the omission string which defaults to "…". - * - * @param string The string to truncate. - * @param options The options object or maximum string length. - * @return Returns the truncated string. - */ - truncate( - string?: string, - options?: TruncateOptions - ): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.truncate - */ - truncate(options?: TruncateOptions): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.truncate - */ - truncate(options?: TruncateOptions): LoDashExplicitWrapper; - } - - //_.unescape - interface LoDashStatic { - /** - * The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and ` - * in string to their corresponding characters. - * - * Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library - * like he. - * - * @param string The string to unescape. - * @return Returns the unescaped string. - */ - unescape(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.unescape - */ - unescape(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.unescape - */ - unescape(): LoDashExplicitWrapper; - } - - //_.upperCase - interface LoDashStatic { - /** - * Converts `string`, as space separated words, to upper case. - * - * @param string The string to convert. - * @return Returns the upper cased string. - */ - upperCase(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.upperCase - */ - upperCase(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.upperCase - */ - upperCase(): LoDashExplicitWrapper; - } - - //_.upperFirst - interface LoDashStatic { - /** - * Converts the first character of `string` to upper case. - * - * @param string The string to convert. - * @return Returns the converted string. - */ - upperFirst(string?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.upperFirst - */ - upperFirst(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.upperFirst - */ - upperFirst(): LoDashExplicitWrapper; - } - - //_.words - interface LoDashStatic { - /** - * Splits `string` into an array of its words. - * - * @param string The string to inspect. - * @param pattern The pattern to match words. - * @return Returns the words of `string`. - */ - words( - string?: string, - pattern?: string|RegExp - ): string[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.words - */ - words(pattern?: string|RegExp): string[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.words - */ - words(pattern?: string|RegExp): LoDashExplicitArrayWrapper; - } - - /*********** - * Utility * - ***********/ - - //_.attempt - interface LoDashStatic { - /** - * Attempts to invoke func, returning either the result or the caught error object. Any additional arguments - * are provided to func when it’s invoked. - * - * @param func The function to attempt. - * @return Returns the func result or error object. - */ - attempt(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.attempt - */ - attempt(...args: any[]): TResult|Error; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.attempt - */ - attempt(...args: any[]): LoDashExplicitObjectWrapper; - } - - //_.constant - interface LoDashStatic { - /** - * Creates a function that returns value. - * - * @param value The value to return from the new function. - * @return Returns the new function. - */ - constant(value: T): () => T; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.constant - */ - constant(): LoDashImplicitObjectWrapper<() => TResult>; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.constant - */ - constant(): LoDashExplicitObjectWrapper<() => TResult>; - } - - //_.identity - interface LoDashStatic { - /** - * This method returns the first argument provided to it. - * - * @param value Any value. - * @return Returns value. - */ - identity(value?: T): T; - } - - interface LoDashImplicitWrapper { - /** - * @see _.identity - */ - identity(): T; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.identity - */ - identity(): T[]; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.identity - */ - identity(): T; - } - - interface LoDashExplicitWrapper { - /** - * @see _.identity - */ - identity(): LoDashExplicitWrapper; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.identity - */ - identity(): LoDashExplicitArrayWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.identity - */ - identity(): LoDashExplicitObjectWrapper; - } - - //_.iteratee - interface LoDashStatic { - /** - * Creates a function that invokes `func` with the arguments of the created - * function. If `func` is a property name the created callback returns the - * property value for a given element. If `func` is an object the created - * callback returns `true` for elements that contain the equivalent object properties, otherwise it returns `false`. - * - * @static - * @memberOf _ - * @category Util - * @param {*} [func=_.identity] The value to convert to a callback. - * @returns {Function} Returns the callback. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // create custom iteratee shorthands - * _.iteratee = _.wrap(_.iteratee, function(callback, func) { - * var p = /^(\S+)\s*([<>])\s*(\S+)$/.exec(func); - * return !p ? callback(func) : function(object) { - * return (p[2] == '>' ? object[p[1]] > p[3] : object[p[1]] < p[3]); - * }; - * }); - * - * _.filter(users, 'age > 36'); - * // => [{ 'user': 'fred', 'age': 40 }] - */ - iteratee( - func: Function - ): (...args: any[]) => TResult; - - /** - * @see _.iteratee - */ - iteratee( - func: string - ): (object: any) => TResult; - - /** - * @see _.iteratee - */ - iteratee( - func: Object - ): (object: any) => boolean; - - /** - * @see _.iteratee - */ - iteratee(): (value: TResult) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashImplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashImplicitObjectWrapper<(object: any) => boolean>; - - /** - * @see _.iteratee - */ - iteratee(): LoDashImplicitObjectWrapper<(...args: any[]) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashExplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.iteratee - */ - iteratee(): LoDashExplicitObjectWrapper<(object: any) => boolean>; - - /** - * @see _.iteratee - */ - iteratee(): LoDashExplicitObjectWrapper<(...args: any[]) => TResult>; - } - - //_.matches - interface LoDashStatic { - /** - * Creates a function that performs a deep comparison between a given object and source, returning true if the - * given object has equivalent property values, else false. - * - * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and - * strings. Objects are compared by their own, not inherited, enumerable properties. For comparing a single own - * or inherited property value see _.matchesProperty. - * - * @param source The object of property values to match. - * @return Returns the new function. - */ - matches(source: T): (value: any) => boolean; - - /** - * @see _.matches - */ - matches(source: T): (value: V) => boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.matches - */ - matches(): LoDashImplicitObjectWrapper<(value: V) => boolean>; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.matches - */ - matches(): LoDashExplicitObjectWrapper<(value: V) => boolean>; - } - - //_.matchesProperty - interface LoDashStatic { - /** - * Creates a function that compares the property value of path on a given object to value. - * - * Note: This method supports comparing arrays, booleans, Date objects, numbers, Object objects, regexes, and - * strings. Objects are compared by their own, not inherited, enumerable properties. - * - * @param path The path of the property to get. - * @param srcValue The value to match. - * @return Returns the new function. - */ - matchesProperty( - path: StringRepresentable|StringRepresentable[], - srcValue: T - ): (value: any) => boolean; - - /** - * @see _.matchesProperty - */ - matchesProperty( - path: StringRepresentable|StringRepresentable[], - srcValue: T - ): (value: V) => boolean; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashImplicitObjectWrapper<(value: any) => boolean>; - - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashImplicitObjectWrapper<(value: Value) => boolean>; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashExplicitObjectWrapper<(value: any) => boolean>; - - /** - * @see _.matchesProperty - */ - matchesProperty( - srcValue: SrcValue - ): LoDashExplicitObjectWrapper<(value: Value) => boolean>; - } - - //_.method - interface LoDashStatic { - /** - * Creates a function that invokes the method at path on a given object. Any additional arguments are provided - * to the invoked method. - * - * @param path The path of the method to invoke. - * @param args The arguments to invoke the method with. - * @return Returns the new function. - */ - method( - path: string|StringRepresentable[], - ...args: any[] - ): (object: TObject) => TResult; - - /** - * @see _.method - */ - method( - path: string|StringRepresentable[], - ...args: any[] - ): (object: any) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashImplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: any) => TResult>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: TObject) => TResult>; - - /** - * @see _.method - */ - method(...args: any[]): LoDashExplicitObjectWrapper<(object: any) => TResult>; - } - - //_.methodOf - interface LoDashStatic { - /** - * The opposite of _.method; this method creates a function that invokes the method at a given path on object. - * Any additional arguments are provided to the invoked method. - * - * @param object The object to query. - * @param args The arguments to invoke the method with. - * @return Returns the new function. - */ - methodOf( - object: TObject, - ...args: any[] - ): (path: StringRepresentable|StringRepresentable[]) => TResult; - - /** - * @see _.methodOf - */ - methodOf( - object: {}, - ...args: any[] - ): (path: StringRepresentable|StringRepresentable[]) => TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.methodOf - */ - methodOf( - ...args: any[] - ): LoDashImplicitObjectWrapper<(path: StringRepresentable|StringRepresentable[]) => TResult>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.methodOf - */ - methodOf( - ...args: any[] - ): LoDashExplicitObjectWrapper<(path: StringRepresentable|StringRepresentable[]) => TResult>; - } - - //_.mixin - interface MixinOptions { - chain?: boolean; - } - - interface LoDashStatic { - /** - * Adds all own enumerable function properties of a source object to the destination object. If object is a - * function then methods are added to its prototype as well. - * - * Note: Use _.runInContext to create a pristine lodash function to avoid conflicts caused by modifying - * the original. - * - * @param object The destination object. - * @param source The object of functions to add. - * @param options The options object. - * @param options.chain Specify whether the functions added are chainable. - * @return Returns object. - */ - mixin( - object: TObject, - source: Dictionary, - options?: MixinOptions - ): TResult; - - /** - * @see _.mixin - */ - mixin( - source: Dictionary, - options?: MixinOptions - ): TResult; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.mixin - */ - mixin( - source: Dictionary, - options?: MixinOptions - ): LoDashImplicitObjectWrapper; - - /** - * @see _.mixin - */ - mixin( - options?: MixinOptions - ): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.mixin - */ - mixin( - source: Dictionary, - options?: MixinOptions - ): LoDashExplicitObjectWrapper; - - /** - * @see _.mixin - */ - mixin( - options?: MixinOptions - ): LoDashExplicitObjectWrapper; - } - - //_.noConflict - interface LoDashStatic { - /** - * Reverts the _ variable to its previous value and returns a reference to the lodash function. - * - * @return Returns the lodash function. - */ - noConflict(): typeof _; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.noConflict - */ - noConflict(): typeof _; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.noConflict - */ - noConflict(): LoDashExplicitObjectWrapper; - } - - //_.noop - interface LoDashStatic { - /** - * A no-operation function that returns undefined regardless of the arguments it receives. - * - * @return undefined - */ - noop(...args: any[]): void; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.noop - */ - noop(...args: any[]): void; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.noop - */ - noop(...args: any[]): _.LoDashExplicitWrapper; - } - - //_.nthArg - interface LoDashStatic { - /** - * Creates a function that returns its nth argument. - * - * @param n The index of the argument to return. - * @return Returns the new function. - */ - nthArg(n?: number): TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.nthArg - */ - nthArg(): LoDashImplicitObjectWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.nthArg - */ - nthArg(): LoDashExplicitObjectWrapper; - } - - //_.over - interface LoDashStatic { - /** - * Creates a function that invokes iteratees with the arguments provided to the created function and returns - * their results. - * - * @param iteratees The iteratees to invoke. - * @return Returns the new function. - */ - over(...iteratees: (Function|Function[])[]): (...args: any[]) => TResult[]; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.over - */ - over(...iteratees: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => TResult[]>; - } - - //_.overEvery - interface LoDashStatic { - /** - * Creates a function that checks if all of the predicates return truthy when invoked with the arguments - * provided to the created function. - * - * @param predicates The predicates to check. - * @return Returns the new function. - */ - overEvery(...predicates: (Function|Function[])[]): (...args: any[]) => boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.overEvery - */ - overEvery(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - //_.overSome - interface LoDashStatic { - /** - * Creates a function that checks if any of the predicates return truthy when invoked with the arguments - * provided to the created function. - * - * @param predicates The predicates to check. - * @return Returns the new function. - */ - overSome(...predicates: (Function|Function[])[]): (...args: any[]) => boolean; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashImplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.overSome - */ - overSome(...predicates: (Function|Function[])[]): LoDashExplicitObjectWrapper<(...args: any[]) => boolean>; - } - - //_.property - interface LoDashStatic { - /** - * Creates a function that returns the property value at path on a given object. - * - * @param path The path of the property to get. - * @return Returns the new function. - */ - property(path: StringRepresentable|StringRepresentable[]): (obj: TObj) => TResult; - } - - interface LoDashImplicitWrapper { - /** - * @see _.property - */ - property(): LoDashImplicitObjectWrapper<(obj: TObj) => TResult>; - } - - interface LoDashImplicitArrayWrapper { - /** - * @see _.property - */ - property(): LoDashImplicitObjectWrapper<(obj: TObj) => TResult>; - } - - interface LoDashExplicitWrapper { - /** - * @see _.property - */ - property(): LoDashExplicitObjectWrapper<(obj: TObj) => TResult>; - } - - interface LoDashExplicitArrayWrapper { - /** - * @see _.property - */ - property(): LoDashExplicitObjectWrapper<(obj: TObj) => TResult>; - } - - //_.propertyOf - interface LoDashStatic { - /** - * The opposite of _.property; this method creates a function that returns the property value at a given path - * on object. - * - * @param object The object to query. - * @return Returns the new function. - */ - propertyOf(object: T): (path: string|string[]) => any; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.propertyOf - */ - propertyOf(): LoDashImplicitObjectWrapper<(path: string|string[]) => any>; - } - - interface LoDashExplicitObjectWrapper { - /** - * @see _.propertyOf - */ - propertyOf(): LoDashExplicitObjectWrapper<(path: string|string[]) => any>; - } - - //_.range - interface LoDashStatic { - /** - * Creates an array of numbers (positive and/or negative) progressing from start up to, but not including, end. - * If end is not specified it’s set to start with start then set to 0. If end is less than start a zero-length - * range is created unless a negative step is specified. - * - * @param start The start of the range. - * @param end The end of the range. - * @param step The value to increment or decrement by. - * @return Returns a new range array. - */ - range( - start: number, - end: number, - step?: number - ): number[]; - - /** - * @see _.range - */ - range( - end: number, - step?: number - ): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.range - */ - range( - end?: number, - step?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.range - */ - range( - end?: number, - step?: number - ): LoDashExplicitArrayWrapper; - } - - //_.rangeRight - interface LoDashStatic { - /** - * This method is like `_.range` except that it populates values in - * descending order. - * - * @static - * @memberOf _ - * @category Util - * @param {number} [start=0] The start of the range. - * @param {number} end The end of the range. - * @param {number} [step=1] The value to increment or decrement by. - * @returns {Array} Returns the new array of numbers. - * @example - * - * _.rangeRight(4); - * // => [3, 2, 1, 0] - * - * _.rangeRight(-4); - * // => [-3, -2, -1, 0] - * - * _.rangeRight(1, 5); - * // => [4, 3, 2, 1] - * - * _.rangeRight(0, 20, 5); - * // => [15, 10, 5, 0] - * - * _.rangeRight(0, -4, -1); - * // => [-3, -2, -1, 0] - * - * _.rangeRight(1, 4, 0); - * // => [1, 1, 1] - * - * _.rangeRight(0); - * // => [] - */ - rangeRight( - start: number, - end: number, - step?: number - ): number[]; - - /** - * @see _.rangeRight - */ - rangeRight( - end: number, - step?: number - ): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.rangeRight - */ - rangeRight( - end?: number, - step?: number - ): LoDashImplicitArrayWrapper; - } - - interface LoDashExplicitWrapper { - /** - * @see _.rangeRight - */ - rangeRight( - end?: number, - step?: number - ): LoDashExplicitArrayWrapper; - } - - //_.runInContext - interface LoDashStatic { - /** - * Create a new pristine lodash function using the given context object. - * - * @param context The context object. - * @return Returns a new lodash function. - */ - runInContext(context?: Object): typeof _; - } - - interface LoDashImplicitObjectWrapper { - /** - * @see _.runInContext - */ - runInContext(): typeof _; - } - - //_.times - interface LoDashStatic { - /** - * Invokes the iteratee function n times, returning an array of the results of each invocation. The iteratee - * is invoked with one argument; (index). - * - * @param n The number of times to invoke iteratee. - * @param iteratee The function invoked per iteration. - * @return Returns the array of results. - */ - times( - n: number, - iteratee: (num: number) => TResult - ): TResult[]; - - /** - * @see _.times - */ - times(n: number): number[]; - } - - interface LoDashImplicitWrapper { - /** - * @see _.times - */ - times( - iteratee: (num: number) => TResult - ): TResult[]; - - /** - * @see _.times - */ - times(): number[]; - } - - interface LoDashExplicitWrapper { - /** - * @see _.times - */ - times( - iteratee: (num: number) => TResult - ): LoDashExplicitArrayWrapper; - - /** - * @see _.times - */ - times(): LoDashExplicitArrayWrapper; - } - - //_.toPath - interface LoDashStatic { - /** - * Converts `value` to a property path array. - * - * @static - * @memberOf _ - * @category Util - * @param {*} value The value to convert. - * @returns {Array} Returns the new property path array. - * @example - * - * _.toPath('a.b.c'); - * // => ['a', 'b', 'c'] - * - * _.toPath('a[0].b.c'); - * // => ['a', '0', 'b', 'c'] - * - * var path = ['a', 'b', 'c'], - * newPath = _.toPath(path); - * - * console.log(newPath); - * // => ['a', 'b', 'c'] - * - * console.log(path === newPath); - * // => false - */ - toPath(value: any): string[]; - } - - interface LoDashImplicitWrapperBase { - /** - * @see _.toPath - */ - toPath(): LoDashImplicitWrapper; - } - - interface LoDashExplicitWrapperBase { - /** - * @see _.toPath - */ - toPath(): LoDashExplicitWrapper; - } - - //_.uniqueId - interface LoDashStatic { - /** - * Generates a unique ID. If prefix is provided the ID is appended to it. - * - * @param prefix The value to prefix the ID with. - * @return Returns the unique ID. - */ - uniqueId(prefix?: string): string; - } - - interface LoDashImplicitWrapper { - /** - * @see _.uniqueId - */ - uniqueId(): string; - } - - interface LoDashExplicitWrapper { - /** - * @see _.uniqueId - */ - uniqueId(): LoDashExplicitWrapper; - } - - interface ListIterator { - (value: T, index: number, collection: List): TResult; - } - - interface DictionaryIterator { - (value: T, key?: string, collection?: Dictionary): TResult; - } - - interface NumericDictionaryIterator { - (value: T, key?: number, collection?: Dictionary): TResult; - } - - interface ObjectIterator { - (element: T, key?: string, collection?: any): TResult; - } - - interface StringIterator { - (char: string, index?: number, string?: string): TResult; - } - - interface MemoVoidIterator { - (prev: TResult, curr: T, indexOrKey?: any, list?: T[]): void; - } - interface MemoIterator { - (prev: TResult, curr: T, indexOrKey?: any, list?: T[]): TResult; - } - - interface MemoVoidArrayIterator { - (acc: TResult, curr: T, index?: number, arr?: T[]): void; - } - interface MemoVoidDictionaryIterator { - (acc: TResult, curr: T, key?: string, dict?: Dictionary): void; - } - - //interface Collection {} - - // Common interface between Arrays and jQuery objects - interface List { - [index: number]: T; - length: number; - } - - interface Dictionary { - [index: string]: T; - } - - interface NumericDictionary { - [index: number]: T; - } - - interface StringRepresentable { - toString(): string; - } - - interface Cancelable { - cancel(): void; - } -} - -// Named exports - -declare module "lodash/after" { - const after: typeof _.after; - export = after; -} - - -declare module "lodash/ary" { - const ary: typeof _.ary; - export = ary; -} - - -declare module "lodash/assign" { - const assign: typeof _.assign; - export = assign; -} - - -declare module "lodash/assignIn" { - const assignIn: typeof _.assignIn; - export = assignIn; -} - - -declare module "lodash/assignInWith" { - const assignInWith: typeof _.assignInWith; - export = assignInWith; -} - - -declare module "lodash/assignWith" { - const assignWith: typeof _.assignWith; - export = assignWith; -} - - -declare module "lodash/at" { - const at: typeof _.at; - export = at; -} - - -declare module "lodash/before" { - const before: typeof _.before; - export = before; -} - - -declare module "lodash/bind" { - const bind: typeof _.bind; - export = bind; -} - - -declare module "lodash/bindAll" { - const bindAll: typeof _.bindAll; - export = bindAll; -} - - -declare module "lodash/bindKey" { - const bindKey: typeof _.bindKey; - export = bindKey; -} - - -declare module "lodash/castArray" { - const castArray: typeof _.castArray; - export = castArray; -} - - -declare module "lodash/chain" { - const chain: typeof _.chain; - export = chain; -} - - -declare module "lodash/chunk" { - const chunk: typeof _.chunk; - export = chunk; -} - - -declare module "lodash/compact" { - const compact: typeof _.compact; - export = compact; -} - - -declare module "lodash/concat" { - const concat: typeof _.concat; - export = concat; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/cond" { - const cond: typeof _.cond; - export = cond; -} -*/ - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/conforms" { - const conforms: typeof _.conforms; - export = conforms; -} -*/ - -declare module "lodash/constant" { - const constant: typeof _.constant; - export = constant; -} - - -declare module "lodash/countBy" { - const countBy: typeof _.countBy; - export = countBy; -} - - -declare module "lodash/create" { - const create: typeof _.create; - export = create; -} - - -declare module "lodash/curry" { - const curry: typeof _.curry; - export = curry; -} - - -declare module "lodash/curryRight" { - const curryRight: typeof _.curryRight; - export = curryRight; -} - - -declare module "lodash/debounce" { - const debounce: typeof _.debounce; - export = debounce; -} - - -declare module "lodash/defaults" { - const defaults: typeof _.defaults; - export = defaults; -} - - -declare module "lodash/defaultsDeep" { - const defaultsDeep: typeof _.defaultsDeep; - export = defaultsDeep; -} - - -declare module "lodash/defer" { - const defer: typeof _.defer; - export = defer; -} - - -declare module "lodash/delay" { - const delay: typeof _.delay; - export = delay; -} - - -declare module "lodash/difference" { - const difference: typeof _.difference; - export = difference; -} - - -declare module "lodash/differenceBy" { - const differenceBy: typeof _.differenceBy; - export = differenceBy; -} - - -declare module "lodash/differenceWith" { - const differenceWith: typeof _.differenceWith; - export = differenceWith; -} - - -declare module "lodash/drop" { - const drop: typeof _.drop; - export = drop; -} - - -declare module "lodash/dropRight" { - const dropRight: typeof _.dropRight; - export = dropRight; -} - - -declare module "lodash/dropRightWhile" { - const dropRightWhile: typeof _.dropRightWhile; - export = dropRightWhile; -} - - -declare module "lodash/dropWhile" { - const dropWhile: typeof _.dropWhile; - export = dropWhile; -} - - -declare module "lodash/fill" { - const fill: typeof _.fill; - export = fill; -} - - -declare module "lodash/filter" { - const filter: typeof _.filter; - export = filter; -} - - -declare module "lodash/flatMap" { - const flatMap: typeof _.flatMap; - export = flatMap; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/flatMapDeep" { - const flatMapDeep: typeof _.flatMapDeep; - export = flatMapDeep; -} -*/ -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/flatMapDepth" { - const flatMapDepth: typeof _.flatMapDepth; - export = flatMapDepth; -} -*/ - -declare module "lodash/flatten" { - const flatten: typeof _.flatten; - export = flatten; -} - - -declare module "lodash/flattenDeep" { - const flattenDeep: typeof _.flattenDeep; - export = flattenDeep; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/flattenDepth" { - const flattenDepth: typeof _.flattenDepth; - export = flattenDepth; -} -*/ - -declare module "lodash/flip" { - const flip: typeof _.flip; - export = flip; -} - - -declare module "lodash/flow" { - const flow: typeof _.flow; - export = flow; -} - - -declare module "lodash/flowRight" { - const flowRight: typeof _.flowRight; - export = flowRight; -} - - -declare module "lodash/fromPairs" { - const fromPairs: typeof _.fromPairs; - export = fromPairs; -} - - -declare module "lodash/functions" { - const functions: typeof _.functions; - export = functions; -} - - -declare module "lodash/functionsIn" { - const functionsIn: typeof _.functionsIn; - export = functionsIn; -} - - -declare module "lodash/groupBy" { - const groupBy: typeof _.groupBy; - export = groupBy; -} - - -declare module "lodash/initial" { - const initial: typeof _.initial; - export = initial; -} - - -declare module "lodash/intersection" { - const intersection: typeof _.intersection; - export = intersection; -} - - -declare module "lodash/intersectionBy" { - const intersectionBy: typeof _.intersectionBy; - export = intersectionBy; -} - - -declare module "lodash/intersectionWith" { - const intersectionWith: typeof _.intersectionWith; - export = intersectionWith; -} - - -declare module "lodash/invert" { - const invert: typeof _.invert; - export = invert; -} - - -declare module "lodash/invertBy" { - const invertBy: typeof _.invertBy; - export = invertBy; -} - - -declare module "lodash/invokeMap" { - const invokeMap: typeof _.invokeMap; - export = invokeMap; -} - - -declare module "lodash/iteratee" { - const iteratee: typeof _.iteratee; - export = iteratee; -} - - -declare module "lodash/keyBy" { - const keyBy: typeof _.keyBy; - export = keyBy; -} - - -declare module "lodash/keys" { - const keys: typeof _.keys; - export = keys; -} - - -declare module "lodash/keysIn" { - const keysIn: typeof _.keysIn; - export = keysIn; -} - - -declare module "lodash/map" { - const map: typeof _.map; - export = map; -} - - -declare module "lodash/mapKeys" { - const mapKeys: typeof _.mapKeys; - export = mapKeys; -} - - -declare module "lodash/mapValues" { - const mapValues: typeof _.mapValues; - export = mapValues; -} - - -declare module "lodash/matches" { - const matches: typeof _.matches; - export = matches; -} - - -declare module "lodash/matchesProperty" { - const matchesProperty: typeof _.matchesProperty; - export = matchesProperty; -} - - -declare module "lodash/memoize" { - const memoize: typeof _.memoize; - export = memoize; -} - - -declare module "lodash/merge" { - const merge: typeof _.merge; - export = merge; -} - - -declare module "lodash/mergeWith" { - const mergeWith: typeof _.mergeWith; - export = mergeWith; -} - - -declare module "lodash/method" { - const method: typeof _.method; - export = method; -} - - -declare module "lodash/methodOf" { - const methodOf: typeof _.methodOf; - export = methodOf; -} - - -declare module "lodash/mixin" { - const mixin: typeof _.mixin; - export = mixin; -} - - -declare module "lodash/negate" { - const negate: typeof _.negate; - export = negate; -} - - -declare module "lodash/nthArg" { - const nthArg: typeof _.nthArg; - export = nthArg; -} - - -declare module "lodash/omit" { - const omit: typeof _.omit; - export = omit; -} - - -declare module "lodash/omitBy" { - const omitBy: typeof _.omitBy; - export = omitBy; -} - - -declare module "lodash/once" { - const once: typeof _.once; - export = once; -} - - -declare module "lodash/orderBy" { - const orderBy: typeof _.orderBy; - export = orderBy; -} - - -declare module "lodash/over" { - const over: typeof _.over; - export = over; -} - - -declare module "lodash/overArgs" { - const overArgs: typeof _.overArgs; - export = overArgs; -} - - -declare module "lodash/overEvery" { - const overEvery: typeof _.overEvery; - export = overEvery; -} - - -declare module "lodash/overSome" { - const overSome: typeof _.overSome; - export = overSome; -} - - -declare module "lodash/partial" { - const partial: typeof _.partial; - export = partial; -} - - -declare module "lodash/partialRight" { - const partialRight: typeof _.partialRight; - export = partialRight; -} - - -declare module "lodash/partition" { - const partition: typeof _.partition; - export = partition; -} - - -declare module "lodash/pick" { - const pick: typeof _.pick; - export = pick; -} - - -declare module "lodash/pickBy" { - const pickBy: typeof _.pickBy; - export = pickBy; -} - - -declare module "lodash/property" { - const property: typeof _.property; - export = property; -} - - -declare module "lodash/propertyOf" { - const propertyOf: typeof _.propertyOf; - export = propertyOf; -} - - -declare module "lodash/pull" { - const pull: typeof _.pull; - export = pull; -} - - -declare module "lodash/pullAll" { - const pullAll: typeof _.pullAll; - export = pullAll; -} - - -declare module "lodash/pullAllBy" { - const pullAllBy: typeof _.pullAllBy; - export = pullAllBy; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/pullAllWith" { - const pullAllWith: typeof _.pullAllWith; - export = pullAllWith; -} -*/ - -declare module "lodash/pullAt" { - const pullAt: typeof _.pullAt; - export = pullAt; -} - - -declare module "lodash/range" { - const range: typeof _.range; - export = range; -} - - -declare module "lodash/rangeRight" { - const rangeRight: typeof _.rangeRight; - export = rangeRight; -} - - -declare module "lodash/rearg" { - const rearg: typeof _.rearg; - export = rearg; -} - - -declare module "lodash/reject" { - const reject: typeof _.reject; - export = reject; -} - - -declare module "lodash/remove" { - const remove: typeof _.remove; - export = remove; -} - - -declare module "lodash/rest" { - const rest: typeof _.rest; - export = rest; -} - - -declare module "lodash/reverse" { - const reverse: typeof _.reverse; - export = reverse; -} - - -declare module "lodash/sampleSize" { - const sampleSize: typeof _.sampleSize; - export = sampleSize; -} - - -declare module "lodash/set" { - const set: typeof _.set; - export = set; -} - - -declare module "lodash/setWith" { - const setWith: typeof _.setWith; - export = setWith; -} - - -declare module "lodash/shuffle" { - const shuffle: typeof _.shuffle; - export = shuffle; -} - - -declare module "lodash/slice" { - const slice: typeof _.slice; - export = slice; -} - - -declare module "lodash/sortBy" { - const sortBy: typeof _.sortBy; - export = sortBy; -} - - -declare module "lodash/sortedUniq" { - const sortedUniq: typeof _.sortedUniq; - export = sortedUniq; -} - - -declare module "lodash/sortedUniqBy" { - const sortedUniqBy: typeof _.sortedUniqBy; - export = sortedUniqBy; -} - - -declare module "lodash/split" { - const split: typeof _.split; - export = split; -} - - -declare module "lodash/spread" { - const spread: typeof _.spread; - export = spread; -} - - -declare module "lodash/tail" { - const tail: typeof _.tail; - export = tail; -} - - -declare module "lodash/take" { - const take: typeof _.take; - export = take; -} - - -declare module "lodash/takeRight" { - const takeRight: typeof _.takeRight; - export = takeRight; -} - - -declare module "lodash/takeRightWhile" { - const takeRightWhile: typeof _.takeRightWhile; - export = takeRightWhile; -} - - -declare module "lodash/takeWhile" { - const takeWhile: typeof _.takeWhile; - export = takeWhile; -} - - -declare module "lodash/tap" { - const tap: typeof _.tap; - export = tap; -} - - -declare module "lodash/throttle" { - const throttle: typeof _.throttle; - export = throttle; -} - - -declare module "lodash/thru" { - const thru: typeof _.thru; - export = thru; -} - - -declare module "lodash/toArray" { - const toArray: typeof _.toArray; - export = toArray; -} - - -declare module "lodash/toPairs" { - const toPairs: typeof _.toPairs; - export = toPairs; -} - - -declare module "lodash/toPairsIn" { - const toPairsIn: typeof _.toPairsIn; - export = toPairsIn; -} - - -declare module "lodash/toPath" { - const toPath: typeof _.toPath; - export = toPath; -} - - -declare module "lodash/toPlainObject" { - const toPlainObject: typeof _.toPlainObject; - export = toPlainObject; -} - - -declare module "lodash/transform" { - const transform: typeof _.transform; - export = transform; -} - - -declare module "lodash/unary" { - const unary: typeof _.unary; - export = unary; -} - - -declare module "lodash/union" { - const union: typeof _.union; - export = union; -} - - -declare module "lodash/unionBy" { - const unionBy: typeof _.unionBy; - export = unionBy; -} - - -declare module "lodash/unionWith" { - const unionWith: typeof _.unionWith; - export = unionWith; -} - - -declare module "lodash/uniq" { - const uniq: typeof _.uniq; - export = uniq; -} - - -declare module "lodash/uniqBy" { - const uniqBy: typeof _.uniqBy; - export = uniqBy; -} - - -declare module "lodash/uniqWith" { - const uniqWith: typeof _.uniqWith; - export = uniqWith; -} - - -declare module "lodash/unset" { - const unset: typeof _.unset; - export = unset; -} - - -declare module "lodash/unzip" { - const unzip: typeof _.unzip; - export = unzip; -} - - -declare module "lodash/unzipWith" { - const unzipWith: typeof _.unzipWith; - export = unzipWith; -} - - -declare module "lodash/update" { - const update: typeof _.update; - export = update; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/updateWith" { - const updateWith: typeof _.updateWith; - export = updateWith; -} -*/ - -declare module "lodash/values" { - const values: typeof _.values; - export = values; -} - - -declare module "lodash/valuesIn" { - const valuesIn: typeof _.valuesIn; - export = valuesIn; -} - - -declare module "lodash/without" { - const without: typeof _.without; - export = without; -} - - -declare module "lodash/words" { - const words: typeof _.words; - export = words; -} - - -declare module "lodash/wrap" { - const wrap: typeof _.wrap; - export = wrap; -} - - -declare module "lodash/xor" { - const xor: typeof _.xor; - export = xor; -} - - -declare module "lodash/xorBy" { - const xorBy: typeof _.xorBy; - export = xorBy; -} - - -declare module "lodash/xorWith" { - const xorWith: typeof _.xorWith; - export = xorWith; -} - - -declare module "lodash/zip" { - const zip: typeof _.zip; - export = zip; -} - - -declare module "lodash/zipObject" { - const zipObject: typeof _.zipObject; - export = zipObject; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/zipObjectDeep" { - const zipObjectDeep: typeof _.zipObjectDeep; - export = zipObjectDeep; -} -*/ - - -declare module "lodash/zipWith" { - const zipWith: typeof _.zipWith; - export = zipWith; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/entries" { - const entries: typeof _.entries; - export = entries; -} -*/ -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/entriesIn" { - const entriesIn: typeof _.entriesIn; - export = entriesIn; -} -*/ - - -declare module "lodash/extend" { - const extend: typeof _.extend; - export = extend; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/extendWith" { - const extendWith: typeof _.extendWith; - export = extendWith; -} -*/ - -declare module "lodash/add" { - const add: typeof _.add; - export = add; -} - - -declare module "lodash/attempt" { - const attempt: typeof _.attempt; - export = attempt; -} - - -declare module "lodash/camelCase" { - const camelCase: typeof _.camelCase; - export = camelCase; -} - - -declare module "lodash/capitalize" { - const capitalize: typeof _.capitalize; - export = capitalize; -} - - -declare module "lodash/ceil" { - const ceil: typeof _.ceil; - export = ceil; -} - - -declare module "lodash/clamp" { - const clamp: typeof _.clamp; - export = clamp; -} - - -declare module "lodash/clone" { - const clone: typeof _.clone; - export = clone; -} - - -declare module "lodash/cloneDeep" { - const cloneDeep: typeof _.cloneDeep; - export = cloneDeep; -} - - -declare module "lodash/cloneDeepWith" { - const cloneDeepWith: typeof _.cloneDeepWith; - export = cloneDeepWith; -} - - -declare module "lodash/cloneWith" { - const cloneWith: typeof _.cloneWith; - export = cloneWith; -} - - -declare module "lodash/deburr" { - const deburr: typeof _.deburr; - export = deburr; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/divide" { - const divide: typeof _.divide; - export = divide; -} -*/ - -declare module "lodash/endsWith" { - const endsWith: typeof _.endsWith; - export = endsWith; -} - - -declare module "lodash/eq" { - const eq: typeof _.eq; - export = eq; -} - - -declare module "lodash/escape" { - const escape: typeof _.escape; - export = escape; -} - - -declare module "lodash/escapeRegExp" { - const escapeRegExp: typeof _.escapeRegExp; - export = escapeRegExp; -} - - -declare module "lodash/every" { - const every: typeof _.every; - export = every; -} - - -declare module "lodash/find" { - const find: typeof _.find; - export = find; -} - - -declare module "lodash/findIndex" { - const findIndex: typeof _.findIndex; - export = findIndex; -} - - -declare module "lodash/findKey" { - const findKey: typeof _.findKey; - export = findKey; -} - - -declare module "lodash/findLast" { - const findLast: typeof _.findLast; - export = findLast; -} - - -declare module "lodash/findLastIndex" { - const findLastIndex: typeof _.findLastIndex; - export = findLastIndex; -} - - -declare module "lodash/findLastKey" { - const findLastKey: typeof _.findLastKey; - export = findLastKey; -} - - -declare module "lodash/floor" { - const floor: typeof _.floor; - export = floor; -} - - -declare module "lodash/forEach" { - const forEach: typeof _.forEach; - export = forEach; -} - - -declare module "lodash/forEachRight" { - const forEachRight: typeof _.forEachRight; - export = forEachRight; -} - - -declare module "lodash/forIn" { - const forIn: typeof _.forIn; - export = forIn; -} - - -declare module "lodash/forInRight" { - const forInRight: typeof _.forInRight; - export = forInRight; -} - - -declare module "lodash/forOwn" { - const forOwn: typeof _.forOwn; - export = forOwn; -} - - -declare module "lodash/forOwnRight" { - const forOwnRight: typeof _.forOwnRight; - export = forOwnRight; -} - - -declare module "lodash/get" { - const get: typeof _.get; - export = get; -} - - -declare module "lodash/gt" { - const gt: typeof _.gt; - export = gt; -} - - -declare module "lodash/gte" { - const gte: typeof _.gte; - export = gte; -} - - -declare module "lodash/has" { - const has: typeof _.has; - export = has; -} - - -declare module "lodash/hasIn" { - const hasIn: typeof _.hasIn; - export = hasIn; -} - - -declare module "lodash/head" { - const head: typeof _.head; - export = head; -} - - -declare module "lodash/identity" { - const identity: typeof _.identity; - export = identity; -} - - -declare module "lodash/includes" { - const includes: typeof _.includes; - export = includes; -} - - -declare module "lodash/indexOf" { - const indexOf: typeof _.indexOf; - export = indexOf; -} - - -declare module "lodash/inRange" { - const inRange: typeof _.inRange; - export = inRange; -} - - -declare module "lodash/invoke" { - const invoke: typeof _.invoke; - export = invoke; -} - - -declare module "lodash/isArguments" { - const isArguments: typeof _.isArguments; - export = isArguments; -} - - -declare module "lodash/isArray" { - const isArray: typeof _.isArray; - export = isArray; -} - - -declare module "lodash/isArrayBuffer" { - const isArrayBuffer: typeof _.isArrayBuffer; - export = isArrayBuffer; -} - - -declare module "lodash/isArrayLike" { - const isArrayLike: typeof _.isArrayLike; - export = isArrayLike; -} - - -declare module "lodash/isArrayLikeObject" { - const isArrayLikeObject: typeof _.isArrayLikeObject; - export = isArrayLikeObject; -} - - -declare module "lodash/isBoolean" { - const isBoolean: typeof _.isBoolean; - export = isBoolean; -} - - -declare module "lodash/isBuffer" { - const isBuffer: typeof _.isBuffer; - export = isBuffer; -} - - -declare module "lodash/isDate" { - const isDate: typeof _.isDate; - export = isDate; -} - - -declare module "lodash/isElement" { - const isElement: typeof _.isElement; - export = isElement; -} - - -declare module "lodash/isEmpty" { - const isEmpty: typeof _.isEmpty; - export = isEmpty; -} - - -declare module "lodash/isEqual" { - const isEqual: typeof _.isEqual; - export = isEqual; -} - - -declare module "lodash/isEqualWith" { - const isEqualWith: typeof _.isEqualWith; - export = isEqualWith; -} - - -declare module "lodash/isError" { - const isError: typeof _.isError; - export = isError; -} - - -declare module "lodash/isFinite" { - const isFinite: typeof _.isFinite; - export = isFinite; -} - - -declare module "lodash/isFunction" { - const isFunction: typeof _.isFunction; - export = isFunction; -} - - -declare module "lodash/isInteger" { - const isInteger: typeof _.isInteger; - export = isInteger; -} - - -declare module "lodash/isLength" { - const isLength: typeof _.isLength; - export = isLength; -} - - -declare module "lodash/isMap" { - const isMap: typeof _.isMap; - export = isMap; -} - - -declare module "lodash/isMatch" { - const isMatch: typeof _.isMatch; - export = isMatch; -} - - -declare module "lodash/isMatchWith" { - const isMatchWith: typeof _.isMatchWith; - export = isMatchWith; -} - - -declare module "lodash/isNaN" { - const isNaN: typeof _.isNaN; - export = isNaN; -} - - -declare module "lodash/isNative" { - const isNative: typeof _.isNative; - export = isNative; -} - - -declare module "lodash/isNil" { - const isNil: typeof _.isNil; - export = isNil; -} - - -declare module "lodash/isNull" { - const isNull: typeof _.isNull; - export = isNull; -} - - -declare module "lodash/isNumber" { - const isNumber: typeof _.isNumber; - export = isNumber; -} - - -declare module "lodash/isObject" { - const isObject: typeof _.isObject; - export = isObject; -} - - -declare module "lodash/isObjectLike" { - const isObjectLike: typeof _.isObjectLike; - export = isObjectLike; -} - - -declare module "lodash/isPlainObject" { - const isPlainObject: typeof _.isPlainObject; - export = isPlainObject; -} - - -declare module "lodash/isRegExp" { - const isRegExp: typeof _.isRegExp; - export = isRegExp; -} - - -declare module "lodash/isSafeInteger" { - const isSafeInteger: typeof _.isSafeInteger; - export = isSafeInteger; -} - - -declare module "lodash/isSet" { - const isSet: typeof _.isSet; - export = isSet; -} - - -declare module "lodash/isString" { - const isString: typeof _.isString; - export = isString; -} - - -declare module "lodash/isSymbol" { - const isSymbol: typeof _.isSymbol; - export = isSymbol; -} - - -declare module "lodash/isTypedArray" { - const isTypedArray: typeof _.isTypedArray; - export = isTypedArray; -} - - -declare module "lodash/isUndefined" { - const isUndefined: typeof _.isUndefined; - export = isUndefined; -} - - -declare module "lodash/isWeakMap" { - const isWeakMap: typeof _.isWeakMap; - export = isWeakMap; -} - - -declare module "lodash/isWeakSet" { - const isWeakSet: typeof _.isWeakSet; - export = isWeakSet; -} - - -declare module "lodash/join" { - const join: typeof _.join; - export = join; -} - - -declare module "lodash/kebabCase" { - const kebabCase: typeof _.kebabCase; - export = kebabCase; -} - - -declare module "lodash/last" { - const last: typeof _.last; - export = last; -} - - -declare module "lodash/lastIndexOf" { - const lastIndexOf: typeof _.lastIndexOf; - export = lastIndexOf; -} - - -declare module "lodash/lowerCase" { - const lowerCase: typeof _.lowerCase; - export = lowerCase; -} - - -declare module "lodash/lowerFirst" { - const lowerFirst: typeof _.lowerFirst; - export = lowerFirst; -} - - -declare module "lodash/lt" { - const lt: typeof _.lt; - export = lt; -} - - -declare module "lodash/lte" { - const lte: typeof _.lte; - export = lte; -} - - -declare module "lodash/max" { - const max: typeof _.max; - export = max; -} - - -declare module "lodash/maxBy" { - const maxBy: typeof _.maxBy; - export = maxBy; -} - - -declare module "lodash/mean" { - const mean: typeof _.mean; - export = mean; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/meanBy" { - const meanBy: typeof _.meanBy; - export = meanBy; -} -*/ - -declare module "lodash/min" { - const min: typeof _.min; - export = min; -} - - -declare module "lodash/minBy" { - const minBy: typeof _.minBy; - export = minBy; -} - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/multiply" { - const multiply: typeof _.multiply; - export = multiply; -} -*/ - -/** -* uncoment it if definition exists -*/ -/* -declare module "lodash/nth" { - const nth: typeof _.nth; - export = nth; -} -*/ - -declare module "lodash/noConflict" { - const noConflict: typeof _.noConflict; - export = noConflict; -} - - -declare module "lodash/noop" { - const noop: typeof _.noop; - export = noop; -} - - -declare module "lodash/now" { - const now: typeof _.now; - export = now; -} - - -declare module "lodash/pad" { - const pad: typeof _.pad; - export = pad; -} - - -declare module "lodash/padEnd" { - const padEnd: typeof _.padEnd; - export = padEnd; -} - - -declare module "lodash/padStart" { - const padStart: typeof _.padStart; - export = padStart; -} - - -declare module "lodash/parseInt" { - const parseInt: typeof _.parseInt; - export = parseInt; -} - - -declare module "lodash/random" { - const random: typeof _.random; - export = random; -} - - -declare module "lodash/reduce" { - const reduce: typeof _.reduce; - export = reduce; -} - - -declare module "lodash/reduceRight" { - const reduceRight: typeof _.reduceRight; - export = reduceRight; -} - - -declare module "lodash/repeat" { - const repeat: typeof _.repeat; - export = repeat; -} - - -declare module "lodash/replace" { - const replace: typeof _.replace; - export = replace; -} - - -declare module "lodash/result" { - const result: typeof _.result; - export = result; -} - - -declare module "lodash/round" { - const round: typeof _.round; - export = round; -} - - -declare module "lodash/runInContext" { - const runInContext: typeof _.runInContext; - export = runInContext; -} - - -declare module "lodash/sample" { - const sample: typeof _.sample; - export = sample; -} - - -declare module "lodash/size" { - const size: typeof _.size; - export = size; -} - - -declare module "lodash/snakeCase" { - const snakeCase: typeof _.snakeCase; - export = snakeCase; -} - - -declare module "lodash/some" { - const some: typeof _.some; - export = some; -} - - -declare module "lodash/sortedIndex" { - const sortedIndex: typeof _.sortedIndex; - export = sortedIndex; -} - - -declare module "lodash/sortedIndexBy" { - const sortedIndexBy: typeof _.sortedIndexBy; - export = sortedIndexBy; -} - - -declare module "lodash/sortedIndexOf" { - const sortedIndexOf: typeof _.sortedIndexOf; - export = sortedIndexOf; -} - - -declare module "lodash/sortedLastIndex" { - const sortedLastIndex: typeof _.sortedLastIndex; - export = sortedLastIndex; -} - - -declare module "lodash/sortedLastIndexBy" { - const sortedLastIndexBy: typeof _.sortedLastIndexBy; - export = sortedLastIndexBy; -} - - -declare module "lodash/sortedLastIndexOf" { - const sortedLastIndexOf: typeof _.sortedLastIndexOf; - export = sortedLastIndexOf; -} - - -declare module "lodash/startCase" { - const startCase: typeof _.startCase; - export = startCase; -} - - -declare module "lodash/startsWith" { - const startsWith: typeof _.startsWith; - export = startsWith; -} - - -declare module "lodash/subtract" { - const subtract: typeof _.subtract; - export = subtract; -} - - -declare module "lodash/sum" { - const sum: typeof _.sum; - export = sum; -} - - -declare module "lodash/sumBy" { - const sumBy: typeof _.sumBy; - export = sumBy; -} - - -declare module "lodash/template" { - const template: typeof _.template; - export = template; -} - - -declare module "lodash/times" { - const times: typeof _.times; - export = times; -} - - -declare module "lodash/toInteger" { - const toInteger: typeof _.toInteger; - export = toInteger; -} - - -declare module "lodash/toLength" { - const toLength: typeof _.toLength; - export = toLength; -} - - -declare module "lodash/toLower" { - const toLower: typeof _.toLower; - export = toLower; -} - - -declare module "lodash/toNumber" { - const toNumber: typeof _.toNumber; - export = toNumber; -} - - -declare module "lodash/toSafeInteger" { - const toSafeInteger: typeof _.toSafeInteger; - export = toSafeInteger; -} - - -declare module "lodash/toString" { - const toString: typeof _.toString; - export = toString; -} - - -declare module "lodash/toUpper" { - const toUpper: typeof _.toUpper; - export = toUpper; -} - - -declare module "lodash/trim" { - const trim: typeof _.trim; - export = trim; -} - - -declare module "lodash/trimEnd" { - const trimEnd: typeof _.trimEnd; - export = trimEnd; -} - - -declare module "lodash/trimStart" { - const trimStart: typeof _.trimStart; - export = trimStart; -} - - -declare module "lodash/truncate" { - const truncate: typeof _.truncate; - export = truncate; -} - - -declare module "lodash/unescape" { - const unescape: typeof _.unescape; - export = unescape; -} - - -declare module "lodash/uniqueId" { - const uniqueId: typeof _.uniqueId; - export = uniqueId; -} - - -declare module "lodash/upperCase" { - const upperCase: typeof _.upperCase; - export = upperCase; -} - - -declare module "lodash/upperFirst" { - const upperFirst: typeof _.upperFirst; - export = upperFirst; -} - - -declare module "lodash/each" { - const each: typeof _.each; - export = each; -} - - -declare module "lodash/eachRight" { - const eachRight: typeof _.eachRight; - export = eachRight; -} - - -declare module "lodash/first" { - const first: typeof _.first; - export = first; -} - -declare module "lodash/fp" { - export = _; -} - -declare module "lodash" { - export = _; -} - -// Backward compatibility with --target es5 -interface Set {} -interface Map {} -interface WeakSet {} -interface WeakMap {} diff --git a/samples/js-bot-framework/webpart/typings/mocha/mocha.d.ts b/samples/js-bot-framework/webpart/typings/mocha/mocha.d.ts deleted file mode 100644 index 88dc359fc..000000000 --- a/samples/js-bot-framework/webpart/typings/mocha/mocha.d.ts +++ /dev/null @@ -1,214 +0,0 @@ -// Type definitions for mocha 2.2.5 -// Project: http://mochajs.org/ -// Definitions by: Kazi Manzur Rashid , otiai10 , jt000 , Vadim Macagon -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -interface MochaSetupOptions { - //milliseconds to wait before considering a test slow - slow?: number; - - // timeout in milliseconds - timeout?: number; - - // ui name "bdd", "tdd", "exports" etc - ui?: string; - - //array of accepted globals - globals?: any[]; - - // reporter instance (function or string), defaults to `mocha.reporters.Spec` - reporter?: any; - - // bail on the first test failure - bail?: boolean; - - // ignore global leaks - ignoreLeaks?: boolean; - - // grep string or regexp to filter tests with - grep?: any; -} - -interface MochaDone { - (error?: Error): void; -} - -declare var mocha: Mocha; -declare var describe: Mocha.IContextDefinition; -declare var xdescribe: Mocha.IContextDefinition; -// alias for `describe` -declare var context: Mocha.IContextDefinition; -// alias for `describe` -declare var suite: Mocha.IContextDefinition; -declare var it: Mocha.ITestDefinition; -declare var xit: Mocha.ITestDefinition; -// alias for `it` -declare var test: Mocha.ITestDefinition; - -declare function before(action: () => void): void; - -declare function before(action: (done: MochaDone) => void): void; - -declare function setup(action: () => void): void; - -declare function setup(action: (done: MochaDone) => void): void; - -declare function after(action: () => void): void; - -declare function after(action: (done: MochaDone) => void): void; - -declare function teardown(action: () => void): void; - -declare function teardown(action: (done: MochaDone) => void): void; - -declare function beforeEach(action: () => void): void; - -declare function beforeEach(action: (done: MochaDone) => void): void; - -declare function suiteSetup(action: () => void): void; - -declare function suiteSetup(action: (done: MochaDone) => void): void; - -declare function afterEach(action: () => void): void; - -declare function afterEach(action: (done: MochaDone) => void): void; - -declare function suiteTeardown(action: () => void): void; - -declare function suiteTeardown(action: (done: MochaDone) => void): void; - -declare class Mocha { - constructor(options?: { - grep?: RegExp; - ui?: string; - reporter?: string; - timeout?: number; - bail?: boolean; - }); - - /** Setup mocha with the given options. */ - setup(options: MochaSetupOptions): Mocha; - bail(value?: boolean): Mocha; - addFile(file: string): Mocha; - /** Sets reporter by name, defaults to "spec". */ - reporter(name: string): Mocha; - /** Sets reporter constructor, defaults to mocha.reporters.Spec. */ - reporter(reporter: (runner: Mocha.IRunner, options: any) => any): Mocha; - ui(value: string): Mocha; - grep(value: string): Mocha; - grep(value: RegExp): Mocha; - invert(): Mocha; - ignoreLeaks(value: boolean): Mocha; - checkLeaks(): Mocha; - /** Enables growl support. */ - growl(): Mocha; - globals(value: string): Mocha; - globals(values: string[]): Mocha; - useColors(value: boolean): Mocha; - useInlineDiffs(value: boolean): Mocha; - timeout(value: number): Mocha; - slow(value: number): Mocha; - enableTimeouts(value: boolean): Mocha; - asyncOnly(value: boolean): Mocha; - noHighlighting(value: boolean): Mocha; - /** Runs tests and invokes `onComplete()` when finished. */ - run(onComplete?: (failures: number) => void): Mocha.IRunner; -} - -// merge the Mocha class declaration with a module -declare module Mocha { - /** Partial interface for Mocha's `Runnable` class. */ - interface IRunnable { - title: string; - fn: Function; - async: boolean; - sync: boolean; - timedOut: boolean; - } - - /** Partial interface for Mocha's `Suite` class. */ - interface ISuite { - parent: ISuite; - title: string; - - fullTitle(): string; - } - - /** Partial interface for Mocha's `Test` class. */ - interface ITest extends IRunnable { - parent: ISuite; - pending: boolean; - - fullTitle(): string; - } - - /** Partial interface for Mocha's `Runner` class. */ - interface IRunner {} - - interface IContextDefinition { - (description: string, spec: () => void): ISuite; - only(description: string, spec: () => void): ISuite; - skip(description: string, spec: () => void): void; - timeout(ms: number): void; - } - - interface ITestDefinition { - (expectation: string, assertion?: () => void): ITest; - (expectation: string, assertion?: (done: MochaDone) => void): ITest; - only(expectation: string, assertion?: () => void): ITest; - only(expectation: string, assertion?: (done: MochaDone) => void): ITest; - skip(expectation: string, assertion?: () => void): void; - skip(expectation: string, assertion?: (done: MochaDone) => void): void; - timeout(ms: number): void; - } - - export module reporters { - export class Base { - stats: { - suites: number; - tests: number; - passes: number; - pending: number; - failures: number; - }; - - constructor(runner: IRunner); - } - - export class Doc extends Base {} - export class Dot extends Base {} - export class HTML extends Base {} - export class HTMLCov extends Base {} - export class JSON extends Base {} - export class JSONCov extends Base {} - export class JSONStream extends Base {} - export class Landing extends Base {} - export class List extends Base {} - export class Markdown extends Base {} - export class Min extends Base {} - export class Nyan extends Base {} - export class Progress extends Base { - /** - * @param options.open String used to indicate the start of the progress bar. - * @param options.complete String used to indicate a complete test on the progress bar. - * @param options.incomplete String used to indicate an incomplete test on the progress bar. - * @param options.close String used to indicate the end of the progress bar. - */ - constructor(runner: IRunner, options?: { - open?: string; - complete?: string; - incomplete?: string; - close?: string; - }); - } - export class Spec extends Base {} - export class TAP extends Base {} - export class XUnit extends Base { - constructor(runner: IRunner, options?: any); - } - } -} - -declare module "mocha" { - export = Mocha; -} diff --git a/samples/js-bot-framework/webpart/typings/node/node.d.ts b/samples/js-bot-framework/webpart/typings/node/node.d.ts deleted file mode 100644 index 710a133f0..000000000 --- a/samples/js-bot-framework/webpart/typings/node/node.d.ts +++ /dev/null @@ -1,2392 +0,0 @@ -// Type definitions for Node.js v4.x -// Project: http://nodejs.org/ -// Definitions by: Microsoft TypeScript , DefinitelyTyped -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/************************************************ -* * -* Node.js v4.x API * -* * -************************************************/ - -interface Error { - stack?: string; -} - - -// compat for TypeScript 1.8 -// if you use with --target es3 or --target es5 and use below definitions, -// use the lib.es6.d.ts that is bundled with TypeScript 1.8. -interface MapConstructor {} -interface WeakMapConstructor {} -interface SetConstructor {} -interface WeakSetConstructor {} - -/************************************************ -* * -* GLOBAL * -* * -************************************************/ -declare var process: NodeJS.Process; -declare var global: NodeJS.Global; - -declare var __filename: string; -declare var __dirname: string; - -declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; -declare function clearTimeout(timeoutId: NodeJS.Timer): void; -declare function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timer; -declare function clearInterval(intervalId: NodeJS.Timer): void; -declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): any; -declare function clearImmediate(immediateId: any): void; - -interface NodeRequireFunction { - (id: string): any; -} - -interface NodeRequire extends NodeRequireFunction { - resolve(id:string): string; - cache: any; - extensions: any; - main: any; -} - -// HACK to use ODSP webpack require function. -// declare var require: NodeRequire; - -interface NodeModule { - exports: any; - require: NodeRequireFunction; - id: string; - filename: string; - loaded: boolean; - parent: any; - children: any[]; -} - -declare var module: NodeModule; - -// Same as module.exports -declare var exports: any; -declare var SlowBuffer: { - new (str: string, encoding?: string): Buffer; - new (size: number): Buffer; - new (size: Uint8Array): Buffer; - new (array: any[]): Buffer; - prototype: Buffer; - isBuffer(obj: any): boolean; - byteLength(string: string, encoding?: string): number; - concat(list: Buffer[], totalLength?: number): Buffer; -}; - - -// Buffer class -type BufferEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "binary" | "hex"; -interface Buffer extends NodeBuffer {} - -/** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - */ -declare var Buffer: { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - */ - new (str: string, encoding?: string): Buffer; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - */ - new (size: number): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - new (array: Uint8Array): Buffer; - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - */ - new (arrayBuffer: ArrayBuffer): Buffer; - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - */ - new (array: any[]): Buffer; - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - */ - new (buffer: Buffer): Buffer; - prototype: Buffer; - /** - * Allocates a new Buffer using an {array} of octets. - * - * @param array - */ - from(array: any[]): Buffer; - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() - * @param byteOffset - * @param length - */ - from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?:number): Buffer; - /** - * Copies the passed {buffer} data onto a new Buffer instance. - * - * @param buffer - */ - from(buffer: Buffer): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - * - * @param str - */ - from(str: string, encoding?: string): Buffer; - /** - * Returns true if {obj} is a Buffer - * - * @param obj object to test. - */ - isBuffer(obj: any): obj is Buffer; - /** - * Returns true if {encoding} is a valid encoding argument. - * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - * - * @param encoding string to test. - */ - isEncoding(encoding: string): boolean; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - byteLength(string: string, encoding?: string): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - concat(list: Buffer[], totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - compare(buf1: Buffer, buf2: Buffer): number; -}; - -/************************************************ -* * -* GLOBAL INTERFACES * -* * -************************************************/ -declare namespace NodeJS { - export interface ErrnoException extends Error { - errno?: number; - code?: string; - path?: string; - syscall?: string; - stack?: string; - } - - export interface EventEmitter { - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string): Function[]; - emit(event: string, ...args: any[]): boolean; - listenerCount(type: string): number; - } - - export interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string|Buffer; - setEncoding(encoding: string): void; - pause(): void; - resume(): void; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: string): void; - unshift(chunk: Buffer): void; - wrap(oldStream: ReadableStream): ReadableStream; - } - - export interface WritableStream extends EventEmitter { - writable: boolean; - write(buffer: Buffer|string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - } - - export interface ReadWriteStream extends ReadableStream, WritableStream {} - - export interface Events extends EventEmitter { } - - export interface Domain extends Events { - run(fn: Function): void; - add(emitter: Events): void; - remove(emitter: Events): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; - - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - } - - export interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - } - - export interface Process extends EventEmitter { - stdout: WritableStream; - stderr: WritableStream; - stdin: ReadableStream; - argv: string[]; - execArgv: string[]; - execPath: string; - abort(): void; - chdir(directory: string): void; - cwd(): string; - env: any; - exit(code?: number): void; - getgid(): number; - setgid(id: number): void; - setgid(id: string): void; - getuid(): number; - setuid(id: number): void; - setuid(id: string): void; - version: string; - versions: { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - }; - config: { - target_defaults: { - cflags: any[]; - default_configuration: string; - defines: string[]; - include_dirs: string[]; - libraries: string[]; - }; - variables: { - clang: number; - host_arch: string; - node_install_npm: boolean; - node_install_waf: boolean; - node_prefix: string; - node_shared_openssl: boolean; - node_shared_v8: boolean; - node_shared_zlib: boolean; - node_use_dtrace: boolean; - node_use_etw: boolean; - node_use_openssl: boolean; - target_arch: string; - v8_no_strict_aliasing: number; - v8_use_snapshot: boolean; - visibility: string; - }; - }; - kill(pid:number, signal?: string|number): void; - pid: number; - title: string; - arch: string; - platform: string; - memoryUsage(): MemoryUsage; - nextTick(callback: Function): void; - umask(mask?: number): number; - uptime(): number; - hrtime(time?:number[]): number[]; - domain: Domain; - - // Worker - send?(message: any, sendHandle?: any): void; - disconnect(): void; - connected: boolean; - } - - export interface Global { - Array: typeof Array; - ArrayBuffer: typeof ArrayBuffer; - Boolean: typeof Boolean; - Buffer: typeof Buffer; - DataView: typeof DataView; - Date: typeof Date; - Error: typeof Error; - EvalError: typeof EvalError; - Float32Array: typeof Float32Array; - Float64Array: typeof Float64Array; - Function: typeof Function; - GLOBAL: Global; - Infinity: typeof Infinity; - Int16Array: typeof Int16Array; - Int32Array: typeof Int32Array; - Int8Array: typeof Int8Array; - Intl: typeof Intl; - JSON: typeof JSON; - Map: MapConstructor; - Math: typeof Math; - NaN: typeof NaN; - Number: typeof Number; - Object: typeof Object; - Promise: Function; - RangeError: typeof RangeError; - ReferenceError: typeof ReferenceError; - RegExp: typeof RegExp; - Set: SetConstructor; - String: typeof String; - Symbol: Function; - SyntaxError: typeof SyntaxError; - TypeError: typeof TypeError; - URIError: typeof URIError; - Uint16Array: typeof Uint16Array; - Uint32Array: typeof Uint32Array; - Uint8Array: typeof Uint8Array; - Uint8ClampedArray: Function; - WeakMap: WeakMapConstructor; - WeakSet: WeakSetConstructor; - clearImmediate: (immediateId: any) => void; - clearInterval: (intervalId: NodeJS.Timer) => void; - clearTimeout: (timeoutId: NodeJS.Timer) => void; - console: typeof console; - decodeURI: typeof decodeURI; - decodeURIComponent: typeof decodeURIComponent; - encodeURI: typeof encodeURI; - encodeURIComponent: typeof encodeURIComponent; - escape: (str: string) => string; - eval: typeof eval; - global: Global; - isFinite: typeof isFinite; - isNaN: typeof isNaN; - parseFloat: typeof parseFloat; - parseInt: typeof parseInt; - process: Process; - root: Global; - setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => any; - setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => NodeJS.Timer; - undefined: typeof undefined; - unescape: (str: string) => string; - gc: () => void; - v8debug?: any; - } - - export interface Timer { - ref() : void; - unref() : void; - } -} - -/** - * @deprecated - */ -interface NodeBuffer extends Uint8Array { - write(string: string, offset?: number, length?: number, encoding?: string): number; - toString(encoding?: string, start?: number, end?: number): string; - toJSON(): any; - equals(otherBuffer: Buffer): boolean; - compare(otherBuffer: Buffer): number; - copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - slice(start?: number, end?: number): Buffer; - writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; - readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; - readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; - readUInt8(offset: number, noAssert?: boolean): number; - readUInt16LE(offset: number, noAssert?: boolean): number; - readUInt16BE(offset: number, noAssert?: boolean): number; - readUInt32LE(offset: number, noAssert?: boolean): number; - readUInt32BE(offset: number, noAssert?: boolean): number; - readInt8(offset: number, noAssert?: boolean): number; - readInt16LE(offset: number, noAssert?: boolean): number; - readInt16BE(offset: number, noAssert?: boolean): number; - readInt32LE(offset: number, noAssert?: boolean): number; - readInt32BE(offset: number, noAssert?: boolean): number; - readFloatLE(offset: number, noAssert?: boolean): number; - readFloatBE(offset: number, noAssert?: boolean): number; - readDoubleLE(offset: number, noAssert?: boolean): number; - readDoubleBE(offset: number, noAssert?: boolean): number; - writeUInt8(value: number, offset: number, noAssert?: boolean): number; - writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeInt8(value: number, offset: number, noAssert?: boolean): number; - writeInt16LE(value: number, offset: number, noAssert?: boolean): number; - writeInt16BE(value: number, offset: number, noAssert?: boolean): number; - writeInt32LE(value: number, offset: number, noAssert?: boolean): number; - writeInt32BE(value: number, offset: number, noAssert?: boolean): number; - writeFloatLE(value: number, offset: number, noAssert?: boolean): number; - writeFloatBE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; - writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; - fill(value: any, offset?: number, end?: number): this; - // TODO: encoding param - indexOf(value: string | number | Buffer, byteOffset?: number): number; - // TODO: entries - // TODO: includes - // TODO: keys - // TODO: values -} - -/************************************************ -* * -* MODULES * -* * -************************************************/ -declare module "buffer" { - export var INSPECT_MAX_BYTES: number; - var BuffType: typeof Buffer; - var SlowBuffType: typeof SlowBuffer; - export { BuffType as Buffer, SlowBuffType as SlowBuffer }; -} - -declare module "querystring" { - export interface StringifyOptions { - encodeURIComponent?: Function; - } - - export interface ParseOptions { - maxKeys?: number; - decodeURIComponent?: Function; - } - - export function stringify(obj: T, sep?: string, eq?: string, options?: StringifyOptions): string; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): any; - export function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): T; - export function escape(str: string): string; - export function unescape(str: string): string; -} - -declare module "events" { - export class EventEmitter implements NodeJS.EventEmitter { - static EventEmitter: EventEmitter; - static listenerCount(emitter: EventEmitter, event: string): number; // deprecated - static defaultMaxListeners: number; - - addListener(event: string, listener: Function): this; - on(event: string, listener: Function): this; - once(event: string, listener: Function): this; - removeListener(event: string, listener: Function): this; - removeAllListeners(event?: string): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string): Function[]; - emit(event: string, ...args: any[]): boolean; - listenerCount(type: string): number; - } -} - -declare module "http" { - import * as events from "events"; - import * as net from "net"; - import * as stream from "stream"; - - export interface RequestOptions { - protocol?: string; - host?: string; - hostname?: string; - family?: number; - port?: number; - localAddress?: string; - socketPath?: string; - method?: string; - path?: string; - headers?: { [key: string]: any }; - auth?: string; - agent?: Agent|boolean; - } - - export interface Server extends events.EventEmitter, net.Server { - setTimeout(msecs: number, callback: Function): void; - maxHeadersCount: number; - timeout: number; - } - /** - * @deprecated Use IncomingMessage - */ - export interface ServerRequest extends IncomingMessage { - connection: net.Socket; - } - export interface ServerResponse extends events.EventEmitter, stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - writeContinue(): void; - writeHead(statusCode: number, reasonPhrase?: string, headers?: any): void; - writeHead(statusCode: number, headers?: any): void; - statusCode: number; - statusMessage: string; - headersSent: boolean; - setHeader(name: string, value: string | string[]): void; - sendDate: boolean; - getHeader(name: string): string; - removeHeader(name: string): void; - write(chunk: any, encoding?: string): any; - addTrailers(headers: any): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - export interface ClientRequest extends events.EventEmitter, stream.Writable { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - write(chunk: any, encoding?: string): void; - abort(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - - setHeader(name: string, value: string | string[]): void; - getHeader(name: string): string; - removeHeader(name: string): void; - addTrailers(headers: any): void; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - export interface IncomingMessage extends events.EventEmitter, stream.Readable { - httpVersion: string; - headers: any; - rawHeaders: string[]; - trailers: any; - rawTrailers: any; - setTimeout(msecs: number, callback: Function): NodeJS.Timer; - /** - * Only valid for request obtained from http.Server. - */ - method?: string; - /** - * Only valid for request obtained from http.Server. - */ - url?: string; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusCode?: number; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusMessage?: string; - socket: net.Socket; - } - /** - * @deprecated Use IncomingMessage - */ - export interface ClientResponse extends IncomingMessage { } - - export interface AgentOptions { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number; - } - - export class Agent { - maxSockets: number; - sockets: any; - requests: any; - - constructor(opts?: AgentOptions); - - /** - * Destroy any sockets that are currently in use by the agent. - * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, - * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, - * sockets may hang open for quite a long time before the server terminates them. - */ - destroy(): void; - } - - export var METHODS: string[]; - - export var STATUS_CODES: { - [errorCode: number]: string; - [errorCode: string]: string; - }; - export function createServer(requestListener?: (request: IncomingMessage, response: ServerResponse) =>void ): Server; - export function createClient(port?: number, host?: string): any; - export function request(options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - export function get(options: any, callback?: (res: IncomingMessage) => void): ClientRequest; - export var globalAgent: Agent; -} - -declare module "cluster" { - import * as child from "child_process"; - import * as events from "events"; - - export interface ClusterSettings { - exec?: string; - args?: string[]; - silent?: boolean; - } - - export interface Address { - address: string; - port: number; - addressType: string; - } - - export class Worker extends events.EventEmitter { - id: string; - process: child.ChildProcess; - suicide: boolean; - send(message: any, sendHandle?: any): void; - kill(signal?: string): void; - destroy(signal?: string): void; - disconnect(): void; - isConnected(): boolean; - isDead(): boolean; - } - - export var settings: ClusterSettings; - export var isMaster: boolean; - export var isWorker: boolean; - export function setupMaster(settings?: ClusterSettings): void; - export function fork(env?: any): Worker; - export function disconnect(callback?: Function): void; - export var worker: Worker; - export var workers: { - [index: string]: Worker - }; - - // Event emitter - export function addListener(event: string, listener: Function): void; - export function on(event: "disconnect", listener: (worker: Worker) => void): void; - export function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): void; - export function on(event: "fork", listener: (worker: Worker) => void): void; - export function on(event: "listening", listener: (worker: Worker, address: any) => void): void; - export function on(event: "message", listener: (worker: Worker, message: any) => void): void; - export function on(event: "online", listener: (worker: Worker) => void): void; - export function on(event: "setup", listener: (settings: any) => void): void; - export function on(event: string, listener: Function): any; - export function once(event: string, listener: Function): void; - export function removeListener(event: string, listener: Function): void; - export function removeAllListeners(event?: string): void; - export function setMaxListeners(n: number): void; - export function listeners(event: string): Function[]; - export function emit(event: string, ...args: any[]): boolean; -} - -declare module "zlib" { - import * as stream from "stream"; - export interface ZlibOptions { chunkSize?: number; windowBits?: number; level?: number; memLevel?: number; strategy?: number; dictionary?: any; } - - export interface Gzip extends stream.Transform { } - export interface Gunzip extends stream.Transform { } - export interface Deflate extends stream.Transform { } - export interface Inflate extends stream.Transform { } - export interface DeflateRaw extends stream.Transform { } - export interface InflateRaw extends stream.Transform { } - export interface Unzip extends stream.Transform { } - - export function createGzip(options?: ZlibOptions): Gzip; - export function createGunzip(options?: ZlibOptions): Gunzip; - export function createDeflate(options?: ZlibOptions): Deflate; - export function createInflate(options?: ZlibOptions): Inflate; - export function createDeflateRaw(options?: ZlibOptions): DeflateRaw; - export function createInflateRaw(options?: ZlibOptions): InflateRaw; - export function createUnzip(options?: ZlibOptions): Unzip; - - export function deflate(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function deflateSync(buf: Buffer, options?: ZlibOptions): any; - export function deflateRaw(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function deflateRawSync(buf: Buffer, options?: ZlibOptions): any; - export function gzip(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function gzipSync(buf: Buffer, options?: ZlibOptions): any; - export function gunzip(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function gunzipSync(buf: Buffer, options?: ZlibOptions): any; - export function inflate(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function inflateSync(buf: Buffer, options?: ZlibOptions): any; - export function inflateRaw(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function inflateRawSync(buf: Buffer, options?: ZlibOptions): any; - export function unzip(buf: Buffer, callback: (error: Error, result: any) =>void ): void; - export function unzipSync(buf: Buffer, options?: ZlibOptions): any; - - // Constants - export var Z_NO_FLUSH: number; - export var Z_PARTIAL_FLUSH: number; - export var Z_SYNC_FLUSH: number; - export var Z_FULL_FLUSH: number; - export var Z_FINISH: number; - export var Z_BLOCK: number; - export var Z_TREES: number; - export var Z_OK: number; - export var Z_STREAM_END: number; - export var Z_NEED_DICT: number; - export var Z_ERRNO: number; - export var Z_STREAM_ERROR: number; - export var Z_DATA_ERROR: number; - export var Z_MEM_ERROR: number; - export var Z_BUF_ERROR: number; - export var Z_VERSION_ERROR: number; - export var Z_NO_COMPRESSION: number; - export var Z_BEST_SPEED: number; - export var Z_BEST_COMPRESSION: number; - export var Z_DEFAULT_COMPRESSION: number; - export var Z_FILTERED: number; - export var Z_HUFFMAN_ONLY: number; - export var Z_RLE: number; - export var Z_FIXED: number; - export var Z_DEFAULT_STRATEGY: number; - export var Z_BINARY: number; - export var Z_TEXT: number; - export var Z_ASCII: number; - export var Z_UNKNOWN: number; - export var Z_DEFLATED: number; - export var Z_NULL: number; -} - -declare module "os" { - export interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - - export interface NetworkInterfaceInfo { - address: string; - netmask: string; - family: string; - mac: string; - internal: boolean; - } - - export function tmpdir(): string; - export function homedir(): string; - export function endianness(): string; - export function hostname(): string; - export function type(): string; - export function platform(): string; - export function arch(): string; - export function release(): string; - export function uptime(): number; - export function loadavg(): number[]; - export function totalmem(): number; - export function freemem(): number; - export function cpus(): CpuInfo[]; - export function networkInterfaces(): {[index: string]: NetworkInterfaceInfo[]}; - export var EOL: string; -} - -declare module "https" { - import * as tls from "tls"; - import * as events from "events"; - import * as http from "http"; - - export interface ServerOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - crl?: any; - ciphers?: string; - honorCipherOrder?: boolean; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: any; - SNICallback?: (servername: string) => any; - } - - export interface RequestOptions extends http.RequestOptions { - pfx?: any; - key?: any; - passphrase?: string; - cert?: any; - ca?: any; - ciphers?: string; - rejectUnauthorized?: boolean; - secureProtocol?: string; - } - - export interface Agent extends http.Agent { } - - export interface AgentOptions extends http.AgentOptions { - maxCachedSessions?: number; - } - - export var Agent: { - new (options?: AgentOptions): Agent; - }; - export interface Server extends tls.Server { } - export function createServer(options: ServerOptions, requestListener?: Function): Server; - export function request(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; - export function get(options: RequestOptions, callback?: (res: http.IncomingMessage) =>void ): http.ClientRequest; - export var globalAgent: Agent; -} - -declare module "punycode" { - export function decode(string: string): string; - export function encode(string: string): string; - export function toUnicode(domain: string): string; - export function toASCII(domain: string): string; - export var ucs2: ucs2; - interface ucs2 { - decode(string: string): number[]; - encode(codePoints: number[]): string; - } - export var version: any; -} - -declare module "repl" { - import * as stream from "stream"; - import * as events from "events"; - - export interface ReplOptions { - prompt?: string; - input?: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - terminal?: boolean; - eval?: Function; - useColors?: boolean; - useGlobal?: boolean; - ignoreUndefined?: boolean; - writer?: Function; - } - export function start(options: ReplOptions): events.EventEmitter; -} - -declare module "readline" { - import * as events from "events"; - import * as stream from "stream"; - - export interface Key { - sequence?: string; - name?: string; - ctrl?: boolean; - meta?: boolean; - shift?: boolean; - } - - export interface ReadLine extends events.EventEmitter { - setPrompt(prompt: string): void; - prompt(preserveCursor?: boolean): void; - question(query: string, callback: (answer: string) => void): void; - pause(): ReadLine; - resume(): ReadLine; - close(): void; - write(data: string|Buffer, key?: Key): void; - } - - export interface Completer { - (line: string): CompleterResult; - (line: string, callback: (err: any, result: CompleterResult) => void): any; - } - - export interface CompleterResult { - completions: string[]; - line: string; - } - - export interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - completer?: Completer; - terminal?: boolean; - historySize?: number; - } - - export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer, terminal?: boolean): ReadLine; - export function createInterface(options: ReadLineOptions): ReadLine; - - export function cursorTo(stream: NodeJS.WritableStream, x: number, y: number): void; - export function moveCursor(stream: NodeJS.WritableStream, dx: number|string, dy: number|string): void; - export function clearLine(stream: NodeJS.WritableStream, dir: number): void; - export function clearScreenDown(stream: NodeJS.WritableStream): void; -} - -declare module "vm" { - export interface Context { } - export interface ScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - cachedData?: Buffer; - produceCachedData?: boolean; - } - export interface RunningScriptOptions { - filename?: string; - lineOffset?: number; - columnOffset?: number; - displayErrors?: boolean; - timeout?: number; - } - export class Script { - constructor(code: string, options?: ScriptOptions); - runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any; - runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any; - runInThisContext(options?: RunningScriptOptions): any; - } - export function createContext(sandbox?: Context): Context; - export function isContext(sandbox: Context): boolean; - export function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions): any; - export function runInDebugContext(code: string): any; - export function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions): any; - export function runInThisContext(code: string, options?: RunningScriptOptions): any; -} - -declare module "child_process" { - import * as events from "events"; - import * as stream from "stream"; - - export interface ChildProcess extends events.EventEmitter { - stdin: stream.Writable; - stdout: stream.Readable; - stderr: stream.Readable; - stdio: [stream.Writable, stream.Readable, stream.Readable]; - pid: number; - kill(signal?: string): void; - send(message: any, sendHandle?: any): void; - disconnect(): void; - unref(): void; - } - - export interface SpawnOptions { - cwd?: string; - env?: any; - stdio?: any; - detached?: boolean; - uid?: number; - gid?: number; - shell?: boolean | string; - } - export function spawn(command: string, args?: string[], options?: SpawnOptions): ChildProcess; - - export interface ExecOptions { - cwd?: string; - env?: any; - shell?: string; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - } - export interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - export interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: string; // specify `null`. - } - export function exec(command: string, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function exec(command: string, options: ExecOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - // usage. child_process.exec("tsc", {encoding: null as string}, (err, stdout, stderr) => {}); - export function exec(command: string, options: ExecOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; - export function exec(command: string, options: ExecOptions, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - - export interface ExecFileOptions { - cwd?: string; - env?: any; - timeout?: number; - maxBuffer?: number; - killSignal?: string; - uid?: number; - gid?: number; - } - export interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - export interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: string; // specify `null`. - } - export function execFile(file: string, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function execFile(file: string, options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - // usage. child_process.execFile("file.sh", {encoding: null as string}, (err, stdout, stderr) => {}); - export function execFile(file: string, options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; - export function execFile(file: string, options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function execFile(file: string, args?: string[], callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithStringEncoding, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - // usage. child_process.execFile("file.sh", ["foo"], {encoding: null as string}, (err, stdout, stderr) => {}); - export function execFile(file: string, args?: string[], options?: ExecFileOptionsWithBufferEncoding, callback?: (error: Error, stdout: Buffer, stderr: Buffer) =>void ): ChildProcess; - export function execFile(file: string, args?: string[], options?: ExecFileOptions, callback?: (error: Error, stdout: string, stderr: string) =>void ): ChildProcess; - - export interface ForkOptions { - cwd?: string; - env?: any; - execPath?: string; - execArgv?: string[]; - silent?: boolean; - uid?: number; - gid?: number; - } - export function fork(modulePath: string, args?: string[], options?: ForkOptions): ChildProcess; - - export interface SpawnSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - shell?: boolean | string; - } - export interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - export interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding: string; // specify `null`. - } - export interface SpawnSyncReturns { - pid: number; - output: string[]; - stdout: T; - stderr: T; - status: number; - signal: string; - error: Error; - } - export function spawnSync(command: string): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - export function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - export function spawnSync(command: string, args?: string[], options?: SpawnSyncOptions): SpawnSyncReturns; - - export interface ExecSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - shell?: string; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - } - export interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - export interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding: string; // specify `null`. - } - export function execSync(command: string): Buffer; - export function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string; - export function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer; - export function execSync(command: string, options?: ExecSyncOptions): Buffer; - - export interface ExecFileSyncOptions { - cwd?: string; - input?: string | Buffer; - stdio?: any; - env?: any; - uid?: number; - gid?: number; - timeout?: number; - killSignal?: string; - maxBuffer?: number; - encoding?: string; - } - export interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - export interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding: string; // specify `null`. - } - export function execFileSync(command: string): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string; - export function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - export function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithStringEncoding): string; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - export function execFileSync(command: string, args?: string[], options?: ExecFileSyncOptions): Buffer; -} - -declare module "url" { - export interface Url { - href?: string; - protocol?: string; - auth?: string; - hostname?: string; - port?: string; - host?: string; - pathname?: string; - search?: string; - query?: string | any; - slashes?: boolean; - hash?: string; - path?: string; - } - - export function parse(urlStr: string, parseQueryString?: boolean , slashesDenoteHost?: boolean ): Url; - export function format(url: Url): string; - export function resolve(from: string, to: string): string; -} - -declare module "dns" { - export function lookup(domain: string, family: number, callback: (err: Error, address: string, family: number) =>void ): string; - export function lookup(domain: string, callback: (err: Error, address: string, family: number) =>void ): string; - export function resolve(domain: string, rrtype: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolve(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolve4(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolve6(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveMx(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveTxt(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveSrv(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveNs(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function resolveCname(domain: string, callback: (err: Error, addresses: string[]) =>void ): string[]; - export function reverse(ip: string, callback: (err: Error, domains: string[]) =>void ): string[]; -} - -declare module "net" { - import * as stream from "stream"; - - export interface Socket extends stream.Duplex { - // Extended base methods - write(buffer: Buffer): boolean; - write(buffer: Buffer, cb?: Function): boolean; - write(str: string, cb?: Function): boolean; - write(str: string, encoding?: string, cb?: Function): boolean; - write(str: string, encoding?: string, fd?: string): boolean; - - connect(port: number, host?: string, connectionListener?: Function): void; - connect(path: string, connectionListener?: Function): void; - bufferSize: number; - setEncoding(encoding?: string): void; - write(data: any, encoding?: string, callback?: Function): void; - destroy(): void; - pause(): void; - resume(): void; - setTimeout(timeout: number, callback?: Function): void; - setNoDelay(noDelay?: boolean): void; - setKeepAlive(enable?: boolean, initialDelay?: number): void; - address(): { port: number; family: string; address: string; }; - unref(): void; - ref(): void; - - remoteAddress: string; - remoteFamily: string; - remotePort: number; - localAddress: string; - localPort: number; - bytesRead: number; - bytesWritten: number; - - // Extended base methods - end(): void; - end(buffer: Buffer, cb?: Function): void; - end(str: string, cb?: Function): void; - end(str: string, encoding?: string, cb?: Function): void; - end(data?: any, encoding?: string): void; - } - - export var Socket: { - new (options?: { fd?: string; type?: string; allowHalfOpen?: boolean; }): Socket; - }; - - export interface ListenOptions { - port?: number; - host?: string; - backlog?: number; - path?: string; - exclusive?: boolean; - } - - export interface Server extends Socket { - listen(port: number, hostname?: string, backlog?: number, listeningListener?: Function): Server; - listen(port: number, hostname?: string, listeningListener?: Function): Server; - listen(port: number, backlog?: number, listeningListener?: Function): Server; - listen(port: number, listeningListener?: Function): Server; - listen(path: string, backlog?: number, listeningListener?: Function): Server; - listen(path: string, listeningListener?: Function): Server; - listen(handle: any, backlog?: number, listeningListener?: Function): Server; - listen(handle: any, listeningListener?: Function): Server; - listen(options: ListenOptions, listeningListener?: Function): Server; - close(callback?: Function): Server; - address(): { port: number; family: string; address: string; }; - getConnections(cb: (error: Error, count: number) => void): void; - ref(): Server; - unref(): Server; - maxConnections: number; - connections: number; - } - export function createServer(connectionListener?: (socket: Socket) =>void ): Server; - export function createServer(options?: { allowHalfOpen?: boolean; }, connectionListener?: (socket: Socket) =>void ): Server; - export function connect(options: { port: number, host?: string, localAddress? : string, localPort? : string, family? : number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function connect(port: number, host?: string, connectionListener?: Function): Socket; - export function connect(path: string, connectionListener?: Function): Socket; - export function createConnection(options: { port: number, host?: string, localAddress? : string, localPort? : string, family? : number, allowHalfOpen?: boolean; }, connectionListener?: Function): Socket; - export function createConnection(port: number, host?: string, connectionListener?: Function): Socket; - export function createConnection(path: string, connectionListener?: Function): Socket; - export function isIP(input: string): number; - export function isIPv4(input: string): boolean; - export function isIPv6(input: string): boolean; -} - -declare module "dgram" { - import * as events from "events"; - - interface RemoteInfo { - address: string; - port: number; - size: number; - } - - interface AddressInfo { - address: string; - family: string; - port: number; - } - - export function createSocket(type: string, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - - interface Socket extends events.EventEmitter { - send(buf: Buffer, offset: number, length: number, port: number, address: string, callback?: (error: Error, bytes: number) => void): void; - bind(port: number, address?: string, callback?: () => void): void; - close(): void; - address(): AddressInfo; - setBroadcast(flag: boolean): void; - setMulticastTTL(ttl: number): void; - setMulticastLoopback(flag: boolean): void; - addMembership(multicastAddress: string, multicastInterface?: string): void; - dropMembership(multicastAddress: string, multicastInterface?: string): void; - } -} - -declare module "fs" { - import * as stream from "stream"; - import * as events from "events"; - - interface Stats { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - dev: number; - ino: number; - mode: number; - nlink: number; - uid: number; - gid: number; - rdev: number; - size: number; - blksize: number; - blocks: number; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - - interface FSWatcher extends events.EventEmitter { - close(): void; - } - - export interface ReadStream extends stream.Readable { - close(): void; - } - export interface WriteStream extends stream.Writable { - close(): void; - bytesWritten: number; - } - - /** - * Asynchronous rename. - * @param oldPath - * @param newPath - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function rename(oldPath: string, newPath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /** - * Synchronous rename - * @param oldPath - * @param newPath - */ - export function renameSync(oldPath: string, newPath: string): void; - export function truncate(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function truncate(path: string, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function truncateSync(path: string, len?: number): void; - export function ftruncate(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function ftruncate(fd: number, len: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function ftruncateSync(fd: number, len?: number): void; - export function chown(path: string, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chownSync(path: string, uid: number, gid: number): void; - export function fchown(fd: number, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchownSync(fd: number, uid: number, gid: number): void; - export function lchown(path: string, uid: number, gid: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchownSync(path: string, uid: number, gid: number): void; - export function chmod(path: string, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chmod(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function chmodSync(path: string, mode: number): void; - export function chmodSync(path: string, mode: string): void; - export function fchmod(fd: number, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchmod(fd: number, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fchmodSync(fd: number, mode: number): void; - export function fchmodSync(fd: number, mode: string): void; - export function lchmod(path: string, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchmod(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function lchmodSync(path: string, mode: number): void; - export function lchmodSync(path: string, mode: string): void; - export function stat(path: string, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function lstat(path: string, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function fstat(fd: number, callback?: (err: NodeJS.ErrnoException, stats: Stats) => any): void; - export function statSync(path: string): Stats; - export function lstatSync(path: string): Stats; - export function fstatSync(fd: number): Stats; - export function link(srcpath: string, dstpath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function linkSync(srcpath: string, dstpath: string): void; - export function symlink(srcpath: string, dstpath: string, type?: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function symlinkSync(srcpath: string, dstpath: string, type?: string): void; - export function readlink(path: string, callback?: (err: NodeJS.ErrnoException, linkString: string) => any): void; - export function readlinkSync(path: string): string; - export function realpath(path: string, callback?: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; - export function realpath(path: string, cache: {[path: string]: string}, callback: (err: NodeJS.ErrnoException, resolvedPath: string) =>any): void; - export function realpathSync(path: string, cache?: { [path: string]: string }): string; - /* - * Asynchronous unlink - deletes the file specified in {path} - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function unlink(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous unlink - deletes the file specified in {path} - * - * @param path - */ - export function unlinkSync(path: string): void; - /* - * Asynchronous rmdir - removes the directory specified in {path} - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function rmdir(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous rmdir - removes the directory specified in {path} - * - * @param path - */ - export function rmdirSync(path: string): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdir(path: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdir(path: string, mode: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Asynchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdir(path: string, mode: string, callback?: (err?: NodeJS.ErrnoException) => void): void; - /* - * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdirSync(path: string, mode?: number): void; - /* - * Synchronous mkdir - creates the directory specified in {path}. Parameter {mode} defaults to 0777. - * - * @param path - * @param mode - * @param callback No arguments other than a possible exception are given to the completion callback. - */ - export function mkdirSync(path: string, mode?: string): void; - /* - * Asynchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * @param prefix - * @param callback The created folder path is passed as a string to the callback's second parameter. - */ - export function mkdtemp(prefix: string, callback?: (err: NodeJS.ErrnoException, folder: string) => void): void; - /* - * Synchronous mkdtemp - Creates a unique temporary directory. Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * - * @param prefix - * @returns Returns the created folder path. - */ - export function mkdtempSync(prefix: string): string; - export function readdir(path: string, callback?: (err: NodeJS.ErrnoException, files: string[]) => void): void; - export function readdirSync(path: string): string[]; - export function close(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function closeSync(fd: number): void; - export function open(path: string, flags: string, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void; - export function open(path: string, flags: string, mode: number, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void; - export function open(path: string, flags: string, mode: string, callback?: (err: NodeJS.ErrnoException, fd: number) => any): void; - export function openSync(path: string, flags: string, mode?: number): number; - export function openSync(path: string, flags: string, mode?: string): number; - export function utimes(path: string, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function utimes(path: string, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function utimesSync(path: string, atime: number, mtime: number): void; - export function utimesSync(path: string, atime: Date, mtime: Date): void; - export function futimes(fd: number, atime: number, mtime: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function futimes(fd: number, atime: Date, mtime: Date, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function futimesSync(fd: number, atime: number, mtime: number): void; - export function futimesSync(fd: number, atime: Date, mtime: Date): void; - export function fsync(fd: number, callback?: (err?: NodeJS.ErrnoException) => void): void; - export function fsyncSync(fd: number): void; - export function write(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; - export function write(fd: number, buffer: Buffer, offset: number, length: number, callback?: (err: NodeJS.ErrnoException, written: number, buffer: Buffer) => void): void; - export function write(fd: number, data: any, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function write(fd: number, data: any, offset: number, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function write(fd: number, data: any, offset: number, encoding: string, callback?: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; - export function writeSync(fd: number, buffer: Buffer, offset: number, length: number, position?: number): number; - export function writeSync(fd: number, data: any, position?: number, enconding?: string): number; - export function read(fd: number, buffer: Buffer, offset: number, length: number, position: number, callback?: (err: NodeJS.ErrnoException, bytesRead: number, buffer: Buffer) => void): void; - export function readSync(fd: number, buffer: Buffer, offset: number, length: number, position: number): number; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param encoding - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, options: { encoding: string; flag?: string; }, callback: (err: NodeJS.ErrnoException, data: string) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFile returns a string; otherwise it returns a Buffer. - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, options: { flag?: string; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; - /* - * Asynchronous readFile - Asynchronously reads the entire contents of a file. - * - * @param fileName - * @param callback - The callback is passed two arguments (err, data), where data is the contents of the file. - */ - export function readFile(filename: string, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param encoding - */ - export function readFileSync(filename: string, encoding: string): string; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. - */ - export function readFileSync(filename: string, options: { encoding: string; flag?: string; }): string; - /* - * Synchronous readFile - Synchronously reads the entire contents of a file. - * - * @param fileName - * @param options An object with optional {encoding} and {flag} properties. If {encoding} is specified, readFileSync returns a string; otherwise it returns a Buffer. - */ - export function readFileSync(filename: string, options?: { flag?: string; }): Buffer; - export function writeFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; - export function writeFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; - export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: number; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFile(filename: string, data: any, options: { encoding?: string; mode?: string; flag?: string; }, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFile(filename: string, data: any, callback?: (err: NodeJS.ErrnoException) => void): void; - export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: number; flag?: string; }): void; - export function appendFileSync(filename: string, data: any, options?: { encoding?: string; mode?: string; flag?: string; }): void; - export function watchFile(filename: string, listener: (curr: Stats, prev: Stats) => void): void; - export function watchFile(filename: string, options: { persistent?: boolean; interval?: number; }, listener: (curr: Stats, prev: Stats) => void): void; - export function unwatchFile(filename: string, listener?: (curr: Stats, prev: Stats) => void): void; - export function watch(filename: string, listener?: (event: string, filename: string) => any): FSWatcher; - export function watch(filename: string, options: { persistent?: boolean; }, listener?: (event: string, filename: string) => any): FSWatcher; - export function exists(path: string, callback?: (exists: boolean) => void): void; - export function existsSync(path: string): boolean; - /** Constant for fs.access(). File is visible to the calling process. */ - export var F_OK: number; - /** Constant for fs.access(). File can be read by the calling process. */ - export var R_OK: number; - /** Constant for fs.access(). File can be written by the calling process. */ - export var W_OK: number; - /** Constant for fs.access(). File can be executed by the calling process. */ - export var X_OK: number; - /** Tests a user's permissions for the file specified by path. */ - export function access(path: string, callback: (err: NodeJS.ErrnoException) => void): void; - export function access(path: string, mode: number, callback: (err: NodeJS.ErrnoException) => void): void; - /** Synchronous version of fs.access. This throws if any accessibility checks fail, and does nothing otherwise. */ - export function accessSync(path: string, mode ?: number): void; - export function createReadStream(path: string, options?: { - flags?: string; - encoding?: string; - fd?: number; - mode?: number; - autoClose?: boolean; - }): ReadStream; - export function createWriteStream(path: string, options?: { - flags?: string; - encoding?: string; - fd?: number; - mode?: number; - }): WriteStream; -} - -declare module "path" { - - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - export interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } - - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param p string path to normalize. - */ - export function normalize(p: string): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths string paths to join. - */ - export function join(...paths: any[]): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths string paths to join. - */ - export function join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} paramter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, until an absolute path is found. If after using all {from} paths still no absolute path is found, the current working directory is used as well. The resulting path is normalized, and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param pathSegments string paths to join. Non-string arguments are ignored. - */ - export function resolve(...pathSegments: any[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * @param path path to test. - */ - export function isAbsolute(path: string): boolean; - /** - * Solve the relative path from {from} to {to}. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - * - * @param from - * @param to - */ - export function relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param p the path to evaluate. - */ - export function dirname(p: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param p the path to evaluate. - * @param ext optionally, an extension to remove from the result. - */ - export function basename(p: string, ext?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string - * - * @param p the path to evaluate. - */ - export function extname(p: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - export var sep: string; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - export var delimiter: string; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param pathString path to evaluate. - */ - export function parse(pathString: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathString path to evaluate. - */ - export function format(pathObject: ParsedPath): string; - - export module posix { - export function normalize(p: string): string; - export function join(...paths: any[]): string; - export function resolve(...pathSegments: any[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } - - export module win32 { - export function normalize(p: string): string; - export function join(...paths: any[]): string; - export function resolve(...pathSegments: any[]): string; - export function isAbsolute(p: string): boolean; - export function relative(from: string, to: string): string; - export function dirname(p: string): string; - export function basename(p: string, ext?: string): string; - export function extname(p: string): string; - export var sep: string; - export var delimiter: string; - export function parse(p: string): ParsedPath; - export function format(pP: ParsedPath): string; - } -} - -declare module "string_decoder" { - export interface NodeStringDecoder { - write(buffer: Buffer): string; - detectIncompleteChar(buffer: Buffer): number; - } - export var StringDecoder: { - new (encoding: string): NodeStringDecoder; - }; -} - -declare module "tls" { - import * as crypto from "crypto"; - import * as net from "net"; - import * as stream from "stream"; - - var CLIENT_RENEG_LIMIT: number; - var CLIENT_RENEG_WINDOW: number; - - export interface TlsOptions { - host?: string; - port?: number; - pfx?: any; //string or buffer - key?: any; //string or buffer - passphrase?: string; - cert?: any; - ca?: any; //string or buffer - crl?: any; //string or string array - ciphers?: string; - honorCipherOrder?: any; - requestCert?: boolean; - rejectUnauthorized?: boolean; - NPNProtocols?: any; //array or Buffer; - SNICallback?: (servername: string) => any; - } - - export interface ConnectionOptions { - host?: string; - port?: number; - socket?: net.Socket; - pfx?: string | Buffer - key?: string | Buffer - passphrase?: string; - cert?: string | Buffer - ca?: (string | Buffer)[]; - rejectUnauthorized?: boolean; - NPNProtocols?: (string | Buffer)[]; - servername?: string; - } - - export interface Server extends net.Server { - close(): Server; - address(): { port: number; family: string; address: string; }; - addContext(hostName: string, credentials: { - key: string; - cert: string; - ca: string; - }): void; - maxConnections: number; - connections: number; - } - - export interface ClearTextStream extends stream.Duplex { - authorized: boolean; - authorizationError: Error; - getPeerCertificate(): any; - getCipher: { - name: string; - version: string; - }; - address: { - port: number; - family: string; - address: string; - }; - remoteAddress: string; - remotePort: number; - } - - export interface SecurePair { - encrypted: any; - cleartext: any; - } - - export interface SecureContextOptions { - pfx?: string | Buffer; - key?: string | Buffer; - passphrase?: string; - cert?: string | Buffer; - ca?: string | Buffer; - crl?: string | string[] - ciphers?: string; - honorCipherOrder?: boolean; - } - - export interface SecureContext { - context: any; - } - - export function createServer(options: TlsOptions, secureConnectionListener?: (cleartextStream: ClearTextStream) =>void ): Server; - export function connect(options: TlsOptions, secureConnectionListener?: () =>void ): ClearTextStream; - export function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () =>void ): ClearTextStream; - export function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () =>void ): ClearTextStream; - export function createSecurePair(credentials?: crypto.Credentials, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; - export function createSecureContext(details: SecureContextOptions): SecureContext; -} - -declare module "crypto" { - export interface CredentialDetails { - pfx: string; - key: string; - passphrase: string; - cert: string; - ca: string | string[]; - crl: string | string[]; - ciphers: string; - } - export interface Credentials { context?: any; } - export function createCredentials(details: CredentialDetails): Credentials; - export function createHash(algorithm: string): Hash; - export function createHmac(algorithm: string, key: string): Hmac; - export function createHmac(algorithm: string, key: Buffer): Hmac; - export interface Hash { - update(data: any, input_encoding?: string): Hash; - digest(encoding: 'buffer'): Buffer; - digest(encoding: string): any; - digest(): Buffer; - } - export interface Hmac extends NodeJS.ReadWriteStream { - update(data: any, input_encoding?: string): Hmac; - digest(encoding: 'buffer'): Buffer; - digest(encoding: string): any; - digest(): Buffer; - } - export function createCipher(algorithm: string, password: any): Cipher; - export function createCipheriv(algorithm: string, key: any, iv: any): Cipher; - export interface Cipher extends NodeJS.ReadWriteStream { - update(data: Buffer): Buffer; - update(data: string, input_encoding: "utf8"|"ascii"|"binary"): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: "binary"|"base64"|"hex"): string; - update(data: string, input_encoding: "utf8"|"ascii"|"binary", output_encoding: "binary"|"base64"|"hex"): string; - final(): Buffer; - final(output_encoding: string): string; - setAutoPadding(auto_padding: boolean): void; - getAuthTag(): Buffer; - } - export function createDecipher(algorithm: string, password: any): Decipher; - export function createDecipheriv(algorithm: string, key: any, iv: any): Decipher; - export interface Decipher extends NodeJS.ReadWriteStream { - update(data: Buffer): Buffer; - update(data: string, input_encoding: "binary"|"base64"|"hex"): Buffer; - update(data: Buffer, input_encoding: any, output_encoding: "utf8"|"ascii"|"binary"): string; - update(data: string, input_encoding: "binary"|"base64"|"hex", output_encoding: "utf8"|"ascii"|"binary"): string; - final(): Buffer; - final(output_encoding: string): string; - setAutoPadding(auto_padding: boolean): void; - setAuthTag(tag: Buffer): void; - } - export function createSign(algorithm: string): Signer; - export interface Signer extends NodeJS.WritableStream { - update(data: any): void; - sign(private_key: string, output_format: string): string; - } - export function createVerify(algorith: string): Verify; - export interface Verify extends NodeJS.WritableStream { - update(data: any): void; - verify(object: string, signature: string, signature_format?: string): boolean; - } - export function createDiffieHellman(prime_length: number): DiffieHellman; - export function createDiffieHellman(prime: number, encoding?: string): DiffieHellman; - export interface DiffieHellman { - generateKeys(encoding?: string): string; - computeSecret(other_public_key: string, input_encoding?: string, output_encoding?: string): string; - getPrime(encoding?: string): string; - getGenerator(encoding: string): string; - getPublicKey(encoding?: string): string; - getPrivateKey(encoding?: string): string; - setPublicKey(public_key: string, encoding?: string): void; - setPrivateKey(public_key: string, encoding?: string): void; - } - export function getDiffieHellman(group_name: string): DiffieHellman; - export function pbkdf2(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, callback: (err: Error, derivedKey: Buffer) => any): void; - export function pbkdf2(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, digest: string, callback: (err: Error, derivedKey: Buffer) => any): void; - export function pbkdf2Sync(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number) : Buffer; - export function pbkdf2Sync(password: string|Buffer, salt: string|Buffer, iterations: number, keylen: number, digest: string) : Buffer; - export function randomBytes(size: number): Buffer; - export function randomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void; - export function pseudoRandomBytes(size: number): Buffer; - export function pseudoRandomBytes(size: number, callback: (err: Error, buf: Buffer) =>void ): void; - export interface RsaPublicKey { - key: string; - padding?: any; - } - export interface RsaPrivateKey { - key: string; - passphrase?: string, - padding?: any; - } - export function publicEncrypt(public_key: string|RsaPublicKey, buffer: Buffer): Buffer - export function privateDecrypt(private_key: string|RsaPrivateKey, buffer: Buffer): Buffer -} - -declare module "stream" { - import * as events from "events"; - - export class Stream extends events.EventEmitter { - pipe(destination: T, options?: { end?: boolean; }): T; - } - - export interface ReadableOptions { - highWaterMark?: number; - encoding?: string; - objectMode?: boolean; - } - - export class Readable extends events.EventEmitter implements NodeJS.ReadableStream { - readable: boolean; - constructor(opts?: ReadableOptions); - _read(size: number): void; - read(size?: number): any; - setEncoding(encoding: string): void; - pause(): void; - resume(): void; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; - } - - export interface WritableOptions { - highWaterMark?: number; - decodeStrings?: boolean; - objectMode?: boolean; - } - - export class Writable extends events.EventEmitter implements NodeJS.WritableStream { - writable: boolean; - constructor(opts?: WritableOptions); - _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean; - } - - // Note: Duplex extends both Readable and Writable. - export class Duplex extends Readable implements NodeJS.ReadWriteStream { - writable: boolean; - constructor(opts?: DuplexOptions); - _write(chunk: any, encoding: string, callback: Function): void; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export interface TransformOptions extends ReadableOptions, WritableOptions {} - - // Note: Transform lacks the _read and _write methods of Readable/Writable. - export class Transform extends events.EventEmitter implements NodeJS.ReadWriteStream { - readable: boolean; - writable: boolean; - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: string, callback: Function): void; - _flush(callback: Function): void; - read(size?: number): any; - setEncoding(encoding: string): void; - pause(): void; - resume(): void; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: T): void; - unshift(chunk: any): void; - wrap(oldStream: NodeJS.ReadableStream): NodeJS.ReadableStream; - push(chunk: any, encoding?: string): boolean; - write(chunk: any, cb?: Function): boolean; - write(chunk: any, encoding?: string, cb?: Function): boolean; - end(): void; - end(chunk: any, cb?: Function): void; - end(chunk: any, encoding?: string, cb?: Function): void; - } - - export class PassThrough extends Transform {} -} - -declare module "util" { - export interface InspectOptions { - showHidden?: boolean; - depth?: number; - colors?: boolean; - customInspect?: boolean; - } - - export function format(format: any, ...param: any[]): string; - export function debug(string: string): void; - export function error(...param: any[]): void; - export function puts(...param: any[]): void; - export function print(...param: any[]): void; - export function log(string: string): void; - export function inspect(object: any, showHidden?: boolean, depth?: number, color?: boolean): string; - export function inspect(object: any, options: InspectOptions): string; - export function isArray(object: any): boolean; - export function isRegExp(object: any): boolean; - export function isDate(object: any): boolean; - export function isError(object: any): boolean; - export function inherits(constructor: any, superConstructor: any): void; - export function debuglog(key:string): (msg:string,...param: any[])=>void; -} - -declare module "assert" { - function internal (value: any, message?: string): void; - namespace internal { - export class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; - - constructor(options?: {message?: string; actual?: any; expected?: any; - operator?: string; stackStartFunction?: Function}); - } - - export function fail(actual?: any, expected?: any, message?: string, operator?: string): void; - export function ok(value: any, message?: string): void; - export function equal(actual: any, expected: any, message?: string): void; - export function notEqual(actual: any, expected: any, message?: string): void; - export function deepEqual(actual: any, expected: any, message?: string): void; - export function notDeepEqual(acutal: any, expected: any, message?: string): void; - export function strictEqual(actual: any, expected: any, message?: string): void; - export function notStrictEqual(actual: any, expected: any, message?: string): void; - export function deepStrictEqual(actual: any, expected: any, message?: string): void; - export function notDeepStrictEqual(actual: any, expected: any, message?: string): void; - export var throws: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export var doesNotThrow: { - (block: Function, message?: string): void; - (block: Function, error: Function, message?: string): void; - (block: Function, error: RegExp, message?: string): void; - (block: Function, error: (err: any) => boolean, message?: string): void; - }; - - export function ifError(value: any): void; - } - - export = internal; -} - -declare module "tty" { - import * as net from "net"; - - export function isatty(fd: number): boolean; - export interface ReadStream extends net.Socket { - isRaw: boolean; - setRawMode(mode: boolean): void; - isTTY: boolean; - } - export interface WriteStream extends net.Socket { - columns: number; - rows: number; - isTTY: boolean; - } -} - -declare module "domain" { - import * as events from "events"; - - export class Domain extends events.EventEmitter implements NodeJS.Domain { - run(fn: Function): void; - add(emitter: events.EventEmitter): void; - remove(emitter: events.EventEmitter): void; - bind(cb: (err: Error, data: any) => any): any; - intercept(cb: (data: any) => any): any; - dispose(): void; - } - - export function create(): Domain; -} - -declare module "constants" { - export var E2BIG: number; - export var EACCES: number; - export var EADDRINUSE: number; - export var EADDRNOTAVAIL: number; - export var EAFNOSUPPORT: number; - export var EAGAIN: number; - export var EALREADY: number; - export var EBADF: number; - export var EBADMSG: number; - export var EBUSY: number; - export var ECANCELED: number; - export var ECHILD: number; - export var ECONNABORTED: number; - export var ECONNREFUSED: number; - export var ECONNRESET: number; - export var EDEADLK: number; - export var EDESTADDRREQ: number; - export var EDOM: number; - export var EEXIST: number; - export var EFAULT: number; - export var EFBIG: number; - export var EHOSTUNREACH: number; - export var EIDRM: number; - export var EILSEQ: number; - export var EINPROGRESS: number; - export var EINTR: number; - export var EINVAL: number; - export var EIO: number; - export var EISCONN: number; - export var EISDIR: number; - export var ELOOP: number; - export var EMFILE: number; - export var EMLINK: number; - export var EMSGSIZE: number; - export var ENAMETOOLONG: number; - export var ENETDOWN: number; - export var ENETRESET: number; - export var ENETUNREACH: number; - export var ENFILE: number; - export var ENOBUFS: number; - export var ENODATA: number; - export var ENODEV: number; - export var ENOENT: number; - export var ENOEXEC: number; - export var ENOLCK: number; - export var ENOLINK: number; - export var ENOMEM: number; - export var ENOMSG: number; - export var ENOPROTOOPT: number; - export var ENOSPC: number; - export var ENOSR: number; - export var ENOSTR: number; - export var ENOSYS: number; - export var ENOTCONN: number; - export var ENOTDIR: number; - export var ENOTEMPTY: number; - export var ENOTSOCK: number; - export var ENOTSUP: number; - export var ENOTTY: number; - export var ENXIO: number; - export var EOPNOTSUPP: number; - export var EOVERFLOW: number; - export var EPERM: number; - export var EPIPE: number; - export var EPROTO: number; - export var EPROTONOSUPPORT: number; - export var EPROTOTYPE: number; - export var ERANGE: number; - export var EROFS: number; - export var ESPIPE: number; - export var ESRCH: number; - export var ETIME: number; - export var ETIMEDOUT: number; - export var ETXTBSY: number; - export var EWOULDBLOCK: number; - export var EXDEV: number; - export var WSAEINTR: number; - export var WSAEBADF: number; - export var WSAEACCES: number; - export var WSAEFAULT: number; - export var WSAEINVAL: number; - export var WSAEMFILE: number; - export var WSAEWOULDBLOCK: number; - export var WSAEINPROGRESS: number; - export var WSAEALREADY: number; - export var WSAENOTSOCK: number; - export var WSAEDESTADDRREQ: number; - export var WSAEMSGSIZE: number; - export var WSAEPROTOTYPE: number; - export var WSAENOPROTOOPT: number; - export var WSAEPROTONOSUPPORT: number; - export var WSAESOCKTNOSUPPORT: number; - export var WSAEOPNOTSUPP: number; - export var WSAEPFNOSUPPORT: number; - export var WSAEAFNOSUPPORT: number; - export var WSAEADDRINUSE: number; - export var WSAEADDRNOTAVAIL: number; - export var WSAENETDOWN: number; - export var WSAENETUNREACH: number; - export var WSAENETRESET: number; - export var WSAECONNABORTED: number; - export var WSAECONNRESET: number; - export var WSAENOBUFS: number; - export var WSAEISCONN: number; - export var WSAENOTCONN: number; - export var WSAESHUTDOWN: number; - export var WSAETOOMANYREFS: number; - export var WSAETIMEDOUT: number; - export var WSAECONNREFUSED: number; - export var WSAELOOP: number; - export var WSAENAMETOOLONG: number; - export var WSAEHOSTDOWN: number; - export var WSAEHOSTUNREACH: number; - export var WSAENOTEMPTY: number; - export var WSAEPROCLIM: number; - export var WSAEUSERS: number; - export var WSAEDQUOT: number; - export var WSAESTALE: number; - export var WSAEREMOTE: number; - export var WSASYSNOTREADY: number; - export var WSAVERNOTSUPPORTED: number; - export var WSANOTINITIALISED: number; - export var WSAEDISCON: number; - export var WSAENOMORE: number; - export var WSAECANCELLED: number; - export var WSAEINVALIDPROCTABLE: number; - export var WSAEINVALIDPROVIDER: number; - export var WSAEPROVIDERFAILEDINIT: number; - export var WSASYSCALLFAILURE: number; - export var WSASERVICE_NOT_FOUND: number; - export var WSATYPE_NOT_FOUND: number; - export var WSA_E_NO_MORE: number; - export var WSA_E_CANCELLED: number; - export var WSAEREFUSED: number; - export var SIGHUP: number; - export var SIGINT: number; - export var SIGILL: number; - export var SIGABRT: number; - export var SIGFPE: number; - export var SIGKILL: number; - export var SIGSEGV: number; - export var SIGTERM: number; - export var SIGBREAK: number; - export var SIGWINCH: number; - export var SSL_OP_ALL: number; - export var SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - export var SSL_OP_CIPHER_SERVER_PREFERENCE: number; - export var SSL_OP_CISCO_ANYCONNECT: number; - export var SSL_OP_COOKIE_EXCHANGE: number; - export var SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - export var SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - export var SSL_OP_EPHEMERAL_RSA: number; - export var SSL_OP_LEGACY_SERVER_CONNECT: number; - export var SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; - export var SSL_OP_MICROSOFT_SESS_ID_BUG: number; - export var SSL_OP_MSIE_SSLV2_RSA_PADDING: number; - export var SSL_OP_NETSCAPE_CA_DN_BUG: number; - export var SSL_OP_NETSCAPE_CHALLENGE_BUG: number; - export var SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; - export var SSL_OP_NO_COMPRESSION: number; - export var SSL_OP_NO_QUERY_MTU: number; - export var SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - export var SSL_OP_NO_SSLv2: number; - export var SSL_OP_NO_SSLv3: number; - export var SSL_OP_NO_TICKET: number; - export var SSL_OP_NO_TLSv1: number; - export var SSL_OP_NO_TLSv1_1: number; - export var SSL_OP_NO_TLSv1_2: number; - export var SSL_OP_PKCS1_CHECK_1: number; - export var SSL_OP_PKCS1_CHECK_2: number; - export var SSL_OP_SINGLE_DH_USE: number; - export var SSL_OP_SINGLE_ECDH_USE: number; - export var SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; - export var SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; - export var SSL_OP_TLS_BLOCK_PADDING_BUG: number; - export var SSL_OP_TLS_D5_BUG: number; - export var SSL_OP_TLS_ROLLBACK_BUG: number; - export var ENGINE_METHOD_DSA: number; - export var ENGINE_METHOD_DH: number; - export var ENGINE_METHOD_RAND: number; - export var ENGINE_METHOD_ECDH: number; - export var ENGINE_METHOD_ECDSA: number; - export var ENGINE_METHOD_CIPHERS: number; - export var ENGINE_METHOD_DIGESTS: number; - export var ENGINE_METHOD_STORE: number; - export var ENGINE_METHOD_PKEY_METHS: number; - export var ENGINE_METHOD_PKEY_ASN1_METHS: number; - export var ENGINE_METHOD_ALL: number; - export var ENGINE_METHOD_NONE: number; - export var DH_CHECK_P_NOT_SAFE_PRIME: number; - export var DH_CHECK_P_NOT_PRIME: number; - export var DH_UNABLE_TO_CHECK_GENERATOR: number; - export var DH_NOT_SUITABLE_GENERATOR: number; - export var NPN_ENABLED: number; - export var RSA_PKCS1_PADDING: number; - export var RSA_SSLV23_PADDING: number; - export var RSA_NO_PADDING: number; - export var RSA_PKCS1_OAEP_PADDING: number; - export var RSA_X931_PADDING: number; - export var RSA_PKCS1_PSS_PADDING: number; - export var POINT_CONVERSION_COMPRESSED: number; - export var POINT_CONVERSION_UNCOMPRESSED: number; - export var POINT_CONVERSION_HYBRID: number; - export var O_RDONLY: number; - export var O_WRONLY: number; - export var O_RDWR: number; - export var S_IFMT: number; - export var S_IFREG: number; - export var S_IFDIR: number; - export var S_IFCHR: number; - export var S_IFLNK: number; - export var O_CREAT: number; - export var O_EXCL: number; - export var O_TRUNC: number; - export var O_APPEND: number; - export var F_OK: number; - export var R_OK: number; - export var W_OK: number; - export var X_OK: number; - export var UV_UDP_REUSEADDR: number; -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/typings/react/react-addons-shallow-compare.d.ts b/samples/js-bot-framework/webpart/typings/react/react-addons-shallow-compare.d.ts deleted file mode 100644 index 4fb9aa846..000000000 --- a/samples/js-bot-framework/webpart/typings/react/react-addons-shallow-compare.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -// Type definitions for React v0.14 (react-addons-css-transition-group) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// - -declare namespace __React { - namespace __Addons { - export function shallowCompare( - component: __React.Component, - nextProps: P, - nextState: S): boolean; - } -} - -declare module "react-addons-shallow-compare" { - export = __React.__Addons.shallowCompare; -} diff --git a/samples/js-bot-framework/webpart/typings/react/react-addons-test-utils.d.ts b/samples/js-bot-framework/webpart/typings/react/react-addons-test-utils.d.ts deleted file mode 100644 index 3b77ac4c5..000000000 --- a/samples/js-bot-framework/webpart/typings/react/react-addons-test-utils.d.ts +++ /dev/null @@ -1,155 +0,0 @@ -// Type definitions for React v0.14 (react-addons-test-utils) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// - -declare namespace __React { - interface SyntheticEventData { - altKey?: boolean; - button?: number; - buttons?: number; - clientX?: number; - clientY?: number; - changedTouches?: TouchList; - charCode?: boolean; - clipboardData?: DataTransfer; - ctrlKey?: boolean; - deltaMode?: number; - deltaX?: number; - deltaY?: number; - deltaZ?: number; - detail?: number; - getModifierState?(key: string): boolean; - key?: string; - keyCode?: number; - locale?: string; - location?: number; - metaKey?: boolean; - pageX?: number; - pageY?: number; - relatedTarget?: EventTarget; - repeat?: boolean; - screenX?: number; - screenY?: number; - shiftKey?: boolean; - targetTouches?: TouchList; - touches?: TouchList; - view?: AbstractView; - which?: number; - } - - interface EventSimulator { - (element: Element, eventData?: SyntheticEventData): void; - (component: Component, eventData?: SyntheticEventData): void; - } - - interface MockedComponentClass { - new(): any; - } - - class ShallowRenderer { - getRenderOutput>(): E; - getRenderOutput(): ReactElement; - render(element: ReactElement, context?: any): void; - unmount(): void; - } - - namespace __Addons { - namespace TestUtils { - namespace Simulate { - export var blur: EventSimulator; - export var change: EventSimulator; - export var click: EventSimulator; - export var cut: EventSimulator; - export var doubleClick: EventSimulator; - export var drag: EventSimulator; - export var dragEnd: EventSimulator; - export var dragEnter: EventSimulator; - export var dragExit: EventSimulator; - export var dragLeave: EventSimulator; - export var dragOver: EventSimulator; - export var dragStart: EventSimulator; - export var drop: EventSimulator; - export var focus: EventSimulator; - export var input: EventSimulator; - export var keyDown: EventSimulator; - export var keyPress: EventSimulator; - export var keyUp: EventSimulator; - export var mouseDown: EventSimulator; - export var mouseEnter: EventSimulator; - export var mouseLeave: EventSimulator; - export var mouseMove: EventSimulator; - export var mouseOut: EventSimulator; - export var mouseOver: EventSimulator; - export var mouseUp: EventSimulator; - export var paste: EventSimulator; - export var scroll: EventSimulator; - export var submit: EventSimulator; - export var touchCancel: EventSimulator; - export var touchEnd: EventSimulator; - export var touchMove: EventSimulator; - export var touchStart: EventSimulator; - export var wheel: EventSimulator; - } - - export function renderIntoDocument( - element: DOMElement): Element; - export function renderIntoDocument

( - element: ReactElement

): Component; - export function renderIntoDocument>( - element: ReactElement): C; - - export function mockComponent( - mocked: MockedComponentClass, mockTagName?: string): typeof TestUtils; - - export function isElementOfType( - element: ReactElement, type: ReactType): boolean; - export function isDOMComponent(instance: ReactInstance): boolean; - export function isCompositeComponent(instance: ReactInstance): boolean; - export function isCompositeComponentWithType( - instance: ReactInstance, - type: ComponentClass): boolean; - - export function findAllInRenderedTree( - root: Component, - fn: (i: ReactInstance) => boolean): ReactInstance[]; - - export function scryRenderedDOMComponentsWithClass( - root: Component, - className: string): Element[]; - export function findRenderedDOMComponentWithClass( - root: Component, - className: string): Element; - - export function scryRenderedDOMComponentsWithTag( - root: Component, - tagName: string): Element[]; - export function findRenderedDOMComponentWithTag( - root: Component, - tagName: string): Element; - - export function scryRenderedComponentsWithType

( - root: Component, - type: ComponentClass

): Component[]; - export function scryRenderedComponentsWithType>( - root: Component, - type: ComponentClass): C[]; - - export function findRenderedComponentWithType

( - root: Component, - type: ComponentClass

): Component; - export function findRenderedComponentWithType>( - root: Component, - type: ComponentClass): C; - - export function createRenderer(): ShallowRenderer; - } - } -} - -declare module "react-addons-test-utils" { - import TestUtils = __React.__Addons.TestUtils; - export = TestUtils; -} diff --git a/samples/js-bot-framework/webpart/typings/react/react-addons-update.d.ts b/samples/js-bot-framework/webpart/typings/react/react-addons-update.d.ts deleted file mode 100644 index f1fe4c24f..000000000 --- a/samples/js-bot-framework/webpart/typings/react/react-addons-update.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -// Type definitions for React v0.14 (react-addons-update) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -/// - -declare namespace __React { - interface UpdateSpecCommand { - $set?: any; - $merge?: {}; - $apply?(value: any): any; - } - - interface UpdateSpecPath { - [key: string]: UpdateSpec; - } - - type UpdateSpec = UpdateSpecCommand | UpdateSpecPath; - - interface UpdateArraySpec extends UpdateSpecCommand { - $push?: any[]; - $unshift?: any[]; - $splice?: any[][]; - } - - namespace __Addons { - export function update(value: any[], spec: UpdateArraySpec): any[]; - export function update(value: {}, spec: UpdateSpec): any; - } -} - -declare module "react-addons-update" { - export = __React.__Addons.update; -} diff --git a/samples/js-bot-framework/webpart/typings/react/react-dom.d.ts b/samples/js-bot-framework/webpart/typings/react/react-dom.d.ts deleted file mode 100644 index 80a0c604e..000000000 --- a/samples/js-bot-framework/webpart/typings/react/react-dom.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -// Type definitions for React v0.14 (react-dom) -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// - -declare namespace __React { - namespace __DOM { - function findDOMNode(instance: ReactInstance): E; - function findDOMNode(instance: ReactInstance): Element; - - function render

( - element: DOMElement

, - container: Element, - callback?: (element: Element) => any): Element; - function render( - element: ClassicElement

, - container: Element, - callback?: (component: ClassicComponent) => any): ClassicComponent; - function render( - element: ReactElement

, - container: Element, - callback?: (component: Component) => any): Component; - - function unmountComponentAtNode(container: Element): boolean; - - var version: string; - - function unstable_batchedUpdates(callback: (a: A, b: B) => any, a: A, b: B): void; - function unstable_batchedUpdates(callback: (a: A) => any, a: A): void; - function unstable_batchedUpdates(callback: () => any): void; - - function unstable_renderSubtreeIntoContainer

( - parentComponent: Component, - nextElement: DOMElement

, - container: Element, - callback?: (element: Element) => any): Element; - function unstable_renderSubtreeIntoContainer( - parentComponent: Component, - nextElement: ClassicElement

, - container: Element, - callback?: (component: ClassicComponent) => any): ClassicComponent; - function unstable_renderSubtreeIntoContainer( - parentComponent: Component, - nextElement: ReactElement

, - container: Element, - callback?: (component: Component) => any): Component; - } - - namespace __DOMServer { - function renderToString(element: ReactElement): string; - function renderToStaticMarkup(element: ReactElement): string; - var version: string; - } -} - -declare module "react-dom" { - import DOM = __React.__DOM; - export = DOM; -} - -declare module "react-dom/server" { - import DOMServer = __React.__DOMServer; - export = DOMServer; -} diff --git a/samples/js-bot-framework/webpart/typings/react/react.d.ts b/samples/js-bot-framework/webpart/typings/react/react.d.ts deleted file mode 100644 index 94a763b17..000000000 --- a/samples/js-bot-framework/webpart/typings/react/react.d.ts +++ /dev/null @@ -1,2284 +0,0 @@ -// Type definitions for React v0.14 -// Project: http://facebook.github.io/react/ -// Definitions by: Asana , AssureSign , Microsoft -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -declare namespace __React { - - // - // React Elements - // ---------------------------------------------------------------------- - - type ReactType = string | ComponentClass | StatelessComponent; - - interface ReactElement

> { - type: string | ComponentClass

| StatelessComponent

; - props: P; - key: string | number; - ref: string | ((component: Component | Element) => any); - } - - interface ClassicElement

extends ReactElement

{ - type: ClassicComponentClass

; - ref: string | ((component: ClassicComponent) => any); - } - - interface DOMElement

> extends ReactElement

{ - type: string; - ref: string | ((element: Element) => any); - } - - interface ReactHTMLElement extends DOMElement> { - ref: string | ((element: HTMLElement) => any); - } - - interface ReactSVGElement extends DOMElement { - ref: string | ((element: SVGElement) => any); - } - - // - // Factories - // ---------------------------------------------------------------------- - - interface Factory

{ - (props?: P, ...children: ReactNode[]): ReactElement

; - } - - interface ClassicFactory

extends Factory

{ - (props?: P, ...children: ReactNode[]): ClassicElement

; - } - - interface DOMFactory

> extends Factory

{ - (props?: P, ...children: ReactNode[]): DOMElement

; - } - - type HTMLFactory = DOMFactory>; - type SVGFactory = DOMFactory; - - // - // React Nodes - // http://facebook.github.io/react/docs/glossary.html - // ---------------------------------------------------------------------- - - type ReactText = string | number; - type ReactChild = ReactElement | ReactText; - - // Should be Array but type aliases cannot be recursive - type ReactFragment = {} | Array; - type ReactNode = ReactChild | ReactFragment | boolean; - - // - // Top Level API - // ---------------------------------------------------------------------- - - function createClass(spec: ComponentSpec): ClassicComponentClass

; - - function createFactory

(type: string): DOMFactory

; - function createFactory

(type: ClassicComponentClass

): ClassicFactory

; - function createFactory

(type: ComponentClass

| StatelessComponent

): Factory

; - - function createElement

( - type: string, - props?: P, - ...children: ReactNode[]): DOMElement

; - function createElement

( - type: ClassicComponentClass

, - props?: P, - ...children: ReactNode[]): ClassicElement

; - function createElement

( - type: ComponentClass

| StatelessComponent

, - props?: P, - ...children: ReactNode[]): ReactElement

; - - function cloneElement

( - element: DOMElement

, - props?: P, - ...children: ReactNode[]): DOMElement

; - function cloneElement

( - element: ClassicElement

, - props?: P, - ...children: ReactNode[]): ClassicElement

; - function cloneElement

( - element: ReactElement

, - props?: P, - ...children: ReactNode[]): ReactElement

; - - function isValidElement(object: {}): boolean; - - var DOM: ReactDOM; - var PropTypes: ReactPropTypes; - var Children: ReactChildren; - - // - // Component API - // ---------------------------------------------------------------------- - - type ReactInstance = Component | Element; - - // Base component for plain JS classes - class Component implements ComponentLifecycle { - constructor(props?: P, context?: any); - setState(f: (prevState: S, props: P) => S, callback?: () => any): void; - setState(state: S, callback?: () => any): void; - forceUpdate(callBack?: () => any): void; - render(): JSX.Element; - props: P; - state: S; - context: {}; - refs: { - [key: string]: ReactInstance - }; - } - - interface ClassicComponent extends Component { - replaceState(nextState: S, callback?: () => any): void; - isMounted(): boolean; - getInitialState?(): S; - } - - interface ChildContextProvider { - getChildContext(): CC; - } - - // - // Class Interfaces - // ---------------------------------------------------------------------- - - interface StatelessComponent

{ - (props?: P, context?: any): ReactElement; - propTypes?: ValidationMap

; - contextTypes?: ValidationMap; - defaultProps?: P; - displayName?: string; - } - - interface ComponentClass

{ - new(props?: P, context?: any): Component; - propTypes?: ValidationMap

; - contextTypes?: ValidationMap; - childContextTypes?: ValidationMap; - defaultProps?: P; - } - - interface ClassicComponentClass

extends ComponentClass

{ - new(props?: P, context?: any): ClassicComponent; - getDefaultProps?(): P; - displayName?: string; - } - - // - // Component Specs and Lifecycle - // ---------------------------------------------------------------------- - - interface ComponentLifecycle { - componentWillMount?(): void; - componentDidMount?(): void; - componentWillReceiveProps?(nextProps: P, nextContext: any): void; - shouldComponentUpdate?(nextProps: P, nextState: S, nextContext: any): boolean; - componentWillUpdate?(nextProps: P, nextState: S, nextContext: any): void; - componentDidUpdate?(prevProps: P, prevState: S, prevContext: any): void; - componentWillUnmount?(): void; - } - - interface Mixin extends ComponentLifecycle { - mixins?: Mixin; - statics?: { - [key: string]: any; - }; - - displayName?: string; - propTypes?: ValidationMap; - contextTypes?: ValidationMap; - childContextTypes?: ValidationMap; - - getDefaultProps?(): P; - getInitialState?(): S; - } - - interface ComponentSpec extends Mixin { - render(): ReactElement; - - [propertyName: string]: any; - } - - // - // Event System - // ---------------------------------------------------------------------- - - interface SyntheticEvent { - bubbles: boolean; - cancelable: boolean; - currentTarget: EventTarget; - defaultPrevented: boolean; - eventPhase: number; - isTrusted: boolean; - nativeEvent: Event; - preventDefault(): void; - stopPropagation(): void; - target: EventTarget; - timeStamp: Date; - type: string; - } - - interface ClipboardEvent extends SyntheticEvent { - clipboardData: DataTransfer; - } - - interface CompositionEvent extends SyntheticEvent { - data: string; - } - - interface DragEvent extends MouseEvent { - dataTransfer: DataTransfer; - } - - interface FocusEvent extends SyntheticEvent { - relatedTarget: EventTarget; - } - - interface FormEvent extends SyntheticEvent { - } - - interface KeyboardEvent extends SyntheticEvent { - altKey: boolean; - charCode: number; - ctrlKey: boolean; - getModifierState(key: string): boolean; - key: string; - keyCode: number; - locale: string; - location: number; - metaKey: boolean; - repeat: boolean; - shiftKey: boolean; - which: number; - } - - interface MouseEvent extends SyntheticEvent { - altKey: boolean; - button: number; - buttons: number; - clientX: number; - clientY: number; - ctrlKey: boolean; - getModifierState(key: string): boolean; - metaKey: boolean; - pageX: number; - pageY: number; - relatedTarget: EventTarget; - screenX: number; - screenY: number; - shiftKey: boolean; - } - - interface TouchEvent extends SyntheticEvent { - altKey: boolean; - changedTouches: TouchList; - ctrlKey: boolean; - getModifierState(key: string): boolean; - metaKey: boolean; - shiftKey: boolean; - targetTouches: TouchList; - touches: TouchList; - } - - interface UIEvent extends SyntheticEvent { - detail: number; - view: AbstractView; - } - - interface WheelEvent extends SyntheticEvent { - deltaMode: number; - deltaX: number; - deltaY: number; - deltaZ: number; - } - - // - // Event Handler Types - // ---------------------------------------------------------------------- - - interface EventHandler { - (event: E): void; - } - - type ReactEventHandler = EventHandler; - - type ClipboardEventHandler = EventHandler; - type CompositionEventHandler = EventHandler; - type DragEventHandler = EventHandler; - type FocusEventHandler = EventHandler; - type FormEventHandler = EventHandler; - type KeyboardEventHandler = EventHandler; - type MouseEventHandler = EventHandler; - type TouchEventHandler = EventHandler; - type UIEventHandler = EventHandler; - type WheelEventHandler = EventHandler; - - // - // Props / DOM Attributes - // ---------------------------------------------------------------------- - - interface Props { - children?: ReactNode; - key?: string | number; - ref?: string | ((component: T) => any); - } - - interface HTMLProps extends HTMLAttributes, Props { - } - - interface SVGProps extends SVGAttributes, Props { - } - - interface DOMAttributes { - dangerouslySetInnerHTML?: { - __html: string; - }; - - // Clipboard Events - onCopy?: ClipboardEventHandler; - onCut?: ClipboardEventHandler; - onPaste?: ClipboardEventHandler; - - // Composition Events - onCompositionEnd?: CompositionEventHandler; - onCompositionStart?: CompositionEventHandler; - onCompositionUpdate?: CompositionEventHandler; - - // Focus Events - onFocus?: FocusEventHandler; - onBlur?: FocusEventHandler; - - // Form Events - onChange?: FormEventHandler; - onInput?: FormEventHandler; - onSubmit?: FormEventHandler; - - // Image Events - onLoad?: ReactEventHandler; - onError?: ReactEventHandler; // also a Media Event - - // Keyboard Events - onKeyDown?: KeyboardEventHandler; - onKeyPress?: KeyboardEventHandler; - onKeyUp?: KeyboardEventHandler; - - // Media Events - onAbort?: ReactEventHandler; - onCanPlay?: ReactEventHandler; - onCanPlayThrough?: ReactEventHandler; - onDurationChange?: ReactEventHandler; - onEmptied?: ReactEventHandler; - onEncrypted?: ReactEventHandler; - onEnded?: ReactEventHandler; - onLoadedData?: ReactEventHandler; - onLoadedMetadata?: ReactEventHandler; - onLoadStart?: ReactEventHandler; - onPause?: ReactEventHandler; - onPlay?: ReactEventHandler; - onPlaying?: ReactEventHandler; - onProgress?: ReactEventHandler; - onRateChange?: ReactEventHandler; - onSeeked?: ReactEventHandler; - onSeeking?: ReactEventHandler; - onStalled?: ReactEventHandler; - onSuspend?: ReactEventHandler; - onTimeUpdate?: ReactEventHandler; - onVolumeChange?: ReactEventHandler; - onWaiting?: ReactEventHandler; - - // MouseEvents - onClick?: MouseEventHandler; - onContextMenu?: MouseEventHandler; - onDoubleClick?: MouseEventHandler; - onDrag?: DragEventHandler; - onDragEnd?: DragEventHandler; - onDragEnter?: DragEventHandler; - onDragExit?: DragEventHandler; - onDragLeave?: DragEventHandler; - onDragOver?: DragEventHandler; - onDragStart?: DragEventHandler; - onDrop?: DragEventHandler; - onMouseDown?: MouseEventHandler; - onMouseEnter?: MouseEventHandler; - onMouseLeave?: MouseEventHandler; - onMouseMove?: MouseEventHandler; - onMouseOut?: MouseEventHandler; - onMouseOver?: MouseEventHandler; - onMouseUp?: MouseEventHandler; - - // Selection Events - onSelect?: ReactEventHandler; - - // Touch Events - onTouchCancel?: TouchEventHandler; - onTouchEnd?: TouchEventHandler; - onTouchMove?: TouchEventHandler; - onTouchStart?: TouchEventHandler; - - // UI Events - onScroll?: UIEventHandler; - - // Wheel Events - onWheel?: WheelEventHandler; - } - - // This interface is not complete. Only properties accepting - // unitless numbers are listed here (see CSSProperty.js in React) - interface CSSProperties { - boxFlex?: number; - boxFlexGroup?: number; - columnCount?: number; - flex?: number | string; - flexGrow?: number; - flexShrink?: number; - fontWeight?: number | string; - lineClamp?: number; - lineHeight?: number | string; - opacity?: number; - order?: number; - orphans?: number; - widows?: number; - zIndex?: number; - zoom?: number; - - fontSize?: number | string; - - // SVG-related properties - fillOpacity?: number; - strokeOpacity?: number; - strokeWidth?: number; - - // Remaining properties auto-extracted from http://docs.webplatform.org. - // License: http://docs.webplatform.org/wiki/Template:CC-by-3.0 - /** - * Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how justify-content aligns individual items within the main-axis. - */ - alignContent?: any; - - /** - * Sets the default alignment in the cross axis for all of the flex container's items, including anonymous flex items, similarly to how justify-content aligns items along the main axis. - */ - alignItems?: any; - - /** - * Allows the default alignment to be overridden for individual flex items. - */ - alignSelf?: any; - - /** - * This property allows precise alignment of elements, such as graphics, that do not have a baseline-table or lack the desired baseline in their baseline-table. With the alignment-adjust property, the position of the baseline identified by the alignment-baseline can be explicitly determined. It also determines precisely the alignment point for each glyph within a textual element. - */ - alignmentAdjust?: any; - - alignmentBaseline?: any; - - /** - * Defines a length of time to elapse before an animation starts, allowing an animation to begin execution some time after it is applied. - */ - animationDelay?: any; - - /** - * Defines whether an animation should run in reverse on some or all cycles. - */ - animationDirection?: any; - - /** - * Specifies how many times an animation cycle should play. - */ - animationIterationCount?: any; - - /** - * Defines the list of animations that apply to the element. - */ - animationName?: any; - - /** - * Defines whether an animation is running or paused. - */ - animationPlayState?: any; - - /** - * Allows changing the style of any element to platform-based interface elements or vice versa. - */ - appearance?: any; - - /** - * Determines whether or not the “back” side of a transformed element is visible when facing the viewer. - */ - backfaceVisibility?: any; - - /** - * This property describes how the element's background images should blend with each other and the element's background color. - * The value is a list of blend modes that corresponds to each background image. Each element in the list will apply to the corresponding element of background-image. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough. - */ - backgroundBlendMode?: any; - - backgroundColor?: any; - - backgroundComposite?: any; - - /** - * Applies one or more background images to an element. These can be any valid CSS image, including url() paths to image files or CSS gradients. - */ - backgroundImage?: any; - - /** - * Specifies what the background-position property is relative to. - */ - backgroundOrigin?: any; - - /** - * Sets the horizontal position of a background image. - */ - backgroundPositionX?: any; - - /** - * Background-repeat defines if and how background images will be repeated after they have been sized and positioned - */ - backgroundRepeat?: any; - - /** - * Obsolete - spec retired, not implemented. - */ - baselineShift?: any; - - /** - * Non standard. Sets or retrieves the location of the Dynamic HTML (DHTML) behavior. - */ - behavior?: any; - - /** - * Shorthand property that defines the different properties of all four sides of an element's border in a single declaration. It can be used to set border-width, border-style and border-color, or a subset of these. - */ - border?: any; - - /** - * Defines the shape of the border of the bottom-left corner. - */ - borderBottomLeftRadius?: any; - - /** - * Defines the shape of the border of the bottom-right corner. - */ - borderBottomRightRadius?: any; - - /** - * Sets the width of an element's bottom border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderBottomWidth?: any; - - /** - * Border-collapse can be used for collapsing the borders between table cells - */ - borderCollapse?: any; - - /** - * The CSS border-color property sets the color of an element's four borders. This property can have from one to four values, made up of the elementary properties: • border-top-color - * • border-right-color - * • border-bottom-color - * • border-left-color The default color is the currentColor of each of these values. - * If you provide one value, it sets the color for the element. Two values set the horizontal and vertical values, respectively. Providing three values sets the top, vertical, and bottom values, in that order. Four values set all for sides: top, right, bottom, and left, in that order. - */ - borderColor?: any; - - /** - * Specifies different corner clipping effects, such as scoop (inner curves), bevel (straight cuts) or notch (cut-off rectangles). Works along with border-radius to specify the size of each corner effect. - */ - borderCornerShape?: any; - - /** - * The property border-image-source is used to set the image to be used instead of the border style. If this is set to none the border-style is used instead. - */ - borderImageSource?: any; - - /** - * The border-image-width CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge. They represent inward distance from the top, right, bottom, and left edges. - */ - borderImageWidth?: any; - - /** - * Shorthand property that defines the border-width, border-style and border-color of an element's left border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the left border — border-left-width, border-left-style and border-left-color. - */ - borderLeft?: any; - - /** - * The CSS border-left-color property sets the color of an element's left border. This page explains the border-left-color value, but often you will find it more convenient to fix the border's left color as part of a shorthand set, either border-left or border-color. - * Colors can be defined several ways. For more information, see Usage. - */ - borderLeftColor?: any; - - /** - * Sets the style of an element's left border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style. - */ - borderLeftStyle?: any; - - /** - * Sets the width of an element's left border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderLeftWidth?: any; - - /** - * Shorthand property that defines the border-width, border-style and border-color of an element's right border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the right border — border-right-width, border-right-style and border-right-color. - */ - borderRight?: any; - - /** - * Sets the color of an element's right border. This page explains the border-right-color value, but often you will find it more convenient to fix the border's right color as part of a shorthand set, either border-right or border-color. - * Colors can be defined several ways. For more information, see Usage. - */ - borderRightColor?: any; - - /** - * Sets the style of an element's right border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style. - */ - borderRightStyle?: any; - - /** - * Sets the width of an element's right border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderRightWidth?: any; - - /** - * Specifies the distance between the borders of adjacent cells. - */ - borderSpacing?: any; - - /** - * Sets the style of an element's four borders. This property can have from one to four values. With only one value, the value will be applied to all four borders; otherwise, this works as a shorthand property for each of border-top-style, border-right-style, border-bottom-style, border-left-style, where each border style may be assigned a separate value. - */ - borderStyle?: any; - - /** - * Shorthand property that defines the border-width, border-style and border-color of an element's top border in a single declaration. Note that you can use the corresponding longhand properties to set specific individual properties of the top border — border-top-width, border-top-style and border-top-color. - */ - borderTop?: any; - - /** - * Sets the color of an element's top border. This page explains the border-top-color value, but often you will find it more convenient to fix the border's top color as part of a shorthand set, either border-top or border-color. - * Colors can be defined several ways. For more information, see Usage. - */ - borderTopColor?: any; - - /** - * Sets the rounding of the top-left corner of the element. - */ - borderTopLeftRadius?: any; - - /** - * Sets the rounding of the top-right corner of the element. - */ - borderTopRightRadius?: any; - - /** - * Sets the style of an element's top border. To set all four borders, use the shorthand property, border-style. Otherwise, you can set the borders individually with border-top-style, border-right-style, border-bottom-style, border-left-style. - */ - borderTopStyle?: any; - - /** - * Sets the width of an element's top border. To set all four borders, use the border-width shorthand property which sets the values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderTopWidth?: any; - - /** - * Sets the width of an element's four borders. This property can have from one to four values. This is a shorthand property for setting values simultaneously for border-top-width, border-right-width, border-bottom-width, and border-left-width. - */ - borderWidth?: any; - - /** - * This property specifies how far an absolutely positioned box's bottom margin edge is offset above the bottom edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the bottom edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties). - */ - bottom?: any; - - /** - * Obsolete. - */ - boxAlign?: any; - - /** - * Breaks a box into fragments creating new borders, padding and repeating backgrounds or lets it stay as a continuous box on a page break, column break, or, for inline elements, at a line break. - */ - boxDecorationBreak?: any; - - /** - * Deprecated - */ - boxDirection?: any; - - /** - * Do not use. This property has been replaced by the flex-wrap property. - * Gets or sets a value that specifies the direction to add successive rows or columns when the value of box-lines is set to multiple. - */ - boxLineProgression?: any; - - /** - * Do not use. This property has been replaced by the flex-wrap property. - * Gets or sets a value that specifies whether child elements wrap onto multiple lines or columns based on the space available in the object. - */ - boxLines?: any; - - /** - * Do not use. This property has been replaced by flex-order. - * Specifies the ordinal group that a child element of the object belongs to. This ordinal value identifies the display order (along the axis defined by the box-orient property) for the group. - */ - boxOrdinalGroup?: any; - - /** - * The CSS break-after property allows you to force a break on multi-column layouts. More specifically, it allows you to force a break after an element. It allows you to determine if a break should occur, and what type of break it should be. The break-after CSS property describes how the page, column or region break behaves after the generated box. If there is no generated box, the property is ignored. - */ - breakAfter?: any; - - /** - * Control page/column/region breaks that fall above a block of content - */ - breakBefore?: any; - - /** - * Control page/column/region breaks that fall within a block of content - */ - breakInside?: any; - - /** - * The clear CSS property specifies if an element can be positioned next to or must be positioned below the floating elements that precede it in the markup. - */ - clear?: any; - - /** - * Deprecated; see clip-path. - * Lets you specify the dimensions of an absolutely positioned element that should be visible, and the element is clipped into this shape, and displayed. - */ - clip?: any; - - /** - * Clipping crops an graphic, so that only a portion of the graphic is rendered, or filled. This clip-rule property, when used with the clip-path property, defines which clip rule, or algorithm, to use when filling the different parts of a graphics. - */ - clipRule?: any; - - /** - * The color property sets the color of an element's foreground content (usually text), accepting any standard CSS color from keywords and hex values to RGB(a) and HSL(a). - */ - color?: any; - - /** - * Specifies how to fill columns (balanced or sequential). - */ - columnFill?: any; - - /** - * The column-gap property controls the width of the gap between columns in multi-column elements. - */ - columnGap?: any; - - /** - * Sets the width, style, and color of the rule between columns. - */ - columnRule?: any; - - /** - * Specifies the color of the rule between columns. - */ - columnRuleColor?: any; - - /** - * Specifies the width of the rule between columns. - */ - columnRuleWidth?: any; - - /** - * The column-span CSS property makes it possible for an element to span across all columns when its value is set to all. An element that spans more than one column is called a spanning element. - */ - columnSpan?: any; - - /** - * Specifies the width of columns in multi-column elements. - */ - columnWidth?: any; - - /** - * This property is a shorthand property for setting column-width and/or column-count. - */ - columns?: any; - - /** - * The counter-increment property accepts one or more names of counters (identifiers), each one optionally followed by an integer which specifies the value by which the counter should be incremented (e.g. if the value is 2, the counter increases by 2 each time it is invoked). - */ - counterIncrement?: any; - - /** - * The counter-reset property contains a list of one or more names of counters, each one optionally followed by an integer (otherwise, the integer defaults to 0.) Each time the given element is invoked, the counters specified by the property are set to the given integer. - */ - counterReset?: any; - - /** - * The cue property specifies sound files (known as an "auditory icon") to be played by speech media agents before and after presenting an element's content; if only one file is specified, it is played both before and after. The volume at which the file(s) should be played, relative to the volume of the main element, may also be specified. The icon files may also be set separately with the cue-before and cue-after properties. - */ - cue?: any; - - /** - * The cue-after property specifies a sound file (known as an "auditory icon") to be played by speech media agents after presenting an element's content; the volume at which the file should be played may also be specified. The shorthand property cue sets cue sounds for both before and after the element is presented. - */ - cueAfter?: any; - - /** - * The direction CSS property specifies the text direction/writing direction. The rtl is used for Hebrew or Arabic text, the ltr is for other languages. - */ - direction?: any; - - /** - * This property specifies the type of rendering box used for an element. It is a shorthand property for many other display properties. - */ - display?: any; - - /** - * The ‘fill’ property paints the interior of the given graphical element. The area to be painted consists of any areas inside the outline of the shape. To determine the inside of the shape, all subpaths are considered, and the interior is determined according to the rules associated with the current value of the ‘fill-rule’ property. The zero-width geometric outline of a shape is included in the area to be painted. - */ - fill?: any; - - /** - * The ‘fill-rule’ property indicates the algorithm which is to be used to determine what parts of the canvas are included inside the shape. For a simple, non-intersecting path, it is intuitively clear what region lies "inside"; however, for a more complex path, such as a path that intersects itself or where one subpath encloses another, the interpretation of "inside" is not so obvious. - * The ‘fill-rule’ property provides two options for how the inside of a shape is determined: - */ - fillRule?: any; - - /** - * Applies various image processing effects. This property is largely unsupported. See Compatibility section for more information. - */ - filter?: any; - - /** - * Obsolete, do not use. This property has been renamed to align-items. - * Specifies the alignment (perpendicular to the layout axis defined by the flex-direction property) of child elements of the object. - */ - flexAlign?: any; - - /** - * The flex-basis CSS property describes the initial main size of the flex item before any free space is distributed according to the flex factors described in the flex property (flex-grow and flex-shrink). - */ - flexBasis?: any; - - /** - * The flex-direction CSS property describes how flex items are placed in the flex container, by setting the direction of the flex container's main axis. - */ - flexDirection?: any; - - /** - * The flex-flow CSS property defines the flex container's main and cross axis. It is a shorthand property for the flex-direction and flex-wrap properties. - */ - flexFlow?: any; - - /** - * Do not use. This property has been renamed to align-self - * Specifies the alignment (perpendicular to the layout axis defined by flex-direction) of child elements of the object. - */ - flexItemAlign?: any; - - /** - * Do not use. This property has been renamed to align-content. - * Specifies how a flexbox's lines align within the flexbox when there is extra space along the axis that is perpendicular to the axis defined by the flex-direction property. - */ - flexLinePack?: any; - - /** - * Gets or sets a value that specifies the ordinal group that a flexbox element belongs to. This ordinal value identifies the display order for the group. - */ - flexOrder?: any; - - /** - * Elements which have the style float are floated horizontally. These elements can move as far to the left or right of the containing element. All elements after the floating element will flow around it, but elements before the floating element are not impacted. If several floating elements are placed after each other, they will float next to each other as long as there is room. - */ - float?: any; - - /** - * Flows content from a named flow (specified by a corresponding flow-into) through selected elements to form a dynamic chain of layout regions. - */ - flowFrom?: any; - - /** - * The font property is shorthand that allows you to do one of two things: you can either set up six of the most mature font properties in one line, or you can set one of a choice of keywords to adopt a system font setting. - */ - font?: any; - - /** - * The font-family property allows one or more font family names and/or generic family names to be specified for usage on the selected element(s)' text. The browser then goes through the list; for each character in the selection it applies the first font family that has an available glyph for that character. - */ - fontFamily?: any; - - /** - * The font-kerning property allows contextual adjustment of inter-glyph spacing, i.e. the spaces between the characters in text. This property controls metric kerning - that utilizes adjustment data contained in the font. Optical Kerning is not supported as yet. - */ - fontKerning?: any; - - /** - * The font-size-adjust property adjusts the font-size of the fallback fonts defined with font-family, so that the x-height is the same no matter what font is used. This preserves the readability of the text when fallback happens. - */ - fontSizeAdjust?: any; - - /** - * Allows you to expand or condense the widths for a normal, condensed, or expanded font face. - */ - fontStretch?: any; - - /** - * The font-style property allows normal, italic, or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face. Oblique faces can be simulated by artificially sloping the glyphs of the regular face. - */ - fontStyle?: any; - - /** - * This value specifies whether the user agent is allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces. - */ - fontSynthesis?: any; - - /** - * The font-variant property enables you to select the small-caps font within a font family. - */ - fontVariant?: any; - - /** - * Fonts can provide alternate glyphs in addition to default glyph for a character. This property provides control over the selection of these alternate glyphs. - */ - fontVariantAlternates?: any; - - /** - * Lays out one or more grid items bound by 4 grid lines. Shorthand for setting grid-column-start, grid-column-end, grid-row-start, and grid-row-end in a single declaration. - */ - gridArea?: any; - - /** - * Controls a grid item's placement in a grid area, particularly grid position and a grid span. Shorthand for setting grid-column-start and grid-column-end in a single declaration. - */ - gridColumn?: any; - - /** - * Controls a grid item's placement in a grid area as well as grid position and a grid span. The grid-column-end property (with grid-row-start, grid-row-end, and grid-column-start) determines a grid item's placement by specifying the grid lines of a grid item's grid area. - */ - gridColumnEnd?: any; - - /** - * Determines a grid item's placement by specifying the starting grid lines of a grid item's grid area . A grid item's placement in a grid area consists of a grid position and a grid span. See also ( grid-row-start, grid-row-end, and grid-column-end) - */ - gridColumnStart?: any; - - /** - * Gets or sets a value that indicates which row an element within a Grid should appear in. Shorthand for setting grid-row-start and grid-row-end in a single declaration. - */ - gridRow?: any; - - /** - * Determines a grid item’s placement by specifying the block-end. A grid item's placement in a grid area consists of a grid position and a grid span. The grid-row-end property (with grid-row-start, grid-column-start, and grid-column-end) determines a grid item's placement by specifying the grid lines of a grid item's grid area. - */ - gridRowEnd?: any; - - /** - * Specifies a row position based upon an integer location, string value, or desired row size. - * css/properties/grid-row is used as short-hand for grid-row-position and grid-row-position - */ - gridRowPosition?: any; - - gridRowSpan?: any; - - /** - * Specifies named grid areas which are not associated with any particular grid item, but can be referenced from the grid-placement properties. The syntax of the grid-template-areas property also provides a visualization of the structure of the grid, making the overall layout of the grid container easier to understand. - */ - gridTemplateAreas?: any; - - /** - * Specifies (with grid-template-rows) the line names and track sizing functions of the grid. Each sizing function can be specified as a length, a percentage of the grid container’s size, a measurement of the contents occupying the column or row, or a fraction of the free space in the grid. - */ - gridTemplateColumns?: any; - - /** - * Specifies (with grid-template-columns) the line names and track sizing functions of the grid. Each sizing function can be specified as a length, a percentage of the grid container’s size, a measurement of the contents occupying the column or row, or a fraction of the free space in the grid. - */ - gridTemplateRows?: any; - - /** - * Sets the height of an element. The content area of the element height does not include the padding, border, and margin of the element. - */ - height?: any; - - /** - * Specifies the minimum number of characters in a hyphenated word - */ - hyphenateLimitChars?: any; - - /** - * Indicates the maximum number of successive hyphenated lines in an element. The ‘no-limit’ value means that there is no limit. - */ - hyphenateLimitLines?: any; - - /** - * Specifies the maximum amount of trailing whitespace (before justification) that may be left in a line before hyphenation is triggered to pull part of a word from the next line back up into the current one. - */ - hyphenateLimitZone?: any; - - /** - * Specifies whether or not words in a sentence can be split by the use of a manual or automatic hyphenation mechanism. - */ - hyphens?: any; - - imeMode?: any; - - layoutGrid?: any; - - layoutGridChar?: any; - - layoutGridLine?: any; - - layoutGridMode?: any; - - layoutGridType?: any; - - /** - * Sets the left edge of an element - */ - left?: any; - - /** - * The letter-spacing CSS property specifies the spacing behavior between text characters. - */ - letterSpacing?: any; - - /** - * Deprecated. Gets or sets line-breaking rules for text in selected languages such as Japanese, Chinese, and Korean. - */ - lineBreak?: any; - - /** - * Shorthand property that sets the list-style-type, list-style-position and list-style-image properties in one declaration. - */ - listStyle?: any; - - /** - * This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker. That also means that if the image is not available, it will show the style specified by list-style-property - */ - listStyleImage?: any; - - /** - * Specifies if the list-item markers should appear inside or outside the content flow. - */ - listStylePosition?: any; - - /** - * Specifies the type of list-item marker in a list. - */ - listStyleType?: any; - - /** - * The margin property is shorthand to allow you to set all four margins of an element at once. Its equivalent longhand properties are margin-top, margin-right, margin-bottom and margin-left. Negative values are also allowed. - */ - margin?: any; - - /** - * margin-bottom sets the bottom margin of an element. - */ - marginBottom?: any; - - /** - * margin-left sets the left margin of an element. - */ - marginLeft?: any; - - /** - * margin-right sets the right margin of an element. - */ - marginRight?: any; - - /** - * margin-top sets the top margin of an element. - */ - marginTop?: any; - - /** - * The marquee-direction determines the initial direction in which the marquee content moves. - */ - marqueeDirection?: any; - - /** - * The 'marquee-style' property determines a marquee's scrolling behavior. - */ - marqueeStyle?: any; - - /** - * This property is shorthand for setting mask-image, mask-mode, mask-repeat, mask-position, mask-clip, mask-origin, mask-composite and mask-size. Omitted values are set to their original properties' initial values. - */ - mask?: any; - - /** - * This property is shorthand for setting mask-border-source, mask-border-slice, mask-border-width, mask-border-outset, and mask-border-repeat. Omitted values are set to their original properties' initial values. - */ - maskBorder?: any; - - /** - * This property specifies how the images for the sides and the middle part of the mask image are scaled and tiled. The first keyword applies to the horizontal sides, the second one applies to the vertical ones. If the second keyword is absent, it is assumed to be the same as the first, similar to the CSS border-image-repeat property. - */ - maskBorderRepeat?: any; - - /** - * This property specifies inward offsets from the top, right, bottom, and left edges of the mask image, dividing it into nine regions: four corners, four edges, and a middle. The middle image part is discarded and treated as fully transparent black unless the fill keyword is present. The four values set the top, right, bottom and left offsets in that order, similar to the CSS border-image-slice property. - */ - maskBorderSlice?: any; - - /** - * Specifies an image to be used as a mask. An image that is empty, fails to download, is non-existent, or cannot be displayed is ignored and does not mask the element. - */ - maskBorderSource?: any; - - /** - * This property sets the width of the mask box image, similar to the CSS border-image-width property. - */ - maskBorderWidth?: any; - - /** - * Determines the mask painting area, which defines the area that is affected by the mask. The painted content of an element may be restricted to this area. - */ - maskClip?: any; - - /** - * For elements rendered as a single box, specifies the mask positioning area. For elements rendered as multiple boxes (e.g., inline boxes on several lines, boxes on several pages) specifies which boxes box-decoration-break operates on to determine the mask positioning area(s). - */ - maskOrigin?: any; - - /** - * This property must not be used. It is no longer included in any standard or standard track specification, nor is it implemented in any browser. It is only used when the text-align-last property is set to size. It controls allowed adjustments of font-size to fit line content. - */ - maxFontSize?: any; - - /** - * Sets the maximum height for an element. It prevents the height of the element to exceed the specified value. If min-height is specified and is greater than max-height, max-height is overridden. - */ - maxHeight?: any; - - /** - * Sets the maximum width for an element. It limits the width property to be larger than the value specified in max-width. - */ - maxWidth?: any; - - /** - * Sets the minimum height for an element. It prevents the height of the element to be smaller than the specified value. The value of min-height overrides both max-height and height. - */ - minHeight?: any; - - /** - * Sets the minimum width of an element. It limits the width property to be not smaller than the value specified in min-width. - */ - minWidth?: any; - - /** - * The CSS outline property is a shorthand property for setting one or more of the individual outline properties outline-style, outline-width and outline-color in a single rule. In most cases the use of this shortcut is preferable and more convenient. - * Outlines differ from borders in the following ways: • Outlines do not take up space, they are drawn above the content. - * • Outlines may be non-rectangular. They are rectangular in Gecko/Firefox. Internet Explorer attempts to place the smallest contiguous outline around all elements or shapes that are indicated to have an outline. Opera draws a non-rectangular shape around a construct. - */ - outline?: any; - - /** - * The outline-color property sets the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out. - */ - outlineColor?: any; - - /** - * The outline-offset property offsets the outline and draw it beyond the border edge. - */ - outlineOffset?: any; - - /** - * The overflow property controls how extra content exceeding the bounding box of an element is rendered. It can be used in conjunction with an element that has a fixed width and height, to eliminate text-induced page distortion. - */ - overflow?: any; - - /** - * Specifies the preferred scrolling methods for elements that overflow. - */ - overflowStyle?: any; - - /** - * The overflow-x property is a specific case of the generic overflow property. It controls how extra content exceeding the x-axis of the bounding box of an element is rendered. - */ - overflowX?: any; - - /** - * The padding optional CSS property sets the required padding space on one to four sides of an element. The padding area is the space between an element and its border. Negative values are not allowed but decimal values are permitted. The element size is treated as fixed, and the content of the element shifts toward the center as padding is increased. - * The padding property is a shorthand to avoid setting each side separately (padding-top, padding-right, padding-bottom, padding-left). - */ - padding?: any; - - /** - * The padding-bottom CSS property of an element sets the padding space required on the bottom of an element. The padding area is the space between the content of the element and its border. Contrary to margin-bottom values, negative values of padding-bottom are invalid. - */ - paddingBottom?: any; - - /** - * The padding-left CSS property of an element sets the padding space required on the left side of an element. The padding area is the space between the content of the element and its border. Contrary to margin-left values, negative values of padding-left are invalid. - */ - paddingLeft?: any; - - /** - * The padding-right CSS property of an element sets the padding space required on the right side of an element. The padding area is the space between the content of the element and its border. Contrary to margin-right values, negative values of padding-right are invalid. - */ - paddingRight?: any; - - /** - * The padding-top CSS property of an element sets the padding space required on the top of an element. The padding area is the space between the content of the element and its border. Contrary to margin-top values, negative values of padding-top are invalid. - */ - paddingTop?: any; - - /** - * The page-break-after property is supported in all major browsers. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation. - */ - pageBreakAfter?: any; - - /** - * The page-break-before property sets the page-breaking behavior before an element. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation. - */ - pageBreakBefore?: any; - - /** - * Sets the page-breaking behavior inside an element. With CSS3, page-break-* properties are only aliases of the break-* properties. The CSS3 Fragmentation spec defines breaks for all CSS box fragmentation. - */ - pageBreakInside?: any; - - /** - * The pause property determines how long a speech media agent should pause before and after presenting an element. It is a shorthand for the pause-before and pause-after properties. - */ - pause?: any; - - /** - * The pause-after property determines how long a speech media agent should pause after presenting an element. It may be replaced by the shorthand property pause, which sets pause time before and after. - */ - pauseAfter?: any; - - /** - * The pause-before property determines how long a speech media agent should pause before presenting an element. It may be replaced by the shorthand property pause, which sets pause time before and after. - */ - pauseBefore?: any; - - /** - * The perspective property defines how far an element is placed from the view on the z-axis, from the screen to the viewer. - * Perspective defines how an object is viewed. In graphic arts, perspective is the representation on a flat surface of what the viewer's eye would see in a 3D space. (See Wikipedia for more information about graphical perspective and for related illustrations.) - * The illusion of perspective on a flat surface, such as a computer screen, is created by projecting points on the flat surface as they would appear if the flat surface were a window through which the viewer was looking at the object. In discussion of virtual environments, this flat surface is called a projection plane. - */ - perspective?: any; - - /** - * The perspective-origin property establishes the origin for the perspective property. It effectively sets the X and Y position at which the viewer appears to be looking at the children of the element. - * When used with perspective, perspective-origin changes the appearance of an object, as if a viewer were looking at it from a different origin. An object appears differently if a viewer is looking directly at it versus looking at it from below, above, or from the side. Thus, the perspective-origin is like a vanishing point. - * The default value of perspective-origin is 50% 50%. This displays an object as if the viewer's eye were positioned directly at the center of the screen, both top-to-bottom and left-to-right. A value of 0% 0% changes the object as if the viewer was looking toward the top left angle. A value of 100% 100% changes the appearance as if viewed toward the bottom right angle. - */ - perspectiveOrigin?: any; - - /** - * The pointer-events property allows you to control whether an element can be the target for the pointing device (e.g, mouse, pen) events. - */ - pointerEvents?: any; - - /** - * The position property controls the type of positioning used by an element within its parent elements. The effect of the position property depends on a lot of factors, for example the position property of parent elements. - */ - position?: any; - - /** - * Obsolete: unsupported. - * This property determines whether or not a full-width punctuation mark character should be trimmed if it appears at the beginning of a line, so that its "ink" lines up with the first glyph in the line above and below. - */ - punctuationTrim?: any; - - /** - * Sets the type of quotation marks for embedded quotations. - */ - quotes?: any; - - /** - * Controls whether the last region in a chain displays additional 'overset' content according its default overflow property, or if it displays a fragment of content as if it were flowing into a subsequent region. - */ - regionFragment?: any; - - /** - * The rest-after property determines how long a speech media agent should pause after presenting an element's main content, before presenting that element's exit cue sound. It may be replaced by the shorthand property rest, which sets rest time before and after. - */ - restAfter?: any; - - /** - * The rest-before property determines how long a speech media agent should pause after presenting an intro cue sound for an element, before presenting that element's main content. It may be replaced by the shorthand property rest, which sets rest time before and after. - */ - restBefore?: any; - - /** - * Specifies the position an element in relation to the right side of the containing element. - */ - right?: any; - - rubyAlign?: any; - - rubyPosition?: any; - - /** - * Defines the alpha channel threshold used to extract a shape from an image. Can be thought of as a "minimum opacity" threshold; that is, a value of 0.5 means that the shape will enclose all the pixels that are more than 50% opaque. - */ - shapeImageThreshold?: any; - - /** - * A future level of CSS Shapes will define a shape-inside property, which will define a shape to wrap content within the element. See Editor's Draft and CSSWG wiki page on next-level plans - */ - shapeInside?: any; - - /** - * Adds a margin to a shape-outside. In effect, defines a new shape that is the smallest contour around all the points that are the shape-margin distance outward perpendicular to each point on the underlying shape. For points where a perpendicular direction is not defined (e.g., a triangle corner), takes all points on a circle centered at the point and with a radius of the shape-margin distance. This property accepts only non-negative values. - */ - shapeMargin?: any; - - /** - * Declares a shape around which text should be wrapped, with possible modifications from the shape-margin property. The shape defined by shape-outside and shape-margin changes the geometry of a float element's float area. - */ - shapeOutside?: any; - - /** - * The speak property determines whether or not a speech synthesizer will read aloud the contents of an element. - */ - speak?: any; - - /** - * The speak-as property determines how the speech synthesizer interprets the content: words as whole words or as a sequence of letters, numbers as a numerical value or a sequence of digits, punctuation as pauses in speech or named punctuation characters. - */ - speakAs?: any; - - /** - * The tab-size CSS property is used to customise the width of a tab (U+0009) character. - */ - tabSize?: any; - - /** - * The 'table-layout' property controls the algorithm used to lay out the table cells, rows, and columns. - */ - tableLayout?: any; - - /** - * The text-align CSS property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements itself, only their inline content. - */ - textAlign?: any; - - /** - * The text-align-last CSS property describes how the last line of a block element or a line before line break is aligned in its parent block element. - */ - textAlignLast?: any; - - /** - * The text-decoration CSS property is used to set the text formatting to underline, overline, line-through or blink. - * underline and overline decorations are positioned under the text, line-through over it. - */ - textDecoration?: any; - - /** - * Sets the color of any text decoration, such as underlines, overlines, and strike throughs. - */ - textDecorationColor?: any; - - /** - * Sets what kind of line decorations are added to an element, such as underlines, overlines, etc. - */ - textDecorationLine?: any; - - textDecorationLineThrough?: any; - - textDecorationNone?: any; - - textDecorationOverline?: any; - - /** - * Specifies what parts of an element’s content are skipped over when applying any text decoration. - */ - textDecorationSkip?: any; - - /** - * This property specifies the style of the text decoration line drawn on the specified element. The intended meaning for the values are the same as those of the border-style-properties. - */ - textDecorationStyle?: any; - - textDecorationUnderline?: any; - - /** - * The text-emphasis property will apply special emphasis marks to the elements text. Slightly similar to the text-decoration property only that this property can have affect on the line-height. It also is noted that this is shorthand for text-emphasis-style and for text-emphasis-color. - */ - textEmphasis?: any; - - /** - * The text-emphasis-color property specifies the foreground color of the emphasis marks. - */ - textEmphasisColor?: any; - - /** - * The text-emphasis-style property applies special emphasis marks to an element's text. - */ - textEmphasisStyle?: any; - - /** - * This property helps determine an inline box's block-progression dimension, derived from the text-height and font-size properties for non-replaced elements, the height or the width for replaced elements, and the stacked block-progression dimension for inline-block elements. The block-progression dimension determines the position of the padding, border and margin for the element. - */ - textHeight?: any; - - /** - * Specifies the amount of space horizontally that should be left on the first line of the text of an element. This horizontal spacing is at the beginning of the first line and is in respect to the left edge of the containing block box. - */ - textIndent?: any; - - textJustifyTrim?: any; - - textKashidaSpace?: any; - - /** - * The text-line-through property is a shorthand property for text-line-through-style, text-line-through-color and text-line-through-mode. (Considered obsolete; use text-decoration instead.) - */ - textLineThrough?: any; - - /** - * Specifies the line colors for the line-through text decoration. - * (Considered obsolete; use text-decoration-color instead.) - */ - textLineThroughColor?: any; - - /** - * Sets the mode for the line-through text decoration, determining whether the text decoration affects the space characters or not. - * (Considered obsolete; use text-decoration-skip instead.) - */ - textLineThroughMode?: any; - - /** - * Specifies the line style for line-through text decoration. - * (Considered obsolete; use text-decoration-style instead.) - */ - textLineThroughStyle?: any; - - /** - * Specifies the line width for the line-through text decoration. - */ - textLineThroughWidth?: any; - - /** - * The text-overflow shorthand CSS property determines how overflowed content that is not displayed is signaled to the users. It can be clipped, display an ellipsis ('…', U+2026 HORIZONTAL ELLIPSIS) or a Web author-defined string. It covers the two long-hand properties text-overflow-mode and text-overflow-ellipsis - */ - textOverflow?: any; - - /** - * The text-overline property is the shorthand for the text-overline-style, text-overline-width, text-overline-color, and text-overline-mode properties. - */ - textOverline?: any; - - /** - * Specifies the line color for the overline text decoration. - */ - textOverlineColor?: any; - - /** - * Sets the mode for the overline text decoration, determining whether the text decoration affects the space characters or not. - */ - textOverlineMode?: any; - - /** - * Specifies the line style for overline text decoration. - */ - textOverlineStyle?: any; - - /** - * Specifies the line width for the overline text decoration. - */ - textOverlineWidth?: any; - - /** - * The text-rendering CSS property provides information to the browser about how to optimize when rendering text. Options are: legibility, speed or geometric precision. - */ - textRendering?: any; - - /** - * Obsolete: unsupported. - */ - textScript?: any; - - /** - * The CSS text-shadow property applies one or more drop shadows to the text and of an element. Each shadow is specified as an offset from the text, along with optional color and blur radius values. - */ - textShadow?: any; - - /** - * This property transforms text for styling purposes. (It has no effect on the underlying content.) - */ - textTransform?: any; - - /** - * Unsupported. - * This property will add a underline position value to the element that has an underline defined. - */ - textUnderlinePosition?: any; - - /** - * After review this should be replaced by text-decoration should it not? - * This property will set the underline style for text with a line value for underline, overline, and line-through. - */ - textUnderlineStyle?: any; - - /** - * This property specifies how far an absolutely positioned box's top margin edge is offset below the top edge of the box's containing block. For relatively positioned boxes, the offset is with respect to the top edges of the box itself (i.e., the box is given a position in the normal flow, then offset from that position according to these properties). - */ - top?: any; - - /** - * Determines whether touch input may trigger default behavior supplied by the user agent, such as panning or zooming. - */ - touchAction?: any; - - /** - * CSS transforms allow elements styled with CSS to be transformed in two-dimensional or three-dimensional space. Using this property, elements can be translated, rotated, scaled, and skewed. The value list may consist of 2D and/or 3D transform values. - */ - transform?: any; - - /** - * This property defines the origin of the transformation axes relative to the element to which the transformation is applied. - */ - transformOrigin?: any; - - /** - * This property allows you to define the relative position of the origin of the transformation grid along the z-axis. - */ - transformOriginZ?: any; - - /** - * This property specifies how nested elements are rendered in 3D space relative to their parent. - */ - transformStyle?: any; - - /** - * The transition CSS property is a shorthand property for transition-property, transition-duration, transition-timing-function, and transition-delay. It allows to define the transition between two states of an element. - */ - transition?: any; - - /** - * Defines when the transition will start. A value of ‘0s’ means the transition will execute as soon as the property is changed. Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset. - */ - transitionDelay?: any; - - /** - * The 'transition-duration' property specifies the length of time a transition animation takes to complete. - */ - transitionDuration?: any; - - /** - * The 'transition-property' property specifies the name of the CSS property to which the transition is applied. - */ - transitionProperty?: any; - - /** - * Sets the pace of action within a transition - */ - transitionTimingFunction?: any; - - /** - * The unicode-bidi CSS property specifies the level of embedding with respect to the bidirectional algorithm. - */ - unicodeBidi?: any; - - /** - * unicode-range allows you to set a specific range of characters to be downloaded from a font (embedded using @font-face) and made available for use on the current page. - */ - unicodeRange?: any; - - /** - * This is for all the high level UX stuff. - */ - userFocus?: any; - - /** - * For inputing user content - */ - userInput?: any; - - /** - * The vertical-align property controls how inline elements or text are vertically aligned compared to the baseline. If this property is used on table-cells it controls the vertical alignment of content of the table cell. - */ - verticalAlign?: any; - - /** - * The visibility property specifies whether the boxes generated by an element are rendered. - */ - visibility?: any; - - /** - * The voice-balance property sets the apparent position (in stereo sound) of the synthesized voice for spoken media. - */ - voiceBalance?: any; - - /** - * The voice-duration property allows the author to explicitly set the amount of time it should take a speech synthesizer to read an element's content, for example to allow the speech to be synchronized with other media. With a value of auto (the default) the length of time it takes to read the content is determined by the content itself and the voice-rate property. - */ - voiceDuration?: any; - - /** - * The voice-family property sets the speaker's voice used by a speech media agent to read an element. The speaker may be specified as a named character (to match a voice option in the speech reading software) or as a generic description of the age and gender of the voice. Similar to the font-family property for visual media, a comma-separated list of fallback options may be given in case the speech reader does not recognize the character name or cannot synthesize the requested combination of generic properties. - */ - voiceFamily?: any; - - /** - * The voice-pitch property sets pitch or tone (high or low) for the synthesized speech when reading an element; the pitch may be specified absolutely or relative to the normal pitch for the voice-family used to read the text. - */ - voicePitch?: any; - - /** - * The voice-range property determines how much variation in pitch or tone will be created by the speech synthesize when reading an element. Emphasized text, grammatical structures and punctuation may all be rendered as changes in pitch, this property determines how strong or obvious those changes are; large ranges are associated with enthusiastic or emotional speech, while small ranges are associated with flat or mechanical speech. - */ - voiceRange?: any; - - /** - * The voice-rate property sets the speed at which the voice synthesized by a speech media agent will read content. - */ - voiceRate?: any; - - /** - * The voice-stress property sets the level of vocal emphasis to be used for synthesized speech reading the element. - */ - voiceStress?: any; - - /** - * The voice-volume property sets the volume for spoken content in speech media. It replaces the deprecated volume property. - */ - voiceVolume?: any; - - /** - * The white-space property controls whether and how white space inside the element is collapsed, and whether lines may wrap at unforced "soft wrap" opportunities. - */ - whiteSpace?: any; - - /** - * Obsolete: unsupported. - */ - whiteSpaceTreatment?: any; - - /** - * Specifies the width of the content area of an element. The content area of the element width does not include the padding, border, and margin of the element. - */ - width?: any; - - /** - * The word-break property is often used when there is long generated content that is strung together without and spaces or hyphens to beak apart. A common case of this is when there is a long URL that does not have any hyphens. This case could potentially cause the breaking of the layout as it could extend past the parent element. - */ - wordBreak?: any; - - /** - * The word-spacing CSS property specifies the spacing behavior between "words". - */ - wordSpacing?: any; - - /** - * An alias of css/properties/overflow-wrap, word-wrap defines whether to break words when the content exceeds the boundaries of its container. - */ - wordWrap?: any; - - /** - * Specifies how exclusions affect inline content within block-level elements. Elements lay out their inline content in their content area but wrap around exclusion areas. - */ - wrapFlow?: any; - - /** - * Set the value that is used to offset the inner wrap shape from other shapes. Inline content that intersects a shape with this property will be pushed by this shape's margin. - */ - wrapMargin?: any; - - /** - * Obsolete and unsupported. Do not use. - * This CSS property controls the text when it reaches the end of the block in which it is enclosed. - */ - wrapOption?: any; - - /** - * writing-mode specifies if lines of text are laid out horizontally or vertically, and the direction which lines of text and blocks progress. - */ - writingMode?: any; - - - [propertyName: string]: any; - } - - interface HTMLAttributes extends DOMAttributes { - // React-specific Attributes - defaultChecked?: boolean; - defaultValue?: string | string[]; - - // Standard HTML Attributes - accept?: string; - acceptCharset?: string; - accessKey?: string; - action?: string; - allowFullScreen?: boolean; - allowTransparency?: boolean; - alt?: string; - async?: boolean; - autoComplete?: string; - autoFocus?: boolean; - autoPlay?: boolean; - capture?: boolean; - cellPadding?: number | string; - cellSpacing?: number | string; - charSet?: string; - challenge?: string; - checked?: boolean; - classID?: string; - className?: string; - cols?: number; - colSpan?: number; - content?: string; - contentEditable?: boolean; - contextMenu?: string; - controls?: boolean; - coords?: string; - crossOrigin?: string; - data?: string; - dateTime?: string; - default?: boolean; - defer?: boolean; - dir?: string; - disabled?: boolean; - download?: any; - draggable?: boolean; - encType?: string; - form?: string; - formAction?: string; - formEncType?: string; - formMethod?: string; - formNoValidate?: boolean; - formTarget?: string; - frameBorder?: number | string; - headers?: string; - height?: number | string; - hidden?: boolean; - high?: number; - href?: string; - hrefLang?: string; - htmlFor?: string; - httpEquiv?: string; - icon?: string; - id?: string; - inputMode?: string; - integrity?: string; - is?: string; - keyParams?: string; - keyType?: string; - kind?: string; - label?: string; - lang?: string; - list?: string; - loop?: boolean; - low?: number; - manifest?: string; - marginHeight?: number; - marginWidth?: number; - max?: number | string; - maxLength?: number; - media?: string; - mediaGroup?: string; - method?: string; - min?: number | string; - minLength?: number; - multiple?: boolean; - muted?: boolean; - name?: string; - noValidate?: boolean; - open?: boolean; - optimum?: number; - pattern?: string; - placeholder?: string; - poster?: string; - preload?: string; - radioGroup?: string; - readOnly?: boolean; - rel?: string; - required?: boolean; - role?: string; - rows?: number; - rowSpan?: number; - sandbox?: string; - scope?: string; - scoped?: boolean; - scrolling?: string; - seamless?: boolean; - selected?: boolean; - shape?: string; - size?: number; - sizes?: string; - span?: number; - spellCheck?: boolean; - src?: string; - srcDoc?: string; - srcLang?: string; - srcSet?: string; - start?: number; - step?: number | string; - style?: CSSProperties; - summary?: string; - tabIndex?: number; - target?: string; - title?: string; - type?: string; - useMap?: string; - value?: string | string[]; - width?: number | string; - wmode?: string; - wrap?: string; - - // RDFa Attributes - about?: string; - datatype?: string; - inlist?: any; - prefix?: string; - property?: string; - resource?: string; - typeof?: string; - vocab?: string; - - // Non-standard Attributes - autoCapitalize?: string; - autoCorrect?: string; - autoSave?: string; - color?: string; - itemProp?: string; - itemScope?: boolean; - itemType?: string; - itemID?: string; - itemRef?: string; - results?: number; - security?: string; - unselectable?: boolean; - - // Allows aria- and data- Attributes - [key: string]: any; - } - - interface SVGAttributes extends HTMLAttributes { - clipPath?: string; - cx?: number | string; - cy?: number | string; - d?: string; - dx?: number | string; - dy?: number | string; - fill?: string; - fillOpacity?: number | string; - fontFamily?: string; - fontSize?: number | string; - fx?: number | string; - fy?: number | string; - gradientTransform?: string; - gradientUnits?: string; - markerEnd?: string; - markerMid?: string; - markerStart?: string; - offset?: number | string; - opacity?: number | string; - patternContentUnits?: string; - patternUnits?: string; - points?: string; - preserveAspectRatio?: string; - r?: number | string; - rx?: number | string; - ry?: number | string; - spreadMethod?: string; - stopColor?: string; - stopOpacity?: number | string; - stroke?: string; - strokeDasharray?: string; - strokeLinecap?: string; - strokeMiterlimit?: string; - strokeOpacity?: number | string; - strokeWidth?: number | string; - textAnchor?: string; - transform?: string; - version?: string; - viewBox?: string; - x1?: number | string; - x2?: number | string; - x?: number | string; - xlinkActuate?: string; - xlinkArcrole?: string; - xlinkHref?: string; - xlinkRole?: string; - xlinkShow?: string; - xlinkTitle?: string; - xlinkType?: string; - xmlBase?: string; - xmlLang?: string; - xmlSpace?: string; - y1?: number | string; - y2?: number | string; - y?: number | string; - } - - // - // React.DOM - // ---------------------------------------------------------------------- - - interface ReactDOM { - // HTML - a: HTMLFactory; - abbr: HTMLFactory; - address: HTMLFactory; - area: HTMLFactory; - article: HTMLFactory; - aside: HTMLFactory; - audio: HTMLFactory; - b: HTMLFactory; - base: HTMLFactory; - bdi: HTMLFactory; - bdo: HTMLFactory; - big: HTMLFactory; - blockquote: HTMLFactory; - body: HTMLFactory; - br: HTMLFactory; - button: HTMLFactory; - canvas: HTMLFactory; - caption: HTMLFactory; - cite: HTMLFactory; - code: HTMLFactory; - col: HTMLFactory; - colgroup: HTMLFactory; - data: HTMLFactory; - datalist: HTMLFactory; - dd: HTMLFactory; - del: HTMLFactory; - details: HTMLFactory; - dfn: HTMLFactory; - dialog: HTMLFactory; - div: HTMLFactory; - dl: HTMLFactory; - dt: HTMLFactory; - em: HTMLFactory; - embed: HTMLFactory; - fieldset: HTMLFactory; - figcaption: HTMLFactory; - figure: HTMLFactory; - footer: HTMLFactory; - form: HTMLFactory; - h1: HTMLFactory; - h2: HTMLFactory; - h3: HTMLFactory; - h4: HTMLFactory; - h5: HTMLFactory; - h6: HTMLFactory; - head: HTMLFactory; - header: HTMLFactory; - hgroup: HTMLFactory; - hr: HTMLFactory; - html: HTMLFactory; - i: HTMLFactory; - iframe: HTMLFactory; - img: HTMLFactory; - input: HTMLFactory; - ins: HTMLFactory; - kbd: HTMLFactory; - keygen: HTMLFactory; - label: HTMLFactory; - legend: HTMLFactory; - li: HTMLFactory; - link: HTMLFactory; - main: HTMLFactory; - map: HTMLFactory; - mark: HTMLFactory; - menu: HTMLFactory; - menuitem: HTMLFactory; - meta: HTMLFactory; - meter: HTMLFactory; - nav: HTMLFactory; - noscript: HTMLFactory; - object: HTMLFactory; - ol: HTMLFactory; - optgroup: HTMLFactory; - option: HTMLFactory; - output: HTMLFactory; - p: HTMLFactory; - param: HTMLFactory; - picture: HTMLFactory; - pre: HTMLFactory; - progress: HTMLFactory; - q: HTMLFactory; - rp: HTMLFactory; - rt: HTMLFactory; - ruby: HTMLFactory; - s: HTMLFactory; - samp: HTMLFactory; - script: HTMLFactory; - section: HTMLFactory; - select: HTMLFactory; - small: HTMLFactory; - source: HTMLFactory; - span: HTMLFactory; - strong: HTMLFactory; - style: HTMLFactory; - sub: HTMLFactory; - summary: HTMLFactory; - sup: HTMLFactory; - table: HTMLFactory; - tbody: HTMLFactory; - td: HTMLFactory; - textarea: HTMLFactory; - tfoot: HTMLFactory; - th: HTMLFactory; - thead: HTMLFactory; - time: HTMLFactory; - title: HTMLFactory; - tr: HTMLFactory; - track: HTMLFactory; - u: HTMLFactory; - ul: HTMLFactory; - "var": HTMLFactory; - video: HTMLFactory; - wbr: HTMLFactory; - - // SVG - svg: SVGFactory; - circle: SVGFactory; - defs: SVGFactory; - ellipse: SVGFactory; - g: SVGFactory; - image: SVGFactory; - line: SVGFactory; - linearGradient: SVGFactory; - mask: SVGFactory; - path: SVGFactory; - pattern: SVGFactory; - polygon: SVGFactory; - polyline: SVGFactory; - radialGradient: SVGFactory; - rect: SVGFactory; - stop: SVGFactory; - text: SVGFactory; - tspan: SVGFactory; - } - - // - // React.PropTypes - // ---------------------------------------------------------------------- - - interface Validator { - (object: T, key: string, componentName: string): Error; - } - - interface Requireable extends Validator { - isRequired: Validator; - } - - interface ValidationMap { - [key: string]: Validator; - } - - interface ReactPropTypes { - any: Requireable; - array: Requireable; - bool: Requireable; - func: Requireable; - number: Requireable; - object: Requireable; - string: Requireable; - node: Requireable; - element: Requireable; - instanceOf(expectedClass: {}): Requireable; - oneOf(types: any[]): Requireable; - oneOfType(types: Validator[]): Requireable; - arrayOf(type: Validator): Requireable; - objectOf(type: Validator): Requireable; - shape(type: ValidationMap): Requireable; - } - - // - // React.Children - // ---------------------------------------------------------------------- - - interface ReactChildren { - map(children: ReactNode, fn: (child: ReactChild, index: number) => T): T[]; - forEach(children: ReactNode, fn: (child: ReactChild, index: number) => any): void; - count(children: ReactNode): number; - only(children: ReactNode): ReactElement; - toArray(children: ReactNode): ReactChild[]; - } - - // - // Browser Interfaces - // https://github.com/nikeee/2048-typescript/blob/master/2048/js/touch.d.ts - // ---------------------------------------------------------------------- - - interface AbstractView { - styleMedia: StyleMedia; - document: Document; - } - - interface Touch { - identifier: number; - target: EventTarget; - screenX: number; - screenY: number; - clientX: number; - clientY: number; - pageX: number; - pageY: number; - } - - interface TouchList { - [index: number]: Touch; - length: number; - item(index: number): Touch; - identifiedTouch(identifier: number): Touch; - } -} - -declare module "react" { - export = __React; -} - -declare namespace JSX { - import React = __React; - - interface Element extends React.ReactElement { } - interface ElementClass extends React.Component { - render(): JSX.Element; - } - interface ElementAttributesProperty { props: {}; } - - interface IntrinsicAttributes { - key?: string | number; - } - - interface IntrinsicClassAttributes { - ref?: string | ((classInstance: T) => void); - } - - interface IntrinsicElements { - // HTML - a: React.HTMLProps; - abbr: React.HTMLProps; - address: React.HTMLProps; - area: React.HTMLProps; - article: React.HTMLProps; - aside: React.HTMLProps; - audio: React.HTMLProps; - b: React.HTMLProps; - base: React.HTMLProps; - bdi: React.HTMLProps; - bdo: React.HTMLProps; - big: React.HTMLProps; - blockquote: React.HTMLProps; - body: React.HTMLProps; - br: React.HTMLProps; - button: React.HTMLProps; - canvas: React.HTMLProps; - caption: React.HTMLProps; - cite: React.HTMLProps; - code: React.HTMLProps; - col: React.HTMLProps; - colgroup: React.HTMLProps; - data: React.HTMLProps; - datalist: React.HTMLProps; - dd: React.HTMLProps; - del: React.HTMLProps; - details: React.HTMLProps; - dfn: React.HTMLProps; - dialog: React.HTMLProps; - div: React.HTMLProps; - dl: React.HTMLProps; - dt: React.HTMLProps; - em: React.HTMLProps; - embed: React.HTMLProps; - fieldset: React.HTMLProps; - figcaption: React.HTMLProps; - figure: React.HTMLProps; - footer: React.HTMLProps; - form: React.HTMLProps; - h1: React.HTMLProps; - h2: React.HTMLProps; - h3: React.HTMLProps; - h4: React.HTMLProps; - h5: React.HTMLProps; - h6: React.HTMLProps; - head: React.HTMLProps; - header: React.HTMLProps; - hgroup: React.HTMLProps; - hr: React.HTMLProps; - html: React.HTMLProps; - i: React.HTMLProps; - iframe: React.HTMLProps; - img: React.HTMLProps; - input: React.HTMLProps; - ins: React.HTMLProps; - kbd: React.HTMLProps; - keygen: React.HTMLProps; - label: React.HTMLProps; - legend: React.HTMLProps; - li: React.HTMLProps; - link: React.HTMLProps; - main: React.HTMLProps; - map: React.HTMLProps; - mark: React.HTMLProps; - menu: React.HTMLProps; - menuitem: React.HTMLProps; - meta: React.HTMLProps; - meter: React.HTMLProps; - nav: React.HTMLProps; - noscript: React.HTMLProps; - object: React.HTMLProps; - ol: React.HTMLProps; - optgroup: React.HTMLProps; - option: React.HTMLProps; - output: React.HTMLProps; - p: React.HTMLProps; - param: React.HTMLProps; - picture: React.HTMLProps; - pre: React.HTMLProps; - progress: React.HTMLProps; - q: React.HTMLProps; - rp: React.HTMLProps; - rt: React.HTMLProps; - ruby: React.HTMLProps; - s: React.HTMLProps; - samp: React.HTMLProps; - script: React.HTMLProps; - section: React.HTMLProps; - select: React.HTMLProps; - small: React.HTMLProps; - source: React.HTMLProps; - span: React.HTMLProps; - strong: React.HTMLProps; - style: React.HTMLProps; - sub: React.HTMLProps; - summary: React.HTMLProps; - sup: React.HTMLProps; - table: React.HTMLProps; - tbody: React.HTMLProps; - td: React.HTMLProps; - textarea: React.HTMLProps; - tfoot: React.HTMLProps; - th: React.HTMLProps; - thead: React.HTMLProps; - time: React.HTMLProps; - title: React.HTMLProps; - tr: React.HTMLProps; - track: React.HTMLProps; - u: React.HTMLProps; - ul: React.HTMLProps; - "var": React.HTMLProps; - video: React.HTMLProps; - wbr: React.HTMLProps; - - // SVG - svg: React.SVGProps; - - circle: React.SVGProps; - clipPath: React.SVGProps; - defs: React.SVGProps; - ellipse: React.SVGProps; - g: React.SVGProps; - image: React.SVGProps; - line: React.SVGProps; - linearGradient: React.SVGProps; - mask: React.SVGProps; - path: React.SVGProps; - pattern: React.SVGProps; - polygon: React.SVGProps; - polyline: React.SVGProps; - radialGradient: React.SVGProps; - rect: React.SVGProps; - stop: React.SVGProps; - text: React.SVGProps; - tspan: React.SVGProps; - } -} diff --git a/samples/js-bot-framework/webpart/typings/systemjs/systemjs.d.ts b/samples/js-bot-framework/webpart/typings/systemjs/systemjs.d.ts deleted file mode 100644 index c63a79158..000000000 --- a/samples/js-bot-framework/webpart/typings/systemjs/systemjs.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Type definitions for System.js 0.18.4 -// Project: https://github.com/systemjs/systemjs -// Definitions by: Ludovic HENIN , Nathan Walker -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -interface System { - import(name: string): any; - defined: any; - amdDefine: () => void; - amdRequire: () => void; - baseURL: string; - paths: { [key: string]: string }; - meta: { [key: string]: Object }; - config: any; -} - -declare var System: System; - -declare module "systemjs" { - export = System; -} \ No newline at end of file diff --git a/samples/js-bot-framework/webpart/typings/tsd.d.ts b/samples/js-bot-framework/webpart/typings/tsd.d.ts deleted file mode 100644 index ba4a4b6d7..000000000 --- a/samples/js-bot-framework/webpart/typings/tsd.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// diff --git a/samples/js-bot-framework/webpart/typings/whatwg-fetch/whatwg-fetch.d.ts b/samples/js-bot-framework/webpart/typings/whatwg-fetch/whatwg-fetch.d.ts deleted file mode 100644 index c803b553a..000000000 --- a/samples/js-bot-framework/webpart/typings/whatwg-fetch/whatwg-fetch.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -// Type definitions for fetch API -// Project: https://github.com/github/fetch -// Definitions by: Ryan Graham -// Definitions: https://github.com/borisyankov/DefinitelyTyped - -/// - -declare class Request extends Body { - constructor(input: string|Request, init?:RequestInit); - method: string; - url: string; - headers: Headers; - context: string|RequestContext; - referrer: string; - mode: string|RequestMode; - credentials: string|RequestCredentials; - cache: string|RequestCache; -} - -interface RequestInit { - method?: string; - headers?: HeaderInit|{ [index: string]: string }; - body?: BodyInit; - mode?: string|RequestMode; - credentials?: string|RequestCredentials; - cache?: string|RequestCache; -} - -declare enum RequestContext { - "audio", "beacon", "cspreport", "download", "embed", "eventsource", "favicon", "fetch", - "font", "form", "frame", "hyperlink", "iframe", "image", "imageset", "import", - "internal", "location", "manifest", "object", "ping", "plugin", "prefetch", "script", - "serviceworker", "sharedworker", "subresource", "style", "track", "video", "worker", - "xmlhttprequest", "xslt" -} -declare enum RequestMode { "same-origin", "no-cors", "cors" } -declare enum RequestCredentials { "omit", "same-origin", "include" } -declare enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" } - -declare class Headers { - append(name: string, value: string): void; - delete(name: string):void; - get(name: string): string; - getAll(name: string): Array; - has(name: string): boolean; - set(name: string, value: string): void; -} - -declare class Body { - bodyUsed: boolean; - arrayBuffer(): Promise; - blob(): Promise; - formData(): Promise; - json(): Promise; - json(): Promise; - text(): Promise; -} -declare class Response extends Body { - constructor(body?: BodyInit, init?: ResponseInit); - error(): Response; - redirect(url: string, status: number): Response; - type: string|ResponseType; - url: string; - status: number; - ok: boolean; - statusText: string; - headers: Headers; - clone(): Response; -} - -declare enum ResponseType { "basic", "cors", "default", "error", "opaque" } - -interface ResponseInit { - status: number; - statusText?: string; - headers?: HeaderInit; -} - -declare type HeaderInit = Headers|Array; -declare type BodyInit = Blob|FormData|string; -declare type RequestInfo = Request|string; - -interface Window { - fetch(url: string|Request, init?: RequestInit): Promise; -} - -declare var fetch: typeof window.fetch;